@midas-ds/components 5.0.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -4
- package/button/ButtonGroup.d.ts +3 -6
- package/index.cjs +29 -29
- package/index.css +1 -1
- package/index.js +6526 -6292
- package/modal/Dialog.d.ts +10 -1
- package/modal/index.d.ts +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const h=require("react/jsx-runtime"),o=require("react"),Lt=require("react-dom"),z2=require("./tokens-DZsQgihc.cjs");function N2(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const u in e)if(u!=="default"){const n=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(t,u,n.get?n:{enumerable:!0,get:()=>e[u]})}}return t.default=e,Object.freeze(t)}const ce=N2(o),V2='"../theme/tokens.css"',_2="_root_78trp_4",j2="_contained_78trp_12",L2="_triggerText_78trp_29",O2="_trigger_78trp_29",H2="_icon_78trp_54",U2="_item_78trp_82",W2="_panel_78trp_87",Z2="_panel0_78trp_87",G2="_content_78trp_97",q2="_header_78trp_101",tt={tokens:V2,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--layer-selected-01":"light-dark(#d9d9d9, #383838)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--normal-transition":"300ms","--text-primary":"light-dark(#171717, #f2f2f2)",root:_2,contained:j2,triggerText:L2,trigger:O2,icon:H2,item:U2,panel:W2,panel0:Z2,content:G2,header:q2};function Ls(e){var t,u,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(u=Ls(e[t]))&&(n&&(n+=" "),n+=u)}else for(u in e)e[u]&&(n&&(n+=" "),n+=u);return n}function W(){for(var e,t,u=0,n="",r=arguments.length;u<r;u++)(e=arguments[u])&&(t=Ls(e))&&(n&&(n+=" "),n+=t);return n}const Ji=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const aa=o.createContext({}),Y=typeof document<"u"?o.useLayoutEffect:()=>{};function ie(e){const t=o.useRef(null);return Y(()=>{t.current=e},[e]),o.useCallback((...u)=>{const n=t.current;return n==null?void 0:n(...u)},[])}function Y2(e){let[t,u]=o.useState(e),n=o.useRef(null),r=ie(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?r():u(i.value)});Y(()=>{n.current&&r()});let a=ie(i=>{n.current=i(t),r()});return[t,a]}const Ar={prefix:String(Math.round(Math.random()*1e10)),current:0},Os=o.createContext(Ar),J2=o.createContext(!1);let Q2=!!(typeof window<"u"&&window.document&&window.document.createElement),Ia=new WeakMap;function X2(e=!1){let t=o.useContext(Os),u=o.useRef(null);if(u.current===null&&!e){var n,r;let a=(r=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||r===void 0||(n=r.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let i=Ia.get(a);i==null?Ia.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ia.delete(a))}u.current=++t.current}return u.current}function e$(e){let t=o.useContext(Os);t===Ar&&!Q2&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let u=X2(!!e),n=t===Ar&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function t$(e){let t=o.useId(),[u]=o.useState(au()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Ar.prefix}`;return e||`${n}-${t}`}const u$=typeof o.useId=="function"?t$:e$;function n$(){return!1}function r$(){return!0}function a$(e){return()=>{}}function au(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(a$,n$,r$):o.useContext(J2)}let i$=!!(typeof window<"u"&&window.document&&window.document.createElement),Hu=new Map,$n;typeof FinalizationRegistry<"u"&&($n=new FinalizationRegistry(e=>{Hu.delete(e)}));function oe(e){let[t,u]=o.useState(e),n=o.useRef(null),r=u$(t),a=o.useRef(null);if($n&&$n.register(a,r),i$){const i=Hu.get(r);i&&!i.includes(n)?i.push(n):Hu.set(r,[n])}return Y(()=>{let i=r;return()=>{$n&&$n.unregister(a),Hu.delete(i)}},[r]),o.useEffect(()=>{let i=n.current;return i&&u(i),()=>{i&&(n.current=null)}}),r}function l$(e,t){if(e===t)return e;let u=Hu.get(e);if(u)return u.forEach(r=>r.current=t),t;let n=Hu.get(t);return n?(n.forEach(r=>r.current=e),e):t}function it(e=[]){let t=oe(),[u,n]=Y2(t),r=o.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Y(r,[t,r,...e]),u}function lt(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const le=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Ye=e=>e&&"window"in e&&e.window===e?e:le(e).defaultView||window;function o$(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function s$(e){return o$(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let d$=!1,c$=!1;function wr(){return d$}function ia(){return c$}function $e(e,t){if(!ia())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let u=t;for(;u!==null;){if(u===e)return!0;u.tagName==="SLOT"&&u.assignedSlot?u=u.assignedSlot.parentNode:s$(u)?u=u.host:u=u.parentNode}return!1}const Ke=(e=document)=>{var t;if(!ia())return e.activeElement;let u=e.activeElement;for(;u&&"shadowRoot"in u&&(!((t=u.shadowRoot)===null||t===void 0)&&t.activeElement);)u=u.shadowRoot.activeElement;return u};function de(e){return ia()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}class f${get currentNode(){return this._currentNode}set currentNode(t){if(!$e(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const u=[];let n=t,r=t;for(this._currentNode=t;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const i=n,l=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});u.push(l),l.currentNode=r,this._currentSetFor.add(l),n=r=i.host}else n=n.parentNode;const a=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});u.push(a),a.currentNode=r,this._currentSetFor.add(a),this._walkerStack=u}get doc(){return this._doc}firstChild(){let t=this.currentNode,u=this.nextNode();return $e(t,u)?(u&&(this.currentNode=u),u):(this.currentNode=t,null)}lastChild(){let u=this._walkerStack[0].lastChild();return u&&(this.currentNode=u),u}nextNode(){const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){var u;let r;if(typeof this.filter=="function"?r=this.filter(t):!((u=this.filter)===null||u===void 0)&&u.acceptNode&&(r=this.filter.acceptNode(t)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let a=this.nextNode();return a&&(this.currentNode=a),a}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null;return null}const u=t.previousNode();if(u){if(u.shadowRoot){var n;let a;if(typeof this.filter=="function"?a=this.filter(u):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(a=this.filter.acceptNode(u)),a===NodeFilter.FILTER_ACCEPT)return u&&(this.currentNode=u),u;let i=this.lastChild();return i&&(this.currentNode=i),i}return u&&(this.currentNode=u),u}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(t,u,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){const s=i.shadowRoot;if(s){const d=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(d),NodeFilter.FILTER_ACCEPT}else{var l;if(typeof this.filter=="function")return this.filter(i);if(!((l=this.filter)===null||l===void 0)&&l.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=u,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=u,this._walkerStack.unshift(t.createTreeWalker(u,n,this._acceptNode));const a=u.shadowRoot;if(a){const i=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}}function p$(e,t,u,n){return ia()?new f$(e,t,u,n):e.createTreeWalker(t,u,n)}function _(...e){let t={...e[0]};for(let u=1;u<e.length;u++){let n=e[u];for(let r in n){let a=t[r],i=n[r];typeof a=="function"&&typeof i=="function"&&r[0]==="o"&&r[1]==="n"&&r.charCodeAt(2)>=65&&r.charCodeAt(2)<=90?t[r]=lt(a,i):(r==="className"||r==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[r]=W(a,i):r==="id"&&a&&i?t.id=l$(a,i):t[r]=i!==void 0?i:a}}return t}function ku(...e){return e.length===1&&e[0]?e[0]:t=>{for(let u of e)typeof u=="function"?u(t):u!=null&&(u.current=t)}}const m$=new Set(["id"]),b$=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),h$=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),$$=/^(data-.*)$/;function U(e,t={}){let{labelable:u,isLink:n,propNames:r}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(m$.has(i)||u&&b$.has(i)||n&&h$.has(i)||r!=null&&r.has(i)||$$.test(i))&&(a[i]=e[i]);return a}function _e(e){if(g$())e.focus({preventScroll:!0});else{let t=D$(e);e.focus(),v$(t)}}let lr=null;function g$(){if(lr==null){lr=!1;try{document.createElement("div").focus({get preventScroll(){return lr=!0,!0}})}catch{}}return lr}function D$(e){let t=e.parentNode,u=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&u.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&u.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),u}function v$(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function la(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(u=>e.test(u.brand)))||e.test(window.navigator.userAgent)}function Qi(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Ot(e){let t=null;return()=>(t==null&&(t=e()),t)}const gt=Ot(function(){return Qi(/^Mac/i)}),y$=Ot(function(){return Qi(/^iPhone/i)}),Xi=Ot(function(){return Qi(/^iPad/i)||gt()&&navigator.maxTouchPoints>1}),On=Ot(function(){return y$()||Xi()}),xr=Ot(function(){return gt()||On()}),el=Ot(function(){return la(/AppleWebKit/i)&&!Hs()}),Hs=Ot(function(){return la(/Chrome/i)}),Pn=Ot(function(){return la(/Android/i)}),x$=Ot(function(){return la(/Firefox/i)}),Us=o.createContext({isNative:!0,open:C$,useHref:e=>e});function Ws(e){let{children:t,navigate:u,useHref:n}=e,r=o.useMemo(()=>({isNative:!1,open:(a,i,l,s)=>{Gs(a,d=>{Zs(d,i)?u(l,s):tu(d,i)})},useHref:n||(a=>a)}),[u,n]);return o.createElement(Us.Provider,{value:r},t)}function Pu(){return o.useContext(Us)}function Zs(e,t){let u=e.getAttribute("target");return(!u||u==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function tu(e,t,u=!0){var n,r;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;x$()&&(!((r=window.event)===null||r===void 0||(n=r.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(gt()?a=!0:i=!0);let d=el()&>()&&!Xi()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});tu.isOpening=u,_e(e),e.dispatchEvent(d),tu.isOpening=!1}tu.isOpening=!1;function Gs(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let u=document.createElement("a");u.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(u.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(u.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(u.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(u.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(u.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(u),t(u),e.removeChild(u)}}function C$(e,t){Gs(e,u=>tu(u,t))}function tl(e){let t=Pu();var u;const n=t.useHref((u=e.href)!==null&&u!==void 0?u:"");return{"data-href":e.href?n:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function oa(e){let t=Pu();var u;const n=t.useHref((u=e==null?void 0:e.href)!==null&&u!==void 0?u:"");return{href:e!=null&&e.href?n:void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let zu=new Map,di=new Set;function io(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let r=zu.get(n.target);r||(r=new Set,zu.set(n.target,r),n.target.addEventListener("transitioncancel",u,{once:!0})),r.add(n.propertyName)},u=n=>{if(!e(n)||!n.target)return;let r=zu.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",u),zu.delete(n.target)),zu.size===0)){for(let a of di)a();di.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?io():document.addEventListener("DOMContentLoaded",io));function qs(e){requestAnimationFrame(()=>{zu.size===0?e():di.add(e)})}function Hn(){let e=o.useRef(new Map),t=o.useCallback((r,a,i,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:r,fn:s,options:l}),r.addEventListener(a,s,l)},[]),u=o.useCallback((r,a,i,l)=>{var s;let d=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;r.removeEventListener(a,d,l),e.current.delete(i)},[]),n=o.useCallback(()=>{e.current.forEach((r,a)=>{u(r.eventTarget,r.type,a,r.options)})},[u]);return o.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:u,removeAllGlobalListeners:n}}function Dt(e,t){let{id:u,"aria-label":n,"aria-labelledby":r}=e;return u=oe(u),r&&n?r=[...new Set([u,...r.trim().split(/\s+/)])].join(" "):r&&(r=r.trim().split(/\s+/).join(" ")),!n&&!r&&t&&(n=t),{id:u,"aria-label":n,"aria-labelledby":r}}function xe(e){const t=o.useRef(null);return o.useMemo(()=>({get current(){return t.current},set current(u){t.current=u,typeof e=="function"?e(u):e&&(e.current=u)}}),[e])}function Sn(e,t){const u=o.useRef(!0),n=o.useRef(null);o.useEffect(()=>(u.current=!0,()=>{u.current=!1}),[]),o.useEffect(()=>{let r=n.current;u.current?u.current=!1:(!r||t.some((a,i)=>!Object.is(a,r[i])))&&e(),n.current=t},t)}function lo(e,t){const u=o.useRef(!0),n=o.useRef(null);Y(()=>(u.current=!0,()=>{u.current=!1}),[]),Y(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function E$(){return typeof window.ResizeObserver<"u"}function Ju(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(E$()){const a=new window.ResizeObserver(i=>{i.length&&n()});return a.observe(r,{box:u}),()=>{r&&a.unobserve(r)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,t,u])}function ul(e,t){Y(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function An(e,t){if(!e)return!1;let u=window.getComputedStyle(e),n=/(auto|scroll)/.test(u.overflow+u.overflowX+u.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function Ne(e,t){let u=e;for(An(u,t)&&(u=u.parentElement);u&&!An(u,t);)u=u.parentElement;return u||document.scrollingElement||document.documentElement}function B$(e,t){const u=[];for(;e&&e!==document.documentElement;)An(e,t)&&u.push(e),e=e.parentElement;return u}let k$=0;const Ra=new Map;function yt(e){let[t,u]=o.useState();return Y(()=>{if(!e)return;let n=Ra.get(e);if(n)u(n.element.id);else{let r=`react-aria-description-${k$++}`;u(r);let a=document.createElement("div");a.id=r,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},Ra.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Ra.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function dt(e,t,u,n){let r=ie(u),a=u==null;o.useEffect(()=>{if(a||!e.current)return;let i=e.current;return i.addEventListener(t,r,n),()=>{i.removeEventListener(t,r,n)}},[e,t,n,a,r])}function Ys(e,t){let u=oo(e,t,"left"),n=oo(e,t,"top"),r=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:d,scrollPaddingTop:c,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:m}=getComputedStyle(e),b=i+parseInt(d,10),g=l+parseInt(s,10),$=b+e.clientWidth,D=g+e.clientHeight,y=parseInt(c,10)||0,x=parseInt(p,10)||0,C=parseInt(f,10)||0,B=parseInt(m,10)||0;u<=i+B?i=u-parseInt(d,10)-B:u+r>$-C&&(i+=u+r-$+C),n<=g+y?l=n-parseInt(s,10)-y:n+a>D-x&&(l+=n+a-D+x),e.scrollLeft=i,e.scrollTop=l}function oo(e,t,u){const n=u==="left"?"offsetLeft":"offsetTop";let r=0;for(;t.offsetParent&&(r+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){r-=e[n];break}t=t.offsetParent}return r}function Ve(e,t){if(e&&document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=B$(e);for(let d of s)Ys(d,e)}else{var u;let{left:s,top:d}=e.getBoundingClientRect();e==null||(u=e.scrollIntoView)===null||u===void 0||u.call(e,{block:"nearest"});let{left:c,top:f}=e.getBoundingClientRect();if(Math.abs(s-c)>1||Math.abs(d-f)>1){var n,r,a;t==null||(r=t.containingElement)===null||r===void 0||(n=r.scrollIntoView)===null||n===void 0||n.call(r,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function ci(e){return e.mozInputSource===0&&e.isTrusted?!0:Pn()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function P$(e){return!Pn()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Js(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function Un(e,t,u){let n=o.useRef(t),r=ie(()=>{u&&u(n.current)});o.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e,r])}function S$(e){const t=o.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}const A$="react-aria-clear-focus",w$="react-aria-focus";function Nu(e){return gt()?e.metaKey:e.ctrlKey}function Qs(e,t=!0){let[u,n]=o.useState(!0),r=u&&t;return Y(()=>{if(r&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,r]),ed(e,r,o.useCallback(()=>n(!1),[])),r}function Xs(e,t){let[u,n]=o.useState(t?"open":"closed");switch(u){case"open":t||n("exiting");break;case"closed":case"exiting":t&&n("open");break}let r=u==="exiting";return ed(e,r,o.useCallback(()=>{n(a=>a==="exiting"?"closed":a)},[])),r}function ed(e,t,u){Y(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){u();return}let n=e.current.getAnimations();if(n.length===0){u();return}let r=!1;return Promise.all(n.map(a=>a.finished)).then(()=>{r||Lt.flushSync(()=>{u()})}).catch(()=>{}),()=>{r=!0}}},[e,t,u])}const nl=["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"])'],F$=nl.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";nl.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const T$=nl.join(':not([hidden]):not([tabindex="-1"]),');function rl(e){return e.matches(F$)}function I$(e){return e.matches(T$)}function Me(e,t,u){let[n,r]=o.useState(e||t),a=o.useRef(e!==void 0),i=e!==void 0;o.useEffect(()=>{let d=a.current;d!==i&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let l=i?e:n,s=o.useCallback((d,...c)=>{let f=(p,...m)=>{u&&(Object.is(l,p)||u(p,...m)),i||(l=p)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),r((m,...b)=>{let g=d(i?l:m,...b);return f(g,...c),i?m:g})):(i||r(d),f(d,...c))},[i,l,u]);return[l,s]}function wn(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const uu=Symbol("default");function fe({values:e,children:t}){for(let[u,n]of e)t=o.createElement(u.Provider,{value:n},t);return t}function Z(e){let{className:t,style:u,children:n,defaultClassName:r,defaultChildren:a,defaultStyle:i,values:l}=e;return o.useMemo(()=>{let s,d,c;return typeof t=="function"?s=t({...l,defaultClassName:r}):s=t,typeof u=="function"?d=u({...l,defaultStyle:i||{}}):d=u,typeof n=="function"?c=n({...l,defaultChildren:a}):n==null?c=a:c=n,{className:s??r,style:d||i?{...i,...d}:void 0,children:c??a,"data-rac":""}},[t,u,n,r,a,i,l])}function Ze(e,t){let u=o.useContext(e);if(t===null)return null;if(u&&typeof u=="object"&&"slots"in u&&u.slots){let n=t||uu;if(!u.slots[n]){let r=new Intl.ListFormat().format(Object.keys(u.slots).map(i=>`"${i}"`)),a=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${a} Valid slot names are ${r}.`)}return u.slots[n]}return u}function X(e,t,u){let n=Ze(u,e.slot)||{},{ref:r,...a}=n,i=xe(o.useMemo(()=>ku(t,r),[t,r])),l=_(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof a.style=="function"?a.style(s):a.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...a.style,...e.style}),[l,i]}function ct(e=!0){let[t,u]=o.useState(e),n=o.useRef(!1),r=o.useCallback(a=>{n.current=!0,u(!!a)},[]);return Y(()=>{n.current||u(!1)},[]),[r,t]}function Nt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class Fn{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new Fn(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}constructor(t,u){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=t,this.key=u}}class sa{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let u=this.keyMap;return{*[Symbol.iterator](){let n=u.get(t),r=(n==null?void 0:n.firstChildKey)!=null?u.get(n.firstChildKey):null;for(;r;)yield r,r=r.nextKey!=null?u.get(r.nextKey):void 0}}}getKeyBefore(t){let u=this.keyMap.get(t);if(!u)return null;if(u.prevKey!=null){for(u=this.keyMap.get(u.prevKey);u&&u.type!=="item"&&u.lastChildKey!=null;)u=this.keyMap.get(u.lastChildKey);var n;return(n=u==null?void 0:u.key)!==null&&n!==void 0?n:null}return u.parentKey}getKeyAfter(t){let u=this.keyMap.get(t);if(!u)return null;if(u.type!=="item"&&u.firstChildKey!=null)return u.firstChildKey;for(;u;){if(u.nextKey!=null)return u.nextKey;if(u.parentKey!=null)u=this.keyMap.get(u.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,u=new t;return u.keyMap=new Map(this.keyMap),u.firstKey=this.firstKey,u.lastKey=this.lastKey,u}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,u,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=u,this.frozen=!n}UNSTABLE_filter(t){let u=new sa,n=null;for(let r of this)if(r.type==="section"&&r.hasChildNodes){let a=r.clone(),i=null;for(let l of this.getChildren(r.key))if(so(l,t,this,u)){let s=l.clone();i==null&&(a.firstChildKey=s.key),u.firstKey==null&&(u.firstKey=a.key),i&&i.parentKey===s.parentKey?(i.nextKey=s.key,s.prevKey=i.key):s.prevKey=null,s.nextKey=null,u.addNode(s),i=s}i&&(i.type!=="header"?(a.lastChildKey=i.key,n==null?a.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=a.key,a.prevKey=n.key),a.nextKey=null,n=a,u.addNode(a)):(u.firstKey===a.key&&(u.firstKey=null),u.removeNode(i.key)))}else if(r.type==="separator"){let a=r.clone();a.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=a.key,a.prevKey=n.key,n=a,u.addNode(a))}else{let a=r.clone();so(a,t,this,u)&&(u.firstKey==null&&(u.firstKey=a.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===a.parentKey?(n.nextKey=a.key,a.prevKey=n.key):a.prevKey=null,a.nextKey=null,u.addNode(a),n=a)}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let r;n.prevKey!=null&&(r=u.getItem(n.prevKey),r.nextKey=null),u.removeNode(n.key),n=r}return u.lastKey=(n==null?void 0:n.key)||null,u}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function so(e,t,u,n){if(e.type==="subdialogtrigger"||e.type==="submenutrigger"){let r=[...u.getChildren(e.key)][0];if(r&&t(r.textValue)){let a=r.clone();return n.addNode(a),!0}else return!1}else return e.type==="header"?!0:t(e.textValue)}class td{*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}appendChild(t){this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(t,u){if(u==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=u,t.previousSibling=u.previousSibling,t.index=u.index,this.firstChild===u?this.firstChild=t:u.previousSibling&&(u.previousSibling.nextSibling=t),u.previousSibling=t,t.parentNode=u.parentNode;let n=u;for(;n;)n.index++,n=n.nextSibling;t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(t){if(t.parentNode!==this||!this.ownerDocument.isMounted)return;this.ownerDocument.startTransaction();let u=t.nextSibling;for(;u;)u.index--,u=u.nextSibling;t.nextSibling&&(t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.removeNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=t}}class Tn extends td{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof Tn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,u,n,r;let a=this.ownerDocument.getMutableNode(this);a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof Tn?this.parentNode.node.key:null;var i;a.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var l;a.nextKey=(l=(u=this.nextSibling)===null||u===void 0?void 0:u.node.key)!==null&&l!==void 0?l:null,a.hasChildNodes=!!this.firstChild;var s;a.firstChildKey=(s=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&s!==void 0?s:null;var d;if(a.lastChildKey=(d=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&d!==void 0?d:null,(a.colSpan!=null||a.colIndex!=null)&&this.nextSibling){var c,f;let p=((c=a.colIndex)!==null&&c!==void 0?c:a.index)+((f=a.colSpan)!==null&&f!==void 0?f:1);if(p!==this.nextSibling.node.colIndex){let m=this.ownerDocument.getMutableNode(this.nextSibling);m.colIndex=p}}}setProps(t,u,n,r){let a=this.ownerDocument.getMutableNode(this),{value:i,textValue:l,id:s,...d}=t;if(d.ref=u,a.props=d,a.rendered=n,a.render=r,a.value=i,a.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",s!=null&&s!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=s}d.colSpan!=null&&(a.colSpan=d.colSpan),this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,u){super(u),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new Fn(t,`react-aria-${++u.nodeId}`),this.ownerDocument.startTransaction()}}class R$ extends td{get isConnected(){return this.isMounted}createElement(t){return new Tn(t,this)}getMutableNode(t){let u=t.node;return this.mutatedNodes.has(t)||(u=t.node.clone(),this.mutatedNodes.add(t),t.node=u),this.markDirty(t),u}getMutableCollection(){return!this.isSSR&&!this.collectionMutated&&(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(t){this.dirtyNodes.add(t)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(t){let u=this.getMutableCollection();if(!u.getItem(t.node.key)){u.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let a of this.dirtyNodes)a instanceof Tn&&a.isConnected&&a.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,u;let a=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&a.addNode(i.node);this.mutatedNodes.clear();var n,r;a.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(r=(u=this.lastChild)===null||u===void 0?void 0:u.node.key)!==null&&r!==void 0?r:null,this.isSSR)}this.collectionMutated=!1}queueUpdate(){if(!(this.dirtyNodes.size===0||this.transactionCount>0))for(let t of this.subscriptions)t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function al(e){let{children:t,items:u,idScope:n,addIdAndValue:r,dependencies:a=[]}=e,i=o.useMemo(()=>new WeakMap,a);return o.useMemo(()=>{if(u&&typeof t=="function"){let d=[];for(let c of u){let f=i.get(c);if(!f){f=t(c);var l,s;let p=(s=(l=f.props.id)!==null&&l!==void 0?l:c.key)!==null&&s!==void 0?s:c.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=o.cloneElement(f,r?{key:p,id:p,value:c}:{key:p}),i.set(c,f)}d.push(f)}return d}else if(typeof t!="function")return t},[t,u,i,n,r])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const Fr=o.createContext(!1);function K$(e){if(o.useContext(Fr))return o.createElement(o.Fragment,null,e.children);let u=o.createElement(Fr.Provider,{value:!0},e.children);return o.createElement("template",{"data-react-aria-hidden":!0},u)}function Wn(e){let t=(u,n)=>o.useContext(Fr)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function M$(){return o.useContext(Fr)}let _u="default",fi="",Cr=new WeakMap;function co(e){if(On()){if(_u==="default"){const t=le(e);fi=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}_u="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Cr.set(e,e.style[t]),e.style[t]="none"}}function Ka(e){if(On()){if(_u!=="disabled")return;_u="restoring",setTimeout(()=>{qs(()=>{if(_u==="restoring"){const t=le(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=fi||""),fi="",_u="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Cr.has(e)){let t=Cr.get(e),u="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[u]==="none"&&(e.style[u]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Cr.delete(e)}}const In=o.createContext({register:()=>{}});In.displayName="PressResponderContext";class ud{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,u){this.nativeEvent=u,this.target=u.target,this.currentTarget=u.currentTarget,this.relatedTarget=u.relatedTarget,this.bubbles=u.bubbles,this.cancelable=u.cancelable,this.defaultPrevented=u.defaultPrevented,this.eventPhase=u.eventPhase,this.isTrusted=u.isTrusted,this.timeStamp=u.timeStamp,this.type=t}}function nd(e){let t=o.useRef({isFocused:!1,observer:null});Y(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let u=ie(n=>{e==null||e(n)});return o.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target,a=i=>{t.current.isFocused=!1,r.disabled&&u(new ud("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[u])}let Tr=!1;function fo(e){for(;e&&!rl(e);)e=e.parentElement;let t=Ye(e),u=t.document.activeElement;if(!u||u===e)return;Tr=!0;let n=!1,r=c=>{(c.target===u||n)&&c.stopImmediatePropagation()},a=c=>{(c.target===u||n)&&(c.stopImmediatePropagation(),!e&&!n&&(n=!0,_e(u),s()))},i=c=>{(c.target===e||n)&&c.stopImmediatePropagation()},l=c=>{(c.target===e||n)&&(c.stopImmediatePropagation(),n||(n=!0,_e(u),s()))};t.addEventListener("blur",r,!0),t.addEventListener("focusout",a,!0),t.addEventListener("focusin",l,!0),t.addEventListener("focus",i,!0);let s=()=>{cancelAnimationFrame(d),t.removeEventListener("blur",r,!0),t.removeEventListener("focusout",a,!0),t.removeEventListener("focusin",l,!0),t.removeEventListener("focus",i,!0),Tr=!1,n=!1},d=requestAnimationFrame(s);return s}function z$(e,t){return t.get?t.get.call(e):t.value}function rd(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function N$(e,t){var u=rd(e,t,"get");return z$(e,u)}function V$(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Zn(e,t,u){V$(e,t),t.set(e,u)}function _$(e,t,u){if(t.set)t.set.call(e,u);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=u}}function po(e,t,u){var n=rd(e,t,"set");return _$(e,n,u),u}function j$(e){let t=o.useContext(In);if(t){let{register:u,...n}=t;e=_(n,e),u()}return ul(t,e.ref),e}var or=new WeakMap;class sr{continuePropagation(){po(this,or,!1)}get shouldStopPropagation(){return N$(this,or)}constructor(t,u,n,r){Zn(this,or,{writable:!0,value:void 0}),po(this,or,!0);var a;let i=(a=r==null?void 0:r.target)!==null&&a!==void 0?a:n.currentTarget;const l=i==null?void 0:i.getBoundingClientRect();let s,d=0,c,f=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,f=n.clientY),l&&(c!=null&&f!=null?(s=c-l.left,d=f-l.top):(s=l.width/2,d=l.height/2)),this.type=t,this.pointerType=u,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=d}}const mo=Symbol("linkClicked");function Je(e){let{onPress:t,onPressChange:u,onPressStart:n,onPressEnd:r,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=j$(e),[m,b]=o.useState(!1),g=o.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:$,removeAllGlobalListeners:D}=Hn(),y=ie((v,F)=>{let S=g.current;if(i||S.didFirePressStart)return!1;let k=!0;if(S.isTriggeringEvent=!0,n){let M=new sr("pressstart",F,v);n(M),k=M.shouldStopPropagation}return u&&u(!0),S.isTriggeringEvent=!1,S.didFirePressStart=!0,b(!0),k}),x=ie((v,F,S=!0)=>{let k=g.current;if(!k.didFirePressStart)return!1;k.didFirePressStart=!1,k.isTriggeringEvent=!0;let M=!0;if(r){let E=new sr("pressend",F,v);r(E),M=E.shouldStopPropagation}if(u&&u(!1),b(!1),t&&S&&!i){let E=new sr("press",F,v);t(E),M&&(M=E.shouldStopPropagation)}return k.isTriggeringEvent=!1,M}),C=ie((v,F)=>{let S=g.current;if(i)return!1;if(a){S.isTriggeringEvent=!0;let k=new sr("pressup",F,v);return a(k),S.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),B=ie(v=>{let F=g.current;if(F.isPressed&&F.target){F.didFirePressStart&&F.pointerType!=null&&x(Fu(F.target,v),F.pointerType,!1),F.isPressed=!1,F.isOverTarget=!1,F.activePointerId=null,F.pointerType=null,D(),c||Ka(F.target);for(let S of F.disposables)S();F.disposables=[]}}),P=ie(v=>{d&&B(v)}),T=o.useMemo(()=>{let v=g.current,F={onKeyDown(k){if(Ma(k.nativeEvent,k.currentTarget)&&$e(k.currentTarget,de(k.nativeEvent))){var M;$o(de(k.nativeEvent),k.key)&&k.preventDefault();let E=!0;if(!v.isPressed&&!k.repeat){v.target=k.currentTarget,v.isPressed=!0,v.pointerType="keyboard",E=y(k,"keyboard");let V=k.currentTarget,R=w=>{Ma(w,V)&&!w.repeat&&$e(V,de(w))&&v.target&&C(Fu(v.target,w),"keyboard")};$(le(k.currentTarget),"keyup",lt(R,S),!0)}E&&k.stopPropagation(),k.metaKey&>()&&((M=v.metaKeyEvents)===null||M===void 0||M.set(k.key,k.nativeEvent))}else k.key==="Meta"&&(v.metaKeyEvents=new Map)},onClick(k){if(!(k&&!$e(k.currentTarget,de(k.nativeEvent)))&&k&&k.button===0&&!v.isTriggeringEvent&&!tu.isOpening){let M=!0;if(i&&k.preventDefault(),!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||ci(k.nativeEvent))){let E=y(k,"virtual"),V=C(k,"virtual"),R=x(k,"virtual");M=E&&V&&R}else if(v.isPressed&&v.pointerType!=="keyboard"){let E=v.pointerType||k.nativeEvent.pointerType||"virtual";M=x(Fu(k.currentTarget,k),E,!0),v.isOverTarget=!1,B(k)}v.ignoreEmulatedMouseEvents=!1,M&&k.stopPropagation()}}},S=k=>{var M;if(v.isPressed&&v.target&&Ma(k,v.target)){var E;$o(de(k),k.key)&&k.preventDefault();let R=de(k);x(Fu(v.target,k),"keyboard",$e(v.target,de(k))),D(),k.key!=="Enter"&&il(v.target)&&$e(v.target,R)&&!k[mo]&&(k[mo]=!0,tu(v.target,k,!1)),v.isPressed=!1,(E=v.metaKeyEvents)===null||E===void 0||E.delete(k.key)}else if(k.key==="Meta"&&(!((M=v.metaKeyEvents)===null||M===void 0)&&M.size)){var V;let R=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let w of R.values())(V=v.target)===null||V===void 0||V.dispatchEvent(new KeyboardEvent("keyup",w))}};if(typeof PointerEvent<"u"){F.onPointerDown=E=>{if(E.button!==0||!$e(E.currentTarget,de(E.nativeEvent)))return;if(P$(E.nativeEvent)){v.pointerType="virtual";return}v.pointerType=E.pointerType;let V=!0;if(!v.isPressed){v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=E.pointerId,v.target=E.currentTarget,c||co(v.target),V=y(E,v.pointerType);let R=de(E.nativeEvent);"releasePointerCapture"in R&&R.releasePointerCapture(E.pointerId),$(le(E.currentTarget),"pointerup",k,!1),$(le(E.currentTarget),"pointercancel",M,!1)}V&&E.stopPropagation()},F.onMouseDown=E=>{if($e(E.currentTarget,de(E.nativeEvent))&&E.button===0){if(s){let V=fo(E.target);V&&v.disposables.push(V)}E.stopPropagation()}},F.onPointerUp=E=>{!$e(E.currentTarget,de(E.nativeEvent))||v.pointerType==="virtual"||E.button===0&&C(E,v.pointerType||E.pointerType)},F.onPointerEnter=E=>{E.pointerId===v.activePointerId&&v.target&&!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,y(Fu(v.target,E),v.pointerType))},F.onPointerLeave=E=>{E.pointerId===v.activePointerId&&v.target&&v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,x(Fu(v.target,E),v.pointerType,!1),P(E))};let k=E=>{if(E.pointerId===v.activePointerId&&v.isPressed&&E.button===0&&v.target){if($e(v.target,de(E))&&v.pointerType!=null){let V=!1,R=setTimeout(()=>{v.isPressed&&v.target instanceof HTMLElement&&(V?B(E):(_e(v.target),v.target.click()))},80);$(E.currentTarget,"click",()=>V=!0,!0),v.disposables.push(()=>clearTimeout(R))}else B(E);v.isOverTarget=!1}},M=E=>{B(E)};F.onDragStart=E=>{$e(E.currentTarget,de(E.nativeEvent))&&B(E)}}else{F.onMouseDown=E=>{if(E.button!==0||!$e(E.currentTarget,de(E.nativeEvent)))return;if(v.ignoreEmulatedMouseEvents){E.stopPropagation();return}if(v.isPressed=!0,v.isOverTarget=!0,v.target=E.currentTarget,v.pointerType=ci(E.nativeEvent)?"virtual":"mouse",Lt.flushSync(()=>y(E,v.pointerType))&&E.stopPropagation(),s){let R=fo(E.target);R&&v.disposables.push(R)}$(le(E.currentTarget),"mouseup",k,!1)},F.onMouseEnter=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;let V=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!0,V=y(E,v.pointerType)),V&&E.stopPropagation()},F.onMouseLeave=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;let V=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!1,V=x(E,v.pointerType,!1),P(E)),V&&E.stopPropagation()},F.onMouseUp=E=>{$e(E.currentTarget,de(E.nativeEvent))&&!v.ignoreEmulatedMouseEvents&&E.button===0&&C(E,v.pointerType||"mouse")};let k=E=>{if(E.button===0){if(v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&v.target.contains(E.target)&&v.pointerType!=null||B(E),v.isOverTarget=!1}};F.onTouchStart=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;let V=L$(E.nativeEvent);if(!V)return;v.activePointerId=V.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=E.currentTarget,v.pointerType="touch",c||co(v.target),y(Gt(v.target,E),v.pointerType)&&E.stopPropagation(),$(Ye(E.currentTarget),"scroll",M,!0)},F.onTouchMove=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;if(!v.isPressed){E.stopPropagation();return}let V=bo(E.nativeEvent,v.activePointerId),R=!0;V&&ho(V,E.currentTarget)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,R=y(Gt(v.target,E),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,R=x(Gt(v.target,E),v.pointerType,!1),P(Gt(v.target,E))),R&&E.stopPropagation()},F.onTouchEnd=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;if(!v.isPressed){E.stopPropagation();return}let V=bo(E.nativeEvent,v.activePointerId),R=!0;V&&ho(V,E.currentTarget)&&v.pointerType!=null?(C(Gt(v.target,E),v.pointerType),R=x(Gt(v.target,E),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(R=x(Gt(v.target,E),v.pointerType,!1)),R&&E.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,v.target&&!c&&Ka(v.target),D()},F.onTouchCancel=E=>{$e(E.currentTarget,de(E.nativeEvent))&&(E.stopPropagation(),v.isPressed&&B(Gt(v.target,E)))};let M=E=>{v.isPressed&&$e(de(E),v.target)&&B({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=E=>{$e(E.currentTarget,de(E.nativeEvent))&&B(E)}}return F},[$,i,s,D,c,B,P,x,y,C]);return o.useEffect(()=>{let v=g.current;return()=>{var F;c||Ka((F=v.target)!==null&&F!==void 0?F:void 0);for(let S of v.disposables)S();v.disposables=[]}},[c]),{isPressed:l||m,pressProps:_(p,T)}}function il(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ma(e,t){const{key:u,code:n}=e,r=t,a=r.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||n==="Space")&&!(r instanceof Ye(r).HTMLInputElement&&!ad(r,u)||r instanceof Ye(r).HTMLTextAreaElement||r.isContentEditable)&&!((a==="link"||!a&&il(r))&&u!=="Enter")}function L$(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function bo(e,t){const u=e.changedTouches;for(let n=0;n<u.length;n++){const r=u[n];if(r.identifier===t)return r}return null}function Gt(e,t){let u=0,n=0;return t.targetTouches&&t.targetTouches.length===1&&(u=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function Fu(e,t){let u=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function O$(e){let t=0,u=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?u=e.height/2:e.radiusY!==void 0&&(u=e.radiusY),{top:e.clientY-u,right:e.clientX+t,bottom:e.clientY+u,left:e.clientX-t}}function H$(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function ho(e,t){let u=t.getBoundingClientRect(),n=O$(e);return H$(u,n)}function U$(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!il(e)}function $o(e,t){return e instanceof HTMLInputElement?!ad(e,t):U$(e)}const W$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ad(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":W$.has(e.type)}let Vt=null,Rn=new Set,Cn=new Map,Cu=!1,pi=!1;const Z$={Tab:!0,Escape:!0};function da(e,t){for(let u of Rn)u(e,t)}function G$(e){return!(e.metaKey||!gt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ir(e){Cu=!0,G$(e)&&(Vt="keyboard",da("keyboard",e))}function nt(e){Vt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Cu=!0,da("pointer",e))}function id(e){ci(e)&&(Cu=!0,Vt="virtual")}function ld(e){e.target===window||e.target===document||Tr||!e.isTrusted||(!Cu&&!pi&&(Vt="virtual",da("virtual",e)),Cu=!1,pi=!1)}function od(){Tr||(Cu=!1,pi=!0)}function Rr(e){if(typeof window>"u"||Cn.get(Ye(e)))return;const t=Ye(e),u=le(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Cu=!0,n.apply(this,arguments)},u.addEventListener("keydown",Ir,!0),u.addEventListener("keyup",Ir,!0),u.addEventListener("click",id,!0),t.addEventListener("focus",ld,!0),t.addEventListener("blur",od,!1),typeof PointerEvent<"u"?(u.addEventListener("pointerdown",nt,!0),u.addEventListener("pointermove",nt,!0),u.addEventListener("pointerup",nt,!0)):(u.addEventListener("mousedown",nt,!0),u.addEventListener("mousemove",nt,!0),u.addEventListener("mouseup",nt,!0)),t.addEventListener("beforeunload",()=>{sd(e)},{once:!0}),Cn.set(t,{focus:n})}const sd=(e,t)=>{const u=Ye(e),n=le(e);t&&n.removeEventListener("DOMContentLoaded",t),Cn.has(u)&&(u.HTMLElement.prototype.focus=Cn.get(u).focus,n.removeEventListener("keydown",Ir,!0),n.removeEventListener("keyup",Ir,!0),n.removeEventListener("click",id,!0),u.removeEventListener("focus",ld,!0),u.removeEventListener("blur",od,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",nt,!0),n.removeEventListener("pointermove",nt,!0),n.removeEventListener("pointerup",nt,!0)):(n.removeEventListener("mousedown",nt,!0),n.removeEventListener("mousemove",nt,!0),n.removeEventListener("mouseup",nt,!0)),Cn.delete(u))};function q$(e){const t=le(e);let u;return t.readyState!=="loading"?Rr(e):(u=()=>{Rr(e)},t.addEventListener("DOMContentLoaded",u)),()=>sd(e,u)}typeof document<"u"&&q$();function _t(){return Vt!=="pointer"}function Mt(){return Vt}function dd(e){Vt=e,da(e,null)}function ll(){Rr();let[e,t]=o.useState(Vt);return o.useEffect(()=>{let u=()=>{t(Vt)};return Rn.add(u),()=>{Rn.delete(u)}},[]),au()?null:e}const Y$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function J$(e,t,u){let n=le(u==null?void 0:u.target);const r=typeof window<"u"?Ye(u==null?void 0:u.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Ye(u==null?void 0:u.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Ye(u==null?void 0:u.target).HTMLElement:HTMLElement,l=typeof window<"u"?Ye(u==null?void 0:u.target).KeyboardEvent:KeyboardEvent;return e=e||n.activeElement instanceof r&&!Y$.has(n.activeElement.type)||n.activeElement instanceof a||n.activeElement instanceof i&&n.activeElement.isContentEditable,!(e&&t==="keyboard"&&u instanceof l&&!Z$[u.key])}function Q$(e,t,u){Rr(),o.useEffect(()=>{let n=(r,a)=>{J$(!!(u!=null&&u.isTextInput),r,a)&&e(_t())};return Rn.add(n),()=>{Rn.delete(n)}},t)}function ye(e){const t=le(e),u=Ke(t);if(Mt()==="virtual"){let n=u;qs(()=>{Ke(t)===n&&e.isConnected&&_e(e)})}else _e(e)}function ca(e){let{isDisabled:t,onFocus:u,onBlur:n,onFocusChange:r}=e;const a=o.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),r&&r(!1),!0},[n,r]),i=nd(a),l=o.useCallback(s=>{const d=le(s.target),c=d?Ke(d):Ke();s.target===s.currentTarget&&c===de(s.nativeEvent)&&(u&&u(s),r&&r(!0),i(s))},[r,u,i]);return{focusProps:{onFocus:!t&&(u||r||n)?l:void 0,onBlur:!t&&(n||r)?a:void 0}}}function go(e){if(!e)return;let t=!0;return u=>{let n={...u,preventDefault(){u.preventDefault()},isDefaultPrevented(){return u.isDefaultPrevented()},stopPropagation(){t?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(n),t&&u.stopPropagation()}}function cd(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:go(e.onKeyDown),onKeyUp:go(e.onKeyUp)}}}let Kr=o.createContext(null);function X$(e){let t=o.useContext(Kr)||{};ul(t,e);let{ref:u,...n}=t;return n}const e6=o.forwardRef(function(t,u){let{children:n,...r}=t,a=xe(u),i={...r,ref:a};return o.createElement(Kr.Provider,{value:i},n)});function Ht(e,t){let{focusProps:u}=ca(e),{keyboardProps:n}=cd(e),r=_(u,n),a=X$(t),i=e.isDisabled?{}:a,l=o.useRef(e.autoFocus);o.useEffect(()=>{l.current&&t.current&&ye(t.current),l.current=!1},[t]);let s=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(s=void 0),{focusableProps:_({...r,tabIndex:s},i)}}const fd=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),r=o.useContext(In);u=xe(u||(r==null?void 0:r.ref));let a=_(r||{},{...t,ref:u,register(){n.current=!0,r&&r.register()}});return ul(r,u),o.useEffect(()=>{n.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),n.current=!0)},[]),o.createElement(In.Provider,{value:a},e)});function t6({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(In.Provider,{value:t},e)}function ft(e){let{isDisabled:t,onBlurWithin:u,onFocusWithin:n,onFocusWithinChange:r}=e,a=o.useRef({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:l}=Hn(),s=o.useCallback(f=>{f.currentTarget.contains(f.target)&&a.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(a.current.isFocusWithin=!1,l(),u&&u(f),r&&r(!1))},[u,r,a,l]),d=nd(s),c=o.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const p=le(f.target),m=Ke(p);if(!a.current.isFocusWithin&&m===de(f.nativeEvent)){n&&n(f),r&&r(!0),a.current.isFocusWithin=!0,d(f);let b=f.currentTarget;i(p,"focus",g=>{if(a.current.isFocusWithin&&!$e(b,g.target)){let $=new ud("blur",new p.defaultView.FocusEvent("blur",{relatedTarget:g.target}));$.target=b,$.currentTarget=b,s($)}},{capture:!0})}},[n,r,d,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:s}}}let Mr=!1,za=0;function mi(){Mr=!0,setTimeout(()=>{Mr=!1},50)}function Do(e){e.pointerType==="touch"&&mi()}function u6(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Do):document.addEventListener("touchend",mi),za++,()=>{za--,!(za>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Do):document.removeEventListener("touchend",mi))}}function Ce(e){let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,isDisabled:r}=e,[a,i]=o.useState(!1),l=o.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;o.useEffect(u6,[]);let{addGlobalListener:s,removeAllGlobalListeners:d}=Hn(),{hoverProps:c,triggerHoverEnd:f}=o.useMemo(()=>{let p=(g,$)=>{if(l.pointerType=$,r||$==="touch"||l.isHovered||!g.currentTarget.contains(g.target))return;l.isHovered=!0;let D=g.currentTarget;l.target=D,s(le(g.target),"pointerover",y=>{l.isHovered&&l.target&&!$e(l.target,y.target)&&m(y,y.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:D,pointerType:$}),u&&u(!0),i(!0)},m=(g,$)=>{let D=l.target;l.pointerType="",l.target=null,!($==="touch"||!l.isHovered||!D)&&(l.isHovered=!1,d(),n&&n({type:"hoverend",target:D,pointerType:$}),u&&u(!1),i(!1))},b={};return typeof PointerEvent<"u"?(b.onPointerEnter=g=>{Mr&&g.pointerType==="mouse"||p(g,g.pointerType)},b.onPointerLeave=g=>{!r&&g.currentTarget.contains(g.target)&&m(g,g.pointerType)}):(b.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},b.onMouseEnter=g=>{!l.ignoreEmulatedMouseEvents&&!Mr&&p(g,"mouse"),l.ignoreEmulatedMouseEvents=!1},b.onMouseLeave=g=>{!r&&g.currentTarget.contains(g.target)&&m(g,"mouse")}),{hoverProps:b,triggerHoverEnd:m}},[t,u,n,r,l,s,d]);return o.useEffect(()=>{r&&f({currentTarget:l.target},l.pointerType)},[r]),{hoverProps:c,isHovered:a}}function n6(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:r}=e,a=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ie(s=>{u&&dr(s,t)&&(r&&r(s),a.current.isPointerDown=!0)}),l=ie(s=>{u&&u(s)});o.useEffect(()=>{let s=a.current;if(n)return;const d=t.current,c=le(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&dr(p,t)&&l(p),s.isPointerDown=!1};return c.addEventListener("pointerdown",i,!0),c.addEventListener("pointerup",f,!0),()=>{c.removeEventListener("pointerdown",i,!0),c.removeEventListener("pointerup",f,!0)}}else{let f=m=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&dr(m,t)&&l(m),s.isPointerDown=!1},p=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&dr(m,t)&&l(m),s.isPointerDown=!1};return c.addEventListener("mousedown",i,!0),c.addEventListener("mouseup",f,!0),c.addEventListener("touchstart",i,!0),c.addEventListener("touchend",p,!0),()=>{c.removeEventListener("mousedown",i,!0),c.removeEventListener("mouseup",f,!0),c.removeEventListener("touchstart",i,!0),c.removeEventListener("touchend",p,!0)}}},[t,n,i,l])}function dr(e,t){if(e.button>0)return!1;if(e.target){const u=e.target.ownerDocument;if(!u||!u.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const r6=500;function pd(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:r,threshold:a=r6,accessibilityDescription:i}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=Hn(),{pressProps:c}=Je({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(u&&u({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),le(p.target).activeElement!==p.target&&_e(p.target),r&&r({...p,type:"longpress"}),l.current=void 0},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};s(p.target,"contextmenu",m,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=yt(r&&!t?i:void 0);return{longPressProps:_(c,f)}}var bi={exports:{}},Na={};/**
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const h=require("react/jsx-runtime"),o=require("react"),Wt=require("react-dom"),H$=require("./tokens-DZsQgihc.cjs");function U$(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const u in e)if(u!=="default"){const n=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(t,u,n.get?n:{enumerable:!0,get:()=>e[u]})}}return t.default=e,Object.freeze(t)}const ce=U$(o),W$='"../theme/tokens.css"',Z$="_root_13w71_4",G$="_contained_13w71_12",q$="_triggerText_13w71_29",Y$="_trigger_13w71_29",J$="_icon_13w71_54",Q$="_item_13w71_82",X$="_panel_13w71_87",e2="_panel0_13w71_87",t2="_content_13w71_97",u2="_header_13w71_101",tt={tokens:W$,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--layer-selected-01":"light-dark(#d9d9d9, #383838)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--normal-transition":"300ms","--text-primary":"light-dark(#171717, #f2f2f2)",root:Z$,contained:G$,triggerText:q$,trigger:Y$,icon:J$,item:Q$,panel:X$,panel0:e2,content:t2,header:u2};function Js(e){var t,u,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(u=Js(e[t]))&&(n&&(n+=" "),n+=u)}else for(u in e)e[u]&&(n&&(n+=" "),n+=u);return n}function W(){for(var e,t,u=0,n="",r=arguments.length;u<r;u++)(e=arguments[u])&&(t=Js(e))&&(n&&(n+=" "),n+=t);return n}const ul=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const sa=o.createContext({}),Y=typeof document<"u"?o.useLayoutEffect:()=>{};function le(e){const t=o.useRef(null);return Y(()=>{t.current=e},[e]),o.useCallback((...u)=>{const n=t.current;return n==null?void 0:n(...u)},[])}function n2(e){let[t,u]=o.useState(e),n=o.useRef(null),r=le(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?r():u(i.value)});Y(()=>{n.current&&r()});let a=le(i=>{n.current=i(t),r()});return[t,a]}const Fr={prefix:String(Math.round(Math.random()*1e10)),current:0},Qs=o.createContext(Fr),r2=o.createContext(!1);let a2=!!(typeof window<"u"&&window.document&&window.document.createElement),_a=new WeakMap;function i2(e=!1){let t=o.useContext(Qs),u=o.useRef(null);if(u.current===null&&!e){var n,r;let a=(r=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||r===void 0||(n=r.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let i=_a.get(a);i==null?_a.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,_a.delete(a))}u.current=++t.current}return u.current}function l2(e){let t=o.useContext(Qs);t===Fr&&!a2&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let u=i2(!!e),n=t===Fr&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function o2(e){let t=o.useId(),[u]=o.useState(Ct()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Fr.prefix}`;return e||`${n}-${t}`}const s2=typeof o.useId=="function"?o2:l2;function d2(){return!1}function c2(){return!0}function f2(e){return()=>{}}function Ct(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(f2,d2,c2):o.useContext(r2)}let p2=!!(typeof window<"u"&&window.document&&window.document.createElement),Zu=new Map,yn;typeof FinalizationRegistry<"u"&&(yn=new FinalizationRegistry(e=>{Zu.delete(e)}));function ue(e){let[t,u]=o.useState(e),n=o.useRef(null),r=s2(t),a=o.useRef(null);if(yn&&yn.register(a,r),p2){const i=Zu.get(r);i&&!i.includes(n)?i.push(n):Zu.set(r,[n])}return Y(()=>{let i=r;return()=>{yn&&yn.unregister(a),Zu.delete(i)}},[r]),o.useEffect(()=>{let i=n.current;return i&&u(i),()=>{i&&(n.current=null)}}),r}function m2(e,t){if(e===t)return e;let u=Zu.get(e);if(u)return u.forEach(r=>r.current=t),t;let n=Zu.get(t);return n?(n.forEach(r=>r.current=e),e):t}function lt(e=[]){let t=ue(),[u,n]=n2(t),r=o.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Y(r,[t,r,...e]),u}function ot(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const oe=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Ye=e=>e&&"window"in e&&e.window===e?e:oe(e).defaultView||window;function b2(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function h2(e){return b2(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let $2=!1,g2=!1;function Tr(){return $2}function da(){return g2}function ge(e,t){if(!da())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let u=t;for(;u!==null;){if(u===e)return!0;u.tagName==="SLOT"&&u.assignedSlot?u=u.assignedSlot.parentNode:h2(u)?u=u.host:u=u.parentNode}return!1}const Ke=(e=document)=>{var t;if(!da())return e.activeElement;let u=e.activeElement;for(;u&&"shadowRoot"in u&&(!((t=u.shadowRoot)===null||t===void 0)&&t.activeElement);)u=u.shadowRoot.activeElement;return u};function de(e){return da()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}class D2{get currentNode(){return this._currentNode}set currentNode(t){if(!ge(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const u=[];let n=t,r=t;for(this._currentNode=t;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const i=n,l=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});u.push(l),l.currentNode=r,this._currentSetFor.add(l),n=r=i.host}else n=n.parentNode;const a=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});u.push(a),a.currentNode=r,this._currentSetFor.add(a),this._walkerStack=u}get doc(){return this._doc}firstChild(){let t=this.currentNode,u=this.nextNode();return ge(t,u)?(u&&(this.currentNode=u),u):(this.currentNode=t,null)}lastChild(){let u=this._walkerStack[0].lastChild();return u&&(this.currentNode=u),u}nextNode(){const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){var u;let r;if(typeof this.filter=="function"?r=this.filter(t):!((u=this.filter)===null||u===void 0)&&u.acceptNode&&(r=this.filter.acceptNode(t)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let a=this.nextNode();return a&&(this.currentNode=a),a}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null;return null}const u=t.previousNode();if(u){if(u.shadowRoot){var n;let a;if(typeof this.filter=="function"?a=this.filter(u):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(a=this.filter.acceptNode(u)),a===NodeFilter.FILTER_ACCEPT)return u&&(this.currentNode=u),u;let i=this.lastChild();return i&&(this.currentNode=i),i}return u&&(this.currentNode=u),u}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(t,u,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){const s=i.shadowRoot;if(s){const d=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(d),NodeFilter.FILTER_ACCEPT}else{var l;if(typeof this.filter=="function")return this.filter(i);if(!((l=this.filter)===null||l===void 0)&&l.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=u,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=u,this._walkerStack.unshift(t.createTreeWalker(u,n,this._acceptNode));const a=u.shadowRoot;if(a){const i=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}}function v2(e,t,u,n){return da()?new D2(e,t,u,n):e.createTreeWalker(t,u,n)}function _(...e){let t={...e[0]};for(let u=1;u<e.length;u++){let n=e[u];for(let r in n){let a=t[r],i=n[r];typeof a=="function"&&typeof i=="function"&&r[0]==="o"&&r[1]==="n"&&r.charCodeAt(2)>=65&&r.charCodeAt(2)<=90?t[r]=ot(a,i):(r==="className"||r==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[r]=W(a,i):r==="id"&&a&&i?t.id=m2(a,i):t[r]=i!==void 0?i:a}}return t}function du(...e){return e.length===1&&e[0]?e[0]:t=>{for(let u of e)typeof u=="function"?u(t):u!=null&&(u.current=t)}}const y2=new Set(["id"]),x2=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),C2=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),E2=/^(data-.*)$/;function H(e,t={}){let{labelable:u,isLink:n,propNames:r}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(y2.has(i)||u&&x2.has(i)||n&&C2.has(i)||r!=null&&r.has(i)||E2.test(i))&&(a[i]=e[i]);return a}function _e(e){if(B2())e.focus({preventScroll:!0});else{let t=k2(e);e.focus(),P2(t)}}let sr=null;function B2(){if(sr==null){sr=!1;try{document.createElement("div").focus({get preventScroll(){return sr=!0,!0}})}catch{}}return sr}function k2(e){let t=e.parentNode,u=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&u.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&u.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),u}function P2(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function ca(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(u=>e.test(u.brand)))||e.test(window.navigator.userAgent)}function nl(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Zt(e){let t=null;return()=>(t==null&&(t=e()),t)}const vt=Zt(function(){return nl(/^Mac/i)}),S2=Zt(function(){return nl(/^iPhone/i)}),rl=Zt(function(){return nl(/^iPad/i)||vt()&&navigator.maxTouchPoints>1}),Zn=Zt(function(){return S2()||rl()}),Er=Zt(function(){return vt()||Zn()}),al=Zt(function(){return ca(/AppleWebKit/i)&&!Xs()}),Xs=Zt(function(){return ca(/Chrome/i)}),Fn=Zt(function(){return ca(/Android/i)}),A2=Zt(function(){return ca(/Firefox/i)}),ed=o.createContext({isNative:!0,open:w2,useHref:e=>e});function td(e){let{children:t,navigate:u,useHref:n}=e,r=o.useMemo(()=>({isNative:!1,open:(a,i,l,s)=>{nd(a,d=>{ud(d,i)?u(l,s):iu(d,i)})},useHref:n||(a=>a)}),[u,n]);return o.createElement(ed.Provider,{value:r},t)}function Fu(){return o.useContext(ed)}function ud(e,t){let u=e.getAttribute("target");return(!u||u==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function iu(e,t,u=!0){var n,r;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;A2()&&(!((r=window.event)===null||r===void 0||(n=r.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(vt()?a=!0:i=!0);let d=al()&&vt()&&!rl()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});iu.isOpening=u,_e(e),e.dispatchEvent(d),iu.isOpening=!1}iu.isOpening=!1;function nd(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let u=document.createElement("a");u.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(u.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(u.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(u.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(u.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(u.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(u),t(u),e.removeChild(u)}}function w2(e,t){nd(e,u=>iu(u,t))}function il(e){let t=Fu();var u;const n=t.useHref((u=e.href)!==null&&u!==void 0?u:"");return{"data-href":e.href?n:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function fa(e){let t=Fu();var u;const n=t.useHref((u=e==null?void 0:e.href)!==null&&u!==void 0?u:"");return{href:e!=null&&e.href?n:void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let _u=new Map,$i=new Set;function mo(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let r=_u.get(n.target);r||(r=new Set,_u.set(n.target,r),n.target.addEventListener("transitioncancel",u,{once:!0})),r.add(n.propertyName)},u=n=>{if(!e(n)||!n.target)return;let r=_u.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",u),_u.delete(n.target)),_u.size===0)){for(let a of $i)a();$i.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?mo():document.addEventListener("DOMContentLoaded",mo));function rd(e){requestAnimationFrame(()=>{_u.size===0?e():$i.add(e)})}function Gn(){let e=o.useRef(new Map),t=o.useCallback((r,a,i,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:r,fn:s,options:l}),r.addEventListener(a,s,l)},[]),u=o.useCallback((r,a,i,l)=>{var s;let d=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;r.removeEventListener(a,d,l),e.current.delete(i)},[]),n=o.useCallback(()=>{e.current.forEach((r,a)=>{u(r.eventTarget,r.type,a,r.options)})},[u]);return o.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:u,removeAllGlobalListeners:n}}function yt(e,t){let{id:u,"aria-label":n,"aria-labelledby":r}=e;return u=ue(u),r&&n?r=[...new Set([u,...r.trim().split(/\s+/)])].join(" "):r&&(r=r.trim().split(/\s+/).join(" ")),!n&&!r&&t&&(n=t),{id:u,"aria-label":n,"aria-labelledby":r}}function $e(e){const t=o.useRef(null);return o.useMemo(()=>({get current(){return t.current},set current(u){t.current=u,typeof e=="function"?e(u):e&&(e.current=u)}}),[e])}function Tn(e,t){const u=o.useRef(!0),n=o.useRef(null);o.useEffect(()=>(u.current=!0,()=>{u.current=!1}),[]),o.useEffect(()=>{let r=n.current;u.current?u.current=!1:(!r||t.some((a,i)=>!Object.is(a,r[i])))&&e(),n.current=t},t)}function bo(e,t){const u=o.useRef(!0),n=o.useRef(null);Y(()=>(u.current=!0,()=>{u.current=!1}),[]),Y(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function F2(){return typeof window.ResizeObserver<"u"}function en(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(F2()){const a=new window.ResizeObserver(i=>{i.length&&n()});return a.observe(r,{box:u}),()=>{r&&a.unobserve(r)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,t,u])}function ll(e,t){Y(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Rn(e,t){if(!e)return!1;let u=window.getComputedStyle(e),n=/(auto|scroll)/.test(u.overflow+u.overflowX+u.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function Ne(e,t){let u=e;for(Rn(u,t)&&(u=u.parentElement);u&&!Rn(u,t);)u=u.parentElement;return u||document.scrollingElement||document.documentElement}function T2(e,t){const u=[];for(;e&&e!==document.documentElement;)Rn(e,t)&&u.push(e),e=e.parentElement;return u}let ut=typeof document<"u"&&window.visualViewport;function R2(){let e=Ct(),[t,u]=o.useState(()=>e?{width:0,height:0}:ho());return o.useEffect(()=>{let n=()=>{u(r=>{let a=ho();return a.width===r.width&&a.height===r.height?r:a})};return ut?ut.addEventListener("resize",n):window.addEventListener("resize",n),()=>{ut?ut.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function ho(){return{width:ut&&(ut==null?void 0:ut.width)||window.innerWidth,height:ut&&(ut==null?void 0:ut.height)||window.innerHeight}}let I2=0;const ja=new Map;function Et(e){let[t,u]=o.useState();return Y(()=>{if(!e)return;let n=ja.get(e);if(n)u(n.element.id);else{let r=`react-aria-description-${I2++}`;u(r);let a=document.createElement("div");a.id=r,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},ja.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),ja.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function ct(e,t,u,n){let r=le(u),a=u==null;o.useEffect(()=>{if(a||!e.current)return;let i=e.current;return i.addEventListener(t,r,n),()=>{i.removeEventListener(t,r,n)}},[e,t,n,a,r])}function ad(e,t){let u=$o(e,t,"left"),n=$o(e,t,"top"),r=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:d,scrollPaddingTop:c,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:m}=getComputedStyle(e),b=i+parseInt(d,10),g=l+parseInt(s,10),$=b+e.clientWidth,D=g+e.clientHeight,y=parseInt(c,10)||0,x=parseInt(p,10)||0,C=parseInt(f,10)||0,B=parseInt(m,10)||0;u<=i+B?i=u-parseInt(d,10)-B:u+r>$-C&&(i+=u+r-$+C),n<=g+y?l=n-parseInt(s,10)-y:n+a>D-x&&(l+=n+a-D+x),e.scrollLeft=i,e.scrollTop=l}function $o(e,t,u){const n=u==="left"?"offsetLeft":"offsetTop";let r=0;for(;t.offsetParent&&(r+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){r-=e[n];break}t=t.offsetParent}return r}function Ve(e,t){if(e&&document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=T2(e);for(let d of s)ad(d,e)}else{var u;let{left:s,top:d}=e.getBoundingClientRect();e==null||(u=e.scrollIntoView)===null||u===void 0||u.call(e,{block:"nearest"});let{left:c,top:f}=e.getBoundingClientRect();if(Math.abs(s-c)>1||Math.abs(d-f)>1){var n,r,a;t==null||(r=t.containingElement)===null||r===void 0||(n=r.scrollIntoView)===null||n===void 0||n.call(r,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function gi(e){return e.mozInputSource===0&&e.isTrusted?!0:Fn()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function K2(e){return!Fn()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function id(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function qn(e,t,u){let n=o.useRef(t),r=le(()=>{u&&u(n.current)});o.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e,r])}function M2(e){const t=o.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}const z2="react-aria-clear-focus",N2="react-aria-focus";function ju(e){return vt()?e.metaKey:e.ctrlKey}function pa(e,t=!0){let[u,n]=o.useState(!0),r=u&&t;return Y(()=>{if(r&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,r]),ld(e,r,o.useCallback(()=>n(!1),[])),r}function Rr(e,t){let[u,n]=o.useState(t?"open":"closed");switch(u){case"open":t||n("exiting");break;case"closed":case"exiting":t&&n("open");break}let r=u==="exiting";return ld(e,r,o.useCallback(()=>{n(a=>a==="exiting"?"closed":a)},[])),r}function ld(e,t,u){Y(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){u();return}let n=e.current.getAnimations();if(n.length===0){u();return}let r=!1;return Promise.all(n.map(a=>a.finished)).then(()=>{r||Wt.flushSync(()=>{u()})}).catch(()=>{}),()=>{r=!0}}},[e,t,u])}const ol=["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"])'],V2=ol.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";ol.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const _2=ol.join(':not([hidden]):not([tabindex="-1"]),');function sl(e){return e.matches(V2)}function j2(e){return e.matches(_2)}function Me(e,t,u){let[n,r]=o.useState(e||t),a=o.useRef(e!==void 0),i=e!==void 0;o.useEffect(()=>{let d=a.current;d!==i&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let l=i?e:n,s=o.useCallback((d,...c)=>{let f=(p,...m)=>{u&&(Object.is(l,p)||u(p,...m)),i||(l=p)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),r((m,...b)=>{let g=d(i?l:m,...b);return f(g,...c),i?m:g})):(i||r(d),f(d,...c))},[i,l,u]);return[l,s]}function In(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const lu=Symbol("default");function fe({values:e,children:t}){for(let[u,n]of e)t=o.createElement(u.Provider,{value:n},t);return t}function Z(e){let{className:t,style:u,children:n,defaultClassName:r,defaultChildren:a,defaultStyle:i,values:l}=e;return o.useMemo(()=>{let s,d,c;return typeof t=="function"?s=t({...l,defaultClassName:r}):s=t,typeof u=="function"?d=u({...l,defaultStyle:i||{}}):d=u,typeof n=="function"?c=n({...l,defaultChildren:a}):n==null?c=a:c=n,{className:s??r,style:d||i?{...i,...d}:void 0,children:c??a,"data-rac":""}},[t,u,n,r,a,i,l])}function Ze(e,t){let u=o.useContext(e);if(t===null)return null;if(u&&typeof u=="object"&&"slots"in u&&u.slots){let n=t||lu;if(!u.slots[n]){let r=new Intl.ListFormat().format(Object.keys(u.slots).map(i=>`"${i}"`)),a=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${a} Valid slot names are ${r}.`)}return u.slots[n]}return u}function X(e,t,u){let n=Ze(u,e.slot)||{},{ref:r,...a}=n,i=$e(o.useMemo(()=>du(t,r),[t,r])),l=_(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof a.style=="function"?a.style(s):a.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...a.style,...e.style}),[l,i]}function ft(e=!0){let[t,u]=o.useState(e),n=o.useRef(!1),r=o.useCallback(a=>{n.current=!0,u(!!a)},[]);return Y(()=>{n.current||u(!1)},[]),[r,t]}function Lt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class Kn{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new Kn(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}constructor(t,u){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=t,this.key=u}}class ma{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let u=this.keyMap;return{*[Symbol.iterator](){let n=u.get(t),r=(n==null?void 0:n.firstChildKey)!=null?u.get(n.firstChildKey):null;for(;r;)yield r,r=r.nextKey!=null?u.get(r.nextKey):void 0}}}getKeyBefore(t){let u=this.keyMap.get(t);if(!u)return null;if(u.prevKey!=null){for(u=this.keyMap.get(u.prevKey);u&&u.type!=="item"&&u.lastChildKey!=null;)u=this.keyMap.get(u.lastChildKey);var n;return(n=u==null?void 0:u.key)!==null&&n!==void 0?n:null}return u.parentKey}getKeyAfter(t){let u=this.keyMap.get(t);if(!u)return null;if(u.type!=="item"&&u.firstChildKey!=null)return u.firstChildKey;for(;u;){if(u.nextKey!=null)return u.nextKey;if(u.parentKey!=null)u=this.keyMap.get(u.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,u=new t;return u.keyMap=new Map(this.keyMap),u.firstKey=this.firstKey,u.lastKey=this.lastKey,u}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,u,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=u,this.frozen=!n}UNSTABLE_filter(t){let u=new ma,n=null;for(let r of this)if(r.type==="section"&&r.hasChildNodes){let a=r.clone(),i=null;for(let l of this.getChildren(r.key))if(go(l,t,this,u)){let s=l.clone();i==null&&(a.firstChildKey=s.key),u.firstKey==null&&(u.firstKey=a.key),i&&i.parentKey===s.parentKey?(i.nextKey=s.key,s.prevKey=i.key):s.prevKey=null,s.nextKey=null,u.addNode(s),i=s}i&&(i.type!=="header"?(a.lastChildKey=i.key,n==null?a.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=a.key,a.prevKey=n.key),a.nextKey=null,n=a,u.addNode(a)):(u.firstKey===a.key&&(u.firstKey=null),u.removeNode(i.key)))}else if(r.type==="separator"){let a=r.clone();a.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=a.key,a.prevKey=n.key,n=a,u.addNode(a))}else{let a=r.clone();go(a,t,this,u)&&(u.firstKey==null&&(u.firstKey=a.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===a.parentKey?(n.nextKey=a.key,a.prevKey=n.key):a.prevKey=null,a.nextKey=null,u.addNode(a),n=a)}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let r;n.prevKey!=null&&(r=u.getItem(n.prevKey),r.nextKey=null),u.removeNode(n.key),n=r}return u.lastKey=(n==null?void 0:n.key)||null,u}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function go(e,t,u,n){if(e.type==="subdialogtrigger"||e.type==="submenutrigger"){let r=[...u.getChildren(e.key)][0];if(r&&t(r.textValue)){let a=r.clone();return n.addNode(a),!0}else return!1}else return e.type==="header"?!0:t(e.textValue)}class od{*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}appendChild(t){this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(t,u){if(u==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=u,t.previousSibling=u.previousSibling,t.index=u.index,this.firstChild===u?this.firstChild=t:u.previousSibling&&(u.previousSibling.nextSibling=t),u.previousSibling=t,t.parentNode=u.parentNode;let n=u;for(;n;)n.index++,n=n.nextSibling;t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(t){if(t.parentNode!==this||!this.ownerDocument.isMounted)return;this.ownerDocument.startTransaction();let u=t.nextSibling;for(;u;)u.index--,u=u.nextSibling;t.nextSibling&&(t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.removeNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=t}}class Mn extends od{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof Mn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,u,n,r;let a=this.ownerDocument.getMutableNode(this);a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof Mn?this.parentNode.node.key:null;var i;a.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var l;a.nextKey=(l=(u=this.nextSibling)===null||u===void 0?void 0:u.node.key)!==null&&l!==void 0?l:null,a.hasChildNodes=!!this.firstChild;var s;a.firstChildKey=(s=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&s!==void 0?s:null;var d;if(a.lastChildKey=(d=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&d!==void 0?d:null,(a.colSpan!=null||a.colIndex!=null)&&this.nextSibling){var c,f;let p=((c=a.colIndex)!==null&&c!==void 0?c:a.index)+((f=a.colSpan)!==null&&f!==void 0?f:1);if(p!==this.nextSibling.node.colIndex){let m=this.ownerDocument.getMutableNode(this.nextSibling);m.colIndex=p}}}setProps(t,u,n,r){let a=this.ownerDocument.getMutableNode(this),{value:i,textValue:l,id:s,...d}=t;if(d.ref=u,a.props=d,a.rendered=n,a.render=r,a.value=i,a.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",s!=null&&s!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=s}d.colSpan!=null&&(a.colSpan=d.colSpan),this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,u){super(u),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new Kn(t,`react-aria-${++u.nodeId}`),this.ownerDocument.startTransaction()}}class L2 extends od{get isConnected(){return this.isMounted}createElement(t){return new Mn(t,this)}getMutableNode(t){let u=t.node;return this.mutatedNodes.has(t)||(u=t.node.clone(),this.mutatedNodes.add(t),t.node=u),this.markDirty(t),u}getMutableCollection(){return!this.isSSR&&!this.collectionMutated&&(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(t){this.dirtyNodes.add(t)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(t){let u=this.getMutableCollection();if(!u.getItem(t.node.key)){u.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let a of this.dirtyNodes)a instanceof Mn&&a.isConnected&&a.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,u;let a=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&a.addNode(i.node);this.mutatedNodes.clear();var n,r;a.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(r=(u=this.lastChild)===null||u===void 0?void 0:u.node.key)!==null&&r!==void 0?r:null,this.isSSR)}this.collectionMutated=!1}queueUpdate(){if(!(this.dirtyNodes.size===0||this.transactionCount>0))for(let t of this.subscriptions)t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function dl(e){let{children:t,items:u,idScope:n,addIdAndValue:r,dependencies:a=[]}=e,i=o.useMemo(()=>new WeakMap,a);return o.useMemo(()=>{if(u&&typeof t=="function"){let d=[];for(let c of u){let f=i.get(c);if(!f){f=t(c);var l,s;let p=(s=(l=f.props.id)!==null&&l!==void 0?l:c.key)!==null&&s!==void 0?s:c.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=o.cloneElement(f,r?{key:p,id:p,value:c}:{key:p}),i.set(c,f)}d.push(f)}return d}else if(typeof t!="function")return t},[t,u,i,n,r])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const Ir=o.createContext(!1);function O2(e){if(o.useContext(Ir))return o.createElement(o.Fragment,null,e.children);let u=o.createElement(Ir.Provider,{value:!0},e.children);return o.createElement("template",{"data-react-aria-hidden":!0},u)}function Yn(e){let t=(u,n)=>o.useContext(Ir)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function H2(){return o.useContext(Ir)}let Ou="default",Di="",Br=new WeakMap;function Do(e){if(Zn()){if(Ou==="default"){const t=oe(e);Di=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Ou="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Br.set(e,e.style[t]),e.style[t]="none"}}function La(e){if(Zn()){if(Ou!=="disabled")return;Ou="restoring",setTimeout(()=>{rd(()=>{if(Ou==="restoring"){const t=oe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Di||""),Di="",Ou="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Br.has(e)){let t=Br.get(e),u="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[u]==="none"&&(e.style[u]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Br.delete(e)}}const zn=o.createContext({register:()=>{}});zn.displayName="PressResponderContext";class sd{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,u){this.nativeEvent=u,this.target=u.target,this.currentTarget=u.currentTarget,this.relatedTarget=u.relatedTarget,this.bubbles=u.bubbles,this.cancelable=u.cancelable,this.defaultPrevented=u.defaultPrevented,this.eventPhase=u.eventPhase,this.isTrusted=u.isTrusted,this.timeStamp=u.timeStamp,this.type=t}}function dd(e){let t=o.useRef({isFocused:!1,observer:null});Y(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let u=le(n=>{e==null||e(n)});return o.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target,a=i=>{t.current.isFocused=!1,r.disabled&&u(new sd("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[u])}let Kr=!1;function vo(e){for(;e&&!sl(e);)e=e.parentElement;let t=Ye(e),u=t.document.activeElement;if(!u||u===e)return;Kr=!0;let n=!1,r=c=>{(c.target===u||n)&&c.stopImmediatePropagation()},a=c=>{(c.target===u||n)&&(c.stopImmediatePropagation(),!e&&!n&&(n=!0,_e(u),s()))},i=c=>{(c.target===e||n)&&c.stopImmediatePropagation()},l=c=>{(c.target===e||n)&&(c.stopImmediatePropagation(),n||(n=!0,_e(u),s()))};t.addEventListener("blur",r,!0),t.addEventListener("focusout",a,!0),t.addEventListener("focusin",l,!0),t.addEventListener("focus",i,!0);let s=()=>{cancelAnimationFrame(d),t.removeEventListener("blur",r,!0),t.removeEventListener("focusout",a,!0),t.removeEventListener("focusin",l,!0),t.removeEventListener("focus",i,!0),Kr=!1,n=!1},d=requestAnimationFrame(s);return s}function U2(e,t){return t.get?t.get.call(e):t.value}function cd(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function W2(e,t){var u=cd(e,t,"get");return U2(e,u)}function Z2(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Jn(e,t,u){Z2(e,t),t.set(e,u)}function G2(e,t,u){if(t.set)t.set.call(e,u);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=u}}function yo(e,t,u){var n=cd(e,t,"set");return G2(e,n,u),u}function q2(e){let t=o.useContext(zn);if(t){let{register:u,...n}=t;e=_(n,e),u()}return ll(t,e.ref),e}var dr=new WeakMap;class cr{continuePropagation(){yo(this,dr,!1)}get shouldStopPropagation(){return W2(this,dr)}constructor(t,u,n,r){Jn(this,dr,{writable:!0,value:void 0}),yo(this,dr,!0);var a;let i=(a=r==null?void 0:r.target)!==null&&a!==void 0?a:n.currentTarget;const l=i==null?void 0:i.getBoundingClientRect();let s,d=0,c,f=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,f=n.clientY),l&&(c!=null&&f!=null?(s=c-l.left,d=f-l.top):(s=l.width/2,d=l.height/2)),this.type=t,this.pointerType=u,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=d}}const xo=Symbol("linkClicked");function Je(e){let{onPress:t,onPressChange:u,onPressStart:n,onPressEnd:r,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=q2(e),[m,b]=o.useState(!1),g=o.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:$,removeAllGlobalListeners:D}=Gn(),y=le((v,F)=>{let S=g.current;if(i||S.didFirePressStart)return!1;let k=!0;if(S.isTriggeringEvent=!0,n){let M=new cr("pressstart",F,v);n(M),k=M.shouldStopPropagation}return u&&u(!0),S.isTriggeringEvent=!1,S.didFirePressStart=!0,b(!0),k}),x=le((v,F,S=!0)=>{let k=g.current;if(!k.didFirePressStart)return!1;k.didFirePressStart=!1,k.isTriggeringEvent=!0;let M=!0;if(r){let E=new cr("pressend",F,v);r(E),M=E.shouldStopPropagation}if(u&&u(!1),b(!1),t&&S&&!i){let E=new cr("press",F,v);t(E),M&&(M=E.shouldStopPropagation)}return k.isTriggeringEvent=!1,M}),C=le((v,F)=>{let S=g.current;if(i)return!1;if(a){S.isTriggeringEvent=!0;let k=new cr("pressup",F,v);return a(k),S.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),B=le(v=>{let F=g.current;if(F.isPressed&&F.target){F.didFirePressStart&&F.pointerType!=null&&x(Iu(F.target,v),F.pointerType,!1),F.isPressed=!1,F.isOverTarget=!1,F.activePointerId=null,F.pointerType=null,D(),c||La(F.target);for(let S of F.disposables)S();F.disposables=[]}}),P=le(v=>{d&&B(v)}),T=o.useMemo(()=>{let v=g.current,F={onKeyDown(k){if(Oa(k.nativeEvent,k.currentTarget)&&ge(k.currentTarget,de(k.nativeEvent))){var M;Bo(de(k.nativeEvent),k.key)&&k.preventDefault();let E=!0;if(!v.isPressed&&!k.repeat){v.target=k.currentTarget,v.isPressed=!0,v.pointerType="keyboard",E=y(k,"keyboard");let V=k.currentTarget,I=w=>{Oa(w,V)&&!w.repeat&&ge(V,de(w))&&v.target&&C(Iu(v.target,w),"keyboard")};$(oe(k.currentTarget),"keyup",ot(I,S),!0)}E&&k.stopPropagation(),k.metaKey&&vt()&&((M=v.metaKeyEvents)===null||M===void 0||M.set(k.key,k.nativeEvent))}else k.key==="Meta"&&(v.metaKeyEvents=new Map)},onClick(k){if(!(k&&!ge(k.currentTarget,de(k.nativeEvent)))&&k&&k.button===0&&!v.isTriggeringEvent&&!iu.isOpening){let M=!0;if(i&&k.preventDefault(),!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||gi(k.nativeEvent))){let E=y(k,"virtual"),V=C(k,"virtual"),I=x(k,"virtual");M=E&&V&&I}else if(v.isPressed&&v.pointerType!=="keyboard"){let E=v.pointerType||k.nativeEvent.pointerType||"virtual";M=x(Iu(k.currentTarget,k),E,!0),v.isOverTarget=!1,B(k)}v.ignoreEmulatedMouseEvents=!1,M&&k.stopPropagation()}}},S=k=>{var M;if(v.isPressed&&v.target&&Oa(k,v.target)){var E;Bo(de(k),k.key)&&k.preventDefault();let I=de(k);x(Iu(v.target,k),"keyboard",ge(v.target,de(k))),D(),k.key!=="Enter"&&cl(v.target)&&ge(v.target,I)&&!k[xo]&&(k[xo]=!0,iu(v.target,k,!1)),v.isPressed=!1,(E=v.metaKeyEvents)===null||E===void 0||E.delete(k.key)}else if(k.key==="Meta"&&(!((M=v.metaKeyEvents)===null||M===void 0)&&M.size)){var V;let I=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let w of I.values())(V=v.target)===null||V===void 0||V.dispatchEvent(new KeyboardEvent("keyup",w))}};if(typeof PointerEvent<"u"){F.onPointerDown=E=>{if(E.button!==0||!ge(E.currentTarget,de(E.nativeEvent)))return;if(K2(E.nativeEvent)){v.pointerType="virtual";return}v.pointerType=E.pointerType;let V=!0;if(!v.isPressed){v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=E.pointerId,v.target=E.currentTarget,c||Do(v.target),V=y(E,v.pointerType);let I=de(E.nativeEvent);"releasePointerCapture"in I&&I.releasePointerCapture(E.pointerId),$(oe(E.currentTarget),"pointerup",k,!1),$(oe(E.currentTarget),"pointercancel",M,!1)}V&&E.stopPropagation()},F.onMouseDown=E=>{if(ge(E.currentTarget,de(E.nativeEvent))&&E.button===0){if(s){let V=vo(E.target);V&&v.disposables.push(V)}E.stopPropagation()}},F.onPointerUp=E=>{!ge(E.currentTarget,de(E.nativeEvent))||v.pointerType==="virtual"||E.button===0&&C(E,v.pointerType||E.pointerType)},F.onPointerEnter=E=>{E.pointerId===v.activePointerId&&v.target&&!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,y(Iu(v.target,E),v.pointerType))},F.onPointerLeave=E=>{E.pointerId===v.activePointerId&&v.target&&v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,x(Iu(v.target,E),v.pointerType,!1),P(E))};let k=E=>{if(E.pointerId===v.activePointerId&&v.isPressed&&E.button===0&&v.target){if(ge(v.target,de(E))&&v.pointerType!=null){let V=!1,I=setTimeout(()=>{v.isPressed&&v.target instanceof HTMLElement&&(V?B(E):(_e(v.target),v.target.click()))},80);$(E.currentTarget,"click",()=>V=!0,!0),v.disposables.push(()=>clearTimeout(I))}else B(E);v.isOverTarget=!1}},M=E=>{B(E)};F.onDragStart=E=>{ge(E.currentTarget,de(E.nativeEvent))&&B(E)}}else{F.onMouseDown=E=>{if(E.button!==0||!ge(E.currentTarget,de(E.nativeEvent)))return;if(v.ignoreEmulatedMouseEvents){E.stopPropagation();return}if(v.isPressed=!0,v.isOverTarget=!0,v.target=E.currentTarget,v.pointerType=gi(E.nativeEvent)?"virtual":"mouse",Wt.flushSync(()=>y(E,v.pointerType))&&E.stopPropagation(),s){let I=vo(E.target);I&&v.disposables.push(I)}$(oe(E.currentTarget),"mouseup",k,!1)},F.onMouseEnter=E=>{if(!ge(E.currentTarget,de(E.nativeEvent)))return;let V=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!0,V=y(E,v.pointerType)),V&&E.stopPropagation()},F.onMouseLeave=E=>{if(!ge(E.currentTarget,de(E.nativeEvent)))return;let V=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!1,V=x(E,v.pointerType,!1),P(E)),V&&E.stopPropagation()},F.onMouseUp=E=>{ge(E.currentTarget,de(E.nativeEvent))&&!v.ignoreEmulatedMouseEvents&&E.button===0&&C(E,v.pointerType||"mouse")};let k=E=>{if(E.button===0){if(v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&v.target.contains(E.target)&&v.pointerType!=null||B(E),v.isOverTarget=!1}};F.onTouchStart=E=>{if(!ge(E.currentTarget,de(E.nativeEvent)))return;let V=Y2(E.nativeEvent);if(!V)return;v.activePointerId=V.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=E.currentTarget,v.pointerType="touch",c||Do(v.target),y(Xt(v.target,E),v.pointerType)&&E.stopPropagation(),$(Ye(E.currentTarget),"scroll",M,!0)},F.onTouchMove=E=>{if(!ge(E.currentTarget,de(E.nativeEvent)))return;if(!v.isPressed){E.stopPropagation();return}let V=Co(E.nativeEvent,v.activePointerId),I=!0;V&&Eo(V,E.currentTarget)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,I=y(Xt(v.target,E),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,I=x(Xt(v.target,E),v.pointerType,!1),P(Xt(v.target,E))),I&&E.stopPropagation()},F.onTouchEnd=E=>{if(!ge(E.currentTarget,de(E.nativeEvent)))return;if(!v.isPressed){E.stopPropagation();return}let V=Co(E.nativeEvent,v.activePointerId),I=!0;V&&Eo(V,E.currentTarget)&&v.pointerType!=null?(C(Xt(v.target,E),v.pointerType),I=x(Xt(v.target,E),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(I=x(Xt(v.target,E),v.pointerType,!1)),I&&E.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,v.target&&!c&&La(v.target),D()},F.onTouchCancel=E=>{ge(E.currentTarget,de(E.nativeEvent))&&(E.stopPropagation(),v.isPressed&&B(Xt(v.target,E)))};let M=E=>{v.isPressed&&ge(de(E),v.target)&&B({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=E=>{ge(E.currentTarget,de(E.nativeEvent))&&B(E)}}return F},[$,i,s,D,c,B,P,x,y,C]);return o.useEffect(()=>{let v=g.current;return()=>{var F;c||La((F=v.target)!==null&&F!==void 0?F:void 0);for(let S of v.disposables)S();v.disposables=[]}},[c]),{isPressed:l||m,pressProps:_(p,T)}}function cl(e){return e.tagName==="A"&&e.hasAttribute("href")}function Oa(e,t){const{key:u,code:n}=e,r=t,a=r.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||n==="Space")&&!(r instanceof Ye(r).HTMLInputElement&&!fd(r,u)||r instanceof Ye(r).HTMLTextAreaElement||r.isContentEditable)&&!((a==="link"||!a&&cl(r))&&u!=="Enter")}function Y2(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Co(e,t){const u=e.changedTouches;for(let n=0;n<u.length;n++){const r=u[n];if(r.identifier===t)return r}return null}function Xt(e,t){let u=0,n=0;return t.targetTouches&&t.targetTouches.length===1&&(u=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function Iu(e,t){let u=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function J2(e){let t=0,u=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?u=e.height/2:e.radiusY!==void 0&&(u=e.radiusY),{top:e.clientY-u,right:e.clientX+t,bottom:e.clientY+u,left:e.clientX-t}}function Q2(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Eo(e,t){let u=t.getBoundingClientRect(),n=J2(e);return Q2(u,n)}function X2(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!cl(e)}function Bo(e,t){return e instanceof HTMLInputElement?!fd(e,t):X2(e)}const e6=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function fd(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":e6.has(e.type)}let Ot=null,Nn=new Set,Pn=new Map,Su=!1,vi=!1;const t6={Tab:!0,Escape:!0};function ba(e,t){for(let u of Nn)u(e,t)}function u6(e){return!(e.metaKey||!vt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Mr(e){Su=!0,u6(e)&&(Ot="keyboard",ba("keyboard",e))}function rt(e){Ot="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Su=!0,ba("pointer",e))}function pd(e){gi(e)&&(Su=!0,Ot="virtual")}function md(e){e.target===window||e.target===document||Kr||!e.isTrusted||(!Su&&!vi&&(Ot="virtual",ba("virtual",e)),Su=!1,vi=!1)}function bd(){Kr||(Su=!1,vi=!0)}function zr(e){if(typeof window>"u"||Pn.get(Ye(e)))return;const t=Ye(e),u=oe(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Su=!0,n.apply(this,arguments)},u.addEventListener("keydown",Mr,!0),u.addEventListener("keyup",Mr,!0),u.addEventListener("click",pd,!0),t.addEventListener("focus",md,!0),t.addEventListener("blur",bd,!1),typeof PointerEvent<"u"?(u.addEventListener("pointerdown",rt,!0),u.addEventListener("pointermove",rt,!0),u.addEventListener("pointerup",rt,!0)):(u.addEventListener("mousedown",rt,!0),u.addEventListener("mousemove",rt,!0),u.addEventListener("mouseup",rt,!0)),t.addEventListener("beforeunload",()=>{hd(e)},{once:!0}),Pn.set(t,{focus:n})}const hd=(e,t)=>{const u=Ye(e),n=oe(e);t&&n.removeEventListener("DOMContentLoaded",t),Pn.has(u)&&(u.HTMLElement.prototype.focus=Pn.get(u).focus,n.removeEventListener("keydown",Mr,!0),n.removeEventListener("keyup",Mr,!0),n.removeEventListener("click",pd,!0),u.removeEventListener("focus",md,!0),u.removeEventListener("blur",bd,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",rt,!0),n.removeEventListener("pointermove",rt,!0),n.removeEventListener("pointerup",rt,!0)):(n.removeEventListener("mousedown",rt,!0),n.removeEventListener("mousemove",rt,!0),n.removeEventListener("mouseup",rt,!0)),Pn.delete(u))};function n6(e){const t=oe(e);let u;return t.readyState!=="loading"?zr(e):(u=()=>{zr(e)},t.addEventListener("DOMContentLoaded",u)),()=>hd(e,u)}typeof document<"u"&&n6();function Ht(){return Ot!=="pointer"}function _t(){return Ot}function $d(e){Ot=e,ba(e,null)}function fl(){zr();let[e,t]=o.useState(Ot);return o.useEffect(()=>{let u=()=>{t(Ot)};return Nn.add(u),()=>{Nn.delete(u)}},[]),Ct()?null:e}const r6=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function a6(e,t,u){let n=oe(u==null?void 0:u.target);const r=typeof window<"u"?Ye(u==null?void 0:u.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Ye(u==null?void 0:u.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Ye(u==null?void 0:u.target).HTMLElement:HTMLElement,l=typeof window<"u"?Ye(u==null?void 0:u.target).KeyboardEvent:KeyboardEvent;return e=e||n.activeElement instanceof r&&!r6.has(n.activeElement.type)||n.activeElement instanceof a||n.activeElement instanceof i&&n.activeElement.isContentEditable,!(e&&t==="keyboard"&&u instanceof l&&!t6[u.key])}function i6(e,t,u){zr(),o.useEffect(()=>{let n=(r,a)=>{a6(!!(u!=null&&u.isTextInput),r,a)&&e(Ht())};return Nn.add(n),()=>{Nn.delete(n)}},t)}function xe(e){const t=oe(e),u=Ke(t);if(_t()==="virtual"){let n=u;rd(()=>{Ke(t)===n&&e.isConnected&&_e(e)})}else _e(e)}function ha(e){let{isDisabled:t,onFocus:u,onBlur:n,onFocusChange:r}=e;const a=o.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),r&&r(!1),!0},[n,r]),i=dd(a),l=o.useCallback(s=>{const d=oe(s.target),c=d?Ke(d):Ke();s.target===s.currentTarget&&c===de(s.nativeEvent)&&(u&&u(s),r&&r(!0),i(s))},[r,u,i]);return{focusProps:{onFocus:!t&&(u||r||n)?l:void 0,onBlur:!t&&(n||r)?a:void 0}}}function ko(e){if(!e)return;let t=!0;return u=>{let n={...u,preventDefault(){u.preventDefault()},isDefaultPrevented(){return u.isDefaultPrevented()},stopPropagation(){t?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(n),t&&u.stopPropagation()}}function gd(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:ko(e.onKeyDown),onKeyUp:ko(e.onKeyUp)}}}let Nr=o.createContext(null);function l6(e){let t=o.useContext(Nr)||{};ll(t,e);let{ref:u,...n}=t;return n}const o6=o.forwardRef(function(t,u){let{children:n,...r}=t,a=$e(u),i={...r,ref:a};return o.createElement(Nr.Provider,{value:i},n)});function Gt(e,t){let{focusProps:u}=ha(e),{keyboardProps:n}=gd(e),r=_(u,n),a=l6(t),i=e.isDisabled?{}:a,l=o.useRef(e.autoFocus);o.useEffect(()=>{l.current&&t.current&&xe(t.current),l.current=!1},[t]);let s=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(s=void 0),{focusableProps:_({...r,tabIndex:s},i)}}const pl=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),r=o.useContext(zn);u=$e(u||(r==null?void 0:r.ref));let a=_(r||{},{...t,ref:u,register(){n.current=!0,r&&r.register()}});return ll(r,u),o.useEffect(()=>{n.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),n.current=!0)},[]),o.createElement(zn.Provider,{value:a},e)});function s6({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(zn.Provider,{value:t},e)}function pt(e){let{isDisabled:t,onBlurWithin:u,onFocusWithin:n,onFocusWithinChange:r}=e,a=o.useRef({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:l}=Gn(),s=o.useCallback(f=>{f.currentTarget.contains(f.target)&&a.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(a.current.isFocusWithin=!1,l(),u&&u(f),r&&r(!1))},[u,r,a,l]),d=dd(s),c=o.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const p=oe(f.target),m=Ke(p);if(!a.current.isFocusWithin&&m===de(f.nativeEvent)){n&&n(f),r&&r(!0),a.current.isFocusWithin=!0,d(f);let b=f.currentTarget;i(p,"focus",g=>{if(a.current.isFocusWithin&&!ge(b,g.target)){let $=new sd("blur",new p.defaultView.FocusEvent("blur",{relatedTarget:g.target}));$.target=b,$.currentTarget=b,s($)}},{capture:!0})}},[n,r,d,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:s}}}let Vr=!1,Ha=0;function yi(){Vr=!0,setTimeout(()=>{Vr=!1},50)}function Po(e){e.pointerType==="touch"&&yi()}function d6(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Po):document.addEventListener("touchend",yi),Ha++,()=>{Ha--,!(Ha>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Po):document.removeEventListener("touchend",yi))}}function Ce(e){let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,isDisabled:r}=e,[a,i]=o.useState(!1),l=o.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;o.useEffect(d6,[]);let{addGlobalListener:s,removeAllGlobalListeners:d}=Gn(),{hoverProps:c,triggerHoverEnd:f}=o.useMemo(()=>{let p=(g,$)=>{if(l.pointerType=$,r||$==="touch"||l.isHovered||!g.currentTarget.contains(g.target))return;l.isHovered=!0;let D=g.currentTarget;l.target=D,s(oe(g.target),"pointerover",y=>{l.isHovered&&l.target&&!ge(l.target,y.target)&&m(y,y.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:D,pointerType:$}),u&&u(!0),i(!0)},m=(g,$)=>{let D=l.target;l.pointerType="",l.target=null,!($==="touch"||!l.isHovered||!D)&&(l.isHovered=!1,d(),n&&n({type:"hoverend",target:D,pointerType:$}),u&&u(!1),i(!1))},b={};return typeof PointerEvent<"u"?(b.onPointerEnter=g=>{Vr&&g.pointerType==="mouse"||p(g,g.pointerType)},b.onPointerLeave=g=>{!r&&g.currentTarget.contains(g.target)&&m(g,g.pointerType)}):(b.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},b.onMouseEnter=g=>{!l.ignoreEmulatedMouseEvents&&!Vr&&p(g,"mouse"),l.ignoreEmulatedMouseEvents=!1},b.onMouseLeave=g=>{!r&&g.currentTarget.contains(g.target)&&m(g,"mouse")}),{hoverProps:b,triggerHoverEnd:m}},[t,u,n,r,l,s,d]);return o.useEffect(()=>{r&&f({currentTarget:l.target},l.pointerType)},[r]),{hoverProps:c,isHovered:a}}function c6(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:r}=e,a=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=le(s=>{u&&fr(s,t)&&(r&&r(s),a.current.isPointerDown=!0)}),l=le(s=>{u&&u(s)});o.useEffect(()=>{let s=a.current;if(n)return;const d=t.current,c=oe(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&fr(p,t)&&l(p),s.isPointerDown=!1};return c.addEventListener("pointerdown",i,!0),c.addEventListener("pointerup",f,!0),()=>{c.removeEventListener("pointerdown",i,!0),c.removeEventListener("pointerup",f,!0)}}else{let f=m=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&fr(m,t)&&l(m),s.isPointerDown=!1},p=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&fr(m,t)&&l(m),s.isPointerDown=!1};return c.addEventListener("mousedown",i,!0),c.addEventListener("mouseup",f,!0),c.addEventListener("touchstart",i,!0),c.addEventListener("touchend",p,!0),()=>{c.removeEventListener("mousedown",i,!0),c.removeEventListener("mouseup",f,!0),c.removeEventListener("touchstart",i,!0),c.removeEventListener("touchend",p,!0)}}},[t,n,i,l])}function fr(e,t){if(e.button>0)return!1;if(e.target){const u=e.target.ownerDocument;if(!u||!u.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const f6=500;function Dd(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:r,threshold:a=f6,accessibilityDescription:i}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=Gn(),{pressProps:c}=Je({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(u&&u({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),oe(p.target).activeElement!==p.target&&_e(p.target),r&&r({...p,type:"longpress"}),l.current=void 0},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};s(p.target,"contextmenu",m,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=Et(r&&!t?i:void 0);return{longPressProps:_(c,f)}}var xi={exports:{}},Ua={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var So;function p6(){if(So)return Ua;So=1;var e=o;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var u=typeof Object.is=="function"?Object.is:t,n=e.useState,r=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function l(f,p){var m=p(),b=n({inst:{value:m,getSnapshot:p}}),g=b[0].inst,$=b[1];return a(function(){g.value=m,g.getSnapshot=p,s(g)&&$({inst:g})},[f,m,p]),r(function(){return s(g)&&$({inst:g}),f(function(){s(g)&&$({inst:g})})},[f]),i(m),m}function s(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!u(f,m)}catch{return!0}}function d(f,p){return p()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:l;return Ua.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,Ua}var Wa={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,130 +14,130 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var yo;function i6(){return yo||(yo=1,process.env.NODE_ENV!=="production"&&function(){function e(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}function t(m,b){c||r.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var g=b();if(!f){var $=b();a(g,$)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}$=i({inst:{value:g,getSnapshot:b}});var D=$[0].inst,y=$[1];return s(function(){D.value=g,D.getSnapshot=b,u(D)&&y({inst:D})},[m,g,b]),l(function(){return u(D)&&y({inst:D}),m(function(){u(D)&&y({inst:D})})},[m]),d(g),g}function u(m){var b=m.getSnapshot;m=m.value;try{var g=b();return!a(m,g)}catch{return!0}}function n(m,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=o,a=typeof Object.is=="function"?Object.is:e,i=r.useState,l=r.useEffect,s=r.useLayoutEffect,d=r.useDebugValue,c=!1,f=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Va.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Va}process.env.NODE_ENV==="production"?bi.exports=a6():bi.exports=i6();var ol=bi.exports;const md=o.createContext(!1),Kn=o.createContext(null);function Su(e){if(o.useContext(Kn))return e.content;let{collection:u,document:n}=d6(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(K$,null,o.createElement(Kn.Provider,{value:n},e.content)),o.createElement(l6,{render:e.children,collection:u}))}function l6({collection:e,render:t}){return t(e)}function o6(e,t,u){let n=au(),r=o.useRef(n);r.current=n;let a=o.useCallback(()=>r.current?u():t(),[t,u]);return ol.useSyncExternalStore(e,a)}const s6=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:o6;function d6(e){let[t]=o.useState(()=>new R$((e==null?void 0:e())||new sa)),u=o.useCallback(i=>t.subscribe(i),[t]),n=o.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),r=o.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]),a=s6(u,n,r);return Y(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const hi=o.createContext(null);function bd(e,t,u,n,r,a){let i=o.useCallback(s=>{s==null||s.setProps(t,u,n,a)},[t,u,n,a]),l=o.useContext(hi);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e),s.setProps(t,u,n,a),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),r?o.createElement(hi.Provider,{value:s},r):null}return o.createElement(e,{ref:i},r)}function iu(e,t){let u=({node:r})=>t(r.props,r.props.ref,r),n=o.forwardRef((r,a)=>{let i=o.useContext(Kr);if(!o.useContext(md)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(r,a)}return bd(e,r,a,"children"in r?r.children:null,null,s=>o.createElement(Kr.Provider,{value:i},o.createElement(u,{node:s})))});return n.displayName=t.name,n}function sl(e,t,u=hd){let n=({node:a})=>t(a.props,a.props.ref,a),r=o.forwardRef((a,i)=>{let l=u(a);var s;return(s=bd(e,a,i,null,l,d=>o.createElement(n,{node:d})))!==null&&s!==void 0?s:o.createElement(o.Fragment,null)});return r.displayName=t.name,r}function hd(e){return al({...e,addIdAndValue:!0})}const xo=o.createContext(null);function xt(e){let t=o.useContext(xo),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),r=hd({...e,idScope:n,dependencies:u});return o.useContext(Kn)&&(r=o.createElement(c6,null,r)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(xo.Provider,{value:t},r)}function c6({children:e}){let t=o.useContext(Kn),u=o.useMemo(()=>o.createElement(Kn.Provider,{value:null},o.createElement(md.Provider,{value:!0},e)),[e]);return au()?o.createElement(hi.Provider,{value:t},u):Lt.createPortal(u,t)}function f6(e,t){let{elementType:u="a",onPress:n,onPressStart:r,onPressEnd:a,onClick:i,isDisabled:l,...s}=e,d={};u!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=Ht(e,t),{pressProps:f,isPressed:p}=Je({onPress:n,onPressStart:r,onPressEnd:a,isDisabled:l,ref:t}),m=U(s,{labelable:!0}),b=_(c,f),g=Pu(),$=oa(e);return{isPressed:p,linkProps:_(m,$,{...b,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:D=>{var y;(y=f.onClick)===null||y===void 0||y.call(f,D),i&&(i(D),console.warn("onClick is deprecated, please use onPress")),!g.isNative&&D.currentTarget instanceof HTMLAnchorElement&&D.currentTarget.href&&!D.isDefaultPrevented()&&Zs(D.currentTarget,D)&&e.href&&(D.preventDefault(),g.open(D.currentTarget,D,e.href,e.routerOptions))}})}}var $d={};$d={breadcrumbs:"عناصر الواجهة"};var gd={};gd={breadcrumbs:"Трохи хляб"};var Dd={};Dd={breadcrumbs:"Popis cesty"};var vd={};vd={breadcrumbs:"Brødkrummer"};var yd={};yd={breadcrumbs:"Breadcrumbs"};var xd={};xd={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Cd={};Cd={breadcrumbs:"Breadcrumbs"};var Ed={};Ed={breadcrumbs:"Migas de pan"};var Bd={};Bd={breadcrumbs:"Lingiread"};var kd={};kd={breadcrumbs:"Navigointilinkit"};var Pd={};Pd={breadcrumbs:"Chemin de navigation"};var Sd={};Sd={breadcrumbs:"שבילי ניווט"};var Ad={};Ad={breadcrumbs:"Navigacijski putovi"};var wd={};wd={breadcrumbs:"Morzsamenü"};var Fd={};Fd={breadcrumbs:"Breadcrumb"};var Td={};Td={breadcrumbs:"パンくずリスト"};var Id={};Id={breadcrumbs:"탐색 표시"};var Rd={};Rd={breadcrumbs:"Naršymo kelias"};var Kd={};Kd={breadcrumbs:"Atpakaļceļi"};var Md={};Md={breadcrumbs:"Navigasjonsstier"};var zd={};zd={breadcrumbs:"Broodkruimels"};var Nd={};Nd={breadcrumbs:"Struktura nawigacyjna"};var Vd={};Vd={breadcrumbs:"Caminho detalhado"};var _d={};_d={breadcrumbs:"Categorias"};var jd={};jd={breadcrumbs:"Miez de pâine"};var Ld={};Ld={breadcrumbs:"Навигация"};var Od={};Od={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Hd={};Hd={breadcrumbs:"Drobtine"};var Ud={};Ud={breadcrumbs:"Putanje navigacije"};var Wd={};Wd={breadcrumbs:"Sökvägar"};var Zd={};Zd={breadcrumbs:"İçerik haritaları"};var Gd={};Gd={breadcrumbs:"Навігаційна стежка"};var qd={};qd={breadcrumbs:"导航栏"};var Yd={};Yd={breadcrumbs:"導覽列"};var Jd={};Jd={"ar-AE":$d,"bg-BG":gd,"cs-CZ":Dd,"da-DK":vd,"de-DE":yd,"el-GR":xd,"en-US":Cd,"es-ES":Ed,"et-EE":Bd,"fi-FI":kd,"fr-FR":Pd,"he-IL":Sd,"hr-HR":Ad,"hu-HU":wd,"it-IT":Fd,"ja-JP":Td,"ko-KR":Id,"lt-LT":Rd,"lv-LV":Kd,"nb-NO":Md,"nl-NL":zd,"pl-PL":Nd,"pt-BR":Vd,"pt-PT":_d,"ro-RO":jd,"ru-RU":Ld,"sk-SK":Od,"sl-SI":Hd,"sr-SP":Ud,"sv-SE":Wd,"tr-TR":Zd,"uk-UA":Gd,"zh-CN":qd,"zh-TW":Yd};const p6=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),m6=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function b6(e){if(Intl.Locale){let u=new Intl.Locale(e).maximize(),n=typeof u.getTextInfo=="function"?u.getTextInfo():u.textInfo;if(n)return n.direction==="rtl";if(u.script)return p6.has(u.script)}let t=e.split("-")[0];return m6.has(t)}const h6=Symbol.for("react-aria.i18n.locale");function Qd(){let e=typeof window<"u"&&window[h6]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:b6(e)?"rtl":"ltr"}}let $i=Qd(),gn=new Set;function Co(){$i=Qd();for(let e of gn)e($i)}function $6(){let e=au(),[t,u]=o.useState($i);return o.useEffect(()=>(gn.size===0&&window.addEventListener("languagechange",Co),gn.add(u),()=>{gn.delete(u),gn.size===0&&window.removeEventListener("languagechange",Co)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const g6=o.createContext(null);function pe(){let e=$6();return o.useContext(g6)||e}const D6=Symbol.for("react-aria.i18n.locale"),v6=Symbol.for("react-aria.i18n.strings");let Tu;class lu{getStringForLocale(t,u){let r=this.getStringsForLocale(u)[t];if(!r)throw new Error(`Could not find intl message ${t} in ${u} locale`);return r}getStringsForLocale(t){let u=this.strings[t];return u||(u=y6(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[D6];if(Tu===void 0){let r=window[v6];if(!r)return null;Tu={};for(let a in r)Tu[a]=new lu({[u]:r[a]},u)}let n=Tu==null?void 0:Tu[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,u="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=u}}function y6(e,t,u="en-US"){if(t[e])return t[e];let n=x6(e);if(t[n])return t[n];for(let r in t)if(r.startsWith(n+"-"))return t[r];return t[u]}function x6(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Eo=new Map,Bo=new Map;class Xd{format(t,u){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(u,this):n}plural(t,u,n="cardinal"){let r=u["="+t];if(r)return typeof r=="function"?r():r;let a=this.locale+":"+n,i=Eo.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),Eo.set(a,i));let l=i.select(t);return r=u[l]||u.other,typeof r=="function"?r():r}number(t){let u=Bo.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),Bo.set(this.locale,u)),u.format(t)}select(t,u){let n=t[u]||t.other;return typeof n=="function"?n():n}constructor(t,u){this.locale=t,this.strings=u}}const ko=new WeakMap;function C6(e){let t=ko.get(e);return t||(t=new lu(e),ko.set(e,t)),t}function ec(e,t){return t&&lu.getGlobalDictionaryForPackage(t)||C6(e)}function De(e,t){let{locale:u}=pe(),n=ec(e,t);return o.useMemo(()=>new Xd(u,n),[u,n])}function Uu(e,t){return e-t*Math.floor(e/t)}const tc=1721426;function Du(e,t,u,n){t=Gn(e,t);let r=t-1,a=-2;return u<=2?a=0:Qt(t)&&(a=-1),tc-1+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*u-362)/12+a+n)}function Qt(e){return e%4===0&&(e%100!==0||e%400===0)}function Gn(e,t){return e==="BC"?1-t:t}function fa(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const E6={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Ge{fromJulianDay(t){let u=t,n=u-tc,r=Math.floor(n/146097),a=Uu(n,146097),i=Math.floor(a/36524),l=Uu(a,36524),s=Math.floor(l/1461),d=Uu(l,1461),c=Math.floor(d/365),f=r*400+i*100+s*4+c+(i!==4&&c!==4?1:0),[p,m]=fa(f),b=u-Du(p,m,1,1),g=2;u<Du(p,m,3,1)?g=0:Qt(m)&&(g=1);let $=Math.floor(((b+g)*12+373)/367),D=u-Du(p,m,$,1)+1;return new Te(p,m,$,D)}toJulianDay(t){return Du(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return E6[Qt(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Qt(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const B6={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Fe(e,t){return t=ge(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function k6(e,t){return t=ge(t,e.calendar),e=Eu(e),t=Eu(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function gi(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function dl(e,t){return Fe(e,fl(t))}const P6={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function cl(e,t,u){let n=e.calendar.toJulianDay(e),r=u?P6[u]:I6(t),a=Math.ceil(n+1-r)%7;return a<0&&(a+=7),a}function uc(e){return It(Date.now(),e)}function fl(e){return Oe(uc(e))}function nc(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function rc(e,t){return Po(e)-Po(t)}function Po(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let _a=null;function qn(){return _a==null&&(_a=new Intl.DateTimeFormat().resolvedOptions().timeZone),_a}function Eu(e){return e.subtract({days:e.day-1})}function zr(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function S6(e){return Eu(e.subtract({months:e.month-1}))}function A6(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function w6(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Mn(e,t,u){let n=cl(e,t,u);return e.subtract({days:n})}function F6(e,t,u){return Mn(e,t,u).add({days:6})}const So=new Map;function T6(e){if(Intl.Locale){let u=So.get(e);return u||(u=new Intl.Locale(e).maximize().region,u&&So.set(e,u)),u}let t=e.split("-")[1];return t==="u"?void 0:t}function I6(e){let t=T6(e);return t&&B6[t]||0}function R6(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil((cl(Eu(e),t,u)+n)/7)}function pl(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function ml(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Qu(e){e=ge(e,new Ge);let t=Gn(e.era,e.year);return ac(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function ac(e,t,u,n,r,a,i){let l=new Date;return l.setUTCHours(n,r,a,i),l.setUTCFullYear(e,t-1,u),l.getTime()}function Di(e,t){if(t==="UTC")return 0;if(e>0&&t===qn())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:r,hour:a,minute:i,second:l}=ic(e,t);return ac(u,n,r,a,i,l,0)-Math.floor(e/1e3)*1e3}const Ao=new Map;function ic(e,t){let u=Ao.get(t);u||(u=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Ao.set(t,u));let n=u.formatToParts(new Date(e)),r={};for(let a of n)a.type!=="literal"&&(r[a.type]=a.value);return{year:r.era==="BC"||r.era==="B"?-r.year+1:+r.year,month:+r.month,day:+r.day,hour:r.hour==="24"?0:+r.hour,minute:+r.minute,second:+r.second}}const wo=864e5;function K6(e,t,u,n){return(u===n?[u]:[u,n]).filter(a=>M6(e,t,a))}function M6(e,t,u){let n=ic(u,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function Ft(e,t,u="compatible"){let n=vt(e);if(t==="UTC")return Qu(n);if(t===qn()&&u==="compatible"){n=ge(n,new Ge);let s=new Date,d=Gn(n.era,n.year);return s.setFullYear(d,n.month-1,n.day),s.setHours(n.hour,n.minute,n.second,n.millisecond),s.getTime()}let r=Qu(n),a=Di(r-wo,t),i=Di(r+wo,t),l=K6(n,t,r-a,r-i);if(l.length===1)return l[0];if(l.length>1)switch(u){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(u){case"earlier":return Math.min(r-a,r-i);case"compatible":case"later":return Math.max(r-a,r-i);case"reject":throw new RangeError("No such absolute time found")}}function lc(e,t,u="compatible"){return new Date(Ft(e,t,u))}function It(e,t){let u=Di(e,t),n=new Date(e+u),r=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),d=n.getUTCSeconds(),c=n.getUTCMilliseconds();return new Nn(r<1?"BC":"AD",r<1?-r+1:r,a,i,t,u,l,s,d,c)}function Oe(e){return new Te(e.calendar,e.era,e.year,e.month,e.day)}function vt(e,t){let u=0,n=0,r=0,a=0;if("timeZone"in e)({hour:u,minute:n,second:r,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:u,minute:n,second:r,millisecond:a}=t),new Nr(e.calendar,e.era,e.year,e.month,e.day,u,n,r,a)}function ge(e,t){if(e.calendar.identifier===t.identifier)return e;let u=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=u.era,n.year=u.year,n.month=u.month,n.day=u.day,Bu(n),n}function z6(e,t,u){if(e instanceof Nn)return e.timeZone===t?e:V6(e,t);let n=Ft(e,t,u);return It(n,t)}function N6(e){let t=Qu(e)-e.offset;return new Date(t)}function V6(e,t){let u=Qu(e)-e.offset;return ge(It(u,t),e.calendar)}const sn=36e5;function pa(e,t){let u=e.copy(),n="hour"in u?cc(u,t):0;vi(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,yi(u),oc(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,_6(u),u.calendar.balanceDate&&u.calendar.balanceDate(u),u.year<1&&(u.year=1,u.month=1,u.day=1);let r=u.calendar.getYearsInEra(u);if(u.year>r){var a,i;let s=(a=(i=u.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,u);u.year=r,u.month=s?1:u.calendar.getMonthsInYear(u),u.day=s?1:u.calendar.getDaysInMonth(u)}u.month<1&&(u.month=1,u.day=1);let l=u.calendar.getMonthsInYear(u);return u.month>l&&(u.month=l,u.day=u.calendar.getDaysInMonth(u)),u.day=Math.max(1,Math.min(u.calendar.getDaysInMonth(u),u.day)),u}function vi(e,t){var u,n;!((u=(n=e.calendar).isInverseEra)===null||u===void 0)&&u.call(n,e)&&(t=-t),e.year+=t}function yi(e){for(;e.month<1;)vi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,vi(e,1)}function _6(e){for(;e.day<1;)e.month--,yi(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,yi(e)}function oc(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Bu(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),oc(e)}function bl(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function sc(e,t){return pa(e,bl(t))}function hl(e,t){let u=e.copy();return t.era!=null&&(u.era=t.era),t.year!=null&&(u.year=t.year),t.month!=null&&(u.month=t.month),t.day!=null&&(u.day=t.day),Bu(u),u}function zn(e,t){let u=e.copy();return t.hour!=null&&(u.hour=t.hour),t.minute!=null&&(u.minute=t.minute),t.second!=null&&(u.second=t.second),t.millisecond!=null&&(u.millisecond=t.millisecond),dc(u),u}function j6(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=cr(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=cr(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=cr(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=cr(e.hour,24),t}function dc(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function cr(e,t){let u=e%t;return u<0&&(u+=t),u}function cc(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,j6(e)}function fc(e,t){let u=e.copy();return cc(u,t),u}function L6(e,t){return fc(e,bl(t))}function $l(e,t,u,n){let r=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=Rt(s,u,0,l.length-1,n==null?void 0:n.round),r.era=l[s],Bu(r);break}case"year":var a,i;!((a=(i=r.calendar).isInverseEra)===null||a===void 0)&&a.call(i,r)&&(u=-u),r.year=Rt(e.year,u,-1/0,9999,n==null?void 0:n.round),r.year===-1/0&&(r.year=1),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e);break;case"month":r.month=Rt(e.month,u,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":r.day=Rt(e.day,u,1,e.calendar.getDaysInMonth(e),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(r),Bu(r),r}function gl(e,t,u,n){let r=e.copy();switch(t){case"hour":{let a=e.hour,i=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=a>=12;i=s?12:0,l=s?23:11}r.hour=Rt(a,u,i,l,n==null?void 0:n.round);break}case"minute":r.minute=Rt(e.minute,u,0,59,n==null?void 0:n.round);break;case"second":r.second=Rt(e.second,u,0,59,n==null?void 0:n.round);break;case"millisecond":r.millisecond=Rt(e.millisecond,u,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return r}function Rt(e,t,u,n,r=!1){if(r){e+=Math.sign(t),e<u&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=u)}else e+=t,e<u?e=n-(u-e-1):e>n&&(e=u+(e-n-1));return e}function pc(e,t){let u;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let r=pa(vt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=Ft(r,e.timeZone)}else u=Qu(e)-e.offset;u+=t.milliseconds||0,u+=(t.seconds||0)*1e3,u+=(t.minutes||0)*6e4,u+=(t.hours||0)*36e5;let n=It(u,e.timeZone);return ge(n,e.calendar)}function O6(e,t){return pc(e,bl(t))}function H6(e,t,u,n){switch(t){case"hour":{let r=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;r=b?12:0,a=b?23:11}let i=vt(e),l=ge(zn(i,{hour:r}),new Ge),s=[Ft(l,e.timeZone,"earlier"),Ft(l,e.timeZone,"later")].filter(b=>It(b,e.timeZone).day===l.day)[0],d=ge(zn(i,{hour:a}),new Ge),c=[Ft(d,e.timeZone,"earlier"),Ft(d,e.timeZone,"later")].filter(b=>It(b,e.timeZone).day===d.day).pop(),f=Qu(e)-e.offset,p=Math.floor(f/sn),m=f%sn;return f=Rt(p,u,Math.floor(s/sn),Math.floor(c/sn),n==null?void 0:n.round)*sn+m,ge(It(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return gl(e,t,u,n);case"era":case"year":case"month":case"day":{let r=$l(vt(e),t,u,n),a=Ft(r,e.timeZone);return ge(It(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function U6(e,t,u){let n=vt(e),r=zn(hl(n,t),t);if(r.compare(n)===0)return e;let a=Ft(r,e.timeZone,u);return ge(It(a,e.timeZone),e.calendar)}function mc(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function bc(e){let t=ge(e,new Ge),u;return t.era==="BC"?u=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):u=String(t.year).padStart(4,"0"),`${u}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function hc(e){return`${bc(e)}T${mc(e)}`}function W6(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let u=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(u).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function Z6(e){return`${hc(e)}${W6(e.offset)}[${e.timeZone}]`}function Dl(e){let t=typeof e[0]=="object"?e.shift():new Ge,u;if(typeof e[0]=="string")u=e.shift();else{let i=t.getEras();u=i[i.length-1]}let n=e.shift(),r=e.shift(),a=e.shift();return[t,u,n,r,a]}var G6=new WeakMap;class Te{copy(){return this.era?new Te(this.calendar,this.era,this.year,this.month,this.day):new Te(this.calendar,this.year,this.month,this.day)}add(t){return pa(this,t)}subtract(t){return sc(this,t)}set(t){return hl(this,t)}cycle(t,u,n){return $l(this,t,u,n)}toDate(t){return lc(this,t)}toString(){return bc(this)}compare(t){return nc(this,t)}constructor(...t){Zn(this,G6,{writable:!0,value:void 0});let[u,n,r,a,i]=Dl(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,Bu(this)}}var q6=new WeakMap;class vl{copy(){return new vl(this.hour,this.minute,this.second,this.millisecond)}add(t){return fc(this,t)}subtract(t){return L6(this,t)}set(t){return zn(this,t)}cycle(t,u,n){return gl(this,t,u,n)}toString(){return mc(this)}compare(t){return rc(this,t)}constructor(t=0,u=0,n=0,r=0){Zn(this,q6,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,dc(this)}}var Y6=new WeakMap;class Nr{copy(){return this.era?new Nr(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Nr(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return pa(this,t)}subtract(t){return sc(this,t)}set(t){return hl(zn(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return $l(this,t,u,n);default:return gl(this,t,u,n)}}toDate(t,u){return lc(this,t,u)}toString(){return hc(this)}compare(t){let u=nc(this,t);return u===0?rc(this,vt(t)):u}constructor(...t){Zn(this,Y6,{writable:!0,value:void 0});let[u,n,r,a,i]=Dl(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Bu(this)}}var J6=new WeakMap;class Nn{copy(){return this.era?new Nn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Nn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return pc(this,t)}subtract(t){return O6(this,t)}set(t,u){return U6(this,t,u)}cycle(t,u,n){return H6(this,t,u,n)}toDate(){return N6(this)}toString(){return Z6(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-z6(t,this.timeZone).toDate().getTime()}constructor(...t){Zn(this,J6,{writable:!0,value:void 0});let[u,n,r,a,i]=Dl(t),l=t.shift(),s=t.shift();this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Bu(this)}}const Wu=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],Q6=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Er=[1867,1911,1925,1988,2018],Yt=["meiji","taisho","showa","heisei","reiwa"];function Fo(e){const t=Wu.findIndex(([u,n,r])=>e.year<u||e.year===u&&e.month<n||e.year===u&&e.month===n&&e.day<r);return t===-1?Wu.length-1:t===0?0:t-1}function ja(e){let t=Er[Yt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Te(e.year+t,e.month,e.day)}class X6 extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=Fo(u);return new Te(this,Yt[n],u.year-Er[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(ja(t))}balanceDate(t){let u=ja(t),n=Fo(u);Yt[n]!==t.era&&(t.era=Yt[n],t.year=u.year-Er[n]),this.constrainDate(t)}constrainDate(t){let u=Yt.indexOf(t.era),n=Q6[u];if(n!=null){let[r,a,i]=n,l=r-Er[u];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&u>=0){let[,r,a]=Wu[u];t.month=Math.max(r,t.month),t.month===r&&(t.day=Math.max(a,t.day))}}getEras(){return Yt}getYearsInEra(t){let u=Yt.indexOf(t.era),n=Wu[u],r=Wu[u+1];if(r==null)return 9999-n[0]+1;let a=r[0]-n[0];return(t.month<r[1]||t.month===r[1]&&t.day<r[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(ja(t))}getMinimumMonthInYear(t){let u=To(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=To(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function To(e){if(e.year===1){let t=Yt.indexOf(e.era);return Wu[t]}}const $c=-543;class eg extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=Gn(u.era,u.year);return new Te(this,n-$c,u.month,u.day)}toJulianDay(t){return super.toJulianDay(Io(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(Io(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function Io(e){let[t,u]=fa(e.year+$c);return new Te(t,u,e.month,e.day)}const Vr=1911;function gc(e){return e.era==="minguo"?e.year+Vr:1-e.year+Vr}function Ro(e){let t=e-Vr;return t>0?["minguo",t]:["before_minguo",1-t]}class tg extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=Gn(u.era,u.year),[r,a]=Ro(n);return new Te(this,r,a,u.month,u.day)}toJulianDay(t){return super.toJulianDay(Ko(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=Ro(gc(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Ko(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Vr}constructor(...t){super(...t),this.identifier="roc"}}function Ko(e){let[t,u]=fa(gc(e));return new Te(t,u,e.month,e.day)}const Mo=1948320,zo=[0,31,62,93,124,155,186,216,246,276,306,336];class ug{fromJulianDay(t){let u=t-Mo,n=1+Math.floor((33*u+3)/12053),r=365*(n-1)+Math.floor((8*n+21)/33),a=u-r,i=a<216?Math.floor(a/31):Math.floor((a-6)/30),l=a-zo[i]+1;return new Te(this,n,i+1,l)}toJulianDay(t){let u=Mo-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=zo[t.month-1],u+=t.day,u}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Uu(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const La=78,No=80;class ng extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-La,r=t-Du(u.era,u.year,1,1),a;r<No?(n--,a=Qt(u.year-1)?31:30,r+=a+155+90+10):(a=Qt(u.year)?31:30,r-=No);let i,l;if(r<a)i=1,l=r+1;else{let s=r-a;s<155?(i=Math.floor(s/31)+2,l=s%31+1):(s-=155,i=Math.floor(s/30)+7,l=s%30+1)}return new Te(this,n,i,l)}toJulianDay(t){let u=t.year+La,[n,r]=fa(u),a,i;return Qt(r)?(a=31,i=Du(n,r,3,21)):(a=30,i=Du(n,r,3,22)),t.month===1?i+t.day-1:(i+=a+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&Qt(t.year+La)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const _r=1948440,Vo=1948439,ut=1300,Iu=1600,rg=460322;function jr(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Dc(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),r=Math.min(12,Math.ceil((u-(29+jr(t,n,1,1)))/29.5)+1),a=u-jr(t,n,r,1)+1;return new Te(e,n,r,a)}function _o(e){return(14+11*e)%30<11}class yl{fromJulianDay(t){return Dc(this,_r,t)}toJulianDay(t){return jr(_r,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&_o(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return _o(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class ag extends yl{fromJulianDay(t){return Dc(this,Vo,t)}toJulianDay(t){return jr(Vo,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const ig="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let xi,Zu;function Br(e){return rg+Zu[e-ut]}function Dn(e,t){let u=e-ut,n=1<<11-(t-1);return xi[u]&n?30:29}function jo(e,t){let u=Br(e);for(let n=1;n<t;n++)u+=Dn(e,n);return u}function Lo(e){return Zu[e+1-ut]-Zu[e-ut]}class lg extends yl{fromJulianDay(t){let u=t-_r,n=Br(ut),r=Br(Iu);if(u<n||u>r)return super.fromJulianDay(t);{let a=ut-1,i=1,l=1;for(;l>0;){a++,l=u-Br(a)+1;let s=Lo(a);if(l===s){i=12;break}else if(l<s){let d=Dn(a,i);for(i=1;l>d;)l-=d,i++,d=Dn(a,i);break}}return new Te(this,a,i,u-jo(a,i)+1)}}toJulianDay(t){return t.year<ut||t.year>Iu?super.toJulianDay(t):_r+jo(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<ut||t.year>Iu?super.getDaysInMonth(t):Dn(t.year,t.month)}getDaysInYear(t){return t.year<ut||t.year>Iu?super.getDaysInYear(t):Lo(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",xi||(xi=new Uint16Array(Uint8Array.from(atob(ig),t=>t.charCodeAt(0)).buffer)),!Zu){Zu=new Uint32Array(Iu-ut+1);let t=0;for(let u=ut;u<=Iu;u++){Zu[u-ut]=t;for(let n=1;n<=12;n++)t+=Dn(u,n)}}}}const Oo=347997,vc=1080,yc=24*vc,og=29,sg=12*vc+793,dg=og*yc+sg;function gu(e){return Uu(e*7+1,19)<7}function kr(e){let t=Math.floor((235*e-234)/19),u=12084+13753*t,n=t*29+Math.floor(u/25920);return Uu(3*(n+1),7)<3&&(n+=1),n}function cg(e){let t=kr(e-1),u=kr(e);return kr(e+1)-u===356?2:u-t===382?1:0}function En(e){return kr(e)+cg(e)}function xc(e){return En(e+1)-En(e)}function fg(e){let t=xc(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function fr(e,t){if(t>=6&&!gu(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=fg(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?gu(e)?30:0:30}class pg{fromJulianDay(t){let u=t-Oo,n=u*yc/dg,r=Math.floor((19*n+234)/235)+1,a=En(r),i=Math.floor(u-a);for(;i<1;)r--,a=En(r),i=Math.floor(u-a);let l=1,s=0;for(;s<i;)s+=fr(r,l),l++;l--,s-=fr(r,l);let d=i-s;return new Te(this,r,l,d)}toJulianDay(t){let u=En(t.year);for(let n=1;n<t.month;n++)u+=fr(t.year,n);return u+t.day+Oo}getDaysInMonth(t){return fr(t.year,t.month)}getMonthsInYear(t){return gu(t.year)?13:12}getDaysInYear(t){return xc(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&(gu(u.year)&&!gu(t.year)&&u.month>6?t.month--:!gu(u.year)&&gu(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const Ci=1723856,Ho=1824665,Ei=5500;function Lr(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function xl(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Lr(e,u,1,1))/30),r=t+1-Lr(e,u,n,1);return[u,n,r]}function Cc(e){return Math.floor(e%4/3)}function Ec(e,t){return t%13!==0?30:Cc(e)+5}class Cl{fromJulianDay(t){let[u,n,r]=xl(Ci,t),a="AM";return u<=0&&(a="AA",u+=Ei),new Te(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=Ei),Lr(Ci,u,t.month,t.day)}getDaysInMonth(t){return Ec(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Cc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class mg extends Cl{fromJulianDay(t){let[u,n,r]=xl(Ci,t);return u+=Ei,new Te(this,"AA",u,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class bg extends Cl{fromJulianDay(t){let[u,n,r]=xl(Ho,t),a="CE";return u<=0&&(a="BCE",u=1-u),new Te(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Lr(Ho,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Ec(u,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function ma(e){switch(e){case"buddhist":return new eg;case"ethiopic":return new Cl;case"ethioaa":return new mg;case"coptic":return new bg;case"hebrew":return new pg;case"indian":return new ng;case"islamic-civil":return new yl;case"islamic-tbla":return new ag;case"islamic-umalqura":return new lg;case"japanese":return new X6;case"persian":return new ug;case"roc":return new tg;case"gregory":default:return new Ge}}let Oa=new Map;class at{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,u){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(u)}`}formatRangeToParts(t,u){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),r=this.formatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return gg()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Dg(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,u={}){this.formatter=Bc(t,u),this.options=u}}const hg={true:{ja:"h11"},false:{}};function Bc(e,t={}){if(typeof t.hour12=="boolean"&&$g()){t={...t};let r=hg[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=r??a,delete t.hour12}let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Oa.has(u))return Oa.get(u);let n=new Intl.DateTimeFormat(e,t);return Oa.set(u,n),n}let Ha=null;function $g(){return Ha==null&&(Ha=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Ha}let Ua=null;function gg(){return Ua==null&&(Ua=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Ua}function Dg(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let u=Bc(e,{...t,timeZone:void 0}),n=parseInt(u.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),r=parseInt(u.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&r===23)return"h23";if(n===24&&r===23)return"h24";if(n===0&&r===11)return"h11";if(n===12&&r===11)return"h12";throw new Error("Unexpected hour cycle result")}function bt(e){e=Js(e??{},vg);let{locale:t}=pe();return o.useMemo(()=>new at(t,e),[t,e])}function vg(e,t){if(e===t)return!0;let u=Object.keys(e),n=Object.keys(t);if(u.length!==n.length)return!1;for(let r of u)if(t[r]!==e[r])return!1;return!0}let Wa=new Map,Bi=!1;try{Bi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Or=!1;try{Or=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const kc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Pc{format(t){let u="";if(!Bi&&this.options.signDisplay!=null?u=xg(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!Or){var n;let{unit:r,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!r)return u;let l=(n=kc[r])===null||n===void 0?void 0:n[a];u+=l[i]||l.default}return u}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,u){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(u)}`}formatRangeToParts(t,u){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),r=this.numberFormatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Bi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Or&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=yg(t,u),this.options=u}}function yg(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!Or){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=kc[i])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let r=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(Wa.has(r))return Wa.get(r);let a=new Intl.NumberFormat(e,t);return Wa.set(r,a),a}function xg(e,t,u){if(t==="auto")return e.format(u);if(t==="never")return e.format(Math.abs(u));{let n=!1;if(t==="always"?n=u>0||Object.is(u,0):t==="exceptZero"&&(Object.is(u,-0)||Object.is(u,0)?u=Math.abs(u):n=u>0),n){let r=e.format(-u),a=e.format(u),i=r.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(u)}}const Cg=new RegExp("^.*\\(.*\\).*$"),Eg=["latn","arab","hanidec","deva","beng"];class Sc{parse(t){return Za(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return Za(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return Za(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const Uo=new Map;function Za(e,t,u){let n=Wo(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let r of Eg)if(r!==n.options.numberingSystem){let a=Wo(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(a.isValidPartialNumber(u))return a}}return n}function Wo(e,t){let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():""),n=Uo.get(u);return n||(n=new Bg(e,t),Uo.set(u,n)),n}class Bg{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=pr(u,this.symbols.group,"")),this.symbols.decimal&&(u=u.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(u=u.replace(this.symbols.minusSign,"-")),u=u.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let i=u.indexOf("-");u=u.replace("-","");let l=u.indexOf(".");l===-1&&(l=u.length),u=u.replace(".",""),l-2===0?u=`0.${u}`:l-2===-1?u=`0.0${u}`:l-2===-2?u="0.00":u=`${u.slice(0,l-2)}.${u.slice(l-2)}`,i>-1&&(u=`-${u}`)}let n=u?+u:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){var r,a;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new Sc(this.locale,i).parse(new Pc(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&Cg.test(t)&&(n=-1*n),n}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=pr(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=pr(t,"."," ")),t}isValidPartialNumber(t,u=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&u<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=pr(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,u={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,u),this.options=this.formatter.resolvedOptions(),this.symbols=Pg(t,this.formatter,this.options,u);var n,r;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((r=this.options.maximumFractionDigits)!==null&&r!==void 0?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Zo=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),kg=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Pg(e,t,u,n){var r,a,i,l;let s=new Intl.NumberFormat(e,{...u,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),d=s.formatToParts(-10000.111),c=s.formatToParts(10000.111),f=kg.map(S=>s.formatToParts(S));var p;let m=(p=(r=d.find(S=>S.type==="minusSign"))===null||r===void 0?void 0:r.value)!==null&&p!==void 0?p:"-",b=(a=c.find(S=>S.type==="plusSign"))===null||a===void 0?void 0:a.value;!b&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(b="+");let $=(i=new Intl.NumberFormat(e,{...u,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(S=>S.type==="decimal"))===null||i===void 0?void 0:i.value,D=(l=d.find(S=>S.type==="group"))===null||l===void 0?void 0:l.value,y=d.filter(S=>!Zo.has(S.type)).map(S=>Go(S.value)),x=f.flatMap(S=>S.filter(k=>!Zo.has(k.type)).map(k=>Go(k.value))),C=[...new Set([...y,...x])].sort((S,k)=>k.length-S.length),B=C.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),P=[...new Intl.NumberFormat(u.locale,{useGrouping:!1}).format(9876543210)].reverse(),T=new Map(P.map((S,k)=>[S,k])),v=new RegExp(`[${P.join("")}]`,"g");return{minusSign:m,plusSign:b,decimal:$,group:D,literals:B,numeral:v,index:S=>String(T.get(S))}}function pr(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function Go(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Sg(e={}){let{locale:t}=pe();return o.useMemo(()=>new Pc(t,e),[t,e])}let Ga=new Map;function tn(e){let{locale:t}=pe(),u=t+(e?Object.entries(e).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Ga.has(u))return Ga.get(u);let n=new Intl.Collator(t,e);return Ga.set(u,n),n}function Ac(e){let t=tn({usage:"search",...e}),u=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),r=o.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=a.length;l++){let d=a.slice(l,l+s);if(t.compare(i,d)===0)return!0}return!1},[t]);return o.useMemo(()=>({startsWith:u,endsWith:n,contains:r}),[u,n,r])}function Ag(e){return e&&e.__esModule?e.default:e}function wg(e){let{"aria-label":t,...u}=e,n=De(Ag(Jd),"@react-aria/breadcrumbs");return{navProps:{...U(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function El(e,t){let{elementType:u="button",isDisabled:n,onPress:r,onPressStart:a,onPressEnd:i,onPressUp:l,onPressChange:s,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:m,rel:b,type:g="button"}=e,$;u==="button"?$={type:g,disabled:n}:$={role:"button",href:u==="a"&&!n?p:void 0,target:u==="a"?m:void 0,type:u==="input"?g:void 0,disabled:u==="input"?n:void 0,"aria-disabled":!n||u==="input"?void 0:n,rel:u==="a"?b:void 0};let{pressProps:D,isPressed:y}=Je({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:r,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:x}=Ht(e,t);c&&(x.tabIndex=n?-1:x.tabIndex);let C=_(x,D,U(e,{labelable:!0}));return{isPressed:y,buttonProps:_($,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"],onClick:B=>{f&&(f(B),console.warn("onClick is deprecated, please use onPress"))}})}}function Fg(e){const t=Ye(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:u,visibility:n}=e.style,r=u!=="none"&&n!=="hidden"&&n!=="collapse";if(r){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:l}=a(e);r=i!=="none"&&l!=="hidden"&&l!=="collapse"}return r}function Tg(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function wc(e,t){return e.nodeName!=="#comment"&&Fg(e)&&Tg(e,t)&&(!e.parentElement||wc(e.parentElement,e))}const qo=o.createContext(null),ki="react-aria-focus-scope-restore";let be=null;function Yn(e){let{children:t,contain:u,restoreFocus:n,autoFocus:r}=e,a=o.useRef(null),i=o.useRef(null),l=o.useRef([]),{parentNode:s}=o.useContext(qo)||{},d=o.useMemo(()=>new Si({scopeRef:l}),[l]);Y(()=>{let p=s||Ae.root;if(Ae.getTreeNode(p.scopeRef)&&be&&!Hr(be,p.scopeRef)){let m=Ae.getTreeNode(be);m&&(p=m)}p.addChild(d),Ae.addNode(d)},[d,s]),Y(()=>{let p=Ae.getTreeNode(l);p&&(p.contain=!!u)},[u]),Y(()=>{var p;let m=(p=a.current)===null||p===void 0?void 0:p.nextSibling,b=[],g=$=>$.stopPropagation();for(;m&&m!==i.current;)b.push(m),m.addEventListener(ki,g),m=m.nextSibling;return l.current=b,()=>{for(let $ of b)$.removeEventListener(ki,g)}},[t]),zg(l,n,u),Rg(l,u),Ng(l,n,u),Mg(l,r),o.useEffect(()=>{const p=Ke(le(l.current?l.current[0]:void 0));let m=null;if(ot(p,l.current)){for(let b of Ae.traverse())b.scopeRef&&ot(p,b.scopeRef.current)&&(m=b);m===Ae.getTreeNode(l)&&(be=m.scopeRef)}},[l]),Y(()=>()=>{var p,m,b;let g=(b=(m=Ae.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&b!==void 0?b:null;(l===be||Hr(l,be))&&(!g||Ae.getTreeNode(g))&&(be=g),Ae.removeTreeNode(l)},[l]);let c=o.useMemo(()=>Ig(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(qo.Provider,{value:f},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Ig(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t;var l;let s=n||Ke(le((l=u[0])!==null&&l!==void 0?l:void 0)),d=u[0].previousElementSibling,c=vu(u),f=ke(c,{tabbable:r,accept:i},u);f.currentNode=ot(s,u)?s:d;let p=f.nextNode();return!p&&a&&(f.currentNode=d,p=f.nextNode()),p&&We(p,!0),p},focusPrevious(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t;var l;let s=n||Ke(le((l=u[0])!==null&&l!==void 0?l:void 0)),d=u[u.length-1].nextElementSibling,c=vu(u),f=ke(c,{tabbable:r,accept:i},u);f.currentNode=ot(s,u)?s:d;let p=f.previousNode();return!p&&a&&(f.currentNode=d,p=f.previousNode()),p&&We(p,!0),p},focusFirst(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=vu(u),i=ke(a,{tabbable:n,accept:r},u);i.currentNode=u[0].previousElementSibling;let l=i.nextNode();return l&&We(l,!0),l},focusLast(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=vu(u),i=ke(a,{tabbable:n,accept:r},u);i.currentNode=u[u.length-1].nextElementSibling;let l=i.previousNode();return l&&We(l,!0),l}}}function vu(e){return e[0].parentElement}function vn(e){let t=Ae.getTreeNode(be);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Rg(e,t){let u=o.useRef(void 0),n=o.useRef(void 0);Y(()=>{let r=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=le(r?r[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!vn(e)||d.isComposing)return;let c=Ke(a),f=e.current;if(!f||!ot(c,f))return;let p=vu(f),m=ke(p,{tabbable:!0},f);if(!c)return;m.currentNode=c;let b=d.shiftKey?m.previousNode():m.nextNode();b||(m.currentNode=d.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,b=d.shiftKey?m.previousNode():m.nextNode()),d.preventDefault(),b&&We(b,!0)},l=d=>{(!be||Hr(be,e))&&ot(de(d),e.current)?(be=e,u.current=de(d)):vn(e)&&!Xt(de(d),e)?u.current?u.current.focus():be&&be.current&&Pi(be.current):vn(e)&&(u.current=de(d))},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=Mt(),f=(c==="virtual"||c===null)&&Pn()&&Hs(),p=Ke(a);if(!f&&p&&vn(e)&&!Xt(p,e)){be=e;let b=de(d);if(b&&b.isConnected){var m;u.current=b,(m=u.current)===null||m===void 0||m.focus()}else be.current&&Pi(be.current)}})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",l,!1),r==null||r.forEach(d=>d.addEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.addEventListener("focusout",s,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",l,!1),r==null||r.forEach(d=>d.removeEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.removeEventListener("focusout",s,!1))}},[e,t]),Y(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Fc(e){return Xt(e)}function ot(e,t){return!e||!t?!1:t.some(u=>u.contains(e))}function Xt(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:u}of Ae.traverse(Ae.getTreeNode(t)))if(u&&ot(e,u.current))return!0;return!1}function Kg(e){return Xt(e,be)}function Hr(e,t){var u;let n=(u=Ae.getTreeNode(t))===null||u===void 0?void 0:u.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function We(e,t=!1){if(e!=null&&!t)try{ye(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Tc(e,t=!0){let u=e[0].previousElementSibling,n=vu(e),r=ke(n,{tabbable:t},e);r.currentNode=u;let a=r.nextNode();return t&&!a&&(n=vu(e),r=ke(n,{tabbable:!1},e),r.currentNode=u,a=r.nextNode()),a}function Pi(e,t=!0){We(Tc(e,t))}function Mg(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){be=e;const n=le(e.current?e.current[0]:void 0);!ot(Ke(n),be.current)&&e.current&&Pi(e.current)}u.current=!1},[e])}function zg(e,t,u){Y(()=>{if(t||u)return;let n=e.current;const r=le(n?n[0]:void 0);let a=i=>{let l=de(i);ot(l,e.current)?be=e:Fc(l)||(be=null)};return r.addEventListener("focusin",a,!1),n==null||n.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{r.removeEventListener("focusin",a,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,u])}function Yo(e){let t=Ae.getTreeNode(be);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Ng(e,t,u){const n=o.useRef(typeof document<"u"?Ke(le(e.current?e.current[0]:void 0)):null);Y(()=>{let r=e.current;const a=le(r?r[0]:void 0);if(!t||u)return;let i=()=>{(!be||Hr(be,e))&&ot(Ke(a),e.current)&&(be=e)};return a.addEventListener("focusin",i,!1),r==null||r.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),r==null||r.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,u]),Y(()=>{const r=le(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!vn(e)||i.isComposing)return;let l=r.activeElement;if(!Xt(l,e)||!Yo(e))return;let s=Ae.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=ke(r.body,{tabbable:!0});c.currentNode=l;let f=i.shiftKey?c.previousNode():c.nextNode();if((!d||!d.isConnected||d===r.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!Xt(f,e))&&d){c.currentNode=d;do f=i.shiftKey?c.previousNode():c.nextNode();while(Xt(f,e));i.preventDefault(),i.stopPropagation(),f?We(f,!0):Fc(d)?We(d,!0):l.blur()}};return u||r.addEventListener("keydown",a,!0),()=>{u||r.removeEventListener("keydown",a,!0)}},[e,t,u]),Y(()=>{const r=le(e.current?e.current[0]:void 0);if(!t)return;let a=Ae.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=Ae.getTreeNode(e);if(!l)return;let s=l.nodeToRestore,d=Ke(r);if(t&&s&&(d&&Xt(d,e)||d===r.body&&Yo(e))){let c=Ae.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let f=c.getTreeNode(e);for(;f;){if(f.nodeToRestore&&f.nodeToRestore.isConnected){Jo(f.nodeToRestore);return}f=f.parent}for(f=c.getTreeNode(e);f;){if(f.scopeRef&&f.scopeRef.current&&Ae.getTreeNode(f.scopeRef)){let p=Tc(f.scopeRef.current,!0);Jo(p);return}f=f.parent}}})}}}},[e,t])}function Jo(e){e.dispatchEvent(new CustomEvent(ki,{bubbles:!0,cancelable:!0}))&&We(e)}function ke(e,t,u){let n=t!=null&&t.tabbable?I$:rl,r=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,a=le(r),i=p$(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var s;return!(t==null||(s=t.from)===null||s===void 0)&&s.contains(l)?NodeFilter.FILTER_REJECT:n(l)&&wc(l)&&(!u||ot(l,u))&&(!(t!=null&&t.accept)||t.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(i.currentNode=t.from),i}function ba(e,t={}){return{focusNext(u={}){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||Ke(le(n)),d=ke(n,{tabbable:a,accept:l});n.contains(s)&&(d.currentNode=s);let c=d.nextNode();return!c&&i&&(d.currentNode=n,c=d.nextNode()),c&&We(c,!0),c},focusPrevious(u=t){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||Ke(le(n)),d=ke(n,{tabbable:a,accept:l});if(n.contains(s))d.currentNode=s;else{let f=qa(d);return f&&We(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=qa(d);if(!f)return null;c=f}return c&&We(c,!0),c??null},focusFirst(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,l=ke(n,{tabbable:r,accept:a}).nextNode();return l&&We(l,!0),l},focusLast(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,i=ke(n,{tabbable:r,accept:a}),l=qa(i);return l&&We(l,!0),l??null}}}function qa(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Bl{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,u,n){let r=this.fastMap.get(u??null);if(!r)return;let a=new Si({scopeRef:t});r.addChild(a),a.parent=r,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let u=this.fastMap.get(t);if(!u)return;let n=u.parent;for(let a of this.traverse())a!==u&&u.nodeToRestore&&a.nodeToRestore&&u.scopeRef&&u.scopeRef.current&&ot(a.nodeToRestore,u.scopeRef.current)&&(a.nodeToRestore=u.nodeToRestore);let r=u.children;n&&(n.removeChild(u),r.size>0&&r.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(u.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let u of t.children)yield*this.traverse(u)}clone(){var t;let u=new Bl;var n;for(let r of this.traverse())u.addTreeNode(r.scopeRef,(n=(t=r.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,r.nodeToRestore);return u}constructor(){this.fastMap=new Map,this.root=new Si({scopeRef:null}),this.fastMap.set(null,this.root)}}class Si{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Ae=new Bl;function he(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,r=o.useRef({isFocused:!1,isFocusVisible:t||_t()}),[a,i]=o.useState(!1),[l,s]=o.useState(()=>r.current.isFocused&&r.current.isFocusVisible),d=o.useCallback(()=>s(r.current.isFocused&&r.current.isFocusVisible),[]),c=o.useCallback(m=>{r.current.isFocused=m,i(m),d()},[d]);Q$(m=>{r.current.isFocusVisible=m,d()},[],{isTextInput:u});let{focusProps:f}=ca({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=ft({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:l,focusProps:n?p:f}}function Qo(e){let{children:t,focusClass:u,focusRingClass:n}=e,{isFocused:r,isFocusVisible:a,focusProps:i}=he(e),l=o.Children.only(t);return o.cloneElement(l,_(l.props,{...i,className:W({[u||""]:r,[n||""]:a})}))}function kl(e,t){let u=t==null?void 0:t.isDisabled,[n,r]=o.useState(!1);return Y(()=>{if(e!=null&&e.current&&!u){let a=()=>{if(e.current){let l=ke(e.current,{tabbable:!0});r(!!l.nextNode())}};a();let i=new MutationObserver(a);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),u?!1:n}function Ic(e){let t=_g(le(e));t!==e&&(t&&Vg(t,e),e&&Rc(e,t))}function Vg(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function Rc(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function _g(e){let t=Ke(e),u=t==null?void 0:t.getAttribute("aria-activedescendant");return u&&e.getElementById(u)||t}var Kc={};Kc={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var Mc={};Mc={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var zc={};zc={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var Nc={};Nc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Vc={};Vc={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var _c={};_c={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var jc={};jc={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var Lc={};Lc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var Oc={};Oc={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var Hc={};Hc={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var Uc={};Uc={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var Wc={};Wc={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var Zc={};Zc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var Gc={};Gc={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var qc={};qc={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var Yc={};Yc={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var Jc={};Jc={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var Qc={};Qc={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var Xc={};Xc={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var e4={};e4={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var t4={};t4={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var u4={};u4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var n4={};n4={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var r4={};r4={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var a4={};a4={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var i4={};i4={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var l4={};l4={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var o4={};o4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var s4={};s4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var d4={};d4={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var c4={};c4={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var f4={};f4={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var p4={};p4={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var m4={};m4={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var Jn={};Jn={"ar-AE":Kc,"bg-BG":Mc,"cs-CZ":zc,"da-DK":Nc,"de-DE":Vc,"el-GR":_c,"en-US":jc,"es-ES":Lc,"et-EE":Oc,"fi-FI":Hc,"fr-FR":Uc,"he-IL":Wc,"hr-HR":Zc,"hu-HU":Gc,"it-IT":qc,"ja-JP":Yc,"ko-KR":Jc,"lt-LT":Qc,"lv-LV":Xc,"nb-NO":e4,"nl-NL":t4,"pl-PL":u4,"pt-BR":n4,"pt-PT":r4,"ro-RO":a4,"ru-RU":i4,"sk-SK":l4,"sl-SI":o4,"sr-SP":s4,"sv-SE":d4,"tr-TR":c4,"uk-UA":f4,"zh-CN":p4,"zh-TW":m4};function b4(e){return e&&e.__esModule?e.default:e}const Pl=new WeakMap;function Vn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function jg(e){let t=De(b4(Jn),"@react-aria/calendar"),u,n;var r;"highlightedRange"in e?{start:u,end:n}=e.highlightedRange||{}:u=n=(r=e.value)!==null&&r!==void 0?r:void 0;let a=bt({weekday:"long",month:"long",year:"numeric",day:"numeric",era:Vn(u)||Vn(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!i&&u&&n)if(Fe(u,n)){let l=a.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=wi(a,t,u,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}return""},[u,n,i,e.timeZone,t,a])}function Ai(e,t,u,n){let r=De(b4(Jn),"@react-aria/calendar"),a=Vn(e)||Vn(t),i=bt({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u}),l=bt({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(Fe(e,Eu(e))){if(Fe(t,zr(e)))return i.format(e.toDate(u));if(Fe(t,zr(t)))return n?wi(i,r,e,t,u):i.formatRange(e.toDate(u),t.toDate(u))}return n?wi(l,r,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,i,l,r,u,n])}function wi(e,t,u,n,r){let a=e.formatRangeToParts(u.toDate(r),n.toDate(r)),i=-1;for(let d=0;d<a.length;d++){let c=a[d];if(c.source==="shared"&&c.type==="literal")i=d;else if(c.source==="endRange")break}let l="",s="";for(let d=0;d<a.length;d++)d<i?l+=a[d].value:d>i&&(s+=a[d].value);return t.format("dateRange",{startDate:l,endDate:s})}const h4=7e3;let et=null;function $t(e,t="assertive",u=h4){et?et.announce(e,t,u):(et=new Og,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?et.announce(e,t,u):setTimeout(()=>{et!=null&&et.isAttached()&&(et==null||et.announce(e,t,u))},100))}function Lg(e){et&&et.clear(e)}class Og{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let u=document.createElement("div");return u.setAttribute("role","log"),u.setAttribute("aria-live",t),u.setAttribute("aria-relevant","additions"),u}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,u="assertive",n=h4){var r,a;if(!this.node)return;let i=document.createElement("div");typeof t=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",t["aria-labelledby"])):i.textContent=t,u==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(i):(a=this.politeLog)===null||a===void 0||a.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}function Hg(e){return e&&e.__esModule?e.default:e}function $4(e,t){let u=De(Hg(Jn),"@react-aria/calendar"),n=U(e),r=Ai(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=Ai(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Sn(()=>{t.isFocused||$t(a)},[a]);let i=jg(t);Sn(()=>{i&&$t(i,"polite",4e3)},[i]);let l=it([!!e.errorMessage,e.isInvalid,e.validationState]);Pl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,d]=o.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&s&&(d(!1),t.setFocused(!0));let[f,p]=o.useState(!1),m=e.isDisabled||t.isPreviousVisibleRangeInvalid();m&&f&&(p(!1),t.setFocused(!0));let b=Dt({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:_(n,b,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":u.format("next"),isDisabled:c,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":u.format("previous"),isDisabled:m,onFocusChange:p},errorMessageProps:{id:l},title:r}}function Ug(e,t){return $4(e,t)}function Wg(e,t,u){let n=$4(e,t),r=o.useRef(!1),a=o.useRef(typeof window<"u"?window:null);return dt(a,"pointerdown",l=>{r.current=l.width===0&&l.height===0}),dt(a,"pointerup",l=>{if(r.current){r.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target;u.current&&u.current.contains(document.activeElement)&&(!u.current.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{u.current&&(!l.relatedTarget||!u.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},dt(u,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function Zg(e,t){let{startDate:u=t.visibleRange.start,endDate:n=t.visibleRange.end,firstDayOfWeek:r}=e,{direction:a}=pe(),i=b=>{switch(b.key){case"Enter":case" ":b.preventDefault(),t.selectFocusedDate();break;case"PageUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousSection(b.shiftKey);break;case"PageDown":b.preventDefault(),b.stopPropagation(),t.focusNextSection(b.shiftKey);break;case"End":b.preventDefault(),b.stopPropagation(),t.focusSectionEnd();break;case"Home":b.preventDefault(),b.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":b.preventDefault(),b.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(b.preventDefault(),t.setAnchorDate(null));break}},l=Ai(u,n,t.timeZone,!0),{ariaLabel:s,ariaLabelledBy:d}=Pl.get(t),c=Dt({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=bt({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=pe(),m=o.useMemo(()=>{let b=Mn(fl(t.timeZone),p,r);return[...new Array(7).keys()].map(g=>{let D=b.add({days:g}).toDate(t.timeZone);return f.format(D)})},[p,t.timeZone,f,r]);return{gridProps:_(c,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:i,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:m}}function Gg(e){return e&&e.__esModule?e.default:e}function qg(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:a,selectedDateDescription:i}=Pl.get(t),l=De(Gg(Jn),"@react-aria/calendar"),s=bt({weekday:"long",day:"numeric",month:"long",year:"numeric",era:Vn(n),timeZone:t.timeZone}),d=t.isSelected(n),c=t.isCellFocused(n);r=r||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!r&&!f,m=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&Fe(t.value,n));m&&(d=!0),n=Js(n,gi);let b=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),g=dl(n,t.timeZone),$=o.useMemo(()=>{let k="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Fe(n,t.value.start)||Fe(n,t.value.end))&&(k=i+", "),k+=s.format(b),g?k=l.format(d?"todayDateSelected":"todayDate",{date:k}):d&&(k=l.format("dateSelected",{date:k})),t.minValue&&Fe(n,t.minValue)?k+=", "+l.format("minimumDate"):t.maxValue&&Fe(n,t.maxValue)&&(k+=", "+l.format("maximumDate")),k},[s,b,l,d,g,n,t,i]),D="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?D=l.format("finishRangeSelectionPrompt"):D=l.format("startRangeSelectionPrompt"));let y=yt(D),x=o.useRef(!1),C=o.useRef(!1),B=o.useRef(void 0),{pressProps:P,isPressed:T}=Je({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(k){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(k.pointerType==="mouse"||k.pointerType==="touch")){if(t.highlightedRange&&!m){if(Fe(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}else if(Fe(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}}let M=()=>{t.setDragging(!0),B.current=void 0,t.selectDate(n),t.setFocusedDate(n),x.current=!0};k.pointerType==="touch"?B.current=setTimeout(M,200):M()}},onPressEnd(){C.current=!1,x.current=!1,clearTimeout(B.current),B.current=void 0},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(k){if(!t.isReadOnly&&("anchorDate"in t&&B.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(C.current)t.setAnchorDate(n);else if(t.anchorDate&&!x.current)t.selectDate(n),t.setFocusedDate(n);else if(k.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let M=n.add({days:1});t.isInvalid(M)&&(M=n.subtract({days:1})),t.isInvalid(M)||t.setFocusedDate(M)}else k.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),v;r||(v=Fe(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(_e(u.current),Mt()!=="pointer"&&document.activeElement===u.current&&Ve(u.current,{containingElement:Ne(u.current)}))},[c,u]);let F=bt({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),S=o.useMemo(()=>F.formatToParts(b).find(k=>k.type==="day").value,[F,b]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":m||void 0},buttonProps:_(P,{onFocus(){r||t.setFocusedDate(n)},tabIndex:v,role:"button","aria-disabled":!p||void 0,"aria-label":$,"aria-invalid":m||void 0,"aria-describedby":[m?a:void 0,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(k){"highlightDate"in t&&(k.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(k){"releasePointerCapture"in k.target&&k.target.releasePointerCapture(k.pointerId)},onContextMenu(k){k.preventDefault()}}),isPressed:T,isFocused:c,isSelected:d,isDisabled:r,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:m,formattedDate:S}}const ha={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},g4={...ha,customError:!0,valid:!1},Jt={isInvalid:!1,validationDetails:ha,validationErrors:[]},Yg=o.createContext({}),nu="__formValidationState"+Date.now();function Ct(e){if(e[nu]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}=e[nu];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}}return Jg(e)}function Jg(e){let{isInvalid:t,validationState:u,name:n,value:r,builtinValidation:a,validate:i,validationBehavior:l="aria"}=e;u&&(t||(t=u==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:g4}:null,d=o.useMemo(()=>{if(!i||r==null)return null;let S=Qg(i,r);return Xo(S)},[i,r]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=o.useContext(Yg),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(S=>Fi(c[S])):Fi(c[n]):[],[c,n]),[p,m]=o.useState(c),[b,g]=o.useState(!1);c!==p&&(m(c),g(!1));let $=o.useMemo(()=>Xo(b?[]:f),[b,f]),D=o.useRef(Jt),[y,x]=o.useState(Jt),C=o.useRef(Jt),B=()=>{if(!P)return;T(!1);let S=d||a||D.current;Ya(S,C.current)||(C.current=S,x(S))},[P,T]=o.useState(!1);return o.useEffect(B),{realtimeValidation:s||$||d||a||Jt,displayValidation:l==="native"?s||$||y:s||$||d||a||y,updateValidation(S){l==="aria"&&!Ya(y,S)?x(S):D.current=S},resetValidation(){let S=Jt;Ya(S,C.current)||(C.current=S,x(S)),l==="native"&&T(!1),g(!0)},commitValidation(){l==="native"&&T(!0),g(!0)}}}function Fi(e){return e?Array.isArray(e)?e:[e]:[]}function Qg(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return Fi(u)}return[]}function Xo(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:g4}:null}function Ya(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((u,n)=>u===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([u,n])=>t.validationDetails[u]===n)}function _n(...e){let t=new Set,u=!1,n={...ha};for(let i of e){var r,a;for(let l of i.validationErrors)t.add(l);u||(u=i.isInvalid);for(let l in n)(r=n)[a=l]||(r[a]=i.validationDetails[l])}return n.valid=!u,{isInvalid:u,validationErrors:[...t],validationDetails:n}}function Qn(e,t,u){let{validationBehavior:n,focus:r}=e;Y(()=>{if(n==="native"&&(u!=null&&u.current)&&!u.current.disabled){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";u.current.setCustomValidity(s),u.current.hasAttribute("title")||(u.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(eD(u.current))}});let a=ie(()=>{t.resetValidation()}),i=ie(s=>{var d;t.displayValidation.isInvalid||t.commitValidation();let c=u==null||(d=u.current)===null||d===void 0?void 0:d.form;if(!s.defaultPrevented&&u&&c&&tD(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),dd("keyboard")}s.preventDefault()}),l=ie(()=>{t.commitValidation()});o.useEffect(()=>{let s=u==null?void 0:u.current;if(!s)return;let d=s.form;return s.addEventListener("invalid",i),s.addEventListener("change",l),d==null||d.addEventListener("reset",a),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),d==null||d.removeEventListener("reset",a)}},[u,i,l,a,n])}function Xg(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function eD(e){return{isInvalid:!e.validity.valid,validationDetails:Xg(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function tD(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function uD(e,t,u){let{isDisabled:n=!1,isReadOnly:r=!1,value:a,name:i,children:l,"aria-label":s,"aria-labelledby":d,validationState:c="valid",isInvalid:f}=e,p=P=>{P.stopPropagation(),t.setSelected(P.target.checked)},m=l!=null,b=s!=null||d!=null;!m&&!b&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:$}=Je({isDisabled:n}),{pressProps:D,isPressed:y}=Je({onPress(){var P;t.toggle(),(P=u.current)===null||P===void 0||P.focus()},isDisabled:n||r}),{focusableProps:x}=Ht(e,u),C=_(g,x),B=U(e,{labelable:!0});return Un(u,t.isSelected,t.setSelected),{labelProps:_(D,{onClick:P=>P.preventDefault()}),inputProps:_(B,{"aria-invalid":f||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":r||void 0,onChange:p,disabled:n,...a==null?{}:{value:a},name:i,type:"checkbox",...C}),isSelected:t.isSelected,isPressed:$||y,isDisabled:n,isReadOnly:r,isInvalid:f||c==="invalid"}}function D4(e,t,u){let n=Ct({...e,value:t.isSelected}),{isInvalid:r,validationErrors:a,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=uD({...e,isInvalid:r},t,u);Qn(e,n,u);let{isIndeterminate:m,isRequired:b,validationBehavior:g="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!m)});let{pressProps:$}=Je({isDisabled:f||p,onPress(){let{[nu]:D}=e,{commitValidation:y}=D||n;y()}});return{labelProps:_(l,$),inputProps:{...s,checked:d,"aria-required":b&&g==="aria"||void 0,required:b&&g==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:r,validationErrors:a,validationDetails:i}}const v4=new WeakMap;function Sl(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":r,labelElementType:a="label"}=e;t=oe(t);let i=oe(),l={};u?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:a==="label"?t:void 0}):!n&&!r&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=Dt({id:t,"aria-label":r,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function ou(e){let{description:t,errorMessage:u,isInvalid:n,validationState:r}=e,{labelProps:a,fieldProps:i}=Sl(e),l=it([!!t,!!u,n,r]),s=it([!!t,!!u,n,r]);return i=_(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function nD(e,t){let{isDisabled:u,name:n,validationBehavior:r="aria"}=e,{isInvalid:a,validationErrors:i,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:d,descriptionProps:c,errorMessageProps:f}=ou({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||i});v4.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:r});let p=U(e,{labelable:!0}),{focusWithinProps:m}=ft({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:_(p,{role:"group","aria-disabled":u||void 0,...d,...m}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:a,validationErrors:i,validationDetails:l}}function y4(e={}){let{isReadOnly:t}=e,[u,n]=Me(e.isSelected,e.defaultSelected||!1,e.onChange);function r(i){t||n(i)}function a(){t||n(!u)}return{isSelected:u,setSelected:r,toggle:a}}function rD(e,t,u){const n=y4({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange($){$?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange($)}});let{name:r,descriptionId:a,errorMessageId:i,validationBehavior:l}=v4.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=Ct({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=o.useRef(Jt),f=()=>{t.setInvalid(e.value,d.isInvalid?d:c.current)};o.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:d,m=l==="native"?t.displayValidation:p;var b;let g=D4({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||r,isRequired:(b=e.isRequired)!==null&&b!==void 0?b:t.isRequired,validationBehavior:l,[nu]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation($){c.current=$,f()}}},n,u);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}const es={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 Xn(e={}){let{style:t,isFocusable:u}=e,[n,r]=o.useState(!1),{focusWithinProps:a}=ft({isDisabled:!u,onFocusWithinChange:l=>r(l)}),i=o.useMemo(()=>n?t:t?{...es,...t}:es,[n]);return{visuallyHiddenProps:{...a,style:i}}}function ru(e){let{children:t,elementType:u="div",isFocusable:n,style:r,...a}=e,{visuallyHiddenProps:i}=Xn(e);return o.createElement(u,_(a,i),t)}function Al(e,t){let{inputElementType:u="input",isDisabled:n=!1,isRequired:r=!1,isReadOnly:a=!1,type:i="text",validationBehavior:l="aria"}=e,[s,d]=Me(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Ht(e,t),f=Ct({...e,value:s}),{isInvalid:p,validationErrors:m,validationDetails:b}=f.displayValidation,{labelProps:g,fieldProps:$,descriptionProps:D,errorMessageProps:y}=ou({...e,isInvalid:p,errorMessage:e.errorMessage||m}),x=U(e,{labelable:!0});const C={type:i,pattern:e.pattern};return Un(t,s,d),Qn(e,f,t),o.useEffect(()=>{if(t.current instanceof Ye(t.current).HTMLTextAreaElement){let B=t.current;Object.defineProperty(B,"defaultValue",{get:()=>B.value,set:()=>{},configurable:!0})}},[t]),{labelProps:g,inputProps:_(x,u==="input"?C:void 0,{disabled:n,readOnly:a,required:r&&l==="native","aria-required":r&&l==="aria"||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:s,onChange:B=>d(B.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(o.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,...c,...$}),descriptionProps:D,errorMessageProps:y,isInvalid:p,validationErrors:m,validationDetails:b}}var x4={};x4={Empty:"فارغ"};var C4={};C4={Empty:"Изпразни"};var E4={};E4={Empty:"Prázdné"};var B4={};B4={Empty:"Tom"};var k4={};k4={Empty:"Leer"};var P4={};P4={Empty:"Άδειο"};var S4={};S4={Empty:"Empty"};var A4={};A4={Empty:"Vacío"};var w4={};w4={Empty:"Tühjenda"};var F4={};F4={Empty:"Tyhjä"};var T4={};T4={Empty:"Vide"};var I4={};I4={Empty:"ריק"};var R4={};R4={Empty:"Prazno"};var K4={};K4={Empty:"Üres"};var M4={};M4={Empty:"Vuoto"};var z4={};z4={Empty:"空"};var N4={};N4={Empty:"비어 있음"};var V4={};V4={Empty:"Tuščias"};var _4={};_4={Empty:"Tukšs"};var j4={};j4={Empty:"Tom"};var L4={};L4={Empty:"Leeg"};var O4={};O4={Empty:"Pusty"};var H4={};H4={Empty:"Vazio"};var U4={};U4={Empty:"Vazio"};var W4={};W4={Empty:"Gol"};var Z4={};Z4={Empty:"Не заполнено"};var G4={};G4={Empty:"Prázdne"};var q4={};q4={Empty:"Prazen"};var Y4={};Y4={Empty:"Prazno"};var J4={};J4={Empty:"Tomt"};var Q4={};Q4={Empty:"Boş"};var X4={};X4={Empty:"Пусто"};var e3={};e3={Empty:"空"};var t3={};t3={Empty:"空白"};var u3={};u3={"ar-AE":x4,"bg-BG":C4,"cs-CZ":E4,"da-DK":B4,"de-DE":k4,"el-GR":P4,"en-US":S4,"es-ES":A4,"et-EE":w4,"fi-FI":F4,"fr-FR":T4,"he-IL":I4,"hr-HR":R4,"hu-HU":K4,"it-IT":M4,"ja-JP":z4,"ko-KR":N4,"lt-LT":V4,"lv-LV":_4,"nb-NO":j4,"nl-NL":L4,"pl-PL":O4,"pt-BR":H4,"pt-PT":U4,"ro-RO":W4,"ru-RU":Z4,"sk-SK":G4,"sl-SI":q4,"sr-SP":Y4,"sv-SE":J4,"tr-TR":Q4,"uk-UA":X4,"zh-CN":e3,"zh-TW":t3};function aD(e){return e&&e.__esModule?e.default:e}function iD(e){const t=o.useRef(void 0);let{value:u,textValue:n,minValue:r,maxValue:a,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:d,onIncrementPage:c,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const g=De(aD(u3),"@react-aria/spinbutton"),$=()=>clearTimeout(t.current);o.useEffect(()=>()=>$(),[]);let D=k=>{if(!(k.ctrlKey||k.metaKey||k.shiftKey||k.altKey||l))switch(k.key){case"PageUp":if(c){k.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":d&&(k.preventDefault(),d==null||d());break;case"PageDown":if(p){k.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(k.preventDefault(),f==null||f());break;case"Home":m&&(k.preventDefault(),m==null||m());break;case"End":b&&(k.preventDefault(),b==null||b());break}},y=o.useRef(!1),x=()=>{y.current=!0},C=()=>{y.current=!1},B=n===""?g.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{y.current&&(Lg("assertive"),$t(B,"assertive"))},[B]);const P=ie(k=>{$(),d==null||d(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||u===void 0||isNaN(u)||u<a)&&P(60)},k)}),T=ie(k=>{$(),f==null||f(),t.current=window.setTimeout(()=>{(r===void 0||isNaN(r)||u===void 0||isNaN(u)||u>r)&&T(60)},k)});let v=k=>{k.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:S}=Hn();return{spinButtonProps:{role:"spinbutton","aria-valuenow":u!==void 0&&!isNaN(u)?u:void 0,"aria-valuetext":B,"aria-valuemin":r,"aria-valuemax":a,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:D,onFocus:x,onBlur:C},incrementButtonProps:{onPressStart:()=>{P(400),F(window,"contextmenu",v)},onPressEnd:()=>{$(),S()},onFocus:x,onBlur:C},decrementButtonProps:{onPressStart:()=>{T(400),F(window,"contextmenu",v)},onPressEnd:()=>{$(),S()},onFocus:x,onBlur:C}}}var n3={};n3={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var r3={};r3={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var a3={};a3={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var i3={};i3={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var l3={};l3={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var o3={};o3={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var s3={};s3={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var d3={};d3={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var c3={};c3={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var f3={};f3={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var p3={};p3={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var m3={};m3={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var b3={};b3={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var h3={};h3={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var $3={};$3={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var g3={};g3={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var D3={};D3={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var v3={};v3={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var y3={};y3={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var x3={};x3={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var C3={};C3={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var E3={};E3={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var B3={};B3={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var k3={};k3={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var P3={};P3={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var S3={};S3={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var A3={};A3={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var w3={};w3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var F3={};F3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var T3={};T3={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var I3={};I3={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var R3={};R3={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var K3={};K3={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var M3={};M3={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var z3={};z3={"ar-AE":n3,"bg-BG":r3,"cs-CZ":a3,"da-DK":i3,"de-DE":l3,"el-GR":o3,"en-US":s3,"es-ES":d3,"et-EE":c3,"fi-FI":f3,"fr-FR":p3,"he-IL":m3,"hr-HR":b3,"hu-HU":h3,"it-IT":$3,"ja-JP":g3,"ko-KR":D3,"lt-LT":v3,"lv-LV":y3,"nb-NO":x3,"nl-NL":C3,"pl-PL":E3,"pt-BR":B3,"pt-PT":k3,"ro-RO":P3,"ru-RU":S3,"sk-SK":A3,"sl-SI":w3,"sr-SP":F3,"sv-SE":T3,"tr-TR":I3,"uk-UA":R3,"zh-CN":K3,"zh-TW":M3};const ht={top:"top",bottom:"top",left:"left",right:"left"},Ur={top:"bottom",bottom:"top",left:"right",right:"left"},lD={top:"left",left:"top"},Ti={top:"height",left:"width"},N3={width:"totalWidth",height:"totalHeight"},mr={};let Re=typeof document<"u"?window.visualViewport:null;function ts(e){let t=0,u=0,n=0,r=0,a=0,i=0,l={};var s;let d=((s=Re==null?void 0:Re.scale)!==null&&s!==void 0?s:1)>1;if(e.tagName==="BODY"){let b=document.documentElement;n=b.clientWidth,r=b.clientHeight;var c;t=(c=Re==null?void 0:Re.width)!==null&&c!==void 0?c:n;var f;u=(f=Re==null?void 0:Re.height)!==null&&f!==void 0?f:r,l.top=b.scrollTop||e.scrollTop,l.left=b.scrollLeft||e.scrollLeft,Re&&(a=Re.offsetTop,i=Re.offsetLeft)}else({width:t,height:u,top:a,left:i}=Gu(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,r=u;if(el()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){l.top=0,l.left=0;var p;a=(p=Re==null?void 0:Re.pageTop)!==null&&p!==void 0?p:0;var m;i=(m=Re==null?void 0:Re.pageLeft)!==null&&m!==void 0?m:0}return{width:t,height:u,totalWidth:n,totalHeight:r,scroll:l,top:a,left:i}}function oD(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function us(e,t,u,n,r,a,i){var l;let s=(l=r.scroll[e])!==null&&l!==void 0?l:0,d=n[Ti[e]],c=n.scroll[ht[e]]+a,f=d+n.scroll[ht[e]]-a,p=t-s+i[e]-n[ht[e]],m=t-s+u+i[e]-n[ht[e]];return p<c?c-p:m>f?Math.max(f-m,c-p):0}function sD(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function ns(e){if(mr[e])return mr[e];let[t,u]=e.split(" "),n=ht[t]||"right",r=lD[n];ht[u]||(u="center");let a=Ti[n],i=Ti[r];return mr[e]={placement:t,crossPlacement:u,axis:n,crossAxis:r,size:a,crossSize:i},mr[e]}function Ja(e,t,u,n,r,a,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:m,size:b,crossSize:g}=n,$={};var D;$[m]=(D=e[m])!==null&&D!==void 0?D:0;var y,x,C,B;f==="center"?$[m]+=(((y=e[g])!==null&&y!==void 0?y:0)-((x=u[g])!==null&&x!==void 0?x:0))/2:f!==m&&($[m]+=((C=e[g])!==null&&C!==void 0?C:0)-((B=u[g])!==null&&B!==void 0?B:0)),$[m]+=a;const P=e[m]-u[g]+s+d,T=e[m]+e[g]-s-d;if($[m]=wn($[m],P,T),c===p){const v=l?i[b]:t[N3[b]];$[Ur[p]]=Math.floor(v-e[p]+r)}else $[p]=Math.floor(e[p]+e[b]+r);return $}function dD(e,t,u,n,r,a,i,l){const s=n?u.height:t[N3.height];var d;let c=e.top!=null?u.top+e.top:u.top+(s-((d=e.bottom)!==null&&d!==void 0?d:0)-i);var f,p,m,b,g,$;let D=l!=="top"?Math.max(0,t.height+t.top+((f=t.scroll.top)!==null&&f!==void 0?f:0)-c-(((p=r.top)!==null&&p!==void 0?p:0)+((m=r.bottom)!==null&&m!==void 0?m:0)+a)):Math.max(0,c+i-(t.top+((b=t.scroll.top)!==null&&b!==void 0?b:0))-(((g=r.top)!==null&&g!==void 0?g:0)+(($=r.bottom)!==null&&$!==void 0?$:0)+a));return Math.min(t.height-a*2,D)}function rs(e,t,u,n,r,a){let{placement:i,axis:l,size:s}=a;var d,c;if(i===l)return Math.max(0,u[l]-e[l]-((d=e.scroll[l])!==null&&d!==void 0?d:0)+t[l]-((c=n[l])!==null&&c!==void 0?c:0)-n[Ur[l]]-r);var f;return Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-u[l]-u[s]-((f=n[l])!==null&&f!==void 0?f:0)-n[Ur[l]]-r)}function cD(e,t,u,n,r,a,i,l,s,d,c,f,p,m,b,g){let $=ns(e),{size:D,crossAxis:y,crossSize:x,placement:C,crossPlacement:B}=$,P=Ja(t,l,u,$,c,f,d,p,b,g),T=c,v=rs(l,d,t,r,a+c,$);if(i&&n[D]>v){let Q=ns(`${Ur[C]} ${B}`),me=Ja(t,l,u,Q,c,f,d,p,b,g);rs(l,d,t,r,a+c,Q)>v&&($=Q,P=me,T=c)}let F="bottom";$.axis==="top"?$.placement==="top"?F="top":$.placement==="bottom"&&(F="bottom"):$.crossAxis==="top"&&($.crossPlacement==="top"?F="bottom":$.crossPlacement==="bottom"&&(F="top"));let S=us(y,P[y],u[x],l,s,a,d);P[y]+=S;let k=dD(P,l,d,p,r,a,u.height,F);m&&m<k&&(k=m),u.height=Math.min(u.height,k),P=Ja(t,l,u,$,T,f,d,p,b,g),S=us(y,P[y],u[x],l,s,a,d),P[y]+=S;let M={},E=t[y]+.5*t[x]-P[y]-r[ht[y]];const V=b/2+g;var R,w,I,A;const z=ht[y]==="left"?((R=r.left)!==null&&R!==void 0?R:0)+((w=r.right)!==null&&w!==void 0?w:0):((I=r.top)!==null&&I!==void 0?I:0)+((A=r.bottom)!==null&&A!==void 0?A:0),K=u[x]-z-b/2-g,N=t[y]+b/2-(P[y]+r[ht[y]]),H=t[y]+t[x]-b/2-(P[y]+r[ht[y]]),G=wn(E,N,H);return M[y]=wn(G,V,K),{position:P,maxHeight:k,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:$.placement}}function fD(e){let{placement:t,targetNode:u,overlayNode:n,scrollNode:r,padding:a,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,m=n instanceof HTMLElement?pD(n):document.documentElement,b=m===document.documentElement;const g=window.getComputedStyle(m).position;let $=!!g&&g!=="static",D=b?Gu(u):as(u,m);if(!b){let{marginTop:M,marginLeft:E}=window.getComputedStyle(u);D.top+=parseInt(M,10)||0,D.left+=parseInt(E,10)||0}let y=Gu(n),x=sD(n);var C,B;y.width+=((C=x.left)!==null&&C!==void 0?C:0)+((B=x.right)!==null&&B!==void 0?B:0);var P,T;y.height+=((P=x.top)!==null&&P!==void 0?P:0)+((T=x.bottom)!==null&&T!==void 0?T:0);let v=oD(r),F=ts(l),S=ts(m),k=l.tagName==="BODY"?Gu(m):as(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(S.scroll.top=0,S.scroll.left=0),cD(t,D,y,v,x,a,i,F,S,k,s,d,$,c,f,p)}function Gu(e){let{top:t,left:u,width:n,height:r}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+a-l,left:u+i-s,width:n,height:r}}function as(e,t){let u=window.getComputedStyle(e),n;if(u.position==="fixed"){let{top:r,left:a,width:i,height:l}=e.getBoundingClientRect();n={top:r,left:a,width:i,height:l}}else{n=Gu(e);let r=Gu(t),a=window.getComputedStyle(t);r.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(u.marginTop,10)||0,n.left-=parseInt(u.marginLeft,10)||0,n}function pD(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!is(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!is(t);)t=t.parentElement;return t||document.documentElement}function is(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const V3=new WeakMap;function mD(e){let{triggerRef:t,isOpen:u,onClose:n}=e;o.useEffect(()=>{if(!u||n===null)return;let r=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current)||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)return;let l=n||V3.get(t.current);l&&l()};return window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("scroll",r,!0)}},[u,n,t])}let Ee=typeof document<"u"?window.visualViewport:null;function wl(e){let{direction:t}=pe(),{arrowSize:u=0,targetRef:n,overlayRef:r,scrollRef:a=r,placement:i="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:c=0,crossOffset:f=0,shouldUpdatePosition:p=!0,isOpen:m=!0,onClose:b,maxHeight:g,arrowBoundaryOffset:$=0}=e,[D,y]=o.useState(null),x=[p,i,r.current,n.current,a.current,l,s,d,c,f,m,t,g,$,u],C=o.useRef(Ee==null?void 0:Ee.scale);o.useEffect(()=>{m&&(C.current=Ee==null?void 0:Ee.scale)},[m]);let B=o.useCallback(()=>{if(p===!1||!m||!r.current||!n.current||!d||(Ee==null?void 0:Ee.scale)!==C.current)return;let S=null;if(a.current&&a.current.contains(document.activeElement)){var k;let A=(k=document.activeElement)===null||k===void 0?void 0:k.getBoundingClientRect(),z=a.current.getBoundingClientRect();var M;if(S={type:"top",offset:((M=A==null?void 0:A.top)!==null&&M!==void 0?M:0)-z.top},S.offset>z.height/2){S.type="bottom";var E;S.offset=((E=A==null?void 0:A.bottom)!==null&&E!==void 0?E:0)-z.bottom}}let V=r.current;if(!g&&r.current){var R;V.style.top="0px",V.style.bottom="";var w;V.style.maxHeight=((w=(R=window.visualViewport)===null||R===void 0?void 0:R.height)!==null&&w!==void 0?w:window.innerHeight)+"px"}let I=fD({placement:hD(i,t),overlayNode:r.current,targetNode:n.current,scrollNode:a.current||r.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:g,arrowSize:u,arrowBoundaryOffset:$});if(I.position){if(V.style.top="",V.style.bottom="",V.style.left="",V.style.right="",Object.keys(I.position).forEach(A=>V.style[A]=I.position[A]+"px"),V.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":"",S&&document.activeElement&&a.current){let A=document.activeElement.getBoundingClientRect(),z=a.current.getBoundingClientRect(),K=A[S.type]-z[S.type];a.current.scrollTop+=K-S.offset}y(I)}},x);Y(B,x),bD(B),Ju({ref:r,onResize:B}),Ju({ref:n,onResize:B});let P=o.useRef(!1);Y(()=>{let S,k=()=>{P.current=!0,clearTimeout(S),S=setTimeout(()=>{P.current=!1},500),B()},M=()=>{P.current&&k()};return Ee==null||Ee.addEventListener("resize",k),Ee==null||Ee.addEventListener("scroll",M),()=>{Ee==null||Ee.removeEventListener("resize",k),Ee==null||Ee.removeEventListener("scroll",M)}},[B]);let T=o.useCallback(()=>{P.current||b==null||b()},[b,P]);mD({triggerRef:n,isOpen:m,onClose:b&&T});var v,F;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...D==null?void 0:D.position,maxHeight:(v=D==null?void 0:D.maxHeight)!==null&&v!==void 0?v:"100vh"}},placement:(F=D==null?void 0:D.placement)!==null&&F!==void 0?F:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:D==null?void 0:D.arrowOffsetLeft,top:D==null?void 0:D.arrowOffsetTop}},updatePosition:B}}function bD(e){Y(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function hD(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const mt=[];function Fl(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:r,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>{if(r&&!mt.includes(t))return mt.push(t),()=>{let b=mt.indexOf(t);b>=0&&mt.splice(b,1)}},[r,t]);let s=()=>{mt[mt.length-1]===t&&u&&u()},d=b=>{(!l||l(b.target))&&mt[mt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},c=b=>{(!l||l(b.target))&&(mt[mt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),s())},f=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),s())};n6({ref:t,onInteractOutside:a&&r?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=ft({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||Kg(b.relatedTarget)||(!l||l(b.relatedTarget))&&(u==null||u())}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function _3(e,t,u){let{type:n}=e,{isOpen:r}=t;o.useEffect(()=>{u&&u.current&&V3.set(u.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=oe();return{triggerProps:{"aria-haspopup":a,"aria-expanded":r,"aria-controls":r?i:void 0,onPress:t.toggle},overlayProps:{id:i}}}const Qa=typeof document<"u"&&window.visualViewport,$D=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let br=0,Xa;function j3(e={}){let{isDisabled:t}=e;Y(()=>{if(!t)return br++,br===1&&(On()?Xa=DD():Xa=gD()),()=>{br--,br===0&&Xa()}},[t])}function gD(){return lt(ju(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),ju(document.documentElement,"overflow","hidden"))}function DD(){let e,t,u=d=>{e=Ne(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=ju(e,"overscrollBehavior","contain"))},n=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&d.preventDefault()},r=()=>{t&&t()},a=d=>{let c=d.target;vD(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Qa&&(Qa.height<window.innerHeight?requestAnimationFrame(()=>{ls(c)}):Qa.addEventListener("resize",()=>ls(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=lt(dn(window,"scroll",d),ju(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),ju(document.documentElement,"overflow","hidden"),ju(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=lt(dn(document,"touchstart",u,{passive:!1,capture:!0}),dn(document,"touchmove",n,{passive:!1,capture:!0}),dn(document,"touchend",r,{passive:!1,capture:!0}),dn(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function ju(e,t,u){let n=e.style[t];return e.style[t]=u,()=>{e.style[t]=n}}function dn(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function ls(e){let t=document.scrollingElement||document.documentElement,u=e;for(;u&&u!==t;){let n=Ne(u);if(n!==document.documentElement&&n!==document.body&&n!==u){let r=n.getBoundingClientRect().top,a=u.getBoundingClientRect().top;a>r+u.clientHeight&&(n.scrollTop+=a-r)}u=n.parentElement}}function vD(e){return e instanceof HTMLInputElement&&!$D.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const Ii=o.createContext(null);function yD(e){let{children:t}=e,u=o.useContext(Ii),[n,r]=o.useState(0),a=o.useMemo(()=>({parent:u,modalCount:n,addModal(){r(i=>i+1),u&&u.addModal()},removeModal(){r(i=>i-1),u&&u.removeModal()}}),[u,n]);return o.createElement(Ii.Provider,{value:a},t)}function xD(){let e=o.useContext(Ii);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function CD(e){let{modalProviderProps:t}=xD();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function ED(e){return o.createElement(yD,null,o.createElement(CD,e))}function L3(e){let t=au(),{portalContainer:u=t?null:document.body,...n}=e;if(o.useEffect(()=>{if(u!=null&&u.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[u]),!u)return null;let r=o.createElement(ED,n);return Lt.createPortal(r,u)}var O3={};O3={dismiss:"تجاهل"};var H3={};H3={dismiss:"Отхвърляне"};var U3={};U3={dismiss:"Odstranit"};var W3={};W3={dismiss:"Luk"};var Z3={};Z3={dismiss:"Schließen"};var G3={};G3={dismiss:"Απόρριψη"};var q3={};q3={dismiss:"Dismiss"};var Y3={};Y3={dismiss:"Descartar"};var J3={};J3={dismiss:"Lõpeta"};var Q3={};Q3={dismiss:"Hylkää"};var X3={};X3={dismiss:"Rejeter"};var ef={};ef={dismiss:"התעלם"};var tf={};tf={dismiss:"Odbaci"};var uf={};uf={dismiss:"Elutasítás"};var nf={};nf={dismiss:"Ignora"};var rf={};rf={dismiss:"閉じる"};var af={};af={dismiss:"무시"};var lf={};lf={dismiss:"Atmesti"};var of={};of={dismiss:"Nerādīt"};var sf={};sf={dismiss:"Lukk"};var df={};df={dismiss:"Negeren"};var cf={};cf={dismiss:"Zignoruj"};var ff={};ff={dismiss:"Descartar"};var pf={};pf={dismiss:"Dispensar"};var mf={};mf={dismiss:"Revocare"};var bf={};bf={dismiss:"Пропустить"};var hf={};hf={dismiss:"Zrušiť"};var $f={};$f={dismiss:"Opusti"};var gf={};gf={dismiss:"Odbaci"};var Df={};Df={dismiss:"Avvisa"};var vf={};vf={dismiss:"Kapat"};var yf={};yf={dismiss:"Скасувати"};var xf={};xf={dismiss:"取消"};var Cf={};Cf={dismiss:"關閉"};var Ef={};Ef={"ar-AE":O3,"bg-BG":H3,"cs-CZ":U3,"da-DK":W3,"de-DE":Z3,"el-GR":G3,"en-US":q3,"es-ES":Y3,"et-EE":J3,"fi-FI":Q3,"fr-FR":X3,"he-IL":ef,"hr-HR":tf,"hu-HU":uf,"it-IT":nf,"ja-JP":rf,"ko-KR":af,"lt-LT":lf,"lv-LV":of,"nb-NO":sf,"nl-NL":df,"pl-PL":cf,"pt-BR":ff,"pt-PT":pf,"ro-RO":mf,"ru-RU":bf,"sk-SK":hf,"sl-SI":$f,"sr-SP":gf,"sv-SE":Df,"tr-TR":vf,"uk-UA":yf,"zh-CN":xf,"zh-TW":Cf};function BD(e){return e&&e.__esModule?e.default:e}function Wr(e){let{onDismiss:t,...u}=e,n=De(BD(Ef),"@react-aria/overlays"),r=Dt(u,n.format("dismiss")),a=()=>{t&&t()};return o.createElement(ru,null,o.createElement("button",{...r,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let cn=new WeakMap,He=[];function Tl(e,t=document.body){let u=new Set(e),n=new Set,r=s=>{for(let p of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(p);let d=p=>{if(u.has(p)||p.parentElement&&n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of u)if(p.contains(m))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},c=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),f=d(s);if(f===NodeFilter.FILTER_ACCEPT&&a(s),f!==NodeFilter.FILTER_REJECT){let p=c.nextNode();for(;p!=null;)a(p),p=c.nextNode()}},a=s=>{var d;let c=(d=cn.get(s))!==null&&d!==void 0?d:0;s.getAttribute("aria-hidden")==="true"&&c===0||(c===0&&s.setAttribute("aria-hidden","true"),n.add(s),cn.set(s,c+1))};He.length&&He[He.length-1].disconnect(),r(t);let i=new MutationObserver(s=>{for(let d of s)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...u,...n].some(c=>c.contains(d.target))){for(let c of d.removedNodes)c instanceof Element&&(u.delete(c),n.delete(c));for(let c of d.addedNodes)(c instanceof HTMLElement||c instanceof SVGElement)&&(c.dataset.liveAnnouncer==="true"||c.dataset.reactAriaTopLayer==="true")?u.add(c):c instanceof Element&&r(c)}});i.observe(t,{childList:!0,subtree:!0});let l={visibleNodes:u,hiddenNodes:n,observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return He.push(l),()=>{i.disconnect();for(let s of n){let d=cn.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),cn.delete(s)):cn.set(s,d-1))}l===He[He.length-1]?(He.pop(),He.length&&He[He.length-1].observe()):He.splice(He.indexOf(l),1)}}function kD(e){let t=He[He.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}function PD(e,t){let{triggerRef:u,popoverRef:n,groupRef:r,isNonModal:a,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l,...s}=e,d=s.trigger==="SubmenuTrigger",{overlayProps:c,underlayProps:f}=Fl({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||d,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l},r??n),{overlayProps:p,arrowProps:m,placement:b}=wl({...s,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:a&&!d?t.close:null});return j3({isDisabled:a||!t.isOpen}),Y(()=>{if(t.isOpen&&n.current){var g,$;return a?kD((g=r==null?void 0:r.current)!==null&&g!==void 0?g:n.current):Tl([($=r==null?void 0:r.current)!==null&&$!==void 0?$:n.current])}},[a,t.isOpen,n,r]),{popoverProps:_(c,p),arrowProps:m,underlayProps:f,placement:b}}const SD=o.createContext({});function AD(){var e;return(e=o.useContext(SD))!==null&&e!==void 0?e:{}}const Bf=o.createContext(null);function Ri(e){let t=au(),{portalContainer:u=t?null:document.body,isExiting:n}=e,[r,a]=o.useState(!1),i=o.useMemo(()=>({contain:r,setContain:a}),[r,a]),{getContainer:l}=AD();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(Yn,{restoreFocus:!0,contain:(e.shouldContainFocus||r)&&!n},s)),s=o.createElement(Bf.Provider,{value:i},o.createElement(t6,null,s)),Lt.createPortal(s,u)}function kf(){let e=o.useContext(Bf),t=e==null?void 0:e.setContain;Y(()=>{t==null||t(!0)},[t])}function wD(e,t,u){let{overlayProps:n,underlayProps:r}=Fl({...e,isOpen:t.isOpen,onClose:t.close},u);return j3({isDisabled:!t.isOpen}),kf(),o.useEffect(()=>{if(t.isOpen&&u.current)return Tl([u.current])},[t.isOpen,u]),{modalProps:_(n),underlayProps:r}}const $a=new WeakMap;function FD(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Pf(e,t){let u=$a.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${FD(t)}`}function Ki(e){return xr()?e.altKey:e.ctrlKey}function Pr(e,t){var u,n;let r=`[data-key="${CSS.escape(String(t))}"]`,a=(u=e.current)===null||u===void 0?void 0:u.dataset.collection;return a&&(r=`[data-collection="${CSS.escape(a)}"]${r}`),(n=e.current)===null||n===void 0?void 0:n.querySelector(r)}const Sf=new WeakMap;function TD(e){let t=oe();return Sf.set(e,t),t}function ID(e){return Sf.get(e)}const RD=1e3;function Af(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,a=i=>{let l=KD(i.key);if(!(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))){if(l===" "&&r.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),r.search+=l,t.getKeyForSearch!=null){let s=t.getKeyForSearch(r.search,u.focusedKey);s==null&&(s=t.getKeyForSearch(r.search)),s!=null&&(u.setFocusedKey(s),n&&n(s))}clearTimeout(r.timeout),r.timeout=setTimeout(()=>{r.search=""},RD)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function KD(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ga(e){let{selectionManager:t,keyboardDelegate:u,ref:n,autoFocus:r=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n,linkBehavior:b="action"}=e,{direction:g}=pe(),$=Pu(),D=R=>{var w;if(R.altKey&&R.key==="Tab"&&R.preventDefault(),!(!((w=n.current)===null||w===void 0)&&w.contains(R.target)))return;const I=(j,O)=>{if(j!=null){if(t.isLink(j)&&b==="selection"&&s&&!Ki(R)){Lt.flushSync(()=>{t.setFocusedKey(j,O)});let q=Pr(n,j),ne=t.getItemProps(j);q&&$.open(q,R,ne.href,ne.routerOptions);return}if(t.setFocusedKey(j,O),t.isLink(j)&&b==="override")return;R.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&!Ki(R)&&t.replaceSelection(j)}};switch(R.key){case"ArrowDown":if(u.getKeyBelow){var A,z,K;let j=t.focusedKey!=null?(A=u.getKeyBelow)===null||A===void 0?void 0:A.call(u,t.focusedKey):(z=u.getFirstKey)===null||z===void 0?void 0:z.call(u);j==null&&a&&(j=(K=u.getFirstKey)===null||K===void 0?void 0:K.call(u,t.focusedKey)),j!=null&&(R.preventDefault(),I(j))}break;case"ArrowUp":if(u.getKeyAbove){var N,H,G;let j=t.focusedKey!=null?(N=u.getKeyAbove)===null||N===void 0?void 0:N.call(u,t.focusedKey):(H=u.getLastKey)===null||H===void 0?void 0:H.call(u);j==null&&a&&(j=(G=u.getLastKey)===null||G===void 0?void 0:G.call(u,t.focusedKey)),j!=null&&(R.preventDefault(),I(j))}break;case"ArrowLeft":if(u.getKeyLeftOf){var Q,me,ue;let j=t.focusedKey!=null?(Q=u.getKeyLeftOf)===null||Q===void 0?void 0:Q.call(u,t.focusedKey):null;j==null&&a&&(j=g==="rtl"?(me=u.getFirstKey)===null||me===void 0?void 0:me.call(u,t.focusedKey):(ue=u.getLastKey)===null||ue===void 0?void 0:ue.call(u,t.focusedKey)),j!=null&&(R.preventDefault(),I(j,g==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var se,L,ee;let j=t.focusedKey!=null?(se=u.getKeyRightOf)===null||se===void 0?void 0:se.call(u,t.focusedKey):null;j==null&&a&&(j=g==="rtl"?(L=u.getLastKey)===null||L===void 0?void 0:L.call(u,t.focusedKey):(ee=u.getFirstKey)===null||ee===void 0?void 0:ee.call(u,t.focusedKey)),j!=null&&(R.preventDefault(),I(j,g==="rtl"?"last":"first"))}break;case"Home":if(u.getFirstKey){if(t.focusedKey===null&&R.shiftKey)return;R.preventDefault();let j=u.getFirstKey(t.focusedKey,Nu(R));t.setFocusedKey(j),j!=null&&(Nu(R)&&R.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j))}break;case"End":if(u.getLastKey){if(t.focusedKey===null&&R.shiftKey)return;R.preventDefault();let j=u.getLastKey(t.focusedKey,Nu(R));t.setFocusedKey(j),j!=null&&(Nu(R)&&R.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j))}break;case"PageDown":if(u.getKeyPageBelow&&t.focusedKey!=null){let j=u.getKeyPageBelow(t.focusedKey);j!=null&&(R.preventDefault(),I(j))}break;case"PageUp":if(u.getKeyPageAbove&&t.focusedKey!=null){let j=u.getKeyPageAbove(t.focusedKey);j!=null&&(R.preventDefault(),I(j))}break;case"a":Nu(R)&&t.selectionMode==="multiple"&&l!==!0&&(R.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(R.stopPropagation(),R.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(R.shiftKey)n.current.focus();else{let j=ke(n.current,{tabbable:!0}),O,q;do q=j.lastChild(),q&&(O=q);while(q);O&&!O.contains(document.activeElement)&&_e(O)}break}}},y=o.useRef({top:0,left:0});dt(m,"scroll",p?void 0:()=>{var R,w,I,A;y.current={top:(I=(R=m.current)===null||R===void 0?void 0:R.scrollTop)!==null&&I!==void 0?I:0,left:(A=(w=m.current)===null||w===void 0?void 0:w.scrollLeft)!==null&&A!==void 0?A:0}});let x=R=>{if(t.isFocused){R.currentTarget.contains(R.target)||t.setFocused(!1);return}if(R.currentTarget.contains(R.target)){if(t.setFocused(!0),t.focusedKey==null){var w,I;let K=H=>{H!=null&&(t.setFocusedKey(H),s&&!t.isSelected(H)&&t.replaceSelection(H))},N=R.relatedTarget;var A,z;N&&R.currentTarget.compareDocumentPosition(N)&Node.DOCUMENT_POSITION_FOLLOWING?K((A=t.lastSelectedKey)!==null&&A!==void 0?A:(w=u.getLastKey)===null||w===void 0?void 0:w.call(u)):K((z=t.firstSelectedKey)!==null&&z!==void 0?z:(I=u.getFirstKey)===null||I===void 0?void 0:I.call(u))}else!p&&m.current&&(m.current.scrollTop=y.current.top,m.current.scrollLeft=y.current.left);if(t.focusedKey!=null&&m.current){let K=Pr(n,t.focusedKey);K instanceof HTMLElement&&(!K.contains(document.activeElement)&&!c&&_e(K),Mt()==="keyboard"&&Ve(K,{containingElement:n.current}))}}},C=R=>{R.currentTarget.contains(R.relatedTarget)||t.setFocused(!1)},B=o.useRef(!1);dt(n,w$,c?R=>{let{detail:w}=R;R.stopPropagation(),t.setFocused(!0),(w==null?void 0:w.focusStrategy)==="first"&&(B.current=!0)}:void 0);let P=ie(()=>{var R,w;let I=(w=(R=u.getFirstKey)===null||R===void 0?void 0:R.call(u))!==null&&w!==void 0?w:null;I==null?(Ic(n.current),t.collection.size>0&&(B.current=!1)):(t.setFocusedKey(I),B.current=!1)});lo(()=>{B.current&&P()},[t.collection,P]);let T=ie(()=>{t.collection.size>0&&(B.current=!1)});lo(()=>{T()},[t.focusedKey,T]),dt(n,A$,c?R=>{var w;R.stopPropagation(),t.setFocused(!1),!((w=R.detail)===null||w===void 0)&&w.clearFocusKey&&t.setFocusedKey(null)}:void 0);const v=o.useRef(r),F=o.useRef(!1);o.useEffect(()=>{if(v.current){var R,w;let z=null;var I;r==="first"&&(z=(I=(R=u.getFirstKey)===null||R===void 0?void 0:R.call(u))!==null&&I!==void 0?I:null);var A;r==="last"&&(z=(A=(w=u.getLastKey)===null||w===void 0?void 0:w.call(u))!==null&&A!==void 0?A:null);let K=t.selectedKeys;if(K.size){for(let N of K)if(t.canSelectItem(N)){z=N;break}}t.setFocused(!0),t.setFocusedKey(z),z==null&&!c&&n.current&&ye(n.current),t.collection.size>0&&(v.current=!1,F.current=!0)}});let S=o.useRef(t.focusedKey);o.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==S.current||F.current)&&m.current&&n.current){let R=Mt(),w=Pr(n,t.focusedKey);if(!(w instanceof HTMLElement))return;(R==="keyboard"||F.current)&&(Ys(m.current,w),R!=="virtual"&&Ve(w,{containingElement:n.current}))}!c&&t.isFocused&&t.focusedKey==null&&S.current!=null&&n.current&&ye(n.current),S.current=t.focusedKey,F.current=!1}),dt(n,"react-aria-focus-scope-restore",R=>{R.preventDefault(),t.setFocused(!0)});let k={onKeyDown:D,onFocus:x,onBlur:C,onMouseDown(R){m.current===R.target&&R.preventDefault()}},{typeSelectProps:M}=Af({keyboardDelegate:u,selectionManager:t});d||(k=_(M,k));let E;c||(E=t.focusedKey==null?0:-1);let V=TD(t.collection);return{collectionProps:_(k,{tabIndex:E,"data-collection":V})}}function un(e){let{id:t,selectionManager:u,key:n,ref:r,shouldSelectOnPressUp:a,shouldUseVirtualFocus:i,focus:l,isDisabled:s,onAction:d,allowsDifferentPressOrigin:c,linkBehavior:f="action"}=e,p=Pu();t=oe(t);let m=A=>{if(A.pointerType==="keyboard"&&Ki(A))u.toggleSelection(n);else{if(u.selectionMode==="none")return;if(u.isLink(n)){if(f==="selection"&&r.current){let z=u.getItemProps(n);p.open(r.current,A,z.href,z.routerOptions),u.setSelectedKeys(u.selectedKeys);return}else if(f==="override"||f==="none")return}u.selectionMode==="single"?u.isSelected(n)&&!u.disallowEmptySelection?u.toggleSelection(n):u.replaceSelection(n):A&&A.shiftKey?u.extendSelection(n):u.selectionBehavior==="toggle"||A&&(Nu(A)||A.pointerType==="touch"||A.pointerType==="virtual")?u.toggleSelection(n):u.replaceSelection(n)}};o.useEffect(()=>{n===u.focusedKey&&u.isFocused&&(i?Ic(r.current):l?l():document.activeElement!==r.current&&r.current&&ye(r.current))},[r,n,u.focusedKey,u.childFocusStrategy,u.isFocused,i]),s=s||u.isDisabled(n);let b={};!i&&!s?b={tabIndex:n===u.focusedKey?0:-1,onFocus(A){A.target===r.current&&u.setFocusedKey(n)}}:s&&(b.onMouseDown=A=>{A.preventDefault()});let g=u.isLink(n)&&f==="override",$=u.isLink(n)&&f!=="selection"&&f!=="none",D=!s&&u.canSelectItem(n)&&!g,y=(d||$)&&!s,x=y&&(u.selectionBehavior==="replace"?!D:!D||u.isEmpty),C=y&&D&&u.selectionBehavior==="replace",B=x||C,P=o.useRef(null),T=B&&D,v=o.useRef(!1),F=o.useRef(!1),S=A=>{if(d&&d(),$&&r.current){let z=u.getItemProps(n);p.open(r.current,A,z.href,z.routerOptions)}},k={};a?(k.onPressStart=A=>{P.current=A.pointerType,v.current=T,A.pointerType==="keyboard"&&(!B||ss())&&m(A)},c?(k.onPressUp=x?void 0:A=>{A.pointerType==="mouse"&&D&&m(A)},k.onPress=x?S:A=>{A.pointerType!=="keyboard"&&A.pointerType!=="mouse"&&D&&m(A)}):k.onPress=A=>{if(x||C&&A.pointerType!=="mouse"){if(A.pointerType==="keyboard"&&!os())return;S(A)}else A.pointerType!=="keyboard"&&D&&m(A)}):(k.onPressStart=A=>{P.current=A.pointerType,v.current=T,F.current=x,D&&(A.pointerType==="mouse"&&!x||A.pointerType==="keyboard"&&(!y||ss()))&&m(A)},k.onPress=A=>{(A.pointerType==="touch"||A.pointerType==="pen"||A.pointerType==="virtual"||A.pointerType==="keyboard"&&B&&os()||A.pointerType==="mouse"&&F.current)&&(B?S(A):D&&m(A))}),b["data-collection"]=ID(u.collection),b["data-key"]=n,k.preventFocusOnPress=i,i&&(k=_(k,{onPressStart(A){A.pointerType!=="touch"&&(u.setFocused(!0),u.setFocusedKey(n))},onPress(A){A.pointerType==="touch"&&(u.setFocused(!0),u.setFocusedKey(n))}}));let{pressProps:M,isPressed:E}=Je(k),V=C?A=>{P.current==="mouse"&&(A.stopPropagation(),A.preventDefault(),S(A))}:void 0,{longPressProps:R}=pd({isDisabled:!T,onLongPress(A){A.pointerType==="touch"&&(m(A),u.setSelectionBehavior("toggle"))}}),w=A=>{P.current==="touch"&&v.current&&A.preventDefault()},I=u.isLink(n)?A=>{tu.isOpening||A.preventDefault()}:void 0;return{itemProps:_(b,D||x||i?M:{},T?R:{},{onDoubleClick:V,onDragStartCapture:w,onClick:I,id:t},i?{onMouseDown:A=>A.preventDefault()}:void 0),isPressed:E,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:D,hasAction:B}}function os(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function ss(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class Mi{getItemRect(t){let u=this.ref.current;if(!u)return null;let n=t!=null?Pr(this.ref,t):null;if(!n)return null;let r=u.getBoundingClientRect(),a=n.getBoundingClientRect();return{x:a.left-r.left+u.scrollLeft,y:a.top-r.top+u.scrollTop,width:a.width,height:a.height}}getContentSize(){let t=this.ref.current;var u,n;return{width:(u=t==null?void 0:t.scrollWidth)!==null&&u!==void 0?u:0,height:(n=t==null?void 0:t.scrollHeight)!==null&&n!==void 0?n:0}}getVisibleRect(){let t=this.ref.current;var u,n,r,a;return{x:(u=t==null?void 0:t.scrollLeft)!==null&&u!==void 0?u:0,y:(n=t==null?void 0:t.scrollTop)!==null&&n!==void 0?n:0,width:(r=t==null?void 0:t.offsetWidth)!==null&&r!==void 0?r:0,height:(a=t==null?void 0:t.offsetHeight)!==null&&a!==void 0?a:0}}constructor(t){this.ref=t}}class nn{isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,u){let n=t;for(;n!=null;){let r=this.collection.getItem(n);if((r==null?void 0:r.type)==="item"&&!this.isDisabled(r))return n;n=u(n)}return null}getNextKey(t){let u=t;return u=this.collection.getKeyAfter(u),this.findNextNonDisabled(u,n=>this.collection.getKeyAfter(n))}getPreviousKey(t){let u=t;return u=this.collection.getKeyBefore(u),this.findNextNonDisabled(u,n=>this.collection.getKeyBefore(n))}findKey(t,u,n){let r=t,a=this.layoutDelegate.getItemRect(r);if(!a||r==null)return null;let i=a;do{if(r=u(r),r==null)break;a=this.layoutDelegate.getItemRect(r)}while(a&&n(i,a)&&r!=null);return r}isSameRow(t,u){return t.y===u.y||t.x!==u.x}isSameColumn(t,u){return t.x===u.x||t.y!==u.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getNextKey(u),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getPreviousKey(u),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,u){return u?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let u=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let u=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyAfter(u))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyBefore(u))}getKeyPageAbove(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!An(u))return this.getFirstKey();let r=t;if(this.orientation==="horizontal"){let a=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getFirstKey()}getKeyPageBelow(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!An(u))return this.getLastKey();let r=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getLastKey()}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u||this.getFirstKey();for(;r!=null;){let a=n.getItem(r);if(!a)return null;let i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return r;r=this.getNextKey(r)}return null}constructor(...t){if(t.length===1){let u=t[0];this.collection=u.collection,this.ref=u.ref,this.collator=u.collator,this.disabledKeys=u.disabledKeys||new Set,this.disabledBehavior=u.disabledBehavior||"all",this.orientation=u.orientation||"vertical",this.direction=u.direction,this.layout=u.layout||"stack",this.layoutDelegate=u.layoutDelegate||new Mi(u.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new Mi(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function Il(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:r,keyboardDelegate:a,layoutDelegate:i}=e,l=tn({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>a||new nn({collection:u,disabledKeys:n,disabledBehavior:s,ref:r,collator:l,layoutDelegate:i}),[a,i,u,n,r,l,s]),{collectionProps:c}=ga({...e,ref:r,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function wf(e,t,u){let n=U(e,{labelable:!0}),r=e.selectionBehavior||"toggle",a=e.linkBehavior||(r==="replace"?"action":"override");r==="toggle"&&a==="action"&&(a="override");let{listProps:i}=Il({...e,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=ft({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=oe(e.id);$a.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:d,fieldProps:c}=Sl({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:_(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",..._(c,i)})}}function Ff(e){return null}Ff.getCollectionNode=function*(t,u){let{childItems:n,title:r,children:a}=t,i=t.title||t.children,l=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!l&&!(u!=null&&u.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:l,"aria-label":t["aria-label"],hasChildNodes:MD(t),*childNodes(){if(n)for(let s of n)yield{type:"item",value:s};else if(r){let s=[];o.Children.forEach(a,d=>{s.push({type:"item",element:d})}),yield*s}}}};function MD(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&o.Children.count(e.children)>0)}let ds=Ff;function Tf(e){return null}Tf.getCollectionNode=function*(t){let{children:u,title:n,items:r}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof u=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let a of r)yield{type:"item",value:a,renderer:u}}else{let a=[];o.Children.forEach(u,i=>{a.push({type:"item",element:i})}),yield*a}}}};let zD=Tf;class ND{build(t,u){return this.context=u,cs(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:u,items:n}=t;if(o.isValidElement(u)&&u.type===o.Fragment)yield*this.iterateCollection({children:u.props.children,items:n});else if(typeof u=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let r=0;for(let a of n)yield*this.getFullNode({value:a,index:r},{renderer:u}),r++}else{let r=[];o.Children.forEach(u,i=>{i&&r.push(i)});let a=0;for(let i of r){let l=this.getFullNode({element:i,index:a},{});for(let s of l)a++,yield s}}}getKey(t,u,n,r){if(t.key!=null)return t.key;if(u.type==="cell"&&u.key!=null)return`${r}${u.key}`;let a=u.value;if(a!=null){var i;let l=(i=a.key)!==null&&i!==void 0?i:a.id;if(l==null)throw new Error("No key found for item");return l}return r?`${r}.${u.index}`:`$.${u.index}`}getChildState(t,u){return{renderer:u.renderer||t.renderer}}*getFullNode(t,u,n,r){if(o.isValidElement(t.element)&&t.element.type===o.Fragment){let $=[];o.Children.forEach(t.element.props.children,y=>{$.push(y)});var a;let D=(a=t.index)!==null&&a!==void 0?a:0;for(const y of $)yield*this.getFullNode({element:y,index:D++},u,n,r);return}let i=t.element;if(!i&&t.value&&u&&u.renderer){let $=this.cache.get(t.value);if($&&(!$.shouldInvalidate||!$.shouldInvalidate(this.context))){$.index=t.index,$.parentKey=r?r.key:null,yield $;return}i=u.renderer(t.value)}if(o.isValidElement(i)){let $=i.type;if(typeof $!="function"&&typeof $.getCollectionNode!="function"){let C=i.type;throw new Error(`Unknown element <${C}> in collection.`)}let D=$.getCollectionNode(i.props,this.context);var l;let y=(l=t.index)!==null&&l!==void 0?l:0,x=D.next();for(;!x.done&&x.value;){let C=x.value;t.index=y;var s;let B=(s=C.key)!==null&&s!==void 0?s:null;B==null&&(B=C.element?null:this.getKey(i,t,u,n));let T=[...this.getFullNode({...C,key:B,index:y,wrapper:VD(t.wrapper,C.wrapper)},this.getChildState(u,C),n?`${n}${i.key}`:i.key,r)];for(let v of T){var d,c;v.value=(c=(d=C.value)!==null&&d!==void 0?d:t.value)!==null&&c!==void 0?c:null,v.value&&this.cache.set(v.value,v);var f;if(t.type&&v.type!==t.type)throw new Error(`Unsupported type <${ei(v.type)}> in <${ei((f=r==null?void 0:r.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${ei(t.type)}> is supported.`);y++,yield v}x=D.next(T)}return}if(t.key==null||t.type==null)return;let p=this;var m,b;let g={type:t.type,props:t.props,key:t.key,parentKey:r?r.key:null,value:(m=t.value)!==null&&m!==void 0?m:null,level:r?r.level+1:0,index:t.index,rendered:t.rendered,textValue:(b=t.textValue)!==null&&b!==void 0?b:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:cs(function*(){if(!t.hasChildNodes||!t.childNodes)return;let $=0;for(let D of t.childNodes()){D.key!=null&&(D.key=`${g.key}${D.key}`);let y=p.getFullNode({...D,index:$},p.getChildState(u,D),g.key,g);for(let x of y)$++,yield x}})};yield g}constructor(){this.cache=new WeakMap}}function cs(e){let t=[],u=null;return{*[Symbol.iterator](){for(let n of t)yield n;u||(u=e());for(let n of u)t.push(n),yield n}}}function VD(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function ei(e){return e[0].toUpperCase()+e.slice(1)}function Rl(e,t,u){let n=o.useMemo(()=>new ND,[]),{children:r,items:a,collection:i}=e;return o.useMemo(()=>{if(i)return i;let s=n.build({children:r,items:a},u);return t(s)},[n,r,a,i,u,t])}function we(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Tt(e){return yn(e,0)}function yn(e,t){if(t<0)return;let u=0;for(let n of e){if(u===t)return n;u++}}function Kt(e){let t;for(let u of e)t=u;return t}function ti(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...fs(e,t),t],r=[...fs(e,u),u],a=n.slice(0,r.length).findIndex((i,l)=>i!==r[l]);return a!==-1?(t=n[a],u=r[a],t.index-u.index):n.findIndex(i=>i===u)>=0?1:(r.findIndex(i=>i===t)>=0,-1)}function fs(e,t){let u=[],n=t;for(;(n==null?void 0:n.parentKey)!=null;)n=e.getItem(n.parentKey),n&&u.unshift(n);return u}const ps=new WeakMap;function Kl(e){let t=ps.get(e);if(t!=null)return t;let u=0,n=r=>{for(let a of r)a.type==="section"?n(we(a,e)):u++};return n(e),ps.set(e,u),u}function If(e,t,u){var n,r;let{key:a}=e,i=$a.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(a);var d;let c=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(a);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:i==null?void 0:i.shouldSelectOnPressUp;var m;let b=(m=e.shouldFocusOnHover)!==null&&m!==void 0?m:i==null?void 0:i.shouldFocusOnHover;var g;let $=(g=e.shouldUseVirtualFocus)!==null&&g!==void 0?g:i==null?void 0:i.shouldUseVirtualFocus;var D;let y=(D=e.isVirtualized)!==null&&D!==void 0?D:i==null?void 0:i.isVirtualized,x=it(),C=it(),B={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};gt()&&el()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=x,B["aria-describedby"]=C);let P=t.collection.getItem(a);if(y){let I=Number(P==null?void 0:P.index);B["aria-posinset"]=Number.isNaN(I)?void 0:I+1,B["aria-setsize"]=Kl(t.collection)}let T=i!=null&&i.onAction?()=>{var I;return i==null||(I=i.onAction)===null||I===void 0?void 0:I.call(i,a)}:void 0,v=Pf(t,a),{itemProps:F,isPressed:S,isFocused:k,hasAction:M,allowsSelection:E}=un({selectionManager:t.selectionManager,key:a,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&b,isVirtualized:y,shouldUseVirtualFocus:$,isDisabled:s,onAction:T||!(P==null||(n=P.props)===null||n===void 0)&&n.onAction?lt(P==null||(r=P.props)===null||r===void 0?void 0:r.onAction,T):void 0,linkBehavior:i==null?void 0:i.linkBehavior,id:v}),{hoverProps:V}=Ce({isDisabled:s||!b,onHoverStart(){_t()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),R=U(P==null?void 0:P.props);delete R.id;let w=oa(P==null?void 0:P.props);return{optionProps:{...B,..._(R,F,V,w),id:v},labelProps:{id:x},descriptionProps:{id:C},isFocused:k,isFocusVisible:k&&t.selectionManager.isFocused&&_t(),isSelected:c,isDisabled:s,isPressed:S,allowsSelection:E,hasAction:M}}function Rf(e){let{heading:t,"aria-label":u}=e,n=oe();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}var Kf={};Kf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Mf={};Mf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var zf={};zf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Nf={};Nf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Vf={};Vf={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var _f={};_f={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var jf={};jf={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Lf={};Lf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Of={};Of={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Hf={};Hf={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Uf={};Uf={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Wf={};Wf={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Zf={};Zf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Gf={};Gf={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var qf={};qf={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Yf={};Yf={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Jf={};Jf={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Qf={};Qf={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Xf={};Xf={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var ep={};ep={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var tp={};tp={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var up={};up={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var np={};np={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var rp={};rp={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var ap={};ap={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var ip={};ip={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var lp={};lp={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var op={};op={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var sp={};sp={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var dp={};dp={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var cp={};cp={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var fp={};fp={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var pp={};pp={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var mp={};mp={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var bp={};bp={"ar-AE":Kf,"bg-BG":Mf,"cs-CZ":zf,"da-DK":Nf,"de-DE":Vf,"el-GR":_f,"en-US":jf,"es-ES":Lf,"et-EE":Of,"fi-FI":Hf,"fr-FR":Uf,"he-IL":Wf,"hr-HR":Zf,"hu-HU":Gf,"it-IT":qf,"ja-JP":Yf,"ko-KR":Jf,"lt-LT":Qf,"lv-LV":Xf,"nb-NO":ep,"nl-NL":tp,"pl-PL":up,"pt-BR":np,"pt-PT":rp,"ro-RO":ap,"ru-RU":ip,"sk-SK":lp,"sl-SI":op,"sr-SP":sp,"sv-SE":dp,"tr-TR":cp,"uk-UA":fp,"zh-CN":pp,"zh-TW":mp};function _D(e){return e&&e.__esModule?e.default:e}function Ml(e,t,u){let{type:n="menu",isDisabled:r,trigger:a="press"}=e,i=oe(),{triggerProps:l,overlayProps:s}=_3({type:n},t,u),d=m=>{if(!r&&!(a==="longPress"&&!m.altKey)&&u&&u.current)switch(m.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break;default:"continuePropagation"in m&&m.continuePropagation()}},c=De(_D(bp),"@react-aria/menu"),{longPressProps:f}=pd({isDisabled:r||a!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={preventFocusOnPress:!0,onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!r&&(_e(m.target),t.open(m.pointerType==="virtual"?"first":null))},onPress(m){m.pointerType==="touch"&&!r&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?p:f,id:i,onKeyDown:d},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const hp=new WeakMap;function jD(e,t,u){let{shouldFocusWrap:n=!0,onKeyDown:r,onKeyUp:a,...i}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let l=U(e,{labelable:!0}),{listProps:s}=Il({...i,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return hp.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:_(l,{onKeyDown:r,onKeyUp:a},{role:"menu",...s,onKeyDown:d=>{var c;(d.key!=="Escape"||e.shouldUseVirtualFocus)&&((c=s.onKeyDown)===null||c===void 0||c.call(s,d))}})}}function LD(e,t,u){let{id:n,key:r,closeOnSelect:a,isVirtualized:i,"aria-haspopup":l,onPressStart:s,onPressUp:d,onPress:c,onPressChange:f,onPressEnd:p,onHoverStart:m,onHoverChange:b,onHoverEnd:g,onKeyDown:$,onKeyUp:D,onFocus:y,onFocusChange:x,onBlur:C,selectionManager:B=t.selectionManager}=e,P=!!l,T=P&&e["aria-expanded"]==="true";var v;let F=(v=e.isDisabled)!==null&&v!==void 0?v:B.isDisabled(r);var S;let k=(S=e.isSelected)!==null&&S!==void 0?S:B.isSelected(r),M=hp.get(t),E=t.collection.getItem(r),V=e.onClose||M.onClose,R=Pu(),w=re=>{var Zt;if(!P){if(!(E==null||(Zt=E.props)===null||Zt===void 0)&&Zt.onAction?E.props.onAction():e.onAction&&e.onAction(r),M.onAction){let cu=M.onAction;cu(r)}re.target instanceof HTMLAnchorElement&&E&&R.open(re.target,re,E.props.href,E.props.routerOptions)}},I="menuitem";P||(B.selectionMode==="single"?I="menuitemradio":B.selectionMode==="multiple"&&(I="menuitemcheckbox"));let A=it(),z=it(),K=it(),N={id:n,"aria-disabled":F||void 0,role:I,"aria-label":e["aria-label"],"aria-labelledby":A,"aria-describedby":[z,K].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};B.selectionMode!=="none"&&!P&&(N["aria-checked"]=k),i&&(N["aria-posinset"]=E==null?void 0:E.index,N["aria-setsize"]=Kl(t.collection));let H=re=>{re.pointerType==="keyboard"&&w(re),s==null||s(re)},G=()=>{!P&&V&&(a??(B.selectionMode!=="multiple"||B.isLink(r)))&&V()},Q=re=>{re.pointerType==="mouse"&&(w(re),G()),d==null||d(re)},me=re=>{re.pointerType!=="keyboard"&&re.pointerType!=="mouse"&&(w(re),G()),c==null||c(re)},{itemProps:ue,isFocused:se}=un({id:n,selectionManager:B,key:r,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:M.shouldUseVirtualFocus}),{pressProps:L,isPressed:ee}=Je({onPressStart:H,onPress:me,onPressUp:Q,onPressChange:f,onPressEnd:p,isDisabled:F}),{hoverProps:j}=Ce({isDisabled:F,onHoverStart(re){!_t()&&!(T&&l)&&(B.setFocused(!0),B.setFocusedKey(r)),m==null||m(re)},onHoverChange:b,onHoverEnd:g}),{keyboardProps:O}=cd({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":!F&&B.selectionMode==="none"&&!P&&a!==!1&&V&&V();break;case"Enter":!F&&a!==!1&&!P&&V&&V();break;default:P||re.continuePropagation(),$==null||$(re);break}},onKeyUp:D}),{focusProps:q}=ca({onBlur:C,onFocus:y,onFocusChange:x}),ne=U(E==null?void 0:E.props);delete ne.id;let Qe=oa(E==null?void 0:E.props);return{menuItemProps:{...N,..._(ne,Qe,P?{onFocus:ue.onFocus,"data-collection":ue["data-collection"],"data-key":ue["data-key"]}:ue,L,j,O,q,M.shouldUseVirtualFocus||P?{onMouseDown:re=>re.preventDefault()}:void 0),tabIndex:ue.tabIndex!=null&&T&&!M.shouldUseVirtualFocus?-1:ue.tabIndex},labelProps:{id:A},descriptionProps:{id:z},keyboardShortcutProps:{id:K},isFocused:se,isFocusVisible:se&&B.isFocused&&_t()&&!T,isSelected:k,isPressed:ee,isDisabled:F}}function OD(e){let{heading:t,"aria-label":u}=e,n=oe();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}function HD(e){return e&&e.__esModule?e.default:e}function UD(e,t){let{buttonRef:u,popoverRef:n,inputRef:r,listBoxRef:a,keyboardDelegate:i,layoutDelegate:l,shouldFocusWrap:s,isReadOnly:d,isDisabled:c}=e,f=o.useRef(null);u=u??f;let p=De(HD(z3),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:b}=Ml({type:"listbox",isDisabled:c||d},t,u);$a.set(t,{id:b.id});let{collection:g}=t,{disabledKeys:$}=t.selectionManager,D=o.useMemo(()=>i||new nn({collection:g,disabledKeys:$,ref:a,layoutDelegate:l}),[i,l,g,$,a]),{collectionProps:y}=ga({selectionManager:t.selectionManager,keyboardDelegate:D,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:r,isVirtualized:!0}),x=Pu(),C=O=>{if(!O.nativeEvent.isComposing)switch(O.key){case"Enter":case"Tab":if(t.isOpen&&O.key==="Enter"&&O.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let q=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(O.key==="Enter"&&q instanceof HTMLAnchorElement){let ne=t.collection.getItem(t.selectionManager.focusedKey);ne&&x.open(q,O,ne.props.href,ne.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&O.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},B=O=>{var q;let ne=(u==null?void 0:u.current)&&u.current===O.relatedTarget,Qe=(q=n.current)===null||q===void 0?void 0:q.contains(O.relatedTarget);ne||Qe||(e.onBlur&&e.onBlur(O),t.setFocused(!1))},P=O=>{t.isFocused||(e.onFocus&&e.onFocus(O),t.setFocused(!0))},{isInvalid:T,validationErrors:v,validationDetails:F}=t.displayValidation,{labelProps:S,inputProps:k,descriptionProps:M,errorMessageProps:E}=Al({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:lt(t.isOpen&&y.onKeyDown,C,e.onKeyDown),onBlur:B,value:t.inputValue,onFocus:P,autoComplete:"off",validate:void 0,[nu]:t},r),V=O=>{if(O.pointerType==="touch"){var q;(q=r.current)===null||q===void 0||q.focus(),t.toggle(null,"manual")}},R=O=>{if(O.pointerType!=="touch"){var q;(q=r.current)===null||q===void 0||q.focus(),t.toggle(O.pointerType==="keyboard"||O.pointerType==="virtual"?"first":null,"manual")}},w=Dt({id:m.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||S.id}),I=Dt({id:b.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||S.id}),A=o.useRef(0),z=O=>{if(c||d)return;if(O.timeStamp-A.current<500){var q;O.preventDefault(),(q=r.current)===null||q===void 0||q.focus();return}let ne=O.target.getBoundingClientRect(),Qe=O.changedTouches[0],re=Math.ceil(ne.left+.5*ne.width),Zt=Math.ceil(ne.top+.5*ne.height);if(Qe.clientX===re&&Qe.clientY===Zt){var cu;O.preventDefault(),(cu=r.current)===null||cu===void 0||cu.focus(),t.toggle(null,"manual"),A.current=O.timeStamp}},K=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var N;let H=(N=K==null?void 0:K.parentKey)!==null&&N!==void 0?N:null;var G;let Q=(G=t.selectionManager.focusedKey)!==null&&G!==void 0?G:null,me=o.useRef(H),ue=o.useRef(Q);o.useEffect(()=>{if(xr()&&K!=null&&Q!=null&&Q!==ue.current){let q=t.selectionManager.isSelected(Q),ne=H!=null?t.collection.getItem(H):null,Qe=(ne==null?void 0:ne["aria-label"])||(typeof(ne==null?void 0:ne.rendered)=="string"?ne.rendered:"")||"";var O;let re=p.format("focusAnnouncement",{isGroupChange:(O=ne&&H!==me.current)!==null&&O!==void 0?O:!1,groupTitle:Qe,groupCount:ne?[...we(ne,t.collection)].length:0,optionText:K["aria-label"]||K.textValue||"",isSelected:q});$t(re)}me.current=H,ue.current=Q});let se=Kl(t.collection),L=o.useRef(se),ee=o.useRef(t.isOpen);o.useEffect(()=>{let O=t.isOpen!==ee.current&&(t.selectionManager.focusedKey==null||xr());if(t.isOpen&&(O||se!==L.current)){let q=p.format("countAnnouncement",{optionCount:se});$t(q)}L.current=se,ee.current=t.isOpen});let j=o.useRef(t.selectedKey);return o.useEffect(()=>{if(xr()&&t.isFocused&&t.selectedItem&&t.selectedKey!==j.current){let O=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",q=p.format("selectedAnnouncement",{optionText:O});$t(q)}j.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return Tl([r.current,n.current].filter(O=>O!=null))},[t.isOpen,r,n]),Sn(()=>{!K&&r.current&&Ke(le(r.current))===r.current&&Rc(r.current,null)},[K]),{labelProps:S,buttonProps:{...m,...w,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:V,onPressStart:R,isDisabled:c||d},inputProps:_(k,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":K?Pf(t,K.key):void 0,onTouchEnd:z,autoCorrect:"off",spellCheck:"false"}),listBoxProps:_(b,I,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:M,errorMessageProps:E,isInvalid:T,validationErrors:v,validationDetails:F}}var $p={};$p={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var gp={};gp={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var Dp={};Dp={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var vp={};vp={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var yp={};yp={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var xp={};xp={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var Cp={};Cp={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var Ep={};Ep={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var Bp={};Bp={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var kp={};kp={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var Pp={};Pp={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var Sp={};Sp={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var Ap={};Ap={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var wp={};wp={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var Fp={};Fp={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var Tp={};Tp={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var Ip={};Ip={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var Rp={};Rp={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var Kp={};Kp={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var Mp={};Mp={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var zp={};zp={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var Np={};Np={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var Vp={};Vp={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var _p={};_p={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var jp={};jp={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var Lp={};Lp={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var Op={};Op={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var Hp={};Hp={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var Up={};Up={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var Wp={};Wp={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var Zp={};Zp={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var Gp={};Gp={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var qp={};qp={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var Yp={};Yp={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var er={};er={"ar-AE":$p,"bg-BG":gp,"cs-CZ":Dp,"da-DK":vp,"de-DE":yp,"el-GR":xp,"en-US":Cp,"es-ES":Ep,"et-EE":Bp,"fi-FI":kp,"fr-FR":Pp,"he-IL":Sp,"hr-HR":Ap,"hu-HU":wp,"it-IT":Fp,"ja-JP":Tp,"ko-KR":Ip,"lt-LT":Rp,"lv-LV":Kp,"nb-NO":Mp,"nl-NL":zp,"pl-PL":Np,"pt-BR":Vp,"pt-PT":_p,"ro-RO":jp,"ru-RU":Lp,"sk-SK":Op,"sl-SI":Hp,"sr-SP":Up,"sv-SE":Wp,"tr-TR":Zp,"uk-UA":Gp,"zh-CN":qp,"zh-TW":Yp};function zl(e,t,u){let{direction:n}=pe(),r=o.useMemo(()=>ba(t),[t]),a=s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in e&&(s.preventDefault(),s.stopPropagation(),e.setOpen(!0)),!u))switch(s.key){case"ArrowLeft":if(s.preventDefault(),s.stopPropagation(),n==="rtl"){if(t.current){let d=s.target,c=ms(t.current,d.getBoundingClientRect().left,-1);c&&c.focus()}}else r.focusPrevious();break;case"ArrowRight":if(s.preventDefault(),s.stopPropagation(),n==="rtl"){if(t.current){let d=s.target,c=ms(t.current,d.getBoundingClientRect().left,1);c&&c.focus()}}else r.focusNext();break}},i=()=>{var s;if(!t.current)return;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=ke(t.current,{tabbable:!0});if(d&&(c.currentNode=d,d=c.previousNode()),!d){let f;do f=c.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:l}=Je({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return _(l,{onKeyDown:a})}function ms(e,t,u){let n=ke(e,{tabbable:!0}),r=n.nextNode(),a=null,i=1/0;for(;r;){let s=r.getBoundingClientRect().left-t,d=Math.abs(s);Math.sign(s)===u&&d<i&&(a=r,i=d),r=n.nextNode()}return a}function WD(e){return e&&e.__esModule?e.default:e}const Jp=new WeakMap,Bn="__role_"+Date.now(),Qp="__focusManager_"+Date.now();function Xp(e,t,u){var n;let{isInvalid:r,validationErrors:a,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=ou({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||a}),f=o.useRef(null),{focusWithinProps:p}=ft({...e,onFocusWithin(S){var k;f.current=t.value,(k=e.onFocus)===null||k===void 0||k.call(e,S)},onBlurWithin:S=>{var k;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(k=e.onBlur)===null||k===void 0||k.call(e,S)},onFocusWithinChange:e.onFocusChange}),m=De(WD(er),"@react-aria/datepicker"),b=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",g=t.maxGranularity==="hour"?"time":"date",$=t.value?m.format(b,{[g]:t.formatValue({month:"long"})}):"",D=yt($),y=e[Bn]==="presentation"?s["aria-describedby"]:[D["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,x=e[Qp],C=o.useMemo(()=>x||ba(u),[x,u]),B=zl(t,u,e[Bn]==="presentation");Jp.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:y,focusManager:C});let P=o.useRef(e.autoFocus),T;e[Bn]==="presentation"?T={role:"presentation"}:T=_(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":y}),o.useEffect(()=>{P.current&&C.focusFirst(),P.current=!1},[C]),Un(e.inputRef,t.value,t.setValue),Qn({...e,focus(){C.focusFirst()}},t,e.inputRef);let v={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(v.type="text",v.hidden=!0,v.required=e.isRequired,v.onChange=()=>{});let F=U(e);return{labelProps:{...l,onClick:()=>{C.focusFirst()}},fieldProps:_(F,T,B,p,{onKeyDown(S){e.onKeyDown&&e.onKeyDown(S)},onKeyUp(S){e.onKeyUp&&e.onKeyUp(S)},style:{unicodeBidi:"isolate"}}),inputProps:v,descriptionProps:d,errorMessageProps:c,isInvalid:r,validationErrors:a,validationDetails:i}}function ZD(e){return e&&e.__esModule?e.default:e}function GD(e,t,u){let n=oe(),r=oe(),a=oe(),i=De(ZD(er),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=ou({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=zl(t,u),g=f["aria-labelledby"]||f.id,{locale:$}=pe(),D=t.formatValue($,{month:"long"}),y=D?i.format("selectedDateDescription",{date:D}):"",x=yt(y),C=[x["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,B=U(e),P=o.useMemo(()=>ba(u),[u]),T=o.useRef(!1),{focusWithinProps:v}=ft({...e,isDisabled:t.isOpen,onBlurWithin:F=>{let S=document.getElementById(r);if(!(S!=null&&S.contains(F.relatedTarget))){var k,M;T.current=!1,(k=e.onBlur)===null||k===void 0||k.call(e,F),(M=e.onFocusChange)===null||M===void 0||M.call(e,!1)}},onFocusWithin:F=>{if(!T.current){var S,k;T.current=!0,(S=e.onFocus)===null||S===void 0||S.call(e,F),(k=e.onFocusChange)===null||k===void 0||k.call(e,!0)}}});return{groupProps:_(B,b,f,x,v,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":g,"aria-describedby":C,onKeyDown(F){t.isOpen||e.onKeyDown&&e.onKeyDown(F)},onKeyUp(F){t.isOpen||e.onKeyUp&&e.onKeyUp(F)}}),labelProps:{...c,onClick:()=>{P.focusFirst()}},fieldProps:{...f,id:a,[Bn]:"presentation","aria-describedby":C,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[nu]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:m,buttonProps:{...x,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${g}`,"aria-describedby":C,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:r,"aria-labelledby":`${n} ${g}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function qD(e){return e&&e.__esModule?e.default:e}function YD(){let{locale:e}=pe(),t=ec(qD(er),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new JD(e,t)}},[e,t])}class JD{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function QD(e,t,u){let n=o.useRef(""),{locale:r,direction:a}=pe(),i=YD(),{ariaLabel:l,ariaLabelledBy:s,ariaDescribedBy:d,focusManager:c}=Jp.get(t),f=e.isPlaceholder?"":e.text,p=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),m=bt({month:"long",timeZone:p.timeZone}),b=bt({hour:"numeric",hour12:p.hour12,timeZone:p.timeZone});if(e.type==="month"&&!e.isPlaceholder){let K=m.format(t.dateValue);f=K!==f?`${f} – ${K}`:K}else e.type==="hour"&&!e.isPlaceholder&&(f=b.format(t.dateValue));let{spinButtonProps:g}=iD({value:e.value,textValue:f,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),$=o.useMemo(()=>new Sc(r,{maximumFractionDigits:0}),[r]),D=()=>{if(e.text===e.placeholder&&c.focusPrevious(),$.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let K=e.text.slice(0,-1),N=$.parse(K);K=N===0?"":K,K.length===0||N===0?t.clearSegment(e.type):t.setSegment(e.type,N),n.current=K}else e.type==="dayPeriod"&&t.clearSegment(e.type)},y=K=>{if(K.key==="a"&&(gt()?K.metaKey:K.ctrlKey)&&K.preventDefault(),!(K.ctrlKey||K.metaKey||K.shiftKey||K.altKey))switch(K.key){case"Backspace":case"Delete":K.preventDefault(),K.stopPropagation(),D();break}},{startsWith:x}=Ac({sensitivity:"base"}),C=bt({hour:"numeric",hour12:!0}),B=o.useMemo(()=>{let K=new Date;return K.setHours(0),C.formatToParts(K).find(N=>N.type==="dayPeriod").value},[C]),P=o.useMemo(()=>{let K=new Date;return K.setHours(12),C.formatToParts(K).find(N=>N.type==="dayPeriod").value},[C]),T=bt({year:"numeric",era:"narrow",timeZone:"UTC"}),v=o.useMemo(()=>{if(e.type!=="era")return[];let K=ge(new Te(1,1,1),t.calendar),N=t.calendar.getEras().map(G=>{let Q=K.set({year:1,month:1,day:1,era:G}).toDate("UTC"),ue=T.formatToParts(Q).find(se=>se.type==="era").value;return{era:G,formatted:ue}}),H=XD(N.map(G=>G.formatted));if(H)for(let G of N)G.formatted=G.formatted.slice(H);return N},[T,t.calendar,e.type]),F=K=>{if(t.isDisabled||t.isReadOnly)return;let N=n.current+K;switch(e.type){case"dayPeriod":if(x(B,K))t.setSegment("dayPeriod",0);else if(x(P,K))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let H=v.find(G=>x(G.formatted,K));H&&(t.setSegment("era",H.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!$.isValidPartialNumber(N))return;let H=$.parse(N),G=H,Q=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":H>11&&(G=$.parse(K));break;case"h12":Q=!1,H>12&&(G=$.parse(K));break}e.value!==void 0&&e.value>=12&&H>1&&(H+=12)}else e.maxValue!==void 0&&H>e.maxValue&&(G=$.parse(K));if(isNaN(H))return;let me=G!==0||Q;me&&t.setSegment(e.type,G),e.maxValue!==void 0&&(+(H+"0")>e.maxValue||N.length>=String(e.maxValue).length)?(n.current="",me&&c.focusNext()):n.current=N;break}}},S=()=>{n.current="",u.current&&Ve(u.current,{containingElement:Ne(u.current)});let K=window.getSelection();K==null||K.collapse(u.current)},k=o.useRef(typeof document<"u"?document:null);dt(k,"selectionchange",()=>{var K;let N=window.getSelection();N!=null&&N.anchorNode&&(!((K=u.current)===null||K===void 0)&&K.contains(N==null?void 0:N.anchorNode))&&N.collapse(u.current)});let M=o.useRef("");dt(u,"beforeinput",K=>{if(u.current)switch(K.preventDefault(),K.inputType){case"deleteContentBackward":case"deleteContentForward":$.isValidPartialNumber(e.text)&&!t.isReadOnly&&D();break;case"insertCompositionText":M.current=u.current.textContent,u.current.textContent=u.current.textContent;break;default:K.data!=null&&F(K.data);break}}),dt(u,"input",K=>{let{inputType:N,data:H}=K;switch(N){case"insertCompositionText":u.current&&(u.current.textContent=M.current),H!=null&&(x(B,H)||x(P,H))&&F(H);break}}),Y(()=>{let K=u.current;return()=>{document.activeElement===K&&(c.focusPrevious()||c.focusNext())}},[u,c]);let E=On()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},V=o.useMemo(()=>t.segments.find(K=>K.isEditable),[t.segments]);e!==V&&!t.isInvalid&&(d=void 0);let R=oe(),w=!t.isDisabled&&!t.isReadOnly&&e.isEditable,I=e.type==="literal"?"":i.of(e.type),A=Dt({"aria-label":`${I}${l?`, ${l}`:""}${s?", ":""}`,"aria-labelledby":s});if(e.type==="literal")return{segmentProps:{"aria-hidden":!0}};let z={caretColor:"transparent"};if(a==="rtl"){z.unicodeBidi="embed";let K=p[e.type];(K==="numeric"||K==="2-digit")&&(z.direction="ltr")}return{segmentProps:_(g,A,{id:R,...E,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":d,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:w,suppressContentEditableWarning:w,spellCheck:w?"false":void 0,autoCorrect:w?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:w?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!w?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:y,onFocus:S,style:z,onPointerDown(K){K.stopPropagation()},onMouseDown(K){K.stopPropagation()}})}}function XD(e){e.sort();let t=e[0],u=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==u[n])return n;return 0}function ev(e){return e&&e.__esModule?e.default:e}function tv(e,t,u){var n,r,a;let i=De(ev(er),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=ou({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=f["aria-labelledby"]||f.id,{locale:g}=pe(),$=t.formatValue(g,{month:"long"}),D=$?i.format("selectedRangeDescription",{startDate:$.start,endDate:$.end}):"",y=yt(D),x={"aria-label":i.format("startDate"),"aria-labelledby":b},C={"aria-label":i.format("endDate"),"aria-labelledby":b},B=oe(),P=oe(),T=zl(t,u),v=[y["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,F=o.useMemo(()=>ba(u,{accept:A=>A.id!==B}),[u,B]),S={[Qp]:F,[Bn]:"presentation","aria-describedby":v,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},k=U(e),M=o.useRef(!1),{focusWithinProps:E}=ft({...e,isDisabled:t.isOpen,onBlurWithin:A=>{let z=document.getElementById(P);if(!(z!=null&&z.contains(A.relatedTarget))){var K,N;M.current=!1,(K=e.onBlur)===null||K===void 0||K.call(e,A),(N=e.onFocusChange)===null||N===void 0||N.call(e,!1)}},onFocusWithin:A=>{if(!M.current){var z,K;M.current=!0,(z=e.onFocus)===null||z===void 0||z.call(e,A),(K=e.onFocusChange)===null||K===void 0||K.call(e,!0)}}}),V=o.useRef(Jt),R=o.useRef(Jt);var w,I;return{groupProps:_(k,T,f,y,E,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":v,onKeyDown(A){t.isOpen||e.onKeyDown&&e.onKeyDown(A)},onKeyUp(A){t.isOpen||e.onKeyUp&&e.onKeyUp(A)}}),labelProps:{...c,onClick:()=>{F.focusFirst()}},buttonProps:{...y,id:B,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${B} ${b}`,"aria-describedby":v,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:P,"aria-labelledby":`${B} ${b}`},startFieldProps:{...x,...S,value:(w=(n=t.value)===null||n===void 0?void 0:n.start)!==null&&w!==void 0?w:null,onChange:A=>t.setDateTime("start",A),autoFocus:e.autoFocus,name:e.startName,[nu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(A){V.current=A,t.updateValidation(_n(A,R.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...S,value:(I=(r=t.value)===null||r===void 0?void 0:r.end)!==null&&I!==void 0?I:null,onChange:A=>t.setDateTime("end",A),name:e.endName,[nu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(A){R.current=A,t.updateValidation(_n(V.current,A))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:p,errorMessageProps:m,calendarProps:{autoFocus:!0,value:!((a=t.dateRange)===null||a===void 0)&&a.start&&t.dateRange.end?t.dateRange:null,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function e1(e,t){let{role:u="dialog"}=e,n=it();n=e["aria-label"]?void 0:n;let r=o.useRef(!1);return o.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){ye(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(r.current=!0,t.current&&(t.current.blur(),ye(t.current)),r.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),kf(),{dialogProps:{...U(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{r.current&&a.stopPropagation()}},titleProps:{id:n}}}function uv(e,t,u){let{isDisabled:n}=e,r=oe(),a=oe(),l=!au()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),Lt.flushSync(()=>{t.toggle()})},[u,t]);return dt(u,"beforematch",l?d:null),Y(()=>{s.current&&cancelAnimationFrame(s.current),l&&u.current&&!n&&(t.isExpanded?u.current.removeAttribute("hidden"):u.current.setAttribute("hidden","until-found"))},[n,u,t.isExpanded,l]),o.useEffect(()=>()=>{s.current&&cancelAnimationFrame(s.current)},[]),{buttonProps:{id:r,"aria-expanded":t.isExpanded,"aria-controls":a,onPress:c=>{!n&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:n,onPressStart(c){c.pointerType==="keyboard"&&!n&&t.toggle()}},panelProps:{id:a,role:"group","aria-labelledby":r,"aria-hidden":!t.isExpanded,hidden:l?!0:!t.isExpanded}}}var Le=function(e){return e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all",e}({});const t1={...Le,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},nv=Nl(t1);nv[7]="all";Nl(Le);const u1={none:"cancel",link:"link",copy:"copy",move:"move"},ui=Nl(u1);function Nl(e){let t={};for(let u in e)t[e[u]]=u;return t}const rv=new Set(["text/plain","text/uri-list","text/html"]),Zr="application/vnd.react-aria.items+json",Gr="application/octet-stream",av=Symbol();function iv(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function lv(){return iv(ll())}function bs(e,t){let u=new Map,n=!1,r=[];for(let a of t){let i=Object.keys(a);i.length>1&&(n=!0);let l={};for(let s of i){let d=u.get(s);d?n=!0:(d=[],u.set(s,d));let c=a[s];l[s]=c,d.push(c)}r.push(l)}for(let[a,i]of u)if(rv.has(a)){let l=i.join(`
|
|
18
|
-
`);e.items.add(l,a)}else e.items.add(i[0],a);if(n){let a=JSON.stringify(r);e.items.add(a,Zr)}}class hr{has(t){return this.includesUnknownTypes||t===av&&this.types.has(Gr)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let u=!1;for(let n of t.items)n.type!==Zr&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(Gr));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function n1(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(Zr))try{let n=e.getData(Zr),r=JSON.parse(n);for(let a of r)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});u=!0}catch{}if(!u){let n=new Map;for(let r of e.items)if(r.kind==="string")n.set(r.type||Gr,e.getData(r.type));else if(r.kind==="file")if(typeof r.webkitGetAsEntry=="function"){let a=r.webkitGetAsEntry();if(!a)continue;a.isFile?t.push(zi(r.getAsFile())):a.isDirectory&&t.push(r1(a))}else t.push(zi(r.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:r=>Promise.resolve(n.get(r))})}return t}function ov(e){return typeof e.text=="function"?e.text():new Promise((t,u)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=u,n.readAsText(e)})}function zi(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||Gr,name:e.name,getText:()=>ov(e),getFile:()=>Promise.resolve(e)}}function r1(e){return{kind:"directory",name:e.name,getEntries:()=>sv(e)}}async function*sv(e){let t=e.createReader(),u;do{u=await new Promise((n,r)=>{t.readEntries(n,r)});for(let n of u)if(n.isFile){let r=await dv(n);yield zi(r)}else n.isDirectory&&(yield r1(n))}while(u.length>0)}function dv(e){return new Promise((t,u)=>e.file(t,u))}let a1={draggingKeys:new Set};function cv(e){a1=e}let hs=Le.none,$s=new Map,gs=null,Ds=new Set;function fv(e){return $s.set(e.element,e),()=>{$s.delete(e.element)}}function pv(){let[e,t]=o.useState(gs);return o.useEffect(()=>{let u=()=>t(gs);return Ds.add(u),()=>{Ds.delete(u)}},[]),e}var i1={};i1={dragDescriptionKeyboard:"اضغط Enter لبدء السحب.",dragDescriptionKeyboardAlt:"اضغط على Alt + Enter لبدء السحب.",dragDescriptionLongPress:"اضغط باستمرار لبدء السحب.",dragDescriptionTouch:"اضغط مرتين لبدء السحب.",dragDescriptionVirtual:"انقر لبدء السحب.",dragItem:e=>`اسحب ${e.itemText}`,dragSelectedItems:(e,t)=>`اسحب ${t.plural(e.count,{one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عناصر محددة`})}`,dragSelectedKeyboard:(e,t)=>`اضغط على Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedKeyboardAlt:(e,t)=>`اضغط على مفتاحي Alt + Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedLongPress:(e,t)=>`اضغط باستمرار للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragStartedKeyboard:"بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.",dragStartedTouch:"بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.",dragStartedVirtual:"بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.",dropCanceled:"تم إلغاء الإفلات.",dropComplete:"اكتمل الإفلات.",dropDescriptionKeyboard:"اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.",dropDescriptionTouch:"اضغط مرتين للإفلات.",dropDescriptionVirtual:"انقر للإفلات.",dropIndicator:"مؤشر الإفلات",dropOnItem:e=>`إفلات ${e.itemText}`,dropOnRoot:"الإفلات",endDragKeyboard:"السحب. اضغط Enter لإلغاء السحب.",endDragTouch:"السحب. اضغط مرتين لإلغاء السحب.",endDragVirtual:"السحب. انقر لإلغاء السحب.",insertAfter:e=>`أدخل بعد ${e.itemText}`,insertBefore:e=>`أدخل قبل ${e.itemText}`,insertBetween:e=>`أدخل بين ${e.beforeItemText} و ${e.afterItemText}`};var l1={};l1={dragDescriptionKeyboard:"Натиснете „Enter“, за да започнете да плъзгате.",dragDescriptionKeyboardAlt:"Натиснете Alt + Enter, за да започнете да плъзгате.",dragDescriptionLongPress:"Натиснете продължително, за да започнете да плъзгате.",dragDescriptionTouch:"Натиснете двукратно, за да започнете да плъзгате.",dragDescriptionVirtual:"Щракнете, за да започнете да плъзгате.",dragItem:e=>`Плъзни ${e.itemText}`,dragSelectedItems:(e,t)=>`Плъзни ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елемента`})}`,dragSelectedKeyboard:(e,t)=>`Натиснете Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натиснете Alt и Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedLongPress:(e,t)=>`Натиснете продължително, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragStartedKeyboard:"Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.",dragStartedTouch:"Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.",dragStartedVirtual:"Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.",dropCanceled:"Пускането е отменено.",dropComplete:"Пускането е завършено.",dropDescriptionKeyboard:"Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.",dropDescriptionTouch:"Натиснете двукратно за пускане.",dropDescriptionVirtual:"Щракнете за пускане.",dropIndicator:"индикатор за пускане",dropOnItem:e=>`Пусни върху ${e.itemText}`,dropOnRoot:"Пусни върху",endDragKeyboard:"Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.",endDragTouch:"Плъзгане. Натиснете двукратно за отмяна на плъзгането.",endDragVirtual:"Плъзгане. Щракнете за отмяна.",insertAfter:e=>`Вмъкни след ${e.itemText}`,insertBefore:e=>`Вмъкни преди ${e.itemText}`,insertBetween:e=>`Вмъкни между ${e.beforeItemText} и ${e.afterItemText}`};var o1={};o1={dragDescriptionKeyboard:"Stisknutím klávesy Enter začnete s přetahováním.",dragDescriptionKeyboardAlt:"Stisknutím Alt + Enter zahájíte přetahování.",dragDescriptionLongPress:"Dlouhým stisknutím zahájíte přetahování.",dragDescriptionTouch:"Poklepáním začnete s přetahováním.",dragDescriptionVirtual:"Kliknutím začnete s přetahováním.",dragItem:e=>`Přetáhnout ${e.itemText}`,dragSelectedItems:(e,t)=>`Přetáhnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,few:()=>`${t.number(e.count)} vybrané položky`,other:()=>`${t.number(e.count)} vybraných položek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknutím klávesy Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknutím Alt + Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouhým stisknutím přetáhnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragStartedKeyboard:"Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dragStartedTouch:"Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.",dragStartedVirtual:"Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.",dropCanceled:"Přetažení bylo zrušeno.",dropComplete:"Přetažení bylo dokončeno.",dropDescriptionKeyboard:"Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dropDescriptionTouch:"Poklepáním přetažení dokončete.",dropDescriptionVirtual:"Kliknutím objekt přetáhněte.",dropIndicator:"indikátor přetažení",dropOnItem:e=>`Přetáhnout na ${e.itemText}`,dropOnRoot:"Přetáhnout na",endDragKeyboard:"Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.",endDragTouch:"Probíhá přetahování. Poklepáním přetažení zrušíte.",endDragVirtual:"Probíhá přetahování. Kliknutím přetažení zrušíte.",insertAfter:e=>`Vložit za ${e.itemText}`,insertBefore:e=>`Vložit před ${e.itemText}`,insertBetween:e=>`Vložit mezi ${e.beforeItemText} a ${e.afterItemText}`};var s1={};s1={dragDescriptionKeyboard:"Tryk på Enter for at starte med at trække.",dragDescriptionKeyboardAlt:"Tryk på Alt + Enter for at starte med at trække.",dragDescriptionLongPress:"Tryk længe for at starte med at trække.",dragDescriptionTouch:"Dobbelttryk for at starte med at trække.",dragDescriptionVirtual:"Klik for at starte med at trække.",dragItem:e=>`Træk ${e.itemText}`,dragSelectedItems:(e,t)=>`Træk ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk på Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk på Alt + Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk længe for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.",dragStartedTouch:"Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldført.",dropDescriptionKeyboard:"Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip på ${e.itemText}`,dropOnRoot:"Slip på",endDragKeyboard:"Trækning. Tryk på enter for at annullere træk.",endDragTouch:"Trækning. Dobbelttryk for at annullere træk.",endDragVirtual:"Trækning. Klik for at annullere trækning.",insertAfter:e=>`Indsæt efter ${e.itemText}`,insertBefore:e=>`Indsæt før ${e.itemText}`,insertBetween:e=>`Indsæt mellem ${e.beforeItemText} og ${e.afterItemText}`};var d1={};d1={dragDescriptionKeyboard:"Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe drücken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang drücken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Objekt`,other:()=>`${t.number(e.count)} ausgewählte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einfügen`,insertBefore:e=>`Vor ${e.itemText} einfügen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einfügen`};var c1={};c1={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var f1={};f1={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var p1={};p1={dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al público destinatario donde se vaya a colocar y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocación.",dropComplete:"Colocación finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocación",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar después de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var m1={};m1={dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Klõpsake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksust`,other:()=>`${t.number(e.count)} valitud üksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks klõpsake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks klõpsake.",insertAfter:e=>`Sisesta ${e.itemText} järele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var b1={};b1={dragDescriptionKeyboard:"Aloita vetäminen painamalla Enter-näppäintä.",dragDescriptionKeyboardAlt:"Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.",dragDescriptionLongPress:"Aloita vetäminen pitämällä painettuna.",dragDescriptionTouch:"Aloita vetäminen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vetäminen napsauttamalla.",dragItem:e=>`Vedä kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Vedä ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Vedä painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Vedä painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Vedä pitämällä painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.",dragStartedTouch:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.",endDragTouch:"Vedetään. Peruuta vetäminen kaksoisnapauttamalla.",endDragVirtual:"Vedetään. Peruuta vetäminen napsauttamalla.",insertAfter:e=>`Lisää kohteen ${e.itemText} jälkeen`,insertBefore:e=>`Lisää ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lisää kohteiden ${e.beforeItemText} ja ${e.afterItemText} väliin`};var h1={};h1={dragDescriptionKeyboard:"Appuyez sur Entrée pour commencer le déplacement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt + Entrée pour commencer à faire glisser.",dragDescriptionLongPress:"Appuyez de manière prolongée pour commencer à faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le déplacement.",dragDescriptionVirtual:"Cliquez pour commencer le déplacement.",dragItem:e=>`Déplacer ${e.itemText}`,dragSelectedItems:(e,t)=>`Déplacer ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt + Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de manière prolongée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragStartedKeyboard:"Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.",dragStartedTouch:"Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.",dragStartedVirtual:"Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.",dropCanceled:"Dépôt annulé.",dropComplete:"Dépôt terminé.",dropDescriptionKeyboard:"Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.",dropDescriptionTouch:"Touchez deux fois pour déposer.",dropDescriptionVirtual:"Cliquez pour déposer.",dropIndicator:"indicateur de dépôt",dropOnItem:e=>`Déposer sur ${e.itemText}`,dropOnRoot:"Déposer sur",endDragKeyboard:"Déplacement. Appuyez sur Entrée pour annuler le déplacement.",endDragTouch:"Déplacement. Touchez deux fois pour annuler le déplacement.",endDragVirtual:"Déplacement. Cliquez pour annuler le déplacement.",insertAfter:e=>`Insérer après ${e.itemText}`,insertBefore:e=>`Insérer avant ${e.itemText}`,insertBetween:e=>`Insérer entre ${e.beforeItemText} et ${e.afterItemText}`};var $1={};$1={dragDescriptionKeyboard:"הקש על Enter כדי להתחיל לגרור.",dragDescriptionKeyboardAlt:"הקש Alt + Enter כדי להתחיל לגרור.",dragDescriptionLongPress:"לחץ לחיצה ארוכה כדי להתחיל לגרור.",dragDescriptionTouch:"הקש פעמיים כדי להתחיל בגרירה.",dragDescriptionVirtual:"לחץ כדי להתחיל לגרור.",dragItem:e=>`גרור את ${e.itemText}`,dragSelectedItems:(e,t)=>`גרור ${t.plural(e.count,{one:()=>`פריט נבחר ${t.number(e.count)}`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}`,dragSelectedKeyboard:(e,t)=>`הקש על Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedKeyboardAlt:(e,t)=>`הקש Alt + Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedLongPress:(e,t)=>`לחץ לחיצה ארוכה כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragStartedKeyboard:"התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.",dragStartedTouch:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.",dragStartedVirtual:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.",dropCanceled:"השחרור בוטל.",dropComplete:"השחרור הושלם.",dropDescriptionKeyboard:"הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.",dropDescriptionTouch:"הקש פעמיים כדי לשחרר.",dropDescriptionVirtual:"לחץ כדי לשחרר.",dropIndicator:"מחוון שחרור",dropOnItem:e=>`שחרר על ${e.itemText}`,dropOnRoot:"שחרר על",endDragKeyboard:"גורר. הקש על Enter כדי לבטל את הגרירה.",endDragTouch:"גורר. הקש פעמיים כדי לבטל את הגרירה.",endDragVirtual:"גורר. לחץ כדי לבטל את הגרירה.",insertAfter:e=>`הוסף אחרי ${e.itemText}`,insertBefore:e=>`הוסף לפני ${e.itemText}`,insertBetween:e=>`הוסף בין ${e.beforeItemText} לבין ${e.afterItemText}`};var g1={};g1={dragDescriptionKeyboard:"Pritisnite Enter da biste počeli povlačiti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za početak povlačenja.",dragDescriptionLongPress:"Dugo pritisnite za početak povlačenja.",dragDescriptionTouch:"Dvaput dodirnite da biste počeli povlačiti.",dragDescriptionVirtual:"Kliknite da biste počeli povlačiti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.",dragStartedTouch:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povlačenje je prekinuto.",dropComplete:"Ispuštanje je dovršeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispuštanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.",endDragTouch:"Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.",endDragVirtual:"Povlačenje. Kliknite da biste prekinuli povlačenje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite između stavki ${e.beforeItemText} i ${e.afterItemText}`};var D1={};D1={dragDescriptionKeyboard:"Nyomja le az Enter billentyűt a húzás megkezdéséhez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.",dragDescriptionLongPress:"Hosszan nyomja meg a húzás elindításához.",dragDescriptionTouch:"Koppintson duplán a húzás megkezdéséhez.",dragDescriptionVirtual:"Kattintson a húzás megkezdéséhez.",dragItem:e=>`${e.itemText} húzása`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzása`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billentyűket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragStartedKeyboard:"Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.",dragStartedTouch:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.",dragStartedVirtual:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.",dropCanceled:"Elengedés megszakítva.",dropComplete:"Elengedés teljesítve.",dropDescriptionKeyboard:"Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.",dropDescriptionTouch:"Koppintson duplán az elengedéshez.",dropDescriptionVirtual:"Kattintson az elengedéshez.",dropIndicator:"elengedésjelző",dropOnItem:e=>`Elengedés erre: ${e.itemText}`,dropOnRoot:"Elengedés erre:",endDragKeyboard:"Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.",endDragTouch:"Húzás folyamatban. Koppintson duplán a húzás megszakításához.",endDragVirtual:"Húzás folyamatban. Kattintson a húzás megszakításához.",insertAfter:e=>`Beszúrás ${e.itemText} után`,insertBefore:e=>`Beszúrás ${e.itemText} elé`,insertBetween:e=>`Beszúrás ${e.beforeItemText} és ${e.afterItemText} közé`};var v1={};v1={dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var y1={};y1={dragDescriptionKeyboard:"Enter キーを押してドラッグを開始してください。",dragDescriptionKeyboardAlt:"Alt+Enter キーを押してドラッグを開始します。",dragDescriptionLongPress:"長押ししてドラッグを開始します。",dragDescriptionTouch:"ダブルタップしてドラッグを開始します。",dragDescriptionVirtual:"クリックしてドラッグを開始します。",dragItem:e=>`${e.itemText} をドラッグ`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の選択項目`,other:()=>`${t.number(e.count)} 個の選択項目`})} をドラッグ`,dragSelectedKeyboard:(e,t)=>`Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedLongPress:(e,t)=>`長押しして、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragStartedKeyboard:"ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。",dragStartedTouch:"ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。",dragStartedVirtual:"ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。",dropCanceled:"ドロップがキャンセルされました。",dropComplete:"ドロップが完了しました。",dropDescriptionKeyboard:"Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。",dropDescriptionTouch:"ダブルタップしてドロップします。",dropDescriptionVirtual:"クリックしてドロップします。",dropIndicator:"ドロップインジケーター",dropOnItem:e=>`${e.itemText} にドロップ`,dropOnRoot:"ドロップ場所",endDragKeyboard:"ドラッグしています。Enter キーを押してドラッグをキャンセルします。",endDragTouch:"ドラッグしています。ダブルタップしてドラッグをキャンセルします。",endDragVirtual:"ドラッグしています。クリックしてドラッグをキャンセルします。",insertAfter:e=>`${e.itemText} の後に挿入`,insertBefore:e=>`${e.itemText} の前に挿入`,insertBetween:e=>`${e.beforeItemText} と ${e.afterItemText} の間に挿入`};var x1={};x1={dragDescriptionKeyboard:"드래그를 시작하려면 Enter를 누르세요.",dragDescriptionKeyboardAlt:"드래그를 시작하려면 Alt + Enter를 누르십시오.",dragDescriptionLongPress:"드래그를 시작하려면 길게 누르십시오.",dragDescriptionTouch:"드래그를 시작하려면 더블 탭하세요.",dragDescriptionVirtual:"드래그를 시작하려면 클릭하세요.",dragItem:e=>`${e.itemText} 드래그`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})} 드래그`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Enter를 누르십시오.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Alt + Enter를 누르십시오.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 길게 누르십시오.`,dragStartedKeyboard:"드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.",dragStartedTouch:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.",dragStartedVirtual:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.",dropCanceled:"드롭이 취소되었습니다.",dropComplete:"드롭이 완료되었습니다.",dropDescriptionKeyboard:"드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.",dropDescriptionTouch:"더블 탭하여 드롭하세요.",dropDescriptionVirtual:"드롭하려면 클릭하세요.",dropIndicator:"드롭 표시기",dropOnItem:e=>`${e.itemText}에 드롭`,dropOnRoot:"드롭 대상",endDragKeyboard:"드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.",endDragTouch:"드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.",endDragVirtual:"드래그 중입니다. 드래그를 취소하려면 클릭하세요.",insertAfter:e=>`${e.itemText} 이후에 삽입`,insertBefore:e=>`${e.itemText} 이전에 삽입`,insertBetween:e=>`${e.beforeItemText} 및 ${e.afterItemText} 사이에 삽입`};var C1={};C1={dragDescriptionKeyboard:"Paspauskite „Enter“, kad pradėtumėte vilkti.",dragDescriptionKeyboardAlt:"Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.",dragDescriptionLongPress:"Palaikykite nuspaudę, kad pradėtumėte vilkti.",dragDescriptionTouch:"Palieskite dukart, kad pradėtumėte vilkti.",dragDescriptionVirtual:"Spustelėkite, kad pradėtumėte vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite „Enter“, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaudę palaikykite, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.",dragStartedTouch:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.",dragStartedVirtual:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.",dropCanceled:"Numetimas atšauktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.",dropDescriptionTouch:"Palieskite dukart, kad numestumėte.",dropDescriptionVirtual:"Spustelėkite, kad numestumėte.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.",endDragTouch:"Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.",endDragVirtual:"Velkama. Spustelėkite, kad atšauktumėte vilkimą.",insertAfter:e=>`Įterpti po ${e.itemText}`,insertBefore:e=>`Įterpti prieš ${e.itemText}`,insertBetween:e=>`Įterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var E1={};E1={dragDescriptionKeyboard:"Nospiediet Enter, lai sāktu vilkšanu.",dragDescriptionKeyboardAlt:"Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.",dragDescriptionLongPress:"Turiet nospiestu, lai sāktu vilkšanu.",dragDescriptionTouch:"Veiciet dubultskārienu, lai sāktu vilkšanu.",dragDescriptionVirtual:"Noklikšķiniet, lai sāktu vilkšanu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet taustiņu Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragStartedKeyboard:"Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.",dragStartedVirtual:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.",dropCanceled:"Nomešana atcelta.",dropComplete:"Nomešana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.",dropDescriptionTouch:"Veiciet dubultskārienu, lai nomestu.",dropDescriptionVirtual:"Noklikšķiniet, lai nomestu.",dropIndicator:"nomešanas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.",endDragTouch:"Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.",endDragVirtual:"Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.",insertAfter:e=>`Ievietojiet pēc ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var B1={};B1={dragDescriptionKeyboard:"Trykk på Enter for å begynne å dra.",dragDescriptionKeyboardAlt:"Trykk på Alt + Enter for å begynne å dra.",dragDescriptionLongPress:"Trykk lenge for å begynne å dra.",dragDescriptionTouch:"Dobbelttrykk for å begynne å dra.",dragDescriptionVirtual:"Klikk for å begynne å dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk på Alt + Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.",dragStartedTouch:"Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.",dragStartedVirtual:"Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.",dropCanceled:"Avbrøt slipping.",dropComplete:"Slippingen er fullført.",dropDescriptionKeyboard:"Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for å slippe.",dropDescriptionVirtual:"Klikk for å slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp på ${e.itemText}`,dropOnRoot:"Slipp på",endDragKeyboard:"Drar. Trykk på Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn før ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var k1={};k1={dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen vóór ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var P1={};P1={dragDescriptionKeyboard:"Naciśnij Enter, aby rozpocząć przeciąganie.",dragDescriptionKeyboardAlt:"Naciśnij Alt + Enter, aby rozpocząć przeciąganie.",dragDescriptionLongPress:"Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocząć przeciąganie.",dragDescriptionVirtual:"Kliknij, aby rozpocząć przeciąganie.",dragItem:e=>`Przeciągnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeciągnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych elementów`})}`,dragSelectedKeyboard:(e,t)=>`Naciśnij Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naciśnij Alt + Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedLongPress:(e,t)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragStartedKeyboard:"Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.",dragStartedTouch:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F",dragStartedVirtual:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zakończono upuszczanie.",dropDescriptionKeyboard:"Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upuścić.",dropDescriptionVirtual:"Kliknij, aby upuścić.",dropIndicator:"wskaźnik upuszczenia",dropOnItem:e=>`Upuść na ${e.itemText}`,dropOnRoot:"Upuść",endDragKeyboard:"Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.",endDragTouch:"Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.",endDragVirtual:"Przeciąganie. Kliknij, aby anulować przeciąganie.",insertAfter:e=>`Umieść za ${e.itemText}`,insertBefore:e=>`Umieść przed ${e.itemText}`,insertBetween:e=>`Umieść między ${e.beforeItemText} i ${e.afterItemText}`};var S1={};S1={dragDescriptionKeyboard:"Pressione Enter para começar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para começar a arrastar.",dragDescriptionLongPress:"Pressione e segure para começar a arrastar.",dragDescriptionTouch:"Toque duas vezes para começar a arrastar.",dragDescriptionVirtual:"Clique para começar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Liberação cancelada.",dropComplete:"Liberação concluída.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de liberação",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir após ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var A1={};A1={dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para começar a arrastar.",dragDescriptionTouch:"Faça duplo toque para começar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Faça duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Faça duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var w1={};w1={dragDescriptionKeyboard:"Apăsați pe Enter pentru a începe glisarea.",dragDescriptionKeyboardAlt:"Apăsați pe Alt + Enter pentru a începe glisarea.",dragDescriptionLongPress:"Apăsați lung pentru a începe glisarea.",dragDescriptionTouch:"Atingeți de două ori pentru a începe să glisați.",dragDescriptionVirtual:"Faceți clic pentru a începe glisarea.",dragItem:e=>`Glisați ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisați ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Apăsați pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Apăsați pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Apăsați lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.",dragStartedTouch:"A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.",dragStartedVirtual:"A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.",dropCanceled:"Fixare anulată.",dropComplete:"Fixare finalizată.",dropDescriptionKeyboard:"Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atingeți de două ori pentru a fixa.",dropDescriptionVirtual:"Faceți clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixați pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se glisează. Apăsați pe Enter pentru a anula glisarea.",endDragTouch:"Se glisează. Atingeți de două ori pentru a anula glisarea.",endDragVirtual:"Se glisează. Faceți clic pentru a anula glisarea.",insertAfter:e=>`Inserați după ${e.itemText}`,insertBefore:e=>`Inserați înainte de ${e.itemText}`,insertBetween:e=>`Inserați între ${e.beforeItemText} și ${e.afterItemText}`};var F1={};F1={dragDescriptionKeyboard:"Нажмите клавишу Enter для начала перетаскивания.",dragDescriptionKeyboardAlt:"Нажмите Alt + Enter, чтобы начать перетаскивать.",dragDescriptionLongPress:"Нажмите и удерживайте, чтобы начать перетаскивать.",dragDescriptionTouch:"Дважды нажмите для начала перетаскивания.",dragDescriptionVirtual:"Щелкните для начала перетаскивания.",dragItem:e=>`Перетащить ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетащить ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранный элемент`,other:()=>`${t.number(e.count)} выбранных элем`})}`,dragSelectedKeyboard:(e,t)=>`Нажмите Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Нажмите Alt + Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedLongPress:(e,t)=>`Нажмите и удерживайте для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragStartedKeyboard:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.",dragStartedTouch:"Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.",dragStartedVirtual:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.",dropCanceled:"Перетаскивание отменено.",dropComplete:"Перетаскивание завершено.",dropDescriptionKeyboard:"Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.",dropDescriptionTouch:"Дважды нажмите, чтобы применить перетаскивание.",dropDescriptionVirtual:"Щелкните, чтобы применить перетаскивание.",dropIndicator:"индикатор перетаскивания",dropOnItem:e=>`Перетащить на ${e.itemText}`,dropOnRoot:"Перетащить на",endDragKeyboard:"Перетаскивание. Нажмите клавишу Enter для отмены.",endDragTouch:"Перетаскивание. Дважды нажмите для отмены.",endDragVirtual:"Перетаскивание. Щелкните для отмены.",insertAfter:e=>`Вставить после ${e.itemText}`,insertBefore:e=>`Вставить перед ${e.itemText}`,insertBetween:e=>`Вставить между ${e.beforeItemText} и ${e.afterItemText}`};var T1={};T1={dragDescriptionKeyboard:"Stlačením klávesu Enter začnete presúvanie.",dragDescriptionKeyboardAlt:"Stlačením klávesov Alt + Enter začnete presúvanie.",dragDescriptionLongPress:"Dlhým stlačením začnete presúvanie.",dragDescriptionTouch:"Dvojitým kliknutím začnete presúvanie.",dragDescriptionVirtual:"Kliknutím začnete presúvanie.",dragItem:e=>`Presunúť položku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presunúť ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybraté položky`})}`,dragSelectedKeyboard:(e,t)=>`Stlačením klávesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stlačením klávesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlhým stlačením presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragStartedKeyboard:"Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.",dragStartedTouch:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.",dragStartedVirtual:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.",dropCanceled:"Umiestnenie zrušené.",dropComplete:"Umiestnenie dokončené.",dropDescriptionKeyboard:"Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.",dropDescriptionTouch:"Dvojitým kliknutím umiestnite položku.",dropDescriptionVirtual:"Kliknutím umiestnite položku.",dropIndicator:"indikátor umiestnenia",dropOnItem:e=>`Umiestniť na položku ${e.itemText}`,dropOnRoot:"Umiestniť na",endDragKeyboard:"Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.",endDragTouch:"Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.",endDragVirtual:"Prebieha presúvanie.",insertAfter:e=>`Vložiť za položku ${e.itemText}`,insertBefore:e=>`Vložiť pred položku ${e.itemText}`,insertBetween:e=>`Vložiť medzi položky ${e.beforeItemText} a ${e.afterItemText}`};var I1={};I1={dragDescriptionKeyboard:"Pritisnite tipko Enter za začetek vlečenja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za začetek vlečenja.",dragDescriptionLongPress:"Pritisnite in zadržite za začetek vlečenja.",dragDescriptionTouch:"Dvotapnite za začetek vlečenja.",dragDescriptionVirtual:"Kliknite za začetek vlečenja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadržite, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.",dragStartedTouch:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je končan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vlečenje. Pritisnite tipko Enter za preklic vlečenja.",endDragTouch:"Vlečenje. Dvotapnite za preklic vlečenja.",endDragVirtual:"Vlečenje. Kliknite, da prekličete vlečenje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var R1={};R1={dragDescriptionKeyboard:"Pritisnite Enter da biste započeli prevlačenje.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste započeli prevlačenje.",dragDescriptionLongPress:"Pritisnite dugo da biste započeli prevlačenje.",dragDescriptionTouch:"Dvaput dodirnite da biste započeli prevlačenje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:"Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.",dragStartedVirtual:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropIndicator:"Indikator otpuštanja",dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:"Otpusti na",endDragKeyboard:"Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.",endDragTouch:"Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.",endDragVirtual:"Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.",insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`};var K1={};K1={dragDescriptionKeyboard:"Tryck på enter för att börja dra.",dragDescriptionKeyboardAlt:"Tryck på Alt + Retur för att börja dra.",dragDescriptionLongPress:"Tryck länge för att börja dra.",dragDescriptionTouch:"Dubbeltryck för att börja dra.",dragDescriptionVirtual:"Klicka för att börja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck på Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck på Alt + Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck länge för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.",dragStartedTouch:"Börja dra. Navigera till ett mål och dubbeltryck för att släppa.",dragStartedVirtual:"Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.",dropCanceled:"Släppåtgärd avbröts.",dropComplete:"Släppåtgärd klar.",dropDescriptionKeyboard:"Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.",dropDescriptionTouch:"Dubbeltryck för att släppa.",dropDescriptionVirtual:"Klicka för att släppa.",dropIndicator:"släppindikator",dropOnItem:e=>`Släpp på ${e.itemText}`,dropOnRoot:"Släpp på",endDragKeyboard:"Drar. Tryck på enter för att avbryta dragåtgärd.",endDragTouch:"Drar. Dubbeltryck för att avbryta dragåtgärd.",endDragVirtual:"Drar. Klicka för att avbryta dragåtgärd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga före ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var M1={};M1={dragDescriptionKeyboard:"Sürüklemeyi başlatmak için Enter'a basın.",dragDescriptionKeyboardAlt:"Sürüklemeyi başlatmak için Alt + Enter'a basın.",dragDescriptionLongPress:"Sürüklemeye başlamak için uzun basın.",dragDescriptionTouch:"Sürüklemeyi başlatmak için çift tıklayın.",dragDescriptionVirtual:"Sürüklemeyi başlatmak için tıklayın.",dragItem:e=>`${e.itemText}’i sürükle`,dragSelectedItems:(e,t)=>`Sürükle ${t.plural(e.count,{one:()=>`${t.number(e.count)} seçili öge`,other:()=>`${t.number(e.count)} seçili öge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Enter'a basın.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Alt + Enter tuşuna basın.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için uzun basın.`,dragStartedKeyboard:"Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.",dragStartedTouch:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.",dragStartedVirtual:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.",dropCanceled:"Bırakma iptal edildi.",dropComplete:"Bırakma tamamlandı.",dropDescriptionKeyboard:"Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.",dropDescriptionTouch:"Bırakmak için çift tıklayın.",dropDescriptionVirtual:"Bırakmak için tıklayın.",dropIndicator:"bırakma göstergesi",dropOnItem:e=>`${e.itemText} üzerine bırak`,dropOnRoot:"Bırakın",endDragKeyboard:"Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.",endDragTouch:"Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.",endDragVirtual:"Sürükleme. Sürüklemeyi iptal etmek için tıklayın.",insertAfter:e=>`${e.itemText}’den sonra gir`,insertBefore:e=>`${e.itemText}’den önce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} arasına gir`};var z1={};z1={dragDescriptionKeyboard:"Натисніть Enter, щоб почати перетягування.",dragDescriptionKeyboardAlt:"Натисніть Alt + Enter, щоб почати перетягування.",dragDescriptionLongPress:"Натисніть і утримуйте, щоб почати перетягування.",dragDescriptionTouch:"Натисніть двічі, щоб почати перетягування.",dragDescriptionVirtual:"Натисніть, щоб почати перетягування.",dragItem:e=>`Перетягнути ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетягніть ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елем`})}`,dragSelectedKeyboard:(e,t)=>`Натисніть Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натисніть Alt + Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedLongPress:(e,t)=>`Утримуйте, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragStartedKeyboard:"Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.",dragStartedTouch:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.",dragStartedVirtual:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.",dropCanceled:"Перетягування скасовано.",dropComplete:"Перетягування завершено.",dropDescriptionKeyboard:"Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.",dropDescriptionTouch:"Натисніть двічі, щоб перетягнути.",dropDescriptionVirtual:"Натисніть, щоб перетягнути.",dropIndicator:"індикатор перетягування",dropOnItem:e=>`Перетягнути на ${e.itemText}`,dropOnRoot:"Перетягнути на",endDragKeyboard:"Триває перетягування. Натисніть Enter, щоб скасувати перетягування.",endDragTouch:"Триває перетягування. Натисніть двічі, щоб скасувати перетягування.",endDragVirtual:"Триває перетягування. Натисніть, щоб скасувати перетягування.",insertAfter:e=>`Вставити після ${e.itemText}`,insertBefore:e=>`Вставити перед ${e.itemText}`,insertBetween:e=>`Вставити між ${e.beforeItemText} і ${e.afterItemText}`};var N1={};N1={dragDescriptionKeyboard:"按 Enter 开始拖动。",dragDescriptionKeyboardAlt:"按 Alt + Enter 开始拖动。",dragDescriptionLongPress:"长按以开始拖动。",dragDescriptionTouch:"双击开始拖动。",dragDescriptionVirtual:"单击开始拖动。",dragItem:e=>`拖动 ${e.itemText}`,dragSelectedItems:(e,t)=>`拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 选中项目`,other:()=>`${t.number(e.count)} 选中项目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt + Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedLongPress:(e,t)=>`长按以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragStartedKeyboard:"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。",dragStartedTouch:"已开始拖动。导航到放置目标,然后双击放置。",dragStartedVirtual:"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 放置。按 Escape 取消拖动。",dropDescriptionTouch:"双击放置。",dropDescriptionVirtual:"单击放置。",dropIndicator:"放置标记",dropOnItem:e=>`放置于 ${e.itemText}`,dropOnRoot:"放置于",endDragKeyboard:"正在拖动。按 Enter 取消拖动。",endDragTouch:"正在拖动。双击取消拖动。",endDragVirtual:"正在拖动。单击取消拖动。",insertAfter:e=>`插入到 ${e.itemText} 之后`,insertBefore:e=>`插入到 ${e.itemText} 之前`,insertBetween:e=>`插入到 ${e.beforeItemText} 和 ${e.afterItemText} 之间`};var V1={};V1={dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。",dragStartedTouch:"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。",dragStartedVirtual:"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。",dropDescriptionTouch:"輕點兩下以放置。",dropDescriptionVirtual:"按一下滑鼠以放置。",dropIndicator:"放置指示器",dropOnItem:e=>`放置在「${e.itemText}」上`,dropOnRoot:"放置在",endDragKeyboard:"拖曳中。按 Enter 鍵以取消拖曳。",endDragTouch:"拖曳中。輕點兩下以取消拖曳。",endDragVirtual:"拖曳中。按一下滑鼠以取消拖曳。",insertAfter:e=>`插入至「${e.itemText}」之後`,insertBefore:e=>`插入至「${e.itemText}」之前`,insertBetween:e=>`插入至「${e.beforeItemText}」和「${e.afterItemText}」之間`};var _1={};_1={"ar-AE":i1,"bg-BG":l1,"cs-CZ":o1,"da-DK":s1,"de-DE":d1,"el-GR":c1,"en-US":f1,"es-ES":p1,"et-EE":m1,"fi-FI":b1,"fr-FR":h1,"he-IL":$1,"hr-HR":g1,"hu-HU":D1,"it-IT":v1,"ja-JP":y1,"ko-KR":x1,"lt-LT":C1,"lv-LV":E1,"nb-NO":B1,"nl-NL":k1,"pl-PL":P1,"pt-BR":S1,"pt-PT":A1,"ro-RO":w1,"ru-RU":F1,"sk-SK":T1,"sl-SI":I1,"sr-SP":R1,"sv-SE":K1,"tr-TR":M1,"uk-UA":z1,"zh-CN":N1,"zh-TW":V1};function mv(e){return e&&e.__esModule?e.default:e}const bv={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function hv(){let e=De(mv(_1),"@react-aria/dnd"),t=lv(),u=pv();return{dropProps:{...yt(u?e.format(bv[t]):""),onClick:()=>{}}}}const $v=800;function gv(e){let{hasDropButton:t,isDisabled:u}=e,[n,r]=o.useState(!1),a=o.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Le.all,dropActivateTimer:void 0}).current,i=x=>{if(r(!0),typeof e.onDropEnter=="function"){let C=x.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:x.clientX-C.x,y:x.clientY-C.y})}},l=x=>{if(r(!1),typeof e.onDropExit=="function"){let C=x.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:x.clientX-C.x,y:x.clientY-C.y})}},s=x=>{x.preventDefault(),x.stopPropagation();let C=vs(x);if(x.clientX===a.x&&x.clientY===a.y&&C===a.allowedOperations){x.dataTransfer.dropEffect=a.dropEffect;return}a.x=x.clientX,a.y=x.clientY;let B=a.dropEffect;if(C!==a.allowedOperations){let P=ni(C),T=P[0];if(typeof e.getDropOperation=="function"){let v=new hr(x.dataTransfer);T=$r(C,e.getDropOperation(v,P))}a.dropEffect=ui[T]||"none"}if(typeof e.getDropOperationForPoint=="function"){let P=new hr(x.dataTransfer),T=x.currentTarget.getBoundingClientRect(),v=$r(C,e.getDropOperationForPoint(P,ni(C),a.x-T.x,a.y-T.y));a.dropEffect=ui[v]||"none"}if(a.allowedOperations=C,x.dataTransfer.dropEffect=a.dropEffect,a.dropEffect==="none"&&B!=="none"?l(x):a.dropEffect!=="none"&&B==="none"&&i(x),typeof e.onDropMove=="function"&&a.dropEffect!=="none"){let P=x.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:a.x-P.x,y:a.y-P.y})}if(clearTimeout(a.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&a.dropEffect!=="none"){let P=e.onDropActivate,T=x.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{P({type:"dropactivate",x:a.x-T.x,y:a.y-T.y})},$v)}},d=x=>{if(x.preventDefault(),x.stopPropagation(),a.dragOverElements.add(x.target),a.dragOverElements.size>1)return;let C=vs(x),B=ni(C),P=B[0];if(typeof e.getDropOperation=="function"){let T=new hr(x.dataTransfer);P=$r(C,e.getDropOperation(T,B))}if(typeof e.getDropOperationForPoint=="function"){let T=new hr(x.dataTransfer),v=x.currentTarget.getBoundingClientRect();P=$r(C,e.getDropOperationForPoint(T,B,x.clientX-v.x,x.clientY-v.y))}a.x=x.clientX,a.y=x.clientY,a.allowedOperations=C,a.dropEffect=ui[P]||"none",x.dataTransfer.dropEffect=a.dropEffect,P!=="cancel"&&i(x)},c=x=>{x.preventDefault(),x.stopPropagation(),a.dragOverElements.delete(x.target);for(let C of a.dragOverElements)x.currentTarget.contains(C)||a.dragOverElements.delete(C);a.dragOverElements.size>0||(a.dropEffect!=="none"&&l(x),clearTimeout(a.dropActivateTimer))},f=x=>{if(x.preventDefault(),x.stopPropagation(),a.dropEffect,typeof e.onDrop=="function"){let B=u1[a.dropEffect],P=n1(x.dataTransfer),T=x.currentTarget.getBoundingClientRect(),v={type:"drop",x:x.clientX-T.x,y:x.clientY-T.y,items:P,dropOperation:B};e.onDrop(v)}let C={...a1};a.dragOverElements.clear(),l(x),clearTimeout(a.dropActivateTimer),C.draggingCollectionRef==null||cv(C)},p=ie(x=>{typeof e.onDropEnter=="function"&&e.onDropEnter(x)}),m=ie(x=>{typeof e.onDropExit=="function"&&e.onDropExit(x)}),b=ie(x=>{typeof e.onDropActivate=="function"&&e.onDropActivate(x)}),g=ie(x=>{typeof e.onDrop=="function"&&e.onDrop(x)}),$=ie((x,C)=>e.getDropOperation?e.getDropOperation(x,C):C[0]),{ref:D}=e;Y(()=>{if(!(u||!D.current))return fv({element:D.current,getDropOperation:$,onDropEnter(x){r(!0),p(x)},onDropExit(x){r(!1),m(x)},onDrop:g,onDropActivate:b})},[u,D,$,p,m,g,b]);let{dropProps:y}=hv();return u?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&y,onDragEnter:d,onDragOver:s,onDragLeave:c,onDrop:f},dropButtonProps:{...t&&y},isDropTarget:n}}function vs(e){let t=t1[e.dataTransfer.effectAllowed];hs&&(t&=hs);let u=Le.none;return gt()?(e.altKey&&(u|=Le.copy),e.ctrlKey&&!Xi()&&(u|=Le.link),e.metaKey&&(u|=Le.move)):(e.altKey&&(u|=Le.link),e.shiftKey&&(u|=Le.move),e.ctrlKey&&(u|=Le.copy)),u?t&u:t}function ni(e){let t=[];return e&Le.move&&t.push("move"),e&Le.copy&&t.push("copy"),e&Le.link&&t.push("link"),t}function $r(e,t){let u=Le[t];return e&u?t:"cancel"}const ri=new Map;function Ru(e,t){let u=ri.get(e);if(!u){let n=new Set,r=a=>{for(let i of n)i(a)};u={listener:r,handlers:n},ri.set(e,u),document.addEventListener(e,r)}return u.handlers.add(t),()=>{u.handlers.delete(t),u.handlers.size===0&&(document.removeEventListener(e,u.listener),ri.delete(e))}}function Dv(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=ca({onFocusChange:c=>{u.current=c}}),r=ie(c=>{u.current&&e.getItems&&c.preventDefault()}),a=ie(c=>{if(!(!u.current||!e.getItems)&&(c.preventDefault(),c.clipboardData)){var f;bs(c.clipboardData,e.getItems({action:"copy"})),(f=e.onCopy)===null||f===void 0||f.call(e)}}),i=ie(c=>{u.current&&e.onCut&&e.getItems&&c.preventDefault()}),l=ie(c=>{!u.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(bs(c.clipboardData,e.getItems({action:"cut"})),e.onCut()))}),s=ie(c=>{u.current&&e.onPaste&&c.preventDefault()}),d=ie(c=>{if(!(!u.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let f=n1(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return lt(Ru("beforecopy",r),Ru("copy",a),Ru("beforecut",i),Ru("cut",l),Ru("beforepaste",s),Ru("paste",d))},[t,r,a,i,l,s,d]),{clipboardProps:n}}const Vl=new WeakMap;function ys(e,t){var u;let{id:n}=(u=Vl.get(e))!==null&&u!==void 0?u:{};if(!n)throw new Error("Unknown list");return`${n}-${vv(t)}`}function vv(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class j1{isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findPreviousKey(t,u){let n=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;n=this.collection.getKeyBefore(n)}return null}findNextKey(t,u){let n=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;if(n=this.collection.getKeyAfter(n),n==null)return null}return null}getKeyForItemInRowByIndex(t,u=0){if(u<0)return null;let n=this.collection.getItem(t);if(!n)return null;let r=0;for(let l of we(n,this.collection)){var a;if(l.colSpan&&l.colSpan+r>u)return(a=l.key)!==null&&a!==void 0?a:null;l.colSpan&&(r=r+l.colSpan-1);var i;if(r===u)return(i=l.key)!==null&&i!==void 0?i:null;r++}return null}getKeyBelow(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findNextKey(u,a=>a.type==="item"),u!=null){if(this.isCell(n)){let a=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(u,a)}if(this.focusMode==="row")return u}return null}getKeyAbove(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findPreviousKey(u,a=>a.type==="item"),u!=null){if(this.isCell(n)){let a=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(u,a)}if(this.focusMode==="row")return u}return null}getKeyRightOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=we(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Kt(c))===null||n===void 0?void 0:n.key:(r=Tt(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=we(c,this.collection);var i;let p=(i=this.direction==="rtl"?yn(f,u.index-1):yn(f,u.index+1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t))!==null&&d!==void 0?d:null}return null}getKeyLeftOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=we(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Tt(c))===null||n===void 0?void 0:n.key:(r=Kt(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=we(c,this.collection);var i;let p=(i=this.direction==="rtl"?yn(f,u.index+1):yn(f,u.index-1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t))!==null&&d!==void 0?d:null}return null}getFirstKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;var i;return(i=(a=Tt(we(d,this.collection)))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findNextKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;var s;n=(s=(l=Tt(we(d,this.collection)))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getLastKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;let c=we(d,this.collection);var i;return(i=(a=Kt(c))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findPreviousKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;let c=we(d,this.collection);var s;n=(s=(l=Kt(c))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getKeyPageAbove(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&u!=null;){var a;if(u=(a=this.getKeyAbove(u))!==null&&a!==void 0?a:null,u==null)break;n=this.layoutDelegate.getItemRect(u)}return u}getKeyPageBelow(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,a=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.height<a;){let i=this.getKeyBelow(u);if(i==null)break;n=this.layoutDelegate.getItemRect(i),u=i}return u}getKeyForSearch(t,u){let n=u??null;if(!this.collator)return null;let r=this.collection;if(n=u??this.getFirstKey(),n==null)return null;let a=r.getItem(n);if(!a)return null;var i;a.type==="cell"&&(n=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;n!=null;){let c=r.getItem(n);if(!c)return null;if(c.textValue){let f=c.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){var s,d;return this.isRow(c)&&this.focusMode==="cell"?(d=(s=Tt(we(c,this.collection)))===null||s===void 0?void 0:s.key)!==null&&d!==void 0?d:null:c.key}}n=this.findNextKey(n,f=>f.type==="item"),n==null&&!l&&(n=this.getFirstKey(),l=!0)}return null}constructor(t){if(this.collection=t.collection,this.disabledKeys=t.disabledKeys,this.disabledBehavior=t.disabledBehavior||"all",this.direction=t.direction,this.collator=t.collator,!t.layout&&!t.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=t.layoutDelegate||(t.layout?new yv(t.layout):new Mi(t.ref)),this.focusMode=t.focusMode||"row"}}class yv{getContentSize(){return this.layout.getContentSize()}getItemRect(t){var u;return((u=this.layout.getLayoutInfo(t))===null||u===void 0?void 0:u.rect)||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}constructor(t){this.layout=t}}const _l=new WeakMap;var L1={};L1={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var O1={};O1={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var H1={};H1={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var U1={};U1={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var W1={};W1={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var Z1={};Z1={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var G1={};G1={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var q1={};q1={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var Y1={};Y1={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var J1={};J1={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var Q1={};Q1={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var X1={};X1={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var em={};em={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var tm={};tm={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var um={};um={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var nm={};nm={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var rm={};rm={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var am={};am={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var im={};im={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var lm={};lm={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var om={};om={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var sm={};sm={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var dm={};dm={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var cm={};cm={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var fm={};fm={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var pm={};pm={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var mm={};mm={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var bm={};bm={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var hm={};hm={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var $m={};$m={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var gm={};gm={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var Dm={};Dm={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var vm={};vm={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var ym={};ym={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var Da={};Da={"ar-AE":L1,"bg-BG":O1,"cs-CZ":H1,"da-DK":U1,"de-DE":W1,"el-GR":Z1,"en-US":G1,"es-ES":q1,"et-EE":Y1,"fi-FI":J1,"fr-FR":Q1,"he-IL":X1,"hr-HR":em,"hu-HU":tm,"it-IT":um,"ja-JP":nm,"ko-KR":rm,"lt-LT":am,"lv-LV":im,"nb-NO":lm,"nl-NL":om,"pl-PL":sm,"pt-BR":dm,"pt-PT":cm,"ro-RO":fm,"ru-RU":pm,"sk-SK":mm,"sl-SI":bm,"sr-SP":hm,"sv-SE":$m,"tr-TR":gm,"uk-UA":Dm,"zh-CN":vm,"zh-TW":ym};function xv(e){return e&&e.__esModule?e.default:e}function xm(e,t){let{getRowText:u=l=>{var s,d,c,f;return(f=(s=(d=t.collection).getTextValue)===null||s===void 0?void 0:s.call(d,l))!==null&&f!==void 0?f:(c=t.collection.getItem(l))===null||c===void 0?void 0:c.textValue}}=e,n=De(xv(Da),"@react-aria/grid"),r=t.selectionManager.rawSelection,a=o.useRef(r),i=ie(()=>{var l;if(!t.selectionManager.isFocused||r===a.current){a.current=r;return}let s=xs(r,a.current),d=xs(a.current,r),c=t.selectionManager.selectionBehavior==="replace",f=[];if(t.selectionManager.selectedKeys.size===1&&c){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let p=u(t.selectionManager.selectedKeys.keys().next().value);p&&f.push(n.format("selectedItem",{item:p}))}}else if(s.size===1&&d.size===0){let p=u(s.keys().next().value);p&&f.push(n.format("selectedItem",{item:p}))}else if(d.size===1&&s.size===0&&t.collection.getItem(d.keys().next().value)){let p=u(d.keys().next().value);p&&f.push(n.format("deselectedItem",{item:p}))}t.selectionManager.selectionMode==="multiple"&&(f.length===0||r==="all"||r.size>1||a.current==="all"||((l=a.current)===null||l===void 0?void 0:l.size)>1)&&f.push(r==="all"?n.format("selectedAll"):n.format("selectedCount",{count:r.size})),f.length>0&&$t(f.join(" ")),a.current=r});Sn(()=>{if(t.selectionManager.isFocused)i();else{let l=requestAnimationFrame(i);return()=>cancelAnimationFrame(l)}},[r,t.selectionManager.isFocused])}function xs(e,t){let u=new Set;if(e==="all"||t==="all")return u;for(let n of e.keys())t.has(n)||u.add(n);return u}function Cv(e){return e&&e.__esModule?e.default:e}function Cm(e){let t=De(Cv(Da),"@react-aria/grid"),u=ll(),n=(u==="pointer"||u==="virtual"||u==null)&&typeof window<"u"&&"ontouchstart"in window,r=o.useMemo(()=>{let i=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,s;return n&&(s=t.format("longPressToSelect")),l==="replace"&&i!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return yt(r)}function Ev(e,t,u){let{isVirtualized:n,disallowTypeAhead:r,keyboardDelegate:a,focusMode:i,scrollRef:l,getRowText:s,onRowAction:d,onCellAction:c}=e,{selectionManager:f}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let p=tn({usage:"search",sensitivity:"base"}),{direction:m}=pe(),b=t.selectionManager.disabledBehavior,g=o.useMemo(()=>a||new j1({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:b,ref:u,direction:m,collator:p,focusMode:i}),[a,t.collection,t.disabledKeys,b,u,m,p,i]),{collectionProps:$}=ga({ref:u,selectionManager:f,keyboardDelegate:g,isVirtualized:n,scrollRef:l,disallowTypeAhead:r}),D=oe(e.id);_l.set(t,{keyboardDelegate:g,actions:{onRowAction:d,onCellAction:c}});let y=Cm({selectionManager:f,hasItemActions:!!(d||c)}),x=U(e,{labelable:!0}),C=o.useCallback(v=>{if(f.isFocused){v.currentTarget.contains(v.target)||f.setFocused(!1);return}v.currentTarget.contains(v.target)&&f.setFocused(!0)},[f]),B=o.useMemo(()=>({onBlur:$.onBlur,onFocus:C}),[C,$.onBlur]),P=kl(u,{isDisabled:t.collection.size!==0}),T=_(x,{role:"grid",id:D,"aria-multiselectable":f.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?B:$,t.collection.size===0&&{tabIndex:P?-1:0}||void 0,y);return n&&(T["aria-rowcount"]=t.collection.size,T["aria-colcount"]=t.collection.columnCount),xm({getRowText:s},t),{gridProps:T}}function Bv(){return{rowGroupProps:{role:"rowgroup"}}}function kv(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d}=_l.get(t),c=d.onRowAction?()=>{var g;return(g=d.onRowAction)===null||g===void 0?void 0:g.call(d,a.key)}:s,{itemProps:f,...p}=un({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:c||!(a==null||(n=a.props)===null||n===void 0)&&n.onAction?lt(a==null||(r=a.props)===null||r===void 0?void 0:r.onAction,c):void 0,isDisabled:t.collection.size===0}),m=t.selectionManager.isSelected(a.key),b={role:"row","aria-selected":t.selectionManager.selectionMode!=="none"?m:void 0,"aria-disabled":p.isDisabled||void 0,...f};return i&&(b["aria-rowindex"]=a.index+1),{rowProps:b,...p}}function Em(e,t,u){let{node:n,isVirtualized:r,focusMode:a="child",shouldSelectOnPressUp:i,onAction:l}=e,{direction:s}=pe(),{keyboardDelegate:d,actions:{onCellAction:c}}=_l.get(t),f=o.useRef(null),p=()=>{if(u.current){let x=ke(u.current);if(a==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let C=t.selectionManager.childFocusStrategy==="last"?ai(x):x.firstChild();if(C){ye(C);return}}(f.current!=null&&n.key!==f.current||!u.current.contains(document.activeElement))&&ye(u.current)}},{itemProps:m,isPressed:b}=un({selectionManager:t.selectionManager,key:n.key,ref:u,isVirtualized:r,focus:p,shouldSelectOnPressUp:i,onAction:c?()=>c(n.key):l,isDisabled:t.collection.size===0}),g=x=>{if(!x.currentTarget.contains(x.target)||t.isKeyboardNavigationDisabled||!u.current||!document.activeElement)return;let C=ke(u.current);switch(C.currentNode=document.activeElement,x.key){case"ArrowLeft":{let S=s==="rtl"?C.nextNode():C.previousNode();if(a==="child"&&S===u.current&&(S=null),x.preventDefault(),x.stopPropagation(),S)ye(S),Ve(S,{containingElement:Ne(u.current)});else{var B;if(((B=d.getKeyLeftOf)===null||B===void 0?void 0:B.call(d,n.key))!==n.key){var P;(P=u.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(x.nativeEvent.type,x.nativeEvent));break}a==="cell"&&s==="rtl"?(ye(u.current),Ve(u.current,{containingElement:Ne(u.current)})):(C.currentNode=u.current,S=s==="rtl"?C.firstChild():ai(C),S&&(ye(S),Ve(S,{containingElement:Ne(u.current)})))}break}case"ArrowRight":{let S=s==="rtl"?C.previousNode():C.nextNode();if(a==="child"&&S===u.current&&(S=null),x.preventDefault(),x.stopPropagation(),S)ye(S),Ve(S,{containingElement:Ne(u.current)});else{var T;if(((T=d.getKeyRightOf)===null||T===void 0?void 0:T.call(d,n.key))!==n.key){var v;(v=u.current.parentElement)===null||v===void 0||v.dispatchEvent(new KeyboardEvent(x.nativeEvent.type,x.nativeEvent));break}a==="cell"&&s==="ltr"?(ye(u.current),Ve(u.current,{containingElement:Ne(u.current)})):(C.currentNode=u.current,S=s==="rtl"?ai(C):C.firstChild(),S&&(ye(S),Ve(S,{containingElement:Ne(u.current)})))}break}case"ArrowUp":case"ArrowDown":if(!x.altKey&&u.current.contains(x.target)){var F;x.stopPropagation(),x.preventDefault(),(F=u.current.parentElement)===null||F===void 0||F.dispatchEvent(new KeyboardEvent(x.nativeEvent.type,x.nativeEvent))}break}},$=x=>{if(f.current=n.key,x.target!==u.current){_t()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{a==="child"&&document.activeElement===u.current&&p()})},D=_(m,{role:"gridcell",onKeyDownCapture:g,"aria-colspan":n.colSpan,"aria-colindex":n.colIndex!=null?n.colIndex+1:void 0,colSpan:r?void 0:n.colSpan,onFocus:$});var y;return r&&(D["aria-colindex"]=((y=n.colIndex)!==null&&y!==void 0?y:n.index)+1),i&&D.tabIndex!=null&&D.onPointerDown==null&&(D.onPointerDown=x=>{let C=x.currentTarget,B=C.getAttribute("tabindex");C.removeAttribute("tabindex"),requestAnimationFrame(()=>{B!=null&&C.setAttribute("tabindex",B)})}),{gridCellProps:D,isPressed:b}}function ai(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function Pv(e){return e&&e.__esModule?e.default:e}function Sv(e,t){let{key:u}=e,n=t.selectionManager,r=oe(),a=!t.selectionManager.canSelectItem(u),i=t.selectionManager.isSelected(u),l=()=>n.toggleSelection(u);const s=De(Pv(Da),"@react-aria/grid");return{checkboxProps:{id:r,"aria-label":s.format("select"),isSelected:i,isDisabled:a,onChange:l}}}function Av(e,t,u){let{isVirtualized:n,keyboardDelegate:r,layoutDelegate:a,onAction:i,disallowTypeAhead:l,linkBehavior:s="action",keyboardNavigationBehavior:d="arrow"}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:c}=Il({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:u,keyboardDelegate:r,layoutDelegate:a,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:s,disallowTypeAhead:l,autoFocus:e.autoFocus}),f=oe(e.id);Vl.set(t,{id:f,onAction:i,linkBehavior:s,keyboardNavigationBehavior:d});let p=Cm({selectionManager:t.selectionManager,hasItemActions:!!i}),m=kl(u,{isDisabled:t.collection.size!==0}),b=U(e,{labelable:!0}),g=_(b,{role:"grid",id:f,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:m?-1:0}:c,p);return n&&(g["aria-rowcount"]=t.collection.size,g["aria-colcount"]=1),xm({},t),{gridProps:g}}const Cs={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function wv(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l}=e,{direction:s}=pe(),{onAction:d,linkBehavior:c,keyboardNavigationBehavior:f}=Vl.get(t),p=it(),m=o.useRef(null),b=()=>{var w;u.current!==null&&(m.current!=null&&a.key!==m.current||!(!((w=u.current)===null||w===void 0)&&w.contains(document.activeElement)))&&ye(u.current)},g={},$=e.hasChildItems,D=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var y,x,C;let w=(y=(x=t.collection).getChildren)===null||y===void 0?void 0:y.call(x,a.key);$=$||[...w??[]].length>1,d==null&&!D&&t.selectionManager.selectionMode==="none"&&$&&(d=()=>t.toggleKey(a.key));let I=$?t.expandedKeys.has(a.key):void 0,A=1;var B;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let z=t.collection.getItem(a.parentKey);if(z){var P,T;let K=(P=(T=t.collection).getChildren)===null||P===void 0?void 0:P.call(T,z.key);A=Kt(K).index+1}}else A=((B=(C=[...t.collection].filter(z=>z.level===0).at(-1))===null||C===void 0?void 0:C.index)!==null&&B!==void 0?B:0)+1;g={"aria-expanded":I,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":A}}let{itemProps:v,...F}=un({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:d||!((n=a.props)===null||n===void 0)&&n.onAction?lt((r=a.props)===null||r===void 0?void 0:r.onAction,d?()=>d(a.key):void 0):void 0,focus:b,linkBehavior:c}),S=w=>{if(!w.currentTarget.contains(w.target)||!u.current||!document.activeElement)return;let I=ke(u.current);if(I.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(w.key===Cs.expand[s]&&t.selectionManager.focusedKey===a.key&&$&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),w.stopPropagation();return}else if(w.key===Cs.collapse[s]&&t.selectionManager.focusedKey===a.key&&$&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),w.stopPropagation();return}}switch(w.key){case"ArrowLeft":if(f==="arrow"){let z=s==="rtl"?I.nextNode():I.previousNode();if(z)w.preventDefault(),w.stopPropagation(),ye(z),Ve(z,{containingElement:Ne(u.current)});else if(w.preventDefault(),w.stopPropagation(),s==="rtl")ye(u.current),Ve(u.current,{containingElement:Ne(u.current)});else{I.currentNode=u.current;let K=Es(I);K&&(ye(K),Ve(K,{containingElement:Ne(u.current)}))}}break;case"ArrowRight":if(f==="arrow"){let z=s==="rtl"?I.previousNode():I.nextNode();if(z)w.preventDefault(),w.stopPropagation(),ye(z),Ve(z,{containingElement:Ne(u.current)});else if(w.preventDefault(),w.stopPropagation(),s==="ltr")ye(u.current),Ve(u.current,{containingElement:Ne(u.current)});else{I.currentNode=u.current;let K=Es(I);K&&(ye(K),Ve(K,{containingElement:Ne(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!w.altKey&&u.current.contains(w.target)){var A;w.stopPropagation(),w.preventDefault(),(A=u.current.parentElement)===null||A===void 0||A.dispatchEvent(new KeyboardEvent(w.nativeEvent.type,w.nativeEvent))}break;case"Tab":if(f==="tab"){let z=ke(u.current,{tabbable:!0});z.currentNode=document.activeElement,(w.shiftKey?z.previousNode():z.nextNode())&&w.stopPropagation()}}},k=w=>{if(m.current=a.key,w.target!==u.current){_t()||t.selectionManager.setFocusedKey(a.key);return}},M=tl(a.props),E=F.hasAction?M:{},V=_(v,E,{role:"row",onKeyDownCapture:S,onFocus:k,"aria-label":a.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(a.key)?t.selectionManager.isSelected(a.key):void 0,"aria-disabled":t.selectionManager.isDisabled(a.key)||void 0,"aria-labelledby":p&&a.textValue?`${ys(t,a.key)} ${p}`:void 0,id:ys(t,a.key)});i&&(V["aria-rowindex"]=a.index+1);let R={role:"gridcell","aria-colindex":1};return{rowProps:{..._(V,g)},gridCellProps:R,descriptionProps:{id:p},...F}}function Es(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}const Bm=1,ii=Symbol.for("react-aria-landmark-manager");function Fv(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function Bs(){if(typeof document>"u")return null;let e=document[ii];return e&&e.version>=Bm?e:(document[ii]=new Iv,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[ii])}function Tv(){return ol.useSyncExternalStore(Fv,Bs,Bs)}class Iv{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(t,u){var n,r;(r=this.landmarks.find(a=>a.ref.current===t))===null||r===void 0||(n=r.focus)===null||n===void 0||n.call(r,u)}getLandmarksByRole(t){return new Set(this.landmarks.filter(u=>u.role===t))}getLandmarkByRole(t){return this.landmarks.find(u=>u.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(r=>r.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(r=>r.role==="main").length>1&&console.error('Page can contain no more than one landmark with the role "main".'),this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let u=0,n=this.landmarks.length-1;for(;u<=n;){let r=Math.floor((u+n)/2),a=t.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);!!(a&Node.DOCUMENT_POSITION_PRECEDING||a&Node.DOCUMENT_POSITION_CONTAINS)?u=r+1:n=r-1}this.landmarks.splice(u,0,t),this.checkLabels(t.role)}updateLandmark(t){let u=this.landmarks.findIndex(n=>n.ref===t.ref);u>=0&&(this.landmarks[u]={...this.landmarks[u],...t},this.checkLabels(this.landmarks[u].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(u=>u.ref!==t),this.teardownIfNeeded()}checkLabels(t){let u=this.getLandmarksByRole(t);if(u.size>1){let n=[...u].filter(r=>!r.label);if(n.length>0)console.warn(`Page contains more than one landmark with the '${t}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `,n.map(r=>r.ref.current));else{let r=[...u].map(i=>i.label);r.filter((i,l)=>r.indexOf(i)!==l).forEach(i=>{console.warn(`Page contains more than one landmark with the '${t}' role and '${i}' label. If two or more landmarks on a page share the same role, they must have unique labels: `,[...u].filter(l=>l.label===i).map(l=>l.ref.current))})}}}closestLandmark(t){let u=new Map(this.landmarks.map(r=>[r.ref.current,r])),n=t;for(;n&&!u.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return u.get(n)}getNextLandmark(t,{backward:u}){var n;let r=this.closestLandmark(t),a=u?this.landmarks.length-1:0;r&&(a=this.landmarks.indexOf(r)+(u?-1:1));let i=()=>{if(a<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;a=this.landmarks.length-1}else if(a>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;a=0}return a<0||a>=this.landmarks.length};if(i())return;let l=a;for(;!((n=this.landmarks[a].ref.current)===null||n===void 0)&&n.closest("[aria-hidden=true]");){if(a+=u?-1:1,i())return;if(a===l)break}return this.landmarks[a]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(t.target,t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&document.contains(t.ref.current)?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,u){let n=this.getNextLandmark(t,{backward:u});if(!n)return!1;if(n.lastFocused){let r=n.lastFocused;if(document.body.contains(r))return r.focus(),!0}return n.ref.current&&document.contains(n.ref.current)?(this.focusLandmark(n.ref.current,u?"backward":"forward"),!0):!1}focusinHandler(t){let u=this.closestLandmark(t.target);u&&u.ref.current!==t.target&&this.updateLandmark({ref:u.ref,lastFocused:t.target});let n=t.relatedTarget;if(n){let r=this.closestLandmark(n);r&&r.ref.current===n&&r.blur()}}focusoutHandler(t){let u=t.target,n=t.relatedTarget;if(!n||n===document){let r=this.closestLandmark(u);r&&r.ref.current===u&&r.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(u,n){let r=(n==null?void 0:n.from)||document.activeElement;return t.navigate(r,u==="backward")},focusNext(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!1)},focusPrevious(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(u=>u.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=Bm,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function Rv(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:a}=e;let i=Tv(),l=n||r,[s,d]=o.useState(!1),c=o.useCallback(()=>{d(!0)},[d]),f=o.useCallback(()=>{d(!1)},[d]);return Y(()=>{if(i)return i.registerLandmark({ref:t,label:l,role:u,focus:a||c,blur:f})},[i,l,t,u,a,c,f]),o.useEffect(()=>{var p;s&&((p=t.current)===null||p===void 0||p.focus())},[s,t]),{landmarkProps:{role:u,tabIndex:s?-1:void 0,"aria-label":n,"aria-labelledby":r}}}function Kv(e){let{value:t=0,minValue:u=0,maxValue:n=100,valueLabel:r,isIndeterminate:a,formatOptions:i={style:"percent"}}=e,l=U(e,{labelable:!0}),{labelProps:s,fieldProps:d}=Sl({...e,labelElementType:"span"});t=wn(t,u,n);let c=(t-u)/(n-u),f=Sg(i);if(!a&&!r){let p=i.style==="percent"?c:t;r=f.format(p)}return{progressBarProps:_(l,{...d,"aria-valuenow":a?void 0:t,"aria-valuemin":u,"aria-valuemax":n,"aria-valuetext":a?void 0:r,role:"progressbar"}),labelProps:s}}const km=new WeakMap;function Mv(e,t,u){let{value:n,children:r,"aria-label":a,"aria-labelledby":i}=e;const l=e.isDisabled||t.isDisabled;let s=r!=null,d=a!=null||i!=null;!s&&!d&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===n,f=v=>{v.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:m}=Je({isDisabled:l}),{pressProps:b,isPressed:g}=Je({isDisabled:l,onPress(){var v;t.setSelectedValue(n),(v=u.current)===null||v===void 0||v.focus()}}),{focusableProps:$}=Ht(_(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),D=_(p,$),y=U(e,{labelable:!0}),x=-1;t.selectedValue!=null?t.selectedValue===n&&(x=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(x=0),l&&(x=void 0);let{name:C,descriptionId:B,errorMessageId:P,validationBehavior:T}=km.get(t);return Un(u,t.selectedValue,t.setSelectedValue),Qn({validationBehavior:T},t,u),{labelProps:_(b,{onClick:v=>v.preventDefault()}),inputProps:_(y,{...D,type:"radio",name:C,tabIndex:x,disabled:l,required:t.isRequired&&T==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?P:null,B].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:c,isPressed:m||g}}function zv(e,t){let{name:u,isReadOnly:n,isRequired:r,isDisabled:a,orientation:i="vertical",validationBehavior:l="aria"}=e,{direction:s}=pe(),{isInvalid:d,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:b,errorMessageProps:g}=ou({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),$=U(e,{labelable:!0}),{focusWithinProps:D}=ft({onBlurWithin(C){var B;(B=e.onBlur)===null||B===void 0||B.call(e,C),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),y=C=>{let B;switch(C.key){case"ArrowRight":s==="rtl"&&i!=="vertical"?B="prev":B="next";break;case"ArrowLeft":s==="rtl"&&i!=="vertical"?B="next":B="prev";break;case"ArrowDown":B="next";break;case"ArrowUp":B="prev";break;default:return}C.preventDefault();let P=ke(C.currentTarget,{from:C.target}),T;B==="next"?(T=P.nextNode(),T||(P.currentNode=C.currentTarget,T=P.firstChild())):(T=P.previousNode(),T||(P.currentNode=C.currentTarget,T=P.lastChild())),T&&(T.focus(),t.setSelectedValue(T.value))},x=oe(u);return km.set(t,{name:x,descriptionId:b.id,errorMessageId:g.id,validationBehavior:l}),{radioGroupProps:_($,{role:"radiogroup",onKeyDown:y,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":r||void 0,"aria-disabled":a||void 0,"aria-orientation":i,...m,...D}),labelProps:p,descriptionProps:b,errorMessageProps:g,isInvalid:d,validationErrors:c,validationDetails:f}}var Pm={};Pm={"Clear search":"مسح البحث"};var Sm={};Sm={"Clear search":"Изчистване на търсене"};var Am={};Am={"Clear search":"Vymazat hledání"};var wm={};wm={"Clear search":"Ryd søgning"};var Fm={};Fm={"Clear search":"Suche zurücksetzen"};var Tm={};Tm={"Clear search":"Απαλοιφή αναζήτησης"};var Im={};Im={"Clear search":"Clear search"};var Rm={};Rm={"Clear search":"Borrar búsqueda"};var Km={};Km={"Clear search":"Tühjenda otsing"};var Mm={};Mm={"Clear search":"Tyhjennä haku"};var zm={};zm={"Clear search":"Effacer la recherche"};var Nm={};Nm={"Clear search":"נקה חיפוש"};var Vm={};Vm={"Clear search":"Obriši pretragu"};var _m={};_m={"Clear search":"Keresés törlése"};var jm={};jm={"Clear search":"Cancella ricerca"};var Lm={};Lm={"Clear search":"検索をクリア"};var Om={};Om={"Clear search":"검색 지우기"};var Hm={};Hm={"Clear search":"Išvalyti iešką"};var Um={};Um={"Clear search":"Notīrīt meklēšanu"};var Wm={};Wm={"Clear search":"Tøm søk"};var Zm={};Zm={"Clear search":"Zoekactie wissen"};var Gm={};Gm={"Clear search":"Wyczyść zawartość wyszukiwania"};var qm={};qm={"Clear search":"Limpar pesquisa"};var Ym={};Ym={"Clear search":"Limpar pesquisa"};var Jm={};Jm={"Clear search":"Ştergeţi căutarea"};var Qm={};Qm={"Clear search":"Очистить поиск"};var Xm={};Xm={"Clear search":"Vymazať vyhľadávanie"};var e0={};e0={"Clear search":"Počisti iskanje"};var t0={};t0={"Clear search":"Obriši pretragu"};var u0={};u0={"Clear search":"Rensa sökning"};var n0={};n0={"Clear search":"Aramayı temizle"};var r0={};r0={"Clear search":"Очистити пошук"};var a0={};a0={"Clear search":"清除搜索"};var i0={};i0={"Clear search":"清除搜尋條件"};var l0={};l0={"ar-AE":Pm,"bg-BG":Sm,"cs-CZ":Am,"da-DK":wm,"de-DE":Fm,"el-GR":Tm,"en-US":Im,"es-ES":Rm,"et-EE":Km,"fi-FI":Mm,"fr-FR":zm,"he-IL":Nm,"hr-HR":Vm,"hu-HU":_m,"it-IT":jm,"ja-JP":Lm,"ko-KR":Om,"lt-LT":Hm,"lv-LV":Um,"nb-NO":Wm,"nl-NL":Zm,"pl-PL":Gm,"pt-BR":qm,"pt-PT":Ym,"ro-RO":Jm,"ru-RU":Qm,"sk-SK":Xm,"sl-SI":e0,"sr-SP":t0,"sv-SE":u0,"tr-TR":n0,"uk-UA":r0,"zh-CN":a0,"zh-TW":i0};function Nv(e){return e&&e.__esModule?e.default:e}function Vv(e,t,u){let n=De(Nv(l0),"@react-aria/searchfield"),{isDisabled:r,isReadOnly:a,onSubmit:i,onClear:l,type:s="search"}=e,d=D=>{const y=D.key;y==="Enter"&&(r||a)&&D.preventDefault(),!(r||a)&&(y==="Enter"&&i&&(D.preventDefault(),i(t.value)),y==="Escape"&&(t.value===""&&(!u.current||u.current.value==="")?D.continuePropagation():(D.preventDefault(),t.setValue(""),l&&l())))},c=()=>{t.setValue(""),l&&l()},f=()=>{var D;(D=u.current)===null||D===void 0||D.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:g,...$}=Al({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:lt(d,e.onKeyDown),type:s},u);return{labelProps:p,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:r||a,onPress:c,onPressStart:f},descriptionProps:b,errorMessageProps:g,...$}}const jl=new WeakMap;function Ni(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function _v(e,t){let u=jl.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${Ni(t)}`}function o0(e,t,u){let n=jl.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${Ni(t)}-${Ni(u)}`}function s0(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>o0(e,t,u)).join(" ")}var d0={};d0={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var c0={};c0={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var f0={};f0={ascending:"vzestupně",ascendingSort:e=>`řazeno vzestupně podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixelů`,descending:"sestupně",descendingSort:e=>`řazeno sestupně podle sloupce ${e.columnName}`,resizerDescription:"Stisknutím klávesy Enter začnete měnit velikost",select:"Vybrat",selectAll:"Vybrat vše",sortable:"sloupec s možností řazení"};var p0={};p0={ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende rækkefølge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende rækkefølge`,resizerDescription:"Tryk på Enter for at ændre størrelse",select:"Vælg",selectAll:"Vælg alle",sortable:"sorterbar kolonne"};var m0={};m0={ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Größenänderung drücken",select:"Auswählen",selectAll:"Alles auswählen",sortable:"sortierbare Spalte"};var b0={};b0={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var h0={};h0={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"};var $0={};$0={ascending:"de subida",ascendingSort:e=>`ordenado por columna ${e.columnName} en orden de subida`,columnSize:e=>`${e.value} píxeles`,descending:"de bajada",descendingSort:e=>`ordenado por columna ${e.columnName} en orden de bajada`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var g0={};g0={ascending:"tõusev järjestus",ascendingSort:e=>`sorditud veeru järgi ${e.columnName} tõusvas järjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv järjestus",descendingSort:e=>`sorditud veeru järgi ${e.columnName} laskuvas järjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali kõik",sortable:"sorditav veerg"};var D0={};D0={ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa järjestyksessä`,columnSize:e=>`${e.value} pikseliä`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa järjestyksessä`,resizerDescription:"Aloita koon muutos painamalla Enter-näppäintä",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var v0={};v0={ascending:"croissant",ascendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre croissant`,columnSize:e=>`${e.value} pixels`,descending:"décroissant",descendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre décroissant`,resizerDescription:"Appuyez sur Entrée pour commencer le redimensionnement.",select:"Sélectionner",selectAll:"Sélectionner tout",sortable:"colonne triable"};var y0={};y0={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var x0={};x0={ascending:"rastući",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastućem redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padajućim redoslijedom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se može razvrstati"};var C0={};C0={ascending:"növekvő",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, növekvő sorrendben`,columnSize:e=>`${e.value} képpont`,descending:"csökkenő",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, csökkenő sorrendben`,resizerDescription:"Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",select:"Kijelölés",selectAll:"Összes kijelölése",sortable:"rendezendő oszlop"};var E0={};E0={ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var B0={};B0={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var k0={};k0={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var P0={};P0={ascending:"didėjančia tvarka",ascendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} didėjančia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"mažėjančia tvarka",descendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} mažėjančia tvarka`,resizerDescription:"Paspauskite „Enter“, kad pradėtumėte keisti dydį",select:"Pasirinkti",selectAll:"Pasirinkti viską",sortable:"rikiuojamas stulpelis"};var S0={};S0={ascending:"augošā secībā",ascendingSort:e=>`kārtots pēc kolonnas ${e.columnName} augošā secībā`,columnSize:e=>`${e.value} pikseļi`,descending:"dilstošā secībā",descendingSort:e=>`kārtots pēc kolonnas ${e.columnName} dilstošā secībā`,resizerDescription:"Nospiediet Enter, lai sāktu izmēru mainīšanu",select:"Atlasīt",selectAll:"Atlasīt visu",sortable:"kārtojamā kolonna"};var A0={};A0={ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkefølge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkefølge`,resizerDescription:"Trykk på Enter for å starte størrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var w0={};w0={ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var F0={};F0={ascending:"rosnąco",ascendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku rosnącym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malejąco",descendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku malejącym`,resizerDescription:"Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z możliwością sortowania"};var T0={};T0={ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para começar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classificável"};var I0={};I0={ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna ordenável"};var R0={};R0={ascending:"crescătoare",ascendingSort:e=>`sortate după coloana ${e.columnName} în ordine crescătoare`,columnSize:e=>`${e.value} pixeli`,descending:"descrescătoare",descendingSort:e=>`sortate după coloana ${e.columnName} în ordine descrescătoare`,resizerDescription:"Apăsați pe Enter pentru a începe redimensionarea",select:"Selectare",selectAll:"Selectare totală",sortable:"coloană sortabilă"};var K0={};K0={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var M0={};M0={ascending:"vzostupne",ascendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,columnSize:e=>`Počet pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,resizerDescription:"Stlačením klávesu Enter začnete zmenu veľkosti",select:"Vybrať",selectAll:"Vybrať všetko",sortable:"zoraditeľný stĺpec"};var z0={};z0={ascending:"naraščajoče",ascendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v naraščajočem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajoče",descendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v padajočem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da začnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var N0={};N0={ascending:"rastući",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastućim redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`sortirano po kolonama ${e.columnName} padajućim redosledom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se može sortirati"};var V0={};V0={ascending:"stigande",ascendingSort:e=>`sorterat på kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat på kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck på Retur för att börja ändra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var _0={};_0={ascending:"artan sırada",ascendingSort:e=>`${e.columnName} sütuna göre artan düzende sırala`,columnSize:e=>`${e.value} piksel`,descending:"azalan sırada",descendingSort:e=>`${e.columnName} sütuna göre azalan düzende sırala`,resizerDescription:"Yeniden boyutlandırmak için Enter'a basın",select:"Seç",selectAll:"Tümünü Seç",sortable:"Sıralanabilir sütun"};var j0={};j0={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var L0={};L0={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var O0={};O0={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var va={};va={"ar-AE":d0,"bg-BG":c0,"cs-CZ":f0,"da-DK":p0,"de-DE":m0,"el-GR":b0,"en-US":h0,"es-ES":$0,"et-EE":g0,"fi-FI":D0,"fr-FR":v0,"he-IL":y0,"hr-HR":x0,"hu-HU":C0,"it-IT":E0,"ja-JP":B0,"ko-KR":k0,"lt-LT":P0,"lv-LV":S0,"nb-NO":A0,"nl-NL":w0,"pl-PL":F0,"pt-BR":T0,"pt-PT":I0,"ro-RO":R0,"ru-RU":K0,"sk-SK":M0,"sl-SI":z0,"sr-SP":N0,"sv-SE":V0,"tr-TR":_0,"uk-UA":j0,"zh-CN":L0,"zh-TW":O0};class jv extends j1{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let n=Tt(we(u,this.collection));if(n)return n.key;let r=this.getFirstKey();return r==null||!this.collection.getItem(r)?null:super.getKeyForItemInRowByIndex(r,u.index)}return super.getKeyBelow(t)}getKeyAbove(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let a=u.parentKey!=null?this.collection.getItem(u.parentKey):null;return a&&a.type==="column"?a.key:null}let n=super.getKeyAbove(t),r=n!=null?this.collection.getItem(n):null;return r&&r.type!=="headerrow"?n:this.isCell(u)?this.collection.columns[u.index].key:this.collection.columns[0].key}findNextColumnKey(t){let u=this.findNextKey(t.key,r=>r.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level];for(let r of we(n,this.collection))if(r.type==="column")return r.key;return null}findPreviousColumnKey(t){let u=this.findPreviousKey(t.key,a=>a.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level],r=[...we(n,this.collection)];for(let a=r.length-1;a>=0;a--){let i=r[a];if(i.type==="column")return i.key}return null}getKeyRightOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(u):this.findNextColumnKey(u):super.getKeyRightOf(t):null}getKeyLeftOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findNextColumnKey(u):this.findPreviousColumnKey(u):super.getKeyLeftOf(t):null}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u??this.getFirstKey();if(r==null)return null;let a=n.getItem(r);var i;(a==null?void 0:a.type)==="cell"&&(r=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;r!=null;){let s=n.getItem(r);if(!s)return null;for(let d of we(s,this.collection)){let c=n.columns[d.index];if(n.rowHeaderColumnKeys.has(c.key)&&d.textValue){let f=d.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){let p=u!=null?n.getItem(u):a;return(p==null?void 0:p.type)==="cell"?d.key:s.key}}}r=this.getKeyBelow(r),r==null&&!l&&(r=this.getFirstKey(),l=!0)}return null}}function Lv(e){return e&&e.__esModule?e.default:e}function Ov(e,t,u){let{keyboardDelegate:n,isVirtualized:r,layoutDelegate:a,layout:i}=e,l=tn({usage:"search",sensitivity:"base"}),{direction:s}=pe(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new jv({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:d,ref:u,direction:s,collator:l,layoutDelegate:a,layout:i}),[n,t.collection,t.disabledKeys,d,u,s,l,a,i]),f=oe(e.id);jl.set(t,f);let{gridProps:p}=Ev({...e,id:f,keyboardDelegate:c},t,u);r&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),wr()&&"expandedKeys"in t&&(p.role="treegrid");let{column:m,direction:b}=t.sortDescriptor||{},g=De(Lv(va),"@react-aria/table"),$=o.useMemo(()=>{var y,x;let C=(x=(y=t.collection.columns.find(B=>B.key===m))===null||y===void 0?void 0:y.textValue)!==null&&x!==void 0?x:"";return b&&m?g.format(`${b}Sort`,{columnName:C}):void 0},[b,m,t.collection.columns]),D=yt($);return Sn(()=>{$&&$t($,"assertive",500)},[$]),{gridProps:_(p,D,{"aria-describedby":[D["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function Hv(e){return e&&e.__esModule?e.default:e}function Uv(e,t,u){var n,r;let{node:a}=e,i=a.props.allowsSorting,{gridCellProps:l}=Em({...e,focusMode:"child"},t,u),s=a.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:d}=Je({isDisabled:!i||s,onPress(){t.sort(a.key)},ref:u}),{focusableProps:c}=Ht({},u),f,p=((n=t.sortDescriptor)===null||n===void 0?void 0:n.column)===a.key,m=(r=t.sortDescriptor)===null||r===void 0?void 0:r.direction;a.props.allowsSorting&&!Pn()&&(f=p?m:"none");let b=De(Hv(va),"@react-aria/table"),g;i&&(g=`${b.format("sortable")}`,p&&m&&Pn()&&(g=`${g}, ${b.format(m)}`));let $=yt(g),D=t.collection.size===0;return o.useEffect(()=>{D&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[D,t.selectionManager,a.key]),{columnHeaderProps:{..._(c,l,d,$,D?{tabIndex:-1}:null),role:"columnheader",id:_v(t,a.key),"aria-colspan":a.colSpan&&a.colSpan>1?a.colSpan:void 0,"aria-sort":f}}}const ks={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Wv(e,t,u){let{node:n,isVirtualized:r}=e,{rowProps:a,...i}=kv(e,t,u),{direction:l}=pe();r&&!(wr()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let s={};if(wr()&&"expandedKeys"in t){let B=t.keyMap.get(n.key);if(B!=null){var d,c,f,p,m,b;let P=((d=B.props)===null||d===void 0?void 0:d.UNSTABLE_childItems)||((f=B.props)===null||f===void 0||(c=f.children)===null||c===void 0?void 0:c.length)>t.userColumnCount;var g,$,D,y;s={onKeyDown:T=>{(T.key===ks.expand[l]&&t.selectionManager.focusedKey===B.key&&P&&t.expandedKeys!=="all"&&!t.expandedKeys.has(B.key)||T.key===ks.collapse[l]&&t.selectionManager.focusedKey===B.key&&P&&(t.expandedKeys==="all"||t.expandedKeys.has(B.key)))&&(t.toggleKey(B.key),T.stopPropagation())},"aria-expanded":P?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":B.level,"aria-posinset":((g=B.indexOfType)!==null&&g!==void 0?g:0)+1,"aria-setsize":B.level>1?((D=(p=Kt(($=(m=t.keyMap.get(B.parentKey))===null||m===void 0?void 0:m.childNodes)!==null&&$!==void 0?$:[]))===null||p===void 0?void 0:p.indexOfType)!==null&&D!==void 0?D:0)+1:((y=(b=Kt(t.collection.body.childNodes))===null||b===void 0?void 0:b.indexOfType)!==null&&y!==void 0?y:0)+1}}}let x=tl(n.props),C=i.hasAction?x:{};return{rowProps:{..._(a,s,C),"aria-labelledby":s0(t,n.key)},...i}}function Zv(e,t,u){let{node:n,isVirtualized:r}=e,a={role:"row"};return r&&!(wr()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function Gv(e,t,u){var n;let{gridCellProps:r,isPressed:a}=Em(e,t,u),i=(n=e.node.column)===null||n===void 0?void 0:n.key;return i!=null&&t.collection.rowHeaderColumnKeys.has(i)&&(r.role="rowheader",r.id=o0(t,e.node.parentKey,i)),{gridCellProps:r,isPressed:a}}function qv(e){return e&&e.__esModule?e.default:e}function Yv(e,t){let{key:u}=e;const{checkboxProps:n}=Sv(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${s0(t,u)}`}}}function Jv(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":De(qv(va),"@react-aria/table").format(n==="single"?"select":"selectAll"),isSelected:u,isDisabled:n!=="multiple"||e.collection.size===0,isIndeterminate:!t&&!u,onChange:()=>e.selectionManager.toggleSelectAll()}}}function H0(){return Bv()}const U0=new WeakMap;function qr(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${U0.get(e)}-${u}-${t}`):""}function Qv(e,t,u){let{key:n,isDisabled:r,shouldSelectOnPressUp:a}=e,{selectionManager:i,selectedKey:l}=t,s=n===l,d=r||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=un({selectionManager:i,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:a,linkBehavior:"selection"}),p=qr(t,n,"tab"),m=qr(t,n,"tabpanel"),{tabIndex:b}=c,g=t.collection.getItem(n),$=U(g==null?void 0:g.props,{labelable:!0});delete $.id;let D=oa(g==null?void 0:g.props),{focusableProps:y}=Ht({isDisabled:d},u);return{tabProps:_($,y,D,c,{id:p,"aria-selected":s,"aria-disabled":d||void 0,"aria-controls":s?m:void 0,tabIndex:d?void 0:b,role:"tab"}),isSelected:s,isDisabled:d,isPressed:f}}function Xv(e,t,u){let n=kl(u)?void 0:0;var r;const a=qr(t,(r=e.id)!==null&&r!==void 0?r:t==null?void 0:t.selectedKey,"tabpanel"),i=Dt({...e,id:a,"aria-labelledby":qr(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:_(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class ey{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var u,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.isDisabled(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.isDisabled(t));return t}constructor(t,u,n,r=new Set){this.collection=t,this.flipDirection=u==="rtl"&&n==="horizontal",this.disabledKeys=r,this.tabDirection=n==="horizontal"}}function ty(e,t,u){let{orientation:n="horizontal",keyboardActivation:r="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:l}=t,{direction:s}=pe(),d=o.useMemo(()=>new ey(a,s,n,l),[a,l,n,s]),{collectionProps:c}=ga({ref:u,selectionManager:i,keyboardDelegate:d,selectOnFocus:r==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=oe();U0.set(t,f);let p=Dt({...e,id:f});return{tabListProps:{..._(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const W0=new WeakMap;function uy(e,t,u){let{direction:n}=pe(),r=e.keyboardDelegate||new nn({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:i,descriptionProps:l,errorMessageProps:s}=ou({...e,labelElementType:"span"}),{gridProps:d}=Av({...e,...i,keyboardDelegate:r,shouldFocusWrap:!0,linkBehavior:"override"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=ft({onFocusWithinChange:f}),m=U(e),b=o.useRef(t.collection.size);return o.useEffect(()=>{u.current&&b.current>0&&t.collection.size===0&&c&&u.current.focus(),b.current=t.collection.size},[t.collection.size,c,u]),W0.set(t,{onRemove:e.onRemove}),{gridProps:_(d,m,{role:t.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...p,...i}),labelProps:a,descriptionProps:l,errorMessageProps:s}}var Z0={};Z0={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var G0={};G0={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var q0={};q0={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var Y0={};Y0={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var J0={};J0={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var Q0={};Q0={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var X0={};X0={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var eb={};eb={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var tb={};tb={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var ub={};ub={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var nb={};nb={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var rb={};rb={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var ab={};ab={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var ib={};ib={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var lb={};lb={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var ob={};ob={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var sb={};sb={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var db={};db={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var cb={};cb={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var fb={};fb={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var pb={};pb={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var mb={};mb={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var bb={};bb={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var hb={};hb={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var $b={};$b={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var gb={};gb={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Db={};Db={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var vb={};vb={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var yb={};yb={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var xb={};xb={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var Cb={};Cb={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Eb={};Eb={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var Bb={};Bb={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var kb={};kb={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var Pb={};Pb={"ar-AE":Z0,"bg-BG":G0,"cs-CZ":q0,"da-DK":Y0,"de-DE":J0,"el-GR":Q0,"en-US":X0,"es-ES":eb,"et-EE":tb,"fi-FI":ub,"fr-FR":nb,"he-IL":rb,"hr-HR":ab,"hu-HU":ib,"it-IT":lb,"ja-JP":ob,"ko-KR":sb,"lt-LT":db,"lv-LV":cb,"nb-NO":fb,"nl-NL":pb,"pl-PL":mb,"pt-BR":bb,"pt-PT":hb,"ro-RO":$b,"ru-RU":gb,"sk-SK":Db,"sl-SI":vb,"sr-SP":yb,"sv-SE":xb,"tr-TR":Cb,"uk-UA":Eb,"zh-CN":Bb,"zh-TW":kb};function ny(e){return e&&e.__esModule?e.default:e}function ry(e,t,u){let{item:n}=e,r=De(ny(Pb),"@react-aria/tag"),a=oe(),{onRemove:i}=W0.get(t)||{},{rowProps:l,gridCellProps:s,...d}=wv({node:n},t,u);delete l.onKeyDownCapture;let{descriptionProps:c,...f}=d,p=t.disabledKeys.has(n.key)||n.props.isDisabled,m=T=>{if(T.key==="Delete"||T.key==="Backspace"){if(p)return;T.preventDefault(),t.selectionManager.isSelected(n.key)?i==null||i(new Set(t.selectionManager.selectedKeys)):i==null||i(new Set([n.key]))}},b=ll();b==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(b="pointer");let g=i&&(b==="keyboard"||b==="virtual")?r.format("removeDescription"):"",$=yt(g),D=n.key===t.selectionManager.focusedKey,y=t.selectionManager.focusedKey!=null,x=-1;!p&&(D||!y)&&(x=0);let C=U(n.props),B=tl(n.props),{focusableProps:P}=Ht({isDisabled:p},u);return{removeButtonProps:{"aria-label":r.format("removeButtonLabel"),"aria-labelledby":`${a} ${l.id}`,isDisabled:p,id:a,onPress:()=>i?i(new Set([n.key])):null,excludeFromTabOrder:!0},rowProps:_(P,l,C,B,{tabIndex:x,onKeyDown:i?m:void 0,"aria-describedby":$["aria-describedby"]}),gridCellProps:_(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!i}}var Sb={};Sb={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var Ab={};Ab={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var wb={};wb={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var Fb={};Fb={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var Tb={};Tb={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var Ib={};Ib={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var Rb={};Rb={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var Kb={};Kb={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var Mb={};Mb={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var zb={};zb={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var Nb={};Nb={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var Vb={};Vb={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var _b={};_b={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var jb={};jb={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var Lb={};Lb={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var Ob={};Ob={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var Hb={};Hb={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var Ub={};Ub={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var Wb={};Wb={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var Zb={};Zb={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var Gb={};Gb={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var qb={};qb={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ń`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var Yb={};Yb={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Jb={};Jb={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Qb={};Qb={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var Xb={};Xb={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var eh={};eh={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var th={};th={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`})}.`};var uh={};uh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var nh={};nh={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var rh={};rh={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var ah={};ah={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var ih={};ih={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var lh={};lh={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var Ll={};Ll={"ar-AE":Sb,"bg-BG":Ab,"cs-CZ":wb,"da-DK":Fb,"de-DE":Tb,"el-GR":Ib,"en-US":Rb,"es-ES":Kb,"et-EE":Mb,"fi-FI":zb,"fr-FR":Nb,"he-IL":Vb,"hr-HR":_b,"hu-HU":jb,"it-IT":Lb,"ja-JP":Ob,"ko-KR":Hb,"lt-LT":Ub,"lv-LV":Wb,"nb-NO":Zb,"nl-NL":Gb,"pl-PL":qb,"pt-BR":Yb,"pt-PT":Jb,"ro-RO":Qb,"ru-RU":Xb,"sk-SK":eh,"sl-SI":th,"sr-SP":uh,"sv-SE":nh,"tr-TR":rh,"uk-UA":ah,"zh-CN":ih,"zh-TW":lh};function ay(e){return e&&e.__esModule?e.default:e}function iy(e,t,u){let{key:n,timer:r,timeout:a}=e.toast;o.useEffect(()=>{if(!(r==null||a==null))return r.reset(a),()=>{r.pause()}},[r,a]);let i=oe(),l=it(),s=De(ay(Ll),"@react-aria/toast"),[d,c]=o.useState(!1);return o.useEffect(()=>{c(!0)},[]),{toastProps:{role:"alertdialog","aria-modal":"false","aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]||i,"aria-describedby":e["aria-describedby"]||l,"aria-details":e["aria-details"],tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":d?void 0:"true"},titleProps:{id:i},descriptionProps:{id:l},closeButtonProps:{"aria-label":s.format("close"),onPress:()=>t.close(n)}}}function ly(e){return e&&e.__esModule?e.default:e}function oy(e,t,u){let n=De(ly(Ll),"@react-aria/toast"),{landmarkProps:r}=Rv({role:"region","aria-label":e["aria-label"]||n.format("notifications",{count:t.visibleToasts.length})},u),a=o.useRef(!1),i=o.useRef(!1),l=ie(()=>{a.current||i.current?t.pauseAll():t.resumeAll()}),{hoverProps:s}=Ce({onHoverStart:()=>{a.current=!0,l()},onHoverEnd:()=>{a.current=!1,l()}}),d=o.useRef([]),c=o.useRef(t.visibleToasts),f=o.useRef(null);Y(()=>{if(f.current===-1||t.visibleToasts.length===0||!u.current){d.current=[],c.current=t.visibleToasts;return}if(d.current=[...u.current.querySelectorAll('[role="alertdialog"]')],c.current.length===t.visibleToasts.length&&t.visibleToasts.every((D,y)=>D.key===c.current[y].key)){c.current=t.visibleToasts;return}let b=c.current.map((D,y)=>({...D,i:y,isRemoved:!t.visibleToasts.some(x=>D.key===x.key)})),g=b.findIndex(D=>D.i===f.current&&D.isRemoved);if(g>-1){var $;if(Mt()==="pointer"&&(!(($=p.current)===null||$===void 0)&&$.isConnected))_e(p.current);else{let D=0,y,x;for(;D<=g;)b[D].isRemoved||(x=Math.max(0,D-1)),D++;for(;D<b.length;){if(!b[D].isRemoved){y=D-1;break}D++}x===void 0&&y===void 0&&(x=0),x>=0&&x<d.current.length?_e(d.current[x]):y>=0&&y<d.current.length&&_e(d.current[y])}}c.current=t.visibleToasts},[t.visibleToasts,u,l]);let p=o.useRef(null),{focusWithinProps:m}=ft({onFocusWithin:b=>{i.current=!0,p.current=b.relatedTarget,l()},onBlurWithin:()=>{i.current=!1,p.current=null,l()}});return o.useEffect(()=>{var b;t.visibleToasts.length===0&&(!((b=p.current)===null||b===void 0)&&b.isConnected)&&(Mt()==="pointer"?_e(p.current):p.current.focus(),p.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{var b;!((b=p.current)===null||b===void 0)&&b.isConnected&&(Mt()==="pointer"?_e(p.current):p.current.focus(),p.current=null)},[u]),{regionProps:_(r,s,m,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:b=>{let g=b.target.closest('[role="alertdialog"]');f.current=d.current.findIndex($=>$===g)},onBlur:()=>{f.current=-1}})}}function sy(e,t){let u=U(e,{labelable:!0}),{hoverProps:n}=Ce({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:_(u,n,{role:"tooltip"})}}function dy(e,t,u){let{isDisabled:n,trigger:r}=e,a=oe(),i=o.useRef(!1),l=o.useRef(!1),s=()=>{(i.current||l.current)&&t.open(l.current)},d=D=>{!i.current&&!l.current&&t.close(D)};o.useEffect(()=>{let D=y=>{u&&u.current&&y.key==="Escape"&&(y.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",D,!0),()=>{document.removeEventListener("keydown",D,!0)}},[u,t]);let c=()=>{r!=="focus"&&(Mt()==="pointer"?i.current=!0:i.current=!1,s())},f=()=>{r!=="focus"&&(l.current=!1,i.current=!1,d())},p=()=>{l.current=!1,i.current=!1,d(!0)},m=()=>{_t()&&(l.current=!0,s())},b=()=>{l.current=!1,i.current=!1,d(!0)},{hoverProps:g}=Ce({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:$}=Ht({isDisabled:n,onFocus:m,onBlur:b},u);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,..._($,g,{onPointerDown:p,onKeyDown:p,tabIndex:void 0})},tooltipProps:{id:a}}}const Xu=o.createContext({});let cy=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const ya=Wn(function(t,u){[t,u]=X(t,u,Xu);let{hoverProps:n,isHovered:r}=Ce(t),{isFocused:a,isFocusVisible:i,focusProps:l}=he({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=Z({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return o.createElement("input",{..._(cy(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),Et=o.createContext({}),rn=Wn(function(t,u){[t,u]=X(t,u,Et);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})}),oh=o.createContext(null),fy=o.forwardRef(function(t,u){[t,u]=X(t,u,oh);let{value:n=0,minValue:r=0,maxValue:a=100,isIndeterminate:i=!1}=t;n=wn(n,r,a);let[l,s]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{progressBarProps:d,labelProps:c}=Kv({...t,label:s}),f=i?void 0:(n-r)/(a-r)*100,p=Z({...t,defaultClassName:"react-aria-ProgressBar",values:{percentage:f,valueText:d["aria-valuetext"],isIndeterminate:i}});return o.createElement("div",{...d,...p,ref:u,slot:t.slot||void 0},o.createElement(Et.Provider,{value:{...c,ref:l,elementType:"span"}},p.children))}),py=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),pt=o.createContext({}),jt=Wn(function(t,u){[t,u]=X(t,u,pt),t=my(t);let n=t,{isPending:r}=n,{buttonProps:a,isPressed:i}=El(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=he(t),{hoverProps:c,isHovered:f}=Ce({...t,isDisabled:t.isDisabled||r}),p={isHovered:f,isPressed:(n.isPressed||i)&&!r,isFocused:s,isFocusVisible:d,isDisabled:t.isDisabled||!1,isPending:r??!1},m=Z({...t,values:p,defaultClassName:"react-aria-Button"}),b=oe(a.id),g=oe(),$=a["aria-labelledby"];r&&($?$=`${$} ${g}`:a["aria-label"]&&($=`${b} ${g}`));let D=o.useRef(r);return o.useEffect(()=>{let y={"aria-labelledby":$||b};(!D.current&&s&&r||D.current&&s&&!r)&&$t(y,"assertive"),D.current=r},[r,s,$,b]),o.createElement("button",{...U(t,{propNames:py}),..._(a,l,c),...m,type:a.type==="submit"&&r?"button":a.type,id:b,ref:u,"aria-labelledby":$,slot:t.slot||void 0,"aria-disabled":r?"true":a["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":p.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":d||void 0},o.createElement(oh.Provider,{value:{id:g}},m.children))});function my(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}const qe=o.createContext({}),Bt=o.forwardRef(function(t,u){[t,u]=X(t,u,qe);let{elementType:n="span",...r}=t;return o.createElement(n,{className:"react-aria-Text",...r,ref:u})}),Ut=o.createContext(null),tr=o.forwardRef(function(t,u){let n=o.useContext(Ut);return n!=null&&n.isInvalid?o.createElement(by,{...t,ref:u}):null}),by=o.forwardRef((e,t)=>{let u=o.useContext(Ut),n=U(e),r=Z({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return r.children==null?null:o.createElement(Bt,{slot:"errorMessage",...n,...r,ref:t})});function qu(e,t,u){return t!=null&&e.compare(t)<0||u!=null&&e.compare(u)>0}function Vi(e,t,u,n,r){let a={};for(let l in t)a[l]=Math.floor(t[l]/2),a[l]>0&&t[l]%2===0&&a[l]--;let i=yu(e,t,u).subtract(a);return jn(e,i,t,u,n,r)}function yu(e,t,u,n,r){let a=e;return t.years?a=S6(e):t.months?a=Eu(e):t.weeks&&(a=Mn(e,u)),jn(e,a,t,u,n,r)}function _i(e,t,u,n,r){let a={...t};a.days?a.days--:a.weeks?a.weeks--:a.months?a.months--:a.years&&a.years--;let i=yu(e,t,u).subtract(a);return jn(e,i,t,u,n,r)}function jn(e,t,u,n,r,a){if(r&&e.compare(r)>=0){let i=ml(t,yu(Oe(r),u,n));i&&(t=i)}if(a&&e.compare(a)<=0){let i=pl(t,_i(Oe(a),u,n));i&&(t=i)}return t}function qt(e,t,u){if(t){let n=ml(e,Oe(t));n&&(e=n)}if(u){let n=pl(e,Oe(u));n&&(e=n)}return e}function sh(e,t,u){if(!u)return e;for(;e.compare(t)>=0&&u(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}function dh(e){let t=o.useMemo(()=>new at(e.locale),[e.locale]),u=o.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:r,visibleDuration:a={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:d,pageBehavior:c="visible",firstDayOfWeek:f}=e,p=o.useMemo(()=>r(u.calendar),[r,u.calendar]);var m;let[b,g]=Me(e.value,(m=e.defaultValue)!==null&&m!==void 0?m:null,e.onChange),$=o.useMemo(()=>b?ge(Oe(b),p):null,[b,p]),D=o.useMemo(()=>b&&"timeZone"in b?b.timeZone:u.timeZone,[b,u.timeZone]),y=o.useMemo(()=>e.focusedValue?qt(ge(Oe(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),x=o.useMemo(()=>qt(e.defaultFocusedValue?ge(Oe(e.defaultFocusedValue),p):$||ge(fl(D),p),i,l),[e.defaultFocusedValue,$,D,p,i,l]),[C,B]=Me(y,x,e.onFocusChange),[P,T]=o.useState(()=>{switch(s){case"start":return yu(C,a,n,i,l);case"end":return _i(C,a,n,i,l);case"center":default:return Vi(C,a,n,i,l)}}),[v,F]=o.useState(e.autoFocus||!1),S=o.useMemo(()=>{let N={...a};return N.days?N.days--:N.days=-1,P.add(N)},[P,a]),[k,M]=o.useState(p.identifier);if(p.identifier!==k){let N=ge(C,p);T(Vi(N,a,n,i,l)),B(N),M(p.identifier)}qu(C,i,l)?B(qt(C,i,l)):C.compare(P)<0?T(_i(C,a,n,i,l)):C.compare(S)>0&&T(yu(C,a,n,i,l));function E(N){N=qt(N,i,l),B(N)}function V(N){if(!e.isDisabled&&!e.isReadOnly){let H=N;if(H===null){g(null);return}if(H=qt(H,i,l),H=sh(H,P,d),!H)return;H=ge(H,(b==null?void 0:b.calendar)||new Ge),b&&"hour"in b?g(b.set(H)):g(H)}}let R=o.useMemo(()=>$?d&&d($)?!0:qu($,i,l):!1,[$,d,i,l]),w=e.isInvalid||e.validationState==="invalid"||R,I=w?"invalid":null,A=o.useMemo(()=>c==="visible"?a:li(a),[c,a]);var z,K;return{isDisabled:(z=e.isDisabled)!==null&&z!==void 0?z:!1,isReadOnly:(K=e.isReadOnly)!==null&&K!==void 0?K:!1,value:$,setValue:V,visibleRange:{start:P,end:S},minValue:i,maxValue:l,focusedDate:C,timeZone:D,validationState:I,isValueInvalid:w,setFocusedDate(N){E(N),F(!0)},focusNextDay(){E(C.add({days:1}))},focusPreviousDay(){E(C.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&E(C.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&E(C.subtract({weeks:1}))},focusNextPage(){let N=P.add(A);B(qt(C.add(A),i,l)),T(yu(jn(C,N,A,n,i,l),A,n))},focusPreviousPage(){let N=P.subtract(A);B(qt(C.subtract(A),i,l)),T(yu(jn(C,N,A,n,i,l),A,n))},focusSectionStart(){a.days?E(P):a.weeks?E(Mn(C,n)):(a.months||a.years)&&E(Eu(C))},focusSectionEnd(){a.days?E(S):a.weeks?E(F6(C,n)):(a.months||a.years)&&E(zr(C))},focusNextSection(N){if(!N&&!a.days){E(C.add(li(a)));return}a.days?this.focusNextPage():a.weeks?E(C.add({months:1})):(a.months||a.years)&&E(C.add({years:1}))},focusPreviousSection(N){if(!N&&!a.days){E(C.subtract(li(a)));return}a.days?this.focusPreviousPage():a.weeks?E(C.subtract({months:1})):(a.months||a.years)&&E(C.subtract({years:1}))},selectFocusedDate(){d&&d(C)||V(C)},selectDate(N){V(N)},isFocused:v,setFocused:F,isInvalid(N){return qu(N,i,l)},isSelected(N){return $!=null&&Fe(N,$)&&!this.isCellDisabled(N)&&!this.isCellUnavailable(N)},isCellFocused(N){return v&&C&&Fe(N,C)},isCellDisabled(N){return e.isDisabled||N.compare(P)<0||N.compare(S)>0||this.isInvalid(N)},isCellUnavailable(N){return e.isDateUnavailable?e.isDateUnavailable(N):!1},isPreviousVisibleRangeInvalid(){let N=P.subtract({days:1});return Fe(N,P)||this.isInvalid(N)},isNextVisibleRangeInvalid(){let N=S.add({days:1});return Fe(N,S)||this.isInvalid(N)},getDatesInWeek(N,H=P){let G=H.add({weeks:N}),Q=[];G=Mn(G,n,f);let me=cl(G,n,f);for(let ue=0;ue<me;ue++)Q.push(null);for(;Q.length<7;){Q.push(G);let ue=G.add({days:1});if(Fe(G,ue))break;G=ue}for(;Q.length<7;)Q.push(null);return Q}}}function li(e){let t={...e};for(let u in e)t[u]=1;return t}function hy(e){let{value:t,defaultValue:u,onChange:n,createCalendar:r,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=Me(t,u||null,n),[p,m]=o.useState(null),b="center";if(c&&c.start&&c.end){let A=Vi(Oe(c.start),i,a,l,s).add(i).subtract({days:1});c.end.compare(A)>0&&(b="start")}let g=o.useRef(null),[$,D]=o.useState(null),y=o.useMemo(()=>ml(l,$==null?void 0:$.start),[l,$]),x=o.useMemo(()=>pl(s,$==null?void 0:$.end),[s,$]),C=dh({...d,value:c&&c.start,createCalendar:r,locale:a,visibleDuration:i,minValue:y,maxValue:x,selectionAlignment:b}),B=I=>{if(I&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const A=Ss(I,C,-1),z=Ss(I,C,1);g.current={start:A,end:z},D(g.current)}else g.current=null,D(null)},[P,T]=o.useState(C.visibleRange);(!gi(C.visibleRange.start,P.start)||!gi(C.visibleRange.end,P.end))&&(B(p),T(C.visibleRange));let v=I=>{I?(m(I),B(I)):(m(null),B(null))},F=p?oi(p,C.focusedDate):c&&oi(c.start,c.end),S=I=>{if(e.isReadOnly)return;const A=qt(I,y,x),z=sh(A,C.visibleRange.start,e.isDateUnavailable);if(z)if(!p)v(z);else{let K=oi(p,z);K&&f({start:Ps(K.start,c==null?void 0:c.start),end:Ps(K.end,c==null?void 0:c.end)}),v(null)}},[k,M]=o.useState(!1),{isDateUnavailable:E}=e,V=o.useMemo(()=>!c||p?!1:E&&(E(c.start)||E(c.end))?!0:qu(c.start,l,s)||qu(c.end,l,s),[E,c,p,l,s]),R=e.isInvalid||e.validationState==="invalid"||V;return{...C,value:c,setValue:f,anchorDate:p,setAnchorDate:v,highlightedRange:F,validationState:R?"invalid":null,isValueInvalid:R,selectFocusedDate(){S(C.focusedDate)},selectDate:S,highlightDate(I){p&&C.setFocusedDate(I)},isSelected(I){return!!(F&&I.compare(F.start)>=0&&I.compare(F.end)<=0&&!C.isCellDisabled(I)&&!C.isCellUnavailable(I))},isInvalid(I){var A,z;return C.isInvalid(I)||qu(I,(A=g.current)===null||A===void 0?void 0:A.start,(z=g.current)===null||z===void 0?void 0:z.end)},isDragging:k,setDragging:M}}function oi(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Oe(e),end:Oe(t)})}function Ps(e,t){return e=ge(e,(t==null?void 0:t.calendar)||new Ge),t&&"hour"in t?t.set(e):e}function Ss(e,t,u){let n=e.add({days:u});for(;(u<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:u});if(t.isCellUnavailable(n))return n.add({days:-u})}function $y(e={}){let[t,u]=Me(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,r=o.useRef(new Map),a=Ct({...e,value:t}),i=a.displayValidation.isInvalid;var l;return{...a,value:t,setValue(d){e.isReadOnly||e.isDisabled||u(d)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(d){return t.includes(d)},addValue(d){e.isReadOnly||e.isDisabled||t.includes(d)||u(t.concat(d))},removeValue(d){e.isReadOnly||e.isDisabled||t.includes(d)&&u(t.filter(c=>c!==d))},toggleValue(d){e.isReadOnly||e.isDisabled||(t.includes(d)?u(t.filter(c=>c!==d)):u(t.concat(d)))},setInvalid(d,c){let f=new Map(r.current);c.isInvalid?f.set(d,c):f.delete(d),r.current=f,a.updateValidation(_n(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class ji{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let u=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let l of i.childNodes)u(l)};for(let i of t)u(i);let n=null,r=0;for(let[i,l]of this.keyMap)n?(n.nextKey=i,l.prevKey=n.key):(this.firstKey=i,l.prevKey=void 0),l.type==="item"&&(l.index=r++),n=l,n.nextKey=void 0;var a;this.lastKey=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:null}}class st extends Set{constructor(t,u,n){super(t),t instanceof st?(this.anchorKey=u??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=u??null,this.currentKey=n??null)}}function gy(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function ur(e){let{selectionMode:t="none",disallowEmptySelection:u=!1,allowDuplicateSelectionEvents:n,selectionBehavior:r="toggle",disabledBehavior:a="all"}=e,i=o.useRef(!1),[,l]=o.useState(!1),s=o.useRef(null),d=o.useRef(null),[,c]=o.useState(null),f=o.useMemo(()=>As(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>As(e.defaultSelectedKeys,new st),[e.defaultSelectedKeys]),[m,b]=Me(f,p,e.onSelectionChange),g=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[$,D]=o.useState(r);r==="replace"&&$==="toggle"&&typeof m=="object"&&m.size===0&&D("replace");let y=o.useRef(r);return o.useEffect(()=>{r!==y.current&&(D(r),y.current=r)},[r]),{selectionMode:t,disallowEmptySelection:u,selectionBehavior:$,setSelectionBehavior:D,get isFocused(){return i.current},setFocused(x){i.current=x,l(x)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(x,C="first"){s.current=x,d.current=C,c(x)},selectedKeys:m,setSelectedKeys(x){(n||!gy(x,m))&&b(x)},disabledKeys:g,disabledBehavior:a}}function As(e,t){return e?e==="all"?"all":new st(e):t}class an{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,u){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,u)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let u=this.getKey(t);return u==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(u):this.state.selectedKeys.has(u)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),u=this.state.selectedKeys;return this._isSelectAll=t.every(n=>u.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&ti(this.collection,r,t)<0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&ti(this.collection,r,t)>0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n;if(this.state.selectedKeys==="all")n=new st([u],u,u);else{let i=this.state.selectedKeys;var r;let l=(r=i.anchorKey)!==null&&r!==void 0?r:u;n=new st(i,l,u);var a;for(let s of this.getKeyRange(l,(a=i.currentKey)!==null&&a!==void 0?a:u))n.delete(s);for(let s of this.getKeyRange(u,l))this.canSelectItem(s)&&n.add(s)}this.state.setSelectedKeys(n)}getKeyRange(t,u){let n=this.collection.getItem(t),r=this.collection.getItem(u);return n&&r?ti(this.collection,n,r)<=0?this.getKeyRangeInternal(t,u):this.getKeyRangeInternal(u,t):[]}getKeyRangeInternal(t,u){var n;if(!((n=this.layoutDelegate)===null||n===void 0)&&n.getKeyRange)return this.layoutDelegate.getKeyRange(t,u);let r=[],a=t;for(;a!=null;){let i=this.collection.getItem(a);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&r.push(a),a===u)return r;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let u=this.collection.getItem(t);if(!u||u.type==="cell"&&this.allowsCellSelection)return t;for(;u&&u.type!=="item"&&u.parentKey!=null;)u=this.collection.getItem(u.parentKey);return!u||u.type!=="item"?null:u.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n=new st(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(u)?n.delete(u):this.canSelectItem(u)&&(n.add(u),n.anchorKey=u,n.currentKey=u),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let u=this.getKey(t);if(u==null)return;let n=this.canSelectItem(u)?new st([u],u,u):new st;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let u=new st;for(let n of t){let r=this.getKey(n);if(r!=null&&(u.add(r),this.selectionMode==="single"))break}this.state.setSelectedKeys(u)}getSelectAllKeys(){let t=[],u=n=>{for(;n!=null;){if(this.canSelectItem(n)){var r;let i=this.collection.getItem(n);(i==null?void 0:i.type)==="item"&&t.push(n);var a;i!=null&&i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&u((a=(r=Tt(we(i,this.collection)))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null)}n=this.collection.getKeyAfter(n)}};return u(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new st)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,u){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||u&&(u.pointerType==="touch"||u.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let u=this.selectedKeys;if(t.size!==u.size)return!1;for(let n of t)if(!u.has(n))return!1;for(let n of u)if(!t.has(n))return!1;return!0}canSelectItem(t){var u;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(u=n.props)===null||u===void 0)&&u.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var u,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled))}isLink(t){var u,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.href)}getItemProps(t){var u;return(u=this.collection.getItem(t))===null||u===void 0?void 0:u.props}withCollection(t){return new an(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(t,u,n){this.collection=t,this.state=u;var r;this.allowsCellSelection=(r=n==null?void 0:n.allowsCellSelection)!==null&&r!==void 0?r:!1,this._isSelectAll=null,this.layoutDelegate=(n==null?void 0:n.layoutDelegate)||null}}function xa(e){let{filter:t,layoutDelegate:u}=e,n=ur(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=o.useCallback(d=>t?new ji(t(d)):new ji(d),[t]),i=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=Rl(e,a,i),s=o.useMemo(()=>new an(l,n,{layoutDelegate:u}),[l,n,u]);return ch(l,s),{collection:l,disabledKeys:r,selectionManager:s}}function Dy(e,t){let u=o.useMemo(()=>t?e.collection.UNSTABLE_filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(u);return ch(u,n),{collection:u,selectionManager:n,disabledKeys:e.disabledKeys}}function ch(e,t){const u=o.useRef(null);o.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&u.current){const c=u.current.getItem(t.focusedKey),f=[...u.current.getKeys()].map(D=>{const y=u.current.getItem(D);return(y==null?void 0:y.type)==="item"?y:null}).filter(D=>D!==null),p=[...e.getKeys()].map(D=>{const y=e.getItem(D);return(y==null?void 0:y.type)==="item"?y:null}).filter(D=>D!==null);var n,r;const m=((n=f==null?void 0:f.length)!==null&&n!==void 0?n:0)-((r=p==null?void 0:p.length)!==null&&r!==void 0?r:0);var a,i,l;let b=Math.min(m>1?Math.max(((a=c==null?void 0:c.index)!==null&&a!==void 0?a:0)-m+1,0):(i=c==null?void 0:c.index)!==null&&i!==void 0?i:0,((l=p==null?void 0:p.length)!==null&&l!==void 0?l:0)-1),g=null,$=!1;for(;b>=0;){if(!t.isDisabled(p[b].key)){g=p[b];break}if(b<p.length-1&&!$)b++;else{$=!0;var s,d;b>((s=c==null?void 0:c.index)!==null&&s!==void 0?s:0)&&(b=(d=c==null?void 0:c.index)!==null&&d!==void 0?d:0),b--}}t.setFocusedKey(g?g.key:null)}u.current=e},[e,t])}function fh(e){var t;let[u,n]=Me(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),r=o.useMemo(()=>u!=null?[u]:[],[u]),{collection:a,disabledKeys:i,selectionManager:l}=xa({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:d=>{if(d==="all")return;var c;let f=(c=d.values().next().value)!==null&&c!==void 0?c:null;f===u&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),s=u!=null?a.getItem(u):null;return{collection:a,disabledKeys:i,selectionManager:l,selectedKey:u,setSelectedKey:n,selectedItem:s}}function Au(e){let[t,u]=Me(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isOpen:t,setOpen:u,open:n,close:r,toggle:a}}function vy(e){var t;let{defaultFilter:u,menuTrigger:n="input",allowsEmptyCollection:r=!1,allowsCustomValue:a,shouldCloseOnBlur:i=!0}=e,[l,s]=o.useState(!1),[d,c]=o.useState(!1),[f,p]=o.useState(null),m=ae=>{e.onSelectionChange&&e.onSelectionChange(ae),ae===D&&(Q(),N())};var b;let{collection:g,selectionManager:$,selectedKey:D,setSelectedKey:y,selectedItem:x,disabledKeys:C}=fh({...e,onSelectionChange:m,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),B=e.defaultInputValue;if(B==null){var P,T;D==null?B="":B=(T=(P=g.getItem(D))===null||P===void 0?void 0:P.textValue)!==null&&T!==void 0?T:""}let[v,F]=Me(e.inputValue,B,e.onInputChange),S=g,k=o.useMemo(()=>e.items!=null||!u?g:yy(g,v,u),[g,v,u,e.items]),[M,E]=o.useState(k),V=o.useRef("focus"),w=Au({...e,onOpenChange:ae=>{e.onOpenChange&&e.onOpenChange(ae,ae?V.current:void 0),$.setFocused(ae),ae||$.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),I=(ae=null,ve)=>{let Ie=ve==="manual"||ve==="focus"&&n==="focus";(r||k.size>0||Ie&&S.size>0||e.items)&&(Ie&&!w.isOpen&&e.items===void 0&&s(!0),V.current=ve,p(ae),w.open())},A=(ae=null,ve)=>{let Ie=ve==="manual"||ve==="focus"&&n==="focus";!(r||k.size>0||Ie&&S.size>0||e.items)&&!w.isOpen||(Ie&&!w.isOpen&&e.items===void 0&&s(!0),w.isOpen||(V.current=ve),K(ae))},z=o.useCallback(()=>{E(l?S:k)},[l,S,k]),K=o.useCallback((ae=null)=>{w.isOpen&&z(),p(ae),w.toggle()},[w,z]),N=o.useCallback(()=>{w.isOpen&&(z(),w.close())},[w,z]),[H,G]=o.useState(v),Q=()=>{var ae,ve;let Ie=D!=null&&(ve=(ae=g.getItem(D))===null||ae===void 0?void 0:ae.textValue)!==null&&ve!==void 0?ve:"";G(Ie),F(Ie)};var me,ue;let se=o.useRef((ue=(me=e.selectedKey)!==null&&me!==void 0?me:e.defaultSelectedKey)!==null&&ue!==void 0?ue:null);var L;let ee=o.useRef(D!=null&&(L=(t=g.getItem(D))===null||t===void 0?void 0:t.textValue)!==null&&L!==void 0?L:"");o.useEffect(()=>{var ae;d&&(k.size>0||r)&&!w.isOpen&&v!==H&&n!=="manual"&&I(null,"input"),!l&&!r&&w.isOpen&&k.size===0&&N(),D!=null&&D!==se.current&&N(),v!==H&&($.setFocusedKey(null),s(!1),v===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&y(null)),D!==se.current&&(e.inputValue===void 0||e.selectedKey===void 0)?Q():H!==v&&G(v);var ve;let Ie=D!=null&&(ve=(ae=g.getItem(D))===null||ae===void 0?void 0:ae.textValue)!==null&&ve!==void 0?ve:"";!d&&D!=null&&e.inputValue===void 0&&D===se.current&&ee.current!==Ie&&(G(Ie),F(Ie)),se.current=D,ee.current=Ie});let j=Ct({...e,value:o.useMemo(()=>({inputValue:v,selectedKey:D}),[v,D])}),O=()=>{a&&D==null?q():ne()},q=()=>{se.current=null,y(null),N()},ne=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ae,ve;(ae=e.onSelectionChange)===null||ae===void 0||ae.call(e,D);var Ie;let M2=D!=null&&(Ie=(ve=g.getItem(D))===null||ve===void 0?void 0:ve.textValue)!==null&&Ie!==void 0?Ie:"";G(M2),N()}else Q(),N()};const Qe=()=>{if(a){var ae,ve;const Ie=D!=null&&(ve=(ae=g.getItem(D))===null||ae===void 0?void 0:ae.textValue)!==null&&ve!==void 0?ve:"";v===Ie?ne():q()}else ne()};let re=()=>{w.isOpen&&$.focusedKey!=null?D===$.focusedKey?ne():y($.focusedKey):Qe()},Zt=o.useRef(v),cu=ae=>{ae?(Zt.current=v,n==="focus"&&!e.isReadOnly&&I(null,"focus")):(i&&Qe(),v!==Zt.current&&j.commitValidation()),c(ae)},K2=o.useMemo(()=>w.isOpen?l?S:k:M,[w.isOpen,S,k,l,M]);return{...j,...w,focusStrategy:f,toggle:A,open:I,close:Qe,selectionManager:$,selectedKey:D,setSelectedKey:y,disabledKeys:C,isFocused:d,setFocused:cu,selectedItem:x,collection:K2,inputValue:v,setInputValue:F,commit:re,revert:O}}function yy(e,t,u){return new ji(ph(e,e,t,u))}function ph(e,t,u,n){let r=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=ph(e,we(a,e),u,n);[...i].some(l=>l.type==="item")&&r.push({...a,childNodes:i})}else a.type==="item"&&n(a.textValue,u)?r.push({...a}):a.type!=="item"&&r.push({...a});return r}var mh={};mh={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var bh={};bh={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var hh={};hh={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var $h={};$h={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var gh={};gh={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var Dh={};Dh={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var vh={};vh={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var yh={};yh={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var xh={};xh={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var Ch={};Ch={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var Eh={};Eh={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var Bh={};Bh={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var kh={};kh={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var Ph={};Ph={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var Sh={};Sh={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var Ah={};Ah={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var wh={};wh={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var Fh={};Fh={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var Th={};Th={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var Ih={};Ih={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var Rh={};Rh={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var Kh={};Kh={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var Mh={};Mh={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var zh={};zh={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var Nh={};Nh={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var Vh={};Vh={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var _h={};_h={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var jh={};jh={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var Lh={};Lh={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var Oh={};Oh={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var Hh={};Hh={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var Uh={};Uh={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Wh={};Wh={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Zh={};Zh={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var Gh={};Gh={"ar-AE":mh,"bg-BG":bh,"cs-CZ":hh,"da-DK":$h,"de-DE":gh,"el-GR":Dh,"en-US":vh,"es-ES":yh,"et-EE":xh,"fi-FI":Ch,"fr-FR":Eh,"he-IL":Bh,"hr-HR":kh,"hu-HU":Ph,"it-IT":Sh,"ja-JP":Ah,"ko-KR":wh,"lt-LT":Fh,"lv-LV":Th,"nb-NO":Ih,"nl-NL":Rh,"pl-PL":Kh,"pt-BR":Mh,"pt-PT":zh,"ro-RO":Nh,"ru-RU":Vh,"sk-SK":_h,"sl-SI":jh,"sr-SP":Lh,"sv-SE":Oh,"tr-TR":Hh,"uk-UA":Uh,"zh-CN":Wh,"zh-TW":Zh};function xy(e){return e&&e.__esModule?e.default:e}const qh=new lu(xy(Gh));function Yh(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Yr(e,t,u,n,r){let a=e!=null&&u!=null&&e.compare(u)>0,i=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,s=a||i||l,d=[];if(s){let c=Yh(),f=lu.getGlobalDictionaryForPackage("@react-stately/datepicker")||qh,p=new Xd(c,f),m=new at(c,zt({},r)),b=m.resolvedOptions().timeZone;i&&t!=null&&d.push(p.format("rangeUnderflow",{minValue:m.format(t.toDate(b))})),a&&u!=null&&d.push(p.format("rangeOverflow",{maxValue:m.format(u.toDate(b))})),l&&d.push(p.format("unavailableDate"))}return{isInvalid:s,validationErrors:d,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function Cy(e,t,u,n,r){var a;let i=Yr((a=e==null?void 0:e.start)!==null&&a!==void 0?a:null,t,u,n,r);var l;let s=Yr((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,r),d=_n(i,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=lu.getGlobalDictionaryForPackage("@react-stately/datepicker")||qh;d=_n(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",Yh())],validationDetails:{...ha,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const Ey={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},By={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function zt(e,t){e={...t.shouldForceLeadingZeros?By:Ey,...e};let n=t.granularity||"minute",r=Object.keys(e);var a;let i=r.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");i<0&&(i=0);let l=r.indexOf(n);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let s=r.slice(i,l+1).reduce((c,f)=>(c[f]=e[f],c),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&i===0&&(s.era="short"),s}function Lu(e){return e&&"hour"in e?e:new vl}function Jh(e,t){if(e===null)return null;if(e)return ge(e,t)}function fn(e,t,u,n){if(e)return Jh(e,u);let r=ge(uc(n??qn()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?Oe(r):n?r:vt(r)}function Ol(e,t){let u=e&&"timeZone"in e?e.timeZone:void 0,n=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[r,a]=o.useState([n,u]);e&&(r[0]!==n||r[1]!==u)&&a([n,u]),t||(t=e?n:r[0]);let i=e?u:r[1];return[t,i]}function ky(e){let t=Au(e),[u,n]=Me(e.value,e.defaultValue||null,e.onChange),r=u||e.placeholderValue||null,[a,i]=Ol(r,e.granularity),l=u!=null?u.toDate(i??"UTC"):null,s=a==="hour"||a==="minute"||a==="second";var d;let c=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[f,p]=o.useState(null),[m,b]=o.useState(null);if(u&&(f=u,"hour"in u&&(m=u)),r&&!(a in r))throw new Error("Invalid granularity "+a+" for value "+r.toString());let g=(u==null?void 0:u.calendar.identifier)==="gregory"&&u.era==="BC",$=o.useMemo(()=>({granularity:a,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:g}),[a,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,g]),{minValue:D,maxValue:y,isDateUnavailable:x}=e,C=o.useMemo(()=>Yr(u,D,y,x,$),[u,D,y,x,$]),B=Ct({...e,value:u,builtinValidation:C}),P=B.displayValidation.isInvalid,T=e.validationState||(P?"invalid":null),v=(k,M)=>{n("timeZone"in M?M.set(Oe(k)):vt(k,M)),p(null),b(null),B.commitValidation()};return{...B,value:u,setValue:n,dateValue:f,timeValue:m,setDateValue:k=>{let M=typeof c=="function"?c():c;s?m||M?v(k,m||Lu(e.defaultValue||e.placeholderValue)):p(k):(n(k),B.commitValidation()),M&&t.setOpen(!1)},setTimeValue:k=>{f&&k?v(f,k):b(k)},granularity:a,hasTime:s,...t,setOpen(k){!k&&!u&&f&&s&&v(f,m||Lu(e.defaultValue||e.placeholderValue)),t.setOpen(k)},validationState:T,isInvalid:P,formatValue(k,M){if(!l)return"";let E=zt(M,$);return new at(k,E).format(l)},getDateFormatter(k,M){let E={...$,...M},V=zt({},E);return new at(k,V)}}}const Py=new lu({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"年",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function Sy(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Py.getStringForLocale(e,u):"––"}const Sr={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},ws={year:5,month:2,day:7,hour:2,minute:15,second:15},Ay={dayperiod:"dayPeriod"};function Qh(e){let{locale:t,createCalendar:u,hideTimeZone:n,isDisabled:r=!1,isReadOnly:a=!1,isRequired:i=!1,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,p]=Ol(c,e.granularity),m=p||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let b=o.useMemo(()=>new at(t),[t]),g=o.useMemo(()=>u(b.resolvedOptions().calendar),[u,b]);var $;let[D,y]=Me(e.value,($=e.defaultValue)!==null&&$!==void 0?$:null,e.onChange),x=o.useMemo(()=>{var L;return(L=Jh(D,g))!==null&&L!==void 0?L:null},[D,g]),[C,B]=o.useState(()=>fn(e.placeholderValue,f,g,p)),P=x||C,T=g.identifier==="gregory"&&P.era==="BC",v=o.useMemo(()=>{var L;return{granularity:f,maxGranularity:(L=e.maxGranularity)!==null&&L!==void 0?L:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:T,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,T]),F=o.useMemo(()=>zt({},v),[v]),S=o.useMemo(()=>new at(t,F),[t,F]),k=o.useMemo(()=>S.resolvedOptions(),[S]),M=o.useMemo(()=>S.formatToParts(new Date).filter(L=>Sr[L.type]).reduce((L,ee)=>(L[ee.type]=!0,L),{}),[S]),[E,V]=o.useState(()=>e.value||e.defaultValue?{...M}:{}),R=o.useRef(null),w=o.useRef(g.identifier);o.useEffect(()=>{g.identifier!==w.current&&(w.current=g.identifier,B(L=>Object.keys(E).length>0?ge(L,g):fn(e.placeholderValue,f,g,p)))},[g,f,E,p,e.placeholderValue]),D&&Object.keys(E).length<Object.keys(M).length&&(E={...M},V(E)),D==null&&Object.keys(E).length===Object.keys(M).length&&(E={},V(E),B(fn(e.placeholderValue,f,g,p)));let I=x&&Object.keys(E).length>=Object.keys(M).length?x:C,A=L=>{if(e.isDisabled||e.isReadOnly)return;let ee=Object.keys(E),j=Object.keys(M);L==null?(y(null),B(fn(e.placeholderValue,f,g,p)),V({})):ee.length>=j.length||ee.length===j.length-1&&M.dayPeriod&&!E.dayPeriod&&R.current!=="dayPeriod"?(L=ge(L,(c==null?void 0:c.calendar)||new Ge),y(L)):B(L),R.current=null},z=o.useMemo(()=>I.toDate(m),[I,m]),K=o.useMemo(()=>wy(z,E,S,k,I,g,t,f),[z,E,S,k,I,g,t,f]);M.era&&E.year&&!E.era?(E.era=!0,V({...E})):!M.era&&E.era&&(delete E.era,V({...E}));let N=L=>{E[L]=!0,L==="year"&&M.era&&(E.era=!0),V({...E})},H=(L,ee)=>{if(E[L])A(Fy(I,L,ee,k));else{N(L);let j=Object.keys(E),O=Object.keys(M);(j.length>=O.length||j.length===O.length-1&&M.dayPeriod&&!E.dayPeriod)&&A(I)}},G=o.useMemo(()=>Yr(D,l,s,d,v),[D,l,s,d,v]),Q=Ct({...e,value:D,builtinValidation:G}),me=Q.displayValidation.isInvalid,ue=e.validationState||(me?"invalid":null);var se;return{...Q,value:x,dateValue:z,calendar:g,setValue:A,segments:K,dateFormatter:S,validationState:ue,isInvalid:me,granularity:f,maxGranularity:(se=e.maxGranularity)!==null&&se!==void 0?se:"year",isDisabled:r,isReadOnly:a,isRequired:i,increment(L){H(L,1)},decrement(L){H(L,-1)},incrementPage(L){H(L,ws[L]||1)},decrementPage(L){H(L,-(ws[L]||1))},setSegment(L,ee){N(L),A(Ty(I,L,ee,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let L=Object.keys(E),ee=Object.keys(M);L.length===ee.length-1&&M.dayPeriod&&!E.dayPeriod&&(E={...M},V(E),A(I.copy()))},clearSegment(L){delete E[L],R.current=L,V({...E});let ee=fn(e.placeholderValue,f,g,p),j=I;if(L==="dayPeriod"&&"hour"in I&&"hour"in ee){let O=I.hour>=12,q=ee.hour>=12;O&&!q?j=I.set({hour:I.hour-12}):!O&&q&&(j=I.set({hour:I.hour+12}))}else L==="hour"&&"hour"in I&&I.hour>=12&&E.dayPeriod?j=I.set({hour:ee.hour+12}):L in I&&(j=I.set({[L]:ee[L]}));y(null),A(j)},formatValue(L){if(!x)return"";let ee=zt(L,v);return new at(t,ee).format(z)},getDateFormatter(L,ee){let j={...v,...ee},O=zt({},j);return new at(L,O)}}}function wy(e,t,u,n,r,a,i,l){let s=["hour","minute","second"],d=u.formatToParts(e),c=[];for(let f of d){let p=Sr[f.type];f.type==="era"&&a.getEras().length===1&&(p=!1);let m=Sr[f.type]&&!t[f.type],b=Sr[f.type]?Sy(f.type,f.value,i):null,g={type:Ay[f.type]||f.type,text:m?b:f.value,...gr(r,f.type,n),isPlaceholder:m,placeholder:b,isEditable:p};f.type==="hour"?(c.push({type:"literal",text:"",...gr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1}),c.push(g),f.type===l&&c.push({type:"literal",text:"",...gr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):s.includes(f.type)&&f.type===l?(c.push(g),c.push({type:"literal",text:"",...gr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):c.push(g)}return c}function gr(e,t,u){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:A6(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:w6(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(u.hour12){let n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function Fy(e,t,u,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,u,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return e.set({hour:a?r-12:r+12})}case"hour":case"minute":case"second":return e.cycle(t,u,{round:t!=="hour",hourCycle:n.hour12?12:24})}throw new Error("Unknown segment: "+t)}function Ty(e,t,u,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:u})}if("hour"in e&&typeof u=="number")switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return u>=12===a?e:e.set({hour:a?r-12:r+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&u===12&&(u=0),a&&u<12&&(u+=12)}case"minute":case"second":return e.set({[t]:u})}throw new Error("Unknown segment: "+t)}function Iy(e){var t,u;let n=Au(e),[r,a]=Me(e.value,e.defaultValue||null,e.onChange),[i,l]=o.useState(()=>r||{start:null,end:null});r==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let s=r||i,d=w=>{l(w||{start:null,end:null}),fu(w)?a(w):a(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=Ol(c,e.granularity),m=f==="hour"||f==="minute"||f==="second";var b;let g=(b=e.shouldCloseOnSelect)!==null&&b!==void 0?b:!0,[$,D]=o.useState(null),[y,x]=o.useState(null);s&&fu(s)&&($=s,"hour"in s.start&&(y=s));let C=(w,I)=>{d({start:"timeZone"in I.start?I.start.set(Oe(w.start)):vt(w.start,I.start),end:"timeZone"in I.end?I.end.set(Oe(w.end)):vt(w.end,I.end)}),D(null),x(null),E.commitValidation()},B=w=>{let I=typeof g=="function"?g():g;m?fu(w)&&(y!=null&&y.start)&&(y!=null&&y.end)?C(w,{start:(y==null?void 0:y.start)||Lu(e.placeholderValue),end:(y==null?void 0:y.end)||Lu(e.placeholderValue)}):D(w):fu(w)?(d(w),E.commitValidation()):D(w),I&&n.setOpen(!1)},P=w=>{fu($)&&fu(w)?C($,w):x(w)},T=(s==null||(t=s.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(u=s.end)===null||u===void 0?void 0:u.calendar.identifier)==="gregory"&&s.end.era==="BC",v=o.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:T}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,T]),{minValue:F,maxValue:S,isDateUnavailable:k}=e,M=o.useMemo(()=>Cy(s,F,S,k,v),[s,F,S,k,v]),E=Ct({...e,value:r,name:o.useMemo(()=>[e.startName,e.endName].filter(w=>w!=null),[e.startName,e.endName]),builtinValidation:M}),V=E.displayValidation.isInvalid,R=e.validationState||(V?"invalid":null);return{...E,value:s,setValue:d,dateRange:$,timeRange:y,granularity:f,hasTime:m,setDate(w,I){var A,z;B(w==="start"?{start:I,end:(A=$==null?void 0:$.end)!==null&&A!==void 0?A:null}:{start:(z=$==null?void 0:$.start)!==null&&z!==void 0?z:null,end:I})},setTime(w,I){var A,z;P(w==="start"?{start:I,end:(A=y==null?void 0:y.end)!==null&&A!==void 0?A:null}:{start:(z=y==null?void 0:y.start)!==null&&z!==void 0?z:null,end:I})},setDateTime(w,I){var A,z;d(w==="start"?{start:I,end:(A=s==null?void 0:s.end)!==null&&A!==void 0?A:null}:{start:(z=s==null?void 0:s.start)!==null&&z!==void 0?z:null,end:I})},setDateRange:B,setTimeRange:P,...n,setOpen(w){!w&&!(s!=null&&s.start&&(s!=null&&s.end))&&fu($)&&m&&C($,{start:(y==null?void 0:y.start)||Lu(e.placeholderValue),end:(y==null?void 0:y.end)||Lu(e.placeholderValue)}),n.setOpen(w)},validationState:R,isInvalid:V,formatValue(w,I){if(!s||!s.start||!s.end)return null;let A="timeZone"in s.start?s.start.timeZone:void 0,z=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),K="timeZone"in s.end?s.end.timeZone:void 0,N=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),H=zt(I,{granularity:z,timeZone:A,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),G=s.start.toDate(A||"UTC"),Q=s.end.toDate(K||"UTC"),me=new at(w,H),ue;if(A===K&&z===N&&s.start.compare(s.end)!==0){try{let se=me.formatRangeToParts(G,Q),L=-1;for(let O=0;O<se.length;O++){let q=se[O];if(q.source==="shared"&&q.type==="literal")L=O;else if(q.source==="endRange")break}let ee="",j="";for(let O=0;O<se.length;O++)O<L?ee+=se[O].value:O>L&&(j+=se[O].value);return{start:ee,end:j}}catch{}ue=me}else{let se=zt(I,{granularity:N,timeZone:K,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});ue=new at(w,se)}return{start:me.format(G),end:ue.format(Q)}},getDateFormatter(w,I){let A={...v,...I},z=zt({},A);return new at(w,z)}}}function fu(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function Ry(e){let[t,u]=Me(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isExpanded:t,setExpanded:u,expand:n,collapse:r,toggle:a}}function Ky(e){let{allowsMultipleExpanded:t=!1,isDisabled:u=!1}=e,[n,r]=Me(o.useMemo(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),o.useMemo(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return o.useEffect(()=>{!t&&n.size>1&&r(new Set([n.values().next().value]))}),{allowsMultipleExpanded:t,isDisabled:u,expandedKeys:n,setExpandedKeys:r,toggleKey(a){let i;t?(i=new Set(n),i.has(a)?i.delete(a):i.add(a)):i=new Set(n.has(a)?[]:[a]),r(i)}}}function Hl(e){let t=Au(e),[u,n]=o.useState(null),[r,a]=o.useState([]),i=()=>{a([]),t.close()};return{focusStrategy:u,...t,open(d=null){n(d),t.open()},toggle(d=null){n(d),t.toggle()},close(){i()},expandedKeysStack:r,openSubmenu:(d,c)=>{a(f=>c>f.length?f:[...f.slice(0,c),d])},closeSubmenu:(d,c)=>{a(f=>f[c]===d?f.slice(0,c):f)}}}let My=Math.round(Math.random()*1e10),zy=0;function Ny(e){let t=o.useMemo(()=>e.name||`radio-group-${My}-${++zy}`,[e.name]);var u;let[n,r]=Me(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:null,e.onChange),[a,i]=o.useState(null),l=Ct({...e,value:n}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(r(c),l.commitValidation())},d=l.displayValidation.isInvalid;return{...l,name:t,selectedValue:n,setSelectedValue:s,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(d?"invalid":null),isInvalid:d}}function Vy(e){let[t,u]=Me(Fs(e.value),Fs(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function Fs(e){if(e!=null)return e.toString()}function _y(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||ur(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=n.setFocusedKey;n.setFocusedKey=(s,d)=>{if(u==="cell"&&s!=null){let b=t.getItem(s);if((b==null?void 0:b.type)==="item"){var c,f;let g=we(b,t);var p,m;d==="last"?s=(p=(c=Kt(g))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(m=(f=Tt(g))===null||f===void 0?void 0:f.key)!==null&&m!==void 0?m:null}}a(s,d)};let i=o.useMemo(()=>new an(t,n),[t,n]);const l=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&l.current&&!t.getItem(n.focusedKey)){const s=l.current.getItem(n.focusedKey),d=(s==null?void 0:s.parentKey)!=null&&(s.type==="cell"||s.type==="rowheader"||s.type==="column")?l.current.getItem(s.parentKey):s;if(!d){n.setFocusedKey(null);return}const c=l.current.rows,f=t.rows,p=c.length-f.length;let m=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),b=null;for(;m>=0;){if(!i.isDisabled(f[m].key)&&f[m].type!=="headerrow"){b=f[m];break}m<f.length-1?m++:(m>d.index&&(m=d.index),m--)}if(b){const g=b.hasChildNodes?[...we(b,t)]:[],$=b.hasChildNodes&&d!==s&&s&&s.index<g.length?g[s.index].key:b.key;n.setFocusedKey($)}else n.setFocusedKey(null)}l.current=t},[t,i,n,n.focusedKey]),{collection:t,disabledKeys:r,isKeyboardNavigationDisabled:!1,selectionManager:i}}class jy{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t;return(t=[...this.rows][0])===null||t===void 0?void 0:t.key}getLastKey(){var t;let u=[...this.rows];return(t=u[u.length-1])===null||t===void 0?void 0:t.key}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=t==null?void 0:t.columnCount,this.rows=[];let u=f=>{let p=this.keyMap.get(f.key);t.visitNode&&(f=t.visitNode(f)),this.keyMap.set(f.key,f);let m=new Set,b=null,g=!1;if(f.type==="item"){var $;for(let B of f.childNodes)if((($=B.props)===null||$===void 0?void 0:$.colSpan)!==void 0){g=!0;break}}for(let B of f.childNodes){if(B.type==="cell"&&g){var D,y;B.colspan=(D=B.props)===null||D===void 0?void 0:D.colSpan,B.colSpan=(y=B.props)===null||y===void 0?void 0:y.colSpan;var x,C;B.colIndex=b?((x=b.colIndex)!==null&&x!==void 0?x:b.index)+((C=b.colSpan)!==null&&C!==void 0?C:1):B.index}B.type==="cell"&&B.parentKey==null&&(B.parentKey=f.key),m.add(B.key),b?(b.nextKey=B.key,B.prevKey=b.key):B.prevKey=null,u(B),b=B}if(b&&(b.nextKey=null),p)for(let B of p.childNodes)m.has(B.key)||n(B)},n=f=>{this.keyMap.delete(f.key);for(let p of f.childNodes)this.keyMap.get(p.key)===p&&n(p)},r=null;for(let[f,p]of t.items.entries()){var a,i,l,s,d,c;let m={...p,level:(a=p.level)!==null&&a!==void 0?a:0,key:(i=p.key)!==null&&i!==void 0?i:"row-"+f,type:(l=p.type)!==null&&l!==void 0?l:"row",value:(s=p.value)!==null&&s!==void 0?s:null,hasChildNodes:!0,childNodes:[...p.childNodes],rendered:p.rendered,textValue:(d=p.textValue)!==null&&d!==void 0?d:"",index:(c=p.index)!==null&&c!==void 0?c:f};r?(r.nextKey=m.key,m.prevKey=r.key):m.prevKey=null,this.rows.push(m),u(m),r=m}r&&(r.nextKey=null)}}const Xh="row-header-column-"+Math.random().toString(36).slice(2);let Li="row-header-column-"+Math.random().toString(36).slice(2);for(;Xh===Li;)Li="row-header-column-"+Math.random().toString(36).slice(2);function e5(e,t){if(t.length===0)return[];let u=[],n=new Map;for(let c of t){let f=c.parentKey,p=[c];for(;f;){let m=e.get(f);if(!m)break;if(n.has(m)){var r,a;(a=(r=m).colSpan)!==null&&a!==void 0||(r.colSpan=0),m.colSpan++,m.colspan=m.colSpan;let{column:b,index:g}=n.get(m);if(g>p.length)break;for(let $=g;$<p.length;$++)b.splice($,0,null);for(let $=p.length;$<b.length;$++)b[$]&&n.has(b[$])&&(n.get(b[$]).index=$)}else m.colSpan=1,m.colspan=1,p.push(m),n.set(m,{column:p,index:p.length-1});f=m.parentKey}u.push(p),c.index=u.length-1}let i=Math.max(...u.map(c=>c.length)),l=Array(i).fill(0).map(()=>[]),s=0;for(let c of u){let f=i-1;for(let p of c){if(p){let m=l[f],b=m.reduce((g,$)=>{var D;return g+((D=$.colSpan)!==null&&D!==void 0?D:1)},0);if(b<s){let g={type:"placeholder",key:"placeholder-"+p.key,colspan:s-b,colSpan:s-b,index:b,value:null,rendered:null,level:f,hasChildNodes:!1,childNodes:[],textValue:""};m.length>0&&(m[m.length-1].nextKey=g.key,g.prevKey=m[m.length-1].key),m.push(g)}m.length>0&&(m[m.length-1].nextKey=p.key,p.prevKey=m[m.length-1].key),p.level=f,p.colIndex=s,m.push(p)}f--}s++}let d=0;for(let c of l){let f=c.reduce((p,m)=>{var b;return p+((b=m.colSpan)!==null&&b!==void 0?b:1)},0);if(f<t.length){let p={type:"placeholder",key:"placeholder-"+c[c.length-1].key,colSpan:t.length-f,colspan:t.length-f,index:f,value:null,rendered:null,level:d,hasChildNodes:!1,childNodes:[],textValue:"",prevKey:c[c.length-1].key};c.push(p)}d++}return l.map((c,f)=>({type:"headerrow",key:"headerrow-"+f,index:f,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:c,textValue:""}))}class Ly extends jy{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t,u;return(u=(t=Tt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getLastKey(){var t,u;return(u=(t=Kt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){return t===this.body.key?this.body.childNodes:super.getChildren(t)}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys;if(n){let r=[];for(let a of u.childNodes){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}return""}constructor(t,u,n){let r=new Set,a=null,i=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key:Xh,value:null,textValue:"",level:0,index:n!=null&&n.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};i.unshift(f)}if(n!=null&&n.showDragButtons){let f={type:"column",key:Li,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};i.unshift(f)}let l=[],s=new Map,d=f=>{switch(f.type){case"body":a=f;break;case"column":s.set(f.key,f),f.hasChildNodes||(i.push(f),f.props.isRowHeader&&r.add(f.key));break;case"item":l.push(f);return}for(let p of f.childNodes)d(p)};for(let f of t)d(f);let c=e5(s,i);if(c.forEach((f,p)=>l.splice(p,0,f)),super({columnCount:i.length,items:l,visitNode:f=>(f.column=i[f.index],f)}),this._size=0,this.columns=i,this.rowHeaderColumnKeys=r,this.body=a,this.headerRows=c,this._size=[...a.childNodes].length,this.rowHeaderColumnKeys.size===0){let f=this.columns.find(p=>{var m,b;return!(!((m=p.props)===null||m===void 0)&&m.isDragButtonCell)&&!(!((b=p.props)===null||b===void 0)&&b.isSelectionCell)});f&&this.rowHeaderColumnKeys.add(f.key)}}}const Oy={ascending:"descending",descending:"ascending"};function Hy(e){let[t,u]=o.useState(!1),{selectionMode:n="none",showSelectionCheckboxes:r,showDragButtons:a}=e,i=o.useMemo(()=>({showSelectionCheckboxes:r&&n!=="none",showDragButtons:a,selectionMode:n,columns:[]}),[e.children,r,n,a]),l=Rl(e,o.useCallback(f=>new Ly(f,null,i),[i]),i),{disabledKeys:s,selectionManager:d}=_y({...e,collection:l,disabledBehavior:e.disabledBehavior||"selection"});var c;return{collection:l,disabledKeys:s,selectionManager:d,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:(c=e.sortDescriptor)!==null&&c!==void 0?c:null,isKeyboardNavigationDisabled:l.size===0||t,setKeyboardNavigationDisabled:u,sort(f,p){var m,b;(b=e.onSortChange)===null||b===void 0||b.call(e,{column:f,direction:p??(((m=e.sortDescriptor)===null||m===void 0?void 0:m.column)===f?Oy[e.sortDescriptor.direction]:"ascending")})}}}function Uy(e){var t,u;let n=fh({...e,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:Ts(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&u!==void 0?u:void 0}),{selectionManager:r,collection:a,selectedKey:i}=n,l=o.useRef(i);return o.useEffect(()=>{let s=i;e.selectedKey==null&&(r.isEmpty||s==null||!a.getItem(s))&&(s=Ts(a,n.disabledKeys),s!=null&&r.setSelectedKeys([s])),(s!=null&&r.focusedKey==null||!r.isFocused&&s!==l.current)&&r.setFocusedKey(s),l.current=s}),{...n,isDisabled:e.isDisabled||!1}}function Ts(e,t){let u=null;if(e){var n,r,a,i;for(u=e.getFirstKey();u!=null&&(t.has(u)||!((r=e.getItem(u))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled)&&u!==e.getLastKey();)u=e.getKeyAfter(u);u!=null&&(t.has(u)||!((i=e.getItem(u))===null||i===void 0||(a=i.props)===null||a===void 0)&&a.isDisabled)&&u===e.getLastKey()&&(u=e.getFirstKey())}return u}function t5(e){let t=o.useCallback(r=>e.subscribe(r),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:ol.useSyncExternalStore(t,u,u),add:(r,a)=>e.add(r,a),close:r=>e.close(r),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class u5{runWithWrapUpdate(t){this.wrapUpdate?this.wrapUpdate(t):t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,u={}){let n="_"+Math.random().toString(36).slice(2),r={...u,content:t,key:n,timer:u.timeout?new Wy(()=>this.close(n),u.timeout):void 0};return this.queue.unshift(r),this.updateVisibleToasts(),n}close(t){let u=this.queue.findIndex(a=>a.key===t);if(u>=0){var n,r;(n=(r=this.queue[u]).onClose)===null||n===void 0||n.call(r),this.queue.splice(u,1)}this.updateVisibleToasts()}updateVisibleToasts(){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts);for(let t of this.subscriptions)this.runWithWrapUpdate(t)}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[];var u;this.maxVisibleToasts=(u=t==null?void 0:t.maxVisibleToasts)!==null&&u!==void 0?u:1/0,this.wrapUpdate=t==null?void 0:t.wrapUpdate}}class Wy{reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}constructor(t,u){this.startTime=null,this.remaining=u,this.callback=t}}const Zy=1500,Is=500;let pu={},Gy=0,pn=!1,St=null,mu=null;function n5(e={}){let{delay:t=Zy,closeDelay:u=Is}=e,{isOpen:n,open:r,close:a}=Au(e),i=o.useMemo(()=>`${++Gy}`,[]),l=o.useRef(null),s=o.useRef(a),d=()=>{pu[i]=p},c=()=>{for(let b in pu)b!==i&&(pu[b](!0),delete pu[b])},f=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),d(),pn=!0,r(),St&&(clearTimeout(St),St=null),mu&&(clearTimeout(mu),mu=null)},p=b=>{b||u<=0?(l.current&&clearTimeout(l.current),l.current=null,s.current()):l.current||(l.current=setTimeout(()=>{l.current=null,s.current()},u)),St&&(clearTimeout(St),St=null),pn&&(mu&&clearTimeout(mu),mu=setTimeout(()=>{delete pu[i],mu=null,pn=!1},Math.max(Is,u)))},m=()=>{c(),d(),!n&&!St&&!pn?St=setTimeout(()=>{St=null,pn=!0,f()},t):n||f()};return o.useEffect(()=>{s.current=a},[a]),o.useEffect(()=>()=>{l.current&&clearTimeout(l.current),pu[i]&&delete pu[i]},[i]),{isOpen:n,open:b=>{!b&&t>0&&!l.current?m():f()},close:p}}class qy{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}constructor(t,{expandedKeys:u}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,u=u||new Set;let n=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||u.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of t)n(l);let r=null,a=0;for(let[l,s]of this.keyMap)r?(r.nextKey=l,s.prevKey=r.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=a++),r=s,r.nextKey=void 0;var i;this.lastKey=(i=r==null?void 0:r.key)!==null&&i!==void 0?i:null}}function Yy(e){let{onExpandedChange:t}=e,[u,n]=Me(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),r=ur(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=Rl(e,o.useCallback(s=>new qy(s,{expandedKeys:u}),[u]),null);return o.useEffect(()=>{r.focusedKey!=null&&!i.getItem(r.focusedKey)&&r.setFocusedKey(null)},[i,r.focusedKey]),{collection:i,expandedKeys:u,disabledKeys:a,toggleKey:s=>{n(Jy(u,s))},setExpandedKeys:n,selectionManager:new an(i,r)}}function Jy(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const su=o.createContext(null),ln=o.createContext({}),nr=o.forwardRef(function(t,u){[t,u]=X(t,u,ln);let{isDisabled:n,isInvalid:r,onHoverStart:a,onHoverChange:i,onHoverEnd:l,...s}=t,{hoverProps:d,isHovered:c}=Ce({onHoverStart:a,onHoverChange:i,onHoverEnd:l,isDisabled:n}),{isFocused:f,isFocusVisible:p,focusProps:m}=he({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),r??(r=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let b=Z({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:p,isDisabled:n,isInvalid:r},defaultClassName:"react-aria-Group"});var g,$;return o.createElement("div",{..._(s,m,d),...b,ref:u,role:(g=t.role)!==null&&g!==void 0?g:"group",slot:($=t.slot)!==null&&$!==void 0?$:void 0,"data-focus-within":f||void 0,"data-hovered":c||void 0,"data-focus-visible":p||void 0,"data-disabled":n||void 0,"data-invalid":r||void 0},b.children)}),r5=o.createContext({});let Qy=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const Xy=o.forwardRef(function(t,u){[t,u]=X(t,u,r5);let{hoverProps:n,isHovered:r}=Ce(t),{isFocused:a,isFocusVisible:i,focusProps:l}=he({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=Z({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return o.createElement("textarea",{..._(Qy(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),ex=o.createContext(null),Ul=Wn(function(t,u){[t,u]=X(t,u,ex);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=o.useRef(null),[s,d]=X({},l,Xu),[c,f]=ct(!t["aria-label"]&&!t["aria-labelledby"]),[p,m]=o.useState("input"),{labelProps:b,inputProps:g,descriptionProps:$,errorMessageProps:D,...y}=Al({...Nt(t),inputElementType:p,label:f,validationBehavior:i},d),x=o.useCallback(P=>{d.current=P,P&&m(P instanceof HTMLTextAreaElement?"textarea":"input")},[d]),C=Z({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:y.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),B=U(t);return delete B.id,o.createElement("div",{...B,...C,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(fe,{values:[[Et,{...b,ref:c}],[Xu,{..._(g,s),ref:x}],[r5,{...g,ref:x}],[qe,{slots:{description:$,errorMessage:D}}],[Ut,y]]},C.children))}),Oi=o.createContext(null),a5=o.createContext(null),rr={CollectionRoot({collection:e,renderDropIndicator:t}){return Rs(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return Rs(e,t,u)}};function Rs(e,t,u){return al({items:t?e.getChildren(t.key):e,dependencies:[u],children(n){var r;let a=n.render(n);if(!u||n.type!=="item")return a;let i=n.key,l=e.getKeyAfter(i);return o.createElement(o.Fragment,null,u({type:"item",key:i,dropPosition:"before"}),a,(l==null||((r=e.getItem(l))===null||r===void 0?void 0:r.type)!=="item")&&u({type:"item",key:i,dropPosition:"after"}))}})}const Pe=o.createContext(rr);function Wl(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const i5=o.createContext(null),Jr=o.forwardRef(function(t,u){[t,u]=X(t,u,i5);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:r,isPressed:a}=f6({...t,elementType:n},u),{hoverProps:i,isHovered:l}=Ce(t),{focusProps:s,isFocused:d,isFocusVisible:c}=he(),f=Z({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:a,isHovered:l,isFocused:d,isFocusVisible:c}});return o.createElement(n,{ref:u,slot:t.slot||void 0,..._(f,r,i,s),"data-focused":d||void 0,"data-hovered":l||void 0,"data-pressed":a||void 0,"data-focus-visible":c||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},f.children)}),Hi=o.createContext(null),tx=o.forwardRef(function(t,u){[t,u]=X(t,u,Hi);let{CollectionRoot:n}=o.useContext(Pe),{navProps:r}=wg(t);return o.createElement(Su,{content:o.createElement(xt,t)},a=>{var i;return o.createElement("ol",{ref:u,...r,slot:t.slot||void 0,style:t.style,className:(i=t.className)!==null&&i!==void 0?i:"react-aria-Breadcrumbs"},o.createElement(Hi.Provider,{value:t},o.createElement(n,{collection:a})))})}),ux=iu("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:a,onAction:i}=Ze(Hi),l={"aria-current":r?"page":null,isDisabled:a||r,onPress:()=>i==null?void 0:i(n.key)},s=Z({...n.props,children:n.rendered,values:{isDisabled:a||r,isCurrent:r},defaultClassName:"react-aria-Breadcrumb"});return o.createElement("li",{...U(t),...s,ref:u,"data-disabled":a||r||void 0,"data-current":r||void 0},o.createElement(i5.Provider,{value:l},s.children))}),Qr=o.createContext(null),Xr=o.createContext(null),Ca=o.createContext(null),Ea=o.createContext(null),nx=o.forwardRef(function(t,u){[t,u]=X(t,u,Qr);let{locale:n}=pe(),r=dh({...t,locale:n,createCalendar:ma}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=Ug(t,r),c=Z({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-Calendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(fe,{values:[[pt,{slots:{previous:i,next:l}}],[aa,{"aria-hidden":!0,level:2,children:d}],[Ca,r],[Qr,t],[qe,{slots:{errorMessage:s}}]]},o.createElement(ru,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(ru,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),rx=o.forwardRef(function(t,u){[t,u]=X(t,u,Xr);let{locale:n}=pe(),r=hy({...t,locale:n,createCalendar:ma}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=Wg(t,r,u),c=Z({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(fe,{values:[[pt,{slots:{previous:i,next:l}}],[aa,{"aria-hidden":!0,level:2,children:d}],[Ea,r],[Xr,t],[qe,{slots:{errorMessage:s}}]]},o.createElement(ru,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(ru,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),Ba=o.createContext(null),l5=o.forwardRef(function(t,u){let n=o.useContext(Ca),r=o.useContext(Ea),a=Ze(Qr),i=Ze(Xr),l=n??r,s=l.visibleRange.start;t.offset&&(s=s.add(t.offset));var d;let c=(d=a==null?void 0:a.firstDayOfWeek)!==null&&d!==void 0?d:i==null?void 0:i.firstDayOfWeek,{gridProps:f,headerProps:p,weekDays:m}=Zg({startDate:s,endDate:zr(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var b;return o.createElement(Ba.Provider,{value:{headerProps:p,weekDays:m,startDate:s,firstDayOfWeek:c}},o.createElement("table",{...U(t),...f,ref:u,style:t.style,className:(b=t.className)!==null&&b!==void 0?b:"react-aria-CalendarGrid"},typeof t.children!="function"?t.children:o.createElement(o.Fragment,null,o.createElement(ix,null,g=>o.createElement(ox,null,g)),o.createElement(dx,null,t.children))))});function ax(e,t){let{children:u,style:n,className:r}=e,{headerProps:a,weekDays:i}=o.useContext(Ba);return o.createElement("thead",{...U(e),...a,ref:t,style:n,className:r||"react-aria-CalendarGridHeader"},o.createElement("tr",null,i.map((l,s)=>o.cloneElement(u(l),{key:s}))))}const ix=o.forwardRef(ax);function lx(e,t){let{children:u,style:n,className:r}=e;return o.createElement("th",{...U(e),ref:t,style:n,className:r||"react-aria-CalendarHeaderCell"},u)}const ox=o.forwardRef(lx);function sx(e,t){let{children:u,style:n,className:r}=e,a=o.useContext(Ca),i=o.useContext(Ea),l=a??i,{startDate:s,firstDayOfWeek:d}=o.useContext(Ba),{locale:c}=pe(),f=R6(s,c,d);return o.createElement("tbody",{...U(e),ref:t,style:n,className:r||"react-aria-CalendarGridBody"},[...new Array(f).keys()].map(p=>o.createElement("tr",{key:p},l.getDatesInWeek(p,s).map((m,b)=>m?o.cloneElement(u(m),{key:b}):o.createElement("td",{key:b})))))}const dx=o.forwardRef(sx),o5=o.forwardRef(function({date:t,...u},n){let r=o.useContext(Ca),a=o.useContext(Ea),i=r??a;var l;let{startDate:s}=(l=o.useContext(Ba))!==null&&l!==void 0?l:{startDate:i.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=qg({date:t},i,d),{hoverProps:m,isHovered:b}=Ce({...u,isDisabled:p.isDisabled}),{focusProps:g,isFocusVisible:$}=he();$&&($=p.isFocused);let D=!k6(s,t),y=!1,x=!1;"highlightedRange"in i&&i.highlightedRange&&(y=Fe(t,i.highlightedRange.start),x=Fe(t,i.highlightedRange.end));let C=Z({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:b,isOutsideMonth:D,isFocusVisible:$,isSelectionStart:y,isSelectionEnd:x,...p}}),B={"data-focused":p.isFocused||void 0,"data-hovered":b||void 0,"data-pressed":p.isPressed||void 0,"data-unavailable":p.isUnavailable||void 0,"data-disabled":p.isDisabled||void 0,"data-focus-visible":$||void 0,"data-outside-visible-range":p.isOutsideVisibleRange||void 0,"data-outside-month":D||void 0,"data-selected":p.isSelected||void 0,"data-selection-start":y||void 0,"data-selection-end":x||void 0,"data-invalid":p.isInvalid||void 0};return o.createElement("td",{...c,ref:n},o.createElement("div",{..._(U(u),f,g,m,B,C),ref:d}))}),cx=o.createContext(null),Zl=o.createContext(null),fx=o.forwardRef(function(t,u){[t,u]=X(t,u,cx);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=$y({...t,validationBehavior:i}),[s,d]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=nD({...t,label:d,validationBehavior:i},l),g=Z({...t,values:{isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:t.isRequired||!1,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-CheckboxGroup"});return o.createElement("div",{...c,...g,ref:u,slot:t.slot||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":t.isRequired||void 0,"data-invalid":l.isInvalid||void 0,"data-disabled":t.isDisabled||void 0},o.createElement(fe,{values:[[Zl,l],[Et,{...f,ref:s,elementType:"span"}],[qe,{slots:{description:p,errorMessage:m}}],[Ut,b]]},g.children))}),px=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=X(r,u,Ji);let{validationBehavior:a}=Ze(su)||{};var i,l;let s=(l=(i=t.validationBehavior)!==null&&i!==void 0?i:a)!==null&&l!==void 0?l:"native",d=o.useContext(Zl),c=xe(ku(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:m,isDisabled:b,isReadOnly:g,isPressed:$,isInvalid:D}=d?rD({...Nt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):D4({...Nt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},y4(t),c),{isFocused:y,isFocusVisible:x,focusProps:C}=he(),B=b||g,{hoverProps:P,isHovered:T}=Ce({...t,isDisabled:B}),v=Z({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:$,isHovered:T,isFocused:y,isFocusVisible:x,isDisabled:b,isReadOnly:g,isInvalid:D,isRequired:t.isRequired||!1}}),F=U(t);return delete F.id,o.createElement("label",{..._(F,f,P,v),ref:u,slot:t.slot||void 0,"data-selected":m||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":$||void 0,"data-hovered":T||void 0,"data-focused":y||void 0,"data-focus-visible":x||void 0,"data-disabled":b||void 0,"data-readonly":g||void 0,"data-invalid":D||void 0,"data-required":t.isRequired||void 0},o.createElement(ru,{elementType:"span"},o.createElement("input",{..._(p,C),ref:c})),v.children)});var s5={};s5={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var d5={};d5={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var c5={};c5={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var f5={};f5={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var p5={};p5={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var m5={};m5={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var b5={};b5={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var h5={};h5={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var $5={};$5={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var g5={};g5={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var D5={};D5={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var v5={};v5={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var y5={};y5={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var x5={};x5={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var C5={};C5={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var E5={};E5={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var B5={};B5={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var k5={};k5={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var P5={};P5={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var S5={};S5={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var A5={};A5={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var w5={};w5={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var F5={};F5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var T5={};T5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var I5={};I5={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var R5={};R5={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var K5={};K5={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var M5={};M5={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var z5={};z5={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var N5={};N5={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var V5={};V5={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var _5={};_5={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var j5={};j5={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var L5={};L5={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var O5={};O5={"ar-AE":s5,"bg-BG":d5,"cs-CZ":c5,"da-DK":f5,"de-DE":p5,"el-GR":m5,"en-US":b5,"es-ES":h5,"et-EE":$5,"fi-FI":g5,"fr-FR":D5,"he-IL":v5,"hr-HR":y5,"hu-HU":x5,"it-IT":C5,"ja-JP":E5,"ko-KR":B5,"lt-LT":k5,"lv-LV":P5,"nb-NO":S5,"nl-NL":A5,"pl-PL":w5,"pt-BR":F5,"pt-PT":T5,"ro-RO":I5,"ru-RU":R5,"sk-SK":K5,"sl-SI":M5,"sr-SP":z5,"sv-SE":N5,"tr-TR":V5,"uk-UA":_5,"zh-CN":j5,"zh-TW":L5};const kt=o.createContext({}),Gl=o.createContext(null),mx=o.forwardRef(function(t,u){let{render:n}=o.useContext(Gl);return o.createElement(o.Fragment,null,n(t,u))});function ql(e,t){var u;let n=e==null?void 0:e.renderDropIndicator,r=e==null||(u=e.isVirtualDragging)===null||u===void 0?void 0:u.call(e),a=o.useCallback(i=>{if(r||t!=null&&t.isDropTarget(i))return n?n(i):o.createElement(mx,{target:i})},[t==null?void 0:t.target,r,n]);return e!=null&&e.useDropIndicator?a:void 0}function H5(e,t,u){var n,r;let a=e.focusedKey,i=null;if(!(t==null||(n=t.isVirtualDragging)===null||n===void 0)&&n.call(t)&&(u==null||(r=u.target)===null||r===void 0?void 0:r.type)==="item"){i=u.target.key;var l;u.target.dropPosition==="after"&&(i=(l=u.collection.getKeyAfter(i))!==null&&l!==void 0?l:i)}return o.useMemo(()=>new Set([a,i].filter(s=>s!=null)),[a,i])}const U5=o.createContext({}),W5=o.createContext({}),ka=o.createContext(null),Wt=o.createContext(null),bx=o.forwardRef(function(t,u){[t,u]=X(t,u,ka);let n=o.useContext(Wt);return n?o.createElement(Z5,{state:n,props:t,listBoxRef:u}):o.createElement(Su,{content:o.createElement(xt,t)},r=>o.createElement(hx,{props:t,listBoxRef:u,collection:r}))});function hx({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext(Pe),r=xa({...e,layoutDelegate:n});return o.createElement(Z5,{state:r,props:e,listBoxRef:t})}function Z5({state:e,props:t,listBoxRef:u}){let{filter:n,collectionProps:r,collectionRef:a}=o.useContext(Oi)||{};t=o.useMemo(()=>r?{...t,...r}:t,[t,r]);let{dragAndDropHooks:i,layout:l="stack",orientation:s="vertical"}=t;u=xe(o.useMemo(()=>ku(u,a!==void 0?a:null),[a,u]));let d=Dy(e,n),{collection:c,selectionManager:f}=d,p=!!(i!=null&&i.useDraggableCollectionState),m=!!(i!=null&&i.useDroppableCollectionState),{direction:b}=pe(),{disabledBehavior:g,disabledKeys:$}=f,D=tn({usage:"search",sensitivity:"base"}),{isVirtualized:y,layoutDelegate:x,dropTargetDelegate:C,CollectionRoot:B}=o.useContext(Pe),P=o.useMemo(()=>t.keyboardDelegate||new nn({collection:c,collator:D,ref:u,disabledKeys:$,disabledBehavior:g,layout:l,orientation:s,direction:b,layoutDelegate:x}),[c,D,u,g,$,s,b,t.keyboardDelegate,l,x]),{listBoxProps:T}=wf({...t,shouldSelectOnPressUp:p||t.shouldSelectOnPressUp,keyboardDelegate:P,isVirtualized:y},d,u),v=o.useRef(p),F=o.useRef(m);o.useEffect(()=>{v.current!==p&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),F.current!==m&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[p,m]);let S,k,M,E=!1,V=null,R=o.useRef(null);if(p&&i){S=i.useDraggableCollectionState({collection:c,selectionManager:f,preview:i.renderDragPreview?R:void 0}),i.useDraggableCollection({},S,u);let H=i.DragPreview;V=i.renderDragPreview?o.createElement(H,{ref:R},i.renderDragPreview):null}if(m&&i){k=i.useDroppableCollectionState({collection:c,selectionManager:f});let H=i.dropTargetDelegate||C||new i.ListDropTargetDelegate(c,u,{orientation:s,layout:l,direction:b});M=i.useDroppableCollection({keyboardDelegate:P,dropTargetDelegate:H},k,u),E=k.isDropTarget({type:"root"})}let{focusProps:w,isFocused:I,isFocusVisible:A}=he(),z={isDropTarget:E,isEmpty:d.collection.size===0,isFocused:I,isFocusVisible:A,layout:t.layout||"stack",state:d},K=Z({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:z}),N=null;return d.collection.size===0&&t.renderEmptyState&&(N=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(z))),o.createElement(Yn,null,o.createElement("div",{...U(t),..._(T,w,M==null?void 0:M.collectionProps),...K,ref:u,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":E||void 0,"data-empty":d.collection.size===0||void 0,"data-focused":I||void 0,"data-focus-visible":A||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(fe,{values:[[ka,t],[Wt,d],[kt,{dragAndDropHooks:i,dragState:S,dropState:k}],[W5,{elementType:"div"}],[Gl,{render:Dx}],[a5,{name:"ListBoxSection",render:$x}]]},o.createElement(B,{collection:c,scrollRef:u,persistedKeys:H5(f,i,k),renderDropIndicator:ql(i,k)})),N,V))}function $x(e,t,u,n="react-aria-ListBoxSection"){let r=o.useContext(Wt),{dragAndDropHooks:a,dropState:i}=o.useContext(kt),{CollectionBranch:l}=o.useContext(Pe),[s,d]=ct();var c;let{headingProps:f,groupProps:p}=Rf({heading:d,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),m=Z({defaultClassName:n,className:e.className,style:e.style,values:{}});return o.createElement("section",{...U(e),...p,...m,ref:t},o.createElement(U5.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:r.collection,parent:u,renderDropIndicator:ql(a,i)})))}const gx=iu("item",function(t,u,n){let r=xe(u),a=o.useContext(Wt),{dragAndDropHooks:i,dragState:l,dropState:s}=o.useContext(kt),{optionProps:d,labelProps:c,descriptionProps:f,...p}=If({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},a,r),{hoverProps:m,isHovered:b}=Ce({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),g=null;l&&i&&(g=i.useDraggableItem({key:n.key},l));let $=null;s&&i&&($=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,r));let D=l&&l.isDragging(n.key),y=Z({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...p,isHovered:b,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:D,isDropTarget:$==null?void 0:$.isDropTarget}});o.useEffect(()=>{n.textValue||console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]);let x=t.href?"a":"div";return o.createElement(x,{..._(d,m,g==null?void 0:g.dragProps,$==null?void 0:$.dropProps),...y,ref:r,"data-allows-dragging":!!l||void 0,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":b||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":p.isFocusVisible||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":D||void 0,"data-drop-target":($==null?void 0:$.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},o.createElement(fe,{values:[[qe,{slots:{[uu]:c,label:c,description:f}}]]},y.children))});function Dx(e,t){t=xe(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(kt),{dropIndicatorProps:r,isHidden:a,isDropTarget:i}=u.useDropIndicator(e,n,t);return a?null:o.createElement(yx,{...e,dropIndicatorProps:r,isDropTarget:i,ref:t})}function vx(e,t){let{dropIndicatorProps:u,isDropTarget:n,...r}=e,a=Z({...r,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...u,...a,role:"option",ref:t,"data-drop-target":n||void 0})}const yx=o.forwardRef(vx),Yl=o.createContext({placement:"bottom"}),xx=o.forwardRef(function(t,u){[t,u]=X(t,u,Yl);let n=t.placement,r={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(r[n]="100%");let a=Z({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});return a.style&&Object.keys(a.style).forEach(i=>a.style[i]===void 0&&delete a.style[i]),o.createElement("div",{...t,...a,style:{...r,...a.style},ref:u,"data-placement":n})}),ar=o.createContext(null),Ks=o.createContext(null),Pa=o.forwardRef(function(t,u){[t,u]=X(t,u,ar);let n=o.useContext(on),r=Au(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,i=Xs(u,a.isOpen)||t.isExiting||!1,l=M$(),{direction:s}=pe();if(l){let d=t.children;return typeof d=="function"&&(d=d({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),o.createElement(o.Fragment,null,d)}return a&&!a.isOpen&&!i?null:o.createElement(Cx,{...t,triggerRef:t.triggerRef,state:a,popoverRef:u,isExiting:i,dir:s})});function Cx({state:e,isExiting:t,UNSTABLE_portalContainer:u,...n}){let r=o.useRef(null),[a,i]=o.useState(0),l=o.useRef(null),s=o.useContext(Ks),d=s&&n.trigger==="SubmenuTrigger";Y(()=>{r.current&&e.isOpen&&i(r.current.getBoundingClientRect().width)},[e.isOpen,r]);var c;let{popoverProps:f,underlayProps:p,arrowProps:m,placement:b}=PD({...n,offset:(c=n.offset)!==null&&c!==void 0?c:8,arrowSize:a,groupRef:d?s:l},e),g=n.popoverRef,$=Qs(g,!!b)||n.isEntering||!1,D=Z({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:b,isEntering:$,isExiting:t}}),y=!n.isNonModal||n.trigger==="SubmenuTrigger",[x,C]=o.useState(!1);Y(()=>{g.current&&C(y&&!g.current.querySelector("[role=dialog]"))},[g,y]),o.useEffect(()=>{x&&g.current&&!g.current.contains(document.activeElement)&&ye(g.current)},[x,g]);let B={...f.style,...D.style},P=o.createElement("div",{..._(U(n),f),...D,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],ref:g,slot:n.slot||void 0,style:B,dir:n.dir,"data-trigger":n.trigger,"data-placement":b,"data-entering":$||void 0,"data-exiting":t||void 0},!n.isNonModal&&o.createElement(Wr,{onDismiss:e.close}),o.createElement(Yl.Provider,{value:{...m,placement:b,ref:r}},D.children),o.createElement(Wr,{onDismiss:e.close}));if(!d)return o.createElement(Ri,{...n,shouldContainFocus:x,isExiting:t,portalContainer:u},!n.isNonModal&&e.isOpen&&o.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),o.createElement("div",{ref:l,style:{display:"contents"}},o.createElement(Ks.Provider,{value:l},P)));var T;return o.createElement(Ri,{...n,shouldContainFocus:x,isExiting:t,portalContainer:(T=u??(s==null?void 0:s.current))!==null&&T!==void 0?T:void 0},P)}const Ex=o.createContext({}),G5=o.createContext(null),Jl=o.createContext(null),Ui=o.createContext(null),ea=o.createContext(null);function Bx(e){let t=Hl(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:r}=Ml({...e,type:"menu"},t,u),[a,i]=o.useState(null),l=o.useCallback(()=>{u.current&&i(u.current.offsetWidth+"px")},[u]);Ju({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(fe,{values:[[G5,{...r,ref:s}],[on,t],[Ui,t],[ar,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":a},"aria-labelledby":r["aria-labelledby"]}]]},o.createElement(fd,{...n,ref:u,isPressed:t.isOpen},e.children))}const kx=o.createContext(null),Px=o.forwardRef(function(t,u){return[t,u]=X(t,u,G5),o.createElement(Su,{content:o.createElement(xt,t)},n=>o.createElement(Sx,{props:t,collection:n,menuRef:u}))});function Sx({props:e,collection:t,menuRef:u}){let{filter:n,collectionProps:r,collectionRef:a}=o.useContext(Oi)||{};u=xe(o.useMemo(()=>ku(u,a!==void 0?a:null),[a,u]));let i=o.useMemo(()=>n?t.UNSTABLE_filter(n):t,[t,n]),l=Yy({...e,collection:i,children:void 0}),s=o.useContext(Ui),{isVirtualized:d,CollectionRoot:c}=o.useContext(Pe),{menuProps:f}=jD({...e,...r,isVirtualized:d,onClose:e.onClose||(s==null?void 0:s.close)},l,u),p=Z({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{isEmpty:l.collection.size===0}}),m=null;return l.collection.size===0&&e.renderEmptyState&&(m=o.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState())),o.createElement(Yn,null,o.createElement("div",{...U(e),...f,...p,ref:u,slot:e.slot||void 0,"data-empty":l.collection.size===0||void 0,onScroll:e.onScroll},o.createElement(fe,{values:[[Jl,l],[W5,{elementType:"div"}],[a5,{name:"MenuSection",render:wx}],[kx,{parentMenuRef:u,shouldUseVirtualFocus:r==null?void 0:r.shouldUseVirtualFocus}],[Wi,null],[Oi,null],[ea,l.selectionManager],[Ui,s??Hl({})]]},o.createElement(c,{collection:l.collection,persistedKeys:Wl(l.selectionManager.focusedKey),scrollRef:u})),m))}class Ax extends an{get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,u){return this.parent.setFocusedKey(t,u)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}constructor(t,u){super(t.collection,u),this.parent=t}}function wx(e,t,u,n="react-aria-MenuSection"){var r,a;let i=o.useContext(Jl),{CollectionBranch:l}=o.useContext(Pe),[s,d]=ct();var c;let{headingProps:f,groupProps:p}=OD({heading:d,"aria-label":(c=u.props["aria-label"])!==null&&c!==void 0?c:void 0}),m=Z({defaultClassName:n,className:(r=u.props)===null||r===void 0?void 0:r.className,style:(a=u.props)===null||a===void 0?void 0:a.style,values:{}}),b=o.useContext(ea),g=ur(e),$=e.selectionMode!=null?new Ax(b,g):b;return o.createElement("section",{...U(e),...p,...m,ref:t},o.createElement(fe,{values:[[U5,{...f,ref:s}],[ea,$]]},o.createElement(l,{collection:i.collection,parent:u})))}const Wi=o.createContext(null),Fx=iu("item",function(t,u,n){var r;[t,u]=X(t,u,Wi);let a=(r=Ze(Wi))===null||r===void 0?void 0:r.id,i=o.useContext(Jl),l=xe(u),s=o.useContext(ea),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...m}=LD({...t,id:a,key:n.key,selectionManager:s},i,l),{hoverProps:b,isHovered:g}=Ce({isDisabled:m.isDisabled}),$=Z({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...m,isHovered:g,isFocusVisible:m.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),D=t.href?"a":"div";return o.createElement(D,{..._(d,b),...$,ref:l,"data-disabled":m.isDisabled||void 0,"data-hovered":g||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":m.isFocusVisible||void 0,"data-pressed":m.isPressed||void 0,"data-selected":m.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},o.createElement(fe,{values:[[qe,{slots:{[uu]:c,label:c,description:f}}],[Ex,p]]},$.children))}),Ql=o.createContext(null),on=o.createContext(null),q5=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=X(t,u,Ql);let{dialogProps:r,titleProps:a}=e1({...t,"aria-labelledby":n},u),i=o.useContext(on);!r["aria-label"]&&!r["aria-labelledby"]&&(t["aria-labelledby"]?r["aria-labelledby"]=t["aria-labelledby"]:console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));let l=Z({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(i==null?void 0:i.close)||(()=>{})}});return o.createElement("section",{...U(t),...r,...l,ref:u,slot:t.slot||void 0},o.createElement(fe,{values:[[aa,{slots:{[uu]:{},title:{...a,level:2}}}],[pt,{slots:{[uu]:{},close:{onPress:()=>i==null?void 0:i.close()}}}]]},l.children))}),Tx=o.createContext(null),Ix=o.createContext(null),Rx=o.forwardRef(function(t,u){[t,u]=X(t,u,Tx);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>{var s;return o.createElement(ka.Provider,{value:{items:(s=t.items)!==null&&s!==void 0?s:t.defaultItems}},typeof n=="function"?n({isOpen:!1,isDisabled:r,isInvalid:a,isRequired:i,defaultChildren:null}):n)},[n,r,a,i,t.items,t.defaultItems]);return o.createElement(Su,{content:l},s=>o.createElement(Kx,{props:t,collection:s,comboBoxRef:u}))});function Kx({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:r="key",allowsCustomValue:a}=e;a&&(r="text");let{validationBehavior:i}=Ze(su)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:i)!==null&&s!==void 0?s:"native",{contains:c}=Ac({sensitivity:"base"}),f=vy({defaultFilter:e.defaultFilter||c,...e,items:e.items,children:void 0,collection:t,validationBehavior:d}),p=o.useRef(null),m=o.useRef(null),b=o.useRef(null),g=o.useRef(null),[$,D]=ct(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:y,inputProps:x,listBoxProps:C,labelProps:B,descriptionProps:P,errorMessageProps:T,...v}=UD({...Nt(e),label:D,inputRef:m,buttonRef:p,listBoxRef:b,popoverRef:g,name:r==="text"?n:void 0,validationBehavior:d},f),[F,S]=o.useState(null),k=o.useCallback(()=>{if(m.current){var w;let I=(w=p.current)===null||w===void 0?void 0:w.getBoundingClientRect(),A=m.current.getBoundingClientRect(),z=I?Math.min(I.left,A.left):A.left,K=I?Math.max(I.right,A.right):A.right;S(K-z+"px")}},[p,m,S]);Ju({ref:m,onResize:k});let M=o.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:v.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,v.isInvalid,e.isRequired]),E=Z({...e,values:M,defaultClassName:"react-aria-ComboBox"}),V=U(e);delete V.id;var R;return o.createElement(fe,{values:[[Ix,f],[Et,{...B,ref:$}],[pt,{...y,ref:p,isPressed:f.isOpen}],[Xu,{...x,ref:m}],[on,f],[ar,{ref:g,triggerRef:m,scrollRef:b,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":F}}],[ka,{...C,ref:b}],[Wt,f],[qe,{slots:{description:P,errorMessage:T}}],[ln,{isInvalid:v.isInvalid,isDisabled:e.isDisabled||!1}],[Ut,v]]},o.createElement("div",{...V,...E,ref:u,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":v.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&r==="key"&&o.createElement("input",{type:"hidden",name:n,value:(R=f.selectedKey)!==null&&R!==void 0?R:""}))}const Sa=o.createContext(null),ir=o.createContext(null),Xl=o.createContext(null),Mx=o.forwardRef(function(t,u){[t,u]=X(t,u,Sa);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",{locale:l}=pe(),s=Qh({...t,locale:l,createCalendar:ma,validationBehavior:i}),d=o.useRef(null),[c,f]=ct(!t["aria-label"]&&!t["aria-labelledby"]),p=o.useRef(null),{labelProps:m,fieldProps:b,inputProps:g,descriptionProps:$,errorMessageProps:D,...y}=Xp({...Nt(t),label:f,inputRef:p,validationBehavior:i},s,d),x=Z({...Nt(t),values:{state:s,isInvalid:s.isInvalid,isDisabled:s.isDisabled},defaultClassName:"react-aria-DateField"}),C=U(t);return delete C.id,o.createElement(fe,{values:[[ir,s],[ln,{...b,ref:d,isInvalid:s.isInvalid}],[Xu,{...g,ref:p}],[Et,{...m,ref:c,elementType:"span"}],[qe,{slots:{description:$,errorMessage:D}}],[Ut,y]]},o.createElement("div",{...C,...x,ref:u,slot:t.slot||void 0,"data-invalid":s.isInvalid||void 0}))}),ta=o.forwardRef(function(t,u){let n=o.useContext(ir),r=o.useContext(Xl);return n||r?o.createElement(Y5,{...t,ref:u}):o.createElement(zx,{...t,ref:u})}),zx=o.forwardRef((e,t)=>{let[u,n]=X({slot:e.slot},t,Sa),{locale:r}=pe(),a=Qh({...u,locale:r,createCalendar:ma}),i=o.useRef(null),{fieldProps:l,inputProps:s}=Xp({...u,inputRef:i},a,n);return o.createElement(fe,{values:[[ir,a],[Xu,{...s,ref:i}],[ln,{...l,ref:n,isInvalid:a.isInvalid}]]},o.createElement(Y5,e))}),Y5=o.forwardRef((e,t)=>{let{className:u,children:n}=e,r=o.useContext(ir),a=o.useContext(Xl),i=r??a;return o.createElement(o.Fragment,null,o.createElement(nr,{...e,ref:t,slot:e.slot||void 0,className:u??"react-aria-DateInput",isInvalid:i.isInvalid},i.segments.map((l,s)=>o.cloneElement(n(l),{key:s}))),o.createElement(ya,null))}),ua=o.forwardRef(function({segment:t,...u},n){let r=o.useContext(ir),a=o.useContext(Xl),i=r??a,l=xe(n),{segmentProps:s}=QD(t,i,l),{focusProps:d,isFocused:c,isFocusVisible:f}=he(),{hoverProps:p,isHovered:m}=Ce({...u,isDisabled:i.isDisabled||t.type==="literal"}),b=Z({...u,values:{...t,isReadOnly:!t.isEditable,isInvalid:i.isInvalid,isDisabled:i.isDisabled,isHovered:m,isFocused:c,isFocusVisible:f},defaultChildren:t.text,defaultClassName:"react-aria-DateSegment"});return o.createElement("span",{..._(U(u),s,d,p),...b,style:s.style,ref:l,"data-placeholder":t.isPlaceholder||void 0,"data-invalid":i.isInvalid||void 0,"data-readonly":!t.isEditable||void 0,"data-disabled":i.isDisabled||void 0,"data-type":t.type,"data-hovered":m||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0})}),Nx=o.createContext(null),Vx=o.createContext(null),_x=o.createContext(null),jx=o.createContext(null),Lx=o.forwardRef(function(t,u){[t,u]=X(t,u,Nx);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=ky({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:f,labelProps:p,fieldProps:m,buttonProps:b,dialogProps:g,calendarProps:$,descriptionProps:D,errorMessageProps:y,...x}=GD({...Nt(t),label:c,validationBehavior:i},l,s),[C,B]=o.useState(null),P=o.useCallback(()=>{s.current&&B(s.current.offsetWidth+"px")},[]);Ju({ref:s,onResize:P});let{focusProps:T,isFocused:v,isFocusVisible:F}=he({within:!0}),S=Z({...t,values:{state:l,isFocusWithin:v,isFocusVisible:F,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DatePicker"}),k=U(t);return delete k.id,o.createElement(fe,{values:[[_x,l],[ln,{...f,ref:s,isInvalid:l.isInvalid}],[Sa,m],[pt,{...b,isPressed:l.isOpen}],[Et,{...p,ref:d,elementType:"span"}],[Qr,$],[on,l],[ar,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":C}}],[Ql,g],[qe,{slots:{description:D,errorMessage:y}}],[Ut,x]]},o.createElement("div",{...T,...k,...S,ref:u,slot:t.slot||void 0,"data-focus-within":v||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":F||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),Ox=o.forwardRef(function(t,u){[t,u]=X(t,u,Vx);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Iy({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:f,labelProps:p,startFieldProps:m,endFieldProps:b,buttonProps:g,dialogProps:$,calendarProps:D,descriptionProps:y,errorMessageProps:x,...C}=tv({...Nt(t),label:c,validationBehavior:i},l,s),[B,P]=o.useState(null),T=o.useCallback(()=>{s.current&&P(s.current.offsetWidth+"px")},[]);Ju({ref:s,onResize:T});let{focusProps:v,isFocused:F,isFocusVisible:S}=he({within:!0}),k=Z({...t,values:{state:l,isFocusWithin:F,isFocusVisible:S,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DateRangePicker"}),M=U(t);return delete M.id,o.createElement(fe,{values:[[jx,l],[ln,{...f,ref:s,isInvalid:l.isInvalid}],[pt,{...g,isPressed:l.isOpen}],[Et,{...p,ref:d,elementType:"span"}],[Xr,D],[on,l],[ar,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":B}}],[Ql,$],[Sa,{slots:{start:m,end:b}}],[qe,{slots:{description:y,errorMessage:x}}],[Ut,C]]},o.createElement("div",{...v,...M,...k,ref:u,slot:t.slot||void 0,"data-focus-within":F||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":S||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),J5=o.createContext(null),Hx=o.forwardRef(function(t,u){let n=Ky(t),r=Z({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),a=U(t);return o.createElement("div",{...a,...r,ref:u,"data-disabled":t.isDisabled||void 0},o.createElement(J5.Provider,{value:n},r.children))}),Ux=o.createContext(null),Wx=o.createContext(null),Q5=o.createContext(null),Zx=o.forwardRef(function(t,u){[t,u]=X(t,u,Ux);let n=o.useContext(J5),{id:r,...a}=t,i=oe();r||(r=i);let l=n?n.expandedKeys.has(r):t.isExpanded,s=Ry({...t,isExpanded:l,onExpandedChange(D){var y;n&&n.toggleKey(r),(y=t.onExpandedChange)===null||y===void 0||y.call(t,D)}}),d=o.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:p}=uv({...t,isExpanded:l,isDisabled:c},s,d),{isFocusVisible:m,focusProps:b}=he({within:!0}),g=Z({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:s.isExpanded,isDisabled:c,isFocusVisibleWithin:m,state:s}}),$=U(a);return o.createElement(fe,{values:[[pt,{slots:{[uu]:{},trigger:f}}],[Q5,{panelProps:p,panelRef:d}],[Wx,s]]},o.createElement("div",{ref:u,"data-expanded":s.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":m||void 0,...$,...b,...g},g.children))}),Gx=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:r,panelRef:a}=o.useContext(Q5),{isFocusVisible:i,focusProps:l}=he({within:!0}),s=Z({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:i}}),d=U(t);return o.createElement("div",{...d,ref:ku(u,a),..._(r,l),...s,role:n,"data-focus-visible-within":i||void 0},o.createElement(fe,{values:[[pt,null]]},t.children))});function qx(e){return e&&e.__esModule?e.default:e}const Yx=o.createContext(null),Jx=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=X(t,u,Yx);let r=xe(u),a=o.useRef(null),{dropProps:i,dropButtonProps:l,isDropTarget:s}=gv({...t,ref:a,hasDropButton:!0}),{buttonProps:d}=El(l||{},a),{hoverProps:c,isHovered:f}=Ce(t),{focusProps:p,isFocused:m,isFocusVisible:b}=he(),g=De(qx(O5),"react-aria-components"),$=it(),D=t["aria-label"]||g.format("dropzoneLabel"),y=t["aria-labelledby"],x=[$,y].filter(Boolean).join(" "),C=Dt({"aria-label":D,"aria-labelledby":x}),{clipboardProps:B}=Dv({isDisabled:n,onPaste:v=>{var F;return(F=t.onDrop)===null||F===void 0?void 0:F.call(t,{type:"drop",items:v,x:0,y:0,dropOperation:"copy"})}}),P=Z({...t,values:{isHovered:f,isFocused:m,isFocusVisible:b,isDropTarget:s,isDisabled:n},defaultClassName:"react-aria-DropZone"}),T=U(t);return delete T.id,o.createElement(fe,{values:[[qe,{id:$,slot:"label"}]]},o.createElement("div",{..._(i,c,T),...P,slot:t.slot||void 0,ref:r,onClick:v=>{var F;let S=v.target;for(;S&&(!((F=r.current)===null||F===void 0)&&F.contains(S))&&!rl(S);){if(S===r.current){var k;(k=a.current)===null||k===void 0||k.focus();break}S=S.parentElement}},"data-hovered":f||void 0,"data-focused":m||void 0,"data-focus-visible":b||void 0,"data-drop-target":s||void 0,"data-disabled":n||void 0},o.createElement(ru,null,o.createElement("button",{..._(d,p,B,C),ref:a})),P.children))}),Qx=o.forwardRef(function(t,u){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:a,defaultCamera:i,children:l,acceptDirectory:s,...d}=t,c=xe(u),f=U(d);return o.createElement(o.Fragment,null,o.createElement(fd,{onPress:()=>{var p,m;!((p=c.current)===null||p===void 0)&&p.value&&(c.current.value=""),(m=c.current)===null||m===void 0||m.click()}},l),o.createElement(ya,{...f,type:"file",ref:c,style:{display:"none"},accept:r==null?void 0:r.toString(),onChange:p=>n==null?void 0:n(p.target.files),capture:i,multiple:a,webkitdirectory:s?"":void 0}))}),Aa=o.forwardRef(function(t,u){[t,u]=X(t,u,aa);let{children:n,level:r=3,className:a,...i}=t,l=`h${r}`;return o.createElement(l,{...i,ref:u,className:a??"react-aria-Heading"},n)}),Xx=o.createContext(null),e7=o.createContext(null),X5=o.createContext(null),t7=o.forwardRef(function(t,u){[t,u]=X(t,u,Xx);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Ny({...t,validationBehavior:i}),[s,d]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=zv({...t,label:d,validationBehavior:i},l),g=Z({...t,values:{orientation:t.orientation||"vertical",isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:l.isRequired,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-RadioGroup"});return o.createElement("div",{...c,...g,ref:u,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":l.isInvalid||void 0,"data-disabled":l.isDisabled||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":l.isRequired||void 0},o.createElement(fe,{values:[[X5,l],[Et,{...f,ref:s,elementType:"span"}],[qe,{slots:{description:p,errorMessage:m}}],[Ut,b]]},g.children))}),u7=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=X(r,u,e7);let a=o.useContext(X5),i=xe(ku(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=Mv({...Nt(t),children:typeof t.children=="function"?!0:t.children},a,i),{isFocused:p,isFocusVisible:m,focusProps:b}=he(),g=c||a.isReadOnly,{hoverProps:$,isHovered:D}=Ce({...t,isDisabled:g}),y=Z({...t,defaultClassName:"react-aria-Radio",values:{isSelected:d,isPressed:f,isHovered:D,isFocused:p,isFocusVisible:m,isDisabled:c,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),x=U(t);return delete x.id,o.createElement("label",{..._(x,l,$,y),ref:u,"data-selected":d||void 0,"data-pressed":f||void 0,"data-hovered":D||void 0,"data-focused":p||void 0,"data-focus-visible":m||void 0,"data-disabled":c||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},o.createElement(ru,{elementType:"span"},o.createElement("input",{..._(s,b),ref:i})),y.children)});class n7 extends sa{addNode(t){super.addNode(t),this.columnsDirty||(this.columnsDirty=t.type==="column"),t.type==="tableheader"&&(this.head=t),t.type==="tablebody"&&(this.body=t)}commit(t,u,n=!1){this.updateColumns(n),this.rows=[];for(let i of this.getChildren(this.body.key)){let l=i.lastChildKey;if(l!=null){let s=this.getItem(l);var r,a;let d=((r=s.colIndex)!==null&&r!==void 0?r:s.index)+((a=s.colSpan)!==null&&a!==void 0?a:1);if(d!==this.columns.length&&!n)throw new Error(`Cell count must match column count. Found ${d} cells and ${this.columns.length} columns.`)}this.rows.push(i)}super.commit(t,u,n)}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let u=new Map,n=r=>{switch(r.type){case"column":u.set(r.key,r),r.hasChildNodes||(r.index=this.columns.length,this.columns.push(r),r.props.isRowHeader&&this.rowHeaderColumnKeys.add(r.key));break}for(let a of this.getChildren(r.key))n(a)};for(let r of this.getChildren(this.head.key))n(r);if(this.headerRows=e5(u,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!t)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){this.head.key!==-1&&(yield this.head,yield this.body)}get size(){return this.rows.length}getFirstKey(){return this.body.firstChildKey}getLastKey(){return this.body.lastChildKey}getKeyAfter(t){let u=this.getItem(t);var n;return(u==null?void 0:u.type)==="column"?(n=u.nextKey)!==null&&n!==void 0?n:null:super.getKeyAfter(t)}getKeyBefore(t){var u;let n=this.getItem(t);var r;if((n==null?void 0:n.type)==="column")return(r=n.prevKey)!==null&&r!==void 0?r:null;let a=super.getKeyBefore(t);return a!=null&&((u=this.getItem(a))===null||u===void 0?void 0:u.type)==="tablebody"?null:a}getChildren(t){if(!this.getItem(t)){for(let u of this.headerRows)if(u.key===t)return u.childNodes}return super.getChildren(t)}clone(){let t=super.clone();return t.headerRows=this.headerRows,t.columns=this.columns,t.rowHeaderColumnKeys=this.rowHeaderColumnKeys,t.head=this.head,t.body=this.body,t}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys,r=[];for(let a of this.getChildren(t)){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}constructor(...t){super(...t),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new Fn("tableheader",-1),this.body=new Fn("tablebody",-2),this.columnsDirty=!0}}const r7=o.createContext(null),a7=o.createContext(null),Pt=o.createContext(null),e2=o.createContext(null),i7=o.forwardRef(function(t,u){var n;[t,u]=X(t,u,a7);let r=ur(t),{selectionBehavior:a,selectionMode:i,disallowEmptySelection:l}=r,s=!!(!((n=t.dragAndDropHooks)===null||n===void 0)&&n.useDraggableCollectionState),d=o.useMemo(()=>({selectionBehavior:i==="none"?null:a,selectionMode:i,disallowEmptySelection:l,allowsDragging:s}),[a,i,l,s]),c=o.createElement(t2.Provider,{value:d},o.createElement(xt,t));return o.createElement(Su,{content:c,createCollection:()=>new n7},f=>o.createElement(l7,{props:t,forwardedRef:u,selectionState:r,collection:f}))});function l7({props:e,forwardedRef:t,selectionState:u,collection:n}){let r=o.useContext(r7);t=xe(o.useMemo(()=>ku(t,r==null?void 0:r.tableRef),[t,r==null?void 0:r.tableRef]));let a=Hy({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:i,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext(Pe),{dragAndDropHooks:c}=e,{gridProps:f}=Ov({...e,layoutDelegate:l,isVirtualized:i},a,t),p=a.selectionManager,m=!!(c!=null&&c.useDraggableCollectionState),b=!!(c!=null&&c.useDroppableCollectionState),g=o.useRef(m),$=o.useRef(b);o.useEffect(()=>{g.current!==m&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),$.current!==b&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[m,b]);let D,y,x,C=!1,B=null,P=o.useRef(null);if(m&&c){D=c.useDraggableCollectionState({collection:n,selectionManager:p,preview:c.renderDragPreview?P:void 0}),c.useDraggableCollection({},D,t);let w=c.DragPreview;B=c.renderDragPreview?o.createElement(w,{ref:P},c.renderDragPreview):null}if(b&&c){y=c.useDroppableCollectionState({collection:n,selectionManager:p});let w=new nn({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),I=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);x=c.useDroppableCollection({keyboardDelegate:w,dropTargetDelegate:I},y,t),C=y.isDropTarget({type:"root"})}let{focusProps:T,isFocused:v,isFocusVisible:F}=he(),S=Z({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:C,isFocused:v,isFocusVisible:F,state:a}}),k=!!(m&&!(D!=null&&D.isDisabled)),M=S.style,E=null;r&&(E=r.useTableColumnResizeState({tableWidth:r.tableWidth},a),i||(M={...M,tableLayout:"fixed",width:"fit-content"}));let V=je("table");var R;return o.createElement(fe,{values:[[Pt,a],[e2,E],[kt,{dragAndDropHooks:c,dragState:D,dropState:y}],[Gl,{render:b7}]]},o.createElement(Yn,null,o.createElement(V,{...U(e),...S,..._(f,T,x==null?void 0:x.collectionProps),style:M,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":k||void 0,"data-drop-target":C||void 0,"data-focused":v||void 0,"data-focus-visible":F||void 0},o.createElement(d,{collection:n,scrollRef:(R=r==null?void 0:r.scrollRef)!==null&&R!==void 0?R:t,persistedKeys:H5(p,c,y)}))),B)}function je(e){let{isVirtualized:t}=o.useContext(Pe);return t?"div":e}const t2=o.createContext(null);function u2(){return o.useContext(t2)}const o7=sl("tableheader",(e,t)=>{let u=o.useContext(Pt).collection,n=al({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(s7,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),r=je("thead"),{rowGroupProps:a}=H0(),{hoverProps:i,isHovered:l}=Ce({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=Z({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(r,{..._(U(e),a,i),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(xt,{dependencies:e.dependencies,items:e.columns},e.children));function s7({item:e}){let t=o.useRef(null),u=o.useContext(Pt),{isVirtualized:n,CollectionBranch:r}=o.useContext(Pe),{rowProps:a}=Zv({node:e,isVirtualized:n},u,t),{checkboxProps:i}=Jv(u),l=je("tr");return o.createElement(l,{...a,ref:t},o.createElement(fe,{values:[[Ji,{slots:{selection:i}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const d7=iu("column",(e,t,u)=>{var n,r;let a=xe(t),i=o.useContext(Pt),{isVirtualized:l}=o.useContext(Pe),{columnHeaderProps:s}=Uv({node:u,isVirtualized:l},i,a),{isFocused:d,isFocusVisible:c,focusProps:f}=he(),p=o.useContext(e2),m=!1;if(p)m=p.resizingColumn===u.key;else for(let x in["width","defaultWidth","minWidth","maxWidth"])x in u.props&&console.warn(`The ${x} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);let{hoverProps:b,isHovered:g}=Ce({isDisabled:!e.allowsSorting}),$=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Column",values:{isHovered:g,isFocused:d,isFocusVisible:c,allowsSorting:u.props.allowsSorting,sortDirection:((n=i.sortDescriptor)===null||n===void 0?void 0:n.column)===u.key?i.sortDescriptor.direction:void 0,isResizing:m,startResize:()=>{if(p)p.startResize(u.key),i.setKeyboardNavigationDisabled(!0);else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing")},sort:x=>{i.sort(u.key,x)}}}),D=$.style;p&&(D={...D,width:p.getColumnWidth(u.key)});let y=je("th");return o.createElement(y,{..._(U(e),s,f,b),...$,style:D,ref:a,"data-hovered":g||void 0,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-resizing":m||void 0,"data-allows-sorting":u.props.allowsSorting||void 0,"data-sort-direction":((r=i.sortDescriptor)===null||r===void 0?void 0:r.column)===u.key?i.sortDescriptor.direction:void 0},o.createElement(fe,{values:[[c7,{column:u,triggerRef:a}],[Pe,rr]]},$.children))}),c7=o.createContext(null),f7=sl("tablebody",(e,t)=>{let u=o.useContext(Pt),{isVirtualized:n}=o.useContext(Pe),r=u.collection,{CollectionBranch:a}=o.useContext(Pe),{dragAndDropHooks:i,dropState:l}=o.useContext(kt),s=!!(i!=null&&i.useDroppableCollectionState)&&!(l!=null&&l.isDisabled);var d;let f={isDropTarget:s&&!!l&&((d=l.isDropTarget({type:"root"}))!==null&&d!==void 0?d:!1),isEmpty:r.size===0},p=Z({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,b=je("tr"),g=je("td"),$=r.columnCount;if(r.size===0&&e.renderEmptyState&&u){let x={},C={},B={};n?(x["aria-rowindex"]=r.headerRows.length+1,C["aria-colspan"]=$,B={display:"contents"}):C.colSpan=$,m=o.createElement(b,{role:"row",...x,style:B},o.createElement(g,{role:"rowheader",...C,style:B},e.renderEmptyState(f)))}let{rowGroupProps:D}=H0(),y=je("tbody");return o.createElement(y,{..._(U(e),D),...p,ref:t,"data-empty":r.size===0||void 0},s&&o.createElement(g7,null),o.createElement(a,{collection:r,parent:r.body,renderDropIndicator:ql(i,l)}),m)}),p7=sl("item",(e,t,u)=>{let n=xe(t),r=o.useContext(Pt),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(kt),{isVirtualized:s,CollectionBranch:d}=o.useContext(Pe),{rowProps:c,...f}=Wv({node:u,shouldSelectOnPressUp:!!i,isVirtualized:s},r,n),{isFocused:p,isFocusVisible:m,focusProps:b}=he(),{isFocusVisible:g,focusProps:$}=he({within:!0}),{hoverProps:D,isHovered:y}=Ce({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:x}=Yv({key:u.key},r),C;i&&a&&(C=a.useDraggableItem({key:u.key,hasDragButton:!0},i));let B,P=o.useRef(null),{visuallyHiddenProps:T}=Xn();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,P));let v=o.useRef(null);o.useEffect(()=>{i&&!v.current&&console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]);let F=i&&i.isDragging(u.key),{children:S,...k}=e,M=Z({...k,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:y,isFocused:p,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:F,isDropTarget:B==null?void 0:B.isDropTarget,isFocusVisibleWithin:g,id:u.key}}),E=je("tr"),V=je("td");return o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement(E,{role:"row",style:{height:0}},o.createElement(V,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...T,...B.dropIndicatorProps,ref:P}))),o.createElement(E,{..._(U(e),c,b,D,C==null?void 0:C.dragProps,$),...M,ref:n,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":y||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":F||void 0,"data-drop-target":(B==null?void 0:B.isDropTarget)||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode,"data-focus-visible-within":g||void 0},o.createElement(fe,{values:[[Ji,{slots:{[uu]:{},selection:x}}],[pt,{slots:{[uu]:{},drag:{...C==null?void 0:C.dragButtonProps,ref:v,style:{pointerEvents:"none"}}}}]]},o.createElement(d,{collection:r.collection,parent:u}))))},e=>{if(e.id==null&&typeof e.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t=[e.value].concat(e.dependencies);return o.createElement(xt,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),m7=iu("cell",(e,t,u)=>{let n=xe(t),r=o.useContext(Pt),{dragState:a}=o.useContext(kt),{isVirtualized:i}=o.useContext(Pe);u.column=r.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=Gv({node:u,shouldSelectOnPressUp:!!a,isVirtualized:i},r,n),{isFocused:d,isFocusVisible:c,focusProps:f}=he(),{hoverProps:p,isHovered:m}=Ce({}),b=Z({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:m,id:u.key}}),g=je("td");return o.createElement(g,{..._(U(e),l,f,p),...b,ref:n,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-pressed":s||void 0},o.createElement(Pe.Provider,{value:rr},b.children))});function b7(e,t){t=xe(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(kt),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement($7,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function h7(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,i=o.useContext(Pt),{visuallyHiddenProps:l}=Xn(),s=Z({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=je("tr"),c=je("td");return o.createElement(d,{...U(e),...s,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement(c,{role:"gridcell",colSpan:i.collection.columnCount,style:{padding:0}},o.createElement("div",{...l,role:"button",...u,ref:r}),s.children))}const $7=o.forwardRef(h7);function g7(){let e=o.useContext(Pt),{dragAndDropHooks:t,dropState:u}=o.useContext(kt),n=o.useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},u,n),a=u.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=Xn(),l=je("tr"),s=je("td");return!a&&r["aria-hidden"]?null:o.createElement(l,{role:"row","aria-hidden":r["aria-hidden"],style:{height:0}},o.createElement(s,{role:"gridcell",colSpan:e.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...i,...r,ref:n})))}iu("loader",function(t,u,n){let r=o.useContext(Pt),{isVirtualized:a}=o.useContext(Pe),i=r.collection.columns.length,l=Z({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),s=je("tr"),d=je("td"),c={},f={},p={};return a?(c["aria-rowindex"]=r.collection.headerRows.length+r.collection.size,f["aria-colspan"]=i,p={display:"contents"}):f.colSpan=i,o.createElement(o.Fragment,null,o.createElement(s,{role:"row",ref:u,..._(U(t),c),...l},o.createElement(d,{role:"rowheader",...f,style:p},l.children)))});const wa=o.createContext(null),en=o.createContext(null),D7=o.forwardRef(function(t,u){[t,u]=X(t,u,wa);let{children:n,orientation:r="horizontal"}=t;return n=o.useMemo(()=>typeof n=="function"?n({orientation:r,defaultChildren:null}):n,[n,r]),o.createElement(Su,{content:n},a=>o.createElement(v7,{props:t,collection:a,tabsRef:u}))});function v7({props:e,tabsRef:t,collection:u}){let{orientation:n="horizontal"}=e,r=Uy({...e,collection:u,children:void 0}),{focusProps:a,isFocused:i,isFocusVisible:l}=he({within:!0}),s=o.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:l}),[n,i,l]),d=Z({...e,defaultClassName:"react-aria-Tabs",values:s});return o.createElement("div",{...U(e),...a,...d,ref:t,slot:e.slot||void 0,"data-focused":i||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":r.isDisabled||void 0},o.createElement(fe,{values:[[wa,e],[en,r]]},d.children))}const y7=o.forwardRef(function(t,u){return o.useContext(en)?o.createElement(x7,{props:t,forwardedRef:u}):o.createElement(xt,t)});function x7({props:e,forwardedRef:t}){let u=o.useContext(en),{CollectionRoot:n}=o.useContext(Pe),{orientation:r="horizontal",keyboardActivation:a="automatic"}=Ze(wa),i=xe(t),{tabListProps:l}=ty({...e,orientation:r,keyboardActivation:a},u,i),s=Z({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:r,state:u}}),d=U(e);return delete d.id,o.createElement("div",{...d,...l,ref:i,...s,"data-orientation":r||void 0},o.createElement(n,{collection:u.collection,persistedKeys:Wl(u.selectionManager.focusedKey)}))}const C7=iu("item",(e,t,u)=>{let n=o.useContext(en),r=xe(t),{tabProps:a,isSelected:i,isDisabled:l,isPressed:s}=Qv({key:u.key,...e},n,r),{focusProps:d,isFocused:c,isFocusVisible:f}=he(),{hoverProps:p,isHovered:m}=Ce({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),b=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:i,isDisabled:l,isFocused:c,isFocusVisible:f,isPressed:s,isHovered:m}}),g=u.props.href?"a":"div";return o.createElement(g,{..._(a,d,p,b),ref:r,"data-selected":i||void 0,"data-disabled":l||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0,"data-pressed":s||void 0,"data-hovered":m||void 0},b.children)}),E7=Wn(function(t,u){const n=o.useContext(en);let r=xe(u),{tabPanelProps:a}=Xv(t,n,r),{focusProps:i,isFocused:l,isFocusVisible:s}=he(),d=n.selectedKey===t.id,c=Z({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,isFocusVisible:s,isInert:!d,state:n}});if(!d&&!t.shouldForceMount)return null;let f=U(t);delete f.id;let p=d?_(f,a,i,c):c;return o.createElement("div",{...p,ref:r,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:S$(!d),"data-inert":d?void 0:"true"},o.createElement(fe,{values:[[wa,null],[en,null]]},o.createElement(Pe.Provider,{value:rr},c.children)))}),B7=o.createContext(null),n2=o.createContext(null),k7=o.forwardRef(function(t,u){return[t,u]=X(t,u,B7),o.createElement(Su,{content:t.children},n=>o.createElement(P7,{props:t,forwardedRef:u,collection:n}))});function P7({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[r,a]=ct(!e["aria-label"]&&!e["aria-labelledby"]),i=xa({...e,children:void 0,collection:u}),l=U(e),s=Object.fromEntries(Object.entries(l).map(([b])=>[b,void 0])),{gridProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p}=uy({...e,...s,label:a},i,n);var m;return o.createElement("div",{...l,ref:t,slot:e.slot||void 0,className:(m=e.className)!==null&&m!==void 0?m:"react-aria-TagGroup",style:e.style},o.createElement(fe,{values:[[Et,{...c,elementType:"span",ref:r}],[n2,{...d,ref:n}],[Wt,i],[qe,{slots:{description:f,errorMessage:p}}]]},e.children))}const r2=o.forwardRef(function(t,u){return o.useContext(Wt)?o.createElement(S7,{props:t,forwardedRef:u}):o.createElement(xt,t)});function S7({props:e,forwardedRef:t}){let u=o.useContext(Wt),{CollectionRoot:n}=o.useContext(Pe),[r,a]=X(e,t,n2);delete r.items,delete r.renderEmptyState;let{focusProps:i,isFocused:l,isFocusVisible:s}=he(),d={isEmpty:u.collection.size===0,isFocused:l,isFocusVisible:s,state:u},c=Z({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:d}),f=Wl(u.selectionManager.focusedKey);return o.createElement("div",{..._(r,i),...c,ref:a,"data-empty":u.collection.size===0||void 0,"data-focused":l||void 0,"data-focus-visible":s||void 0},u.collection.size===0&&e.renderEmptyState?e.renderEmptyState(d):o.createElement(n,{collection:u.collection,persistedKeys:f}))}const A7=iu("item",(e,t,u)=>{let n=o.useContext(Wt),r=xe(t),{focusProps:a,isFocusVisible:i}=he({within:!0}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=ry({item:u},n,r),{hoverProps:f,isHovered:p}=Ce({isDisabled:!c.allowsSelection,onHoverStart:u.props.onHoverStart,onHoverChange:u.props.onHoverChange,onHoverEnd:u.props.onHoverEnd}),m=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tag",values:{...c,isFocusVisible:i,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior}});return o.useEffect(()=>{u.textValue||console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.")},[u.textValue]),o.createElement("div",{ref:r,...m,..._(U(e),l,a,f),"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":i||void 0,"data-pressed":c.isPressed||void 0,"data-allows-removing":c.allowsRemoving||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},o.createElement("div",{...s,style:{display:"contents"}},o.createElement(fe,{values:[[pt,{slots:{remove:d}}],[Pe,rr]]},m.children)))}),eo=o.createContext(null),a2=o.createContext(null);function w7(e){let t=n5(e),u=o.useRef(null),{triggerProps:n,tooltipProps:r}=dy(e,t,u);return o.createElement(fe,{values:[[eo,t],[a2,{...r,triggerRef:u}]]},o.createElement(e6,{...n,ref:u},e.children))}const F7=o.forwardRef(function({UNSTABLE_portalContainer:t,...u},n){[u,n]=X(u,n,a2);let r=o.useContext(eo),a=n5(u),i=u.isOpen!=null||u.defaultOpen!=null||!r?a:r,l=Xs(n,i.isOpen)||u.isExiting||!1;return!i.isOpen&&!l?null:o.createElement(L3,{portalContainer:t},o.createElement(T7,{...u,tooltipRef:n,isExiting:l}))});function T7(e){let t=o.useContext(eo),u=o.useRef(null),[n,r]=o.useState(0);Y(()=>{u.current&&t.isOpen&&r(u.current.getBoundingClientRect().width)},[t.isOpen,u]);let{overlayProps:a,arrowProps:i,placement:l}=wl({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowSize:n,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,onClose:()=>t.close(!0)}),s=Qs(e.tooltipRef,!!l)||e.isEntering||!1,d=Z({...e,defaultClassName:"react-aria-Tooltip",values:{placement:l,isEntering:s,isExiting:e.isExiting,state:t}});e=_(e,a);let{tooltipProps:c}=sy(e,t);return o.createElement("div",{...c,ref:e.tooltipRef,...d,style:{...a.style,...d.style},"data-placement":l??void 0,"data-entering":s||void 0,"data-exiting":e.isExiting||void 0},o.createElement(Yl.Provider,{value:{...i,placement:l,ref:u}},d.children))}const I7="accordion",R7=({variant:e="uncontained",type:t="single",children:u,className:n,...r})=>h.jsx(Hx,{"data-testid":I7,allowsMultipleExpanded:t==="multiple",className:W(tt.root,e==="contained"?tt.contained:tt.uncontained,n),...r,children:u}),K7='"../theme/tokens.css"',M7="_button_ayu5e_4",z7="_secondary_ayu5e_47",N7="_tertiary_ayu5e_70",V7="_iconBtn_ayu5e_91",_7="_danger_ayu5e_112",j7="_iconRight_ayu5e_134",L7="_fullwidth_ayu5e_138",O7="_small_ayu5e_142",H7="_primary_ayu5e_149",At={tokens:K7,"--font-family":'"Inter", sans-serif',"--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-secondary":"light-dark(#ffffff, #171717)","--size-03":"1rem","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-border-primary":"light-dark(light-dark(#143c50, #143c50), #f2f2f2)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--white":"#ffffff","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-brand":"light-dark(#143c50, #f2f2f2)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#b31b1b, #b31b1b)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-danger-active":"light-dark(#801313, #801313)","--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-icon-hover":"light-dark(rgba(0 0 0 / 10%), rgba(255 255 255 / 10%))","--button-background-icon-active":"light-dark(rgba(0 0 0 / 20%), rgba(255 255 255 / 20%))",button:M7,secondary:z7,tertiary:N7,iconBtn:V7,danger:_7,iconRight:j7,fullwidth:L7,small:O7,primary:H7},ze=({variant:e="primary",fullwidth:t,className:u,iconPlacement:n,size:r,icon:a,iconSize:i,...l})=>{const s=r==="small"?14:i||20;return h.jsx(jt,{className:W(At.button,e==="primary"&&At.primary,e==="secondary"&&At.secondary,e==="tertiary"&&At.tertiary,e==="danger"&&At.danger,e==="icon"&&At.iconBtn,t&&At.fullwidth,r==="small"&&At.small,n==="right"&&At.iconRight,u),...l,children:h.jsxs(h.Fragment,{children:[a&&h.jsx(a,{"aria-hidden":!0,size:s}),l.children]})})},U7='"../theme/tokens.css"',W7="undefined",Z7="_buttonGroup_5pd8y_4",G7={tokens:U7,smBreakpoint:W7,buttonGroup:Z7},q7=({children:e,className:t,"aria-label":u,...n})=>h.jsx("div",{role:"group","aria-label":u,className:W(G7.buttonGroup,t),...n,children:e});/**
|
|
17
|
+
*/var Ao;function m6(){return Ao||(Ao=1,process.env.NODE_ENV!=="production"&&function(){function e(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}function t(m,b){c||r.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var g=b();if(!f){var $=b();a(g,$)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}$=i({inst:{value:g,getSnapshot:b}});var D=$[0].inst,y=$[1];return s(function(){D.value=g,D.getSnapshot=b,u(D)&&y({inst:D})},[m,g,b]),l(function(){return u(D)&&y({inst:D}),m(function(){u(D)&&y({inst:D})})},[m]),d(g),g}function u(m){var b=m.getSnapshot;m=m.value;try{var g=b();return!a(m,g)}catch{return!0}}function n(m,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=o,a=typeof Object.is=="function"?Object.is:e,i=r.useState,l=r.useEffect,s=r.useLayoutEffect,d=r.useDebugValue,c=!1,f=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Wa.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Wa}process.env.NODE_ENV==="production"?xi.exports=p6():xi.exports=m6();var ml=xi.exports;const vd=o.createContext(!1),Vn=o.createContext(null);function Tu(e){if(o.useContext(Vn))return e.content;let{collection:u,document:n}=g6(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(O2,null,o.createElement(Vn.Provider,{value:n},e.content)),o.createElement(b6,{render:e.children,collection:u}))}function b6({collection:e,render:t}){return t(e)}function h6(e,t,u){let n=Ct(),r=o.useRef(n);r.current=n;let a=o.useCallback(()=>r.current?u():t(),[t,u]);return ml.useSyncExternalStore(e,a)}const $6=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:h6;function g6(e){let[t]=o.useState(()=>new L2((e==null?void 0:e())||new ma)),u=o.useCallback(i=>t.subscribe(i),[t]),n=o.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),r=o.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]),a=$6(u,n,r);return Y(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const Ci=o.createContext(null);function yd(e,t,u,n,r,a){let i=o.useCallback(s=>{s==null||s.setProps(t,u,n,a)},[t,u,n,a]),l=o.useContext(Ci);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e),s.setProps(t,u,n,a),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),r?o.createElement(Ci.Provider,{value:s},r):null}return o.createElement(e,{ref:i},r)}function cu(e,t){let u=({node:r})=>t(r.props,r.props.ref,r),n=o.forwardRef((r,a)=>{let i=o.useContext(Nr);if(!o.useContext(vd)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(r,a)}return yd(e,r,a,"children"in r?r.children:null,null,s=>o.createElement(Nr.Provider,{value:i},o.createElement(u,{node:s})))});return n.displayName=t.name,n}function bl(e,t,u=xd){let n=({node:a})=>t(a.props,a.props.ref,a),r=o.forwardRef((a,i)=>{let l=u(a);var s;return(s=yd(e,a,i,null,l,d=>o.createElement(n,{node:d})))!==null&&s!==void 0?s:o.createElement(o.Fragment,null)});return r.displayName=t.name,r}function xd(e){return dl({...e,addIdAndValue:!0})}const wo=o.createContext(null);function Bt(e){let t=o.useContext(wo),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),r=xd({...e,idScope:n,dependencies:u});return o.useContext(Vn)&&(r=o.createElement(D6,null,r)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(wo.Provider,{value:t},r)}function D6({children:e}){let t=o.useContext(Vn),u=o.useMemo(()=>o.createElement(Vn.Provider,{value:null},o.createElement(vd.Provider,{value:!0},e)),[e]);return Ct()?o.createElement(Ci.Provider,{value:t},u):Wt.createPortal(u,t)}function v6(e,t){let{elementType:u="a",onPress:n,onPressStart:r,onPressEnd:a,onClick:i,isDisabled:l,...s}=e,d={};u!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=Gt(e,t),{pressProps:f,isPressed:p}=Je({onPress:n,onPressStart:r,onPressEnd:a,isDisabled:l,ref:t}),m=H(s,{labelable:!0}),b=_(c,f),g=Fu(),$=fa(e);return{isPressed:p,linkProps:_(m,$,{...b,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:D=>{var y;(y=f.onClick)===null||y===void 0||y.call(f,D),i&&(i(D),console.warn("onClick is deprecated, please use onPress")),!g.isNative&&D.currentTarget instanceof HTMLAnchorElement&&D.currentTarget.href&&!D.isDefaultPrevented()&&ud(D.currentTarget,D)&&e.href&&(D.preventDefault(),g.open(D.currentTarget,D,e.href,e.routerOptions))}})}}var Cd={};Cd={breadcrumbs:"عناصر الواجهة"};var Ed={};Ed={breadcrumbs:"Трохи хляб"};var Bd={};Bd={breadcrumbs:"Popis cesty"};var kd={};kd={breadcrumbs:"Brødkrummer"};var Pd={};Pd={breadcrumbs:"Breadcrumbs"};var Sd={};Sd={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Ad={};Ad={breadcrumbs:"Breadcrumbs"};var wd={};wd={breadcrumbs:"Migas de pan"};var Fd={};Fd={breadcrumbs:"Lingiread"};var Td={};Td={breadcrumbs:"Navigointilinkit"};var Rd={};Rd={breadcrumbs:"Chemin de navigation"};var Id={};Id={breadcrumbs:"שבילי ניווט"};var Kd={};Kd={breadcrumbs:"Navigacijski putovi"};var Md={};Md={breadcrumbs:"Morzsamenü"};var zd={};zd={breadcrumbs:"Breadcrumb"};var Nd={};Nd={breadcrumbs:"パンくずリスト"};var Vd={};Vd={breadcrumbs:"탐색 표시"};var _d={};_d={breadcrumbs:"Naršymo kelias"};var jd={};jd={breadcrumbs:"Atpakaļceļi"};var Ld={};Ld={breadcrumbs:"Navigasjonsstier"};var Od={};Od={breadcrumbs:"Broodkruimels"};var Hd={};Hd={breadcrumbs:"Struktura nawigacyjna"};var Ud={};Ud={breadcrumbs:"Caminho detalhado"};var Wd={};Wd={breadcrumbs:"Categorias"};var Zd={};Zd={breadcrumbs:"Miez de pâine"};var Gd={};Gd={breadcrumbs:"Навигация"};var qd={};qd={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Yd={};Yd={breadcrumbs:"Drobtine"};var Jd={};Jd={breadcrumbs:"Putanje navigacije"};var Qd={};Qd={breadcrumbs:"Sökvägar"};var Xd={};Xd={breadcrumbs:"İçerik haritaları"};var ec={};ec={breadcrumbs:"Навігаційна стежка"};var tc={};tc={breadcrumbs:"导航栏"};var uc={};uc={breadcrumbs:"導覽列"};var nc={};nc={"ar-AE":Cd,"bg-BG":Ed,"cs-CZ":Bd,"da-DK":kd,"de-DE":Pd,"el-GR":Sd,"en-US":Ad,"es-ES":wd,"et-EE":Fd,"fi-FI":Td,"fr-FR":Rd,"he-IL":Id,"hr-HR":Kd,"hu-HU":Md,"it-IT":zd,"ja-JP":Nd,"ko-KR":Vd,"lt-LT":_d,"lv-LV":jd,"nb-NO":Ld,"nl-NL":Od,"pl-PL":Hd,"pt-BR":Ud,"pt-PT":Wd,"ro-RO":Zd,"ru-RU":Gd,"sk-SK":qd,"sl-SI":Yd,"sr-SP":Jd,"sv-SE":Qd,"tr-TR":Xd,"uk-UA":ec,"zh-CN":tc,"zh-TW":uc};const y6=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),x6=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function C6(e){if(Intl.Locale){let u=new Intl.Locale(e).maximize(),n=typeof u.getTextInfo=="function"?u.getTextInfo():u.textInfo;if(n)return n.direction==="rtl";if(u.script)return y6.has(u.script)}let t=e.split("-")[0];return x6.has(t)}const E6=Symbol.for("react-aria.i18n.locale");function rc(){let e=typeof window<"u"&&window[E6]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:C6(e)?"rtl":"ltr"}}let Ei=rc(),xn=new Set;function Fo(){Ei=rc();for(let e of xn)e(Ei)}function B6(){let e=Ct(),[t,u]=o.useState(Ei);return o.useEffect(()=>(xn.size===0&&window.addEventListener("languagechange",Fo),xn.add(u),()=>{xn.delete(u),xn.size===0&&window.removeEventListener("languagechange",Fo)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const k6=o.createContext(null);function pe(){let e=B6();return o.useContext(k6)||e}const P6=Symbol.for("react-aria.i18n.locale"),S6=Symbol.for("react-aria.i18n.strings");let Ku;class fu{getStringForLocale(t,u){let r=this.getStringsForLocale(u)[t];if(!r)throw new Error(`Could not find intl message ${t} in ${u} locale`);return r}getStringsForLocale(t){let u=this.strings[t];return u||(u=A6(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[P6];if(Ku===void 0){let r=window[S6];if(!r)return null;Ku={};for(let a in r)Ku[a]=new fu({[u]:r[a]},u)}let n=Ku==null?void 0:Ku[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,u="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=u}}function A6(e,t,u="en-US"){if(t[e])return t[e];let n=w6(e);if(t[n])return t[n];for(let r in t)if(r.startsWith(n+"-"))return t[r];return t[u]}function w6(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const To=new Map,Ro=new Map;class ac{format(t,u){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(u,this):n}plural(t,u,n="cardinal"){let r=u["="+t];if(r)return typeof r=="function"?r():r;let a=this.locale+":"+n,i=To.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),To.set(a,i));let l=i.select(t);return r=u[l]||u.other,typeof r=="function"?r():r}number(t){let u=Ro.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),Ro.set(this.locale,u)),u.format(t)}select(t,u){let n=t[u]||t.other;return typeof n=="function"?n():n}constructor(t,u){this.locale=t,this.strings=u}}const Io=new WeakMap;function F6(e){let t=Io.get(e);return t||(t=new fu(e),Io.set(e,t)),t}function ic(e,t){return t&&fu.getGlobalDictionaryForPackage(t)||F6(e)}function ve(e,t){let{locale:u}=pe(),n=ic(e,t);return o.useMemo(()=>new ac(u,n),[u,n])}function Gu(e,t){return e-t*Math.floor(e/t)}const lc=1721426;function Eu(e,t,u,n){t=Qn(e,t);let r=t-1,a=-2;return u<=2?a=0:nu(t)&&(a=-1),lc-1+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*u-362)/12+a+n)}function nu(e){return e%4===0&&(e%100!==0||e%400===0)}function Qn(e,t){return e==="BC"?1-t:t}function $a(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const T6={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Ge{fromJulianDay(t){let u=t,n=u-lc,r=Math.floor(n/146097),a=Gu(n,146097),i=Math.floor(a/36524),l=Gu(a,36524),s=Math.floor(l/1461),d=Gu(l,1461),c=Math.floor(d/365),f=r*400+i*100+s*4+c+(i!==4&&c!==4?1:0),[p,m]=$a(f),b=u-Eu(p,m,1,1),g=2;u<Eu(p,m,3,1)?g=0:nu(m)&&(g=1);let $=Math.floor(((b+g)*12+373)/367),D=u-Eu(p,m,$,1)+1;return new Te(p,m,$,D)}toJulianDay(t){return Eu(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return T6[nu(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return nu(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const R6={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Fe(e,t){return t=De(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function I6(e,t){return t=De(t,e.calendar),e=Au(e),t=Au(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function Bi(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function hl(e,t){return Fe(e,gl(t))}const K6={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function $l(e,t,u){let n=e.calendar.toJulianDay(e),r=u?K6[u]:j6(t),a=Math.ceil(n+1-r)%7;return a<0&&(a+=7),a}function oc(e){return zt(Date.now(),e)}function gl(e){return Oe(oc(e))}function sc(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function dc(e,t){return Ko(e)-Ko(t)}function Ko(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Za=null;function Xn(){return Za==null&&(Za=new Intl.DateTimeFormat().resolvedOptions().timeZone),Za}function Au(e){return e.subtract({days:e.day-1})}function _r(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function M6(e){return Au(e.subtract({months:e.month-1}))}function z6(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function N6(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function _n(e,t,u){let n=$l(e,t,u);return e.subtract({days:n})}function V6(e,t,u){return _n(e,t,u).add({days:6})}const Mo=new Map;function _6(e){if(Intl.Locale){let u=Mo.get(e);return u||(u=new Intl.Locale(e).maximize().region,u&&Mo.set(e,u)),u}let t=e.split("-")[1];return t==="u"?void 0:t}function j6(e){let t=_6(e);return t&&R6[t]||0}function L6(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil(($l(Au(e),t,u)+n)/7)}function Dl(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function vl(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function tn(e){e=De(e,new Ge);let t=Qn(e.era,e.year);return cc(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function cc(e,t,u,n,r,a,i){let l=new Date;return l.setUTCHours(n,r,a,i),l.setUTCFullYear(e,t-1,u),l.getTime()}function ki(e,t){if(t==="UTC")return 0;if(e>0&&t===Xn())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:r,hour:a,minute:i,second:l}=fc(e,t);return cc(u,n,r,a,i,l,0)-Math.floor(e/1e3)*1e3}const zo=new Map;function fc(e,t){let u=zo.get(t);u||(u=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),zo.set(t,u));let n=u.formatToParts(new Date(e)),r={};for(let a of n)a.type!=="literal"&&(r[a.type]=a.value);return{year:r.era==="BC"||r.era==="B"?-r.year+1:+r.year,month:+r.month,day:+r.day,hour:r.hour==="24"?0:+r.hour,minute:+r.minute,second:+r.second}}const No=864e5;function O6(e,t,u,n){return(u===n?[u]:[u,n]).filter(a=>H6(e,t,a))}function H6(e,t,u){let n=fc(u,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function Kt(e,t,u="compatible"){let n=xt(e);if(t==="UTC")return tn(n);if(t===Xn()&&u==="compatible"){n=De(n,new Ge);let s=new Date,d=Qn(n.era,n.year);return s.setFullYear(d,n.month-1,n.day),s.setHours(n.hour,n.minute,n.second,n.millisecond),s.getTime()}let r=tn(n),a=ki(r-No,t),i=ki(r+No,t),l=O6(n,t,r-a,r-i);if(l.length===1)return l[0];if(l.length>1)switch(u){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(u){case"earlier":return Math.min(r-a,r-i);case"compatible":case"later":return Math.max(r-a,r-i);case"reject":throw new RangeError("No such absolute time found")}}function pc(e,t,u="compatible"){return new Date(Kt(e,t,u))}function zt(e,t){let u=ki(e,t),n=new Date(e+u),r=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),d=n.getUTCSeconds(),c=n.getUTCMilliseconds();return new Ln(r<1?"BC":"AD",r<1?-r+1:r,a,i,t,u,l,s,d,c)}function Oe(e){return new Te(e.calendar,e.era,e.year,e.month,e.day)}function xt(e,t){let u=0,n=0,r=0,a=0;if("timeZone"in e)({hour:u,minute:n,second:r,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:u,minute:n,second:r,millisecond:a}=t),new jr(e.calendar,e.era,e.year,e.month,e.day,u,n,r,a)}function De(e,t){if(e.calendar.identifier===t.identifier)return e;let u=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=u.era,n.year=u.year,n.month=u.month,n.day=u.day,wu(n),n}function U6(e,t,u){if(e instanceof Ln)return e.timeZone===t?e:Z6(e,t);let n=Kt(e,t,u);return zt(n,t)}function W6(e){let t=tn(e)-e.offset;return new Date(t)}function Z6(e,t){let u=tn(e)-e.offset;return De(zt(u,t),e.calendar)}const pn=36e5;function ga(e,t){let u=e.copy(),n="hour"in u?$c(u,t):0;Pi(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,Si(u),mc(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,G6(u),u.calendar.balanceDate&&u.calendar.balanceDate(u),u.year<1&&(u.year=1,u.month=1,u.day=1);let r=u.calendar.getYearsInEra(u);if(u.year>r){var a,i;let s=(a=(i=u.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,u);u.year=r,u.month=s?1:u.calendar.getMonthsInYear(u),u.day=s?1:u.calendar.getDaysInMonth(u)}u.month<1&&(u.month=1,u.day=1);let l=u.calendar.getMonthsInYear(u);return u.month>l&&(u.month=l,u.day=u.calendar.getDaysInMonth(u)),u.day=Math.max(1,Math.min(u.calendar.getDaysInMonth(u),u.day)),u}function Pi(e,t){var u,n;!((u=(n=e.calendar).isInverseEra)===null||u===void 0)&&u.call(n,e)&&(t=-t),e.year+=t}function Si(e){for(;e.month<1;)Pi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Pi(e,1)}function G6(e){for(;e.day<1;)e.month--,Si(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Si(e)}function mc(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function wu(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),mc(e)}function yl(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function bc(e,t){return ga(e,yl(t))}function xl(e,t){let u=e.copy();return t.era!=null&&(u.era=t.era),t.year!=null&&(u.year=t.year),t.month!=null&&(u.month=t.month),t.day!=null&&(u.day=t.day),wu(u),u}function jn(e,t){let u=e.copy();return t.hour!=null&&(u.hour=t.hour),t.minute!=null&&(u.minute=t.minute),t.second!=null&&(u.second=t.second),t.millisecond!=null&&(u.millisecond=t.millisecond),hc(u),u}function q6(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=pr(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=pr(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=pr(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=pr(e.hour,24),t}function hc(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function pr(e,t){let u=e%t;return u<0&&(u+=t),u}function $c(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,q6(e)}function gc(e,t){let u=e.copy();return $c(u,t),u}function Y6(e,t){return gc(e,yl(t))}function Cl(e,t,u,n){let r=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=Nt(s,u,0,l.length-1,n==null?void 0:n.round),r.era=l[s],wu(r);break}case"year":var a,i;!((a=(i=r.calendar).isInverseEra)===null||a===void 0)&&a.call(i,r)&&(u=-u),r.year=Nt(e.year,u,-1/0,9999,n==null?void 0:n.round),r.year===-1/0&&(r.year=1),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e);break;case"month":r.month=Nt(e.month,u,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":r.day=Nt(e.day,u,1,e.calendar.getDaysInMonth(e),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(r),wu(r),r}function El(e,t,u,n){let r=e.copy();switch(t){case"hour":{let a=e.hour,i=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=a>=12;i=s?12:0,l=s?23:11}r.hour=Nt(a,u,i,l,n==null?void 0:n.round);break}case"minute":r.minute=Nt(e.minute,u,0,59,n==null?void 0:n.round);break;case"second":r.second=Nt(e.second,u,0,59,n==null?void 0:n.round);break;case"millisecond":r.millisecond=Nt(e.millisecond,u,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return r}function Nt(e,t,u,n,r=!1){if(r){e+=Math.sign(t),e<u&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=u)}else e+=t,e<u?e=n-(u-e-1):e>n&&(e=u+(e-n-1));return e}function Dc(e,t){let u;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let r=ga(xt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=Kt(r,e.timeZone)}else u=tn(e)-e.offset;u+=t.milliseconds||0,u+=(t.seconds||0)*1e3,u+=(t.minutes||0)*6e4,u+=(t.hours||0)*36e5;let n=zt(u,e.timeZone);return De(n,e.calendar)}function J6(e,t){return Dc(e,yl(t))}function Q6(e,t,u,n){switch(t){case"hour":{let r=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;r=b?12:0,a=b?23:11}let i=xt(e),l=De(jn(i,{hour:r}),new Ge),s=[Kt(l,e.timeZone,"earlier"),Kt(l,e.timeZone,"later")].filter(b=>zt(b,e.timeZone).day===l.day)[0],d=De(jn(i,{hour:a}),new Ge),c=[Kt(d,e.timeZone,"earlier"),Kt(d,e.timeZone,"later")].filter(b=>zt(b,e.timeZone).day===d.day).pop(),f=tn(e)-e.offset,p=Math.floor(f/pn),m=f%pn;return f=Nt(p,u,Math.floor(s/pn),Math.floor(c/pn),n==null?void 0:n.round)*pn+m,De(zt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return El(e,t,u,n);case"era":case"year":case"month":case"day":{let r=Cl(xt(e),t,u,n),a=Kt(r,e.timeZone);return De(zt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function X6(e,t,u){let n=xt(e),r=jn(xl(n,t),t);if(r.compare(n)===0)return e;let a=Kt(r,e.timeZone,u);return De(zt(a,e.timeZone),e.calendar)}function vc(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function yc(e){let t=De(e,new Ge),u;return t.era==="BC"?u=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):u=String(t.year).padStart(4,"0"),`${u}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function xc(e){return`${yc(e)}T${vc(e)}`}function eg(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let u=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(u).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function tg(e){return`${xc(e)}${eg(e.offset)}[${e.timeZone}]`}function Bl(e){let t=typeof e[0]=="object"?e.shift():new Ge,u;if(typeof e[0]=="string")u=e.shift();else{let i=t.getEras();u=i[i.length-1]}let n=e.shift(),r=e.shift(),a=e.shift();return[t,u,n,r,a]}var ug=new WeakMap;class Te{copy(){return this.era?new Te(this.calendar,this.era,this.year,this.month,this.day):new Te(this.calendar,this.year,this.month,this.day)}add(t){return ga(this,t)}subtract(t){return bc(this,t)}set(t){return xl(this,t)}cycle(t,u,n){return Cl(this,t,u,n)}toDate(t){return pc(this,t)}toString(){return yc(this)}compare(t){return sc(this,t)}constructor(...t){Jn(this,ug,{writable:!0,value:void 0});let[u,n,r,a,i]=Bl(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,wu(this)}}var ng=new WeakMap;class kl{copy(){return new kl(this.hour,this.minute,this.second,this.millisecond)}add(t){return gc(this,t)}subtract(t){return Y6(this,t)}set(t){return jn(this,t)}cycle(t,u,n){return El(this,t,u,n)}toString(){return vc(this)}compare(t){return dc(this,t)}constructor(t=0,u=0,n=0,r=0){Jn(this,ng,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,hc(this)}}var rg=new WeakMap;class jr{copy(){return this.era?new jr(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new jr(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return ga(this,t)}subtract(t){return bc(this,t)}set(t){return xl(jn(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return Cl(this,t,u,n);default:return El(this,t,u,n)}}toDate(t,u){return pc(this,t,u)}toString(){return xc(this)}compare(t){let u=sc(this,t);return u===0?dc(this,xt(t)):u}constructor(...t){Jn(this,rg,{writable:!0,value:void 0});let[u,n,r,a,i]=Bl(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,wu(this)}}var ag=new WeakMap;class Ln{copy(){return this.era?new Ln(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Ln(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Dc(this,t)}subtract(t){return J6(this,t)}set(t,u){return X6(this,t,u)}cycle(t,u,n){return Q6(this,t,u,n)}toDate(){return W6(this)}toString(){return tg(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-U6(t,this.timeZone).toDate().getTime()}constructor(...t){Jn(this,ag,{writable:!0,value:void 0});let[u,n,r,a,i]=Bl(t),l=t.shift(),s=t.shift();this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,wu(this)}}const qu=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],ig=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],kr=[1867,1911,1925,1988,2018],tu=["meiji","taisho","showa","heisei","reiwa"];function Vo(e){const t=qu.findIndex(([u,n,r])=>e.year<u||e.year===u&&e.month<n||e.year===u&&e.month===n&&e.day<r);return t===-1?qu.length-1:t===0?0:t-1}function Ga(e){let t=kr[tu.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Te(e.year+t,e.month,e.day)}class lg extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=Vo(u);return new Te(this,tu[n],u.year-kr[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(Ga(t))}balanceDate(t){let u=Ga(t),n=Vo(u);tu[n]!==t.era&&(t.era=tu[n],t.year=u.year-kr[n]),this.constrainDate(t)}constrainDate(t){let u=tu.indexOf(t.era),n=ig[u];if(n!=null){let[r,a,i]=n,l=r-kr[u];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&u>=0){let[,r,a]=qu[u];t.month=Math.max(r,t.month),t.month===r&&(t.day=Math.max(a,t.day))}}getEras(){return tu}getYearsInEra(t){let u=tu.indexOf(t.era),n=qu[u],r=qu[u+1];if(r==null)return 9999-n[0]+1;let a=r[0]-n[0];return(t.month<r[1]||t.month===r[1]&&t.day<r[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(Ga(t))}getMinimumMonthInYear(t){let u=_o(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=_o(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function _o(e){if(e.year===1){let t=tu.indexOf(e.era);return qu[t]}}const Cc=-543;class og extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=Qn(u.era,u.year);return new Te(this,n-Cc,u.month,u.day)}toJulianDay(t){return super.toJulianDay(jo(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(jo(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function jo(e){let[t,u]=$a(e.year+Cc);return new Te(t,u,e.month,e.day)}const Lr=1911;function Ec(e){return e.era==="minguo"?e.year+Lr:1-e.year+Lr}function Lo(e){let t=e-Lr;return t>0?["minguo",t]:["before_minguo",1-t]}class sg extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=Qn(u.era,u.year),[r,a]=Lo(n);return new Te(this,r,a,u.month,u.day)}toJulianDay(t){return super.toJulianDay(Oo(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=Lo(Ec(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Oo(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Lr}constructor(...t){super(...t),this.identifier="roc"}}function Oo(e){let[t,u]=$a(Ec(e));return new Te(t,u,e.month,e.day)}const Ho=1948320,Uo=[0,31,62,93,124,155,186,216,246,276,306,336];class dg{fromJulianDay(t){let u=t-Ho,n=1+Math.floor((33*u+3)/12053),r=365*(n-1)+Math.floor((8*n+21)/33),a=u-r,i=a<216?Math.floor(a/31):Math.floor((a-6)/30),l=a-Uo[i]+1;return new Te(this,n,i+1,l)}toJulianDay(t){let u=Ho-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=Uo[t.month-1],u+=t.day,u}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Gu(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const qa=78,Wo=80;class cg extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-qa,r=t-Eu(u.era,u.year,1,1),a;r<Wo?(n--,a=nu(u.year-1)?31:30,r+=a+155+90+10):(a=nu(u.year)?31:30,r-=Wo);let i,l;if(r<a)i=1,l=r+1;else{let s=r-a;s<155?(i=Math.floor(s/31)+2,l=s%31+1):(s-=155,i=Math.floor(s/30)+7,l=s%30+1)}return new Te(this,n,i,l)}toJulianDay(t){let u=t.year+qa,[n,r]=$a(u),a,i;return nu(r)?(a=31,i=Eu(n,r,3,21)):(a=30,i=Eu(n,r,3,22)),t.month===1?i+t.day-1:(i+=a+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&nu(t.year+qa)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Or=1948440,Zo=1948439,nt=1300,Mu=1600,fg=460322;function Hr(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Bc(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),r=Math.min(12,Math.ceil((u-(29+Hr(t,n,1,1)))/29.5)+1),a=u-Hr(t,n,r,1)+1;return new Te(e,n,r,a)}function Go(e){return(14+11*e)%30<11}class Pl{fromJulianDay(t){return Bc(this,Or,t)}toJulianDay(t){return Hr(Or,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&Go(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return Go(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class pg extends Pl{fromJulianDay(t){return Bc(this,Zo,t)}toJulianDay(t){return Hr(Zo,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const mg="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let Ai,Yu;function Pr(e){return fg+Yu[e-nt]}function Cn(e,t){let u=e-nt,n=1<<11-(t-1);return Ai[u]&n?30:29}function qo(e,t){let u=Pr(e);for(let n=1;n<t;n++)u+=Cn(e,n);return u}function Yo(e){return Yu[e+1-nt]-Yu[e-nt]}class bg extends Pl{fromJulianDay(t){let u=t-Or,n=Pr(nt),r=Pr(Mu);if(u<n||u>r)return super.fromJulianDay(t);{let a=nt-1,i=1,l=1;for(;l>0;){a++,l=u-Pr(a)+1;let s=Yo(a);if(l===s){i=12;break}else if(l<s){let d=Cn(a,i);for(i=1;l>d;)l-=d,i++,d=Cn(a,i);break}}return new Te(this,a,i,u-qo(a,i)+1)}}toJulianDay(t){return t.year<nt||t.year>Mu?super.toJulianDay(t):Or+qo(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<nt||t.year>Mu?super.getDaysInMonth(t):Cn(t.year,t.month)}getDaysInYear(t){return t.year<nt||t.year>Mu?super.getDaysInYear(t):Yo(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",Ai||(Ai=new Uint16Array(Uint8Array.from(atob(mg),t=>t.charCodeAt(0)).buffer)),!Yu){Yu=new Uint32Array(Mu-nt+1);let t=0;for(let u=nt;u<=Mu;u++){Yu[u-nt]=t;for(let n=1;n<=12;n++)t+=Cn(u,n)}}}}const Jo=347997,kc=1080,Pc=24*kc,hg=29,$g=12*kc+793,gg=hg*Pc+$g;function Cu(e){return Gu(e*7+1,19)<7}function Sr(e){let t=Math.floor((235*e-234)/19),u=12084+13753*t,n=t*29+Math.floor(u/25920);return Gu(3*(n+1),7)<3&&(n+=1),n}function Dg(e){let t=Sr(e-1),u=Sr(e);return Sr(e+1)-u===356?2:u-t===382?1:0}function Sn(e){return Sr(e)+Dg(e)}function Sc(e){return Sn(e+1)-Sn(e)}function vg(e){let t=Sc(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function mr(e,t){if(t>=6&&!Cu(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=vg(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?Cu(e)?30:0:30}class yg{fromJulianDay(t){let u=t-Jo,n=u*Pc/gg,r=Math.floor((19*n+234)/235)+1,a=Sn(r),i=Math.floor(u-a);for(;i<1;)r--,a=Sn(r),i=Math.floor(u-a);let l=1,s=0;for(;s<i;)s+=mr(r,l),l++;l--,s-=mr(r,l);let d=i-s;return new Te(this,r,l,d)}toJulianDay(t){let u=Sn(t.year);for(let n=1;n<t.month;n++)u+=mr(t.year,n);return u+t.day+Jo}getDaysInMonth(t){return mr(t.year,t.month)}getMonthsInYear(t){return Cu(t.year)?13:12}getDaysInYear(t){return Sc(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&(Cu(u.year)&&!Cu(t.year)&&u.month>6?t.month--:!Cu(u.year)&&Cu(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const wi=1723856,Qo=1824665,Fi=5500;function Ur(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function Sl(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Ur(e,u,1,1))/30),r=t+1-Ur(e,u,n,1);return[u,n,r]}function Ac(e){return Math.floor(e%4/3)}function wc(e,t){return t%13!==0?30:Ac(e)+5}class Al{fromJulianDay(t){let[u,n,r]=Sl(wi,t),a="AM";return u<=0&&(a="AA",u+=Fi),new Te(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=Fi),Ur(wi,u,t.month,t.day)}getDaysInMonth(t){return wc(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Ac(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class xg extends Al{fromJulianDay(t){let[u,n,r]=Sl(wi,t);return u+=Fi,new Te(this,"AA",u,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class Cg extends Al{fromJulianDay(t){let[u,n,r]=Sl(Qo,t),a="CE";return u<=0&&(a="BCE",u=1-u),new Te(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Ur(Qo,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),wc(u,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function Da(e){switch(e){case"buddhist":return new og;case"ethiopic":return new Al;case"ethioaa":return new xg;case"coptic":return new Cg;case"hebrew":return new yg;case"indian":return new cg;case"islamic-civil":return new Pl;case"islamic-tbla":return new pg;case"islamic-umalqura":return new bg;case"japanese":return new lg;case"persian":return new dg;case"roc":return new sg;case"gregory":default:return new Ge}}let Ya=new Map;class it{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,u){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(u)}`}formatRangeToParts(t,u){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),r=this.formatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return kg()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Pg(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,u={}){this.formatter=Fc(t,u),this.options=u}}const Eg={true:{ja:"h11"},false:{}};function Fc(e,t={}){if(typeof t.hour12=="boolean"&&Bg()){t={...t};let r=Eg[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=r??a,delete t.hour12}let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Ya.has(u))return Ya.get(u);let n=new Intl.DateTimeFormat(e,t);return Ya.set(u,n),n}let Ja=null;function Bg(){return Ja==null&&(Ja=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Ja}let Qa=null;function kg(){return Qa==null&&(Qa=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Qa}function Pg(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let u=Fc(e,{...t,timeZone:void 0}),n=parseInt(u.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),r=parseInt(u.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&r===23)return"h23";if(n===24&&r===23)return"h24";if(n===0&&r===11)return"h11";if(n===12&&r===11)return"h12";throw new Error("Unexpected hour cycle result")}function $t(e){e=id(e??{},Sg);let{locale:t}=pe();return o.useMemo(()=>new it(t,e),[t,e])}function Sg(e,t){if(e===t)return!0;let u=Object.keys(e),n=Object.keys(t);if(u.length!==n.length)return!1;for(let r of u)if(t[r]!==e[r])return!1;return!0}let Xa=new Map,Ti=!1;try{Ti=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Wr=!1;try{Wr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Tc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Rc{format(t){let u="";if(!Ti&&this.options.signDisplay!=null?u=wg(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!Wr){var n;let{unit:r,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!r)return u;let l=(n=Tc[r])===null||n===void 0?void 0:n[a];u+=l[i]||l.default}return u}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,u){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(u)}`}formatRangeToParts(t,u){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),r=this.numberFormatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Ti&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Wr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=Ag(t,u),this.options=u}}function Ag(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!Wr){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Tc[i])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let r=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(Xa.has(r))return Xa.get(r);let a=new Intl.NumberFormat(e,t);return Xa.set(r,a),a}function wg(e,t,u){if(t==="auto")return e.format(u);if(t==="never")return e.format(Math.abs(u));{let n=!1;if(t==="always"?n=u>0||Object.is(u,0):t==="exceptZero"&&(Object.is(u,-0)||Object.is(u,0)?u=Math.abs(u):n=u>0),n){let r=e.format(-u),a=e.format(u),i=r.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(u)}}const Fg=new RegExp("^.*\\(.*\\).*$"),Tg=["latn","arab","hanidec","deva","beng"];class Ic{parse(t){return ei(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return ei(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return ei(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const Xo=new Map;function ei(e,t,u){let n=es(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let r of Tg)if(r!==n.options.numberingSystem){let a=es(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(a.isValidPartialNumber(u))return a}}return n}function es(e,t){let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():""),n=Xo.get(u);return n||(n=new Rg(e,t),Xo.set(u,n)),n}class Rg{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=br(u,this.symbols.group,"")),this.symbols.decimal&&(u=u.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(u=u.replace(this.symbols.minusSign,"-")),u=u.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let i=u.indexOf("-");u=u.replace("-","");let l=u.indexOf(".");l===-1&&(l=u.length),u=u.replace(".",""),l-2===0?u=`0.${u}`:l-2===-1?u=`0.0${u}`:l-2===-2?u="0.00":u=`${u.slice(0,l-2)}.${u.slice(l-2)}`,i>-1&&(u=`-${u}`)}let n=u?+u:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){var r,a;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new Ic(this.locale,i).parse(new Rc(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&Fg.test(t)&&(n=-1*n),n}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=br(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=br(t,"."," ")),t}isValidPartialNumber(t,u=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&u<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=br(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,u={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,u),this.options=this.formatter.resolvedOptions(),this.symbols=Kg(t,this.formatter,this.options,u);var n,r;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((r=this.options.maximumFractionDigits)!==null&&r!==void 0?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const ts=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Ig=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Kg(e,t,u,n){var r,a,i,l;let s=new Intl.NumberFormat(e,{...u,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),d=s.formatToParts(-10000.111),c=s.formatToParts(10000.111),f=Ig.map(S=>s.formatToParts(S));var p;let m=(p=(r=d.find(S=>S.type==="minusSign"))===null||r===void 0?void 0:r.value)!==null&&p!==void 0?p:"-",b=(a=c.find(S=>S.type==="plusSign"))===null||a===void 0?void 0:a.value;!b&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(b="+");let $=(i=new Intl.NumberFormat(e,{...u,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(S=>S.type==="decimal"))===null||i===void 0?void 0:i.value,D=(l=d.find(S=>S.type==="group"))===null||l===void 0?void 0:l.value,y=d.filter(S=>!ts.has(S.type)).map(S=>us(S.value)),x=f.flatMap(S=>S.filter(k=>!ts.has(k.type)).map(k=>us(k.value))),C=[...new Set([...y,...x])].sort((S,k)=>k.length-S.length),B=C.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),P=[...new Intl.NumberFormat(u.locale,{useGrouping:!1}).format(9876543210)].reverse(),T=new Map(P.map((S,k)=>[S,k])),v=new RegExp(`[${P.join("")}]`,"g");return{minusSign:m,plusSign:b,decimal:$,group:D,literals:B,numeral:v,index:S=>String(T.get(S))}}function br(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function us(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Mg(e={}){let{locale:t}=pe();return o.useMemo(()=>new Rc(t,e),[t,e])}let ti=new Map;function rn(e){let{locale:t}=pe(),u=t+(e?Object.entries(e).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(ti.has(u))return ti.get(u);let n=new Intl.Collator(t,e);return ti.set(u,n),n}function Kc(e){let t=rn({usage:"search",...e}),u=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),r=o.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=a.length;l++){let d=a.slice(l,l+s);if(t.compare(i,d)===0)return!0}return!1},[t]);return o.useMemo(()=>({startsWith:u,endsWith:n,contains:r}),[u,n,r])}function zg(e){return e&&e.__esModule?e.default:e}function Ng(e){let{"aria-label":t,...u}=e,n=ve(zg(nc),"@react-aria/breadcrumbs");return{navProps:{...H(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function wl(e,t){let{elementType:u="button",isDisabled:n,onPress:r,onPressStart:a,onPressEnd:i,onPressUp:l,onPressChange:s,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:m,rel:b,type:g="button"}=e,$;u==="button"?$={type:g,disabled:n}:$={role:"button",href:u==="a"&&!n?p:void 0,target:u==="a"?m:void 0,type:u==="input"?g:void 0,disabled:u==="input"?n:void 0,"aria-disabled":!n||u==="input"?void 0:n,rel:u==="a"?b:void 0};let{pressProps:D,isPressed:y}=Je({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:r,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:x}=Gt(e,t);c&&(x.tabIndex=n?-1:x.tabIndex);let C=_(x,D,H(e,{labelable:!0}));return{isPressed:y,buttonProps:_($,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"],onClick:B=>{f&&(f(B),console.warn("onClick is deprecated, please use onPress"))}})}}function Vg(e){const t=Ye(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:u,visibility:n}=e.style,r=u!=="none"&&n!=="hidden"&&n!=="collapse";if(r){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:l}=a(e);r=i!=="none"&&l!=="hidden"&&l!=="collapse"}return r}function _g(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Mc(e,t){return e.nodeName!=="#comment"&&Vg(e)&&_g(e,t)&&(!e.parentElement||Mc(e.parentElement,e))}const ns=o.createContext(null),Ri="react-aria-focus-scope-restore";let be=null;function an(e){let{children:t,contain:u,restoreFocus:n,autoFocus:r}=e,a=o.useRef(null),i=o.useRef(null),l=o.useRef([]),{parentNode:s}=o.useContext(ns)||{},d=o.useMemo(()=>new Ki({scopeRef:l}),[l]);Y(()=>{let p=s||Ae.root;if(Ae.getTreeNode(p.scopeRef)&&be&&!Zr(be,p.scopeRef)){let m=Ae.getTreeNode(be);m&&(p=m)}p.addChild(d),Ae.addNode(d)},[d,s]),Y(()=>{let p=Ae.getTreeNode(l);p&&(p.contain=!!u)},[u]),Y(()=>{var p;let m=(p=a.current)===null||p===void 0?void 0:p.nextSibling,b=[],g=$=>$.stopPropagation();for(;m&&m!==i.current;)b.push(m),m.addEventListener(Ri,g),m=m.nextSibling;return l.current=b,()=>{for(let $ of b)$.removeEventListener(Ri,g)}},[t]),Ug(l,n,u),Lg(l,u),Wg(l,n,u),Hg(l,r),o.useEffect(()=>{const p=Ke(oe(l.current?l.current[0]:void 0));let m=null;if(st(p,l.current)){for(let b of Ae.traverse())b.scopeRef&&st(p,b.scopeRef.current)&&(m=b);m===Ae.getTreeNode(l)&&(be=m.scopeRef)}},[l]),Y(()=>()=>{var p,m,b;let g=(b=(m=Ae.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&b!==void 0?b:null;(l===be||Zr(l,be))&&(!g||Ae.getTreeNode(g))&&(be=g),Ae.removeTreeNode(l)},[l]);let c=o.useMemo(()=>jg(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(ns.Provider,{value:f},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function jg(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t;var l;let s=n||Ke(oe((l=u[0])!==null&&l!==void 0?l:void 0)),d=u[0].previousElementSibling,c=Bu(u),f=ke(c,{tabbable:r,accept:i},u);f.currentNode=st(s,u)?s:d;let p=f.nextNode();return!p&&a&&(f.currentNode=d,p=f.nextNode()),p&&We(p,!0),p},focusPrevious(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t;var l;let s=n||Ke(oe((l=u[0])!==null&&l!==void 0?l:void 0)),d=u[u.length-1].nextElementSibling,c=Bu(u),f=ke(c,{tabbable:r,accept:i},u);f.currentNode=st(s,u)?s:d;let p=f.previousNode();return!p&&a&&(f.currentNode=d,p=f.previousNode()),p&&We(p,!0),p},focusFirst(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=Bu(u),i=ke(a,{tabbable:n,accept:r},u);i.currentNode=u[0].previousElementSibling;let l=i.nextNode();return l&&We(l,!0),l},focusLast(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=Bu(u),i=ke(a,{tabbable:n,accept:r},u);i.currentNode=u[u.length-1].nextElementSibling;let l=i.previousNode();return l&&We(l,!0),l}}}function Bu(e){return e[0].parentElement}function En(e){let t=Ae.getTreeNode(be);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Lg(e,t){let u=o.useRef(void 0),n=o.useRef(void 0);Y(()=>{let r=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=oe(r?r[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!En(e)||d.isComposing)return;let c=Ke(a),f=e.current;if(!f||!st(c,f))return;let p=Bu(f),m=ke(p,{tabbable:!0},f);if(!c)return;m.currentNode=c;let b=d.shiftKey?m.previousNode():m.nextNode();b||(m.currentNode=d.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,b=d.shiftKey?m.previousNode():m.nextNode()),d.preventDefault(),b&&We(b,!0)},l=d=>{(!be||Zr(be,e))&&st(de(d),e.current)?(be=e,u.current=de(d)):En(e)&&!ru(de(d),e)?u.current?u.current.focus():be&&be.current&&Ii(be.current):En(e)&&(u.current=de(d))},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=_t(),f=(c==="virtual"||c===null)&&Fn()&&Xs(),p=Ke(a);if(!f&&p&&En(e)&&!ru(p,e)){be=e;let b=de(d);if(b&&b.isConnected){var m;u.current=b,(m=u.current)===null||m===void 0||m.focus()}else be.current&&Ii(be.current)}})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",l,!1),r==null||r.forEach(d=>d.addEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.addEventListener("focusout",s,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",l,!1),r==null||r.forEach(d=>d.removeEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.removeEventListener("focusout",s,!1))}},[e,t]),Y(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function zc(e){return ru(e)}function st(e,t){return!e||!t?!1:t.some(u=>u.contains(e))}function ru(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:u}of Ae.traverse(Ae.getTreeNode(t)))if(u&&st(e,u.current))return!0;return!1}function Og(e){return ru(e,be)}function Zr(e,t){var u;let n=(u=Ae.getTreeNode(t))===null||u===void 0?void 0:u.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function We(e,t=!1){if(e!=null&&!t)try{xe(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Nc(e,t=!0){let u=e[0].previousElementSibling,n=Bu(e),r=ke(n,{tabbable:t},e);r.currentNode=u;let a=r.nextNode();return t&&!a&&(n=Bu(e),r=ke(n,{tabbable:!1},e),r.currentNode=u,a=r.nextNode()),a}function Ii(e,t=!0){We(Nc(e,t))}function Hg(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){be=e;const n=oe(e.current?e.current[0]:void 0);!st(Ke(n),be.current)&&e.current&&Ii(e.current)}u.current=!1},[e])}function Ug(e,t,u){Y(()=>{if(t||u)return;let n=e.current;const r=oe(n?n[0]:void 0);let a=i=>{let l=de(i);st(l,e.current)?be=e:zc(l)||(be=null)};return r.addEventListener("focusin",a,!1),n==null||n.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{r.removeEventListener("focusin",a,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,u])}function rs(e){let t=Ae.getTreeNode(be);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Wg(e,t,u){const n=o.useRef(typeof document<"u"?Ke(oe(e.current?e.current[0]:void 0)):null);Y(()=>{let r=e.current;const a=oe(r?r[0]:void 0);if(!t||u)return;let i=()=>{(!be||Zr(be,e))&&st(Ke(a),e.current)&&(be=e)};return a.addEventListener("focusin",i,!1),r==null||r.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),r==null||r.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,u]),Y(()=>{const r=oe(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!En(e)||i.isComposing)return;let l=r.activeElement;if(!ru(l,e)||!rs(e))return;let s=Ae.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=ke(r.body,{tabbable:!0});c.currentNode=l;let f=i.shiftKey?c.previousNode():c.nextNode();if((!d||!d.isConnected||d===r.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!ru(f,e))&&d){c.currentNode=d;do f=i.shiftKey?c.previousNode():c.nextNode();while(ru(f,e));i.preventDefault(),i.stopPropagation(),f?We(f,!0):zc(d)?We(d,!0):l.blur()}};return u||r.addEventListener("keydown",a,!0),()=>{u||r.removeEventListener("keydown",a,!0)}},[e,t,u]),Y(()=>{const r=oe(e.current?e.current[0]:void 0);if(!t)return;let a=Ae.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=Ae.getTreeNode(e);if(!l)return;let s=l.nodeToRestore,d=Ke(r);if(t&&s&&(d&&ru(d,e)||d===r.body&&rs(e))){let c=Ae.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let f=c.getTreeNode(e);for(;f;){if(f.nodeToRestore&&f.nodeToRestore.isConnected){as(f.nodeToRestore);return}f=f.parent}for(f=c.getTreeNode(e);f;){if(f.scopeRef&&f.scopeRef.current&&Ae.getTreeNode(f.scopeRef)){let p=Nc(f.scopeRef.current,!0);as(p);return}f=f.parent}}})}}}},[e,t])}function as(e){e.dispatchEvent(new CustomEvent(Ri,{bubbles:!0,cancelable:!0}))&&We(e)}function ke(e,t,u){let n=t!=null&&t.tabbable?j2:sl,r=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,a=oe(r),i=v2(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var s;return!(t==null||(s=t.from)===null||s===void 0)&&s.contains(l)?NodeFilter.FILTER_REJECT:n(l)&&Mc(l)&&(!u||st(l,u))&&(!(t!=null&&t.accept)||t.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(i.currentNode=t.from),i}function va(e,t={}){return{focusNext(u={}){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||Ke(oe(n)),d=ke(n,{tabbable:a,accept:l});n.contains(s)&&(d.currentNode=s);let c=d.nextNode();return!c&&i&&(d.currentNode=n,c=d.nextNode()),c&&We(c,!0),c},focusPrevious(u=t){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||Ke(oe(n)),d=ke(n,{tabbable:a,accept:l});if(n.contains(s))d.currentNode=s;else{let f=ui(d);return f&&We(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=ui(d);if(!f)return null;c=f}return c&&We(c,!0),c??null},focusFirst(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,l=ke(n,{tabbable:r,accept:a}).nextNode();return l&&We(l,!0),l},focusLast(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,i=ke(n,{tabbable:r,accept:a}),l=ui(i);return l&&We(l,!0),l??null}}}function ui(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Fl{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,u,n){let r=this.fastMap.get(u??null);if(!r)return;let a=new Ki({scopeRef:t});r.addChild(a),a.parent=r,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let u=this.fastMap.get(t);if(!u)return;let n=u.parent;for(let a of this.traverse())a!==u&&u.nodeToRestore&&a.nodeToRestore&&u.scopeRef&&u.scopeRef.current&&st(a.nodeToRestore,u.scopeRef.current)&&(a.nodeToRestore=u.nodeToRestore);let r=u.children;n&&(n.removeChild(u),r.size>0&&r.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(u.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let u of t.children)yield*this.traverse(u)}clone(){var t;let u=new Fl;var n;for(let r of this.traverse())u.addTreeNode(r.scopeRef,(n=(t=r.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,r.nodeToRestore);return u}constructor(){this.fastMap=new Map,this.root=new Ki({scopeRef:null}),this.fastMap.set(null,this.root)}}class Ki{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Ae=new Fl;function he(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,r=o.useRef({isFocused:!1,isFocusVisible:t||Ht()}),[a,i]=o.useState(!1),[l,s]=o.useState(()=>r.current.isFocused&&r.current.isFocusVisible),d=o.useCallback(()=>s(r.current.isFocused&&r.current.isFocusVisible),[]),c=o.useCallback(m=>{r.current.isFocused=m,i(m),d()},[d]);i6(m=>{r.current.isFocusVisible=m,d()},[],{isTextInput:u});let{focusProps:f}=ha({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=pt({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:l,focusProps:n?p:f}}function is(e){let{children:t,focusClass:u,focusRingClass:n}=e,{isFocused:r,isFocusVisible:a,focusProps:i}=he(e),l=o.Children.only(t);return o.cloneElement(l,_(l.props,{...i,className:W({[u||""]:r,[n||""]:a})}))}function Tl(e,t){let u=t==null?void 0:t.isDisabled,[n,r]=o.useState(!1);return Y(()=>{if(e!=null&&e.current&&!u){let a=()=>{if(e.current){let l=ke(e.current,{tabbable:!0});r(!!l.nextNode())}};a();let i=new MutationObserver(a);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),u?!1:n}function Vc(e){let t=Gg(oe(e));t!==e&&(t&&Zg(t,e),e&&_c(e,t))}function Zg(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function _c(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function Gg(e){let t=Ke(e),u=t==null?void 0:t.getAttribute("aria-activedescendant");return u&&e.getElementById(u)||t}var jc={};jc={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var Lc={};Lc={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var Oc={};Oc={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var Hc={};Hc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Uc={};Uc={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var Wc={};Wc={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var Zc={};Zc={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var Gc={};Gc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var qc={};qc={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var Yc={};Yc={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var Jc={};Jc={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var Qc={};Qc={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var Xc={};Xc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var e4={};e4={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var t4={};t4={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var u4={};u4={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var n4={};n4={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var r4={};r4={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var a4={};a4={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var i4={};i4={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var l4={};l4={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var o4={};o4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var s4={};s4={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var d4={};d4={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var c4={};c4={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var f4={};f4={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var p4={};p4={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var m4={};m4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var b4={};b4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var h4={};h4={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var $4={};$4={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var g4={};g4={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var D4={};D4={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var v4={};v4={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var er={};er={"ar-AE":jc,"bg-BG":Lc,"cs-CZ":Oc,"da-DK":Hc,"de-DE":Uc,"el-GR":Wc,"en-US":Zc,"es-ES":Gc,"et-EE":qc,"fi-FI":Yc,"fr-FR":Jc,"he-IL":Qc,"hr-HR":Xc,"hu-HU":e4,"it-IT":t4,"ja-JP":u4,"ko-KR":n4,"lt-LT":r4,"lv-LV":a4,"nb-NO":i4,"nl-NL":l4,"pl-PL":o4,"pt-BR":s4,"pt-PT":d4,"ro-RO":c4,"ru-RU":f4,"sk-SK":p4,"sl-SI":m4,"sr-SP":b4,"sv-SE":h4,"tr-TR":$4,"uk-UA":g4,"zh-CN":D4,"zh-TW":v4};function y4(e){return e&&e.__esModule?e.default:e}const Rl=new WeakMap;function On(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function qg(e){let t=ve(y4(er),"@react-aria/calendar"),u,n;var r;"highlightedRange"in e?{start:u,end:n}=e.highlightedRange||{}:u=n=(r=e.value)!==null&&r!==void 0?r:void 0;let a=$t({weekday:"long",month:"long",year:"numeric",day:"numeric",era:On(u)||On(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!i&&u&&n)if(Fe(u,n)){let l=a.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=zi(a,t,u,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}return""},[u,n,i,e.timeZone,t,a])}function Mi(e,t,u,n){let r=ve(y4(er),"@react-aria/calendar"),a=On(e)||On(t),i=$t({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u}),l=$t({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(Fe(e,Au(e))){if(Fe(t,_r(e)))return i.format(e.toDate(u));if(Fe(t,_r(t)))return n?zi(i,r,e,t,u):i.formatRange(e.toDate(u),t.toDate(u))}return n?zi(l,r,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,i,l,r,u,n])}function zi(e,t,u,n,r){let a=e.formatRangeToParts(u.toDate(r),n.toDate(r)),i=-1;for(let d=0;d<a.length;d++){let c=a[d];if(c.source==="shared"&&c.type==="literal")i=d;else if(c.source==="endRange")break}let l="",s="";for(let d=0;d<a.length;d++)d<i?l+=a[d].value:d>i&&(s+=a[d].value);return t.format("dateRange",{startDate:l,endDate:s})}const x4=7e3;let et=null;function Dt(e,t="assertive",u=x4){et?et.announce(e,t,u):(et=new Jg,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?et.announce(e,t,u):setTimeout(()=>{et!=null&&et.isAttached()&&(et==null||et.announce(e,t,u))},100))}function Yg(e){et&&et.clear(e)}class Jg{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let u=document.createElement("div");return u.setAttribute("role","log"),u.setAttribute("aria-live",t),u.setAttribute("aria-relevant","additions"),u}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,u="assertive",n=x4){var r,a;if(!this.node)return;let i=document.createElement("div");typeof t=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",t["aria-labelledby"])):i.textContent=t,u==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(i):(a=this.politeLog)===null||a===void 0||a.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}function Qg(e){return e&&e.__esModule?e.default:e}function C4(e,t){let u=ve(Qg(er),"@react-aria/calendar"),n=H(e),r=Mi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=Mi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Tn(()=>{t.isFocused||Dt(a)},[a]);let i=qg(t);Tn(()=>{i&&Dt(i,"polite",4e3)},[i]);let l=lt([!!e.errorMessage,e.isInvalid,e.validationState]);Rl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,d]=o.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&s&&(d(!1),t.setFocused(!0));let[f,p]=o.useState(!1),m=e.isDisabled||t.isPreviousVisibleRangeInvalid();m&&f&&(p(!1),t.setFocused(!0));let b=yt({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:_(n,b,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":u.format("next"),isDisabled:c,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":u.format("previous"),isDisabled:m,onFocusChange:p},errorMessageProps:{id:l},title:r}}function Xg(e,t){return C4(e,t)}function eD(e,t,u){let n=C4(e,t),r=o.useRef(!1),a=o.useRef(typeof window<"u"?window:null);return ct(a,"pointerdown",l=>{r.current=l.width===0&&l.height===0}),ct(a,"pointerup",l=>{if(r.current){r.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target;u.current&&u.current.contains(document.activeElement)&&(!u.current.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{u.current&&(!l.relatedTarget||!u.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},ct(u,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function tD(e,t){let{startDate:u=t.visibleRange.start,endDate:n=t.visibleRange.end,firstDayOfWeek:r}=e,{direction:a}=pe(),i=b=>{switch(b.key){case"Enter":case" ":b.preventDefault(),t.selectFocusedDate();break;case"PageUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousSection(b.shiftKey);break;case"PageDown":b.preventDefault(),b.stopPropagation(),t.focusNextSection(b.shiftKey);break;case"End":b.preventDefault(),b.stopPropagation(),t.focusSectionEnd();break;case"Home":b.preventDefault(),b.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":b.preventDefault(),b.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(b.preventDefault(),t.setAnchorDate(null));break}},l=Mi(u,n,t.timeZone,!0),{ariaLabel:s,ariaLabelledBy:d}=Rl.get(t),c=yt({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=$t({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=pe(),m=o.useMemo(()=>{let b=_n(gl(t.timeZone),p,r);return[...new Array(7).keys()].map(g=>{let D=b.add({days:g}).toDate(t.timeZone);return f.format(D)})},[p,t.timeZone,f,r]);return{gridProps:_(c,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:i,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:m}}function uD(e){return e&&e.__esModule?e.default:e}function nD(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:a,selectedDateDescription:i}=Rl.get(t),l=ve(uD(er),"@react-aria/calendar"),s=$t({weekday:"long",day:"numeric",month:"long",year:"numeric",era:On(n),timeZone:t.timeZone}),d=t.isSelected(n),c=t.isCellFocused(n);r=r||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!r&&!f,m=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&Fe(t.value,n));m&&(d=!0),n=id(n,Bi);let b=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),g=hl(n,t.timeZone),$=o.useMemo(()=>{let k="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Fe(n,t.value.start)||Fe(n,t.value.end))&&(k=i+", "),k+=s.format(b),g?k=l.format(d?"todayDateSelected":"todayDate",{date:k}):d&&(k=l.format("dateSelected",{date:k})),t.minValue&&Fe(n,t.minValue)?k+=", "+l.format("minimumDate"):t.maxValue&&Fe(n,t.maxValue)&&(k+=", "+l.format("maximumDate")),k},[s,b,l,d,g,n,t,i]),D="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?D=l.format("finishRangeSelectionPrompt"):D=l.format("startRangeSelectionPrompt"));let y=Et(D),x=o.useRef(!1),C=o.useRef(!1),B=o.useRef(void 0),{pressProps:P,isPressed:T}=Je({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(k){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(k.pointerType==="mouse"||k.pointerType==="touch")){if(t.highlightedRange&&!m){if(Fe(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}else if(Fe(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}}let M=()=>{t.setDragging(!0),B.current=void 0,t.selectDate(n),t.setFocusedDate(n),x.current=!0};k.pointerType==="touch"?B.current=setTimeout(M,200):M()}},onPressEnd(){C.current=!1,x.current=!1,clearTimeout(B.current),B.current=void 0},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(k){if(!t.isReadOnly&&("anchorDate"in t&&B.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(C.current)t.setAnchorDate(n);else if(t.anchorDate&&!x.current)t.selectDate(n),t.setFocusedDate(n);else if(k.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let M=n.add({days:1});t.isInvalid(M)&&(M=n.subtract({days:1})),t.isInvalid(M)||t.setFocusedDate(M)}else k.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),v;r||(v=Fe(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(_e(u.current),_t()!=="pointer"&&document.activeElement===u.current&&Ve(u.current,{containingElement:Ne(u.current)}))},[c,u]);let F=$t({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),S=o.useMemo(()=>F.formatToParts(b).find(k=>k.type==="day").value,[F,b]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":m||void 0},buttonProps:_(P,{onFocus(){r||t.setFocusedDate(n)},tabIndex:v,role:"button","aria-disabled":!p||void 0,"aria-label":$,"aria-invalid":m||void 0,"aria-describedby":[m?a:void 0,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(k){"highlightDate"in t&&(k.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(k){"releasePointerCapture"in k.target&&k.target.releasePointerCapture(k.pointerId)},onContextMenu(k){k.preventDefault()}}),isPressed:T,isFocused:c,isSelected:d,isDisabled:r,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:m,formattedDate:S}}const ya={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},E4={...ya,customError:!0,valid:!1},uu={isInvalid:!1,validationDetails:ya,validationErrors:[]},rD=o.createContext({}),ou="__formValidationState"+Date.now();function kt(e){if(e[ou]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}=e[ou];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}}return aD(e)}function aD(e){let{isInvalid:t,validationState:u,name:n,value:r,builtinValidation:a,validate:i,validationBehavior:l="aria"}=e;u&&(t||(t=u==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:E4}:null,d=o.useMemo(()=>{if(!i||r==null)return null;let S=iD(i,r);return ls(S)},[i,r]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=o.useContext(rD),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(S=>Ni(c[S])):Ni(c[n]):[],[c,n]),[p,m]=o.useState(c),[b,g]=o.useState(!1);c!==p&&(m(c),g(!1));let $=o.useMemo(()=>ls(b?[]:f),[b,f]),D=o.useRef(uu),[y,x]=o.useState(uu),C=o.useRef(uu),B=()=>{if(!P)return;T(!1);let S=d||a||D.current;ni(S,C.current)||(C.current=S,x(S))},[P,T]=o.useState(!1);return o.useEffect(B),{realtimeValidation:s||$||d||a||uu,displayValidation:l==="native"?s||$||y:s||$||d||a||y,updateValidation(S){l==="aria"&&!ni(y,S)?x(S):D.current=S},resetValidation(){let S=uu;ni(S,C.current)||(C.current=S,x(S)),l==="native"&&T(!1),g(!0)},commitValidation(){l==="native"&&T(!0),g(!0)}}}function Ni(e){return e?Array.isArray(e)?e:[e]:[]}function iD(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return Ni(u)}return[]}function ls(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:E4}:null}function ni(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((u,n)=>u===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([u,n])=>t.validationDetails[u]===n)}function Hn(...e){let t=new Set,u=!1,n={...ya};for(let i of e){var r,a;for(let l of i.validationErrors)t.add(l);u||(u=i.isInvalid);for(let l in n)(r=n)[a=l]||(r[a]=i.validationDetails[l])}return n.valid=!u,{isInvalid:u,validationErrors:[...t],validationDetails:n}}function tr(e,t,u){let{validationBehavior:n,focus:r}=e;Y(()=>{if(n==="native"&&(u!=null&&u.current)&&!u.current.disabled){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";u.current.setCustomValidity(s),u.current.hasAttribute("title")||(u.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(oD(u.current))}});let a=le(()=>{t.resetValidation()}),i=le(s=>{var d;t.displayValidation.isInvalid||t.commitValidation();let c=u==null||(d=u.current)===null||d===void 0?void 0:d.form;if(!s.defaultPrevented&&u&&c&&sD(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),$d("keyboard")}s.preventDefault()}),l=le(()=>{t.commitValidation()});o.useEffect(()=>{let s=u==null?void 0:u.current;if(!s)return;let d=s.form;return s.addEventListener("invalid",i),s.addEventListener("change",l),d==null||d.addEventListener("reset",a),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),d==null||d.removeEventListener("reset",a)}},[u,i,l,a,n])}function lD(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function oD(e){return{isInvalid:!e.validity.valid,validationDetails:lD(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function sD(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function dD(e,t,u){let{isDisabled:n=!1,isReadOnly:r=!1,value:a,name:i,children:l,"aria-label":s,"aria-labelledby":d,validationState:c="valid",isInvalid:f}=e,p=P=>{P.stopPropagation(),t.setSelected(P.target.checked)},m=l!=null,b=s!=null||d!=null;!m&&!b&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:$}=Je({isDisabled:n}),{pressProps:D,isPressed:y}=Je({onPress(){var P;t.toggle(),(P=u.current)===null||P===void 0||P.focus()},isDisabled:n||r}),{focusableProps:x}=Gt(e,u),C=_(g,x),B=H(e,{labelable:!0});return qn(u,t.isSelected,t.setSelected),{labelProps:_(D,{onClick:P=>P.preventDefault()}),inputProps:_(B,{"aria-invalid":f||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":r||void 0,onChange:p,disabled:n,...a==null?{}:{value:a},name:i,type:"checkbox",...C}),isSelected:t.isSelected,isPressed:$||y,isDisabled:n,isReadOnly:r,isInvalid:f||c==="invalid"}}function B4(e,t,u){let n=kt({...e,value:t.isSelected}),{isInvalid:r,validationErrors:a,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=dD({...e,isInvalid:r},t,u);tr(e,n,u);let{isIndeterminate:m,isRequired:b,validationBehavior:g="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!m)});let{pressProps:$}=Je({isDisabled:f||p,onPress(){let{[ou]:D}=e,{commitValidation:y}=D||n;y()}});return{labelProps:_(l,$),inputProps:{...s,checked:d,"aria-required":b&&g==="aria"||void 0,required:b&&g==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:r,validationErrors:a,validationDetails:i}}const k4=new WeakMap;function Il(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":r,labelElementType:a="label"}=e;t=ue(t);let i=ue(),l={};u?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:a==="label"?t:void 0}):!n&&!r&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=yt({id:t,"aria-label":r,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function pu(e){let{description:t,errorMessage:u,isInvalid:n,validationState:r}=e,{labelProps:a,fieldProps:i}=Il(e),l=lt([!!t,!!u,n,r]),s=lt([!!t,!!u,n,r]);return i=_(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function cD(e,t){let{isDisabled:u,name:n,validationBehavior:r="aria"}=e,{isInvalid:a,validationErrors:i,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:d,descriptionProps:c,errorMessageProps:f}=pu({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||i});k4.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:r});let p=H(e,{labelable:!0}),{focusWithinProps:m}=pt({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:_(p,{role:"group","aria-disabled":u||void 0,...d,...m}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:a,validationErrors:i,validationDetails:l}}function P4(e={}){let{isReadOnly:t}=e,[u,n]=Me(e.isSelected,e.defaultSelected||!1,e.onChange);function r(i){t||n(i)}function a(){t||n(!u)}return{isSelected:u,setSelected:r,toggle:a}}function fD(e,t,u){const n=P4({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange($){$?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange($)}});let{name:r,descriptionId:a,errorMessageId:i,validationBehavior:l}=k4.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=kt({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=o.useRef(uu),f=()=>{t.setInvalid(e.value,d.isInvalid?d:c.current)};o.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:d,m=l==="native"?t.displayValidation:p;var b;let g=B4({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||r,isRequired:(b=e.isRequired)!==null&&b!==void 0?b:t.isRequired,validationBehavior:l,[ou]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation($){c.current=$,f()}}},n,u);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}const os={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 ur(e={}){let{style:t,isFocusable:u}=e,[n,r]=o.useState(!1),{focusWithinProps:a}=pt({isDisabled:!u,onFocusWithinChange:l=>r(l)}),i=o.useMemo(()=>n?t:t?{...os,...t}:os,[n]);return{visuallyHiddenProps:{...a,style:i}}}function su(e){let{children:t,elementType:u="div",isFocusable:n,style:r,...a}=e,{visuallyHiddenProps:i}=ur(e);return o.createElement(u,_(a,i),t)}function Kl(e,t){let{inputElementType:u="input",isDisabled:n=!1,isRequired:r=!1,isReadOnly:a=!1,type:i="text",validationBehavior:l="aria"}=e,[s,d]=Me(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Gt(e,t),f=kt({...e,value:s}),{isInvalid:p,validationErrors:m,validationDetails:b}=f.displayValidation,{labelProps:g,fieldProps:$,descriptionProps:D,errorMessageProps:y}=pu({...e,isInvalid:p,errorMessage:e.errorMessage||m}),x=H(e,{labelable:!0});const C={type:i,pattern:e.pattern};return qn(t,s,d),tr(e,f,t),o.useEffect(()=>{if(t.current instanceof Ye(t.current).HTMLTextAreaElement){let B=t.current;Object.defineProperty(B,"defaultValue",{get:()=>B.value,set:()=>{},configurable:!0})}},[t]),{labelProps:g,inputProps:_(x,u==="input"?C:void 0,{disabled:n,readOnly:a,required:r&&l==="native","aria-required":r&&l==="aria"||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:s,onChange:B=>d(B.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(o.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,...c,...$}),descriptionProps:D,errorMessageProps:y,isInvalid:p,validationErrors:m,validationDetails:b}}var S4={};S4={Empty:"فارغ"};var A4={};A4={Empty:"Изпразни"};var w4={};w4={Empty:"Prázdné"};var F4={};F4={Empty:"Tom"};var T4={};T4={Empty:"Leer"};var R4={};R4={Empty:"Άδειο"};var I4={};I4={Empty:"Empty"};var K4={};K4={Empty:"Vacío"};var M4={};M4={Empty:"Tühjenda"};var z4={};z4={Empty:"Tyhjä"};var N4={};N4={Empty:"Vide"};var V4={};V4={Empty:"ריק"};var _4={};_4={Empty:"Prazno"};var j4={};j4={Empty:"Üres"};var L4={};L4={Empty:"Vuoto"};var O4={};O4={Empty:"空"};var H4={};H4={Empty:"비어 있음"};var U4={};U4={Empty:"Tuščias"};var W4={};W4={Empty:"Tukšs"};var Z4={};Z4={Empty:"Tom"};var G4={};G4={Empty:"Leeg"};var q4={};q4={Empty:"Pusty"};var Y4={};Y4={Empty:"Vazio"};var J4={};J4={Empty:"Vazio"};var Q4={};Q4={Empty:"Gol"};var X4={};X4={Empty:"Не заполнено"};var e3={};e3={Empty:"Prázdne"};var t3={};t3={Empty:"Prazen"};var u3={};u3={Empty:"Prazno"};var n3={};n3={Empty:"Tomt"};var r3={};r3={Empty:"Boş"};var a3={};a3={Empty:"Пусто"};var i3={};i3={Empty:"空"};var l3={};l3={Empty:"空白"};var o3={};o3={"ar-AE":S4,"bg-BG":A4,"cs-CZ":w4,"da-DK":F4,"de-DE":T4,"el-GR":R4,"en-US":I4,"es-ES":K4,"et-EE":M4,"fi-FI":z4,"fr-FR":N4,"he-IL":V4,"hr-HR":_4,"hu-HU":j4,"it-IT":L4,"ja-JP":O4,"ko-KR":H4,"lt-LT":U4,"lv-LV":W4,"nb-NO":Z4,"nl-NL":G4,"pl-PL":q4,"pt-BR":Y4,"pt-PT":J4,"ro-RO":Q4,"ru-RU":X4,"sk-SK":e3,"sl-SI":t3,"sr-SP":u3,"sv-SE":n3,"tr-TR":r3,"uk-UA":a3,"zh-CN":i3,"zh-TW":l3};function pD(e){return e&&e.__esModule?e.default:e}function mD(e){const t=o.useRef(void 0);let{value:u,textValue:n,minValue:r,maxValue:a,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:d,onIncrementPage:c,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const g=ve(pD(o3),"@react-aria/spinbutton"),$=()=>clearTimeout(t.current);o.useEffect(()=>()=>$(),[]);let D=k=>{if(!(k.ctrlKey||k.metaKey||k.shiftKey||k.altKey||l))switch(k.key){case"PageUp":if(c){k.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":d&&(k.preventDefault(),d==null||d());break;case"PageDown":if(p){k.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(k.preventDefault(),f==null||f());break;case"Home":m&&(k.preventDefault(),m==null||m());break;case"End":b&&(k.preventDefault(),b==null||b());break}},y=o.useRef(!1),x=()=>{y.current=!0},C=()=>{y.current=!1},B=n===""?g.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{y.current&&(Yg("assertive"),Dt(B,"assertive"))},[B]);const P=le(k=>{$(),d==null||d(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||u===void 0||isNaN(u)||u<a)&&P(60)},k)}),T=le(k=>{$(),f==null||f(),t.current=window.setTimeout(()=>{(r===void 0||isNaN(r)||u===void 0||isNaN(u)||u>r)&&T(60)},k)});let v=k=>{k.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:S}=Gn();return{spinButtonProps:{role:"spinbutton","aria-valuenow":u!==void 0&&!isNaN(u)?u:void 0,"aria-valuetext":B,"aria-valuemin":r,"aria-valuemax":a,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:D,onFocus:x,onBlur:C},incrementButtonProps:{onPressStart:()=>{P(400),F(window,"contextmenu",v)},onPressEnd:()=>{$(),S()},onFocus:x,onBlur:C},decrementButtonProps:{onPressStart:()=>{T(400),F(window,"contextmenu",v)},onPressEnd:()=>{$(),S()},onFocus:x,onBlur:C}}}var s3={};s3={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var d3={};d3={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var c3={};c3={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var f3={};f3={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var p3={};p3={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var m3={};m3={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var b3={};b3={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var h3={};h3={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var $3={};$3={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var g3={};g3={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var D3={};D3={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var v3={};v3={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var y3={};y3={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var x3={};x3={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var C3={};C3={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var E3={};E3={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var B3={};B3={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var k3={};k3={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var P3={};P3={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var S3={};S3={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var A3={};A3={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var w3={};w3={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var F3={};F3={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var T3={};T3={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var R3={};R3={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var I3={};I3={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var K3={};K3={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var M3={};M3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var z3={};z3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var N3={};N3={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var V3={};V3={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var _3={};_3={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var j3={};j3={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var L3={};L3={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var O3={};O3={"ar-AE":s3,"bg-BG":d3,"cs-CZ":c3,"da-DK":f3,"de-DE":p3,"el-GR":m3,"en-US":b3,"es-ES":h3,"et-EE":$3,"fi-FI":g3,"fr-FR":D3,"he-IL":v3,"hr-HR":y3,"hu-HU":x3,"it-IT":C3,"ja-JP":E3,"ko-KR":B3,"lt-LT":k3,"lv-LV":P3,"nb-NO":S3,"nl-NL":A3,"pl-PL":w3,"pt-BR":F3,"pt-PT":T3,"ro-RO":R3,"ru-RU":I3,"sk-SK":K3,"sl-SI":M3,"sr-SP":z3,"sv-SE":N3,"tr-TR":V3,"uk-UA":_3,"zh-CN":j3,"zh-TW":L3};const gt={top:"top",bottom:"top",left:"left",right:"left"},Gr={top:"bottom",bottom:"top",left:"right",right:"left"},bD={top:"left",left:"top"},Vi={top:"height",left:"width"},H3={width:"totalWidth",height:"totalHeight"},hr={};let Ie=typeof document<"u"?window.visualViewport:null;function ss(e){let t=0,u=0,n=0,r=0,a=0,i=0,l={};var s;let d=((s=Ie==null?void 0:Ie.scale)!==null&&s!==void 0?s:1)>1;if(e.tagName==="BODY"){let b=document.documentElement;n=b.clientWidth,r=b.clientHeight;var c;t=(c=Ie==null?void 0:Ie.width)!==null&&c!==void 0?c:n;var f;u=(f=Ie==null?void 0:Ie.height)!==null&&f!==void 0?f:r,l.top=b.scrollTop||e.scrollTop,l.left=b.scrollLeft||e.scrollLeft,Ie&&(a=Ie.offsetTop,i=Ie.offsetLeft)}else({width:t,height:u,top:a,left:i}=Ju(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,r=u;if(al()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){l.top=0,l.left=0;var p;a=(p=Ie==null?void 0:Ie.pageTop)!==null&&p!==void 0?p:0;var m;i=(m=Ie==null?void 0:Ie.pageLeft)!==null&&m!==void 0?m:0}return{width:t,height:u,totalWidth:n,totalHeight:r,scroll:l,top:a,left:i}}function hD(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function ds(e,t,u,n,r,a,i){var l;let s=(l=r.scroll[e])!==null&&l!==void 0?l:0,d=n[Vi[e]],c=n.scroll[gt[e]]+a,f=d+n.scroll[gt[e]]-a,p=t-s+i[e]-n[gt[e]],m=t-s+u+i[e]-n[gt[e]];return p<c?c-p:m>f?Math.max(f-m,c-p):0}function $D(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function cs(e){if(hr[e])return hr[e];let[t,u]=e.split(" "),n=gt[t]||"right",r=bD[n];gt[u]||(u="center");let a=Vi[n],i=Vi[r];return hr[e]={placement:t,crossPlacement:u,axis:n,crossAxis:r,size:a,crossSize:i},hr[e]}function ri(e,t,u,n,r,a,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:m,size:b,crossSize:g}=n,$={};var D;$[m]=(D=e[m])!==null&&D!==void 0?D:0;var y,x,C,B;f==="center"?$[m]+=(((y=e[g])!==null&&y!==void 0?y:0)-((x=u[g])!==null&&x!==void 0?x:0))/2:f!==m&&($[m]+=((C=e[g])!==null&&C!==void 0?C:0)-((B=u[g])!==null&&B!==void 0?B:0)),$[m]+=a;const P=e[m]-u[g]+s+d,T=e[m]+e[g]-s-d;if($[m]=In($[m],P,T),c===p){const v=l?i[b]:t[H3[b]];$[Gr[p]]=Math.floor(v-e[p]+r)}else $[p]=Math.floor(e[p]+e[b]+r);return $}function gD(e,t,u,n,r,a,i,l){const s=n?u.height:t[H3.height];var d;let c=e.top!=null?u.top+e.top:u.top+(s-((d=e.bottom)!==null&&d!==void 0?d:0)-i);var f,p,m,b,g,$;let D=l!=="top"?Math.max(0,t.height+t.top+((f=t.scroll.top)!==null&&f!==void 0?f:0)-c-(((p=r.top)!==null&&p!==void 0?p:0)+((m=r.bottom)!==null&&m!==void 0?m:0)+a)):Math.max(0,c+i-(t.top+((b=t.scroll.top)!==null&&b!==void 0?b:0))-(((g=r.top)!==null&&g!==void 0?g:0)+(($=r.bottom)!==null&&$!==void 0?$:0)+a));return Math.min(t.height-a*2,D)}function fs(e,t,u,n,r,a){let{placement:i,axis:l,size:s}=a;var d,c;if(i===l)return Math.max(0,u[l]-e[l]-((d=e.scroll[l])!==null&&d!==void 0?d:0)+t[l]-((c=n[l])!==null&&c!==void 0?c:0)-n[Gr[l]]-r);var f;return Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-u[l]-u[s]-((f=n[l])!==null&&f!==void 0?f:0)-n[Gr[l]]-r)}function DD(e,t,u,n,r,a,i,l,s,d,c,f,p,m,b,g){let $=cs(e),{size:D,crossAxis:y,crossSize:x,placement:C,crossPlacement:B}=$,P=ri(t,l,u,$,c,f,d,p,b,g),T=c,v=fs(l,d,t,r,a+c,$);if(i&&n[D]>v){let Q=cs(`${Gr[C]} ${B}`),me=ri(t,l,u,Q,c,f,d,p,b,g);fs(l,d,t,r,a+c,Q)>v&&($=Q,P=me,T=c)}let F="bottom";$.axis==="top"?$.placement==="top"?F="top":$.placement==="bottom"&&(F="bottom"):$.crossAxis==="top"&&($.crossPlacement==="top"?F="bottom":$.crossPlacement==="bottom"&&(F="top"));let S=ds(y,P[y],u[x],l,s,a,d);P[y]+=S;let k=gD(P,l,d,p,r,a,u.height,F);m&&m<k&&(k=m),u.height=Math.min(u.height,k),P=ri(t,l,u,$,T,f,d,p,b,g),S=ds(y,P[y],u[x],l,s,a,d),P[y]+=S;let M={},E=t[y]+.5*t[x]-P[y]-r[gt[y]];const V=b/2+g;var I,w,R,A;const z=gt[y]==="left"?((I=r.left)!==null&&I!==void 0?I:0)+((w=r.right)!==null&&w!==void 0?w:0):((R=r.top)!==null&&R!==void 0?R:0)+((A=r.bottom)!==null&&A!==void 0?A:0),K=u[x]-z-b/2-g,N=t[y]+b/2-(P[y]+r[gt[y]]),U=t[y]+t[x]-b/2-(P[y]+r[gt[y]]),G=In(E,N,U);return M[y]=In(G,V,K),{position:P,maxHeight:k,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:$.placement}}function vD(e){let{placement:t,targetNode:u,overlayNode:n,scrollNode:r,padding:a,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,m=n instanceof HTMLElement?yD(n):document.documentElement,b=m===document.documentElement;const g=window.getComputedStyle(m).position;let $=!!g&&g!=="static",D=b?Ju(u):ps(u,m);if(!b){let{marginTop:M,marginLeft:E}=window.getComputedStyle(u);D.top+=parseInt(M,10)||0,D.left+=parseInt(E,10)||0}let y=Ju(n),x=$D(n);var C,B;y.width+=((C=x.left)!==null&&C!==void 0?C:0)+((B=x.right)!==null&&B!==void 0?B:0);var P,T;y.height+=((P=x.top)!==null&&P!==void 0?P:0)+((T=x.bottom)!==null&&T!==void 0?T:0);let v=hD(r),F=ss(l),S=ss(m),k=l.tagName==="BODY"?Ju(m):ps(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(S.scroll.top=0,S.scroll.left=0),DD(t,D,y,v,x,a,i,F,S,k,s,d,$,c,f,p)}function Ju(e){let{top:t,left:u,width:n,height:r}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+a-l,left:u+i-s,width:n,height:r}}function ps(e,t){let u=window.getComputedStyle(e),n;if(u.position==="fixed"){let{top:r,left:a,width:i,height:l}=e.getBoundingClientRect();n={top:r,left:a,width:i,height:l}}else{n=Ju(e);let r=Ju(t),a=window.getComputedStyle(t);r.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(u.marginTop,10)||0,n.left-=parseInt(u.marginLeft,10)||0,n}function yD(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!ms(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!ms(t);)t=t.parentElement;return t||document.documentElement}function ms(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const U3=new WeakMap;function xD(e){let{triggerRef:t,isOpen:u,onClose:n}=e;o.useEffect(()=>{if(!u||n===null)return;let r=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current)||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)return;let l=n||U3.get(t.current);l&&l()};return window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("scroll",r,!0)}},[u,n,t])}let Ee=typeof document<"u"?window.visualViewport:null;function Ml(e){let{direction:t}=pe(),{arrowSize:u=0,targetRef:n,overlayRef:r,scrollRef:a=r,placement:i="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:c=0,crossOffset:f=0,shouldUpdatePosition:p=!0,isOpen:m=!0,onClose:b,maxHeight:g,arrowBoundaryOffset:$=0}=e,[D,y]=o.useState(null),x=[p,i,r.current,n.current,a.current,l,s,d,c,f,m,t,g,$,u],C=o.useRef(Ee==null?void 0:Ee.scale);o.useEffect(()=>{m&&(C.current=Ee==null?void 0:Ee.scale)},[m]);let B=o.useCallback(()=>{if(p===!1||!m||!r.current||!n.current||!d||(Ee==null?void 0:Ee.scale)!==C.current)return;let S=null;if(a.current&&a.current.contains(document.activeElement)){var k;let A=(k=document.activeElement)===null||k===void 0?void 0:k.getBoundingClientRect(),z=a.current.getBoundingClientRect();var M;if(S={type:"top",offset:((M=A==null?void 0:A.top)!==null&&M!==void 0?M:0)-z.top},S.offset>z.height/2){S.type="bottom";var E;S.offset=((E=A==null?void 0:A.bottom)!==null&&E!==void 0?E:0)-z.bottom}}let V=r.current;if(!g&&r.current){var I;V.style.top="0px",V.style.bottom="";var w;V.style.maxHeight=((w=(I=window.visualViewport)===null||I===void 0?void 0:I.height)!==null&&w!==void 0?w:window.innerHeight)+"px"}let R=vD({placement:ED(i,t),overlayNode:r.current,targetNode:n.current,scrollNode:a.current||r.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:g,arrowSize:u,arrowBoundaryOffset:$});if(R.position){if(V.style.top="",V.style.bottom="",V.style.left="",V.style.right="",Object.keys(R.position).forEach(A=>V.style[A]=R.position[A]+"px"),V.style.maxHeight=R.maxHeight!=null?R.maxHeight+"px":"",S&&document.activeElement&&a.current){let A=document.activeElement.getBoundingClientRect(),z=a.current.getBoundingClientRect(),K=A[S.type]-z[S.type];a.current.scrollTop+=K-S.offset}y(R)}},x);Y(B,x),CD(B),en({ref:r,onResize:B}),en({ref:n,onResize:B});let P=o.useRef(!1);Y(()=>{let S,k=()=>{P.current=!0,clearTimeout(S),S=setTimeout(()=>{P.current=!1},500),B()},M=()=>{P.current&&k()};return Ee==null||Ee.addEventListener("resize",k),Ee==null||Ee.addEventListener("scroll",M),()=>{Ee==null||Ee.removeEventListener("resize",k),Ee==null||Ee.removeEventListener("scroll",M)}},[B]);let T=o.useCallback(()=>{P.current||b==null||b()},[b,P]);xD({triggerRef:n,isOpen:m,onClose:b&&T});var v,F;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...D==null?void 0:D.position,maxHeight:(v=D==null?void 0:D.maxHeight)!==null&&v!==void 0?v:"100vh"}},placement:(F=D==null?void 0:D.placement)!==null&&F!==void 0?F:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:D==null?void 0:D.arrowOffsetLeft,top:D==null?void 0:D.arrowOffsetTop}},updatePosition:B}}function CD(e){Y(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function ED(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const bt=[];function zl(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:r,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>{if(r&&!bt.includes(t))return bt.push(t),()=>{let b=bt.indexOf(t);b>=0&&bt.splice(b,1)}},[r,t]);let s=()=>{bt[bt.length-1]===t&&u&&u()},d=b=>{(!l||l(b.target))&&bt[bt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},c=b=>{(!l||l(b.target))&&(bt[bt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),s())},f=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),s())};c6({ref:t,onInteractOutside:a&&r?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=pt({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||Og(b.relatedTarget)||(!l||l(b.relatedTarget))&&(u==null||u())}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function Nl(e,t,u){let{type:n}=e,{isOpen:r}=t;o.useEffect(()=>{u&&u.current&&U3.set(u.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=ue();return{triggerProps:{"aria-haspopup":a,"aria-expanded":r,"aria-controls":r?i:void 0,onPress:t.toggle},overlayProps:{id:i}}}const ai=typeof document<"u"&&window.visualViewport,BD=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let $r=0,ii;function W3(e={}){let{isDisabled:t}=e;Y(()=>{if(!t)return $r++,$r===1&&(Zn()?ii=PD():ii=kD()),()=>{$r--,$r===0&&ii()}},[t])}function kD(){return ot(Hu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Hu(document.documentElement,"overflow","hidden"))}function PD(){let e,t,u=d=>{e=Ne(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=Hu(e,"overscrollBehavior","contain"))},n=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&d.preventDefault()},r=()=>{t&&t()},a=d=>{let c=d.target;SD(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",ai&&(ai.height<window.innerHeight?requestAnimationFrame(()=>{bs(c)}):ai.addEventListener("resize",()=>bs(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=ot(mn(window,"scroll",d),Hu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Hu(document.documentElement,"overflow","hidden"),Hu(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=ot(mn(document,"touchstart",u,{passive:!1,capture:!0}),mn(document,"touchmove",n,{passive:!1,capture:!0}),mn(document,"touchend",r,{passive:!1,capture:!0}),mn(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function Hu(e,t,u){let n=e.style[t];return e.style[t]=u,()=>{e.style[t]=n}}function mn(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function bs(e){let t=document.scrollingElement||document.documentElement,u=e;for(;u&&u!==t;){let n=Ne(u);if(n!==document.documentElement&&n!==document.body&&n!==u){let r=n.getBoundingClientRect().top,a=u.getBoundingClientRect().top;a>r+u.clientHeight&&(n.scrollTop+=a-r)}u=n.parentElement}}function SD(e){return e instanceof HTMLInputElement&&!BD.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const _i=o.createContext(null);function AD(e){let{children:t}=e,u=o.useContext(_i),[n,r]=o.useState(0),a=o.useMemo(()=>({parent:u,modalCount:n,addModal(){r(i=>i+1),u&&u.addModal()},removeModal(){r(i=>i-1),u&&u.removeModal()}}),[u,n]);return o.createElement(_i.Provider,{value:a},t)}function wD(){let e=o.useContext(_i);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function FD(e){let{modalProviderProps:t}=wD();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function TD(e){return o.createElement(AD,null,o.createElement(FD,e))}function Z3(e){let t=Ct(),{portalContainer:u=t?null:document.body,...n}=e;if(o.useEffect(()=>{if(u!=null&&u.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[u]),!u)return null;let r=o.createElement(TD,n);return Wt.createPortal(r,u)}var G3={};G3={dismiss:"تجاهل"};var q3={};q3={dismiss:"Отхвърляне"};var Y3={};Y3={dismiss:"Odstranit"};var J3={};J3={dismiss:"Luk"};var Q3={};Q3={dismiss:"Schließen"};var X3={};X3={dismiss:"Απόρριψη"};var ef={};ef={dismiss:"Dismiss"};var tf={};tf={dismiss:"Descartar"};var uf={};uf={dismiss:"Lõpeta"};var nf={};nf={dismiss:"Hylkää"};var rf={};rf={dismiss:"Rejeter"};var af={};af={dismiss:"התעלם"};var lf={};lf={dismiss:"Odbaci"};var of={};of={dismiss:"Elutasítás"};var sf={};sf={dismiss:"Ignora"};var df={};df={dismiss:"閉じる"};var cf={};cf={dismiss:"무시"};var ff={};ff={dismiss:"Atmesti"};var pf={};pf={dismiss:"Nerādīt"};var mf={};mf={dismiss:"Lukk"};var bf={};bf={dismiss:"Negeren"};var hf={};hf={dismiss:"Zignoruj"};var $f={};$f={dismiss:"Descartar"};var gf={};gf={dismiss:"Dispensar"};var Df={};Df={dismiss:"Revocare"};var vf={};vf={dismiss:"Пропустить"};var yf={};yf={dismiss:"Zrušiť"};var xf={};xf={dismiss:"Opusti"};var Cf={};Cf={dismiss:"Odbaci"};var Ef={};Ef={dismiss:"Avvisa"};var Bf={};Bf={dismiss:"Kapat"};var kf={};kf={dismiss:"Скасувати"};var Pf={};Pf={dismiss:"取消"};var Sf={};Sf={dismiss:"關閉"};var Af={};Af={"ar-AE":G3,"bg-BG":q3,"cs-CZ":Y3,"da-DK":J3,"de-DE":Q3,"el-GR":X3,"en-US":ef,"es-ES":tf,"et-EE":uf,"fi-FI":nf,"fr-FR":rf,"he-IL":af,"hr-HR":lf,"hu-HU":of,"it-IT":sf,"ja-JP":df,"ko-KR":cf,"lt-LT":ff,"lv-LV":pf,"nb-NO":mf,"nl-NL":bf,"pl-PL":hf,"pt-BR":$f,"pt-PT":gf,"ro-RO":Df,"ru-RU":vf,"sk-SK":yf,"sl-SI":xf,"sr-SP":Cf,"sv-SE":Ef,"tr-TR":Bf,"uk-UA":kf,"zh-CN":Pf,"zh-TW":Sf};function RD(e){return e&&e.__esModule?e.default:e}function Un(e){let{onDismiss:t,...u}=e,n=ve(RD(Af),"@react-aria/overlays"),r=yt(u,n.format("dismiss")),a=()=>{t&&t()};return o.createElement(su,null,o.createElement("button",{...r,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let bn=new WeakMap,He=[];function Vl(e,t=document.body){let u=new Set(e),n=new Set,r=s=>{for(let p of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(p);let d=p=>{if(u.has(p)||p.parentElement&&n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of u)if(p.contains(m))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},c=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),f=d(s);if(f===NodeFilter.FILTER_ACCEPT&&a(s),f!==NodeFilter.FILTER_REJECT){let p=c.nextNode();for(;p!=null;)a(p),p=c.nextNode()}},a=s=>{var d;let c=(d=bn.get(s))!==null&&d!==void 0?d:0;s.getAttribute("aria-hidden")==="true"&&c===0||(c===0&&s.setAttribute("aria-hidden","true"),n.add(s),bn.set(s,c+1))};He.length&&He[He.length-1].disconnect(),r(t);let i=new MutationObserver(s=>{for(let d of s)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...u,...n].some(c=>c.contains(d.target))){for(let c of d.removedNodes)c instanceof Element&&(u.delete(c),n.delete(c));for(let c of d.addedNodes)(c instanceof HTMLElement||c instanceof SVGElement)&&(c.dataset.liveAnnouncer==="true"||c.dataset.reactAriaTopLayer==="true")?u.add(c):c instanceof Element&&r(c)}});i.observe(t,{childList:!0,subtree:!0});let l={visibleNodes:u,hiddenNodes:n,observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return He.push(l),()=>{i.disconnect();for(let s of n){let d=bn.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),bn.delete(s)):bn.set(s,d-1))}l===He[He.length-1]?(He.pop(),He.length&&He[He.length-1].observe()):He.splice(He.indexOf(l),1)}}function ID(e){let t=He[He.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}function KD(e,t){let{triggerRef:u,popoverRef:n,groupRef:r,isNonModal:a,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l,...s}=e,d=s.trigger==="SubmenuTrigger",{overlayProps:c,underlayProps:f}=zl({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||d,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l},r??n),{overlayProps:p,arrowProps:m,placement:b}=Ml({...s,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:a&&!d?t.close:null});return W3({isDisabled:a||!t.isOpen}),Y(()=>{if(t.isOpen&&n.current){var g,$;return a?ID((g=r==null?void 0:r.current)!==null&&g!==void 0?g:n.current):Vl([($=r==null?void 0:r.current)!==null&&$!==void 0?$:n.current])}},[a,t.isOpen,n,r]),{popoverProps:_(c,p),arrowProps:m,underlayProps:f,placement:b}}const MD=o.createContext({});function zD(){var e;return(e=o.useContext(MD))!==null&&e!==void 0?e:{}}const wf=o.createContext(null);function qr(e){let t=Ct(),{portalContainer:u=t?null:document.body,isExiting:n}=e,[r,a]=o.useState(!1),i=o.useMemo(()=>({contain:r,setContain:a}),[r,a]),{getContainer:l}=zD();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(an,{restoreFocus:!0,contain:(e.shouldContainFocus||r)&&!n},s)),s=o.createElement(wf.Provider,{value:i},o.createElement(s6,null,s)),Wt.createPortal(s,u)}function Ff(){let e=o.useContext(wf),t=e==null?void 0:e.setContain;Y(()=>{t==null||t(!0)},[t])}function Tf(e,t,u){let{overlayProps:n,underlayProps:r}=zl({...e,isOpen:t.isOpen,onClose:t.close},u);return W3({isDisabled:!t.isOpen}),Ff(),o.useEffect(()=>{if(t.isOpen&&u.current)return Vl([u.current])},[t.isOpen,u]),{modalProps:_(n),underlayProps:r}}const xa=new WeakMap;function ND(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Rf(e,t){let u=xa.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${ND(t)}`}function ji(e){return Er()?e.altKey:e.ctrlKey}function Ar(e,t){var u,n;let r=`[data-key="${CSS.escape(String(t))}"]`,a=(u=e.current)===null||u===void 0?void 0:u.dataset.collection;return a&&(r=`[data-collection="${CSS.escape(a)}"]${r}`),(n=e.current)===null||n===void 0?void 0:n.querySelector(r)}const If=new WeakMap;function VD(e){let t=ue();return If.set(e,t),t}function _D(e){return If.get(e)}const jD=1e3;function Kf(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,a=i=>{let l=LD(i.key);if(!(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))){if(l===" "&&r.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),r.search+=l,t.getKeyForSearch!=null){let s=t.getKeyForSearch(r.search,u.focusedKey);s==null&&(s=t.getKeyForSearch(r.search)),s!=null&&(u.setFocusedKey(s),n&&n(s))}clearTimeout(r.timeout),r.timeout=setTimeout(()=>{r.search=""},jD)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function LD(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function Ca(e){let{selectionManager:t,keyboardDelegate:u,ref:n,autoFocus:r=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n,linkBehavior:b="action"}=e,{direction:g}=pe(),$=Fu(),D=I=>{var w;if(I.altKey&&I.key==="Tab"&&I.preventDefault(),!(!((w=n.current)===null||w===void 0)&&w.contains(I.target)))return;const R=(j,O)=>{if(j!=null){if(t.isLink(j)&&b==="selection"&&s&&!ji(I)){Wt.flushSync(()=>{t.setFocusedKey(j,O)});let q=Ar(n,j),re=t.getItemProps(j);q&&$.open(q,I,re.href,re.routerOptions);return}if(t.setFocusedKey(j,O),t.isLink(j)&&b==="override")return;I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&!ji(I)&&t.replaceSelection(j)}};switch(I.key){case"ArrowDown":if(u.getKeyBelow){var A,z,K;let j=t.focusedKey!=null?(A=u.getKeyBelow)===null||A===void 0?void 0:A.call(u,t.focusedKey):(z=u.getFirstKey)===null||z===void 0?void 0:z.call(u);j==null&&a&&(j=(K=u.getFirstKey)===null||K===void 0?void 0:K.call(u,t.focusedKey)),j!=null&&(I.preventDefault(),R(j))}break;case"ArrowUp":if(u.getKeyAbove){var N,U,G;let j=t.focusedKey!=null?(N=u.getKeyAbove)===null||N===void 0?void 0:N.call(u,t.focusedKey):(U=u.getLastKey)===null||U===void 0?void 0:U.call(u);j==null&&a&&(j=(G=u.getLastKey)===null||G===void 0?void 0:G.call(u,t.focusedKey)),j!=null&&(I.preventDefault(),R(j))}break;case"ArrowLeft":if(u.getKeyLeftOf){var Q,me,ne;let j=t.focusedKey!=null?(Q=u.getKeyLeftOf)===null||Q===void 0?void 0:Q.call(u,t.focusedKey):null;j==null&&a&&(j=g==="rtl"?(me=u.getFirstKey)===null||me===void 0?void 0:me.call(u,t.focusedKey):(ne=u.getLastKey)===null||ne===void 0?void 0:ne.call(u,t.focusedKey)),j!=null&&(I.preventDefault(),R(j,g==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var se,L,ee;let j=t.focusedKey!=null?(se=u.getKeyRightOf)===null||se===void 0?void 0:se.call(u,t.focusedKey):null;j==null&&a&&(j=g==="rtl"?(L=u.getLastKey)===null||L===void 0?void 0:L.call(u,t.focusedKey):(ee=u.getFirstKey)===null||ee===void 0?void 0:ee.call(u,t.focusedKey)),j!=null&&(I.preventDefault(),R(j,g==="rtl"?"last":"first"))}break;case"Home":if(u.getFirstKey){if(t.focusedKey===null&&I.shiftKey)return;I.preventDefault();let j=u.getFirstKey(t.focusedKey,ju(I));t.setFocusedKey(j),j!=null&&(ju(I)&&I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j))}break;case"End":if(u.getLastKey){if(t.focusedKey===null&&I.shiftKey)return;I.preventDefault();let j=u.getLastKey(t.focusedKey,ju(I));t.setFocusedKey(j),j!=null&&(ju(I)&&I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j))}break;case"PageDown":if(u.getKeyPageBelow&&t.focusedKey!=null){let j=u.getKeyPageBelow(t.focusedKey);j!=null&&(I.preventDefault(),R(j))}break;case"PageUp":if(u.getKeyPageAbove&&t.focusedKey!=null){let j=u.getKeyPageAbove(t.focusedKey);j!=null&&(I.preventDefault(),R(j))}break;case"a":ju(I)&&t.selectionMode==="multiple"&&l!==!0&&(I.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(I.stopPropagation(),I.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(I.shiftKey)n.current.focus();else{let j=ke(n.current,{tabbable:!0}),O,q;do q=j.lastChild(),q&&(O=q);while(q);O&&!O.contains(document.activeElement)&&_e(O)}break}}},y=o.useRef({top:0,left:0});ct(m,"scroll",p?void 0:()=>{var I,w,R,A;y.current={top:(R=(I=m.current)===null||I===void 0?void 0:I.scrollTop)!==null&&R!==void 0?R:0,left:(A=(w=m.current)===null||w===void 0?void 0:w.scrollLeft)!==null&&A!==void 0?A:0}});let x=I=>{if(t.isFocused){I.currentTarget.contains(I.target)||t.setFocused(!1);return}if(I.currentTarget.contains(I.target)){if(t.setFocused(!0),t.focusedKey==null){var w,R;let K=U=>{U!=null&&(t.setFocusedKey(U),s&&!t.isSelected(U)&&t.replaceSelection(U))},N=I.relatedTarget;var A,z;N&&I.currentTarget.compareDocumentPosition(N)&Node.DOCUMENT_POSITION_FOLLOWING?K((A=t.lastSelectedKey)!==null&&A!==void 0?A:(w=u.getLastKey)===null||w===void 0?void 0:w.call(u)):K((z=t.firstSelectedKey)!==null&&z!==void 0?z:(R=u.getFirstKey)===null||R===void 0?void 0:R.call(u))}else!p&&m.current&&(m.current.scrollTop=y.current.top,m.current.scrollLeft=y.current.left);if(t.focusedKey!=null&&m.current){let K=Ar(n,t.focusedKey);K instanceof HTMLElement&&(!K.contains(document.activeElement)&&!c&&_e(K),_t()==="keyboard"&&Ve(K,{containingElement:n.current}))}}},C=I=>{I.currentTarget.contains(I.relatedTarget)||t.setFocused(!1)},B=o.useRef(!1);ct(n,N2,c?I=>{let{detail:w}=I;I.stopPropagation(),t.setFocused(!0),(w==null?void 0:w.focusStrategy)==="first"&&(B.current=!0)}:void 0);let P=le(()=>{var I,w;let R=(w=(I=u.getFirstKey)===null||I===void 0?void 0:I.call(u))!==null&&w!==void 0?w:null;R==null?(Vc(n.current),t.collection.size>0&&(B.current=!1)):(t.setFocusedKey(R),B.current=!1)});bo(()=>{B.current&&P()},[t.collection,P]);let T=le(()=>{t.collection.size>0&&(B.current=!1)});bo(()=>{T()},[t.focusedKey,T]),ct(n,z2,c?I=>{var w;I.stopPropagation(),t.setFocused(!1),!((w=I.detail)===null||w===void 0)&&w.clearFocusKey&&t.setFocusedKey(null)}:void 0);const v=o.useRef(r),F=o.useRef(!1);o.useEffect(()=>{if(v.current){var I,w;let z=null;var R;r==="first"&&(z=(R=(I=u.getFirstKey)===null||I===void 0?void 0:I.call(u))!==null&&R!==void 0?R:null);var A;r==="last"&&(z=(A=(w=u.getLastKey)===null||w===void 0?void 0:w.call(u))!==null&&A!==void 0?A:null);let K=t.selectedKeys;if(K.size){for(let N of K)if(t.canSelectItem(N)){z=N;break}}t.setFocused(!0),t.setFocusedKey(z),z==null&&!c&&n.current&&xe(n.current),t.collection.size>0&&(v.current=!1,F.current=!0)}});let S=o.useRef(t.focusedKey);o.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==S.current||F.current)&&m.current&&n.current){let I=_t(),w=Ar(n,t.focusedKey);if(!(w instanceof HTMLElement))return;(I==="keyboard"||F.current)&&(ad(m.current,w),I!=="virtual"&&Ve(w,{containingElement:n.current}))}!c&&t.isFocused&&t.focusedKey==null&&S.current!=null&&n.current&&xe(n.current),S.current=t.focusedKey,F.current=!1}),ct(n,"react-aria-focus-scope-restore",I=>{I.preventDefault(),t.setFocused(!0)});let k={onKeyDown:D,onFocus:x,onBlur:C,onMouseDown(I){m.current===I.target&&I.preventDefault()}},{typeSelectProps:M}=Kf({keyboardDelegate:u,selectionManager:t});d||(k=_(M,k));let E;c||(E=t.focusedKey==null?0:-1);let V=VD(t.collection);return{collectionProps:_(k,{tabIndex:E,"data-collection":V})}}function ln(e){let{id:t,selectionManager:u,key:n,ref:r,shouldSelectOnPressUp:a,shouldUseVirtualFocus:i,focus:l,isDisabled:s,onAction:d,allowsDifferentPressOrigin:c,linkBehavior:f="action"}=e,p=Fu();t=ue(t);let m=A=>{if(A.pointerType==="keyboard"&&ji(A))u.toggleSelection(n);else{if(u.selectionMode==="none")return;if(u.isLink(n)){if(f==="selection"&&r.current){let z=u.getItemProps(n);p.open(r.current,A,z.href,z.routerOptions),u.setSelectedKeys(u.selectedKeys);return}else if(f==="override"||f==="none")return}u.selectionMode==="single"?u.isSelected(n)&&!u.disallowEmptySelection?u.toggleSelection(n):u.replaceSelection(n):A&&A.shiftKey?u.extendSelection(n):u.selectionBehavior==="toggle"||A&&(ju(A)||A.pointerType==="touch"||A.pointerType==="virtual")?u.toggleSelection(n):u.replaceSelection(n)}};o.useEffect(()=>{n===u.focusedKey&&u.isFocused&&(i?Vc(r.current):l?l():document.activeElement!==r.current&&r.current&&xe(r.current))},[r,n,u.focusedKey,u.childFocusStrategy,u.isFocused,i]),s=s||u.isDisabled(n);let b={};!i&&!s?b={tabIndex:n===u.focusedKey?0:-1,onFocus(A){A.target===r.current&&u.setFocusedKey(n)}}:s&&(b.onMouseDown=A=>{A.preventDefault()});let g=u.isLink(n)&&f==="override",$=u.isLink(n)&&f!=="selection"&&f!=="none",D=!s&&u.canSelectItem(n)&&!g,y=(d||$)&&!s,x=y&&(u.selectionBehavior==="replace"?!D:!D||u.isEmpty),C=y&&D&&u.selectionBehavior==="replace",B=x||C,P=o.useRef(null),T=B&&D,v=o.useRef(!1),F=o.useRef(!1),S=A=>{if(d&&d(),$&&r.current){let z=u.getItemProps(n);p.open(r.current,A,z.href,z.routerOptions)}},k={};a?(k.onPressStart=A=>{P.current=A.pointerType,v.current=T,A.pointerType==="keyboard"&&(!B||$s())&&m(A)},c?(k.onPressUp=x?void 0:A=>{A.pointerType==="mouse"&&D&&m(A)},k.onPress=x?S:A=>{A.pointerType!=="keyboard"&&A.pointerType!=="mouse"&&D&&m(A)}):k.onPress=A=>{if(x||C&&A.pointerType!=="mouse"){if(A.pointerType==="keyboard"&&!hs())return;S(A)}else A.pointerType!=="keyboard"&&D&&m(A)}):(k.onPressStart=A=>{P.current=A.pointerType,v.current=T,F.current=x,D&&(A.pointerType==="mouse"&&!x||A.pointerType==="keyboard"&&(!y||$s()))&&m(A)},k.onPress=A=>{(A.pointerType==="touch"||A.pointerType==="pen"||A.pointerType==="virtual"||A.pointerType==="keyboard"&&B&&hs()||A.pointerType==="mouse"&&F.current)&&(B?S(A):D&&m(A))}),b["data-collection"]=_D(u.collection),b["data-key"]=n,k.preventFocusOnPress=i,i&&(k=_(k,{onPressStart(A){A.pointerType!=="touch"&&(u.setFocused(!0),u.setFocusedKey(n))},onPress(A){A.pointerType==="touch"&&(u.setFocused(!0),u.setFocusedKey(n))}}));let{pressProps:M,isPressed:E}=Je(k),V=C?A=>{P.current==="mouse"&&(A.stopPropagation(),A.preventDefault(),S(A))}:void 0,{longPressProps:I}=Dd({isDisabled:!T,onLongPress(A){A.pointerType==="touch"&&(m(A),u.setSelectionBehavior("toggle"))}}),w=A=>{P.current==="touch"&&v.current&&A.preventDefault()},R=u.isLink(n)?A=>{iu.isOpening||A.preventDefault()}:void 0;return{itemProps:_(b,D||x||i?M:{},T?I:{},{onDoubleClick:V,onDragStartCapture:w,onClick:R,id:t},i?{onMouseDown:A=>A.preventDefault()}:void 0),isPressed:E,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:D,hasAction:B}}function hs(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function $s(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class Li{getItemRect(t){let u=this.ref.current;if(!u)return null;let n=t!=null?Ar(this.ref,t):null;if(!n)return null;let r=u.getBoundingClientRect(),a=n.getBoundingClientRect();return{x:a.left-r.left+u.scrollLeft,y:a.top-r.top+u.scrollTop,width:a.width,height:a.height}}getContentSize(){let t=this.ref.current;var u,n;return{width:(u=t==null?void 0:t.scrollWidth)!==null&&u!==void 0?u:0,height:(n=t==null?void 0:t.scrollHeight)!==null&&n!==void 0?n:0}}getVisibleRect(){let t=this.ref.current;var u,n,r,a;return{x:(u=t==null?void 0:t.scrollLeft)!==null&&u!==void 0?u:0,y:(n=t==null?void 0:t.scrollTop)!==null&&n!==void 0?n:0,width:(r=t==null?void 0:t.offsetWidth)!==null&&r!==void 0?r:0,height:(a=t==null?void 0:t.offsetHeight)!==null&&a!==void 0?a:0}}constructor(t){this.ref=t}}class on{isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,u){let n=t;for(;n!=null;){let r=this.collection.getItem(n);if((r==null?void 0:r.type)==="item"&&!this.isDisabled(r))return n;n=u(n)}return null}getNextKey(t){let u=t;return u=this.collection.getKeyAfter(u),this.findNextNonDisabled(u,n=>this.collection.getKeyAfter(n))}getPreviousKey(t){let u=t;return u=this.collection.getKeyBefore(u),this.findNextNonDisabled(u,n=>this.collection.getKeyBefore(n))}findKey(t,u,n){let r=t,a=this.layoutDelegate.getItemRect(r);if(!a||r==null)return null;let i=a;do{if(r=u(r),r==null)break;a=this.layoutDelegate.getItemRect(r)}while(a&&n(i,a)&&r!=null);return r}isSameRow(t,u){return t.y===u.y||t.x!==u.x}isSameColumn(t,u){return t.x===u.x||t.y!==u.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getNextKey(u),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getPreviousKey(u),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,u){return u?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let u=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let u=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyAfter(u))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyBefore(u))}getKeyPageAbove(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!Rn(u))return this.getFirstKey();let r=t;if(this.orientation==="horizontal"){let a=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getFirstKey()}getKeyPageBelow(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!Rn(u))return this.getLastKey();let r=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getLastKey()}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u||this.getFirstKey();for(;r!=null;){let a=n.getItem(r);if(!a)return null;let i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return r;r=this.getNextKey(r)}return null}constructor(...t){if(t.length===1){let u=t[0];this.collection=u.collection,this.ref=u.ref,this.collator=u.collator,this.disabledKeys=u.disabledKeys||new Set,this.disabledBehavior=u.disabledBehavior||"all",this.orientation=u.orientation||"vertical",this.direction=u.direction,this.layout=u.layout||"stack",this.layoutDelegate=u.layoutDelegate||new Li(u.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new Li(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function _l(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:r,keyboardDelegate:a,layoutDelegate:i}=e,l=rn({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>a||new on({collection:u,disabledKeys:n,disabledBehavior:s,ref:r,collator:l,layoutDelegate:i}),[a,i,u,n,r,l,s]),{collectionProps:c}=Ca({...e,ref:r,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function Mf(e,t,u){let n=H(e,{labelable:!0}),r=e.selectionBehavior||"toggle",a=e.linkBehavior||(r==="replace"?"action":"override");r==="toggle"&&a==="action"&&(a="override");let{listProps:i}=_l({...e,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=pt({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=ue(e.id);xa.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:d,fieldProps:c}=Il({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:_(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",..._(c,i)})}}function zf(e){return null}zf.getCollectionNode=function*(t,u){let{childItems:n,title:r,children:a}=t,i=t.title||t.children,l=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!l&&!(u!=null&&u.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:l,"aria-label":t["aria-label"],hasChildNodes:OD(t),*childNodes(){if(n)for(let s of n)yield{type:"item",value:s};else if(r){let s=[];o.Children.forEach(a,d=>{s.push({type:"item",element:d})}),yield*s}}}};function OD(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&o.Children.count(e.children)>0)}let gs=zf;function Nf(e){return null}Nf.getCollectionNode=function*(t){let{children:u,title:n,items:r}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof u=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let a of r)yield{type:"item",value:a,renderer:u}}else{let a=[];o.Children.forEach(u,i=>{a.push({type:"item",element:i})}),yield*a}}}};let HD=Nf;class UD{build(t,u){return this.context=u,Ds(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:u,items:n}=t;if(o.isValidElement(u)&&u.type===o.Fragment)yield*this.iterateCollection({children:u.props.children,items:n});else if(typeof u=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let r=0;for(let a of n)yield*this.getFullNode({value:a,index:r},{renderer:u}),r++}else{let r=[];o.Children.forEach(u,i=>{i&&r.push(i)});let a=0;for(let i of r){let l=this.getFullNode({element:i,index:a},{});for(let s of l)a++,yield s}}}getKey(t,u,n,r){if(t.key!=null)return t.key;if(u.type==="cell"&&u.key!=null)return`${r}${u.key}`;let a=u.value;if(a!=null){var i;let l=(i=a.key)!==null&&i!==void 0?i:a.id;if(l==null)throw new Error("No key found for item");return l}return r?`${r}.${u.index}`:`$.${u.index}`}getChildState(t,u){return{renderer:u.renderer||t.renderer}}*getFullNode(t,u,n,r){if(o.isValidElement(t.element)&&t.element.type===o.Fragment){let $=[];o.Children.forEach(t.element.props.children,y=>{$.push(y)});var a;let D=(a=t.index)!==null&&a!==void 0?a:0;for(const y of $)yield*this.getFullNode({element:y,index:D++},u,n,r);return}let i=t.element;if(!i&&t.value&&u&&u.renderer){let $=this.cache.get(t.value);if($&&(!$.shouldInvalidate||!$.shouldInvalidate(this.context))){$.index=t.index,$.parentKey=r?r.key:null,yield $;return}i=u.renderer(t.value)}if(o.isValidElement(i)){let $=i.type;if(typeof $!="function"&&typeof $.getCollectionNode!="function"){let C=i.type;throw new Error(`Unknown element <${C}> in collection.`)}let D=$.getCollectionNode(i.props,this.context);var l;let y=(l=t.index)!==null&&l!==void 0?l:0,x=D.next();for(;!x.done&&x.value;){let C=x.value;t.index=y;var s;let B=(s=C.key)!==null&&s!==void 0?s:null;B==null&&(B=C.element?null:this.getKey(i,t,u,n));let T=[...this.getFullNode({...C,key:B,index:y,wrapper:WD(t.wrapper,C.wrapper)},this.getChildState(u,C),n?`${n}${i.key}`:i.key,r)];for(let v of T){var d,c;v.value=(c=(d=C.value)!==null&&d!==void 0?d:t.value)!==null&&c!==void 0?c:null,v.value&&this.cache.set(v.value,v);var f;if(t.type&&v.type!==t.type)throw new Error(`Unsupported type <${li(v.type)}> in <${li((f=r==null?void 0:r.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${li(t.type)}> is supported.`);y++,yield v}x=D.next(T)}return}if(t.key==null||t.type==null)return;let p=this;var m,b;let g={type:t.type,props:t.props,key:t.key,parentKey:r?r.key:null,value:(m=t.value)!==null&&m!==void 0?m:null,level:r?r.level+1:0,index:t.index,rendered:t.rendered,textValue:(b=t.textValue)!==null&&b!==void 0?b:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:Ds(function*(){if(!t.hasChildNodes||!t.childNodes)return;let $=0;for(let D of t.childNodes()){D.key!=null&&(D.key=`${g.key}${D.key}`);let y=p.getFullNode({...D,index:$},p.getChildState(u,D),g.key,g);for(let x of y)$++,yield x}})};yield g}constructor(){this.cache=new WeakMap}}function Ds(e){let t=[],u=null;return{*[Symbol.iterator](){for(let n of t)yield n;u||(u=e());for(let n of u)t.push(n),yield n}}}function WD(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function li(e){return e[0].toUpperCase()+e.slice(1)}function jl(e,t,u){let n=o.useMemo(()=>new UD,[]),{children:r,items:a,collection:i}=e;return o.useMemo(()=>{if(i)return i;let s=n.build({children:r,items:a},u);return t(s)},[n,r,a,i,u,t])}function we(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Mt(e){return Bn(e,0)}function Bn(e,t){if(t<0)return;let u=0;for(let n of e){if(u===t)return n;u++}}function Vt(e){let t;for(let u of e)t=u;return t}function oi(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...vs(e,t),t],r=[...vs(e,u),u],a=n.slice(0,r.length).findIndex((i,l)=>i!==r[l]);return a!==-1?(t=n[a],u=r[a],t.index-u.index):n.findIndex(i=>i===u)>=0?1:(r.findIndex(i=>i===t)>=0,-1)}function vs(e,t){let u=[],n=t;for(;(n==null?void 0:n.parentKey)!=null;)n=e.getItem(n.parentKey),n&&u.unshift(n);return u}const ys=new WeakMap;function Ll(e){let t=ys.get(e);if(t!=null)return t;let u=0,n=r=>{for(let a of r)a.type==="section"?n(we(a,e)):u++};return n(e),ys.set(e,u),u}function Vf(e,t,u){var n,r;let{key:a}=e,i=xa.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(a);var d;let c=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(a);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:i==null?void 0:i.shouldSelectOnPressUp;var m;let b=(m=e.shouldFocusOnHover)!==null&&m!==void 0?m:i==null?void 0:i.shouldFocusOnHover;var g;let $=(g=e.shouldUseVirtualFocus)!==null&&g!==void 0?g:i==null?void 0:i.shouldUseVirtualFocus;var D;let y=(D=e.isVirtualized)!==null&&D!==void 0?D:i==null?void 0:i.isVirtualized,x=lt(),C=lt(),B={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};vt()&&al()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=x,B["aria-describedby"]=C);let P=t.collection.getItem(a);if(y){let R=Number(P==null?void 0:P.index);B["aria-posinset"]=Number.isNaN(R)?void 0:R+1,B["aria-setsize"]=Ll(t.collection)}let T=i!=null&&i.onAction?()=>{var R;return i==null||(R=i.onAction)===null||R===void 0?void 0:R.call(i,a)}:void 0,v=Rf(t,a),{itemProps:F,isPressed:S,isFocused:k,hasAction:M,allowsSelection:E}=ln({selectionManager:t.selectionManager,key:a,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&b,isVirtualized:y,shouldUseVirtualFocus:$,isDisabled:s,onAction:T||!(P==null||(n=P.props)===null||n===void 0)&&n.onAction?ot(P==null||(r=P.props)===null||r===void 0?void 0:r.onAction,T):void 0,linkBehavior:i==null?void 0:i.linkBehavior,id:v}),{hoverProps:V}=Ce({isDisabled:s||!b,onHoverStart(){Ht()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),I=H(P==null?void 0:P.props);delete I.id;let w=fa(P==null?void 0:P.props);return{optionProps:{...B,..._(I,F,V,w),id:v},labelProps:{id:x},descriptionProps:{id:C},isFocused:k,isFocusVisible:k&&t.selectionManager.isFocused&&Ht(),isSelected:c,isDisabled:s,isPressed:S,allowsSelection:E,hasAction:M}}function _f(e){let{heading:t,"aria-label":u}=e,n=ue();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}var jf={};jf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Lf={};Lf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Of={};Of={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Hf={};Hf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Uf={};Uf={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Wf={};Wf={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Zf={};Zf={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Gf={};Gf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var qf={};qf={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Yf={};Yf={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Jf={};Jf={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Qf={};Qf={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Xf={};Xf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var ep={};ep={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var tp={};tp={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var up={};up={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var np={};np={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var rp={};rp={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var ap={};ap={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var ip={};ip={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var lp={};lp={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var op={};op={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var sp={};sp={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var dp={};dp={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var cp={};cp={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var fp={};fp={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var pp={};pp={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var mp={};mp={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var bp={};bp={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var hp={};hp={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var $p={};$p={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var gp={};gp={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Dp={};Dp={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var vp={};vp={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var yp={};yp={"ar-AE":jf,"bg-BG":Lf,"cs-CZ":Of,"da-DK":Hf,"de-DE":Uf,"el-GR":Wf,"en-US":Zf,"es-ES":Gf,"et-EE":qf,"fi-FI":Yf,"fr-FR":Jf,"he-IL":Qf,"hr-HR":Xf,"hu-HU":ep,"it-IT":tp,"ja-JP":up,"ko-KR":np,"lt-LT":rp,"lv-LV":ap,"nb-NO":ip,"nl-NL":lp,"pl-PL":op,"pt-BR":sp,"pt-PT":dp,"ro-RO":cp,"ru-RU":fp,"sk-SK":pp,"sl-SI":mp,"sr-SP":bp,"sv-SE":hp,"tr-TR":$p,"uk-UA":gp,"zh-CN":Dp,"zh-TW":vp};function ZD(e){return e&&e.__esModule?e.default:e}function Ol(e,t,u){let{type:n="menu",isDisabled:r,trigger:a="press"}=e,i=ue(),{triggerProps:l,overlayProps:s}=Nl({type:n},t,u),d=m=>{if(!r&&!(a==="longPress"&&!m.altKey)&&u&&u.current)switch(m.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break;default:"continuePropagation"in m&&m.continuePropagation()}},c=ve(ZD(yp),"@react-aria/menu"),{longPressProps:f}=Dd({isDisabled:r||a!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={preventFocusOnPress:!0,onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!r&&(_e(m.target),t.open(m.pointerType==="virtual"?"first":null))},onPress(m){m.pointerType==="touch"&&!r&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?p:f,id:i,onKeyDown:d},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const xp=new WeakMap;function GD(e,t,u){let{shouldFocusWrap:n=!0,onKeyDown:r,onKeyUp:a,...i}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let l=H(e,{labelable:!0}),{listProps:s}=_l({...i,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return xp.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:_(l,{onKeyDown:r,onKeyUp:a},{role:"menu",...s,onKeyDown:d=>{var c;(d.key!=="Escape"||e.shouldUseVirtualFocus)&&((c=s.onKeyDown)===null||c===void 0||c.call(s,d))}})}}function qD(e,t,u){let{id:n,key:r,closeOnSelect:a,isVirtualized:i,"aria-haspopup":l,onPressStart:s,onPressUp:d,onPress:c,onPressChange:f,onPressEnd:p,onHoverStart:m,onHoverChange:b,onHoverEnd:g,onKeyDown:$,onKeyUp:D,onFocus:y,onFocusChange:x,onBlur:C,selectionManager:B=t.selectionManager}=e,P=!!l,T=P&&e["aria-expanded"]==="true";var v;let F=(v=e.isDisabled)!==null&&v!==void 0?v:B.isDisabled(r);var S;let k=(S=e.isSelected)!==null&&S!==void 0?S:B.isSelected(r),M=xp.get(t),E=t.collection.getItem(r),V=e.onClose||M.onClose,I=Fu(),w=ae=>{var Qt;if(!P){if(!(E==null||(Qt=E.props)===null||Qt===void 0)&&Qt.onAction?E.props.onAction():e.onAction&&e.onAction(r),M.onAction){let hu=M.onAction;hu(r)}ae.target instanceof HTMLAnchorElement&&E&&I.open(ae.target,ae,E.props.href,E.props.routerOptions)}},R="menuitem";P||(B.selectionMode==="single"?R="menuitemradio":B.selectionMode==="multiple"&&(R="menuitemcheckbox"));let A=lt(),z=lt(),K=lt(),N={id:n,"aria-disabled":F||void 0,role:R,"aria-label":e["aria-label"],"aria-labelledby":A,"aria-describedby":[z,K].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};B.selectionMode!=="none"&&!P&&(N["aria-checked"]=k),i&&(N["aria-posinset"]=E==null?void 0:E.index,N["aria-setsize"]=Ll(t.collection));let U=ae=>{ae.pointerType==="keyboard"&&w(ae),s==null||s(ae)},G=()=>{!P&&V&&(a??(B.selectionMode!=="multiple"||B.isLink(r)))&&V()},Q=ae=>{ae.pointerType==="mouse"&&(w(ae),G()),d==null||d(ae)},me=ae=>{ae.pointerType!=="keyboard"&&ae.pointerType!=="mouse"&&(w(ae),G()),c==null||c(ae)},{itemProps:ne,isFocused:se}=ln({id:n,selectionManager:B,key:r,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:M.shouldUseVirtualFocus}),{pressProps:L,isPressed:ee}=Je({onPressStart:U,onPress:me,onPressUp:Q,onPressChange:f,onPressEnd:p,isDisabled:F}),{hoverProps:j}=Ce({isDisabled:F,onHoverStart(ae){!Ht()&&!(T&&l)&&(B.setFocused(!0),B.setFocusedKey(r)),m==null||m(ae)},onHoverChange:b,onHoverEnd:g}),{keyboardProps:O}=gd({onKeyDown:ae=>{if(ae.repeat){ae.continuePropagation();return}switch(ae.key){case" ":!F&&B.selectionMode==="none"&&!P&&a!==!1&&V&&V();break;case"Enter":!F&&a!==!1&&!P&&V&&V();break;default:P||ae.continuePropagation(),$==null||$(ae);break}},onKeyUp:D}),{focusProps:q}=ha({onBlur:C,onFocus:y,onFocusChange:x}),re=H(E==null?void 0:E.props);delete re.id;let Qe=fa(E==null?void 0:E.props);return{menuItemProps:{...N,..._(re,Qe,P?{onFocus:ne.onFocus,"data-collection":ne["data-collection"],"data-key":ne["data-key"]}:ne,L,j,O,q,M.shouldUseVirtualFocus||P?{onMouseDown:ae=>ae.preventDefault()}:void 0),tabIndex:ne.tabIndex!=null&&T&&!M.shouldUseVirtualFocus?-1:ne.tabIndex},labelProps:{id:A},descriptionProps:{id:z},keyboardShortcutProps:{id:K},isFocused:se,isFocusVisible:se&&B.isFocused&&Ht()&&!T,isSelected:k,isPressed:ee,isDisabled:F}}function YD(e){let{heading:t,"aria-label":u}=e,n=ue();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}function JD(e){return e&&e.__esModule?e.default:e}function QD(e,t){let{buttonRef:u,popoverRef:n,inputRef:r,listBoxRef:a,keyboardDelegate:i,layoutDelegate:l,shouldFocusWrap:s,isReadOnly:d,isDisabled:c}=e,f=o.useRef(null);u=u??f;let p=ve(JD(O3),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:b}=Ol({type:"listbox",isDisabled:c||d},t,u);xa.set(t,{id:b.id});let{collection:g}=t,{disabledKeys:$}=t.selectionManager,D=o.useMemo(()=>i||new on({collection:g,disabledKeys:$,ref:a,layoutDelegate:l}),[i,l,g,$,a]),{collectionProps:y}=Ca({selectionManager:t.selectionManager,keyboardDelegate:D,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:r,isVirtualized:!0}),x=Fu(),C=O=>{if(!O.nativeEvent.isComposing)switch(O.key){case"Enter":case"Tab":if(t.isOpen&&O.key==="Enter"&&O.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let q=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(O.key==="Enter"&&q instanceof HTMLAnchorElement){let re=t.collection.getItem(t.selectionManager.focusedKey);re&&x.open(q,O,re.props.href,re.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&O.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},B=O=>{var q;let re=(u==null?void 0:u.current)&&u.current===O.relatedTarget,Qe=(q=n.current)===null||q===void 0?void 0:q.contains(O.relatedTarget);re||Qe||(e.onBlur&&e.onBlur(O),t.setFocused(!1))},P=O=>{t.isFocused||(e.onFocus&&e.onFocus(O),t.setFocused(!0))},{isInvalid:T,validationErrors:v,validationDetails:F}=t.displayValidation,{labelProps:S,inputProps:k,descriptionProps:M,errorMessageProps:E}=Kl({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:ot(t.isOpen&&y.onKeyDown,C,e.onKeyDown),onBlur:B,value:t.inputValue,onFocus:P,autoComplete:"off",validate:void 0,[ou]:t},r),V=O=>{if(O.pointerType==="touch"){var q;(q=r.current)===null||q===void 0||q.focus(),t.toggle(null,"manual")}},I=O=>{if(O.pointerType!=="touch"){var q;(q=r.current)===null||q===void 0||q.focus(),t.toggle(O.pointerType==="keyboard"||O.pointerType==="virtual"?"first":null,"manual")}},w=yt({id:m.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||S.id}),R=yt({id:b.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||S.id}),A=o.useRef(0),z=O=>{if(c||d)return;if(O.timeStamp-A.current<500){var q;O.preventDefault(),(q=r.current)===null||q===void 0||q.focus();return}let re=O.target.getBoundingClientRect(),Qe=O.changedTouches[0],ae=Math.ceil(re.left+.5*re.width),Qt=Math.ceil(re.top+.5*re.height);if(Qe.clientX===ae&&Qe.clientY===Qt){var hu;O.preventDefault(),(hu=r.current)===null||hu===void 0||hu.focus(),t.toggle(null,"manual"),A.current=O.timeStamp}},K=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var N;let U=(N=K==null?void 0:K.parentKey)!==null&&N!==void 0?N:null;var G;let Q=(G=t.selectionManager.focusedKey)!==null&&G!==void 0?G:null,me=o.useRef(U),ne=o.useRef(Q);o.useEffect(()=>{if(Er()&&K!=null&&Q!=null&&Q!==ne.current){let q=t.selectionManager.isSelected(Q),re=U!=null?t.collection.getItem(U):null,Qe=(re==null?void 0:re["aria-label"])||(typeof(re==null?void 0:re.rendered)=="string"?re.rendered:"")||"";var O;let ae=p.format("focusAnnouncement",{isGroupChange:(O=re&&U!==me.current)!==null&&O!==void 0?O:!1,groupTitle:Qe,groupCount:re?[...we(re,t.collection)].length:0,optionText:K["aria-label"]||K.textValue||"",isSelected:q});Dt(ae)}me.current=U,ne.current=Q});let se=Ll(t.collection),L=o.useRef(se),ee=o.useRef(t.isOpen);o.useEffect(()=>{let O=t.isOpen!==ee.current&&(t.selectionManager.focusedKey==null||Er());if(t.isOpen&&(O||se!==L.current)){let q=p.format("countAnnouncement",{optionCount:se});Dt(q)}L.current=se,ee.current=t.isOpen});let j=o.useRef(t.selectedKey);return o.useEffect(()=>{if(Er()&&t.isFocused&&t.selectedItem&&t.selectedKey!==j.current){let O=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",q=p.format("selectedAnnouncement",{optionText:O});Dt(q)}j.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return Vl([r.current,n.current].filter(O=>O!=null))},[t.isOpen,r,n]),Tn(()=>{!K&&r.current&&Ke(oe(r.current))===r.current&&_c(r.current,null)},[K]),{labelProps:S,buttonProps:{...m,...w,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:V,onPressStart:I,isDisabled:c||d},inputProps:_(k,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":K?Rf(t,K.key):void 0,onTouchEnd:z,autoCorrect:"off",spellCheck:"false"}),listBoxProps:_(b,R,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:M,errorMessageProps:E,isInvalid:T,validationErrors:v,validationDetails:F}}var Cp={};Cp={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var Ep={};Ep={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var Bp={};Bp={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var kp={};kp={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var Pp={};Pp={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var Sp={};Sp={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var Ap={};Ap={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var wp={};wp={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var Fp={};Fp={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var Tp={};Tp={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var Rp={};Rp={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var Ip={};Ip={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var Kp={};Kp={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var Mp={};Mp={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var zp={};zp={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var Np={};Np={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var Vp={};Vp={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var _p={};_p={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var jp={};jp={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var Lp={};Lp={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var Op={};Op={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var Hp={};Hp={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var Up={};Up={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var Wp={};Wp={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var Zp={};Zp={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var Gp={};Gp={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var qp={};qp={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var Yp={};Yp={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var Jp={};Jp={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var Qp={};Qp={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var Xp={};Xp={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var e1={};e1={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var t1={};t1={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var u1={};u1={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var nr={};nr={"ar-AE":Cp,"bg-BG":Ep,"cs-CZ":Bp,"da-DK":kp,"de-DE":Pp,"el-GR":Sp,"en-US":Ap,"es-ES":wp,"et-EE":Fp,"fi-FI":Tp,"fr-FR":Rp,"he-IL":Ip,"hr-HR":Kp,"hu-HU":Mp,"it-IT":zp,"ja-JP":Np,"ko-KR":Vp,"lt-LT":_p,"lv-LV":jp,"nb-NO":Lp,"nl-NL":Op,"pl-PL":Hp,"pt-BR":Up,"pt-PT":Wp,"ro-RO":Zp,"ru-RU":Gp,"sk-SK":qp,"sl-SI":Yp,"sr-SP":Jp,"sv-SE":Qp,"tr-TR":Xp,"uk-UA":e1,"zh-CN":t1,"zh-TW":u1};function Hl(e,t,u){let{direction:n}=pe(),r=o.useMemo(()=>va(t),[t]),a=s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in e&&(s.preventDefault(),s.stopPropagation(),e.setOpen(!0)),!u))switch(s.key){case"ArrowLeft":if(s.preventDefault(),s.stopPropagation(),n==="rtl"){if(t.current){let d=s.target,c=xs(t.current,d.getBoundingClientRect().left,-1);c&&c.focus()}}else r.focusPrevious();break;case"ArrowRight":if(s.preventDefault(),s.stopPropagation(),n==="rtl"){if(t.current){let d=s.target,c=xs(t.current,d.getBoundingClientRect().left,1);c&&c.focus()}}else r.focusNext();break}},i=()=>{var s;if(!t.current)return;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=ke(t.current,{tabbable:!0});if(d&&(c.currentNode=d,d=c.previousNode()),!d){let f;do f=c.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:l}=Je({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return _(l,{onKeyDown:a})}function xs(e,t,u){let n=ke(e,{tabbable:!0}),r=n.nextNode(),a=null,i=1/0;for(;r;){let s=r.getBoundingClientRect().left-t,d=Math.abs(s);Math.sign(s)===u&&d<i&&(a=r,i=d),r=n.nextNode()}return a}function XD(e){return e&&e.__esModule?e.default:e}const n1=new WeakMap,An="__role_"+Date.now(),r1="__focusManager_"+Date.now();function a1(e,t,u){var n;let{isInvalid:r,validationErrors:a,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=pu({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||a}),f=o.useRef(null),{focusWithinProps:p}=pt({...e,onFocusWithin(S){var k;f.current=t.value,(k=e.onFocus)===null||k===void 0||k.call(e,S)},onBlurWithin:S=>{var k;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(k=e.onBlur)===null||k===void 0||k.call(e,S)},onFocusWithinChange:e.onFocusChange}),m=ve(XD(nr),"@react-aria/datepicker"),b=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",g=t.maxGranularity==="hour"?"time":"date",$=t.value?m.format(b,{[g]:t.formatValue({month:"long"})}):"",D=Et($),y=e[An]==="presentation"?s["aria-describedby"]:[D["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,x=e[r1],C=o.useMemo(()=>x||va(u),[x,u]),B=Hl(t,u,e[An]==="presentation");n1.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:y,focusManager:C});let P=o.useRef(e.autoFocus),T;e[An]==="presentation"?T={role:"presentation"}:T=_(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":y}),o.useEffect(()=>{P.current&&C.focusFirst(),P.current=!1},[C]),qn(e.inputRef,t.value,t.setValue),tr({...e,focus(){C.focusFirst()}},t,e.inputRef);let v={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(v.type="text",v.hidden=!0,v.required=e.isRequired,v.onChange=()=>{});let F=H(e);return{labelProps:{...l,onClick:()=>{C.focusFirst()}},fieldProps:_(F,T,B,p,{onKeyDown(S){e.onKeyDown&&e.onKeyDown(S)},onKeyUp(S){e.onKeyUp&&e.onKeyUp(S)},style:{unicodeBidi:"isolate"}}),inputProps:v,descriptionProps:d,errorMessageProps:c,isInvalid:r,validationErrors:a,validationDetails:i}}function ev(e){return e&&e.__esModule?e.default:e}function tv(e,t,u){let n=ue(),r=ue(),a=ue(),i=ve(ev(nr),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=pu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=Hl(t,u),g=f["aria-labelledby"]||f.id,{locale:$}=pe(),D=t.formatValue($,{month:"long"}),y=D?i.format("selectedDateDescription",{date:D}):"",x=Et(y),C=[x["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,B=H(e),P=o.useMemo(()=>va(u),[u]),T=o.useRef(!1),{focusWithinProps:v}=pt({...e,isDisabled:t.isOpen,onBlurWithin:F=>{let S=document.getElementById(r);if(!(S!=null&&S.contains(F.relatedTarget))){var k,M;T.current=!1,(k=e.onBlur)===null||k===void 0||k.call(e,F),(M=e.onFocusChange)===null||M===void 0||M.call(e,!1)}},onFocusWithin:F=>{if(!T.current){var S,k;T.current=!0,(S=e.onFocus)===null||S===void 0||S.call(e,F),(k=e.onFocusChange)===null||k===void 0||k.call(e,!0)}}});return{groupProps:_(B,b,f,x,v,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":g,"aria-describedby":C,onKeyDown(F){t.isOpen||e.onKeyDown&&e.onKeyDown(F)},onKeyUp(F){t.isOpen||e.onKeyUp&&e.onKeyUp(F)}}),labelProps:{...c,onClick:()=>{P.focusFirst()}},fieldProps:{...f,id:a,[An]:"presentation","aria-describedby":C,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[ou]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:m,buttonProps:{...x,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${g}`,"aria-describedby":C,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:r,"aria-labelledby":`${n} ${g}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function uv(e){return e&&e.__esModule?e.default:e}function nv(){let{locale:e}=pe(),t=ic(uv(nr),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new rv(e,t)}},[e,t])}class rv{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function av(e,t,u){let n=o.useRef(""),{locale:r,direction:a}=pe(),i=nv(),{ariaLabel:l,ariaLabelledBy:s,ariaDescribedBy:d,focusManager:c}=n1.get(t),f=e.isPlaceholder?"":e.text,p=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),m=$t({month:"long",timeZone:p.timeZone}),b=$t({hour:"numeric",hour12:p.hour12,timeZone:p.timeZone});if(e.type==="month"&&!e.isPlaceholder){let K=m.format(t.dateValue);f=K!==f?`${f} – ${K}`:K}else e.type==="hour"&&!e.isPlaceholder&&(f=b.format(t.dateValue));let{spinButtonProps:g}=mD({value:e.value,textValue:f,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),$=o.useMemo(()=>new Ic(r,{maximumFractionDigits:0}),[r]),D=()=>{if(e.text===e.placeholder&&c.focusPrevious(),$.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let K=e.text.slice(0,-1),N=$.parse(K);K=N===0?"":K,K.length===0||N===0?t.clearSegment(e.type):t.setSegment(e.type,N),n.current=K}else e.type==="dayPeriod"&&t.clearSegment(e.type)},y=K=>{if(K.key==="a"&&(vt()?K.metaKey:K.ctrlKey)&&K.preventDefault(),!(K.ctrlKey||K.metaKey||K.shiftKey||K.altKey))switch(K.key){case"Backspace":case"Delete":K.preventDefault(),K.stopPropagation(),D();break}},{startsWith:x}=Kc({sensitivity:"base"}),C=$t({hour:"numeric",hour12:!0}),B=o.useMemo(()=>{let K=new Date;return K.setHours(0),C.formatToParts(K).find(N=>N.type==="dayPeriod").value},[C]),P=o.useMemo(()=>{let K=new Date;return K.setHours(12),C.formatToParts(K).find(N=>N.type==="dayPeriod").value},[C]),T=$t({year:"numeric",era:"narrow",timeZone:"UTC"}),v=o.useMemo(()=>{if(e.type!=="era")return[];let K=De(new Te(1,1,1),t.calendar),N=t.calendar.getEras().map(G=>{let Q=K.set({year:1,month:1,day:1,era:G}).toDate("UTC"),ne=T.formatToParts(Q).find(se=>se.type==="era").value;return{era:G,formatted:ne}}),U=iv(N.map(G=>G.formatted));if(U)for(let G of N)G.formatted=G.formatted.slice(U);return N},[T,t.calendar,e.type]),F=K=>{if(t.isDisabled||t.isReadOnly)return;let N=n.current+K;switch(e.type){case"dayPeriod":if(x(B,K))t.setSegment("dayPeriod",0);else if(x(P,K))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let U=v.find(G=>x(G.formatted,K));U&&(t.setSegment("era",U.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!$.isValidPartialNumber(N))return;let U=$.parse(N),G=U,Q=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":U>11&&(G=$.parse(K));break;case"h12":Q=!1,U>12&&(G=$.parse(K));break}e.value!==void 0&&e.value>=12&&U>1&&(U+=12)}else e.maxValue!==void 0&&U>e.maxValue&&(G=$.parse(K));if(isNaN(U))return;let me=G!==0||Q;me&&t.setSegment(e.type,G),e.maxValue!==void 0&&(+(U+"0")>e.maxValue||N.length>=String(e.maxValue).length)?(n.current="",me&&c.focusNext()):n.current=N;break}}},S=()=>{n.current="",u.current&&Ve(u.current,{containingElement:Ne(u.current)});let K=window.getSelection();K==null||K.collapse(u.current)},k=o.useRef(typeof document<"u"?document:null);ct(k,"selectionchange",()=>{var K;let N=window.getSelection();N!=null&&N.anchorNode&&(!((K=u.current)===null||K===void 0)&&K.contains(N==null?void 0:N.anchorNode))&&N.collapse(u.current)});let M=o.useRef("");ct(u,"beforeinput",K=>{if(u.current)switch(K.preventDefault(),K.inputType){case"deleteContentBackward":case"deleteContentForward":$.isValidPartialNumber(e.text)&&!t.isReadOnly&&D();break;case"insertCompositionText":M.current=u.current.textContent,u.current.textContent=u.current.textContent;break;default:K.data!=null&&F(K.data);break}}),ct(u,"input",K=>{let{inputType:N,data:U}=K;switch(N){case"insertCompositionText":u.current&&(u.current.textContent=M.current),U!=null&&(x(B,U)||x(P,U))&&F(U);break}}),Y(()=>{let K=u.current;return()=>{document.activeElement===K&&(c.focusPrevious()||c.focusNext())}},[u,c]);let E=Zn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},V=o.useMemo(()=>t.segments.find(K=>K.isEditable),[t.segments]);e!==V&&!t.isInvalid&&(d=void 0);let I=ue(),w=!t.isDisabled&&!t.isReadOnly&&e.isEditable,R=e.type==="literal"?"":i.of(e.type),A=yt({"aria-label":`${R}${l?`, ${l}`:""}${s?", ":""}`,"aria-labelledby":s});if(e.type==="literal")return{segmentProps:{"aria-hidden":!0}};let z={caretColor:"transparent"};if(a==="rtl"){z.unicodeBidi="embed";let K=p[e.type];(K==="numeric"||K==="2-digit")&&(z.direction="ltr")}return{segmentProps:_(g,A,{id:I,...E,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":d,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:w,suppressContentEditableWarning:w,spellCheck:w?"false":void 0,autoCorrect:w?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:w?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!w?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:y,onFocus:S,style:z,onPointerDown(K){K.stopPropagation()},onMouseDown(K){K.stopPropagation()}})}}function iv(e){e.sort();let t=e[0],u=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==u[n])return n;return 0}function lv(e){return e&&e.__esModule?e.default:e}function ov(e,t,u){var n,r,a;let i=ve(lv(nr),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=pu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=f["aria-labelledby"]||f.id,{locale:g}=pe(),$=t.formatValue(g,{month:"long"}),D=$?i.format("selectedRangeDescription",{startDate:$.start,endDate:$.end}):"",y=Et(D),x={"aria-label":i.format("startDate"),"aria-labelledby":b},C={"aria-label":i.format("endDate"),"aria-labelledby":b},B=ue(),P=ue(),T=Hl(t,u),v=[y["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,F=o.useMemo(()=>va(u,{accept:A=>A.id!==B}),[u,B]),S={[r1]:F,[An]:"presentation","aria-describedby":v,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},k=H(e),M=o.useRef(!1),{focusWithinProps:E}=pt({...e,isDisabled:t.isOpen,onBlurWithin:A=>{let z=document.getElementById(P);if(!(z!=null&&z.contains(A.relatedTarget))){var K,N;M.current=!1,(K=e.onBlur)===null||K===void 0||K.call(e,A),(N=e.onFocusChange)===null||N===void 0||N.call(e,!1)}},onFocusWithin:A=>{if(!M.current){var z,K;M.current=!0,(z=e.onFocus)===null||z===void 0||z.call(e,A),(K=e.onFocusChange)===null||K===void 0||K.call(e,!0)}}}),V=o.useRef(uu),I=o.useRef(uu);var w,R;return{groupProps:_(k,T,f,y,E,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":v,onKeyDown(A){t.isOpen||e.onKeyDown&&e.onKeyDown(A)},onKeyUp(A){t.isOpen||e.onKeyUp&&e.onKeyUp(A)}}),labelProps:{...c,onClick:()=>{F.focusFirst()}},buttonProps:{...y,id:B,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${B} ${b}`,"aria-describedby":v,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:P,"aria-labelledby":`${B} ${b}`},startFieldProps:{...x,...S,value:(w=(n=t.value)===null||n===void 0?void 0:n.start)!==null&&w!==void 0?w:null,onChange:A=>t.setDateTime("start",A),autoFocus:e.autoFocus,name:e.startName,[ou]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(A){V.current=A,t.updateValidation(Hn(A,I.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...S,value:(R=(r=t.value)===null||r===void 0?void 0:r.end)!==null&&R!==void 0?R:null,onChange:A=>t.setDateTime("end",A),name:e.endName,[ou]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(A){I.current=A,t.updateValidation(Hn(V.current,A))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:p,errorMessageProps:m,calendarProps:{autoFocus:!0,value:!((a=t.dateRange)===null||a===void 0)&&a.start&&t.dateRange.end?t.dateRange:null,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function i1(e,t){let{role:u="dialog"}=e,n=lt();n=e["aria-label"]?void 0:n;let r=o.useRef(!1);return o.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){xe(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(r.current=!0,t.current&&(t.current.blur(),xe(t.current)),r.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),Ff(),{dialogProps:{...H(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{r.current&&a.stopPropagation()}},titleProps:{id:n}}}function sv(e,t,u){let{isDisabled:n}=e,r=ue(),a=ue(),l=!Ct()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),Wt.flushSync(()=>{t.toggle()})},[u,t]);return ct(u,"beforematch",l?d:null),Y(()=>{s.current&&cancelAnimationFrame(s.current),l&&u.current&&!n&&(t.isExpanded?u.current.removeAttribute("hidden"):u.current.setAttribute("hidden","until-found"))},[n,u,t.isExpanded,l]),o.useEffect(()=>()=>{s.current&&cancelAnimationFrame(s.current)},[]),{buttonProps:{id:r,"aria-expanded":t.isExpanded,"aria-controls":a,onPress:c=>{!n&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:n,onPressStart(c){c.pointerType==="keyboard"&&!n&&t.toggle()}},panelProps:{id:a,role:"group","aria-labelledby":r,"aria-hidden":!t.isExpanded,hidden:l?!0:!t.isExpanded}}}var Le=function(e){return e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all",e}({});const l1={...Le,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},dv=Ul(l1);dv[7]="all";Ul(Le);const o1={none:"cancel",link:"link",copy:"copy",move:"move"},si=Ul(o1);function Ul(e){let t={};for(let u in e)t[e[u]]=u;return t}const cv=new Set(["text/plain","text/uri-list","text/html"]),Yr="application/vnd.react-aria.items+json",Jr="application/octet-stream",fv=Symbol();function pv(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function mv(){return pv(fl())}function Cs(e,t){let u=new Map,n=!1,r=[];for(let a of t){let i=Object.keys(a);i.length>1&&(n=!0);let l={};for(let s of i){let d=u.get(s);d?n=!0:(d=[],u.set(s,d));let c=a[s];l[s]=c,d.push(c)}r.push(l)}for(let[a,i]of u)if(cv.has(a)){let l=i.join(`
|
|
18
|
+
`);e.items.add(l,a)}else e.items.add(i[0],a);if(n){let a=JSON.stringify(r);e.items.add(a,Yr)}}class gr{has(t){return this.includesUnknownTypes||t===fv&&this.types.has(Jr)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let u=!1;for(let n of t.items)n.type!==Yr&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(Jr));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function s1(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(Yr))try{let n=e.getData(Yr),r=JSON.parse(n);for(let a of r)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});u=!0}catch{}if(!u){let n=new Map;for(let r of e.items)if(r.kind==="string")n.set(r.type||Jr,e.getData(r.type));else if(r.kind==="file")if(typeof r.webkitGetAsEntry=="function"){let a=r.webkitGetAsEntry();if(!a)continue;a.isFile?t.push(Oi(r.getAsFile())):a.isDirectory&&t.push(d1(a))}else t.push(Oi(r.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:r=>Promise.resolve(n.get(r))})}return t}function bv(e){return typeof e.text=="function"?e.text():new Promise((t,u)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=u,n.readAsText(e)})}function Oi(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||Jr,name:e.name,getText:()=>bv(e),getFile:()=>Promise.resolve(e)}}function d1(e){return{kind:"directory",name:e.name,getEntries:()=>hv(e)}}async function*hv(e){let t=e.createReader(),u;do{u=await new Promise((n,r)=>{t.readEntries(n,r)});for(let n of u)if(n.isFile){let r=await $v(n);yield Oi(r)}else n.isDirectory&&(yield d1(n))}while(u.length>0)}function $v(e){return new Promise((t,u)=>e.file(t,u))}let c1={draggingKeys:new Set};function gv(e){c1=e}let Es=Le.none,Bs=new Map,ks=null,Ps=new Set;function Dv(e){return Bs.set(e.element,e),()=>{Bs.delete(e.element)}}function vv(){let[e,t]=o.useState(ks);return o.useEffect(()=>{let u=()=>t(ks);return Ps.add(u),()=>{Ps.delete(u)}},[]),e}var f1={};f1={dragDescriptionKeyboard:"اضغط Enter لبدء السحب.",dragDescriptionKeyboardAlt:"اضغط على Alt + Enter لبدء السحب.",dragDescriptionLongPress:"اضغط باستمرار لبدء السحب.",dragDescriptionTouch:"اضغط مرتين لبدء السحب.",dragDescriptionVirtual:"انقر لبدء السحب.",dragItem:e=>`اسحب ${e.itemText}`,dragSelectedItems:(e,t)=>`اسحب ${t.plural(e.count,{one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عناصر محددة`})}`,dragSelectedKeyboard:(e,t)=>`اضغط على Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedKeyboardAlt:(e,t)=>`اضغط على مفتاحي Alt + Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedLongPress:(e,t)=>`اضغط باستمرار للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragStartedKeyboard:"بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.",dragStartedTouch:"بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.",dragStartedVirtual:"بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.",dropCanceled:"تم إلغاء الإفلات.",dropComplete:"اكتمل الإفلات.",dropDescriptionKeyboard:"اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.",dropDescriptionTouch:"اضغط مرتين للإفلات.",dropDescriptionVirtual:"انقر للإفلات.",dropIndicator:"مؤشر الإفلات",dropOnItem:e=>`إفلات ${e.itemText}`,dropOnRoot:"الإفلات",endDragKeyboard:"السحب. اضغط Enter لإلغاء السحب.",endDragTouch:"السحب. اضغط مرتين لإلغاء السحب.",endDragVirtual:"السحب. انقر لإلغاء السحب.",insertAfter:e=>`أدخل بعد ${e.itemText}`,insertBefore:e=>`أدخل قبل ${e.itemText}`,insertBetween:e=>`أدخل بين ${e.beforeItemText} و ${e.afterItemText}`};var p1={};p1={dragDescriptionKeyboard:"Натиснете „Enter“, за да започнете да плъзгате.",dragDescriptionKeyboardAlt:"Натиснете Alt + Enter, за да започнете да плъзгате.",dragDescriptionLongPress:"Натиснете продължително, за да започнете да плъзгате.",dragDescriptionTouch:"Натиснете двукратно, за да започнете да плъзгате.",dragDescriptionVirtual:"Щракнете, за да започнете да плъзгате.",dragItem:e=>`Плъзни ${e.itemText}`,dragSelectedItems:(e,t)=>`Плъзни ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елемента`})}`,dragSelectedKeyboard:(e,t)=>`Натиснете Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натиснете Alt и Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedLongPress:(e,t)=>`Натиснете продължително, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragStartedKeyboard:"Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.",dragStartedTouch:"Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.",dragStartedVirtual:"Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.",dropCanceled:"Пускането е отменено.",dropComplete:"Пускането е завършено.",dropDescriptionKeyboard:"Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.",dropDescriptionTouch:"Натиснете двукратно за пускане.",dropDescriptionVirtual:"Щракнете за пускане.",dropIndicator:"индикатор за пускане",dropOnItem:e=>`Пусни върху ${e.itemText}`,dropOnRoot:"Пусни върху",endDragKeyboard:"Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.",endDragTouch:"Плъзгане. Натиснете двукратно за отмяна на плъзгането.",endDragVirtual:"Плъзгане. Щракнете за отмяна.",insertAfter:e=>`Вмъкни след ${e.itemText}`,insertBefore:e=>`Вмъкни преди ${e.itemText}`,insertBetween:e=>`Вмъкни между ${e.beforeItemText} и ${e.afterItemText}`};var m1={};m1={dragDescriptionKeyboard:"Stisknutím klávesy Enter začnete s přetahováním.",dragDescriptionKeyboardAlt:"Stisknutím Alt + Enter zahájíte přetahování.",dragDescriptionLongPress:"Dlouhým stisknutím zahájíte přetahování.",dragDescriptionTouch:"Poklepáním začnete s přetahováním.",dragDescriptionVirtual:"Kliknutím začnete s přetahováním.",dragItem:e=>`Přetáhnout ${e.itemText}`,dragSelectedItems:(e,t)=>`Přetáhnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,few:()=>`${t.number(e.count)} vybrané položky`,other:()=>`${t.number(e.count)} vybraných položek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknutím klávesy Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknutím Alt + Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouhým stisknutím přetáhnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragStartedKeyboard:"Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dragStartedTouch:"Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.",dragStartedVirtual:"Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.",dropCanceled:"Přetažení bylo zrušeno.",dropComplete:"Přetažení bylo dokončeno.",dropDescriptionKeyboard:"Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dropDescriptionTouch:"Poklepáním přetažení dokončete.",dropDescriptionVirtual:"Kliknutím objekt přetáhněte.",dropIndicator:"indikátor přetažení",dropOnItem:e=>`Přetáhnout na ${e.itemText}`,dropOnRoot:"Přetáhnout na",endDragKeyboard:"Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.",endDragTouch:"Probíhá přetahování. Poklepáním přetažení zrušíte.",endDragVirtual:"Probíhá přetahování. Kliknutím přetažení zrušíte.",insertAfter:e=>`Vložit za ${e.itemText}`,insertBefore:e=>`Vložit před ${e.itemText}`,insertBetween:e=>`Vložit mezi ${e.beforeItemText} a ${e.afterItemText}`};var b1={};b1={dragDescriptionKeyboard:"Tryk på Enter for at starte med at trække.",dragDescriptionKeyboardAlt:"Tryk på Alt + Enter for at starte med at trække.",dragDescriptionLongPress:"Tryk længe for at starte med at trække.",dragDescriptionTouch:"Dobbelttryk for at starte med at trække.",dragDescriptionVirtual:"Klik for at starte med at trække.",dragItem:e=>`Træk ${e.itemText}`,dragSelectedItems:(e,t)=>`Træk ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk på Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk på Alt + Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk længe for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.",dragStartedTouch:"Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldført.",dropDescriptionKeyboard:"Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip på ${e.itemText}`,dropOnRoot:"Slip på",endDragKeyboard:"Trækning. Tryk på enter for at annullere træk.",endDragTouch:"Trækning. Dobbelttryk for at annullere træk.",endDragVirtual:"Trækning. Klik for at annullere trækning.",insertAfter:e=>`Indsæt efter ${e.itemText}`,insertBefore:e=>`Indsæt før ${e.itemText}`,insertBetween:e=>`Indsæt mellem ${e.beforeItemText} og ${e.afterItemText}`};var h1={};h1={dragDescriptionKeyboard:"Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe drücken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang drücken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Objekt`,other:()=>`${t.number(e.count)} ausgewählte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einfügen`,insertBefore:e=>`Vor ${e.itemText} einfügen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einfügen`};var $1={};$1={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var g1={};g1={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var D1={};D1={dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al público destinatario donde se vaya a colocar y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocación.",dropComplete:"Colocación finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocación",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar después de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var v1={};v1={dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Klõpsake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksust`,other:()=>`${t.number(e.count)} valitud üksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks klõpsake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks klõpsake.",insertAfter:e=>`Sisesta ${e.itemText} järele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var y1={};y1={dragDescriptionKeyboard:"Aloita vetäminen painamalla Enter-näppäintä.",dragDescriptionKeyboardAlt:"Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.",dragDescriptionLongPress:"Aloita vetäminen pitämällä painettuna.",dragDescriptionTouch:"Aloita vetäminen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vetäminen napsauttamalla.",dragItem:e=>`Vedä kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Vedä ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Vedä painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Vedä painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Vedä pitämällä painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.",dragStartedTouch:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.",endDragTouch:"Vedetään. Peruuta vetäminen kaksoisnapauttamalla.",endDragVirtual:"Vedetään. Peruuta vetäminen napsauttamalla.",insertAfter:e=>`Lisää kohteen ${e.itemText} jälkeen`,insertBefore:e=>`Lisää ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lisää kohteiden ${e.beforeItemText} ja ${e.afterItemText} väliin`};var x1={};x1={dragDescriptionKeyboard:"Appuyez sur Entrée pour commencer le déplacement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt + Entrée pour commencer à faire glisser.",dragDescriptionLongPress:"Appuyez de manière prolongée pour commencer à faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le déplacement.",dragDescriptionVirtual:"Cliquez pour commencer le déplacement.",dragItem:e=>`Déplacer ${e.itemText}`,dragSelectedItems:(e,t)=>`Déplacer ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt + Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de manière prolongée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragStartedKeyboard:"Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.",dragStartedTouch:"Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.",dragStartedVirtual:"Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.",dropCanceled:"Dépôt annulé.",dropComplete:"Dépôt terminé.",dropDescriptionKeyboard:"Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.",dropDescriptionTouch:"Touchez deux fois pour déposer.",dropDescriptionVirtual:"Cliquez pour déposer.",dropIndicator:"indicateur de dépôt",dropOnItem:e=>`Déposer sur ${e.itemText}`,dropOnRoot:"Déposer sur",endDragKeyboard:"Déplacement. Appuyez sur Entrée pour annuler le déplacement.",endDragTouch:"Déplacement. Touchez deux fois pour annuler le déplacement.",endDragVirtual:"Déplacement. Cliquez pour annuler le déplacement.",insertAfter:e=>`Insérer après ${e.itemText}`,insertBefore:e=>`Insérer avant ${e.itemText}`,insertBetween:e=>`Insérer entre ${e.beforeItemText} et ${e.afterItemText}`};var C1={};C1={dragDescriptionKeyboard:"הקש על Enter כדי להתחיל לגרור.",dragDescriptionKeyboardAlt:"הקש Alt + Enter כדי להתחיל לגרור.",dragDescriptionLongPress:"לחץ לחיצה ארוכה כדי להתחיל לגרור.",dragDescriptionTouch:"הקש פעמיים כדי להתחיל בגרירה.",dragDescriptionVirtual:"לחץ כדי להתחיל לגרור.",dragItem:e=>`גרור את ${e.itemText}`,dragSelectedItems:(e,t)=>`גרור ${t.plural(e.count,{one:()=>`פריט נבחר ${t.number(e.count)}`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}`,dragSelectedKeyboard:(e,t)=>`הקש על Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedKeyboardAlt:(e,t)=>`הקש Alt + Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedLongPress:(e,t)=>`לחץ לחיצה ארוכה כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragStartedKeyboard:"התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.",dragStartedTouch:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.",dragStartedVirtual:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.",dropCanceled:"השחרור בוטל.",dropComplete:"השחרור הושלם.",dropDescriptionKeyboard:"הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.",dropDescriptionTouch:"הקש פעמיים כדי לשחרר.",dropDescriptionVirtual:"לחץ כדי לשחרר.",dropIndicator:"מחוון שחרור",dropOnItem:e=>`שחרר על ${e.itemText}`,dropOnRoot:"שחרר על",endDragKeyboard:"גורר. הקש על Enter כדי לבטל את הגרירה.",endDragTouch:"גורר. הקש פעמיים כדי לבטל את הגרירה.",endDragVirtual:"גורר. לחץ כדי לבטל את הגרירה.",insertAfter:e=>`הוסף אחרי ${e.itemText}`,insertBefore:e=>`הוסף לפני ${e.itemText}`,insertBetween:e=>`הוסף בין ${e.beforeItemText} לבין ${e.afterItemText}`};var E1={};E1={dragDescriptionKeyboard:"Pritisnite Enter da biste počeli povlačiti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za početak povlačenja.",dragDescriptionLongPress:"Dugo pritisnite za početak povlačenja.",dragDescriptionTouch:"Dvaput dodirnite da biste počeli povlačiti.",dragDescriptionVirtual:"Kliknite da biste počeli povlačiti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.",dragStartedTouch:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povlačenje je prekinuto.",dropComplete:"Ispuštanje je dovršeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispuštanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.",endDragTouch:"Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.",endDragVirtual:"Povlačenje. Kliknite da biste prekinuli povlačenje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite između stavki ${e.beforeItemText} i ${e.afterItemText}`};var B1={};B1={dragDescriptionKeyboard:"Nyomja le az Enter billentyűt a húzás megkezdéséhez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.",dragDescriptionLongPress:"Hosszan nyomja meg a húzás elindításához.",dragDescriptionTouch:"Koppintson duplán a húzás megkezdéséhez.",dragDescriptionVirtual:"Kattintson a húzás megkezdéséhez.",dragItem:e=>`${e.itemText} húzása`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzása`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billentyűket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragStartedKeyboard:"Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.",dragStartedTouch:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.",dragStartedVirtual:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.",dropCanceled:"Elengedés megszakítva.",dropComplete:"Elengedés teljesítve.",dropDescriptionKeyboard:"Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.",dropDescriptionTouch:"Koppintson duplán az elengedéshez.",dropDescriptionVirtual:"Kattintson az elengedéshez.",dropIndicator:"elengedésjelző",dropOnItem:e=>`Elengedés erre: ${e.itemText}`,dropOnRoot:"Elengedés erre:",endDragKeyboard:"Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.",endDragTouch:"Húzás folyamatban. Koppintson duplán a húzás megszakításához.",endDragVirtual:"Húzás folyamatban. Kattintson a húzás megszakításához.",insertAfter:e=>`Beszúrás ${e.itemText} után`,insertBefore:e=>`Beszúrás ${e.itemText} elé`,insertBetween:e=>`Beszúrás ${e.beforeItemText} és ${e.afterItemText} közé`};var k1={};k1={dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var P1={};P1={dragDescriptionKeyboard:"Enter キーを押してドラッグを開始してください。",dragDescriptionKeyboardAlt:"Alt+Enter キーを押してドラッグを開始します。",dragDescriptionLongPress:"長押ししてドラッグを開始します。",dragDescriptionTouch:"ダブルタップしてドラッグを開始します。",dragDescriptionVirtual:"クリックしてドラッグを開始します。",dragItem:e=>`${e.itemText} をドラッグ`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の選択項目`,other:()=>`${t.number(e.count)} 個の選択項目`})} をドラッグ`,dragSelectedKeyboard:(e,t)=>`Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedLongPress:(e,t)=>`長押しして、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragStartedKeyboard:"ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。",dragStartedTouch:"ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。",dragStartedVirtual:"ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。",dropCanceled:"ドロップがキャンセルされました。",dropComplete:"ドロップが完了しました。",dropDescriptionKeyboard:"Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。",dropDescriptionTouch:"ダブルタップしてドロップします。",dropDescriptionVirtual:"クリックしてドロップします。",dropIndicator:"ドロップインジケーター",dropOnItem:e=>`${e.itemText} にドロップ`,dropOnRoot:"ドロップ場所",endDragKeyboard:"ドラッグしています。Enter キーを押してドラッグをキャンセルします。",endDragTouch:"ドラッグしています。ダブルタップしてドラッグをキャンセルします。",endDragVirtual:"ドラッグしています。クリックしてドラッグをキャンセルします。",insertAfter:e=>`${e.itemText} の後に挿入`,insertBefore:e=>`${e.itemText} の前に挿入`,insertBetween:e=>`${e.beforeItemText} と ${e.afterItemText} の間に挿入`};var S1={};S1={dragDescriptionKeyboard:"드래그를 시작하려면 Enter를 누르세요.",dragDescriptionKeyboardAlt:"드래그를 시작하려면 Alt + Enter를 누르십시오.",dragDescriptionLongPress:"드래그를 시작하려면 길게 누르십시오.",dragDescriptionTouch:"드래그를 시작하려면 더블 탭하세요.",dragDescriptionVirtual:"드래그를 시작하려면 클릭하세요.",dragItem:e=>`${e.itemText} 드래그`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})} 드래그`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Enter를 누르십시오.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Alt + Enter를 누르십시오.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 길게 누르십시오.`,dragStartedKeyboard:"드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.",dragStartedTouch:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.",dragStartedVirtual:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.",dropCanceled:"드롭이 취소되었습니다.",dropComplete:"드롭이 완료되었습니다.",dropDescriptionKeyboard:"드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.",dropDescriptionTouch:"더블 탭하여 드롭하세요.",dropDescriptionVirtual:"드롭하려면 클릭하세요.",dropIndicator:"드롭 표시기",dropOnItem:e=>`${e.itemText}에 드롭`,dropOnRoot:"드롭 대상",endDragKeyboard:"드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.",endDragTouch:"드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.",endDragVirtual:"드래그 중입니다. 드래그를 취소하려면 클릭하세요.",insertAfter:e=>`${e.itemText} 이후에 삽입`,insertBefore:e=>`${e.itemText} 이전에 삽입`,insertBetween:e=>`${e.beforeItemText} 및 ${e.afterItemText} 사이에 삽입`};var A1={};A1={dragDescriptionKeyboard:"Paspauskite „Enter“, kad pradėtumėte vilkti.",dragDescriptionKeyboardAlt:"Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.",dragDescriptionLongPress:"Palaikykite nuspaudę, kad pradėtumėte vilkti.",dragDescriptionTouch:"Palieskite dukart, kad pradėtumėte vilkti.",dragDescriptionVirtual:"Spustelėkite, kad pradėtumėte vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite „Enter“, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaudę palaikykite, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.",dragStartedTouch:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.",dragStartedVirtual:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.",dropCanceled:"Numetimas atšauktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.",dropDescriptionTouch:"Palieskite dukart, kad numestumėte.",dropDescriptionVirtual:"Spustelėkite, kad numestumėte.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.",endDragTouch:"Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.",endDragVirtual:"Velkama. Spustelėkite, kad atšauktumėte vilkimą.",insertAfter:e=>`Įterpti po ${e.itemText}`,insertBefore:e=>`Įterpti prieš ${e.itemText}`,insertBetween:e=>`Įterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var w1={};w1={dragDescriptionKeyboard:"Nospiediet Enter, lai sāktu vilkšanu.",dragDescriptionKeyboardAlt:"Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.",dragDescriptionLongPress:"Turiet nospiestu, lai sāktu vilkšanu.",dragDescriptionTouch:"Veiciet dubultskārienu, lai sāktu vilkšanu.",dragDescriptionVirtual:"Noklikšķiniet, lai sāktu vilkšanu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet taustiņu Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragStartedKeyboard:"Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.",dragStartedVirtual:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.",dropCanceled:"Nomešana atcelta.",dropComplete:"Nomešana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.",dropDescriptionTouch:"Veiciet dubultskārienu, lai nomestu.",dropDescriptionVirtual:"Noklikšķiniet, lai nomestu.",dropIndicator:"nomešanas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.",endDragTouch:"Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.",endDragVirtual:"Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.",insertAfter:e=>`Ievietojiet pēc ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var F1={};F1={dragDescriptionKeyboard:"Trykk på Enter for å begynne å dra.",dragDescriptionKeyboardAlt:"Trykk på Alt + Enter for å begynne å dra.",dragDescriptionLongPress:"Trykk lenge for å begynne å dra.",dragDescriptionTouch:"Dobbelttrykk for å begynne å dra.",dragDescriptionVirtual:"Klikk for å begynne å dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk på Alt + Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.",dragStartedTouch:"Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.",dragStartedVirtual:"Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.",dropCanceled:"Avbrøt slipping.",dropComplete:"Slippingen er fullført.",dropDescriptionKeyboard:"Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for å slippe.",dropDescriptionVirtual:"Klikk for å slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp på ${e.itemText}`,dropOnRoot:"Slipp på",endDragKeyboard:"Drar. Trykk på Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn før ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var T1={};T1={dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen vóór ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var R1={};R1={dragDescriptionKeyboard:"Naciśnij Enter, aby rozpocząć przeciąganie.",dragDescriptionKeyboardAlt:"Naciśnij Alt + Enter, aby rozpocząć przeciąganie.",dragDescriptionLongPress:"Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocząć przeciąganie.",dragDescriptionVirtual:"Kliknij, aby rozpocząć przeciąganie.",dragItem:e=>`Przeciągnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeciągnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych elementów`})}`,dragSelectedKeyboard:(e,t)=>`Naciśnij Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naciśnij Alt + Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedLongPress:(e,t)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragStartedKeyboard:"Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.",dragStartedTouch:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F",dragStartedVirtual:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zakończono upuszczanie.",dropDescriptionKeyboard:"Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upuścić.",dropDescriptionVirtual:"Kliknij, aby upuścić.",dropIndicator:"wskaźnik upuszczenia",dropOnItem:e=>`Upuść na ${e.itemText}`,dropOnRoot:"Upuść",endDragKeyboard:"Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.",endDragTouch:"Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.",endDragVirtual:"Przeciąganie. Kliknij, aby anulować przeciąganie.",insertAfter:e=>`Umieść za ${e.itemText}`,insertBefore:e=>`Umieść przed ${e.itemText}`,insertBetween:e=>`Umieść między ${e.beforeItemText} i ${e.afterItemText}`};var I1={};I1={dragDescriptionKeyboard:"Pressione Enter para começar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para começar a arrastar.",dragDescriptionLongPress:"Pressione e segure para começar a arrastar.",dragDescriptionTouch:"Toque duas vezes para começar a arrastar.",dragDescriptionVirtual:"Clique para começar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Liberação cancelada.",dropComplete:"Liberação concluída.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de liberação",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir após ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var K1={};K1={dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para começar a arrastar.",dragDescriptionTouch:"Faça duplo toque para começar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Faça duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Faça duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var M1={};M1={dragDescriptionKeyboard:"Apăsați pe Enter pentru a începe glisarea.",dragDescriptionKeyboardAlt:"Apăsați pe Alt + Enter pentru a începe glisarea.",dragDescriptionLongPress:"Apăsați lung pentru a începe glisarea.",dragDescriptionTouch:"Atingeți de două ori pentru a începe să glisați.",dragDescriptionVirtual:"Faceți clic pentru a începe glisarea.",dragItem:e=>`Glisați ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisați ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Apăsați pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Apăsați pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Apăsați lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.",dragStartedTouch:"A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.",dragStartedVirtual:"A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.",dropCanceled:"Fixare anulată.",dropComplete:"Fixare finalizată.",dropDescriptionKeyboard:"Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atingeți de două ori pentru a fixa.",dropDescriptionVirtual:"Faceți clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixați pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se glisează. Apăsați pe Enter pentru a anula glisarea.",endDragTouch:"Se glisează. Atingeți de două ori pentru a anula glisarea.",endDragVirtual:"Se glisează. Faceți clic pentru a anula glisarea.",insertAfter:e=>`Inserați după ${e.itemText}`,insertBefore:e=>`Inserați înainte de ${e.itemText}`,insertBetween:e=>`Inserați între ${e.beforeItemText} și ${e.afterItemText}`};var z1={};z1={dragDescriptionKeyboard:"Нажмите клавишу Enter для начала перетаскивания.",dragDescriptionKeyboardAlt:"Нажмите Alt + Enter, чтобы начать перетаскивать.",dragDescriptionLongPress:"Нажмите и удерживайте, чтобы начать перетаскивать.",dragDescriptionTouch:"Дважды нажмите для начала перетаскивания.",dragDescriptionVirtual:"Щелкните для начала перетаскивания.",dragItem:e=>`Перетащить ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетащить ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранный элемент`,other:()=>`${t.number(e.count)} выбранных элем`})}`,dragSelectedKeyboard:(e,t)=>`Нажмите Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Нажмите Alt + Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedLongPress:(e,t)=>`Нажмите и удерживайте для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragStartedKeyboard:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.",dragStartedTouch:"Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.",dragStartedVirtual:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.",dropCanceled:"Перетаскивание отменено.",dropComplete:"Перетаскивание завершено.",dropDescriptionKeyboard:"Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.",dropDescriptionTouch:"Дважды нажмите, чтобы применить перетаскивание.",dropDescriptionVirtual:"Щелкните, чтобы применить перетаскивание.",dropIndicator:"индикатор перетаскивания",dropOnItem:e=>`Перетащить на ${e.itemText}`,dropOnRoot:"Перетащить на",endDragKeyboard:"Перетаскивание. Нажмите клавишу Enter для отмены.",endDragTouch:"Перетаскивание. Дважды нажмите для отмены.",endDragVirtual:"Перетаскивание. Щелкните для отмены.",insertAfter:e=>`Вставить после ${e.itemText}`,insertBefore:e=>`Вставить перед ${e.itemText}`,insertBetween:e=>`Вставить между ${e.beforeItemText} и ${e.afterItemText}`};var N1={};N1={dragDescriptionKeyboard:"Stlačením klávesu Enter začnete presúvanie.",dragDescriptionKeyboardAlt:"Stlačením klávesov Alt + Enter začnete presúvanie.",dragDescriptionLongPress:"Dlhým stlačením začnete presúvanie.",dragDescriptionTouch:"Dvojitým kliknutím začnete presúvanie.",dragDescriptionVirtual:"Kliknutím začnete presúvanie.",dragItem:e=>`Presunúť položku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presunúť ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybraté položky`})}`,dragSelectedKeyboard:(e,t)=>`Stlačením klávesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stlačením klávesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlhým stlačením presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragStartedKeyboard:"Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.",dragStartedTouch:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.",dragStartedVirtual:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.",dropCanceled:"Umiestnenie zrušené.",dropComplete:"Umiestnenie dokončené.",dropDescriptionKeyboard:"Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.",dropDescriptionTouch:"Dvojitým kliknutím umiestnite položku.",dropDescriptionVirtual:"Kliknutím umiestnite položku.",dropIndicator:"indikátor umiestnenia",dropOnItem:e=>`Umiestniť na položku ${e.itemText}`,dropOnRoot:"Umiestniť na",endDragKeyboard:"Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.",endDragTouch:"Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.",endDragVirtual:"Prebieha presúvanie.",insertAfter:e=>`Vložiť za položku ${e.itemText}`,insertBefore:e=>`Vložiť pred položku ${e.itemText}`,insertBetween:e=>`Vložiť medzi položky ${e.beforeItemText} a ${e.afterItemText}`};var V1={};V1={dragDescriptionKeyboard:"Pritisnite tipko Enter za začetek vlečenja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za začetek vlečenja.",dragDescriptionLongPress:"Pritisnite in zadržite za začetek vlečenja.",dragDescriptionTouch:"Dvotapnite za začetek vlečenja.",dragDescriptionVirtual:"Kliknite za začetek vlečenja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadržite, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.",dragStartedTouch:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je končan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vlečenje. Pritisnite tipko Enter za preklic vlečenja.",endDragTouch:"Vlečenje. Dvotapnite za preklic vlečenja.",endDragVirtual:"Vlečenje. Kliknite, da prekličete vlečenje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var _1={};_1={dragDescriptionKeyboard:"Pritisnite Enter da biste započeli prevlačenje.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste započeli prevlačenje.",dragDescriptionLongPress:"Pritisnite dugo da biste započeli prevlačenje.",dragDescriptionTouch:"Dvaput dodirnite da biste započeli prevlačenje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:"Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.",dragStartedVirtual:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropIndicator:"Indikator otpuštanja",dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:"Otpusti na",endDragKeyboard:"Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.",endDragTouch:"Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.",endDragVirtual:"Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.",insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`};var j1={};j1={dragDescriptionKeyboard:"Tryck på enter för att börja dra.",dragDescriptionKeyboardAlt:"Tryck på Alt + Retur för att börja dra.",dragDescriptionLongPress:"Tryck länge för att börja dra.",dragDescriptionTouch:"Dubbeltryck för att börja dra.",dragDescriptionVirtual:"Klicka för att börja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck på Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck på Alt + Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck länge för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.",dragStartedTouch:"Börja dra. Navigera till ett mål och dubbeltryck för att släppa.",dragStartedVirtual:"Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.",dropCanceled:"Släppåtgärd avbröts.",dropComplete:"Släppåtgärd klar.",dropDescriptionKeyboard:"Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.",dropDescriptionTouch:"Dubbeltryck för att släppa.",dropDescriptionVirtual:"Klicka för att släppa.",dropIndicator:"släppindikator",dropOnItem:e=>`Släpp på ${e.itemText}`,dropOnRoot:"Släpp på",endDragKeyboard:"Drar. Tryck på enter för att avbryta dragåtgärd.",endDragTouch:"Drar. Dubbeltryck för att avbryta dragåtgärd.",endDragVirtual:"Drar. Klicka för att avbryta dragåtgärd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga före ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var L1={};L1={dragDescriptionKeyboard:"Sürüklemeyi başlatmak için Enter'a basın.",dragDescriptionKeyboardAlt:"Sürüklemeyi başlatmak için Alt + Enter'a basın.",dragDescriptionLongPress:"Sürüklemeye başlamak için uzun basın.",dragDescriptionTouch:"Sürüklemeyi başlatmak için çift tıklayın.",dragDescriptionVirtual:"Sürüklemeyi başlatmak için tıklayın.",dragItem:e=>`${e.itemText}’i sürükle`,dragSelectedItems:(e,t)=>`Sürükle ${t.plural(e.count,{one:()=>`${t.number(e.count)} seçili öge`,other:()=>`${t.number(e.count)} seçili öge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Enter'a basın.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Alt + Enter tuşuna basın.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için uzun basın.`,dragStartedKeyboard:"Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.",dragStartedTouch:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.",dragStartedVirtual:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.",dropCanceled:"Bırakma iptal edildi.",dropComplete:"Bırakma tamamlandı.",dropDescriptionKeyboard:"Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.",dropDescriptionTouch:"Bırakmak için çift tıklayın.",dropDescriptionVirtual:"Bırakmak için tıklayın.",dropIndicator:"bırakma göstergesi",dropOnItem:e=>`${e.itemText} üzerine bırak`,dropOnRoot:"Bırakın",endDragKeyboard:"Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.",endDragTouch:"Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.",endDragVirtual:"Sürükleme. Sürüklemeyi iptal etmek için tıklayın.",insertAfter:e=>`${e.itemText}’den sonra gir`,insertBefore:e=>`${e.itemText}’den önce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} arasına gir`};var O1={};O1={dragDescriptionKeyboard:"Натисніть Enter, щоб почати перетягування.",dragDescriptionKeyboardAlt:"Натисніть Alt + Enter, щоб почати перетягування.",dragDescriptionLongPress:"Натисніть і утримуйте, щоб почати перетягування.",dragDescriptionTouch:"Натисніть двічі, щоб почати перетягування.",dragDescriptionVirtual:"Натисніть, щоб почати перетягування.",dragItem:e=>`Перетягнути ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетягніть ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елем`})}`,dragSelectedKeyboard:(e,t)=>`Натисніть Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натисніть Alt + Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedLongPress:(e,t)=>`Утримуйте, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragStartedKeyboard:"Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.",dragStartedTouch:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.",dragStartedVirtual:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.",dropCanceled:"Перетягування скасовано.",dropComplete:"Перетягування завершено.",dropDescriptionKeyboard:"Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.",dropDescriptionTouch:"Натисніть двічі, щоб перетягнути.",dropDescriptionVirtual:"Натисніть, щоб перетягнути.",dropIndicator:"індикатор перетягування",dropOnItem:e=>`Перетягнути на ${e.itemText}`,dropOnRoot:"Перетягнути на",endDragKeyboard:"Триває перетягування. Натисніть Enter, щоб скасувати перетягування.",endDragTouch:"Триває перетягування. Натисніть двічі, щоб скасувати перетягування.",endDragVirtual:"Триває перетягування. Натисніть, щоб скасувати перетягування.",insertAfter:e=>`Вставити після ${e.itemText}`,insertBefore:e=>`Вставити перед ${e.itemText}`,insertBetween:e=>`Вставити між ${e.beforeItemText} і ${e.afterItemText}`};var H1={};H1={dragDescriptionKeyboard:"按 Enter 开始拖动。",dragDescriptionKeyboardAlt:"按 Alt + Enter 开始拖动。",dragDescriptionLongPress:"长按以开始拖动。",dragDescriptionTouch:"双击开始拖动。",dragDescriptionVirtual:"单击开始拖动。",dragItem:e=>`拖动 ${e.itemText}`,dragSelectedItems:(e,t)=>`拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 选中项目`,other:()=>`${t.number(e.count)} 选中项目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt + Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedLongPress:(e,t)=>`长按以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragStartedKeyboard:"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。",dragStartedTouch:"已开始拖动。导航到放置目标,然后双击放置。",dragStartedVirtual:"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 放置。按 Escape 取消拖动。",dropDescriptionTouch:"双击放置。",dropDescriptionVirtual:"单击放置。",dropIndicator:"放置标记",dropOnItem:e=>`放置于 ${e.itemText}`,dropOnRoot:"放置于",endDragKeyboard:"正在拖动。按 Enter 取消拖动。",endDragTouch:"正在拖动。双击取消拖动。",endDragVirtual:"正在拖动。单击取消拖动。",insertAfter:e=>`插入到 ${e.itemText} 之后`,insertBefore:e=>`插入到 ${e.itemText} 之前`,insertBetween:e=>`插入到 ${e.beforeItemText} 和 ${e.afterItemText} 之间`};var U1={};U1={dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。",dragStartedTouch:"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。",dragStartedVirtual:"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。",dropDescriptionTouch:"輕點兩下以放置。",dropDescriptionVirtual:"按一下滑鼠以放置。",dropIndicator:"放置指示器",dropOnItem:e=>`放置在「${e.itemText}」上`,dropOnRoot:"放置在",endDragKeyboard:"拖曳中。按 Enter 鍵以取消拖曳。",endDragTouch:"拖曳中。輕點兩下以取消拖曳。",endDragVirtual:"拖曳中。按一下滑鼠以取消拖曳。",insertAfter:e=>`插入至「${e.itemText}」之後`,insertBefore:e=>`插入至「${e.itemText}」之前`,insertBetween:e=>`插入至「${e.beforeItemText}」和「${e.afterItemText}」之間`};var W1={};W1={"ar-AE":f1,"bg-BG":p1,"cs-CZ":m1,"da-DK":b1,"de-DE":h1,"el-GR":$1,"en-US":g1,"es-ES":D1,"et-EE":v1,"fi-FI":y1,"fr-FR":x1,"he-IL":C1,"hr-HR":E1,"hu-HU":B1,"it-IT":k1,"ja-JP":P1,"ko-KR":S1,"lt-LT":A1,"lv-LV":w1,"nb-NO":F1,"nl-NL":T1,"pl-PL":R1,"pt-BR":I1,"pt-PT":K1,"ro-RO":M1,"ru-RU":z1,"sk-SK":N1,"sl-SI":V1,"sr-SP":_1,"sv-SE":j1,"tr-TR":L1,"uk-UA":O1,"zh-CN":H1,"zh-TW":U1};function yv(e){return e&&e.__esModule?e.default:e}const xv={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function Cv(){let e=ve(yv(W1),"@react-aria/dnd"),t=mv(),u=vv();return{dropProps:{...Et(u?e.format(xv[t]):""),onClick:()=>{}}}}const Ev=800;function Bv(e){let{hasDropButton:t,isDisabled:u}=e,[n,r]=o.useState(!1),a=o.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Le.all,dropActivateTimer:void 0}).current,i=x=>{if(r(!0),typeof e.onDropEnter=="function"){let C=x.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:x.clientX-C.x,y:x.clientY-C.y})}},l=x=>{if(r(!1),typeof e.onDropExit=="function"){let C=x.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:x.clientX-C.x,y:x.clientY-C.y})}},s=x=>{x.preventDefault(),x.stopPropagation();let C=Ss(x);if(x.clientX===a.x&&x.clientY===a.y&&C===a.allowedOperations){x.dataTransfer.dropEffect=a.dropEffect;return}a.x=x.clientX,a.y=x.clientY;let B=a.dropEffect;if(C!==a.allowedOperations){let P=di(C),T=P[0];if(typeof e.getDropOperation=="function"){let v=new gr(x.dataTransfer);T=Dr(C,e.getDropOperation(v,P))}a.dropEffect=si[T]||"none"}if(typeof e.getDropOperationForPoint=="function"){let P=new gr(x.dataTransfer),T=x.currentTarget.getBoundingClientRect(),v=Dr(C,e.getDropOperationForPoint(P,di(C),a.x-T.x,a.y-T.y));a.dropEffect=si[v]||"none"}if(a.allowedOperations=C,x.dataTransfer.dropEffect=a.dropEffect,a.dropEffect==="none"&&B!=="none"?l(x):a.dropEffect!=="none"&&B==="none"&&i(x),typeof e.onDropMove=="function"&&a.dropEffect!=="none"){let P=x.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:a.x-P.x,y:a.y-P.y})}if(clearTimeout(a.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&a.dropEffect!=="none"){let P=e.onDropActivate,T=x.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{P({type:"dropactivate",x:a.x-T.x,y:a.y-T.y})},Ev)}},d=x=>{if(x.preventDefault(),x.stopPropagation(),a.dragOverElements.add(x.target),a.dragOverElements.size>1)return;let C=Ss(x),B=di(C),P=B[0];if(typeof e.getDropOperation=="function"){let T=new gr(x.dataTransfer);P=Dr(C,e.getDropOperation(T,B))}if(typeof e.getDropOperationForPoint=="function"){let T=new gr(x.dataTransfer),v=x.currentTarget.getBoundingClientRect();P=Dr(C,e.getDropOperationForPoint(T,B,x.clientX-v.x,x.clientY-v.y))}a.x=x.clientX,a.y=x.clientY,a.allowedOperations=C,a.dropEffect=si[P]||"none",x.dataTransfer.dropEffect=a.dropEffect,P!=="cancel"&&i(x)},c=x=>{x.preventDefault(),x.stopPropagation(),a.dragOverElements.delete(x.target);for(let C of a.dragOverElements)x.currentTarget.contains(C)||a.dragOverElements.delete(C);a.dragOverElements.size>0||(a.dropEffect!=="none"&&l(x),clearTimeout(a.dropActivateTimer))},f=x=>{if(x.preventDefault(),x.stopPropagation(),a.dropEffect,typeof e.onDrop=="function"){let B=o1[a.dropEffect],P=s1(x.dataTransfer),T=x.currentTarget.getBoundingClientRect(),v={type:"drop",x:x.clientX-T.x,y:x.clientY-T.y,items:P,dropOperation:B};e.onDrop(v)}let C={...c1};a.dragOverElements.clear(),l(x),clearTimeout(a.dropActivateTimer),C.draggingCollectionRef==null||gv(C)},p=le(x=>{typeof e.onDropEnter=="function"&&e.onDropEnter(x)}),m=le(x=>{typeof e.onDropExit=="function"&&e.onDropExit(x)}),b=le(x=>{typeof e.onDropActivate=="function"&&e.onDropActivate(x)}),g=le(x=>{typeof e.onDrop=="function"&&e.onDrop(x)}),$=le((x,C)=>e.getDropOperation?e.getDropOperation(x,C):C[0]),{ref:D}=e;Y(()=>{if(!(u||!D.current))return Dv({element:D.current,getDropOperation:$,onDropEnter(x){r(!0),p(x)},onDropExit(x){r(!1),m(x)},onDrop:g,onDropActivate:b})},[u,D,$,p,m,g,b]);let{dropProps:y}=Cv();return u?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&y,onDragEnter:d,onDragOver:s,onDragLeave:c,onDrop:f},dropButtonProps:{...t&&y},isDropTarget:n}}function Ss(e){let t=l1[e.dataTransfer.effectAllowed];Es&&(t&=Es);let u=Le.none;return vt()?(e.altKey&&(u|=Le.copy),e.ctrlKey&&!rl()&&(u|=Le.link),e.metaKey&&(u|=Le.move)):(e.altKey&&(u|=Le.link),e.shiftKey&&(u|=Le.move),e.ctrlKey&&(u|=Le.copy)),u?t&u:t}function di(e){let t=[];return e&Le.move&&t.push("move"),e&Le.copy&&t.push("copy"),e&Le.link&&t.push("link"),t}function Dr(e,t){let u=Le[t];return e&u?t:"cancel"}const ci=new Map;function zu(e,t){let u=ci.get(e);if(!u){let n=new Set,r=a=>{for(let i of n)i(a)};u={listener:r,handlers:n},ci.set(e,u),document.addEventListener(e,r)}return u.handlers.add(t),()=>{u.handlers.delete(t),u.handlers.size===0&&(document.removeEventListener(e,u.listener),ci.delete(e))}}function kv(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=ha({onFocusChange:c=>{u.current=c}}),r=le(c=>{u.current&&e.getItems&&c.preventDefault()}),a=le(c=>{if(!(!u.current||!e.getItems)&&(c.preventDefault(),c.clipboardData)){var f;Cs(c.clipboardData,e.getItems({action:"copy"})),(f=e.onCopy)===null||f===void 0||f.call(e)}}),i=le(c=>{u.current&&e.onCut&&e.getItems&&c.preventDefault()}),l=le(c=>{!u.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(Cs(c.clipboardData,e.getItems({action:"cut"})),e.onCut()))}),s=le(c=>{u.current&&e.onPaste&&c.preventDefault()}),d=le(c=>{if(!(!u.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let f=s1(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return ot(zu("beforecopy",r),zu("copy",a),zu("beforecut",i),zu("cut",l),zu("beforepaste",s),zu("paste",d))},[t,r,a,i,l,s,d]),{clipboardProps:n}}const Wl=new WeakMap;function As(e,t){var u;let{id:n}=(u=Wl.get(e))!==null&&u!==void 0?u:{};if(!n)throw new Error("Unknown list");return`${n}-${Pv(t)}`}function Pv(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class Z1{isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findPreviousKey(t,u){let n=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;n=this.collection.getKeyBefore(n)}return null}findNextKey(t,u){let n=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;if(n=this.collection.getKeyAfter(n),n==null)return null}return null}getKeyForItemInRowByIndex(t,u=0){if(u<0)return null;let n=this.collection.getItem(t);if(!n)return null;let r=0;for(let l of we(n,this.collection)){var a;if(l.colSpan&&l.colSpan+r>u)return(a=l.key)!==null&&a!==void 0?a:null;l.colSpan&&(r=r+l.colSpan-1);var i;if(r===u)return(i=l.key)!==null&&i!==void 0?i:null;r++}return null}getKeyBelow(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findNextKey(u,a=>a.type==="item"),u!=null){if(this.isCell(n)){let a=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(u,a)}if(this.focusMode==="row")return u}return null}getKeyAbove(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findPreviousKey(u,a=>a.type==="item"),u!=null){if(this.isCell(n)){let a=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(u,a)}if(this.focusMode==="row")return u}return null}getKeyRightOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=we(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Vt(c))===null||n===void 0?void 0:n.key:(r=Mt(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=we(c,this.collection);var i;let p=(i=this.direction==="rtl"?Bn(f,u.index-1):Bn(f,u.index+1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t))!==null&&d!==void 0?d:null}return null}getKeyLeftOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=we(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Mt(c))===null||n===void 0?void 0:n.key:(r=Vt(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=we(c,this.collection);var i;let p=(i=this.direction==="rtl"?Bn(f,u.index+1):Bn(f,u.index-1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t))!==null&&d!==void 0?d:null}return null}getFirstKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;var i;return(i=(a=Mt(we(d,this.collection)))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findNextKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;var s;n=(s=(l=Mt(we(d,this.collection)))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getLastKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;let c=we(d,this.collection);var i;return(i=(a=Vt(c))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findPreviousKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;let c=we(d,this.collection);var s;n=(s=(l=Vt(c))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getKeyPageAbove(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&u!=null;){var a;if(u=(a=this.getKeyAbove(u))!==null&&a!==void 0?a:null,u==null)break;n=this.layoutDelegate.getItemRect(u)}return u}getKeyPageBelow(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,a=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.height<a;){let i=this.getKeyBelow(u);if(i==null)break;n=this.layoutDelegate.getItemRect(i),u=i}return u}getKeyForSearch(t,u){let n=u??null;if(!this.collator)return null;let r=this.collection;if(n=u??this.getFirstKey(),n==null)return null;let a=r.getItem(n);if(!a)return null;var i;a.type==="cell"&&(n=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;n!=null;){let c=r.getItem(n);if(!c)return null;if(c.textValue){let f=c.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){var s,d;return this.isRow(c)&&this.focusMode==="cell"?(d=(s=Mt(we(c,this.collection)))===null||s===void 0?void 0:s.key)!==null&&d!==void 0?d:null:c.key}}n=this.findNextKey(n,f=>f.type==="item"),n==null&&!l&&(n=this.getFirstKey(),l=!0)}return null}constructor(t){if(this.collection=t.collection,this.disabledKeys=t.disabledKeys,this.disabledBehavior=t.disabledBehavior||"all",this.direction=t.direction,this.collator=t.collator,!t.layout&&!t.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=t.layoutDelegate||(t.layout?new Sv(t.layout):new Li(t.ref)),this.focusMode=t.focusMode||"row"}}class Sv{getContentSize(){return this.layout.getContentSize()}getItemRect(t){var u;return((u=this.layout.getLayoutInfo(t))===null||u===void 0?void 0:u.rect)||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}constructor(t){this.layout=t}}const Zl=new WeakMap;var G1={};G1={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var q1={};q1={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var Y1={};Y1={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var J1={};J1={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var Q1={};Q1={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var X1={};X1={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var em={};em={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var tm={};tm={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var um={};um={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var nm={};nm={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var rm={};rm={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var am={};am={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var im={};im={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var lm={};lm={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var om={};om={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var sm={};sm={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var dm={};dm={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var cm={};cm={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var fm={};fm={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var pm={};pm={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var mm={};mm={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var bm={};bm={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var hm={};hm={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var $m={};$m={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var gm={};gm={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var Dm={};Dm={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var vm={};vm={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var ym={};ym={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var xm={};xm={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var Cm={};Cm={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var Em={};Em={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var Bm={};Bm={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var km={};km={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var Pm={};Pm={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var Ea={};Ea={"ar-AE":G1,"bg-BG":q1,"cs-CZ":Y1,"da-DK":J1,"de-DE":Q1,"el-GR":X1,"en-US":em,"es-ES":tm,"et-EE":um,"fi-FI":nm,"fr-FR":rm,"he-IL":am,"hr-HR":im,"hu-HU":lm,"it-IT":om,"ja-JP":sm,"ko-KR":dm,"lt-LT":cm,"lv-LV":fm,"nb-NO":pm,"nl-NL":mm,"pl-PL":bm,"pt-BR":hm,"pt-PT":$m,"ro-RO":gm,"ru-RU":Dm,"sk-SK":vm,"sl-SI":ym,"sr-SP":xm,"sv-SE":Cm,"tr-TR":Em,"uk-UA":Bm,"zh-CN":km,"zh-TW":Pm};function Av(e){return e&&e.__esModule?e.default:e}function Sm(e,t){let{getRowText:u=l=>{var s,d,c,f;return(f=(s=(d=t.collection).getTextValue)===null||s===void 0?void 0:s.call(d,l))!==null&&f!==void 0?f:(c=t.collection.getItem(l))===null||c===void 0?void 0:c.textValue}}=e,n=ve(Av(Ea),"@react-aria/grid"),r=t.selectionManager.rawSelection,a=o.useRef(r),i=le(()=>{var l;if(!t.selectionManager.isFocused||r===a.current){a.current=r;return}let s=ws(r,a.current),d=ws(a.current,r),c=t.selectionManager.selectionBehavior==="replace",f=[];if(t.selectionManager.selectedKeys.size===1&&c){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let p=u(t.selectionManager.selectedKeys.keys().next().value);p&&f.push(n.format("selectedItem",{item:p}))}}else if(s.size===1&&d.size===0){let p=u(s.keys().next().value);p&&f.push(n.format("selectedItem",{item:p}))}else if(d.size===1&&s.size===0&&t.collection.getItem(d.keys().next().value)){let p=u(d.keys().next().value);p&&f.push(n.format("deselectedItem",{item:p}))}t.selectionManager.selectionMode==="multiple"&&(f.length===0||r==="all"||r.size>1||a.current==="all"||((l=a.current)===null||l===void 0?void 0:l.size)>1)&&f.push(r==="all"?n.format("selectedAll"):n.format("selectedCount",{count:r.size})),f.length>0&&Dt(f.join(" ")),a.current=r});Tn(()=>{if(t.selectionManager.isFocused)i();else{let l=requestAnimationFrame(i);return()=>cancelAnimationFrame(l)}},[r,t.selectionManager.isFocused])}function ws(e,t){let u=new Set;if(e==="all"||t==="all")return u;for(let n of e.keys())t.has(n)||u.add(n);return u}function wv(e){return e&&e.__esModule?e.default:e}function Am(e){let t=ve(wv(Ea),"@react-aria/grid"),u=fl(),n=(u==="pointer"||u==="virtual"||u==null)&&typeof window<"u"&&"ontouchstart"in window,r=o.useMemo(()=>{let i=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,s;return n&&(s=t.format("longPressToSelect")),l==="replace"&&i!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return Et(r)}function Fv(e,t,u){let{isVirtualized:n,disallowTypeAhead:r,keyboardDelegate:a,focusMode:i,scrollRef:l,getRowText:s,onRowAction:d,onCellAction:c}=e,{selectionManager:f}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let p=rn({usage:"search",sensitivity:"base"}),{direction:m}=pe(),b=t.selectionManager.disabledBehavior,g=o.useMemo(()=>a||new Z1({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:b,ref:u,direction:m,collator:p,focusMode:i}),[a,t.collection,t.disabledKeys,b,u,m,p,i]),{collectionProps:$}=Ca({ref:u,selectionManager:f,keyboardDelegate:g,isVirtualized:n,scrollRef:l,disallowTypeAhead:r}),D=ue(e.id);Zl.set(t,{keyboardDelegate:g,actions:{onRowAction:d,onCellAction:c}});let y=Am({selectionManager:f,hasItemActions:!!(d||c)}),x=H(e,{labelable:!0}),C=o.useCallback(v=>{if(f.isFocused){v.currentTarget.contains(v.target)||f.setFocused(!1);return}v.currentTarget.contains(v.target)&&f.setFocused(!0)},[f]),B=o.useMemo(()=>({onBlur:$.onBlur,onFocus:C}),[C,$.onBlur]),P=Tl(u,{isDisabled:t.collection.size!==0}),T=_(x,{role:"grid",id:D,"aria-multiselectable":f.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?B:$,t.collection.size===0&&{tabIndex:P?-1:0}||void 0,y);return n&&(T["aria-rowcount"]=t.collection.size,T["aria-colcount"]=t.collection.columnCount),Sm({getRowText:s},t),{gridProps:T}}function Tv(){return{rowGroupProps:{role:"rowgroup"}}}function Rv(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d}=Zl.get(t),c=d.onRowAction?()=>{var g;return(g=d.onRowAction)===null||g===void 0?void 0:g.call(d,a.key)}:s,{itemProps:f,...p}=ln({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:c||!(a==null||(n=a.props)===null||n===void 0)&&n.onAction?ot(a==null||(r=a.props)===null||r===void 0?void 0:r.onAction,c):void 0,isDisabled:t.collection.size===0}),m=t.selectionManager.isSelected(a.key),b={role:"row","aria-selected":t.selectionManager.selectionMode!=="none"?m:void 0,"aria-disabled":p.isDisabled||void 0,...f};return i&&(b["aria-rowindex"]=a.index+1),{rowProps:b,...p}}function wm(e,t,u){let{node:n,isVirtualized:r,focusMode:a="child",shouldSelectOnPressUp:i,onAction:l}=e,{direction:s}=pe(),{keyboardDelegate:d,actions:{onCellAction:c}}=Zl.get(t),f=o.useRef(null),p=()=>{if(u.current){let x=ke(u.current);if(a==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let C=t.selectionManager.childFocusStrategy==="last"?fi(x):x.firstChild();if(C){xe(C);return}}(f.current!=null&&n.key!==f.current||!u.current.contains(document.activeElement))&&xe(u.current)}},{itemProps:m,isPressed:b}=ln({selectionManager:t.selectionManager,key:n.key,ref:u,isVirtualized:r,focus:p,shouldSelectOnPressUp:i,onAction:c?()=>c(n.key):l,isDisabled:t.collection.size===0}),g=x=>{if(!x.currentTarget.contains(x.target)||t.isKeyboardNavigationDisabled||!u.current||!document.activeElement)return;let C=ke(u.current);switch(C.currentNode=document.activeElement,x.key){case"ArrowLeft":{let S=s==="rtl"?C.nextNode():C.previousNode();if(a==="child"&&S===u.current&&(S=null),x.preventDefault(),x.stopPropagation(),S)xe(S),Ve(S,{containingElement:Ne(u.current)});else{var B;if(((B=d.getKeyLeftOf)===null||B===void 0?void 0:B.call(d,n.key))!==n.key){var P;(P=u.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(x.nativeEvent.type,x.nativeEvent));break}a==="cell"&&s==="rtl"?(xe(u.current),Ve(u.current,{containingElement:Ne(u.current)})):(C.currentNode=u.current,S=s==="rtl"?C.firstChild():fi(C),S&&(xe(S),Ve(S,{containingElement:Ne(u.current)})))}break}case"ArrowRight":{let S=s==="rtl"?C.previousNode():C.nextNode();if(a==="child"&&S===u.current&&(S=null),x.preventDefault(),x.stopPropagation(),S)xe(S),Ve(S,{containingElement:Ne(u.current)});else{var T;if(((T=d.getKeyRightOf)===null||T===void 0?void 0:T.call(d,n.key))!==n.key){var v;(v=u.current.parentElement)===null||v===void 0||v.dispatchEvent(new KeyboardEvent(x.nativeEvent.type,x.nativeEvent));break}a==="cell"&&s==="ltr"?(xe(u.current),Ve(u.current,{containingElement:Ne(u.current)})):(C.currentNode=u.current,S=s==="rtl"?fi(C):C.firstChild(),S&&(xe(S),Ve(S,{containingElement:Ne(u.current)})))}break}case"ArrowUp":case"ArrowDown":if(!x.altKey&&u.current.contains(x.target)){var F;x.stopPropagation(),x.preventDefault(),(F=u.current.parentElement)===null||F===void 0||F.dispatchEvent(new KeyboardEvent(x.nativeEvent.type,x.nativeEvent))}break}},$=x=>{if(f.current=n.key,x.target!==u.current){Ht()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{a==="child"&&document.activeElement===u.current&&p()})},D=_(m,{role:"gridcell",onKeyDownCapture:g,"aria-colspan":n.colSpan,"aria-colindex":n.colIndex!=null?n.colIndex+1:void 0,colSpan:r?void 0:n.colSpan,onFocus:$});var y;return r&&(D["aria-colindex"]=((y=n.colIndex)!==null&&y!==void 0?y:n.index)+1),i&&D.tabIndex!=null&&D.onPointerDown==null&&(D.onPointerDown=x=>{let C=x.currentTarget,B=C.getAttribute("tabindex");C.removeAttribute("tabindex"),requestAnimationFrame(()=>{B!=null&&C.setAttribute("tabindex",B)})}),{gridCellProps:D,isPressed:b}}function fi(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function Iv(e){return e&&e.__esModule?e.default:e}function Kv(e,t){let{key:u}=e,n=t.selectionManager,r=ue(),a=!t.selectionManager.canSelectItem(u),i=t.selectionManager.isSelected(u),l=()=>n.toggleSelection(u);const s=ve(Iv(Ea),"@react-aria/grid");return{checkboxProps:{id:r,"aria-label":s.format("select"),isSelected:i,isDisabled:a,onChange:l}}}function Mv(e,t,u){let{isVirtualized:n,keyboardDelegate:r,layoutDelegate:a,onAction:i,disallowTypeAhead:l,linkBehavior:s="action",keyboardNavigationBehavior:d="arrow"}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:c}=_l({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:u,keyboardDelegate:r,layoutDelegate:a,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:s,disallowTypeAhead:l,autoFocus:e.autoFocus}),f=ue(e.id);Wl.set(t,{id:f,onAction:i,linkBehavior:s,keyboardNavigationBehavior:d});let p=Am({selectionManager:t.selectionManager,hasItemActions:!!i}),m=Tl(u,{isDisabled:t.collection.size!==0}),b=H(e,{labelable:!0}),g=_(b,{role:"grid",id:f,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:m?-1:0}:c,p);return n&&(g["aria-rowcount"]=t.collection.size,g["aria-colcount"]=1),Sm({},t),{gridProps:g}}const Fs={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function zv(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l}=e,{direction:s}=pe(),{onAction:d,linkBehavior:c,keyboardNavigationBehavior:f}=Wl.get(t),p=lt(),m=o.useRef(null),b=()=>{var w;u.current!==null&&(m.current!=null&&a.key!==m.current||!(!((w=u.current)===null||w===void 0)&&w.contains(document.activeElement)))&&xe(u.current)},g={},$=e.hasChildItems,D=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var y,x,C;let w=(y=(x=t.collection).getChildren)===null||y===void 0?void 0:y.call(x,a.key);$=$||[...w??[]].length>1,d==null&&!D&&t.selectionManager.selectionMode==="none"&&$&&(d=()=>t.toggleKey(a.key));let R=$?t.expandedKeys.has(a.key):void 0,A=1;var B;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let z=t.collection.getItem(a.parentKey);if(z){var P,T;let K=(P=(T=t.collection).getChildren)===null||P===void 0?void 0:P.call(T,z.key);A=Vt(K).index+1}}else A=((B=(C=[...t.collection].filter(z=>z.level===0).at(-1))===null||C===void 0?void 0:C.index)!==null&&B!==void 0?B:0)+1;g={"aria-expanded":R,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":A}}let{itemProps:v,...F}=ln({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:d||!((n=a.props)===null||n===void 0)&&n.onAction?ot((r=a.props)===null||r===void 0?void 0:r.onAction,d?()=>d(a.key):void 0):void 0,focus:b,linkBehavior:c}),S=w=>{if(!w.currentTarget.contains(w.target)||!u.current||!document.activeElement)return;let R=ke(u.current);if(R.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(w.key===Fs.expand[s]&&t.selectionManager.focusedKey===a.key&&$&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),w.stopPropagation();return}else if(w.key===Fs.collapse[s]&&t.selectionManager.focusedKey===a.key&&$&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),w.stopPropagation();return}}switch(w.key){case"ArrowLeft":if(f==="arrow"){let z=s==="rtl"?R.nextNode():R.previousNode();if(z)w.preventDefault(),w.stopPropagation(),xe(z),Ve(z,{containingElement:Ne(u.current)});else if(w.preventDefault(),w.stopPropagation(),s==="rtl")xe(u.current),Ve(u.current,{containingElement:Ne(u.current)});else{R.currentNode=u.current;let K=Ts(R);K&&(xe(K),Ve(K,{containingElement:Ne(u.current)}))}}break;case"ArrowRight":if(f==="arrow"){let z=s==="rtl"?R.previousNode():R.nextNode();if(z)w.preventDefault(),w.stopPropagation(),xe(z),Ve(z,{containingElement:Ne(u.current)});else if(w.preventDefault(),w.stopPropagation(),s==="ltr")xe(u.current),Ve(u.current,{containingElement:Ne(u.current)});else{R.currentNode=u.current;let K=Ts(R);K&&(xe(K),Ve(K,{containingElement:Ne(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!w.altKey&&u.current.contains(w.target)){var A;w.stopPropagation(),w.preventDefault(),(A=u.current.parentElement)===null||A===void 0||A.dispatchEvent(new KeyboardEvent(w.nativeEvent.type,w.nativeEvent))}break;case"Tab":if(f==="tab"){let z=ke(u.current,{tabbable:!0});z.currentNode=document.activeElement,(w.shiftKey?z.previousNode():z.nextNode())&&w.stopPropagation()}}},k=w=>{if(m.current=a.key,w.target!==u.current){Ht()||t.selectionManager.setFocusedKey(a.key);return}},M=il(a.props),E=F.hasAction?M:{},V=_(v,E,{role:"row",onKeyDownCapture:S,onFocus:k,"aria-label":a.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(a.key)?t.selectionManager.isSelected(a.key):void 0,"aria-disabled":t.selectionManager.isDisabled(a.key)||void 0,"aria-labelledby":p&&a.textValue?`${As(t,a.key)} ${p}`:void 0,id:As(t,a.key)});i&&(V["aria-rowindex"]=a.index+1);let I={role:"gridcell","aria-colindex":1};return{rowProps:{..._(V,g)},gridCellProps:I,descriptionProps:{id:p},...F}}function Ts(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}const Fm=1,pi=Symbol.for("react-aria-landmark-manager");function Nv(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function Rs(){if(typeof document>"u")return null;let e=document[pi];return e&&e.version>=Fm?e:(document[pi]=new _v,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[pi])}function Vv(){return ml.useSyncExternalStore(Nv,Rs,Rs)}class _v{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(t,u){var n,r;(r=this.landmarks.find(a=>a.ref.current===t))===null||r===void 0||(n=r.focus)===null||n===void 0||n.call(r,u)}getLandmarksByRole(t){return new Set(this.landmarks.filter(u=>u.role===t))}getLandmarkByRole(t){return this.landmarks.find(u=>u.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(r=>r.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(r=>r.role==="main").length>1&&console.error('Page can contain no more than one landmark with the role "main".'),this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let u=0,n=this.landmarks.length-1;for(;u<=n;){let r=Math.floor((u+n)/2),a=t.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);!!(a&Node.DOCUMENT_POSITION_PRECEDING||a&Node.DOCUMENT_POSITION_CONTAINS)?u=r+1:n=r-1}this.landmarks.splice(u,0,t),this.checkLabels(t.role)}updateLandmark(t){let u=this.landmarks.findIndex(n=>n.ref===t.ref);u>=0&&(this.landmarks[u]={...this.landmarks[u],...t},this.checkLabels(this.landmarks[u].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(u=>u.ref!==t),this.teardownIfNeeded()}checkLabels(t){let u=this.getLandmarksByRole(t);if(u.size>1){let n=[...u].filter(r=>!r.label);if(n.length>0)console.warn(`Page contains more than one landmark with the '${t}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `,n.map(r=>r.ref.current));else{let r=[...u].map(i=>i.label);r.filter((i,l)=>r.indexOf(i)!==l).forEach(i=>{console.warn(`Page contains more than one landmark with the '${t}' role and '${i}' label. If two or more landmarks on a page share the same role, they must have unique labels: `,[...u].filter(l=>l.label===i).map(l=>l.ref.current))})}}}closestLandmark(t){let u=new Map(this.landmarks.map(r=>[r.ref.current,r])),n=t;for(;n&&!u.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return u.get(n)}getNextLandmark(t,{backward:u}){var n;let r=this.closestLandmark(t),a=u?this.landmarks.length-1:0;r&&(a=this.landmarks.indexOf(r)+(u?-1:1));let i=()=>{if(a<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;a=this.landmarks.length-1}else if(a>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;a=0}return a<0||a>=this.landmarks.length};if(i())return;let l=a;for(;!((n=this.landmarks[a].ref.current)===null||n===void 0)&&n.closest("[aria-hidden=true]");){if(a+=u?-1:1,i())return;if(a===l)break}return this.landmarks[a]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(t.target,t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&document.contains(t.ref.current)?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,u){let n=this.getNextLandmark(t,{backward:u});if(!n)return!1;if(n.lastFocused){let r=n.lastFocused;if(document.body.contains(r))return r.focus(),!0}return n.ref.current&&document.contains(n.ref.current)?(this.focusLandmark(n.ref.current,u?"backward":"forward"),!0):!1}focusinHandler(t){let u=this.closestLandmark(t.target);u&&u.ref.current!==t.target&&this.updateLandmark({ref:u.ref,lastFocused:t.target});let n=t.relatedTarget;if(n){let r=this.closestLandmark(n);r&&r.ref.current===n&&r.blur()}}focusoutHandler(t){let u=t.target,n=t.relatedTarget;if(!n||n===document){let r=this.closestLandmark(u);r&&r.ref.current===u&&r.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(u,n){let r=(n==null?void 0:n.from)||document.activeElement;return t.navigate(r,u==="backward")},focusNext(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!1)},focusPrevious(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(u=>u.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=Fm,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function jv(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:a}=e;let i=Vv(),l=n||r,[s,d]=o.useState(!1),c=o.useCallback(()=>{d(!0)},[d]),f=o.useCallback(()=>{d(!1)},[d]);return Y(()=>{if(i)return i.registerLandmark({ref:t,label:l,role:u,focus:a||c,blur:f})},[i,l,t,u,a,c,f]),o.useEffect(()=>{var p;s&&((p=t.current)===null||p===void 0||p.focus())},[s,t]),{landmarkProps:{role:u,tabIndex:s?-1:void 0,"aria-label":n,"aria-labelledby":r}}}function Lv(e){let{value:t=0,minValue:u=0,maxValue:n=100,valueLabel:r,isIndeterminate:a,formatOptions:i={style:"percent"}}=e,l=H(e,{labelable:!0}),{labelProps:s,fieldProps:d}=Il({...e,labelElementType:"span"});t=In(t,u,n);let c=(t-u)/(n-u),f=Mg(i);if(!a&&!r){let p=i.style==="percent"?c:t;r=f.format(p)}return{progressBarProps:_(l,{...d,"aria-valuenow":a?void 0:t,"aria-valuemin":u,"aria-valuemax":n,"aria-valuetext":a?void 0:r,role:"progressbar"}),labelProps:s}}const Tm=new WeakMap;function Ov(e,t,u){let{value:n,children:r,"aria-label":a,"aria-labelledby":i}=e;const l=e.isDisabled||t.isDisabled;let s=r!=null,d=a!=null||i!=null;!s&&!d&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===n,f=v=>{v.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:m}=Je({isDisabled:l}),{pressProps:b,isPressed:g}=Je({isDisabled:l,onPress(){var v;t.setSelectedValue(n),(v=u.current)===null||v===void 0||v.focus()}}),{focusableProps:$}=Gt(_(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),D=_(p,$),y=H(e,{labelable:!0}),x=-1;t.selectedValue!=null?t.selectedValue===n&&(x=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(x=0),l&&(x=void 0);let{name:C,descriptionId:B,errorMessageId:P,validationBehavior:T}=Tm.get(t);return qn(u,t.selectedValue,t.setSelectedValue),tr({validationBehavior:T},t,u),{labelProps:_(b,{onClick:v=>v.preventDefault()}),inputProps:_(y,{...D,type:"radio",name:C,tabIndex:x,disabled:l,required:t.isRequired&&T==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?P:null,B].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:c,isPressed:m||g}}function Hv(e,t){let{name:u,isReadOnly:n,isRequired:r,isDisabled:a,orientation:i="vertical",validationBehavior:l="aria"}=e,{direction:s}=pe(),{isInvalid:d,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:b,errorMessageProps:g}=pu({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),$=H(e,{labelable:!0}),{focusWithinProps:D}=pt({onBlurWithin(C){var B;(B=e.onBlur)===null||B===void 0||B.call(e,C),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),y=C=>{let B;switch(C.key){case"ArrowRight":s==="rtl"&&i!=="vertical"?B="prev":B="next";break;case"ArrowLeft":s==="rtl"&&i!=="vertical"?B="next":B="prev";break;case"ArrowDown":B="next";break;case"ArrowUp":B="prev";break;default:return}C.preventDefault();let P=ke(C.currentTarget,{from:C.target}),T;B==="next"?(T=P.nextNode(),T||(P.currentNode=C.currentTarget,T=P.firstChild())):(T=P.previousNode(),T||(P.currentNode=C.currentTarget,T=P.lastChild())),T&&(T.focus(),t.setSelectedValue(T.value))},x=ue(u);return Tm.set(t,{name:x,descriptionId:b.id,errorMessageId:g.id,validationBehavior:l}),{radioGroupProps:_($,{role:"radiogroup",onKeyDown:y,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":r||void 0,"aria-disabled":a||void 0,"aria-orientation":i,...m,...D}),labelProps:p,descriptionProps:b,errorMessageProps:g,isInvalid:d,validationErrors:c,validationDetails:f}}var Rm={};Rm={"Clear search":"مسح البحث"};var Im={};Im={"Clear search":"Изчистване на търсене"};var Km={};Km={"Clear search":"Vymazat hledání"};var Mm={};Mm={"Clear search":"Ryd søgning"};var zm={};zm={"Clear search":"Suche zurücksetzen"};var Nm={};Nm={"Clear search":"Απαλοιφή αναζήτησης"};var Vm={};Vm={"Clear search":"Clear search"};var _m={};_m={"Clear search":"Borrar búsqueda"};var jm={};jm={"Clear search":"Tühjenda otsing"};var Lm={};Lm={"Clear search":"Tyhjennä haku"};var Om={};Om={"Clear search":"Effacer la recherche"};var Hm={};Hm={"Clear search":"נקה חיפוש"};var Um={};Um={"Clear search":"Obriši pretragu"};var Wm={};Wm={"Clear search":"Keresés törlése"};var Zm={};Zm={"Clear search":"Cancella ricerca"};var Gm={};Gm={"Clear search":"検索をクリア"};var qm={};qm={"Clear search":"검색 지우기"};var Ym={};Ym={"Clear search":"Išvalyti iešką"};var Jm={};Jm={"Clear search":"Notīrīt meklēšanu"};var Qm={};Qm={"Clear search":"Tøm søk"};var Xm={};Xm={"Clear search":"Zoekactie wissen"};var eb={};eb={"Clear search":"Wyczyść zawartość wyszukiwania"};var tb={};tb={"Clear search":"Limpar pesquisa"};var ub={};ub={"Clear search":"Limpar pesquisa"};var nb={};nb={"Clear search":"Ştergeţi căutarea"};var rb={};rb={"Clear search":"Очистить поиск"};var ab={};ab={"Clear search":"Vymazať vyhľadávanie"};var ib={};ib={"Clear search":"Počisti iskanje"};var lb={};lb={"Clear search":"Obriši pretragu"};var ob={};ob={"Clear search":"Rensa sökning"};var sb={};sb={"Clear search":"Aramayı temizle"};var db={};db={"Clear search":"Очистити пошук"};var cb={};cb={"Clear search":"清除搜索"};var fb={};fb={"Clear search":"清除搜尋條件"};var pb={};pb={"ar-AE":Rm,"bg-BG":Im,"cs-CZ":Km,"da-DK":Mm,"de-DE":zm,"el-GR":Nm,"en-US":Vm,"es-ES":_m,"et-EE":jm,"fi-FI":Lm,"fr-FR":Om,"he-IL":Hm,"hr-HR":Um,"hu-HU":Wm,"it-IT":Zm,"ja-JP":Gm,"ko-KR":qm,"lt-LT":Ym,"lv-LV":Jm,"nb-NO":Qm,"nl-NL":Xm,"pl-PL":eb,"pt-BR":tb,"pt-PT":ub,"ro-RO":nb,"ru-RU":rb,"sk-SK":ab,"sl-SI":ib,"sr-SP":lb,"sv-SE":ob,"tr-TR":sb,"uk-UA":db,"zh-CN":cb,"zh-TW":fb};function Uv(e){return e&&e.__esModule?e.default:e}function Wv(e,t,u){let n=ve(Uv(pb),"@react-aria/searchfield"),{isDisabled:r,isReadOnly:a,onSubmit:i,onClear:l,type:s="search"}=e,d=D=>{const y=D.key;y==="Enter"&&(r||a)&&D.preventDefault(),!(r||a)&&(y==="Enter"&&i&&(D.preventDefault(),i(t.value)),y==="Escape"&&(t.value===""&&(!u.current||u.current.value==="")?D.continuePropagation():(D.preventDefault(),t.setValue(""),l&&l())))},c=()=>{t.setValue(""),l&&l()},f=()=>{var D;(D=u.current)===null||D===void 0||D.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:g,...$}=Kl({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:ot(d,e.onKeyDown),type:s},u);return{labelProps:p,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:r||a,onPress:c,onPressStart:f},descriptionProps:b,errorMessageProps:g,...$}}const Gl=new WeakMap;function Hi(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Zv(e,t){let u=Gl.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${Hi(t)}`}function mb(e,t,u){let n=Gl.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${Hi(t)}-${Hi(u)}`}function bb(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>mb(e,t,u)).join(" ")}var hb={};hb={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var $b={};$b={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var gb={};gb={ascending:"vzestupně",ascendingSort:e=>`řazeno vzestupně podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixelů`,descending:"sestupně",descendingSort:e=>`řazeno sestupně podle sloupce ${e.columnName}`,resizerDescription:"Stisknutím klávesy Enter začnete měnit velikost",select:"Vybrat",selectAll:"Vybrat vše",sortable:"sloupec s možností řazení"};var Db={};Db={ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende rækkefølge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende rækkefølge`,resizerDescription:"Tryk på Enter for at ændre størrelse",select:"Vælg",selectAll:"Vælg alle",sortable:"sorterbar kolonne"};var vb={};vb={ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Größenänderung drücken",select:"Auswählen",selectAll:"Alles auswählen",sortable:"sortierbare Spalte"};var yb={};yb={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var xb={};xb={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"};var Cb={};Cb={ascending:"de subida",ascendingSort:e=>`ordenado por columna ${e.columnName} en orden de subida`,columnSize:e=>`${e.value} píxeles`,descending:"de bajada",descendingSort:e=>`ordenado por columna ${e.columnName} en orden de bajada`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var Eb={};Eb={ascending:"tõusev järjestus",ascendingSort:e=>`sorditud veeru järgi ${e.columnName} tõusvas järjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv järjestus",descendingSort:e=>`sorditud veeru järgi ${e.columnName} laskuvas järjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali kõik",sortable:"sorditav veerg"};var Bb={};Bb={ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa järjestyksessä`,columnSize:e=>`${e.value} pikseliä`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa järjestyksessä`,resizerDescription:"Aloita koon muutos painamalla Enter-näppäintä",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var kb={};kb={ascending:"croissant",ascendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre croissant`,columnSize:e=>`${e.value} pixels`,descending:"décroissant",descendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre décroissant`,resizerDescription:"Appuyez sur Entrée pour commencer le redimensionnement.",select:"Sélectionner",selectAll:"Sélectionner tout",sortable:"colonne triable"};var Pb={};Pb={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var Sb={};Sb={ascending:"rastući",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastućem redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padajućim redoslijedom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se može razvrstati"};var Ab={};Ab={ascending:"növekvő",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, növekvő sorrendben`,columnSize:e=>`${e.value} képpont`,descending:"csökkenő",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, csökkenő sorrendben`,resizerDescription:"Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",select:"Kijelölés",selectAll:"Összes kijelölése",sortable:"rendezendő oszlop"};var wb={};wb={ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var Fb={};Fb={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var Tb={};Tb={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var Rb={};Rb={ascending:"didėjančia tvarka",ascendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} didėjančia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"mažėjančia tvarka",descendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} mažėjančia tvarka`,resizerDescription:"Paspauskite „Enter“, kad pradėtumėte keisti dydį",select:"Pasirinkti",selectAll:"Pasirinkti viską",sortable:"rikiuojamas stulpelis"};var Ib={};Ib={ascending:"augošā secībā",ascendingSort:e=>`kārtots pēc kolonnas ${e.columnName} augošā secībā`,columnSize:e=>`${e.value} pikseļi`,descending:"dilstošā secībā",descendingSort:e=>`kārtots pēc kolonnas ${e.columnName} dilstošā secībā`,resizerDescription:"Nospiediet Enter, lai sāktu izmēru mainīšanu",select:"Atlasīt",selectAll:"Atlasīt visu",sortable:"kārtojamā kolonna"};var Kb={};Kb={ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkefølge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkefølge`,resizerDescription:"Trykk på Enter for å starte størrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var Mb={};Mb={ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var zb={};zb={ascending:"rosnąco",ascendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku rosnącym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malejąco",descendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku malejącym`,resizerDescription:"Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z możliwością sortowania"};var Nb={};Nb={ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para começar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classificável"};var Vb={};Vb={ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna ordenável"};var _b={};_b={ascending:"crescătoare",ascendingSort:e=>`sortate după coloana ${e.columnName} în ordine crescătoare`,columnSize:e=>`${e.value} pixeli`,descending:"descrescătoare",descendingSort:e=>`sortate după coloana ${e.columnName} în ordine descrescătoare`,resizerDescription:"Apăsați pe Enter pentru a începe redimensionarea",select:"Selectare",selectAll:"Selectare totală",sortable:"coloană sortabilă"};var jb={};jb={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var Lb={};Lb={ascending:"vzostupne",ascendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,columnSize:e=>`Počet pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,resizerDescription:"Stlačením klávesu Enter začnete zmenu veľkosti",select:"Vybrať",selectAll:"Vybrať všetko",sortable:"zoraditeľný stĺpec"};var Ob={};Ob={ascending:"naraščajoče",ascendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v naraščajočem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajoče",descendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v padajočem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da začnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var Hb={};Hb={ascending:"rastući",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastućim redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`sortirano po kolonama ${e.columnName} padajućim redosledom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se može sortirati"};var Ub={};Ub={ascending:"stigande",ascendingSort:e=>`sorterat på kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat på kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck på Retur för att börja ändra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var Wb={};Wb={ascending:"artan sırada",ascendingSort:e=>`${e.columnName} sütuna göre artan düzende sırala`,columnSize:e=>`${e.value} piksel`,descending:"azalan sırada",descendingSort:e=>`${e.columnName} sütuna göre azalan düzende sırala`,resizerDescription:"Yeniden boyutlandırmak için Enter'a basın",select:"Seç",selectAll:"Tümünü Seç",sortable:"Sıralanabilir sütun"};var Zb={};Zb={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var Gb={};Gb={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var qb={};qb={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var Ba={};Ba={"ar-AE":hb,"bg-BG":$b,"cs-CZ":gb,"da-DK":Db,"de-DE":vb,"el-GR":yb,"en-US":xb,"es-ES":Cb,"et-EE":Eb,"fi-FI":Bb,"fr-FR":kb,"he-IL":Pb,"hr-HR":Sb,"hu-HU":Ab,"it-IT":wb,"ja-JP":Fb,"ko-KR":Tb,"lt-LT":Rb,"lv-LV":Ib,"nb-NO":Kb,"nl-NL":Mb,"pl-PL":zb,"pt-BR":Nb,"pt-PT":Vb,"ro-RO":_b,"ru-RU":jb,"sk-SK":Lb,"sl-SI":Ob,"sr-SP":Hb,"sv-SE":Ub,"tr-TR":Wb,"uk-UA":Zb,"zh-CN":Gb,"zh-TW":qb};class Gv extends Z1{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let n=Mt(we(u,this.collection));if(n)return n.key;let r=this.getFirstKey();return r==null||!this.collection.getItem(r)?null:super.getKeyForItemInRowByIndex(r,u.index)}return super.getKeyBelow(t)}getKeyAbove(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let a=u.parentKey!=null?this.collection.getItem(u.parentKey):null;return a&&a.type==="column"?a.key:null}let n=super.getKeyAbove(t),r=n!=null?this.collection.getItem(n):null;return r&&r.type!=="headerrow"?n:this.isCell(u)?this.collection.columns[u.index].key:this.collection.columns[0].key}findNextColumnKey(t){let u=this.findNextKey(t.key,r=>r.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level];for(let r of we(n,this.collection))if(r.type==="column")return r.key;return null}findPreviousColumnKey(t){let u=this.findPreviousKey(t.key,a=>a.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level],r=[...we(n,this.collection)];for(let a=r.length-1;a>=0;a--){let i=r[a];if(i.type==="column")return i.key}return null}getKeyRightOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(u):this.findNextColumnKey(u):super.getKeyRightOf(t):null}getKeyLeftOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findNextColumnKey(u):this.findPreviousColumnKey(u):super.getKeyLeftOf(t):null}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u??this.getFirstKey();if(r==null)return null;let a=n.getItem(r);var i;(a==null?void 0:a.type)==="cell"&&(r=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;r!=null;){let s=n.getItem(r);if(!s)return null;for(let d of we(s,this.collection)){let c=n.columns[d.index];if(n.rowHeaderColumnKeys.has(c.key)&&d.textValue){let f=d.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){let p=u!=null?n.getItem(u):a;return(p==null?void 0:p.type)==="cell"?d.key:s.key}}}r=this.getKeyBelow(r),r==null&&!l&&(r=this.getFirstKey(),l=!0)}return null}}function qv(e){return e&&e.__esModule?e.default:e}function Yv(e,t,u){let{keyboardDelegate:n,isVirtualized:r,layoutDelegate:a,layout:i}=e,l=rn({usage:"search",sensitivity:"base"}),{direction:s}=pe(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new Gv({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:d,ref:u,direction:s,collator:l,layoutDelegate:a,layout:i}),[n,t.collection,t.disabledKeys,d,u,s,l,a,i]),f=ue(e.id);Gl.set(t,f);let{gridProps:p}=Fv({...e,id:f,keyboardDelegate:c},t,u);r&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Tr()&&"expandedKeys"in t&&(p.role="treegrid");let{column:m,direction:b}=t.sortDescriptor||{},g=ve(qv(Ba),"@react-aria/table"),$=o.useMemo(()=>{var y,x;let C=(x=(y=t.collection.columns.find(B=>B.key===m))===null||y===void 0?void 0:y.textValue)!==null&&x!==void 0?x:"";return b&&m?g.format(`${b}Sort`,{columnName:C}):void 0},[b,m,t.collection.columns]),D=Et($);return Tn(()=>{$&&Dt($,"assertive",500)},[$]),{gridProps:_(p,D,{"aria-describedby":[D["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function Jv(e){return e&&e.__esModule?e.default:e}function Qv(e,t,u){var n,r;let{node:a}=e,i=a.props.allowsSorting,{gridCellProps:l}=wm({...e,focusMode:"child"},t,u),s=a.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:d}=Je({isDisabled:!i||s,onPress(){t.sort(a.key)},ref:u}),{focusableProps:c}=Gt({},u),f,p=((n=t.sortDescriptor)===null||n===void 0?void 0:n.column)===a.key,m=(r=t.sortDescriptor)===null||r===void 0?void 0:r.direction;a.props.allowsSorting&&!Fn()&&(f=p?m:"none");let b=ve(Jv(Ba),"@react-aria/table"),g;i&&(g=`${b.format("sortable")}`,p&&m&&Fn()&&(g=`${g}, ${b.format(m)}`));let $=Et(g),D=t.collection.size===0;return o.useEffect(()=>{D&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[D,t.selectionManager,a.key]),{columnHeaderProps:{..._(c,l,d,$,D?{tabIndex:-1}:null),role:"columnheader",id:Zv(t,a.key),"aria-colspan":a.colSpan&&a.colSpan>1?a.colSpan:void 0,"aria-sort":f}}}const Is={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Xv(e,t,u){let{node:n,isVirtualized:r}=e,{rowProps:a,...i}=Rv(e,t,u),{direction:l}=pe();r&&!(Tr()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let s={};if(Tr()&&"expandedKeys"in t){let B=t.keyMap.get(n.key);if(B!=null){var d,c,f,p,m,b;let P=((d=B.props)===null||d===void 0?void 0:d.UNSTABLE_childItems)||((f=B.props)===null||f===void 0||(c=f.children)===null||c===void 0?void 0:c.length)>t.userColumnCount;var g,$,D,y;s={onKeyDown:T=>{(T.key===Is.expand[l]&&t.selectionManager.focusedKey===B.key&&P&&t.expandedKeys!=="all"&&!t.expandedKeys.has(B.key)||T.key===Is.collapse[l]&&t.selectionManager.focusedKey===B.key&&P&&(t.expandedKeys==="all"||t.expandedKeys.has(B.key)))&&(t.toggleKey(B.key),T.stopPropagation())},"aria-expanded":P?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":B.level,"aria-posinset":((g=B.indexOfType)!==null&&g!==void 0?g:0)+1,"aria-setsize":B.level>1?((D=(p=Vt(($=(m=t.keyMap.get(B.parentKey))===null||m===void 0?void 0:m.childNodes)!==null&&$!==void 0?$:[]))===null||p===void 0?void 0:p.indexOfType)!==null&&D!==void 0?D:0)+1:((y=(b=Vt(t.collection.body.childNodes))===null||b===void 0?void 0:b.indexOfType)!==null&&y!==void 0?y:0)+1}}}let x=il(n.props),C=i.hasAction?x:{};return{rowProps:{..._(a,s,C),"aria-labelledby":bb(t,n.key)},...i}}function ey(e,t,u){let{node:n,isVirtualized:r}=e,a={role:"row"};return r&&!(Tr()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function ty(e,t,u){var n;let{gridCellProps:r,isPressed:a}=wm(e,t,u),i=(n=e.node.column)===null||n===void 0?void 0:n.key;return i!=null&&t.collection.rowHeaderColumnKeys.has(i)&&(r.role="rowheader",r.id=mb(t,e.node.parentKey,i)),{gridCellProps:r,isPressed:a}}function uy(e){return e&&e.__esModule?e.default:e}function ny(e,t){let{key:u}=e;const{checkboxProps:n}=Kv(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${bb(t,u)}`}}}function ry(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":ve(uy(Ba),"@react-aria/table").format(n==="single"?"select":"selectAll"),isSelected:u,isDisabled:n!=="multiple"||e.collection.size===0,isIndeterminate:!t&&!u,onChange:()=>e.selectionManager.toggleSelectAll()}}}function Yb(){return Tv()}const Jb=new WeakMap;function Qr(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${Jb.get(e)}-${u}-${t}`):""}function ay(e,t,u){let{key:n,isDisabled:r,shouldSelectOnPressUp:a}=e,{selectionManager:i,selectedKey:l}=t,s=n===l,d=r||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=ln({selectionManager:i,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:a,linkBehavior:"selection"}),p=Qr(t,n,"tab"),m=Qr(t,n,"tabpanel"),{tabIndex:b}=c,g=t.collection.getItem(n),$=H(g==null?void 0:g.props,{labelable:!0});delete $.id;let D=fa(g==null?void 0:g.props),{focusableProps:y}=Gt({isDisabled:d},u);return{tabProps:_($,y,D,c,{id:p,"aria-selected":s,"aria-disabled":d||void 0,"aria-controls":s?m:void 0,tabIndex:d?void 0:b,role:"tab"}),isSelected:s,isDisabled:d,isPressed:f}}function iy(e,t,u){let n=Tl(u)?void 0:0;var r;const a=Qr(t,(r=e.id)!==null&&r!==void 0?r:t==null?void 0:t.selectedKey,"tabpanel"),i=yt({...e,id:a,"aria-labelledby":Qr(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:_(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class ly{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var u,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.isDisabled(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.isDisabled(t));return t}constructor(t,u,n,r=new Set){this.collection=t,this.flipDirection=u==="rtl"&&n==="horizontal",this.disabledKeys=r,this.tabDirection=n==="horizontal"}}function oy(e,t,u){let{orientation:n="horizontal",keyboardActivation:r="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:l}=t,{direction:s}=pe(),d=o.useMemo(()=>new ly(a,s,n,l),[a,l,n,s]),{collectionProps:c}=Ca({ref:u,selectionManager:i,keyboardDelegate:d,selectOnFocus:r==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=ue();Jb.set(t,f);let p=yt({...e,id:f});return{tabListProps:{..._(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const Qb=new WeakMap;function sy(e,t,u){let{direction:n}=pe(),r=e.keyboardDelegate||new on({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:i,descriptionProps:l,errorMessageProps:s}=pu({...e,labelElementType:"span"}),{gridProps:d}=Mv({...e,...i,keyboardDelegate:r,shouldFocusWrap:!0,linkBehavior:"override"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=pt({onFocusWithinChange:f}),m=H(e),b=o.useRef(t.collection.size);return o.useEffect(()=>{u.current&&b.current>0&&t.collection.size===0&&c&&u.current.focus(),b.current=t.collection.size},[t.collection.size,c,u]),Qb.set(t,{onRemove:e.onRemove}),{gridProps:_(d,m,{role:t.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...p,...i}),labelProps:a,descriptionProps:l,errorMessageProps:s}}var Xb={};Xb={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var e0={};e0={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var t0={};t0={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var u0={};u0={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var n0={};n0={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var r0={};r0={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var a0={};a0={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var i0={};i0={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var l0={};l0={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var o0={};o0={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var s0={};s0={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var d0={};d0={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var c0={};c0={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var f0={};f0={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var p0={};p0={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var m0={};m0={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var b0={};b0={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var h0={};h0={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var $0={};$0={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var g0={};g0={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var D0={};D0={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var v0={};v0={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var y0={};y0={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var x0={};x0={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var C0={};C0={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var E0={};E0={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var B0={};B0={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var k0={};k0={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var P0={};P0={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var S0={};S0={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var A0={};A0={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var w0={};w0={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var F0={};F0={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var T0={};T0={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var R0={};R0={"ar-AE":Xb,"bg-BG":e0,"cs-CZ":t0,"da-DK":u0,"de-DE":n0,"el-GR":r0,"en-US":a0,"es-ES":i0,"et-EE":l0,"fi-FI":o0,"fr-FR":s0,"he-IL":d0,"hr-HR":c0,"hu-HU":f0,"it-IT":p0,"ja-JP":m0,"ko-KR":b0,"lt-LT":h0,"lv-LV":$0,"nb-NO":g0,"nl-NL":D0,"pl-PL":v0,"pt-BR":y0,"pt-PT":x0,"ro-RO":C0,"ru-RU":E0,"sk-SK":B0,"sl-SI":k0,"sr-SP":P0,"sv-SE":S0,"tr-TR":A0,"uk-UA":w0,"zh-CN":F0,"zh-TW":T0};function dy(e){return e&&e.__esModule?e.default:e}function cy(e,t,u){let{item:n}=e,r=ve(dy(R0),"@react-aria/tag"),a=ue(),{onRemove:i}=Qb.get(t)||{},{rowProps:l,gridCellProps:s,...d}=zv({node:n},t,u);delete l.onKeyDownCapture;let{descriptionProps:c,...f}=d,p=t.disabledKeys.has(n.key)||n.props.isDisabled,m=T=>{if(T.key==="Delete"||T.key==="Backspace"){if(p)return;T.preventDefault(),t.selectionManager.isSelected(n.key)?i==null||i(new Set(t.selectionManager.selectedKeys)):i==null||i(new Set([n.key]))}},b=fl();b==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(b="pointer");let g=i&&(b==="keyboard"||b==="virtual")?r.format("removeDescription"):"",$=Et(g),D=n.key===t.selectionManager.focusedKey,y=t.selectionManager.focusedKey!=null,x=-1;!p&&(D||!y)&&(x=0);let C=H(n.props),B=il(n.props),{focusableProps:P}=Gt({isDisabled:p},u);return{removeButtonProps:{"aria-label":r.format("removeButtonLabel"),"aria-labelledby":`${a} ${l.id}`,isDisabled:p,id:a,onPress:()=>i?i(new Set([n.key])):null,excludeFromTabOrder:!0},rowProps:_(P,l,C,B,{tabIndex:x,onKeyDown:i?m:void 0,"aria-describedby":$["aria-describedby"]}),gridCellProps:_(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!i}}var I0={};I0={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var K0={};K0={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var M0={};M0={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var z0={};z0={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var N0={};N0={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var V0={};V0={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var _0={};_0={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var j0={};j0={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var L0={};L0={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var O0={};O0={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var H0={};H0={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var U0={};U0={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var W0={};W0={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var Z0={};Z0={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var G0={};G0={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var q0={};q0={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var Y0={};Y0={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var J0={};J0={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var Q0={};Q0={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var X0={};X0={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var eh={};eh={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var th={};th={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ń`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var uh={};uh={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var nh={};nh={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var rh={};rh={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var ah={};ah={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var ih={};ih={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var lh={};lh={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`})}.`};var oh={};oh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var sh={};sh={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var dh={};dh={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var ch={};ch={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var fh={};fh={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var ph={};ph={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var ql={};ql={"ar-AE":I0,"bg-BG":K0,"cs-CZ":M0,"da-DK":z0,"de-DE":N0,"el-GR":V0,"en-US":_0,"es-ES":j0,"et-EE":L0,"fi-FI":O0,"fr-FR":H0,"he-IL":U0,"hr-HR":W0,"hu-HU":Z0,"it-IT":G0,"ja-JP":q0,"ko-KR":Y0,"lt-LT":J0,"lv-LV":Q0,"nb-NO":X0,"nl-NL":eh,"pl-PL":th,"pt-BR":uh,"pt-PT":nh,"ro-RO":rh,"ru-RU":ah,"sk-SK":ih,"sl-SI":lh,"sr-SP":oh,"sv-SE":sh,"tr-TR":dh,"uk-UA":ch,"zh-CN":fh,"zh-TW":ph};function fy(e){return e&&e.__esModule?e.default:e}function py(e,t,u){let{key:n,timer:r,timeout:a}=e.toast;o.useEffect(()=>{if(!(r==null||a==null))return r.reset(a),()=>{r.pause()}},[r,a]);let i=ue(),l=lt(),s=ve(fy(ql),"@react-aria/toast"),[d,c]=o.useState(!1);return o.useEffect(()=>{c(!0)},[]),{toastProps:{role:"alertdialog","aria-modal":"false","aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]||i,"aria-describedby":e["aria-describedby"]||l,"aria-details":e["aria-details"],tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":d?void 0:"true"},titleProps:{id:i},descriptionProps:{id:l},closeButtonProps:{"aria-label":s.format("close"),onPress:()=>t.close(n)}}}function my(e){return e&&e.__esModule?e.default:e}function by(e,t,u){let n=ve(my(ql),"@react-aria/toast"),{landmarkProps:r}=jv({role:"region","aria-label":e["aria-label"]||n.format("notifications",{count:t.visibleToasts.length})},u),a=o.useRef(!1),i=o.useRef(!1),l=le(()=>{a.current||i.current?t.pauseAll():t.resumeAll()}),{hoverProps:s}=Ce({onHoverStart:()=>{a.current=!0,l()},onHoverEnd:()=>{a.current=!1,l()}}),d=o.useRef([]),c=o.useRef(t.visibleToasts),f=o.useRef(null);Y(()=>{if(f.current===-1||t.visibleToasts.length===0||!u.current){d.current=[],c.current=t.visibleToasts;return}if(d.current=[...u.current.querySelectorAll('[role="alertdialog"]')],c.current.length===t.visibleToasts.length&&t.visibleToasts.every((D,y)=>D.key===c.current[y].key)){c.current=t.visibleToasts;return}let b=c.current.map((D,y)=>({...D,i:y,isRemoved:!t.visibleToasts.some(x=>D.key===x.key)})),g=b.findIndex(D=>D.i===f.current&&D.isRemoved);if(g>-1){var $;if(_t()==="pointer"&&(!(($=p.current)===null||$===void 0)&&$.isConnected))_e(p.current);else{let D=0,y,x;for(;D<=g;)b[D].isRemoved||(x=Math.max(0,D-1)),D++;for(;D<b.length;){if(!b[D].isRemoved){y=D-1;break}D++}x===void 0&&y===void 0&&(x=0),x>=0&&x<d.current.length?_e(d.current[x]):y>=0&&y<d.current.length&&_e(d.current[y])}}c.current=t.visibleToasts},[t.visibleToasts,u,l]);let p=o.useRef(null),{focusWithinProps:m}=pt({onFocusWithin:b=>{i.current=!0,p.current=b.relatedTarget,l()},onBlurWithin:()=>{i.current=!1,p.current=null,l()}});return o.useEffect(()=>{var b;t.visibleToasts.length===0&&(!((b=p.current)===null||b===void 0)&&b.isConnected)&&(_t()==="pointer"?_e(p.current):p.current.focus(),p.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{var b;!((b=p.current)===null||b===void 0)&&b.isConnected&&(_t()==="pointer"?_e(p.current):p.current.focus(),p.current=null)},[u]),{regionProps:_(r,s,m,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:b=>{let g=b.target.closest('[role="alertdialog"]');f.current=d.current.findIndex($=>$===g)},onBlur:()=>{f.current=-1}})}}function hy(e,t){let u=H(e,{labelable:!0}),{hoverProps:n}=Ce({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:_(u,n,{role:"tooltip"})}}function $y(e,t,u){let{isDisabled:n,trigger:r}=e,a=ue(),i=o.useRef(!1),l=o.useRef(!1),s=()=>{(i.current||l.current)&&t.open(l.current)},d=D=>{!i.current&&!l.current&&t.close(D)};o.useEffect(()=>{let D=y=>{u&&u.current&&y.key==="Escape"&&(y.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",D,!0),()=>{document.removeEventListener("keydown",D,!0)}},[u,t]);let c=()=>{r!=="focus"&&(_t()==="pointer"?i.current=!0:i.current=!1,s())},f=()=>{r!=="focus"&&(l.current=!1,i.current=!1,d())},p=()=>{l.current=!1,i.current=!1,d(!0)},m=()=>{Ht()&&(l.current=!0,s())},b=()=>{l.current=!1,i.current=!1,d(!0)},{hoverProps:g}=Ce({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:$}=Gt({isDisabled:n,onFocus:m,onBlur:b},u);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,..._($,g,{onPointerDown:p,onKeyDown:p,tabIndex:void 0})},tooltipProps:{id:a}}}const un=o.createContext({});let gy=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const ka=Yn(function(t,u){[t,u]=X(t,u,un);let{hoverProps:n,isHovered:r}=Ce(t),{isFocused:a,isFocusVisible:i,focusProps:l}=he({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=Z({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return o.createElement("input",{..._(gy(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),Pt=o.createContext({}),sn=Yn(function(t,u){[t,u]=X(t,u,Pt);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})}),mh=o.createContext(null),Dy=o.forwardRef(function(t,u){[t,u]=X(t,u,mh);let{value:n=0,minValue:r=0,maxValue:a=100,isIndeterminate:i=!1}=t;n=In(n,r,a);let[l,s]=ft(!t["aria-label"]&&!t["aria-labelledby"]),{progressBarProps:d,labelProps:c}=Lv({...t,label:s}),f=i?void 0:(n-r)/(a-r)*100,p=Z({...t,defaultClassName:"react-aria-ProgressBar",values:{percentage:f,valueText:d["aria-valuetext"],isIndeterminate:i}});return o.createElement("div",{...d,...p,ref:u,slot:t.slot||void 0},o.createElement(Pt.Provider,{value:{...c,ref:l,elementType:"span"}},p.children))}),vy=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),mt=o.createContext({}),Ut=Yn(function(t,u){[t,u]=X(t,u,mt),t=yy(t);let n=t,{isPending:r}=n,{buttonProps:a,isPressed:i}=wl(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=he(t),{hoverProps:c,isHovered:f}=Ce({...t,isDisabled:t.isDisabled||r}),p={isHovered:f,isPressed:(n.isPressed||i)&&!r,isFocused:s,isFocusVisible:d,isDisabled:t.isDisabled||!1,isPending:r??!1},m=Z({...t,values:p,defaultClassName:"react-aria-Button"}),b=ue(a.id),g=ue(),$=a["aria-labelledby"];r&&($?$=`${$} ${g}`:a["aria-label"]&&($=`${b} ${g}`));let D=o.useRef(r);return o.useEffect(()=>{let y={"aria-labelledby":$||b};(!D.current&&s&&r||D.current&&s&&!r)&&Dt(y,"assertive"),D.current=r},[r,s,$,b]),o.createElement("button",{...H(t,{propNames:vy}),..._(a,l,c),...m,type:a.type==="submit"&&r?"button":a.type,id:b,ref:u,"aria-labelledby":$,slot:t.slot||void 0,"aria-disabled":r?"true":a["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":p.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":d||void 0},o.createElement(mh.Provider,{value:{id:g}},m.children))});function yy(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}const qe=o.createContext({}),St=o.forwardRef(function(t,u){[t,u]=X(t,u,qe);let{elementType:n="span",...r}=t;return o.createElement(n,{className:"react-aria-Text",...r,ref:u})}),qt=o.createContext(null),rr=o.forwardRef(function(t,u){let n=o.useContext(qt);return n!=null&&n.isInvalid?o.createElement(xy,{...t,ref:u}):null}),xy=o.forwardRef((e,t)=>{let u=o.useContext(qt),n=H(e),r=Z({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return r.children==null?null:o.createElement(St,{slot:"errorMessage",...n,...r,ref:t})});function Qu(e,t,u){return t!=null&&e.compare(t)<0||u!=null&&e.compare(u)>0}function Ui(e,t,u,n,r){let a={};for(let l in t)a[l]=Math.floor(t[l]/2),a[l]>0&&t[l]%2===0&&a[l]--;let i=ku(e,t,u).subtract(a);return Wn(e,i,t,u,n,r)}function ku(e,t,u,n,r){let a=e;return t.years?a=M6(e):t.months?a=Au(e):t.weeks&&(a=_n(e,u)),Wn(e,a,t,u,n,r)}function Wi(e,t,u,n,r){let a={...t};a.days?a.days--:a.weeks?a.weeks--:a.months?a.months--:a.years&&a.years--;let i=ku(e,t,u).subtract(a);return Wn(e,i,t,u,n,r)}function Wn(e,t,u,n,r,a){if(r&&e.compare(r)>=0){let i=vl(t,ku(Oe(r),u,n));i&&(t=i)}if(a&&e.compare(a)<=0){let i=Dl(t,Wi(Oe(a),u,n));i&&(t=i)}return t}function eu(e,t,u){if(t){let n=vl(e,Oe(t));n&&(e=n)}if(u){let n=Dl(e,Oe(u));n&&(e=n)}return e}function bh(e,t,u){if(!u)return e;for(;e.compare(t)>=0&&u(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}function hh(e){let t=o.useMemo(()=>new it(e.locale),[e.locale]),u=o.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:r,visibleDuration:a={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:d,pageBehavior:c="visible",firstDayOfWeek:f}=e,p=o.useMemo(()=>r(u.calendar),[r,u.calendar]);var m;let[b,g]=Me(e.value,(m=e.defaultValue)!==null&&m!==void 0?m:null,e.onChange),$=o.useMemo(()=>b?De(Oe(b),p):null,[b,p]),D=o.useMemo(()=>b&&"timeZone"in b?b.timeZone:u.timeZone,[b,u.timeZone]),y=o.useMemo(()=>e.focusedValue?eu(De(Oe(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),x=o.useMemo(()=>eu(e.defaultFocusedValue?De(Oe(e.defaultFocusedValue),p):$||De(gl(D),p),i,l),[e.defaultFocusedValue,$,D,p,i,l]),[C,B]=Me(y,x,e.onFocusChange),[P,T]=o.useState(()=>{switch(s){case"start":return ku(C,a,n,i,l);case"end":return Wi(C,a,n,i,l);case"center":default:return Ui(C,a,n,i,l)}}),[v,F]=o.useState(e.autoFocus||!1),S=o.useMemo(()=>{let N={...a};return N.days?N.days--:N.days=-1,P.add(N)},[P,a]),[k,M]=o.useState(p.identifier);if(p.identifier!==k){let N=De(C,p);T(Ui(N,a,n,i,l)),B(N),M(p.identifier)}Qu(C,i,l)?B(eu(C,i,l)):C.compare(P)<0?T(Wi(C,a,n,i,l)):C.compare(S)>0&&T(ku(C,a,n,i,l));function E(N){N=eu(N,i,l),B(N)}function V(N){if(!e.isDisabled&&!e.isReadOnly){let U=N;if(U===null){g(null);return}if(U=eu(U,i,l),U=bh(U,P,d),!U)return;U=De(U,(b==null?void 0:b.calendar)||new Ge),b&&"hour"in b?g(b.set(U)):g(U)}}let I=o.useMemo(()=>$?d&&d($)?!0:Qu($,i,l):!1,[$,d,i,l]),w=e.isInvalid||e.validationState==="invalid"||I,R=w?"invalid":null,A=o.useMemo(()=>c==="visible"?a:mi(a),[c,a]);var z,K;return{isDisabled:(z=e.isDisabled)!==null&&z!==void 0?z:!1,isReadOnly:(K=e.isReadOnly)!==null&&K!==void 0?K:!1,value:$,setValue:V,visibleRange:{start:P,end:S},minValue:i,maxValue:l,focusedDate:C,timeZone:D,validationState:R,isValueInvalid:w,setFocusedDate(N){E(N),F(!0)},focusNextDay(){E(C.add({days:1}))},focusPreviousDay(){E(C.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&E(C.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&E(C.subtract({weeks:1}))},focusNextPage(){let N=P.add(A);B(eu(C.add(A),i,l)),T(ku(Wn(C,N,A,n,i,l),A,n))},focusPreviousPage(){let N=P.subtract(A);B(eu(C.subtract(A),i,l)),T(ku(Wn(C,N,A,n,i,l),A,n))},focusSectionStart(){a.days?E(P):a.weeks?E(_n(C,n)):(a.months||a.years)&&E(Au(C))},focusSectionEnd(){a.days?E(S):a.weeks?E(V6(C,n)):(a.months||a.years)&&E(_r(C))},focusNextSection(N){if(!N&&!a.days){E(C.add(mi(a)));return}a.days?this.focusNextPage():a.weeks?E(C.add({months:1})):(a.months||a.years)&&E(C.add({years:1}))},focusPreviousSection(N){if(!N&&!a.days){E(C.subtract(mi(a)));return}a.days?this.focusPreviousPage():a.weeks?E(C.subtract({months:1})):(a.months||a.years)&&E(C.subtract({years:1}))},selectFocusedDate(){d&&d(C)||V(C)},selectDate(N){V(N)},isFocused:v,setFocused:F,isInvalid(N){return Qu(N,i,l)},isSelected(N){return $!=null&&Fe(N,$)&&!this.isCellDisabled(N)&&!this.isCellUnavailable(N)},isCellFocused(N){return v&&C&&Fe(N,C)},isCellDisabled(N){return e.isDisabled||N.compare(P)<0||N.compare(S)>0||this.isInvalid(N)},isCellUnavailable(N){return e.isDateUnavailable?e.isDateUnavailable(N):!1},isPreviousVisibleRangeInvalid(){let N=P.subtract({days:1});return Fe(N,P)||this.isInvalid(N)},isNextVisibleRangeInvalid(){let N=S.add({days:1});return Fe(N,S)||this.isInvalid(N)},getDatesInWeek(N,U=P){let G=U.add({weeks:N}),Q=[];G=_n(G,n,f);let me=$l(G,n,f);for(let ne=0;ne<me;ne++)Q.push(null);for(;Q.length<7;){Q.push(G);let ne=G.add({days:1});if(Fe(G,ne))break;G=ne}for(;Q.length<7;)Q.push(null);return Q}}}function mi(e){let t={...e};for(let u in e)t[u]=1;return t}function Cy(e){let{value:t,defaultValue:u,onChange:n,createCalendar:r,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=Me(t,u||null,n),[p,m]=o.useState(null),b="center";if(c&&c.start&&c.end){let A=Ui(Oe(c.start),i,a,l,s).add(i).subtract({days:1});c.end.compare(A)>0&&(b="start")}let g=o.useRef(null),[$,D]=o.useState(null),y=o.useMemo(()=>vl(l,$==null?void 0:$.start),[l,$]),x=o.useMemo(()=>Dl(s,$==null?void 0:$.end),[s,$]),C=hh({...d,value:c&&c.start,createCalendar:r,locale:a,visibleDuration:i,minValue:y,maxValue:x,selectionAlignment:b}),B=R=>{if(R&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const A=Ms(R,C,-1),z=Ms(R,C,1);g.current={start:A,end:z},D(g.current)}else g.current=null,D(null)},[P,T]=o.useState(C.visibleRange);(!Bi(C.visibleRange.start,P.start)||!Bi(C.visibleRange.end,P.end))&&(B(p),T(C.visibleRange));let v=R=>{R?(m(R),B(R)):(m(null),B(null))},F=p?bi(p,C.focusedDate):c&&bi(c.start,c.end),S=R=>{if(e.isReadOnly)return;const A=eu(R,y,x),z=bh(A,C.visibleRange.start,e.isDateUnavailable);if(z)if(!p)v(z);else{let K=bi(p,z);K&&f({start:Ks(K.start,c==null?void 0:c.start),end:Ks(K.end,c==null?void 0:c.end)}),v(null)}},[k,M]=o.useState(!1),{isDateUnavailable:E}=e,V=o.useMemo(()=>!c||p?!1:E&&(E(c.start)||E(c.end))?!0:Qu(c.start,l,s)||Qu(c.end,l,s),[E,c,p,l,s]),I=e.isInvalid||e.validationState==="invalid"||V;return{...C,value:c,setValue:f,anchorDate:p,setAnchorDate:v,highlightedRange:F,validationState:I?"invalid":null,isValueInvalid:I,selectFocusedDate(){S(C.focusedDate)},selectDate:S,highlightDate(R){p&&C.setFocusedDate(R)},isSelected(R){return!!(F&&R.compare(F.start)>=0&&R.compare(F.end)<=0&&!C.isCellDisabled(R)&&!C.isCellUnavailable(R))},isInvalid(R){var A,z;return C.isInvalid(R)||Qu(R,(A=g.current)===null||A===void 0?void 0:A.start,(z=g.current)===null||z===void 0?void 0:z.end)},isDragging:k,setDragging:M}}function bi(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Oe(e),end:Oe(t)})}function Ks(e,t){return e=De(e,(t==null?void 0:t.calendar)||new Ge),t&&"hour"in t?t.set(e):e}function Ms(e,t,u){let n=e.add({days:u});for(;(u<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:u});if(t.isCellUnavailable(n))return n.add({days:-u})}function Ey(e={}){let[t,u]=Me(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,r=o.useRef(new Map),a=kt({...e,value:t}),i=a.displayValidation.isInvalid;var l;return{...a,value:t,setValue(d){e.isReadOnly||e.isDisabled||u(d)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(d){return t.includes(d)},addValue(d){e.isReadOnly||e.isDisabled||t.includes(d)||u(t.concat(d))},removeValue(d){e.isReadOnly||e.isDisabled||t.includes(d)&&u(t.filter(c=>c!==d))},toggleValue(d){e.isReadOnly||e.isDisabled||(t.includes(d)?u(t.filter(c=>c!==d)):u(t.concat(d)))},setInvalid(d,c){let f=new Map(r.current);c.isInvalid?f.set(d,c):f.delete(d),r.current=f,a.updateValidation(Hn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class Zi{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let u=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let l of i.childNodes)u(l)};for(let i of t)u(i);let n=null,r=0;for(let[i,l]of this.keyMap)n?(n.nextKey=i,l.prevKey=n.key):(this.firstKey=i,l.prevKey=void 0),l.type==="item"&&(l.index=r++),n=l,n.nextKey=void 0;var a;this.lastKey=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:null}}class dt extends Set{constructor(t,u,n){super(t),t instanceof dt?(this.anchorKey=u??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=u??null,this.currentKey=n??null)}}function By(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function ar(e){let{selectionMode:t="none",disallowEmptySelection:u=!1,allowDuplicateSelectionEvents:n,selectionBehavior:r="toggle",disabledBehavior:a="all"}=e,i=o.useRef(!1),[,l]=o.useState(!1),s=o.useRef(null),d=o.useRef(null),[,c]=o.useState(null),f=o.useMemo(()=>zs(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>zs(e.defaultSelectedKeys,new dt),[e.defaultSelectedKeys]),[m,b]=Me(f,p,e.onSelectionChange),g=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[$,D]=o.useState(r);r==="replace"&&$==="toggle"&&typeof m=="object"&&m.size===0&&D("replace");let y=o.useRef(r);return o.useEffect(()=>{r!==y.current&&(D(r),y.current=r)},[r]),{selectionMode:t,disallowEmptySelection:u,selectionBehavior:$,setSelectionBehavior:D,get isFocused(){return i.current},setFocused(x){i.current=x,l(x)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(x,C="first"){s.current=x,d.current=C,c(x)},selectedKeys:m,setSelectedKeys(x){(n||!By(x,m))&&b(x)},disabledKeys:g,disabledBehavior:a}}function zs(e,t){return e?e==="all"?"all":new dt(e):t}class dn{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,u){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,u)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let u=this.getKey(t);return u==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(u):this.state.selectedKeys.has(u)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),u=this.state.selectedKeys;return this._isSelectAll=t.every(n=>u.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&oi(this.collection,r,t)<0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&oi(this.collection,r,t)>0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n;if(this.state.selectedKeys==="all")n=new dt([u],u,u);else{let i=this.state.selectedKeys;var r;let l=(r=i.anchorKey)!==null&&r!==void 0?r:u;n=new dt(i,l,u);var a;for(let s of this.getKeyRange(l,(a=i.currentKey)!==null&&a!==void 0?a:u))n.delete(s);for(let s of this.getKeyRange(u,l))this.canSelectItem(s)&&n.add(s)}this.state.setSelectedKeys(n)}getKeyRange(t,u){let n=this.collection.getItem(t),r=this.collection.getItem(u);return n&&r?oi(this.collection,n,r)<=0?this.getKeyRangeInternal(t,u):this.getKeyRangeInternal(u,t):[]}getKeyRangeInternal(t,u){var n;if(!((n=this.layoutDelegate)===null||n===void 0)&&n.getKeyRange)return this.layoutDelegate.getKeyRange(t,u);let r=[],a=t;for(;a!=null;){let i=this.collection.getItem(a);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&r.push(a),a===u)return r;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let u=this.collection.getItem(t);if(!u||u.type==="cell"&&this.allowsCellSelection)return t;for(;u&&u.type!=="item"&&u.parentKey!=null;)u=this.collection.getItem(u.parentKey);return!u||u.type!=="item"?null:u.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n=new dt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(u)?n.delete(u):this.canSelectItem(u)&&(n.add(u),n.anchorKey=u,n.currentKey=u),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let u=this.getKey(t);if(u==null)return;let n=this.canSelectItem(u)?new dt([u],u,u):new dt;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let u=new dt;for(let n of t){let r=this.getKey(n);if(r!=null&&(u.add(r),this.selectionMode==="single"))break}this.state.setSelectedKeys(u)}getSelectAllKeys(){let t=[],u=n=>{for(;n!=null;){if(this.canSelectItem(n)){var r;let i=this.collection.getItem(n);(i==null?void 0:i.type)==="item"&&t.push(n);var a;i!=null&&i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&u((a=(r=Mt(we(i,this.collection)))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null)}n=this.collection.getKeyAfter(n)}};return u(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new dt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,u){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||u&&(u.pointerType==="touch"||u.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let u=this.selectedKeys;if(t.size!==u.size)return!1;for(let n of t)if(!u.has(n))return!1;for(let n of u)if(!t.has(n))return!1;return!0}canSelectItem(t){var u;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(u=n.props)===null||u===void 0)&&u.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var u,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled))}isLink(t){var u,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.href)}getItemProps(t){var u;return(u=this.collection.getItem(t))===null||u===void 0?void 0:u.props}withCollection(t){return new dn(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(t,u,n){this.collection=t,this.state=u;var r;this.allowsCellSelection=(r=n==null?void 0:n.allowsCellSelection)!==null&&r!==void 0?r:!1,this._isSelectAll=null,this.layoutDelegate=(n==null?void 0:n.layoutDelegate)||null}}function Pa(e){let{filter:t,layoutDelegate:u}=e,n=ar(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=o.useCallback(d=>t?new Zi(t(d)):new Zi(d),[t]),i=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=jl(e,a,i),s=o.useMemo(()=>new dn(l,n,{layoutDelegate:u}),[l,n,u]);return $h(l,s),{collection:l,disabledKeys:r,selectionManager:s}}function ky(e,t){let u=o.useMemo(()=>t?e.collection.UNSTABLE_filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(u);return $h(u,n),{collection:u,selectionManager:n,disabledKeys:e.disabledKeys}}function $h(e,t){const u=o.useRef(null);o.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&u.current){const c=u.current.getItem(t.focusedKey),f=[...u.current.getKeys()].map(D=>{const y=u.current.getItem(D);return(y==null?void 0:y.type)==="item"?y:null}).filter(D=>D!==null),p=[...e.getKeys()].map(D=>{const y=e.getItem(D);return(y==null?void 0:y.type)==="item"?y:null}).filter(D=>D!==null);var n,r;const m=((n=f==null?void 0:f.length)!==null&&n!==void 0?n:0)-((r=p==null?void 0:p.length)!==null&&r!==void 0?r:0);var a,i,l;let b=Math.min(m>1?Math.max(((a=c==null?void 0:c.index)!==null&&a!==void 0?a:0)-m+1,0):(i=c==null?void 0:c.index)!==null&&i!==void 0?i:0,((l=p==null?void 0:p.length)!==null&&l!==void 0?l:0)-1),g=null,$=!1;for(;b>=0;){if(!t.isDisabled(p[b].key)){g=p[b];break}if(b<p.length-1&&!$)b++;else{$=!0;var s,d;b>((s=c==null?void 0:c.index)!==null&&s!==void 0?s:0)&&(b=(d=c==null?void 0:c.index)!==null&&d!==void 0?d:0),b--}}t.setFocusedKey(g?g.key:null)}u.current=e},[e,t])}function gh(e){var t;let[u,n]=Me(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),r=o.useMemo(()=>u!=null?[u]:[],[u]),{collection:a,disabledKeys:i,selectionManager:l}=Pa({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:d=>{if(d==="all")return;var c;let f=(c=d.values().next().value)!==null&&c!==void 0?c:null;f===u&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),s=u!=null?a.getItem(u):null;return{collection:a,disabledKeys:i,selectionManager:l,selectedKey:u,setSelectedKey:n,selectedItem:s}}function mu(e){let[t,u]=Me(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isOpen:t,setOpen:u,open:n,close:r,toggle:a}}function Py(e){var t;let{defaultFilter:u,menuTrigger:n="input",allowsEmptyCollection:r=!1,allowsCustomValue:a,shouldCloseOnBlur:i=!0}=e,[l,s]=o.useState(!1),[d,c]=o.useState(!1),[f,p]=o.useState(null),m=ie=>{e.onSelectionChange&&e.onSelectionChange(ie),ie===D&&(Q(),N())};var b;let{collection:g,selectionManager:$,selectedKey:D,setSelectedKey:y,selectedItem:x,disabledKeys:C}=gh({...e,onSelectionChange:m,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),B=e.defaultInputValue;if(B==null){var P,T;D==null?B="":B=(T=(P=g.getItem(D))===null||P===void 0?void 0:P.textValue)!==null&&T!==void 0?T:""}let[v,F]=Me(e.inputValue,B,e.onInputChange),S=g,k=o.useMemo(()=>e.items!=null||!u?g:Sy(g,v,u),[g,v,u,e.items]),[M,E]=o.useState(k),V=o.useRef("focus"),w=mu({...e,onOpenChange:ie=>{e.onOpenChange&&e.onOpenChange(ie,ie?V.current:void 0),$.setFocused(ie),ie||$.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),R=(ie=null,ye)=>{let Re=ye==="manual"||ye==="focus"&&n==="focus";(r||k.size>0||Re&&S.size>0||e.items)&&(Re&&!w.isOpen&&e.items===void 0&&s(!0),V.current=ye,p(ie),w.open())},A=(ie=null,ye)=>{let Re=ye==="manual"||ye==="focus"&&n==="focus";!(r||k.size>0||Re&&S.size>0||e.items)&&!w.isOpen||(Re&&!w.isOpen&&e.items===void 0&&s(!0),w.isOpen||(V.current=ye),K(ie))},z=o.useCallback(()=>{E(l?S:k)},[l,S,k]),K=o.useCallback((ie=null)=>{w.isOpen&&z(),p(ie),w.toggle()},[w,z]),N=o.useCallback(()=>{w.isOpen&&(z(),w.close())},[w,z]),[U,G]=o.useState(v),Q=()=>{var ie,ye;let Re=D!=null&&(ye=(ie=g.getItem(D))===null||ie===void 0?void 0:ie.textValue)!==null&&ye!==void 0?ye:"";G(Re),F(Re)};var me,ne;let se=o.useRef((ne=(me=e.selectedKey)!==null&&me!==void 0?me:e.defaultSelectedKey)!==null&&ne!==void 0?ne:null);var L;let ee=o.useRef(D!=null&&(L=(t=g.getItem(D))===null||t===void 0?void 0:t.textValue)!==null&&L!==void 0?L:"");o.useEffect(()=>{var ie;d&&(k.size>0||r)&&!w.isOpen&&v!==U&&n!=="manual"&&R(null,"input"),!l&&!r&&w.isOpen&&k.size===0&&N(),D!=null&&D!==se.current&&N(),v!==U&&($.setFocusedKey(null),s(!1),v===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&y(null)),D!==se.current&&(e.inputValue===void 0||e.selectedKey===void 0)?Q():U!==v&&G(v);var ye;let Re=D!=null&&(ye=(ie=g.getItem(D))===null||ie===void 0?void 0:ie.textValue)!==null&&ye!==void 0?ye:"";!d&&D!=null&&e.inputValue===void 0&&D===se.current&&ee.current!==Re&&(G(Re),F(Re)),se.current=D,ee.current=Re});let j=kt({...e,value:o.useMemo(()=>({inputValue:v,selectedKey:D}),[v,D])}),O=()=>{a&&D==null?q():re()},q=()=>{se.current=null,y(null),N()},re=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ie,ye;(ie=e.onSelectionChange)===null||ie===void 0||ie.call(e,D);var Re;let O$=D!=null&&(Re=(ye=g.getItem(D))===null||ye===void 0?void 0:ye.textValue)!==null&&Re!==void 0?Re:"";G(O$),N()}else Q(),N()};const Qe=()=>{if(a){var ie,ye;const Re=D!=null&&(ye=(ie=g.getItem(D))===null||ie===void 0?void 0:ie.textValue)!==null&&ye!==void 0?ye:"";v===Re?re():q()}else re()};let ae=()=>{w.isOpen&&$.focusedKey!=null?D===$.focusedKey?re():y($.focusedKey):Qe()},Qt=o.useRef(v),hu=ie=>{ie?(Qt.current=v,n==="focus"&&!e.isReadOnly&&R(null,"focus")):(i&&Qe(),v!==Qt.current&&j.commitValidation()),c(ie)},L$=o.useMemo(()=>w.isOpen?l?S:k:M,[w.isOpen,S,k,l,M]);return{...j,...w,focusStrategy:f,toggle:A,open:R,close:Qe,selectionManager:$,selectedKey:D,setSelectedKey:y,disabledKeys:C,isFocused:d,setFocused:hu,selectedItem:x,collection:L$,inputValue:v,setInputValue:F,commit:ae,revert:O}}function Sy(e,t,u){return new Zi(Dh(e,e,t,u))}function Dh(e,t,u,n){let r=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=Dh(e,we(a,e),u,n);[...i].some(l=>l.type==="item")&&r.push({...a,childNodes:i})}else a.type==="item"&&n(a.textValue,u)?r.push({...a}):a.type!=="item"&&r.push({...a});return r}var vh={};vh={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var yh={};yh={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var xh={};xh={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var Ch={};Ch={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var Eh={};Eh={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var Bh={};Bh={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var kh={};kh={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var Ph={};Ph={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var Sh={};Sh={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var Ah={};Ah={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var wh={};wh={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var Fh={};Fh={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var Th={};Th={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var Rh={};Rh={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var Ih={};Ih={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var Kh={};Kh={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var Mh={};Mh={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var zh={};zh={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var Nh={};Nh={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var Vh={};Vh={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var _h={};_h={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var jh={};jh={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var Lh={};Lh={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var Oh={};Oh={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var Hh={};Hh={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var Uh={};Uh={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var Wh={};Wh={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var Zh={};Zh={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var Gh={};Gh={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var qh={};qh={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var Yh={};Yh={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var Jh={};Jh={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Qh={};Qh={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Xh={};Xh={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var e5={};e5={"ar-AE":vh,"bg-BG":yh,"cs-CZ":xh,"da-DK":Ch,"de-DE":Eh,"el-GR":Bh,"en-US":kh,"es-ES":Ph,"et-EE":Sh,"fi-FI":Ah,"fr-FR":wh,"he-IL":Fh,"hr-HR":Th,"hu-HU":Rh,"it-IT":Ih,"ja-JP":Kh,"ko-KR":Mh,"lt-LT":zh,"lv-LV":Nh,"nb-NO":Vh,"nl-NL":_h,"pl-PL":jh,"pt-BR":Lh,"pt-PT":Oh,"ro-RO":Hh,"ru-RU":Uh,"sk-SK":Wh,"sl-SI":Zh,"sr-SP":Gh,"sv-SE":qh,"tr-TR":Yh,"uk-UA":Jh,"zh-CN":Qh,"zh-TW":Xh};function Ay(e){return e&&e.__esModule?e.default:e}const t5=new fu(Ay(e5));function u5(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Xr(e,t,u,n,r){let a=e!=null&&u!=null&&e.compare(u)>0,i=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,s=a||i||l,d=[];if(s){let c=u5(),f=fu.getGlobalDictionaryForPackage("@react-stately/datepicker")||t5,p=new ac(c,f),m=new it(c,jt({},r)),b=m.resolvedOptions().timeZone;i&&t!=null&&d.push(p.format("rangeUnderflow",{minValue:m.format(t.toDate(b))})),a&&u!=null&&d.push(p.format("rangeOverflow",{maxValue:m.format(u.toDate(b))})),l&&d.push(p.format("unavailableDate"))}return{isInvalid:s,validationErrors:d,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function wy(e,t,u,n,r){var a;let i=Xr((a=e==null?void 0:e.start)!==null&&a!==void 0?a:null,t,u,n,r);var l;let s=Xr((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,r),d=Hn(i,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=fu.getGlobalDictionaryForPackage("@react-stately/datepicker")||t5;d=Hn(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",u5())],validationDetails:{...ya,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const Fy={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},Ty={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function jt(e,t){e={...t.shouldForceLeadingZeros?Ty:Fy,...e};let n=t.granularity||"minute",r=Object.keys(e);var a;let i=r.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");i<0&&(i=0);let l=r.indexOf(n);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let s=r.slice(i,l+1).reduce((c,f)=>(c[f]=e[f],c),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&i===0&&(s.era="short"),s}function Uu(e){return e&&"hour"in e?e:new kl}function n5(e,t){if(e===null)return null;if(e)return De(e,t)}function hn(e,t,u,n){if(e)return n5(e,u);let r=De(oc(n??Xn()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?Oe(r):n?r:xt(r)}function Yl(e,t){let u=e&&"timeZone"in e?e.timeZone:void 0,n=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[r,a]=o.useState([n,u]);e&&(r[0]!==n||r[1]!==u)&&a([n,u]),t||(t=e?n:r[0]);let i=e?u:r[1];return[t,i]}function Ry(e){let t=mu(e),[u,n]=Me(e.value,e.defaultValue||null,e.onChange),r=u||e.placeholderValue||null,[a,i]=Yl(r,e.granularity),l=u!=null?u.toDate(i??"UTC"):null,s=a==="hour"||a==="minute"||a==="second";var d;let c=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[f,p]=o.useState(null),[m,b]=o.useState(null);if(u&&(f=u,"hour"in u&&(m=u)),r&&!(a in r))throw new Error("Invalid granularity "+a+" for value "+r.toString());let g=(u==null?void 0:u.calendar.identifier)==="gregory"&&u.era==="BC",$=o.useMemo(()=>({granularity:a,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:g}),[a,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,g]),{minValue:D,maxValue:y,isDateUnavailable:x}=e,C=o.useMemo(()=>Xr(u,D,y,x,$),[u,D,y,x,$]),B=kt({...e,value:u,builtinValidation:C}),P=B.displayValidation.isInvalid,T=e.validationState||(P?"invalid":null),v=(k,M)=>{n("timeZone"in M?M.set(Oe(k)):xt(k,M)),p(null),b(null),B.commitValidation()};return{...B,value:u,setValue:n,dateValue:f,timeValue:m,setDateValue:k=>{let M=typeof c=="function"?c():c;s?m||M?v(k,m||Uu(e.defaultValue||e.placeholderValue)):p(k):(n(k),B.commitValidation()),M&&t.setOpen(!1)},setTimeValue:k=>{f&&k?v(f,k):b(k)},granularity:a,hasTime:s,...t,setOpen(k){!k&&!u&&f&&s&&v(f,m||Uu(e.defaultValue||e.placeholderValue)),t.setOpen(k)},validationState:T,isInvalid:P,formatValue(k,M){if(!l)return"";let E=jt(M,$);return new it(k,E).format(l)},getDateFormatter(k,M){let E={...$,...M},V=jt({},E);return new it(k,V)}}}const Iy=new fu({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"年",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function Ky(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Iy.getStringForLocale(e,u):"––"}const wr={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Ns={year:5,month:2,day:7,hour:2,minute:15,second:15},My={dayperiod:"dayPeriod"};function r5(e){let{locale:t,createCalendar:u,hideTimeZone:n,isDisabled:r=!1,isReadOnly:a=!1,isRequired:i=!1,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,p]=Yl(c,e.granularity),m=p||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let b=o.useMemo(()=>new it(t),[t]),g=o.useMemo(()=>u(b.resolvedOptions().calendar),[u,b]);var $;let[D,y]=Me(e.value,($=e.defaultValue)!==null&&$!==void 0?$:null,e.onChange),x=o.useMemo(()=>{var L;return(L=n5(D,g))!==null&&L!==void 0?L:null},[D,g]),[C,B]=o.useState(()=>hn(e.placeholderValue,f,g,p)),P=x||C,T=g.identifier==="gregory"&&P.era==="BC",v=o.useMemo(()=>{var L;return{granularity:f,maxGranularity:(L=e.maxGranularity)!==null&&L!==void 0?L:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:T,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,T]),F=o.useMemo(()=>jt({},v),[v]),S=o.useMemo(()=>new it(t,F),[t,F]),k=o.useMemo(()=>S.resolvedOptions(),[S]),M=o.useMemo(()=>S.formatToParts(new Date).filter(L=>wr[L.type]).reduce((L,ee)=>(L[ee.type]=!0,L),{}),[S]),[E,V]=o.useState(()=>e.value||e.defaultValue?{...M}:{}),I=o.useRef(null),w=o.useRef(g.identifier);o.useEffect(()=>{g.identifier!==w.current&&(w.current=g.identifier,B(L=>Object.keys(E).length>0?De(L,g):hn(e.placeholderValue,f,g,p)))},[g,f,E,p,e.placeholderValue]),D&&Object.keys(E).length<Object.keys(M).length&&(E={...M},V(E)),D==null&&Object.keys(E).length===Object.keys(M).length&&(E={},V(E),B(hn(e.placeholderValue,f,g,p)));let R=x&&Object.keys(E).length>=Object.keys(M).length?x:C,A=L=>{if(e.isDisabled||e.isReadOnly)return;let ee=Object.keys(E),j=Object.keys(M);L==null?(y(null),B(hn(e.placeholderValue,f,g,p)),V({})):ee.length>=j.length||ee.length===j.length-1&&M.dayPeriod&&!E.dayPeriod&&I.current!=="dayPeriod"?(L=De(L,(c==null?void 0:c.calendar)||new Ge),y(L)):B(L),I.current=null},z=o.useMemo(()=>R.toDate(m),[R,m]),K=o.useMemo(()=>zy(z,E,S,k,R,g,t,f),[z,E,S,k,R,g,t,f]);M.era&&E.year&&!E.era?(E.era=!0,V({...E})):!M.era&&E.era&&(delete E.era,V({...E}));let N=L=>{E[L]=!0,L==="year"&&M.era&&(E.era=!0),V({...E})},U=(L,ee)=>{if(E[L])A(Ny(R,L,ee,k));else{N(L);let j=Object.keys(E),O=Object.keys(M);(j.length>=O.length||j.length===O.length-1&&M.dayPeriod&&!E.dayPeriod)&&A(R)}},G=o.useMemo(()=>Xr(D,l,s,d,v),[D,l,s,d,v]),Q=kt({...e,value:D,builtinValidation:G}),me=Q.displayValidation.isInvalid,ne=e.validationState||(me?"invalid":null);var se;return{...Q,value:x,dateValue:z,calendar:g,setValue:A,segments:K,dateFormatter:S,validationState:ne,isInvalid:me,granularity:f,maxGranularity:(se=e.maxGranularity)!==null&&se!==void 0?se:"year",isDisabled:r,isReadOnly:a,isRequired:i,increment(L){U(L,1)},decrement(L){U(L,-1)},incrementPage(L){U(L,Ns[L]||1)},decrementPage(L){U(L,-(Ns[L]||1))},setSegment(L,ee){N(L),A(Vy(R,L,ee,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let L=Object.keys(E),ee=Object.keys(M);L.length===ee.length-1&&M.dayPeriod&&!E.dayPeriod&&(E={...M},V(E),A(R.copy()))},clearSegment(L){delete E[L],I.current=L,V({...E});let ee=hn(e.placeholderValue,f,g,p),j=R;if(L==="dayPeriod"&&"hour"in R&&"hour"in ee){let O=R.hour>=12,q=ee.hour>=12;O&&!q?j=R.set({hour:R.hour-12}):!O&&q&&(j=R.set({hour:R.hour+12}))}else L==="hour"&&"hour"in R&&R.hour>=12&&E.dayPeriod?j=R.set({hour:ee.hour+12}):L in R&&(j=R.set({[L]:ee[L]}));y(null),A(j)},formatValue(L){if(!x)return"";let ee=jt(L,v);return new it(t,ee).format(z)},getDateFormatter(L,ee){let j={...v,...ee},O=jt({},j);return new it(L,O)}}}function zy(e,t,u,n,r,a,i,l){let s=["hour","minute","second"],d=u.formatToParts(e),c=[];for(let f of d){let p=wr[f.type];f.type==="era"&&a.getEras().length===1&&(p=!1);let m=wr[f.type]&&!t[f.type],b=wr[f.type]?Ky(f.type,f.value,i):null,g={type:My[f.type]||f.type,text:m?b:f.value,...vr(r,f.type,n),isPlaceholder:m,placeholder:b,isEditable:p};f.type==="hour"?(c.push({type:"literal",text:"",...vr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1}),c.push(g),f.type===l&&c.push({type:"literal",text:"",...vr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):s.includes(f.type)&&f.type===l?(c.push(g),c.push({type:"literal",text:"",...vr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):c.push(g)}return c}function vr(e,t,u){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:z6(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:N6(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(u.hour12){let n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function Ny(e,t,u,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,u,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return e.set({hour:a?r-12:r+12})}case"hour":case"minute":case"second":return e.cycle(t,u,{round:t!=="hour",hourCycle:n.hour12?12:24})}throw new Error("Unknown segment: "+t)}function Vy(e,t,u,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:u})}if("hour"in e&&typeof u=="number")switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return u>=12===a?e:e.set({hour:a?r-12:r+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&u===12&&(u=0),a&&u<12&&(u+=12)}case"minute":case"second":return e.set({[t]:u})}throw new Error("Unknown segment: "+t)}function _y(e){var t,u;let n=mu(e),[r,a]=Me(e.value,e.defaultValue||null,e.onChange),[i,l]=o.useState(()=>r||{start:null,end:null});r==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let s=r||i,d=w=>{l(w||{start:null,end:null}),$u(w)?a(w):a(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=Yl(c,e.granularity),m=f==="hour"||f==="minute"||f==="second";var b;let g=(b=e.shouldCloseOnSelect)!==null&&b!==void 0?b:!0,[$,D]=o.useState(null),[y,x]=o.useState(null);s&&$u(s)&&($=s,"hour"in s.start&&(y=s));let C=(w,R)=>{d({start:"timeZone"in R.start?R.start.set(Oe(w.start)):xt(w.start,R.start),end:"timeZone"in R.end?R.end.set(Oe(w.end)):xt(w.end,R.end)}),D(null),x(null),E.commitValidation()},B=w=>{let R=typeof g=="function"?g():g;m?$u(w)&&(y!=null&&y.start)&&(y!=null&&y.end)?C(w,{start:(y==null?void 0:y.start)||Uu(e.placeholderValue),end:(y==null?void 0:y.end)||Uu(e.placeholderValue)}):D(w):$u(w)?(d(w),E.commitValidation()):D(w),R&&n.setOpen(!1)},P=w=>{$u($)&&$u(w)?C($,w):x(w)},T=(s==null||(t=s.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(u=s.end)===null||u===void 0?void 0:u.calendar.identifier)==="gregory"&&s.end.era==="BC",v=o.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:T}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,T]),{minValue:F,maxValue:S,isDateUnavailable:k}=e,M=o.useMemo(()=>wy(s,F,S,k,v),[s,F,S,k,v]),E=kt({...e,value:r,name:o.useMemo(()=>[e.startName,e.endName].filter(w=>w!=null),[e.startName,e.endName]),builtinValidation:M}),V=E.displayValidation.isInvalid,I=e.validationState||(V?"invalid":null);return{...E,value:s,setValue:d,dateRange:$,timeRange:y,granularity:f,hasTime:m,setDate(w,R){var A,z;B(w==="start"?{start:R,end:(A=$==null?void 0:$.end)!==null&&A!==void 0?A:null}:{start:(z=$==null?void 0:$.start)!==null&&z!==void 0?z:null,end:R})},setTime(w,R){var A,z;P(w==="start"?{start:R,end:(A=y==null?void 0:y.end)!==null&&A!==void 0?A:null}:{start:(z=y==null?void 0:y.start)!==null&&z!==void 0?z:null,end:R})},setDateTime(w,R){var A,z;d(w==="start"?{start:R,end:(A=s==null?void 0:s.end)!==null&&A!==void 0?A:null}:{start:(z=s==null?void 0:s.start)!==null&&z!==void 0?z:null,end:R})},setDateRange:B,setTimeRange:P,...n,setOpen(w){!w&&!(s!=null&&s.start&&(s!=null&&s.end))&&$u($)&&m&&C($,{start:(y==null?void 0:y.start)||Uu(e.placeholderValue),end:(y==null?void 0:y.end)||Uu(e.placeholderValue)}),n.setOpen(w)},validationState:I,isInvalid:V,formatValue(w,R){if(!s||!s.start||!s.end)return null;let A="timeZone"in s.start?s.start.timeZone:void 0,z=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),K="timeZone"in s.end?s.end.timeZone:void 0,N=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),U=jt(R,{granularity:z,timeZone:A,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),G=s.start.toDate(A||"UTC"),Q=s.end.toDate(K||"UTC"),me=new it(w,U),ne;if(A===K&&z===N&&s.start.compare(s.end)!==0){try{let se=me.formatRangeToParts(G,Q),L=-1;for(let O=0;O<se.length;O++){let q=se[O];if(q.source==="shared"&&q.type==="literal")L=O;else if(q.source==="endRange")break}let ee="",j="";for(let O=0;O<se.length;O++)O<L?ee+=se[O].value:O>L&&(j+=se[O].value);return{start:ee,end:j}}catch{}ne=me}else{let se=jt(R,{granularity:N,timeZone:K,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});ne=new it(w,se)}return{start:me.format(G),end:ne.format(Q)}},getDateFormatter(w,R){let A={...v,...R},z=jt({},A);return new it(w,z)}}}function $u(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function jy(e){let[t,u]=Me(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isExpanded:t,setExpanded:u,expand:n,collapse:r,toggle:a}}function Ly(e){let{allowsMultipleExpanded:t=!1,isDisabled:u=!1}=e,[n,r]=Me(o.useMemo(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),o.useMemo(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return o.useEffect(()=>{!t&&n.size>1&&r(new Set([n.values().next().value]))}),{allowsMultipleExpanded:t,isDisabled:u,expandedKeys:n,setExpandedKeys:r,toggleKey(a){let i;t?(i=new Set(n),i.has(a)?i.delete(a):i.add(a)):i=new Set(n.has(a)?[]:[a]),r(i)}}}function Sa(e){let t=mu(e),[u,n]=o.useState(null),[r,a]=o.useState([]),i=()=>{a([]),t.close()};return{focusStrategy:u,...t,open(d=null){n(d),t.open()},toggle(d=null){n(d),t.toggle()},close(){i()},expandedKeysStack:r,openSubmenu:(d,c)=>{a(f=>c>f.length?f:[...f.slice(0,c),d])},closeSubmenu:(d,c)=>{a(f=>f[c]===d?f.slice(0,c):f)}}}let Oy=Math.round(Math.random()*1e10),Hy=0;function Uy(e){let t=o.useMemo(()=>e.name||`radio-group-${Oy}-${++Hy}`,[e.name]);var u;let[n,r]=Me(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:null,e.onChange),[a,i]=o.useState(null),l=kt({...e,value:n}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(r(c),l.commitValidation())},d=l.displayValidation.isInvalid;return{...l,name:t,selectedValue:n,setSelectedValue:s,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(d?"invalid":null),isInvalid:d}}function Wy(e){let[t,u]=Me(Vs(e.value),Vs(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function Vs(e){if(e!=null)return e.toString()}function Zy(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||ar(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=n.setFocusedKey;n.setFocusedKey=(s,d)=>{if(u==="cell"&&s!=null){let b=t.getItem(s);if((b==null?void 0:b.type)==="item"){var c,f;let g=we(b,t);var p,m;d==="last"?s=(p=(c=Vt(g))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(m=(f=Mt(g))===null||f===void 0?void 0:f.key)!==null&&m!==void 0?m:null}}a(s,d)};let i=o.useMemo(()=>new dn(t,n),[t,n]);const l=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&l.current&&!t.getItem(n.focusedKey)){const s=l.current.getItem(n.focusedKey),d=(s==null?void 0:s.parentKey)!=null&&(s.type==="cell"||s.type==="rowheader"||s.type==="column")?l.current.getItem(s.parentKey):s;if(!d){n.setFocusedKey(null);return}const c=l.current.rows,f=t.rows,p=c.length-f.length;let m=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),b=null;for(;m>=0;){if(!i.isDisabled(f[m].key)&&f[m].type!=="headerrow"){b=f[m];break}m<f.length-1?m++:(m>d.index&&(m=d.index),m--)}if(b){const g=b.hasChildNodes?[...we(b,t)]:[],$=b.hasChildNodes&&d!==s&&s&&s.index<g.length?g[s.index].key:b.key;n.setFocusedKey($)}else n.setFocusedKey(null)}l.current=t},[t,i,n,n.focusedKey]),{collection:t,disabledKeys:r,isKeyboardNavigationDisabled:!1,selectionManager:i}}class Gy{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t;return(t=[...this.rows][0])===null||t===void 0?void 0:t.key}getLastKey(){var t;let u=[...this.rows];return(t=u[u.length-1])===null||t===void 0?void 0:t.key}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=t==null?void 0:t.columnCount,this.rows=[];let u=f=>{let p=this.keyMap.get(f.key);t.visitNode&&(f=t.visitNode(f)),this.keyMap.set(f.key,f);let m=new Set,b=null,g=!1;if(f.type==="item"){var $;for(let B of f.childNodes)if((($=B.props)===null||$===void 0?void 0:$.colSpan)!==void 0){g=!0;break}}for(let B of f.childNodes){if(B.type==="cell"&&g){var D,y;B.colspan=(D=B.props)===null||D===void 0?void 0:D.colSpan,B.colSpan=(y=B.props)===null||y===void 0?void 0:y.colSpan;var x,C;B.colIndex=b?((x=b.colIndex)!==null&&x!==void 0?x:b.index)+((C=b.colSpan)!==null&&C!==void 0?C:1):B.index}B.type==="cell"&&B.parentKey==null&&(B.parentKey=f.key),m.add(B.key),b?(b.nextKey=B.key,B.prevKey=b.key):B.prevKey=null,u(B),b=B}if(b&&(b.nextKey=null),p)for(let B of p.childNodes)m.has(B.key)||n(B)},n=f=>{this.keyMap.delete(f.key);for(let p of f.childNodes)this.keyMap.get(p.key)===p&&n(p)},r=null;for(let[f,p]of t.items.entries()){var a,i,l,s,d,c;let m={...p,level:(a=p.level)!==null&&a!==void 0?a:0,key:(i=p.key)!==null&&i!==void 0?i:"row-"+f,type:(l=p.type)!==null&&l!==void 0?l:"row",value:(s=p.value)!==null&&s!==void 0?s:null,hasChildNodes:!0,childNodes:[...p.childNodes],rendered:p.rendered,textValue:(d=p.textValue)!==null&&d!==void 0?d:"",index:(c=p.index)!==null&&c!==void 0?c:f};r?(r.nextKey=m.key,m.prevKey=r.key):m.prevKey=null,this.rows.push(m),u(m),r=m}r&&(r.nextKey=null)}}const a5="row-header-column-"+Math.random().toString(36).slice(2);let Gi="row-header-column-"+Math.random().toString(36).slice(2);for(;a5===Gi;)Gi="row-header-column-"+Math.random().toString(36).slice(2);function i5(e,t){if(t.length===0)return[];let u=[],n=new Map;for(let c of t){let f=c.parentKey,p=[c];for(;f;){let m=e.get(f);if(!m)break;if(n.has(m)){var r,a;(a=(r=m).colSpan)!==null&&a!==void 0||(r.colSpan=0),m.colSpan++,m.colspan=m.colSpan;let{column:b,index:g}=n.get(m);if(g>p.length)break;for(let $=g;$<p.length;$++)b.splice($,0,null);for(let $=p.length;$<b.length;$++)b[$]&&n.has(b[$])&&(n.get(b[$]).index=$)}else m.colSpan=1,m.colspan=1,p.push(m),n.set(m,{column:p,index:p.length-1});f=m.parentKey}u.push(p),c.index=u.length-1}let i=Math.max(...u.map(c=>c.length)),l=Array(i).fill(0).map(()=>[]),s=0;for(let c of u){let f=i-1;for(let p of c){if(p){let m=l[f],b=m.reduce((g,$)=>{var D;return g+((D=$.colSpan)!==null&&D!==void 0?D:1)},0);if(b<s){let g={type:"placeholder",key:"placeholder-"+p.key,colspan:s-b,colSpan:s-b,index:b,value:null,rendered:null,level:f,hasChildNodes:!1,childNodes:[],textValue:""};m.length>0&&(m[m.length-1].nextKey=g.key,g.prevKey=m[m.length-1].key),m.push(g)}m.length>0&&(m[m.length-1].nextKey=p.key,p.prevKey=m[m.length-1].key),p.level=f,p.colIndex=s,m.push(p)}f--}s++}let d=0;for(let c of l){let f=c.reduce((p,m)=>{var b;return p+((b=m.colSpan)!==null&&b!==void 0?b:1)},0);if(f<t.length){let p={type:"placeholder",key:"placeholder-"+c[c.length-1].key,colSpan:t.length-f,colspan:t.length-f,index:f,value:null,rendered:null,level:d,hasChildNodes:!1,childNodes:[],textValue:"",prevKey:c[c.length-1].key};c.push(p)}d++}return l.map((c,f)=>({type:"headerrow",key:"headerrow-"+f,index:f,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:c,textValue:""}))}class qy extends Gy{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t,u;return(u=(t=Mt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getLastKey(){var t,u;return(u=(t=Vt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){return t===this.body.key?this.body.childNodes:super.getChildren(t)}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys;if(n){let r=[];for(let a of u.childNodes){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}return""}constructor(t,u,n){let r=new Set,a=null,i=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key:a5,value:null,textValue:"",level:0,index:n!=null&&n.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};i.unshift(f)}if(n!=null&&n.showDragButtons){let f={type:"column",key:Gi,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};i.unshift(f)}let l=[],s=new Map,d=f=>{switch(f.type){case"body":a=f;break;case"column":s.set(f.key,f),f.hasChildNodes||(i.push(f),f.props.isRowHeader&&r.add(f.key));break;case"item":l.push(f);return}for(let p of f.childNodes)d(p)};for(let f of t)d(f);let c=i5(s,i);if(c.forEach((f,p)=>l.splice(p,0,f)),super({columnCount:i.length,items:l,visitNode:f=>(f.column=i[f.index],f)}),this._size=0,this.columns=i,this.rowHeaderColumnKeys=r,this.body=a,this.headerRows=c,this._size=[...a.childNodes].length,this.rowHeaderColumnKeys.size===0){let f=this.columns.find(p=>{var m,b;return!(!((m=p.props)===null||m===void 0)&&m.isDragButtonCell)&&!(!((b=p.props)===null||b===void 0)&&b.isSelectionCell)});f&&this.rowHeaderColumnKeys.add(f.key)}}}const Yy={ascending:"descending",descending:"ascending"};function Jy(e){let[t,u]=o.useState(!1),{selectionMode:n="none",showSelectionCheckboxes:r,showDragButtons:a}=e,i=o.useMemo(()=>({showSelectionCheckboxes:r&&n!=="none",showDragButtons:a,selectionMode:n,columns:[]}),[e.children,r,n,a]),l=jl(e,o.useCallback(f=>new qy(f,null,i),[i]),i),{disabledKeys:s,selectionManager:d}=Zy({...e,collection:l,disabledBehavior:e.disabledBehavior||"selection"});var c;return{collection:l,disabledKeys:s,selectionManager:d,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:(c=e.sortDescriptor)!==null&&c!==void 0?c:null,isKeyboardNavigationDisabled:l.size===0||t,setKeyboardNavigationDisabled:u,sort(f,p){var m,b;(b=e.onSortChange)===null||b===void 0||b.call(e,{column:f,direction:p??(((m=e.sortDescriptor)===null||m===void 0?void 0:m.column)===f?Yy[e.sortDescriptor.direction]:"ascending")})}}}function Qy(e){var t,u;let n=gh({...e,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:_s(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&u!==void 0?u:void 0}),{selectionManager:r,collection:a,selectedKey:i}=n,l=o.useRef(i);return o.useEffect(()=>{let s=i;e.selectedKey==null&&(r.isEmpty||s==null||!a.getItem(s))&&(s=_s(a,n.disabledKeys),s!=null&&r.setSelectedKeys([s])),(s!=null&&r.focusedKey==null||!r.isFocused&&s!==l.current)&&r.setFocusedKey(s),l.current=s}),{...n,isDisabled:e.isDisabled||!1}}function _s(e,t){let u=null;if(e){var n,r,a,i;for(u=e.getFirstKey();u!=null&&(t.has(u)||!((r=e.getItem(u))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled)&&u!==e.getLastKey();)u=e.getKeyAfter(u);u!=null&&(t.has(u)||!((i=e.getItem(u))===null||i===void 0||(a=i.props)===null||a===void 0)&&a.isDisabled)&&u===e.getLastKey()&&(u=e.getFirstKey())}return u}function l5(e){let t=o.useCallback(r=>e.subscribe(r),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:ml.useSyncExternalStore(t,u,u),add:(r,a)=>e.add(r,a),close:r=>e.close(r),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class o5{runWithWrapUpdate(t){this.wrapUpdate?this.wrapUpdate(t):t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,u={}){let n="_"+Math.random().toString(36).slice(2),r={...u,content:t,key:n,timer:u.timeout?new Xy(()=>this.close(n),u.timeout):void 0};return this.queue.unshift(r),this.updateVisibleToasts(),n}close(t){let u=this.queue.findIndex(a=>a.key===t);if(u>=0){var n,r;(n=(r=this.queue[u]).onClose)===null||n===void 0||n.call(r),this.queue.splice(u,1)}this.updateVisibleToasts()}updateVisibleToasts(){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts);for(let t of this.subscriptions)this.runWithWrapUpdate(t)}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[];var u;this.maxVisibleToasts=(u=t==null?void 0:t.maxVisibleToasts)!==null&&u!==void 0?u:1/0,this.wrapUpdate=t==null?void 0:t.wrapUpdate}}class Xy{reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}constructor(t,u){this.startTime=null,this.remaining=u,this.callback=t}}const ex=1500,js=500;let gu={},tx=0,$n=!1,Tt=null,Du=null;function s5(e={}){let{delay:t=ex,closeDelay:u=js}=e,{isOpen:n,open:r,close:a}=mu(e),i=o.useMemo(()=>`${++tx}`,[]),l=o.useRef(null),s=o.useRef(a),d=()=>{gu[i]=p},c=()=>{for(let b in gu)b!==i&&(gu[b](!0),delete gu[b])},f=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),d(),$n=!0,r(),Tt&&(clearTimeout(Tt),Tt=null),Du&&(clearTimeout(Du),Du=null)},p=b=>{b||u<=0?(l.current&&clearTimeout(l.current),l.current=null,s.current()):l.current||(l.current=setTimeout(()=>{l.current=null,s.current()},u)),Tt&&(clearTimeout(Tt),Tt=null),$n&&(Du&&clearTimeout(Du),Du=setTimeout(()=>{delete gu[i],Du=null,$n=!1},Math.max(js,u)))},m=()=>{c(),d(),!n&&!Tt&&!$n?Tt=setTimeout(()=>{Tt=null,$n=!0,f()},t):n||f()};return o.useEffect(()=>{s.current=a},[a]),o.useEffect(()=>()=>{l.current&&clearTimeout(l.current),gu[i]&&delete gu[i]},[i]),{isOpen:n,open:b=>{!b&&t>0&&!l.current?m():f()},close:p}}class ux{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}constructor(t,{expandedKeys:u}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,u=u||new Set;let n=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||u.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of t)n(l);let r=null,a=0;for(let[l,s]of this.keyMap)r?(r.nextKey=l,s.prevKey=r.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=a++),r=s,r.nextKey=void 0;var i;this.lastKey=(i=r==null?void 0:r.key)!==null&&i!==void 0?i:null}}function nx(e){let{onExpandedChange:t}=e,[u,n]=Me(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),r=ar(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=jl(e,o.useCallback(s=>new ux(s,{expandedKeys:u}),[u]),null);return o.useEffect(()=>{r.focusedKey!=null&&!i.getItem(r.focusedKey)&&r.setFocusedKey(null)},[i,r.focusedKey]),{collection:i,expandedKeys:u,disabledKeys:a,toggleKey:s=>{n(rx(u,s))},setExpandedKeys:n,selectionManager:new dn(i,r)}}function rx(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const bu=o.createContext(null),cn=o.createContext({}),ir=o.forwardRef(function(t,u){[t,u]=X(t,u,cn);let{isDisabled:n,isInvalid:r,onHoverStart:a,onHoverChange:i,onHoverEnd:l,...s}=t,{hoverProps:d,isHovered:c}=Ce({onHoverStart:a,onHoverChange:i,onHoverEnd:l,isDisabled:n}),{isFocused:f,isFocusVisible:p,focusProps:m}=he({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),r??(r=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let b=Z({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:p,isDisabled:n,isInvalid:r},defaultClassName:"react-aria-Group"});var g,$;return o.createElement("div",{..._(s,m,d),...b,ref:u,role:(g=t.role)!==null&&g!==void 0?g:"group",slot:($=t.slot)!==null&&$!==void 0?$:void 0,"data-focus-within":f||void 0,"data-hovered":c||void 0,"data-focus-visible":p||void 0,"data-disabled":n||void 0,"data-invalid":r||void 0},b.children)}),d5=o.createContext({});let ax=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const ix=o.forwardRef(function(t,u){[t,u]=X(t,u,d5);let{hoverProps:n,isHovered:r}=Ce(t),{isFocused:a,isFocusVisible:i,focusProps:l}=he({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=Z({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return o.createElement("textarea",{..._(ax(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),lx=o.createContext(null),Jl=Yn(function(t,u){[t,u]=X(t,u,lx);let{validationBehavior:n}=Ze(bu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=o.useRef(null),[s,d]=X({},l,un),[c,f]=ft(!t["aria-label"]&&!t["aria-labelledby"]),[p,m]=o.useState("input"),{labelProps:b,inputProps:g,descriptionProps:$,errorMessageProps:D,...y}=Kl({...Lt(t),inputElementType:p,label:f,validationBehavior:i},d),x=o.useCallback(P=>{d.current=P,P&&m(P instanceof HTMLTextAreaElement?"textarea":"input")},[d]),C=Z({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:y.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),B=H(t);return delete B.id,o.createElement("div",{...B,...C,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(fe,{values:[[Pt,{...b,ref:c}],[un,{..._(g,s),ref:x}],[d5,{...g,ref:x}],[qe,{slots:{description:$,errorMessage:D}}],[qt,y]]},C.children))}),qi=o.createContext(null),c5=o.createContext(null),lr={CollectionRoot({collection:e,renderDropIndicator:t}){return Ls(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return Ls(e,t,u)}};function Ls(e,t,u){return dl({items:t?e.getChildren(t.key):e,dependencies:[u],children(n){var r;let a=n.render(n);if(!u||n.type!=="item")return a;let i=n.key,l=e.getKeyAfter(i);return o.createElement(o.Fragment,null,u({type:"item",key:i,dropPosition:"before"}),a,(l==null||((r=e.getItem(l))===null||r===void 0?void 0:r.type)!=="item")&&u({type:"item",key:i,dropPosition:"after"}))}})}const Pe=o.createContext(lr);function Ql(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const f5=o.createContext(null),ea=o.forwardRef(function(t,u){[t,u]=X(t,u,f5);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:r,isPressed:a}=v6({...t,elementType:n},u),{hoverProps:i,isHovered:l}=Ce(t),{focusProps:s,isFocused:d,isFocusVisible:c}=he(),f=Z({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:a,isHovered:l,isFocused:d,isFocusVisible:c}});return o.createElement(n,{ref:u,slot:t.slot||void 0,..._(f,r,i,s),"data-focused":d||void 0,"data-hovered":l||void 0,"data-pressed":a||void 0,"data-focus-visible":c||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},f.children)}),Yi=o.createContext(null),ox=o.forwardRef(function(t,u){[t,u]=X(t,u,Yi);let{CollectionRoot:n}=o.useContext(Pe),{navProps:r}=Ng(t);return o.createElement(Tu,{content:o.createElement(Bt,t)},a=>{var i;return o.createElement("ol",{ref:u,...r,slot:t.slot||void 0,style:t.style,className:(i=t.className)!==null&&i!==void 0?i:"react-aria-Breadcrumbs"},o.createElement(Yi.Provider,{value:t},o.createElement(n,{collection:a})))})}),sx=cu("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:a,onAction:i}=Ze(Yi),l={"aria-current":r?"page":null,isDisabled:a||r,onPress:()=>i==null?void 0:i(n.key)},s=Z({...n.props,children:n.rendered,values:{isDisabled:a||r,isCurrent:r},defaultClassName:"react-aria-Breadcrumb"});return o.createElement("li",{...H(t),...s,ref:u,"data-disabled":a||r||void 0,"data-current":r||void 0},o.createElement(f5.Provider,{value:l},s.children))}),ta=o.createContext(null),ua=o.createContext(null),Aa=o.createContext(null),wa=o.createContext(null),dx=o.forwardRef(function(t,u){[t,u]=X(t,u,ta);let{locale:n}=pe(),r=hh({...t,locale:n,createCalendar:Da}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=Xg(t,r),c=Z({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-Calendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(fe,{values:[[mt,{slots:{previous:i,next:l}}],[sa,{"aria-hidden":!0,level:2,children:d}],[Aa,r],[ta,t],[qe,{slots:{errorMessage:s}}]]},o.createElement(su,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(su,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),cx=o.forwardRef(function(t,u){[t,u]=X(t,u,ua);let{locale:n}=pe(),r=Cy({...t,locale:n,createCalendar:Da}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=eD(t,r,u),c=Z({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(fe,{values:[[mt,{slots:{previous:i,next:l}}],[sa,{"aria-hidden":!0,level:2,children:d}],[wa,r],[ua,t],[qe,{slots:{errorMessage:s}}]]},o.createElement(su,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(su,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),Fa=o.createContext(null),p5=o.forwardRef(function(t,u){let n=o.useContext(Aa),r=o.useContext(wa),a=Ze(ta),i=Ze(ua),l=n??r,s=l.visibleRange.start;t.offset&&(s=s.add(t.offset));var d;let c=(d=a==null?void 0:a.firstDayOfWeek)!==null&&d!==void 0?d:i==null?void 0:i.firstDayOfWeek,{gridProps:f,headerProps:p,weekDays:m}=tD({startDate:s,endDate:_r(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var b;return o.createElement(Fa.Provider,{value:{headerProps:p,weekDays:m,startDate:s,firstDayOfWeek:c}},o.createElement("table",{...H(t),...f,ref:u,style:t.style,className:(b=t.className)!==null&&b!==void 0?b:"react-aria-CalendarGrid"},typeof t.children!="function"?t.children:o.createElement(o.Fragment,null,o.createElement(px,null,g=>o.createElement(bx,null,g)),o.createElement($x,null,t.children))))});function fx(e,t){let{children:u,style:n,className:r}=e,{headerProps:a,weekDays:i}=o.useContext(Fa);return o.createElement("thead",{...H(e),...a,ref:t,style:n,className:r||"react-aria-CalendarGridHeader"},o.createElement("tr",null,i.map((l,s)=>o.cloneElement(u(l),{key:s}))))}const px=o.forwardRef(fx);function mx(e,t){let{children:u,style:n,className:r}=e;return o.createElement("th",{...H(e),ref:t,style:n,className:r||"react-aria-CalendarHeaderCell"},u)}const bx=o.forwardRef(mx);function hx(e,t){let{children:u,style:n,className:r}=e,a=o.useContext(Aa),i=o.useContext(wa),l=a??i,{startDate:s,firstDayOfWeek:d}=o.useContext(Fa),{locale:c}=pe(),f=L6(s,c,d);return o.createElement("tbody",{...H(e),ref:t,style:n,className:r||"react-aria-CalendarGridBody"},[...new Array(f).keys()].map(p=>o.createElement("tr",{key:p},l.getDatesInWeek(p,s).map((m,b)=>m?o.cloneElement(u(m),{key:b}):o.createElement("td",{key:b})))))}const $x=o.forwardRef(hx),m5=o.forwardRef(function({date:t,...u},n){let r=o.useContext(Aa),a=o.useContext(wa),i=r??a;var l;let{startDate:s}=(l=o.useContext(Fa))!==null&&l!==void 0?l:{startDate:i.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=nD({date:t},i,d),{hoverProps:m,isHovered:b}=Ce({...u,isDisabled:p.isDisabled}),{focusProps:g,isFocusVisible:$}=he();$&&($=p.isFocused);let D=!I6(s,t),y=!1,x=!1;"highlightedRange"in i&&i.highlightedRange&&(y=Fe(t,i.highlightedRange.start),x=Fe(t,i.highlightedRange.end));let C=Z({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:b,isOutsideMonth:D,isFocusVisible:$,isSelectionStart:y,isSelectionEnd:x,...p}}),B={"data-focused":p.isFocused||void 0,"data-hovered":b||void 0,"data-pressed":p.isPressed||void 0,"data-unavailable":p.isUnavailable||void 0,"data-disabled":p.isDisabled||void 0,"data-focus-visible":$||void 0,"data-outside-visible-range":p.isOutsideVisibleRange||void 0,"data-outside-month":D||void 0,"data-selected":p.isSelected||void 0,"data-selection-start":y||void 0,"data-selection-end":x||void 0,"data-invalid":p.isInvalid||void 0};return o.createElement("td",{...c,ref:n},o.createElement("div",{..._(H(u),f,g,m,B,C),ref:d}))}),gx=o.createContext(null),Xl=o.createContext(null),Dx=o.forwardRef(function(t,u){[t,u]=X(t,u,gx);let{validationBehavior:n}=Ze(bu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Ey({...t,validationBehavior:i}),[s,d]=ft(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=cD({...t,label:d,validationBehavior:i},l),g=Z({...t,values:{isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:t.isRequired||!1,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-CheckboxGroup"});return o.createElement("div",{...c,...g,ref:u,slot:t.slot||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":t.isRequired||void 0,"data-invalid":l.isInvalid||void 0,"data-disabled":t.isDisabled||void 0},o.createElement(fe,{values:[[Xl,l],[Pt,{...f,ref:s,elementType:"span"}],[qe,{slots:{description:p,errorMessage:m}}],[qt,b]]},g.children))}),vx=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=X(r,u,ul);let{validationBehavior:a}=Ze(bu)||{};var i,l;let s=(l=(i=t.validationBehavior)!==null&&i!==void 0?i:a)!==null&&l!==void 0?l:"native",d=o.useContext(Xl),c=$e(du(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:m,isDisabled:b,isReadOnly:g,isPressed:$,isInvalid:D}=d?fD({...Lt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):B4({...Lt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},P4(t),c),{isFocused:y,isFocusVisible:x,focusProps:C}=he(),B=b||g,{hoverProps:P,isHovered:T}=Ce({...t,isDisabled:B}),v=Z({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:$,isHovered:T,isFocused:y,isFocusVisible:x,isDisabled:b,isReadOnly:g,isInvalid:D,isRequired:t.isRequired||!1}}),F=H(t);return delete F.id,o.createElement("label",{..._(F,f,P,v),ref:u,slot:t.slot||void 0,"data-selected":m||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":$||void 0,"data-hovered":T||void 0,"data-focused":y||void 0,"data-focus-visible":x||void 0,"data-disabled":b||void 0,"data-readonly":g||void 0,"data-invalid":D||void 0,"data-required":t.isRequired||void 0},o.createElement(su,{elementType:"span"},o.createElement("input",{..._(p,C),ref:c})),v.children)});var b5={};b5={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var h5={};h5={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var $5={};$5={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var g5={};g5={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var D5={};D5={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var v5={};v5={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var y5={};y5={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var x5={};x5={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var C5={};C5={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var E5={};E5={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var B5={};B5={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var k5={};k5={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var P5={};P5={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var S5={};S5={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var A5={};A5={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var w5={};w5={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var F5={};F5={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var T5={};T5={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var R5={};R5={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var I5={};I5={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var K5={};K5={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var M5={};M5={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var z5={};z5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var N5={};N5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var V5={};V5={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var _5={};_5={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var j5={};j5={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var L5={};L5={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var O5={};O5={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var H5={};H5={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var U5={};U5={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var W5={};W5={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var Z5={};Z5={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var G5={};G5={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var q5={};q5={"ar-AE":b5,"bg-BG":h5,"cs-CZ":$5,"da-DK":g5,"de-DE":D5,"el-GR":v5,"en-US":y5,"es-ES":x5,"et-EE":C5,"fi-FI":E5,"fr-FR":B5,"he-IL":k5,"hr-HR":P5,"hu-HU":S5,"it-IT":A5,"ja-JP":w5,"ko-KR":F5,"lt-LT":T5,"lv-LV":R5,"nb-NO":I5,"nl-NL":K5,"pl-PL":M5,"pt-BR":z5,"pt-PT":N5,"ro-RO":V5,"ru-RU":_5,"sk-SK":j5,"sl-SI":L5,"sr-SP":O5,"sv-SE":H5,"tr-TR":U5,"uk-UA":W5,"zh-CN":Z5,"zh-TW":G5};const At=o.createContext({}),eo=o.createContext(null),yx=o.forwardRef(function(t,u){let{render:n}=o.useContext(eo);return o.createElement(o.Fragment,null,n(t,u))});function to(e,t){var u;let n=e==null?void 0:e.renderDropIndicator,r=e==null||(u=e.isVirtualDragging)===null||u===void 0?void 0:u.call(e),a=o.useCallback(i=>{if(r||t!=null&&t.isDropTarget(i))return n?n(i):o.createElement(yx,{target:i})},[t==null?void 0:t.target,r,n]);return e!=null&&e.useDropIndicator?a:void 0}function Y5(e,t,u){var n,r;let a=e.focusedKey,i=null;if(!(t==null||(n=t.isVirtualDragging)===null||n===void 0)&&n.call(t)&&(u==null||(r=u.target)===null||r===void 0?void 0:r.type)==="item"){i=u.target.key;var l;u.target.dropPosition==="after"&&(i=(l=u.collection.getKeyAfter(i))!==null&&l!==void 0?l:i)}return o.useMemo(()=>new Set([a,i].filter(s=>s!=null)),[a,i])}const J5=o.createContext({}),Q5=o.createContext({}),Ta=o.createContext(null),Yt=o.createContext(null),xx=o.forwardRef(function(t,u){[t,u]=X(t,u,Ta);let n=o.useContext(Yt);return n?o.createElement(X5,{state:n,props:t,listBoxRef:u}):o.createElement(Tu,{content:o.createElement(Bt,t)},r=>o.createElement(Cx,{props:t,listBoxRef:u,collection:r}))});function Cx({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext(Pe),r=Pa({...e,layoutDelegate:n});return o.createElement(X5,{state:r,props:e,listBoxRef:t})}function X5({state:e,props:t,listBoxRef:u}){let{filter:n,collectionProps:r,collectionRef:a}=o.useContext(qi)||{};t=o.useMemo(()=>r?{...t,...r}:t,[t,r]);let{dragAndDropHooks:i,layout:l="stack",orientation:s="vertical"}=t;u=$e(o.useMemo(()=>du(u,a!==void 0?a:null),[a,u]));let d=ky(e,n),{collection:c,selectionManager:f}=d,p=!!(i!=null&&i.useDraggableCollectionState),m=!!(i!=null&&i.useDroppableCollectionState),{direction:b}=pe(),{disabledBehavior:g,disabledKeys:$}=f,D=rn({usage:"search",sensitivity:"base"}),{isVirtualized:y,layoutDelegate:x,dropTargetDelegate:C,CollectionRoot:B}=o.useContext(Pe),P=o.useMemo(()=>t.keyboardDelegate||new on({collection:c,collator:D,ref:u,disabledKeys:$,disabledBehavior:g,layout:l,orientation:s,direction:b,layoutDelegate:x}),[c,D,u,g,$,s,b,t.keyboardDelegate,l,x]),{listBoxProps:T}=Mf({...t,shouldSelectOnPressUp:p||t.shouldSelectOnPressUp,keyboardDelegate:P,isVirtualized:y},d,u),v=o.useRef(p),F=o.useRef(m);o.useEffect(()=>{v.current!==p&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),F.current!==m&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[p,m]);let S,k,M,E=!1,V=null,I=o.useRef(null);if(p&&i){S=i.useDraggableCollectionState({collection:c,selectionManager:f,preview:i.renderDragPreview?I:void 0}),i.useDraggableCollection({},S,u);let U=i.DragPreview;V=i.renderDragPreview?o.createElement(U,{ref:I},i.renderDragPreview):null}if(m&&i){k=i.useDroppableCollectionState({collection:c,selectionManager:f});let U=i.dropTargetDelegate||C||new i.ListDropTargetDelegate(c,u,{orientation:s,layout:l,direction:b});M=i.useDroppableCollection({keyboardDelegate:P,dropTargetDelegate:U},k,u),E=k.isDropTarget({type:"root"})}let{focusProps:w,isFocused:R,isFocusVisible:A}=he(),z={isDropTarget:E,isEmpty:d.collection.size===0,isFocused:R,isFocusVisible:A,layout:t.layout||"stack",state:d},K=Z({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:z}),N=null;return d.collection.size===0&&t.renderEmptyState&&(N=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(z))),o.createElement(an,null,o.createElement("div",{...H(t),..._(T,w,M==null?void 0:M.collectionProps),...K,ref:u,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":E||void 0,"data-empty":d.collection.size===0||void 0,"data-focused":R||void 0,"data-focus-visible":A||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(fe,{values:[[Ta,t],[Yt,d],[At,{dragAndDropHooks:i,dragState:S,dropState:k}],[Q5,{elementType:"div"}],[eo,{render:kx}],[c5,{name:"ListBoxSection",render:Ex}]]},o.createElement(B,{collection:c,scrollRef:u,persistedKeys:Y5(f,i,k),renderDropIndicator:to(i,k)})),N,V))}function Ex(e,t,u,n="react-aria-ListBoxSection"){let r=o.useContext(Yt),{dragAndDropHooks:a,dropState:i}=o.useContext(At),{CollectionBranch:l}=o.useContext(Pe),[s,d]=ft();var c;let{headingProps:f,groupProps:p}=_f({heading:d,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),m=Z({defaultClassName:n,className:e.className,style:e.style,values:{}});return o.createElement("section",{...H(e),...p,...m,ref:t},o.createElement(J5.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:r.collection,parent:u,renderDropIndicator:to(a,i)})))}const Bx=cu("item",function(t,u,n){let r=$e(u),a=o.useContext(Yt),{dragAndDropHooks:i,dragState:l,dropState:s}=o.useContext(At),{optionProps:d,labelProps:c,descriptionProps:f,...p}=Vf({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},a,r),{hoverProps:m,isHovered:b}=Ce({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),g=null;l&&i&&(g=i.useDraggableItem({key:n.key},l));let $=null;s&&i&&($=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,r));let D=l&&l.isDragging(n.key),y=Z({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...p,isHovered:b,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:D,isDropTarget:$==null?void 0:$.isDropTarget}});o.useEffect(()=>{n.textValue||console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]);let x=t.href?"a":"div";return o.createElement(x,{..._(d,m,g==null?void 0:g.dragProps,$==null?void 0:$.dropProps),...y,ref:r,"data-allows-dragging":!!l||void 0,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":b||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":p.isFocusVisible||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":D||void 0,"data-drop-target":($==null?void 0:$.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},o.createElement(fe,{values:[[qe,{slots:{[lu]:c,label:c,description:f}}]]},y.children))});function kx(e,t){t=$e(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(At),{dropIndicatorProps:r,isHidden:a,isDropTarget:i}=u.useDropIndicator(e,n,t);return a?null:o.createElement(Sx,{...e,dropIndicatorProps:r,isDropTarget:i,ref:t})}function Px(e,t){let{dropIndicatorProps:u,isDropTarget:n,...r}=e,a=Z({...r,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...u,...a,role:"option",ref:t,"data-drop-target":n||void 0})}const Sx=o.forwardRef(Px),uo=o.createContext({placement:"bottom"}),Ax=o.forwardRef(function(t,u){[t,u]=X(t,u,uo);let n=t.placement,r={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(r[n]="100%");let a=Z({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});return a.style&&Object.keys(a.style).forEach(i=>a.style[i]===void 0&&delete a.style[i]),o.createElement("div",{...t,...a,style:{...r,...a.style},ref:u,"data-placement":n})}),fn=o.createContext(null),Os=o.createContext(null),Ra=o.forwardRef(function(t,u){[t,u]=X(t,u,fn);let n=o.useContext(wt),r=mu(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,i=Rr(u,a.isOpen)||t.isExiting||!1,l=H2(),{direction:s}=pe();if(l){let d=t.children;return typeof d=="function"&&(d=d({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),o.createElement(o.Fragment,null,d)}return a&&!a.isOpen&&!i?null:o.createElement(wx,{...t,triggerRef:t.triggerRef,state:a,popoverRef:u,isExiting:i,dir:s})});function wx({state:e,isExiting:t,UNSTABLE_portalContainer:u,...n}){let r=o.useRef(null),[a,i]=o.useState(0),l=o.useRef(null),s=o.useContext(Os),d=s&&n.trigger==="SubmenuTrigger";Y(()=>{r.current&&e.isOpen&&i(r.current.getBoundingClientRect().width)},[e.isOpen,r]);var c;let{popoverProps:f,underlayProps:p,arrowProps:m,placement:b}=KD({...n,offset:(c=n.offset)!==null&&c!==void 0?c:8,arrowSize:a,groupRef:d?s:l},e),g=n.popoverRef,$=pa(g,!!b)||n.isEntering||!1,D=Z({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:b,isEntering:$,isExiting:t}}),y=!n.isNonModal||n.trigger==="SubmenuTrigger",[x,C]=o.useState(!1);Y(()=>{g.current&&C(y&&!g.current.querySelector("[role=dialog]"))},[g,y]),o.useEffect(()=>{x&&g.current&&!g.current.contains(document.activeElement)&&xe(g.current)},[x,g]);let B={...f.style,...D.style},P=o.createElement("div",{..._(H(n),f),...D,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],ref:g,slot:n.slot||void 0,style:B,dir:n.dir,"data-trigger":n.trigger,"data-placement":b,"data-entering":$||void 0,"data-exiting":t||void 0},!n.isNonModal&&o.createElement(Un,{onDismiss:e.close}),o.createElement(uo.Provider,{value:{...m,placement:b,ref:r}},D.children),o.createElement(Un,{onDismiss:e.close}));if(!d)return o.createElement(qr,{...n,shouldContainFocus:x,isExiting:t,portalContainer:u},!n.isNonModal&&e.isOpen&&o.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),o.createElement("div",{ref:l,style:{display:"contents"}},o.createElement(Os.Provider,{value:l},P)));var T;return o.createElement(qr,{...n,shouldContainFocus:x,isExiting:t,portalContainer:(T=u??(s==null?void 0:s.current))!==null&&T!==void 0?T:void 0},P)}const Fx=o.createContext({}),e$=o.createContext(null),no=o.createContext(null),na=o.createContext(null),ra=o.createContext(null);function Tx(e){let t=Sa(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:r}=Ol({...e,type:"menu"},t,u),[a,i]=o.useState(null),l=o.useCallback(()=>{u.current&&i(u.current.offsetWidth+"px")},[u]);en({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(fe,{values:[[e$,{...r,ref:s}],[wt,t],[na,t],[fn,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":a},"aria-labelledby":r["aria-labelledby"]}]]},o.createElement(pl,{...n,ref:u,isPressed:t.isOpen},e.children))}const Rx=o.createContext(null),Ix=o.forwardRef(function(t,u){return[t,u]=X(t,u,e$),o.createElement(Tu,{content:o.createElement(Bt,t)},n=>o.createElement(Kx,{props:t,collection:n,menuRef:u}))});function Kx({props:e,collection:t,menuRef:u}){let{filter:n,collectionProps:r,collectionRef:a}=o.useContext(qi)||{};u=$e(o.useMemo(()=>du(u,a!==void 0?a:null),[a,u]));let i=o.useMemo(()=>n?t.UNSTABLE_filter(n):t,[t,n]),l=nx({...e,collection:i,children:void 0}),s=o.useContext(na),{isVirtualized:d,CollectionRoot:c}=o.useContext(Pe),{menuProps:f}=GD({...e,...r,isVirtualized:d,onClose:e.onClose||(s==null?void 0:s.close)},l,u),p=Z({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{isEmpty:l.collection.size===0}}),m=null;return l.collection.size===0&&e.renderEmptyState&&(m=o.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState())),o.createElement(an,null,o.createElement("div",{...H(e),...f,...p,ref:u,slot:e.slot||void 0,"data-empty":l.collection.size===0||void 0,onScroll:e.onScroll},o.createElement(fe,{values:[[no,l],[Q5,{elementType:"div"}],[c5,{name:"MenuSection",render:zx}],[Rx,{parentMenuRef:u,shouldUseVirtualFocus:r==null?void 0:r.shouldUseVirtualFocus}],[Ji,null],[qi,null],[ra,l.selectionManager],[na,s??Sa({})]]},o.createElement(c,{collection:l.collection,persistedKeys:Ql(l.selectionManager.focusedKey),scrollRef:u})),m))}class Mx extends dn{get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,u){return this.parent.setFocusedKey(t,u)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}constructor(t,u){super(t.collection,u),this.parent=t}}function zx(e,t,u,n="react-aria-MenuSection"){var r,a;let i=o.useContext(no),{CollectionBranch:l}=o.useContext(Pe),[s,d]=ft();var c;let{headingProps:f,groupProps:p}=YD({heading:d,"aria-label":(c=u.props["aria-label"])!==null&&c!==void 0?c:void 0}),m=Z({defaultClassName:n,className:(r=u.props)===null||r===void 0?void 0:r.className,style:(a=u.props)===null||a===void 0?void 0:a.style,values:{}}),b=o.useContext(ra),g=ar(e),$=e.selectionMode!=null?new Mx(b,g):b;return o.createElement("section",{...H(e),...p,...m,ref:t},o.createElement(fe,{values:[[J5,{...f,ref:s}],[ra,$]]},o.createElement(l,{collection:i.collection,parent:u})))}const Ji=o.createContext(null),Nx=cu("item",function(t,u,n){var r;[t,u]=X(t,u,Ji);let a=(r=Ze(Ji))===null||r===void 0?void 0:r.id,i=o.useContext(no),l=$e(u),s=o.useContext(ra),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...m}=qD({...t,id:a,key:n.key,selectionManager:s},i,l),{hoverProps:b,isHovered:g}=Ce({isDisabled:m.isDisabled}),$=Z({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...m,isHovered:g,isFocusVisible:m.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),D=t.href?"a":"div";return o.createElement(D,{..._(d,b),...$,ref:l,"data-disabled":m.isDisabled||void 0,"data-hovered":g||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":m.isFocusVisible||void 0,"data-pressed":m.isPressed||void 0,"data-selected":m.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},o.createElement(fe,{values:[[qe,{slots:{[lu]:c,label:c,description:f}}],[Fx,p]]},$.children))}),Ia=o.createContext(null),wt=o.createContext(null);function Vx(e){let t=Sa(e),u=o.useRef(null),{triggerProps:n,overlayProps:r}=Nl({type:"dialog"},t,u);return n.id=ue(),r["aria-labelledby"]=n.id,o.createElement(fe,{values:[[wt,t],[na,t],[Ia,r],[fn,{trigger:"DialogTrigger",triggerRef:u,"aria-labelledby":r["aria-labelledby"]}]]},o.createElement(pl,{...n,ref:u,isPressed:t.isOpen},e.children))}const ro=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=X(t,u,Ia);let{dialogProps:r,titleProps:a}=i1({...t,"aria-labelledby":n},u),i=o.useContext(wt);!r["aria-label"]&&!r["aria-labelledby"]&&(t["aria-labelledby"]?r["aria-labelledby"]=t["aria-labelledby"]:console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));let l=Z({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(i==null?void 0:i.close)||(()=>{})}});return o.createElement("section",{...H(t),...r,...l,ref:u,slot:t.slot||void 0},o.createElement(fe,{values:[[sa,{slots:{[lu]:{},title:{...a,level:2}}}],[mt,{slots:{[lu]:{},close:{onPress:()=>i==null?void 0:i.close()}}}]]},l.children))}),_x=o.createContext(null),jx=o.createContext(null),Lx=o.forwardRef(function(t,u){[t,u]=X(t,u,_x);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>{var s;return o.createElement(Ta.Provider,{value:{items:(s=t.items)!==null&&s!==void 0?s:t.defaultItems}},typeof n=="function"?n({isOpen:!1,isDisabled:r,isInvalid:a,isRequired:i,defaultChildren:null}):n)},[n,r,a,i,t.items,t.defaultItems]);return o.createElement(Tu,{content:l},s=>o.createElement(Ox,{props:t,collection:s,comboBoxRef:u}))});function Ox({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:r="key",allowsCustomValue:a}=e;a&&(r="text");let{validationBehavior:i}=Ze(bu)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:i)!==null&&s!==void 0?s:"native",{contains:c}=Kc({sensitivity:"base"}),f=Py({defaultFilter:e.defaultFilter||c,...e,items:e.items,children:void 0,collection:t,validationBehavior:d}),p=o.useRef(null),m=o.useRef(null),b=o.useRef(null),g=o.useRef(null),[$,D]=ft(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:y,inputProps:x,listBoxProps:C,labelProps:B,descriptionProps:P,errorMessageProps:T,...v}=QD({...Lt(e),label:D,inputRef:m,buttonRef:p,listBoxRef:b,popoverRef:g,name:r==="text"?n:void 0,validationBehavior:d},f),[F,S]=o.useState(null),k=o.useCallback(()=>{if(m.current){var w;let R=(w=p.current)===null||w===void 0?void 0:w.getBoundingClientRect(),A=m.current.getBoundingClientRect(),z=R?Math.min(R.left,A.left):A.left,K=R?Math.max(R.right,A.right):A.right;S(K-z+"px")}},[p,m,S]);en({ref:m,onResize:k});let M=o.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:v.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,v.isInvalid,e.isRequired]),E=Z({...e,values:M,defaultClassName:"react-aria-ComboBox"}),V=H(e);delete V.id;var I;return o.createElement(fe,{values:[[jx,f],[Pt,{...B,ref:$}],[mt,{...y,ref:p,isPressed:f.isOpen}],[un,{...x,ref:m}],[wt,f],[fn,{ref:g,triggerRef:m,scrollRef:b,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":F}}],[Ta,{...C,ref:b}],[Yt,f],[qe,{slots:{description:P,errorMessage:T}}],[cn,{isInvalid:v.isInvalid,isDisabled:e.isDisabled||!1}],[qt,v]]},o.createElement("div",{...V,...E,ref:u,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":v.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&r==="key"&&o.createElement("input",{type:"hidden",name:n,value:(I=f.selectedKey)!==null&&I!==void 0?I:""}))}const Ka=o.createContext(null),or=o.createContext(null),ao=o.createContext(null),Hx=o.forwardRef(function(t,u){[t,u]=X(t,u,Ka);let{validationBehavior:n}=Ze(bu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",{locale:l}=pe(),s=r5({...t,locale:l,createCalendar:Da,validationBehavior:i}),d=o.useRef(null),[c,f]=ft(!t["aria-label"]&&!t["aria-labelledby"]),p=o.useRef(null),{labelProps:m,fieldProps:b,inputProps:g,descriptionProps:$,errorMessageProps:D,...y}=a1({...Lt(t),label:f,inputRef:p,validationBehavior:i},s,d),x=Z({...Lt(t),values:{state:s,isInvalid:s.isInvalid,isDisabled:s.isDisabled},defaultClassName:"react-aria-DateField"}),C=H(t);return delete C.id,o.createElement(fe,{values:[[or,s],[cn,{...b,ref:d,isInvalid:s.isInvalid}],[un,{...g,ref:p}],[Pt,{...m,ref:c,elementType:"span"}],[qe,{slots:{description:$,errorMessage:D}}],[qt,y]]},o.createElement("div",{...C,...x,ref:u,slot:t.slot||void 0,"data-invalid":s.isInvalid||void 0}))}),aa=o.forwardRef(function(t,u){let n=o.useContext(or),r=o.useContext(ao);return n||r?o.createElement(t$,{...t,ref:u}):o.createElement(Ux,{...t,ref:u})}),Ux=o.forwardRef((e,t)=>{let[u,n]=X({slot:e.slot},t,Ka),{locale:r}=pe(),a=r5({...u,locale:r,createCalendar:Da}),i=o.useRef(null),{fieldProps:l,inputProps:s}=a1({...u,inputRef:i},a,n);return o.createElement(fe,{values:[[or,a],[un,{...s,ref:i}],[cn,{...l,ref:n,isInvalid:a.isInvalid}]]},o.createElement(t$,e))}),t$=o.forwardRef((e,t)=>{let{className:u,children:n}=e,r=o.useContext(or),a=o.useContext(ao),i=r??a;return o.createElement(o.Fragment,null,o.createElement(ir,{...e,ref:t,slot:e.slot||void 0,className:u??"react-aria-DateInput",isInvalid:i.isInvalid},i.segments.map((l,s)=>o.cloneElement(n(l),{key:s}))),o.createElement(ka,null))}),ia=o.forwardRef(function({segment:t,...u},n){let r=o.useContext(or),a=o.useContext(ao),i=r??a,l=$e(n),{segmentProps:s}=av(t,i,l),{focusProps:d,isFocused:c,isFocusVisible:f}=he(),{hoverProps:p,isHovered:m}=Ce({...u,isDisabled:i.isDisabled||t.type==="literal"}),b=Z({...u,values:{...t,isReadOnly:!t.isEditable,isInvalid:i.isInvalid,isDisabled:i.isDisabled,isHovered:m,isFocused:c,isFocusVisible:f},defaultChildren:t.text,defaultClassName:"react-aria-DateSegment"});return o.createElement("span",{..._(H(u),s,d,p),...b,style:s.style,ref:l,"data-placeholder":t.isPlaceholder||void 0,"data-invalid":i.isInvalid||void 0,"data-readonly":!t.isEditable||void 0,"data-disabled":i.isDisabled||void 0,"data-type":t.type,"data-hovered":m||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0})}),Wx=o.createContext(null),Zx=o.createContext(null),Gx=o.createContext(null),qx=o.createContext(null),Yx=o.forwardRef(function(t,u){[t,u]=X(t,u,Wx);let{validationBehavior:n}=Ze(bu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Ry({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ft(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:f,labelProps:p,fieldProps:m,buttonProps:b,dialogProps:g,calendarProps:$,descriptionProps:D,errorMessageProps:y,...x}=tv({...Lt(t),label:c,validationBehavior:i},l,s),[C,B]=o.useState(null),P=o.useCallback(()=>{s.current&&B(s.current.offsetWidth+"px")},[]);en({ref:s,onResize:P});let{focusProps:T,isFocused:v,isFocusVisible:F}=he({within:!0}),S=Z({...t,values:{state:l,isFocusWithin:v,isFocusVisible:F,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DatePicker"}),k=H(t);return delete k.id,o.createElement(fe,{values:[[Gx,l],[cn,{...f,ref:s,isInvalid:l.isInvalid}],[Ka,m],[mt,{...b,isPressed:l.isOpen}],[Pt,{...p,ref:d,elementType:"span"}],[ta,$],[wt,l],[fn,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":C}}],[Ia,g],[qe,{slots:{description:D,errorMessage:y}}],[qt,x]]},o.createElement("div",{...T,...k,...S,ref:u,slot:t.slot||void 0,"data-focus-within":v||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":F||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),Jx=o.forwardRef(function(t,u){[t,u]=X(t,u,Zx);let{validationBehavior:n}=Ze(bu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=_y({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ft(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:f,labelProps:p,startFieldProps:m,endFieldProps:b,buttonProps:g,dialogProps:$,calendarProps:D,descriptionProps:y,errorMessageProps:x,...C}=ov({...Lt(t),label:c,validationBehavior:i},l,s),[B,P]=o.useState(null),T=o.useCallback(()=>{s.current&&P(s.current.offsetWidth+"px")},[]);en({ref:s,onResize:T});let{focusProps:v,isFocused:F,isFocusVisible:S}=he({within:!0}),k=Z({...t,values:{state:l,isFocusWithin:F,isFocusVisible:S,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DateRangePicker"}),M=H(t);return delete M.id,o.createElement(fe,{values:[[qx,l],[cn,{...f,ref:s,isInvalid:l.isInvalid}],[mt,{...g,isPressed:l.isOpen}],[Pt,{...p,ref:d,elementType:"span"}],[ua,D],[wt,l],[fn,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":B}}],[Ia,$],[Ka,{slots:{start:m,end:b}}],[qe,{slots:{description:y,errorMessage:x}}],[qt,C]]},o.createElement("div",{...v,...M,...k,ref:u,slot:t.slot||void 0,"data-focus-within":F||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":S||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),u$=o.createContext(null),Qx=o.forwardRef(function(t,u){let n=Ly(t),r=Z({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),a=H(t);return o.createElement("div",{...a,...r,ref:u,"data-disabled":t.isDisabled||void 0},o.createElement(u$.Provider,{value:n},r.children))}),Xx=o.createContext(null),e7=o.createContext(null),n$=o.createContext(null),t7=o.forwardRef(function(t,u){[t,u]=X(t,u,Xx);let n=o.useContext(u$),{id:r,...a}=t,i=ue();r||(r=i);let l=n?n.expandedKeys.has(r):t.isExpanded,s=jy({...t,isExpanded:l,onExpandedChange(D){var y;n&&n.toggleKey(r),(y=t.onExpandedChange)===null||y===void 0||y.call(t,D)}}),d=o.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:p}=sv({...t,isExpanded:l,isDisabled:c},s,d),{isFocusVisible:m,focusProps:b}=he({within:!0}),g=Z({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:s.isExpanded,isDisabled:c,isFocusVisibleWithin:m,state:s}}),$=H(a);return o.createElement(fe,{values:[[mt,{slots:{[lu]:{},trigger:f}}],[n$,{panelProps:p,panelRef:d}],[e7,s]]},o.createElement("div",{ref:u,"data-expanded":s.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":m||void 0,...$,...b,...g},g.children))}),u7=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:r,panelRef:a}=o.useContext(n$),{isFocusVisible:i,focusProps:l}=he({within:!0}),s=Z({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:i}}),d=H(t);return o.createElement("div",{...d,ref:du(u,a),..._(r,l),...s,role:n,"data-focus-visible-within":i||void 0},o.createElement(fe,{values:[[mt,null]]},t.children))});function n7(e){return e&&e.__esModule?e.default:e}const r7=o.createContext(null),a7=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=X(t,u,r7);let r=$e(u),a=o.useRef(null),{dropProps:i,dropButtonProps:l,isDropTarget:s}=Bv({...t,ref:a,hasDropButton:!0}),{buttonProps:d}=wl(l||{},a),{hoverProps:c,isHovered:f}=Ce(t),{focusProps:p,isFocused:m,isFocusVisible:b}=he(),g=ve(n7(q5),"react-aria-components"),$=lt(),D=t["aria-label"]||g.format("dropzoneLabel"),y=t["aria-labelledby"],x=[$,y].filter(Boolean).join(" "),C=yt({"aria-label":D,"aria-labelledby":x}),{clipboardProps:B}=kv({isDisabled:n,onPaste:v=>{var F;return(F=t.onDrop)===null||F===void 0?void 0:F.call(t,{type:"drop",items:v,x:0,y:0,dropOperation:"copy"})}}),P=Z({...t,values:{isHovered:f,isFocused:m,isFocusVisible:b,isDropTarget:s,isDisabled:n},defaultClassName:"react-aria-DropZone"}),T=H(t);return delete T.id,o.createElement(fe,{values:[[qe,{id:$,slot:"label"}]]},o.createElement("div",{..._(i,c,T),...P,slot:t.slot||void 0,ref:r,onClick:v=>{var F;let S=v.target;for(;S&&(!((F=r.current)===null||F===void 0)&&F.contains(S))&&!sl(S);){if(S===r.current){var k;(k=a.current)===null||k===void 0||k.focus();break}S=S.parentElement}},"data-hovered":f||void 0,"data-focused":m||void 0,"data-focus-visible":b||void 0,"data-drop-target":s||void 0,"data-disabled":n||void 0},o.createElement(su,null,o.createElement("button",{..._(d,p,B,C),ref:a})),P.children))}),i7=o.forwardRef(function(t,u){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:a,defaultCamera:i,children:l,acceptDirectory:s,...d}=t,c=$e(u),f=H(d);return o.createElement(o.Fragment,null,o.createElement(pl,{onPress:()=>{var p,m;!((p=c.current)===null||p===void 0)&&p.value&&(c.current.value=""),(m=c.current)===null||m===void 0||m.click()}},l),o.createElement(ka,{...f,type:"file",ref:c,style:{display:"none"},accept:r==null?void 0:r.toString(),onChange:p=>n==null?void 0:n(p.target.files),capture:i,multiple:a,webkitdirectory:s?"":void 0}))}),Ma=o.forwardRef(function(t,u){[t,u]=X(t,u,sa);let{children:n,level:r=3,className:a,...i}=t,l=`h${r}`;return o.createElement(l,{...i,ref:u,className:a??"react-aria-Heading"},n)}),l7=o.createContext(null),io=o.createContext(null),o7=o.forwardRef(function(t,u){if(o.useContext(io))return o.createElement(Hs,{...t,modalRef:u},t.children);let{isDismissable:r,isKeyboardDismissDisabled:a,isOpen:i,defaultOpen:l,onOpenChange:s,children:d,isEntering:c,isExiting:f,UNSTABLE_portalContainer:p,shouldCloseOnInteractOutside:m,...b}=t;return o.createElement(r$,{isDismissable:r,isKeyboardDismissDisabled:a,isOpen:i,defaultOpen:l,onOpenChange:s,isEntering:c,isExiting:f,UNSTABLE_portalContainer:p,shouldCloseOnInteractOutside:m},o.createElement(Hs,{...b,modalRef:u},d))});function s7(e,t){[e,t]=X(e,t,l7);let u=o.useContext(wt),n=mu(e),r=e.isOpen!=null||e.defaultOpen!=null||!u?n:u,a=$e(t),i=o.useRef(null),l=Rr(a,r.isOpen),s=Rr(i,r.isOpen),d=l||s||e.isExiting||!1,c=Ct();return!r.isOpen&&!d||c?null:o.createElement(d7,{...e,state:r,isExiting:d,overlayRef:a,modalRef:i})}const r$=o.forwardRef(s7);function d7({UNSTABLE_portalContainer:e,...t}){let u=t.modalRef,{state:n}=t,{modalProps:r,underlayProps:a}=Tf(t,n,u),i=pa(t.overlayRef)||t.isEntering||!1,l=Z({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:i,isExiting:t.isExiting,state:n}}),s=R2(),d={...l.style,"--visual-viewport-height":s.height+"px"};return o.createElement(qr,{isExiting:t.isExiting,portalContainer:e},o.createElement("div",{..._(H(t),a),...l,style:d,ref:t.overlayRef,"data-entering":i||void 0,"data-exiting":t.isExiting||void 0},o.createElement(fe,{values:[[io,{modalProps:r,modalRef:u,isExiting:t.isExiting,isDismissable:t.isDismissable}],[wt,n]]},l.children)))}function Hs(e){let{modalProps:t,modalRef:u,isExiting:n,isDismissable:r}=o.useContext(io),a=o.useContext(wt),i=o.useMemo(()=>du(e.modalRef,u),[e.modalRef,u]),l=$e(i),s=pa(l),d=Z({...e,defaultClassName:"react-aria-Modal",values:{isEntering:s,isExiting:n,state:a}});return o.createElement("div",{..._(H(e),t),...d,ref:l,"data-entering":s||void 0,"data-exiting":n||void 0},r&&o.createElement(Un,{onDismiss:a.close}),d.children)}const c7=o.createContext(null),f7=o.createContext(null),a$=o.createContext(null),p7=o.forwardRef(function(t,u){[t,u]=X(t,u,c7);let{validationBehavior:n}=Ze(bu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Uy({...t,validationBehavior:i}),[s,d]=ft(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=Hv({...t,label:d,validationBehavior:i},l),g=Z({...t,values:{orientation:t.orientation||"vertical",isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:l.isRequired,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-RadioGroup"});return o.createElement("div",{...c,...g,ref:u,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":l.isInvalid||void 0,"data-disabled":l.isDisabled||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":l.isRequired||void 0},o.createElement(fe,{values:[[a$,l],[Pt,{...f,ref:s,elementType:"span"}],[qe,{slots:{description:p,errorMessage:m}}],[qt,b]]},g.children))}),m7=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=X(r,u,f7);let a=o.useContext(a$),i=$e(du(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=Ov({...Lt(t),children:typeof t.children=="function"?!0:t.children},a,i),{isFocused:p,isFocusVisible:m,focusProps:b}=he(),g=c||a.isReadOnly,{hoverProps:$,isHovered:D}=Ce({...t,isDisabled:g}),y=Z({...t,defaultClassName:"react-aria-Radio",values:{isSelected:d,isPressed:f,isHovered:D,isFocused:p,isFocusVisible:m,isDisabled:c,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),x=H(t);return delete x.id,o.createElement("label",{..._(x,l,$,y),ref:u,"data-selected":d||void 0,"data-pressed":f||void 0,"data-hovered":D||void 0,"data-focused":p||void 0,"data-focus-visible":m||void 0,"data-disabled":c||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},o.createElement(su,{elementType:"span"},o.createElement("input",{..._(s,b),ref:i})),y.children)});class b7 extends ma{addNode(t){super.addNode(t),this.columnsDirty||(this.columnsDirty=t.type==="column"),t.type==="tableheader"&&(this.head=t),t.type==="tablebody"&&(this.body=t)}commit(t,u,n=!1){this.updateColumns(n),this.rows=[];for(let i of this.getChildren(this.body.key)){let l=i.lastChildKey;if(l!=null){let s=this.getItem(l);var r,a;let d=((r=s.colIndex)!==null&&r!==void 0?r:s.index)+((a=s.colSpan)!==null&&a!==void 0?a:1);if(d!==this.columns.length&&!n)throw new Error(`Cell count must match column count. Found ${d} cells and ${this.columns.length} columns.`)}this.rows.push(i)}super.commit(t,u,n)}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let u=new Map,n=r=>{switch(r.type){case"column":u.set(r.key,r),r.hasChildNodes||(r.index=this.columns.length,this.columns.push(r),r.props.isRowHeader&&this.rowHeaderColumnKeys.add(r.key));break}for(let a of this.getChildren(r.key))n(a)};for(let r of this.getChildren(this.head.key))n(r);if(this.headerRows=i5(u,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!t)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){this.head.key!==-1&&(yield this.head,yield this.body)}get size(){return this.rows.length}getFirstKey(){return this.body.firstChildKey}getLastKey(){return this.body.lastChildKey}getKeyAfter(t){let u=this.getItem(t);var n;return(u==null?void 0:u.type)==="column"?(n=u.nextKey)!==null&&n!==void 0?n:null:super.getKeyAfter(t)}getKeyBefore(t){var u;let n=this.getItem(t);var r;if((n==null?void 0:n.type)==="column")return(r=n.prevKey)!==null&&r!==void 0?r:null;let a=super.getKeyBefore(t);return a!=null&&((u=this.getItem(a))===null||u===void 0?void 0:u.type)==="tablebody"?null:a}getChildren(t){if(!this.getItem(t)){for(let u of this.headerRows)if(u.key===t)return u.childNodes}return super.getChildren(t)}clone(){let t=super.clone();return t.headerRows=this.headerRows,t.columns=this.columns,t.rowHeaderColumnKeys=this.rowHeaderColumnKeys,t.head=this.head,t.body=this.body,t}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys,r=[];for(let a of this.getChildren(t)){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}constructor(...t){super(...t),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new Kn("tableheader",-1),this.body=new Kn("tablebody",-2),this.columnsDirty=!0}}const h7=o.createContext(null),$7=o.createContext(null),Ft=o.createContext(null),i$=o.createContext(null),g7=o.forwardRef(function(t,u){var n;[t,u]=X(t,u,$7);let r=ar(t),{selectionBehavior:a,selectionMode:i,disallowEmptySelection:l}=r,s=!!(!((n=t.dragAndDropHooks)===null||n===void 0)&&n.useDraggableCollectionState),d=o.useMemo(()=>({selectionBehavior:i==="none"?null:a,selectionMode:i,disallowEmptySelection:l,allowsDragging:s}),[a,i,l,s]),c=o.createElement(l$.Provider,{value:d},o.createElement(Bt,t));return o.createElement(Tu,{content:c,createCollection:()=>new b7},f=>o.createElement(D7,{props:t,forwardedRef:u,selectionState:r,collection:f}))});function D7({props:e,forwardedRef:t,selectionState:u,collection:n}){let r=o.useContext(h7);t=$e(o.useMemo(()=>du(t,r==null?void 0:r.tableRef),[t,r==null?void 0:r.tableRef]));let a=Jy({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:i,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext(Pe),{dragAndDropHooks:c}=e,{gridProps:f}=Yv({...e,layoutDelegate:l,isVirtualized:i},a,t),p=a.selectionManager,m=!!(c!=null&&c.useDraggableCollectionState),b=!!(c!=null&&c.useDroppableCollectionState),g=o.useRef(m),$=o.useRef(b);o.useEffect(()=>{g.current!==m&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),$.current!==b&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[m,b]);let D,y,x,C=!1,B=null,P=o.useRef(null);if(m&&c){D=c.useDraggableCollectionState({collection:n,selectionManager:p,preview:c.renderDragPreview?P:void 0}),c.useDraggableCollection({},D,t);let w=c.DragPreview;B=c.renderDragPreview?o.createElement(w,{ref:P},c.renderDragPreview):null}if(b&&c){y=c.useDroppableCollectionState({collection:n,selectionManager:p});let w=new on({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),R=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);x=c.useDroppableCollection({keyboardDelegate:w,dropTargetDelegate:R},y,t),C=y.isDropTarget({type:"root"})}let{focusProps:T,isFocused:v,isFocusVisible:F}=he(),S=Z({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:C,isFocused:v,isFocusVisible:F,state:a}}),k=!!(m&&!(D!=null&&D.isDisabled)),M=S.style,E=null;r&&(E=r.useTableColumnResizeState({tableWidth:r.tableWidth},a),i||(M={...M,tableLayout:"fixed",width:"fit-content"}));let V=je("table");var I;return o.createElement(fe,{values:[[Ft,a],[i$,E],[At,{dragAndDropHooks:c,dragState:D,dropState:y}],[eo,{render:P7}]]},o.createElement(an,null,o.createElement(V,{...H(e),...S,..._(f,T,x==null?void 0:x.collectionProps),style:M,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":k||void 0,"data-drop-target":C||void 0,"data-focused":v||void 0,"data-focus-visible":F||void 0},o.createElement(d,{collection:n,scrollRef:(I=r==null?void 0:r.scrollRef)!==null&&I!==void 0?I:t,persistedKeys:Y5(p,c,y)}))),B)}function je(e){let{isVirtualized:t}=o.useContext(Pe);return t?"div":e}const l$=o.createContext(null);function o$(){return o.useContext(l$)}const v7=bl("tableheader",(e,t)=>{let u=o.useContext(Ft).collection,n=dl({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(y7,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),r=je("thead"),{rowGroupProps:a}=Yb(),{hoverProps:i,isHovered:l}=Ce({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=Z({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(r,{..._(H(e),a,i),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(Bt,{dependencies:e.dependencies,items:e.columns},e.children));function y7({item:e}){let t=o.useRef(null),u=o.useContext(Ft),{isVirtualized:n,CollectionBranch:r}=o.useContext(Pe),{rowProps:a}=ey({node:e,isVirtualized:n},u,t),{checkboxProps:i}=ry(u),l=je("tr");return o.createElement(l,{...a,ref:t},o.createElement(fe,{values:[[ul,{slots:{selection:i}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const x7=cu("column",(e,t,u)=>{var n,r;let a=$e(t),i=o.useContext(Ft),{isVirtualized:l}=o.useContext(Pe),{columnHeaderProps:s}=Qv({node:u,isVirtualized:l},i,a),{isFocused:d,isFocusVisible:c,focusProps:f}=he(),p=o.useContext(i$),m=!1;if(p)m=p.resizingColumn===u.key;else for(let x in["width","defaultWidth","minWidth","maxWidth"])x in u.props&&console.warn(`The ${x} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);let{hoverProps:b,isHovered:g}=Ce({isDisabled:!e.allowsSorting}),$=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Column",values:{isHovered:g,isFocused:d,isFocusVisible:c,allowsSorting:u.props.allowsSorting,sortDirection:((n=i.sortDescriptor)===null||n===void 0?void 0:n.column)===u.key?i.sortDescriptor.direction:void 0,isResizing:m,startResize:()=>{if(p)p.startResize(u.key),i.setKeyboardNavigationDisabled(!0);else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing")},sort:x=>{i.sort(u.key,x)}}}),D=$.style;p&&(D={...D,width:p.getColumnWidth(u.key)});let y=je("th");return o.createElement(y,{..._(H(e),s,f,b),...$,style:D,ref:a,"data-hovered":g||void 0,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-resizing":m||void 0,"data-allows-sorting":u.props.allowsSorting||void 0,"data-sort-direction":((r=i.sortDescriptor)===null||r===void 0?void 0:r.column)===u.key?i.sortDescriptor.direction:void 0},o.createElement(fe,{values:[[C7,{column:u,triggerRef:a}],[Pe,lr]]},$.children))}),C7=o.createContext(null),E7=bl("tablebody",(e,t)=>{let u=o.useContext(Ft),{isVirtualized:n}=o.useContext(Pe),r=u.collection,{CollectionBranch:a}=o.useContext(Pe),{dragAndDropHooks:i,dropState:l}=o.useContext(At),s=!!(i!=null&&i.useDroppableCollectionState)&&!(l!=null&&l.isDisabled);var d;let f={isDropTarget:s&&!!l&&((d=l.isDropTarget({type:"root"}))!==null&&d!==void 0?d:!1),isEmpty:r.size===0},p=Z({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,b=je("tr"),g=je("td"),$=r.columnCount;if(r.size===0&&e.renderEmptyState&&u){let x={},C={},B={};n?(x["aria-rowindex"]=r.headerRows.length+1,C["aria-colspan"]=$,B={display:"contents"}):C.colSpan=$,m=o.createElement(b,{role:"row",...x,style:B},o.createElement(g,{role:"rowheader",...C,style:B},e.renderEmptyState(f)))}let{rowGroupProps:D}=Yb(),y=je("tbody");return o.createElement(y,{..._(H(e),D),...p,ref:t,"data-empty":r.size===0||void 0},s&&o.createElement(w7,null),o.createElement(a,{collection:r,parent:r.body,renderDropIndicator:to(i,l)}),m)}),B7=bl("item",(e,t,u)=>{let n=$e(t),r=o.useContext(Ft),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(At),{isVirtualized:s,CollectionBranch:d}=o.useContext(Pe),{rowProps:c,...f}=Xv({node:u,shouldSelectOnPressUp:!!i,isVirtualized:s},r,n),{isFocused:p,isFocusVisible:m,focusProps:b}=he(),{isFocusVisible:g,focusProps:$}=he({within:!0}),{hoverProps:D,isHovered:y}=Ce({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:x}=ny({key:u.key},r),C;i&&a&&(C=a.useDraggableItem({key:u.key,hasDragButton:!0},i));let B,P=o.useRef(null),{visuallyHiddenProps:T}=ur();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,P));let v=o.useRef(null);o.useEffect(()=>{i&&!v.current&&console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]);let F=i&&i.isDragging(u.key),{children:S,...k}=e,M=Z({...k,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:y,isFocused:p,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:F,isDropTarget:B==null?void 0:B.isDropTarget,isFocusVisibleWithin:g,id:u.key}}),E=je("tr"),V=je("td");return o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement(E,{role:"row",style:{height:0}},o.createElement(V,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...T,...B.dropIndicatorProps,ref:P}))),o.createElement(E,{..._(H(e),c,b,D,C==null?void 0:C.dragProps,$),...M,ref:n,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":y||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":F||void 0,"data-drop-target":(B==null?void 0:B.isDropTarget)||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode,"data-focus-visible-within":g||void 0},o.createElement(fe,{values:[[ul,{slots:{[lu]:{},selection:x}}],[mt,{slots:{[lu]:{},drag:{...C==null?void 0:C.dragButtonProps,ref:v,style:{pointerEvents:"none"}}}}]]},o.createElement(d,{collection:r.collection,parent:u}))))},e=>{if(e.id==null&&typeof e.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t=[e.value].concat(e.dependencies);return o.createElement(Bt,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),k7=cu("cell",(e,t,u)=>{let n=$e(t),r=o.useContext(Ft),{dragState:a}=o.useContext(At),{isVirtualized:i}=o.useContext(Pe);u.column=r.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=ty({node:u,shouldSelectOnPressUp:!!a,isVirtualized:i},r,n),{isFocused:d,isFocusVisible:c,focusProps:f}=he(),{hoverProps:p,isHovered:m}=Ce({}),b=Z({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:m,id:u.key}}),g=je("td");return o.createElement(g,{..._(H(e),l,f,p),...b,ref:n,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-pressed":s||void 0},o.createElement(Pe.Provider,{value:lr},b.children))});function P7(e,t){t=$e(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(At),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(A7,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function S7(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,i=o.useContext(Ft),{visuallyHiddenProps:l}=ur(),s=Z({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=je("tr"),c=je("td");return o.createElement(d,{...H(e),...s,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement(c,{role:"gridcell",colSpan:i.collection.columnCount,style:{padding:0}},o.createElement("div",{...l,role:"button",...u,ref:r}),s.children))}const A7=o.forwardRef(S7);function w7(){let e=o.useContext(Ft),{dragAndDropHooks:t,dropState:u}=o.useContext(At),n=o.useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},u,n),a=u.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=ur(),l=je("tr"),s=je("td");return!a&&r["aria-hidden"]?null:o.createElement(l,{role:"row","aria-hidden":r["aria-hidden"],style:{height:0}},o.createElement(s,{role:"gridcell",colSpan:e.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...i,...r,ref:n})))}cu("loader",function(t,u,n){let r=o.useContext(Ft),{isVirtualized:a}=o.useContext(Pe),i=r.collection.columns.length,l=Z({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),s=je("tr"),d=je("td"),c={},f={},p={};return a?(c["aria-rowindex"]=r.collection.headerRows.length+r.collection.size,f["aria-colspan"]=i,p={display:"contents"}):f.colSpan=i,o.createElement(o.Fragment,null,o.createElement(s,{role:"row",ref:u,..._(H(t),c),...l},o.createElement(d,{role:"rowheader",...f,style:p},l.children)))});const za=o.createContext(null),nn=o.createContext(null),F7=o.forwardRef(function(t,u){[t,u]=X(t,u,za);let{children:n,orientation:r="horizontal"}=t;return n=o.useMemo(()=>typeof n=="function"?n({orientation:r,defaultChildren:null}):n,[n,r]),o.createElement(Tu,{content:n},a=>o.createElement(T7,{props:t,collection:a,tabsRef:u}))});function T7({props:e,tabsRef:t,collection:u}){let{orientation:n="horizontal"}=e,r=Qy({...e,collection:u,children:void 0}),{focusProps:a,isFocused:i,isFocusVisible:l}=he({within:!0}),s=o.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:l}),[n,i,l]),d=Z({...e,defaultClassName:"react-aria-Tabs",values:s});return o.createElement("div",{...H(e),...a,...d,ref:t,slot:e.slot||void 0,"data-focused":i||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":r.isDisabled||void 0},o.createElement(fe,{values:[[za,e],[nn,r]]},d.children))}const R7=o.forwardRef(function(t,u){return o.useContext(nn)?o.createElement(I7,{props:t,forwardedRef:u}):o.createElement(Bt,t)});function I7({props:e,forwardedRef:t}){let u=o.useContext(nn),{CollectionRoot:n}=o.useContext(Pe),{orientation:r="horizontal",keyboardActivation:a="automatic"}=Ze(za),i=$e(t),{tabListProps:l}=oy({...e,orientation:r,keyboardActivation:a},u,i),s=Z({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:r,state:u}}),d=H(e);return delete d.id,o.createElement("div",{...d,...l,ref:i,...s,"data-orientation":r||void 0},o.createElement(n,{collection:u.collection,persistedKeys:Ql(u.selectionManager.focusedKey)}))}const K7=cu("item",(e,t,u)=>{let n=o.useContext(nn),r=$e(t),{tabProps:a,isSelected:i,isDisabled:l,isPressed:s}=ay({key:u.key,...e},n,r),{focusProps:d,isFocused:c,isFocusVisible:f}=he(),{hoverProps:p,isHovered:m}=Ce({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),b=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:i,isDisabled:l,isFocused:c,isFocusVisible:f,isPressed:s,isHovered:m}}),g=u.props.href?"a":"div";return o.createElement(g,{..._(a,d,p,b),ref:r,"data-selected":i||void 0,"data-disabled":l||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0,"data-pressed":s||void 0,"data-hovered":m||void 0},b.children)}),M7=Yn(function(t,u){const n=o.useContext(nn);let r=$e(u),{tabPanelProps:a}=iy(t,n,r),{focusProps:i,isFocused:l,isFocusVisible:s}=he(),d=n.selectedKey===t.id,c=Z({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,isFocusVisible:s,isInert:!d,state:n}});if(!d&&!t.shouldForceMount)return null;let f=H(t);delete f.id;let p=d?_(f,a,i,c):c;return o.createElement("div",{...p,ref:r,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:M2(!d),"data-inert":d?void 0:"true"},o.createElement(fe,{values:[[za,null],[nn,null]]},o.createElement(Pe.Provider,{value:lr},c.children)))}),z7=o.createContext(null),s$=o.createContext(null),N7=o.forwardRef(function(t,u){return[t,u]=X(t,u,z7),o.createElement(Tu,{content:t.children},n=>o.createElement(V7,{props:t,forwardedRef:u,collection:n}))});function V7({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[r,a]=ft(!e["aria-label"]&&!e["aria-labelledby"]),i=Pa({...e,children:void 0,collection:u}),l=H(e),s=Object.fromEntries(Object.entries(l).map(([b])=>[b,void 0])),{gridProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p}=sy({...e,...s,label:a},i,n);var m;return o.createElement("div",{...l,ref:t,slot:e.slot||void 0,className:(m=e.className)!==null&&m!==void 0?m:"react-aria-TagGroup",style:e.style},o.createElement(fe,{values:[[Pt,{...c,elementType:"span",ref:r}],[s$,{...d,ref:n}],[Yt,i],[qe,{slots:{description:f,errorMessage:p}}]]},e.children))}const d$=o.forwardRef(function(t,u){return o.useContext(Yt)?o.createElement(_7,{props:t,forwardedRef:u}):o.createElement(Bt,t)});function _7({props:e,forwardedRef:t}){let u=o.useContext(Yt),{CollectionRoot:n}=o.useContext(Pe),[r,a]=X(e,t,s$);delete r.items,delete r.renderEmptyState;let{focusProps:i,isFocused:l,isFocusVisible:s}=he(),d={isEmpty:u.collection.size===0,isFocused:l,isFocusVisible:s,state:u},c=Z({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:d}),f=Ql(u.selectionManager.focusedKey);return o.createElement("div",{..._(r,i),...c,ref:a,"data-empty":u.collection.size===0||void 0,"data-focused":l||void 0,"data-focus-visible":s||void 0},u.collection.size===0&&e.renderEmptyState?e.renderEmptyState(d):o.createElement(n,{collection:u.collection,persistedKeys:f}))}const j7=cu("item",(e,t,u)=>{let n=o.useContext(Yt),r=$e(t),{focusProps:a,isFocusVisible:i}=he({within:!0}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=cy({item:u},n,r),{hoverProps:f,isHovered:p}=Ce({isDisabled:!c.allowsSelection,onHoverStart:u.props.onHoverStart,onHoverChange:u.props.onHoverChange,onHoverEnd:u.props.onHoverEnd}),m=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tag",values:{...c,isFocusVisible:i,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior}});return o.useEffect(()=>{u.textValue||console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.")},[u.textValue]),o.createElement("div",{ref:r,...m,..._(H(e),l,a,f),"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":i||void 0,"data-pressed":c.isPressed||void 0,"data-allows-removing":c.allowsRemoving||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},o.createElement("div",{...s,style:{display:"contents"}},o.createElement(fe,{values:[[mt,{slots:{remove:d}}],[Pe,lr]]},m.children)))}),lo=o.createContext(null),c$=o.createContext(null);function L7(e){let t=s5(e),u=o.useRef(null),{triggerProps:n,tooltipProps:r}=$y(e,t,u);return o.createElement(fe,{values:[[lo,t],[c$,{...r,triggerRef:u}]]},o.createElement(o6,{...n,ref:u},e.children))}const O7=o.forwardRef(function({UNSTABLE_portalContainer:t,...u},n){[u,n]=X(u,n,c$);let r=o.useContext(lo),a=s5(u),i=u.isOpen!=null||u.defaultOpen!=null||!r?a:r,l=Rr(n,i.isOpen)||u.isExiting||!1;return!i.isOpen&&!l?null:o.createElement(Z3,{portalContainer:t},o.createElement(H7,{...u,tooltipRef:n,isExiting:l}))});function H7(e){let t=o.useContext(lo),u=o.useRef(null),[n,r]=o.useState(0);Y(()=>{u.current&&t.isOpen&&r(u.current.getBoundingClientRect().width)},[t.isOpen,u]);let{overlayProps:a,arrowProps:i,placement:l}=Ml({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowSize:n,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,onClose:()=>t.close(!0)}),s=pa(e.tooltipRef,!!l)||e.isEntering||!1,d=Z({...e,defaultClassName:"react-aria-Tooltip",values:{placement:l,isEntering:s,isExiting:e.isExiting,state:t}});e=_(e,a);let{tooltipProps:c}=hy(e,t);return o.createElement("div",{...c,ref:e.tooltipRef,...d,style:{...a.style,...d.style},"data-placement":l??void 0,"data-entering":s||void 0,"data-exiting":e.isExiting||void 0},o.createElement(uo.Provider,{value:{...i,placement:l,ref:u}},d.children))}const U7="accordion",W7=({variant:e="uncontained",type:t="single",children:u,className:n,...r})=>h.jsx(Qx,{"data-testid":U7,allowsMultipleExpanded:t==="multiple",className:W(tt.root,e==="contained"?tt.contained:tt.uncontained,n),...r,children:u}),Z7='"../theme/tokens.css"',G7="_button_1opoe_4",q7="_secondary_1opoe_47",Y7="_tertiary_1opoe_70",J7="_iconBtn_1opoe_91",Q7="_danger_1opoe_112",X7="_iconRight_1opoe_134",eC="_fullwidth_1opoe_138",tC="_small_1opoe_142",uC="_primary_1opoe_149",Rt={tokens:Z7,"--font-family":'"Inter", sans-serif',"--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--icon-primary":"light-dark(#171717, #f2f2f2)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-secondary":"light-dark(#ffffff, #171717)","--size-03":"1rem","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-border-primary":"light-dark(light-dark(#143c50, #143c50), #f2f2f2)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--white":"#ffffff","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-brand":"light-dark(#143c50, #f2f2f2)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#b31b1b, #b31b1b)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-danger-active":"light-dark(#801313, #801313)","--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-icon-hover":"light-dark(rgba(0 0 0 / 10%), rgba(255 255 255 / 10%))","--button-background-icon-active":"light-dark(rgba(0 0 0 / 20%), rgba(255 255 255 / 20%))",button:G7,secondary:q7,tertiary:Y7,iconBtn:J7,danger:Q7,iconRight:X7,fullwidth:eC,small:tC,primary:uC},ze=({variant:e="primary",fullwidth:t,className:u,iconPlacement:n,size:r,icon:a,iconSize:i,...l})=>{const s=r==="small"?14:i||20;return h.jsx(Ut,{className:W(Rt.button,e==="primary"&&Rt.primary,e==="secondary"&&Rt.secondary,e==="tertiary"&&Rt.tertiary,e==="danger"&&Rt.danger,e==="icon"&&Rt.iconBtn,t&&Rt.fullwidth,r==="small"&&Rt.small,n==="right"&&Rt.iconRight,u),...l,children:h.jsxs(h.Fragment,{children:[a&&h.jsx(a,{"aria-hidden":!0,size:s}),l.children]})})},nC='"../theme/tokens.css"',rC="_buttonGroup_a6wk6_4",aC={tokens:nC,"--breakpoint-sm":"(max-width: 767px)",buttonGroup:rC},iC=({children:e,className:t,"aria-label":u,...n})=>h.jsx("div",{role:"group","aria-label":u,className:W(aC.buttonGroup,t),...n,children:e});/**
|
|
19
19
|
* @license lucide-react v0.453.0 - ISC
|
|
20
20
|
*
|
|
21
21
|
* This source code is licensed under the ISC license.
|
|
22
22
|
* See the LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/const
|
|
23
|
+
*/const lC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),f$=(...e)=>e.filter((t,u,n)=>!!t&&n.indexOf(t)===u).join(" ");/**
|
|
24
24
|
* @license lucide-react v0.453.0 - ISC
|
|
25
25
|
*
|
|
26
26
|
* This source code is licensed under the ISC license.
|
|
27
27
|
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/var
|
|
28
|
+
*/var oC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
29
29
|
* @license lucide-react v0.453.0 - ISC
|
|
30
30
|
*
|
|
31
31
|
* This source code is licensed under the ISC license.
|
|
32
32
|
* See the LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/const
|
|
33
|
+
*/const sC=o.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:u=2,absoluteStrokeWidth:n,className:r="",children:a,iconNode:i,...l},s)=>o.createElement("svg",{ref:s,...oC,width:t,height:t,stroke:e,strokeWidth:n?Number(u)*24/Number(t):u,className:f$("lucide",r),...l},[...i.map(([d,c])=>o.createElement(d,c)),...Array.isArray(a)?a:[a]]));/**
|
|
34
34
|
* @license lucide-react v0.453.0 - ISC
|
|
35
35
|
*
|
|
36
36
|
* This source code is licensed under the ISC license.
|
|
37
37
|
* See the LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/const Se=(e,t)=>{const u=o.forwardRef(({className:n,...r},a)=>o.createElement(
|
|
38
|
+
*/const Se=(e,t)=>{const u=o.forwardRef(({className:n,...r},a)=>o.createElement(sC,{ref:a,iconNode:t,className:f$(`lucide-${lC(e)}`,n),...r}));return u.displayName=`${e}`,u};/**
|
|
39
39
|
* @license lucide-react v0.453.0 - ISC
|
|
40
40
|
*
|
|
41
41
|
* This source code is licensed under the ISC license.
|
|
42
42
|
* See the LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/const
|
|
43
|
+
*/const dC=Se("ArrowDownNarrowWide",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h4",key:"6d7r33"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h10",key:"1438ji"}]]);/**
|
|
44
44
|
* @license lucide-react v0.453.0 - ISC
|
|
45
45
|
*
|
|
46
46
|
* This source code is licensed under the ISC license.
|
|
47
47
|
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/const
|
|
48
|
+
*/const cC=Se("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
49
49
|
* @license lucide-react v0.453.0 - ISC
|
|
50
50
|
*
|
|
51
51
|
* This source code is licensed under the ISC license.
|
|
52
52
|
* See the LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/const
|
|
53
|
+
*/const fC=Se("ArrowUpWideNarrow",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h4",key:"1krc32"}]]);/**
|
|
54
54
|
* @license lucide-react v0.453.0 - ISC
|
|
55
55
|
*
|
|
56
56
|
* This source code is licensed under the ISC license.
|
|
57
57
|
* See the LICENSE file in the root directory of this source tree.
|
|
58
|
-
*/const
|
|
58
|
+
*/const p$=Se("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
|
|
59
59
|
* @license lucide-react v0.453.0 - ISC
|
|
60
60
|
*
|
|
61
61
|
* This source code is licensed under the ISC license.
|
|
62
62
|
* See the LICENSE file in the root directory of this source tree.
|
|
63
|
-
*/const
|
|
63
|
+
*/const pC=Se("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
64
64
|
* @license lucide-react v0.453.0 - ISC
|
|
65
65
|
*
|
|
66
66
|
* This source code is licensed under the ISC license.
|
|
67
67
|
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/const
|
|
68
|
+
*/const la=Se("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
69
69
|
* @license lucide-react v0.453.0 - ISC
|
|
70
70
|
*
|
|
71
71
|
* This source code is licensed under the ISC license.
|
|
72
72
|
* See the LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/const
|
|
73
|
+
*/const oo=Se("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
|
|
74
74
|
* @license lucide-react v0.453.0 - ISC
|
|
75
75
|
*
|
|
76
76
|
* This source code is licensed under the ISC license.
|
|
77
77
|
* See the LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/const
|
|
78
|
+
*/const so=Se("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
79
79
|
* @license lucide-react v0.453.0 - ISC
|
|
80
80
|
*
|
|
81
81
|
* This source code is licensed under the ISC license.
|
|
82
82
|
* See the LICENSE file in the root directory of this source tree.
|
|
83
|
-
*/const
|
|
83
|
+
*/const m$=Se("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
84
84
|
* @license lucide-react v0.453.0 - ISC
|
|
85
85
|
*
|
|
86
86
|
* This source code is licensed under the ISC license.
|
|
87
87
|
* See the LICENSE file in the root directory of this source tree.
|
|
88
|
-
*/const
|
|
88
|
+
*/const b$=Se("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
89
89
|
* @license lucide-react v0.453.0 - ISC
|
|
90
90
|
*
|
|
91
91
|
* This source code is licensed under the ISC license.
|
|
92
92
|
* See the LICENSE file in the root directory of this source tree.
|
|
93
|
-
*/const
|
|
93
|
+
*/const mC=Se("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
|
|
94
94
|
* @license lucide-react v0.453.0 - ISC
|
|
95
95
|
*
|
|
96
96
|
* This source code is licensed under the ISC license.
|
|
97
97
|
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
-
*/const
|
|
98
|
+
*/const bC=Se("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
|
|
99
99
|
* @license lucide-react v0.453.0 - ISC
|
|
100
100
|
*
|
|
101
101
|
* This source code is licensed under the ISC license.
|
|
102
102
|
* See the LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/const
|
|
103
|
+
*/const h$=Se("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
104
104
|
* @license lucide-react v0.453.0 - ISC
|
|
105
105
|
*
|
|
106
106
|
* This source code is licensed under the ISC license.
|
|
107
107
|
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
-
*/const
|
|
108
|
+
*/const hC=Se("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
109
109
|
* @license lucide-react v0.453.0 - ISC
|
|
110
110
|
*
|
|
111
111
|
* This source code is licensed under the ISC license.
|
|
112
112
|
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/const
|
|
113
|
+
*/const $C=Se("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
|
114
114
|
* @license lucide-react v0.453.0 - ISC
|
|
115
115
|
*
|
|
116
116
|
* This source code is licensed under the ISC license.
|
|
117
117
|
* See the LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/const
|
|
118
|
+
*/const gC=Se("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
|
|
119
119
|
* @license lucide-react v0.453.0 - ISC
|
|
120
120
|
*
|
|
121
121
|
* This source code is licensed under the ISC license.
|
|
122
122
|
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/const
|
|
123
|
+
*/const DC=Se("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);/**
|
|
124
124
|
* @license lucide-react v0.453.0 - ISC
|
|
125
125
|
*
|
|
126
126
|
* This source code is licensed under the ISC license.
|
|
127
127
|
* See the LICENSE file in the root directory of this source tree.
|
|
128
|
-
*/const
|
|
128
|
+
*/const vC=Se("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
129
129
|
* @license lucide-react v0.453.0 - ISC
|
|
130
130
|
*
|
|
131
131
|
* This source code is licensed under the ISC license.
|
|
132
132
|
* See the LICENSE file in the root directory of this source tree.
|
|
133
|
-
*/const
|
|
133
|
+
*/const yC=Se("SquareArrowOutUpRight",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);/**
|
|
134
134
|
* @license lucide-react v0.453.0 - ISC
|
|
135
135
|
*
|
|
136
136
|
* This source code is licensed under the ISC license.
|
|
137
137
|
* See the LICENSE file in the root directory of this source tree.
|
|
138
|
-
*/const
|
|
138
|
+
*/const $$=Se("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
139
139
|
* @license lucide-react v0.453.0 - ISC
|
|
140
140
|
*
|
|
141
141
|
* This source code is licensed under the ISC license.
|
|
142
142
|
* See the LICENSE file in the root directory of this source tree.
|
|
143
|
-
*/const du=Se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),cC=({title:e,children:t,className:u,headingLevel:n=3,...r})=>{const a=ce.useRef(null),[i,l]=ce.useState(0),s=typeof e=="object";return ce.useLayoutEffect(()=>{a.current&&l(a.current.clientHeight)}),h.jsxs(Zx,{...r,className:W(tt.item,u),children:[s?h.jsx("div",{className:tt.trigger,children:h.jsxs(ze,{slot:"trigger",variant:"icon",children:[h.jsx(na,{size:20,className:tt.icon}),e]})}):h.jsx(Aa,{level:n,className:tt.trigger,children:h.jsxs(ze,{slot:"trigger",variant:"icon",children:[h.jsx(na,{size:20,className:tt.icon}),h.jsx("span",{className:tt.triggerText,children:e})]})}),h.jsx(Gx,{style:{"--panel-height":`${i}px`},className:W(tt.panel,i===0&&tt.panel0),children:h.jsx("div",{ref:a,className:tt.content,children:t})})]})},fC='"../theme/tokens.css"',pC="_link_3zs58_4",mC="_icon_3zs58_45",bC="_standalone_3zs58_49",hC="_stretched_3zs58_64",mn={tokens:fC,"--font-family":'"Inter", sans-serif',"--link-enabled":"light-dark(#2e7ca5, #4289ad)","--link-hover":"light-dark(#143c50, #5897b8)","--link-pressed":"light-dark(#171717, #82b0c9)","--link-visited":"light-dark(#954b95, #b46ab4)","--text-disabled":"light-dark(#bfbfbf, #525252)","--focus":"0 0 0 2px white, 0 0 0 4px black",link:pC,icon:mC,standalone:bC,stretched:hC},no=({children:e,standalone:t,stretched:u,icon:n,className:r,as:a,...i})=>{const l=a||Jr;return h.jsx(l,{className:W(mn.link,t&&mn.standalone,u&&mn.stretched,r),...i,children:h.jsxs(h.Fragment,{children:[e,!t&&n&&h.jsx(n,{size:20,className:mn.icon}),t&&h.jsx(eC,{size:20,className:mn.icon})]})})},$C='"../theme/tokens.css"',gC="_container_1fsfi_4",DC={tokens:$C,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)",container:gC},vC=({items:e})=>h.jsx(tx,{className:DC.container,children:e.map((t,u)=>h.jsx(ux,{children:h.jsx(no,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),yC='"../theme/tokens.css"',xC="_card_3zluz_4",CC="_content_3zluz_33",EC="_heading_3zluz_39",BC="_image_3zluz_47",kC="_text_3zluz_56",bn={tokens:yC,"--font-family":'"Inter", sans-serif',"--border-strong":"light-dark(#171717, #f2f2f2)","--layer-02":"light-dark(#ffffff, #383838)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--focus":"0 0 0 2px white, 0 0 0 4px black","--fast-transition":"250ms","--text-primary":"light-dark(#171717, #f2f2f2)","--blue-20":"#d5e5ed",card:xC,content:CC,heading:EC,image:BC,text:kC},PC=({image:e,title:t,content:u,link:n,headingTag:r="h1",customImageComponent:a,customLinkComponent:i,className:l,...s})=>{const d=ce.useId();return h.jsxs("div",{className:W(bn.card,l),...s,children:[h.jsxs("div",{className:bn.content,children:[a||(e==null?void 0:e.source)&&h.jsx("img",{src:e.source,alt:e.description,className:bn.image}),h.jsxs("div",{id:d,children:[h.jsx(r,{className:bn.heading,children:t}),h.jsx("p",{className:bn.text,children:u})]})]}),h.jsx(no,{"aria-describedby":d,...n,standalone:!0,stretched:!0,as:i})]})},SC='"../theme/tokens.css"',AC="_wrap_68tmn_4",wC="_checkboxInner_68tmn_11",FC="_checkbox_68tmn_11",TC="_checkboxGroup_68tmn_128",ra={tokens:SC,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)","--border-strong":"light-dark(#171717, #f2f2f2)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-disabled":"light-dark(#bfbfbf, #525252)","--breakpoint-sm":"(max-width: 767px)","--border-invalid":"light-dark(#e62323, #e62323)","--icon-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--field-disabled":"light-dark(#f2f2f2, #262626)","--focus":"0 0 0 2px white, 0 0 0 4px black",wrap:AC,checkboxInner:wC,checkbox:FC,checkboxGroup:TC},Fa=({children:e,...t})=>h.jsx(px,{className:W(ra.checkbox,t.className),...t,children:({isIndeterminate:u})=>h.jsxs(h.Fragment,{children:[h.jsx("div",{className:ra.checkboxInner,children:h.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:u?h.jsx("rect",{x:4,y:8,width:10,height:2}):h.jsx("polyline",{points:"3,9 7,13 15,4"})})}),e]})}),IC='"../theme/tokens.css"',RC="_inputField_1ogiu_4",KC="_inputWrapper_1ogiu_12",MC="_label_1ogiu_30",zC="_text_1ogiu_37",NC="_fieldError_1ogiu_44",VC="_passwordText_1ogiu_68",_C="_count_1ogiu_81",jC="_countExceeded_1ogiu_89",LC="_input_1ogiu_4",OC="_wrap_1ogiu_137",HC="_passwordButton_1ogiu_142",Ue={tokens:IC,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--border-invalid":"light-dark(#e62323, #e62323)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-invalid":"light-dark(#e62323, #e62323)","--field-disabled":"light-dark(#f2f2f2, #262626)","--focus":"0 0 0 2px white, 0 0 0 4px black",inputField:RC,inputWrapper:KC,label:MC,text:zC,fieldError:NC,passwordText:VC,count:_C,countExceeded:jC,input:LC,wrap:OC,passwordButton:HC},UC=({label:e,description:t,errorMessage:u,validationType:n,validate:r,maxLength:a,showCounter:i,className:l,...s})=>{const[d,c]=ce.useState(s.defaultValue??s.value??""),f=b=>{const g=b.target.value;c(g)},p=b=>n==="ssn"?f2.test(b)?null:"Felaktigt personnummer":n==="dossnr"?p2.test(b)?null:"Felaktigt dossiernummer":n instanceof RegExp?new RegExp(n).test(b)?null:u==null?void 0:u.toString():a?a&&b.length>a?`Du har angett ${b.length-a} tecken för mycket. Fältet är begränsat till ${a} tecken.`:null:r?r(b):!0,m=()=>a?h.jsxs("span",{className:W(Ue.count,d.length>a&&Ue.countExceeded),children:[d.length," / ",a]}):i?h.jsx("span",{className:Ue.count,children:d.length}):null;return h.jsx(Ul,{className:W(Ue.inputField,l),validate:p,...s,children:h.jsxs(wu,{label:e,description:t,errorMessage:u,children:[h.jsx(m,{}),h.jsxs("div",{className:Ue.wrap,children:[h.jsx(ya,{type:s.type,className:Ue.input,onChange:f,onBlur:f}),h.jsx(WC,{type:s.type,input:d})]})]})})},WC=({type:e,input:t})=>{const[u,n]=ce.useState(!1);return e==="password"?h.jsxs(h.Fragment,{children:[u&&h.jsx(Bt,{slot:"description",className:Ue.passwordText,children:t}),h.jsx(ze,{variant:"tertiary",onPress:()=>n(!u),className:Ue.passwordButton,children:u?"Dölj":"Visa"})]}):null},wu=({label:e,description:t,errorMessage:u,children:n})=>h.jsxs("div",{className:Ue.inputWrapper,children:[e&&h.jsx(rn,{className:Ue.label,children:e}),t&&h.jsx(Bt,{slot:"description",className:Ue.text,children:t}),h.jsx(tr,{"data-testid":"fieldError",className:Ue.fieldError,children:u}),n]}),f2=new RegExp("^(?:(?:19|20)?\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4})?|\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4}))$"),p2=new RegExp("^(\\d{1,2}\\+\\d{6}-\\d{1,2}$|\\d{1,2}-\\d{6}(/\\d{1,2})?$|\\d{1,2}\\d{6}$|\\d{6,8}$)"),ZC=({label:e,description:t,errorMessage:u,showSelectAll:n,children:r,...a})=>{const[i,l]=o.useState(),s=()=>{const d=o.useContext(Zl),c=o.Children.toArray(r).filter(o.isValidElement).map(p=>p.props.value),f=()=>i!=="all"?(l("all"),d==null?void 0:d.setValue(["toggleAll",...c])):(l("none"),d==null?void 0:d.setValue([]));return o.useEffect(()=>{var g,$;const p=c.length,m=c.length+1,b=((g=d==null?void 0:d.value)==null?void 0:g.length)||0;b===0&&l("none"),b>0&&b<p&&l("some"),b!==m&&(d==null||d.removeValue("toggleAll")),b===p&&!(($=d==null?void 0:d.value)!=null&&$.includes("toggleAll"))&&(d==null||d.addValue("toggleAll"),l("all"))},[c.length,d==null?void 0:d.value]),h.jsx(Fa,{value:"toggleAll",isSelected:i==="all",isIndeterminate:i==="some",onChange:()=>f(),children:"Välj alla"})};return h.jsx(fx,{className:ra.checkboxGroup,...a,children:h.jsx(wu,{label:e,description:t,errorMessage:u,children:h.jsxs(nr,{className:ra.wrap,children:[n&&h.jsx(s,{}),r]})})})},GC='"../theme/tokens.css"',qC="_input_g2frr_4",YC="_combobox_g2frr_42",JC="_text_g2frr_58",QC="_wrap_g2frr_63",XC="_button_g2frr_68",e9="_icon_g2frr_86",t9="_popover_g2frr_92",u9="_fieldError_g2frr_100",n9="_listBoxItem_g2frr_111",$u={tokens:GC,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--layer-02":"light-dark(#ffffff, #383838)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--border-invalid":"light-dark(#e62323, #e62323)","--text-invalid":"light-dark(#e62323, #e62323)",input:qC,combobox:YC,text:JC,wrap:QC,button:XC,icon:e9,popover:t9,fieldError:u9,listBoxItem:n9};function r9({label:e,description:t,errorMessage:u,children:n,items:r,className:a,...i}){const l=o.useRef(null);return h.jsxs(Rx,{className:W($u.combobox,a),ref:l,...i,children:[h.jsx(wu,{label:e,description:t,errorMessage:u,children:h.jsxs("div",{className:$u.wrap,children:[h.jsx(ya,{className:$u.input}),h.jsx(jt,{className:$u.button,"aria-label":"Visa lista",children:h.jsx("div",{className:$u.icon,"aria-hidden":"true",children:h.jsx(na,{size:20,"aria-hidden":!0})})})]})}),h.jsx(Pa,{className:$u.popover,offset:0,UNSTABLE_portalContainer:l.current||void 0,children:h.jsx(bx,{items:r,children:n})})]})}function a9(e){return h.jsx(gx,{className:$u.listBoxItem,...e})}const i9='"../theme/tokens.css"',l9="_datePicker_lalgz_4",o9="_inputField_lalgz_12",s9="_buttonInvalid_lalgz_28",d9="_date_lalgz_4",c9="_divider_lalgz_95",f9="_segment_lalgz_99",p9="_label_lalgz_120",m9="_description_lalgz_126",b9="_fieldError_lalgz_132",Be={tokens:i9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-invalid":"light-dark(#e62323, #e62323)","--border-strong":"light-dark(#171717, #f2f2f2)","--border-invalid":"light-dark(#e62323, #e62323)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px white, 0 0 0 4px black","--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--border-brand":"light-dark(#143c50, #143c50)","--button-background-primary":"light-dark(#143c50, #2e7ca5)",datePicker:l9,inputField:o9,buttonInvalid:s9,date:d9,divider:c9,segment:f9,label:p9,description:m9,fieldError:b9},h9='"../theme/tokens.css"',$9="_calendar_w05iu_4",g9="_day_w05iu_22",D9="_header_w05iu_50",v9="_heading_w05iu_75",y9="_today_w05iu_107",rt={tokens:h9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-on-color":"light-dark(#ffffff, #ffffff)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px white, 0 0 0 4px black",calendar:$9,day:g9,header:D9,heading:v9,today:y9};function m2({errorMessage:e,weekdayStyle:t="short",className:u,...n}){return h.jsxs(nx,{...n,className:W(rt.calendar,u),children:[h.jsxs("header",{className:rt.header,children:[h.jsx(jt,{slot:"previous",children:h.jsx(to,{})}),h.jsx(Aa,{className:rt.heading}),h.jsx(jt,{slot:"next",children:h.jsx(uo,{})})]}),h.jsx(l5,{className:rt.calendar,weekdayStyle:t,children:r=>h.jsx(o5,{date:r,className:W(rt.day,dl(r,qn())&&rt.today)})}),e&&h.jsx(Bt,{slot:"errorMessage",children:e})]})}function b2({errorMessage:e,weekdayStyle:t="short",className:u,...n}){return h.jsxs(rx,{...n,className:W(rt.calendar,u),children:[h.jsxs("header",{className:rt.header,children:[h.jsx(jt,{slot:"previous",children:h.jsx(to,{})}),h.jsx(Aa,{className:rt.heading}),h.jsx(jt,{slot:"next",children:h.jsx(uo,{})})]}),h.jsx(l5,{className:rt.calendar,weekdayStyle:t,children:r=>h.jsx(o5,{date:r,className:W(rt.day,dl(r,qn())&&rt.today)})}),e&&h.jsx(Bt,{slot:"errorMessage",children:e})]})}const x9=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return h.jsxs(Ox,{...n,className:W(Be.datePicker,n.className),ref:r,children:[h.jsx(rn,{className:Be.label,children:e}),t&&h.jsx(Bt,{slot:"description",className:Be.description,children:t}),h.jsx(tr,{className:Be.fieldError,children:u}),h.jsxs(nr,{className:W(Be.inputField),children:[h.jsx(ta,{slot:"start",className:Be.date,children:a=>h.jsx(ua,{className:Be.segment,segment:a})}),h.jsx("span",{"aria-hidden":"true",className:Be.divider,children:"-"}),h.jsx(ta,{slot:"end",className:Be.date,children:a=>h.jsx(ua,{segment:a,className:Be.segment})}),h.jsx(jt,{className:W(n.isInvalid&&Be.buttonInvalid),children:h.jsx(l2,{size:20,"aria-hidden":!0})})]}),h.jsx(Pa,{UNSTABLE_portalContainer:r.current||void 0,children:h.jsx(q5,{className:Be.dialog,children:h.jsx(b2,{})})})]})},C9=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return h.jsxs(Lx,{...n,className:W(Be.datePicker,n.className),ref:r,children:[h.jsx(rn,{className:Be.label,children:e}),t&&h.jsx(Bt,{slot:"description",className:Be.description,children:t}),h.jsx(tr,{className:Be.fieldError,children:u}),h.jsxs(nr,{className:W(Be.inputField),children:[h.jsx(ta,{className:Be.date,children:a=>h.jsx(ua,{segment:a,className:Be.segment})}),h.jsx(jt,{className:W(n.isInvalid&&Be.buttonInvalid),children:h.jsx(l2,{size:20,"aria-hidden":!0})})]}),h.jsx(Pa,{UNSTABLE_portalContainer:r.current||void 0,children:h.jsx(q5,{className:Be.dialog,children:h.jsx(m2,{})})})]})},E9='"../theme/tokens.css"',B9="_dropDownMenu_15gu2_4",k9="_dropdownMenu_15gu2_15",h2={tokens:E9,"--font-family":'"Inter", sans-serif',"--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)",dropDownMenu:B9,dropdownMenu:k9};function $2({label:e,title:t,children:u,...n}){return h.jsxs(Bx,{...n,children:[h.jsxs(ze,{"aria-label":e||n["aria-label"],variant:"icon",children:[t,h.jsx(nC,{size:20,"aria-hidden":!0})]}),h.jsx(Pa,{children:h.jsx(Px,{...n,className:h2.dropDownMenu,children:u})})]})}function g2(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return h.jsx(Fx,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>`${h2.dropdownMenu} ${u?"focused":""} ${n?"open":""}`,children:({hasSubmenu:u})=>h.jsxs(h.Fragment,{children:[e.children,u&&h.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:h.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}const P9='"../theme/tokens.css"',S9="_box_c5qk3_4",A9="_list_c5qk3_28",w9="_container_c5qk3_38",F9="_label_c5qk3_45",T9="_text_c5qk3_51",I9="_dropzone_c5qk3_57",R9="_input_c5qk3_71",Ou={tokens:P9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--background-01":"light-dark(#ffffff, #171717)","--background-hover-01":"light-dark(#e6e6e6, #212121)","--border-subtle":"light-dark(#bfbfbf, #383838)",box:S9,list:A9,container:w9,label:F9,text:T9,dropzone:I9,input:R9},K9=({allowsMultiple:e,label:t,description:u,dropzone:n,...r})=>{const[a,i]=ce.useState(null),l=d=>{i(d!==null?Array.from(d):[])},s=async d=>{const c=d.items.filter(p=>p.kind==="file").map(p=>p.getFile()),f=await Promise.all(c);i(f)};return n?h.jsxs("div",{className:Ou.container,children:[h.jsx(Jx,{onDrop:s,className:Ou.dropzone,children:h.jsx(Bt,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),a&&h.jsx(Ms,{files:a,setFiles:i})]}):h.jsxs("div",{className:Ou.container,children:[h.jsx(wu,{label:t,description:u,children:h.jsx(Qx,{allowsMultiple:e,onSelect:d=>l(d),...r,children:h.jsx(ze,{variant:"secondary","aria-labelledby":"fileUpload",className:Ou.input,children:e?"Välj filer":"Välj fil"})})}),a&&h.jsx(Ms,{files:a,setFiles:i})]})},Ms=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((r,a)=>a!==n))};return h.jsx("ul",{className:Ou.list,children:e.map((n,r)=>h.jsxs("li",{className:Ou.box,children:[h.jsx("span",{children:n.name}),h.jsx(ze,{variant:"icon",size:"small",onPress:()=>u(r),children:h.jsx(du,{size:20,"aria-hidden":!0})})]},r))})},M9='"../theme/tokens.css"',z9="_container_17raf_4",N9="_flex_17raf_16",V9="_fluid_17raf_54",_9="_col_17raf_60",Yu={tokens:M9,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:z9,flex:N9,fluid:V9,col:_9,"col-1":"_col-1_17raf_64","col-2":"_col-2_17raf_65","col-3":"_col-3_17raf_66","col-4":"_col-4_17raf_67","col-5":"_col-5_17raf_68","col-6":"_col-6_17raf_69","col-7":"_col-7_17raf_70","col-8":"_col-8_17raf_71","col-9":"_col-9_17raf_72","col-10":"_col-10_17raf_73","col-11":"_col-11_17raf_74","col-12":"_col-12_17raf_75","col-auto":"_col-auto_17raf_76","offset-1":"_offset-1_17raf_130","offset-2":"_offset-2_17raf_134","offset-3":"_offset-3_17raf_138","offset-4":"_offset-4_17raf_142","offset-5":"_offset-5_17raf_146","offset-6":"_offset-6_17raf_150","offset-7":"_offset-7_17raf_154","offset-8":"_offset-8_17raf_158","offset-9":"_offset-9_17raf_162","offset-10":"_offset-10_17raf_166","offset-11":"_offset-11_17raf_170"},j9=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:W(Yu.container,t&&Yu.fluid,u.className),...u,children:h.jsx("div",{className:Yu.flex,children:e})}),D2=({children:e,col:t,offset:u,...n})=>{const r=t?`col-${t}`:"",a=u?`offset-${u}`:"";return h.jsx("div",{className:W(Yu.col,Yu[r],Yu[a],n.className),...n,children:e})},L9='"../theme/tokens.css"',O9="_container_162ou_4",H9="_grid_162ou_16",U9="_fluid_162ou_45",W9="_col_162ou_52",kn={tokens:L9,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:O9,grid:H9,fluid:U9,col:W9,"col-1":"_col-1_162ou_58","col-2":"_col-2_162ou_62","col-3":"_col-3_162ou_66","col-4":"_col-4_162ou_70","col-5":"_col-5_162ou_74","col-6":"_col-6_162ou_78","col-7":"_col-7_162ou_82","col-8":"_col-8_162ou_86","col-9":"_col-9_162ou_90","col-10":"_col-10_162ou_94","col-11":"_col-11_162ou_98","col-12":"_col-12_162ou_102","offset-1":"_offset-1_162ou_106","offset-2":"_offset-2_162ou_110","offset-3":"_offset-3_162ou_114","offset-4":"_offset-4_162ou_118","offset-5":"_offset-5_162ou_122","offset-6":"_offset-6_162ou_126","offset-7":"_offset-7_162ou_130","offset-8":"_offset-8_162ou_134","offset-9":"_offset-9_162ou_138","offset-10":"_offset-10_162ou_142","offset-11":"_offset-11_162ou_146"},Z9=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:W(kn.container,t&&kn.fluid,u.className),...u,children:h.jsx("div",{className:kn.grid,children:e})}),G9=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return h.jsx("div",{className:W(kn.col,kn[n],u.className),...u,children:e})},q9='"../theme/tokens.css"',Y9="_infoBanner_itrpd_4",J9="_success_itrpd_14",Q9="_info_itrpd_4",X9="_important_itrpd_24",e8="_warning_itrpd_29",t8="_content_itrpd_38",u8="_heading_itrpd_44",n8="_text_itrpd_49",r8="_icon_itrpd_54",a8="_dismissable_itrpd_59",bu={tokens:q9,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--notification-border-success":"light-dark(#008d3c, #008d3c)","--notification-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--notification-border-info":"light-dark(#0066cc, #0066cc)","--notification-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--notification-border-warning":"light-dark(#e62323, #e62323)","--notification-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--notification-border-important":"light-dark(#fdb813, #fdb813)","--notification-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",infoBanner:Y9,success:J9,info:Q9,important:X9,warning:e8,content:t8,heading:u8,text:n8,icon:r8,dismissable:a8},i8={success:s2,info:d2,important:o2,warning:c2},l8=({title:e,message:t,type:u,children:n,dismissable:r=!1,...a})=>{const i=i8[u],[l,s]=ce.useState(!0);return l?h.jsxs("div",{className:W(bu.infoBanner,bu[u],a.className),...a,children:[h.jsx(i,{size:20,"aria-hidden":!0,className:bu.icon}),h.jsxs("div",{className:bu.content,children:[e&&h.jsx("strong",{className:bu.heading,children:e}),h.jsxs("div",{className:bu.text,children:[t,n]})]}),r&&h.jsx("div",{className:bu.dismissable,children:h.jsx(ze,{variant:"icon","aria-label":"Stäng",onPress:()=>s(!1),children:h.jsx(du,{size:20})})})]}):null},o8='"../theme/tokens.css"',s8="_baseLayout_1m9il_4",d8="_mainContent_1m9il_13",c8="_header_1m9il_18",f8="_headerContent_1m9il_35",p8="_headerItems_1m9il_54",m8="_logo_1m9il_55",b8="_headerMenu_1m9il_68",h8="_toggleButton_1m9il_76",$8="_sidebar_1m9il_84",g8="_main_1m9il_13",D8="_app_1m9il_121",v8="_sidebarOpened_1m9il_130",y8="_sidebarHeader_1m9il_134",x8="_appName_1m9il_146",C8="_collapseButton_1m9il_153",E8="_sidebarCollapsed_1m9il_162",B8="_userName_1m9il_172",k8="_abbr_1m9il_185",P8="_userTitle_1m9il_191",S8="_title_1m9il_203",A8="_sidebarNav_1m9il_214",w8="_list_1m9il_220",F8="_listGroupTitle_1m9il_227",T8="_listItem_1m9il_234",I8="_listItemCollapsed_1m9il_238",R8="_listLink_1m9il_242",K8="_listLinkCollapsed_1m9il_287",M8="_active_1m9il_292",z8="_linkText_1m9il_297",N8="_backdrop_1m9il_304",V8="_backdropOpened_1m9il_314",_8="_skipToContent_1m9il_332",te={tokens:o8,"--font-family":'"Inter", sans-serif',"--breakpoint-md":"(min-width: 768px)","--background-01":"light-dark(#ffffff, #171717)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-secondary":"light-dark(#525252, #a6a6a6)","--icon-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black",baseLayout:s8,mainContent:d8,header:c8,headerContent:f8,headerItems:p8,logo:m8,headerMenu:b8,toggleButton:h8,sidebar:$8,main:g8,app:D8,sidebarOpened:v8,sidebarHeader:y8,appName:x8,collapseButton:C8,sidebarCollapsed:E8,userName:B8,abbr:k8,userTitle:P8,title:S8,sidebarNav:A8,list:w8,listGroupTitle:F8,listItem:T8,listItemCollapsed:I8,listLink:R8,listLinkCollapsed:K8,active:M8,linkText:z8,backdrop:N8,backdropOpened:V8,skipToContent:_8},j8='"../theme/tokens.css"',L8="_tooltip_1sccn_4",O8="_arrow_1sccn_17",zs={tokens:j8,"--font-family":'"Inter", sans-serif',"--background-inverse-01":"light-dark(#171717, #f2f2f2)","--text-inverse":"light-dark(#f2f2f2, #171717)",tooltip:L8,arrow:O8};function v2({children:e,placement:t,className:u,...n}){return h.jsxs(F7,{className:W(zs.tooltip,u),placement:t,...n,children:[h.jsx(xx,{className:zs.arrow,children:h.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:h.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),e]})}function y2({children:e,delay:t=0,...u}){return h.jsx(w7,{delay:t,...u,children:e})}const x2=ce.createContext(void 0),H8=({items:e,title:t,user:u,app:n,children:r,clientSideRouter:a,clientSideHref:i,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f})=>h.jsx(x2.Provider,{value:{items:e,title:t,user:u,app:n,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,clientSideRouter:a,clientSideHref:i},children:r}),Ta=()=>{const e=ce.useContext(x2);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e},ro=({title:e,href:t,icon:u,active:n})=>{const{isCollapsed:r,setIsOpened:a}=Ta(),[i,l]=ce.useState(!1);return ce.useEffect(()=>{typeof window<"u"&&l(n??window.location.pathname===t)},[n,t]),r?h.jsxs(y2,{children:[h.jsx(Jr,{href:t,"aria-label":e,className:W(te.listLink,te.listLinkCollapsed,i&&te.active),onPress:()=>a(!1),children:h.jsx(u,{size:20,"aria-label":e})}),h.jsx(v2,{placement:"right",children:e})]}):h.jsxs(Jr,{href:t,"aria-label":e,className:W(te.listLink,i&&te.active),onPress:()=>a(!1),children:[h.jsx(u,{size:20}),e]})},C2=()=>{const{items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:r,setIsOpened:a,clientSideRouter:i,clientSideHref:l}=Ta(),s=({group:d})=>h.jsx("ul",{className:te.list,children:d.items.map((c,f)=>h.jsx("li",{className:W(te.listItem,n&&te.listItemCollapsed),children:h.jsx(ro,{...c})},"link_"+f))});return ce.useEffect(()=>{const d=c=>{c.key==="Escape"&&a(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[a]),h.jsxs("aside",{id:"midasMainMenu",className:W(te.sidebar,n&&te.sidebarCollapsed,u&&te.sidebarOpened),children:[h.jsxs("div",{className:te.sidebarHeader,children:[!n&&h.jsx("p",{className:te.appName,children:t.name}),h.jsx(ze,{variant:"tertiary","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>r(!n),className:te.collapseButton,children:n?h.jsx(oC,{size:20}):h.jsx(lC,{size:20})})]}),h.jsx("nav",{className:te.sidebarNav,children:h.jsx("ul",{className:te.list,children:e.map((d,c)=>h.jsxs("li",{children:[d.title&&!n&&h.jsx("p",{className:te.listGroupTitle,children:d.title}),i?h.jsx(Ws,{navigate:i,useHref:l,children:h.jsx(s,{group:d})}):h.jsx(s,{group:d})]},"list_"+c))})})]})},U8='"../theme/tokens.css"',W8="_container_99qba_4",Z8="_noPadding_99qba_9",G8="_logo_99qba_13",q8="_primary_99qba_18",Y8="_dark_99qba_22",J8="_xSmall_99qba_26",Q8="_small_99qba_30",X8="_large_99qba_34",wt={tokens:U8,"--logo-primary":"light-dark(#b90835, #ffffff)","--background-inverse-01":"light-dark(#171717, #f2f2f2)",container:W8,noPadding:Z8,logo:G8,primary:q8,dark:Y8,xSmall:J8,small:Q8,large:X8},E2=({primary:e=!0,size:t="medium",padding:u=!0,className:n,...r})=>{const a=W(wt.logo,e?wt.primary:wt.dark,t==="x-small"&&wt.xSmall,t==="medium"&&wt.medium,t==="large"&&wt.large,t==="small"&&wt.small),i=()=>t==="x-small"?h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:a,role:"img","aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:h.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):h.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:a,"aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:[h.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),h.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),h.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),h.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),h.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),h.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),h.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),h.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),h.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),h.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),h.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),h.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return h.jsx("div",{className:W(wt.container,u===!1&&wt.noPadding,n),...r,children:h.jsx(i,{})})},B2=()=>{const{title:e,user:t,app:u,isOpened:n,setIsOpened:r,setIsCollapsed:a,headerChildren:i}=Ta();return h.jsxs("header",{className:te.header,style:{borderTop:`solid 4px ${u.color?u.color:z2.semantic.brandPrimary}`},children:[h.jsxs("div",{className:te.headerContent,children:[h.jsx("div",{className:te.logo,children:h.jsx(E2,{size:"small",padding:!1})}),h.jsx(ze,{variant:"icon",className:te.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{a(!1),r(!0)},children:n?h.jsx(du,{size:20,"aria-hidden":"true"}):h.jsx(iC,{size:20,"aria-hidden":"true"})}),h.jsxs("div",{children:[h.jsx("p",{className:te.userName,children:t.name}),h.jsx("p",{className:te.userTitle,children:t.title}),h.jsx("p",{className:te.title,children:e})]})]}),i&&h.jsxs(h.Fragment,{children:[h.jsx("div",{className:te.headerItems,children:i}),h.jsx("div",{className:te.headerMenu,children:h.jsx($2,{label:"Öppna meny",children:ce.Children.map(i,l=>h.jsx(g2,{children:l}))})})]})]})},eE=({id:e="#main:first-of-type"})=>{const t=()=>{const u=document.querySelector(e);u&&(u.tabIndex=-1,u.focus(),setTimeout(()=>u.removeAttribute("tabindex"),1e3))};return h.jsx(ze,{onPress:t,className:te.skipToContent,children:"Hoppa till huvudinnehåll"})},tE=()=>{const{isOpened:e,setIsOpened:t}=Ta();return e?h.jsx("div",{className:W(te.backdrop,te.backdropOpened),onClick:()=>{t(!1)},"aria-hidden":!0}):null},eu=({items:e,title:t,user:u,app:n,children:r,headerChildren:a,clientSideRouter:i,clientSideHref:l})=>{const[s,d]=ce.useState(!1),[c,f]=ce.useState(!1);return h.jsx(eu.Provider,{items:e,title:t,user:u,app:n,clientSideRouter:i,clientSideHref:l,headerChildren:a,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,children:h.jsxs("div",{className:te.baseLayout,children:[h.jsx(eE,{}),h.jsx(eu.Header,{}),h.jsxs("div",{className:te.mainContent,children:[h.jsx(eu.Sidebar,{}),h.jsx(D2,{children:h.jsx("main",{className:te.main,children:h.jsx("div",{className:te.app,children:r})})}),h.jsx(tE,{})]})]})})};eu.Provider=H8;eu.Header=B2;eu.Sidebar=C2;eu.SidebarLink=ro;const uE='"../theme/tokens.css"',nE="_linkButton_11n8g_4",rE="_secondary_11n8g_47",aE="_icon_11n8g_52",iE="_tertiary_11n8g_70",lE="_danger_11n8g_85",oE="_iconBtn_11n8g_100",sE="_iconLeft_11n8g_121",dE="_fullwidth_11n8g_125",cE="_button_11n8g_130",Xe={tokens:uE,"--font-family":'"Inter", sans-serif',"--size-03":"1rem","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-brand":"light-dark(#143c50, #f2f2f2)","--border-brand":"light-dark(#143c50, #143c50)","--button-background-secondary":"light-dark(#ffffff, #171717)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#b31b1b, #b31b1b)","--button-background-danger-active":"light-dark(#801313, #801313)","--white":"#ffffff","--icon-secondary":"light-dark(#143c50, #2e7ca5)",linkButton:nE,secondary:rE,icon:aE,tertiary:iE,danger:lE,iconBtn:oE,iconLeft:sE,fullwidth:dE,button:cE},fE=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:r,className:a,as:i,...l})=>{const s=i||Jr,d=()=>n?h.jsx(n,{size:20,className:Xe.icon}):l.target==="_blank"?h.jsx(dC,{size:20,className:Xe.icon}):r==="left"?h.jsx(to,{size:20,className:Xe.icon}):h.jsx(uo,{size:20,className:Xe.icon});return h.jsxs(s,{className:W(Xe.linkButton,t==="primary"&&Xe.primary,t==="secondary"&&Xe.secondary,t==="tertiary"&&Xe.tertiary,t==="danger"&&Xe.danger,t==="icon"&&Xe.iconBtn,u&&Xe.fullwidth,r==="left"&&Xe.iconLeft,a),...l,children:[e,h.jsx(d,{})]})},pE='"../theme/tokens.css"',mE="_modal_1nzqy_4",bE="_overlay_1nzqy_22",hE="_modalHeader_1nzqy_32",$E="_modalBody_1nzqy_41",gE="_modalHeading_1nzqy_47",Ln={tokens:pE,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--background-01":"light-dark(#ffffff, #171717)","--text-primary":"light-dark(#171717, #f2f2f2)",modal:mE,overlay:bE,modalHeader:hE,modalBody:$E,modalHeading:gE},DE=({title:e,children:t,...u})=>{const n=ce.useRef(null),{dialogProps:r,titleProps:a}=e1(u,n);return h.jsxs("div",{...r,ref:n,className:Ln.modalBody,"aria-modal":!0,children:[e&&h.jsx("h2",{...a,className:W(Ln.modalHeading,a.className),children:e}),t]})},vE=({state:e,children:t,...u})=>{const n=ce.useRef(null),{modalProps:r,underlayProps:a}=wD(u,e,n);return h.jsx(Ri,{children:h.jsx("div",{...a,className:W(Ln.overlay,a.className),children:h.jsx("div",{...r,className:W(Ln.modal,r.className),ref:n,children:t})})})},yE=({label:e,children:t,...u})=>{const n=Au(u),{triggerProps:r,overlayProps:a}=_3({type:"dialog"},n);return h.jsxs(h.Fragment,{children:[h.jsx(ze,{...r,children:e}),n.isOpen&&h.jsxs(vE,{...u,state:n,children:[h.jsx("div",{className:Ln.modalHeader,children:h.jsx(ze,{onPress:n.close,variant:"tertiary",icon:du,iconPlacement:"right",children:"Stäng"})}),ce.cloneElement(t(n.close),a)]})]})},xE='"../theme/tokens.css"',CE="_radioGroup_1ugje_4",EE="_wrap_1ugje_16",BE="_radio_1ugje_4",Zi={tokens:xE,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--size-03":"1rem","--text-primary":"light-dark(#171717, #f2f2f2)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--fast-transition":"250ms","--border-disabled":"light-dark(#bfbfbf, #525252)","--icon-secondary":"light-dark(#143c50, #2e7ca5)","--border-medium":"light-dark(#737373, #8c8c8c)","--border-subtle":"light-dark(#bfbfbf, #383838)","--breakpoint-sm":"(max-width: 767px)","--field-hover-02":"light-dark(#e6e6e6, #474747)","--border-invalid":"light-dark(#e62323, #e62323)",radioGroup:CE,wrap:EE,radio:BE},kE=({label:e,description:t,errorMessage:u,children:n,className:r,...a})=>h.jsx(t7,{...a,className:W(Zi.radioGroup,r),children:h.jsx(wu,{label:e,description:t,errorMessage:u,children:h.jsx(nr,{className:Zi.wrap,children:n})})}),PE=e=>h.jsx(u7,{className:Zi.radio,...e}),SE='"../theme/tokens.css"',AE="_fieldError_11dj2_4",wE="_container_11dj2_33",FE="_inputContainer_11dj2_40",TE="_icon_11dj2_47",IE="_clear_11dj2_56",RE="_input_11dj2_40",Ku={tokens:SE,"--font-family":'"Inter", sans-serif',"--text-invalid":"light-dark(#e62323, #e62323)","--field-01":"light-dark(#f2f2f2, #262626)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--border-invalid":"light-dark(#e62323, #e62323)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)",fieldError:AE,container:wE,inputContainer:FE,icon:TE,clear:IE,input:RE};function KE(e){return!!(e!=null&&e.length)}const ME=e=>{const{value:t,setValue:u}=Vy(e),n=ce.useRef(null),{inputProps:r,errorMessageProps:a,isInvalid:i,validationErrors:l,clearButtonProps:s}=Vv({...e,label:e.placeholder,validationBehavior:"native"},{value:t,setValue:u},n),d=({target:m})=>u(m.value),c=()=>u(""),f=()=>{var b;if(e.validate&&KE(e.validate(t))||i||!t){(b=n.current)==null||b.focus();return}e.onSubmit&&e.onSubmit(t)},p=({key:m})=>{m==="Enter"&&f()};return h.jsxs("div",{children:[i&&h.jsx("div",{...a,className:Ku.fieldError,children:e.errorMessage??l.join(" ")}),h.jsxs("div",{className:Ku.container,children:[h.jsxs("div",{className:Ku.inputContainer,children:[h.jsx(sC,{size:20,className:Ku.icon}),h.jsx("input",{...r,className:W(Ue.input,Ku.input,r.className),ref:n,onChange:d,value:t,"aria-invalid":i,onKeyDown:p,"aria-label":e.placeholder,"aria-labelledby":""}),t.length>0&&h.jsx(ze,{variant:"icon",size:"small",className:Ku.clear,onPress:c,...s,children:h.jsx(du,{size:20,"aria-hidden":!0})})]}),h.jsx(ze,{isDisabled:e.isDisabled,excludeFromTabOrder:!0,onPress:f,type:"button",children:e.buttonText?e.buttonText:"Sök"})]})]})},zE='"../theme/tokens.css"',NE="_selectAllButton_d3qr3_11",VE="_selectLabel_d3qr3_17",_E="_selectLabelDisabled_d3qr3_25",jE="_button_d3qr3_29",LE="_buttonOpen_d3qr3_71",OE="_icon_d3qr3_72",HE="_buttonDisabled_d3qr3_77",UE="_multiSelect_d3qr3_86",WE="_description_d3qr3_106",ZE="_descriptionInvalid_d3qr3_116",GE="_descriptionDisabled_d3qr3_120",qE="_popover_d3qr3_124",YE="_listBox_d3qr3_151",JE="_listBoxItem_d3qr3_158",QE="_listBoxItemSelected_d3qr3_185",XE="_listBoxItemDisabled_d3qr3_193",eB="_listBoxItemFocused_d3qr3_203",tB="_listBoxItemFocusVisible_d3qr3_207",uB="_listBoxItemCheckmark_d3qr3_212",nB="_selectContainer_d3qr3_217",rB="_selectValueTag_d3qr3_223",aB="_selectValueTagDisabled_d3qr3_240",iB="_truncate_d3qr3_247",lB="_clearButton_d3qr3_253",oB="_fieldError_d3qr3_280",sB="_checkboxContainer_d3qr3_304",dB="_checkbox_d3qr3_304",J={tokens:zE,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--border-strong":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--layer-02":"light-dark(#ffffff, #383838)","--border-invalid":"light-dark(#e62323, #e62323)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--layer-selected-hover-02":"light-dark(#cccccc, #5d5d5d)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-invalid":"light-dark(#e62323, #e62323)",selectAllButton:NE,selectLabel:VE,selectLabelDisabled:_E,button:jE,buttonOpen:LE,icon:OE,buttonDisabled:HE,multiSelect:UE,description:WE,descriptionInvalid:ZE,descriptionDisabled:GE,popover:qE,listBox:YE,listBoxItem:JE,listBoxItemSelected:QE,listBoxItemDisabled:XE,listBoxItemFocused:eB,listBoxItemFocusVisible:tB,listBoxItemCheckmark:uB,selectContainer:nB,selectValueTag:rB,selectValueTagDisabled:aB,truncate:iB,clearButton:lB,fieldError:oB,checkboxContainer:sB,checkbox:dB},k2=({item:e,state:t})=>{const u=ce.useRef(null),{optionProps:n,isDisabled:r,isSelected:a,isFocused:i,isFocusVisible:l}=If({key:e.key},t,u);return h.jsxs("li",{...n,ref:u,className:W(J.listBoxItem,{[J.listBoxItemDisabled]:r,[J.listBoxItemFocused]:i,[J.listBoxItemFocusVisible]:l,[J.listBoxItemSelected]:a}),children:[t.selectionMode==="multiple"&&h.jsx("div",{className:J.checkboxContainer,children:h.jsx("input",{className:J.checkbox,type:"checkbox",disabled:r,checked:a,readOnly:!0})}),typeof e.rendered=="string"?h.jsx("span",{className:"truncate block",children:e.rendered}):e.rendered,a&&t.selectionMode==="single"?h.jsx(uC,{size:20,className:J.listBoxItemCheckmark}):null]})},cB=({section:e,state:t})=>{const{itemProps:u,headingProps:n,groupProps:r}=Rf({heading:e.rendered,"aria-label":e["aria-label"]});return h.jsxs("li",{...u,className:"",children:[e.rendered&&h.jsx("span",{...n,className:J.selectSectionHeading,children:e.rendered}),h.jsx("ul",{...r,children:Array.from(e.childNodes).map(a=>h.jsx(k2,{item:a,state:t},a.key))})]})},fB=e=>{const t=ce.useRef(null),{listBoxRef:u=t,state:n}=e,{listBoxProps:r}=wf({...e,disallowEmptySelection:!0},n,u);return h.jsx("ul",{...r,className:J.listBox,ref:u,children:Array.from(n.collection).map(a=>a.type==="section"?h.jsx(cB,{section:a,state:n},a.key):h.jsx(k2,{item:a,state:n},a.key))})},pB=({isOpen:e,onClose:t,children:u,className:n,triggerRef:r})=>{const a=ce.useRef(null),{overlayProps:i}=Fl({isOpen:e,onClose:t,isDismissable:!0,shouldCloseOnBlur:!0},a),{overlayProps:l,updatePosition:s}=wl({isOpen:e,offset:0,crossOffset:0,containerPadding:0,overlayRef:a,targetRef:r,placement:"bottom start"});ce.useLayoutEffect(()=>{e&&requestAnimationFrame(()=>{s()})},[e,s]);const d={...l.style,"--select-width":r.current?`${r.current.offsetWidth}px`:void 0};return h.jsx(L3,{children:h.jsx("div",{..._(i,l),ref:a,className:n,style:d,children:h.jsxs(Yn,{restoreFocus:!0,children:[h.jsx(Wr,{onDismiss:t}),u,h.jsx(Wr,{onDismiss:t})]})})})};function mB(e,t,u){const{disallowEmptySelection:n,isDisabled:r}=e,a=tn({usage:"search",sensitivity:"base"}),i=o.useMemo(()=>new nn(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=Ml({isDisabled:r,type:"listbox"},t,u),d=$=>{const{selectedKeys:D,selectionMode:y}=t,x=D.values().next().value;if(y==="single")switch($.key){case"ArrowLeft":{$.preventDefault();const C=D.size>0?i.getKeyAbove(x):i.getFirstKey();C&&t.setSelectedKeys([C]);break}case"ArrowRight":{$.preventDefault();const C=D.size>0?i.getKeyBelow(x):i.getFirstKey();C&&t.setSelectedKeys([C]);break}}},{typeSelectProps:c}=Af({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKeys([$])}}),{labelProps:f,fieldProps:p}=ou({...e,labelElementType:"span"});c.onKeyDown=c.onKeyDownCapture,delete c.onKeyDownCapture;const m=U(e,{labelable:!0}),b=_(c,l,p),g=oe();return{labelProps:{...f,onClick:()=>{var $;e.isDisabled||(($=u.current)==null||$.focus(),dd("keyboard"))}},triggerProps:_(m,{...b,onKeyDown:lt(b.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,g].filter(Boolean).join(" "),onFocus($){t.isFocused||(e.onFocus&&e.onFocus($),t.setFocused(!0))},onBlur($){t.isOpen||(e.onBlur&&e.onBlur($),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...s,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:$=>{$.currentTarget.contains($.relatedTarget)||(e.onBlur&&e.onBlur($),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],b["aria-label"]&&!p["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function bB(e){const{collection:t,disabledKeys:u,selectionManager:n,selectionManager:{setSelectedKeys:r,selectedKeys:a,selectionMode:i}}=xa(e),l=[],s=a.size!==0?Array.from(a).map(d=>{const c=t.getItem(d);return c||l.push(d),c}).filter(Boolean):null;return l.length&&console.warn(`Select: Keys "${l.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:u,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:r.bind(n),selectedItems:s}}function hB(e){var l;const{selectionMode:t}=e,[u,n]=o.useState(!1),r=Hl(e),a=bB({...e,onSelectionChange:s=>{const{onSelectionChange:d}=e;d!=null&&d(s==="all"?Array.from(a.collection.getKeys()):t==="single"?s.values().next().value:Array.from(s)),t==="single"&&r.close()}}),i=Ct({...e,validationBehavior:"native",value:t==="single"?(l=a.selectedKeys.values().next().value)==null?void 0:l.toString():a.selectedKeys});return o.useEffect(()=>{t==="single"&&a.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},[a.selectedKeys.size,t,i]),{...a,...r,close(){r.close(),a.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},open(){a.collection.size!==0&&r.open()},toggle(s){a.collection.size!==0&&r.toggle(s)},isFocused:u,setFocused:n,...i}}const $B='"../theme/tokens.css"',gB="_button_q3kzd_4",DB="_tag_q3kzd_19",vB="_dismissable_q3kzd_38",yB="_tagText_q3kzd_46",xB="_tagList_q3kzd_51",xn={tokens:$B,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--field-active-01":"light-dark(#d9d9d9, #383838)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--icon-primary":"light-dark(#171717, #f2f2f2)",button:gB,tag:DB,dismissable:vB,tagText:yB,tagList:xB},P2=({children:e,...t})=>h.jsx(k7,{...t,children:h.jsx(r2,{className:xn.tagList,children:e})}),S2=({children:e,dismissable:t,className:u,...n})=>h.jsxs(A7,{className:W(xn.tag,t&&xn.dismissable,u),...n,children:[h.jsx("div",{className:xn.tagText,children:e}),t&&h.jsx(ze,{variant:"icon",size:"small",className:xn.button,slot:"remove",children:h.jsx(du,{size:20})})]});function CB(e){const t=(i,l)=>{let s;return(d,c)=>{clearTimeout(s),s=setTimeout(()=>{i(d,c)},l)}},[u,n]=o.useState(0),[r,a]=o.useState(0);return o.useEffect(()=>{if(!e)return;const i=new ResizeObserver(t(l=>{const{inlineSize:s,blockSize:d}=l[0].contentBoxSize[0];n(s),a(d)},500));return i.observe(e),()=>{i.disconnect()}},[e]),{width:u,height:r}}function EB({autoComplete:e,name:t,isDisabled:u,isRequired:n,selectRef:r},a,i){var s;const{visuallyHiddenProps:l}=Xn();return Un(r,a.selectedKeys,a.setSelectedKeys),Qn({validationBehavior:"native",focus:()=>{var d;return(d=i.current)==null?void 0:d.focus()}},a,r),{containerProps:{...l,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:e,disabled:u,required:n,name:t,value:a.selectionMode==="single"?(s=a.selectedKeys.values().next().value)==null?void 0:s.toString():Array.from(a.selectedKeys).map(d=>d.toString()),onChange:d=>a.setSelectedKeys(d.target.value)}}}function BB(e){var d;const{state:t,triggerRef:u,label:n,name:r,isDisabled:a}=e,i=o.useRef(null),{containerProps:l,selectProps:s}=EB({...e,selectRef:i},t,u);return t.collection.size<=300?h.jsx("div",{...l,"data-testid":"hidden-select-container",children:h.jsxs("label",{children:[n,h.jsxs("select",{...s,ref:i,multiple:t.selectionMode==="multiple",children:[h.jsx("option",{}),[...t.collection.getKeys()].map(c=>{const f=t.collection.getItem(c);return f&&f.type==="item"?h.jsx("option",{value:f.key,children:f.textValue},f.key):null})]})]})}):r?h.jsx("input",{type:"hidden",autoComplete:s.autoComplete,name:r,disabled:a,value:t.selectionMode==="single"?((d=t.selectedKeys.values().next().value)==null?void 0:d.toString())??"":Array.from(t.selectedKeys).map(c=>c.toString())??""}):null}const A2=ce.forwardRef(({selectionMode:e="single",...t},u)=>{var A;const n={selectionMode:e,...t},{autoFocus:r,className:a,excludeFromTabOrder:i,isClearable:l=!0,isDisabled:s,isSelectableAll:d,label:c,description:f,placeholder:p,showTags:m,errorMessage:b}=n,g=o.useRef(null),$=xe(u),D=!l,y=hB({...n,disallowEmptySelection:D}),{labelProps:x,triggerProps:C,valueProps:B,menuProps:P}=mB({...n,disallowEmptySelection:D},y,$),{buttonProps:T}=El({...C,autoFocus:r,excludeFromTabOrder:i,isDisabled:s},$),v=y.isOpen||y.selectedItems,F=y.selectionManager.isSelectAll,S=!F&&!y.selectionManager.isEmpty,k=l&&y.selectedItems,M=d,E=()=>y.selectionManager.clearSelection(),V=()=>y.selectionManager.toggleSelectAll(),R=z=>y.selectionManager.toggleSelection(z),{width:w}=CB($.current),I=z=>h.jsxs("div",{className:W(J.selectValueTag,{[J.selectValueTagDisabled]:s}),children:[h.jsx("span",{className:J.truncate,style:{maxWidth:w-64},children:z.length>1?`${z.length} valda`:z[0].textValue}),h.jsx("button",{disabled:s,"aria-label":"Rensa alla",className:J.clearButton,onClick:()=>{var K;E(),(K=$==null?void 0:$.current)==null||K.focus()},children:h.jsx(du,{width:20,height:20})})]});return o.useEffect(()=>{g.current&&(g.current.indeterminate=S)},[S]),h.jsxs(h.Fragment,{children:[h.jsx(BB,{isDisabled:n.isDisabled,isRequired:n.isRequired,name:n.name,state:y,triggerRef:$,label:n.label+"-hidden"}),h.jsxs(Ul,{...n,className:W([J.multiSelect],{[J.multiSelectOpen]:y.isOpen},a),children:[h.jsxs("div",{className:J.multiSelect,children:[c&&h.jsx(rn,{...x,slot:"label",className:W(J.selectLabel,{[J.selectLabelActive]:v,[J.selectLabelDisabled]:s}),children:c}),f&&h.jsx("span",{className:W(J.description,{[J.descriptionDisabled]:s,[J.descriptionInvalid]:!!b}),slot:"description",children:f}),h.jsx(tr,{className:J.fieldError,children:b}),y.displayValidation.validationErrors.length?h.jsx("div",{className:J.fieldError,children:b||y.displayValidation.validationErrors.map(z=>h.jsx(ce.Fragment,{children:z},z))}):null,h.jsx(Qo,{focusRingClass:J.buttonFocused,autoFocus:r,children:h.jsxs("div",{className:J.selectContainer,children:[h.jsxs("button",{...T,..._,className:W(J.button,{[J.buttonOpen]:y.isOpen,[J.buttonActive]:y.selectedItems,[J.buttonDisabled]:s}),"data-invalid":y.displayValidation.validationErrors.length>0||y.displayValidation.isInvalid,type:"button",ref:$,children:[y.selectionMode==="multiple"&&!y.selectedItems?h.jsx("span",{children:p}):null,y.selectionMode!=="multiple"?h.jsx("span",{children:((A=y.selectedItems)==null?void 0:A.length)===1?y.selectedItems[0].textValue:p}):null,h.jsx("div",{className:J.icon,"aria-hidden":"true",children:h.jsx(na,{size:20})})]}),y.selectionMode==="multiple"&&y.selectedItems?h.jsx("span",{...B,children:I(y.selectedItems)}):null]})}),y.isOpen&&h.jsxs(pB,{isOpen:y.isOpen,onClose:y.close,className:J.popover,triggerRef:$,children:[M&&h.jsxs(h.Fragment,{children:[d&&h.jsx(Qo,{focusRingClass:J.listItemfocusRing,children:h.jsx("button",{type:"button",onClick:V,className:J.selectAllButton,children:h.jsxs("div",{className:J.listBoxItem,tabIndex:-1,children:[h.jsx("div",{className:J.checkboxContainer,children:h.jsx("input",{className:J.checkbox,type:"checkbox",checked:F,ref:g,readOnly:!0,tabIndex:-1})}),h.jsx("span",{children:"Select All"})]})})}),h.jsx("div",{className:"selectDivider"})]}),h.jsx(fB,{...P,state:y}),k&&!1]})]}),m&&y.selectedItems!==null&&h.jsx(P2,{"aria-label":"Selected Items",selectionBehavior:"toggle",onRemove:z=>R([...z][0]),..._,children:h.jsx(r2,{items:y.selectedItems,children:z=>h.jsx(S2,{textValue:z.textValue,id:z.key,dismissable:!0,isDisabled:s,children:z.textValue},z.key)})})]})]})}),w2=ce.forwardRef(({options:e,...t},u)=>h.jsx(A2,{...t,items:e,ref:u,children:n=>n.children?h.jsx(zD,{items:n.children,title:n.name,children:r=>h.jsx(ds,{textValue:r.textValue,children:r.name})},n.name):h.jsx(ds,{textValue:n.textValue,children:n.name})}));w2.displayName="Select";const kB='"../theme/tokens.css"',PB="_skeleton_9g8pz_14",SB="_circle_9g8pz_24",AB="_wave_9g8pz_29",si={tokens:kB,"--field-skeleton":"light-dark(#f2f2f2, #262626)","--background-inverse-01":"light-dark(#171717, #f2f2f2)",skeleton:PB,circle:SB,wave:AB},wB=({variant:e="rectangular",width:t,height:u,animation:n="wave"})=>(e==="circle"&&u!==void 0&&console.warn("Height is not allowed when using circle, control size with width"),h.jsx("div",{className:W(si.skeleton,si[e],n&&si[n]),style:{width:t,height:u}})),FB='"../theme/tokens.css"',TB="_container_32v8g_4",IB="_spinner_32v8g_8",RB="_rotating_32v8g_1",KB="_dark_32v8g_18",MB="_vsHidden_32v8g_22",Dr={tokens:FB,"--icon-primary":"light-dark(#171717, #f2f2f2)","--icon-on-color":"light-dark(#ffffff, #ffffff)",container:TB,spinner:IB,rotating:RB,dark:KB,vsHidden:MB},zB=({small:e,dark:t})=>h.jsxs("div",{className:Dr.container,role:"status",children:[h.jsx(aC,{className:W(Dr.spinner,t&&Dr.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),h.jsx("span",{className:Dr.vsHidden,children:"Laddar, vänligen vänta."})]}),NB='"../theme/tokens.css"',VB="_cell_1nc0z_4",_B="_table_1nc0z_11",jB="_narrow_1nc0z_15",LB="_striped_1nc0z_30",OB="_row_1nc0z_30",HB="_tableHeader_1nc0z_53",UB="_column_1nc0z_58",xu={tokens:NB,"--font-family":'"Inter", sans-serif',"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-accent-hover-01":"light-dark(#cccccc, #474747)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)",cell:VB,table:_B,narrow:jB,striped:LB,row:OB,tableHeader:HB,column:UB},WB=({narrow:e,striped:t,className:u,...n})=>{const r=W(xu.table,e&&xu.narrow,t&&xu.striped,u);return h.jsx(i7,{className:r,...n})},ZB=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:r}=u2();return h.jsxs(o7,{className:xu.tableHeader,children:[r&&h.jsx(Gi,{}),u==="toggle"&&h.jsx(Gi,{width:50,children:n==="multiple"&&h.jsx(Fa,{slot:"selection"})}),h.jsx(xt,{items:e,children:t})]})},GB=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:r,allowsDragging:a}=u2();return h.jsxs(p7,{id:e,className:W(xu.row),...n,children:[a&&h.jsx(qi,{children:h.jsx(jt,{slot:"drag",children:h.jsx(rC,{size:20})})}),r==="toggle"&&h.jsx(qi,{children:h.jsx(Fa,{slot:"selection"})}),h.jsx(xt,{items:t,children:u})]})},Gi=({children:e,...t})=>h.jsx(d7,{className:xu.column,...t,children:({allowsSorting:u,sortDirection:n})=>h.jsxs(h.Fragment,{children:[e,u&&h.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:n==="ascending"?h.jsx(tC,{size:20}):h.jsx(X7,{size:20})})]})}),qi=({...e})=>h.jsx(m7,{className:xu.cell,...e}),qB='"../theme/tokens.css"',YB="_container_1n91k_4",JB="_list_1n91k_8",QB="_listItem_1n91k_14",XB="_panel_1n91k_42",vr={tokens:qB,"--font-family":'"Inter", sans-serif',"--border-subtle":"light-dark(#bfbfbf, #383838)","--border-brand":"light-dark(#143c50, #143c50)","--focus":"0 0 0 2px white, 0 0 0 4px black","--breakpoint-sm":"(max-width: 767px)",container:YB,list:JB,listItem:QB,panel:XB},ek=({tabs:e,label:t,defaultSelected:u,children:n})=>{const r=ce.Children.toArray(n);if(r.length!==e.length)throw new Error(`The number of children must match the number of tabs. Children: ${r.length} Tabs: ${e.length}`);const a=r.reduce((i,l,s)=>{var d;if(ce.isValidElement(l)){const c=(d=e[s])==null?void 0:d.toLowerCase();c&&(i[c]=ce.cloneElement(l,{id:c}))}return i},{});return h.jsxs(D7,{orientation:"vertical",defaultSelectedKey:u&&u.toLowerCase(),className:vr.container,children:[h.jsx(y7,{"aria-label":t,className:vr.list,children:e.map(i=>h.jsx(C7,{id:i.toLowerCase(),className:vr.listItem,children:i},i))}),e.map(i=>h.jsx(E7,{id:i.toLowerCase(),className:vr.panel,children:a[i.toLowerCase()]},i))]})},tk='"../theme/tokens.css"',uk="_textArea_1ssro_4",nk="_count_1ssro_50",rk="_countExceeded_1ssro_58",yr={tokens:tk,"--focus":"0 0 0 2px white, 0 0 0 4px black","--field-disabled":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-invalid":"light-dark(#e62323, #e62323)","--border-invalid":"light-dark(#e62323, #e62323)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)",textArea:uk,count:nk,countExceeded:rk},ak=({label:e,description:t,rows:u,maxLength:n,minLength:r,errorMessage:a,showCounter:i,validate:l,className:s,...d})=>{const[c,f]=ce.useState(d.defaultValue??d.value??""),p=g=>{const $=g.target.value;f($)},m=()=>n?h.jsxs("span",{className:W(yr.count,c.length>n&&yr.countExceeded),children:[c.length," / ",n]}):i?h.jsx("span",{className:yr.count,children:c.length}):null,b=g=>{const $=n&&g.length>n?`Du har angett ${g.length-n} tecken för mycket. Fältet är begränsat till ${n} tecken.`:null,D=r&&g.length<r?`Du har angett ${Math.abs(g.length-r)} tecken för lite. Fältet kräver åtminstone ${r} tecken.`:null,y=l?l(g):null;return $||D||y||!0};return h.jsx(Ul,{className:W(Ue.inputField,s),validate:b,...d,children:h.jsxs(wu,{label:e,description:t,errorMessage:a,children:[h.jsx(m,{}),h.jsx(Xy,{className:yr.textArea,rows:u,onFocus:p,onChange:p})]})})},ik='"../theme/tokens.css"',lk="_toastRegion_1l2ca_52",ok="_toast_1l2ca_52",sk="_success_1l2ca_95",dk="_info_1l2ca_103",ck="_important_1l2ca_111",fk="_warning_1l2ca_119",pk="_icon_1l2ca_127",mk="_toastContent_1l2ca_137",bk="_toastMessage_1l2ca_144",hk="_slideInTop_1l2ca_1",$k="_slideInEnd_1l2ca_1",gk="_slideOutTop_1l2ca_1",Dk="_slideOutEnd_1l2ca_1",Vu={tokens:ik,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--notification-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--notification-border-success":"light-dark(#008d3c, #008d3c)","--notification-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--notification-border-info":"light-dark(#0066cc, #0066cc)","--notification-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))","--notification-border-important":"light-dark(#fdb813, #fdb813)","--notification-border-warning":"light-dark(#e62323, #e62323)","--notification-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--breakpoint-md":"(min-width: 768px)","--focus":"0 0 0 2px white, 0 0 0 4px black",toastRegion:lk,toast:ok,success:sk,info:dk,important:ck,warning:fk,icon:pk,toastContent:mk,toastMessage:bk,slideInTop:hk,slideInEnd:$k,slideOutTop:gk,slideOutEnd:Dk},vk={success:s2,info:d2,important:o2,warning:c2},F2={wrapUpdate(e){"startViewTransition"in document?document.startViewTransition(()=>{Lt.flushSync(e)}):e()},maxVisibleToasts:5};function T2(e={}){const{maxVisibleToasts:t=1,wrapUpdate:u}=e,n=o.useMemo(()=>new u5({maxVisibleToasts:t,wrapUpdate:u}),[t,u]);return t5(n)}const I2=new u5(F2),yk=e=>{const t=t5(I2);return t.visibleToasts.length>0?Lt.createPortal(h.jsx(ao,{...e,state:t}),document.body):null},xk=({children:e,...t})=>{const u=T2(F2);return h.jsxs(h.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&h.jsx(ao,{...t,state:u})]})};function ao({state:e,...t}){const u=o.useRef(null),{regionProps:n}=oy(t,e,u);return h.jsx("div",{...n,ref:u,className:Vu.toastRegion,children:e.visibleToasts.map(r=>h.jsx(R2,{toast:r,state:e},r.key))})}function R2({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:r,titleProps:a,closeButtonProps:i}=iy(t,e),l=vk[t.toast.content.type];return h.jsxs("div",{...n,ref:u,className:W(Vu.toast,Vu[t.toast.content.type]),style:{viewTransitionName:t.toast.key},children:[h.jsxs("div",{className:Vu.toastContent,...r,children:[h.jsx(l,{className:Vu.icon,size:20,"aria-hidden":!0}),h.jsxs("div",{children:[h.jsx("p",{className:Vu.toastMessage,...a,children:t.toast.content.message}),t.toast.content.children]})]}),h.jsx(ze,{variant:"icon",...i,children:h.jsx(du,{size:20,"aria-hidden":!0})})]})}const Ck='"../theme/tokens.css"',Ek="_dateField_3fx7w_4",Bk="_isDisabled_3fx7w_12",kk="_inputField_3fx7w_16",Pk="_segment_3fx7w_45",Sk="_label_3fx7w_66",Ak="_description_3fx7w_72",wk="_fieldError_3fx7w_78",hu={tokens:Ck,"--font-family":'"Inter", sans-serif',"--text-placeholder":"light-dark(#a6a6a6, #525252)","--text-invalid":"light-dark(#e62323, #e62323)","--border-invalid":"light-dark(#e62323, #e62323)","--focus":"0 0 0 2px white, 0 0 0 4px black","--field-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)",dateField:Ek,isDisabled:Bk,inputField:kk,segment:Pk,label:Sk,description:Ak,fieldError:wk};function Fk({label:e,description:t,errorMessage:u,className:n,...r}){return h.jsxs(Mx,{...r,className:W(hu.dateField,r.isDisabled&&hu.isDisabled,n),children:[h.jsx(rn,{className:hu.label,children:e}),t&&h.jsx(Bt,{slot:"description",className:hu.description,children:t}),h.jsx(tr,{className:hu.fieldError,children:u}),h.jsx(ta,{className:hu.inputField,children:a=>h.jsx(ua,{segment:a,className:hu.segment})})]})}const Tk='"../theme/tokens.css"',Ns={tokens:Tk,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--size-03":"1rem","--line-height-03":"1.25rem","--line-height-04":"1.375rem","--line-height-05":"1.5rem","body-01":"_body-01_q4109_4","body-02":"_body-02_q4109_5"},Vs="span",Ik=({children:e,className:t,variant:u="body-02",isExpressive:n=!1,elementType:r=Vs,...a})=>{const i={"body-01":Ns["body-01"],"body-02":Ns["body-02"]},l={className:W(i[u],t),elementType:r||Vs,...n&&{"data-expressive":!0},...a};return h.jsx(Bt,{...l,children:e})},Rk='"../theme/tokens.css"',Kk="_h1_1eh26_4",Mk="_h2_1eh26_5",zk="_h3_1eh26_6",Nk="_h4_1eh26_7",Vk="_h5_1eh26_8",_k="_h6_1eh26_9",Mu={tokens:Rk,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--size-03":"1rem","--size-04":"1.125rem","--size-05":"1.25rem","--size-06":"1.5rem","--size-07":"1.75rem","--size-09":"2.25rem","--line-height-04":"1.375rem","--line-height-05":"1.5rem","--line-height-06":"1.75rem","--line-height-07":"2rem","--line-height-08":"2.25rem","--line-height-09":"2.5rem","--line-height-10":"2.75rem",h1:Kk,h2:Mk,h3:zk,h4:Nk,h5:Vk,h6:_k},jk=({children:e,className:t,isExpressive:u=!1,level:n=3,elementType:r,...a})=>{const i=r&&parseInt(r.split("h")[1]);return h.jsx(Aa,{level:i||n,className:W([Mu.h1,Mu.h2,Mu.h3,Mu.h4,Mu.h5,Mu.h6][n-1],t),...u&&{"data-expressive":!0},...a,children:e})},Lk='"../theme/tokens.css"',_s={tokens:Lk,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--size-02":"0.875rem","--line-height-02":"1.125rem","--size-03":"1rem","--line-height-03":"1.25rem","label-01":"_label-01_sua9e_4","label-02":"_label-02_sua9e_5"},js="label",Yi=({children:e,className:t,variant:u="label-01",elementType:n=js,...r})=>{const a={"label-01":_s["label-01"],"label-02":_s["label-02"]},i={className:W(a[u],t),elementType:n||js,...r};return h.jsx(rn,{...i,children:e})},Ok='"../theme/tokens.css"',Hk="_progressBar_3xf16_4",Uk="_indeterminate_3xf16_1",Wk="_label_3xf16_12",Zk="_value_3xf16_16",Gk="_bar_3xf16_20",qk="_fill_3xf16_26",hn={tokens:Ok,"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--signal-green-140":"#008d3c",progressBar:Hk,indeterminate:Uk,label:Wk,value:Zk,bar:Gk,fill:qk},Yk=({label:e,labelProps:t,showValueLabel:u=!1,...n})=>h.jsx(fy,{...n,className:W(hn.progressBar,n.className),children:({percentage:r,valueText:a,isIndeterminate:i})=>h.jsxs(h.Fragment,{children:[e&&h.jsx(Yi,{elementType:"span",...t,className:W(t==null?void 0:t.className,hn.label),children:e}),u&&h.jsx(Yi,{elementType:"span",...t,id:"",className:W(t==null?void 0:t.className,hn.value),children:a}),h.jsx("div",{className:hn.bar,children:h.jsx("div",{className:hn.fill,style:{width:`${i?50:r}%`}})})]})});exports.Accordion=R7;exports.AccordionItem=cC;exports.Breadcrumbs=vC;exports.Button=ze;exports.ButtonGroup=q7;exports.Calendar=m2;exports.Card=PC;exports.Cell=qi;exports.Checkbox=Fa;exports.CheckboxGroup=ZC;exports.Column=Gi;exports.ComboBox=r9;exports.ComboBoxItem=a9;exports.DateField=Fk;exports.DatePicker=C9;exports.DateRangePicker=x9;exports.Dialog=DE;exports.Dropdown=$2;exports.DropdownItem=g2;exports.FileUpload=K9;exports.Flex=j9;exports.FlexItem=D2;exports.GlobalToastRegion=yk;exports.Grid=Z9;exports.GridItem=G9;exports.Header=B2;exports.Heading=jk;exports.InfoBanner=l8;exports.InputWrapper=wu;exports.Label=Yi;exports.Layout=eu;exports.Link=no;exports.LinkButton=fE;exports.Logo=E2;exports.ModalTrigger=yE;exports.ProgressBar=Yk;exports.Radio=PE;exports.RadioGroup=kE;exports.RangeCalendar=b2;exports.RouterProvider=Ws;exports.Row=GB;exports.SearchField=ME;exports.Select=w2;exports.SelectComponent=A2;exports.Sidebar=C2;exports.SidebarLink=ro;exports.Skeleton=wB;exports.Spinner=zB;exports.Table=WB;exports.TableBody=f7;exports.TableHeader=ZB;exports.Tabs=ek;exports.Tag=S2;exports.TagGroup=P2;exports.Text=Ik;exports.TextArea=ak;exports.TextField=UC;exports.Toast=R2;exports.ToastProvider=xk;exports.ToastRegion=ao;exports.Tooltip=v2;exports.TooltipTrigger=y2;exports.dossNrRegEx=p2;exports.ssnRegEx=f2;exports.toastQueue=I2;exports.useToastState=T2;
|
|
143
|
+
*/const Jt=Se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),xC=({title:e,children:t,className:u,headingLevel:n=3,...r})=>{const a=ce.useRef(null),[i,l]=ce.useState(0),s=typeof e=="object";return ce.useLayoutEffect(()=>{a.current&&l(a.current.clientHeight)}),h.jsxs(t7,{...r,className:W(tt.item,u),children:[s?h.jsx("div",{className:tt.trigger,children:h.jsxs(ze,{slot:"trigger",variant:"icon",children:[h.jsx(la,{size:20,className:tt.icon}),e]})}):h.jsx(Ma,{level:n,className:tt.trigger,children:h.jsxs(ze,{slot:"trigger",variant:"icon",children:[h.jsx(la,{size:20,className:tt.icon}),h.jsx("span",{className:tt.triggerText,children:e})]})}),h.jsx(u7,{style:{"--panel-height":`${i}px`},className:W(tt.panel,i===0&&tt.panel0),children:h.jsx("div",{ref:a,className:tt.content,children:t})})]})},CC='"../theme/tokens.css"',EC="_link_u2oli_4",BC="_icon_u2oli_45",kC="_standalone_u2oli_49",PC="_stretched_u2oli_64",gn={tokens:CC,"--font-family":'"Inter", sans-serif',"--link-enabled":"light-dark(#2e7ca5, #4289ad)","--link-hover":"light-dark(#143c50, #5897b8)","--link-pressed":"light-dark(#171717, #82b0c9)","--link-visited":"light-dark(#954b95, #b46ab4)","--text-disabled":"light-dark(#bfbfbf, #525252)","--focus":"0 0 0 2px white, 0 0 0 4px black",link:EC,icon:BC,standalone:kC,stretched:PC},co=({children:e,standalone:t,stretched:u,icon:n,className:r,as:a,...i})=>{const l=a||ea;return h.jsx(l,{className:W(gn.link,t&&gn.standalone,u&&gn.stretched,r),...i,children:h.jsxs(h.Fragment,{children:[e,!t&&n&&h.jsx(n,{size:20,className:gn.icon}),t&&h.jsx(cC,{size:20,className:gn.icon})]})})},SC='"../theme/tokens.css"',AC="_container_1fsfi_4",wC={tokens:SC,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)",container:AC},FC=({items:e})=>h.jsx(ox,{className:wC.container,children:e.map((t,u)=>h.jsx(sx,{children:h.jsx(co,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),TC='"../theme/tokens.css"',RC="_card_17rvz_4",IC="_content_17rvz_28",KC="_heading_17rvz_34",MC="_image_17rvz_42",zC="_text_17rvz_51",Dn={tokens:TC,"--font-family":'"Inter", sans-serif',"--border-strong":"light-dark(#171717, #f2f2f2)","--layer-02":"light-dark(#ffffff, #383838)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--focus":"0 0 0 2px white, 0 0 0 4px black","--fast-transition":"250ms","--text-primary":"light-dark(#171717, #f2f2f2)","--blue-20":"#d5e5ed",card:RC,content:IC,heading:KC,image:MC,text:zC},NC=({image:e,title:t,content:u,link:n,headingTag:r="h1",customImageComponent:a,customLinkComponent:i,className:l,...s})=>{const d=ce.useId();return h.jsxs("div",{className:W(Dn.card,l),"data-disabled":n==null?void 0:n.isDisabled,...s,children:[h.jsxs("div",{className:Dn.content,children:[a||(e==null?void 0:e.source)&&h.jsx("img",{src:e.source,alt:e.description,className:Dn.image}),h.jsxs("div",{id:d,children:[h.jsx(r,{className:Dn.heading,children:t}),h.jsx("p",{className:Dn.text,children:u})]})]}),h.jsx(co,{"aria-describedby":d,...n,standalone:!0,stretched:!0,as:i})]})},VC='"../theme/tokens.css"',_C="_wrap_10brh_4",jC="_checkboxInner_10brh_11",LC="_checkbox_10brh_11",OC="_checkboxGroup_10brh_128",oa={tokens:VC,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)","--border-strong":"light-dark(#171717, #f2f2f2)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-disabled":"light-dark(#bfbfbf, #525252)","--breakpoint-sm":"(max-width: 767px)","--border-invalid":"light-dark(#e62323, #e62323)","--icon-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--field-disabled":"light-dark(#f2f2f2, #262626)","--focus":"0 0 0 2px white, 0 0 0 4px black",wrap:_C,checkboxInner:jC,checkbox:LC,checkboxGroup:OC},Na=({children:e,...t})=>h.jsx(vx,{className:W(oa.checkbox,t.className),...t,children:({isIndeterminate:u})=>h.jsxs(h.Fragment,{children:[h.jsx("div",{className:oa.checkboxInner,children:h.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:u?h.jsx("rect",{x:4,y:8,width:10,height:2}):h.jsx("polyline",{points:"3,9 7,13 15,4"})})}),e]})}),HC='"../theme/tokens.css"',UC="_inputField_1kfqg_4",WC="_inputWrapper_1kfqg_12",ZC="_label_1kfqg_30",GC="_text_1kfqg_37",qC="_fieldError_1kfqg_44",YC="_passwordText_1kfqg_68",JC="_count_1kfqg_81",QC="_countExceeded_1kfqg_89",XC="_input_1kfqg_4",e9="_wrap_1kfqg_137",t9="_passwordButton_1kfqg_142",Ue={tokens:HC,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--border-invalid":"light-dark(#e62323, #e62323)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-invalid":"light-dark(#e62323, #e62323)","--field-disabled":"light-dark(#f2f2f2, #262626)","--focus":"0 0 0 2px white, 0 0 0 4px black",inputField:UC,inputWrapper:WC,label:ZC,text:GC,fieldError:qC,passwordText:YC,count:JC,countExceeded:QC,input:XC,wrap:e9,passwordButton:t9},u9=({label:e,description:t,errorMessage:u,validationType:n,validate:r,maxLength:a,showCounter:i,className:l,...s})=>{const[d,c]=ce.useState(s.defaultValue??s.value??""),f=b=>{const g=b.target.value;c(g)},p=b=>n==="ssn"?g$.test(b)?null:"Felaktigt personnummer":n==="dossnr"?D$.test(b)?null:"Felaktigt dossiernummer":n instanceof RegExp?new RegExp(n).test(b)?null:u==null?void 0:u.toString():a?a&&b.length>a?`Du har angett ${b.length-a} tecken för mycket. Fältet är begränsat till ${a} tecken.`:null:r?r(b):!0,m=()=>a?h.jsxs("span",{className:W(Ue.count,d.length>a&&Ue.countExceeded),children:[d.length," / ",a]}):i?h.jsx("span",{className:Ue.count,children:d.length}):null;return h.jsx(Jl,{className:W(Ue.inputField,l),validate:p,...s,children:h.jsxs(Ru,{label:e,description:t,errorMessage:u,children:[h.jsx(m,{}),h.jsxs("div",{className:Ue.wrap,children:[h.jsx(ka,{type:s.type,className:Ue.input,onChange:f,onBlur:f}),h.jsx(n9,{type:s.type,input:d})]})]})})},n9=({type:e,input:t})=>{const[u,n]=ce.useState(!1);return e==="password"?h.jsxs(h.Fragment,{children:[u&&h.jsx(St,{slot:"description",className:Ue.passwordText,children:t}),h.jsx(ze,{variant:"tertiary",onPress:()=>n(!u),className:Ue.passwordButton,children:u?"Dölj":"Visa"})]}):null},Ru=({label:e,description:t,errorMessage:u,children:n})=>h.jsxs("div",{className:Ue.inputWrapper,children:[e&&h.jsx(sn,{className:Ue.label,children:e}),t&&h.jsx(St,{slot:"description",className:Ue.text,children:t}),h.jsx(rr,{"data-testid":"fieldError",className:Ue.fieldError,children:u}),n]}),g$=new RegExp("^(?:(?:19|20)?\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4})?|\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4}))$"),D$=new RegExp("^(\\d{1,2}\\+\\d{6}-\\d{1,2}$|\\d{1,2}-\\d{6}(/\\d{1,2})?$|\\d{1,2}\\d{6}$|\\d{6,8}$)"),r9=({label:e,description:t,errorMessage:u,showSelectAll:n,children:r,...a})=>{const[i,l]=o.useState(),s=()=>{const d=o.useContext(Xl),c=o.Children.toArray(r).filter(o.isValidElement).map(p=>p.props.value),f=()=>i!=="all"?(l("all"),d==null?void 0:d.setValue(["toggleAll",...c])):(l("none"),d==null?void 0:d.setValue([]));return o.useEffect(()=>{var g,$;const p=c.length,m=c.length+1,b=((g=d==null?void 0:d.value)==null?void 0:g.length)||0;b===0&&l("none"),b>0&&b<p&&l("some"),b!==m&&(d==null||d.removeValue("toggleAll")),b===p&&!(($=d==null?void 0:d.value)!=null&&$.includes("toggleAll"))&&(d==null||d.addValue("toggleAll"),l("all"))},[c.length,d==null?void 0:d.value]),h.jsx(Na,{value:"toggleAll",isSelected:i==="all",isIndeterminate:i==="some",onChange:()=>f(),children:"Välj alla"})};return h.jsx(Dx,{className:oa.checkboxGroup,...a,children:h.jsx(Ru,{label:e,description:t,errorMessage:u,children:h.jsxs(ir,{className:oa.wrap,children:[n&&h.jsx(s,{}),r]})})})},a9='"../theme/tokens.css"',i9="_input_v2axx_4",l9="_combobox_v2axx_44",o9="_text_v2axx_60",s9="_wrap_v2axx_65",d9="_button_v2axx_70",c9="_icon_v2axx_96",f9="_popover_v2axx_102",p9="_fieldError_v2axx_110",m9="_listBoxItem_v2axx_121",xu={tokens:a9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--layer-02":"light-dark(#ffffff, #383838)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--border-invalid":"light-dark(#e62323, #e62323)","--text-invalid":"light-dark(#e62323, #e62323)",input:i9,combobox:l9,text:o9,wrap:s9,button:d9,icon:c9,popover:f9,fieldError:p9,listBoxItem:m9};function b9({label:e,description:t,errorMessage:u,children:n,items:r,className:a,...i}){const l=o.useRef(null);return h.jsxs(Lx,{className:W(xu.combobox,a),ref:l,...i,children:[h.jsx(Ru,{label:e,description:t,errorMessage:u,children:h.jsxs("div",{className:xu.wrap,children:[h.jsx(ka,{className:xu.input}),h.jsx(Ut,{className:xu.button,"aria-label":"Visa lista",children:h.jsx("div",{className:xu.icon,"aria-hidden":"true",children:h.jsx(la,{size:20,"aria-hidden":!0})})})]})}),h.jsx(Ra,{className:xu.popover,offset:0,UNSTABLE_portalContainer:l.current||void 0,children:h.jsx(xx,{items:r,children:n})})]})}function h9(e){return h.jsx(Bx,{className:xu.listBoxItem,...e})}const $9='"../theme/tokens.css"',g9="_datePicker_3nooy_4",D9="_inputField_3nooy_16",v9="_buttonInvalid_3nooy_32",y9="_date_3nooy_4",x9="_divider_3nooy_103",C9="_segment_3nooy_107",E9="_label_3nooy_128",B9="_description_3nooy_134",k9="_fieldError_3nooy_140",Be={tokens:$9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-invalid":"light-dark(#e62323, #e62323)","--border-strong":"light-dark(#171717, #f2f2f2)","--border-invalid":"light-dark(#e62323, #e62323)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px white, 0 0 0 4px black","--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--border-brand":"light-dark(#143c50, #143c50)","--button-background-primary":"light-dark(#143c50, #2e7ca5)",datePicker:g9,inputField:D9,buttonInvalid:v9,date:y9,divider:x9,segment:C9,label:E9,description:B9,fieldError:k9},P9='"../theme/tokens.css"',S9="_calendar_iadkf_4",A9="_day_iadkf_22",w9="_header_iadkf_56",F9="_heading_iadkf_81",T9="_today_iadkf_113",at={tokens:P9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-on-color":"light-dark(#ffffff, #ffffff)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px white, 0 0 0 4px black",calendar:S9,day:A9,header:w9,heading:F9,today:T9};function v$({errorMessage:e,weekdayStyle:t="short",className:u,...n}){return h.jsxs(dx,{...n,className:W(at.calendar,u),children:[h.jsxs("header",{className:at.header,children:[h.jsx(Ut,{slot:"previous",children:h.jsx(oo,{})}),h.jsx(Ma,{className:at.heading}),h.jsx(Ut,{slot:"next",children:h.jsx(so,{})})]}),h.jsx(p5,{className:at.calendar,weekdayStyle:t,children:r=>h.jsx(m5,{date:r,className:W(at.day,hl(r,Xn())&&at.today)})}),e&&h.jsx(St,{slot:"errorMessage",children:e})]})}function y$({errorMessage:e,weekdayStyle:t="short",className:u,...n}){return h.jsxs(cx,{...n,className:W(at.calendar,u),children:[h.jsxs("header",{className:at.header,children:[h.jsx(Ut,{slot:"previous",children:h.jsx(oo,{})}),h.jsx(Ma,{className:at.heading}),h.jsx(Ut,{slot:"next",children:h.jsx(so,{})})]}),h.jsx(p5,{className:at.calendar,weekdayStyle:t,children:r=>h.jsx(m5,{date:r,className:W(at.day,hl(r,Xn())&&at.today)})}),e&&h.jsx(St,{slot:"errorMessage",children:e})]})}const R9=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return h.jsxs(Jx,{...n,className:W(Be.datePicker,n.className),ref:r,children:[h.jsx(sn,{className:Be.label,children:e}),t&&h.jsx(St,{slot:"description",className:Be.description,children:t}),h.jsx(rr,{className:Be.fieldError,children:u}),h.jsxs(ir,{className:W(Be.inputField),children:[h.jsx(aa,{slot:"start",className:Be.date,children:a=>h.jsx(ia,{className:Be.segment,segment:a})}),h.jsx("span",{"aria-hidden":"true",className:Be.divider,children:"-"}),h.jsx(aa,{slot:"end",className:Be.date,children:a=>h.jsx(ia,{segment:a,className:Be.segment})}),h.jsx(Ut,{className:W(n.isInvalid&&Be.buttonInvalid),isDisabled:n.isDisabled,children:h.jsx(p$,{size:20,"aria-hidden":!0})})]}),h.jsx(Ra,{UNSTABLE_portalContainer:r.current||void 0,children:h.jsx(ro,{className:Be.dialog,children:h.jsx(y$,{})})})]})},I9=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return h.jsxs(Yx,{...n,className:W(Be.datePicker,n.className),ref:r,children:[h.jsx(sn,{className:Be.label,children:e}),t&&h.jsx(St,{slot:"description",className:Be.description,children:t}),h.jsx(rr,{className:Be.fieldError,children:u}),h.jsxs(ir,{className:W(Be.inputField),children:[h.jsx(aa,{className:Be.date,children:a=>h.jsx(ia,{segment:a,className:Be.segment})}),h.jsx(Ut,{className:W(n.isInvalid&&Be.buttonInvalid),children:h.jsx(p$,{size:20,"aria-hidden":!0})})]}),h.jsx(Ra,{UNSTABLE_portalContainer:r.current||void 0,children:h.jsx(ro,{className:Be.dialog,children:h.jsx(v$,{})})})]})},K9='"../theme/tokens.css"',M9="_dropDownMenu_1rzf1_4",z9="_menuItem_1rzf1_15",x$={tokens:K9,"--font-family":'"Inter", sans-serif',"--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)",dropDownMenu:M9,menuItem:z9};function C$({label:e,title:t,children:u,...n}){return h.jsxs(Tx,{...n,children:[h.jsxs(ze,{"aria-label":e||n["aria-label"],variant:"icon",children:[t,h.jsx(mC,{size:20,"aria-hidden":!0})]}),h.jsx(Ra,{children:h.jsx(Ix,{...n,className:x$.dropDownMenu,children:u})})]})}function E$(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return h.jsx(Nx,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>W(x$.menuItem,e.className,u&&"focused",n&&"open"),children:({hasSubmenu:u})=>h.jsxs(h.Fragment,{children:[e.children,u&&h.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:h.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}const N9='"../theme/tokens.css"',V9="_box_13zoz_4",_9="_list_13zoz_28",j9="_container_13zoz_38",L9="_label_13zoz_45",O9="_text_13zoz_51",H9="_dropzone_13zoz_57",U9="_input_13zoz_71",Wu={tokens:N9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--background-01":"light-dark(#ffffff, #171717)","--background-hover-01":"light-dark(#e6e6e6, #212121)","--border-subtle":"light-dark(#bfbfbf, #383838)",box:V9,list:_9,container:j9,label:L9,text:O9,dropzone:H9,input:U9},W9=({allowsMultiple:e,label:t,description:u,dropzone:n,...r})=>{const[a,i]=ce.useState(null),l=d=>{i(d!==null?Array.from(d):[])},s=async d=>{const c=d.items.filter(p=>p.kind==="file").map(p=>p.getFile()),f=await Promise.all(c);i(f)};return n?h.jsxs("div",{className:Wu.container,children:[h.jsx(a7,{onDrop:s,className:Wu.dropzone,children:h.jsx(St,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),a&&h.jsx(Us,{files:a,setFiles:i})]}):h.jsxs("div",{className:Wu.container,children:[h.jsx(Ru,{label:t,description:u,children:h.jsx(i7,{allowsMultiple:e,onSelect:d=>l(d),...r,children:h.jsx(ze,{variant:"secondary","aria-labelledby":"fileUpload",className:Wu.input,children:e?"Välj filer":"Välj fil"})})}),a&&h.jsx(Us,{files:a,setFiles:i})]})},Us=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((r,a)=>a!==n))};return h.jsx("ul",{className:Wu.list,children:e.map((n,r)=>h.jsxs("li",{className:Wu.box,children:[h.jsx("span",{children:n.name}),h.jsx(ze,{variant:"icon",size:"small",onPress:()=>u(r),children:h.jsx(Jt,{size:20,"aria-hidden":!0})})]},r))})},Z9='"../theme/tokens.css"',G9="_container_17raf_4",q9="_flex_17raf_16",Y9="_fluid_17raf_54",J9="_col_17raf_60",Xu={tokens:Z9,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:G9,flex:q9,fluid:Y9,col:J9,"col-1":"_col-1_17raf_64","col-2":"_col-2_17raf_65","col-3":"_col-3_17raf_66","col-4":"_col-4_17raf_67","col-5":"_col-5_17raf_68","col-6":"_col-6_17raf_69","col-7":"_col-7_17raf_70","col-8":"_col-8_17raf_71","col-9":"_col-9_17raf_72","col-10":"_col-10_17raf_73","col-11":"_col-11_17raf_74","col-12":"_col-12_17raf_75","col-auto":"_col-auto_17raf_76","offset-1":"_offset-1_17raf_130","offset-2":"_offset-2_17raf_134","offset-3":"_offset-3_17raf_138","offset-4":"_offset-4_17raf_142","offset-5":"_offset-5_17raf_146","offset-6":"_offset-6_17raf_150","offset-7":"_offset-7_17raf_154","offset-8":"_offset-8_17raf_158","offset-9":"_offset-9_17raf_162","offset-10":"_offset-10_17raf_166","offset-11":"_offset-11_17raf_170"},Q9=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:W(Xu.container,t&&Xu.fluid,u.className),...u,children:h.jsx("div",{className:Xu.flex,children:e})}),B$=({children:e,col:t,offset:u,...n})=>{const r=t?`col-${t}`:"",a=u?`offset-${u}`:"";return h.jsx("div",{className:W(Xu.col,Xu[r],Xu[a],n.className),...n,children:e})},X9='"../theme/tokens.css"',eE="_container_162ou_4",tE="_grid_162ou_16",uE="_fluid_162ou_45",nE="_col_162ou_52",wn={tokens:X9,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:eE,grid:tE,fluid:uE,col:nE,"col-1":"_col-1_162ou_58","col-2":"_col-2_162ou_62","col-3":"_col-3_162ou_66","col-4":"_col-4_162ou_70","col-5":"_col-5_162ou_74","col-6":"_col-6_162ou_78","col-7":"_col-7_162ou_82","col-8":"_col-8_162ou_86","col-9":"_col-9_162ou_90","col-10":"_col-10_162ou_94","col-11":"_col-11_162ou_98","col-12":"_col-12_162ou_102","offset-1":"_offset-1_162ou_106","offset-2":"_offset-2_162ou_110","offset-3":"_offset-3_162ou_114","offset-4":"_offset-4_162ou_118","offset-5":"_offset-5_162ou_122","offset-6":"_offset-6_162ou_126","offset-7":"_offset-7_162ou_130","offset-8":"_offset-8_162ou_134","offset-9":"_offset-9_162ou_138","offset-10":"_offset-10_162ou_142","offset-11":"_offset-11_162ou_146"},rE=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:W(wn.container,t&&wn.fluid,u.className),...u,children:h.jsx("div",{className:wn.grid,children:e})}),aE=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return h.jsx("div",{className:W(wn.col,wn[n],u.className),...u,children:e})},iE='"../theme/tokens.css"',lE="_infoBanner_itrpd_4",oE="_success_itrpd_14",sE="_info_itrpd_4",dE="_important_itrpd_24",cE="_warning_itrpd_29",fE="_content_itrpd_38",pE="_heading_itrpd_44",mE="_text_itrpd_49",bE="_icon_itrpd_54",hE="_dismissable_itrpd_59",vu={tokens:iE,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--notification-border-success":"light-dark(#008d3c, #008d3c)","--notification-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--notification-border-info":"light-dark(#0066cc, #0066cc)","--notification-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--notification-border-warning":"light-dark(#e62323, #e62323)","--notification-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--notification-border-important":"light-dark(#fdb813, #fdb813)","--notification-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",infoBanner:lE,success:oE,info:sE,important:dE,warning:cE,content:fE,heading:pE,text:mE,icon:bE,dismissable:hE},$E={success:b$,info:h$,important:m$,warning:$$},gE=({title:e,message:t,type:u,children:n,dismissable:r=!1,...a})=>{const i=$E[u],[l,s]=ce.useState(!0);return l?h.jsxs("div",{className:W(vu.infoBanner,vu[u],a.className),...a,children:[h.jsx(i,{size:20,"aria-hidden":!0,className:vu.icon}),h.jsxs("div",{className:vu.content,children:[e&&h.jsx("strong",{className:vu.heading,children:e}),h.jsxs("div",{className:vu.text,children:[t,n]})]}),r&&h.jsx("div",{className:vu.dismissable,children:h.jsx(ze,{variant:"icon","aria-label":"Stäng",onPress:()=>s(!1),children:h.jsx(Jt,{size:20})})})]}):null},DE='"../theme/tokens.css"',vE="_baseLayout_15cfk_4",yE="_mainContent_15cfk_13",xE="_header_15cfk_18",CE="_headerContent_15cfk_35",EE="_headerItems_15cfk_54",BE="_logo_15cfk_55",kE="_headerMenu_15cfk_68",PE="_toggleButton_15cfk_76",SE="_sidebar_15cfk_84",AE="_main_15cfk_13",wE="_app_15cfk_121",FE="_sidebarOpened_15cfk_130",TE="_sidebarHeader_15cfk_134",RE="_appName_15cfk_146",IE="_collapseButton_15cfk_153",KE="_sidebarCollapsed_15cfk_162",ME="_userName_15cfk_172",zE="_abbr_15cfk_185",NE="_userTitle_15cfk_191",VE="_title_15cfk_203",_E="_sidebarNav_15cfk_214",jE="_list_15cfk_220",LE="_listGroupTitle_15cfk_227",OE="_listItem_15cfk_234",HE="_listItemCollapsed_15cfk_238",UE="_listLink_15cfk_242",WE="_listLinkCollapsed_15cfk_287",ZE="_active_15cfk_292",GE="_linkText_15cfk_297",qE="_backdrop_15cfk_304",YE="_backdropOpened_15cfk_314",JE="_skipToContent_15cfk_332",te={tokens:DE,"--font-family":'"Inter", sans-serif',"--breakpoint-md":"(min-width: 768px)","--background-01":"light-dark(#ffffff, #171717)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-secondary":"light-dark(#525252, #a6a6a6)","--icon-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black",baseLayout:vE,mainContent:yE,header:xE,headerContent:CE,headerItems:EE,logo:BE,headerMenu:kE,toggleButton:PE,sidebar:SE,main:AE,app:wE,sidebarOpened:FE,sidebarHeader:TE,appName:RE,collapseButton:IE,sidebarCollapsed:KE,userName:ME,abbr:zE,userTitle:NE,title:VE,sidebarNav:_E,list:jE,listGroupTitle:LE,listItem:OE,listItemCollapsed:HE,listLink:UE,listLinkCollapsed:WE,active:ZE,linkText:GE,backdrop:qE,backdropOpened:YE,skipToContent:JE},QE='"../theme/tokens.css"',XE="_tooltip_1sccn_4",e8="_arrow_1sccn_17",Ws={tokens:QE,"--font-family":'"Inter", sans-serif',"--background-inverse-01":"light-dark(#171717, #f2f2f2)","--text-inverse":"light-dark(#f2f2f2, #171717)",tooltip:XE,arrow:e8};function k$({children:e,placement:t,className:u,...n}){return h.jsxs(O7,{className:W(Ws.tooltip,u),placement:t,...n,children:[h.jsx(Ax,{className:Ws.arrow,children:h.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:h.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),e]})}function P$({children:e,delay:t=0,...u}){return h.jsx(L7,{delay:t,...u,children:e})}const S$=ce.createContext(void 0),t8=({items:e,title:t,user:u,app:n,children:r,clientSideRouter:a,clientSideHref:i,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f})=>h.jsx(S$.Provider,{value:{items:e,title:t,user:u,app:n,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,clientSideRouter:a,clientSideHref:i},children:r}),Va=()=>{const e=ce.useContext(S$);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e},fo=({title:e,href:t,icon:u,active:n})=>{const{isCollapsed:r,setIsOpened:a}=Va(),[i,l]=ce.useState(!1);return ce.useEffect(()=>{typeof window<"u"&&l(n??window.location.pathname===t)},[n,t]),r?h.jsxs(P$,{children:[h.jsx(ea,{href:t,"aria-label":e,className:W(te.listLink,te.listLinkCollapsed,i&&te.active),onPress:()=>a(!1),children:h.jsx(u,{size:20,"aria-label":e})}),h.jsx(k$,{placement:"right",children:e})]}):h.jsxs(ea,{href:t,"aria-label":e,className:W(te.listLink,i&&te.active),onPress:()=>a(!1),children:[h.jsx(u,{size:20}),e]})},A$=()=>{const{items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:r,setIsOpened:a,clientSideRouter:i,clientSideHref:l}=Va(),s=({group:d})=>h.jsx("ul",{className:te.list,children:d.items.map((c,f)=>h.jsx("li",{className:W(te.listItem,n&&te.listItemCollapsed),children:h.jsx(fo,{...c})},"link_"+f))});return ce.useEffect(()=>{const d=c=>{c.key==="Escape"&&a(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[a]),h.jsxs("aside",{id:"midasMainMenu",className:W(te.sidebar,n&&te.sidebarCollapsed,u&&te.sidebarOpened),children:[h.jsxs("div",{className:te.sidebarHeader,children:[!n&&h.jsx("p",{className:te.appName,children:t.name}),h.jsx(ze,{variant:"icon","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>r(!n),className:te.collapseButton,children:n?h.jsx(DC,{size:20}):h.jsx(gC,{size:20})})]}),h.jsx("nav",{className:te.sidebarNav,children:h.jsx("ul",{className:te.list,children:e.map((d,c)=>h.jsxs("li",{children:[d.title&&!n&&h.jsx("p",{className:te.listGroupTitle,children:d.title}),i?h.jsx(td,{navigate:i,useHref:l,children:h.jsx(s,{group:d})}):h.jsx(s,{group:d})]},"list_"+c))})})]})},u8='"../theme/tokens.css"',n8="_container_99qba_4",r8="_noPadding_99qba_9",a8="_logo_99qba_13",i8="_primary_99qba_18",l8="_dark_99qba_22",o8="_xSmall_99qba_26",s8="_small_99qba_30",d8="_large_99qba_34",It={tokens:u8,"--logo-primary":"light-dark(#b90835, #ffffff)","--background-inverse-01":"light-dark(#171717, #f2f2f2)",container:n8,noPadding:r8,logo:a8,primary:i8,dark:l8,xSmall:o8,small:s8,large:d8},w$=({primary:e=!0,size:t="medium",padding:u=!0,className:n,...r})=>{const a=W(It.logo,e?It.primary:It.dark,t==="x-small"&&It.xSmall,t==="medium"&&It.medium,t==="large"&&It.large,t==="small"&&It.small),i=()=>t==="x-small"?h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:a,role:"img","aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:h.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):h.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:a,"aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:[h.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),h.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),h.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),h.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),h.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),h.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),h.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),h.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),h.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),h.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),h.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),h.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return h.jsx("div",{className:W(It.container,u===!1&&It.noPadding,n),...r,children:h.jsx(i,{})})},F$=()=>{const{title:e,user:t,app:u,isOpened:n,setIsOpened:r,setIsCollapsed:a,headerChildren:i}=Va();return h.jsxs("header",{className:te.header,style:{borderTop:`solid 4px ${u.color?u.color:H$.semantic.brandPrimary}`},children:[h.jsxs("div",{className:te.headerContent,children:[h.jsx("div",{className:te.logo,children:h.jsx(w$,{size:"small",padding:!1})}),h.jsx(ze,{variant:"icon",className:te.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{a(!1),r(!0)},children:n?h.jsx(Jt,{size:20,"aria-hidden":"true"}):h.jsx($C,{size:20,"aria-hidden":"true"})}),h.jsxs("div",{children:[h.jsx("p",{className:te.userName,children:t.name}),h.jsx("p",{className:te.userTitle,children:t.title}),h.jsx("p",{className:te.title,children:e})]})]}),i&&h.jsxs(h.Fragment,{children:[h.jsx("div",{className:te.headerItems,children:i}),h.jsx("div",{className:te.headerMenu,children:h.jsx(C$,{label:"Öppna meny",children:ce.Children.map(i,l=>h.jsx(E$,{children:l}))})})]})]})},c8=({id:e="#main:first-of-type"})=>{const t=()=>{const u=document.querySelector(e);u&&(u.tabIndex=-1,u.focus(),setTimeout(()=>u.removeAttribute("tabindex"),1e3))};return h.jsx(ze,{onPress:t,className:te.skipToContent,children:"Hoppa till huvudinnehåll"})},f8=()=>{const{isOpened:e,setIsOpened:t}=Va();return e?h.jsx("div",{className:W(te.backdrop,te.backdropOpened),onClick:()=>{t(!1)},"aria-hidden":!0}):null},au=({items:e,title:t,user:u,app:n,children:r,headerChildren:a,clientSideRouter:i,clientSideHref:l})=>{const[s,d]=ce.useState(!1),[c,f]=ce.useState(!1);return h.jsx(au.Provider,{items:e,title:t,user:u,app:n,clientSideRouter:i,clientSideHref:l,headerChildren:a,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,children:h.jsxs("div",{className:te.baseLayout,children:[h.jsx(c8,{}),h.jsx(au.Header,{}),h.jsxs("div",{className:te.mainContent,children:[h.jsx(au.Sidebar,{}),h.jsx(B$,{children:h.jsx("main",{className:te.main,children:h.jsx("div",{className:te.app,children:r})})}),h.jsx(f8,{})]})]})})};au.Provider=t8;au.Header=F$;au.Sidebar=A$;au.SidebarLink=fo;const p8='"../theme/tokens.css"',m8="_linkButton_1nc5w_4",b8="_secondary_1nc5w_47",h8="_icon_1nc5w_52",$8="_tertiary_1nc5w_70",g8="_danger_1nc5w_85",D8="_iconBtn_1nc5w_100",v8="_iconLeft_1nc5w_121",y8="_fullwidth_1nc5w_125",x8="_button_1nc5w_130",Xe={tokens:p8,"--font-family":'"Inter", sans-serif',"--size-03":"1rem","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-brand":"light-dark(#143c50, #f2f2f2)","--border-brand":"light-dark(#143c50, #143c50)","--button-background-secondary":"light-dark(#ffffff, #171717)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#b31b1b, #b31b1b)","--button-background-danger-active":"light-dark(#801313, #801313)","--white":"#ffffff","--icon-secondary":"light-dark(#143c50, #2e7ca5)","--button-background-icon-hover":"light-dark(rgba(0 0 0 / 10%), rgba(255 255 255 / 10%))",linkButton:m8,secondary:b8,icon:h8,tertiary:$8,danger:g8,iconBtn:D8,iconLeft:v8,fullwidth:y8,button:x8},C8=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:r,className:a,as:i,...l})=>{const s=i||ea,d=()=>n?h.jsx(n,{size:20,className:Xe.icon}):l.target==="_blank"?h.jsx(yC,{size:20,className:Xe.icon}):r==="left"?h.jsx(oo,{size:20,className:Xe.icon}):h.jsx(so,{size:20,className:Xe.icon});return h.jsxs(s,{className:W(Xe.linkButton,t==="primary"&&Xe.primary,t==="secondary"&&Xe.secondary,t==="tertiary"&&Xe.tertiary,t==="danger"&&Xe.danger,t==="icon"&&Xe.iconBtn,u&&Xe.fullwidth,r==="left"&&Xe.iconLeft,a),...l,children:[e,h.jsx(d,{})]})},E8='"../theme/tokens.css"',B8="_modal_1kuuy_4",k8="_overlay_1kuuy_26",P8="_modalHeader_1kuuy_47",S8="_modalBody_1kuuy_56",A8="_modalHeading_1kuuy_62",ht={tokens:E8,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--background-01":"light-dark(#ffffff, #171717)","--text-primary":"light-dark(#171717, #f2f2f2)",modal:B8,"modal-zoom":"_modal-zoom_1kuuy_1",overlay:k8,"modal-fade":"_modal-fade_1kuuy_1",modalHeader:P8,modalBody:S8,modalHeading:A8},w8='"../theme/tokens.css"',F8="_h1_1eh26_4",T8="_h2_1eh26_5",R8="_h3_1eh26_6",I8="_h4_1eh26_7",K8="_h5_1eh26_8",M8="_h6_1eh26_9",Nu={tokens:w8,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--size-03":"1rem","--size-04":"1.125rem","--size-05":"1.25rem","--size-06":"1.5rem","--size-07":"1.75rem","--size-09":"2.25rem","--line-height-04":"1.375rem","--line-height-05":"1.5rem","--line-height-06":"1.75rem","--line-height-07":"2rem","--line-height-08":"2.25rem","--line-height-09":"2.5rem","--line-height-10":"2.75rem",h1:F8,h2:T8,h3:R8,h4:I8,h5:K8,h6:M8},T$=({children:e,className:t,isExpressive:u=!1,level:n=3,elementType:r,...a})=>{const i=r&&parseInt(r.split("h")[1]);return h.jsx(Ma,{level:i||n,className:W([Nu.h1,Nu.h2,Nu.h3,Nu.h4,Nu.h5,Nu.h6][n-1],t),...u&&{"data-expressive":!0},...a,children:e})},z8=({title:e,children:t,...u})=>{const n=ce.useRef(null),{dialogProps:r,titleProps:a}=i1(u,n);return h.jsxs("div",{...r,ref:n,className:ht.modalBody,"aria-modal":!0,children:[e&&h.jsx("h2",{...a,className:W(ht.modalHeading,a.className),children:e}),t]})},N8=({state:e,children:t,...u})=>{const n=ce.useRef(null),{modalProps:r,underlayProps:a}=Tf(u,e,n);return h.jsx(qr,{children:h.jsx("div",{...a,className:W(ht.overlay,a.className),children:h.jsx("div",{...r,className:W(ht.modal,r.className),ref:n,children:t})})})},V8=({label:e,children:t,...u})=>{const n=mu(u),{triggerProps:r,overlayProps:a}=Nl({type:"dialog"},n);return h.jsxs(h.Fragment,{children:[h.jsx(ze,{...r,children:e}),n.isOpen&&h.jsxs(N8,{...u,state:n,children:[h.jsx("div",{className:ht.modalHeader,children:h.jsx(ze,{onPress:n.close,variant:"tertiary",icon:Jt,iconPlacement:"right",children:"Stäng"})}),ce.cloneElement(t(n.close),a)]})]})},_8=({children:e,title:t,...u})=>h.jsx(ro,{...u,children:h.jsx(r$,{...u,className:ht.overlay,children:h.jsx(an,{contain:!0,autoFocus:!0,restoreFocus:!0,children:h.jsxs(o7,{...u,className:ht.modal,children:[h.jsx("div",{className:ht.modalHeader,children:h.jsx(ze,{slot:"close",variant:"tertiary",icon:Jt,iconPlacement:"right",children:"Stäng"})}),h.jsxs("div",{className:ht.modalBody,children:[t&&h.jsx(T$,{level:2,className:ht.modalHeading,children:t}),e]})]})})})}),j8='"../theme/tokens.css"',L8="_radioGroup_cbfdn_4",O8="_wrap_cbfdn_16",H8="_radio_cbfdn_4",Qi={tokens:j8,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--size-03":"1rem","--text-primary":"light-dark(#171717, #f2f2f2)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--fast-transition":"250ms","--border-disabled":"light-dark(#bfbfbf, #525252)","--icon-secondary":"light-dark(#143c50, #2e7ca5)","--border-medium":"light-dark(#737373, #8c8c8c)","--border-subtle":"light-dark(#bfbfbf, #383838)","--breakpoint-sm":"(max-width: 767px)","--field-hover-02":"light-dark(#e6e6e6, #474747)","--border-invalid":"light-dark(#e62323, #e62323)",radioGroup:L8,wrap:O8,radio:H8},U8=({label:e,description:t,errorMessage:u,children:n,className:r,...a})=>h.jsx(p7,{...a,className:W(Qi.radioGroup,r),children:h.jsx(Ru,{label:e,description:t,errorMessage:u,children:h.jsx(ir,{className:Qi.wrap,children:n})})}),W8=e=>h.jsx(m7,{className:Qi.radio,...e}),Z8='"../theme/tokens.css"',G8="_fieldError_ummdk_4",q8="_container_ummdk_33",Y8="_inputContainer_ummdk_44",J8="_icon_ummdk_51",Q8="_clear_ummdk_60",X8="_input_ummdk_44",Vu={tokens:Z8,"--font-family":'"Inter", sans-serif',"--text-invalid":"light-dark(#e62323, #e62323)","--field-01":"light-dark(#f2f2f2, #262626)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--border-invalid":"light-dark(#e62323, #e62323)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)",fieldError:G8,container:q8,inputContainer:Y8,icon:J8,clear:Q8,input:X8};function eB(e){return!!(e!=null&&e.length)}const tB=e=>{const{value:t,setValue:u}=Wy(e),n=ce.useRef(null),{inputProps:r,errorMessageProps:a,isInvalid:i,validationErrors:l,clearButtonProps:s}=Wv({...e,label:e.placeholder,validationBehavior:"native"},{value:t,setValue:u},n),d=({target:m})=>u(m.value),c=()=>u(""),f=()=>{var b;if(e.validate&&eB(e.validate(t))||i||!t){(b=n.current)==null||b.focus();return}e.onSubmit&&e.onSubmit(t)},p=({key:m})=>{m==="Enter"&&f()};return h.jsxs("div",{children:[i&&h.jsx("div",{...a,className:Vu.fieldError,children:e.errorMessage??l.join(" ")}),h.jsxs("div",{className:Vu.container,"data-disabled":r.disabled,children:[h.jsxs("div",{className:Vu.inputContainer,children:[h.jsx(vC,{size:20,className:Vu.icon}),h.jsx("input",{...r,...r.disabled&&{"data-disabled":!0},className:W(Ue.input,Vu.input,r.className),ref:n,onChange:d,value:t,"aria-invalid":i,onKeyDown:p,"aria-label":e.placeholder,"aria-labelledby":""}),t.length>0&&h.jsx(ze,{variant:"icon",size:"small",className:Vu.clear,onPress:c,...s,children:h.jsx(Jt,{size:20,"aria-hidden":!0})})]}),h.jsx(ze,{isDisabled:e.isDisabled,excludeFromTabOrder:!0,onPress:f,type:"button",children:e.buttonText?e.buttonText:"Sök"})]})]})},uB='"../theme/tokens.css"',nB="_selectAllButton_d3qr3_11",rB="_selectLabel_d3qr3_17",aB="_selectLabelDisabled_d3qr3_25",iB="_button_d3qr3_29",lB="_buttonOpen_d3qr3_71",oB="_icon_d3qr3_72",sB="_buttonDisabled_d3qr3_77",dB="_multiSelect_d3qr3_86",cB="_description_d3qr3_106",fB="_descriptionInvalid_d3qr3_116",pB="_descriptionDisabled_d3qr3_120",mB="_popover_d3qr3_124",bB="_listBox_d3qr3_151",hB="_listBoxItem_d3qr3_158",$B="_listBoxItemSelected_d3qr3_185",gB="_listBoxItemDisabled_d3qr3_193",DB="_listBoxItemFocused_d3qr3_203",vB="_listBoxItemFocusVisible_d3qr3_207",yB="_listBoxItemCheckmark_d3qr3_212",xB="_selectContainer_d3qr3_217",CB="_selectValueTag_d3qr3_223",EB="_selectValueTagDisabled_d3qr3_240",BB="_truncate_d3qr3_247",kB="_clearButton_d3qr3_253",PB="_fieldError_d3qr3_280",SB="_checkboxContainer_d3qr3_304",AB="_checkbox_d3qr3_304",J={tokens:uB,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--border-strong":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--layer-02":"light-dark(#ffffff, #383838)","--border-invalid":"light-dark(#e62323, #e62323)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--layer-selected-hover-02":"light-dark(#cccccc, #5d5d5d)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-invalid":"light-dark(#e62323, #e62323)",selectAllButton:nB,selectLabel:rB,selectLabelDisabled:aB,button:iB,buttonOpen:lB,icon:oB,buttonDisabled:sB,multiSelect:dB,description:cB,descriptionInvalid:fB,descriptionDisabled:pB,popover:mB,listBox:bB,listBoxItem:hB,listBoxItemSelected:$B,listBoxItemDisabled:gB,listBoxItemFocused:DB,listBoxItemFocusVisible:vB,listBoxItemCheckmark:yB,selectContainer:xB,selectValueTag:CB,selectValueTagDisabled:EB,truncate:BB,clearButton:kB,fieldError:PB,checkboxContainer:SB,checkbox:AB},R$=({item:e,state:t})=>{const u=ce.useRef(null),{optionProps:n,isDisabled:r,isSelected:a,isFocused:i,isFocusVisible:l}=Vf({key:e.key},t,u);return h.jsxs("li",{...n,ref:u,className:W(J.listBoxItem,{[J.listBoxItemDisabled]:r,[J.listBoxItemFocused]:i,[J.listBoxItemFocusVisible]:l,[J.listBoxItemSelected]:a}),children:[t.selectionMode==="multiple"&&h.jsx("div",{className:J.checkboxContainer,children:h.jsx("input",{className:J.checkbox,type:"checkbox",disabled:r,checked:a,readOnly:!0})}),typeof e.rendered=="string"?h.jsx("span",{className:"truncate block",children:e.rendered}):e.rendered,a&&t.selectionMode==="single"?h.jsx(pC,{size:20,className:J.listBoxItemCheckmark}):null]})},wB=({section:e,state:t})=>{const{itemProps:u,headingProps:n,groupProps:r}=_f({heading:e.rendered,"aria-label":e["aria-label"]});return h.jsxs("li",{...u,className:"",children:[e.rendered&&h.jsx("span",{...n,className:J.selectSectionHeading,children:e.rendered}),h.jsx("ul",{...r,children:Array.from(e.childNodes).map(a=>h.jsx(R$,{item:a,state:t},a.key))})]})},FB=e=>{const t=ce.useRef(null),{listBoxRef:u=t,state:n}=e,{listBoxProps:r}=Mf({...e,disallowEmptySelection:!0},n,u);return h.jsx("ul",{...r,className:J.listBox,ref:u,children:Array.from(n.collection).map(a=>a.type==="section"?h.jsx(wB,{section:a,state:n},a.key):h.jsx(R$,{item:a,state:n},a.key))})},TB=({isOpen:e,onClose:t,children:u,className:n,triggerRef:r})=>{const a=ce.useRef(null),{overlayProps:i}=zl({isOpen:e,onClose:t,isDismissable:!0,shouldCloseOnBlur:!0},a),{overlayProps:l,updatePosition:s}=Ml({isOpen:e,offset:0,crossOffset:0,containerPadding:0,overlayRef:a,targetRef:r,placement:"bottom start"});ce.useLayoutEffect(()=>{e&&requestAnimationFrame(()=>{s()})},[e,s]);const d={...l.style,"--select-width":r.current?`${r.current.offsetWidth}px`:void 0};return h.jsx(Z3,{children:h.jsx("div",{..._(i,l),ref:a,className:n,style:d,children:h.jsxs(an,{restoreFocus:!0,children:[h.jsx(Un,{onDismiss:t}),u,h.jsx(Un,{onDismiss:t})]})})})};function RB(e,t,u){const{disallowEmptySelection:n,isDisabled:r}=e,a=rn({usage:"search",sensitivity:"base"}),i=o.useMemo(()=>new on(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=Ol({isDisabled:r,type:"listbox"},t,u),d=$=>{const{selectedKeys:D,selectionMode:y}=t,x=D.values().next().value;if(y==="single")switch($.key){case"ArrowLeft":{$.preventDefault();const C=D.size>0?i.getKeyAbove(x):i.getFirstKey();C&&t.setSelectedKeys([C]);break}case"ArrowRight":{$.preventDefault();const C=D.size>0?i.getKeyBelow(x):i.getFirstKey();C&&t.setSelectedKeys([C]);break}}},{typeSelectProps:c}=Kf({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKeys([$])}}),{labelProps:f,fieldProps:p}=pu({...e,labelElementType:"span"});c.onKeyDown=c.onKeyDownCapture,delete c.onKeyDownCapture;const m=H(e,{labelable:!0}),b=_(c,l,p),g=ue();return{labelProps:{...f,onClick:()=>{var $;e.isDisabled||(($=u.current)==null||$.focus(),$d("keyboard"))}},triggerProps:_(m,{...b,onKeyDown:ot(b.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,g].filter(Boolean).join(" "),onFocus($){t.isFocused||(e.onFocus&&e.onFocus($),t.setFocused(!0))},onBlur($){t.isOpen||(e.onBlur&&e.onBlur($),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...s,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:$=>{$.currentTarget.contains($.relatedTarget)||(e.onBlur&&e.onBlur($),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],b["aria-label"]&&!p["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function IB(e){const{collection:t,disabledKeys:u,selectionManager:n,selectionManager:{setSelectedKeys:r,selectedKeys:a,selectionMode:i}}=Pa(e),l=[],s=a.size!==0?Array.from(a).map(d=>{const c=t.getItem(d);return c||l.push(d),c}).filter(Boolean):null;return l.length&&console.warn(`Select: Keys "${l.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:u,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:r.bind(n),selectedItems:s}}function KB(e){var l;const{selectionMode:t}=e,[u,n]=o.useState(!1),r=Sa(e),a=IB({...e,onSelectionChange:s=>{const{onSelectionChange:d}=e;d!=null&&d(s==="all"?Array.from(a.collection.getKeys()):t==="single"?s.values().next().value:Array.from(s)),t==="single"&&r.close()}}),i=kt({...e,validationBehavior:"native",value:t==="single"?(l=a.selectedKeys.values().next().value)==null?void 0:l.toString():a.selectedKeys});return o.useEffect(()=>{t==="single"&&a.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},[a.selectedKeys.size,t,i]),{...a,...r,close(){r.close(),a.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},open(){a.collection.size!==0&&r.open()},toggle(s){a.collection.size!==0&&r.toggle(s)},isFocused:u,setFocused:n,...i}}const MB='"../theme/tokens.css"',zB="_button_1kxdx_4",NB="_tag_1kxdx_19",VB="_dismissable_1kxdx_38",_B="_tagText_1kxdx_46",jB="_tagList_1kxdx_51",kn={tokens:MB,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--field-active-01":"light-dark(#d9d9d9, #383838)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--icon-primary":"light-dark(#171717, #f2f2f2)",button:zB,tag:NB,dismissable:VB,tagText:_B,tagList:jB},I$=({children:e,...t})=>h.jsx(N7,{...t,children:h.jsx(d$,{className:kn.tagList,children:e})}),K$=({children:e,dismissable:t,className:u,...n})=>h.jsxs(j7,{className:W(kn.tag,t&&kn.dismissable,u),...n,children:[h.jsx("div",{className:kn.tagText,children:e}),t&&h.jsx(ze,{variant:"icon",size:"small",className:kn.button,slot:"remove",children:h.jsx(Jt,{size:20})})]});function LB(e){const t=(i,l)=>{let s;return(d,c)=>{clearTimeout(s),s=setTimeout(()=>{i(d,c)},l)}},[u,n]=o.useState(0),[r,a]=o.useState(0);return o.useEffect(()=>{if(!e)return;const i=new ResizeObserver(t(l=>{const{inlineSize:s,blockSize:d}=l[0].contentBoxSize[0];n(s),a(d)},500));return i.observe(e),()=>{i.disconnect()}},[e]),{width:u,height:r}}function OB({autoComplete:e,name:t,isDisabled:u,isRequired:n,selectRef:r},a,i){var s;const{visuallyHiddenProps:l}=ur();return qn(r,a.selectedKeys,a.setSelectedKeys),tr({validationBehavior:"native",focus:()=>{var d;return(d=i.current)==null?void 0:d.focus()}},a,r),{containerProps:{...l,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:e,disabled:u,required:n,name:t,value:a.selectionMode==="single"?(s=a.selectedKeys.values().next().value)==null?void 0:s.toString():Array.from(a.selectedKeys).map(d=>d.toString()),onChange:d=>a.setSelectedKeys(d.target.value)}}}function HB(e){var d;const{state:t,triggerRef:u,label:n,name:r,isDisabled:a}=e,i=o.useRef(null),{containerProps:l,selectProps:s}=OB({...e,selectRef:i},t,u);return t.collection.size<=300?h.jsx("div",{...l,"data-testid":"hidden-select-container",children:h.jsxs("label",{children:[n,h.jsxs("select",{...s,ref:i,multiple:t.selectionMode==="multiple",children:[h.jsx("option",{}),[...t.collection.getKeys()].map(c=>{const f=t.collection.getItem(c);return f&&f.type==="item"?h.jsx("option",{value:f.key,children:f.textValue},f.key):null})]})]})}):r?h.jsx("input",{type:"hidden",autoComplete:s.autoComplete,name:r,disabled:a,value:t.selectionMode==="single"?((d=t.selectedKeys.values().next().value)==null?void 0:d.toString())??"":Array.from(t.selectedKeys).map(c=>c.toString())??""}):null}const M$=ce.forwardRef(({selectionMode:e="single",...t},u)=>{var A;const n={selectionMode:e,...t},{autoFocus:r,className:a,excludeFromTabOrder:i,isClearable:l=!0,isDisabled:s,isSelectableAll:d,label:c,description:f,placeholder:p,showTags:m,errorMessage:b}=n,g=o.useRef(null),$=$e(u),D=!l,y=KB({...n,disallowEmptySelection:D}),{labelProps:x,triggerProps:C,valueProps:B,menuProps:P}=RB({...n,disallowEmptySelection:D},y,$),{buttonProps:T}=wl({...C,autoFocus:r,excludeFromTabOrder:i,isDisabled:s},$),v=y.isOpen||y.selectedItems,F=y.selectionManager.isSelectAll,S=!F&&!y.selectionManager.isEmpty,k=l&&y.selectedItems,M=d,E=()=>y.selectionManager.clearSelection(),V=()=>y.selectionManager.toggleSelectAll(),I=z=>y.selectionManager.toggleSelection(z),{width:w}=LB($.current),R=z=>h.jsxs("div",{className:W(J.selectValueTag,{[J.selectValueTagDisabled]:s}),children:[h.jsx("span",{className:J.truncate,style:{maxWidth:w-64},children:z.length>1?`${z.length} valda`:z[0].textValue}),h.jsx("button",{disabled:s,"aria-label":"Rensa alla",className:J.clearButton,onClick:()=>{var K;E(),(K=$==null?void 0:$.current)==null||K.focus()},children:h.jsx(Jt,{width:20,height:20})})]});return o.useEffect(()=>{g.current&&(g.current.indeterminate=S)},[S]),h.jsxs(h.Fragment,{children:[h.jsx(HB,{isDisabled:n.isDisabled,isRequired:n.isRequired,name:n.name,state:y,triggerRef:$,label:n.label+"-hidden"}),h.jsxs(Jl,{...n,className:W([J.multiSelect],{[J.multiSelectOpen]:y.isOpen},a),children:[h.jsxs("div",{className:J.multiSelect,children:[c&&h.jsx(sn,{...x,slot:"label",className:W(J.selectLabel,{[J.selectLabelActive]:v,[J.selectLabelDisabled]:s}),children:c}),f&&h.jsx("span",{className:W(J.description,{[J.descriptionDisabled]:s,[J.descriptionInvalid]:!!b}),slot:"description",children:f}),h.jsx(rr,{className:J.fieldError,children:b}),y.displayValidation.validationErrors.length?h.jsx("div",{className:J.fieldError,children:b||y.displayValidation.validationErrors.map(z=>h.jsx(ce.Fragment,{children:z},z))}):null,h.jsx(is,{focusRingClass:J.buttonFocused,autoFocus:r,children:h.jsxs("div",{className:J.selectContainer,children:[h.jsxs("button",{...T,..._,className:W(J.button,{[J.buttonOpen]:y.isOpen,[J.buttonActive]:y.selectedItems,[J.buttonDisabled]:s}),"data-invalid":y.displayValidation.validationErrors.length>0||y.displayValidation.isInvalid,type:"button",ref:$,children:[y.selectionMode==="multiple"&&!y.selectedItems?h.jsx("span",{children:p}):null,y.selectionMode!=="multiple"?h.jsx("span",{children:((A=y.selectedItems)==null?void 0:A.length)===1?y.selectedItems[0].textValue:p}):null,h.jsx("div",{className:J.icon,"aria-hidden":"true",children:h.jsx(la,{size:20})})]}),y.selectionMode==="multiple"&&y.selectedItems?h.jsx("span",{...B,children:R(y.selectedItems)}):null]})}),y.isOpen&&h.jsxs(TB,{isOpen:y.isOpen,onClose:y.close,className:J.popover,triggerRef:$,children:[M&&h.jsxs(h.Fragment,{children:[d&&h.jsx(is,{focusRingClass:J.listItemfocusRing,children:h.jsx("button",{type:"button",onClick:V,className:J.selectAllButton,children:h.jsxs("div",{className:J.listBoxItem,tabIndex:-1,children:[h.jsx("div",{className:J.checkboxContainer,children:h.jsx("input",{className:J.checkbox,type:"checkbox",checked:F,ref:g,readOnly:!0,tabIndex:-1})}),h.jsx("span",{children:"Select All"})]})})}),h.jsx("div",{className:"selectDivider"})]}),h.jsx(FB,{...P,state:y}),k&&!1]})]}),m&&y.selectedItems!==null&&h.jsx(I$,{"aria-label":"Selected Items",selectionBehavior:"toggle",onRemove:z=>I([...z][0]),..._,children:h.jsx(d$,{items:y.selectedItems,children:z=>h.jsx(K$,{textValue:z.textValue,id:z.key,dismissable:!0,isDisabled:s,children:z.textValue},z.key)})})]})]})}),z$=ce.forwardRef(({options:e,...t},u)=>h.jsx(M$,{...t,items:e,ref:u,children:n=>n.children?h.jsx(HD,{items:n.children,title:n.name,children:r=>h.jsx(gs,{textValue:r.textValue,children:r.name})},n.name):h.jsx(gs,{textValue:n.textValue,children:n.name})}));z$.displayName="Select";const UB='"../theme/tokens.css"',WB="_skeleton_9g8pz_14",ZB="_circle_9g8pz_24",GB="_wave_9g8pz_29",hi={tokens:UB,"--field-skeleton":"light-dark(#f2f2f2, #262626)","--background-inverse-01":"light-dark(#171717, #f2f2f2)",skeleton:WB,circle:ZB,wave:GB},qB=({variant:e="rectangular",width:t,height:u,animation:n="wave"})=>(e==="circle"&&u!==void 0&&console.warn("Height is not allowed when using circle, control size with width"),h.jsx("div",{className:W(hi.skeleton,hi[e],n&&hi[n]),style:{width:t,height:u}})),YB='"../theme/tokens.css"',JB="_container_32v8g_4",QB="_spinner_32v8g_8",XB="_rotating_32v8g_1",ek="_dark_32v8g_18",tk="_vsHidden_32v8g_22",yr={tokens:YB,"--icon-primary":"light-dark(#171717, #f2f2f2)","--icon-on-color":"light-dark(#ffffff, #ffffff)",container:JB,spinner:QB,rotating:XB,dark:ek,vsHidden:tk},uk=({small:e,dark:t})=>h.jsxs("div",{className:yr.container,role:"status",children:[h.jsx(hC,{className:W(yr.spinner,t&&yr.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),h.jsx("span",{className:yr.vsHidden,children:"Laddar, vänligen vänta."})]}),nk='"../theme/tokens.css"',rk="_cell_1nc0z_4",ak="_table_1nc0z_11",ik="_narrow_1nc0z_15",lk="_striped_1nc0z_30",ok="_row_1nc0z_30",sk="_tableHeader_1nc0z_53",dk="_column_1nc0z_58",Pu={tokens:nk,"--font-family":'"Inter", sans-serif',"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-accent-hover-01":"light-dark(#cccccc, #474747)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)",cell:rk,table:ak,narrow:ik,striped:lk,row:ok,tableHeader:sk,column:dk},ck=({narrow:e,striped:t,className:u,...n})=>{const r=W(Pu.table,e&&Pu.narrow,t&&Pu.striped,u);return h.jsx(g7,{className:r,...n})},fk=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:r}=o$();return h.jsxs(v7,{className:Pu.tableHeader,children:[r&&h.jsx(Xi,{}),u==="toggle"&&h.jsx(Xi,{width:50,children:n==="multiple"&&h.jsx(Na,{slot:"selection"})}),h.jsx(Bt,{items:e,children:t})]})},pk=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:r,allowsDragging:a}=o$();return h.jsxs(B7,{id:e,className:W(Pu.row),...n,children:[a&&h.jsx(el,{children:h.jsx(Ut,{slot:"drag",children:h.jsx(bC,{size:20})})}),r==="toggle"&&h.jsx(el,{children:h.jsx(Na,{slot:"selection"})}),h.jsx(Bt,{items:t,children:u})]})},Xi=({children:e,...t})=>h.jsx(x7,{className:Pu.column,...t,children:({allowsSorting:u,sortDirection:n})=>h.jsxs(h.Fragment,{children:[e,u&&h.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:n==="ascending"?h.jsx(fC,{size:20}):h.jsx(dC,{size:20})})]})}),el=({...e})=>h.jsx(k7,{className:Pu.cell,...e}),mk='"../theme/tokens.css"',bk="_container_1n91k_4",hk="_list_1n91k_8",$k="_listItem_1n91k_14",gk="_panel_1n91k_42",xr={tokens:mk,"--font-family":'"Inter", sans-serif',"--border-subtle":"light-dark(#bfbfbf, #383838)","--border-brand":"light-dark(#143c50, #143c50)","--focus":"0 0 0 2px white, 0 0 0 4px black","--breakpoint-sm":"(max-width: 767px)",container:bk,list:hk,listItem:$k,panel:gk},Dk=({tabs:e,label:t,defaultSelected:u,children:n})=>{const r=ce.Children.toArray(n);if(r.length!==e.length)throw new Error(`The number of children must match the number of tabs. Children: ${r.length} Tabs: ${e.length}`);const a=r.reduce((i,l,s)=>{var d;if(ce.isValidElement(l)){const c=(d=e[s])==null?void 0:d.toLowerCase();c&&(i[c]=ce.cloneElement(l,{id:c}))}return i},{});return h.jsxs(F7,{orientation:"vertical",defaultSelectedKey:u&&u.toLowerCase(),className:xr.container,children:[h.jsx(R7,{"aria-label":t,className:xr.list,children:e.map(i=>h.jsx(K7,{id:i.toLowerCase(),className:xr.listItem,children:i},i))}),e.map(i=>h.jsx(M7,{id:i.toLowerCase(),className:xr.panel,children:a[i.toLowerCase()]},i))]})},vk='"../theme/tokens.css"',yk="_textArea_168mq_4",xk="_count_168mq_50",Ck="_countExceeded_168mq_58",Cr={tokens:vk,"--focus":"0 0 0 2px white, 0 0 0 4px black","--field-disabled":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-invalid":"light-dark(#e62323, #e62323)","--border-invalid":"light-dark(#e62323, #e62323)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)",textArea:yk,count:xk,countExceeded:Ck},Ek=({label:e,description:t,rows:u,maxLength:n,minLength:r,errorMessage:a,showCounter:i,validate:l,className:s,...d})=>{const[c,f]=ce.useState(d.defaultValue??d.value??""),p=g=>{const $=g.target.value;f($)},m=()=>n?h.jsxs("span",{className:W(Cr.count,c.length>n&&Cr.countExceeded),children:[c.length," / ",n]}):i?h.jsx("span",{className:Cr.count,children:c.length}):null,b=g=>{const $=n&&g.length>n?`Du har angett ${g.length-n} tecken för mycket. Fältet är begränsat till ${n} tecken.`:null,D=r&&g.length<r?`Du har angett ${Math.abs(g.length-r)} tecken för lite. Fältet kräver åtminstone ${r} tecken.`:null,y=l?l(g):null;return $||D||y||!0};return h.jsx(Jl,{className:W(Ue.inputField,s),validate:b,...d,children:h.jsxs(Ru,{label:e,description:t,errorMessage:a,children:[h.jsx(m,{}),h.jsx(ix,{className:Cr.textArea,rows:u,onFocus:p,onChange:p})]})})},Bk='"../theme/tokens.css"',kk="_toastRegion_1l2ca_52",Pk="_toast_1l2ca_52",Sk="_success_1l2ca_95",Ak="_info_1l2ca_103",wk="_important_1l2ca_111",Fk="_warning_1l2ca_119",Tk="_icon_1l2ca_127",Rk="_toastContent_1l2ca_137",Ik="_toastMessage_1l2ca_144",Kk="_slideInTop_1l2ca_1",Mk="_slideInEnd_1l2ca_1",zk="_slideOutTop_1l2ca_1",Nk="_slideOutEnd_1l2ca_1",Lu={tokens:Bk,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--notification-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--notification-border-success":"light-dark(#008d3c, #008d3c)","--notification-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--notification-border-info":"light-dark(#0066cc, #0066cc)","--notification-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))","--notification-border-important":"light-dark(#fdb813, #fdb813)","--notification-border-warning":"light-dark(#e62323, #e62323)","--notification-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--breakpoint-md":"(min-width: 768px)","--focus":"0 0 0 2px white, 0 0 0 4px black",toastRegion:kk,toast:Pk,success:Sk,info:Ak,important:wk,warning:Fk,icon:Tk,toastContent:Rk,toastMessage:Ik,slideInTop:Kk,slideInEnd:Mk,slideOutTop:zk,slideOutEnd:Nk},Vk={success:b$,info:h$,important:m$,warning:$$},N$={wrapUpdate(e){"startViewTransition"in document?document.startViewTransition(()=>{Wt.flushSync(e)}):e()},maxVisibleToasts:5};function V$(e={}){const{maxVisibleToasts:t=1,wrapUpdate:u}=e,n=o.useMemo(()=>new o5({maxVisibleToasts:t,wrapUpdate:u}),[t,u]);return l5(n)}const _$=new o5(N$),_k=e=>{const t=l5(_$);return t.visibleToasts.length>0?Wt.createPortal(h.jsx(po,{...e,state:t}),document.body):null},jk=({children:e,...t})=>{const u=V$(N$);return h.jsxs(h.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&h.jsx(po,{...t,state:u})]})};function po({state:e,...t}){const u=o.useRef(null),{regionProps:n}=by(t,e,u);return h.jsx("div",{...n,ref:u,className:Lu.toastRegion,children:e.visibleToasts.map(r=>h.jsx(j$,{toast:r,state:e},r.key))})}function j$({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:r,titleProps:a,closeButtonProps:i}=py(t,e),l=Vk[t.toast.content.type];return h.jsxs("div",{...n,ref:u,className:W(Lu.toast,Lu[t.toast.content.type]),style:{viewTransitionName:t.toast.key},children:[h.jsxs("div",{className:Lu.toastContent,...r,children:[h.jsx(l,{className:Lu.icon,size:20,"aria-hidden":!0}),h.jsxs("div",{children:[h.jsx("p",{className:Lu.toastMessage,...a,children:t.toast.content.message}),t.toast.content.children]})]}),h.jsx(ze,{variant:"icon",...i,children:h.jsx(Jt,{size:20,"aria-hidden":!0})})]})}const Lk='"../theme/tokens.css"',Ok="_dateField_d3z9t_4",Hk="_isDisabled_d3z9t_12",Uk="_inputField_d3z9t_16",Wk="_segment_d3z9t_45",Zk="_label_d3z9t_66",Gk="_description_d3z9t_72",qk="_fieldError_d3z9t_78",yu={tokens:Lk,"--font-family":'"Inter", sans-serif',"--text-placeholder":"light-dark(#a6a6a6, #525252)","--text-invalid":"light-dark(#e62323, #e62323)","--border-invalid":"light-dark(#e62323, #e62323)","--focus":"0 0 0 2px white, 0 0 0 4px black","--field-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)",dateField:Ok,isDisabled:Hk,inputField:Uk,segment:Wk,label:Zk,description:Gk,fieldError:qk};function Yk({label:e,description:t,errorMessage:u,className:n,...r}){return h.jsxs(Hx,{...r,className:W(yu.dateField,r.isDisabled&&yu.isDisabled,n),children:[h.jsx(sn,{className:yu.label,children:e}),t&&h.jsx(St,{slot:"description",className:yu.description,children:t}),h.jsx(rr,{className:yu.fieldError,children:u}),h.jsx(aa,{className:yu.inputField,children:a=>h.jsx(ia,{segment:a,className:yu.segment})})]})}const Jk='"../theme/tokens.css"',Zs={tokens:Jk,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--size-03":"1rem","--line-height-03":"1.25rem","--line-height-04":"1.375rem","--line-height-05":"1.5rem","body-01":"_body-01_q4109_4","body-02":"_body-02_q4109_5"},Gs="span",Qk=({children:e,className:t,variant:u="body-02",isExpressive:n=!1,elementType:r=Gs,...a})=>{const i={"body-01":Zs["body-01"],"body-02":Zs["body-02"]},l={className:W(i[u],t),elementType:r||Gs,...n&&{"data-expressive":!0},...a};return h.jsx(St,{...l,children:e})},Xk='"../theme/tokens.css"',qs={tokens:Xk,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--size-02":"0.875rem","--line-height-02":"1.125rem","--size-03":"1rem","--line-height-03":"1.25rem","label-01":"_label-01_sua9e_4","label-02":"_label-02_sua9e_5"},Ys="label",tl=({children:e,className:t,variant:u="label-01",elementType:n=Ys,...r})=>{const a={"label-01":qs["label-01"],"label-02":qs["label-02"]},i={className:W(a[u],t),elementType:n||Ys,...r};return h.jsx(sn,{...i,children:e})},eP='"../theme/tokens.css"',tP="_progressBar_3xf16_4",uP="_indeterminate_3xf16_1",nP="_label_3xf16_12",rP="_value_3xf16_16",aP="_bar_3xf16_20",iP="_fill_3xf16_26",vn={tokens:eP,"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--signal-green-140":"#008d3c",progressBar:tP,indeterminate:uP,label:nP,value:rP,bar:aP,fill:iP},lP=({label:e,labelProps:t,showValueLabel:u=!1,...n})=>h.jsx(Dy,{...n,className:W(vn.progressBar,n.className),children:({percentage:r,valueText:a,isIndeterminate:i})=>h.jsxs(h.Fragment,{children:[e&&h.jsx(tl,{elementType:"span",...t,className:W(t==null?void 0:t.className,vn.label),children:e}),u&&h.jsx(tl,{elementType:"span",...t,id:"",className:W(t==null?void 0:t.className,vn.value),children:a}),h.jsx("div",{className:vn.bar,children:h.jsx("div",{className:vn.fill,style:{width:`${i?50:r}%`}})})]})});exports.Accordion=W7;exports.AccordionItem=xC;exports.Breadcrumbs=FC;exports.Button=ze;exports.ButtonGroup=iC;exports.Calendar=v$;exports.Card=NC;exports.Cell=el;exports.Checkbox=Na;exports.CheckboxGroup=r9;exports.Column=Xi;exports.ComboBox=b9;exports.ComboBoxItem=h9;exports.DateField=Yk;exports.DatePicker=I9;exports.DateRangePicker=R9;exports.Dialog=z8;exports.DialogTrigger=Vx;exports.Dropdown=C$;exports.DropdownItem=E$;exports.FileUpload=W9;exports.Flex=Q9;exports.FlexItem=B$;exports.GlobalToastRegion=_k;exports.Grid=rE;exports.GridItem=aE;exports.Header=F$;exports.Heading=T$;exports.InfoBanner=gE;exports.InputWrapper=Ru;exports.Label=tl;exports.Layout=au;exports.Link=co;exports.LinkButton=C8;exports.Logo=w$;exports.Modal=_8;exports.ModalTrigger=V8;exports.ProgressBar=lP;exports.Radio=W8;exports.RadioGroup=U8;exports.RangeCalendar=y$;exports.RouterProvider=td;exports.Row=pk;exports.SearchField=tB;exports.Select=z$;exports.SelectComponent=M$;exports.Sidebar=A$;exports.SidebarLink=fo;exports.Skeleton=qB;exports.Spinner=uk;exports.Table=ck;exports.TableBody=E7;exports.TableHeader=fk;exports.Tabs=Dk;exports.Tag=K$;exports.TagGroup=I$;exports.Text=Qk;exports.TextArea=Ek;exports.TextField=u9;exports.Toast=j$;exports.ToastProvider=jk;exports.ToastRegion=po;exports.Tooltip=k$;exports.TooltipTrigger=P$;exports.dossNrRegEx=D$;exports.ssnRegEx=g$;exports.toastQueue=_$;exports.useToastState=V$;
|