@midas-ds/components 4.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +543 -183
- package/accordion/Accordion.d.ts +1 -0
- package/calendar/RangeCalendar.d.ts +6 -0
- package/calendar/index.d.ts +1 -0
- package/card/Card.d.ts +1 -0
- package/date-field/index.d.ts +1 -1
- package/global.css +1 -1
- package/heading/Heading.d.ts +14 -0
- package/heading/index.d.ts +1 -0
- package/index.cjs +29 -29
- package/index.css +1 -1
- package/index.d.ts +4 -0
- package/index.js +24667 -23922
- package/label/Label.d.ts +10 -0
- package/label/index.d.ts +1 -0
- package/logo/Logo.d.ts +0 -2
- package/package.json +4 -5
- package/progress-bar/ProgressBar.d.ts +19 -0
- package/progress-bar/index.d.ts +1 -0
- package/select/SelectPopover.d.ts +1 -1
- package/text/Text.d.ts +14 -0
- package/text/index.d.ts +1 -0
- package/textfield/TextField.d.ts +1 -0
- package/theme/index.d.ts +163 -102
- package/theme/tokens.d.ts +163 -102
- package/theme.cjs +1 -1
- package/theme.js +11 -18
- package/toast/Toast.d.ts +7 -2
- package/tokens-Ce2Sj8HD.js +240 -0
- package/tokens-DZsQgihc.cjs +1 -0
- package/tokens-BskyMDHv.cjs +0 -1
- package/tokens-CjXmpXTi.js +0 -160
package/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const h=require("react/jsx-runtime"),o=require("react"),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={};/**
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const h=require("react/jsx-runtime"),o=require("react"),Lt=require("react-dom"),z2=require("./tokens-DZsQgihc.cjs");function N2(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const u in e)if(u!=="default"){const n=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(t,u,n.get?n:{enumerable:!0,get:()=>e[u]})}}return t.default=e,Object.freeze(t)}const ce=N2(o),V2='"../theme/tokens.css"',_2="_root_78trp_4",j2="_contained_78trp_12",L2="_triggerText_78trp_29",O2="_trigger_78trp_29",H2="_icon_78trp_54",U2="_item_78trp_82",W2="_panel_78trp_87",Z2="_panel0_78trp_87",G2="_content_78trp_97",q2="_header_78trp_101",tt={tokens:V2,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--layer-selected-01":"light-dark(#d9d9d9, #383838)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--normal-transition":"300ms","--text-primary":"light-dark(#171717, #f2f2f2)",root:_2,contained:j2,triggerText:L2,trigger:O2,icon:H2,item:U2,panel:W2,panel0:Z2,content:G2,header:q2};function Ls(e){var t,u,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(u=Ls(e[t]))&&(n&&(n+=" "),n+=u)}else for(u in e)e[u]&&(n&&(n+=" "),n+=u);return n}function W(){for(var e,t,u=0,n="",r=arguments.length;u<r;u++)(e=arguments[u])&&(t=Ls(e))&&(n&&(n+=" "),n+=t);return n}const Ji=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const aa=o.createContext({}),Y=typeof document<"u"?o.useLayoutEffect:()=>{};function ie(e){const t=o.useRef(null);return Y(()=>{t.current=e},[e]),o.useCallback((...u)=>{const n=t.current;return n==null?void 0:n(...u)},[])}function Y2(e){let[t,u]=o.useState(e),n=o.useRef(null),r=ie(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?r():u(i.value)});Y(()=>{n.current&&r()});let a=ie(i=>{n.current=i(t),r()});return[t,a]}const Ar={prefix:String(Math.round(Math.random()*1e10)),current:0},Os=o.createContext(Ar),J2=o.createContext(!1);let Q2=!!(typeof window<"u"&&window.document&&window.document.createElement),Ia=new WeakMap;function X2(e=!1){let t=o.useContext(Os),u=o.useRef(null);if(u.current===null&&!e){var n,r;let a=(r=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||r===void 0||(n=r.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let i=Ia.get(a);i==null?Ia.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ia.delete(a))}u.current=++t.current}return u.current}function e$(e){let t=o.useContext(Os);t===Ar&&!Q2&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let u=X2(!!e),n=t===Ar&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function t$(e){let t=o.useId(),[u]=o.useState(au()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Ar.prefix}`;return e||`${n}-${t}`}const u$=typeof o.useId=="function"?t$:e$;function n$(){return!1}function r$(){return!0}function a$(e){return()=>{}}function au(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(a$,n$,r$):o.useContext(J2)}let i$=!!(typeof window<"u"&&window.document&&window.document.createElement),Hu=new Map,$n;typeof FinalizationRegistry<"u"&&($n=new FinalizationRegistry(e=>{Hu.delete(e)}));function oe(e){let[t,u]=o.useState(e),n=o.useRef(null),r=u$(t),a=o.useRef(null);if($n&&$n.register(a,r),i$){const i=Hu.get(r);i&&!i.includes(n)?i.push(n):Hu.set(r,[n])}return Y(()=>{let i=r;return()=>{$n&&$n.unregister(a),Hu.delete(i)}},[r]),o.useEffect(()=>{let i=n.current;return i&&u(i),()=>{i&&(n.current=null)}}),r}function l$(e,t){if(e===t)return e;let u=Hu.get(e);if(u)return u.forEach(r=>r.current=t),t;let n=Hu.get(t);return n?(n.forEach(r=>r.current=e),e):t}function it(e=[]){let t=oe(),[u,n]=Y2(t),r=o.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Y(r,[t,r,...e]),u}function lt(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const le=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Ye=e=>e&&"window"in e&&e.window===e?e:le(e).defaultView||window;function o$(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function s$(e){return o$(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let d$=!1,c$=!1;function wr(){return d$}function ia(){return c$}function $e(e,t){if(!ia())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let u=t;for(;u!==null;){if(u===e)return!0;u.tagName==="SLOT"&&u.assignedSlot?u=u.assignedSlot.parentNode:s$(u)?u=u.host:u=u.parentNode}return!1}const Ke=(e=document)=>{var t;if(!ia())return e.activeElement;let u=e.activeElement;for(;u&&"shadowRoot"in u&&(!((t=u.shadowRoot)===null||t===void 0)&&t.activeElement);)u=u.shadowRoot.activeElement;return u};function de(e){return ia()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}class f${get currentNode(){return this._currentNode}set currentNode(t){if(!$e(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const u=[];let n=t,r=t;for(this._currentNode=t;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const i=n,l=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});u.push(l),l.currentNode=r,this._currentSetFor.add(l),n=r=i.host}else n=n.parentNode;const a=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});u.push(a),a.currentNode=r,this._currentSetFor.add(a),this._walkerStack=u}get doc(){return this._doc}firstChild(){let t=this.currentNode,u=this.nextNode();return $e(t,u)?(u&&(this.currentNode=u),u):(this.currentNode=t,null)}lastChild(){let u=this._walkerStack[0].lastChild();return u&&(this.currentNode=u),u}nextNode(){const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){var u;let r;if(typeof this.filter=="function"?r=this.filter(t):!((u=this.filter)===null||u===void 0)&&u.acceptNode&&(r=this.filter.acceptNode(t)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let a=this.nextNode();return a&&(this.currentNode=a),a}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null;return null}const u=t.previousNode();if(u){if(u.shadowRoot){var n;let a;if(typeof this.filter=="function"?a=this.filter(u):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(a=this.filter.acceptNode(u)),a===NodeFilter.FILTER_ACCEPT)return u&&(this.currentNode=u),u;let i=this.lastChild();return i&&(this.currentNode=i),i}return u&&(this.currentNode=u),u}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(t,u,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){const s=i.shadowRoot;if(s){const d=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(d),NodeFilter.FILTER_ACCEPT}else{var l;if(typeof this.filter=="function")return this.filter(i);if(!((l=this.filter)===null||l===void 0)&&l.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=u,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=u,this._walkerStack.unshift(t.createTreeWalker(u,n,this._acceptNode));const a=u.shadowRoot;if(a){const i=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}}function p$(e,t,u,n){return ia()?new f$(e,t,u,n):e.createTreeWalker(t,u,n)}function _(...e){let t={...e[0]};for(let u=1;u<e.length;u++){let n=e[u];for(let r in n){let a=t[r],i=n[r];typeof a=="function"&&typeof i=="function"&&r[0]==="o"&&r[1]==="n"&&r.charCodeAt(2)>=65&&r.charCodeAt(2)<=90?t[r]=lt(a,i):(r==="className"||r==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[r]=W(a,i):r==="id"&&a&&i?t.id=l$(a,i):t[r]=i!==void 0?i:a}}return t}function ku(...e){return e.length===1&&e[0]?e[0]:t=>{for(let u of e)typeof u=="function"?u(t):u!=null&&(u.current=t)}}const m$=new Set(["id"]),b$=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),h$=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),$$=/^(data-.*)$/;function U(e,t={}){let{labelable:u,isLink:n,propNames:r}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(m$.has(i)||u&&b$.has(i)||n&&h$.has(i)||r!=null&&r.has(i)||$$.test(i))&&(a[i]=e[i]);return a}function _e(e){if(g$())e.focus({preventScroll:!0});else{let t=D$(e);e.focus(),v$(t)}}let lr=null;function g$(){if(lr==null){lr=!1;try{document.createElement("div").focus({get preventScroll(){return lr=!0,!0}})}catch{}}return lr}function D$(e){let t=e.parentNode,u=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&u.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&u.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),u}function v$(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function la(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(u=>e.test(u.brand)))||e.test(window.navigator.userAgent)}function Qi(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Ot(e){let t=null;return()=>(t==null&&(t=e()),t)}const gt=Ot(function(){return Qi(/^Mac/i)}),y$=Ot(function(){return Qi(/^iPhone/i)}),Xi=Ot(function(){return Qi(/^iPad/i)||gt()&&navigator.maxTouchPoints>1}),On=Ot(function(){return y$()||Xi()}),xr=Ot(function(){return gt()||On()}),el=Ot(function(){return la(/AppleWebKit/i)&&!Hs()}),Hs=Ot(function(){return la(/Chrome/i)}),Pn=Ot(function(){return la(/Android/i)}),x$=Ot(function(){return la(/Firefox/i)}),Us=o.createContext({isNative:!0,open:C$,useHref:e=>e});function Ws(e){let{children:t,navigate:u,useHref:n}=e,r=o.useMemo(()=>({isNative:!1,open:(a,i,l,s)=>{Gs(a,d=>{Zs(d,i)?u(l,s):tu(d,i)})},useHref:n||(a=>a)}),[u,n]);return o.createElement(Us.Provider,{value:r},t)}function Pu(){return o.useContext(Us)}function Zs(e,t){let u=e.getAttribute("target");return(!u||u==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function tu(e,t,u=!0){var n,r;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;x$()&&(!((r=window.event)===null||r===void 0||(n=r.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(gt()?a=!0:i=!0);let d=el()&>()&&!Xi()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});tu.isOpening=u,_e(e),e.dispatchEvent(d),tu.isOpening=!1}tu.isOpening=!1;function Gs(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let u=document.createElement("a");u.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(u.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(u.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(u.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(u.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(u.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(u),t(u),e.removeChild(u)}}function C$(e,t){Gs(e,u=>tu(u,t))}function tl(e){let t=Pu();var u;const n=t.useHref((u=e.href)!==null&&u!==void 0?u:"");return{"data-href":e.href?n:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function oa(e){let t=Pu();var u;const n=t.useHref((u=e==null?void 0:e.href)!==null&&u!==void 0?u:"");return{href:e!=null&&e.href?n:void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let zu=new Map,di=new Set;function io(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let r=zu.get(n.target);r||(r=new Set,zu.set(n.target,r),n.target.addEventListener("transitioncancel",u,{once:!0})),r.add(n.propertyName)},u=n=>{if(!e(n)||!n.target)return;let r=zu.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",u),zu.delete(n.target)),zu.size===0)){for(let a of di)a();di.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?io():document.addEventListener("DOMContentLoaded",io));function qs(e){requestAnimationFrame(()=>{zu.size===0?e():di.add(e)})}function Hn(){let e=o.useRef(new Map),t=o.useCallback((r,a,i,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:r,fn:s,options:l}),r.addEventListener(a,s,l)},[]),u=o.useCallback((r,a,i,l)=>{var s;let d=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;r.removeEventListener(a,d,l),e.current.delete(i)},[]),n=o.useCallback(()=>{e.current.forEach((r,a)=>{u(r.eventTarget,r.type,a,r.options)})},[u]);return o.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:u,removeAllGlobalListeners:n}}function Dt(e,t){let{id:u,"aria-label":n,"aria-labelledby":r}=e;return u=oe(u),r&&n?r=[...new Set([u,...r.trim().split(/\s+/)])].join(" "):r&&(r=r.trim().split(/\s+/).join(" ")),!n&&!r&&t&&(n=t),{id:u,"aria-label":n,"aria-labelledby":r}}function xe(e){const t=o.useRef(null);return o.useMemo(()=>({get current(){return t.current},set current(u){t.current=u,typeof e=="function"?e(u):e&&(e.current=u)}}),[e])}function Sn(e,t){const u=o.useRef(!0),n=o.useRef(null);o.useEffect(()=>(u.current=!0,()=>{u.current=!1}),[]),o.useEffect(()=>{let r=n.current;u.current?u.current=!1:(!r||t.some((a,i)=>!Object.is(a,r[i])))&&e(),n.current=t},t)}function lo(e,t){const u=o.useRef(!0),n=o.useRef(null);Y(()=>(u.current=!0,()=>{u.current=!1}),[]),Y(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function E$(){return typeof window.ResizeObserver<"u"}function Ju(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(E$()){const a=new window.ResizeObserver(i=>{i.length&&n()});return a.observe(r,{box:u}),()=>{r&&a.unobserve(r)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,t,u])}function ul(e,t){Y(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function An(e,t){if(!e)return!1;let u=window.getComputedStyle(e),n=/(auto|scroll)/.test(u.overflow+u.overflowX+u.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function Ne(e,t){let u=e;for(An(u,t)&&(u=u.parentElement);u&&!An(u,t);)u=u.parentElement;return u||document.scrollingElement||document.documentElement}function B$(e,t){const u=[];for(;e&&e!==document.documentElement;)An(e,t)&&u.push(e),e=e.parentElement;return u}let k$=0;const Ra=new Map;function yt(e){let[t,u]=o.useState();return Y(()=>{if(!e)return;let n=Ra.get(e);if(n)u(n.element.id);else{let r=`react-aria-description-${k$++}`;u(r);let a=document.createElement("div");a.id=r,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},Ra.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Ra.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function dt(e,t,u,n){let r=ie(u),a=u==null;o.useEffect(()=>{if(a||!e.current)return;let i=e.current;return i.addEventListener(t,r,n),()=>{i.removeEventListener(t,r,n)}},[e,t,n,a,r])}function Ys(e,t){let u=oo(e,t,"left"),n=oo(e,t,"top"),r=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:d,scrollPaddingTop:c,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:m}=getComputedStyle(e),b=i+parseInt(d,10),g=l+parseInt(s,10),$=b+e.clientWidth,D=g+e.clientHeight,y=parseInt(c,10)||0,x=parseInt(p,10)||0,C=parseInt(f,10)||0,B=parseInt(m,10)||0;u<=i+B?i=u-parseInt(d,10)-B:u+r>$-C&&(i+=u+r-$+C),n<=g+y?l=n-parseInt(s,10)-y:n+a>D-x&&(l+=n+a-D+x),e.scrollLeft=i,e.scrollTop=l}function oo(e,t,u){const n=u==="left"?"offsetLeft":"offsetTop";let r=0;for(;t.offsetParent&&(r+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){r-=e[n];break}t=t.offsetParent}return r}function Ve(e,t){if(e&&document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=B$(e);for(let d of s)Ys(d,e)}else{var u;let{left:s,top:d}=e.getBoundingClientRect();e==null||(u=e.scrollIntoView)===null||u===void 0||u.call(e,{block:"nearest"});let{left:c,top:f}=e.getBoundingClientRect();if(Math.abs(s-c)>1||Math.abs(d-f)>1){var n,r,a;t==null||(r=t.containingElement)===null||r===void 0||(n=r.scrollIntoView)===null||n===void 0||n.call(r,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function ci(e){return e.mozInputSource===0&&e.isTrusted?!0:Pn()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function P$(e){return!Pn()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Js(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function Un(e,t,u){let n=o.useRef(t),r=ie(()=>{u&&u(n.current)});o.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e,r])}function S$(e){const t=o.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}const A$="react-aria-clear-focus",w$="react-aria-focus";function Nu(e){return gt()?e.metaKey:e.ctrlKey}function Qs(e,t=!0){let[u,n]=o.useState(!0),r=u&&t;return Y(()=>{if(r&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,r]),ed(e,r,o.useCallback(()=>n(!1),[])),r}function Xs(e,t){let[u,n]=o.useState(t?"open":"closed");switch(u){case"open":t||n("exiting");break;case"closed":case"exiting":t&&n("open");break}let r=u==="exiting";return ed(e,r,o.useCallback(()=>{n(a=>a==="exiting"?"closed":a)},[])),r}function ed(e,t,u){Y(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){u();return}let n=e.current.getAnimations();if(n.length===0){u();return}let r=!1;return Promise.all(n.map(a=>a.finished)).then(()=>{r||Lt.flushSync(()=>{u()})}).catch(()=>{}),()=>{r=!0}}},[e,t,u])}const nl=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],F$=nl.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";nl.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const T$=nl.join(':not([hidden]):not([tabindex="-1"]),');function rl(e){return e.matches(F$)}function I$(e){return e.matches(T$)}function Me(e,t,u){let[n,r]=o.useState(e||t),a=o.useRef(e!==void 0),i=e!==void 0;o.useEffect(()=>{let d=a.current;d!==i&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let l=i?e:n,s=o.useCallback((d,...c)=>{let f=(p,...m)=>{u&&(Object.is(l,p)||u(p,...m)),i||(l=p)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),r((m,...b)=>{let g=d(i?l:m,...b);return f(g,...c),i?m:g})):(i||r(d),f(d,...c))},[i,l,u]);return[l,s]}function wn(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const uu=Symbol("default");function fe({values:e,children:t}){for(let[u,n]of e)t=o.createElement(u.Provider,{value:n},t);return t}function Z(e){let{className:t,style:u,children:n,defaultClassName:r,defaultChildren:a,defaultStyle:i,values:l}=e;return o.useMemo(()=>{let s,d,c;return typeof t=="function"?s=t({...l,defaultClassName:r}):s=t,typeof u=="function"?d=u({...l,defaultStyle:i||{}}):d=u,typeof n=="function"?c=n({...l,defaultChildren:a}):n==null?c=a:c=n,{className:s??r,style:d||i?{...i,...d}:void 0,children:c??a,"data-rac":""}},[t,u,n,r,a,i,l])}function Ze(e,t){let u=o.useContext(e);if(t===null)return null;if(u&&typeof u=="object"&&"slots"in u&&u.slots){let n=t||uu;if(!u.slots[n]){let r=new Intl.ListFormat().format(Object.keys(u.slots).map(i=>`"${i}"`)),a=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${a} Valid slot names are ${r}.`)}return u.slots[n]}return u}function X(e,t,u){let n=Ze(u,e.slot)||{},{ref:r,...a}=n,i=xe(o.useMemo(()=>ku(t,r),[t,r])),l=_(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof a.style=="function"?a.style(s):a.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...a.style,...e.style}),[l,i]}function ct(e=!0){let[t,u]=o.useState(e),n=o.useRef(!1),r=o.useCallback(a=>{n.current=!0,u(!!a)},[]);return Y(()=>{n.current||u(!1)},[]),[r,t]}function Nt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class Fn{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new Fn(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}constructor(t,u){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=t,this.key=u}}class sa{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let u=this.keyMap;return{*[Symbol.iterator](){let n=u.get(t),r=(n==null?void 0:n.firstChildKey)!=null?u.get(n.firstChildKey):null;for(;r;)yield r,r=r.nextKey!=null?u.get(r.nextKey):void 0}}}getKeyBefore(t){let u=this.keyMap.get(t);if(!u)return null;if(u.prevKey!=null){for(u=this.keyMap.get(u.prevKey);u&&u.type!=="item"&&u.lastChildKey!=null;)u=this.keyMap.get(u.lastChildKey);var n;return(n=u==null?void 0:u.key)!==null&&n!==void 0?n:null}return u.parentKey}getKeyAfter(t){let u=this.keyMap.get(t);if(!u)return null;if(u.type!=="item"&&u.firstChildKey!=null)return u.firstChildKey;for(;u;){if(u.nextKey!=null)return u.nextKey;if(u.parentKey!=null)u=this.keyMap.get(u.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,u=new t;return u.keyMap=new Map(this.keyMap),u.firstKey=this.firstKey,u.lastKey=this.lastKey,u}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,u,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=u,this.frozen=!n}UNSTABLE_filter(t){let u=new sa,n=null;for(let r of this)if(r.type==="section"&&r.hasChildNodes){let a=r.clone(),i=null;for(let l of this.getChildren(r.key))if(so(l,t,this,u)){let s=l.clone();i==null&&(a.firstChildKey=s.key),u.firstKey==null&&(u.firstKey=a.key),i&&i.parentKey===s.parentKey?(i.nextKey=s.key,s.prevKey=i.key):s.prevKey=null,s.nextKey=null,u.addNode(s),i=s}i&&(i.type!=="header"?(a.lastChildKey=i.key,n==null?a.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=a.key,a.prevKey=n.key),a.nextKey=null,n=a,u.addNode(a)):(u.firstKey===a.key&&(u.firstKey=null),u.removeNode(i.key)))}else if(r.type==="separator"){let a=r.clone();a.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=a.key,a.prevKey=n.key,n=a,u.addNode(a))}else{let a=r.clone();so(a,t,this,u)&&(u.firstKey==null&&(u.firstKey=a.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===a.parentKey?(n.nextKey=a.key,a.prevKey=n.key):a.prevKey=null,a.nextKey=null,u.addNode(a),n=a)}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let r;n.prevKey!=null&&(r=u.getItem(n.prevKey),r.nextKey=null),u.removeNode(n.key),n=r}return u.lastKey=(n==null?void 0:n.key)||null,u}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function so(e,t,u,n){if(e.type==="subdialogtrigger"||e.type==="submenutrigger"){let r=[...u.getChildren(e.key)][0];if(r&&t(r.textValue)){let a=r.clone();return n.addNode(a),!0}else return!1}else return e.type==="header"?!0:t(e.textValue)}class td{*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}appendChild(t){this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(t,u){if(u==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=u,t.previousSibling=u.previousSibling,t.index=u.index,this.firstChild===u?this.firstChild=t:u.previousSibling&&(u.previousSibling.nextSibling=t),u.previousSibling=t,t.parentNode=u.parentNode;let n=u;for(;n;)n.index++,n=n.nextSibling;t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(t){if(t.parentNode!==this||!this.ownerDocument.isMounted)return;this.ownerDocument.startTransaction();let u=t.nextSibling;for(;u;)u.index--,u=u.nextSibling;t.nextSibling&&(t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.removeNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=t}}class Tn extends td{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof Tn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,u,n,r;let a=this.ownerDocument.getMutableNode(this);a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof Tn?this.parentNode.node.key:null;var i;a.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var l;a.nextKey=(l=(u=this.nextSibling)===null||u===void 0?void 0:u.node.key)!==null&&l!==void 0?l:null,a.hasChildNodes=!!this.firstChild;var s;a.firstChildKey=(s=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&s!==void 0?s:null;var d;if(a.lastChildKey=(d=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&d!==void 0?d:null,(a.colSpan!=null||a.colIndex!=null)&&this.nextSibling){var c,f;let p=((c=a.colIndex)!==null&&c!==void 0?c:a.index)+((f=a.colSpan)!==null&&f!==void 0?f:1);if(p!==this.nextSibling.node.colIndex){let m=this.ownerDocument.getMutableNode(this.nextSibling);m.colIndex=p}}}setProps(t,u,n,r){let a=this.ownerDocument.getMutableNode(this),{value:i,textValue:l,id:s,...d}=t;if(d.ref=u,a.props=d,a.rendered=n,a.render=r,a.value=i,a.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",s!=null&&s!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=s}d.colSpan!=null&&(a.colSpan=d.colSpan),this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,u){super(u),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new Fn(t,`react-aria-${++u.nodeId}`),this.ownerDocument.startTransaction()}}class R$ extends td{get isConnected(){return this.isMounted}createElement(t){return new Tn(t,this)}getMutableNode(t){let u=t.node;return this.mutatedNodes.has(t)||(u=t.node.clone(),this.mutatedNodes.add(t),t.node=u),this.markDirty(t),u}getMutableCollection(){return!this.isSSR&&!this.collectionMutated&&(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(t){this.dirtyNodes.add(t)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(t){let u=this.getMutableCollection();if(!u.getItem(t.node.key)){u.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let a of this.dirtyNodes)a instanceof Tn&&a.isConnected&&a.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,u;let a=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&a.addNode(i.node);this.mutatedNodes.clear();var n,r;a.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(r=(u=this.lastChild)===null||u===void 0?void 0:u.node.key)!==null&&r!==void 0?r:null,this.isSSR)}this.collectionMutated=!1}queueUpdate(){if(!(this.dirtyNodes.size===0||this.transactionCount>0))for(let t of this.subscriptions)t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function al(e){let{children:t,items:u,idScope:n,addIdAndValue:r,dependencies:a=[]}=e,i=o.useMemo(()=>new WeakMap,a);return o.useMemo(()=>{if(u&&typeof t=="function"){let d=[];for(let c of u){let f=i.get(c);if(!f){f=t(c);var l,s;let p=(s=(l=f.props.id)!==null&&l!==void 0?l:c.key)!==null&&s!==void 0?s:c.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=o.cloneElement(f,r?{key:p,id:p,value:c}:{key:p}),i.set(c,f)}d.push(f)}return d}else if(typeof t!="function")return t},[t,u,i,n,r])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const Fr=o.createContext(!1);function K$(e){if(o.useContext(Fr))return o.createElement(o.Fragment,null,e.children);let u=o.createElement(Fr.Provider,{value:!0},e.children);return o.createElement("template",{"data-react-aria-hidden":!0},u)}function Wn(e){let t=(u,n)=>o.useContext(Fr)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function M$(){return o.useContext(Fr)}let _u="default",fi="",Cr=new WeakMap;function co(e){if(On()){if(_u==="default"){const t=le(e);fi=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}_u="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Cr.set(e,e.style[t]),e.style[t]="none"}}function Ka(e){if(On()){if(_u!=="disabled")return;_u="restoring",setTimeout(()=>{qs(()=>{if(_u==="restoring"){const t=le(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=fi||""),fi="",_u="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Cr.has(e)){let t=Cr.get(e),u="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[u]==="none"&&(e.style[u]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Cr.delete(e)}}const In=o.createContext({register:()=>{}});In.displayName="PressResponderContext";class ud{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,u){this.nativeEvent=u,this.target=u.target,this.currentTarget=u.currentTarget,this.relatedTarget=u.relatedTarget,this.bubbles=u.bubbles,this.cancelable=u.cancelable,this.defaultPrevented=u.defaultPrevented,this.eventPhase=u.eventPhase,this.isTrusted=u.isTrusted,this.timeStamp=u.timeStamp,this.type=t}}function nd(e){let t=o.useRef({isFocused:!1,observer:null});Y(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let u=ie(n=>{e==null||e(n)});return o.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target,a=i=>{t.current.isFocused=!1,r.disabled&&u(new ud("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[u])}let Tr=!1;function fo(e){for(;e&&!rl(e);)e=e.parentElement;let t=Ye(e),u=t.document.activeElement;if(!u||u===e)return;Tr=!0;let n=!1,r=c=>{(c.target===u||n)&&c.stopImmediatePropagation()},a=c=>{(c.target===u||n)&&(c.stopImmediatePropagation(),!e&&!n&&(n=!0,_e(u),s()))},i=c=>{(c.target===e||n)&&c.stopImmediatePropagation()},l=c=>{(c.target===e||n)&&(c.stopImmediatePropagation(),n||(n=!0,_e(u),s()))};t.addEventListener("blur",r,!0),t.addEventListener("focusout",a,!0),t.addEventListener("focusin",l,!0),t.addEventListener("focus",i,!0);let s=()=>{cancelAnimationFrame(d),t.removeEventListener("blur",r,!0),t.removeEventListener("focusout",a,!0),t.removeEventListener("focusin",l,!0),t.removeEventListener("focus",i,!0),Tr=!1,n=!1},d=requestAnimationFrame(s);return s}function z$(e,t){return t.get?t.get.call(e):t.value}function rd(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function N$(e,t){var u=rd(e,t,"get");return z$(e,u)}function V$(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Zn(e,t,u){V$(e,t),t.set(e,u)}function _$(e,t,u){if(t.set)t.set.call(e,u);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=u}}function po(e,t,u){var n=rd(e,t,"set");return _$(e,n,u),u}function j$(e){let t=o.useContext(In);if(t){let{register:u,...n}=t;e=_(n,e),u()}return ul(t,e.ref),e}var or=new WeakMap;class sr{continuePropagation(){po(this,or,!1)}get shouldStopPropagation(){return N$(this,or)}constructor(t,u,n,r){Zn(this,or,{writable:!0,value:void 0}),po(this,or,!0);var a;let i=(a=r==null?void 0:r.target)!==null&&a!==void 0?a:n.currentTarget;const l=i==null?void 0:i.getBoundingClientRect();let s,d=0,c,f=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,f=n.clientY),l&&(c!=null&&f!=null?(s=c-l.left,d=f-l.top):(s=l.width/2,d=l.height/2)),this.type=t,this.pointerType=u,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=d}}const mo=Symbol("linkClicked");function Je(e){let{onPress:t,onPressChange:u,onPressStart:n,onPressEnd:r,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=j$(e),[m,b]=o.useState(!1),g=o.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:$,removeAllGlobalListeners:D}=Hn(),y=ie((v,F)=>{let S=g.current;if(i||S.didFirePressStart)return!1;let k=!0;if(S.isTriggeringEvent=!0,n){let M=new sr("pressstart",F,v);n(M),k=M.shouldStopPropagation}return u&&u(!0),S.isTriggeringEvent=!1,S.didFirePressStart=!0,b(!0),k}),x=ie((v,F,S=!0)=>{let k=g.current;if(!k.didFirePressStart)return!1;k.didFirePressStart=!1,k.isTriggeringEvent=!0;let M=!0;if(r){let E=new sr("pressend",F,v);r(E),M=E.shouldStopPropagation}if(u&&u(!1),b(!1),t&&S&&!i){let E=new sr("press",F,v);t(E),M&&(M=E.shouldStopPropagation)}return k.isTriggeringEvent=!1,M}),C=ie((v,F)=>{let S=g.current;if(i)return!1;if(a){S.isTriggeringEvent=!0;let k=new sr("pressup",F,v);return a(k),S.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),B=ie(v=>{let F=g.current;if(F.isPressed&&F.target){F.didFirePressStart&&F.pointerType!=null&&x(Fu(F.target,v),F.pointerType,!1),F.isPressed=!1,F.isOverTarget=!1,F.activePointerId=null,F.pointerType=null,D(),c||Ka(F.target);for(let S of F.disposables)S();F.disposables=[]}}),P=ie(v=>{d&&B(v)}),T=o.useMemo(()=>{let v=g.current,F={onKeyDown(k){if(Ma(k.nativeEvent,k.currentTarget)&&$e(k.currentTarget,de(k.nativeEvent))){var M;$o(de(k.nativeEvent),k.key)&&k.preventDefault();let E=!0;if(!v.isPressed&&!k.repeat){v.target=k.currentTarget,v.isPressed=!0,v.pointerType="keyboard",E=y(k,"keyboard");let V=k.currentTarget,R=w=>{Ma(w,V)&&!w.repeat&&$e(V,de(w))&&v.target&&C(Fu(v.target,w),"keyboard")};$(le(k.currentTarget),"keyup",lt(R,S),!0)}E&&k.stopPropagation(),k.metaKey&>()&&((M=v.metaKeyEvents)===null||M===void 0||M.set(k.key,k.nativeEvent))}else k.key==="Meta"&&(v.metaKeyEvents=new Map)},onClick(k){if(!(k&&!$e(k.currentTarget,de(k.nativeEvent)))&&k&&k.button===0&&!v.isTriggeringEvent&&!tu.isOpening){let M=!0;if(i&&k.preventDefault(),!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||ci(k.nativeEvent))){let E=y(k,"virtual"),V=C(k,"virtual"),R=x(k,"virtual");M=E&&V&&R}else if(v.isPressed&&v.pointerType!=="keyboard"){let E=v.pointerType||k.nativeEvent.pointerType||"virtual";M=x(Fu(k.currentTarget,k),E,!0),v.isOverTarget=!1,B(k)}v.ignoreEmulatedMouseEvents=!1,M&&k.stopPropagation()}}},S=k=>{var M;if(v.isPressed&&v.target&&Ma(k,v.target)){var E;$o(de(k),k.key)&&k.preventDefault();let R=de(k);x(Fu(v.target,k),"keyboard",$e(v.target,de(k))),D(),k.key!=="Enter"&&il(v.target)&&$e(v.target,R)&&!k[mo]&&(k[mo]=!0,tu(v.target,k,!1)),v.isPressed=!1,(E=v.metaKeyEvents)===null||E===void 0||E.delete(k.key)}else if(k.key==="Meta"&&(!((M=v.metaKeyEvents)===null||M===void 0)&&M.size)){var V;let R=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let w of R.values())(V=v.target)===null||V===void 0||V.dispatchEvent(new KeyboardEvent("keyup",w))}};if(typeof PointerEvent<"u"){F.onPointerDown=E=>{if(E.button!==0||!$e(E.currentTarget,de(E.nativeEvent)))return;if(P$(E.nativeEvent)){v.pointerType="virtual";return}v.pointerType=E.pointerType;let V=!0;if(!v.isPressed){v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=E.pointerId,v.target=E.currentTarget,c||co(v.target),V=y(E,v.pointerType);let R=de(E.nativeEvent);"releasePointerCapture"in R&&R.releasePointerCapture(E.pointerId),$(le(E.currentTarget),"pointerup",k,!1),$(le(E.currentTarget),"pointercancel",M,!1)}V&&E.stopPropagation()},F.onMouseDown=E=>{if($e(E.currentTarget,de(E.nativeEvent))&&E.button===0){if(s){let V=fo(E.target);V&&v.disposables.push(V)}E.stopPropagation()}},F.onPointerUp=E=>{!$e(E.currentTarget,de(E.nativeEvent))||v.pointerType==="virtual"||E.button===0&&C(E,v.pointerType||E.pointerType)},F.onPointerEnter=E=>{E.pointerId===v.activePointerId&&v.target&&!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,y(Fu(v.target,E),v.pointerType))},F.onPointerLeave=E=>{E.pointerId===v.activePointerId&&v.target&&v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,x(Fu(v.target,E),v.pointerType,!1),P(E))};let k=E=>{if(E.pointerId===v.activePointerId&&v.isPressed&&E.button===0&&v.target){if($e(v.target,de(E))&&v.pointerType!=null){let V=!1,R=setTimeout(()=>{v.isPressed&&v.target instanceof HTMLElement&&(V?B(E):(_e(v.target),v.target.click()))},80);$(E.currentTarget,"click",()=>V=!0,!0),v.disposables.push(()=>clearTimeout(R))}else B(E);v.isOverTarget=!1}},M=E=>{B(E)};F.onDragStart=E=>{$e(E.currentTarget,de(E.nativeEvent))&&B(E)}}else{F.onMouseDown=E=>{if(E.button!==0||!$e(E.currentTarget,de(E.nativeEvent)))return;if(v.ignoreEmulatedMouseEvents){E.stopPropagation();return}if(v.isPressed=!0,v.isOverTarget=!0,v.target=E.currentTarget,v.pointerType=ci(E.nativeEvent)?"virtual":"mouse",Lt.flushSync(()=>y(E,v.pointerType))&&E.stopPropagation(),s){let R=fo(E.target);R&&v.disposables.push(R)}$(le(E.currentTarget),"mouseup",k,!1)},F.onMouseEnter=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;let V=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!0,V=y(E,v.pointerType)),V&&E.stopPropagation()},F.onMouseLeave=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;let V=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!1,V=x(E,v.pointerType,!1),P(E)),V&&E.stopPropagation()},F.onMouseUp=E=>{$e(E.currentTarget,de(E.nativeEvent))&&!v.ignoreEmulatedMouseEvents&&E.button===0&&C(E,v.pointerType||"mouse")};let k=E=>{if(E.button===0){if(v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&v.target.contains(E.target)&&v.pointerType!=null||B(E),v.isOverTarget=!1}};F.onTouchStart=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;let V=L$(E.nativeEvent);if(!V)return;v.activePointerId=V.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=E.currentTarget,v.pointerType="touch",c||co(v.target),y(Gt(v.target,E),v.pointerType)&&E.stopPropagation(),$(Ye(E.currentTarget),"scroll",M,!0)},F.onTouchMove=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;if(!v.isPressed){E.stopPropagation();return}let V=bo(E.nativeEvent,v.activePointerId),R=!0;V&&ho(V,E.currentTarget)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,R=y(Gt(v.target,E),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,R=x(Gt(v.target,E),v.pointerType,!1),P(Gt(v.target,E))),R&&E.stopPropagation()},F.onTouchEnd=E=>{if(!$e(E.currentTarget,de(E.nativeEvent)))return;if(!v.isPressed){E.stopPropagation();return}let V=bo(E.nativeEvent,v.activePointerId),R=!0;V&&ho(V,E.currentTarget)&&v.pointerType!=null?(C(Gt(v.target,E),v.pointerType),R=x(Gt(v.target,E),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(R=x(Gt(v.target,E),v.pointerType,!1)),R&&E.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,v.target&&!c&&Ka(v.target),D()},F.onTouchCancel=E=>{$e(E.currentTarget,de(E.nativeEvent))&&(E.stopPropagation(),v.isPressed&&B(Gt(v.target,E)))};let M=E=>{v.isPressed&&$e(de(E),v.target)&&B({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=E=>{$e(E.currentTarget,de(E.nativeEvent))&&B(E)}}return F},[$,i,s,D,c,B,P,x,y,C]);return o.useEffect(()=>{let v=g.current;return()=>{var F;c||Ka((F=v.target)!==null&&F!==void 0?F:void 0);for(let S of v.disposables)S();v.disposables=[]}},[c]),{isPressed:l||m,pressProps:_(p,T)}}function il(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ma(e,t){const{key:u,code:n}=e,r=t,a=r.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||n==="Space")&&!(r instanceof Ye(r).HTMLInputElement&&!ad(r,u)||r instanceof Ye(r).HTMLTextAreaElement||r.isContentEditable)&&!((a==="link"||!a&&il(r))&&u!=="Enter")}function L$(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function bo(e,t){const u=e.changedTouches;for(let n=0;n<u.length;n++){const r=u[n];if(r.identifier===t)return r}return null}function Gt(e,t){let u=0,n=0;return t.targetTouches&&t.targetTouches.length===1&&(u=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function Fu(e,t){let u=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function O$(e){let t=0,u=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?u=e.height/2:e.radiusY!==void 0&&(u=e.radiusY),{top:e.clientY-u,right:e.clientX+t,bottom:e.clientY+u,left:e.clientX-t}}function H$(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function ho(e,t){let u=t.getBoundingClientRect(),n=O$(e);return H$(u,n)}function U$(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!il(e)}function $o(e,t){return e instanceof HTMLInputElement?!ad(e,t):U$(e)}const W$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ad(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":W$.has(e.type)}let Vt=null,Rn=new Set,Cn=new Map,Cu=!1,pi=!1;const Z$={Tab:!0,Escape:!0};function da(e,t){for(let u of Rn)u(e,t)}function G$(e){return!(e.metaKey||!gt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ir(e){Cu=!0,G$(e)&&(Vt="keyboard",da("keyboard",e))}function nt(e){Vt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Cu=!0,da("pointer",e))}function id(e){ci(e)&&(Cu=!0,Vt="virtual")}function ld(e){e.target===window||e.target===document||Tr||!e.isTrusted||(!Cu&&!pi&&(Vt="virtual",da("virtual",e)),Cu=!1,pi=!1)}function od(){Tr||(Cu=!1,pi=!0)}function Rr(e){if(typeof window>"u"||Cn.get(Ye(e)))return;const t=Ye(e),u=le(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Cu=!0,n.apply(this,arguments)},u.addEventListener("keydown",Ir,!0),u.addEventListener("keyup",Ir,!0),u.addEventListener("click",id,!0),t.addEventListener("focus",ld,!0),t.addEventListener("blur",od,!1),typeof PointerEvent<"u"?(u.addEventListener("pointerdown",nt,!0),u.addEventListener("pointermove",nt,!0),u.addEventListener("pointerup",nt,!0)):(u.addEventListener("mousedown",nt,!0),u.addEventListener("mousemove",nt,!0),u.addEventListener("mouseup",nt,!0)),t.addEventListener("beforeunload",()=>{sd(e)},{once:!0}),Cn.set(t,{focus:n})}const sd=(e,t)=>{const u=Ye(e),n=le(e);t&&n.removeEventListener("DOMContentLoaded",t),Cn.has(u)&&(u.HTMLElement.prototype.focus=Cn.get(u).focus,n.removeEventListener("keydown",Ir,!0),n.removeEventListener("keyup",Ir,!0),n.removeEventListener("click",id,!0),u.removeEventListener("focus",ld,!0),u.removeEventListener("blur",od,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",nt,!0),n.removeEventListener("pointermove",nt,!0),n.removeEventListener("pointerup",nt,!0)):(n.removeEventListener("mousedown",nt,!0),n.removeEventListener("mousemove",nt,!0),n.removeEventListener("mouseup",nt,!0)),Cn.delete(u))};function q$(e){const t=le(e);let u;return t.readyState!=="loading"?Rr(e):(u=()=>{Rr(e)},t.addEventListener("DOMContentLoaded",u)),()=>sd(e,u)}typeof document<"u"&&q$();function _t(){return Vt!=="pointer"}function Mt(){return Vt}function dd(e){Vt=e,da(e,null)}function ll(){Rr();let[e,t]=o.useState(Vt);return o.useEffect(()=>{let u=()=>{t(Vt)};return Rn.add(u),()=>{Rn.delete(u)}},[]),au()?null:e}const Y$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function J$(e,t,u){let n=le(u==null?void 0:u.target);const r=typeof window<"u"?Ye(u==null?void 0:u.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Ye(u==null?void 0:u.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Ye(u==null?void 0:u.target).HTMLElement:HTMLElement,l=typeof window<"u"?Ye(u==null?void 0:u.target).KeyboardEvent:KeyboardEvent;return e=e||n.activeElement instanceof r&&!Y$.has(n.activeElement.type)||n.activeElement instanceof a||n.activeElement instanceof i&&n.activeElement.isContentEditable,!(e&&t==="keyboard"&&u instanceof l&&!Z$[u.key])}function Q$(e,t,u){Rr(),o.useEffect(()=>{let n=(r,a)=>{J$(!!(u!=null&&u.isTextInput),r,a)&&e(_t())};return Rn.add(n),()=>{Rn.delete(n)}},t)}function ye(e){const t=le(e),u=Ke(t);if(Mt()==="virtual"){let n=u;qs(()=>{Ke(t)===n&&e.isConnected&&_e(e)})}else _e(e)}function ca(e){let{isDisabled:t,onFocus:u,onBlur:n,onFocusChange:r}=e;const a=o.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),r&&r(!1),!0},[n,r]),i=nd(a),l=o.useCallback(s=>{const d=le(s.target),c=d?Ke(d):Ke();s.target===s.currentTarget&&c===de(s.nativeEvent)&&(u&&u(s),r&&r(!0),i(s))},[r,u,i]);return{focusProps:{onFocus:!t&&(u||r||n)?l:void 0,onBlur:!t&&(n||r)?a:void 0}}}function go(e){if(!e)return;let t=!0;return u=>{let n={...u,preventDefault(){u.preventDefault()},isDefaultPrevented(){return u.isDefaultPrevented()},stopPropagation(){t?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(n),t&&u.stopPropagation()}}function cd(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:go(e.onKeyDown),onKeyUp:go(e.onKeyUp)}}}let Kr=o.createContext(null);function X$(e){let t=o.useContext(Kr)||{};ul(t,e);let{ref:u,...n}=t;return n}const e6=o.forwardRef(function(t,u){let{children:n,...r}=t,a=xe(u),i={...r,ref:a};return o.createElement(Kr.Provider,{value:i},n)});function Ht(e,t){let{focusProps:u}=ca(e),{keyboardProps:n}=cd(e),r=_(u,n),a=X$(t),i=e.isDisabled?{}:a,l=o.useRef(e.autoFocus);o.useEffect(()=>{l.current&&t.current&&ye(t.current),l.current=!1},[t]);let s=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(s=void 0),{focusableProps:_({...r,tabIndex:s},i)}}const fd=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),r=o.useContext(In);u=xe(u||(r==null?void 0:r.ref));let a=_(r||{},{...t,ref:u,register(){n.current=!0,r&&r.register()}});return ul(r,u),o.useEffect(()=>{n.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),n.current=!0)},[]),o.createElement(In.Provider,{value:a},e)});function t6({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(In.Provider,{value:t},e)}function ft(e){let{isDisabled:t,onBlurWithin:u,onFocusWithin:n,onFocusWithinChange:r}=e,a=o.useRef({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:l}=Hn(),s=o.useCallback(f=>{f.currentTarget.contains(f.target)&&a.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(a.current.isFocusWithin=!1,l(),u&&u(f),r&&r(!1))},[u,r,a,l]),d=nd(s),c=o.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const p=le(f.target),m=Ke(p);if(!a.current.isFocusWithin&&m===de(f.nativeEvent)){n&&n(f),r&&r(!0),a.current.isFocusWithin=!0,d(f);let b=f.currentTarget;i(p,"focus",g=>{if(a.current.isFocusWithin&&!$e(b,g.target)){let $=new ud("blur",new p.defaultView.FocusEvent("blur",{relatedTarget:g.target}));$.target=b,$.currentTarget=b,s($)}},{capture:!0})}},[n,r,d,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:s}}}let Mr=!1,za=0;function mi(){Mr=!0,setTimeout(()=>{Mr=!1},50)}function Do(e){e.pointerType==="touch"&&mi()}function u6(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Do):document.addEventListener("touchend",mi),za++,()=>{za--,!(za>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Do):document.removeEventListener("touchend",mi))}}function Ce(e){let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,isDisabled:r}=e,[a,i]=o.useState(!1),l=o.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;o.useEffect(u6,[]);let{addGlobalListener:s,removeAllGlobalListeners:d}=Hn(),{hoverProps:c,triggerHoverEnd:f}=o.useMemo(()=>{let p=(g,$)=>{if(l.pointerType=$,r||$==="touch"||l.isHovered||!g.currentTarget.contains(g.target))return;l.isHovered=!0;let D=g.currentTarget;l.target=D,s(le(g.target),"pointerover",y=>{l.isHovered&&l.target&&!$e(l.target,y.target)&&m(y,y.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:D,pointerType:$}),u&&u(!0),i(!0)},m=(g,$)=>{let D=l.target;l.pointerType="",l.target=null,!($==="touch"||!l.isHovered||!D)&&(l.isHovered=!1,d(),n&&n({type:"hoverend",target:D,pointerType:$}),u&&u(!1),i(!1))},b={};return typeof PointerEvent<"u"?(b.onPointerEnter=g=>{Mr&&g.pointerType==="mouse"||p(g,g.pointerType)},b.onPointerLeave=g=>{!r&&g.currentTarget.contains(g.target)&&m(g,g.pointerType)}):(b.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},b.onMouseEnter=g=>{!l.ignoreEmulatedMouseEvents&&!Mr&&p(g,"mouse"),l.ignoreEmulatedMouseEvents=!1},b.onMouseLeave=g=>{!r&&g.currentTarget.contains(g.target)&&m(g,"mouse")}),{hoverProps:b,triggerHoverEnd:m}},[t,u,n,r,l,s,d]);return o.useEffect(()=>{r&&f({currentTarget:l.target},l.pointerType)},[r]),{hoverProps:c,isHovered:a}}function n6(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:r}=e,a=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ie(s=>{u&&dr(s,t)&&(r&&r(s),a.current.isPointerDown=!0)}),l=ie(s=>{u&&u(s)});o.useEffect(()=>{let s=a.current;if(n)return;const d=t.current,c=le(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&dr(p,t)&&l(p),s.isPointerDown=!1};return c.addEventListener("pointerdown",i,!0),c.addEventListener("pointerup",f,!0),()=>{c.removeEventListener("pointerdown",i,!0),c.removeEventListener("pointerup",f,!0)}}else{let f=m=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&dr(m,t)&&l(m),s.isPointerDown=!1},p=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&dr(m,t)&&l(m),s.isPointerDown=!1};return c.addEventListener("mousedown",i,!0),c.addEventListener("mouseup",f,!0),c.addEventListener("touchstart",i,!0),c.addEventListener("touchend",p,!0),()=>{c.removeEventListener("mousedown",i,!0),c.removeEventListener("mouseup",f,!0),c.removeEventListener("touchstart",i,!0),c.removeEventListener("touchend",p,!0)}}},[t,n,i,l])}function dr(e,t){if(e.button>0)return!1;if(e.target){const u=e.target.ownerDocument;if(!u||!u.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const r6=500;function pd(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:r,threshold:a=r6,accessibilityDescription:i}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=Hn(),{pressProps:c}=Je({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(u&&u({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),le(p.target).activeElement!==p.target&&_e(p.target),r&&r({...p,type:"longpress"}),l.current=void 0},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};s(p.target,"contextmenu",m,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=yt(r&&!t?i:void 0);return{longPressProps:_(c,f)}}var bi={exports:{}},Na={};/**
|
|
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 vo;function a6(){if(vo)return Na;vo=1;var e=o;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var u=typeof Object.is=="function"?Object.is:t,n=e.useState,r=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function l(f,p){var m=p(),b=n({inst:{value:m,getSnapshot:p}}),g=b[0].inst,$=b[1];return a(function(){g.value=m,g.getSnapshot=p,s(g)&&$({inst:g})},[f,m,p]),r(function(){return s(g)&&$({inst:g}),f(function(){s(g)&&$({inst:g})})},[f]),i(m),m}function s(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!u(f,m)}catch{return!0}}function d(f,p){return p()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:l;return Na.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,Na}var Va={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,130 +14,130 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var 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});/**
|
|
17
|
+
*/var yo;function i6(){return yo||(yo=1,process.env.NODE_ENV!=="production"&&function(){function e(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}function t(m,b){c||r.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var g=b();if(!f){var $=b();a(g,$)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}$=i({inst:{value:g,getSnapshot:b}});var D=$[0].inst,y=$[1];return s(function(){D.value=g,D.getSnapshot=b,u(D)&&y({inst:D})},[m,g,b]),l(function(){return u(D)&&y({inst:D}),m(function(){u(D)&&y({inst:D})})},[m]),d(g),g}function u(m){var b=m.getSnapshot;m=m.value;try{var g=b();return!a(m,g)}catch{return!0}}function n(m,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=o,a=typeof Object.is=="function"?Object.is:e,i=r.useState,l=r.useEffect,s=r.useLayoutEffect,d=r.useDebugValue,c=!1,f=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Va.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Va}process.env.NODE_ENV==="production"?bi.exports=a6():bi.exports=i6();var ol=bi.exports;const md=o.createContext(!1),Kn=o.createContext(null);function Su(e){if(o.useContext(Kn))return e.content;let{collection:u,document:n}=d6(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(K$,null,o.createElement(Kn.Provider,{value:n},e.content)),o.createElement(l6,{render:e.children,collection:u}))}function l6({collection:e,render:t}){return t(e)}function o6(e,t,u){let n=au(),r=o.useRef(n);r.current=n;let a=o.useCallback(()=>r.current?u():t(),[t,u]);return ol.useSyncExternalStore(e,a)}const s6=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:o6;function d6(e){let[t]=o.useState(()=>new R$((e==null?void 0:e())||new sa)),u=o.useCallback(i=>t.subscribe(i),[t]),n=o.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),r=o.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]),a=s6(u,n,r);return Y(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const hi=o.createContext(null);function bd(e,t,u,n,r,a){let i=o.useCallback(s=>{s==null||s.setProps(t,u,n,a)},[t,u,n,a]),l=o.useContext(hi);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e),s.setProps(t,u,n,a),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),r?o.createElement(hi.Provider,{value:s},r):null}return o.createElement(e,{ref:i},r)}function iu(e,t){let u=({node:r})=>t(r.props,r.props.ref,r),n=o.forwardRef((r,a)=>{let i=o.useContext(Kr);if(!o.useContext(md)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(r,a)}return bd(e,r,a,"children"in r?r.children:null,null,s=>o.createElement(Kr.Provider,{value:i},o.createElement(u,{node:s})))});return n.displayName=t.name,n}function sl(e,t,u=hd){let n=({node:a})=>t(a.props,a.props.ref,a),r=o.forwardRef((a,i)=>{let l=u(a);var s;return(s=bd(e,a,i,null,l,d=>o.createElement(n,{node:d})))!==null&&s!==void 0?s:o.createElement(o.Fragment,null)});return r.displayName=t.name,r}function hd(e){return al({...e,addIdAndValue:!0})}const xo=o.createContext(null);function xt(e){let t=o.useContext(xo),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),r=hd({...e,idScope:n,dependencies:u});return o.useContext(Kn)&&(r=o.createElement(c6,null,r)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(xo.Provider,{value:t},r)}function c6({children:e}){let t=o.useContext(Kn),u=o.useMemo(()=>o.createElement(Kn.Provider,{value:null},o.createElement(md.Provider,{value:!0},e)),[e]);return au()?o.createElement(hi.Provider,{value:t},u):Lt.createPortal(u,t)}function f6(e,t){let{elementType:u="a",onPress:n,onPressStart:r,onPressEnd:a,onClick:i,isDisabled:l,...s}=e,d={};u!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=Ht(e,t),{pressProps:f,isPressed:p}=Je({onPress:n,onPressStart:r,onPressEnd:a,isDisabled:l,ref:t}),m=U(s,{labelable:!0}),b=_(c,f),g=Pu(),$=oa(e);return{isPressed:p,linkProps:_(m,$,{...b,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:D=>{var y;(y=f.onClick)===null||y===void 0||y.call(f,D),i&&(i(D),console.warn("onClick is deprecated, please use onPress")),!g.isNative&&D.currentTarget instanceof HTMLAnchorElement&&D.currentTarget.href&&!D.isDefaultPrevented()&&Zs(D.currentTarget,D)&&e.href&&(D.preventDefault(),g.open(D.currentTarget,D,e.href,e.routerOptions))}})}}var $d={};$d={breadcrumbs:"عناصر الواجهة"};var gd={};gd={breadcrumbs:"Трохи хляб"};var Dd={};Dd={breadcrumbs:"Popis cesty"};var vd={};vd={breadcrumbs:"Brødkrummer"};var yd={};yd={breadcrumbs:"Breadcrumbs"};var xd={};xd={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Cd={};Cd={breadcrumbs:"Breadcrumbs"};var Ed={};Ed={breadcrumbs:"Migas de pan"};var Bd={};Bd={breadcrumbs:"Lingiread"};var kd={};kd={breadcrumbs:"Navigointilinkit"};var Pd={};Pd={breadcrumbs:"Chemin de navigation"};var Sd={};Sd={breadcrumbs:"שבילי ניווט"};var Ad={};Ad={breadcrumbs:"Navigacijski putovi"};var wd={};wd={breadcrumbs:"Morzsamenü"};var Fd={};Fd={breadcrumbs:"Breadcrumb"};var Td={};Td={breadcrumbs:"パンくずリスト"};var Id={};Id={breadcrumbs:"탐색 표시"};var Rd={};Rd={breadcrumbs:"Naršymo kelias"};var Kd={};Kd={breadcrumbs:"Atpakaļceļi"};var Md={};Md={breadcrumbs:"Navigasjonsstier"};var zd={};zd={breadcrumbs:"Broodkruimels"};var Nd={};Nd={breadcrumbs:"Struktura nawigacyjna"};var Vd={};Vd={breadcrumbs:"Caminho detalhado"};var _d={};_d={breadcrumbs:"Categorias"};var jd={};jd={breadcrumbs:"Miez de pâine"};var Ld={};Ld={breadcrumbs:"Навигация"};var Od={};Od={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Hd={};Hd={breadcrumbs:"Drobtine"};var Ud={};Ud={breadcrumbs:"Putanje navigacije"};var Wd={};Wd={breadcrumbs:"Sökvägar"};var Zd={};Zd={breadcrumbs:"İçerik haritaları"};var Gd={};Gd={breadcrumbs:"Навігаційна стежка"};var qd={};qd={breadcrumbs:"导航栏"};var Yd={};Yd={breadcrumbs:"導覽列"};var Jd={};Jd={"ar-AE":$d,"bg-BG":gd,"cs-CZ":Dd,"da-DK":vd,"de-DE":yd,"el-GR":xd,"en-US":Cd,"es-ES":Ed,"et-EE":Bd,"fi-FI":kd,"fr-FR":Pd,"he-IL":Sd,"hr-HR":Ad,"hu-HU":wd,"it-IT":Fd,"ja-JP":Td,"ko-KR":Id,"lt-LT":Rd,"lv-LV":Kd,"nb-NO":Md,"nl-NL":zd,"pl-PL":Nd,"pt-BR":Vd,"pt-PT":_d,"ro-RO":jd,"ru-RU":Ld,"sk-SK":Od,"sl-SI":Hd,"sr-SP":Ud,"sv-SE":Wd,"tr-TR":Zd,"uk-UA":Gd,"zh-CN":qd,"zh-TW":Yd};const p6=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),m6=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function b6(e){if(Intl.Locale){let u=new Intl.Locale(e).maximize(),n=typeof u.getTextInfo=="function"?u.getTextInfo():u.textInfo;if(n)return n.direction==="rtl";if(u.script)return p6.has(u.script)}let t=e.split("-")[0];return m6.has(t)}const h6=Symbol.for("react-aria.i18n.locale");function Qd(){let e=typeof window<"u"&&window[h6]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:b6(e)?"rtl":"ltr"}}let $i=Qd(),gn=new Set;function Co(){$i=Qd();for(let e of gn)e($i)}function $6(){let e=au(),[t,u]=o.useState($i);return o.useEffect(()=>(gn.size===0&&window.addEventListener("languagechange",Co),gn.add(u),()=>{gn.delete(u),gn.size===0&&window.removeEventListener("languagechange",Co)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const g6=o.createContext(null);function pe(){let e=$6();return o.useContext(g6)||e}const D6=Symbol.for("react-aria.i18n.locale"),v6=Symbol.for("react-aria.i18n.strings");let Tu;class lu{getStringForLocale(t,u){let r=this.getStringsForLocale(u)[t];if(!r)throw new Error(`Could not find intl message ${t} in ${u} locale`);return r}getStringsForLocale(t){let u=this.strings[t];return u||(u=y6(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[D6];if(Tu===void 0){let r=window[v6];if(!r)return null;Tu={};for(let a in r)Tu[a]=new lu({[u]:r[a]},u)}let n=Tu==null?void 0:Tu[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,u="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=u}}function y6(e,t,u="en-US"){if(t[e])return t[e];let n=x6(e);if(t[n])return t[n];for(let r in t)if(r.startsWith(n+"-"))return t[r];return t[u]}function x6(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Eo=new Map,Bo=new Map;class Xd{format(t,u){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(u,this):n}plural(t,u,n="cardinal"){let r=u["="+t];if(r)return typeof r=="function"?r():r;let a=this.locale+":"+n,i=Eo.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),Eo.set(a,i));let l=i.select(t);return r=u[l]||u.other,typeof r=="function"?r():r}number(t){let u=Bo.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),Bo.set(this.locale,u)),u.format(t)}select(t,u){let n=t[u]||t.other;return typeof n=="function"?n():n}constructor(t,u){this.locale=t,this.strings=u}}const ko=new WeakMap;function C6(e){let t=ko.get(e);return t||(t=new lu(e),ko.set(e,t)),t}function ec(e,t){return t&&lu.getGlobalDictionaryForPackage(t)||C6(e)}function De(e,t){let{locale:u}=pe(),n=ec(e,t);return o.useMemo(()=>new Xd(u,n),[u,n])}function Uu(e,t){return e-t*Math.floor(e/t)}const tc=1721426;function Du(e,t,u,n){t=Gn(e,t);let r=t-1,a=-2;return u<=2?a=0:Qt(t)&&(a=-1),tc-1+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*u-362)/12+a+n)}function Qt(e){return e%4===0&&(e%100!==0||e%400===0)}function Gn(e,t){return e==="BC"?1-t:t}function fa(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const E6={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Ge{fromJulianDay(t){let u=t,n=u-tc,r=Math.floor(n/146097),a=Uu(n,146097),i=Math.floor(a/36524),l=Uu(a,36524),s=Math.floor(l/1461),d=Uu(l,1461),c=Math.floor(d/365),f=r*400+i*100+s*4+c+(i!==4&&c!==4?1:0),[p,m]=fa(f),b=u-Du(p,m,1,1),g=2;u<Du(p,m,3,1)?g=0:Qt(m)&&(g=1);let $=Math.floor(((b+g)*12+373)/367),D=u-Du(p,m,$,1)+1;return new Te(p,m,$,D)}toJulianDay(t){return Du(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return E6[Qt(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Qt(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const B6={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Fe(e,t){return t=ge(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function k6(e,t){return t=ge(t,e.calendar),e=Eu(e),t=Eu(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function gi(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function dl(e,t){return Fe(e,fl(t))}const P6={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function cl(e,t,u){let n=e.calendar.toJulianDay(e),r=u?P6[u]:I6(t),a=Math.ceil(n+1-r)%7;return a<0&&(a+=7),a}function uc(e){return It(Date.now(),e)}function fl(e){return Oe(uc(e))}function nc(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function rc(e,t){return Po(e)-Po(t)}function Po(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let _a=null;function qn(){return _a==null&&(_a=new Intl.DateTimeFormat().resolvedOptions().timeZone),_a}function Eu(e){return e.subtract({days:e.day-1})}function zr(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function S6(e){return Eu(e.subtract({months:e.month-1}))}function A6(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function w6(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Mn(e,t,u){let n=cl(e,t,u);return e.subtract({days:n})}function F6(e,t,u){return Mn(e,t,u).add({days:6})}const So=new Map;function T6(e){if(Intl.Locale){let u=So.get(e);return u||(u=new Intl.Locale(e).maximize().region,u&&So.set(e,u)),u}let t=e.split("-")[1];return t==="u"?void 0:t}function I6(e){let t=T6(e);return t&&B6[t]||0}function R6(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil((cl(Eu(e),t,u)+n)/7)}function pl(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function ml(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Qu(e){e=ge(e,new Ge);let t=Gn(e.era,e.year);return ac(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function ac(e,t,u,n,r,a,i){let l=new Date;return l.setUTCHours(n,r,a,i),l.setUTCFullYear(e,t-1,u),l.getTime()}function Di(e,t){if(t==="UTC")return 0;if(e>0&&t===qn())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:r,hour:a,minute:i,second:l}=ic(e,t);return ac(u,n,r,a,i,l,0)-Math.floor(e/1e3)*1e3}const Ao=new Map;function ic(e,t){let u=Ao.get(t);u||(u=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Ao.set(t,u));let n=u.formatToParts(new Date(e)),r={};for(let a of n)a.type!=="literal"&&(r[a.type]=a.value);return{year:r.era==="BC"||r.era==="B"?-r.year+1:+r.year,month:+r.month,day:+r.day,hour:r.hour==="24"?0:+r.hour,minute:+r.minute,second:+r.second}}const wo=864e5;function K6(e,t,u,n){return(u===n?[u]:[u,n]).filter(a=>M6(e,t,a))}function M6(e,t,u){let n=ic(u,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function Ft(e,t,u="compatible"){let n=vt(e);if(t==="UTC")return Qu(n);if(t===qn()&&u==="compatible"){n=ge(n,new Ge);let s=new Date,d=Gn(n.era,n.year);return s.setFullYear(d,n.month-1,n.day),s.setHours(n.hour,n.minute,n.second,n.millisecond),s.getTime()}let r=Qu(n),a=Di(r-wo,t),i=Di(r+wo,t),l=K6(n,t,r-a,r-i);if(l.length===1)return l[0];if(l.length>1)switch(u){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(u){case"earlier":return Math.min(r-a,r-i);case"compatible":case"later":return Math.max(r-a,r-i);case"reject":throw new RangeError("No such absolute time found")}}function lc(e,t,u="compatible"){return new Date(Ft(e,t,u))}function It(e,t){let u=Di(e,t),n=new Date(e+u),r=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),d=n.getUTCSeconds(),c=n.getUTCMilliseconds();return new Nn(r<1?"BC":"AD",r<1?-r+1:r,a,i,t,u,l,s,d,c)}function Oe(e){return new Te(e.calendar,e.era,e.year,e.month,e.day)}function vt(e,t){let u=0,n=0,r=0,a=0;if("timeZone"in e)({hour:u,minute:n,second:r,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:u,minute:n,second:r,millisecond:a}=t),new Nr(e.calendar,e.era,e.year,e.month,e.day,u,n,r,a)}function ge(e,t){if(e.calendar.identifier===t.identifier)return e;let u=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=u.era,n.year=u.year,n.month=u.month,n.day=u.day,Bu(n),n}function z6(e,t,u){if(e instanceof Nn)return e.timeZone===t?e:V6(e,t);let n=Ft(e,t,u);return It(n,t)}function N6(e){let t=Qu(e)-e.offset;return new Date(t)}function V6(e,t){let u=Qu(e)-e.offset;return ge(It(u,t),e.calendar)}const sn=36e5;function pa(e,t){let u=e.copy(),n="hour"in u?cc(u,t):0;vi(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,yi(u),oc(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,_6(u),u.calendar.balanceDate&&u.calendar.balanceDate(u),u.year<1&&(u.year=1,u.month=1,u.day=1);let r=u.calendar.getYearsInEra(u);if(u.year>r){var a,i;let s=(a=(i=u.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,u);u.year=r,u.month=s?1:u.calendar.getMonthsInYear(u),u.day=s?1:u.calendar.getDaysInMonth(u)}u.month<1&&(u.month=1,u.day=1);let l=u.calendar.getMonthsInYear(u);return u.month>l&&(u.month=l,u.day=u.calendar.getDaysInMonth(u)),u.day=Math.max(1,Math.min(u.calendar.getDaysInMonth(u),u.day)),u}function vi(e,t){var u,n;!((u=(n=e.calendar).isInverseEra)===null||u===void 0)&&u.call(n,e)&&(t=-t),e.year+=t}function yi(e){for(;e.month<1;)vi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,vi(e,1)}function _6(e){for(;e.day<1;)e.month--,yi(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,yi(e)}function oc(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Bu(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),oc(e)}function bl(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function sc(e,t){return pa(e,bl(t))}function hl(e,t){let u=e.copy();return t.era!=null&&(u.era=t.era),t.year!=null&&(u.year=t.year),t.month!=null&&(u.month=t.month),t.day!=null&&(u.day=t.day),Bu(u),u}function zn(e,t){let u=e.copy();return t.hour!=null&&(u.hour=t.hour),t.minute!=null&&(u.minute=t.minute),t.second!=null&&(u.second=t.second),t.millisecond!=null&&(u.millisecond=t.millisecond),dc(u),u}function j6(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=cr(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=cr(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=cr(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=cr(e.hour,24),t}function dc(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function cr(e,t){let u=e%t;return u<0&&(u+=t),u}function cc(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,j6(e)}function fc(e,t){let u=e.copy();return cc(u,t),u}function L6(e,t){return fc(e,bl(t))}function $l(e,t,u,n){let r=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=Rt(s,u,0,l.length-1,n==null?void 0:n.round),r.era=l[s],Bu(r);break}case"year":var a,i;!((a=(i=r.calendar).isInverseEra)===null||a===void 0)&&a.call(i,r)&&(u=-u),r.year=Rt(e.year,u,-1/0,9999,n==null?void 0:n.round),r.year===-1/0&&(r.year=1),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e);break;case"month":r.month=Rt(e.month,u,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":r.day=Rt(e.day,u,1,e.calendar.getDaysInMonth(e),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(r),Bu(r),r}function gl(e,t,u,n){let r=e.copy();switch(t){case"hour":{let a=e.hour,i=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=a>=12;i=s?12:0,l=s?23:11}r.hour=Rt(a,u,i,l,n==null?void 0:n.round);break}case"minute":r.minute=Rt(e.minute,u,0,59,n==null?void 0:n.round);break;case"second":r.second=Rt(e.second,u,0,59,n==null?void 0:n.round);break;case"millisecond":r.millisecond=Rt(e.millisecond,u,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return r}function Rt(e,t,u,n,r=!1){if(r){e+=Math.sign(t),e<u&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=u)}else e+=t,e<u?e=n-(u-e-1):e>n&&(e=u+(e-n-1));return e}function pc(e,t){let u;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let r=pa(vt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=Ft(r,e.timeZone)}else u=Qu(e)-e.offset;u+=t.milliseconds||0,u+=(t.seconds||0)*1e3,u+=(t.minutes||0)*6e4,u+=(t.hours||0)*36e5;let n=It(u,e.timeZone);return ge(n,e.calendar)}function O6(e,t){return pc(e,bl(t))}function H6(e,t,u,n){switch(t){case"hour":{let r=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;r=b?12:0,a=b?23:11}let i=vt(e),l=ge(zn(i,{hour:r}),new Ge),s=[Ft(l,e.timeZone,"earlier"),Ft(l,e.timeZone,"later")].filter(b=>It(b,e.timeZone).day===l.day)[0],d=ge(zn(i,{hour:a}),new Ge),c=[Ft(d,e.timeZone,"earlier"),Ft(d,e.timeZone,"later")].filter(b=>It(b,e.timeZone).day===d.day).pop(),f=Qu(e)-e.offset,p=Math.floor(f/sn),m=f%sn;return f=Rt(p,u,Math.floor(s/sn),Math.floor(c/sn),n==null?void 0:n.round)*sn+m,ge(It(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return gl(e,t,u,n);case"era":case"year":case"month":case"day":{let r=$l(vt(e),t,u,n),a=Ft(r,e.timeZone);return ge(It(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function U6(e,t,u){let n=vt(e),r=zn(hl(n,t),t);if(r.compare(n)===0)return e;let a=Ft(r,e.timeZone,u);return ge(It(a,e.timeZone),e.calendar)}function mc(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function bc(e){let t=ge(e,new Ge),u;return t.era==="BC"?u=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):u=String(t.year).padStart(4,"0"),`${u}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function hc(e){return`${bc(e)}T${mc(e)}`}function W6(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let u=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(u).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function Z6(e){return`${hc(e)}${W6(e.offset)}[${e.timeZone}]`}function Dl(e){let t=typeof e[0]=="object"?e.shift():new Ge,u;if(typeof e[0]=="string")u=e.shift();else{let i=t.getEras();u=i[i.length-1]}let n=e.shift(),r=e.shift(),a=e.shift();return[t,u,n,r,a]}var G6=new WeakMap;class Te{copy(){return this.era?new Te(this.calendar,this.era,this.year,this.month,this.day):new Te(this.calendar,this.year,this.month,this.day)}add(t){return pa(this,t)}subtract(t){return sc(this,t)}set(t){return hl(this,t)}cycle(t,u,n){return $l(this,t,u,n)}toDate(t){return lc(this,t)}toString(){return bc(this)}compare(t){return nc(this,t)}constructor(...t){Zn(this,G6,{writable:!0,value:void 0});let[u,n,r,a,i]=Dl(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,Bu(this)}}var q6=new WeakMap;class vl{copy(){return new vl(this.hour,this.minute,this.second,this.millisecond)}add(t){return fc(this,t)}subtract(t){return L6(this,t)}set(t){return zn(this,t)}cycle(t,u,n){return gl(this,t,u,n)}toString(){return mc(this)}compare(t){return rc(this,t)}constructor(t=0,u=0,n=0,r=0){Zn(this,q6,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,dc(this)}}var Y6=new WeakMap;class Nr{copy(){return this.era?new Nr(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Nr(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return pa(this,t)}subtract(t){return sc(this,t)}set(t){return hl(zn(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return $l(this,t,u,n);default:return gl(this,t,u,n)}}toDate(t,u){return lc(this,t,u)}toString(){return hc(this)}compare(t){let u=nc(this,t);return u===0?rc(this,vt(t)):u}constructor(...t){Zn(this,Y6,{writable:!0,value:void 0});let[u,n,r,a,i]=Dl(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Bu(this)}}var J6=new WeakMap;class Nn{copy(){return this.era?new Nn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Nn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return pc(this,t)}subtract(t){return O6(this,t)}set(t,u){return U6(this,t,u)}cycle(t,u,n){return H6(this,t,u,n)}toDate(){return N6(this)}toString(){return Z6(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-z6(t,this.timeZone).toDate().getTime()}constructor(...t){Zn(this,J6,{writable:!0,value:void 0});let[u,n,r,a,i]=Dl(t),l=t.shift(),s=t.shift();this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Bu(this)}}const Wu=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],Q6=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Er=[1867,1911,1925,1988,2018],Yt=["meiji","taisho","showa","heisei","reiwa"];function Fo(e){const t=Wu.findIndex(([u,n,r])=>e.year<u||e.year===u&&e.month<n||e.year===u&&e.month===n&&e.day<r);return t===-1?Wu.length-1:t===0?0:t-1}function ja(e){let t=Er[Yt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Te(e.year+t,e.month,e.day)}class X6 extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=Fo(u);return new Te(this,Yt[n],u.year-Er[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(ja(t))}balanceDate(t){let u=ja(t),n=Fo(u);Yt[n]!==t.era&&(t.era=Yt[n],t.year=u.year-Er[n]),this.constrainDate(t)}constrainDate(t){let u=Yt.indexOf(t.era),n=Q6[u];if(n!=null){let[r,a,i]=n,l=r-Er[u];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&u>=0){let[,r,a]=Wu[u];t.month=Math.max(r,t.month),t.month===r&&(t.day=Math.max(a,t.day))}}getEras(){return Yt}getYearsInEra(t){let u=Yt.indexOf(t.era),n=Wu[u],r=Wu[u+1];if(r==null)return 9999-n[0]+1;let a=r[0]-n[0];return(t.month<r[1]||t.month===r[1]&&t.day<r[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(ja(t))}getMinimumMonthInYear(t){let u=To(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=To(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function To(e){if(e.year===1){let t=Yt.indexOf(e.era);return Wu[t]}}const $c=-543;class eg extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=Gn(u.era,u.year);return new Te(this,n-$c,u.month,u.day)}toJulianDay(t){return super.toJulianDay(Io(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(Io(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function Io(e){let[t,u]=fa(e.year+$c);return new Te(t,u,e.month,e.day)}const Vr=1911;function gc(e){return e.era==="minguo"?e.year+Vr:1-e.year+Vr}function Ro(e){let t=e-Vr;return t>0?["minguo",t]:["before_minguo",1-t]}class tg extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=Gn(u.era,u.year),[r,a]=Ro(n);return new Te(this,r,a,u.month,u.day)}toJulianDay(t){return super.toJulianDay(Ko(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=Ro(gc(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Ko(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Vr}constructor(...t){super(...t),this.identifier="roc"}}function Ko(e){let[t,u]=fa(gc(e));return new Te(t,u,e.month,e.day)}const Mo=1948320,zo=[0,31,62,93,124,155,186,216,246,276,306,336];class ug{fromJulianDay(t){let u=t-Mo,n=1+Math.floor((33*u+3)/12053),r=365*(n-1)+Math.floor((8*n+21)/33),a=u-r,i=a<216?Math.floor(a/31):Math.floor((a-6)/30),l=a-zo[i]+1;return new Te(this,n,i+1,l)}toJulianDay(t){let u=Mo-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=zo[t.month-1],u+=t.day,u}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Uu(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const La=78,No=80;class ng extends Ge{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-La,r=t-Du(u.era,u.year,1,1),a;r<No?(n--,a=Qt(u.year-1)?31:30,r+=a+155+90+10):(a=Qt(u.year)?31:30,r-=No);let i,l;if(r<a)i=1,l=r+1;else{let s=r-a;s<155?(i=Math.floor(s/31)+2,l=s%31+1):(s-=155,i=Math.floor(s/30)+7,l=s%30+1)}return new Te(this,n,i,l)}toJulianDay(t){let u=t.year+La,[n,r]=fa(u),a,i;return Qt(r)?(a=31,i=Du(n,r,3,21)):(a=30,i=Du(n,r,3,22)),t.month===1?i+t.day-1:(i+=a+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&Qt(t.year+La)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const _r=1948440,Vo=1948439,ut=1300,Iu=1600,rg=460322;function jr(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Dc(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),r=Math.min(12,Math.ceil((u-(29+jr(t,n,1,1)))/29.5)+1),a=u-jr(t,n,r,1)+1;return new Te(e,n,r,a)}function _o(e){return(14+11*e)%30<11}class yl{fromJulianDay(t){return Dc(this,_r,t)}toJulianDay(t){return jr(_r,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&_o(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return _o(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class ag extends yl{fromJulianDay(t){return Dc(this,Vo,t)}toJulianDay(t){return jr(Vo,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const ig="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let xi,Zu;function Br(e){return rg+Zu[e-ut]}function Dn(e,t){let u=e-ut,n=1<<11-(t-1);return xi[u]&n?30:29}function jo(e,t){let u=Br(e);for(let n=1;n<t;n++)u+=Dn(e,n);return u}function Lo(e){return Zu[e+1-ut]-Zu[e-ut]}class lg extends yl{fromJulianDay(t){let u=t-_r,n=Br(ut),r=Br(Iu);if(u<n||u>r)return super.fromJulianDay(t);{let a=ut-1,i=1,l=1;for(;l>0;){a++,l=u-Br(a)+1;let s=Lo(a);if(l===s){i=12;break}else if(l<s){let d=Dn(a,i);for(i=1;l>d;)l-=d,i++,d=Dn(a,i);break}}return new Te(this,a,i,u-jo(a,i)+1)}}toJulianDay(t){return t.year<ut||t.year>Iu?super.toJulianDay(t):_r+jo(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<ut||t.year>Iu?super.getDaysInMonth(t):Dn(t.year,t.month)}getDaysInYear(t){return t.year<ut||t.year>Iu?super.getDaysInYear(t):Lo(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",xi||(xi=new Uint16Array(Uint8Array.from(atob(ig),t=>t.charCodeAt(0)).buffer)),!Zu){Zu=new Uint32Array(Iu-ut+1);let t=0;for(let u=ut;u<=Iu;u++){Zu[u-ut]=t;for(let n=1;n<=12;n++)t+=Dn(u,n)}}}}const Oo=347997,vc=1080,yc=24*vc,og=29,sg=12*vc+793,dg=og*yc+sg;function gu(e){return Uu(e*7+1,19)<7}function kr(e){let t=Math.floor((235*e-234)/19),u=12084+13753*t,n=t*29+Math.floor(u/25920);return Uu(3*(n+1),7)<3&&(n+=1),n}function cg(e){let t=kr(e-1),u=kr(e);return kr(e+1)-u===356?2:u-t===382?1:0}function En(e){return kr(e)+cg(e)}function xc(e){return En(e+1)-En(e)}function fg(e){let t=xc(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function fr(e,t){if(t>=6&&!gu(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=fg(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?gu(e)?30:0:30}class pg{fromJulianDay(t){let u=t-Oo,n=u*yc/dg,r=Math.floor((19*n+234)/235)+1,a=En(r),i=Math.floor(u-a);for(;i<1;)r--,a=En(r),i=Math.floor(u-a);let l=1,s=0;for(;s<i;)s+=fr(r,l),l++;l--,s-=fr(r,l);let d=i-s;return new Te(this,r,l,d)}toJulianDay(t){let u=En(t.year);for(let n=1;n<t.month;n++)u+=fr(t.year,n);return u+t.day+Oo}getDaysInMonth(t){return fr(t.year,t.month)}getMonthsInYear(t){return gu(t.year)?13:12}getDaysInYear(t){return xc(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&(gu(u.year)&&!gu(t.year)&&u.month>6?t.month--:!gu(u.year)&&gu(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const Ci=1723856,Ho=1824665,Ei=5500;function Lr(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function xl(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Lr(e,u,1,1))/30),r=t+1-Lr(e,u,n,1);return[u,n,r]}function Cc(e){return Math.floor(e%4/3)}function Ec(e,t){return t%13!==0?30:Cc(e)+5}class Cl{fromJulianDay(t){let[u,n,r]=xl(Ci,t),a="AM";return u<=0&&(a="AA",u+=Ei),new Te(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=Ei),Lr(Ci,u,t.month,t.day)}getDaysInMonth(t){return Ec(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Cc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class mg extends Cl{fromJulianDay(t){let[u,n,r]=xl(Ci,t);return u+=Ei,new Te(this,"AA",u,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class bg extends Cl{fromJulianDay(t){let[u,n,r]=xl(Ho,t),a="CE";return u<=0&&(a="BCE",u=1-u),new Te(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Lr(Ho,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Ec(u,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function ma(e){switch(e){case"buddhist":return new eg;case"ethiopic":return new Cl;case"ethioaa":return new mg;case"coptic":return new bg;case"hebrew":return new pg;case"indian":return new ng;case"islamic-civil":return new yl;case"islamic-tbla":return new ag;case"islamic-umalqura":return new lg;case"japanese":return new X6;case"persian":return new ug;case"roc":return new tg;case"gregory":default:return new Ge}}let Oa=new Map;class at{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,u){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(u)}`}formatRangeToParts(t,u){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),r=this.formatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return gg()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Dg(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,u={}){this.formatter=Bc(t,u),this.options=u}}const hg={true:{ja:"h11"},false:{}};function Bc(e,t={}){if(typeof t.hour12=="boolean"&&$g()){t={...t};let r=hg[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=r??a,delete t.hour12}let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Oa.has(u))return Oa.get(u);let n=new Intl.DateTimeFormat(e,t);return Oa.set(u,n),n}let Ha=null;function $g(){return Ha==null&&(Ha=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Ha}let Ua=null;function gg(){return Ua==null&&(Ua=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Ua}function Dg(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let u=Bc(e,{...t,timeZone:void 0}),n=parseInt(u.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),r=parseInt(u.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&r===23)return"h23";if(n===24&&r===23)return"h24";if(n===0&&r===11)return"h11";if(n===12&&r===11)return"h12";throw new Error("Unexpected hour cycle result")}function bt(e){e=Js(e??{},vg);let{locale:t}=pe();return o.useMemo(()=>new at(t,e),[t,e])}function vg(e,t){if(e===t)return!0;let u=Object.keys(e),n=Object.keys(t);if(u.length!==n.length)return!1;for(let r of u)if(t[r]!==e[r])return!1;return!0}let Wa=new Map,Bi=!1;try{Bi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Or=!1;try{Or=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const kc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Pc{format(t){let u="";if(!Bi&&this.options.signDisplay!=null?u=xg(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!Or){var n;let{unit:r,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!r)return u;let l=(n=kc[r])===null||n===void 0?void 0:n[a];u+=l[i]||l.default}return u}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,u){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(u)}`}formatRangeToParts(t,u){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),r=this.numberFormatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Bi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Or&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=yg(t,u),this.options=u}}function yg(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!Or){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=kc[i])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let r=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(Wa.has(r))return Wa.get(r);let a=new Intl.NumberFormat(e,t);return Wa.set(r,a),a}function xg(e,t,u){if(t==="auto")return e.format(u);if(t==="never")return e.format(Math.abs(u));{let n=!1;if(t==="always"?n=u>0||Object.is(u,0):t==="exceptZero"&&(Object.is(u,-0)||Object.is(u,0)?u=Math.abs(u):n=u>0),n){let r=e.format(-u),a=e.format(u),i=r.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(u)}}const Cg=new RegExp("^.*\\(.*\\).*$"),Eg=["latn","arab","hanidec","deva","beng"];class Sc{parse(t){return Za(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return Za(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return Za(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const Uo=new Map;function Za(e,t,u){let n=Wo(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let r of Eg)if(r!==n.options.numberingSystem){let a=Wo(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(a.isValidPartialNumber(u))return a}}return n}function Wo(e,t){let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():""),n=Uo.get(u);return n||(n=new Bg(e,t),Uo.set(u,n)),n}class Bg{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=pr(u,this.symbols.group,"")),this.symbols.decimal&&(u=u.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(u=u.replace(this.symbols.minusSign,"-")),u=u.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let i=u.indexOf("-");u=u.replace("-","");let l=u.indexOf(".");l===-1&&(l=u.length),u=u.replace(".",""),l-2===0?u=`0.${u}`:l-2===-1?u=`0.0${u}`:l-2===-2?u="0.00":u=`${u.slice(0,l-2)}.${u.slice(l-2)}`,i>-1&&(u=`-${u}`)}let n=u?+u:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){var r,a;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new Sc(this.locale,i).parse(new Pc(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&Cg.test(t)&&(n=-1*n),n}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=pr(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=pr(t,"."," ")),t}isValidPartialNumber(t,u=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&u<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=pr(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,u={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,u),this.options=this.formatter.resolvedOptions(),this.symbols=Pg(t,this.formatter,this.options,u);var n,r;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((r=this.options.maximumFractionDigits)!==null&&r!==void 0?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Zo=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),kg=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Pg(e,t,u,n){var r,a,i,l;let s=new Intl.NumberFormat(e,{...u,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),d=s.formatToParts(-10000.111),c=s.formatToParts(10000.111),f=kg.map(S=>s.formatToParts(S));var p;let m=(p=(r=d.find(S=>S.type==="minusSign"))===null||r===void 0?void 0:r.value)!==null&&p!==void 0?p:"-",b=(a=c.find(S=>S.type==="plusSign"))===null||a===void 0?void 0:a.value;!b&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(b="+");let $=(i=new Intl.NumberFormat(e,{...u,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(S=>S.type==="decimal"))===null||i===void 0?void 0:i.value,D=(l=d.find(S=>S.type==="group"))===null||l===void 0?void 0:l.value,y=d.filter(S=>!Zo.has(S.type)).map(S=>Go(S.value)),x=f.flatMap(S=>S.filter(k=>!Zo.has(k.type)).map(k=>Go(k.value))),C=[...new Set([...y,...x])].sort((S,k)=>k.length-S.length),B=C.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),P=[...new Intl.NumberFormat(u.locale,{useGrouping:!1}).format(9876543210)].reverse(),T=new Map(P.map((S,k)=>[S,k])),v=new RegExp(`[${P.join("")}]`,"g");return{minusSign:m,plusSign:b,decimal:$,group:D,literals:B,numeral:v,index:S=>String(T.get(S))}}function pr(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function Go(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Sg(e={}){let{locale:t}=pe();return o.useMemo(()=>new Pc(t,e),[t,e])}let Ga=new Map;function tn(e){let{locale:t}=pe(),u=t+(e?Object.entries(e).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Ga.has(u))return Ga.get(u);let n=new Intl.Collator(t,e);return Ga.set(u,n),n}function Ac(e){let t=tn({usage:"search",...e}),u=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),r=o.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=a.length;l++){let d=a.slice(l,l+s);if(t.compare(i,d)===0)return!0}return!1},[t]);return o.useMemo(()=>({startsWith:u,endsWith:n,contains:r}),[u,n,r])}function Ag(e){return e&&e.__esModule?e.default:e}function wg(e){let{"aria-label":t,...u}=e,n=De(Ag(Jd),"@react-aria/breadcrumbs");return{navProps:{...U(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function El(e,t){let{elementType:u="button",isDisabled:n,onPress:r,onPressStart:a,onPressEnd:i,onPressUp:l,onPressChange:s,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:m,rel:b,type:g="button"}=e,$;u==="button"?$={type:g,disabled:n}:$={role:"button",href:u==="a"&&!n?p:void 0,target:u==="a"?m:void 0,type:u==="input"?g:void 0,disabled:u==="input"?n:void 0,"aria-disabled":!n||u==="input"?void 0:n,rel:u==="a"?b:void 0};let{pressProps:D,isPressed:y}=Je({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:r,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:x}=Ht(e,t);c&&(x.tabIndex=n?-1:x.tabIndex);let C=_(x,D,U(e,{labelable:!0}));return{isPressed:y,buttonProps:_($,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],onClick:B=>{f&&(f(B),console.warn("onClick is deprecated, please use onPress"))}})}}function Fg(e){const t=Ye(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:u,visibility:n}=e.style,r=u!=="none"&&n!=="hidden"&&n!=="collapse";if(r){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:l}=a(e);r=i!=="none"&&l!=="hidden"&&l!=="collapse"}return r}function Tg(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function wc(e,t){return e.nodeName!=="#comment"&&Fg(e)&&Tg(e,t)&&(!e.parentElement||wc(e.parentElement,e))}const qo=o.createContext(null),ki="react-aria-focus-scope-restore";let be=null;function Yn(e){let{children:t,contain:u,restoreFocus:n,autoFocus:r}=e,a=o.useRef(null),i=o.useRef(null),l=o.useRef([]),{parentNode:s}=o.useContext(qo)||{},d=o.useMemo(()=>new Si({scopeRef:l}),[l]);Y(()=>{let p=s||Ae.root;if(Ae.getTreeNode(p.scopeRef)&&be&&!Hr(be,p.scopeRef)){let m=Ae.getTreeNode(be);m&&(p=m)}p.addChild(d),Ae.addNode(d)},[d,s]),Y(()=>{let p=Ae.getTreeNode(l);p&&(p.contain=!!u)},[u]),Y(()=>{var p;let m=(p=a.current)===null||p===void 0?void 0:p.nextSibling,b=[],g=$=>$.stopPropagation();for(;m&&m!==i.current;)b.push(m),m.addEventListener(ki,g),m=m.nextSibling;return l.current=b,()=>{for(let $ of b)$.removeEventListener(ki,g)}},[t]),zg(l,n,u),Rg(l,u),Ng(l,n,u),Mg(l,r),o.useEffect(()=>{const p=Ke(le(l.current?l.current[0]:void 0));let m=null;if(ot(p,l.current)){for(let b of Ae.traverse())b.scopeRef&&ot(p,b.scopeRef.current)&&(m=b);m===Ae.getTreeNode(l)&&(be=m.scopeRef)}},[l]),Y(()=>()=>{var p,m,b;let g=(b=(m=Ae.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&b!==void 0?b:null;(l===be||Hr(l,be))&&(!g||Ae.getTreeNode(g))&&(be=g),Ae.removeTreeNode(l)},[l]);let c=o.useMemo(()=>Ig(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(qo.Provider,{value:f},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Ig(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t;var l;let s=n||Ke(le((l=u[0])!==null&&l!==void 0?l:void 0)),d=u[0].previousElementSibling,c=vu(u),f=ke(c,{tabbable:r,accept:i},u);f.currentNode=ot(s,u)?s:d;let p=f.nextNode();return!p&&a&&(f.currentNode=d,p=f.nextNode()),p&&We(p,!0),p},focusPrevious(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t;var l;let s=n||Ke(le((l=u[0])!==null&&l!==void 0?l:void 0)),d=u[u.length-1].nextElementSibling,c=vu(u),f=ke(c,{tabbable:r,accept:i},u);f.currentNode=ot(s,u)?s:d;let p=f.previousNode();return!p&&a&&(f.currentNode=d,p=f.previousNode()),p&&We(p,!0),p},focusFirst(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=vu(u),i=ke(a,{tabbable:n,accept:r},u);i.currentNode=u[0].previousElementSibling;let l=i.nextNode();return l&&We(l,!0),l},focusLast(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=vu(u),i=ke(a,{tabbable:n,accept:r},u);i.currentNode=u[u.length-1].nextElementSibling;let l=i.previousNode();return l&&We(l,!0),l}}}function vu(e){return e[0].parentElement}function vn(e){let t=Ae.getTreeNode(be);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Rg(e,t){let u=o.useRef(void 0),n=o.useRef(void 0);Y(()=>{let r=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=le(r?r[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!vn(e)||d.isComposing)return;let c=Ke(a),f=e.current;if(!f||!ot(c,f))return;let p=vu(f),m=ke(p,{tabbable:!0},f);if(!c)return;m.currentNode=c;let b=d.shiftKey?m.previousNode():m.nextNode();b||(m.currentNode=d.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,b=d.shiftKey?m.previousNode():m.nextNode()),d.preventDefault(),b&&We(b,!0)},l=d=>{(!be||Hr(be,e))&&ot(de(d),e.current)?(be=e,u.current=de(d)):vn(e)&&!Xt(de(d),e)?u.current?u.current.focus():be&&be.current&&Pi(be.current):vn(e)&&(u.current=de(d))},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=Mt(),f=(c==="virtual"||c===null)&&Pn()&&Hs(),p=Ke(a);if(!f&&p&&vn(e)&&!Xt(p,e)){be=e;let b=de(d);if(b&&b.isConnected){var m;u.current=b,(m=u.current)===null||m===void 0||m.focus()}else be.current&&Pi(be.current)}})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",l,!1),r==null||r.forEach(d=>d.addEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.addEventListener("focusout",s,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",l,!1),r==null||r.forEach(d=>d.removeEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.removeEventListener("focusout",s,!1))}},[e,t]),Y(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Fc(e){return Xt(e)}function ot(e,t){return!e||!t?!1:t.some(u=>u.contains(e))}function Xt(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:u}of Ae.traverse(Ae.getTreeNode(t)))if(u&&ot(e,u.current))return!0;return!1}function Kg(e){return Xt(e,be)}function Hr(e,t){var u;let n=(u=Ae.getTreeNode(t))===null||u===void 0?void 0:u.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function We(e,t=!1){if(e!=null&&!t)try{ye(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Tc(e,t=!0){let u=e[0].previousElementSibling,n=vu(e),r=ke(n,{tabbable:t},e);r.currentNode=u;let a=r.nextNode();return t&&!a&&(n=vu(e),r=ke(n,{tabbable:!1},e),r.currentNode=u,a=r.nextNode()),a}function Pi(e,t=!0){We(Tc(e,t))}function Mg(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){be=e;const n=le(e.current?e.current[0]:void 0);!ot(Ke(n),be.current)&&e.current&&Pi(e.current)}u.current=!1},[e])}function zg(e,t,u){Y(()=>{if(t||u)return;let n=e.current;const r=le(n?n[0]:void 0);let a=i=>{let l=de(i);ot(l,e.current)?be=e:Fc(l)||(be=null)};return r.addEventListener("focusin",a,!1),n==null||n.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{r.removeEventListener("focusin",a,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,u])}function Yo(e){let t=Ae.getTreeNode(be);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Ng(e,t,u){const n=o.useRef(typeof document<"u"?Ke(le(e.current?e.current[0]:void 0)):null);Y(()=>{let r=e.current;const a=le(r?r[0]:void 0);if(!t||u)return;let i=()=>{(!be||Hr(be,e))&&ot(Ke(a),e.current)&&(be=e)};return a.addEventListener("focusin",i,!1),r==null||r.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),r==null||r.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,u]),Y(()=>{const r=le(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!vn(e)||i.isComposing)return;let l=r.activeElement;if(!Xt(l,e)||!Yo(e))return;let s=Ae.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=ke(r.body,{tabbable:!0});c.currentNode=l;let f=i.shiftKey?c.previousNode():c.nextNode();if((!d||!d.isConnected||d===r.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!Xt(f,e))&&d){c.currentNode=d;do f=i.shiftKey?c.previousNode():c.nextNode();while(Xt(f,e));i.preventDefault(),i.stopPropagation(),f?We(f,!0):Fc(d)?We(d,!0):l.blur()}};return u||r.addEventListener("keydown",a,!0),()=>{u||r.removeEventListener("keydown",a,!0)}},[e,t,u]),Y(()=>{const r=le(e.current?e.current[0]:void 0);if(!t)return;let a=Ae.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=Ae.getTreeNode(e);if(!l)return;let s=l.nodeToRestore,d=Ke(r);if(t&&s&&(d&&Xt(d,e)||d===r.body&&Yo(e))){let c=Ae.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let f=c.getTreeNode(e);for(;f;){if(f.nodeToRestore&&f.nodeToRestore.isConnected){Jo(f.nodeToRestore);return}f=f.parent}for(f=c.getTreeNode(e);f;){if(f.scopeRef&&f.scopeRef.current&&Ae.getTreeNode(f.scopeRef)){let p=Tc(f.scopeRef.current,!0);Jo(p);return}f=f.parent}}})}}}},[e,t])}function Jo(e){e.dispatchEvent(new CustomEvent(ki,{bubbles:!0,cancelable:!0}))&&We(e)}function ke(e,t,u){let n=t!=null&&t.tabbable?I$:rl,r=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,a=le(r),i=p$(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var s;return!(t==null||(s=t.from)===null||s===void 0)&&s.contains(l)?NodeFilter.FILTER_REJECT:n(l)&&wc(l)&&(!u||ot(l,u))&&(!(t!=null&&t.accept)||t.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(i.currentNode=t.from),i}function ba(e,t={}){return{focusNext(u={}){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||Ke(le(n)),d=ke(n,{tabbable:a,accept:l});n.contains(s)&&(d.currentNode=s);let c=d.nextNode();return!c&&i&&(d.currentNode=n,c=d.nextNode()),c&&We(c,!0),c},focusPrevious(u=t){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||Ke(le(n)),d=ke(n,{tabbable:a,accept:l});if(n.contains(s))d.currentNode=s;else{let f=qa(d);return f&&We(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=qa(d);if(!f)return null;c=f}return c&&We(c,!0),c??null},focusFirst(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,l=ke(n,{tabbable:r,accept:a}).nextNode();return l&&We(l,!0),l},focusLast(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,i=ke(n,{tabbable:r,accept:a}),l=qa(i);return l&&We(l,!0),l??null}}}function qa(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Bl{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,u,n){let r=this.fastMap.get(u??null);if(!r)return;let a=new Si({scopeRef:t});r.addChild(a),a.parent=r,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let u=this.fastMap.get(t);if(!u)return;let n=u.parent;for(let a of this.traverse())a!==u&&u.nodeToRestore&&a.nodeToRestore&&u.scopeRef&&u.scopeRef.current&&ot(a.nodeToRestore,u.scopeRef.current)&&(a.nodeToRestore=u.nodeToRestore);let r=u.children;n&&(n.removeChild(u),r.size>0&&r.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(u.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let u of t.children)yield*this.traverse(u)}clone(){var t;let u=new Bl;var n;for(let r of this.traverse())u.addTreeNode(r.scopeRef,(n=(t=r.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,r.nodeToRestore);return u}constructor(){this.fastMap=new Map,this.root=new Si({scopeRef:null}),this.fastMap.set(null,this.root)}}class Si{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Ae=new Bl;function he(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,r=o.useRef({isFocused:!1,isFocusVisible:t||_t()}),[a,i]=o.useState(!1),[l,s]=o.useState(()=>r.current.isFocused&&r.current.isFocusVisible),d=o.useCallback(()=>s(r.current.isFocused&&r.current.isFocusVisible),[]),c=o.useCallback(m=>{r.current.isFocused=m,i(m),d()},[d]);Q$(m=>{r.current.isFocusVisible=m,d()},[],{isTextInput:u});let{focusProps:f}=ca({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=ft({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:l,focusProps:n?p:f}}function Qo(e){let{children:t,focusClass:u,focusRingClass:n}=e,{isFocused:r,isFocusVisible:a,focusProps:i}=he(e),l=o.Children.only(t);return o.cloneElement(l,_(l.props,{...i,className:W({[u||""]:r,[n||""]:a})}))}function kl(e,t){let u=t==null?void 0:t.isDisabled,[n,r]=o.useState(!1);return Y(()=>{if(e!=null&&e.current&&!u){let a=()=>{if(e.current){let l=ke(e.current,{tabbable:!0});r(!!l.nextNode())}};a();let i=new MutationObserver(a);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),u?!1:n}function Ic(e){let t=_g(le(e));t!==e&&(t&&Vg(t,e),e&&Rc(e,t))}function Vg(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function Rc(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function _g(e){let t=Ke(e),u=t==null?void 0:t.getAttribute("aria-activedescendant");return u&&e.getElementById(u)||t}var Kc={};Kc={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var Mc={};Mc={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var zc={};zc={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var Nc={};Nc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Vc={};Vc={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var _c={};_c={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var jc={};jc={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var Lc={};Lc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var Oc={};Oc={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var Hc={};Hc={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var Uc={};Uc={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var Wc={};Wc={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var Zc={};Zc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var Gc={};Gc={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var qc={};qc={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var Yc={};Yc={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var Jc={};Jc={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var Qc={};Qc={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var Xc={};Xc={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var e4={};e4={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var t4={};t4={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var u4={};u4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var n4={};n4={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var r4={};r4={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var a4={};a4={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var i4={};i4={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var l4={};l4={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var o4={};o4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var s4={};s4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var d4={};d4={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var c4={};c4={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var f4={};f4={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var p4={};p4={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var m4={};m4={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var Jn={};Jn={"ar-AE":Kc,"bg-BG":Mc,"cs-CZ":zc,"da-DK":Nc,"de-DE":Vc,"el-GR":_c,"en-US":jc,"es-ES":Lc,"et-EE":Oc,"fi-FI":Hc,"fr-FR":Uc,"he-IL":Wc,"hr-HR":Zc,"hu-HU":Gc,"it-IT":qc,"ja-JP":Yc,"ko-KR":Jc,"lt-LT":Qc,"lv-LV":Xc,"nb-NO":e4,"nl-NL":t4,"pl-PL":u4,"pt-BR":n4,"pt-PT":r4,"ro-RO":a4,"ru-RU":i4,"sk-SK":l4,"sl-SI":o4,"sr-SP":s4,"sv-SE":d4,"tr-TR":c4,"uk-UA":f4,"zh-CN":p4,"zh-TW":m4};function b4(e){return e&&e.__esModule?e.default:e}const Pl=new WeakMap;function Vn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function jg(e){let t=De(b4(Jn),"@react-aria/calendar"),u,n;var r;"highlightedRange"in e?{start:u,end:n}=e.highlightedRange||{}:u=n=(r=e.value)!==null&&r!==void 0?r:void 0;let a=bt({weekday:"long",month:"long",year:"numeric",day:"numeric",era:Vn(u)||Vn(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!i&&u&&n)if(Fe(u,n)){let l=a.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=wi(a,t,u,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}return""},[u,n,i,e.timeZone,t,a])}function Ai(e,t,u,n){let r=De(b4(Jn),"@react-aria/calendar"),a=Vn(e)||Vn(t),i=bt({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u}),l=bt({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(Fe(e,Eu(e))){if(Fe(t,zr(e)))return i.format(e.toDate(u));if(Fe(t,zr(t)))return n?wi(i,r,e,t,u):i.formatRange(e.toDate(u),t.toDate(u))}return n?wi(l,r,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,i,l,r,u,n])}function wi(e,t,u,n,r){let a=e.formatRangeToParts(u.toDate(r),n.toDate(r)),i=-1;for(let d=0;d<a.length;d++){let c=a[d];if(c.source==="shared"&&c.type==="literal")i=d;else if(c.source==="endRange")break}let l="",s="";for(let d=0;d<a.length;d++)d<i?l+=a[d].value:d>i&&(s+=a[d].value);return t.format("dateRange",{startDate:l,endDate:s})}const h4=7e3;let et=null;function $t(e,t="assertive",u=h4){et?et.announce(e,t,u):(et=new Og,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?et.announce(e,t,u):setTimeout(()=>{et!=null&&et.isAttached()&&(et==null||et.announce(e,t,u))},100))}function Lg(e){et&&et.clear(e)}class Og{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let u=document.createElement("div");return u.setAttribute("role","log"),u.setAttribute("aria-live",t),u.setAttribute("aria-relevant","additions"),u}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,u="assertive",n=h4){var r,a;if(!this.node)return;let i=document.createElement("div");typeof t=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",t["aria-labelledby"])):i.textContent=t,u==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(i):(a=this.politeLog)===null||a===void 0||a.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}function Hg(e){return e&&e.__esModule?e.default:e}function $4(e,t){let u=De(Hg(Jn),"@react-aria/calendar"),n=U(e),r=Ai(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=Ai(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Sn(()=>{t.isFocused||$t(a)},[a]);let i=jg(t);Sn(()=>{i&&$t(i,"polite",4e3)},[i]);let l=it([!!e.errorMessage,e.isInvalid,e.validationState]);Pl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,d]=o.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&s&&(d(!1),t.setFocused(!0));let[f,p]=o.useState(!1),m=e.isDisabled||t.isPreviousVisibleRangeInvalid();m&&f&&(p(!1),t.setFocused(!0));let b=Dt({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:_(n,b,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":u.format("next"),isDisabled:c,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":u.format("previous"),isDisabled:m,onFocusChange:p},errorMessageProps:{id:l},title:r}}function Ug(e,t){return $4(e,t)}function Wg(e,t,u){let n=$4(e,t),r=o.useRef(!1),a=o.useRef(typeof window<"u"?window:null);return dt(a,"pointerdown",l=>{r.current=l.width===0&&l.height===0}),dt(a,"pointerup",l=>{if(r.current){r.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target;u.current&&u.current.contains(document.activeElement)&&(!u.current.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{u.current&&(!l.relatedTarget||!u.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},dt(u,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function Zg(e,t){let{startDate:u=t.visibleRange.start,endDate:n=t.visibleRange.end,firstDayOfWeek:r}=e,{direction:a}=pe(),i=b=>{switch(b.key){case"Enter":case" ":b.preventDefault(),t.selectFocusedDate();break;case"PageUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousSection(b.shiftKey);break;case"PageDown":b.preventDefault(),b.stopPropagation(),t.focusNextSection(b.shiftKey);break;case"End":b.preventDefault(),b.stopPropagation(),t.focusSectionEnd();break;case"Home":b.preventDefault(),b.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":b.preventDefault(),b.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(b.preventDefault(),t.setAnchorDate(null));break}},l=Ai(u,n,t.timeZone,!0),{ariaLabel:s,ariaLabelledBy:d}=Pl.get(t),c=Dt({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=bt({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=pe(),m=o.useMemo(()=>{let b=Mn(fl(t.timeZone),p,r);return[...new Array(7).keys()].map(g=>{let D=b.add({days:g}).toDate(t.timeZone);return f.format(D)})},[p,t.timeZone,f,r]);return{gridProps:_(c,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:i,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:m}}function Gg(e){return e&&e.__esModule?e.default:e}function qg(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:a,selectedDateDescription:i}=Pl.get(t),l=De(Gg(Jn),"@react-aria/calendar"),s=bt({weekday:"long",day:"numeric",month:"long",year:"numeric",era:Vn(n),timeZone:t.timeZone}),d=t.isSelected(n),c=t.isCellFocused(n);r=r||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!r&&!f,m=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&Fe(t.value,n));m&&(d=!0),n=Js(n,gi);let b=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),g=dl(n,t.timeZone),$=o.useMemo(()=>{let k="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Fe(n,t.value.start)||Fe(n,t.value.end))&&(k=i+", "),k+=s.format(b),g?k=l.format(d?"todayDateSelected":"todayDate",{date:k}):d&&(k=l.format("dateSelected",{date:k})),t.minValue&&Fe(n,t.minValue)?k+=", "+l.format("minimumDate"):t.maxValue&&Fe(n,t.maxValue)&&(k+=", "+l.format("maximumDate")),k},[s,b,l,d,g,n,t,i]),D="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?D=l.format("finishRangeSelectionPrompt"):D=l.format("startRangeSelectionPrompt"));let y=yt(D),x=o.useRef(!1),C=o.useRef(!1),B=o.useRef(void 0),{pressProps:P,isPressed:T}=Je({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(k){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(k.pointerType==="mouse"||k.pointerType==="touch")){if(t.highlightedRange&&!m){if(Fe(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}else if(Fe(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}}let M=()=>{t.setDragging(!0),B.current=void 0,t.selectDate(n),t.setFocusedDate(n),x.current=!0};k.pointerType==="touch"?B.current=setTimeout(M,200):M()}},onPressEnd(){C.current=!1,x.current=!1,clearTimeout(B.current),B.current=void 0},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(k){if(!t.isReadOnly&&("anchorDate"in t&&B.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(C.current)t.setAnchorDate(n);else if(t.anchorDate&&!x.current)t.selectDate(n),t.setFocusedDate(n);else if(k.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let M=n.add({days:1});t.isInvalid(M)&&(M=n.subtract({days:1})),t.isInvalid(M)||t.setFocusedDate(M)}else k.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),v;r||(v=Fe(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(_e(u.current),Mt()!=="pointer"&&document.activeElement===u.current&&Ve(u.current,{containingElement:Ne(u.current)}))},[c,u]);let F=bt({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),S=o.useMemo(()=>F.formatToParts(b).find(k=>k.type==="day").value,[F,b]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":m||void 0},buttonProps:_(P,{onFocus(){r||t.setFocusedDate(n)},tabIndex:v,role:"button","aria-disabled":!p||void 0,"aria-label":$,"aria-invalid":m||void 0,"aria-describedby":[m?a:void 0,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(k){"highlightDate"in t&&(k.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(k){"releasePointerCapture"in k.target&&k.target.releasePointerCapture(k.pointerId)},onContextMenu(k){k.preventDefault()}}),isPressed:T,isFocused:c,isSelected:d,isDisabled:r,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:m,formattedDate:S}}const ha={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},g4={...ha,customError:!0,valid:!1},Jt={isInvalid:!1,validationDetails:ha,validationErrors:[]},Yg=o.createContext({}),nu="__formValidationState"+Date.now();function Ct(e){if(e[nu]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}=e[nu];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}}return Jg(e)}function Jg(e){let{isInvalid:t,validationState:u,name:n,value:r,builtinValidation:a,validate:i,validationBehavior:l="aria"}=e;u&&(t||(t=u==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:g4}:null,d=o.useMemo(()=>{if(!i||r==null)return null;let S=Qg(i,r);return Xo(S)},[i,r]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=o.useContext(Yg),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(S=>Fi(c[S])):Fi(c[n]):[],[c,n]),[p,m]=o.useState(c),[b,g]=o.useState(!1);c!==p&&(m(c),g(!1));let $=o.useMemo(()=>Xo(b?[]:f),[b,f]),D=o.useRef(Jt),[y,x]=o.useState(Jt),C=o.useRef(Jt),B=()=>{if(!P)return;T(!1);let S=d||a||D.current;Ya(S,C.current)||(C.current=S,x(S))},[P,T]=o.useState(!1);return o.useEffect(B),{realtimeValidation:s||$||d||a||Jt,displayValidation:l==="native"?s||$||y:s||$||d||a||y,updateValidation(S){l==="aria"&&!Ya(y,S)?x(S):D.current=S},resetValidation(){let S=Jt;Ya(S,C.current)||(C.current=S,x(S)),l==="native"&&T(!1),g(!0)},commitValidation(){l==="native"&&T(!0),g(!0)}}}function Fi(e){return e?Array.isArray(e)?e:[e]:[]}function Qg(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return Fi(u)}return[]}function Xo(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:g4}:null}function Ya(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((u,n)=>u===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([u,n])=>t.validationDetails[u]===n)}function _n(...e){let t=new Set,u=!1,n={...ha};for(let i of e){var r,a;for(let l of i.validationErrors)t.add(l);u||(u=i.isInvalid);for(let l in n)(r=n)[a=l]||(r[a]=i.validationDetails[l])}return n.valid=!u,{isInvalid:u,validationErrors:[...t],validationDetails:n}}function Qn(e,t,u){let{validationBehavior:n,focus:r}=e;Y(()=>{if(n==="native"&&(u!=null&&u.current)&&!u.current.disabled){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";u.current.setCustomValidity(s),u.current.hasAttribute("title")||(u.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(eD(u.current))}});let a=ie(()=>{t.resetValidation()}),i=ie(s=>{var d;t.displayValidation.isInvalid||t.commitValidation();let c=u==null||(d=u.current)===null||d===void 0?void 0:d.form;if(!s.defaultPrevented&&u&&c&&tD(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),dd("keyboard")}s.preventDefault()}),l=ie(()=>{t.commitValidation()});o.useEffect(()=>{let s=u==null?void 0:u.current;if(!s)return;let d=s.form;return s.addEventListener("invalid",i),s.addEventListener("change",l),d==null||d.addEventListener("reset",a),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),d==null||d.removeEventListener("reset",a)}},[u,i,l,a,n])}function Xg(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function eD(e){return{isInvalid:!e.validity.valid,validationDetails:Xg(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function tD(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function uD(e,t,u){let{isDisabled:n=!1,isReadOnly:r=!1,value:a,name:i,children:l,"aria-label":s,"aria-labelledby":d,validationState:c="valid",isInvalid:f}=e,p=P=>{P.stopPropagation(),t.setSelected(P.target.checked)},m=l!=null,b=s!=null||d!=null;!m&&!b&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:$}=Je({isDisabled:n}),{pressProps:D,isPressed:y}=Je({onPress(){var P;t.toggle(),(P=u.current)===null||P===void 0||P.focus()},isDisabled:n||r}),{focusableProps:x}=Ht(e,u),C=_(g,x),B=U(e,{labelable:!0});return Un(u,t.isSelected,t.setSelected),{labelProps:_(D,{onClick:P=>P.preventDefault()}),inputProps:_(B,{"aria-invalid":f||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":r||void 0,onChange:p,disabled:n,...a==null?{}:{value:a},name:i,type:"checkbox",...C}),isSelected:t.isSelected,isPressed:$||y,isDisabled:n,isReadOnly:r,isInvalid:f||c==="invalid"}}function D4(e,t,u){let n=Ct({...e,value:t.isSelected}),{isInvalid:r,validationErrors:a,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=uD({...e,isInvalid:r},t,u);Qn(e,n,u);let{isIndeterminate:m,isRequired:b,validationBehavior:g="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!m)});let{pressProps:$}=Je({isDisabled:f||p,onPress(){let{[nu]:D}=e,{commitValidation:y}=D||n;y()}});return{labelProps:_(l,$),inputProps:{...s,checked:d,"aria-required":b&&g==="aria"||void 0,required:b&&g==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:r,validationErrors:a,validationDetails:i}}const v4=new WeakMap;function Sl(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":r,labelElementType:a="label"}=e;t=oe(t);let i=oe(),l={};u?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:a==="label"?t:void 0}):!n&&!r&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=Dt({id:t,"aria-label":r,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function ou(e){let{description:t,errorMessage:u,isInvalid:n,validationState:r}=e,{labelProps:a,fieldProps:i}=Sl(e),l=it([!!t,!!u,n,r]),s=it([!!t,!!u,n,r]);return i=_(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function nD(e,t){let{isDisabled:u,name:n,validationBehavior:r="aria"}=e,{isInvalid:a,validationErrors:i,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:d,descriptionProps:c,errorMessageProps:f}=ou({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||i});v4.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:r});let p=U(e,{labelable:!0}),{focusWithinProps:m}=ft({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:_(p,{role:"group","aria-disabled":u||void 0,...d,...m}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:a,validationErrors:i,validationDetails:l}}function y4(e={}){let{isReadOnly:t}=e,[u,n]=Me(e.isSelected,e.defaultSelected||!1,e.onChange);function r(i){t||n(i)}function a(){t||n(!u)}return{isSelected:u,setSelected:r,toggle:a}}function rD(e,t,u){const n=y4({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange($){$?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange($)}});let{name:r,descriptionId:a,errorMessageId:i,validationBehavior:l}=v4.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=Ct({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=o.useRef(Jt),f=()=>{t.setInvalid(e.value,d.isInvalid?d:c.current)};o.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:d,m=l==="native"?t.displayValidation:p;var b;let g=D4({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||r,isRequired:(b=e.isRequired)!==null&&b!==void 0?b:t.isRequired,validationBehavior:l,[nu]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation($){c.current=$,f()}}},n,u);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}const es={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Xn(e={}){let{style:t,isFocusable:u}=e,[n,r]=o.useState(!1),{focusWithinProps:a}=ft({isDisabled:!u,onFocusWithinChange:l=>r(l)}),i=o.useMemo(()=>n?t:t?{...es,...t}:es,[n]);return{visuallyHiddenProps:{...a,style:i}}}function ru(e){let{children:t,elementType:u="div",isFocusable:n,style:r,...a}=e,{visuallyHiddenProps:i}=Xn(e);return o.createElement(u,_(a,i),t)}function Al(e,t){let{inputElementType:u="input",isDisabled:n=!1,isRequired:r=!1,isReadOnly:a=!1,type:i="text",validationBehavior:l="aria"}=e,[s,d]=Me(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Ht(e,t),f=Ct({...e,value:s}),{isInvalid:p,validationErrors:m,validationDetails:b}=f.displayValidation,{labelProps:g,fieldProps:$,descriptionProps:D,errorMessageProps:y}=ou({...e,isInvalid:p,errorMessage:e.errorMessage||m}),x=U(e,{labelable:!0});const C={type:i,pattern:e.pattern};return Un(t,s,d),Qn(e,f,t),o.useEffect(()=>{if(t.current instanceof Ye(t.current).HTMLTextAreaElement){let B=t.current;Object.defineProperty(B,"defaultValue",{get:()=>B.value,set:()=>{},configurable:!0})}},[t]),{labelProps:g,inputProps:_(x,u==="input"?C:void 0,{disabled:n,readOnly:a,required:r&&l==="native","aria-required":r&&l==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:s,onChange:B=>d(B.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...$}),descriptionProps:D,errorMessageProps:y,isInvalid:p,validationErrors:m,validationDetails:b}}var x4={};x4={Empty:"فارغ"};var C4={};C4={Empty:"Изпразни"};var E4={};E4={Empty:"Prázdné"};var B4={};B4={Empty:"Tom"};var k4={};k4={Empty:"Leer"};var P4={};P4={Empty:"Άδειο"};var S4={};S4={Empty:"Empty"};var A4={};A4={Empty:"Vacío"};var w4={};w4={Empty:"Tühjenda"};var F4={};F4={Empty:"Tyhjä"};var T4={};T4={Empty:"Vide"};var I4={};I4={Empty:"ריק"};var R4={};R4={Empty:"Prazno"};var K4={};K4={Empty:"Üres"};var M4={};M4={Empty:"Vuoto"};var z4={};z4={Empty:"空"};var N4={};N4={Empty:"비어 있음"};var V4={};V4={Empty:"Tuščias"};var _4={};_4={Empty:"Tukšs"};var j4={};j4={Empty:"Tom"};var L4={};L4={Empty:"Leeg"};var O4={};O4={Empty:"Pusty"};var H4={};H4={Empty:"Vazio"};var U4={};U4={Empty:"Vazio"};var W4={};W4={Empty:"Gol"};var Z4={};Z4={Empty:"Не заполнено"};var G4={};G4={Empty:"Prázdne"};var q4={};q4={Empty:"Prazen"};var Y4={};Y4={Empty:"Prazno"};var J4={};J4={Empty:"Tomt"};var Q4={};Q4={Empty:"Boş"};var X4={};X4={Empty:"Пусто"};var e3={};e3={Empty:"空"};var t3={};t3={Empty:"空白"};var u3={};u3={"ar-AE":x4,"bg-BG":C4,"cs-CZ":E4,"da-DK":B4,"de-DE":k4,"el-GR":P4,"en-US":S4,"es-ES":A4,"et-EE":w4,"fi-FI":F4,"fr-FR":T4,"he-IL":I4,"hr-HR":R4,"hu-HU":K4,"it-IT":M4,"ja-JP":z4,"ko-KR":N4,"lt-LT":V4,"lv-LV":_4,"nb-NO":j4,"nl-NL":L4,"pl-PL":O4,"pt-BR":H4,"pt-PT":U4,"ro-RO":W4,"ru-RU":Z4,"sk-SK":G4,"sl-SI":q4,"sr-SP":Y4,"sv-SE":J4,"tr-TR":Q4,"uk-UA":X4,"zh-CN":e3,"zh-TW":t3};function aD(e){return e&&e.__esModule?e.default:e}function iD(e){const t=o.useRef(void 0);let{value:u,textValue:n,minValue:r,maxValue:a,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:d,onIncrementPage:c,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const g=De(aD(u3),"@react-aria/spinbutton"),$=()=>clearTimeout(t.current);o.useEffect(()=>()=>$(),[]);let D=k=>{if(!(k.ctrlKey||k.metaKey||k.shiftKey||k.altKey||l))switch(k.key){case"PageUp":if(c){k.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":d&&(k.preventDefault(),d==null||d());break;case"PageDown":if(p){k.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(k.preventDefault(),f==null||f());break;case"Home":m&&(k.preventDefault(),m==null||m());break;case"End":b&&(k.preventDefault(),b==null||b());break}},y=o.useRef(!1),x=()=>{y.current=!0},C=()=>{y.current=!1},B=n===""?g.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{y.current&&(Lg("assertive"),$t(B,"assertive"))},[B]);const P=ie(k=>{$(),d==null||d(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||u===void 0||isNaN(u)||u<a)&&P(60)},k)}),T=ie(k=>{$(),f==null||f(),t.current=window.setTimeout(()=>{(r===void 0||isNaN(r)||u===void 0||isNaN(u)||u>r)&&T(60)},k)});let v=k=>{k.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:S}=Hn();return{spinButtonProps:{role:"spinbutton","aria-valuenow":u!==void 0&&!isNaN(u)?u:void 0,"aria-valuetext":B,"aria-valuemin":r,"aria-valuemax":a,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:D,onFocus:x,onBlur:C},incrementButtonProps:{onPressStart:()=>{P(400),F(window,"contextmenu",v)},onPressEnd:()=>{$(),S()},onFocus:x,onBlur:C},decrementButtonProps:{onPressStart:()=>{T(400),F(window,"contextmenu",v)},onPressEnd:()=>{$(),S()},onFocus:x,onBlur:C}}}var n3={};n3={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var r3={};r3={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var a3={};a3={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var i3={};i3={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var l3={};l3={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var o3={};o3={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var s3={};s3={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var d3={};d3={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var c3={};c3={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var f3={};f3={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var p3={};p3={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var m3={};m3={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var b3={};b3={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var h3={};h3={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var $3={};$3={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var g3={};g3={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var D3={};D3={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var v3={};v3={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var y3={};y3={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var x3={};x3={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var C3={};C3={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var E3={};E3={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var B3={};B3={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var k3={};k3={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var P3={};P3={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var S3={};S3={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var A3={};A3={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var w3={};w3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var F3={};F3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var T3={};T3={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var I3={};I3={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var R3={};R3={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var K3={};K3={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var M3={};M3={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var z3={};z3={"ar-AE":n3,"bg-BG":r3,"cs-CZ":a3,"da-DK":i3,"de-DE":l3,"el-GR":o3,"en-US":s3,"es-ES":d3,"et-EE":c3,"fi-FI":f3,"fr-FR":p3,"he-IL":m3,"hr-HR":b3,"hu-HU":h3,"it-IT":$3,"ja-JP":g3,"ko-KR":D3,"lt-LT":v3,"lv-LV":y3,"nb-NO":x3,"nl-NL":C3,"pl-PL":E3,"pt-BR":B3,"pt-PT":k3,"ro-RO":P3,"ru-RU":S3,"sk-SK":A3,"sl-SI":w3,"sr-SP":F3,"sv-SE":T3,"tr-TR":I3,"uk-UA":R3,"zh-CN":K3,"zh-TW":M3};const ht={top:"top",bottom:"top",left:"left",right:"left"},Ur={top:"bottom",bottom:"top",left:"right",right:"left"},lD={top:"left",left:"top"},Ti={top:"height",left:"width"},N3={width:"totalWidth",height:"totalHeight"},mr={};let Re=typeof document<"u"?window.visualViewport:null;function ts(e){let t=0,u=0,n=0,r=0,a=0,i=0,l={};var s;let d=((s=Re==null?void 0:Re.scale)!==null&&s!==void 0?s:1)>1;if(e.tagName==="BODY"){let b=document.documentElement;n=b.clientWidth,r=b.clientHeight;var c;t=(c=Re==null?void 0:Re.width)!==null&&c!==void 0?c:n;var f;u=(f=Re==null?void 0:Re.height)!==null&&f!==void 0?f:r,l.top=b.scrollTop||e.scrollTop,l.left=b.scrollLeft||e.scrollLeft,Re&&(a=Re.offsetTop,i=Re.offsetLeft)}else({width:t,height:u,top:a,left:i}=Gu(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,r=u;if(el()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){l.top=0,l.left=0;var p;a=(p=Re==null?void 0:Re.pageTop)!==null&&p!==void 0?p:0;var m;i=(m=Re==null?void 0:Re.pageLeft)!==null&&m!==void 0?m:0}return{width:t,height:u,totalWidth:n,totalHeight:r,scroll:l,top:a,left:i}}function oD(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function us(e,t,u,n,r,a,i){var l;let s=(l=r.scroll[e])!==null&&l!==void 0?l:0,d=n[Ti[e]],c=n.scroll[ht[e]]+a,f=d+n.scroll[ht[e]]-a,p=t-s+i[e]-n[ht[e]],m=t-s+u+i[e]-n[ht[e]];return p<c?c-p:m>f?Math.max(f-m,c-p):0}function sD(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function ns(e){if(mr[e])return mr[e];let[t,u]=e.split(" "),n=ht[t]||"right",r=lD[n];ht[u]||(u="center");let a=Ti[n],i=Ti[r];return mr[e]={placement:t,crossPlacement:u,axis:n,crossAxis:r,size:a,crossSize:i},mr[e]}function Ja(e,t,u,n,r,a,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:m,size:b,crossSize:g}=n,$={};var D;$[m]=(D=e[m])!==null&&D!==void 0?D:0;var y,x,C,B;f==="center"?$[m]+=(((y=e[g])!==null&&y!==void 0?y:0)-((x=u[g])!==null&&x!==void 0?x:0))/2:f!==m&&($[m]+=((C=e[g])!==null&&C!==void 0?C:0)-((B=u[g])!==null&&B!==void 0?B:0)),$[m]+=a;const P=e[m]-u[g]+s+d,T=e[m]+e[g]-s-d;if($[m]=wn($[m],P,T),c===p){const v=l?i[b]:t[N3[b]];$[Ur[p]]=Math.floor(v-e[p]+r)}else $[p]=Math.floor(e[p]+e[b]+r);return $}function dD(e,t,u,n,r,a,i,l){const s=n?u.height:t[N3.height];var d;let c=e.top!=null?u.top+e.top:u.top+(s-((d=e.bottom)!==null&&d!==void 0?d:0)-i);var f,p,m,b,g,$;let D=l!=="top"?Math.max(0,t.height+t.top+((f=t.scroll.top)!==null&&f!==void 0?f:0)-c-(((p=r.top)!==null&&p!==void 0?p:0)+((m=r.bottom)!==null&&m!==void 0?m:0)+a)):Math.max(0,c+i-(t.top+((b=t.scroll.top)!==null&&b!==void 0?b:0))-(((g=r.top)!==null&&g!==void 0?g:0)+(($=r.bottom)!==null&&$!==void 0?$:0)+a));return Math.min(t.height-a*2,D)}function rs(e,t,u,n,r,a){let{placement:i,axis:l,size:s}=a;var d,c;if(i===l)return Math.max(0,u[l]-e[l]-((d=e.scroll[l])!==null&&d!==void 0?d:0)+t[l]-((c=n[l])!==null&&c!==void 0?c:0)-n[Ur[l]]-r);var f;return Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-u[l]-u[s]-((f=n[l])!==null&&f!==void 0?f:0)-n[Ur[l]]-r)}function cD(e,t,u,n,r,a,i,l,s,d,c,f,p,m,b,g){let $=ns(e),{size:D,crossAxis:y,crossSize:x,placement:C,crossPlacement:B}=$,P=Ja(t,l,u,$,c,f,d,p,b,g),T=c,v=rs(l,d,t,r,a+c,$);if(i&&n[D]>v){let Q=ns(`${Ur[C]} ${B}`),me=Ja(t,l,u,Q,c,f,d,p,b,g);rs(l,d,t,r,a+c,Q)>v&&($=Q,P=me,T=c)}let F="bottom";$.axis==="top"?$.placement==="top"?F="top":$.placement==="bottom"&&(F="bottom"):$.crossAxis==="top"&&($.crossPlacement==="top"?F="bottom":$.crossPlacement==="bottom"&&(F="top"));let S=us(y,P[y],u[x],l,s,a,d);P[y]+=S;let k=dD(P,l,d,p,r,a,u.height,F);m&&m<k&&(k=m),u.height=Math.min(u.height,k),P=Ja(t,l,u,$,T,f,d,p,b,g),S=us(y,P[y],u[x],l,s,a,d),P[y]+=S;let M={},E=t[y]+.5*t[x]-P[y]-r[ht[y]];const V=b/2+g;var R,w,I,A;const z=ht[y]==="left"?((R=r.left)!==null&&R!==void 0?R:0)+((w=r.right)!==null&&w!==void 0?w:0):((I=r.top)!==null&&I!==void 0?I:0)+((A=r.bottom)!==null&&A!==void 0?A:0),K=u[x]-z-b/2-g,N=t[y]+b/2-(P[y]+r[ht[y]]),H=t[y]+t[x]-b/2-(P[y]+r[ht[y]]),G=wn(E,N,H);return M[y]=wn(G,V,K),{position:P,maxHeight:k,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:$.placement}}function fD(e){let{placement:t,targetNode:u,overlayNode:n,scrollNode:r,padding:a,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,m=n instanceof HTMLElement?pD(n):document.documentElement,b=m===document.documentElement;const g=window.getComputedStyle(m).position;let $=!!g&&g!=="static",D=b?Gu(u):as(u,m);if(!b){let{marginTop:M,marginLeft:E}=window.getComputedStyle(u);D.top+=parseInt(M,10)||0,D.left+=parseInt(E,10)||0}let y=Gu(n),x=sD(n);var C,B;y.width+=((C=x.left)!==null&&C!==void 0?C:0)+((B=x.right)!==null&&B!==void 0?B:0);var P,T;y.height+=((P=x.top)!==null&&P!==void 0?P:0)+((T=x.bottom)!==null&&T!==void 0?T:0);let v=oD(r),F=ts(l),S=ts(m),k=l.tagName==="BODY"?Gu(m):as(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(S.scroll.top=0,S.scroll.left=0),cD(t,D,y,v,x,a,i,F,S,k,s,d,$,c,f,p)}function Gu(e){let{top:t,left:u,width:n,height:r}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+a-l,left:u+i-s,width:n,height:r}}function as(e,t){let u=window.getComputedStyle(e),n;if(u.position==="fixed"){let{top:r,left:a,width:i,height:l}=e.getBoundingClientRect();n={top:r,left:a,width:i,height:l}}else{n=Gu(e);let r=Gu(t),a=window.getComputedStyle(t);r.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(u.marginTop,10)||0,n.left-=parseInt(u.marginLeft,10)||0,n}function pD(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!is(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!is(t);)t=t.parentElement;return t||document.documentElement}function is(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const V3=new WeakMap;function mD(e){let{triggerRef:t,isOpen:u,onClose:n}=e;o.useEffect(()=>{if(!u||n===null)return;let r=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current)||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)return;let l=n||V3.get(t.current);l&&l()};return window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("scroll",r,!0)}},[u,n,t])}let Ee=typeof document<"u"?window.visualViewport:null;function wl(e){let{direction:t}=pe(),{arrowSize:u=0,targetRef:n,overlayRef:r,scrollRef:a=r,placement:i="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:c=0,crossOffset:f=0,shouldUpdatePosition:p=!0,isOpen:m=!0,onClose:b,maxHeight:g,arrowBoundaryOffset:$=0}=e,[D,y]=o.useState(null),x=[p,i,r.current,n.current,a.current,l,s,d,c,f,m,t,g,$,u],C=o.useRef(Ee==null?void 0:Ee.scale);o.useEffect(()=>{m&&(C.current=Ee==null?void 0:Ee.scale)},[m]);let B=o.useCallback(()=>{if(p===!1||!m||!r.current||!n.current||!d||(Ee==null?void 0:Ee.scale)!==C.current)return;let S=null;if(a.current&&a.current.contains(document.activeElement)){var k;let A=(k=document.activeElement)===null||k===void 0?void 0:k.getBoundingClientRect(),z=a.current.getBoundingClientRect();var M;if(S={type:"top",offset:((M=A==null?void 0:A.top)!==null&&M!==void 0?M:0)-z.top},S.offset>z.height/2){S.type="bottom";var E;S.offset=((E=A==null?void 0:A.bottom)!==null&&E!==void 0?E:0)-z.bottom}}let V=r.current;if(!g&&r.current){var R;V.style.top="0px",V.style.bottom="";var w;V.style.maxHeight=((w=(R=window.visualViewport)===null||R===void 0?void 0:R.height)!==null&&w!==void 0?w:window.innerHeight)+"px"}let I=fD({placement:hD(i,t),overlayNode:r.current,targetNode:n.current,scrollNode:a.current||r.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:g,arrowSize:u,arrowBoundaryOffset:$});if(I.position){if(V.style.top="",V.style.bottom="",V.style.left="",V.style.right="",Object.keys(I.position).forEach(A=>V.style[A]=I.position[A]+"px"),V.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":"",S&&document.activeElement&&a.current){let A=document.activeElement.getBoundingClientRect(),z=a.current.getBoundingClientRect(),K=A[S.type]-z[S.type];a.current.scrollTop+=K-S.offset}y(I)}},x);Y(B,x),bD(B),Ju({ref:r,onResize:B}),Ju({ref:n,onResize:B});let P=o.useRef(!1);Y(()=>{let S,k=()=>{P.current=!0,clearTimeout(S),S=setTimeout(()=>{P.current=!1},500),B()},M=()=>{P.current&&k()};return Ee==null||Ee.addEventListener("resize",k),Ee==null||Ee.addEventListener("scroll",M),()=>{Ee==null||Ee.removeEventListener("resize",k),Ee==null||Ee.removeEventListener("scroll",M)}},[B]);let T=o.useCallback(()=>{P.current||b==null||b()},[b,P]);mD({triggerRef:n,isOpen:m,onClose:b&&T});var v,F;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...D==null?void 0:D.position,maxHeight:(v=D==null?void 0:D.maxHeight)!==null&&v!==void 0?v:"100vh"}},placement:(F=D==null?void 0:D.placement)!==null&&F!==void 0?F:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:D==null?void 0:D.arrowOffsetLeft,top:D==null?void 0:D.arrowOffsetTop}},updatePosition:B}}function bD(e){Y(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function hD(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const mt=[];function Fl(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:r,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>{if(r&&!mt.includes(t))return mt.push(t),()=>{let b=mt.indexOf(t);b>=0&&mt.splice(b,1)}},[r,t]);let s=()=>{mt[mt.length-1]===t&&u&&u()},d=b=>{(!l||l(b.target))&&mt[mt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},c=b=>{(!l||l(b.target))&&(mt[mt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),s())},f=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),s())};n6({ref:t,onInteractOutside:a&&r?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=ft({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||Kg(b.relatedTarget)||(!l||l(b.relatedTarget))&&(u==null||u())}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function _3(e,t,u){let{type:n}=e,{isOpen:r}=t;o.useEffect(()=>{u&&u.current&&V3.set(u.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=oe();return{triggerProps:{"aria-haspopup":a,"aria-expanded":r,"aria-controls":r?i:void 0,onPress:t.toggle},overlayProps:{id:i}}}const Qa=typeof document<"u"&&window.visualViewport,$D=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let br=0,Xa;function j3(e={}){let{isDisabled:t}=e;Y(()=>{if(!t)return br++,br===1&&(On()?Xa=DD():Xa=gD()),()=>{br--,br===0&&Xa()}},[t])}function gD(){return lt(ju(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),ju(document.documentElement,"overflow","hidden"))}function DD(){let e,t,u=d=>{e=Ne(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=ju(e,"overscrollBehavior","contain"))},n=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&d.preventDefault()},r=()=>{t&&t()},a=d=>{let c=d.target;vD(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Qa&&(Qa.height<window.innerHeight?requestAnimationFrame(()=>{ls(c)}):Qa.addEventListener("resize",()=>ls(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=lt(dn(window,"scroll",d),ju(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),ju(document.documentElement,"overflow","hidden"),ju(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=lt(dn(document,"touchstart",u,{passive:!1,capture:!0}),dn(document,"touchmove",n,{passive:!1,capture:!0}),dn(document,"touchend",r,{passive:!1,capture:!0}),dn(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function ju(e,t,u){let n=e.style[t];return e.style[t]=u,()=>{e.style[t]=n}}function dn(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function ls(e){let t=document.scrollingElement||document.documentElement,u=e;for(;u&&u!==t;){let n=Ne(u);if(n!==document.documentElement&&n!==document.body&&n!==u){let r=n.getBoundingClientRect().top,a=u.getBoundingClientRect().top;a>r+u.clientHeight&&(n.scrollTop+=a-r)}u=n.parentElement}}function vD(e){return e instanceof HTMLInputElement&&!$D.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const Ii=o.createContext(null);function yD(e){let{children:t}=e,u=o.useContext(Ii),[n,r]=o.useState(0),a=o.useMemo(()=>({parent:u,modalCount:n,addModal(){r(i=>i+1),u&&u.addModal()},removeModal(){r(i=>i-1),u&&u.removeModal()}}),[u,n]);return o.createElement(Ii.Provider,{value:a},t)}function xD(){let e=o.useContext(Ii);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function CD(e){let{modalProviderProps:t}=xD();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function ED(e){return o.createElement(yD,null,o.createElement(CD,e))}function L3(e){let t=au(),{portalContainer:u=t?null:document.body,...n}=e;if(o.useEffect(()=>{if(u!=null&&u.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[u]),!u)return null;let r=o.createElement(ED,n);return Lt.createPortal(r,u)}var O3={};O3={dismiss:"تجاهل"};var H3={};H3={dismiss:"Отхвърляне"};var U3={};U3={dismiss:"Odstranit"};var W3={};W3={dismiss:"Luk"};var Z3={};Z3={dismiss:"Schließen"};var G3={};G3={dismiss:"Απόρριψη"};var q3={};q3={dismiss:"Dismiss"};var Y3={};Y3={dismiss:"Descartar"};var J3={};J3={dismiss:"Lõpeta"};var Q3={};Q3={dismiss:"Hylkää"};var X3={};X3={dismiss:"Rejeter"};var ef={};ef={dismiss:"התעלם"};var tf={};tf={dismiss:"Odbaci"};var uf={};uf={dismiss:"Elutasítás"};var nf={};nf={dismiss:"Ignora"};var rf={};rf={dismiss:"閉じる"};var af={};af={dismiss:"무시"};var lf={};lf={dismiss:"Atmesti"};var of={};of={dismiss:"Nerādīt"};var sf={};sf={dismiss:"Lukk"};var df={};df={dismiss:"Negeren"};var cf={};cf={dismiss:"Zignoruj"};var ff={};ff={dismiss:"Descartar"};var pf={};pf={dismiss:"Dispensar"};var mf={};mf={dismiss:"Revocare"};var bf={};bf={dismiss:"Пропустить"};var hf={};hf={dismiss:"Zrušiť"};var $f={};$f={dismiss:"Opusti"};var gf={};gf={dismiss:"Odbaci"};var Df={};Df={dismiss:"Avvisa"};var vf={};vf={dismiss:"Kapat"};var yf={};yf={dismiss:"Скасувати"};var xf={};xf={dismiss:"取消"};var Cf={};Cf={dismiss:"關閉"};var Ef={};Ef={"ar-AE":O3,"bg-BG":H3,"cs-CZ":U3,"da-DK":W3,"de-DE":Z3,"el-GR":G3,"en-US":q3,"es-ES":Y3,"et-EE":J3,"fi-FI":Q3,"fr-FR":X3,"he-IL":ef,"hr-HR":tf,"hu-HU":uf,"it-IT":nf,"ja-JP":rf,"ko-KR":af,"lt-LT":lf,"lv-LV":of,"nb-NO":sf,"nl-NL":df,"pl-PL":cf,"pt-BR":ff,"pt-PT":pf,"ro-RO":mf,"ru-RU":bf,"sk-SK":hf,"sl-SI":$f,"sr-SP":gf,"sv-SE":Df,"tr-TR":vf,"uk-UA":yf,"zh-CN":xf,"zh-TW":Cf};function BD(e){return e&&e.__esModule?e.default:e}function Wr(e){let{onDismiss:t,...u}=e,n=De(BD(Ef),"@react-aria/overlays"),r=Dt(u,n.format("dismiss")),a=()=>{t&&t()};return o.createElement(ru,null,o.createElement("button",{...r,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let cn=new WeakMap,He=[];function Tl(e,t=document.body){let u=new Set(e),n=new Set,r=s=>{for(let p of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(p);let d=p=>{if(u.has(p)||p.parentElement&&n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of u)if(p.contains(m))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},c=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),f=d(s);if(f===NodeFilter.FILTER_ACCEPT&&a(s),f!==NodeFilter.FILTER_REJECT){let p=c.nextNode();for(;p!=null;)a(p),p=c.nextNode()}},a=s=>{var d;let c=(d=cn.get(s))!==null&&d!==void 0?d:0;s.getAttribute("aria-hidden")==="true"&&c===0||(c===0&&s.setAttribute("aria-hidden","true"),n.add(s),cn.set(s,c+1))};He.length&&He[He.length-1].disconnect(),r(t);let i=new MutationObserver(s=>{for(let d of s)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...u,...n].some(c=>c.contains(d.target))){for(let c of d.removedNodes)c instanceof Element&&(u.delete(c),n.delete(c));for(let c of d.addedNodes)(c instanceof HTMLElement||c instanceof SVGElement)&&(c.dataset.liveAnnouncer==="true"||c.dataset.reactAriaTopLayer==="true")?u.add(c):c instanceof Element&&r(c)}});i.observe(t,{childList:!0,subtree:!0});let l={visibleNodes:u,hiddenNodes:n,observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return He.push(l),()=>{i.disconnect();for(let s of n){let d=cn.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),cn.delete(s)):cn.set(s,d-1))}l===He[He.length-1]?(He.pop(),He.length&&He[He.length-1].observe()):He.splice(He.indexOf(l),1)}}function kD(e){let t=He[He.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}function PD(e,t){let{triggerRef:u,popoverRef:n,groupRef:r,isNonModal:a,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l,...s}=e,d=s.trigger==="SubmenuTrigger",{overlayProps:c,underlayProps:f}=Fl({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||d,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l},r??n),{overlayProps:p,arrowProps:m,placement:b}=wl({...s,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:a&&!d?t.close:null});return j3({isDisabled:a||!t.isOpen}),Y(()=>{if(t.isOpen&&n.current){var g,$;return a?kD((g=r==null?void 0:r.current)!==null&&g!==void 0?g:n.current):Tl([($=r==null?void 0:r.current)!==null&&$!==void 0?$:n.current])}},[a,t.isOpen,n,r]),{popoverProps:_(c,p),arrowProps:m,underlayProps:f,placement:b}}const SD=o.createContext({});function AD(){var e;return(e=o.useContext(SD))!==null&&e!==void 0?e:{}}const Bf=o.createContext(null);function Ri(e){let t=au(),{portalContainer:u=t?null:document.body,isExiting:n}=e,[r,a]=o.useState(!1),i=o.useMemo(()=>({contain:r,setContain:a}),[r,a]),{getContainer:l}=AD();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(Yn,{restoreFocus:!0,contain:(e.shouldContainFocus||r)&&!n},s)),s=o.createElement(Bf.Provider,{value:i},o.createElement(t6,null,s)),Lt.createPortal(s,u)}function kf(){let e=o.useContext(Bf),t=e==null?void 0:e.setContain;Y(()=>{t==null||t(!0)},[t])}function wD(e,t,u){let{overlayProps:n,underlayProps:r}=Fl({...e,isOpen:t.isOpen,onClose:t.close},u);return j3({isDisabled:!t.isOpen}),kf(),o.useEffect(()=>{if(t.isOpen&&u.current)return Tl([u.current])},[t.isOpen,u]),{modalProps:_(n),underlayProps:r}}const $a=new WeakMap;function FD(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Pf(e,t){let u=$a.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${FD(t)}`}function Ki(e){return xr()?e.altKey:e.ctrlKey}function Pr(e,t){var u,n;let r=`[data-key="${CSS.escape(String(t))}"]`,a=(u=e.current)===null||u===void 0?void 0:u.dataset.collection;return a&&(r=`[data-collection="${CSS.escape(a)}"]${r}`),(n=e.current)===null||n===void 0?void 0:n.querySelector(r)}const Sf=new WeakMap;function TD(e){let t=oe();return Sf.set(e,t),t}function ID(e){return Sf.get(e)}const RD=1e3;function Af(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,a=i=>{let l=KD(i.key);if(!(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))){if(l===" "&&r.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),r.search+=l,t.getKeyForSearch!=null){let s=t.getKeyForSearch(r.search,u.focusedKey);s==null&&(s=t.getKeyForSearch(r.search)),s!=null&&(u.setFocusedKey(s),n&&n(s))}clearTimeout(r.timeout),r.timeout=setTimeout(()=>{r.search=""},RD)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function KD(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ga(e){let{selectionManager:t,keyboardDelegate:u,ref:n,autoFocus:r=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n,linkBehavior:b="action"}=e,{direction:g}=pe(),$=Pu(),D=R=>{var w;if(R.altKey&&R.key==="Tab"&&R.preventDefault(),!(!((w=n.current)===null||w===void 0)&&w.contains(R.target)))return;const I=(j,O)=>{if(j!=null){if(t.isLink(j)&&b==="selection"&&s&&!Ki(R)){Lt.flushSync(()=>{t.setFocusedKey(j,O)});let q=Pr(n,j),ne=t.getItemProps(j);q&&$.open(q,R,ne.href,ne.routerOptions);return}if(t.setFocusedKey(j,O),t.isLink(j)&&b==="override")return;R.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&!Ki(R)&&t.replaceSelection(j)}};switch(R.key){case"ArrowDown":if(u.getKeyBelow){var A,z,K;let j=t.focusedKey!=null?(A=u.getKeyBelow)===null||A===void 0?void 0:A.call(u,t.focusedKey):(z=u.getFirstKey)===null||z===void 0?void 0:z.call(u);j==null&&a&&(j=(K=u.getFirstKey)===null||K===void 0?void 0:K.call(u,t.focusedKey)),j!=null&&(R.preventDefault(),I(j))}break;case"ArrowUp":if(u.getKeyAbove){var N,H,G;let j=t.focusedKey!=null?(N=u.getKeyAbove)===null||N===void 0?void 0:N.call(u,t.focusedKey):(H=u.getLastKey)===null||H===void 0?void 0:H.call(u);j==null&&a&&(j=(G=u.getLastKey)===null||G===void 0?void 0:G.call(u,t.focusedKey)),j!=null&&(R.preventDefault(),I(j))}break;case"ArrowLeft":if(u.getKeyLeftOf){var Q,me,ue;let j=t.focusedKey!=null?(Q=u.getKeyLeftOf)===null||Q===void 0?void 0:Q.call(u,t.focusedKey):null;j==null&&a&&(j=g==="rtl"?(me=u.getFirstKey)===null||me===void 0?void 0:me.call(u,t.focusedKey):(ue=u.getLastKey)===null||ue===void 0?void 0:ue.call(u,t.focusedKey)),j!=null&&(R.preventDefault(),I(j,g==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var se,L,ee;let j=t.focusedKey!=null?(se=u.getKeyRightOf)===null||se===void 0?void 0:se.call(u,t.focusedKey):null;j==null&&a&&(j=g==="rtl"?(L=u.getLastKey)===null||L===void 0?void 0:L.call(u,t.focusedKey):(ee=u.getFirstKey)===null||ee===void 0?void 0:ee.call(u,t.focusedKey)),j!=null&&(R.preventDefault(),I(j,g==="rtl"?"last":"first"))}break;case"Home":if(u.getFirstKey){if(t.focusedKey===null&&R.shiftKey)return;R.preventDefault();let j=u.getFirstKey(t.focusedKey,Nu(R));t.setFocusedKey(j),j!=null&&(Nu(R)&&R.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j))}break;case"End":if(u.getLastKey){if(t.focusedKey===null&&R.shiftKey)return;R.preventDefault();let j=u.getLastKey(t.focusedKey,Nu(R));t.setFocusedKey(j),j!=null&&(Nu(R)&&R.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j))}break;case"PageDown":if(u.getKeyPageBelow&&t.focusedKey!=null){let j=u.getKeyPageBelow(t.focusedKey);j!=null&&(R.preventDefault(),I(j))}break;case"PageUp":if(u.getKeyPageAbove&&t.focusedKey!=null){let j=u.getKeyPageAbove(t.focusedKey);j!=null&&(R.preventDefault(),I(j))}break;case"a":Nu(R)&&t.selectionMode==="multiple"&&l!==!0&&(R.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(R.stopPropagation(),R.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(R.shiftKey)n.current.focus();else{let j=ke(n.current,{tabbable:!0}),O,q;do q=j.lastChild(),q&&(O=q);while(q);O&&!O.contains(document.activeElement)&&_e(O)}break}}},y=o.useRef({top:0,left:0});dt(m,"scroll",p?void 0:()=>{var R,w,I,A;y.current={top:(I=(R=m.current)===null||R===void 0?void 0:R.scrollTop)!==null&&I!==void 0?I:0,left:(A=(w=m.current)===null||w===void 0?void 0:w.scrollLeft)!==null&&A!==void 0?A:0}});let x=R=>{if(t.isFocused){R.currentTarget.contains(R.target)||t.setFocused(!1);return}if(R.currentTarget.contains(R.target)){if(t.setFocused(!0),t.focusedKey==null){var w,I;let K=H=>{H!=null&&(t.setFocusedKey(H),s&&!t.isSelected(H)&&t.replaceSelection(H))},N=R.relatedTarget;var A,z;N&&R.currentTarget.compareDocumentPosition(N)&Node.DOCUMENT_POSITION_FOLLOWING?K((A=t.lastSelectedKey)!==null&&A!==void 0?A:(w=u.getLastKey)===null||w===void 0?void 0:w.call(u)):K((z=t.firstSelectedKey)!==null&&z!==void 0?z:(I=u.getFirstKey)===null||I===void 0?void 0:I.call(u))}else!p&&m.current&&(m.current.scrollTop=y.current.top,m.current.scrollLeft=y.current.left);if(t.focusedKey!=null&&m.current){let K=Pr(n,t.focusedKey);K instanceof HTMLElement&&(!K.contains(document.activeElement)&&!c&&_e(K),Mt()==="keyboard"&&Ve(K,{containingElement:n.current}))}}},C=R=>{R.currentTarget.contains(R.relatedTarget)||t.setFocused(!1)},B=o.useRef(!1);dt(n,w$,c?R=>{let{detail:w}=R;R.stopPropagation(),t.setFocused(!0),(w==null?void 0:w.focusStrategy)==="first"&&(B.current=!0)}:void 0);let P=ie(()=>{var R,w;let I=(w=(R=u.getFirstKey)===null||R===void 0?void 0:R.call(u))!==null&&w!==void 0?w:null;I==null?(Ic(n.current),t.collection.size>0&&(B.current=!1)):(t.setFocusedKey(I),B.current=!1)});lo(()=>{B.current&&P()},[t.collection,P]);let T=ie(()=>{t.collection.size>0&&(B.current=!1)});lo(()=>{T()},[t.focusedKey,T]),dt(n,A$,c?R=>{var w;R.stopPropagation(),t.setFocused(!1),!((w=R.detail)===null||w===void 0)&&w.clearFocusKey&&t.setFocusedKey(null)}:void 0);const v=o.useRef(r),F=o.useRef(!1);o.useEffect(()=>{if(v.current){var R,w;let z=null;var I;r==="first"&&(z=(I=(R=u.getFirstKey)===null||R===void 0?void 0:R.call(u))!==null&&I!==void 0?I:null);var A;r==="last"&&(z=(A=(w=u.getLastKey)===null||w===void 0?void 0:w.call(u))!==null&&A!==void 0?A:null);let K=t.selectedKeys;if(K.size){for(let N of K)if(t.canSelectItem(N)){z=N;break}}t.setFocused(!0),t.setFocusedKey(z),z==null&&!c&&n.current&&ye(n.current),t.collection.size>0&&(v.current=!1,F.current=!0)}});let S=o.useRef(t.focusedKey);o.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==S.current||F.current)&&m.current&&n.current){let R=Mt(),w=Pr(n,t.focusedKey);if(!(w instanceof HTMLElement))return;(R==="keyboard"||F.current)&&(Ys(m.current,w),R!=="virtual"&&Ve(w,{containingElement:n.current}))}!c&&t.isFocused&&t.focusedKey==null&&S.current!=null&&n.current&&ye(n.current),S.current=t.focusedKey,F.current=!1}),dt(n,"react-aria-focus-scope-restore",R=>{R.preventDefault(),t.setFocused(!0)});let k={onKeyDown:D,onFocus:x,onBlur:C,onMouseDown(R){m.current===R.target&&R.preventDefault()}},{typeSelectProps:M}=Af({keyboardDelegate:u,selectionManager:t});d||(k=_(M,k));let E;c||(E=t.focusedKey==null?0:-1);let V=TD(t.collection);return{collectionProps:_(k,{tabIndex:E,"data-collection":V})}}function un(e){let{id:t,selectionManager:u,key:n,ref:r,shouldSelectOnPressUp:a,shouldUseVirtualFocus:i,focus:l,isDisabled:s,onAction:d,allowsDifferentPressOrigin:c,linkBehavior:f="action"}=e,p=Pu();t=oe(t);let m=A=>{if(A.pointerType==="keyboard"&&Ki(A))u.toggleSelection(n);else{if(u.selectionMode==="none")return;if(u.isLink(n)){if(f==="selection"&&r.current){let z=u.getItemProps(n);p.open(r.current,A,z.href,z.routerOptions),u.setSelectedKeys(u.selectedKeys);return}else if(f==="override"||f==="none")return}u.selectionMode==="single"?u.isSelected(n)&&!u.disallowEmptySelection?u.toggleSelection(n):u.replaceSelection(n):A&&A.shiftKey?u.extendSelection(n):u.selectionBehavior==="toggle"||A&&(Nu(A)||A.pointerType==="touch"||A.pointerType==="virtual")?u.toggleSelection(n):u.replaceSelection(n)}};o.useEffect(()=>{n===u.focusedKey&&u.isFocused&&(i?Ic(r.current):l?l():document.activeElement!==r.current&&r.current&&ye(r.current))},[r,n,u.focusedKey,u.childFocusStrategy,u.isFocused,i]),s=s||u.isDisabled(n);let b={};!i&&!s?b={tabIndex:n===u.focusedKey?0:-1,onFocus(A){A.target===r.current&&u.setFocusedKey(n)}}:s&&(b.onMouseDown=A=>{A.preventDefault()});let g=u.isLink(n)&&f==="override",$=u.isLink(n)&&f!=="selection"&&f!=="none",D=!s&&u.canSelectItem(n)&&!g,y=(d||$)&&!s,x=y&&(u.selectionBehavior==="replace"?!D:!D||u.isEmpty),C=y&&D&&u.selectionBehavior==="replace",B=x||C,P=o.useRef(null),T=B&&D,v=o.useRef(!1),F=o.useRef(!1),S=A=>{if(d&&d(),$&&r.current){let z=u.getItemProps(n);p.open(r.current,A,z.href,z.routerOptions)}},k={};a?(k.onPressStart=A=>{P.current=A.pointerType,v.current=T,A.pointerType==="keyboard"&&(!B||ss())&&m(A)},c?(k.onPressUp=x?void 0:A=>{A.pointerType==="mouse"&&D&&m(A)},k.onPress=x?S:A=>{A.pointerType!=="keyboard"&&A.pointerType!=="mouse"&&D&&m(A)}):k.onPress=A=>{if(x||C&&A.pointerType!=="mouse"){if(A.pointerType==="keyboard"&&!os())return;S(A)}else A.pointerType!=="keyboard"&&D&&m(A)}):(k.onPressStart=A=>{P.current=A.pointerType,v.current=T,F.current=x,D&&(A.pointerType==="mouse"&&!x||A.pointerType==="keyboard"&&(!y||ss()))&&m(A)},k.onPress=A=>{(A.pointerType==="touch"||A.pointerType==="pen"||A.pointerType==="virtual"||A.pointerType==="keyboard"&&B&&os()||A.pointerType==="mouse"&&F.current)&&(B?S(A):D&&m(A))}),b["data-collection"]=ID(u.collection),b["data-key"]=n,k.preventFocusOnPress=i,i&&(k=_(k,{onPressStart(A){A.pointerType!=="touch"&&(u.setFocused(!0),u.setFocusedKey(n))},onPress(A){A.pointerType==="touch"&&(u.setFocused(!0),u.setFocusedKey(n))}}));let{pressProps:M,isPressed:E}=Je(k),V=C?A=>{P.current==="mouse"&&(A.stopPropagation(),A.preventDefault(),S(A))}:void 0,{longPressProps:R}=pd({isDisabled:!T,onLongPress(A){A.pointerType==="touch"&&(m(A),u.setSelectionBehavior("toggle"))}}),w=A=>{P.current==="touch"&&v.current&&A.preventDefault()},I=u.isLink(n)?A=>{tu.isOpening||A.preventDefault()}:void 0;return{itemProps:_(b,D||x||i?M:{},T?R:{},{onDoubleClick:V,onDragStartCapture:w,onClick:I,id:t},i?{onMouseDown:A=>A.preventDefault()}:void 0),isPressed:E,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:D,hasAction:B}}function os(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function ss(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class Mi{getItemRect(t){let u=this.ref.current;if(!u)return null;let n=t!=null?Pr(this.ref,t):null;if(!n)return null;let r=u.getBoundingClientRect(),a=n.getBoundingClientRect();return{x:a.left-r.left+u.scrollLeft,y:a.top-r.top+u.scrollTop,width:a.width,height:a.height}}getContentSize(){let t=this.ref.current;var u,n;return{width:(u=t==null?void 0:t.scrollWidth)!==null&&u!==void 0?u:0,height:(n=t==null?void 0:t.scrollHeight)!==null&&n!==void 0?n:0}}getVisibleRect(){let t=this.ref.current;var u,n,r,a;return{x:(u=t==null?void 0:t.scrollLeft)!==null&&u!==void 0?u:0,y:(n=t==null?void 0:t.scrollTop)!==null&&n!==void 0?n:0,width:(r=t==null?void 0:t.offsetWidth)!==null&&r!==void 0?r:0,height:(a=t==null?void 0:t.offsetHeight)!==null&&a!==void 0?a:0}}constructor(t){this.ref=t}}class nn{isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,u){let n=t;for(;n!=null;){let r=this.collection.getItem(n);if((r==null?void 0:r.type)==="item"&&!this.isDisabled(r))return n;n=u(n)}return null}getNextKey(t){let u=t;return u=this.collection.getKeyAfter(u),this.findNextNonDisabled(u,n=>this.collection.getKeyAfter(n))}getPreviousKey(t){let u=t;return u=this.collection.getKeyBefore(u),this.findNextNonDisabled(u,n=>this.collection.getKeyBefore(n))}findKey(t,u,n){let r=t,a=this.layoutDelegate.getItemRect(r);if(!a||r==null)return null;let i=a;do{if(r=u(r),r==null)break;a=this.layoutDelegate.getItemRect(r)}while(a&&n(i,a)&&r!=null);return r}isSameRow(t,u){return t.y===u.y||t.x!==u.x}isSameColumn(t,u){return t.x===u.x||t.y!==u.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getNextKey(u),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getPreviousKey(u),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,u){return u?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let u=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let u=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyAfter(u))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyBefore(u))}getKeyPageAbove(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!An(u))return this.getFirstKey();let r=t;if(this.orientation==="horizontal"){let a=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getFirstKey()}getKeyPageBelow(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!An(u))return this.getLastKey();let r=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getLastKey()}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u||this.getFirstKey();for(;r!=null;){let a=n.getItem(r);if(!a)return null;let i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return r;r=this.getNextKey(r)}return null}constructor(...t){if(t.length===1){let u=t[0];this.collection=u.collection,this.ref=u.ref,this.collator=u.collator,this.disabledKeys=u.disabledKeys||new Set,this.disabledBehavior=u.disabledBehavior||"all",this.orientation=u.orientation||"vertical",this.direction=u.direction,this.layout=u.layout||"stack",this.layoutDelegate=u.layoutDelegate||new Mi(u.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new Mi(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function Il(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:r,keyboardDelegate:a,layoutDelegate:i}=e,l=tn({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>a||new nn({collection:u,disabledKeys:n,disabledBehavior:s,ref:r,collator:l,layoutDelegate:i}),[a,i,u,n,r,l,s]),{collectionProps:c}=ga({...e,ref:r,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function wf(e,t,u){let n=U(e,{labelable:!0}),r=e.selectionBehavior||"toggle",a=e.linkBehavior||(r==="replace"?"action":"override");r==="toggle"&&a==="action"&&(a="override");let{listProps:i}=Il({...e,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=ft({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=oe(e.id);$a.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:d,fieldProps:c}=Sl({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:_(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",..._(c,i)})}}function Ff(e){return null}Ff.getCollectionNode=function*(t,u){let{childItems:n,title:r,children:a}=t,i=t.title||t.children,l=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!l&&!(u!=null&&u.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:l,"aria-label":t["aria-label"],hasChildNodes:MD(t),*childNodes(){if(n)for(let s of n)yield{type:"item",value:s};else if(r){let s=[];o.Children.forEach(a,d=>{s.push({type:"item",element:d})}),yield*s}}}};function MD(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&o.Children.count(e.children)>0)}let ds=Ff;function Tf(e){return null}Tf.getCollectionNode=function*(t){let{children:u,title:n,items:r}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof u=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let a of r)yield{type:"item",value:a,renderer:u}}else{let a=[];o.Children.forEach(u,i=>{a.push({type:"item",element:i})}),yield*a}}}};let zD=Tf;class ND{build(t,u){return this.context=u,cs(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:u,items:n}=t;if(o.isValidElement(u)&&u.type===o.Fragment)yield*this.iterateCollection({children:u.props.children,items:n});else if(typeof u=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let r=0;for(let a of n)yield*this.getFullNode({value:a,index:r},{renderer:u}),r++}else{let r=[];o.Children.forEach(u,i=>{i&&r.push(i)});let a=0;for(let i of r){let l=this.getFullNode({element:i,index:a},{});for(let s of l)a++,yield s}}}getKey(t,u,n,r){if(t.key!=null)return t.key;if(u.type==="cell"&&u.key!=null)return`${r}${u.key}`;let a=u.value;if(a!=null){var i;let l=(i=a.key)!==null&&i!==void 0?i:a.id;if(l==null)throw new Error("No key found for item");return l}return r?`${r}.${u.index}`:`$.${u.index}`}getChildState(t,u){return{renderer:u.renderer||t.renderer}}*getFullNode(t,u,n,r){if(o.isValidElement(t.element)&&t.element.type===o.Fragment){let $=[];o.Children.forEach(t.element.props.children,y=>{$.push(y)});var a;let D=(a=t.index)!==null&&a!==void 0?a:0;for(const y of $)yield*this.getFullNode({element:y,index:D++},u,n,r);return}let i=t.element;if(!i&&t.value&&u&&u.renderer){let $=this.cache.get(t.value);if($&&(!$.shouldInvalidate||!$.shouldInvalidate(this.context))){$.index=t.index,$.parentKey=r?r.key:null,yield $;return}i=u.renderer(t.value)}if(o.isValidElement(i)){let $=i.type;if(typeof $!="function"&&typeof $.getCollectionNode!="function"){let C=i.type;throw new Error(`Unknown element <${C}> in collection.`)}let D=$.getCollectionNode(i.props,this.context);var l;let y=(l=t.index)!==null&&l!==void 0?l:0,x=D.next();for(;!x.done&&x.value;){let C=x.value;t.index=y;var s;let B=(s=C.key)!==null&&s!==void 0?s:null;B==null&&(B=C.element?null:this.getKey(i,t,u,n));let T=[...this.getFullNode({...C,key:B,index:y,wrapper:VD(t.wrapper,C.wrapper)},this.getChildState(u,C),n?`${n}${i.key}`:i.key,r)];for(let v of T){var d,c;v.value=(c=(d=C.value)!==null&&d!==void 0?d:t.value)!==null&&c!==void 0?c:null,v.value&&this.cache.set(v.value,v);var f;if(t.type&&v.type!==t.type)throw new Error(`Unsupported type <${ei(v.type)}> in <${ei((f=r==null?void 0:r.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${ei(t.type)}> is supported.`);y++,yield v}x=D.next(T)}return}if(t.key==null||t.type==null)return;let p=this;var m,b;let g={type:t.type,props:t.props,key:t.key,parentKey:r?r.key:null,value:(m=t.value)!==null&&m!==void 0?m:null,level:r?r.level+1:0,index:t.index,rendered:t.rendered,textValue:(b=t.textValue)!==null&&b!==void 0?b:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:cs(function*(){if(!t.hasChildNodes||!t.childNodes)return;let $=0;for(let D of t.childNodes()){D.key!=null&&(D.key=`${g.key}${D.key}`);let y=p.getFullNode({...D,index:$},p.getChildState(u,D),g.key,g);for(let x of y)$++,yield x}})};yield g}constructor(){this.cache=new WeakMap}}function cs(e){let t=[],u=null;return{*[Symbol.iterator](){for(let n of t)yield n;u||(u=e());for(let n of u)t.push(n),yield n}}}function VD(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function ei(e){return e[0].toUpperCase()+e.slice(1)}function Rl(e,t,u){let n=o.useMemo(()=>new ND,[]),{children:r,items:a,collection:i}=e;return o.useMemo(()=>{if(i)return i;let s=n.build({children:r,items:a},u);return t(s)},[n,r,a,i,u,t])}function we(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Tt(e){return yn(e,0)}function yn(e,t){if(t<0)return;let u=0;for(let n of e){if(u===t)return n;u++}}function Kt(e){let t;for(let u of e)t=u;return t}function ti(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...fs(e,t),t],r=[...fs(e,u),u],a=n.slice(0,r.length).findIndex((i,l)=>i!==r[l]);return a!==-1?(t=n[a],u=r[a],t.index-u.index):n.findIndex(i=>i===u)>=0?1:(r.findIndex(i=>i===t)>=0,-1)}function fs(e,t){let u=[],n=t;for(;(n==null?void 0:n.parentKey)!=null;)n=e.getItem(n.parentKey),n&&u.unshift(n);return u}const ps=new WeakMap;function Kl(e){let t=ps.get(e);if(t!=null)return t;let u=0,n=r=>{for(let a of r)a.type==="section"?n(we(a,e)):u++};return n(e),ps.set(e,u),u}function If(e,t,u){var n,r;let{key:a}=e,i=$a.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(a);var d;let c=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(a);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:i==null?void 0:i.shouldSelectOnPressUp;var m;let b=(m=e.shouldFocusOnHover)!==null&&m!==void 0?m:i==null?void 0:i.shouldFocusOnHover;var g;let $=(g=e.shouldUseVirtualFocus)!==null&&g!==void 0?g:i==null?void 0:i.shouldUseVirtualFocus;var D;let y=(D=e.isVirtualized)!==null&&D!==void 0?D:i==null?void 0:i.isVirtualized,x=it(),C=it(),B={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};gt()&&el()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=x,B["aria-describedby"]=C);let P=t.collection.getItem(a);if(y){let I=Number(P==null?void 0:P.index);B["aria-posinset"]=Number.isNaN(I)?void 0:I+1,B["aria-setsize"]=Kl(t.collection)}let T=i!=null&&i.onAction?()=>{var I;return i==null||(I=i.onAction)===null||I===void 0?void 0:I.call(i,a)}:void 0,v=Pf(t,a),{itemProps:F,isPressed:S,isFocused:k,hasAction:M,allowsSelection:E}=un({selectionManager:t.selectionManager,key:a,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&b,isVirtualized:y,shouldUseVirtualFocus:$,isDisabled:s,onAction:T||!(P==null||(n=P.props)===null||n===void 0)&&n.onAction?lt(P==null||(r=P.props)===null||r===void 0?void 0:r.onAction,T):void 0,linkBehavior:i==null?void 0:i.linkBehavior,id:v}),{hoverProps:V}=Ce({isDisabled:s||!b,onHoverStart(){_t()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),R=U(P==null?void 0:P.props);delete R.id;let w=oa(P==null?void 0:P.props);return{optionProps:{...B,..._(R,F,V,w),id:v},labelProps:{id:x},descriptionProps:{id:C},isFocused:k,isFocusVisible:k&&t.selectionManager.isFocused&&_t(),isSelected:c,isDisabled:s,isPressed:S,allowsSelection:E,hasAction:M}}function Rf(e){let{heading:t,"aria-label":u}=e,n=oe();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}var Kf={};Kf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Mf={};Mf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var zf={};zf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Nf={};Nf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Vf={};Vf={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var _f={};_f={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var jf={};jf={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Lf={};Lf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Of={};Of={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Hf={};Hf={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Uf={};Uf={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Wf={};Wf={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Zf={};Zf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Gf={};Gf={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var qf={};qf={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Yf={};Yf={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Jf={};Jf={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Qf={};Qf={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Xf={};Xf={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var ep={};ep={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var tp={};tp={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var up={};up={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var np={};np={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var rp={};rp={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var ap={};ap={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var ip={};ip={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var lp={};lp={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var op={};op={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var sp={};sp={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var dp={};dp={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var cp={};cp={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var fp={};fp={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var pp={};pp={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var mp={};mp={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var bp={};bp={"ar-AE":Kf,"bg-BG":Mf,"cs-CZ":zf,"da-DK":Nf,"de-DE":Vf,"el-GR":_f,"en-US":jf,"es-ES":Lf,"et-EE":Of,"fi-FI":Hf,"fr-FR":Uf,"he-IL":Wf,"hr-HR":Zf,"hu-HU":Gf,"it-IT":qf,"ja-JP":Yf,"ko-KR":Jf,"lt-LT":Qf,"lv-LV":Xf,"nb-NO":ep,"nl-NL":tp,"pl-PL":up,"pt-BR":np,"pt-PT":rp,"ro-RO":ap,"ru-RU":ip,"sk-SK":lp,"sl-SI":op,"sr-SP":sp,"sv-SE":dp,"tr-TR":cp,"uk-UA":fp,"zh-CN":pp,"zh-TW":mp};function _D(e){return e&&e.__esModule?e.default:e}function Ml(e,t,u){let{type:n="menu",isDisabled:r,trigger:a="press"}=e,i=oe(),{triggerProps:l,overlayProps:s}=_3({type:n},t,u),d=m=>{if(!r&&!(a==="longPress"&&!m.altKey)&&u&&u.current)switch(m.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break;default:"continuePropagation"in m&&m.continuePropagation()}},c=De(_D(bp),"@react-aria/menu"),{longPressProps:f}=pd({isDisabled:r||a!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={preventFocusOnPress:!0,onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!r&&(_e(m.target),t.open(m.pointerType==="virtual"?"first":null))},onPress(m){m.pointerType==="touch"&&!r&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?p:f,id:i,onKeyDown:d},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const hp=new WeakMap;function jD(e,t,u){let{shouldFocusWrap:n=!0,onKeyDown:r,onKeyUp:a,...i}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let l=U(e,{labelable:!0}),{listProps:s}=Il({...i,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return hp.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:_(l,{onKeyDown:r,onKeyUp:a},{role:"menu",...s,onKeyDown:d=>{var c;(d.key!=="Escape"||e.shouldUseVirtualFocus)&&((c=s.onKeyDown)===null||c===void 0||c.call(s,d))}})}}function LD(e,t,u){let{id:n,key:r,closeOnSelect:a,isVirtualized:i,"aria-haspopup":l,onPressStart:s,onPressUp:d,onPress:c,onPressChange:f,onPressEnd:p,onHoverStart:m,onHoverChange:b,onHoverEnd:g,onKeyDown:$,onKeyUp:D,onFocus:y,onFocusChange:x,onBlur:C,selectionManager:B=t.selectionManager}=e,P=!!l,T=P&&e["aria-expanded"]==="true";var v;let F=(v=e.isDisabled)!==null&&v!==void 0?v:B.isDisabled(r);var S;let k=(S=e.isSelected)!==null&&S!==void 0?S:B.isSelected(r),M=hp.get(t),E=t.collection.getItem(r),V=e.onClose||M.onClose,R=Pu(),w=re=>{var Zt;if(!P){if(!(E==null||(Zt=E.props)===null||Zt===void 0)&&Zt.onAction?E.props.onAction():e.onAction&&e.onAction(r),M.onAction){let cu=M.onAction;cu(r)}re.target instanceof HTMLAnchorElement&&E&&R.open(re.target,re,E.props.href,E.props.routerOptions)}},I="menuitem";P||(B.selectionMode==="single"?I="menuitemradio":B.selectionMode==="multiple"&&(I="menuitemcheckbox"));let A=it(),z=it(),K=it(),N={id:n,"aria-disabled":F||void 0,role:I,"aria-label":e["aria-label"],"aria-labelledby":A,"aria-describedby":[z,K].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};B.selectionMode!=="none"&&!P&&(N["aria-checked"]=k),i&&(N["aria-posinset"]=E==null?void 0:E.index,N["aria-setsize"]=Kl(t.collection));let H=re=>{re.pointerType==="keyboard"&&w(re),s==null||s(re)},G=()=>{!P&&V&&(a??(B.selectionMode!=="multiple"||B.isLink(r)))&&V()},Q=re=>{re.pointerType==="mouse"&&(w(re),G()),d==null||d(re)},me=re=>{re.pointerType!=="keyboard"&&re.pointerType!=="mouse"&&(w(re),G()),c==null||c(re)},{itemProps:ue,isFocused:se}=un({id:n,selectionManager:B,key:r,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:M.shouldUseVirtualFocus}),{pressProps:L,isPressed:ee}=Je({onPressStart:H,onPress:me,onPressUp:Q,onPressChange:f,onPressEnd:p,isDisabled:F}),{hoverProps:j}=Ce({isDisabled:F,onHoverStart(re){!_t()&&!(T&&l)&&(B.setFocused(!0),B.setFocusedKey(r)),m==null||m(re)},onHoverChange:b,onHoverEnd:g}),{keyboardProps:O}=cd({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":!F&&B.selectionMode==="none"&&!P&&a!==!1&&V&&V();break;case"Enter":!F&&a!==!1&&!P&&V&&V();break;default:P||re.continuePropagation(),$==null||$(re);break}},onKeyUp:D}),{focusProps:q}=ca({onBlur:C,onFocus:y,onFocusChange:x}),ne=U(E==null?void 0:E.props);delete ne.id;let Qe=oa(E==null?void 0:E.props);return{menuItemProps:{...N,..._(ne,Qe,P?{onFocus:ue.onFocus,"data-collection":ue["data-collection"],"data-key":ue["data-key"]}:ue,L,j,O,q,M.shouldUseVirtualFocus||P?{onMouseDown:re=>re.preventDefault()}:void 0),tabIndex:ue.tabIndex!=null&&T&&!M.shouldUseVirtualFocus?-1:ue.tabIndex},labelProps:{id:A},descriptionProps:{id:z},keyboardShortcutProps:{id:K},isFocused:se,isFocusVisible:se&&B.isFocused&&_t()&&!T,isSelected:k,isPressed:ee,isDisabled:F}}function OD(e){let{heading:t,"aria-label":u}=e,n=oe();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}function HD(e){return e&&e.__esModule?e.default:e}function UD(e,t){let{buttonRef:u,popoverRef:n,inputRef:r,listBoxRef:a,keyboardDelegate:i,layoutDelegate:l,shouldFocusWrap:s,isReadOnly:d,isDisabled:c}=e,f=o.useRef(null);u=u??f;let p=De(HD(z3),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:b}=Ml({type:"listbox",isDisabled:c||d},t,u);$a.set(t,{id:b.id});let{collection:g}=t,{disabledKeys:$}=t.selectionManager,D=o.useMemo(()=>i||new nn({collection:g,disabledKeys:$,ref:a,layoutDelegate:l}),[i,l,g,$,a]),{collectionProps:y}=ga({selectionManager:t.selectionManager,keyboardDelegate:D,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:r,isVirtualized:!0}),x=Pu(),C=O=>{if(!O.nativeEvent.isComposing)switch(O.key){case"Enter":case"Tab":if(t.isOpen&&O.key==="Enter"&&O.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let q=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(O.key==="Enter"&&q instanceof HTMLAnchorElement){let ne=t.collection.getItem(t.selectionManager.focusedKey);ne&&x.open(q,O,ne.props.href,ne.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&O.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},B=O=>{var q;let ne=(u==null?void 0:u.current)&&u.current===O.relatedTarget,Qe=(q=n.current)===null||q===void 0?void 0:q.contains(O.relatedTarget);ne||Qe||(e.onBlur&&e.onBlur(O),t.setFocused(!1))},P=O=>{t.isFocused||(e.onFocus&&e.onFocus(O),t.setFocused(!0))},{isInvalid:T,validationErrors:v,validationDetails:F}=t.displayValidation,{labelProps:S,inputProps:k,descriptionProps:M,errorMessageProps:E}=Al({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:lt(t.isOpen&&y.onKeyDown,C,e.onKeyDown),onBlur:B,value:t.inputValue,onFocus:P,autoComplete:"off",validate:void 0,[nu]:t},r),V=O=>{if(O.pointerType==="touch"){var q;(q=r.current)===null||q===void 0||q.focus(),t.toggle(null,"manual")}},R=O=>{if(O.pointerType!=="touch"){var q;(q=r.current)===null||q===void 0||q.focus(),t.toggle(O.pointerType==="keyboard"||O.pointerType==="virtual"?"first":null,"manual")}},w=Dt({id:m.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||S.id}),I=Dt({id:b.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||S.id}),A=o.useRef(0),z=O=>{if(c||d)return;if(O.timeStamp-A.current<500){var q;O.preventDefault(),(q=r.current)===null||q===void 0||q.focus();return}let ne=O.target.getBoundingClientRect(),Qe=O.changedTouches[0],re=Math.ceil(ne.left+.5*ne.width),Zt=Math.ceil(ne.top+.5*ne.height);if(Qe.clientX===re&&Qe.clientY===Zt){var cu;O.preventDefault(),(cu=r.current)===null||cu===void 0||cu.focus(),t.toggle(null,"manual"),A.current=O.timeStamp}},K=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var N;let H=(N=K==null?void 0:K.parentKey)!==null&&N!==void 0?N:null;var G;let Q=(G=t.selectionManager.focusedKey)!==null&&G!==void 0?G:null,me=o.useRef(H),ue=o.useRef(Q);o.useEffect(()=>{if(xr()&&K!=null&&Q!=null&&Q!==ue.current){let q=t.selectionManager.isSelected(Q),ne=H!=null?t.collection.getItem(H):null,Qe=(ne==null?void 0:ne["aria-label"])||(typeof(ne==null?void 0:ne.rendered)=="string"?ne.rendered:"")||"";var O;let re=p.format("focusAnnouncement",{isGroupChange:(O=ne&&H!==me.current)!==null&&O!==void 0?O:!1,groupTitle:Qe,groupCount:ne?[...we(ne,t.collection)].length:0,optionText:K["aria-label"]||K.textValue||"",isSelected:q});$t(re)}me.current=H,ue.current=Q});let se=Kl(t.collection),L=o.useRef(se),ee=o.useRef(t.isOpen);o.useEffect(()=>{let O=t.isOpen!==ee.current&&(t.selectionManager.focusedKey==null||xr());if(t.isOpen&&(O||se!==L.current)){let q=p.format("countAnnouncement",{optionCount:se});$t(q)}L.current=se,ee.current=t.isOpen});let j=o.useRef(t.selectedKey);return o.useEffect(()=>{if(xr()&&t.isFocused&&t.selectedItem&&t.selectedKey!==j.current){let O=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",q=p.format("selectedAnnouncement",{optionText:O});$t(q)}j.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return Tl([r.current,n.current].filter(O=>O!=null))},[t.isOpen,r,n]),Sn(()=>{!K&&r.current&&Ke(le(r.current))===r.current&&Rc(r.current,null)},[K]),{labelProps:S,buttonProps:{...m,...w,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:V,onPressStart:R,isDisabled:c||d},inputProps:_(k,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":K?Pf(t,K.key):void 0,onTouchEnd:z,autoCorrect:"off",spellCheck:"false"}),listBoxProps:_(b,I,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:M,errorMessageProps:E,isInvalid:T,validationErrors:v,validationDetails:F}}var $p={};$p={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var gp={};gp={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var Dp={};Dp={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var vp={};vp={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var yp={};yp={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var xp={};xp={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var Cp={};Cp={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var Ep={};Ep={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var Bp={};Bp={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var kp={};kp={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var Pp={};Pp={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var Sp={};Sp={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var Ap={};Ap={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var wp={};wp={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var Fp={};Fp={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var Tp={};Tp={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var Ip={};Ip={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var Rp={};Rp={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var Kp={};Kp={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var Mp={};Mp={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var zp={};zp={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var Np={};Np={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var Vp={};Vp={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var _p={};_p={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var jp={};jp={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var Lp={};Lp={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var Op={};Op={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var Hp={};Hp={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var Up={};Up={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var Wp={};Wp={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var Zp={};Zp={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var Gp={};Gp={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var qp={};qp={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var Yp={};Yp={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var er={};er={"ar-AE":$p,"bg-BG":gp,"cs-CZ":Dp,"da-DK":vp,"de-DE":yp,"el-GR":xp,"en-US":Cp,"es-ES":Ep,"et-EE":Bp,"fi-FI":kp,"fr-FR":Pp,"he-IL":Sp,"hr-HR":Ap,"hu-HU":wp,"it-IT":Fp,"ja-JP":Tp,"ko-KR":Ip,"lt-LT":Rp,"lv-LV":Kp,"nb-NO":Mp,"nl-NL":zp,"pl-PL":Np,"pt-BR":Vp,"pt-PT":_p,"ro-RO":jp,"ru-RU":Lp,"sk-SK":Op,"sl-SI":Hp,"sr-SP":Up,"sv-SE":Wp,"tr-TR":Zp,"uk-UA":Gp,"zh-CN":qp,"zh-TW":Yp};function zl(e,t,u){let{direction:n}=pe(),r=o.useMemo(()=>ba(t),[t]),a=s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in e&&(s.preventDefault(),s.stopPropagation(),e.setOpen(!0)),!u))switch(s.key){case"ArrowLeft":if(s.preventDefault(),s.stopPropagation(),n==="rtl"){if(t.current){let d=s.target,c=ms(t.current,d.getBoundingClientRect().left,-1);c&&c.focus()}}else r.focusPrevious();break;case"ArrowRight":if(s.preventDefault(),s.stopPropagation(),n==="rtl"){if(t.current){let d=s.target,c=ms(t.current,d.getBoundingClientRect().left,1);c&&c.focus()}}else r.focusNext();break}},i=()=>{var s;if(!t.current)return;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=ke(t.current,{tabbable:!0});if(d&&(c.currentNode=d,d=c.previousNode()),!d){let f;do f=c.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:l}=Je({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return _(l,{onKeyDown:a})}function ms(e,t,u){let n=ke(e,{tabbable:!0}),r=n.nextNode(),a=null,i=1/0;for(;r;){let s=r.getBoundingClientRect().left-t,d=Math.abs(s);Math.sign(s)===u&&d<i&&(a=r,i=d),r=n.nextNode()}return a}function WD(e){return e&&e.__esModule?e.default:e}const Jp=new WeakMap,Bn="__role_"+Date.now(),Qp="__focusManager_"+Date.now();function Xp(e,t,u){var n;let{isInvalid:r,validationErrors:a,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=ou({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||a}),f=o.useRef(null),{focusWithinProps:p}=ft({...e,onFocusWithin(S){var k;f.current=t.value,(k=e.onFocus)===null||k===void 0||k.call(e,S)},onBlurWithin:S=>{var k;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(k=e.onBlur)===null||k===void 0||k.call(e,S)},onFocusWithinChange:e.onFocusChange}),m=De(WD(er),"@react-aria/datepicker"),b=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",g=t.maxGranularity==="hour"?"time":"date",$=t.value?m.format(b,{[g]:t.formatValue({month:"long"})}):"",D=yt($),y=e[Bn]==="presentation"?s["aria-describedby"]:[D["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,x=e[Qp],C=o.useMemo(()=>x||ba(u),[x,u]),B=zl(t,u,e[Bn]==="presentation");Jp.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:y,focusManager:C});let P=o.useRef(e.autoFocus),T;e[Bn]==="presentation"?T={role:"presentation"}:T=_(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":y}),o.useEffect(()=>{P.current&&C.focusFirst(),P.current=!1},[C]),Un(e.inputRef,t.value,t.setValue),Qn({...e,focus(){C.focusFirst()}},t,e.inputRef);let v={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(v.type="text",v.hidden=!0,v.required=e.isRequired,v.onChange=()=>{});let F=U(e);return{labelProps:{...l,onClick:()=>{C.focusFirst()}},fieldProps:_(F,T,B,p,{onKeyDown(S){e.onKeyDown&&e.onKeyDown(S)},onKeyUp(S){e.onKeyUp&&e.onKeyUp(S)},style:{unicodeBidi:"isolate"}}),inputProps:v,descriptionProps:d,errorMessageProps:c,isInvalid:r,validationErrors:a,validationDetails:i}}function ZD(e){return e&&e.__esModule?e.default:e}function GD(e,t,u){let n=oe(),r=oe(),a=oe(),i=De(ZD(er),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=ou({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=zl(t,u),g=f["aria-labelledby"]||f.id,{locale:$}=pe(),D=t.formatValue($,{month:"long"}),y=D?i.format("selectedDateDescription",{date:D}):"",x=yt(y),C=[x["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,B=U(e),P=o.useMemo(()=>ba(u),[u]),T=o.useRef(!1),{focusWithinProps:v}=ft({...e,isDisabled:t.isOpen,onBlurWithin:F=>{let S=document.getElementById(r);if(!(S!=null&&S.contains(F.relatedTarget))){var k,M;T.current=!1,(k=e.onBlur)===null||k===void 0||k.call(e,F),(M=e.onFocusChange)===null||M===void 0||M.call(e,!1)}},onFocusWithin:F=>{if(!T.current){var S,k;T.current=!0,(S=e.onFocus)===null||S===void 0||S.call(e,F),(k=e.onFocusChange)===null||k===void 0||k.call(e,!0)}}});return{groupProps:_(B,b,f,x,v,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":g,"aria-describedby":C,onKeyDown(F){t.isOpen||e.onKeyDown&&e.onKeyDown(F)},onKeyUp(F){t.isOpen||e.onKeyUp&&e.onKeyUp(F)}}),labelProps:{...c,onClick:()=>{P.focusFirst()}},fieldProps:{...f,id:a,[Bn]:"presentation","aria-describedby":C,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[nu]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:m,buttonProps:{...x,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${g}`,"aria-describedby":C,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:r,"aria-labelledby":`${n} ${g}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function qD(e){return e&&e.__esModule?e.default:e}function YD(){let{locale:e}=pe(),t=ec(qD(er),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new JD(e,t)}},[e,t])}class JD{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function QD(e,t,u){let n=o.useRef(""),{locale:r,direction:a}=pe(),i=YD(),{ariaLabel:l,ariaLabelledBy:s,ariaDescribedBy:d,focusManager:c}=Jp.get(t),f=e.isPlaceholder?"":e.text,p=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),m=bt({month:"long",timeZone:p.timeZone}),b=bt({hour:"numeric",hour12:p.hour12,timeZone:p.timeZone});if(e.type==="month"&&!e.isPlaceholder){let K=m.format(t.dateValue);f=K!==f?`${f} – ${K}`:K}else e.type==="hour"&&!e.isPlaceholder&&(f=b.format(t.dateValue));let{spinButtonProps:g}=iD({value:e.value,textValue:f,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),$=o.useMemo(()=>new Sc(r,{maximumFractionDigits:0}),[r]),D=()=>{if(e.text===e.placeholder&&c.focusPrevious(),$.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let K=e.text.slice(0,-1),N=$.parse(K);K=N===0?"":K,K.length===0||N===0?t.clearSegment(e.type):t.setSegment(e.type,N),n.current=K}else e.type==="dayPeriod"&&t.clearSegment(e.type)},y=K=>{if(K.key==="a"&&(gt()?K.metaKey:K.ctrlKey)&&K.preventDefault(),!(K.ctrlKey||K.metaKey||K.shiftKey||K.altKey))switch(K.key){case"Backspace":case"Delete":K.preventDefault(),K.stopPropagation(),D();break}},{startsWith:x}=Ac({sensitivity:"base"}),C=bt({hour:"numeric",hour12:!0}),B=o.useMemo(()=>{let K=new Date;return K.setHours(0),C.formatToParts(K).find(N=>N.type==="dayPeriod").value},[C]),P=o.useMemo(()=>{let K=new Date;return K.setHours(12),C.formatToParts(K).find(N=>N.type==="dayPeriod").value},[C]),T=bt({year:"numeric",era:"narrow",timeZone:"UTC"}),v=o.useMemo(()=>{if(e.type!=="era")return[];let K=ge(new Te(1,1,1),t.calendar),N=t.calendar.getEras().map(G=>{let Q=K.set({year:1,month:1,day:1,era:G}).toDate("UTC"),ue=T.formatToParts(Q).find(se=>se.type==="era").value;return{era:G,formatted:ue}}),H=XD(N.map(G=>G.formatted));if(H)for(let G of N)G.formatted=G.formatted.slice(H);return N},[T,t.calendar,e.type]),F=K=>{if(t.isDisabled||t.isReadOnly)return;let N=n.current+K;switch(e.type){case"dayPeriod":if(x(B,K))t.setSegment("dayPeriod",0);else if(x(P,K))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let H=v.find(G=>x(G.formatted,K));H&&(t.setSegment("era",H.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!$.isValidPartialNumber(N))return;let H=$.parse(N),G=H,Q=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":H>11&&(G=$.parse(K));break;case"h12":Q=!1,H>12&&(G=$.parse(K));break}e.value!==void 0&&e.value>=12&&H>1&&(H+=12)}else e.maxValue!==void 0&&H>e.maxValue&&(G=$.parse(K));if(isNaN(H))return;let me=G!==0||Q;me&&t.setSegment(e.type,G),e.maxValue!==void 0&&(+(H+"0")>e.maxValue||N.length>=String(e.maxValue).length)?(n.current="",me&&c.focusNext()):n.current=N;break}}},S=()=>{n.current="",u.current&&Ve(u.current,{containingElement:Ne(u.current)});let K=window.getSelection();K==null||K.collapse(u.current)},k=o.useRef(typeof document<"u"?document:null);dt(k,"selectionchange",()=>{var K;let N=window.getSelection();N!=null&&N.anchorNode&&(!((K=u.current)===null||K===void 0)&&K.contains(N==null?void 0:N.anchorNode))&&N.collapse(u.current)});let M=o.useRef("");dt(u,"beforeinput",K=>{if(u.current)switch(K.preventDefault(),K.inputType){case"deleteContentBackward":case"deleteContentForward":$.isValidPartialNumber(e.text)&&!t.isReadOnly&&D();break;case"insertCompositionText":M.current=u.current.textContent,u.current.textContent=u.current.textContent;break;default:K.data!=null&&F(K.data);break}}),dt(u,"input",K=>{let{inputType:N,data:H}=K;switch(N){case"insertCompositionText":u.current&&(u.current.textContent=M.current),H!=null&&(x(B,H)||x(P,H))&&F(H);break}}),Y(()=>{let K=u.current;return()=>{document.activeElement===K&&(c.focusPrevious()||c.focusNext())}},[u,c]);let E=On()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},V=o.useMemo(()=>t.segments.find(K=>K.isEditable),[t.segments]);e!==V&&!t.isInvalid&&(d=void 0);let R=oe(),w=!t.isDisabled&&!t.isReadOnly&&e.isEditable,I=e.type==="literal"?"":i.of(e.type),A=Dt({"aria-label":`${I}${l?`, ${l}`:""}${s?", ":""}`,"aria-labelledby":s});if(e.type==="literal")return{segmentProps:{"aria-hidden":!0}};let z={caretColor:"transparent"};if(a==="rtl"){z.unicodeBidi="embed";let K=p[e.type];(K==="numeric"||K==="2-digit")&&(z.direction="ltr")}return{segmentProps:_(g,A,{id:R,...E,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":d,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:w,suppressContentEditableWarning:w,spellCheck:w?"false":void 0,autoCorrect:w?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:w?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!w?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:y,onFocus:S,style:z,onPointerDown(K){K.stopPropagation()},onMouseDown(K){K.stopPropagation()}})}}function XD(e){e.sort();let t=e[0],u=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==u[n])return n;return 0}function ev(e){return e&&e.__esModule?e.default:e}function tv(e,t,u){var n,r,a;let i=De(ev(er),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=ou({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=f["aria-labelledby"]||f.id,{locale:g}=pe(),$=t.formatValue(g,{month:"long"}),D=$?i.format("selectedRangeDescription",{startDate:$.start,endDate:$.end}):"",y=yt(D),x={"aria-label":i.format("startDate"),"aria-labelledby":b},C={"aria-label":i.format("endDate"),"aria-labelledby":b},B=oe(),P=oe(),T=zl(t,u),v=[y["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,F=o.useMemo(()=>ba(u,{accept:A=>A.id!==B}),[u,B]),S={[Qp]:F,[Bn]:"presentation","aria-describedby":v,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},k=U(e),M=o.useRef(!1),{focusWithinProps:E}=ft({...e,isDisabled:t.isOpen,onBlurWithin:A=>{let z=document.getElementById(P);if(!(z!=null&&z.contains(A.relatedTarget))){var K,N;M.current=!1,(K=e.onBlur)===null||K===void 0||K.call(e,A),(N=e.onFocusChange)===null||N===void 0||N.call(e,!1)}},onFocusWithin:A=>{if(!M.current){var z,K;M.current=!0,(z=e.onFocus)===null||z===void 0||z.call(e,A),(K=e.onFocusChange)===null||K===void 0||K.call(e,!0)}}}),V=o.useRef(Jt),R=o.useRef(Jt);var w,I;return{groupProps:_(k,T,f,y,E,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":v,onKeyDown(A){t.isOpen||e.onKeyDown&&e.onKeyDown(A)},onKeyUp(A){t.isOpen||e.onKeyUp&&e.onKeyUp(A)}}),labelProps:{...c,onClick:()=>{F.focusFirst()}},buttonProps:{...y,id:B,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${B} ${b}`,"aria-describedby":v,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:P,"aria-labelledby":`${B} ${b}`},startFieldProps:{...x,...S,value:(w=(n=t.value)===null||n===void 0?void 0:n.start)!==null&&w!==void 0?w:null,onChange:A=>t.setDateTime("start",A),autoFocus:e.autoFocus,name:e.startName,[nu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(A){V.current=A,t.updateValidation(_n(A,R.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...S,value:(I=(r=t.value)===null||r===void 0?void 0:r.end)!==null&&I!==void 0?I:null,onChange:A=>t.setDateTime("end",A),name:e.endName,[nu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(A){R.current=A,t.updateValidation(_n(V.current,A))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:p,errorMessageProps:m,calendarProps:{autoFocus:!0,value:!((a=t.dateRange)===null||a===void 0)&&a.start&&t.dateRange.end?t.dateRange:null,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function e1(e,t){let{role:u="dialog"}=e,n=it();n=e["aria-label"]?void 0:n;let r=o.useRef(!1);return o.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){ye(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(r.current=!0,t.current&&(t.current.blur(),ye(t.current)),r.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),kf(),{dialogProps:{...U(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{r.current&&a.stopPropagation()}},titleProps:{id:n}}}function uv(e,t,u){let{isDisabled:n}=e,r=oe(),a=oe(),l=!au()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),Lt.flushSync(()=>{t.toggle()})},[u,t]);return dt(u,"beforematch",l?d:null),Y(()=>{s.current&&cancelAnimationFrame(s.current),l&&u.current&&!n&&(t.isExpanded?u.current.removeAttribute("hidden"):u.current.setAttribute("hidden","until-found"))},[n,u,t.isExpanded,l]),o.useEffect(()=>()=>{s.current&&cancelAnimationFrame(s.current)},[]),{buttonProps:{id:r,"aria-expanded":t.isExpanded,"aria-controls":a,onPress:c=>{!n&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:n,onPressStart(c){c.pointerType==="keyboard"&&!n&&t.toggle()}},panelProps:{id:a,role:"group","aria-labelledby":r,"aria-hidden":!t.isExpanded,hidden:l?!0:!t.isExpanded}}}var Le=function(e){return e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all",e}({});const t1={...Le,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},nv=Nl(t1);nv[7]="all";Nl(Le);const u1={none:"cancel",link:"link",copy:"copy",move:"move"},ui=Nl(u1);function Nl(e){let t={};for(let u in e)t[e[u]]=u;return t}const rv=new Set(["text/plain","text/uri-list","text/html"]),Zr="application/vnd.react-aria.items+json",Gr="application/octet-stream",av=Symbol();function iv(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function lv(){return iv(ll())}function bs(e,t){let u=new Map,n=!1,r=[];for(let a of t){let i=Object.keys(a);i.length>1&&(n=!0);let l={};for(let s of i){let d=u.get(s);d?n=!0:(d=[],u.set(s,d));let c=a[s];l[s]=c,d.push(c)}r.push(l)}for(let[a,i]of u)if(rv.has(a)){let l=i.join(`
|
|
18
|
+
`);e.items.add(l,a)}else e.items.add(i[0],a);if(n){let a=JSON.stringify(r);e.items.add(a,Zr)}}class hr{has(t){return this.includesUnknownTypes||t===av&&this.types.has(Gr)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let u=!1;for(let n of t.items)n.type!==Zr&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(Gr));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function n1(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(Zr))try{let n=e.getData(Zr),r=JSON.parse(n);for(let a of r)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});u=!0}catch{}if(!u){let n=new Map;for(let r of e.items)if(r.kind==="string")n.set(r.type||Gr,e.getData(r.type));else if(r.kind==="file")if(typeof r.webkitGetAsEntry=="function"){let a=r.webkitGetAsEntry();if(!a)continue;a.isFile?t.push(zi(r.getAsFile())):a.isDirectory&&t.push(r1(a))}else t.push(zi(r.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:r=>Promise.resolve(n.get(r))})}return t}function ov(e){return typeof e.text=="function"?e.text():new Promise((t,u)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=u,n.readAsText(e)})}function zi(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||Gr,name:e.name,getText:()=>ov(e),getFile:()=>Promise.resolve(e)}}function r1(e){return{kind:"directory",name:e.name,getEntries:()=>sv(e)}}async function*sv(e){let t=e.createReader(),u;do{u=await new Promise((n,r)=>{t.readEntries(n,r)});for(let n of u)if(n.isFile){let r=await dv(n);yield zi(r)}else n.isDirectory&&(yield r1(n))}while(u.length>0)}function dv(e){return new Promise((t,u)=>e.file(t,u))}let a1={draggingKeys:new Set};function cv(e){a1=e}let hs=Le.none,$s=new Map,gs=null,Ds=new Set;function fv(e){return $s.set(e.element,e),()=>{$s.delete(e.element)}}function pv(){let[e,t]=o.useState(gs);return o.useEffect(()=>{let u=()=>t(gs);return Ds.add(u),()=>{Ds.delete(u)}},[]),e}var i1={};i1={dragDescriptionKeyboard:"اضغط Enter لبدء السحب.",dragDescriptionKeyboardAlt:"اضغط على Alt + Enter لبدء السحب.",dragDescriptionLongPress:"اضغط باستمرار لبدء السحب.",dragDescriptionTouch:"اضغط مرتين لبدء السحب.",dragDescriptionVirtual:"انقر لبدء السحب.",dragItem:e=>`اسحب ${e.itemText}`,dragSelectedItems:(e,t)=>`اسحب ${t.plural(e.count,{one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عناصر محددة`})}`,dragSelectedKeyboard:(e,t)=>`اضغط على Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedKeyboardAlt:(e,t)=>`اضغط على مفتاحي Alt + Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedLongPress:(e,t)=>`اضغط باستمرار للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragStartedKeyboard:"بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.",dragStartedTouch:"بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.",dragStartedVirtual:"بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.",dropCanceled:"تم إلغاء الإفلات.",dropComplete:"اكتمل الإفلات.",dropDescriptionKeyboard:"اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.",dropDescriptionTouch:"اضغط مرتين للإفلات.",dropDescriptionVirtual:"انقر للإفلات.",dropIndicator:"مؤشر الإفلات",dropOnItem:e=>`إفلات ${e.itemText}`,dropOnRoot:"الإفلات",endDragKeyboard:"السحب. اضغط Enter لإلغاء السحب.",endDragTouch:"السحب. اضغط مرتين لإلغاء السحب.",endDragVirtual:"السحب. انقر لإلغاء السحب.",insertAfter:e=>`أدخل بعد ${e.itemText}`,insertBefore:e=>`أدخل قبل ${e.itemText}`,insertBetween:e=>`أدخل بين ${e.beforeItemText} و ${e.afterItemText}`};var l1={};l1={dragDescriptionKeyboard:"Натиснете „Enter“, за да започнете да плъзгате.",dragDescriptionKeyboardAlt:"Натиснете Alt + Enter, за да започнете да плъзгате.",dragDescriptionLongPress:"Натиснете продължително, за да започнете да плъзгате.",dragDescriptionTouch:"Натиснете двукратно, за да започнете да плъзгате.",dragDescriptionVirtual:"Щракнете, за да започнете да плъзгате.",dragItem:e=>`Плъзни ${e.itemText}`,dragSelectedItems:(e,t)=>`Плъзни ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елемента`})}`,dragSelectedKeyboard:(e,t)=>`Натиснете Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натиснете Alt и Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedLongPress:(e,t)=>`Натиснете продължително, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragStartedKeyboard:"Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.",dragStartedTouch:"Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.",dragStartedVirtual:"Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.",dropCanceled:"Пускането е отменено.",dropComplete:"Пускането е завършено.",dropDescriptionKeyboard:"Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.",dropDescriptionTouch:"Натиснете двукратно за пускане.",dropDescriptionVirtual:"Щракнете за пускане.",dropIndicator:"индикатор за пускане",dropOnItem:e=>`Пусни върху ${e.itemText}`,dropOnRoot:"Пусни върху",endDragKeyboard:"Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.",endDragTouch:"Плъзгане. Натиснете двукратно за отмяна на плъзгането.",endDragVirtual:"Плъзгане. Щракнете за отмяна.",insertAfter:e=>`Вмъкни след ${e.itemText}`,insertBefore:e=>`Вмъкни преди ${e.itemText}`,insertBetween:e=>`Вмъкни между ${e.beforeItemText} и ${e.afterItemText}`};var o1={};o1={dragDescriptionKeyboard:"Stisknutím klávesy Enter začnete s přetahováním.",dragDescriptionKeyboardAlt:"Stisknutím Alt + Enter zahájíte přetahování.",dragDescriptionLongPress:"Dlouhým stisknutím zahájíte přetahování.",dragDescriptionTouch:"Poklepáním začnete s přetahováním.",dragDescriptionVirtual:"Kliknutím začnete s přetahováním.",dragItem:e=>`Přetáhnout ${e.itemText}`,dragSelectedItems:(e,t)=>`Přetáhnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,few:()=>`${t.number(e.count)} vybrané položky`,other:()=>`${t.number(e.count)} vybraných položek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknutím klávesy Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknutím Alt + Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouhým stisknutím přetáhnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragStartedKeyboard:"Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dragStartedTouch:"Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.",dragStartedVirtual:"Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.",dropCanceled:"Přetažení bylo zrušeno.",dropComplete:"Přetažení bylo dokončeno.",dropDescriptionKeyboard:"Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dropDescriptionTouch:"Poklepáním přetažení dokončete.",dropDescriptionVirtual:"Kliknutím objekt přetáhněte.",dropIndicator:"indikátor přetažení",dropOnItem:e=>`Přetáhnout na ${e.itemText}`,dropOnRoot:"Přetáhnout na",endDragKeyboard:"Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.",endDragTouch:"Probíhá přetahování. Poklepáním přetažení zrušíte.",endDragVirtual:"Probíhá přetahování. Kliknutím přetažení zrušíte.",insertAfter:e=>`Vložit za ${e.itemText}`,insertBefore:e=>`Vložit před ${e.itemText}`,insertBetween:e=>`Vložit mezi ${e.beforeItemText} a ${e.afterItemText}`};var s1={};s1={dragDescriptionKeyboard:"Tryk på Enter for at starte med at trække.",dragDescriptionKeyboardAlt:"Tryk på Alt + Enter for at starte med at trække.",dragDescriptionLongPress:"Tryk længe for at starte med at trække.",dragDescriptionTouch:"Dobbelttryk for at starte med at trække.",dragDescriptionVirtual:"Klik for at starte med at trække.",dragItem:e=>`Træk ${e.itemText}`,dragSelectedItems:(e,t)=>`Træk ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk på Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk på Alt + Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk længe for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.",dragStartedTouch:"Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldført.",dropDescriptionKeyboard:"Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip på ${e.itemText}`,dropOnRoot:"Slip på",endDragKeyboard:"Trækning. Tryk på enter for at annullere træk.",endDragTouch:"Trækning. Dobbelttryk for at annullere træk.",endDragVirtual:"Trækning. Klik for at annullere trækning.",insertAfter:e=>`Indsæt efter ${e.itemText}`,insertBefore:e=>`Indsæt før ${e.itemText}`,insertBetween:e=>`Indsæt mellem ${e.beforeItemText} og ${e.afterItemText}`};var d1={};d1={dragDescriptionKeyboard:"Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe drücken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang drücken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Objekt`,other:()=>`${t.number(e.count)} ausgewählte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einfügen`,insertBefore:e=>`Vor ${e.itemText} einfügen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einfügen`};var c1={};c1={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var f1={};f1={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var p1={};p1={dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al público destinatario donde se vaya a colocar y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocación.",dropComplete:"Colocación finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocación",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar después de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var m1={};m1={dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Klõpsake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksust`,other:()=>`${t.number(e.count)} valitud üksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks klõpsake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks klõpsake.",insertAfter:e=>`Sisesta ${e.itemText} järele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var b1={};b1={dragDescriptionKeyboard:"Aloita vetäminen painamalla Enter-näppäintä.",dragDescriptionKeyboardAlt:"Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.",dragDescriptionLongPress:"Aloita vetäminen pitämällä painettuna.",dragDescriptionTouch:"Aloita vetäminen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vetäminen napsauttamalla.",dragItem:e=>`Vedä kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Vedä ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Vedä painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Vedä painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Vedä pitämällä painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.",dragStartedTouch:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.",endDragTouch:"Vedetään. Peruuta vetäminen kaksoisnapauttamalla.",endDragVirtual:"Vedetään. Peruuta vetäminen napsauttamalla.",insertAfter:e=>`Lisää kohteen ${e.itemText} jälkeen`,insertBefore:e=>`Lisää ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lisää kohteiden ${e.beforeItemText} ja ${e.afterItemText} väliin`};var h1={};h1={dragDescriptionKeyboard:"Appuyez sur Entrée pour commencer le déplacement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt + Entrée pour commencer à faire glisser.",dragDescriptionLongPress:"Appuyez de manière prolongée pour commencer à faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le déplacement.",dragDescriptionVirtual:"Cliquez pour commencer le déplacement.",dragItem:e=>`Déplacer ${e.itemText}`,dragSelectedItems:(e,t)=>`Déplacer ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt + Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de manière prolongée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragStartedKeyboard:"Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.",dragStartedTouch:"Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.",dragStartedVirtual:"Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.",dropCanceled:"Dépôt annulé.",dropComplete:"Dépôt terminé.",dropDescriptionKeyboard:"Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.",dropDescriptionTouch:"Touchez deux fois pour déposer.",dropDescriptionVirtual:"Cliquez pour déposer.",dropIndicator:"indicateur de dépôt",dropOnItem:e=>`Déposer sur ${e.itemText}`,dropOnRoot:"Déposer sur",endDragKeyboard:"Déplacement. Appuyez sur Entrée pour annuler le déplacement.",endDragTouch:"Déplacement. Touchez deux fois pour annuler le déplacement.",endDragVirtual:"Déplacement. Cliquez pour annuler le déplacement.",insertAfter:e=>`Insérer après ${e.itemText}`,insertBefore:e=>`Insérer avant ${e.itemText}`,insertBetween:e=>`Insérer entre ${e.beforeItemText} et ${e.afterItemText}`};var $1={};$1={dragDescriptionKeyboard:"הקש על Enter כדי להתחיל לגרור.",dragDescriptionKeyboardAlt:"הקש Alt + Enter כדי להתחיל לגרור.",dragDescriptionLongPress:"לחץ לחיצה ארוכה כדי להתחיל לגרור.",dragDescriptionTouch:"הקש פעמיים כדי להתחיל בגרירה.",dragDescriptionVirtual:"לחץ כדי להתחיל לגרור.",dragItem:e=>`גרור את ${e.itemText}`,dragSelectedItems:(e,t)=>`גרור ${t.plural(e.count,{one:()=>`פריט נבחר ${t.number(e.count)}`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}`,dragSelectedKeyboard:(e,t)=>`הקש על Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedKeyboardAlt:(e,t)=>`הקש Alt + Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedLongPress:(e,t)=>`לחץ לחיצה ארוכה כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragStartedKeyboard:"התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.",dragStartedTouch:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.",dragStartedVirtual:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.",dropCanceled:"השחרור בוטל.",dropComplete:"השחרור הושלם.",dropDescriptionKeyboard:"הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.",dropDescriptionTouch:"הקש פעמיים כדי לשחרר.",dropDescriptionVirtual:"לחץ כדי לשחרר.",dropIndicator:"מחוון שחרור",dropOnItem:e=>`שחרר על ${e.itemText}`,dropOnRoot:"שחרר על",endDragKeyboard:"גורר. הקש על Enter כדי לבטל את הגרירה.",endDragTouch:"גורר. הקש פעמיים כדי לבטל את הגרירה.",endDragVirtual:"גורר. לחץ כדי לבטל את הגרירה.",insertAfter:e=>`הוסף אחרי ${e.itemText}`,insertBefore:e=>`הוסף לפני ${e.itemText}`,insertBetween:e=>`הוסף בין ${e.beforeItemText} לבין ${e.afterItemText}`};var g1={};g1={dragDescriptionKeyboard:"Pritisnite Enter da biste počeli povlačiti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za početak povlačenja.",dragDescriptionLongPress:"Dugo pritisnite za početak povlačenja.",dragDescriptionTouch:"Dvaput dodirnite da biste počeli povlačiti.",dragDescriptionVirtual:"Kliknite da biste počeli povlačiti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.",dragStartedTouch:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povlačenje je prekinuto.",dropComplete:"Ispuštanje je dovršeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispuštanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.",endDragTouch:"Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.",endDragVirtual:"Povlačenje. Kliknite da biste prekinuli povlačenje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite između stavki ${e.beforeItemText} i ${e.afterItemText}`};var D1={};D1={dragDescriptionKeyboard:"Nyomja le az Enter billentyűt a húzás megkezdéséhez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.",dragDescriptionLongPress:"Hosszan nyomja meg a húzás elindításához.",dragDescriptionTouch:"Koppintson duplán a húzás megkezdéséhez.",dragDescriptionVirtual:"Kattintson a húzás megkezdéséhez.",dragItem:e=>`${e.itemText} húzása`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzása`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billentyűket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragStartedKeyboard:"Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.",dragStartedTouch:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.",dragStartedVirtual:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.",dropCanceled:"Elengedés megszakítva.",dropComplete:"Elengedés teljesítve.",dropDescriptionKeyboard:"Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.",dropDescriptionTouch:"Koppintson duplán az elengedéshez.",dropDescriptionVirtual:"Kattintson az elengedéshez.",dropIndicator:"elengedésjelző",dropOnItem:e=>`Elengedés erre: ${e.itemText}`,dropOnRoot:"Elengedés erre:",endDragKeyboard:"Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.",endDragTouch:"Húzás folyamatban. Koppintson duplán a húzás megszakításához.",endDragVirtual:"Húzás folyamatban. Kattintson a húzás megszakításához.",insertAfter:e=>`Beszúrás ${e.itemText} után`,insertBefore:e=>`Beszúrás ${e.itemText} elé`,insertBetween:e=>`Beszúrás ${e.beforeItemText} és ${e.afterItemText} közé`};var v1={};v1={dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var y1={};y1={dragDescriptionKeyboard:"Enter キーを押してドラッグを開始してください。",dragDescriptionKeyboardAlt:"Alt+Enter キーを押してドラッグを開始します。",dragDescriptionLongPress:"長押ししてドラッグを開始します。",dragDescriptionTouch:"ダブルタップしてドラッグを開始します。",dragDescriptionVirtual:"クリックしてドラッグを開始します。",dragItem:e=>`${e.itemText} をドラッグ`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の選択項目`,other:()=>`${t.number(e.count)} 個の選択項目`})} をドラッグ`,dragSelectedKeyboard:(e,t)=>`Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedLongPress:(e,t)=>`長押しして、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragStartedKeyboard:"ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。",dragStartedTouch:"ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。",dragStartedVirtual:"ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。",dropCanceled:"ドロップがキャンセルされました。",dropComplete:"ドロップが完了しました。",dropDescriptionKeyboard:"Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。",dropDescriptionTouch:"ダブルタップしてドロップします。",dropDescriptionVirtual:"クリックしてドロップします。",dropIndicator:"ドロップインジケーター",dropOnItem:e=>`${e.itemText} にドロップ`,dropOnRoot:"ドロップ場所",endDragKeyboard:"ドラッグしています。Enter キーを押してドラッグをキャンセルします。",endDragTouch:"ドラッグしています。ダブルタップしてドラッグをキャンセルします。",endDragVirtual:"ドラッグしています。クリックしてドラッグをキャンセルします。",insertAfter:e=>`${e.itemText} の後に挿入`,insertBefore:e=>`${e.itemText} の前に挿入`,insertBetween:e=>`${e.beforeItemText} と ${e.afterItemText} の間に挿入`};var x1={};x1={dragDescriptionKeyboard:"드래그를 시작하려면 Enter를 누르세요.",dragDescriptionKeyboardAlt:"드래그를 시작하려면 Alt + Enter를 누르십시오.",dragDescriptionLongPress:"드래그를 시작하려면 길게 누르십시오.",dragDescriptionTouch:"드래그를 시작하려면 더블 탭하세요.",dragDescriptionVirtual:"드래그를 시작하려면 클릭하세요.",dragItem:e=>`${e.itemText} 드래그`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})} 드래그`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Enter를 누르십시오.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Alt + Enter를 누르십시오.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 길게 누르십시오.`,dragStartedKeyboard:"드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.",dragStartedTouch:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.",dragStartedVirtual:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.",dropCanceled:"드롭이 취소되었습니다.",dropComplete:"드롭이 완료되었습니다.",dropDescriptionKeyboard:"드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.",dropDescriptionTouch:"더블 탭하여 드롭하세요.",dropDescriptionVirtual:"드롭하려면 클릭하세요.",dropIndicator:"드롭 표시기",dropOnItem:e=>`${e.itemText}에 드롭`,dropOnRoot:"드롭 대상",endDragKeyboard:"드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.",endDragTouch:"드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.",endDragVirtual:"드래그 중입니다. 드래그를 취소하려면 클릭하세요.",insertAfter:e=>`${e.itemText} 이후에 삽입`,insertBefore:e=>`${e.itemText} 이전에 삽입`,insertBetween:e=>`${e.beforeItemText} 및 ${e.afterItemText} 사이에 삽입`};var C1={};C1={dragDescriptionKeyboard:"Paspauskite „Enter“, kad pradėtumėte vilkti.",dragDescriptionKeyboardAlt:"Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.",dragDescriptionLongPress:"Palaikykite nuspaudę, kad pradėtumėte vilkti.",dragDescriptionTouch:"Palieskite dukart, kad pradėtumėte vilkti.",dragDescriptionVirtual:"Spustelėkite, kad pradėtumėte vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite „Enter“, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaudę palaikykite, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.",dragStartedTouch:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.",dragStartedVirtual:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.",dropCanceled:"Numetimas atšauktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.",dropDescriptionTouch:"Palieskite dukart, kad numestumėte.",dropDescriptionVirtual:"Spustelėkite, kad numestumėte.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.",endDragTouch:"Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.",endDragVirtual:"Velkama. Spustelėkite, kad atšauktumėte vilkimą.",insertAfter:e=>`Įterpti po ${e.itemText}`,insertBefore:e=>`Įterpti prieš ${e.itemText}`,insertBetween:e=>`Įterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var E1={};E1={dragDescriptionKeyboard:"Nospiediet Enter, lai sāktu vilkšanu.",dragDescriptionKeyboardAlt:"Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.",dragDescriptionLongPress:"Turiet nospiestu, lai sāktu vilkšanu.",dragDescriptionTouch:"Veiciet dubultskārienu, lai sāktu vilkšanu.",dragDescriptionVirtual:"Noklikšķiniet, lai sāktu vilkšanu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet taustiņu Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragStartedKeyboard:"Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.",dragStartedVirtual:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.",dropCanceled:"Nomešana atcelta.",dropComplete:"Nomešana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.",dropDescriptionTouch:"Veiciet dubultskārienu, lai nomestu.",dropDescriptionVirtual:"Noklikšķiniet, lai nomestu.",dropIndicator:"nomešanas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.",endDragTouch:"Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.",endDragVirtual:"Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.",insertAfter:e=>`Ievietojiet pēc ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var B1={};B1={dragDescriptionKeyboard:"Trykk på Enter for å begynne å dra.",dragDescriptionKeyboardAlt:"Trykk på Alt + Enter for å begynne å dra.",dragDescriptionLongPress:"Trykk lenge for å begynne å dra.",dragDescriptionTouch:"Dobbelttrykk for å begynne å dra.",dragDescriptionVirtual:"Klikk for å begynne å dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk på Alt + Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.",dragStartedTouch:"Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.",dragStartedVirtual:"Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.",dropCanceled:"Avbrøt slipping.",dropComplete:"Slippingen er fullført.",dropDescriptionKeyboard:"Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for å slippe.",dropDescriptionVirtual:"Klikk for å slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp på ${e.itemText}`,dropOnRoot:"Slipp på",endDragKeyboard:"Drar. Trykk på Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn før ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var k1={};k1={dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen vóór ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var P1={};P1={dragDescriptionKeyboard:"Naciśnij Enter, aby rozpocząć przeciąganie.",dragDescriptionKeyboardAlt:"Naciśnij Alt + Enter, aby rozpocząć przeciąganie.",dragDescriptionLongPress:"Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocząć przeciąganie.",dragDescriptionVirtual:"Kliknij, aby rozpocząć przeciąganie.",dragItem:e=>`Przeciągnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeciągnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych elementów`})}`,dragSelectedKeyboard:(e,t)=>`Naciśnij Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naciśnij Alt + Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedLongPress:(e,t)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragStartedKeyboard:"Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.",dragStartedTouch:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F",dragStartedVirtual:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zakończono upuszczanie.",dropDescriptionKeyboard:"Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upuścić.",dropDescriptionVirtual:"Kliknij, aby upuścić.",dropIndicator:"wskaźnik upuszczenia",dropOnItem:e=>`Upuść na ${e.itemText}`,dropOnRoot:"Upuść",endDragKeyboard:"Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.",endDragTouch:"Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.",endDragVirtual:"Przeciąganie. Kliknij, aby anulować przeciąganie.",insertAfter:e=>`Umieść za ${e.itemText}`,insertBefore:e=>`Umieść przed ${e.itemText}`,insertBetween:e=>`Umieść między ${e.beforeItemText} i ${e.afterItemText}`};var S1={};S1={dragDescriptionKeyboard:"Pressione Enter para começar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para começar a arrastar.",dragDescriptionLongPress:"Pressione e segure para começar a arrastar.",dragDescriptionTouch:"Toque duas vezes para começar a arrastar.",dragDescriptionVirtual:"Clique para começar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Liberação cancelada.",dropComplete:"Liberação concluída.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de liberação",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir após ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var A1={};A1={dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para começar a arrastar.",dragDescriptionTouch:"Faça duplo toque para começar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Faça duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Faça duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var w1={};w1={dragDescriptionKeyboard:"Apăsați pe Enter pentru a începe glisarea.",dragDescriptionKeyboardAlt:"Apăsați pe Alt + Enter pentru a începe glisarea.",dragDescriptionLongPress:"Apăsați lung pentru a începe glisarea.",dragDescriptionTouch:"Atingeți de două ori pentru a începe să glisați.",dragDescriptionVirtual:"Faceți clic pentru a începe glisarea.",dragItem:e=>`Glisați ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisați ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Apăsați pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Apăsați pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Apăsați lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.",dragStartedTouch:"A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.",dragStartedVirtual:"A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.",dropCanceled:"Fixare anulată.",dropComplete:"Fixare finalizată.",dropDescriptionKeyboard:"Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atingeți de două ori pentru a fixa.",dropDescriptionVirtual:"Faceți clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixați pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se glisează. Apăsați pe Enter pentru a anula glisarea.",endDragTouch:"Se glisează. Atingeți de două ori pentru a anula glisarea.",endDragVirtual:"Se glisează. Faceți clic pentru a anula glisarea.",insertAfter:e=>`Inserați după ${e.itemText}`,insertBefore:e=>`Inserați înainte de ${e.itemText}`,insertBetween:e=>`Inserați între ${e.beforeItemText} și ${e.afterItemText}`};var F1={};F1={dragDescriptionKeyboard:"Нажмите клавишу Enter для начала перетаскивания.",dragDescriptionKeyboardAlt:"Нажмите Alt + Enter, чтобы начать перетаскивать.",dragDescriptionLongPress:"Нажмите и удерживайте, чтобы начать перетаскивать.",dragDescriptionTouch:"Дважды нажмите для начала перетаскивания.",dragDescriptionVirtual:"Щелкните для начала перетаскивания.",dragItem:e=>`Перетащить ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетащить ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранный элемент`,other:()=>`${t.number(e.count)} выбранных элем`})}`,dragSelectedKeyboard:(e,t)=>`Нажмите Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Нажмите Alt + Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedLongPress:(e,t)=>`Нажмите и удерживайте для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragStartedKeyboard:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.",dragStartedTouch:"Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.",dragStartedVirtual:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.",dropCanceled:"Перетаскивание отменено.",dropComplete:"Перетаскивание завершено.",dropDescriptionKeyboard:"Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.",dropDescriptionTouch:"Дважды нажмите, чтобы применить перетаскивание.",dropDescriptionVirtual:"Щелкните, чтобы применить перетаскивание.",dropIndicator:"индикатор перетаскивания",dropOnItem:e=>`Перетащить на ${e.itemText}`,dropOnRoot:"Перетащить на",endDragKeyboard:"Перетаскивание. Нажмите клавишу Enter для отмены.",endDragTouch:"Перетаскивание. Дважды нажмите для отмены.",endDragVirtual:"Перетаскивание. Щелкните для отмены.",insertAfter:e=>`Вставить после ${e.itemText}`,insertBefore:e=>`Вставить перед ${e.itemText}`,insertBetween:e=>`Вставить между ${e.beforeItemText} и ${e.afterItemText}`};var T1={};T1={dragDescriptionKeyboard:"Stlačením klávesu Enter začnete presúvanie.",dragDescriptionKeyboardAlt:"Stlačením klávesov Alt + Enter začnete presúvanie.",dragDescriptionLongPress:"Dlhým stlačením začnete presúvanie.",dragDescriptionTouch:"Dvojitým kliknutím začnete presúvanie.",dragDescriptionVirtual:"Kliknutím začnete presúvanie.",dragItem:e=>`Presunúť položku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presunúť ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybraté položky`})}`,dragSelectedKeyboard:(e,t)=>`Stlačením klávesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stlačením klávesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlhým stlačením presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragStartedKeyboard:"Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.",dragStartedTouch:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.",dragStartedVirtual:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.",dropCanceled:"Umiestnenie zrušené.",dropComplete:"Umiestnenie dokončené.",dropDescriptionKeyboard:"Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.",dropDescriptionTouch:"Dvojitým kliknutím umiestnite položku.",dropDescriptionVirtual:"Kliknutím umiestnite položku.",dropIndicator:"indikátor umiestnenia",dropOnItem:e=>`Umiestniť na položku ${e.itemText}`,dropOnRoot:"Umiestniť na",endDragKeyboard:"Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.",endDragTouch:"Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.",endDragVirtual:"Prebieha presúvanie.",insertAfter:e=>`Vložiť za položku ${e.itemText}`,insertBefore:e=>`Vložiť pred položku ${e.itemText}`,insertBetween:e=>`Vložiť medzi položky ${e.beforeItemText} a ${e.afterItemText}`};var I1={};I1={dragDescriptionKeyboard:"Pritisnite tipko Enter za začetek vlečenja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za začetek vlečenja.",dragDescriptionLongPress:"Pritisnite in zadržite za začetek vlečenja.",dragDescriptionTouch:"Dvotapnite za začetek vlečenja.",dragDescriptionVirtual:"Kliknite za začetek vlečenja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadržite, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.",dragStartedTouch:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je končan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vlečenje. Pritisnite tipko Enter za preklic vlečenja.",endDragTouch:"Vlečenje. Dvotapnite za preklic vlečenja.",endDragVirtual:"Vlečenje. Kliknite, da prekličete vlečenje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var R1={};R1={dragDescriptionKeyboard:"Pritisnite Enter da biste započeli prevlačenje.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste započeli prevlačenje.",dragDescriptionLongPress:"Pritisnite dugo da biste započeli prevlačenje.",dragDescriptionTouch:"Dvaput dodirnite da biste započeli prevlačenje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:"Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.",dragStartedVirtual:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropIndicator:"Indikator otpuštanja",dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:"Otpusti na",endDragKeyboard:"Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.",endDragTouch:"Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.",endDragVirtual:"Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.",insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`};var K1={};K1={dragDescriptionKeyboard:"Tryck på enter för att börja dra.",dragDescriptionKeyboardAlt:"Tryck på Alt + Retur för att börja dra.",dragDescriptionLongPress:"Tryck länge för att börja dra.",dragDescriptionTouch:"Dubbeltryck för att börja dra.",dragDescriptionVirtual:"Klicka för att börja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck på Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck på Alt + Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck länge för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.",dragStartedTouch:"Börja dra. Navigera till ett mål och dubbeltryck för att släppa.",dragStartedVirtual:"Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.",dropCanceled:"Släppåtgärd avbröts.",dropComplete:"Släppåtgärd klar.",dropDescriptionKeyboard:"Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.",dropDescriptionTouch:"Dubbeltryck för att släppa.",dropDescriptionVirtual:"Klicka för att släppa.",dropIndicator:"släppindikator",dropOnItem:e=>`Släpp på ${e.itemText}`,dropOnRoot:"Släpp på",endDragKeyboard:"Drar. Tryck på enter för att avbryta dragåtgärd.",endDragTouch:"Drar. Dubbeltryck för att avbryta dragåtgärd.",endDragVirtual:"Drar. Klicka för att avbryta dragåtgärd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga före ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var M1={};M1={dragDescriptionKeyboard:"Sürüklemeyi başlatmak için Enter'a basın.",dragDescriptionKeyboardAlt:"Sürüklemeyi başlatmak için Alt + Enter'a basın.",dragDescriptionLongPress:"Sürüklemeye başlamak için uzun basın.",dragDescriptionTouch:"Sürüklemeyi başlatmak için çift tıklayın.",dragDescriptionVirtual:"Sürüklemeyi başlatmak için tıklayın.",dragItem:e=>`${e.itemText}’i sürükle`,dragSelectedItems:(e,t)=>`Sürükle ${t.plural(e.count,{one:()=>`${t.number(e.count)} seçili öge`,other:()=>`${t.number(e.count)} seçili öge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Enter'a basın.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Alt + Enter tuşuna basın.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için uzun basın.`,dragStartedKeyboard:"Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.",dragStartedTouch:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.",dragStartedVirtual:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.",dropCanceled:"Bırakma iptal edildi.",dropComplete:"Bırakma tamamlandı.",dropDescriptionKeyboard:"Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.",dropDescriptionTouch:"Bırakmak için çift tıklayın.",dropDescriptionVirtual:"Bırakmak için tıklayın.",dropIndicator:"bırakma göstergesi",dropOnItem:e=>`${e.itemText} üzerine bırak`,dropOnRoot:"Bırakın",endDragKeyboard:"Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.",endDragTouch:"Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.",endDragVirtual:"Sürükleme. Sürüklemeyi iptal etmek için tıklayın.",insertAfter:e=>`${e.itemText}’den sonra gir`,insertBefore:e=>`${e.itemText}’den önce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} arasına gir`};var z1={};z1={dragDescriptionKeyboard:"Натисніть Enter, щоб почати перетягування.",dragDescriptionKeyboardAlt:"Натисніть Alt + Enter, щоб почати перетягування.",dragDescriptionLongPress:"Натисніть і утримуйте, щоб почати перетягування.",dragDescriptionTouch:"Натисніть двічі, щоб почати перетягування.",dragDescriptionVirtual:"Натисніть, щоб почати перетягування.",dragItem:e=>`Перетягнути ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетягніть ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елем`})}`,dragSelectedKeyboard:(e,t)=>`Натисніть Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натисніть Alt + Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedLongPress:(e,t)=>`Утримуйте, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragStartedKeyboard:"Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.",dragStartedTouch:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.",dragStartedVirtual:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.",dropCanceled:"Перетягування скасовано.",dropComplete:"Перетягування завершено.",dropDescriptionKeyboard:"Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.",dropDescriptionTouch:"Натисніть двічі, щоб перетягнути.",dropDescriptionVirtual:"Натисніть, щоб перетягнути.",dropIndicator:"індикатор перетягування",dropOnItem:e=>`Перетягнути на ${e.itemText}`,dropOnRoot:"Перетягнути на",endDragKeyboard:"Триває перетягування. Натисніть Enter, щоб скасувати перетягування.",endDragTouch:"Триває перетягування. Натисніть двічі, щоб скасувати перетягування.",endDragVirtual:"Триває перетягування. Натисніть, щоб скасувати перетягування.",insertAfter:e=>`Вставити після ${e.itemText}`,insertBefore:e=>`Вставити перед ${e.itemText}`,insertBetween:e=>`Вставити між ${e.beforeItemText} і ${e.afterItemText}`};var N1={};N1={dragDescriptionKeyboard:"按 Enter 开始拖动。",dragDescriptionKeyboardAlt:"按 Alt + Enter 开始拖动。",dragDescriptionLongPress:"长按以开始拖动。",dragDescriptionTouch:"双击开始拖动。",dragDescriptionVirtual:"单击开始拖动。",dragItem:e=>`拖动 ${e.itemText}`,dragSelectedItems:(e,t)=>`拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 选中项目`,other:()=>`${t.number(e.count)} 选中项目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt + Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedLongPress:(e,t)=>`长按以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragStartedKeyboard:"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。",dragStartedTouch:"已开始拖动。导航到放置目标,然后双击放置。",dragStartedVirtual:"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 放置。按 Escape 取消拖动。",dropDescriptionTouch:"双击放置。",dropDescriptionVirtual:"单击放置。",dropIndicator:"放置标记",dropOnItem:e=>`放置于 ${e.itemText}`,dropOnRoot:"放置于",endDragKeyboard:"正在拖动。按 Enter 取消拖动。",endDragTouch:"正在拖动。双击取消拖动。",endDragVirtual:"正在拖动。单击取消拖动。",insertAfter:e=>`插入到 ${e.itemText} 之后`,insertBefore:e=>`插入到 ${e.itemText} 之前`,insertBetween:e=>`插入到 ${e.beforeItemText} 和 ${e.afterItemText} 之间`};var V1={};V1={dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。",dragStartedTouch:"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。",dragStartedVirtual:"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。",dropDescriptionTouch:"輕點兩下以放置。",dropDescriptionVirtual:"按一下滑鼠以放置。",dropIndicator:"放置指示器",dropOnItem:e=>`放置在「${e.itemText}」上`,dropOnRoot:"放置在",endDragKeyboard:"拖曳中。按 Enter 鍵以取消拖曳。",endDragTouch:"拖曳中。輕點兩下以取消拖曳。",endDragVirtual:"拖曳中。按一下滑鼠以取消拖曳。",insertAfter:e=>`插入至「${e.itemText}」之後`,insertBefore:e=>`插入至「${e.itemText}」之前`,insertBetween:e=>`插入至「${e.beforeItemText}」和「${e.afterItemText}」之間`};var _1={};_1={"ar-AE":i1,"bg-BG":l1,"cs-CZ":o1,"da-DK":s1,"de-DE":d1,"el-GR":c1,"en-US":f1,"es-ES":p1,"et-EE":m1,"fi-FI":b1,"fr-FR":h1,"he-IL":$1,"hr-HR":g1,"hu-HU":D1,"it-IT":v1,"ja-JP":y1,"ko-KR":x1,"lt-LT":C1,"lv-LV":E1,"nb-NO":B1,"nl-NL":k1,"pl-PL":P1,"pt-BR":S1,"pt-PT":A1,"ro-RO":w1,"ru-RU":F1,"sk-SK":T1,"sl-SI":I1,"sr-SP":R1,"sv-SE":K1,"tr-TR":M1,"uk-UA":z1,"zh-CN":N1,"zh-TW":V1};function mv(e){return e&&e.__esModule?e.default:e}const bv={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function hv(){let e=De(mv(_1),"@react-aria/dnd"),t=lv(),u=pv();return{dropProps:{...yt(u?e.format(bv[t]):""),onClick:()=>{}}}}const $v=800;function gv(e){let{hasDropButton:t,isDisabled:u}=e,[n,r]=o.useState(!1),a=o.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Le.all,dropActivateTimer:void 0}).current,i=x=>{if(r(!0),typeof e.onDropEnter=="function"){let C=x.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:x.clientX-C.x,y:x.clientY-C.y})}},l=x=>{if(r(!1),typeof e.onDropExit=="function"){let C=x.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:x.clientX-C.x,y:x.clientY-C.y})}},s=x=>{x.preventDefault(),x.stopPropagation();let C=vs(x);if(x.clientX===a.x&&x.clientY===a.y&&C===a.allowedOperations){x.dataTransfer.dropEffect=a.dropEffect;return}a.x=x.clientX,a.y=x.clientY;let B=a.dropEffect;if(C!==a.allowedOperations){let P=ni(C),T=P[0];if(typeof e.getDropOperation=="function"){let v=new hr(x.dataTransfer);T=$r(C,e.getDropOperation(v,P))}a.dropEffect=ui[T]||"none"}if(typeof e.getDropOperationForPoint=="function"){let P=new hr(x.dataTransfer),T=x.currentTarget.getBoundingClientRect(),v=$r(C,e.getDropOperationForPoint(P,ni(C),a.x-T.x,a.y-T.y));a.dropEffect=ui[v]||"none"}if(a.allowedOperations=C,x.dataTransfer.dropEffect=a.dropEffect,a.dropEffect==="none"&&B!=="none"?l(x):a.dropEffect!=="none"&&B==="none"&&i(x),typeof e.onDropMove=="function"&&a.dropEffect!=="none"){let P=x.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:a.x-P.x,y:a.y-P.y})}if(clearTimeout(a.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&a.dropEffect!=="none"){let P=e.onDropActivate,T=x.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{P({type:"dropactivate",x:a.x-T.x,y:a.y-T.y})},$v)}},d=x=>{if(x.preventDefault(),x.stopPropagation(),a.dragOverElements.add(x.target),a.dragOverElements.size>1)return;let C=vs(x),B=ni(C),P=B[0];if(typeof e.getDropOperation=="function"){let T=new hr(x.dataTransfer);P=$r(C,e.getDropOperation(T,B))}if(typeof e.getDropOperationForPoint=="function"){let T=new hr(x.dataTransfer),v=x.currentTarget.getBoundingClientRect();P=$r(C,e.getDropOperationForPoint(T,B,x.clientX-v.x,x.clientY-v.y))}a.x=x.clientX,a.y=x.clientY,a.allowedOperations=C,a.dropEffect=ui[P]||"none",x.dataTransfer.dropEffect=a.dropEffect,P!=="cancel"&&i(x)},c=x=>{x.preventDefault(),x.stopPropagation(),a.dragOverElements.delete(x.target);for(let C of a.dragOverElements)x.currentTarget.contains(C)||a.dragOverElements.delete(C);a.dragOverElements.size>0||(a.dropEffect!=="none"&&l(x),clearTimeout(a.dropActivateTimer))},f=x=>{if(x.preventDefault(),x.stopPropagation(),a.dropEffect,typeof e.onDrop=="function"){let B=u1[a.dropEffect],P=n1(x.dataTransfer),T=x.currentTarget.getBoundingClientRect(),v={type:"drop",x:x.clientX-T.x,y:x.clientY-T.y,items:P,dropOperation:B};e.onDrop(v)}let C={...a1};a.dragOverElements.clear(),l(x),clearTimeout(a.dropActivateTimer),C.draggingCollectionRef==null||cv(C)},p=ie(x=>{typeof e.onDropEnter=="function"&&e.onDropEnter(x)}),m=ie(x=>{typeof e.onDropExit=="function"&&e.onDropExit(x)}),b=ie(x=>{typeof e.onDropActivate=="function"&&e.onDropActivate(x)}),g=ie(x=>{typeof e.onDrop=="function"&&e.onDrop(x)}),$=ie((x,C)=>e.getDropOperation?e.getDropOperation(x,C):C[0]),{ref:D}=e;Y(()=>{if(!(u||!D.current))return fv({element:D.current,getDropOperation:$,onDropEnter(x){r(!0),p(x)},onDropExit(x){r(!1),m(x)},onDrop:g,onDropActivate:b})},[u,D,$,p,m,g,b]);let{dropProps:y}=hv();return u?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&y,onDragEnter:d,onDragOver:s,onDragLeave:c,onDrop:f},dropButtonProps:{...t&&y},isDropTarget:n}}function vs(e){let t=t1[e.dataTransfer.effectAllowed];hs&&(t&=hs);let u=Le.none;return gt()?(e.altKey&&(u|=Le.copy),e.ctrlKey&&!Xi()&&(u|=Le.link),e.metaKey&&(u|=Le.move)):(e.altKey&&(u|=Le.link),e.shiftKey&&(u|=Le.move),e.ctrlKey&&(u|=Le.copy)),u?t&u:t}function ni(e){let t=[];return e&Le.move&&t.push("move"),e&Le.copy&&t.push("copy"),e&Le.link&&t.push("link"),t}function $r(e,t){let u=Le[t];return e&u?t:"cancel"}const ri=new Map;function Ru(e,t){let u=ri.get(e);if(!u){let n=new Set,r=a=>{for(let i of n)i(a)};u={listener:r,handlers:n},ri.set(e,u),document.addEventListener(e,r)}return u.handlers.add(t),()=>{u.handlers.delete(t),u.handlers.size===0&&(document.removeEventListener(e,u.listener),ri.delete(e))}}function Dv(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=ca({onFocusChange:c=>{u.current=c}}),r=ie(c=>{u.current&&e.getItems&&c.preventDefault()}),a=ie(c=>{if(!(!u.current||!e.getItems)&&(c.preventDefault(),c.clipboardData)){var f;bs(c.clipboardData,e.getItems({action:"copy"})),(f=e.onCopy)===null||f===void 0||f.call(e)}}),i=ie(c=>{u.current&&e.onCut&&e.getItems&&c.preventDefault()}),l=ie(c=>{!u.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(bs(c.clipboardData,e.getItems({action:"cut"})),e.onCut()))}),s=ie(c=>{u.current&&e.onPaste&&c.preventDefault()}),d=ie(c=>{if(!(!u.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let f=n1(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return lt(Ru("beforecopy",r),Ru("copy",a),Ru("beforecut",i),Ru("cut",l),Ru("beforepaste",s),Ru("paste",d))},[t,r,a,i,l,s,d]),{clipboardProps:n}}const Vl=new WeakMap;function ys(e,t){var u;let{id:n}=(u=Vl.get(e))!==null&&u!==void 0?u:{};if(!n)throw new Error("Unknown list");return`${n}-${vv(t)}`}function vv(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class j1{isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findPreviousKey(t,u){let n=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;n=this.collection.getKeyBefore(n)}return null}findNextKey(t,u){let n=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;if(n=this.collection.getKeyAfter(n),n==null)return null}return null}getKeyForItemInRowByIndex(t,u=0){if(u<0)return null;let n=this.collection.getItem(t);if(!n)return null;let r=0;for(let l of we(n,this.collection)){var a;if(l.colSpan&&l.colSpan+r>u)return(a=l.key)!==null&&a!==void 0?a:null;l.colSpan&&(r=r+l.colSpan-1);var i;if(r===u)return(i=l.key)!==null&&i!==void 0?i:null;r++}return null}getKeyBelow(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findNextKey(u,a=>a.type==="item"),u!=null){if(this.isCell(n)){let a=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(u,a)}if(this.focusMode==="row")return u}return null}getKeyAbove(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findPreviousKey(u,a=>a.type==="item"),u!=null){if(this.isCell(n)){let a=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(u,a)}if(this.focusMode==="row")return u}return null}getKeyRightOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=we(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Kt(c))===null||n===void 0?void 0:n.key:(r=Tt(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=we(c,this.collection);var i;let p=(i=this.direction==="rtl"?yn(f,u.index-1):yn(f,u.index+1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t))!==null&&d!==void 0?d:null}return null}getKeyLeftOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=we(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Tt(c))===null||n===void 0?void 0:n.key:(r=Kt(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=we(c,this.collection);var i;let p=(i=this.direction==="rtl"?yn(f,u.index+1):yn(f,u.index-1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t))!==null&&d!==void 0?d:null}return null}getFirstKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;var i;return(i=(a=Tt(we(d,this.collection)))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findNextKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;var s;n=(s=(l=Tt(we(d,this.collection)))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getLastKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;let c=we(d,this.collection);var i;return(i=(a=Kt(c))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findPreviousKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;let c=we(d,this.collection);var s;n=(s=(l=Kt(c))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getKeyPageAbove(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&u!=null;){var a;if(u=(a=this.getKeyAbove(u))!==null&&a!==void 0?a:null,u==null)break;n=this.layoutDelegate.getItemRect(u)}return u}getKeyPageBelow(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,a=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.height<a;){let i=this.getKeyBelow(u);if(i==null)break;n=this.layoutDelegate.getItemRect(i),u=i}return u}getKeyForSearch(t,u){let n=u??null;if(!this.collator)return null;let r=this.collection;if(n=u??this.getFirstKey(),n==null)return null;let a=r.getItem(n);if(!a)return null;var i;a.type==="cell"&&(n=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;n!=null;){let c=r.getItem(n);if(!c)return null;if(c.textValue){let f=c.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){var s,d;return this.isRow(c)&&this.focusMode==="cell"?(d=(s=Tt(we(c,this.collection)))===null||s===void 0?void 0:s.key)!==null&&d!==void 0?d:null:c.key}}n=this.findNextKey(n,f=>f.type==="item"),n==null&&!l&&(n=this.getFirstKey(),l=!0)}return null}constructor(t){if(this.collection=t.collection,this.disabledKeys=t.disabledKeys,this.disabledBehavior=t.disabledBehavior||"all",this.direction=t.direction,this.collator=t.collator,!t.layout&&!t.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=t.layoutDelegate||(t.layout?new yv(t.layout):new Mi(t.ref)),this.focusMode=t.focusMode||"row"}}class yv{getContentSize(){return this.layout.getContentSize()}getItemRect(t){var u;return((u=this.layout.getLayoutInfo(t))===null||u===void 0?void 0:u.rect)||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}constructor(t){this.layout=t}}const _l=new WeakMap;var L1={};L1={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var O1={};O1={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var H1={};H1={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var U1={};U1={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var W1={};W1={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var Z1={};Z1={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var G1={};G1={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var q1={};q1={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var Y1={};Y1={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var J1={};J1={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var Q1={};Q1={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var X1={};X1={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var em={};em={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var tm={};tm={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var um={};um={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var nm={};nm={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var rm={};rm={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var am={};am={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var im={};im={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var lm={};lm={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var om={};om={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var sm={};sm={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var dm={};dm={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var cm={};cm={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var fm={};fm={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var pm={};pm={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var mm={};mm={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var bm={};bm={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var hm={};hm={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var $m={};$m={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var gm={};gm={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var Dm={};Dm={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var vm={};vm={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var ym={};ym={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var Da={};Da={"ar-AE":L1,"bg-BG":O1,"cs-CZ":H1,"da-DK":U1,"de-DE":W1,"el-GR":Z1,"en-US":G1,"es-ES":q1,"et-EE":Y1,"fi-FI":J1,"fr-FR":Q1,"he-IL":X1,"hr-HR":em,"hu-HU":tm,"it-IT":um,"ja-JP":nm,"ko-KR":rm,"lt-LT":am,"lv-LV":im,"nb-NO":lm,"nl-NL":om,"pl-PL":sm,"pt-BR":dm,"pt-PT":cm,"ro-RO":fm,"ru-RU":pm,"sk-SK":mm,"sl-SI":bm,"sr-SP":hm,"sv-SE":$m,"tr-TR":gm,"uk-UA":Dm,"zh-CN":vm,"zh-TW":ym};function xv(e){return e&&e.__esModule?e.default:e}function xm(e,t){let{getRowText:u=l=>{var s,d,c,f;return(f=(s=(d=t.collection).getTextValue)===null||s===void 0?void 0:s.call(d,l))!==null&&f!==void 0?f:(c=t.collection.getItem(l))===null||c===void 0?void 0:c.textValue}}=e,n=De(xv(Da),"@react-aria/grid"),r=t.selectionManager.rawSelection,a=o.useRef(r),i=ie(()=>{var l;if(!t.selectionManager.isFocused||r===a.current){a.current=r;return}let s=xs(r,a.current),d=xs(a.current,r),c=t.selectionManager.selectionBehavior==="replace",f=[];if(t.selectionManager.selectedKeys.size===1&&c){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let p=u(t.selectionManager.selectedKeys.keys().next().value);p&&f.push(n.format("selectedItem",{item:p}))}}else if(s.size===1&&d.size===0){let p=u(s.keys().next().value);p&&f.push(n.format("selectedItem",{item:p}))}else if(d.size===1&&s.size===0&&t.collection.getItem(d.keys().next().value)){let p=u(d.keys().next().value);p&&f.push(n.format("deselectedItem",{item:p}))}t.selectionManager.selectionMode==="multiple"&&(f.length===0||r==="all"||r.size>1||a.current==="all"||((l=a.current)===null||l===void 0?void 0:l.size)>1)&&f.push(r==="all"?n.format("selectedAll"):n.format("selectedCount",{count:r.size})),f.length>0&&$t(f.join(" ")),a.current=r});Sn(()=>{if(t.selectionManager.isFocused)i();else{let l=requestAnimationFrame(i);return()=>cancelAnimationFrame(l)}},[r,t.selectionManager.isFocused])}function xs(e,t){let u=new Set;if(e==="all"||t==="all")return u;for(let n of e.keys())t.has(n)||u.add(n);return u}function Cv(e){return e&&e.__esModule?e.default:e}function Cm(e){let t=De(Cv(Da),"@react-aria/grid"),u=ll(),n=(u==="pointer"||u==="virtual"||u==null)&&typeof window<"u"&&"ontouchstart"in window,r=o.useMemo(()=>{let i=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,s;return n&&(s=t.format("longPressToSelect")),l==="replace"&&i!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return yt(r)}function Ev(e,t,u){let{isVirtualized:n,disallowTypeAhead:r,keyboardDelegate:a,focusMode:i,scrollRef:l,getRowText:s,onRowAction:d,onCellAction:c}=e,{selectionManager:f}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let p=tn({usage:"search",sensitivity:"base"}),{direction:m}=pe(),b=t.selectionManager.disabledBehavior,g=o.useMemo(()=>a||new j1({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:b,ref:u,direction:m,collator:p,focusMode:i}),[a,t.collection,t.disabledKeys,b,u,m,p,i]),{collectionProps:$}=ga({ref:u,selectionManager:f,keyboardDelegate:g,isVirtualized:n,scrollRef:l,disallowTypeAhead:r}),D=oe(e.id);_l.set(t,{keyboardDelegate:g,actions:{onRowAction:d,onCellAction:c}});let y=Cm({selectionManager:f,hasItemActions:!!(d||c)}),x=U(e,{labelable:!0}),C=o.useCallback(v=>{if(f.isFocused){v.currentTarget.contains(v.target)||f.setFocused(!1);return}v.currentTarget.contains(v.target)&&f.setFocused(!0)},[f]),B=o.useMemo(()=>({onBlur:$.onBlur,onFocus:C}),[C,$.onBlur]),P=kl(u,{isDisabled:t.collection.size!==0}),T=_(x,{role:"grid",id:D,"aria-multiselectable":f.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?B:$,t.collection.size===0&&{tabIndex:P?-1:0}||void 0,y);return n&&(T["aria-rowcount"]=t.collection.size,T["aria-colcount"]=t.collection.columnCount),xm({getRowText:s},t),{gridProps:T}}function Bv(){return{rowGroupProps:{role:"rowgroup"}}}function kv(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d}=_l.get(t),c=d.onRowAction?()=>{var g;return(g=d.onRowAction)===null||g===void 0?void 0:g.call(d,a.key)}:s,{itemProps:f,...p}=un({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:c||!(a==null||(n=a.props)===null||n===void 0)&&n.onAction?lt(a==null||(r=a.props)===null||r===void 0?void 0:r.onAction,c):void 0,isDisabled:t.collection.size===0}),m=t.selectionManager.isSelected(a.key),b={role:"row","aria-selected":t.selectionManager.selectionMode!=="none"?m:void 0,"aria-disabled":p.isDisabled||void 0,...f};return i&&(b["aria-rowindex"]=a.index+1),{rowProps:b,...p}}function Em(e,t,u){let{node:n,isVirtualized:r,focusMode:a="child",shouldSelectOnPressUp:i,onAction:l}=e,{direction:s}=pe(),{keyboardDelegate:d,actions:{onCellAction:c}}=_l.get(t),f=o.useRef(null),p=()=>{if(u.current){let x=ke(u.current);if(a==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let C=t.selectionManager.childFocusStrategy==="last"?ai(x):x.firstChild();if(C){ye(C);return}}(f.current!=null&&n.key!==f.current||!u.current.contains(document.activeElement))&&ye(u.current)}},{itemProps:m,isPressed:b}=un({selectionManager:t.selectionManager,key:n.key,ref:u,isVirtualized:r,focus:p,shouldSelectOnPressUp:i,onAction:c?()=>c(n.key):l,isDisabled:t.collection.size===0}),g=x=>{if(!x.currentTarget.contains(x.target)||t.isKeyboardNavigationDisabled||!u.current||!document.activeElement)return;let C=ke(u.current);switch(C.currentNode=document.activeElement,x.key){case"ArrowLeft":{let S=s==="rtl"?C.nextNode():C.previousNode();if(a==="child"&&S===u.current&&(S=null),x.preventDefault(),x.stopPropagation(),S)ye(S),Ve(S,{containingElement:Ne(u.current)});else{var B;if(((B=d.getKeyLeftOf)===null||B===void 0?void 0:B.call(d,n.key))!==n.key){var P;(P=u.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(x.nativeEvent.type,x.nativeEvent));break}a==="cell"&&s==="rtl"?(ye(u.current),Ve(u.current,{containingElement:Ne(u.current)})):(C.currentNode=u.current,S=s==="rtl"?C.firstChild():ai(C),S&&(ye(S),Ve(S,{containingElement:Ne(u.current)})))}break}case"ArrowRight":{let S=s==="rtl"?C.previousNode():C.nextNode();if(a==="child"&&S===u.current&&(S=null),x.preventDefault(),x.stopPropagation(),S)ye(S),Ve(S,{containingElement:Ne(u.current)});else{var T;if(((T=d.getKeyRightOf)===null||T===void 0?void 0:T.call(d,n.key))!==n.key){var v;(v=u.current.parentElement)===null||v===void 0||v.dispatchEvent(new KeyboardEvent(x.nativeEvent.type,x.nativeEvent));break}a==="cell"&&s==="ltr"?(ye(u.current),Ve(u.current,{containingElement:Ne(u.current)})):(C.currentNode=u.current,S=s==="rtl"?ai(C):C.firstChild(),S&&(ye(S),Ve(S,{containingElement:Ne(u.current)})))}break}case"ArrowUp":case"ArrowDown":if(!x.altKey&&u.current.contains(x.target)){var F;x.stopPropagation(),x.preventDefault(),(F=u.current.parentElement)===null||F===void 0||F.dispatchEvent(new KeyboardEvent(x.nativeEvent.type,x.nativeEvent))}break}},$=x=>{if(f.current=n.key,x.target!==u.current){_t()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{a==="child"&&document.activeElement===u.current&&p()})},D=_(m,{role:"gridcell",onKeyDownCapture:g,"aria-colspan":n.colSpan,"aria-colindex":n.colIndex!=null?n.colIndex+1:void 0,colSpan:r?void 0:n.colSpan,onFocus:$});var y;return r&&(D["aria-colindex"]=((y=n.colIndex)!==null&&y!==void 0?y:n.index)+1),i&&D.tabIndex!=null&&D.onPointerDown==null&&(D.onPointerDown=x=>{let C=x.currentTarget,B=C.getAttribute("tabindex");C.removeAttribute("tabindex"),requestAnimationFrame(()=>{B!=null&&C.setAttribute("tabindex",B)})}),{gridCellProps:D,isPressed:b}}function ai(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function Pv(e){return e&&e.__esModule?e.default:e}function Sv(e,t){let{key:u}=e,n=t.selectionManager,r=oe(),a=!t.selectionManager.canSelectItem(u),i=t.selectionManager.isSelected(u),l=()=>n.toggleSelection(u);const s=De(Pv(Da),"@react-aria/grid");return{checkboxProps:{id:r,"aria-label":s.format("select"),isSelected:i,isDisabled:a,onChange:l}}}function Av(e,t,u){let{isVirtualized:n,keyboardDelegate:r,layoutDelegate:a,onAction:i,disallowTypeAhead:l,linkBehavior:s="action",keyboardNavigationBehavior:d="arrow"}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:c}=Il({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:u,keyboardDelegate:r,layoutDelegate:a,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:s,disallowTypeAhead:l,autoFocus:e.autoFocus}),f=oe(e.id);Vl.set(t,{id:f,onAction:i,linkBehavior:s,keyboardNavigationBehavior:d});let p=Cm({selectionManager:t.selectionManager,hasItemActions:!!i}),m=kl(u,{isDisabled:t.collection.size!==0}),b=U(e,{labelable:!0}),g=_(b,{role:"grid",id:f,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:m?-1:0}:c,p);return n&&(g["aria-rowcount"]=t.collection.size,g["aria-colcount"]=1),xm({},t),{gridProps:g}}const Cs={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function wv(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l}=e,{direction:s}=pe(),{onAction:d,linkBehavior:c,keyboardNavigationBehavior:f}=Vl.get(t),p=it(),m=o.useRef(null),b=()=>{var w;u.current!==null&&(m.current!=null&&a.key!==m.current||!(!((w=u.current)===null||w===void 0)&&w.contains(document.activeElement)))&&ye(u.current)},g={},$=e.hasChildItems,D=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var y,x,C;let w=(y=(x=t.collection).getChildren)===null||y===void 0?void 0:y.call(x,a.key);$=$||[...w??[]].length>1,d==null&&!D&&t.selectionManager.selectionMode==="none"&&$&&(d=()=>t.toggleKey(a.key));let I=$?t.expandedKeys.has(a.key):void 0,A=1;var B;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let z=t.collection.getItem(a.parentKey);if(z){var P,T;let K=(P=(T=t.collection).getChildren)===null||P===void 0?void 0:P.call(T,z.key);A=Kt(K).index+1}}else A=((B=(C=[...t.collection].filter(z=>z.level===0).at(-1))===null||C===void 0?void 0:C.index)!==null&&B!==void 0?B:0)+1;g={"aria-expanded":I,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":A}}let{itemProps:v,...F}=un({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:d||!((n=a.props)===null||n===void 0)&&n.onAction?lt((r=a.props)===null||r===void 0?void 0:r.onAction,d?()=>d(a.key):void 0):void 0,focus:b,linkBehavior:c}),S=w=>{if(!w.currentTarget.contains(w.target)||!u.current||!document.activeElement)return;let I=ke(u.current);if(I.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(w.key===Cs.expand[s]&&t.selectionManager.focusedKey===a.key&&$&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),w.stopPropagation();return}else if(w.key===Cs.collapse[s]&&t.selectionManager.focusedKey===a.key&&$&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),w.stopPropagation();return}}switch(w.key){case"ArrowLeft":if(f==="arrow"){let z=s==="rtl"?I.nextNode():I.previousNode();if(z)w.preventDefault(),w.stopPropagation(),ye(z),Ve(z,{containingElement:Ne(u.current)});else if(w.preventDefault(),w.stopPropagation(),s==="rtl")ye(u.current),Ve(u.current,{containingElement:Ne(u.current)});else{I.currentNode=u.current;let K=Es(I);K&&(ye(K),Ve(K,{containingElement:Ne(u.current)}))}}break;case"ArrowRight":if(f==="arrow"){let z=s==="rtl"?I.previousNode():I.nextNode();if(z)w.preventDefault(),w.stopPropagation(),ye(z),Ve(z,{containingElement:Ne(u.current)});else if(w.preventDefault(),w.stopPropagation(),s==="ltr")ye(u.current),Ve(u.current,{containingElement:Ne(u.current)});else{I.currentNode=u.current;let K=Es(I);K&&(ye(K),Ve(K,{containingElement:Ne(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!w.altKey&&u.current.contains(w.target)){var A;w.stopPropagation(),w.preventDefault(),(A=u.current.parentElement)===null||A===void 0||A.dispatchEvent(new KeyboardEvent(w.nativeEvent.type,w.nativeEvent))}break;case"Tab":if(f==="tab"){let z=ke(u.current,{tabbable:!0});z.currentNode=document.activeElement,(w.shiftKey?z.previousNode():z.nextNode())&&w.stopPropagation()}}},k=w=>{if(m.current=a.key,w.target!==u.current){_t()||t.selectionManager.setFocusedKey(a.key);return}},M=tl(a.props),E=F.hasAction?M:{},V=_(v,E,{role:"row",onKeyDownCapture:S,onFocus:k,"aria-label":a.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(a.key)?t.selectionManager.isSelected(a.key):void 0,"aria-disabled":t.selectionManager.isDisabled(a.key)||void 0,"aria-labelledby":p&&a.textValue?`${ys(t,a.key)} ${p}`:void 0,id:ys(t,a.key)});i&&(V["aria-rowindex"]=a.index+1);let R={role:"gridcell","aria-colindex":1};return{rowProps:{..._(V,g)},gridCellProps:R,descriptionProps:{id:p},...F}}function Es(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}const Bm=1,ii=Symbol.for("react-aria-landmark-manager");function Fv(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function Bs(){if(typeof document>"u")return null;let e=document[ii];return e&&e.version>=Bm?e:(document[ii]=new Iv,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[ii])}function Tv(){return ol.useSyncExternalStore(Fv,Bs,Bs)}class Iv{setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(t,u){var n,r;(r=this.landmarks.find(a=>a.ref.current===t))===null||r===void 0||(n=r.focus)===null||n===void 0||n.call(r,u)}getLandmarksByRole(t){return new Set(this.landmarks.filter(u=>u.role===t))}getLandmarkByRole(t){return this.landmarks.find(u=>u.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(r=>r.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(r=>r.role==="main").length>1&&console.error('Page can contain no more than one landmark with the role "main".'),this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let u=0,n=this.landmarks.length-1;for(;u<=n;){let r=Math.floor((u+n)/2),a=t.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);!!(a&Node.DOCUMENT_POSITION_PRECEDING||a&Node.DOCUMENT_POSITION_CONTAINS)?u=r+1:n=r-1}this.landmarks.splice(u,0,t),this.checkLabels(t.role)}updateLandmark(t){let u=this.landmarks.findIndex(n=>n.ref===t.ref);u>=0&&(this.landmarks[u]={...this.landmarks[u],...t},this.checkLabels(this.landmarks[u].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(u=>u.ref!==t),this.teardownIfNeeded()}checkLabels(t){let u=this.getLandmarksByRole(t);if(u.size>1){let n=[...u].filter(r=>!r.label);if(n.length>0)console.warn(`Page contains more than one landmark with the '${t}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `,n.map(r=>r.ref.current));else{let r=[...u].map(i=>i.label);r.filter((i,l)=>r.indexOf(i)!==l).forEach(i=>{console.warn(`Page contains more than one landmark with the '${t}' role and '${i}' label. If two or more landmarks on a page share the same role, they must have unique labels: `,[...u].filter(l=>l.label===i).map(l=>l.ref.current))})}}}closestLandmark(t){let u=new Map(this.landmarks.map(r=>[r.ref.current,r])),n=t;for(;n&&!u.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return u.get(n)}getNextLandmark(t,{backward:u}){var n;let r=this.closestLandmark(t),a=u?this.landmarks.length-1:0;r&&(a=this.landmarks.indexOf(r)+(u?-1:1));let i=()=>{if(a<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;a=this.landmarks.length-1}else if(a>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;a=0}return a<0||a>=this.landmarks.length};if(i())return;let l=a;for(;!((n=this.landmarks[a].ref.current)===null||n===void 0)&&n.closest("[aria-hidden=true]");){if(a+=u?-1:1,i())return;if(a===l)break}return this.landmarks[a]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(t.target,t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&document.contains(t.ref.current)?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,u){let n=this.getNextLandmark(t,{backward:u});if(!n)return!1;if(n.lastFocused){let r=n.lastFocused;if(document.body.contains(r))return r.focus(),!0}return n.ref.current&&document.contains(n.ref.current)?(this.focusLandmark(n.ref.current,u?"backward":"forward"),!0):!1}focusinHandler(t){let u=this.closestLandmark(t.target);u&&u.ref.current!==t.target&&this.updateLandmark({ref:u.ref,lastFocused:t.target});let n=t.relatedTarget;if(n){let r=this.closestLandmark(n);r&&r.ref.current===n&&r.blur()}}focusoutHandler(t){let u=t.target,n=t.relatedTarget;if(!n||n===document){let r=this.closestLandmark(u);r&&r.ref.current===u&&r.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(u,n){let r=(n==null?void 0:n.from)||document.activeElement;return t.navigate(r,u==="backward")},focusNext(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!1)},focusPrevious(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(u=>u.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=Bm,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function Rv(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:a}=e;let i=Tv(),l=n||r,[s,d]=o.useState(!1),c=o.useCallback(()=>{d(!0)},[d]),f=o.useCallback(()=>{d(!1)},[d]);return Y(()=>{if(i)return i.registerLandmark({ref:t,label:l,role:u,focus:a||c,blur:f})},[i,l,t,u,a,c,f]),o.useEffect(()=>{var p;s&&((p=t.current)===null||p===void 0||p.focus())},[s,t]),{landmarkProps:{role:u,tabIndex:s?-1:void 0,"aria-label":n,"aria-labelledby":r}}}function Kv(e){let{value:t=0,minValue:u=0,maxValue:n=100,valueLabel:r,isIndeterminate:a,formatOptions:i={style:"percent"}}=e,l=U(e,{labelable:!0}),{labelProps:s,fieldProps:d}=Sl({...e,labelElementType:"span"});t=wn(t,u,n);let c=(t-u)/(n-u),f=Sg(i);if(!a&&!r){let p=i.style==="percent"?c:t;r=f.format(p)}return{progressBarProps:_(l,{...d,"aria-valuenow":a?void 0:t,"aria-valuemin":u,"aria-valuemax":n,"aria-valuetext":a?void 0:r,role:"progressbar"}),labelProps:s}}const km=new WeakMap;function Mv(e,t,u){let{value:n,children:r,"aria-label":a,"aria-labelledby":i}=e;const l=e.isDisabled||t.isDisabled;let s=r!=null,d=a!=null||i!=null;!s&&!d&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===n,f=v=>{v.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:m}=Je({isDisabled:l}),{pressProps:b,isPressed:g}=Je({isDisabled:l,onPress(){var v;t.setSelectedValue(n),(v=u.current)===null||v===void 0||v.focus()}}),{focusableProps:$}=Ht(_(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),D=_(p,$),y=U(e,{labelable:!0}),x=-1;t.selectedValue!=null?t.selectedValue===n&&(x=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(x=0),l&&(x=void 0);let{name:C,descriptionId:B,errorMessageId:P,validationBehavior:T}=km.get(t);return Un(u,t.selectedValue,t.setSelectedValue),Qn({validationBehavior:T},t,u),{labelProps:_(b,{onClick:v=>v.preventDefault()}),inputProps:_(y,{...D,type:"radio",name:C,tabIndex:x,disabled:l,required:t.isRequired&&T==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?P:null,B].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:c,isPressed:m||g}}function zv(e,t){let{name:u,isReadOnly:n,isRequired:r,isDisabled:a,orientation:i="vertical",validationBehavior:l="aria"}=e,{direction:s}=pe(),{isInvalid:d,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:b,errorMessageProps:g}=ou({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),$=U(e,{labelable:!0}),{focusWithinProps:D}=ft({onBlurWithin(C){var B;(B=e.onBlur)===null||B===void 0||B.call(e,C),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),y=C=>{let B;switch(C.key){case"ArrowRight":s==="rtl"&&i!=="vertical"?B="prev":B="next";break;case"ArrowLeft":s==="rtl"&&i!=="vertical"?B="next":B="prev";break;case"ArrowDown":B="next";break;case"ArrowUp":B="prev";break;default:return}C.preventDefault();let P=ke(C.currentTarget,{from:C.target}),T;B==="next"?(T=P.nextNode(),T||(P.currentNode=C.currentTarget,T=P.firstChild())):(T=P.previousNode(),T||(P.currentNode=C.currentTarget,T=P.lastChild())),T&&(T.focus(),t.setSelectedValue(T.value))},x=oe(u);return km.set(t,{name:x,descriptionId:b.id,errorMessageId:g.id,validationBehavior:l}),{radioGroupProps:_($,{role:"radiogroup",onKeyDown:y,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":r||void 0,"aria-disabled":a||void 0,"aria-orientation":i,...m,...D}),labelProps:p,descriptionProps:b,errorMessageProps:g,isInvalid:d,validationErrors:c,validationDetails:f}}var Pm={};Pm={"Clear search":"مسح البحث"};var Sm={};Sm={"Clear search":"Изчистване на търсене"};var Am={};Am={"Clear search":"Vymazat hledání"};var wm={};wm={"Clear search":"Ryd søgning"};var Fm={};Fm={"Clear search":"Suche zurücksetzen"};var Tm={};Tm={"Clear search":"Απαλοιφή αναζήτησης"};var Im={};Im={"Clear search":"Clear search"};var Rm={};Rm={"Clear search":"Borrar búsqueda"};var Km={};Km={"Clear search":"Tühjenda otsing"};var Mm={};Mm={"Clear search":"Tyhjennä haku"};var zm={};zm={"Clear search":"Effacer la recherche"};var Nm={};Nm={"Clear search":"נקה חיפוש"};var Vm={};Vm={"Clear search":"Obriši pretragu"};var _m={};_m={"Clear search":"Keresés törlése"};var jm={};jm={"Clear search":"Cancella ricerca"};var Lm={};Lm={"Clear search":"検索をクリア"};var Om={};Om={"Clear search":"검색 지우기"};var Hm={};Hm={"Clear search":"Išvalyti iešką"};var Um={};Um={"Clear search":"Notīrīt meklēšanu"};var Wm={};Wm={"Clear search":"Tøm søk"};var Zm={};Zm={"Clear search":"Zoekactie wissen"};var Gm={};Gm={"Clear search":"Wyczyść zawartość wyszukiwania"};var qm={};qm={"Clear search":"Limpar pesquisa"};var Ym={};Ym={"Clear search":"Limpar pesquisa"};var Jm={};Jm={"Clear search":"Ştergeţi căutarea"};var Qm={};Qm={"Clear search":"Очистить поиск"};var Xm={};Xm={"Clear search":"Vymazať vyhľadávanie"};var e0={};e0={"Clear search":"Počisti iskanje"};var t0={};t0={"Clear search":"Obriši pretragu"};var u0={};u0={"Clear search":"Rensa sökning"};var n0={};n0={"Clear search":"Aramayı temizle"};var r0={};r0={"Clear search":"Очистити пошук"};var a0={};a0={"Clear search":"清除搜索"};var i0={};i0={"Clear search":"清除搜尋條件"};var l0={};l0={"ar-AE":Pm,"bg-BG":Sm,"cs-CZ":Am,"da-DK":wm,"de-DE":Fm,"el-GR":Tm,"en-US":Im,"es-ES":Rm,"et-EE":Km,"fi-FI":Mm,"fr-FR":zm,"he-IL":Nm,"hr-HR":Vm,"hu-HU":_m,"it-IT":jm,"ja-JP":Lm,"ko-KR":Om,"lt-LT":Hm,"lv-LV":Um,"nb-NO":Wm,"nl-NL":Zm,"pl-PL":Gm,"pt-BR":qm,"pt-PT":Ym,"ro-RO":Jm,"ru-RU":Qm,"sk-SK":Xm,"sl-SI":e0,"sr-SP":t0,"sv-SE":u0,"tr-TR":n0,"uk-UA":r0,"zh-CN":a0,"zh-TW":i0};function Nv(e){return e&&e.__esModule?e.default:e}function Vv(e,t,u){let n=De(Nv(l0),"@react-aria/searchfield"),{isDisabled:r,isReadOnly:a,onSubmit:i,onClear:l,type:s="search"}=e,d=D=>{const y=D.key;y==="Enter"&&(r||a)&&D.preventDefault(),!(r||a)&&(y==="Enter"&&i&&(D.preventDefault(),i(t.value)),y==="Escape"&&(t.value===""&&(!u.current||u.current.value==="")?D.continuePropagation():(D.preventDefault(),t.setValue(""),l&&l())))},c=()=>{t.setValue(""),l&&l()},f=()=>{var D;(D=u.current)===null||D===void 0||D.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:g,...$}=Al({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:lt(d,e.onKeyDown),type:s},u);return{labelProps:p,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:r||a,onPress:c,onPressStart:f},descriptionProps:b,errorMessageProps:g,...$}}const jl=new WeakMap;function Ni(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function _v(e,t){let u=jl.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${Ni(t)}`}function o0(e,t,u){let n=jl.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${Ni(t)}-${Ni(u)}`}function s0(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>o0(e,t,u)).join(" ")}var d0={};d0={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var c0={};c0={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var f0={};f0={ascending:"vzestupně",ascendingSort:e=>`řazeno vzestupně podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixelů`,descending:"sestupně",descendingSort:e=>`řazeno sestupně podle sloupce ${e.columnName}`,resizerDescription:"Stisknutím klávesy Enter začnete měnit velikost",select:"Vybrat",selectAll:"Vybrat vše",sortable:"sloupec s možností řazení"};var p0={};p0={ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende rækkefølge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende rækkefølge`,resizerDescription:"Tryk på Enter for at ændre størrelse",select:"Vælg",selectAll:"Vælg alle",sortable:"sorterbar kolonne"};var m0={};m0={ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Größenänderung drücken",select:"Auswählen",selectAll:"Alles auswählen",sortable:"sortierbare Spalte"};var b0={};b0={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var h0={};h0={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"};var $0={};$0={ascending:"de subida",ascendingSort:e=>`ordenado por columna ${e.columnName} en orden de subida`,columnSize:e=>`${e.value} píxeles`,descending:"de bajada",descendingSort:e=>`ordenado por columna ${e.columnName} en orden de bajada`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var g0={};g0={ascending:"tõusev järjestus",ascendingSort:e=>`sorditud veeru järgi ${e.columnName} tõusvas järjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv järjestus",descendingSort:e=>`sorditud veeru järgi ${e.columnName} laskuvas järjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali kõik",sortable:"sorditav veerg"};var D0={};D0={ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa järjestyksessä`,columnSize:e=>`${e.value} pikseliä`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa järjestyksessä`,resizerDescription:"Aloita koon muutos painamalla Enter-näppäintä",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var v0={};v0={ascending:"croissant",ascendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre croissant`,columnSize:e=>`${e.value} pixels`,descending:"décroissant",descendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre décroissant`,resizerDescription:"Appuyez sur Entrée pour commencer le redimensionnement.",select:"Sélectionner",selectAll:"Sélectionner tout",sortable:"colonne triable"};var y0={};y0={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var x0={};x0={ascending:"rastući",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastućem redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padajućim redoslijedom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se može razvrstati"};var C0={};C0={ascending:"növekvő",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, növekvő sorrendben`,columnSize:e=>`${e.value} képpont`,descending:"csökkenő",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, csökkenő sorrendben`,resizerDescription:"Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",select:"Kijelölés",selectAll:"Összes kijelölése",sortable:"rendezendő oszlop"};var E0={};E0={ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var B0={};B0={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var k0={};k0={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var P0={};P0={ascending:"didėjančia tvarka",ascendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} didėjančia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"mažėjančia tvarka",descendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} mažėjančia tvarka`,resizerDescription:"Paspauskite „Enter“, kad pradėtumėte keisti dydį",select:"Pasirinkti",selectAll:"Pasirinkti viską",sortable:"rikiuojamas stulpelis"};var S0={};S0={ascending:"augošā secībā",ascendingSort:e=>`kārtots pēc kolonnas ${e.columnName} augošā secībā`,columnSize:e=>`${e.value} pikseļi`,descending:"dilstošā secībā",descendingSort:e=>`kārtots pēc kolonnas ${e.columnName} dilstošā secībā`,resizerDescription:"Nospiediet Enter, lai sāktu izmēru mainīšanu",select:"Atlasīt",selectAll:"Atlasīt visu",sortable:"kārtojamā kolonna"};var A0={};A0={ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkefølge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkefølge`,resizerDescription:"Trykk på Enter for å starte størrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var w0={};w0={ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var F0={};F0={ascending:"rosnąco",ascendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku rosnącym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malejąco",descendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku malejącym`,resizerDescription:"Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z możliwością sortowania"};var T0={};T0={ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para começar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classificável"};var I0={};I0={ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna ordenável"};var R0={};R0={ascending:"crescătoare",ascendingSort:e=>`sortate după coloana ${e.columnName} în ordine crescătoare`,columnSize:e=>`${e.value} pixeli`,descending:"descrescătoare",descendingSort:e=>`sortate după coloana ${e.columnName} în ordine descrescătoare`,resizerDescription:"Apăsați pe Enter pentru a începe redimensionarea",select:"Selectare",selectAll:"Selectare totală",sortable:"coloană sortabilă"};var K0={};K0={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var M0={};M0={ascending:"vzostupne",ascendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,columnSize:e=>`Počet pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,resizerDescription:"Stlačením klávesu Enter začnete zmenu veľkosti",select:"Vybrať",selectAll:"Vybrať všetko",sortable:"zoraditeľný stĺpec"};var z0={};z0={ascending:"naraščajoče",ascendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v naraščajočem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajoče",descendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v padajočem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da začnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var N0={};N0={ascending:"rastući",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastućim redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`sortirano po kolonama ${e.columnName} padajućim redosledom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se može sortirati"};var V0={};V0={ascending:"stigande",ascendingSort:e=>`sorterat på kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat på kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck på Retur för att börja ändra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var _0={};_0={ascending:"artan sırada",ascendingSort:e=>`${e.columnName} sütuna göre artan düzende sırala`,columnSize:e=>`${e.value} piksel`,descending:"azalan sırada",descendingSort:e=>`${e.columnName} sütuna göre azalan düzende sırala`,resizerDescription:"Yeniden boyutlandırmak için Enter'a basın",select:"Seç",selectAll:"Tümünü Seç",sortable:"Sıralanabilir sütun"};var j0={};j0={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var L0={};L0={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var O0={};O0={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var va={};va={"ar-AE":d0,"bg-BG":c0,"cs-CZ":f0,"da-DK":p0,"de-DE":m0,"el-GR":b0,"en-US":h0,"es-ES":$0,"et-EE":g0,"fi-FI":D0,"fr-FR":v0,"he-IL":y0,"hr-HR":x0,"hu-HU":C0,"it-IT":E0,"ja-JP":B0,"ko-KR":k0,"lt-LT":P0,"lv-LV":S0,"nb-NO":A0,"nl-NL":w0,"pl-PL":F0,"pt-BR":T0,"pt-PT":I0,"ro-RO":R0,"ru-RU":K0,"sk-SK":M0,"sl-SI":z0,"sr-SP":N0,"sv-SE":V0,"tr-TR":_0,"uk-UA":j0,"zh-CN":L0,"zh-TW":O0};class jv extends j1{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let n=Tt(we(u,this.collection));if(n)return n.key;let r=this.getFirstKey();return r==null||!this.collection.getItem(r)?null:super.getKeyForItemInRowByIndex(r,u.index)}return super.getKeyBelow(t)}getKeyAbove(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let a=u.parentKey!=null?this.collection.getItem(u.parentKey):null;return a&&a.type==="column"?a.key:null}let n=super.getKeyAbove(t),r=n!=null?this.collection.getItem(n):null;return r&&r.type!=="headerrow"?n:this.isCell(u)?this.collection.columns[u.index].key:this.collection.columns[0].key}findNextColumnKey(t){let u=this.findNextKey(t.key,r=>r.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level];for(let r of we(n,this.collection))if(r.type==="column")return r.key;return null}findPreviousColumnKey(t){let u=this.findPreviousKey(t.key,a=>a.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level],r=[...we(n,this.collection)];for(let a=r.length-1;a>=0;a--){let i=r[a];if(i.type==="column")return i.key}return null}getKeyRightOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(u):this.findNextColumnKey(u):super.getKeyRightOf(t):null}getKeyLeftOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findNextColumnKey(u):this.findPreviousColumnKey(u):super.getKeyLeftOf(t):null}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u??this.getFirstKey();if(r==null)return null;let a=n.getItem(r);var i;(a==null?void 0:a.type)==="cell"&&(r=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;r!=null;){let s=n.getItem(r);if(!s)return null;for(let d of we(s,this.collection)){let c=n.columns[d.index];if(n.rowHeaderColumnKeys.has(c.key)&&d.textValue){let f=d.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){let p=u!=null?n.getItem(u):a;return(p==null?void 0:p.type)==="cell"?d.key:s.key}}}r=this.getKeyBelow(r),r==null&&!l&&(r=this.getFirstKey(),l=!0)}return null}}function Lv(e){return e&&e.__esModule?e.default:e}function Ov(e,t,u){let{keyboardDelegate:n,isVirtualized:r,layoutDelegate:a,layout:i}=e,l=tn({usage:"search",sensitivity:"base"}),{direction:s}=pe(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new jv({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:d,ref:u,direction:s,collator:l,layoutDelegate:a,layout:i}),[n,t.collection,t.disabledKeys,d,u,s,l,a,i]),f=oe(e.id);jl.set(t,f);let{gridProps:p}=Ev({...e,id:f,keyboardDelegate:c},t,u);r&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),wr()&&"expandedKeys"in t&&(p.role="treegrid");let{column:m,direction:b}=t.sortDescriptor||{},g=De(Lv(va),"@react-aria/table"),$=o.useMemo(()=>{var y,x;let C=(x=(y=t.collection.columns.find(B=>B.key===m))===null||y===void 0?void 0:y.textValue)!==null&&x!==void 0?x:"";return b&&m?g.format(`${b}Sort`,{columnName:C}):void 0},[b,m,t.collection.columns]),D=yt($);return Sn(()=>{$&&$t($,"assertive",500)},[$]),{gridProps:_(p,D,{"aria-describedby":[D["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function Hv(e){return e&&e.__esModule?e.default:e}function Uv(e,t,u){var n,r;let{node:a}=e,i=a.props.allowsSorting,{gridCellProps:l}=Em({...e,focusMode:"child"},t,u),s=a.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:d}=Je({isDisabled:!i||s,onPress(){t.sort(a.key)},ref:u}),{focusableProps:c}=Ht({},u),f,p=((n=t.sortDescriptor)===null||n===void 0?void 0:n.column)===a.key,m=(r=t.sortDescriptor)===null||r===void 0?void 0:r.direction;a.props.allowsSorting&&!Pn()&&(f=p?m:"none");let b=De(Hv(va),"@react-aria/table"),g;i&&(g=`${b.format("sortable")}`,p&&m&&Pn()&&(g=`${g}, ${b.format(m)}`));let $=yt(g),D=t.collection.size===0;return o.useEffect(()=>{D&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[D,t.selectionManager,a.key]),{columnHeaderProps:{..._(c,l,d,$,D?{tabIndex:-1}:null),role:"columnheader",id:_v(t,a.key),"aria-colspan":a.colSpan&&a.colSpan>1?a.colSpan:void 0,"aria-sort":f}}}const ks={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Wv(e,t,u){let{node:n,isVirtualized:r}=e,{rowProps:a,...i}=kv(e,t,u),{direction:l}=pe();r&&!(wr()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let s={};if(wr()&&"expandedKeys"in t){let B=t.keyMap.get(n.key);if(B!=null){var d,c,f,p,m,b;let P=((d=B.props)===null||d===void 0?void 0:d.UNSTABLE_childItems)||((f=B.props)===null||f===void 0||(c=f.children)===null||c===void 0?void 0:c.length)>t.userColumnCount;var g,$,D,y;s={onKeyDown:T=>{(T.key===ks.expand[l]&&t.selectionManager.focusedKey===B.key&&P&&t.expandedKeys!=="all"&&!t.expandedKeys.has(B.key)||T.key===ks.collapse[l]&&t.selectionManager.focusedKey===B.key&&P&&(t.expandedKeys==="all"||t.expandedKeys.has(B.key)))&&(t.toggleKey(B.key),T.stopPropagation())},"aria-expanded":P?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":B.level,"aria-posinset":((g=B.indexOfType)!==null&&g!==void 0?g:0)+1,"aria-setsize":B.level>1?((D=(p=Kt(($=(m=t.keyMap.get(B.parentKey))===null||m===void 0?void 0:m.childNodes)!==null&&$!==void 0?$:[]))===null||p===void 0?void 0:p.indexOfType)!==null&&D!==void 0?D:0)+1:((y=(b=Kt(t.collection.body.childNodes))===null||b===void 0?void 0:b.indexOfType)!==null&&y!==void 0?y:0)+1}}}let x=tl(n.props),C=i.hasAction?x:{};return{rowProps:{..._(a,s,C),"aria-labelledby":s0(t,n.key)},...i}}function Zv(e,t,u){let{node:n,isVirtualized:r}=e,a={role:"row"};return r&&!(wr()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function Gv(e,t,u){var n;let{gridCellProps:r,isPressed:a}=Em(e,t,u),i=(n=e.node.column)===null||n===void 0?void 0:n.key;return i!=null&&t.collection.rowHeaderColumnKeys.has(i)&&(r.role="rowheader",r.id=o0(t,e.node.parentKey,i)),{gridCellProps:r,isPressed:a}}function qv(e){return e&&e.__esModule?e.default:e}function Yv(e,t){let{key:u}=e;const{checkboxProps:n}=Sv(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${s0(t,u)}`}}}function Jv(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":De(qv(va),"@react-aria/table").format(n==="single"?"select":"selectAll"),isSelected:u,isDisabled:n!=="multiple"||e.collection.size===0,isIndeterminate:!t&&!u,onChange:()=>e.selectionManager.toggleSelectAll()}}}function H0(){return Bv()}const U0=new WeakMap;function qr(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${U0.get(e)}-${u}-${t}`):""}function Qv(e,t,u){let{key:n,isDisabled:r,shouldSelectOnPressUp:a}=e,{selectionManager:i,selectedKey:l}=t,s=n===l,d=r||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=un({selectionManager:i,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:a,linkBehavior:"selection"}),p=qr(t,n,"tab"),m=qr(t,n,"tabpanel"),{tabIndex:b}=c,g=t.collection.getItem(n),$=U(g==null?void 0:g.props,{labelable:!0});delete $.id;let D=oa(g==null?void 0:g.props),{focusableProps:y}=Ht({isDisabled:d},u);return{tabProps:_($,y,D,c,{id:p,"aria-selected":s,"aria-disabled":d||void 0,"aria-controls":s?m:void 0,tabIndex:d?void 0:b,role:"tab"}),isSelected:s,isDisabled:d,isPressed:f}}function Xv(e,t,u){let n=kl(u)?void 0:0;var r;const a=qr(t,(r=e.id)!==null&&r!==void 0?r:t==null?void 0:t.selectedKey,"tabpanel"),i=Dt({...e,id:a,"aria-labelledby":qr(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:_(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class ey{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var u,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.isDisabled(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.isDisabled(t));return t}constructor(t,u,n,r=new Set){this.collection=t,this.flipDirection=u==="rtl"&&n==="horizontal",this.disabledKeys=r,this.tabDirection=n==="horizontal"}}function ty(e,t,u){let{orientation:n="horizontal",keyboardActivation:r="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:l}=t,{direction:s}=pe(),d=o.useMemo(()=>new ey(a,s,n,l),[a,l,n,s]),{collectionProps:c}=ga({ref:u,selectionManager:i,keyboardDelegate:d,selectOnFocus:r==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=oe();U0.set(t,f);let p=Dt({...e,id:f});return{tabListProps:{..._(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const W0=new WeakMap;function uy(e,t,u){let{direction:n}=pe(),r=e.keyboardDelegate||new nn({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:i,descriptionProps:l,errorMessageProps:s}=ou({...e,labelElementType:"span"}),{gridProps:d}=Av({...e,...i,keyboardDelegate:r,shouldFocusWrap:!0,linkBehavior:"override"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=ft({onFocusWithinChange:f}),m=U(e),b=o.useRef(t.collection.size);return o.useEffect(()=>{u.current&&b.current>0&&t.collection.size===0&&c&&u.current.focus(),b.current=t.collection.size},[t.collection.size,c,u]),W0.set(t,{onRemove:e.onRemove}),{gridProps:_(d,m,{role:t.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...p,...i}),labelProps:a,descriptionProps:l,errorMessageProps:s}}var Z0={};Z0={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var G0={};G0={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var q0={};q0={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var Y0={};Y0={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var J0={};J0={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var Q0={};Q0={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var X0={};X0={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var eb={};eb={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var tb={};tb={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var ub={};ub={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var nb={};nb={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var rb={};rb={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var ab={};ab={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var ib={};ib={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var lb={};lb={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var ob={};ob={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var sb={};sb={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var db={};db={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var cb={};cb={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var fb={};fb={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var pb={};pb={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var mb={};mb={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var bb={};bb={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var hb={};hb={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var $b={};$b={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var gb={};gb={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Db={};Db={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var vb={};vb={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var yb={};yb={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var xb={};xb={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var Cb={};Cb={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Eb={};Eb={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var Bb={};Bb={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var kb={};kb={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var Pb={};Pb={"ar-AE":Z0,"bg-BG":G0,"cs-CZ":q0,"da-DK":Y0,"de-DE":J0,"el-GR":Q0,"en-US":X0,"es-ES":eb,"et-EE":tb,"fi-FI":ub,"fr-FR":nb,"he-IL":rb,"hr-HR":ab,"hu-HU":ib,"it-IT":lb,"ja-JP":ob,"ko-KR":sb,"lt-LT":db,"lv-LV":cb,"nb-NO":fb,"nl-NL":pb,"pl-PL":mb,"pt-BR":bb,"pt-PT":hb,"ro-RO":$b,"ru-RU":gb,"sk-SK":Db,"sl-SI":vb,"sr-SP":yb,"sv-SE":xb,"tr-TR":Cb,"uk-UA":Eb,"zh-CN":Bb,"zh-TW":kb};function ny(e){return e&&e.__esModule?e.default:e}function ry(e,t,u){let{item:n}=e,r=De(ny(Pb),"@react-aria/tag"),a=oe(),{onRemove:i}=W0.get(t)||{},{rowProps:l,gridCellProps:s,...d}=wv({node:n},t,u);delete l.onKeyDownCapture;let{descriptionProps:c,...f}=d,p=t.disabledKeys.has(n.key)||n.props.isDisabled,m=T=>{if(T.key==="Delete"||T.key==="Backspace"){if(p)return;T.preventDefault(),t.selectionManager.isSelected(n.key)?i==null||i(new Set(t.selectionManager.selectedKeys)):i==null||i(new Set([n.key]))}},b=ll();b==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(b="pointer");let g=i&&(b==="keyboard"||b==="virtual")?r.format("removeDescription"):"",$=yt(g),D=n.key===t.selectionManager.focusedKey,y=t.selectionManager.focusedKey!=null,x=-1;!p&&(D||!y)&&(x=0);let C=U(n.props),B=tl(n.props),{focusableProps:P}=Ht({isDisabled:p},u);return{removeButtonProps:{"aria-label":r.format("removeButtonLabel"),"aria-labelledby":`${a} ${l.id}`,isDisabled:p,id:a,onPress:()=>i?i(new Set([n.key])):null,excludeFromTabOrder:!0},rowProps:_(P,l,C,B,{tabIndex:x,onKeyDown:i?m:void 0,"aria-describedby":$["aria-describedby"]}),gridCellProps:_(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!i}}var Sb={};Sb={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var Ab={};Ab={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var wb={};wb={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var Fb={};Fb={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var Tb={};Tb={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var Ib={};Ib={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var Rb={};Rb={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var Kb={};Kb={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var Mb={};Mb={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var zb={};zb={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var Nb={};Nb={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var Vb={};Vb={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var _b={};_b={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var jb={};jb={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var Lb={};Lb={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var Ob={};Ob={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var Hb={};Hb={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var Ub={};Ub={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var Wb={};Wb={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var Zb={};Zb={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var Gb={};Gb={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var qb={};qb={close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomień`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var Yb={};Yb={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Jb={};Jb={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Qb={};Qb={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var Xb={};Xb={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var eh={};eh={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var th={};th={close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var uh={};uh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var nh={};nh={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var rh={};rh={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var ah={};ah={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var ih={};ih={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var lh={};lh={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var Ll={};Ll={"ar-AE":Sb,"bg-BG":Ab,"cs-CZ":wb,"da-DK":Fb,"de-DE":Tb,"el-GR":Ib,"en-US":Rb,"es-ES":Kb,"et-EE":Mb,"fi-FI":zb,"fr-FR":Nb,"he-IL":Vb,"hr-HR":_b,"hu-HU":jb,"it-IT":Lb,"ja-JP":Ob,"ko-KR":Hb,"lt-LT":Ub,"lv-LV":Wb,"nb-NO":Zb,"nl-NL":Gb,"pl-PL":qb,"pt-BR":Yb,"pt-PT":Jb,"ro-RO":Qb,"ru-RU":Xb,"sk-SK":eh,"sl-SI":th,"sr-SP":uh,"sv-SE":nh,"tr-TR":rh,"uk-UA":ah,"zh-CN":ih,"zh-TW":lh};function ay(e){return e&&e.__esModule?e.default:e}function iy(e,t,u){let{key:n,timer:r,timeout:a}=e.toast;o.useEffect(()=>{if(!(r==null||a==null))return r.reset(a),()=>{r.pause()}},[r,a]);let i=oe(),l=it(),s=De(ay(Ll),"@react-aria/toast"),[d,c]=o.useState(!1);return o.useEffect(()=>{c(!0)},[]),{toastProps:{role:"alertdialog","aria-modal":"false","aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]||i,"aria-describedby":e["aria-describedby"]||l,"aria-details":e["aria-details"],tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":d?void 0:"true"},titleProps:{id:i},descriptionProps:{id:l},closeButtonProps:{"aria-label":s.format("close"),onPress:()=>t.close(n)}}}function ly(e){return e&&e.__esModule?e.default:e}function oy(e,t,u){let n=De(ly(Ll),"@react-aria/toast"),{landmarkProps:r}=Rv({role:"region","aria-label":e["aria-label"]||n.format("notifications",{count:t.visibleToasts.length})},u),a=o.useRef(!1),i=o.useRef(!1),l=ie(()=>{a.current||i.current?t.pauseAll():t.resumeAll()}),{hoverProps:s}=Ce({onHoverStart:()=>{a.current=!0,l()},onHoverEnd:()=>{a.current=!1,l()}}),d=o.useRef([]),c=o.useRef(t.visibleToasts),f=o.useRef(null);Y(()=>{if(f.current===-1||t.visibleToasts.length===0||!u.current){d.current=[],c.current=t.visibleToasts;return}if(d.current=[...u.current.querySelectorAll('[role="alertdialog"]')],c.current.length===t.visibleToasts.length&&t.visibleToasts.every((D,y)=>D.key===c.current[y].key)){c.current=t.visibleToasts;return}let b=c.current.map((D,y)=>({...D,i:y,isRemoved:!t.visibleToasts.some(x=>D.key===x.key)})),g=b.findIndex(D=>D.i===f.current&&D.isRemoved);if(g>-1){var $;if(Mt()==="pointer"&&(!(($=p.current)===null||$===void 0)&&$.isConnected))_e(p.current);else{let D=0,y,x;for(;D<=g;)b[D].isRemoved||(x=Math.max(0,D-1)),D++;for(;D<b.length;){if(!b[D].isRemoved){y=D-1;break}D++}x===void 0&&y===void 0&&(x=0),x>=0&&x<d.current.length?_e(d.current[x]):y>=0&&y<d.current.length&&_e(d.current[y])}}c.current=t.visibleToasts},[t.visibleToasts,u,l]);let p=o.useRef(null),{focusWithinProps:m}=ft({onFocusWithin:b=>{i.current=!0,p.current=b.relatedTarget,l()},onBlurWithin:()=>{i.current=!1,p.current=null,l()}});return o.useEffect(()=>{var b;t.visibleToasts.length===0&&(!((b=p.current)===null||b===void 0)&&b.isConnected)&&(Mt()==="pointer"?_e(p.current):p.current.focus(),p.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{var b;!((b=p.current)===null||b===void 0)&&b.isConnected&&(Mt()==="pointer"?_e(p.current):p.current.focus(),p.current=null)},[u]),{regionProps:_(r,s,m,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:b=>{let g=b.target.closest('[role="alertdialog"]');f.current=d.current.findIndex($=>$===g)},onBlur:()=>{f.current=-1}})}}function sy(e,t){let u=U(e,{labelable:!0}),{hoverProps:n}=Ce({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:_(u,n,{role:"tooltip"})}}function dy(e,t,u){let{isDisabled:n,trigger:r}=e,a=oe(),i=o.useRef(!1),l=o.useRef(!1),s=()=>{(i.current||l.current)&&t.open(l.current)},d=D=>{!i.current&&!l.current&&t.close(D)};o.useEffect(()=>{let D=y=>{u&&u.current&&y.key==="Escape"&&(y.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",D,!0),()=>{document.removeEventListener("keydown",D,!0)}},[u,t]);let c=()=>{r!=="focus"&&(Mt()==="pointer"?i.current=!0:i.current=!1,s())},f=()=>{r!=="focus"&&(l.current=!1,i.current=!1,d())},p=()=>{l.current=!1,i.current=!1,d(!0)},m=()=>{_t()&&(l.current=!0,s())},b=()=>{l.current=!1,i.current=!1,d(!0)},{hoverProps:g}=Ce({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:$}=Ht({isDisabled:n,onFocus:m,onBlur:b},u);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,..._($,g,{onPointerDown:p,onKeyDown:p,tabIndex:void 0})},tooltipProps:{id:a}}}const Xu=o.createContext({});let cy=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const ya=Wn(function(t,u){[t,u]=X(t,u,Xu);let{hoverProps:n,isHovered:r}=Ce(t),{isFocused:a,isFocusVisible:i,focusProps:l}=he({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=Z({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return o.createElement("input",{..._(cy(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),Et=o.createContext({}),rn=Wn(function(t,u){[t,u]=X(t,u,Et);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})}),oh=o.createContext(null),fy=o.forwardRef(function(t,u){[t,u]=X(t,u,oh);let{value:n=0,minValue:r=0,maxValue:a=100,isIndeterminate:i=!1}=t;n=wn(n,r,a);let[l,s]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{progressBarProps:d,labelProps:c}=Kv({...t,label:s}),f=i?void 0:(n-r)/(a-r)*100,p=Z({...t,defaultClassName:"react-aria-ProgressBar",values:{percentage:f,valueText:d["aria-valuetext"],isIndeterminate:i}});return o.createElement("div",{...d,...p,ref:u,slot:t.slot||void 0},o.createElement(Et.Provider,{value:{...c,ref:l,elementType:"span"}},p.children))}),py=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),pt=o.createContext({}),jt=Wn(function(t,u){[t,u]=X(t,u,pt),t=my(t);let n=t,{isPending:r}=n,{buttonProps:a,isPressed:i}=El(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=he(t),{hoverProps:c,isHovered:f}=Ce({...t,isDisabled:t.isDisabled||r}),p={isHovered:f,isPressed:(n.isPressed||i)&&!r,isFocused:s,isFocusVisible:d,isDisabled:t.isDisabled||!1,isPending:r??!1},m=Z({...t,values:p,defaultClassName:"react-aria-Button"}),b=oe(a.id),g=oe(),$=a["aria-labelledby"];r&&($?$=`${$} ${g}`:a["aria-label"]&&($=`${b} ${g}`));let D=o.useRef(r);return o.useEffect(()=>{let y={"aria-labelledby":$||b};(!D.current&&s&&r||D.current&&s&&!r)&&$t(y,"assertive"),D.current=r},[r,s,$,b]),o.createElement("button",{...U(t,{propNames:py}),..._(a,l,c),...m,type:a.type==="submit"&&r?"button":a.type,id:b,ref:u,"aria-labelledby":$,slot:t.slot||void 0,"aria-disabled":r?"true":a["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":p.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":d||void 0},o.createElement(oh.Provider,{value:{id:g}},m.children))});function my(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}const qe=o.createContext({}),Bt=o.forwardRef(function(t,u){[t,u]=X(t,u,qe);let{elementType:n="span",...r}=t;return o.createElement(n,{className:"react-aria-Text",...r,ref:u})}),Ut=o.createContext(null),tr=o.forwardRef(function(t,u){let n=o.useContext(Ut);return n!=null&&n.isInvalid?o.createElement(by,{...t,ref:u}):null}),by=o.forwardRef((e,t)=>{let u=o.useContext(Ut),n=U(e),r=Z({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return r.children==null?null:o.createElement(Bt,{slot:"errorMessage",...n,...r,ref:t})});function qu(e,t,u){return t!=null&&e.compare(t)<0||u!=null&&e.compare(u)>0}function Vi(e,t,u,n,r){let a={};for(let l in t)a[l]=Math.floor(t[l]/2),a[l]>0&&t[l]%2===0&&a[l]--;let i=yu(e,t,u).subtract(a);return jn(e,i,t,u,n,r)}function yu(e,t,u,n,r){let a=e;return t.years?a=S6(e):t.months?a=Eu(e):t.weeks&&(a=Mn(e,u)),jn(e,a,t,u,n,r)}function _i(e,t,u,n,r){let a={...t};a.days?a.days--:a.weeks?a.weeks--:a.months?a.months--:a.years&&a.years--;let i=yu(e,t,u).subtract(a);return jn(e,i,t,u,n,r)}function jn(e,t,u,n,r,a){if(r&&e.compare(r)>=0){let i=ml(t,yu(Oe(r),u,n));i&&(t=i)}if(a&&e.compare(a)<=0){let i=pl(t,_i(Oe(a),u,n));i&&(t=i)}return t}function qt(e,t,u){if(t){let n=ml(e,Oe(t));n&&(e=n)}if(u){let n=pl(e,Oe(u));n&&(e=n)}return e}function sh(e,t,u){if(!u)return e;for(;e.compare(t)>=0&&u(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}function dh(e){let t=o.useMemo(()=>new at(e.locale),[e.locale]),u=o.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:r,visibleDuration:a={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:d,pageBehavior:c="visible",firstDayOfWeek:f}=e,p=o.useMemo(()=>r(u.calendar),[r,u.calendar]);var m;let[b,g]=Me(e.value,(m=e.defaultValue)!==null&&m!==void 0?m:null,e.onChange),$=o.useMemo(()=>b?ge(Oe(b),p):null,[b,p]),D=o.useMemo(()=>b&&"timeZone"in b?b.timeZone:u.timeZone,[b,u.timeZone]),y=o.useMemo(()=>e.focusedValue?qt(ge(Oe(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),x=o.useMemo(()=>qt(e.defaultFocusedValue?ge(Oe(e.defaultFocusedValue),p):$||ge(fl(D),p),i,l),[e.defaultFocusedValue,$,D,p,i,l]),[C,B]=Me(y,x,e.onFocusChange),[P,T]=o.useState(()=>{switch(s){case"start":return yu(C,a,n,i,l);case"end":return _i(C,a,n,i,l);case"center":default:return Vi(C,a,n,i,l)}}),[v,F]=o.useState(e.autoFocus||!1),S=o.useMemo(()=>{let N={...a};return N.days?N.days--:N.days=-1,P.add(N)},[P,a]),[k,M]=o.useState(p.identifier);if(p.identifier!==k){let N=ge(C,p);T(Vi(N,a,n,i,l)),B(N),M(p.identifier)}qu(C,i,l)?B(qt(C,i,l)):C.compare(P)<0?T(_i(C,a,n,i,l)):C.compare(S)>0&&T(yu(C,a,n,i,l));function E(N){N=qt(N,i,l),B(N)}function V(N){if(!e.isDisabled&&!e.isReadOnly){let H=N;if(H===null){g(null);return}if(H=qt(H,i,l),H=sh(H,P,d),!H)return;H=ge(H,(b==null?void 0:b.calendar)||new Ge),b&&"hour"in b?g(b.set(H)):g(H)}}let R=o.useMemo(()=>$?d&&d($)?!0:qu($,i,l):!1,[$,d,i,l]),w=e.isInvalid||e.validationState==="invalid"||R,I=w?"invalid":null,A=o.useMemo(()=>c==="visible"?a:li(a),[c,a]);var z,K;return{isDisabled:(z=e.isDisabled)!==null&&z!==void 0?z:!1,isReadOnly:(K=e.isReadOnly)!==null&&K!==void 0?K:!1,value:$,setValue:V,visibleRange:{start:P,end:S},minValue:i,maxValue:l,focusedDate:C,timeZone:D,validationState:I,isValueInvalid:w,setFocusedDate(N){E(N),F(!0)},focusNextDay(){E(C.add({days:1}))},focusPreviousDay(){E(C.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&E(C.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&E(C.subtract({weeks:1}))},focusNextPage(){let N=P.add(A);B(qt(C.add(A),i,l)),T(yu(jn(C,N,A,n,i,l),A,n))},focusPreviousPage(){let N=P.subtract(A);B(qt(C.subtract(A),i,l)),T(yu(jn(C,N,A,n,i,l),A,n))},focusSectionStart(){a.days?E(P):a.weeks?E(Mn(C,n)):(a.months||a.years)&&E(Eu(C))},focusSectionEnd(){a.days?E(S):a.weeks?E(F6(C,n)):(a.months||a.years)&&E(zr(C))},focusNextSection(N){if(!N&&!a.days){E(C.add(li(a)));return}a.days?this.focusNextPage():a.weeks?E(C.add({months:1})):(a.months||a.years)&&E(C.add({years:1}))},focusPreviousSection(N){if(!N&&!a.days){E(C.subtract(li(a)));return}a.days?this.focusPreviousPage():a.weeks?E(C.subtract({months:1})):(a.months||a.years)&&E(C.subtract({years:1}))},selectFocusedDate(){d&&d(C)||V(C)},selectDate(N){V(N)},isFocused:v,setFocused:F,isInvalid(N){return qu(N,i,l)},isSelected(N){return $!=null&&Fe(N,$)&&!this.isCellDisabled(N)&&!this.isCellUnavailable(N)},isCellFocused(N){return v&&C&&Fe(N,C)},isCellDisabled(N){return e.isDisabled||N.compare(P)<0||N.compare(S)>0||this.isInvalid(N)},isCellUnavailable(N){return e.isDateUnavailable?e.isDateUnavailable(N):!1},isPreviousVisibleRangeInvalid(){let N=P.subtract({days:1});return Fe(N,P)||this.isInvalid(N)},isNextVisibleRangeInvalid(){let N=S.add({days:1});return Fe(N,S)||this.isInvalid(N)},getDatesInWeek(N,H=P){let G=H.add({weeks:N}),Q=[];G=Mn(G,n,f);let me=cl(G,n,f);for(let ue=0;ue<me;ue++)Q.push(null);for(;Q.length<7;){Q.push(G);let ue=G.add({days:1});if(Fe(G,ue))break;G=ue}for(;Q.length<7;)Q.push(null);return Q}}}function li(e){let t={...e};for(let u in e)t[u]=1;return t}function hy(e){let{value:t,defaultValue:u,onChange:n,createCalendar:r,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=Me(t,u||null,n),[p,m]=o.useState(null),b="center";if(c&&c.start&&c.end){let A=Vi(Oe(c.start),i,a,l,s).add(i).subtract({days:1});c.end.compare(A)>0&&(b="start")}let g=o.useRef(null),[$,D]=o.useState(null),y=o.useMemo(()=>ml(l,$==null?void 0:$.start),[l,$]),x=o.useMemo(()=>pl(s,$==null?void 0:$.end),[s,$]),C=dh({...d,value:c&&c.start,createCalendar:r,locale:a,visibleDuration:i,minValue:y,maxValue:x,selectionAlignment:b}),B=I=>{if(I&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const A=Ss(I,C,-1),z=Ss(I,C,1);g.current={start:A,end:z},D(g.current)}else g.current=null,D(null)},[P,T]=o.useState(C.visibleRange);(!gi(C.visibleRange.start,P.start)||!gi(C.visibleRange.end,P.end))&&(B(p),T(C.visibleRange));let v=I=>{I?(m(I),B(I)):(m(null),B(null))},F=p?oi(p,C.focusedDate):c&&oi(c.start,c.end),S=I=>{if(e.isReadOnly)return;const A=qt(I,y,x),z=sh(A,C.visibleRange.start,e.isDateUnavailable);if(z)if(!p)v(z);else{let K=oi(p,z);K&&f({start:Ps(K.start,c==null?void 0:c.start),end:Ps(K.end,c==null?void 0:c.end)}),v(null)}},[k,M]=o.useState(!1),{isDateUnavailable:E}=e,V=o.useMemo(()=>!c||p?!1:E&&(E(c.start)||E(c.end))?!0:qu(c.start,l,s)||qu(c.end,l,s),[E,c,p,l,s]),R=e.isInvalid||e.validationState==="invalid"||V;return{...C,value:c,setValue:f,anchorDate:p,setAnchorDate:v,highlightedRange:F,validationState:R?"invalid":null,isValueInvalid:R,selectFocusedDate(){S(C.focusedDate)},selectDate:S,highlightDate(I){p&&C.setFocusedDate(I)},isSelected(I){return!!(F&&I.compare(F.start)>=0&&I.compare(F.end)<=0&&!C.isCellDisabled(I)&&!C.isCellUnavailable(I))},isInvalid(I){var A,z;return C.isInvalid(I)||qu(I,(A=g.current)===null||A===void 0?void 0:A.start,(z=g.current)===null||z===void 0?void 0:z.end)},isDragging:k,setDragging:M}}function oi(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Oe(e),end:Oe(t)})}function Ps(e,t){return e=ge(e,(t==null?void 0:t.calendar)||new Ge),t&&"hour"in t?t.set(e):e}function Ss(e,t,u){let n=e.add({days:u});for(;(u<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:u});if(t.isCellUnavailable(n))return n.add({days:-u})}function $y(e={}){let[t,u]=Me(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,r=o.useRef(new Map),a=Ct({...e,value:t}),i=a.displayValidation.isInvalid;var l;return{...a,value:t,setValue(d){e.isReadOnly||e.isDisabled||u(d)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(d){return t.includes(d)},addValue(d){e.isReadOnly||e.isDisabled||t.includes(d)||u(t.concat(d))},removeValue(d){e.isReadOnly||e.isDisabled||t.includes(d)&&u(t.filter(c=>c!==d))},toggleValue(d){e.isReadOnly||e.isDisabled||(t.includes(d)?u(t.filter(c=>c!==d)):u(t.concat(d)))},setInvalid(d,c){let f=new Map(r.current);c.isInvalid?f.set(d,c):f.delete(d),r.current=f,a.updateValidation(_n(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class ji{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let u=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let l of i.childNodes)u(l)};for(let i of t)u(i);let n=null,r=0;for(let[i,l]of this.keyMap)n?(n.nextKey=i,l.prevKey=n.key):(this.firstKey=i,l.prevKey=void 0),l.type==="item"&&(l.index=r++),n=l,n.nextKey=void 0;var a;this.lastKey=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:null}}class st extends Set{constructor(t,u,n){super(t),t instanceof st?(this.anchorKey=u??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=u??null,this.currentKey=n??null)}}function gy(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function ur(e){let{selectionMode:t="none",disallowEmptySelection:u=!1,allowDuplicateSelectionEvents:n,selectionBehavior:r="toggle",disabledBehavior:a="all"}=e,i=o.useRef(!1),[,l]=o.useState(!1),s=o.useRef(null),d=o.useRef(null),[,c]=o.useState(null),f=o.useMemo(()=>As(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>As(e.defaultSelectedKeys,new st),[e.defaultSelectedKeys]),[m,b]=Me(f,p,e.onSelectionChange),g=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[$,D]=o.useState(r);r==="replace"&&$==="toggle"&&typeof m=="object"&&m.size===0&&D("replace");let y=o.useRef(r);return o.useEffect(()=>{r!==y.current&&(D(r),y.current=r)},[r]),{selectionMode:t,disallowEmptySelection:u,selectionBehavior:$,setSelectionBehavior:D,get isFocused(){return i.current},setFocused(x){i.current=x,l(x)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(x,C="first"){s.current=x,d.current=C,c(x)},selectedKeys:m,setSelectedKeys(x){(n||!gy(x,m))&&b(x)},disabledKeys:g,disabledBehavior:a}}function As(e,t){return e?e==="all"?"all":new st(e):t}class an{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,u){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,u)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let u=this.getKey(t);return u==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(u):this.state.selectedKeys.has(u)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),u=this.state.selectedKeys;return this._isSelectAll=t.every(n=>u.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&ti(this.collection,r,t)<0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&ti(this.collection,r,t)>0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n;if(this.state.selectedKeys==="all")n=new st([u],u,u);else{let i=this.state.selectedKeys;var r;let l=(r=i.anchorKey)!==null&&r!==void 0?r:u;n=new st(i,l,u);var a;for(let s of this.getKeyRange(l,(a=i.currentKey)!==null&&a!==void 0?a:u))n.delete(s);for(let s of this.getKeyRange(u,l))this.canSelectItem(s)&&n.add(s)}this.state.setSelectedKeys(n)}getKeyRange(t,u){let n=this.collection.getItem(t),r=this.collection.getItem(u);return n&&r?ti(this.collection,n,r)<=0?this.getKeyRangeInternal(t,u):this.getKeyRangeInternal(u,t):[]}getKeyRangeInternal(t,u){var n;if(!((n=this.layoutDelegate)===null||n===void 0)&&n.getKeyRange)return this.layoutDelegate.getKeyRange(t,u);let r=[],a=t;for(;a!=null;){let i=this.collection.getItem(a);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&r.push(a),a===u)return r;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let u=this.collection.getItem(t);if(!u||u.type==="cell"&&this.allowsCellSelection)return t;for(;u&&u.type!=="item"&&u.parentKey!=null;)u=this.collection.getItem(u.parentKey);return!u||u.type!=="item"?null:u.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n=new st(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(u)?n.delete(u):this.canSelectItem(u)&&(n.add(u),n.anchorKey=u,n.currentKey=u),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let u=this.getKey(t);if(u==null)return;let n=this.canSelectItem(u)?new st([u],u,u):new st;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let u=new st;for(let n of t){let r=this.getKey(n);if(r!=null&&(u.add(r),this.selectionMode==="single"))break}this.state.setSelectedKeys(u)}getSelectAllKeys(){let t=[],u=n=>{for(;n!=null;){if(this.canSelectItem(n)){var r;let i=this.collection.getItem(n);(i==null?void 0:i.type)==="item"&&t.push(n);var a;i!=null&&i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&u((a=(r=Tt(we(i,this.collection)))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null)}n=this.collection.getKeyAfter(n)}};return u(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new st)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,u){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||u&&(u.pointerType==="touch"||u.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let u=this.selectedKeys;if(t.size!==u.size)return!1;for(let n of t)if(!u.has(n))return!1;for(let n of u)if(!t.has(n))return!1;return!0}canSelectItem(t){var u;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(u=n.props)===null||u===void 0)&&u.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var u,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled))}isLink(t){var u,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.href)}getItemProps(t){var u;return(u=this.collection.getItem(t))===null||u===void 0?void 0:u.props}withCollection(t){return new an(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(t,u,n){this.collection=t,this.state=u;var r;this.allowsCellSelection=(r=n==null?void 0:n.allowsCellSelection)!==null&&r!==void 0?r:!1,this._isSelectAll=null,this.layoutDelegate=(n==null?void 0:n.layoutDelegate)||null}}function xa(e){let{filter:t,layoutDelegate:u}=e,n=ur(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=o.useCallback(d=>t?new ji(t(d)):new ji(d),[t]),i=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=Rl(e,a,i),s=o.useMemo(()=>new an(l,n,{layoutDelegate:u}),[l,n,u]);return ch(l,s),{collection:l,disabledKeys:r,selectionManager:s}}function Dy(e,t){let u=o.useMemo(()=>t?e.collection.UNSTABLE_filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(u);return ch(u,n),{collection:u,selectionManager:n,disabledKeys:e.disabledKeys}}function ch(e,t){const u=o.useRef(null);o.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&u.current){const c=u.current.getItem(t.focusedKey),f=[...u.current.getKeys()].map(D=>{const y=u.current.getItem(D);return(y==null?void 0:y.type)==="item"?y:null}).filter(D=>D!==null),p=[...e.getKeys()].map(D=>{const y=e.getItem(D);return(y==null?void 0:y.type)==="item"?y:null}).filter(D=>D!==null);var n,r;const m=((n=f==null?void 0:f.length)!==null&&n!==void 0?n:0)-((r=p==null?void 0:p.length)!==null&&r!==void 0?r:0);var a,i,l;let b=Math.min(m>1?Math.max(((a=c==null?void 0:c.index)!==null&&a!==void 0?a:0)-m+1,0):(i=c==null?void 0:c.index)!==null&&i!==void 0?i:0,((l=p==null?void 0:p.length)!==null&&l!==void 0?l:0)-1),g=null,$=!1;for(;b>=0;){if(!t.isDisabled(p[b].key)){g=p[b];break}if(b<p.length-1&&!$)b++;else{$=!0;var s,d;b>((s=c==null?void 0:c.index)!==null&&s!==void 0?s:0)&&(b=(d=c==null?void 0:c.index)!==null&&d!==void 0?d:0),b--}}t.setFocusedKey(g?g.key:null)}u.current=e},[e,t])}function fh(e){var t;let[u,n]=Me(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),r=o.useMemo(()=>u!=null?[u]:[],[u]),{collection:a,disabledKeys:i,selectionManager:l}=xa({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:d=>{if(d==="all")return;var c;let f=(c=d.values().next().value)!==null&&c!==void 0?c:null;f===u&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),s=u!=null?a.getItem(u):null;return{collection:a,disabledKeys:i,selectionManager:l,selectedKey:u,setSelectedKey:n,selectedItem:s}}function Au(e){let[t,u]=Me(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isOpen:t,setOpen:u,open:n,close:r,toggle:a}}function vy(e){var t;let{defaultFilter:u,menuTrigger:n="input",allowsEmptyCollection:r=!1,allowsCustomValue:a,shouldCloseOnBlur:i=!0}=e,[l,s]=o.useState(!1),[d,c]=o.useState(!1),[f,p]=o.useState(null),m=ae=>{e.onSelectionChange&&e.onSelectionChange(ae),ae===D&&(Q(),N())};var b;let{collection:g,selectionManager:$,selectedKey:D,setSelectedKey:y,selectedItem:x,disabledKeys:C}=fh({...e,onSelectionChange:m,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),B=e.defaultInputValue;if(B==null){var P,T;D==null?B="":B=(T=(P=g.getItem(D))===null||P===void 0?void 0:P.textValue)!==null&&T!==void 0?T:""}let[v,F]=Me(e.inputValue,B,e.onInputChange),S=g,k=o.useMemo(()=>e.items!=null||!u?g:yy(g,v,u),[g,v,u,e.items]),[M,E]=o.useState(k),V=o.useRef("focus"),w=Au({...e,onOpenChange:ae=>{e.onOpenChange&&e.onOpenChange(ae,ae?V.current:void 0),$.setFocused(ae),ae||$.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),I=(ae=null,ve)=>{let Ie=ve==="manual"||ve==="focus"&&n==="focus";(r||k.size>0||Ie&&S.size>0||e.items)&&(Ie&&!w.isOpen&&e.items===void 0&&s(!0),V.current=ve,p(ae),w.open())},A=(ae=null,ve)=>{let Ie=ve==="manual"||ve==="focus"&&n==="focus";!(r||k.size>0||Ie&&S.size>0||e.items)&&!w.isOpen||(Ie&&!w.isOpen&&e.items===void 0&&s(!0),w.isOpen||(V.current=ve),K(ae))},z=o.useCallback(()=>{E(l?S:k)},[l,S,k]),K=o.useCallback((ae=null)=>{w.isOpen&&z(),p(ae),w.toggle()},[w,z]),N=o.useCallback(()=>{w.isOpen&&(z(),w.close())},[w,z]),[H,G]=o.useState(v),Q=()=>{var ae,ve;let Ie=D!=null&&(ve=(ae=g.getItem(D))===null||ae===void 0?void 0:ae.textValue)!==null&&ve!==void 0?ve:"";G(Ie),F(Ie)};var me,ue;let se=o.useRef((ue=(me=e.selectedKey)!==null&&me!==void 0?me:e.defaultSelectedKey)!==null&&ue!==void 0?ue:null);var L;let ee=o.useRef(D!=null&&(L=(t=g.getItem(D))===null||t===void 0?void 0:t.textValue)!==null&&L!==void 0?L:"");o.useEffect(()=>{var ae;d&&(k.size>0||r)&&!w.isOpen&&v!==H&&n!=="manual"&&I(null,"input"),!l&&!r&&w.isOpen&&k.size===0&&N(),D!=null&&D!==se.current&&N(),v!==H&&($.setFocusedKey(null),s(!1),v===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&y(null)),D!==se.current&&(e.inputValue===void 0||e.selectedKey===void 0)?Q():H!==v&&G(v);var ve;let Ie=D!=null&&(ve=(ae=g.getItem(D))===null||ae===void 0?void 0:ae.textValue)!==null&&ve!==void 0?ve:"";!d&&D!=null&&e.inputValue===void 0&&D===se.current&&ee.current!==Ie&&(G(Ie),F(Ie)),se.current=D,ee.current=Ie});let j=Ct({...e,value:o.useMemo(()=>({inputValue:v,selectedKey:D}),[v,D])}),O=()=>{a&&D==null?q():ne()},q=()=>{se.current=null,y(null),N()},ne=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ae,ve;(ae=e.onSelectionChange)===null||ae===void 0||ae.call(e,D);var Ie;let M2=D!=null&&(Ie=(ve=g.getItem(D))===null||ve===void 0?void 0:ve.textValue)!==null&&Ie!==void 0?Ie:"";G(M2),N()}else Q(),N()};const Qe=()=>{if(a){var ae,ve;const Ie=D!=null&&(ve=(ae=g.getItem(D))===null||ae===void 0?void 0:ae.textValue)!==null&&ve!==void 0?ve:"";v===Ie?ne():q()}else ne()};let re=()=>{w.isOpen&&$.focusedKey!=null?D===$.focusedKey?ne():y($.focusedKey):Qe()},Zt=o.useRef(v),cu=ae=>{ae?(Zt.current=v,n==="focus"&&!e.isReadOnly&&I(null,"focus")):(i&&Qe(),v!==Zt.current&&j.commitValidation()),c(ae)},K2=o.useMemo(()=>w.isOpen?l?S:k:M,[w.isOpen,S,k,l,M]);return{...j,...w,focusStrategy:f,toggle:A,open:I,close:Qe,selectionManager:$,selectedKey:D,setSelectedKey:y,disabledKeys:C,isFocused:d,setFocused:cu,selectedItem:x,collection:K2,inputValue:v,setInputValue:F,commit:re,revert:O}}function yy(e,t,u){return new ji(ph(e,e,t,u))}function ph(e,t,u,n){let r=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=ph(e,we(a,e),u,n);[...i].some(l=>l.type==="item")&&r.push({...a,childNodes:i})}else a.type==="item"&&n(a.textValue,u)?r.push({...a}):a.type!=="item"&&r.push({...a});return r}var mh={};mh={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var bh={};bh={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var hh={};hh={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var $h={};$h={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var gh={};gh={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var Dh={};Dh={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var vh={};vh={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var yh={};yh={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var xh={};xh={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var Ch={};Ch={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var Eh={};Eh={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var Bh={};Bh={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var kh={};kh={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var Ph={};Ph={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var Sh={};Sh={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var Ah={};Ah={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var wh={};wh={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var Fh={};Fh={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var Th={};Th={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var Ih={};Ih={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var Rh={};Rh={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var Kh={};Kh={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var Mh={};Mh={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var zh={};zh={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var Nh={};Nh={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var Vh={};Vh={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var _h={};_h={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var jh={};jh={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var Lh={};Lh={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var Oh={};Oh={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var Hh={};Hh={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var Uh={};Uh={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Wh={};Wh={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Zh={};Zh={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var Gh={};Gh={"ar-AE":mh,"bg-BG":bh,"cs-CZ":hh,"da-DK":$h,"de-DE":gh,"el-GR":Dh,"en-US":vh,"es-ES":yh,"et-EE":xh,"fi-FI":Ch,"fr-FR":Eh,"he-IL":Bh,"hr-HR":kh,"hu-HU":Ph,"it-IT":Sh,"ja-JP":Ah,"ko-KR":wh,"lt-LT":Fh,"lv-LV":Th,"nb-NO":Ih,"nl-NL":Rh,"pl-PL":Kh,"pt-BR":Mh,"pt-PT":zh,"ro-RO":Nh,"ru-RU":Vh,"sk-SK":_h,"sl-SI":jh,"sr-SP":Lh,"sv-SE":Oh,"tr-TR":Hh,"uk-UA":Uh,"zh-CN":Wh,"zh-TW":Zh};function xy(e){return e&&e.__esModule?e.default:e}const qh=new lu(xy(Gh));function Yh(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Yr(e,t,u,n,r){let a=e!=null&&u!=null&&e.compare(u)>0,i=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,s=a||i||l,d=[];if(s){let c=Yh(),f=lu.getGlobalDictionaryForPackage("@react-stately/datepicker")||qh,p=new Xd(c,f),m=new at(c,zt({},r)),b=m.resolvedOptions().timeZone;i&&t!=null&&d.push(p.format("rangeUnderflow",{minValue:m.format(t.toDate(b))})),a&&u!=null&&d.push(p.format("rangeOverflow",{maxValue:m.format(u.toDate(b))})),l&&d.push(p.format("unavailableDate"))}return{isInvalid:s,validationErrors:d,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function Cy(e,t,u,n,r){var a;let i=Yr((a=e==null?void 0:e.start)!==null&&a!==void 0?a:null,t,u,n,r);var l;let s=Yr((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,r),d=_n(i,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=lu.getGlobalDictionaryForPackage("@react-stately/datepicker")||qh;d=_n(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",Yh())],validationDetails:{...ha,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const Ey={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},By={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function zt(e,t){e={...t.shouldForceLeadingZeros?By:Ey,...e};let n=t.granularity||"minute",r=Object.keys(e);var a;let i=r.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");i<0&&(i=0);let l=r.indexOf(n);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let s=r.slice(i,l+1).reduce((c,f)=>(c[f]=e[f],c),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&i===0&&(s.era="short"),s}function Lu(e){return e&&"hour"in e?e:new vl}function Jh(e,t){if(e===null)return null;if(e)return ge(e,t)}function fn(e,t,u,n){if(e)return Jh(e,u);let r=ge(uc(n??qn()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?Oe(r):n?r:vt(r)}function Ol(e,t){let u=e&&"timeZone"in e?e.timeZone:void 0,n=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[r,a]=o.useState([n,u]);e&&(r[0]!==n||r[1]!==u)&&a([n,u]),t||(t=e?n:r[0]);let i=e?u:r[1];return[t,i]}function ky(e){let t=Au(e),[u,n]=Me(e.value,e.defaultValue||null,e.onChange),r=u||e.placeholderValue||null,[a,i]=Ol(r,e.granularity),l=u!=null?u.toDate(i??"UTC"):null,s=a==="hour"||a==="minute"||a==="second";var d;let c=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[f,p]=o.useState(null),[m,b]=o.useState(null);if(u&&(f=u,"hour"in u&&(m=u)),r&&!(a in r))throw new Error("Invalid granularity "+a+" for value "+r.toString());let g=(u==null?void 0:u.calendar.identifier)==="gregory"&&u.era==="BC",$=o.useMemo(()=>({granularity:a,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:g}),[a,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,g]),{minValue:D,maxValue:y,isDateUnavailable:x}=e,C=o.useMemo(()=>Yr(u,D,y,x,$),[u,D,y,x,$]),B=Ct({...e,value:u,builtinValidation:C}),P=B.displayValidation.isInvalid,T=e.validationState||(P?"invalid":null),v=(k,M)=>{n("timeZone"in M?M.set(Oe(k)):vt(k,M)),p(null),b(null),B.commitValidation()};return{...B,value:u,setValue:n,dateValue:f,timeValue:m,setDateValue:k=>{let M=typeof c=="function"?c():c;s?m||M?v(k,m||Lu(e.defaultValue||e.placeholderValue)):p(k):(n(k),B.commitValidation()),M&&t.setOpen(!1)},setTimeValue:k=>{f&&k?v(f,k):b(k)},granularity:a,hasTime:s,...t,setOpen(k){!k&&!u&&f&&s&&v(f,m||Lu(e.defaultValue||e.placeholderValue)),t.setOpen(k)},validationState:T,isInvalid:P,formatValue(k,M){if(!l)return"";let E=zt(M,$);return new at(k,E).format(l)},getDateFormatter(k,M){let E={...$,...M},V=zt({},E);return new at(k,V)}}}const Py=new lu({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"年",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function Sy(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Py.getStringForLocale(e,u):"––"}const Sr={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},ws={year:5,month:2,day:7,hour:2,minute:15,second:15},Ay={dayperiod:"dayPeriod"};function Qh(e){let{locale:t,createCalendar:u,hideTimeZone:n,isDisabled:r=!1,isReadOnly:a=!1,isRequired:i=!1,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,p]=Ol(c,e.granularity),m=p||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let b=o.useMemo(()=>new at(t),[t]),g=o.useMemo(()=>u(b.resolvedOptions().calendar),[u,b]);var $;let[D,y]=Me(e.value,($=e.defaultValue)!==null&&$!==void 0?$:null,e.onChange),x=o.useMemo(()=>{var L;return(L=Jh(D,g))!==null&&L!==void 0?L:null},[D,g]),[C,B]=o.useState(()=>fn(e.placeholderValue,f,g,p)),P=x||C,T=g.identifier==="gregory"&&P.era==="BC",v=o.useMemo(()=>{var L;return{granularity:f,maxGranularity:(L=e.maxGranularity)!==null&&L!==void 0?L:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:T,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,T]),F=o.useMemo(()=>zt({},v),[v]),S=o.useMemo(()=>new at(t,F),[t,F]),k=o.useMemo(()=>S.resolvedOptions(),[S]),M=o.useMemo(()=>S.formatToParts(new Date).filter(L=>Sr[L.type]).reduce((L,ee)=>(L[ee.type]=!0,L),{}),[S]),[E,V]=o.useState(()=>e.value||e.defaultValue?{...M}:{}),R=o.useRef(null),w=o.useRef(g.identifier);o.useEffect(()=>{g.identifier!==w.current&&(w.current=g.identifier,B(L=>Object.keys(E).length>0?ge(L,g):fn(e.placeholderValue,f,g,p)))},[g,f,E,p,e.placeholderValue]),D&&Object.keys(E).length<Object.keys(M).length&&(E={...M},V(E)),D==null&&Object.keys(E).length===Object.keys(M).length&&(E={},V(E),B(fn(e.placeholderValue,f,g,p)));let I=x&&Object.keys(E).length>=Object.keys(M).length?x:C,A=L=>{if(e.isDisabled||e.isReadOnly)return;let ee=Object.keys(E),j=Object.keys(M);L==null?(y(null),B(fn(e.placeholderValue,f,g,p)),V({})):ee.length>=j.length||ee.length===j.length-1&&M.dayPeriod&&!E.dayPeriod&&R.current!=="dayPeriod"?(L=ge(L,(c==null?void 0:c.calendar)||new Ge),y(L)):B(L),R.current=null},z=o.useMemo(()=>I.toDate(m),[I,m]),K=o.useMemo(()=>wy(z,E,S,k,I,g,t,f),[z,E,S,k,I,g,t,f]);M.era&&E.year&&!E.era?(E.era=!0,V({...E})):!M.era&&E.era&&(delete E.era,V({...E}));let N=L=>{E[L]=!0,L==="year"&&M.era&&(E.era=!0),V({...E})},H=(L,ee)=>{if(E[L])A(Fy(I,L,ee,k));else{N(L);let j=Object.keys(E),O=Object.keys(M);(j.length>=O.length||j.length===O.length-1&&M.dayPeriod&&!E.dayPeriod)&&A(I)}},G=o.useMemo(()=>Yr(D,l,s,d,v),[D,l,s,d,v]),Q=Ct({...e,value:D,builtinValidation:G}),me=Q.displayValidation.isInvalid,ue=e.validationState||(me?"invalid":null);var se;return{...Q,value:x,dateValue:z,calendar:g,setValue:A,segments:K,dateFormatter:S,validationState:ue,isInvalid:me,granularity:f,maxGranularity:(se=e.maxGranularity)!==null&&se!==void 0?se:"year",isDisabled:r,isReadOnly:a,isRequired:i,increment(L){H(L,1)},decrement(L){H(L,-1)},incrementPage(L){H(L,ws[L]||1)},decrementPage(L){H(L,-(ws[L]||1))},setSegment(L,ee){N(L),A(Ty(I,L,ee,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let L=Object.keys(E),ee=Object.keys(M);L.length===ee.length-1&&M.dayPeriod&&!E.dayPeriod&&(E={...M},V(E),A(I.copy()))},clearSegment(L){delete E[L],R.current=L,V({...E});let ee=fn(e.placeholderValue,f,g,p),j=I;if(L==="dayPeriod"&&"hour"in I&&"hour"in ee){let O=I.hour>=12,q=ee.hour>=12;O&&!q?j=I.set({hour:I.hour-12}):!O&&q&&(j=I.set({hour:I.hour+12}))}else L==="hour"&&"hour"in I&&I.hour>=12&&E.dayPeriod?j=I.set({hour:ee.hour+12}):L in I&&(j=I.set({[L]:ee[L]}));y(null),A(j)},formatValue(L){if(!x)return"";let ee=zt(L,v);return new at(t,ee).format(z)},getDateFormatter(L,ee){let j={...v,...ee},O=zt({},j);return new at(L,O)}}}function wy(e,t,u,n,r,a,i,l){let s=["hour","minute","second"],d=u.formatToParts(e),c=[];for(let f of d){let p=Sr[f.type];f.type==="era"&&a.getEras().length===1&&(p=!1);let m=Sr[f.type]&&!t[f.type],b=Sr[f.type]?Sy(f.type,f.value,i):null,g={type:Ay[f.type]||f.type,text:m?b:f.value,...gr(r,f.type,n),isPlaceholder:m,placeholder:b,isEditable:p};f.type==="hour"?(c.push({type:"literal",text:"",...gr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1}),c.push(g),f.type===l&&c.push({type:"literal",text:"",...gr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):s.includes(f.type)&&f.type===l?(c.push(g),c.push({type:"literal",text:"",...gr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):c.push(g)}return c}function gr(e,t,u){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:A6(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:w6(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(u.hour12){let n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function Fy(e,t,u,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,u,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return e.set({hour:a?r-12:r+12})}case"hour":case"minute":case"second":return e.cycle(t,u,{round:t!=="hour",hourCycle:n.hour12?12:24})}throw new Error("Unknown segment: "+t)}function Ty(e,t,u,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:u})}if("hour"in e&&typeof u=="number")switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return u>=12===a?e:e.set({hour:a?r-12:r+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&u===12&&(u=0),a&&u<12&&(u+=12)}case"minute":case"second":return e.set({[t]:u})}throw new Error("Unknown segment: "+t)}function Iy(e){var t,u;let n=Au(e),[r,a]=Me(e.value,e.defaultValue||null,e.onChange),[i,l]=o.useState(()=>r||{start:null,end:null});r==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let s=r||i,d=w=>{l(w||{start:null,end:null}),fu(w)?a(w):a(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=Ol(c,e.granularity),m=f==="hour"||f==="minute"||f==="second";var b;let g=(b=e.shouldCloseOnSelect)!==null&&b!==void 0?b:!0,[$,D]=o.useState(null),[y,x]=o.useState(null);s&&fu(s)&&($=s,"hour"in s.start&&(y=s));let C=(w,I)=>{d({start:"timeZone"in I.start?I.start.set(Oe(w.start)):vt(w.start,I.start),end:"timeZone"in I.end?I.end.set(Oe(w.end)):vt(w.end,I.end)}),D(null),x(null),E.commitValidation()},B=w=>{let I=typeof g=="function"?g():g;m?fu(w)&&(y!=null&&y.start)&&(y!=null&&y.end)?C(w,{start:(y==null?void 0:y.start)||Lu(e.placeholderValue),end:(y==null?void 0:y.end)||Lu(e.placeholderValue)}):D(w):fu(w)?(d(w),E.commitValidation()):D(w),I&&n.setOpen(!1)},P=w=>{fu($)&&fu(w)?C($,w):x(w)},T=(s==null||(t=s.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(u=s.end)===null||u===void 0?void 0:u.calendar.identifier)==="gregory"&&s.end.era==="BC",v=o.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:T}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,T]),{minValue:F,maxValue:S,isDateUnavailable:k}=e,M=o.useMemo(()=>Cy(s,F,S,k,v),[s,F,S,k,v]),E=Ct({...e,value:r,name:o.useMemo(()=>[e.startName,e.endName].filter(w=>w!=null),[e.startName,e.endName]),builtinValidation:M}),V=E.displayValidation.isInvalid,R=e.validationState||(V?"invalid":null);return{...E,value:s,setValue:d,dateRange:$,timeRange:y,granularity:f,hasTime:m,setDate(w,I){var A,z;B(w==="start"?{start:I,end:(A=$==null?void 0:$.end)!==null&&A!==void 0?A:null}:{start:(z=$==null?void 0:$.start)!==null&&z!==void 0?z:null,end:I})},setTime(w,I){var A,z;P(w==="start"?{start:I,end:(A=y==null?void 0:y.end)!==null&&A!==void 0?A:null}:{start:(z=y==null?void 0:y.start)!==null&&z!==void 0?z:null,end:I})},setDateTime(w,I){var A,z;d(w==="start"?{start:I,end:(A=s==null?void 0:s.end)!==null&&A!==void 0?A:null}:{start:(z=s==null?void 0:s.start)!==null&&z!==void 0?z:null,end:I})},setDateRange:B,setTimeRange:P,...n,setOpen(w){!w&&!(s!=null&&s.start&&(s!=null&&s.end))&&fu($)&&m&&C($,{start:(y==null?void 0:y.start)||Lu(e.placeholderValue),end:(y==null?void 0:y.end)||Lu(e.placeholderValue)}),n.setOpen(w)},validationState:R,isInvalid:V,formatValue(w,I){if(!s||!s.start||!s.end)return null;let A="timeZone"in s.start?s.start.timeZone:void 0,z=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),K="timeZone"in s.end?s.end.timeZone:void 0,N=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),H=zt(I,{granularity:z,timeZone:A,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),G=s.start.toDate(A||"UTC"),Q=s.end.toDate(K||"UTC"),me=new at(w,H),ue;if(A===K&&z===N&&s.start.compare(s.end)!==0){try{let se=me.formatRangeToParts(G,Q),L=-1;for(let O=0;O<se.length;O++){let q=se[O];if(q.source==="shared"&&q.type==="literal")L=O;else if(q.source==="endRange")break}let ee="",j="";for(let O=0;O<se.length;O++)O<L?ee+=se[O].value:O>L&&(j+=se[O].value);return{start:ee,end:j}}catch{}ue=me}else{let se=zt(I,{granularity:N,timeZone:K,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});ue=new at(w,se)}return{start:me.format(G),end:ue.format(Q)}},getDateFormatter(w,I){let A={...v,...I},z=zt({},A);return new at(w,z)}}}function fu(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function Ry(e){let[t,u]=Me(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isExpanded:t,setExpanded:u,expand:n,collapse:r,toggle:a}}function Ky(e){let{allowsMultipleExpanded:t=!1,isDisabled:u=!1}=e,[n,r]=Me(o.useMemo(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),o.useMemo(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return o.useEffect(()=>{!t&&n.size>1&&r(new Set([n.values().next().value]))}),{allowsMultipleExpanded:t,isDisabled:u,expandedKeys:n,setExpandedKeys:r,toggleKey(a){let i;t?(i=new Set(n),i.has(a)?i.delete(a):i.add(a)):i=new Set(n.has(a)?[]:[a]),r(i)}}}function Hl(e){let t=Au(e),[u,n]=o.useState(null),[r,a]=o.useState([]),i=()=>{a([]),t.close()};return{focusStrategy:u,...t,open(d=null){n(d),t.open()},toggle(d=null){n(d),t.toggle()},close(){i()},expandedKeysStack:r,openSubmenu:(d,c)=>{a(f=>c>f.length?f:[...f.slice(0,c),d])},closeSubmenu:(d,c)=>{a(f=>f[c]===d?f.slice(0,c):f)}}}let My=Math.round(Math.random()*1e10),zy=0;function Ny(e){let t=o.useMemo(()=>e.name||`radio-group-${My}-${++zy}`,[e.name]);var u;let[n,r]=Me(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:null,e.onChange),[a,i]=o.useState(null),l=Ct({...e,value:n}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(r(c),l.commitValidation())},d=l.displayValidation.isInvalid;return{...l,name:t,selectedValue:n,setSelectedValue:s,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(d?"invalid":null),isInvalid:d}}function Vy(e){let[t,u]=Me(Fs(e.value),Fs(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function Fs(e){if(e!=null)return e.toString()}function _y(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||ur(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=n.setFocusedKey;n.setFocusedKey=(s,d)=>{if(u==="cell"&&s!=null){let b=t.getItem(s);if((b==null?void 0:b.type)==="item"){var c,f;let g=we(b,t);var p,m;d==="last"?s=(p=(c=Kt(g))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(m=(f=Tt(g))===null||f===void 0?void 0:f.key)!==null&&m!==void 0?m:null}}a(s,d)};let i=o.useMemo(()=>new an(t,n),[t,n]);const l=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&l.current&&!t.getItem(n.focusedKey)){const s=l.current.getItem(n.focusedKey),d=(s==null?void 0:s.parentKey)!=null&&(s.type==="cell"||s.type==="rowheader"||s.type==="column")?l.current.getItem(s.parentKey):s;if(!d){n.setFocusedKey(null);return}const c=l.current.rows,f=t.rows,p=c.length-f.length;let m=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),b=null;for(;m>=0;){if(!i.isDisabled(f[m].key)&&f[m].type!=="headerrow"){b=f[m];break}m<f.length-1?m++:(m>d.index&&(m=d.index),m--)}if(b){const g=b.hasChildNodes?[...we(b,t)]:[],$=b.hasChildNodes&&d!==s&&s&&s.index<g.length?g[s.index].key:b.key;n.setFocusedKey($)}else n.setFocusedKey(null)}l.current=t},[t,i,n,n.focusedKey]),{collection:t,disabledKeys:r,isKeyboardNavigationDisabled:!1,selectionManager:i}}class jy{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t;return(t=[...this.rows][0])===null||t===void 0?void 0:t.key}getLastKey(){var t;let u=[...this.rows];return(t=u[u.length-1])===null||t===void 0?void 0:t.key}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=t==null?void 0:t.columnCount,this.rows=[];let u=f=>{let p=this.keyMap.get(f.key);t.visitNode&&(f=t.visitNode(f)),this.keyMap.set(f.key,f);let m=new Set,b=null,g=!1;if(f.type==="item"){var $;for(let B of f.childNodes)if((($=B.props)===null||$===void 0?void 0:$.colSpan)!==void 0){g=!0;break}}for(let B of f.childNodes){if(B.type==="cell"&&g){var D,y;B.colspan=(D=B.props)===null||D===void 0?void 0:D.colSpan,B.colSpan=(y=B.props)===null||y===void 0?void 0:y.colSpan;var x,C;B.colIndex=b?((x=b.colIndex)!==null&&x!==void 0?x:b.index)+((C=b.colSpan)!==null&&C!==void 0?C:1):B.index}B.type==="cell"&&B.parentKey==null&&(B.parentKey=f.key),m.add(B.key),b?(b.nextKey=B.key,B.prevKey=b.key):B.prevKey=null,u(B),b=B}if(b&&(b.nextKey=null),p)for(let B of p.childNodes)m.has(B.key)||n(B)},n=f=>{this.keyMap.delete(f.key);for(let p of f.childNodes)this.keyMap.get(p.key)===p&&n(p)},r=null;for(let[f,p]of t.items.entries()){var a,i,l,s,d,c;let m={...p,level:(a=p.level)!==null&&a!==void 0?a:0,key:(i=p.key)!==null&&i!==void 0?i:"row-"+f,type:(l=p.type)!==null&&l!==void 0?l:"row",value:(s=p.value)!==null&&s!==void 0?s:null,hasChildNodes:!0,childNodes:[...p.childNodes],rendered:p.rendered,textValue:(d=p.textValue)!==null&&d!==void 0?d:"",index:(c=p.index)!==null&&c!==void 0?c:f};r?(r.nextKey=m.key,m.prevKey=r.key):m.prevKey=null,this.rows.push(m),u(m),r=m}r&&(r.nextKey=null)}}const Xh="row-header-column-"+Math.random().toString(36).slice(2);let Li="row-header-column-"+Math.random().toString(36).slice(2);for(;Xh===Li;)Li="row-header-column-"+Math.random().toString(36).slice(2);function e5(e,t){if(t.length===0)return[];let u=[],n=new Map;for(let c of t){let f=c.parentKey,p=[c];for(;f;){let m=e.get(f);if(!m)break;if(n.has(m)){var r,a;(a=(r=m).colSpan)!==null&&a!==void 0||(r.colSpan=0),m.colSpan++,m.colspan=m.colSpan;let{column:b,index:g}=n.get(m);if(g>p.length)break;for(let $=g;$<p.length;$++)b.splice($,0,null);for(let $=p.length;$<b.length;$++)b[$]&&n.has(b[$])&&(n.get(b[$]).index=$)}else m.colSpan=1,m.colspan=1,p.push(m),n.set(m,{column:p,index:p.length-1});f=m.parentKey}u.push(p),c.index=u.length-1}let i=Math.max(...u.map(c=>c.length)),l=Array(i).fill(0).map(()=>[]),s=0;for(let c of u){let f=i-1;for(let p of c){if(p){let m=l[f],b=m.reduce((g,$)=>{var D;return g+((D=$.colSpan)!==null&&D!==void 0?D:1)},0);if(b<s){let g={type:"placeholder",key:"placeholder-"+p.key,colspan:s-b,colSpan:s-b,index:b,value:null,rendered:null,level:f,hasChildNodes:!1,childNodes:[],textValue:""};m.length>0&&(m[m.length-1].nextKey=g.key,g.prevKey=m[m.length-1].key),m.push(g)}m.length>0&&(m[m.length-1].nextKey=p.key,p.prevKey=m[m.length-1].key),p.level=f,p.colIndex=s,m.push(p)}f--}s++}let d=0;for(let c of l){let f=c.reduce((p,m)=>{var b;return p+((b=m.colSpan)!==null&&b!==void 0?b:1)},0);if(f<t.length){let p={type:"placeholder",key:"placeholder-"+c[c.length-1].key,colSpan:t.length-f,colspan:t.length-f,index:f,value:null,rendered:null,level:d,hasChildNodes:!1,childNodes:[],textValue:"",prevKey:c[c.length-1].key};c.push(p)}d++}return l.map((c,f)=>({type:"headerrow",key:"headerrow-"+f,index:f,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:c,textValue:""}))}class Ly extends jy{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t,u;return(u=(t=Tt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getLastKey(){var t,u;return(u=(t=Kt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){return t===this.body.key?this.body.childNodes:super.getChildren(t)}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys;if(n){let r=[];for(let a of u.childNodes){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}return""}constructor(t,u,n){let r=new Set,a=null,i=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key:Xh,value:null,textValue:"",level:0,index:n!=null&&n.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};i.unshift(f)}if(n!=null&&n.showDragButtons){let f={type:"column",key:Li,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};i.unshift(f)}let l=[],s=new Map,d=f=>{switch(f.type){case"body":a=f;break;case"column":s.set(f.key,f),f.hasChildNodes||(i.push(f),f.props.isRowHeader&&r.add(f.key));break;case"item":l.push(f);return}for(let p of f.childNodes)d(p)};for(let f of t)d(f);let c=e5(s,i);if(c.forEach((f,p)=>l.splice(p,0,f)),super({columnCount:i.length,items:l,visitNode:f=>(f.column=i[f.index],f)}),this._size=0,this.columns=i,this.rowHeaderColumnKeys=r,this.body=a,this.headerRows=c,this._size=[...a.childNodes].length,this.rowHeaderColumnKeys.size===0){let f=this.columns.find(p=>{var m,b;return!(!((m=p.props)===null||m===void 0)&&m.isDragButtonCell)&&!(!((b=p.props)===null||b===void 0)&&b.isSelectionCell)});f&&this.rowHeaderColumnKeys.add(f.key)}}}const Oy={ascending:"descending",descending:"ascending"};function Hy(e){let[t,u]=o.useState(!1),{selectionMode:n="none",showSelectionCheckboxes:r,showDragButtons:a}=e,i=o.useMemo(()=>({showSelectionCheckboxes:r&&n!=="none",showDragButtons:a,selectionMode:n,columns:[]}),[e.children,r,n,a]),l=Rl(e,o.useCallback(f=>new Ly(f,null,i),[i]),i),{disabledKeys:s,selectionManager:d}=_y({...e,collection:l,disabledBehavior:e.disabledBehavior||"selection"});var c;return{collection:l,disabledKeys:s,selectionManager:d,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:(c=e.sortDescriptor)!==null&&c!==void 0?c:null,isKeyboardNavigationDisabled:l.size===0||t,setKeyboardNavigationDisabled:u,sort(f,p){var m,b;(b=e.onSortChange)===null||b===void 0||b.call(e,{column:f,direction:p??(((m=e.sortDescriptor)===null||m===void 0?void 0:m.column)===f?Oy[e.sortDescriptor.direction]:"ascending")})}}}function Uy(e){var t,u;let n=fh({...e,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:Ts(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&u!==void 0?u:void 0}),{selectionManager:r,collection:a,selectedKey:i}=n,l=o.useRef(i);return o.useEffect(()=>{let s=i;e.selectedKey==null&&(r.isEmpty||s==null||!a.getItem(s))&&(s=Ts(a,n.disabledKeys),s!=null&&r.setSelectedKeys([s])),(s!=null&&r.focusedKey==null||!r.isFocused&&s!==l.current)&&r.setFocusedKey(s),l.current=s}),{...n,isDisabled:e.isDisabled||!1}}function Ts(e,t){let u=null;if(e){var n,r,a,i;for(u=e.getFirstKey();u!=null&&(t.has(u)||!((r=e.getItem(u))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled)&&u!==e.getLastKey();)u=e.getKeyAfter(u);u!=null&&(t.has(u)||!((i=e.getItem(u))===null||i===void 0||(a=i.props)===null||a===void 0)&&a.isDisabled)&&u===e.getLastKey()&&(u=e.getFirstKey())}return u}function t5(e){let t=o.useCallback(r=>e.subscribe(r),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:ol.useSyncExternalStore(t,u,u),add:(r,a)=>e.add(r,a),close:r=>e.close(r),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class u5{runWithWrapUpdate(t){this.wrapUpdate?this.wrapUpdate(t):t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,u={}){let n="_"+Math.random().toString(36).slice(2),r={...u,content:t,key:n,timer:u.timeout?new Wy(()=>this.close(n),u.timeout):void 0};return this.queue.unshift(r),this.updateVisibleToasts(),n}close(t){let u=this.queue.findIndex(a=>a.key===t);if(u>=0){var n,r;(n=(r=this.queue[u]).onClose)===null||n===void 0||n.call(r),this.queue.splice(u,1)}this.updateVisibleToasts()}updateVisibleToasts(){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts);for(let t of this.subscriptions)this.runWithWrapUpdate(t)}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[];var u;this.maxVisibleToasts=(u=t==null?void 0:t.maxVisibleToasts)!==null&&u!==void 0?u:1/0,this.wrapUpdate=t==null?void 0:t.wrapUpdate}}class Wy{reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}constructor(t,u){this.startTime=null,this.remaining=u,this.callback=t}}const Zy=1500,Is=500;let pu={},Gy=0,pn=!1,St=null,mu=null;function n5(e={}){let{delay:t=Zy,closeDelay:u=Is}=e,{isOpen:n,open:r,close:a}=Au(e),i=o.useMemo(()=>`${++Gy}`,[]),l=o.useRef(null),s=o.useRef(a),d=()=>{pu[i]=p},c=()=>{for(let b in pu)b!==i&&(pu[b](!0),delete pu[b])},f=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),d(),pn=!0,r(),St&&(clearTimeout(St),St=null),mu&&(clearTimeout(mu),mu=null)},p=b=>{b||u<=0?(l.current&&clearTimeout(l.current),l.current=null,s.current()):l.current||(l.current=setTimeout(()=>{l.current=null,s.current()},u)),St&&(clearTimeout(St),St=null),pn&&(mu&&clearTimeout(mu),mu=setTimeout(()=>{delete pu[i],mu=null,pn=!1},Math.max(Is,u)))},m=()=>{c(),d(),!n&&!St&&!pn?St=setTimeout(()=>{St=null,pn=!0,f()},t):n||f()};return o.useEffect(()=>{s.current=a},[a]),o.useEffect(()=>()=>{l.current&&clearTimeout(l.current),pu[i]&&delete pu[i]},[i]),{isOpen:n,open:b=>{!b&&t>0&&!l.current?m():f()},close:p}}class qy{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}constructor(t,{expandedKeys:u}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,u=u||new Set;let n=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||u.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of t)n(l);let r=null,a=0;for(let[l,s]of this.keyMap)r?(r.nextKey=l,s.prevKey=r.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=a++),r=s,r.nextKey=void 0;var i;this.lastKey=(i=r==null?void 0:r.key)!==null&&i!==void 0?i:null}}function Yy(e){let{onExpandedChange:t}=e,[u,n]=Me(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),r=ur(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=Rl(e,o.useCallback(s=>new qy(s,{expandedKeys:u}),[u]),null);return o.useEffect(()=>{r.focusedKey!=null&&!i.getItem(r.focusedKey)&&r.setFocusedKey(null)},[i,r.focusedKey]),{collection:i,expandedKeys:u,disabledKeys:a,toggleKey:s=>{n(Jy(u,s))},setExpandedKeys:n,selectionManager:new an(i,r)}}function Jy(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const su=o.createContext(null),ln=o.createContext({}),nr=o.forwardRef(function(t,u){[t,u]=X(t,u,ln);let{isDisabled:n,isInvalid:r,onHoverStart:a,onHoverChange:i,onHoverEnd:l,...s}=t,{hoverProps:d,isHovered:c}=Ce({onHoverStart:a,onHoverChange:i,onHoverEnd:l,isDisabled:n}),{isFocused:f,isFocusVisible:p,focusProps:m}=he({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),r??(r=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let b=Z({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:p,isDisabled:n,isInvalid:r},defaultClassName:"react-aria-Group"});var g,$;return o.createElement("div",{..._(s,m,d),...b,ref:u,role:(g=t.role)!==null&&g!==void 0?g:"group",slot:($=t.slot)!==null&&$!==void 0?$:void 0,"data-focus-within":f||void 0,"data-hovered":c||void 0,"data-focus-visible":p||void 0,"data-disabled":n||void 0,"data-invalid":r||void 0},b.children)}),r5=o.createContext({});let Qy=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const Xy=o.forwardRef(function(t,u){[t,u]=X(t,u,r5);let{hoverProps:n,isHovered:r}=Ce(t),{isFocused:a,isFocusVisible:i,focusProps:l}=he({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=Z({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return o.createElement("textarea",{..._(Qy(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),ex=o.createContext(null),Ul=Wn(function(t,u){[t,u]=X(t,u,ex);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=o.useRef(null),[s,d]=X({},l,Xu),[c,f]=ct(!t["aria-label"]&&!t["aria-labelledby"]),[p,m]=o.useState("input"),{labelProps:b,inputProps:g,descriptionProps:$,errorMessageProps:D,...y}=Al({...Nt(t),inputElementType:p,label:f,validationBehavior:i},d),x=o.useCallback(P=>{d.current=P,P&&m(P instanceof HTMLTextAreaElement?"textarea":"input")},[d]),C=Z({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:y.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),B=U(t);return delete B.id,o.createElement("div",{...B,...C,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(fe,{values:[[Et,{...b,ref:c}],[Xu,{..._(g,s),ref:x}],[r5,{...g,ref:x}],[qe,{slots:{description:$,errorMessage:D}}],[Ut,y]]},C.children))}),Oi=o.createContext(null),a5=o.createContext(null),rr={CollectionRoot({collection:e,renderDropIndicator:t}){return Rs(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return Rs(e,t,u)}};function Rs(e,t,u){return al({items:t?e.getChildren(t.key):e,dependencies:[u],children(n){var r;let a=n.render(n);if(!u||n.type!=="item")return a;let i=n.key,l=e.getKeyAfter(i);return o.createElement(o.Fragment,null,u({type:"item",key:i,dropPosition:"before"}),a,(l==null||((r=e.getItem(l))===null||r===void 0?void 0:r.type)!=="item")&&u({type:"item",key:i,dropPosition:"after"}))}})}const Pe=o.createContext(rr);function Wl(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const i5=o.createContext(null),Jr=o.forwardRef(function(t,u){[t,u]=X(t,u,i5);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:r,isPressed:a}=f6({...t,elementType:n},u),{hoverProps:i,isHovered:l}=Ce(t),{focusProps:s,isFocused:d,isFocusVisible:c}=he(),f=Z({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:a,isHovered:l,isFocused:d,isFocusVisible:c}});return o.createElement(n,{ref:u,slot:t.slot||void 0,..._(f,r,i,s),"data-focused":d||void 0,"data-hovered":l||void 0,"data-pressed":a||void 0,"data-focus-visible":c||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},f.children)}),Hi=o.createContext(null),tx=o.forwardRef(function(t,u){[t,u]=X(t,u,Hi);let{CollectionRoot:n}=o.useContext(Pe),{navProps:r}=wg(t);return o.createElement(Su,{content:o.createElement(xt,t)},a=>{var i;return o.createElement("ol",{ref:u,...r,slot:t.slot||void 0,style:t.style,className:(i=t.className)!==null&&i!==void 0?i:"react-aria-Breadcrumbs"},o.createElement(Hi.Provider,{value:t},o.createElement(n,{collection:a})))})}),ux=iu("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:a,onAction:i}=Ze(Hi),l={"aria-current":r?"page":null,isDisabled:a||r,onPress:()=>i==null?void 0:i(n.key)},s=Z({...n.props,children:n.rendered,values:{isDisabled:a||r,isCurrent:r},defaultClassName:"react-aria-Breadcrumb"});return o.createElement("li",{...U(t),...s,ref:u,"data-disabled":a||r||void 0,"data-current":r||void 0},o.createElement(i5.Provider,{value:l},s.children))}),Qr=o.createContext(null),Xr=o.createContext(null),Ca=o.createContext(null),Ea=o.createContext(null),nx=o.forwardRef(function(t,u){[t,u]=X(t,u,Qr);let{locale:n}=pe(),r=dh({...t,locale:n,createCalendar:ma}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=Ug(t,r),c=Z({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-Calendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(fe,{values:[[pt,{slots:{previous:i,next:l}}],[aa,{"aria-hidden":!0,level:2,children:d}],[Ca,r],[Qr,t],[qe,{slots:{errorMessage:s}}]]},o.createElement(ru,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(ru,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),rx=o.forwardRef(function(t,u){[t,u]=X(t,u,Xr);let{locale:n}=pe(),r=hy({...t,locale:n,createCalendar:ma}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=Wg(t,r,u),c=Z({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(fe,{values:[[pt,{slots:{previous:i,next:l}}],[aa,{"aria-hidden":!0,level:2,children:d}],[Ea,r],[Xr,t],[qe,{slots:{errorMessage:s}}]]},o.createElement(ru,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(ru,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),Ba=o.createContext(null),l5=o.forwardRef(function(t,u){let n=o.useContext(Ca),r=o.useContext(Ea),a=Ze(Qr),i=Ze(Xr),l=n??r,s=l.visibleRange.start;t.offset&&(s=s.add(t.offset));var d;let c=(d=a==null?void 0:a.firstDayOfWeek)!==null&&d!==void 0?d:i==null?void 0:i.firstDayOfWeek,{gridProps:f,headerProps:p,weekDays:m}=Zg({startDate:s,endDate:zr(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var b;return o.createElement(Ba.Provider,{value:{headerProps:p,weekDays:m,startDate:s,firstDayOfWeek:c}},o.createElement("table",{...U(t),...f,ref:u,style:t.style,className:(b=t.className)!==null&&b!==void 0?b:"react-aria-CalendarGrid"},typeof t.children!="function"?t.children:o.createElement(o.Fragment,null,o.createElement(ix,null,g=>o.createElement(ox,null,g)),o.createElement(dx,null,t.children))))});function ax(e,t){let{children:u,style:n,className:r}=e,{headerProps:a,weekDays:i}=o.useContext(Ba);return o.createElement("thead",{...U(e),...a,ref:t,style:n,className:r||"react-aria-CalendarGridHeader"},o.createElement("tr",null,i.map((l,s)=>o.cloneElement(u(l),{key:s}))))}const ix=o.forwardRef(ax);function lx(e,t){let{children:u,style:n,className:r}=e;return o.createElement("th",{...U(e),ref:t,style:n,className:r||"react-aria-CalendarHeaderCell"},u)}const ox=o.forwardRef(lx);function sx(e,t){let{children:u,style:n,className:r}=e,a=o.useContext(Ca),i=o.useContext(Ea),l=a??i,{startDate:s,firstDayOfWeek:d}=o.useContext(Ba),{locale:c}=pe(),f=R6(s,c,d);return o.createElement("tbody",{...U(e),ref:t,style:n,className:r||"react-aria-CalendarGridBody"},[...new Array(f).keys()].map(p=>o.createElement("tr",{key:p},l.getDatesInWeek(p,s).map((m,b)=>m?o.cloneElement(u(m),{key:b}):o.createElement("td",{key:b})))))}const dx=o.forwardRef(sx),o5=o.forwardRef(function({date:t,...u},n){let r=o.useContext(Ca),a=o.useContext(Ea),i=r??a;var l;let{startDate:s}=(l=o.useContext(Ba))!==null&&l!==void 0?l:{startDate:i.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=qg({date:t},i,d),{hoverProps:m,isHovered:b}=Ce({...u,isDisabled:p.isDisabled}),{focusProps:g,isFocusVisible:$}=he();$&&($=p.isFocused);let D=!k6(s,t),y=!1,x=!1;"highlightedRange"in i&&i.highlightedRange&&(y=Fe(t,i.highlightedRange.start),x=Fe(t,i.highlightedRange.end));let C=Z({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:b,isOutsideMonth:D,isFocusVisible:$,isSelectionStart:y,isSelectionEnd:x,...p}}),B={"data-focused":p.isFocused||void 0,"data-hovered":b||void 0,"data-pressed":p.isPressed||void 0,"data-unavailable":p.isUnavailable||void 0,"data-disabled":p.isDisabled||void 0,"data-focus-visible":$||void 0,"data-outside-visible-range":p.isOutsideVisibleRange||void 0,"data-outside-month":D||void 0,"data-selected":p.isSelected||void 0,"data-selection-start":y||void 0,"data-selection-end":x||void 0,"data-invalid":p.isInvalid||void 0};return o.createElement("td",{...c,ref:n},o.createElement("div",{..._(U(u),f,g,m,B,C),ref:d}))}),cx=o.createContext(null),Zl=o.createContext(null),fx=o.forwardRef(function(t,u){[t,u]=X(t,u,cx);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=$y({...t,validationBehavior:i}),[s,d]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=nD({...t,label:d,validationBehavior:i},l),g=Z({...t,values:{isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:t.isRequired||!1,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-CheckboxGroup"});return o.createElement("div",{...c,...g,ref:u,slot:t.slot||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":t.isRequired||void 0,"data-invalid":l.isInvalid||void 0,"data-disabled":t.isDisabled||void 0},o.createElement(fe,{values:[[Zl,l],[Et,{...f,ref:s,elementType:"span"}],[qe,{slots:{description:p,errorMessage:m}}],[Ut,b]]},g.children))}),px=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=X(r,u,Ji);let{validationBehavior:a}=Ze(su)||{};var i,l;let s=(l=(i=t.validationBehavior)!==null&&i!==void 0?i:a)!==null&&l!==void 0?l:"native",d=o.useContext(Zl),c=xe(ku(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:m,isDisabled:b,isReadOnly:g,isPressed:$,isInvalid:D}=d?rD({...Nt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):D4({...Nt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},y4(t),c),{isFocused:y,isFocusVisible:x,focusProps:C}=he(),B=b||g,{hoverProps:P,isHovered:T}=Ce({...t,isDisabled:B}),v=Z({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:$,isHovered:T,isFocused:y,isFocusVisible:x,isDisabled:b,isReadOnly:g,isInvalid:D,isRequired:t.isRequired||!1}}),F=U(t);return delete F.id,o.createElement("label",{..._(F,f,P,v),ref:u,slot:t.slot||void 0,"data-selected":m||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":$||void 0,"data-hovered":T||void 0,"data-focused":y||void 0,"data-focus-visible":x||void 0,"data-disabled":b||void 0,"data-readonly":g||void 0,"data-invalid":D||void 0,"data-required":t.isRequired||void 0},o.createElement(ru,{elementType:"span"},o.createElement("input",{..._(p,C),ref:c})),v.children)});var s5={};s5={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var d5={};d5={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var c5={};c5={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var f5={};f5={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var p5={};p5={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var m5={};m5={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var b5={};b5={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var h5={};h5={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var $5={};$5={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var g5={};g5={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var D5={};D5={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var v5={};v5={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var y5={};y5={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var x5={};x5={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var C5={};C5={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var E5={};E5={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var B5={};B5={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var k5={};k5={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var P5={};P5={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var S5={};S5={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var A5={};A5={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var w5={};w5={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var F5={};F5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var T5={};T5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var I5={};I5={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var R5={};R5={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var K5={};K5={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var M5={};M5={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var z5={};z5={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var N5={};N5={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var V5={};V5={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var _5={};_5={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var j5={};j5={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var L5={};L5={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var O5={};O5={"ar-AE":s5,"bg-BG":d5,"cs-CZ":c5,"da-DK":f5,"de-DE":p5,"el-GR":m5,"en-US":b5,"es-ES":h5,"et-EE":$5,"fi-FI":g5,"fr-FR":D5,"he-IL":v5,"hr-HR":y5,"hu-HU":x5,"it-IT":C5,"ja-JP":E5,"ko-KR":B5,"lt-LT":k5,"lv-LV":P5,"nb-NO":S5,"nl-NL":A5,"pl-PL":w5,"pt-BR":F5,"pt-PT":T5,"ro-RO":I5,"ru-RU":R5,"sk-SK":K5,"sl-SI":M5,"sr-SP":z5,"sv-SE":N5,"tr-TR":V5,"uk-UA":_5,"zh-CN":j5,"zh-TW":L5};const kt=o.createContext({}),Gl=o.createContext(null),mx=o.forwardRef(function(t,u){let{render:n}=o.useContext(Gl);return o.createElement(o.Fragment,null,n(t,u))});function ql(e,t){var u;let n=e==null?void 0:e.renderDropIndicator,r=e==null||(u=e.isVirtualDragging)===null||u===void 0?void 0:u.call(e),a=o.useCallback(i=>{if(r||t!=null&&t.isDropTarget(i))return n?n(i):o.createElement(mx,{target:i})},[t==null?void 0:t.target,r,n]);return e!=null&&e.useDropIndicator?a:void 0}function H5(e,t,u){var n,r;let a=e.focusedKey,i=null;if(!(t==null||(n=t.isVirtualDragging)===null||n===void 0)&&n.call(t)&&(u==null||(r=u.target)===null||r===void 0?void 0:r.type)==="item"){i=u.target.key;var l;u.target.dropPosition==="after"&&(i=(l=u.collection.getKeyAfter(i))!==null&&l!==void 0?l:i)}return o.useMemo(()=>new Set([a,i].filter(s=>s!=null)),[a,i])}const U5=o.createContext({}),W5=o.createContext({}),ka=o.createContext(null),Wt=o.createContext(null),bx=o.forwardRef(function(t,u){[t,u]=X(t,u,ka);let n=o.useContext(Wt);return n?o.createElement(Z5,{state:n,props:t,listBoxRef:u}):o.createElement(Su,{content:o.createElement(xt,t)},r=>o.createElement(hx,{props:t,listBoxRef:u,collection:r}))});function hx({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext(Pe),r=xa({...e,layoutDelegate:n});return o.createElement(Z5,{state:r,props:e,listBoxRef:t})}function Z5({state:e,props:t,listBoxRef:u}){let{filter:n,collectionProps:r,collectionRef:a}=o.useContext(Oi)||{};t=o.useMemo(()=>r?{...t,...r}:t,[t,r]);let{dragAndDropHooks:i,layout:l="stack",orientation:s="vertical"}=t;u=xe(o.useMemo(()=>ku(u,a!==void 0?a:null),[a,u]));let d=Dy(e,n),{collection:c,selectionManager:f}=d,p=!!(i!=null&&i.useDraggableCollectionState),m=!!(i!=null&&i.useDroppableCollectionState),{direction:b}=pe(),{disabledBehavior:g,disabledKeys:$}=f,D=tn({usage:"search",sensitivity:"base"}),{isVirtualized:y,layoutDelegate:x,dropTargetDelegate:C,CollectionRoot:B}=o.useContext(Pe),P=o.useMemo(()=>t.keyboardDelegate||new nn({collection:c,collator:D,ref:u,disabledKeys:$,disabledBehavior:g,layout:l,orientation:s,direction:b,layoutDelegate:x}),[c,D,u,g,$,s,b,t.keyboardDelegate,l,x]),{listBoxProps:T}=wf({...t,shouldSelectOnPressUp:p||t.shouldSelectOnPressUp,keyboardDelegate:P,isVirtualized:y},d,u),v=o.useRef(p),F=o.useRef(m);o.useEffect(()=>{v.current!==p&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),F.current!==m&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[p,m]);let S,k,M,E=!1,V=null,R=o.useRef(null);if(p&&i){S=i.useDraggableCollectionState({collection:c,selectionManager:f,preview:i.renderDragPreview?R:void 0}),i.useDraggableCollection({},S,u);let H=i.DragPreview;V=i.renderDragPreview?o.createElement(H,{ref:R},i.renderDragPreview):null}if(m&&i){k=i.useDroppableCollectionState({collection:c,selectionManager:f});let H=i.dropTargetDelegate||C||new i.ListDropTargetDelegate(c,u,{orientation:s,layout:l,direction:b});M=i.useDroppableCollection({keyboardDelegate:P,dropTargetDelegate:H},k,u),E=k.isDropTarget({type:"root"})}let{focusProps:w,isFocused:I,isFocusVisible:A}=he(),z={isDropTarget:E,isEmpty:d.collection.size===0,isFocused:I,isFocusVisible:A,layout:t.layout||"stack",state:d},K=Z({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:z}),N=null;return d.collection.size===0&&t.renderEmptyState&&(N=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(z))),o.createElement(Yn,null,o.createElement("div",{...U(t),..._(T,w,M==null?void 0:M.collectionProps),...K,ref:u,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":E||void 0,"data-empty":d.collection.size===0||void 0,"data-focused":I||void 0,"data-focus-visible":A||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(fe,{values:[[ka,t],[Wt,d],[kt,{dragAndDropHooks:i,dragState:S,dropState:k}],[W5,{elementType:"div"}],[Gl,{render:Dx}],[a5,{name:"ListBoxSection",render:$x}]]},o.createElement(B,{collection:c,scrollRef:u,persistedKeys:H5(f,i,k),renderDropIndicator:ql(i,k)})),N,V))}function $x(e,t,u,n="react-aria-ListBoxSection"){let r=o.useContext(Wt),{dragAndDropHooks:a,dropState:i}=o.useContext(kt),{CollectionBranch:l}=o.useContext(Pe),[s,d]=ct();var c;let{headingProps:f,groupProps:p}=Rf({heading:d,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),m=Z({defaultClassName:n,className:e.className,style:e.style,values:{}});return o.createElement("section",{...U(e),...p,...m,ref:t},o.createElement(U5.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:r.collection,parent:u,renderDropIndicator:ql(a,i)})))}const gx=iu("item",function(t,u,n){let r=xe(u),a=o.useContext(Wt),{dragAndDropHooks:i,dragState:l,dropState:s}=o.useContext(kt),{optionProps:d,labelProps:c,descriptionProps:f,...p}=If({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},a,r),{hoverProps:m,isHovered:b}=Ce({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),g=null;l&&i&&(g=i.useDraggableItem({key:n.key},l));let $=null;s&&i&&($=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,r));let D=l&&l.isDragging(n.key),y=Z({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...p,isHovered:b,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:D,isDropTarget:$==null?void 0:$.isDropTarget}});o.useEffect(()=>{n.textValue||console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]);let x=t.href?"a":"div";return o.createElement(x,{..._(d,m,g==null?void 0:g.dragProps,$==null?void 0:$.dropProps),...y,ref:r,"data-allows-dragging":!!l||void 0,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":b||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":p.isFocusVisible||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":D||void 0,"data-drop-target":($==null?void 0:$.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},o.createElement(fe,{values:[[qe,{slots:{[uu]:c,label:c,description:f}}]]},y.children))});function Dx(e,t){t=xe(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(kt),{dropIndicatorProps:r,isHidden:a,isDropTarget:i}=u.useDropIndicator(e,n,t);return a?null:o.createElement(yx,{...e,dropIndicatorProps:r,isDropTarget:i,ref:t})}function vx(e,t){let{dropIndicatorProps:u,isDropTarget:n,...r}=e,a=Z({...r,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...u,...a,role:"option",ref:t,"data-drop-target":n||void 0})}const yx=o.forwardRef(vx),Yl=o.createContext({placement:"bottom"}),xx=o.forwardRef(function(t,u){[t,u]=X(t,u,Yl);let n=t.placement,r={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(r[n]="100%");let a=Z({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});return a.style&&Object.keys(a.style).forEach(i=>a.style[i]===void 0&&delete a.style[i]),o.createElement("div",{...t,...a,style:{...r,...a.style},ref:u,"data-placement":n})}),ar=o.createContext(null),Ks=o.createContext(null),Pa=o.forwardRef(function(t,u){[t,u]=X(t,u,ar);let n=o.useContext(on),r=Au(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,i=Xs(u,a.isOpen)||t.isExiting||!1,l=M$(),{direction:s}=pe();if(l){let d=t.children;return typeof d=="function"&&(d=d({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),o.createElement(o.Fragment,null,d)}return a&&!a.isOpen&&!i?null:o.createElement(Cx,{...t,triggerRef:t.triggerRef,state:a,popoverRef:u,isExiting:i,dir:s})});function Cx({state:e,isExiting:t,UNSTABLE_portalContainer:u,...n}){let r=o.useRef(null),[a,i]=o.useState(0),l=o.useRef(null),s=o.useContext(Ks),d=s&&n.trigger==="SubmenuTrigger";Y(()=>{r.current&&e.isOpen&&i(r.current.getBoundingClientRect().width)},[e.isOpen,r]);var c;let{popoverProps:f,underlayProps:p,arrowProps:m,placement:b}=PD({...n,offset:(c=n.offset)!==null&&c!==void 0?c:8,arrowSize:a,groupRef:d?s:l},e),g=n.popoverRef,$=Qs(g,!!b)||n.isEntering||!1,D=Z({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:b,isEntering:$,isExiting:t}}),y=!n.isNonModal||n.trigger==="SubmenuTrigger",[x,C]=o.useState(!1);Y(()=>{g.current&&C(y&&!g.current.querySelector("[role=dialog]"))},[g,y]),o.useEffect(()=>{x&&g.current&&!g.current.contains(document.activeElement)&&ye(g.current)},[x,g]);let B={...f.style,...D.style},P=o.createElement("div",{..._(U(n),f),...D,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],ref:g,slot:n.slot||void 0,style:B,dir:n.dir,"data-trigger":n.trigger,"data-placement":b,"data-entering":$||void 0,"data-exiting":t||void 0},!n.isNonModal&&o.createElement(Wr,{onDismiss:e.close}),o.createElement(Yl.Provider,{value:{...m,placement:b,ref:r}},D.children),o.createElement(Wr,{onDismiss:e.close}));if(!d)return o.createElement(Ri,{...n,shouldContainFocus:x,isExiting:t,portalContainer:u},!n.isNonModal&&e.isOpen&&o.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),o.createElement("div",{ref:l,style:{display:"contents"}},o.createElement(Ks.Provider,{value:l},P)));var T;return o.createElement(Ri,{...n,shouldContainFocus:x,isExiting:t,portalContainer:(T=u??(s==null?void 0:s.current))!==null&&T!==void 0?T:void 0},P)}const Ex=o.createContext({}),G5=o.createContext(null),Jl=o.createContext(null),Ui=o.createContext(null),ea=o.createContext(null);function Bx(e){let t=Hl(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:r}=Ml({...e,type:"menu"},t,u),[a,i]=o.useState(null),l=o.useCallback(()=>{u.current&&i(u.current.offsetWidth+"px")},[u]);Ju({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(fe,{values:[[G5,{...r,ref:s}],[on,t],[Ui,t],[ar,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":a},"aria-labelledby":r["aria-labelledby"]}]]},o.createElement(fd,{...n,ref:u,isPressed:t.isOpen},e.children))}const kx=o.createContext(null),Px=o.forwardRef(function(t,u){return[t,u]=X(t,u,G5),o.createElement(Su,{content:o.createElement(xt,t)},n=>o.createElement(Sx,{props:t,collection:n,menuRef:u}))});function Sx({props:e,collection:t,menuRef:u}){let{filter:n,collectionProps:r,collectionRef:a}=o.useContext(Oi)||{};u=xe(o.useMemo(()=>ku(u,a!==void 0?a:null),[a,u]));let i=o.useMemo(()=>n?t.UNSTABLE_filter(n):t,[t,n]),l=Yy({...e,collection:i,children:void 0}),s=o.useContext(Ui),{isVirtualized:d,CollectionRoot:c}=o.useContext(Pe),{menuProps:f}=jD({...e,...r,isVirtualized:d,onClose:e.onClose||(s==null?void 0:s.close)},l,u),p=Z({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{isEmpty:l.collection.size===0}}),m=null;return l.collection.size===0&&e.renderEmptyState&&(m=o.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState())),o.createElement(Yn,null,o.createElement("div",{...U(e),...f,...p,ref:u,slot:e.slot||void 0,"data-empty":l.collection.size===0||void 0,onScroll:e.onScroll},o.createElement(fe,{values:[[Jl,l],[W5,{elementType:"div"}],[a5,{name:"MenuSection",render:wx}],[kx,{parentMenuRef:u,shouldUseVirtualFocus:r==null?void 0:r.shouldUseVirtualFocus}],[Wi,null],[Oi,null],[ea,l.selectionManager],[Ui,s??Hl({})]]},o.createElement(c,{collection:l.collection,persistedKeys:Wl(l.selectionManager.focusedKey),scrollRef:u})),m))}class Ax extends an{get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,u){return this.parent.setFocusedKey(t,u)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}constructor(t,u){super(t.collection,u),this.parent=t}}function wx(e,t,u,n="react-aria-MenuSection"){var r,a;let i=o.useContext(Jl),{CollectionBranch:l}=o.useContext(Pe),[s,d]=ct();var c;let{headingProps:f,groupProps:p}=OD({heading:d,"aria-label":(c=u.props["aria-label"])!==null&&c!==void 0?c:void 0}),m=Z({defaultClassName:n,className:(r=u.props)===null||r===void 0?void 0:r.className,style:(a=u.props)===null||a===void 0?void 0:a.style,values:{}}),b=o.useContext(ea),g=ur(e),$=e.selectionMode!=null?new Ax(b,g):b;return o.createElement("section",{...U(e),...p,...m,ref:t},o.createElement(fe,{values:[[U5,{...f,ref:s}],[ea,$]]},o.createElement(l,{collection:i.collection,parent:u})))}const Wi=o.createContext(null),Fx=iu("item",function(t,u,n){var r;[t,u]=X(t,u,Wi);let a=(r=Ze(Wi))===null||r===void 0?void 0:r.id,i=o.useContext(Jl),l=xe(u),s=o.useContext(ea),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...m}=LD({...t,id:a,key:n.key,selectionManager:s},i,l),{hoverProps:b,isHovered:g}=Ce({isDisabled:m.isDisabled}),$=Z({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...m,isHovered:g,isFocusVisible:m.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),D=t.href?"a":"div";return o.createElement(D,{..._(d,b),...$,ref:l,"data-disabled":m.isDisabled||void 0,"data-hovered":g||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":m.isFocusVisible||void 0,"data-pressed":m.isPressed||void 0,"data-selected":m.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},o.createElement(fe,{values:[[qe,{slots:{[uu]:c,label:c,description:f}}],[Ex,p]]},$.children))}),Ql=o.createContext(null),on=o.createContext(null),q5=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=X(t,u,Ql);let{dialogProps:r,titleProps:a}=e1({...t,"aria-labelledby":n},u),i=o.useContext(on);!r["aria-label"]&&!r["aria-labelledby"]&&(t["aria-labelledby"]?r["aria-labelledby"]=t["aria-labelledby"]:console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));let l=Z({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(i==null?void 0:i.close)||(()=>{})}});return o.createElement("section",{...U(t),...r,...l,ref:u,slot:t.slot||void 0},o.createElement(fe,{values:[[aa,{slots:{[uu]:{},title:{...a,level:2}}}],[pt,{slots:{[uu]:{},close:{onPress:()=>i==null?void 0:i.close()}}}]]},l.children))}),Tx=o.createContext(null),Ix=o.createContext(null),Rx=o.forwardRef(function(t,u){[t,u]=X(t,u,Tx);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>{var s;return o.createElement(ka.Provider,{value:{items:(s=t.items)!==null&&s!==void 0?s:t.defaultItems}},typeof n=="function"?n({isOpen:!1,isDisabled:r,isInvalid:a,isRequired:i,defaultChildren:null}):n)},[n,r,a,i,t.items,t.defaultItems]);return o.createElement(Su,{content:l},s=>o.createElement(Kx,{props:t,collection:s,comboBoxRef:u}))});function Kx({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:r="key",allowsCustomValue:a}=e;a&&(r="text");let{validationBehavior:i}=Ze(su)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:i)!==null&&s!==void 0?s:"native",{contains:c}=Ac({sensitivity:"base"}),f=vy({defaultFilter:e.defaultFilter||c,...e,items:e.items,children:void 0,collection:t,validationBehavior:d}),p=o.useRef(null),m=o.useRef(null),b=o.useRef(null),g=o.useRef(null),[$,D]=ct(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:y,inputProps:x,listBoxProps:C,labelProps:B,descriptionProps:P,errorMessageProps:T,...v}=UD({...Nt(e),label:D,inputRef:m,buttonRef:p,listBoxRef:b,popoverRef:g,name:r==="text"?n:void 0,validationBehavior:d},f),[F,S]=o.useState(null),k=o.useCallback(()=>{if(m.current){var w;let I=(w=p.current)===null||w===void 0?void 0:w.getBoundingClientRect(),A=m.current.getBoundingClientRect(),z=I?Math.min(I.left,A.left):A.left,K=I?Math.max(I.right,A.right):A.right;S(K-z+"px")}},[p,m,S]);Ju({ref:m,onResize:k});let M=o.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:v.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,v.isInvalid,e.isRequired]),E=Z({...e,values:M,defaultClassName:"react-aria-ComboBox"}),V=U(e);delete V.id;var R;return o.createElement(fe,{values:[[Ix,f],[Et,{...B,ref:$}],[pt,{...y,ref:p,isPressed:f.isOpen}],[Xu,{...x,ref:m}],[on,f],[ar,{ref:g,triggerRef:m,scrollRef:b,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":F}}],[ka,{...C,ref:b}],[Wt,f],[qe,{slots:{description:P,errorMessage:T}}],[ln,{isInvalid:v.isInvalid,isDisabled:e.isDisabled||!1}],[Ut,v]]},o.createElement("div",{...V,...E,ref:u,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":v.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&r==="key"&&o.createElement("input",{type:"hidden",name:n,value:(R=f.selectedKey)!==null&&R!==void 0?R:""}))}const Sa=o.createContext(null),ir=o.createContext(null),Xl=o.createContext(null),Mx=o.forwardRef(function(t,u){[t,u]=X(t,u,Sa);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",{locale:l}=pe(),s=Qh({...t,locale:l,createCalendar:ma,validationBehavior:i}),d=o.useRef(null),[c,f]=ct(!t["aria-label"]&&!t["aria-labelledby"]),p=o.useRef(null),{labelProps:m,fieldProps:b,inputProps:g,descriptionProps:$,errorMessageProps:D,...y}=Xp({...Nt(t),label:f,inputRef:p,validationBehavior:i},s,d),x=Z({...Nt(t),values:{state:s,isInvalid:s.isInvalid,isDisabled:s.isDisabled},defaultClassName:"react-aria-DateField"}),C=U(t);return delete C.id,o.createElement(fe,{values:[[ir,s],[ln,{...b,ref:d,isInvalid:s.isInvalid}],[Xu,{...g,ref:p}],[Et,{...m,ref:c,elementType:"span"}],[qe,{slots:{description:$,errorMessage:D}}],[Ut,y]]},o.createElement("div",{...C,...x,ref:u,slot:t.slot||void 0,"data-invalid":s.isInvalid||void 0}))}),ta=o.forwardRef(function(t,u){let n=o.useContext(ir),r=o.useContext(Xl);return n||r?o.createElement(Y5,{...t,ref:u}):o.createElement(zx,{...t,ref:u})}),zx=o.forwardRef((e,t)=>{let[u,n]=X({slot:e.slot},t,Sa),{locale:r}=pe(),a=Qh({...u,locale:r,createCalendar:ma}),i=o.useRef(null),{fieldProps:l,inputProps:s}=Xp({...u,inputRef:i},a,n);return o.createElement(fe,{values:[[ir,a],[Xu,{...s,ref:i}],[ln,{...l,ref:n,isInvalid:a.isInvalid}]]},o.createElement(Y5,e))}),Y5=o.forwardRef((e,t)=>{let{className:u,children:n}=e,r=o.useContext(ir),a=o.useContext(Xl),i=r??a;return o.createElement(o.Fragment,null,o.createElement(nr,{...e,ref:t,slot:e.slot||void 0,className:u??"react-aria-DateInput",isInvalid:i.isInvalid},i.segments.map((l,s)=>o.cloneElement(n(l),{key:s}))),o.createElement(ya,null))}),ua=o.forwardRef(function({segment:t,...u},n){let r=o.useContext(ir),a=o.useContext(Xl),i=r??a,l=xe(n),{segmentProps:s}=QD(t,i,l),{focusProps:d,isFocused:c,isFocusVisible:f}=he(),{hoverProps:p,isHovered:m}=Ce({...u,isDisabled:i.isDisabled||t.type==="literal"}),b=Z({...u,values:{...t,isReadOnly:!t.isEditable,isInvalid:i.isInvalid,isDisabled:i.isDisabled,isHovered:m,isFocused:c,isFocusVisible:f},defaultChildren:t.text,defaultClassName:"react-aria-DateSegment"});return o.createElement("span",{..._(U(u),s,d,p),...b,style:s.style,ref:l,"data-placeholder":t.isPlaceholder||void 0,"data-invalid":i.isInvalid||void 0,"data-readonly":!t.isEditable||void 0,"data-disabled":i.isDisabled||void 0,"data-type":t.type,"data-hovered":m||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0})}),Nx=o.createContext(null),Vx=o.createContext(null),_x=o.createContext(null),jx=o.createContext(null),Lx=o.forwardRef(function(t,u){[t,u]=X(t,u,Nx);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=ky({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:f,labelProps:p,fieldProps:m,buttonProps:b,dialogProps:g,calendarProps:$,descriptionProps:D,errorMessageProps:y,...x}=GD({...Nt(t),label:c,validationBehavior:i},l,s),[C,B]=o.useState(null),P=o.useCallback(()=>{s.current&&B(s.current.offsetWidth+"px")},[]);Ju({ref:s,onResize:P});let{focusProps:T,isFocused:v,isFocusVisible:F}=he({within:!0}),S=Z({...t,values:{state:l,isFocusWithin:v,isFocusVisible:F,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DatePicker"}),k=U(t);return delete k.id,o.createElement(fe,{values:[[_x,l],[ln,{...f,ref:s,isInvalid:l.isInvalid}],[Sa,m],[pt,{...b,isPressed:l.isOpen}],[Et,{...p,ref:d,elementType:"span"}],[Qr,$],[on,l],[ar,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":C}}],[Ql,g],[qe,{slots:{description:D,errorMessage:y}}],[Ut,x]]},o.createElement("div",{...T,...k,...S,ref:u,slot:t.slot||void 0,"data-focus-within":v||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":F||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),Ox=o.forwardRef(function(t,u){[t,u]=X(t,u,Vx);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Iy({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:f,labelProps:p,startFieldProps:m,endFieldProps:b,buttonProps:g,dialogProps:$,calendarProps:D,descriptionProps:y,errorMessageProps:x,...C}=tv({...Nt(t),label:c,validationBehavior:i},l,s),[B,P]=o.useState(null),T=o.useCallback(()=>{s.current&&P(s.current.offsetWidth+"px")},[]);Ju({ref:s,onResize:T});let{focusProps:v,isFocused:F,isFocusVisible:S}=he({within:!0}),k=Z({...t,values:{state:l,isFocusWithin:F,isFocusVisible:S,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DateRangePicker"}),M=U(t);return delete M.id,o.createElement(fe,{values:[[jx,l],[ln,{...f,ref:s,isInvalid:l.isInvalid}],[pt,{...g,isPressed:l.isOpen}],[Et,{...p,ref:d,elementType:"span"}],[Xr,D],[on,l],[ar,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":B}}],[Ql,$],[Sa,{slots:{start:m,end:b}}],[qe,{slots:{description:y,errorMessage:x}}],[Ut,C]]},o.createElement("div",{...v,...M,...k,ref:u,slot:t.slot||void 0,"data-focus-within":F||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":S||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),J5=o.createContext(null),Hx=o.forwardRef(function(t,u){let n=Ky(t),r=Z({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),a=U(t);return o.createElement("div",{...a,...r,ref:u,"data-disabled":t.isDisabled||void 0},o.createElement(J5.Provider,{value:n},r.children))}),Ux=o.createContext(null),Wx=o.createContext(null),Q5=o.createContext(null),Zx=o.forwardRef(function(t,u){[t,u]=X(t,u,Ux);let n=o.useContext(J5),{id:r,...a}=t,i=oe();r||(r=i);let l=n?n.expandedKeys.has(r):t.isExpanded,s=Ry({...t,isExpanded:l,onExpandedChange(D){var y;n&&n.toggleKey(r),(y=t.onExpandedChange)===null||y===void 0||y.call(t,D)}}),d=o.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:p}=uv({...t,isExpanded:l,isDisabled:c},s,d),{isFocusVisible:m,focusProps:b}=he({within:!0}),g=Z({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:s.isExpanded,isDisabled:c,isFocusVisibleWithin:m,state:s}}),$=U(a);return o.createElement(fe,{values:[[pt,{slots:{[uu]:{},trigger:f}}],[Q5,{panelProps:p,panelRef:d}],[Wx,s]]},o.createElement("div",{ref:u,"data-expanded":s.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":m||void 0,...$,...b,...g},g.children))}),Gx=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:r,panelRef:a}=o.useContext(Q5),{isFocusVisible:i,focusProps:l}=he({within:!0}),s=Z({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:i}}),d=U(t);return o.createElement("div",{...d,ref:ku(u,a),..._(r,l),...s,role:n,"data-focus-visible-within":i||void 0},o.createElement(fe,{values:[[pt,null]]},t.children))});function qx(e){return e&&e.__esModule?e.default:e}const Yx=o.createContext(null),Jx=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=X(t,u,Yx);let r=xe(u),a=o.useRef(null),{dropProps:i,dropButtonProps:l,isDropTarget:s}=gv({...t,ref:a,hasDropButton:!0}),{buttonProps:d}=El(l||{},a),{hoverProps:c,isHovered:f}=Ce(t),{focusProps:p,isFocused:m,isFocusVisible:b}=he(),g=De(qx(O5),"react-aria-components"),$=it(),D=t["aria-label"]||g.format("dropzoneLabel"),y=t["aria-labelledby"],x=[$,y].filter(Boolean).join(" "),C=Dt({"aria-label":D,"aria-labelledby":x}),{clipboardProps:B}=Dv({isDisabled:n,onPaste:v=>{var F;return(F=t.onDrop)===null||F===void 0?void 0:F.call(t,{type:"drop",items:v,x:0,y:0,dropOperation:"copy"})}}),P=Z({...t,values:{isHovered:f,isFocused:m,isFocusVisible:b,isDropTarget:s,isDisabled:n},defaultClassName:"react-aria-DropZone"}),T=U(t);return delete T.id,o.createElement(fe,{values:[[qe,{id:$,slot:"label"}]]},o.createElement("div",{..._(i,c,T),...P,slot:t.slot||void 0,ref:r,onClick:v=>{var F;let S=v.target;for(;S&&(!((F=r.current)===null||F===void 0)&&F.contains(S))&&!rl(S);){if(S===r.current){var k;(k=a.current)===null||k===void 0||k.focus();break}S=S.parentElement}},"data-hovered":f||void 0,"data-focused":m||void 0,"data-focus-visible":b||void 0,"data-drop-target":s||void 0,"data-disabled":n||void 0},o.createElement(ru,null,o.createElement("button",{..._(d,p,B,C),ref:a})),P.children))}),Qx=o.forwardRef(function(t,u){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:a,defaultCamera:i,children:l,acceptDirectory:s,...d}=t,c=xe(u),f=U(d);return o.createElement(o.Fragment,null,o.createElement(fd,{onPress:()=>{var p,m;!((p=c.current)===null||p===void 0)&&p.value&&(c.current.value=""),(m=c.current)===null||m===void 0||m.click()}},l),o.createElement(ya,{...f,type:"file",ref:c,style:{display:"none"},accept:r==null?void 0:r.toString(),onChange:p=>n==null?void 0:n(p.target.files),capture:i,multiple:a,webkitdirectory:s?"":void 0}))}),Aa=o.forwardRef(function(t,u){[t,u]=X(t,u,aa);let{children:n,level:r=3,className:a,...i}=t,l=`h${r}`;return o.createElement(l,{...i,ref:u,className:a??"react-aria-Heading"},n)}),Xx=o.createContext(null),e7=o.createContext(null),X5=o.createContext(null),t7=o.forwardRef(function(t,u){[t,u]=X(t,u,Xx);let{validationBehavior:n}=Ze(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Ny({...t,validationBehavior:i}),[s,d]=ct(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=zv({...t,label:d,validationBehavior:i},l),g=Z({...t,values:{orientation:t.orientation||"vertical",isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:l.isRequired,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-RadioGroup"});return o.createElement("div",{...c,...g,ref:u,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":l.isInvalid||void 0,"data-disabled":l.isDisabled||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":l.isRequired||void 0},o.createElement(fe,{values:[[X5,l],[Et,{...f,ref:s,elementType:"span"}],[qe,{slots:{description:p,errorMessage:m}}],[Ut,b]]},g.children))}),u7=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=X(r,u,e7);let a=o.useContext(X5),i=xe(ku(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=Mv({...Nt(t),children:typeof t.children=="function"?!0:t.children},a,i),{isFocused:p,isFocusVisible:m,focusProps:b}=he(),g=c||a.isReadOnly,{hoverProps:$,isHovered:D}=Ce({...t,isDisabled:g}),y=Z({...t,defaultClassName:"react-aria-Radio",values:{isSelected:d,isPressed:f,isHovered:D,isFocused:p,isFocusVisible:m,isDisabled:c,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),x=U(t);return delete x.id,o.createElement("label",{..._(x,l,$,y),ref:u,"data-selected":d||void 0,"data-pressed":f||void 0,"data-hovered":D||void 0,"data-focused":p||void 0,"data-focus-visible":m||void 0,"data-disabled":c||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},o.createElement(ru,{elementType:"span"},o.createElement("input",{..._(s,b),ref:i})),y.children)});class n7 extends sa{addNode(t){super.addNode(t),this.columnsDirty||(this.columnsDirty=t.type==="column"),t.type==="tableheader"&&(this.head=t),t.type==="tablebody"&&(this.body=t)}commit(t,u,n=!1){this.updateColumns(n),this.rows=[];for(let i of this.getChildren(this.body.key)){let l=i.lastChildKey;if(l!=null){let s=this.getItem(l);var r,a;let d=((r=s.colIndex)!==null&&r!==void 0?r:s.index)+((a=s.colSpan)!==null&&a!==void 0?a:1);if(d!==this.columns.length&&!n)throw new Error(`Cell count must match column count. Found ${d} cells and ${this.columns.length} columns.`)}this.rows.push(i)}super.commit(t,u,n)}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let u=new Map,n=r=>{switch(r.type){case"column":u.set(r.key,r),r.hasChildNodes||(r.index=this.columns.length,this.columns.push(r),r.props.isRowHeader&&this.rowHeaderColumnKeys.add(r.key));break}for(let a of this.getChildren(r.key))n(a)};for(let r of this.getChildren(this.head.key))n(r);if(this.headerRows=e5(u,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!t)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){this.head.key!==-1&&(yield this.head,yield this.body)}get size(){return this.rows.length}getFirstKey(){return this.body.firstChildKey}getLastKey(){return this.body.lastChildKey}getKeyAfter(t){let u=this.getItem(t);var n;return(u==null?void 0:u.type)==="column"?(n=u.nextKey)!==null&&n!==void 0?n:null:super.getKeyAfter(t)}getKeyBefore(t){var u;let n=this.getItem(t);var r;if((n==null?void 0:n.type)==="column")return(r=n.prevKey)!==null&&r!==void 0?r:null;let a=super.getKeyBefore(t);return a!=null&&((u=this.getItem(a))===null||u===void 0?void 0:u.type)==="tablebody"?null:a}getChildren(t){if(!this.getItem(t)){for(let u of this.headerRows)if(u.key===t)return u.childNodes}return super.getChildren(t)}clone(){let t=super.clone();return t.headerRows=this.headerRows,t.columns=this.columns,t.rowHeaderColumnKeys=this.rowHeaderColumnKeys,t.head=this.head,t.body=this.body,t}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys,r=[];for(let a of this.getChildren(t)){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}constructor(...t){super(...t),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new Fn("tableheader",-1),this.body=new Fn("tablebody",-2),this.columnsDirty=!0}}const r7=o.createContext(null),a7=o.createContext(null),Pt=o.createContext(null),e2=o.createContext(null),i7=o.forwardRef(function(t,u){var n;[t,u]=X(t,u,a7);let r=ur(t),{selectionBehavior:a,selectionMode:i,disallowEmptySelection:l}=r,s=!!(!((n=t.dragAndDropHooks)===null||n===void 0)&&n.useDraggableCollectionState),d=o.useMemo(()=>({selectionBehavior:i==="none"?null:a,selectionMode:i,disallowEmptySelection:l,allowsDragging:s}),[a,i,l,s]),c=o.createElement(t2.Provider,{value:d},o.createElement(xt,t));return o.createElement(Su,{content:c,createCollection:()=>new n7},f=>o.createElement(l7,{props:t,forwardedRef:u,selectionState:r,collection:f}))});function l7({props:e,forwardedRef:t,selectionState:u,collection:n}){let r=o.useContext(r7);t=xe(o.useMemo(()=>ku(t,r==null?void 0:r.tableRef),[t,r==null?void 0:r.tableRef]));let a=Hy({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:i,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext(Pe),{dragAndDropHooks:c}=e,{gridProps:f}=Ov({...e,layoutDelegate:l,isVirtualized:i},a,t),p=a.selectionManager,m=!!(c!=null&&c.useDraggableCollectionState),b=!!(c!=null&&c.useDroppableCollectionState),g=o.useRef(m),$=o.useRef(b);o.useEffect(()=>{g.current!==m&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),$.current!==b&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[m,b]);let D,y,x,C=!1,B=null,P=o.useRef(null);if(m&&c){D=c.useDraggableCollectionState({collection:n,selectionManager:p,preview:c.renderDragPreview?P:void 0}),c.useDraggableCollection({},D,t);let w=c.DragPreview;B=c.renderDragPreview?o.createElement(w,{ref:P},c.renderDragPreview):null}if(b&&c){y=c.useDroppableCollectionState({collection:n,selectionManager:p});let w=new nn({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),I=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);x=c.useDroppableCollection({keyboardDelegate:w,dropTargetDelegate:I},y,t),C=y.isDropTarget({type:"root"})}let{focusProps:T,isFocused:v,isFocusVisible:F}=he(),S=Z({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:C,isFocused:v,isFocusVisible:F,state:a}}),k=!!(m&&!(D!=null&&D.isDisabled)),M=S.style,E=null;r&&(E=r.useTableColumnResizeState({tableWidth:r.tableWidth},a),i||(M={...M,tableLayout:"fixed",width:"fit-content"}));let V=je("table");var R;return o.createElement(fe,{values:[[Pt,a],[e2,E],[kt,{dragAndDropHooks:c,dragState:D,dropState:y}],[Gl,{render:b7}]]},o.createElement(Yn,null,o.createElement(V,{...U(e),...S,..._(f,T,x==null?void 0:x.collectionProps),style:M,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":k||void 0,"data-drop-target":C||void 0,"data-focused":v||void 0,"data-focus-visible":F||void 0},o.createElement(d,{collection:n,scrollRef:(R=r==null?void 0:r.scrollRef)!==null&&R!==void 0?R:t,persistedKeys:H5(p,c,y)}))),B)}function je(e){let{isVirtualized:t}=o.useContext(Pe);return t?"div":e}const t2=o.createContext(null);function u2(){return o.useContext(t2)}const o7=sl("tableheader",(e,t)=>{let u=o.useContext(Pt).collection,n=al({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(s7,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),r=je("thead"),{rowGroupProps:a}=H0(),{hoverProps:i,isHovered:l}=Ce({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=Z({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(r,{..._(U(e),a,i),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(xt,{dependencies:e.dependencies,items:e.columns},e.children));function s7({item:e}){let t=o.useRef(null),u=o.useContext(Pt),{isVirtualized:n,CollectionBranch:r}=o.useContext(Pe),{rowProps:a}=Zv({node:e,isVirtualized:n},u,t),{checkboxProps:i}=Jv(u),l=je("tr");return o.createElement(l,{...a,ref:t},o.createElement(fe,{values:[[Ji,{slots:{selection:i}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const d7=iu("column",(e,t,u)=>{var n,r;let a=xe(t),i=o.useContext(Pt),{isVirtualized:l}=o.useContext(Pe),{columnHeaderProps:s}=Uv({node:u,isVirtualized:l},i,a),{isFocused:d,isFocusVisible:c,focusProps:f}=he(),p=o.useContext(e2),m=!1;if(p)m=p.resizingColumn===u.key;else for(let x in["width","defaultWidth","minWidth","maxWidth"])x in u.props&&console.warn(`The ${x} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);let{hoverProps:b,isHovered:g}=Ce({isDisabled:!e.allowsSorting}),$=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Column",values:{isHovered:g,isFocused:d,isFocusVisible:c,allowsSorting:u.props.allowsSorting,sortDirection:((n=i.sortDescriptor)===null||n===void 0?void 0:n.column)===u.key?i.sortDescriptor.direction:void 0,isResizing:m,startResize:()=>{if(p)p.startResize(u.key),i.setKeyboardNavigationDisabled(!0);else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing")},sort:x=>{i.sort(u.key,x)}}}),D=$.style;p&&(D={...D,width:p.getColumnWidth(u.key)});let y=je("th");return o.createElement(y,{..._(U(e),s,f,b),...$,style:D,ref:a,"data-hovered":g||void 0,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-resizing":m||void 0,"data-allows-sorting":u.props.allowsSorting||void 0,"data-sort-direction":((r=i.sortDescriptor)===null||r===void 0?void 0:r.column)===u.key?i.sortDescriptor.direction:void 0},o.createElement(fe,{values:[[c7,{column:u,triggerRef:a}],[Pe,rr]]},$.children))}),c7=o.createContext(null),f7=sl("tablebody",(e,t)=>{let u=o.useContext(Pt),{isVirtualized:n}=o.useContext(Pe),r=u.collection,{CollectionBranch:a}=o.useContext(Pe),{dragAndDropHooks:i,dropState:l}=o.useContext(kt),s=!!(i!=null&&i.useDroppableCollectionState)&&!(l!=null&&l.isDisabled);var d;let f={isDropTarget:s&&!!l&&((d=l.isDropTarget({type:"root"}))!==null&&d!==void 0?d:!1),isEmpty:r.size===0},p=Z({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,b=je("tr"),g=je("td"),$=r.columnCount;if(r.size===0&&e.renderEmptyState&&u){let x={},C={},B={};n?(x["aria-rowindex"]=r.headerRows.length+1,C["aria-colspan"]=$,B={display:"contents"}):C.colSpan=$,m=o.createElement(b,{role:"row",...x,style:B},o.createElement(g,{role:"rowheader",...C,style:B},e.renderEmptyState(f)))}let{rowGroupProps:D}=H0(),y=je("tbody");return o.createElement(y,{..._(U(e),D),...p,ref:t,"data-empty":r.size===0||void 0},s&&o.createElement(g7,null),o.createElement(a,{collection:r,parent:r.body,renderDropIndicator:ql(i,l)}),m)}),p7=sl("item",(e,t,u)=>{let n=xe(t),r=o.useContext(Pt),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(kt),{isVirtualized:s,CollectionBranch:d}=o.useContext(Pe),{rowProps:c,...f}=Wv({node:u,shouldSelectOnPressUp:!!i,isVirtualized:s},r,n),{isFocused:p,isFocusVisible:m,focusProps:b}=he(),{isFocusVisible:g,focusProps:$}=he({within:!0}),{hoverProps:D,isHovered:y}=Ce({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:x}=Yv({key:u.key},r),C;i&&a&&(C=a.useDraggableItem({key:u.key,hasDragButton:!0},i));let B,P=o.useRef(null),{visuallyHiddenProps:T}=Xn();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,P));let v=o.useRef(null);o.useEffect(()=>{i&&!v.current&&console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]);let F=i&&i.isDragging(u.key),{children:S,...k}=e,M=Z({...k,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:y,isFocused:p,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:F,isDropTarget:B==null?void 0:B.isDropTarget,isFocusVisibleWithin:g,id:u.key}}),E=je("tr"),V=je("td");return o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement(E,{role:"row",style:{height:0}},o.createElement(V,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...T,...B.dropIndicatorProps,ref:P}))),o.createElement(E,{..._(U(e),c,b,D,C==null?void 0:C.dragProps,$),...M,ref:n,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":y||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":F||void 0,"data-drop-target":(B==null?void 0:B.isDropTarget)||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode,"data-focus-visible-within":g||void 0},o.createElement(fe,{values:[[Ji,{slots:{[uu]:{},selection:x}}],[pt,{slots:{[uu]:{},drag:{...C==null?void 0:C.dragButtonProps,ref:v,style:{pointerEvents:"none"}}}}]]},o.createElement(d,{collection:r.collection,parent:u}))))},e=>{if(e.id==null&&typeof e.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t=[e.value].concat(e.dependencies);return o.createElement(xt,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),m7=iu("cell",(e,t,u)=>{let n=xe(t),r=o.useContext(Pt),{dragState:a}=o.useContext(kt),{isVirtualized:i}=o.useContext(Pe);u.column=r.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=Gv({node:u,shouldSelectOnPressUp:!!a,isVirtualized:i},r,n),{isFocused:d,isFocusVisible:c,focusProps:f}=he(),{hoverProps:p,isHovered:m}=Ce({}),b=Z({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:m,id:u.key}}),g=je("td");return o.createElement(g,{..._(U(e),l,f,p),...b,ref:n,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-pressed":s||void 0},o.createElement(Pe.Provider,{value:rr},b.children))});function b7(e,t){t=xe(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(kt),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement($7,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function h7(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,i=o.useContext(Pt),{visuallyHiddenProps:l}=Xn(),s=Z({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=je("tr"),c=je("td");return o.createElement(d,{...U(e),...s,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement(c,{role:"gridcell",colSpan:i.collection.columnCount,style:{padding:0}},o.createElement("div",{...l,role:"button",...u,ref:r}),s.children))}const $7=o.forwardRef(h7);function g7(){let e=o.useContext(Pt),{dragAndDropHooks:t,dropState:u}=o.useContext(kt),n=o.useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},u,n),a=u.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=Xn(),l=je("tr"),s=je("td");return!a&&r["aria-hidden"]?null:o.createElement(l,{role:"row","aria-hidden":r["aria-hidden"],style:{height:0}},o.createElement(s,{role:"gridcell",colSpan:e.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...i,...r,ref:n})))}iu("loader",function(t,u,n){let r=o.useContext(Pt),{isVirtualized:a}=o.useContext(Pe),i=r.collection.columns.length,l=Z({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),s=je("tr"),d=je("td"),c={},f={},p={};return a?(c["aria-rowindex"]=r.collection.headerRows.length+r.collection.size,f["aria-colspan"]=i,p={display:"contents"}):f.colSpan=i,o.createElement(o.Fragment,null,o.createElement(s,{role:"row",ref:u,..._(U(t),c),...l},o.createElement(d,{role:"rowheader",...f,style:p},l.children)))});const wa=o.createContext(null),en=o.createContext(null),D7=o.forwardRef(function(t,u){[t,u]=X(t,u,wa);let{children:n,orientation:r="horizontal"}=t;return n=o.useMemo(()=>typeof n=="function"?n({orientation:r,defaultChildren:null}):n,[n,r]),o.createElement(Su,{content:n},a=>o.createElement(v7,{props:t,collection:a,tabsRef:u}))});function v7({props:e,tabsRef:t,collection:u}){let{orientation:n="horizontal"}=e,r=Uy({...e,collection:u,children:void 0}),{focusProps:a,isFocused:i,isFocusVisible:l}=he({within:!0}),s=o.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:l}),[n,i,l]),d=Z({...e,defaultClassName:"react-aria-Tabs",values:s});return o.createElement("div",{...U(e),...a,...d,ref:t,slot:e.slot||void 0,"data-focused":i||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":r.isDisabled||void 0},o.createElement(fe,{values:[[wa,e],[en,r]]},d.children))}const y7=o.forwardRef(function(t,u){return o.useContext(en)?o.createElement(x7,{props:t,forwardedRef:u}):o.createElement(xt,t)});function x7({props:e,forwardedRef:t}){let u=o.useContext(en),{CollectionRoot:n}=o.useContext(Pe),{orientation:r="horizontal",keyboardActivation:a="automatic"}=Ze(wa),i=xe(t),{tabListProps:l}=ty({...e,orientation:r,keyboardActivation:a},u,i),s=Z({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:r,state:u}}),d=U(e);return delete d.id,o.createElement("div",{...d,...l,ref:i,...s,"data-orientation":r||void 0},o.createElement(n,{collection:u.collection,persistedKeys:Wl(u.selectionManager.focusedKey)}))}const C7=iu("item",(e,t,u)=>{let n=o.useContext(en),r=xe(t),{tabProps:a,isSelected:i,isDisabled:l,isPressed:s}=Qv({key:u.key,...e},n,r),{focusProps:d,isFocused:c,isFocusVisible:f}=he(),{hoverProps:p,isHovered:m}=Ce({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),b=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:i,isDisabled:l,isFocused:c,isFocusVisible:f,isPressed:s,isHovered:m}}),g=u.props.href?"a":"div";return o.createElement(g,{..._(a,d,p,b),ref:r,"data-selected":i||void 0,"data-disabled":l||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0,"data-pressed":s||void 0,"data-hovered":m||void 0},b.children)}),E7=Wn(function(t,u){const n=o.useContext(en);let r=xe(u),{tabPanelProps:a}=Xv(t,n,r),{focusProps:i,isFocused:l,isFocusVisible:s}=he(),d=n.selectedKey===t.id,c=Z({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,isFocusVisible:s,isInert:!d,state:n}});if(!d&&!t.shouldForceMount)return null;let f=U(t);delete f.id;let p=d?_(f,a,i,c):c;return o.createElement("div",{...p,ref:r,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:S$(!d),"data-inert":d?void 0:"true"},o.createElement(fe,{values:[[wa,null],[en,null]]},o.createElement(Pe.Provider,{value:rr},c.children)))}),B7=o.createContext(null),n2=o.createContext(null),k7=o.forwardRef(function(t,u){return[t,u]=X(t,u,B7),o.createElement(Su,{content:t.children},n=>o.createElement(P7,{props:t,forwardedRef:u,collection:n}))});function P7({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[r,a]=ct(!e["aria-label"]&&!e["aria-labelledby"]),i=xa({...e,children:void 0,collection:u}),l=U(e),s=Object.fromEntries(Object.entries(l).map(([b])=>[b,void 0])),{gridProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p}=uy({...e,...s,label:a},i,n);var m;return o.createElement("div",{...l,ref:t,slot:e.slot||void 0,className:(m=e.className)!==null&&m!==void 0?m:"react-aria-TagGroup",style:e.style},o.createElement(fe,{values:[[Et,{...c,elementType:"span",ref:r}],[n2,{...d,ref:n}],[Wt,i],[qe,{slots:{description:f,errorMessage:p}}]]},e.children))}const r2=o.forwardRef(function(t,u){return o.useContext(Wt)?o.createElement(S7,{props:t,forwardedRef:u}):o.createElement(xt,t)});function S7({props:e,forwardedRef:t}){let u=o.useContext(Wt),{CollectionRoot:n}=o.useContext(Pe),[r,a]=X(e,t,n2);delete r.items,delete r.renderEmptyState;let{focusProps:i,isFocused:l,isFocusVisible:s}=he(),d={isEmpty:u.collection.size===0,isFocused:l,isFocusVisible:s,state:u},c=Z({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:d}),f=Wl(u.selectionManager.focusedKey);return o.createElement("div",{..._(r,i),...c,ref:a,"data-empty":u.collection.size===0||void 0,"data-focused":l||void 0,"data-focus-visible":s||void 0},u.collection.size===0&&e.renderEmptyState?e.renderEmptyState(d):o.createElement(n,{collection:u.collection,persistedKeys:f}))}const A7=iu("item",(e,t,u)=>{let n=o.useContext(Wt),r=xe(t),{focusProps:a,isFocusVisible:i}=he({within:!0}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=ry({item:u},n,r),{hoverProps:f,isHovered:p}=Ce({isDisabled:!c.allowsSelection,onHoverStart:u.props.onHoverStart,onHoverChange:u.props.onHoverChange,onHoverEnd:u.props.onHoverEnd}),m=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tag",values:{...c,isFocusVisible:i,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior}});return o.useEffect(()=>{u.textValue||console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.")},[u.textValue]),o.createElement("div",{ref:r,...m,..._(U(e),l,a,f),"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":i||void 0,"data-pressed":c.isPressed||void 0,"data-allows-removing":c.allowsRemoving||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},o.createElement("div",{...s,style:{display:"contents"}},o.createElement(fe,{values:[[pt,{slots:{remove:d}}],[Pe,rr]]},m.children)))}),eo=o.createContext(null),a2=o.createContext(null);function w7(e){let t=n5(e),u=o.useRef(null),{triggerProps:n,tooltipProps:r}=dy(e,t,u);return o.createElement(fe,{values:[[eo,t],[a2,{...r,triggerRef:u}]]},o.createElement(e6,{...n,ref:u},e.children))}const F7=o.forwardRef(function({UNSTABLE_portalContainer:t,...u},n){[u,n]=X(u,n,a2);let r=o.useContext(eo),a=n5(u),i=u.isOpen!=null||u.defaultOpen!=null||!r?a:r,l=Xs(n,i.isOpen)||u.isExiting||!1;return!i.isOpen&&!l?null:o.createElement(L3,{portalContainer:t},o.createElement(T7,{...u,tooltipRef:n,isExiting:l}))});function T7(e){let t=o.useContext(eo),u=o.useRef(null),[n,r]=o.useState(0);Y(()=>{u.current&&t.isOpen&&r(u.current.getBoundingClientRect().width)},[t.isOpen,u]);let{overlayProps:a,arrowProps:i,placement:l}=wl({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowSize:n,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,onClose:()=>t.close(!0)}),s=Qs(e.tooltipRef,!!l)||e.isEntering||!1,d=Z({...e,defaultClassName:"react-aria-Tooltip",values:{placement:l,isEntering:s,isExiting:e.isExiting,state:t}});e=_(e,a);let{tooltipProps:c}=sy(e,t);return o.createElement("div",{...c,ref:e.tooltipRef,...d,style:{...a.style,...d.style},"data-placement":l??void 0,"data-entering":s||void 0,"data-exiting":e.isExiting||void 0},o.createElement(Yl.Provider,{value:{...i,placement:l,ref:u}},d.children))}const I7="accordion",R7=({variant:e="uncontained",type:t="single",children:u,className:n,...r})=>h.jsx(Hx,{"data-testid":I7,allowsMultipleExpanded:t==="multiple",className:W(tt.root,e==="contained"?tt.contained:tt.uncontained,n),...r,children:u}),K7='"../theme/tokens.css"',M7="_button_ayu5e_4",z7="_secondary_ayu5e_47",N7="_tertiary_ayu5e_70",V7="_iconBtn_ayu5e_91",_7="_danger_ayu5e_112",j7="_iconRight_ayu5e_134",L7="_fullwidth_ayu5e_138",O7="_small_ayu5e_142",H7="_primary_ayu5e_149",At={tokens:K7,"--font-family":'"Inter", sans-serif',"--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-secondary":"light-dark(#ffffff, #171717)","--size-03":"1rem","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-border-primary":"light-dark(light-dark(#143c50, #143c50), #f2f2f2)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--white":"#ffffff","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-brand":"light-dark(#143c50, #f2f2f2)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#b31b1b, #b31b1b)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-danger-active":"light-dark(#801313, #801313)","--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-icon-hover":"light-dark(rgba(0 0 0 / 10%), rgba(255 255 255 / 10%))","--button-background-icon-active":"light-dark(rgba(0 0 0 / 20%), rgba(255 255 255 / 20%))",button:M7,secondary:z7,tertiary:N7,iconBtn:V7,danger:_7,iconRight:j7,fullwidth:L7,small:O7,primary:H7},ze=({variant:e="primary",fullwidth:t,className:u,iconPlacement:n,size:r,icon:a,iconSize:i,...l})=>{const s=r==="small"?14:i||20;return h.jsx(jt,{className:W(At.button,e==="primary"&&At.primary,e==="secondary"&&At.secondary,e==="tertiary"&&At.tertiary,e==="danger"&&At.danger,e==="icon"&&At.iconBtn,t&&At.fullwidth,r==="small"&&At.small,n==="right"&&At.iconRight,u),...l,children:h.jsxs(h.Fragment,{children:[a&&h.jsx(a,{"aria-hidden":!0,size:s}),l.children]})})},U7='"../theme/tokens.css"',W7="undefined",Z7="_buttonGroup_5pd8y_4",G7={tokens:U7,smBreakpoint:W7,buttonGroup:Z7},q7=({children:e,className:t,"aria-label":u,...n})=>h.jsx("div",{role:"group","aria-label":u,className:W(G7.buttonGroup,t),...n,children:e});/**
|
|
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 Y7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i2=(...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 J7={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 Q7=o.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:u=2,absoluteStrokeWidth:n,className:r="",children:a,iconNode:i,...l},s)=>o.createElement("svg",{ref:s,...J7,width:t,height:t,stroke:e,strokeWidth:n?Number(u)*24/Number(t):u,className:i2("lucide",r),...l},[...i.map(([d,c])=>o.createElement(d,c)),...Array.isArray(a)?a:[a]]));/**
|
|
34
34
|
* @license lucide-react v0.453.0 - ISC
|
|
35
35
|
*
|
|
36
36
|
* This source code is licensed under the ISC license.
|
|
37
37
|
* See the LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/const
|
|
38
|
+
*/const Se=(e,t)=>{const u=o.forwardRef(({className:n,...r},a)=>o.createElement(Q7,{ref:a,iconNode:t,className:i2(`lucide-${Y7(e)}`,n),...r}));return u.displayName=`${e}`,u};/**
|
|
39
39
|
* @license lucide-react v0.453.0 - ISC
|
|
40
40
|
*
|
|
41
41
|
* This source code is licensed under the ISC license.
|
|
42
42
|
* See the LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/const
|
|
43
|
+
*/const X7=Se("ArrowDownNarrowWide",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h4",key:"6d7r33"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h10",key:"1438ji"}]]);/**
|
|
44
44
|
* @license lucide-react v0.453.0 - ISC
|
|
45
45
|
*
|
|
46
46
|
* This source code is licensed under the ISC license.
|
|
47
47
|
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/const
|
|
48
|
+
*/const eC=Se("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
49
49
|
* @license lucide-react v0.453.0 - ISC
|
|
50
50
|
*
|
|
51
51
|
* This source code is licensed under the ISC license.
|
|
52
52
|
* See the LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/const
|
|
53
|
+
*/const tC=Se("ArrowUpWideNarrow",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h4",key:"1krc32"}]]);/**
|
|
54
54
|
* @license lucide-react v0.453.0 - ISC
|
|
55
55
|
*
|
|
56
56
|
* This source code is licensed under the ISC license.
|
|
57
57
|
* See the LICENSE file in the root directory of this source tree.
|
|
58
|
-
*/const
|
|
58
|
+
*/const l2=Se("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
|
|
59
59
|
* @license lucide-react v0.453.0 - ISC
|
|
60
60
|
*
|
|
61
61
|
* This source code is licensed under the ISC license.
|
|
62
62
|
* See the LICENSE file in the root directory of this source tree.
|
|
63
|
-
*/const
|
|
63
|
+
*/const uC=Se("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
64
64
|
* @license lucide-react v0.453.0 - ISC
|
|
65
65
|
*
|
|
66
66
|
* This source code is licensed under the ISC license.
|
|
67
67
|
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/const
|
|
68
|
+
*/const na=Se("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
69
69
|
* @license lucide-react v0.453.0 - ISC
|
|
70
70
|
*
|
|
71
71
|
* This source code is licensed under the ISC license.
|
|
72
72
|
* See the LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/const
|
|
73
|
+
*/const to=Se("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
|
|
74
74
|
* @license lucide-react v0.453.0 - ISC
|
|
75
75
|
*
|
|
76
76
|
* This source code is licensed under the ISC license.
|
|
77
77
|
* See the LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/const
|
|
78
|
+
*/const uo=Se("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
79
79
|
* @license lucide-react v0.453.0 - ISC
|
|
80
80
|
*
|
|
81
81
|
* This source code is licensed under the ISC license.
|
|
82
82
|
* See the LICENSE file in the root directory of this source tree.
|
|
83
|
-
*/const
|
|
83
|
+
*/const o2=Se("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
84
84
|
* @license lucide-react v0.453.0 - ISC
|
|
85
85
|
*
|
|
86
86
|
* This source code is licensed under the ISC license.
|
|
87
87
|
* See the LICENSE file in the root directory of this source tree.
|
|
88
|
-
*/const
|
|
88
|
+
*/const s2=Se("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
89
89
|
* @license lucide-react v0.453.0 - ISC
|
|
90
90
|
*
|
|
91
91
|
* This source code is licensed under the ISC license.
|
|
92
92
|
* See the LICENSE file in the root directory of this source tree.
|
|
93
|
-
*/const
|
|
93
|
+
*/const nC=Se("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
|
|
94
94
|
* @license lucide-react v0.453.0 - ISC
|
|
95
95
|
*
|
|
96
96
|
* This source code is licensed under the ISC license.
|
|
97
97
|
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
-
*/const
|
|
98
|
+
*/const rC=Se("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
|
|
99
99
|
* @license lucide-react v0.453.0 - ISC
|
|
100
100
|
*
|
|
101
101
|
* This source code is licensed under the ISC license.
|
|
102
102
|
* See the LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/const
|
|
103
|
+
*/const d2=Se("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
104
104
|
* @license lucide-react v0.453.0 - ISC
|
|
105
105
|
*
|
|
106
106
|
* This source code is licensed under the ISC license.
|
|
107
107
|
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
-
*/const
|
|
108
|
+
*/const aC=Se("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
109
109
|
* @license lucide-react v0.453.0 - ISC
|
|
110
110
|
*
|
|
111
111
|
* This source code is licensed under the ISC license.
|
|
112
112
|
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/const
|
|
113
|
+
*/const iC=Se("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
|
114
114
|
* @license lucide-react v0.453.0 - ISC
|
|
115
115
|
*
|
|
116
116
|
* This source code is licensed under the ISC license.
|
|
117
117
|
* See the LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/const
|
|
118
|
+
*/const lC=Se("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
|
|
119
119
|
* @license lucide-react v0.453.0 - ISC
|
|
120
120
|
*
|
|
121
121
|
* This source code is licensed under the ISC license.
|
|
122
122
|
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/const
|
|
123
|
+
*/const oC=Se("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);/**
|
|
124
124
|
* @license lucide-react v0.453.0 - ISC
|
|
125
125
|
*
|
|
126
126
|
* This source code is licensed under the ISC license.
|
|
127
127
|
* See the LICENSE file in the root directory of this source tree.
|
|
128
|
-
*/const
|
|
128
|
+
*/const sC=Se("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
129
129
|
* @license lucide-react v0.453.0 - ISC
|
|
130
130
|
*
|
|
131
131
|
* This source code is licensed under the ISC license.
|
|
132
132
|
* See the LICENSE file in the root directory of this source tree.
|
|
133
|
-
*/const
|
|
133
|
+
*/const dC=Se("SquareArrowOutUpRight",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);/**
|
|
134
134
|
* @license lucide-react v0.453.0 - ISC
|
|
135
135
|
*
|
|
136
136
|
* This source code is licensed under the ISC license.
|
|
137
137
|
* See the LICENSE file in the root directory of this source tree.
|
|
138
|
-
*/const
|
|
138
|
+
*/const c2=Se("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
139
139
|
* @license lucide-react v0.453.0 - ISC
|
|
140
140
|
*
|
|
141
141
|
* This source code is licensed under the ISC license.
|
|
142
142
|
* See the LICENSE file in the root directory of this source tree.
|
|
143
|
-
*/const 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$;
|
|
143
|
+
*/const du=Se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),cC=({title:e,children:t,className:u,headingLevel:n=3,...r})=>{const a=ce.useRef(null),[i,l]=ce.useState(0),s=typeof e=="object";return ce.useLayoutEffect(()=>{a.current&&l(a.current.clientHeight)}),h.jsxs(Zx,{...r,className:W(tt.item,u),children:[s?h.jsx("div",{className:tt.trigger,children:h.jsxs(ze,{slot:"trigger",variant:"icon",children:[h.jsx(na,{size:20,className:tt.icon}),e]})}):h.jsx(Aa,{level:n,className:tt.trigger,children:h.jsxs(ze,{slot:"trigger",variant:"icon",children:[h.jsx(na,{size:20,className:tt.icon}),h.jsx("span",{className:tt.triggerText,children:e})]})}),h.jsx(Gx,{style:{"--panel-height":`${i}px`},className:W(tt.panel,i===0&&tt.panel0),children:h.jsx("div",{ref:a,className:tt.content,children:t})})]})},fC='"../theme/tokens.css"',pC="_link_3zs58_4",mC="_icon_3zs58_45",bC="_standalone_3zs58_49",hC="_stretched_3zs58_64",mn={tokens:fC,"--font-family":'"Inter", sans-serif',"--link-enabled":"light-dark(#2e7ca5, #4289ad)","--link-hover":"light-dark(#143c50, #5897b8)","--link-pressed":"light-dark(#171717, #82b0c9)","--link-visited":"light-dark(#954b95, #b46ab4)","--text-disabled":"light-dark(#bfbfbf, #525252)","--focus":"0 0 0 2px white, 0 0 0 4px black",link:pC,icon:mC,standalone:bC,stretched:hC},no=({children:e,standalone:t,stretched:u,icon:n,className:r,as:a,...i})=>{const l=a||Jr;return h.jsx(l,{className:W(mn.link,t&&mn.standalone,u&&mn.stretched,r),...i,children:h.jsxs(h.Fragment,{children:[e,!t&&n&&h.jsx(n,{size:20,className:mn.icon}),t&&h.jsx(eC,{size:20,className:mn.icon})]})})},$C='"../theme/tokens.css"',gC="_container_1fsfi_4",DC={tokens:$C,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)",container:gC},vC=({items:e})=>h.jsx(tx,{className:DC.container,children:e.map((t,u)=>h.jsx(ux,{children:h.jsx(no,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),yC='"../theme/tokens.css"',xC="_card_3zluz_4",CC="_content_3zluz_33",EC="_heading_3zluz_39",BC="_image_3zluz_47",kC="_text_3zluz_56",bn={tokens:yC,"--font-family":'"Inter", sans-serif',"--border-strong":"light-dark(#171717, #f2f2f2)","--layer-02":"light-dark(#ffffff, #383838)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--focus":"0 0 0 2px white, 0 0 0 4px black","--fast-transition":"250ms","--text-primary":"light-dark(#171717, #f2f2f2)","--blue-20":"#d5e5ed",card:xC,content:CC,heading:EC,image:BC,text:kC},PC=({image:e,title:t,content:u,link:n,headingTag:r="h1",customImageComponent:a,customLinkComponent:i,className:l,...s})=>{const d=ce.useId();return h.jsxs("div",{className:W(bn.card,l),...s,children:[h.jsxs("div",{className:bn.content,children:[a||(e==null?void 0:e.source)&&h.jsx("img",{src:e.source,alt:e.description,className:bn.image}),h.jsxs("div",{id:d,children:[h.jsx(r,{className:bn.heading,children:t}),h.jsx("p",{className:bn.text,children:u})]})]}),h.jsx(no,{"aria-describedby":d,...n,standalone:!0,stretched:!0,as:i})]})},SC='"../theme/tokens.css"',AC="_wrap_68tmn_4",wC="_checkboxInner_68tmn_11",FC="_checkbox_68tmn_11",TC="_checkboxGroup_68tmn_128",ra={tokens:SC,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)","--border-strong":"light-dark(#171717, #f2f2f2)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-disabled":"light-dark(#bfbfbf, #525252)","--breakpoint-sm":"(max-width: 767px)","--border-invalid":"light-dark(#e62323, #e62323)","--icon-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--field-disabled":"light-dark(#f2f2f2, #262626)","--focus":"0 0 0 2px white, 0 0 0 4px black",wrap:AC,checkboxInner:wC,checkbox:FC,checkboxGroup:TC},Fa=({children:e,...t})=>h.jsx(px,{className:W(ra.checkbox,t.className),...t,children:({isIndeterminate:u})=>h.jsxs(h.Fragment,{children:[h.jsx("div",{className:ra.checkboxInner,children:h.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:u?h.jsx("rect",{x:4,y:8,width:10,height:2}):h.jsx("polyline",{points:"3,9 7,13 15,4"})})}),e]})}),IC='"../theme/tokens.css"',RC="_inputField_1ogiu_4",KC="_inputWrapper_1ogiu_12",MC="_label_1ogiu_30",zC="_text_1ogiu_37",NC="_fieldError_1ogiu_44",VC="_passwordText_1ogiu_68",_C="_count_1ogiu_81",jC="_countExceeded_1ogiu_89",LC="_input_1ogiu_4",OC="_wrap_1ogiu_137",HC="_passwordButton_1ogiu_142",Ue={tokens:IC,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--border-invalid":"light-dark(#e62323, #e62323)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-invalid":"light-dark(#e62323, #e62323)","--field-disabled":"light-dark(#f2f2f2, #262626)","--focus":"0 0 0 2px white, 0 0 0 4px black",inputField:RC,inputWrapper:KC,label:MC,text:zC,fieldError:NC,passwordText:VC,count:_C,countExceeded:jC,input:LC,wrap:OC,passwordButton:HC},UC=({label:e,description:t,errorMessage:u,validationType:n,validate:r,maxLength:a,showCounter:i,className:l,...s})=>{const[d,c]=ce.useState(s.defaultValue??s.value??""),f=b=>{const g=b.target.value;c(g)},p=b=>n==="ssn"?f2.test(b)?null:"Felaktigt personnummer":n==="dossnr"?p2.test(b)?null:"Felaktigt dossiernummer":n instanceof RegExp?new RegExp(n).test(b)?null:u==null?void 0:u.toString():a?a&&b.length>a?`Du har angett ${b.length-a} tecken för mycket. Fältet är begränsat till ${a} tecken.`:null:r?r(b):!0,m=()=>a?h.jsxs("span",{className:W(Ue.count,d.length>a&&Ue.countExceeded),children:[d.length," / ",a]}):i?h.jsx("span",{className:Ue.count,children:d.length}):null;return h.jsx(Ul,{className:W(Ue.inputField,l),validate:p,...s,children:h.jsxs(wu,{label:e,description:t,errorMessage:u,children:[h.jsx(m,{}),h.jsxs("div",{className:Ue.wrap,children:[h.jsx(ya,{type:s.type,className:Ue.input,onChange:f,onBlur:f}),h.jsx(WC,{type:s.type,input:d})]})]})})},WC=({type:e,input:t})=>{const[u,n]=ce.useState(!1);return e==="password"?h.jsxs(h.Fragment,{children:[u&&h.jsx(Bt,{slot:"description",className:Ue.passwordText,children:t}),h.jsx(ze,{variant:"tertiary",onPress:()=>n(!u),className:Ue.passwordButton,children:u?"Dölj":"Visa"})]}):null},wu=({label:e,description:t,errorMessage:u,children:n})=>h.jsxs("div",{className:Ue.inputWrapper,children:[e&&h.jsx(rn,{className:Ue.label,children:e}),t&&h.jsx(Bt,{slot:"description",className:Ue.text,children:t}),h.jsx(tr,{"data-testid":"fieldError",className:Ue.fieldError,children:u}),n]}),f2=new RegExp("^(?:(?:19|20)?\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4})?|\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4}))$"),p2=new RegExp("^(\\d{1,2}\\+\\d{6}-\\d{1,2}$|\\d{1,2}-\\d{6}(/\\d{1,2})?$|\\d{1,2}\\d{6}$|\\d{6,8}$)"),ZC=({label:e,description:t,errorMessage:u,showSelectAll:n,children:r,...a})=>{const[i,l]=o.useState(),s=()=>{const d=o.useContext(Zl),c=o.Children.toArray(r).filter(o.isValidElement).map(p=>p.props.value),f=()=>i!=="all"?(l("all"),d==null?void 0:d.setValue(["toggleAll",...c])):(l("none"),d==null?void 0:d.setValue([]));return o.useEffect(()=>{var g,$;const p=c.length,m=c.length+1,b=((g=d==null?void 0:d.value)==null?void 0:g.length)||0;b===0&&l("none"),b>0&&b<p&&l("some"),b!==m&&(d==null||d.removeValue("toggleAll")),b===p&&!(($=d==null?void 0:d.value)!=null&&$.includes("toggleAll"))&&(d==null||d.addValue("toggleAll"),l("all"))},[c.length,d==null?void 0:d.value]),h.jsx(Fa,{value:"toggleAll",isSelected:i==="all",isIndeterminate:i==="some",onChange:()=>f(),children:"Välj alla"})};return h.jsx(fx,{className:ra.checkboxGroup,...a,children:h.jsx(wu,{label:e,description:t,errorMessage:u,children:h.jsxs(nr,{className:ra.wrap,children:[n&&h.jsx(s,{}),r]})})})},GC='"../theme/tokens.css"',qC="_input_g2frr_4",YC="_combobox_g2frr_42",JC="_text_g2frr_58",QC="_wrap_g2frr_63",XC="_button_g2frr_68",e9="_icon_g2frr_86",t9="_popover_g2frr_92",u9="_fieldError_g2frr_100",n9="_listBoxItem_g2frr_111",$u={tokens:GC,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--layer-02":"light-dark(#ffffff, #383838)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--border-invalid":"light-dark(#e62323, #e62323)","--text-invalid":"light-dark(#e62323, #e62323)",input:qC,combobox:YC,text:JC,wrap:QC,button:XC,icon:e9,popover:t9,fieldError:u9,listBoxItem:n9};function r9({label:e,description:t,errorMessage:u,children:n,items:r,className:a,...i}){const l=o.useRef(null);return h.jsxs(Rx,{className:W($u.combobox,a),ref:l,...i,children:[h.jsx(wu,{label:e,description:t,errorMessage:u,children:h.jsxs("div",{className:$u.wrap,children:[h.jsx(ya,{className:$u.input}),h.jsx(jt,{className:$u.button,"aria-label":"Visa lista",children:h.jsx("div",{className:$u.icon,"aria-hidden":"true",children:h.jsx(na,{size:20,"aria-hidden":!0})})})]})}),h.jsx(Pa,{className:$u.popover,offset:0,UNSTABLE_portalContainer:l.current||void 0,children:h.jsx(bx,{items:r,children:n})})]})}function a9(e){return h.jsx(gx,{className:$u.listBoxItem,...e})}const i9='"../theme/tokens.css"',l9="_datePicker_lalgz_4",o9="_inputField_lalgz_12",s9="_buttonInvalid_lalgz_28",d9="_date_lalgz_4",c9="_divider_lalgz_95",f9="_segment_lalgz_99",p9="_label_lalgz_120",m9="_description_lalgz_126",b9="_fieldError_lalgz_132",Be={tokens:i9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-invalid":"light-dark(#e62323, #e62323)","--border-strong":"light-dark(#171717, #f2f2f2)","--border-invalid":"light-dark(#e62323, #e62323)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px white, 0 0 0 4px black","--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--border-brand":"light-dark(#143c50, #143c50)","--button-background-primary":"light-dark(#143c50, #2e7ca5)",datePicker:l9,inputField:o9,buttonInvalid:s9,date:d9,divider:c9,segment:f9,label:p9,description:m9,fieldError:b9},h9='"../theme/tokens.css"',$9="_calendar_w05iu_4",g9="_day_w05iu_22",D9="_header_w05iu_50",v9="_heading_w05iu_75",y9="_today_w05iu_107",rt={tokens:h9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-on-color":"light-dark(#ffffff, #ffffff)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px white, 0 0 0 4px black",calendar:$9,day:g9,header:D9,heading:v9,today:y9};function m2({errorMessage:e,weekdayStyle:t="short",className:u,...n}){return h.jsxs(nx,{...n,className:W(rt.calendar,u),children:[h.jsxs("header",{className:rt.header,children:[h.jsx(jt,{slot:"previous",children:h.jsx(to,{})}),h.jsx(Aa,{className:rt.heading}),h.jsx(jt,{slot:"next",children:h.jsx(uo,{})})]}),h.jsx(l5,{className:rt.calendar,weekdayStyle:t,children:r=>h.jsx(o5,{date:r,className:W(rt.day,dl(r,qn())&&rt.today)})}),e&&h.jsx(Bt,{slot:"errorMessage",children:e})]})}function b2({errorMessage:e,weekdayStyle:t="short",className:u,...n}){return h.jsxs(rx,{...n,className:W(rt.calendar,u),children:[h.jsxs("header",{className:rt.header,children:[h.jsx(jt,{slot:"previous",children:h.jsx(to,{})}),h.jsx(Aa,{className:rt.heading}),h.jsx(jt,{slot:"next",children:h.jsx(uo,{})})]}),h.jsx(l5,{className:rt.calendar,weekdayStyle:t,children:r=>h.jsx(o5,{date:r,className:W(rt.day,dl(r,qn())&&rt.today)})}),e&&h.jsx(Bt,{slot:"errorMessage",children:e})]})}const x9=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return h.jsxs(Ox,{...n,className:W(Be.datePicker,n.className),ref:r,children:[h.jsx(rn,{className:Be.label,children:e}),t&&h.jsx(Bt,{slot:"description",className:Be.description,children:t}),h.jsx(tr,{className:Be.fieldError,children:u}),h.jsxs(nr,{className:W(Be.inputField),children:[h.jsx(ta,{slot:"start",className:Be.date,children:a=>h.jsx(ua,{className:Be.segment,segment:a})}),h.jsx("span",{"aria-hidden":"true",className:Be.divider,children:"-"}),h.jsx(ta,{slot:"end",className:Be.date,children:a=>h.jsx(ua,{segment:a,className:Be.segment})}),h.jsx(jt,{className:W(n.isInvalid&&Be.buttonInvalid),children:h.jsx(l2,{size:20,"aria-hidden":!0})})]}),h.jsx(Pa,{UNSTABLE_portalContainer:r.current||void 0,children:h.jsx(q5,{className:Be.dialog,children:h.jsx(b2,{})})})]})},C9=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return h.jsxs(Lx,{...n,className:W(Be.datePicker,n.className),ref:r,children:[h.jsx(rn,{className:Be.label,children:e}),t&&h.jsx(Bt,{slot:"description",className:Be.description,children:t}),h.jsx(tr,{className:Be.fieldError,children:u}),h.jsxs(nr,{className:W(Be.inputField),children:[h.jsx(ta,{className:Be.date,children:a=>h.jsx(ua,{segment:a,className:Be.segment})}),h.jsx(jt,{className:W(n.isInvalid&&Be.buttonInvalid),children:h.jsx(l2,{size:20,"aria-hidden":!0})})]}),h.jsx(Pa,{UNSTABLE_portalContainer:r.current||void 0,children:h.jsx(q5,{className:Be.dialog,children:h.jsx(m2,{})})})]})},E9='"../theme/tokens.css"',B9="_dropDownMenu_15gu2_4",k9="_dropdownMenu_15gu2_15",h2={tokens:E9,"--font-family":'"Inter", sans-serif',"--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)",dropDownMenu:B9,dropdownMenu:k9};function $2({label:e,title:t,children:u,...n}){return h.jsxs(Bx,{...n,children:[h.jsxs(ze,{"aria-label":e||n["aria-label"],variant:"icon",children:[t,h.jsx(nC,{size:20,"aria-hidden":!0})]}),h.jsx(Pa,{children:h.jsx(Px,{...n,className:h2.dropDownMenu,children:u})})]})}function g2(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return h.jsx(Fx,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>`${h2.dropdownMenu} ${u?"focused":""} ${n?"open":""}`,children:({hasSubmenu:u})=>h.jsxs(h.Fragment,{children:[e.children,u&&h.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:h.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}const P9='"../theme/tokens.css"',S9="_box_c5qk3_4",A9="_list_c5qk3_28",w9="_container_c5qk3_38",F9="_label_c5qk3_45",T9="_text_c5qk3_51",I9="_dropzone_c5qk3_57",R9="_input_c5qk3_71",Ou={tokens:P9,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--background-01":"light-dark(#ffffff, #171717)","--background-hover-01":"light-dark(#e6e6e6, #212121)","--border-subtle":"light-dark(#bfbfbf, #383838)",box:S9,list:A9,container:w9,label:F9,text:T9,dropzone:I9,input:R9},K9=({allowsMultiple:e,label:t,description:u,dropzone:n,...r})=>{const[a,i]=ce.useState(null),l=d=>{i(d!==null?Array.from(d):[])},s=async d=>{const c=d.items.filter(p=>p.kind==="file").map(p=>p.getFile()),f=await Promise.all(c);i(f)};return n?h.jsxs("div",{className:Ou.container,children:[h.jsx(Jx,{onDrop:s,className:Ou.dropzone,children:h.jsx(Bt,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),a&&h.jsx(Ms,{files:a,setFiles:i})]}):h.jsxs("div",{className:Ou.container,children:[h.jsx(wu,{label:t,description:u,children:h.jsx(Qx,{allowsMultiple:e,onSelect:d=>l(d),...r,children:h.jsx(ze,{variant:"secondary","aria-labelledby":"fileUpload",className:Ou.input,children:e?"Välj filer":"Välj fil"})})}),a&&h.jsx(Ms,{files:a,setFiles:i})]})},Ms=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((r,a)=>a!==n))};return h.jsx("ul",{className:Ou.list,children:e.map((n,r)=>h.jsxs("li",{className:Ou.box,children:[h.jsx("span",{children:n.name}),h.jsx(ze,{variant:"icon",size:"small",onPress:()=>u(r),children:h.jsx(du,{size:20,"aria-hidden":!0})})]},r))})},M9='"../theme/tokens.css"',z9="_container_17raf_4",N9="_flex_17raf_16",V9="_fluid_17raf_54",_9="_col_17raf_60",Yu={tokens:M9,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:z9,flex:N9,fluid:V9,col:_9,"col-1":"_col-1_17raf_64","col-2":"_col-2_17raf_65","col-3":"_col-3_17raf_66","col-4":"_col-4_17raf_67","col-5":"_col-5_17raf_68","col-6":"_col-6_17raf_69","col-7":"_col-7_17raf_70","col-8":"_col-8_17raf_71","col-9":"_col-9_17raf_72","col-10":"_col-10_17raf_73","col-11":"_col-11_17raf_74","col-12":"_col-12_17raf_75","col-auto":"_col-auto_17raf_76","offset-1":"_offset-1_17raf_130","offset-2":"_offset-2_17raf_134","offset-3":"_offset-3_17raf_138","offset-4":"_offset-4_17raf_142","offset-5":"_offset-5_17raf_146","offset-6":"_offset-6_17raf_150","offset-7":"_offset-7_17raf_154","offset-8":"_offset-8_17raf_158","offset-9":"_offset-9_17raf_162","offset-10":"_offset-10_17raf_166","offset-11":"_offset-11_17raf_170"},j9=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:W(Yu.container,t&&Yu.fluid,u.className),...u,children:h.jsx("div",{className:Yu.flex,children:e})}),D2=({children:e,col:t,offset:u,...n})=>{const r=t?`col-${t}`:"",a=u?`offset-${u}`:"";return h.jsx("div",{className:W(Yu.col,Yu[r],Yu[a],n.className),...n,children:e})},L9='"../theme/tokens.css"',O9="_container_162ou_4",H9="_grid_162ou_16",U9="_fluid_162ou_45",W9="_col_162ou_52",kn={tokens:L9,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:O9,grid:H9,fluid:U9,col:W9,"col-1":"_col-1_162ou_58","col-2":"_col-2_162ou_62","col-3":"_col-3_162ou_66","col-4":"_col-4_162ou_70","col-5":"_col-5_162ou_74","col-6":"_col-6_162ou_78","col-7":"_col-7_162ou_82","col-8":"_col-8_162ou_86","col-9":"_col-9_162ou_90","col-10":"_col-10_162ou_94","col-11":"_col-11_162ou_98","col-12":"_col-12_162ou_102","offset-1":"_offset-1_162ou_106","offset-2":"_offset-2_162ou_110","offset-3":"_offset-3_162ou_114","offset-4":"_offset-4_162ou_118","offset-5":"_offset-5_162ou_122","offset-6":"_offset-6_162ou_126","offset-7":"_offset-7_162ou_130","offset-8":"_offset-8_162ou_134","offset-9":"_offset-9_162ou_138","offset-10":"_offset-10_162ou_142","offset-11":"_offset-11_162ou_146"},Z9=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:W(kn.container,t&&kn.fluid,u.className),...u,children:h.jsx("div",{className:kn.grid,children:e})}),G9=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return h.jsx("div",{className:W(kn.col,kn[n],u.className),...u,children:e})},q9='"../theme/tokens.css"',Y9="_infoBanner_itrpd_4",J9="_success_itrpd_14",Q9="_info_itrpd_4",X9="_important_itrpd_24",e8="_warning_itrpd_29",t8="_content_itrpd_38",u8="_heading_itrpd_44",n8="_text_itrpd_49",r8="_icon_itrpd_54",a8="_dismissable_itrpd_59",bu={tokens:q9,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--notification-border-success":"light-dark(#008d3c, #008d3c)","--notification-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--notification-border-info":"light-dark(#0066cc, #0066cc)","--notification-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--notification-border-warning":"light-dark(#e62323, #e62323)","--notification-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--notification-border-important":"light-dark(#fdb813, #fdb813)","--notification-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",infoBanner:Y9,success:J9,info:Q9,important:X9,warning:e8,content:t8,heading:u8,text:n8,icon:r8,dismissable:a8},i8={success:s2,info:d2,important:o2,warning:c2},l8=({title:e,message:t,type:u,children:n,dismissable:r=!1,...a})=>{const i=i8[u],[l,s]=ce.useState(!0);return l?h.jsxs("div",{className:W(bu.infoBanner,bu[u],a.className),...a,children:[h.jsx(i,{size:20,"aria-hidden":!0,className:bu.icon}),h.jsxs("div",{className:bu.content,children:[e&&h.jsx("strong",{className:bu.heading,children:e}),h.jsxs("div",{className:bu.text,children:[t,n]})]}),r&&h.jsx("div",{className:bu.dismissable,children:h.jsx(ze,{variant:"icon","aria-label":"Stäng",onPress:()=>s(!1),children:h.jsx(du,{size:20})})})]}):null},o8='"../theme/tokens.css"',s8="_baseLayout_1m9il_4",d8="_mainContent_1m9il_13",c8="_header_1m9il_18",f8="_headerContent_1m9il_35",p8="_headerItems_1m9il_54",m8="_logo_1m9il_55",b8="_headerMenu_1m9il_68",h8="_toggleButton_1m9il_76",$8="_sidebar_1m9il_84",g8="_main_1m9il_13",D8="_app_1m9il_121",v8="_sidebarOpened_1m9il_130",y8="_sidebarHeader_1m9il_134",x8="_appName_1m9il_146",C8="_collapseButton_1m9il_153",E8="_sidebarCollapsed_1m9il_162",B8="_userName_1m9il_172",k8="_abbr_1m9il_185",P8="_userTitle_1m9il_191",S8="_title_1m9il_203",A8="_sidebarNav_1m9il_214",w8="_list_1m9il_220",F8="_listGroupTitle_1m9il_227",T8="_listItem_1m9il_234",I8="_listItemCollapsed_1m9il_238",R8="_listLink_1m9il_242",K8="_listLinkCollapsed_1m9il_287",M8="_active_1m9il_292",z8="_linkText_1m9il_297",N8="_backdrop_1m9il_304",V8="_backdropOpened_1m9il_314",_8="_skipToContent_1m9il_332",te={tokens:o8,"--font-family":'"Inter", sans-serif',"--breakpoint-md":"(min-width: 768px)","--background-01":"light-dark(#ffffff, #171717)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-secondary":"light-dark(#525252, #a6a6a6)","--icon-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black",baseLayout:s8,mainContent:d8,header:c8,headerContent:f8,headerItems:p8,logo:m8,headerMenu:b8,toggleButton:h8,sidebar:$8,main:g8,app:D8,sidebarOpened:v8,sidebarHeader:y8,appName:x8,collapseButton:C8,sidebarCollapsed:E8,userName:B8,abbr:k8,userTitle:P8,title:S8,sidebarNav:A8,list:w8,listGroupTitle:F8,listItem:T8,listItemCollapsed:I8,listLink:R8,listLinkCollapsed:K8,active:M8,linkText:z8,backdrop:N8,backdropOpened:V8,skipToContent:_8},j8='"../theme/tokens.css"',L8="_tooltip_1sccn_4",O8="_arrow_1sccn_17",zs={tokens:j8,"--font-family":'"Inter", sans-serif',"--background-inverse-01":"light-dark(#171717, #f2f2f2)","--text-inverse":"light-dark(#f2f2f2, #171717)",tooltip:L8,arrow:O8};function v2({children:e,placement:t,className:u,...n}){return h.jsxs(F7,{className:W(zs.tooltip,u),placement:t,...n,children:[h.jsx(xx,{className:zs.arrow,children:h.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:h.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),e]})}function y2({children:e,delay:t=0,...u}){return h.jsx(w7,{delay:t,...u,children:e})}const x2=ce.createContext(void 0),H8=({items:e,title:t,user:u,app:n,children:r,clientSideRouter:a,clientSideHref:i,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f})=>h.jsx(x2.Provider,{value:{items:e,title:t,user:u,app:n,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,clientSideRouter:a,clientSideHref:i},children:r}),Ta=()=>{const e=ce.useContext(x2);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e},ro=({title:e,href:t,icon:u,active:n})=>{const{isCollapsed:r,setIsOpened:a}=Ta(),[i,l]=ce.useState(!1);return ce.useEffect(()=>{typeof window<"u"&&l(n??window.location.pathname===t)},[n,t]),r?h.jsxs(y2,{children:[h.jsx(Jr,{href:t,"aria-label":e,className:W(te.listLink,te.listLinkCollapsed,i&&te.active),onPress:()=>a(!1),children:h.jsx(u,{size:20,"aria-label":e})}),h.jsx(v2,{placement:"right",children:e})]}):h.jsxs(Jr,{href:t,"aria-label":e,className:W(te.listLink,i&&te.active),onPress:()=>a(!1),children:[h.jsx(u,{size:20}),e]})},C2=()=>{const{items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:r,setIsOpened:a,clientSideRouter:i,clientSideHref:l}=Ta(),s=({group:d})=>h.jsx("ul",{className:te.list,children:d.items.map((c,f)=>h.jsx("li",{className:W(te.listItem,n&&te.listItemCollapsed),children:h.jsx(ro,{...c})},"link_"+f))});return ce.useEffect(()=>{const d=c=>{c.key==="Escape"&&a(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[a]),h.jsxs("aside",{id:"midasMainMenu",className:W(te.sidebar,n&&te.sidebarCollapsed,u&&te.sidebarOpened),children:[h.jsxs("div",{className:te.sidebarHeader,children:[!n&&h.jsx("p",{className:te.appName,children:t.name}),h.jsx(ze,{variant:"tertiary","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>r(!n),className:te.collapseButton,children:n?h.jsx(oC,{size:20}):h.jsx(lC,{size:20})})]}),h.jsx("nav",{className:te.sidebarNav,children:h.jsx("ul",{className:te.list,children:e.map((d,c)=>h.jsxs("li",{children:[d.title&&!n&&h.jsx("p",{className:te.listGroupTitle,children:d.title}),i?h.jsx(Ws,{navigate:i,useHref:l,children:h.jsx(s,{group:d})}):h.jsx(s,{group:d})]},"list_"+c))})})]})},U8='"../theme/tokens.css"',W8="_container_99qba_4",Z8="_noPadding_99qba_9",G8="_logo_99qba_13",q8="_primary_99qba_18",Y8="_dark_99qba_22",J8="_xSmall_99qba_26",Q8="_small_99qba_30",X8="_large_99qba_34",wt={tokens:U8,"--logo-primary":"light-dark(#b90835, #ffffff)","--background-inverse-01":"light-dark(#171717, #f2f2f2)",container:W8,noPadding:Z8,logo:G8,primary:q8,dark:Y8,xSmall:J8,small:Q8,large:X8},E2=({primary:e=!0,size:t="medium",padding:u=!0,className:n,...r})=>{const a=W(wt.logo,e?wt.primary:wt.dark,t==="x-small"&&wt.xSmall,t==="medium"&&wt.medium,t==="large"&&wt.large,t==="small"&&wt.small),i=()=>t==="x-small"?h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:a,role:"img","aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:h.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):h.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:a,"aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:[h.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),h.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),h.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),h.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),h.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),h.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),h.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),h.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),h.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),h.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),h.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),h.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),h.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return h.jsx("div",{className:W(wt.container,u===!1&&wt.noPadding,n),...r,children:h.jsx(i,{})})},B2=()=>{const{title:e,user:t,app:u,isOpened:n,setIsOpened:r,setIsCollapsed:a,headerChildren:i}=Ta();return h.jsxs("header",{className:te.header,style:{borderTop:`solid 4px ${u.color?u.color:z2.semantic.brandPrimary}`},children:[h.jsxs("div",{className:te.headerContent,children:[h.jsx("div",{className:te.logo,children:h.jsx(E2,{size:"small",padding:!1})}),h.jsx(ze,{variant:"icon",className:te.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{a(!1),r(!0)},children:n?h.jsx(du,{size:20,"aria-hidden":"true"}):h.jsx(iC,{size:20,"aria-hidden":"true"})}),h.jsxs("div",{children:[h.jsx("p",{className:te.userName,children:t.name}),h.jsx("p",{className:te.userTitle,children:t.title}),h.jsx("p",{className:te.title,children:e})]})]}),i&&h.jsxs(h.Fragment,{children:[h.jsx("div",{className:te.headerItems,children:i}),h.jsx("div",{className:te.headerMenu,children:h.jsx($2,{label:"Öppna meny",children:ce.Children.map(i,l=>h.jsx(g2,{children:l}))})})]})]})},eE=({id:e="#main:first-of-type"})=>{const t=()=>{const u=document.querySelector(e);u&&(u.tabIndex=-1,u.focus(),setTimeout(()=>u.removeAttribute("tabindex"),1e3))};return h.jsx(ze,{onPress:t,className:te.skipToContent,children:"Hoppa till huvudinnehåll"})},tE=()=>{const{isOpened:e,setIsOpened:t}=Ta();return e?h.jsx("div",{className:W(te.backdrop,te.backdropOpened),onClick:()=>{t(!1)},"aria-hidden":!0}):null},eu=({items:e,title:t,user:u,app:n,children:r,headerChildren:a,clientSideRouter:i,clientSideHref:l})=>{const[s,d]=ce.useState(!1),[c,f]=ce.useState(!1);return h.jsx(eu.Provider,{items:e,title:t,user:u,app:n,clientSideRouter:i,clientSideHref:l,headerChildren:a,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,children:h.jsxs("div",{className:te.baseLayout,children:[h.jsx(eE,{}),h.jsx(eu.Header,{}),h.jsxs("div",{className:te.mainContent,children:[h.jsx(eu.Sidebar,{}),h.jsx(D2,{children:h.jsx("main",{className:te.main,children:h.jsx("div",{className:te.app,children:r})})}),h.jsx(tE,{})]})]})})};eu.Provider=H8;eu.Header=B2;eu.Sidebar=C2;eu.SidebarLink=ro;const uE='"../theme/tokens.css"',nE="_linkButton_11n8g_4",rE="_secondary_11n8g_47",aE="_icon_11n8g_52",iE="_tertiary_11n8g_70",lE="_danger_11n8g_85",oE="_iconBtn_11n8g_100",sE="_iconLeft_11n8g_121",dE="_fullwidth_11n8g_125",cE="_button_11n8g_130",Xe={tokens:uE,"--font-family":'"Inter", sans-serif',"--size-03":"1rem","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-brand":"light-dark(#143c50, #f2f2f2)","--border-brand":"light-dark(#143c50, #143c50)","--button-background-secondary":"light-dark(#ffffff, #171717)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#b31b1b, #b31b1b)","--button-background-danger-active":"light-dark(#801313, #801313)","--white":"#ffffff","--icon-secondary":"light-dark(#143c50, #2e7ca5)",linkButton:nE,secondary:rE,icon:aE,tertiary:iE,danger:lE,iconBtn:oE,iconLeft:sE,fullwidth:dE,button:cE},fE=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:r,className:a,as:i,...l})=>{const s=i||Jr,d=()=>n?h.jsx(n,{size:20,className:Xe.icon}):l.target==="_blank"?h.jsx(dC,{size:20,className:Xe.icon}):r==="left"?h.jsx(to,{size:20,className:Xe.icon}):h.jsx(uo,{size:20,className:Xe.icon});return h.jsxs(s,{className:W(Xe.linkButton,t==="primary"&&Xe.primary,t==="secondary"&&Xe.secondary,t==="tertiary"&&Xe.tertiary,t==="danger"&&Xe.danger,t==="icon"&&Xe.iconBtn,u&&Xe.fullwidth,r==="left"&&Xe.iconLeft,a),...l,children:[e,h.jsx(d,{})]})},pE='"../theme/tokens.css"',mE="_modal_1nzqy_4",bE="_overlay_1nzqy_22",hE="_modalHeader_1nzqy_32",$E="_modalBody_1nzqy_41",gE="_modalHeading_1nzqy_47",Ln={tokens:pE,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--background-01":"light-dark(#ffffff, #171717)","--text-primary":"light-dark(#171717, #f2f2f2)",modal:mE,overlay:bE,modalHeader:hE,modalBody:$E,modalHeading:gE},DE=({title:e,children:t,...u})=>{const n=ce.useRef(null),{dialogProps:r,titleProps:a}=e1(u,n);return h.jsxs("div",{...r,ref:n,className:Ln.modalBody,"aria-modal":!0,children:[e&&h.jsx("h2",{...a,className:W(Ln.modalHeading,a.className),children:e}),t]})},vE=({state:e,children:t,...u})=>{const n=ce.useRef(null),{modalProps:r,underlayProps:a}=wD(u,e,n);return h.jsx(Ri,{children:h.jsx("div",{...a,className:W(Ln.overlay,a.className),children:h.jsx("div",{...r,className:W(Ln.modal,r.className),ref:n,children:t})})})},yE=({label:e,children:t,...u})=>{const n=Au(u),{triggerProps:r,overlayProps:a}=_3({type:"dialog"},n);return h.jsxs(h.Fragment,{children:[h.jsx(ze,{...r,children:e}),n.isOpen&&h.jsxs(vE,{...u,state:n,children:[h.jsx("div",{className:Ln.modalHeader,children:h.jsx(ze,{onPress:n.close,variant:"tertiary",icon:du,iconPlacement:"right",children:"Stäng"})}),ce.cloneElement(t(n.close),a)]})]})},xE='"../theme/tokens.css"',CE="_radioGroup_1ugje_4",EE="_wrap_1ugje_16",BE="_radio_1ugje_4",Zi={tokens:xE,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--size-03":"1rem","--text-primary":"light-dark(#171717, #f2f2f2)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--fast-transition":"250ms","--border-disabled":"light-dark(#bfbfbf, #525252)","--icon-secondary":"light-dark(#143c50, #2e7ca5)","--border-medium":"light-dark(#737373, #8c8c8c)","--border-subtle":"light-dark(#bfbfbf, #383838)","--breakpoint-sm":"(max-width: 767px)","--field-hover-02":"light-dark(#e6e6e6, #474747)","--border-invalid":"light-dark(#e62323, #e62323)",radioGroup:CE,wrap:EE,radio:BE},kE=({label:e,description:t,errorMessage:u,children:n,className:r,...a})=>h.jsx(t7,{...a,className:W(Zi.radioGroup,r),children:h.jsx(wu,{label:e,description:t,errorMessage:u,children:h.jsx(nr,{className:Zi.wrap,children:n})})}),PE=e=>h.jsx(u7,{className:Zi.radio,...e}),SE='"../theme/tokens.css"',AE="_fieldError_11dj2_4",wE="_container_11dj2_33",FE="_inputContainer_11dj2_40",TE="_icon_11dj2_47",IE="_clear_11dj2_56",RE="_input_11dj2_40",Ku={tokens:SE,"--font-family":'"Inter", sans-serif',"--text-invalid":"light-dark(#e62323, #e62323)","--field-01":"light-dark(#f2f2f2, #262626)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--border-invalid":"light-dark(#e62323, #e62323)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)",fieldError:AE,container:wE,inputContainer:FE,icon:TE,clear:IE,input:RE};function KE(e){return!!(e!=null&&e.length)}const ME=e=>{const{value:t,setValue:u}=Vy(e),n=ce.useRef(null),{inputProps:r,errorMessageProps:a,isInvalid:i,validationErrors:l,clearButtonProps:s}=Vv({...e,label:e.placeholder,validationBehavior:"native"},{value:t,setValue:u},n),d=({target:m})=>u(m.value),c=()=>u(""),f=()=>{var b;if(e.validate&&KE(e.validate(t))||i||!t){(b=n.current)==null||b.focus();return}e.onSubmit&&e.onSubmit(t)},p=({key:m})=>{m==="Enter"&&f()};return h.jsxs("div",{children:[i&&h.jsx("div",{...a,className:Ku.fieldError,children:e.errorMessage??l.join(" ")}),h.jsxs("div",{className:Ku.container,children:[h.jsxs("div",{className:Ku.inputContainer,children:[h.jsx(sC,{size:20,className:Ku.icon}),h.jsx("input",{...r,className:W(Ue.input,Ku.input,r.className),ref:n,onChange:d,value:t,"aria-invalid":i,onKeyDown:p,"aria-label":e.placeholder,"aria-labelledby":""}),t.length>0&&h.jsx(ze,{variant:"icon",size:"small",className:Ku.clear,onPress:c,...s,children:h.jsx(du,{size:20,"aria-hidden":!0})})]}),h.jsx(ze,{isDisabled:e.isDisabled,excludeFromTabOrder:!0,onPress:f,type:"button",children:e.buttonText?e.buttonText:"Sök"})]})]})},zE='"../theme/tokens.css"',NE="_selectAllButton_d3qr3_11",VE="_selectLabel_d3qr3_17",_E="_selectLabelDisabled_d3qr3_25",jE="_button_d3qr3_29",LE="_buttonOpen_d3qr3_71",OE="_icon_d3qr3_72",HE="_buttonDisabled_d3qr3_77",UE="_multiSelect_d3qr3_86",WE="_description_d3qr3_106",ZE="_descriptionInvalid_d3qr3_116",GE="_descriptionDisabled_d3qr3_120",qE="_popover_d3qr3_124",YE="_listBox_d3qr3_151",JE="_listBoxItem_d3qr3_158",QE="_listBoxItemSelected_d3qr3_185",XE="_listBoxItemDisabled_d3qr3_193",eB="_listBoxItemFocused_d3qr3_203",tB="_listBoxItemFocusVisible_d3qr3_207",uB="_listBoxItemCheckmark_d3qr3_212",nB="_selectContainer_d3qr3_217",rB="_selectValueTag_d3qr3_223",aB="_selectValueTagDisabled_d3qr3_240",iB="_truncate_d3qr3_247",lB="_clearButton_d3qr3_253",oB="_fieldError_d3qr3_280",sB="_checkboxContainer_d3qr3_304",dB="_checkbox_d3qr3_304",J={tokens:zE,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--border-strong":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--layer-02":"light-dark(#ffffff, #383838)","--border-invalid":"light-dark(#e62323, #e62323)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--layer-selected-hover-02":"light-dark(#cccccc, #5d5d5d)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-invalid":"light-dark(#e62323, #e62323)",selectAllButton:NE,selectLabel:VE,selectLabelDisabled:_E,button:jE,buttonOpen:LE,icon:OE,buttonDisabled:HE,multiSelect:UE,description:WE,descriptionInvalid:ZE,descriptionDisabled:GE,popover:qE,listBox:YE,listBoxItem:JE,listBoxItemSelected:QE,listBoxItemDisabled:XE,listBoxItemFocused:eB,listBoxItemFocusVisible:tB,listBoxItemCheckmark:uB,selectContainer:nB,selectValueTag:rB,selectValueTagDisabled:aB,truncate:iB,clearButton:lB,fieldError:oB,checkboxContainer:sB,checkbox:dB},k2=({item:e,state:t})=>{const u=ce.useRef(null),{optionProps:n,isDisabled:r,isSelected:a,isFocused:i,isFocusVisible:l}=If({key:e.key},t,u);return h.jsxs("li",{...n,ref:u,className:W(J.listBoxItem,{[J.listBoxItemDisabled]:r,[J.listBoxItemFocused]:i,[J.listBoxItemFocusVisible]:l,[J.listBoxItemSelected]:a}),children:[t.selectionMode==="multiple"&&h.jsx("div",{className:J.checkboxContainer,children:h.jsx("input",{className:J.checkbox,type:"checkbox",disabled:r,checked:a,readOnly:!0})}),typeof e.rendered=="string"?h.jsx("span",{className:"truncate block",children:e.rendered}):e.rendered,a&&t.selectionMode==="single"?h.jsx(uC,{size:20,className:J.listBoxItemCheckmark}):null]})},cB=({section:e,state:t})=>{const{itemProps:u,headingProps:n,groupProps:r}=Rf({heading:e.rendered,"aria-label":e["aria-label"]});return h.jsxs("li",{...u,className:"",children:[e.rendered&&h.jsx("span",{...n,className:J.selectSectionHeading,children:e.rendered}),h.jsx("ul",{...r,children:Array.from(e.childNodes).map(a=>h.jsx(k2,{item:a,state:t},a.key))})]})},fB=e=>{const t=ce.useRef(null),{listBoxRef:u=t,state:n}=e,{listBoxProps:r}=wf({...e,disallowEmptySelection:!0},n,u);return h.jsx("ul",{...r,className:J.listBox,ref:u,children:Array.from(n.collection).map(a=>a.type==="section"?h.jsx(cB,{section:a,state:n},a.key):h.jsx(k2,{item:a,state:n},a.key))})},pB=({isOpen:e,onClose:t,children:u,className:n,triggerRef:r})=>{const a=ce.useRef(null),{overlayProps:i}=Fl({isOpen:e,onClose:t,isDismissable:!0,shouldCloseOnBlur:!0},a),{overlayProps:l,updatePosition:s}=wl({isOpen:e,offset:0,crossOffset:0,containerPadding:0,overlayRef:a,targetRef:r,placement:"bottom start"});ce.useLayoutEffect(()=>{e&&requestAnimationFrame(()=>{s()})},[e,s]);const d={...l.style,"--select-width":r.current?`${r.current.offsetWidth}px`:void 0};return h.jsx(L3,{children:h.jsx("div",{..._(i,l),ref:a,className:n,style:d,children:h.jsxs(Yn,{restoreFocus:!0,children:[h.jsx(Wr,{onDismiss:t}),u,h.jsx(Wr,{onDismiss:t})]})})})};function mB(e,t,u){const{disallowEmptySelection:n,isDisabled:r}=e,a=tn({usage:"search",sensitivity:"base"}),i=o.useMemo(()=>new nn(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=Ml({isDisabled:r,type:"listbox"},t,u),d=$=>{const{selectedKeys:D,selectionMode:y}=t,x=D.values().next().value;if(y==="single")switch($.key){case"ArrowLeft":{$.preventDefault();const C=D.size>0?i.getKeyAbove(x):i.getFirstKey();C&&t.setSelectedKeys([C]);break}case"ArrowRight":{$.preventDefault();const C=D.size>0?i.getKeyBelow(x):i.getFirstKey();C&&t.setSelectedKeys([C]);break}}},{typeSelectProps:c}=Af({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKeys([$])}}),{labelProps:f,fieldProps:p}=ou({...e,labelElementType:"span"});c.onKeyDown=c.onKeyDownCapture,delete c.onKeyDownCapture;const m=U(e,{labelable:!0}),b=_(c,l,p),g=oe();return{labelProps:{...f,onClick:()=>{var $;e.isDisabled||(($=u.current)==null||$.focus(),dd("keyboard"))}},triggerProps:_(m,{...b,onKeyDown:lt(b.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,g].filter(Boolean).join(" "),onFocus($){t.isFocused||(e.onFocus&&e.onFocus($),t.setFocused(!0))},onBlur($){t.isOpen||(e.onBlur&&e.onBlur($),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...s,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:$=>{$.currentTarget.contains($.relatedTarget)||(e.onBlur&&e.onBlur($),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],b["aria-label"]&&!p["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function bB(e){const{collection:t,disabledKeys:u,selectionManager:n,selectionManager:{setSelectedKeys:r,selectedKeys:a,selectionMode:i}}=xa(e),l=[],s=a.size!==0?Array.from(a).map(d=>{const c=t.getItem(d);return c||l.push(d),c}).filter(Boolean):null;return l.length&&console.warn(`Select: Keys "${l.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:u,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:r.bind(n),selectedItems:s}}function hB(e){var l;const{selectionMode:t}=e,[u,n]=o.useState(!1),r=Hl(e),a=bB({...e,onSelectionChange:s=>{const{onSelectionChange:d}=e;d!=null&&d(s==="all"?Array.from(a.collection.getKeys()):t==="single"?s.values().next().value:Array.from(s)),t==="single"&&r.close()}}),i=Ct({...e,validationBehavior:"native",value:t==="single"?(l=a.selectedKeys.values().next().value)==null?void 0:l.toString():a.selectedKeys});return o.useEffect(()=>{t==="single"&&a.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},[a.selectedKeys.size,t,i]),{...a,...r,close(){r.close(),a.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},open(){a.collection.size!==0&&r.open()},toggle(s){a.collection.size!==0&&r.toggle(s)},isFocused:u,setFocused:n,...i}}const $B='"../theme/tokens.css"',gB="_button_q3kzd_4",DB="_tag_q3kzd_19",vB="_dismissable_q3kzd_38",yB="_tagText_q3kzd_46",xB="_tagList_q3kzd_51",xn={tokens:$B,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--field-active-01":"light-dark(#d9d9d9, #383838)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--icon-primary":"light-dark(#171717, #f2f2f2)",button:gB,tag:DB,dismissable:vB,tagText:yB,tagList:xB},P2=({children:e,...t})=>h.jsx(k7,{...t,children:h.jsx(r2,{className:xn.tagList,children:e})}),S2=({children:e,dismissable:t,className:u,...n})=>h.jsxs(A7,{className:W(xn.tag,t&&xn.dismissable,u),...n,children:[h.jsx("div",{className:xn.tagText,children:e}),t&&h.jsx(ze,{variant:"icon",size:"small",className:xn.button,slot:"remove",children:h.jsx(du,{size:20})})]});function CB(e){const t=(i,l)=>{let s;return(d,c)=>{clearTimeout(s),s=setTimeout(()=>{i(d,c)},l)}},[u,n]=o.useState(0),[r,a]=o.useState(0);return o.useEffect(()=>{if(!e)return;const i=new ResizeObserver(t(l=>{const{inlineSize:s,blockSize:d}=l[0].contentBoxSize[0];n(s),a(d)},500));return i.observe(e),()=>{i.disconnect()}},[e]),{width:u,height:r}}function EB({autoComplete:e,name:t,isDisabled:u,isRequired:n,selectRef:r},a,i){var s;const{visuallyHiddenProps:l}=Xn();return Un(r,a.selectedKeys,a.setSelectedKeys),Qn({validationBehavior:"native",focus:()=>{var d;return(d=i.current)==null?void 0:d.focus()}},a,r),{containerProps:{...l,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:e,disabled:u,required:n,name:t,value:a.selectionMode==="single"?(s=a.selectedKeys.values().next().value)==null?void 0:s.toString():Array.from(a.selectedKeys).map(d=>d.toString()),onChange:d=>a.setSelectedKeys(d.target.value)}}}function BB(e){var d;const{state:t,triggerRef:u,label:n,name:r,isDisabled:a}=e,i=o.useRef(null),{containerProps:l,selectProps:s}=EB({...e,selectRef:i},t,u);return t.collection.size<=300?h.jsx("div",{...l,"data-testid":"hidden-select-container",children:h.jsxs("label",{children:[n,h.jsxs("select",{...s,ref:i,multiple:t.selectionMode==="multiple",children:[h.jsx("option",{}),[...t.collection.getKeys()].map(c=>{const f=t.collection.getItem(c);return f&&f.type==="item"?h.jsx("option",{value:f.key,children:f.textValue},f.key):null})]})]})}):r?h.jsx("input",{type:"hidden",autoComplete:s.autoComplete,name:r,disabled:a,value:t.selectionMode==="single"?((d=t.selectedKeys.values().next().value)==null?void 0:d.toString())??"":Array.from(t.selectedKeys).map(c=>c.toString())??""}):null}const A2=ce.forwardRef(({selectionMode:e="single",...t},u)=>{var A;const n={selectionMode:e,...t},{autoFocus:r,className:a,excludeFromTabOrder:i,isClearable:l=!0,isDisabled:s,isSelectableAll:d,label:c,description:f,placeholder:p,showTags:m,errorMessage:b}=n,g=o.useRef(null),$=xe(u),D=!l,y=hB({...n,disallowEmptySelection:D}),{labelProps:x,triggerProps:C,valueProps:B,menuProps:P}=mB({...n,disallowEmptySelection:D},y,$),{buttonProps:T}=El({...C,autoFocus:r,excludeFromTabOrder:i,isDisabled:s},$),v=y.isOpen||y.selectedItems,F=y.selectionManager.isSelectAll,S=!F&&!y.selectionManager.isEmpty,k=l&&y.selectedItems,M=d,E=()=>y.selectionManager.clearSelection(),V=()=>y.selectionManager.toggleSelectAll(),R=z=>y.selectionManager.toggleSelection(z),{width:w}=CB($.current),I=z=>h.jsxs("div",{className:W(J.selectValueTag,{[J.selectValueTagDisabled]:s}),children:[h.jsx("span",{className:J.truncate,style:{maxWidth:w-64},children:z.length>1?`${z.length} valda`:z[0].textValue}),h.jsx("button",{disabled:s,"aria-label":"Rensa alla",className:J.clearButton,onClick:()=>{var K;E(),(K=$==null?void 0:$.current)==null||K.focus()},children:h.jsx(du,{width:20,height:20})})]});return o.useEffect(()=>{g.current&&(g.current.indeterminate=S)},[S]),h.jsxs(h.Fragment,{children:[h.jsx(BB,{isDisabled:n.isDisabled,isRequired:n.isRequired,name:n.name,state:y,triggerRef:$,label:n.label+"-hidden"}),h.jsxs(Ul,{...n,className:W([J.multiSelect],{[J.multiSelectOpen]:y.isOpen},a),children:[h.jsxs("div",{className:J.multiSelect,children:[c&&h.jsx(rn,{...x,slot:"label",className:W(J.selectLabel,{[J.selectLabelActive]:v,[J.selectLabelDisabled]:s}),children:c}),f&&h.jsx("span",{className:W(J.description,{[J.descriptionDisabled]:s,[J.descriptionInvalid]:!!b}),slot:"description",children:f}),h.jsx(tr,{className:J.fieldError,children:b}),y.displayValidation.validationErrors.length?h.jsx("div",{className:J.fieldError,children:b||y.displayValidation.validationErrors.map(z=>h.jsx(ce.Fragment,{children:z},z))}):null,h.jsx(Qo,{focusRingClass:J.buttonFocused,autoFocus:r,children:h.jsxs("div",{className:J.selectContainer,children:[h.jsxs("button",{...T,..._,className:W(J.button,{[J.buttonOpen]:y.isOpen,[J.buttonActive]:y.selectedItems,[J.buttonDisabled]:s}),"data-invalid":y.displayValidation.validationErrors.length>0||y.displayValidation.isInvalid,type:"button",ref:$,children:[y.selectionMode==="multiple"&&!y.selectedItems?h.jsx("span",{children:p}):null,y.selectionMode!=="multiple"?h.jsx("span",{children:((A=y.selectedItems)==null?void 0:A.length)===1?y.selectedItems[0].textValue:p}):null,h.jsx("div",{className:J.icon,"aria-hidden":"true",children:h.jsx(na,{size:20})})]}),y.selectionMode==="multiple"&&y.selectedItems?h.jsx("span",{...B,children:I(y.selectedItems)}):null]})}),y.isOpen&&h.jsxs(pB,{isOpen:y.isOpen,onClose:y.close,className:J.popover,triggerRef:$,children:[M&&h.jsxs(h.Fragment,{children:[d&&h.jsx(Qo,{focusRingClass:J.listItemfocusRing,children:h.jsx("button",{type:"button",onClick:V,className:J.selectAllButton,children:h.jsxs("div",{className:J.listBoxItem,tabIndex:-1,children:[h.jsx("div",{className:J.checkboxContainer,children:h.jsx("input",{className:J.checkbox,type:"checkbox",checked:F,ref:g,readOnly:!0,tabIndex:-1})}),h.jsx("span",{children:"Select All"})]})})}),h.jsx("div",{className:"selectDivider"})]}),h.jsx(fB,{...P,state:y}),k&&!1]})]}),m&&y.selectedItems!==null&&h.jsx(P2,{"aria-label":"Selected Items",selectionBehavior:"toggle",onRemove:z=>R([...z][0]),..._,children:h.jsx(r2,{items:y.selectedItems,children:z=>h.jsx(S2,{textValue:z.textValue,id:z.key,dismissable:!0,isDisabled:s,children:z.textValue},z.key)})})]})]})}),w2=ce.forwardRef(({options:e,...t},u)=>h.jsx(A2,{...t,items:e,ref:u,children:n=>n.children?h.jsx(zD,{items:n.children,title:n.name,children:r=>h.jsx(ds,{textValue:r.textValue,children:r.name})},n.name):h.jsx(ds,{textValue:n.textValue,children:n.name})}));w2.displayName="Select";const kB='"../theme/tokens.css"',PB="_skeleton_9g8pz_14",SB="_circle_9g8pz_24",AB="_wave_9g8pz_29",si={tokens:kB,"--field-skeleton":"light-dark(#f2f2f2, #262626)","--background-inverse-01":"light-dark(#171717, #f2f2f2)",skeleton:PB,circle:SB,wave:AB},wB=({variant:e="rectangular",width:t,height:u,animation:n="wave"})=>(e==="circle"&&u!==void 0&&console.warn("Height is not allowed when using circle, control size with width"),h.jsx("div",{className:W(si.skeleton,si[e],n&&si[n]),style:{width:t,height:u}})),FB='"../theme/tokens.css"',TB="_container_32v8g_4",IB="_spinner_32v8g_8",RB="_rotating_32v8g_1",KB="_dark_32v8g_18",MB="_vsHidden_32v8g_22",Dr={tokens:FB,"--icon-primary":"light-dark(#171717, #f2f2f2)","--icon-on-color":"light-dark(#ffffff, #ffffff)",container:TB,spinner:IB,rotating:RB,dark:KB,vsHidden:MB},zB=({small:e,dark:t})=>h.jsxs("div",{className:Dr.container,role:"status",children:[h.jsx(aC,{className:W(Dr.spinner,t&&Dr.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),h.jsx("span",{className:Dr.vsHidden,children:"Laddar, vänligen vänta."})]}),NB='"../theme/tokens.css"',VB="_cell_1nc0z_4",_B="_table_1nc0z_11",jB="_narrow_1nc0z_15",LB="_striped_1nc0z_30",OB="_row_1nc0z_30",HB="_tableHeader_1nc0z_53",UB="_column_1nc0z_58",xu={tokens:NB,"--font-family":'"Inter", sans-serif',"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-accent-hover-01":"light-dark(#cccccc, #474747)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)",cell:VB,table:_B,narrow:jB,striped:LB,row:OB,tableHeader:HB,column:UB},WB=({narrow:e,striped:t,className:u,...n})=>{const r=W(xu.table,e&&xu.narrow,t&&xu.striped,u);return h.jsx(i7,{className:r,...n})},ZB=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:r}=u2();return h.jsxs(o7,{className:xu.tableHeader,children:[r&&h.jsx(Gi,{}),u==="toggle"&&h.jsx(Gi,{width:50,children:n==="multiple"&&h.jsx(Fa,{slot:"selection"})}),h.jsx(xt,{items:e,children:t})]})},GB=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:r,allowsDragging:a}=u2();return h.jsxs(p7,{id:e,className:W(xu.row),...n,children:[a&&h.jsx(qi,{children:h.jsx(jt,{slot:"drag",children:h.jsx(rC,{size:20})})}),r==="toggle"&&h.jsx(qi,{children:h.jsx(Fa,{slot:"selection"})}),h.jsx(xt,{items:t,children:u})]})},Gi=({children:e,...t})=>h.jsx(d7,{className:xu.column,...t,children:({allowsSorting:u,sortDirection:n})=>h.jsxs(h.Fragment,{children:[e,u&&h.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:n==="ascending"?h.jsx(tC,{size:20}):h.jsx(X7,{size:20})})]})}),qi=({...e})=>h.jsx(m7,{className:xu.cell,...e}),qB='"../theme/tokens.css"',YB="_container_1n91k_4",JB="_list_1n91k_8",QB="_listItem_1n91k_14",XB="_panel_1n91k_42",vr={tokens:qB,"--font-family":'"Inter", sans-serif',"--border-subtle":"light-dark(#bfbfbf, #383838)","--border-brand":"light-dark(#143c50, #143c50)","--focus":"0 0 0 2px white, 0 0 0 4px black","--breakpoint-sm":"(max-width: 767px)",container:YB,list:JB,listItem:QB,panel:XB},ek=({tabs:e,label:t,defaultSelected:u,children:n})=>{const r=ce.Children.toArray(n);if(r.length!==e.length)throw new Error(`The number of children must match the number of tabs. Children: ${r.length} Tabs: ${e.length}`);const a=r.reduce((i,l,s)=>{var d;if(ce.isValidElement(l)){const c=(d=e[s])==null?void 0:d.toLowerCase();c&&(i[c]=ce.cloneElement(l,{id:c}))}return i},{});return h.jsxs(D7,{orientation:"vertical",defaultSelectedKey:u&&u.toLowerCase(),className:vr.container,children:[h.jsx(y7,{"aria-label":t,className:vr.list,children:e.map(i=>h.jsx(C7,{id:i.toLowerCase(),className:vr.listItem,children:i},i))}),e.map(i=>h.jsx(E7,{id:i.toLowerCase(),className:vr.panel,children:a[i.toLowerCase()]},i))]})},tk='"../theme/tokens.css"',uk="_textArea_1ssro_4",nk="_count_1ssro_50",rk="_countExceeded_1ssro_58",yr={tokens:tk,"--focus":"0 0 0 2px white, 0 0 0 4px black","--field-disabled":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-invalid":"light-dark(#e62323, #e62323)","--border-invalid":"light-dark(#e62323, #e62323)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)",textArea:uk,count:nk,countExceeded:rk},ak=({label:e,description:t,rows:u,maxLength:n,minLength:r,errorMessage:a,showCounter:i,validate:l,className:s,...d})=>{const[c,f]=ce.useState(d.defaultValue??d.value??""),p=g=>{const $=g.target.value;f($)},m=()=>n?h.jsxs("span",{className:W(yr.count,c.length>n&&yr.countExceeded),children:[c.length," / ",n]}):i?h.jsx("span",{className:yr.count,children:c.length}):null,b=g=>{const $=n&&g.length>n?`Du har angett ${g.length-n} tecken för mycket. Fältet är begränsat till ${n} tecken.`:null,D=r&&g.length<r?`Du har angett ${Math.abs(g.length-r)} tecken för lite. Fältet kräver åtminstone ${r} tecken.`:null,y=l?l(g):null;return $||D||y||!0};return h.jsx(Ul,{className:W(Ue.inputField,s),validate:b,...d,children:h.jsxs(wu,{label:e,description:t,errorMessage:a,children:[h.jsx(m,{}),h.jsx(Xy,{className:yr.textArea,rows:u,onFocus:p,onChange:p})]})})},ik='"../theme/tokens.css"',lk="_toastRegion_1l2ca_52",ok="_toast_1l2ca_52",sk="_success_1l2ca_95",dk="_info_1l2ca_103",ck="_important_1l2ca_111",fk="_warning_1l2ca_119",pk="_icon_1l2ca_127",mk="_toastContent_1l2ca_137",bk="_toastMessage_1l2ca_144",hk="_slideInTop_1l2ca_1",$k="_slideInEnd_1l2ca_1",gk="_slideOutTop_1l2ca_1",Dk="_slideOutEnd_1l2ca_1",Vu={tokens:ik,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--notification-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--notification-border-success":"light-dark(#008d3c, #008d3c)","--notification-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--notification-border-info":"light-dark(#0066cc, #0066cc)","--notification-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))","--notification-border-important":"light-dark(#fdb813, #fdb813)","--notification-border-warning":"light-dark(#e62323, #e62323)","--notification-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--breakpoint-md":"(min-width: 768px)","--focus":"0 0 0 2px white, 0 0 0 4px black",toastRegion:lk,toast:ok,success:sk,info:dk,important:ck,warning:fk,icon:pk,toastContent:mk,toastMessage:bk,slideInTop:hk,slideInEnd:$k,slideOutTop:gk,slideOutEnd:Dk},vk={success:s2,info:d2,important:o2,warning:c2},F2={wrapUpdate(e){"startViewTransition"in document?document.startViewTransition(()=>{Lt.flushSync(e)}):e()},maxVisibleToasts:5};function T2(e={}){const{maxVisibleToasts:t=1,wrapUpdate:u}=e,n=o.useMemo(()=>new u5({maxVisibleToasts:t,wrapUpdate:u}),[t,u]);return t5(n)}const I2=new u5(F2),yk=e=>{const t=t5(I2);return t.visibleToasts.length>0?Lt.createPortal(h.jsx(ao,{...e,state:t}),document.body):null},xk=({children:e,...t})=>{const u=T2(F2);return h.jsxs(h.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&h.jsx(ao,{...t,state:u})]})};function ao({state:e,...t}){const u=o.useRef(null),{regionProps:n}=oy(t,e,u);return h.jsx("div",{...n,ref:u,className:Vu.toastRegion,children:e.visibleToasts.map(r=>h.jsx(R2,{toast:r,state:e},r.key))})}function R2({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:r,titleProps:a,closeButtonProps:i}=iy(t,e),l=vk[t.toast.content.type];return h.jsxs("div",{...n,ref:u,className:W(Vu.toast,Vu[t.toast.content.type]),style:{viewTransitionName:t.toast.key},children:[h.jsxs("div",{className:Vu.toastContent,...r,children:[h.jsx(l,{className:Vu.icon,size:20,"aria-hidden":!0}),h.jsxs("div",{children:[h.jsx("p",{className:Vu.toastMessage,...a,children:t.toast.content.message}),t.toast.content.children]})]}),h.jsx(ze,{variant:"icon",...i,children:h.jsx(du,{size:20,"aria-hidden":!0})})]})}const Ck='"../theme/tokens.css"',Ek="_dateField_3fx7w_4",Bk="_isDisabled_3fx7w_12",kk="_inputField_3fx7w_16",Pk="_segment_3fx7w_45",Sk="_label_3fx7w_66",Ak="_description_3fx7w_72",wk="_fieldError_3fx7w_78",hu={tokens:Ck,"--font-family":'"Inter", sans-serif',"--text-placeholder":"light-dark(#a6a6a6, #525252)","--text-invalid":"light-dark(#e62323, #e62323)","--border-invalid":"light-dark(#e62323, #e62323)","--focus":"0 0 0 2px white, 0 0 0 4px black","--field-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)",dateField:Ek,isDisabled:Bk,inputField:kk,segment:Pk,label:Sk,description:Ak,fieldError:wk};function Fk({label:e,description:t,errorMessage:u,className:n,...r}){return h.jsxs(Mx,{...r,className:W(hu.dateField,r.isDisabled&&hu.isDisabled,n),children:[h.jsx(rn,{className:hu.label,children:e}),t&&h.jsx(Bt,{slot:"description",className:hu.description,children:t}),h.jsx(tr,{className:hu.fieldError,children:u}),h.jsx(ta,{className:hu.inputField,children:a=>h.jsx(ua,{segment:a,className:hu.segment})})]})}const Tk='"../theme/tokens.css"',Ns={tokens:Tk,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--size-03":"1rem","--line-height-03":"1.25rem","--line-height-04":"1.375rem","--line-height-05":"1.5rem","body-01":"_body-01_q4109_4","body-02":"_body-02_q4109_5"},Vs="span",Ik=({children:e,className:t,variant:u="body-02",isExpressive:n=!1,elementType:r=Vs,...a})=>{const i={"body-01":Ns["body-01"],"body-02":Ns["body-02"]},l={className:W(i[u],t),elementType:r||Vs,...n&&{"data-expressive":!0},...a};return h.jsx(Bt,{...l,children:e})},Rk='"../theme/tokens.css"',Kk="_h1_1eh26_4",Mk="_h2_1eh26_5",zk="_h3_1eh26_6",Nk="_h4_1eh26_7",Vk="_h5_1eh26_8",_k="_h6_1eh26_9",Mu={tokens:Rk,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--size-03":"1rem","--size-04":"1.125rem","--size-05":"1.25rem","--size-06":"1.5rem","--size-07":"1.75rem","--size-09":"2.25rem","--line-height-04":"1.375rem","--line-height-05":"1.5rem","--line-height-06":"1.75rem","--line-height-07":"2rem","--line-height-08":"2.25rem","--line-height-09":"2.5rem","--line-height-10":"2.75rem",h1:Kk,h2:Mk,h3:zk,h4:Nk,h5:Vk,h6:_k},jk=({children:e,className:t,isExpressive:u=!1,level:n=3,elementType:r,...a})=>{const i=r&&parseInt(r.split("h")[1]);return h.jsx(Aa,{level:i||n,className:W([Mu.h1,Mu.h2,Mu.h3,Mu.h4,Mu.h5,Mu.h6][n-1],t),...u&&{"data-expressive":!0},...a,children:e})},Lk='"../theme/tokens.css"',_s={tokens:Lk,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--size-02":"0.875rem","--line-height-02":"1.125rem","--size-03":"1rem","--line-height-03":"1.25rem","label-01":"_label-01_sua9e_4","label-02":"_label-02_sua9e_5"},js="label",Yi=({children:e,className:t,variant:u="label-01",elementType:n=js,...r})=>{const a={"label-01":_s["label-01"],"label-02":_s["label-02"]},i={className:W(a[u],t),elementType:n||js,...r};return h.jsx(rn,{...i,children:e})},Ok='"../theme/tokens.css"',Hk="_progressBar_3xf16_4",Uk="_indeterminate_3xf16_1",Wk="_label_3xf16_12",Zk="_value_3xf16_16",Gk="_bar_3xf16_20",qk="_fill_3xf16_26",hn={tokens:Ok,"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--signal-green-140":"#008d3c",progressBar:Hk,indeterminate:Uk,label:Wk,value:Zk,bar:Gk,fill:qk},Yk=({label:e,labelProps:t,showValueLabel:u=!1,...n})=>h.jsx(fy,{...n,className:W(hn.progressBar,n.className),children:({percentage:r,valueText:a,isIndeterminate:i})=>h.jsxs(h.Fragment,{children:[e&&h.jsx(Yi,{elementType:"span",...t,className:W(t==null?void 0:t.className,hn.label),children:e}),u&&h.jsx(Yi,{elementType:"span",...t,id:"",className:W(t==null?void 0:t.className,hn.value),children:a}),h.jsx("div",{className:hn.bar,children:h.jsx("div",{className:hn.fill,style:{width:`${i?50:r}%`}})})]})});exports.Accordion=R7;exports.AccordionItem=cC;exports.Breadcrumbs=vC;exports.Button=ze;exports.ButtonGroup=q7;exports.Calendar=m2;exports.Card=PC;exports.Cell=qi;exports.Checkbox=Fa;exports.CheckboxGroup=ZC;exports.Column=Gi;exports.ComboBox=r9;exports.ComboBoxItem=a9;exports.DateField=Fk;exports.DatePicker=C9;exports.DateRangePicker=x9;exports.Dialog=DE;exports.Dropdown=$2;exports.DropdownItem=g2;exports.FileUpload=K9;exports.Flex=j9;exports.FlexItem=D2;exports.GlobalToastRegion=yk;exports.Grid=Z9;exports.GridItem=G9;exports.Header=B2;exports.Heading=jk;exports.InfoBanner=l8;exports.InputWrapper=wu;exports.Label=Yi;exports.Layout=eu;exports.Link=no;exports.LinkButton=fE;exports.Logo=E2;exports.ModalTrigger=yE;exports.ProgressBar=Yk;exports.Radio=PE;exports.RadioGroup=kE;exports.RangeCalendar=b2;exports.RouterProvider=Ws;exports.Row=GB;exports.SearchField=ME;exports.Select=w2;exports.SelectComponent=A2;exports.Sidebar=C2;exports.SidebarLink=ro;exports.Skeleton=wB;exports.Spinner=zB;exports.Table=WB;exports.TableBody=f7;exports.TableHeader=ZB;exports.Tabs=ek;exports.Tag=S2;exports.TagGroup=P2;exports.Text=Ik;exports.TextArea=ak;exports.TextField=UC;exports.Toast=R2;exports.ToastProvider=xk;exports.ToastRegion=ao;exports.Tooltip=v2;exports.TooltipTrigger=y2;exports.dossNrRegEx=p2;exports.ssnRegEx=f2;exports.toastQueue=I2;exports.useToastState=T2;
|