@midas-ds/components 3.1.0 → 4.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 +39 -0
- package/button/Button.d.ts +1 -0
- package/calendar/Calendar.d.ts +6 -0
- package/calendar/index.d.ts +1 -0
- package/date-field/DateField.d.ts +8 -0
- package/date-field/index.d.ts +1 -0
- package/index.cjs +33 -28
- package/index.css +1 -1
- package/index.d.ts +2 -1
- package/index.js +8120 -8317
- package/modal/Dialog.d.ts +18 -0
- package/modal/index.d.ts +1 -1
- package/package.json +1 -1
- package/select/HiddenMultiSelect.d.ts +47 -0
- package/select/Select.d.ts +73 -10
- package/select/SelectListBox.d.ts +9 -0
- package/select/SelectPopover.d.ts +10 -0
- package/select/useMultiSelect.d.ts +21 -0
- package/select/useMultiSelectListState.d.ts +15 -0
- package/select/useMultiSelectState.d.ts +25 -0
- package/table/Table.d.ts +1 -0
- package/utils/useObserveElement.d.ts +4 -0
- package/modal/Modal.d.ts +0 -13
- package/multi-select/MultiSelect.d.ts +0 -28
- package/multi-select/index.d.ts +0 -1
package/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const g=require("react/jsx-runtime"),o=require("react"),au=require("react-dom"),Qh=require("./tokens-BskyMDHv.cjs");function Xh(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 de=Xh(o),e$='"../theme/tokens.css"',t$='"Inter", sans-serif',u$="#f2f2f2",n$="#e6e6e6",r$="#d9d9d9",a$="#000000",i$="300ms",l$="400",o$="500",s$="_root_106wg_4",d$="_contained_106wg_12",c$="_triggerText_106wg_27",f$="_trigger_106wg_27",p$="_icon_106wg_52",m$="_item_106wg_80",b$="_panel_106wg_86",h$="_panel0_106wg_86",$$="_content_106wg_96",g$="_header_106wg_100",Xe={tokens:e$,display:t$,gray10:u$,gray20:n$,gray30:r$,black:a$,normalTransition:i$,regularWeight:l$,mediumWeight:o$,root:s$,contained:d$,triggerText:c$,trigger:f$,icon:p$,item:m$,panel:b$,panel0:h$,content:$$,header:g$};function ms(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=ms(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=ms(e))&&(n&&(n+=" "),n+=t);return n}const Lr=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const _r=o.createContext({}),q=typeof document<"u"?o.useLayoutEffect:()=>{};function ae(e){const t=o.useRef(null);return q(()=>{t.current=e},[e]),o.useCallback((...u)=>{const n=t.current;return n==null?void 0:n(...u)},[])}function D$(e){let[t,u]=o.useState(e),n=o.useRef(null),r=ae(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?r():u(i.value)});q(()=>{n.current&&r()});let a=ae(i=>{n.current=i(t),r()});return[t,a]}const hr={prefix:String(Math.round(Math.random()*1e10)),current:0},bs=o.createContext(hr),y$=o.createContext(!1);let v$=!!(typeof window<"u"&&window.document&&window.document.createElement),ha=new WeakMap;function x$(e=!1){let t=o.useContext(bs),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=ha.get(a);i==null?ha.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,ha.delete(a))}u.current=++t.current}return u.current}function C$(e){let t=o.useContext(bs);t===hr&&!v$&&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=x$(!!e),n=t===hr&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function E$(e){let t=o.useId(),[u]=o.useState(zt()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${hr.prefix}`;return e||`${n}-${t}`}const B$=typeof o.useId=="function"?E$:C$;function k$(){return!1}function P$(){return!0}function S$(e){return()=>{}}function zt(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(S$,k$,P$):o.useContext(y$)}let A$=!!(typeof window<"u"&&window.document&&window.document.createElement),Ut=new Map;function ne(e){let[t,u]=o.useState(e),n=o.useRef(null),r=B$(t),a=o.useCallback(i=>{n.current=i},[]);return A$&&(Ut.has(r)&&!Ut.get(r).includes(a)?Ut.set(r,[...Ut.get(r),a]):Ut.set(r,[a])),q(()=>{let i=r;return()=>{Ut.delete(i)}},[r]),o.useEffect(()=>{let i=n.current;i&&(n.current=null,u(i))}),r}function w$(e,t){if(e===t)return e;let u=Ut.get(e);if(u)return u.forEach(r=>r(t)),t;let n=Ut.get(t);return n?(n.forEach(r=>r(e)),e):t}function rt(e=[]){let t=ne(),[u,n]=D$(t),r=o.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return q(r,[t,r,...e]),u}function at(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const fe=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ut=e=>e&&"window"in e&&e.window===e?e:fe(e).defaultView||window;function N(...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]=at(a,i):(r==="className"||r==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[r]=W(a,i):r==="id"&&a&&i?t.id=w$(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 F$=new Set(["id"]),T$=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),R$=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),I$=/^(data-.*)$/;function _(e,t={}){let{labelable:u,isLink:n,propNames:r}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(F$.has(i)||u&&T$.has(i)||n&&R$.has(i)||r!=null&&r.has(i)||I$.test(i))&&(a[i]=e[i]);return a}function Oe(e){if(K$())e.focus({preventScroll:!0});else{let t=M$(e);e.focus(),z$(t)}}let Zn=null;function K$(){if(Zn==null){Zn=!1;try{document.createElement("div").focus({get preventScroll(){return Zn=!0,!0}})}catch{}}return Zn}function M$(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 z$(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function Or(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 Ki(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 Vt(e){let t=null;return()=>(t==null&&(t=e()),t)}const gt=Vt(function(){return Ki(/^Mac/i)}),V$=Vt(function(){return Ki(/^iPhone/i)}),Mi=Vt(function(){return Ki(/^iPad/i)||gt()&&navigator.maxTouchPoints>1}),Kn=Vt(function(){return V$()||Mi()}),cr=Vt(function(){return gt()||Kn()}),zi=Vt(function(){return Or(/AppleWebKit/i)&&!hs()}),hs=Vt(function(){return Or(/Chrome/i)}),yn=Vt(function(){return Or(/Android/i)}),N$=Vt(function(){return Or(/Firefox/i)}),$s=o.createContext({isNative:!0,open:j$,useHref:e=>e});function gs(e){let{children:t,navigate:u,useHref:n}=e,r=o.useMemo(()=>({isNative:!1,open:(a,i,l,s)=>{ys(a,d=>{Ds(d,i)?u(l,s):Qt(d,i)})},useHref:n||(a=>a)}),[u,n]);return o.createElement($s.Provider,{value:r},t)}function Pu(){return o.useContext($s)}function Ds(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 Qt(e,t,u=!0){var n,r;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;N$()&&(!((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=zi()&>()&&!Mi()?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});Qt.isOpening=u,Oe(e),e.dispatchEvent(d),Qt.isOpening=!1}Qt.isOpening=!1;function ys(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 j$(e,t){ys(e,u=>Qt(u,t))}function Vi(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 Hr(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 Vu=new Map,Za=new Set;function _l(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let r=Vu.get(n.target);r||(r=new Set,Vu.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=Vu.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",u),Vu.delete(n.target)),Vu.size===0)){for(let a of Za)a();Za.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?_l():document.addEventListener("DOMContentLoaded",_l));function vs(e){requestAnimationFrame(()=>{Vu.size===0?e():Za.add(e)})}function Ni(){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=ne(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 ge(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 $r(e,t){const u=o.useRef(!0),n=o.useRef(null);o.useEffect(()=>(u.current=!0,()=>{u.current=!1}),[]),o.useEffect(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function Ol(e,t){const u=o.useRef(!0),n=o.useRef(null);q(()=>(u.current=!0,()=>{u.current=!1}),[]),q(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function L$(){return typeof window.ResizeObserver<"u"}function xu(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(L$()){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 ji(e,t){q(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function vn(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 Ie(e,t){let u=e;for(vn(u,t)&&(u=u.parentElement);u&&!vn(u,t);)u=u.parentElement;return u||document.scrollingElement||document.documentElement}function _$(e,t){const u=[];for(;e&&e!==document.documentElement;)vn(e,t)&&u.push(e),e=e.parentElement;return u}let O$=0;const $a=new Map;function vt(e){let[t,u]=o.useState();return q(()=>{if(!e)return;let n=$a.get(e);if(n)u(n.element.id);else{let r=`react-aria-description-${O$++}`;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},$a.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),$a.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function st(e,t,u,n){let r=ae(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 xs(e,t){let u=Hl(e,t,"left"),n=Hl(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),h=l+parseInt(s,10),D=b+e.clientWidth,v=h+e.clientHeight,E=parseInt(c,10)||0,y=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>D-C&&(i+=u+r-D+C),n<=h+E?l=n-parseInt(s,10)-E:n+a>v-y&&(l+=n+a-v+y),e.scrollLeft=i,e.scrollTop=l}function Hl(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 Ke(e,t){if(e&&document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=_$(e);for(let d of s)xs(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 qa(e){return e.mozInputSource===0&&e.isTrusted?!0:yn()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function H$(e){return!yn()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Cs(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function Mn(e,t,u){let n=o.useRef(t),r=ae(()=>{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])}const U$="react-aria-clear-focus",W$="react-aria-focus",Es="react-aria-update-activedescendant";function Nu(e){return gt()?e.metaKey:e.ctrlKey}function Bs(e,t=!0){let[u,n]=o.useState(!0),r=u&&t;return q(()=>{if(r&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,r]),Ps(e,r,o.useCallback(()=>n(!1),[])),r}function ks(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 Ps(e,r,o.useCallback(()=>{n(a=>a==="exiting"?"closed":a)},[])),r}function Ps(e,t,u){q(()=>{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||au.flushSync(()=>{u()})}).catch(()=>{}),()=>{r=!0}}},[e,t,u])}function Re(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 h=d(i?l:m,...b);return f(h,...c),i?m:h})):(i||r(d),f(d,...c))},[i,l,u]);return[l,s]}function Ya(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const ht=Symbol("default");function te({values:e,children:t}){for(let[u,n]of e)t=o.createElement(u.Provider,{value:n},t);return t}function H(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 Le(e,t){let u=o.useContext(e);if(t===null)return null;if(u&&typeof u=="object"&&"slots"in u&&u.slots){let n=new Intl.ListFormat().format(Object.keys(u.slots).map(a=>`"${a}"`));if(!t&&!u.slots[ht])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let r=t||ht;if(!u.slots[r])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return u.slots[r]}return u}function Y(e,t,u){let n=Le(u,e.slot)||{},{ref:r,...a}=n,i=ge(o.useMemo(()=>ku(t,r),[t,r])),l=N(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 xt(){let[e,t]=o.useState(!0),u=o.useRef(!1),n=o.useCallback(r=>{u.current=!0,t(!!r)},[]);return q(()=>{u.current||t(!1)},[]),[n,e]}function Xt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class xn{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new xn(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}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.type=t,this.key=u}}class Ur{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}filter(t){let u=new Ur,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(t(l.textValue)||l.type==="header"){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 if(t(r.textValue)){let a=r.clone();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}}class Ss{*[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 Cn extends Ss{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof Cn?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 Cn?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;a.lastChildKey=(d=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&d!==void 0?d:null}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}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 xn(t,`react-aria-${++u.nodeId}`),this.ownerDocument.startTransaction()}}class G$ extends Ss{get isConnected(){return this.isMounted}createElement(t){return new Cn(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 Cn&&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);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.mutatedNodes.clear()}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 Li(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 gr=o.createContext(!1),Z$=typeof DocumentFragment<"u"?new DocumentFragment:null;function q$(e){let t=o.useContext(gr),u=zt();if(t)return o.createElement(o.Fragment,null,e.children);let n=o.createElement(gr.Provider,{value:!0},e.children);return u?o.createElement("template",{"data-react-aria-hidden":!0},n):au.createPortal(n,Z$)}function Wr(e){let t=(u,n)=>o.useContext(gr)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function Y$(){return o.useContext(gr)}var Ja={exports:{}},ga={};/**
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const h=require("react/jsx-runtime"),o=require("react"),uu=require("react-dom"),d$=require("./tokens-BskyMDHv.cjs");function c$(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 ne=c$(o),f$='"../theme/tokens.css"',p$='"Inter", sans-serif',m$="#f2f2f2",b$="#e6e6e6",h$="#d9d9d9",$$="#000000",g$="300ms",D$="400",y$="500",v$="_root_106wg_4",x$="_contained_106wg_12",C$="_triggerText_106wg_27",E$="_trigger_106wg_27",B$="_icon_106wg_52",k$="_item_106wg_80",P$="_panel_106wg_86",S$="_panel0_106wg_86",A$="_content_106wg_96",w$="_header_106wg_100",Je={tokens:f$,display:p$,gray10:m$,gray20:b$,gray30:h$,black:$$,normalTransition:g$,regularWeight:D$,mediumWeight:y$,root:v$,contained:x$,triggerText:C$,trigger:E$,icon:B$,item:k$,panel:P$,panel0:S$,content:A$,header:w$};function hs(e){var t,u,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(u=hs(e[t]))&&(n&&(n+=" "),n+=u)}else for(u in e)e[u]&&(n&&(n+=" "),n+=u);return n}function H(){for(var e,t,u=0,n="",a=arguments.length;u<a;u++)(e=arguments[u])&&(t=hs(e))&&(n&&(n+=" "),n+=t);return n}const Ki=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const Oa=o.createContext({}),q=typeof document<"u"?o.useLayoutEffect:()=>{};function ie(e){const t=o.useRef(null);return q(()=>{t.current=e},[e]),o.useCallback((...u)=>{const n=t.current;return n==null?void 0:n(...u)},[])}function F$(e){let[t,u]=o.useState(e),n=o.useRef(null),a=ie(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?a():u(i.value)});q(()=>{n.current&&a()});let r=ie(i=>{n.current=i(t),a()});return[t,r]}const ma={prefix:String(Math.round(Math.random()*1e10)),current:0},$s=o.createContext(ma),T$=o.createContext(!1);let R$=!!(typeof window<"u"&&window.document&&window.document.createElement),Dr=new WeakMap;function I$(e=!1){let t=o.useContext($s),u=o.useRef(null);if(u.current===null&&!e){var n,a;let r=(a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(n=a.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(r){let i=Dr.get(r);i==null?Dr.set(r,{id:t.current,state:r.memoizedState}):r.memoizedState!==i.state&&(t.current=i.id,Dr.delete(r))}u.current=++t.current}return u.current}function K$(e){let t=o.useContext($s);t===ma&&!R$&&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=I$(!!e),n=t===ma&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function M$(e){let t=o.useId(),[u]=o.useState(Kt()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${ma.prefix}`;return e||`${n}-${t}`}const z$=typeof o.useId=="function"?M$:K$;function V$(){return!1}function N$(){return!0}function _$(e){return()=>{}}function Kt(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(_$,V$,N$):o.useContext(T$)}let j$=!!(typeof window<"u"&&window.document&&window.document.createElement),Ht=new Map;function ae(e){let[t,u]=o.useState(e),n=o.useRef(null),a=z$(t),r=o.useCallback(i=>{n.current=i},[]);return j$&&(Ht.has(a)&&!Ht.get(a).includes(r)?Ht.set(a,[...Ht.get(a),r]):Ht.set(a,[r])),q(()=>{let i=a;return()=>{Ht.delete(i)}},[a]),o.useEffect(()=>{let i=n.current;i&&(n.current=null,u(i))}),a}function L$(e,t){if(e===t)return e;let u=Ht.get(e);if(u)return u.forEach(a=>a(t)),t;let n=Ht.get(t);return n?(n.forEach(a=>a(e)),e):t}function ut(e=[]){let t=ae(),[u,n]=F$(t),a=o.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return q(a,[t,a,...e]),u}function nt(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const pe=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},et=e=>e&&"window"in e&&e.window===e?e:pe(e).defaultView||window;function V(...e){let t={...e[0]};for(let u=1;u<e.length;u++){let n=e[u];for(let a in n){let r=t[a],i=n[a];typeof r=="function"&&typeof i=="function"&&a[0]==="o"&&a[1]==="n"&&a.charCodeAt(2)>=65&&a.charCodeAt(2)<=90?t[a]=nt(r,i):(a==="className"||a==="UNSAFE_className")&&typeof r=="string"&&typeof i=="string"?t[a]=H(r,i):a==="id"&&r&&i?t.id=L$(r,i):t[a]=i!==void 0?i:r}}return t}function Eu(...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 O$=new Set(["id"]),H$=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),U$=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),W$=/^(data-.*)$/;function O(e,t={}){let{labelable:u,isLink:n,propNames:a}=t,r={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(O$.has(i)||u&&H$.has(i)||n&&U$.has(i)||a!=null&&a.has(i)||W$.test(i))&&(r[i]=e[i]);return r}function Le(e){if(Z$())e.focus({preventScroll:!0});else{let t=G$(e);e.focus(),q$(t)}}let Zn=null;function Z$(){if(Zn==null){Zn=!1;try{document.createElement("div").focus({get preventScroll(){return Zn=!0,!0}})}catch{}}return Zn}function G$(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 q$(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function Ha(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 Mi(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 Mt(e){let t=null;return()=>(t==null&&(t=e()),t)}const pt=Mt(function(){return Mi(/^Mac/i)}),Y$=Mt(function(){return Mi(/^iPhone/i)}),zi=Mt(function(){return Mi(/^iPad/i)||pt()&&navigator.maxTouchPoints>1}),Rn=Mt(function(){return Y$()||zi()}),sa=Mt(function(){return pt()||Rn()}),Vi=Mt(function(){return Ha(/AppleWebKit/i)&&!gs()}),gs=Mt(function(){return Ha(/Chrome/i)}),Dn=Mt(function(){return Ha(/Android/i)}),J$=Mt(function(){return Ha(/Firefox/i)}),Ds=o.createContext({isNative:!0,open:Q$,useHref:e=>e});function ys(e){let{children:t,navigate:u,useHref:n}=e,a=o.useMemo(()=>({isNative:!1,open:(r,i,l,s)=>{xs(r,d=>{vs(d,i)?u(l,s):Jt(d,i)})},useHref:n||(r=>r)}),[u,n]);return o.createElement(Ds.Provider,{value:a},t)}function Bu(){return o.useContext(Ds)}function vs(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 Jt(e,t,u=!0){var n,a;let{metaKey:r,ctrlKey:i,altKey:l,shiftKey:s}=t;J$()&&(!((a=window.event)===null||a===void 0||(n=a.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(pt()?r=!0:i=!0);let d=Vi()&&pt()&&!zi()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:r,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});Jt.isOpening=u,Le(e),e.dispatchEvent(d),Jt.isOpening=!1}Jt.isOpening=!1;function xs(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 Q$(e,t){xs(e,u=>Jt(u,t))}function Ni(e){let t=Bu();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 Ua(e){let t=Bu();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 Ku=new Map,Jr=new Set;function Ol(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let a=Ku.get(n.target);a||(a=new Set,Ku.set(n.target,a),n.target.addEventListener("transitioncancel",u,{once:!0})),a.add(n.propertyName)},u=n=>{if(!e(n)||!n.target)return;let a=Ku.get(n.target);if(a&&(a.delete(n.propertyName),a.size===0&&(n.target.removeEventListener("transitioncancel",u),Ku.delete(n.target)),Ku.size===0)){for(let r of Jr)r();Jr.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?Ol():document.addEventListener("DOMContentLoaded",Ol));function Cs(e){requestAnimationFrame(()=>{Ku.size===0?e():Jr.add(e)})}function _i(){let e=o.useRef(new Map),t=o.useCallback((a,r,i,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:r,eventTarget:a,fn:s,options:l}),a.addEventListener(r,s,l)},[]),u=o.useCallback((a,r,i,l)=>{var s;let d=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;a.removeEventListener(r,d,l),e.current.delete(i)},[]),n=o.useCallback(()=>{e.current.forEach((a,r)=>{u(a.eventTarget,a.type,r,a.options)})},[u]);return o.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:u,removeAllGlobalListeners:n}}function mt(e,t){let{id:u,"aria-label":n,"aria-labelledby":a}=e;return u=ae(u),a&&n?a=[...new Set([u,...a.trim().split(/\s+/)])].join(" "):a&&(a=a.trim().split(/\s+/).join(" ")),!n&&!a&&t&&(n=t),{id:u,"aria-label":n,"aria-labelledby":a}}function De(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 ba(e,t){const u=o.useRef(!0),n=o.useRef(null);o.useEffect(()=>(u.current=!0,()=>{u.current=!1}),[]),o.useEffect(()=>{u.current?u.current=!1:(!n.current||t.some((a,r)=>!Object.is(a,n[r])))&&e(),n.current=t},t)}function Hl(e,t){const u=o.useRef(!0),n=o.useRef(null);q(()=>(u.current=!0,()=>{u.current=!1}),[]),q(()=>{u.current?u.current=!1:(!n.current||t.some((a,r)=>!Object.is(a,n[r])))&&e(),n.current=t},t)}function X$(){return typeof window.ResizeObserver<"u"}function Gu(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let a=t==null?void 0:t.current;if(a)if(X$()){const r=new window.ResizeObserver(i=>{i.length&&n()});return r.observe(a,{box:u}),()=>{a&&r.unobserve(a)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,t,u])}function ji(e,t){q(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function yn(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 Me(e,t){let u=e;for(yn(u,t)&&(u=u.parentElement);u&&!yn(u,t);)u=u.parentElement;return u||document.scrollingElement||document.documentElement}function eg(e,t){const u=[];for(;e&&e!==document.documentElement;)yn(e,t)&&u.push(e),e=e.parentElement;return u}let tg=0;const yr=new Map;function ht(e){let[t,u]=o.useState();return q(()=>{if(!e)return;let n=yr.get(e);if(n)u(n.element.id);else{let a=`react-aria-description-${tg++}`;u(a);let r=document.createElement("div");r.id=a,r.style.display="none",r.textContent=e,document.body.appendChild(r),n={refCount:0,element:r},yr.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),yr.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function lt(e,t,u,n){let a=ie(u),r=u==null;o.useEffect(()=>{if(r||!e.current)return;let i=e.current;return i.addEventListener(t,a,n),()=>{i.removeEventListener(t,a,n)}},[e,t,n,r,a])}function Es(e,t){let u=Ul(e,t,"left"),n=Ul(e,t,"top"),a=t.offsetWidth,r=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),$=l+parseInt(s,10),g=b+e.clientWidth,y=$+e.clientHeight,x=parseInt(c,10)||0,v=parseInt(p,10)||0,E=parseInt(f,10)||0,B=parseInt(m,10)||0;u<=i+B?i=u-parseInt(d,10)-B:u+a>g-E&&(i+=u+a-g+E),n<=$+x?l=n-parseInt(s,10)-x:n+r>y-v&&(l+=n+r-y+v),e.scrollLeft=i,e.scrollTop=l}function Ul(e,t,u){const n=u==="left"?"offsetLeft":"offsetTop";let a=0;for(;t.offsetParent&&(a+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){a-=e[n];break}t=t.offsetParent}return a}function ze(e,t){if(e&&document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=eg(e);for(let d of s)Es(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,a,r;t==null||(a=t.containingElement)===null||a===void 0||(n=a.scrollIntoView)===null||n===void 0||n.call(a,{block:"center",inline:"center"}),(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"})}}}}function Qr(e){return e.mozInputSource===0&&e.isTrusted?!0:Dn()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function ug(e){return!Dn()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Bs(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function In(e,t,u){let n=o.useRef(t),a=ie(()=>{u&&u(n.current)});o.useEffect(()=>{var r;let i=e==null||(r=e.current)===null||r===void 0?void 0:r.form;return i==null||i.addEventListener("reset",a),()=>{i==null||i.removeEventListener("reset",a)}},[e,a])}const ng="react-aria-clear-focus",ag="react-aria-focus",ks="react-aria-update-activedescendant";function Mu(e){return pt()?e.metaKey:e.ctrlKey}function Ps(e,t=!0){let[u,n]=o.useState(!0),a=u&&t;return q(()=>{if(a&&e.current&&"getAnimations"in e.current)for(let r of e.current.getAnimations())r instanceof CSSTransition&&r.cancel()},[e,a]),As(e,a,o.useCallback(()=>n(!1),[])),a}function Ss(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 a=u==="exiting";return As(e,a,o.useCallback(()=>{n(r=>r==="exiting"?"closed":r)},[])),a}function As(e,t,u){q(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){u();return}let n=e.current.getAnimations();if(n.length===0){u();return}let a=!1;return Promise.all(n.map(r=>r.finished)).then(()=>{a||uu.flushSync(()=>{u()})}).catch(()=>{}),()=>{a=!0}}},[e,t,u])}function Re(e,t,u){let[n,a]=o.useState(e||t),r=o.useRef(e!==void 0),i=e!==void 0;o.useEffect(()=>{let d=r.current;d!==i&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),r.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"),a((m,...b)=>{let $=d(i?l:m,...b);return f($,...c),i?m:$})):(i||a(d),f(d,...c))},[i,l,u]);return[l,s]}function Xr(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const yu=Symbol("default");function se({values:e,children:t}){for(let[u,n]of e)t=o.createElement(u.Provider,{value:n},t);return t}function U(e){let{className:t,style:u,children:n,defaultClassName:a,defaultChildren:r,defaultStyle:i,values:l}=e;return o.useMemo(()=>{let s,d,c;return typeof t=="function"?s=t({...l,defaultClassName:a}):s=t,typeof u=="function"?d=u({...l,defaultStyle:i||{}}):d=u,typeof n=="function"?c=n({...l,defaultChildren:r}):n==null?c=r:c=n,{className:s??a,style:d||i?{...i,...d}:void 0,children:c??r,"data-rac":""}},[t,u,n,a,r,i,l])}function Oe(e,t){let u=o.useContext(e);if(t===null)return null;if(u&&typeof u=="object"&&"slots"in u&&u.slots){let n=new Intl.ListFormat().format(Object.keys(u.slots).map(r=>`"${r}"`));if(!t&&!u.slots[yu])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let a=t||yu;if(!u.slots[a])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return u.slots[a]}return u}function Q(e,t,u){let n=Oe(u,e.slot)||{},{ref:a,...r}=n,i=De(o.useMemo(()=>Eu(t,a),[t,a])),l=V(r,e);return"style"in r&&r.style&&"style"in e&&e.style&&(typeof r.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof r.style=="function"?r.style(s):r.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...r.style,...e.style}),[l,i]}function $t(){let[e,t]=o.useState(!0),u=o.useRef(!1),n=o.useCallback(a=>{u.current=!0,t(!!a)},[]);return q(()=>{u.current||t(!1)},[]),[n,e]}function Rt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class vn{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new vn(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}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.type=t,this.key=u}}class Wa{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),a=(n==null?void 0:n.firstChildKey)!=null?u.get(n.firstChildKey):null;for(;a;)yield a,a=a.nextKey!=null?u.get(a.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}filter(t){let u=new Wa,n=null;for(let a of this)if(a.type==="section"&&a.hasChildNodes){let r=a.clone(),i=null;for(let l of this.getChildren(a.key))if(t(l.textValue)||l.type==="header"){let s=l.clone();i==null&&(r.firstChildKey=s.key),u.firstKey==null&&(u.firstKey=r.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"?(r.lastChildKey=i.key,n==null?r.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=r.key,r.prevKey=n.key),r.nextKey=null,n=r,u.addNode(r)):(u.firstKey===r.key&&(u.firstKey=null),u.removeNode(i.key)))}else if(a.type==="separator"){let r=a.clone();r.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=r.key,r.prevKey=n.key,n=r,u.addNode(r))}else if(t(a.textValue)){let r=a.clone();u.firstKey==null&&(u.firstKey=r.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===r.parentKey?(n.nextKey=r.key,r.prevKey=n.key):r.prevKey=null,r.nextKey=null,u.addNode(r),n=r}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let a;n.prevKey!=null&&(a=u.getItem(n.prevKey),a.nextKey=null),u.removeNode(n.key),n=a}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}}class ws{*[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 xn extends ws{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof xn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,u,n,a;let r=this.ownerDocument.getMutableNode(this);r.index=this.index,r.level=this.level,r.parentKey=this.parentNode instanceof xn?this.parentNode.node.key:null;var i;r.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var l;r.nextKey=(l=(u=this.nextSibling)===null||u===void 0?void 0:u.node.key)!==null&&l!==void 0?l:null,r.hasChildNodes=!!this.firstChild;var s;r.firstChildKey=(s=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&s!==void 0?s:null;var d;r.lastChildKey=(d=(a=this.lastChild)===null||a===void 0?void 0:a.node.key)!==null&&d!==void 0?d:null}setProps(t,u,n,a){let r=this.ownerDocument.getMutableNode(this),{value:i,textValue:l,id:s,...d}=t;if(d.ref=u,r.props=d,r.rendered=n,r.render=a,r.value=i,r.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",s!=null&&s!==r.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");r.key=s}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 vn(t,`react-aria-${++u.nodeId}`),this.ownerDocument.startTransaction()}}class rg extends ws{get isConnected(){return this.isMounted}createElement(t){return new xn(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 r of this.dirtyNodes)r instanceof xn&&r.isConnected&&r.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,u;let r=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&r.addNode(i.node);var n,a;r.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(a=(u=this.lastChild)===null||u===void 0?void 0:u.node.key)!==null&&a!==void 0?a:null,this.isSSR),this.mutatedNodes.clear()}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 Li(e){let{children:t,items:u,idScope:n,addIdAndValue:a,dependencies:r=[]}=e,i=o.useMemo(()=>new WeakMap,r);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,a?{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,a])}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 ha=o.createContext(!1),ig=typeof DocumentFragment<"u"?new DocumentFragment:null;function lg(e){let t=o.useContext(ha),u=Kt();if(t)return o.createElement(o.Fragment,null,e.children);let n=o.createElement(ha.Provider,{value:!0},e.children);return u?o.createElement("template",{"data-react-aria-hidden":!0},n):uu.createPortal(n,ig)}function Za(e){let t=(u,n)=>o.useContext(ha)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function og(){return o.useContext(ha)}var ei={exports:{}},vr={};/**
|
|
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 Wl;function sg(){if(Wl)return vr;Wl=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,a=e.useEffect,r=e.useLayoutEffect,i=e.useDebugValue;function l(f,p){var m=p(),b=n({inst:{value:m,getSnapshot:p}}),$=b[0].inst,g=b[1];return r(function(){$.value=m,$.getSnapshot=p,s($)&&g({inst:$})},[f,m,p]),a(function(){return s($)&&g({inst:$}),f(function(){s($)&&g({inst:$})})},[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 vr.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,vr}var xr={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,125 +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 Wl;function Q$(){return Wl||(Wl=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 h=b();if(!f){var D=b();a(h,D)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}D=i({inst:{value:h,getSnapshot:b}});var v=D[0].inst,E=D[1];return s(function(){v.value=h,v.getSnapshot=b,u(v)&&E({inst:v})},[m,h,b]),l(function(){return u(v)&&E({inst:v}),m(function(){u(v)&&E({inst:v})})},[m]),d(h),h}function u(m){var b=m.getSnapshot;m=m.value;try{var h=b();return!a(m,h)}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;Da.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())}()),Da}process.env.NODE_ENV==="production"?Ja.exports=J$():Ja.exports=Q$();var _i=Ja.exports;const As=o.createContext(!1),En=o.createContext(null);function Nt(e){if(o.useContext(En))return e.content;let{collection:u,document:n}=ug(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(q$,null,o.createElement(En.Provider,{value:n},e.content)),o.createElement(X$,{render:e.children,collection:u}))}function X$({collection:e,render:t}){return t(e)}function eg(e,t,u){let n=zt(),r=o.useRef(n);r.current=n;let a=o.useCallback(()=>r.current?u():t(),[t,u]);return _i.useSyncExternalStore(e,a)}const tg=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:eg;function ug(e){let[t]=o.useState(()=>new G$((e==null?void 0:e())||new Ur)),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=tg(u,n,r);return q(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const Qa=o.createContext(null);function ws(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(Qa);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(Qa.Provider,{value:s},r):null}return o.createElement(e,{ref:i},r)}function jt(e,t){let u=({node:r})=>t(r.props,r.props.ref,r),n=o.forwardRef((r,a)=>{if(!o.useContext(As)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(r,a)}return ws(e,r,a,"children"in r?r.children:null,null,l=>o.createElement(u,{node:l}))});return n.displayName=t.name,n}function Oi(e,t,u=Fs){let n=({node:a})=>t(a.props,a.props.ref,a),r=o.forwardRef((a,i)=>{let l=u(a);var s;return(s=ws(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 Fs(e){return Li({...e,addIdAndValue:!0})}const Gl=o.createContext(null);function ct(e){let t=o.useContext(Gl),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),r=Fs({...e,idScope:n,dependencies:u});return o.useContext(En)&&(r=o.createElement(ng,null,r)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(Gl.Provider,{value:t},r)}function ng({children:e}){let t=o.useContext(En),u=o.useMemo(()=>o.createElement(En.Provider,{value:null},o.createElement(As.Provider,{value:!0},e)),[e]);return zt()?o.createElement(Qa.Provider,{value:t},u):au.createPortal(u,t)}const Lt=o.createContext({}),Ts=Wr(function(t,u){[t,u]=Y(t,u,Lt);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})});let Lu="default",Xa="",fr=new WeakMap;function Zl(e){if(Kn()){if(Lu==="default"){const t=fe(e);Xa=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Lu="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(fr.set(e,e.style.userSelect),e.style.userSelect="none")}function qn(e){if(Kn()){if(Lu!=="disabled")return;Lu="restoring",setTimeout(()=>{vs(()=>{if(Lu==="restoring"){const t=fe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Xa||""),Xa="",Lu="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&fr.has(e)){let t=fr.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),fr.delete(e)}}const Bn=o.createContext({register:()=>{}});Bn.displayName="PressResponderContext";function rg(e,t){return t.get?t.get.call(e):t.value}function Rs(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function ag(e,t){var u=Rs(e,t,"get");return rg(e,u)}function ig(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zn(e,t,u){ig(e,t),t.set(e,u)}function lg(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 ql(e,t,u){var n=Rs(e,t,"set");return lg(e,n,u),u}function og(e){let t=o.useContext(Bn);if(t){let{register:u,...n}=t;e=N(n,e),u()}return ji(t,e.ref),e}var Yn=new WeakMap;class Jn{continuePropagation(){ql(this,Yn,!1)}get shouldStopPropagation(){return ag(this,Yn)}constructor(t,u,n,r){zn(this,Yn,{writable:!0,value:void 0}),ql(this,Yn,!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 Yl=Symbol("linkClicked");function We(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}=og(e),[m,b]=o.useState(!1),h=o.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:D,removeAllGlobalListeners:v}=Ni(),E=ae(($,T)=>{let A=h.current;if(i||A.didFirePressStart)return!1;let k=!0;if(A.isTriggeringEvent=!0,n){let z=new Jn("pressstart",T,$);n(z),k=z.shouldStopPropagation}return u&&u(!0),A.isTriggeringEvent=!1,A.didFirePressStart=!0,b(!0),k}),y=ae(($,T,A=!0)=>{let k=h.current;if(!k.didFirePressStart)return!1;k.ignoreClickAfterPress=!0,k.didFirePressStart=!1,k.isTriggeringEvent=!0;let z=!0;if(r){let x=new Jn("pressend",T,$);r(x),z=x.shouldStopPropagation}if(u&&u(!1),b(!1),t&&A&&!i){let x=new Jn("press",T,$);t(x),z&&(z=x.shouldStopPropagation)}return k.isTriggeringEvent=!1,z}),C=ae(($,T)=>{let A=h.current;if(i)return!1;if(a){A.isTriggeringEvent=!0;let k=new Jn("pressup",T,$);return a(k),A.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),B=ae($=>{let T=h.current;T.isPressed&&T.target&&(T.isOverTarget&&T.pointerType!=null&&y(kt(T.target,$),T.pointerType,!1),T.isPressed=!1,T.isOverTarget=!1,T.activePointerId=null,T.pointerType=null,v(),c||qn(T.target))}),S=ae($=>{d&&B($)}),R=o.useMemo(()=>{let $=h.current,T={onKeyDown(k){if(ya(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)){var z;Ql(k.target,k.key)&&k.preventDefault();let x=!0;if(!$.isPressed&&!k.repeat){$.target=k.currentTarget,$.isPressed=!0,x=E(k,"keyboard");let w=k.currentTarget,V=F=>{ya(F,w)&&!F.repeat&&w.contains(F.target)&&$.target&&C(kt($.target,F),"keyboard")};D(fe(k.currentTarget),"keyup",at(V,A),!0)}x&&k.stopPropagation(),k.metaKey&>()&&((z=$.metaKeyEvents)===null||z===void 0||z.set(k.key,k.nativeEvent))}else k.key==="Meta"&&($.metaKeyEvents=new Map)},onClick(k){if(!(k&&!k.currentTarget.contains(k.target))&&k&&k.button===0&&!$.isTriggeringEvent&&!Qt.isOpening){let z=!0;if(i&&k.preventDefault(),!$.ignoreClickAfterPress&&!$.ignoreEmulatedMouseEvents&&!$.isPressed&&($.pointerType==="virtual"||qa(k.nativeEvent))){!i&&!s&&Oe(k.currentTarget);let x=E(k,"virtual"),w=C(k,"virtual"),V=y(k,"virtual");z=x&&w&&V}$.ignoreEmulatedMouseEvents=!1,$.ignoreClickAfterPress=!1,z&&k.stopPropagation()}}},A=k=>{var z;if($.isPressed&&$.target&&ya(k,$.target)){var x;Ql(k.target,k.key)&&k.preventDefault();let V=k.target;y(kt($.target,k),"keyboard",$.target.contains(V)),v(),k.key!=="Enter"&&Hi($.target)&&$.target.contains(V)&&!k[Yl]&&(k[Yl]=!0,Qt($.target,k,!1)),$.isPressed=!1,(x=$.metaKeyEvents)===null||x===void 0||x.delete(k.key)}else if(k.key==="Meta"&&(!((z=$.metaKeyEvents)===null||z===void 0)&&z.size)){var w;let V=$.metaKeyEvents;$.metaKeyEvents=void 0;for(let F of V.values())(w=$.target)===null||w===void 0||w.dispatchEvent(new KeyboardEvent("keyup",F))}};if(typeof PointerEvent<"u"){T.onPointerDown=w=>{if(w.button!==0||!w.currentTarget.contains(w.target))return;if(H$(w.nativeEvent)){$.pointerType="virtual";return}xa(w.currentTarget)&&w.preventDefault(),$.pointerType=w.pointerType;let V=!0;if(!$.isPressed){$.isPressed=!0,$.isOverTarget=!0,$.activePointerId=w.pointerId,$.target=w.currentTarget,!i&&!s&&Oe(w.currentTarget),c||Zl($.target),V=E(w,$.pointerType);let F=w.target;"releasePointerCapture"in F&&F.releasePointerCapture(w.pointerId),D(fe(w.currentTarget),"pointerup",k,!1),D(fe(w.currentTarget),"pointercancel",x,!1)}V&&w.stopPropagation()},T.onMouseDown=w=>{w.currentTarget.contains(w.target)&&w.button===0&&(xa(w.currentTarget)&&w.preventDefault(),w.stopPropagation())},T.onPointerUp=w=>{!w.currentTarget.contains(w.target)||$.pointerType==="virtual"||w.button===0&&C(w,$.pointerType||w.pointerType)},T.onPointerEnter=w=>{w.pointerId===$.activePointerId&&$.target&&!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,E(kt($.target,w),$.pointerType))},T.onPointerLeave=w=>{w.pointerId===$.activePointerId&&$.target&&$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,y(kt($.target,w),$.pointerType,!1),S(w))};let k=w=>{w.pointerId===$.activePointerId&&$.isPressed&&w.button===0&&$.target&&($.target.contains(w.target)&&$.pointerType!=null?y(kt($.target,w),$.pointerType):$.isOverTarget&&$.pointerType!=null&&y(kt($.target,w),$.pointerType,!1),$.isPressed=!1,$.isOverTarget=!1,$.activePointerId=null,$.pointerType=null,v(),c||qn($.target),"ontouchend"in $.target&&w.pointerType!=="mouse"&&D($.target,"touchend",z,{once:!0}))},z=w=>{Is(w.currentTarget)&&w.preventDefault()},x=w=>{B(w)};T.onDragStart=w=>{w.currentTarget.contains(w.target)&&B(w)}}else{T.onMouseDown=x=>{if(x.button!==0||!x.currentTarget.contains(x.target))return;if(xa(x.currentTarget)&&x.preventDefault(),$.ignoreEmulatedMouseEvents){x.stopPropagation();return}$.isPressed=!0,$.isOverTarget=!0,$.target=x.currentTarget,$.pointerType=qa(x.nativeEvent)?"virtual":"mouse",!i&&!s&&Oe(x.currentTarget),E(x,$.pointerType)&&x.stopPropagation(),D(fe(x.currentTarget),"mouseup",k,!1)},T.onMouseEnter=x=>{if(!x.currentTarget.contains(x.target))return;let w=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!0,w=E(x,$.pointerType)),w&&x.stopPropagation()},T.onMouseLeave=x=>{if(!x.currentTarget.contains(x.target))return;let w=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!1,w=y(x,$.pointerType,!1),S(x)),w&&x.stopPropagation()},T.onMouseUp=x=>{x.currentTarget.contains(x.target)&&!$.ignoreEmulatedMouseEvents&&x.button===0&&C(x,$.pointerType||"mouse")};let k=x=>{if(x.button===0){if($.isPressed=!1,v(),$.ignoreEmulatedMouseEvents){$.ignoreEmulatedMouseEvents=!1;return}$.target&&va(x,$.target)&&$.pointerType!=null?y(kt($.target,x),$.pointerType):$.target&&$.isOverTarget&&$.pointerType!=null&&y(kt($.target,x),$.pointerType,!1),$.isOverTarget=!1}};T.onTouchStart=x=>{if(!x.currentTarget.contains(x.target))return;let w=sg(x.nativeEvent);if(!w)return;$.activePointerId=w.identifier,$.ignoreEmulatedMouseEvents=!0,$.isOverTarget=!0,$.isPressed=!0,$.target=x.currentTarget,$.pointerType="touch",!i&&!s&&Oe(x.currentTarget),c||Zl($.target),E(Ot($.target,x),$.pointerType)&&x.stopPropagation(),D(ut(x.currentTarget),"scroll",z,!0)},T.onTouchMove=x=>{if(!x.currentTarget.contains(x.target))return;if(!$.isPressed){x.stopPropagation();return}let w=Jl(x.nativeEvent,$.activePointerId),V=!0;w&&va(w,x.currentTarget)?!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,V=E(Ot($.target,x),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,V=y(Ot($.target,x),$.pointerType,!1),S(Ot($.target,x))),V&&x.stopPropagation()},T.onTouchEnd=x=>{if(!x.currentTarget.contains(x.target))return;if(!$.isPressed){x.stopPropagation();return}let w=Jl(x.nativeEvent,$.activePointerId),V=!0;w&&va(w,x.currentTarget)&&$.pointerType!=null?(C(Ot($.target,x),$.pointerType),V=y(Ot($.target,x),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&(V=y(Ot($.target,x),$.pointerType,!1)),V&&x.stopPropagation(),$.isPressed=!1,$.activePointerId=null,$.isOverTarget=!1,$.ignoreEmulatedMouseEvents=!0,$.target&&!c&&qn($.target),v()},T.onTouchCancel=x=>{x.currentTarget.contains(x.target)&&(x.stopPropagation(),$.isPressed&&B(Ot($.target,x)))};let z=x=>{$.isPressed&&x.target.contains($.target)&&B({currentTarget:$.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};T.onDragStart=x=>{x.currentTarget.contains(x.target)&&B(x)}}return T},[D,i,s,v,c,B,S,y,E,C]);return o.useEffect(()=>()=>{var $;c||qn(($=h.current.target)!==null&&$!==void 0?$:void 0)},[c]),{isPressed:l||m,pressProps:N(p,R)}}function Hi(e){return e.tagName==="A"&&e.hasAttribute("href")}function ya(e,t){const{key:u,code:n}=e,r=t,a=r.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||n==="Space")&&!(r instanceof ut(r).HTMLInputElement&&!Ks(r,u)||r instanceof ut(r).HTMLTextAreaElement||r.isContentEditable)&&!((a==="link"||!a&&Hi(r))&&u!=="Enter")}function sg(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Jl(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 Ot(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 kt(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 dg(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 cg(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function va(e,t){let u=t.getBoundingClientRect(),n=dg(e);return cg(u,n)}function xa(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Is(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Hi(e)}function Ql(e,t){return e instanceof HTMLInputElement?!Ks(e,t):Is(e)}const fg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ks(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":fg.has(e.type)}const Ui=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),r=o.useContext(Bn);u=ge(u||(r==null?void 0:r.ref));let a=N(r||{},{...t,ref:u,register(){n.current=!0,r&&r.register()}});return ji(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(Bn.Provider,{value:a},e)});function pg({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(Bn.Provider,{value:t},e)}class mg{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,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 Ms(e){let t=o.useRef({isFocused:!1,observer:null});q(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let u=ae(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 mg("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])}function Gr(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=Ms(a),l=o.useCallback(s=>{const d=fe(s.target);s.target===s.currentTarget&&d.activeElement===s.target&&(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}}}let Mt=null,kn=new Set,hn=new Map,Cu=!1,ei=!1;const bg={Tab:!0,Escape:!0};function Zr(e,t){for(let u of kn)u(e,t)}function hg(e){return!(e.metaKey||!gt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Dr(e){Cu=!0,hg(e)&&(Mt="keyboard",Zr("keyboard",e))}function tt(e){Mt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Cu=!0,Zr("pointer",e))}function zs(e){qa(e)&&(Cu=!0,Mt="virtual")}function Vs(e){e.target===window||e.target===document||(!Cu&&!ei&&(Mt="virtual",Zr("virtual",e)),Cu=!1,ei=!1)}function Ns(){Cu=!1,ei=!0}function yr(e){if(typeof window>"u"||hn.get(ut(e)))return;const t=ut(e),u=fe(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Cu=!0,n.apply(this,arguments)},u.addEventListener("keydown",Dr,!0),u.addEventListener("keyup",Dr,!0),u.addEventListener("click",zs,!0),t.addEventListener("focus",Vs,!0),t.addEventListener("blur",Ns,!1),typeof PointerEvent<"u"?(u.addEventListener("pointerdown",tt,!0),u.addEventListener("pointermove",tt,!0),u.addEventListener("pointerup",tt,!0)):(u.addEventListener("mousedown",tt,!0),u.addEventListener("mousemove",tt,!0),u.addEventListener("mouseup",tt,!0)),t.addEventListener("beforeunload",()=>{js(e)},{once:!0}),hn.set(t,{focus:n})}const js=(e,t)=>{const u=ut(e),n=fe(e);t&&n.removeEventListener("DOMContentLoaded",t),hn.has(u)&&(u.HTMLElement.prototype.focus=hn.get(u).focus,n.removeEventListener("keydown",Dr,!0),n.removeEventListener("keyup",Dr,!0),n.removeEventListener("click",zs,!0),u.removeEventListener("focus",Vs,!0),u.removeEventListener("blur",Ns,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",tt,!0),n.removeEventListener("pointermove",tt,!0),n.removeEventListener("pointerup",tt,!0)):(n.removeEventListener("mousedown",tt,!0),n.removeEventListener("mousemove",tt,!0),n.removeEventListener("mouseup",tt,!0)),hn.delete(u))};function $g(e){const t=fe(e);let u;return t.readyState!=="loading"?yr(e):(u=()=>{yr(e)},t.addEventListener("DOMContentLoaded",u)),()=>js(e,u)}typeof document<"u"&&$g();function eu(){return Mt!=="pointer"}function tu(){return Mt}function Ls(e){Mt=e,Zr(e,null)}function Wi(){yr();let[e,t]=o.useState(Mt);return o.useEffect(()=>{let u=()=>{t(Mt)};return kn.add(u),()=>{kn.delete(u)}},[]),zt()?null:e}const gg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Dg(e,t,u){var n;const r=typeof window<"u"?ut(u==null?void 0:u.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?ut(u==null?void 0:u.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?ut(u==null?void 0:u.target).HTMLElement:HTMLElement,l=typeof window<"u"?ut(u==null?void 0:u.target).KeyboardEvent:KeyboardEvent;return e=e||(u==null?void 0:u.target)instanceof r&&!gg.has(u==null||(n=u.target)===null||n===void 0?void 0:n.type)||(u==null?void 0:u.target)instanceof a||(u==null?void 0:u.target)instanceof i&&(u==null?void 0:u.target.isContentEditable),!(e&&t==="keyboard"&&u instanceof l&&!bg[u.key])}function yg(e,t,u){yr(),o.useEffect(()=>{let n=(r,a)=>{Dg(!!(u!=null&&u.isTextInput),r,a)&&e(eu())};return kn.add(n),()=>{kn.delete(n)}},t)}function ft(e){let{isDisabled:t,onBlurWithin:u,onFocusWithin:n,onFocusWithinChange:r}=e,a=o.useRef({isFocusWithin:!1}),i=o.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,u&&u(d),r&&r(!1))},[u,r,a]),l=Ms(i),s=o.useCallback(d=>{!a.current.isFocusWithin&&document.activeElement===d.target&&(n&&n(d),r&&r(!0),a.current.isFocusWithin=!0,l(d))},[n,r,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:i}}}let vr=!1,Ca=0;function ti(){vr=!0,setTimeout(()=>{vr=!1},50)}function Xl(e){e.pointerType==="touch"&&ti()}function vg(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Xl):document.addEventListener("touchend",ti),Ca++,()=>{Ca--,!(Ca>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Xl):document.removeEventListener("touchend",ti))}}function De(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(vg,[]);let{hoverProps:s,triggerHoverEnd:d}=o.useMemo(()=>{let c=(m,b)=>{if(l.pointerType=b,r||b==="touch"||l.isHovered||!m.currentTarget.contains(m.target))return;l.isHovered=!0;let h=m.currentTarget;l.target=h,t&&t({type:"hoverstart",target:h,pointerType:b}),u&&u(!0),i(!0)},f=(m,b)=>{if(l.pointerType="",l.target=null,b==="touch"||!l.isHovered)return;l.isHovered=!1;let h=m.currentTarget;n&&n({type:"hoverend",target:h,pointerType:b}),u&&u(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{vr&&m.pointerType==="mouse"||c(m,m.pointerType)},p.onPointerLeave=m=>{!r&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!l.ignoreEmulatedMouseEvents&&!vr&&c(m,"mouse"),l.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!r&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,u,n,r,l]);return o.useEffect(()=>{r&&d({currentTarget:l.target},l.pointerType)},[r]),{hoverProps:s,isHovered:a}}function xg(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:r}=e,a=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ae(s=>{u&&Qn(s,t)&&(r&&r(s),a.current.isPointerDown=!0)}),l=ae(s=>{u&&u(s)});o.useEffect(()=>{let s=a.current;if(n)return;const d=t.current,c=fe(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&Qn(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&&Qn(m,t)&&l(m),s.isPointerDown=!1},p=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Qn(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 Qn(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&&!t.current.contains(e.target)}function eo(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 _s(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:eo(e.onKeyDown),onKeyUp:eo(e.onKeyUp)}}}const Cg=500;function Os(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:r,threshold:a=Cg,accessibilityDescription:i}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=Ni(),{pressProps:c}=We({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})),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=vt(r&&!t?i:void 0);return{longPressProps:N(c,f)}}function xe(e){const t=fe(e);if(tu()==="virtual"){let u=t.activeElement;vs(()=>{t.activeElement===u&&e.isConnected&&Oe(e)})}else Oe(e)}function Eg(e){const t=ut(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 Bg(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 Hs(e,t){return e.nodeName!=="#comment"&&Eg(e)&&Bg(e,t)&&(!e.parentElement||Hs(e.parentElement,e))}const to=o.createContext(null),ui="react-aria-focus-scope-restore";let ce=null;function Vn(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(to)||{},d=o.useMemo(()=>new ri({scopeRef:l}),[l]);q(()=>{let p=s||Be.root;if(Be.getTreeNode(p.scopeRef)&&ce&&!xr(ce,p.scopeRef)){let m=Be.getTreeNode(ce);m&&(p=m)}p.addChild(d),Be.addNode(d)},[d,s]),q(()=>{let p=Be.getTreeNode(l);p&&(p.contain=!!u)},[u]),q(()=>{var p;let m=(p=a.current)===null||p===void 0?void 0:p.nextSibling,b=[],h=D=>D.stopPropagation();for(;m&&m!==i.current;)b.push(m),m.addEventListener(ui,h),m=m.nextSibling;return l.current=b,()=>{for(let D of b)D.removeEventListener(ui,h)}},[t]),Tg(l,n,u),Ag(l,u),Rg(l,n,u),Fg(l,r),o.useEffect(()=>{const p=fe(l.current?l.current[0]:void 0).activeElement;let m=null;if(it(p,l.current)){for(let b of Be.traverse())b.scopeRef&&it(p,b.scopeRef.current)&&(m=b);m===Be.getTreeNode(l)&&(ce=m.scopeRef)}},[l]),q(()=>()=>{var p,m,b;let h=(b=(m=Be.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&b!==void 0?b:null;(l===ce||xr(l,ce))&&(!h||Be.getTreeNode(h))&&(ce=h),Be.removeTreeNode(l)},[l]);let c=o.useMemo(()=>kg(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(to.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 kg(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t,l=n||fe(u[0]).activeElement,s=u[0].previousElementSibling,d=gu(u),c=Pe(d,{tabbable:r,accept:i},u);c.currentNode=it(l,u)?l:s;let f=c.nextNode();return!f&&a&&(c.currentNode=s,f=c.nextNode()),f&&_e(f,!0),f},focusPrevious(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t,l=n||fe(u[0]).activeElement,s=u[u.length-1].nextElementSibling,d=gu(u),c=Pe(d,{tabbable:r,accept:i},u);c.currentNode=it(l,u)?l:s;let f=c.previousNode();return!f&&a&&(c.currentNode=s,f=c.previousNode()),f&&_e(f,!0),f},focusFirst(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=gu(u),i=Pe(a,{tabbable:n,accept:r},u);i.currentNode=u[0].previousElementSibling;let l=i.nextNode();return l&&_e(l,!0),l},focusLast(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=gu(u),i=Pe(a,{tabbable:n,accept:r},u);i.currentNode=u[u.length-1].nextElementSibling;let l=i.previousNode();return l&&_e(l,!0),l}}}const Gi=["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"])'],Us=Gi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Gi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Pg=Gi.join(':not([hidden]):not([tabindex="-1"]),');function Sg(e){return e.matches(Us)}function gu(e){return e[0].parentElement}function cn(e){let t=Be.getTreeNode(ce);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Ag(e,t){let u=o.useRef(void 0),n=o.useRef(void 0);q(()=>{let r=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=fe(r?r[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!cn(e)||d.isComposing)return;let c=a.activeElement,f=e.current;if(!f||!it(c,f))return;let p=gu(f),m=Pe(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&&_e(b,!0)},l=d=>{(!ce||xr(ce,e))&&it(d.target,e.current)?(ce=e,u.current=d.target):cn(e)&&!qt(d.target,e)?u.current?u.current.focus():ce&&ce.current&&ni(ce.current):cn(e)&&(u.current=d.target)},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=tu();if(!((c==="virtual"||c===null)&&yn()&&hs())&&a.activeElement&&cn(e)&&!qt(a.activeElement,e))if(ce=e,a.body.contains(d.target)){var p;u.current=d.target,(p=u.current)===null||p===void 0||p.focus()}else ce.current&&ni(ce.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]),q(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Ws(e){return qt(e)}function it(e,t){return!e||!t?!1:t.some(u=>u.contains(e))}function qt(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:u}of Be.traverse(Be.getTreeNode(t)))if(u&&it(e,u.current))return!0;return!1}function wg(e){return qt(e,ce)}function xr(e,t){var u;let n=(u=Be.getTreeNode(t))===null||u===void 0?void 0:u.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function _e(e,t=!1){if(e!=null&&!t)try{xe(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Gs(e,t=!0){let u=e[0].previousElementSibling,n=gu(e),r=Pe(n,{tabbable:t},e);r.currentNode=u;let a=r.nextNode();return t&&!a&&(n=gu(e),r=Pe(n,{tabbable:!1},e),r.currentNode=u,a=r.nextNode()),a}function ni(e,t=!0){_e(Gs(e,t))}function Fg(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){ce=e;const n=fe(e.current?e.current[0]:void 0);!it(n.activeElement,ce.current)&&e.current&&ni(e.current)}u.current=!1},[e])}function Tg(e,t,u){q(()=>{if(t||u)return;let n=e.current;const r=fe(n?n[0]:void 0);let a=i=>{let l=i.target;it(l,e.current)?ce=e:Ws(l)||(ce=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 uo(e){let t=Be.getTreeNode(ce);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Rg(e,t,u){const n=o.useRef(typeof document<"u"?fe(e.current?e.current[0]:void 0).activeElement:null);q(()=>{let r=e.current;const a=fe(r?r[0]:void 0);if(!t||u)return;let i=()=>{(!ce||xr(ce,e))&&it(a.activeElement,e.current)&&(ce=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]),q(()=>{const r=fe(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!cn(e)||i.isComposing)return;let l=r.activeElement;if(!qt(l,e)||!uo(e))return;let s=Be.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=Pe(r.body,{tabbable:!0});c.currentNode=l;let f=i.shiftKey?c.previousNode():c.nextNode();if((!d||!r.body.contains(d)||d===r.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!qt(f,e))&&d){c.currentNode=d;do f=i.shiftKey?c.previousNode():c.nextNode();while(qt(f,e));i.preventDefault(),i.stopPropagation(),f?_e(f,!0):Ws(d)?_e(d,!0):l.blur()}};return u||r.addEventListener("keydown",a,!0),()=>{u||r.removeEventListener("keydown",a,!0)}},[e,t,u]),q(()=>{const r=fe(e.current?e.current[0]:void 0);if(!t)return;let a=Be.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=Be.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(r.activeElement&&qt(r.activeElement,e)||r.activeElement===r.body&&uo(e))){let d=Be.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let c=d.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){no(c.nodeToRestore);return}c=c.parent}for(c=d.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&Be.getTreeNode(c.scopeRef)){let f=Gs(c.scopeRef.current,!0);no(f);return}c=c.parent}}})}}}},[e,t])}function no(e){e.dispatchEvent(new CustomEvent(ui,{bubbles:!0,cancelable:!0}))&&_e(e)}function Pe(e,t,u){let n=t!=null&&t.tabbable?Pg:Us,r=fe(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&Hs(a)&&(!u||it(a,u))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(r.currentNode=t.from),r}function qr(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||fe(n).activeElement,d=Pe(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&&_e(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||fe(n).activeElement,d=Pe(n,{tabbable:a,accept:l});if(n.contains(s))d.currentNode=s;else{let f=Ea(d);return f&&_e(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=Ea(d);if(!f)return null;c=f}return c&&_e(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=Pe(n,{tabbable:r,accept:a}).nextNode();return l&&_e(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=Pe(n,{tabbable:r,accept:a}),l=Ea(i);return l&&_e(l,!0),l??null}}}function Ea(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Zi{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 ri({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&&it(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 Zi;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 ri({scopeRef:null}),this.fastMap.set(null,this.root)}}class ri{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 Be=new Zi;function oe(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,r=o.useRef({isFocused:!1,isFocusVisible:t||eu()}),[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]);yg(m=>{r.current.isFocusVisible=m,d()},[],{isTextInput:u});let{focusProps:f}=Gr({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=ft({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:l,focusProps:n?p:f}}let Zs=o.createContext(null);function Ig(e){let t=o.useContext(Zs)||{};ji(t,e);let{ref:u,...n}=t;return n}const Kg=o.forwardRef(function(t,u){let{children:n,...r}=t,a=ge(u),i={...r,ref:a};return o.createElement(Zs.Provider,{value:i},n)});function Su(e,t){let{focusProps:u}=Gr(e),{keyboardProps:n}=_s(e),r=N(u,n),a=Ig(t),i=e.isDisabled?{}:a,l=o.useRef(e.autoFocus);return o.useEffect(()=>{l.current&&t.current&&xe(t.current),l.current=!1},[t]),{focusableProps:N({...r,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function qi(e,t){let u=t==null?void 0:t.isDisabled,[n,r]=o.useState(!1);return q(()=>{if(e!=null&&e.current&&!u){let a=()=>{if(e.current){let l=Pe(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 Mg(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}=Su(e,t),{pressProps:f,isPressed:p}=We({onPress:n,onPressStart:r,onPressEnd:a,isDisabled:l,ref:t}),m=_(s,{labelable:!0}),b=N(c,f),h=Pu(),D=Hr(e);return{isPressed:p,linkProps:N(m,D,{...b,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:v=>{var E;(E=f.onClick)===null||E===void 0||E.call(f,v),i&&(i(v),console.warn("onClick is deprecated, please use onPress")),!h.isNative&&v.currentTarget instanceof HTMLAnchorElement&&v.currentTarget.href&&!v.isDefaultPrevented()&&Ds(v.currentTarget,v)&&e.href&&(v.preventDefault(),h.open(v.currentTarget,v,e.href,e.routerOptions))}})}}var qs={};qs={breadcrumbs:"عناصر الواجهة"};var Ys={};Ys={breadcrumbs:"Трохи хляб"};var Js={};Js={breadcrumbs:"Popis cesty"};var Qs={};Qs={breadcrumbs:"Brødkrummer"};var Xs={};Xs={breadcrumbs:"Breadcrumbs"};var ed={};ed={breadcrumbs:"Πλοηγήσεις breadcrumb"};var td={};td={breadcrumbs:"Breadcrumbs"};var ud={};ud={breadcrumbs:"Migas de pan"};var nd={};nd={breadcrumbs:"Lingiread"};var rd={};rd={breadcrumbs:"Navigointilinkit"};var ad={};ad={breadcrumbs:"Chemin de navigation"};var id={};id={breadcrumbs:"שבילי ניווט"};var ld={};ld={breadcrumbs:"Navigacijski putovi"};var od={};od={breadcrumbs:"Morzsamenü"};var sd={};sd={breadcrumbs:"Breadcrumb"};var dd={};dd={breadcrumbs:"パンくずリスト"};var cd={};cd={breadcrumbs:"탐색 표시"};var fd={};fd={breadcrumbs:"Naršymo kelias"};var pd={};pd={breadcrumbs:"Atpakaļceļi"};var md={};md={breadcrumbs:"Navigasjonsstier"};var bd={};bd={breadcrumbs:"Broodkruimels"};var hd={};hd={breadcrumbs:"Struktura nawigacyjna"};var $d={};$d={breadcrumbs:"Caminho detalhado"};var gd={};gd={breadcrumbs:"Categorias"};var Dd={};Dd={breadcrumbs:"Miez de pâine"};var yd={};yd={breadcrumbs:"Навигация"};var vd={};vd={breadcrumbs:"Navigačné prvky Breadcrumbs"};var xd={};xd={breadcrumbs:"Drobtine"};var Cd={};Cd={breadcrumbs:"Putanje navigacije"};var Ed={};Ed={breadcrumbs:"Sökvägar"};var Bd={};Bd={breadcrumbs:"İçerik haritaları"};var kd={};kd={breadcrumbs:"Навігаційна стежка"};var Pd={};Pd={breadcrumbs:"导航栏"};var Sd={};Sd={breadcrumbs:"導覽列"};var Ad={};Ad={"ar-AE":qs,"bg-BG":Ys,"cs-CZ":Js,"da-DK":Qs,"de-DE":Xs,"el-GR":ed,"en-US":td,"es-ES":ud,"et-EE":nd,"fi-FI":rd,"fr-FR":ad,"he-IL":id,"hr-HR":ld,"hu-HU":od,"it-IT":sd,"ja-JP":dd,"ko-KR":cd,"lt-LT":fd,"lv-LV":pd,"nb-NO":md,"nl-NL":bd,"pl-PL":hd,"pt-BR":$d,"pt-PT":gd,"ro-RO":Dd,"ru-RU":yd,"sk-SK":vd,"sl-SI":xd,"sr-SP":Cd,"sv-SE":Ed,"tr-TR":Bd,"uk-UA":kd,"zh-CN":Pd,"zh-TW":Sd};const zg=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Vg=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Ng(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 zg.has(u.script)}let t=e.split("-")[0];return Vg.has(t)}const jg=Symbol.for("react-aria.i18n.locale");function wd(){let e=typeof window<"u"&&window[jg]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Ng(e)?"rtl":"ltr"}}let ai=wd(),fn=new Set;function ro(){ai=wd();for(let e of fn)e(ai)}function Lg(){let e=zt(),[t,u]=o.useState(ai);return o.useEffect(()=>(fn.size===0&&window.addEventListener("languagechange",ro),fn.add(u),()=>{fn.delete(u),fn.size===0&&window.removeEventListener("languagechange",ro)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const _g=o.createContext(null);function pe(){let e=Lg();return o.useContext(_g)||e}const Og=Symbol.for("react-aria.i18n.locale"),Hg=Symbol.for("react-aria.i18n.strings");let Ru;class iu{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=Ug(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[Og];if(Ru===void 0){let r=window[Hg];if(!r)return null;Ru={};for(let a in r)Ru[a]=new iu({[u]:r[a]},u)}let n=Ru==null?void 0:Ru[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 Ug(e,t,u="en-US"){if(t[e])return t[e];let n=Wg(e);if(t[n])return t[n];for(let r in t)if(r.startsWith(n+"-"))return t[r];return t[u]}function Wg(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const ao=new Map,io=new Map;class Fd{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=ao.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),ao.set(a,i));let l=i.select(t);return r=u[l]||u.other,typeof r=="function"?r():r}number(t){let u=io.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),io.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 lo=new WeakMap;function Gg(e){let t=lo.get(e);return t||(t=new iu(e),lo.set(e,t)),t}function Td(e,t){return t&&iu.getGlobalDictionaryForPackage(t)||Gg(e)}function be(e,t){let{locale:u}=pe(),n=Td(e,t);return o.useMemo(()=>new Fd(u,n),[u,n])}function Uu(e,t){return e-t*Math.floor(e/t)}const Rd=1721426;function Du(e,t,u,n){t=Nn(e,t);let r=t-1,a=-2;return u<=2?a=0:Yt(t)&&(a=-1),Rd-1+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*u-362)/12+a+n)}function Yt(e){return e%4===0&&(e%100!==0||e%400===0)}function Nn(e,t){return e==="BC"?1-t:t}function Yr(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Zg={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 He{fromJulianDay(t){let u=t,n=u-Rd,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]=Yr(f),b=u-Du(p,m,1,1),h=2;u<Du(p,m,3,1)?h=0:Yt(m)&&(h=1);let D=Math.floor(((b+h)*12+373)/367),v=u-Du(p,m,D,1)+1;return new Se(p,m,D,v)}toJulianDay(t){return Du(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Zg[Yt(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Yt(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 qg={"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 ke(e,t){return t=he(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Yg(e,t){return t=he(t,e.calendar),e=Eu(e),t=Eu(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function ii(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 Jg(e,t){return ke(e,Ji(t))}const Qg={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Yi(e,t,u){let n=e.calendar.toJulianDay(e),r=u?Qg[u]:r2(t),a=Math.ceil(n+1-r)%7;return a<0&&(a+=7),a}function Id(e){return Tt(Date.now(),e)}function Ji(e){return je(Id(e))}function Kd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Md(e,t){return oo(e)-oo(t)}function oo(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Ba=null;function Qi(){return Ba==null&&(Ba=new Intl.DateTimeFormat().resolvedOptions().timeZone),Ba}function Eu(e){return e.subtract({days:e.day-1})}function Cr(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function Xg(e){return Eu(e.subtract({months:e.month-1}))}function e2(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function t2(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Pn(e,t,u){let n=Yi(e,t,u);return e.subtract({days:n})}function u2(e,t,u){return Pn(e,t,u).add({days:6})}const so=new Map;function n2(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 r2(e){let t=n2(e);return t&&qg[t]||0}function a2(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil((Yi(Eu(e),t,u)+n)/7)}function Xi(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function el(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Ju(e){e=he(e,new He);let t=Nn(e.era,e.year);return zd(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function zd(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 li(e,t){if(t==="UTC")return 0;if(e>0&&t===Qi())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:r,hour:a,minute:i,second:l}=Vd(e,t);return zd(u,n,r,a,i,l,0)-Math.floor(e/1e3)*1e3}const co=new Map;function Vd(e,t){let u=co.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"}),co.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 fo=864e5;function i2(e,t,u,n){return(u===n?[u]:[u,n]).filter(a=>l2(e,t,a))}function l2(e,t,u){let n=Vd(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 wt(e,t,u="compatible"){let n=yt(e);if(t==="UTC")return Ju(n);if(t===Qi()&&u==="compatible"){n=he(n,new He);let s=new Date,d=Nn(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=Ju(n),a=li(r-fo,t),i=li(r+fo,t),l=i2(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 Nd(e,t,u="compatible"){return new Date(wt(e,t,u))}function Tt(e,t){let u=li(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 An(r<1?"BC":"AD",r<1?-r+1:r,a,i,t,u,l,s,d,c)}function je(e){return new Se(e.calendar,e.era,e.year,e.month,e.day)}function yt(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 Er(e.calendar,e.era,e.year,e.month,e.day,u,n,r,a)}function he(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 o2(e,t,u){if(e instanceof An)return e.timeZone===t?e:d2(e,t);let n=wt(e,t,u);return Tt(n,t)}function s2(e){let t=Ju(e)-e.offset;return new Date(t)}function d2(e,t){let u=Ju(e)-e.offset;return he(Tt(u,t),e.calendar)}const un=36e5;function Jr(e,t){let u=e.copy(),n="hour"in u?Od(u,t):0;oi(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,si(u),jd(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,c2(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 oi(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;)oi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,oi(e,1)}function c2(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 jd(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)),jd(e)}function tl(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function Ld(e,t){return Jr(e,tl(t))}function ul(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 Sn(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),_d(u),u}function f2(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Xn(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Xn(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Xn(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Xn(e.hour,24),t}function _d(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 Xn(e,t){let u=e%t;return u<0&&(u+=t),u}function Od(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,f2(e)}function Hd(e,t){let u=e.copy();return Od(u,t),u}function p2(e,t){return Hd(e,tl(t))}function nl(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 rl(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 Ud(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=Jr(yt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=wt(r,e.timeZone)}else u=Ju(e)-e.offset;u+=t.milliseconds||0,u+=(t.seconds||0)*1e3,u+=(t.minutes||0)*6e4,u+=(t.hours||0)*36e5;let n=Tt(u,e.timeZone);return he(n,e.calendar)}function m2(e,t){return Ud(e,tl(t))}function b2(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=yt(e),l=he(Sn(i,{hour:r}),new He),s=[wt(l,e.timeZone,"earlier"),wt(l,e.timeZone,"later")].filter(b=>Tt(b,e.timeZone).day===l.day)[0],d=he(Sn(i,{hour:a}),new He),c=[wt(d,e.timeZone,"earlier"),wt(d,e.timeZone,"later")].filter(b=>Tt(b,e.timeZone).day===d.day).pop(),f=Ju(e)-e.offset,p=Math.floor(f/un),m=f%un;return f=Rt(p,u,Math.floor(s/un),Math.floor(c/un),n==null?void 0:n.round)*un+m,he(Tt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return rl(e,t,u,n);case"era":case"year":case"month":case"day":{let r=nl(yt(e),t,u,n),a=wt(r,e.timeZone);return he(Tt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function h2(e,t,u){let n=yt(e),r=Sn(ul(n,t),t);if(r.compare(n)===0)return e;let a=wt(r,e.timeZone,u);return he(Tt(a,e.timeZone),e.calendar)}function Wd(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 Gd(e){let t=he(e,new He),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 Zd(e){return`${Gd(e)}T${Wd(e)}`}function $2(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 g2(e){return`${Zd(e)}${$2(e.offset)}[${e.timeZone}]`}function al(e){let t=typeof e[0]=="object"?e.shift():new He,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 D2=new WeakMap;class Se{copy(){return this.era?new Se(this.calendar,this.era,this.year,this.month,this.day):new Se(this.calendar,this.year,this.month,this.day)}add(t){return Jr(this,t)}subtract(t){return Ld(this,t)}set(t){return ul(this,t)}cycle(t,u,n){return nl(this,t,u,n)}toDate(t){return Nd(this,t)}toString(){return Gd(this)}compare(t){return Kd(this,t)}constructor(...t){zn(this,D2,{writable:!0,value:void 0});let[u,n,r,a,i]=al(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,Bu(this)}}var y2=new WeakMap;class il{copy(){return new il(this.hour,this.minute,this.second,this.millisecond)}add(t){return Hd(this,t)}subtract(t){return p2(this,t)}set(t){return Sn(this,t)}cycle(t,u,n){return rl(this,t,u,n)}toString(){return Wd(this)}compare(t){return Md(this,t)}constructor(t=0,u=0,n=0,r=0){zn(this,y2,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,_d(this)}}var v2=new WeakMap;class Er{copy(){return this.era?new Er(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Er(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Jr(this,t)}subtract(t){return Ld(this,t)}set(t){return ul(Sn(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return nl(this,t,u,n);default:return rl(this,t,u,n)}}toDate(t,u){return Nd(this,t,u)}toString(){return Zd(this)}compare(t){let u=Kd(this,t);return u===0?Md(this,yt(t)):u}constructor(...t){zn(this,v2,{writable:!0,value:void 0});let[u,n,r,a,i]=al(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 x2=new WeakMap;class An{copy(){return this.era?new An(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new An(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ud(this,t)}subtract(t){return m2(this,t)}set(t,u){return h2(this,t,u)}cycle(t,u,n){return b2(this,t,u,n)}toDate(){return s2(this)}toString(){return g2(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-o2(t,this.timeZone).toDate().getTime()}constructor(...t){zn(this,x2,{writable:!0,value:void 0});let[u,n,r,a,i]=al(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]],C2=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],pr=[1867,1911,1925,1988,2018],Wt=["meiji","taisho","showa","heisei","reiwa"];function po(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 ka(e){let t=pr[Wt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Se(e.year+t,e.month,e.day)}class E2 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=po(u);return new Se(this,Wt[n],u.year-pr[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(ka(t))}balanceDate(t){let u=ka(t),n=po(u);Wt[n]!==t.era&&(t.era=Wt[n],t.year=u.year-pr[n]),this.constrainDate(t)}constrainDate(t){let u=Wt.indexOf(t.era),n=C2[u];if(n!=null){let[r,a,i]=n,l=r-pr[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 Wt}getYearsInEra(t){let u=Wt.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(ka(t))}getMinimumMonthInYear(t){let u=mo(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=mo(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function mo(e){if(e.year===1){let t=Wt.indexOf(e.era);return Wu[t]}}const qd=-543;class B2 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=Nn(u.era,u.year);return new Se(this,n-qd,u.month,u.day)}toJulianDay(t){return super.toJulianDay(bo(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(bo(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function bo(e){let[t,u]=Yr(e.year+qd);return new Se(t,u,e.month,e.day)}const Br=1911;function Yd(e){return e.era==="minguo"?e.year+Br:1-e.year+Br}function ho(e){let t=e-Br;return t>0?["minguo",t]:["before_minguo",1-t]}class k2 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=Nn(u.era,u.year),[r,a]=ho(n);return new Se(this,r,a,u.month,u.day)}toJulianDay(t){return super.toJulianDay($o(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=ho(Yd(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth($o(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Br}constructor(...t){super(...t),this.identifier="roc"}}function $o(e){let[t,u]=Yr(Yd(e));return new Se(t,u,e.month,e.day)}const go=1948320,Do=[0,31,62,93,124,155,186,216,246,276,306,336];class P2{fromJulianDay(t){let u=t-go,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-Do[i]+1;return new Se(this,n,i+1,l)}toJulianDay(t){let u=go-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=Do[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 Pa=78,yo=80;class S2 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-Pa,r=t-Du(u.era,u.year,1,1),a;r<yo?(n--,a=Yt(u.year-1)?31:30,r+=a+155+90+10):(a=Yt(u.year)?31:30,r-=yo);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 Se(this,n,i,l)}toJulianDay(t){let u=t.year+Pa,[n,r]=Yr(u),a,i;return Yt(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&&Yt(t.year+Pa)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const kr=1948440,vo=1948439,et=1300,Iu=1600,A2=460322;function Pr(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Jd(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),r=Math.min(12,Math.ceil((u-(29+Pr(t,n,1,1)))/29.5)+1),a=u-Pr(t,n,r,1)+1;return new Se(e,n,r,a)}function xo(e){return(14+11*e)%30<11}class ll{fromJulianDay(t){return Jd(this,kr,t)}toJulianDay(t){return Pr(kr,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&xo(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return xo(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class w2 extends ll{fromJulianDay(t){return Jd(this,vo,t)}toJulianDay(t){return Pr(vo,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const F2="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let di,Gu;function mr(e){return A2+Gu[e-et]}function pn(e,t){let u=e-et,n=1<<11-(t-1);return di[u]&n?30:29}function Co(e,t){let u=mr(e);for(let n=1;n<t;n++)u+=pn(e,n);return u}function Eo(e){return Gu[e+1-et]-Gu[e-et]}class T2 extends ll{fromJulianDay(t){let u=t-kr,n=mr(et),r=mr(Iu);if(u<n||u>r)return super.fromJulianDay(t);{let a=et-1,i=1,l=1;for(;l>0;){a++,l=u-mr(a)+1;let s=Eo(a);if(l===s){i=12;break}else if(l<s){let d=pn(a,i);for(i=1;l>d;)l-=d,i++,d=pn(a,i);break}}return new Se(this,a,i,u-Co(a,i)+1)}}toJulianDay(t){return t.year<et||t.year>Iu?super.toJulianDay(t):kr+Co(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<et||t.year>Iu?super.getDaysInMonth(t):pn(t.year,t.month)}getDaysInYear(t){return t.year<et||t.year>Iu?super.getDaysInYear(t):Eo(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",di||(di=new Uint16Array(Uint8Array.from(atob(F2),t=>t.charCodeAt(0)).buffer)),!Gu){Gu=new Uint32Array(Iu-et+1);let t=0;for(let u=et;u<=Iu;u++){Gu[u-et]=t;for(let n=1;n<=12;n++)t+=pn(u,n)}}}}const Bo=347997,Qd=1080,Xd=24*Qd,R2=29,I2=12*Qd+793,K2=R2*Xd+I2;function $u(e){return Uu(e*7+1,19)<7}function br(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 M2(e){let t=br(e-1),u=br(e);return br(e+1)-u===356?2:u-t===382?1:0}function $n(e){return br(e)+M2(e)}function ec(e){return $n(e+1)-$n(e)}function z2(e){let t=ec(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function er(e,t){if(t>=6&&!$u(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=z2(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?$u(e)?30:0:30}class V2{fromJulianDay(t){let u=t-Bo,n=u*Xd/K2,r=Math.floor((19*n+234)/235)+1,a=$n(r),i=Math.floor(u-a);for(;i<1;)r--,a=$n(r),i=Math.floor(u-a);let l=1,s=0;for(;s<i;)s+=er(r,l),l++;l--,s-=er(r,l);let d=i-s;return new Se(this,r,l,d)}toJulianDay(t){let u=$n(t.year);for(let n=1;n<t.month;n++)u+=er(t.year,n);return u+t.day+Bo}getDaysInMonth(t){return er(t.year,t.month)}getMonthsInYear(t){return $u(t.year)?13:12}getDaysInYear(t){return ec(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&($u(u.year)&&!$u(t.year)&&u.month>6?t.month--:!$u(u.year)&&$u(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const ci=1723856,ko=1824665,fi=5500;function Sr(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function ol(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Sr(e,u,1,1))/30),r=t+1-Sr(e,u,n,1);return[u,n,r]}function tc(e){return Math.floor(e%4/3)}function uc(e,t){return t%13!==0?30:tc(e)+5}class sl{fromJulianDay(t){let[u,n,r]=ol(ci,t),a="AM";return u<=0&&(a="AA",u+=fi),new Se(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=fi),Sr(ci,u,t.month,t.day)}getDaysInMonth(t){return uc(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+tc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class N2 extends sl{fromJulianDay(t){let[u,n,r]=ol(ci,t);return u+=fi,new Se(this,"AA",u,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class j2 extends sl{fromJulianDay(t){let[u,n,r]=ol(ko,t),a="CE";return u<=0&&(a="BCE",u=1-u),new Se(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Sr(ko,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),uc(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 dl(e){switch(e){case"buddhist":return new B2;case"ethiopic":return new sl;case"ethioaa":return new N2;case"coptic":return new j2;case"hebrew":return new V2;case"indian":return new S2;case"islamic-civil":return new ll;case"islamic-tbla":return new w2;case"islamic-umalqura":return new T2;case"japanese":return new E2;case"persian":return new P2;case"roc":return new k2;case"gregory":default:return new He}}let Sa=new Map;class nt{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 O2()&&(this.resolvedHourCycle||(this.resolvedHourCycle=H2(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=nc(t,u),this.options=u}}const L2={true:{ja:"h11"},false:{}};function nc(e,t={}){if(typeof t.hour12=="boolean"&&_2()){t={...t};let r=L2[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(Sa.has(u))return Sa.get(u);let n=new Intl.DateTimeFormat(e,t);return Sa.set(u,n),n}let Aa=null;function _2(){return Aa==null&&(Aa=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Aa}let wa=null;function O2(){return wa==null&&(wa=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),wa}function H2(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=nc(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 mt(e){e=Cs(e??{},U2);let{locale:t}=pe();return o.useMemo(()=>new nt(t,e),[t,e])}function U2(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 Fa=new Map,pi=!1;try{pi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Ar=!1;try{Ar=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const rc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class W2{format(t){let u="";if(!pi&&this.options.signDisplay!=null?u=Z2(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!Ar){var n;let{unit:r,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!r)return u;let l=(n=rc[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!pi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Ar&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=G2(t,u),this.options=u}}function G2(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!Ar){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=rc[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(Fa.has(r))return Fa.get(r);let a=new Intl.NumberFormat(e,t);return Fa.set(r,a),a}function Z2(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 q2=new RegExp("^.*\\(.*\\).*$"),Y2=["latn","arab","hanidec","deva","beng"];class ac{parse(t){return Ta(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return Ta(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return Ta(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const Po=new Map;function Ta(e,t,u){let n=So(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let r of Y2)if(r!==n.options.numberingSystem){let a=So(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(a.isValidPartialNumber(u))return a}}return n}function So(e,t){let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():""),n=Po.get(u);return n||(n=new J2(e,t),Po.set(u,n)),n}class J2{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=tr(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 ac(this.locale,i).parse(new W2(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&q2.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=tr(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=tr(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=tr(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=X2(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 Ao=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Q2=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function X2(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=Q2.map(A=>s.formatToParts(A));var p;let m=(p=(r=d.find(A=>A.type==="minusSign"))===null||r===void 0?void 0:r.value)!==null&&p!==void 0?p:"-",b=(a=c.find(A=>A.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 D=(i=new Intl.NumberFormat(e,{...u,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(A=>A.type==="decimal"))===null||i===void 0?void 0:i.value,v=(l=d.find(A=>A.type==="group"))===null||l===void 0?void 0:l.value,E=d.filter(A=>!Ao.has(A.type)).map(A=>wo(A.value)),y=f.flatMap(A=>A.filter(k=>!Ao.has(k.type)).map(k=>wo(k.value))),C=[...new Set([...E,...y])].sort((A,k)=>k.length-A.length),B=C.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(u.locale,{useGrouping:!1}).format(9876543210)].reverse(),R=new Map(S.map((A,k)=>[A,k])),$=new RegExp(`[${S.join("")}]`,"g");return{minusSign:m,plusSign:b,decimal:D,group:v,literals:B,numeral:$,index:A=>String(R.get(A))}}function tr(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function wo(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let Ra=new Map;function Au(e){let{locale:t}=pe(),u=t+(e?Object.entries(e).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Ra.has(u))return Ra.get(u);let n=new Intl.Collator(t,e);return Ra.set(u,n),n}function ic(e){let t=Au({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 eD(e){return e&&e.__esModule?e.default:e}function tD(e){let{"aria-label":t,...u}=e,n=be(eD(Ad),"@react-aria/breadcrumbs");return{navProps:{..._(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function lc(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:h="button"}=e,D;u==="button"?D={type:h,disabled:n}:D={role:"button",tabIndex:n?void 0:0,href:u==="a"&&!n?p:void 0,target:u==="a"?m:void 0,type:u==="input"?h:void 0,disabled:u==="input"?n:void 0,"aria-disabled":!n||u==="input"?void 0:n,rel:u==="a"?b:void 0};let{pressProps:v,isPressed:E}=We({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:r,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:y}=Su(e,t);c&&(y.tabIndex=n?-1:y.tabIndex);let C=N(y,v,_(e,{labelable:!0}));return{isPressed:E,buttonProps:N(D,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:B=>{f&&(f(B),console.warn("onClick is deprecated, please use onPress"))}})}}var oc={};oc={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 sc={};sc={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 dc={};dc={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 cc={};cc={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 fc={};fc={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 pc={};pc={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={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 bc={};bc={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 hc={};hc={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 $c={};$c={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 gc={};gc={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 Dc={};Dc={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 yc={};yc={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 vc={};vc={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 xc={};xc={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 Cc={};Cc={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 Ec={};Ec={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 Bc={};Bc={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 kc={};kc={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 Pc={};Pc={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 Sc={};Sc={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 Ac={};Ac={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 wc={};wc={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 Fc={};Fc={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 Tc={};Tc={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 Rc={};Rc={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 Ic={};Ic={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 Kc={};Kc={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 Mc={};Mc={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 zc={};zc={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 Vc={};Vc={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 Nc={};Nc={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 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 jn={};jn={"ar-AE":oc,"bg-BG":sc,"cs-CZ":dc,"da-DK":cc,"de-DE":fc,"el-GR":pc,"en-US":mc,"es-ES":bc,"et-EE":hc,"fi-FI":$c,"fr-FR":gc,"he-IL":Dc,"hr-HR":yc,"hu-HU":vc,"it-IT":xc,"ja-JP":Cc,"ko-KR":Ec,"lt-LT":Bc,"lv-LV":kc,"nb-NO":Pc,"nl-NL":Sc,"pl-PL":Ac,"pt-BR":wc,"pt-PT":Fc,"ro-RO":Tc,"ru-RU":Rc,"sk-SK":Ic,"sl-SI":Kc,"sr-SP":Mc,"sv-SE":zc,"tr-TR":Vc,"uk-UA":Nc,"zh-CN":jc,"zh-TW":Lc};function _c(e){return e&&e.__esModule?e.default:e}const cl=new WeakMap;function wn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function uD(e){let t=be(_c(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=mt({weekday:"long",month:"long",year:"numeric",day:"numeric",era:wn(u)||wn(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!i&&u&&n)if(ke(u,n)){let l=a.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=bi(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=be(_c(jn),"@react-aria/calendar"),a=wn(e)||wn(t),i=mt({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u}),l=mt({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(ke(e,Eu(e))){if(ke(t,Cr(e)))return i.format(e.toDate(u));if(ke(t,Cr(t)))return n?bi(i,r,e,t,u):i.formatRange(e.toDate(u),t.toDate(u))}return n?bi(l,r,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,i,l,r,u,n])}function bi(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 Oc=7e3;let Qe=null;function $t(e,t="assertive",u=Oc){Qe?Qe.announce(e,t,u):(Qe=new rD,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Qe.announce(e,t,u):setTimeout(()=>{Qe!=null&&Qe.isAttached()&&(Qe==null||Qe.announce(e,t,u))},100))}function nD(e){Qe&&Qe.clear(e)}class rD{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=Oc){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 aD(e){return e&&e.__esModule?e.default:e}function Hc(e,t){let u=be(aD(jn),"@react-aria/calendar"),n=_(e),r=mi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=mi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);$r(()=>{t.isFocused||$t(a)},[a]);let i=uD(t);$r(()=>{i&&$t(i,"polite",4e3)},[i]);let l=rt([!!e.errorMessage,e.isInvalid,e.validationState]);cl.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(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 iD(e,t){return Hc(e,t)}function lD(e,t,u){let n=Hc(e,t),r=o.useRef(!1),a=o.useRef(typeof window<"u"?window:null);return st(a,"pointerdown",l=>{r.current=l.width===0&&l.height===0}),st(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()},st(u,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function oD(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}=cl.get(t),c=Dt({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=mt({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=pe(),m=o.useMemo(()=>{let b=Pn(Ji(t.timeZone),p,r);return[...new Array(7).keys()].map(h=>{let v=b.add({days:h}).toDate(t.timeZone);return f.format(v)})},[p,t.timeZone,f,r]);return{gridProps:N(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 sD(e){return e&&e.__esModule?e.default:e}function dD(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:a,selectedDateDescription:i}=cl.get(t),l=be(sD(jn),"@react-aria/calendar"),s=mt({weekday:"long",day:"numeric",month:"long",year:"numeric",era:wn(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&&ke(t.value,n));m&&(d=!0),n=Cs(n,ii);let b=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),h=Jg(n,t.timeZone),D=o.useMemo(()=>{let k="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(ke(n,t.value.start)||ke(n,t.value.end))&&(k=i+", "),k+=s.format(b),h?k=l.format(d?"todayDateSelected":"todayDate",{date:k}):d&&(k=l.format("dateSelected",{date:k})),t.minValue&&ke(n,t.minValue)?k+=", "+l.format("minimumDate"):t.maxValue&&ke(n,t.maxValue)&&(k+=", "+l.format("maximumDate")),k},[s,b,l,d,h,n,t,i]),v="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?v=l.format("finishRangeSelectionPrompt"):v=l.format("startRangeSelectionPrompt"));let E=vt(v),y=o.useRef(!1),C=o.useRef(!1),B=o.useRef(void 0),{pressProps:S,isPressed:R}=We({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(ke(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}else if(ke(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}}let z=()=>{t.setDragging(!0),B.current=void 0,t.selectDate(n),t.setFocusedDate(n),y.current=!0};k.pointerType==="touch"?B.current=setTimeout(z,200):z()}},onPressEnd(){C.current=!1,y.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&&!y.current)t.selectDate(n),t.setFocusedDate(n);else if(k.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let z=n.add({days:1});t.isInvalid(z)&&(z=n.subtract({days:1})),t.isInvalid(z)||t.setFocusedDate(z)}else k.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),$;r||($=ke(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(Oe(u.current),tu()!=="pointer"&&document.activeElement===u.current&&Ke(u.current,{containingElement:Ie(u.current)}))},[c,u]);let T=mt({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),A=o.useMemo(()=>T.formatToParts(b).find(k=>k.type==="day").value,[T,b]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":m||void 0},buttonProps:N(S,{onFocus(){r||t.setFocusedDate(n)},tabIndex:$,role:"button","aria-disabled":!p||void 0,"aria-label":D,"aria-invalid":m||void 0,"aria-describedby":[m?a:void 0,E["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:R,isFocused:c,isSelected:d,isDisabled:r,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:m,formattedDate:A}}const Qr={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Uc={...Qr,customError:!0,valid:!1},Zt={isInvalid:!1,validationDetails:Qr,validationErrors:[]},cD=o.createContext({}),uu="__formValidationState"+Date.now();function Ct(e){if(e[uu]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}=e[uu];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}}return fD(e)}function fD(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:Uc}:null,d=o.useMemo(()=>{if(!i||r==null)return null;let A=pD(i,r);return Fo(A)},[i,r]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=o.useContext(cD),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(A=>hi(c[A])):hi(c[n]):[],[c,n]),[p,m]=o.useState(c),[b,h]=o.useState(!1);c!==p&&(m(c),h(!1));let D=o.useMemo(()=>Fo(b?[]:f),[b,f]),v=o.useRef(Zt),[E,y]=o.useState(Zt),C=o.useRef(Zt),B=()=>{if(!S)return;R(!1);let A=d||a||v.current;Ia(A,C.current)||(C.current=A,y(A))},[S,R]=o.useState(!1);return o.useEffect(B),{realtimeValidation:s||D||d||a||Zt,displayValidation:l==="native"?s||D||E:s||D||d||a||E,updateValidation(A){l==="aria"&&!Ia(E,A)?y(A):v.current=A},resetValidation(){let A=Zt;Ia(A,C.current)||(C.current=A,y(A)),l==="native"&&R(!1),h(!0)},commitValidation(){l==="native"&&R(!0),h(!0)}}}function hi(e){return e?Array.isArray(e)?e:[e]:[]}function pD(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return hi(u)}return[]}function Fo(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Uc}:null}function Ia(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 Fn(...e){let t=new Set,u=!1,n={...Qr};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 Ln(e,t,u){let{validationBehavior:n,focus:r}=e;q(()=>{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(bD(u.current))}});let a=ae(()=>{t.resetValidation()}),i=ae(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&&hD(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),Ls("keyboard")}s.preventDefault()}),l=ae(()=>{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 mD(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 bD(e){return{isInvalid:!e.validity.valid,validationDetails:mD(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function hD(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function $D(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=S=>{S.stopPropagation(),t.setSelected(S.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:h,isPressed:D}=We({isDisabled:n}),{pressProps:v,isPressed:E}=We({isDisabled:n||r,onPress(){t.toggle()}}),{focusableProps:y}=Su(e,u),C=N(h,y),B=_(e,{labelable:!0});return Mn(u,t.isSelected,t.setSelected),{labelProps:N(v,{onClick:S=>S.preventDefault()}),inputProps:N(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:D||E,isDisabled:n,isReadOnly:r,isInvalid:f||c==="invalid"}}function Wc(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}=$D({...e,isInvalid:r},t,u);Ln(e,n,u);let{isIndeterminate:m,isRequired:b,validationBehavior:h="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!m)});let{pressProps:D}=We({isDisabled:f||p,onPress(){let{[uu]:v}=e,{commitValidation:E}=v||n;E()}});return{labelProps:N(l,D),inputProps:{...s,checked:d,"aria-required":b&&h==="aria"||void 0,required:b&&h==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:r,validationErrors:a,validationDetails:i}}const Gc=new WeakMap;function Zc(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":r,labelElementType:a="label"}=e;t=ne(t);let i=ne(),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 lu(e){let{description:t,errorMessage:u,isInvalid:n,validationState:r}=e,{labelProps:a,fieldProps:i}=Zc(e),l=rt([!!t,!!u,n,r]),s=rt([!!t,!!u,n,r]);return i=N(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function gD(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}=lu({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||i});Gc.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:r});let p=_(e,{labelable:!0}),{focusWithinProps:m}=ft({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:N(p,{role:"group","aria-disabled":u||void 0,...d,...m}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:a,validationErrors:i,validationDetails:l}}function qc(e={}){let{isReadOnly:t}=e,[u,n]=Re(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 DD(e,t,u){const n=qc({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(D){D?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(D)}});let{name:r,descriptionId:a,errorMessageId:i,validationBehavior:l}=Gc.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(Zt),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 h=Wc({...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,[uu]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(D){c.current=D,f()}}},n,u);return{...h,inputProps:{...h.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}const To={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 ou(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?{...To,...t}:To,[n]);return{visuallyHiddenProps:{...a,style:i}}}function nu(e){let{children:t,elementType:u="div",isFocusable:n,style:r,...a}=e,{visuallyHiddenProps:i}=ou(e);return o.createElement(u,N(a,i),t)}function fl(e,t){let{inputElementType:u="input",isDisabled:n=!1,isRequired:r=!1,isReadOnly:a=!1,type:i="text",validationBehavior:l="aria"}=e,[s,d]=Re(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Su(e,t),f=Ct({...e,value:s}),{isInvalid:p,validationErrors:m,validationDetails:b}=f.displayValidation,{labelProps:h,fieldProps:D,descriptionProps:v,errorMessageProps:E}=lu({...e,isInvalid:p,errorMessage:e.errorMessage||m}),y=_(e,{labelable:!0});const C={type:i,pattern:e.pattern};return Mn(t,s,d),Ln(e,f,t),o.useEffect(()=>{if(t.current instanceof ut(t.current).HTMLTextAreaElement){let B=t.current;Object.defineProperty(B,"defaultValue",{get:()=>B.value,set:()=>{},configurable:!0})}},[t]),{labelProps:h,inputProps:N(y,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,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,...D}),descriptionProps:v,errorMessageProps:E,isInvalid:p,validationErrors:m,validationDetails:b}}var Yc={};Yc={Empty:"فارغ"};var Jc={};Jc={Empty:"Изпразни"};var Qc={};Qc={Empty:"Prázdné"};var Xc={};Xc={Empty:"Tom"};var e4={};e4={Empty:"Leer"};var t4={};t4={Empty:"Άδειο"};var u4={};u4={Empty:"Empty"};var n4={};n4={Empty:"Vacío"};var r4={};r4={Empty:"Tühjenda"};var a4={};a4={Empty:"Tyhjä"};var i4={};i4={Empty:"Vide"};var l4={};l4={Empty:"ריק"};var o4={};o4={Empty:"Prazno"};var s4={};s4={Empty:"Üres"};var d4={};d4={Empty:"Vuoto"};var c4={};c4={Empty:"空"};var f4={};f4={Empty:"비어 있음"};var p4={};p4={Empty:"Tuščias"};var m4={};m4={Empty:"Tukšs"};var b4={};b4={Empty:"Tom"};var h4={};h4={Empty:"Leeg"};var $4={};$4={Empty:"Pusty"};var g4={};g4={Empty:"Vazio"};var D4={};D4={Empty:"Vazio"};var y4={};y4={Empty:"Gol"};var v4={};v4={Empty:"Не заполнено"};var x4={};x4={Empty:"Prázdne"};var C4={};C4={Empty:"Prazen"};var E4={};E4={Empty:"Prazno"};var B4={};B4={Empty:"Tomt"};var k4={};k4={Empty:"Boş"};var P4={};P4={Empty:"Пусто"};var S4={};S4={Empty:"空"};var A4={};A4={Empty:"空白"};var w4={};w4={"ar-AE":Yc,"bg-BG":Jc,"cs-CZ":Qc,"da-DK":Xc,"de-DE":e4,"el-GR":t4,"en-US":u4,"es-ES":n4,"et-EE":r4,"fi-FI":a4,"fr-FR":i4,"he-IL":l4,"hr-HR":o4,"hu-HU":s4,"it-IT":d4,"ja-JP":c4,"ko-KR":f4,"lt-LT":p4,"lv-LV":m4,"nb-NO":b4,"nl-NL":h4,"pl-PL":$4,"pt-BR":g4,"pt-PT":D4,"ro-RO":y4,"ru-RU":v4,"sk-SK":x4,"sl-SI":C4,"sr-SP":E4,"sv-SE":B4,"tr-TR":k4,"uk-UA":P4,"zh-CN":S4,"zh-TW":A4};function yD(e){return e&&e.__esModule?e.default:e}function vD(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 h=be(yD(w4),"@react-aria/spinbutton"),D=()=>clearTimeout(t.current);o.useEffect(()=>()=>D(),[]);let v=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}},E=o.useRef(!1),y=()=>{E.current=!0},C=()=>{E.current=!1},B=n===""?h.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{E.current&&(nD("assertive"),$t(B,"assertive"))},[B]);const S=ae(k=>{D(),d==null||d(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||u===void 0||isNaN(u)||u<a)&&S(60)},k)}),R=ae(k=>{D(),f==null||f(),t.current=window.setTimeout(()=>{(r===void 0||isNaN(r)||u===void 0||isNaN(u)||u>r)&&R(60)},k)});let $=k=>{k.preventDefault()},{addGlobalListener:T,removeAllGlobalListeners:A}=Ni();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:v,onFocus:y,onBlur:C},incrementButtonProps:{onPressStart:()=>{S(400),T(window,"contextmenu",$)},onPressEnd:()=>{D(),A()},onFocus:y,onBlur:C},decrementButtonProps:{onPressStart:()=>{R(400),T(window,"contextmenu",$)},onPressEnd:()=>{D(),A()},onFocus:y,onBlur:C}}}var F4={};F4={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 T4={};T4={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 R4={};R4={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 I4={};I4={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 K4={};K4={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 M4={};M4={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 z4={};z4={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 V4={};V4={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 N4={};N4={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 j4={};j4={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 L4={};L4={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 _4={};_4={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 O4={};O4={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 H4={};H4={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 U4={};U4={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 W4={};W4={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 G4={};G4={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 Z4={};Z4={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 q4={};q4={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 Y4={};Y4={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 J4={};J4={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 Q4={};Q4={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 X4={};X4={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 e3={};e3={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 t3={};t3={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 u3={};u3={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 n3={};n3={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 r3={};r3={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 a3={};a3={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 i3={};i3={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 l3={};l3={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 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={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={"ar-AE":F4,"bg-BG":T4,"cs-CZ":R4,"da-DK":I4,"de-DE":K4,"el-GR":M4,"en-US":z4,"es-ES":V4,"et-EE":N4,"fi-FI":j4,"fr-FR":L4,"he-IL":_4,"hr-HR":O4,"hu-HU":H4,"it-IT":U4,"ja-JP":W4,"ko-KR":G4,"lt-LT":Z4,"lv-LV":q4,"nb-NO":Y4,"nl-NL":J4,"pl-PL":Q4,"pt-BR":X4,"pt-PT":e3,"ro-RO":t3,"ru-RU":u3,"sk-SK":n3,"sl-SI":r3,"sr-SP":a3,"sv-SE":i3,"tr-TR":l3,"uk-UA":o3,"zh-CN":s3,"zh-TW":d3};const bt={top:"top",bottom:"top",left:"left",right:"left"},wr={top:"bottom",bottom:"top",left:"right",right:"left"},xD={top:"left",left:"top"},$i={top:"height",left:"width"},f3={width:"totalWidth",height:"totalHeight"},ur={};let Fe=typeof document<"u"?window.visualViewport:null;function Ro(e){let t=0,u=0,n=0,r=0,a=0,i=0,l={};var s;let d=((s=Fe==null?void 0:Fe.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=Fe==null?void 0:Fe.width)!==null&&c!==void 0?c:n;var f;u=(f=Fe==null?void 0:Fe.height)!==null&&f!==void 0?f:r,l.top=b.scrollTop||e.scrollTop,l.left=b.scrollLeft||e.scrollLeft,Fe&&(a=Fe.offsetTop,i=Fe.offsetLeft)}else({width:t,height:u,top:a,left:i}=Zu(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,r=u;if(zi()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){l.top=0,l.left=0;var p;a=(p=Fe==null?void 0:Fe.pageTop)!==null&&p!==void 0?p:0;var m;i=(m=Fe==null?void 0:Fe.pageLeft)!==null&&m!==void 0?m:0}return{width:t,height:u,totalWidth:n,totalHeight:r,scroll:l,top:a,left:i}}function CD(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Io(e,t,u,n,r,a,i){var l;let s=(l=r.scroll[e])!==null&&l!==void 0?l:0,d=n[$i[e]],c=n.scroll[bt[e]]+a,f=d+n.scroll[bt[e]]-a,p=t-s+i[e]-n[bt[e]],m=t-s+u+i[e]-n[bt[e]];return p<c?c-p:m>f?Math.max(f-m,c-p):0}function ED(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 Ko(e){if(ur[e])return ur[e];let[t,u]=e.split(" "),n=bt[t]||"right",r=xD[n];bt[u]||(u="center");let a=$i[n],i=$i[r];return ur[e]={placement:t,crossPlacement:u,axis:n,crossAxis:r,size:a,crossSize:i},ur[e]}function Ka(e,t,u,n,r,a,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:m,size:b,crossSize:h}=n,D={};var v;D[m]=(v=e[m])!==null&&v!==void 0?v:0;var E,y,C,B;f==="center"?D[m]+=(((E=e[h])!==null&&E!==void 0?E:0)-((y=u[h])!==null&&y!==void 0?y:0))/2:f!==m&&(D[m]+=((C=e[h])!==null&&C!==void 0?C:0)-((B=u[h])!==null&&B!==void 0?B:0)),D[m]+=a;const S=e[m]-u[h]+s+d,R=e[m]+e[h]-s-d;if(D[m]=Ya(D[m],S,R),c===p){const $=l?i[b]:t[f3[b]];D[wr[p]]=Math.floor($-e[p]+r)}else D[p]=Math.floor(e[p]+e[b]+r);return D}function BD(e,t,u,n,r,a,i,l){const s=n?u.height:t[f3.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,h,D;let v=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))-(((h=r.top)!==null&&h!==void 0?h:0)+((D=r.bottom)!==null&&D!==void 0?D:0)+a));return Math.min(t.height-a*2,v)}function Mo(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[wr[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[wr[l]]-r)}function kD(e,t,u,n,r,a,i,l,s,d,c,f,p,m,b,h){let D=Ko(e),{size:v,crossAxis:E,crossSize:y,placement:C,crossPlacement:B}=D,S=Ka(t,l,u,D,c,f,d,p,b,h),R=c,$=Mo(l,d,t,r,a+c,D);if(i&&n[v]>$){let X=Ko(`${wr[C]} ${B}`),me=Ka(t,l,u,X,c,f,d,p,b,h);Mo(l,d,t,r,a+c,X)>$&&(D=X,S=me,R=c)}let T="bottom";D.axis==="top"?D.placement==="top"?T="top":D.placement==="bottom"&&(T="bottom"):D.crossAxis==="top"&&(D.crossPlacement==="top"?T="bottom":D.crossPlacement==="bottom"&&(T="top"));let A=Io(E,S[E],u[y],l,s,a,d);S[E]+=A;let k=BD(S,l,d,p,r,a,u.height,T);m&&m<k&&(k=m),u.height=Math.min(u.height,k),S=Ka(t,l,u,D,R,f,d,p,b,h),A=Io(E,S[E],u[y],l,s,a,d),S[E]+=A;let z={},x=t[E]+.5*t[y]-S[E]-r[bt[E]];const w=b/2+h;var V,F,I,P;const K=bt[E]==="left"?((V=r.left)!==null&&V!==void 0?V:0)+((F=r.right)!==null&&F!==void 0?F:0):((I=r.top)!==null&&I!==void 0?I:0)+((P=r.bottom)!==null&&P!==void 0?P:0),L=u[y]-K-b/2-h,j=t[E]+b/2-(S[E]+r[bt[E]]),U=t[E]+t[y]-b/2-(S[E]+r[bt[E]]),Q=Ya(x,j,U);return z[E]=Ya(Q,w,L),{position:S,maxHeight:k,arrowOffsetLeft:z.left,arrowOffsetTop:z.top,placement:D.placement}}function PD(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?SD(n):document.documentElement,b=m===document.documentElement;const h=window.getComputedStyle(m).position;let D=!!h&&h!=="static",v=b?Zu(u):zo(u,m);if(!b){let{marginTop:z,marginLeft:x}=window.getComputedStyle(u);v.top+=parseInt(z,10)||0,v.left+=parseInt(x,10)||0}let E=Zu(n),y=ED(n);var C,B;E.width+=((C=y.left)!==null&&C!==void 0?C:0)+((B=y.right)!==null&&B!==void 0?B:0);var S,R;E.height+=((S=y.top)!==null&&S!==void 0?S:0)+((R=y.bottom)!==null&&R!==void 0?R:0);let $=CD(r),T=Ro(l),A=Ro(m),k=l.tagName==="BODY"?Zu(m):zo(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(A.scroll.top=0,A.scroll.left=0),kD(t,v,E,$,y,a,i,T,A,k,s,d,D,c,f,p)}function Zu(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 zo(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=Zu(e);let r=Zu(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 SD(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Vo(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Vo(t);)t=t.parentElement;return t||document.documentElement}function Vo(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 p3=new WeakMap;function AD(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||p3.get(t.current);l&&l()};return window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("scroll",r,!0)}},[u,n,t])}let Ce=typeof document<"u"?window.visualViewport:null;function m3(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:h,arrowBoundaryOffset:D=0}=e,[v,E]=o.useState(null),y=[p,i,r.current,n.current,a.current,l,s,d,c,f,m,t,h,D,u],C=o.useRef(Ce==null?void 0:Ce.scale);o.useEffect(()=>{m&&(C.current=Ce==null?void 0:Ce.scale)},[m]);let B=o.useCallback(()=>{if(p===!1||!m||!r.current||!n.current||!d||(Ce==null?void 0:Ce.scale)!==C.current)return;let A=null;if(a.current&&a.current.contains(document.activeElement)){var k;let P=(k=document.activeElement)===null||k===void 0?void 0:k.getBoundingClientRect(),K=a.current.getBoundingClientRect();var z;if(A={type:"top",offset:((z=P==null?void 0:P.top)!==null&&z!==void 0?z:0)-K.top},A.offset>K.height/2){A.type="bottom";var x;A.offset=((x=P==null?void 0:P.bottom)!==null&&x!==void 0?x:0)-K.bottom}}let w=r.current;if(!h&&r.current){var V;w.style.top="0px",w.style.bottom="";var F;w.style.maxHeight=((F=(V=window.visualViewport)===null||V===void 0?void 0:V.height)!==null&&F!==void 0?F:window.innerHeight)+"px"}let I=PD({placement:FD(i,t),overlayNode:r.current,targetNode:n.current,scrollNode:a.current||r.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:h,arrowSize:u,arrowBoundaryOffset:D});if(I.position){if(w.style.top="",w.style.bottom="",w.style.left="",w.style.right="",Object.keys(I.position).forEach(P=>w.style[P]=I.position[P]+"px"),w.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":"",A&&document.activeElement&&a.current){let P=document.activeElement.getBoundingClientRect(),K=a.current.getBoundingClientRect(),L=P[A.type]-K[A.type];a.current.scrollTop+=L-A.offset}E(I)}},y);q(B,y),wD(B),xu({ref:r,onResize:B}),xu({ref:n,onResize:B});let S=o.useRef(!1);q(()=>{let A,k=()=>{S.current=!0,clearTimeout(A),A=setTimeout(()=>{S.current=!1},500),B()},z=()=>{S.current&&k()};return Ce==null||Ce.addEventListener("resize",k),Ce==null||Ce.addEventListener("scroll",z),()=>{Ce==null||Ce.removeEventListener("resize",k),Ce==null||Ce.removeEventListener("scroll",z)}},[B]);let R=o.useCallback(()=>{S.current||b==null||b()},[b,S]);AD({triggerRef:n,isOpen:m,onClose:b&&R});var $,T;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...v==null?void 0:v.position,maxHeight:($=v==null?void 0:v.maxHeight)!==null&&$!==void 0?$:"100vh"}},placement:(T=v==null?void 0:v.placement)!==null&&T!==void 0?T:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:v==null?void 0:v.arrowOffsetLeft,top:v==null?void 0:v.arrowOffsetTop}},updatePosition:B}}function wD(e){q(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function FD(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Pt=[];function TD(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:r,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>(r&&Pt.push(t),()=>{let b=Pt.indexOf(t);b>=0&&Pt.splice(b,1)}),[r,t]);let s=()=>{Pt[Pt.length-1]===t&&u&&u()},d=b=>{(!l||l(b.target))&&Pt[Pt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},c=b=>{(!l||l(b.target))&&(Pt[Pt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),s())},f=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),s())};xg({ref:t,onInteractOutside:a&&r?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=ft({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||wg(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 b3(e,t,u){let{type:n}=e,{isOpen:r}=t;o.useEffect(()=>{u&&u.current&&p3.set(u.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=ne();return{triggerProps:{"aria-haspopup":a,"aria-expanded":r,"aria-controls":r?i:void 0,onPress:t.toggle},overlayProps:{id:i}}}const Ma=typeof document<"u"&&window.visualViewport,RD=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let nr=0,za;function ID(e={}){let{isDisabled:t}=e;q(()=>{if(!t)return nr++,nr===1&&(Kn()?za=MD():za=KD()),()=>{nr--,nr===0&&za()}},[t])}function KD(){return at(_u(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),_u(document.documentElement,"overflow","hidden"))}function MD(){let e,t,u=d=>{e=Ie(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=_u(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;zD(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Ma&&(Ma.height<window.innerHeight?requestAnimationFrame(()=>{No(c)}):Ma.addEventListener("resize",()=>No(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=at(nn(window,"scroll",d),_u(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),_u(document.documentElement,"overflow","hidden"),_u(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=at(nn(document,"touchstart",u,{passive:!1,capture:!0}),nn(document,"touchmove",n,{passive:!1,capture:!0}),nn(document,"touchend",r,{passive:!1,capture:!0}),nn(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function _u(e,t,u){let n=e.style[t];return e.style[t]=u,()=>{e.style[t]=n}}function nn(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function No(e){let t=document.scrollingElement||document.documentElement,u=e;for(;u&&u!==t;){let n=Ie(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 zD(e){return e instanceof HTMLInputElement&&!RD.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const gi=o.createContext(null);function VD(e){let{children:t}=e,u=o.useContext(gi),[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(gi.Provider,{value:a},t)}function ND(){let e=o.useContext(gi);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function jD(e){let{modalProviderProps:t}=ND();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function LD(e){return o.createElement(VD,null,o.createElement(jD,e))}function _D(e){let t=zt(),{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(LD,n);return au.createPortal(r,u)}var h3={};h3={dismiss:"تجاهل"};var $3={};$3={dismiss:"Отхвърляне"};var g3={};g3={dismiss:"Odstranit"};var D3={};D3={dismiss:"Luk"};var y3={};y3={dismiss:"Schließen"};var v3={};v3={dismiss:"Απόρριψη"};var x3={};x3={dismiss:"Dismiss"};var C3={};C3={dismiss:"Descartar"};var E3={};E3={dismiss:"Lõpeta"};var B3={};B3={dismiss:"Hylkää"};var k3={};k3={dismiss:"Rejeter"};var P3={};P3={dismiss:"התעלם"};var S3={};S3={dismiss:"Odbaci"};var A3={};A3={dismiss:"Elutasítás"};var w3={};w3={dismiss:"Ignora"};var F3={};F3={dismiss:"閉じる"};var T3={};T3={dismiss:"무시"};var R3={};R3={dismiss:"Atmesti"};var I3={};I3={dismiss:"Nerādīt"};var K3={};K3={dismiss:"Lukk"};var M3={};M3={dismiss:"Negeren"};var z3={};z3={dismiss:"Zignoruj"};var V3={};V3={dismiss:"Descartar"};var N3={};N3={dismiss:"Dispensar"};var j3={};j3={dismiss:"Revocare"};var L3={};L3={dismiss:"Пропустить"};var _3={};_3={dismiss:"Zrušiť"};var O3={};O3={dismiss:"Opusti"};var H3={};H3={dismiss:"Odbaci"};var U3={};U3={dismiss:"Avvisa"};var W3={};W3={dismiss:"Kapat"};var G3={};G3={dismiss:"Скасувати"};var Z3={};Z3={dismiss:"取消"};var q3={};q3={dismiss:"關閉"};var Y3={};Y3={"ar-AE":h3,"bg-BG":$3,"cs-CZ":g3,"da-DK":D3,"de-DE":y3,"el-GR":v3,"en-US":x3,"es-ES":C3,"et-EE":E3,"fi-FI":B3,"fr-FR":k3,"he-IL":P3,"hr-HR":S3,"hu-HU":A3,"it-IT":w3,"ja-JP":F3,"ko-KR":T3,"lt-LT":R3,"lv-LV":I3,"nb-NO":K3,"nl-NL":M3,"pl-PL":z3,"pt-BR":V3,"pt-PT":N3,"ro-RO":j3,"ru-RU":L3,"sk-SK":_3,"sl-SI":O3,"sr-SP":H3,"sv-SE":U3,"tr-TR":W3,"uk-UA":G3,"zh-CN":Z3,"zh-TW":q3};function OD(e){return e&&e.__esModule?e.default:e}function jo(e){let{onDismiss:t,...u}=e,n=be(OD(Y3),"@react-aria/overlays"),r=Dt(u,n.format("dismiss")),a=()=>{t&&t()};return o.createElement(nu,null,o.createElement("button",{...r,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let rn=new WeakMap,Ye=[];function J3(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=rn.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),rn.set(s,c+1))};Ye.length&&Ye[Ye.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={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Ye.push(l),()=>{i.disconnect();for(let s of n){let d=rn.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),rn.delete(s)):rn.set(s,d-1))}l===Ye[Ye.length-1]?(Ye.pop(),Ye.length&&Ye[Ye.length-1].observe()):Ye.splice(Ye.indexOf(l),1)}}function HD(e,t){let{triggerRef:u,popoverRef:n,isNonModal:r,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:d}=TD({isOpen:t.isOpen&&!l["data-react-aria-top-layer"],onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!r,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i},n),{overlayProps:c,arrowProps:f,placement:p}=m3({...l,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:r?t.close:null});return ID({isDisabled:r||!t.isOpen}),q(()=>{if(t.isOpen&&!r&&n.current)return J3([n.current])},[r,t.isOpen,n]),{popoverProps:N(s,c),arrowProps:f,underlayProps:d,placement:p}}const UD=o.createContext({});function WD(){var e;return(e=o.useContext(UD))!==null&&e!==void 0?e:{}}const Q3=o.createContext(null);function GD(e){let t=zt(),{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}=WD();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(Vn,{restoreFocus:!0,contain:r&&!n},s)),s=o.createElement(Q3.Provider,{value:i},o.createElement(pg,null,s)),au.createPortal(s,u)}function ZD(){let e=o.useContext(Q3),t=e==null?void 0:e.setContain;q(()=>{t==null||t(!0)},[t])}const Xr=new WeakMap;function qD(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function X3(e,t){let u=Xr.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${qD(t)}`}function Di(e){return cr()?e.altKey:e.ctrlKey}const YD=1e3;function ef(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,a=i=>{let l=JD(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=""},YD)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function JD(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ea(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:h}=pe(),D=Pu(),v=x=>{var w;if(x.altKey&&x.key==="Tab"&&x.preventDefault(),!(!((w=n.current)===null||w===void 0)&&w.contains(x.target)))return;const V=(M,G)=>{if(M!=null){if(t.isLink(M)&&b==="selection"&&s&&!Di(x)){var J;au.flushSync(()=>{t.setFocusedKey(M,G)});let O=(J=m.current)===null||J===void 0?void 0:J.querySelector(`[data-key="${CSS.escape(M.toString())}"]`),Z=t.getItemProps(M);O&&D.open(O,x,Z.href,Z.routerOptions);return}if(t.setFocusedKey(M,G),t.isLink(M)&&b==="override")return;x.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&!Di(x)&&t.replaceSelection(M)}};switch(x.key){case"ArrowDown":if(u.getKeyBelow){var F,I,P;let M=t.focusedKey!=null?(F=u.getKeyBelow)===null||F===void 0?void 0:F.call(u,t.focusedKey):(I=u.getFirstKey)===null||I===void 0?void 0:I.call(u);M==null&&a&&(M=(P=u.getFirstKey)===null||P===void 0?void 0:P.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M))}break;case"ArrowUp":if(u.getKeyAbove){var K,L,j;let M=t.focusedKey!=null?(K=u.getKeyAbove)===null||K===void 0?void 0:K.call(u,t.focusedKey):(L=u.getLastKey)===null||L===void 0?void 0:L.call(u);M==null&&a&&(M=(j=u.getLastKey)===null||j===void 0?void 0:j.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M))}break;case"ArrowLeft":if(u.getKeyLeftOf){var U,Q,X;let M=t.focusedKey!=null?(U=u.getKeyLeftOf)===null||U===void 0?void 0:U.call(u,t.focusedKey):null;M==null&&a&&(M=h==="rtl"?(Q=u.getFirstKey)===null||Q===void 0?void 0:Q.call(u,t.focusedKey):(X=u.getLastKey)===null||X===void 0?void 0:X.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M,h==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var me,ie,se;let M=t.focusedKey!=null?(me=u.getKeyRightOf)===null||me===void 0?void 0:me.call(u,t.focusedKey):null;M==null&&a&&(M=h==="rtl"?(ie=u.getLastKey)===null||ie===void 0?void 0:ie.call(u,t.focusedKey):(se=u.getFirstKey)===null||se===void 0?void 0:se.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M,h==="rtl"?"last":"first"))}break;case"Home":if(u.getFirstKey){if(t.focusedKey===null&&x.shiftKey)return;x.preventDefault();let M=u.getFirstKey(t.focusedKey,Nu(x));t.setFocusedKey(M),M!=null&&(Nu(x)&&x.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&t.replaceSelection(M))}break;case"End":if(u.getLastKey){if(t.focusedKey===null&&x.shiftKey)return;x.preventDefault();let M=u.getLastKey(t.focusedKey,Nu(x));t.setFocusedKey(M),M!=null&&(Nu(x)&&x.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&t.replaceSelection(M))}break;case"PageDown":if(u.getKeyPageBelow&&t.focusedKey!=null){let M=u.getKeyPageBelow(t.focusedKey);M!=null&&(x.preventDefault(),V(M))}break;case"PageUp":if(u.getKeyPageAbove&&t.focusedKey!=null){let M=u.getKeyPageAbove(t.focusedKey);M!=null&&(x.preventDefault(),V(M))}break;case"a":Nu(x)&&t.selectionMode==="multiple"&&l!==!0&&(x.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(x.stopPropagation(),x.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(x.shiftKey)n.current.focus();else{let M=Pe(n.current,{tabbable:!0}),G,J;do J=M.lastChild(),J&&(G=J);while(J);G&&!G.contains(document.activeElement)&&Oe(G)}break}}},E=o.useRef({top:0,left:0});st(m,"scroll",p?void 0:()=>{var x,w,V,F;E.current={top:(V=(x=m.current)===null||x===void 0?void 0:x.scrollTop)!==null&&V!==void 0?V:0,left:(F=(w=m.current)===null||w===void 0?void 0:w.scrollLeft)!==null&&F!==void 0?F:0}});let y=x=>{if(t.isFocused){x.currentTarget.contains(x.target)||t.setFocused(!1);return}if(x.currentTarget.contains(x.target)){if(t.setFocused(!0),t.focusedKey==null){var w,V;let P=L=>{L!=null&&(t.setFocusedKey(L),s&&t.replaceSelection(L))},K=x.relatedTarget;var F,I;K&&x.currentTarget.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING?P((F=t.lastSelectedKey)!==null&&F!==void 0?F:(w=u.getLastKey)===null||w===void 0?void 0:w.call(u)):P((I=t.firstSelectedKey)!==null&&I!==void 0?I:(V=u.getFirstKey)===null||V===void 0?void 0:V.call(u))}else!p&&m.current&&(m.current.scrollTop=E.current.top,m.current.scrollLeft=E.current.left);if(t.focusedKey!=null&&m.current){let P=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);P&&(P.contains(document.activeElement)||Oe(P),tu()==="keyboard"&&Ke(P,{containingElement:n.current}))}}},C=x=>{x.currentTarget.contains(x.relatedTarget)||t.setFocused(!1)},B=o.useRef(!1);st(n,W$,c?x=>{let{detail:w}=x;x.stopPropagation(),t.setFocused(!0),(w==null?void 0:w.focusStrategy)==="first"&&(B.current=!0)}:void 0);let S=ae(()=>{var x,w;let V=(w=(x=u.getFirstKey)===null||x===void 0?void 0:x.call(u))!==null&&w!==void 0?w:null;if(V==null){var F;(F=n.current)===null||F===void 0||F.dispatchEvent(new CustomEvent(Es,{cancelable:!0,bubbles:!0})),t.collection.size>0&&(B.current=!1)}else t.setFocusedKey(V),B.current=!1});Ol(()=>{B.current&&S()},[t.collection,S]);let R=ae(()=>{t.collection.size>0&&(B.current=!1)});Ol(()=>{R()},[t.focusedKey,R]),st(n,U$,c?x=>{x.stopPropagation(),t.setFocused(!1),t.setFocusedKey(null)}:void 0);const $=o.useRef(r);o.useEffect(()=>{if($.current){var x,w;let I=null;var V;r==="first"&&(I=(V=(x=u.getFirstKey)===null||x===void 0?void 0:x.call(u))!==null&&V!==void 0?V:null);var F;r==="last"&&(I=(F=(w=u.getLastKey)===null||w===void 0?void 0:w.call(u))!==null&&F!==void 0?F:null);let P=t.selectedKeys;if(P.size){for(let K of P)if(t.canSelectItem(K)){I=K;break}}t.setFocused(!0),t.setFocusedKey(I),I==null&&!c&&n.current&&xe(n.current)}},[]);let T=o.useRef(t.focusedKey);o.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==T.current||$.current)&&m.current&&n.current){let x=tu(),w=n.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);if(!w)return;(x==="keyboard"||$.current)&&(xs(m.current,w),x!=="virtual"&&Ke(w,{containingElement:n.current}))}!c&&t.isFocused&&t.focusedKey==null&&T.current!=null&&n.current&&xe(n.current),T.current=t.focusedKey,$.current=!1}),st(n,"react-aria-focus-scope-restore",x=>{x.preventDefault(),t.setFocused(!0)});let A={onKeyDown:v,onFocus:y,onBlur:C,onMouseDown(x){m.current===x.target&&x.preventDefault()}},{typeSelectProps:k}=ef({keyboardDelegate:u,selectionManager:t});d||(A=N(k,A));let z;return c?z=-1:z=t.focusedKey==null?0:-1,{collectionProps:{...A,tabIndex:z}}}function Xu(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=ne(t);let m=P=>{if(P.pointerType==="keyboard"&&Di(P))u.toggleSelection(n);else{if(u.selectionMode==="none")return;if(u.isLink(n)){if(f==="selection"&&r.current){let K=u.getItemProps(n);p.open(r.current,P,K.href,K.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):P&&P.shiftKey?u.extendSelection(n):u.selectionBehavior==="toggle"||P&&(Nu(P)||P.pointerType==="touch"||P.pointerType==="virtual")?u.toggleSelection(n):u.replaceSelection(n)}};o.useEffect(()=>{if(n===u.focusedKey&&u.isFocused)if(!i)l?l():document.activeElement!==r.current&&r.current&&xe(r.current);else{var K;let L=new CustomEvent(Es,{cancelable:!0,bubbles:!0});(K=r.current)===null||K===void 0||K.dispatchEvent(L)}},[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(P){P.target===r.current&&u.setFocusedKey(n)}}:s&&(b.onMouseDown=P=>{P.preventDefault()});let h=u.isLink(n)&&f==="override",D=u.isLink(n)&&f!=="selection"&&f!=="none",v=!s&&u.canSelectItem(n)&&!h,E=(d||D)&&!s,y=E&&(u.selectionBehavior==="replace"?!v:!v||u.isEmpty),C=E&&v&&u.selectionBehavior==="replace",B=y||C,S=o.useRef(null),R=B&&v,$=o.useRef(!1),T=o.useRef(!1),A=P=>{if(d&&d(),D&&r.current){let K=u.getItemProps(n);p.open(r.current,P,K.href,K.routerOptions)}},k={};a?(k.onPressStart=P=>{S.current=P.pointerType,$.current=R,P.pointerType==="keyboard"&&(!B||_o())&&m(P)},c?(k.onPressUp=y?void 0:P=>{P.pointerType==="mouse"&&v&&m(P)},k.onPress=y?A:P=>{P.pointerType!=="keyboard"&&P.pointerType!=="mouse"&&v&&m(P)}):k.onPress=P=>{if(y||C&&P.pointerType!=="mouse"){if(P.pointerType==="keyboard"&&!Lo())return;A(P)}else P.pointerType!=="keyboard"&&v&&m(P)}):(k.onPressStart=P=>{S.current=P.pointerType,$.current=R,T.current=y,v&&(P.pointerType==="mouse"&&!y||P.pointerType==="keyboard"&&(!E||_o()))&&m(P)},k.onPress=P=>{(P.pointerType==="touch"||P.pointerType==="pen"||P.pointerType==="virtual"||P.pointerType==="keyboard"&&B&&Lo()||P.pointerType==="mouse"&&T.current)&&(B?A(P):v&&m(P))}),b["data-key"]=n,k.preventFocusOnPress=i;let{pressProps:z,isPressed:x}=We(k),w=C?P=>{S.current==="mouse"&&(P.stopPropagation(),P.preventDefault(),A(P))}:void 0,{longPressProps:V}=Os({isDisabled:!R,onLongPress(P){P.pointerType==="touch"&&(m(P),u.setSelectionBehavior("toggle"))}}),F=P=>{S.current==="touch"&&$.current&&P.preventDefault()},I=u.isLink(n)?P=>{Qt.isOpening||P.preventDefault()}:void 0;return{itemProps:N(b,v||y?z:{},R?V:{},{onDoubleClick:w,onDragStartCapture:F,onClick:I,id:t}),isPressed:x,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:v,hasAction:B}}function Lo(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function _o(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class yi{getItemRect(t){let u=this.ref.current;if(!u)return null;let n=t!=null?u.querySelector(`[data-key="${CSS.escape(t.toString())}"]`):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 ru{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&&!vn(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&&!vn(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 yi(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 yi(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function pl(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:r,keyboardDelegate:a,layoutDelegate:i}=e,l=Au({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>a||new ru({collection:u,disabledKeys:n,disabledBehavior:s,ref:r,collator:l,layoutDelegate:i}),[a,i,u,n,r,l,s]),{collectionProps:c}=ea({...e,ref:r,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function QD(e,t,u){let n=_(e,{labelable:!0}),r=e.selectionBehavior||"toggle",a=e.linkBehavior||(r==="replace"?"action":"override");r==="toggle"&&a==="action"&&(a="override");let{listProps:i}=pl({...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=ne(e.id);Xr.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}=Zc({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:N(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...N(c,i)})}}class XD{build(t,u){return this.context=u,Oo(()=>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 D=[];o.Children.forEach(t.element.props.children,E=>{D.push(E)});var a;let v=(a=t.index)!==null&&a!==void 0?a:0;for(const E of D)yield*this.getFullNode({element:E,index:v++},u,n,r);return}let i=t.element;if(!i&&t.value&&u&&u.renderer){let D=this.cache.get(t.value);if(D&&(!D.shouldInvalidate||!D.shouldInvalidate(this.context))){D.index=t.index,D.parentKey=r?r.key:null,yield D;return}i=u.renderer(t.value)}if(o.isValidElement(i)){let D=i.type;if(typeof D!="function"&&typeof D.getCollectionNode!="function"){let C=i.type;throw new Error(`Unknown element <${C}> in collection.`)}let v=D.getCollectionNode(i.props,this.context);var l;let E=(l=t.index)!==null&&l!==void 0?l:0,y=v.next();for(;!y.done&&y.value;){let C=y.value;t.index=E;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 R=[...this.getFullNode({...C,key:B,index:E,wrapper:e6(t.wrapper,C.wrapper)},this.getChildState(u,C),n?`${n}${i.key}`:i.key,r)];for(let $ of R){var d,c;$.value=(c=(d=C.value)!==null&&d!==void 0?d:t.value)!==null&&c!==void 0?c:null,$.value&&this.cache.set($.value,$);var f;if(t.type&&$.type!==t.type)throw new Error(`Unsupported type <${Va($.type)}> in <${Va((f=r==null?void 0:r.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${Va(t.type)}> is supported.`);E++,yield $}y=v.next(R)}return}if(t.key==null||t.type==null)return;let p=this;var m,b;let h={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:Oo(function*(){if(!t.hasChildNodes||!t.childNodes)return;let D=0;for(let v of t.childNodes()){v.key!=null&&(v.key=`${h.key}${v.key}`);let E=p.getFullNode({...v,index:D},p.getChildState(u,v),h.key,h);for(let y of E)D++,yield y}})};yield h}constructor(){this.cache=new WeakMap}}function Oo(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 e6(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function Va(e){return e[0].toUpperCase()+e.slice(1)}function ml(e,t,u){let n=o.useMemo(()=>new XD,[]),{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 ve(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Ft(e){return Gt(e,0)}function Gt(e,t){if(t<0)return;let u=0;for(let n of e){if(u===t)return n;u++}}function It(e){let t;for(let u of e)t=u;return t}function Na(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...Ho(e,t),t],r=[...Ho(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 Ho(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 Uo=new WeakMap;function bl(e){let t=Uo.get(e);if(t!=null)return t;let u=0,n=r=>{for(let a of r)a.type==="section"?n(ve(a,e)):u++};return n(e),Uo.set(e,u),u}function t6(e,t,u){var n,r;let{key:a}=e,i=Xr.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 h;let D=(h=e.shouldUseVirtualFocus)!==null&&h!==void 0?h:i==null?void 0:i.shouldUseVirtualFocus;var v;let E=(v=e.isVirtualized)!==null&&v!==void 0?v:i==null?void 0:i.isVirtualized,y=rt(),C=rt(),B={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};gt()&&zi()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=y,B["aria-describedby"]=C);let S=t.collection.getItem(a);if(E){let I=Number(S==null?void 0:S.index);B["aria-posinset"]=Number.isNaN(I)?void 0:I+1,B["aria-setsize"]=bl(t.collection)}let R=i!=null&&i.onAction?()=>{var I;return i==null||(I=i.onAction)===null||I===void 0?void 0:I.call(i,a)}:void 0,$=X3(t,a),{itemProps:T,isPressed:A,isFocused:k,hasAction:z,allowsSelection:x}=Xu({selectionManager:t.selectionManager,key:a,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&b,isVirtualized:E,shouldUseVirtualFocus:D,isDisabled:s,onAction:R||!(S==null||(n=S.props)===null||n===void 0)&&n.onAction?at(S==null||(r=S.props)===null||r===void 0?void 0:r.onAction,R):void 0,linkBehavior:i==null?void 0:i.linkBehavior,id:$}),{hoverProps:w}=De({isDisabled:s||!b,onHoverStart(){eu()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),V=_(S==null?void 0:S.props);delete V.id;let F=Hr(S==null?void 0:S.props);return{optionProps:{...B,...N(V,T,w,F),id:$},labelProps:{id:y},descriptionProps:{id:C},isFocused:k,isFocusVisible:k&&eu(),isSelected:c,isDisabled:s,isPressed:A,allowsSelection:x,hasAction:z}}function u6(e){let{heading:t,"aria-label":u}=e,n=ne();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}var tf={};tf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var uf={};uf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var nf={};nf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var rf={};rf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var af={};af={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var lf={};lf={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var of={};of={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var sf={};sf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var df={};df={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var cf={};cf={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var ff={};ff={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var pf={};pf={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var mf={};mf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var bf={};bf={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var hf={};hf={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var $f={};$f={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var gf={};gf={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Df={};Df={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var yf={};yf={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var vf={};vf={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var xf={};xf={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Cf={};Cf={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Ef={};Ef={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Bf={};Bf={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var kf={};kf={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Pf={};Pf={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Sf={};Sf={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Af={};Af={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var wf={};wf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Ff={};Ff={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Tf={};Tf={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Rf={};Rf={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var If={};If={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Kf={};Kf={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var Mf={};Mf={"ar-AE":tf,"bg-BG":uf,"cs-CZ":nf,"da-DK":rf,"de-DE":af,"el-GR":lf,"en-US":of,"es-ES":sf,"et-EE":df,"fi-FI":cf,"fr-FR":ff,"he-IL":pf,"hr-HR":mf,"hu-HU":bf,"it-IT":hf,"ja-JP":$f,"ko-KR":gf,"lt-LT":Df,"lv-LV":yf,"nb-NO":vf,"nl-NL":xf,"pl-PL":Cf,"pt-BR":Ef,"pt-PT":Bf,"ro-RO":kf,"ru-RU":Pf,"sk-SK":Sf,"sl-SI":Af,"sr-SP":wf,"sv-SE":Ff,"tr-TR":Tf,"uk-UA":Rf,"zh-CN":If,"zh-TW":Kf};function n6(e){return e&&e.__esModule?e.default:e}function hl(e,t,u){let{type:n="menu",isDisabled:r,trigger:a="press"}=e,i=ne(),{triggerProps:l,overlayProps:s}=b3({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=be(n6(Mf),"@react-aria/menu"),{longPressProps:f}=Os({isDisabled:r||a!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!r&&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 zf=new WeakMap;function r6(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=_(e,{labelable:!0}),{listProps:s}=pl({...i,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return zf.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:N(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 a6(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:h,onKeyDown:D,onKeyUp:v,onFocus:E,onFocusChange:y,onBlur:C,selectionManager:B=t.selectionManager}=e,S=!!l,R=S&&e["aria-expanded"]==="true";var $;let T=($=e.isDisabled)!==null&&$!==void 0?$:B.isDisabled(r);var A;let k=(A=e.isSelected)!==null&&A!==void 0?A:B.isSelected(r),z=zf.get(t),x=t.collection.getItem(r),w=e.onClose||z.onClose,V=Pu(),F=re=>{var _t;if(!S){if(!(x==null||(_t=x.props)===null||_t===void 0)&&_t.onAction?x.props.onAction():e.onAction&&e.onAction(r),z.onAction){let cu=z.onAction;cu(r)}re.target instanceof HTMLAnchorElement&&x&&V.open(re.target,re,x.props.href,x.props.routerOptions)}},I="menuitem";S||(B.selectionMode==="single"?I="menuitemradio":B.selectionMode==="multiple"&&(I="menuitemcheckbox"));let P=rt(),K=rt(),L=rt(),j={id:n,"aria-disabled":T||void 0,role:I,"aria-label":e["aria-label"],"aria-labelledby":P,"aria-describedby":[K,L].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};B.selectionMode!=="none"&&!S&&(j["aria-checked"]=k),i&&(j["aria-posinset"]=x==null?void 0:x.index,j["aria-setsize"]=bl(t.collection));let U=re=>{re.pointerType==="keyboard"&&F(re),s==null||s(re)},Q=()=>{!S&&w&&(a??(B.selectionMode!=="multiple"||B.isLink(r)))&&w()},X=re=>{re.pointerType==="mouse"&&(F(re),Q()),d==null||d(re)},me=re=>{re.pointerType!=="keyboard"&&re.pointerType!=="mouse"&&(F(re),Q()),c==null||c(re)},{itemProps:ie,isFocused:se}=Xu({id:n,selectionManager:B,key:r,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:z.shouldUseVirtualFocus}),{pressProps:M,isPressed:G}=We({onPressStart:U,onPress:me,onPressUp:X,onPressChange:f,onPressEnd:p,isDisabled:T}),{hoverProps:J}=De({isDisabled:T,onHoverStart(re){!eu()&&!(R&&l==="dialog")&&(B.setFocused(!0),B.setFocusedKey(r)),m==null||m(re)},onHoverChange:b,onHoverEnd:h}),{keyboardProps:O}=_s({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":!T&&B.selectionMode==="none"&&!S&&a!==!1&&w&&w();break;case"Enter":!T&&a!==!1&&!S&&w&&w();break;default:S||re.continuePropagation(),D==null||D(re);break}},onKeyUp:v}),{focusProps:Z}=Gr({onBlur:C,onFocus:E,onFocusChange:y}),le=_(x==null?void 0:x.props);delete le.id;let qe=Hr(x==null?void 0:x.props);return{menuItemProps:{...j,...N(le,qe,S?{onFocus:ie.onFocus,"data-key":ie["data-key"]}:ie,M,J,O,Z),tabIndex:ie.tabIndex!=null&&R?-1:ie.tabIndex},labelProps:{id:P},descriptionProps:{id:K},keyboardShortcutProps:{id:L},isFocused:se,isSelected:k,isPressed:G,isDisabled:T}}function i6(e){let{heading:t,"aria-label":u}=e,n=ne();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}function l6(e){return e&&e.__esModule?e.default:e}function o6(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=be(l6(c3),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:b}=hl({type:"listbox",isDisabled:c||d},t,u);Xr.set(t,{id:b.id});let{collection:h}=t,{disabledKeys:D}=t.selectionManager,v=o.useMemo(()=>i||new ru({collection:h,disabledKeys:D,ref:a,layoutDelegate:l}),[i,l,h,D,a]),{collectionProps:E}=ea({selectionManager:t.selectionManager,keyboardDelegate:v,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:r,isVirtualized:!0}),y=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 Z=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(O.key==="Enter"&&Z instanceof HTMLAnchorElement){let le=t.collection.getItem(t.selectionManager.focusedKey);le&&y.open(Z,O,le.props.href,le.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 Z;let le=(u==null?void 0:u.current)&&u.current===O.relatedTarget,qe=(Z=n.current)===null||Z===void 0?void 0:Z.contains(O.relatedTarget);le||qe||(e.onBlur&&e.onBlur(O),t.setFocused(!1))},S=O=>{t.isFocused||(e.onFocus&&e.onFocus(O),t.setFocused(!0))},{isInvalid:R,validationErrors:$,validationDetails:T}=t.displayValidation,{labelProps:A,inputProps:k,descriptionProps:z,errorMessageProps:x}=fl({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:at(t.isOpen&&E.onKeyDown,C,e.onKeyDown),onBlur:B,value:t.inputValue,onFocus:S,autoComplete:"off",validate:void 0,[uu]:t},r),w=O=>{if(O.pointerType==="touch"){var Z;(Z=r.current)===null||Z===void 0||Z.focus(),t.toggle(null,"manual")}},V=O=>{if(O.pointerType!=="touch"){var Z;(Z=r.current)===null||Z===void 0||Z.focus(),t.toggle(O.pointerType==="keyboard"||O.pointerType==="virtual"?"first":null,"manual")}},F=Dt({id:m.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),I=Dt({id:b.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),P=o.useRef(0),K=O=>{if(c||d)return;if(O.timeStamp-P.current<500){var Z;O.preventDefault(),(Z=r.current)===null||Z===void 0||Z.focus();return}let le=O.target.getBoundingClientRect(),qe=O.changedTouches[0],re=Math.ceil(le.left+.5*le.width),_t=Math.ceil(le.top+.5*le.height);if(qe.clientX===re&&qe.clientY===_t){var cu;O.preventDefault(),(cu=r.current)===null||cu===void 0||cu.focus(),t.toggle(null,"manual"),P.current=O.timeStamp}},L=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var j;let U=(j=L==null?void 0:L.parentKey)!==null&&j!==void 0?j:null;var Q;let X=(Q=t.selectionManager.focusedKey)!==null&&Q!==void 0?Q:null,me=o.useRef(U),ie=o.useRef(X);o.useEffect(()=>{if(cr()&&L!=null&&X!=null&&X!==ie.current){let Z=t.selectionManager.isSelected(X),le=U!=null?t.collection.getItem(U):null,qe=(le==null?void 0:le["aria-label"])||(typeof(le==null?void 0:le.rendered)=="string"?le.rendered:"")||"";var O;let re=p.format("focusAnnouncement",{isGroupChange:(O=le&&U!==me.current)!==null&&O!==void 0?O:!1,groupTitle:qe,groupCount:le?[...ve(le,t.collection)].length:0,optionText:L["aria-label"]||L.textValue||"",isSelected:Z});$t(re)}me.current=U,ie.current=X});let se=bl(t.collection),M=o.useRef(se),G=o.useRef(t.isOpen);o.useEffect(()=>{let O=t.isOpen!==G.current&&(t.selectionManager.focusedKey==null||cr());if(t.isOpen&&(O||se!==M.current)){let Z=p.format("countAnnouncement",{optionCount:se});$t(Z)}M.current=se,G.current=t.isOpen});let J=o.useRef(t.selectedKey);return o.useEffect(()=>{if(cr()&&t.isFocused&&t.selectedItem&&t.selectedKey!==J.current){let O=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",Z=p.format("selectedAnnouncement",{optionText:O});$t(Z)}J.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return J3([r.current,n.current].filter(O=>O!=null))},[t.isOpen,r,n]),{labelProps:A,buttonProps:{...m,...F,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:w,onPressStart:V,isDisabled:c||d},inputProps:N(k,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":L?X3(t,L.key):void 0,onTouchEnd:K,autoCorrect:"off",spellCheck:"false"}),listBoxProps:N(b,I,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:z,errorMessageProps:x,isInvalid:R,validationErrors:$,validationDetails:T}}var Vf={};Vf={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 Nf={};Nf={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 jf={};jf={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 Lf={};Lf={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 _f={};_f={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 Of={};Of={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 Hf={};Hf={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 Uf={};Uf={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 Wf={};Wf={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 Gf={};Gf={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 Zf={};Zf={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 qf={};qf={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 Yf={};Yf={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 Jf={};Jf={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 Qf={};Qf={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 Xf={};Xf={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 tp={};tp={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 up={};up={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 np={};np={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 rp={};rp={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 ap={};ap={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 ip={};ip={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 lp={};lp={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 op={};op={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 sp={};sp={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 dp={};dp={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 cp={};cp={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 fp={};fp={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 pp={};pp={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 mp={};mp={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 bp={};bp={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 hp={};hp={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:"日曆",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 _n={};_n={"ar-AE":Vf,"bg-BG":Nf,"cs-CZ":jf,"da-DK":Lf,"de-DE":_f,"el-GR":Of,"en-US":Hf,"es-ES":Uf,"et-EE":Wf,"fi-FI":Gf,"fr-FR":Zf,"he-IL":qf,"hr-HR":Yf,"hu-HU":Jf,"it-IT":Qf,"ja-JP":Xf,"ko-KR":ep,"lt-LT":tp,"lv-LV":up,"nb-NO":np,"nl-NL":rp,"pl-PL":ap,"pt-BR":ip,"pt-PT":lp,"ro-RO":op,"ru-RU":sp,"sk-SK":dp,"sl-SI":cp,"sr-SP":fp,"sv-SE":pp,"tr-TR":mp,"uk-UA":bp,"zh-CN":hp,"zh-TW":$p};function $l(e,t,u){let{direction:n}=pe(),r=o.useMemo(()=>qr(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":s.preventDefault(),s.stopPropagation(),n==="rtl"?r.focusNext():r.focusPrevious();break;case"ArrowRight":s.preventDefault(),s.stopPropagation(),n==="rtl"?r.focusPrevious():r.focusNext();break}},i=()=>{var s;if(!t.current)return;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=Pe(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}=We({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return N(l,{onKeyDown:a})}function s6(e){return e&&e.__esModule?e.default:e}const gp=new WeakMap,gn="__role_"+Date.now(),Dp="__focusManager_"+Date.now();function d6(e,t,u){var n;let{isInvalid:r,validationErrors:a,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=lu({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||a}),f=o.useRef(null),{focusWithinProps:p}=ft({...e,onFocusWithin(A){var k;f.current=t.value,(k=e.onFocus)===null||k===void 0||k.call(e,A)},onBlurWithin:A=>{var k;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(k=e.onBlur)===null||k===void 0||k.call(e,A)},onFocusWithinChange:e.onFocusChange}),m=be(s6(_n),"@react-aria/datepicker"),b=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",h=t.maxGranularity==="hour"?"time":"date",D=t.value?m.format(b,{[h]:t.formatValue({month:"long"})}):"",v=vt(D),E=e[gn]==="presentation"?s["aria-describedby"]:[v["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,y=e[Dp],C=o.useMemo(()=>y||qr(u),[y,u]),B=$l(t,u,e[gn]==="presentation");gp.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:E,focusManager:C});let S=o.useRef(e.autoFocus),R;e[gn]==="presentation"?R={role:"presentation"}:R=N(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":E}),o.useEffect(()=>{S.current&&C.focusFirst(),S.current=!1},[C]),Mn(e.inputRef,t.value,t.setValue),Ln({...e,focus(){C.focusFirst()}},t,e.inputRef);let $={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&($.type="text",$.hidden=!0,$.required=e.isRequired,$.onChange=()=>{});let T=_(e);return{labelProps:{...l,onClick:()=>{C.focusFirst()}},fieldProps:N(T,R,B,p,{onKeyDown(A){e.onKeyDown&&e.onKeyDown(A)},onKeyUp(A){e.onKeyUp&&e.onKeyUp(A)}}),inputProps:$,descriptionProps:d,errorMessageProps:c,isInvalid:r,validationErrors:a,validationDetails:i}}function c6(e){return e&&e.__esModule?e.default:e}function f6(e,t,u){let n=ne(),r=ne(),a=ne(),i=be(c6(_n),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=lu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=$l(t,u),h=f["aria-labelledby"]||f.id,{locale:D}=pe(),v=t.formatValue(D,{month:"long"}),E=v?i.format("selectedDateDescription",{date:v}):"",y=vt(E),C=[y["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,B=_(e),S=o.useMemo(()=>qr(u),[u]),{focusWithinProps:R}=ft({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:N(B,b,f,y,R,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":h,"aria-describedby":C,onKeyDown($){t.isOpen||e.onKeyDown&&e.onKeyDown($)},onKeyUp($){t.isOpen||e.onKeyUp&&e.onKeyUp($)}}),labelProps:{...c,onClick:()=>{S.focusFirst()}},fieldProps:{...f,id:a,[gn]:"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,[uu]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:m,buttonProps:{...y,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${h}`,"aria-describedby":C,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:r,"aria-labelledby":`${n} ${h}`},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 p6(e){return e&&e.__esModule?e.default:e}function m6(){let{locale:e}=pe(),t=Td(p6(_n),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new b6(e,t)}},[e,t])}class b6{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function h6(e,t,u){let n=o.useRef(""),{locale:r}=pe(),a=m6(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:s,focusManager:d}=gp.get(t),c=e.isPlaceholder?"":e.text,f=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=mt({month:"long",timeZone:f.timeZone}),m=mt({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let P=p.format(t.dateValue);c=P!==c?`${c} – ${P}`:P}else e.type==="hour"&&!e.isPlaceholder&&(c=m.format(t.dateValue));let{spinButtonProps:b}=vD({value:e.value,textValue:c,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)}}),h=o.useMemo(()=>new ac(r,{maximumFractionDigits:0}),[r]),D=()=>{if(e.text===e.placeholder&&d.focusPrevious(),h.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let P=e.text.slice(0,-1),K=h.parse(P);P=K===0?"":P,P.length===0||K===0?t.clearSegment(e.type):t.setSegment(e.type,K),n.current=P}else e.type==="dayPeriod"&&t.clearSegment(e.type)},v=P=>{if(P.key==="a"&&(gt()?P.metaKey:P.ctrlKey)&&P.preventDefault(),!(P.ctrlKey||P.metaKey||P.shiftKey||P.altKey))switch(P.key){case"Backspace":case"Delete":P.preventDefault(),P.stopPropagation(),D();break}},{startsWith:E}=ic({sensitivity:"base"}),y=mt({hour:"numeric",hour12:!0}),C=o.useMemo(()=>{let P=new Date;return P.setHours(0),y.formatToParts(P).find(K=>K.type==="dayPeriod").value},[y]),B=o.useMemo(()=>{let P=new Date;return P.setHours(12),y.formatToParts(P).find(K=>K.type==="dayPeriod").value},[y]),S=mt({year:"numeric",era:"narrow",timeZone:"UTC"}),R=o.useMemo(()=>{if(e.type!=="era")return[];let P=he(new Se(1,1,1),t.calendar),K=t.calendar.getEras().map(j=>{let U=P.set({year:1,month:1,day:1,era:j}).toDate("UTC"),X=S.formatToParts(U).find(me=>me.type==="era").value;return{era:j,formatted:X}}),L=$6(K.map(j=>j.formatted));if(L)for(let j of K)j.formatted=j.formatted.slice(L);return K},[S,t.calendar,e.type]),$=P=>{if(t.isDisabled||t.isReadOnly)return;let K=n.current+P;switch(e.type){case"dayPeriod":if(E(C,P))t.setSegment("dayPeriod",0);else if(E(B,P))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let L=R.find(j=>E(j.formatted,P));L&&(t.setSegment("era",L.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!h.isValidPartialNumber(K))return;let L=h.parse(K),j=L,U=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":L>11&&(j=h.parse(P));break;case"h12":U=!1,L>12&&(j=h.parse(P));break}e.value!==void 0&&e.value>=12&&L>1&&(L+=12)}else e.maxValue!==void 0&&L>e.maxValue&&(j=h.parse(P));if(isNaN(L))return;let Q=j!==0||U;Q&&t.setSegment(e.type,j),e.maxValue!==void 0&&(+(L+"0")>e.maxValue||K.length>=String(e.maxValue).length)?(n.current="",Q&&d.focusNext()):n.current=K;break}}},T=()=>{n.current="",u.current&&Ke(u.current,{containingElement:Ie(u.current)});let P=window.getSelection();P==null||P.collapse(u.current)},A=o.useRef(typeof document<"u"?document:null);st(A,"selectionchange",()=>{var P;let K=window.getSelection();K!=null&&K.anchorNode&&(!((P=u.current)===null||P===void 0)&&P.contains(K==null?void 0:K.anchorNode))&&K.collapse(u.current)});let k=o.useRef("");st(u,"beforeinput",P=>{if(u.current)switch(P.preventDefault(),P.inputType){case"deleteContentBackward":case"deleteContentForward":h.isValidPartialNumber(e.text)&&!t.isReadOnly&&D();break;case"insertCompositionText":k.current=u.current.textContent,u.current.textContent=u.current.textContent;break;default:P.data!=null&&$(P.data);break}}),st(u,"input",P=>{let{inputType:K,data:L}=P;switch(K){case"insertCompositionText":u.current&&(u.current.textContent=k.current),L!=null&&(E(C,L)||E(B,L))&&$(L);break}}),q(()=>{let P=u.current;return()=>{document.activeElement===P&&(d.focusPrevious()||d.focusNext())}},[u,d]);let z=Kn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},x=o.useMemo(()=>t.segments.find(P=>P.isEditable),[t.segments]);e!==x&&!t.isInvalid&&(s=void 0);let w=ne(),V=!t.isDisabled&&!t.isReadOnly&&e.isEditable,F=e.type==="literal"?"":a.of(e.type),I=Dt({"aria-label":`${F}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:N(b,I,{id:w,...z,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":s,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:V,suppressContentEditableWarning:V,spellCheck:V?"false":void 0,autoCorrect:V?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:V?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!V?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:v,onFocus:T,style:{caretColor:"transparent"},onPointerDown(P){P.stopPropagation()},onMouseDown(P){P.stopPropagation()}})}}function $6(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 g6(e){return e&&e.__esModule?e.default:e}function D6(e,t,u){var n,r,a;let i=be(g6(_n),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=lu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=f["aria-labelledby"]||f.id,{locale:h}=pe(),D=t.formatValue(h,{month:"long"}),v=D?i.format("selectedRangeDescription",{startDate:D.start,endDate:D.end}):"",E=vt(v),y={"aria-label":i.format("startDate"),"aria-labelledby":b},C={"aria-label":i.format("endDate"),"aria-labelledby":b},B=ne(),S=ne(),R=$l(t,u),$=[E["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,T=o.useMemo(()=>qr(u,{accept:I=>I.id!==B}),[u,B]),A={[Dp]:T,[gn]:"presentation","aria-describedby":$,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=_(e),{focusWithinProps:z}=ft({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=o.useRef(Zt),w=o.useRef(Zt);var V,F;return{groupProps:N(k,R,f,E,z,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":$,onKeyDown(I){t.isOpen||e.onKeyDown&&e.onKeyDown(I)},onKeyUp(I){t.isOpen||e.onKeyUp&&e.onKeyUp(I)}}),labelProps:{...c,onClick:()=>{T.focusFirst()}},buttonProps:{...E,id:B,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${B} ${b}`,"aria-describedby":$,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:S,"aria-labelledby":`${B} ${b}`},startFieldProps:{...y,...A,value:(V=(n=t.value)===null||n===void 0?void 0:n.start)!==null&&V!==void 0?V:null,onChange:I=>t.setDateTime("start",I),autoFocus:e.autoFocus,name:e.startName,[uu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(I){x.current=I,t.updateValidation(Fn(I,w.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...A,value:(F=(r=t.value)===null||r===void 0?void 0:r.end)!==null&&F!==void 0?F:null,onChange:I=>t.setDateTime("end",I),name:e.endName,[uu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(I){w.current=I,t.updateValidation(Fn(x.current,I))},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 y6(e,t){let{role:u="dialog"}=e,n=rt();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]),ZD(),{dialogProps:{..._(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{r.current&&a.stopPropagation()}},titleProps:{id:n}}}function v6(e,t,u){let{isDisabled:n}=e,r=ne(),a=ne(),l=!zt()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),au.flushSync(()=>{t.toggle()})},[u,t]);return st(u,"beforematch",l?d:null),q(()=>{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 Ne=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 yp={...Ne,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},x6=gl(yp);x6[7]="all";gl(Ne);const vp={none:"cancel",link:"link",copy:"copy",move:"move"},ja=gl(vp);function gl(e){let t={};for(let u in e)t[e[u]]=u;return t}const C6=new Set(["text/plain","text/uri-list","text/html"]),Fr="application/vnd.react-aria.items+json",Tr="application/octet-stream",E6=Symbol();function B6(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function k6(){return B6(Wi())}function Wo(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(C6.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,Fr)}}class rr{has(t){return this.includesUnknownTypes||t===E6&&this.types.has(Tr)?!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!==Fr&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(Tr));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function xp(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(Fr))try{let n=e.getData(Fr),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||Tr,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(vi(r.getAsFile())):a.isDirectory&&t.push(Cp(a))}else t.push(vi(r.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:r=>Promise.resolve(n.get(r))})}return t}function P6(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 vi(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||Tr,name:e.name,getText:()=>P6(e),getFile:()=>Promise.resolve(e)}}function Cp(e){return{kind:"directory",name:e.name,getEntries:()=>S6(e)}}async function*S6(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 A6(n);yield vi(r)}else n.isDirectory&&(yield Cp(n))}while(u.length>0)}function A6(e){return new Promise((t,u)=>e.file(t,u))}let Ep={draggingKeys:new Set};function w6(e){Ep=e}let Go=Ne.none,Zo=new Map,qo=null,Yo=new Set;function F6(e){return Zo.set(e.element,e),()=>{Zo.delete(e.element)}}function T6(){let[e,t]=o.useState(qo);return o.useEffect(()=>{let u=()=>t(qo);return Yo.add(u),()=>{Yo.delete(u)}},[]),e}var Bp={};Bp={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 kp={};kp={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 Pp={};Pp={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 Sp={};Sp={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 Ap={};Ap={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 wp={};wp={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 Fp={};Fp={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 Tp={};Tp={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 Rp={};Rp={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 Ip={};Ip={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 Kp={};Kp={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 Mp={};Mp={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 zp={};zp={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 Vp={};Vp={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 Np={};Np={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 jp={};jp={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 Lp={};Lp={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 _p={};_p={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 Op={};Op={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 Hp={};Hp={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 Up={};Up={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 Wp={};Wp={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 Gp={};Gp={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 Zp={};Zp={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 qp={};qp={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 Yp={};Yp={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 Jp={};Jp={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 Qp={};Qp={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 Xp={};Xp={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 e0={};e0={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 t0={};t0={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 u0={};u0={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 n0={};n0={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 r0={};r0={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 a0={};a0={"ar-AE":Bp,"bg-BG":kp,"cs-CZ":Pp,"da-DK":Sp,"de-DE":Ap,"el-GR":wp,"en-US":Fp,"es-ES":Tp,"et-EE":Rp,"fi-FI":Ip,"fr-FR":Kp,"he-IL":Mp,"hr-HR":zp,"hu-HU":Vp,"it-IT":Np,"ja-JP":jp,"ko-KR":Lp,"lt-LT":_p,"lv-LV":Op,"nb-NO":Hp,"nl-NL":Up,"pl-PL":Wp,"pt-BR":Gp,"pt-PT":Zp,"ro-RO":qp,"ru-RU":Yp,"sk-SK":Jp,"sl-SI":Qp,"sr-SP":Xp,"sv-SE":e0,"tr-TR":t0,"uk-UA":u0,"zh-CN":n0,"zh-TW":r0};function R6(e){return e&&e.__esModule?e.default:e}const I6={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function K6(){let e=be(R6(a0),"@react-aria/dnd"),t=k6(),u=T6();return{dropProps:{...vt(u?e.format(I6[t]):""),onClick:()=>{}}}}const M6=800;function z6(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:Ne.all,dropActivateTimer:void 0}).current,i=y=>{if(r(!0),typeof e.onDropEnter=="function"){let C=y.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:y.clientX-C.x,y:y.clientY-C.y})}},l=y=>{if(r(!1),typeof e.onDropExit=="function"){let C=y.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:y.clientX-C.x,y:y.clientY-C.y})}},s=y=>{y.preventDefault(),y.stopPropagation();let C=Jo(y);if(y.clientX===a.x&&y.clientY===a.y&&C===a.allowedOperations){y.dataTransfer.dropEffect=a.dropEffect;return}a.x=y.clientX,a.y=y.clientY;let B=a.dropEffect;if(C!==a.allowedOperations){let S=La(C),R=S[0];if(typeof e.getDropOperation=="function"){let $=new rr(y.dataTransfer);R=ar(C,e.getDropOperation($,S))}a.dropEffect=ja[R]||"none"}if(typeof e.getDropOperationForPoint=="function"){let S=new rr(y.dataTransfer),R=y.currentTarget.getBoundingClientRect(),$=ar(C,e.getDropOperationForPoint(S,La(C),a.x-R.x,a.y-R.y));a.dropEffect=ja[$]||"none"}if(a.allowedOperations=C,y.dataTransfer.dropEffect=a.dropEffect,a.dropEffect==="none"&&B!=="none"?l(y):a.dropEffect!=="none"&&B==="none"&&i(y),typeof e.onDropMove=="function"&&a.dropEffect!=="none"){let S=y.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:a.x-S.x,y:a.y-S.y})}if(clearTimeout(a.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&a.dropEffect!=="none"){let S=e.onDropActivate,R=y.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{S({type:"dropactivate",x:a.x-R.x,y:a.y-R.y})},M6)}},d=y=>{if(y.preventDefault(),y.stopPropagation(),a.dragOverElements.add(y.target),a.dragOverElements.size>1)return;let C=Jo(y),B=La(C),S=B[0];if(typeof e.getDropOperation=="function"){let R=new rr(y.dataTransfer);S=ar(C,e.getDropOperation(R,B))}if(typeof e.getDropOperationForPoint=="function"){let R=new rr(y.dataTransfer),$=y.currentTarget.getBoundingClientRect();S=ar(C,e.getDropOperationForPoint(R,B,y.clientX-$.x,y.clientY-$.y))}a.x=y.clientX,a.y=y.clientY,a.allowedOperations=C,a.dropEffect=ja[S]||"none",y.dataTransfer.dropEffect=a.dropEffect,S!=="cancel"&&i(y)},c=y=>{y.preventDefault(),y.stopPropagation(),a.dragOverElements.delete(y.target);for(let C of a.dragOverElements)y.currentTarget.contains(C)||a.dragOverElements.delete(C);a.dragOverElements.size>0||(a.dropEffect!=="none"&&l(y),clearTimeout(a.dropActivateTimer))},f=y=>{if(y.preventDefault(),y.stopPropagation(),a.dropEffect,typeof e.onDrop=="function"){let B=vp[a.dropEffect],S=xp(y.dataTransfer),R=y.currentTarget.getBoundingClientRect(),$={type:"drop",x:y.clientX-R.x,y:y.clientY-R.y,items:S,dropOperation:B};e.onDrop($)}let C={...Ep};a.dragOverElements.clear(),l(y),clearTimeout(a.dropActivateTimer),C.draggingCollectionRef==null||w6(C)},p=ae(y=>{typeof e.onDropEnter=="function"&&e.onDropEnter(y)}),m=ae(y=>{typeof e.onDropExit=="function"&&e.onDropExit(y)}),b=ae(y=>{typeof e.onDropActivate=="function"&&e.onDropActivate(y)}),h=ae(y=>{typeof e.onDrop=="function"&&e.onDrop(y)}),D=ae((y,C)=>e.getDropOperation?e.getDropOperation(y,C):C[0]),{ref:v}=e;q(()=>{if(!(u||!v.current))return F6({element:v.current,getDropOperation:D,onDropEnter(y){r(!0),p(y)},onDropExit(y){r(!1),m(y)},onDrop:h,onDropActivate:b})},[u,v,D,p,m,h,b]);let{dropProps:E}=K6();return u?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&E,onDragEnter:d,onDragOver:s,onDragLeave:c,onDrop:f},dropButtonProps:{...t&&E},isDropTarget:n}}function Jo(e){let t=yp[e.dataTransfer.effectAllowed];Go&&(t&=Go);let u=Ne.none;return gt()?(e.altKey&&(u|=Ne.copy),e.ctrlKey&&!Mi()&&(u|=Ne.link),e.metaKey&&(u|=Ne.move)):(e.altKey&&(u|=Ne.link),e.shiftKey&&(u|=Ne.move),e.ctrlKey&&(u|=Ne.copy)),u?t&u:t}function La(e){let t=[];return e&Ne.move&&t.push("move"),e&Ne.copy&&t.push("copy"),e&Ne.link&&t.push("link"),t}function ar(e,t){let u=Ne[t];return e&u?t:"cancel"}const _a=new Map;function Ku(e,t){let u=_a.get(e);if(!u){let n=new Set,r=a=>{for(let i of n)i(a)};u={listener:r,handlers:n},_a.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),_a.delete(e))}}function V6(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=Gr({onFocusChange:c=>{u.current=c}}),r=ae(c=>{u.current&&e.getItems&&c.preventDefault()}),a=ae(c=>{if(!(!u.current||!e.getItems)&&(c.preventDefault(),c.clipboardData)){var f;Wo(c.clipboardData,e.getItems()),(f=e.onCopy)===null||f===void 0||f.call(e)}}),i=ae(c=>{u.current&&e.onCut&&e.getItems&&c.preventDefault()}),l=ae(c=>{!u.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(Wo(c.clipboardData,e.getItems()),e.onCut()))}),s=ae(c=>{u.current&&e.onPaste&&c.preventDefault()}),d=ae(c=>{if(!(!u.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let f=xp(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return at(Ku("beforecopy",r),Ku("copy",a),Ku("beforecut",i),Ku("cut",l),Ku("beforepaste",s),Ku("paste",d))},[t,r,a,i,l,s,d]),{clipboardProps:n}}const Dl=new WeakMap;function xi(e,t){var u;let{id:n}=(u=Dl.get(e))!==null&&u!==void 0?u:{};if(!n)throw new Error("Unknown list");return`${n}-${N6(t)}`}function N6(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class i0{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}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,s=>s.type==="item"),u!=null){if(this.isCell(n)){var a;let s=this.collection.getItem(u);if(!s)return null;var i,l;return(l=(a=Gt(ve(s,this.collection),(i=n.index)!==null&&i!==void 0?i:0))===null||a===void 0?void 0:a.key)!==null&&l!==void 0?l:null}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,l=>l.type==="item"),u!=null){if(this.isCell(n)){var a;let l=this.collection.getItem(u);if(!l)return null;var i;return((a=Gt(ve(l,this.collection),(i=n.index)!==null&&i!==void 0?i:0))===null||a===void 0?void 0:a.key)||null}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=ve(u,this.collection);var a;return(a=this.direction==="rtl"?(n=It(c))===null||n===void 0?void 0:n.key:(r=Ft(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=ve(c,this.collection);var i;let p=(i=this.direction==="rtl"?Gt(f,u.index-1):Gt(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=ve(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Ft(c))===null||n===void 0?void 0:n.key:(r=It(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=ve(c,this.collection);var i;let p=(i=this.direction==="rtl"?Gt(f,u.index+1):Gt(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=Ft(ve(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=Ft(ve(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=ve(d,this.collection);var i;return(i=(a=It(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=ve(d,this.collection);var s;n=(s=(l=It(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=Ft(ve(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 j6(t.layout):new yi(t.ref)),this.focusMode=t.focusMode||"row"}}class j6{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 yl=new WeakMap;var l0={};l0={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 o0={};o0={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 s0={};s0={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 d0={};d0={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 c0={};c0={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 f0={};f0={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 p0={};p0={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 m0={};m0={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 b0={};b0={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 h0={};h0={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 $0={};$0={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 g0={};g0={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 D0={};D0={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 y0={};y0={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 v0={};v0={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 x0={};x0={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 C0={};C0={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 E0={};E0={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 B0={};B0={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 k0={};k0={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 P0={};P0={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 S0={};S0={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 A0={};A0={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 w0={};w0={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 F0={};F0={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 T0={};T0={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 R0={};R0={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 I0={};I0={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 K0={};K0={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 M0={};M0={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 z0={};z0={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 V0={};V0={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 N0={};N0={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 j0={};j0={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 ta={};ta={"ar-AE":l0,"bg-BG":o0,"cs-CZ":s0,"da-DK":d0,"de-DE":c0,"el-GR":f0,"en-US":p0,"es-ES":m0,"et-EE":b0,"fi-FI":h0,"fr-FR":$0,"he-IL":g0,"hr-HR":D0,"hu-HU":y0,"it-IT":v0,"ja-JP":x0,"ko-KR":C0,"lt-LT":E0,"lv-LV":B0,"nb-NO":k0,"nl-NL":P0,"pl-PL":S0,"pt-BR":A0,"pt-PT":w0,"ro-RO":F0,"ru-RU":T0,"sk-SK":R0,"sl-SI":I0,"sr-SP":K0,"sv-SE":M0,"tr-TR":z0,"uk-UA":V0,"zh-CN":N0,"zh-TW":j0};function L6(e){return e&&e.__esModule?e.default:e}function L0(e,t){let{getRowText:u=i=>{var l,s,d,c;return(c=(l=(s=t.collection).getTextValue)===null||l===void 0?void 0:l.call(s,i))!==null&&c!==void 0?c:(d=t.collection.getItem(i))===null||d===void 0?void 0:d.textValue}}=e,n=be(L6(ta),"@react-aria/grid"),r=t.selectionManager.rawSelection,a=o.useRef(r);$r(()=>{var i;if(!t.selectionManager.isFocused){a.current=r;return}let l=Qo(r,a.current),s=Qo(a.current,r),d=t.selectionManager.selectionBehavior==="replace",c=[];if(t.selectionManager.selectedKeys.size===1&&d){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let f=u(t.selectionManager.selectedKeys.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}}else if(l.size===1&&s.size===0){let f=u(l.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}else if(s.size===1&&l.size===0&&t.collection.getItem(s.keys().next().value)){let f=u(s.keys().next().value);f&&c.push(n.format("deselectedItem",{item:f}))}t.selectionManager.selectionMode==="multiple"&&(c.length===0||r==="all"||r.size>1||a.current==="all"||((i=a.current)===null||i===void 0?void 0:i.size)>1)&&c.push(r==="all"?n.format("selectedAll"):n.format("selectedCount",{count:r.size})),c.length>0&&$t(c.join(" ")),a.current=r},[r])}function Qo(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 _6(e){return e&&e.__esModule?e.default:e}function _0(e){let t=be(_6(ta),"@react-aria/grid"),u=Wi(),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 vt(r)}function O6(e,t,u){let{isVirtualized:n,keyboardDelegate:r,focusMode:a,scrollRef:i,getRowText:l,onRowAction:s,onCellAction:d}=e,{selectionManager:c}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let f=Au({usage:"search",sensitivity:"base"}),{direction:p}=pe(),m=t.selectionManager.disabledBehavior,b=o.useMemo(()=>r||new i0({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:m,ref:u,direction:p,collator:f,focusMode:a}),[r,t.collection,t.disabledKeys,m,u,p,f,a]),{collectionProps:h}=ea({ref:u,selectionManager:c,keyboardDelegate:b,isVirtualized:n,scrollRef:i}),D=ne(e.id);yl.set(t,{keyboardDelegate:b,actions:{onRowAction:s,onCellAction:d}});let v=_0({selectionManager:c,hasItemActions:!!(s||d)}),E=_(e,{labelable:!0}),y=o.useCallback(R=>{if(c.isFocused){R.currentTarget.contains(R.target)||c.setFocused(!1);return}R.currentTarget.contains(R.target)&&c.setFocused(!0)},[c]),C=o.useMemo(()=>({onBlur:h.onBlur,onFocus:y}),[y,h.onBlur]),B=qi(u,{isDisabled:t.collection.size!==0}),S=N(E,{role:"grid",id:D,"aria-multiselectable":c.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?C:h,t.collection.size===0&&{tabIndex:B?-1:0}||void 0,v);return n&&(S["aria-rowcount"]=t.collection.size,S["aria-colcount"]=t.collection.columnCount),L0({getRowText:l},t),{gridProps:S}}function H6(){return{rowGroupProps:{role:"rowgroup"}}}function U6(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d}=yl.get(t),c=d.onRowAction?()=>{var h;return(h=d.onRowAction)===null||h===void 0?void 0:h.call(d,a.key)}:s,{itemProps:f,...p}=Xu({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?at(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 O0(e,t,u){let{node:n,isVirtualized:r,focusMode:a="child",shouldSelectOnPressUp:i,onAction:l}=e,{direction:s}=pe(),{keyboardDelegate:d,actions:{onCellAction:c}}=yl.get(t),f=o.useRef(null),p=()=>{if(u.current){let y=Pe(u.current);if(a==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let C=t.selectionManager.childFocusStrategy==="last"?Oa(y):y.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}=Xu({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}),v=N(m,{role:"gridcell",onKeyDownCapture:y=>{if(!y.currentTarget.contains(y.target)||t.isKeyboardNavigationDisabled||!u.current||!document.activeElement)return;let C=Pe(u.current);switch(C.currentNode=document.activeElement,y.key){case"ArrowLeft":{let A=s==="rtl"?C.nextNode():C.previousNode();if(a==="child"&&A===u.current&&(A=null),y.preventDefault(),y.stopPropagation(),A)xe(A),Ke(A,{containingElement:Ie(u.current)});else{var B;if(((B=d.getKeyLeftOf)===null||B===void 0?void 0:B.call(d,n.key))!==n.key){var S;(S=u.current.parentElement)===null||S===void 0||S.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent));break}a==="cell"&&s==="rtl"?(xe(u.current),Ke(u.current,{containingElement:Ie(u.current)})):(C.currentNode=u.current,A=s==="rtl"?C.firstChild():Oa(C),A&&(xe(A),Ke(A,{containingElement:Ie(u.current)})))}break}case"ArrowRight":{let A=s==="rtl"?C.previousNode():C.nextNode();if(a==="child"&&A===u.current&&(A=null),y.preventDefault(),y.stopPropagation(),A)xe(A),Ke(A,{containingElement:Ie(u.current)});else{var R;if(((R=d.getKeyRightOf)===null||R===void 0?void 0:R.call(d,n.key))!==n.key){var $;($=u.current.parentElement)===null||$===void 0||$.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent));break}a==="cell"&&s==="ltr"?(xe(u.current),Ke(u.current,{containingElement:Ie(u.current)})):(C.currentNode=u.current,A=s==="rtl"?Oa(C):C.firstChild(),A&&(xe(A),Ke(A,{containingElement:Ie(u.current)})))}break}case"ArrowUp":case"ArrowDown":if(!y.altKey&&u.current.contains(y.target)){var T;y.stopPropagation(),y.preventDefault(),(T=u.current.parentElement)===null||T===void 0||T.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent))}break}},onFocus:y=>{if(f.current=n.key,y.target!==u.current){eu()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{a==="child"&&document.activeElement===u.current&&p()})}});var E;return r&&(v["aria-colindex"]=((E=n.colIndex)!==null&&E!==void 0?E:n.index)+1),i&&v.tabIndex!=null&&v.onPointerDown==null&&(v.onPointerDown=y=>{let C=y.currentTarget,B=C.getAttribute("tabindex");C.removeAttribute("tabindex"),requestAnimationFrame(()=>{B!=null&&C.setAttribute("tabindex",B)})}),{gridCellProps:v,isPressed:b}}function Oa(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function W6(e){return e&&e.__esModule?e.default:e}function H0(e,t){let{key:u}=e,n=t.selectionManager,r=ne(),a=!t.selectionManager.canSelectItem(u),i=t.selectionManager.isSelected(u),l=()=>n.toggleSelection(u);const s=be(W6(ta),"@react-aria/grid");return{checkboxProps:{id:r,"aria-label":s.format("select"),isSelected:i,isDisabled:a,onChange:l}}}function U0(e,t,u){let{isVirtualized:n,keyboardDelegate:r,layoutDelegate:a,onAction:i,linkBehavior:l="action",keyboardNavigationBehavior:s="arrow"}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:d}=pl({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:l}),c=ne(e.id);Dl.set(t,{id:c,onAction:i,linkBehavior:l,keyboardNavigationBehavior:s});let f=_0({selectionManager:t.selectionManager,hasItemActions:!!i}),p=qi(u,{isDisabled:t.collection.size!==0}),m=_(e,{labelable:!0}),b=N(m,{role:"grid",id:c,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:p?-1:0}:d,f);return n&&(b["aria-rowcount"]=t.collection.size,b["aria-colcount"]=1),L0({},t),{gridProps:b}}const Xo={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function W0(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l}=e,{direction:s}=pe(),{onAction:d,linkBehavior:c,keyboardNavigationBehavior:f}=Dl.get(t),p=rt(),m=o.useRef(null),b=()=>{var F;u.current!==null&&(m.current!=null&&a.key!==m.current||!(!((F=u.current)===null||F===void 0)&&F.contains(document.activeElement)))&&xe(u.current)},h={},D,v=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var E,y,C;let F=(E=(y=t.collection).getChildren)===null||E===void 0?void 0:E.call(y,a.key);D=[...F??[]].length>1,d==null&&!v&&t.selectionManager.selectionMode==="none"&&D&&(d=()=>t.toggleKey(a.key));let I=D?t.expandedKeys.has(a.key):void 0,P=1;var B;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let K=t.collection.getItem(a.parentKey);if(K){var S,R;let L=(S=(R=t.collection).getChildren)===null||S===void 0?void 0:S.call(R,K.key);P=It(L).index+1}}else P=((B=(C=[...t.collection].filter(K=>K.level===0).at(-1))===null||C===void 0?void 0:C.index)!==null&&B!==void 0?B:0)+1;h={"aria-expanded":I,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":P}}let{itemProps:$,...T}=Xu({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:d||!((n=a.props)===null||n===void 0)&&n.onAction?at((r=a.props)===null||r===void 0?void 0:r.onAction,d?()=>d(a.key):void 0):void 0,focus:b,linkBehavior:c}),A=F=>{if(!F.currentTarget.contains(F.target)||!u.current||!document.activeElement)return;let I=Pe(u.current);if(I.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(F.key===Xo.expand[s]&&t.selectionManager.focusedKey===a.key&&D&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),F.stopPropagation();return}else if(F.key===Xo.collapse[s]&&t.selectionManager.focusedKey===a.key&&D&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),F.stopPropagation();return}}switch(F.key){case"ArrowLeft":if(f==="arrow"){let K=s==="rtl"?I.nextNode():I.previousNode();if(K)F.preventDefault(),F.stopPropagation(),xe(K),Ke(K,{containingElement:Ie(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="rtl")xe(u.current),Ke(u.current,{containingElement:Ie(u.current)});else{I.currentNode=u.current;let L=es(I);L&&(xe(L),Ke(L,{containingElement:Ie(u.current)}))}}break;case"ArrowRight":if(f==="arrow"){let K=s==="rtl"?I.previousNode():I.nextNode();if(K)F.preventDefault(),F.stopPropagation(),xe(K),Ke(K,{containingElement:Ie(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="ltr")xe(u.current),Ke(u.current,{containingElement:Ie(u.current)});else{I.currentNode=u.current;let L=es(I);L&&(xe(L),Ke(L,{containingElement:Ie(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!F.altKey&&u.current.contains(F.target)){var P;F.stopPropagation(),F.preventDefault(),(P=u.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(F.nativeEvent.type,F.nativeEvent))}break;case"Tab":if(f==="tab"){let K=Pe(u.current,{tabbable:!0});K.currentNode=document.activeElement,(F.shiftKey?K.previousNode():K.nextNode())&&F.stopPropagation()}}},k=F=>{if(m.current=a.key,F.target!==u.current){eu()||t.selectionManager.setFocusedKey(a.key);return}},z=Vi(a.props),x=T.hasAction?z:{},w=N($,x,{role:"row",onKeyDownCapture:A,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?`${xi(t,a.key)} ${p}`:void 0,id:xi(t,a.key)});i&&(w["aria-rowindex"]=a.index+1);let V={role:"gridcell","aria-colindex":1};return{rowProps:{...N(w,h)},gridCellProps:V,descriptionProps:{id:p},...T}}function es(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function G6(e,t){let{key:u}=e;const{checkboxProps:n}=H0(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${xi(t,u)}`}}}const G0=new WeakMap;function Z6(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=$=>{$.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:m}=We({isDisabled:l}),{pressProps:b,isPressed:h}=We({isDisabled:l,onPress(){t.setSelectedValue(n)}}),{focusableProps:D}=Su(N(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),v=N(p,D),E=_(e,{labelable:!0}),y=-1;t.selectedValue!=null?t.selectedValue===n&&(y=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(y=0),l&&(y=void 0);let{name:C,descriptionId:B,errorMessageId:S,validationBehavior:R}=G0.get(t);return Mn(u,t.selectedValue,t.setSelectedValue),Ln({validationBehavior:R},t,u),{labelProps:N(b,{onClick:$=>$.preventDefault()}),inputProps:N(E,{...v,type:"radio",name:C,tabIndex:y,disabled:l,required:t.isRequired&&R==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?S:null,B].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:c,isPressed:m||h}}function q6(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:h}=lu({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),D=_(e,{labelable:!0}),{focusWithinProps:v}=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}),E=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 S=Pe(C.currentTarget,{from:C.target}),R;B==="next"?(R=S.nextNode(),R||(S.currentNode=C.currentTarget,R=S.firstChild())):(R=S.previousNode(),R||(S.currentNode=C.currentTarget,R=S.lastChild())),R&&(R.focus(),t.setSelectedValue(R.value))},y=ne(u);return G0.set(t,{name:y,descriptionId:b.id,errorMessageId:h.id,validationBehavior:l}),{radioGroupProps:N(D,{role:"radiogroup",onKeyDown:E,"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,...v}),labelProps:p,descriptionProps:b,errorMessageProps:h,isInvalid:d,validationErrors:c,validationDetails:f}}var Z0={};Z0={"Clear search":"مسح البحث"};var q0={};q0={"Clear search":"Изчистване на търсене"};var Y0={};Y0={"Clear search":"Vymazat hledání"};var J0={};J0={"Clear search":"Ryd søgning"};var Q0={};Q0={"Clear search":"Suche zurücksetzen"};var X0={};X0={"Clear search":"Απαλοιφή αναζήτησης"};var e1={};e1={"Clear search":"Clear search"};var t1={};t1={"Clear search":"Borrar búsqueda"};var u1={};u1={"Clear search":"Tühjenda otsing"};var n1={};n1={"Clear search":"Tyhjennä haku"};var r1={};r1={"Clear search":"Effacer la recherche"};var a1={};a1={"Clear search":"נקה חיפוש"};var i1={};i1={"Clear search":"Obriši pretragu"};var l1={};l1={"Clear search":"Keresés törlése"};var o1={};o1={"Clear search":"Cancella ricerca"};var s1={};s1={"Clear search":"検索をクリア"};var d1={};d1={"Clear search":"검색 지우기"};var c1={};c1={"Clear search":"Išvalyti iešką"};var f1={};f1={"Clear search":"Notīrīt meklēšanu"};var p1={};p1={"Clear search":"Tøm søk"};var m1={};m1={"Clear search":"Zoekactie wissen"};var b1={};b1={"Clear search":"Wyczyść zawartość wyszukiwania"};var h1={};h1={"Clear search":"Limpar pesquisa"};var $1={};$1={"Clear search":"Limpar pesquisa"};var g1={};g1={"Clear search":"Ştergeţi căutarea"};var D1={};D1={"Clear search":"Очистить поиск"};var y1={};y1={"Clear search":"Vymazať vyhľadávanie"};var v1={};v1={"Clear search":"Počisti iskanje"};var x1={};x1={"Clear search":"Obriši pretragu"};var C1={};C1={"Clear search":"Rensa sökning"};var E1={};E1={"Clear search":"Aramayı temizle"};var B1={};B1={"Clear search":"Очистити пошук"};var k1={};k1={"Clear search":"清除搜索"};var P1={};P1={"Clear search":"清除搜尋條件"};var S1={};S1={"ar-AE":Z0,"bg-BG":q0,"cs-CZ":Y0,"da-DK":J0,"de-DE":Q0,"el-GR":X0,"en-US":e1,"es-ES":t1,"et-EE":u1,"fi-FI":n1,"fr-FR":r1,"he-IL":a1,"hr-HR":i1,"hu-HU":l1,"it-IT":o1,"ja-JP":s1,"ko-KR":d1,"lt-LT":c1,"lv-LV":f1,"nb-NO":p1,"nl-NL":m1,"pl-PL":b1,"pt-BR":h1,"pt-PT":$1,"ro-RO":g1,"ru-RU":D1,"sk-SK":y1,"sl-SI":v1,"sr-SP":x1,"sv-SE":C1,"tr-TR":E1,"uk-UA":B1,"zh-CN":k1,"zh-TW":P1};function Y6(e){return e&&e.__esModule?e.default:e}function J6(e,t,u){let n=be(Y6(S1),"@react-aria/searchfield"),{isDisabled:r,isReadOnly:a,onSubmit:i,onClear:l,type:s="search"}=e,d=v=>{const E=v.key;E==="Enter"&&(r||a)&&v.preventDefault(),!(r||a)&&(E==="Enter"&&i&&(v.preventDefault(),i(t.value)),E==="Escape"&&(t.value===""&&(!u.current||u.current.value==="")?v.continuePropagation():(v.preventDefault(),t.setValue(""),l&&l())))},c=()=>{t.setValue(""),l&&l()},f=()=>{var v;(v=u.current)===null||v===void 0||v.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:h,...D}=fl({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:at(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:h,...D}}const A1=new WeakMap;function Q6(e,t,u){let{keyboardDelegate:n,isDisabled:r,isRequired:a,name:i,validationBehavior:l="aria"}=e,s=Au({usage:"search",sensitivity:"base"}),d=o.useMemo(()=>n||new ru(t.collection,t.disabledKeys,u,s),[n,t.collection,t.disabledKeys,s]),{menuTriggerProps:c,menuProps:f}=hl({isDisabled:r,type:"listbox"},t,u),p=$=>{switch($.key){case"ArrowLeft":{var T,A;$.preventDefault();let x=t.selectedKey!=null?(T=d.getKeyAbove)===null||T===void 0?void 0:T.call(d,t.selectedKey):(A=d.getFirstKey)===null||A===void 0?void 0:A.call(d);x&&t.setSelectedKey(x);break}case"ArrowRight":{var k,z;$.preventDefault();let x=t.selectedKey!=null?(k=d.getKeyBelow)===null||k===void 0?void 0:k.call(d,t.selectedKey):(z=d.getFirstKey)===null||z===void 0?void 0:z.call(d);x&&t.setSelectedKey(x);break}}},{typeSelectProps:m}=ef({keyboardDelegate:d,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKey($)}}),{isInvalid:b,validationErrors:h,validationDetails:D}=t.displayValidation,{labelProps:v,fieldProps:E,descriptionProps:y,errorMessageProps:C}=lu({...e,labelElementType:"span",isInvalid:b,errorMessage:e.errorMessage||h});m.onKeyDown=m.onKeyDownCapture,delete m.onKeyDownCapture;let B=_(e,{labelable:!0}),S=N(m,c,E),R=ne();return A1.set(t,{isDisabled:r,isRequired:a,name:i,validationBehavior:l}),{labelProps:{...v,onClick:()=>{if(!e.isDisabled){var $;($=u.current)===null||$===void 0||$.focus(),Ls("keyboard")}}},triggerProps:N(B,{...S,isDisabled:r,onKeyDown:at(S.onKeyDown,p,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[R,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus($){t.isFocused||(e.onFocus&&e.onFocus($),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur($){t.isOpen||(e.onBlur&&e.onBlur($),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:R},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:$=>{$.currentTarget.contains($.relatedTarget)||(e.onBlur&&e.onBlur($),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[E["aria-labelledby"],S["aria-label"]&&!E["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:y,errorMessageProps:C,isInvalid:b,validationErrors:h,validationDetails:D}}function X6(e,t,u){let n=A1.get(t)||{},{autoComplete:r,name:a=n.name,isDisabled:i=n.isDisabled}=e,{validationBehavior:l,isRequired:s}=n,{visuallyHiddenProps:d}=ou();Mn(e.selectRef,t.selectedKey,t.setSelectedKey),Ln({validationBehavior:l,focus:()=>{var f;return(f=u.current)===null||f===void 0?void 0:f.focus()}},t,e.selectRef);var c;return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:r,disabled:i,required:l==="native"&&s,name:a,value:(c=t.selectedKey)!==null&&c!==void 0?c:"",onChange:f=>t.setSelectedKey(f.target.value)}}}function ey(e){let{state:t,triggerRef:u,label:n,name:r,isDisabled:a}=e,i=o.useRef(null),{containerProps:l,selectProps:s}=X6({...e,selectRef:i},t,u);var d;return t.collection.size<=300?o.createElement("div",{...l,"data-testid":"hidden-select-container"},o.createElement("label",null,n,o.createElement("select",{...s,ref:i},o.createElement("option",null),[...t.collection.getKeys()].map(c=>{let f=t.collection.getItem(c);if(f&&f.type==="item")return o.createElement("option",{key:f.key,value:f.key},f.textValue)})))):r?o.createElement("input",{type:"hidden",autoComplete:s.autoComplete,name:r,disabled:a,value:(d=t.selectedKey)!==null&&d!==void 0?d:""}):null}const vl=new WeakMap;function Ci(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function ty(e,t){let u=vl.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${Ci(t)}`}function w1(e,t,u){let n=vl.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${Ci(t)}-${Ci(u)}`}function F1(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>w1(e,t,u)).join(" ")}var T1={};T1={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var R1={};R1={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var I1={};I1={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 K1={};K1={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 M1={};M1={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 z1={};z1={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var V1={};V1={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 N1={};N1={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 j1={};j1={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 L1={};L1={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 _1={};_1={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 O1={};O1={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var H1={};H1={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 U1={};U1={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 W1={};W1={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 G1={};G1={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var Z1={};Z1={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var q1={};q1={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 Y1={};Y1={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 J1={};J1={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 Q1={};Q1={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 X1={};X1={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 em={};em={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 tm={};tm={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 um={};um={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 nm={};nm={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var rm={};rm={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 am={};am={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 im={};im={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 lm={};lm={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 om={};om={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 sm={};sm={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var dm={};dm={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var cm={};cm={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var ua={};ua={"ar-AE":T1,"bg-BG":R1,"cs-CZ":I1,"da-DK":K1,"de-DE":M1,"el-GR":z1,"en-US":V1,"es-ES":N1,"et-EE":j1,"fi-FI":L1,"fr-FR":_1,"he-IL":O1,"hr-HR":H1,"hu-HU":U1,"it-IT":W1,"ja-JP":G1,"ko-KR":Z1,"lt-LT":q1,"lv-LV":Y1,"nb-NO":J1,"nl-NL":Q1,"pl-PL":X1,"pt-BR":em,"pt-PT":tm,"ro-RO":um,"ru-RU":nm,"sk-SK":rm,"sl-SI":am,"sr-SP":im,"sv-SE":lm,"tr-TR":om,"uk-UA":sm,"zh-CN":dm,"zh-TW":cm};class uy extends i0{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"){var n;let a=Ft(ve(u,this.collection));if(a)return a.key;let i=this.getFirstKey();if(i==null)return null;let l=this.collection.getItem(i);if(!l)return null;var r;return(r=(n=Gt(ve(l,this.collection),u.index))===null||n===void 0?void 0:n.key)!==null&&r!==void 0?r:null}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 ve(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=[...ve(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 ve(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}}let ny=!1;function Rr(){return ny}function ry(e){return e&&e.__esModule?e.default:e}function ay(e,t,u){let{keyboardDelegate:n,isVirtualized:r,layoutDelegate:a,layout:i}=e,l=Au({usage:"search",sensitivity:"base"}),{direction:s}=pe(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new uy({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=ne(e.id);vl.set(t,f);let{gridProps:p}=O6({...e,id:f,keyboardDelegate:c},t,u);r&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Rr()&&"expandedKeys"in t&&(p.role="treegrid");let{column:m,direction:b}=t.sortDescriptor||{},h=be(ry(ua),"@react-aria/table"),D=o.useMemo(()=>{var E,y;let C=(y=(E=t.collection.columns.find(B=>B.key===m))===null||E===void 0?void 0:E.textValue)!==null&&y!==void 0?y:"";return b&&m?h.format(`${b}Sort`,{columnName:C}):void 0},[b,m,t.collection.columns]),v=vt(D);return $r(()=>{D&&$t(D,"assertive",500)},[D]),{gridProps:N(p,v,{"aria-describedby":[v["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function iy(e){return e&&e.__esModule?e.default:e}function ly(e,t,u){var n,r;let{node:a}=e,i=a.props.allowsSorting,{gridCellProps:l}=O0({...e,focusMode:"child"},t,u),s=a.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:d}=We({isDisabled:!i||s,onPress(){t.sort(a.key)},ref:u}),{focusableProps:c}=Su({},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&&!yn()&&(f=p?m:"none");let b=be(iy(ua),"@react-aria/table"),h;i&&(h=`${b.format("sortable")}`,p&&m&&yn()&&(h=`${h}, ${b.format(m)}`));let D=vt(h),v=t.collection.size===0;return o.useEffect(()=>{v&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[v,t.selectionManager,a.key]),{columnHeaderProps:{...N(l,d,c,D,v?{tabIndex:-1}:null),role:"columnheader",id:ty(t,a.key),"aria-colspan":a.colspan&&a.colspan>1?a.colspan:void 0,"aria-sort":f}}}const ts={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function oy(e,t,u){let{node:n,isVirtualized:r}=e,{rowProps:a,...i}=U6(e,t,u),{direction:l}=pe();r&&!(Rr()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let s={};if(Rr()&&"expandedKeys"in t){let B=t.keyMap.get(n.key);if(B!=null){var d,c,f,p,m,b;let S=((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 h,D,v,E;s={onKeyDown:R=>{(R.key===ts.expand[l]&&t.selectionManager.focusedKey===B.key&&S&&t.expandedKeys!=="all"&&!t.expandedKeys.has(B.key)||R.key===ts.collapse[l]&&t.selectionManager.focusedKey===B.key&&S&&(t.expandedKeys==="all"||t.expandedKeys.has(B.key)))&&(t.toggleKey(B.key),R.stopPropagation())},"aria-expanded":S?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":B.level,"aria-posinset":((h=B.indexOfType)!==null&&h!==void 0?h:0)+1,"aria-setsize":B.level>1?((v=(p=It((D=(m=t.keyMap.get(B.parentKey))===null||m===void 0?void 0:m.childNodes)!==null&&D!==void 0?D:[]))===null||p===void 0?void 0:p.indexOfType)!==null&&v!==void 0?v:0)+1:((E=(b=It(t.collection.body.childNodes))===null||b===void 0?void 0:b.indexOfType)!==null&&E!==void 0?E:0)+1}}}let y=Vi(n.props),C=i.hasAction?y:{};return{rowProps:{...N(a,s,C),"aria-labelledby":F1(t,n.key)},...i}}function sy(e,t,u){let{node:n,isVirtualized:r}=e,a={role:"row"};return r&&!(Rr()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function dy(e,t,u){var n;let{gridCellProps:r,isPressed:a}=O0(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=w1(t,e.node.parentKey,i)),{gridCellProps:r,isPressed:a}}function cy(e){return e&&e.__esModule?e.default:e}function fy(e,t){let{key:u}=e;const{checkboxProps:n}=H0(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${F1(t,u)}`}}}function py(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":be(cy(ua),"@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 fm(){return H6()}const pm=new WeakMap;function Ir(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${pm.get(e)}-${u}-${t}`):""}function my(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}=Xu({selectionManager:i,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:a,linkBehavior:"selection"}),p=Ir(t,n,"tab"),m=Ir(t,n,"tabpanel"),{tabIndex:b}=c,h=t.collection.getItem(n),D=_(h==null?void 0:h.props,{labelable:!0});delete D.id;let v=Hr(h==null?void 0:h.props);return{tabProps:N(D,v,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 by(e,t,u){let n=qi(u)?void 0:0;var r;const a=Ir(t,(r=e.id)!==null&&r!==void 0?r:t==null?void 0:t.selectedKey,"tabpanel"),i=Dt({...e,id:a,"aria-labelledby":Ir(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:N(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class hy{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 $y(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 hy(a,s,n,l),[a,l,n,s]),{collectionProps:c}=ea({ref:u,selectionManager:i,keyboardDelegate:d,selectOnFocus:r==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=ne();pm.set(t,f);let p=Dt({...e,id:f});return{tabListProps:{...N(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const mm=new WeakMap;function gy(e,t,u){let{direction:n}=pe(),r=e.keyboardDelegate||new ru({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:i,descriptionProps:l,errorMessageProps:s}=lu({...e,labelElementType:"span"}),{gridProps:d}=U0({...e,...i,keyboardDelegate:r,shouldFocusWrap:!0,linkBehavior:"override"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=ft({onFocusWithinChange:f}),m=_(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]),mm.set(t,{onRemove:e.onRemove}),{gridProps:N(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 bm={};bm={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var hm={};hm={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var $m={};$m={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var gm={};gm={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var Dm={};Dm={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var ym={};ym={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var vm={};vm={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var xm={};xm={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var Cm={};Cm={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var Em={};Em={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var Bm={};Bm={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var km={};km={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var Pm={};Pm={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var Sm={};Sm={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var Am={};Am={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var wm={};wm={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var Fm={};Fm={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var Tm={};Tm={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var Rm={};Rm={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var Im={};Im={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var Km={};Km={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var Mm={};Mm={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var zm={};zm={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var Vm={};Vm={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var Nm={};Nm={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var jm={};jm={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Lm={};Lm={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var _m={};_m={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var Om={};Om={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var Hm={};Hm={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var Um={};Um={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Wm={};Wm={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var Gm={};Gm={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var Zm={};Zm={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var qm={};qm={"ar-AE":bm,"bg-BG":hm,"cs-CZ":$m,"da-DK":gm,"de-DE":Dm,"el-GR":ym,"en-US":vm,"es-ES":xm,"et-EE":Cm,"fi-FI":Em,"fr-FR":Bm,"he-IL":km,"hr-HR":Pm,"hu-HU":Sm,"it-IT":Am,"ja-JP":wm,"ko-KR":Fm,"lt-LT":Tm,"lv-LV":Rm,"nb-NO":Im,"nl-NL":Km,"pl-PL":Mm,"pt-BR":zm,"pt-PT":Vm,"ro-RO":Nm,"ru-RU":jm,"sk-SK":Lm,"sl-SI":_m,"sr-SP":Om,"sv-SE":Hm,"tr-TR":Um,"uk-UA":Wm,"zh-CN":Gm,"zh-TW":Zm};function Dy(e){return e&&e.__esModule?e.default:e}function yy(e,t,u){let{item:n}=e,r=be(Dy(qm),"@react-aria/tag"),a=ne(),{onRemove:i}=mm.get(t)||{},{rowProps:l,gridCellProps:s,...d}=W0({node:n},t,u);delete l.onKeyDownCapture;let{descriptionProps:c,...f}=d,p=t.disabledKeys.has(n.key)||n.props.isDisabled,m=S=>{if(S.key==="Delete"||S.key==="Backspace"){if(p)return;S.preventDefault(),t.selectionManager.isSelected(n.key)?i==null||i(new Set(t.selectionManager.selectedKeys)):i==null||i(new Set([n.key]))}},b=Wi();b==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(b="pointer");let h=i&&(b==="keyboard"||b==="virtual")?r.format("removeDescription"):"",D=vt(h),v=n.key===t.selectionManager.focusedKey,E=t.selectionManager.focusedKey!=null,y=-1;!p&&(v||!E)&&(y=0);let C=_(n.props),B=Vi(n.props);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:N(l,C,B,{tabIndex:y,onKeyDown:i?m:void 0,"aria-describedby":D["aria-describedby"]}),gridCellProps:N(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!i}}function vy(e,t){let u=_(e,{labelable:!0}),{hoverProps:n}=De({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:N(u,n,{role:"tooltip"})}}function xy(e,t,u){let{isDisabled:n,trigger:r}=e,a=ne(),i=o.useRef(!1),l=o.useRef(!1),s=()=>{(i.current||l.current)&&t.open(l.current)},d=v=>{!i.current&&!l.current&&t.close(v)};o.useEffect(()=>{let v=E=>{u&&u.current&&E.key==="Escape"&&(E.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",v,!0),()=>{document.removeEventListener("keydown",v,!0)}},[u,t]);let c=()=>{r!=="focus"&&(tu()==="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=()=>{eu()&&(l.current=!0,s())},b=()=>{l.current=!1,i.current=!1,d(!0)},{hoverProps:h}=De({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:D}=Su({isDisabled:n,onFocus:m,onBlur:b},u);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...N(D,h,{onPointerDown:p,onKeyDown:p})},tooltipProps:{id:a}}}const Cy=o.createContext(null),Ey=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Ze=o.createContext({}),dt=Wr(function(t,u){[t,u]=Y(t,u,Ze),t=By(t);let n=t,{isPending:r}=n,{buttonProps:a,isPressed:i}=lc(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=oe(t),{hoverProps:c,isHovered:f}=De({...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=H({...t,values:p,defaultClassName:"react-aria-Button"}),b=ne(a.id),h=ne(),D=a["aria-labelledby"];r&&(D?D=`${D} ${h}`:a["aria-label"]&&(D=`${b} ${h}`));let v=o.useRef(r);return o.useEffect(()=>{let E={"aria-labelledby":D||b};(!v.current&&s&&r||v.current&&s&&!r)&&$t(E,"assertive"),v.current=r},[r,s,D,b]),o.createElement("button",{..._(t,{propNames:Ey}),...N(a,l,c),...m,type:a.type==="submit"&&r?"button":a.type,id:b,ref:u,"aria-labelledby":D,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(Cy.Provider,{value:{id:h}},m.children))});function By(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 Ve=o.createContext({}),na=o.forwardRef(function(t,u){[t,u]=Y(t,u,Ve);let{elementType:n="span",...r}=t;return o.createElement(n,{className:"react-aria-Text",...r,ref:u})}),Et=o.createContext(null),ky=o.forwardRef(function(t,u){let n=o.useContext(Et);return n!=null&&n.isInvalid?o.createElement(Py,{...t,ref:u}):null}),Py=o.forwardRef((e,t)=>{let u=o.useContext(Et),n=_(e),r=H({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return r.children==null?null:o.createElement(na,{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 Ei(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 Tn(e,i,t,u,n,r)}function yu(e,t,u,n,r){let a=e;return t.years?a=Xg(e):t.months?a=Eu(e):t.weeks&&(a=Pn(e,u)),Tn(e,a,t,u,n,r)}function Bi(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 Tn(e,i,t,u,n,r)}function Tn(e,t,u,n,r,a){if(r&&e.compare(r)>=0){let i=el(t,yu(je(r),u,n));i&&(t=i)}if(a&&e.compare(a)<=0){let i=Xi(t,Bi(je(a),u,n));i&&(t=i)}return t}function Ht(e,t,u){if(t){let n=el(e,je(t));n&&(e=n)}if(u){let n=Xi(e,je(u));n&&(e=n)}return e}function Ym(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 Jm(e){let t=o.useMemo(()=>new nt(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,h]=Re(e.value,(m=e.defaultValue)!==null&&m!==void 0?m:null,e.onChange),D=o.useMemo(()=>b?he(je(b),p):null,[b,p]),v=o.useMemo(()=>b&&"timeZone"in b?b.timeZone:u.timeZone,[b,u.timeZone]),E=o.useMemo(()=>e.focusedValue?Ht(he(je(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),y=o.useMemo(()=>Ht(e.defaultFocusedValue?he(je(e.defaultFocusedValue),p):D||he(Ji(v),p),i,l),[e.defaultFocusedValue,D,v,p,i,l]),[C,B]=Re(E,y,e.onFocusChange),[S,R]=o.useState(()=>{switch(s){case"start":return yu(C,a,n,i,l);case"end":return Bi(C,a,n,i,l);case"center":default:return Ei(C,a,n,i,l)}}),[$,T]=o.useState(e.autoFocus||!1),A=o.useMemo(()=>{let j={...a};return j.days?j.days--:j.days=-1,S.add(j)},[S,a]),[k,z]=o.useState(p.identifier);if(p.identifier!==k){let j=he(C,p);R(Ei(j,a,n,i,l)),B(j),z(p.identifier)}qu(C,i,l)?B(Ht(C,i,l)):C.compare(S)<0?R(Bi(C,a,n,i,l)):C.compare(A)>0&&R(yu(C,a,n,i,l));function x(j){j=Ht(j,i,l),B(j)}function w(j){if(!e.isDisabled&&!e.isReadOnly){let U=j;if(U===null){h(null);return}if(U=Ht(U,i,l),U=Ym(U,S,d),!U)return;U=he(U,(b==null?void 0:b.calendar)||new He),b&&"hour"in b?h(b.set(U)):h(U)}}let V=o.useMemo(()=>D?d&&d(D)?!0:qu(D,i,l):!1,[D,d,i,l]),F=e.isInvalid||e.validationState==="invalid"||V,I=F?"invalid":null,P=o.useMemo(()=>c==="visible"?a:Ha(a),[c,a]);var K,L;return{isDisabled:(K=e.isDisabled)!==null&&K!==void 0?K:!1,isReadOnly:(L=e.isReadOnly)!==null&&L!==void 0?L:!1,value:D,setValue:w,visibleRange:{start:S,end:A},minValue:i,maxValue:l,focusedDate:C,timeZone:v,validationState:I,isValueInvalid:F,setFocusedDate(j){x(j),T(!0)},focusNextDay(){x(C.add({days:1}))},focusPreviousDay(){x(C.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&x(C.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&x(C.subtract({weeks:1}))},focusNextPage(){let j=S.add(P);B(Ht(C.add(P),i,l)),R(yu(Tn(C,j,P,n,i,l),P,n))},focusPreviousPage(){let j=S.subtract(P);B(Ht(C.subtract(P),i,l)),R(yu(Tn(C,j,P,n,i,l),P,n))},focusSectionStart(){a.days?x(S):a.weeks?x(Pn(C,n)):(a.months||a.years)&&x(Eu(C))},focusSectionEnd(){a.days?x(A):a.weeks?x(u2(C,n)):(a.months||a.years)&&x(Cr(C))},focusNextSection(j){if(!j&&!a.days){x(C.add(Ha(a)));return}a.days?this.focusNextPage():a.weeks?x(C.add({months:1})):(a.months||a.years)&&x(C.add({years:1}))},focusPreviousSection(j){if(!j&&!a.days){x(C.subtract(Ha(a)));return}a.days?this.focusPreviousPage():a.weeks?x(C.subtract({months:1})):(a.months||a.years)&&x(C.subtract({years:1}))},selectFocusedDate(){d&&d(C)||w(C)},selectDate(j){w(j)},isFocused:$,setFocused:T,isInvalid(j){return qu(j,i,l)},isSelected(j){return D!=null&&ke(j,D)&&!this.isCellDisabled(j)&&!this.isCellUnavailable(j)},isCellFocused(j){return $&&C&&ke(j,C)},isCellDisabled(j){return e.isDisabled||j.compare(S)<0||j.compare(A)>0||this.isInvalid(j)},isCellUnavailable(j){return e.isDateUnavailable?e.isDateUnavailable(j):!1},isPreviousVisibleRangeInvalid(){let j=S.subtract({days:1});return ke(j,S)||this.isInvalid(j)},isNextVisibleRangeInvalid(){let j=A.add({days:1});return ke(j,A)||this.isInvalid(j)},getDatesInWeek(j,U=S){let Q=U.add({weeks:j}),X=[];Q=Pn(Q,n,f);let me=Yi(Q,n,f);for(let ie=0;ie<me;ie++)X.push(null);for(;X.length<7;){X.push(Q);let ie=Q.add({days:1});if(ke(Q,ie))break;Q=ie}for(;X.length<7;)X.push(null);return X}}}function Ha(e){let t={...e};for(let u in e)t[u]=1;return t}function Sy(e){let{value:t,defaultValue:u,onChange:n,createCalendar:r,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=Re(t,u||null,n),[p,m]=o.useState(null),b="center";if(c&&c.start&&c.end){let P=Ei(je(c.start),i,a,l,s).add(i).subtract({days:1});c.end.compare(P)>0&&(b="start")}let h=o.useRef(null),[D,v]=o.useState(null),E=o.useMemo(()=>el(l,D==null?void 0:D.start),[l,D]),y=o.useMemo(()=>Xi(s,D==null?void 0:D.end),[s,D]),C=Jm({...d,value:c&&c.start,createCalendar:r,locale:a,visibleDuration:i,minValue:E,maxValue:y,selectionAlignment:b}),B=I=>{if(I&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const P=ns(I,C,-1),K=ns(I,C,1);h.current={start:P,end:K},v(h.current)}else h.current=null,v(null)},[S,R]=o.useState(C.visibleRange);(!ii(C.visibleRange.start,S.start)||!ii(C.visibleRange.end,S.end))&&(B(p),R(C.visibleRange));let $=I=>{I?(m(I),B(I)):(m(null),B(null))},T=p?Ua(p,C.focusedDate):c&&Ua(c.start,c.end),A=I=>{if(e.isReadOnly)return;const P=Ht(I,E,y),K=Ym(P,C.visibleRange.start,e.isDateUnavailable);if(K)if(!p)$(K);else{let L=Ua(p,K);L&&f({start:us(L.start,c==null?void 0:c.start),end:us(L.end,c==null?void 0:c.end)}),$(null)}},[k,z]=o.useState(!1),{isDateUnavailable:x}=e,w=o.useMemo(()=>!c||p?!1:x&&(x(c.start)||x(c.end))?!0:qu(c.start,l,s)||qu(c.end,l,s),[x,c,p,l,s]),V=e.isInvalid||e.validationState==="invalid"||w;return{...C,value:c,setValue:f,anchorDate:p,setAnchorDate:$,highlightedRange:T,validationState:V?"invalid":null,isValueInvalid:V,selectFocusedDate(){A(C.focusedDate)},selectDate:A,highlightDate(I){p&&C.setFocusedDate(I)},isSelected(I){return!!(T&&I.compare(T.start)>=0&&I.compare(T.end)<=0&&!C.isCellDisabled(I)&&!C.isCellUnavailable(I))},isInvalid(I){var P,K;return C.isInvalid(I)||qu(I,(P=h.current)===null||P===void 0?void 0:P.start,(K=h.current)===null||K===void 0?void 0:K.end)},isDragging:k,setDragging:z}}function Ua(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:je(e),end:je(t)})}function us(e,t){return e=he(e,(t==null?void 0:t.calendar)||new He),t&&"hour"in t?t.set(e):e}function ns(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 Ay(e={}){let[t,u]=Re(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(Fn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class ki{*[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 ot extends Set{constructor(t,u,n){super(t),t instanceof ot?(this.anchorKey=u??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=u??null,this.currentKey=n??null)}}function wy(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function On(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(()=>rs(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>rs(e.defaultSelectedKeys,new ot),[e.defaultSelectedKeys]),[m,b]=Re(f,p,e.onSelectionChange),h=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[D,v]=o.useState(r);r==="replace"&&D==="toggle"&&typeof m=="object"&&m.size===0&&v("replace");let E=o.useRef(r);return o.useEffect(()=>{r!==E.current&&(v(r),E.current=r)},[r]),{selectionMode:t,disallowEmptySelection:u,selectionBehavior:D,setSelectionBehavior:v,get isFocused(){return i.current},setFocused(y){i.current=y,l(y)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(y,C="first"){s.current=y,d.current=C,c(y)},selectedKeys:m,setSelectedKeys(y){(n||!wy(y,m))&&b(y)},disabledKeys:h,disabledBehavior:a}}function rs(e,t){return e?e==="all"?"all":new ot(e):t}class ra{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&&Na(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&&Na(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 ot([u],u,u);else{let i=this.state.selectedKeys;var r;let l=(r=i.anchorKey)!==null&&r!==void 0?r:u;n=new ot(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?Na(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 ot(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 ot([u],u,u):new ot;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let u=new ot;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=Ft(ve(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 ot)}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}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 aa(e){let{filter:t,layoutDelegate:u}=e,n=On(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=o.useCallback(c=>t?new ki(t(c)):new ki(c),[t]),i=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=ml(e,a,i),s=o.useMemo(()=>new ra(l,n,{layoutDelegate:u}),[l,n,u]);const d=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&!l.getItem(n.focusedKey)&&d.current){const v=d.current.getItem(n.focusedKey),E=[...d.current.getKeys()].map($=>{const T=d.current.getItem($);return(T==null?void 0:T.type)==="item"?T:null}).filter($=>$!==null),y=[...l.getKeys()].map($=>{const T=l.getItem($);return(T==null?void 0:T.type)==="item"?T:null}).filter($=>$!==null);var c,f;const C=((c=E==null?void 0:E.length)!==null&&c!==void 0?c:0)-((f=y==null?void 0:y.length)!==null&&f!==void 0?f:0);var p,m,b;let B=Math.min(C>1?Math.max(((p=v==null?void 0:v.index)!==null&&p!==void 0?p:0)-C+1,0):(m=v==null?void 0:v.index)!==null&&m!==void 0?m:0,((b=y==null?void 0:y.length)!==null&&b!==void 0?b:0)-1),S=null,R=!1;for(;B>=0;){if(!s.isDisabled(y[B].key)){S=y[B];break}if(B<y.length-1&&!R)B++;else{R=!0;var h,D;B>((h=v==null?void 0:v.index)!==null&&h!==void 0?h:0)&&(B=(D=v==null?void 0:v.index)!==null&&D!==void 0?D:0),B--}}n.setFocusedKey(S?S.key:null)}d.current=l},[l,s,n,n.focusedKey]),{collection:l,disabledKeys:r,selectionManager:s}}function xl(e){var t;let[u,n]=Re(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}=aa({...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 wu(e){let[t,u]=Re(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 Fy(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=ue=>{e.onSelectionChange&&e.onSelectionChange(ue),ue===v&&(X(),j())};var b;let{collection:h,selectionManager:D,selectedKey:v,setSelectedKey:E,selectedItem:y,disabledKeys:C}=xl({...e,onSelectionChange:m,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),B=e.defaultInputValue;if(B==null){var S,R;v==null?B="":B=(R=(S=h.getItem(v))===null||S===void 0?void 0:S.textValue)!==null&&R!==void 0?R:""}let[$,T]=Re(e.inputValue,B,e.onInputChange),A=h,k=o.useMemo(()=>e.items!=null||!u?h:Ty(h,$,u),[h,$,u,e.items]),[z,x]=o.useState(k),w=o.useRef("focus"),F=wu({...e,onOpenChange:ue=>{e.onOpenChange&&e.onOpenChange(ue,ue?w.current:void 0),D.setFocused(ue),ue||D.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),I=(ue=null,ye)=>{let we=ye==="manual"||ye==="focus"&&n==="focus";(r||k.size>0||we&&A.size>0||e.items)&&(we&&!F.isOpen&&e.items===void 0&&s(!0),w.current=ye,p(ue),F.open())},P=(ue=null,ye)=>{let we=ye==="manual"||ye==="focus"&&n==="focus";!(r||k.size>0||we&&A.size>0||e.items)&&!F.isOpen||(we&&!F.isOpen&&e.items===void 0&&s(!0),F.isOpen||(w.current=ye),L(ue))},K=o.useCallback(()=>{x(l?A:k)},[l,A,k]),L=o.useCallback((ue=null)=>{F.isOpen&&K(),p(ue),F.toggle()},[F,K]),j=o.useCallback(()=>{F.isOpen&&(K(),F.close())},[F,K]),[U,Q]=o.useState($),X=()=>{var ue,ye;let we=v!=null&&(ye=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ye!==void 0?ye:"";Q(we),T(we)};var me,ie;let se=o.useRef((ie=(me=e.selectedKey)!==null&&me!==void 0?me:e.defaultSelectedKey)!==null&&ie!==void 0?ie:null);var M;let G=o.useRef(v!=null&&(M=(t=h.getItem(v))===null||t===void 0?void 0:t.textValue)!==null&&M!==void 0?M:"");o.useEffect(()=>{var ue;d&&(k.size>0||r)&&!F.isOpen&&$!==U&&n!=="manual"&&I(null,"input"),!l&&!r&&F.isOpen&&k.size===0&&j(),v!=null&&v!==se.current&&j(),$!==U&&(D.setFocusedKey(null),s(!1),$===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&E(null)),v!==se.current&&(e.inputValue===void 0||e.selectedKey===void 0)?X():U!==$&&Q($);var ye;let we=v!=null&&(ye=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ye!==void 0?ye:"";!d&&v!=null&&e.inputValue===void 0&&v===se.current&&G.current!==we&&(Q(we),T(we)),se.current=v,G.current=we});let J=Ct({...e,value:o.useMemo(()=>({inputValue:$,selectedKey:v}),[$,v])}),O=()=>{a&&v==null?Z():le()},Z=()=>{se.current=null,E(null),j()},le=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ue,ye;(ue=e.onSelectionChange)===null||ue===void 0||ue.call(e,v);var we;let Jh=v!=null&&(we=(ye=h.getItem(v))===null||ye===void 0?void 0:ye.textValue)!==null&&we!==void 0?we:"";Q(Jh),j()}else X(),j()};const qe=()=>{if(a){var ue,ye;const we=v!=null&&(ye=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ye!==void 0?ye:"";$===we?le():Z()}else le()};let re=()=>{F.isOpen&&D.focusedKey!=null?v===D.focusedKey?le():E(D.focusedKey):qe()},_t=o.useRef($),cu=ue=>{ue?(_t.current=$,n==="focus"&&!e.isReadOnly&&I(null,"focus")):(i&&qe(),$!==_t.current&&J.commitValidation()),c(ue)},Yh=o.useMemo(()=>F.isOpen?l?A:k:z,[F.isOpen,A,k,l,z]);return{...J,...F,focusStrategy:f,toggle:P,open:I,close:qe,selectionManager:D,selectedKey:v,setSelectedKey:E,disabledKeys:C,isFocused:d,setFocused:cu,selectedItem:y,collection:Yh,inputValue:$,setInputValue:T,commit:re,revert:O}}function Ty(e,t,u){return new ki(Qm(e,e,t,u))}function Qm(e,t,u,n){let r=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=Qm(e,ve(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 Xm={};Xm={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var eb={};eb={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var tb={};tb={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 ub={};ub={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 nb={};nb={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 rb={};rb={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var ab={};ab={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 ib={};ib={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 lb={};lb={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 ob={};ob={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 sb={};sb={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 db={};db={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var cb={};cb={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 fb={};fb={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 pb={};pb={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 mb={};mb={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var bb={};bb={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var hb={};hb={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 $b={};$b={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 gb={};gb={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 Db={};Db={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 yb={};yb={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 vb={};vb={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 xb={};xb={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 Cb={};Cb={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 Eb={};Eb={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var Bb={};Bb={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 kb={};kb={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 Pb={};Pb={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 Sb={};Sb={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 Ab={};Ab={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 wb={};wb={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Fb={};Fb={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Tb={};Tb={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var Rb={};Rb={"ar-AE":Xm,"bg-BG":eb,"cs-CZ":tb,"da-DK":ub,"de-DE":nb,"el-GR":rb,"en-US":ab,"es-ES":ib,"et-EE":lb,"fi-FI":ob,"fr-FR":sb,"he-IL":db,"hr-HR":cb,"hu-HU":fb,"it-IT":pb,"ja-JP":mb,"ko-KR":bb,"lt-LT":hb,"lv-LV":$b,"nb-NO":gb,"nl-NL":Db,"pl-PL":yb,"pt-BR":vb,"pt-PT":xb,"ro-RO":Cb,"ru-RU":Eb,"sk-SK":Bb,"sl-SI":kb,"sr-SP":Pb,"sv-SE":Sb,"tr-TR":Ab,"uk-UA":wb,"zh-CN":Fb,"zh-TW":Tb};function Ry(e){return e&&e.__esModule?e.default:e}const Ib=new iu(Ry(Rb));function Kb(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Kr(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=Kb(),f=iu.getGlobalDictionaryForPackage("@react-stately/datepicker")||Ib,p=new Fd(c,f),m=new nt(c,Kt({},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 Iy(e,t,u,n,r){var a;let i=Kr((a=e==null?void 0:e.start)!==null&&a!==void 0?a:null,t,u,n,r);var l;let s=Kr((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,r),d=Fn(i,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=iu.getGlobalDictionaryForPackage("@react-stately/datepicker")||Ib;d=Fn(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",Kb())],validationDetails:{...Qr,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const Ky={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},My={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Kt(e,t){e={...t.shouldForceLeadingZeros?My:Ky,...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 Ou(e){return e&&"hour"in e?e:new il}function Mb(e,t){if(e===null)return null;if(e)return he(e,t)}function an(e,t,u,n){if(e)return Mb(e,u);let r=he(Id(n??Qi()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?je(r):n?r:yt(r)}function Cl(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 zy(e){let t=wu(e),[u,n]=Re(e.value,e.defaultValue||null,e.onChange),r=u||e.placeholderValue||null,[a,i]=Cl(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 h=(u==null?void 0:u.calendar.identifier)==="gregory"&&u.era==="BC",D=o.useMemo(()=>({granularity:a,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:h}),[a,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,h]),{minValue:v,maxValue:E,isDateUnavailable:y}=e,C=o.useMemo(()=>Kr(u,v,E,y,D),[u,v,E,y,D]),B=Ct({...e,value:u,builtinValidation:C}),S=B.displayValidation.isInvalid,R=e.validationState||(S?"invalid":null),$=(k,z)=>{n("timeZone"in z?z.set(je(k)):yt(k,z)),p(null),b(null),B.commitValidation()};return{...B,value:u,setValue:n,dateValue:f,timeValue:m,setDateValue:k=>{let z=typeof c=="function"?c():c;s?m||z?$(k,m||Ou(e.defaultValue||e.placeholderValue)):p(k):(n(k),B.commitValidation()),z&&t.setOpen(!1)},setTimeValue:k=>{f&&k?$(f,k):b(k)},granularity:a,hasTime:s,...t,setOpen(k){!k&&!u&&f&&s&&$(f,m||Ou(e.defaultValue||e.placeholderValue)),t.setOpen(k)},validationState:R,isInvalid:S,formatValue(k,z){if(!l)return"";let x=Kt(z,D);return new nt(k,x).format(l)},getDateFormatter(k,z){let x={...D,...z},w=Kt({},x);return new nt(k,w)}}}const Vy=new iu({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 Ny(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Vy.getStringForLocale(e,u):"––"}const ir={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},as={year:5,month:2,day:7,hour:2,minute:15,second:15},jy={dayperiod:"dayPeriod"};function Ly(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]=Cl(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 nt(t),[t]),h=o.useMemo(()=>u(b.resolvedOptions().calendar),[u,b]);var D;let[v,E]=Re(e.value,(D=e.defaultValue)!==null&&D!==void 0?D:null,e.onChange),y=o.useMemo(()=>{var M;return(M=Mb(v,h))!==null&&M!==void 0?M:null},[v,h]),[C,B]=o.useState(()=>an(e.placeholderValue,f,h,p)),S=y||C,R=h.identifier==="gregory"&&S.era==="BC",$=o.useMemo(()=>{var M;return{granularity:f,maxGranularity:(M=e.maxGranularity)!==null&&M!==void 0?M:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:R,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,R]),T=o.useMemo(()=>Kt({},$),[$]),A=o.useMemo(()=>new nt(t,T),[t,T]),k=o.useMemo(()=>A.resolvedOptions(),[A]),z=o.useMemo(()=>A.formatToParts(new Date).filter(M=>ir[M.type]).reduce((M,G)=>(M[G.type]=!0,M),{}),[A]),[x,w]=o.useState(()=>e.value||e.defaultValue?{...z}:{}),V=o.useRef(null),F=o.useRef(h.identifier);o.useEffect(()=>{h.identifier!==F.current&&(F.current=h.identifier,B(M=>Object.keys(x).length>0?he(M,h):an(e.placeholderValue,f,h,p)))},[h,f,x,p,e.placeholderValue]),v&&Object.keys(x).length<Object.keys(z).length&&(x={...z},w(x)),v==null&&Object.keys(x).length===Object.keys(z).length&&(x={},w(x),B(an(e.placeholderValue,f,h,p)));let I=y&&Object.keys(x).length>=Object.keys(z).length?y:C,P=M=>{if(e.isDisabled||e.isReadOnly)return;let G=Object.keys(x),J=Object.keys(z);M==null?(E(null),B(an(e.placeholderValue,f,h,p)),w({})):G.length>=J.length||G.length===J.length-1&&z.dayPeriod&&!x.dayPeriod&&V.current!=="dayPeriod"?(M=he(M,(c==null?void 0:c.calendar)||new He),E(M)):B(M),V.current=null},K=o.useMemo(()=>I.toDate(m),[I,m]),L=o.useMemo(()=>A.formatToParts(K).map(M=>{let G=ir[M.type];M.type==="era"&&h.getEras().length===1&&(G=!1);let J=ir[M.type]&&!x[M.type],O=ir[M.type]?Ny(M.type,M.value,t):null;return{type:jy[M.type]||M.type,text:J?O:M.value,..._y(I,M.type,k),isPlaceholder:J,placeholder:O,isEditable:G}}),[K,x,A,k,I,h,t]);z.era&&x.year&&!x.era?(x.era=!0,w({...x})):!z.era&&x.era&&(delete x.era,w({...x}));let j=M=>{x[M]=!0,M==="year"&&z.era&&(x.era=!0),w({...x})},U=(M,G)=>{if(x[M])P(Oy(I,M,G,k));else{j(M);let J=Object.keys(x),O=Object.keys(z);(J.length>=O.length||J.length===O.length-1&&z.dayPeriod&&!x.dayPeriod)&&P(I)}},Q=o.useMemo(()=>Kr(v,l,s,d,$),[v,l,s,d,$]),X=Ct({...e,value:v,builtinValidation:Q}),me=X.displayValidation.isInvalid,ie=e.validationState||(me?"invalid":null);var se;return{...X,value:y,dateValue:K,calendar:h,setValue:P,segments:L,dateFormatter:A,validationState:ie,isInvalid:me,granularity:f,maxGranularity:(se=e.maxGranularity)!==null&&se!==void 0?se:"year",isDisabled:r,isReadOnly:a,isRequired:i,increment(M){U(M,1)},decrement(M){U(M,-1)},incrementPage(M){U(M,as[M]||1)},decrementPage(M){U(M,-(as[M]||1))},setSegment(M,G){j(M),P(Hy(I,M,G,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let M=Object.keys(x),G=Object.keys(z);M.length===G.length-1&&z.dayPeriod&&!x.dayPeriod&&(x={...z},w(x),P(I.copy()))},clearSegment(M){delete x[M],V.current=M,w({...x});let G=an(e.placeholderValue,f,h,p),J=I;if(M==="dayPeriod"&&"hour"in I&&"hour"in G){let O=I.hour>=12,Z=G.hour>=12;O&&!Z?J=I.set({hour:I.hour-12}):!O&&Z&&(J=I.set({hour:I.hour+12}))}else M in I&&(J=I.set({[M]:G[M]}));E(null),P(J)},formatValue(M){if(!y)return"";let G=Kt(M,$);return new nt(t,G).format(K)},getDateFormatter(M,G){let J={...$,...G},O=Kt({},J);return new nt(M,O)}}}function _y(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:e2(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:t2(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 Oy(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 Hy(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 Uy(e){var t,u;let n=wu(e),[r,a]=Re(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=F=>{l(F||{start:null,end:null}),fu(F)?a(F):a(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=Cl(c,e.granularity),m=f==="hour"||f==="minute"||f==="second";var b;let h=(b=e.shouldCloseOnSelect)!==null&&b!==void 0?b:!0,[D,v]=o.useState(null),[E,y]=o.useState(null);s&&fu(s)&&(D=s,"hour"in s.start&&(E=s));let C=(F,I)=>{d({start:"timeZone"in I.start?I.start.set(je(F.start)):yt(F.start,I.start),end:"timeZone"in I.end?I.end.set(je(F.end)):yt(F.end,I.end)}),v(null),y(null),x.commitValidation()},B=F=>{let I=typeof h=="function"?h():h;m?fu(F)&&(E!=null&&E.start)&&(E!=null&&E.end)?C(F,{start:(E==null?void 0:E.start)||Ou(e.placeholderValue),end:(E==null?void 0:E.end)||Ou(e.placeholderValue)}):v(F):fu(F)?(d(F),x.commitValidation()):v(F),I&&n.setOpen(!1)},S=F=>{fu(D)&&fu(F)?C(D,F):y(F)},R=(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",$=o.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:R}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,R]),{minValue:T,maxValue:A,isDateUnavailable:k}=e,z=o.useMemo(()=>Iy(s,T,A,k,$),[s,T,A,k,$]),x=Ct({...e,value:r,name:o.useMemo(()=>[e.startName,e.endName].filter(F=>F!=null),[e.startName,e.endName]),builtinValidation:z}),w=x.displayValidation.isInvalid,V=e.validationState||(w?"invalid":null);return{...x,value:s,setValue:d,dateRange:D,timeRange:E,granularity:f,hasTime:m,setDate(F,I){var P,K;B(F==="start"?{start:I,end:(P=D==null?void 0:D.end)!==null&&P!==void 0?P:null}:{start:(K=D==null?void 0:D.start)!==null&&K!==void 0?K:null,end:I})},setTime(F,I){var P,K;S(F==="start"?{start:I,end:(P=E==null?void 0:E.end)!==null&&P!==void 0?P:null}:{start:(K=E==null?void 0:E.start)!==null&&K!==void 0?K:null,end:I})},setDateTime(F,I){var P,K;d(F==="start"?{start:I,end:(P=s==null?void 0:s.end)!==null&&P!==void 0?P:null}:{start:(K=s==null?void 0:s.start)!==null&&K!==void 0?K:null,end:I})},setDateRange:B,setTimeRange:S,...n,setOpen(F){!F&&!(s!=null&&s.start&&(s!=null&&s.end))&&fu(D)&&m&&C(D,{start:(E==null?void 0:E.start)||Ou(e.placeholderValue),end:(E==null?void 0:E.end)||Ou(e.placeholderValue)}),n.setOpen(F)},validationState:V,isInvalid:w,formatValue(F,I){if(!s||!s.start||!s.end)return null;let P="timeZone"in s.start?s.start.timeZone:void 0,K=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),L="timeZone"in s.end?s.end.timeZone:void 0,j=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),U=Kt(I,{granularity:K,timeZone:P,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"}),Q=s.start.toDate(P||"UTC"),X=s.end.toDate(L||"UTC"),me=new nt(F,U),ie;if(P===L&&K===j&&s.start.compare(s.end)!==0){try{let se=me.formatRangeToParts(Q,X),M=-1;for(let O=0;O<se.length;O++){let Z=se[O];if(Z.source==="shared"&&Z.type==="literal")M=O;else if(Z.source==="endRange")break}let G="",J="";for(let O=0;O<se.length;O++)O<M?G+=se[O].value:O>M&&(J+=se[O].value);return{start:G,end:J}}catch{}ie=me}else{let se=Kt(I,{granularity:j,timeZone:L,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});ie=new nt(F,se)}return{start:me.format(Q),end:ie.format(X)}},getDateFormatter(F,I){let P={...$,...I},K=Kt({},P);return new nt(F,K)}}}function fu(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function Wy(e){let[t,u]=Re(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 Gy(e){let{allowsMultipleExpanded:t=!1,isDisabled:u=!1}=e,[n,r]=Re(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 Zy(e){let{initialItems:t=[],initialSelectedKeys:u,getKey:n=d=>{var c;return(c=d.id)!==null&&c!==void 0?c:d.key},filter:r,initialFilterText:a=""}=e,[i,l]=o.useState({items:t,selectedKeys:u==="all"?"all":new Set(u||[]),filterText:a}),s=o.useMemo(()=>r?i.items.filter(d=>r(d,i.filterText)):i.items,[i.items,i.filterText,r]);return{...i,items:s,...qy({getKey:n},l),getItem(d){return i.items.find(c=>n(c)===d)}}}function qy(e,t){let{cursor:u,getKey:n}=e;return{setSelectedKeys(r){t(a=>({...a,selectedKeys:r}))},setFilterText(r){t(a=>({...a,filterText:r}))},insert(r,...a){t(i=>ln(i,r,...a))},insertBefore(r,...a){t(i=>{let l=i.items.findIndex(s=>(n==null?void 0:n(s))===r);if(l===-1)if(i.items.length===0)l=0;else return i;return ln(i,l,...a)})},insertAfter(r,...a){t(i=>{let l=i.items.findIndex(s=>(n==null?void 0:n(s))===r);if(l===-1)if(i.items.length===0)l=0;else return i;return ln(i,l+1,...a)})},prepend(...r){t(a=>ln(a,0,...r))},append(...r){t(a=>ln(a,a.items.length,...r))},remove(...r){t(a=>{let i=new Set(r),l=a.items.filter(d=>!i.has(n(d))),s="all";if(a.selectedKeys!=="all"){s=new Set(a.selectedKeys);for(let d of r)s.delete(d)}return u==null&&l.length===0&&(s=new Set),{...a,items:l,selectedKeys:s}})},removeSelectedItems(){t(r=>{if(r.selectedKeys==="all")return{...r,items:[],selectedKeys:new Set};let a=r.selectedKeys,i=r.items.filter(l=>!a.has(n(l)));return{...r,items:i,selectedKeys:new Set}})},move(r,a){t(i=>{let l=i.items.findIndex(c=>n(c)===r);if(l===-1)return i;let s=i.items.slice(),[d]=s.splice(l,1);return s.splice(a,0,d),{...i,items:s}})},moveBefore(r,a){t(i=>{let l=i.items.findIndex(c=>n(c)===r);if(l===-1)return i;let d=(Array.isArray(a)?a:[...a]).map(c=>i.items.findIndex(f=>n(f)===c)).sort((c,f)=>c-f);return is(i,d,l)})},moveAfter(r,a){t(i=>{let l=i.items.findIndex(c=>n(c)===r);if(l===-1)return i;let d=(Array.isArray(a)?a:[...a]).map(c=>i.items.findIndex(f=>n(f)===c)).sort((c,f)=>c-f);return is(i,d,l+1)})},update(r,a){t(i=>{let l=i.items.findIndex(s=>n(s)===r);return l===-1?i:{...i,items:[...i.items.slice(0,l),a,...i.items.slice(l+1)]}})}}}function ln(e,t,...u){return{...e,items:[...e.items.slice(0,t),...u,...e.items.slice(t)]}}function is(e,t,u){u-=t.filter(a=>a<u).length;let n=t.map(a=>({from:a,to:u++}));for(let a=0;a<n.length;a++){let i=n[a].from;for(let l=a;l<n.length;l++)n[l].from>i&&n[l].from--}for(let a=0;a<n.length;a++){let i=n[a];for(let l=n.length-1;l>a;l--){let s=n[l];s.from<i.to?i.to++:s.from++}}let r=e.items.slice();for(let a of n){let[i]=r.splice(a.from,1);r.splice(a.to,0,i)}return{...e,items:r}}function zb(e){let t=wu(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 Yy=Math.round(Math.random()*1e10),Jy=0;function Qy(e){let t=o.useMemo(()=>e.name||`radio-group-${Yy}-${++Jy}`,[e.name]);var u;let[n,r]=Re(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 Xy(e){let[t,u]=Re(ls(e.value),ls(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function ls(e){if(e!=null)return e.toString()}function ev(e){let t=wu(e),[u,n]=o.useState(null),r=xl({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),a.commitValidation()}}),a=Ct({...e,value:r.selectedKey}),[i,l]=o.useState(!1);return{...a,...r,...t,focusStrategy:u,open(s=null){r.collection.size!==0&&(n(s),t.open())},toggle(s=null){r.collection.size!==0&&(n(s),t.toggle())},isFocused:i,setFocused:l}}function tv(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||On(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 h=ve(b,t);var p,m;d==="last"?s=(p=(c=It(h))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(m=(f=Ft(h))===null||f===void 0?void 0:f.key)!==null&&m!==void 0?m:null}}a(s,d)};let i=o.useMemo(()=>new ra(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 h=b.hasChildNodes?[...ve(b,t)]:[],D=b.hasChildNodes&&d!==s&&s&&s.index<h.length?h[s.index].key:b.key;n.setFocusedKey(D)}else n.setFocusedKey(null)}l.current=t},[t,i,n,n.focusedKey]),{collection:t,disabledKeys:r,isKeyboardNavigationDisabled:!1,selectionManager:i}}class uv{*[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;for(let h of f.childNodes)h.type==="cell"&&h.parentKey==null&&(h.parentKey=f.key),m.add(h.key),b?(b.nextKey=h.key,h.prevKey=b.key):h.prevKey=null,u(h),b=h;if(b&&(b.nextKey=null),p)for(let h of p.childNodes)m.has(h.key)||n(h)},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 Vb="row-header-column-"+Math.random().toString(36).slice(2);let Pi="row-header-column-"+Math.random().toString(36).slice(2);for(;Vb===Pi;)Pi="row-header-column-"+Math.random().toString(36).slice(2);function Nb(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++;let{column:b,index:h}=n.get(m);if(h>p.length)break;for(let D=h;D<p.length;D++)b.splice(D,0,null);for(let D=p.length;D<b.length;D++)b[D]&&n.has(b[D])&&(n.get(b[D]).index=D)}else 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((h,D)=>{var v;return h+((v=D.colspan)!==null&&v!==void 0?v:1)},0);if(b<s){let h={type:"placeholder",key:"placeholder-"+p.key,colspan:s-b,index:b,value:null,rendered:null,level:f,hasChildNodes:!1,childNodes:[],textValue:""};m.length>0&&(m[m.length-1].nextKey=h.key,h.prevKey=m[m.length-1].key),m.push(h)}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,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 nv extends uv{*[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=Ft(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getLastKey(){var t,u;return(u=(t=It(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:Vb,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:Pi,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=Nb(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 rv={ascending:"descending",descending:"ascending"};function av(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=ml(e,o.useCallback(f=>new nv(f,null,i),[i]),i),{disabledKeys:s,selectionManager:d}=tv({...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?rv[e.sortDescriptor.direction]:"ascending")})}}}function iv(e){var t,u;let n=xl({...e,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:os(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;(r.isEmpty||s==null||!a.getItem(s))&&(s=os(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 os(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}const lv=1500,ss=500;let pu={},ov=0,on=!1,St=null,mu=null;function jb(e={}){let{delay:t=lv,closeDelay:u=ss}=e,{isOpen:n,open:r,close:a}=wu(e),i=o.useMemo(()=>`${++ov}`,[]),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(),on=!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),on&&(mu&&clearTimeout(mu),mu=setTimeout(()=>{delete pu[i],mu=null,on=!1},Math.max(ss,u)))},m=()=>{c(),d(),!n&&!St&&!on?St=setTimeout(()=>{St=null,on=!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 sv{*[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 dv(e){let{onExpandedChange:t}=e,[u,n]=Re(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),r=On(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=ml(e,o.useCallback(s=>new sv(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(cv(u,s))},setExpandedKeys:n,selectionManager:new ra(i,r)}}function cv(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const su=o.createContext(null),Hn=o.createContext({}),Un=o.forwardRef(function(t,u){[t,u]=Y(t,u,Hn);let{isDisabled:n,isInvalid:r,onHoverStart:a,onHoverChange:i,onHoverEnd:l,...s}=t,{hoverProps:d,isHovered:c}=De({onHoverStart:a,onHoverChange:i,onHoverEnd:l,isDisabled:n}),{isFocused:f,isFocusVisible:p,focusProps:m}=oe({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),r??(r=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let b=H({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:p,isDisabled:n,isInvalid:r},defaultClassName:"react-aria-Group"});var h,D;return o.createElement("div",{...N(s,m,d),...b,ref:u,role:(h=t.role)!==null&&h!==void 0?h:"group",slot:(D=t.slot)!==null&&D!==void 0?D: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)}),Rn=o.createContext({});let fv=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const ia=Wr(function(t,u){[t,u]=Y(t,u,Rn);let{hoverProps:n,isHovered:r}=De(t),{isFocused:a,isFocusVisible:i,focusProps:l}=oe({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=H({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return o.createElement("input",{...N(fv(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})}),Lb=o.createContext({});let pv=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const mv=o.forwardRef(function(t,u){[t,u]=Y(t,u,Lb);let{hoverProps:n,isHovered:r}=De(t),{isFocused:a,isFocusVisible:i,focusProps:l}=oe({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=H({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return o.createElement("textarea",{...N(pv(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})}),bv=o.createContext(null),_b=o.forwardRef(function(t,u){[t,u]=Y(t,u,bv);let{validationBehavior:n}=Le(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]=Y({},l,Rn),[c,f]=xt(),[p,m]=o.useState("input"),{labelProps:b,inputProps:h,descriptionProps:D,errorMessageProps:v,...E}=fl({...Xt(t),inputElementType:p,label:f,validationBehavior:i},d),y=o.useCallback(S=>{d.current=S,S&&m(S instanceof HTMLTextAreaElement?"textarea":"input")},[d]),C=H({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:E.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),B=_(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":E.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(te,{values:[[Lt,{...b,ref:c}],[Rn,{...N(h,s),ref:y}],[Lb,{...h,ref:y}],[Ve,{slots:{description:D,errorMessage:v}}],[Et,E]]},C.children))}),Ob=o.createContext(null),Hb=o.createContext(null),en={CollectionRoot({collection:e,renderDropIndicator:t}){return ds(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return ds(e,t,u)}};function ds(e,t,u){return Li({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 $e=o.createContext(en);function El(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const Ub=o.createContext(null),Mr=o.forwardRef(function(t,u){[t,u]=Y(t,u,Ub);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:r,isPressed:a}=Mg({...t,elementType:n},u),{hoverProps:i,isHovered:l}=De(t),{focusProps:s,isFocused:d,isFocusVisible:c}=oe(),f=H({...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,...N(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)}),Si=o.createContext(null),hv=o.forwardRef(function(t,u){[t,u]=Y(t,u,Si);let{CollectionRoot:n}=o.useContext($e),{navProps:r}=tD(t);return o.createElement(Nt,{content:o.createElement(ct,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(Si.Provider,{value:t},o.createElement(n,{collection:a})))})}),$v=jt("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:a,onAction:i}=Le(Si),l={"aria-current":r?"page":null,isDisabled:a||r,onPress:()=>i==null?void 0:i(n.key)},s=H({...n.props,children:n.rendered,values:{isDisabled:a||r,isCurrent:r},defaultClassName:"react-aria-Breadcrumb"});return o.createElement("li",{..._(t),...s,ref:u,"data-disabled":a||r||void 0,"data-current":r||void 0},o.createElement(Ub.Provider,{value:l},s.children))}),zr=o.createContext(null),Vr=o.createContext(null),la=o.createContext(null),oa=o.createContext(null),gv=o.forwardRef(function(t,u){[t,u]=Y(t,u,zr);let{locale:n}=pe(),r=Jm({...t,locale:n,createCalendar:dl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=iD(t,r),c=H({...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(te,{values:[[Ze,{slots:{previous:i,next:l}}],[_r,{"aria-hidden":!0,level:2,children:d}],[la,r],[zr,t],[Ve,{slots:{errorMessage:s}}]]},o.createElement(nu,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(nu,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),Dv=o.forwardRef(function(t,u){[t,u]=Y(t,u,Vr);let{locale:n}=pe(),r=Sy({...t,locale:n,createCalendar:dl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=lD(t,r,u),c=H({...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(te,{values:[[Ze,{slots:{previous:i,next:l}}],[_r,{"aria-hidden":!0,level:2,children:d}],[oa,r],[Vr,t],[Ve,{slots:{errorMessage:s}}]]},o.createElement(nu,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(nu,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),sa=o.createContext(null),Wb=o.forwardRef(function(t,u){let n=o.useContext(la),r=o.useContext(oa),a=Le(zr),i=Le(Vr),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}=oD({startDate:s,endDate:Cr(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var b;return o.createElement(sa.Provider,{value:{headerProps:p,weekDays:m,startDate:s,firstDayOfWeek:c}},o.createElement("table",{..._(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(vv,null,h=>o.createElement(Cv,null,h)),o.createElement(Bv,null,t.children))))});function yv(e,t){let{children:u,style:n,className:r}=e,{headerProps:a,weekDays:i}=o.useContext(sa);return o.createElement("thead",{..._(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 vv=o.forwardRef(yv);function xv(e,t){let{children:u,style:n,className:r}=e;return o.createElement("th",{..._(e),ref:t,style:n,className:r||"react-aria-CalendarHeaderCell"},u)}const Cv=o.forwardRef(xv);function Ev(e,t){let{children:u,style:n,className:r}=e,a=o.useContext(la),i=o.useContext(oa),l=a??i,{startDate:s,firstDayOfWeek:d}=o.useContext(sa),{locale:c}=pe(),f=a2(s,c,d);return o.createElement("tbody",{..._(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 Bv=o.forwardRef(Ev),Gb=o.forwardRef(function({date:t,...u},n){let r=o.useContext(la),a=o.useContext(oa),i=r??a;var l;let{startDate:s}=(l=o.useContext(sa))!==null&&l!==void 0?l:{startDate:i.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=dD({date:t},i,d),{hoverProps:m,isHovered:b}=De({...u,isDisabled:p.isDisabled}),{focusProps:h,isFocusVisible:D}=oe();D&&(D=p.isFocused);let v=!Yg(s,t),E=!1,y=!1;"highlightedRange"in i&&i.highlightedRange&&(E=ke(t,i.highlightedRange.start),y=ke(t,i.highlightedRange.end));let C=H({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:b,isOutsideMonth:v,isFocusVisible:D,isSelectionStart:E,isSelectionEnd:y,...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":D||void 0,"data-outside-visible-range":p.isOutsideVisibleRange||void 0,"data-outside-month":v||void 0,"data-selected":p.isSelected||void 0,"data-selection-start":E||void 0,"data-selection-end":y||void 0,"data-invalid":p.isInvalid||void 0};return o.createElement("td",{...c,ref:n},o.createElement("div",{...N(_(u),f,h,m,B,C),ref:d}))}),kv=o.createContext(null),Bl=o.createContext(null),Pv=o.forwardRef(function(t,u){[t,u]=Y(t,u,kv);let{validationBehavior:n}=Le(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Ay({...t,validationBehavior:i}),[s,d]=xt(),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=gD({...t,label:d,validationBehavior:i},l),h=H({...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,...h,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(te,{values:[[Bl,l],[Lt,{...f,ref:s,elementType:"span"}],[Ve,{slots:{description:p,errorMessage:m}}],[Et,b]]},h.children))}),Sv=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=Y(r,u,Lr);let{validationBehavior:a}=Le(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(Bl),c=ge(ku(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:m,isDisabled:b,isReadOnly:h,isPressed:D,isInvalid:v}=d?DD({...Xt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):Wc({...Xt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},qc(t),c),{isFocused:E,isFocusVisible:y,focusProps:C}=oe(),B=b||h,{hoverProps:S,isHovered:R}=De({...t,isDisabled:B}),$=H({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:D,isHovered:R,isFocused:E,isFocusVisible:y,isDisabled:b,isReadOnly:h,isInvalid:v,isRequired:t.isRequired||!1}}),T=_(t);return delete T.id,o.createElement("label",{...N(T,f,S,$),ref:u,slot:t.slot||void 0,"data-selected":m||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":D||void 0,"data-hovered":R||void 0,"data-focused":E||void 0,"data-focus-visible":y||void 0,"data-disabled":b||void 0,"data-readonly":h||void 0,"data-invalid":v||void 0,"data-required":t.isRequired||void 0},o.createElement(nu,{elementType:"span"},o.createElement("input",{...N(p,C),ref:c})),$.children)});var Zb={};Zb={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var qb={};qb={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var Yb={};Yb={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var Jb={};Jb={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var Qb={};Qb={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var Xb={};Xb={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var e5={};e5={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var t5={};t5={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var u5={};u5={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var n5={};n5={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var r5={};r5={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var a5={};a5={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var i5={};i5={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var l5={};l5={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var o5={};o5={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var s5={};s5={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var d5={};d5={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var c5={};c5={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var f5={};f5={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var p5={};p5={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var m5={};m5={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var b5={};b5={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var h5={};h5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var $5={};$5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var g5={};g5={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var D5={};D5={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var y5={};y5={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var v5={};v5={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var x5={};x5={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var C5={};C5={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var E5={};E5={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var B5={};B5={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var k5={};k5={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var P5={};P5={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var kl={};kl={"ar-AE":Zb,"bg-BG":qb,"cs-CZ":Yb,"da-DK":Jb,"de-DE":Qb,"el-GR":Xb,"en-US":e5,"es-ES":t5,"et-EE":u5,"fi-FI":n5,"fr-FR":r5,"he-IL":a5,"hr-HR":i5,"hu-HU":l5,"it-IT":o5,"ja-JP":s5,"ko-KR":d5,"lt-LT":c5,"lv-LV":f5,"nb-NO":p5,"nl-NL":m5,"pl-PL":b5,"pt-BR":h5,"pt-PT":$5,"ro-RO":g5,"ru-RU":D5,"sk-SK":y5,"sl-SI":v5,"sr-SP":x5,"sv-SE":C5,"tr-TR":E5,"uk-UA":B5,"zh-CN":k5,"zh-TW":P5};const Ue=o.createContext({}),da=o.createContext(null),Av=o.forwardRef(function(t,u){let{render:n}=o.useContext(da);return o.createElement(o.Fragment,null,n(t,u))});function ca(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(Av,{target:i})},[t==null?void 0:t.target,r,n]);return e!=null&&e.useDropIndicator?a:void 0}function Pl(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 S5=o.createContext({}),A5=o.createContext({}),Wn=o.createContext(null),Ge=o.createContext(null),w5=o.forwardRef(function(t,u){[t,u]=Y(t,u,Wn);let n=o.useContext(Ge);return n?o.createElement(F5,{state:n,props:t,listBoxRef:u}):o.createElement(Nt,{content:o.createElement(ct,t)},r=>o.createElement(wv,{props:t,listBoxRef:u,collection:r}))});function wv({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext($e),{filterFn:r,collectionProps:a,collectionRef:i}=o.useContext(Ob)||{};t=ge(o.useMemo(()=>ku(t,i!==void 0?i:null),[i,t]));let l=o.useMemo(()=>r?u.filter(r):u,[u,r]),s=aa({...e,collection:l,layoutDelegate:n});return o.createElement(F5,{state:s,props:{...e,...a},listBoxRef:t})}function F5({state:e,props:t,listBoxRef:u}){let{dragAndDropHooks:n,layout:r="stack",orientation:a="vertical"}=t,{collection:i,selectionManager:l}=e,s=!!(n!=null&&n.useDraggableCollectionState),d=!!(n!=null&&n.useDroppableCollectionState),{direction:c}=pe(),{disabledBehavior:f,disabledKeys:p}=l,m=Au({usage:"search",sensitivity:"base"}),{isVirtualized:b,layoutDelegate:h,dropTargetDelegate:D,CollectionRoot:v}=o.useContext($e),E=o.useMemo(()=>t.keyboardDelegate||new ru({collection:i,collator:m,ref:u,disabledKeys:p,disabledBehavior:f,layout:r,orientation:a,direction:c,layoutDelegate:h}),[i,m,u,f,p,a,c,t.keyboardDelegate,r,h]),{listBoxProps:y}=QD({...t,shouldSelectOnPressUp:s||t.shouldSelectOnPressUp,keyboardDelegate:E,isVirtualized:b},e,u),C=o.useRef(s),B=o.useRef(d);o.useEffect(()=>{C.current!==s&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),B.current!==d&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[s,d]);let S,R,$,T=!1,A=null,k=o.useRef(null);if(s&&n){S=n.useDraggableCollectionState({collection:i,selectionManager:l,preview:n.renderDragPreview?k:void 0}),n.useDraggableCollection({},S,u);let P=n.DragPreview;A=n.renderDragPreview?o.createElement(P,{ref:k},n.renderDragPreview):null}if(d&&n){R=n.useDroppableCollectionState({collection:i,selectionManager:l});let P=n.dropTargetDelegate||D||new n.ListDropTargetDelegate(i,u,{orientation:a,layout:r,direction:c});$=n.useDroppableCollection({keyboardDelegate:E,dropTargetDelegate:P},R,u),T=R.isDropTarget({type:"root"})}let{focusProps:z,isFocused:x,isFocusVisible:w}=oe(),V={isDropTarget:T,isEmpty:e.collection.size===0,isFocused:x,isFocusVisible:w,layout:t.layout||"stack",state:e},F=H({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:V}),I=null;return e.collection.size===0&&t.renderEmptyState&&(I=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(V))),o.createElement(Vn,null,o.createElement("div",{..._(t),...N(y,z,$==null?void 0:$.collectionProps),...F,ref:u,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":T||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":x||void 0,"data-focus-visible":w||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(te,{values:[[Wn,t],[Ge,e],[Ue,{dragAndDropHooks:n,dragState:S,dropState:R}],[A5,{elementType:"div"}],[da,{render:Tv}],[Hb,{name:"ListBoxSection",render:Fv}]]},o.createElement(v,{collection:i,scrollRef:u,persistedKeys:Pl(l,n,R),renderDropIndicator:ca(n,R)})),I,A))}function Fv(e,t,u,n="react-aria-ListBoxSection"){let r=o.useContext(Ge),{dragAndDropHooks:a,dropState:i}=o.useContext(Ue),{CollectionBranch:l}=o.useContext($e),[s,d]=xt();var c;let{headingProps:f,groupProps:p}=u6({heading:d,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),m=H({defaultClassName:n,className:e.className,style:e.style,values:{}});return o.createElement("section",{..._(e),...p,...m,ref:t},o.createElement(S5.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:r.collection,parent:u,renderDropIndicator:ca(a,i)})))}const T5=jt("item",function(t,u,n){let r=ge(u),a=o.useContext(Ge),{dragAndDropHooks:i,dragState:l,dropState:s}=o.useContext(Ue),{optionProps:d,labelProps:c,descriptionProps:f,...p}=t6({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},a,r),{hoverProps:m,isHovered:b}=De({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),h=null;l&&i&&(h=i.useDraggableItem({key:n.key},l));let D=null;s&&i&&(D=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,r));let v=l&&l.isDragging(n.key),E=H({...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:v,isDropTarget:D==null?void 0:D.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 y=t.href?"a":"div";return o.createElement(y,{...N(d,m,h==null?void 0:h.dragProps,D==null?void 0:D.dropProps),...E,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":v||void 0,"data-drop-target":(D==null?void 0:D.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},o.createElement(te,{values:[[Ve,{slots:{label:c,description:f}}]]},E.children))});function Tv(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(Ue),{dropIndicatorProps:r,isHidden:a,isDropTarget:i}=u.useDropIndicator(e,n,t);return a?null:o.createElement(Iv,{...e,dropIndicatorProps:r,isDropTarget:i,ref:t})}function Rv(e,t){let{dropIndicatorProps:u,isDropTarget:n,...r}=e,a=H({...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 Iv=o.forwardRef(Rv),Sl=o.createContext({placement:"bottom"}),Kv=o.forwardRef(function(t,u){[t,u]=Y(t,u,Sl);let n=t.placement,r={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(r[n]="100%");let a=H({...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})}),Fu=o.createContext(null),tn=o.forwardRef(function(t,u){[t,u]=Y(t,u,Fu);let n=o.useContext(du),r=wu(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,i=ks(u,a.isOpen)||t.isExiting||!1;if(Y$()){let s=t.children;return typeof s=="function"&&(s=s({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),o.createElement(o.Fragment,null,s)}return a&&!a.isOpen&&!i?null:o.createElement(Mv,{...t,triggerRef:t.triggerRef,state:a,popoverRef:u,isExiting:i})});function Mv({state:e,isExiting:t,UNSTABLE_portalContainer:u,...n}){let r=o.useRef(null),[a,i]=o.useState(0);q(()=>{r.current&&e.isOpen&&i(r.current.getBoundingClientRect().width)},[e.isOpen,r]);var l;let{popoverProps:s,underlayProps:d,arrowProps:c,placement:f}=HD({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:a},e),p=n.popoverRef,m=Bs(p,!!f)||n.isEntering||!1,b=H({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:f,isEntering:m,isExiting:t}}),h={...s.style,...b.style};return o.createElement(GD,{...n,isExiting:t,portalContainer:u},!n.isNonModal&&e.isOpen&&o.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),o.createElement("div",{...N(_(n),s),...b,ref:p,slot:n.slot||void 0,style:h,"data-trigger":n.trigger,"data-placement":f,"data-entering":m||void 0,"data-exiting":t||void 0},!n.isNonModal&&o.createElement(jo,{onDismiss:e.close}),o.createElement(Sl.Provider,{value:{...c,placement:f,ref:r}},b.children),o.createElement(jo,{onDismiss:e.close})))}const zv=o.createContext({}),R5=o.createContext(null),Al=o.createContext(null),wl=o.createContext(null),Nr=o.createContext(null);function Vv(e){let t=zb(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:r}=hl({...e,type:"menu"},t,u),[a,i]=o.useState(null),l=o.useCallback(()=>{u.current&&i(u.current.offsetWidth+"px")},[u]);xu({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(te,{values:[[R5,{...r,ref:s}],[du,t],[wl,t],[Fu,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":a}}]]},o.createElement(Ui,{...n,ref:u,isPressed:t.isOpen},e.children))}const Nv=o.createContext(null),jv=o.forwardRef(function(t,u){return[t,u]=Y(t,u,R5),o.createElement(Nt,{content:o.createElement(ct,t)},n=>n.size>0&&o.createElement(Lv,{props:t,collection:n,menuRef:u}))});function Lv({props:e,collection:t,menuRef:u}){let{filterFn:n,collectionProps:r,collectionRef:a}=o.useContext(Ob)||{};u=ge(o.useMemo(()=>ku(u,a!==void 0?a:null),[a,u]));let i=o.useMemo(()=>n?t.filter(n):t,[t,n]),l=dv({...e,collection:i,children:void 0}),s=o.useContext(wl),{isVirtualized:d,CollectionRoot:c}=o.useContext($e),{menuProps:f}=r6({...e,...r,isVirtualized:d,onClose:e.onClose||(s==null?void 0:s.close)},l,u),p=H({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{}});return o.createElement(Vn,null,o.createElement("div",{..._(e),...f,...p,ref:u,slot:e.slot||void 0,onScroll:e.onScroll},o.createElement(te,{values:[[Al,l],[A5,{elementType:"div"}],[Hb,{name:"MenuSection",render:Ov}],[Nv,{parentMenuRef:u}],[Ai,null],[Nr,l.selectionManager]]},o.createElement(c,{collection:l.collection,persistedKeys:El(l.selectionManager.focusedKey),scrollRef:u}))))}class _v extends ra{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 Ov(e,t,u,n="react-aria-MenuSection"){var r,a;let i=o.useContext(Al),{CollectionBranch:l}=o.useContext($e),[s,d]=xt();var c;let{headingProps:f,groupProps:p}=i6({heading:d,"aria-label":(c=u.props["aria-label"])!==null&&c!==void 0?c:void 0}),m=H({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(Nr),h=On(e),D=e.selectionMode!=null?new _v(b,h):b;return o.createElement("section",{..._(e),...p,...m,ref:t},o.createElement(te,{values:[[S5,{...f,ref:s}],[Nr,D]]},o.createElement(l,{collection:i.collection,parent:u})))}const Ai=o.createContext(null),Hv=jt("item",function(t,u,n){var r;[t,u]=Y(t,u,Ai);let a=(r=Le(Ai))===null||r===void 0?void 0:r.id,i=o.useContext(Al),l=ge(u),s=o.useContext(Nr),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...m}=a6({...t,id:a,key:n.key,selectionManager:s},i,l),{isFocusVisible:b,focusProps:h}=oe(),{hoverProps:D,isHovered:v}=De({isDisabled:m.isDisabled}),E=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...m,isHovered:v,isFocusVisible:b,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),y=t.href?"a":"div";return o.createElement(y,{...N(d,h,D),...E,ref:l,"data-disabled":m.isDisabled||void 0,"data-hovered":v||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":b||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(te,{values:[[Ve,{slots:{label:c,description:f}}],[zv,p]]},E.children))}),fa=o.createContext(null),du=o.createContext(null);function Uv(e){let t=zb(e),u=o.useRef(null),{triggerProps:n,overlayProps:r}=b3({type:"dialog"},t,u);return n.id=ne(),r["aria-labelledby"]=n.id,o.createElement(te,{values:[[du,t],[wl,t],[fa,r],[Fu,{trigger:"DialogTrigger",triggerRef:u}]]},o.createElement(Ui,{...n,ref:u,isPressed:t.isOpen},e.children))}const I5=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=Y(t,u,fa);let{dialogProps:r,titleProps:a}=y6({...t,"aria-labelledby":n},u),i=o.useContext(du);!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=H({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",{..._(t),...r,...l,ref:u,slot:t.slot||void 0},o.createElement(te,{values:[[_r,{slots:{[ht]:{},title:{...a,level:2}}}],[Ze,{slots:{[ht]:{},close:{onPress:()=>i==null?void 0:i.close()}}}]]},l.children))}),Wv=o.createContext(null),Gv=o.createContext(null),Zv=o.forwardRef(function(t,u){[t,u]=Y(t,u,Wv);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>{var s;return o.createElement(Wn.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(Nt,{content:l},s=>o.createElement(qv,{props:t,collection:s,comboBoxRef:u}))});function qv({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:r="key",allowsCustomValue:a}=e;a&&(r="text");let{validationBehavior:i}=Le(su)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:i)!==null&&s!==void 0?s:"native",{contains:c}=ic({sensitivity:"base"}),f=Fy({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),h=o.useRef(null),[D,v]=xt(),{buttonProps:E,inputProps:y,listBoxProps:C,labelProps:B,descriptionProps:S,errorMessageProps:R,...$}=o6({...Xt(e),label:v,inputRef:m,buttonRef:p,listBoxRef:b,popoverRef:h,name:r==="text"?n:void 0,validationBehavior:d},f),[T,A]=o.useState(null),k=o.useCallback(()=>{if(m.current){var F;let I=(F=p.current)===null||F===void 0?void 0:F.getBoundingClientRect(),P=m.current.getBoundingClientRect(),K=I?Math.min(I.left,P.left):P.left,L=I?Math.max(I.right,P.right):P.right;A(L-K+"px")}},[p,m,A]);xu({ref:m,onResize:k});let z=o.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:$.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,$.isInvalid,e.isRequired]),x=H({...e,values:z,defaultClassName:"react-aria-ComboBox"}),w=_(e);delete w.id;var V;return o.createElement(te,{values:[[Gv,f],[Lt,{...B,ref:D}],[Ze,{...E,ref:p,isPressed:f.isOpen}],[Rn,{...y,ref:m}],[du,f],[Fu,{ref:h,triggerRef:m,scrollRef:b,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":T}}],[Wn,{...C,ref:b}],[Ge,f],[Ve,{slots:{description:S,errorMessage:R}}],[Hn,{isInvalid:$.isInvalid,isDisabled:e.isDisabled||!1}],[Et,$]]},o.createElement("div",{...w,...x,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":$.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&r==="key"&&o.createElement("input",{type:"hidden",name:n,value:(V=f.selectedKey)!==null&&V!==void 0?V:""}))}const Fl=o.createContext(null),pa=o.createContext(null),Tl=o.createContext(null),wi=o.forwardRef(function(t,u){let n=o.useContext(pa),r=o.useContext(Tl);return n||r?o.createElement(K5,{...t,ref:u}):o.createElement(Yv,{...t,ref:u})}),Yv=o.forwardRef((e,t)=>{let[u,n]=Y({slot:e.slot},t,Fl),{locale:r}=pe(),a=Ly({...u,locale:r,createCalendar:dl}),i=o.useRef(null),{fieldProps:l,inputProps:s}=d6({...u,inputRef:i},a,n);return o.createElement(te,{values:[[pa,a],[Rn,{...s,ref:i}],[Hn,{...l,ref:n,isInvalid:a.isInvalid}]]},o.createElement(K5,e))}),K5=o.forwardRef((e,t)=>{let{className:u,children:n}=e,r=o.useContext(pa),a=o.useContext(Tl),i=r??a;return o.createElement(o.Fragment,null,o.createElement(Un,{...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(ia,null))}),Fi=o.forwardRef(function({segment:t,...u},n){let r=o.useContext(pa),a=o.useContext(Tl),i=r??a,l=ge(n),{segmentProps:s}=h6(t,i,l),{focusProps:d,isFocused:c,isFocusVisible:f}=oe(),{hoverProps:p,isHovered:m}=De({...u,isDisabled:i.isDisabled||t.type==="literal"}),b=H({...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("div",{...N(_(u),s,d,p),...b,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})}),Jv=o.createContext(null),Qv=o.createContext(null),Xv=o.createContext(null),ex=o.createContext(null),tx=o.forwardRef(function(t,u){[t,u]=Y(t,u,Jv);let{validationBehavior:n}=Le(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=zy({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=xt(),{groupProps:f,labelProps:p,fieldProps:m,buttonProps:b,dialogProps:h,calendarProps:D,descriptionProps:v,errorMessageProps:E,...y}=f6({...Xt(t),label:c,validationBehavior:i},l,s),[C,B]=o.useState(null),S=o.useCallback(()=>{s.current&&B(s.current.offsetWidth+"px")},[]);xu({ref:s,onResize:S});let{focusProps:R,isFocused:$,isFocusVisible:T}=oe({within:!0}),A=H({...t,values:{state:l,isFocusWithin:$,isFocusVisible:T,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DatePicker"}),k=_(t);return delete k.id,o.createElement(te,{values:[[Xv,l],[Hn,{...f,ref:s,isInvalid:l.isInvalid}],[Fl,m],[Ze,{...b,isPressed:l.isOpen}],[Lt,{...p,ref:d,elementType:"span"}],[zr,D],[du,l],[Fu,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":C}}],[fa,h],[Ve,{slots:{description:v,errorMessage:E}}],[Et,y]]},o.createElement("div",{...R,...k,...A,ref:u,slot:t.slot||void 0,"data-focus-within":$||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":T||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),ux=o.forwardRef(function(t,u){[t,u]=Y(t,u,Qv);let{validationBehavior:n}=Le(su)||{};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=o.useRef(null),[d,c]=xt(),{groupProps:f,labelProps:p,startFieldProps:m,endFieldProps:b,buttonProps:h,dialogProps:D,calendarProps:v,descriptionProps:E,errorMessageProps:y,...C}=D6({...Xt(t),label:c,validationBehavior:i},l,s),[B,S]=o.useState(null),R=o.useCallback(()=>{s.current&&S(s.current.offsetWidth+"px")},[]);xu({ref:s,onResize:R});let{focusProps:$,isFocused:T,isFocusVisible:A}=oe({within:!0}),k=H({...t,values:{state:l,isFocusWithin:T,isFocusVisible:A,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DateRangePicker"}),z=_(t);return delete z.id,o.createElement(te,{values:[[ex,l],[Hn,{...f,ref:s,isInvalid:l.isInvalid}],[Ze,{...h,isPressed:l.isOpen}],[Lt,{...p,ref:d,elementType:"span"}],[Vr,v],[du,l],[Fu,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":B}}],[fa,D],[Fl,{slots:{start:m,end:b}}],[Ve,{slots:{description:E,errorMessage:y}}],[Et,C]]},o.createElement("div",{...$,...z,...k,ref:u,slot:t.slot||void 0,"data-focus-within":T||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":A||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),M5=o.createContext(null),nx=o.forwardRef(function(t,u){let n=Gy(t),r=H({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),a=_(t);return o.createElement("div",{...a,...r,ref:u,"data-disabled":t.isDisabled||void 0},o.createElement(M5.Provider,{value:n},r.children))}),rx=o.createContext(null),ax=o.createContext(null),z5=o.createContext(null),ix=o.forwardRef(function(t,u){[t,u]=Y(t,u,rx);let n=o.useContext(M5),{id:r,...a}=t,i=ne();r||(r=i);let l=n?n.expandedKeys.has(r):t.isExpanded,s=Wy({...t,isExpanded:l,onExpandedChange(v){var E;n&&n.toggleKey(r),(E=t.onExpandedChange)===null||E===void 0||E.call(t,v)}}),d=o.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:p}=v6({...t,isExpanded:l,isDisabled:c},s,d),{isFocusVisible:m,focusProps:b}=oe({within:!0}),h=H({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:s.isExpanded,isDisabled:c,isFocusVisibleWithin:m,state:s}}),D=_(a);return o.createElement(te,{values:[[Ze,{slots:{[ht]:{},trigger:f}}],[z5,{panelProps:p,panelRef:d}],[ax,s]]},o.createElement("div",{ref:u,"data-expanded":s.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":m||void 0,...D,...b,...h},h.children))}),lx=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:r,panelRef:a}=o.useContext(z5),{isFocusVisible:i,focusProps:l}=oe({within:!0}),s=H({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:i}}),d=_(t);return o.createElement("div",{...d,ref:ku(u,a),...N(r,l),...s,role:n,"data-focus-visible-within":i||void 0},o.createElement(te,{values:[[Ze,null]]},t.children))});function ox(e){return e&&e.__esModule?e.default:e}const sx=o.createContext(null),dx=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=Y(t,u,sx);let r=ge(u),a=o.useRef(null),{dropProps:i,dropButtonProps:l,isDropTarget:s}=z6({...t,ref:a,hasDropButton:!0}),{buttonProps:d}=lc(l||{},a),{hoverProps:c,isHovered:f}=De(t),{focusProps:p,isFocused:m,isFocusVisible:b}=oe(),h=be(ox(kl),"react-aria-components"),D=rt(),v=t["aria-label"]||h.format("dropzoneLabel"),E=t["aria-labelledby"],y=[D,E].filter(Boolean).join(" "),C=Dt({"aria-label":v,"aria-labelledby":y}),{clipboardProps:B}=V6({isDisabled:n,onPaste:$=>{var T;return(T=t.onDrop)===null||T===void 0?void 0:T.call(t,{type:"drop",items:$,x:0,y:0,dropOperation:"copy"})}}),S=H({...t,values:{isHovered:f,isFocused:m,isFocusVisible:b,isDropTarget:s,isDisabled:n},defaultClassName:"react-aria-DropZone"}),R=_(t);return delete R.id,o.createElement(te,{values:[[Ve,{id:D,slot:"label"}]]},o.createElement("div",{...N(i,c,R),...S,slot:t.slot||void 0,ref:r,onClick:$=>{var T;let A=$.target;for(;A&&(!((T=r.current)===null||T===void 0)&&T.contains(A))&&!Sg(A);){if(A===r.current){var k;(k=a.current)===null||k===void 0||k.focus();break}A=A.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(nu,null,o.createElement("button",{...N(d,p,B,C),ref:a})),S.children))}),cx=o.forwardRef(function(t,u){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:a,defaultCamera:i,children:l,acceptDirectory:s,...d}=t,c=ge(u),f=_(d);return o.createElement(o.Fragment,null,o.createElement(Ui,{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(ia,{...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}))}),fx=o.createContext(null),px=o.forwardRef(function(t,u){return[t,u]=Y(t,u,fx),o.createElement(Nt,{content:o.createElement(ct,t)},n=>o.createElement(mx,{props:t,collection:n,gridListRef:u}))});function mx({props:e,collection:t,gridListRef:u}){let{dragAndDropHooks:n,keyboardNavigationBehavior:r="arrow",layout:a="stack"}=e,{CollectionRoot:i,isVirtualized:l,layoutDelegate:s,dropTargetDelegate:d}=o.useContext($e),c=aa({...e,collection:t,children:void 0,layoutDelegate:s}),f=Au({usage:"search",sensitivity:"base"}),{disabledBehavior:p,disabledKeys:m}=c.selectionManager,{direction:b}=pe(),h=o.useMemo(()=>new ru({collection:t,collator:f,ref:u,disabledKeys:m,disabledBehavior:p,layoutDelegate:s,layout:a,direction:b}),[t,u,a,m,p,s,f,b]),{gridProps:D}=U0({...e,keyboardDelegate:h,keyboardNavigationBehavior:a==="grid"?"tab":r,isVirtualized:l},c,u),v=c.selectionManager,E=!!(n!=null&&n.useDraggableCollectionState),y=!!(n!=null&&n.useDroppableCollectionState),C=o.useRef(E),B=o.useRef(y);o.useEffect(()=>{C.current!==E&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),B.current!==y&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[E,y]);let S,R,$,T=!1,A=null,k=o.useRef(null);if(E&&n){S=n.useDraggableCollectionState({collection:t,selectionManager:v,preview:n.renderDragPreview?k:void 0}),n.useDraggableCollection({},S,u);let K=n.DragPreview;A=n.renderDragPreview?o.createElement(K,{ref:k},n.renderDragPreview):null}if(y&&n){R=n.useDroppableCollectionState({collection:t,selectionManager:v});let K=new ru({collection:t,disabledKeys:v.disabledKeys,disabledBehavior:v.disabledBehavior,ref:u}),L=n.dropTargetDelegate||d||new n.ListDropTargetDelegate(t,u,{layout:a,direction:b});$=n.useDroppableCollection({keyboardDelegate:K,dropTargetDelegate:L},R,u),T=R.isDropTarget({type:"root"})}let{focusProps:z,isFocused:x,isFocusVisible:w}=oe(),V={isDropTarget:T,isEmpty:c.collection.size===0,isFocused:x,isFocusVisible:w,layout:a,state:c},F=H({className:e.className,style:e.style,defaultClassName:"react-aria-GridList",values:V}),I=null,P=null;if(c.collection.size===0&&e.renderEmptyState){let K=e.renderEmptyState(V);I=o.createElement("div",{role:"row",style:{display:"contents"}},o.createElement("div",{role:"gridcell",style:{display:"contents"}},K))}return o.createElement(Vn,null,o.createElement("div",{..._(e),...F,...N(D,z,$==null?void 0:$.collectionProps,P),ref:u,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":T||void 0,"data-empty":c.collection.size===0||void 0,"data-focused":x||void 0,"data-focus-visible":w||void 0,"data-layout":a},o.createElement(te,{values:[[Ge,c],[Ue,{dragAndDropHooks:n,dragState:S,dropState:R}],[da,{render:hx}]]},y&&o.createElement(Dx,null),o.createElement(i,{collection:t,scrollRef:u,persistedKeys:Pl(v,n,R),renderDropIndicator:ca(n,R)})),I,A))}const bx=jt("item",function(t,u,n){let r=o.useContext(Ge),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(Ue),s=ge(u),{isVirtualized:d}=o.useContext($e),{rowProps:c,gridCellProps:f,descriptionProps:p,...m}=W0({node:n,shouldSelectOnPressUp:!!i,isVirtualized:d},r,s),{hoverProps:b,isHovered:h}=De({isDisabled:!m.allowsSelection&&!m.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{isFocusVisible:D,focusProps:v}=oe(),{checkboxProps:E}=G6({key:n.key},r),y=r.selectionManager.disabledBehavior==="all"&&m.isDisabled?{isDisabled:!0}:{},C=null;i&&a&&(C=a.useDraggableItem({key:n.key,hasDragButton:!0},i));let B=null,S=o.useRef(null),{visuallyHiddenProps:R}=ou();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:n.key,dropPosition:"on"}},l,S));let $=i&&i.isDragging(n.key),T=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-GridListItem",values:{...m,isHovered:h,isFocusVisible:D,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,allowsDragging:!!i,isDragging:$,isDropTarget:B==null?void 0:B.isDropTarget}}),A=o.useRef(null);return o.useEffect(()=>{i&&!A.current&&console.warn('Draggable items in a GridList must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]),o.useEffect(()=>{n.textValue||console.warn("A `textValue` prop is required for <GridListItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]),o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement("div",{role:"row",style:{position:"absolute"}},o.createElement("div",{role:"gridcell"},o.createElement("div",{role:"button",...R,...B==null?void 0:B.dropIndicatorProps,ref:S}))),o.createElement("div",{...N(_(t),c,v,b,C==null?void 0:C.dragProps),...T,ref:s,"data-selected":m.isSelected||void 0,"data-disabled":m.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":D||void 0,"data-pressed":m.isPressed||void 0,"data-allows-dragging":!!i||void 0,"data-dragging":$||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},o.createElement("div",{...f,style:{display:"contents"}},o.createElement(te,{values:[[Lr,{slots:{[ht]:{},selection:E}}],[Ze,{slots:{[ht]:y,drag:{...C==null?void 0:C.dragButtonProps,ref:A,style:{pointerEvents:"none"}}}}],[Ve,{slots:{[ht]:{},description:p}}],[$e,en],[Ge,null]]},T.children))))});function hx(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(Ue),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(gx,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function $x(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,{visuallyHiddenProps:i}=ou(),l=H({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...l,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement("div",{role:"gridcell"},o.createElement("div",{...i,role:"button",...u,ref:r}),l.children))}const gx=o.forwardRef($x);function Dx(){let{dragAndDropHooks:e,dropState:t}=o.useContext(Ue),u=o.useRef(null),{dropIndicatorProps:n}=e.useDropIndicator({target:{type:"root"}},t,u),r=t.isDropTarget({type:"root"}),{visuallyHiddenProps:a}=ou();return!r&&n["aria-hidden"]?null:o.createElement("div",{role:"row","aria-hidden":n["aria-hidden"],style:{position:"absolute"}},o.createElement("div",{role:"gridcell"},o.createElement("div",{role:"button",...a,...n,ref:u})))}const Rl=o.forwardRef(function(t,u){[t,u]=Y(t,u,_r);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)}),yx=o.createContext(null),vx=o.createContext(null),V5=o.createContext(null),xx=o.forwardRef(function(t,u){[t,u]=Y(t,u,yx);let{validationBehavior:n}=Le(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Qy({...t,validationBehavior:i}),[s,d]=xt(),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=q6({...t,label:d,validationBehavior:i},l),h=H({...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,...h,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(te,{values:[[V5,l],[Lt,{...f,ref:s,elementType:"span"}],[Ve,{slots:{description:p,errorMessage:m}}],[Et,b]]},h.children))}),Cx=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=Y(r,u,vx);let a=o.useContext(V5),i=ge(ku(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=Z6({...Xt(t),children:typeof t.children=="function"?!0:t.children},a,i),{isFocused:p,isFocusVisible:m,focusProps:b}=oe(),h=c||a.isReadOnly,{hoverProps:D,isHovered:v}=De({...t,isDisabled:h}),E=H({...t,defaultClassName:"react-aria-Radio",values:{isSelected:d,isPressed:f,isHovered:v,isFocused:p,isFocusVisible:m,isDisabled:c,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),y=_(t);return delete y.id,o.createElement("label",{...N(y,l,D,E),ref:u,"data-selected":d||void 0,"data-pressed":f||void 0,"data-hovered":v||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(nu,{elementType:"span"},o.createElement("input",{...N(s,b),ref:i})),E.children)});function Ex(e){return e&&e.__esModule?e.default:e}const Il=o.createContext(null),N5=o.createContext(null),Bx=o.forwardRef(function(t,u){[t,u]=Y(t,u,Il);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>typeof n=="function"?n({isOpen:!1,isDisabled:r,isInvalid:a,isRequired:i,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,r,a,i]);return o.createElement(Nt,{content:l},s=>o.createElement(kx,{props:t,collection:s,selectRef:u}))});function kx({props:e,selectRef:t,collection:u}){let{validationBehavior:n}=Le(su)||{};var r,a;let i=(a=(r=e.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=ev({...e,collection:u,children:void 0,validationBehavior:i}),{isFocusVisible:s,focusProps:d}=oe({within:!0}),c=o.useRef(null),[f,p]=xt(),{labelProps:m,triggerProps:b,valueProps:h,menuProps:D,descriptionProps:v,errorMessageProps:E,...y}=Q6({...Xt(e),label:p,validationBehavior:i},l,c),[C,B]=o.useState(null),S=o.useCallback(()=>{c.current&&B(c.current.offsetWidth+"px")},[c]);xu({ref:c,onResize:S});let R=o.useMemo(()=>({isOpen:l.isOpen,isFocused:l.isFocused,isFocusVisible:s,isDisabled:e.isDisabled||!1,isInvalid:y.isInvalid||!1,isRequired:e.isRequired||!1}),[l.isOpen,l.isFocused,s,e.isDisabled,y.isInvalid,e.isRequired]),$=H({...e,values:R,defaultClassName:"react-aria-Select"}),T=_(e);delete T.id;let A=o.useRef(null);return o.createElement(te,{values:[[Il,e],[N5,l],[j5,h],[Lt,{...m,ref:f,elementType:"span"}],[Ze,{...b,ref:c,isPressed:l.isOpen}],[du,l],[Fu,{trigger:"Select",triggerRef:c,scrollRef:A,placement:"bottom start",style:{"--trigger-width":C}}],[Wn,{...D,ref:A}],[Ge,l],[Ve,{slots:{description:v,errorMessage:E}}],[Et,y]]},o.createElement("div",{...T,...$,...d,ref:t,slot:e.slot||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":s||void 0,"data-open":l.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-required":e.isRequired||void 0}),o.createElement(ey,{autoComplete:e.autoComplete,state:l,triggerRef:c,label:p,name:e.name,isDisabled:e.isDisabled}))}const j5=o.createContext(null),Px=o.forwardRef(function(t,u){var n,r;[t,u]=Y(t,u,j5);let a=o.useContext(N5),{placeholder:i}=Le(Il),l=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,s=l==null?void 0:l.props.children;typeof s=="function"&&(s=s({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let d=be(Ex(kl),"react-aria-components");var c,f,p;let m=H({...t,defaultChildren:(c=s??i)!==null&&c!==void 0?c:d.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(f=(n=a.selectedItem)===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:null,selectedText:(p=(r=a.selectedItem)===null||r===void 0?void 0:r.textValue)!==null&&p!==void 0?p:null,isPlaceholder:!l}}),b=_(t);return o.createElement("span",{ref:u,...b,...m,"data-placeholder":!l||void 0},o.createElement(Ve.Provider,{value:void 0},m.children))});class Sx extends Ur{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),super.commit(t,u,n),this.rows=[...this.getChildren(this.body.key)]}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=Nb(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 xn("tableheader",-1),this.body=new xn("tablebody",-2),this.columnsDirty=!0}}const Ax=o.createContext(null),wx=o.createContext(null),Bt=o.createContext(null),L5=o.createContext(null),Fx=o.forwardRef(function(t,u){var n;[t,u]=Y(t,u,wx);let r=On(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(_5.Provider,{value:d},o.createElement(ct,t));return o.createElement(Nt,{content:c,createCollection:()=>new Sx},f=>o.createElement(Tx,{props:t,forwardedRef:u,selectionState:r,collection:f}))});function Tx({props:e,forwardedRef:t,selectionState:u,collection:n}){let r=o.useContext(Ax);t=ge(o.useMemo(()=>ku(t,r==null?void 0:r.tableRef),[t,r==null?void 0:r.tableRef]));let a=av({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:i,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext($e),{dragAndDropHooks:c}=e,{gridProps:f}=ay({...e,layoutDelegate:l,isVirtualized:i},a,t),p=a.selectionManager,m=!!(c!=null&&c.useDraggableCollectionState),b=!!(c!=null&&c.useDroppableCollectionState),h=o.useRef(m),D=o.useRef(b);o.useEffect(()=>{h.current!==m&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),D.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 v,E,y,C=!1,B=null,S=o.useRef(null);if(m&&c){v=c.useDraggableCollectionState({collection:n,selectionManager:p,preview:c.renderDragPreview?S:void 0}),c.useDraggableCollection({},v,t);let F=c.DragPreview;B=c.renderDragPreview?o.createElement(F,{ref:S},c.renderDragPreview):null}if(b&&c){E=c.useDroppableCollectionState({collection:n,selectionManager:p});let F=new ru({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),I=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);y=c.useDroppableCollection({keyboardDelegate:F,dropTargetDelegate:I},E,t),C=E.isDropTarget({type:"root"})}let{focusProps:R,isFocused:$,isFocusVisible:T}=oe(),A=H({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:C,isFocused:$,isFocusVisible:T,state:a}}),k=!!(m&&!(v!=null&&v.isDisabled)),z=A.style,x=null;r&&(x=r.useTableColumnResizeState({tableWidth:r.tableWidth},a),i||(z={...z,tableLayout:"fixed",width:"fit-content"}));let w=Me("table");var V;return o.createElement(te,{values:[[Bt,a],[L5,x],[Ue,{dragAndDropHooks:c,dragState:v,dropState:E}],[da,{render:jx}]]},o.createElement(Vn,null,o.createElement(w,{..._(e),...A,...N(f,R,y==null?void 0:y.collectionProps),style:z,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":k||void 0,"data-drop-target":C||void 0,"data-focused":$||void 0,"data-focus-visible":T||void 0},o.createElement(d,{collection:n,scrollRef:(V=r==null?void 0:r.scrollRef)!==null&&V!==void 0?V:t,persistedKeys:Pl(p,c,E)}))),B)}function Me(e){let{isVirtualized:t}=o.useContext($e);return t?"div":e}const _5=o.createContext(null);function O5(){return o.useContext(_5)}const Rx=Oi("tableheader",(e,t)=>{let u=o.useContext(Bt).collection,n=Li({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(Ix,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),r=Me("thead"),{rowGroupProps:a}=fm(),{hoverProps:i,isHovered:l}=De({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=H({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(r,{...N(_(e),a,i),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(ct,{dependencies:e.dependencies,items:e.columns},e.children));function Ix({item:e}){let t=o.useRef(null),u=o.useContext(Bt),{isVirtualized:n,CollectionBranch:r}=o.useContext($e),{rowProps:a}=sy({node:e,isVirtualized:n},u,t),{checkboxProps:i}=py(u),l=Me("tr");return o.createElement(l,{...a,ref:t},o.createElement(te,{values:[[Lr,{slots:{selection:i}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const Kx=jt("column",(e,t,u)=>{var n,r;let a=ge(t),i=o.useContext(Bt),{isVirtualized:l}=o.useContext($e),{columnHeaderProps:s}=ly({node:u,isVirtualized:l},i,a),{isFocused:d,isFocusVisible:c,focusProps:f}=oe(),p=o.useContext(L5),m=!1;if(p)m=p.resizingColumn===u.key;else for(let y in["width","defaultWidth","minWidth","maxWidth"])y in u.props&&console.warn(`The ${y} 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:h}=De({isDisabled:!e.allowsSorting}),D=H({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Column",values:{isHovered:h,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:y=>{i.sort(u.key,y)}}}),v=D.style;p&&(v={...v,width:p.getColumnWidth(u.key)});let E=Me("th");return o.createElement(E,{...N(_(e),s,f,b),...D,style:v,colSpan:u.colspan,ref:a,"data-hovered":h||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(te,{values:[[Mx,{column:u,triggerRef:a}],[$e,en]]},D.children))}),Mx=o.createContext(null),zx=Oi("tablebody",(e,t)=>{let u=o.useContext(Bt),{isVirtualized:n}=o.useContext($e),r=u.collection,{CollectionBranch:a}=o.useContext($e),{dragAndDropHooks:i,dropState:l}=o.useContext(Ue),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=H({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,b=Me("tr"),h=Me("td"),D=r.columnCount;if(r.size===0&&e.renderEmptyState&&u){let y={},C={},B={};n?(y["aria-rowindex"]=r.headerRows.length+1,C["aria-colspan"]=D,B={display:"contents"}):C.colSpan=D,m=o.createElement(b,{role:"row",...y,style:B},o.createElement(h,{role:"rowheader",...C,style:B},e.renderEmptyState(f)))}let{rowGroupProps:v}=fm(),E=Me("tbody");return o.createElement(E,{...N(_(e),v),...p,ref:t,"data-empty":r.size===0||void 0},s&&o.createElement(Ox,null),o.createElement(a,{collection:r,parent:r.body,renderDropIndicator:ca(i,l)}),m)}),Vx=Oi("item",(e,t,u)=>{let n=ge(t),r=o.useContext(Bt),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(Ue),{isVirtualized:s,CollectionBranch:d}=o.useContext($e),{rowProps:c,...f}=oy({node:u,shouldSelectOnPressUp:!!i,isVirtualized:s},r,n),{isFocused:p,isFocusVisible:m,focusProps:b}=oe(),{isFocusVisible:h,focusProps:D}=oe({within:!0}),{hoverProps:v,isHovered:E}=De({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:y}=fy({key:u.key},r),C;i&&a&&(C=a.useDraggableItem({key:u.key,hasDragButton:!0},i));let B,S=o.useRef(null),{visuallyHiddenProps:R}=ou();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,S));let $=o.useRef(null);o.useEffect(()=>{i&&!$.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 T=i&&i.isDragging(u.key),{children:A,...k}=e,z=H({...k,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:E,isFocused:p,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:T,isDropTarget:B==null?void 0:B.isDropTarget,isFocusVisibleWithin:h}}),x=Me("tr"),w=Me("td");return o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement(x,{role:"row",style:{height:0}},o.createElement(w,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...R,...B.dropIndicatorProps,ref:S}))),o.createElement(x,{...N(_(e),c,b,v,C==null?void 0:C.dragProps,D),...z,ref:n,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":E||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":T||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":h||void 0},o.createElement(te,{values:[[Lr,{slots:{[ht]:{},selection:y}}],[Ze,{slots:{[ht]:{},drag:{...C==null?void 0:C.dragButtonProps,ref:$,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(ct,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),Nx=jt("cell",(e,t,u)=>{let n=ge(t),r=o.useContext(Bt),{dragState:a}=o.useContext(Ue),{isVirtualized:i}=o.useContext($e);u.column=r.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=dy({node:u,shouldSelectOnPressUp:!!a,isVirtualized:i},r,n),{isFocused:d,isFocusVisible:c,focusProps:f}=oe(),{hoverProps:p,isHovered:m}=De({}),b=H({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:m}}),h=Me("td");return o.createElement(h,{...N(_(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($e.Provider,{value:en},b.children))});function jx(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(Ue),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(_x,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function Lx(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,i=o.useContext(Bt),{visuallyHiddenProps:l}=ou(),s=H({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=Me("tr"),c=Me("td");return o.createElement(d,{..._(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 _x=o.forwardRef(Lx);function Ox(){let e=o.useContext(Bt),{dragAndDropHooks:t,dropState:u}=o.useContext(Ue),n=o.useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},u,n),a=u.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=ou(),l=Me("tr"),s=Me("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})))}jt("loader",function(t,u,n){let r=o.useContext(Bt),{isVirtualized:a}=o.useContext($e),i=r.collection.columns.length,l=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),s=Me("tr"),d=Me("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,...N(_(t),c),...l},o.createElement(d,{role:"rowheader",...f,style:p},l.children)))});const ma=o.createContext(null),Qu=o.createContext(null),Hx=o.forwardRef(function(t,u){[t,u]=Y(t,u,ma);let{children:n,orientation:r="horizontal"}=t;return n=o.useMemo(()=>typeof n=="function"?n({orientation:r,defaultChildren:null}):n,[n,r]),o.createElement(Nt,{content:n},a=>o.createElement(Ux,{props:t,collection:a,tabsRef:u}))});function Ux({props:e,tabsRef:t,collection:u}){let{orientation:n="horizontal"}=e,r=iv({...e,collection:u,children:void 0}),{focusProps:a,isFocused:i,isFocusVisible:l}=oe({within:!0}),s=o.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:l}),[n,i,l]),d=H({...e,defaultClassName:"react-aria-Tabs",values:s});return o.createElement("div",{..._(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(te,{values:[[ma,e],[Qu,r]]},d.children))}const Wx=o.forwardRef(function(t,u){return o.useContext(Qu)?o.createElement(Gx,{props:t,forwardedRef:u}):o.createElement(ct,t)});function Gx({props:e,forwardedRef:t}){let u=o.useContext(Qu),{CollectionRoot:n}=o.useContext($e),{orientation:r="horizontal",keyboardActivation:a="automatic"}=Le(ma),i=ge(t),{tabListProps:l}=$y({...e,orientation:r,keyboardActivation:a},u,i),s=H({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:r,state:u}}),d=_(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:El(u.selectionManager.focusedKey)}))}const Zx=jt("item",(e,t,u)=>{let n=o.useContext(Qu),r=ge(t),{tabProps:a,isSelected:i,isDisabled:l,isPressed:s}=my({key:u.key,...e},n,r),{focusProps:d,isFocused:c,isFocusVisible:f}=oe(),{hoverProps:p,isHovered:m}=De({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),b=H({...e,id:void 0,defaultClassName:"react-aria-Tab",values:{isSelected:i,isDisabled:l,isFocused:c,isFocusVisible:f,isPressed:s,isHovered:m}}),h=u.props.href?"a":"div";return o.createElement(h,{...N(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})}),qx=Wr(function(t,u){const n=o.useContext(Qu);let r=ge(u),{tabPanelProps:a}=by(t,n,r),{focusProps:i,isFocused:l,isFocusVisible:s}=oe(),d=n.selectedKey===t.id,c=H({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,isFocusVisible:s,isInert:!d,state:n}});if(!d&&!t.shouldForceMount)return null;let f=_(t);delete f.id;let p=d?N(f,a,i,c):c;return o.createElement("div",{...p,ref:r,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:d?void 0:"true","data-inert":d?void 0:"true"},o.createElement(te,{values:[[ma,null],[Qu,null]]},o.createElement($e.Provider,{value:en},c.children)))}),Yx=o.createContext(null),H5=o.createContext(null),Jx=o.forwardRef(function(t,u){return[t,u]=Y(t,u,Yx),o.createElement(Nt,{content:t.children},n=>o.createElement(Qx,{props:t,forwardedRef:u,collection:n}))});function Qx({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[r,a]=xt(),i=aa({...e,children:void 0,collection:u}),l=_(e),s=Object.fromEntries(Object.entries(l).map(([b])=>[b,void 0])),{gridProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p}=gy({...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(te,{values:[[Lt,{...c,elementType:"span",ref:r}],[H5,{...d,ref:n}],[Ge,i],[Ve,{slots:{description:f,errorMessage:p}}]]},e.children))}const Xx=o.forwardRef(function(t,u){return o.useContext(Ge)?o.createElement(e7,{props:t,forwardedRef:u}):o.createElement(ct,t)});function e7({props:e,forwardedRef:t}){let u=o.useContext(Ge),{CollectionRoot:n}=o.useContext($e),[r,a]=Y(e,t,H5);delete r.items,delete r.renderEmptyState;let{focusProps:i,isFocused:l,isFocusVisible:s}=oe(),d={isEmpty:u.collection.size===0,isFocused:l,isFocusVisible:s,state:u},c=H({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:d}),f=El(u.selectionManager.focusedKey);return o.createElement("div",{...N(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 t7=jt("item",(e,t,u)=>{let n=o.useContext(Ge),r=ge(t),{focusProps:a,isFocusVisible:i}=oe({within:!0}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=yy({item:u},n,r),{hoverProps:f,isHovered:p}=De({isDisabled:!c.allowsSelection,onHoverStart:u.props.onHoverStart,onHoverChange:u.props.onHoverChange,onHoverEnd:u.props.onHoverEnd}),m=H({...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,...N(_(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(te,{values:[[Ze,{slots:{remove:d}}],[$e,en]]},m.children)))}),Kl=o.createContext(null),U5=o.createContext(null);function u7(e){let t=jb(e),u=o.useRef(null),{triggerProps:n,tooltipProps:r}=xy(e,t,u);return o.createElement(te,{values:[[Kl,t],[U5,{...r,triggerRef:u}]]},o.createElement(Kg,{...n,ref:u},e.children))}const n7=o.forwardRef(function({UNSTABLE_portalContainer:t,...u},n){[u,n]=Y(u,n,U5);let r=o.useContext(Kl),a=jb(u),i=u.isOpen!=null||u.defaultOpen!=null||!r?a:r,l=ks(n,i.isOpen)||u.isExiting||!1;return!i.isOpen&&!l?null:o.createElement(_D,{portalContainer:t},o.createElement(r7,{...u,tooltipRef:n,isExiting:l}))});function r7(e){let t=o.useContext(Kl),u=o.useRef(null),[n,r]=o.useState(0);q(()=>{u.current&&t.isOpen&&r(u.current.getBoundingClientRect().width)},[t.isOpen,u]);let{overlayProps:a,arrowProps:i,placement:l}=m3({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=Bs(e.tooltipRef,!!l)||e.isEntering||!1,d=H({...e,defaultClassName:"react-aria-Tooltip",values:{placement:l,isEntering:s,isExiting:e.isExiting,state:t}});e=N(e,a);let{tooltipProps:c}=vy(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(Sl.Provider,{value:{...i,placement:l,ref:u}},d.children))}const a7=({variant:e="uncontained",type:t="single",children:u,className:n,...r})=>g.jsx(nx,{allowsMultipleExpanded:t==="multiple",className:W(Xe.root,e==="contained"?Xe.contained:Xe.uncontained,n),...r,children:u}),i7='"../theme/tokens.css"',l7="#143c50",o7="#25607f",s7="#4289ad",d7='"Inter", sans-serif',c7="1rem",f7="500",p7="#ffffff",m7="#bfbfbf",b7="#f2f2f2",h7="#e6e6e6",$7="#000000",g7="undefined",D7="(max-width: 767px)",y7="0 0 0 2px #ffffff, 0 0 0 4px #000000",v7="#e62323",x7="#b31b1b",C7="#801313",E7="_button_ujxfi_4",B7="_primary_ujxfi_41",k7="_secondary_ujxfi_47",P7="_tertiary_ujxfi_71",S7="_iconBtn_ujxfi_93",A7="_danger_ujxfi_114",w7="_iconRight_ujxfi_136",F7="_fullwidth_ujxfi_140",T7="_small_ujxfi_144",At={tokens:i7,blue150:l7,blue130:o7,blue90:s7,display:d7,desktopSize:c7,mediumWeight:f7,white:p7,gray50:m7,gray10:b7,gray20:h7,black:$7,medium:g7,smBreakpoint:D7,focus:y7,signalRed100:v7,signalRed130:x7,signalRed150:C7,button:E7,primary:B7,secondary:k7,tertiary:P7,iconBtn:S7,danger:A7,iconRight:w7,fullwidth:F7,small:T7},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 g.jsx(dt,{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:g.jsxs(g.Fragment,{children:[a&&g.jsx(a,{"aria-hidden":!0,size:s}),l.children]})})},R7='"../theme/tokens.css"',I7="(max-width: 767px)",K7="_buttonGroup_5pd8y_4",M7={tokens:R7,smBreakpoint:I7,buttonGroup:K7},z7=({children:e,className:t,"aria-label":u,...n})=>g.jsx("div",{role:"group","aria-label":u,className:W(M7.buttonGroup,t),...n,children:e});/**
|
|
17
|
+
*/var Zl;function dg(){return Zl||(Zl=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||a.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 $=b();if(!f){var g=b();r($,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}g=i({inst:{value:$,getSnapshot:b}});var y=g[0].inst,x=g[1];return s(function(){y.value=$,y.getSnapshot=b,u(y)&&x({inst:y})},[m,$,b]),l(function(){return u(y)&&x({inst:y}),m(function(){u(y)&&x({inst:y})})},[m]),d($),$}function u(m){var b=m.getSnapshot;m=m.value;try{var $=b();return!r(m,$)}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 a=o,r=typeof Object.is=="function"?Object.is:e,i=a.useState,l=a.useEffect,s=a.useLayoutEffect,d=a.useDebugValue,c=!1,f=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;xr.useSyncExternalStore=a.useSyncExternalStore!==void 0?a.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),xr}process.env.NODE_ENV==="production"?ei.exports=sg():ei.exports=dg();var Oi=ei.exports;const Fs=o.createContext(!1),Cn=o.createContext(null);function ku(e){if(o.useContext(Cn))return e.content;let{collection:u,document:n}=mg(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(lg,null,o.createElement(Cn.Provider,{value:n},e.content)),o.createElement(cg,{render:e.children,collection:u}))}function cg({collection:e,render:t}){return t(e)}function fg(e,t,u){let n=Kt(),a=o.useRef(n);a.current=n;let r=o.useCallback(()=>a.current?u():t(),[t,u]);return Oi.useSyncExternalStore(e,r)}const pg=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:fg;function mg(e){let[t]=o.useState(()=>new rg((e==null?void 0:e())||new Wa)),u=o.useCallback(i=>t.subscribe(i),[t]),n=o.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),a=o.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]),r=pg(u,n,a);return q(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:r,document:t}}const ti=o.createContext(null);function Ts(e,t,u,n,a,r){let i=o.useCallback(s=>{s==null||s.setProps(t,u,n,r)},[t,u,n,r]),l=o.useContext(ti);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e),s.setProps(t,u,n,r),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),a?o.createElement(ti.Provider,{value:s},a):null}return o.createElement(e,{ref:i},a)}function nu(e,t){let u=({node:a})=>t(a.props,a.props.ref,a),n=o.forwardRef((a,r)=>{if(!o.useContext(Fs)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(a,r)}return Ts(e,a,r,"children"in a?a.children:null,null,l=>o.createElement(u,{node:l}))});return n.displayName=t.name,n}function Hi(e,t,u=Rs){let n=({node:r})=>t(r.props,r.props.ref,r),a=o.forwardRef((r,i)=>{let l=u(r);var s;return(s=Ts(e,r,i,null,l,d=>o.createElement(n,{node:d})))!==null&&s!==void 0?s:o.createElement(o.Fragment,null)});return a.displayName=t.name,a}function Rs(e){return Li({...e,addIdAndValue:!0})}const Gl=o.createContext(null);function gt(e){let t=o.useContext(Gl),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),a=Rs({...e,idScope:n,dependencies:u});return o.useContext(Cn)&&(a=o.createElement(bg,null,a)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(Gl.Provider,{value:t},a)}function bg({children:e}){let t=o.useContext(Cn),u=o.useMemo(()=>o.createElement(Cn.Provider,{value:null},o.createElement(Fs.Provider,{value:!0},e)),[e]);return Kt()?o.createElement(ti.Provider,{value:t},u):uu.createPortal(u,t)}const zt=o.createContext({}),Ga=Za(function(t,u){[t,u]=Q(t,u,zt);let{elementType:n="label",...a}=t;return o.createElement(n,{className:"react-aria-Label",...a,ref:u})});let Vu="default",ui="",da=new WeakMap;function ql(e){if(Rn()){if(Vu==="default"){const t=pe(e);ui=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Vu="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(da.set(e,e.style.userSelect),e.style.userSelect="none")}function Gn(e){if(Rn()){if(Vu!=="disabled")return;Vu="restoring",setTimeout(()=>{Cs(()=>{if(Vu==="restoring"){const t=pe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ui||""),ui="",Vu="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&da.has(e)){let t=da.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),da.delete(e)}}const En=o.createContext({register:()=>{}});En.displayName="PressResponderContext";function hg(e,t){return t.get?t.get.call(e):t.value}function Is(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function $g(e,t){var u=Is(e,t,"get");return hg(e,u)}function gg(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Kn(e,t,u){gg(e,t),t.set(e,u)}function Dg(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 Yl(e,t,u){var n=Is(e,t,"set");return Dg(e,n,u),u}function yg(e){let t=o.useContext(En);if(t){let{register:u,...n}=t;e=V(n,e),u()}return ji(t,e.ref),e}var qn=new WeakMap;class Yn{continuePropagation(){Yl(this,qn,!1)}get shouldStopPropagation(){return $g(this,qn)}constructor(t,u,n,a){Kn(this,qn,{writable:!0,value:void 0}),Yl(this,qn,!0);var r;let i=(r=a==null?void 0:a.target)!==null&&r!==void 0?r: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 Jl=Symbol("linkClicked");function We(e){let{onPress:t,onPressChange:u,onPressStart:n,onPressEnd:a,onPressUp:r,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=yg(e),[m,b]=o.useState(!1),$=o.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:g,removeAllGlobalListeners:y}=_i(),x=ie((D,R)=>{let A=$.current;if(i||A.didFirePressStart)return!1;let k=!0;if(A.isTriggeringEvent=!0,n){let z=new Yn("pressstart",R,D);n(z),k=z.shouldStopPropagation}return u&&u(!0),A.isTriggeringEvent=!1,A.didFirePressStart=!0,b(!0),k}),v=ie((D,R,A=!0)=>{let k=$.current;if(!k.didFirePressStart)return!1;k.ignoreClickAfterPress=!0,k.didFirePressStart=!1,k.isTriggeringEvent=!0;let z=!0;if(a){let C=new Yn("pressend",R,D);a(C),z=C.shouldStopPropagation}if(u&&u(!1),b(!1),t&&A&&!i){let C=new Yn("press",R,D);t(C),z&&(z=C.shouldStopPropagation)}return k.isTriggeringEvent=!1,z}),E=ie((D,R)=>{let A=$.current;if(i)return!1;if(r){A.isTriggeringEvent=!0;let k=new Yn("pressup",R,D);return r(k),A.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),B=ie(D=>{let R=$.current;R.isPressed&&R.target&&(R.isOverTarget&&R.pointerType!=null&&v(xt(R.target,D),R.pointerType,!1),R.isPressed=!1,R.isOverTarget=!1,R.activePointerId=null,R.pointerType=null,y(),c||Gn(R.target))}),S=ie(D=>{d&&B(D)}),I=o.useMemo(()=>{let D=$.current,R={onKeyDown(k){if(Cr(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)){var z;Xl(k.target,k.key)&&k.preventDefault();let C=!0;if(!D.isPressed&&!k.repeat){D.target=k.currentTarget,D.isPressed=!0,C=x(k,"keyboard");let w=k.currentTarget,N=F=>{Cr(F,w)&&!F.repeat&&w.contains(F.target)&&D.target&&E(xt(D.target,F),"keyboard")};g(pe(k.currentTarget),"keyup",nt(N,A),!0)}C&&k.stopPropagation(),k.metaKey&&pt()&&((z=D.metaKeyEvents)===null||z===void 0||z.set(k.key,k.nativeEvent))}else k.key==="Meta"&&(D.metaKeyEvents=new Map)},onClick(k){if(!(k&&!k.currentTarget.contains(k.target))&&k&&k.button===0&&!D.isTriggeringEvent&&!Jt.isOpening){let z=!0;if(i&&k.preventDefault(),!D.ignoreClickAfterPress&&!D.ignoreEmulatedMouseEvents&&!D.isPressed&&(D.pointerType==="virtual"||Qr(k.nativeEvent))){!i&&!s&&Le(k.currentTarget);let C=x(k,"virtual"),w=E(k,"virtual"),N=v(k,"virtual");z=C&&w&&N}D.ignoreEmulatedMouseEvents=!1,D.ignoreClickAfterPress=!1,z&&k.stopPropagation()}}},A=k=>{var z;if(D.isPressed&&D.target&&Cr(k,D.target)){var C;Xl(k.target,k.key)&&k.preventDefault();let N=k.target;v(xt(D.target,k),"keyboard",D.target.contains(N)),y(),k.key!=="Enter"&&Ui(D.target)&&D.target.contains(N)&&!k[Jl]&&(k[Jl]=!0,Jt(D.target,k,!1)),D.isPressed=!1,(C=D.metaKeyEvents)===null||C===void 0||C.delete(k.key)}else if(k.key==="Meta"&&(!((z=D.metaKeyEvents)===null||z===void 0)&&z.size)){var w;let N=D.metaKeyEvents;D.metaKeyEvents=void 0;for(let F of N.values())(w=D.target)===null||w===void 0||w.dispatchEvent(new KeyboardEvent("keyup",F))}};if(typeof PointerEvent<"u"){R.onPointerDown=w=>{if(w.button!==0||!w.currentTarget.contains(w.target))return;if(ug(w.nativeEvent)){D.pointerType="virtual";return}Br(w.currentTarget)&&w.preventDefault(),D.pointerType=w.pointerType;let N=!0;if(!D.isPressed){D.isPressed=!0,D.isOverTarget=!0,D.activePointerId=w.pointerId,D.target=w.currentTarget,!i&&!s&&Le(w.currentTarget),c||ql(D.target),N=x(w,D.pointerType);let F=w.target;"releasePointerCapture"in F&&F.releasePointerCapture(w.pointerId),g(pe(w.currentTarget),"pointerup",k,!1),g(pe(w.currentTarget),"pointercancel",C,!1)}N&&w.stopPropagation()},R.onMouseDown=w=>{w.currentTarget.contains(w.target)&&w.button===0&&(Br(w.currentTarget)&&w.preventDefault(),w.stopPropagation())},R.onPointerUp=w=>{!w.currentTarget.contains(w.target)||D.pointerType==="virtual"||w.button===0&&E(w,D.pointerType||w.pointerType)},R.onPointerEnter=w=>{w.pointerId===D.activePointerId&&D.target&&!D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!0,x(xt(D.target,w),D.pointerType))},R.onPointerLeave=w=>{w.pointerId===D.activePointerId&&D.target&&D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!1,v(xt(D.target,w),D.pointerType,!1),S(w))};let k=w=>{w.pointerId===D.activePointerId&&D.isPressed&&w.button===0&&D.target&&(D.target.contains(w.target)&&D.pointerType!=null?v(xt(D.target,w),D.pointerType):D.isOverTarget&&D.pointerType!=null&&v(xt(D.target,w),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,y(),c||Gn(D.target),"ontouchend"in D.target&&w.pointerType!=="mouse"&&g(D.target,"touchend",z,{once:!0}))},z=w=>{Ks(w.currentTarget)&&w.preventDefault()},C=w=>{B(w)};R.onDragStart=w=>{w.currentTarget.contains(w.target)&&B(w)}}else{R.onMouseDown=C=>{if(C.button!==0||!C.currentTarget.contains(C.target))return;if(Br(C.currentTarget)&&C.preventDefault(),D.ignoreEmulatedMouseEvents){C.stopPropagation();return}D.isPressed=!0,D.isOverTarget=!0,D.target=C.currentTarget,D.pointerType=Qr(C.nativeEvent)?"virtual":"mouse",!i&&!s&&Le(C.currentTarget),x(C,D.pointerType)&&C.stopPropagation(),g(pe(C.currentTarget),"mouseup",k,!1)},R.onMouseEnter=C=>{if(!C.currentTarget.contains(C.target))return;let w=!0;D.isPressed&&!D.ignoreEmulatedMouseEvents&&D.pointerType!=null&&(D.isOverTarget=!0,w=x(C,D.pointerType)),w&&C.stopPropagation()},R.onMouseLeave=C=>{if(!C.currentTarget.contains(C.target))return;let w=!0;D.isPressed&&!D.ignoreEmulatedMouseEvents&&D.pointerType!=null&&(D.isOverTarget=!1,w=v(C,D.pointerType,!1),S(C)),w&&C.stopPropagation()},R.onMouseUp=C=>{C.currentTarget.contains(C.target)&&!D.ignoreEmulatedMouseEvents&&C.button===0&&E(C,D.pointerType||"mouse")};let k=C=>{if(C.button===0){if(D.isPressed=!1,y(),D.ignoreEmulatedMouseEvents){D.ignoreEmulatedMouseEvents=!1;return}D.target&&Er(C,D.target)&&D.pointerType!=null?v(xt(D.target,C),D.pointerType):D.target&&D.isOverTarget&&D.pointerType!=null&&v(xt(D.target,C),D.pointerType,!1),D.isOverTarget=!1}};R.onTouchStart=C=>{if(!C.currentTarget.contains(C.target))return;let w=vg(C.nativeEvent);if(!w)return;D.activePointerId=w.identifier,D.ignoreEmulatedMouseEvents=!0,D.isOverTarget=!0,D.isPressed=!0,D.target=C.currentTarget,D.pointerType="touch",!i&&!s&&Le(C.currentTarget),c||ql(D.target),x(Lt(D.target,C),D.pointerType)&&C.stopPropagation(),g(et(C.currentTarget),"scroll",z,!0)},R.onTouchMove=C=>{if(!C.currentTarget.contains(C.target))return;if(!D.isPressed){C.stopPropagation();return}let w=Ql(C.nativeEvent,D.activePointerId),N=!0;w&&Er(w,C.currentTarget)?!D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!0,N=x(Lt(D.target,C),D.pointerType)):D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!1,N=v(Lt(D.target,C),D.pointerType,!1),S(Lt(D.target,C))),N&&C.stopPropagation()},R.onTouchEnd=C=>{if(!C.currentTarget.contains(C.target))return;if(!D.isPressed){C.stopPropagation();return}let w=Ql(C.nativeEvent,D.activePointerId),N=!0;w&&Er(w,C.currentTarget)&&D.pointerType!=null?(E(Lt(D.target,C),D.pointerType),N=v(Lt(D.target,C),D.pointerType)):D.isOverTarget&&D.pointerType!=null&&(N=v(Lt(D.target,C),D.pointerType,!1)),N&&C.stopPropagation(),D.isPressed=!1,D.activePointerId=null,D.isOverTarget=!1,D.ignoreEmulatedMouseEvents=!0,D.target&&!c&&Gn(D.target),y()},R.onTouchCancel=C=>{C.currentTarget.contains(C.target)&&(C.stopPropagation(),D.isPressed&&B(Lt(D.target,C)))};let z=C=>{D.isPressed&&C.target.contains(D.target)&&B({currentTarget:D.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};R.onDragStart=C=>{C.currentTarget.contains(C.target)&&B(C)}}return R},[g,i,s,y,c,B,S,v,x,E]);return o.useEffect(()=>()=>{var D;c||Gn((D=$.current.target)!==null&&D!==void 0?D:void 0)},[c]),{isPressed:l||m,pressProps:V(p,I)}}function Ui(e){return e.tagName==="A"&&e.hasAttribute("href")}function Cr(e,t){const{key:u,code:n}=e,a=t,r=a.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||n==="Space")&&!(a instanceof et(a).HTMLInputElement&&!Ms(a,u)||a instanceof et(a).HTMLTextAreaElement||a.isContentEditable)&&!((r==="link"||!r&&Ui(a))&&u!=="Enter")}function vg(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Ql(e,t){const u=e.changedTouches;for(let n=0;n<u.length;n++){const a=u[n];if(a.identifier===t)return a}return null}function Lt(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 xt(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 xg(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 Cg(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Er(e,t){let u=t.getBoundingClientRect(),n=xg(e);return Cg(u,n)}function Br(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Ks(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Ui(e)}function Xl(e,t){return e instanceof HTMLInputElement?!Ms(e,t):Ks(e)}const Eg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ms(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Eg.has(e.type)}const zs=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),a=o.useContext(En);u=De(u||(a==null?void 0:a.ref));let r=V(a||{},{...t,ref:u,register(){n.current=!0,a&&a.register()}});return ji(a,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(En.Provider,{value:r},e)});function Bg({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(En.Provider,{value:t},e)}class kg{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 Vs(e){let t=o.useRef({isFocused:!1,observer:null});q(()=>{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 a=n.target,r=i=>{t.current.isFocused=!1,a.disabled&&u(new kg("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",r,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[u])}function qa(e){let{isDisabled:t,onFocus:u,onBlur:n,onFocusChange:a}=e;const r=o.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),a&&a(!1),!0},[n,a]),i=Vs(r),l=o.useCallback(s=>{const d=pe(s.target);s.target===s.currentTarget&&d.activeElement===s.target&&(u&&u(s),a&&a(!0),i(s))},[a,u,i]);return{focusProps:{onFocus:!t&&(u||a||n)?l:void 0,onBlur:!t&&(n||a)?r:void 0}}}let It=null,Bn=new Set,bn=new Map,vu=!1,ni=!1;const Pg={Tab:!0,Escape:!0};function Ya(e,t){for(let u of Bn)u(e,t)}function Sg(e){return!(e.metaKey||!pt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function $a(e){vu=!0,Sg(e)&&(It="keyboard",Ya("keyboard",e))}function Xe(e){It="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(vu=!0,Ya("pointer",e))}function Ns(e){Qr(e)&&(vu=!0,It="virtual")}function _s(e){e.target===window||e.target===document||(!vu&&!ni&&(It="virtual",Ya("virtual",e)),vu=!1,ni=!1)}function js(){vu=!1,ni=!0}function ga(e){if(typeof window>"u"||bn.get(et(e)))return;const t=et(e),u=pe(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){vu=!0,n.apply(this,arguments)},u.addEventListener("keydown",$a,!0),u.addEventListener("keyup",$a,!0),u.addEventListener("click",Ns,!0),t.addEventListener("focus",_s,!0),t.addEventListener("blur",js,!1),typeof PointerEvent<"u"?(u.addEventListener("pointerdown",Xe,!0),u.addEventListener("pointermove",Xe,!0),u.addEventListener("pointerup",Xe,!0)):(u.addEventListener("mousedown",Xe,!0),u.addEventListener("mousemove",Xe,!0),u.addEventListener("mouseup",Xe,!0)),t.addEventListener("beforeunload",()=>{Ls(e)},{once:!0}),bn.set(t,{focus:n})}const Ls=(e,t)=>{const u=et(e),n=pe(e);t&&n.removeEventListener("DOMContentLoaded",t),bn.has(u)&&(u.HTMLElement.prototype.focus=bn.get(u).focus,n.removeEventListener("keydown",$a,!0),n.removeEventListener("keyup",$a,!0),n.removeEventListener("click",Ns,!0),u.removeEventListener("focus",_s,!0),u.removeEventListener("blur",js,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",Xe,!0),n.removeEventListener("pointermove",Xe,!0),n.removeEventListener("pointerup",Xe,!0)):(n.removeEventListener("mousedown",Xe,!0),n.removeEventListener("mousemove",Xe,!0),n.removeEventListener("mouseup",Xe,!0)),bn.delete(u))};function Ag(e){const t=pe(e);let u;return t.readyState!=="loading"?ga(e):(u=()=>{ga(e)},t.addEventListener("DOMContentLoaded",u)),()=>Ls(e,u)}typeof document<"u"&&Ag();function Qt(){return It!=="pointer"}function Xt(){return It}function Os(e){It=e,Ya(e,null)}function Wi(){ga();let[e,t]=o.useState(It);return o.useEffect(()=>{let u=()=>{t(It)};return Bn.add(u),()=>{Bn.delete(u)}},[]),Kt()?null:e}const wg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Fg(e,t,u){var n;const a=typeof window<"u"?et(u==null?void 0:u.target).HTMLInputElement:HTMLInputElement,r=typeof window<"u"?et(u==null?void 0:u.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?et(u==null?void 0:u.target).HTMLElement:HTMLElement,l=typeof window<"u"?et(u==null?void 0:u.target).KeyboardEvent:KeyboardEvent;return e=e||(u==null?void 0:u.target)instanceof a&&!wg.has(u==null||(n=u.target)===null||n===void 0?void 0:n.type)||(u==null?void 0:u.target)instanceof r||(u==null?void 0:u.target)instanceof i&&(u==null?void 0:u.target.isContentEditable),!(e&&t==="keyboard"&&u instanceof l&&!Pg[u.key])}function Tg(e,t,u){ga(),o.useEffect(()=>{let n=(a,r)=>{Fg(!!(u!=null&&u.isTextInput),a,r)&&e(Qt())};return Bn.add(n),()=>{Bn.delete(n)}},t)}function ot(e){let{isDisabled:t,onBlurWithin:u,onFocusWithin:n,onFocusWithinChange:a}=e,r=o.useRef({isFocusWithin:!1}),i=o.useCallback(d=>{r.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(r.current.isFocusWithin=!1,u&&u(d),a&&a(!1))},[u,a,r]),l=Vs(i),s=o.useCallback(d=>{!r.current.isFocusWithin&&document.activeElement===d.target&&(n&&n(d),a&&a(!0),r.current.isFocusWithin=!0,l(d))},[n,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:i}}}let Da=!1,kr=0;function ai(){Da=!0,setTimeout(()=>{Da=!1},50)}function eo(e){e.pointerType==="touch"&&ai()}function Rg(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",eo):document.addEventListener("touchend",ai),kr++,()=>{kr--,!(kr>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",eo):document.removeEventListener("touchend",ai))}}function ye(e){let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,isDisabled:a}=e,[r,i]=o.useState(!1),l=o.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;o.useEffect(Rg,[]);let{hoverProps:s,triggerHoverEnd:d}=o.useMemo(()=>{let c=(m,b)=>{if(l.pointerType=b,a||b==="touch"||l.isHovered||!m.currentTarget.contains(m.target))return;l.isHovered=!0;let $=m.currentTarget;l.target=$,t&&t({type:"hoverstart",target:$,pointerType:b}),u&&u(!0),i(!0)},f=(m,b)=>{if(l.pointerType="",l.target=null,b==="touch"||!l.isHovered)return;l.isHovered=!1;let $=m.currentTarget;n&&n({type:"hoverend",target:$,pointerType:b}),u&&u(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{Da&&m.pointerType==="mouse"||c(m,m.pointerType)},p.onPointerLeave=m=>{!a&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!l.ignoreEmulatedMouseEvents&&!Da&&c(m,"mouse"),l.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!a&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,u,n,a,l]);return o.useEffect(()=>{a&&d({currentTarget:l.target},l.pointerType)},[a]),{hoverProps:s,isHovered:r}}function Ig(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:a}=e,r=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ie(s=>{u&&Jn(s,t)&&(a&&a(s),r.current.isPointerDown=!0)}),l=ie(s=>{u&&u(s)});o.useEffect(()=>{let s=r.current;if(n)return;const d=t.current,c=pe(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&Jn(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&&Jn(m,t)&&l(m),s.isPointerDown=!1},p=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Jn(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 Jn(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&&!t.current.contains(e.target)}function to(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 Hs(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:to(e.onKeyDown),onKeyUp:to(e.onKeyUp)}}}const Kg=500;function Us(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:a,threshold:r=Kg,accessibilityDescription:i}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=_i(),{pressProps:c}=We({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})),a&&a({...p,type:"longpress"}),l.current=void 0},r),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=ht(a&&!t?i:void 0);return{longPressProps:V(c,f)}}function xe(e){const t=pe(e);if(Xt()==="virtual"){let u=t.activeElement;Cs(()=>{t.activeElement===u&&e.isConnected&&Le(e)})}else Le(e)}function Mg(e){const t=et(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:u,visibility:n}=e.style,a=u!=="none"&&n!=="hidden"&&n!=="collapse";if(a){const{getComputedStyle:r}=e.ownerDocument.defaultView;let{display:i,visibility:l}=r(e);a=i!=="none"&&l!=="hidden"&&l!=="collapse"}return a}function zg(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 Ws(e,t){return e.nodeName!=="#comment"&&Mg(e)&&zg(e,t)&&(!e.parentElement||Ws(e.parentElement,e))}const uo=o.createContext(null),ri="react-aria-focus-scope-restore";let fe=null;function Mn(e){let{children:t,contain:u,restoreFocus:n,autoFocus:a}=e,r=o.useRef(null),i=o.useRef(null),l=o.useRef([]),{parentNode:s}=o.useContext(uo)||{},d=o.useMemo(()=>new li({scopeRef:l}),[l]);q(()=>{let p=s||ke.root;if(ke.getTreeNode(p.scopeRef)&&fe&&!ya(fe,p.scopeRef)){let m=ke.getTreeNode(fe);m&&(p=m)}p.addChild(d),ke.addNode(d)},[d,s]),q(()=>{let p=ke.getTreeNode(l);p&&(p.contain=!!u)},[u]),q(()=>{var p;let m=(p=r.current)===null||p===void 0?void 0:p.nextSibling,b=[],$=g=>g.stopPropagation();for(;m&&m!==i.current;)b.push(m),m.addEventListener(ri,$),m=m.nextSibling;return l.current=b,()=>{for(let g of b)g.removeEventListener(ri,$)}},[t]),Hg(l,n,u),jg(l,u),Ug(l,n,u),Og(l,a),o.useEffect(()=>{const p=pe(l.current?l.current[0]:void 0).activeElement;let m=null;if(at(p,l.current)){for(let b of ke.traverse())b.scopeRef&&at(p,b.scopeRef.current)&&(m=b);m===ke.getTreeNode(l)&&(fe=m.scopeRef)}},[l]),q(()=>()=>{var p,m,b;let $=(b=(m=ke.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&b!==void 0?b:null;(l===fe||ya(l,fe))&&(!$||ke.getTreeNode($))&&(fe=$),ke.removeTreeNode(l)},[l]);let c=o.useMemo(()=>Vg(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(uo.Provider,{value:f},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:r}),t,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Vg(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:a,wrap:r,accept:i}=t,l=n||pe(u[0]).activeElement,s=u[0].previousElementSibling,d=hu(u),c=Se(d,{tabbable:a,accept:i},u);c.currentNode=at(l,u)?l:s;let f=c.nextNode();return!f&&r&&(c.currentNode=s,f=c.nextNode()),f&&je(f,!0),f},focusPrevious(t={}){let u=e.current,{from:n,tabbable:a,wrap:r,accept:i}=t,l=n||pe(u[0]).activeElement,s=u[u.length-1].nextElementSibling,d=hu(u),c=Se(d,{tabbable:a,accept:i},u);c.currentNode=at(l,u)?l:s;let f=c.previousNode();return!f&&r&&(c.currentNode=s,f=c.previousNode()),f&&je(f,!0),f},focusFirst(t={}){let u=e.current,{tabbable:n,accept:a}=t,r=hu(u),i=Se(r,{tabbable:n,accept:a},u);i.currentNode=u[0].previousElementSibling;let l=i.nextNode();return l&&je(l,!0),l},focusLast(t={}){let u=e.current,{tabbable:n,accept:a}=t,r=hu(u),i=Se(r,{tabbable:n,accept:a},u);i.currentNode=u[u.length-1].nextElementSibling;let l=i.previousNode();return l&&je(l,!0),l}}}const Zi=["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"])'],Zs=Zi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Zi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Ng=Zi.join(':not([hidden]):not([tabindex="-1"]),');function _g(e){return e.matches(Zs)}function hu(e){return e[0].parentElement}function cn(e){let t=ke.getTreeNode(fe);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function jg(e,t){let u=o.useRef(void 0),n=o.useRef(void 0);q(()=>{let a=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const r=pe(a?a[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!cn(e)||d.isComposing)return;let c=r.activeElement,f=e.current;if(!f||!at(c,f))return;let p=hu(f),m=Se(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&&je(b,!0)},l=d=>{(!fe||ya(fe,e))&&at(d.target,e.current)?(fe=e,u.current=d.target):cn(e)&&!Gt(d.target,e)?u.current?u.current.focus():fe&&fe.current&&ii(fe.current):cn(e)&&(u.current=d.target)},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=Xt();if(!((c==="virtual"||c===null)&&Dn()&&gs())&&r.activeElement&&cn(e)&&!Gt(r.activeElement,e))if(fe=e,r.body.contains(d.target)){var p;u.current=d.target,(p=u.current)===null||p===void 0||p.focus()}else fe.current&&ii(fe.current)})};return r.addEventListener("keydown",i,!1),r.addEventListener("focusin",l,!1),a==null||a.forEach(d=>d.addEventListener("focusin",l,!1)),a==null||a.forEach(d=>d.addEventListener("focusout",s,!1)),()=>{r.removeEventListener("keydown",i,!1),r.removeEventListener("focusin",l,!1),a==null||a.forEach(d=>d.removeEventListener("focusin",l,!1)),a==null||a.forEach(d=>d.removeEventListener("focusout",s,!1))}},[e,t]),q(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Gs(e){return Gt(e)}function at(e,t){return!e||!t?!1:t.some(u=>u.contains(e))}function Gt(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:u}of ke.traverse(ke.getTreeNode(t)))if(u&&at(e,u.current))return!0;return!1}function Lg(e){return Gt(e,fe)}function ya(e,t){var u;let n=(u=ke.getTreeNode(t))===null||u===void 0?void 0:u.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function je(e,t=!1){if(e!=null&&!t)try{xe(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function qs(e,t=!0){let u=e[0].previousElementSibling,n=hu(e),a=Se(n,{tabbable:t},e);a.currentNode=u;let r=a.nextNode();return t&&!r&&(n=hu(e),a=Se(n,{tabbable:!1},e),a.currentNode=u,r=a.nextNode()),r}function ii(e,t=!0){je(qs(e,t))}function Og(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){fe=e;const n=pe(e.current?e.current[0]:void 0);!at(n.activeElement,fe.current)&&e.current&&ii(e.current)}u.current=!1},[e])}function Hg(e,t,u){q(()=>{if(t||u)return;let n=e.current;const a=pe(n?n[0]:void 0);let r=i=>{let l=i.target;at(l,e.current)?fe=e:Gs(l)||(fe=null)};return a.addEventListener("focusin",r,!1),n==null||n.forEach(i=>i.addEventListener("focusin",r,!1)),()=>{a.removeEventListener("focusin",r,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",r,!1))}},[e,t,u])}function no(e){let t=ke.getTreeNode(fe);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Ug(e,t,u){const n=o.useRef(typeof document<"u"?pe(e.current?e.current[0]:void 0).activeElement:null);q(()=>{let a=e.current;const r=pe(a?a[0]:void 0);if(!t||u)return;let i=()=>{(!fe||ya(fe,e))&&at(r.activeElement,e.current)&&(fe=e)};return r.addEventListener("focusin",i,!1),a==null||a.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{r.removeEventListener("focusin",i,!1),a==null||a.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,u]),q(()=>{const a=pe(e.current?e.current[0]:void 0);if(!t)return;let r=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!cn(e)||i.isComposing)return;let l=a.activeElement;if(!Gt(l,e)||!no(e))return;let s=ke.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=Se(a.body,{tabbable:!0});c.currentNode=l;let f=i.shiftKey?c.previousNode():c.nextNode();if((!d||!a.body.contains(d)||d===a.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!Gt(f,e))&&d){c.currentNode=d;do f=i.shiftKey?c.previousNode():c.nextNode();while(Gt(f,e));i.preventDefault(),i.stopPropagation(),f?je(f,!0):Gs(d)?je(d,!0):l.blur()}};return u||a.addEventListener("keydown",r,!0),()=>{u||a.removeEventListener("keydown",r,!0)}},[e,t,u]),q(()=>{const a=pe(e.current?e.current[0]:void 0);if(!t)return;let r=ke.getTreeNode(e);if(r){var i;return r.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=ke.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(a.activeElement&&Gt(a.activeElement,e)||a.activeElement===a.body&&no(e))){let d=ke.clone();requestAnimationFrame(()=>{if(a.activeElement===a.body){let c=d.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){ao(c.nodeToRestore);return}c=c.parent}for(c=d.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&ke.getTreeNode(c.scopeRef)){let f=qs(c.scopeRef.current,!0);ao(f);return}c=c.parent}}})}}}},[e,t])}function ao(e){e.dispatchEvent(new CustomEvent(ri,{bubbles:!0,cancelable:!0}))&&je(e)}function Se(e,t,u){let n=t!=null&&t.tabbable?Ng:Zs,a=pe(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(r){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(r)?NodeFilter.FILTER_REJECT:r.matches(n)&&Ws(r)&&(!u||at(r,u))&&(!(t!=null&&t.accept)||t.accept(r))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(a.currentNode=t.from),a}function Ja(e,t={}){return{focusNext(u={}){let n=e.current;if(!n)return null;let{from:a,tabbable:r=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=a||pe(n).activeElement,d=Se(n,{tabbable:r,accept:l});n.contains(s)&&(d.currentNode=s);let c=d.nextNode();return!c&&i&&(d.currentNode=n,c=d.nextNode()),c&&je(c,!0),c},focusPrevious(u=t){let n=e.current;if(!n)return null;let{from:a,tabbable:r=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=a||pe(n).activeElement,d=Se(n,{tabbable:r,accept:l});if(n.contains(s))d.currentNode=s;else{let f=Pr(d);return f&&je(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=Pr(d);if(!f)return null;c=f}return c&&je(c,!0),c??null},focusFirst(u=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:r=t.accept}=u,l=Se(n,{tabbable:a,accept:r}).nextNode();return l&&je(l,!0),l},focusLast(u=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:r=t.accept}=u,i=Se(n,{tabbable:a,accept:r}),l=Pr(i);return l&&je(l,!0),l??null}}}function Pr(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Gi{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,u,n){let a=this.fastMap.get(u??null);if(!a)return;let r=new li({scopeRef:t});a.addChild(r),r.parent=a,this.fastMap.set(t,r),n&&(r.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 r of this.traverse())r!==u&&u.nodeToRestore&&r.nodeToRestore&&u.scopeRef&&u.scopeRef.current&&at(r.nodeToRestore,u.scopeRef.current)&&(r.nodeToRestore=u.nodeToRestore);let a=u.children;n&&(n.removeChild(u),a.size>0&&a.forEach(r=>n&&n.addChild(r))),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 Gi;var n;for(let a of this.traverse())u.addTreeNode(a.scopeRef,(n=(t=a.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,a.nodeToRestore);return u}constructor(){this.fastMap=new Map,this.root=new li({scopeRef:null}),this.fastMap.set(null,this.root)}}class li{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 ke=new Gi;function ce(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,a=o.useRef({isFocused:!1,isFocusVisible:t||Qt()}),[r,i]=o.useState(!1),[l,s]=o.useState(()=>a.current.isFocused&&a.current.isFocusVisible),d=o.useCallback(()=>s(a.current.isFocused&&a.current.isFocusVisible),[]),c=o.useCallback(m=>{a.current.isFocused=m,i(m),d()},[d]);Tg(m=>{a.current.isFocusVisible=m,d()},[],{isTextInput:u});let{focusProps:f}=qa({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=ot({isDisabled:!n,onFocusWithinChange:c});return{isFocused:r,isFocusVisible:l,focusProps:n?p:f}}function ro(e){let{children:t,focusClass:u,focusRingClass:n}=e,{isFocused:a,isFocusVisible:r,focusProps:i}=ce(e),l=o.Children.only(t);return o.cloneElement(l,V(l.props,{...i,className:H({[u||""]:a,[n||""]:r})}))}let Ys=o.createContext(null);function Wg(e){let t=o.useContext(Ys)||{};ji(t,e);let{ref:u,...n}=t;return n}const Zg=o.forwardRef(function(t,u){let{children:n,...a}=t,r=De(u),i={...a,ref:r};return o.createElement(Ys.Provider,{value:i},n)});function Pu(e,t){let{focusProps:u}=qa(e),{keyboardProps:n}=Hs(e),a=V(u,n),r=Wg(t),i=e.isDisabled?{}:r,l=o.useRef(e.autoFocus);return o.useEffect(()=>{l.current&&t.current&&xe(t.current),l.current=!1},[t]),{focusableProps:V({...a,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function qi(e,t){let u=t==null?void 0:t.isDisabled,[n,a]=o.useState(!1);return q(()=>{if(e!=null&&e.current&&!u){let r=()=>{if(e.current){let l=Se(e.current,{tabbable:!0});a(!!l.nextNode())}};r();let i=new MutationObserver(r);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),u?!1:n}function Gg(e,t){let{elementType:u="a",onPress:n,onPressStart:a,onPressEnd:r,onClick:i,isDisabled:l,...s}=e,d={};u!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=Pu(e,t),{pressProps:f,isPressed:p}=We({onPress:n,onPressStart:a,onPressEnd:r,isDisabled:l,ref:t}),m=O(s,{labelable:!0}),b=V(c,f),$=Bu(),g=Ua(e);return{isPressed:p,linkProps:V(m,g,{...b,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:y=>{var x;(x=f.onClick)===null||x===void 0||x.call(f,y),i&&(i(y),console.warn("onClick is deprecated, please use onPress")),!$.isNative&&y.currentTarget instanceof HTMLAnchorElement&&y.currentTarget.href&&!y.isDefaultPrevented()&&vs(y.currentTarget,y)&&e.href&&(y.preventDefault(),$.open(y.currentTarget,y,e.href,e.routerOptions))}})}}var Js={};Js={breadcrumbs:"عناصر الواجهة"};var Qs={};Qs={breadcrumbs:"Трохи хляб"};var Xs={};Xs={breadcrumbs:"Popis cesty"};var ed={};ed={breadcrumbs:"Brødkrummer"};var td={};td={breadcrumbs:"Breadcrumbs"};var ud={};ud={breadcrumbs:"Πλοηγήσεις breadcrumb"};var nd={};nd={breadcrumbs:"Breadcrumbs"};var ad={};ad={breadcrumbs:"Migas de pan"};var rd={};rd={breadcrumbs:"Lingiread"};var id={};id={breadcrumbs:"Navigointilinkit"};var ld={};ld={breadcrumbs:"Chemin de navigation"};var od={};od={breadcrumbs:"שבילי ניווט"};var sd={};sd={breadcrumbs:"Navigacijski putovi"};var dd={};dd={breadcrumbs:"Morzsamenü"};var cd={};cd={breadcrumbs:"Breadcrumb"};var fd={};fd={breadcrumbs:"パンくずリスト"};var pd={};pd={breadcrumbs:"탐색 표시"};var md={};md={breadcrumbs:"Naršymo kelias"};var bd={};bd={breadcrumbs:"Atpakaļceļi"};var hd={};hd={breadcrumbs:"Navigasjonsstier"};var $d={};$d={breadcrumbs:"Broodkruimels"};var gd={};gd={breadcrumbs:"Struktura nawigacyjna"};var Dd={};Dd={breadcrumbs:"Caminho detalhado"};var yd={};yd={breadcrumbs:"Categorias"};var vd={};vd={breadcrumbs:"Miez de pâine"};var xd={};xd={breadcrumbs:"Навигация"};var Cd={};Cd={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Ed={};Ed={breadcrumbs:"Drobtine"};var Bd={};Bd={breadcrumbs:"Putanje navigacije"};var kd={};kd={breadcrumbs:"Sökvägar"};var Pd={};Pd={breadcrumbs:"İçerik haritaları"};var Sd={};Sd={breadcrumbs:"Навігаційна стежка"};var Ad={};Ad={breadcrumbs:"导航栏"};var wd={};wd={breadcrumbs:"導覽列"};var Fd={};Fd={"ar-AE":Js,"bg-BG":Qs,"cs-CZ":Xs,"da-DK":ed,"de-DE":td,"el-GR":ud,"en-US":nd,"es-ES":ad,"et-EE":rd,"fi-FI":id,"fr-FR":ld,"he-IL":od,"hr-HR":sd,"hu-HU":dd,"it-IT":cd,"ja-JP":fd,"ko-KR":pd,"lt-LT":md,"lv-LV":bd,"nb-NO":hd,"nl-NL":$d,"pl-PL":gd,"pt-BR":Dd,"pt-PT":yd,"ro-RO":vd,"ru-RU":xd,"sk-SK":Cd,"sl-SI":Ed,"sr-SP":Bd,"sv-SE":kd,"tr-TR":Pd,"uk-UA":Sd,"zh-CN":Ad,"zh-TW":wd};const qg=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Yg=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Jg(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 qg.has(u.script)}let t=e.split("-")[0];return Yg.has(t)}const Qg=Symbol.for("react-aria.i18n.locale");function Td(){let e=typeof window<"u"&&window[Qg]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Jg(e)?"rtl":"ltr"}}let oi=Td(),fn=new Set;function io(){oi=Td();for(let e of fn)e(oi)}function Xg(){let e=Kt(),[t,u]=o.useState(oi);return o.useEffect(()=>(fn.size===0&&window.addEventListener("languagechange",io),fn.add(u),()=>{fn.delete(u),fn.size===0&&window.removeEventListener("languagechange",io)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const e2=o.createContext(null);function me(){let e=Xg();return o.useContext(e2)||e}const t2=Symbol.for("react-aria.i18n.locale"),u2=Symbol.for("react-aria.i18n.strings");let Au;class au{getStringForLocale(t,u){let a=this.getStringsForLocale(u)[t];if(!a)throw new Error(`Could not find intl message ${t} in ${u} locale`);return a}getStringsForLocale(t){let u=this.strings[t];return u||(u=n2(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[t2];if(Au===void 0){let a=window[u2];if(!a)return null;Au={};for(let r in a)Au[r]=new au({[u]:a[r]},u)}let n=Au==null?void 0:Au[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 n2(e,t,u="en-US"){if(t[e])return t[e];let n=a2(e);if(t[n])return t[n];for(let a in t)if(a.startsWith(n+"-"))return t[a];return t[u]}function a2(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const lo=new Map,oo=new Map;class Rd{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 a=u["="+t];if(a)return typeof a=="function"?a():a;let r=this.locale+":"+n,i=lo.get(r);i||(i=new Intl.PluralRules(this.locale,{type:n}),lo.set(r,i));let l=i.select(t);return a=u[l]||u.other,typeof a=="function"?a():a}number(t){let u=oo.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),oo.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 so=new WeakMap;function r2(e){let t=so.get(e);return t||(t=new au(e),so.set(e,t)),t}function Id(e,t){return t&&au.getGlobalDictionaryForPackage(t)||r2(e)}function $e(e,t){let{locale:u}=me(),n=Id(e,t);return o.useMemo(()=>new Rd(u,n),[u,n])}function Lu(e,t){return e-t*Math.floor(e/t)}const Kd=1721426;function $u(e,t,u,n){t=zn(e,t);let a=t-1,r=-2;return u<=2?r=0:qt(t)&&(r=-1),Kd-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*u-362)/12+r+n)}function qt(e){return e%4===0&&(e%100!==0||e%400===0)}function zn(e,t){return e==="BC"?1-t:t}function Qa(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const i2={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 He{fromJulianDay(t){let u=t,n=u-Kd,a=Math.floor(n/146097),r=Lu(n,146097),i=Math.floor(r/36524),l=Lu(r,36524),s=Math.floor(l/1461),d=Lu(l,1461),c=Math.floor(d/365),f=a*400+i*100+s*4+c+(i!==4&&c!==4?1:0),[p,m]=Qa(f),b=u-$u(p,m,1,1),$=2;u<$u(p,m,3,1)?$=0:qt(m)&&($=1);let g=Math.floor(((b+$)*12+373)/367),y=u-$u(p,m,g,1)+1;return new Ae(p,m,g,y)}toJulianDay(t){return $u(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return i2[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 l2={"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 Pe(e,t){return t=he(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function o2(e,t){return t=he(t,e.calendar),e=xu(e),t=xu(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function si(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 Md(e,t){return Pe(e,Ji(t))}const s2={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Yi(e,t,u){let n=e.calendar.toJulianDay(e),a=u?s2[u]:b2(t),r=Math.ceil(n+1-a)%7;return r<0&&(r+=7),r}function zd(e){return St(Date.now(),e)}function Ji(e){return _e(zd(e))}function Vd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Nd(e,t){return co(e)-co(t)}function co(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Sr=null;function Xa(){return Sr==null&&(Sr=new Intl.DateTimeFormat().resolvedOptions().timeZone),Sr}function xu(e){return e.subtract({days:e.day-1})}function va(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function d2(e){return xu(e.subtract({months:e.month-1}))}function c2(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function f2(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function kn(e,t,u){let n=Yi(e,t,u);return e.subtract({days:n})}function p2(e,t,u){return kn(e,t,u).add({days:6})}const fo=new Map;function m2(e){if(Intl.Locale){let u=fo.get(e);return u||(u=new Intl.Locale(e).maximize().region,u&&fo.set(e,u)),u}let t=e.split("-")[1];return t==="u"?void 0:t}function b2(e){let t=m2(e);return t&&l2[t]||0}function h2(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil((Yi(xu(e),t,u)+n)/7)}function Qi(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function Xi(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function qu(e){e=he(e,new He);let t=zn(e.era,e.year);return _d(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function _d(e,t,u,n,a,r,i){let l=new Date;return l.setUTCHours(n,a,r,i),l.setUTCFullYear(e,t-1,u),l.getTime()}function di(e,t){if(t==="UTC")return 0;if(e>0&&t===Xa())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:a,hour:r,minute:i,second:l}=jd(e,t);return _d(u,n,a,r,i,l,0)-Math.floor(e/1e3)*1e3}const po=new Map;function jd(e,t){let u=po.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"}),po.set(t,u));let n=u.formatToParts(new Date(e)),a={};for(let r of n)r.type!=="literal"&&(a[r.type]=r.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const mo=864e5;function $2(e,t,u,n){return(u===n?[u]:[u,n]).filter(r=>g2(e,t,r))}function g2(e,t,u){let n=jd(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=bt(e);if(t==="UTC")return qu(n);if(t===Xa()&&u==="compatible"){n=he(n,new He);let s=new Date,d=zn(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 a=qu(n),r=di(a-mo,t),i=di(a+mo,t),l=$2(n,t,a-r,a-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(a-r,a-i);case"compatible":case"later":return Math.max(a-r,a-i);case"reject":throw new RangeError("No such absolute time found")}}function Ld(e,t,u="compatible"){return new Date(kt(e,t,u))}function St(e,t){let u=di(e,t),n=new Date(e+u),a=n.getUTCFullYear(),r=n.getUTCMonth()+1,i=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),d=n.getUTCSeconds(),c=n.getUTCMilliseconds();return new Sn(a<1?"BC":"AD",a<1?-a+1:a,r,i,t,u,l,s,d,c)}function _e(e){return new Ae(e.calendar,e.era,e.year,e.month,e.day)}function bt(e,t){let u=0,n=0,a=0,r=0;if("timeZone"in e)({hour:u,minute:n,second:a,millisecond:r}=e);else if("hour"in e&&!t)return e;return t&&({hour:u,minute:n,second:a,millisecond:r}=t),new xa(e.calendar,e.era,e.year,e.month,e.day,u,n,a,r)}function he(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,Cu(n),n}function D2(e,t,u){if(e instanceof Sn)return e.timeZone===t?e:v2(e,t);let n=kt(e,t,u);return St(n,t)}function y2(e){let t=qu(e)-e.offset;return new Date(t)}function v2(e,t){let u=qu(e)-e.offset;return he(St(u,t),e.calendar)}const an=36e5;function er(e,t){let u=e.copy(),n="hour"in u?Wd(u,t):0;ci(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,fi(u),Od(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,x2(u),u.calendar.balanceDate&&u.calendar.balanceDate(u),u.year<1&&(u.year=1,u.month=1,u.day=1);let a=u.calendar.getYearsInEra(u);if(u.year>a){var r,i;let s=(r=(i=u.calendar).isInverseEra)===null||r===void 0?void 0:r.call(i,u);u.year=a,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 ci(e,t){var u,n;!((u=(n=e.calendar).isInverseEra)===null||u===void 0)&&u.call(n,e)&&(t=-t),e.year+=t}function fi(e){for(;e.month<1;)ci(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,ci(e,1)}function x2(e){for(;e.day<1;)e.month--,fi(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,fi(e)}function Od(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 Cu(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Od(e)}function el(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function Hd(e,t){return er(e,el(t))}function tl(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),Cu(u),u}function Pn(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),Ud(u),u}function C2(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Qn(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Qn(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Qn(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Qn(e.hour,24),t}function Ud(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 Qn(e,t){let u=e%t;return u<0&&(u+=t),u}function Wd(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,C2(e)}function Zd(e,t){let u=e.copy();return Wd(u,t),u}function E2(e,t){return Zd(e,el(t))}function ul(e,t,u,n){let a=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=At(s,u,0,l.length-1,n==null?void 0:n.round),a.era=l[s],Cu(a);break}case"year":var r,i;!((r=(i=a.calendar).isInverseEra)===null||r===void 0)&&r.call(i,a)&&(u=-u),a.year=At(e.year,u,-1/0,9999,n==null?void 0:n.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=At(e.month,u,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":a.day=At(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(a),Cu(a),a}function nl(e,t,u,n){let a=e.copy();switch(t){case"hour":{let r=e.hour,i=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=r>=12;i=s?12:0,l=s?23:11}a.hour=At(r,u,i,l,n==null?void 0:n.round);break}case"minute":a.minute=At(e.minute,u,0,59,n==null?void 0:n.round);break;case"second":a.second=At(e.second,u,0,59,n==null?void 0:n.round);break;case"millisecond":a.millisecond=At(e.millisecond,u,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return a}function At(e,t,u,n,a=!1){if(a){e+=Math.sign(t),e<u&&(e=n);let r=Math.abs(t);t>0?e=Math.ceil(e/r)*r:e=Math.floor(e/r)*r,e>n&&(e=u)}else e+=t,e<u?e=n-(u-e-1):e>n&&(e=u+(e-n-1));return e}function Gd(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 a=er(bt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=kt(a,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=St(u,e.timeZone);return he(n,e.calendar)}function B2(e,t){return Gd(e,el(t))}function k2(e,t,u,n){switch(t){case"hour":{let a=0,r=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;a=b?12:0,r=b?23:11}let i=bt(e),l=he(Pn(i,{hour:a}),new He),s=[kt(l,e.timeZone,"earlier"),kt(l,e.timeZone,"later")].filter(b=>St(b,e.timeZone).day===l.day)[0],d=he(Pn(i,{hour:r}),new He),c=[kt(d,e.timeZone,"earlier"),kt(d,e.timeZone,"later")].filter(b=>St(b,e.timeZone).day===d.day).pop(),f=qu(e)-e.offset,p=Math.floor(f/an),m=f%an;return f=At(p,u,Math.floor(s/an),Math.floor(c/an),n==null?void 0:n.round)*an+m,he(St(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return nl(e,t,u,n);case"era":case"year":case"month":case"day":{let a=ul(bt(e),t,u,n),r=kt(a,e.timeZone);return he(St(r,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function P2(e,t,u){let n=bt(e),a=Pn(tl(n,t),t);if(a.compare(n)===0)return e;let r=kt(a,e.timeZone,u);return he(St(r,e.timeZone),e.calendar)}function qd(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 Yd(e){let t=he(e,new He),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 Jd(e){return`${Yd(e)}T${qd(e)}`}function S2(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 A2(e){return`${Jd(e)}${S2(e.offset)}[${e.timeZone}]`}function al(e){let t=typeof e[0]=="object"?e.shift():new He,u;if(typeof e[0]=="string")u=e.shift();else{let i=t.getEras();u=i[i.length-1]}let n=e.shift(),a=e.shift(),r=e.shift();return[t,u,n,a,r]}var w2=new WeakMap;class Ae{copy(){return this.era?new Ae(this.calendar,this.era,this.year,this.month,this.day):new Ae(this.calendar,this.year,this.month,this.day)}add(t){return er(this,t)}subtract(t){return Hd(this,t)}set(t){return tl(this,t)}cycle(t,u,n){return ul(this,t,u,n)}toDate(t){return Ld(this,t)}toString(){return Yd(this)}compare(t){return Vd(this,t)}constructor(...t){Kn(this,w2,{writable:!0,value:void 0});let[u,n,a,r,i]=al(t);this.calendar=u,this.era=n,this.year=a,this.month=r,this.day=i,Cu(this)}}var F2=new WeakMap;class rl{copy(){return new rl(this.hour,this.minute,this.second,this.millisecond)}add(t){return Zd(this,t)}subtract(t){return E2(this,t)}set(t){return Pn(this,t)}cycle(t,u,n){return nl(this,t,u,n)}toString(){return qd(this)}compare(t){return Nd(this,t)}constructor(t=0,u=0,n=0,a=0){Kn(this,F2,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=a,Ud(this)}}var T2=new WeakMap;class xa{copy(){return this.era?new xa(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new xa(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return er(this,t)}subtract(t){return Hd(this,t)}set(t){return tl(Pn(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return ul(this,t,u,n);default:return nl(this,t,u,n)}}toDate(t,u){return Ld(this,t,u)}toString(){return Jd(this)}compare(t){let u=Vd(this,t);return u===0?Nd(this,bt(t)):u}constructor(...t){Kn(this,T2,{writable:!0,value:void 0});let[u,n,a,r,i]=al(t);this.calendar=u,this.era=n,this.year=a,this.month=r,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Cu(this)}}var R2=new WeakMap;class Sn{copy(){return this.era?new Sn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Sn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Gd(this,t)}subtract(t){return B2(this,t)}set(t,u){return P2(this,t,u)}cycle(t,u,n){return k2(this,t,u,n)}toDate(){return y2(this)}toString(){return A2(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-D2(t,this.timeZone).toDate().getTime()}constructor(...t){Kn(this,R2,{writable:!0,value:void 0});let[u,n,a,r,i]=al(t),l=t.shift(),s=t.shift();this.calendar=u,this.era=n,this.year=a,this.month=r,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,Cu(this)}}const Ou=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],I2=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],ca=[1867,1911,1925,1988,2018],Ut=["meiji","taisho","showa","heisei","reiwa"];function bo(e){const t=Ou.findIndex(([u,n,a])=>e.year<u||e.year===u&&e.month<n||e.year===u&&e.month===n&&e.day<a);return t===-1?Ou.length-1:t===0?0:t-1}function Ar(e){let t=ca[Ut.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Ae(e.year+t,e.month,e.day)}class K2 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=bo(u);return new Ae(this,Ut[n],u.year-ca[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(Ar(t))}balanceDate(t){let u=Ar(t),n=bo(u);Ut[n]!==t.era&&(t.era=Ut[n],t.year=u.year-ca[n]),this.constrainDate(t)}constrainDate(t){let u=Ut.indexOf(t.era),n=I2[u];if(n!=null){let[a,r,i]=n,l=a-ca[u];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(r,t.month),t.month===r&&(t.day=Math.min(i,t.day)))}if(t.year===1&&u>=0){let[,a,r]=Ou[u];t.month=Math.max(a,t.month),t.month===a&&(t.day=Math.max(r,t.day))}}getEras(){return Ut}getYearsInEra(t){let u=Ut.indexOf(t.era),n=Ou[u],a=Ou[u+1];if(a==null)return 9999-n[0]+1;let r=a[0]-n[0];return(t.month<a[1]||t.month===a[1]&&t.day<a[2])&&r++,r}getDaysInMonth(t){return super.getDaysInMonth(Ar(t))}getMinimumMonthInYear(t){let u=ho(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=ho(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function ho(e){if(e.year===1){let t=Ut.indexOf(e.era);return Ou[t]}}const Qd=-543;class M2 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=zn(u.era,u.year);return new Ae(this,n-Qd,u.month,u.day)}toJulianDay(t){return super.toJulianDay($o(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth($o(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function $o(e){let[t,u]=Qa(e.year+Qd);return new Ae(t,u,e.month,e.day)}const Ca=1911;function Xd(e){return e.era==="minguo"?e.year+Ca:1-e.year+Ca}function go(e){let t=e-Ca;return t>0?["minguo",t]:["before_minguo",1-t]}class z2 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=zn(u.era,u.year),[a,r]=go(n);return new Ae(this,a,r,u.month,u.day)}toJulianDay(t){return super.toJulianDay(Do(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=go(Xd(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Do(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Ca}constructor(...t){super(...t),this.identifier="roc"}}function Do(e){let[t,u]=Qa(Xd(e));return new Ae(t,u,e.month,e.day)}const yo=1948320,vo=[0,31,62,93,124,155,186,216,246,276,306,336];class V2{fromJulianDay(t){let u=t-yo,n=1+Math.floor((33*u+3)/12053),a=365*(n-1)+Math.floor((8*n+21)/33),r=u-a,i=r<216?Math.floor(r/31):Math.floor((r-6)/30),l=r-vo[i]+1;return new Ae(this,n,i+1,l)}toJulianDay(t){let u=yo-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=vo[t.month-1],u+=t.day,u}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Lu(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const wr=78,xo=80;class N2 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-wr,a=t-$u(u.era,u.year,1,1),r;a<xo?(n--,r=qt(u.year-1)?31:30,a+=r+155+90+10):(r=qt(u.year)?31:30,a-=xo);let i,l;if(a<r)i=1,l=a+1;else{let s=a-r;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 Ae(this,n,i,l)}toJulianDay(t){let u=t.year+wr,[n,a]=Qa(u),r,i;return qt(a)?(r=31,i=$u(n,a,3,21)):(r=30,i=$u(n,a,3,22)),t.month===1?i+t.day-1:(i+=r+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+wr)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Ea=1948440,Co=1948439,Qe=1300,wu=1600,_2=460322;function Ba(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function ec(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),a=Math.min(12,Math.ceil((u-(29+Ba(t,n,1,1)))/29.5)+1),r=u-Ba(t,n,a,1)+1;return new Ae(e,n,a,r)}function Eo(e){return(14+11*e)%30<11}class il{fromJulianDay(t){return ec(this,Ea,t)}toJulianDay(t){return Ba(Ea,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&Eo(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return Eo(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class j2 extends il{fromJulianDay(t){return ec(this,Co,t)}toJulianDay(t){return Ba(Co,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const L2="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let pi,Hu;function fa(e){return _2+Hu[e-Qe]}function pn(e,t){let u=e-Qe,n=1<<11-(t-1);return pi[u]&n?30:29}function Bo(e,t){let u=fa(e);for(let n=1;n<t;n++)u+=pn(e,n);return u}function ko(e){return Hu[e+1-Qe]-Hu[e-Qe]}class O2 extends il{fromJulianDay(t){let u=t-Ea,n=fa(Qe),a=fa(wu);if(u<n||u>a)return super.fromJulianDay(t);{let r=Qe-1,i=1,l=1;for(;l>0;){r++,l=u-fa(r)+1;let s=ko(r);if(l===s){i=12;break}else if(l<s){let d=pn(r,i);for(i=1;l>d;)l-=d,i++,d=pn(r,i);break}}return new Ae(this,r,i,u-Bo(r,i)+1)}}toJulianDay(t){return t.year<Qe||t.year>wu?super.toJulianDay(t):Ea+Bo(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<Qe||t.year>wu?super.getDaysInMonth(t):pn(t.year,t.month)}getDaysInYear(t){return t.year<Qe||t.year>wu?super.getDaysInYear(t):ko(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",pi||(pi=new Uint16Array(Uint8Array.from(atob(L2),t=>t.charCodeAt(0)).buffer)),!Hu){Hu=new Uint32Array(wu-Qe+1);let t=0;for(let u=Qe;u<=wu;u++){Hu[u-Qe]=t;for(let n=1;n<=12;n++)t+=pn(u,n)}}}}const Po=347997,tc=1080,uc=24*tc,H2=29,U2=12*tc+793,W2=H2*uc+U2;function bu(e){return Lu(e*7+1,19)<7}function pa(e){let t=Math.floor((235*e-234)/19),u=12084+13753*t,n=t*29+Math.floor(u/25920);return Lu(3*(n+1),7)<3&&(n+=1),n}function Z2(e){let t=pa(e-1),u=pa(e);return pa(e+1)-u===356?2:u-t===382?1:0}function hn(e){return pa(e)+Z2(e)}function nc(e){return hn(e+1)-hn(e)}function G2(e){let t=nc(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function Xn(e,t){if(t>=6&&!bu(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=G2(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?bu(e)?30:0:30}class q2{fromJulianDay(t){let u=t-Po,n=u*uc/W2,a=Math.floor((19*n+234)/235)+1,r=hn(a),i=Math.floor(u-r);for(;i<1;)a--,r=hn(a),i=Math.floor(u-r);let l=1,s=0;for(;s<i;)s+=Xn(a,l),l++;l--,s-=Xn(a,l);let d=i-s;return new Ae(this,a,l,d)}toJulianDay(t){let u=hn(t.year);for(let n=1;n<t.month;n++)u+=Xn(t.year,n);return u+t.day+Po}getDaysInMonth(t){return Xn(t.year,t.month)}getMonthsInYear(t){return bu(t.year)?13:12}getDaysInYear(t){return nc(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&(bu(u.year)&&!bu(t.year)&&u.month>6?t.month--:!bu(u.year)&&bu(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const mi=1723856,So=1824665,bi=5500;function ka(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function ll(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-ka(e,u,1,1))/30),a=t+1-ka(e,u,n,1);return[u,n,a]}function ac(e){return Math.floor(e%4/3)}function rc(e,t){return t%13!==0?30:ac(e)+5}class ol{fromJulianDay(t){let[u,n,a]=ll(mi,t),r="AM";return u<=0&&(r="AA",u+=bi),new Ae(this,r,u,n,a)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=bi),ka(mi,u,t.month,t.day)}getDaysInMonth(t){return rc(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 Y2 extends ol{fromJulianDay(t){let[u,n,a]=ll(mi,t);return u+=bi,new Ae(this,"AA",u,n,a)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class J2 extends ol{fromJulianDay(t){let[u,n,a]=ll(So,t),r="CE";return u<=0&&(r="BCE",u=1-u),new Ae(this,r,u,n,a)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),ka(So,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),rc(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 tr(e){switch(e){case"buddhist":return new M2;case"ethiopic":return new ol;case"ethioaa":return new Y2;case"coptic":return new J2;case"hebrew":return new q2;case"indian":return new N2;case"islamic-civil":return new il;case"islamic-tbla":return new j2;case"islamic-umalqura":return new O2;case"japanese":return new K2;case"persian":return new V2;case"roc":return new z2;case"gregory":default:return new He}}let Fr=new Map;class tt{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),a=this.formatter.formatToParts(u);return[...n.map(r=>({...r,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(r=>({...r,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return e6()&&(this.resolvedHourCycle||(this.resolvedHourCycle=t6(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=ic(t,u),this.options=u}}const Q2={true:{ja:"h11"},false:{}};function ic(e,t={}){if(typeof t.hour12=="boolean"&&X2()){t={...t};let a=Q2[String(t.hour12)][e.split("-")[0]],r=t.hour12?"h12":"h23";t.hourCycle=a??r,delete t.hour12}let u=e+(t?Object.entries(t).sort((a,r)=>a[0]<r[0]?-1:1).join():"");if(Fr.has(u))return Fr.get(u);let n=new Intl.DateTimeFormat(e,t);return Fr.set(u,n),n}let Tr=null;function X2(){return Tr==null&&(Tr=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Tr}let Rr=null;function e6(){return Rr==null&&(Rr=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Rr}function t6(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=ic(e,{...t,timeZone:void 0}),n=parseInt(u.formatToParts(new Date(2020,2,3,0)).find(r=>r.type==="hour").value,10),a=parseInt(u.formatToParts(new Date(2020,2,3,23)).find(r=>r.type==="hour").value,10);if(n===0&&a===23)return"h23";if(n===24&&a===23)return"h24";if(n===0&&a===11)return"h11";if(n===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function dt(e){e=Bs(e??{},u6);let{locale:t}=me();return o.useMemo(()=>new tt(t,e),[t,e])}function u6(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 a of u)if(t[a]!==e[a])return!1;return!0}let Ir=new Map,hi=!1;try{hi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Pa=!1;try{Pa=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const lc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class n6{format(t){let u="";if(!hi&&this.options.signDisplay!=null?u=r6(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!Pa){var n;let{unit:a,unitDisplay:r="short",locale:i}=this.resolvedOptions();if(!a)return u;let l=(n=lc[a])===null||n===void 0?void 0:n[r];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),a=this.numberFormatter.formatToParts(u);return[...n.map(r=>({...r,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(r=>({...r,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!hi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Pa&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=a6(t,u),this.options=u}}function a6(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!Pa){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=lc[i])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(Ir.has(a))return Ir.get(a);let r=new Intl.NumberFormat(e,t);return Ir.set(a,r),r}function r6(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 a=e.format(-u),r=e.format(u),i=a.replace(r,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),a.replace(r,"!!!").replace(i,"+").replace("!!!",r)}else return e.format(u)}}const i6=new RegExp("^.*\\(.*\\).*$"),l6=["latn","arab","hanidec","deva","beng"];class oc{parse(t){return Kr(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return Kr(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return Kr(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const Ao=new Map;function Kr(e,t,u){let n=wo(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let a of l6)if(a!==n.options.numberingSystem){let r=wo(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(r.isValidPartialNumber(u))return r}}return n}function wo(e,t){let u=e+(t?Object.entries(t).sort((a,r)=>a[0]<r[0]?-1:1).join():""),n=Ao.get(u);return n||(n=new o6(e,t),Ao.set(u,n)),n}class o6{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=ea(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 a,r;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((a=this.options.minimumFractionDigits)!==null&&a!==void 0?a:0)+2,20),maximumFractionDigits:Math.min(((r=this.options.maximumFractionDigits)!==null&&r!==void 0?r:0)+2,20)};return new oc(this.locale,i).parse(new n6(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&i6.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=ea(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=ea(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=ea(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=d6(t,this.formatter,this.options,u);var n,a;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Fo=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),s6=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function d6(e,t,u,n){var a,r,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=s6.map(A=>s.formatToParts(A));var p;let m=(p=(a=d.find(A=>A.type==="minusSign"))===null||a===void 0?void 0:a.value)!==null&&p!==void 0?p:"-",b=(r=c.find(A=>A.type==="plusSign"))===null||r===void 0?void 0:r.value;!b&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(b="+");let g=(i=new Intl.NumberFormat(e,{...u,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(A=>A.type==="decimal"))===null||i===void 0?void 0:i.value,y=(l=d.find(A=>A.type==="group"))===null||l===void 0?void 0:l.value,x=d.filter(A=>!Fo.has(A.type)).map(A=>To(A.value)),v=f.flatMap(A=>A.filter(k=>!Fo.has(k.type)).map(k=>To(k.value))),E=[...new Set([...x,...v])].sort((A,k)=>k.length-A.length),B=E.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${E.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(u.locale,{useGrouping:!1}).format(9876543210)].reverse(),I=new Map(S.map((A,k)=>[A,k])),D=new RegExp(`[${S.join("")}]`,"g");return{minusSign:m,plusSign:b,decimal:g,group:y,literals:B,numeral:D,index:A=>String(I.get(A))}}function ea(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function To(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let Mr=new Map;function Qu(e){let{locale:t}=me(),u=t+(e?Object.entries(e).sort((a,r)=>a[0]<r[0]?-1:1).join():"");if(Mr.has(u))return Mr.get(u);let n=new Intl.Collator(t,e);return Mr.set(u,n),n}function sc(e){let t=Qu({usage:"search",...e}),u=o.useCallback((r,i)=>i.length===0?!0:(r=r.normalize("NFC"),i=i.normalize("NFC"),t.compare(r.slice(0,i.length),i)===0),[t]),n=o.useCallback((r,i)=>i.length===0?!0:(r=r.normalize("NFC"),i=i.normalize("NFC"),t.compare(r.slice(-i.length),i)===0),[t]),a=o.useCallback((r,i)=>{if(i.length===0)return!0;r=r.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=r.length;l++){let d=r.slice(l,l+s);if(t.compare(i,d)===0)return!0}return!1},[t]);return o.useMemo(()=>({startsWith:u,endsWith:n,contains:a}),[u,n,a])}function c6(e){return e&&e.__esModule?e.default:e}function f6(e){let{"aria-label":t,...u}=e,n=$e(c6(Fd),"@react-aria/breadcrumbs");return{navProps:{...O(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function sl(e,t){let{elementType:u="button",isDisabled:n,onPress:a,onPressStart:r,onPressEnd:i,onPressUp:l,onPressChange:s,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:m,rel:b,type:$="button"}=e,g;u==="button"?g={type:$,disabled:n}:g={role:"button",tabIndex:n?void 0:0,href:u==="a"&&!n?p:void 0,target:u==="a"?m:void 0,type:u==="input"?$:void 0,disabled:u==="input"?n:void 0,"aria-disabled":!n||u==="input"?void 0:n,rel:u==="a"?b:void 0};let{pressProps:y,isPressed:x}=We({onPressStart:r,onPressEnd:i,onPressChange:s,onPress:a,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:v}=Pu(e,t);c&&(v.tabIndex=n?-1:v.tabIndex);let E=V(v,y,O(e,{labelable:!0}));return{isPressed:x,buttonProps:V(g,E,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:B=>{f&&(f(B),console.warn("onClick is deprecated, please use onPress"))}})}}var dc={};dc={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 cc={};cc={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 fc={};fc={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 pc={};pc={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 mc={};mc={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 bc={};bc={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 hc={};hc={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 $c={};$c={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 gc={};gc={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 Dc={};Dc={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 yc={};yc={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 vc={};vc={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 Cc={};Cc={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 Ec={};Ec={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 Bc={};Bc={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 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 Pc={};Pc={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 Sc={};Sc={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 Ac={};Ac={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 wc={};wc={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 Fc={};Fc={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 Tc={};Tc={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 Rc={};Rc={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 Ic={};Ic={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 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=>`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 zc={};zc={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 Vc={};Vc={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 Nc={};Nc={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 _c={};_c={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 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} 至 ${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 Vn={};Vn={"ar-AE":dc,"bg-BG":cc,"cs-CZ":fc,"da-DK":pc,"de-DE":mc,"el-GR":bc,"en-US":hc,"es-ES":$c,"et-EE":gc,"fi-FI":Dc,"fr-FR":yc,"he-IL":vc,"hr-HR":xc,"hu-HU":Cc,"it-IT":Ec,"ja-JP":Bc,"ko-KR":kc,"lt-LT":Pc,"lv-LV":Sc,"nb-NO":Ac,"nl-NL":wc,"pl-PL":Fc,"pt-BR":Tc,"pt-PT":Rc,"ro-RO":Ic,"ru-RU":Kc,"sk-SK":Mc,"sl-SI":zc,"sr-SP":Vc,"sv-SE":Nc,"tr-TR":_c,"uk-UA":jc,"zh-CN":Lc,"zh-TW":Oc};function Hc(e){return e&&e.__esModule?e.default:e}const dl=new WeakMap;function An(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function p6(e){let t=$e(Hc(Vn),"@react-aria/calendar"),u,n;var a;"highlightedRange"in e?{start:u,end:n}=e.highlightedRange||{}:u=n=(a=e.value)!==null&&a!==void 0?a:void 0;let r=dt({weekday:"long",month:"long",year:"numeric",day:"numeric",era:An(u)||An(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!i&&u&&n)if(Pe(u,n)){let l=r.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=gi(r,t,u,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}return""},[u,n,i,e.timeZone,t,r])}function $i(e,t,u,n){let a=$e(Hc(Vn),"@react-aria/calendar"),r=An(e)||An(t),i=dt({month:"long",year:"numeric",era:r,calendar:e.calendar.identifier,timeZone:u}),l=dt({month:"long",year:"numeric",day:"numeric",era:r,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(Pe(e,xu(e))){if(Pe(t,va(e)))return i.format(e.toDate(u));if(Pe(t,va(t)))return n?gi(i,a,e,t,u):i.formatRange(e.toDate(u),t.toDate(u))}return n?gi(l,a,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,i,l,a,u,n])}function gi(e,t,u,n,a){let r=e.formatRangeToParts(u.toDate(a),n.toDate(a)),i=-1;for(let d=0;d<r.length;d++){let c=r[d];if(c.source==="shared"&&c.type==="literal")i=d;else if(c.source==="endRange")break}let l="",s="";for(let d=0;d<r.length;d++)d<i?l+=r[d].value:d>i&&(s+=r[d].value);return t.format("dateRange",{startDate:l,endDate:s})}const Uc=7e3;let Ye=null;function ft(e,t="assertive",u=Uc){Ye?Ye.announce(e,t,u):(Ye=new b6,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Ye.announce(e,t,u):setTimeout(()=>{Ye!=null&&Ye.isAttached()&&(Ye==null||Ye.announce(e,t,u))},100))}function m6(e){Ye&&Ye.clear(e)}class b6{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=Uc){var a,r;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"?(a=this.assertiveLog)===null||a===void 0||a.appendChild(i):(r=this.politeLog)===null||r===void 0||r.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 h6(e){return e&&e.__esModule?e.default:e}function Wc(e,t){let u=$e(h6(Vn),"@react-aria/calendar"),n=O(e),a=$i(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),r=$i(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);ba(()=>{t.isFocused||ft(r)},[r]);let i=p6(t);ba(()=>{i&&ft(i,"polite",4e3)},[i]);let l=ut([!!e.errorMessage,e.isInvalid,e.validationState]);dl.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=mt({id:e.id,"aria-label":[e["aria-label"],r].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:V(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:a}}function $6(e,t){return Wc(e,t)}function g6(e,t,u){let n=Wc(e,t),a=o.useRef(!1),r=o.useRef(typeof window<"u"?window:null);return lt(r,"pointerdown",l=>{a.current=l.width===0&&l.height===0}),lt(r,"pointerup",l=>{if(a.current){a.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()},lt(u,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function D6(e,t){let{startDate:u=t.visibleRange.start,endDate:n=t.visibleRange.end,firstDayOfWeek:a}=e,{direction:r}=me(),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(),r==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),r==="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=$i(u,n,t.timeZone,!0),{ariaLabel:s,ariaLabelledBy:d}=dl.get(t),c=mt({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=dt({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=me(),m=o.useMemo(()=>{let b=kn(Ji(t.timeZone),p,a);return[...new Array(7).keys()].map($=>{let y=b.add({days:$}).toDate(t.timeZone);return f.format(y)})},[p,t.timeZone,f,a]);return{gridProps:V(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 y6(e){return e&&e.__esModule?e.default:e}function v6(e,t,u){let{date:n,isDisabled:a}=e,{errorMessageId:r,selectedDateDescription:i}=dl.get(t),l=$e(y6(Vn),"@react-aria/calendar"),s=dt({weekday:"long",day:"numeric",month:"long",year:"numeric",era:An(n),timeZone:t.timeZone}),d=t.isSelected(n),c=t.isCellFocused(n);a=a||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!a&&!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&&Pe(t.value,n));m&&(d=!0),n=Bs(n,si);let b=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),$=Md(n,t.timeZone),g=o.useMemo(()=>{let k="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Pe(n,t.value.start)||Pe(n,t.value.end))&&(k=i+", "),k+=s.format(b),$?k=l.format(d?"todayDateSelected":"todayDate",{date:k}):d&&(k=l.format("dateSelected",{date:k})),t.minValue&&Pe(n,t.minValue)?k+=", "+l.format("minimumDate"):t.maxValue&&Pe(n,t.maxValue)&&(k+=", "+l.format("maximumDate")),k},[s,b,l,d,$,n,t,i]),y="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?y=l.format("finishRangeSelectionPrompt"):y=l.format("startRangeSelectionPrompt"));let x=ht(y),v=o.useRef(!1),E=o.useRef(!1),B=o.useRef(void 0),{pressProps:S,isPressed:I}=We({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(Pe(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}else if(Pe(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}}let z=()=>{t.setDragging(!0),B.current=void 0,t.selectDate(n),t.setFocusedDate(n),v.current=!0};k.pointerType==="touch"?B.current=setTimeout(z,200):z()}},onPressEnd(){E.current=!1,v.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(E.current)t.setAnchorDate(n);else if(t.anchorDate&&!v.current)t.selectDate(n),t.setFocusedDate(n);else if(k.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let z=n.add({days:1});t.isInvalid(z)&&(z=n.subtract({days:1})),t.isInvalid(z)||t.setFocusedDate(z)}else k.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),D;a||(D=Pe(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(Le(u.current),Xt()!=="pointer"&&document.activeElement===u.current&&ze(u.current,{containingElement:Me(u.current)}))},[c,u]);let R=dt({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),A=o.useMemo(()=>R.formatToParts(b).find(k=>k.type==="day").value,[R,b]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":m||void 0},buttonProps:V(S,{onFocus(){a||t.setFocusedDate(n)},tabIndex:D,role:"button","aria-disabled":!p||void 0,"aria-label":g,"aria-invalid":m||void 0,"aria-describedby":[m?r:void 0,x["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:I,isFocused:c,isSelected:d,isDisabled:a,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:m,formattedDate:A}}const ur={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Zc={...ur,customError:!0,valid:!1},Zt={isInvalid:!1,validationDetails:ur,validationErrors:[]},x6=o.createContext({}),eu="__formValidationState"+Date.now();function Dt(e){if(e[eu]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:a,commitValidation:r}=e[eu];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:a,commitValidation:r}}return C6(e)}function C6(e){let{isInvalid:t,validationState:u,name:n,value:a,builtinValidation:r,validate:i,validationBehavior:l="aria"}=e;u&&(t||(t=u==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:Zc}:null,d=o.useMemo(()=>{if(!i||a==null)return null;let A=E6(i,a);return Ro(A)},[i,a]);r!=null&&r.validationDetails.valid&&(r=void 0);let c=o.useContext(x6),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(A=>Di(c[A])):Di(c[n]):[],[c,n]),[p,m]=o.useState(c),[b,$]=o.useState(!1);c!==p&&(m(c),$(!1));let g=o.useMemo(()=>Ro(b?[]:f),[b,f]),y=o.useRef(Zt),[x,v]=o.useState(Zt),E=o.useRef(Zt),B=()=>{if(!S)return;I(!1);let A=d||r||y.current;zr(A,E.current)||(E.current=A,v(A))},[S,I]=o.useState(!1);return o.useEffect(B),{realtimeValidation:s||g||d||r||Zt,displayValidation:l==="native"?s||g||x:s||g||d||r||x,updateValidation(A){l==="aria"&&!zr(x,A)?v(A):y.current=A},resetValidation(){let A=Zt;zr(A,E.current)||(E.current=A,v(A)),l==="native"&&I(!1),$(!0)},commitValidation(){l==="native"&&I(!0),$(!0)}}}function Di(e){return e?Array.isArray(e)?e:[e]:[]}function E6(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return Di(u)}return[]}function Ro(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Zc}:null}function zr(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 wn(...e){let t=new Set,u=!1,n={...ur};for(let i of e){var a,r;for(let l of i.validationErrors)t.add(l);u||(u=i.isInvalid);for(let l in n)(a=n)[r=l]||(a[r]=i.validationDetails[l])}return n.valid=!u,{isInvalid:u,validationErrors:[...t],validationDetails:n}}function Nn(e,t,u){let{validationBehavior:n,focus:a}=e;q(()=>{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(k6(u.current))}});let r=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&&P6(c)===u.current){var f;a?a():(f=u.current)===null||f===void 0||f.focus(),Os("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",r),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),d==null||d.removeEventListener("reset",r)}},[u,i,l,r,n])}function B6(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 k6(e){return{isInvalid:!e.validity.valid,validationDetails:B6(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function P6(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function S6(e,t,u){let{isDisabled:n=!1,isReadOnly:a=!1,value:r,name:i,children:l,"aria-label":s,"aria-labelledby":d,validationState:c="valid",isInvalid:f}=e,p=S=>{S.stopPropagation(),t.setSelected(S.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:$,isPressed:g}=We({isDisabled:n}),{pressProps:y,isPressed:x}=We({isDisabled:n||a,onPress(){t.toggle()}}),{focusableProps:v}=Pu(e,u),E=V($,v),B=O(e,{labelable:!0});return In(u,t.isSelected,t.setSelected),{labelProps:V(y,{onClick:S=>S.preventDefault()}),inputProps:V(B,{"aria-invalid":f||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":a||void 0,onChange:p,disabled:n,...r==null?{}:{value:r},name:i,type:"checkbox",...E}),isSelected:t.isSelected,isPressed:g||x,isDisabled:n,isReadOnly:a,isInvalid:f||c==="invalid"}}function Gc(e,t,u){let n=Dt({...e,value:t.isSelected}),{isInvalid:a,validationErrors:r,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=S6({...e,isInvalid:a},t,u);Nn(e,n,u);let{isIndeterminate:m,isRequired:b,validationBehavior:$="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!m)});let{pressProps:g}=We({isDisabled:f||p,onPress(){let{[eu]:y}=e,{commitValidation:x}=y||n;x()}});return{labelProps:V(l,g),inputProps:{...s,checked:d,"aria-required":b&&$==="aria"||void 0,required:b&&$==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:a,validationErrors:r,validationDetails:i}}const qc=new WeakMap;function Yc(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":a,labelElementType:r="label"}=e;t=ae(t);let i=ae(),l={};u?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:r==="label"?t:void 0}):!n&&!a&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=mt({id:t,"aria-label":a,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function ru(e){let{description:t,errorMessage:u,isInvalid:n,validationState:a}=e,{labelProps:r,fieldProps:i}=Yc(e),l=ut([!!t,!!u,n,a]),s=ut([!!t,!!u,n,a]);return i=V(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:r,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function A6(e,t){let{isDisabled:u,name:n,validationBehavior:a="aria"}=e,{isInvalid:r,validationErrors:i,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:d,descriptionProps:c,errorMessageProps:f}=ru({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||i});qc.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:a});let p=O(e,{labelable:!0}),{focusWithinProps:m}=ot({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:V(p,{role:"group","aria-disabled":u||void 0,...d,...m}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:r,validationErrors:i,validationDetails:l}}function Jc(e={}){let{isReadOnly:t}=e,[u,n]=Re(e.isSelected,e.defaultSelected||!1,e.onChange);function a(i){t||n(i)}function r(){t||n(!u)}return{isSelected:u,setSelected:a,toggle:r}}function w6(e,t,u){const n=Jc({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(g){g?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(g)}});let{name:a,descriptionId:r,errorMessageId:i,validationBehavior:l}=qc.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=Dt({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=o.useRef(Zt),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 $=Gc({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||a,isRequired:(b=e.isRequired)!==null&&b!==void 0?b:t.isRequired,validationBehavior:l,[eu]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(g){c.current=g,f()}}},n,u);return{...$,inputProps:{...$.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,r].filter(Boolean).join(" ")||void 0}}}const Io={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 _n(e={}){let{style:t,isFocusable:u}=e,[n,a]=o.useState(!1),{focusWithinProps:r}=ot({isDisabled:!u,onFocusWithinChange:l=>a(l)}),i=o.useMemo(()=>n?t:t?{...Io,...t}:Io,[n]);return{visuallyHiddenProps:{...r,style:i}}}function tu(e){let{children:t,elementType:u="div",isFocusable:n,style:a,...r}=e,{visuallyHiddenProps:i}=_n(e);return o.createElement(u,V(r,i),t)}function cl(e,t){let{inputElementType:u="input",isDisabled:n=!1,isRequired:a=!1,isReadOnly:r=!1,type:i="text",validationBehavior:l="aria"}=e,[s,d]=Re(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Pu(e,t),f=Dt({...e,value:s}),{isInvalid:p,validationErrors:m,validationDetails:b}=f.displayValidation,{labelProps:$,fieldProps:g,descriptionProps:y,errorMessageProps:x}=ru({...e,isInvalid:p,errorMessage:e.errorMessage||m}),v=O(e,{labelable:!0});const E={type:i,pattern:e.pattern};return In(t,s,d),Nn(e,f,t),o.useEffect(()=>{if(t.current instanceof et(t.current).HTMLTextAreaElement){let B=t.current;Object.defineProperty(B,"defaultValue",{get:()=>B.value,set:()=>{},configurable:!0})}},[t]),{labelProps:$,inputProps:V(v,u==="input"?E:void 0,{disabled:n,readOnly:r,required:a&&l==="native","aria-required":a&&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,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,...g}),descriptionProps:y,errorMessageProps:x,isInvalid:p,validationErrors:m,validationDetails:b}}var Qc={};Qc={Empty:"فارغ"};var Xc={};Xc={Empty:"Изпразни"};var e4={};e4={Empty:"Prázdné"};var t4={};t4={Empty:"Tom"};var u4={};u4={Empty:"Leer"};var n4={};n4={Empty:"Άδειο"};var a4={};a4={Empty:"Empty"};var r4={};r4={Empty:"Vacío"};var i4={};i4={Empty:"Tühjenda"};var l4={};l4={Empty:"Tyhjä"};var o4={};o4={Empty:"Vide"};var s4={};s4={Empty:"ריק"};var d4={};d4={Empty:"Prazno"};var c4={};c4={Empty:"Üres"};var f4={};f4={Empty:"Vuoto"};var p4={};p4={Empty:"空"};var m4={};m4={Empty:"비어 있음"};var b4={};b4={Empty:"Tuščias"};var h4={};h4={Empty:"Tukšs"};var $4={};$4={Empty:"Tom"};var g4={};g4={Empty:"Leeg"};var D4={};D4={Empty:"Pusty"};var y4={};y4={Empty:"Vazio"};var v4={};v4={Empty:"Vazio"};var x4={};x4={Empty:"Gol"};var C4={};C4={Empty:"Не заполнено"};var E4={};E4={Empty:"Prázdne"};var B4={};B4={Empty:"Prazen"};var k4={};k4={Empty:"Prazno"};var P4={};P4={Empty:"Tomt"};var S4={};S4={Empty:"Boş"};var A4={};A4={Empty:"Пусто"};var w4={};w4={Empty:"空"};var F4={};F4={Empty:"空白"};var T4={};T4={"ar-AE":Qc,"bg-BG":Xc,"cs-CZ":e4,"da-DK":t4,"de-DE":u4,"el-GR":n4,"en-US":a4,"es-ES":r4,"et-EE":i4,"fi-FI":l4,"fr-FR":o4,"he-IL":s4,"hr-HR":d4,"hu-HU":c4,"it-IT":f4,"ja-JP":p4,"ko-KR":m4,"lt-LT":b4,"lv-LV":h4,"nb-NO":$4,"nl-NL":g4,"pl-PL":D4,"pt-BR":y4,"pt-PT":v4,"ro-RO":x4,"ru-RU":C4,"sk-SK":E4,"sl-SI":B4,"sr-SP":k4,"sv-SE":P4,"tr-TR":S4,"uk-UA":A4,"zh-CN":w4,"zh-TW":F4};function F6(e){return e&&e.__esModule?e.default:e}function T6(e){const t=o.useRef(void 0);let{value:u,textValue:n,minValue:a,maxValue:r,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:d,onIncrementPage:c,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const $=$e(F6(T4),"@react-aria/spinbutton"),g=()=>clearTimeout(t.current);o.useEffect(()=>()=>g(),[]);let y=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}},x=o.useRef(!1),v=()=>{x.current=!0},E=()=>{x.current=!1},B=n===""?$.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{x.current&&(m6("assertive"),ft(B,"assertive"))},[B]);const S=ie(k=>{g(),d==null||d(),t.current=window.setTimeout(()=>{(r===void 0||isNaN(r)||u===void 0||isNaN(u)||u<r)&&S(60)},k)}),I=ie(k=>{g(),f==null||f(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||u===void 0||isNaN(u)||u>a)&&I(60)},k)});let D=k=>{k.preventDefault()},{addGlobalListener:R,removeAllGlobalListeners:A}=_i();return{spinButtonProps:{role:"spinbutton","aria-valuenow":u!==void 0&&!isNaN(u)?u:void 0,"aria-valuetext":B,"aria-valuemin":a,"aria-valuemax":r,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:y,onFocus:v,onBlur:E},incrementButtonProps:{onPressStart:()=>{S(400),R(window,"contextmenu",D)},onPressEnd:()=>{g(),A()},onFocus:v,onBlur:E},decrementButtonProps:{onPressStart:()=>{I(400),R(window,"contextmenu",D)},onPressEnd:()=>{g(),A()},onFocus:v,onBlur:E}}}var R4={};R4={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 I4={};I4={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 K4={};K4={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 M4={};M4={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 z4={};z4={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 V4={};V4={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 N4={};N4={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 _4={};_4={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 j4={};j4={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 L4={};L4={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 O4={};O4={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 H4={};H4={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 U4={};U4={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 W4={};W4={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 Z4={};Z4={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 G4={};G4={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 q4={};q4={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 Y4={};Y4={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 J4={};J4={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 Q4={};Q4={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 X4={};X4={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 t3={};t3={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 u3={};u3={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 n3={};n3={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 a3={};a3={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:"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 i3={};i3={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 l3={};l3={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 o3={};o3={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 s3={};s3={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 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:"显示建议",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 f3={};f3={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 p3={};p3={"ar-AE":R4,"bg-BG":I4,"cs-CZ":K4,"da-DK":M4,"de-DE":z4,"el-GR":V4,"en-US":N4,"es-ES":_4,"et-EE":j4,"fi-FI":L4,"fr-FR":O4,"he-IL":H4,"hr-HR":U4,"hu-HU":W4,"it-IT":Z4,"ja-JP":G4,"ko-KR":q4,"lt-LT":Y4,"lv-LV":J4,"nb-NO":Q4,"nl-NL":X4,"pl-PL":e3,"pt-BR":t3,"pt-PT":u3,"ro-RO":n3,"ru-RU":a3,"sk-SK":r3,"sl-SI":i3,"sr-SP":l3,"sv-SE":o3,"tr-TR":s3,"uk-UA":d3,"zh-CN":c3,"zh-TW":f3};const ct={top:"top",bottom:"top",left:"left",right:"left"},Sa={top:"bottom",bottom:"top",left:"right",right:"left"},R6={top:"left",left:"top"},yi={top:"height",left:"width"},m3={width:"totalWidth",height:"totalHeight"},ta={};let Fe=typeof document<"u"?window.visualViewport:null;function Ko(e){let t=0,u=0,n=0,a=0,r=0,i=0,l={};var s;let d=((s=Fe==null?void 0:Fe.scale)!==null&&s!==void 0?s:1)>1;if(e.tagName==="BODY"){let b=document.documentElement;n=b.clientWidth,a=b.clientHeight;var c;t=(c=Fe==null?void 0:Fe.width)!==null&&c!==void 0?c:n;var f;u=(f=Fe==null?void 0:Fe.height)!==null&&f!==void 0?f:a,l.top=b.scrollTop||e.scrollTop,l.left=b.scrollLeft||e.scrollLeft,Fe&&(r=Fe.offsetTop,i=Fe.offsetLeft)}else({width:t,height:u,top:r,left:i}=Uu(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,a=u;if(Vi()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){l.top=0,l.left=0;var p;r=(p=Fe==null?void 0:Fe.pageTop)!==null&&p!==void 0?p:0;var m;i=(m=Fe==null?void 0:Fe.pageLeft)!==null&&m!==void 0?m:0}return{width:t,height:u,totalWidth:n,totalHeight:a,scroll:l,top:r,left:i}}function I6(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Mo(e,t,u,n,a,r,i){var l;let s=(l=a.scroll[e])!==null&&l!==void 0?l:0,d=n[yi[e]],c=n.scroll[ct[e]]+r,f=d+n.scroll[ct[e]]-r,p=t-s+i[e]-n[ct[e]],m=t-s+u+i[e]-n[ct[e]];return p<c?c-p:m>f?Math.max(f-m,c-p):0}function K6(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 zo(e){if(ta[e])return ta[e];let[t,u]=e.split(" "),n=ct[t]||"right",a=R6[n];ct[u]||(u="center");let r=yi[n],i=yi[a];return ta[e]={placement:t,crossPlacement:u,axis:n,crossAxis:a,size:r,crossSize:i},ta[e]}function Vr(e,t,u,n,a,r,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:m,size:b,crossSize:$}=n,g={};var y;g[m]=(y=e[m])!==null&&y!==void 0?y:0;var x,v,E,B;f==="center"?g[m]+=(((x=e[$])!==null&&x!==void 0?x:0)-((v=u[$])!==null&&v!==void 0?v:0))/2:f!==m&&(g[m]+=((E=e[$])!==null&&E!==void 0?E:0)-((B=u[$])!==null&&B!==void 0?B:0)),g[m]+=r;const S=e[m]-u[$]+s+d,I=e[m]+e[$]-s-d;if(g[m]=Xr(g[m],S,I),c===p){const D=l?i[b]:t[m3[b]];g[Sa[p]]=Math.floor(D-e[p]+a)}else g[p]=Math.floor(e[p]+e[b]+a);return g}function M6(e,t,u,n,a,r,i,l){const s=n?u.height:t[m3.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 y=l!=="top"?Math.max(0,t.height+t.top+((f=t.scroll.top)!==null&&f!==void 0?f:0)-c-(((p=a.top)!==null&&p!==void 0?p:0)+((m=a.bottom)!==null&&m!==void 0?m:0)+r)):Math.max(0,c+i-(t.top+((b=t.scroll.top)!==null&&b!==void 0?b:0))-((($=a.top)!==null&&$!==void 0?$:0)+((g=a.bottom)!==null&&g!==void 0?g:0)+r));return Math.min(t.height-r*2,y)}function Vo(e,t,u,n,a,r){let{placement:i,axis:l,size:s}=r;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[Sa[l]]-a);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[Sa[l]]-a)}function z6(e,t,u,n,a,r,i,l,s,d,c,f,p,m,b,$){let g=zo(e),{size:y,crossAxis:x,crossSize:v,placement:E,crossPlacement:B}=g,S=Vr(t,l,u,g,c,f,d,p,b,$),I=c,D=Vo(l,d,t,a,r+c,g);if(i&&n[y]>D){let ee=zo(`${Sa[E]} ${B}`),be=Vr(t,l,u,ee,c,f,d,p,b,$);Vo(l,d,t,a,r+c,ee)>D&&(g=ee,S=be,I=c)}let R="bottom";g.axis==="top"?g.placement==="top"?R="top":g.placement==="bottom"&&(R="bottom"):g.crossAxis==="top"&&(g.crossPlacement==="top"?R="bottom":g.crossPlacement==="bottom"&&(R="top"));let A=Mo(x,S[x],u[v],l,s,r,d);S[x]+=A;let k=M6(S,l,d,p,a,r,u.height,R);m&&m<k&&(k=m),u.height=Math.min(u.height,k),S=Vr(t,l,u,g,I,f,d,p,b,$),A=Mo(x,S[x],u[v],l,s,r,d),S[x]+=A;let z={},C=t[x]+.5*t[v]-S[x]-a[ct[x]];const w=b/2+$;var N,F,T,P;const K=ct[x]==="left"?((N=a.left)!==null&&N!==void 0?N:0)+((F=a.right)!==null&&F!==void 0?F:0):((T=a.top)!==null&&T!==void 0?T:0)+((P=a.bottom)!==null&&P!==void 0?P:0),j=u[v]-K-b/2-$,_=t[x]+b/2-(S[x]+a[ct[x]]),W=t[x]+t[v]-b/2-(S[x]+a[ct[x]]),X=Xr(C,_,W);return z[x]=Xr(X,w,j),{position:S,maxHeight:k,arrowOffsetLeft:z.left,arrowOffsetTop:z.top,placement:g.placement}}function V6(e){let{placement:t,targetNode:u,overlayNode:n,scrollNode:a,padding:r,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,m=n instanceof HTMLElement?N6(n):document.documentElement,b=m===document.documentElement;const $=window.getComputedStyle(m).position;let g=!!$&&$!=="static",y=b?Uu(u):No(u,m);if(!b){let{marginTop:z,marginLeft:C}=window.getComputedStyle(u);y.top+=parseInt(z,10)||0,y.left+=parseInt(C,10)||0}let x=Uu(n),v=K6(n);var E,B;x.width+=((E=v.left)!==null&&E!==void 0?E:0)+((B=v.right)!==null&&B!==void 0?B:0);var S,I;x.height+=((S=v.top)!==null&&S!==void 0?S:0)+((I=v.bottom)!==null&&I!==void 0?I:0);let D=I6(a),R=Ko(l),A=Ko(m),k=l.tagName==="BODY"?Uu(m):No(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(A.scroll.top=0,A.scroll.left=0),z6(t,y,x,D,v,r,i,R,A,k,s,d,g,c,f,p)}function Uu(e){let{top:t,left:u,width:n,height:a}=e.getBoundingClientRect(),{scrollTop:r,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+r-l,left:u+i-s,width:n,height:a}}function No(e,t){let u=window.getComputedStyle(e),n;if(u.position==="fixed"){let{top:a,left:r,width:i,height:l}=e.getBoundingClientRect();n={top:a,left:r,width:i,height:l}}else{n=Uu(e);let a=Uu(t),r=window.getComputedStyle(t);a.top+=(parseInt(r.borderTopWidth,10)||0)-t.scrollTop,a.left+=(parseInt(r.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=a.top,n.left-=a.left}return n.top-=parseInt(u.marginTop,10)||0,n.left-=parseInt(u.marginLeft,10)||0,n}function N6(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!_o(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!_o(t);)t=t.parentElement;return t||document.documentElement}function _o(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 b3=new WeakMap;function _6(e){let{triggerRef:t,isOpen:u,onClose:n}=e;o.useEffect(()=>{if(!u||n===null)return;let a=r=>{let i=r.target;if(!t.current||i instanceof Node&&!i.contains(t.current)||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement)return;let l=n||b3.get(t.current);l&&l()};return window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("scroll",a,!0)}},[u,n,t])}let Ce=typeof document<"u"?window.visualViewport:null;function fl(e){let{direction:t}=me(),{arrowSize:u=0,targetRef:n,overlayRef:a,scrollRef:r=a,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:$,arrowBoundaryOffset:g=0}=e,[y,x]=o.useState(null),v=[p,i,a.current,n.current,r.current,l,s,d,c,f,m,t,$,g,u],E=o.useRef(Ce==null?void 0:Ce.scale);o.useEffect(()=>{m&&(E.current=Ce==null?void 0:Ce.scale)},[m]);let B=o.useCallback(()=>{if(p===!1||!m||!a.current||!n.current||!d||(Ce==null?void 0:Ce.scale)!==E.current)return;let A=null;if(r.current&&r.current.contains(document.activeElement)){var k;let P=(k=document.activeElement)===null||k===void 0?void 0:k.getBoundingClientRect(),K=r.current.getBoundingClientRect();var z;if(A={type:"top",offset:((z=P==null?void 0:P.top)!==null&&z!==void 0?z:0)-K.top},A.offset>K.height/2){A.type="bottom";var C;A.offset=((C=P==null?void 0:P.bottom)!==null&&C!==void 0?C:0)-K.bottom}}let w=a.current;if(!$&&a.current){var N;w.style.top="0px",w.style.bottom="";var F;w.style.maxHeight=((F=(N=window.visualViewport)===null||N===void 0?void 0:N.height)!==null&&F!==void 0?F:window.innerHeight)+"px"}let T=V6({placement:L6(i,t),overlayNode:a.current,targetNode:n.current,scrollNode:r.current||a.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:$,arrowSize:u,arrowBoundaryOffset:g});if(T.position){if(w.style.top="",w.style.bottom="",w.style.left="",w.style.right="",Object.keys(T.position).forEach(P=>w.style[P]=T.position[P]+"px"),w.style.maxHeight=T.maxHeight!=null?T.maxHeight+"px":"",A&&document.activeElement&&r.current){let P=document.activeElement.getBoundingClientRect(),K=r.current.getBoundingClientRect(),j=P[A.type]-K[A.type];r.current.scrollTop+=j-A.offset}x(T)}},v);q(B,v),j6(B),Gu({ref:a,onResize:B}),Gu({ref:n,onResize:B});let S=o.useRef(!1);q(()=>{let A,k=()=>{S.current=!0,clearTimeout(A),A=setTimeout(()=>{S.current=!1},500),B()},z=()=>{S.current&&k()};return Ce==null||Ce.addEventListener("resize",k),Ce==null||Ce.addEventListener("scroll",z),()=>{Ce==null||Ce.removeEventListener("resize",k),Ce==null||Ce.removeEventListener("scroll",z)}},[B]);let I=o.useCallback(()=>{S.current||b==null||b()},[b,S]);_6({triggerRef:n,isOpen:m,onClose:b&&I});var D,R;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...y==null?void 0:y.position,maxHeight:(D=y==null?void 0:y.maxHeight)!==null&&D!==void 0?D:"100vh"}},placement:(R=y==null?void 0:y.placement)!==null&&R!==void 0?R:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:y==null?void 0:y.arrowOffsetLeft,top:y==null?void 0:y.arrowOffsetTop}},updatePosition:B}}function j6(e){q(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function L6(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Ct=[];function pl(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:a,isDismissable:r=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>(a&&Ct.push(t),()=>{let b=Ct.indexOf(t);b>=0&&Ct.splice(b,1)}),[a,t]);let s=()=>{Ct[Ct.length-1]===t&&u&&u()},d=b=>{(!l||l(b.target))&&Ct[Ct.length-1]===t&&(b.stopPropagation(),b.preventDefault())},c=b=>{(!l||l(b.target))&&(Ct[Ct.length-1]===t&&(b.stopPropagation(),b.preventDefault()),s())},f=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),s())};Ig({ref:t,onInteractOutside:r&&a?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=ot({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||Lg(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 h3(e,t,u){let{type:n}=e,{isOpen:a}=t;o.useEffect(()=>{u&&u.current&&b3.set(u.current,t.close)});let r;n==="menu"?r=!0:n==="listbox"&&(r="listbox");let i=ae();return{triggerProps:{"aria-haspopup":r,"aria-expanded":a,"aria-controls":a?i:void 0,onPress:t.toggle},overlayProps:{id:i}}}const Nr=typeof document<"u"&&window.visualViewport,O6=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let ua=0,_r;function $3(e={}){let{isDisabled:t}=e;q(()=>{if(!t)return ua++,ua===1&&(Rn()?_r=U6():_r=H6()),()=>{ua--,ua===0&&_r()}},[t])}function H6(){return nt(Nu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Nu(document.documentElement,"overflow","hidden"))}function U6(){let e,t,u=d=>{e=Me(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=Nu(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()},a=()=>{t&&t()},r=d=>{let c=d.target;W6(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Nr&&(Nr.height<window.innerHeight?requestAnimationFrame(()=>{jo(c)}):Nr.addEventListener("resize",()=>jo(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=nt(rn(window,"scroll",d),Nu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Nu(document.documentElement,"overflow","hidden"),Nu(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=nt(rn(document,"touchstart",u,{passive:!1,capture:!0}),rn(document,"touchmove",n,{passive:!1,capture:!0}),rn(document,"touchend",a,{passive:!1,capture:!0}),rn(document,"focus",r,!0));return()=>{t==null||t(),i==null||i(),s()}}function Nu(e,t,u){let n=e.style[t];return e.style[t]=u,()=>{e.style[t]=n}}function rn(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function jo(e){let t=document.scrollingElement||document.documentElement,u=e;for(;u&&u!==t;){let n=Me(u);if(n!==document.documentElement&&n!==document.body&&n!==u){let a=n.getBoundingClientRect().top,r=u.getBoundingClientRect().top;r>a+u.clientHeight&&(n.scrollTop+=r-a)}u=n.parentElement}}function W6(e){return e instanceof HTMLInputElement&&!O6.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const vi=o.createContext(null);function Z6(e){let{children:t}=e,u=o.useContext(vi),[n,a]=o.useState(0),r=o.useMemo(()=>({parent:u,modalCount:n,addModal(){a(i=>i+1),u&&u.addModal()},removeModal(){a(i=>i-1),u&&u.removeModal()}}),[u,n]);return o.createElement(vi.Provider,{value:r},t)}function G6(){let e=o.useContext(vi);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function q6(e){let{modalProviderProps:t}=G6();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function Y6(e){return o.createElement(Z6,null,o.createElement(q6,e))}function g3(e){let t=Kt(),{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 a=o.createElement(Y6,n);return uu.createPortal(a,u)}var D3={};D3={dismiss:"تجاهل"};var y3={};y3={dismiss:"Отхвърляне"};var v3={};v3={dismiss:"Odstranit"};var x3={};x3={dismiss:"Luk"};var C3={};C3={dismiss:"Schließen"};var E3={};E3={dismiss:"Απόρριψη"};var B3={};B3={dismiss:"Dismiss"};var k3={};k3={dismiss:"Descartar"};var P3={};P3={dismiss:"Lõpeta"};var S3={};S3={dismiss:"Hylkää"};var A3={};A3={dismiss:"Rejeter"};var w3={};w3={dismiss:"התעלם"};var F3={};F3={dismiss:"Odbaci"};var T3={};T3={dismiss:"Elutasítás"};var R3={};R3={dismiss:"Ignora"};var I3={};I3={dismiss:"閉じる"};var K3={};K3={dismiss:"무시"};var M3={};M3={dismiss:"Atmesti"};var z3={};z3={dismiss:"Nerādīt"};var V3={};V3={dismiss:"Lukk"};var N3={};N3={dismiss:"Negeren"};var _3={};_3={dismiss:"Zignoruj"};var j3={};j3={dismiss:"Descartar"};var L3={};L3={dismiss:"Dispensar"};var O3={};O3={dismiss:"Revocare"};var H3={};H3={dismiss:"Пропустить"};var U3={};U3={dismiss:"Zrušiť"};var W3={};W3={dismiss:"Opusti"};var Z3={};Z3={dismiss:"Odbaci"};var G3={};G3={dismiss:"Avvisa"};var q3={};q3={dismiss:"Kapat"};var Y3={};Y3={dismiss:"Скасувати"};var J3={};J3={dismiss:"取消"};var Q3={};Q3={dismiss:"關閉"};var X3={};X3={"ar-AE":D3,"bg-BG":y3,"cs-CZ":v3,"da-DK":x3,"de-DE":C3,"el-GR":E3,"en-US":B3,"es-ES":k3,"et-EE":P3,"fi-FI":S3,"fr-FR":A3,"he-IL":w3,"hr-HR":F3,"hu-HU":T3,"it-IT":R3,"ja-JP":I3,"ko-KR":K3,"lt-LT":M3,"lv-LV":z3,"nb-NO":V3,"nl-NL":N3,"pl-PL":_3,"pt-BR":j3,"pt-PT":L3,"ro-RO":O3,"ru-RU":H3,"sk-SK":U3,"sl-SI":W3,"sr-SP":Z3,"sv-SE":G3,"tr-TR":q3,"uk-UA":Y3,"zh-CN":J3,"zh-TW":Q3};function J6(e){return e&&e.__esModule?e.default:e}function Aa(e){let{onDismiss:t,...u}=e,n=$e(J6(X3),"@react-aria/overlays"),a=mt(u,n.format("dismiss")),r=()=>{t&&t()};return o.createElement(tu,null,o.createElement("button",{...a,tabIndex:-1,onClick:r,style:{width:1,height:1}}))}let ln=new WeakMap,Ge=[];function ml(e,t=document.body){let u=new Set(e),n=new Set,a=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&&r(s),f!==NodeFilter.FILTER_REJECT){let p=c.nextNode();for(;p!=null;)r(p),p=c.nextNode()}},r=s=>{var d;let c=(d=ln.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),ln.set(s,c+1))};Ge.length&&Ge[Ge.length-1].disconnect(),a(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&&a(c)}});i.observe(t,{childList:!0,subtree:!0});let l={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Ge.push(l),()=>{i.disconnect();for(let s of n){let d=ln.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),ln.delete(s)):ln.set(s,d-1))}l===Ge[Ge.length-1]?(Ge.pop(),Ge.length&&Ge[Ge.length-1].observe()):Ge.splice(Ge.indexOf(l),1)}}function Q6(e,t){let{triggerRef:u,popoverRef:n,isNonModal:a,isKeyboardDismissDisabled:r,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:d}=pl({isOpen:t.isOpen&&!l["data-react-aria-top-layer"],onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a,isKeyboardDismissDisabled:r,shouldCloseOnInteractOutside:i},n),{overlayProps:c,arrowProps:f,placement:p}=fl({...l,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:a?t.close:null});return $3({isDisabled:a||!t.isOpen}),q(()=>{if(t.isOpen&&!a&&n.current)return ml([n.current])},[a,t.isOpen,n]),{popoverProps:V(s,c),arrowProps:f,underlayProps:d,placement:p}}const X6=o.createContext({});function eD(){var e;return(e=o.useContext(X6))!==null&&e!==void 0?e:{}}const ef=o.createContext(null);function tf(e){let t=Kt(),{portalContainer:u=t?null:document.body,isExiting:n}=e,[a,r]=o.useState(!1),i=o.useMemo(()=>({contain:a,setContain:r}),[a,r]),{getContainer:l}=eD();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(Mn,{restoreFocus:!0,contain:a&&!n},s)),s=o.createElement(ef.Provider,{value:i},o.createElement(Bg,null,s)),uu.createPortal(s,u)}function uf(){let e=o.useContext(ef),t=e==null?void 0:e.setContain;q(()=>{t==null||t(!0)},[t])}function tD(e,t,u){let{overlayProps:n,underlayProps:a}=pl({...e,isOpen:t.isOpen,onClose:t.close},u);return $3({isDisabled:!t.isOpen}),uf(),o.useEffect(()=>{if(t.isOpen&&u.current)return ml([u.current])},[t.isOpen,u]),{modalProps:V(n),underlayProps:a}}const nr=new WeakMap;function uD(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function nf(e,t){let u=nr.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${uD(t)}`}function xi(e){return sa()?e.altKey:e.ctrlKey}const nD=1e3;function af(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,a=o.useRef({search:"",timeout:void 0}).current,r=i=>{let l=aD(i.key);if(!(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))){if(l===" "&&a.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),a.search+=l,t.getKeyForSearch!=null){let s=t.getKeyForSearch(a.search,u.focusedKey);s==null&&(s=t.getKeyForSearch(a.search)),s!=null&&(u.setFocusedKey(s),n&&n(s))}clearTimeout(a.timeout),a.timeout=setTimeout(()=>{a.search=""},nD)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?r:void 0}}}function aD(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ar(e){let{selectionManager:t,keyboardDelegate:u,ref:n,autoFocus:a=!1,shouldFocusWrap:r=!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:$}=me(),g=Bu(),y=C=>{var w;if(C.altKey&&C.key==="Tab"&&C.preventDefault(),!(!((w=n.current)===null||w===void 0)&&w.contains(C.target)))return;const N=(M,Z)=>{if(M!=null){if(t.isLink(M)&&b==="selection"&&s&&!xi(C)){var Y;uu.flushSync(()=>{t.setFocusedKey(M,Z)});let L=(Y=m.current)===null||Y===void 0?void 0:Y.querySelector(`[data-key="${CSS.escape(M.toString())}"]`),G=t.getItemProps(M);L&&g.open(L,C,G.href,G.routerOptions);return}if(t.setFocusedKey(M,Z),t.isLink(M)&&b==="override")return;C.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&!xi(C)&&t.replaceSelection(M)}};switch(C.key){case"ArrowDown":if(u.getKeyBelow){var F,T,P;let M=t.focusedKey!=null?(F=u.getKeyBelow)===null||F===void 0?void 0:F.call(u,t.focusedKey):(T=u.getFirstKey)===null||T===void 0?void 0:T.call(u);M==null&&r&&(M=(P=u.getFirstKey)===null||P===void 0?void 0:P.call(u,t.focusedKey)),M!=null&&(C.preventDefault(),N(M))}break;case"ArrowUp":if(u.getKeyAbove){var K,j,_;let M=t.focusedKey!=null?(K=u.getKeyAbove)===null||K===void 0?void 0:K.call(u,t.focusedKey):(j=u.getLastKey)===null||j===void 0?void 0:j.call(u);M==null&&r&&(M=(_=u.getLastKey)===null||_===void 0?void 0:_.call(u,t.focusedKey)),M!=null&&(C.preventDefault(),N(M))}break;case"ArrowLeft":if(u.getKeyLeftOf){var W,X,ee;let M=t.focusedKey!=null?(W=u.getKeyLeftOf)===null||W===void 0?void 0:W.call(u,t.focusedKey):null;M==null&&r&&(M=$==="rtl"?(X=u.getFirstKey)===null||X===void 0?void 0:X.call(u,t.focusedKey):(ee=u.getLastKey)===null||ee===void 0?void 0:ee.call(u,t.focusedKey)),M!=null&&(C.preventDefault(),N(M,$==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var be,le,de;let M=t.focusedKey!=null?(be=u.getKeyRightOf)===null||be===void 0?void 0:be.call(u,t.focusedKey):null;M==null&&r&&(M=$==="rtl"?(le=u.getLastKey)===null||le===void 0?void 0:le.call(u,t.focusedKey):(de=u.getFirstKey)===null||de===void 0?void 0:de.call(u,t.focusedKey)),M!=null&&(C.preventDefault(),N(M,$==="rtl"?"last":"first"))}break;case"Home":if(u.getFirstKey){if(t.focusedKey===null&&C.shiftKey)return;C.preventDefault();let M=u.getFirstKey(t.focusedKey,Mu(C));t.setFocusedKey(M),M!=null&&(Mu(C)&&C.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&t.replaceSelection(M))}break;case"End":if(u.getLastKey){if(t.focusedKey===null&&C.shiftKey)return;C.preventDefault();let M=u.getLastKey(t.focusedKey,Mu(C));t.setFocusedKey(M),M!=null&&(Mu(C)&&C.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&t.replaceSelection(M))}break;case"PageDown":if(u.getKeyPageBelow&&t.focusedKey!=null){let M=u.getKeyPageBelow(t.focusedKey);M!=null&&(C.preventDefault(),N(M))}break;case"PageUp":if(u.getKeyPageAbove&&t.focusedKey!=null){let M=u.getKeyPageAbove(t.focusedKey);M!=null&&(C.preventDefault(),N(M))}break;case"a":Mu(C)&&t.selectionMode==="multiple"&&l!==!0&&(C.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(C.stopPropagation(),C.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(C.shiftKey)n.current.focus();else{let M=Se(n.current,{tabbable:!0}),Z,Y;do Y=M.lastChild(),Y&&(Z=Y);while(Y);Z&&!Z.contains(document.activeElement)&&Le(Z)}break}}},x=o.useRef({top:0,left:0});lt(m,"scroll",p?void 0:()=>{var C,w,N,F;x.current={top:(N=(C=m.current)===null||C===void 0?void 0:C.scrollTop)!==null&&N!==void 0?N:0,left:(F=(w=m.current)===null||w===void 0?void 0:w.scrollLeft)!==null&&F!==void 0?F:0}});let v=C=>{if(t.isFocused){C.currentTarget.contains(C.target)||t.setFocused(!1);return}if(C.currentTarget.contains(C.target)){if(t.setFocused(!0),t.focusedKey==null){var w,N;let P=j=>{j!=null&&(t.setFocusedKey(j),s&&t.replaceSelection(j))},K=C.relatedTarget;var F,T;K&&C.currentTarget.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING?P((F=t.lastSelectedKey)!==null&&F!==void 0?F:(w=u.getLastKey)===null||w===void 0?void 0:w.call(u)):P((T=t.firstSelectedKey)!==null&&T!==void 0?T:(N=u.getFirstKey)===null||N===void 0?void 0:N.call(u))}else!p&&m.current&&(m.current.scrollTop=x.current.top,m.current.scrollLeft=x.current.left);if(t.focusedKey!=null&&m.current){let P=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);P&&(P.contains(document.activeElement)||Le(P),Xt()==="keyboard"&&ze(P,{containingElement:n.current}))}}},E=C=>{C.currentTarget.contains(C.relatedTarget)||t.setFocused(!1)},B=o.useRef(!1);lt(n,ag,c?C=>{let{detail:w}=C;C.stopPropagation(),t.setFocused(!0),(w==null?void 0:w.focusStrategy)==="first"&&(B.current=!0)}:void 0);let S=ie(()=>{var C,w;let N=(w=(C=u.getFirstKey)===null||C===void 0?void 0:C.call(u))!==null&&w!==void 0?w:null;if(N==null){var F;(F=n.current)===null||F===void 0||F.dispatchEvent(new CustomEvent(ks,{cancelable:!0,bubbles:!0})),t.collection.size>0&&(B.current=!1)}else t.setFocusedKey(N),B.current=!1});Hl(()=>{B.current&&S()},[t.collection,S]);let I=ie(()=>{t.collection.size>0&&(B.current=!1)});Hl(()=>{I()},[t.focusedKey,I]),lt(n,ng,c?C=>{C.stopPropagation(),t.setFocused(!1),t.setFocusedKey(null)}:void 0);const D=o.useRef(a);o.useEffect(()=>{if(D.current){var C,w;let T=null;var N;a==="first"&&(T=(N=(C=u.getFirstKey)===null||C===void 0?void 0:C.call(u))!==null&&N!==void 0?N:null);var F;a==="last"&&(T=(F=(w=u.getLastKey)===null||w===void 0?void 0:w.call(u))!==null&&F!==void 0?F:null);let P=t.selectedKeys;if(P.size){for(let K of P)if(t.canSelectItem(K)){T=K;break}}t.setFocused(!0),t.setFocusedKey(T),T==null&&!c&&n.current&&xe(n.current)}},[]);let R=o.useRef(t.focusedKey);o.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==R.current||D.current)&&m.current&&n.current){let C=Xt(),w=n.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);if(!w)return;(C==="keyboard"||D.current)&&(Es(m.current,w),C!=="virtual"&&ze(w,{containingElement:n.current}))}!c&&t.isFocused&&t.focusedKey==null&&R.current!=null&&n.current&&xe(n.current),R.current=t.focusedKey,D.current=!1}),lt(n,"react-aria-focus-scope-restore",C=>{C.preventDefault(),t.setFocused(!0)});let A={onKeyDown:y,onFocus:v,onBlur:E,onMouseDown(C){m.current===C.target&&C.preventDefault()}},{typeSelectProps:k}=af({keyboardDelegate:u,selectionManager:t});d||(A=V(k,A));let z;return c?z=-1:z=t.focusedKey==null?0:-1,{collectionProps:{...A,tabIndex:z}}}function Xu(e){let{id:t,selectionManager:u,key:n,ref:a,shouldSelectOnPressUp:r,shouldUseVirtualFocus:i,focus:l,isDisabled:s,onAction:d,allowsDifferentPressOrigin:c,linkBehavior:f="action"}=e,p=Bu();t=ae(t);let m=P=>{if(P.pointerType==="keyboard"&&xi(P))u.toggleSelection(n);else{if(u.selectionMode==="none")return;if(u.isLink(n)){if(f==="selection"&&a.current){let K=u.getItemProps(n);p.open(a.current,P,K.href,K.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):P&&P.shiftKey?u.extendSelection(n):u.selectionBehavior==="toggle"||P&&(Mu(P)||P.pointerType==="touch"||P.pointerType==="virtual")?u.toggleSelection(n):u.replaceSelection(n)}};o.useEffect(()=>{if(n===u.focusedKey&&u.isFocused)if(!i)l?l():document.activeElement!==a.current&&a.current&&xe(a.current);else{var K;let j=new CustomEvent(ks,{cancelable:!0,bubbles:!0});(K=a.current)===null||K===void 0||K.dispatchEvent(j)}},[a,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(P){P.target===a.current&&u.setFocusedKey(n)}}:s&&(b.onMouseDown=P=>{P.preventDefault()});let $=u.isLink(n)&&f==="override",g=u.isLink(n)&&f!=="selection"&&f!=="none",y=!s&&u.canSelectItem(n)&&!$,x=(d||g)&&!s,v=x&&(u.selectionBehavior==="replace"?!y:!y||u.isEmpty),E=x&&y&&u.selectionBehavior==="replace",B=v||E,S=o.useRef(null),I=B&&y,D=o.useRef(!1),R=o.useRef(!1),A=P=>{if(d&&d(),g&&a.current){let K=u.getItemProps(n);p.open(a.current,P,K.href,K.routerOptions)}},k={};r?(k.onPressStart=P=>{S.current=P.pointerType,D.current=I,P.pointerType==="keyboard"&&(!B||Oo())&&m(P)},c?(k.onPressUp=v?void 0:P=>{P.pointerType==="mouse"&&y&&m(P)},k.onPress=v?A:P=>{P.pointerType!=="keyboard"&&P.pointerType!=="mouse"&&y&&m(P)}):k.onPress=P=>{if(v||E&&P.pointerType!=="mouse"){if(P.pointerType==="keyboard"&&!Lo())return;A(P)}else P.pointerType!=="keyboard"&&y&&m(P)}):(k.onPressStart=P=>{S.current=P.pointerType,D.current=I,R.current=v,y&&(P.pointerType==="mouse"&&!v||P.pointerType==="keyboard"&&(!x||Oo()))&&m(P)},k.onPress=P=>{(P.pointerType==="touch"||P.pointerType==="pen"||P.pointerType==="virtual"||P.pointerType==="keyboard"&&B&&Lo()||P.pointerType==="mouse"&&R.current)&&(B?A(P):y&&m(P))}),b["data-key"]=n,k.preventFocusOnPress=i;let{pressProps:z,isPressed:C}=We(k),w=E?P=>{S.current==="mouse"&&(P.stopPropagation(),P.preventDefault(),A(P))}:void 0,{longPressProps:N}=Us({isDisabled:!I,onLongPress(P){P.pointerType==="touch"&&(m(P),u.setSelectionBehavior("toggle"))}}),F=P=>{S.current==="touch"&&D.current&&P.preventDefault()},T=u.isLink(n)?P=>{Jt.isOpening||P.preventDefault()}:void 0;return{itemProps:V(b,y||v?z:{},I?N:{},{onDoubleClick:w,onDragStartCapture:F,onClick:T,id:t}),isPressed:C,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:y,hasAction:B}}function Lo(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Oo(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class Ci{getItemRect(t){let u=this.ref.current;if(!u)return null;let n=t!=null?u.querySelector(`[data-key="${CSS.escape(t.toString())}"]`):null;if(!n)return null;let a=u.getBoundingClientRect(),r=n.getBoundingClientRect();return{x:r.left-a.left+u.scrollLeft,y:r.top-a.top+u.scrollTop,width:r.width,height:r.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,a,r;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:(a=t==null?void 0:t.offsetWidth)!==null&&a!==void 0?a:0,height:(r=t==null?void 0:t.offsetHeight)!==null&&r!==void 0?r:0}}constructor(t){this.ref=t}}class en{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 a=this.collection.getItem(n);if((a==null?void 0:a.type)==="item"&&!this.isDisabled(a))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 a=t,r=this.layoutDelegate.getItemRect(a);if(!r||a==null)return null;let i=r;do{if(a=u(a),a==null)break;r=this.layoutDelegate.getItemRect(a)}while(r&&n(i,r)&&a!=null);return a}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&&!yn(u))return this.getFirstKey();let a=t;if(this.orientation==="horizontal"){let r=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>r&&a!=null;)a=this.getKeyAbove(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}else{let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&a!=null;)a=this.getKeyAbove(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}return a??this.getFirstKey()}getKeyPageBelow(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!yn(u))return this.getLastKey();let a=t;if(this.orientation==="horizontal"){let r=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<r&&a!=null;)a=this.getKeyBelow(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}else{let r=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<r&&a!=null;)a=this.getKeyBelow(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}return a??this.getLastKey()}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,a=u||this.getFirstKey();for(;a!=null;){let r=n.getItem(a);if(!r)return null;let i=r.textValue.slice(0,t.length);if(r.textValue&&this.collator.compare(i,t)===0)return a;a=this.getNextKey(a)}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 Ci(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 Ci(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function bl(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:a,keyboardDelegate:r,layoutDelegate:i}=e,l=Qu({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>r||new en({collection:u,disabledKeys:n,disabledBehavior:s,ref:a,collator:l,layoutDelegate:i}),[r,i,u,n,a,l,s]),{collectionProps:c}=ar({...e,ref:a,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function rf(e,t,u){let n=O(e,{labelable:!0}),a=e.selectionBehavior||"toggle",r=e.linkBehavior||(a==="replace"?"action":"override");a==="toggle"&&r==="action"&&(r="override");let{listProps:i}=bl({...e,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:r}),{focusWithinProps:l}=ot({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=ae(e.id);nr.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:r});let{labelProps:d,fieldProps:c}=Yc({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:V(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...V(c,i)})}}function lf(e){return null}lf.getCollectionNode=function*(t,u){let{childItems:n,title:a,children:r}=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:rD(t),*childNodes(){if(n)for(let s of n)yield{type:"item",value:s};else if(a){let s=[];o.Children.forEach(r,d=>{s.push({type:"item",element:d})}),yield*s}}}};function rD(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&o.Children.count(e.children)>0)}let Ho=lf;function of(e){return null}of.getCollectionNode=function*(t){let{children:u,title:n,items:a}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof u=="function"){if(!a)throw new Error("props.children was a function but props.items is missing");for(let r of a)yield{type:"item",value:r,renderer:u}}else{let r=[];o.Children.forEach(u,i=>{r.push({type:"item",element:i})}),yield*r}}}};let iD=of;class lD{build(t,u){return this.context=u,Uo(()=>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 a=0;for(let r of n)yield*this.getFullNode({value:r,index:a},{renderer:u}),a++}else{let a=[];o.Children.forEach(u,i=>{i&&a.push(i)});let r=0;for(let i of a){let l=this.getFullNode({element:i,index:r},{});for(let s of l)r++,yield s}}}getKey(t,u,n,a){if(t.key!=null)return t.key;if(u.type==="cell"&&u.key!=null)return`${a}${u.key}`;let r=u.value;if(r!=null){var i;let l=(i=r.key)!==null&&i!==void 0?i:r.id;if(l==null)throw new Error("No key found for item");return l}return a?`${a}.${u.index}`:`$.${u.index}`}getChildState(t,u){return{renderer:u.renderer||t.renderer}}*getFullNode(t,u,n,a){if(o.isValidElement(t.element)&&t.element.type===o.Fragment){let g=[];o.Children.forEach(t.element.props.children,x=>{g.push(x)});var r;let y=(r=t.index)!==null&&r!==void 0?r:0;for(const x of g)yield*this.getFullNode({element:x,index:y++},u,n,a);return}let i=t.element;if(!i&&t.value&&u&&u.renderer){let g=this.cache.get(t.value);if(g&&(!g.shouldInvalidate||!g.shouldInvalidate(this.context))){g.index=t.index,g.parentKey=a?a.key:null,yield g;return}i=u.renderer(t.value)}if(o.isValidElement(i)){let g=i.type;if(typeof g!="function"&&typeof g.getCollectionNode!="function"){let E=i.type;throw new Error(`Unknown element <${E}> in collection.`)}let y=g.getCollectionNode(i.props,this.context);var l;let x=(l=t.index)!==null&&l!==void 0?l:0,v=y.next();for(;!v.done&&v.value;){let E=v.value;t.index=x;var s;let B=(s=E.key)!==null&&s!==void 0?s:null;B==null&&(B=E.element?null:this.getKey(i,t,u,n));let I=[...this.getFullNode({...E,key:B,index:x,wrapper:oD(t.wrapper,E.wrapper)},this.getChildState(u,E),n?`${n}${i.key}`:i.key,a)];for(let D of I){var d,c;D.value=(c=(d=E.value)!==null&&d!==void 0?d:t.value)!==null&&c!==void 0?c:null,D.value&&this.cache.set(D.value,D);var f;if(t.type&&D.type!==t.type)throw new Error(`Unsupported type <${jr(D.type)}> in <${jr((f=a==null?void 0:a.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${jr(t.type)}> is supported.`);x++,yield D}v=y.next(I)}return}if(t.key==null||t.type==null)return;let p=this;var m,b;let $={type:t.type,props:t.props,key:t.key,parentKey:a?a.key:null,value:(m=t.value)!==null&&m!==void 0?m:null,level:a?a.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:Uo(function*(){if(!t.hasChildNodes||!t.childNodes)return;let g=0;for(let y of t.childNodes()){y.key!=null&&(y.key=`${$.key}${y.key}`);let x=p.getFullNode({...y,index:g},p.getChildState(u,y),$.key,$);for(let v of x)g++,yield v}})};yield $}constructor(){this.cache=new WeakMap}}function Uo(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 oD(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function jr(e){return e[0].toUpperCase()+e.slice(1)}function hl(e,t,u){let n=o.useMemo(()=>new lD,[]),{children:a,items:r,collection:i}=e;return o.useMemo(()=>{if(i)return i;let s=n.build({children:a,items:r},u);return t(s)},[n,a,r,i,u,t])}function ve(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Pt(e){return Wt(e,0)}function Wt(e,t){if(t<0)return;let u=0;for(let n of e){if(u===t)return n;u++}}function wt(e){let t;for(let u of e)t=u;return t}function Lr(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...Wo(e,t),t],a=[...Wo(e,u),u],r=n.slice(0,a.length).findIndex((i,l)=>i!==a[l]);return r!==-1?(t=n[r],u=a[r],t.index-u.index):n.findIndex(i=>i===u)>=0?1:(a.findIndex(i=>i===t)>=0,-1)}function Wo(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 Zo=new WeakMap;function $l(e){let t=Zo.get(e);if(t!=null)return t;let u=0,n=a=>{for(let r of a)r.type==="section"?n(ve(r,e)):u++};return n(e),Zo.set(e,u),u}function sf(e,t,u){var n,a;let{key:r}=e,i=nr.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(r);var d;let c=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(r);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 $;let g=($=e.shouldUseVirtualFocus)!==null&&$!==void 0?$:i==null?void 0:i.shouldUseVirtualFocus;var y;let x=(y=e.isVirtualized)!==null&&y!==void 0?y:i==null?void 0:i.isVirtualized,v=ut(),E=ut(),B={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};pt()&&Vi()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=v,B["aria-describedby"]=E);let S=t.collection.getItem(r);if(x){let T=Number(S==null?void 0:S.index);B["aria-posinset"]=Number.isNaN(T)?void 0:T+1,B["aria-setsize"]=$l(t.collection)}let I=i!=null&&i.onAction?()=>{var T;return i==null||(T=i.onAction)===null||T===void 0?void 0:T.call(i,r)}:void 0,D=nf(t,r),{itemProps:R,isPressed:A,isFocused:k,hasAction:z,allowsSelection:C}=Xu({selectionManager:t.selectionManager,key:r,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&b,isVirtualized:x,shouldUseVirtualFocus:g,isDisabled:s,onAction:I||!(S==null||(n=S.props)===null||n===void 0)&&n.onAction?nt(S==null||(a=S.props)===null||a===void 0?void 0:a.onAction,I):void 0,linkBehavior:i==null?void 0:i.linkBehavior,id:D}),{hoverProps:w}=ye({isDisabled:s||!b,onHoverStart(){Qt()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r))}}),N=O(S==null?void 0:S.props);delete N.id;let F=Ua(S==null?void 0:S.props);return{optionProps:{...B,...V(N,R,w,F),id:D},labelProps:{id:v},descriptionProps:{id:E},isFocused:k,isFocusVisible:k&&Qt(),isSelected:c,isDisabled:s,isPressed:A,allowsSelection:C,hasAction:z}}function df(e){let{heading:t,"aria-label":u}=e,n=ae();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}var cf={};cf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var ff={};ff={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var pf={};pf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var mf={};mf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var bf={};bf={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var hf={};hf={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var $f={};$f={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 Df={};Df={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 vf={};vf={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var xf={};xf={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Cf={};Cf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Ef={};Ef={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Bf={};Bf={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var kf={};kf={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Pf={};Pf={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Sf={};Sf={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Af={};Af={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var wf={};wf={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Ff={};Ff={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Tf={};Tf={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Rf={};Rf={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var If={};If={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Kf={};Kf={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Mf={};Mf={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var zf={};zf={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Vf={};Vf={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var Nf={};Nf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var _f={};_f={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var jf={};jf={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Lf={};Lf={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Of={};Of={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Hf={};Hf={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var Uf={};Uf={"ar-AE":cf,"bg-BG":ff,"cs-CZ":pf,"da-DK":mf,"de-DE":bf,"el-GR":hf,"en-US":$f,"es-ES":gf,"et-EE":Df,"fi-FI":yf,"fr-FR":vf,"he-IL":xf,"hr-HR":Cf,"hu-HU":Ef,"it-IT":Bf,"ja-JP":kf,"ko-KR":Pf,"lt-LT":Sf,"lv-LV":Af,"nb-NO":wf,"nl-NL":Ff,"pl-PL":Tf,"pt-BR":Rf,"pt-PT":If,"ro-RO":Kf,"ru-RU":Mf,"sk-SK":zf,"sl-SI":Vf,"sr-SP":Nf,"sv-SE":_f,"tr-TR":jf,"uk-UA":Lf,"zh-CN":Of,"zh-TW":Hf};function sD(e){return e&&e.__esModule?e.default:e}function gl(e,t,u){let{type:n="menu",isDisabled:a,trigger:r="press"}=e,i=ae(),{triggerProps:l,overlayProps:s}=h3({type:n},t,u),d=m=>{if(!a&&!(r==="longPress"&&!m.altKey)&&u&&u.current)switch(m.key){case"Enter":case" ":if(r==="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=$e(sD(Uf),"@react-aria/menu"),{longPressProps:f}=Us({isDisabled:a||r!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!a&&t.open(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!a&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...r==="press"?p:f,id:i,onKeyDown:d},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const Wf=new WeakMap;function dD(e,t,u){let{shouldFocusWrap:n=!0,onKeyDown:a,onKeyUp:r,...i}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let l=O(e,{labelable:!0}),{listProps:s}=bl({...i,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return Wf.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:V(l,{onKeyDown:a,onKeyUp:r},{role:"menu",...s,onKeyDown:d=>{var c;(d.key!=="Escape"||e.shouldUseVirtualFocus)&&((c=s.onKeyDown)===null||c===void 0||c.call(s,d))}})}}function cD(e,t,u){let{id:n,key:a,closeOnSelect:r,isVirtualized:i,"aria-haspopup":l,onPressStart:s,onPressUp:d,onPress:c,onPressChange:f,onPressEnd:p,onHoverStart:m,onHoverChange:b,onHoverEnd:$,onKeyDown:g,onKeyUp:y,onFocus:x,onFocusChange:v,onBlur:E,selectionManager:B=t.selectionManager}=e,S=!!l,I=S&&e["aria-expanded"]==="true";var D;let R=(D=e.isDisabled)!==null&&D!==void 0?D:B.isDisabled(a);var A;let k=(A=e.isSelected)!==null&&A!==void 0?A:B.isSelected(a),z=Wf.get(t),C=t.collection.getItem(a),w=e.onClose||z.onClose,N=Bu(),F=re=>{var jt;if(!S){if(!(C==null||(jt=C.props)===null||jt===void 0)&&jt.onAction?C.props.onAction():e.onAction&&e.onAction(a),z.onAction){let ou=z.onAction;ou(a)}re.target instanceof HTMLAnchorElement&&C&&N.open(re.target,re,C.props.href,C.props.routerOptions)}},T="menuitem";S||(B.selectionMode==="single"?T="menuitemradio":B.selectionMode==="multiple"&&(T="menuitemcheckbox"));let P=ut(),K=ut(),j=ut(),_={id:n,"aria-disabled":R||void 0,role:T,"aria-label":e["aria-label"],"aria-labelledby":P,"aria-describedby":[K,j].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};B.selectionMode!=="none"&&!S&&(_["aria-checked"]=k),i&&(_["aria-posinset"]=C==null?void 0:C.index,_["aria-setsize"]=$l(t.collection));let W=re=>{re.pointerType==="keyboard"&&F(re),s==null||s(re)},X=()=>{!S&&w&&(r??(B.selectionMode!=="multiple"||B.isLink(a)))&&w()},ee=re=>{re.pointerType==="mouse"&&(F(re),X()),d==null||d(re)},be=re=>{re.pointerType!=="keyboard"&&re.pointerType!=="mouse"&&(F(re),X()),c==null||c(re)},{itemProps:le,isFocused:de}=Xu({id:n,selectionManager:B,key:a,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:z.shouldUseVirtualFocus}),{pressProps:M,isPressed:Z}=We({onPressStart:W,onPress:be,onPressUp:ee,onPressChange:f,onPressEnd:p,isDisabled:R}),{hoverProps:Y}=ye({isDisabled:R,onHoverStart(re){!Qt()&&!(I&&l==="dialog")&&(B.setFocused(!0),B.setFocusedKey(a)),m==null||m(re)},onHoverChange:b,onHoverEnd:$}),{keyboardProps:L}=Hs({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":!R&&B.selectionMode==="none"&&!S&&r!==!1&&w&&w();break;case"Enter":!R&&r!==!1&&!S&&w&&w();break;default:S||re.continuePropagation(),g==null||g(re);break}},onKeyUp:y}),{focusProps:G}=qa({onBlur:E,onFocus:x,onFocusChange:v}),oe=O(C==null?void 0:C.props);delete oe.id;let Ze=Ua(C==null?void 0:C.props);return{menuItemProps:{..._,...V(oe,Ze,S?{onFocus:le.onFocus,"data-key":le["data-key"]}:le,M,Y,L,G),tabIndex:le.tabIndex!=null&&I?-1:le.tabIndex},labelProps:{id:P},descriptionProps:{id:K},keyboardShortcutProps:{id:j},isFocused:de,isSelected:k,isPressed:Z,isDisabled:R}}function fD(e){let{heading:t,"aria-label":u}=e,n=ae();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}function pD(e){return e&&e.__esModule?e.default:e}function mD(e,t){let{buttonRef:u,popoverRef:n,inputRef:a,listBoxRef:r,keyboardDelegate:i,layoutDelegate:l,shouldFocusWrap:s,isReadOnly:d,isDisabled:c}=e,f=o.useRef(null);u=u??f;let p=$e(pD(p3),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:b}=gl({type:"listbox",isDisabled:c||d},t,u);nr.set(t,{id:b.id});let{collection:$}=t,{disabledKeys:g}=t.selectionManager,y=o.useMemo(()=>i||new en({collection:$,disabledKeys:g,ref:r,layoutDelegate:l}),[i,l,$,g,r]),{collectionProps:x}=ar({selectionManager:t.selectionManager,keyboardDelegate:y,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:a,isVirtualized:!0}),v=Bu(),E=L=>{if(!L.nativeEvent.isComposing)switch(L.key){case"Enter":case"Tab":if(t.isOpen&&L.key==="Enter"&&L.preventDefault(),t.isOpen&&r.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let G=r.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(L.key==="Enter"&&G instanceof HTMLAnchorElement){let oe=t.collection.getItem(t.selectionManager.focusedKey);oe&&v.open(G,L,oe.props.href,oe.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&L.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=L=>{var G;let oe=(u==null?void 0:u.current)&&u.current===L.relatedTarget,Ze=(G=n.current)===null||G===void 0?void 0:G.contains(L.relatedTarget);oe||Ze||(e.onBlur&&e.onBlur(L),t.setFocused(!1))},S=L=>{t.isFocused||(e.onFocus&&e.onFocus(L),t.setFocused(!0))},{isInvalid:I,validationErrors:D,validationDetails:R}=t.displayValidation,{labelProps:A,inputProps:k,descriptionProps:z,errorMessageProps:C}=cl({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:nt(t.isOpen&&x.onKeyDown,E,e.onKeyDown),onBlur:B,value:t.inputValue,onFocus:S,autoComplete:"off",validate:void 0,[eu]:t},a),w=L=>{if(L.pointerType==="touch"){var G;(G=a.current)===null||G===void 0||G.focus(),t.toggle(null,"manual")}},N=L=>{if(L.pointerType!=="touch"){var G;(G=a.current)===null||G===void 0||G.focus(),t.toggle(L.pointerType==="keyboard"||L.pointerType==="virtual"?"first":null,"manual")}},F=mt({id:m.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),T=mt({id:b.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),P=o.useRef(0),K=L=>{if(c||d)return;if(L.timeStamp-P.current<500){var G;L.preventDefault(),(G=a.current)===null||G===void 0||G.focus();return}let oe=L.target.getBoundingClientRect(),Ze=L.changedTouches[0],re=Math.ceil(oe.left+.5*oe.width),jt=Math.ceil(oe.top+.5*oe.height);if(Ze.clientX===re&&Ze.clientY===jt){var ou;L.preventDefault(),(ou=a.current)===null||ou===void 0||ou.focus(),t.toggle(null,"manual"),P.current=L.timeStamp}},j=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var _;let W=(_=j==null?void 0:j.parentKey)!==null&&_!==void 0?_:null;var X;let ee=(X=t.selectionManager.focusedKey)!==null&&X!==void 0?X:null,be=o.useRef(W),le=o.useRef(ee);o.useEffect(()=>{if(sa()&&j!=null&&ee!=null&&ee!==le.current){let G=t.selectionManager.isSelected(ee),oe=W!=null?t.collection.getItem(W):null,Ze=(oe==null?void 0:oe["aria-label"])||(typeof(oe==null?void 0:oe.rendered)=="string"?oe.rendered:"")||"";var L;let re=p.format("focusAnnouncement",{isGroupChange:(L=oe&&W!==be.current)!==null&&L!==void 0?L:!1,groupTitle:Ze,groupCount:oe?[...ve(oe,t.collection)].length:0,optionText:j["aria-label"]||j.textValue||"",isSelected:G});ft(re)}be.current=W,le.current=ee});let de=$l(t.collection),M=o.useRef(de),Z=o.useRef(t.isOpen);o.useEffect(()=>{let L=t.isOpen!==Z.current&&(t.selectionManager.focusedKey==null||sa());if(t.isOpen&&(L||de!==M.current)){let G=p.format("countAnnouncement",{optionCount:de});ft(G)}M.current=de,Z.current=t.isOpen});let Y=o.useRef(t.selectedKey);return o.useEffect(()=>{if(sa()&&t.isFocused&&t.selectedItem&&t.selectedKey!==Y.current){let L=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",G=p.format("selectedAnnouncement",{optionText:L});ft(G)}Y.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return ml([a.current,n.current].filter(L=>L!=null))},[t.isOpen,a,n]),{labelProps:A,buttonProps:{...m,...F,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:w,onPressStart:N,isDisabled:c||d},inputProps:V(k,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":j?nf(t,j.key):void 0,onTouchEnd:K,autoCorrect:"off",spellCheck:"false"}),listBoxProps:V(b,T,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:z,errorMessageProps:C,isInvalid:I,validationErrors:D,validationDetails:R}}var Zf={};Zf={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 Gf={};Gf={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 qf={};qf={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 Yf={};Yf={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 Jf={};Jf={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 Qf={};Qf={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 Xf={};Xf={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 tp={};tp={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 up={};up={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 np={};np={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 ap={};ap={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:"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 ip={};ip={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 lp={};lp={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 op={};op={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 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 dp={};dp={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 cp={};cp={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 fp={};fp={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 pp={};pp={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 mp={};mp={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 bp={};bp={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 hp={};hp={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 $p={};$p={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 Dp={};Dp={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 vp={};vp={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 xp={};xp={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 Cp={};Cp={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 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:"日历",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:"日曆",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 jn={};jn={"ar-AE":Zf,"bg-BG":Gf,"cs-CZ":qf,"da-DK":Yf,"de-DE":Jf,"el-GR":Qf,"en-US":Xf,"es-ES":ep,"et-EE":tp,"fi-FI":up,"fr-FR":np,"he-IL":ap,"hr-HR":rp,"hu-HU":ip,"it-IT":lp,"ja-JP":op,"ko-KR":sp,"lt-LT":dp,"lv-LV":cp,"nb-NO":fp,"nl-NL":pp,"pl-PL":mp,"pt-BR":bp,"pt-PT":hp,"ro-RO":$p,"ru-RU":gp,"sk-SK":Dp,"sl-SI":yp,"sr-SP":vp,"sv-SE":xp,"tr-TR":Cp,"uk-UA":Ep,"zh-CN":Bp,"zh-TW":kp};function Dl(e,t,u){let{direction:n}=me(),a=o.useMemo(()=>Ja(t),[t]),r=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":s.preventDefault(),s.stopPropagation(),n==="rtl"?a.focusNext():a.focusPrevious();break;case"ArrowRight":s.preventDefault(),s.stopPropagation(),n==="rtl"?a.focusPrevious():a.focusNext();break}},i=()=>{var s;if(!t.current)return;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=Se(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}=We({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return V(l,{onKeyDown:r})}function bD(e){return e&&e.__esModule?e.default:e}const Pp=new WeakMap,$n="__role_"+Date.now(),Sp="__focusManager_"+Date.now();function Ap(e,t,u){var n;let{isInvalid:a,validationErrors:r,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=ru({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||r}),f=o.useRef(null),{focusWithinProps:p}=ot({...e,onFocusWithin(A){var k;f.current=t.value,(k=e.onFocus)===null||k===void 0||k.call(e,A)},onBlurWithin:A=>{var k;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(k=e.onBlur)===null||k===void 0||k.call(e,A)},onFocusWithinChange:e.onFocusChange}),m=$e(bD(jn),"@react-aria/datepicker"),b=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",$=t.maxGranularity==="hour"?"time":"date",g=t.value?m.format(b,{[$]:t.formatValue({month:"long"})}):"",y=ht(g),x=e[$n]==="presentation"?s["aria-describedby"]:[y["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,v=e[Sp],E=o.useMemo(()=>v||Ja(u),[v,u]),B=Dl(t,u,e[$n]==="presentation");Pp.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:x,focusManager:E});let S=o.useRef(e.autoFocus),I;e[$n]==="presentation"?I={role:"presentation"}:I=V(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":x}),o.useEffect(()=>{S.current&&E.focusFirst(),S.current=!1},[E]),In(e.inputRef,t.value,t.setValue),Nn({...e,focus(){E.focusFirst()}},t,e.inputRef);let D={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(D.type="text",D.hidden=!0,D.required=e.isRequired,D.onChange=()=>{});let R=O(e);return{labelProps:{...l,onClick:()=>{E.focusFirst()}},fieldProps:V(R,I,B,p,{onKeyDown(A){e.onKeyDown&&e.onKeyDown(A)},onKeyUp(A){e.onKeyUp&&e.onKeyUp(A)}}),inputProps:D,descriptionProps:d,errorMessageProps:c,isInvalid:a,validationErrors:r,validationDetails:i}}function hD(e){return e&&e.__esModule?e.default:e}function $D(e,t,u){let n=ae(),a=ae(),r=ae(),i=$e(hD(jn),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=ru({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=Dl(t,u),$=f["aria-labelledby"]||f.id,{locale:g}=me(),y=t.formatValue(g,{month:"long"}),x=y?i.format("selectedDateDescription",{date:y}):"",v=ht(x),E=[v["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,B=O(e),S=o.useMemo(()=>Ja(u),[u]),{focusWithinProps:I}=ot({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:V(B,b,f,v,I,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":$,"aria-describedby":E,onKeyDown(D){t.isOpen||e.onKeyDown&&e.onKeyDown(D)},onKeyUp(D){t.isOpen||e.onKeyUp&&e.onKeyUp(D)}}),labelProps:{...c,onClick:()=>{S.focusFirst()}},fieldProps:{...f,id:r,[$n]:"presentation","aria-describedby":E,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,[eu]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:m,buttonProps:{...v,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${$}`,"aria-describedby":E,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:a,"aria-labelledby":`${n} ${$}`},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 gD(e){return e&&e.__esModule?e.default:e}function DD(){let{locale:e}=me(),t=Id(gD(jn),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new yD(e,t)}},[e,t])}class yD{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function vD(e,t,u){let n=o.useRef(""),{locale:a}=me(),r=DD(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:s,focusManager:d}=Pp.get(t),c=e.isPlaceholder?"":e.text,f=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=dt({month:"long",timeZone:f.timeZone}),m=dt({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let P=p.format(t.dateValue);c=P!==c?`${c} – ${P}`:P}else e.type==="hour"&&!e.isPlaceholder&&(c=m.format(t.dateValue));let{spinButtonProps:b}=T6({value:e.value,textValue:c,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 oc(a,{maximumFractionDigits:0}),[a]),g=()=>{if(e.text===e.placeholder&&d.focusPrevious(),$.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let P=e.text.slice(0,-1),K=$.parse(P);P=K===0?"":P,P.length===0||K===0?t.clearSegment(e.type):t.setSegment(e.type,K),n.current=P}else e.type==="dayPeriod"&&t.clearSegment(e.type)},y=P=>{if(P.key==="a"&&(pt()?P.metaKey:P.ctrlKey)&&P.preventDefault(),!(P.ctrlKey||P.metaKey||P.shiftKey||P.altKey))switch(P.key){case"Backspace":case"Delete":P.preventDefault(),P.stopPropagation(),g();break}},{startsWith:x}=sc({sensitivity:"base"}),v=dt({hour:"numeric",hour12:!0}),E=o.useMemo(()=>{let P=new Date;return P.setHours(0),v.formatToParts(P).find(K=>K.type==="dayPeriod").value},[v]),B=o.useMemo(()=>{let P=new Date;return P.setHours(12),v.formatToParts(P).find(K=>K.type==="dayPeriod").value},[v]),S=dt({year:"numeric",era:"narrow",timeZone:"UTC"}),I=o.useMemo(()=>{if(e.type!=="era")return[];let P=he(new Ae(1,1,1),t.calendar),K=t.calendar.getEras().map(_=>{let W=P.set({year:1,month:1,day:1,era:_}).toDate("UTC"),ee=S.formatToParts(W).find(be=>be.type==="era").value;return{era:_,formatted:ee}}),j=xD(K.map(_=>_.formatted));if(j)for(let _ of K)_.formatted=_.formatted.slice(j);return K},[S,t.calendar,e.type]),D=P=>{if(t.isDisabled||t.isReadOnly)return;let K=n.current+P;switch(e.type){case"dayPeriod":if(x(E,P))t.setSegment("dayPeriod",0);else if(x(B,P))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let j=I.find(_=>x(_.formatted,P));j&&(t.setSegment("era",j.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!$.isValidPartialNumber(K))return;let j=$.parse(K),_=j,W=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":j>11&&(_=$.parse(P));break;case"h12":W=!1,j>12&&(_=$.parse(P));break}e.value!==void 0&&e.value>=12&&j>1&&(j+=12)}else e.maxValue!==void 0&&j>e.maxValue&&(_=$.parse(P));if(isNaN(j))return;let X=_!==0||W;X&&t.setSegment(e.type,_),e.maxValue!==void 0&&(+(j+"0")>e.maxValue||K.length>=String(e.maxValue).length)?(n.current="",X&&d.focusNext()):n.current=K;break}}},R=()=>{n.current="",u.current&&ze(u.current,{containingElement:Me(u.current)});let P=window.getSelection();P==null||P.collapse(u.current)},A=o.useRef(typeof document<"u"?document:null);lt(A,"selectionchange",()=>{var P;let K=window.getSelection();K!=null&&K.anchorNode&&(!((P=u.current)===null||P===void 0)&&P.contains(K==null?void 0:K.anchorNode))&&K.collapse(u.current)});let k=o.useRef("");lt(u,"beforeinput",P=>{if(u.current)switch(P.preventDefault(),P.inputType){case"deleteContentBackward":case"deleteContentForward":$.isValidPartialNumber(e.text)&&!t.isReadOnly&&g();break;case"insertCompositionText":k.current=u.current.textContent,u.current.textContent=u.current.textContent;break;default:P.data!=null&&D(P.data);break}}),lt(u,"input",P=>{let{inputType:K,data:j}=P;switch(K){case"insertCompositionText":u.current&&(u.current.textContent=k.current),j!=null&&(x(E,j)||x(B,j))&&D(j);break}}),q(()=>{let P=u.current;return()=>{document.activeElement===P&&(d.focusPrevious()||d.focusNext())}},[u,d]);let z=Rn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},C=o.useMemo(()=>t.segments.find(P=>P.isEditable),[t.segments]);e!==C&&!t.isInvalid&&(s=void 0);let w=ae(),N=!t.isDisabled&&!t.isReadOnly&&e.isEditable,F=e.type==="literal"?"":r.of(e.type),T=mt({"aria-label":`${F}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:V(b,T,{id:w,...z,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":s,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:N,suppressContentEditableWarning:N,spellCheck:N?"false":void 0,autoCorrect:N?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:N?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!N?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:y,onFocus:R,style:{caretColor:"transparent"},onPointerDown(P){P.stopPropagation()},onMouseDown(P){P.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 CD(e){return e&&e.__esModule?e.default:e}function ED(e,t,u){var n,a,r;let i=$e(CD(jn),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=ru({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=f["aria-labelledby"]||f.id,{locale:$}=me(),g=t.formatValue($,{month:"long"}),y=g?i.format("selectedRangeDescription",{startDate:g.start,endDate:g.end}):"",x=ht(y),v={"aria-label":i.format("startDate"),"aria-labelledby":b},E={"aria-label":i.format("endDate"),"aria-labelledby":b},B=ae(),S=ae(),I=Dl(t,u),D=[x["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,R=o.useMemo(()=>Ja(u,{accept:T=>T.id!==B}),[u,B]),A={[Sp]:R,[$n]:"presentation","aria-describedby":D,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=O(e),{focusWithinProps:z}=ot({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),C=o.useRef(Zt),w=o.useRef(Zt);var N,F;return{groupProps:V(k,I,f,x,z,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":D,onKeyDown(T){t.isOpen||e.onKeyDown&&e.onKeyDown(T)},onKeyUp(T){t.isOpen||e.onKeyUp&&e.onKeyUp(T)}}),labelProps:{...c,onClick:()=>{R.focusFirst()}},buttonProps:{...x,id:B,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${B} ${b}`,"aria-describedby":D,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:S,"aria-labelledby":`${B} ${b}`},startFieldProps:{...v,...A,value:(N=(n=t.value)===null||n===void 0?void 0:n.start)!==null&&N!==void 0?N:null,onChange:T=>t.setDateTime("start",T),autoFocus:e.autoFocus,name:e.startName,[eu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){C.current=T,t.updateValidation(wn(T,w.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...E,...A,value:(F=(a=t.value)===null||a===void 0?void 0:a.end)!==null&&F!==void 0?F:null,onChange:T=>t.setDateTime("end",T),name:e.endName,[eu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){w.current=T,t.updateValidation(wn(C.current,T))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:p,errorMessageProps:m,calendarProps:{autoFocus:!0,value:!((r=t.dateRange)===null||r===void 0)&&r.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 wp(e,t){let{role:u="dialog"}=e,n=ut();n=e["aria-label"]?void 0:n;let a=o.useRef(!1);return o.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){xe(t.current);let r=setTimeout(()=>{document.activeElement===t.current&&(a.current=!0,t.current&&(t.current.blur(),xe(t.current)),a.current=!1)},500);return()=>{clearTimeout(r)}}},[t]),uf(),{dialogProps:{...O(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:r=>{a.current&&r.stopPropagation()}},titleProps:{id:n}}}function BD(e,t,u){let{isDisabled:n}=e,a=ae(),r=ae(),l=!Kt()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),uu.flushSync(()=>{t.toggle()})},[u,t]);return lt(u,"beforematch",l?d:null),q(()=>{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:a,"aria-expanded":t.isExpanded,"aria-controls":r,onPress:c=>{!n&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:n,onPressStart(c){c.pointerType==="keyboard"&&!n&&t.toggle()}},panelProps:{id:r,role:"group","aria-labelledby":a,"aria-hidden":!t.isExpanded,hidden:l?!0:!t.isExpanded}}}var Ne=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 Fp={...Ne,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},kD=yl(Fp);kD[7]="all";yl(Ne);const Tp={none:"cancel",link:"link",copy:"copy",move:"move"},Or=yl(Tp);function yl(e){let t={};for(let u in e)t[e[u]]=u;return t}const PD=new Set(["text/plain","text/uri-list","text/html"]),wa="application/vnd.react-aria.items+json",Fa="application/octet-stream",SD=Symbol();function AD(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function wD(){return AD(Wi())}function Go(e,t){let u=new Map,n=!1,a=[];for(let r of t){let i=Object.keys(r);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=r[s];l[s]=c,d.push(c)}a.push(l)}for(let[r,i]of u)if(PD.has(r)){let l=i.join(`
|
|
18
|
+
`);e.items.add(l,r)}else e.items.add(i[0],r);if(n){let r=JSON.stringify(a);e.items.add(r,wa)}}class na{has(t){return this.includesUnknownTypes||t===SD&&this.types.has(Fa)?!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!==wa&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(Fa));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function Rp(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(wa))try{let n=e.getData(wa),a=JSON.parse(n);for(let r of a)t.push({kind:"text",types:new Set(Object.keys(r)),getText:i=>Promise.resolve(r[i])});u=!0}catch{}if(!u){let n=new Map;for(let a of e.items)if(a.kind==="string")n.set(a.type||Fa,e.getData(a.type));else if(a.kind==="file")if(typeof a.webkitGetAsEntry=="function"){let r=a.webkitGetAsEntry();if(!r)continue;r.isFile?t.push(Ei(a.getAsFile())):r.isDirectory&&t.push(Ip(r))}else t.push(Ei(a.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:a=>Promise.resolve(n.get(a))})}return t}function FD(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 Ei(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||Fa,name:e.name,getText:()=>FD(e),getFile:()=>Promise.resolve(e)}}function Ip(e){return{kind:"directory",name:e.name,getEntries:()=>TD(e)}}async function*TD(e){let t=e.createReader(),u;do{u=await new Promise((n,a)=>{t.readEntries(n,a)});for(let n of u)if(n.isFile){let a=await RD(n);yield Ei(a)}else n.isDirectory&&(yield Ip(n))}while(u.length>0)}function RD(e){return new Promise((t,u)=>e.file(t,u))}let Kp={draggingKeys:new Set};function ID(e){Kp=e}let qo=Ne.none,Yo=new Map,Jo=null,Qo=new Set;function KD(e){return Yo.set(e.element,e),()=>{Yo.delete(e.element)}}function MD(){let[e,t]=o.useState(Jo);return o.useEffect(()=>{let u=()=>t(Jo);return Qo.add(u),()=>{Qo.delete(u)}},[]),e}var Mp={};Mp={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 zp={};zp={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 Vp={};Vp={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 Np={};Np={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 _p={};_p={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 jp={};jp={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 Lp={};Lp={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 Op={};Op={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 Hp={};Hp={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 Up={};Up={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 Wp={};Wp={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 Zp={};Zp={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 Gp={};Gp={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 qp={};qp={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 Yp={};Yp={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 Jp={};Jp={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 Qp={};Qp={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 Xp={};Xp={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 e0={};e0={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 t0={};t0={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 u0={};u0={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 n0={};n0={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 a0={};a0={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 r0={};r0={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 i0={};i0={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 l0={};l0={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 o0={};o0={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 s0={};s0={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 d0={};d0={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 c0={};c0={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 f0={};f0={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 p0={};p0={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 m0={};m0={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 b0={};b0={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 h0={};h0={"ar-AE":Mp,"bg-BG":zp,"cs-CZ":Vp,"da-DK":Np,"de-DE":_p,"el-GR":jp,"en-US":Lp,"es-ES":Op,"et-EE":Hp,"fi-FI":Up,"fr-FR":Wp,"he-IL":Zp,"hr-HR":Gp,"hu-HU":qp,"it-IT":Yp,"ja-JP":Jp,"ko-KR":Qp,"lt-LT":Xp,"lv-LV":e0,"nb-NO":t0,"nl-NL":u0,"pl-PL":n0,"pt-BR":a0,"pt-PT":r0,"ro-RO":i0,"ru-RU":l0,"sk-SK":o0,"sl-SI":s0,"sr-SP":d0,"sv-SE":c0,"tr-TR":f0,"uk-UA":p0,"zh-CN":m0,"zh-TW":b0};function zD(e){return e&&e.__esModule?e.default:e}const VD={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function ND(){let e=$e(zD(h0),"@react-aria/dnd"),t=wD(),u=MD();return{dropProps:{...ht(u?e.format(VD[t]):""),onClick:()=>{}}}}const _D=800;function jD(e){let{hasDropButton:t,isDisabled:u}=e,[n,a]=o.useState(!1),r=o.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Ne.all,dropActivateTimer:void 0}).current,i=v=>{if(a(!0),typeof e.onDropEnter=="function"){let E=v.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:v.clientX-E.x,y:v.clientY-E.y})}},l=v=>{if(a(!1),typeof e.onDropExit=="function"){let E=v.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:v.clientX-E.x,y:v.clientY-E.y})}},s=v=>{v.preventDefault(),v.stopPropagation();let E=Xo(v);if(v.clientX===r.x&&v.clientY===r.y&&E===r.allowedOperations){v.dataTransfer.dropEffect=r.dropEffect;return}r.x=v.clientX,r.y=v.clientY;let B=r.dropEffect;if(E!==r.allowedOperations){let S=Hr(E),I=S[0];if(typeof e.getDropOperation=="function"){let D=new na(v.dataTransfer);I=aa(E,e.getDropOperation(D,S))}r.dropEffect=Or[I]||"none"}if(typeof e.getDropOperationForPoint=="function"){let S=new na(v.dataTransfer),I=v.currentTarget.getBoundingClientRect(),D=aa(E,e.getDropOperationForPoint(S,Hr(E),r.x-I.x,r.y-I.y));r.dropEffect=Or[D]||"none"}if(r.allowedOperations=E,v.dataTransfer.dropEffect=r.dropEffect,r.dropEffect==="none"&&B!=="none"?l(v):r.dropEffect!=="none"&&B==="none"&&i(v),typeof e.onDropMove=="function"&&r.dropEffect!=="none"){let S=v.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:r.x-S.x,y:r.y-S.y})}if(clearTimeout(r.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&r.dropEffect!=="none"){let S=e.onDropActivate,I=v.currentTarget.getBoundingClientRect();r.dropActivateTimer=setTimeout(()=>{S({type:"dropactivate",x:r.x-I.x,y:r.y-I.y})},_D)}},d=v=>{if(v.preventDefault(),v.stopPropagation(),r.dragOverElements.add(v.target),r.dragOverElements.size>1)return;let E=Xo(v),B=Hr(E),S=B[0];if(typeof e.getDropOperation=="function"){let I=new na(v.dataTransfer);S=aa(E,e.getDropOperation(I,B))}if(typeof e.getDropOperationForPoint=="function"){let I=new na(v.dataTransfer),D=v.currentTarget.getBoundingClientRect();S=aa(E,e.getDropOperationForPoint(I,B,v.clientX-D.x,v.clientY-D.y))}r.x=v.clientX,r.y=v.clientY,r.allowedOperations=E,r.dropEffect=Or[S]||"none",v.dataTransfer.dropEffect=r.dropEffect,S!=="cancel"&&i(v)},c=v=>{v.preventDefault(),v.stopPropagation(),r.dragOverElements.delete(v.target);for(let E of r.dragOverElements)v.currentTarget.contains(E)||r.dragOverElements.delete(E);r.dragOverElements.size>0||(r.dropEffect!=="none"&&l(v),clearTimeout(r.dropActivateTimer))},f=v=>{if(v.preventDefault(),v.stopPropagation(),r.dropEffect,typeof e.onDrop=="function"){let B=Tp[r.dropEffect],S=Rp(v.dataTransfer),I=v.currentTarget.getBoundingClientRect(),D={type:"drop",x:v.clientX-I.x,y:v.clientY-I.y,items:S,dropOperation:B};e.onDrop(D)}let E={...Kp};r.dragOverElements.clear(),l(v),clearTimeout(r.dropActivateTimer),E.draggingCollectionRef==null||ID(E)},p=ie(v=>{typeof e.onDropEnter=="function"&&e.onDropEnter(v)}),m=ie(v=>{typeof e.onDropExit=="function"&&e.onDropExit(v)}),b=ie(v=>{typeof e.onDropActivate=="function"&&e.onDropActivate(v)}),$=ie(v=>{typeof e.onDrop=="function"&&e.onDrop(v)}),g=ie((v,E)=>e.getDropOperation?e.getDropOperation(v,E):E[0]),{ref:y}=e;q(()=>{if(!(u||!y.current))return KD({element:y.current,getDropOperation:g,onDropEnter(v){a(!0),p(v)},onDropExit(v){a(!1),m(v)},onDrop:$,onDropActivate:b})},[u,y,g,p,m,$,b]);let{dropProps:x}=ND();return u?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&x,onDragEnter:d,onDragOver:s,onDragLeave:c,onDrop:f},dropButtonProps:{...t&&x},isDropTarget:n}}function Xo(e){let t=Fp[e.dataTransfer.effectAllowed];qo&&(t&=qo);let u=Ne.none;return pt()?(e.altKey&&(u|=Ne.copy),e.ctrlKey&&!zi()&&(u|=Ne.link),e.metaKey&&(u|=Ne.move)):(e.altKey&&(u|=Ne.link),e.shiftKey&&(u|=Ne.move),e.ctrlKey&&(u|=Ne.copy)),u?t&u:t}function Hr(e){let t=[];return e&Ne.move&&t.push("move"),e&Ne.copy&&t.push("copy"),e&Ne.link&&t.push("link"),t}function aa(e,t){let u=Ne[t];return e&u?t:"cancel"}const Ur=new Map;function Fu(e,t){let u=Ur.get(e);if(!u){let n=new Set,a=r=>{for(let i of n)i(r)};u={listener:a,handlers:n},Ur.set(e,u),document.addEventListener(e,a)}return u.handlers.add(t),()=>{u.handlers.delete(t),u.handlers.size===0&&(document.removeEventListener(e,u.listener),Ur.delete(e))}}function LD(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=qa({onFocusChange:c=>{u.current=c}}),a=ie(c=>{u.current&&e.getItems&&c.preventDefault()}),r=ie(c=>{if(!(!u.current||!e.getItems)&&(c.preventDefault(),c.clipboardData)){var f;Go(c.clipboardData,e.getItems()),(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&&(Go(c.clipboardData,e.getItems()),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=Rp(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return nt(Fu("beforecopy",a),Fu("copy",r),Fu("beforecut",i),Fu("cut",l),Fu("beforepaste",s),Fu("paste",d))},[t,a,r,i,l,s,d]),{clipboardProps:n}}const vl=new WeakMap;function es(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}-${OD(t)}`}function OD(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class $0{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 a=this.collection.getItem(n);if(!a)return null;if(!this.isDisabled(a)&&(!u||u(a)))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 a=this.collection.getItem(n);if(!a)return null;if(!this.isDisabled(a)&&(!u||u(a)))return n;if(n=this.collection.getKeyAfter(n),n==null)return null}return null}getKeyBelow(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var a;if(this.isCell(n)&&(u=(a=n.parentKey)!==null&&a!==void 0?a:null),u==null)return null;if(u=this.findNextKey(u,s=>s.type==="item"),u!=null){if(this.isCell(n)){var r;let s=this.collection.getItem(u);if(!s)return null;var i,l;return(l=(r=Wt(ve(s,this.collection),(i=n.index)!==null&&i!==void 0?i:0))===null||r===void 0?void 0:r.key)!==null&&l!==void 0?l:null}if(this.focusMode==="row")return u}return null}getKeyAbove(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var a;if(this.isCell(n)&&(u=(a=n.parentKey)!==null&&a!==void 0?a:null),u==null)return null;if(u=this.findPreviousKey(u,l=>l.type==="item"),u!=null){if(this.isCell(n)){var r;let l=this.collection.getItem(u);if(!l)return null;var i;return((r=Wt(ve(l,this.collection),(i=n.index)!==null&&i!==void 0?i:0))===null||r===void 0?void 0:r.key)||null}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,a;let c=ve(u,this.collection);var r;return(r=this.direction==="rtl"?(n=wt(c))===null||n===void 0?void 0:n.key:(a=Pt(c))===null||a===void 0?void 0:a.key)!==null&&r!==void 0?r:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=ve(c,this.collection);var i;let p=(i=this.direction==="rtl"?Wt(f,u.index-1):Wt(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,a;let c=ve(u,this.collection);var r;return(r=this.direction==="rtl"?(n=Pt(c))===null||n===void 0?void 0:n.key:(a=wt(c))===null||a===void 0?void 0:a.key)!==null&&r!==void 0?r:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=ve(c,this.collection);var i;let p=(i=this.direction==="rtl"?Wt(f,u.index+1):Wt(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,a;if(n!=null){if(a=this.collection.getItem(n),!a)return null;if(this.isCell(a)&&!u&&a.parentKey!=null){var r;let d=this.collection.getItem(a.parentKey);if(!d)return null;var i;return(i=(r=Pt(ve(d,this.collection)))===null||r===void 0?void 0:r.key)!==null&&i!==void 0?i:null}}if(n=this.findNextKey(void 0,d=>d.type==="item"),n!=null&&(a&&this.isCell(a)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;var s;n=(s=(l=Pt(ve(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,a;if(n!=null){if(a=this.collection.getItem(n),!a)return null;if(this.isCell(a)&&!u&&a.parentKey!=null){var r;let d=this.collection.getItem(a.parentKey);if(!d)return null;let c=ve(d,this.collection);var i;return(i=(r=wt(c))===null||r===void 0?void 0:r.key)!==null&&i!==void 0?i:null}}if(n=this.findPreviousKey(void 0,d=>d.type==="item"),n!=null&&(a&&this.isCell(a)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;let c=ve(d,this.collection);var s;n=(s=(l=wt(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 a=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>a&&u!=null;){var r;if(u=(r=this.getKeyAbove(u))!==null&&r!==void 0?r: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 a=this.layoutDelegate.getVisibleRect().height,r=Math.min(this.layoutDelegate.getContentSize().height,n.y+a);for(;n&&n.y+n.height<r;){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 a=this.collection;if(n=u??this.getFirstKey(),n==null)return null;let r=a.getItem(n);if(!r)return null;var i;r.type==="cell"&&(n=(i=r.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;n!=null;){let c=a.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=Pt(ve(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 HD(t.layout):new Ci(t.ref)),this.focusMode=t.focusMode||"row"}}class HD{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 xl=new WeakMap;var g0={};g0={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 D0={};D0={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 y0={};y0={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 v0={};v0={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 x0={};x0={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 C0={};C0={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 E0={};E0={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 B0={};B0={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 k0={};k0={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 P0={};P0={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 S0={};S0={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 A0={};A0={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 w0={};w0={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 F0={};F0={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 T0={};T0={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 R0={};R0={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 I0={};I0={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 K0={};K0={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 M0={};M0={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 z0={};z0={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 V0={};V0={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 N0={};N0={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 _0={};_0={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 j0={};j0={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 L0={};L0={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 O0={};O0={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 H0={};H0={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 U0={};U0={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 W0={};W0={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 Z0={};Z0={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 G0={};G0={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 q0={};q0={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 Y0={};Y0={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 J0={};J0={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 rr={};rr={"ar-AE":g0,"bg-BG":D0,"cs-CZ":y0,"da-DK":v0,"de-DE":x0,"el-GR":C0,"en-US":E0,"es-ES":B0,"et-EE":k0,"fi-FI":P0,"fr-FR":S0,"he-IL":A0,"hr-HR":w0,"hu-HU":F0,"it-IT":T0,"ja-JP":R0,"ko-KR":I0,"lt-LT":K0,"lv-LV":M0,"nb-NO":z0,"nl-NL":V0,"pl-PL":N0,"pt-BR":_0,"pt-PT":j0,"ro-RO":L0,"ru-RU":O0,"sk-SK":H0,"sl-SI":U0,"sr-SP":W0,"sv-SE":Z0,"tr-TR":G0,"uk-UA":q0,"zh-CN":Y0,"zh-TW":J0};function UD(e){return e&&e.__esModule?e.default:e}function Q0(e,t){let{getRowText:u=i=>{var l,s,d,c;return(c=(l=(s=t.collection).getTextValue)===null||l===void 0?void 0:l.call(s,i))!==null&&c!==void 0?c:(d=t.collection.getItem(i))===null||d===void 0?void 0:d.textValue}}=e,n=$e(UD(rr),"@react-aria/grid"),a=t.selectionManager.rawSelection,r=o.useRef(a);ba(()=>{var i;if(!t.selectionManager.isFocused){r.current=a;return}let l=ts(a,r.current),s=ts(r.current,a),d=t.selectionManager.selectionBehavior==="replace",c=[];if(t.selectionManager.selectedKeys.size===1&&d){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let f=u(t.selectionManager.selectedKeys.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}}else if(l.size===1&&s.size===0){let f=u(l.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}else if(s.size===1&&l.size===0&&t.collection.getItem(s.keys().next().value)){let f=u(s.keys().next().value);f&&c.push(n.format("deselectedItem",{item:f}))}t.selectionManager.selectionMode==="multiple"&&(c.length===0||a==="all"||a.size>1||r.current==="all"||((i=r.current)===null||i===void 0?void 0:i.size)>1)&&c.push(a==="all"?n.format("selectedAll"):n.format("selectedCount",{count:a.size})),c.length>0&&ft(c.join(" ")),r.current=a},[a])}function ts(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 WD(e){return e&&e.__esModule?e.default:e}function X0(e){let t=$e(WD(rr),"@react-aria/grid"),u=Wi(),n=(u==="pointer"||u==="virtual"||u==null)&&typeof window<"u"&&"ontouchstart"in window,a=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 ht(a)}function ZD(e,t,u){let{isVirtualized:n,keyboardDelegate:a,focusMode:r,scrollRef:i,getRowText:l,onRowAction:s,onCellAction:d}=e,{selectionManager:c}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let f=Qu({usage:"search",sensitivity:"base"}),{direction:p}=me(),m=t.selectionManager.disabledBehavior,b=o.useMemo(()=>a||new $0({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:m,ref:u,direction:p,collator:f,focusMode:r}),[a,t.collection,t.disabledKeys,m,u,p,f,r]),{collectionProps:$}=ar({ref:u,selectionManager:c,keyboardDelegate:b,isVirtualized:n,scrollRef:i}),g=ae(e.id);xl.set(t,{keyboardDelegate:b,actions:{onRowAction:s,onCellAction:d}});let y=X0({selectionManager:c,hasItemActions:!!(s||d)}),x=O(e,{labelable:!0}),v=o.useCallback(I=>{if(c.isFocused){I.currentTarget.contains(I.target)||c.setFocused(!1);return}I.currentTarget.contains(I.target)&&c.setFocused(!0)},[c]),E=o.useMemo(()=>({onBlur:$.onBlur,onFocus:v}),[v,$.onBlur]),B=qi(u,{isDisabled:t.collection.size!==0}),S=V(x,{role:"grid",id:g,"aria-multiselectable":c.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?E:$,t.collection.size===0&&{tabIndex:B?-1:0}||void 0,y);return n&&(S["aria-rowcount"]=t.collection.size,S["aria-colcount"]=t.collection.columnCount),Q0({getRowText:l},t),{gridProps:S}}function GD(){return{rowGroupProps:{role:"rowgroup"}}}function qD(e,t,u){var n,a;let{node:r,isVirtualized:i,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d}=xl.get(t),c=d.onRowAction?()=>{var $;return($=d.onRowAction)===null||$===void 0?void 0:$.call(d,r.key)}:s,{itemProps:f,...p}=Xu({selectionManager:t.selectionManager,key:r.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:c||!(r==null||(n=r.props)===null||n===void 0)&&n.onAction?nt(r==null||(a=r.props)===null||a===void 0?void 0:a.onAction,c):void 0,isDisabled:t.collection.size===0}),m=t.selectionManager.isSelected(r.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"]=r.index+1),{rowProps:b,...p}}function e1(e,t,u){let{node:n,isVirtualized:a,focusMode:r="child",shouldSelectOnPressUp:i,onAction:l}=e,{direction:s}=me(),{keyboardDelegate:d,actions:{onCellAction:c}}=xl.get(t),f=o.useRef(null),p=()=>{if(u.current){let v=Se(u.current);if(r==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let E=t.selectionManager.childFocusStrategy==="last"?Wr(v):v.firstChild();if(E){xe(E);return}}(f.current!=null&&n.key!==f.current||!u.current.contains(document.activeElement))&&xe(u.current)}},{itemProps:m,isPressed:b}=Xu({selectionManager:t.selectionManager,key:n.key,ref:u,isVirtualized:a,focus:p,shouldSelectOnPressUp:i,onAction:c?()=>c(n.key):l,isDisabled:t.collection.size===0}),y=V(m,{role:"gridcell",onKeyDownCapture:v=>{if(!v.currentTarget.contains(v.target)||t.isKeyboardNavigationDisabled||!u.current||!document.activeElement)return;let E=Se(u.current);switch(E.currentNode=document.activeElement,v.key){case"ArrowLeft":{let A=s==="rtl"?E.nextNode():E.previousNode();if(r==="child"&&A===u.current&&(A=null),v.preventDefault(),v.stopPropagation(),A)xe(A),ze(A,{containingElement:Me(u.current)});else{var B;if(((B=d.getKeyLeftOf)===null||B===void 0?void 0:B.call(d,n.key))!==n.key){var S;(S=u.current.parentElement)===null||S===void 0||S.dispatchEvent(new KeyboardEvent(v.nativeEvent.type,v.nativeEvent));break}r==="cell"&&s==="rtl"?(xe(u.current),ze(u.current,{containingElement:Me(u.current)})):(E.currentNode=u.current,A=s==="rtl"?E.firstChild():Wr(E),A&&(xe(A),ze(A,{containingElement:Me(u.current)})))}break}case"ArrowRight":{let A=s==="rtl"?E.previousNode():E.nextNode();if(r==="child"&&A===u.current&&(A=null),v.preventDefault(),v.stopPropagation(),A)xe(A),ze(A,{containingElement:Me(u.current)});else{var I;if(((I=d.getKeyRightOf)===null||I===void 0?void 0:I.call(d,n.key))!==n.key){var D;(D=u.current.parentElement)===null||D===void 0||D.dispatchEvent(new KeyboardEvent(v.nativeEvent.type,v.nativeEvent));break}r==="cell"&&s==="ltr"?(xe(u.current),ze(u.current,{containingElement:Me(u.current)})):(E.currentNode=u.current,A=s==="rtl"?Wr(E):E.firstChild(),A&&(xe(A),ze(A,{containingElement:Me(u.current)})))}break}case"ArrowUp":case"ArrowDown":if(!v.altKey&&u.current.contains(v.target)){var R;v.stopPropagation(),v.preventDefault(),(R=u.current.parentElement)===null||R===void 0||R.dispatchEvent(new KeyboardEvent(v.nativeEvent.type,v.nativeEvent))}break}},onFocus:v=>{if(f.current=n.key,v.target!==u.current){Qt()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{r==="child"&&document.activeElement===u.current&&p()})}});var x;return a&&(y["aria-colindex"]=((x=n.colIndex)!==null&&x!==void 0?x:n.index)+1),i&&y.tabIndex!=null&&y.onPointerDown==null&&(y.onPointerDown=v=>{let E=v.currentTarget,B=E.getAttribute("tabindex");E.removeAttribute("tabindex"),requestAnimationFrame(()=>{B!=null&&E.setAttribute("tabindex",B)})}),{gridCellProps:y,isPressed:b}}function Wr(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function YD(e){return e&&e.__esModule?e.default:e}function JD(e,t){let{key:u}=e,n=t.selectionManager,a=ae(),r=!t.selectionManager.canSelectItem(u),i=t.selectionManager.isSelected(u),l=()=>n.toggleSelection(u);const s=$e(YD(rr),"@react-aria/grid");return{checkboxProps:{id:a,"aria-label":s.format("select"),isSelected:i,isDisabled:r,onChange:l}}}function QD(e,t,u){let{isVirtualized:n,keyboardDelegate:a,layoutDelegate:r,onAction:i,linkBehavior:l="action",keyboardNavigationBehavior:s="arrow"}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:d}=bl({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:u,keyboardDelegate:a,layoutDelegate:r,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:l}),c=ae(e.id);vl.set(t,{id:c,onAction:i,linkBehavior:l,keyboardNavigationBehavior:s});let f=X0({selectionManager:t.selectionManager,hasItemActions:!!i}),p=qi(u,{isDisabled:t.collection.size!==0}),m=O(e,{labelable:!0}),b=V(m,{role:"grid",id:c,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:p?-1:0}:d,f);return n&&(b["aria-rowcount"]=t.collection.size,b["aria-colcount"]=1),Q0({},t),{gridProps:b}}const us={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function XD(e,t,u){var n,a;let{node:r,isVirtualized:i,shouldSelectOnPressUp:l}=e,{direction:s}=me(),{onAction:d,linkBehavior:c,keyboardNavigationBehavior:f}=vl.get(t),p=ut(),m=o.useRef(null),b=()=>{var F;u.current!==null&&(m.current!=null&&r.key!==m.current||!(!((F=u.current)===null||F===void 0)&&F.contains(document.activeElement)))&&xe(u.current)},$={},g,y=t.selectionManager.isLink(r.key);if(r!=null&&"expandedKeys"in t){var x,v,E;let F=(x=(v=t.collection).getChildren)===null||x===void 0?void 0:x.call(v,r.key);g=[...F??[]].length>1,d==null&&!y&&t.selectionManager.selectionMode==="none"&&g&&(d=()=>t.toggleKey(r.key));let T=g?t.expandedKeys.has(r.key):void 0,P=1;var B;if(r.level>0&&(r==null?void 0:r.parentKey)!=null){let K=t.collection.getItem(r.parentKey);if(K){var S,I;let j=(S=(I=t.collection).getChildren)===null||S===void 0?void 0:S.call(I,K.key);P=wt(j).index+1}}else P=((B=(E=[...t.collection].filter(K=>K.level===0).at(-1))===null||E===void 0?void 0:E.index)!==null&&B!==void 0?B:0)+1;$={"aria-expanded":T,"aria-level":r.level+1,"aria-posinset":(r==null?void 0:r.index)+1,"aria-setsize":P}}let{itemProps:D,...R}=Xu({selectionManager:t.selectionManager,key:r.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:d||!((n=r.props)===null||n===void 0)&&n.onAction?nt((a=r.props)===null||a===void 0?void 0:a.onAction,d?()=>d(r.key):void 0):void 0,focus:b,linkBehavior:c}),A=F=>{if(!F.currentTarget.contains(F.target)||!u.current||!document.activeElement)return;let T=Se(u.current);if(T.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(F.key===us.expand[s]&&t.selectionManager.focusedKey===r.key&&g&&!t.expandedKeys.has(r.key)){t.toggleKey(r.key),F.stopPropagation();return}else if(F.key===us.collapse[s]&&t.selectionManager.focusedKey===r.key&&g&&t.expandedKeys.has(r.key)){t.toggleKey(r.key),F.stopPropagation();return}}switch(F.key){case"ArrowLeft":if(f==="arrow"){let K=s==="rtl"?T.nextNode():T.previousNode();if(K)F.preventDefault(),F.stopPropagation(),xe(K),ze(K,{containingElement:Me(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="rtl")xe(u.current),ze(u.current,{containingElement:Me(u.current)});else{T.currentNode=u.current;let j=ns(T);j&&(xe(j),ze(j,{containingElement:Me(u.current)}))}}break;case"ArrowRight":if(f==="arrow"){let K=s==="rtl"?T.previousNode():T.nextNode();if(K)F.preventDefault(),F.stopPropagation(),xe(K),ze(K,{containingElement:Me(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="ltr")xe(u.current),ze(u.current,{containingElement:Me(u.current)});else{T.currentNode=u.current;let j=ns(T);j&&(xe(j),ze(j,{containingElement:Me(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!F.altKey&&u.current.contains(F.target)){var P;F.stopPropagation(),F.preventDefault(),(P=u.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(F.nativeEvent.type,F.nativeEvent))}break;case"Tab":if(f==="tab"){let K=Se(u.current,{tabbable:!0});K.currentNode=document.activeElement,(F.shiftKey?K.previousNode():K.nextNode())&&F.stopPropagation()}}},k=F=>{if(m.current=r.key,F.target!==u.current){Qt()||t.selectionManager.setFocusedKey(r.key);return}},z=Ni(r.props),C=R.hasAction?z:{},w=V(D,C,{role:"row",onKeyDownCapture:A,onFocus:k,"aria-label":r.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(r.key)?t.selectionManager.isSelected(r.key):void 0,"aria-disabled":t.selectionManager.isDisabled(r.key)||void 0,"aria-labelledby":p&&r.textValue?`${es(t,r.key)} ${p}`:void 0,id:es(t,r.key)});i&&(w["aria-rowindex"]=r.index+1);let N={role:"gridcell","aria-colindex":1};return{rowProps:{...V(w,$)},gridCellProps:N,descriptionProps:{id:p},...R}}function ns(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}const t1=new WeakMap;function ey(e,t,u){let{value:n,children:a,"aria-label":r,"aria-labelledby":i}=e;const l=e.isDisabled||t.isDisabled;let s=a!=null,d=r!=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=D=>{D.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:m}=We({isDisabled:l}),{pressProps:b,isPressed:$}=We({isDisabled:l,onPress(){t.setSelectedValue(n)}}),{focusableProps:g}=Pu(V(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),y=V(p,g),x=O(e,{labelable:!0}),v=-1;t.selectedValue!=null?t.selectedValue===n&&(v=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(v=0),l&&(v=void 0);let{name:E,descriptionId:B,errorMessageId:S,validationBehavior:I}=t1.get(t);return In(u,t.selectedValue,t.setSelectedValue),Nn({validationBehavior:I},t,u),{labelProps:V(b,{onClick:D=>D.preventDefault()}),inputProps:V(x,{...y,type:"radio",name:E,tabIndex:v,disabled:l,required:t.isRequired&&I==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?S:null,B].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:c,isPressed:m||$}}function ty(e,t){let{name:u,isReadOnly:n,isRequired:a,isDisabled:r,orientation:i="vertical",validationBehavior:l="aria"}=e,{direction:s}=me(),{isInvalid:d,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:b,errorMessageProps:$}=ru({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),g=O(e,{labelable:!0}),{focusWithinProps:y}=ot({onBlurWithin(E){var B;(B=e.onBlur)===null||B===void 0||B.call(e,E),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=E=>{let B;switch(E.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}E.preventDefault();let S=Se(E.currentTarget,{from:E.target}),I;B==="next"?(I=S.nextNode(),I||(S.currentNode=E.currentTarget,I=S.firstChild())):(I=S.previousNode(),I||(S.currentNode=E.currentTarget,I=S.lastChild())),I&&(I.focus(),t.setSelectedValue(I.value))},v=ae(u);return t1.set(t,{name:v,descriptionId:b.id,errorMessageId:$.id,validationBehavior:l}),{radioGroupProps:V(g,{role:"radiogroup",onKeyDown:x,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":a||void 0,"aria-disabled":r||void 0,"aria-orientation":i,...m,...y}),labelProps:p,descriptionProps:b,errorMessageProps:$,isInvalid:d,validationErrors:c,validationDetails:f}}var u1={};u1={"Clear search":"مسح البحث"};var n1={};n1={"Clear search":"Изчистване на търсене"};var a1={};a1={"Clear search":"Vymazat hledání"};var r1={};r1={"Clear search":"Ryd søgning"};var i1={};i1={"Clear search":"Suche zurücksetzen"};var l1={};l1={"Clear search":"Απαλοιφή αναζήτησης"};var o1={};o1={"Clear search":"Clear search"};var s1={};s1={"Clear search":"Borrar búsqueda"};var d1={};d1={"Clear search":"Tühjenda otsing"};var c1={};c1={"Clear search":"Tyhjennä haku"};var f1={};f1={"Clear search":"Effacer la recherche"};var p1={};p1={"Clear search":"נקה חיפוש"};var m1={};m1={"Clear search":"Obriši pretragu"};var b1={};b1={"Clear search":"Keresés törlése"};var h1={};h1={"Clear search":"Cancella ricerca"};var $1={};$1={"Clear search":"検索をクリア"};var g1={};g1={"Clear search":"검색 지우기"};var D1={};D1={"Clear search":"Išvalyti iešką"};var y1={};y1={"Clear search":"Notīrīt meklēšanu"};var v1={};v1={"Clear search":"Tøm søk"};var x1={};x1={"Clear search":"Zoekactie wissen"};var C1={};C1={"Clear search":"Wyczyść zawartość wyszukiwania"};var E1={};E1={"Clear search":"Limpar pesquisa"};var B1={};B1={"Clear search":"Limpar pesquisa"};var k1={};k1={"Clear search":"Ştergeţi căutarea"};var P1={};P1={"Clear search":"Очистить поиск"};var S1={};S1={"Clear search":"Vymazať vyhľadávanie"};var A1={};A1={"Clear search":"Počisti iskanje"};var w1={};w1={"Clear search":"Obriši pretragu"};var F1={};F1={"Clear search":"Rensa sökning"};var T1={};T1={"Clear search":"Aramayı temizle"};var R1={};R1={"Clear search":"Очистити пошук"};var I1={};I1={"Clear search":"清除搜索"};var K1={};K1={"Clear search":"清除搜尋條件"};var M1={};M1={"ar-AE":u1,"bg-BG":n1,"cs-CZ":a1,"da-DK":r1,"de-DE":i1,"el-GR":l1,"en-US":o1,"es-ES":s1,"et-EE":d1,"fi-FI":c1,"fr-FR":f1,"he-IL":p1,"hr-HR":m1,"hu-HU":b1,"it-IT":h1,"ja-JP":$1,"ko-KR":g1,"lt-LT":D1,"lv-LV":y1,"nb-NO":v1,"nl-NL":x1,"pl-PL":C1,"pt-BR":E1,"pt-PT":B1,"ro-RO":k1,"ru-RU":P1,"sk-SK":S1,"sl-SI":A1,"sr-SP":w1,"sv-SE":F1,"tr-TR":T1,"uk-UA":R1,"zh-CN":I1,"zh-TW":K1};function uy(e){return e&&e.__esModule?e.default:e}function ny(e,t,u){let n=$e(uy(M1),"@react-aria/searchfield"),{isDisabled:a,isReadOnly:r,onSubmit:i,onClear:l,type:s="search"}=e,d=y=>{const x=y.key;x==="Enter"&&(a||r)&&y.preventDefault(),!(a||r)&&(x==="Enter"&&i&&(y.preventDefault(),i(t.value)),x==="Escape"&&(t.value===""&&(!u.current||u.current.value==="")?y.continuePropagation():(y.preventDefault(),t.setValue(""),l&&l())))},c=()=>{t.setValue(""),l&&l()},f=()=>{var y;(y=u.current)===null||y===void 0||y.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:$,...g}=cl({...e,value:t.value,onChange:t.setValue,onKeyDown:r?e.onKeyDown:nt(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:a||r,onPress:c,onPressStart:f},descriptionProps:b,errorMessageProps:$,...g}}const Cl=new WeakMap;function Bi(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function ay(e,t){let u=Cl.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${Bi(t)}`}function z1(e,t,u){let n=Cl.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${Bi(t)}-${Bi(u)}`}function V1(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>z1(e,t,u)).join(" ")}var N1={};N1={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var _1={};_1={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var j1={};j1={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 L1={};L1={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 O1={};O1={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 H1={};H1={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var U1={};U1={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 W1={};W1={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 Z1={};Z1={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 G1={};G1={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 q1={};q1={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 Y1={};Y1={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var J1={};J1={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 Q1={};Q1={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 X1={};X1={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 em={};em={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var tm={};tm={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var um={};um={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 nm={};nm={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 am={};am={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 rm={};rm={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 im={};im={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 lm={};lm={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 om={};om={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 sm={};sm={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 dm={};dm={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var cm={};cm={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 fm={};fm={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 pm={};pm={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 mm={};mm={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 bm={};bm={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 hm={};hm={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var $m={};$m={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var gm={};gm={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var ir={};ir={"ar-AE":N1,"bg-BG":_1,"cs-CZ":j1,"da-DK":L1,"de-DE":O1,"el-GR":H1,"en-US":U1,"es-ES":W1,"et-EE":Z1,"fi-FI":G1,"fr-FR":q1,"he-IL":Y1,"hr-HR":J1,"hu-HU":Q1,"it-IT":X1,"ja-JP":em,"ko-KR":tm,"lt-LT":um,"lv-LV":nm,"nb-NO":am,"nl-NL":rm,"pl-PL":im,"pt-BR":lm,"pt-PT":om,"ro-RO":sm,"ru-RU":dm,"sk-SK":cm,"sl-SI":fm,"sr-SP":pm,"sv-SE":mm,"tr-TR":bm,"uk-UA":hm,"zh-CN":$m,"zh-TW":gm};class ry extends $0{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"){var n;let r=Pt(ve(u,this.collection));if(r)return r.key;let i=this.getFirstKey();if(i==null)return null;let l=this.collection.getItem(i);if(!l)return null;var a;return(a=(n=Wt(ve(l,this.collection),u.index))===null||n===void 0?void 0:n.key)!==null&&a!==void 0?a:null}return super.getKeyBelow(t)}getKeyAbove(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let r=u.parentKey!=null?this.collection.getItem(u.parentKey):null;return r&&r.type==="column"?r.key:null}let n=super.getKeyAbove(t),a=n!=null?this.collection.getItem(n):null;return a&&a.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,a=>a.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level];for(let a of ve(n,this.collection))if(a.type==="column")return a.key;return null}findPreviousColumnKey(t){let u=this.findPreviousKey(t.key,r=>r.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level],a=[...ve(n,this.collection)];for(let r=a.length-1;r>=0;r--){let i=a[r];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,a=u??this.getFirstKey();if(a==null)return null;let r=n.getItem(a);var i;(r==null?void 0:r.type)==="cell"&&(a=(i=r.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;a!=null;){let s=n.getItem(a);if(!s)return null;for(let d of ve(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):r;return(p==null?void 0:p.type)==="cell"?d.key:s.key}}}a=this.getKeyBelow(a),a==null&&!l&&(a=this.getFirstKey(),l=!0)}return null}}let iy=!1;function Ta(){return iy}function ly(e){return e&&e.__esModule?e.default:e}function oy(e,t,u){let{keyboardDelegate:n,isVirtualized:a,layoutDelegate:r,layout:i}=e,l=Qu({usage:"search",sensitivity:"base"}),{direction:s}=me(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new ry({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:d,ref:u,direction:s,collator:l,layoutDelegate:r,layout:i}),[n,t.collection,t.disabledKeys,d,u,s,l,r,i]),f=ae(e.id);Cl.set(t,f);let{gridProps:p}=ZD({...e,id:f,keyboardDelegate:c},t,u);a&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Ta()&&"expandedKeys"in t&&(p.role="treegrid");let{column:m,direction:b}=t.sortDescriptor||{},$=$e(ly(ir),"@react-aria/table"),g=o.useMemo(()=>{var x,v;let E=(v=(x=t.collection.columns.find(B=>B.key===m))===null||x===void 0?void 0:x.textValue)!==null&&v!==void 0?v:"";return b&&m?$.format(`${b}Sort`,{columnName:E}):void 0},[b,m,t.collection.columns]),y=ht(g);return ba(()=>{g&&ft(g,"assertive",500)},[g]),{gridProps:V(p,y,{"aria-describedby":[y["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function sy(e){return e&&e.__esModule?e.default:e}function dy(e,t,u){var n,a;let{node:r}=e,i=r.props.allowsSorting,{gridCellProps:l}=e1({...e,focusMode:"child"},t,u),s=r.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:d}=We({isDisabled:!i||s,onPress(){t.sort(r.key)},ref:u}),{focusableProps:c}=Pu({},u),f,p=((n=t.sortDescriptor)===null||n===void 0?void 0:n.column)===r.key,m=(a=t.sortDescriptor)===null||a===void 0?void 0:a.direction;r.props.allowsSorting&&!Dn()&&(f=p?m:"none");let b=$e(sy(ir),"@react-aria/table"),$;i&&($=`${b.format("sortable")}`,p&&m&&Dn()&&($=`${$}, ${b.format(m)}`));let g=ht($),y=t.collection.size===0;return o.useEffect(()=>{y&&t.selectionManager.focusedKey===r.key&&t.selectionManager.setFocusedKey(null)},[y,t.selectionManager,r.key]),{columnHeaderProps:{...V(l,d,c,g,y?{tabIndex:-1}:null),role:"columnheader",id:ay(t,r.key),"aria-colspan":r.colspan&&r.colspan>1?r.colspan:void 0,"aria-sort":f}}}const as={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function cy(e,t,u){let{node:n,isVirtualized:a}=e,{rowProps:r,...i}=qD(e,t,u),{direction:l}=me();a&&!(Ta()&&"expandedKeys"in t)?r["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete r["aria-rowindex"];let s={};if(Ta()&&"expandedKeys"in t){let B=t.keyMap.get(n.key);if(B!=null){var d,c,f,p,m,b;let S=((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,y,x;s={onKeyDown:I=>{(I.key===as.expand[l]&&t.selectionManager.focusedKey===B.key&&S&&t.expandedKeys!=="all"&&!t.expandedKeys.has(B.key)||I.key===as.collapse[l]&&t.selectionManager.focusedKey===B.key&&S&&(t.expandedKeys==="all"||t.expandedKeys.has(B.key)))&&(t.toggleKey(B.key),I.stopPropagation())},"aria-expanded":S?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":B.level,"aria-posinset":(($=B.indexOfType)!==null&&$!==void 0?$:0)+1,"aria-setsize":B.level>1?((y=(p=wt((g=(m=t.keyMap.get(B.parentKey))===null||m===void 0?void 0:m.childNodes)!==null&&g!==void 0?g:[]))===null||p===void 0?void 0:p.indexOfType)!==null&&y!==void 0?y:0)+1:((x=(b=wt(t.collection.body.childNodes))===null||b===void 0?void 0:b.indexOfType)!==null&&x!==void 0?x:0)+1}}}let v=Ni(n.props),E=i.hasAction?v:{};return{rowProps:{...V(r,s,E),"aria-labelledby":V1(t,n.key)},...i}}function fy(e,t,u){let{node:n,isVirtualized:a}=e,r={role:"row"};return a&&!(Ta()&&"expandedKeys"in t)&&(r["aria-rowindex"]=n.index+1),{rowProps:r}}function py(e,t,u){var n;let{gridCellProps:a,isPressed:r}=e1(e,t,u),i=(n=e.node.column)===null||n===void 0?void 0:n.key;return i!=null&&t.collection.rowHeaderColumnKeys.has(i)&&(a.role="rowheader",a.id=z1(t,e.node.parentKey,i)),{gridCellProps:a,isPressed:r}}function my(e){return e&&e.__esModule?e.default:e}function by(e,t){let{key:u}=e;const{checkboxProps:n}=JD(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${V1(t,u)}`}}}function hy(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":$e(my(ir),"@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 Dm(){return GD()}const ym=new WeakMap;function Ra(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${ym.get(e)}-${u}-${t}`):""}function $y(e,t,u){let{key:n,isDisabled:a,shouldSelectOnPressUp:r}=e,{selectionManager:i,selectedKey:l}=t,s=n===l,d=a||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=Xu({selectionManager:i,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:r,linkBehavior:"selection"}),p=Ra(t,n,"tab"),m=Ra(t,n,"tabpanel"),{tabIndex:b}=c,$=t.collection.getItem(n),g=O($==null?void 0:$.props,{labelable:!0});delete g.id;let y=Ua($==null?void 0:$.props);return{tabProps:V(g,y,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 gy(e,t,u){let n=qi(u)?void 0:0;var a;const r=Ra(t,(a=e.id)!==null&&a!==void 0?a:t==null?void 0:t.selectedKey,"tabpanel"),i=mt({...e,id:r,"aria-labelledby":Ra(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:V(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class Dy{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,a=new Set){this.collection=t,this.flipDirection=u==="rtl"&&n==="horizontal",this.disabledKeys=a,this.tabDirection=n==="horizontal"}}function yy(e,t,u){let{orientation:n="horizontal",keyboardActivation:a="automatic"}=e,{collection:r,selectionManager:i,disabledKeys:l}=t,{direction:s}=me(),d=o.useMemo(()=>new Dy(r,s,n,l),[r,l,n,s]),{collectionProps:c}=ar({ref:u,selectionManager:i,keyboardDelegate:d,selectOnFocus:a==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=ae();ym.set(t,f);let p=mt({...e,id:f});return{tabListProps:{...V(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const vm=new WeakMap;function vy(e,t,u){let{direction:n}=me(),a=e.keyboardDelegate||new en({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:r,fieldProps:i,descriptionProps:l,errorMessageProps:s}=ru({...e,labelElementType:"span"}),{gridProps:d}=QD({...e,...i,keyboardDelegate:a,shouldFocusWrap:!0,linkBehavior:"override"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=ot({onFocusWithinChange:f}),m=O(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]),vm.set(t,{onRemove:e.onRemove}),{gridProps:V(d,m,{role:t.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...p,...i}),labelProps:r,descriptionProps:l,errorMessageProps:s}}var xm={};xm={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var Cm={};Cm={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var Em={};Em={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var Bm={};Bm={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var km={};km={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var Pm={};Pm={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var Sm={};Sm={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var Am={};Am={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var wm={};wm={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var Fm={};Fm={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var Tm={};Tm={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var Rm={};Rm={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var Im={};Im={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var Km={};Km={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var Mm={};Mm={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var zm={};zm={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var Vm={};Vm={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var Nm={};Nm={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var _m={};_m={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var jm={};jm={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var Lm={};Lm={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var Om={};Om={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var Hm={};Hm={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var Um={};Um={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var Wm={};Wm={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var Zm={};Zm={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Gm={};Gm={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var qm={};qm={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var Ym={};Ym={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var Jm={};Jm={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var Qm={};Qm={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Xm={};Xm={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var eb={};eb={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var tb={};tb={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var ub={};ub={"ar-AE":xm,"bg-BG":Cm,"cs-CZ":Em,"da-DK":Bm,"de-DE":km,"el-GR":Pm,"en-US":Sm,"es-ES":Am,"et-EE":wm,"fi-FI":Fm,"fr-FR":Tm,"he-IL":Rm,"hr-HR":Im,"hu-HU":Km,"it-IT":Mm,"ja-JP":zm,"ko-KR":Vm,"lt-LT":Nm,"lv-LV":_m,"nb-NO":jm,"nl-NL":Lm,"pl-PL":Om,"pt-BR":Hm,"pt-PT":Um,"ro-RO":Wm,"ru-RU":Zm,"sk-SK":Gm,"sl-SI":qm,"sr-SP":Ym,"sv-SE":Jm,"tr-TR":Qm,"uk-UA":Xm,"zh-CN":eb,"zh-TW":tb};function xy(e){return e&&e.__esModule?e.default:e}function Cy(e,t,u){let{item:n}=e,a=$e(xy(ub),"@react-aria/tag"),r=ae(),{onRemove:i}=vm.get(t)||{},{rowProps:l,gridCellProps:s,...d}=XD({node:n},t,u);delete l.onKeyDownCapture;let{descriptionProps:c,...f}=d,p=t.disabledKeys.has(n.key)||n.props.isDisabled,m=S=>{if(S.key==="Delete"||S.key==="Backspace"){if(p)return;S.preventDefault(),t.selectionManager.isSelected(n.key)?i==null||i(new Set(t.selectionManager.selectedKeys)):i==null||i(new Set([n.key]))}},b=Wi();b==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(b="pointer");let $=i&&(b==="keyboard"||b==="virtual")?a.format("removeDescription"):"",g=ht($),y=n.key===t.selectionManager.focusedKey,x=t.selectionManager.focusedKey!=null,v=-1;!p&&(y||!x)&&(v=0);let E=O(n.props),B=Ni(n.props);return{removeButtonProps:{"aria-label":a.format("removeButtonLabel"),"aria-labelledby":`${r} ${l.id}`,isDisabled:p,id:r,onPress:()=>i?i(new Set([n.key])):null,excludeFromTabOrder:!0},rowProps:V(l,E,B,{tabIndex:v,onKeyDown:i?m:void 0,"aria-describedby":g["aria-describedby"]}),gridCellProps:V(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!i}}function Ey(e,t){let u=O(e,{labelable:!0}),{hoverProps:n}=ye({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:V(u,n,{role:"tooltip"})}}function By(e,t,u){let{isDisabled:n,trigger:a}=e,r=ae(),i=o.useRef(!1),l=o.useRef(!1),s=()=>{(i.current||l.current)&&t.open(l.current)},d=y=>{!i.current&&!l.current&&t.close(y)};o.useEffect(()=>{let y=x=>{u&&u.current&&x.key==="Escape"&&(x.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",y,!0),()=>{document.removeEventListener("keydown",y,!0)}},[u,t]);let c=()=>{a!=="focus"&&(Xt()==="pointer"?i.current=!0:i.current=!1,s())},f=()=>{a!=="focus"&&(l.current=!1,i.current=!1,d())},p=()=>{l.current=!1,i.current=!1,d(!0)},m=()=>{Qt()&&(l.current=!0,s())},b=()=>{l.current=!1,i.current=!1,d(!0)},{hoverProps:$}=ye({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:g}=Pu({isDisabled:n,onFocus:m,onBlur:b},u);return{triggerProps:{"aria-describedby":t.isOpen?r:void 0,...V(g,$,{onPointerDown:p,onKeyDown:p})},tooltipProps:{id:r}}}const ky=o.createContext(null),Py=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),st=o.createContext({}),Ft=Za(function(t,u){[t,u]=Q(t,u,st),t=Sy(t);let n=t,{isPending:a}=n,{buttonProps:r,isPressed:i}=sl(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=ce(t),{hoverProps:c,isHovered:f}=ye({...t,isDisabled:t.isDisabled||a}),p={isHovered:f,isPressed:(n.isPressed||i)&&!a,isFocused:s,isFocusVisible:d,isDisabled:t.isDisabled||!1,isPending:a??!1},m=U({...t,values:p,defaultClassName:"react-aria-Button"}),b=ae(r.id),$=ae(),g=r["aria-labelledby"];a&&(g?g=`${g} ${$}`:r["aria-label"]&&(g=`${b} ${$}`));let y=o.useRef(a);return o.useEffect(()=>{let x={"aria-labelledby":g||b};(!y.current&&s&&a||y.current&&s&&!a)&&ft(x,"assertive"),y.current=a},[a,s,g,b]),o.createElement("button",{...O(t,{propNames:Py}),...V(r,l,c),...m,type:r.type==="submit"&&a?"button":r.type,id:b,ref:u,"aria-labelledby":g,slot:t.slot||void 0,"aria-disabled":a?"true":r["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":a||void 0,"data-focus-visible":d||void 0},o.createElement(ky.Provider,{value:{id:$}},m.children))});function Sy(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 Ue=o.createContext({}),tn=o.forwardRef(function(t,u){[t,u]=Q(t,u,Ue);let{elementType:n="span",...a}=t;return o.createElement(n,{className:"react-aria-Text",...a,ref:u})}),Vt=o.createContext(null),El=o.forwardRef(function(t,u){let n=o.useContext(Vt);return n!=null&&n.isInvalid?o.createElement(Ay,{...t,ref:u}):null}),Ay=o.forwardRef((e,t)=>{let u=o.useContext(Vt),n=O(e),a=U({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return a.children==null?null:o.createElement(tn,{slot:"errorMessage",...n,...a,ref:t})});function Wu(e,t,u){return t!=null&&e.compare(t)<0||u!=null&&e.compare(u)>0}function ki(e,t,u,n,a){let r={};for(let l in t)r[l]=Math.floor(t[l]/2),r[l]>0&&t[l]%2===0&&r[l]--;let i=gu(e,t,u).subtract(r);return Fn(e,i,t,u,n,a)}function gu(e,t,u,n,a){let r=e;return t.years?r=d2(e):t.months?r=xu(e):t.weeks&&(r=kn(e,u)),Fn(e,r,t,u,n,a)}function Pi(e,t,u,n,a){let r={...t};r.days?r.days--:r.weeks?r.weeks--:r.months?r.months--:r.years&&r.years--;let i=gu(e,t,u).subtract(r);return Fn(e,i,t,u,n,a)}function Fn(e,t,u,n,a,r){if(a&&e.compare(a)>=0){let i=Xi(t,gu(_e(a),u,n));i&&(t=i)}if(r&&e.compare(r)<=0){let i=Qi(t,Pi(_e(r),u,n));i&&(t=i)}return t}function Ot(e,t,u){if(t){let n=Xi(e,_e(t));n&&(e=n)}if(u){let n=Qi(e,_e(u));n&&(e=n)}return e}function nb(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 ab(e){let t=o.useMemo(()=>new tt(e.locale),[e.locale]),u=o.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:a,visibleDuration:r={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:d,pageBehavior:c="visible",firstDayOfWeek:f}=e,p=o.useMemo(()=>a(u.calendar),[a,u.calendar]);var m;let[b,$]=Re(e.value,(m=e.defaultValue)!==null&&m!==void 0?m:null,e.onChange),g=o.useMemo(()=>b?he(_e(b),p):null,[b,p]),y=o.useMemo(()=>b&&"timeZone"in b?b.timeZone:u.timeZone,[b,u.timeZone]),x=o.useMemo(()=>e.focusedValue?Ot(he(_e(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),v=o.useMemo(()=>Ot(e.defaultFocusedValue?he(_e(e.defaultFocusedValue),p):g||he(Ji(y),p),i,l),[e.defaultFocusedValue,g,y,p,i,l]),[E,B]=Re(x,v,e.onFocusChange),[S,I]=o.useState(()=>{switch(s){case"start":return gu(E,r,n,i,l);case"end":return Pi(E,r,n,i,l);case"center":default:return ki(E,r,n,i,l)}}),[D,R]=o.useState(e.autoFocus||!1),A=o.useMemo(()=>{let _={...r};return _.days?_.days--:_.days=-1,S.add(_)},[S,r]),[k,z]=o.useState(p.identifier);if(p.identifier!==k){let _=he(E,p);I(ki(_,r,n,i,l)),B(_),z(p.identifier)}Wu(E,i,l)?B(Ot(E,i,l)):E.compare(S)<0?I(Pi(E,r,n,i,l)):E.compare(A)>0&&I(gu(E,r,n,i,l));function C(_){_=Ot(_,i,l),B(_)}function w(_){if(!e.isDisabled&&!e.isReadOnly){let W=_;if(W===null){$(null);return}if(W=Ot(W,i,l),W=nb(W,S,d),!W)return;W=he(W,(b==null?void 0:b.calendar)||new He),b&&"hour"in b?$(b.set(W)):$(W)}}let N=o.useMemo(()=>g?d&&d(g)?!0:Wu(g,i,l):!1,[g,d,i,l]),F=e.isInvalid||e.validationState==="invalid"||N,T=F?"invalid":null,P=o.useMemo(()=>c==="visible"?r:Zr(r),[c,r]);var K,j;return{isDisabled:(K=e.isDisabled)!==null&&K!==void 0?K:!1,isReadOnly:(j=e.isReadOnly)!==null&&j!==void 0?j:!1,value:g,setValue:w,visibleRange:{start:S,end:A},minValue:i,maxValue:l,focusedDate:E,timeZone:y,validationState:T,isValueInvalid:F,setFocusedDate(_){C(_),R(!0)},focusNextDay(){C(E.add({days:1}))},focusPreviousDay(){C(E.subtract({days:1}))},focusNextRow(){r.days?this.focusNextPage():(r.weeks||r.months||r.years)&&C(E.add({weeks:1}))},focusPreviousRow(){r.days?this.focusPreviousPage():(r.weeks||r.months||r.years)&&C(E.subtract({weeks:1}))},focusNextPage(){let _=S.add(P);B(Ot(E.add(P),i,l)),I(gu(Fn(E,_,P,n,i,l),P,n))},focusPreviousPage(){let _=S.subtract(P);B(Ot(E.subtract(P),i,l)),I(gu(Fn(E,_,P,n,i,l),P,n))},focusSectionStart(){r.days?C(S):r.weeks?C(kn(E,n)):(r.months||r.years)&&C(xu(E))},focusSectionEnd(){r.days?C(A):r.weeks?C(p2(E,n)):(r.months||r.years)&&C(va(E))},focusNextSection(_){if(!_&&!r.days){C(E.add(Zr(r)));return}r.days?this.focusNextPage():r.weeks?C(E.add({months:1})):(r.months||r.years)&&C(E.add({years:1}))},focusPreviousSection(_){if(!_&&!r.days){C(E.subtract(Zr(r)));return}r.days?this.focusPreviousPage():r.weeks?C(E.subtract({months:1})):(r.months||r.years)&&C(E.subtract({years:1}))},selectFocusedDate(){d&&d(E)||w(E)},selectDate(_){w(_)},isFocused:D,setFocused:R,isInvalid(_){return Wu(_,i,l)},isSelected(_){return g!=null&&Pe(_,g)&&!this.isCellDisabled(_)&&!this.isCellUnavailable(_)},isCellFocused(_){return D&&E&&Pe(_,E)},isCellDisabled(_){return e.isDisabled||_.compare(S)<0||_.compare(A)>0||this.isInvalid(_)},isCellUnavailable(_){return e.isDateUnavailable?e.isDateUnavailable(_):!1},isPreviousVisibleRangeInvalid(){let _=S.subtract({days:1});return Pe(_,S)||this.isInvalid(_)},isNextVisibleRangeInvalid(){let _=A.add({days:1});return Pe(_,A)||this.isInvalid(_)},getDatesInWeek(_,W=S){let X=W.add({weeks:_}),ee=[];X=kn(X,n,f);let be=Yi(X,n,f);for(let le=0;le<be;le++)ee.push(null);for(;ee.length<7;){ee.push(X);let le=X.add({days:1});if(Pe(X,le))break;X=le}for(;ee.length<7;)ee.push(null);return ee}}}function Zr(e){let t={...e};for(let u in e)t[u]=1;return t}function wy(e){let{value:t,defaultValue:u,onChange:n,createCalendar:a,locale:r,visibleDuration:i={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=Re(t,u||null,n),[p,m]=o.useState(null),b="center";if(c&&c.start&&c.end){let P=ki(_e(c.start),i,r,l,s).add(i).subtract({days:1});c.end.compare(P)>0&&(b="start")}let $=o.useRef(null),[g,y]=o.useState(null),x=o.useMemo(()=>Xi(l,g==null?void 0:g.start),[l,g]),v=o.useMemo(()=>Qi(s,g==null?void 0:g.end),[s,g]),E=ab({...d,value:c&&c.start,createCalendar:a,locale:r,visibleDuration:i,minValue:x,maxValue:v,selectionAlignment:b}),B=T=>{if(T&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const P=is(T,E,-1),K=is(T,E,1);$.current={start:P,end:K},y($.current)}else $.current=null,y(null)},[S,I]=o.useState(E.visibleRange);(!si(E.visibleRange.start,S.start)||!si(E.visibleRange.end,S.end))&&(B(p),I(E.visibleRange));let D=T=>{T?(m(T),B(T)):(m(null),B(null))},R=p?Gr(p,E.focusedDate):c&&Gr(c.start,c.end),A=T=>{if(e.isReadOnly)return;const P=Ot(T,x,v),K=nb(P,E.visibleRange.start,e.isDateUnavailable);if(K)if(!p)D(K);else{let j=Gr(p,K);j&&f({start:rs(j.start,c==null?void 0:c.start),end:rs(j.end,c==null?void 0:c.end)}),D(null)}},[k,z]=o.useState(!1),{isDateUnavailable:C}=e,w=o.useMemo(()=>!c||p?!1:C&&(C(c.start)||C(c.end))?!0:Wu(c.start,l,s)||Wu(c.end,l,s),[C,c,p,l,s]),N=e.isInvalid||e.validationState==="invalid"||w;return{...E,value:c,setValue:f,anchorDate:p,setAnchorDate:D,highlightedRange:R,validationState:N?"invalid":null,isValueInvalid:N,selectFocusedDate(){A(E.focusedDate)},selectDate:A,highlightDate(T){p&&E.setFocusedDate(T)},isSelected(T){return!!(R&&T.compare(R.start)>=0&&T.compare(R.end)<=0&&!E.isCellDisabled(T)&&!E.isCellUnavailable(T))},isInvalid(T){var P,K;return E.isInvalid(T)||Wu(T,(P=$.current)===null||P===void 0?void 0:P.start,(K=$.current)===null||K===void 0?void 0:K.end)},isDragging:k,setDragging:z}}function Gr(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:_e(e),end:_e(t)})}function rs(e,t){return e=he(e,(t==null?void 0:t.calendar)||new He),t&&"hour"in t?t.set(e):e}function is(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 Fy(e={}){let[t,u]=Re(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,a=o.useRef(new Map),r=Dt({...e,value:t}),i=r.displayValidation.isInvalid;var l;return{...r,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(a.current);c.isInvalid?f.set(d,c):f.delete(d),a.current=f,r.updateValidation(wn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class Si{*[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,a=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=a++),n=l,n.nextKey=void 0;var r;this.lastKey=(r=n==null?void 0:n.key)!==null&&r!==void 0?r:null}}class it extends Set{constructor(t,u,n){super(t),t instanceof it?(this.anchorKey=u??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=u??null,this.currentKey=n??null)}}function Ty(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function Ln(e){let{selectionMode:t="none",disallowEmptySelection:u=!1,allowDuplicateSelectionEvents:n,selectionBehavior:a="toggle",disabledBehavior:r="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(()=>ls(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>ls(e.defaultSelectedKeys,new it),[e.defaultSelectedKeys]),[m,b]=Re(f,p,e.onSelectionChange),$=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[g,y]=o.useState(a);a==="replace"&&g==="toggle"&&typeof m=="object"&&m.size===0&&y("replace");let x=o.useRef(a);return o.useEffect(()=>{a!==x.current&&(y(a),x.current=a)},[a]),{selectionMode:t,disallowEmptySelection:u,selectionBehavior:g,setSelectionBehavior:y,get isFocused(){return i.current},setFocused(v){i.current=v,l(v)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(v,E="first"){s.current=v,d.current=E,c(v)},selectedKeys:m,setSelectedKeys(v){(n||!Ty(v,m))&&b(v)},disabledKeys:$,disabledBehavior:r}}function ls(e,t){return e?e==="all"?"all":new it(e):t}class lr{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 a=this.collection.getItem(n);(!t||a&&Lr(this.collection,a,t)<0)&&(t=a)}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 a=this.collection.getItem(n);(!t||a&&Lr(this.collection,a,t)>0)&&(t=a)}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 it([u],u,u);else{let i=this.state.selectedKeys;var a;let l=(a=i.anchorKey)!==null&&a!==void 0?a:u;n=new it(i,l,u);var r;for(let s of this.getKeyRange(l,(r=i.currentKey)!==null&&r!==void 0?r: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),a=this.collection.getItem(u);return n&&a?Lr(this.collection,n,a)<=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 a=[],r=t;for(;r!=null;){let i=this.collection.getItem(r);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&a.push(r),r===u)return a;r=this.collection.getKeyAfter(r)}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 it(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 it([u],u,u):new it;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let u=new it;for(let n of t){let a=this.getKey(n);if(a!=null&&(u.add(a),this.selectionMode==="single"))break}this.state.setSelectedKeys(u)}getSelectAllKeys(){let t=[],u=n=>{for(;n!=null;){if(this.canSelectItem(n)){var a;let i=this.collection.getItem(n);(i==null?void 0:i.type)==="item"&&t.push(n);var r;i!=null&&i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&u((r=(a=Pt(ve(i,this.collection)))===null||a===void 0?void 0:a.key)!==null&&r!==void 0?r: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 it)}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}constructor(t,u,n){this.collection=t,this.state=u;var a;this.allowsCellSelection=(a=n==null?void 0:n.allowsCellSelection)!==null&&a!==void 0?a:!1,this._isSelectAll=null,this.layoutDelegate=(n==null?void 0:n.layoutDelegate)||null}}function or(e){let{filter:t,layoutDelegate:u}=e,n=Ln(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),r=o.useCallback(c=>t?new Si(t(c)):new Si(c),[t]),i=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=hl(e,r,i),s=o.useMemo(()=>new lr(l,n,{layoutDelegate:u}),[l,n,u]);const d=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&!l.getItem(n.focusedKey)&&d.current){const y=d.current.getItem(n.focusedKey),x=[...d.current.getKeys()].map(D=>{const R=d.current.getItem(D);return(R==null?void 0:R.type)==="item"?R:null}).filter(D=>D!==null),v=[...l.getKeys()].map(D=>{const R=l.getItem(D);return(R==null?void 0:R.type)==="item"?R:null}).filter(D=>D!==null);var c,f;const E=((c=x==null?void 0:x.length)!==null&&c!==void 0?c:0)-((f=v==null?void 0:v.length)!==null&&f!==void 0?f:0);var p,m,b;let B=Math.min(E>1?Math.max(((p=y==null?void 0:y.index)!==null&&p!==void 0?p:0)-E+1,0):(m=y==null?void 0:y.index)!==null&&m!==void 0?m:0,((b=v==null?void 0:v.length)!==null&&b!==void 0?b:0)-1),S=null,I=!1;for(;B>=0;){if(!s.isDisabled(v[B].key)){S=v[B];break}if(B<v.length-1&&!I)B++;else{I=!0;var $,g;B>(($=y==null?void 0:y.index)!==null&&$!==void 0?$:0)&&(B=(g=y==null?void 0:y.index)!==null&&g!==void 0?g:0),B--}}n.setFocusedKey(S?S.key:null)}d.current=l},[l,s,n,n.focusedKey]),{collection:l,disabledKeys:a,selectionManager:s}}function rb(e){var t;let[u,n]=Re(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),a=o.useMemo(()=>u!=null?[u]:[],[u]),{collection:r,disabledKeys:i,selectionManager:l}=or({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:a,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?r.getItem(u):null;return{collection:r,disabledKeys:i,selectionManager:l,selectedKey:u,setSelectedKey:n,selectedItem:s}}function Su(e){let[t,u]=Re(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=o.useCallback(()=>{u(!0)},[u]),a=o.useCallback(()=>{u(!1)},[u]),r=o.useCallback(()=>{u(!t)},[u,t]);return{isOpen:t,setOpen:u,open:n,close:a,toggle:r}}function Ry(e){var t;let{defaultFilter:u,menuTrigger:n="input",allowsEmptyCollection:a=!1,allowsCustomValue:r,shouldCloseOnBlur:i=!0}=e,[l,s]=o.useState(!1),[d,c]=o.useState(!1),[f,p]=o.useState(null),m=ue=>{e.onSelectionChange&&e.onSelectionChange(ue),ue===y&&(ee(),_())};var b;let{collection:$,selectionManager:g,selectedKey:y,setSelectedKey:x,selectedItem:v,disabledKeys:E}=rb({...e,onSelectionChange:m,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),B=e.defaultInputValue;if(B==null){var S,I;y==null?B="":B=(I=(S=$.getItem(y))===null||S===void 0?void 0:S.textValue)!==null&&I!==void 0?I:""}let[D,R]=Re(e.inputValue,B,e.onInputChange),A=$,k=o.useMemo(()=>e.items!=null||!u?$:Iy($,D,u),[$,D,u,e.items]),[z,C]=o.useState(k),w=o.useRef("focus"),F=Su({...e,onOpenChange:ue=>{e.onOpenChange&&e.onOpenChange(ue,ue?w.current:void 0),g.setFocused(ue),ue||g.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),T=(ue=null,ge)=>{let we=ge==="manual"||ge==="focus"&&n==="focus";(a||k.size>0||we&&A.size>0||e.items)&&(we&&!F.isOpen&&e.items===void 0&&s(!0),w.current=ge,p(ue),F.open())},P=(ue=null,ge)=>{let we=ge==="manual"||ge==="focus"&&n==="focus";!(a||k.size>0||we&&A.size>0||e.items)&&!F.isOpen||(we&&!F.isOpen&&e.items===void 0&&s(!0),F.isOpen||(w.current=ge),j(ue))},K=o.useCallback(()=>{C(l?A:k)},[l,A,k]),j=o.useCallback((ue=null)=>{F.isOpen&&K(),p(ue),F.toggle()},[F,K]),_=o.useCallback(()=>{F.isOpen&&(K(),F.close())},[F,K]),[W,X]=o.useState(D),ee=()=>{var ue,ge;let we=y!=null&&(ge=(ue=$.getItem(y))===null||ue===void 0?void 0:ue.textValue)!==null&&ge!==void 0?ge:"";X(we),R(we)};var be,le;let de=o.useRef((le=(be=e.selectedKey)!==null&&be!==void 0?be:e.defaultSelectedKey)!==null&&le!==void 0?le:null);var M;let Z=o.useRef(y!=null&&(M=(t=$.getItem(y))===null||t===void 0?void 0:t.textValue)!==null&&M!==void 0?M:"");o.useEffect(()=>{var ue;d&&(k.size>0||a)&&!F.isOpen&&D!==W&&n!=="manual"&&T(null,"input"),!l&&!a&&F.isOpen&&k.size===0&&_(),y!=null&&y!==de.current&&_(),D!==W&&(g.setFocusedKey(null),s(!1),D===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&x(null)),y!==de.current&&(e.inputValue===void 0||e.selectedKey===void 0)?ee():W!==D&&X(D);var ge;let we=y!=null&&(ge=(ue=$.getItem(y))===null||ue===void 0?void 0:ue.textValue)!==null&&ge!==void 0?ge:"";!d&&y!=null&&e.inputValue===void 0&&y===de.current&&Z.current!==we&&(X(we),R(we)),de.current=y,Z.current=we});let Y=Dt({...e,value:o.useMemo(()=>({inputValue:D,selectedKey:y}),[D,y])}),L=()=>{r&&y==null?G():oe()},G=()=>{de.current=null,x(null),_()},oe=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ue,ge;(ue=e.onSelectionChange)===null||ue===void 0||ue.call(e,y);var we;let s$=y!=null&&(we=(ge=$.getItem(y))===null||ge===void 0?void 0:ge.textValue)!==null&&we!==void 0?we:"";X(s$),_()}else ee(),_()};const Ze=()=>{if(r){var ue,ge;const we=y!=null&&(ge=(ue=$.getItem(y))===null||ue===void 0?void 0:ue.textValue)!==null&&ge!==void 0?ge:"";D===we?oe():G()}else oe()};let re=()=>{F.isOpen&&g.focusedKey!=null?y===g.focusedKey?oe():x(g.focusedKey):Ze()},jt=o.useRef(D),ou=ue=>{ue?(jt.current=D,n==="focus"&&!e.isReadOnly&&T(null,"focus")):(i&&Ze(),D!==jt.current&&Y.commitValidation()),c(ue)},o$=o.useMemo(()=>F.isOpen?l?A:k:z,[F.isOpen,A,k,l,z]);return{...Y,...F,focusStrategy:f,toggle:P,open:T,close:Ze,selectionManager:g,selectedKey:y,setSelectedKey:x,disabledKeys:E,isFocused:d,setFocused:ou,selectedItem:v,collection:o$,inputValue:D,setInputValue:R,commit:re,revert:L}}function Iy(e,t,u){return new Si(ib(e,e,t,u))}function ib(e,t,u,n){let a=[];for(let r of t)if(r.type==="section"&&r.hasChildNodes){let i=ib(e,ve(r,e),u,n);[...i].some(l=>l.type==="item")&&a.push({...r,childNodes:i})}else r.type==="item"&&n(r.textValue,u)?a.push({...r}):r.type!=="item"&&a.push({...r});return a}var lb={};lb={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var ob={};ob={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var sb={};sb={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 db={};db={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 cb={};cb={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 fb={};fb={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var pb={};pb={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 mb={};mb={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 bb={};bb={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 hb={};hb={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 $b={};$b={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 gb={};gb={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var Db={};Db={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 yb={};yb={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 vb={};vb={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 xb={};xb={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var Cb={};Cb={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var Eb={};Eb={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 Bb={};Bb={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 kb={};kb={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 Pb={};Pb={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 Sb={};Sb={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 Ab={};Ab={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 wb={};wb={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 Fb={};Fb={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 Tb={};Tb={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var Rb={};Rb={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 Ib={};Ib={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 Kb={};Kb={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 Mb={};Mb={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 zb={};zb={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 Vb={};Vb={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Nb={};Nb={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var _b={};_b={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var jb={};jb={"ar-AE":lb,"bg-BG":ob,"cs-CZ":sb,"da-DK":db,"de-DE":cb,"el-GR":fb,"en-US":pb,"es-ES":mb,"et-EE":bb,"fi-FI":hb,"fr-FR":$b,"he-IL":gb,"hr-HR":Db,"hu-HU":yb,"it-IT":vb,"ja-JP":xb,"ko-KR":Cb,"lt-LT":Eb,"lv-LV":Bb,"nb-NO":kb,"nl-NL":Pb,"pl-PL":Sb,"pt-BR":Ab,"pt-PT":wb,"ro-RO":Fb,"ru-RU":Tb,"sk-SK":Rb,"sl-SI":Ib,"sr-SP":Kb,"sv-SE":Mb,"tr-TR":zb,"uk-UA":Vb,"zh-CN":Nb,"zh-TW":_b};function Ky(e){return e&&e.__esModule?e.default:e}const Lb=new au(Ky(jb));function Ob(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Ia(e,t,u,n,a){let r=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=r||i||l,d=[];if(s){let c=Ob(),f=au.getGlobalDictionaryForPackage("@react-stately/datepicker")||Lb,p=new Rd(c,f),m=new tt(c,Tt({},a)),b=m.resolvedOptions().timeZone;i&&t!=null&&d.push(p.format("rangeUnderflow",{minValue:m.format(t.toDate(b))})),r&&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:r,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function My(e,t,u,n,a){var r;let i=Ia((r=e==null?void 0:e.start)!==null&&r!==void 0?r:null,t,u,n,a);var l;let s=Ia((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,a),d=wn(i,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=au.getGlobalDictionaryForPackage("@react-stately/datepicker")||Lb;d=wn(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",Ob())],validationDetails:{...ur,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const zy={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},Vy={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Tt(e,t){e={...t.shouldForceLeadingZeros?Vy:zy,...e};let n=t.granularity||"minute",a=Object.keys(e);var r;let i=a.indexOf((r=t.maxGranularity)!==null&&r!==void 0?r:"year");i<0&&(i=0);let l=a.indexOf(n);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let s=a.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 _u(e){return e&&"hour"in e?e:new rl}function Hb(e,t){if(e===null)return null;if(e)return he(e,t)}function on(e,t,u,n){if(e)return Hb(e,u);let a=he(zd(n??Xa()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?_e(a):n?a:bt(a)}function Bl(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[a,r]=o.useState([n,u]);e&&(a[0]!==n||a[1]!==u)&&r([n,u]),t||(t=e?n:a[0]);let i=e?u:a[1];return[t,i]}function Ny(e){let t=Su(e),[u,n]=Re(e.value,e.defaultValue||null,e.onChange),a=u||e.placeholderValue||null,[r,i]=Bl(a,e.granularity),l=u!=null?u.toDate(i??"UTC"):null,s=r==="hour"||r==="minute"||r==="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)),a&&!(r in a))throw new Error("Invalid granularity "+r+" for value "+a.toString());let $=(u==null?void 0:u.calendar.identifier)==="gregory"&&u.era==="BC",g=o.useMemo(()=>({granularity:r,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:$}),[r,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,$]),{minValue:y,maxValue:x,isDateUnavailable:v}=e,E=o.useMemo(()=>Ia(u,y,x,v,g),[u,y,x,v,g]),B=Dt({...e,value:u,builtinValidation:E}),S=B.displayValidation.isInvalid,I=e.validationState||(S?"invalid":null),D=(k,z)=>{n("timeZone"in z?z.set(_e(k)):bt(k,z)),p(null),b(null),B.commitValidation()};return{...B,value:u,setValue:n,dateValue:f,timeValue:m,setDateValue:k=>{let z=typeof c=="function"?c():c;s?m||z?D(k,m||_u(e.defaultValue||e.placeholderValue)):p(k):(n(k),B.commitValidation()),z&&t.setOpen(!1)},setTimeValue:k=>{f&&k?D(f,k):b(k)},granularity:r,hasTime:s,...t,setOpen(k){!k&&!u&&f&&s&&D(f,m||_u(e.defaultValue||e.placeholderValue)),t.setOpen(k)},validationState:I,isInvalid:S,formatValue(k,z){if(!l)return"";let C=Tt(z,g);return new tt(k,C).format(l)},getDateFormatter(k,z){let C={...g,...z},w=Tt({},C);return new tt(k,w)}}}const _y=new au({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 jy(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?_y.getStringForLocale(e,u):"––"}const ra={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},os={year:5,month:2,day:7,hour:2,minute:15,second:15},Ly={dayperiod:"dayPeriod"};function Ub(e){let{locale:t,createCalendar:u,hideTimeZone:n,isDisabled:a=!1,isReadOnly:r=!1,isRequired:i=!1,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,p]=Bl(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 tt(t),[t]),$=o.useMemo(()=>u(b.resolvedOptions().calendar),[u,b]);var g;let[y,x]=Re(e.value,(g=e.defaultValue)!==null&&g!==void 0?g:null,e.onChange),v=o.useMemo(()=>{var M;return(M=Hb(y,$))!==null&&M!==void 0?M:null},[y,$]),[E,B]=o.useState(()=>on(e.placeholderValue,f,$,p)),S=v||E,I=$.identifier==="gregory"&&S.era==="BC",D=o.useMemo(()=>{var M;return{granularity:f,maxGranularity:(M=e.maxGranularity)!==null&&M!==void 0?M:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:I,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,I]),R=o.useMemo(()=>Tt({},D),[D]),A=o.useMemo(()=>new tt(t,R),[t,R]),k=o.useMemo(()=>A.resolvedOptions(),[A]),z=o.useMemo(()=>A.formatToParts(new Date).filter(M=>ra[M.type]).reduce((M,Z)=>(M[Z.type]=!0,M),{}),[A]),[C,w]=o.useState(()=>e.value||e.defaultValue?{...z}:{}),N=o.useRef(null),F=o.useRef($.identifier);o.useEffect(()=>{$.identifier!==F.current&&(F.current=$.identifier,B(M=>Object.keys(C).length>0?he(M,$):on(e.placeholderValue,f,$,p)))},[$,f,C,p,e.placeholderValue]),y&&Object.keys(C).length<Object.keys(z).length&&(C={...z},w(C)),y==null&&Object.keys(C).length===Object.keys(z).length&&(C={},w(C),B(on(e.placeholderValue,f,$,p)));let T=v&&Object.keys(C).length>=Object.keys(z).length?v:E,P=M=>{if(e.isDisabled||e.isReadOnly)return;let Z=Object.keys(C),Y=Object.keys(z);M==null?(x(null),B(on(e.placeholderValue,f,$,p)),w({})):Z.length>=Y.length||Z.length===Y.length-1&&z.dayPeriod&&!C.dayPeriod&&N.current!=="dayPeriod"?(M=he(M,(c==null?void 0:c.calendar)||new He),x(M)):B(M),N.current=null},K=o.useMemo(()=>T.toDate(m),[T,m]),j=o.useMemo(()=>A.formatToParts(K).map(M=>{let Z=ra[M.type];M.type==="era"&&$.getEras().length===1&&(Z=!1);let Y=ra[M.type]&&!C[M.type],L=ra[M.type]?jy(M.type,M.value,t):null;return{type:Ly[M.type]||M.type,text:Y?L:M.value,...Oy(T,M.type,k),isPlaceholder:Y,placeholder:L,isEditable:Z}}),[K,C,A,k,T,$,t]);z.era&&C.year&&!C.era?(C.era=!0,w({...C})):!z.era&&C.era&&(delete C.era,w({...C}));let _=M=>{C[M]=!0,M==="year"&&z.era&&(C.era=!0),w({...C})},W=(M,Z)=>{if(C[M])P(Hy(T,M,Z,k));else{_(M);let Y=Object.keys(C),L=Object.keys(z);(Y.length>=L.length||Y.length===L.length-1&&z.dayPeriod&&!C.dayPeriod)&&P(T)}},X=o.useMemo(()=>Ia(y,l,s,d,D),[y,l,s,d,D]),ee=Dt({...e,value:y,builtinValidation:X}),be=ee.displayValidation.isInvalid,le=e.validationState||(be?"invalid":null);var de;return{...ee,value:v,dateValue:K,calendar:$,setValue:P,segments:j,dateFormatter:A,validationState:le,isInvalid:be,granularity:f,maxGranularity:(de=e.maxGranularity)!==null&&de!==void 0?de:"year",isDisabled:a,isReadOnly:r,isRequired:i,increment(M){W(M,1)},decrement(M){W(M,-1)},incrementPage(M){W(M,os[M]||1)},decrementPage(M){W(M,-(os[M]||1))},setSegment(M,Z){_(M),P(Uy(T,M,Z,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let M=Object.keys(C),Z=Object.keys(z);M.length===Z.length-1&&z.dayPeriod&&!C.dayPeriod&&(C={...z},w(C),P(T.copy()))},clearSegment(M){delete C[M],N.current=M,w({...C});let Z=on(e.placeholderValue,f,$,p),Y=T;if(M==="dayPeriod"&&"hour"in T&&"hour"in Z){let L=T.hour>=12,G=Z.hour>=12;L&&!G?Y=T.set({hour:T.hour-12}):!L&&G&&(Y=T.set({hour:T.hour+12}))}else M in T&&(Y=T.set({[M]:Z[M]}));x(null),P(Y)},formatValue(M){if(!v)return"";let Z=Tt(M,D);return new tt(t,Z).format(K)},getDateFormatter(M,Z){let Y={...D,...Z},L=Tt({},Y);return new tt(M,L)}}}function Oy(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:c2(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:f2(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 Hy(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 a=e.hour,r=a>=12;return e.set({hour:r?a-12:a+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 Uy(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 a=e.hour,r=a>=12;return u>=12===r?e:e.set({hour:r?a-12:a+12})}case"hour":if(n.hour12){let r=e.hour>=12;!r&&u===12&&(u=0),r&&u<12&&(u+=12)}case"minute":case"second":return e.set({[t]:u})}throw new Error("Unknown segment: "+t)}function Wy(e){var t,u;let n=Su(e),[a,r]=Re(e.value,e.defaultValue||null,e.onChange),[i,l]=o.useState(()=>a||{start:null,end:null});a==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let s=a||i,d=F=>{l(F||{start:null,end:null}),su(F)?r(F):r(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=Bl(c,e.granularity),m=f==="hour"||f==="minute"||f==="second";var b;let $=(b=e.shouldCloseOnSelect)!==null&&b!==void 0?b:!0,[g,y]=o.useState(null),[x,v]=o.useState(null);s&&su(s)&&(g=s,"hour"in s.start&&(x=s));let E=(F,T)=>{d({start:"timeZone"in T.start?T.start.set(_e(F.start)):bt(F.start,T.start),end:"timeZone"in T.end?T.end.set(_e(F.end)):bt(F.end,T.end)}),y(null),v(null),C.commitValidation()},B=F=>{let T=typeof $=="function"?$():$;m?su(F)&&(x!=null&&x.start)&&(x!=null&&x.end)?E(F,{start:(x==null?void 0:x.start)||_u(e.placeholderValue),end:(x==null?void 0:x.end)||_u(e.placeholderValue)}):y(F):su(F)?(d(F),C.commitValidation()):y(F),T&&n.setOpen(!1)},S=F=>{su(g)&&su(F)?E(g,F):v(F)},I=(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",D=o.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:I}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,I]),{minValue:R,maxValue:A,isDateUnavailable:k}=e,z=o.useMemo(()=>My(s,R,A,k,D),[s,R,A,k,D]),C=Dt({...e,value:a,name:o.useMemo(()=>[e.startName,e.endName].filter(F=>F!=null),[e.startName,e.endName]),builtinValidation:z}),w=C.displayValidation.isInvalid,N=e.validationState||(w?"invalid":null);return{...C,value:s,setValue:d,dateRange:g,timeRange:x,granularity:f,hasTime:m,setDate(F,T){var P,K;B(F==="start"?{start:T,end:(P=g==null?void 0:g.end)!==null&&P!==void 0?P:null}:{start:(K=g==null?void 0:g.start)!==null&&K!==void 0?K:null,end:T})},setTime(F,T){var P,K;S(F==="start"?{start:T,end:(P=x==null?void 0:x.end)!==null&&P!==void 0?P:null}:{start:(K=x==null?void 0:x.start)!==null&&K!==void 0?K:null,end:T})},setDateTime(F,T){var P,K;d(F==="start"?{start:T,end:(P=s==null?void 0:s.end)!==null&&P!==void 0?P:null}:{start:(K=s==null?void 0:s.start)!==null&&K!==void 0?K:null,end:T})},setDateRange:B,setTimeRange:S,...n,setOpen(F){!F&&!(s!=null&&s.start&&(s!=null&&s.end))&&su(g)&&m&&E(g,{start:(x==null?void 0:x.start)||_u(e.placeholderValue),end:(x==null?void 0:x.end)||_u(e.placeholderValue)}),n.setOpen(F)},validationState:N,isInvalid:w,formatValue(F,T){if(!s||!s.start||!s.end)return null;let P="timeZone"in s.start?s.start.timeZone:void 0,K=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),j="timeZone"in s.end?s.end.timeZone:void 0,_=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),W=Tt(T,{granularity:K,timeZone:P,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"}),X=s.start.toDate(P||"UTC"),ee=s.end.toDate(j||"UTC"),be=new tt(F,W),le;if(P===j&&K===_&&s.start.compare(s.end)!==0){try{let de=be.formatRangeToParts(X,ee),M=-1;for(let L=0;L<de.length;L++){let G=de[L];if(G.source==="shared"&&G.type==="literal")M=L;else if(G.source==="endRange")break}let Z="",Y="";for(let L=0;L<de.length;L++)L<M?Z+=de[L].value:L>M&&(Y+=de[L].value);return{start:Z,end:Y}}catch{}le=be}else{let de=Tt(T,{granularity:_,timeZone:j,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});le=new tt(F,de)}return{start:be.format(X),end:le.format(ee)}},getDateFormatter(F,T){let P={...D,...T},K=Tt({},P);return new tt(F,K)}}}function su(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function Zy(e){let[t,u]=Re(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const n=o.useCallback(()=>{u(!0)},[u]),a=o.useCallback(()=>{u(!1)},[u]),r=o.useCallback(()=>{u(!t)},[u,t]);return{isExpanded:t,setExpanded:u,expand:n,collapse:a,toggle:r}}function Gy(e){let{allowsMultipleExpanded:t=!1,isDisabled:u=!1}=e,[n,a]=Re(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&&a(new Set([n.values().next().value]))}),{allowsMultipleExpanded:t,isDisabled:u,expandedKeys:n,setExpandedKeys:a,toggleKey(r){let i;t?(i=new Set(n),i.has(r)?i.delete(r):i.add(r)):i=new Set(n.has(r)?[]:[r]),a(i)}}}function Wb(e){let t=Su(e),[u,n]=o.useState(null),[a,r]=o.useState([]),i=()=>{r([]),t.close()};return{focusStrategy:u,...t,open(d=null){n(d),t.open()},toggle(d=null){n(d),t.toggle()},close(){i()},expandedKeysStack:a,openSubmenu:(d,c)=>{r(f=>c>f.length?f:[...f.slice(0,c),d])},closeSubmenu:(d,c)=>{r(f=>f[c]===d?f.slice(0,c):f)}}}let qy=Math.round(Math.random()*1e10),Yy=0;function Jy(e){let t=o.useMemo(()=>e.name||`radio-group-${qy}-${++Yy}`,[e.name]);var u;let[n,a]=Re(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:null,e.onChange),[r,i]=o.useState(null),l=Dt({...e,value:n}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(a(c),l.commitValidation())},d=l.displayValidation.isInvalid;return{...l,name:t,selectedValue:n,setSelectedValue:s,lastFocusedValue:r,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(d?"invalid":null),isInvalid:d}}function Qy(e){let[t,u]=Re(ss(e.value),ss(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function ss(e){if(e!=null)return e.toString()}function Xy(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||Ln(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),r=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 $=ve(b,t);var p,m;d==="last"?s=(p=(c=wt($))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(m=(f=Pt($))===null||f===void 0?void 0:f.key)!==null&&m!==void 0?m:null}}r(s,d)};let i=o.useMemo(()=>new lr(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 $=b.hasChildNodes?[...ve(b,t)]:[],g=b.hasChildNodes&&d!==s&&s&&s.index<$.length?$[s.index].key:b.key;n.setFocusedKey(g)}else n.setFocusedKey(null)}l.current=t},[t,i,n,n.focusedKey]),{collection:t,disabledKeys:a,isKeyboardNavigationDisabled:!1,selectionManager:i}}class ev{*[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;for(let $ of f.childNodes)$.type==="cell"&&$.parentKey==null&&($.parentKey=f.key),m.add($.key),b?(b.nextKey=$.key,$.prevKey=b.key):$.prevKey=null,u($),b=$;if(b&&(b.nextKey=null),p)for(let $ of p.childNodes)m.has($.key)||n($)},n=f=>{this.keyMap.delete(f.key);for(let p of f.childNodes)this.keyMap.get(p.key)===p&&n(p)},a=null;for(let[f,p]of t.items.entries()){var r,i,l,s,d,c;let m={...p,level:(r=p.level)!==null&&r!==void 0?r: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};a?(a.nextKey=m.key,m.prevKey=a.key):m.prevKey=null,this.rows.push(m),u(m),a=m}a&&(a.nextKey=null)}}const Zb="row-header-column-"+Math.random().toString(36).slice(2);let Ai="row-header-column-"+Math.random().toString(36).slice(2);for(;Zb===Ai;)Ai="row-header-column-"+Math.random().toString(36).slice(2);function Gb(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 a,r;(r=(a=m).colspan)!==null&&r!==void 0||(a.colspan=0),m.colspan++;let{column:b,index:$}=n.get(m);if($>p.length)break;for(let g=$;g<p.length;g++)b.splice(g,0,null);for(let g=p.length;g<b.length;g++)b[g]&&n.has(b[g])&&(n.get(b[g]).index=g)}else 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 y;return $+((y=g.colspan)!==null&&y!==void 0?y:1)},0);if(b<s){let $={type:"placeholder",key:"placeholder-"+p.key,colspan:s-b,index:b,value:null,rendered:null,level:f,hasChildNodes:!1,childNodes:[],textValue:""};m.length>0&&(m[m.length-1].nextKey=$.key,$.prevKey=m[m.length-1].key),m.push($)}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,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 tv extends ev{*[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=Pt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getLastKey(){var t,u;return(u=(t=wt(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 a=[];for(let r of u.childNodes){let i=this.columns[r.index];if(n.has(i.key)&&r.textValue&&a.push(r.textValue),a.length===n.size)break}return a.join(" ")}return""}constructor(t,u,n){let a=new Set,r=null,i=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key:Zb,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:Ai,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":r=f;break;case"column":s.set(f.key,f),f.hasChildNodes||(i.push(f),f.props.isRowHeader&&a.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=Gb(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=a,this.body=r,this.headerRows=c,this._size=[...r.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 uv={ascending:"descending",descending:"ascending"};function nv(e){let[t,u]=o.useState(!1),{selectionMode:n="none",showSelectionCheckboxes:a,showDragButtons:r}=e,i=o.useMemo(()=>({showSelectionCheckboxes:a&&n!=="none",showDragButtons:r,selectionMode:n,columns:[]}),[e.children,a,n,r]),l=hl(e,o.useCallback(f=>new tv(f,null,i),[i]),i),{disabledKeys:s,selectionManager:d}=Xy({...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?uv[e.sortDescriptor.direction]:"ascending")})}}}function av(e){var t,u;let n=rb({...e,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:ds(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&u!==void 0?u:void 0}),{selectionManager:a,collection:r,selectedKey:i}=n,l=o.useRef(i);return o.useEffect(()=>{let s=i;(a.isEmpty||s==null||!r.getItem(s))&&(s=ds(r,n.disabledKeys),s!=null&&a.setSelectedKeys([s])),(s!=null&&a.focusedKey==null||!a.isFocused&&s!==l.current)&&a.setFocusedKey(s),l.current=s}),{...n,isDisabled:e.isDisabled||!1}}function ds(e,t){let u=null;if(e){var n,a,r,i;for(u=e.getFirstKey();u!=null&&(t.has(u)||!((a=e.getItem(u))===null||a===void 0||(n=a.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||(r=i.props)===null||r===void 0)&&r.isDisabled)&&u===e.getLastKey()&&(u=e.getFirstKey())}return u}const rv=1500,cs=500;let du={},iv=0,sn=!1,Et=null,cu=null;function qb(e={}){let{delay:t=rv,closeDelay:u=cs}=e,{isOpen:n,open:a,close:r}=Su(e),i=o.useMemo(()=>`${++iv}`,[]),l=o.useRef(null),s=o.useRef(r),d=()=>{du[i]=p},c=()=>{for(let b in du)b!==i&&(du[b](!0),delete du[b])},f=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),d(),sn=!0,a(),Et&&(clearTimeout(Et),Et=null),cu&&(clearTimeout(cu),cu=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)),Et&&(clearTimeout(Et),Et=null),sn&&(cu&&clearTimeout(cu),cu=setTimeout(()=>{delete du[i],cu=null,sn=!1},Math.max(cs,u)))},m=()=>{c(),d(),!n&&!Et&&!sn?Et=setTimeout(()=>{Et=null,sn=!0,f()},t):n||f()};return o.useEffect(()=>{s.current=r},[r]),o.useEffect(()=>()=>{l.current&&clearTimeout(l.current),du[i]&&delete du[i]},[i]),{isOpen:n,open:b=>{!b&&t>0&&!l.current?m():f()},close:p}}class lv{*[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 a=null,r=0;for(let[l,s]of this.keyMap)a?(a.nextKey=l,s.prevKey=a.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=r++),a=s,a.nextKey=void 0;var i;this.lastKey=(i=a==null?void 0:a.key)!==null&&i!==void 0?i:null}}function ov(e){let{onExpandedChange:t}=e,[u,n]=Re(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),a=Ln(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=hl(e,o.useCallback(s=>new lv(s,{expandedKeys:u}),[u]),null);return o.useEffect(()=>{a.focusedKey!=null&&!i.getItem(a.focusedKey)&&a.setFocusedKey(null)},[i,a.focusedKey]),{collection:i,expandedKeys:u,disabledKeys:r,toggleKey:s=>{n(sv(u,s))},setExpandedKeys:n,selectionManager:new lr(i,a)}}function sv(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const iu=o.createContext(null),un=o.createContext({}),On=o.forwardRef(function(t,u){[t,u]=Q(t,u,un);let{isDisabled:n,isInvalid:a,onHoverStart:r,onHoverChange:i,onHoverEnd:l,...s}=t,{hoverProps:d,isHovered:c}=ye({onHoverStart:r,onHoverChange:i,onHoverEnd:l,isDisabled:n}),{isFocused:f,isFocusVisible:p,focusProps:m}=ce({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),a??(a=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let b=U({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:p,isDisabled:n,isInvalid:a},defaultClassName:"react-aria-Group"});var $,g;return o.createElement("div",{...V(s,m,d),...b,ref:u,role:($=t.role)!==null&&$!==void 0?$:"group",slot:(g=t.slot)!==null&&g!==void 0?g: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":a||void 0},b.children)}),Yu=o.createContext({});let dv=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...a}=e;return a};const sr=Za(function(t,u){[t,u]=Q(t,u,Yu);let{hoverProps:n,isHovered:a}=ye(t),{isFocused:r,isFocusVisible:i,focusProps:l}=ce({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=U({...t,values:{isHovered:a,isFocused:r,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return o.createElement("input",{...V(dv(t),l,n),...d,ref:u,"data-focused":r||void 0,"data-disabled":t.disabled||void 0,"data-hovered":a||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),Yb=o.createContext({});let cv=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...a}=e;return a};const fv=o.forwardRef(function(t,u){[t,u]=Q(t,u,Yb);let{hoverProps:n,isHovered:a}=ye(t),{isFocused:r,isFocusVisible:i,focusProps:l}=ce({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=U({...t,values:{isHovered:a,isFocused:r,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return o.createElement("textarea",{...V(cv(t),l,n),...d,ref:u,"data-focused":r||void 0,"data-disabled":t.disabled||void 0,"data-hovered":a||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),pv=o.createContext(null),kl=o.forwardRef(function(t,u){[t,u]=Q(t,u,pv);let{validationBehavior:n}=Oe(iu)||{};var a,r;let i=(r=(a=t.validationBehavior)!==null&&a!==void 0?a:n)!==null&&r!==void 0?r:"native",l=o.useRef(null),[s,d]=Q({},l,Yu),[c,f]=$t(),[p,m]=o.useState("input"),{labelProps:b,inputProps:$,descriptionProps:g,errorMessageProps:y,...x}=cl({...Rt(t),inputElementType:p,label:f,validationBehavior:i},d),v=o.useCallback(S=>{d.current=S,S&&m(S instanceof HTMLTextAreaElement?"textarea":"input")},[d]),E=U({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:x.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),B=O(t);return delete B.id,o.createElement("div",{...B,...E,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":x.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(se,{values:[[zt,{...b,ref:c}],[Yu,{...V($,s),ref:v}],[Yb,{...$,ref:v}],[Ue,{slots:{description:g,errorMessage:y}}],[Vt,x]]},E.children))}),Jb=o.createContext(null),Qb=o.createContext(null),Hn={CollectionRoot({collection:e,renderDropIndicator:t}){return fs(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return fs(e,t,u)}};function fs(e,t,u){return Li({items:t?e.getChildren(t.key):e,dependencies:[u],children(n){var a;let r=n.render(n);if(!u||n.type!=="item")return r;let i=n.key,l=e.getKeyAfter(i);return o.createElement(o.Fragment,null,u({type:"item",key:i,dropPosition:"before"}),r,(l==null||((a=e.getItem(l))===null||a===void 0?void 0:a.type)!=="item")&&u({type:"item",key:i,dropPosition:"after"}))}})}const Ee=o.createContext(Hn);function Pl(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const Xb=o.createContext(null),Ka=o.forwardRef(function(t,u){[t,u]=Q(t,u,Xb);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:a,isPressed:r}=Gg({...t,elementType:n},u),{hoverProps:i,isHovered:l}=ye(t),{focusProps:s,isFocused:d,isFocusVisible:c}=ce(),f=U({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:r,isHovered:l,isFocused:d,isFocusVisible:c}});return o.createElement(n,{ref:u,slot:t.slot||void 0,...V(f,a,i,s),"data-focused":d||void 0,"data-hovered":l||void 0,"data-pressed":r||void 0,"data-focus-visible":c||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},f.children)}),wi=o.createContext(null),mv=o.forwardRef(function(t,u){[t,u]=Q(t,u,wi);let{CollectionRoot:n}=o.useContext(Ee),{navProps:a}=f6(t);return o.createElement(ku,{content:o.createElement(gt,t)},r=>{var i;return o.createElement("ol",{ref:u,...a,slot:t.slot||void 0,style:t.style,className:(i=t.className)!==null&&i!==void 0?i:"react-aria-Breadcrumbs"},o.createElement(wi.Provider,{value:t},o.createElement(n,{collection:r})))})}),bv=nu("item",function(t,u,n){let a=n.nextKey==null,{isDisabled:r,onAction:i}=Oe(wi),l={"aria-current":a?"page":null,isDisabled:r||a,onPress:()=>i==null?void 0:i(n.key)},s=U({...n.props,children:n.rendered,values:{isDisabled:r||a,isCurrent:a},defaultClassName:"react-aria-Breadcrumb"});return o.createElement("li",{...O(t),...s,ref:u,"data-disabled":r||a||void 0,"data-current":a||void 0},o.createElement(Xb.Provider,{value:l},s.children))}),Ma=o.createContext(null),za=o.createContext(null),dr=o.createContext(null),cr=o.createContext(null),hv=o.forwardRef(function(t,u){[t,u]=Q(t,u,Ma);let{locale:n}=me(),a=ab({...t,locale:n,createCalendar:tr}),{calendarProps:r,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=$6(t,a),c=U({...t,values:{state:a,isDisabled:t.isDisabled||!1,isInvalid:a.isValueInvalid},defaultClassName:"react-aria-Calendar"});return o.createElement("div",{...c,...r,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":a.isValueInvalid||void 0},o.createElement(se,{values:[[st,{slots:{previous:i,next:l}}],[Oa,{"aria-hidden":!0,level:2,children:d}],[dr,a],[Ma,t],[Ue,{slots:{errorMessage:s}}]]},o.createElement(tu,null,o.createElement("h2",null,r["aria-label"])),c.children,o.createElement(tu,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>a.focusNextPage(),tabIndex:-1}))))}),$v=o.forwardRef(function(t,u){[t,u]=Q(t,u,za);let{locale:n}=me(),a=wy({...t,locale:n,createCalendar:tr}),{calendarProps:r,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=g6(t,a,u),c=U({...t,values:{state:a,isDisabled:t.isDisabled||!1,isInvalid:a.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return o.createElement("div",{...c,...r,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":a.isValueInvalid||void 0},o.createElement(se,{values:[[st,{slots:{previous:i,next:l}}],[Oa,{"aria-hidden":!0,level:2,children:d}],[cr,a],[za,t],[Ue,{slots:{errorMessage:s}}]]},o.createElement(tu,null,o.createElement("h2",null,r["aria-label"])),c.children,o.createElement(tu,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>a.focusNextPage(),tabIndex:-1}))))}),fr=o.createContext(null),e5=o.forwardRef(function(t,u){let n=o.useContext(dr),a=o.useContext(cr),r=Oe(Ma),i=Oe(za),l=n??a,s=l.visibleRange.start;t.offset&&(s=s.add(t.offset));var d;let c=(d=r==null?void 0:r.firstDayOfWeek)!==null&&d!==void 0?d:i==null?void 0:i.firstDayOfWeek,{gridProps:f,headerProps:p,weekDays:m}=D6({startDate:s,endDate:va(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var b;return o.createElement(fr.Provider,{value:{headerProps:p,weekDays:m,startDate:s,firstDayOfWeek:c}},o.createElement("table",{...O(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(Dv,null,$=>o.createElement(vv,null,$)),o.createElement(Cv,null,t.children))))});function gv(e,t){let{children:u,style:n,className:a}=e,{headerProps:r,weekDays:i}=o.useContext(fr);return o.createElement("thead",{...O(e),...r,ref:t,style:n,className:a||"react-aria-CalendarGridHeader"},o.createElement("tr",null,i.map((l,s)=>o.cloneElement(u(l),{key:s}))))}const Dv=o.forwardRef(gv);function yv(e,t){let{children:u,style:n,className:a}=e;return o.createElement("th",{...O(e),ref:t,style:n,className:a||"react-aria-CalendarHeaderCell"},u)}const vv=o.forwardRef(yv);function xv(e,t){let{children:u,style:n,className:a}=e,r=o.useContext(dr),i=o.useContext(cr),l=r??i,{startDate:s,firstDayOfWeek:d}=o.useContext(fr),{locale:c}=me(),f=h2(s,c,d);return o.createElement("tbody",{...O(e),ref:t,style:n,className:a||"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 Cv=o.forwardRef(xv),t5=o.forwardRef(function({date:t,...u},n){let a=o.useContext(dr),r=o.useContext(cr),i=a??r;var l;let{startDate:s}=(l=o.useContext(fr))!==null&&l!==void 0?l:{startDate:i.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=v6({date:t},i,d),{hoverProps:m,isHovered:b}=ye({...u,isDisabled:p.isDisabled}),{focusProps:$,isFocusVisible:g}=ce();g&&(g=p.isFocused);let y=!o2(s,t),x=!1,v=!1;"highlightedRange"in i&&i.highlightedRange&&(x=Pe(t,i.highlightedRange.start),v=Pe(t,i.highlightedRange.end));let E=U({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:b,isOutsideMonth:y,isFocusVisible:g,isSelectionStart:x,isSelectionEnd:v,...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":g||void 0,"data-outside-visible-range":p.isOutsideVisibleRange||void 0,"data-outside-month":y||void 0,"data-selected":p.isSelected||void 0,"data-selection-start":x||void 0,"data-selection-end":v||void 0,"data-invalid":p.isInvalid||void 0};return o.createElement("td",{...c,ref:n},o.createElement("div",{...V(O(u),f,$,m,B,E),ref:d}))}),Ev=o.createContext(null),Sl=o.createContext(null),Bv=o.forwardRef(function(t,u){[t,u]=Q(t,u,Ev);let{validationBehavior:n}=Oe(iu)||{};var a,r;let i=(r=(a=t.validationBehavior)!==null&&a!==void 0?a:n)!==null&&r!==void 0?r:"native",l=Fy({...t,validationBehavior:i}),[s,d]=$t(),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=A6({...t,label:d,validationBehavior:i},l),$=U({...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,...$,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(se,{values:[[Sl,l],[zt,{...f,ref:s,elementType:"span"}],[Ue,{slots:{description:p,errorMessage:m}}],[Vt,b]]},$.children))}),kv=o.forwardRef(function(t,u){let{inputRef:n=null,...a}=t;[t,u]=Q(a,u,Ki);let{validationBehavior:r}=Oe(iu)||{};var i,l;let s=(l=(i=t.validationBehavior)!==null&&i!==void 0?i:r)!==null&&l!==void 0?l:"native",d=o.useContext(Sl),c=De(Eu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:m,isDisabled:b,isReadOnly:$,isPressed:g,isInvalid:y}=d?w6({...Rt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):Gc({...Rt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},Jc(t),c),{isFocused:x,isFocusVisible:v,focusProps:E}=ce(),B=b||$,{hoverProps:S,isHovered:I}=ye({...t,isDisabled:B}),D=U({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:g,isHovered:I,isFocused:x,isFocusVisible:v,isDisabled:b,isReadOnly:$,isInvalid:y,isRequired:t.isRequired||!1}}),R=O(t);return delete R.id,o.createElement("label",{...V(R,f,S,D),ref:u,slot:t.slot||void 0,"data-selected":m||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":g||void 0,"data-hovered":I||void 0,"data-focused":x||void 0,"data-focus-visible":v||void 0,"data-disabled":b||void 0,"data-readonly":$||void 0,"data-invalid":y||void 0,"data-required":t.isRequired||void 0},o.createElement(tu,{elementType:"span"},o.createElement("input",{...V(p,E),ref:c})),D.children)});var u5={};u5={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var n5={};n5={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var a5={};a5={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var r5={};r5={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var i5={};i5={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var l5={};l5={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var o5={};o5={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var s5={};s5={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var d5={};d5={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var c5={};c5={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var f5={};f5={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var p5={};p5={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var m5={};m5={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var b5={};b5={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var h5={};h5={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var $5={};$5={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var g5={};g5={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var D5={};D5={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var y5={};y5={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var v5={};v5={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var x5={};x5={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var C5={};C5={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var E5={};E5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var B5={};B5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var k5={};k5={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var P5={};P5={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var S5={};S5={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var A5={};A5={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var w5={};w5={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var F5={};F5={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var T5={};T5={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var R5={};R5={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var I5={};I5={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var K5={};K5={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var M5={};M5={"ar-AE":u5,"bg-BG":n5,"cs-CZ":a5,"da-DK":r5,"de-DE":i5,"el-GR":l5,"en-US":o5,"es-ES":s5,"et-EE":d5,"fi-FI":c5,"fr-FR":f5,"he-IL":p5,"hr-HR":m5,"hu-HU":b5,"it-IT":h5,"ja-JP":$5,"ko-KR":g5,"lt-LT":D5,"lv-LV":y5,"nb-NO":v5,"nl-NL":x5,"pl-PL":C5,"pt-BR":E5,"pt-PT":B5,"ro-RO":k5,"ru-RU":P5,"sk-SK":S5,"sl-SI":A5,"sr-SP":w5,"sv-SE":F5,"tr-TR":T5,"uk-UA":R5,"zh-CN":I5,"zh-TW":K5};const yt=o.createContext({}),Al=o.createContext(null),Pv=o.forwardRef(function(t,u){let{render:n}=o.useContext(Al);return o.createElement(o.Fragment,null,n(t,u))});function wl(e,t){var u;let n=e==null?void 0:e.renderDropIndicator,a=e==null||(u=e.isVirtualDragging)===null||u===void 0?void 0:u.call(e),r=o.useCallback(i=>{if(a||t!=null&&t.isDropTarget(i))return n?n(i):o.createElement(Pv,{target:i})},[t==null?void 0:t.target,a,n]);return e!=null&&e.useDropIndicator?r:void 0}function z5(e,t,u){var n,a;let r=e.focusedKey,i=null;if(!(t==null||(n=t.isVirtualDragging)===null||n===void 0)&&n.call(t)&&(u==null||(a=u.target)===null||a===void 0?void 0:a.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([r,i].filter(s=>s!=null)),[r,i])}const V5=o.createContext({}),N5=o.createContext({}),pr=o.createContext(null),Nt=o.createContext(null),Sv=o.forwardRef(function(t,u){[t,u]=Q(t,u,pr);let n=o.useContext(Nt);return n?o.createElement(_5,{state:n,props:t,listBoxRef:u}):o.createElement(ku,{content:o.createElement(gt,t)},a=>o.createElement(Av,{props:t,listBoxRef:u,collection:a}))});function Av({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext(Ee),{filterFn:a,collectionProps:r,collectionRef:i}=o.useContext(Jb)||{};t=De(o.useMemo(()=>Eu(t,i!==void 0?i:null),[i,t]));let l=o.useMemo(()=>a?u.filter(a):u,[u,a]),s=or({...e,collection:l,layoutDelegate:n});return o.createElement(_5,{state:s,props:{...e,...r},listBoxRef:t})}function _5({state:e,props:t,listBoxRef:u}){let{dragAndDropHooks:n,layout:a="stack",orientation:r="vertical"}=t,{collection:i,selectionManager:l}=e,s=!!(n!=null&&n.useDraggableCollectionState),d=!!(n!=null&&n.useDroppableCollectionState),{direction:c}=me(),{disabledBehavior:f,disabledKeys:p}=l,m=Qu({usage:"search",sensitivity:"base"}),{isVirtualized:b,layoutDelegate:$,dropTargetDelegate:g,CollectionRoot:y}=o.useContext(Ee),x=o.useMemo(()=>t.keyboardDelegate||new en({collection:i,collator:m,ref:u,disabledKeys:p,disabledBehavior:f,layout:a,orientation:r,direction:c,layoutDelegate:$}),[i,m,u,f,p,r,c,t.keyboardDelegate,a,$]),{listBoxProps:v}=rf({...t,shouldSelectOnPressUp:s||t.shouldSelectOnPressUp,keyboardDelegate:x,isVirtualized:b},e,u),E=o.useRef(s),B=o.useRef(d);o.useEffect(()=>{E.current!==s&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),B.current!==d&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[s,d]);let S,I,D,R=!1,A=null,k=o.useRef(null);if(s&&n){S=n.useDraggableCollectionState({collection:i,selectionManager:l,preview:n.renderDragPreview?k:void 0}),n.useDraggableCollection({},S,u);let P=n.DragPreview;A=n.renderDragPreview?o.createElement(P,{ref:k},n.renderDragPreview):null}if(d&&n){I=n.useDroppableCollectionState({collection:i,selectionManager:l});let P=n.dropTargetDelegate||g||new n.ListDropTargetDelegate(i,u,{orientation:r,layout:a,direction:c});D=n.useDroppableCollection({keyboardDelegate:x,dropTargetDelegate:P},I,u),R=I.isDropTarget({type:"root"})}let{focusProps:z,isFocused:C,isFocusVisible:w}=ce(),N={isDropTarget:R,isEmpty:e.collection.size===0,isFocused:C,isFocusVisible:w,layout:t.layout||"stack",state:e},F=U({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:N}),T=null;return e.collection.size===0&&t.renderEmptyState&&(T=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(N))),o.createElement(Mn,null,o.createElement("div",{...O(t),...V(v,z,D==null?void 0:D.collectionProps),...F,ref:u,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":R||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":C||void 0,"data-focus-visible":w||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(se,{values:[[pr,t],[Nt,e],[yt,{dragAndDropHooks:n,dragState:S,dropState:I}],[N5,{elementType:"div"}],[Al,{render:Tv}],[Qb,{name:"ListBoxSection",render:wv}]]},o.createElement(y,{collection:i,scrollRef:u,persistedKeys:z5(l,n,I),renderDropIndicator:wl(n,I)})),T,A))}function wv(e,t,u,n="react-aria-ListBoxSection"){let a=o.useContext(Nt),{dragAndDropHooks:r,dropState:i}=o.useContext(yt),{CollectionBranch:l}=o.useContext(Ee),[s,d]=$t();var c;let{headingProps:f,groupProps:p}=df({heading:d,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),m=U({defaultClassName:n,className:e.className,style:e.style,values:{}});return o.createElement("section",{...O(e),...p,...m,ref:t},o.createElement(V5.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:a.collection,parent:u,renderDropIndicator:wl(r,i)})))}const Fv=nu("item",function(t,u,n){let a=De(u),r=o.useContext(Nt),{dragAndDropHooks:i,dragState:l,dropState:s}=o.useContext(yt),{optionProps:d,labelProps:c,descriptionProps:f,...p}=sf({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},r,a),{hoverProps:m,isHovered:b}=ye({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),$=null;l&&i&&($=i.useDraggableItem({key:n.key},l));let g=null;s&&i&&(g=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,a));let y=l&&l.isDragging(n.key),x=U({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...p,isHovered:b,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:y,isDropTarget:g==null?void 0:g.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 v=t.href?"a":"div";return o.createElement(v,{...V(d,m,$==null?void 0:$.dragProps,g==null?void 0:g.dropProps),...x,ref:a,"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":y||void 0,"data-drop-target":(g==null?void 0:g.isDropTarget)||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode},o.createElement(se,{values:[[Ue,{slots:{label:c,description:f}}]]},x.children))});function Tv(e,t){t=De(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(yt),{dropIndicatorProps:a,isHidden:r,isDropTarget:i}=u.useDropIndicator(e,n,t);return r?null:o.createElement(Iv,{...e,dropIndicatorProps:a,isDropTarget:i,ref:t})}function Rv(e,t){let{dropIndicatorProps:u,isDropTarget:n,...a}=e,r=U({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...u,...r,role:"option",ref:t,"data-drop-target":n||void 0})}const Iv=o.forwardRef(Rv),Fl=o.createContext({placement:"bottom"}),Kv=o.forwardRef(function(t,u){[t,u]=Q(t,u,Fl);let n=t.placement,a={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(a[n]="100%");let r=U({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});return r.style&&Object.keys(r.style).forEach(i=>r.style[i]===void 0&&delete r.style[i]),o.createElement("div",{...t,...r,style:{...a,...r.style},ref:u,"data-placement":n})}),Un=o.createContext(null),mr=o.forwardRef(function(t,u){[t,u]=Q(t,u,Un);let n=o.useContext(nn),a=Su(t),r=t.isOpen!=null||t.defaultOpen!=null||!n?a:n,i=Ss(u,r.isOpen)||t.isExiting||!1;if(og()){let s=t.children;return typeof s=="function"&&(s=s({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),o.createElement(o.Fragment,null,s)}return r&&!r.isOpen&&!i?null:o.createElement(Mv,{...t,triggerRef:t.triggerRef,state:r,popoverRef:u,isExiting:i})});function Mv({state:e,isExiting:t,UNSTABLE_portalContainer:u,...n}){let a=o.useRef(null),[r,i]=o.useState(0);q(()=>{a.current&&e.isOpen&&i(a.current.getBoundingClientRect().width)},[e.isOpen,a]);var l;let{popoverProps:s,underlayProps:d,arrowProps:c,placement:f}=Q6({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:r},e),p=n.popoverRef,m=Ps(p,!!f)||n.isEntering||!1,b=U({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:f,isEntering:m,isExiting:t}}),$={...s.style,...b.style};return o.createElement(tf,{...n,isExiting:t,portalContainer:u},!n.isNonModal&&e.isOpen&&o.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),o.createElement("div",{...V(O(n),s),...b,ref:p,slot:n.slot||void 0,style:$,"data-trigger":n.trigger,"data-placement":f,"data-entering":m||void 0,"data-exiting":t||void 0},!n.isNonModal&&o.createElement(Aa,{onDismiss:e.close}),o.createElement(Fl.Provider,{value:{...c,placement:f,ref:a}},b.children),o.createElement(Aa,{onDismiss:e.close})))}const zv=o.createContext({}),j5=o.createContext(null),Tl=o.createContext(null),L5=o.createContext(null),Va=o.createContext(null);function Vv(e){let t=Wb(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:a}=gl({...e,type:"menu"},t,u),[r,i]=o.useState(null),l=o.useCallback(()=>{u.current&&i(u.current.offsetWidth+"px")},[u]);Gu({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(se,{values:[[j5,{...a,ref:s}],[nn,t],[L5,t],[Un,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":r}}]]},o.createElement(zs,{...n,ref:u,isPressed:t.isOpen},e.children))}const Nv=o.createContext(null),_v=o.forwardRef(function(t,u){return[t,u]=Q(t,u,j5),o.createElement(ku,{content:o.createElement(gt,t)},n=>n.size>0&&o.createElement(jv,{props:t,collection:n,menuRef:u}))});function jv({props:e,collection:t,menuRef:u}){let{filterFn:n,collectionProps:a,collectionRef:r}=o.useContext(Jb)||{};u=De(o.useMemo(()=>Eu(u,r!==void 0?r:null),[r,u]));let i=o.useMemo(()=>n?t.filter(n):t,[t,n]),l=ov({...e,collection:i,children:void 0}),s=o.useContext(L5),{isVirtualized:d,CollectionRoot:c}=o.useContext(Ee),{menuProps:f}=dD({...e,...a,isVirtualized:d,onClose:e.onClose||(s==null?void 0:s.close)},l,u),p=U({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{}});return o.createElement(Mn,null,o.createElement("div",{...O(e),...f,...p,ref:u,slot:e.slot||void 0,onScroll:e.onScroll},o.createElement(se,{values:[[Tl,l],[N5,{elementType:"div"}],[Qb,{name:"MenuSection",render:Ov}],[Nv,{parentMenuRef:u}],[Fi,null],[Va,l.selectionManager]]},o.createElement(c,{collection:l.collection,persistedKeys:Pl(l.selectionManager.focusedKey),scrollRef:u}))))}class Lv extends lr{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 Ov(e,t,u,n="react-aria-MenuSection"){var a,r;let i=o.useContext(Tl),{CollectionBranch:l}=o.useContext(Ee),[s,d]=$t();var c;let{headingProps:f,groupProps:p}=fD({heading:d,"aria-label":(c=u.props["aria-label"])!==null&&c!==void 0?c:void 0}),m=U({defaultClassName:n,className:(a=u.props)===null||a===void 0?void 0:a.className,style:(r=u.props)===null||r===void 0?void 0:r.style,values:{}}),b=o.useContext(Va),$=Ln(e),g=e.selectionMode!=null?new Lv(b,$):b;return o.createElement("section",{...O(e),...p,...m,ref:t},o.createElement(se,{values:[[V5,{...f,ref:s}],[Va,g]]},o.createElement(l,{collection:i.collection,parent:u})))}const Fi=o.createContext(null),Hv=nu("item",function(t,u,n){var a;[t,u]=Q(t,u,Fi);let r=(a=Oe(Fi))===null||a===void 0?void 0:a.id,i=o.useContext(Tl),l=De(u),s=o.useContext(Va),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...m}=cD({...t,id:r,key:n.key,selectionManager:s},i,l),{isFocusVisible:b,focusProps:$}=ce(),{hoverProps:g,isHovered:y}=ye({isDisabled:m.isDisabled}),x=U({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...m,isHovered:y,isFocusVisible:b,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),v=t.href?"a":"div";return o.createElement(v,{...V(d,$,g),...x,ref:l,"data-disabled":m.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":b||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(se,{values:[[Ue,{slots:{label:c,description:f}}],[zv,p]]},x.children))}),Rl=o.createContext(null),nn=o.createContext(null),O5=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=Q(t,u,Rl);let{dialogProps:a,titleProps:r}=wp({...t,"aria-labelledby":n},u),i=o.useContext(nn);!a["aria-label"]&&!a["aria-labelledby"]&&(t["aria-labelledby"]?a["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=U({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",{...O(t),...a,...l,ref:u,slot:t.slot||void 0},o.createElement(se,{values:[[Oa,{slots:{[yu]:{},title:{...r,level:2}}}],[st,{slots:{[yu]:{},close:{onPress:()=>i==null?void 0:i.close()}}}]]},l.children))}),Uv=o.createContext(null),Wv=o.createContext(null),Zv=o.forwardRef(function(t,u){[t,u]=Q(t,u,Uv);let{children:n,isDisabled:a=!1,isInvalid:r=!1,isRequired:i=!1}=t,l=o.useMemo(()=>{var s;return o.createElement(pr.Provider,{value:{items:(s=t.items)!==null&&s!==void 0?s:t.defaultItems}},typeof n=="function"?n({isOpen:!1,isDisabled:a,isInvalid:r,isRequired:i,defaultChildren:null}):n)},[n,a,r,i,t.items,t.defaultItems]);return o.createElement(ku,{content:l},s=>o.createElement(Gv,{props:t,collection:s,comboBoxRef:u}))});function Gv({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:a="key",allowsCustomValue:r}=e;r&&(a="text");let{validationBehavior:i}=Oe(iu)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:i)!==null&&s!==void 0?s:"native",{contains:c}=sc({sensitivity:"base"}),f=Ry({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),$=o.useRef(null),[g,y]=$t(),{buttonProps:x,inputProps:v,listBoxProps:E,labelProps:B,descriptionProps:S,errorMessageProps:I,...D}=mD({...Rt(e),label:y,inputRef:m,buttonRef:p,listBoxRef:b,popoverRef:$,name:a==="text"?n:void 0,validationBehavior:d},f),[R,A]=o.useState(null),k=o.useCallback(()=>{if(m.current){var F;let T=(F=p.current)===null||F===void 0?void 0:F.getBoundingClientRect(),P=m.current.getBoundingClientRect(),K=T?Math.min(T.left,P.left):P.left,j=T?Math.max(T.right,P.right):P.right;A(j-K+"px")}},[p,m,A]);Gu({ref:m,onResize:k});let z=o.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:D.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,D.isInvalid,e.isRequired]),C=U({...e,values:z,defaultClassName:"react-aria-ComboBox"}),w=O(e);delete w.id;var N;return o.createElement(se,{values:[[Wv,f],[zt,{...B,ref:g}],[st,{...x,ref:p,isPressed:f.isOpen}],[Yu,{...v,ref:m}],[nn,f],[Un,{ref:$,triggerRef:m,scrollRef:b,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":R}}],[pr,{...E,ref:b}],[Nt,f],[Ue,{slots:{description:S,errorMessage:I}}],[un,{isInvalid:D.isInvalid,isDisabled:e.isDisabled||!1}],[Vt,D]]},o.createElement("div",{...w,...C,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":D.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&a==="key"&&o.createElement("input",{type:"hidden",name:n,value:(N=f.selectedKey)!==null&&N!==void 0?N:""}))}const br=o.createContext(null),Wn=o.createContext(null),Il=o.createContext(null),qv=o.forwardRef(function(t,u){[t,u]=Q(t,u,br);let{validationBehavior:n}=Oe(iu)||{};var a,r;let i=(r=(a=t.validationBehavior)!==null&&a!==void 0?a:n)!==null&&r!==void 0?r:"native",{locale:l}=me(),s=Ub({...t,locale:l,createCalendar:tr,validationBehavior:i}),d=o.useRef(null),[c,f]=$t(),p=o.useRef(null),{labelProps:m,fieldProps:b,inputProps:$,descriptionProps:g,errorMessageProps:y,...x}=Ap({...Rt(t),label:f,inputRef:p,validationBehavior:i},s,d),v=U({...Rt(t),values:{state:s,isInvalid:s.isInvalid,isDisabled:s.isDisabled},defaultClassName:"react-aria-DateField"}),E=O(t);return delete E.id,o.createElement(se,{values:[[Wn,s],[un,{...b,ref:d,isInvalid:s.isInvalid}],[Yu,{...$,ref:p}],[zt,{...m,ref:c,elementType:"span"}],[Ue,{slots:{description:g,errorMessage:y}}],[Vt,x]]},o.createElement("div",{...E,...v,ref:u,slot:t.slot||void 0,"data-invalid":s.isInvalid||void 0}))}),Na=o.forwardRef(function(t,u){let n=o.useContext(Wn),a=o.useContext(Il);return n||a?o.createElement(H5,{...t,ref:u}):o.createElement(Yv,{...t,ref:u})}),Yv=o.forwardRef((e,t)=>{let[u,n]=Q({slot:e.slot},t,br),{locale:a}=me(),r=Ub({...u,locale:a,createCalendar:tr}),i=o.useRef(null),{fieldProps:l,inputProps:s}=Ap({...u,inputRef:i},r,n);return o.createElement(se,{values:[[Wn,r],[Yu,{...s,ref:i}],[un,{...l,ref:n,isInvalid:r.isInvalid}]]},o.createElement(H5,e))}),H5=o.forwardRef((e,t)=>{let{className:u,children:n}=e,a=o.useContext(Wn),r=o.useContext(Il),i=a??r;return o.createElement(o.Fragment,null,o.createElement(On,{...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(sr,null))}),_a=o.forwardRef(function({segment:t,...u},n){let a=o.useContext(Wn),r=o.useContext(Il),i=a??r,l=De(n),{segmentProps:s}=vD(t,i,l),{focusProps:d,isFocused:c,isFocusVisible:f}=ce(),{hoverProps:p,isHovered:m}=ye({...u,isDisabled:i.isDisabled||t.type==="literal"}),b=U({...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("div",{...V(O(u),s,d,p),...b,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})}),Jv=o.createContext(null),Qv=o.createContext(null),Xv=o.createContext(null),ex=o.createContext(null),tx=o.forwardRef(function(t,u){[t,u]=Q(t,u,Jv);let{validationBehavior:n}=Oe(iu)||{};var a,r;let i=(r=(a=t.validationBehavior)!==null&&a!==void 0?a:n)!==null&&r!==void 0?r:"native",l=Ny({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=$t(),{groupProps:f,labelProps:p,fieldProps:m,buttonProps:b,dialogProps:$,calendarProps:g,descriptionProps:y,errorMessageProps:x,...v}=$D({...Rt(t),label:c,validationBehavior:i},l,s),[E,B]=o.useState(null),S=o.useCallback(()=>{s.current&&B(s.current.offsetWidth+"px")},[]);Gu({ref:s,onResize:S});let{focusProps:I,isFocused:D,isFocusVisible:R}=ce({within:!0}),A=U({...t,values:{state:l,isFocusWithin:D,isFocusVisible:R,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DatePicker"}),k=O(t);return delete k.id,o.createElement(se,{values:[[Xv,l],[un,{...f,ref:s,isInvalid:l.isInvalid}],[br,m],[st,{...b,isPressed:l.isOpen}],[zt,{...p,ref:d,elementType:"span"}],[Ma,g],[nn,l],[Un,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":E}}],[Rl,$],[Ue,{slots:{description:y,errorMessage:x}}],[Vt,v]]},o.createElement("div",{...I,...k,...A,ref:u,slot:t.slot||void 0,"data-focus-within":D||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":R||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),ux=o.forwardRef(function(t,u){[t,u]=Q(t,u,Qv);let{validationBehavior:n}=Oe(iu)||{};var a,r;let i=(r=(a=t.validationBehavior)!==null&&a!==void 0?a:n)!==null&&r!==void 0?r:"native",l=Wy({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=$t(),{groupProps:f,labelProps:p,startFieldProps:m,endFieldProps:b,buttonProps:$,dialogProps:g,calendarProps:y,descriptionProps:x,errorMessageProps:v,...E}=ED({...Rt(t),label:c,validationBehavior:i},l,s),[B,S]=o.useState(null),I=o.useCallback(()=>{s.current&&S(s.current.offsetWidth+"px")},[]);Gu({ref:s,onResize:I});let{focusProps:D,isFocused:R,isFocusVisible:A}=ce({within:!0}),k=U({...t,values:{state:l,isFocusWithin:R,isFocusVisible:A,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DateRangePicker"}),z=O(t);return delete z.id,o.createElement(se,{values:[[ex,l],[un,{...f,ref:s,isInvalid:l.isInvalid}],[st,{...$,isPressed:l.isOpen}],[zt,{...p,ref:d,elementType:"span"}],[za,y],[nn,l],[Un,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":B}}],[Rl,g],[br,{slots:{start:m,end:b}}],[Ue,{slots:{description:x,errorMessage:v}}],[Vt,E]]},o.createElement("div",{...D,...z,...k,ref:u,slot:t.slot||void 0,"data-focus-within":R||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":A||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),U5=o.createContext(null),nx=o.forwardRef(function(t,u){let n=Gy(t),a=U({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),r=O(t);return o.createElement("div",{...r,...a,ref:u,"data-disabled":t.isDisabled||void 0},o.createElement(U5.Provider,{value:n},a.children))}),ax=o.createContext(null),rx=o.createContext(null),W5=o.createContext(null),ix=o.forwardRef(function(t,u){[t,u]=Q(t,u,ax);let n=o.useContext(U5),{id:a,...r}=t,i=ae();a||(a=i);let l=n?n.expandedKeys.has(a):t.isExpanded,s=Zy({...t,isExpanded:l,onExpandedChange(y){var x;n&&n.toggleKey(a),(x=t.onExpandedChange)===null||x===void 0||x.call(t,y)}}),d=o.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:p}=BD({...t,isExpanded:l,isDisabled:c},s,d),{isFocusVisible:m,focusProps:b}=ce({within:!0}),$=U({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:s.isExpanded,isDisabled:c,isFocusVisibleWithin:m,state:s}}),g=O(r);return o.createElement(se,{values:[[st,{slots:{[yu]:{},trigger:f}}],[W5,{panelProps:p,panelRef:d}],[rx,s]]},o.createElement("div",{ref:u,"data-expanded":s.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":m||void 0,...g,...b,...$},$.children))}),lx=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:a,panelRef:r}=o.useContext(W5),{isFocusVisible:i,focusProps:l}=ce({within:!0}),s=U({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:i}}),d=O(t);return o.createElement("div",{...d,ref:Eu(u,r),...V(a,l),...s,role:n,"data-focus-visible-within":i||void 0},o.createElement(se,{values:[[st,null]]},t.children))});function ox(e){return e&&e.__esModule?e.default:e}const sx=o.createContext(null),dx=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=Q(t,u,sx);let a=De(u),r=o.useRef(null),{dropProps:i,dropButtonProps:l,isDropTarget:s}=jD({...t,ref:r,hasDropButton:!0}),{buttonProps:d}=sl(l||{},r),{hoverProps:c,isHovered:f}=ye(t),{focusProps:p,isFocused:m,isFocusVisible:b}=ce(),$=$e(ox(M5),"react-aria-components"),g=ut(),y=t["aria-label"]||$.format("dropzoneLabel"),x=t["aria-labelledby"],v=[g,x].filter(Boolean).join(" "),E=mt({"aria-label":y,"aria-labelledby":v}),{clipboardProps:B}=LD({isDisabled:n,onPaste:D=>{var R;return(R=t.onDrop)===null||R===void 0?void 0:R.call(t,{type:"drop",items:D,x:0,y:0,dropOperation:"copy"})}}),S=U({...t,values:{isHovered:f,isFocused:m,isFocusVisible:b,isDropTarget:s,isDisabled:n},defaultClassName:"react-aria-DropZone"}),I=O(t);return delete I.id,o.createElement(se,{values:[[Ue,{id:g,slot:"label"}]]},o.createElement("div",{...V(i,c,I),...S,slot:t.slot||void 0,ref:a,onClick:D=>{var R;let A=D.target;for(;A&&(!((R=a.current)===null||R===void 0)&&R.contains(A))&&!_g(A);){if(A===a.current){var k;(k=r.current)===null||k===void 0||k.focus();break}A=A.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(tu,null,o.createElement("button",{...V(d,p,B,E),ref:r})),S.children))}),cx=o.forwardRef(function(t,u){let{onSelect:n,acceptedFileTypes:a,allowsMultiple:r,defaultCamera:i,children:l,acceptDirectory:s,...d}=t,c=De(u),f=O(d);return o.createElement(o.Fragment,null,o.createElement(zs,{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(sr,{...f,type:"file",ref:c,style:{display:"none"},accept:a==null?void 0:a.toString(),onChange:p=>n==null?void 0:n(p.target.files),capture:i,multiple:r,webkitdirectory:s?"":void 0}))}),Kl=o.forwardRef(function(t,u){[t,u]=Q(t,u,Oa);let{children:n,level:a=3,className:r,...i}=t,l=`h${a}`;return o.createElement(l,{...i,ref:u,className:r??"react-aria-Heading"},n)}),fx=o.createContext(null),px=o.createContext(null),Z5=o.createContext(null),mx=o.forwardRef(function(t,u){[t,u]=Q(t,u,fx);let{validationBehavior:n}=Oe(iu)||{};var a,r;let i=(r=(a=t.validationBehavior)!==null&&a!==void 0?a:n)!==null&&r!==void 0?r:"native",l=Jy({...t,validationBehavior:i}),[s,d]=$t(),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=ty({...t,label:d,validationBehavior:i},l),$=U({...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,...$,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(se,{values:[[Z5,l],[zt,{...f,ref:s,elementType:"span"}],[Ue,{slots:{description:p,errorMessage:m}}],[Vt,b]]},$.children))}),bx=o.forwardRef(function(t,u){let{inputRef:n=null,...a}=t;[t,u]=Q(a,u,px);let r=o.useContext(Z5),i=De(Eu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=ey({...Rt(t),children:typeof t.children=="function"?!0:t.children},r,i),{isFocused:p,isFocusVisible:m,focusProps:b}=ce(),$=c||r.isReadOnly,{hoverProps:g,isHovered:y}=ye({...t,isDisabled:$}),x=U({...t,defaultClassName:"react-aria-Radio",values:{isSelected:d,isPressed:f,isHovered:y,isFocused:p,isFocusVisible:m,isDisabled:c,isReadOnly:r.isReadOnly,isInvalid:r.isInvalid,isRequired:r.isRequired}}),v=O(t);return delete v.id,o.createElement("label",{...V(v,l,g,x),ref:u,"data-selected":d||void 0,"data-pressed":f||void 0,"data-hovered":y||void 0,"data-focused":p||void 0,"data-focus-visible":m||void 0,"data-disabled":c||void 0,"data-readonly":r.isReadOnly||void 0,"data-invalid":r.isInvalid||void 0,"data-required":r.isRequired||void 0},o.createElement(tu,{elementType:"span"},o.createElement("input",{...V(s,b),ref:i})),x.children)});class hx extends Wa{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),super.commit(t,u,n),this.rows=[...this.getChildren(this.body.key)]}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let u=new Map,n=a=>{switch(a.type){case"column":u.set(a.key,a),a.hasChildNodes||(a.index=this.columns.length,this.columns.push(a),a.props.isRowHeader&&this.rowHeaderColumnKeys.add(a.key));break}for(let r of this.getChildren(a.key))n(r)};for(let a of this.getChildren(this.head.key))n(a);if(this.headerRows=Gb(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 a;if((n==null?void 0:n.type)==="column")return(a=n.prevKey)!==null&&a!==void 0?a:null;let r=super.getKeyBefore(t);return r!=null&&((u=this.getItem(r))===null||u===void 0?void 0:u.type)==="tablebody"?null:r}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,a=[];for(let r of this.getChildren(t)){let i=this.columns[r.index];if(n.has(i.key)&&r.textValue&&a.push(r.textValue),a.length===n.size)break}return a.join(" ")}constructor(...t){super(...t),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new vn("tableheader",-1),this.body=new vn("tablebody",-2),this.columnsDirty=!0}}const $x=o.createContext(null),gx=o.createContext(null),vt=o.createContext(null),G5=o.createContext(null),Dx=o.forwardRef(function(t,u){var n;[t,u]=Q(t,u,gx);let a=Ln(t),{selectionBehavior:r,selectionMode:i,disallowEmptySelection:l}=a,s=!!(!((n=t.dragAndDropHooks)===null||n===void 0)&&n.useDraggableCollectionState),d=o.useMemo(()=>({selectionBehavior:i==="none"?null:r,selectionMode:i,disallowEmptySelection:l,allowsDragging:s}),[r,i,l,s]),c=o.createElement(q5.Provider,{value:d},o.createElement(gt,t));return o.createElement(ku,{content:c,createCollection:()=>new hx},f=>o.createElement(yx,{props:t,forwardedRef:u,selectionState:a,collection:f}))});function yx({props:e,forwardedRef:t,selectionState:u,collection:n}){let a=o.useContext($x);t=De(o.useMemo(()=>Eu(t,a==null?void 0:a.tableRef),[t,a==null?void 0:a.tableRef]));let r=nv({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:i,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext(Ee),{dragAndDropHooks:c}=e,{gridProps:f}=oy({...e,layoutDelegate:l,isVirtualized:i},r,t),p=r.selectionManager,m=!!(c!=null&&c.useDraggableCollectionState),b=!!(c!=null&&c.useDroppableCollectionState),$=o.useRef(m),g=o.useRef(b);o.useEffect(()=>{$.current!==m&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),g.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 y,x,v,E=!1,B=null,S=o.useRef(null);if(m&&c){y=c.useDraggableCollectionState({collection:n,selectionManager:p,preview:c.renderDragPreview?S:void 0}),c.useDraggableCollection({},y,t);let F=c.DragPreview;B=c.renderDragPreview?o.createElement(F,{ref:S},c.renderDragPreview):null}if(b&&c){x=c.useDroppableCollectionState({collection:n,selectionManager:p});let F=new en({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),T=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);v=c.useDroppableCollection({keyboardDelegate:F,dropTargetDelegate:T},x,t),E=x.isDropTarget({type:"root"})}let{focusProps:I,isFocused:D,isFocusVisible:R}=ce(),A=U({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:E,isFocused:D,isFocusVisible:R,state:r}}),k=!!(m&&!(y!=null&&y.isDisabled)),z=A.style,C=null;a&&(C=a.useTableColumnResizeState({tableWidth:a.tableWidth},r),i||(z={...z,tableLayout:"fixed",width:"fit-content"}));let w=Ve("table");var N;return o.createElement(se,{values:[[vt,r],[G5,C],[yt,{dragAndDropHooks:c,dragState:y,dropState:x}],[Al,{render:Sx}]]},o.createElement(Mn,null,o.createElement(w,{...O(e),...A,...V(f,I,v==null?void 0:v.collectionProps),style:z,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":k||void 0,"data-drop-target":E||void 0,"data-focused":D||void 0,"data-focus-visible":R||void 0},o.createElement(d,{collection:n,scrollRef:(N=a==null?void 0:a.scrollRef)!==null&&N!==void 0?N:t,persistedKeys:z5(p,c,x)}))),B)}function Ve(e){let{isVirtualized:t}=o.useContext(Ee);return t?"div":e}const q5=o.createContext(null);function Y5(){return o.useContext(q5)}const vx=Hi("tableheader",(e,t)=>{let u=o.useContext(vt).collection,n=Li({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(xx,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),a=Ve("thead"),{rowGroupProps:r}=Dm(),{hoverProps:i,isHovered:l}=ye({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=U({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(a,{...V(O(e),r,i),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(gt,{dependencies:e.dependencies,items:e.columns},e.children));function xx({item:e}){let t=o.useRef(null),u=o.useContext(vt),{isVirtualized:n,CollectionBranch:a}=o.useContext(Ee),{rowProps:r}=fy({node:e,isVirtualized:n},u,t),{checkboxProps:i}=hy(u),l=Ve("tr");return o.createElement(l,{...r,ref:t},o.createElement(se,{values:[[Ki,{slots:{selection:i}}]]},o.createElement(a,{collection:u.collection,parent:e})))}const Cx=nu("column",(e,t,u)=>{var n,a;let r=De(t),i=o.useContext(vt),{isVirtualized:l}=o.useContext(Ee),{columnHeaderProps:s}=dy({node:u,isVirtualized:l},i,r),{isFocused:d,isFocusVisible:c,focusProps:f}=ce(),p=o.useContext(G5),m=!1;if(p)m=p.resizingColumn===u.key;else for(let v in["width","defaultWidth","minWidth","maxWidth"])v in u.props&&console.warn(`The ${v} 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:$}=ye({isDisabled:!e.allowsSorting}),g=U({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Column",values:{isHovered:$,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:v=>{i.sort(u.key,v)}}}),y=g.style;p&&(y={...y,width:p.getColumnWidth(u.key)});let x=Ve("th");return o.createElement(x,{...V(O(e),s,f,b),...g,style:y,colSpan:u.colspan,ref:r,"data-hovered":$||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":((a=i.sortDescriptor)===null||a===void 0?void 0:a.column)===u.key?i.sortDescriptor.direction:void 0},o.createElement(se,{values:[[Ex,{column:u,triggerRef:r}],[Ee,Hn]]},g.children))}),Ex=o.createContext(null),Bx=Hi("tablebody",(e,t)=>{let u=o.useContext(vt),{isVirtualized:n}=o.useContext(Ee),a=u.collection,{CollectionBranch:r}=o.useContext(Ee),{dragAndDropHooks:i,dropState:l}=o.useContext(yt),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:a.size===0},p=U({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,b=Ve("tr"),$=Ve("td"),g=a.columnCount;if(a.size===0&&e.renderEmptyState&&u){let v={},E={},B={};n?(v["aria-rowindex"]=a.headerRows.length+1,E["aria-colspan"]=g,B={display:"contents"}):E.colSpan=g,m=o.createElement(b,{role:"row",...v,style:B},o.createElement($,{role:"rowheader",...E,style:B},e.renderEmptyState(f)))}let{rowGroupProps:y}=Dm(),x=Ve("tbody");return o.createElement(x,{...V(O(e),y),...p,ref:t,"data-empty":a.size===0||void 0},s&&o.createElement(Fx,null),o.createElement(r,{collection:a,parent:a.body,renderDropIndicator:wl(i,l)}),m)}),kx=Hi("item",(e,t,u)=>{let n=De(t),a=o.useContext(vt),{dragAndDropHooks:r,dragState:i,dropState:l}=o.useContext(yt),{isVirtualized:s,CollectionBranch:d}=o.useContext(Ee),{rowProps:c,...f}=cy({node:u,shouldSelectOnPressUp:!!i,isVirtualized:s},a,n),{isFocused:p,isFocusVisible:m,focusProps:b}=ce(),{isFocusVisible:$,focusProps:g}=ce({within:!0}),{hoverProps:y,isHovered:x}=ye({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:v}=by({key:u.key},a),E;i&&r&&(E=r.useDraggableItem({key:u.key,hasDragButton:!0},i));let B,S=o.useRef(null),{visuallyHiddenProps:I}=_n();l&&r&&(B=r.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,S));let D=o.useRef(null);o.useEffect(()=>{i&&!D.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 R=i&&i.isDragging(u.key),{children:A,...k}=e,z=U({...k,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:x,isFocused:p,isFocusVisible:m,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,isDragging:R,isDropTarget:B==null?void 0:B.isDropTarget,isFocusVisibleWithin:$}}),C=Ve("tr"),w=Ve("td");return o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement(C,{role:"row",style:{height:0}},o.createElement(w,{role:"gridcell",colSpan:a.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...I,...B.dropIndicatorProps,ref:S}))),o.createElement(C,{...V(O(e),c,b,y,E==null?void 0:E.dragProps,g),...z,ref:n,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":x||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":R||void 0,"data-drop-target":(B==null?void 0:B.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode,"data-focus-visible-within":$||void 0},o.createElement(se,{values:[[Ki,{slots:{[yu]:{},selection:v}}],[st,{slots:{[yu]:{},drag:{...E==null?void 0:E.dragButtonProps,ref:D,style:{pointerEvents:"none"}}}}]]},o.createElement(d,{collection:a.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(gt,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),Px=nu("cell",(e,t,u)=>{let n=De(t),a=o.useContext(vt),{dragState:r}=o.useContext(yt),{isVirtualized:i}=o.useContext(Ee);u.column=a.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=py({node:u,shouldSelectOnPressUp:!!r,isVirtualized:i},a,n),{isFocused:d,isFocusVisible:c,focusProps:f}=ce(),{hoverProps:p,isHovered:m}=ye({}),b=U({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:m}}),$=Ve("td");return o.createElement($,{...V(O(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(Ee.Provider,{value:Hn},b.children))});function Sx(e,t){t=De(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(yt),a=o.useRef(null),{dropIndicatorProps:r,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,a);return i?null:o.createElement(wx,{...e,dropIndicatorProps:r,isDropTarget:l,buttonRef:a,ref:t})}function Ax(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:a,...r}=e,i=o.useContext(vt),{visuallyHiddenProps:l}=_n(),s=U({...r,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=Ve("tr"),c=Ve("td");return o.createElement(d,{...O(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:a}),s.children))}const wx=o.forwardRef(Ax);function Fx(){let e=o.useContext(vt),{dragAndDropHooks:t,dropState:u}=o.useContext(yt),n=o.useRef(null),{dropIndicatorProps:a}=t.useDropIndicator({target:{type:"root"}},u,n),r=u.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=_n(),l=Ve("tr"),s=Ve("td");return!r&&a["aria-hidden"]?null:o.createElement(l,{role:"row","aria-hidden":a["aria-hidden"],style:{height:0}},o.createElement(s,{role:"gridcell",colSpan:e.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...i,...a,ref:n})))}nu("loader",function(t,u,n){let a=o.useContext(vt),{isVirtualized:r}=o.useContext(Ee),i=a.collection.columns.length,l=U({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),s=Ve("tr"),d=Ve("td"),c={},f={},p={};return r?(c["aria-rowindex"]=a.collection.headerRows.length+a.collection.size,f["aria-colspan"]=i,p={display:"contents"}):f.colSpan=i,o.createElement(o.Fragment,null,o.createElement(s,{role:"row",ref:u,...V(O(t),c),...l},o.createElement(d,{role:"rowheader",...f,style:p},l.children)))});const hr=o.createContext(null),Ju=o.createContext(null),Tx=o.forwardRef(function(t,u){[t,u]=Q(t,u,hr);let{children:n,orientation:a="horizontal"}=t;return n=o.useMemo(()=>typeof n=="function"?n({orientation:a,defaultChildren:null}):n,[n,a]),o.createElement(ku,{content:n},r=>o.createElement(Rx,{props:t,collection:r,tabsRef:u}))});function Rx({props:e,tabsRef:t,collection:u}){let{orientation:n="horizontal"}=e,a=av({...e,collection:u,children:void 0}),{focusProps:r,isFocused:i,isFocusVisible:l}=ce({within:!0}),s=o.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:l}),[n,i,l]),d=U({...e,defaultClassName:"react-aria-Tabs",values:s});return o.createElement("div",{...O(e),...r,...d,ref:t,slot:e.slot||void 0,"data-focused":i||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":a.isDisabled||void 0},o.createElement(se,{values:[[hr,e],[Ju,a]]},d.children))}const Ix=o.forwardRef(function(t,u){return o.useContext(Ju)?o.createElement(Kx,{props:t,forwardedRef:u}):o.createElement(gt,t)});function Kx({props:e,forwardedRef:t}){let u=o.useContext(Ju),{CollectionRoot:n}=o.useContext(Ee),{orientation:a="horizontal",keyboardActivation:r="automatic"}=Oe(hr),i=De(t),{tabListProps:l}=yy({...e,orientation:a,keyboardActivation:r},u,i),s=U({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:a,state:u}}),d=O(e);return delete d.id,o.createElement("div",{...d,...l,ref:i,...s,"data-orientation":a||void 0},o.createElement(n,{collection:u.collection,persistedKeys:Pl(u.selectionManager.focusedKey)}))}const Mx=nu("item",(e,t,u)=>{let n=o.useContext(Ju),a=De(t),{tabProps:r,isSelected:i,isDisabled:l,isPressed:s}=$y({key:u.key,...e},n,a),{focusProps:d,isFocused:c,isFocusVisible:f}=ce(),{hoverProps:p,isHovered:m}=ye({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),b=U({...e,id:void 0,defaultClassName:"react-aria-Tab",values:{isSelected:i,isDisabled:l,isFocused:c,isFocusVisible:f,isPressed:s,isHovered:m}}),$=u.props.href?"a":"div";return o.createElement($,{...V(r,d,p,b),ref:a,"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})}),zx=Za(function(t,u){const n=o.useContext(Ju);let a=De(u),{tabPanelProps:r}=gy(t,n,a),{focusProps:i,isFocused:l,isFocusVisible:s}=ce(),d=n.selectedKey===t.id,c=U({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,isFocusVisible:s,isInert:!d,state:n}});if(!d&&!t.shouldForceMount)return null;let f=O(t);delete f.id;let p=d?V(f,r,i,c):c;return o.createElement("div",{...p,ref:a,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:d?void 0:"true","data-inert":d?void 0:"true"},o.createElement(se,{values:[[hr,null],[Ju,null]]},o.createElement(Ee.Provider,{value:Hn},c.children)))}),Vx=o.createContext(null),J5=o.createContext(null),Nx=o.forwardRef(function(t,u){return[t,u]=Q(t,u,Vx),o.createElement(ku,{content:t.children},n=>o.createElement(_x,{props:t,forwardedRef:u,collection:n}))});function _x({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[a,r]=$t(),i=or({...e,children:void 0,collection:u}),l=O(e),s=Object.fromEntries(Object.entries(l).map(([b])=>[b,void 0])),{gridProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p}=vy({...e,...s,label:r},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(se,{values:[[zt,{...c,elementType:"span",ref:a}],[J5,{...d,ref:n}],[Nt,i],[Ue,{slots:{description:f,errorMessage:p}}]]},e.children))}const Q5=o.forwardRef(function(t,u){return o.useContext(Nt)?o.createElement(jx,{props:t,forwardedRef:u}):o.createElement(gt,t)});function jx({props:e,forwardedRef:t}){let u=o.useContext(Nt),{CollectionRoot:n}=o.useContext(Ee),[a,r]=Q(e,t,J5);delete a.items,delete a.renderEmptyState;let{focusProps:i,isFocused:l,isFocusVisible:s}=ce(),d={isEmpty:u.collection.size===0,isFocused:l,isFocusVisible:s,state:u},c=U({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:d}),f=Pl(u.selectionManager.focusedKey);return o.createElement("div",{...V(a,i),...c,ref:r,"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 Lx=nu("item",(e,t,u)=>{let n=o.useContext(Nt),a=De(t),{focusProps:r,isFocusVisible:i}=ce({within:!0}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=Cy({item:u},n,a),{hoverProps:f,isHovered:p}=ye({isDisabled:!c.allowsSelection,onHoverStart:u.props.onHoverStart,onHoverChange:u.props.onHoverChange,onHoverEnd:u.props.onHoverEnd}),m=U({...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:a,...m,...V(O(e),l,r,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(se,{values:[[st,{slots:{remove:d}}],[Ee,Hn]]},m.children)))}),Ml=o.createContext(null),X5=o.createContext(null);function Ox(e){let t=qb(e),u=o.useRef(null),{triggerProps:n,tooltipProps:a}=By(e,t,u);return o.createElement(se,{values:[[Ml,t],[X5,{...a,triggerRef:u}]]},o.createElement(Zg,{...n,ref:u},e.children))}const Hx=o.forwardRef(function({UNSTABLE_portalContainer:t,...u},n){[u,n]=Q(u,n,X5);let a=o.useContext(Ml),r=qb(u),i=u.isOpen!=null||u.defaultOpen!=null||!a?r:a,l=Ss(n,i.isOpen)||u.isExiting||!1;return!i.isOpen&&!l?null:o.createElement(g3,{portalContainer:t},o.createElement(Ux,{...u,tooltipRef:n,isExiting:l}))});function Ux(e){let t=o.useContext(Ml),u=o.useRef(null),[n,a]=o.useState(0);q(()=>{u.current&&t.isOpen&&a(u.current.getBoundingClientRect().width)},[t.isOpen,u]);let{overlayProps:r,arrowProps:i,placement:l}=fl({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=Ps(e.tooltipRef,!!l)||e.isEntering||!1,d=U({...e,defaultClassName:"react-aria-Tooltip",values:{placement:l,isEntering:s,isExiting:e.isExiting,state:t}});e=V(e,r);let{tooltipProps:c}=Ey(e,t);return o.createElement("div",{...c,ref:e.tooltipRef,...d,style:{...r.style,...d.style},"data-placement":l??void 0,"data-entering":s||void 0,"data-exiting":e.isExiting||void 0},o.createElement(Fl.Provider,{value:{...i,placement:l,ref:u}},d.children))}const Wx=({variant:e="uncontained",type:t="single",children:u,className:n,...a})=>h.jsx(nx,{allowsMultipleExpanded:t==="multiple",className:H(Je.root,e==="contained"?Je.contained:Je.uncontained,n),...a,children:u}),Zx='"../theme/tokens.css"',Gx="#143c50",qx="#25607f",Yx="#4289ad",Jx='"Inter", sans-serif',Qx="1rem",Xx="500",e7="#ffffff",t7="#bfbfbf",u7="#f2f2f2",n7="#e6e6e6",a7="#000000",r7="undefined",i7="(max-width: 767px)",l7="0 0 0 2px #ffffff, 0 0 0 4px #000000",o7="#e62323",s7="#b31b1b",d7="#801313",c7="_button_ujxfi_4",f7="_primary_ujxfi_41",p7="_secondary_ujxfi_47",m7="_tertiary_ujxfi_71",b7="_iconBtn_ujxfi_93",h7="_danger_ujxfi_114",$7="_iconRight_ujxfi_136",g7="_fullwidth_ujxfi_140",D7="_small_ujxfi_144",Bt={tokens:Zx,blue150:Gx,blue130:qx,blue90:Yx,display:Jx,desktopSize:Qx,mediumWeight:Xx,white:e7,gray50:t7,gray10:u7,gray20:n7,black:a7,medium:r7,smBreakpoint:i7,focus:l7,signalRed100:o7,signalRed130:s7,signalRed150:d7,button:c7,primary:f7,secondary:p7,tertiary:m7,iconBtn:b7,danger:h7,iconRight:$7,fullwidth:g7,small:D7},Ke=({variant:e="primary",fullwidth:t,className:u,iconPlacement:n,size:a,icon:r,iconSize:i,...l})=>{const s=a==="small"?14:i||20;return h.jsx(Ft,{className:H(Bt.button,e==="primary"&&Bt.primary,e==="secondary"&&Bt.secondary,e==="tertiary"&&Bt.tertiary,e==="danger"&&Bt.danger,e==="icon"&&Bt.iconBtn,t&&Bt.fullwidth,a==="small"&&Bt.small,n==="right"&&Bt.iconRight,u),...l,children:h.jsxs(h.Fragment,{children:[r&&h.jsx(r,{"aria-hidden":!0,size:s}),l.children]})})},y7='"../theme/tokens.css"',v7="(max-width: 767px)",x7="_buttonGroup_5pd8y_4",C7={tokens:y7,smBreakpoint:v7,buttonGroup:x7},E7=({children:e,className:t,"aria-label":u,...n})=>h.jsx("div",{role:"group","aria-label":u,className:H(C7.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 B7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),eh=(...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 k7={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 P7=o.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:u=2,absoluteStrokeWidth:n,className:a="",children:r,iconNode:i,...l},s)=>o.createElement("svg",{ref:s,...k7,width:t,height:t,stroke:e,strokeWidth:n?Number(u)*24/Number(t):u,className:eh("lucide",a),...l},[...i.map(([d,c])=>o.createElement(d,c)),...Array.isArray(r)?r:[r]]));/**
|
|
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
|
|
38
|
+
*/const Be=(e,t)=>{const u=o.forwardRef(({className:n,...a},r)=>o.createElement(P7,{ref:r,iconNode:t,className:eh(`lucide-${B7(e)}`,n),...a}));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 S7=Be("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 A7=Be("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 w7=Be("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 th=Be("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 F7=Be("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 ja=Be("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 zl=
|
|
73
|
+
*/const zl=Be("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 Vl=Be("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 uh=Be("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 nh=Be("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 T7=Be("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 R7=Be("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 ah=Be("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 I7=Be("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 K7=Be("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 M7=Be("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 z7=Be("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 V7=Be("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 N7=Be("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 Tu=Ae("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Q7=({title:e,children:t,className:u,headingLevel:n=3,...r})=>{const a=de.useRef(null),[i,l]=de.useState(0),s=typeof e=="object";return de.useLayoutEffect(()=>{a.current&&l(a.current.clientHeight)}),g.jsxs(ix,{...r,className:W(Xe.item,u),children:[s?g.jsx("div",{className:Xe.trigger,children:g.jsxs(ze,{slot:"trigger",variant:"icon",children:[g.jsx(In,{size:20,className:Xe.icon}),e]})}):g.jsx(Rl,{level:n,className:Xe.trigger,children:g.jsxs(ze,{slot:"trigger",variant:"icon",children:[g.jsx(In,{size:20,className:Xe.icon}),g.jsx("span",{className:Xe.triggerText,children:e})]})}),g.jsx(lx,{style:{"--panel-height":`${i}px`},className:W(Xe.panel,i===0&&Xe.panel0),children:g.jsx("div",{ref:a,className:Xe.content,children:t})})]})},X7='"../theme/tokens.css"',eC='"Inter", sans-serif',tC="#25607f",uC="#143c50",nC="#1f1f1f",rC="#bfbfbf",aC="500",iC="0 0 0 2px #ffffff, 0 0 0 4px #000000",lC="400",oC="#663366",sC="#000000",dC="_link_rnt2w_4",cC="_icon_rnt2w_45",fC="_standalone_rnt2w_49",pC="_stretched_rnt2w_64",sn={tokens:X7,display:eC,blue130:tC,blue150:uC,gray150:nC,gray50:rC,mediumWeight:aC,focus:iC,regularWeight:lC,linkVisited:oC,black:sC,link:dC,icon:cC,standalone:fC,stretched:pC},Vl=({children:e,standalone:t,stretched:u,icon:n,className:r,as:a,...i})=>{const l=a||Mr;return g.jsx(l,{className:W(sn.link,t&&sn.standalone,u&&sn.stretched,r),...i,children:g.jsxs(g.Fragment,{children:[e,!t&&n&&g.jsx(n,{size:20,className:sn.icon}),t&&g.jsx(_7,{size:20,className:sn.icon})]})})},mC='"../theme/tokens.css"',bC='"Inter", sans-serif',hC="#1f1f1f",$C="_container_k9jic_4",gC={tokens:mC,display:bC,gray150:hC,container:$C},DC=({items:e})=>g.jsx(hv,{className:gC.container,children:e.map((t,u)=>g.jsx($v,{children:g.jsx(Vl,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),yC='"../theme/tokens.css"',vC='"Inter", sans-serif',xC="#ffffff",CC="#e6e6e6",EC="#f2f2f2",BC="#1f1f1f",kC="#d5e5ed",PC="#000000",SC="500",AC="250ms",wC="_card_vbecj_4",FC="_content_vbecj_33",TC="_heading_vbecj_39",RC="_image_vbecj_47",IC="_background_vbecj_56",KC="_text_vbecj_60",Mu={tokens:yC,display:vC,white:xC,gray20:CC,gray10:EC,gray150:BC,blue20:kC,black:PC,mediumWeight:SC,fastTransition:AC,card:wC,content:FC,heading:TC,image:RC,background:IC,text:KC},MC=({image:e,background:t,title:u,content:n,link:r,headingTag:a="h1",customImageComponent:i,customLinkComponent:l,className:s,...d})=>{const c=de.useId();return g.jsxs("div",{className:W(Mu.card,t&&Mu.background,s),...d,children:[g.jsxs("div",{className:Mu.content,children:[i||(e==null?void 0:e.source)&&g.jsx("img",{src:e.source,alt:e.description,className:Mu.image}),g.jsxs("div",{id:c,children:[g.jsx(a,{className:Mu.heading,children:u}),g.jsx("p",{className:Mu.text,children:n})]})]}),g.jsx(Vl,{"aria-describedby":c,...r,standalone:!0,stretched:!0,as:l})]})},zC='"../theme/tokens.css"',VC='"Inter", sans-serif',NC="#000000",jC="#143c50",LC="#5897b8",_C="#25607f",OC="#ffdfdf",HC="#e62323",UC="0 0 0 2px #ffffff, 0 0 0 4px #000000",WC="#b31b1b",GC="#ffffff",ZC="#f2f2f2",qC="#cccccc",YC="#808080",JC="#bfbfbf",QC="#e6e6e6",XC="400",e9="500",t9="(max-width: 767px)",u9="#b3b3b3",n9="_wrap_1lhw5_4",r9="_checkboxInner_1lhw5_11",a9="_checkbox_1lhw5_11",i9="_checkboxGroup_1lhw5_136",jr={tokens:zC,display:VC,black:NC,primaryBackground:jC,blue80:LC,blue130:_C,signalRed10:OC,signalRed100:HC,focus:UC,signalRed130:WC,white:GC,gray10:ZC,gray40:qC,gray100:YC,gray50:JC,gray20:QC,regularWeight:XC,mediumWeight:e9,smBreakpoint:t9,borderSecondary:u9,wrap:n9,checkboxInner:r9,checkbox:a9,checkboxGroup:i9},Gn=({children:e,...t})=>g.jsx(Sv,{className:W(jr.checkbox,t.className),...t,children:({isIndeterminate:u})=>g.jsxs(g.Fragment,{children:[g.jsx("div",{className:jr.checkboxInner,children:g.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:u?g.jsx("rect",{x:4,y:8,width:10,height:2}):g.jsx("polyline",{points:"3,9 7,13 15,4"})})}),e]})}),l9='"../theme/tokens.css"',o9='"Inter", sans-serif',s9="#ffdfdf",d9="#f2f2f2",c9="#e6e6e6",f9="#bfbfbf",p9="#000000",m9="#e62323",b9="500",h9="400",$9="#1f1f1f",g9="0 0 0 2px #ffffff, 0 0 0 4px #000000",D9="_inputField_12oaf_4",y9="_inputWrapper_12oaf_12",v9="_label_12oaf_30",x9="_text_12oaf_36",C9="_fieldError_12oaf_42",E9="_passwordText_12oaf_66",B9="_count_12oaf_79",k9="_countExceeded_12oaf_87",P9="_input_12oaf_4",S9="_wrap_12oaf_135",A9="_passwordButton_12oaf_140",Te={tokens:l9,display:o9,signalRed10:s9,gray10:d9,gray20:c9,gray50:f9,black:p9,signalRed100:m9,mediumWeight:b9,regularWeight:h9,inputText:$9,focus:g9,inputField:D9,inputWrapper:y9,label:v9,text:x9,fieldError:C9,passwordText:E9,count:B9,countExceeded:k9,input:P9,wrap:S9,passwordButton:A9},w9=({label:e,description:t,errorMessage:u,validationType:n,validate:r,maxLength:a,showCounter:i,className:l,...s})=>{const[d,c]=de.useState(s.defaultValue??s.value??""),f=b=>{const h=b.target.value;c(h)},p=b=>n==="ssn"?Q5.test(b)?null:"Felaktigt personnummer":n==="dossnr"?T9.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?g.jsxs("span",{className:W(Te.count,d.length>a&&Te.countExceeded),children:[d.length," / ",a]}):i?g.jsx("span",{className:Te.count,children:d.length}):null;return g.jsx(_b,{className:W(Te.inputField,l),validate:p,...s,children:g.jsxs(pt,{label:e,description:t,errorMessage:u,children:[g.jsx(m,{}),g.jsxs("div",{className:Te.wrap,children:[g.jsx(ia,{type:s.type,className:Te.input,onChange:f,onBlur:f}),g.jsx(F9,{type:s.type,input:d})]})]})})},F9=({type:e,input:t})=>{const[u,n]=de.useState(!1);return e==="password"?g.jsxs(g.Fragment,{children:[u&&g.jsx(na,{slot:"description",className:Te.passwordText,children:t}),g.jsx(ze,{variant:"tertiary",onPress:()=>n(!u),className:Te.passwordButton,children:u?"Dölj":"Visa"})]}):null},pt=({label:e,description:t,errorMessage:u,children:n})=>g.jsxs("div",{className:Te.inputWrapper,children:[e&&g.jsx(Ts,{className:Te.label,children:e}),t&&g.jsx(na,{slot:"description",className:Te.text,children:t}),g.jsx(ky,{className:Te.fieldError,children:u}),n]}),Q5=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}))$"),T9=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(Bl),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 h,D;const p=c.length,m=c.length+1,b=((h=d==null?void 0:d.value)==null?void 0:h.length)||0;b===0&&l("none"),b>0&&b<p&&l("some"),b!==m&&(d==null||d.removeValue("toggleAll")),b===p&&!((D=d==null?void 0:d.value)!=null&&D.includes("toggleAll"))&&(d==null||d.addValue("toggleAll"),l("all"))},[c.length,d==null?void 0:d.value]),g.jsx(Gn,{value:"toggleAll",isSelected:i==="all",isIndeterminate:i==="some",onChange:()=>f(),children:"Välj alla"})};return g.jsx(Pv,{className:jr.checkboxGroup,...a,children:g.jsx(pt,{label:e,description:t,errorMessage:u,children:g.jsxs(Un,{className:jr.wrap,children:[n&&g.jsx(s,{}),r]})})})},I9='"../theme/tokens.css"',K9='"Inter", sans-serif',M9="#000000",z9="#b31b1b",V9="(max-width: 767px)",N9="#bfbfbf",j9="#e6e6e6",L9="#f2f2f2",_9="0 0 0 2px #ffffff, 0 0 0 4px #000000",O9="#f2f2f2",H9="_input_1gpkc_4",U9="_combobox_1gpkc_38",W9="_text_1gpkc_54",G9="_wrap_1gpkc_59",Z9="_button_1gpkc_64",q9="_icon_1gpkc_82",Y9="_popover_1gpkc_88",J9="_fieldError_1gpkc_96",Q9="_listBoxItem_1gpkc_107",hu={tokens:I9,display:K9,black:M9,signalRed130:z9,smBreakpoint:V9,gray50:N9,gray20:j9,gray10:L9,focus:_9,backgroundSecondary:O9,input:H9,combobox:U9,text:W9,wrap:G9,button:Z9,icon:q9,popover:Y9,fieldError:J9,listBoxItem:Q9};function X9({label:e,description:t,errorMessage:u,children:n,items:r,className:a,...i}){const l=o.useRef(null);return g.jsxs(Zv,{className:W(hu.combobox,a),ref:l,...i,children:[g.jsx(pt,{label:e,description:t,errorMessage:u,children:g.jsxs("div",{className:hu.wrap,children:[g.jsx(ia,{className:hu.input}),g.jsx(dt,{className:hu.button,"aria-label":"Visa lista",children:g.jsx("div",{className:hu.icon,"aria-hidden":"true",children:g.jsx(In,{size:20,"aria-hidden":!0})})})]})}),g.jsx(tn,{className:hu.popover,offset:0,UNSTABLE_portalContainer:l.current||void 0,children:g.jsx(w5,{items:r,children:n})})]})}function e8(e){return g.jsx(T5,{className:hu.listBoxItem,...e})}const t8='"../theme/tokens.css"',u8='"Inter", sans-serif',n8="#000000",r8="#f2f2f2",a8="#e6e6e6",i8="#b3b3b3",l8="#1f1f1f",o8="#d5e5ed",s8="0 0 0 2px #ffffff, 0 0 0 4px #000000",d8="#143c50",c8="_datePicker_1602j_4",f8="_datePickerTextfield_1602j_11",p8="_buttonInvalid_1602j_22",m8="_date_1602j_4",b8="_dialog_1602j_82",h8="_dialogHeader_1602j_87",$8="_dialogHeading_1602j_113",g8="_day_1602j_118",D8="_calendar_1602j_156",Ee={tokens:t8,display:u8,black:n8,gray10:r8,gray20:a8,gray60:i8,gray150:l8,blue20:o8,focus:s8,blue150:d8,datePicker:c8,datePickerTextfield:f8,buttonInvalid:p8,date:m8,dialog:b8,dialogHeader:h8,dialogHeading:$8,day:g8,calendar:D8},y8=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return g.jsx(ux,{...n,className:W(Te.inputField,Ee.datePicker,n.className),ref:r,children:g.jsxs(pt,{label:e,description:t,errorMessage:u,children:[g.jsxs(Un,{className:W(Te.input,Ee.datePickerTextfield),children:[g.jsx(wi,{slot:"start",className:Ee.date,children:a=>g.jsx(Fi,{className:Ee.dateSegment,segment:a})}),g.jsx("span",{"aria-hidden":"true",children:"-"}),g.jsx(wi,{slot:"end",className:Ee.date,children:a=>g.jsx(Fi,{segment:a,className:Ee.dateSegment})}),g.jsx(dt,{children:g.jsx(G5,{size:20,"aria-hidden":!0})})]}),g.jsx(tn,{UNSTABLE_portalContainer:r.current||void 0,children:g.jsx(I5,{className:Ee.dialog,children:g.jsxs(Dv,{children:[g.jsxs("header",{className:Ee.dialogHeader,children:[g.jsx(dt,{slot:"previous",children:g.jsx(Ml,{size:20,"aria-hidden":!0})}),g.jsx(Rl,{className:Ee.dialogHeading}),g.jsx(dt,{slot:"next",children:g.jsx(zl,{size:20,"aria-hidden":!0})})]}),g.jsx(Wb,{className:Ee.calendar,weekdayStyle:"short",children:a=>g.jsx(Gb,{date:a,className:Ee.day})})]})})})]})})},v8=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return g.jsx(tx,{...n,className:W(Te.inputField,Ee.datePicker,n.className),ref:r,children:g.jsxs(pt,{label:e,description:t,errorMessage:u,children:[g.jsxs(Un,{className:W(Te.input,Ee.datePickerTextfield),children:[g.jsx(wi,{className:Ee.date,children:a=>g.jsx(Fi,{segment:a,className:Ee.dateSegment})}),g.jsx(dt,{className:W(n.isInvalid&&Ee.buttonInvalid),children:g.jsx(G5,{size:20,"aria-hidden":!0})})]}),g.jsx(tn,{UNSTABLE_portalContainer:r.current||void 0,children:g.jsx(I5,{className:Ee.dialog,children:g.jsxs(gv,{children:[g.jsxs("header",{className:Ee.dialogHeader,children:[g.jsx(dt,{slot:"previous",children:g.jsx(Ml,{})}),g.jsx(Rl,{className:Ee.dialogHeading}),g.jsx(dt,{slot:"next",children:g.jsx(zl,{})})]}),g.jsx(Wb,{className:Ee.calendar,weekdayStyle:"short",children:a=>g.jsx(Gb,{date:a,className:Ee.day})})]})})})]})})},x8='"../theme/tokens.css"',C8='"Inter", sans-serif',E8="0 0 0 2px #ffffff, 0 0 0 4px #000000",B8="#f2f2f2",k8="_dropDownMenu_1f4ap_4",P8="_dropdownMenu_1f4ap_15",X5={tokens:x8,display:C8,focus:E8,gray10:B8,dropDownMenu:k8,dropdownMenu:P8};function eh({label:e,title:t,children:u,...n}){return g.jsxs(Vv,{...n,children:[g.jsxs(ze,{"aria-label":e||n["aria-label"],variant:"icon",children:[t,g.jsx(H7,{size:20,"aria-hidden":!0})]}),g.jsx(tn,{children:g.jsx(jv,{...n,className:X5.dropDownMenu,children:u})})]})}function th(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return g.jsx(Hv,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>`${X5.dropdownMenu} ${u?"focused":""} ${n?"open":""}`,children:({hasSubmenu:u})=>g.jsxs(g.Fragment,{children:[e.children,u&&g.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:g.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}const S8='"../theme/tokens.css"',A8='"Inter", sans-serif',w8="#f2f2f2",F8="#8c8c8c",T8="500",R8="400",I8="_box_iol70_4",K8="_list_iol70_28",M8="_container_iol70_38",z8="_label_iol70_45",V8="_text_iol70_51",N8="_dropzone_iol70_57",j8="_input_iol70_71",Hu={tokens:S8,display:A8,gray10:w8,gray90:F8,mediumWeight:T8,regularWeight:R8,box:I8,list:K8,container:M8,label:z8,text:V8,dropzone:N8,input:j8},L8=({allowsMultiple:e,label:t,description:u,dropzone:n,...r})=>{const[a,i]=de.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?g.jsxs("div",{className:Hu.container,children:[g.jsx(dx,{onDrop:s,className:Hu.dropzone,children:g.jsx(na,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),a&&g.jsx(cs,{files:a,setFiles:i})]}):g.jsxs("div",{className:Hu.container,children:[g.jsx(pt,{label:t,description:u,children:g.jsx(cx,{allowsMultiple:e,onSelect:d=>l(d),...r,children:g.jsx(ze,{variant:"secondary","aria-labelledby":"fileUpload",className:Hu.input,children:e?"Välj filer":"Välj fil"})})}),a&&g.jsx(cs,{files:a,setFiles:i})]})},cs=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((r,a)=>a!==n))};return g.jsx("ul",{className:Hu.list,children:e.map((n,r)=>g.jsxs("li",{className:Hu.box,children:[g.jsx("span",{children:n.name}),g.jsx(ze,{variant:"icon",size:"small",onPress:()=>u(r),children:g.jsx(Tu,{size:20,"aria-hidden":!0})})]},r))})},_8='"../theme/tokens.css"',O8="(min-width: 768px)",H8="(min-width: 1200px)",U8="(min-width: 1440px)",W8="_container_148sa_4",G8="_flex_148sa_16",Z8="_fluid_148sa_54",q8="_col_148sa_60",Yu={tokens:_8,mdBreakpoint:O8,lgBreakpoint:H8,xlBreakpoint:U8,container:W8,flex:G8,fluid:Z8,col:q8,"col-1":"_col-1_148sa_64","col-2":"_col-2_148sa_65","col-3":"_col-3_148sa_66","col-4":"_col-4_148sa_67","col-5":"_col-5_148sa_68","col-6":"_col-6_148sa_69","col-7":"_col-7_148sa_70","col-8":"_col-8_148sa_71","col-9":"_col-9_148sa_72","col-10":"_col-10_148sa_73","col-11":"_col-11_148sa_74","col-12":"_col-12_148sa_75","col-auto":"_col-auto_148sa_76","offset-1":"_offset-1_148sa_130","offset-2":"_offset-2_148sa_134","offset-3":"_offset-3_148sa_138","offset-4":"_offset-4_148sa_142","offset-5":"_offset-5_148sa_146","offset-6":"_offset-6_148sa_150","offset-7":"_offset-7_148sa_154","offset-8":"_offset-8_148sa_158","offset-9":"_offset-9_148sa_162","offset-10":"_offset-10_148sa_166","offset-11":"_offset-11_148sa_170"},Y8=({children:e,fluid:t=!1,...u})=>g.jsx("div",{className:W(Yu.container,t&&Yu.fluid,u.className),...u,children:g.jsx("div",{className:Yu.flex,children:e})}),uh=({children:e,col:t,offset:u,...n})=>{const r=t?`col-${t}`:"",a=u?`offset-${u}`:"";return g.jsx("div",{className:W(Yu.col,Yu[r],Yu[a],n.className),...n,children:e})},J8='"../theme/tokens.css"',Q8="(min-width: 768px)",X8="(min-width: 1200px)",eE="(min-width: 1440px)",tE="_container_1aupx_4",uE="_grid_1aupx_16",nE="_fluid_1aupx_45",rE="_col_1aupx_52",Dn={tokens:J8,mdBreakpoint:Q8,lgBreakpoint:X8,xlBreakpoint:eE,container:tE,grid:uE,fluid:nE,col:rE,"col-1":"_col-1_1aupx_58","col-2":"_col-2_1aupx_62","col-3":"_col-3_1aupx_66","col-4":"_col-4_1aupx_70","col-5":"_col-5_1aupx_74","col-6":"_col-6_1aupx_78","col-7":"_col-7_1aupx_82","col-8":"_col-8_1aupx_86","col-9":"_col-9_1aupx_90","col-10":"_col-10_1aupx_94","col-11":"_col-11_1aupx_98","col-12":"_col-12_1aupx_102","offset-1":"_offset-1_1aupx_106","offset-2":"_offset-2_1aupx_110","offset-3":"_offset-3_1aupx_114","offset-4":"_offset-4_1aupx_118","offset-5":"_offset-5_1aupx_122","offset-6":"_offset-6_1aupx_126","offset-7":"_offset-7_1aupx_130","offset-8":"_offset-8_1aupx_134","offset-9":"_offset-9_1aupx_138","offset-10":"_offset-10_1aupx_142","offset-11":"_offset-11_1aupx_146"},aE=({children:e,fluid:t=!1,...u})=>g.jsx("div",{className:W(Dn.container,t&&Dn.fluid,u.className),...u,children:g.jsx("div",{className:Dn.grid,children:e})}),iE=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return g.jsx("div",{className:W(Dn.col,Dn[n],u.className),...u,children:e})},lE='"../theme/tokens.css"',oE='"Inter", sans-serif',sE="#d5f2d9",dE="#008d3c",cE="#eaf2f6",fE="#0066cc",pE="#fff8e1",mE="#f1c21b",bE="#ffdfdf",hE="#e62323",$E="#000000",gE="600",DE="_infoBanner_1tfw7_4",yE="_success_1tfw7_13",vE="_info_1tfw7_4",xE="_important_1tfw7_23",CE="_warning_1tfw7_28",EE="_content_1tfw7_37",BE="_heading_1tfw7_43",kE="_text_1tfw7_48",PE="_icon_1tfw7_53",SE="_dismissable_1tfw7_58",bu={tokens:lE,display:oE,signalGreen10:sE,signalGreen100:dE,signalBlue10:cE,signalBlue100:fE,signalYellow10:pE,signalYellow100:mE,signalRed10:bE,signalRed100:hE,black:$E,semiBoldWeight:gE,infoBanner:DE,success:yE,info:vE,important:xE,warning:CE,content:EE,heading:BE,text:kE,icon:PE,dismissable:SE},AE={success:q5,info:Y5,important:Z5,warning:J5},wE=({title:e,message:t,type:u,children:n,dismissable:r=!1,...a})=>{const i=AE[u],[l,s]=de.useState(!0);return l?g.jsxs("div",{className:W(bu.infoBanner,bu[u],a.className),...a,children:[g.jsx(i,{size:20,"aria-hidden":!0,className:bu.icon}),g.jsxs("div",{className:bu.content,children:[e&&g.jsx("strong",{className:bu.heading,children:e}),g.jsxs("div",{className:bu.text,children:[t,n]})]}),r&&g.jsx("div",{className:bu.dismissable,children:g.jsx(ze,{variant:"icon","aria-label":"Stäng",onPress:()=>s(!1),children:g.jsx(Tu,{size:20})})})]}):null},FE='"../theme/tokens.css"',TE='"Inter", sans-serif',RE="#143c50",IE="500",KE="#f2f2f2",ME="#e6e6e6",zE="#d9d9d9",VE="#b3b3b3",NE="#a6a6a6",jE="#5d5d5d",LE="#1f1f1f",_E="(min-width: 768px)",OE="#b90835",HE="0 0 0 2px #ffffff, 0 0 0 4px #000000",UE="_baseLayout_9uzhg_4",WE="_mainContent_9uzhg_13",GE="_header_9uzhg_18",ZE="_headerContent_9uzhg_35",qE="_headerItems_9uzhg_52",YE="_logo_9uzhg_53",JE="_headerMenu_9uzhg_61",QE="_toggleButton_9uzhg_69",XE="_sidebar_9uzhg_77",eB="_main_9uzhg_13",tB="_app_9uzhg_114",uB="_sidebarOpened_9uzhg_123",nB="_sidebarFooter_9uzhg_127",rB="_appName_9uzhg_138",aB="_collapseButton_9uzhg_145",iB="_sidebarCollapsed_9uzhg_155",lB="_sidebarHeader_9uzhg_160",oB="_userName_9uzhg_172",sB="_abbr_9uzhg_185",dB="_userTitle_9uzhg_191",cB="_title_9uzhg_203",fB="_sidebarNav_9uzhg_214",pB="_list_9uzhg_220",mB="_listGroupTitle_9uzhg_227",bB="_listItem_9uzhg_234",hB="_listItemCollapsed_9uzhg_238",$B="_listLink_9uzhg_242",gB="_listLinkCollapsed_9uzhg_287",DB="_active_9uzhg_292",yB="_linkText_9uzhg_297",vB="_backdrop_9uzhg_304",xB="_backdropOpened_9uzhg_314",CB="_skipToContent_9uzhg_332",ee={tokens:FE,display:TE,primaryBackground:RE,mediumWeight:IE,gray10:KE,gray20:ME,gray30:zE,gray60:VE,gray70:NE,gray130:jE,gray150:LE,mdBreakpoint:_E,logoPrimary:OE,focus:HE,baseLayout:UE,mainContent:WE,header:GE,headerContent:ZE,headerItems:qE,logo:YE,headerMenu:JE,toggleButton:QE,sidebar:XE,main:eB,app:tB,sidebarOpened:uB,sidebarFooter:nB,appName:rB,collapseButton:aB,sidebarCollapsed:iB,sidebarHeader:lB,userName:oB,abbr:sB,userTitle:dB,title:cB,sidebarNav:fB,list:pB,listGroupTitle:mB,listItem:bB,listItemCollapsed:hB,listLink:$B,listLinkCollapsed:gB,active:DB,linkText:yB,backdrop:vB,backdropOpened:xB,skipToContent:CB},EB='"../theme/tokens.css"',BB='"Inter", sans-serif',kB="#1f1f1f",PB="_tooltip_m1a8t_4",SB="_arrow_m1a8t_17",fs={tokens:EB,display:BB,gray150:kB,tooltip:PB,arrow:SB};function nh({children:e,placement:t,className:u,...n}){return g.jsxs(n7,{className:W(fs.tooltip,u),placement:t,...n,children:[g.jsx(Kv,{className:fs.arrow,children:g.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:g.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),e]})}function rh({children:e,delay:t=0,...u}){return g.jsx(u7,{delay:t,...u,children:e})}const ah=de.createContext(void 0),AB=({items:e,title:t,user:u,app:n,children:r,clientSideRouter:a,clientSideHref:i,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f})=>g.jsx(ah.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}),ba=()=>{const e=de.useContext(ah);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e},Nl=({title:e,href:t,icon:u,active:n})=>{const{isCollapsed:r,setIsOpened:a}=ba(),[i,l]=de.useState(!1);return de.useEffect(()=>{typeof window<"u"&&l(n??window.location.pathname===t)},[n,t]),r?g.jsxs(rh,{children:[g.jsx(Mr,{href:t,"aria-label":e,className:W(ee.listLink,ee.listLinkCollapsed,i&&ee.active),onPress:()=>a(!1),children:g.jsx(u,{size:20,"aria-label":e})}),g.jsx(nh,{placement:"right",children:e})]}):g.jsxs(Mr,{href:t,"aria-label":e,className:W(ee.listLink,i&&ee.active),onPress:()=>a(!1),children:[g.jsx(u,{size:20}),e]})},ih=()=>{const{items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:r,setIsOpened:a,clientSideRouter:i,clientSideHref:l}=ba(),s=({group:d})=>g.jsx("ul",{className:ee.list,children:d.items.map((c,f)=>g.jsx("li",{className:W(ee.listItem,n&&ee.listItemCollapsed),children:g.jsx(Nl,{...c})},"link_"+f))});return de.useEffect(()=>{const d=c=>{c.key==="Escape"&&a(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[a]),g.jsxs("aside",{id:"midasMainMenu",className:W(ee.sidebar,n&&ee.sidebarCollapsed,u&&ee.sidebarOpened),children:[g.jsx("nav",{className:ee.sidebarNav,children:g.jsx("ul",{className:ee.list,children:e.map((d,c)=>g.jsxs("li",{children:[d.title&&!n&&g.jsx("p",{className:ee.listGroupTitle,children:d.title}),i?g.jsx(gs,{navigate:i,useHref:l,children:g.jsx(s,{group:d})}):g.jsx(s,{group:d})]},"list_"+c))})}),g.jsxs("div",{className:ee.sidebarFooter,children:[!n&&g.jsx("p",{className:ee.appName,children:t.name}),g.jsx(ze,{variant:"tertiary","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>r(!n),className:ee.collapseButton,children:n?g.jsx(q7,{size:20}):g.jsx(Z7,{size:20})})]})]})},wB='"../theme/tokens.css"',FB="#b90835",TB="#000000",RB="#5d5d5d",IB="#ffffff",KB="_container_1c334_4",MB="_noPadding_1c334_9",zB="_logo_1c334_13",VB="_primary_1c334_18",NB="_dark_1c334_22",jB="_xSmall_1c334_26",LB="_small_1c334_30",_B="_large_1c334_34",OB="_backgroundPrimary_1c334_38",HB="_backgroundDark_1c334_46",lt={tokens:wB,red100:FB,black:TB,gray130:RB,white:IB,container:KB,noPadding:MB,logo:zB,primary:VB,dark:NB,xSmall:jB,small:LB,large:_B,backgroundPrimary:OB,backgroundDark:HB},lh=({primary:e=!0,size:t="medium",background:u=!1,padding:n=!0,className:r,...a})=>{const i=W(lt.logo,e?lt.primary:lt.dark,t==="x-small"&<.xSmall,t==="small"&<.small,t==="medium"&<.medium,t==="large"&<.large),l=()=>t==="x-small"?g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:i,role:"img","aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:g.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"})}):g.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:i,"aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:[g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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"}),g.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 g.jsx("div",{className:W(lt.container,n===!1&<.noPadding,u?e?lt.backgroundPrimary:lt.backgroundDark:null,r),...a,children:g.jsx(l,{})})},oh=()=>{const{title:e,user:t,app:u,isOpened:n,setIsOpened:r,setIsCollapsed:a,headerChildren:i}=ba();return g.jsxs("header",{className:ee.header,style:{borderTop:`solid 4px ${u.color?u.color:Qh.midasColors.logoPrimary}`},children:[g.jsxs("div",{className:ee.headerContent,children:[g.jsx(lh,{padding:!1,size:"small",className:ee.logo}),g.jsx(ze,{variant:"icon",className:ee.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{a(!1),r(!0)},children:n?g.jsx(Tu,{size:20,"aria-hidden":"true"}):g.jsx(G7,{size:20,"aria-hidden":"true"})}),g.jsxs("div",{children:[g.jsx("p",{className:ee.userName,children:t.name}),g.jsx("p",{className:ee.userTitle,children:t.title}),g.jsx("p",{className:ee.title,children:e})]})]}),i&&g.jsxs(g.Fragment,{children:[g.jsx("div",{className:ee.headerItems,children:i}),g.jsx("div",{className:ee.headerMenu,children:g.jsx(eh,{label:"Öppna meny",children:de.Children.map(i,l=>g.jsx(th,{children:l}))})})]})]})},UB=({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 g.jsx(ze,{onPress:t,className:ee.skipToContent,children:"Hoppa till huvudinnehåll"})},WB=()=>{const{isOpened:e,setIsOpened:t}=ba();return e?g.jsx("div",{className:W(ee.backdrop,ee.backdropOpened),onClick:()=>{t(!1)},"aria-hidden":!0}):null},Jt=({items:e,title:t,user:u,app:n,children:r,headerChildren:a,clientSideRouter:i,clientSideHref:l})=>{const[s,d]=de.useState(!1),[c,f]=de.useState(!1);return g.jsx(Jt.Provider,{items:e,title:t,user:u,app:n,clientSideRouter:i,clientSideHref:l,headerChildren:a,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,children:g.jsxs("div",{className:ee.baseLayout,children:[g.jsx(UB,{}),g.jsx(Jt.Header,{}),g.jsxs("div",{className:ee.mainContent,children:[g.jsx(Jt.Sidebar,{}),g.jsx(uh,{children:g.jsx("main",{className:ee.main,children:g.jsx("div",{className:ee.app,children:r})})}),g.jsx(WB,{})]})]})})};Jt.Provider=AB;Jt.Header=oh;Jt.Sidebar=ih;Jt.SidebarLink=Nl;const GB='"../theme/tokens.css"',ZB="#143c50",qB="#25607f",YB="#4289ad",JB='"Inter", sans-serif',QB="1rem",XB="500",ek="#ffffff",tk="#bfbfbf",uk="#f2f2f2",nk="#e6e6e6",rk="#000000",ak="undefined",ik="0 0 0 2px #ffffff, 0 0 0 4px #000000",lk="(max-width: 767px)",ok="#e62323",sk="#b31b1b",dk="#801313",ck="_linkButton_42bs5_4",fk="_secondary_42bs5_48",pk="_tertiary_42bs5_72",mk="_danger_42bs5_93",bk="_iconBtn_42bs5_115",hk="_iconLeft_42bs5_136",$k="_fullwidth_42bs5_140",gk="_button_42bs5_145",Je={tokens:GB,blue150:ZB,blue130:qB,blue90:YB,display:JB,desktopSize:QB,mediumWeight:XB,white:ek,gray50:tk,gray10:uk,gray20:nk,black:rk,medium:ak,focus:ik,smBreakpoint:lk,signalRed100:ok,signalRed130:sk,signalRed150:dk,linkButton:ck,secondary:fk,tertiary:pk,danger:mk,iconBtn:bk,iconLeft:hk,fullwidth:$k,button:gk},Dk=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:r,className:a,as:i,...l})=>{const s=i||Mr,d=()=>n?g.jsx(n,{size:20,className:Je.icon}):l.target==="_blank"?g.jsx(J7,{size:20,className:Je.icon}):r==="left"?g.jsx(Ml,{size:20,className:Je.icon}):g.jsx(zl,{size:20,className:Je.icon});return g.jsxs(s,{className:W(Je.linkButton,t==="primary"&&Je.primary,t==="secondary"&&Je.secondary,t==="tertiary"&&Je.tertiary,t==="danger"&&Je.danger,t==="icon"&&Je.iconBtn,u&&Je.fullwidth,r==="left"&&Je.iconLeft,a),...l,children:[e,g.jsx(d,{})]})},yk='"../theme/tokens.css"',vk='"Inter", sans-serif',xk="#ffffff",Ck="#f2f2f2",Ek="_modal_1wq00_4",Bk="_modalHeader_1wq00_30",kk="_modalBody_1wq00_39",Pk="_modalHeading_1wq00_45",lr={tokens:yk,display:vk,white:xk,gray10:Ck,modal:Ek,modalHeader:Bk,modalBody:kk,modalHeading:Pk},Sk=({id:e,isOpen:t,onOpenChange:u,children:n,title:r,className:a,...i})=>{const l=de.useRef(null);de.useEffect(()=>{var c,f;t?(c=l.current)==null||c.showModal():(f=l.current)==null||f.close()},[t]);const s=()=>{var c;(c=l.current)==null||c.close(),u(!1)},d=e+"_heading";return g.jsxs("dialog",{id:e,ref:l,onCancel:()=>u(!1),className:W(lr.modal,a),"aria-labelledby":d,...i,children:[g.jsx("div",{className:lr.modalHeader,children:g.jsx(ze,{onPress:()=>s(),variant:"tertiary",icon:Tu,iconPlacement:"right",children:"Stäng"})}),g.jsxs("div",{className:lr.modalBody,children:[g.jsx("h2",{className:lr.modalHeading,id:d,children:r}),n]})]})},Ak='"../theme/tokens.css"',wk='"Inter", sans-serif',Fk="#000000",Tk="#b31b1b",Rk="(max-width: 767px)",Ik="#bfbfbf",Kk="#e6e6e6",Mk="#f2f2f2",zk="_button_sua3u_4",Vk="_icon_sua3u_19",Nk="_multiSelect_sua3u_44",jk="_popover_sua3u_60",Lk="_listBoxItem_sua3u_73",dn={tokens:Ak,display:wk,black:Fk,signalRed130:Tk,smBreakpoint:Rk,gray50:Ik,gray20:Kk,backgroundSecondary:Mk,button:zk,icon:Vk,multiSelect:Nk,popover:jk,listBoxItem:Lk},_k='"../theme/tokens.css"',Ok='"Inter", sans-serif',Hk="#000000",Uk="#b31b1b",Wk="(max-width: 767px)",Gk="#bfbfbf",Zk="#d9d9d9",qk="#e6e6e6",Yk="#f2f2f2",Jk="#f2f2f2",Qk="_button_m4kn4_4",Xk="_tag_m4kn4_14",eP="_dismissable_m4kn4_34",tP="_tagText_m4kn4_42",uP="_tagList_m4kn4_47",mn={tokens:_k,display:Ok,black:Hk,signalRed130:Uk,smBreakpoint:Wk,gray50:Gk,gray30:Zk,gray20:qk,gray10:Yk,backgroundSecondary:Jk,button:Qk,tag:Xk,dismissable:eP,tagText:tP,tagList:uP},sh=({children:e,...t})=>g.jsx(Jx,{...t,children:g.jsx(Xx,{className:mn.tagList,children:e})}),dh=({children:e,dismissable:t,className:u,...n})=>g.jsxs(t7,{className:W(mn.tag,t&&mn.dismissable,u),...n,children:[g.jsx("div",{className:mn.tagText,children:e}),t&&g.jsx(ze,{variant:"icon",size:"small",className:mn.button,slot:"remove",children:g.jsx(Tu,{size:20})})]}),nP=({label:e,description:t,items:u,onSelectionChange:n,selectedKeys:r,defaultSelectedKeys:a,isDisabled:i,isInvalid:l,errorMessage:s})=>{const d=de.useRef(null),[c,f]=de.useState(void 0),p=Zy({initialItems:u,initialSelectedKeys:a});de.useEffect(()=>{const b=()=>{d.current&&f(d.current.offsetWidth-2)};return b(),window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}},[]),de.useEffect(()=>{n&&n(new Set(p.selectedKeys))},[p.selectedKeys,n]),de.useEffect(()=>{r&&p.setSelectedKeys(new Set(r))},[r]);const m=p.selectedKeys==="all"?new Set(p.items.map(b=>b.id)):p.selectedKeys;return g.jsx("div",{className:dn.multiSelect,"data-disabled":i,"data-invalid":l,children:g.jsxs(te,{values:[[Et,{isInvalid:l||!1,validationErrors:[],validationDetails:{customError:l||!1,badInput:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!1,valueMissing:!1}}]],children:[g.jsx(pt,{label:e,description:t,errorMessage:s,children:g.jsxs(Uv,{children:[g.jsxs(dt,{className:dn.button,ref:d,isDisabled:i,children:["Välj",g.jsx("div",{className:dn.icon,"aria-hidden":"true",children:g.jsx(In,{size:20})})]}),g.jsx(tn,{className:dn.popover,style:{width:c},offset:0,UNSTABLE_portalContainer:d.current||void 0,children:g.jsx(px,{"aria-label":e,selectionMode:"multiple",selectedKeys:p.selectedKeys,onSelectionChange:p.setSelectedKeys,children:p.items.map(b=>g.jsxs(bx,{id:b.id,textValue:b.name,className:dn.listBoxItem,children:[g.jsx(Gn,{slot:"selection"}),b.name]},b.id))})})]})}),g.jsx(sh,{"aria-label":"Valda",onRemove:b=>{p.setSelectedKeys(new Set(Array.from(p.selectedKeys).filter(h=>!b.has(h))))},children:Array.from(m).map(b=>{const h=p.getItem(b);return g.jsx(dh,{id:h==null?void 0:h.id,textValue:h==null?void 0:h.name,isDisabled:i,dismissable:!0,children:h==null?void 0:h.name},h==null?void 0:h.id)})})]})})},rP='"../theme/tokens.css"',aP='"Inter", sans-serif',iP="undefined",lP="#1f1f1f",oP="#000000",sP="#143c50",dP="#bfbfbf",cP="#b3b3b3",fP="#f2f2f2",pP="#ffdfdf",mP="#e62323",bP="undefined",hP="#1f1f1f",$P="undefined",gP="(max-width: 767px)",DP="0 0 0 2px #ffffff, 0 0 0 4px #000000",yP="(min-width: 768px)",vP="#b3b3b3",xP="_radioGroup_dgfri_4",CP="_wrap_dgfri_16",EP="_radio_dgfri_4",Ti={tokens:rP,display:aP,inputLabel:iP,inputText:lP,black:oP,blue150:sP,gray50:dP,gray60:cP,gray10:fP,signalRed10:pP,signalRed100:mP,medium:bP,gray150:hP,regular:$P,smBreakpoint:gP,focus:DP,mdBreakpoint:yP,borderSecondary:vP,radioGroup:xP,wrap:CP,radio:EP},BP=({label:e,description:t,errorMessage:u,children:n,className:r,...a})=>g.jsx(xx,{...a,className:W(Ti.radioGroup,r),children:g.jsx(pt,{label:e,description:t,errorMessage:u,children:g.jsx(Un,{className:Ti.wrap,children:n})})}),kP=e=>g.jsx(Cx,{className:Ti.radio,...e}),PP='"../theme/tokens.css"',SP='"Inter", sans-serif',AP="#e62323",wP="0 0 0 2px #ffffff, 0 0 0 4px #000000",FP="#f2f2f2",TP="#000000",RP="_fieldError_smrso_5",IP="_container_smrso_34",KP="_inputContainer_smrso_40",MP="_icon_smrso_47",zP="_clear_smrso_55",VP="_input_smrso_40",zu={tokens:PP,display:SP,signalRed100:AP,focus:wP,gray10:FP,black:TP,fieldError:RP,container:IP,inputContainer:KP,icon:MP,clear:zP,input:VP};function NP(e){return!!(e!=null&&e.length)}const jP=e=>{const{value:t,setValue:u}=Xy(e),n=de.useRef(null),{labelProps:r,inputProps:a,errorMessageProps:i,isInvalid:l,validationErrors:s,clearButtonProps:d}=J6({...e,label:e.placeholder,validationBehavior:"native"},{value:t,setValue:u},n),c=({target:b})=>u(b.value),f=()=>u(""),p=()=>{var h;if(e.validate&&NP(e.validate(t))||l||!t){(h=n.current)==null||h.focus();return}e.onSubmit&&e.onSubmit(t)},m=({key:b})=>{b==="Enter"&&p()};return g.jsxs("div",{children:[l&&g.jsx("div",{...i,className:zu.fieldError,children:e.errorMessage??s.join(" ")}),g.jsxs("div",{className:zu.container,children:[g.jsx(Ts,{...r,hidden:!0,children:e.placeholder}),g.jsxs("div",{className:zu.inputContainer,children:[g.jsx(Y7,{size:20,className:zu.icon}),g.jsx("input",{...a,className:W(Te.input,zu.input,a.className),ref:n,onChange:c,value:t,"aria-invalid":l,onKeyDown:m}),t.length>0&&g.jsx(ze,{variant:"icon",size:"small",className:zu.clear,onPress:f,...d,children:g.jsx(Tu,{size:20,"aria-hidden":!0})})]}),g.jsx(ze,{isDisabled:e.isDisabled,excludeFromTabOrder:!0,onPress:p,type:"button",children:e.buttonText?e.buttonText:"Sök"})]})]})},LP='"../theme/tokens.css"',_P='"Inter", sans-serif',OP="#000000",HP="#b31b1b",UP="(max-width: 767px)",WP="#bfbfbf",GP="#e6e6e6",ZP="0 0 0 2px #ffffff, 0 0 0 4px #000000",qP="#f2f2f2",YP="_button_1by20_4",JP="_select_1by20_46",QP="_popover_1by20_62",XP="_listBoxItem_1by20_70",eS="_icon_1by20_97",bn={tokens:LP,display:_P,black:OP,signalRed130:HP,smBreakpoint:UP,gray50:WP,gray20:GP,focus:ZP,backgroundSecondary:qP,button:YP,select:JP,popover:QP,listBoxItem:XP,icon:eS};function tS({label:e,description:t,errorMessage:u,children:n,items:r,...a}){const i=o.useRef(null);return g.jsxs(Bx,{className:bn.select,ref:i,...a,children:[g.jsx(pt,{label:e,description:t,errorMessage:u,children:g.jsxs(dt,{className:bn.button,children:[g.jsx(Px,{}),g.jsx("div",{className:bn.icon,"aria-hidden":"true",children:g.jsx(In,{size:20,"aria-hidden":!0})})]})}),g.jsx(tn,{className:bn.popover,offset:0,UNSTABLE_portalContainer:i.current||void 0,children:g.jsx(w5,{items:r,children:n})})]})}function uS(e){return g.jsx(T5,{className:bn.listBoxItem,...e})}const nS="_skeleton_1ddo2_11",rS="_circle_1ddo2_21",aS="_wave_1ddo2_26",Wa={skeleton:nS,circle:rS,wave:aS},iS=({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"),g.jsx("div",{className:W(Wa.skeleton,Wa[e],n&&Wa[n]),style:{width:t,height:u}})),lS='"../theme/tokens.css"',oS="#b90835",sS="#143c50",dS="_container_13uof_4",cS="_spinner_13uof_8",fS="_rotating_13uof_1",pS="_dark_13uof_18",mS="_vsHidden_13uof_22",or={tokens:lS,red100:oS,blue150:sS,container:dS,spinner:cS,rotating:fS,dark:pS,vsHidden:mS},bS=({small:e,dark:t})=>g.jsxs("div",{className:or.container,role:"status",children:[g.jsx(W7,{className:W(or.spinner,t&&or.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),g.jsx("span",{className:or.vsHidden,children:"Laddar, vänligen vänta."})]}),hS='"../theme/tokens.css"',$S='"Inter", sans-serif',gS="#f2f2f2",DS="#d9d9d9",yS="#cccccc",vS="#b3b3b3",xS="500",CS="_cell_yd56b_4",ES="_table_yd56b_10",BS="_narrow_yd56b_14",kS="_striped_yd56b_29",PS="_row_yd56b_29",SS="_tableHeader_yd56b_48",AS="_column_yd56b_52",vu={tokens:hS,display:$S,gray10:gS,gray30:DS,gray40:yS,gray60:vS,mediumWeight:xS,cell:CS,table:ES,narrow:BS,striped:kS,row:PS,tableHeader:SS,column:AS},wS=({narrow:e,striped:t,className:u,...n})=>{const r=W(vu.table,e&&vu.narrow,t&&vu.striped,u);return g.jsx(Fx,{className:r,...n})},FS=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:r}=O5();return g.jsxs(Rx,{className:vu.tableHeader,children:[r&&g.jsx(Ri,{}),u==="toggle"&&g.jsx(Ri,{width:50,children:n==="multiple"&&g.jsx(Gn,{slot:"selection"})}),g.jsx(ct,{items:e,children:t})]})},TS=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:r,allowsDragging:a}=O5();return g.jsxs(Vx,{id:e,className:W(vu.row),...n,children:[a&&g.jsx(Ii,{children:g.jsx(dt,{slot:"drag",children:g.jsx(U7,{size:20})})}),r==="toggle"&&g.jsx(Ii,{children:g.jsx(Gn,{slot:"selection"})}),g.jsx(ct,{items:t,children:u})]})},Ri=({children:e,...t})=>g.jsx(Kx,{className:vu.column,...t,children:({allowsSorting:u,sortDirection:n})=>g.jsxs(g.Fragment,{children:[e,u&&g.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:n==="ascending"?g.jsx(O7,{size:20}):g.jsx(L7,{size:20})})]})}),Ii=({...e})=>g.jsx(Nx,{className:vu.cell,...e}),RS='"../theme/tokens.css"',IS='"Inter", sans-serif',KS="#bfbfbf",MS="600",zS="#25607f",VS="0 0 0 2px #ffffff, 0 0 0 4px #000000",NS="(max-width: 767px)",jS="_container_a0kqi_4",LS="_list_a0kqi_8",_S="_listItem_a0kqi_14",OS="_panel_a0kqi_42",sr={tokens:RS,display:IS,gray50:KS,semiBoldWeight:MS,blue130:zS,focus:VS,smBreakpoint:NS,container:jS,list:LS,listItem:_S,panel:OS},HS=({tabs:e,label:t,defaultSelected:u,children:n})=>{const r=de.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(de.isValidElement(l)){const c=(d=e[s])==null?void 0:d.toLowerCase();c&&(i[c]=de.cloneElement(l,{id:c}))}return i},{});return g.jsxs(Hx,{orientation:"vertical",defaultSelectedKey:u&&u.toLowerCase(),className:sr.container,children:[g.jsx(Wx,{"aria-label":t,className:sr.list,children:e.map(i=>g.jsx(Zx,{id:i.toLowerCase(),className:sr.listItem,children:i},i))}),e.map(i=>g.jsx(qx,{id:i.toLowerCase(),className:sr.panel,children:a[i.toLowerCase()]},i))]})},US='"../theme/tokens.css"',WS='"Inter", sans-serif',GS="#ffdfdf",ZS="(max-width: 767px)",qS="#f2f2f2",YS="#e6e6e6",JS="#bfbfbf",QS="#000000",XS="#e62323",eA="#2e7ca5",tA="500",uA="400",nA="#1f1f1f",rA="0 0 0 2px #ffffff, 0 0 0 4px #000000",aA="_textArea_r27ql_4",iA="_count_r27ql_45",lA="_countExceeded_r27ql_53",dr={tokens:US,display:WS,signalRed10:GS,smBreakpoint:ZS,gray10:qS,gray20:YS,gray50:JS,black:QS,signalRed100:XS,blue100:eA,mediumWeight:tA,regularWeight:uA,inputText:nA,focus:rA,textArea:aA,count:iA,countExceeded:lA},oA=({label:e,description:t,rows:u,maxLength:n,minLength:r,errorMessage:a,showCounter:i,validate:l,className:s,...d})=>{const[c,f]=de.useState(d.defaultValue??d.value??""),p=h=>{const D=h.target.value;f(D)},m=()=>n?g.jsxs("span",{className:W(dr.count,c.length>n&&dr.countExceeded),children:[c.length," / ",n]}):i?g.jsx("span",{className:dr.count,children:c.length}):null,b=h=>{const D=n&&h.length>n?`Du har angett ${h.length-n} tecken för mycket. Fältet är begränsat till ${n} tecken.`:null,v=r&&h.length<r?`Du har angett ${Math.abs(h.length-r)} tecken för lite. Fältet kräver åtminstone ${r} tecken.`:null,E=l?l(h):null;return D||v||E||!0};return g.jsx(_b,{className:W(Te.inputField,s),validate:b,...d,children:g.jsxs(pt,{label:e,description:t,errorMessage:a,children:[g.jsx(m,{}),g.jsx(mv,{className:dr.textArea,rows:u,onFocus:p,onChange:p})]})})};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:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var mh={};mh={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var bh={};bh={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var hh={};hh={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var $h={};$h={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var gh={};gh={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var Dh={};Dh={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var yh={};yh={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var vh={};vh={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var xh={};xh={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var Ch={};Ch={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var Eh={};Eh={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 Bh={};Bh={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var kh={};kh={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 Sh={};Sh={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 Ah={};Ah={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 wh={};wh={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var Fh={};Fh={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 Rh={};Rh={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Ih={};Ih={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Kh={};Kh={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var Mh={};Mh={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var zh={};zh={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 Vh={};Vh={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 Nh={};Nh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var jh={};jh={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var Lh={};Lh={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var _h={};_h={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var Oh={};Oh={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var Hh={};Hh={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var jl={};jl={"ar-AE":ch,"bg-BG":fh,"cs-CZ":ph,"da-DK":mh,"de-DE":bh,"el-GR":hh,"en-US":$h,"es-ES":gh,"et-EE":Dh,"fi-FI":yh,"fr-FR":vh,"he-IL":xh,"hr-HR":Ch,"hu-HU":Eh,"it-IT":Bh,"ja-JP":kh,"ko-KR":Ph,"lt-LT":Sh,"lv-LV":Ah,"nb-NO":wh,"nl-NL":Fh,"pl-PL":Th,"pt-BR":Rh,"pt-PT":Ih,"ro-RO":Kh,"ru-RU":Mh,"sk-SK":zh,"sl-SI":Vh,"sr-SP":Nh,"sv-SE":jh,"tr-TR":Lh,"uk-UA":_h,"zh-CN":Oh,"zh-TW":Hh};function sA(e){return e&&e.__esModule?e.default:e}function dA(e,t,u){let{key:n,timer:r,timeout:a,animation:i}=e.toast;o.useEffect(()=>{if(!(r==null||a==null))return r.reset(a),()=>{r.pause()}},[r,a]);let[l,s]=o.useState(!1);o.useEffect(()=>{(i==="entering"||i==="queued")&&s(!0)},[i]);let d=ne(),c=rt(),f=be(sA(jl),"@react-aria/toast");return{toastProps:{role:"alertdialog","aria-modal":"false","aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]||d,"aria-describedby":e["aria-describedby"]||c,"aria-details":e["aria-details"],"aria-hidden":i==="exiting"?"true":void 0,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true",style:{visibility:l||i===null?"visible":"hidden"}},titleProps:{id:d},descriptionProps:{id:c},closeButtonProps:{"aria-label":f.format("close"),onPress:()=>t.close(n)}}}const Uh=1,Ga=Symbol.for("react-aria-landmark-manager");function cA(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function ps(){if(typeof document>"u")return null;let e=document[Ga];return e&&e.version>=Uh?e:(document[Ga]=new pA,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[Ga])}function fA(){return _i.useSyncExternalStore(cA,ps,ps)}class pA{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=Uh,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function mA(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:a}=e;let i=fA(),l=n||r,[s,d]=o.useState(!1),c=o.useCallback(()=>{d(!0)},[d]),f=o.useCallback(()=>{d(!1)},[d]);return q(()=>{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 bA(e){return e&&e.__esModule?e.default:e}function hA(e,t,u){let n=be(bA(jl),"@react-aria/toast"),{landmarkProps:r}=mA({role:"region","aria-label":e["aria-label"]||n.format("notifications",{count:t.visibleToasts.length})},u),{hoverProps:a}=De({onHoverStart:t.pauseAll,onHoverEnd:t.resumeAll}),i=o.useRef([]),l=o.useRef(t.visibleToasts),s=o.useRef(null);q(()=>{if(s.current===-1||t.visibleToasts.length===0||!u.current){i.current=[],l.current=t.visibleToasts;return}if(i.current=[...u.current.querySelectorAll('[role="alertdialog"]')],l.current.length===t.visibleToasts.length&&t.visibleToasts.every((m,b)=>m.key===l.current[b].key)){l.current=t.visibleToasts;return}let f=l.current.map((m,b)=>({...m,i:b,isRemoved:!t.visibleToasts.some(h=>m.key===h.key)})),p=f.findIndex(m=>m.i===s.current);if(p>-1){let m=0,b,h;for(;m<=p;)f[m].isRemoved||(h=Math.max(0,m-1)),m++;for(;m<f.length;){if(!f[m].isRemoved){b=m-1;break}m++}h===void 0&&b===void 0&&(h=0),h>=0&&h<i.current.length?Oe(i.current[h]):b>=0&&b<i.current.length&&Oe(i.current[b])}l.current=t.visibleToasts},[t.visibleToasts,u]);let d=o.useRef(null),{focusWithinProps:c}=ft({onFocusWithin:f=>{t.pauseAll(),d.current=f.relatedTarget},onBlurWithin:()=>{t.resumeAll(),d.current=null}});return o.useEffect(()=>{t.visibleToasts.length===0&&d.current&&document.body.contains(d.current)&&(tu()==="pointer"?Oe(d.current):d.current.focus(),d.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{d.current&&document.body.contains(d.current)&&(tu()==="pointer"?Oe(d.current):d.current.focus(),d.current=null)},[u]),{regionProps:N(r,a,c,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:f=>{let p=f.target.closest('[role="alertdialog"]');s.current=i.current.findIndex(m=>m===p)},onBlur:()=>{s.current=-1}})}}function $A(e={}){let{maxVisibleToasts:t=1,hasExitAnimation:u=!1}=e,n=o.useMemo(()=>new Gh({maxVisibleToasts:t,hasExitAnimation:u}),[t,u]);return Wh(n)}function Wh(e){let t=o.useCallback(r=>e.subscribe(r),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:_i.useSyncExternalStore(t,u,u),add:(r,a)=>e.add(r,a),close:r=>e.close(r),remove:r=>e.remove(r),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class Gh{subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,u={}){let n=Math.random().toString(36),r={...u,content:t,key:n,timer:u.timeout?new gA(()=>this.close(n),u.timeout):void 0},a=0,i=this.queue.length;for(;a<i;){let s=Math.floor((a+i)/2);(r.priority||0)>(this.queue[s].priority||0)?i=s:a=s+1}this.queue.splice(a,0,r),r.animation=a<this.maxVisibleToasts?"entering":"queued";let l=this.maxVisibleToasts;for(;l<this.queue.length;)this.queue[l++].animation="queued";return this.updateVisibleToasts({action:"add"}),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({action:"close",key:t})}remove(t){this.updateVisibleToasts({action:"remove",key:t})}updateVisibleToasts(t){let{action:u,key:n}=t,r=this.queue.slice(0,this.maxVisibleToasts);if(u==="add"&&this.hasExitAnimation){let a=this.visibleToasts.filter(i=>!r.some(l=>i.key===l.key)).map(i=>({...i,animation:"exiting"}));this.visibleToasts=a.concat(r).sort((i,l)=>{var s,d;return((s=l.priority)!==null&&s!==void 0?s:0)-((d=i.priority)!==null&&d!==void 0?d:0)})}else u==="close"&&this.hasExitAnimation?this.visibleToasts=this.visibleToasts.map(a=>a.key!==n?a:{...a,animation:"exiting"}):this.visibleToasts=r;for(let a of this.subscriptions)a()}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;var n;this.hasExitAnimation=(n=t==null?void 0:t.hasExitAnimation)!==null&&n!==void 0?n:!1}}class gA{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 DA='"../theme/tokens.css"',yA='"Inter", sans-serif',vA="#d5f2d9",xA="#008d3c",CA="#eaf2f6",EA="#0066cc",BA="#fff8e1",kA="#f1c21b",PA="#ffdfdf",SA="#e62323",AA="#1f1f1f",wA="0 0 0 2px #ffffff, 0 0 0 4px #000000",FA="(min-width: 768px)",TA="_toastRegion_i4o11_52",RA="_toast_i4o11_52",IA="_success_i4o11_96",KA="_info_i4o11_104",MA="_important_i4o11_112",zA="_warning_i4o11_120",VA="_icon_i4o11_128",NA="_toastContent_i4o11_138",jA="_toastMessage_i4o11_145",LA="_slideInTop_i4o11_1",_A="_slideInEnd_i4o11_1",OA="_slideOutTop_i4o11_1",HA="_slideOutEnd_i4o11_1",ju={tokens:DA,display:yA,signalGreen10:vA,signalGreen100:xA,signalBlue10:CA,signalBlue100:EA,signalYellow10:BA,signalYellow100:kA,signalRed10:PA,signalRed100:SA,gray150:AA,focus:wA,mdBreakpoint:FA,toastRegion:TA,toast:RA,success:IA,info:KA,important:MA,warning:zA,icon:VA,toastContent:NA,toastMessage:jA,slideInTop:LA,slideInEnd:_A,slideOutTop:OA,slideOutEnd:HA},UA={success:q5,info:Y5,important:Z5,warning:J5},Zh=new Gh({maxVisibleToasts:5,hasExitAnimation:!0}),WA=e=>{const t=Wh(Zh);return t.visibleToasts.length>0?au.createPortal(g.jsx(Ll,{...e,state:t}),document.body):null},GA=({children:e,...t})=>{const u=$A({maxVisibleToasts:5,hasExitAnimation:!0});return g.jsxs(g.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&g.jsx(Ll,{...t,state:u})]})};function Ll({state:e,...t}){const u=o.useRef(null),{regionProps:n}=hA(t,e,u);return g.jsx("div",{...n,ref:u,className:ju.toastRegion,children:e.visibleToasts.map(r=>g.jsx(qh,{toast:r,state:e},r.key))})}function qh({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:r,titleProps:a,closeButtonProps:i}=dA(t,e),l=UA[t.toast.content.type];return g.jsxs("div",{...n,ref:u,className:W(ju.toast,ju[t.toast.content.type]),"data-animation":t.toast.animation,onAnimationEnd:()=>{t.toast.animation==="exiting"&&e.remove(t.toast.key)},children:[g.jsxs("div",{className:ju.toastContent,...r,children:[g.jsx(l,{className:ju.icon,size:20,"aria-hidden":!0}),g.jsxs("div",{children:[g.jsx("p",{className:ju.toastMessage,...a,children:t.toast.content.message}),t.toast.content.children]})]}),g.jsx(ze,{variant:"icon",...i,children:g.jsx(Tu,{size:20,"aria-hidden":!0})})]})}exports.Accordion=a7;exports.AccordionItem=Q7;exports.Breadcrumbs=DC;exports.Button=ze;exports.ButtonGroup=z7;exports.Card=MC;exports.Cell=Ii;exports.Checkbox=Gn;exports.CheckboxGroup=R9;exports.Column=Ri;exports.ComboBox=X9;exports.ComboBoxItem=e8;exports.DatePicker=v8;exports.DateRangePicker=y8;exports.Dropdown=eh;exports.DropdownItem=th;exports.FileUpload=L8;exports.Flex=Y8;exports.FlexItem=uh;exports.GlobalToastRegion=WA;exports.Grid=aE;exports.GridItem=iE;exports.Header=oh;exports.InfoBanner=wE;exports.InputWrapper=pt;exports.Item=uS;exports.Layout=Jt;exports.Link=Vl;exports.LinkButton=Dk;exports.Logo=lh;exports.Modal=Sk;exports.MultiSelect=nP;exports.Radio=kP;exports.RadioGroup=BP;exports.RouterProvider=gs;exports.Row=TS;exports.SearchField=jP;exports.Select=tS;exports.Sidebar=ih;exports.SidebarLink=Nl;exports.Skeleton=iS;exports.Spinner=bS;exports.Table=wS;exports.TableBody=zx;exports.TableHeader=FS;exports.Tabs=HS;exports.Tag=dh;exports.TagGroup=sh;exports.TextArea=oA;exports.TextField=w9;exports.Toast=qh;exports.ToastProvider=GA;exports.ToastRegion=Ll;exports.Tooltip=nh;exports.TooltipTrigger=rh;exports.ssnRegEx=Q5;exports.toastQueue=Zh;
|
|
138
|
+
*/const rh=Be("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
|
+
* @license lucide-react v0.453.0 - ISC
|
|
140
|
+
*
|
|
141
|
+
* This source code is licensed under the ISC license.
|
|
142
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
143
|
+
*/const lu=Be("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),_7=({title:e,children:t,className:u,headingLevel:n=3,...a})=>{const r=ne.useRef(null),[i,l]=ne.useState(0),s=typeof e=="object";return ne.useLayoutEffect(()=>{r.current&&l(r.current.clientHeight)}),h.jsxs(ix,{...a,className:H(Je.item,u),children:[s?h.jsx("div",{className:Je.trigger,children:h.jsxs(Ke,{slot:"trigger",variant:"icon",children:[h.jsx(ja,{size:20,className:Je.icon}),e]})}):h.jsx(Kl,{level:n,className:Je.trigger,children:h.jsxs(Ke,{slot:"trigger",variant:"icon",children:[h.jsx(ja,{size:20,className:Je.icon}),h.jsx("span",{className:Je.triggerText,children:e})]})}),h.jsx(lx,{style:{"--panel-height":`${i}px`},className:H(Je.panel,i===0&&Je.panel0),children:h.jsx("div",{ref:r,className:Je.content,children:t})})]})},j7='"../theme/tokens.css"',L7='"Inter", sans-serif',O7="#25607f",H7="#143c50",U7="#1f1f1f",W7="#bfbfbf",Z7="500",G7="0 0 0 2px #ffffff, 0 0 0 4px #000000",q7="400",Y7="#663366",J7="#000000",Q7="_link_rnt2w_4",X7="_icon_rnt2w_45",eC="_standalone_rnt2w_49",tC="_stretched_rnt2w_64",dn={tokens:j7,display:L7,blue130:O7,blue150:H7,gray150:U7,gray50:W7,mediumWeight:Z7,focus:G7,regularWeight:q7,linkVisited:Y7,black:J7,link:Q7,icon:X7,standalone:eC,stretched:tC},Nl=({children:e,standalone:t,stretched:u,icon:n,className:a,as:r,...i})=>{const l=r||Ka;return h.jsx(l,{className:H(dn.link,t&&dn.standalone,u&&dn.stretched,a),...i,children:h.jsxs(h.Fragment,{children:[e,!t&&n&&h.jsx(n,{size:20,className:dn.icon}),t&&h.jsx(A7,{size:20,className:dn.icon})]})})},uC='"../theme/tokens.css"',nC='"Inter", sans-serif',aC="#1f1f1f",rC="_container_k9jic_4",iC={tokens:uC,display:nC,gray150:aC,container:rC},lC=({items:e})=>h.jsx(mv,{className:iC.container,children:e.map((t,u)=>h.jsx(bv,{children:h.jsx(Nl,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),oC='"../theme/tokens.css"',sC='"Inter", sans-serif',dC="#ffffff",cC="#e6e6e6",fC="#f2f2f2",pC="#1f1f1f",mC="#d5e5ed",bC="#000000",hC="500",$C="250ms",gC="_card_vbecj_4",DC="_content_vbecj_33",yC="_heading_vbecj_39",vC="_image_vbecj_47",xC="_background_vbecj_56",CC="_text_vbecj_60",Tu={tokens:oC,display:sC,white:dC,gray20:cC,gray10:fC,gray150:pC,blue20:mC,black:bC,mediumWeight:hC,fastTransition:$C,card:gC,content:DC,heading:yC,image:vC,background:xC,text:CC},EC=({image:e,background:t,title:u,content:n,link:a,headingTag:r="h1",customImageComponent:i,customLinkComponent:l,className:s,...d})=>{const c=ne.useId();return h.jsxs("div",{className:H(Tu.card,t&&Tu.background,s),...d,children:[h.jsxs("div",{className:Tu.content,children:[i||(e==null?void 0:e.source)&&h.jsx("img",{src:e.source,alt:e.description,className:Tu.image}),h.jsxs("div",{id:c,children:[h.jsx(r,{className:Tu.heading,children:u}),h.jsx("p",{className:Tu.text,children:n})]})]}),h.jsx(Nl,{"aria-describedby":c,...a,standalone:!0,stretched:!0,as:l})]})},BC='"../theme/tokens.css"',kC='"Inter", sans-serif',PC="#000000",SC="#143c50",AC="#5897b8",wC="#25607f",FC="#ffdfdf",TC="#e62323",RC="0 0 0 2px #ffffff, 0 0 0 4px #000000",IC="#b31b1b",KC="#ffffff",MC="#f2f2f2",zC="#cccccc",VC="#808080",NC="#bfbfbf",_C="#e6e6e6",jC="400",LC="500",OC="(max-width: 767px)",HC="#b3b3b3",UC="_wrap_1lhw5_4",WC="_checkboxInner_1lhw5_11",ZC="_checkbox_1lhw5_11",GC="_checkboxGroup_1lhw5_136",La={tokens:BC,display:kC,black:PC,primaryBackground:SC,blue80:AC,blue130:wC,signalRed10:FC,signalRed100:TC,focus:RC,signalRed130:IC,white:KC,gray10:MC,gray40:zC,gray100:VC,gray50:NC,gray20:_C,regularWeight:jC,mediumWeight:LC,smBreakpoint:OC,borderSecondary:HC,wrap:UC,checkboxInner:WC,checkbox:ZC,checkboxGroup:GC},$r=({children:e,...t})=>h.jsx(kv,{className:H(La.checkbox,t.className),...t,children:({isIndeterminate:u})=>h.jsxs(h.Fragment,{children:[h.jsx("div",{className:La.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]})}),qC='"../theme/tokens.css"',YC='"Inter", sans-serif',JC="#ffdfdf",QC="#f2f2f2",XC="#e6e6e6",e9="#bfbfbf",t9="#000000",u9="#e62323",n9="500",a9="400",r9="#1f1f1f",i9="0 0 0 2px #ffffff, 0 0 0 4px #000000",l9="_inputField_12oaf_4",o9="_inputWrapper_12oaf_12",s9="_label_12oaf_30",d9="_text_12oaf_36",c9="_fieldError_12oaf_42",f9="_passwordText_12oaf_66",p9="_count_12oaf_79",m9="_countExceeded_12oaf_87",b9="_input_12oaf_4",h9="_wrap_12oaf_135",$9="_passwordButton_12oaf_140",Te={tokens:qC,display:YC,signalRed10:JC,gray10:QC,gray20:XC,gray50:e9,black:t9,signalRed100:u9,mediumWeight:n9,regularWeight:a9,inputText:r9,focus:i9,inputField:l9,inputWrapper:o9,label:s9,text:d9,fieldError:c9,passwordText:f9,count:p9,countExceeded:m9,input:b9,wrap:h9,passwordButton:$9},g9=({label:e,description:t,errorMessage:u,validationType:n,validate:a,maxLength:r,showCounter:i,className:l,...s})=>{const[d,c]=ne.useState(s.defaultValue??s.value??""),f=b=>{const $=b.target.value;c($)},p=b=>n==="ssn"?ih.test(b)?null:"Felaktigt personnummer":n==="dossnr"?y9.test(b)?null:"Felaktigt dossiernummer":n instanceof RegExp?new RegExp(n).test(b)?null:u==null?void 0:u.toString():r?r&&b.length>r?`Du har angett ${b.length-r} tecken för mycket. Fältet är begränsat till ${r} tecken.`:null:a?a(b):!0,m=()=>r?h.jsxs("span",{className:H(Te.count,d.length>r&&Te.countExceeded),children:[d.length," / ",r]}):i?h.jsx("span",{className:Te.count,children:d.length}):null;return h.jsx(kl,{className:H(Te.inputField,l),validate:p,...s,children:h.jsxs(_t,{label:e,description:t,errorMessage:u,children:[h.jsx(m,{}),h.jsxs("div",{className:Te.wrap,children:[h.jsx(sr,{type:s.type,className:Te.input,onChange:f,onBlur:f}),h.jsx(D9,{type:s.type,input:d})]})]})})},D9=({type:e,input:t})=>{const[u,n]=ne.useState(!1);return e==="password"?h.jsxs(h.Fragment,{children:[u&&h.jsx(tn,{slot:"description",className:Te.passwordText,children:t}),h.jsx(Ke,{variant:"tertiary",onPress:()=>n(!u),className:Te.passwordButton,children:u?"Dölj":"Visa"})]}):null},_t=({label:e,description:t,errorMessage:u,children:n})=>h.jsxs("div",{className:Te.inputWrapper,children:[e&&h.jsx(Ga,{className:Te.label,children:e}),t&&h.jsx(tn,{slot:"description",className:Te.text,children:t}),h.jsx(El,{className:Te.fieldError,children:u}),n]}),ih=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}))$"),y9=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}$)"),v9=({label:e,description:t,errorMessage:u,showSelectAll:n,children:a,...r})=>{const[i,l]=o.useState(),s=()=>{const d=o.useContext(Sl),c=o.Children.toArray(a).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=(($=d==null?void 0:d.value)==null?void 0:$.length)||0;b===0&&l("none"),b>0&&b<p&&l("some"),b!==m&&(d==null||d.removeValue("toggleAll")),b===p&&!((g=d==null?void 0:d.value)!=null&&g.includes("toggleAll"))&&(d==null||d.addValue("toggleAll"),l("all"))},[c.length,d==null?void 0:d.value]),h.jsx($r,{value:"toggleAll",isSelected:i==="all",isIndeterminate:i==="some",onChange:()=>f(),children:"Välj alla"})};return h.jsx(Bv,{className:La.checkboxGroup,...r,children:h.jsx(_t,{label:e,description:t,errorMessage:u,children:h.jsxs(On,{className:La.wrap,children:[n&&h.jsx(s,{}),a]})})})},x9='"../theme/tokens.css"',C9='"Inter", sans-serif',E9="#000000",B9="#b31b1b",k9="(max-width: 767px)",P9="#bfbfbf",S9="#e6e6e6",A9="#f2f2f2",w9="0 0 0 2px #ffffff, 0 0 0 4px #000000",F9="#f2f2f2",T9="_input_1gpkc_4",R9="_combobox_1gpkc_38",I9="_text_1gpkc_54",K9="_wrap_1gpkc_59",M9="_button_1gpkc_64",z9="_icon_1gpkc_82",V9="_popover_1gpkc_88",N9="_fieldError_1gpkc_96",_9="_listBoxItem_1gpkc_107",mu={tokens:x9,display:C9,black:E9,signalRed130:B9,smBreakpoint:k9,gray50:P9,gray20:S9,gray10:A9,focus:w9,backgroundSecondary:F9,input:T9,combobox:R9,text:I9,wrap:K9,button:M9,icon:z9,popover:V9,fieldError:N9,listBoxItem:_9};function j9({label:e,description:t,errorMessage:u,children:n,items:a,className:r,...i}){const l=o.useRef(null);return h.jsxs(Zv,{className:H(mu.combobox,r),ref:l,...i,children:[h.jsx(_t,{label:e,description:t,errorMessage:u,children:h.jsxs("div",{className:mu.wrap,children:[h.jsx(sr,{className:mu.input}),h.jsx(Ft,{className:mu.button,"aria-label":"Visa lista",children:h.jsx("div",{className:mu.icon,"aria-hidden":"true",children:h.jsx(ja,{size:20,"aria-hidden":!0})})})]})}),h.jsx(mr,{className:mu.popover,offset:0,UNSTABLE_portalContainer:l.current||void 0,children:h.jsx(Sv,{items:a,children:n})})]})}function L9(e){return h.jsx(Fv,{className:mu.listBoxItem,...e})}const O9='"../theme/tokens.css"',H9='"Inter", sans-serif',U9="#000000",W9="#f2f2f2",Z9="#e6e6e6",G9="#b3b3b3",q9="#1f1f1f",Y9="#d5e5ed",J9="0 0 0 2px #ffffff, 0 0 0 4px #000000",Q9="#143c50",X9="_datePicker_phmzg_4",e8="_datePickerTextfield_phmzg_11",t8="_buttonInvalid_phmzg_22",u8="_date_phmzg_4",n8="_dialog_phmzg_80",a8="_dialogHeader_phmzg_85",r8="_dialogHeading_phmzg_111",i8="_day_phmzg_116",l8="_calendar_phmzg_154",Ie={tokens:O9,display:H9,black:U9,gray10:W9,gray20:Z9,gray60:G9,gray150:q9,blue20:Y9,focus:J9,blue150:Q9,datePicker:X9,datePickerTextfield:e8,buttonInvalid:t8,date:u8,dialog:n8,dialogHeader:a8,dialogHeading:r8,day:i8,calendar:l8},o8='"../theme/tokens.css"',s8='"Inter", sans-serif',d8="#f2f2f2",c8="#e6e6e6",f8="#143c50",p8="0 0 0 2px #ffffff, 0 0 0 4px #000000",m8="_calendar_tbc2v_4",b8="_day_tbc2v_22",h8="_header_tbc2v_49",$8="_heading_tbc2v_74",g8="_today_tbc2v_106",Ru={tokens:o8,display:s8,gray10:d8,gray20:c8,blue150:f8,focus:p8,calendar:m8,day:b8,header:h8,heading:$8,today:g8};function lh({errorMessage:e,weekdayStyle:t="short",className:u,...n}){return h.jsxs(hv,{...n,className:H(Ru.calendar,u),children:[h.jsxs("header",{className:Ru.header,children:[h.jsx(Ft,{slot:"previous",children:h.jsx(zl,{})}),h.jsx(Kl,{className:Ru.heading}),h.jsx(Ft,{slot:"next",children:h.jsx(Vl,{})})]}),h.jsx(e5,{className:Ru.calendar,weekdayStyle:t,children:a=>h.jsx(t5,{date:a,className:H(Ru.day,Md(a,Xa())&&Ru.today)})}),e&&h.jsx(tn,{slot:"errorMessage",children:e})]})}const D8=({label:e,description:t,errorMessage:u,...n})=>{const a=o.useRef(null);return h.jsx(ux,{...n,className:H(Te.inputField,Ie.datePicker,n.className),ref:a,children:h.jsxs(_t,{label:e,description:t,errorMessage:u,children:[h.jsxs(On,{className:H(Te.input,Ie.datePickerTextfield),children:[h.jsx(Na,{slot:"start",className:Ie.date,children:r=>h.jsx(_a,{className:Ie.dateSegment,segment:r})}),h.jsx("span",{"aria-hidden":"true",children:"-"}),h.jsx(Na,{slot:"end",className:Ie.date,children:r=>h.jsx(_a,{segment:r,className:Ie.dateSegment})}),h.jsx(Ft,{children:h.jsx(th,{size:20,"aria-hidden":!0})})]}),h.jsx(mr,{UNSTABLE_portalContainer:a.current||void 0,children:h.jsx(O5,{className:Ie.dialog,children:h.jsxs($v,{children:[h.jsxs("header",{className:Ie.dialogHeader,children:[h.jsx(Ft,{slot:"previous",children:h.jsx(zl,{size:20,"aria-hidden":!0})}),h.jsx(Kl,{className:Ie.dialogHeading}),h.jsx(Ft,{slot:"next",children:h.jsx(Vl,{size:20,"aria-hidden":!0})})]}),h.jsx(e5,{className:Ie.calendar,weekdayStyle:"short",children:r=>h.jsx(t5,{date:r,className:Ie.day})})]})})})]})})},y8=({label:e,description:t,errorMessage:u,...n})=>{const a=o.useRef(null);return h.jsx(tx,{...n,className:H(Te.inputField,Ie.datePicker,n.className),ref:a,children:h.jsxs(_t,{label:e,description:t,errorMessage:u,children:[h.jsxs(On,{className:H(Te.input,Ie.datePickerTextfield),children:[h.jsx(Na,{className:Ie.date,children:r=>h.jsx(_a,{segment:r,className:Ie.dateSegment})}),h.jsx(Ft,{className:H(n.isInvalid&&Ie.buttonInvalid),children:h.jsx(th,{size:20,"aria-hidden":!0})})]}),h.jsx(mr,{UNSTABLE_portalContainer:a.current||void 0,children:h.jsx(O5,{className:Ie.dialog,children:h.jsx(lh,{})})})]})})},v8='"../theme/tokens.css"',x8='"Inter", sans-serif',C8="0 0 0 2px #ffffff, 0 0 0 4px #000000",E8="#f2f2f2",B8="_dropDownMenu_1f4ap_4",k8="_dropdownMenu_1f4ap_15",oh={tokens:v8,display:x8,focus:C8,gray10:E8,dropDownMenu:B8,dropdownMenu:k8};function sh({label:e,title:t,children:u,...n}){return h.jsxs(Vv,{...n,children:[h.jsxs(Ke,{"aria-label":e||n["aria-label"],variant:"icon",children:[t,h.jsx(T7,{size:20,"aria-hidden":!0})]}),h.jsx(mr,{children:h.jsx(_v,{...n,className:oh.dropDownMenu,children:u})})]})}function dh(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return h.jsx(Hv,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>`${oh.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 P8='"../theme/tokens.css"',S8='"Inter", sans-serif',A8="#f2f2f2",w8="#8c8c8c",F8="500",T8="400",R8="_box_iol70_4",I8="_list_iol70_28",K8="_container_iol70_38",M8="_label_iol70_45",z8="_text_iol70_51",V8="_dropzone_iol70_57",N8="_input_iol70_71",ju={tokens:P8,display:S8,gray10:A8,gray90:w8,mediumWeight:F8,regularWeight:T8,box:R8,list:I8,container:K8,label:M8,text:z8,dropzone:V8,input:N8},_8=({allowsMultiple:e,label:t,description:u,dropzone:n,...a})=>{const[r,i]=ne.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:ju.container,children:[h.jsx(dx,{onDrop:s,className:ju.dropzone,children:h.jsx(tn,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),r&&h.jsx(ps,{files:r,setFiles:i})]}):h.jsxs("div",{className:ju.container,children:[h.jsx(_t,{label:t,description:u,children:h.jsx(cx,{allowsMultiple:e,onSelect:d=>l(d),...a,children:h.jsx(Ke,{variant:"secondary","aria-labelledby":"fileUpload",className:ju.input,children:e?"Välj filer":"Välj fil"})})}),r&&h.jsx(ps,{files:r,setFiles:i})]})},ps=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((a,r)=>r!==n))};return h.jsx("ul",{className:ju.list,children:e.map((n,a)=>h.jsxs("li",{className:ju.box,children:[h.jsx("span",{children:n.name}),h.jsx(Ke,{variant:"icon",size:"small",onPress:()=>u(a),children:h.jsx(lu,{size:20,"aria-hidden":!0})})]},a))})},j8='"../theme/tokens.css"',L8="(min-width: 768px)",O8="(min-width: 1200px)",H8="(min-width: 1440px)",U8="_container_148sa_4",W8="_flex_148sa_16",Z8="_fluid_148sa_54",G8="_col_148sa_60",Zu={tokens:j8,mdBreakpoint:L8,lgBreakpoint:O8,xlBreakpoint:H8,container:U8,flex:W8,fluid:Z8,col:G8,"col-1":"_col-1_148sa_64","col-2":"_col-2_148sa_65","col-3":"_col-3_148sa_66","col-4":"_col-4_148sa_67","col-5":"_col-5_148sa_68","col-6":"_col-6_148sa_69","col-7":"_col-7_148sa_70","col-8":"_col-8_148sa_71","col-9":"_col-9_148sa_72","col-10":"_col-10_148sa_73","col-11":"_col-11_148sa_74","col-12":"_col-12_148sa_75","col-auto":"_col-auto_148sa_76","offset-1":"_offset-1_148sa_130","offset-2":"_offset-2_148sa_134","offset-3":"_offset-3_148sa_138","offset-4":"_offset-4_148sa_142","offset-5":"_offset-5_148sa_146","offset-6":"_offset-6_148sa_150","offset-7":"_offset-7_148sa_154","offset-8":"_offset-8_148sa_158","offset-9":"_offset-9_148sa_162","offset-10":"_offset-10_148sa_166","offset-11":"_offset-11_148sa_170"},q8=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:H(Zu.container,t&&Zu.fluid,u.className),...u,children:h.jsx("div",{className:Zu.flex,children:e})}),ch=({children:e,col:t,offset:u,...n})=>{const a=t?`col-${t}`:"",r=u?`offset-${u}`:"";return h.jsx("div",{className:H(Zu.col,Zu[a],Zu[r],n.className),...n,children:e})},Y8='"../theme/tokens.css"',J8="(min-width: 768px)",Q8="(min-width: 1200px)",X8="(min-width: 1440px)",eE="_container_1aupx_4",tE="_grid_1aupx_16",uE="_fluid_1aupx_45",nE="_col_1aupx_52",gn={tokens:Y8,mdBreakpoint:J8,lgBreakpoint:Q8,xlBreakpoint:X8,container:eE,grid:tE,fluid:uE,col:nE,"col-1":"_col-1_1aupx_58","col-2":"_col-2_1aupx_62","col-3":"_col-3_1aupx_66","col-4":"_col-4_1aupx_70","col-5":"_col-5_1aupx_74","col-6":"_col-6_1aupx_78","col-7":"_col-7_1aupx_82","col-8":"_col-8_1aupx_86","col-9":"_col-9_1aupx_90","col-10":"_col-10_1aupx_94","col-11":"_col-11_1aupx_98","col-12":"_col-12_1aupx_102","offset-1":"_offset-1_1aupx_106","offset-2":"_offset-2_1aupx_110","offset-3":"_offset-3_1aupx_114","offset-4":"_offset-4_1aupx_118","offset-5":"_offset-5_1aupx_122","offset-6":"_offset-6_1aupx_126","offset-7":"_offset-7_1aupx_130","offset-8":"_offset-8_1aupx_134","offset-9":"_offset-9_1aupx_138","offset-10":"_offset-10_1aupx_142","offset-11":"_offset-11_1aupx_146"},aE=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:H(gn.container,t&&gn.fluid,u.className),...u,children:h.jsx("div",{className:gn.grid,children:e})}),rE=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return h.jsx("div",{className:H(gn.col,gn[n],u.className),...u,children:e})},iE='"../theme/tokens.css"',lE='"Inter", sans-serif',oE="#d5f2d9",sE="#008d3c",dE="#eaf2f6",cE="#0066cc",fE="#fff8e1",pE="#f1c21b",mE="#ffdfdf",bE="#e62323",hE="#000000",$E="600",gE="_infoBanner_1tfw7_4",DE="_success_1tfw7_13",yE="_info_1tfw7_4",vE="_important_1tfw7_23",xE="_warning_1tfw7_28",CE="_content_1tfw7_37",EE="_heading_1tfw7_43",BE="_text_1tfw7_48",kE="_icon_1tfw7_53",PE="_dismissable_1tfw7_58",fu={tokens:iE,display:lE,signalGreen10:oE,signalGreen100:sE,signalBlue10:dE,signalBlue100:cE,signalYellow10:fE,signalYellow100:pE,signalRed10:mE,signalRed100:bE,black:hE,semiBoldWeight:$E,infoBanner:gE,success:DE,info:yE,important:vE,warning:xE,content:CE,heading:EE,text:BE,icon:kE,dismissable:PE},SE={success:nh,info:ah,important:uh,warning:rh},AE=({title:e,message:t,type:u,children:n,dismissable:a=!1,...r})=>{const i=SE[u],[l,s]=ne.useState(!0);return l?h.jsxs("div",{className:H(fu.infoBanner,fu[u],r.className),...r,children:[h.jsx(i,{size:20,"aria-hidden":!0,className:fu.icon}),h.jsxs("div",{className:fu.content,children:[e&&h.jsx("strong",{className:fu.heading,children:e}),h.jsxs("div",{className:fu.text,children:[t,n]})]}),a&&h.jsx("div",{className:fu.dismissable,children:h.jsx(Ke,{variant:"icon","aria-label":"Stäng",onPress:()=>s(!1),children:h.jsx(lu,{size:20})})})]}):null},wE='"../theme/tokens.css"',FE='"Inter", sans-serif',TE="#143c50",RE="400",IE="500",KE="#f2f2f2",ME="#e6e6e6",zE="#d9d9d9",VE="#b3b3b3",NE="#a6a6a6",_E="#5d5d5d",jE="#1f1f1f",LE="(min-width: 768px)",OE="#b90835",HE="0 0 0 2px #ffffff, 0 0 0 4px #000000",UE="_baseLayout_lgv98_4",WE="_mainContent_lgv98_13",ZE="_header_lgv98_18",GE="_headerContent_lgv98_35",qE="_headerItems_lgv98_54",YE="_logo_lgv98_55",JE="_headerMenu_lgv98_68",QE="_toggleButton_lgv98_76",XE="_sidebar_lgv98_84",eB="_main_lgv98_13",tB="_app_lgv98_121",uB="_sidebarOpened_lgv98_130",nB="_sidebarHeader_lgv98_134",aB="_appName_lgv98_146",rB="_collapseButton_lgv98_153",iB="_sidebarCollapsed_lgv98_163",lB="_userName_lgv98_173",oB="_abbr_lgv98_186",sB="_userTitle_lgv98_192",dB="_title_lgv98_204",cB="_sidebarNav_lgv98_215",fB="_list_lgv98_221",pB="_listGroupTitle_lgv98_228",mB="_listItem_lgv98_235",bB="_listItemCollapsed_lgv98_239",hB="_listLink_lgv98_243",$B="_listLinkCollapsed_lgv98_288",gB="_active_lgv98_293",DB="_linkText_lgv98_298",yB="_backdrop_lgv98_305",vB="_backdropOpened_lgv98_315",xB="_skipToContent_lgv98_333",te={tokens:wE,display:FE,primaryBackground:TE,regularWeight:RE,mediumWeight:IE,gray10:KE,gray20:ME,gray30:zE,gray60:VE,gray70:NE,gray130:_E,gray150:jE,mdBreakpoint:LE,logoPrimary:OE,focus:HE,baseLayout:UE,mainContent:WE,header:ZE,headerContent:GE,headerItems:qE,logo:YE,headerMenu:JE,toggleButton:QE,sidebar:XE,main:eB,app:tB,sidebarOpened:uB,sidebarHeader:nB,appName:aB,collapseButton:rB,sidebarCollapsed:iB,userName:lB,abbr:oB,userTitle:sB,title:dB,sidebarNav:cB,list:fB,listGroupTitle:pB,listItem:mB,listItemCollapsed:bB,listLink:hB,listLinkCollapsed:$B,active:gB,linkText:DB,backdrop:yB,backdropOpened:vB,skipToContent:xB},CB='"../theme/tokens.css"',EB='"Inter", sans-serif',BB="#1f1f1f",kB="_tooltip_m1a8t_4",PB="_arrow_m1a8t_17",ms={tokens:CB,display:EB,gray150:BB,tooltip:kB,arrow:PB};function fh({children:e,placement:t,className:u,...n}){return h.jsxs(Hx,{className:H(ms.tooltip,u),placement:t,...n,children:[h.jsx(Kv,{className:ms.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 ph({children:e,delay:t=0,...u}){return h.jsx(Ox,{delay:t,...u,children:e})}const mh=ne.createContext(void 0),SB=({items:e,title:t,user:u,app:n,children:a,clientSideRouter:r,clientSideHref:i,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f})=>h.jsx(mh.Provider,{value:{items:e,title:t,user:u,app:n,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,clientSideRouter:r,clientSideHref:i},children:a}),gr=()=>{const e=ne.useContext(mh);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e},_l=({title:e,href:t,icon:u,active:n})=>{const{isCollapsed:a,setIsOpened:r}=gr(),[i,l]=ne.useState(!1);return ne.useEffect(()=>{typeof window<"u"&&l(n??window.location.pathname===t)},[n,t]),a?h.jsxs(ph,{children:[h.jsx(Ka,{href:t,"aria-label":e,className:H(te.listLink,te.listLinkCollapsed,i&&te.active),onPress:()=>r(!1),children:h.jsx(u,{size:20,"aria-label":e})}),h.jsx(fh,{placement:"right",children:e})]}):h.jsxs(Ka,{href:t,"aria-label":e,className:H(te.listLink,i&&te.active),onPress:()=>r(!1),children:[h.jsx(u,{size:20}),e]})},bh=()=>{const{items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:a,setIsOpened:r,clientSideRouter:i,clientSideHref:l}=gr(),s=({group:d})=>h.jsx("ul",{className:te.list,children:d.items.map((c,f)=>h.jsx("li",{className:H(te.listItem,n&&te.listItemCollapsed),children:h.jsx(_l,{...c})},"link_"+f))});return ne.useEffect(()=>{const d=c=>{c.key==="Escape"&&r(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[r]),h.jsxs("aside",{id:"midasMainMenu",className:H(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(Ke,{variant:"tertiary","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>a(!n),className:te.collapseButton,children:n?h.jsx(z7,{size:20}):h.jsx(M7,{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(ys,{navigate:i,useHref:l,children:h.jsx(s,{group:d})}):h.jsx(s,{group:d})]},"list_"+c))})})]})},AB='"../theme/tokens.css"',wB="#b90835",FB="#000000",TB="#5d5d5d",RB="#ffffff",IB="_container_1c334_4",KB="_noPadding_1c334_9",MB="_logo_1c334_13",zB="_primary_1c334_18",VB="_dark_1c334_22",NB="_xSmall_1c334_26",_B="_small_1c334_30",jB="_large_1c334_34",LB="_backgroundPrimary_1c334_38",OB="_backgroundDark_1c334_46",rt={tokens:AB,red100:wB,black:FB,gray130:TB,white:RB,container:IB,noPadding:KB,logo:MB,primary:zB,dark:VB,xSmall:NB,small:_B,large:jB,backgroundPrimary:LB,backgroundDark:OB},hh=({primary:e=!0,size:t="medium",background:u=!1,padding:n=!0,className:a,...r})=>{const i=H(rt.logo,e?rt.primary:rt.dark,t==="x-small"&&rt.xSmall,t==="medium"&&rt.medium,t==="large"&&rt.large,t==="small"&&rt.small),l=()=>t==="x-small"?h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:i,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:i,"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:H(rt.container,n===!1&&rt.noPadding,u?e?rt.backgroundPrimary:rt.backgroundDark:null,a),...r,children:h.jsx(l,{})})},$h=()=>{const{title:e,user:t,app:u,isOpened:n,setIsOpened:a,setIsCollapsed:r,headerChildren:i}=gr();return h.jsxs("header",{className:te.header,style:{borderTop:`solid 4px ${u.color?u.color:d$.midasColors.logoPrimary}`},children:[h.jsxs("div",{className:te.headerContent,children:[h.jsx("div",{className:te.logo,children:h.jsx(hh,{size:"small",padding:!1})}),h.jsx(Ke,{variant:"icon",className:te.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{r(!1),a(!0)},children:n?h.jsx(lu,{size:20,"aria-hidden":"true"}):h.jsx(K7,{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(sh,{label:"Öppna meny",children:ne.Children.map(i,l=>h.jsx(dh,{children:l}))})})]})]})},HB=({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(Ke,{onPress:t,className:te.skipToContent,children:"Hoppa till huvudinnehåll"})},UB=()=>{const{isOpened:e,setIsOpened:t}=gr();return e?h.jsx("div",{className:H(te.backdrop,te.backdropOpened),onClick:()=>{t(!1)},"aria-hidden":!0}):null},Yt=({items:e,title:t,user:u,app:n,children:a,headerChildren:r,clientSideRouter:i,clientSideHref:l})=>{const[s,d]=ne.useState(!1),[c,f]=ne.useState(!1);return h.jsx(Yt.Provider,{items:e,title:t,user:u,app:n,clientSideRouter:i,clientSideHref:l,headerChildren:r,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,children:h.jsxs("div",{className:te.baseLayout,children:[h.jsx(HB,{}),h.jsx(Yt.Header,{}),h.jsxs("div",{className:te.mainContent,children:[h.jsx(Yt.Sidebar,{}),h.jsx(ch,{children:h.jsx("main",{className:te.main,children:h.jsx("div",{className:te.app,children:a})})}),h.jsx(UB,{})]})]})})};Yt.Provider=SB;Yt.Header=$h;Yt.Sidebar=bh;Yt.SidebarLink=_l;const WB='"../theme/tokens.css"',ZB="#143c50",GB="#25607f",qB="#4289ad",YB='"Inter", sans-serif',JB="1rem",QB="500",XB="#ffffff",ek="#bfbfbf",tk="#f2f2f2",uk="#e6e6e6",nk="#000000",ak="undefined",rk="0 0 0 2px #ffffff, 0 0 0 4px #000000",ik="(max-width: 767px)",lk="#e62323",ok="#b31b1b",sk="#801313",dk="_linkButton_42bs5_4",ck="_secondary_42bs5_48",fk="_tertiary_42bs5_72",pk="_danger_42bs5_93",mk="_iconBtn_42bs5_115",bk="_iconLeft_42bs5_136",hk="_fullwidth_42bs5_140",$k="_button_42bs5_145",qe={tokens:WB,blue150:ZB,blue130:GB,blue90:qB,display:YB,desktopSize:JB,mediumWeight:QB,white:XB,gray50:ek,gray10:tk,gray20:uk,black:nk,medium:ak,focus:rk,smBreakpoint:ik,signalRed100:lk,signalRed130:ok,signalRed150:sk,linkButton:dk,secondary:ck,tertiary:fk,danger:pk,iconBtn:mk,iconLeft:bk,fullwidth:hk,button:$k},gk=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:a,className:r,as:i,...l})=>{const s=i||Ka,d=()=>n?h.jsx(n,{size:20,className:qe.icon}):l.target==="_blank"?h.jsx(N7,{size:20,className:qe.icon}):a==="left"?h.jsx(zl,{size:20,className:qe.icon}):h.jsx(Vl,{size:20,className:qe.icon});return h.jsxs(s,{className:H(qe.linkButton,t==="primary"&&qe.primary,t==="secondary"&&qe.secondary,t==="tertiary"&&qe.tertiary,t==="danger"&&qe.danger,t==="icon"&&qe.iconBtn,u&&qe.fullwidth,a==="left"&&qe.iconLeft,r),...l,children:[e,h.jsx(d,{})]})},Dk='"../theme/tokens.css"',yk='"Inter", sans-serif',vk="#ffffff",xk="#f2f2f2",Ck="_modal_1ak6b_4",Ek="_overlay_1ak6b_20",Bk="_modalHeader_1ak6b_30",kk="_modalBody_1ak6b_40",Pk="_modalHeading_1ak6b_46",Tn={tokens:Dk,display:yk,white:vk,gray10:xk,modal:Ck,overlay:Ek,modalHeader:Bk,modalBody:kk,modalHeading:Pk},Sk=({title:e,children:t,...u})=>{const n=ne.useRef(null),{dialogProps:a,titleProps:r}=wp(u,n);return h.jsxs("div",{...a,ref:n,className:Tn.modalBody,"aria-modal":!0,children:[e&&h.jsx("h2",{...r,className:H(Tn.modalHeading,r.className),children:e}),t]})},Ak=({state:e,children:t,...u})=>{const n=ne.useRef(null),{modalProps:a,underlayProps:r}=tD(u,e,n);return h.jsx(tf,{children:h.jsx("div",{...r,className:H(Tn.overlay,r.className),children:h.jsx("div",{...a,className:H(Tn.modal,a.className),ref:n,children:t})})})},wk=({label:e,children:t,...u})=>{const n=Su(u),{triggerProps:a,overlayProps:r}=h3({type:"dialog"},n);return h.jsxs(h.Fragment,{children:[h.jsx(Ke,{...a,children:e}),n.isOpen&&h.jsxs(Ak,{...u,state:n,children:[h.jsx("div",{className:Tn.modalHeader,children:h.jsx(Ke,{onPress:n.close,variant:"tertiary",icon:lu,iconPlacement:"right",children:"Stäng"})}),ne.cloneElement(t(n.close),r)]})]})},Fk='"../theme/tokens.css"',Tk='"Inter", sans-serif',Rk="undefined",Ik="#1f1f1f",Kk="#000000",Mk="#143c50",zk="#bfbfbf",Vk="#b3b3b3",Nk="#f2f2f2",_k="#ffdfdf",jk="#e62323",Lk="undefined",Ok="#1f1f1f",Hk="undefined",Uk="(max-width: 767px)",Wk="0 0 0 2px #ffffff, 0 0 0 4px #000000",Zk="(min-width: 768px)",Gk="#b3b3b3",qk="_radioGroup_dgfri_4",Yk="_wrap_dgfri_16",Jk="_radio_dgfri_4",Ti={tokens:Fk,display:Tk,inputLabel:Rk,inputText:Ik,black:Kk,blue150:Mk,gray50:zk,gray60:Vk,gray10:Nk,signalRed10:_k,signalRed100:jk,medium:Lk,gray150:Ok,regular:Hk,smBreakpoint:Uk,focus:Wk,mdBreakpoint:Zk,borderSecondary:Gk,radioGroup:qk,wrap:Yk,radio:Jk},Qk=({label:e,description:t,errorMessage:u,children:n,className:a,...r})=>h.jsx(mx,{...r,className:H(Ti.radioGroup,a),children:h.jsx(_t,{label:e,description:t,errorMessage:u,children:h.jsx(On,{className:Ti.wrap,children:n})})}),Xk=e=>h.jsx(bx,{className:Ti.radio,...e}),eP='"../theme/tokens.css"',tP='"Inter", sans-serif',uP="#e62323",nP="0 0 0 2px #ffffff, 0 0 0 4px #000000",aP="#f2f2f2",rP="#000000",iP="_fieldError_smrso_5",lP="_container_smrso_34",oP="_inputContainer_smrso_40",sP="_icon_smrso_47",dP="_clear_smrso_55",cP="_input_smrso_40",Iu={tokens:eP,display:tP,signalRed100:uP,focus:nP,gray10:aP,black:rP,fieldError:iP,container:lP,inputContainer:oP,icon:sP,clear:dP,input:cP};function fP(e){return!!(e!=null&&e.length)}const pP=e=>{const{value:t,setValue:u}=Qy(e),n=ne.useRef(null),{labelProps:a,inputProps:r,errorMessageProps:i,isInvalid:l,validationErrors:s,clearButtonProps:d}=ny({...e,label:e.placeholder,validationBehavior:"native"},{value:t,setValue:u},n),c=({target:b})=>u(b.value),f=()=>u(""),p=()=>{var $;if(e.validate&&fP(e.validate(t))||l||!t){($=n.current)==null||$.focus();return}e.onSubmit&&e.onSubmit(t)},m=({key:b})=>{b==="Enter"&&p()};return h.jsxs("div",{children:[l&&h.jsx("div",{...i,className:Iu.fieldError,children:e.errorMessage??s.join(" ")}),h.jsxs("div",{className:Iu.container,children:[h.jsx(Ga,{...a,hidden:!0,children:e.placeholder}),h.jsxs("div",{className:Iu.inputContainer,children:[h.jsx(V7,{size:20,className:Iu.icon}),h.jsx("input",{...r,className:H(Te.input,Iu.input,r.className),ref:n,onChange:c,value:t,"aria-invalid":l,onKeyDown:m}),t.length>0&&h.jsx(Ke,{variant:"icon",size:"small",className:Iu.clear,onPress:f,...d,children:h.jsx(lu,{size:20,"aria-hidden":!0})})]}),h.jsx(Ke,{isDisabled:e.isDisabled,excludeFromTabOrder:!0,onPress:p,type:"button",children:e.buttonText?e.buttonText:"Sök"})]})]})},mP='"../theme/tokens.css"',bP='"Inter", sans-serif',hP="400",$P="500",gP="#000000",DP="#b31b1b",yP="(max-width: 767px)",vP="#e62323",xP="#bfbfbf",CP="#143c50",EP="#25607f",BP="#f2f2f2",kP="#e6e6e6",PP="#d9d9d9",SP="#cccccc",AP="#f2f2f2",wP="_selectAllButton_6i5ly_11",FP="_selectLabel_6i5ly_18",TP="_selectLabelActive_6i5ly_23",RP="_selectLabelDisabled_6i5ly_27",IP="_button_6i5ly_31",KP="_buttonOpen_6i5ly_73",MP="_icon_6i5ly_74",zP="_buttonDisabled_6i5ly_79",VP="_buttonActive_6i5ly_85",NP="_multiSelect_6i5ly_89",_P="_multiSelectOpen_6i5ly_104",jP="_description_6i5ly_108",LP="_descriptionActive_6i5ly_115",OP="_descriptionInvalid_6i5ly_119",HP="_descriptionDisabled_6i5ly_123",UP="_popover_6i5ly_127",WP="_listBox_6i5ly_156",ZP="_listBoxItem_6i5ly_163",GP="_listBoxItemSelected_6i5ly_190",qP="_listBoxItemDisabled_6i5ly_199",YP="_listBoxItemFocused_6i5ly_209",JP="_listBoxItemFocusVisible_6i5ly_213",QP="_listBoxItemCheckmark_6i5ly_218",XP="_selectContainer_6i5ly_223",eS="_selectValueTag_6i5ly_229",tS="_selectValueTagDisabled_6i5ly_246",uS="_truncate_6i5ly_253",nS="_clearButton_6i5ly_259",aS="_selectDivider_6i5ly_280",rS="_selectSectionHeading_6i5ly_284",iS="_fieldError_6i5ly_288",lS="_checkboxContainer_6i5ly_312",J={tokens:mP,display:bP,regularWeight:hP,mediumWeight:$P,black:gP,signalRed130:DP,smBreakpoint:yP,signalRed100:vP,gray50:xP,blue150:CP,blue130:EP,gray10:BP,gray20:kP,gray30:PP,gray40:SP,backgroundSecondary:AP,selectAllButton:wP,selectLabel:FP,selectLabelActive:TP,selectLabelDisabled:RP,button:IP,buttonOpen:KP,icon:MP,buttonDisabled:zP,buttonActive:VP,multiSelect:NP,multiSelectOpen:_P,description:jP,descriptionActive:LP,descriptionInvalid:OP,descriptionDisabled:HP,popover:UP,listBox:WP,listBoxItem:ZP,listBoxItemSelected:GP,listBoxItemDisabled:qP,listBoxItemFocused:YP,listBoxItemFocusVisible:JP,listBoxItemCheckmark:QP,selectContainer:XP,selectValueTag:eS,selectValueTagDisabled:tS,truncate:uS,clearButton:nS,selectDivider:aS,selectSectionHeading:rS,fieldError:iS,checkboxContainer:lS},gh=({item:e,state:t})=>{const u=ne.useRef(null),{optionProps:n,isDisabled:a,isSelected:r,isFocused:i,isFocusVisible:l}=sf({key:e.key},t,u);return h.jsxs("li",{...n,ref:u,className:H(J.listBoxItem,{[J.listBoxItemDisabled]:a,[J.listBoxItemFocused]:i,[J.listBoxItemFocusVisible]:l,[J.listBoxItemSelected]:r}),children:[t.selectionMode==="multiple"&&h.jsx("div",{className:J.checkboxContainer,children:h.jsx("input",{type:"checkbox",disabled:a,checked:r,readOnly:!0})}),typeof e.rendered=="string"?h.jsx("span",{className:"truncate block",children:e.rendered}):e.rendered,r&&t.selectionMode==="single"?h.jsx(F7,{size:20,className:J.listBoxItemCheckmark}):h.jsx(h.Fragment,{})]})},oS=({section:e,state:t})=>{const{itemProps:u,headingProps:n,groupProps:a}=df({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",{...a,children:Array.from(e.childNodes).map(r=>h.jsx(gh,{item:r,state:t},r.key))})]})},sS=e=>{const t=ne.useRef(null),{listBoxRef:u=t,state:n}=e,{listBoxProps:a}=rf({...e,disallowEmptySelection:!0},n,u);return h.jsx("ul",{...a,className:J.listBox,ref:u,children:Array.from(n.collection).map(r=>r.type==="section"?h.jsx(oS,{section:r,state:n},r.key):h.jsx(gh,{item:r,state:n},r.key))})},dS=({isOpen:e,onClose:t,children:u,className:n,triggerRef:a})=>{const r=ne.useRef(null),{overlayProps:i}=pl({isOpen:e,onClose:t,isDismissable:!0,shouldCloseOnBlur:!0},r),{overlayProps:l,updatePosition:s}=fl({isOpen:e,offset:0,crossOffset:0,containerPadding:0,overlayRef:r,targetRef:a,placement:"bottom start"});ne.useLayoutEffect(()=>{e&&requestAnimationFrame(()=>{s()})},[e,s]);const d={...l.style,"--select-width":a.current?`${a.current.offsetWidth}px`:void 0};return h.jsx(g3,{children:h.jsx("div",{...V(i,l),ref:r,className:n,style:d,children:h.jsxs(Mn,{restoreFocus:!0,children:[h.jsx(Aa,{onDismiss:t}),u,h.jsx(Aa,{onDismiss:t})]})})})};function cS(e,t,u){const{disallowEmptySelection:n,isDisabled:a}=e,r=Qu({usage:"search",sensitivity:"base"}),i=o.useMemo(()=>new en(t.collection,t.disabledKeys,null,r),[t.collection,t.disabledKeys,r]),{menuTriggerProps:l,menuProps:s}=gl({isDisabled:a,type:"listbox"},t,u),d=g=>{const{selectedKeys:y,selectionMode:x}=t,v=y.values().next().value;if(x==="single")switch(g.key){case"ArrowLeft":{g.preventDefault();const E=y.size>0?i.getKeyAbove(v):i.getFirstKey();E&&t.setSelectedKeys([E]);break}case"ArrowRight":{g.preventDefault();const E=y.size>0?i.getKeyBelow(v):i.getFirstKey();E&&t.setSelectedKeys([E]);break}}},{typeSelectProps:c}=af({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(g){t.setSelectedKeys([g])}}),{labelProps:f,fieldProps:p}=ru({...e,labelElementType:"span"});c.onKeyDown=c.onKeyDownCapture,delete c.onKeyDownCapture;const m=O(e,{labelable:!0}),b=V(c,l,p),$=ae();return{labelProps:{...f,onClick:()=>{var g;e.isDisabled||((g=u.current)==null||g.focus(),Os("keyboard"))}},triggerProps:V(m,{...b,onKeyDown:nt(b.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,$].filter(Boolean).join(" "),onFocus(g){t.isFocused||(e.onFocus&&e.onFocus(g),t.setFocused(!0))},onBlur(g){t.isOpen||(e.onBlur&&e.onBlur(g),t.setFocused(!1))}}),valueProps:{id:$},menuProps:{...s,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:g=>{g.currentTarget.contains(g.relatedTarget)||(e.onBlur&&e.onBlur(g),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],b["aria-label"]&&!p["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function fS(e){const{collection:t,disabledKeys:u,selectionManager:n,selectionManager:{setSelectedKeys:a,selectedKeys:r,selectionMode:i}}=or(e),l=[],s=r.size!==0?Array.from(r).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:r,setSelectedKeys:a.bind(n),selectedItems:s}}function pS(e){var l;const{selectionMode:t}=e,[u,n]=o.useState(!1),a=Wb(e),r=fS({...e,onSelectionChange:s=>{const{onSelectionChange:d}=e;d!=null&&d(s==="all"?Array.from(r.collection.getKeys()):t==="single"?s.values().next().value:Array.from(s)),t==="single"&&a.close()}}),i=Dt({...e,validationBehavior:"native",value:t==="single"?(l=r.selectedKeys.values().next().value)==null?void 0:l.toString():r.selectedKeys});return o.useEffect(()=>{t==="single"&&r.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},[r.selectedKeys.size,t,i]),{...r,...a,close(){a.close(),r.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},open(){r.collection.size!==0&&a.open()},toggle(s){r.collection.size!==0&&a.toggle(s)},isFocused:u,setFocused:n,...i}}const mS='"../theme/tokens.css"',bS='"Inter", sans-serif',hS="#000000",$S="#b31b1b",gS="(max-width: 767px)",DS="#bfbfbf",yS="#d9d9d9",vS="#e6e6e6",xS="#f2f2f2",CS="#f2f2f2",ES="_button_yxs30_4",BS="_tag_yxs30_14",kS="_dismissable_yxs30_35",PS="_tagText_yxs30_43",SS="_tagList_yxs30_48",mn={tokens:mS,display:bS,black:hS,signalRed130:$S,smBreakpoint:gS,gray50:DS,gray30:yS,gray20:vS,gray10:xS,backgroundSecondary:CS,button:ES,tag:BS,dismissable:kS,tagText:PS,tagList:SS},Dh=({children:e,...t})=>h.jsx(Nx,{...t,children:h.jsx(Q5,{className:mn.tagList,children:e})}),yh=({children:e,dismissable:t,className:u,...n})=>h.jsxs(Lx,{className:H(mn.tag,t&&mn.dismissable,u),...n,children:[h.jsx("div",{className:mn.tagText,children:e}),t&&h.jsx(Ke,{variant:"icon",size:"small",className:mn.button,slot:"remove",children:h.jsx(lu,{size:20})})]});function AS(e){const t=(i,l)=>{let s;return(d,c)=>{clearTimeout(s),s=setTimeout(()=>{i(d,c)},l)}},[u,n]=o.useState(0),[a,r]=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),r(d)},500));return i.observe(e),()=>{i.disconnect()}},[e]),{width:u,height:a}}function wS({autoComplete:e,name:t,isDisabled:u,isRequired:n,selectRef:a},r,i){var s;const{visuallyHiddenProps:l}=_n();return In(a,r.selectedKeys,r.setSelectedKeys),Nn({validationBehavior:"native",focus:()=>{var d;return(d=i.current)==null?void 0:d.focus()}},r,a),{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:r.selectionMode==="single"?(s=r.selectedKeys.values().next().value)==null?void 0:s.toString():Array.from(r.selectedKeys).map(d=>d.toString()),onChange:d=>r.setSelectedKeys(d.target.value)}}}function FS(e){var d;const{state:t,triggerRef:u,label:n,name:a,isDisabled:r}=e,i=o.useRef(null),{containerProps:l,selectProps:s}=wS({...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})]})]})}):a?h.jsx("input",{type:"hidden",autoComplete:s.autoComplete,name:a,disabled:r,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 vh=ne.forwardRef(({selectionMode:e="single",...t},u)=>{var P;const n={selectionMode:e,...t},{autoFocus:a,className:r,excludeFromTabOrder:i,isClearable:l=!0,isDisabled:s,isSelectableAll:d,label:c,description:f,placeholder:p,showTags:m,errorMessage:b}=n,$=o.useRef(null),g=De(u),y=!l,x=pS({...n,disallowEmptySelection:y}),{labelProps:v,triggerProps:E,valueProps:B,menuProps:S}=cS({...n,disallowEmptySelection:y},x,g),{buttonProps:I}=sl({...E,autoFocus:a,excludeFromTabOrder:i,isDisabled:s},g),D=x.isOpen||x.selectedItems,R=x.selectionManager.isSelectAll,A=!R&&!x.selectionManager.isEmpty,k=l&&x.selectedItems,z=d,C=()=>x.selectionManager.clearSelection(),w=()=>x.selectionManager.toggleSelectAll(),N=K=>x.selectionManager.toggleSelection(K),{width:F}=AS(g.current),T=K=>h.jsxs("div",{className:H(J.selectValueTag,{[J.selectValueTagDisabled]:s}),children:[h.jsx("span",{className:J.truncate,style:{maxWidth:F-64},children:K.length>1?`${K.length} valda`:K[0].textValue}),h.jsx("button",{disabled:s,"aria-label":"Rensa alla",className:J.clearButton,onClick:()=>{var j;C(),(j=g==null?void 0:g.current)==null||j.focus()},children:h.jsx(lu,{width:20,height:20})})]});return o.useEffect(()=>{$.current&&($.current.indeterminate=A)},[A]),h.jsxs(h.Fragment,{children:[h.jsx(FS,{isDisabled:n.isDisabled,isRequired:n.isRequired,name:n.name,state:x,triggerRef:g,label:n.label+"-hidden"}),h.jsxs(kl,{...n,className:H([J.multiSelect],{[J.multiSelectOpen]:x.isOpen},r),children:[h.jsxs("div",{className:J.multiSelect,children:[c&&h.jsx(Ga,{...v,slot:"label",className:H(J.selectLabel,{[J.selectLabelActive]:D,[J.selectLabelDisabled]:s}),children:c}),f&&h.jsx("span",{className:H(J.description,{[J.descriptionDisabled]:s,[J.descriptionInvalid]:!!b}),slot:"description",children:f}),h.jsx(El,{className:J.fieldError,children:b}),x.displayValidation.validationErrors.length?h.jsx("div",{className:J.fieldError,children:b||x.displayValidation.validationErrors.map(K=>h.jsx(ne.Fragment,{children:K},K))}):null,h.jsx(ro,{focusRingClass:J.buttonFocused,autoFocus:a,children:h.jsxs("div",{className:J.selectContainer,children:[h.jsxs("button",{...I,...V,className:H(J.button,{[J.buttonOpen]:x.isOpen,[J.buttonActive]:x.selectedItems,[J.buttonDisabled]:s}),"data-invalid":x.displayValidation.validationErrors.length>0||x.displayValidation.isInvalid,"aria-invalid":x.displayValidation.validationErrors.length>0||x.displayValidation.isInvalid,type:"button",ref:g,children:[x.selectionMode==="multiple"&&!x.selectedItems?h.jsx("span",{children:p}):null,x.selectionMode!=="multiple"?h.jsx("span",{children:((P=x.selectedItems)==null?void 0:P.length)===1?x.selectedItems[0].textValue:p}):null,h.jsx("div",{className:J.icon,"aria-hidden":"true",children:h.jsx(ja,{size:20})})]}),x.selectionMode==="multiple"&&x.selectedItems?h.jsx("span",{...B,children:T(x.selectedItems)}):null]})}),x.isOpen&&h.jsxs(dS,{isOpen:x.isOpen,onClose:x.close,className:J.popover,triggerRef:g,children:[z&&h.jsxs(h.Fragment,{children:[d&&h.jsx(ro,{focusRingClass:J.listItemfocusRing,children:h.jsx("button",{type:"button",onClick:w,className:J.selectAllButton,children:h.jsxs("div",{className:J.listBoxItem,tabIndex:-1,children:[h.jsx("div",{className:J.checkboxContainer,children:h.jsx("input",{type:"checkbox",checked:R,ref:$,readOnly:!0,tabIndex:-1})}),h.jsx("span",{children:"Select All"})]})})}),h.jsx("div",{className:"selectDivider"})]}),h.jsx(sS,{...S,state:x}),k&&!1]})]}),m&&x.selectedItems!==null&&h.jsx(Dh,{"aria-label":"Selected Items",selectionBehavior:"toggle",onRemove:K=>N([...K][0]),...V,children:h.jsx(Q5,{items:x.selectedItems,children:K=>h.jsx(yh,{textValue:K.textValue,id:K.key,dismissable:!0,isDisabled:s,children:K.textValue},K.key)})})]})]})}),xh=ne.forwardRef(({options:e,...t},u)=>h.jsx(vh,{...t,items:e,ref:u,children:n=>n.children?h.jsx(iD,{items:n.children,title:n.name,children:a=>h.jsx(Ho,{textValue:a.textValue,children:a.name})},n.name):h.jsx(Ho,{textValue:n.textValue,children:n.name})}));xh.displayName="Select";const TS="_skeleton_1ddo2_11",RS="_circle_1ddo2_21",IS="_wave_1ddo2_26",qr={skeleton:TS,circle:RS,wave:IS},KS=({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:H(qr.skeleton,qr[e],n&&qr[n]),style:{width:t,height:u}})),MS='"../theme/tokens.css"',zS="#b90835",VS="#143c50",NS="_container_13uof_4",_S="_spinner_13uof_8",jS="_rotating_13uof_1",LS="_dark_13uof_18",OS="_vsHidden_13uof_22",ia={tokens:MS,red100:zS,blue150:VS,container:NS,spinner:_S,rotating:jS,dark:LS,vsHidden:OS},HS=({small:e,dark:t})=>h.jsxs("div",{className:ia.container,role:"status",children:[h.jsx(I7,{className:H(ia.spinner,t&&ia.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),h.jsx("span",{className:ia.vsHidden,children:"Laddar, vänligen vänta."})]}),US='"../theme/tokens.css"',WS='"Inter", sans-serif',ZS="#f2f2f2",GS="#d9d9d9",qS="#cccccc",YS="#b3b3b3",JS="500",QS="_cell_yd56b_4",XS="_table_yd56b_10",eA="_narrow_yd56b_14",tA="_striped_yd56b_29",uA="_row_yd56b_29",nA="_tableHeader_yd56b_48",aA="_column_yd56b_52",Du={tokens:US,display:WS,gray10:ZS,gray30:GS,gray40:qS,gray60:YS,mediumWeight:JS,cell:QS,table:XS,narrow:eA,striped:tA,row:uA,tableHeader:nA,column:aA},rA=({narrow:e,striped:t,className:u,...n})=>{const a=H(Du.table,e&&Du.narrow,t&&Du.striped,u);return h.jsx(Dx,{className:a,...n})},iA=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:a}=Y5();return h.jsxs(vx,{className:Du.tableHeader,children:[a&&h.jsx(Ri,{}),u==="toggle"&&h.jsx(Ri,{width:50,children:n==="multiple"&&h.jsx($r,{slot:"selection"})}),h.jsx(gt,{items:e,children:t})]})},lA=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:a,allowsDragging:r}=Y5();return h.jsxs(kx,{id:e,className:H(Du.row),...n,children:[r&&h.jsx(Ii,{children:h.jsx(Ft,{slot:"drag",children:h.jsx(R7,{size:20})})}),a==="toggle"&&h.jsx(Ii,{children:h.jsx($r,{slot:"selection"})}),h.jsx(gt,{items:t,children:u})]})},Ri=({children:e,...t})=>h.jsx(Cx,{className:Du.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(w7,{size:20}):h.jsx(S7,{size:20})})]})}),Ii=({...e})=>h.jsx(Px,{className:Du.cell,...e}),oA='"../theme/tokens.css"',sA='"Inter", sans-serif',dA="#bfbfbf",cA="600",fA="#25607f",pA="0 0 0 2px #ffffff, 0 0 0 4px #000000",mA="(max-width: 767px)",bA="_container_a0kqi_4",hA="_list_a0kqi_8",$A="_listItem_a0kqi_14",gA="_panel_a0kqi_42",la={tokens:oA,display:sA,gray50:dA,semiBoldWeight:cA,blue130:fA,focus:pA,smBreakpoint:mA,container:bA,list:hA,listItem:$A,panel:gA},DA=({tabs:e,label:t,defaultSelected:u,children:n})=>{const a=ne.Children.toArray(n);if(a.length!==e.length)throw new Error(`The number of children must match the number of tabs. Children: ${a.length} Tabs: ${e.length}`);const r=a.reduce((i,l,s)=>{var d;if(ne.isValidElement(l)){const c=(d=e[s])==null?void 0:d.toLowerCase();c&&(i[c]=ne.cloneElement(l,{id:c}))}return i},{});return h.jsxs(Tx,{orientation:"vertical",defaultSelectedKey:u&&u.toLowerCase(),className:la.container,children:[h.jsx(Ix,{"aria-label":t,className:la.list,children:e.map(i=>h.jsx(Mx,{id:i.toLowerCase(),className:la.listItem,children:i},i))}),e.map(i=>h.jsx(zx,{id:i.toLowerCase(),className:la.panel,children:r[i.toLowerCase()]},i))]})},yA='"../theme/tokens.css"',vA='"Inter", sans-serif',xA="#ffdfdf",CA="(max-width: 767px)",EA="#f2f2f2",BA="#e6e6e6",kA="#bfbfbf",PA="#000000",SA="#e62323",AA="#2e7ca5",wA="500",FA="400",TA="#1f1f1f",RA="0 0 0 2px #ffffff, 0 0 0 4px #000000",IA="_textArea_r27ql_4",KA="_count_r27ql_45",MA="_countExceeded_r27ql_53",oa={tokens:yA,display:vA,signalRed10:xA,smBreakpoint:CA,gray10:EA,gray20:BA,gray50:kA,black:PA,signalRed100:SA,blue100:AA,mediumWeight:wA,regularWeight:FA,inputText:TA,focus:RA,textArea:IA,count:KA,countExceeded:MA},zA=({label:e,description:t,rows:u,maxLength:n,minLength:a,errorMessage:r,showCounter:i,validate:l,className:s,...d})=>{const[c,f]=ne.useState(d.defaultValue??d.value??""),p=$=>{const g=$.target.value;f(g)},m=()=>n?h.jsxs("span",{className:H(oa.count,c.length>n&&oa.countExceeded),children:[c.length," / ",n]}):i?h.jsx("span",{className:oa.count,children:c.length}):null,b=$=>{const g=n&&$.length>n?`Du har angett ${$.length-n} tecken för mycket. Fältet är begränsat till ${n} tecken.`:null,y=a&&$.length<a?`Du har angett ${Math.abs($.length-a)} tecken för lite. Fältet kräver åtminstone ${a} tecken.`:null,x=l?l($):null;return g||y||x||!0};return h.jsx(kl,{className:H(Te.inputField,s),validate:b,...d,children:h.jsxs(_t,{label:e,description:t,errorMessage:r,children:[h.jsx(m,{}),h.jsx(fv,{className:oa.textArea,rows:u,onFocus:p,onChange:p})]})})};var Ch={};Ch={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var Eh={};Eh={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var Bh={};Bh={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 kh={};kh={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var Ph={};Ph={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var Sh={};Sh={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var Ah={};Ah={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var wh={};wh={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var Fh={};Fh={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var Th={};Th={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var Rh={};Rh={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var Ih={};Ih={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var Kh={};Kh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var Mh={};Mh={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 zh={};zh={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var Vh={};Vh={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var Nh={};Nh={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var _h={};_h={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 jh={};jh={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 Lh={};Lh={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var Oh={};Oh={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var Hh={};Hh={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 Wh={};Wh={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Zh={};Zh={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var Gh={};Gh={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var qh={};qh={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 Yh={};Yh={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 Jh={};Jh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var Qh={};Qh={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var Xh={};Xh={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var e$={};e$={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var t$={};t$={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var u$={};u$={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var jl={};jl={"ar-AE":Ch,"bg-BG":Eh,"cs-CZ":Bh,"da-DK":kh,"de-DE":Ph,"el-GR":Sh,"en-US":Ah,"es-ES":wh,"et-EE":Fh,"fi-FI":Th,"fr-FR":Rh,"he-IL":Ih,"hr-HR":Kh,"hu-HU":Mh,"it-IT":zh,"ja-JP":Vh,"ko-KR":Nh,"lt-LT":_h,"lv-LV":jh,"nb-NO":Lh,"nl-NL":Oh,"pl-PL":Hh,"pt-BR":Uh,"pt-PT":Wh,"ro-RO":Zh,"ru-RU":Gh,"sk-SK":qh,"sl-SI":Yh,"sr-SP":Jh,"sv-SE":Qh,"tr-TR":Xh,"uk-UA":e$,"zh-CN":t$,"zh-TW":u$};function VA(e){return e&&e.__esModule?e.default:e}function NA(e,t,u){let{key:n,timer:a,timeout:r,animation:i}=e.toast;o.useEffect(()=>{if(!(a==null||r==null))return a.reset(r),()=>{a.pause()}},[a,r]);let[l,s]=o.useState(!1);o.useEffect(()=>{(i==="entering"||i==="queued")&&s(!0)},[i]);let d=ae(),c=ut(),f=$e(VA(jl),"@react-aria/toast");return{toastProps:{role:"alertdialog","aria-modal":"false","aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]||d,"aria-describedby":e["aria-describedby"]||c,"aria-details":e["aria-details"],"aria-hidden":i==="exiting"?"true":void 0,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true",style:{visibility:l||i===null?"visible":"hidden"}},titleProps:{id:d},descriptionProps:{id:c},closeButtonProps:{"aria-label":f.format("close"),onPress:()=>t.close(n)}}}const n$=1,Yr=Symbol.for("react-aria-landmark-manager");function _A(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[Yr];return e&&e.version>=n$?e:(document[Yr]=new LA,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[Yr])}function jA(){return Oi.useSyncExternalStore(_A,bs,bs)}class LA{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,a;(a=this.landmarks.find(r=>r.ref.current===t))===null||a===void 0||(n=a.focus)===null||n===void 0||n.call(a,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(a=>a.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(a=>a.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 a=Math.floor((u+n)/2),r=t.ref.current.compareDocumentPosition(this.landmarks[a].ref.current);!!(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)?u=a+1:n=a-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(a=>!a.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(a=>a.ref.current));else{let a=[...u].map(i=>i.label);a.filter((i,l)=>a.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(a=>[a.ref.current,a])),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 a=this.closestLandmark(t),r=u?this.landmarks.length-1:0;a&&(r=this.landmarks.indexOf(a)+(u?-1:1));let i=()=>{if(r<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;r=this.landmarks.length-1}else if(r>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;r=0}return r<0||r>=this.landmarks.length};if(i())return;let l=r;for(;!((n=this.landmarks[r].ref.current)===null||n===void 0)&&n.closest("[aria-hidden=true]");){if(r+=u?-1:1,i())return;if(r===l)break}return this.landmarks[r]}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 a=n.lastFocused;if(document.body.contains(a))return a.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 a=this.closestLandmark(n);a&&a.ref.current===n&&a.blur()}}focusoutHandler(t){let u=t.target,n=t.relatedTarget;if(!n||n===document){let a=this.closestLandmark(u);a&&a.ref.current===u&&a.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(u,n){let a=(n==null?void 0:n.from)||document.activeElement;return t.navigate(a,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=n$,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function OA(e,t){const{role:u,"aria-label":n,"aria-labelledby":a,focus:r}=e;let i=jA(),l=n||a,[s,d]=o.useState(!1),c=o.useCallback(()=>{d(!0)},[d]),f=o.useCallback(()=>{d(!1)},[d]);return q(()=>{if(i)return i.registerLandmark({ref:t,label:l,role:u,focus:r||c,blur:f})},[i,l,t,u,r,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":a}}}function HA(e){return e&&e.__esModule?e.default:e}function UA(e,t,u){let n=$e(HA(jl),"@react-aria/toast"),{landmarkProps:a}=OA({role:"region","aria-label":e["aria-label"]||n.format("notifications",{count:t.visibleToasts.length})},u),{hoverProps:r}=ye({onHoverStart:t.pauseAll,onHoverEnd:t.resumeAll}),i=o.useRef([]),l=o.useRef(t.visibleToasts),s=o.useRef(null);q(()=>{if(s.current===-1||t.visibleToasts.length===0||!u.current){i.current=[],l.current=t.visibleToasts;return}if(i.current=[...u.current.querySelectorAll('[role="alertdialog"]')],l.current.length===t.visibleToasts.length&&t.visibleToasts.every((m,b)=>m.key===l.current[b].key)){l.current=t.visibleToasts;return}let f=l.current.map((m,b)=>({...m,i:b,isRemoved:!t.visibleToasts.some($=>m.key===$.key)})),p=f.findIndex(m=>m.i===s.current);if(p>-1){let m=0,b,$;for(;m<=p;)f[m].isRemoved||($=Math.max(0,m-1)),m++;for(;m<f.length;){if(!f[m].isRemoved){b=m-1;break}m++}$===void 0&&b===void 0&&($=0),$>=0&&$<i.current.length?Le(i.current[$]):b>=0&&b<i.current.length&&Le(i.current[b])}l.current=t.visibleToasts},[t.visibleToasts,u]);let d=o.useRef(null),{focusWithinProps:c}=ot({onFocusWithin:f=>{t.pauseAll(),d.current=f.relatedTarget},onBlurWithin:()=>{t.resumeAll(),d.current=null}});return o.useEffect(()=>{t.visibleToasts.length===0&&d.current&&document.body.contains(d.current)&&(Xt()==="pointer"?Le(d.current):d.current.focus(),d.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{d.current&&document.body.contains(d.current)&&(Xt()==="pointer"?Le(d.current):d.current.focus(),d.current=null)},[u]),{regionProps:V(a,r,c,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:f=>{let p=f.target.closest('[role="alertdialog"]');s.current=i.current.findIndex(m=>m===p)},onBlur:()=>{s.current=-1}})}}function WA(e={}){let{maxVisibleToasts:t=1,hasExitAnimation:u=!1}=e,n=o.useMemo(()=>new r$({maxVisibleToasts:t,hasExitAnimation:u}),[t,u]);return a$(n)}function a$(e){let t=o.useCallback(a=>e.subscribe(a),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:Oi.useSyncExternalStore(t,u,u),add:(a,r)=>e.add(a,r),close:a=>e.close(a),remove:a=>e.remove(a),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class r${subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,u={}){let n=Math.random().toString(36),a={...u,content:t,key:n,timer:u.timeout?new ZA(()=>this.close(n),u.timeout):void 0},r=0,i=this.queue.length;for(;r<i;){let s=Math.floor((r+i)/2);(a.priority||0)>(this.queue[s].priority||0)?i=s:r=s+1}this.queue.splice(r,0,a),a.animation=r<this.maxVisibleToasts?"entering":"queued";let l=this.maxVisibleToasts;for(;l<this.queue.length;)this.queue[l++].animation="queued";return this.updateVisibleToasts({action:"add"}),n}close(t){let u=this.queue.findIndex(r=>r.key===t);if(u>=0){var n,a;(n=(a=this.queue[u]).onClose)===null||n===void 0||n.call(a),this.queue.splice(u,1)}this.updateVisibleToasts({action:"close",key:t})}remove(t){this.updateVisibleToasts({action:"remove",key:t})}updateVisibleToasts(t){let{action:u,key:n}=t,a=this.queue.slice(0,this.maxVisibleToasts);if(u==="add"&&this.hasExitAnimation){let r=this.visibleToasts.filter(i=>!a.some(l=>i.key===l.key)).map(i=>({...i,animation:"exiting"}));this.visibleToasts=r.concat(a).sort((i,l)=>{var s,d;return((s=l.priority)!==null&&s!==void 0?s:0)-((d=i.priority)!==null&&d!==void 0?d:0)})}else u==="close"&&this.hasExitAnimation?this.visibleToasts=this.visibleToasts.map(r=>r.key!==n?r:{...r,animation:"exiting"}):this.visibleToasts=a;for(let r of this.subscriptions)r()}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;var n;this.hasExitAnimation=(n=t==null?void 0:t.hasExitAnimation)!==null&&n!==void 0?n:!1}}class ZA{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 GA='"../theme/tokens.css"',qA='"Inter", sans-serif',YA="#d5f2d9",JA="#008d3c",QA="#eaf2f6",XA="#0066cc",ew="#fff8e1",tw="#f1c21b",uw="#ffdfdf",nw="#e62323",aw="#1f1f1f",rw="0 0 0 2px #ffffff, 0 0 0 4px #000000",iw="(min-width: 768px)",lw="_toastRegion_i4o11_52",ow="_toast_i4o11_52",sw="_success_i4o11_96",dw="_info_i4o11_104",cw="_important_i4o11_112",fw="_warning_i4o11_120",pw="_icon_i4o11_128",mw="_toastContent_i4o11_138",bw="_toastMessage_i4o11_145",hw="_slideInTop_i4o11_1",$w="_slideInEnd_i4o11_1",gw="_slideOutTop_i4o11_1",Dw="_slideOutEnd_i4o11_1",zu={tokens:GA,display:qA,signalGreen10:YA,signalGreen100:JA,signalBlue10:QA,signalBlue100:XA,signalYellow10:ew,signalYellow100:tw,signalRed10:uw,signalRed100:nw,gray150:aw,focus:rw,mdBreakpoint:iw,toastRegion:lw,toast:ow,success:sw,info:dw,important:cw,warning:fw,icon:pw,toastContent:mw,toastMessage:bw,slideInTop:hw,slideInEnd:$w,slideOutTop:gw,slideOutEnd:Dw},yw={success:nh,info:ah,important:uh,warning:rh},i$=new r$({maxVisibleToasts:5,hasExitAnimation:!0}),vw=e=>{const t=a$(i$);return t.visibleToasts.length>0?uu.createPortal(h.jsx(Ll,{...e,state:t}),document.body):null},xw=({children:e,...t})=>{const u=WA({maxVisibleToasts:5,hasExitAnimation:!0});return h.jsxs(h.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&h.jsx(Ll,{...t,state:u})]})};function Ll({state:e,...t}){const u=o.useRef(null),{regionProps:n}=UA(t,e,u);return h.jsx("div",{...n,ref:u,className:zu.toastRegion,children:e.visibleToasts.map(a=>h.jsx(l$,{toast:a,state:e},a.key))})}function l$({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:a,titleProps:r,closeButtonProps:i}=NA(t,e),l=yw[t.toast.content.type];return h.jsxs("div",{...n,ref:u,className:H(zu.toast,zu[t.toast.content.type]),"data-animation":t.toast.animation,onAnimationEnd:()=>{t.toast.animation==="exiting"&&e.remove(t.toast.key)},children:[h.jsxs("div",{className:zu.toastContent,...a,children:[h.jsx(l,{className:zu.icon,size:20,"aria-hidden":!0}),h.jsxs("div",{children:[h.jsx("p",{className:zu.toastMessage,...r,children:t.toast.content.message}),t.toast.content.children]})]}),h.jsx(Ke,{variant:"icon",...i,children:h.jsx(lu,{size:20,"aria-hidden":!0})})]})}const Cw='"../theme/tokens.css"',Ew='"Inter", sans-serif',Bw="#e62323",kw="#f2f2f2",Pw="#e6e6e6",Sw="#bfbfbf",Aw="#b3b3b3",ww="500",Fw="0 0 0 2px #ffffff, 0 0 0 4px #000000",Tw="400",Rw="_dateField_qgwlg_4",Iw="_isDisabled_qgwlg_12",Kw="_inputField_qgwlg_15",Mw="_segment_qgwlg_40",zw="_label_qgwlg_57",Vw="_description_qgwlg_61",Nw="_fieldError_qgwlg_66",pu={tokens:Cw,display:Ew,signalRed100:Bw,gray10:kw,gray20:Pw,gray50:Sw,gray60:Aw,mediumWeight:ww,focus:Fw,regularWeight:Tw,dateField:Rw,isDisabled:Iw,inputField:Kw,segment:Mw,label:zw,description:Vw,fieldError:Nw};function _w({label:e,description:t,errorMessage:u,className:n,...a}){return h.jsxs(qv,{...a,className:H(pu.dateField,a.isDisabled&&pu.isDisabled,n),children:[h.jsx(Ga,{className:pu.label,children:e}),t&&h.jsx(tn,{slot:"description",className:pu.description,children:t}),h.jsx(El,{className:pu.fieldError,children:u}),h.jsx(Na,{className:pu.inputField,children:r=>h.jsx(_a,{segment:r,className:pu.segment})})]})}exports.Accordion=Wx;exports.AccordionItem=_7;exports.Breadcrumbs=lC;exports.Button=Ke;exports.ButtonGroup=E7;exports.Calendar=lh;exports.Card=EC;exports.Cell=Ii;exports.Checkbox=$r;exports.CheckboxGroup=v9;exports.Column=Ri;exports.ComboBox=j9;exports.ComboBoxItem=L9;exports.DateField=_w;exports.DatePicker=y8;exports.DateRangePicker=D8;exports.Dialog=Sk;exports.Dropdown=sh;exports.DropdownItem=dh;exports.FileUpload=_8;exports.Flex=q8;exports.FlexItem=ch;exports.GlobalToastRegion=vw;exports.Grid=aE;exports.GridItem=rE;exports.Header=$h;exports.InfoBanner=AE;exports.InputWrapper=_t;exports.Layout=Yt;exports.Link=Nl;exports.LinkButton=gk;exports.Logo=hh;exports.ModalTrigger=wk;exports.Radio=Xk;exports.RadioGroup=Qk;exports.RouterProvider=ys;exports.Row=lA;exports.SearchField=pP;exports.Select=xh;exports.SelectComponent=vh;exports.Sidebar=bh;exports.SidebarLink=_l;exports.Skeleton=KS;exports.Spinner=HS;exports.Table=rA;exports.TableBody=Bx;exports.TableHeader=iA;exports.Tabs=DA;exports.Tag=yh;exports.TagGroup=Dh;exports.TextArea=zA;exports.TextField=g9;exports.Toast=l$;exports.ToastProvider=xw;exports.ToastRegion=Ll;exports.Tooltip=fh;exports.TooltipTrigger=ph;exports.ssnRegEx=ih;exports.toastQueue=i$;
|