@theroutingcompany/components 0.0.17 → 0.0.18
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/dist/trc-components.es.js +5727 -6110
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +225 -225
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +66 -66
- package/types/components/FormControl/FormControl.d.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(F,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react"),require("react-dom"),require("styled-components"),require("react-is"),require("@material-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","styled-components","react-is","@material-ui/icons"],c):(F=typeof globalThis<"u"?globalThis:F||self,c(F["trc-components"]={},F.React,F.ReactDOM,F.styled,F.ReactIs,F.icons))})(this,function(F,c,st,k,Xt,Se){"use strict";function Tl(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const U=Tl(c),kl=Tl(st);function ky(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var o=[null];o.push.apply(o,arguments);var a=Function.bind.apply(t,o);return new a}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Ar={},Dy={get exports(){return Ar},set exports(e){Ar=e}},Mr={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.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 Dl;function Cy(){if(Dl)return Mr;Dl=1;var e=c,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(s,l,d){var u,p={},m=null,h=null;d!==void 0&&(m=""+d),l.key!==void 0&&(m=""+l.key),l.ref!==void 0&&(h=l.ref);for(u in l)n.call(l,u)&&!a.hasOwnProperty(u)&&(p[u]=l[u]);if(s&&s.defaultProps)for(u in l=s.defaultProps,l)p[u]===void 0&&(p[u]=l[u]);return{$$typeof:t,type:s,key:m,ref:h,props:p,_owner:o.current}}return Mr.Fragment=r,Mr.jsx=i,Mr.jsxs=i,Mr}var Nr={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,18 +14,18 @@
|
|
|
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
|
|
18
|
-
`+B+w}}var te=!1,J;{var ie=typeof WeakMap=="function"?WeakMap:Map;J=new ie}function re(w,j){if(!w||te)return"";{var
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+ue[
|
|
17
|
+
*/var Cl;function Iy(){return Cl||(Cl=1,process.env.NODE_ENV!=="production"&&function(){var e=c,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b=Symbol.iterator,g="@@iterator";function v(w){if(w===null||typeof w!="object")return null;var j=b&&w[b]||w[g];return typeof j=="function"?j:null}var $=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(w){{for(var j=arguments.length,H=new Array(j>1?j-1:0),se=1;se<j;se++)H[se-1]=arguments[se];_("error",w,H)}}function _(w,j,H){{var se=$.ReactDebugCurrentFrame,he=se.getStackAddendum();he!==""&&(j+="%s",H=H.concat([he]));var ge=H.map(function(me){return String(me)});ge.unshift("Warning: "+j),Function.prototype.apply.call(console[w],console,ge)}}var y=!1,I=!1,N=!1,E=!1,D=!1,M;M=Symbol.for("react.module.reference");function V(w){return!!(typeof w=="string"||typeof w=="function"||w===n||w===a||D||w===o||w===d||w===u||E||w===h||y||I||N||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===p||w.$$typeof===i||w.$$typeof===s||w.$$typeof===l||w.$$typeof===M||w.getModuleId!==void 0))}function C(w,j,H){var se=w.displayName;if(se)return se;var he=j.displayName||j.name||"";return he!==""?H+"("+he+")":H}function L(w){return w.displayName||"Context"}function P(w){if(w==null)return null;if(typeof w.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case s:var j=w;return L(j)+".Consumer";case i:var H=w;return L(H._context)+".Provider";case l:return C(w,w.render,"ForwardRef");case p:var se=w.displayName||null;return se!==null?se:P(w.type)||"Memo";case m:{var he=w,ge=he._payload,me=he._init;try{return P(me(ge))}catch{return null}}}return null}var T=Object.assign,G=0,le,R,oe,q,z,O,W;function Z(){}Z.__reactDisabledLog=!0;function X(){{if(G===0){le=console.log,R=console.info,oe=console.warn,q=console.error,z=console.group,O=console.groupCollapsed,W=console.groupEnd;var w={configurable:!0,enumerable:!0,value:Z,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}G++}}function ce(){{if(G--,G===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},w,{value:le}),info:T({},w,{value:R}),warn:T({},w,{value:oe}),error:T({},w,{value:q}),group:T({},w,{value:z}),groupCollapsed:T({},w,{value:O}),groupEnd:T({},w,{value:W})})}G<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=$.ReactCurrentDispatcher,B;function Y(w,j,H){{if(B===void 0)try{throw Error()}catch(he){var se=he.stack.trim().match(/\n( *(at )?)/);B=se&&se[1]||""}return`
|
|
18
|
+
`+B+w}}var te=!1,J;{var ie=typeof WeakMap=="function"?WeakMap:Map;J=new ie}function re(w,j){if(!w||te)return"";{var H=J.get(w);if(H!==void 0)return H}var se;te=!0;var he=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ge;ge=ne.current,ne.current=null,X();try{if(j){var me=function(){throw Error()};if(Object.defineProperty(me.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(me,[])}catch($t){se=$t}Reflect.construct(w,[],me)}else{try{me.call()}catch($t){se=$t}w.call(me.prototype)}}else{try{throw Error()}catch($t){se=$t}w()}}catch($t){if($t&&se&&typeof $t.stack=="string"){for(var ue=$t.stack.split(`
|
|
19
|
+
`),Ie=se.stack.split(`
|
|
20
|
+
`),Ee=ue.length-1,Pe=Ie.length-1;Ee>=1&&Pe>=0&&ue[Ee]!==Ie[Pe];)Pe--;for(;Ee>=1&&Pe>=0;Ee--,Pe--)if(ue[Ee]!==Ie[Pe]){if(Ee!==1||Pe!==1)do if(Ee--,Pe--,Pe<0||ue[Ee]!==Ie[Pe]){var qe=`
|
|
21
|
+
`+ue[Ee].replace(" at new "," at ");return w.displayName&&qe.includes("<anonymous>")&&(qe=qe.replace("<anonymous>",w.displayName)),typeof w=="function"&&J.set(w,qe),qe}while(Ee>=1&&Pe>=0);break}}}finally{te=!1,ne.current=ge,ce(),Error.prepareStackTrace=he}var Or=w?w.displayName||w.name:"",Ty=Or?Y(Or):"";return typeof w=="function"&&J.set(w,Ty),Ty}function xe(w,j,H){return re(w,!1)}function ke(w){var j=w.prototype;return!!(j&&j.isReactComponent)}function We(w,j,H){if(w==null)return"";if(typeof w=="function")return re(w,ke(w));if(typeof w=="string")return Y(w);switch(w){case d:return Y("Suspense");case u:return Y("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case l:return xe(w.render);case p:return We(w.type,j,H);case m:{var se=w,he=se._payload,ge=se._init;try{return We(ge(he),j,H)}catch{}}}return""}var Fe=Object.prototype.hasOwnProperty,Ue={},He=$.ReactDebugCurrentFrame;function ze(w){if(w){var j=w._owner,H=We(w.type,w._source,j?j.type:null);He.setExtraStackFrame(H)}else He.setExtraStackFrame(null)}function it(w,j,H,se,he){{var ge=Function.call.bind(Fe);for(var me in w)if(ge(w,me)){var ue=void 0;try{if(typeof w[me]!="function"){var Ie=Error((se||"React class")+": "+H+" type `"+me+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof w[me]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ie.name="Invariant Violation",Ie}ue=w[me](j,me,se,H,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ee){ue=Ee}ue&&!(ue instanceof Error)&&(ze(he),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",se||"React class",H,me,typeof ue),ze(null)),ue instanceof Error&&!(ue.message in Ue)&&(Ue[ue.message]=!0,ze(he),x("Failed %s type: %s",H,ue.message),ze(null))}}}var Cr=Array.isArray;function Ge(w){return Cr(w)}function Le(w){{var j=typeof Symbol=="function"&&Symbol.toStringTag,H=j&&w[Symbol.toStringTag]||w.constructor.name||"Object";return H}}function _l(w){try{return gy(w),!1}catch{return!0}}function gy(w){return""+w}function vy(w){if(_l(w))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Le(w)),gy(w)}var bn=$.ReactCurrentOwner,mC={key:!0,ref:!0,__self:!0,__source:!0},yy,$y,wl;wl={};function hC(w){if(Fe.call(w,"ref")){var j=Object.getOwnPropertyDescriptor(w,"ref").get;if(j&&j.isReactWarning)return!1}return w.ref!==void 0}function bC(w){if(Fe.call(w,"key")){var j=Object.getOwnPropertyDescriptor(w,"key").get;if(j&&j.isReactWarning)return!1}return w.key!==void 0}function gC(w,j){if(typeof w.ref=="string"&&bn.current&&j&&bn.current.stateNode!==j){var H=P(bn.current.type);wl[H]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',P(bn.current.type),w.ref),wl[H]=!0)}}function vC(w,j){{var H=function(){yy||(yy=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",j))};H.isReactWarning=!0,Object.defineProperty(w,"key",{get:H,configurable:!0})}}function yC(w,j){{var H=function(){$y||($y=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",j))};H.isReactWarning=!0,Object.defineProperty(w,"ref",{get:H,configurable:!0})}}var $C=function(w,j,H,se,he,ge,me){var ue={$$typeof:t,type:w,key:j,ref:H,props:me,_owner:ge};return ue._store={},Object.defineProperty(ue._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ue,"_self",{configurable:!1,enumerable:!1,writable:!1,value:se}),Object.defineProperty(ue,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(ue.props),Object.freeze(ue)),ue};function xC(w,j,H,se,he){{var ge,me={},ue=null,Ie=null;H!==void 0&&(vy(H),ue=""+H),bC(j)&&(vy(j.key),ue=""+j.key),hC(j)&&(Ie=j.ref,gC(j,he));for(ge in j)Fe.call(j,ge)&&!mC.hasOwnProperty(ge)&&(me[ge]=j[ge]);if(w&&w.defaultProps){var Ee=w.defaultProps;for(ge in Ee)me[ge]===void 0&&(me[ge]=Ee[ge])}if(ue||Ie){var Pe=typeof w=="function"?w.displayName||w.name||"Unknown":w;ue&&vC(me,Pe),Ie&&yC(me,Pe)}return $C(w,ue,Ie,he,se,bn.current,me)}}var El=$.ReactCurrentOwner,xy=$.ReactDebugCurrentFrame;function Ir(w){if(w){var j=w._owner,H=We(w.type,w._source,j?j.type:null);xy.setExtraStackFrame(H)}else xy.setExtraStackFrame(null)}var Sl;Sl=!1;function Pl(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function _y(){{if(El.current){var w=P(El.current.type);if(w)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+w+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+w+"`."}return""}}function _C(w){{if(w!==void 0){var j=w.fileName.replace(/^.*[\\\/]/,""),H=w.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+j+":"+
|
|
25
|
+
Check your code at `+j+":"+H+"."}return""}}var wy={};function wC(w){{var j=_y();if(!j){var H=typeof w=="string"?w:w.displayName||w.name;H&&(j=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var G=AC(j);if(vy[G])return;vy[G]=!0;var se="";w&&w._owner&&w._owner!==_l.current&&(se=" It was passed a child from "+P(w._owner.type)+"."),Ir(w),$('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',G,se),Ir(null)}}function $y(w,j){{if(typeof w!="object")return;if(Ge(w))for(var G=0;G<w.length;G++){var se=w[G];wl(se)&&yy(se,j)}else if(wl(w))w._store&&(w._store.validated=!0);else if(w){var he=v(w);if(typeof he=="function"&&he!==w.entries)for(var ge=he.call(w),me;!(me=ge.next()).done;)wl(me.value)&&yy(me.value,j)}}}function MC(w){{var j=w.type;if(j==null||typeof j=="string")return;var G;if(typeof j=="function")G=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===c||j.$$typeof===p))G=j.propTypes;else return;if(G){var se=P(j);it(G,w.props,"prop",se,w)}else if(j.PropTypes!==void 0&&!xl){xl=!0;var he=P(j);$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&$("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function NC(w){{for(var j=Object.keys(w.props),G=0;G<j.length;G++){var se=j[G];if(se!=="children"&&se!=="key"){Ir(w),$("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",se),Ir(null);break}}w.ref!==null&&(Ir(w),$("Invalid attribute `ref` supplied to `React.Fragment`."),Ir(null))}}function _y(w,j,G,se,he,ge){{var me=V(w);if(!me){var ue="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(ue+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ce=OC(he);Ce?ue+=Ce:ue+=gy();var we;w===null?we="null":Ge(w)?we="array":w!==void 0&&w.$$typeof===t?(we="<"+(P(w.type)||"Unknown")+" />",ue=" Did you accidentally export a JSX literal instead of a component?"):we=typeof w,$("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",we,ue)}var Se=IC(w,j,G,he,ge);if(Se==null)return Se;if(me){var qe=j.children;if(qe!==void 0)if(se)if(Ge(qe)){for(var Or=0;Or<qe.length;Or++)$y(qe[Or],w);Object.freeze&&Object.freeze(qe)}else $("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $y(qe,w)}return w===n?NC(Se):MC(Se),Se}}function zC(w,j,G){return _y(w,j,G,!0)}function FC(w,j,G){return _y(w,j,G,!1)}var KC=FC,LC=zC;Nr.Fragment=n,Nr.jsx=KC,Nr.jsxs=LC}()),Nr}(function(e){process.env.NODE_ENV==="production"?e.exports=Sy():e.exports=Py()})(Ey);const Ty=Ar.Fragment,S=Ar.jsx,ee=Ar.jsxs;function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}function ky(e,t){const r=l.createContext(t);function n(a){const{children:i,...s}=a,c=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:c},i)}function o(a){const i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function Ie(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),c=r.length;r=[...r,i];function d(p){const{scope:m,children:h,...b}=p,g=(m==null?void 0:m[e][c])||s,v=l.useMemo(()=>b,Object.values(b));return l.createElement(g.Provider,{value:v},h)}function u(p,m){const h=(m==null?void 0:m[e][c])||s,b=l.useContext(h);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${a}\``)}return d.displayName=a+"Provider",[d,u]}const o=()=>{const a=r.map(i=>l.createContext(i));return function(s){const c=(s==null?void 0:s[e])||a;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,Dy(o,...t)]}function Dy(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((s,{useScope:c,scopeName:d})=>{const p=c(a)[`__scope${d}`];return{...s,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Cy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function kl(...e){return t=>e.forEach(r=>Cy(r,t))}function fe(...e){return l.useCallback(kl(...e),e)}function Q(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}const Te=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},Iy=W["useId".toString()]||(()=>{});let Oy=0;function Je(e){const[t,r]=W.useState(Iy());return Te(()=>{e||r(n=>n??String(Oy++))},[e]),e||(t?`radix-${t}`:"")}function Oe(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function Ye({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=Ay({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=Oe(r),c=l.useCallback(d=>{if(a){const p=typeof d=="function"?d(e):d;p!==e&&s(p)}else o(d)},[a,e,o,s]);return[i,c]}function Ay({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=Oe(t);return l.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const Ot=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),a=o.find(My);if(a){const i=a.props.children,s=o.map(c=>c===a?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return l.createElement(Yo,O({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(Yo,O({},n,{ref:t}),r)});Ot.displayName="Slot";const Yo=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...Ny(n,r.props),ref:kl(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});Yo.displayName="SlotClone";const Zo=({children:e})=>l.createElement(l.Fragment,null,e);function My(e){return l.isValidElement(e)&&e.type===Zo}function Ny(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...s)=>{a(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}const ae=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ot:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,O({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Dl(e,t){e&&st.flushSync(()=>e.dispatchEvent(t))}function zy(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Xo="dismissableLayer.update",Fy="dismissableLayer.pointerDownOutside",Ky="dismissableLayer.focusOutside";let Cl;const Il=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zr=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(Il),[p,m]=l.useState(null),h=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=fe(t,C=>m(C)),v=Array.from(u.layers),[_]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),$=v.indexOf(_),x=p?v.indexOf(p):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,A=x>=$,N=Vy(C=>{const M=C.target,V=[...u.branches].some(k=>k.contains(M));!A||V||(a==null||a(C),s==null||s(C),C.defaultPrevented||c==null||c())},h),E=jy(C=>{const M=C.target;[...u.branches].some(k=>k.contains(M))||(i==null||i(C),s==null||s(C),C.defaultPrevented||c==null||c())},h);return zy(C=>{x===u.layers.size-1&&(o==null||o(C),!C.defaultPrevented&&c&&(C.preventDefault(),c()))},h),l.useEffect(()=>{if(p)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Cl=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(p)),u.layers.add(p),Ol(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Cl)}},[p,h,n,u]),l.useEffect(()=>()=>{p&&(u.layers.delete(p),u.layersWithOutsidePointerEventsDisabled.delete(p),Ol())},[p,u]),l.useEffect(()=>{const C=()=>b({});return document.addEventListener(Xo,C),()=>document.removeEventListener(Xo,C)},[]),l.createElement(ae.div,O({},d,{ref:g,style:{pointerEvents:y?A?"auto":"none":void 0,...e.style},onFocusCapture:Q(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Q(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Q(e.onPointerDownCapture,N.onPointerDownCapture)}))}),Ly=l.forwardRef((e,t)=>{const r=l.useContext(Il),n=l.useRef(null),o=fe(t,n);return l.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),l.createElement(ae.div,O({},e,{ref:o}))});function Vy(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Al(Fy,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function jy(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Al(Ky,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Ol(){const e=new CustomEvent(Xo);document.dispatchEvent(e)}function Al(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Dl(o,a):o.dispatchEvent(a)}const Ry=zr,By=Ly,Jo="focusScope.autoFocusOnMount",Qo="focusScope.autoFocusOnUnmount",Ml={bubbles:!1,cancelable:!0},ea=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,c]=l.useState(null),d=Oe(o),u=Oe(a),p=l.useRef(null),m=fe(t,g=>c(g)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let g=function(_){if(h.paused||!s)return;const $=_.target;s.contains($)?p.current=$:At(p.current,{select:!0})},v=function(_){h.paused||!s||s.contains(_.relatedTarget)||At(p.current,{select:!0})};return document.addEventListener("focusin",g),document.addEventListener("focusout",v),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",v)}}},[n,s,h.paused]),l.useEffect(()=>{if(s){Fl.add(h);const g=document.activeElement;if(!s.contains(g)){const _=new CustomEvent(Jo,Ml);s.addEventListener(Jo,d),s.dispatchEvent(_),_.defaultPrevented||(Uy(Yy(Nl(s)),{select:!0}),document.activeElement===g&&At(s))}return()=>{s.removeEventListener(Jo,d),setTimeout(()=>{const _=new CustomEvent(Qo,Ml);s.addEventListener(Qo,u),s.dispatchEvent(_),_.defaultPrevented||At(g??document.body,{select:!0}),s.removeEventListener(Qo,u),Fl.remove(h)},0)}}},[s,d,u,h]);const b=l.useCallback(g=>{if(!r&&!n||h.paused)return;const v=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,_=document.activeElement;if(v&&_){const $=g.currentTarget,[x,y]=Wy($);x&&y?!g.shiftKey&&_===y?(g.preventDefault(),r&&At(x,{select:!0})):g.shiftKey&&_===x&&(g.preventDefault(),r&&At(y,{select:!0})):_===$&&g.preventDefault()}},[r,n,h.paused]);return l.createElement(ae.div,O({tabIndex:-1},i,{ref:m,onKeyDown:b}))});function Uy(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(At(n,{select:t}),document.activeElement!==r)return}function Wy(e){const t=Nl(e),r=zl(t,e),n=zl(t.reverse(),e);return[r,n]}function Nl(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function zl(e,t){for(const r of e)if(!Hy(r,{upTo:t}))return r}function Hy(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Gy(e){return e instanceof HTMLInputElement&&"select"in e}function At(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Gy(e)&&t&&e.select()}}const Fl=qy();function qy(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Kl(e,t),e.unshift(t)},remove(t){var r;e=Kl(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Kl(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Yy(e){return e.filter(t=>t.tagName!=="A")}const Fr=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?st.createPortal(l.createElement(ae.div,O({},o,{ref:t})),n):null});function Zy(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Ve=e=>{const{present:t,children:r}=e,n=Xy(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),a=fe(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:a}):null};Ve.displayName="Presence";function Xy(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Zy(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=bn(n.current);a.current=s==="mounted"?d:"none"},[s]),Te(()=>{const d=n.current,u=o.current;if(u!==e){const m=a.current,h=bn(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(u&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Te(()=>{if(t){const d=p=>{const h=bn(n.current).includes(p.animationName);p.target===t&&h&&st.flushSync(()=>c("ANIMATION_END"))},u=p=>{p.target===t&&(a.current=bn(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function bn(e){return(e==null?void 0:e.animationName)||"none"}let ta=0;function ra(){l.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:Ll()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Ll()),ta++,()=>{ta===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),ta--}},[])}function Ll(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Qe=function(){return Qe=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Qe.apply(this,arguments)};function Vl(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Jy(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var gn="right-scroll-bar-position",vn="width-before-scroll-bar",Qy="with-scroll-bars-hidden",e$="--removed-body-scroll-bar-size";function t$(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function r$(e,t){var r=l.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function n$(e,t){return r$(t||null,function(r){return e.forEach(function(n){return t$(n,r)})})}function o$(e){return e}function a$(e,t){t===void 0&&(t=o$);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(s){return a(s)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var s=r;r=[],s.forEach(a),i=r}var c=function(){var u=i;i=[],u.forEach(a)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(u){i.push(u),d()},filter:function(u){return i=i.filter(u),r}}}};return o}function i$(e){e===void 0&&(e={});var t=a$(null);return t.options=Qe({async:!0,ssr:!1},e),t}var jl=function(e){var t=e.sideCar,r=Vl(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return W.createElement(n,Qe({},r))};jl.isSideCarExport=!0;function s$(e,t){return e.useMedium(t),jl}var Rl=i$(),na=function(){},yn=W.forwardRef(function(e,t){var r=W.useRef(null),n=W.useState({onScrollCapture:na,onWheelCapture:na,onTouchMoveCapture:na}),o=n[0],a=n[1],i=e.forwardProps,s=e.children,c=e.className,d=e.removeScrollBar,u=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,b=e.inert,g=e.allowPinchZoom,v=e.as,_=v===void 0?"div":v,$=Vl(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,y=n$([r,t]),A=Qe(Qe({},$),o);return W.createElement(W.Fragment,null,u&&W.createElement(x,{sideCar:Rl,removeScrollBar:d,shards:p,noIsolation:h,inert:b,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),i?W.cloneElement(W.Children.only(s),Qe(Qe({},A),{ref:y})):W.createElement(_,Qe({},A,{className:c,ref:y}),s))});yn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},yn.classNames={fullWidth:vn,zeroRight:gn};var l$=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function c$(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=l$();return t&&e.setAttribute("nonce",t),e}function d$(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function u$(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var f$=function(){var e=0,t=null;return{add:function(r){e==0&&(t=c$())&&(d$(t,r),u$(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},p$=function(){var e=f$();return function(t,r){W.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Bl=function(){var e=p$(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},m$={left:0,top:0,right:0,gap:0},oa=function(e){return parseInt(e||"",10)||0},h$=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[oa(r),oa(n),oa(o)]},b$=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return m$;var t=h$(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},g$=Bl(),v$=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
28
|
-
.`.concat(
|
|
27
|
+
Check the top-level render call using <`+H+">.")}return j}}function Ey(w,j){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var H=wC(j);if(wy[H])return;wy[H]=!0;var se="";w&&w._owner&&w._owner!==El.current&&(se=" It was passed a child from "+P(w._owner.type)+"."),Ir(w),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',H,se),Ir(null)}}function Sy(w,j){{if(typeof w!="object")return;if(Ge(w))for(var H=0;H<w.length;H++){var se=w[H];Pl(se)&&Ey(se,j)}else if(Pl(w))w._store&&(w._store.validated=!0);else if(w){var he=v(w);if(typeof he=="function"&&he!==w.entries)for(var ge=he.call(w),me;!(me=ge.next()).done;)Pl(me.value)&&Ey(me.value,j)}}}function EC(w){{var j=w.type;if(j==null||typeof j=="string")return;var H;if(typeof j=="function")H=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===l||j.$$typeof===p))H=j.propTypes;else return;if(H){var se=P(j);it(H,w.props,"prop",se,w)}else if(j.PropTypes!==void 0&&!Sl){Sl=!0;var he=P(j);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function SC(w){{for(var j=Object.keys(w.props),H=0;H<j.length;H++){var se=j[H];if(se!=="children"&&se!=="key"){Ir(w),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",se),Ir(null);break}}w.ref!==null&&(Ir(w),x("Invalid attribute `ref` supplied to `React.Fragment`."),Ir(null))}}function Py(w,j,H,se,he,ge){{var me=V(w);if(!me){var ue="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(ue+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ie=_C(he);Ie?ue+=Ie:ue+=_y();var Ee;w===null?Ee="null":Ge(w)?Ee="array":w!==void 0&&w.$$typeof===t?(Ee="<"+(P(w.type)||"Unknown")+" />",ue=" Did you accidentally export a JSX literal instead of a component?"):Ee=typeof w,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ee,ue)}var Pe=xC(w,j,H,he,ge);if(Pe==null)return Pe;if(me){var qe=j.children;if(qe!==void 0)if(se)if(Ge(qe)){for(var Or=0;Or<qe.length;Or++)Sy(qe[Or],w);Object.freeze&&Object.freeze(qe)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Sy(qe,w)}return w===n?SC(Pe):EC(Pe),Pe}}function PC(w,j,H){return Py(w,j,H,!0)}function TC(w,j,H){return Py(w,j,H,!1)}var kC=TC,DC=PC;Nr.Fragment=n,Nr.jsx=kC,Nr.jsxs=DC}()),Nr}(function(e){process.env.NODE_ENV==="production"?e.exports=Cy():e.exports=Iy()})(Dy);const Oy=Ar.Fragment,S=Ar.jsx,ee=Ar.jsxs;function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},A.apply(this,arguments)}function Ay(e,t){const r=c.createContext(t);function n(a){const{children:i,...s}=a,l=c.useMemo(()=>s,Object.values(s));return c.createElement(r.Provider,{value:l},i)}function o(a){const i=c.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function Oe(e,t=[]){let r=[];function n(a,i){const s=c.createContext(i),l=r.length;r=[...r,i];function d(p){const{scope:m,children:h,...b}=p,g=(m==null?void 0:m[e][l])||s,v=c.useMemo(()=>b,Object.values(b));return c.createElement(g.Provider,{value:v},h)}function u(p,m){const h=(m==null?void 0:m[e][l])||s,b=c.useContext(h);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${a}\``)}return d.displayName=a+"Provider",[d,u]}const o=()=>{const a=r.map(i=>c.createContext(i));return function(s){const l=(s==null?void 0:s[e])||a;return c.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[n,My(o,...t)]}function My(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((s,{useScope:l,scopeName:d})=>{const p=l(a)[`__scope${d}`];return{...s,...p}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Ny(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Il(...e){return t=>e.forEach(r=>Ny(r,t))}function fe(...e){return c.useCallback(Il(...e),e)}function Q(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}const Te=Boolean(globalThis==null?void 0:globalThis.document)?c.useLayoutEffect:()=>{},zy=U["useId".toString()]||(()=>{});let Ky=0;function Je(e){const[t,r]=U.useState(zy());return Te(()=>{e||r(n=>n??String(Ky++))},[e]),e||(t?`radix-${t}`:"")}function Ae(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function Ye({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=Fy({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=Ae(r),l=c.useCallback(d=>{if(a){const p=typeof d=="function"?d(e):d;p!==e&&s(p)}else o(d)},[a,e,o,s]);return[i,l]}function Fy({defaultProp:e,onChange:t}){const r=c.useState(e),[n]=r,o=c.useRef(n),a=Ae(t);return c.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const Ot=c.forwardRef((e,t)=>{const{children:r,...n}=e,o=c.Children.toArray(r),a=o.find(Ly);if(a){const i=a.props.children,s=o.map(l=>l===a?c.Children.count(i)>1?c.Children.only(null):c.isValidElement(i)?i.props.children:null:l);return c.createElement(Zo,A({},n,{ref:t}),c.isValidElement(i)?c.cloneElement(i,void 0,s):null)}return c.createElement(Zo,A({},n,{ref:t}),r)});Ot.displayName="Slot";const Zo=c.forwardRef((e,t)=>{const{children:r,...n}=e;return c.isValidElement(r)?c.cloneElement(r,{...Vy(n,r.props),ref:Il(t,r.ref)}):c.Children.count(r)>1?c.Children.only(null):null});Zo.displayName="SlotClone";const Xo=({children:e})=>c.createElement(c.Fragment,null,e);function Ly(e){return c.isValidElement(e)&&e.type===Xo}function Vy(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...s)=>{a(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}const ae=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=c.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ot:t;return c.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),c.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ol(e,t){e&&st.flushSync(()=>e.dispatchEvent(t))}function jy(e,t=globalThis==null?void 0:globalThis.document){const r=Ae(e);c.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Jo="dismissableLayer.update",Ry="dismissableLayer.pointerDownOutside",By="dismissableLayer.focusOutside";let Al;const Ml=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zr=c.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...d}=e,u=c.useContext(Ml),[p,m]=c.useState(null),h=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=c.useState({}),g=fe(t,D=>m(D)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),_=p?v.indexOf(p):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,I=_>=x,N=Uy(D=>{const M=D.target,V=[...u.branches].some(C=>C.contains(M));!I||V||(a==null||a(D),s==null||s(D),D.defaultPrevented||l==null||l())},h),E=Hy(D=>{const M=D.target;[...u.branches].some(C=>C.contains(M))||(i==null||i(D),s==null||s(D),D.defaultPrevented||l==null||l())},h);return jy(D=>{_===u.layers.size-1&&(o==null||o(D),!D.defaultPrevented&&l&&(D.preventDefault(),l()))},h),c.useEffect(()=>{if(p)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Al=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(p)),u.layers.add(p),Nl(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Al)}},[p,h,n,u]),c.useEffect(()=>()=>{p&&(u.layers.delete(p),u.layersWithOutsidePointerEventsDisabled.delete(p),Nl())},[p,u]),c.useEffect(()=>{const D=()=>b({});return document.addEventListener(Jo,D),()=>document.removeEventListener(Jo,D)},[]),c.createElement(ae.div,A({},d,{ref:g,style:{pointerEvents:y?I?"auto":"none":void 0,...e.style},onFocusCapture:Q(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Q(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Q(e.onPointerDownCapture,N.onPointerDownCapture)}))}),Wy=c.forwardRef((e,t)=>{const r=c.useContext(Ml),n=c.useRef(null),o=fe(t,n);return c.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),c.createElement(ae.div,A({},e,{ref:o}))});function Uy(e,t=globalThis==null?void 0:globalThis.document){const r=Ae(e),n=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){zl(Ry,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Hy(e,t=globalThis==null?void 0:globalThis.document){const r=Ae(e),n=c.useRef(!1);return c.useEffect(()=>{const o=a=>{a.target&&!n.current&&zl(By,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Nl(){const e=new CustomEvent(Jo);document.dispatchEvent(e)}function zl(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Ol(o,a):o.dispatchEvent(a)}const Gy=zr,qy=Wy,Qo="focusScope.autoFocusOnMount",ea="focusScope.autoFocusOnUnmount",Kl={bubbles:!1,cancelable:!0},ta=c.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,l]=c.useState(null),d=Ae(o),u=Ae(a),p=c.useRef(null),m=fe(t,g=>l(g)),h=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(n){let g=function($){if(h.paused||!s)return;const x=$.target;s.contains(x)?p.current=x:At(p.current,{select:!0})},v=function($){h.paused||!s||s.contains($.relatedTarget)||At(p.current,{select:!0})};return document.addEventListener("focusin",g),document.addEventListener("focusout",v),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",v)}}},[n,s,h.paused]),c.useEffect(()=>{if(s){Vl.add(h);const g=document.activeElement;if(!s.contains(g)){const $=new CustomEvent(Qo,Kl);s.addEventListener(Qo,d),s.dispatchEvent($),$.defaultPrevented||(Yy(e$(Fl(s)),{select:!0}),document.activeElement===g&&At(s))}return()=>{s.removeEventListener(Qo,d),setTimeout(()=>{const $=new CustomEvent(ea,Kl);s.addEventListener(ea,u),s.dispatchEvent($),$.defaultPrevented||At(g??document.body,{select:!0}),s.removeEventListener(ea,u),Vl.remove(h)},0)}}},[s,d,u,h]);const b=c.useCallback(g=>{if(!r&&!n||h.paused)return;const v=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,$=document.activeElement;if(v&&$){const x=g.currentTarget,[_,y]=Zy(x);_&&y?!g.shiftKey&&$===y?(g.preventDefault(),r&&At(_,{select:!0})):g.shiftKey&&$===_&&(g.preventDefault(),r&&At(y,{select:!0})):$===x&&g.preventDefault()}},[r,n,h.paused]);return c.createElement(ae.div,A({tabIndex:-1},i,{ref:m,onKeyDown:b}))});function Yy(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(At(n,{select:t}),document.activeElement!==r)return}function Zy(e){const t=Fl(e),r=Ll(t,e),n=Ll(t.reverse(),e);return[r,n]}function Fl(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Ll(e,t){for(const r of e)if(!Xy(r,{upTo:t}))return r}function Xy(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Jy(e){return e instanceof HTMLInputElement&&"select"in e}function At(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Jy(e)&&t&&e.select()}}const Vl=Qy();function Qy(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=jl(e,t),e.unshift(t)},remove(t){var r;e=jl(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function jl(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function e$(e){return e.filter(t=>t.tagName!=="A")}const Kr=c.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?st.createPortal(c.createElement(ae.div,A({},o,{ref:t})),n):null});function t$(e,t){return c.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Ve=e=>{const{present:t,children:r}=e,n=r$(t),o=typeof r=="function"?r({present:n.isPresent}):c.Children.only(r),a=fe(n.ref,o.ref);return typeof r=="function"||n.isPresent?c.cloneElement(o,{ref:a}):null};Ve.displayName="Presence";function r$(e){const[t,r]=c.useState(),n=c.useRef({}),o=c.useRef(e),a=c.useRef("none"),i=e?"mounted":"unmounted",[s,l]=t$(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const d=gn(n.current);a.current=s==="mounted"?d:"none"},[s]),Te(()=>{const d=n.current,u=o.current;if(u!==e){const m=a.current,h=gn(d);e?l("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?l("UNMOUNT"):l(u&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Te(()=>{if(t){const d=p=>{const h=gn(n.current).includes(p.animationName);p.target===t&&h&&st.flushSync(()=>l("ANIMATION_END"))},u=p=>{p.target===t&&(a.current=gn(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:c.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function gn(e){return(e==null?void 0:e.animationName)||"none"}let ra=0;function na(){c.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:Rl()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Rl()),ra++,()=>{ra===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),ra--}},[])}function Rl(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Qe=function(){return Qe=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Qe.apply(this,arguments)};function Bl(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function n$(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var vn="right-scroll-bar-position",yn="width-before-scroll-bar",o$="with-scroll-bars-hidden",a$="--removed-body-scroll-bar-size";function i$(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function s$(e,t){var r=c.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function l$(e,t){return s$(t||null,function(r){return e.forEach(function(n){return i$(n,r)})})}function c$(e){return e}function d$(e,t){t===void 0&&(t=c$);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(s){return a(s)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var s=r;r=[],s.forEach(a),i=r}var l=function(){var u=i;i=[],u.forEach(a)},d=function(){return Promise.resolve().then(l)};d(),r={push:function(u){i.push(u),d()},filter:function(u){return i=i.filter(u),r}}}};return o}function u$(e){e===void 0&&(e={});var t=d$(null);return t.options=Qe({async:!0,ssr:!1},e),t}var Wl=function(e){var t=e.sideCar,r=Bl(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return U.createElement(n,Qe({},r))};Wl.isSideCarExport=!0;function f$(e,t){return e.useMedium(t),Wl}var Ul=u$(),oa=function(){},$n=U.forwardRef(function(e,t){var r=U.useRef(null),n=U.useState({onScrollCapture:oa,onWheelCapture:oa,onTouchMoveCapture:oa}),o=n[0],a=n[1],i=e.forwardProps,s=e.children,l=e.className,d=e.removeScrollBar,u=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,b=e.inert,g=e.allowPinchZoom,v=e.as,$=v===void 0?"div":v,x=Bl(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),_=m,y=l$([r,t]),I=Qe(Qe({},x),o);return U.createElement(U.Fragment,null,u&&U.createElement(_,{sideCar:Ul,removeScrollBar:d,shards:p,noIsolation:h,inert:b,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),i?U.cloneElement(U.Children.only(s),Qe(Qe({},I),{ref:y})):U.createElement($,Qe({},I,{className:l,ref:y}),s))});$n.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},$n.classNames={fullWidth:yn,zeroRight:vn};var Hl,p$=function(){if(Hl)return Hl;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function m$(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=p$();return t&&e.setAttribute("nonce",t),e}function h$(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function b$(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var g$=function(){var e=0,t=null;return{add:function(r){e==0&&(t=m$())&&(h$(t,r),b$(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},v$=function(){var e=g$();return function(t,r){U.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Gl=function(){var e=v$(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},y$={left:0,top:0,right:0,gap:0},aa=function(e){return parseInt(e||"",10)||0},$$=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[aa(r),aa(n),aa(o)]},x$=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return y$;var t=$$(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},_$=Gl(),w$=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
28
|
+
.`.concat(o$,` {
|
|
29
29
|
overflow: hidden `).concat(n,`;
|
|
30
30
|
padding-right: `).concat(s,"px ").concat(n,`;
|
|
31
31
|
}
|
|
@@ -42,29 +42,29 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
42
42
|
`),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.`).concat(
|
|
45
|
+
.`).concat(vn,` {
|
|
46
46
|
right: `).concat(s,"px ").concat(n,`;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.`).concat(
|
|
49
|
+
.`).concat(yn,` {
|
|
50
50
|
margin-right: `).concat(s,"px ").concat(n,`;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.`).concat(
|
|
53
|
+
.`).concat(vn," .").concat(vn,` {
|
|
54
54
|
right: 0 `).concat(n,`;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.`).concat(
|
|
57
|
+
.`).concat(yn," .").concat(yn,` {
|
|
58
58
|
margin-right: 0 `).concat(n,`;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
body {
|
|
62
|
-
`).concat(
|
|
62
|
+
`).concat(a$,": ").concat(s,`px;
|
|
63
63
|
}
|
|
64
|
-
`)},
|
|
64
|
+
`)},E$=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=U.useMemo(function(){return x$(o)},[o]);return U.createElement(_$,{styles:w$(a,!t,o,r?"":"!important")})},ia=!1;if(typeof window<"u")try{var xn=Object.defineProperty({},"passive",{get:function(){return ia=!0,!0}});window.addEventListener("test",xn,xn),window.removeEventListener("test",xn,xn)}catch{ia=!1}var Jt=ia?{passive:!1}:!1,S$=function(e){return e.tagName==="TEXTAREA"},ql=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!S$(e)&&r[t]==="visible")},P$=function(e){return ql(e,"overflowY")},T$=function(e){return ql(e,"overflowX")},Yl=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Zl(e,r);if(n){var o=Xl(e,r),a=o[1],i=o[2];if(a>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},k$=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},D$=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Zl=function(e,t){return e==="v"?P$(t):T$(t)},Xl=function(e,t){return e==="v"?k$(t):D$(t)},C$=function(e,t){return e==="h"&&t==="rtl"?-1:1},I$=function(e,t,r,n,o){var a=C$(e,window.getComputedStyle(t).direction),i=a*n,s=r.target,l=t.contains(s),d=!1,u=i>0,p=0,m=0;do{var h=Xl(e,s),b=h[0],g=h[1],v=h[2],$=g-v-a*b;(b||$)&&Zl(e,s)&&(p+=$,m+=b),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(o&&p===0||!o&&i>p)||!u&&(o&&m===0||!o&&-i>m))&&(d=!0),d},_n=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Jl=function(e){return[e.deltaX,e.deltaY]},Ql=function(e){return e&&"current"in e?e.current:e},O$=function(e,t){return e[0]===t[0]&&e[1]===t[1]},A$=function(e){return`
|
|
65
65
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
66
66
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
67
|
-
`)},D$=0,er=[];function C$(e){var t=W.useRef([]),r=W.useRef([0,0]),n=W.useRef(),o=W.useState(D$++)[0],a=W.useState(function(){return Bl()})[0],i=W.useRef(e);W.useEffect(function(){i.current=e},[e]),W.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=Jy([e.lockRef.current],(e.shards||[]).map(Yl),!0).filter(Boolean);return g.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=W.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var _=_n(g),$=r.current,x="deltaX"in g?g.deltaX:$[0]-_[0],y="deltaY"in g?g.deltaY:$[1]-_[1],A,N=g.target,E=Math.abs(x)>Math.abs(y)?"h":"v";if("touches"in g&&E==="h"&&N.type==="range")return!1;var C=Wl(E,N);if(!C)return!0;if(C?A=E:(A=E==="v"?"h":"v",C=Wl(E,N)),!C)return!1;if(!n.current&&"changedTouches"in g&&(x||y)&&(n.current=A),!A)return!0;var M=n.current||A;return P$(M,v,g,M==="h"?x:y,!0)},[]),c=W.useCallback(function(g){var v=g;if(!(!er.length||er[er.length-1]!==a)){var _="deltaY"in v?ql(v):_n(v),$=t.current.filter(function(A){return A.name===v.type&&A.target===v.target&&T$(A.delta,_)})[0];if($&&$.should){v.cancelable&&v.preventDefault();return}if(!$){var x=(i.current.shards||[]).map(Yl).filter(Boolean).filter(function(A){return A.contains(v.target)}),y=x.length>0?s(v,x[0]):!i.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),d=W.useCallback(function(g,v,_,$){var x={name:g,delta:v,target:_,should:$};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(y){return y!==x})},1)},[]),u=W.useCallback(function(g){r.current=_n(g),n.current=void 0},[]),p=W.useCallback(function(g){d(g.type,ql(g),g.target,s(g,e.lockRef.current))},[]),m=W.useCallback(function(g){d(g.type,_n(g),g.target,s(g,e.lockRef.current))},[]);W.useEffect(function(){return er.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,Qt),document.addEventListener("touchmove",c,Qt),document.addEventListener("touchstart",u,Qt),function(){er=er.filter(function(g){return g!==a}),document.removeEventListener("wheel",c,Qt),document.removeEventListener("touchmove",c,Qt),document.removeEventListener("touchstart",u,Qt)}},[]);var h=e.removeScrollBar,b=e.inert;return W.createElement(W.Fragment,null,b?W.createElement(a,{styles:k$(o)}):null,h?W.createElement(y$,{gapMode:"margin"}):null)}const I$=s$(Rl,C$);var Zl=W.forwardRef(function(e,t){return W.createElement(yn,Qe({},e,{ref:t,sideCar:I$}))});Zl.classNames=yn.classNames;const ia=Zl;var O$=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},tr=new WeakMap,xn=new WeakMap,wn={},sa=0,Xl=function(e){return e&&(e.host||Xl(e.parentNode))},A$=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Xl(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},M$=function(e,t,r,n){var o=A$(t,Array.isArray(e)?e:[e]);wn[r]||(wn[r]=new WeakMap);var a=wn[r],i=[],s=new Set,c=new Set(o),d=function(p){!p||s.has(p)||(s.add(p),d(p.parentNode))};o.forEach(d);var u=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(m){if(s.has(m))u(m);else{var h=m.getAttribute(n),b=h!==null&&h!=="false",g=(tr.get(m)||0)+1,v=(a.get(m)||0)+1;tr.set(m,g),a.set(m,v),i.push(m),g===1&&b&&xn.set(m,!0),v===1&&m.setAttribute(r,"true"),b||m.setAttribute(n,"true")}})};return u(t),s.clear(),sa++,function(){i.forEach(function(p){var m=tr.get(p)-1,h=a.get(p)-1;tr.set(p,m),a.set(p,h),m||(xn.has(p)||p.removeAttribute(n),xn.delete(p)),h||p.removeAttribute(r)}),sa--,sa||(tr=new WeakMap,tr=new WeakMap,xn=new WeakMap,wn={})}},la=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||O$(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),M$(n,o,r,"aria-hidden")):function(){return null}};const Jl="Dialog",[Ql,ec]=Ie(Jl),[N$,Ze]=Ql(Jl),z$=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,u]=Ye({prop:n,defaultProp:o,onChange:a});return l.createElement(N$,{scope:t,triggerRef:s,contentRef:c,contentId:Je(),titleId:Je(),descriptionId:Je(),open:d,onOpenChange:u,onOpenToggle:l.useCallback(()=>u(p=>!p),[u]),modal:i},r)},F$="DialogTrigger",K$=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(F$,r),a=fe(t,o.triggerRef);return l.createElement(ae.button,O({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":da(o.open)},n,{ref:a,onClick:Q(e.onClick,o.onOpenToggle)}))}),tc="DialogPortal",[L$,rc]=Ql(tc,{forceMount:void 0}),V$=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=Ze(tc,t);return l.createElement(L$,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(Ve,{present:r||a.open},l.createElement(Fr,{asChild:!0,container:o},i))))},ca="DialogOverlay",j$=l.forwardRef((e,t)=>{const r=rc(ca,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ze(ca,e.__scopeDialog);return a.modal?l.createElement(Ve,{present:n||a.open},l.createElement(R$,O({},o,{ref:t}))):null}),R$=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(ca,r);return l.createElement(ia,{as:Ot,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(ae.div,O({"data-state":da(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),rr="DialogContent",B$=l.forwardRef((e,t)=>{const r=rc(rr,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ze(rr,e.__scopeDialog);return l.createElement(Ve,{present:n||a.open},a.modal?l.createElement(U$,O({},o,{ref:t})):l.createElement(W$,O({},o,{ref:t})))}),U$=l.forwardRef((e,t)=>{const r=Ze(rr,e.__scopeDialog),n=l.useRef(null),o=fe(t,r.contentRef,n);return l.useEffect(()=>{const a=n.current;if(a)return la(a)},[]),l.createElement(nc,O({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Q(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Q(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:Q(e.onFocusOutside,a=>a.preventDefault())}))}),W$=l.forwardRef((e,t)=>{const r=Ze(rr,e.__scopeDialog),n=l.useRef(!1);return l.createElement(nc,O({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),nc=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=Ze(rr,r),c=l.useRef(null),d=fe(t,c);return ra(),l.createElement(l.Fragment,null,l.createElement(ea,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(zr,O({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":da(s.open)},i,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),oc="DialogTitle",H$=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(oc,r);return l.createElement(ae.h2,O({id:o.titleId},n,{ref:t}))}),G$="DialogDescription",q$=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(G$,r);return l.createElement(ae.p,O({id:o.descriptionId},n,{ref:t}))}),Y$="DialogClose",Z$=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(Y$,r);return l.createElement(ae.button,O({type:"button"},n,{ref:t,onClick:Q(e.onClick,()=>o.onOpenChange(!1))}))});function da(e){return e?"open":"closed"}const X$="DialogTitleWarning",[J$,jC]=ky(X$,{contentName:rr,titleName:oc,docsSlug:"dialog"}),ac=z$,ic=K$,sc=V$,lc=j$,cc=B$,dc=H$,uc=q$,ua=Z$,Q$="AlertDialog",[e1,RC]=Ie(Q$,[ec]),lt=ec(),t1=e=>{const{__scopeAlertDialog:t,...r}=e,n=lt(t);return l.createElement(ac,O({},n,r,{modal:!0}))},r1=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return l.createElement(ic,O({},o,n,{ref:t}))}),n1=e=>{const{__scopeAlertDialog:t,...r}=e,n=lt(t);return l.createElement(sc,O({},n,r))},o1=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return l.createElement(lc,O({},o,n,{ref:t}))}),fc="AlertDialogContent",[a1,i1]=e1(fc),s1=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=lt(r),i=l.useRef(null),s=fe(t,i),c=l.useRef(null);return l.createElement(J$,{contentName:fc,titleName:l1,docsSlug:"alert-dialog"},l.createElement(a1,{scope:r,cancelRef:c},l.createElement(cc,O({role:"alertdialog"},a,o,{ref:s,onOpenAutoFocus:Q(o.onOpenAutoFocus,d=>{var u;d.preventDefault(),(u=c.current)===null||u===void 0||u.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault()}),l.createElement(Zo,null,n),!1)))}),l1="AlertDialogTitle",c1=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return l.createElement(dc,O({},o,n,{ref:t}))}),d1=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return l.createElement(uc,O({},o,n,{ref:t}))}),u1=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return l.createElement(ua,O({},o,n,{ref:t}))}),f1="AlertDialogCancel",p1=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=i1(f1,r),a=lt(r),i=fe(t,o);return l.createElement(ua,O({},a,n,{ref:i}))}),m1=t1,h1=r1,b1=n1,g1=o1,v1=s1,y1=u1,$1=p1,_1=c1,x1=d1,f={border_radius_0:"0",border_radius_100:"1px",border_radius_200:"2px",border_radius_400:"4px",border_radius_800:"8px",border_radius_pill:"9999em",border_radius_circle:"50%",border_width_0:"0",border_width_100:"1px",border_width_200:"2px",color_gray_4:"hsl(0, 0%, 4%)",color_gray_8:"hsl(0, 0%, 8%)",color_gray_10:"hsl(0, 0%, 10%)",color_gray_12:"hsl(0, 0%, 12%)",color_gray_14:"hsl(0, 0%, 14%)",color_gray_16:"hsl(0, 0%, 16%)",color_gray_24:"hsl(0, 0%, 24%)",color_gray_32:"hsl(0, 0%, 32%)",color_gray_56:"hsl(0, 0%, 56%)",color_gray_64:"hsl(0, 0%, 64%)",color_gray_84:"hsl(0, 0%, 84%)",color_gray_94:"hsl(0, 0% 94%)",color_gray_96:"hsl(0, 0%, 96%)",color_white:"hsl(0, 0%, 100%)",color_black:"hsl(0, 0%, 0%)",color_background_white_standard:"hsl(0, 0%, 100%)",color_background_white_strong:"hsl(0, 0% 94%)",color_background_white_weak:"hsl(0, 0%, 96%)",color_background_black_standard:"hsl(0, 0%, 16%)",color_background_black_strong:"hsl(0, 0%, 8%)",color_background_black_weak:"hsl(0, 0%, 12%)",color_background_sentiment_negative:"hsl(11, 68%, 55%)",color_background_sentiment_positive:"hsl(54, 63% 52%)",color_background_sentiment_notice:"hsl(29, 74% 53%)",color_background_sentiment_neutral:"hsl(0, 0%, 10%)",color_divider_standard:"hsla(0, 0%, 0%, 12%)",color_divider_strong:"hsla(0, 0%, 0%, 16%)",color_divider_weak:"hsla(0, 0%, 0%, 8%)",color_divider_inverse_standard:"hsla(0, 0%, 1000%, 32%)",color_divider_inverse_strong:"hsla(0, 0%, 100%, 48%)",color_divider_inverse_weak:"hsla(0, 0%, 100%, 24%)",color_text_standard:"hsl(0, 0%, 32%)",color_text_strong:"hsl(0, 0%, 0%)",color_text_weak:"hsl(0, 0%, 56%)",color_text_white_standard:"hsl(0, 0%, 84%)",color_text_white_strong:"hsl(0, 0%, 100%)",color_text_white_weak:"hsl(0, 0%, 64%)",color_text_sentiment_negative:"hsl(11, 68%, 55%)",color_text_sentiment_positive:"hsl(54, 63%, 52%)",color_text_sentiment_notice:"hsl(29, 67%, 47%)",color_text_sentiment_neutral:"hsl(0, 0%, 24%)",color_fill_primary_enabled:"hsla(0, 0%, 8%, 1)",color_fill_primary_hover:"hsl(210, 5%, 16%)",color_fill_primary_pressed:"hsl(210, 3%, 28%)",color_fill_primary_disabled:"hsla(0, 0%, 8%, 0.2)",color_fill_secondary_enabled:"hsla(0, 0%, 0%, 0.06)",color_fill_secondary_hover:"hsla(0, 0%, 0%, 0.12)",color_fill_secondary_pressed:"hsla(0, 0%, 0%, 0.2)",color_fill_secondary_disabled:"hsla(0, 0%, 88%, 0.5)",color_fill_inverse_enabled:"hsl(0, 0%, 100%)",color_fill_inverse_hover:"hsl(0, 0%, 94%)",color_fill_inverse_pressed:"hsl(0, 0%, 90%)",color_fill_inverse_disabled:"hsla(0, 0%, 98%, 0.4)",color_fill_danger_enabled:"hsl(11, 68%, 55%)",color_fill_danger_hover:"hsl(11, 57%, 51%)",color_fill_danger_pressed:"hsl(11, 55%, 48%)",color_fill_danger_disabled:"hsla(11, 68%, 55%, 0.2)",color_outline_primary_danger_enabled:"hsla(11, 68%, 55%, 0.24)",color_outline_primary_danger_hover:"hsla(11, 68%, 55%, 0.48)",color_outline_primary_danger_pressed:"hsla(11, 68%, 55%, 0.72)",color_outline_primary_danger_disabled:"hsla(11, 68%, 55%, 0.16)",color_outline_primary_danger_selected_enabled:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_hover:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_pressed:"hsla(11, 68%, 55%, 0.96)",color_outline_secondary_enabled:"hsla(0, 0%, 0%, 0.16)",color_outline_secondary_hover:"hsla(0, 0%, 0%, 0.32)",color_outline_secondary_pressed:"hsla(0, 0%, 0%, 0.48)",color_outline_secondary_disabled:"hsla(0, 0%, 14%, 0.16)",color_outline_secondary_selected_enabled:"hsla(0, 0%, 0%, 0.6)",color_outline_secondary_selected_hover:"hsla(0, 0%, 0%, 0.72)",color_outline_secondary_selected_pressed:"hsla(0, 0%, 0%, 0.76)",color_outline_inverse_enabled:"hsla(0, 0%, 100%, 0.32)",color_outline_inverse_hover:"hsla(0, 0%, 100%, 0.48)",color_outline_inverse_pressed:"hsla(0, 0%, 100%, 0.56)",color_outline_inverse_disabled:"hsla(0, 0%, 100%, 0.2)",color_outline_inverse_selected_enabled:"hsla(0, 0%, 100%, 0.6)",color_outline_inverse_selected_hover:"hsla(0, 0%, 100%, 0.72)",color_outline_inverse_selected_pressed:"hsla(0, 0%, 100%, 0.8)",color_outline_danger_enabled:"hsl(11, 68%, 55%)",color_outline_danger_hover:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_pressed:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_disabled:"hsla(11, 68%, 55%, 0.32)",color_overlay_secondary_enabled:"hsl(0, 0%, 100%)",color_overlay_secondary_hover:"hsl(0, 0%, 97%)",color_overlay_secondary_pressed:"hsl(0, 0%, 92%)",color_overlay_secondary_selected_enabled:"hsl(0, 0%, 94%)",color_overlay_secondary_selected_hover:"hsl(0, 0%, 91%)",color_overlay_secondary_selected_pressed:"hsl(0, 0%, 88%)",color_overlay_inverse_enabled:"hsl(0, 0%, 0%)",color_overlay_inverse_hover:"hsl(0, 0%, 4%)",color_overlay_inverse_pressed:"hsl(0, 0%, 12%)",color_overlay_inverse_selected_enabled:"hsl(0, 0%, 10%)",color_overlay_inverse_selected_hover:"hsl(0, 0%, 16%)",color_overlay_inverse_selected_pressed:"hsl(0, 0%, 24%)",elevation_static_low:"0px 1px 1px rgba(0, 0, 0, 0.07), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_medium:"0px 1px 1px rgba(0, 0, 0, 0.05), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 5px 5px rgba(0, 0, 0, 0.05), 0px 10px 10px rgba(0, 0, 0, 0.05), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_high:"0px 2px 4px rgba(0, 0, 0, 0.03), 0px 6px 6px rgba(0, 0, 0, 0.03), 0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03), 0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03), 0px 0px 8px rgba(0, 0, 0, 0.03)",elevation_interactive_down:"inset 0px 1000px 250px rgba(0, 0, 0, 0.04)",elevation_interactive_low:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.07)",elevation_interactive_medium:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.07), 0px 1px 4px rgba(0, 0, 0, 0.08)",elevation_interactive_high:"0px 2px 4px rgba(0, 0, 0, 0.05), 0px 3px 5px rgba(0, 0, 0, 0.05), 0px 4px 6px rgba(0, 0, 0, 0.05), 0px 4px 20px rgba(0, 0, 0, 0.05)",z_index_auto:"auto",z_index_below:"-1",z_index_default:"1",z_index_above:"10",z_index_overlay:"1000",font_family_inter:"'Inter', -apple-system, Helvetica, sans-serif",font_family_sans:"'Inter', -apple-system, Helvetica, sans-serif",font_family_inter_display:"'Inter', -apple-system, Helvetica, sans-serif",font_family_monospace:"'SFMono-Regular', Monaco, Consolas, 'Lucida Console', monospace",feature_settings_number:"'tnum' on, 'lnum' on, 'ss01' on",letter_spacing_tight:"-0.006em",letter_spacing_tighter:"-0.01em",letter_spacing_heading_large:"-0.018em",letter_spacing_heading_medium:"-0.016em",letter_spacing_heading_small:"-0.014em",letter_spacing_title_large:"-0.014em",letter_spacing_title_medium:"-0.012em",letter_spacing_title_small:"-0.01em",letter_spacing_title_xsmall:"-0.008em",letter_spacing_label_large:"-0.01em",letter_spacing_label_medium:"normal",letter_spacing_label_small:"-0.006em",letter_spacing_body_large:"-0.01em",letter_spacing_body_medium:"-0.006em",letter_spacing_body_small:"normal",letter_spacing_number_large:"-0.05em",letter_spacing_number_medium:"-0.05em",letter_spacing_number_small:"-0.04em",letter_spacing_number_xsmall:"-0.05em",letter_spacing_caption_medium:"0.01em",letter_spacing_caption_small:"0.02em",line_height_111:1.11,line_height_114:1.14,line_height_129:1.29,line_height_133:1.33,line_height_143:1.43,line_height_title_large:1.06,line_height_title_medium:1.08,line_height_title_small:1.1,line_height_title_xsmall:1.11,line_height_label_large:1.11,line_height_label_medium:1.12,line_height_label_small:1.14,line_height_body_large:1.25,line_height_body_medium:1.29,line_height_body_small:1.33,line_height_number_large:1.25,line_height_number_medium:1.14,line_height_number_small:1.17,line_height_number_xsmall:1.2,line_height_caption_medium:1.17,line_height_caption_small:1.2,font_size_50:"0.75rem",font_size_100:"0.875rem",font_size_200:"1rem",font_size_300:"1.125rem",font_size_400:"1.25rem",font_size_500:"1.5rem",font_size_600:"2rem",font_size_700:"2.75rem",font_size_800:"3.5rem",font_size_root:"16px",font_size_heading_large:"4.5rem",font_size_heading_medium:"3.5rem",font_size_heading_small:"3rem",font_size_title_large:"2.125rem",font_size_title_medium:"1.5rem",font_size_title_small:"1.25rem",font_size_title_xsmall:"1.125rem",font_size_label_large:"1.125rem",font_size_label_medium:"16px",font_size_label_small:"0.875rem",font_size_body_large:"16px",font_size_body_medium:"0.875rem",font_size_body_small:"0.75rem",font_size_number_large:"16px",font_size_number_medium:"0.875rem",font_size_number_small:"0.75rem",font_size_number_xsmall:"0.625rem",font_size_caption_medium:"0.875rem",font_size_caption_small:"0.75rem",font_weight_light:"300",font_weight_normal:"400",font_weight_medium:"500",font_weight_semibold:"600",media_query_xs:"448px",media_query_sm:"720px",media_query_md:"960px",media_query_lg:"1200px",media_query_xl:"1440px",sizing_0:"0rem",sizing_100:"0.25rem",sizing_200:"0.5rem",sizing_300:"0.75rem",sizing_350:"0.875rem",sizing_400:"1rem",sizing_450:"1.25rem",sizing_500:"1.5rem",sizing_550:"1.75rem",sizing_600:"2rem",sizing_650:"2.5rem",sizing_700:"3rem",sizing_750:"3.5rem",sizing_800:"4rem",sizing_850:"6rem",sizing_900:"10rem",sizing_1000:"20rem",sizing_1100:"28rem",sizing_1150:"35rem",sizing_1200:"45rem",sizing_1300:"60rem",sizing_1350:"66rem",sizing_1400:"75rem",sizing_1500:"90rem",spacing_0:"0rem",spacing_100:"0.25rem",spacing_200:"0.5rem",spacing_300:"0.75rem",spacing_400:"1rem",spacing_450:"1.25rem",spacing_500:"1.5rem",spacing_550:"1.75rem",spacing_600:"2rem",spacing_650:"2.5rem",spacing_700:"3rem",spacing_750:"3.5rem",spacing_800:"4rem",spacing_850:"6rem",spacing_900:"10rem",transition_duration_75:"75ms",transition_duration_100:"100ms",transition_duration_150:"150ms",transition_duration_200:"200ms",transition_duration_300:"300ms",transition_property_color:"color, background-color, border-color, text-decoration-color, fill, stroke;",transition_property_all:"all",transition_property_opacity:"opacity",transition_property_box_shadow:"box-shadow",transition_property_transform:"transform",transition_timing_function_ease_in:"cubic-bezier(0.4, 0, 1, 1)",transition_timing_function_ease_out:"cubic-bezier(0, 0, 0.2, 1)",transition_timing_function_ease_in_out:"cubic-bezier(0.4, 0, 0.2, 1)"},fa=D.keyframes`
|
|
67
|
+
`)},M$=0,Qt=[];function N$(e){var t=U.useRef([]),r=U.useRef([0,0]),n=U.useRef(),o=U.useState(M$++)[0],a=U.useState(function(){return Gl()})[0],i=U.useRef(e);U.useEffect(function(){i.current=e},[e]),U.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=n$([e.lockRef.current],(e.shards||[]).map(Ql),!0).filter(Boolean);return g.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=U.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var $=_n(g),x=r.current,_="deltaX"in g?g.deltaX:x[0]-$[0],y="deltaY"in g?g.deltaY:x[1]-$[1],I,N=g.target,E=Math.abs(_)>Math.abs(y)?"h":"v";if("touches"in g&&E==="h"&&N.type==="range")return!1;var D=Yl(E,N);if(!D)return!0;if(D?I=E:(I=E==="v"?"h":"v",D=Yl(E,N)),!D)return!1;if(!n.current&&"changedTouches"in g&&(_||y)&&(n.current=I),!I)return!0;var M=n.current||I;return I$(M,v,g,M==="h"?_:y,!0)},[]),l=U.useCallback(function(g){var v=g;if(!(!Qt.length||Qt[Qt.length-1]!==a)){var $="deltaY"in v?Jl(v):_n(v),x=t.current.filter(function(I){return I.name===v.type&&I.target===v.target&&O$(I.delta,$)})[0];if(x&&x.should){v.cancelable&&v.preventDefault();return}if(!x){var _=(i.current.shards||[]).map(Ql).filter(Boolean).filter(function(I){return I.contains(v.target)}),y=_.length>0?s(v,_[0]):!i.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),d=U.useCallback(function(g,v,$,x){var _={name:g,delta:v,target:$,should:x};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(y){return y!==_})},1)},[]),u=U.useCallback(function(g){r.current=_n(g),n.current=void 0},[]),p=U.useCallback(function(g){d(g.type,Jl(g),g.target,s(g,e.lockRef.current))},[]),m=U.useCallback(function(g){d(g.type,_n(g),g.target,s(g,e.lockRef.current))},[]);U.useEffect(function(){return Qt.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Jt),document.addEventListener("touchmove",l,Jt),document.addEventListener("touchstart",u,Jt),function(){Qt=Qt.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,Jt),document.removeEventListener("touchmove",l,Jt),document.removeEventListener("touchstart",u,Jt)}},[]);var h=e.removeScrollBar,b=e.inert;return U.createElement(U.Fragment,null,b?U.createElement(a,{styles:A$(o)}):null,h?U.createElement(E$,{gapMode:"margin"}):null)}const z$=f$(Ul,N$);var ec=U.forwardRef(function(e,t){return U.createElement($n,Qe({},e,{ref:t,sideCar:z$}))});ec.classNames=$n.classNames;const sa=ec;var K$=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},er=new WeakMap,wn=new WeakMap,En={},la=0,tc=function(e){return e&&(e.host||tc(e.parentNode))},F$=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=tc(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},L$=function(e,t,r,n){var o=F$(t,Array.isArray(e)?e:[e]);En[r]||(En[r]=new WeakMap);var a=En[r],i=[],s=new Set,l=new Set(o),d=function(p){!p||s.has(p)||(s.add(p),d(p.parentNode))};o.forEach(d);var u=function(p){!p||l.has(p)||Array.prototype.forEach.call(p.children,function(m){if(s.has(m))u(m);else{var h=m.getAttribute(n),b=h!==null&&h!=="false",g=(er.get(m)||0)+1,v=(a.get(m)||0)+1;er.set(m,g),a.set(m,v),i.push(m),g===1&&b&&wn.set(m,!0),v===1&&m.setAttribute(r,"true"),b||m.setAttribute(n,"true")}})};return u(t),s.clear(),la++,function(){i.forEach(function(p){var m=er.get(p)-1,h=a.get(p)-1;er.set(p,m),a.set(p,h),m||(wn.has(p)||p.removeAttribute(n),wn.delete(p)),h||p.removeAttribute(r)}),la--,la||(er=new WeakMap,er=new WeakMap,wn=new WeakMap,En={})}},ca=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||K$(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),L$(n,o,r,"aria-hidden")):function(){return null}};const rc="Dialog",[nc,oc]=Oe(rc),[V$,Ze]=nc(rc),j$=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=c.useRef(null),l=c.useRef(null),[d=!1,u]=Ye({prop:n,defaultProp:o,onChange:a});return c.createElement(V$,{scope:t,triggerRef:s,contentRef:l,contentId:Je(),titleId:Je(),descriptionId:Je(),open:d,onOpenChange:u,onOpenToggle:c.useCallback(()=>u(p=>!p),[u]),modal:i},r)},R$="DialogTrigger",B$=c.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(R$,r),a=fe(t,o.triggerRef);return c.createElement(ae.button,A({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ua(o.open)},n,{ref:a,onClick:Q(e.onClick,o.onOpenToggle)}))}),ac="DialogPortal",[W$,ic]=nc(ac,{forceMount:void 0}),U$=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=Ze(ac,t);return c.createElement(W$,{scope:t,forceMount:r},c.Children.map(n,i=>c.createElement(Ve,{present:r||a.open},c.createElement(Kr,{asChild:!0,container:o},i))))},da="DialogOverlay",H$=c.forwardRef((e,t)=>{const r=ic(da,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ze(da,e.__scopeDialog);return a.modal?c.createElement(Ve,{present:n||a.open},c.createElement(G$,A({},o,{ref:t}))):null}),G$=c.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(da,r);return c.createElement(sa,{as:Ot,allowPinchZoom:!0,shards:[o.contentRef]},c.createElement(ae.div,A({"data-state":ua(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),tr="DialogContent",q$=c.forwardRef((e,t)=>{const r=ic(tr,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ze(tr,e.__scopeDialog);return c.createElement(Ve,{present:n||a.open},a.modal?c.createElement(Y$,A({},o,{ref:t})):c.createElement(Z$,A({},o,{ref:t})))}),Y$=c.forwardRef((e,t)=>{const r=Ze(tr,e.__scopeDialog),n=c.useRef(null),o=fe(t,r.contentRef,n);return c.useEffect(()=>{const a=n.current;if(a)return ca(a)},[]),c.createElement(sc,A({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Q(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Q(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:Q(e.onFocusOutside,a=>a.preventDefault())}))}),Z$=c.forwardRef((e,t)=>{const r=Ze(tr,e.__scopeDialog),n=c.useRef(!1);return c.createElement(sc,A({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),sc=c.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=Ze(tr,r),l=c.useRef(null),d=fe(t,l);return na(),c.createElement(c.Fragment,null,c.createElement(ta,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(zr,A({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":ua(s.open)},i,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),lc="DialogTitle",X$=c.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(lc,r);return c.createElement(ae.h2,A({id:o.titleId},n,{ref:t}))}),J$="DialogDescription",Q$=c.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(J$,r);return c.createElement(ae.p,A({id:o.descriptionId},n,{ref:t}))}),e1="DialogClose",t1=c.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ze(e1,r);return c.createElement(ae.button,A({type:"button"},n,{ref:t,onClick:Q(e.onClick,()=>o.onOpenChange(!1))}))});function ua(e){return e?"open":"closed"}const r1="DialogTitleWarning",[n1,IC]=Ay(r1,{contentName:tr,titleName:lc,docsSlug:"dialog"}),cc=j$,dc=B$,uc=U$,fc=H$,pc=q$,mc=X$,hc=Q$,fa=t1,o1="AlertDialog",[a1,OC]=Oe(o1,[oc]),lt=oc(),i1=e=>{const{__scopeAlertDialog:t,...r}=e,n=lt(t);return c.createElement(cc,A({},n,r,{modal:!0}))},s1=c.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return c.createElement(dc,A({},o,n,{ref:t}))}),l1=e=>{const{__scopeAlertDialog:t,...r}=e,n=lt(t);return c.createElement(uc,A({},n,r))},c1=c.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return c.createElement(fc,A({},o,n,{ref:t}))}),bc="AlertDialogContent",[d1,u1]=a1(bc),f1=c.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=lt(r),i=c.useRef(null),s=fe(t,i),l=c.useRef(null);return c.createElement(n1,{contentName:bc,titleName:p1,docsSlug:"alert-dialog"},c.createElement(d1,{scope:r,cancelRef:l},c.createElement(pc,A({role:"alertdialog"},a,o,{ref:s,onOpenAutoFocus:Q(o.onOpenAutoFocus,d=>{var u;d.preventDefault(),(u=l.current)===null||u===void 0||u.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault()}),c.createElement(Xo,null,n),!1)))}),p1="AlertDialogTitle",m1=c.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return c.createElement(mc,A({},o,n,{ref:t}))}),h1=c.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return c.createElement(hc,A({},o,n,{ref:t}))}),b1=c.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=lt(r);return c.createElement(fa,A({},o,n,{ref:t}))}),g1="AlertDialogCancel",v1=c.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=u1(g1,r),a=lt(r),i=fe(t,o);return c.createElement(fa,A({},a,n,{ref:i}))}),y1=i1,$1=s1,x1=l1,_1=c1,w1=f1,E1=b1,S1=v1,P1=m1,T1=h1,f={border_radius_0:"0",border_radius_100:"1px",border_radius_200:"2px",border_radius_400:"4px",border_radius_800:"8px",border_radius_pill:"9999em",border_radius_circle:"50%",border_width_0:"0",border_width_100:"1px",border_width_200:"2px",color_gray_4:"hsl(0, 0%, 4%)",color_gray_8:"hsl(0, 0%, 8%)",color_gray_10:"hsl(0, 0%, 10%)",color_gray_12:"hsl(0, 0%, 12%)",color_gray_14:"hsl(0, 0%, 14%)",color_gray_16:"hsl(0, 0%, 16%)",color_gray_24:"hsl(0, 0%, 24%)",color_gray_32:"hsl(0, 0%, 32%)",color_gray_56:"hsl(0, 0%, 56%)",color_gray_64:"hsl(0, 0%, 64%)",color_gray_84:"hsl(0, 0%, 84%)",color_gray_94:"hsl(0, 0% 94%)",color_gray_96:"hsl(0, 0%, 96%)",color_white:"hsl(0, 0%, 100%)",color_black:"hsl(0, 0%, 0%)",color_background_white_standard:"hsl(0, 0%, 100%)",color_background_white_strong:"hsl(0, 0% 94%)",color_background_white_weak:"hsl(0, 0%, 96%)",color_background_black_standard:"hsl(0, 0%, 16%)",color_background_black_strong:"hsl(0, 0%, 8%)",color_background_black_weak:"hsl(0, 0%, 12%)",color_background_sentiment_negative:"hsl(11, 68%, 55%)",color_background_sentiment_positive:"hsl(54, 63% 52%)",color_background_sentiment_notice:"hsl(29, 74% 53%)",color_background_sentiment_neutral:"hsl(0, 0%, 10%)",color_divider_standard:"hsla(0, 0%, 0%, 12%)",color_divider_strong:"hsla(0, 0%, 0%, 16%)",color_divider_weak:"hsla(0, 0%, 0%, 8%)",color_divider_inverse_standard:"hsla(0, 0%, 1000%, 32%)",color_divider_inverse_strong:"hsla(0, 0%, 100%, 48%)",color_divider_inverse_weak:"hsla(0, 0%, 100%, 24%)",color_text_standard:"hsl(0, 0%, 32%)",color_text_strong:"hsl(0, 0%, 0%)",color_text_weak:"hsl(0, 0%, 56%)",color_text_white_standard:"hsl(0, 0%, 84%)",color_text_white_strong:"hsl(0, 0%, 100%)",color_text_white_weak:"hsl(0, 0%, 64%)",color_text_sentiment_negative:"hsl(11, 68%, 55%)",color_text_sentiment_positive:"hsl(54, 63%, 52%)",color_text_sentiment_notice:"hsl(29, 67%, 47%)",color_text_sentiment_neutral:"hsl(0, 0%, 24%)",color_fill_primary_enabled:"hsla(0, 0%, 8%, 1)",color_fill_primary_hover:"hsl(210, 5%, 16%)",color_fill_primary_pressed:"hsl(210, 3%, 28%)",color_fill_primary_disabled:"hsla(0, 0%, 8%, 0.2)",color_fill_secondary_enabled:"hsla(0, 0%, 0%, 0.06)",color_fill_secondary_hover:"hsla(0, 0%, 0%, 0.12)",color_fill_secondary_pressed:"hsla(0, 0%, 0%, 0.2)",color_fill_secondary_disabled:"hsla(0, 0%, 88%, 0.5)",color_fill_inverse_enabled:"hsl(0, 0%, 100%)",color_fill_inverse_hover:"hsl(0, 0%, 94%)",color_fill_inverse_pressed:"hsl(0, 0%, 90%)",color_fill_inverse_disabled:"hsla(0, 0%, 98%, 0.4)",color_fill_danger_enabled:"hsl(11, 68%, 55%)",color_fill_danger_hover:"hsl(11, 57%, 51%)",color_fill_danger_pressed:"hsl(11, 55%, 48%)",color_fill_danger_disabled:"hsla(11, 68%, 55%, 0.2)",color_outline_primary_danger_enabled:"hsla(11, 68%, 55%, 0.24)",color_outline_primary_danger_hover:"hsla(11, 68%, 55%, 0.48)",color_outline_primary_danger_pressed:"hsla(11, 68%, 55%, 0.72)",color_outline_primary_danger_disabled:"hsla(11, 68%, 55%, 0.16)",color_outline_primary_danger_selected_enabled:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_hover:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_pressed:"hsla(11, 68%, 55%, 0.96)",color_outline_secondary_enabled:"hsla(0, 0%, 0%, 0.16)",color_outline_secondary_hover:"hsla(0, 0%, 0%, 0.32)",color_outline_secondary_pressed:"hsla(0, 0%, 0%, 0.48)",color_outline_secondary_disabled:"hsla(0, 0%, 14%, 0.16)",color_outline_secondary_selected_enabled:"hsla(0, 0%, 0%, 0.6)",color_outline_secondary_selected_hover:"hsla(0, 0%, 0%, 0.72)",color_outline_secondary_selected_pressed:"hsla(0, 0%, 0%, 0.76)",color_outline_inverse_enabled:"hsla(0, 0%, 100%, 0.32)",color_outline_inverse_hover:"hsla(0, 0%, 100%, 0.48)",color_outline_inverse_pressed:"hsla(0, 0%, 100%, 0.56)",color_outline_inverse_disabled:"hsla(0, 0%, 100%, 0.2)",color_outline_inverse_selected_enabled:"hsla(0, 0%, 100%, 0.6)",color_outline_inverse_selected_hover:"hsla(0, 0%, 100%, 0.72)",color_outline_inverse_selected_pressed:"hsla(0, 0%, 100%, 0.8)",color_outline_danger_enabled:"hsl(11, 68%, 55%)",color_outline_danger_hover:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_pressed:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_disabled:"hsla(11, 68%, 55%, 0.32)",color_overlay_secondary_enabled:"hsl(0, 0%, 100%)",color_overlay_secondary_hover:"hsl(0, 0%, 97%)",color_overlay_secondary_pressed:"hsl(0, 0%, 92%)",color_overlay_secondary_selected_enabled:"hsl(0, 0%, 94%)",color_overlay_secondary_selected_hover:"hsl(0, 0%, 91%)",color_overlay_secondary_selected_pressed:"hsl(0, 0%, 88%)",color_overlay_inverse_enabled:"hsl(0, 0%, 0%)",color_overlay_inverse_hover:"hsl(0, 0%, 4%)",color_overlay_inverse_pressed:"hsl(0, 0%, 12%)",color_overlay_inverse_selected_enabled:"hsl(0, 0%, 10%)",color_overlay_inverse_selected_hover:"hsl(0, 0%, 16%)",color_overlay_inverse_selected_pressed:"hsl(0, 0%, 24%)",elevation_static_low:"0px 1px 1px rgba(0, 0, 0, 0.07), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_medium:"0px 1px 1px rgba(0, 0, 0, 0.05), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 5px 5px rgba(0, 0, 0, 0.05), 0px 10px 10px rgba(0, 0, 0, 0.05), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_high:"0px 2px 4px rgba(0, 0, 0, 0.03), 0px 6px 6px rgba(0, 0, 0, 0.03), 0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03), 0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03), 0px 0px 8px rgba(0, 0, 0, 0.03)",elevation_interactive_down:"inset 0px 1000px 250px rgba(0, 0, 0, 0.04)",elevation_interactive_low:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.07)",elevation_interactive_medium:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.07), 0px 1px 4px rgba(0, 0, 0, 0.08)",elevation_interactive_high:"0px 2px 4px rgba(0, 0, 0, 0.05), 0px 3px 5px rgba(0, 0, 0, 0.05), 0px 4px 6px rgba(0, 0, 0, 0.05), 0px 4px 20px rgba(0, 0, 0, 0.05)",z_index_auto:"auto",z_index_below:"-1",z_index_default:"1",z_index_above:"10",z_index_overlay:"1000",font_family_inter:"'Inter', -apple-system, Helvetica, sans-serif",font_family_sans:"'Inter', -apple-system, Helvetica, sans-serif",font_family_inter_display:"'Inter', -apple-system, Helvetica, sans-serif",font_family_monospace:"'SFMono-Regular', Monaco, Consolas, 'Lucida Console', monospace",feature_settings_number:"'tnum' on, 'lnum' on, 'ss01' on",letter_spacing_tight:"-0.006em",letter_spacing_tighter:"-0.01em",letter_spacing_heading_large:"-0.018em",letter_spacing_heading_medium:"-0.016em",letter_spacing_heading_small:"-0.014em",letter_spacing_title_large:"-0.014em",letter_spacing_title_medium:"-0.012em",letter_spacing_title_small:"-0.01em",letter_spacing_title_xsmall:"-0.008em",letter_spacing_label_large:"-0.01em",letter_spacing_label_medium:"normal",letter_spacing_label_small:"-0.006em",letter_spacing_body_large:"-0.01em",letter_spacing_body_medium:"-0.006em",letter_spacing_body_small:"normal",letter_spacing_number_large:"-0.05em",letter_spacing_number_medium:"-0.05em",letter_spacing_number_small:"-0.04em",letter_spacing_number_xsmall:"-0.05em",letter_spacing_caption_medium:"0.01em",letter_spacing_caption_small:"0.02em",line_height_111:1.11,line_height_114:1.14,line_height_129:1.29,line_height_133:1.33,line_height_143:1.43,line_height_title_large:1.06,line_height_title_medium:1.08,line_height_title_small:1.1,line_height_title_xsmall:1.11,line_height_label_large:1.11,line_height_label_medium:1.12,line_height_label_small:1.14,line_height_body_large:1.25,line_height_body_medium:1.29,line_height_body_small:1.33,line_height_number_large:1.25,line_height_number_medium:1.14,line_height_number_small:1.17,line_height_number_xsmall:1.2,line_height_caption_medium:1.17,line_height_caption_small:1.2,font_size_50:"0.75rem",font_size_100:"0.875rem",font_size_200:"1rem",font_size_300:"1.125rem",font_size_400:"1.25rem",font_size_500:"1.5rem",font_size_600:"2rem",font_size_700:"2.75rem",font_size_800:"3.5rem",font_size_root:"16px",font_size_heading_large:"4.5rem",font_size_heading_medium:"3.5rem",font_size_heading_small:"3rem",font_size_title_large:"2.125rem",font_size_title_medium:"1.5rem",font_size_title_small:"1.25rem",font_size_title_xsmall:"1.125rem",font_size_label_large:"1.125rem",font_size_label_medium:"16px",font_size_label_small:"0.875rem",font_size_body_large:"16px",font_size_body_medium:"0.875rem",font_size_body_small:"0.75rem",font_size_number_large:"16px",font_size_number_medium:"0.875rem",font_size_number_small:"0.75rem",font_size_number_xsmall:"0.625rem",font_size_caption_medium:"0.875rem",font_size_caption_small:"0.75rem",font_weight_light:"300",font_weight_normal:"400",font_weight_medium:"500",font_weight_semibold:"600",media_query_xs:"448px",media_query_sm:"720px",media_query_md:"960px",media_query_lg:"1200px",media_query_xl:"1440px",sizing_0:"0rem",sizing_100:"0.25rem",sizing_200:"0.5rem",sizing_300:"0.75rem",sizing_350:"0.875rem",sizing_400:"1rem",sizing_450:"1.25rem",sizing_500:"1.5rem",sizing_550:"1.75rem",sizing_600:"2rem",sizing_650:"2.5rem",sizing_700:"3rem",sizing_750:"3.5rem",sizing_800:"4rem",sizing_850:"6rem",sizing_900:"10rem",sizing_1000:"20rem",sizing_1100:"28rem",sizing_1150:"35rem",sizing_1200:"45rem",sizing_1300:"60rem",sizing_1350:"66rem",sizing_1400:"75rem",sizing_1500:"90rem",spacing_0:"0rem",spacing_100:"0.25rem",spacing_200:"0.5rem",spacing_300:"0.75rem",spacing_400:"1rem",spacing_450:"1.25rem",spacing_500:"1.5rem",spacing_550:"1.75rem",spacing_600:"2rem",spacing_650:"2.5rem",spacing_700:"3rem",spacing_750:"3.5rem",spacing_800:"4rem",spacing_850:"6rem",spacing_900:"10rem",transition_duration_75:"75ms",transition_duration_100:"100ms",transition_duration_150:"150ms",transition_duration_200:"200ms",transition_duration_300:"300ms",transition_property_color:"color, background-color, border-color, text-decoration-color, fill, stroke;",transition_property_all:"all",transition_property_opacity:"opacity",transition_property_box_shadow:"box-shadow",transition_property_transform:"transform",transition_timing_function_ease_in:"cubic-bezier(0.4, 0, 1, 1)",transition_timing_function_ease_out:"cubic-bezier(0, 0, 0.2, 1)",transition_timing_function_ease_in_out:"cubic-bezier(0.4, 0, 0.2, 1)"},pa=k.keyframes`
|
|
68
68
|
0% {
|
|
69
69
|
opacity: 0;
|
|
70
70
|
}
|
|
@@ -72,7 +72,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
72
72
|
100% {
|
|
73
73
|
opacity: var(--overlay-opacity);
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,ma=k.keyframes`
|
|
76
76
|
0% {
|
|
77
77
|
opacity: 0;
|
|
78
78
|
transform: translate(-50%, -48%) scale(.96);
|
|
@@ -82,18 +82,18 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
82
82
|
opacity: 1;
|
|
83
83
|
transform: translate(-50%, -50%) scale(1);
|
|
84
84
|
}
|
|
85
|
-
`,
|
|
85
|
+
`,k1=k(fc)`
|
|
86
86
|
--overlay-opacity: 0.6;
|
|
87
87
|
background-color: ${f.color_background_black_strong};
|
|
88
88
|
opacity: var(--overlay-opacity);
|
|
89
89
|
position: fixed;
|
|
90
90
|
inset: 0;
|
|
91
91
|
z-index: 4;
|
|
92
|
-
animation: ${
|
|
93
|
-
`,
|
|
92
|
+
animation: ${pa} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
93
|
+
`,ha={small:"360px",medium:"540px",large:"960px"},D1=k(pc)`
|
|
94
94
|
background: ${f.color_white};
|
|
95
95
|
padding: ${f.sizing_500};
|
|
96
|
-
width: ${e=>
|
|
96
|
+
width: ${e=>ha[e.size??"medium"]};
|
|
97
97
|
max-width: 100vw;
|
|
98
98
|
max-height: 85vh;
|
|
99
99
|
overflow: auto;
|
|
@@ -105,8 +105,8 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
105
105
|
z-index: 5;
|
|
106
106
|
box-shadow: ${f.elevation_static_high};
|
|
107
107
|
border-radius: ${f.border_radius_400};
|
|
108
|
-
animation: ${
|
|
109
|
-
`;function
|
|
108
|
+
animation: ${ma} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
109
|
+
`;function C1({children:e,size:t,...r}){return ee(uc,{children:[S(k1,{}),S(D1,{size:t,...r,children:e})]})}const I1=k(mc)`
|
|
110
110
|
font-family: ${f.font_family_sans};
|
|
111
111
|
font-style: normal;
|
|
112
112
|
font-weight: 500;
|
|
@@ -116,7 +116,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
116
116
|
margin: 0;
|
|
117
117
|
margin-bottom: ${f.spacing_200};
|
|
118
118
|
color: ${f.color_text_strong};
|
|
119
|
-
`,
|
|
119
|
+
`,O1=k(hc)`
|
|
120
120
|
font-family: ${f.font_family_sans};
|
|
121
121
|
font-style: normal;
|
|
122
122
|
font-weight: 400;
|
|
@@ -125,12 +125,12 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
125
125
|
margin: 0;
|
|
126
126
|
margin-top: ${f.sizing_200}; /* or flex parent and gap? */
|
|
127
127
|
margin-bottom: ${f.sizing_400};
|
|
128
|
-
`,
|
|
128
|
+
`,A1=k.footer`
|
|
129
129
|
margin-top: ${f.spacing_400};
|
|
130
130
|
display: flex;
|
|
131
131
|
justify-content: end;
|
|
132
132
|
gap: ${f.sizing_200};
|
|
133
|
-
`,
|
|
133
|
+
`,M1=k.button`
|
|
134
134
|
all: unset;
|
|
135
135
|
font-family: inherit;
|
|
136
136
|
height: 25px;
|
|
@@ -154,18 +154,18 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
154
154
|
0deg 0% 0% / 3%
|
|
155
155
|
); /* Figma says Interactive / Overlay / Secondary / Hover? but it's not this color */
|
|
156
156
|
}
|
|
157
|
-
`,
|
|
157
|
+
`,N1=cc,z1=dc,K1=fa,F1=k(_1)`
|
|
158
158
|
--overlay-opacity: 0.6;
|
|
159
159
|
background-color: ${f.color_background_black_strong};
|
|
160
160
|
opacity: var(--overlay-opacity);
|
|
161
161
|
position: fixed;
|
|
162
162
|
inset: 0;
|
|
163
163
|
z-index: 4;
|
|
164
|
-
animation: ${
|
|
165
|
-
`,
|
|
164
|
+
animation: ${pa} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
165
|
+
`,L1=k(w1)`
|
|
166
166
|
background: ${f.color_white};
|
|
167
167
|
padding: ${f.sizing_500};
|
|
168
|
-
width: ${e=>
|
|
168
|
+
width: ${e=>ha[e.size??"medium"]};
|
|
169
169
|
max-width: 100vw;
|
|
170
170
|
max-height: 85vh;
|
|
171
171
|
overflow: auto;
|
|
@@ -177,8 +177,8 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
177
177
|
z-index: 5;
|
|
178
178
|
box-shadow: ${f.elevation_static_high};
|
|
179
179
|
border-radius: ${f.border_radius_400};
|
|
180
|
-
animation: ${
|
|
181
|
-
`;function
|
|
180
|
+
animation: ${ma} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
181
|
+
`;function V1({children:e,size:t,...r}){return ee(x1,{children:[S(F1,{}),S(L1,{size:t,...r,children:e})]})}const j1=k(P1)`
|
|
182
182
|
font-family: ${f.font_family_sans};
|
|
183
183
|
font-style: normal;
|
|
184
184
|
font-weight: 500;
|
|
@@ -188,7 +188,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
188
188
|
margin: 0;
|
|
189
189
|
margin-bottom: ${f.spacing_200};
|
|
190
190
|
color: ${f.color_text_strong};
|
|
191
|
-
`,
|
|
191
|
+
`,R1=k(T1)`
|
|
192
192
|
font-family: ${f.font_family_sans};
|
|
193
193
|
font-style: normal;
|
|
194
194
|
font-weight: 400;
|
|
@@ -197,21 +197,21 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
197
197
|
margin: 0;
|
|
198
198
|
margin-top: ${f.sizing_200}; /* or flex parent and gap? */
|
|
199
199
|
margin-bottom: ${f.sizing_400};
|
|
200
|
-
`,
|
|
200
|
+
`,B1=k.footer`
|
|
201
201
|
margin-top: ${f.sizing_400};
|
|
202
202
|
display: flex;
|
|
203
203
|
justify-content: end;
|
|
204
204
|
gap: ${f.sizing_200};
|
|
205
|
-
`,L1=m1,V1=h1,j1=y1,R1=$1,En=l.forwardRef((e,t)=>l.createElement(ae.span,O({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),pc=En,B1=({children:e,label:t})=>{const r=l.Children.only(e);return l.createElement(l.Fragment,null,l.cloneElement(r,{"aria-hidden":"true",focusable:"false"}),l.createElement(pc,null,t))};function Kr({children:e,label:t}){return S(B1,{label:t,children:e})}function Mt(e){return e.split("-")[0]}function Lr(e){return e.split("-")[1]}function nr(e){return["top","bottom"].includes(Mt(e))?"x":"y"}function ha(e){return e==="y"?"height":"width"}function mc(e,t,r){let{reference:n,floating:o}=e;const a=n.x+n.width/2-o.width/2,i=n.y+n.height/2-o.height/2,s=nr(t),c=ha(s),d=n[c]/2-o[c]/2,u=Mt(t),p=s==="x";let m;switch(u){case"top":m={x:a,y:n.y-o.height};break;case"bottom":m={x:a,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:i};break;case"left":m={x:n.x-o.width,y:i};break;default:m={x:n.x,y:n.y}}switch(Lr(t)){case"start":m[s]-=d*(r&&p?-1:1);break;case"end":m[s]+=d*(r&&p?-1:1);break}return m}const U1=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=await(i.isRTL==null?void 0:i.isRTL(t));if(process.env.NODE_ENV!=="production"&&(i==null&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),a.filter(b=>{let{name:g}=b;return g==="autoPlacement"||g==="flip"}).length>1))throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement`","middleware detected. This will lead to an infinite loop. Ensure only","one of either has been passed to the `middleware` array."].join(" "));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=mc(c,n,s),p=n,m={},h=0;for(let b=0;b<a.length;b++){const{name:g,fn:v}=a[b],{x:_,y:$,data:x,reset:y}=await v({x:d,y:u,initialPlacement:n,placement:p,strategy:o,middlewareData:m,rects:c,platform:i,elements:{reference:e,floating:t}});if(d=_??d,u=$??u,m={...m,[g]:{...m[g],...x}},process.env.NODE_ENV!=="production"&&h>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),y&&h<=50){h++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(c=y.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:u}=mc(c,p,s)),b=-1;continue}}return{x:d,y:u,placement:p,strategy:o,middlewareData:m}};function W1(e){return{top:0,right:0,bottom:0,left:0,...e}}function hc(e){return typeof e!="number"?W1(e):{top:e,right:e,bottom:e,left:e}}function Sn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Vr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:m=!1,padding:h=0}=t,b=hc(h),v=s[m?p==="floating"?"reference":"floating":p],_=Sn(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(v)))==null||r?v:v.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:d,rootBoundary:u,strategy:c})),$=Sn(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...i.floating,x:n,y:o}:i.reference,offsetParent:await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),strategy:c}):i[p]);return{top:_.top-$.top+b.top,bottom:$.bottom-_.bottom+b.bottom,left:_.left-$.left+b.left,right:$.right-_.right+b.right}}const H1=Math.min,Nt=Math.max;function ba(e,t,r){return Nt(e,H1(t,r))}const bc=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e??{},{x:o,y:a,placement:i,rects:s,platform:c}=t;if(r==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const d=hc(n),u={x:o,y:a},p=nr(i),m=Lr(i),h=ha(p),b=await c.getDimensions(r),g=p==="y"?"top":"left",v=p==="y"?"bottom":"right",_=s.reference[h]+s.reference[p]-u[p]-s.floating[h],$=u[p]-s.reference[p],x=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let y=x?p==="y"?x.clientHeight||0:x.clientWidth||0:0;y===0&&(y=s.floating[h]);const A=_/2-$/2,N=d[g],E=y-b[h]-d[v],C=y/2-b[h]/2+A,M=ba(N,C,E),L=(m==="start"?d[g]:d[v])>0&&C!==M&&s.reference[h]<=s.floating[h]?C<N?N-C:E-C:0;return{[p]:u[p]-L,data:{[p]:M,centerOffset:C-M}}}}),G1={left:"right",right:"left",bottom:"top",top:"bottom"};function Pn(e){return e.replace(/left|right|bottom|top/g,t=>G1[t])}function q1(e,t,r){r===void 0&&(r=!1);const n=Lr(e),o=nr(e),a=ha(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Pn(i)),{main:i,cross:Pn(i)}}const Y1={start:"end",end:"start"};function gc(e){return e.replace(/start|end/g,t=>Y1[t])}const Z1=["top","right","bottom","left"];function X1(e){const t=Pn(e);return[gc(e),t,gc(t)]}const J1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:a,initialPlacement:i,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",flipAlignment:h=!0,...b}=e,g=Mt(n),_=p||(g===i||!h?[Pn(i)]:X1(i)),$=[i,..._],x=await Vr(t,b),y=[];let A=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&y.push(x[g]),u){const{main:M,cross:V}=q1(n,a,await(s.isRTL==null?void 0:s.isRTL(c.floating)));y.push(x[M],x[V])}if(A=[...A,{placement:n,overflows:y}],!y.every(M=>M<=0)){var N,E;const M=((N=(E=o.flip)==null?void 0:E.index)!=null?N:0)+1,V=$[M];if(V)return{data:{index:M,overflows:A},reset:{placement:V}};let k="bottom";switch(m){case"bestFit":{var C;const L=(C=A.map(P=>[P,P.overflows.filter(T=>T>0).reduce((T,H)=>T+H,0)]).sort((P,T)=>P[1]-T[1])[0])==null?void 0:C[0].placement;L&&(k=L);break}case"initialPlacement":k=i;break}if(n!==k)return{reset:{placement:k}}}return{}}}};function vc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function yc(e){return Z1.some(t=>e[t]>=0)}const Q1=function(e){let{strategy:t="referenceHidden",...r}=e===void 0?{}:e;return{name:"hide",async fn(n){const{rects:o}=n;switch(t){case"referenceHidden":{const a=await Vr(n,{...r,elementContext:"reference"}),i=vc(a,o.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:yc(i)}}}case"escaped":{const a=await Vr(n,{...r,altBoundary:!0}),i=vc(a,o.floating);return{data:{escapedOffsets:i,escaped:yc(i)}}}default:return{}}}}};async function e_(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=Mt(r),s=Lr(r),c=nr(r)==="x",d=["left","top"].includes(i)?-1:1,u=a&&c?-1:1,p=typeof t=="function"?t(e):t;let{mainAxis:m,crossAxis:h,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&typeof b=="number"&&(h=s==="end"?b*-1:b),c?{x:h*u,y:m*d}:{x:m*d,y:h*u}}const t_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await e_(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function $c(e){return e==="x"?"y":"x"}const r_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:v=>{let{x:_,y:$}=v;return{x:_,y:$}}},...c}=e,d={x:r,y:n},u=await Vr(t,c),p=nr(Mt(o)),m=$c(p);let h=d[p],b=d[m];if(a){const v=p==="y"?"top":"left",_=p==="y"?"bottom":"right",$=h+u[v],x=h-u[_];h=ba($,h,x)}if(i){const v=m==="y"?"top":"left",_=m==="y"?"bottom":"right",$=b+u[v],x=b-u[_];b=ba($,b,x)}const g=s.fn({...t,[p]:h,[m]:b});return{...g,data:{x:g.x-r,y:g.y-n}}}}},n_=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:c=!0,crossAxis:d=!0}=e,u={x:r,y:n},p=nr(o),m=$c(p);let h=u[p],b=u[m];const g=typeof s=="function"?s({...a,placement:o}):s,v=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const A=p==="y"?"height":"width",N=a.reference[p]-a.floating[A]+v.mainAxis,E=a.reference[p]+a.reference[A]-v.mainAxis;h<N?h=N:h>E&&(h=E)}if(d){var _,$,x,y;const A=p==="y"?"width":"height",N=["top","left"].includes(Mt(o)),E=a.reference[m]-a.floating[A]+(N&&(_=($=i.offset)==null?void 0:$[m])!=null?_:0)+(N?0:v.crossAxis),C=a.reference[m]+a.reference[A]+(N?0:(x=(y=i.offset)==null?void 0:y[m])!=null?x:0)-(N?v.crossAxis:0);b<E?b=E:b>C&&(b=C)}return{[p]:h,[m]:b}}}},o_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i,...s}=e,c=await Vr(t,s),d=Mt(r),u=Lr(r);let p,m;d==="top"||d==="bottom"?(p=d,m=u===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,p=u==="end"?"top":"bottom");const h=Nt(c.left,0),b=Nt(c.right,0),g=Nt(c.top,0),v=Nt(c.bottom,0),_={availableHeight:n.floating.height-(["left","right"].includes(r)?2*(g!==0||v!==0?g+v:Nt(c.top,c.bottom)):c[p]),availableWidth:n.floating.width-(["top","bottom"].includes(r)?2*(h!==0||b!==0?h+b:Nt(c.left,c.right)):c[m])},$=await o.getDimensions(a.floating);i==null||i({...t,..._});const x=await o.getDimensions(a.floating);return $.width!==x.width||$.height!==x.height?{reset:{rects:!0}}:{}}}};function _c(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function ct(e){if(e==null)return window;if(!_c(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function jr(e){return ct(e).getComputedStyle(e)}function dt(e){return _c(e)?"":e?(e.nodeName||"").toLowerCase():""}function xc(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function et(e){return e instanceof ct(e).HTMLElement}function _t(e){return e instanceof ct(e).Element}function a_(e){return e instanceof ct(e).Node}function ga(e){if(typeof ShadowRoot>"u")return!1;const t=ct(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Tn(e){const{overflow:t,overflowX:r,overflowY:n}=jr(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function i_(e){return["table","td","th"].includes(dt(e))}function wc(e){const t=/firefox/i.test(xc()),r=jr(e);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||t&&r.willChange==="filter"||t&&(r.filter?r.filter!=="none":!1)}function Ec(){return!/^((?!chrome|android).)*safari/i.test(xc())}const Sc=Math.min,Rr=Math.max,kn=Math.round;function ut(e,t,r){var n,o,a,i;t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect();let c=1,d=1;t&&et(e)&&(c=e.offsetWidth>0&&kn(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&kn(s.height)/e.offsetHeight||1);const u=_t(e)?ct(e):window,p=!Ec()&&r,m=(s.left+(p&&(n=(o=u.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,h=(s.top+(p&&(a=(i=u.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/d,b=s.width/c,g=s.height/d;return{width:b,height:g,top:h,right:m+b,bottom:h+g,left:m,x:m,y:h}}function xt(e){return((a_(e)?e.ownerDocument:e.document)||window.document).documentElement}function Dn(e){return _t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pc(e){return ut(xt(e)).left+Dn(e).scrollLeft}function s_(e){const t=ut(e);return kn(t.width)!==e.offsetWidth||kn(t.height)!==e.offsetHeight}function l_(e,t,r){const n=et(t),o=xt(t),a=ut(e,n&&s_(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((dt(t)!=="body"||Tn(o))&&(i=Dn(t)),et(t)){const c=ut(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=Pc(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function Tc(e){return dt(e)==="html"?e:e.assignedSlot||e.parentNode||(ga(e)?e.host:null)||xt(e)}function kc(e){return!et(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function c_(e){let t=Tc(e);for(ga(t)&&(t=t.host);et(t)&&!["html","body"].includes(dt(t));){if(wc(t))return t;t=t.parentNode}return null}function va(e){const t=ct(e);let r=kc(e);for(;r&&i_(r)&&getComputedStyle(r).position==="static";)r=kc(r);return r&&(dt(r)==="html"||dt(r)==="body"&&getComputedStyle(r).position==="static"&&!wc(r))?t:r||c_(e)||t}function Dc(e){if(et(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=ut(e);return{width:t.width,height:t.height}}function d_(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=et(r),a=xt(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((dt(r)!=="body"||Tn(a))&&(i=Dn(r)),et(r))){const c=ut(r,!0);s.x=c.x+r.clientLeft,s.y=c.y+r.clientTop}return{...t,x:t.x-i.scrollLeft+s.x,y:t.y-i.scrollTop+s.y}}function u_(e,t){const r=ct(e),n=xt(e),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,s=0,c=0;if(o){a=o.width,i=o.height;const d=Ec();(d||!d&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:a,height:i,x:s,y:c}}function f_(e){var t;const r=xt(e),n=Dn(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Rr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Rr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-n.scrollLeft+Pc(e);const c=-n.scrollTop;return jr(o||r).direction==="rtl"&&(s+=Rr(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:c}}function Cc(e){const t=Tc(e);return["html","body","#document"].includes(dt(t))?e.ownerDocument.body:et(t)&&Tn(t)?t:Cc(t)}function Cn(e,t){var r;t===void 0&&(t=[]);const n=Cc(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=ct(n),i=o?[a].concat(a.visualViewport||[],Tn(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(Cn(i))}function p_(e,t){const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&ga(r)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function m_(e,t){const r=ut(e,!1,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft;return{top:n,left:o,x:o,y:n,right:o+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function Ic(e,t,r){return t==="viewport"?Sn(u_(e,r)):_t(t)?m_(t,r):Sn(f_(xt(e)))}function h_(e){const t=Cn(e),n=["absolute","fixed"].includes(jr(e).position)&&et(e)?va(e):e;return _t(n)?t.filter(o=>_t(o)&&p_(o,n)&&dt(o)!=="body"):[]}function b_(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?h_(t):[].concat(r),n],s=i[0],c=i.reduce((d,u)=>{const p=Ic(t,u,o);return d.top=Rr(p.top,d.top),d.right=Sc(p.right,d.right),d.bottom=Sc(p.bottom,d.bottom),d.left=Rr(p.left,d.left),d},Ic(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}const g_={getClippingRect:b_,convertOffsetParentRelativeRectToViewportRelativeRect:d_,isElement:_t,getDimensions:Dc,getOffsetParent:va,getDocumentElement:xt,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:l_(t,va(r),n),floating:{...Dc(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>jr(e).direction==="rtl"};function v_(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:s=!1}=n,c=o&&!s,d=a&&!s,u=c||d?[..._t(e)?Cn(e):[],...Cn(t)]:[];u.forEach(g=>{c&&g.addEventListener("scroll",r,{passive:!0}),d&&g.addEventListener("resize",r)});let p=null;if(i){let g=!0;p=new ResizeObserver(()=>{g||r(),g=!1}),_t(e)&&!s&&p.observe(e),p.observe(t)}let m,h=s?ut(e):null;s&&b();function b(){const g=ut(e);h&&(g.x!==h.x||g.y!==h.y||g.width!==h.width||g.height!==h.height)&&r(),h=g,m=requestAnimationFrame(b)}return r(),()=>{var g;u.forEach(v=>{c&&v.removeEventListener("scroll",r),d&&v.removeEventListener("resize",r)}),(g=p)==null||g.disconnect(),p=null,s&&cancelAnimationFrame(m)}}const y_=(e,t,r)=>U1(e,t,{platform:g_,...r});var ya=typeof document<"u"?l.useLayoutEffect:l.useEffect;function $a(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!$a(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!$a(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function $_(e){const t=W.useRef(e);return ya(()=>{t.current=e}),t}function __(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const a=W.useRef(null),i=W.useRef(null),s=$_(o),c=W.useRef(null),[d,u]=W.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,m]=W.useState(t);$a(p==null?void 0:p.map(x=>{let{options:y}=x;return y}),t==null?void 0:t.map(x=>{let{options:y}=x;return y}))||m(t);const h=W.useCallback(()=>{!a.current||!i.current||y_(a.current,i.current,{middleware:p,placement:r,strategy:n}).then(x=>{b.current&&Sl.flushSync(()=>{u(x)})})},[p,r,n]);ya(()=>{b.current&&h()},[h]);const b=W.useRef(!1);ya(()=>(b.current=!0,()=>{b.current=!1}),[]);const g=W.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),a.current&&i.current)if(s.current){const x=s.current(a.current,i.current,h);c.current=x}else h()},[h,s]),v=W.useCallback(x=>{a.current=x,g()},[g]),_=W.useCallback(x=>{i.current=x,g()},[g]),$=W.useMemo(()=>({reference:a,floating:i}),[]);return W.useMemo(()=>({...d,update:h,refs:$,reference:v,floating:_}),[d,h,$,v,_])}const x_=e=>{const{element:t,padding:r}=e;function n(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return n(t)?t.current!=null?bc({element:t.current,padding:r}).fn(o):{}:t?bc({element:t,padding:r}).fn(o):{}}}},w_=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(ae.svg,O({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:l.createElement("polygon",{points:"0,0 30,0 15,10"}))});function In(e){const[t,r]=l.useState(void 0);return Te(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const c=a.borderBoxSize,d=Array.isArray(c)?c[0]:c;i=d.inlineSize,s=d.blockSize}else i=e.offsetWidth,s=e.offsetHeight;r({width:i,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const Oc="Popper",[_a,or]=Ie(Oc),[E_,Ac]=_a(Oc),S_=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(E_,{scope:t,anchor:n,onAnchorChange:o},r)},P_="PopperAnchor",T_=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Ac(P_,r),i=l.useRef(null),s=fe(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(ae.div,O({},o,{ref:s}))}),On="PopperContent",[k_,D_]=_a(On),[C_,I_]=_a(On,{hasParent:!1,positionUpdateFns:new Set}),O_=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,d;const{__scopePopper:u,side:p="bottom",sideOffset:m=0,align:h="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:_=0,sticky:$="partial",hideWhenDetached:x=!1,avoidCollisions:y=!0,onPlaced:A,...N}=e,E=Ac(On,u),[C,M]=l.useState(null),V=fe(t,Ge=>M(Ge)),[k,L]=l.useState(null),P=In(k),T=(r=P==null?void 0:P.width)!==null&&r!==void 0?r:0,H=(n=P==null?void 0:P.height)!==null&&n!==void 0?n:0,le=p+(h!=="center"?"-"+h:""),R=typeof _=="number"?_:{top:0,right:0,bottom:0,left:0,..._},oe=Array.isArray(v)?v:[v],q=oe.length>0,z={padding:R,boundary:oe.filter(F_),altBoundary:q},{reference:I,floating:U,strategy:Z,x:X,y:ce,placement:ne,middlewareData:B,update:Y}=__({strategy:"fixed",placement:le,whileElementsMounted:v_,middleware:[K_(),t_({mainAxis:m+H,alignmentAxis:b}),y?r_({mainAxis:!0,crossAxis:!1,limiter:$==="partial"?n_():void 0,...z}):void 0,k?x_({element:k,padding:g}):void 0,y?J1({...z}):void 0,o_({...z,apply:({elements:Ge,availableWidth:Le,availableHeight:yl})=>{Ge.floating.style.setProperty("--radix-popper-available-width",`${Le}px`),Ge.floating.style.setProperty("--radix-popper-available-height",`${yl}px`)}}),L_({arrowWidth:T,arrowHeight:H}),x?Q1({strategy:"referenceHidden"}):void 0].filter(z_)});Te(()=>{I(E.anchor)},[I,E.anchor]);const te=X!==null&&ce!==null,[J,ie]=Mc(ne),re=Oe(A);Te(()=>{te&&(re==null||re())},[te,re]);const _e=(o=B.arrow)===null||o===void 0?void 0:o.x,ke=(a=B.arrow)===null||a===void 0?void 0:a.y,Ue=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ke,We]=l.useState();Te(()=>{C&&We(window.getComputedStyle(C).zIndex)},[C]);const{hasParent:He,positionUpdateFns:Ne}=I_(On,u),it=!He;l.useLayoutEffect(()=>{if(!it)return Ne.add(Y),()=>{Ne.delete(Y)}},[it,Ne,Y]),Te(()=>{it&&te&&Array.from(Ne).reverse().forEach(Ge=>requestAnimationFrame(Ge))},[it,te,Ne]);const Cr={"data-side":J,"data-align":ie,...N,ref:V,style:{...N.style,animation:te?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:U,"data-radix-popper-content-wrapper":"",style:{position:Z,left:0,top:0,transform:te?`translate3d(${Math.round(X)}px, ${Math.round(ce)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ke,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(d=B.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},l.createElement(k_,{scope:u,placedSide:J,onArrowChange:L,arrowX:_e,arrowY:ke,shouldHideArrow:Ue},it?l.createElement(C_,{scope:u,hasParent:!0,positionUpdateFns:Ne},l.createElement(ae.div,Cr)):l.createElement(ae.div,Cr)))}),A_="PopperArrow",M_={top:"bottom",right:"left",bottom:"top",left:"right"},N_=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=D_(A_,n),i=M_[a.placedSide];return l.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},l.createElement(w_,O({},o,{ref:r,style:{...o.style,display:"block"}})))});function z_(e){return e!==void 0}function F_(e){return e!==null}const K_=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:r}=e,{width:n,height:o}=t.reference;return r.floating.style.setProperty("--radix-popper-anchor-width",`${n}px`),r.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),L_=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,p=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,m=p?0:e.arrowWidth,h=p?0:e.arrowHeight,[b,g]=Mc(s),v={start:"0%",center:"50%",end:"100%"}[g],_=((n=(o=d.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+m/2,$=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+h/2;let x="",y="";return b==="bottom"?(x=p?v:`${_}px`,y=`${-h}px`):b==="top"?(x=p?v:`${_}px`,y=`${c.floating.height+h}px`):b==="right"?(x=`${-h}px`,y=p?v:`${$}px`):b==="left"&&(x=`${c.floating.width+h}px`,y=p?v:`${$}px`),{data:{x,y}}}});function Mc(e){const[t,r="center"]=e.split("-");return[t,r]}const xa=S_,wa=T_,Ea=O_,Nc=N_,zc="Popover",[Fc,WC]=Ie(zc,[or]),An=or(),[V_,zt]=Fc(zc),Kc=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=An(t),c=l.useRef(null),[d,u]=l.useState(!1),[p=!1,m]=Ye({prop:n,defaultProp:o,onChange:a});return l.createElement(xa,s,l.createElement(V_,{scope:t,contentId:Je(),triggerRef:c,open:p,onOpenChange:m,onOpenToggle:l.useCallback(()=>m(h=>!h),[m]),hasCustomAnchor:d,onCustomAnchorAdd:l.useCallback(()=>u(!0),[]),onCustomAnchorRemove:l.useCallback(()=>u(!1),[]),modal:i},r))},j_="PopoverTrigger",Lc=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=zt(j_,r),a=An(r),i=fe(t,o.triggerRef),s=l.createElement(ae.button,O({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Bc(o.open)},n,{ref:i,onClick:Q(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(wa,O({asChild:!0},a),s)}),Vc="PopoverPortal",[R_,B_]=Fc(Vc,{forceMount:void 0}),U_=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=zt(Vc,t);return l.createElement(R_,{scope:t,forceMount:r},l.createElement(Ve,{present:r||a.open},l.createElement(Fr,{asChild:!0,container:o},n)))},Br="PopoverContent",jc=l.forwardRef((e,t)=>{const r=B_(Br,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=zt(Br,e.__scopePopover);return l.createElement(Ve,{present:n||a.open},a.modal?l.createElement(W_,O({},o,{ref:t})):l.createElement(H_,O({},o,{ref:t})))}),W_=l.forwardRef((e,t)=>{const r=zt(Br,e.__scopePopover),n=l.useRef(null),o=fe(t,n),a=l.useRef(!1);return l.useEffect(()=>{const i=n.current;if(i)return la(i)},[]),l.createElement(ia,{as:Ot,allowPinchZoom:!0},l.createElement(Rc,O({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Q(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Q(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,d=s.button===2||c;a.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:Q(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),H_=l.forwardRef((e,t)=>{const r=zt(Br,e.__scopePopover),n=l.useRef(!1);return l.createElement(Rc,O({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),Rc=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:u,...p}=e,m=zt(Br,r),h=An(r);return ra(),l.createElement(ea,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(zr,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1)},l.createElement(Ea,O({"data-state":Bc(m.open),role:"dialog",id:m.contentId},h,p,{ref:t,style:{...p.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),G_="PopoverClose",q_=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=zt(G_,r);return l.createElement(ae.button,O({type:"button"},n,{ref:t,onClick:Q(e.onClick,()=>o.onOpenChange(!1))}))}),Y_=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=An(r);return l.createElement(Nc,O({},o,n,{ref:t}))});function Bc(e){return e?"open":"closed"}const Z_=Kc,X_=Lc,J_=U_,Q_=jc,Uc=q_,ex=Y_;function Ft(e,t,r){let[n,o]=l.useState(e||t),a=l.useRef(e!==void 0),i=a.current,s=e!==void 0,c=l.useRef(n);i!==s&&console.warn(`WARN: A component changed from ${i?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s;let d=l.useCallback((u,...p)=>{let m=(h,...b)=>{r&&(Object.is(c.current,h)||r(h,...b)),s||(c.current=h)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((b,...g)=>{let v=u(s?c.current:b,...g);return m(v,...p),s?b:v})):(s||o(u),m(u,...p))},[s,r]);return s?c.current=e:e=n,[e,d]}function tx(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function Kt(e,t,r,n){let o=(e-(isNaN(t)?0:t))%n,a=Math.abs(o)*2>=n?e+Math.sign(o)*(n-Math.abs(o)):e-o;isNaN(t)?!isNaN(r)&&a>r&&(a=Math.floor(r/n)*n):a<t?a=t:!isNaN(r)&&a>r&&(a=t+Math.floor((r-t)/n)*n);let i=n.toString(),s=i.indexOf("."),c=s>=0?i.length-s:0;if(c>0){let d=Math.pow(10,c);a=Math.round(a*d)/d}return a}const Sa={prefix:String(Math.round(Math.random()*1e10)),current:0},Wc=l.createContext(Sa);let rx=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function nx(e){let t=l.useContext(Wc);return t===Sa&&!rx&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),l.useMemo(()=>e||`react-aria${t.prefix}-${++t.current}`,[e])}function Hc(){let t=l.useContext(Wc)!==Sa,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function Gc(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Gc(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Mn(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Gc(e))&&(n&&(n+=" "),n+=t);return n}const xe=typeof window<"u"?l.useLayoutEffect:()=>{};function ox(e){let[t,r]=l.useState(e),n=l.useRef(t),o=l.useRef(null);n.current=t;let a=l.useRef(null);a.current=()=>{let s=o.current.next();if(s.done){o.current=null;return}t===s.value?a.current():r(s.value)},xe(()=>{o.current&&a.current()});let i=l.useCallback(s=>{o.current=s(n.current),a.current()},[o,a]);return[t,i]}let Nn=new Map;function ze(e){let[t,r]=l.useState(e),n=l.useRef(null),o=nx(t),a=l.useCallback(i=>{n.current=i},[]);return Nn.set(o,a),xe(()=>{let i=o;return()=>{Nn.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function ax(e,t){if(e===t)return e;let r=Nn.get(e);if(r)return r(t),t;let n=Nn.get(t);return n?(n(e),e):t}function zn(e=[]){let t=ze(),[r,n]=ox(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return xe(o,[t,o,...e]),r}function Lt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function pe(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],i=n[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Lt(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Mn(a,i):o==="id"&&a&&i?t.id=ax(a,i):t[o]=i!==void 0?i:a}}return t}const ix=new Set(["id"]),sx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),lx=/^(data-.*)$/;function ft(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(ix.has(a)||r&&sx.has(a)||n!=null&&n.has(a)||lx.test(a))&&(o[a]=e[a]);return o}function wt(e){if(cx())e.focus({preventScroll:!0});else{let t=dx(e);e.focus(),ux(t)}}let Fn=null;function cx(){if(Fn==null){Fn=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Fn=!0,!0}})}catch{}}return Fn}function dx(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function ux(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let ar=new Map,Pa=new Set;function qc(){if(typeof window>"u")return;let e=r=>{let n=ar.get(r.target);n||(n=new Set,ar.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=ar.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),ar.delete(r.target)),ar.size===0)){for(let o of Pa)o();Pa.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?qc():document.addEventListener("DOMContentLoaded",qc));function Yc(e){requestAnimationFrame(()=>{ar.size===0?e():Pa.add(e)})}function Ta(){let e=l.useRef(new Map),t=l.useCallback((o,a,i,s)=>{let c=s!=null&&s.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:o,fn:c,options:s}),o.addEventListener(a,i,s)},[]),r=l.useCallback((o,a,i,s)=>{var c;let d=((c=e.current.get(i))===null||c===void 0?void 0:c.fn)||i;o.removeEventListener(a,d,s),e.current.delete(i)},[]),n=l.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function ka(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=ze(r),o&&n?o=[...new Set([...o.trim().split(/\s+/),r])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function tt(e){const t=l.useRef();return xe(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function fx(){return typeof window.ResizeObserver<"u"}function px(e){const{ref:t,onResize:r}=e;l.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(fx()){const o=new window.ResizeObserver(a=>{a.length&&r()});return o.observe(n),()=>{n&&o.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function Zc(e,t){xe(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function Da(e){for(;e&&!mx(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function mx(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}let hx=0;const Ca=new Map;function Ia(e){let[t,r]=l.useState(void 0);return xe(()=>{if(!e)return;let n=Ca.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${hx++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},Ca.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),Ca.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Oa(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Aa(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Vt(){return Aa(/^Mac/i)}function Xc(){return Aa(/^iPhone/i)}function Jc(){return Aa(/^iPad/i)||Vt()&&navigator.maxTouchPoints>1}function ir(){return Xc()||Jc()}function bx(){return Vt()||ir()}function gx(){return Oa(/AppleWebKit/i)&&!vx()}function vx(){return Oa(/Chrome/i)}function Qc(){return Oa(/Android/i)}function Kn(e,t,r,n){let o=l.useRef(r);o.current=r;let a=r==null;l.useEffect(()=>{if(a)return;let i=e.current,s=c=>o.current.call(this,c);return i.addEventListener(t,s,n),()=>{i.removeEventListener(t,s,n)}},[e,t,n,a])}function Ma(e,t){let r=ed(e,t,"left"),n=ed(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,c=i+e.offsetWidth,d=s+e.offsetHeight;r<=i?i=r:r+o>c&&(i+=r+o-c),n<=s?s=n:n+a>d&&(s+=n+a-d),e.scrollLeft=i,e.scrollTop=s}function ed(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function Na(e){return e.mozInputSource===0&&e.isTrusted?!0:Qc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function yx(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let lr="default",za="",Ln=new WeakMap;function td(e){ir()?(lr==="default"&&(za=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),lr="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Ln.set(e,e.style.userSelect),e.style.userSelect="none")}function Vn(e){if(ir()){if(lr!=="disabled")return;lr="restoring",setTimeout(()=>{Yc(()=>{lr==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=za||""),za="",lr="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Ln.has(e)){let t=Ln.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Ln.delete(e)}}const rd=l.createContext(null);rd.displayName="PressResponderContext";function $x(e){let t=l.useContext(rd);if(t){let{register:r,...n}=t;e=pe(n,e),r()}return Zc(t,e.ref),e}function cr(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:u,ref:p,...m}=$x(e),h=l.useRef(null);h.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,shouldCancelOnPointerExit:d};let[b,g]=l.useState(!1),v=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:_,removeAllGlobalListeners:$}=Ta(),x=l.useMemo(()=>{let y=v.current,A=(k,L)=>{let{onPressStart:P,onPressChange:T,isDisabled:H}=h.current;H||y.didFirePressStart||(P&&P({type:"pressstart",pointerType:L,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),T&&T(!0),y.didFirePressStart=!0,g(!0))},N=(k,L,P=!0)=>{let{onPressEnd:T,onPressChange:H,onPress:le,isDisabled:R}=h.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,T&&T({type:"pressend",pointerType:L,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),H&&H(!1),g(!1),le&&P&&!R&&le({type:"press",pointerType:L,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}))},E=(k,L)=>{let{onPressUp:P,isDisabled:T}=h.current;T||P&&P({type:"pressup",pointerType:L,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey})},C=k=>{y.isPressed&&(y.isOverTarget&&N(pt(y.target,k),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,$(),u||Vn(y.target))},M={onKeyDown(k){Ka(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)?(od(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),!y.isPressed&&!k.repeat&&(y.target=k.currentTarget,y.isPressed=!0,A(k,"keyboard"),_(document,"keyup",V,!1))):k.key==="Enter"&&Fa(k.currentTarget)&&k.stopPropagation()},onKeyUp(k){Ka(k.nativeEvent,k.currentTarget)&&!k.repeat&&k.currentTarget.contains(k.target)&&E(pt(y.target,k),"keyboard")},onClick(k){k&&!k.currentTarget.contains(k.target)||k&&k.button===0&&(k.stopPropagation(),i&&k.preventDefault(),!y.ignoreClickAfterPress&&!y.ignoreEmulatedMouseEvents&&(y.pointerType==="virtual"||Na(k.nativeEvent))&&(!i&&!c&&wt(k.currentTarget),A(k,"virtual"),E(k,"virtual"),N(k,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},V=k=>{if(y.isPressed&&Ka(k,y.target)){od(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),y.isPressed=!1;let L=k.target;N(pt(y.target,k),"keyboard",y.target.contains(L)),$(),y.target instanceof HTMLElement&&y.target.contains(L)&&(Fa(y.target)||y.target.getAttribute("role")==="link")&&y.target.click()}};if(typeof PointerEvent<"u"){M.onPointerDown=T=>{if(!(T.button!==0||!T.currentTarget.contains(T.target))){if(yx(T.nativeEvent)){y.pointerType="virtual";return}La(T.currentTarget)&&T.preventDefault(),y.pointerType=T.pointerType,T.stopPropagation(),y.isPressed||(y.isPressed=!0,y.isOverTarget=!0,y.activePointerId=T.pointerId,y.target=T.currentTarget,!i&&!c&&wt(T.currentTarget),u||td(y.target),A(T,y.pointerType),_(document,"pointermove",k,!1),_(document,"pointerup",L,!1),_(document,"pointercancel",P,!1))}},M.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(La(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},M.onPointerUp=T=>{!T.currentTarget.contains(T.target)||y.pointerType==="virtual"||T.button===0&&dr(T,T.currentTarget)&&E(T,y.pointerType||T.pointerType)};let k=T=>{T.pointerId===y.activePointerId&&(dr(T,y.target)?y.isOverTarget||(y.isOverTarget=!0,A(pt(y.target,T),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,N(pt(y.target,T),y.pointerType,!1),h.current.shouldCancelOnPointerExit&&C(T)))},L=T=>{T.pointerId===y.activePointerId&&y.isPressed&&T.button===0&&(dr(T,y.target)?N(pt(y.target,T),y.pointerType):y.isOverTarget&&N(pt(y.target,T),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,$(),u||Vn(y.target))},P=T=>{C(T)};M.onDragStart=T=>{T.currentTarget.contains(T.target)&&C(T)}}else{M.onMouseDown=P=>{P.button!==0||!P.currentTarget.contains(P.target)||(La(P.currentTarget)&&P.preventDefault(),P.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=P.currentTarget,y.pointerType=Na(P.nativeEvent)?"virtual":"mouse",!i&&!c&&wt(P.currentTarget),A(P,y.pointerType),_(document,"mouseup",k,!1)))},M.onMouseEnter=P=>{P.currentTarget.contains(P.target)&&(P.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!0,A(P,y.pointerType)))},M.onMouseLeave=P=>{P.currentTarget.contains(P.target)&&(P.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!1,N(P,y.pointerType,!1),h.current.shouldCancelOnPointerExit&&C(P)))},M.onMouseUp=P=>{P.currentTarget.contains(P.target)&&!y.ignoreEmulatedMouseEvents&&P.button===0&&E(P,y.pointerType)};let k=P=>{if(P.button===0){if(y.isPressed=!1,$(),y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}dr(P,y.target)?N(pt(y.target,P),y.pointerType):y.isOverTarget&&N(pt(y.target,P),y.pointerType,!1),y.isOverTarget=!1}};M.onTouchStart=P=>{if(!P.currentTarget.contains(P.target))return;P.stopPropagation();let T=_x(P.nativeEvent);T&&(y.activePointerId=T.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=P.currentTarget,y.pointerType="touch",!i&&!c&&wt(P.currentTarget),u||td(y.target),A(P,y.pointerType),_(window,"scroll",L,!0))},M.onTouchMove=P=>{if(!P.currentTarget.contains(P.target)||(P.stopPropagation(),!y.isPressed))return;let T=nd(P.nativeEvent,y.activePointerId);T&&dr(T,P.currentTarget)?y.isOverTarget||(y.isOverTarget=!0,A(P,y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,N(P,y.pointerType,!1),h.current.shouldCancelOnPointerExit&&C(P))},M.onTouchEnd=P=>{if(!P.currentTarget.contains(P.target)||(P.stopPropagation(),!y.isPressed))return;let T=nd(P.nativeEvent,y.activePointerId);T&&dr(T,P.currentTarget)?(E(P,y.pointerType),N(P,y.pointerType)):y.isOverTarget&&N(P,y.pointerType,!1),y.isPressed=!1,y.activePointerId=null,y.isOverTarget=!1,y.ignoreEmulatedMouseEvents=!0,u||Vn(y.target),$()},M.onTouchCancel=P=>{P.currentTarget.contains(P.target)&&(P.stopPropagation(),y.isPressed&&C(P))};let L=P=>{y.isPressed&&P.target.contains(y.target)&&C({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};M.onDragStart=P=>{P.currentTarget.contains(P.target)&&C(P)}}return M},[_,i,c,$,u]);return l.useEffect(()=>()=>{u||Vn(v.current.target)},[u]),{isPressed:s||b,pressProps:pe(m,x)}}function Fa(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ka(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof HTMLInputElement&&!ad(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!Fa(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function _x(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function nd(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function pt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function xx(e){let t=e.width/2||e.radiusX||0,r=e.height/2||e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function wx(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function dr(e,t){let r=t.getBoundingClientRect(),n=xx(e);return wx(r,n)}function La(e){return!(e instanceof HTMLElement)||!e.draggable}function od(e,t){return e instanceof HTMLInputElement?!ad(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const Ex=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ad(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Ex.has(e.type)}class Sx{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,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function id(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,xe(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),l.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r.target,o=a=>{var i,s;t.current.isFocused=!1,n.disabled&&((s=(i=t.current).onBlur)===null||s===void 0||s.call(i,new Sx("blur",a))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{t.current.isFocused&&n.disabled&&(t.current.observer.disconnect(),n.dispatchEvent(new FocusEvent("blur")),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[])}function Va(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const a=l.useCallback(c=>{if(c.target===c.currentTarget)return n&&n(c),o&&o(!1),!0},[n,o]),i=id(a),s=l.useCallback(c=>{c.target===c.currentTarget&&(r&&r(c),o&&o(!0),i(c))},[o,r,i]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?a:null}}}let mt=null,Ur=new Set,sd=!1,jt=!1,ja=!1;const Px={Tab:!0,Escape:!0};function jn(e,t){for(let r of Ur)r(e,t)}function Tx(e){return!(e.metaKey||!Vt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function ld(e){jt=!0,Tx(e)&&(mt="keyboard",jn("keyboard",e))}function ur(e){mt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(jt=!0,jn("pointer",e))}function kx(e){Na(e)&&(jt=!0,mt="virtual")}function Dx(e){e.target===window||e.target===document||(!jt&&!ja&&(mt="virtual",jn("virtual",e)),jt=!1,ja=!1)}function Cx(){jt=!1,ja=!0}function Rn(){if(typeof window>"u"||sd)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){jt=!0,e.apply(this,arguments)},document.addEventListener("keydown",ld,!0),document.addEventListener("keyup",ld,!0),document.addEventListener("click",kx,!0),window.addEventListener("focus",Dx,!0),window.addEventListener("blur",Cx,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",ur,!0),document.addEventListener("pointermove",ur,!0),document.addEventListener("pointerup",ur,!0)):(document.addEventListener("mousedown",ur,!0),document.addEventListener("mousemove",ur,!0),document.addEventListener("mouseup",ur,!0)),sd=!0}typeof document<"u"&&(document.readyState!=="loading"?Rn():document.addEventListener("DOMContentLoaded",Rn));function Ra(){return mt!=="pointer"}function Ix(){return mt}function cd(e){mt=e,jn(e,null)}function dd(){Rn();let[e,t]=l.useState(mt);return l.useEffect(()=>{let r=()=>{t(mt)};return Ur.add(r),()=>{Ur.delete(r)}},[]),e}function Ox(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!Px[r.key])}function Ax(e,t,r){Rn(),l.useEffect(()=>{let n=(o,a)=>{Ox(r==null?void 0:r.isTextInput,o,a)&&e(Ra())};return Ur.add(n),()=>{Ur.delete(n)}},t)}function Rt(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=l.useRef({isFocusWithin:!1}),i=l.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(d),o&&o(!1))},[r,o,a]),s=id(i),c=l.useCallback(d=>{a.current.isFocusWithin||(n&&n(d),o&&o(!0),a.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:i}}}let Bn=!1,Ba=0;function Ua(){Bn=!0,setTimeout(()=>{Bn=!1},50)}function ud(e){e.pointerType==="touch"&&Ua()}function Mx(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",ud):document.addEventListener("touchend",Ua),Ba++,()=>{Ba--,!(Ba>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",ud):document.removeEventListener("touchend",Ua))}}function Nx(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=l.useState(!1),s=l.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;l.useEffect(Mx,[]);let{hoverProps:c,triggerHoverEnd:d}=l.useMemo(()=>{let u=(h,b)=>{if(s.pointerType=b,o||b==="touch"||s.isHovered||!h.currentTarget.contains(h.target))return;s.isHovered=!0;let g=h.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:b}),r&&r(!0),i(!0)},p=(h,b)=>{if(s.pointerType="",s.target=null,b==="touch"||!s.isHovered)return;s.isHovered=!1;let g=h.currentTarget;n&&n({type:"hoverend",target:g,pointerType:b}),r&&r(!1),i(!1)},m={};return typeof PointerEvent<"u"?(m.onPointerEnter=h=>{Bn&&h.pointerType==="mouse"||u(h,h.pointerType)},m.onPointerLeave=h=>{!o&&h.currentTarget.contains(h.target)&&p(h,h.pointerType)}):(m.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},m.onMouseEnter=h=>{!s.ignoreEmulatedMouseEvents&&!Bn&&u(h,"mouse"),s.ignoreEmulatedMouseEvents=!1},m.onMouseLeave=h=>{!o&&h.currentTarget.contains(h.target)&&p(h,"mouse")}),{hoverProps:m,triggerHoverEnd:p}},[t,r,n,o,s]);return l.useEffect(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:c,isHovered:a}}function zx(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,i=l.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1,onInteractOutside:r,onInteractOutsideStart:o}).current;i.onInteractOutside=r,i.onInteractOutsideStart=o,l.useEffect(()=>{if(n)return;let s=c=>{Un(c,t)&&i.onInteractOutside&&(i.onInteractOutsideStart&&i.onInteractOutsideStart(c),i.isPointerDown=!0)};if(typeof PointerEvent<"u"){let c=d=>{i.isPointerDown&&i.onInteractOutside&&Un(d,t)&&(i.isPointerDown=!1,i.onInteractOutside(d))};return document.addEventListener("pointerdown",s,!0),document.addEventListener("pointerup",c,!0),()=>{document.removeEventListener("pointerdown",s,!0),document.removeEventListener("pointerup",c,!0)}}else{let c=u=>{i.ignoreEmulatedMouseEvents?i.ignoreEmulatedMouseEvents=!1:i.isPointerDown&&i.onInteractOutside&&Un(u,t)&&(i.isPointerDown=!1,i.onInteractOutside(u))},d=u=>{i.ignoreEmulatedMouseEvents=!0,i.onInteractOutside&&i.isPointerDown&&Un(u,t)&&(i.isPointerDown=!1,i.onInteractOutside(u))};return document.addEventListener("mousedown",s,!0),document.addEventListener("mouseup",c,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("touchend",d,!0),()=>{document.removeEventListener("mousedown",s,!0),document.removeEventListener("mouseup",c,!0),document.removeEventListener("touchstart",s,!0),document.removeEventListener("touchend",d,!0)}}},[t,i,n])}function Un(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target))return!1}return t.current&&!t.current.contains(e.target)}function fd(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function Fx(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:fd(e.onKeyDown),onKeyUp:fd(e.onKeyUp)}}}function Kx(e,t){let{onScroll:r,isDisabled:n}=e,o=l.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),r&&r({deltaX:a.deltaX,deltaY:a.deltaY}))},[r]);Kn(t,"wheel",n?null:o)}const Lx=500;function pd(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=Lx,accessibilityDescription:i}=e;const s=l.useRef(null);let{addGlobalListener:c,removeGlobalListener:d}=Ta(),{pressProps:u}=cr({isDisabled:t,onPressStart(m){if((m.pointerType==="mouse"||m.pointerType==="touch")&&(r&&r({...m,type:"longpressstart"}),s.current=setTimeout(()=>{m.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...m,type:"longpress"}),s.current=null},a),m.pointerType==="touch")){let h=b=>{b.preventDefault()};c(m.target,"contextmenu",h,{once:!0}),c(window,"pointerup",()=>{setTimeout(()=>{d(m.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(m){s.current&&clearTimeout(s.current),n&&(m.pointerType==="mouse"||m.pointerType==="touch")&&n({...m,type:"longpressend"})}}),p=Ia(o&&!t?i:null);return{longPressProps:pe(u,p)}}function Wn(e){if(Ix()==="virtual"){let t=document.activeElement;Yc(()=>{document.activeElement===t&&document.contains(e)&&wt(e)})}else wt(e)}function Vx(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;let{display:t,visibility:r}=e.style,n=t!=="none"&&r!=="hidden"&&r!=="collapse";if(n){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:a,visibility:i}=o(e);n=a!=="none"&&i!=="hidden"&&i!=="collapse"}return n}function jx(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function md(e,t){return e.nodeName!=="#comment"&&Vx(e)&&jx(e,t)&&(!e.parentElement||md(e.parentElement,e))}const hd=l.createContext(null);let ye=null;function Rx(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=l.useRef(),i=l.useRef(),s=l.useRef([]),c=l.useContext(hd);var d;let u=(d=c==null?void 0:c.scopeRef)!==null&&d!==void 0?d:null,p=l.useMemo(()=>ye&&Pe.getTreeNode(ye)&&!qn(ye,u)?ye:u,[u]);xe(()=>{let b=a.current.nextSibling,g=[];for(;b&&b!==i.current;)g.push(b),b=b.nextSibling;s.current=g},[t,p]),Pe.getTreeNode(p)&&!Pe.getTreeNode(s)&&Pe.addTreeNode(s,p);let m=Pe.getTreeNode(s);m.contain=r,Yx(s,n,r),Hx(s,r),Xx(s,n,r),qx(s,o),xe(()=>{if(s)return()=>{let b=Pe.getTreeNode(s).parent.scopeRef;(s===ye||qn(s,ye))&&(!b||Pe.getTreeNode(b))&&(ye=b),Pe.removeTreeNode(s)}},[s,p]);let h=Bx(s);return l.createElement(hd.Provider,{value:{scopeRef:s,focusManager:h}},l.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,l.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Bx(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[0].previousElementSibling,d=Me(Bt(r),{tabbable:o,accept:i},r);d.currentNode=Fe(s,r)?s:c;let u=d.nextNode();return!u&&a&&(d.currentNode=c,u=d.nextNode()),u&&Ae(u,!0),u},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[r.length-1].nextElementSibling,d=Me(Bt(r),{tabbable:o,accept:i},r);d.currentNode=Fe(s,r)?s:c;let u=d.previousNode();return!u&&a&&(d.currentNode=c,u=d.previousNode()),u&&Ae(u,!0),u},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Me(Bt(r),{tabbable:n,accept:o},r);a.currentNode=r[0].previousElementSibling;let i=a.nextNode();return i&&Ae(i,!0),i},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Me(Bt(r),{tabbable:n,accept:o},r);a.currentNode=r[r.length-1].nextElementSibling;let i=a.previousNode();return i&&Ae(i,!0),i}}}const Wa=["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]"],Ux=Wa.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Wa.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Wx=Wa.join(':not([hidden]):not([tabindex="-1"]),');function Bt(e){return e[0].parentElement}function Hn(e){let t=Pe.getTreeNode(ye);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Hx(e,t){let r=l.useRef(),n=l.useRef(null);xe(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=null);return}let a=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!Hn(e))return;let d=document.activeElement,u=e.current;if(!Fe(d,u))return;let p=Me(Bt(u),{tabbable:!0},u);p.currentNode=d;let m=c.shiftKey?p.previousNode():p.nextNode();m||(p.currentNode=c.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,m=c.shiftKey?p.previousNode():p.nextNode()),c.preventDefault(),m&&Ae(m,!0)},i=c=>{(!ye||qn(ye,e))&&Fe(c.target,e.current)?(ye=e,r.current=c.target):Hn(e)&&!Gn(c.target,e)?r.current?r.current.focus():ye&&Yn(ye.current):Hn(e)&&(r.current=c.target)},s=c=>{n.current=requestAnimationFrame(()=>{Hn(e)&&!Gn(document.activeElement,e)&&(ye=e,document.body.contains(c.target)?(r.current=c.target,r.current.focus()):ye&&Yn(ye.current))})};return document.addEventListener("keydown",a,!1),document.addEventListener("focusin",i,!1),o.forEach(c=>c.addEventListener("focusin",i,!1)),o.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{document.removeEventListener("keydown",a,!1),document.removeEventListener("focusin",i,!1),o.forEach(c=>c.removeEventListener("focusin",i,!1)),o.forEach(c=>c.removeEventListener("focusout",s,!1))}},[e,t]),l.useEffect(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function bd(e){return Gn(e)}function Fe(e,t){return t.some(r=>r.contains(e))}function Gn(e,t=null){for(let{scopeRef:r}of Pe.traverse(Pe.getTreeNode(t)))if(Fe(e,r.current))return!0;return!1}function Gx(e){return Gn(e,ye)}function qn(e,t){var r;let n=(r=Pe.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Ae(e,t=!1){if(e!=null&&!t)try{Wn(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Yn(e,t=!0){let r=e[0].previousElementSibling,n=Me(Bt(e),{tabbable:t},e);n.currentNode=r;let o=n.nextNode();t&&!o&&(n=Me(Bt(e),{tabbable:!1},e),n.currentNode=r,o=n.nextNode()),Ae(o)}function qx(e,t){const r=l.useRef(t);l.useEffect(()=>{r.current&&(ye=e,Fe(document.activeElement,ye.current)||Yn(e.current)),r.current=!1},[e])}function Yx(e,t,r){xe(()=>{if(t||r)return;let n=e.current,o=a=>{let i=a.target;Fe(i,e.current)?ye=e:bd(i)||(ye=null)};return document.addEventListener("focusin",o,!1),n.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{document.removeEventListener("focusin",o,!1),n.forEach(a=>a.removeEventListener("focusin",o,!1))}},[e,t,r])}function Zx(e){let t=Pe.getTreeNode(ye);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Xx(e,t,r){const n=l.useRef(typeof document<"u"?document.activeElement:null);xe(()=>{let o=e.current;if(!t||r)return;let a=()=>{(!ye||qn(ye,e))&&(ye=e)};return document.addEventListener("focusin",a,!1),o.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{document.removeEventListener("focusin",a,!1),o.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,r]),xe(()=>{if(!t)return;Pe.getTreeNode(e).nodeToRestore=n.current;let o=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey)return;let i=document.activeElement;if(!Fe(i,e.current))return;let s=Pe.getTreeNode(e).nodeToRestore,c=Me(document.body,{tabbable:!0});c.currentNode=i;let d=a.shiftKey?c.previousNode():c.nextNode();if((!document.body.contains(s)||s===document.body)&&(s=null,Pe.getTreeNode(e).nodeToRestore=null),(!d||!Fe(d,e.current))&&s){c.currentNode=s;do d=a.shiftKey?c.previousNode():c.nextNode();while(Fe(d,e.current));a.preventDefault(),a.stopPropagation(),d?Ae(d,!0):bd(s)?Ae(s,!0):i.blur()}};return r||document.addEventListener("keydown",o,!0),()=>{r||document.removeEventListener("keydown",o,!0);let a=Pe.getTreeNode(e).nodeToRestore;if(t&&a&&(Fe(document.activeElement,e.current)||document.activeElement===document.body&&Zx(e))){let i=Pe.clone();requestAnimationFrame(()=>{if(document.activeElement===document.body){let s=i.getTreeNode(e);for(;s;){if(s.nodeToRestore&&document.body.contains(s.nodeToRestore)){Ae(s.nodeToRestore);return}s=s.parent}for(s=i.getTreeNode(e);s;){if(s.scopeRef&&Pe.getTreeNode(s.scopeRef)){Yn(s.scopeRef.current,!0);return}s=s.parent}}})}}},[e,t,r])}function Me(e,t,r){let n=t!=null&&t.tabbable?Wx:Ux,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&md(a)&&(!r||Fe(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}function gd(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,d=Me(n,{tabbable:a,accept:s});n.contains(c)&&(d.currentNode=c);let u=d.nextNode();return!u&&i&&(d.currentNode=n,u=d.nextNode()),u&&Ae(u,!0),u},focusPrevious(r=t){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,d=Me(n,{tabbable:a,accept:s});if(n.contains(c))d.currentNode=c;else{let p=Ha(d);return p&&Ae(p,!0),p}let u=d.previousNode();return!u&&i&&(d.currentNode=n,u=Ha(d)),u&&Ae(u,!0),u},focusFirst(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,s=Me(n,{tabbable:o,accept:a}).nextNode();return s&&Ae(s,!0),s},focusLast(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,i=Me(n,{tabbable:o,accept:a}),s=Ha(i);return s&&Ae(s,!0),s}}}function Ha(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class Ga{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null),a=new vd({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef.current&&Fe(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.length>0&&o.forEach(a=>n.addChild(a)),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.length>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new Ga;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){sr(this,"fastMap",new Map),this.root=new vd({scopeRef:null}),this.fastMap.set(null,this.root)}}class vd{addChild(t){this.children.push(t),t.parent=this}removeChild(t){this.children.splice(this.children.indexOf(t),1),t.parent=void 0}constructor(t){sr(this,"children",[]),sr(this,"contain",!1),this.scopeRef=t.scopeRef}}let Pe=new Ga;function fr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||Ra()}),[a,i]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),u=l.useCallback(h=>{o.current.isFocused=h,i(h),d()},[d]);Ax(h=>{o.current.isFocusVisible=h,d()},[],{isTextInput:r});let{focusProps:p}=Va({isDisabled:n,onFocusChange:u}),{focusWithinProps:m}=Rt({isDisabled:!n,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?m:p}}function Jx(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=fr(e),s=l.Children.only(t);return l.cloneElement(s,pe(s.props,{...i,className:Mn({[r||""]:o,[n||""]:a})}))}let Qx=l.createContext(null);function ew(e){let t=l.useContext(Qx)||{};Zc(t,e);let{ref:r,...n}=t;return n}function qa(e,t){let{focusProps:r}=Va(e),{keyboardProps:n}=Fx(e),o=pe(r,n),a=ew(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&Wn(t.current),s.current=!1},[t]),{focusableProps:pe({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function tw(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...c}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:u}=qa(e,t),{pressProps:p,isPressed:m}=cr({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),h=ft(c,{labelable:!0}),b=pe(u,p);return{isPressed:m,linkProps:pe(h,{...b,...d,"aria-disabled":s||void 0,onClick:g=>{p.onClick(g),i&&(i(g),console.warn("onClick is deprecated, please use onPress"))}})}}class Ya{getStringForLocale(t,r){let n=this.strings[r];n||(n=rw(r,this.strings,this.defaultLocale),this.strings[r]=n);let o=n[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function rw(e,t,r="en-US"){if(t[e])return t[e];let n=nw(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function nw(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const yd=new Map,$d=new Map;class ow{format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let o=r["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+n,i=yd.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),yd.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=$d.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),$d.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}function aw(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Zn(e,t,r){aw(e,t),t.set(e,r)}function Za(e,t){return e-t*Math.floor(e/t)}const _d=1721426;function Xn(e,t,r,n){t=Xa(e,t);let o=t-1,a=-2;return r<=2?a=0:Jn(t)&&(a=-1),_d-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+a+n)}function Jn(e){return e%4===0&&(e%100!==0||e%400===0)}function Xa(e,t){return e==="BC"?1-t:t}function iw(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const sw={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 Et{fromJulianDay(t){let r=t,n=r-_d,o=Math.floor(n/146097),a=Za(n,146097),i=Math.floor(a/36524),s=Za(a,36524),c=Math.floor(s/1461),d=Za(s,1461),u=Math.floor(d/365),p=o*400+i*100+c*4+u+(i!==4&&u!==4?1:0),[m,h]=iw(p),b=r-Xn(m,h,1,1),g=2;r<Xn(m,h,3,1)?g=0:Jn(h)&&(g=1);let v=Math.floor(((b+g)*12+373)/367),_=r-Xn(m,h,v,1)+1;return new mr(m,h,v,_)}toJulianDay(t){return Xn(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return sw[Jn(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Jn(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(){sr(this,"identifier","gregory")}}function xd(e){return bt(Date.now(),e)}function lw(e){return Id(xd(e))}function wd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Ed(e,t){return Sd(e)-Sd(t)}function Sd(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Ja=null;function Qa(){return Ja==null&&(Ja=new Intl.DateTimeFormat().resolvedOptions().timeZone),Ja}function cw(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function dw(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function pr(e){e=De(e,new Et);let t=Xa(e.era,e.year);return Pd(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Pd(e,t,r,n,o,a,i){let s=new Date;return s.setUTCHours(n,o,a,i),s.setUTCFullYear(e,t-1,r),s.getTime()}function ei(e,t){if(t==="UTC")return 0;if(t===Qa())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:a,minute:i,second:s}=kd(e,t);return Pd(r,n,o,a,i,s,0)-Math.floor(e/1e3)*1e3}const Td=new Map;function kd(e,t){let r=Td.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Td.set(t,r));let n=r.formatToParts(new Date(e)),o={};for(let a of n)a.type!=="literal"&&(o[a.type]=a.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const Dd=864e5;function uw(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>fw(e,t,a))}function fw(e,t,r){let n=kd(r,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 ht(e,t,r="compatible"){let n=St(e);if(t==="UTC")return pr(n);if(t===Qa()&&r==="compatible"){n=De(n,new Et);let c=new Date,d=Xa(n.era,n.year);return c.setFullYear(d,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let o=pr(n),a=ei(o-Dd,t),i=ei(o+Dd,t),s=uw(n,t,o-a,o-i);if(s.length===1)return s[0];if(s.length>1)switch(r){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(o-a,o-i);case"compatible":case"later":return Math.max(o-a,o-i);case"reject":throw new RangeError("No such absolute time found")}}function Cd(e,t,r="compatible"){return new Date(ht(e,t,r))}function bt(e,t){let r=ei(e,t),n=new Date(e+r),o=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),s=n.getUTCHours(),c=n.getUTCMinutes(),d=n.getUTCSeconds(),u=n.getUTCMilliseconds();return new qr(o,a,i,t,r,s,c,d,u)}function Id(e){return new mr(e.calendar,e.era,e.year,e.month,e.day)}function St(e,t){let r=0,n=0,o=0,a=0;if("timeZone"in e)({hour:r,minute:n,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:o,millisecond:a}=t),new to(e.calendar,e.era,e.year,e.month,e.day,r,n,o,a)}function pw(e){return new Gr(e.hour,e.minute,e.second,e.millisecond)}function De(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,Ut(n),n}function mw(e,t,r){if(e instanceof qr)return e.timeZone===t?e:bw(e,t);let n=ht(e,t,r);return bt(n,t)}function hw(e){let t=pr(e)-e.offset;return new Date(t)}function bw(e,t){let r=pr(e)-e.offset;return De(bt(r,t),e.calendar)}const Wr=36e5;function Qn(e,t){let r=e.copy(),n="hour"in r?Nd(r,t):0;ti(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,ri(r),Od(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,gw(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let o=r.calendar.getYearsInEra(r);if(r.year>o){var a,i;let c=(i=(a=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(a,r);r.year=o,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function ti(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function ri(e){for(;e.month<1;)ti(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,ti(e,1)}function gw(e){for(;e.day<1;)e.month--,ri(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ri(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 Ut(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Od(e)}function ni(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Ad(e,t){return Qn(e,ni(t))}function oi(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),Ut(r),r}function Hr(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Md(r),r}function vw(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=eo(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=eo(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=eo(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=eo(e.hour,24),t}function Md(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 eo(e,t){let r=e%t;return r<0&&(r+=t),r}function Nd(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,vw(e)}function zd(e,t){let r=e.copy();return Nd(r,t),r}function yw(e,t){return zd(e,ni(t))}function ai(e,t,r,n){let o=e.copy();switch(t){case"era":{let s=e.calendar.getEras(),c=s.indexOf(e.era);if(c<0)throw new Error("Invalid era: "+e.era);c=gt(c,r,0,s.length-1,n==null?void 0:n.round),o.era=s[c],Ut(o);break}case"year":var a,i;!((i=(a=o.calendar).isInverseEra)===null||i===void 0)&&i.call(a,o)&&(r=-r),o.year=gt(e.year,r,-1/0,9999,n==null?void 0:n.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=gt(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":o.day=gt(e.day,r,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(o),Ut(o),o}function ii(e,t,r,n){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,s=23;if((n==null?void 0:n.hourCycle)===12){let c=a>=12;i=c?12:0,s=c?23:11}o.hour=gt(a,r,i,s,n==null?void 0:n.round);break}case"minute":o.minute=gt(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":o.second=gt(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":o.millisecond=gt(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return o}function gt(e,t,r,n,o=!1){if(o){e+=Math.sign(t),e<r&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function Fd(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.days!=null&&t.days!==0){let o=Qn(St(e),{years:t.years,months:t.months,days:t.days});r=ht(o,e.timeZone)}else r=pr(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=bt(r,e.timeZone);return De(n,e.calendar)}function $w(e,t){return Fd(e,ni(t))}function _w(e,t,r,n){switch(t){case"hour":{let o=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;o=b?12:0,a=b?23:11}let i=St(e),s=De(Hr(i,{hour:o}),new Et),c=[ht(s,e.timeZone,"earlier"),ht(s,e.timeZone,"later")].filter(b=>bt(b,e.timeZone).day===s.day)[0],d=De(Hr(i,{hour:a}),new Et),u=[ht(d,e.timeZone,"earlier"),ht(d,e.timeZone,"later")].filter(b=>bt(b,e.timeZone).day===d.day).pop(),p=pr(e)-e.offset,m=Math.floor(p/Wr),h=p%Wr;return p=gt(m,r,Math.floor(c/Wr),Math.floor(u/Wr),n==null?void 0:n.round)*Wr+h,De(bt(p,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return ii(e,t,r,n);case"era":case"year":case"month":case"day":{let o=ai(St(e),t,r,n),a=ht(o,e.timeZone);return De(bt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function xw(e,t,r){let n=St(e),o=Hr(oi(n,t),t);if(o.compare(n)===0)return e;let a=ht(o,e.timeZone,r);return De(bt(a,e.timeZone),e.calendar)}function Kd(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 Ld(e){let t=De(e,new Et);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Vd(e){return`${Ld(e)}T${Kd(e)}`}function ww(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function Ew(e){return`${Vd(e)}${ww(e.offset)}[${e.timeZone}]`}function si(e){let t=typeof e[0]=="object"?e.shift():new Et,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),o=e.shift(),a=e.shift();return[t,r,n,o,a]}var Sw=new WeakMap;class mr{copy(){return this.era?new mr(this.calendar,this.era,this.year,this.month,this.day):new mr(this.calendar,this.year,this.month,this.day)}add(t){return Qn(this,t)}subtract(t){return Ad(this,t)}set(t){return oi(this,t)}cycle(t,r,n){return ai(this,t,r,n)}toDate(t){return Cd(this,t)}toString(){return Ld(this)}compare(t){return wd(this,t)}constructor(...t){Zn(this,Sw,{writable:!0,value:void 0});let[r,n,o,a,i]=si(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,Ut(this)}}var Pw=new WeakMap;class Gr{copy(){return new Gr(this.hour,this.minute,this.second,this.millisecond)}add(t){return zd(this,t)}subtract(t){return yw(this,t)}set(t){return Hr(this,t)}cycle(t,r,n){return ii(this,t,r,n)}toString(){return Kd(this)}compare(t){return Ed(this,t)}constructor(t=0,r=0,n=0,o=0){Zn(this,Pw,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=o,Md(this)}}var Tw=new WeakMap;class to{copy(){return this.era?new to(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new to(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Qn(this,t)}subtract(t){return Ad(this,t)}set(t){return oi(Hr(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return ai(this,t,r,n);default:return ii(this,t,r,n)}}toDate(t,r){return Cd(this,t,r)}toString(){return Vd(this)}compare(t){let r=wd(this,t);return r===0?Ed(this,St(t)):r}constructor(...t){Zn(this,Tw,{writable:!0,value:void 0});let[r,n,o,a,i]=si(t);this.calendar=r,this.era=n,this.year=o,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,Ut(this)}}var kw=new WeakMap;class qr{copy(){return this.era?new qr(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new qr(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Fd(this,t)}subtract(t){return $w(this,t)}set(t,r){return xw(this,t,r)}cycle(t,r,n){return _w(this,t,r,n)}toDate(){return hw(this)}toString(){return Ew(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-mw(t,this.timeZone).toDate().getTime()}constructor(...t){Zn(this,kw,{writable:!0,value:void 0});let[r,n,o,a,i]=si(t),s=t.shift(),c=t.shift();this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.timeZone=s,this.offset=c,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Ut(this)}}let li=new Map;class ro{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),o=this.formatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return Iw()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Ow(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,r={}){this.formatter=jd(t,r),this.options=r}}const Dw={true:{ja:"h11"},false:{}};function jd(e,t={}){if(typeof t.hour12=="boolean"&&Cw()){t={...t};let o=Dw[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=o??a,delete t.hour12}let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(li.has(r))return li.get(r);let n=new Intl.DateTimeFormat(e,t);return li.set(r,n),n}let ci=null;function Cw(){return ci==null&&(ci=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),ci}let di=null;function Iw(){return di==null&&(di=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),di}function Ow(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 r=jd(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),o=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&o===23)return"h23";if(n===24&&o===23)return"h24";if(n===0&&o===11)return"h11";if(n===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}let ui=new Map,fi=!1;try{fi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let no=!1;try{no=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Rd={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class pi{format(t){let r="";if(!fi&&this.options.signDisplay!=null?r=Mw(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!no){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=Rd[o])===null||n===void 0?void 0:n[a];r+=s[i]||s.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!fi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!no&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=Aw(t,r),this.options=r}}function Aw(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!no){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Rd[i])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((i,s)=>i[0]<s[0]?-1:1).join():"");if(ui.has(o))return ui.get(o);let a=new Intl.NumberFormat(e,t);return ui.set(o,a),a}function Mw(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let o=e.format(-r),a=e.format(r),i=o.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(r)}}const Nw=new RegExp("^.*\\(.*\\).*$"),zw=["latn","arab","hanidec"];class Bd{parse(t){return mi(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return mi(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return mi(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Ud=new Map;function mi(e,t,r){let n=Wd(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of zw)if(o!==n.options.numberingSystem){let a=Wd(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function Wd(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=Ud.get(r);return n||(n=new Fw(e,t),Ud.set(r,n)),n}class Fw{parse(t){let r=this.sanitize(t);r=oo(r,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.currencySign==="accounting"&&Nw.test(t)&&(n=-1*n),this.options.style==="percent"){n/=100;var o;n=+n.toFixed(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2)}return n}sanitize(t){return t=t.replace(this.symbols.literals,""),t=t.replace("-",this.symbols.minusSign),this.options.numberingSystem==="arab"&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal),t=oo(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=oo(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),t.startsWith(this.symbols.minusSign)&&r<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)),t.startsWith(this.symbols.group)?!1:(t=oo(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,""),t.length===0)}constructor(t,r={}){this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=Kw(this.formatter,this.options,r)}}const Hd=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function Kw(e,t,r){var n,o,a,i;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),d=e.formatToParts(1);var u;let p=(u=(n=s.find(E=>E.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:"-",m=(o=c.find(E=>E.type==="plusSign"))===null||o===void 0?void 0:o.value;!m&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(m="+");let h=(a=s.find(E=>E.type==="decimal"))===null||a===void 0?void 0:a.value,b=(i=s.find(E=>E.type==="group"))===null||i===void 0?void 0:i.value,g=s.filter(E=>!Hd.has(E.type)).map(E=>Gd(E.value)),v=d.filter(E=>!Hd.has(E.type)).map(E=>Gd(E.value)),_=[...new Set([...v,...g])].sort((E,C)=>C.length-E.length),$=_.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${_.join("|")}|[\\p{White_Space}]`,"gu"),x=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),y=new Map(x.map((E,C)=>[E,C])),A=new RegExp(`[${x.join("")}]`,"g");return{minusSign:p,plusSign:m,decimal:h,group:b,literals:$,numeral:A,index:E=>String(y.get(E))}}function oo(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Gd(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const Lw=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Vw=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function jw(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return Lw.has(r)}let t=e.split("-")[0];return Vw.has(t)}function qd(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:jw(e)?"rtl":"ltr"}}let hi=qd(),Yr=new Set;function Yd(){hi=qd();for(let e of Yr)e(hi)}function Rw(){let e=Hc(),[t,r]=l.useState(hi);return l.useEffect(()=>(Yr.size===0&&window.addEventListener("languagechange",Yd),Yr.add(r),()=>{Yr.delete(r),Yr.size===0&&window.removeEventListener("languagechange",Yd)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Bw=l.createContext(null);function rt(){let e=Rw();return l.useContext(Bw)||e}const Zd=new WeakMap;function Uw(e){let t=Zd.get(e);return t||(t=new Ya(e),Zd.set(e,t)),t}function Pt(e){let{locale:t}=rt(),r=l.useMemo(()=>Uw(e),[e]);return l.useMemo(()=>new ow(t,r),[t,r])}function ao(e){let t=l.useRef(null);e&&t.current&&Ww(e,t.current)&&(e=t.current),t.current=e;let{locale:r}=rt();return l.useMemo(()=>new ro(r,e),[r,e])}function Ww(e,t){if(e===t)return!0;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o of r)if(t[o]!==e[o])return!1;return!0}function Hw(e={}){let{locale:t}=rt();return l.useMemo(()=>new pi(t,e),[t,e])}let bi=new Map;function io(e){let{locale:t}=rt(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(bi.has(r))return bi.get(r);let n=new Intl.Collator(t,e);return bi.set(r,n),n}function Gw(e){let t=io({usage:"search",...e});return{startsWith(r,n){return n.length===0?!0:(r=r.normalize("NFC"),n=n.normalize("NFC"),t.compare(r.slice(0,n.length),n)===0)},endsWith(r,n){return n.length===0?!0:(r=r.normalize("NFC"),n=n.normalize("NFC"),t.compare(r.slice(-n.length),n)===0)},contains(r,n){if(n.length===0)return!0;r=r.normalize("NFC"),n=n.normalize("NFC");let o=0,a=n.length;for(;o+a<=r.length;o++){let i=r.slice(o,o+a);if(t.compare(n,i)===0)return!0}return!1}}}function qw(e){return e&&e.__esModule?e.default:e}function Yw(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=tw({isDisabled:n||r,elementType:a,...i},t),c=/^h[1-6]$/.test(a),d={};return c||(d=s),r&&(d["aria-current"]=o||"page",d.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...d}}}var Xd={},Jd={};Jd={breadcrumbs:"عناصر الواجهة"};var Qd={};Qd={breadcrumbs:"Трохи хляб"};var eu={};eu={breadcrumbs:"Popis cesty"};var tu={};tu={breadcrumbs:"Brødkrummer"};var ru={};ru={breadcrumbs:"Breadcrumbs"};var nu={};nu={breadcrumbs:"Πλοηγήσεις breadcrumb"};var ou={};ou={breadcrumbs:"Breadcrumbs"};var au={};au={breadcrumbs:"Migas de pan"};var iu={};iu={breadcrumbs:"Lingiread"};var su={};su={breadcrumbs:"Navigointilinkit"};var lu={};lu={breadcrumbs:"Chemin de navigation"};var cu={};cu={breadcrumbs:"שבילי ניווט"};var du={};du={breadcrumbs:"Navigacijski putovi"};var uu={};uu={breadcrumbs:"Morzsamenü"};var fu={};fu={breadcrumbs:"Breadcrumb"};var pu={};pu={breadcrumbs:"パンくずリスト"};var mu={};mu={breadcrumbs:"탐색 표시"};var hu={};hu={breadcrumbs:"Naršymo kelias"};var bu={};bu={breadcrumbs:"Atpakaļceļi"};var gu={};gu={breadcrumbs:"Navigasjonsstier"};var vu={};vu={breadcrumbs:"Broodkruimels"};var yu={};yu={breadcrumbs:"Struktura nawigacyjna"};var $u={};$u={breadcrumbs:"Caminho detalhado"};var _u={};_u={breadcrumbs:"Categorias"};var xu={};xu={breadcrumbs:"Miez de pâine"};var wu={};wu={breadcrumbs:"Навигация"};var Eu={};Eu={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Su={};Su={breadcrumbs:"Drobtine"};var Pu={};Pu={breadcrumbs:"Putanje navigacije"};var Tu={};Tu={breadcrumbs:"Sökvägar"};var ku={};ku={breadcrumbs:"İçerik haritaları"};var Du={};Du={breadcrumbs:"Навігаційна стежка"};var Cu={};Cu={breadcrumbs:"导航栏"};var Iu={};Iu={breadcrumbs:"導覽列"},Xd={"ar-AE":Jd,"bg-BG":Qd,"cs-CZ":eu,"da-DK":tu,"de-DE":ru,"el-GR":nu,"en-US":ou,"es-ES":au,"et-EE":iu,"fi-FI":su,"fr-FR":lu,"he-IL":cu,"hr-HR":du,"hu-HU":uu,"it-IT":fu,"ja-JP":pu,"ko-KR":mu,"lt-LT":hu,"lv-LV":bu,"nb-NO":gu,"nl-NL":vu,"pl-PL":yu,"pt-BR":$u,"pt-PT":_u,"ro-RO":xu,"ru-RU":wu,"sk-SK":Eu,"sl-SI":Su,"sr-SP":Pu,"sv-SE":Tu,"tr-TR":ku,"uk-UA":Du,"zh-CN":Cu,"zh-TW":Iu};function Zw(e){let{"aria-label":t,...r}=e,n=Pt(qw(Xd));return{navProps:{...ft(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const Xw=D(Q_)`
|
|
205
|
+
`,W1=y1,U1=$1,H1=E1,G1=S1,Sn=c.forwardRef((e,t)=>c.createElement(ae.span,A({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),gc=Sn,q1=({children:e,label:t})=>{const r=c.Children.only(e);return c.createElement(c.Fragment,null,c.cloneElement(r,{"aria-hidden":"true",focusable:"false"}),c.createElement(gc,null,t))};function Fr({children:e,label:t}){return S(q1,{label:t,children:e})}function Mt(e){return e.split("-")[0]}function Lr(e){return e.split("-")[1]}function rr(e){return["top","bottom"].includes(Mt(e))?"x":"y"}function ba(e){return e==="y"?"height":"width"}function vc(e,t,r){let{reference:n,floating:o}=e;const a=n.x+n.width/2-o.width/2,i=n.y+n.height/2-o.height/2,s=rr(t),l=ba(s),d=n[l]/2-o[l]/2,u=s==="x";let p;switch(Mt(t)){case"top":p={x:a,y:n.y-o.height};break;case"bottom":p={x:a,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:i};break;case"left":p={x:n.x-o.width,y:i};break;default:p={x:n.x,y:n.y}}switch(Lr(t)){case"start":p[s]-=d*(r&&u?-1:1);break;case"end":p[s]+=d*(r&&u?-1:1)}return p}const Y1=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=vc(l,n,s),p=n,m={},h=0;for(let b=0;b<a.length;b++){const{name:g,fn:v}=a[b],{x:$,y:x,data:_,reset:y}=await v({x:d,y:u,initialPlacement:n,placement:p,strategy:o,middlewareData:m,rects:l,platform:i,elements:{reference:e,floating:t}});d=$??d,u=x??u,m={...m,[g]:{...m[g],..._}},y&&h<=50&&(h++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(l=y.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:u}=vc(l,p,s)),b=-1)}return{x:d,y:u,placement:p,strategy:o,middlewareData:m}};function yc(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Pn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Vr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:m=!1,padding:h=0}=t,b=yc(h),g=s[m?p==="floating"?"reference":"floating":p],v=Pn(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(g)))==null||r?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:d,rootBoundary:u,strategy:l})),$=Pn(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...i.floating,x:n,y:o}:i.reference,offsetParent:await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),strategy:l}):i[p]);return{top:v.top-$.top+b.top,bottom:$.bottom-v.bottom+b.bottom,left:v.left-$.left+b.left,right:$.right-v.right+b.right}}const Z1=Math.min,Nt=Math.max;function ga(e,t,r){return Nt(e,Z1(t,r))}const $c=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e??{},{x:o,y:a,placement:i,rects:s,platform:l}=t;if(r==null)return{};const d=yc(n),u={x:o,y:a},p=rr(i),m=Lr(i),h=ba(p),b=await l.getDimensions(r),g=p==="y"?"top":"left",v=p==="y"?"bottom":"right",$=s.reference[h]+s.reference[p]-u[p]-s.floating[h],x=u[p]-s.reference[p],_=await(l.getOffsetParent==null?void 0:l.getOffsetParent(r));let y=_?p==="y"?_.clientHeight||0:_.clientWidth||0:0;y===0&&(y=s.floating[h]);const I=$/2-x/2,N=d[g],E=y-b[h]-d[v],D=y/2-b[h]/2+I,M=ga(N,D,E),V=(m==="start"?d[g]:d[v])>0&&D!==M&&s.reference[h]<=s.floating[h];return{[p]:u[p]-(V?D<N?N-D:E-D:0),data:{[p]:M,centerOffset:D-M}}}}),X1={left:"right",right:"left",bottom:"top",top:"bottom"};function Tn(e){return e.replace(/left|right|bottom|top/g,t=>X1[t])}function J1(e,t,r){r===void 0&&(r=!1);const n=Lr(e),o=rr(e),a=ba(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Tn(i)),{main:i,cross:Tn(i)}}const Q1={start:"end",end:"start"};function xc(e){return e.replace(/start|end/g,t=>Q1[t])}const _c=["top","right","bottom","left"];_c.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const ex=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:a,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",flipAlignment:h=!0,...b}=e,g=Mt(n),v=p||(g===i||!h?[Tn(i)]:function(D){const M=Tn(D);return[xc(D),M,xc(M)]}(i)),$=[i,...v],x=await Vr(t,b),_=[];let y=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&_.push(x[g]),u){const{main:D,cross:M}=J1(n,a,await(s.isRTL==null?void 0:s.isRTL(l.floating)));_.push(x[D],x[M])}if(y=[...y,{placement:n,overflows:_}],!_.every(D=>D<=0)){var I,N;const D=((I=(N=o.flip)==null?void 0:N.index)!=null?I:0)+1,M=$[D];if(M)return{data:{index:D,overflows:y},reset:{placement:M}};let V="bottom";switch(m){case"bestFit":{var E;const C=(E=y.map(L=>[L,L.overflows.filter(P=>P>0).reduce((P,T)=>P+T,0)]).sort((L,P)=>L[1]-P[1])[0])==null?void 0:E[0].placement;C&&(V=C);break}case"initialPlacement":V=i}if(n!==V)return{reset:{placement:V}}}return{}}}};function wc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ec(e){return _c.some(t=>e[t]>=0)}const tx=function(e){let{strategy:t="referenceHidden",...r}=e===void 0?{}:e;return{name:"hide",async fn(n){const{rects:o}=n;switch(t){case"referenceHidden":{const a=wc(await Vr(n,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Ec(a)}}}case"escaped":{const a=wc(await Vr(n,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:a,escaped:Ec(a)}}}default:return{}}}}},rx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(a,i){const{placement:s,platform:l,elements:d}=a,u=await(l.isRTL==null?void 0:l.isRTL(d.floating)),p=Mt(s),m=Lr(s),h=rr(s)==="x",b=["left","top"].includes(p)?-1:1,g=u&&h?-1:1,v=typeof i=="function"?i(a):i;let{mainAxis:$,crossAxis:x,alignmentAxis:_}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return m&&typeof _=="number"&&(x=m==="end"?-1*_:_),h?{x:x*g,y:$*b}:{x:$*b,y:x*g}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function Sc(e){return e==="x"?"y":"x"}const nx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:v=>{let{x:$,y:x}=v;return{x:$,y:x}}},...l}=e,d={x:r,y:n},u=await Vr(t,l),p=rr(Mt(o)),m=Sc(p);let h=d[p],b=d[m];if(a){const v=p==="y"?"bottom":"right";h=ga(h+u[p==="y"?"top":"left"],h,h-u[v])}if(i){const v=m==="y"?"bottom":"right";b=ga(b+u[m==="y"?"top":"left"],b,b-u[v])}const g=s.fn({...t,[p]:h,[m]:b});return{...g,data:{x:g.x-r,y:g.y-n}}}}},ox=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:d=!0}=e,u={x:r,y:n},p=rr(o),m=Sc(p);let h=u[p],b=u[m];const g=typeof s=="function"?s({...a,placement:o}):s,v=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const I=p==="y"?"height":"width",N=a.reference[p]-a.floating[I]+v.mainAxis,E=a.reference[p]+a.reference[I]-v.mainAxis;h<N?h=N:h>E&&(h=E)}if(d){var $,x,_,y;const I=p==="y"?"width":"height",N=["top","left"].includes(Mt(o)),E=a.reference[m]-a.floating[I]+(N&&($=(x=i.offset)==null?void 0:x[m])!=null?$:0)+(N?0:v.crossAxis),D=a.reference[m]+a.reference[I]+(N?0:(_=(y=i.offset)==null?void 0:y[m])!=null?_:0)-(N?v.crossAxis:0);b<E?b=E:b>D&&(b=D)}return{[p]:h,[m]:b}}}},ax=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i,...s}=e,l=await Vr(t,s),d=Mt(r),u=Lr(r);let p,m;d==="top"||d==="bottom"?(p=d,m=u===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,p=u==="end"?"top":"bottom");const h=Nt(l.left,0),b=Nt(l.right,0),g=Nt(l.top,0),v=Nt(l.bottom,0),$={availableHeight:n.floating.height-(["left","right"].includes(r)?2*(g!==0||v!==0?g+v:Nt(l.top,l.bottom)):l[p]),availableWidth:n.floating.width-(["top","bottom"].includes(r)?2*(h!==0||b!==0?h+b:Nt(l.left,l.right)):l[m])},x=await o.getDimensions(a.floating);i==null||i({...t,...$});const _=await o.getDimensions(a.floating);return x.width!==_.width||x.height!==_.height?{reset:{rects:!0}}:{}}}};function Pc(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function ct(e){if(e==null)return window;if(!Pc(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function jr(e){return ct(e).getComputedStyle(e)}function dt(e){return Pc(e)?"":e?(e.nodeName||"").toLowerCase():""}function Tc(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function et(e){return e instanceof ct(e).HTMLElement}function xt(e){return e instanceof ct(e).Element}function va(e){return typeof ShadowRoot>"u"?!1:e instanceof ct(e).ShadowRoot||e instanceof ShadowRoot}function kn(e){const{overflow:t,overflowX:r,overflowY:n}=jr(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function ix(e){return["table","td","th"].includes(dt(e))}function kc(e){const t=/firefox/i.test(Tc()),r=jr(e);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||t&&r.willChange==="filter"||t&&!!r.filter&&r.filter!=="none"}function Dc(){return!/^((?!chrome|android).)*safari/i.test(Tc())}const Cc=Math.min,Rr=Math.max,Dn=Math.round;function ut(e,t,r){var n,o,a,i;t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect();let l=1,d=1;t&&et(e)&&(l=e.offsetWidth>0&&Dn(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&Dn(s.height)/e.offsetHeight||1);const u=xt(e)?ct(e):window,p=!Dc()&&r,m=(s.left+(p&&(n=(o=u.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/l,h=(s.top+(p&&(a=(i=u.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/d,b=s.width/l,g=s.height/d;return{width:b,height:g,top:h,right:m+b,bottom:h+g,left:m,x:m,y:h}}function _t(e){return(t=e,(t instanceof ct(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Cn(e){return xt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ic(e){return ut(_t(e)).left+Cn(e).scrollLeft}function sx(e,t,r){const n=et(t),o=_t(t),a=ut(e,n&&function(l){const d=ut(l);return Dn(d.width)!==l.offsetWidth||Dn(d.height)!==l.offsetHeight}(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((dt(t)!=="body"||kn(o))&&(i=Cn(t)),et(t)){const l=ut(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=Ic(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function Oc(e){return dt(e)==="html"?e:e.assignedSlot||e.parentNode||(va(e)?e.host:null)||_t(e)}function Ac(e){return et(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function ya(e){const t=ct(e);let r=Ac(e);for(;r&&ix(r)&&getComputedStyle(r).position==="static";)r=Ac(r);return r&&(dt(r)==="html"||dt(r)==="body"&&getComputedStyle(r).position==="static"&&!kc(r))?t:r||function(n){let o=Oc(n);for(va(o)&&(o=o.host);et(o)&&!["html","body"].includes(dt(o));){if(kc(o))return o;o=o.parentNode}return null}(e)||t}function Mc(e){if(et(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=ut(e);return{width:t.width,height:t.height}}function Nc(e){const t=Oc(e);return["html","body","#document"].includes(dt(t))?e.ownerDocument.body:et(t)&&kn(t)?t:Nc(t)}function In(e,t){var r;t===void 0&&(t=[]);const n=Nc(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=ct(n),i=o?[a].concat(a.visualViewport||[],kn(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(In(i))}function zc(e,t,r){return t==="viewport"?Pn(function(n,o){const a=ct(n),i=_t(n),s=a.visualViewport;let l=i.clientWidth,d=i.clientHeight,u=0,p=0;if(s){l=s.width,d=s.height;const m=Dc();(m||!m&&o==="fixed")&&(u=s.offsetLeft,p=s.offsetTop)}return{width:l,height:d,x:u,y:p}}(e,r)):xt(t)?function(n,o){const a=ut(n,!1,o==="fixed"),i=a.top+n.clientTop,s=a.left+n.clientLeft;return{top:i,left:s,x:s,y:i,right:s+n.clientWidth,bottom:i+n.clientHeight,width:n.clientWidth,height:n.clientHeight}}(t,r):Pn(function(n){var o;const a=_t(n),i=Cn(n),s=(o=n.ownerDocument)==null?void 0:o.body,l=Rr(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),d=Rr(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let u=-i.scrollLeft+Ic(n);const p=-i.scrollTop;return jr(s||a).direction==="rtl"&&(u+=Rr(a.clientWidth,s?s.clientWidth:0)-l),{width:l,height:d,x:u,y:p}}(_t(e)))}function lx(e){const t=In(e),r=["absolute","fixed"].includes(jr(e).position)&&et(e)?ya(e):e;return xt(r)?t.filter(n=>xt(n)&&function(o,a){const i=a.getRootNode==null?void 0:a.getRootNode();if(o.contains(a))return!0;if(i&&va(i)){let s=a;do{if(s&&o===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(n,r)&&dt(n)!=="body"):[]}const cx={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?lx(t):[].concat(r),n],i=a[0],s=a.reduce((l,d)=>{const u=zc(t,d,o);return l.top=Rr(u.top,l.top),l.right=Cc(u.right,l.right),l.bottom=Cc(u.bottom,l.bottom),l.left=Rr(u.left,l.left),l},zc(t,i,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=et(r),a=_t(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((dt(r)!=="body"||kn(a))&&(i=Cn(r)),et(r))){const l=ut(r,!0);s.x=l.x+r.clientLeft,s.y=l.y+r.clientTop}return{...t,x:t.x-i.scrollLeft+s.x,y:t.y-i.scrollTop+s.y}},isElement:xt,getDimensions:Mc,getOffsetParent:ya,getDocumentElement:_t,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:sx(t,ya(r),n),floating:{...Mc(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>jr(e).direction==="rtl"};function dx(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:s=!1}=n,l=o&&!s,d=a&&!s,u=l||d?[...xt(e)?In(e):[],...In(t)]:[];u.forEach(b=>{l&&b.addEventListener("scroll",r,{passive:!0}),d&&b.addEventListener("resize",r)});let p,m=null;if(i){let b=!0;m=new ResizeObserver(()=>{b||r(),b=!1}),xt(e)&&!s&&m.observe(e),m.observe(t)}let h=s?ut(e):null;return s&&function b(){const g=ut(e);!h||g.x===h.x&&g.y===h.y&&g.width===h.width&&g.height===h.height||r(),h=g,p=requestAnimationFrame(b)}(),r(),()=>{var b;u.forEach(g=>{l&&g.removeEventListener("scroll",r),d&&g.removeEventListener("resize",r)}),(b=m)==null||b.disconnect(),m=null,s&&cancelAnimationFrame(p)}}const ux=(e,t,r)=>Y1(e,t,{platform:cx,...r});var $a=typeof document<"u"?c.useLayoutEffect:c.useEffect;function xa(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!xa(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!xa(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function fx(e){const t=U.useRef(e);return $a(()=>{t.current=e}),t}function px(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const a=U.useRef(null),i=U.useRef(null),s=fx(o),l=U.useRef(null),[d,u]=U.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,m]=U.useState(t);xa(p==null?void 0:p.map(_=>{let{options:y}=_;return y}),t==null?void 0:t.map(_=>{let{options:y}=_;return y}))||m(t);const h=U.useCallback(()=>{!a.current||!i.current||ux(a.current,i.current,{middleware:p,placement:r,strategy:n}).then(_=>{b.current&&kl.flushSync(()=>{u(_)})})},[p,r,n]);$a(()=>{b.current&&h()},[h]);const b=U.useRef(!1);$a(()=>(b.current=!0,()=>{b.current=!1}),[]);const g=U.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),a.current&&i.current)if(s.current){const _=s.current(a.current,i.current,h);l.current=_}else h()},[h,s]),v=U.useCallback(_=>{a.current=_,g()},[g]),$=U.useCallback(_=>{i.current=_,g()},[g]),x=U.useMemo(()=>({reference:a,floating:i}),[]);return U.useMemo(()=>({...d,update:h,refs:x,reference:v,floating:$}),[d,h,x,v,$])}const mx=e=>{const{element:t,padding:r}=e;function n(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return n(t)?t.current!=null?$c({element:t.current,padding:r}).fn(o):{}:t?$c({element:t,padding:r}).fn(o):{}}}},hx=c.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return c.createElement(ae.svg,A({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:c.createElement("polygon",{points:"0,0 30,0 15,10"}))});function On(e){const[t,r]=c.useState(void 0);return Te(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const l=a.borderBoxSize,d=Array.isArray(l)?l[0]:l;i=d.inlineSize,s=d.blockSize}else i=e.offsetWidth,s=e.offsetHeight;r({width:i,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const Kc="Popper",[_a,nr]=Oe(Kc),[bx,Fc]=_a(Kc),gx=e=>{const{__scopePopper:t,children:r}=e,[n,o]=c.useState(null);return c.createElement(bx,{scope:t,anchor:n,onAnchorChange:o},r)},vx="PopperAnchor",yx=c.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Fc(vx,r),i=c.useRef(null),s=fe(t,i);return c.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:c.createElement(ae.div,A({},o,{ref:s}))}),An="PopperContent",[$x,xx]=_a(An),[_x,wx]=_a(An,{hasParent:!1,positionUpdateFns:new Set}),Ex=c.forwardRef((e,t)=>{var r,n,o,a,i,s,l,d;const{__scopePopper:u,side:p="bottom",sideOffset:m=0,align:h="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:_=!1,avoidCollisions:y=!0,onPlaced:I,...N}=e,E=Fc(An,u),[D,M]=c.useState(null),V=fe(t,Ge=>M(Ge)),[C,L]=c.useState(null),P=On(C),T=(r=P==null?void 0:P.width)!==null&&r!==void 0?r:0,G=(n=P==null?void 0:P.height)!==null&&n!==void 0?n:0,le=p+(h!=="center"?"-"+h:""),R=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},oe=Array.isArray(v)?v:[v],q=oe.length>0,z={padding:R,boundary:oe.filter(Dx),altBoundary:q},{reference:O,floating:W,strategy:Z,x:X,y:ce,placement:ne,middlewareData:B,update:Y}=px({strategy:"fixed",placement:le,whileElementsMounted:dx,middleware:[Cx(),rx({mainAxis:m+G,alignmentAxis:b}),y?nx({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?ox():void 0,...z}):void 0,C?mx({element:C,padding:g}):void 0,y?ex({...z}):void 0,ax({...z,apply:({elements:Ge,availableWidth:Le,availableHeight:_l})=>{Ge.floating.style.setProperty("--radix-popper-available-width",`${Le}px`),Ge.floating.style.setProperty("--radix-popper-available-height",`${_l}px`)}}),Ix({arrowWidth:T,arrowHeight:G}),_?tx({strategy:"referenceHidden"}):void 0].filter(kx)});Te(()=>{O(E.anchor)},[O,E.anchor]);const te=X!==null&&ce!==null,[J,ie]=Lc(ne),re=Ae(I);Te(()=>{te&&(re==null||re())},[te,re]);const xe=(o=B.arrow)===null||o===void 0?void 0:o.x,ke=(a=B.arrow)===null||a===void 0?void 0:a.y,We=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Fe,Ue]=c.useState();Te(()=>{D&&Ue(window.getComputedStyle(D).zIndex)},[D]);const{hasParent:He,positionUpdateFns:ze}=wx(An,u),it=!He;c.useLayoutEffect(()=>{if(!it)return ze.add(Y),()=>{ze.delete(Y)}},[it,ze,Y]),Te(()=>{it&&te&&Array.from(ze).reverse().forEach(Ge=>requestAnimationFrame(Ge))},[it,te,ze]);const Cr={"data-side":J,"data-align":ie,...N,ref:V,style:{...N.style,animation:te?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return c.createElement("div",{ref:W,"data-radix-popper-content-wrapper":"",style:{position:Z,left:0,top:0,transform:te?`translate3d(${Math.round(X)}px, ${Math.round(ce)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Fe,["--radix-popper-transform-origin"]:[(l=B.transformOrigin)===null||l===void 0?void 0:l.x,(d=B.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},c.createElement($x,{scope:u,placedSide:J,onArrowChange:L,arrowX:xe,arrowY:ke,shouldHideArrow:We},it?c.createElement(_x,{scope:u,hasParent:!0,positionUpdateFns:ze},c.createElement(ae.div,Cr)):c.createElement(ae.div,Cr)))}),Sx="PopperArrow",Px={top:"bottom",right:"left",bottom:"top",left:"right"},Tx=c.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=xx(Sx,n),i=Px[a.placedSide];return c.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},c.createElement(hx,A({},o,{ref:r,style:{...o.style,display:"block"}})))});function kx(e){return e!==void 0}function Dx(e){return e!==null}const Cx=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:r}=e,{width:n,height:o}=t.reference;return r.floating.style.setProperty("--radix-popper-anchor-width",`${n}px`),r.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),Ix=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:l,middlewareData:d}=t,p=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,m=p?0:e.arrowWidth,h=p?0:e.arrowHeight,[b,g]=Lc(s),v={start:"0%",center:"50%",end:"100%"}[g],$=((n=(o=d.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+m/2,x=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+h/2;let _="",y="";return b==="bottom"?(_=p?v:`${$}px`,y=`${-h}px`):b==="top"?(_=p?v:`${$}px`,y=`${l.floating.height+h}px`):b==="right"?(_=`${-h}px`,y=p?v:`${x}px`):b==="left"&&(_=`${l.floating.width+h}px`,y=p?v:`${x}px`),{data:{x:_,y}}}});function Lc(e){const[t,r="center"]=e.split("-");return[t,r]}const wa=gx,Ea=yx,Sa=Ex,Vc=Tx,jc="Popover",[Rc,NC]=Oe(jc,[nr]),Mn=nr(),[Ox,zt]=Rc(jc),Bc=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=Mn(t),l=c.useRef(null),[d,u]=c.useState(!1),[p=!1,m]=Ye({prop:n,defaultProp:o,onChange:a});return c.createElement(wa,s,c.createElement(Ox,{scope:t,contentId:Je(),triggerRef:l,open:p,onOpenChange:m,onOpenToggle:c.useCallback(()=>m(h=>!h),[m]),hasCustomAnchor:d,onCustomAnchorAdd:c.useCallback(()=>u(!0),[]),onCustomAnchorRemove:c.useCallback(()=>u(!1),[]),modal:i},r))},Ax="PopoverTrigger",Wc=c.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=zt(Ax,r),a=Mn(r),i=fe(t,o.triggerRef),s=c.createElement(ae.button,A({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":qc(o.open)},n,{ref:i,onClick:Q(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:c.createElement(Ea,A({asChild:!0},a),s)}),Uc="PopoverPortal",[Mx,Nx]=Rc(Uc,{forceMount:void 0}),zx=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=zt(Uc,t);return c.createElement(Mx,{scope:t,forceMount:r},c.createElement(Ve,{present:r||a.open},c.createElement(Kr,{asChild:!0,container:o},n)))},Br="PopoverContent",Hc=c.forwardRef((e,t)=>{const r=Nx(Br,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=zt(Br,e.__scopePopover);return c.createElement(Ve,{present:n||a.open},a.modal?c.createElement(Kx,A({},o,{ref:t})):c.createElement(Fx,A({},o,{ref:t})))}),Kx=c.forwardRef((e,t)=>{const r=zt(Br,e.__scopePopover),n=c.useRef(null),o=fe(t,n),a=c.useRef(!1);return c.useEffect(()=>{const i=n.current;if(i)return ca(i)},[]),c.createElement(sa,{as:Ot,allowPinchZoom:!0},c.createElement(Gc,A({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Q(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Q(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,d=s.button===2||l;a.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:Q(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),Fx=c.forwardRef((e,t)=>{const r=zt(Br,e.__scopePopover),n=c.useRef(!1);return c.createElement(Gc,A({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),Gc=c.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:u,...p}=e,m=zt(Br,r),h=Mn(r);return na(),c.createElement(ta,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(zr,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1)},c.createElement(Sa,A({"data-state":qc(m.open),role:"dialog",id:m.contentId},h,p,{ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),Lx="PopoverClose",Vx=c.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=zt(Lx,r);return c.createElement(ae.button,A({type:"button"},n,{ref:t,onClick:Q(e.onClick,()=>o.onOpenChange(!1))}))}),jx=c.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Mn(r);return c.createElement(Vc,A({},o,n,{ref:t}))});function qc(e){return e?"open":"closed"}const Rx=Bc,Bx=Wc,Wx=zx,Ux=Hc,Yc=Vx,Hx=jx;function Kt(e,t,r){let[n,o]=c.useState(e||t),a=c.useRef(e!==void 0),i=a.current,s=e!==void 0,l=c.useRef(n);i!==s&&console.warn(`WARN: A component changed from ${i?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s;let d=c.useCallback((u,...p)=>{let m=(h,...b)=>{r&&(Object.is(l.current,h)||r(h,...b)),s||(l.current=h)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((b,...g)=>{let v=u(s?l.current:b,...g);return m(v,...p),s?b:v})):(s||o(u),m(u,...p))},[s,r]);return s?l.current=e:e=n,[e,d]}function Gx(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function Ft(e,t,r,n){let o=(e-(isNaN(t)?0:t))%n,a=Math.abs(o)*2>=n?e+Math.sign(o)*(n-Math.abs(o)):e-o;isNaN(t)?!isNaN(r)&&a>r&&(a=Math.floor(r/n)*n):a<t?a=t:!isNaN(r)&&a>r&&(a=t+Math.floor((r-t)/n)*n);let i=n.toString(),s=i.indexOf("."),l=s>=0?i.length-s:0;if(l>0){let d=Math.pow(10,l);a=Math.round(a*d)/d}return a}const Pa={prefix:String(Math.round(Math.random()*1e10)),current:0},Ta=c.createContext(Pa);let qx=Boolean(typeof window<"u"&&window.document&&window.document.createElement),ka=new WeakMap;function Yx(e=!1){let t=c.useContext(Ta),r=c.useRef(null);if(r.current===null&&!e){var n,o;let a=(n=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(o=n.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(a){let i=ka.get(a);i==null?ka.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,ka.delete(a))}r.current=++t.current}return r.current}function Zx(e){let t=c.useContext(Ta);t===Pa&&!qx&&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 r=Yx(!!e);return e||`react-aria${t.prefix}-${r}`}function Zc(){let t=c.useContext(Ta)!==Pa,[r,n]=c.useState(t);return typeof window<"u"&&t&&c.useLayoutEffect(()=>{n(!1)},[]),r}function Xc(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Xc(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Nn(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Xc(e))&&(n&&(n+=" "),n+=t);return n}const _e=typeof window<"u"?c.useLayoutEffect:()=>{};function Xx(e){let[t,r]=c.useState(e),n=c.useRef(t),o=c.useRef(null);n.current=t;let a=c.useRef(null);a.current=()=>{let s=o.current.next();if(s.done){o.current=null;return}t===s.value?a.current():r(s.value)},_e(()=>{o.current&&a.current()});let i=c.useCallback(s=>{o.current=s(n.current),a.current()},[o,a]);return[t,i]}let zn=new Map;function Ke(e){let[t,r]=c.useState(e),n=c.useRef(null),o=Zx(t),a=c.useCallback(i=>{n.current=i},[]);return zn.set(o,a),_e(()=>{let i=o;return()=>{zn.delete(i)}},[o]),c.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function Jx(e,t){if(e===t)return e;let r=zn.get(e);if(r)return r(t),t;let n=zn.get(t);return n?(n(e),e):t}function Kn(e=[]){let t=Ke(),[r,n]=Xx(t),o=c.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return _e(o,[t,o,...e]),r}function Lt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function pe(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],i=n[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Lt(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Nn(a,i):o==="id"&&a&&i?t.id=Jx(a,i):t[o]=i!==void 0?i:a}}return t}const Qx=new Set(["id"]),e_=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),t_=/^(data-.*)$/;function ft(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(Qx.has(a)||r&&e_.has(a)||n!=null&&n.has(a)||t_.test(a))&&(o[a]=e[a]);return o}function wt(e){if(r_())e.focus({preventScroll:!0});else{let t=n_(e);e.focus(),o_(t)}}let Fn=null;function r_(){if(Fn==null){Fn=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Fn=!0,!0}})}catch{}}return Fn}function n_(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function o_(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let or=new Map,Da=new Set;function Jc(){if(typeof window>"u")return;let e=r=>{let n=or.get(r.target);n||(n=new Set,or.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=or.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),or.delete(r.target)),or.size===0)){for(let o of Da)o();Da.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Jc():document.addEventListener("DOMContentLoaded",Jc));function Qc(e){requestAnimationFrame(()=>{or.size===0?e():Da.add(e)})}function Ca(){let e=c.useRef(new Map),t=c.useCallback((o,a,i,s)=>{let l=s!=null&&s.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:o,fn:l,options:s}),o.addEventListener(a,i,s)},[]),r=c.useCallback((o,a,i,s)=>{var l;let d=((l=e.current.get(i))===null||l===void 0?void 0:l.fn)||i;o.removeEventListener(a,d,s),e.current.delete(i)},[]),n=c.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return c.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function Ia(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=Ke(r),o&&n?o=[...new Set([...o.trim().split(/\s+/),r])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function tt(e){const t=c.useRef();return _e(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function a_(){return typeof window.ResizeObserver<"u"}function i_(e){const{ref:t,onResize:r}=e;c.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(a_()){const o=new window.ResizeObserver(a=>{a.length&&r()});return o.observe(n),()=>{n&&o.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function ed(e,t){_e(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function Wr(e){for(td(e)&&(e=e.parentElement);e&&!td(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function td(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}let s_=0;const Oa=new Map;function Aa(e){let[t,r]=c.useState(void 0);return _e(()=>{if(!e)return;let n=Oa.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${s_++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},Oa.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),Oa.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Ma(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Na(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Vt(){return Na(/^Mac/i)}function rd(){return Na(/^iPhone/i)}function nd(){return Na(/^iPad/i)||Vt()&&navigator.maxTouchPoints>1}function ar(){return rd()||nd()}function l_(){return Vt()||ar()}function c_(){return Ma(/AppleWebKit/i)&&!d_()}function d_(){return Ma(/Chrome/i)}function od(){return Ma(/Android/i)}function Ln(e,t,r,n){let o=c.useRef(r);o.current=r;let a=r==null;c.useEffect(()=>{if(a)return;let i=e.current,s=l=>o.current.call(this,l);return i.addEventListener(t,s,n),()=>{i.removeEventListener(t,s,n)}},[e,t,n,a])}function za(e,t){let r=ad(e,t,"left"),n=ad(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:d}=getComputedStyle(e),u=e.scrollLeft+parseInt(d,10),p=e.scrollTop+parseInt(l,10),m=u+e.clientWidth,h=p+e.clientHeight;r<=i?i=r-parseInt(d,10):r+o>m&&(i+=r+o-m),n<=p?s=n-parseInt(l,10):n+a>h&&(s+=n+a-h),e.scrollLeft=i,e.scrollTop=s}function ad(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function id(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let l=Wr(e);for(;e&&l&&e!==i&&l!==i;)za(l,e),e=l,l=Wr(e)}else{var r;let{left:l,top:d}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:u,top:p}=e.getBoundingClientRect();if(Math.abs(l-u)>1||Math.abs(d-p)>1){var n,o,a;t==null||(n=t.containingElement)===null||n===void 0||(o=n.scrollIntoView)===null||o===void 0||o.call(n,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function Ka(e){return e.mozInputSource===0&&e.isTrusted?!0:od()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function u_(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let sr="default",Fa="",Vn=new WeakMap;function sd(e){ar()?(sr==="default"&&(Fa=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),sr="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Vn.set(e,e.style.userSelect),e.style.userSelect="none")}function jn(e){if(ar()){if(sr!=="disabled")return;sr="restoring",setTimeout(()=>{Qc(()=>{sr==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=Fa||""),Fa="",sr="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Vn.has(e)){let t=Vn.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Vn.delete(e)}}const ld=c.createContext(null);ld.displayName="PressResponderContext";function f_(e){let t=c.useContext(ld);if(t){let{register:r,...n}=t;e=pe(n,e),r()}return ed(t,e.ref),e}function lr(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:u,ref:p,...m}=f_(e),h=c.useRef(null);h.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,shouldCancelOnPointerExit:d};let[b,g]=c.useState(!1),v=c.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:x}=Ca(),_=c.useMemo(()=>{let y=v.current,I=(C,L)=>{let{onPressStart:P,onPressChange:T,isDisabled:G}=h.current;G||y.didFirePressStart||(P&&P({type:"pressstart",pointerType:L,target:C.currentTarget,shiftKey:C.shiftKey,metaKey:C.metaKey,ctrlKey:C.ctrlKey,altKey:C.altKey}),T&&T(!0),y.didFirePressStart=!0,g(!0))},N=(C,L,P=!0)=>{let{onPressEnd:T,onPressChange:G,onPress:le,isDisabled:R}=h.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,T&&T({type:"pressend",pointerType:L,target:C.currentTarget,shiftKey:C.shiftKey,metaKey:C.metaKey,ctrlKey:C.ctrlKey,altKey:C.altKey}),G&&G(!1),g(!1),le&&P&&!R&&le({type:"press",pointerType:L,target:C.currentTarget,shiftKey:C.shiftKey,metaKey:C.metaKey,ctrlKey:C.ctrlKey,altKey:C.altKey}))},E=(C,L)=>{let{onPressUp:P,isDisabled:T}=h.current;T||P&&P({type:"pressup",pointerType:L,target:C.currentTarget,shiftKey:C.shiftKey,metaKey:C.metaKey,ctrlKey:C.ctrlKey,altKey:C.altKey})},D=C=>{y.isPressed&&(y.isOverTarget&&N(pt(y.target,C),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),u||jn(y.target))},M={onKeyDown(C){Va(C.nativeEvent,C.currentTarget)&&C.currentTarget.contains(C.target)?(dd(C.target,C.key)&&C.preventDefault(),C.stopPropagation(),!y.isPressed&&!C.repeat&&(y.target=C.currentTarget,y.isPressed=!0,I(C,"keyboard"),$(document,"keyup",V,!1))):C.key==="Enter"&&La(C.currentTarget)&&C.stopPropagation()},onKeyUp(C){Va(C.nativeEvent,C.currentTarget)&&!C.repeat&&C.currentTarget.contains(C.target)&&E(pt(y.target,C),"keyboard")},onClick(C){C&&!C.currentTarget.contains(C.target)||C&&C.button===0&&(C.stopPropagation(),i&&C.preventDefault(),!y.ignoreClickAfterPress&&!y.ignoreEmulatedMouseEvents&&(y.pointerType==="virtual"||Ka(C.nativeEvent))&&(!i&&!l&&wt(C.currentTarget),I(C,"virtual"),E(C,"virtual"),N(C,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},V=C=>{if(y.isPressed&&Va(C,y.target)){dd(C.target,C.key)&&C.preventDefault(),C.stopPropagation(),y.isPressed=!1;let L=C.target;N(pt(y.target,C),"keyboard",y.target.contains(L)),x(),y.target instanceof HTMLElement&&y.target.contains(L)&&(La(y.target)||y.target.getAttribute("role")==="link")&&y.target.click()}};if(typeof PointerEvent<"u"){M.onPointerDown=T=>{if(!(T.button!==0||!T.currentTarget.contains(T.target))){if(u_(T.nativeEvent)){y.pointerType="virtual";return}ja(T.currentTarget)&&T.preventDefault(),y.pointerType=T.pointerType,T.stopPropagation(),y.isPressed||(y.isPressed=!0,y.isOverTarget=!0,y.activePointerId=T.pointerId,y.target=T.currentTarget,!i&&!l&&wt(T.currentTarget),u||sd(y.target),I(T,y.pointerType),$(document,"pointermove",C,!1),$(document,"pointerup",L,!1),$(document,"pointercancel",P,!1))}},M.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(ja(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},M.onPointerUp=T=>{!T.currentTarget.contains(T.target)||y.pointerType==="virtual"||T.button===0&&cr(T,T.currentTarget)&&E(T,y.pointerType||T.pointerType)};let C=T=>{T.pointerId===y.activePointerId&&(cr(T,y.target)?y.isOverTarget||(y.isOverTarget=!0,I(pt(y.target,T),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,N(pt(y.target,T),y.pointerType,!1),h.current.shouldCancelOnPointerExit&&D(T)))},L=T=>{T.pointerId===y.activePointerId&&y.isPressed&&T.button===0&&(cr(T,y.target)?N(pt(y.target,T),y.pointerType):y.isOverTarget&&N(pt(y.target,T),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),u||jn(y.target))},P=T=>{D(T)};M.onDragStart=T=>{T.currentTarget.contains(T.target)&&D(T)}}else{M.onMouseDown=P=>{P.button!==0||!P.currentTarget.contains(P.target)||(ja(P.currentTarget)&&P.preventDefault(),P.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=P.currentTarget,y.pointerType=Ka(P.nativeEvent)?"virtual":"mouse",!i&&!l&&wt(P.currentTarget),I(P,y.pointerType),$(document,"mouseup",C,!1)))},M.onMouseEnter=P=>{P.currentTarget.contains(P.target)&&(P.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!0,I(P,y.pointerType)))},M.onMouseLeave=P=>{P.currentTarget.contains(P.target)&&(P.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!1,N(P,y.pointerType,!1),h.current.shouldCancelOnPointerExit&&D(P)))},M.onMouseUp=P=>{P.currentTarget.contains(P.target)&&!y.ignoreEmulatedMouseEvents&&P.button===0&&E(P,y.pointerType)};let C=P=>{if(P.button===0){if(y.isPressed=!1,x(),y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}cr(P,y.target)?N(pt(y.target,P),y.pointerType):y.isOverTarget&&N(pt(y.target,P),y.pointerType,!1),y.isOverTarget=!1}};M.onTouchStart=P=>{if(!P.currentTarget.contains(P.target))return;P.stopPropagation();let T=p_(P.nativeEvent);T&&(y.activePointerId=T.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=P.currentTarget,y.pointerType="touch",!i&&!l&&wt(P.currentTarget),u||sd(y.target),I(P,y.pointerType),$(window,"scroll",L,!0))},M.onTouchMove=P=>{if(!P.currentTarget.contains(P.target)||(P.stopPropagation(),!y.isPressed))return;let T=cd(P.nativeEvent,y.activePointerId);T&&cr(T,P.currentTarget)?y.isOverTarget||(y.isOverTarget=!0,I(P,y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,N(P,y.pointerType,!1),h.current.shouldCancelOnPointerExit&&D(P))},M.onTouchEnd=P=>{if(!P.currentTarget.contains(P.target)||(P.stopPropagation(),!y.isPressed))return;let T=cd(P.nativeEvent,y.activePointerId);T&&cr(T,P.currentTarget)?(E(P,y.pointerType),N(P,y.pointerType)):y.isOverTarget&&N(P,y.pointerType,!1),y.isPressed=!1,y.activePointerId=null,y.isOverTarget=!1,y.ignoreEmulatedMouseEvents=!0,u||jn(y.target),x()},M.onTouchCancel=P=>{P.currentTarget.contains(P.target)&&(P.stopPropagation(),y.isPressed&&D(P))};let L=P=>{y.isPressed&&P.target.contains(y.target)&&D({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};M.onDragStart=P=>{P.currentTarget.contains(P.target)&&D(P)}}return M},[$,i,l,x,u]);return c.useEffect(()=>()=>{u||jn(v.current.target)},[u]),{isPressed:s||b,pressProps:pe(m,_)}}function La(e){return e.tagName==="A"&&e.hasAttribute("href")}function Va(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof HTMLInputElement&&!ud(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!La(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function p_(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function cd(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function pt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function m_(e){let t=e.width/2||e.radiusX||0,r=e.height/2||e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,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 cr(e,t){let r=t.getBoundingClientRect(),n=m_(e);return h_(r,n)}function ja(e){return!(e instanceof HTMLElement)||!e.draggable}function dd(e,t){return e instanceof HTMLInputElement?!ud(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const b_=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ud(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":b_.has(e.type)}class g_{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,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function fd(e){let t=c.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,_e(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),c.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r.target,o=a=>{var i,s;t.current.isFocused=!1,n.disabled&&((s=(i=t.current).onBlur)===null||s===void 0||s.call(i,new g_("blur",a))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{t.current.isFocused&&n.disabled&&(t.current.observer.disconnect(),n.dispatchEvent(new FocusEvent("blur")),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[])}function Ra(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const a=c.useCallback(l=>{if(l.target===l.currentTarget)return n&&n(l),o&&o(!1),!0},[n,o]),i=fd(a),s=c.useCallback(l=>{l.target===l.currentTarget&&(r&&r(l),o&&o(!0),i(l))},[o,r,i]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?a:void 0}}}let mt=null,Ur=new Set,pd=!1,jt=!1,Ba=!1;const v_={Tab:!0,Escape:!0};function Rn(e,t){for(let r of Ur)r(e,t)}function y_(e){return!(e.metaKey||!Vt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function md(e){jt=!0,y_(e)&&(mt="keyboard",Rn("keyboard",e))}function dr(e){mt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(jt=!0,Rn("pointer",e))}function $_(e){Ka(e)&&(jt=!0,mt="virtual")}function x_(e){e.target===window||e.target===document||(!jt&&!Ba&&(mt="virtual",Rn("virtual",e)),jt=!1,Ba=!1)}function __(){jt=!1,Ba=!0}function Bn(){if(typeof window>"u"||pd)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){jt=!0,e.apply(this,arguments)},document.addEventListener("keydown",md,!0),document.addEventListener("keyup",md,!0),document.addEventListener("click",$_,!0),window.addEventListener("focus",x_,!0),window.addEventListener("blur",__,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",dr,!0),document.addEventListener("pointermove",dr,!0),document.addEventListener("pointerup",dr,!0)):(document.addEventListener("mousedown",dr,!0),document.addEventListener("mousemove",dr,!0),document.addEventListener("mouseup",dr,!0)),pd=!0}typeof document<"u"&&(document.readyState!=="loading"?Bn():document.addEventListener("DOMContentLoaded",Bn));function Wa(){return mt!=="pointer"}function w_(){return mt}function hd(e){mt=e,Rn(e,null)}function bd(){Bn();let[e,t]=c.useState(mt);return c.useEffect(()=>{let r=()=>{t(mt)};return Ur.add(r),()=>{Ur.delete(r)}},[]),e}function E_(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!v_[r.key])}function S_(e,t,r){Bn(),c.useEffect(()=>{let n=(o,a)=>{E_(r==null?void 0:r.isTextInput,o,a)&&e(Wa())};return Ur.add(n),()=>{Ur.delete(n)}},t)}function ur(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=c.useRef({isFocusWithin:!1}),i=c.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(d),o&&o(!1))},[r,o,a]),s=fd(i),l=c.useCallback(d=>{a.current.isFocusWithin||(n&&n(d),o&&o(!0),a.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:l,onBlur:i}}}let Wn=!1,Ua=0;function Ha(){Wn=!0,setTimeout(()=>{Wn=!1},50)}function gd(e){e.pointerType==="touch"&&Ha()}function P_(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",gd):document.addEventListener("touchend",Ha),Ua++,()=>{Ua--,!(Ua>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",gd):document.removeEventListener("touchend",Ha))}}function T_(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=c.useState(!1),s=c.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;c.useEffect(P_,[]);let{hoverProps:l,triggerHoverEnd:d}=c.useMemo(()=>{let u=(h,b)=>{if(s.pointerType=b,o||b==="touch"||s.isHovered||!h.currentTarget.contains(h.target))return;s.isHovered=!0;let g=h.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:b}),r&&r(!0),i(!0)},p=(h,b)=>{if(s.pointerType="",s.target=null,b==="touch"||!s.isHovered)return;s.isHovered=!1;let g=h.currentTarget;n&&n({type:"hoverend",target:g,pointerType:b}),r&&r(!1),i(!1)},m={};return typeof PointerEvent<"u"?(m.onPointerEnter=h=>{Wn&&h.pointerType==="mouse"||u(h,h.pointerType)},m.onPointerLeave=h=>{!o&&h.currentTarget.contains(h.target)&&p(h,h.pointerType)}):(m.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},m.onMouseEnter=h=>{!s.ignoreEmulatedMouseEvents&&!Wn&&u(h,"mouse"),s.ignoreEmulatedMouseEvents=!1},m.onMouseLeave=h=>{!o&&h.currentTarget.contains(h.target)&&p(h,"mouse")}),{hoverProps:m,triggerHoverEnd:p}},[t,r,n,o,s]);return c.useEffect(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:l,isHovered:a}}function k_(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,i=c.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1,onInteractOutside:r,onInteractOutsideStart:o}).current;i.onInteractOutside=r,i.onInteractOutsideStart=o,c.useEffect(()=>{if(n)return;let s=l=>{Un(l,t)&&i.onInteractOutside&&(i.onInteractOutsideStart&&i.onInteractOutsideStart(l),i.isPointerDown=!0)};if(typeof PointerEvent<"u"){let l=d=>{i.isPointerDown&&i.onInteractOutside&&Un(d,t)&&i.onInteractOutside(d),i.isPointerDown=!1};return document.addEventListener("pointerdown",s,!0),document.addEventListener("pointerup",l,!0),()=>{document.removeEventListener("pointerdown",s,!0),document.removeEventListener("pointerup",l,!0)}}else{let l=u=>{i.ignoreEmulatedMouseEvents?i.ignoreEmulatedMouseEvents=!1:i.isPointerDown&&i.onInteractOutside&&Un(u,t)&&i.onInteractOutside(u),i.isPointerDown=!1},d=u=>{i.ignoreEmulatedMouseEvents=!0,i.onInteractOutside&&i.isPointerDown&&Un(u,t)&&i.onInteractOutside(u),i.isPointerDown=!1};return document.addEventListener("mousedown",s,!0),document.addEventListener("mouseup",l,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("touchend",d,!0),()=>{document.removeEventListener("mousedown",s,!0),document.removeEventListener("mouseup",l,!0),document.removeEventListener("touchstart",s,!0),document.removeEventListener("touchend",d,!0)}}},[t,i,n])}function Un(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function vd(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function D_(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:vd(e.onKeyDown),onKeyUp:vd(e.onKeyUp)}}}function C_(e,t){let{onScroll:r,isDisabled:n}=e,o=c.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),r&&r({deltaX:a.deltaX,deltaY:a.deltaY}))},[r]);Ln(t,"wheel",n?null:o)}const I_=500;function yd(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=I_,accessibilityDescription:i}=e;const s=c.useRef(null);let{addGlobalListener:l,removeGlobalListener:d}=Ca(),{pressProps:u}=lr({isDisabled:t,onPressStart(m){if((m.pointerType==="mouse"||m.pointerType==="touch")&&(r&&r({...m,type:"longpressstart"}),s.current=setTimeout(()=>{m.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...m,type:"longpress"}),s.current=null},a),m.pointerType==="touch")){let h=b=>{b.preventDefault()};l(m.target,"contextmenu",h,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{d(m.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(m){s.current&&clearTimeout(s.current),n&&(m.pointerType==="mouse"||m.pointerType==="touch")&&n({...m,type:"longpressend"})}}),p=Aa(o&&!t?i:null);return{longPressProps:pe(u,p)}}function Hn(e){if(w_()==="virtual"){let t=document.activeElement;Qc(()=>{document.activeElement===t&&document.contains(e)&&wt(e)})}else wt(e)}function O_(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;let{display:t,visibility:r}=e.style,n=t!=="none"&&r!=="hidden"&&r!=="collapse";if(n){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:a,visibility:i}=o(e);n=a!=="none"&&i!=="hidden"&&i!=="collapse"}return n}function A_(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function $d(e,t){return e.nodeName!=="#comment"&&O_(e)&&A_(e,t)&&(!e.parentElement||$d(e.parentElement,e))}const xd=c.createContext(null);let ye=null;function M_(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=c.useRef(),i=c.useRef(),s=c.useRef([]),{parentNode:l}=c.useContext(xd)||{},d=c.useMemo(()=>new Za({scopeRef:s}),[s]);_e(()=>{let m=l||we.root;if(we.getTreeNode(m.scopeRef)&&ye&&!Yn(ye,m.scopeRef)){let h=we.getTreeNode(ye);h&&(m=h)}m.addChild(d),we.addNode(d)},[d,l]),_e(()=>{let m=we.getTreeNode(s);m.contain=r},[r]),_e(()=>{let m=a.current.nextSibling,h=[];for(;m&&m!==i.current;)h.push(m),m=m.nextSibling;s.current=h},[t]),j_(s,n,r),F_(s,r),B_(s,n,r),V_(s,o),c.useEffect(()=>{if(s){let m=document.activeElement,h=null;if(De(m,s.current)){for(let b of we.traverse())De(m,b.scopeRef.current)&&(h=b);h===we.getTreeNode(s)&&(ye=h.scopeRef)}return()=>{let b=we.getTreeNode(s).parent.scopeRef;(s===ye||Yn(s,ye))&&(!b||we.getTreeNode(b))&&(ye=b),we.removeTreeNode(s)}}},[s]);let u=c.useMemo(()=>N_(s),[]),p=c.useMemo(()=>({focusManager:u,parentNode:d}),[d,u]);return c.createElement(xd.Provider,{value:p},c.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,c.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function N_(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,l=r[0].previousElementSibling,d=Ne(Rt(r),{tabbable:o,accept:i},r);d.currentNode=De(s,r)?s:l;let u=d.nextNode();return!u&&a&&(d.currentNode=l,u=d.nextNode()),u&&Me(u,!0),u},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,l=r[r.length-1].nextElementSibling,d=Ne(Rt(r),{tabbable:o,accept:i},r);d.currentNode=De(s,r)?s:l;let u=d.previousNode();return!u&&a&&(d.currentNode=l,u=d.previousNode()),u&&Me(u,!0),u},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Ne(Rt(r),{tabbable:n,accept:o},r);a.currentNode=r[0].previousElementSibling;let i=a.nextNode();return i&&Me(i,!0),i},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Ne(Rt(r),{tabbable:n,accept:o},r);a.currentNode=r[r.length-1].nextElementSibling;let i=a.previousNode();return i&&Me(i,!0),i}}}const Ga=["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]"],z_=Ga.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ga.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const K_=Ga.join(':not([hidden]):not([tabindex="-1"]),');function Rt(e){return e[0].parentElement}function Gn(e){let t=we.getTreeNode(ye);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function F_(e,t){let r=c.useRef(),n=c.useRef(null);_e(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=null);return}let a=l=>{if(l.key!=="Tab"||l.altKey||l.ctrlKey||l.metaKey||!Gn(e))return;let d=document.activeElement,u=e.current;if(!De(d,u))return;let p=Ne(Rt(u),{tabbable:!0},u);p.currentNode=d;let m=l.shiftKey?p.previousNode():p.nextNode();m||(p.currentNode=l.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,m=l.shiftKey?p.previousNode():p.nextNode()),l.preventDefault(),m&&Me(m,!0)},i=l=>{(!ye||Yn(ye,e))&&De(l.target,e.current)?(ye=e,r.current=l.target):Gn(e)&&!qn(l.target,e)?r.current?r.current.focus():ye&&Zn(ye.current):Gn(e)&&(r.current=l.target)},s=l=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{Gn(e)&&!qn(document.activeElement,e)&&(ye=e,document.body.contains(l.target)?(r.current=l.target,r.current.focus()):ye&&Zn(ye.current))})};return document.addEventListener("keydown",a,!1),document.addEventListener("focusin",i,!1),o.forEach(l=>l.addEventListener("focusin",i,!1)),o.forEach(l=>l.addEventListener("focusout",s,!1)),()=>{document.removeEventListener("keydown",a,!1),document.removeEventListener("focusin",i,!1),o.forEach(l=>l.removeEventListener("focusin",i,!1)),o.forEach(l=>l.removeEventListener("focusout",s,!1))}},[e,t]),c.useEffect(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function _d(e){return qn(e)}function De(e,t){return t.some(r=>r.contains(e))}function qn(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of we.traverse(we.getTreeNode(t)))if(De(e,r.current))return!0;return!1}function L_(e){return qn(e,ye)}function Yn(e,t){var r;let n=(r=we.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Me(e,t=!1){if(e!=null&&!t)try{Hn(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Zn(e,t=!0){let r=e[0].previousElementSibling,n=Ne(Rt(e),{tabbable:t},e);n.currentNode=r;let o=n.nextNode();t&&!o&&(n=Ne(Rt(e),{tabbable:!1},e),n.currentNode=r,o=n.nextNode()),Me(o)}function V_(e,t){const r=c.useRef(t);c.useEffect(()=>{r.current&&(ye=e,De(document.activeElement,ye.current)||Zn(e.current)),r.current=!1},[e])}function j_(e,t,r){_e(()=>{if(t||r)return;let n=e.current,o=a=>{let i=a.target;De(i,e.current)?ye=e:_d(i)||(ye=null)};return document.addEventListener("focusin",o,!1),n.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{document.removeEventListener("focusin",o,!1),n.forEach(a=>a.removeEventListener("focusin",o,!1))}},[e,t,r])}function R_(e){let t=we.getTreeNode(ye);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function B_(e,t,r){const n=c.useRef(typeof document<"u"?document.activeElement:null);_e(()=>{let o=e.current;if(!t||r)return;let a=()=>{(!ye||Yn(ye,e))&&(ye=e)};return document.addEventListener("focusin",a,!1),o.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{document.removeEventListener("focusin",a,!1),o.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,r]),_e(()=>{if(!t)return;we.getTreeNode(e).nodeToRestore=n.current;let o=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey)return;let i=document.activeElement;if(!De(i,e.current))return;let s=we.getTreeNode(e).nodeToRestore,l=Ne(document.body,{tabbable:!0});l.currentNode=i;let d=a.shiftKey?l.previousNode():l.nextNode();if((!document.body.contains(s)||s===document.body)&&(s=null,we.getTreeNode(e).nodeToRestore=null),(!d||!De(d,e.current))&&s){l.currentNode=s;do d=a.shiftKey?l.previousNode():l.nextNode();while(De(d,e.current));a.preventDefault(),a.stopPropagation(),d?Me(d,!0):_d(s)?Me(s,!0):i.blur()}};return r||document.addEventListener("keydown",o,!0),()=>{r||document.removeEventListener("keydown",o,!0);let a=we.getTreeNode(e).nodeToRestore;if(t&&a&&(De(document.activeElement,e.current)||document.activeElement===document.body&&R_(e))){let i=we.clone();requestAnimationFrame(()=>{if(document.activeElement===document.body){let s=i.getTreeNode(e);for(;s;){if(s.nodeToRestore&&document.body.contains(s.nodeToRestore)){Me(s.nodeToRestore);return}s=s.parent}for(s=i.getTreeNode(e);s;){if(s.scopeRef&&we.getTreeNode(s.scopeRef)){Zn(s.scopeRef.current,!0);return}s=s.parent}}})}}},[e,t,r])}function Ne(e,t,r){let n=t!=null&&t.tabbable?K_:z_,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&$d(a)&&(!r||De(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}function wd(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,l=o||document.activeElement,d=Ne(n,{tabbable:a,accept:s});n.contains(l)&&(d.currentNode=l);let u=d.nextNode();return!u&&i&&(d.currentNode=n,u=d.nextNode()),u&&Me(u,!0),u},focusPrevious(r=t){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,l=o||document.activeElement,d=Ne(n,{tabbable:a,accept:s});if(n.contains(l))d.currentNode=l;else{let p=qa(d);return p&&Me(p,!0),p}let u=d.previousNode();return!u&&i&&(d.currentNode=n,u=qa(d)),u&&Me(u,!0),u},focusFirst(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,s=Ne(n,{tabbable:o,accept:a}).nextNode();return s&&Me(s,!0),s},focusLast(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,i=Ne(n,{tabbable:o,accept:a}),s=qa(i);return s&&Me(s,!0),s}}}function qa(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class Ya{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null),a=new Za({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef.current&&De(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.size>0&&o.forEach(a=>n.addChild(a)),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new Ya;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){ir(this,"fastMap",new Map),this.root=new Za({scopeRef:null}),this.fastMap.set(null,this.root)}}class Za{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){ir(this,"children",new Set),ir(this,"contain",!1),this.scopeRef=t.scopeRef}}let we=new Ya;function fr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=c.useRef({isFocused:!1,isFocusVisible:t||Wa()}),[a,i]=c.useState(!1),[s,l]=c.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=c.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),u=c.useCallback(h=>{o.current.isFocused=h,i(h),d()},[d]);S_(h=>{o.current.isFocusVisible=h,d()},[],{isTextInput:r});let{focusProps:p}=Ra({isDisabled:n,onFocusChange:u}),{focusWithinProps:m}=ur({isDisabled:!n,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?m:p}}function W_(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=fr(e),s=c.Children.only(t);return c.cloneElement(s,pe(s.props,{...i,className:Nn({[r||""]:o,[n||""]:a})}))}let U_=c.createContext(null);function H_(e){let t=c.useContext(U_)||{};ed(t,e);let{ref:r,...n}=t;return n}function Xa(e,t){let{focusProps:r}=Ra(e),{keyboardProps:n}=D_(e),o=pe(r,n),a=H_(t),i=e.isDisabled?{}:a,s=c.useRef(e.autoFocus);return c.useEffect(()=>{s.current&&t.current&&Hn(t.current),s.current=!1},[t]),{focusableProps:pe({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function G_(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...l}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:u}=Xa(e,t),{pressProps:p,isPressed:m}=lr({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),h=ft(l,{labelable:!0}),b=pe(u,p);return{isPressed:m,linkProps:pe(h,{...b,...d,"aria-disabled":s||void 0,onClick:g=>{p.onClick(g),i&&(i(g),console.warn("onClick is deprecated, please use onPress"))}})}}class Ja{getStringForLocale(t,r){let n=this.strings[r];n||(n=q_(r,this.strings,this.defaultLocale),this.strings[r]=n);let o=n[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function q_(e,t,r="en-US"){if(t[e])return t[e];let n=Y_(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function Y_(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Ed=new Map,Sd=new Map;class Z_{format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let o=r["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+n,i=Ed.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),Ed.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Sd.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Sd.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}function X_(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Xn(e,t,r){X_(e,t),t.set(e,r)}function Qa(e,t){return e-t*Math.floor(e/t)}const Pd=1721426;function Jn(e,t,r,n){t=ei(e,t);let o=t-1,a=-2;return r<=2?a=0:Qn(t)&&(a=-1),Pd-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+a+n)}function Qn(e){return e%4===0&&(e%100!==0||e%400===0)}function ei(e,t){return e==="BC"?1-t:t}function J_(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Q_={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 Et{fromJulianDay(t){let r=t,n=r-Pd,o=Math.floor(n/146097),a=Qa(n,146097),i=Math.floor(a/36524),s=Qa(a,36524),l=Math.floor(s/1461),d=Qa(s,1461),u=Math.floor(d/365),p=o*400+i*100+l*4+u+(i!==4&&u!==4?1:0),[m,h]=J_(p),b=r-Jn(m,h,1,1),g=2;r<Jn(m,h,3,1)?g=0:Qn(h)&&(g=1);let v=Math.floor(((b+g)*12+373)/367),$=r-Jn(m,h,v,1)+1;return new mr(m,h,v,$)}toJulianDay(t){return Jn(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Q_[Qn(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Qn(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(){ir(this,"identifier","gregory")}}function Td(e){return bt(Date.now(),e)}function ew(e){return zd(Td(e))}function kd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Dd(e,t){return Cd(e)-Cd(t)}function Cd(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let ti=null;function ri(){return ti==null&&(ti=new Intl.DateTimeFormat().resolvedOptions().timeZone),ti}function tw(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function rw(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function pr(e){e=Ce(e,new Et);let t=ei(e.era,e.year);return Id(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Id(e,t,r,n,o,a,i){let s=new Date;return s.setUTCHours(n,o,a,i),s.setUTCFullYear(e,t-1,r),s.getTime()}function ni(e,t){if(t==="UTC")return 0;if(e>0&&t===ri())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:a,minute:i,second:s}=Ad(e,t);return Id(r,n,o,a,i,s,0)-Math.floor(e/1e3)*1e3}const Od=new Map;function Ad(e,t){let r=Od.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Od.set(t,r));let n=r.formatToParts(new Date(e)),o={};for(let a of n)a.type!=="literal"&&(o[a.type]=a.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const Md=864e5;function nw(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>ow(e,t,a))}function ow(e,t,r){let n=Ad(r,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 ht(e,t,r="compatible"){let n=St(e);if(t==="UTC")return pr(n);if(t===ri()&&r==="compatible"){n=Ce(n,new Et);let l=new Date,d=ei(n.era,n.year);return l.setFullYear(d,n.month-1,n.day),l.setHours(n.hour,n.minute,n.second,n.millisecond),l.getTime()}let o=pr(n),a=ni(o-Md,t),i=ni(o+Md,t),s=nw(n,t,o-a,o-i);if(s.length===1)return s[0];if(s.length>1)switch(r){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(o-a,o-i);case"compatible":case"later":return Math.max(o-a,o-i);case"reject":throw new RangeError("No such absolute time found")}}function Nd(e,t,r="compatible"){return new Date(ht(e,t,r))}function bt(e,t){let r=ni(e,t),n=new Date(e+r),o=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),s=n.getUTCHours(),l=n.getUTCMinutes(),d=n.getUTCSeconds(),u=n.getUTCMilliseconds();return new Yr(o,a,i,t,r,s,l,d,u)}function zd(e){return new mr(e.calendar,e.era,e.year,e.month,e.day)}function St(e,t){let r=0,n=0,o=0,a=0;if("timeZone"in e)({hour:r,minute:n,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:o,millisecond:a}=t),new ro(e.calendar,e.era,e.year,e.month,e.day,r,n,o,a)}function aw(e){return new qr(e.hour,e.minute,e.second,e.millisecond)}function Ce(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,Bt(n),n}function iw(e,t,r){if(e instanceof Yr)return e.timeZone===t?e:lw(e,t);let n=ht(e,t,r);return bt(n,t)}function sw(e){let t=pr(e)-e.offset;return new Date(t)}function lw(e,t){let r=pr(e)-e.offset;return Ce(bt(r,t),e.calendar)}const Hr=36e5;function eo(e,t){let r=e.copy(),n="hour"in r?Vd(r,t):0;oi(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,ai(r),Kd(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,cw(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let o=r.calendar.getYearsInEra(r);if(r.year>o){var a,i;let l=(i=(a=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(a,r);r.year=o,r.month=l?1:r.calendar.getMonthsInYear(r),r.day=l?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function oi(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function ai(e){for(;e.month<1;)oi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,oi(e,1)}function cw(e){for(;e.day<1;)e.month--,ai(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ai(e)}function Kd(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 Bt(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Kd(e)}function ii(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Fd(e,t){return eo(e,ii(t))}function si(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),Bt(r),r}function Gr(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Ld(r),r}function dw(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=to(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=to(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=to(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=to(e.hour,24),t}function Ld(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 to(e,t){let r=e%t;return r<0&&(r+=t),r}function Vd(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,dw(e)}function jd(e,t){let r=e.copy();return Vd(r,t),r}function uw(e,t){return jd(e,ii(t))}function li(e,t,r,n){let o=e.copy();switch(t){case"era":{let s=e.calendar.getEras(),l=s.indexOf(e.era);if(l<0)throw new Error("Invalid era: "+e.era);l=gt(l,r,0,s.length-1,n==null?void 0:n.round),o.era=s[l],Bt(o);break}case"year":var a,i;!((i=(a=o.calendar).isInverseEra)===null||i===void 0)&&i.call(a,o)&&(r=-r),o.year=gt(e.year,r,-1/0,9999,n==null?void 0:n.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=gt(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":o.day=gt(e.day,r,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(o),Bt(o),o}function ci(e,t,r,n){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,s=23;if((n==null?void 0:n.hourCycle)===12){let l=a>=12;i=l?12:0,s=l?23:11}o.hour=gt(a,r,i,s,n==null?void 0:n.round);break}case"minute":o.minute=gt(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":o.second=gt(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":o.millisecond=gt(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return o}function gt(e,t,r,n,o=!1){if(o){e+=Math.sign(t),e<r&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function Rd(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.days!=null&&t.days!==0){let o=eo(St(e),{years:t.years,months:t.months,days:t.days});r=ht(o,e.timeZone)}else r=pr(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=bt(r,e.timeZone);return Ce(n,e.calendar)}function fw(e,t){return Rd(e,ii(t))}function pw(e,t,r,n){switch(t){case"hour":{let o=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;o=b?12:0,a=b?23:11}let i=St(e),s=Ce(Gr(i,{hour:o}),new Et),l=[ht(s,e.timeZone,"earlier"),ht(s,e.timeZone,"later")].filter(b=>bt(b,e.timeZone).day===s.day)[0],d=Ce(Gr(i,{hour:a}),new Et),u=[ht(d,e.timeZone,"earlier"),ht(d,e.timeZone,"later")].filter(b=>bt(b,e.timeZone).day===d.day).pop(),p=pr(e)-e.offset,m=Math.floor(p/Hr),h=p%Hr;return p=gt(m,r,Math.floor(l/Hr),Math.floor(u/Hr),n==null?void 0:n.round)*Hr+h,Ce(bt(p,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return ci(e,t,r,n);case"era":case"year":case"month":case"day":{let o=li(St(e),t,r,n),a=ht(o,e.timeZone);return Ce(bt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function mw(e,t,r){let n=St(e),o=Gr(si(n,t),t);if(o.compare(n)===0)return e;let a=ht(o,e.timeZone,r);return Ce(bt(a,e.timeZone),e.calendar)}function Bd(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 Wd(e){let t=Ce(e,new Et);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Ud(e){return`${Wd(e)}T${Bd(e)}`}function hw(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function bw(e){return`${Ud(e)}${hw(e.offset)}[${e.timeZone}]`}function di(e){let t=typeof e[0]=="object"?e.shift():new Et,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),o=e.shift(),a=e.shift();return[t,r,n,o,a]}var gw=new WeakMap;class mr{copy(){return this.era?new mr(this.calendar,this.era,this.year,this.month,this.day):new mr(this.calendar,this.year,this.month,this.day)}add(t){return eo(this,t)}subtract(t){return Fd(this,t)}set(t){return si(this,t)}cycle(t,r,n){return li(this,t,r,n)}toDate(t){return Nd(this,t)}toString(){return Wd(this)}compare(t){return kd(this,t)}constructor(...t){Xn(this,gw,{writable:!0,value:void 0});let[r,n,o,a,i]=di(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,Bt(this)}}var vw=new WeakMap;class qr{copy(){return new qr(this.hour,this.minute,this.second,this.millisecond)}add(t){return jd(this,t)}subtract(t){return uw(this,t)}set(t){return Gr(this,t)}cycle(t,r,n){return ci(this,t,r,n)}toString(){return Bd(this)}compare(t){return Dd(this,t)}constructor(t=0,r=0,n=0,o=0){Xn(this,vw,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=o,Ld(this)}}var yw=new WeakMap;class ro{copy(){return this.era?new ro(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new ro(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return eo(this,t)}subtract(t){return Fd(this,t)}set(t){return si(Gr(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return li(this,t,r,n);default:return ci(this,t,r,n)}}toDate(t,r){return Nd(this,t,r)}toString(){return Ud(this)}compare(t){let r=kd(this,t);return r===0?Dd(this,St(t)):r}constructor(...t){Xn(this,yw,{writable:!0,value:void 0});let[r,n,o,a,i]=di(t);this.calendar=r,this.era=n,this.year=o,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,Bt(this)}}var $w=new WeakMap;class Yr{copy(){return this.era?new Yr(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Yr(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Rd(this,t)}subtract(t){return fw(this,t)}set(t,r){return mw(this,t,r)}cycle(t,r,n){return pw(this,t,r,n)}toDate(){return sw(this)}toString(){return bw(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-iw(t,this.timeZone).toDate().getTime()}constructor(...t){Xn(this,$w,{writable:!0,value:void 0});let[r,n,o,a,i]=di(t),s=t.shift(),l=t.shift();this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.timeZone=s,this.offset=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Bt(this)}}let ui=new Map;class no{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),o=this.formatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return ww()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Ew(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,r={}){this.formatter=Hd(t,r),this.options=r}}const xw={true:{ja:"h11"},false:{}};function Hd(e,t={}){if(typeof t.hour12=="boolean"&&_w()){t={...t};let o=xw[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=o??a,delete t.hour12}let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(ui.has(r))return ui.get(r);let n=new Intl.DateTimeFormat(e,t);return ui.set(r,n),n}let fi=null;function _w(){return fi==null&&(fi=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),fi}let pi=null;function ww(){return pi==null&&(pi=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),pi}function Ew(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 r=Hd(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),o=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&o===23)return"h23";if(n===24&&o===23)return"h24";if(n===0&&o===11)return"h11";if(n===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}let mi=new Map,hi=!1;try{hi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let oo=!1;try{oo=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Gd={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class bi{format(t){let r="";if(!hi&&this.options.signDisplay!=null?r=Pw(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!oo){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=Gd[o])===null||n===void 0?void 0:n[a];r+=s[i]||s.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!hi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!oo&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=Sw(t,r),this.options=r}}function Sw(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!oo){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Gd[i])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((i,s)=>i[0]<s[0]?-1:1).join():"");if(mi.has(o))return mi.get(o);let a=new Intl.NumberFormat(e,t);return mi.set(o,a),a}function Pw(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let o=e.format(-r),a=e.format(r),i=o.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(r)}}const Tw=new RegExp("^.*\\(.*\\).*$"),kw=["latn","arab","hanidec"];class qd{parse(t){return gi(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return gi(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return gi(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Yd=new Map;function gi(e,t,r){let n=Zd(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of kw)if(o!==n.options.numberingSystem){let a=Zd(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function Zd(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=Yd.get(r);return n||(n=new Dw(e,t),Yd.set(r,n)),n}class Dw{parse(t){let r=this.sanitize(t);r=ao(r,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.currencySign==="accounting"&&Tw.test(t)&&(n=-1*n),this.options.style==="percent"){n/=100;var o;n=+n.toFixed(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2)}return n}sanitize(t){return t=t.replace(this.symbols.literals,""),t=t.replace("-",this.symbols.minusSign),this.options.numberingSystem==="arab"&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal),t=ao(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=ao(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),t.startsWith(this.symbols.minusSign)&&r<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)),t.startsWith(this.symbols.group)?!1:(t=ao(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,""),t.length===0)}constructor(t,r={}){this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=Cw(this.formatter,this.options,r)}}const Xd=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function Cw(e,t,r){var n,o,a,i;let s=e.formatToParts(-10000.111),l=e.formatToParts(10000.111),d=e.formatToParts(1);var u;let p=(u=(n=s.find(E=>E.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:"-",m=(o=l.find(E=>E.type==="plusSign"))===null||o===void 0?void 0:o.value;!m&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(m="+");let h=(a=s.find(E=>E.type==="decimal"))===null||a===void 0?void 0:a.value,b=(i=s.find(E=>E.type==="group"))===null||i===void 0?void 0:i.value,g=s.filter(E=>!Xd.has(E.type)).map(E=>Jd(E.value)),v=d.filter(E=>!Xd.has(E.type)).map(E=>Jd(E.value)),$=[...new Set([...v,...g])].sort((E,D)=>D.length-E.length),x=$.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${$.join("|")}|[\\p{White_Space}]`,"gu"),_=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),y=new Map(_.map((E,D)=>[E,D])),I=new RegExp(`[${_.join("")}]`,"g");return{minusSign:p,plusSign:m,decimal:h,group:b,literals:x,numeral:I,index:E=>String(y.get(E))}}function ao(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Jd(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const Iw=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Ow=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Aw(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return Iw.has(r)}let t=e.split("-")[0];return Ow.has(t)}function Qd(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Aw(e)?"rtl":"ltr"}}let vi=Qd(),Zr=new Set;function eu(){vi=Qd();for(let e of Zr)e(vi)}function Mw(){let e=Zc(),[t,r]=c.useState(vi);return c.useEffect(()=>(Zr.size===0&&window.addEventListener("languagechange",eu),Zr.add(r),()=>{Zr.delete(r),Zr.size===0&&window.removeEventListener("languagechange",eu)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Nw=c.createContext(null);function rt(){let e=Mw();return c.useContext(Nw)||e}const tu=new WeakMap;function zw(e){let t=tu.get(e);return t||(t=new Ja(e),tu.set(e,t)),t}function Pt(e){let{locale:t}=rt(),r=c.useMemo(()=>zw(e),[e]);return c.useMemo(()=>new Z_(t,r),[t,r])}function io(e){let t=c.useRef(null);e&&t.current&&Kw(e,t.current)&&(e=t.current),t.current=e;let{locale:r}=rt();return c.useMemo(()=>new no(r,e),[r,e])}function Kw(e,t){if(e===t)return!0;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o of r)if(t[o]!==e[o])return!1;return!0}function Fw(e={}){let{locale:t}=rt();return c.useMemo(()=>new bi(t,e),[t,e])}let yi=new Map;function so(e){let{locale:t}=rt(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(yi.has(r))return yi.get(r);let n=new Intl.Collator(t,e);return yi.set(r,n),n}function Lw(e){let t=so({usage:"search",...e}),r=c.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=c.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),o=c.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let s=0,l=i.length;for(;s+l<=a.length;s++){let d=a.slice(s,s+l);if(t.compare(i,d)===0)return!0}return!1},[t]);return c.useMemo(()=>({startsWith:r,endsWith:n,contains:o}),[r,n,o])}function Vw(e){return e&&e.__esModule?e.default:e}function jw(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=G_({isDisabled:n||r,elementType:a,...i},t),l=/^h[1-6]$/.test(a),d={};return l||(d=s),r&&(d["aria-current"]=o||"page",d.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...d}}}var ru={},nu={};nu={breadcrumbs:"عناصر الواجهة"};var ou={};ou={breadcrumbs:"Трохи хляб"};var au={};au={breadcrumbs:"Popis cesty"};var iu={};iu={breadcrumbs:"Brødkrummer"};var su={};su={breadcrumbs:"Breadcrumbs"};var lu={};lu={breadcrumbs:"Πλοηγήσεις breadcrumb"};var cu={};cu={breadcrumbs:"Breadcrumbs"};var du={};du={breadcrumbs:"Migas de pan"};var uu={};uu={breadcrumbs:"Lingiread"};var fu={};fu={breadcrumbs:"Navigointilinkit"};var pu={};pu={breadcrumbs:"Chemin de navigation"};var mu={};mu={breadcrumbs:"שבילי ניווט"};var hu={};hu={breadcrumbs:"Navigacijski putovi"};var bu={};bu={breadcrumbs:"Morzsamenü"};var gu={};gu={breadcrumbs:"Breadcrumb"};var vu={};vu={breadcrumbs:"パンくずリスト"};var yu={};yu={breadcrumbs:"탐색 표시"};var $u={};$u={breadcrumbs:"Naršymo kelias"};var xu={};xu={breadcrumbs:"Atpakaļceļi"};var _u={};_u={breadcrumbs:"Navigasjonsstier"};var wu={};wu={breadcrumbs:"Broodkruimels"};var Eu={};Eu={breadcrumbs:"Struktura nawigacyjna"};var Su={};Su={breadcrumbs:"Caminho detalhado"};var Pu={};Pu={breadcrumbs:"Categorias"};var Tu={};Tu={breadcrumbs:"Miez de pâine"};var ku={};ku={breadcrumbs:"Навигация"};var Du={};Du={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Cu={};Cu={breadcrumbs:"Drobtine"};var Iu={};Iu={breadcrumbs:"Putanje navigacije"};var Ou={};Ou={breadcrumbs:"Sökvägar"};var Au={};Au={breadcrumbs:"İçerik haritaları"};var Mu={};Mu={breadcrumbs:"Навігаційна стежка"};var Nu={};Nu={breadcrumbs:"导航栏"};var zu={};zu={breadcrumbs:"導覽列"},ru={"ar-AE":nu,"bg-BG":ou,"cs-CZ":au,"da-DK":iu,"de-DE":su,"el-GR":lu,"en-US":cu,"es-ES":du,"et-EE":uu,"fi-FI":fu,"fr-FR":pu,"he-IL":mu,"hr-HR":hu,"hu-HU":bu,"it-IT":gu,"ja-JP":vu,"ko-KR":yu,"lt-LT":$u,"lv-LV":xu,"nb-NO":_u,"nl-NL":wu,"pl-PL":Eu,"pt-BR":Su,"pt-PT":Pu,"ro-RO":Tu,"ru-RU":ku,"sk-SK":Du,"sl-SI":Cu,"sr-SP":Iu,"sv-SE":Ou,"tr-TR":Au,"uk-UA":Mu,"zh-CN":Nu,"zh-TW":zu};function Rw(e){let{"aria-label":t,...r}=e,n=Pt(Vw(ru));return{navProps:{...ft(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const Bw=k(Ux)`
|
|
206
206
|
border-radius: ${f.border_radius_400};
|
|
207
207
|
padding: ${f.sizing_200};
|
|
208
208
|
width: fit-content; /* Pass as prop? */
|
|
209
209
|
background-color: ${f.color_white};
|
|
210
210
|
box-shadow: ${f.elevation_interactive_medium};
|
|
211
211
|
z-index: 5; /* Same as dialogs */
|
|
212
|
-
`,
|
|
212
|
+
`,Ww=k(Hx)`
|
|
213
213
|
fill: ${f.color_white};
|
|
214
|
-
`;function
|
|
214
|
+
`;function Ku({children:e,...t}){return S(Wx,{children:ee(Bw,{...t,children:[e,S(Ww,{})]})})}const $i=Yc,Uw=k(Yc)`
|
|
215
215
|
all: unset;
|
|
216
216
|
cursor: pointer;
|
|
217
217
|
font-family: inherit;
|
|
@@ -225,7 +225,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
225
225
|
position: absolute;
|
|
226
226
|
top: 5px;
|
|
227
227
|
right: 5px;
|
|
228
|
-
`,
|
|
228
|
+
`,Fu=Rx,Lu=Bx,Hw="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",Gw=k(Hc)`
|
|
229
229
|
margin-top: 22px;
|
|
230
230
|
isolation: isolate;
|
|
231
231
|
min-width: 210px;
|
|
@@ -237,7 +237,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
237
237
|
&[data-state~='focused'] {
|
|
238
238
|
outline: 1px solid ${f.color_black};
|
|
239
239
|
}
|
|
240
|
-
`;function
|
|
240
|
+
`;function qw({children:e}){const{isFocusVisible:t,focusProps:r}=fr();return S(Gw,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const xi=k.ol`
|
|
241
241
|
font-family: ${f.font_family_sans};
|
|
242
242
|
display: flex;
|
|
243
243
|
list-style: none;
|
|
@@ -253,7 +253,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
253
253
|
font-family: ${f.font_family_sans};
|
|
254
254
|
color: ${f.color_divider_standard};
|
|
255
255
|
}
|
|
256
|
-
`,
|
|
256
|
+
`,Vu=k(xi)`
|
|
257
257
|
flex-direction: column;
|
|
258
258
|
|
|
259
259
|
& li {
|
|
@@ -267,7 +267,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
267
267
|
|
|
268
268
|
& > ol li:first-of-type::before {
|
|
269
269
|
content: '';
|
|
270
|
-
background-image: url(${
|
|
270
|
+
background-image: url(${Hw});
|
|
271
271
|
display: block;
|
|
272
272
|
height: 1em;
|
|
273
273
|
width: 1em;
|
|
@@ -276,12 +276,12 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
276
276
|
background-size: initial;
|
|
277
277
|
background-repeat: initial;
|
|
278
278
|
}
|
|
279
|
-
`,
|
|
279
|
+
`,_i=k.li`
|
|
280
280
|
color: ${f.color_text_weak};
|
|
281
281
|
display: flex;
|
|
282
282
|
align-items: center;
|
|
283
283
|
gap: ${f.sizing_200};
|
|
284
|
-
`,
|
|
284
|
+
`,ju=k.a`
|
|
285
285
|
text-decoration: none;
|
|
286
286
|
color: ${f.color_text_weak};
|
|
287
287
|
font-style: normal;
|
|
@@ -324,7 +324,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
324
324
|
color: ${f.color_text_strong};
|
|
325
325
|
font-weight: 400;
|
|
326
326
|
}
|
|
327
|
-
`,
|
|
327
|
+
`,Yw=k.button`
|
|
328
328
|
appearance: none;
|
|
329
329
|
cursor: pointer;
|
|
330
330
|
touch-action: none;
|
|
@@ -351,12 +351,12 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
351
351
|
&[data-state~='open'] {
|
|
352
352
|
background-color: ${f.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
|
|
353
353
|
}
|
|
354
|
-
`;function
|
|
354
|
+
`;function Ru({truncatedItems:e}){return e.length>1?ee(Vu,{children:[e.slice(0,1),S(Ru,{truncatedItems:e.slice(1)})]}):S(Vu,{children:e})}function Zw({truncatedItems:e}){return S(_i,{children:ee(Fu,{children:[S(Lu,{asChild:!0,children:S(Yw,{type:"button",children:"..."})}),S(qw,{children:S(Ru,{truncatedItems:e})})]})})}const Bu=c.forwardRef(({children:e,...t},r)=>{const{navProps:n}=Rw(t);Xt.isFragment(e)&&console.warn("Passing a React fragment to Breadcrumbs will make it not work correctly!");const o=c.Children.toArray(e),a=3;if(o.length>a){const s=o[0],l=o.slice(-2),d=o.slice(1,-2);return S("nav",{...n,children:ee(xi,{ref:r,children:[s,S(Zw,{truncatedItems:d}),l]})})}return S("nav",{...n,children:S(xi,{ref:r,children:o})})});Bu.displayName="Breadcrumbs";const Wu=c.forwardRef((e,t)=>{const{LinkComponent:r="a",disabled:n,...o}=e,a=tt(t),i=typeof r=="string",{children:s,href:l,isCurrent:d}=e,{itemProps:u}=jw({isDisabled:n,isCurrent:d,elementType:i?r:"a",...o},a),{isPressed:p,pressProps:m}=lr({isDisabled:n??d,ref:a}),{isFocusVisible:h,focusProps:b}=fr(),g=[p&&"pressed",n&&"disabled",h&&"focused"].filter(Boolean).join(" "),$=d||n||!l?{}:{[i?"href":"to"]:l};return S(_i,{children:S(ju,{as:r,...u,ref:a,"data-state":g,...b,...m,...$,children:s})})});Wu.displayName="BreadcrumbItem";function Xr(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:s,preventFocusOnPress:l,allowFocusWhenDisabled:d,onClick:u,href:p,target:m,rel:h,type:b="button"}=e,g;r==="button"?g={type:b,disabled:n}:g={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?m:void 0,type:r==="input"?b:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?h:void 0};let{pressProps:v,isPressed:$}=lr({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:o,isDisabled:n,preventFocusOnPress:l,ref:t}),{focusableProps:x}=Xa(e,t);d&&(x.tabIndex=n?-1:x.tabIndex);let _=pe(x,v,ft(e,{labelable:!0}));return{isPressed:$,buttonProps:pe(g,_,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:y=>{u&&(u(y),console.warn("onClick is deprecated, please use onPress"))}})}}const Uu={small:`${f.spacing_200} ${f.spacing_300}`,large:`${f.spacing_300} ${f.spacing_400}`},nt=k.button`
|
|
355
355
|
appearance: none;
|
|
356
356
|
border-radius: ${f.border_radius_400};
|
|
357
357
|
border: 1px solid transparent;
|
|
358
358
|
font-style: normal;
|
|
359
|
-
padding: var(--button-padding, ${
|
|
359
|
+
padding: var(--button-padding, ${Uu.small});
|
|
360
360
|
font-family: ${f.font_family_sans};
|
|
361
361
|
cursor: pointer;
|
|
362
362
|
white-space: nowrap;
|
|
@@ -383,7 +383,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
383
383
|
&:disabled {
|
|
384
384
|
cursor: not-allowed;
|
|
385
385
|
}
|
|
386
|
-
`,
|
|
386
|
+
`,Xw=k(nt)`
|
|
387
387
|
background: ${f.color_white};
|
|
388
388
|
color: hsl(0deg 0% 7.84%); /* color missing in tokens */
|
|
389
389
|
border: 1px solid ${f.color_outline_secondary_enabled};
|
|
@@ -404,7 +404,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
404
404
|
color: ${f.color_fill_secondary_disabled};
|
|
405
405
|
border-color: ${f.color_outline_secondary_disabled};
|
|
406
406
|
}
|
|
407
|
-
`,
|
|
407
|
+
`,Jw=k(nt)`
|
|
408
408
|
background: ${f.color_white};
|
|
409
409
|
color: ${f.color_fill_danger_enabled};
|
|
410
410
|
border: 1px solid ${f.color_outline_danger_enabled};
|
|
@@ -422,7 +422,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
422
422
|
&:disabled {
|
|
423
423
|
color: ${f.color_fill_danger_disabled};
|
|
424
424
|
}
|
|
425
|
-
`,
|
|
425
|
+
`,Qw=k(nt)`
|
|
426
426
|
background: ${f.color_overlay_inverse_enabled};
|
|
427
427
|
border-color: ${f.color_outline_inverse_enabled};
|
|
428
428
|
color: ${f.color_fill_inverse_enabled};
|
|
@@ -451,7 +451,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
451
451
|
background-color: transparent;
|
|
452
452
|
color: ${f.color_outline_inverse_disabled};
|
|
453
453
|
}
|
|
454
|
-
|
|
454
|
+
`,wi={primary:Xw,danger:Jw,inverse:Qw},e5=k(nt)`
|
|
455
455
|
background: hsl(
|
|
456
456
|
217.35deg 81.6% 51%
|
|
457
457
|
); /* Interactive / Overlay / Primary / Enabled */
|
|
@@ -471,7 +471,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
471
471
|
&:disabled {
|
|
472
472
|
color: ${f.color_fill_primary_disabled};
|
|
473
473
|
}
|
|
474
|
-
`,
|
|
474
|
+
`,t5=k(nt)`
|
|
475
475
|
color: ${f.color_fill_danger_enabled};
|
|
476
476
|
background-color: hsl(217.35deg 81.6% 50.98%);
|
|
477
477
|
|
|
@@ -493,7 +493,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
493
493
|
&:disabled {
|
|
494
494
|
color: ${f.color_fill_danger_disabled};
|
|
495
495
|
}
|
|
496
|
-
`,
|
|
496
|
+
`,r5=k(nt)`
|
|
497
497
|
background: ${f.color_overlay_inverse_enabled};
|
|
498
498
|
border-color: transparent;
|
|
499
499
|
color: ${f.color_fill_inverse_enabled};
|
|
@@ -518,7 +518,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
518
518
|
background-color: ${f.color_fill_inverse_disabled};
|
|
519
519
|
color: ${f.color_outline_inverse_disabled};
|
|
520
520
|
}
|
|
521
|
-
`,
|
|
521
|
+
`,n5={primary:e5,danger:t5,inverse:r5},o5=k(nt)`
|
|
522
522
|
background: ${f.color_fill_primary_enabled};
|
|
523
523
|
color: ${f.color_white};
|
|
524
524
|
|
|
@@ -535,7 +535,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
535
535
|
background: ${f.color_fill_primary_disabled};
|
|
536
536
|
color: ${f.color_fill_inverse_pressed};
|
|
537
537
|
}
|
|
538
|
-
`,
|
|
538
|
+
`,a5=k(nt)`
|
|
539
539
|
background: ${f.color_fill_secondary_enabled};
|
|
540
540
|
color: ${f.color_fill_primary_enabled};
|
|
541
541
|
|
|
@@ -552,7 +552,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
552
552
|
&:disabled {
|
|
553
553
|
background: ${f.color_fill_secondary_disabled};
|
|
554
554
|
}
|
|
555
|
-
`,
|
|
555
|
+
`,i5=k(nt)`
|
|
556
556
|
background: ${f.color_fill_danger_enabled};
|
|
557
557
|
color: ${f.color_white};
|
|
558
558
|
|
|
@@ -569,7 +569,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
569
569
|
&:disabled {
|
|
570
570
|
background: ${f.color_fill_danger_disabled};
|
|
571
571
|
}
|
|
572
|
-
`,
|
|
572
|
+
`,s5=k(nt)`
|
|
573
573
|
background: ${f.color_white};
|
|
574
574
|
|
|
575
575
|
&:hover {
|
|
@@ -583,10 +583,10 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
583
583
|
&:disabled {
|
|
584
584
|
background: ${f.color_fill_inverse_disabled};
|
|
585
585
|
}
|
|
586
|
-
`,
|
|
586
|
+
`,l5={primary:o5,secondary:a5,danger:i5,inverse:s5},Ei=c.createContext(!1);Ei.displayName="FieldsetContext";const Hu=k.fieldset`
|
|
587
587
|
padding: 0;
|
|
588
588
|
border: none;
|
|
589
|
-
`;function
|
|
589
|
+
`;function c5({children:e,disabled:t,...r}){const o=ot()||Boolean(t);return S(Ei.Provider,{value:o,children:S(Hu,{disabled:t,...r,children:e})})}function ot(){return c.useContext(Ei)}const d5={low:n5,medium:wi,high:l5},hr=c.forwardRef((e,t)=>{const{size:r="small",variant:n="primary",emphasis:o="high",disabled:a,onClick:i,autoFocus:s,children:l,...d}=e,u=tt(t),p=ot(),m=a??p,{buttonProps:h,isPressed:b}=Xr({onPress:i,isDisabled:m,autoFocus:s,...d},u),{isFocusVisible:g,focusProps:v}=fr({autoFocus:s}),_=[g?"focused":void 0,b?"pressed":void 0].filter(Boolean).join(" "),I=d5[o][n];return S(I,{ref:u,...pe(h,d,v,{"data-state":_}),"data-state":_,style:{"--button-padding":Uu[r]},children:l})});hr.displayName="Button";function lo(e){const t=c.useRef({value:e,previous:e});return c.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const Gu="Checkbox",[u5,zC]=Oe(Gu),[f5,p5]=u5(Gu),m5=c.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:a,required:i,disabled:s,value:l="on",onCheckedChange:d,...u}=e,[p,m]=c.useState(null),h=fe(t,_=>m(_)),b=c.useRef(!1),g=p?Boolean(p.closest("form")):!0,[v=!1,$]=Ye({prop:o,defaultProp:a,onChange:d}),x=c.useRef(v);return c.useEffect(()=>{const _=p==null?void 0:p.form;if(_){const y=()=>$(x.current);return _.addEventListener("reset",y),()=>_.removeEventListener("reset",y)}},[p,$]),c.createElement(f5,{scope:r,state:v,disabled:s},c.createElement(ae.button,A({type:"button",role:"checkbox","aria-checked":Wt(v)?"mixed":v,"aria-required":i,"data-state":qu(v),"data-disabled":s?"":void 0,disabled:s,value:l},u,{ref:h,onKeyDown:Q(e.onKeyDown,_=>{_.key==="Enter"&&_.preventDefault()}),onClick:Q(e.onClick,_=>{$(y=>Wt(y)?!0:!y),g&&(b.current=_.isPropagationStopped(),b.current||_.stopPropagation())})})),g&&c.createElement(g5,{control:p,bubbles:!b.current,name:n,value:l,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),h5="CheckboxIndicator",b5=c.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,a=p5(h5,r);return c.createElement(Ve,{present:n||Wt(a.state)||a.state===!0},c.createElement(ae.span,A({"data-state":qu(a.state),"data-disabled":a.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),g5=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=c.useRef(null),i=lo(r),s=On(t);return c.useEffect(()=>{const l=a.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&p){const m=new Event("click",{bubbles:n});l.indeterminate=Wt(r),p.call(l,Wt(r)?!1:r),l.dispatchEvent(m)}},[i,r,n]),c.createElement("input",A({type:"checkbox","aria-hidden":!0,defaultChecked:Wt(r)?!1:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Wt(e){return e==="indeterminate"}function qu(e){return Wt(e)?"indeterminate":e?"checked":"unchecked"}const v5=m5,y5=b5;function Yu(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=Ke(t);let i=Ke(),s={};r?(n=n?`${n} ${i}`:i,s={id:i,htmlFor:a==="label"?t:void 0}):!n&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let l=Ia({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:l}}function Jr(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:o,fieldProps:a}=Yu(e),i=Kn([Boolean(t),Boolean(r),n]),s=Kn([Boolean(t),Boolean(r),n]);return a=pe(a,{"aria-describedby":[i,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:a,descriptionProps:{id:i},errorMessageProps:{id:s}}}function co(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:a=!1,validationState:i,type:s="text",onChange:l=()=>{}}=e,{focusableProps:d}=Xa(e,t),{labelProps:u,fieldProps:p,descriptionProps:m,errorMessageProps:h}=Jr(e),b=ft(e,{labelable:!0});const g={type:s,pattern:e.pattern};return{labelProps:u,inputProps:pe(b,r==="input"&&g,{disabled:n,readOnly:a,"aria-required":o||void 0,"aria-invalid":i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:e.value,defaultValue:e.value?void 0:e.defaultValue,onChange:v=>l(v.target.value),autoComplete:e.autoComplete,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,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,...d,...p}),descriptionProps:m,errorMessageProps:h}}function Zu(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function $5(e,t,r){let n=c.useRef(t);n.current=t,c.useEffect(()=>{if(!Zu())return;let u=r.current,p=m=>{let h=n.current,b;switch(m.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":b=u.value.slice(0,u.selectionStart)+u.value.slice(u.selectionEnd);break;case"deleteContentForward":b=u.selectionEnd===u.selectionStart?u.value.slice(0,u.selectionStart)+u.value.slice(u.selectionEnd+1):u.value.slice(0,u.selectionStart)+u.value.slice(u.selectionEnd);break;case"deleteContentBackward":b=u.selectionEnd===u.selectionStart?u.value.slice(0,u.selectionStart-1)+u.value.slice(u.selectionStart):u.value.slice(0,u.selectionStart)+u.value.slice(u.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":b=u.value.slice(u.selectionStart);break;default:m.data!=null&&(b=u.value.slice(0,u.selectionStart)+m.data+u.value.slice(u.selectionEnd));break}(b==null||!h.validate(b))&&m.preventDefault()};return u.addEventListener("beforeinput",p,!1),()=>{u.removeEventListener("beforeinput",p,!1)}},[r,n]);let o=Zu()?null:u=>{let p=u.target.value.slice(0,u.target.selectionStart)+u.data+u.target.value.slice(u.target.selectionEnd);t.validate(p)||u.preventDefault()},{labelProps:a,inputProps:i,descriptionProps:s,errorMessageProps:l}=co(e,r),d=c.useRef(null);return{inputProps:pe(i,{onBeforeInput:o,onCompositionStart(){let{value:u,selectionStart:p,selectionEnd:m}=r.current;d.current={value:u,selectionStart:p,selectionEnd:m}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:u,selectionStart:p,selectionEnd:m}=d.current;r.current.value=u,r.current.setSelectionRange(p,m),t.setInputValue(u)}}}),labelProps:a,descriptionProps:s,errorMessageProps:l}}const x5=k.css`
|
|
590
590
|
position: absolute;
|
|
591
591
|
width: 1px;
|
|
592
592
|
height: 1px;
|
|
@@ -596,7 +596,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
596
596
|
clip: rect(0, 0, 0, 0);
|
|
597
597
|
white-space: nowrap;
|
|
598
598
|
border-width: 0;
|
|
599
|
-
`,
|
|
599
|
+
`,Si=k.label`
|
|
600
600
|
font-family: ${f.font_family_sans};
|
|
601
601
|
margin: 0;
|
|
602
602
|
font-style: normal;
|
|
@@ -606,21 +606,21 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
606
606
|
font-weight: var(--label-font-weight, 400);
|
|
607
607
|
color: ${f.color_background_black_standard};
|
|
608
608
|
|
|
609
|
-
${e=>e.srOnly&&
|
|
610
|
-
`,
|
|
609
|
+
${e=>e.srOnly&&x5}
|
|
610
|
+
`,_5=k(Si)`
|
|
611
611
|
font-size: ${f.font_size_label_small};
|
|
612
612
|
letter-spacing: ${f.letter_spacing_label_small};
|
|
613
613
|
line-height: ${f.line_height_label_small};
|
|
614
|
-
`,
|
|
614
|
+
`,w5=k(Si)`
|
|
615
615
|
font-size: ${f.font_size_label_large};
|
|
616
616
|
letter-spacing: ${f.letter_spacing_label_large};
|
|
617
617
|
line-height: ${f.line_height_label_large};
|
|
618
|
-
`,
|
|
618
|
+
`,E5=k(Si)`
|
|
619
619
|
font-size: ${f.font_size_label_medium};
|
|
620
620
|
letter-spacing: ${f.letter_spacing_label_medium};
|
|
621
621
|
line-height: ${f.line_height_label_medium};
|
|
622
|
-
`,
|
|
623
|
-
padding: ${({paddingSize:e="small"})=>
|
|
622
|
+
`,S5={small:_5,medium:E5,large:w5};function je({children:e,bold:t,size:r="small",display:n="inline-flex",srOnly:o,...a}){const i=S5[r];return S(i,{...a,srOnly:o,style:{"--label-font-weight":t?500:400,"--label-display":n},children:e})}const P5={small:"7px 8px",large:"11px 12px"},Qr=k.input`
|
|
623
|
+
padding: ${({paddingSize:e="small"})=>P5[e]}; // add default?
|
|
624
624
|
appearance: none;
|
|
625
625
|
border: 1px solid
|
|
626
626
|
var(--input-border-color, ${f.color_outline_secondary_enabled});
|
|
@@ -672,7 +672,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
672
672
|
&:disabled::placeholder {
|
|
673
673
|
color: ${f.color_fill_primary_disabled};
|
|
674
674
|
}
|
|
675
|
-
`,
|
|
675
|
+
`,Ut=k.div`
|
|
676
676
|
--input-border-color: ${f.color_outline_secondary_enabled};
|
|
677
677
|
display: flex;
|
|
678
678
|
flex-direction: column;
|
|
@@ -689,7 +689,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
689
689
|
letter-spacing: ${f.letter_spacing_tight};
|
|
690
690
|
|
|
691
691
|
/* max-width: 300px; make configurable with prop? */
|
|
692
|
-
`,
|
|
692
|
+
`,uo=k.div`
|
|
693
693
|
display: flex;
|
|
694
694
|
align-items: center;
|
|
695
695
|
gap: 5.33px; // TODO update sizing this is 1/3rem
|
|
@@ -704,13 +704,13 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
704
704
|
/* display: inline-flex;
|
|
705
705
|
align-self: center; */
|
|
706
706
|
}
|
|
707
|
-
`,
|
|
707
|
+
`,fo=k.div`
|
|
708
708
|
color: ${f.color_text_weak};
|
|
709
709
|
font-size: ${f.font_size_50};
|
|
710
710
|
line-height: ${f.line_height_133};
|
|
711
711
|
font-family: ${f.font_family_sans};
|
|
712
712
|
/* max-height? with overflow-x? */
|
|
713
|
-
`;
|
|
713
|
+
`;k.div`
|
|
714
714
|
position: absolute;
|
|
715
715
|
right: 8px;
|
|
716
716
|
top: 0;
|
|
@@ -718,7 +718,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
718
718
|
display: flex;
|
|
719
719
|
align-items: center;
|
|
720
720
|
pointer-events: none;
|
|
721
|
-
`;const
|
|
721
|
+
`;const Pi=c.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="small",label:l,validationState:d,placeholder:u="Enter text...",...p}=e,m=tt(t),h=ot(),b=o??h,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:x}=co({...p,isDisabled:b,isReadOnly:a,isRequired:i,placeholder:u,label:l},m);let _=null;return typeof l=="string"?_=S(je,{...g,children:l}):c.isValidElement(l)&&(_=c.cloneElement(l,{...g})),ee(Ut,{children:[_,S(Qr,{"data-state":d,paddingSize:s,ref:m,placeholder:"Enter...",type:"text",...$,required:i}),r?ee(uo,{...x,children:[S(Se.Error,{}),r]}):null,n?S(fo,{...v,children:n}):null]})});Pi.displayName="TextInput";const[po,KC]=Oe("Tooltip",[nr]),mo=nr(),T5="TooltipProvider",k5=700,Ti="tooltip.open",[D5,ki]=po(T5),C5=e=>{const{__scopeTooltip:t,delayDuration:r=k5,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,[i,s]=c.useState(!0),l=c.useRef(!1),d=c.useRef(0);return c.useEffect(()=>{const u=d.current;return()=>window.clearTimeout(u)},[]),c.createElement(D5,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:c.useCallback(()=>{window.clearTimeout(d.current),s(!1)},[]),onClose:c.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:c.useCallback(u=>{l.current=u},[]),disableHoverableContent:o},a)},Di="Tooltip",[I5,en]=po(Di),O5=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,l=ki(Di,e.__scopeTooltip),d=mo(t),[u,p]=c.useState(null),m=Je(),h=c.useRef(0),b=i??l.disableHoverableContent,g=s??l.delayDuration,v=c.useRef(!1),[$=!1,x]=Ye({prop:n,defaultProp:o,onChange:E=>{E?(l.onOpen(),document.dispatchEvent(new CustomEvent(Ti))):l.onClose(),a==null||a(E)}}),_=c.useMemo(()=>$?v.current?"delayed-open":"instant-open":"closed",[$]),y=c.useCallback(()=>{window.clearTimeout(h.current),v.current=!1,x(!0)},[x]),I=c.useCallback(()=>{window.clearTimeout(h.current),x(!1)},[x]),N=c.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{v.current=!0,x(!0)},g)},[g,x]);return c.useEffect(()=>()=>window.clearTimeout(h.current),[]),c.createElement(wa,d,c.createElement(I5,{scope:t,contentId:m,open:$,stateAttribute:_,trigger:u,onTriggerChange:p,onTriggerEnter:c.useCallback(()=>{l.isOpenDelayed?N():y()},[l.isOpenDelayed,N,y]),onTriggerLeave:c.useCallback(()=>{b?I():window.clearTimeout(h.current)},[I,b]),onOpen:y,onClose:I,disableHoverableContent:b},r))},Xu="TooltipTrigger",A5=c.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=en(Xu,r),a=ki(Xu,r),i=mo(r),s=c.useRef(null),l=fe(t,s,o.onTriggerChange),d=c.useRef(!1),u=c.useRef(!1),p=c.useCallback(()=>d.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),c.createElement(Ea,A({asChild:!0},i),c.createElement(ae.button,A({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:l,onPointerMove:Q(e.onPointerMove,m=>{m.pointerType!=="touch"&&!u.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:Q(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:Q(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:Q(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:Q(e.onBlur,o.onClose),onClick:Q(e.onClick,o.onClose)})))}),Ju="TooltipPortal",[M5,N5]=po(Ju,{forceMount:void 0}),z5=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=en(Ju,t);return c.createElement(M5,{scope:t,forceMount:r},c.createElement(Ve,{present:r||a.open},c.createElement(Kr,{asChild:!0,container:o},n)))},tn="TooltipContent",K5=c.forwardRef((e,t)=>{const r=N5(tn,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,i=en(tn,e.__scopeTooltip);return c.createElement(Ve,{present:n||i.open},i.disableHoverableContent?c.createElement(Qu,A({side:o},a,{ref:t})):c.createElement(F5,A({side:o},a,{ref:t})))}),F5=c.forwardRef((e,t)=>{const r=en(tn,e.__scopeTooltip),n=ki(tn,e.__scopeTooltip),o=c.useRef(null),a=fe(t,o),[i,s]=c.useState(null),{trigger:l,onClose:d}=r,u=o.current,{onPointerInTransitChange:p}=n,m=c.useCallback(()=>{s(null),p(!1)},[p]),h=c.useCallback((b,g)=>{const v=b.currentTarget,$={x:b.clientX,y:b.clientY},x=B5($,v.getBoundingClientRect()),_=x==="right"||x==="bottom"?-5:5,I=x==="right"||x==="left"?{x:b.clientX+_,y:b.clientY}:{x:b.clientX,y:b.clientY+_},N=W5(g.getBoundingClientRect()),E=H5([I,...N]);s(E),p(!0)},[p]);return c.useEffect(()=>()=>m(),[m]),c.useEffect(()=>{if(l&&u){const b=v=>h(v,u),g=v=>h(v,l);return l.addEventListener("pointerleave",b),u.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",b),u.removeEventListener("pointerleave",g)}}},[l,u,h,m]),c.useEffect(()=>{if(i){const b=g=>{const v=g.target,$={x:g.clientX,y:g.clientY},x=(l==null?void 0:l.contains(v))||(u==null?void 0:u.contains(v)),_=!U5($,i);x?m():_&&(m(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,u,i,d,m]),c.createElement(Qu,A({},e,{ref:a}))}),[L5,V5]=po(Di,{isInside:!1}),Qu=c.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,l=en(tn,r),d=mo(r),{onClose:u}=l;return c.useEffect(()=>(document.addEventListener(Ti,u),()=>document.removeEventListener(Ti,u)),[u]),c.useEffect(()=>{if(l.trigger){const p=m=>{const h=m.target;h!=null&&h.contains(l.trigger)&&u()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[l.trigger,u]),c.createElement(zr,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:p=>p.preventDefault(),onDismiss:u},c.createElement(Sa,A({"data-state":l.stateAttribute},d,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),c.createElement(Xo,null,n),c.createElement(L5,{scope:r,isInside:!0},c.createElement(gc,{id:l.contentId,role:"tooltip"},o||n))))}),j5="TooltipArrow",R5=c.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=mo(r);return V5(j5,r).isInside?null:c.createElement(Vc,A({},o,n,{ref:t}))});function B5(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:return null}}function W5(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function U5(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const s=t[a].x,l=t[a].y,d=t[i].x,u=t[i].y;l>n!=u>n&&r<(d-s)*(n-l)/(u-l)+s&&(o=!o)}return o}function H5(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),G5(t)}function G5(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const a=r[r.length-1],i=r[r.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const q5=C5,Y5=O5,Z5=A5,X5=z5,J5=K5,Q5=R5,eE=k.keyframes`
|
|
722
722
|
from {
|
|
723
723
|
opacity: 0;
|
|
724
724
|
transform: translateX(-10px);
|
|
@@ -727,7 +727,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
727
727
|
opacity: 1;
|
|
728
728
|
transform: translateY(0);
|
|
729
729
|
}
|
|
730
|
-
`,
|
|
730
|
+
`,tE=k.keyframes`
|
|
731
731
|
from {
|
|
732
732
|
opacity: 0;
|
|
733
733
|
transform: translateX(10px);
|
|
@@ -736,7 +736,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
736
736
|
opacity: 1;
|
|
737
737
|
transform: translateY(0);
|
|
738
738
|
}
|
|
739
|
-
`,
|
|
739
|
+
`,rE=k.keyframes`
|
|
740
740
|
from {
|
|
741
741
|
opacity: 0;
|
|
742
742
|
transform: translateY(-10px);
|
|
@@ -745,7 +745,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
745
745
|
opacity: 1;
|
|
746
746
|
transform: translateY(0);
|
|
747
747
|
}
|
|
748
|
-
`,
|
|
748
|
+
`,nE=k.keyframes`
|
|
749
749
|
from {
|
|
750
750
|
opacity: 0;
|
|
751
751
|
transform: translateY(10px);
|
|
@@ -754,7 +754,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
754
754
|
opacity: 1;
|
|
755
755
|
transform: translateY(0);
|
|
756
756
|
}
|
|
757
|
-
`,
|
|
757
|
+
`,oE=k(J5)`
|
|
758
758
|
padding: ${f.sizing_200} ${f.sizing_200};
|
|
759
759
|
background: ${f.color_background_black_standard};
|
|
760
760
|
color: ${f.color_text_white_standard};
|
|
@@ -768,29 +768,29 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
768
768
|
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); // move to tokens?
|
|
769
769
|
|
|
770
770
|
&[data-side='top'] {
|
|
771
|
-
animation-name: ${
|
|
771
|
+
animation-name: ${nE};
|
|
772
772
|
}
|
|
773
773
|
|
|
774
774
|
&[data-side='bottom'] {
|
|
775
|
-
animation-name: ${
|
|
775
|
+
animation-name: ${rE};
|
|
776
776
|
}
|
|
777
777
|
|
|
778
778
|
&[data-side='left'] {
|
|
779
|
-
animation-name: ${
|
|
779
|
+
animation-name: ${tE};
|
|
780
780
|
}
|
|
781
781
|
|
|
782
782
|
&[data-side='right'] {
|
|
783
|
-
animation-name: ${
|
|
783
|
+
animation-name: ${eE};
|
|
784
784
|
}
|
|
785
|
-
`,
|
|
785
|
+
`,aE=k(Q5)`
|
|
786
786
|
fill: 'white';
|
|
787
|
-
`;function
|
|
787
|
+
`;function iE({children:e,...t}){return S(X5,{children:ee(oE,{...t,children:[e,S(aE,{})]})})}const sE=k(Z5)`
|
|
788
788
|
appearance: none;
|
|
789
789
|
padding: 0;
|
|
790
790
|
border: none;
|
|
791
791
|
background-color: unset;
|
|
792
792
|
line-height: 0;
|
|
793
|
-
`,
|
|
793
|
+
`,Ci=c.forwardRef((e,t)=>{const{children:r,asChild:n,...o}=e;return S(sE,{ref:t,...o,type:"button",asChild:n,children:r})});Ci.displayName="TooltipTrigger";const ef=q5,tf=Y5,rf=iE,lE=k(Ci)`
|
|
794
794
|
color: ${f.color_text_white_weak};
|
|
795
795
|
margin-block: auto;
|
|
796
796
|
|
|
@@ -810,7 +810,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
810
810
|
&:not([data-state~='closed']) > svg {
|
|
811
811
|
color: steelblue;
|
|
812
812
|
}
|
|
813
|
-
`;function Gt({children:e,icon:t=S(Ee.Help,{}),label:r="More info"}){return S(Yu,{children:ee(Zu,{children:[S(b5,{children:S(Kr,{label:r,children:t})}),S(Xu,{sideOffset:5,children:e})]})})}const Ju=7e3;let ki=null;function g5(e,t="assertive",r=Ju){ki||(ki=new v5),ki.announce(e,t,r)}class v5{createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=Ju){if(!this.node)return;let o=document.createElement("div");o.textContent=t,r==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){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:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,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 y5(e){return e&&e.__esModule?e.default:e}var Qu={},ef={};ef={Empty:"فارغ"};var tf={};tf={Empty:"Изпразни"};var rf={};rf={Empty:"Prázdné"};var nf={};nf={Empty:"Tom"};var of={};of={Empty:"Leer"};var af={};af={Empty:"Άδειο"};var sf={};sf={Empty:"Empty"};var lf={};lf={Empty:"Vacío"};var cf={};cf={Empty:"Tühjenda"};var df={};df={Empty:"Tyhjä"};var uf={};uf={Empty:"Vide"};var ff={};ff={Empty:"ריק"};var pf={};pf={Empty:"Prazno"};var mf={};mf={Empty:"Üres"};var hf={};hf={Empty:"Vuoto"};var bf={};bf={Empty:"空"};var gf={};gf={Empty:"비어 있음"};var vf={};vf={Empty:"Tuščias"};var yf={};yf={Empty:"Tukšs"};var $f={};$f={Empty:"Tom"};var _f={};_f={Empty:"Leeg"};var xf={};xf={Empty:"Pusty"};var wf={};wf={Empty:"Vazio"};var Ef={};Ef={Empty:"Vazio"};var Sf={};Sf={Empty:"Gol"};var Pf={};Pf={Empty:"Не заполнено"};var Tf={};Tf={Empty:"Prázdne"};var kf={};kf={Empty:"Prazen"};var Df={};Df={Empty:"Prazno"};var Cf={};Cf={Empty:"Tomt"};var If={};If={Empty:"Boş"};var Of={};Of={Empty:"Пусто"};var Af={};Af={Empty:"空"};var Mf={};Mf={Empty:"空白"},Qu={"ar-AE":ef,"bg-BG":tf,"cs-CZ":rf,"da-DK":nf,"de-DE":of,"el-GR":af,"en-US":sf,"es-ES":lf,"et-EE":cf,"fi-FI":df,"fr-FR":uf,"he-IL":ff,"hr-HR":pf,"hu-HU":mf,"it-IT":hf,"ja-JP":bf,"ko-KR":gf,"lt-LT":vf,"lv-LV":yf,"nb-NO":$f,"nl-NL":_f,"pl-PL":xf,"pt-BR":wf,"pt-PT":Ef,"ro-RO":Sf,"ru-RU":Pf,"sk-SK":Tf,"sl-SI":kf,"sr-SP":Df,"sv-SE":Cf,"tr-TR":If,"uk-UA":Of,"zh-CN":Af,"zh-TW":Mf};function Nf(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:c,onIncrement:d,onIncrementPage:u,onDecrement:p,onDecrementPage:m,onDecrementToMin:h,onIncrementToMax:b}=e;const g=Pt(y5(Qu)),v=l.useRef(e);v.current=e;const _=()=>clearTimeout(t.current);l.useEffect(()=>()=>_(),[]);let $=k=>{if(!(k.ctrlKey||k.metaKey||k.shiftKey||k.altKey||s))switch(k.key){case"PageUp":if(u){k.preventDefault(),u();break}case"ArrowUp":case"Up":d&&(k.preventDefault(),d());break;case"PageDown":if(m){k.preventDefault(),m();break}case"ArrowDown":case"Down":p&&(k.preventDefault(),p());break;case"Home":h&&(k.preventDefault(),h());break;case"End":b&&(k.preventDefault(),b());break}},x=l.useRef(!1),y=()=>{x.current=!0},A=()=>{x.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{x.current&&g5(n,"assertive")},[n]);const N=l.useCallback(k=>{_(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&N(60)},k)},[d,a,r]),E=l.useCallback(k=>{_(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&E(60)},k)},[p,o,r]);let C=k=>{k.preventDefault()},{addGlobalListener:M,removeAllGlobalListeners:V}=Ta();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":o,"aria-valuemax":a,"aria-disabled":i||null,"aria-readonly":s||null,"aria-required":c||null,onKeyDown:$,onFocus:y,onBlur:A},incrementButtonProps:{onPressStart:()=>{N(400),M(window,"contextmenu",C)},onPressEnd:()=>{_(),V()},onFocus:y,onBlur:A},decrementButtonProps:{onPressStart:()=>{E(400),M(window,"contextmenu",C)},onPressEnd:()=>{_(),V()},onFocus:y,onBlur:A}}}function $5(e){return e&&e.__esModule?e.default:e}var zf={},Ff={};Ff={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Kf={};Kf={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Lf={};Lf={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var Vf={};Vf={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var jf={};jf={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var Rf={};Rf={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var Bf={};Bf={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Uf={};Uf={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Wf={};Wf={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var Hf={};Hf={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var Gf={};Gf={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var qf={};qf={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Yf={};Yf={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Zf={};Zf={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Xf={};Xf={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Jf={};Jf={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Qf={};Qf={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var ep={};ep={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var tp={};tp={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var rp={};rp={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var np={};np={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var op={};op={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var ap={};ap={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var ip={};ip={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var sp={};sp={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var lp={};lp={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var cp={};cp={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var dp={};dp={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var up={};up={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var fp={};fp={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var pp={};pp={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var mp={};mp={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var hp={};hp={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var bp={};bp={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},zf={"ar-AE":Ff,"bg-BG":Kf,"cs-CZ":Lf,"da-DK":Vf,"de-DE":jf,"el-GR":Rf,"en-US":Bf,"es-ES":Uf,"et-EE":Wf,"fi-FI":Hf,"fr-FR":Gf,"he-IL":qf,"hr-HR":Yf,"hu-HU":Zf,"it-IT":Xf,"ja-JP":Jf,"ko-KR":Qf,"lt-LT":ep,"lv-LV":tp,"nb-NO":rp,"nl-NL":np,"pl-PL":op,"pt-BR":ap,"pt-PT":ip,"ro-RO":sp,"ru-RU":lp,"sk-SK":cp,"sl-SI":dp,"sr-SP":up,"sv-SE":fp,"tr-TR":pp,"uk-UA":mp,"zh-CN":hp,"zh-TW":bp};function _5(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:c,minValue:d,maxValue:u,autoFocus:p,validationState:m,label:h,formatOptions:b,onBlur:g=()=>{},onFocus:v,onFocusChange:_,onKeyDown:$,onKeyUp:x,description:y,errorMessage:A,...N}=e,{increment:E,incrementToMax:C,decrement:M,decrementToMin:V,numberValue:k,commit:L}=t;const P=Pt($5(zf));let T=ze(n),{focusProps:H}=Va({onBlur:()=>{L()}}),{spinButtonProps:le,incrementButtonProps:R,decrementButtonProps:oe}=Nf({isDisabled:i,isReadOnly:s,isRequired:c,maxValue:u,minValue:d,onIncrement:E,onIncrementToMax:C,onDecrement:M,onDecrementToMin:V,value:k,textValue:t.inputValue}),[q,z]=l.useState(!1),{focusWithinProps:I}=Rt({isDisabled:i,onFocusWithinChange:z}),U=l.useCallback(Le=>{Math.abs(Le.deltaY)<=Math.abs(Le.deltaX)||(Le.deltaY>0?E():Le.deltaY<0&&M())},[M,E]);Kx({onScroll:U,isDisabled:i||s||!q},r);let X=Hw(b),ne=l.useMemo(()=>X.resolvedOptions(),[X]).maximumFractionDigits>0,B=isNaN(t.minValue)||t.minValue<0,Y="numeric";Xc()?B?Y="text":ne&&(Y="decimal"):Qc()&&(B?Y="numeric":ne&&(Y="decimal"));let te=Le=>{t.setInputValue(Le)},J=ft(e),{labelProps:ie,inputProps:re,descriptionProps:_e,errorMessageProps:ke}=kE({...N,...J,label:h,autoFocus:p,isDisabled:i,isReadOnly:s,isRequired:c,validationState:m,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:T,type:"text",inputMode:Y,onChange:te,onBlur:g,onFocus:v,onFocusChange:_,onKeyDown:$,onKeyUp:x,description:y,errorMessage:A},t,r),Ue=pe(le,H,re,{role:null,"aria-roledescription":ir()?null:P.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),Ke=Le=>{document.activeElement!==r.current&&(Le.pointerType==="mouse"?r.current.focus():Le.target.focus())},We=e["aria-label"]||(typeof e.label=="string"?e.label:""),He;We||(He=e.label!=null?ie.id:e["aria-labelledby"]);let Ne=ze(),it=ze(),Cr=pe(R,{"aria-label":a||P.format("increase",{fieldLabel:We}).trim(),id:He&&!a?Ne:null,"aria-labelledby":He&&!a?`${Ne} ${He}`:null,"aria-controls":T,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Ke}),Ge=pe(oe,{"aria-label":o||P.format("decrease",{fieldLabel:We}).trim(),id:He&&!o?it:null,"aria-labelledby":He&&!o?`${it} ${He}`:null,"aria-controls":T,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Ke});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":m==="invalid"?"true":void 0,...I},labelProps:ie,inputProps:Ue,incrementButtonProps:Cr,decrementButtonProps:Ge,errorMessageProps:ke,descriptionProps:_e}}function x5(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:c,isDisabled:d,isReadOnly:u}=e,[p,m]=Ft(a,isNaN(i)?NaN:i,s),[h,b]=l.useState(()=>isNaN(p)?"":new pi(c,o).format(p)),g=l.useMemo(()=>new Bd(c,o),[c,o]),v=l.useMemo(()=>g.getNumberingSystem(h),[g,h]),_=l.useMemo(()=>new pi(c,{...o,numberingSystem:v}),[c,o,v]),$=l.useMemo(()=>_.resolvedOptions(),[_]),x=l.useCallback(q=>isNaN(q)||q===null?"":_.format(q),[_]),y=isNaN(n)?1:n;$.style==="percent"&&isNaN(n)&&(y=.01);let A=l.useRef(p),N=l.useRef(c),E=l.useRef(o);(!Object.is(p,A.current)||c!==N.current||o!==E.current)&&(b(x(p)),A.current=p,N.current=c,E.current=o);let C=l.useMemo(()=>g.parse(h),[g,h]),M=l.useRef(0);M.current=C;let V=()=>{if(!h.length){m(NaN),b(a===void 0?"":x(p));return}if(isNaN(M.current)){b(x(p));return}let q;isNaN(n)?q=tx(M.current,t,r):q=Kt(M.current,t,r,n),q=g.parse(x(q)),m(q),b(x(a===void 0?q:p))},k=(q,z)=>{let I=M.current;if(isNaN(I)){let U=isNaN(z)?0:z;return Kt(U,t,r,y)}else{let U=Kt(I,t,r,y);return q==="+"&&U>I||q==="-"&&U<I?U:Kt(Di(q,I,y),t,r,y)}},L=()=>{let q=k("+",t);q===p&&b(x(q)),m(q)},P=()=>{let q=k("-",r);q===p&&b(x(q)),m(q)},T=()=>{r!=null&&m(Kt(r,t,r,y))},H=()=>{t!=null&&m(t)},le=l.useMemo(()=>!d&&!u&&(isNaN(C)||isNaN(r)||Kt(C,t,r,y)>C||Di("+",C,y)<=r),[d,u,t,r,y,C]),R=l.useMemo(()=>!d&&!u&&(isNaN(C)||isNaN(t)||Kt(C,t,r,y)<C||Di("-",C,y)>=t),[d,u,t,r,y,C]);return{validate:q=>g.isValidPartialNumber(q,t,r),increment:L,incrementToMax:T,decrement:P,decrementToMin:H,canIncrement:le,canDecrement:R,minValue:t,maxValue:r,numberValue:C,setInputValue:b,inputValue:h,commit:V}}function Di(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const o=t.toString().split("."),a=r.toString().split("."),i=o[1]&&o[1].length||0,s=a[1]&&a[1].length||0,c=Math.pow(10,Math.max(i,s));t=Math.round(t*c),r=Math.round(r*c),n=e==="+"?t+r:t-r,n/=c}return n}function gp(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=Zr(e,t),{children:o,className:a}=e;return S("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const w5=D.div`
|
|
813
|
+
`;function Ht({children:e,icon:t=S(Se.Help,{}),label:r="More info"}){return S(ef,{children:ee(tf,{children:[S(lE,{children:S(Fr,{label:r,children:t})}),S(rf,{sideOffset:5,children:e})]})})}const nf=7e3;let Ii=null;function cE(e,t="assertive",r=nf){Ii||(Ii=new dE),Ii.announce(e,t,r)}class dE{createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=nf){if(!this.node)return;let o=document.createElement("div");o.textContent=t,r==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){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:"0 -1px -1px 0",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 uE(e){return e&&e.__esModule?e.default:e}var of={},af={};af={Empty:"فارغ"};var sf={};sf={Empty:"Изпразни"};var lf={};lf={Empty:"Prázdné"};var cf={};cf={Empty:"Tom"};var df={};df={Empty:"Leer"};var uf={};uf={Empty:"Άδειο"};var ff={};ff={Empty:"Empty"};var pf={};pf={Empty:"Vacío"};var mf={};mf={Empty:"Tühjenda"};var hf={};hf={Empty:"Tyhjä"};var bf={};bf={Empty:"Vide"};var gf={};gf={Empty:"ריק"};var vf={};vf={Empty:"Prazno"};var yf={};yf={Empty:"Üres"};var $f={};$f={Empty:"Vuoto"};var xf={};xf={Empty:"空"};var _f={};_f={Empty:"비어 있음"};var wf={};wf={Empty:"Tuščias"};var Ef={};Ef={Empty:"Tukšs"};var Sf={};Sf={Empty:"Tom"};var Pf={};Pf={Empty:"Leeg"};var Tf={};Tf={Empty:"Pusty"};var kf={};kf={Empty:"Vazio"};var Df={};Df={Empty:"Vazio"};var Cf={};Cf={Empty:"Gol"};var If={};If={Empty:"Не заполнено"};var Of={};Of={Empty:"Prázdne"};var Af={};Af={Empty:"Prazen"};var Mf={};Mf={Empty:"Prazno"};var Nf={};Nf={Empty:"Tomt"};var zf={};zf={Empty:"Boş"};var Kf={};Kf={Empty:"Пусто"};var Ff={};Ff={Empty:"空"};var Lf={};Lf={Empty:"空白"},of={"ar-AE":af,"bg-BG":sf,"cs-CZ":lf,"da-DK":cf,"de-DE":df,"el-GR":uf,"en-US":ff,"es-ES":pf,"et-EE":mf,"fi-FI":hf,"fr-FR":bf,"he-IL":gf,"hr-HR":vf,"hu-HU":yf,"it-IT":$f,"ja-JP":xf,"ko-KR":_f,"lt-LT":wf,"lv-LV":Ef,"nb-NO":Sf,"nl-NL":Pf,"pl-PL":Tf,"pt-BR":kf,"pt-PT":Df,"ro-RO":Cf,"ru-RU":If,"sk-SK":Of,"sl-SI":Af,"sr-SP":Mf,"sv-SE":Nf,"tr-TR":zf,"uk-UA":Kf,"zh-CN":Ff,"zh-TW":Lf};function Vf(e){const t=c.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:l,onIncrement:d,onIncrementPage:u,onDecrement:p,onDecrementPage:m,onDecrementToMin:h,onIncrementToMax:b}=e;const g=Pt(uE(of)),v=c.useRef(e);v.current=e;const $=()=>clearTimeout(t.current);c.useEffect(()=>()=>$(),[]);let x=C=>{if(!(C.ctrlKey||C.metaKey||C.shiftKey||C.altKey||s))switch(C.key){case"PageUp":if(u){C.preventDefault(),u();break}case"ArrowUp":case"Up":d&&(C.preventDefault(),d());break;case"PageDown":if(m){C.preventDefault(),m();break}case"ArrowDown":case"Down":p&&(C.preventDefault(),p());break;case"Home":h&&(C.preventDefault(),h());break;case"End":b&&(C.preventDefault(),b());break}},_=c.useRef(!1),y=()=>{_.current=!0},I=()=>{_.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),c.useEffect(()=>{_.current&&cE(n,"assertive")},[n]);const N=c.useCallback(C=>{$(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&N(60)},C)},[d,a,r]),E=c.useCallback(C=>{$(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&E(60)},C)},[p,o,r]);let D=C=>{C.preventDefault()},{addGlobalListener:M,removeAllGlobalListeners:V}=Ca();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":o,"aria-valuemax":a,"aria-disabled":i||null,"aria-readonly":s||null,"aria-required":l||null,onKeyDown:x,onFocus:y,onBlur:I},incrementButtonProps:{onPressStart:()=>{N(400),M(window,"contextmenu",D)},onPressEnd:()=>{$(),V()},onFocus:y,onBlur:I},decrementButtonProps:{onPressStart:()=>{E(400),M(window,"contextmenu",D)},onPressEnd:()=>{$(),V()},onFocus:y,onBlur:I}}}function fE(e){return e&&e.__esModule?e.default:e}var jf={},Rf={};Rf={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Bf={};Bf={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Wf={};Wf={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var Uf={};Uf={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var Hf={};Hf={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var Gf={};Gf={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var qf={};qf={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Yf={};Yf={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Zf={};Zf={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var Xf={};Xf={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var Jf={};Jf={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var Qf={};Qf={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var ep={};ep={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var tp={};tp={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var rp={};rp={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var np={};np={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var op={};op={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var ap={};ap={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var ip={};ip={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var sp={};sp={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var lp={};lp={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var cp={};cp={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var dp={};dp={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var up={};up={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var fp={};fp={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var pp={};pp={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var mp={};mp={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var hp={};hp={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var bp={};bp={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var gp={};gp={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var vp={};vp={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var yp={};yp={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var $p={};$p={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var xp={};xp={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},jf={"ar-AE":Rf,"bg-BG":Bf,"cs-CZ":Wf,"da-DK":Uf,"de-DE":Hf,"el-GR":Gf,"en-US":qf,"es-ES":Yf,"et-EE":Zf,"fi-FI":Xf,"fr-FR":Jf,"he-IL":Qf,"hr-HR":ep,"hu-HU":tp,"it-IT":rp,"ja-JP":np,"ko-KR":op,"lt-LT":ap,"lv-LV":ip,"nb-NO":sp,"nl-NL":lp,"pl-PL":cp,"pt-BR":dp,"pt-PT":up,"ro-RO":fp,"ru-RU":pp,"sk-SK":mp,"sl-SI":hp,"sr-SP":bp,"sv-SE":gp,"tr-TR":vp,"uk-UA":yp,"zh-CN":$p,"zh-TW":xp};function pE(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:l,minValue:d,maxValue:u,autoFocus:p,validationState:m,label:h,formatOptions:b,onBlur:g=()=>{},onFocus:v,onFocusChange:$,onKeyDown:x,onKeyUp:_,description:y,errorMessage:I,...N}=e,{increment:E,incrementToMax:D,decrement:M,decrementToMin:V,numberValue:C,commit:L}=t;const P=Pt(fE(jf));let T=Ke(n),{focusProps:G}=Ra({onBlur:()=>{L()}}),{spinButtonProps:le,incrementButtonProps:R,decrementButtonProps:oe}=Vf({isDisabled:i,isReadOnly:s,isRequired:l,maxValue:u,minValue:d,onIncrement:E,onIncrementToMax:D,onDecrement:M,onDecrementToMin:V,value:C,textValue:t.inputValue}),[q,z]=c.useState(!1),{focusWithinProps:O}=ur({isDisabled:i,onFocusWithinChange:z}),W=c.useCallback(Le=>{Math.abs(Le.deltaY)<=Math.abs(Le.deltaX)||(Le.deltaY>0?E():Le.deltaY<0&&M())},[M,E]);C_({onScroll:W,isDisabled:i||s||!q},r);let X=Fw(b),ne=c.useMemo(()=>X.resolvedOptions(),[X]).maximumFractionDigits>0,B=isNaN(t.minValue)||t.minValue<0,Y="numeric";rd()?B?Y="text":ne&&(Y="decimal"):od()&&(B?Y="numeric":ne&&(Y="decimal"));let te=Le=>{t.setInputValue(Le)},J=ft(e),{labelProps:ie,inputProps:re,descriptionProps:xe,errorMessageProps:ke}=$5({...N,...J,label:h,autoFocus:p,isDisabled:i,isReadOnly:s,isRequired:l,validationState:m,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:T,type:"text",inputMode:Y,onChange:te,onBlur:g,onFocus:v,onFocusChange:$,onKeyDown:x,onKeyUp:_,description:y,errorMessage:I},t,r),We=pe(le,G,re,{role:null,"aria-roledescription":ar()?null:P.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),Fe=Le=>{document.activeElement!==r.current&&(Le.pointerType==="mouse"?r.current.focus():Le.target.focus())},Ue=e["aria-label"]||(typeof e.label=="string"?e.label:""),He;Ue||(He=e.label!=null?ie.id:e["aria-labelledby"]);let ze=Ke(),it=Ke(),Cr=pe(R,{"aria-label":a||P.format("increase",{fieldLabel:Ue}).trim(),id:He&&!a?ze:null,"aria-labelledby":He&&!a?`${ze} ${He}`:null,"aria-controls":T,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Fe}),Ge=pe(oe,{"aria-label":o||P.format("decrease",{fieldLabel:Ue}).trim(),id:He&&!o?it:null,"aria-labelledby":He&&!o?`${it} ${He}`:null,"aria-controls":T,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Fe});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":m==="invalid"?"true":void 0,...O},labelProps:ie,inputProps:We,incrementButtonProps:Cr,decrementButtonProps:Ge,errorMessageProps:ke,descriptionProps:xe}}function mE(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:l,isDisabled:d,isReadOnly:u}=e,[p,m]=Kt(a,isNaN(i)?NaN:i,s),[h,b]=c.useState(()=>isNaN(p)?"":new bi(l,o).format(p)),g=c.useMemo(()=>new qd(l,o),[l,o]),v=c.useMemo(()=>g.getNumberingSystem(h),[g,h]),$=c.useMemo(()=>new bi(l,{...o,numberingSystem:v}),[l,o,v]),x=c.useMemo(()=>$.resolvedOptions(),[$]),_=c.useCallback(q=>isNaN(q)||q===null?"":$.format(q),[$]),y=isNaN(n)?1:n;x.style==="percent"&&isNaN(n)&&(y=.01);let I=c.useRef(p),N=c.useRef(l),E=c.useRef(o);(!Object.is(p,I.current)||l!==N.current||o!==E.current)&&(b(_(p)),I.current=p,N.current=l,E.current=o);let D=c.useMemo(()=>g.parse(h),[g,h]),M=c.useRef(0);M.current=D;let V=()=>{if(!h.length){m(NaN),b(a===void 0?"":_(p));return}if(isNaN(M.current)){b(_(p));return}let q;isNaN(n)?q=Gx(M.current,t,r):q=Ft(M.current,t,r,n),q=g.parse(_(q)),m(q),b(_(a===void 0?q:p))},C=(q,z)=>{let O=M.current;if(isNaN(O)){let W=isNaN(z)?0:z;return Ft(W,t,r,y)}else{let W=Ft(O,t,r,y);return q==="+"&&W>O||q==="-"&&W<O?W:Ft(Oi(q,O,y),t,r,y)}},L=()=>{let q=C("+",t);q===p&&b(_(q)),m(q)},P=()=>{let q=C("-",r);q===p&&b(_(q)),m(q)},T=()=>{r!=null&&m(Ft(r,t,r,y))},G=()=>{t!=null&&m(t)},le=c.useMemo(()=>!d&&!u&&(isNaN(D)||isNaN(r)||Ft(D,t,r,y)>D||Oi("+",D,y)<=r),[d,u,t,r,y,D]),R=c.useMemo(()=>!d&&!u&&(isNaN(D)||isNaN(t)||Ft(D,t,r,y)<D||Oi("-",D,y)>=t),[d,u,t,r,y,D]);return{validate:q=>g.isValidPartialNumber(q,t,r),increment:L,incrementToMax:T,decrement:P,decrementToMin:G,canIncrement:le,canDecrement:R,minValue:t,maxValue:r,numberValue:D,setInputValue:b,inputValue:h,commit:V}}function Oi(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const o=t.toString().split("."),a=r.toString().split("."),i=o[1]&&o[1].length||0,s=a[1]&&a[1].length||0,l=Math.pow(10,Math.max(i,s));t=Math.round(t*l),r=Math.round(r*l),n=e==="+"?t+r:t-r,n/=l}return n}function _p(e){const t=c.useRef(null),{buttonProps:r,isPressed:n}=Xr(e,t),{children:o,className:a}=e;return S("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const hE=k.div`
|
|
814
814
|
/*
|
|
815
815
|
--border-color: ${f.color_outline_secondary_enabled};
|
|
816
816
|
*/
|
|
@@ -835,7 +835,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
835
835
|
&:has(input:invalid) {
|
|
836
836
|
--input-border-color: ${f.color_outline_danger_enabled};
|
|
837
837
|
}
|
|
838
|
-
`,
|
|
838
|
+
`,bE=k(Qr)`
|
|
839
839
|
border-top-right-radius: 0;
|
|
840
840
|
border-color: var(
|
|
841
841
|
--input-border-color,
|
|
@@ -847,7 +847,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
847
847
|
grid-area: field;
|
|
848
848
|
margin: 0;
|
|
849
849
|
margin-right: -1px; // to make the borders overlap
|
|
850
|
-
`,
|
|
850
|
+
`,wp=k(_p)`
|
|
851
851
|
display: grid;
|
|
852
852
|
place-items: center;
|
|
853
853
|
color: ${f.color_text_weak};
|
|
@@ -889,14 +889,14 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
889
889
|
line-height: 0;
|
|
890
890
|
font-size: 1rem;
|
|
891
891
|
}
|
|
892
|
-
`,
|
|
892
|
+
`,gE=k(wp)`
|
|
893
893
|
border-radius: unset;
|
|
894
894
|
border-top: 1px solid var(--input-border-color);
|
|
895
895
|
border-top-right-radius: ${f.border_radius_400};
|
|
896
896
|
border-bottom-width: 0.5px;
|
|
897
897
|
margin-bottom: -0.5px;
|
|
898
898
|
grid-area: increment;
|
|
899
|
-
`,
|
|
899
|
+
`,vE=k(wp)`
|
|
900
900
|
border-radius: unset;
|
|
901
901
|
border-bottom: 1px solid var(--input-border-color);
|
|
902
902
|
border-bottom-right-radius: ${f.border_radius_400};
|
|
@@ -904,7 +904,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
904
904
|
border-top-width: 0.5px;
|
|
905
905
|
margin-top: -0.5px;
|
|
906
906
|
grid-area: decrement;
|
|
907
|
-
`;function
|
|
907
|
+
`;function Ep(e,t){var r;if(e.length&&((r=e[0])!=null&&r.value)){const n=e[0].value;return t.indexOf(n)}}const Ai=c.forwardRef((e,t)=>{const{description:r,disabled:n,readOnly:o,required:a,paddingSize:i="small",label:s,errorMessage:l,placeholder:d="Enter number...",showStepper:u=!0,min:p,max:m,locale:h="en-US",...b}=e,g=ot(),v=n??g,$=o,x=a,_=tt(t),y=mE({...b,isDisabled:v,isReadOnly:$,isRequired:x,minValue:p,maxValue:m,placeholder:d,locale:h}),{labelProps:I,groupProps:N,inputProps:E,incrementButtonProps:D,decrementButtonProps:M,descriptionProps:V,errorMessageProps:C}=pE({...b,isDisabled:v,isReadOnly:$,isRequired:x,minValue:p,maxValue:m,placeholder:d,label:s},y,_);let L=null;typeof s=="string"?L=S(je,{...I,children:s}):c.isValidElement(s)&&(L=c.cloneElement(s,{...I}));const P=T=>{const{formatOptions:G}=e;if((G==null?void 0:G.style)==="unit"){const R=Intl.NumberFormat(h,G),oe=R.formatToParts(1).filter(Z=>Z.type==="unit"),q=R.formatToParts(3).filter(Z=>Z.type==="unit"),z=Ep(oe,y.inputValue),O=Ep(q,y.inputValue);let W;if(z&&z>-1?W=z:O&&O>-1&&(W=O),W){const Z=T.target.selectionStart;if(Z&&Z>W){const X=W-1;T.target.setSelectionRange(X,X)}}}};return ee(Ut,{children:[L,u?ee(hE,{...N,children:[S(bE,{...E,paddingSize:i,ref:_,onClick:P,onFocus:P,required:a}),S(gE,{...D,children:S(Se.KeyboardArrowUp,{})}),S(vE,{...M,children:S(Se.KeyboardArrowDown,{})})]}):S(Qr,{ref:_,...E,paddingSize:i,required:a}),l?ee(uo,{...C,children:[S(Se.Error,{}),l]}):null,r?S(fo,{...V,children:r}):null]})});Ai.displayName="NumberInput";const Sp=c.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="large",label:l,validationState:d,placeholder:u="Enter text...",...p}=e,m=tt(t),h=ot(),b=o??h,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:x}=co({...p,isDisabled:b,isReadOnly:a,isRequired:i,placeholder:u,label:l,inputElementType:"textarea"},m);let _=null;return typeof l=="string"?_=S(je,{...g,children:l}):c.isValidElement(l)&&(_=c.cloneElement(l,{...g})),ee(Ut,{children:[_,S(Qr,{as:"textarea","data-state":d,paddingSize:s,ref:m,placeholder:"Enter...",...$}),r?ee(uo,{...x,children:[S(Se.Error,{}),r]}):null,n?S(fo,{...v,children:n}):null]})});Sp.displayName="TextAreaInput";const Mi=c.createContext({});Mi.displayName="FormControlContext";function ho(){return c.useContext(Mi)}function yE({children:e,label:t,errorMessage:r,description:n,tooltipContent:o,tooltipIcon:a,validationState:i,id:s,...l}){const{descriptionProps:d,errorMessageProps:u,fieldProps:p,labelProps:m}=Jr({errorMessage:r,label:t,description:n,validationState:i,id:s,...l});return S(Mi.Provider,{value:p,children:ee(Ut,{children:[ee(je,{...m,display:"flex",children:[t,o?S(Ht,{icon:a,children:o}):null]}),e,n?S(fo,{...d,children:n}):null,r?ee(uo,{...u,children:[S(Se.Error,{}),r]}):null]})})}const Pp=c.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return S(Pi,{ref:t,label:ee(je,{children:[r,n?S(Ht,{icon:o,children:n}):null]}),...a})});Pp.displayName="TextFormControl";const Tp=c.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return S(Sp,{ref:t,label:ee(je,{children:[r,n?S(Ht,{icon:o,children:n}):null]}),...a})});Tp.displayName="TextAreaFormControl";const kp=c.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return S(Ai,{ref:t,label:ee(je,{children:[r,n?S(Ht,{icon:o,children:n}):null]}),...a})});kp.displayName="NumberFormControl";function Dp(e){const t=ot(),r=e??t;return{...ho(),disabled:r}}const $E=()=>S("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 11.9577 4.4057 L 5.766 10.5974 L 2.4187 7.2501 L 3.4244 6.2445 L 5.766 8.5861 L 10.952 3.4 L 11.9577 4.4057 Z",fill:"white",stroke:"white",strokeWidth:"0.25"})}),xE=()=>S("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:S("path",{d:"M19 13 H5 v-3 h14 v2 z"})}),Ni=k.div`
|
|
908
908
|
display: grid;
|
|
909
909
|
place-items: center;
|
|
910
910
|
width: 16px;
|
|
@@ -919,7 +919,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
919
919
|
width: 100%;
|
|
920
920
|
height: 100%;
|
|
921
921
|
}
|
|
922
|
-
`,
|
|
922
|
+
`,_E=k(v5)`
|
|
923
923
|
all: unset;
|
|
924
924
|
background-color: ${f.color_white};
|
|
925
925
|
width: ${f.sizing_600};
|
|
@@ -957,13 +957,13 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
957
957
|
--checkbox-background-color: ${f.color_fill_danger_enabled};
|
|
958
958
|
color: ${f.color_fill_danger_enabled};
|
|
959
959
|
}
|
|
960
|
-
`,
|
|
960
|
+
`,wE=k(y5)`
|
|
961
961
|
line-height: 0;
|
|
962
962
|
|
|
963
963
|
& > svg {
|
|
964
964
|
line-height: 0;
|
|
965
965
|
}
|
|
966
|
-
`;function Ai({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const a=Ep(e);return ee(C5,{onCheckedChange:n,...o,...a,checked:t,"aria-invalid":r,children:[!t&&S(Oi,{}),ee(I5,{children:[t===!0&&S(Oi,{children:S(k5,{})}),t==="indeterminate"&&S(Oi,{children:S(D5,{})})]})]})}const Sp={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function O5(e={}){let{style:t,isFocusable:r}=e,[n,o]=l.useState(!1),{focusWithinProps:a}=Rt({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=l.useMemo(()=>n?t:t?{...Sp,...t}:Sp,[n]);return{visuallyHiddenProps:{...a,style:i}}}function A5(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=O5(e);return l.createElement(r,pe(a,i),t)}function M5(e){return e&&e.__esModule?e.default:e}const Pp={top:"top",bottom:"top",left:"left",right:"left"},ho={top:"bottom",bottom:"top",left:"right",right:"left"},N5={top:"left",left:"top"},Mi={top:"height",left:"width"},bo={};let br=typeof window<"u"&&window.visualViewport;function z5(e){let t=0,r=0,n=0,o=0,a={};if(e.tagName==="BODY"){let c=document.documentElement;var i;t=(i=br==null?void 0:br.width)!==null&&i!==void 0?i:c.clientWidth;var s;r=(s=br==null?void 0:br.height)!==null&&s!==void 0?s:c.clientHeight,a.top=c.scrollTop||e.scrollTop,a.left=c.scrollLeft||e.scrollLeft}else({width:t,height:r,top:n,left:o}=gr(e)),a.top=e.scrollTop,a.left=e.scrollLeft;return{width:t,height:r,scroll:a,top:n,left:o}}function F5(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Tp(e,t,r,n,o){let a=n.scroll[e],i=n[Mi[e]],s=t-o-a,c=t+o-a+r;return s<0?-s:c>i?Math.max(i-c,-s):0}function K5(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 kp(e){if(bo[e])return bo[e];let[t,r]=e.split(" "),n=Pp[t]||"right",o=N5[n];Pp[r]||(r="center");let a=Mi[n],i=Mi[o];return bo[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},bo[e]}function Ni(e,t,r,n,o,a,i,s){let{placement:c,crossPlacement:d,axis:u,crossAxis:p,size:m,crossSize:h}=n,b={};b[p]=e[p],d==="center"?b[p]+=(e[h]-r[h])/2:d!==p&&(b[p]+=e[h]-r[h]),b[p]+=a;let g=e[p]+e[h]/2-r[h],v=e[p]+e[h]/2;if(b[p]=Math.min(Math.max(g,b[p]),v),c===u){const _=s?i[m]:t[m];b[ho[u]]=Math.floor(_-e[u]+o)}else b[u]=Math.floor(e[u]+e[m]+o);return b}function L5(e,t,r,n,o,a){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(r.top+e.top)-(o.top+o.bottom+a)):Math.max(0,n.top+r.top-(t.top+t.scroll.top)-(o.top+o.bottom+a))}function Dp(e,t,r,n,o,a){let{placement:i,axis:s,size:c}=a;return i===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[ho[s]]-o):Math.max(0,e[c]+e[s]+e.scroll[s]-t[s]-r[s]-r[c]-n[s]-n[ho[s]]-o)}function V5(e,t,r,n,o,a,i,s,c,d,u,p,m){let h=kp(e),{size:b,crossAxis:g,crossSize:v,placement:_,crossPlacement:$}=h,x=Ni(t,s,r,h,d,u,c,p),y=d,A=Dp(s,c,t,o,a+d,h);if(i&&n[b]>A){let M=kp(`${ho[_]} ${$}`),V=Ni(t,s,r,M,d,u,c,p);Dp(s,c,t,o,a+d,M)>A&&(h=M,x=V,y=d)}let N=Tp(g,x[g],r[v],s,a);x[g]+=N;let E=L5(x,s,c,t,o,a);m&&m<E&&(E=m),r.height=Math.min(r.height,E),x=Ni(t,s,r,h,y,u,c,p),N=Tp(g,x[g],r[v],s,a),x[g]+=N;let C={};return C[g]=t[g]-x[g]+t[v]/2,{position:x,maxHeight:E,arrowOffsetLeft:C.left,arrowOffsetTop:C.top,placement:h.placement}}function j5(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:c,crossOffset:d,maxHeight:u}=e,p=n instanceof HTMLElement&&n.offsetParent||document.body,m=p.tagName==="BODY";const h=window.getComputedStyle(p).position;let b=!!h&&h!=="static",g=m?gr(r):Cp(r,p);if(!m){let{marginTop:A,marginLeft:N}=window.getComputedStyle(r);g.top+=parseInt(A,10)||0,g.left+=parseInt(N,10)||0}let v=gr(n),_=K5(n);v.width+=_.left+_.right,v.height+=_.top+_.bottom;let $=F5(o),x=z5(s),y=s.tagName==="BODY"?gr(p):Cp(p,s);return V5(t,g,v,$,_,a,i,x,y,c,d,b,u)}function gr(e){let{top:t,left:r,width:n,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:s,clientLeft:c}=document.documentElement;return{top:t+a-s,left:r+i-c,width:n,height:o}}function Cp(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:o,left:a,width:i,height:s}=e.getBoundingClientRect();n={top:o,left:a,width:i,height:s}}else{n=gr(e);let o=gr(t),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=o.top,n.left-=o.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}const Ip=new WeakMap;function R5(e){let{triggerRef:t,isOpen:r,onClose:n}=e;l.useEffect(()=>{if(!r||n===null)return;let o=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let s=n||Ip.get(t.current);s&&s()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[r,n,t])}let vr=typeof window<"u"&&window.visualViewport;function B5(e){let{direction:t}=rt(),{targetRef:r,overlayRef:n,scrollRef:o=n,placement:a="bottom",containerPadding:i=12,shouldFlip:s=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:u=0,shouldUpdatePosition:p=!0,isOpen:m=!0,onClose:h,maxHeight:b}=e,[g,v]=l.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),_=[p,a,n.current,r.current,o.current,i,s,c,d,u,m,t,b],$=l.useCallback(()=>{p===!1||!m||!n.current||!r.current||!o.current||!c||v(j5({placement:W5(a,t),overlayNode:n.current,targetNode:r.current,scrollNode:o.current,padding:i,shouldFlip:s,boundaryElement:c,offset:d,crossOffset:u,maxHeight:b}))},_);xe($,_),U5($),px({ref:n,onResize:$});let x=l.useRef(!1);xe(()=>{let A,N=()=>{x.current=!0,clearTimeout(A),A=setTimeout(()=>{x.current=!1},500),$()};return vr==null||vr.addEventListener("resize",N),()=>{vr==null||vr.removeEventListener("resize",N)}},[$]);let y=l.useCallback(()=>{x.current||h()},[h,x]);return R5({triggerRef:r,isOpen:m,onClose:h&&y}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...g.position,maxHeight:g.maxHeight}},placement:g.placement,arrowProps:{style:{left:g.arrowOffsetLeft,top:g.arrowOffsetTop}},updatePosition:$}}function U5(e){xe(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function W5(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const vt=[];function H5(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;l.useEffect(()=>(o&&vt.push(t),()=>{let b=vt.indexOf(t);b>=0&&vt.splice(b,1)}),[o,t]);let c=()=>{vt[vt.length-1]===t&&r&&r()},d=b=>{(!s||s(b.target))&&vt[vt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},u=b=>{(!s||s(b.target))&&(vt[vt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),c())},p=b=>{b.key==="Escape"&&!i&&(b.stopPropagation(),b.preventDefault(),c())};zx({ref:t,onInteractOutside:a?u:null,onInteractOutsideStart:d});let{focusWithinProps:m}=Rt({isDisabled:!n,onBlurWithin:b=>{b.relatedTarget&&Gx(b.relatedTarget)||(!s||s(b.relatedTarget))&&r()}}),h=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:p,...m},underlayProps:{onPointerDown:h}}}function G5(e,t,r){let{type:n}=e,{isOpen:o}=t;l.useEffect(()=>{r&&r.current&&Ip.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=ze();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const zi=typeof window<"u"&&window.visualViewport,q5=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let go=0,Fi;function Y5(e={}){let{isDisabled:t}=e;xe(()=>{if(!t)return go++,go===1&&(ir()?Fi=X5():Fi=Z5()),()=>{go--,go===0&&Fi()}},[t])}function Z5(){return Lt(tn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),tn(document.documentElement,"overflow","hidden"))}function X5(){let e,t=0,r=p=>{e=Da(p.target),!(e===document.documentElement&&e===document.body)&&(t=p.changedTouches[0].pageY)},n=p=>{if(e===document.documentElement||e===document.body){p.preventDefault();return}let m=p.changedTouches[0].pageY,h=e.scrollTop,b=e.scrollHeight-e.clientHeight;(h<=0&&m>t||h>=b&&m<t)&&p.preventDefault(),t=m},o=p=>{let m=p.target;Ap(m)&&m!==document.activeElement&&(p.preventDefault(),m.style.transform="translateY(-2000px)",m.focus(),requestAnimationFrame(()=>{m.style.transform=""}))},a=p=>{let m=p.target;Ap(m)&&(m.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{m.style.transform="",zi&&(zi.height<window.innerHeight?requestAnimationFrame(()=>{Op(m)}):zi.addEventListener("resize",()=>Op(m),{once:!0}))}))},i=()=>{window.scrollTo(0,0)},s=window.pageXOffset,c=window.pageYOffset,d=Lt(tn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),tn(document.documentElement,"overflow","hidden"),tn(document.body,"marginTop",`-${c}px`));window.scrollTo(0,0);let u=Lt(rn(document,"touchstart",r,{passive:!1,capture:!0}),rn(document,"touchmove",n,{passive:!1,capture:!0}),rn(document,"touchend",o,{passive:!1,capture:!0}),rn(document,"focus",a,!0),rn(window,"scroll",i));return()=>{d(),u(),window.scrollTo(s,c)}}function tn(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function rn(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function Op(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=Da(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>n+e.clientHeight&&(r.scrollTop+=o-n)}e=r.parentElement}}function Ap(e){return e instanceof HTMLInputElement&&!q5.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Mp={},Np={};Np={dismiss:"تجاهل"};var zp={};zp={dismiss:"Отхвърляне"};var Fp={};Fp={dismiss:"Odstranit"};var Kp={};Kp={dismiss:"Luk"};var Lp={};Lp={dismiss:"Schließen"};var Vp={};Vp={dismiss:"Απόρριψη"};var jp={};jp={dismiss:"Dismiss"};var Rp={};Rp={dismiss:"Descartar"};var Bp={};Bp={dismiss:"Lõpeta"};var Up={};Up={dismiss:"Hylkää"};var Wp={};Wp={dismiss:"Rejeter"};var Hp={};Hp={dismiss:"התעלם"};var Gp={};Gp={dismiss:"Odbaci"};var qp={};qp={dismiss:"Elutasítás"};var Yp={};Yp={dismiss:"Ignora"};var Zp={};Zp={dismiss:"閉じる"};var Xp={};Xp={dismiss:"무시"};var Jp={};Jp={dismiss:"Atmesti"};var Qp={};Qp={dismiss:"Nerādīt"};var em={};em={dismiss:"Lukk"};var tm={};tm={dismiss:"Negeren"};var rm={};rm={dismiss:"Zignoruj"};var nm={};nm={dismiss:"Descartar"};var om={};om={dismiss:"Dispensar"};var am={};am={dismiss:"Revocare"};var im={};im={dismiss:"Пропустить"};var sm={};sm={dismiss:"Zrušiť"};var lm={};lm={dismiss:"Opusti"};var cm={};cm={dismiss:"Odbaci"};var dm={};dm={dismiss:"Avvisa"};var um={};um={dismiss:"Kapat"};var fm={};fm={dismiss:"Скасувати"};var pm={};pm={dismiss:"取消"};var mm={};mm={dismiss:"關閉"},Mp={"ar-AE":Np,"bg-BG":zp,"cs-CZ":Fp,"da-DK":Kp,"de-DE":Lp,"el-GR":Vp,"en-US":jp,"es-ES":Rp,"et-EE":Bp,"fi-FI":Up,"fr-FR":Wp,"he-IL":Hp,"hr-HR":Gp,"hu-HU":qp,"it-IT":Yp,"ja-JP":Zp,"ko-KR":Xp,"lt-LT":Jp,"lv-LV":Qp,"nb-NO":em,"nl-NL":tm,"pl-PL":rm,"pt-BR":nm,"pt-PT":om,"ro-RO":am,"ru-RU":im,"sk-SK":sm,"sl-SI":lm,"sr-SP":cm,"sv-SE":dm,"tr-TR":um,"uk-UA":fm,"zh-CN":pm,"zh-TW":mm};function hm(e){let{onDismiss:t,...r}=e,n=Pt(M5(Mp)),o=ka(r,n.format("dismiss")),a=()=>{t&&t()};return l.createElement(A5,null,l.createElement("button",{...o,tabIndex:-1,onClick:a}))}let nn=new WeakMap,Re=[];function J5(e,t=document.body){let r=new Set(e),n=new Set,o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode(d){return(d instanceof HTMLElement||d instanceof SVGElement)&&d.dataset.liveAnnouncer==="true"&&r.add(d),r.has(d)||n.has(d.parentElement)&&d.parentElement.getAttribute("role")!=="row"?NodeFilter.FILTER_REJECT:e.some(u=>d.contains(u))?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}}),a=d=>{var u;let p=(u=nn.get(d))!==null&&u!==void 0?u:0;d.getAttribute("aria-hidden")==="true"&&p===0||(p===0&&d.setAttribute("aria-hidden","true"),n.add(d),nn.set(d,p+1))};Re.length&&Re[Re.length-1].disconnect();let i=o.nextNode();for(;i!=null;)a(i),i=o.nextNode();let s=new MutationObserver(d=>{for(let u of d)if(!(u.type!=="childList"||u.addedNodes.length===0)&&![...r,...n].some(p=>p.contains(u.target)))for(let p of u.addedNodes)(p instanceof HTMLElement||p instanceof SVGElement)&&p.dataset.liveAnnouncer==="true"?r.add(p):p instanceof Element&&a(p)});s.observe(t,{childList:!0,subtree:!0});let c={observe(){s.observe(t,{childList:!0,subtree:!0})},disconnect(){s.disconnect()}};return Re.push(c),()=>{s.disconnect();for(let d of n){let u=nn.get(d);u===1?(d.removeAttribute("aria-hidden"),nn.delete(d)):nn.set(d,u-1)}c===Re[Re.length-1]?(Re.pop(),Re.length&&Re[Re.length-1].observe()):Re.splice(Re.indexOf(c),1)}}function Q5(e,t){let{triggerRef:r,popoverRef:n,isNonModal:o,isKeyboardDismissDisabled:a,...i}=e,{overlayProps:s,underlayProps:c}=H5({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a},n),{overlayProps:d,arrowProps:u,placement:p}=B5({...i,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:null}),[m,h]=l.useState(!1);return xe(()=>{!o&&p&&h(!0)},[o,p]),Y5({isDisabled:o||!m}),xe(()=>{if(t.isOpen&&!o&&n.current)return J5([n.current])},[o,t.isOpen,n]),{popoverProps:pe(s,d),arrowProps:u,underlayProps:c,placement:p}}const eS=l.createContext(null);function tS(e){let t=Hc(),{portalContainer:r=t?null:document.body}=e,[n,o]=l.useState(!1),a=l.useMemo(()=>({contain:n,setContain:o}),[n,o]);if(!r)return null;let i=l.createElement(eS.Provider,{value:a},l.createElement(Rx,{restoreFocus:!0,contain:n},e.children));return st.createPortal(i,r)}function rS(e){return e&&e.__esModule?e.default:e}let ve;(function(e){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"})(ve||(ve={}));const bm={...ve,copyMove:ve.copy|ve.move,copyLink:ve.copy|ve.link,linkMove:ve.link|ve.move,all:ve.all,uninitialized:ve.all},nS=Li(bm);nS[ve.all]="all",Li(ve);const gm={none:"cancel",link:"link",copy:"copy",move:"move"},Ki=Li(gm);function Li(e){let t={};for(let r in e)t[e[r]]=r;return t}const Vi="application/vnd.react-aria.items+json",vo="application/octet-stream",oS=Symbol();function aS(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function iS(){return aS(dd())}class yo{has(t){return this.includesUnknownTypes||t===oS&&this.types.has(vo)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let r=!1;for(let n of t.items)n.type!==Vi&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(vo));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function sS(e){let t=[],r=!1;if(e.types.includes(Vi))try{let n=e.getData(Vi),o=JSON.parse(n);for(let a of o)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});r=!0}catch{}if(!r){let n=new Map;for(let o of e.items)if(o.kind==="string")n.set(o.type||vo,e.getData(o.type));else if(o.kind==="file")if(typeof o.webkitGetAsEntry=="function"){let a=o.webkitGetAsEntry();if(!a)continue;a.isFile?t.push(ji(o.getAsFile())):a.isDirectory&&t.push(vm(a))}else t.push(ji(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function lS(e){return typeof e.text=="function"?e.text():new Promise((t,r)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=r,n.readAsText(e)})}function ji(e){return{kind:"file",type:e.type||vo,name:e.name,getText:()=>lS(e),getFile:()=>Promise.resolve(e)}}function vm(e){return{kind:"directory",name:e.name,getEntries:()=>cS(e)}}async function*cS(e){let t=e.createReader(),r;do{r=await new Promise((n,o)=>{t.readEntries(n,o)});for(let n of r)if(n.isFile){let o=await dS(n);yield ji(o)}else n.isDirectory&&(yield vm(n))}while(r.length>0)}function dS(e){return new Promise((t,r)=>e.file(t,r))}let ym={draggingKeys:new Set};function uS(e){ym=e}function qC(e){}let $m=ve.none,_m=new Map,xm=null,wm=new Set;function fS(e){return _m.set(e.element,e),()=>{_m.delete(e.element)}}function pS(){let[e,t]=l.useState(xm);return l.useEffect(()=>{let r=()=>t(xm);return wm.add(r),()=>{wm.delete(r)}},[]),e}var Em={},Sm={};Sm={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 Pm={};Pm={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 Tm={};Tm={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 km={};km={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 Dm={};Dm={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 Cm={};Cm={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 Im={};Im={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 Om={};Om={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 destino de colocación y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al destino de colocación 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 Am={};Am={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 Mm={};Mm={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 Nm={};Nm={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 zm={};zm={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 Fm={};Fm={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 Km={};Km={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 Lm={};Lm={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 Vm={};Vm={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 jm={};jm={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 Rm={};Rm={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 Bm={};Bm={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 Um={};Um={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 Wm={};Wm={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 Hm={};Hm={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 Gm={};Gm={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 qm={};qm={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 Ym={};Ym={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 Zm={};Zm={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 Xm={};Xm={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 Jm={};Jm={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 Qm={};Qm={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`})}`,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 za otpuštanje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",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.",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.",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`})}.`,dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropIndicator:"Indikator otpuštanja",dropOnRoot:"Otpusti na",dropOnItem:e=>`Otpusti na ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`,insertAfter:e=>`Umetnite posle ${e.itemText}`};var eh={};eh={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 th={};th={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 rh={};rh={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 nh={};nh={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 oh={};oh={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}」之間`},Em={"ar-AE":Sm,"bg-BG":Pm,"cs-CZ":Tm,"da-DK":km,"de-DE":Dm,"el-GR":Cm,"en-US":Im,"es-ES":Om,"et-EE":Am,"fi-FI":Mm,"fr-FR":Nm,"he-IL":zm,"hr-HR":Fm,"hu-HU":Km,"it-IT":Lm,"ja-JP":Vm,"ko-KR":jm,"lt-LT":Rm,"lv-LV":Bm,"nb-NO":Um,"nl-NL":Wm,"pl-PL":Hm,"pt-BR":Gm,"pt-PT":qm,"ro-RO":Ym,"ru-RU":Zm,"sk-SK":Xm,"sl-SI":Jm,"sr-SP":Qm,"sv-SE":eh,"tr-TR":th,"uk-UA":rh,"zh-CN":nh,"zh-TW":oh};const mS={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function hS(){let e=Pt(rS(Em)),t=iS(),r=pS();return{dropProps:{...Ia(r?e.format(mS[t]):""),onClick:()=>{}}}}const bS=800;function gS(e){let[t,r]=l.useState(!1),n=l.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:ve.all,dropActivateTimer:null}).current,o=m=>{if(r(!0),typeof e.onDropEnter=="function"){let h=m.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:m.clientX-h.x,y:m.clientY-h.y})}},a=m=>{if(r(!1),typeof e.onDropExit=="function"){let h=m.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:m.clientX-h.x,y:m.clientY-h.y})}},i=m=>{m.preventDefault(),m.stopPropagation();let h=ah(m);if(m.clientX===n.x&&m.clientY===n.y&&h===n.allowedOperations){m.dataTransfer.dropEffect=n.dropEffect;return}n.x=m.clientX,n.y=m.clientY;let b=n.dropEffect;if(h!==n.allowedOperations){let g=Ri(h),v=g[0];if(typeof e.getDropOperation=="function"){let _=new yo(m.dataTransfer);v=$o(h,e.getDropOperation(_,g))}n.dropEffect=Ki[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new yo(m.dataTransfer),v=m.currentTarget.getBoundingClientRect(),_=$o(h,e.getDropOperationForPoint(g,Ri(h),n.x-v.x,n.y-v.y));n.dropEffect=Ki[_]||"none"}if(n.allowedOperations=h,m.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&b!=="none"?a(m):n.dropEffect!=="none"&&b==="none"&&o(m),typeof e.onDropMove=="function"&&n.dropEffect!=="none"){let g=m.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:n.x-g.x,y:n.y-g.y})}if(clearTimeout(n.dropActivateTimer),typeof e.onDropActivate=="function"&&n.dropEffect!=="none"){let g=m.currentTarget.getBoundingClientRect();n.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:n.x-g.x,y:n.y-g.y})},bS)}},s=m=>{if(m.preventDefault(),m.stopPropagation(),n.dragOverElements.add(m.target),n.dragOverElements.size>1)return;let h=ah(m),b=Ri(h),g=b[0];if(typeof e.getDropOperation=="function"){let v=new yo(m.dataTransfer);g=$o(h,e.getDropOperation(v,b))}if(typeof e.getDropOperationForPoint=="function"){let v=new yo(m.dataTransfer),_=m.currentTarget.getBoundingClientRect();g=$o(h,e.getDropOperationForPoint(v,b,m.clientX-_.x,m.clientY-_.y))}n.x=m.clientX,n.y=m.clientY,n.allowedOperations=h,n.dropEffect=Ki[g]||"none",m.dataTransfer.dropEffect=n.dropEffect,g!=="cancel"&&o(m)},c=m=>{m.preventDefault(),m.stopPropagation(),n.dragOverElements.delete(m.target);for(let h of n.dragOverElements)m.currentTarget.contains(h)||n.dragOverElements.delete(h);n.dragOverElements.size>0||(n.dropEffect!=="none"&&a(m),clearTimeout(n.dropActivateTimer))},d=m=>{if(m.preventDefault(),m.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let b=gm[n.dropEffect],g=sS(m.dataTransfer),v=m.currentTarget.getBoundingClientRect(),_={type:"drop",x:m.clientX-v.x,y:m.clientY-v.y,items:g,dropOperation:b};e.onDrop(_)}let h={...ym};n.dragOverElements.clear(),a(m),clearTimeout(n.dropActivateTimer),h.draggingCollectionRef==null||uS(h)},u=l.useRef(e);u.current=e,xe(()=>fS({element:u.current.ref.current,getDropOperation:u.current.getDropOperation,onDropEnter(m){r(!0),typeof u.current.onDropEnter=="function"&&u.current.onDropEnter(m)},onDropExit(m){r(!1),typeof u.current.onDropExit=="function"&&u.current.onDropExit(m)},onDrop(m){typeof u.current.onDrop=="function"&&u.current.onDrop(m)},onDropActivate(m){typeof u.current.onDropActivate=="function"&&u.current.onDropActivate(m)}}),[u]);let{dropProps:p}=hS();return{dropProps:{...p,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:d},isDropTarget:t}}function ah(e){let t=bm[e.dataTransfer.effectAllowed];$m&&(t&=$m);let r=ve.none;return Vt()?(e.altKey&&(r|=ve.copy),e.ctrlKey&&!Jc()&&(r|=ve.link),e.metaKey&&(r|=ve.move)):(e.altKey&&(r|=ve.link),e.shiftKey&&(r|=ve.move),e.ctrlKey&&(r|=ve.copy)),r?t&r:t}function Ri(e){let t=[];return e&ve.move&&t.push("move"),e&ve.copy&&t.push("copy"),e&ve.link&&t.push("link"),t}function $o(e,t){let r=ve[t];return e&r?t:"cancel"}const on=D.p`
|
|
966
|
+
`;function zi({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const a=Dp(e);return ee(_E,{onCheckedChange:n,...o,...a,checked:t,"aria-invalid":r,children:[!t&&S(Ni,{}),ee(wE,{children:[t===!0&&S(Ni,{children:S($E,{})}),t==="indeterminate"&&S(Ni,{children:S(xE,{})})]})]})}const Cp={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function Ip(e={}){let{style:t,isFocusable:r}=e,[n,o]=c.useState(!1),{focusWithinProps:a}=ur({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=c.useMemo(()=>n?t:t?{...Cp,...t}:Cp,[n]);return{visuallyHiddenProps:{...a,style:i}}}function EE(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=Ip(e);return c.createElement(r,pe(a,i),t)}function SE(e){return e&&e.__esModule?e.default:e}const Op={top:"top",bottom:"top",left:"left",right:"left"},bo={top:"bottom",bottom:"top",left:"right",right:"left"},PE={top:"left",left:"top"},Ki={top:"height",left:"width"},go={};let br=typeof window<"u"&&window.visualViewport;function TE(e){let t=0,r=0,n=0,o=0,a={};if(e.tagName==="BODY"){let l=document.documentElement;var i;t=(i=br==null?void 0:br.width)!==null&&i!==void 0?i:l.clientWidth;var s;r=(s=br==null?void 0:br.height)!==null&&s!==void 0?s:l.clientHeight,a.top=l.scrollTop||e.scrollTop,a.left=l.scrollLeft||e.scrollLeft}else({width:t,height:r,top:n,left:o}=gr(e)),a.top=e.scrollTop,a.left=e.scrollLeft;return{width:t,height:r,scroll:a,top:n,left:o}}function kE(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Ap(e,t,r,n,o){let a=n.scroll[e],i=n[Ki[e]],s=t-o-a,l=t+o-a+r;return s<0?-s:l>i?Math.max(i-l,-s):0}function DE(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 Mp(e){if(go[e])return go[e];let[t,r]=e.split(" "),n=Op[t]||"right",o=PE[n];Op[r]||(r="center");let a=Ki[n],i=Ki[o];return go[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},go[e]}function Fi(e,t,r,n,o,a,i,s){let{placement:l,crossPlacement:d,axis:u,crossAxis:p,size:m,crossSize:h}=n,b={};b[p]=e[p],d==="center"?b[p]+=(e[h]-r[h])/2:d!==p&&(b[p]+=e[h]-r[h]),b[p]+=a;let g=e[p]+e[h]/2-r[h],v=e[p]+e[h]/2;if(b[p]=Math.min(Math.max(g,b[p]),v),l===u){const $=s?i[m]:t[m];b[bo[u]]=Math.floor($-e[u]+o)}else b[u]=Math.floor(e[u]+e[m]+o);return b}function CE(e,t,r,n,o,a){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(r.top+e.top)-(o.top+o.bottom+a)):Math.max(0,n.top+r.top-(t.top+t.scroll.top)-(o.top+o.bottom+a))}function Np(e,t,r,n,o,a){let{placement:i,axis:s,size:l}=a;return i===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[bo[s]]-o):Math.max(0,e[l]+e[s]+e.scroll[s]-t[s]-r[s]-r[l]-n[s]-n[bo[s]]-o)}function IE(e,t,r,n,o,a,i,s,l,d,u,p,m){let h=Mp(e),{size:b,crossAxis:g,crossSize:v,placement:$,crossPlacement:x}=h,_=Fi(t,s,r,h,d,u,l,p),y=d,I=Np(s,l,t,o,a+d,h);if(i&&n[b]>I){let M=Mp(`${bo[$]} ${x}`),V=Fi(t,s,r,M,d,u,l,p);Np(s,l,t,o,a+d,M)>I&&(h=M,_=V,y=d)}let N=Ap(g,_[g],r[v],s,a);_[g]+=N;let E=CE(_,s,l,t,o,a);m&&m<E&&(E=m),r.height=Math.min(r.height,E),_=Fi(t,s,r,h,y,u,l,p),N=Ap(g,_[g],r[v],s,a),_[g]+=N;let D={};return D[g]=t[g]-_[g]+t[v]/2,{position:_,maxHeight:E,arrowOffsetLeft:D.left,arrowOffsetTop:D.top,placement:h.placement}}function OE(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:l,crossOffset:d,maxHeight:u}=e,p=n instanceof HTMLElement&&n.offsetParent||document.body,m=p.tagName==="BODY";const h=window.getComputedStyle(p).position;let b=!!h&&h!=="static",g=m?gr(r):zp(r,p);if(!m){let{marginTop:I,marginLeft:N}=window.getComputedStyle(r);g.top+=parseInt(I,10)||0,g.left+=parseInt(N,10)||0}let v=gr(n),$=DE(n);v.width+=$.left+$.right,v.height+=$.top+$.bottom;let x=kE(o),_=TE(s),y=s.tagName==="BODY"?gr(p):zp(p,s);return IE(t,g,v,x,$,a,i,_,y,l,d,b,u)}function gr(e){let{top:t,left:r,width:n,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:s,clientLeft:l}=document.documentElement;return{top:t+a-s,left:r+i-l,width:n,height:o}}function zp(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:o,left:a,width:i,height:s}=e.getBoundingClientRect();n={top:o,left:a,width:i,height:s}}else{n=gr(e);let o=gr(t),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=o.top,n.left-=o.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}const Kp=new WeakMap;function AE(e){let{triggerRef:t,isOpen:r,onClose:n}=e;c.useEffect(()=>{if(!r||n===null)return;let o=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let s=n||Kp.get(t.current);s&&s()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[r,n,t])}let vr=typeof window<"u"&&window.visualViewport;function ME(e){let{direction:t}=rt(),{targetRef:r,overlayRef:n,scrollRef:o=n,placement:a="bottom",containerPadding:i=12,shouldFlip:s=!0,boundaryElement:l=typeof document<"u"?document.body:null,offset:d=0,crossOffset:u=0,shouldUpdatePosition:p=!0,isOpen:m=!0,onClose:h,maxHeight:b}=e,[g,v]=c.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),$=[p,a,n.current,r.current,o.current,i,s,l,d,u,m,t,b],x=c.useCallback(()=>{if(p===!1||!m||!n.current||!r.current||!o.current||!l)return;let I=OE({placement:zE(a,t),overlayNode:n.current,targetNode:r.current,scrollNode:o.current,padding:i,shouldFlip:s,boundaryElement:l,offset:d,crossOffset:u,maxHeight:b});Object.keys(I.position).forEach(N=>n.current.style[N]=I.position[N]+"px"),n.current.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":void 0,v(I)},$);_e(x,$),NE(x),i_({ref:n,onResize:x});let _=c.useRef(!1);_e(()=>{let I,N=()=>{_.current=!0,clearTimeout(I),I=setTimeout(()=>{_.current=!1},500),x()};return vr==null||vr.addEventListener("resize",N),()=>{vr==null||vr.removeEventListener("resize",N)}},[x]);let y=c.useCallback(()=>{_.current||h()},[h,_]);return AE({triggerRef:r,isOpen:m,onClose:h&&y}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...g.position,maxHeight:g.maxHeight}},placement:g.placement,arrowProps:{style:{left:g.arrowOffsetLeft,top:g.arrowOffsetTop}},updatePosition:x}}function NE(e){_e(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function zE(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const vt=[];function KE(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;c.useEffect(()=>(o&&vt.push(t),()=>{let b=vt.indexOf(t);b>=0&&vt.splice(b,1)}),[o,t]);let l=()=>{vt[vt.length-1]===t&&r&&r()},d=b=>{(!s||s(b.target))&&vt[vt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},u=b=>{(!s||s(b.target))&&(vt[vt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),l())},p=b=>{b.key==="Escape"&&!i&&(b.stopPropagation(),b.preventDefault(),l())};k_({ref:t,onInteractOutside:a?u:null,onInteractOutsideStart:d});let{focusWithinProps:m}=ur({isDisabled:!n,onBlurWithin:b=>{b.relatedTarget&&L_(b.relatedTarget)||(!s||s(b.relatedTarget))&&r()}}),h=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:p,...m},underlayProps:{onPointerDown:h}}}function FE(e,t,r){let{type:n}=e,{isOpen:o}=t;c.useEffect(()=>{r&&r.current&&Kp.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=Ke();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Li=typeof window<"u"&&window.visualViewport,LE=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let vo=0,Vi;function VE(e={}){let{isDisabled:t}=e;_e(()=>{if(!t)return vo++,vo===1&&(ar()?Vi=RE():Vi=jE()),()=>{vo--,vo===0&&Vi()}},[t])}function jE(){return Lt(rn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),rn(document.documentElement,"overflow","hidden"))}function RE(){let e,t=0,r=p=>{e=Wr(p.target),!(e===document.documentElement&&e===document.body)&&(t=p.changedTouches[0].pageY)},n=p=>{if(e===document.documentElement||e===document.body){p.preventDefault();return}let m=p.changedTouches[0].pageY,h=e.scrollTop,b=e.scrollHeight-e.clientHeight;(h<=0&&m>t||h>=b&&m<t)&&p.preventDefault(),t=m},o=p=>{let m=p.target;Lp(m)&&m!==document.activeElement&&(p.preventDefault(),m.style.transform="translateY(-2000px)",m.focus(),requestAnimationFrame(()=>{m.style.transform=""}))},a=p=>{let m=p.target;Lp(m)&&(m.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{m.style.transform="",Li&&(Li.height<window.innerHeight?requestAnimationFrame(()=>{Fp(m)}):Li.addEventListener("resize",()=>Fp(m),{once:!0}))}))},i=()=>{window.scrollTo(0,0)},s=window.pageXOffset,l=window.pageYOffset,d=Lt(rn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),rn(document.documentElement,"overflow","hidden"),rn(document.body,"marginTop",`-${l}px`));window.scrollTo(0,0);let u=Lt(nn(document,"touchstart",r,{passive:!1,capture:!0}),nn(document,"touchmove",n,{passive:!1,capture:!0}),nn(document,"touchend",o,{passive:!1,capture:!0}),nn(document,"focus",a,!0),nn(window,"scroll",i));return()=>{d(),u(),window.scrollTo(s,l)}}function rn(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function nn(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function Fp(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=Wr(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>n+e.clientHeight&&(r.scrollTop+=o-n)}e=r.parentElement}}function Lp(e){return e instanceof HTMLInputElement&&!LE.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Vp={},jp={};jp={dismiss:"تجاهل"};var Rp={};Rp={dismiss:"Отхвърляне"};var Bp={};Bp={dismiss:"Odstranit"};var Wp={};Wp={dismiss:"Luk"};var Up={};Up={dismiss:"Schließen"};var Hp={};Hp={dismiss:"Απόρριψη"};var Gp={};Gp={dismiss:"Dismiss"};var qp={};qp={dismiss:"Descartar"};var Yp={};Yp={dismiss:"Lõpeta"};var Zp={};Zp={dismiss:"Hylkää"};var Xp={};Xp={dismiss:"Rejeter"};var Jp={};Jp={dismiss:"התעלם"};var Qp={};Qp={dismiss:"Odbaci"};var em={};em={dismiss:"Elutasítás"};var tm={};tm={dismiss:"Ignora"};var rm={};rm={dismiss:"閉じる"};var nm={};nm={dismiss:"무시"};var om={};om={dismiss:"Atmesti"};var am={};am={dismiss:"Nerādīt"};var im={};im={dismiss:"Lukk"};var sm={};sm={dismiss:"Negeren"};var lm={};lm={dismiss:"Zignoruj"};var cm={};cm={dismiss:"Descartar"};var dm={};dm={dismiss:"Dispensar"};var um={};um={dismiss:"Revocare"};var fm={};fm={dismiss:"Пропустить"};var pm={};pm={dismiss:"Zrušiť"};var mm={};mm={dismiss:"Opusti"};var hm={};hm={dismiss:"Odbaci"};var bm={};bm={dismiss:"Avvisa"};var gm={};gm={dismiss:"Kapat"};var vm={};vm={dismiss:"Скасувати"};var ym={};ym={dismiss:"取消"};var $m={};$m={dismiss:"關閉"},Vp={"ar-AE":jp,"bg-BG":Rp,"cs-CZ":Bp,"da-DK":Wp,"de-DE":Up,"el-GR":Hp,"en-US":Gp,"es-ES":qp,"et-EE":Yp,"fi-FI":Zp,"fr-FR":Xp,"he-IL":Jp,"hr-HR":Qp,"hu-HU":em,"it-IT":tm,"ja-JP":rm,"ko-KR":nm,"lt-LT":om,"lv-LV":am,"nb-NO":im,"nl-NL":sm,"pl-PL":lm,"pt-BR":cm,"pt-PT":dm,"ro-RO":um,"ru-RU":fm,"sk-SK":pm,"sl-SI":mm,"sr-SP":hm,"sv-SE":bm,"tr-TR":gm,"uk-UA":vm,"zh-CN":ym,"zh-TW":$m};function xm(e){let{onDismiss:t,...r}=e,n=Pt(SE(Vp)),o=Ia(r,n.format("dismiss")),a=()=>{t&&t()};return c.createElement(EE,null,c.createElement("button",{...o,tabIndex:-1,onClick:a}))}let on=new WeakMap,Re=[];function BE(e,t=document.body){let r=new Set(e),n=new Set,o=l=>{for(let m of l.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(m);let d=m=>{if(r.has(m)||n.has(m.parentElement)&&m.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let h of r)if(m.contains(h))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},u=document.createTreeWalker(l,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),p=d(l);if(p===NodeFilter.FILTER_ACCEPT&&a(l),p!==NodeFilter.FILTER_REJECT){let m=u.nextNode();for(;m!=null;)a(m),m=u.nextNode()}},a=l=>{var d;let u=(d=on.get(l))!==null&&d!==void 0?d:0;l.getAttribute("aria-hidden")==="true"&&u===0||(u===0&&l.setAttribute("aria-hidden","true"),n.add(l),on.set(l,u+1))};Re.length&&Re[Re.length-1].disconnect(),o(t);let i=new MutationObserver(l=>{for(let d of l)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...r,...n].some(u=>u.contains(d.target))){for(let u of d.removedNodes)u instanceof Element&&(r.delete(u),n.delete(u));for(let u of d.addedNodes)(u instanceof HTMLElement||u instanceof SVGElement)&&(u.dataset.liveAnnouncer==="true"||u.dataset.reactAriaTopLayer==="true")?r.add(u):u instanceof Element&&o(u)}});i.observe(t,{childList:!0,subtree:!0});let s={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Re.push(s),()=>{i.disconnect();for(let l of n){let d=on.get(l);d===1?(l.removeAttribute("aria-hidden"),on.delete(l)):on.set(l,d-1)}s===Re[Re.length-1]?(Re.pop(),Re.length&&Re[Re.length-1].observe()):Re.splice(Re.indexOf(s),1)}}function WE(e,t){let{triggerRef:r,popoverRef:n,isNonModal:o,isKeyboardDismissDisabled:a,...i}=e,{overlayProps:s,underlayProps:l}=KE({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a},n),{overlayProps:d,arrowProps:u,placement:p}=ME({...i,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:null});return VE({isDisabled:o}),_e(()=>{if(t.isOpen&&!o&&n.current)return BE([n.current])},[o,t.isOpen,n]),{popoverProps:pe(s,d),arrowProps:u,underlayProps:l,placement:p}}const UE=c.createContext(null);function HE(e){let t=Zc(),{portalContainer:r=t?null:document.body}=e,[n,o]=c.useState(!1),a=c.useMemo(()=>({contain:n,setContain:o}),[n,o]);if(!r)return null;let i=c.createElement(UE.Provider,{value:a},c.createElement(M_,{restoreFocus:!0,contain:n},e.children));return st.createPortal(i,r)}function GE(e){return e&&e.__esModule?e.default:e}let ve;(function(e){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"})(ve||(ve={}));const _m={...ve,copyMove:ve.copy|ve.move,copyLink:ve.copy|ve.link,linkMove:ve.link|ve.move,all:ve.all,uninitialized:ve.all},qE=Ri(_m);qE[ve.all]="all",Ri(ve);const wm={none:"cancel",link:"link",copy:"copy",move:"move"},ji=Ri(wm);function Ri(e){let t={};for(let r in e)t[e[r]]=r;return t}const Bi="application/vnd.react-aria.items+json",yo="application/octet-stream",YE=Symbol();function ZE(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function XE(){return ZE(bd())}class $o{has(t){return this.includesUnknownTypes||t===YE&&this.types.has(yo)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let r=!1;for(let n of t.items)n.type!==Bi&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(yo));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function JE(e){let t=[],r=!1;if(e.types.includes(Bi))try{let n=e.getData(Bi),o=JSON.parse(n);for(let a of o)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});r=!0}catch{}if(!r){let n=new Map;for(let o of e.items)if(o.kind==="string")n.set(o.type||yo,e.getData(o.type));else if(o.kind==="file")if(typeof o.webkitGetAsEntry=="function"){let a=o.webkitGetAsEntry();if(!a)continue;a.isFile?t.push(Wi(o.getAsFile())):a.isDirectory&&t.push(Em(a))}else t.push(Wi(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function QE(e){return typeof e.text=="function"?e.text():new Promise((t,r)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=r,n.readAsText(e)})}function Wi(e){return{kind:"file",type:e.type||yo,name:e.name,getText:()=>QE(e),getFile:()=>Promise.resolve(e)}}function Em(e){return{kind:"directory",name:e.name,getEntries:()=>eS(e)}}async function*eS(e){let t=e.createReader(),r;do{r=await new Promise((n,o)=>{t.readEntries(n,o)});for(let n of r)if(n.isFile){let o=await tS(n);yield Wi(o)}else n.isDirectory&&(yield Em(n))}while(r.length>0)}function tS(e){return new Promise((t,r)=>e.file(t,r))}let Sm={draggingKeys:new Set};function rS(e){Sm=e}function FC(e){}let Pm=ve.none,Tm=new Map,km=null,Dm=new Set;function nS(e){return Tm.set(e.element,e),()=>{Tm.delete(e.element)}}function oS(){let[e,t]=c.useState(km);return c.useEffect(()=>{let r=()=>t(km);return Dm.add(r),()=>{Dm.delete(r)}},[]),e}var Cm={},Im={};Im={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 Om={};Om={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 Am={};Am={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 Mm={};Mm={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 Nm={};Nm={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 zm={};zm={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 Km={};Km={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 Fm={};Fm={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 destino de colocación y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al destino de colocación 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 Lm={};Lm={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 Vm={};Vm={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 jm={};jm={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 Rm={};Rm={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 Bm={};Bm={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 Wm={};Wm={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 Um={};Um={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 Hm={};Hm={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 Gm={};Gm={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 qm={};qm={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 Ym={};Ym={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 Zm={};Zm={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 Xm={};Xm={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 Jm={};Jm={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 Qm={};Qm={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 eh={};eh={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 th={};th={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 rh={};rh={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 nh={};nh={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 oh={};oh={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 ah={};ah={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`})}`,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 za otpuštanje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",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.",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.",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`})}.`,dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropIndicator:"Indikator otpuštanja",dropOnRoot:"Otpusti na",dropOnItem:e=>`Otpusti na ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`,insertAfter:e=>`Umetnite posle ${e.itemText}`};var ih={};ih={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 sh={};sh={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 lh={};lh={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 ch={};ch={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 dh={};dh={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}」之間`},Cm={"ar-AE":Im,"bg-BG":Om,"cs-CZ":Am,"da-DK":Mm,"de-DE":Nm,"el-GR":zm,"en-US":Km,"es-ES":Fm,"et-EE":Lm,"fi-FI":Vm,"fr-FR":jm,"he-IL":Rm,"hr-HR":Bm,"hu-HU":Wm,"it-IT":Um,"ja-JP":Hm,"ko-KR":Gm,"lt-LT":qm,"lv-LV":Ym,"nb-NO":Zm,"nl-NL":Xm,"pl-PL":Jm,"pt-BR":Qm,"pt-PT":eh,"ro-RO":th,"ru-RU":rh,"sk-SK":nh,"sl-SI":oh,"sr-SP":ah,"sv-SE":ih,"tr-TR":sh,"uk-UA":lh,"zh-CN":ch,"zh-TW":dh};const aS={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function iS(){let e=Pt(GE(Cm)),t=XE(),r=oS();return{dropProps:{...Aa(r?e.format(aS[t]):""),onClick:()=>{}}}}const sS=800;function lS(e){let[t,r]=c.useState(!1),n=c.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:ve.all,dropActivateTimer:null}).current,o=m=>{if(r(!0),typeof e.onDropEnter=="function"){let h=m.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:m.clientX-h.x,y:m.clientY-h.y})}},a=m=>{if(r(!1),typeof e.onDropExit=="function"){let h=m.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:m.clientX-h.x,y:m.clientY-h.y})}},i=m=>{m.preventDefault(),m.stopPropagation();let h=uh(m);if(m.clientX===n.x&&m.clientY===n.y&&h===n.allowedOperations){m.dataTransfer.dropEffect=n.dropEffect;return}n.x=m.clientX,n.y=m.clientY;let b=n.dropEffect;if(h!==n.allowedOperations){let g=Ui(h),v=g[0];if(typeof e.getDropOperation=="function"){let $=new $o(m.dataTransfer);v=xo(h,e.getDropOperation($,g))}n.dropEffect=ji[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new $o(m.dataTransfer),v=m.currentTarget.getBoundingClientRect(),$=xo(h,e.getDropOperationForPoint(g,Ui(h),n.x-v.x,n.y-v.y));n.dropEffect=ji[$]||"none"}if(n.allowedOperations=h,m.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&b!=="none"?a(m):n.dropEffect!=="none"&&b==="none"&&o(m),typeof e.onDropMove=="function"&&n.dropEffect!=="none"){let g=m.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:n.x-g.x,y:n.y-g.y})}if(clearTimeout(n.dropActivateTimer),typeof e.onDropActivate=="function"&&n.dropEffect!=="none"){let g=m.currentTarget.getBoundingClientRect();n.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:n.x-g.x,y:n.y-g.y})},sS)}},s=m=>{if(m.preventDefault(),m.stopPropagation(),n.dragOverElements.add(m.target),n.dragOverElements.size>1)return;let h=uh(m),b=Ui(h),g=b[0];if(typeof e.getDropOperation=="function"){let v=new $o(m.dataTransfer);g=xo(h,e.getDropOperation(v,b))}if(typeof e.getDropOperationForPoint=="function"){let v=new $o(m.dataTransfer),$=m.currentTarget.getBoundingClientRect();g=xo(h,e.getDropOperationForPoint(v,b,m.clientX-$.x,m.clientY-$.y))}n.x=m.clientX,n.y=m.clientY,n.allowedOperations=h,n.dropEffect=ji[g]||"none",m.dataTransfer.dropEffect=n.dropEffect,g!=="cancel"&&o(m)},l=m=>{m.preventDefault(),m.stopPropagation(),n.dragOverElements.delete(m.target);for(let h of n.dragOverElements)m.currentTarget.contains(h)||n.dragOverElements.delete(h);n.dragOverElements.size>0||(n.dropEffect!=="none"&&a(m),clearTimeout(n.dropActivateTimer))},d=m=>{if(m.preventDefault(),m.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let b=wm[n.dropEffect],g=JE(m.dataTransfer),v=m.currentTarget.getBoundingClientRect(),$={type:"drop",x:m.clientX-v.x,y:m.clientY-v.y,items:g,dropOperation:b};e.onDrop($)}let h={...Sm};n.dragOverElements.clear(),a(m),clearTimeout(n.dropActivateTimer),h.draggingCollectionRef==null||rS(h)},u=c.useRef(e);u.current=e,_e(()=>nS({element:u.current.ref.current,getDropOperation:u.current.getDropOperation,onDropEnter(m){r(!0),typeof u.current.onDropEnter=="function"&&u.current.onDropEnter(m)},onDropExit(m){r(!1),typeof u.current.onDropExit=="function"&&u.current.onDropExit(m)},onDrop(m){typeof u.current.onDrop=="function"&&u.current.onDrop(m)},onDropActivate(m){typeof u.current.onDropActivate=="function"&&u.current.onDropActivate(m)}}),[u]);let{dropProps:p}=iS();return{dropProps:{...p,onDragEnter:s,onDragOver:i,onDragLeave:l,onDrop:d},isDropTarget:t}}function uh(e){let t=_m[e.dataTransfer.effectAllowed];Pm&&(t&=Pm);let r=ve.none;return Vt()?(e.altKey&&(r|=ve.copy),e.ctrlKey&&!nd()&&(r|=ve.link),e.metaKey&&(r|=ve.move)):(e.altKey&&(r|=ve.link),e.shiftKey&&(r|=ve.move),e.ctrlKey&&(r|=ve.copy)),r?t&r:t}function Ui(e){let t=[];return e&ve.move&&t.push("move"),e&ve.copy&&t.push("copy"),e&ve.link&&t.push("link"),t}function xo(e,t){let r=ve[t];return e&r?t:"cancel"}const an=k.p`
|
|
967
967
|
font-family: ${f.font_family_sans};
|
|
968
968
|
font-style: var(--text-style, normal);
|
|
969
969
|
font-weight: var(--text-font-weight, 400);
|
|
@@ -971,68 +971,68 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
971
971
|
margin-block: 0;
|
|
972
972
|
overflow-wrap: break-word;
|
|
973
973
|
hyphens: auto;
|
|
974
|
-
`,
|
|
974
|
+
`,Hi=k(an)`
|
|
975
975
|
max-width: 60ch; /* should check with designers */
|
|
976
|
-
`,
|
|
976
|
+
`,cS=k(Hi)`
|
|
977
977
|
letter-spacing: ${f.letter_spacing_body_large};
|
|
978
978
|
line-height: ${f.line_height_body_large};
|
|
979
979
|
font-size: ${f.font_size_body_large};
|
|
980
|
-
`,
|
|
980
|
+
`,dS=k(Hi)`
|
|
981
981
|
letter-spacing: ${f.letter_spacing_body_medium};
|
|
982
982
|
line-height: ${f.line_height_body_medium};
|
|
983
983
|
font-size: ${f.font_size_body_medium};
|
|
984
|
-
|
|
984
|
+
`,uS=k(Hi)`
|
|
985
985
|
letter-spacing: ${f.letter_spacing_body_small};
|
|
986
986
|
line-height: ${f.line_height_body_small};
|
|
987
987
|
font-size: ${f.font_size_body_small};
|
|
988
|
-
`,
|
|
988
|
+
`,fS={large:cS,medium:dS,small:uS};function pS({size:e="medium",...t}){const r=fS[e];return S(r,{...t})}const _o=k.p`
|
|
989
989
|
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
990
990
|
font-family: ${f.font_family_sans};
|
|
991
991
|
font-style: normal;
|
|
992
992
|
font-weight: var(--text-font-weight, 400);
|
|
993
993
|
color: var(--text-color, ${f.color_text_strong});
|
|
994
994
|
margin-block: 0;
|
|
995
|
-
`,
|
|
995
|
+
`,mS=k(_o)`
|
|
996
996
|
letter-spacing: ${f.letter_spacing_number_xsmall};
|
|
997
997
|
line-height: ${f.line_height_number_xsmall};
|
|
998
998
|
font-size: ${f.font_size_number_xsmall};
|
|
999
|
-
`,
|
|
999
|
+
`,hS=k(_o)`
|
|
1000
1000
|
letter-spacing: ${f.letter_spacing_number_small};
|
|
1001
1001
|
line-height: ${f.line_height_number_small};
|
|
1002
1002
|
font-size: ${f.font_size_number_small};
|
|
1003
|
-
`,
|
|
1003
|
+
`,bS=k(_o)`
|
|
1004
1004
|
letter-spacing: ${f.letter_spacing_number_medium};
|
|
1005
1005
|
line-height: ${f.line_height_number_medium};
|
|
1006
1006
|
font-size: ${f.font_size_number_medium};
|
|
1007
|
-
`,
|
|
1007
|
+
`,gS=k(_o)`
|
|
1008
1008
|
letter-spacing: ${f.letter_spacing_number_large};
|
|
1009
1009
|
line-height: ${f.line_height_number_large};
|
|
1010
1010
|
font-size: ${f.font_size_number_large};
|
|
1011
|
-
`,
|
|
1011
|
+
`,vS={xsmall:mS,small:hS,medium:bS,large:gS};function yS({size:e="medium",...t}){const r=vS[e];return S(r,{...t})}const $S=k(an)`
|
|
1012
1012
|
letter-spacing: ${f.letter_spacing_number_small};
|
|
1013
1013
|
line-height: ${f.line_height_number_small};
|
|
1014
1014
|
font-size: ${f.font_size_number_small};
|
|
1015
|
-
`,
|
|
1015
|
+
`,xS=k(an)`
|
|
1016
1016
|
letter-spacing: ${f.letter_spacing_number_xsmall};
|
|
1017
1017
|
line-height: ${f.line_height_number_xsmall};
|
|
1018
1018
|
font-size: ${f.font_size_number_xsmall};
|
|
1019
|
-
`,
|
|
1019
|
+
`,_S=k(an)`
|
|
1020
1020
|
letter-spacing: ${f.letter_spacing_number_large};
|
|
1021
1021
|
line-height: ${f.line_height_number_large};
|
|
1022
1022
|
font-size: ${f.font_size_number_large};
|
|
1023
|
-
`,
|
|
1023
|
+
`,wS=k(an)`
|
|
1024
1024
|
letter-spacing: ${f.letter_spacing_number_medium};
|
|
1025
1025
|
line-height: ${f.line_height_number_medium};
|
|
1026
1026
|
font-size: ${f.font_size_number_medium};
|
|
1027
|
-
`,
|
|
1027
|
+
`,ES={xsmall:xS,small:$S,medium:wS,large:_S};function SS({size:e="medium",...t}){const r=ES[e];return S(r,{...t})}const PS={caption:SS,body:pS,number:yS},TS={normal:{standard:f.color_text_standard,strong:f.color_text_strong,weak:f.color_text_weak},sentiment:{positive:f.color_text_sentiment_positive,negative:f.color_text_sentiment_negative,notice:f.color_text_sentiment_notice,neutral:f.color_text_sentiment_neutral}},yr=c.forwardRef((e,t)=>{const{type:r="body",textType:n="normal",variant:o="standard",italic:a,bold:i,as:s,...l}=e,d=PS[r],p=TS[n][o];return S(d,{as:s,...l,ref:t,style:{"--text-font-weight":i?500:400,"--text-color":p,"--text-style":a?"italic":"normal"}})});yr.displayName="Text";const Gi={small:"32px",large:"40px"},fh={circle:f.border_radius_circle,square:f.border_radius_400},wo=k.button`
|
|
1028
1028
|
all: unset;
|
|
1029
1029
|
appearance: none;
|
|
1030
1030
|
display: grid;
|
|
1031
1031
|
line-height: 1;
|
|
1032
1032
|
place-items: center;
|
|
1033
|
-
border-radius: var(--icon-button-border-radius, ${
|
|
1034
|
-
height: var(--icon-button-size, ${
|
|
1035
|
-
width: var(--icon-button-size, ${
|
|
1033
|
+
border-radius: var(--icon-button-border-radius, ${fh.square});
|
|
1034
|
+
height: var(--icon-button-size, ${Gi.small});
|
|
1035
|
+
width: var(--icon-button-size, ${Gi.small});
|
|
1036
1036
|
touch-action: none;
|
|
1037
1037
|
cursor: pointer;
|
|
1038
1038
|
white-space: nowrap;
|
|
@@ -1064,7 +1064,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1064
1064
|
bottom: 0;
|
|
1065
1065
|
right: 0;
|
|
1066
1066
|
}
|
|
1067
|
-
`,
|
|
1067
|
+
`,kS=k(wo)`
|
|
1068
1068
|
background: ${f.color_fill_primary_enabled};
|
|
1069
1069
|
color: ${f.color_white};
|
|
1070
1070
|
|
|
@@ -1081,7 +1081,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1081
1081
|
background: ${f.color_fill_primary_disabled};
|
|
1082
1082
|
color: ${f.color_fill_inverse_pressed};
|
|
1083
1083
|
}
|
|
1084
|
-
`,
|
|
1084
|
+
`,DS=k(wo)`
|
|
1085
1085
|
background: ${f.color_fill_secondary_enabled};
|
|
1086
1086
|
color: ${f.color_fill_primary_enabled};
|
|
1087
1087
|
|
|
@@ -1098,7 +1098,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1098
1098
|
&:disabled {
|
|
1099
1099
|
background: ${f.color_fill_secondary_disabled};
|
|
1100
1100
|
}
|
|
1101
|
-
`,
|
|
1101
|
+
`,CS=k(wo)`
|
|
1102
1102
|
background: ${f.color_fill_danger_enabled};
|
|
1103
1103
|
color: ${f.color_white};
|
|
1104
1104
|
|
|
@@ -1115,7 +1115,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1115
1115
|
&:disabled {
|
|
1116
1116
|
background: ${f.color_fill_danger_disabled};
|
|
1117
1117
|
}
|
|
1118
|
-
`,
|
|
1118
|
+
`,IS=k(wo)`
|
|
1119
1119
|
background: ${f.color_white};
|
|
1120
1120
|
|
|
1121
1121
|
&:hover {
|
|
@@ -1129,7 +1129,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1129
1129
|
&:disabled {
|
|
1130
1130
|
background: ${f.color_fill_inverse_disabled};
|
|
1131
1131
|
}
|
|
1132
|
-
`,
|
|
1132
|
+
`,OS={primary:kS,secondary:DS,danger:CS,inverse:IS},qi=c.forwardRef((e,t)=>{const r=tt(t),{label:n,size:o="small",variant:a="primary",shape:i="circle",disabled:s,onClick:l,autoFocus:d,children:u,...p}=e,m=ot(),h=s??m,{buttonProps:b,isPressed:g}=Xr({onPress:l,isDisabled:h,autoFocus:d,...p},r),{isFocusVisible:v,focusProps:$}=fr({autoFocus:d}),y=[v?"focused":void 0,g?"pressed":void 0].filter(Boolean).join(" "),I=OS[a],N=fh[i],E=Gi[o];return S(I,{ref:r,...pe(b,p,$,{"data-state":y}),style:{"--icon-button-size":E,"--icon-button-border-radius":N},children:S(Fr,{label:n,children:u})})});qi.displayName="Button";const AS=k.div`
|
|
1133
1133
|
position: relative;
|
|
1134
1134
|
border-radius: ${f.border_radius_400};
|
|
1135
1135
|
border: 1px dashed ${f.color_fill_secondary_enabled};
|
|
@@ -1152,7 +1152,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1152
1152
|
&[data-state~='dropping'] {
|
|
1153
1153
|
border-color: ${f.color_outline_secondary_selected_pressed};
|
|
1154
1154
|
}
|
|
1155
|
-
`,
|
|
1155
|
+
`,MS=k.div`
|
|
1156
1156
|
border-radius: ${f.border_radius_circle};
|
|
1157
1157
|
display: grid;
|
|
1158
1158
|
place-content: center;
|
|
@@ -1164,24 +1164,24 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1164
1164
|
& > svg {
|
|
1165
1165
|
font-size: 1rem;
|
|
1166
1166
|
}
|
|
1167
|
-
`,
|
|
1167
|
+
`,NS=k.div`
|
|
1168
1168
|
display: flex;
|
|
1169
1169
|
gap: ${f.sizing_200};
|
|
1170
|
-
`,
|
|
1170
|
+
`,zS=k.div`
|
|
1171
1171
|
display: flex;
|
|
1172
1172
|
gap: ${f.sizing_500};
|
|
1173
1173
|
justify-content: space-between;
|
|
1174
1174
|
align-items: center;
|
|
1175
|
-
`,
|
|
1175
|
+
`,KS=k.div`
|
|
1176
1176
|
display: flex;
|
|
1177
1177
|
flex-direction: column;
|
|
1178
1178
|
gap: ${f.sizing_100};
|
|
1179
|
-
`,
|
|
1179
|
+
`,FS=k.footer`
|
|
1180
1180
|
margin-top: ${f.spacing_300};
|
|
1181
1181
|
display: flex;
|
|
1182
1182
|
justify-content: flex-end;
|
|
1183
1183
|
gap: ${f.sizing_200};
|
|
1184
|
-
`,
|
|
1184
|
+
`,LS=k.label`
|
|
1185
1185
|
cursor: pointer;
|
|
1186
1186
|
text-decoration: underline;
|
|
1187
1187
|
color: ${f.color_text_strong};
|
|
@@ -1201,23 +1201,23 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1201
1201
|
left: 0;
|
|
1202
1202
|
right: 0;
|
|
1203
1203
|
}
|
|
1204
|
-
`,
|
|
1204
|
+
`,VS=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),ph=c.forwardRef((e,t)=>{const{file:r,onAddFile:n,onDeleteFile:o,fileTypes:a=[{name:"CSV",mime:"text/csv"}]}=e,i=tt(t),s="file-uploader-input-"+c.useId(),{dropProps:l,isDropTarget:d}=lS({ref:i,onDrop:async p=>{const m=p.items.find(h=>h.kind==="file");if(m&&m.kind==="file"){const h=await m.getFile();n(h)}}}),u=p=>{var m;(m=p.target.files)!=null&&m[0]&&n(p.target.files[0])};return S(AS,{...l,role:"button",tabIndex:0,ref:i,"data-state":d?"dropping":"",children:r?ee(zS,{children:[S(yr,{size:"large",children:r.name}),ee(Bc,{children:[S(Wc,{asChild:!0,children:S(qi,{label:"Remove file",size:"small",variant:"danger",children:S(Se.Delete,{})})}),ee(Ku,{children:[S(yr,{children:"Are you sure you want to remove this file?"}),ee(FS,{children:[S($i,{asChild:!0,children:S(hr,{variant:"secondary",size:"small",children:"Cancel"})}),S($i,{asChild:!0,children:S(hr,{variant:"danger",size:"small",onClick:o,children:"Confirm"})})]})]})]})]}):ee(NS,{children:[S(MS,{children:S(Se.CloudUpload,{})}),ee(KS,{children:[ee(yr,{variant:"weak",children:["Drag and drop to upload, or"," ",S(LS,{htmlFor:s,children:"browse files"})]}),ee(yr,{variant:"weak",size:"small",children:["Supported formats:"," ",VS.format(a.map(p=>p.name))]})]}),S("input",{onChange:u,type:"file",hidden:!0,id:s,accept:a.map(p=>p.mime).join(",")})]})})});ph.displayName="FileUpload";const Yi=k.h1`
|
|
1205
1205
|
font-family: ${f.font_family_inter_display};
|
|
1206
1206
|
font-weight: 500;
|
|
1207
1207
|
font-style: normal;
|
|
1208
1208
|
margin: 0;
|
|
1209
|
-
`,
|
|
1209
|
+
`,jS=k(Yi)`
|
|
1210
1210
|
letter-spacing: ${f.letter_spacing_heading_large};
|
|
1211
1211
|
font-size: ${f.font_size_heading_large};
|
|
1212
|
-
`,
|
|
1212
|
+
`,RS=k(Yi)`
|
|
1213
1213
|
letter-spacing: ${f.letter_spacing_heading_medium};
|
|
1214
1214
|
font-size: ${f.font_size_heading_medium};
|
|
1215
|
-
`,
|
|
1215
|
+
`,BS={small:k(Yi)`
|
|
1216
1216
|
letter-spacing: ${f.letter_spacing_heading_small};
|
|
1217
1217
|
font-size: ${f.font_size_heading_small};
|
|
1218
|
-
`,medium:
|
|
1218
|
+
`,medium:RS,large:jS},mh=c.forwardRef((e,t)=>{const{children:r,as:n,size:o,...a}=e,i=BS[o];return S(i,{...a,ref:t,as:n,children:r})});mh.displayName="Heading";const Zi="nav-menu-portal";var hh=(e=>(e.Up="Up",e.Down="Down",e))(hh||{});const Xi=c.createContext({direction:"Down",menuRef:null,open:!1,setOpen:function(){throw new Error("Function not implemented.")}}),WS=k.div`
|
|
1219
1219
|
position: relative;
|
|
1220
|
-
`,$r=
|
|
1220
|
+
`,$r=c.forwardRef((e,t)=>{const[r,n]=c.useState(!1),o=tt(t);return c.useEffect(()=>{const a=document.getElementById(Zi);function i(s){const l=s.target;!o.current.contains(l)&&!(a!=null&&a.contains(l))&&n(!1)}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[o]),S(Xi.Provider,{value:{menuRef:o,open:r,setOpen:n,direction:e.direction??"Down"},children:S(WS,{ref:o,role:"menu",children:e.children})})});$r.displayName="NavigationMenu";const US=k.button`
|
|
1221
1221
|
cursor: pointer;
|
|
1222
1222
|
padding: 8px;
|
|
1223
1223
|
border: 1px solid transparent;
|
|
@@ -1229,7 +1229,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1229
1229
|
&:hover {
|
|
1230
1230
|
border: ${e=>e.open?"":"1px solid rgba(0, 0, 0, 0.16);"};
|
|
1231
1231
|
}
|
|
1232
|
-
`,
|
|
1232
|
+
`,bh=({children:e})=>{const{open:t,setOpen:r}=c.useContext(Xi);return S(US,{open:t,onClick:()=>r(!t),tabIndex:0,children:e})};$r.Trigger=bh;const HS=k.div`
|
|
1233
1233
|
visibility: ${e=>e.open?"visible":"hidden"};
|
|
1234
1234
|
position: absolute;
|
|
1235
1235
|
width: ${e=>e.width}px;
|
|
@@ -1246,7 +1246,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1246
1246
|
0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03),
|
|
1247
1247
|
0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03),
|
|
1248
1248
|
0px 0px 8px rgba(0, 0, 0, 0.03);
|
|
1249
|
-
`,
|
|
1249
|
+
`,gh=({children:e,portalIdOverride:t})=>{const[r,n]=c.useState(null),{direction:o,open:a,menuRef:i}=c.useContext(Xi),[s,l]=c.useState(0),[d,u]=c.useState(0),[p,m]=c.useState(0),h=document.getElementById(t||Zi),b=c.useCallback(v=>{n(v)},[]),g=()=>{if(o==="Up"&&r&&i!=null&&i.current){const v=i.current.getBoundingClientRect();l(v.width),u(Math.floor(v.top-r.offsetHeight)),m(v.x)}if(o==="Down"&&i!=null&&i.current){const v=i.current.getBoundingClientRect();l(v.width),u(Math.ceil(v.y+v.height)),m(v.x)}};return c.useEffect(()=>{g()},[r==null?void 0:r.offsetHeight]),c.useEffect(()=>{const v=setTimeout(()=>{g()},1e3);return()=>{clearTimeout(v)}},[r]),c.useEffect(()=>(window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}),[r]),st.createPortal(S(HS,{width:s,top:d,left:p,ref:b,open:a,children:e}),h)};$r.List=gh;const GS=k.div`
|
|
1250
1250
|
color: #454749;
|
|
1251
1251
|
border-radius: ${f.border_radius_400};
|
|
1252
1252
|
margin: 4px;
|
|
@@ -1272,17 +1272,17 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1272
1272
|
&:hover {
|
|
1273
1273
|
background-color: #F5F5F5;
|
|
1274
1274
|
}
|
|
1275
|
-
`;function
|
|
1275
|
+
`;function Ji({as:e,...t}){return S(GS,{children:S(e??"div",{...t})})}$r.Item=Ji;const qS=k.div`
|
|
1276
1276
|
margin: 0 4px;
|
|
1277
1277
|
border-top: 1px solid rgba(0, 0, 0, 0.12);
|
|
1278
|
-
`;function
|
|
1278
|
+
`;function vh(){return S(qS,{})}$r.Separator=vh;const YS=Object.assign($r,{Trigger:bh,List:gh,Item:Ji,Separator:vh}),ZS=()=>S("div",{id:Zi});function Qi(e){const t=e+"CollectionProvider",[r,n]=Oe(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=h=>{const{scope:b,children:g}=h,v=c.useRef(null),$=c.useRef(new Map).current;return c.createElement(o,{scope:b,itemMap:$,collectionRef:v},g)},s=e+"CollectionSlot",l=c.forwardRef((h,b)=>{const{scope:g,children:v}=h,$=a(s,g),x=fe(b,$.collectionRef);return c.createElement(Ot,{ref:x},v)}),d=e+"CollectionItemSlot",u="data-radix-collection-item",p=c.forwardRef((h,b)=>{const{scope:g,children:v,...$}=h,x=c.useRef(null),_=fe(b,x),y=a(d,g);return c.useEffect(()=>(y.itemMap.set(x,{ref:x,...$}),()=>void y.itemMap.delete(x))),c.createElement(Ot,{[u]:"",ref:_},v)});function m(h){const b=a(e+"CollectionConsumer",h);return c.useCallback(()=>{const v=b.collectionRef.current;if(!v)return[];const $=Array.from(v.querySelectorAll(`[${u}]`));return Array.from(b.itemMap.values()).sort((y,I)=>$.indexOf(y.ref.current)-$.indexOf(I.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:l,ItemSlot:p},m,n]}const XS=c.createContext(void 0);function Eo(e){const t=c.useContext(XS);return e||t||"ltr"}const es="rovingFocusGroup.onEntryFocus",JS={bubbles:!1,cancelable:!0},ts="RovingFocusGroup",[rs,yh,QS]=Qi(ts),[eP,So]=Oe(ts,[QS]),[tP,rP]=eP(ts),nP=c.forwardRef((e,t)=>c.createElement(rs.Provider,{scope:e.__scopeRovingFocusGroup},c.createElement(rs.Slot,{scope:e.__scopeRovingFocusGroup},c.createElement(oP,A({},e,{ref:t}))))),oP=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:d,...u}=e,p=c.useRef(null),m=fe(t,p),h=Eo(a),[b=null,g]=Ye({prop:i,defaultProp:s,onChange:l}),[v,$]=c.useState(!1),x=Ae(d),_=yh(r),y=c.useRef(!1),[I,N]=c.useState(0);return c.useEffect(()=>{const E=p.current;if(E)return E.addEventListener(es,x),()=>E.removeEventListener(es,x)},[x]),c.createElement(tP,{scope:r,orientation:n,dir:h,loop:o,currentTabStopId:b,onItemFocus:c.useCallback(E=>g(E),[g]),onItemShiftTab:c.useCallback(()=>$(!0),[]),onFocusableItemAdd:c.useCallback(()=>N(E=>E+1),[]),onFocusableItemRemove:c.useCallback(()=>N(E=>E-1),[])},c.createElement(ae.div,A({tabIndex:v||I===0?-1:0,"data-orientation":n},u,{ref:m,style:{outline:"none",...e.style},onMouseDown:Q(e.onMouseDown,()=>{y.current=!0}),onFocus:Q(e.onFocus,E=>{const D=!y.current;if(E.target===E.currentTarget&&D&&!v){const M=new CustomEvent(es,JS);if(E.currentTarget.dispatchEvent(M),!M.defaultPrevented){const V=_().filter(G=>G.focusable),C=V.find(G=>G.active),L=V.find(G=>G.id===b),T=[C,L,...V].filter(Boolean).map(G=>G.ref.current);$h(T)}}y.current=!1}),onBlur:Q(e.onBlur,()=>$(!1))})))}),aP="RovingFocusGroupItem",iP=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...i}=e,s=Je(),l=a||s,d=rP(aP,r),u=d.currentTabStopId===l,p=yh(r),{onFocusableItemAdd:m,onFocusableItemRemove:h}=d;return c.useEffect(()=>{if(n)return m(),()=>h()},[n,m,h]),c.createElement(rs.ItemSlot,{scope:r,id:l,focusable:n,active:o},c.createElement(ae.span,A({tabIndex:u?0:-1,"data-orientation":d.orientation},i,{ref:t,onMouseDown:Q(e.onMouseDown,b=>{n?d.onItemFocus(l):b.preventDefault()}),onFocus:Q(e.onFocus,()=>d.onItemFocus(l)),onKeyDown:Q(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){d.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const g=cP(b,d.orientation,d.dir);if(g!==void 0){b.preventDefault();let $=p().filter(x=>x.focusable).map(x=>x.ref.current);if(g==="last")$.reverse();else if(g==="prev"||g==="next"){g==="prev"&&$.reverse();const x=$.indexOf(b.currentTarget);$=d.loop?dP($,x+1):$.slice(x+1)}setTimeout(()=>$h($))}})})))}),sP={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function lP(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function cP(e,t,r){const n=lP(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return sP[n]}function $h(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function dP(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const xh=nP,_h=iP,wh="Tabs",[uP,VC]=Oe(wh,[So]),Eh=So(),[fP,ns]=uP(wh),pP=c.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:l="automatic",...d}=e,u=Eo(s),[p,m]=Ye({prop:n,onChange:o,defaultProp:a});return c.createElement(fP,{scope:r,baseId:Je(),value:p,onValueChange:m,orientation:i,dir:u,activationMode:l},c.createElement(ae.div,A({dir:u,"data-orientation":i},d,{ref:t})))}),mP="TabsList",hP=c.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,a=ns(mP,r),i=Eh(r);return c.createElement(xh,A({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:n}),c.createElement(ae.div,A({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),bP="TabsTrigger",gP=c.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,i=ns(bP,r),s=Eh(r),l=Sh(i.baseId,n),d=Ph(i.baseId,n),u=n===i.value;return c.createElement(_h,A({asChild:!0},s,{focusable:!o,active:u}),c.createElement(ae.button,A({type:"button",role:"tab","aria-selected":u,"aria-controls":d,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},a,{ref:t,onMouseDown:Q(e.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?i.onValueChange(n):p.preventDefault()}),onKeyDown:Q(e.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&i.onValueChange(n)}),onFocus:Q(e.onFocus,()=>{const p=i.activationMode!=="manual";!u&&!o&&p&&i.onValueChange(n)})})))}),vP="TabsContent",yP=c.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:a,...i}=e,s=ns(vP,r),l=Sh(s.baseId,n),d=Ph(s.baseId,n),u=n===s.value,p=c.useRef(u);return c.useEffect(()=>{const m=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(m)},[]),c.createElement(Ve,{present:o||u},({present:m})=>c.createElement(ae.div,A({"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!m,id:d,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0}}),m&&a))});function Sh(e,t){return`${e}-trigger-${t}`}function Ph(e,t){return`${e}-content-${t}`}const $P=pP,xP=hP,_P=gP,wP=yP,EP=k($P)`
|
|
1279
1279
|
display: flex;
|
|
1280
1280
|
flex-direction: column;
|
|
1281
1281
|
font-family: ${f.font_family_sans};
|
|
1282
|
-
`,
|
|
1282
|
+
`,SP=k(xP)`
|
|
1283
1283
|
flex-shrink: 0;
|
|
1284
1284
|
display: flex;
|
|
1285
|
-
`,
|
|
1285
|
+
`,Th=k(_P)`
|
|
1286
1286
|
all: unset;
|
|
1287
1287
|
font-family: inherit;
|
|
1288
1288
|
color: ${f.color_text_weak};
|
|
@@ -1318,7 +1318,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1318
1318
|
position: relative;
|
|
1319
1319
|
box-shadow: 0 0 0 1px ${f.color_black};
|
|
1320
1320
|
}
|
|
1321
|
-
`,
|
|
1321
|
+
`,PP=k(Th)`
|
|
1322
1322
|
display: flex;
|
|
1323
1323
|
align-items: center;
|
|
1324
1324
|
gap: ${f.sizing_200};
|
|
@@ -1326,7 +1326,7 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1326
1326
|
& > svg {
|
|
1327
1327
|
font-size: 1rem;
|
|
1328
1328
|
}
|
|
1329
|
-
`,
|
|
1329
|
+
`,TP=k(wP)`
|
|
1330
1330
|
flex-grow: 1;
|
|
1331
1331
|
padding: ${f.sizing_450};
|
|
1332
1332
|
background-color: white;
|
|
@@ -1335,11 +1335,11 @@ Check the top-level render call using <`+G+">.")}return j}}function yy(w,j){{if(
|
|
|
1335
1335
|
&:focus-visible {
|
|
1336
1336
|
box-shadow: ${f.elevation_interactive_low};
|
|
1337
1337
|
}
|
|
1338
|
-
`,
|
|
1338
|
+
`,os="horizontal",kP=["horizontal","vertical"],kh=c.forwardRef((e,t)=>{const{decorative:r,orientation:n=os,...o}=e,a=Dh(n)?n:os,s=r?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return c.createElement(ae.div,A({"data-orientation":a},s,o,{ref:t}))});kh.propTypes={orientation(e,t,r){const n=e[t],o=String(n);return n&&!Dh(n)?new Error(DP(o,r)):null}};function DP(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
|
|
1339
1339
|
- horizontal
|
|
1340
1340
|
- vertical
|
|
1341
1341
|
|
|
1342
|
-
Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="ToastProvider",[rs,VP,jP]=Zi("Toast"),[Sh,XC]=Ie("Toast",[jP]),[RP,So]=Sh(Eh),Ph=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,c]=l.useState(null),[d,u]=l.useState(0),p=l.useRef(!1),m=l.useRef(!1);return l.createElement(rs.Provider,{scope:t},l.createElement(RP,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:d,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>u(h=>h+1),[]),onToastRemove:l.useCallback(()=>u(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:m},i))};Ph.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${Eh}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const BP="ToastViewport",UP=["F8"],ns="toast.viewportPause",os="toast.viewportResume",WP=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=UP,label:o="Notifications ({hotkey})",...a}=e,i=So(BP,r),s=VP(r),c=l.useRef(null),d=l.useRef(null),u=l.useRef(null),p=l.useRef(null),m=fe(t,p,i.onViewportChange),h=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;l.useEffect(()=>{const v=_=>{var $;n.every(y=>_[y]||_.code===y)&&(($=p.current)===null||$===void 0||$.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[n]),l.useEffect(()=>{const v=c.current,_=p.current;if(b&&v&&_){const $=()=>{if(!i.isClosePausedRef.current){const N=new CustomEvent(ns);_.dispatchEvent(N),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const N=new CustomEvent(os);_.dispatchEvent(N),i.isClosePausedRef.current=!1}},y=N=>{!v.contains(N.relatedTarget)&&x()},A=()=>{v.contains(document.activeElement)||x()};return v.addEventListener("focusin",$),v.addEventListener("focusout",y),v.addEventListener("pointermove",$),v.addEventListener("pointerleave",A),window.addEventListener("blur",$),window.addEventListener("focus",x),()=>{v.removeEventListener("focusin",$),v.removeEventListener("focusout",y),v.removeEventListener("pointermove",$),v.removeEventListener("pointerleave",A),window.removeEventListener("blur",$),window.removeEventListener("focus",x)}}},[b,i.isClosePausedRef]);const g=l.useCallback(({tabbingDirection:v})=>{const $=s().map(x=>{const y=x.ref.current,A=[y,...iT(y)];return v==="forwards"?A:A.reverse()});return(v==="forwards"?$.reverse():$).flat()},[s]);return l.useEffect(()=>{const v=p.current;if(v){const _=$=>{const x=$.altKey||$.ctrlKey||$.metaKey;if($.key==="Tab"&&!x){const C=document.activeElement,M=$.shiftKey;if($.target===v&&M){var A;(A=d.current)===null||A===void 0||A.focus();return}const L=g({tabbingDirection:M?"backwards":"forwards"}),P=L.findIndex(T=>T===C);if(as(L.slice(P+1)))$.preventDefault();else{var N,E;M?(N=d.current)===null||N===void 0||N.focus():(E=u.current)===null||E===void 0||E.focus()}}};return v.addEventListener("keydown",_),()=>v.removeEventListener("keydown",_)}},[s,g]),l.createElement(By,{ref:c,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:b?void 0:"none"}},b&&l.createElement(Th,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});as(v)}}),l.createElement(rs.Slot,{scope:r},l.createElement(ae.ol,O({tabIndex:-1},a,{ref:m}))),b&&l.createElement(Th,{ref:u,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});as(v)}}))}),HP="ToastFocusProxy",Th=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=So(HP,r);return l.createElement(En,O({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:i=>{var s;const c=i.relatedTarget;!((s=a.viewport)!==null&&s!==void 0&&s.contains(c))&&n()}}))}),Po="Toast",GP="toast.swipeStart",qP="toast.swipeMove",YP="toast.swipeCancel",ZP="toast.swipeEnd",XP=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=Ye({prop:n,defaultProp:o,onChange:a});return l.createElement(Ve,{present:r||s},l.createElement(kh,O({open:s},i,{ref:t,onClose:()=>c(!1),onPause:Oe(e.onPause),onResume:Oe(e.onResume),onSwipeStart:Q(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Q(e.onSwipeMove,d=>{const{x:u,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:Q(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Q(e.onSwipeEnd,d=>{const{x:u,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})))}),[JP,QP]=Sh(Po,{onClose(){}}),kh=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:c,onResume:d,onSwipeStart:u,onSwipeMove:p,onSwipeCancel:m,onSwipeEnd:h,...b}=e,g=So(Po,r),[v,_]=l.useState(null),$=fe(t,T=>_(T)),x=l.useRef(null),y=l.useRef(null),A=o||g.duration,N=l.useRef(0),E=l.useRef(A),C=l.useRef(0),{onToastAdd:M,onToastRemove:V}=g,k=Oe(()=>{var T;(v==null?void 0:v.contains(document.activeElement))&&((T=g.viewport)===null||T===void 0||T.focus()),i()}),L=l.useCallback(T=>{!T||T===1/0||(window.clearTimeout(C.current),N.current=new Date().getTime(),C.current=window.setTimeout(k,T))},[k]);l.useEffect(()=>{const T=g.viewport;if(T){const H=()=>{L(E.current),d==null||d()},le=()=>{const R=new Date().getTime()-N.current;E.current=E.current-R,window.clearTimeout(C.current),c==null||c()};return T.addEventListener(ns,le),T.addEventListener(os,H),()=>{T.removeEventListener(ns,le),T.removeEventListener(os,H)}}},[g.viewport,A,c,d,L]),l.useEffect(()=>{a&&!g.isClosePausedRef.current&&L(A)},[a,A,g.isClosePausedRef,L]),l.useEffect(()=>(M(),()=>V()),[M,V]);const P=l.useMemo(()=>v?Oh(v):null,[v]);return g.viewport?l.createElement(l.Fragment,null,P&&l.createElement(eT,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},P),l.createElement(JP,{scope:r,onClose:k},st.createPortal(l.createElement(rs.ItemSlot,{scope:r},l.createElement(Ry,{asChild:!0,onEscapeKeyDown:Q(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||k(),g.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(ae.li,O({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection},b,{ref:$,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Q(e.onKeyDown,T=>{T.key==="Escape"&&(s==null||s(T.nativeEvent),T.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,k()))}),onPointerDown:Q(e.onPointerDown,T=>{T.button===0&&(x.current={x:T.clientX,y:T.clientY})}),onPointerMove:Q(e.onPointerMove,T=>{if(!x.current)return;const H=T.clientX-x.current.x,le=T.clientY-x.current.y,R=Boolean(y.current),oe=["left","right"].includes(g.swipeDirection),q=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,z=oe?q(0,H):0,I=oe?0:q(0,le),U=T.pointerType==="touch"?10:2,Z={x:z,y:I},X={originalEvent:T,delta:Z};R?(y.current=Z,To(qP,p,X,{discrete:!1})):Ah(Z,g.swipeDirection,U)?(y.current=Z,To(GP,u,X,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(H)>U||Math.abs(le)>U)&&(x.current=null)}),onPointerUp:Q(e.onPointerUp,T=>{const H=y.current,le=T.target;if(le.hasPointerCapture(T.pointerId)&&le.releasePointerCapture(T.pointerId),y.current=null,x.current=null,H){const R=T.currentTarget,oe={originalEvent:T,delta:H};Ah(H,g.swipeDirection,g.swipeThreshold)?To(ZP,h,oe,{discrete:!0}):To(YP,m,oe,{discrete:!0}),R.addEventListener("click",q=>q.preventDefault(),{once:!0})}})})))),g.viewport))):null});kh.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${Po}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const eT=e=>{const{__scopeToast:t,children:r,...n}=e,o=So(Po,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return oT(()=>i(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(Fr,{asChild:!0},l.createElement(En,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},tT=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(ae.div,O({},n,{ref:t}))}),rT="ToastAction",Dh=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(Ih,{altText:r,asChild:!0},l.createElement(Ch,O({},n,{ref:t}))):null});Dh.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${rT}\``)}};const nT="ToastClose",Ch=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=QP(nT,r);return l.createElement(Ih,{asChild:!0},l.createElement(ae.button,O({type:"button"},n,{ref:t,onClick:Q(e.onClick,o.onClose)})))}),Ih=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(ae.div,O({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function Oh(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),aT(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",a=n.dataset.radixToastAnnounceExclude==="";if(!o)if(a){const i=n.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Oh(n))}}),t}function To(e,t,r,{discrete:n}){const o=r.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Dl(o,a):o.dispatchEvent(a)}const Ah=(e,t,r=0)=>{const n=Math.abs(e.x),o=Math.abs(e.y),a=n>o;return t==="left"||t==="right"?a&&n>r:!a&&o>r};function oT(e=()=>{}){const t=Oe(e);Te(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function aT(e){return e.nodeType===e.ELEMENT_NODE}function iT(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function as(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const sT=Ph,lT=WP,cT=XP,dT=tT,uT=Dh,fT=Ch,is=25,pT=D.keyframes`
|
|
1342
|
+
Defaulting to \`${os}\`.`}function Dh(e){return kP.includes(e)}const CP=kh,Ch="ToastProvider",[as,IP,OP]=Qi("Toast"),[Ih,jC]=Oe("Toast",[OP]),[AP,Po]=Ih(Ch),Oh=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,l]=c.useState(null),[d,u]=c.useState(0),p=c.useRef(!1),m=c.useRef(!1);return c.createElement(as.Provider,{scope:t},c.createElement(AP,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:d,viewport:s,onViewportChange:l,onToastAdd:c.useCallback(()=>u(h=>h+1),[]),onToastRemove:c.useCallback(()=>u(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:m},i))};Oh.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${Ch}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const MP="ToastViewport",NP=["F8"],is="toast.viewportPause",ss="toast.viewportResume",zP=c.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=NP,label:o="Notifications ({hotkey})",...a}=e,i=Po(MP,r),s=IP(r),l=c.useRef(null),d=c.useRef(null),u=c.useRef(null),p=c.useRef(null),m=fe(t,p,i.onViewportChange),h=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;c.useEffect(()=>{const v=$=>{var x;n.every(y=>$[y]||$.code===y)&&((x=p.current)===null||x===void 0||x.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[n]),c.useEffect(()=>{const v=l.current,$=p.current;if(b&&v&&$){const x=()=>{if(!i.isClosePausedRef.current){const N=new CustomEvent(is);$.dispatchEvent(N),i.isClosePausedRef.current=!0}},_=()=>{if(i.isClosePausedRef.current){const N=new CustomEvent(ss);$.dispatchEvent(N),i.isClosePausedRef.current=!1}},y=N=>{!v.contains(N.relatedTarget)&&_()},I=()=>{v.contains(document.activeElement)||_()};return v.addEventListener("focusin",x),v.addEventListener("focusout",y),v.addEventListener("pointermove",x),v.addEventListener("pointerleave",I),window.addEventListener("blur",x),window.addEventListener("focus",_),()=>{v.removeEventListener("focusin",x),v.removeEventListener("focusout",y),v.removeEventListener("pointermove",x),v.removeEventListener("pointerleave",I),window.removeEventListener("blur",x),window.removeEventListener("focus",_)}}},[b,i.isClosePausedRef]);const g=c.useCallback(({tabbingDirection:v})=>{const x=s().map(_=>{const y=_.ref.current,I=[y,...XP(y)];return v==="forwards"?I:I.reverse()});return(v==="forwards"?x.reverse():x).flat()},[s]);return c.useEffect(()=>{const v=p.current;if(v){const $=x=>{const _=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!_){const D=document.activeElement,M=x.shiftKey;if(x.target===v&&M){var I;(I=d.current)===null||I===void 0||I.focus();return}const L=g({tabbingDirection:M?"backwards":"forwards"}),P=L.findIndex(T=>T===D);if(ls(L.slice(P+1)))x.preventDefault();else{var N,E;M?(N=d.current)===null||N===void 0||N.focus():(E=u.current)===null||E===void 0||E.focus()}}};return v.addEventListener("keydown",$),()=>v.removeEventListener("keydown",$)}},[s,g]),c.createElement(qy,{ref:l,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:b?void 0:"none"}},b&&c.createElement(Ah,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});ls(v)}}),c.createElement(as.Slot,{scope:r},c.createElement(ae.ol,A({tabIndex:-1},a,{ref:m}))),b&&c.createElement(Ah,{ref:u,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});ls(v)}}))}),KP="ToastFocusProxy",Ah=c.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=Po(KP,r);return c.createElement(Sn,A({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:i=>{var s;const l=i.relatedTarget;!((s=a.viewport)!==null&&s!==void 0&&s.contains(l))&&n()}}))}),To="Toast",FP="toast.swipeStart",LP="toast.swipeMove",VP="toast.swipeCancel",jP="toast.swipeEnd",RP=c.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,l]=Ye({prop:n,defaultProp:o,onChange:a});return c.createElement(Ve,{present:r||s},c.createElement(Mh,A({open:s},i,{ref:t,onClose:()=>l(!1),onPause:Ae(e.onPause),onResume:Ae(e.onResume),onSwipeStart:Q(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Q(e.onSwipeMove,d=>{const{x:u,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:Q(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Q(e.onSwipeEnd,d=>{const{x:u,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),l(!1)})})))}),[BP,WP]=Ih(To,{onClose(){}}),Mh=c.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:l,onResume:d,onSwipeStart:u,onSwipeMove:p,onSwipeCancel:m,onSwipeEnd:h,...b}=e,g=Po(To,r),[v,$]=c.useState(null),x=fe(t,T=>$(T)),_=c.useRef(null),y=c.useRef(null),I=o||g.duration,N=c.useRef(0),E=c.useRef(I),D=c.useRef(0),{onToastAdd:M,onToastRemove:V}=g,C=Ae(()=>{var T;(v==null?void 0:v.contains(document.activeElement))&&((T=g.viewport)===null||T===void 0||T.focus()),i()}),L=c.useCallback(T=>{!T||T===1/0||(window.clearTimeout(D.current),N.current=new Date().getTime(),D.current=window.setTimeout(C,T))},[C]);c.useEffect(()=>{const T=g.viewport;if(T){const G=()=>{L(E.current),d==null||d()},le=()=>{const R=new Date().getTime()-N.current;E.current=E.current-R,window.clearTimeout(D.current),l==null||l()};return T.addEventListener(is,le),T.addEventListener(ss,G),()=>{T.removeEventListener(is,le),T.removeEventListener(ss,G)}}},[g.viewport,I,l,d,L]),c.useEffect(()=>{a&&!g.isClosePausedRef.current&&L(I)},[a,I,g.isClosePausedRef,L]),c.useEffect(()=>(M(),()=>V()),[M,V]);const P=c.useMemo(()=>v?Fh(v):null,[v]);return g.viewport?c.createElement(c.Fragment,null,P&&c.createElement(UP,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},P),c.createElement(BP,{scope:r,onClose:C},st.createPortal(c.createElement(as.ItemSlot,{scope:r},c.createElement(Gy,{asChild:!0,onEscapeKeyDown:Q(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||C(),g.isFocusedToastEscapeKeyDownRef.current=!1})},c.createElement(ae.li,A({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection},b,{ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Q(e.onKeyDown,T=>{T.key==="Escape"&&(s==null||s(T.nativeEvent),T.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,C()))}),onPointerDown:Q(e.onPointerDown,T=>{T.button===0&&(_.current={x:T.clientX,y:T.clientY})}),onPointerMove:Q(e.onPointerMove,T=>{if(!_.current)return;const G=T.clientX-_.current.x,le=T.clientY-_.current.y,R=Boolean(y.current),oe=["left","right"].includes(g.swipeDirection),q=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,z=oe?q(0,G):0,O=oe?0:q(0,le),W=T.pointerType==="touch"?10:2,Z={x:z,y:O},X={originalEvent:T,delta:Z};R?(y.current=Z,ko(LP,p,X,{discrete:!1})):Lh(Z,g.swipeDirection,W)?(y.current=Z,ko(FP,u,X,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(G)>W||Math.abs(le)>W)&&(_.current=null)}),onPointerUp:Q(e.onPointerUp,T=>{const G=y.current,le=T.target;if(le.hasPointerCapture(T.pointerId)&&le.releasePointerCapture(T.pointerId),y.current=null,_.current=null,G){const R=T.currentTarget,oe={originalEvent:T,delta:G};Lh(G,g.swipeDirection,g.swipeThreshold)?ko(jP,h,oe,{discrete:!0}):ko(VP,m,oe,{discrete:!0}),R.addEventListener("click",q=>q.preventDefault(),{once:!0})}})})))),g.viewport))):null});Mh.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${To}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const UP=e=>{const{__scopeToast:t,children:r,...n}=e,o=Po(To,t),[a,i]=c.useState(!1),[s,l]=c.useState(!1);return YP(()=>i(!0)),c.useEffect(()=>{const d=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:c.createElement(Kr,{asChild:!0},c.createElement(Sn,n,a&&c.createElement(c.Fragment,null,o.label," ",r)))},HP=c.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return c.createElement(ae.div,A({},n,{ref:t}))}),GP="ToastAction",Nh=c.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?c.createElement(Kh,{altText:r,asChild:!0},c.createElement(zh,A({},n,{ref:t}))):null});Nh.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${GP}\``)}};const qP="ToastClose",zh=c.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=WP(qP,r);return c.createElement(Kh,{asChild:!0},c.createElement(ae.button,A({type:"button"},n,{ref:t,onClick:Q(e.onClick,o.onClose)})))}),Kh=c.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return c.createElement(ae.div,A({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function Fh(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),ZP(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",a=n.dataset.radixToastAnnounceExclude==="";if(!o)if(a){const i=n.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Fh(n))}}),t}function ko(e,t,r,{discrete:n}){const o=r.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Ol(o,a):o.dispatchEvent(a)}const Lh=(e,t,r=0)=>{const n=Math.abs(e.x),o=Math.abs(e.y),a=n>o;return t==="left"||t==="right"?a&&n>r:!a&&o>r};function YP(e=()=>{}){const t=Ae(e);Te(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function ZP(e){return e.nodeType===e.ELEMENT_NODE}function XP(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function ls(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const JP=Oh,QP=zP,eT=RP,tT=HP,rT=Nh,nT=zh,cs=25,oT=k.keyframes`
|
|
1343
1343
|
0% {
|
|
1344
1344
|
opacity: 1
|
|
1345
1345
|
}
|
|
@@ -1347,24 +1347,24 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1347
1347
|
100% {
|
|
1348
1348
|
opacity: 0
|
|
1349
1349
|
}
|
|
1350
|
-
`,
|
|
1350
|
+
`,aT=k.keyframes`
|
|
1351
1351
|
from {
|
|
1352
|
-
transform: translateX(calc(100% + ${
|
|
1352
|
+
transform: translateX(calc(100% + ${cs}px));
|
|
1353
1353
|
}
|
|
1354
1354
|
|
|
1355
1355
|
to {
|
|
1356
1356
|
transform: translateX(0);
|
|
1357
1357
|
}
|
|
1358
|
-
`,
|
|
1358
|
+
`,iT=k.keyframes`
|
|
1359
1359
|
from {
|
|
1360
1360
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
1361
1361
|
}
|
|
1362
1362
|
to {
|
|
1363
|
-
transform: translateX(calc(100% + ${
|
|
1363
|
+
transform: translateX(calc(100% + ${cs}px));
|
|
1364
1364
|
}
|
|
1365
|
-
`,
|
|
1365
|
+
`,sT=k(rT)`
|
|
1366
1366
|
all: unset;
|
|
1367
|
-
`,
|
|
1367
|
+
`,Vh=k(nT)`
|
|
1368
1368
|
all: unset;
|
|
1369
1369
|
display: grid;
|
|
1370
1370
|
width: ${f.sizing_500};
|
|
@@ -1381,7 +1381,7 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1381
1381
|
& > svg {
|
|
1382
1382
|
font-size: 0.95rem;
|
|
1383
1383
|
}
|
|
1384
|
-
`,
|
|
1384
|
+
`,lT=k(tT)`
|
|
1385
1385
|
font-family: ${f.font_family_sans};
|
|
1386
1386
|
font-style: normal;
|
|
1387
1387
|
font-weight: 500;
|
|
@@ -1390,7 +1390,7 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1390
1390
|
letter-spacing: ${f.letter_spacing_tight};
|
|
1391
1391
|
display: flex;
|
|
1392
1392
|
align-items: center;
|
|
1393
|
-
`,
|
|
1393
|
+
`,jh=k(CP)`
|
|
1394
1394
|
background-color: var(--color-separator);
|
|
1395
1395
|
|
|
1396
1396
|
&[data-orientation='horizontal'] {
|
|
@@ -1404,20 +1404,20 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1404
1404
|
height: 100%;
|
|
1405
1405
|
width: 1;
|
|
1406
1406
|
}
|
|
1407
|
-
`,
|
|
1407
|
+
`,cT={info:f.color_background_white_standard,inverse:f.color_background_sentiment_neutral,negative:f.color_background_sentiment_negative},dT={info:f.color_text_standard,inverse:f.color_background_white_standard,negative:f.color_background_white_standard},uT={info:f.color_divider_weak,inverse:f.color_divider_inverse_weak,negative:f.color_divider_inverse_weak},fT=k(QP)`
|
|
1408
1408
|
position: fixed;
|
|
1409
1409
|
bottom: 0;
|
|
1410
1410
|
right: 0;
|
|
1411
1411
|
display: flex;
|
|
1412
1412
|
flex-direction: column;
|
|
1413
|
-
padding: ${
|
|
1413
|
+
padding: ${cs}px;
|
|
1414
1414
|
gap: 10px;
|
|
1415
1415
|
max-width: 100vw;
|
|
1416
1416
|
margin: 0;
|
|
1417
1417
|
list-style: none;
|
|
1418
1418
|
z-index: 30;
|
|
1419
1419
|
outline: none;
|
|
1420
|
-
`,
|
|
1420
|
+
`,pT=k(eT)`
|
|
1421
1421
|
display: flex;
|
|
1422
1422
|
flex-direction: row;
|
|
1423
1423
|
align-items: center;
|
|
@@ -1434,11 +1434,11 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1434
1434
|
}
|
|
1435
1435
|
|
|
1436
1436
|
&[data-state~='open'] {
|
|
1437
|
-
animation: ${
|
|
1437
|
+
animation: ${aT} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
1438
1438
|
}
|
|
1439
1439
|
|
|
1440
1440
|
&[data-state~='closed'] {
|
|
1441
|
-
animation: ${
|
|
1441
|
+
animation: ${oT} 100ms ease-in;
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
1444
|
&[data-swipe='move'] {
|
|
@@ -1451,13 +1451,13 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1451
1451
|
}
|
|
1452
1452
|
|
|
1453
1453
|
&[data-swipe='end'] {
|
|
1454
|
-
animation: ${
|
|
1454
|
+
animation: ${iT} 100ms ease-out;
|
|
1455
1455
|
}
|
|
1456
|
-
`;function
|
|
1456
|
+
`;function mT({children:e,...t}){return S(JP,{...t,children:e})}function hT({title:e,children:t,sentiment:r,onDismiss:n,...o}){const a=cT[r],i=dT[r],s=uT[r];return ee(pT,{style:{"--color-background-notification":a,"--color-notification":i},...o,children:[r==="negative"?S(Se.Warning,{height:18}):null,S(lT,{children:e}),S(jh,{style:{"--color-separator":s}}),t,S(Vh,{onClick:n,children:S(Fr,{label:"Dismiss notification",children:S(Se.Close,{width:18,height:18})})})]})}const bT=k.div`
|
|
1457
1457
|
display: grid;
|
|
1458
1458
|
grid-template-columns: repeat(12, minmax(var(--min-col-width, 0), 150px));
|
|
1459
1459
|
column-gap: ${f.sizing_600};
|
|
1460
|
-
`,
|
|
1460
|
+
`,Rh=k.div`
|
|
1461
1461
|
width: clamp(
|
|
1462
1462
|
var(---page-min-width, 750px),
|
|
1463
1463
|
var(---page-ideal-width, 85%),
|
|
@@ -1467,23 +1467,23 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1467
1467
|
min-height: 100%;
|
|
1468
1468
|
margin: 0 auto;
|
|
1469
1469
|
padding: 0 ${f.sizing_100};
|
|
1470
|
-
`,
|
|
1470
|
+
`,gT=k.div`
|
|
1471
1471
|
padding-top: ${f.sizing_600};
|
|
1472
1472
|
padding-bottom: ${f.sizing_800};
|
|
1473
|
-
`,
|
|
1473
|
+
`,Bh=k.header`
|
|
1474
1474
|
display: flex;
|
|
1475
1475
|
flex-direction: column;
|
|
1476
1476
|
gap: ${f.sizing_500};
|
|
1477
1477
|
padding-block: ${f.sizing_500};
|
|
1478
1478
|
margin: 0 auto;
|
|
1479
|
-
`,
|
|
1479
|
+
`,vT=k.header`
|
|
1480
1480
|
z-index: 1;
|
|
1481
1481
|
position: sticky;
|
|
1482
1482
|
top: 0;
|
|
1483
1483
|
background-color: white;
|
|
1484
1484
|
box-shadow: ${f.elevation_interactive_low},
|
|
1485
1485
|
${f.elevation_interactive_medium};
|
|
1486
|
-
`,
|
|
1486
|
+
`,yT=({children:e,className:t})=>S(vT,{className:t,children:S(Rh,{children:S(Bh,{as:"div",children:e})})}),$T=k.div`
|
|
1487
1487
|
display: flex;
|
|
1488
1488
|
align-items: center;
|
|
1489
1489
|
gap: ${f.sizing_200};
|
|
@@ -1491,7 +1491,7 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1491
1491
|
& > :first-child {
|
|
1492
1492
|
margin-right: auto;
|
|
1493
1493
|
}
|
|
1494
|
-
`,
|
|
1494
|
+
`,Wh=k(hr)`
|
|
1495
1495
|
display: grid;
|
|
1496
1496
|
place-content: center;
|
|
1497
1497
|
border-radius: ${f.border_radius_400};
|
|
@@ -1507,15 +1507,15 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1507
1507
|
line-height: 0;
|
|
1508
1508
|
font-size: ${f.font_size_200};
|
|
1509
1509
|
}
|
|
1510
|
-
`,
|
|
1510
|
+
`,Do=c.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,a=r==="left"?S(Se.NavigateBefore,{}):S(Se.NavigateNext,{});return S(Wh,{variant:"inverse",emphasis:"high",ref:t,...o,children:S(Fr,{label:n,children:a})})});Do.displayName="PaginatorButton";const xT=k(Wh)`
|
|
1511
1511
|
&[aria-current='true'] {
|
|
1512
1512
|
background-color: ${f.color_overlay_secondary_selected_enabled};
|
|
1513
1513
|
}
|
|
1514
|
-
`,
|
|
1514
|
+
`,Co=c.forwardRef((e,t)=>{const{children:r,...n}=e;return S(xT,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});Co.displayName="PaginatorNumber";const _T=k.nav`
|
|
1515
1515
|
display: flex;
|
|
1516
1516
|
gap: 4px;
|
|
1517
1517
|
width: min-content;
|
|
1518
|
-
`;function
|
|
1518
|
+
`;function wT({nrOfPages:e,currentPage:t,onPrevious:r,onClick:n,onNext:o,className:a,ariaLabel:i="Pagination Navigation"}){const s=Array.from({length:e},(h,b)=>b),l=6;let d=s;const u=l-1;if(e>5){const h=e-1;t>e-u?d=[0,-1,...s.slice(-u)]:t+1<u?d=[...s.slice(0,u),-1,h]:d=[0,-1,...d.slice(t-1,t),t,...d.slice(t+1,t+2),-1,h]}const p=t===0,m=t===e-1;return ee(_T,{"aria-label":i,className:a,children:[S(Do,{direction:"left",label:"Previous",disabled:p,onClick:p?void 0:r}),d.map((h,b)=>h>-1?S(Co,{"aria-current":h===t,"aria-label":`Page ${h+1}`,onClick:()=>n(h),children:h+1},h):S(Co,{as:"span",children:"..."},`${h}-${b}`)),S(Do,{direction:"right",label:"Next",title:"next",disabled:m,onClick:m?void 0:o})]})}const Uh="Radio",[ET,Hh]=Oe(Uh),[ST,PT]=ET(Uh),TT=c.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:a,disabled:i,value:s="on",onCheck:l,...d}=e,[u,p]=c.useState(null),m=fe(t,g=>p(g)),h=c.useRef(!1),b=u?Boolean(u.closest("form")):!0;return c.createElement(ST,{scope:r,checked:o,disabled:i},c.createElement(ae.button,A({type:"button",role:"radio","aria-checked":o,"data-state":Gh(o),"data-disabled":i?"":void 0,disabled:i,value:s},d,{ref:m,onClick:Q(e.onClick,g=>{o||l==null||l(),b&&(h.current=g.isPropagationStopped(),h.current||g.stopPropagation())})})),b&&c.createElement(CT,{control:u,bubbles:!h.current,name:n,value:s,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),kT="RadioIndicator",DT=c.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,a=PT(kT,r);return c.createElement(Ve,{present:n||a.checked},c.createElement(ae.span,A({"data-state":Gh(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),CT=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=c.useRef(null),i=lo(r),s=On(t);return c.useEffect(()=>{const l=a.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&p){const m=new Event("click",{bubbles:n});p.call(l,r),l.dispatchEvent(m)}},[i,r,n]),c.createElement("input",A({type:"radio","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Gh(e){return e?"checked":"unchecked"}const IT=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],qh="RadioGroup",[OT,RC]=Oe(qh,[So,Hh]),Yh=So(),Zh=Hh(),[AT,MT]=OT(qh),NT=c.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:a,required:i=!1,disabled:s=!1,orientation:l,dir:d,loop:u=!0,onValueChange:p,...m}=e,h=Yh(r),b=Eo(d),[g,v]=Ye({prop:a,defaultProp:o,onChange:p});return c.createElement(AT,{scope:r,name:n,required:i,disabled:s,value:g,onValueChange:v},c.createElement(xh,A({asChild:!0},h,{orientation:l,dir:b,loop:u}),c.createElement(ae.div,A({role:"radiogroup","aria-required":i,"aria-orientation":l,"data-disabled":s?"":void 0,dir:b},m,{ref:t}))))}),zT="RadioGroupItem",KT=c.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,a=MT(zT,r),i=a.disabled||n,s=Yh(r),l=Zh(r),d=c.useRef(null),u=fe(t,d),p=a.value===o.value,m=c.useRef(!1);return c.useEffect(()=>{const h=g=>{IT.includes(g.key)&&(m.current=!0)},b=()=>m.current=!1;return document.addEventListener("keydown",h),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",h),document.removeEventListener("keyup",b)}},[]),c.createElement(_h,A({asChild:!0},s,{focusable:!i,active:p}),c.createElement(TT,A({disabled:i,required:a.required,checked:p},l,o,{name:a.name,ref:u,onCheck:()=>a.onValueChange(o.value),onKeyDown:Q(h=>{h.key==="Enter"&&h.preventDefault()}),onFocus:Q(o.onFocus,()=>{var h;m.current&&((h=d.current)===null||h===void 0||h.click())})})))}),FT=c.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=Zh(r);return c.createElement(DT,A({},o,n,{ref:t}))}),LT=NT,VT=KT,jT=FT,Xh=k(VT)`
|
|
1519
1519
|
all: unset;
|
|
1520
1520
|
--radio-width: ${f.sizing_600};
|
|
1521
1521
|
--inner-circle-color: ${f.color_white};
|
|
@@ -1574,7 +1574,7 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1574
1574
|
cursor: not-allowed;
|
|
1575
1575
|
color: ${f.color_fill_primary_disabled};
|
|
1576
1576
|
}
|
|
1577
|
-
`,
|
|
1577
|
+
`,Jh=k(jT)`
|
|
1578
1578
|
display: grid;
|
|
1579
1579
|
place-items: center;
|
|
1580
1580
|
width: 100%;
|
|
@@ -1605,7 +1605,7 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1605
1605
|
border-radius: ${f.border_radius_circle};
|
|
1606
1606
|
background-color: var(--inner-circle-color);
|
|
1607
1607
|
}
|
|
1608
|
-
`;function XT({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=ot(),i=t??a,s=mo();return S(qT,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function JT({disabled:e,...t}){const r=ot(),n=e??r,o=mo();return S(Wh,{...t,...o,disabled:n,children:S(Hh,{})})}function Gh(e,[t,r]){return Math.min(r,Math.max(t,e))}const QT=[" ","Enter","ArrowUp","ArrowDown"],ek=[" ","Enter"],Co="Select",[Io,Oo,tk]=Zi(Co),[_r,QC]=Ie(Co,[tk,or]),ss=or(),[rk,qt]=_r(Co),[nk,ok]=_r(Co),ak=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:c,dir:d,name:u,autoComplete:p,disabled:m,required:h}=e,b=ss(t),[g,v]=l.useState(null),[_,$]=l.useState(null),[x,y]=l.useState(!1),A=wo(d),[N=!1,E]=Ye({prop:n,defaultProp:o,onChange:a}),[C,M]=Ye({prop:i,defaultProp:s,onChange:c}),V=l.useRef(null),k=g?Boolean(g.closest("form")):!0,[L,P]=l.useState(new Set),T=Array.from(L).map(H=>H.props.value).join(";");return l.createElement(xa,b,l.createElement(rk,{required:h,scope:t,trigger:g,onTriggerChange:v,valueNode:_,onValueNodeChange:$,valueNodeHasChildren:x,onValueNodeHasChildrenChange:y,contentId:Je(),value:C,onValueChange:M,open:N,onOpenChange:E,dir:A,triggerPointerDownPosRef:V,disabled:m},l.createElement(Io.Provider,{scope:t},l.createElement(nk,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(H=>{P(le=>new Set(le).add(H))},[]),onNativeOptionRemove:l.useCallback(H=>{P(le=>{const R=new Set(le);return R.delete(H),R})},[])},r)),k?l.createElement(tb,{key:T,"aria-hidden":!0,required:h,tabIndex:-1,name:u,autoComplete:p,value:C,onChange:H=>M(H.target.value),disabled:m},C===void 0?l.createElement("option",{value:""}):null,Array.from(L)):null))},ik="SelectTrigger",sk=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=ss(r),i=qt(ik,r),s=i.disabled||n,c=fe(t,i.onTriggerChange),d=Oo(r),[u,p,m]=rb(b=>{const g=d().filter($=>!$.disabled),v=g.find($=>$.value===i.value),_=nb(g,b,v);_!==void 0&&i.onValueChange(_.value)}),h=()=>{s||(i.onOpenChange(!0),m())};return l.createElement(wa,O({asChild:!0},a),l.createElement(ae.button,O({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:c,onClick:Q(o.onClick,b=>{b.currentTarget.focus()}),onPointerDown:Q(o.onPointerDown,b=>{const g=b.target;g.hasPointerCapture(b.pointerId)&&g.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(h(),i.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)},b.preventDefault())}),onKeyDown:Q(o.onKeyDown,b=>{const g=u.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&p(b.key),!(g&&b.key===" ")&&QT.includes(b.key)&&(h(),b.preventDefault())})})))}),lk="SelectValue",ck=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,c=qt(lk,r),{onValueNodeHasChildrenChange:d}=c,u=a!==void 0,p=fe(t,c.onValueNodeChange);return Te(()=>{d(u)},[d,u]),l.createElement(ae.span,O({},s,{ref:p,style:{pointerEvents:"none"}}),c.value===void 0&&i!==void 0?i:a)}),dk=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(ae.span,O({"aria-hidden":!0},o,{ref:t}),n||"▼")}),uk=e=>l.createElement(Fr,O({asChild:!0},e)),xr="SelectContent",fk=l.forwardRef((e,t)=>{const r=qt(xr,e.__scopeSelect),[n,o]=l.useState();if(Te(()=>{o(new DocumentFragment)},[]),!r.open){const a=n;return a?st.createPortal(l.createElement(qh,{scope:e.__scopeSelect},l.createElement(Io.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),a):null}return l.createElement(pk,O({},e,{ref:t}))}),yt=10,[qh,Yt]=_r(xr),pk=l.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:i,side:s,sideOffset:c,align:d,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:h,sticky:b,hideWhenDetached:g,avoidCollisions:v,..._}=e,$=qt(xr,r),[x,y]=l.useState(null),[A,N]=l.useState(null),E=fe(t,B=>y(B)),[C,M]=l.useState(null),[V,k]=l.useState(null),L=Oo(r),[P,T]=l.useState(!1),H=l.useRef(!1);l.useEffect(()=>{if(x)return la(x)},[x]),ra();const le=l.useCallback(B=>{const[Y,...te]=L().map(re=>re.ref.current),[J]=te.slice(-1),ie=document.activeElement;for(const re of B)if(re===ie||(re==null||re.scrollIntoView({block:"nearest"}),re===Y&&A&&(A.scrollTop=0),re===J&&A&&(A.scrollTop=A.scrollHeight),re==null||re.focus(),document.activeElement!==ie))return},[L,A]),R=l.useCallback(()=>le([C,x]),[le,C,x]);l.useEffect(()=>{P&&R()},[P,R]);const{onOpenChange:oe,triggerPointerDownPosRef:q}=$;l.useEffect(()=>{if(x){let B={x:0,y:0};const Y=J=>{var ie,re,_e,ke;B={x:Math.abs(Math.round(J.pageX)-((ie=(re=q.current)===null||re===void 0?void 0:re.x)!==null&&ie!==void 0?ie:0)),y:Math.abs(Math.round(J.pageY)-((_e=(ke=q.current)===null||ke===void 0?void 0:ke.y)!==null&&_e!==void 0?_e:0))}},te=J=>{B.x<=10&&B.y<=10?J.preventDefault():x.contains(J.target)||oe(!1),document.removeEventListener("pointermove",Y),q.current=null};return q.current!==null&&(document.addEventListener("pointermove",Y),document.addEventListener("pointerup",te,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Y),document.removeEventListener("pointerup",te,{capture:!0})}}},[x,oe,q]),l.useEffect(()=>{const B=()=>oe(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[oe]);const[z,I]=rb(B=>{const Y=L().filter(ie=>!ie.disabled),te=Y.find(ie=>ie.ref.current===document.activeElement),J=nb(Y,B,te);J&&setTimeout(()=>J.ref.current.focus())}),U=l.useCallback((B,Y,te)=>{const J=!H.current&&!te;($.value!==void 0&&$.value===Y||J)&&(M(B),J&&(H.current=!0))},[$.value]),Z=l.useCallback(()=>x==null?void 0:x.focus(),[x]),X=l.useCallback((B,Y,te)=>{const J=!H.current&&!te;($.value!==void 0&&$.value===Y||J)&&k(B)},[$.value]),ce=n==="popper"?Yh:mk,ne=ce===Yh?{side:s,sideOffset:c,align:d,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:h,sticky:b,hideWhenDetached:g,avoidCollisions:v}:{};return l.createElement(qh,{scope:r,content:x,viewport:A,onViewportChange:N,itemRefCallback:U,selectedItem:C,onItemLeave:Z,itemTextRefCallback:X,focusSelectedItem:R,selectedItemText:V,position:n,isPositioned:P,searchRef:z},l.createElement(ia,{as:Ot,allowPinchZoom:!0},l.createElement(ea,{asChild:!0,trapped:$.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:Q(o,B=>{var Y;(Y=$.trigger)===null||Y===void 0||Y.focus({preventScroll:!0}),B.preventDefault()})},l.createElement(zr,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>$.onOpenChange(!1)},l.createElement(ce,O({role:"listbox",id:$.contentId,"data-state":$.open?"open":"closed",dir:$.dir,onContextMenu:B=>B.preventDefault()},_,ne,{onPlaced:()=>T(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",..._.style},onKeyDown:Q(_.onKeyDown,B=>{const Y=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!Y&&B.key.length===1&&I(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let J=L().filter(ie=>!ie.disabled).map(ie=>ie.ref.current);if(["ArrowUp","End"].includes(B.key)&&(J=J.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const ie=B.target,re=J.indexOf(ie);J=J.slice(re+1)}setTimeout(()=>le(J)),B.preventDefault()}})}))))))}),mk=l.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,a=qt(xr,r),i=Yt(xr,r),[s,c]=l.useState(null),[d,u]=l.useState(null),p=fe(t,E=>u(E)),m=Oo(r),h=l.useRef(!1),b=l.useRef(!0),{viewport:g,selectedItem:v,selectedItemText:_,focusSelectedItem:$}=i,x=l.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&d&&g&&v&&_){const E=a.trigger.getBoundingClientRect(),C=d.getBoundingClientRect(),M=a.valueNode.getBoundingClientRect(),V=_.getBoundingClientRect();if(a.dir!=="rtl"){const ie=V.left-C.left,re=M.left-ie,_e=E.left-re,ke=E.width+_e,Ue=Math.max(ke,C.width),Ke=window.innerWidth-yt,We=Gh(re,[yt,Ke-Ue]);s.style.minWidth=ke+"px",s.style.left=We+"px"}else{const ie=C.right-V.right,re=window.innerWidth-M.right-ie,_e=window.innerWidth-E.right-re,ke=E.width+_e,Ue=Math.max(ke,C.width),Ke=window.innerWidth-yt,We=Gh(re,[yt,Ke-Ue]);s.style.minWidth=ke+"px",s.style.right=We+"px"}const k=m(),L=window.innerHeight-yt*2,P=g.scrollHeight,T=window.getComputedStyle(d),H=parseInt(T.borderTopWidth,10),le=parseInt(T.paddingTop,10),R=parseInt(T.borderBottomWidth,10),oe=parseInt(T.paddingBottom,10),q=H+le+P+oe+R,z=Math.min(v.offsetHeight*5,q),I=window.getComputedStyle(g),U=parseInt(I.paddingTop,10),Z=parseInt(I.paddingBottom,10),X=E.top+E.height/2-yt,ce=L-X,ne=v.offsetHeight/2,B=v.offsetTop+ne,Y=H+le+B,te=q-Y;if(Y<=X){const ie=v===k[k.length-1].ref.current;s.style.bottom="0px";const re=d.clientHeight-g.offsetTop-g.offsetHeight,_e=Math.max(ce,ne+(ie?Z:0)+re+R),ke=Y+_e;s.style.height=ke+"px"}else{const ie=v===k[0].ref.current;s.style.top="0px";const _e=Math.max(X,H+g.offsetTop+(ie?U:0)+ne)+te;s.style.height=_e+"px",g.scrollTop=Y-X+g.offsetTop}s.style.margin=`${yt}px 0`,s.style.minHeight=z+"px",s.style.maxHeight=L+"px",n==null||n(),requestAnimationFrame(()=>h.current=!0)}},[m,a.trigger,a.valueNode,s,d,g,v,_,a.dir,n]);Te(()=>x(),[x]);const[y,A]=l.useState();Te(()=>{d&&A(window.getComputedStyle(d).zIndex)},[d]);const N=l.useCallback(E=>{E&&b.current===!0&&(x(),$==null||$(),b.current=!1)},[x,$]);return l.createElement(hk,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:h,onScrollButtonChange:N},l.createElement("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:y}},l.createElement(ae.div,O({},o,{ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}}))))}),Yh=l.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=yt,...a}=e,i=ss(r);return l.createElement(Ea,O({},i,a,{ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[hk,ls]=_r(xr,{}),Zh="SelectViewport",bk=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Yt(Zh,r),a=ls(Zh,r),i=fe(t,o.onViewportChange),s=l.useRef(0);return l.createElement(l.Fragment,null,l.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),l.createElement(Io.Slot,{scope:r},l.createElement(ae.div,O({"data-radix-select-viewport":"",role:"presentation"},n,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:Q(n.onScroll,c=>{const d=c.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:p}=a;if(p!=null&&p.current&&u){const m=Math.abs(s.current-d.scrollTop);if(m>0){const h=window.innerHeight-yt*2,b=parseFloat(u.style.minHeight),g=parseFloat(u.style.height),v=Math.max(b,g);if(v<h){const _=v+m,$=Math.min(h,_),x=_-$;u.style.height=$+"px",u.style.bottom==="0px"&&(d.scrollTop=x>0?x:0,u.style.justifyContent="flex-end")}}}s.current=d.scrollTop})}))))}),gk="SelectGroup",[vk,yk]=_r(gk),$k=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Je();return l.createElement(vk,{scope:r,id:o},l.createElement(ae.div,O({role:"group","aria-labelledby":o},n,{ref:t})))}),_k="SelectLabel",xk=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=yk(_k,r);return l.createElement(ae.div,O({id:o.id},n,{ref:t}))}),cs="SelectItem",[wk,Xh]=_r(cs),Ek=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=qt(cs,r),c=Yt(cs,r),d=s.value===n,[u,p]=l.useState(a??""),[m,h]=l.useState(!1),b=fe(t,_=>{var $;return($=c.itemRefCallback)===null||$===void 0?void 0:$.call(c,_,n,o)}),g=Je(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(wk,{scope:r,value:n,disabled:o,textId:g,isSelected:d,onItemTextChange:l.useCallback(_=>{p($=>{var x;return $||((x=_==null?void 0:_.textContent)!==null&&x!==void 0?x:"").trim()})},[])},l.createElement(Io.ItemSlot,{scope:r,value:n,disabled:o,textValue:u},l.createElement(ae.div,O({role:"option","aria-labelledby":g,"data-highlighted":m?"":void 0,"aria-selected":d&&m,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},i,{ref:b,onFocus:Q(i.onFocus,()=>h(!0)),onBlur:Q(i.onBlur,()=>h(!1)),onPointerUp:Q(i.onPointerUp,v),onPointerMove:Q(i.onPointerMove,_=>{if(o){var $;($=c.onItemLeave)===null||$===void 0||$.call(c)}else _.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Q(i.onPointerLeave,_=>{if(_.currentTarget===document.activeElement){var $;($=c.onItemLeave)===null||$===void 0||$.call(c)}}),onKeyDown:Q(i.onKeyDown,_=>{var $;(($=c.searchRef)===null||$===void 0?void 0:$.current)!==""&&_.key===" "||(ek.includes(_.key)&&v(),_.key===" "&&_.preventDefault())})}))))}),Ao="SelectItemText",Sk=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=qt(Ao,r),s=Yt(Ao,r),c=Xh(Ao,r),d=ok(Ao,r),[u,p]=l.useState(null),m=fe(t,_=>p(_),c.onItemTextChange,_=>{var $;return($=s.itemTextRefCallback)===null||$===void 0?void 0:$.call(s,_,c.value,c.disabled)}),h=u==null?void 0:u.textContent,b=l.useMemo(()=>l.createElement("option",{key:c.value,value:c.value,disabled:c.disabled},h),[c.disabled,c.value,h]),{onNativeOptionAdd:g,onNativeOptionRemove:v}=d;return Te(()=>(g(b),()=>v(b)),[g,v,b]),l.createElement(l.Fragment,null,l.createElement(ae.span,O({id:c.textId},a,{ref:m})),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?st.createPortal(a.children,i.valueNode):null)}),Pk="SelectItemIndicator",Tk=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Xh(Pk,r).isSelected?l.createElement(ae.span,O({"aria-hidden":!0},n,{ref:t})):null}),Jh="SelectScrollUpButton",kk=l.forwardRef((e,t)=>{const r=Yt(Jh,e.__scopeSelect),n=ls(Jh,e.__scopeSelect),[o,a]=l.useState(!1),i=fe(t,n.onScrollButtonChange);return Te(()=>{if(r.viewport&&r.isPositioned){let c=function(){const d=s.scrollTop>0;a(d)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(eb,O({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop-c.offsetHeight)}})):null}),Qh="SelectScrollDownButton",Dk=l.forwardRef((e,t)=>{const r=Yt(Qh,e.__scopeSelect),n=ls(Qh,e.__scopeSelect),[o,a]=l.useState(!1),i=fe(t,n.onScrollButtonChange);return Te(()=>{if(r.viewport&&r.isPositioned){let c=function(){const d=s.scrollHeight-s.clientHeight,u=Math.ceil(s.scrollTop)<d;a(u)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(eb,O({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop+c.offsetHeight)}})):null}),eb=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=Yt("SelectScrollButton",r),i=l.useRef(null),s=Oo(r),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),Te(()=>{var d;const u=s().find(p=>p.ref.current===document.activeElement);u==null||(d=u.ref.current)===null||d===void 0||d.scrollIntoView({block:"nearest"})},[s]),l.createElement(ae.div,O({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:Q(o.onPointerMove,()=>{var d;(d=a.onItemLeave)===null||d===void 0||d.call(a),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:Q(o.onPointerLeave,()=>{c()})}))}),Ck=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(ae.div,O({"aria-hidden":!0},n,{ref:t}))}),tb=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),a=fe(t,o),i=so(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==r&&u){const p=new Event("change",{bubbles:!0});u.call(s,r),s.dispatchEvent(p)}},[i,r]),l.createElement(En,{asChild:!0},l.createElement("select",O({},n,{ref:a,defaultValue:r})))});tb.displayName="BubbleSelect";function rb(e){const t=Oe(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(i=>{const s=r.current+i;t(s),function c(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),a=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,a]}function nb(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let i=Ik(e,Math.max(a,0));o.length===1&&(i=i.filter(d=>d!==r));const c=i.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function Ik(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const Ok=ak,Ak=ck,Mk=uk,Nk=fk,zk=bk,Fk=$k,Kk=xk,Lk=Ek,Vk=Sk,jk=Tk,Rk=kk,Bk=Dk,Uk=Ck,ob=D(sk)`
|
|
1608
|
+
`;function RT({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=ot(),i=t??a,s=ho();return S(LT,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function BT({disabled:e,...t}){const r=ot(),n=e??r,o=ho();return S(Xh,{...t,...o,disabled:n,children:S(Jh,{})})}function Qh(e,[t,r]){return Math.min(r,Math.max(t,e))}const WT=[" ","Enter","ArrowUp","ArrowDown"],UT=[" ","Enter"],Io="Select",[Oo,Ao,HT]=Qi(Io),[xr,BC]=Oe(Io,[HT,nr]),ds=nr(),[GT,Gt]=xr(Io),[qT,YT]=xr(Io),ZT=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:l,dir:d,name:u,autoComplete:p,disabled:m,required:h}=e,b=ds(t),[g,v]=c.useState(null),[$,x]=c.useState(null),[_,y]=c.useState(!1),I=Eo(d),[N=!1,E]=Ye({prop:n,defaultProp:o,onChange:a}),[D,M]=Ye({prop:i,defaultProp:s,onChange:l}),V=c.useRef(null),C=g?Boolean(g.closest("form")):!0,[L,P]=c.useState(new Set),T=Array.from(L).map(G=>G.props.value).join(";");return c.createElement(wa,b,c.createElement(GT,{required:h,scope:t,trigger:g,onTriggerChange:v,valueNode:$,onValueNodeChange:x,valueNodeHasChildren:_,onValueNodeHasChildrenChange:y,contentId:Je(),value:D,onValueChange:M,open:N,onOpenChange:E,dir:I,triggerPointerDownPosRef:V,disabled:m},c.createElement(Oo.Provider,{scope:t},c.createElement(qT,{scope:e.__scopeSelect,onNativeOptionAdd:c.useCallback(G=>{P(le=>new Set(le).add(G))},[]),onNativeOptionRemove:c.useCallback(G=>{P(le=>{const R=new Set(le);return R.delete(G),R})},[])},r)),C?c.createElement(sb,{key:T,"aria-hidden":!0,required:h,tabIndex:-1,name:u,autoComplete:p,value:D,onChange:G=>M(G.target.value),disabled:m},D===void 0?c.createElement("option",{value:""}):null,Array.from(L)):null))},XT="SelectTrigger",JT=c.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=ds(r),i=Gt(XT,r),s=i.disabled||n,l=fe(t,i.onTriggerChange),d=Ao(r),[u,p,m]=lb(b=>{const g=d().filter(x=>!x.disabled),v=g.find(x=>x.value===i.value),$=cb(g,b,v);$!==void 0&&i.onValueChange($.value)}),h=()=>{s||(i.onOpenChange(!0),m())};return c.createElement(Ea,A({asChild:!0},a),c.createElement(ae.button,A({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:l,onClick:Q(o.onClick,b=>{b.currentTarget.focus()}),onPointerDown:Q(o.onPointerDown,b=>{const g=b.target;g.hasPointerCapture(b.pointerId)&&g.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(h(),i.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)},b.preventDefault())}),onKeyDown:Q(o.onKeyDown,b=>{const g=u.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&p(b.key),!(g&&b.key===" ")&&WT.includes(b.key)&&(h(),b.preventDefault())})})))}),QT="SelectValue",ek=c.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,l=Gt(QT,r),{onValueNodeHasChildrenChange:d}=l,u=a!==void 0,p=fe(t,l.onValueNodeChange);return Te(()=>{d(u)},[d,u]),c.createElement(ae.span,A({},s,{ref:p,style:{pointerEvents:"none"}}),l.value===void 0&&i!==void 0?i:a)}),tk=c.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return c.createElement(ae.span,A({"aria-hidden":!0},o,{ref:t}),n||"▼")}),rk=e=>c.createElement(Kr,A({asChild:!0},e)),_r="SelectContent",nk=c.forwardRef((e,t)=>{const r=Gt(_r,e.__scopeSelect),[n,o]=c.useState();if(Te(()=>{o(new DocumentFragment)},[]),!r.open){const a=n;return a?st.createPortal(c.createElement(eb,{scope:e.__scopeSelect},c.createElement(Oo.Slot,{scope:e.__scopeSelect},c.createElement("div",null,e.children))),a):null}return c.createElement(ok,A({},e,{ref:t}))}),yt=10,[eb,qt]=xr(_r),ok=c.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:i,side:s,sideOffset:l,align:d,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:h,sticky:b,hideWhenDetached:g,avoidCollisions:v,...$}=e,x=Gt(_r,r),[_,y]=c.useState(null),[I,N]=c.useState(null),E=fe(t,B=>y(B)),[D,M]=c.useState(null),[V,C]=c.useState(null),L=Ao(r),[P,T]=c.useState(!1),G=c.useRef(!1);c.useEffect(()=>{if(_)return ca(_)},[_]),na();const le=c.useCallback(B=>{const[Y,...te]=L().map(re=>re.ref.current),[J]=te.slice(-1),ie=document.activeElement;for(const re of B)if(re===ie||(re==null||re.scrollIntoView({block:"nearest"}),re===Y&&I&&(I.scrollTop=0),re===J&&I&&(I.scrollTop=I.scrollHeight),re==null||re.focus(),document.activeElement!==ie))return},[L,I]),R=c.useCallback(()=>le([D,_]),[le,D,_]);c.useEffect(()=>{P&&R()},[P,R]);const{onOpenChange:oe,triggerPointerDownPosRef:q}=x;c.useEffect(()=>{if(_){let B={x:0,y:0};const Y=J=>{var ie,re,xe,ke;B={x:Math.abs(Math.round(J.pageX)-((ie=(re=q.current)===null||re===void 0?void 0:re.x)!==null&&ie!==void 0?ie:0)),y:Math.abs(Math.round(J.pageY)-((xe=(ke=q.current)===null||ke===void 0?void 0:ke.y)!==null&&xe!==void 0?xe:0))}},te=J=>{B.x<=10&&B.y<=10?J.preventDefault():_.contains(J.target)||oe(!1),document.removeEventListener("pointermove",Y),q.current=null};return q.current!==null&&(document.addEventListener("pointermove",Y),document.addEventListener("pointerup",te,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Y),document.removeEventListener("pointerup",te,{capture:!0})}}},[_,oe,q]),c.useEffect(()=>{const B=()=>oe(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[oe]);const[z,O]=lb(B=>{const Y=L().filter(ie=>!ie.disabled),te=Y.find(ie=>ie.ref.current===document.activeElement),J=cb(Y,B,te);J&&setTimeout(()=>J.ref.current.focus())}),W=c.useCallback((B,Y,te)=>{const J=!G.current&&!te;(x.value!==void 0&&x.value===Y||J)&&(M(B),J&&(G.current=!0))},[x.value]),Z=c.useCallback(()=>_==null?void 0:_.focus(),[_]),X=c.useCallback((B,Y,te)=>{const J=!G.current&&!te;(x.value!==void 0&&x.value===Y||J)&&C(B)},[x.value]),ce=n==="popper"?tb:ak,ne=ce===tb?{side:s,sideOffset:l,align:d,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:h,sticky:b,hideWhenDetached:g,avoidCollisions:v}:{};return c.createElement(eb,{scope:r,content:_,viewport:I,onViewportChange:N,itemRefCallback:W,selectedItem:D,onItemLeave:Z,itemTextRefCallback:X,focusSelectedItem:R,selectedItemText:V,position:n,isPositioned:P,searchRef:z},c.createElement(sa,{as:Ot,allowPinchZoom:!0},c.createElement(ta,{asChild:!0,trapped:x.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:Q(o,B=>{var Y;(Y=x.trigger)===null||Y===void 0||Y.focus({preventScroll:!0}),B.preventDefault()})},c.createElement(zr,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>x.onOpenChange(!1)},c.createElement(ce,A({role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:B=>B.preventDefault()},$,ne,{onPlaced:()=>T(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...$.style},onKeyDown:Q($.onKeyDown,B=>{const Y=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!Y&&B.key.length===1&&O(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let J=L().filter(ie=>!ie.disabled).map(ie=>ie.ref.current);if(["ArrowUp","End"].includes(B.key)&&(J=J.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const ie=B.target,re=J.indexOf(ie);J=J.slice(re+1)}setTimeout(()=>le(J)),B.preventDefault()}})}))))))}),ak=c.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,a=Gt(_r,r),i=qt(_r,r),[s,l]=c.useState(null),[d,u]=c.useState(null),p=fe(t,E=>u(E)),m=Ao(r),h=c.useRef(!1),b=c.useRef(!0),{viewport:g,selectedItem:v,selectedItemText:$,focusSelectedItem:x}=i,_=c.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&d&&g&&v&&$){const E=a.trigger.getBoundingClientRect(),D=d.getBoundingClientRect(),M=a.valueNode.getBoundingClientRect(),V=$.getBoundingClientRect();if(a.dir!=="rtl"){const ie=V.left-D.left,re=M.left-ie,xe=E.left-re,ke=E.width+xe,We=Math.max(ke,D.width),Fe=window.innerWidth-yt,Ue=Qh(re,[yt,Fe-We]);s.style.minWidth=ke+"px",s.style.left=Ue+"px"}else{const ie=D.right-V.right,re=window.innerWidth-M.right-ie,xe=window.innerWidth-E.right-re,ke=E.width+xe,We=Math.max(ke,D.width),Fe=window.innerWidth-yt,Ue=Qh(re,[yt,Fe-We]);s.style.minWidth=ke+"px",s.style.right=Ue+"px"}const C=m(),L=window.innerHeight-yt*2,P=g.scrollHeight,T=window.getComputedStyle(d),G=parseInt(T.borderTopWidth,10),le=parseInt(T.paddingTop,10),R=parseInt(T.borderBottomWidth,10),oe=parseInt(T.paddingBottom,10),q=G+le+P+oe+R,z=Math.min(v.offsetHeight*5,q),O=window.getComputedStyle(g),W=parseInt(O.paddingTop,10),Z=parseInt(O.paddingBottom,10),X=E.top+E.height/2-yt,ce=L-X,ne=v.offsetHeight/2,B=v.offsetTop+ne,Y=G+le+B,te=q-Y;if(Y<=X){const ie=v===C[C.length-1].ref.current;s.style.bottom="0px";const re=d.clientHeight-g.offsetTop-g.offsetHeight,xe=Math.max(ce,ne+(ie?Z:0)+re+R),ke=Y+xe;s.style.height=ke+"px"}else{const ie=v===C[0].ref.current;s.style.top="0px";const xe=Math.max(X,G+g.offsetTop+(ie?W:0)+ne)+te;s.style.height=xe+"px",g.scrollTop=Y-X+g.offsetTop}s.style.margin=`${yt}px 0`,s.style.minHeight=z+"px",s.style.maxHeight=L+"px",n==null||n(),requestAnimationFrame(()=>h.current=!0)}},[m,a.trigger,a.valueNode,s,d,g,v,$,a.dir,n]);Te(()=>_(),[_]);const[y,I]=c.useState();Te(()=>{d&&I(window.getComputedStyle(d).zIndex)},[d]);const N=c.useCallback(E=>{E&&b.current===!0&&(_(),x==null||x(),b.current=!1)},[_,x]);return c.createElement(ik,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:h,onScrollButtonChange:N},c.createElement("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:y}},c.createElement(ae.div,A({},o,{ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}}))))}),tb=c.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=yt,...a}=e,i=ds(r);return c.createElement(Sa,A({},i,a,{ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[ik,us]=xr(_r,{}),rb="SelectViewport",sk=c.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=qt(rb,r),a=us(rb,r),i=fe(t,o.onViewportChange),s=c.useRef(0);return c.createElement(c.Fragment,null,c.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),c.createElement(Oo.Slot,{scope:r},c.createElement(ae.div,A({"data-radix-select-viewport":"",role:"presentation"},n,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:Q(n.onScroll,l=>{const d=l.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:p}=a;if(p!=null&&p.current&&u){const m=Math.abs(s.current-d.scrollTop);if(m>0){const h=window.innerHeight-yt*2,b=parseFloat(u.style.minHeight),g=parseFloat(u.style.height),v=Math.max(b,g);if(v<h){const $=v+m,x=Math.min(h,$),_=$-x;u.style.height=x+"px",u.style.bottom==="0px"&&(d.scrollTop=_>0?_:0,u.style.justifyContent="flex-end")}}}s.current=d.scrollTop})}))))}),lk="SelectGroup",[ck,dk]=xr(lk),uk=c.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Je();return c.createElement(ck,{scope:r,id:o},c.createElement(ae.div,A({role:"group","aria-labelledby":o},n,{ref:t})))}),fk="SelectLabel",pk=c.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=dk(fk,r);return c.createElement(ae.div,A({id:o.id},n,{ref:t}))}),fs="SelectItem",[mk,nb]=xr(fs),hk=c.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=Gt(fs,r),l=qt(fs,r),d=s.value===n,[u,p]=c.useState(a??""),[m,h]=c.useState(!1),b=fe(t,$=>{var x;return(x=l.itemRefCallback)===null||x===void 0?void 0:x.call(l,$,n,o)}),g=Je(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return c.createElement(mk,{scope:r,value:n,disabled:o,textId:g,isSelected:d,onItemTextChange:c.useCallback($=>{p(x=>{var _;return x||((_=$==null?void 0:$.textContent)!==null&&_!==void 0?_:"").trim()})},[])},c.createElement(Oo.ItemSlot,{scope:r,value:n,disabled:o,textValue:u},c.createElement(ae.div,A({role:"option","aria-labelledby":g,"data-highlighted":m?"":void 0,"aria-selected":d&&m,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},i,{ref:b,onFocus:Q(i.onFocus,()=>h(!0)),onBlur:Q(i.onBlur,()=>h(!1)),onPointerUp:Q(i.onPointerUp,v),onPointerMove:Q(i.onPointerMove,$=>{if(o){var x;(x=l.onItemLeave)===null||x===void 0||x.call(l)}else $.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Q(i.onPointerLeave,$=>{if($.currentTarget===document.activeElement){var x;(x=l.onItemLeave)===null||x===void 0||x.call(l)}}),onKeyDown:Q(i.onKeyDown,$=>{var x;((x=l.searchRef)===null||x===void 0?void 0:x.current)!==""&&$.key===" "||(UT.includes($.key)&&v(),$.key===" "&&$.preventDefault())})}))))}),Mo="SelectItemText",bk=c.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=Gt(Mo,r),s=qt(Mo,r),l=nb(Mo,r),d=YT(Mo,r),[u,p]=c.useState(null),m=fe(t,$=>p($),l.onItemTextChange,$=>{var x;return(x=s.itemTextRefCallback)===null||x===void 0?void 0:x.call(s,$,l.value,l.disabled)}),h=u==null?void 0:u.textContent,b=c.useMemo(()=>c.createElement("option",{key:l.value,value:l.value,disabled:l.disabled},h),[l.disabled,l.value,h]),{onNativeOptionAdd:g,onNativeOptionRemove:v}=d;return Te(()=>(g(b),()=>v(b)),[g,v,b]),c.createElement(c.Fragment,null,c.createElement(ae.span,A({id:l.textId},a,{ref:m})),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?st.createPortal(a.children,i.valueNode):null)}),gk="SelectItemIndicator",vk=c.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return nb(gk,r).isSelected?c.createElement(ae.span,A({"aria-hidden":!0},n,{ref:t})):null}),ob="SelectScrollUpButton",yk=c.forwardRef((e,t)=>{const r=qt(ob,e.__scopeSelect),n=us(ob,e.__scopeSelect),[o,a]=c.useState(!1),i=fe(t,n.onScrollButtonChange);return Te(()=>{if(r.viewport&&r.isPositioned){let l=function(){const d=s.scrollTop>0;a(d)};const s=r.viewport;return l(),s.addEventListener("scroll",l),()=>s.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?c.createElement(ib,A({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:l}=r;s&&l&&(s.scrollTop=s.scrollTop-l.offsetHeight)}})):null}),ab="SelectScrollDownButton",$k=c.forwardRef((e,t)=>{const r=qt(ab,e.__scopeSelect),n=us(ab,e.__scopeSelect),[o,a]=c.useState(!1),i=fe(t,n.onScrollButtonChange);return Te(()=>{if(r.viewport&&r.isPositioned){let l=function(){const d=s.scrollHeight-s.clientHeight,u=Math.ceil(s.scrollTop)<d;a(u)};const s=r.viewport;return l(),s.addEventListener("scroll",l),()=>s.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?c.createElement(ib,A({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:l}=r;s&&l&&(s.scrollTop=s.scrollTop+l.offsetHeight)}})):null}),ib=c.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=qt("SelectScrollButton",r),i=c.useRef(null),s=Ao(r),l=c.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return c.useEffect(()=>()=>l(),[l]),Te(()=>{var d;const u=s().find(p=>p.ref.current===document.activeElement);u==null||(d=u.ref.current)===null||d===void 0||d.scrollIntoView({block:"nearest"})},[s]),c.createElement(ae.div,A({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:Q(o.onPointerMove,()=>{var d;(d=a.onItemLeave)===null||d===void 0||d.call(a),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:Q(o.onPointerLeave,()=>{l()})}))}),xk=c.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return c.createElement(ae.div,A({"aria-hidden":!0},n,{ref:t}))}),sb=c.forwardRef((e,t)=>{const{value:r,...n}=e,o=c.useRef(null),a=fe(t,o),i=lo(r);return c.useEffect(()=>{const s=o.current,l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==r&&u){const p=new Event("change",{bubbles:!0});u.call(s,r),s.dispatchEvent(p)}},[i,r]),c.createElement(Sn,{asChild:!0},c.createElement("select",A({},n,{ref:a,defaultValue:r})))});sb.displayName="BubbleSelect";function lb(e){const t=Ae(e),r=c.useRef(""),n=c.useRef(0),o=c.useCallback(i=>{const s=r.current+i;t(s),function l(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),a=c.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return c.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,a]}function cb(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let i=_k(e,Math.max(a,0));o.length===1&&(i=i.filter(d=>d!==r));const l=i.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}function _k(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const wk=ZT,Ek=ek,Sk=rk,Pk=nk,Tk=sk,kk=uk,Dk=pk,Ck=hk,Ik=bk,Ok=vk,Ak=yk,Mk=$k,Nk=xk,db=k(JT)`
|
|
1609
1609
|
all: unset;
|
|
1610
1610
|
display: flex;
|
|
1611
1611
|
align-items: center;
|
|
@@ -1637,19 +1637,19 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1637
1637
|
color: ${f.color_fill_primary_disabled};
|
|
1638
1638
|
cursor: not-allowed;
|
|
1639
1639
|
}
|
|
1640
|
-
`,
|
|
1640
|
+
`,zk=k(tk)`
|
|
1641
1641
|
color: ${f.color_fill_secondary_enabled};
|
|
1642
|
-
`,
|
|
1642
|
+
`,Kk=k(Pk)`
|
|
1643
1643
|
font-family: ${f.font_family_sans};
|
|
1644
1644
|
overflow: hidden;
|
|
1645
1645
|
background-color: ${f.color_white};
|
|
1646
1646
|
margin-top: 52px;
|
|
1647
1647
|
border-radius: ${f.border_radius_400};
|
|
1648
1648
|
box-shadow: ${f.elevation_static_high};
|
|
1649
|
-
`,
|
|
1649
|
+
`,Fk=k(Tk)`
|
|
1650
1650
|
padding: ${f.sizing_100};
|
|
1651
1651
|
min-width: 172px;
|
|
1652
|
-
`;function
|
|
1652
|
+
`;function ub({children:e,...t}){return S(Sk,{children:S(Kk,{...t,children:e})})}const Lk=k(Ck)`
|
|
1653
1653
|
all: unset;
|
|
1654
1654
|
font-size: ${f.font_size_100};
|
|
1655
1655
|
line-height: ${f.line_height_129};
|
|
@@ -1673,17 +1673,17 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1673
1673
|
&[data-highlighted] {
|
|
1674
1674
|
background-color: ${f.color_background_white_weak}; /* Static / Background / Weak */
|
|
1675
1675
|
}
|
|
1676
|
-
`,
|
|
1676
|
+
`,Vk=k(Dk)`
|
|
1677
1677
|
padding: 7px ${f.sizing_200};
|
|
1678
1678
|
font-size: ${f.font_size_50};
|
|
1679
1679
|
line-height: ${f.line_height_133};
|
|
1680
1680
|
color: ${f.color_text_weak};
|
|
1681
1681
|
font-style: normal;
|
|
1682
|
-
`,
|
|
1682
|
+
`,jk=k(Nk)`
|
|
1683
1683
|
height: 1px;
|
|
1684
1684
|
background-color: ${f.color_divider_standard};
|
|
1685
1685
|
margin: ${f.spacing_100};
|
|
1686
|
-
`,
|
|
1686
|
+
`,Rk=k(Ok)`
|
|
1687
1687
|
left: 0;
|
|
1688
1688
|
width: 25px;
|
|
1689
1689
|
display: inline-flex;
|
|
@@ -1694,7 +1694,7 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1694
1694
|
line-height: 0;
|
|
1695
1695
|
font-size: ${f.font_size_200};
|
|
1696
1696
|
}
|
|
1697
|
-
`,
|
|
1697
|
+
`,fb=`
|
|
1698
1698
|
display: flex;
|
|
1699
1699
|
align-items: center;
|
|
1700
1700
|
justify-content: center;
|
|
@@ -1702,38 +1702,38 @@ Defaulting to \`${ts}\`.`}function wh(e){return FP.includes(e)}const LP=xh,Eh="T
|
|
|
1702
1702
|
background-color: ${f.color_white};
|
|
1703
1703
|
color: ${f.color_black};
|
|
1704
1704
|
cursor: default;
|
|
1705
|
-
`,
|
|
1706
|
-
${
|
|
1707
|
-
`,
|
|
1708
|
-
${
|
|
1709
|
-
`,
|
|
1705
|
+
`,Bk=k(Ak)`
|
|
1706
|
+
${fb}
|
|
1707
|
+
`,Wk=k(Mk)`
|
|
1708
|
+
${fb}
|
|
1709
|
+
`,pb=wk,mb=db,hb=Ek,bb=zk,Uk=Fk,Hk=kk,gb=Lk,vb=Ik,Gk=Rk,qk=Vk,Yk=jk,yb=Bk,$b=Wk;function Zk({items:e,...t}){return ee(pb,{...t,children:[ee(mb,{"aria-label":"Food",children:[S(hb,{placeholder:"Select"}),S(bb,{children:S(Se.ArrowDropDown,{})})]}),ee(ub,{children:[S(yb,{children:S(Se.ArrowDropUp,{})}),e.map(r=>S(gb,{value:r,children:S(vb,{children:r})},r)),S($b,{children:S(Se.ArrowDropDown,{})})]})]})}function Xk(e){let[t,r]=Kt(xb(e.value),xb(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function xb(e){if(e!=null)return e.toString()}function Jk(e){return e&&e.__esModule?e.default:e}var _b={},wb={};wb={"Clear search":"مسح البحث"};var Eb={};Eb={"Clear search":"Изчистване на търсене"};var Sb={};Sb={"Clear search":"Vymazat hledání"};var Pb={};Pb={"Clear search":"Ryd søgning"};var Tb={};Tb={"Clear search":"Suche zurücksetzen"};var kb={};kb={"Clear search":"Απαλοιφή αναζήτησης"};var Db={};Db={"Clear search":"Clear search"};var Cb={};Cb={"Clear search":"Borrar búsqueda"};var Ib={};Ib={"Clear search":"Tühjenda otsing"};var Ob={};Ob={"Clear search":"Tyhjennä haku"};var Ab={};Ab={"Clear search":"Effacer la recherche"};var Mb={};Mb={"Clear search":"נקה חיפוש"};var Nb={};Nb={"Clear search":"Obriši pretragu"};var zb={};zb={"Clear search":"Keresés törlése"};var Kb={};Kb={"Clear search":"Cancella ricerca"};var Fb={};Fb={"Clear search":"検索をクリア"};var Lb={};Lb={"Clear search":"검색 지우기"};var Vb={};Vb={"Clear search":"Išvalyti iešką"};var jb={};jb={"Clear search":"Notīrīt meklēšanu"};var Rb={};Rb={"Clear search":"Tøm søk"};var Bb={};Bb={"Clear search":"Zoekactie wissen"};var Wb={};Wb={"Clear search":"Wyczyść zawartość wyszukiwania"};var Ub={};Ub={"Clear search":"Limpar pesquisa"};var Hb={};Hb={"Clear search":"Limpar pesquisa"};var Gb={};Gb={"Clear search":"Ştergeţi căutarea"};var qb={};qb={"Clear search":"Очистить поиск"};var Yb={};Yb={"Clear search":"Vymazať vyhľadávanie"};var Zb={};Zb={"Clear search":"Počisti iskanje"};var Xb={};Xb={"Clear search":"Obriši pretragu"};var Jb={};Jb={"Clear search":"Rensa sökning"};var Qb={};Qb={"Clear search":"Aramayı temizle"};var eg={};eg={"Clear search":"Очистити пошук"};var tg={};tg={"Clear search":"清除搜索"};var rg={};rg={"Clear search":"清除搜尋條件"},_b={"ar-AE":wb,"bg-BG":Eb,"cs-CZ":Sb,"da-DK":Pb,"de-DE":Tb,"el-GR":kb,"en-US":Db,"es-ES":Cb,"et-EE":Ib,"fi-FI":Ob,"fr-FR":Ab,"he-IL":Mb,"hr-HR":Nb,"hu-HU":zb,"it-IT":Kb,"ja-JP":Fb,"ko-KR":Lb,"lt-LT":Vb,"lv-LV":jb,"nb-NO":Rb,"nl-NL":Bb,"pl-PL":Wb,"pt-BR":Ub,"pt-PT":Hb,"ro-RO":Gb,"ru-RU":qb,"sk-SK":Yb,"sl-SI":Zb,"sr-SP":Xb,"sv-SE":Jb,"tr-TR":Qb,"uk-UA":eg,"zh-CN":tg,"zh-TW":rg};function Qk(e,t,r){let n=Pt(Jk(_b)),{isDisabled:o,isReadOnly:a,onSubmit:i=()=>{},onClear:s,type:l="search"}=e,d=v=>{const $=v.key;($==="Enter"||$==="Escape")&&v.preventDefault(),!(o||a)&&($==="Enter"&&i(t.value),$==="Escape"&&(t.setValue(""),s&&s()))},u=()=>{t.setValue(""),s&&s()},p=()=>{r.current.focus()},{labelProps:m,inputProps:h,descriptionProps:b,errorMessageProps:g}=co({...e,value:t.value,onChange:t.setValue,onKeyDown:Lt(d,e.onKeyDown),type:l},r);return{labelProps:m,inputProps:{...h,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||a,onPress:u,onPressStart:p},descriptionProps:b,errorMessageProps:g}}var ps={},No={},e7={get exports(){return No},set exports(e){No=e}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(e7);var zo={},t7={get exports(){return zo},set exports(e){zo=e}},ms={},r7={get exports(){return ms},set exports(e){ms=e}};(function(e){function t(r){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(r7),function(e){var t=ms.default;function r(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,i=new WeakMap;return(r=function(l){return l?i:a})(o)}function n(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||t(o)!=="object"&&typeof o!="function")return{default:o};var i=r(a);if(i&&i.has(o))return i.get(o);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in o)if(d!=="default"&&Object.prototype.hasOwnProperty.call(o,d)){var u=l?Object.getOwnPropertyDescriptor(o,d):null;u&&(u.get||u.set)?Object.defineProperty(s,d,u):s[d]=o[d]}return s.default=o,i&&i.set(o,s),s}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(t7);var hs={};function ng(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function Tt(e){return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tt(e)}function bs(e){return e&&Tt(e)==="object"&&e.constructor===Object}function wr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},n=r.clone?A({},e):e;return bs(e)&&bs(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(bs(t[o])&&o in e?n[o]=wr(e[o],t[o],r):n[o]=t[o])}),n}var be={},og={get exports(){return be},set exports(e){be=e}};/*
|
|
1710
1710
|
object-assign
|
|
1711
1711
|
(c) Sindre Sorhus
|
|
1712
1712
|
@license MIT
|
|
1713
|
-
*/var
|
|
1714
|
-
Valid keys: `+JSON.stringify(Object.keys(z),null," "));var re=ie(B,J,X,ce,ne+"."+J,r);if(re)return re}return null}return v(
|
|
1715
|
-
`,space:" "}}function
|
|
1716
|
-
`);return o}return this.key+" "+this.value+";"},e}(),Y7={"@charset":!0,"@import":!0,"@namespace":!0},Z7={onCreateRule:function(t,r,n){return t in Y7?new q7(t,r,n):null}},yg=[O7,z7,V7,R7,W7,G7,Z7],X7={process:!0},$g={force:!0,process:!0},Fo=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,a){var i=this.options,s=i.parent,c=i.sheet,d=i.jss,u=i.Renderer,p=i.generateId,m=i.scoped,h=O({classes:this.classes,parent:s,sheet:c,jss:d,Renderer:u,generateId:p,scoped:m,name:n,keyframes:this.keyframes,selector:void 0},a),b=n;n in this.raw&&(b=n+"-d"+this.counter++),this.raw[b]=o,b in this.classes&&(h.selector="."+Ss(this.classes[b]));var g=Es(b,o,h);if(!g)return null;this.register(g);var v=h.index===void 0?this.index.length:h.index;return this.index.splice(v,0,g),g},t.replace=function(n,o,a){var i=this.get(n),s=this.index.indexOf(i);i&&this.remove(i);var c=a;return s!==-1&&(c=O({},a,{index:s})),this.add(n,o,c)},t.get=function(n){return this.map[n]},t.remove=function(n){this.unregister(n),delete this.raw[n.key],this.index.splice(this.index.indexOf(n),1)},t.indexOf=function(n){return this.index.indexOf(n)},t.process=function(){var n=this.options.jss.plugins;this.index.slice(0).forEach(n.onProcessRule,n)},t.register=function(n){this.map[n.key]=n,n instanceof Ps?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Ds&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof Ps?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Ds&&delete this.keyframes[n.name]},t.update=function(){var n,o,a;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(n=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],a=arguments.length<=2?void 0:arguments[2]):(o=arguments.length<=0?void 0:arguments[0],a=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),o,a);else for(var i=0;i<this.index.length;i++)this.updateOne(this.index[i],o,a)},t.updateOne=function(n,o,a){a===void 0&&(a=X7);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var d=n.style;if(s.onUpdate(o,n,c,a),a.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var u in n.style){var p=n.style[u],m=d[u];p!==m&&n.prop(u,p,$g)}for(var h in d){var b=n.style[h],g=d[h];b==null&&b!==g&&n.prop(h,null,$g)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Er(n),c=s.linebreak,d=0;d<this.index.length;d++){var u=this.index[d],p=u.toString(n);!p&&!i||(o&&(o+=c),o+=p)}return o},e}(),_g=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=O({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new Fo(this.options);for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(n,o,a){var i=this.queue;this.attached&&!i&&(this.queue=[]);var s=this.rules.add(n,o,a);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(i?i.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},t.replaceRule=function(n,o,a){var i=this.rules.get(n);if(!i)return this.addRule(n,o,a);var s=this.rules.replace(n,o,a);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?i.renderable&&this.renderer.replaceRule(i.renderable,s):this.renderer.deleteRule(i)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,o){var a=[];for(var i in n){var s=this.addRule(i,n[i],o);s&&a.push(s)}return a},t.getRule=function(n){return this.rules.get(n)},t.deleteRule=function(n){var o=typeof n=="object"?n:this.rules.get(n);return!o||this.attached&&!o.renderable?!1:(this.rules.remove(o),this.attached&&o.renderable&&this.renderer?this.renderer.deleteRule(o.renderable):!0)},t.indexOf=function(n){return this.rules.indexOf(n)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var n;return(n=this.rules).update.apply(n,arguments),this},t.updateOne=function(n,o,a){return this.rules.updateOne(n,o,a),this},t.toString=function(n){return this.rules.toString(n)},e}(),J7=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,o,a){for(var i=0;i<this.registry.onCreateRule.length;i++){var s=this.registry.onCreateRule[i](n,o,a);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var o=n.options.sheet,a=0;a<this.registry.onProcessRule.length;a++)this.registry.onProcessRule[a](n,o);n.style&&this.onProcessStyle(n.style,n,o),n.isProcessed=!0}},t.onProcessStyle=function(n,o,a){for(var i=0;i<this.registry.onProcessStyle.length;i++)o.style=this.registry.onProcessStyle[i](o.style,o,a)},t.onProcessSheet=function(n){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](n)},t.onUpdate=function(n,o,a,i){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,o,a,i)},t.onChangeValue=function(n,o,a){for(var i=n,s=0;s<this.registry.onChangeValue.length;s++)i=this.registry.onChangeValue[s](i,o,a);return i},t.use=function(n,o){o===void 0&&(o={queue:"external"});var a=this.plugins[o.queue];a.indexOf(n)===-1&&(a.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(i,s){for(var c in s)c in i?i[c].push(s[c]):process.env.NODE_ENV!=="production"&&Be(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Q7=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var o=this.registry,a=n.options.index;if(o.indexOf(n)===-1){if(o.length===0||a>=this.index){o.push(n);return}for(var i=0;i<o.length;i++)if(o[i].options.index>a){o.splice(i,0,n);return}}},t.reset=function(){this.registry=[]},t.remove=function(n){var o=this.registry.indexOf(n);this.registry.splice(o,1)},t.toString=function(n){for(var o=n===void 0?{}:n,a=o.attached,i=cg(o,["attached"]),s=Er(i),c=s.linebreak,d="",u=0;u<this.registry.length;u++){var p=this.registry[u];a!=null&&p.attached!==a||(d&&(d+=c),d+=p.toString(i))}return d},fg(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),un=new Q7,Is=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Os="2f1acc6c3a606b082e5eef5e54414ffb";Is[Os]==null&&(Is[Os]=0);var xg=Is[Os]++,eD=1e10,wg=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>eD&&process.env.NODE_ENV!=="production"&&Be(!1,"[JSS] You might have a memory leak. Rule counter is at "+r+".");var s="",c="";return i&&(i.options.classNamePrefix&&(c=i.options.classNamePrefix),i.options.jss.id!=null&&(s=String(i.options.jss.id))),t.minify?""+(c||"c")+xg+s+r:c+a.key+"-"+xg+(s?"-"+s:"")+"-"+r};return n},Eg=function(t){var r;return function(){return r||(r=t()),r}},tD=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},rD=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=Zt(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,o);else{var a=o?o.indexOf("!important"):-1,i=a>-1?o.substr(0,a-1):o;t.style.setProperty(r,i,a>-1?"important":"")}}catch{return!1}return!0},nD=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Be(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},oD=function(t,r){return t.selectorText=r,t.selectorText===r},Sg=Eg(function(){return document.querySelector("head")});function aD(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}function iD(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}function sD(e){for(var t=Sg(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(n.nodeType===8&&n.nodeValue.trim()===e)return n}return null}function lD(e){var t=un.registry;if(t.length>0){var r=aD(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=iD(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&typeof n=="string"){var o=sD(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Be(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function cD(e,t){var r=t.insertionPoint,n=lD(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var o=r,a=o.parentNode;a?a.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&Be(!1,"[JSS] Insertion point is not in the DOM.");return}Sg().appendChild(e)}var dD=Eg(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Pg=function(t,r,n){try{"insertRule"in t?t.insertRule(r,n):"appendRule"in t&&t.appendRule(r)}catch(o){return process.env.NODE_ENV!=="production"&&Be(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},Tg=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},uD=function(){var t=document.createElement("style");return t.textContent=`
|
|
1717
|
-
`,t},
|
|
1713
|
+
*/var gs,ag;function n7(){if(ag)return gs;ag=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function o(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(i).map(function(u){return i[u]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(u){d[u]=u}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return gs=o()?Object.assign:function(a,i){for(var s,l=n(a),d,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var p in s)t.call(s,p)&&(l[p]=s[p]);if(e){d=e(s);for(var m=0;m<d.length;m++)r.call(s,d[m])&&(l[d[m]]=s[d[m]])}}return l},gs}var vs,ig;function ys(){if(ig)return vs;ig=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return vs=e,vs}var $s,sg;function lg(){return sg||(sg=1,$s=Function.call.bind(Object.prototype.hasOwnProperty)),$s}var xs,cg;function o7(){if(cg)return xs;cg=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ys(),r={},n=lg();e=function(a){var i="Warning: "+a;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(a,i,s,l,d){if(process.env.NODE_ENV!=="production"){for(var u in a)if(n(a,u)){var p;try{if(typeof a[u]!="function"){var m=Error((l||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=a[u](i,u,l,s,null,t)}catch(b){p=b}if(p&&!(p instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var h=d?d():"";e("Failed "+s+" type: "+p.message+(h??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},xs=o,xs}var _s,dg;function a7(){if(dg)return _s;dg=1;var e=Xt,t=n7(),r=ys(),n=lg(),o=o7(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function i(){return null}return _s=function(s,l){var d=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function p(z){var O=z&&(d&&z[d]||z[u]);if(typeof O=="function")return O}var m="<<anonymous>>",h={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:x(),arrayOf:_,element:y(),elementType:I(),instanceOf:N,node:V(),objectOf:D,oneOf:E,oneOfType:M,shape:L,exact:P};function b(z,O){return z===O?z!==0||1/z===1/O:z!==z&&O!==O}function g(z,O){this.message=z,this.data=O&&typeof O=="object"?O:{},this.stack=""}g.prototype=Error.prototype;function v(z){if(process.env.NODE_ENV!=="production")var O={},W=0;function Z(ce,ne,B,Y,te,J,ie){if(Y=Y||m,J=J||B,ie!==r){if(l){var re=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw re.name="Invariant Violation",re}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var xe=Y+":"+B;!O[xe]&&W<3&&(a("You are manually calling a React.PropTypes validation function for the `"+J+"` prop on `"+Y+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),O[xe]=!0,W++)}}return ne[B]==null?ce?ne[B]===null?new g("The "+te+" `"+J+"` is marked as required "+("in `"+Y+"`, but its value is `null`.")):new g("The "+te+" `"+J+"` is marked as required in "+("`"+Y+"`, but its value is `undefined`.")):null:z(ne,B,Y,te,J)}var X=Z.bind(null,!1);return X.isRequired=Z.bind(null,!0),X}function $(z){function O(W,Z,X,ce,ne,B){var Y=W[Z],te=le(Y);if(te!==z){var J=R(Y);return new g("Invalid "+ce+" `"+ne+"` of type "+("`"+J+"` supplied to `"+X+"`, expected ")+("`"+z+"`."),{expectedType:z})}return null}return v(O)}function x(){return v(i)}function _(z){function O(W,Z,X,ce,ne){if(typeof z!="function")return new g("Property `"+ne+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var B=W[Z];if(!Array.isArray(B)){var Y=le(B);return new g("Invalid "+ce+" `"+ne+"` of type "+("`"+Y+"` supplied to `"+X+"`, expected an array."))}for(var te=0;te<B.length;te++){var J=z(B,te,X,ce,ne+"["+te+"]",r);if(J instanceof Error)return J}return null}return v(O)}function y(){function z(O,W,Z,X,ce){var ne=O[W];if(!s(ne)){var B=le(ne);return new g("Invalid "+X+" `"+ce+"` of type "+("`"+B+"` supplied to `"+Z+"`, expected a single ReactElement."))}return null}return v(z)}function I(){function z(O,W,Z,X,ce){var ne=O[W];if(!e.isValidElementType(ne)){var B=le(ne);return new g("Invalid "+X+" `"+ce+"` of type "+("`"+B+"` supplied to `"+Z+"`, expected a single ReactElement type."))}return null}return v(z)}function N(z){function O(W,Z,X,ce,ne){if(!(W[Z]instanceof z)){var B=z.name||m,Y=q(W[Z]);return new g("Invalid "+ce+" `"+ne+"` of type "+("`"+Y+"` supplied to `"+X+"`, expected ")+("instance of `"+B+"`."))}return null}return v(O)}function E(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),i;function O(W,Z,X,ce,ne){for(var B=W[Z],Y=0;Y<z.length;Y++)if(b(B,z[Y]))return null;var te=JSON.stringify(z,function(ie,re){var xe=R(re);return xe==="symbol"?String(re):re});return new g("Invalid "+ce+" `"+ne+"` of value `"+String(B)+"` "+("supplied to `"+X+"`, expected one of "+te+"."))}return v(O)}function D(z){function O(W,Z,X,ce,ne){if(typeof z!="function")return new g("Property `"+ne+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var B=W[Z],Y=le(B);if(Y!=="object")return new g("Invalid "+ce+" `"+ne+"` of type "+("`"+Y+"` supplied to `"+X+"`, expected an object."));for(var te in B)if(n(B,te)){var J=z(B,te,X,ce,ne+"."+te,r);if(J instanceof Error)return J}return null}return v(O)}function M(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var O=0;O<z.length;O++){var W=z[O];if(typeof W!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+oe(W)+" at index "+O+"."),i}function Z(X,ce,ne,B,Y){for(var te=[],J=0;J<z.length;J++){var ie=z[J],re=ie(X,ce,ne,B,Y,r);if(re==null)return null;re.data&&n(re.data,"expectedType")&&te.push(re.data.expectedType)}var xe=te.length>0?", expected one of type ["+te.join(", ")+"]":"";return new g("Invalid "+B+" `"+Y+"` supplied to "+("`"+ne+"`"+xe+"."))}return v(Z)}function V(){function z(O,W,Z,X,ce){return T(O[W])?null:new g("Invalid "+X+" `"+ce+"` supplied to "+("`"+Z+"`, expected a ReactNode."))}return v(z)}function C(z,O,W,Z,X){return new g((z||"React class")+": "+O+" type `"+W+"."+Z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+X+"`.")}function L(z){function O(W,Z,X,ce,ne){var B=W[Z],Y=le(B);if(Y!=="object")return new g("Invalid "+ce+" `"+ne+"` of type `"+Y+"` "+("supplied to `"+X+"`, expected `object`."));for(var te in z){var J=z[te];if(typeof J!="function")return C(X,ce,ne,te,R(J));var ie=J(B,te,X,ce,ne+"."+te,r);if(ie)return ie}return null}return v(O)}function P(z){function O(W,Z,X,ce,ne){var B=W[Z],Y=le(B);if(Y!=="object")return new g("Invalid "+ce+" `"+ne+"` of type `"+Y+"` "+("supplied to `"+X+"`, expected `object`."));var te=t({},W[Z],z);for(var J in te){var ie=z[J];if(n(z,J)&&typeof ie!="function")return C(X,ce,ne,J,R(ie));if(!ie)return new g("Invalid "+ce+" `"+ne+"` key `"+J+"` supplied to `"+X+"`.\nBad object: "+JSON.stringify(W[Z],null," ")+`
|
|
1714
|
+
Valid keys: `+JSON.stringify(Object.keys(z),null," "));var re=ie(B,J,X,ce,ne+"."+J,r);if(re)return re}return null}return v(O)}function T(z){switch(typeof z){case"number":case"string":case"undefined":return!0;case"boolean":return!z;case"object":if(Array.isArray(z))return z.every(T);if(z===null||s(z))return!0;var O=p(z);if(O){var W=O.call(z),Z;if(O!==z.entries){for(;!(Z=W.next()).done;)if(!T(Z.value))return!1}else for(;!(Z=W.next()).done;){var X=Z.value;if(X&&!T(X[1]))return!1}}else return!1;return!0;default:return!1}}function G(z,O){return z==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function le(z){var O=typeof z;return Array.isArray(z)?"array":z instanceof RegExp?"object":G(O,z)?"symbol":O}function R(z){if(typeof z>"u"||z===null)return""+z;var O=le(z);if(O==="object"){if(z instanceof Date)return"date";if(z instanceof RegExp)return"regexp"}return O}function oe(z){var O=R(z);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function q(z){return!z.constructor||!z.constructor.name?m:z.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},_s}var ws,ug;function i7(){if(ug)return ws;ug=1;var e=ys();function t(){}function r(){}return r.resetWarningCache=t,ws=function(){function n(i,s,l,d,u,p){if(p!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function o(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},ws}if(process.env.NODE_ENV!=="production"){var s7=Xt,l7=!0;og.exports=a7()(s7.isElement,l7)}else og.exports=i7()();function c7(e,t){if(Tt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Tt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fg(e){var t=c7(e,"string");return Tt(t)==="symbol"?t:String(t)}function sn(e,t,r){return t=fg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d7="exact-prop: ";function u7(e){return process.env.NODE_ENV==="production"?e:A({},e,sn({},d7,function(t){var r=Object.keys(t).filter(function(n){return!e.hasOwnProperty(n)});return r.length>0?new Error("The following props are not supported: ".concat(r.map(function(n){return"`".concat(n,"`")}).join(", "),". Please remove them.")):null}))}function Ko(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var f7=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function p7(e){var t="".concat(e).match(f7),r=t&&t[1];return r||""}function pg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||p7(e)||t}function mg(e,t,r){var n=pg(t);return e.displayName||(n!==""?"".concat(r,"(").concat(n,")"):r)}function ln(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return pg(e,"Component");if(Tt(e)==="object")switch(e.$$typeof){case Xt.ForwardRef:return mg(e,e.render,"ForwardRef");case Xt.Memo:return mg(e,e.type,"memo");default:return}}}function Es(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":Ko(7));return e.charAt(0).toUpperCase()+e.slice(1)}function m7(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(n,o){return o==null?n:(process.env.NODE_ENV!=="production"&&typeof o!="function"&&console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null."),function(){for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];n.apply(this,s),o.apply(this,s)})},function(){})}function hg(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function at(e,t){if(e==null)return{};var r=hg(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var h7=typeof Symbol=="function"&&Symbol.for;const b7=h7?Symbol.for("mui.nested"):"__THEME_NESTED__";var g7=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function v7(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.disableGlobal,r=t===void 0?!1:t,n=e.productionPrefix,o=n===void 0?"jss":n,a=e.seed,i=a===void 0?"":a,s=i===""?"":"".concat(i,"-"),l=0,d=function(){return l+=1,process.env.NODE_ENV!=="production"&&l>=1e10&&console.warn(["Material-UI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),l};return function(u,p){var m=p.options.name;if(m&&m.indexOf("Mui")===0&&!p.options.link&&!r){if(g7.indexOf(u.key)!==-1)return"Mui-".concat(u.key);var h="".concat(s).concat(m,"-").concat(u.key);return!p.options.theme[b7]||i!==""?h:"".concat(h,"-").concat(d())}if(process.env.NODE_ENV==="production")return"".concat(s).concat(o).concat(d());var b="".concat(u.key,"-").concat(d());return p.options.classNamePrefix?"".concat(s).concat(p.options.classNamePrefix,"-").concat(b):"".concat(s).concat(b)}}function y7(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o=t.props[r],a;for(a in o)n[a]===void 0&&(n[a]=o[a]);return n}var $7=process.env.NODE_ENV==="production";function Be(e,t){if(!$7){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var bg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cn=(typeof window>"u"?"undefined":bg(window))==="object"&&(typeof document>"u"?"undefined":bg(document))==="object"&&document.nodeType===9;function gg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,fg(n.key),n)}}function vg(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ss(e,t){return Ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Ss(e,t)}function yg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ss(e,t)}function $g(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var x7={}.constructor;function Ps(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Ps);if(e.constructor!==x7)return e;var t={};for(var r in e)t[r]=Ps(e[r]);return t}function Ts(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,o=Ps(t),a=n.plugins.onCreateRule(e,o,r);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&Be(!1,"[JSS] Unknown rule "+e),null)}var xg=function(t,r){for(var n="",o=0;o<t.length&&t[o]!=="!important";o++)n&&(n+=r),n+=t[o];return n},Yt=function(t){if(!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&t[n]!=="!important";n++)r&&(r+=", "),r+=xg(t[n]," ");else r=xg(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function Er(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
|
|
1715
|
+
`,space:" "}}function dn(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function un(e,t,r){r===void 0&&(r={});var n="";if(!t)return n;var o=r,a=o.indent,i=a===void 0?0:a,s=t.fallbacks;r.format===!1&&(i=-1/0);var l=Er(r),d=l.linebreak,u=l.space;if(e&&i++,s)if(Array.isArray(s))for(var p=0;p<s.length;p++){var m=s[p];for(var h in m){var b=m[h];b!=null&&(n&&(n+=d),n+=dn(h+":"+u+Yt(b)+";",i))}}else for(var g in s){var v=s[g];v!=null&&(n&&(n+=d),n+=dn(g+":"+u+Yt(v)+";",i))}for(var $ in t){var x=t[$];x!=null&&$!=="fallbacks"&&(n&&(n+=d),n+=dn($+":"+u+Yt(x)+";",i))}return!n&&!r.allowEmpty||!e?n:(i--,n&&(n=""+d+n+d),dn(""+e+u+"{"+n,i)+dn("}",i))}var _7=/([[\].#*$><+~=|^:(),"'`\s])/g,_g=typeof CSS<"u"&&CSS.escape,ks=function(e){return _g?_g(e):e.replace(_7,"\\$1")},wg=function(){function e(r,n,o){this.type="style",this.isProcessed=!1;var a=o.sheet,i=o.Renderer;this.key=r,this.options=o,this.style=n,a?this.renderer=a.renderer:i&&(this.renderer=new i)}var t=e.prototype;return t.prop=function(n,o,a){if(o===void 0)return this.style[n];var i=a?a.force:!1;if(!i&&this.style[n]===o)return this;var s=o;(!a||a.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(o,n,this));var l=s==null||s===!1,d=n in this.style;if(l&&!d&&!i)return this;var u=l&&d;if(u?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,s),this;var p=this.options.sheet;return p&&p.attached&&process.env.NODE_ENV!=="production"&&Be(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),Ds=function(e){yg(t,e);function t(n,o,a){var i;i=e.call(this,n,o,a)||this;var s=a.selector,l=a.scoped,d=a.sheet,u=a.generateId;return s?i.selectorText=s:l!==!1&&(i.id=u($g($g(i)),d),i.selectorText="."+ks(i.id)),i}var r=t.prototype;return r.applyTo=function(o){var a=this.renderer;if(a){var i=this.toJSON();for(var s in i)a.setProperty(o,s,i[s])}return this},r.toJSON=function(){var o={};for(var a in this.style){var i=this.style[a];typeof i!="object"?o[a]=i:Array.isArray(i)&&(o[a]=Yt(i))}return o},r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?A({},o,{allowEmpty:!0}):o;return un(this.selectorText,this.style,s)},vg(t,[{key:"selector",set:function(o){if(o!==this.selectorText){this.selectorText=o;var a=this.renderer,i=this.renderable;if(!(!i||!a)){var s=a.setSelector(i,o);s||a.replaceRule(i,this)}}},get:function(){return this.selectorText}}]),t}(wg),w7={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new Ds(t,r,n)}},Cs={indent:1,children:!0},E7=/@([\w-]+)/,S7=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var a=r.match(E7);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new Fo(A({},o,{parent:this}));for(var i in n)this.rules.add(i,n[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i?(this.options.jss.plugins.onProcessRule(i),i):null},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.toString=function(n){n===void 0&&(n=Cs);var o=Er(n),a=o.linebreak;if(n.indent==null&&(n.indent=Cs.indent),n.children==null&&(n.children=Cs.children),n.children===!1)return this.query+" {}";var i=this.rules.toString(n);return i?this.query+" {"+a+i+a+"}":""},e}(),P7=/@media|@supports\s+/,T7={onCreateRule:function(t,r,n){return P7.test(t)?new S7(t,r,n):null}},Is={indent:1,children:!0},k7=/@keyframes\s+([\w-]+)/,Os=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=r.match(k7);a&&a[1]?this.name=a[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&Be(!1,"[JSS] Bad keyframes name "+r)),this.key=this.type+"-"+this.name,this.options=o;var i=o.scoped,s=o.sheet,l=o.generateId;this.id=i===!1?this.name:ks(l(this,s)),this.rules=new Fo(A({},o,{parent:this}));for(var d in n)this.rules.add(d,n[d],A({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=Is);var o=Er(n),a=o.linebreak;if(n.indent==null&&(n.indent=Is.indent),n.children==null&&(n.children=Is.children),n.children===!1)return this.at+" "+this.id+" {}";var i=this.rules.toString(n);return i&&(i=""+a+i+a),this.at+" "+this.id+" {"+i+"}"},e}(),D7=/@keyframes\s+/,C7=/\$([\w-]+)/g,As=function(t,r){return typeof t=="string"?t.replace(C7,function(n,o){return o in r?r[o]:(process.env.NODE_ENV!=="production"&&Be(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),n)}):t},Eg=function(t,r,n){var o=t[r],a=As(o,n);a!==o&&(t[r]=a)},I7={onCreateRule:function(t,r,n){return typeof t=="string"&&D7.test(t)?new Os(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&Eg(t,"animation-name",n.keyframes),"animation"in t&&Eg(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return As(t,o.keyframes);case"animation-name":return As(t,o.keyframes);default:return t}}},O7=function(e){yg(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?A({},o,{allowEmpty:!0}):o;return un(this.key,this.style,s)},t}(wg),A7={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new O7(t,r,n):null}},M7=function(){function e(r,n,o){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){var o=Er(n),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",s=0;s<this.style.length;s++)i+=un(this.at,this.style[s]),this.style[s+1]&&(i+=a);return i}return un(this.at,this.style,n)},e}(),N7=/@font-face/,z7={onCreateRule:function(t,r,n){return N7.test(t)?new M7(t,r,n):null}},K7=function(){function e(r,n,o){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){return un(this.key,this.style,n)},e}(),F7={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new K7(t,r,n):null}},L7=function(){function e(r,n,o){this.type="simple",this.isProcessed=!1,this.key=r,this.value=n,this.options=o}var t=e.prototype;return t.toString=function(n){if(Array.isArray(this.value)){for(var o="",a=0;a<this.value.length;a++)o+=this.key+" "+this.value[a]+";",this.value[a+1]&&(o+=`
|
|
1716
|
+
`);return o}return this.key+" "+this.value+";"},e}(),V7={"@charset":!0,"@import":!0,"@namespace":!0},j7={onCreateRule:function(t,r,n){return t in V7?new L7(t,r,n):null}},Sg=[w7,T7,I7,A7,z7,F7,j7],R7={process:!0},Pg={force:!0,process:!0},Fo=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,a){var i=this.options,s=i.parent,l=i.sheet,d=i.jss,u=i.Renderer,p=i.generateId,m=i.scoped,h=A({classes:this.classes,parent:s,sheet:l,jss:d,Renderer:u,generateId:p,scoped:m,name:n,keyframes:this.keyframes,selector:void 0},a),b=n;n in this.raw&&(b=n+"-d"+this.counter++),this.raw[b]=o,b in this.classes&&(h.selector="."+ks(this.classes[b]));var g=Ts(b,o,h);if(!g)return null;this.register(g);var v=h.index===void 0?this.index.length:h.index;return this.index.splice(v,0,g),g},t.replace=function(n,o,a){var i=this.get(n),s=this.index.indexOf(i);i&&this.remove(i);var l=a;return s!==-1&&(l=A({},a,{index:s})),this.add(n,o,l)},t.get=function(n){return this.map[n]},t.remove=function(n){this.unregister(n),delete this.raw[n.key],this.index.splice(this.index.indexOf(n),1)},t.indexOf=function(n){return this.index.indexOf(n)},t.process=function(){var n=this.options.jss.plugins;this.index.slice(0).forEach(n.onProcessRule,n)},t.register=function(n){this.map[n.key]=n,n instanceof Ds?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Os&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof Ds?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Os&&delete this.keyframes[n.name]},t.update=function(){var n,o,a;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(n=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],a=arguments.length<=2?void 0:arguments[2]):(o=arguments.length<=0?void 0:arguments[0],a=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),o,a);else for(var i=0;i<this.index.length;i++)this.updateOne(this.index[i],o,a)},t.updateOne=function(n,o,a){a===void 0&&(a=R7);var i=this.options,s=i.jss.plugins,l=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var d=n.style;if(s.onUpdate(o,n,l,a),a.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,l);for(var u in n.style){var p=n.style[u],m=d[u];p!==m&&n.prop(u,p,Pg)}for(var h in d){var b=n.style[h],g=d[h];b==null&&b!==g&&n.prop(h,null,Pg)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Er(n),l=s.linebreak,d=0;d<this.index.length;d++){var u=this.index[d],p=u.toString(n);!p&&!i||(o&&(o+=l),o+=p)}return o},e}(),Tg=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=A({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new Fo(this.options);for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(n,o,a){var i=this.queue;this.attached&&!i&&(this.queue=[]);var s=this.rules.add(n,o,a);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(i?i.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},t.replaceRule=function(n,o,a){var i=this.rules.get(n);if(!i)return this.addRule(n,o,a);var s=this.rules.replace(n,o,a);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?i.renderable&&this.renderer.replaceRule(i.renderable,s):this.renderer.deleteRule(i)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,o){var a=[];for(var i in n){var s=this.addRule(i,n[i],o);s&&a.push(s)}return a},t.getRule=function(n){return this.rules.get(n)},t.deleteRule=function(n){var o=typeof n=="object"?n:this.rules.get(n);return!o||this.attached&&!o.renderable?!1:(this.rules.remove(o),this.attached&&o.renderable&&this.renderer?this.renderer.deleteRule(o.renderable):!0)},t.indexOf=function(n){return this.rules.indexOf(n)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var n;return(n=this.rules).update.apply(n,arguments),this},t.updateOne=function(n,o,a){return this.rules.updateOne(n,o,a),this},t.toString=function(n){return this.rules.toString(n)},e}(),B7=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,o,a){for(var i=0;i<this.registry.onCreateRule.length;i++){var s=this.registry.onCreateRule[i](n,o,a);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var o=n.options.sheet,a=0;a<this.registry.onProcessRule.length;a++)this.registry.onProcessRule[a](n,o);n.style&&this.onProcessStyle(n.style,n,o),n.isProcessed=!0}},t.onProcessStyle=function(n,o,a){for(var i=0;i<this.registry.onProcessStyle.length;i++)o.style=this.registry.onProcessStyle[i](o.style,o,a)},t.onProcessSheet=function(n){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](n)},t.onUpdate=function(n,o,a,i){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,o,a,i)},t.onChangeValue=function(n,o,a){for(var i=n,s=0;s<this.registry.onChangeValue.length;s++)i=this.registry.onChangeValue[s](i,o,a);return i},t.use=function(n,o){o===void 0&&(o={queue:"external"});var a=this.plugins[o.queue];a.indexOf(n)===-1&&(a.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(i,s){for(var l in s)l in i?i[l].push(s[l]):process.env.NODE_ENV!=="production"&&Be(!1,'[JSS] Unknown hook "'+l+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),W7=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var o=this.registry,a=n.options.index;if(o.indexOf(n)===-1){if(o.length===0||a>=this.index){o.push(n);return}for(var i=0;i<o.length;i++)if(o[i].options.index>a){o.splice(i,0,n);return}}},t.reset=function(){this.registry=[]},t.remove=function(n){var o=this.registry.indexOf(n);this.registry.splice(o,1)},t.toString=function(n){for(var o=n===void 0?{}:n,a=o.attached,i=hg(o,["attached"]),s=Er(i),l=s.linebreak,d="",u=0;u<this.registry.length;u++){var p=this.registry[u];a!=null&&p.attached!==a||(d&&(d+=l),d+=p.toString(i))}return d},vg(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),fn=new W7,Ms=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Ns="2f1acc6c3a606b082e5eef5e54414ffb";Ms[Ns]==null&&(Ms[Ns]=0);var kg=Ms[Ns]++,U7=1e10,Dg=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>U7&&process.env.NODE_ENV!=="production"&&Be(!1,"[JSS] You might have a memory leak. Rule counter is at "+r+".");var s="",l="";return i&&(i.options.classNamePrefix&&(l=i.options.classNamePrefix),i.options.jss.id!=null&&(s=String(i.options.jss.id))),t.minify?""+(l||"c")+kg+s+r:l+a.key+"-"+kg+(s?"-"+s:"")+"-"+r};return n},Cg=function(t){var r;return function(){return r||(r=t()),r}},H7=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},G7=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=Yt(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,o);else{var a=o?o.indexOf("!important"):-1,i=a>-1?o.substr(0,a-1):o;t.style.setProperty(r,i,a>-1?"important":"")}}catch{return!1}return!0},q7=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Be(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},Y7=function(t,r){return t.selectorText=r,t.selectorText===r},Ig=Cg(function(){return document.querySelector("head")});function Z7(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}function X7(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}function J7(e){for(var t=Ig(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(n.nodeType===8&&n.nodeValue.trim()===e)return n}return null}function Q7(e){var t=fn.registry;if(t.length>0){var r=Z7(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=X7(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&typeof n=="string"){var o=J7(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Be(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function eD(e,t){var r=t.insertionPoint,n=Q7(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var o=r,a=o.parentNode;a?a.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&Be(!1,"[JSS] Insertion point is not in the DOM.");return}Ig().appendChild(e)}var tD=Cg(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Og=function(t,r,n){try{"insertRule"in t?t.insertRule(r,n):"appendRule"in t&&t.appendRule(r)}catch(o){return process.env.NODE_ENV!=="production"&&Be(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},Ag=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},rD=function(){var t=document.createElement("style");return t.textContent=`
|
|
1717
|
+
`,t},nD=function(){function e(r){this.getPropertyValue=H7,this.setProperty=G7,this.removeProperty=q7,this.setSelector=Y7,this.hasInsertedRules=!1,this.cssRules=[],r&&fn.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},o=n.media,a=n.meta,i=n.element;this.element=i||rD(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),a&&this.element.setAttribute("data-meta",a);var s=tD();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){eD(this.element,this.sheet.options);var n=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&n&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var n=this.element.parentNode;n&&n.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
|
|
1718
1718
|
`)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
|
|
1719
1719
|
`+n.toString()+`
|
|
1720
|
-
`}},t.insertRules=function(n,o){for(var a=0;a<n.index.length;a++)this.insertRule(n.index[a],a,o)},t.insertRule=function(n,o,a){if(a===void 0&&(a=this.element.sheet),n.rules){var i=n,s=a;if(n.type==="conditional"||n.type==="keyframes"){var
|
|
1720
|
+
`}},t.insertRules=function(n,o){for(var a=0;a<n.index.length;a++)this.insertRule(n.index[a],a,o)},t.insertRule=function(n,o,a){if(a===void 0&&(a=this.element.sheet),n.rules){var i=n,s=a;if(n.type==="conditional"||n.type==="keyframes"){var l=Ag(a,o);if(s=Og(a,i.toString({children:!1}),l),s===!1)return!1;this.refCssRule(n,l,s)}return this.insertRules(i.rules,s),s}var d=n.toString();if(!d)return!1;var u=Ag(a,o),p=Og(a,d,u);return p===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,u,p),p)},t.refCssRule=function(n,o,a){n.renderable=a,n.options.parent instanceof Tg&&this.cssRules.splice(o,0,a)},t.deleteRule=function(n){var o=this.element.sheet,a=this.indexOf(n);return a===-1?!1:(o.deleteRule(a),this.cssRules.splice(a,1),!0)},t.indexOf=function(n){return this.cssRules.indexOf(n)},t.replaceRule=function(n,o){var a=this.indexOf(n);return a===-1?!1:(this.element.sheet.deleteRule(a),this.cssRules.splice(a,1),this.insertRule(o,a))},t.getRules=function(){return this.element.sheet.cssRules},e}(),oD=0,aD=function(){function e(r){this.id=oD++,this.version="10.9.2",this.plugins=new B7,this.options={id:{minify:!1},createGenerateId:Dg,Renderer:cn?nD:null,plugins:[]},this.generateId=Dg({minify:!1});for(var n=0;n<Sg.length;n++)this.plugins.use(Sg[n],{queue:"internal"});this.setup(r)}var t=e.prototype;return t.setup=function(n){return n===void 0&&(n={}),n.createGenerateId&&(this.options.createGenerateId=n.createGenerateId),n.id&&(this.options.id=A({},this.options.id,n.id)),(n.createGenerateId||n.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),n.insertionPoint!=null&&(this.options.insertionPoint=n.insertionPoint),"Renderer"in n&&(this.options.Renderer=n.Renderer),n.plugins&&this.use.apply(this,n.plugins),this},t.createStyleSheet=function(n,o){o===void 0&&(o={});var a=o,i=a.index;typeof i!="number"&&(i=fn.index===0?0:fn.index+1);var s=new Tg(n,A({},o,{jss:this,generateId:o.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:i}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),fn.remove(n),this},t.createRule=function(n,o,a){if(o===void 0&&(o={}),a===void 0&&(a={}),typeof n=="object")return this.createRule(void 0,n,o);var i=A({},a,{name:n,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=Ts(n,o,i);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var n=this,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return a.forEach(function(s){n.plugins.use(s)}),this},e}(),zs=function(t){return new aD(t)},Ks=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function Mg(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if(o==="function")t||(t={}),t[r]=n;else if(o==="object"&&n!==null&&!Array.isArray(n)){var a=Mg(n);a&&(t||(t={}),t[r]=a)}}return t}/**
|
|
1721
1721
|
* A better abstraction over CSS.
|
|
1722
1722
|
*
|
|
1723
1723
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
1724
1724
|
* @website https://github.com/cssinjs/jss
|
|
1725
1725
|
* @license MIT
|
|
1726
|
-
*/
|
|
1727
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1728
|
-
`)),t):(Object.keys(r).forEach(function(a){process.env.NODE_ENV!=="production"&&(!t[a]&&r[a]&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not implemented in ".concat(
|
|
1729
|
-
`)),r[a]&&typeof r[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(
|
|
1730
|
-
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var
|
|
1731
|
-
`)),
|
|
1732
|
-
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(
|
|
1733
|
-
`)),
|
|
1734
|
-
`))),s[
|
|
1735
|
-
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var u=
|
|
1736
|
-
`)))),r[b]}return
|
|
1726
|
+
*/zs();var Ng=Date.now(),Fs="fnValues"+Ng,Ls="fnStyle"+ ++Ng,iD=function(){return{onCreateRule:function(r,n,o){if(typeof n!="function")return null;var a=Ts(r,{},o);return a[Ls]=n,a},onProcessStyle:function(r,n){if(Fs in n||Ls in n)return r;var o={};for(var a in r){var i=r[a];typeof i=="function"&&(delete r[a],o[a]=i)}return n[Fs]=o,r},onUpdate:function(r,n,o,a){var i=n,s=i[Ls];if(s&&(i.style=s(r)||{},process.env.NODE_ENV==="development")){for(var l in i.style)if(typeof i.style[l]=="function"){process.env.NODE_ENV!=="production"&&Be(!1,"[JSS] Function values inside function rules are not supported.");break}}var d=i[Fs];if(d)for(var u in d)i.prop(u,d[u](r),a)}}};const sD=iD;var kt="@global",Vs="@global ",lD=function(){function e(r,n,o){this.type="global",this.at=kt,this.isProcessed=!1,this.key=r,this.options=o,this.rules=new Fo(A({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.indexOf=function(n){return this.rules.indexOf(n)},t.toString=function(n){return this.rules.toString(n)},e}(),cD=function(){function e(r,n,o){this.type="global",this.at=kt,this.isProcessed=!1,this.key=r,this.options=o;var a=r.substr(Vs.length);this.rule=o.jss.createRule(a,n,A({},o,{parent:this}))}var t=e.prototype;return t.toString=function(n){return this.rule?this.rule.toString(n):""},e}(),dD=/\s*,\s*/g;function zg(e,t){for(var r=e.split(dD),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function uD(e,t){var r=e.options,n=e.style,o=n?n[kt]:null;if(o){for(var a in o)t.addRule(a,o[a],A({},r,{selector:zg(a,e.selector)}));delete n[kt]}}function fD(e,t){var r=e.options,n=e.style;for(var o in n)if(!(o[0]!=="@"||o.substr(0,kt.length)!==kt)){var a=zg(o.substr(kt.length),e.selector);t.addRule(a,n[o],A({},r,{selector:a})),delete n[o]}}function pD(){function e(r,n,o){if(!r)return null;if(r===kt)return new lD(r,n,o);if(r[0]==="@"&&r.substr(0,Vs.length)===Vs)return new cD(r,n,o);var a=o.parent;return a&&(a.type==="global"||a.options.parent&&a.options.parent.type==="global")&&(o.scoped=!1),!o.selector&&o.scoped===!1&&(o.selector=r),null}function t(r,n){r.type!=="style"||!n||(uD(r,n),fD(r,n))}return{onCreateRule:e,onProcessRule:t}}var Kg=/\s*,\s*/g,mD=/&/g,hD=/\$([\w-]+)/g;function bD(){function e(o,a){return function(i,s){var l=o.getRule(s)||a&&a.getRule(s);return l?l.selector:(process.env.NODE_ENV!=="production"&&Be(!1,'[JSS] Could not find the referenced rule "'+s+'" in "'+(o.options.meta||o.toString())+'".'),s)}}function t(o,a){for(var i=a.split(Kg),s=o.split(Kg),l="",d=0;d<i.length;d++)for(var u=i[d],p=0;p<s.length;p++){var m=s[p];l&&(l+=", "),l+=m.indexOf("&")!==-1?m.replace(mD,u):u+" "+m}return l}function r(o,a,i){if(i)return A({},i,{index:i.index+1});var s=o.options.nestingLevel;s=s===void 0?1:s+1;var l=A({},o.options,{nestingLevel:s,index:a.indexOf(o)+1});return delete l.name,l}function n(o,a,i){if(a.type!=="style")return o;var s=a,l=s.options.parent,d,u;for(var p in o){var m=p.indexOf("&")!==-1,h=p[0]==="@";if(!(!m&&!h)){if(d=r(s,l,d),m){var b=t(p,s.selector);u||(u=e(l,i)),b=b.replace(hD,u);var g=s.key+"-"+p;"replaceRule"in l?l.replaceRule(g,o[p],A({},d,{selector:b})):l.addRule(g,o[p],A({},d,{selector:b}))}else h&&l.addRule(p,{},d).addRule(s.key,o[p],{selector:s.selector});delete o[p]}}return o}return{onProcessStyle:n}}var gD=/[A-Z]/g,vD=/^ms-/,js={};function yD(e){return"-"+e.toLowerCase()}function Fg(e){if(js.hasOwnProperty(e))return js[e];var t=e.replace(gD,yD);return js[e]=vD.test(t)?"-"+t:t}function Lo(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:Fg(r);t[n]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Lo):t.fallbacks=Lo(e.fallbacks)),t}function $D(){function e(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)r[n]=Lo(r[n]);return r}return Lo(r)}function t(r,n,o){if(n.indexOf("--")===0)return r;var a=Fg(n);return n===a?r:(o.prop(a,r),null)}return{onProcessStyle:e,onChangeValue:t}}var K=Ks&&CSS?CSS.px:"px",Vo=Ks&&CSS?CSS.ms:"ms",Sr=Ks&&CSS?CSS.percent:"%",xD={"animation-delay":Vo,"animation-duration":Vo,"background-position":K,"background-position-x":K,"background-position-y":K,"background-size":K,border:K,"border-bottom":K,"border-bottom-left-radius":K,"border-bottom-right-radius":K,"border-bottom-width":K,"border-left":K,"border-left-width":K,"border-radius":K,"border-right":K,"border-right-width":K,"border-top":K,"border-top-left-radius":K,"border-top-right-radius":K,"border-top-width":K,"border-width":K,"border-block":K,"border-block-end":K,"border-block-end-width":K,"border-block-start":K,"border-block-start-width":K,"border-block-width":K,"border-inline":K,"border-inline-end":K,"border-inline-end-width":K,"border-inline-start":K,"border-inline-start-width":K,"border-inline-width":K,"border-start-start-radius":K,"border-start-end-radius":K,"border-end-start-radius":K,"border-end-end-radius":K,margin:K,"margin-bottom":K,"margin-left":K,"margin-right":K,"margin-top":K,"margin-block":K,"margin-block-end":K,"margin-block-start":K,"margin-inline":K,"margin-inline-end":K,"margin-inline-start":K,padding:K,"padding-bottom":K,"padding-left":K,"padding-right":K,"padding-top":K,"padding-block":K,"padding-block-end":K,"padding-block-start":K,"padding-inline":K,"padding-inline-end":K,"padding-inline-start":K,"mask-position-x":K,"mask-position-y":K,"mask-size":K,height:K,width:K,"min-height":K,"max-height":K,"min-width":K,"max-width":K,bottom:K,left:K,top:K,right:K,inset:K,"inset-block":K,"inset-block-end":K,"inset-block-start":K,"inset-inline":K,"inset-inline-end":K,"inset-inline-start":K,"box-shadow":K,"text-shadow":K,"column-gap":K,"column-rule":K,"column-rule-width":K,"column-width":K,"font-size":K,"font-size-delta":K,"letter-spacing":K,"text-decoration-thickness":K,"text-indent":K,"text-stroke":K,"text-stroke-width":K,"word-spacing":K,motion:K,"motion-offset":K,outline:K,"outline-offset":K,"outline-width":K,perspective:K,"perspective-origin-x":Sr,"perspective-origin-y":Sr,"transform-origin":Sr,"transform-origin-x":Sr,"transform-origin-y":Sr,"transform-origin-z":Sr,"transition-delay":Vo,"transition-duration":Vo,"vertical-align":K,"flex-basis":K,"shape-margin":K,size:K,gap:K,grid:K,"grid-gap":K,"row-gap":K,"grid-row-gap":K,"grid-column-gap":K,"grid-template-rows":K,"grid-template-columns":K,"grid-auto-rows":K,"grid-auto-columns":K,"box-shadow-x":K,"box-shadow-y":K,"box-shadow-blur":K,"box-shadow-spread":K,"font-line-height":K,"text-shadow-x":K,"text-shadow-y":K,"text-shadow-blur":K};function Lg(e){var t=/(-[a-z])/g,r=function(i){return i[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var _D=Lg(xD);function pn(e,t,r){if(t==null)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=pn(e,t[n],r);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=pn(o,t[o],r);else for(var a in t)t[a]=pn(e+"-"+a,t[a],r);else if(typeof t=="number"&&isNaN(t)===!1){var i=r[e]||_D[e];return i&&!(t===0&&i===K)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function wD(e){e===void 0&&(e={});var t=Lg(e);function r(o,a){if(a.type!=="style")return o;for(var i in o)o[i]=pn(i,o[i],t);return o}function n(o,a){return pn(a,o,t)}return{onProcessStyle:r,onChangeValue:n}}function Rs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ED(e){if(Array.isArray(e))return Rs(e)}function SD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function PD(e,t){if(e){if(typeof e=="string")return Rs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rs(e,t)}}function TD(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1727
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kD(e){return ED(e)||SD(e)||PD(e)||TD()}var mn="",Bs="",Vg="",jg="",DD=cn&&"ontouchstart"in document.documentElement;if(cn){var Ws={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},CD=document.createElement("p"),Us=CD.style,ID="Transform";for(var Hs in Ws)if(Hs+ID in Us){mn=Hs,Bs=Ws[Hs];break}mn==="Webkit"&&"msHyphens"in Us&&(mn="ms",Bs=Ws.ms,jg="edge"),mn==="Webkit"&&"-apple-trailing-word"in Us&&(Vg="apple")}var de={js:mn,css:Bs,vendor:Vg,browser:jg,isTouch:DD};function OD(e){return e[1]==="-"||de.js==="ms"?e:"@"+de.css+"keyframes"+e.substr(10)}var AD={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:de.js==="ms"?"-webkit-"+t:de.css+t}},MD={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:de.js==="Webkit"?de.css+"print-"+t:t}},ND=/[-\s]+(.)?/g;function zD(e,t){return t?t.toUpperCase():""}function Gs(e){return e.replace(ND,zD)}function Dt(e){return Gs("-"+e)}var KD={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if(de.js==="Webkit"){var n="mask-image";if(Gs(n)in r)return t;if(de.js+Dt(n)in r)return de.css+t}return t}},FD={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:de.vendor==="apple"&&!de.isTouch?de.css+t:t}},LD={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:de.css+t}},VD={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:de.css+t}},jD={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:de.js==="Webkit"||de.js==="ms"&&de.browser!=="edge"?de.css+t:t}},RD={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:de.js==="Moz"||de.js==="ms"||de.vendor==="apple"?de.css+t:t}},BD={supportedProperty:function(t,r){if(!/^break-/.test(t))return!1;if(de.js==="Webkit"){var n="WebkitColumn"+Dt(t);return n in r?de.css+"column-"+t:!1}if(de.js==="Moz"){var o="page"+Dt(t);return o in r?"page-"+t:!1}return!1}},WD={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(de.js==="Moz")return t;var n=t.replace("-inline","");return de.js+Dt(n)in r?de.css+n:!1}},UD={supportedProperty:function(t,r){return Gs(t)in r?t:!1}},HD={supportedProperty:function(t,r){var n=Dt(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:de.js+n in r?de.css+t:de.js!=="Webkit"&&"Webkit"+n in r?"-webkit-"+t:!1}},GD={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:de.js==="ms"?""+de.css+t:t}},qD={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:de.js==="ms"?de.css+"scroll-chaining":t}},YD={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},ZD={supportedProperty:function(t,r){var n=YD[t];return n&&de.js+Dt(n)in r?de.css+n:!1}},Rg={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},XD=Object.keys(Rg),JD=function(t){return de.css+t},QD={supportedProperty:function(t,r,n){var o=n.multiple;if(XD.indexOf(t)>-1){var a=Rg[t];if(!Array.isArray(a))return de.js+Dt(a)in r?de.css+a:!1;if(!o)return!1;for(var i=0;i<a.length;i++)if(!(de.js+Dt(a[0])in r))return!1;return a.map(JD)}return!1}},Bg=[AD,MD,KD,FD,LD,VD,jD,RD,BD,WD,UD,HD,GD,qD,ZD,QD],Wg=Bg.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),e4=Bg.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,kD(t.noPrefill)),e},[]),hn,Zt={};if(cn){hn=document.createElement("p");var qs=window.getComputedStyle(document.documentElement,"");for(var Ys in qs)isNaN(Ys)||(Zt[qs[Ys]]=qs[Ys]);e4.forEach(function(e){return delete Zt[e]})}function Zs(e,t){if(t===void 0&&(t={}),!hn)return e;if(process.env.NODE_ENV!=="benchmark"&&Zt[e]!=null)return Zt[e];(e==="transition"||e==="transform")&&(t[e]=e in hn.style);for(var r=0;r<Wg.length&&(Zt[e]=Wg[r](e,hn.style,t),!Zt[e]);r++);try{hn.style[e]=""}catch{return!1}return Zt[e]}var Pr={},t4={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},r4=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,Ct;function n4(e,t,r){if(t==="var")return"var";if(t==="all")return"all";if(r==="all")return", all";var n=t?Zs(t):", "+Zs(r);return n||t||r}cn&&(Ct=document.createElement("p"));function Ug(e,t){var r=t;if(!Ct||e==="content")return t;if(typeof r!="string"||!isNaN(parseInt(r,10)))return r;var n=e+r;if(process.env.NODE_ENV!=="benchmark"&&Pr[n]!=null)return Pr[n];try{Ct.style[e]=r}catch{return Pr[n]=!1,!1}if(t4[e])r=r.replace(r4,n4);else if(Ct.style[e]===""&&(r=de.css+r,r==="-ms-flex"&&(Ct.style[e]="-ms-flexbox"),Ct.style[e]=r,Ct.style[e]===""))return Pr[n]=!1,!1;return Ct.style[e]="",Pr[n]=r,Pr[n]}function o4(){function e(o){if(o.type==="keyframes"){var a=o;a.at=OD(a.at)}}function t(o){for(var a in o){var i=o[a];if(a==="fallbacks"&&Array.isArray(i)){o[a]=i.map(t);continue}var s=!1,l=Zs(a);l&&l!==a&&(s=!0);var d=!1,u=Ug(l,Yt(i));u&&u!==i&&(d=!0),(s||d)&&(s&&delete o[a],o[l||a]=u||i)}return o}function r(o,a){return a.type!=="style"?o:t(o)}function n(o,a){return Ug(a,Yt(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function a4(){var e=function(r,n){return r.length===n.length?r>n?1:-1:r.length-n.length};return{onProcessStyle:function(r,n){if(n.type!=="style")return r;for(var o={},a=Object.keys(r).sort(e),i=0;i<a.length;i++)o[a[i]]=r[a[i]];return o}}}function Hg(){return{plugins:[sD(),pD(),bD(),$D(),wD(),typeof window>"u"?null:o4(),a4()]}}function Gg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.baseClasses,r=e.newClasses,n=e.Component;if(!r)return t;var o=A({},t);return process.env.NODE_ENV!=="production"&&typeof r=="string"?(console.error(["Material-UI: The value `".concat(r,"` ")+"provided to the classes prop of ".concat(ln(n)," is incorrect."),"You might want to use the className prop instead."].join(`
|
|
1728
|
+
`)),t):(Object.keys(r).forEach(function(a){process.env.NODE_ENV!=="production"&&(!t[a]&&r[a]&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not implemented in ".concat(ln(n),"."),"You can only override one of the following: ".concat(Object.keys(t).join(","),".")].join(`
|
|
1729
|
+
`)),r[a]&&typeof r[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(ln(n),"."),"You need to provide a non empty string instead of: ".concat(r[a],".")].join(`
|
|
1730
|
+
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var i4={set:function(t,r,n,o){var a=t.get(r);a||(a=new Map,t.set(r,a)),a.set(n,o)},get:function(t,r,n){var o=t.get(r);return o?o.get(n):void 0},delete:function(t,r,n){var o=t.get(r);o.delete(n)}};const Tr=i4;var qg=c.createContext(null);process.env.NODE_ENV!=="production"&&(qg.displayName="ThemeContext");const s4=qg;function Yg(){var e=c.useContext(s4);return process.env.NODE_ENV!=="production"&&c.useDebugValue(e),e}var l4=zs(Hg()),c4=v7(),d4=new Map,u4={disableGeneration:!1,generateClassName:c4,jss:l4,sheetsCache:null,sheetsManager:d4,sheetsRegistry:null},jo=c.createContext(u4);process.env.NODE_ENV!=="production"&&(jo.displayName="StylesContext");var Ro;function Xs(e){var t=e.children,r=e.injectFirst,n=r===void 0?!1:r,o=e.disableGeneration,a=o===void 0?!1:o,i=at(e,["children","injectFirst","disableGeneration"]),s=c.useContext(jo),l=A({},s,{disableGeneration:a},i);if(process.env.NODE_ENV!=="production"&&typeof window>"u"&&!l.sheetsManager&&console.error("Material-UI: You need to use the ServerStyleSheets API when rendering on the server."),process.env.NODE_ENV!=="production"&&l.jss.options.insertionPoint&&n&&console.error("Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time."),process.env.NODE_ENV!=="production"&&n&&i.jss&&console.error("Material-UI: You cannot use the jss and injectFirst props at the same time."),!l.jss.options.insertionPoint&&n&&typeof window<"u"){if(!Ro){var d=document.head;Ro=document.createComment("mui-inject-first"),d.insertBefore(Ro,d.firstChild)}l.jss=zs({plugins:Hg().plugins,insertionPoint:Ro})}return c.createElement(jo.Provider,{value:l},t)}process.env.NODE_ENV!=="production"&&(Xs.propTypes={children:be.node.isRequired,disableGeneration:be.bool,generateClassName:be.func,injectFirst:be.bool,jss:be.object,serverGenerateClassName:be.func,sheetsCache:be.object,sheetsManager:be.object,sheetsRegistry:be.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Xs.propTypes=u7(Xs.propTypes));var Js=-1e9;function f4(){return Js+=1,process.env.NODE_ENV!=="production"&&Js>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
|
|
1731
|
+
`)),Js}var p4={};const Zg=p4;function m4(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&Tt(e)!=="object"&&!t&&console.error(["Material-UI: The `styles` argument provided is invalid.","You need to provide a function generating the styles or a styles object."].join(`
|
|
1732
|
+
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(l){throw process.env.NODE_ENV!=="production"&&t===!0&&n===Zg&&console.error(["Material-UI: The `styles` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
|
|
1733
|
+
`)),l}if(!o||!n.overrides||!n.overrides[o])return a;var i=n.overrides[o],s=A({},a);return Object.keys(i).forEach(function(l){process.env.NODE_ENV!=="production"&&(s[l]||console.warn(["Material-UI: You are trying to override a style that does not exist.","Fix the `".concat(l,"` key of `theme.overrides.").concat(o,"`.")].join(`
|
|
1734
|
+
`))),s[l]=wr(s[l],i[l])}),s},options:{}}}function h4(e,t,r){var n=e.state,o=e.stylesOptions;if(o.disableGeneration)return t||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var a=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,a=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,a=!0),a&&(n.cacheClasses.value=Gg({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function b4(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,a=e.stylesCreator,i=e.name;if(!o.disableGeneration){var s=Tr.get(o.sheetsManager,a,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Tr.set(o.sheetsManager,a,n,s));var l=A({},a.options,o,{theme:n,flip:typeof o.flip=="boolean"?o.flip:n.direction==="rtl"});l.generateId=l.serverGenerateClassName||l.generateClassName;var d=o.sheetsRegistry;if(s.refs===0){var u;o.sheetsCache&&(u=Tr.get(o.sheetsCache,a,n));var p=a.create(n,i);u||(u=o.jss.createStyleSheet(p,A({link:!1},l)),u.attach(),o.sheetsCache&&Tr.set(o.sheetsCache,a,n,u)),d&&d.add(u),s.staticSheet=u,s.dynamicStyles=Mg(p)}if(s.dynamicStyles){var m=o.jss.createStyleSheet(s.dynamicStyles,A({link:!0},l));m.update(t),m.attach(),r.dynamicSheet=m,r.classes=Gg({baseClasses:s.staticSheet.classes,newClasses:m.classes}),d&&d.add(m)}else r.classes=s.staticSheet.classes;s.refs+=1}}function g4(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function v4(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var a=Tr.get(n.sheetsManager,o,r);a.refs-=1;var i=n.sheetsRegistry;a.refs===0&&(Tr.delete(n.sheetsManager,o,r),n.jss.removeStyleSheet(a.staticSheet),i&&i.remove(a.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),i&&i.remove(t.dynamicSheet))}}function y4(e,t){var r=c.useRef([]),n,o=c.useMemo(function(){return{}},t);r.current!==o&&(r.current=o,n=e()),c.useEffect(function(){return function(){n&&n()}},[o])}function $4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,a=t.defaultTheme,i=a===void 0?Zg:a,s=at(t,["name","classNamePrefix","Component","defaultTheme"]),l=m4(e),d=r||n||"makeStyles";l.options={index:f4(),name:r,meta:d,classNamePrefix:d};var u=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=Yg()||i,b=A({},c.useContext(jo),s),g=c.useRef(),v=c.useRef();y4(function(){var x={name:r,state:{},stylesCreator:l,stylesOptions:b,theme:h};return b4(x,m),v.current=!1,g.current=x,function(){v4(x)}},[h,l]),c.useEffect(function(){v.current&&g4(g.current,m),v.current=!0});var $=h4(g.current,m.classes,o);return process.env.NODE_ENV!=="production"&&c.useDebugValue($),$};return u}var Qs=Xt,x4={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},_4={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},w4={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Xg={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},el={};el[Qs.ForwardRef]=w4,el[Qs.Memo]=Xg;function Jg(e){return Qs.isMemo(e)?Xg:el[e.$$typeof]||x4}var E4=Object.defineProperty,S4=Object.getOwnPropertyNames,Qg=Object.getOwnPropertySymbols,P4=Object.getOwnPropertyDescriptor,T4=Object.getPrototypeOf,ev=Object.prototype;function tv(e,t,r){if(typeof t!="string"){if(ev){var n=T4(t);n&&n!==ev&&tv(e,n,r)}var o=S4(t);Qg&&(o=o.concat(Qg(t)));for(var a=Jg(e),i=Jg(t),s=0;s<o.length;++s){var l=o[s];if(!_4[l]&&!(r&&r[l])&&!(i&&i[l])&&!(a&&a[l])){var d=P4(t,l);try{E4(e,l,d)}catch{}}}}return e}var k4=tv,D4=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(n){var o=r.defaultTheme,a=r.withTheme,i=a===void 0?!1:a,s=r.name,l=at(r,["defaultTheme","withTheme","name"]);if(process.env.NODE_ENV!=="production"&&n===void 0)throw new Error(["You are calling withStyles(styles)(Component) with an undefined component.","You may have forgotten to import it."].join(`
|
|
1735
|
+
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var u=ln(n);u!==void 0&&(d=u)}var p=$4(t,A({defaultTheme:o,Component:n,name:s||n.displayName,classNamePrefix:d},l)),m=c.forwardRef(function(b,g){b.classes;var v=b.innerRef,$=at(b,["classes","innerRef"]),x=p(A({},n.defaultProps,b)),_,y=$;return(typeof s=="string"||i)&&(_=Yg()||o,s&&(y=y7({theme:_,name:s,props:$})),i&&!y.theme&&(y.theme=_)),c.createElement(n,A({ref:v||g,classes:x},y))});return process.env.NODE_ENV!=="production"&&(m.propTypes={classes:be.object,innerRef:ng(be.oneOfType([be.func,be.object]),function(h){return h.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(m.displayName="WithStyles(".concat(ln(n),")")),k4(m,n),process.env.NODE_ENV!=="production"&&(m.Naked=n,m.options=r,m.useStyles=p),m}};const C4=D4;var It=["xs","sm","md","lg","xl"];function I4(e){var t=e.values,r=t===void 0?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,n=e.unit,o=n===void 0?"px":n,a=e.step,i=a===void 0?5:a,s=at(e,["values","unit","step"]);function l(b){var g=typeof r[b]=="number"?r[b]:b;return"@media (min-width:".concat(g).concat(o,")")}function d(b){var g=It.indexOf(b)+1,v=r[It[g]];if(g===It.length)return l("xs");var $=typeof v=="number"&&g>0?v:b;return"@media (max-width:".concat($-i/100).concat(o,")")}function u(b,g){var v=It.indexOf(g);return v===It.length-1?l(b):"@media (min-width:".concat(typeof r[b]=="number"?r[b]:b).concat(o,") and ")+"(max-width:".concat((v!==-1&&typeof r[It[v+1]]=="number"?r[It[v+1]]:g)-i/100).concat(o,")")}function p(b){return u(b,b)}var m=!1;function h(b){return process.env.NODE_ENV!=="production"&&(m||(m=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
|
|
1736
|
+
`)))),r[b]}return A({keys:It,values:r,up:l,down:d,between:u,only:p,width:h},s)}function O4(e,t,r){var n;return A({gutters:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:",`
|
|
1737
1737
|
paddingLeft: theme.spacing(2),
|
|
1738
1738
|
paddingRight: theme.spacing(2),
|
|
1739
1739
|
[theme.breakpoints.up('sm')]: {
|
|
@@ -1741,8 +1741,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1741
1741
|
paddingRight: theme.spacing(3),
|
|
1742
1742
|
},
|
|
1743
1743
|
`].join(`
|
|
1744
|
-
`)),
|
|
1745
|
-
`))}return M}var
|
|
1744
|
+
`)),A({paddingLeft:t(2),paddingRight:t(2)},a,sn({},e.up("sm"),A({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(n={minHeight:56},sn(n,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),sn(n,e.up("sm"),{minHeight:64}),n)},r)}var A4={black:"#000",white:"#fff"};const Bo=A4;var M4={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};const tl=M4;var N4={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};const rl=N4;var z4={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};const nl=z4;var K4={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};const ol=K4;var F4={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};const al=F4;var L4={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};const il=L4;var V4={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const sl=V4;function rv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error("Material-UI: The value provided ".concat(e," is out of range [").concat(t,", ").concat(r,"].")),Math.min(Math.max(t,e),r)}function j4(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&r[0].length===1&&(r=r.map(function(n){return n+n})),r?"rgb".concat(r.length===4?"a":"","(").concat(r.map(function(n,o){return o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3}).join(", "),")"):""}function R4(e){e=kr(e);var t=e,r=t.values,n=r[0],o=r[1]/100,a=r[2]/100,i=o*Math.min(a,1-a),s=function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(p+n/30)%12;return a-i*Math.max(Math.min(m-3,9-m,1),-1)},l="rgb",d=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",d.push(r[3])),ll({type:l,values:d})}function kr(e){if(e.type)return e;if(e.charAt(0)==="#")return kr(j4(e));var t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: Unsupported `".concat(e,"` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."):Ko(3,e));var n=e.substring(t+1,e.length-1).split(",");return n=n.map(function(o){return parseFloat(o)}),{type:r,values:n}}function ll(e){var t=e.type,r=e.values;return t.indexOf("rgb")!==-1?r=r.map(function(n,o){return o<3?parseInt(n,10):n}):t.indexOf("hsl")!==-1&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}function nv(e,t){var r=ov(e),n=ov(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function ov(e){e=kr(e);var t=e.type==="hsl"?kr(R4(e)).values:e.values;return t=t.map(function(r){return r/=255,r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function B4(e,t){if(e=kr(e),t=rv(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1)for(var r=0;r<3;r+=1)e.values[r]*=1-t;return ll(e)}function W4(e,t){if(e=kr(e),t=rv(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return ll(e)}var av={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Bo.white,default:tl[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},cl={text:{primary:Bo.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:tl[800],default:"#303030"},action:{active:Bo.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function iv(e,t,r,n){var o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=W4(e.main,o):t==="dark"&&(e.dark=B4(e.main,a)))}function U4(e){var t=e.primary,r=t===void 0?{light:rl[300],main:rl[500],dark:rl[700]}:t,n=e.secondary,o=n===void 0?{light:nl.A200,main:nl.A400,dark:nl.A700}:n,a=e.error,i=a===void 0?{light:ol[300],main:ol[500],dark:ol[700]}:a,s=e.warning,l=s===void 0?{light:al[300],main:al[500],dark:al[700]}:s,d=e.info,u=d===void 0?{light:il[300],main:il[500],dark:il[700]}:d,p=e.success,m=p===void 0?{light:sl[300],main:sl[500],dark:sl[700]}:p,h=e.type,b=h===void 0?"light":h,g=e.contrastThreshold,v=g===void 0?3:g,$=e.tonalOffset,x=$===void 0?.2:$,_=at(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function y(D){var M=nv(D,cl.text.primary)>=v?cl.text.primary:av.text.primary;if(process.env.NODE_ENV!=="production"){var V=nv(D,M);V<3&&console.error(["Material-UI: The contrast ratio of ".concat(V,":1 for ").concat(M," on ").concat(D),"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
1745
|
+
`))}return M}var I=function(M){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(M=A({},M),!M.main&&M[V]&&(M.main=M[V]),!M.main)throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: The color provided to augmentColor(color) is invalid.\nThe color object needs to have a `main` property or a `".concat(V,"` property."):Ko(4,V));if(typeof M.main!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: The color provided to augmentColor(color) is invalid.\n`color.main` should be a string, but `".concat(JSON.stringify(M.main),`\` was provided instead.
|
|
1746
1746
|
|
|
1747
1747
|
Did you intend to use one of the following approaches?
|
|
1748
1748
|
|
|
@@ -1754,14 +1754,14 @@ const theme1 = createTheme({ palette: {
|
|
|
1754
1754
|
|
|
1755
1755
|
const theme2 = createTheme({ palette: {
|
|
1756
1756
|
primary: { main: green[500] },
|
|
1757
|
-
} });`):
|
|
1758
|
-
`)),
|
|
1757
|
+
} });`):Ko(5,JSON.stringify(M.main)));return iv(M,"light",C,x),iv(M,"dark",L,x),M.contrastText||(M.contrastText=y(M.main)),M},N={dark:cl,light:av};process.env.NODE_ENV!=="production"&&(N[b]||console.error("Material-UI: The palette type `".concat(b,"` is not supported.")));var E=wr(A({common:Bo,type:b,primary:I(r),secondary:I(o,"A400","A200","A700"),error:I(i),warning:I(l),info:I(u),success:I(m),grey:tl,contrastThreshold:v,getContrastText:y,augmentColor:I,tonalOffset:x},N[b]),_);return E}function sv(e){return Math.round(e*1e5)/1e5}var lv=!1;function H4(e){return process.env.NODE_ENV!=="production"&&(lv||(console.warn(["Material-UI: The `theme.typography.round` helper is deprecated.","Head to https://mui.com/r/migration-v4/#theme for a migration path."].join(`
|
|
1758
|
+
`)),lv=!0)),sv(e)}var cv={textTransform:"uppercase"},dv='"Roboto", "Helvetica", "Arial", sans-serif';function G4(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?dv:n,a=r.fontSize,i=a===void 0?14:a,s=r.fontWeightLight,l=s===void 0?300:s,d=r.fontWeightRegular,u=d===void 0?400:d,p=r.fontWeightMedium,m=p===void 0?500:p,h=r.fontWeightBold,b=h===void 0?700:h,g=r.htmlFontSize,v=g===void 0?16:g,$=r.allVariants,x=r.pxToRem,_=at(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);process.env.NODE_ENV!=="production"&&(typeof i!="number"&&console.error("Material-UI: `fontSize` is required to be a number."),typeof v!="number"&&console.error("Material-UI: `htmlFontSize` is required to be a number."));var y=i/14,I=x||function(D){return"".concat(D/v*y,"rem")},N=function(M,V,C,L,P){return A({fontFamily:o,fontWeight:M,fontSize:I(V),lineHeight:C},o===dv?{letterSpacing:"".concat(sv(L/V),"em")}:{},P,$)},E={h1:N(l,96,1.167,-1.5),h2:N(l,60,1.2,-.5),h3:N(u,48,1.167,0),h4:N(u,34,1.235,.25),h5:N(u,24,1.334,0),h6:N(m,20,1.6,.15),subtitle1:N(u,16,1.75,.15),subtitle2:N(m,14,1.57,.1),body1:N(u,16,1.5,.15),body2:N(u,14,1.43,.15),button:N(m,14,1.75,.4,cv),caption:N(u,12,1.66,.4),overline:N(u,12,2.66,1,cv)};return wr(A({htmlFontSize:v,pxToRem:I,round:H4,fontFamily:o,fontSize:i,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:m,fontWeightBold:b},E),_,{clone:!1})}var q4=.2,Y4=.14,Z4=.12;function $e(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(q4,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(Y4,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(Z4,")")].join(",")}var X4=["none",$e(0,2,1,-1,0,1,1,0,0,1,3,0),$e(0,3,1,-2,0,2,2,0,0,1,5,0),$e(0,3,3,-2,0,3,4,0,0,1,8,0),$e(0,2,4,-1,0,4,5,0,0,1,10,0),$e(0,3,5,-1,0,5,8,0,0,1,14,0),$e(0,3,5,-1,0,6,10,0,0,1,18,0),$e(0,4,5,-2,0,7,10,1,0,2,16,1),$e(0,5,5,-3,0,8,10,1,0,3,14,2),$e(0,5,6,-3,0,9,12,1,0,3,16,2),$e(0,6,6,-3,0,10,14,1,0,4,18,3),$e(0,6,7,-4,0,11,15,1,0,4,20,3),$e(0,7,8,-4,0,12,17,2,0,5,22,4),$e(0,7,8,-4,0,13,19,2,0,5,24,4),$e(0,7,9,-4,0,14,21,2,0,5,26,4),$e(0,8,9,-5,0,15,22,2,0,6,28,5),$e(0,8,10,-5,0,16,24,2,0,6,30,5),$e(0,8,11,-5,0,17,26,2,0,6,32,5),$e(0,9,11,-5,0,18,28,2,0,7,34,6),$e(0,9,12,-6,0,19,29,2,0,7,36,6),$e(0,10,13,-6,0,20,31,3,0,8,38,7),$e(0,10,13,-6,0,21,33,3,0,8,40,7),$e(0,10,14,-6,0,22,35,3,0,8,42,7),$e(0,11,14,-7,0,23,36,3,0,9,44,8),$e(0,11,15,-7,0,24,38,3,0,9,46,8)];const J4=X4;var Q4={borderRadius:4};const e3=Q4;var t3=process.env.NODE_ENV!=="production"?be.oneOfType([be.number,be.string,be.object,be.array]):{};const r3=t3;var n3=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function o3(e){var t=e.spacing||8;return typeof t=="number"?function(r){return process.env.NODE_ENV!=="production"&&typeof r!="number"&&console.error("Material-UI: Expected spacing argument to be a number, got ".concat(r,".")),t*r}:Array.isArray(t)?function(r){return process.env.NODE_ENV!=="production"&&r>t.length-1&&console.error(["Material-UI: The value provided (".concat(r,") overflows."),"The supported values are: ".concat(JSON.stringify(t),"."),"".concat(r," > ").concat(t.length-1,", you need to add the missing values.")].join(`
|
|
1759
1759
|
`)),t[r]}:typeof t=="function"?t:(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `theme.spacing` value (".concat(t,") is invalid."),"It should be a number, an array or a function."].join(`
|
|
1760
|
-
`)),function(){})}process.env.NODE_ENV!=="production"&&
|
|
1761
|
-
`)),
|
|
1762
|
-
`)),
|
|
1763
|
-
`))},[t]);var m=
|
|
1764
|
-
`))},[JSON.stringify(r)])}var b=
|
|
1760
|
+
`)),function(){})}process.env.NODE_ENV!=="production"&&n3.reduce(function(e,t){return e[t]=r3,e},{});var uv;function a3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=o3({spacing:e}),r=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return process.env.NODE_ENV!=="production"&&(a.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(a.length))),a.length===0?t(1):a.length===1?t(a[0]):a.map(function(s){if(typeof s=="string")return s;var l=t(s);return typeof l=="number"?"".concat(l,"px"):l}).join(" ")};return Object.defineProperty(r,"unit",{get:function(){return process.env.NODE_ENV!=="production"&&((!uv||process.env.NODE_ENV==="test")&&console.error(["Material-UI: theme.spacing.unit usage has been deprecated.","It will be removed in v5.","You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.","","You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother."].join(`
|
|
1761
|
+
`)),uv=!0),e}}),r.mui=!0,r}var fv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},pv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function mv(e){return"".concat(Math.round(e),"ms")}const i3={easing:fv,duration:pv,create:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["all"],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.duration,o=n===void 0?pv.standard:n,a=r.easing,i=a===void 0?fv.easeInOut:a,s=r.delay,l=s===void 0?0:s,d=at(r,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var u=function(h){return typeof h=="string"},p=function(h){return!isNaN(parseFloat(h))};!u(t)&&!Array.isArray(t)&&console.error('Material-UI: Argument "props" must be a string or Array.'),!p(o)&&!u(o)&&console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(o,".")),u(i)||console.error('Material-UI: Argument "easing" must be a string.'),!p(l)&&!u(l)&&console.error('Material-UI: Argument "delay" must be a number or a string.'),Object.keys(d).length!==0&&console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(d).join(","),"]."))}return(Array.isArray(t)?t:[t]).map(function(m){return"".concat(m," ").concat(typeof o=="string"?o:mv(o)," ").concat(i," ").concat(typeof l=="string"?l:mv(l))}).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var r=t/36;return Math.round((4+15*Math.pow(r,.25)+r/5)*10)}};var s3={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const l3=s3;function c3(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.breakpoints,r=t===void 0?{}:t,n=e.mixins,o=n===void 0?{}:n,a=e.palette,i=a===void 0?{}:a,s=e.spacing,l=e.typography,d=l===void 0?{}:l,u=at(e,["breakpoints","mixins","palette","spacing","typography"]),p=U4(i),m=I4(r),h=a3(s),b=wr({breakpoints:m,direction:"ltr",mixins:O4(m,h,o),overrides:{},palette:p,props:{},shadows:J4,typography:G4(p,d),spacing:h,shape:e3,transitions:i3,zIndex:l3},u),g=arguments.length,v=new Array(g>1?g-1:0),$=1;$<g;$++)v[$-1]=arguments[$];if(b=v.reduce(function(y,I){return wr(y,I)},b),process.env.NODE_ENV!=="production"){var x=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],_=function y(I,N){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,D;for(D in I){var M=I[D];E===1?D.indexOf("Mui")===0&&M&&y(M,D,E+1):x.indexOf(D)!==-1&&Object.keys(M).length>0&&(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `".concat(N,"` component increases ")+"the CSS specificity of the `".concat(D,"` internal state."),"You can not override it like this: ",JSON.stringify(I,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:sn({},"&$".concat(D),M)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
|
|
1762
|
+
`)),I[D]={})}};_(b.overrides)}return b}var d3=c3();const u3=d3;function f3(e,t){return C4(e,A({defaultTheme:u3},t))}var p3=function(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}},dl=U.forwardRef(function(t,r){var n=t.children,o=t.classes,a=t.className,i=t.color,s=i===void 0?"inherit":i,l=t.component,d=l===void 0?"svg":l,u=t.fontSize,p=u===void 0?"medium":u,m=t.htmlColor,h=t.titleAccess,b=t.viewBox,g=b===void 0?"0 0 24 24":b,v=at(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return U.createElement(d,A({className:Nn(o.root,a,s!=="inherit"&&o["color".concat(Es(s))],p!=="default"&&p!=="medium"&&o["fontSize".concat(Es(p))]),focusable:"false",viewBox:g,color:m,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},v),n,h?U.createElement("title",null,h):null)});process.env.NODE_ENV!=="production"&&(dl.propTypes={children:be.node,classes:be.object,className:be.string,color:be.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:be.elementType,fontSize:ng(be.oneOf(["default","inherit","large","medium","small"]),function(e){var t=e.fontSize;if(t==="default")throw new Error('Material-UI: `fontSize="default"` is deprecated. Use `fontSize="medium"` instead.');return null}),htmlColor:be.string,shapeRendering:be.string,titleAccess:be.string,viewBox:be.string}),dl.muiName="SvgIcon";const hv=f3(p3,{name:"MuiSvgIcon"})(dl);function m3(e,t){var r=function(o,a){return c.createElement(hv,A({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=hv.muiName,c.memo(c.forwardRef(r))}function h3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:166,r;function n(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=this,l=function(){e.apply(s,a)};clearTimeout(r),r=setTimeout(l,t)}return n.clear=function(){clearTimeout(r)},n}function b3(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(r,n,o,a,i){var s=o||"<<anonymous>>",l=i||n;return typeof r[n]<"u"?new Error("The ".concat(a," `").concat(l,"` of ")+"`".concat(s,"` is deprecated. ").concat(t)):null}}function g3(e,t){return U.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function bv(e){return e&&e.ownerDocument||document}function v3(e){var t=bv(e);return t.defaultView||window}function y3(e){if(process.env.NODE_ENV==="production")return function(){return null};var t=function(n){return function(o,a,i,s,l){var d=l||a;return typeof o[a]<"u"&&!o[n]?new Error("The prop `".concat(d,"` of ")+"`".concat(e,"` must be used on `").concat(n,"`.")):null}};return t}function ul(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function $3(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;var a=o||t;return typeof e[t]<"u"?new Error("The prop `".concat(a,"` is not supported. Please remove it.")):null}function x3(e){var t=e.controlled,r=e.default,n=e.name,o=e.state,a=o===void 0?"value":o,i=U.useRef(t!==void 0),s=i.current,l=U.useState(r),d=l[0],u=l[1],p=s?t:d;if(process.env.NODE_ENV!=="production"){U.useEffect(function(){s!==(t!==void 0)&&console.error(["Material-UI: A component is changing the ".concat(s?"":"un","controlled ").concat(a," state of ").concat(n," to be ").concat(s?"un":"","controlled."),"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled ".concat(n," ")+"element for the lifetime of the component.","The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
1763
|
+
`))},[t]);var m=U.useRef(r),h=m.current;U.useEffect(function(){!s&&h!==r&&console.error(["Material-UI: A component is changing the default ".concat(a," state of an uncontrolled ").concat(n," after being initialized. ")+"To suppress this warning opt to use a controlled ".concat(n,".")].join(`
|
|
1764
|
+
`))},[JSON.stringify(r)])}var b=U.useCallback(function(g){s||u(g)},[]);return[p,b]}var _3=typeof window<"u"?U.useLayoutEffect:U.useEffect;function w3(e){var t=U.useRef(e);return _3(function(){t.current=e}),U.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function E3(e,t){return U.useMemo(function(){return e==null&&t==null?null:function(r){ul(e,r),ul(t,r)}},[e,t])}function S3(e){var t=U.useState(e),r=t[0],n=t[1],o=e||r;return U.useEffect(function(){r==null&&n("mui-".concat(Math.round(Math.random()*1e5)))},[r]),o}var Wo=!0,fl=!1,gv=null,P3={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function T3(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&P3[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function k3(e){e.metaKey||e.altKey||e.ctrlKey||(Wo=!0)}function pl(){Wo=!1}function D3(){this.visibilityState==="hidden"&&fl&&(Wo=!0)}function C3(e){e.addEventListener("keydown",k3,!0),e.addEventListener("mousedown",pl,!0),e.addEventListener("pointerdown",pl,!0),e.addEventListener("touchstart",pl,!0),e.addEventListener("visibilitychange",D3,!0)}function vv(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return Wo||T3(t)}function I3(){fl=!0,window.clearTimeout(gv),gv=window.setTimeout(function(){fl=!1},100)}function O3(){var e=U.useCallback(function(t){var r=kl.findDOMNode(t);r!=null&&C3(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&U.useDebugValue(vv),{isFocusVisible:vv,onBlurVisible:I3,ref:e}}const A3=ky(Object.freeze(Object.defineProperty({__proto__:null,capitalize:Es,createChainedFunction:m7,createSvgIcon:m3,debounce:h3,deprecatedPropType:b3,isMuiElement:g3,ownerDocument:bv,ownerWindow:v3,requirePropFactory:y3,setRef:ul,unstable_useId:S3,unsupportedProp:$3,useControlled:x3,useEventCallback:w3,useForkRef:E3,useIsFocusVisible:O3},Symbol.toStringTag,{value:"Module"})));var yv;function $v(){return yv||(yv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=A3}(hs)),hs}var M3=No,N3=zo;Object.defineProperty(ps,"__esModule",{value:!0});var xv=ps.default=void 0,z3=N3(c),K3=M3($v()),F3=(0,K3.default)(z3.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");xv=ps.default=F3;var ml={},L3=No,V3=zo;Object.defineProperty(ml,"__esModule",{value:!0});var _v=ml.default=void 0,j3=V3(c),R3=L3($v()),B3=(0,R3.default)(j3.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");_v=ml.default=B3;const W3=k.div`
|
|
1765
1765
|
--border-color: ${f.color_outline_secondary_enabled};
|
|
1766
1766
|
|
|
1767
1767
|
border-radius: ${f.border_radius_400};
|
|
@@ -1792,7 +1792,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1792
1792
|
font-size: 1rem;
|
|
1793
1793
|
fill: ${f.color_text_weak};
|
|
1794
1794
|
}
|
|
1795
|
-
`,
|
|
1795
|
+
`,U3=k(_p)`
|
|
1796
1796
|
all: unset;
|
|
1797
1797
|
position: absolute;
|
|
1798
1798
|
right: 10px;
|
|
@@ -1813,7 +1813,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1813
1813
|
line-height: 0;
|
|
1814
1814
|
font-size: ${f.font_size_50};
|
|
1815
1815
|
}
|
|
1816
|
-
`,
|
|
1816
|
+
`,H3=k(Qr)`
|
|
1817
1817
|
padding-left: 32px;
|
|
1818
1818
|
width: 100%;
|
|
1819
1819
|
|
|
@@ -1825,7 +1825,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1825
1825
|
&::-webkit-search-results-decoration {
|
|
1826
1826
|
-webkit-appearance: none;
|
|
1827
1827
|
}
|
|
1828
|
-
`,
|
|
1828
|
+
`,wv=c.forwardRef((e,t)=>{const{label:r,size:n="small",placeholder:o="Search",disabled:a,readOnly:i,required:s,hideLabel:l,onChange:d,onClear:u,onSubmit:p,...m}=e,h={label:r,placeholder:o,onClear:u,onSubmit:p,onChange:d,isDisabled:a,isReadOnly:i,isRequired:s},b=Xk(h),g=tt(t),{labelProps:v,inputProps:$,clearButtonProps:x}=Qk(h,b,g);return ee(Ut,{children:[S(je,{...v,srOnly:l,children:r}),ee(W3,{children:[S(xv,{}),S(H3,{...$,ref:g,placeholder:o,paddingSize:n,...m}),b.value!==""&&S(U3,{...x,children:S(_v,{})})]})]})});wv.displayName="Search";const Ev="Switch",[G3,UC]=Oe(Ev),[q3,Y3]=G3(Ev),Z3=c.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:a,required:i,disabled:s,value:l="on",onCheckedChange:d,...u}=e,[p,m]=c.useState(null),h=fe(t,x=>m(x)),b=c.useRef(!1),g=p?Boolean(p.closest("form")):!0,[v=!1,$]=Ye({prop:o,defaultProp:a,onChange:d});return c.createElement(q3,{scope:r,checked:v,disabled:s},c.createElement(ae.button,A({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":Sv(v),"data-disabled":s?"":void 0,disabled:s,value:l},u,{ref:h,onClick:Q(e.onClick,x=>{$(_=>!_),g&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})})),g&&c.createElement(Q3,{control:p,bubbles:!b.current,name:n,value:l,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),X3="SwitchThumb",J3=c.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=Y3(X3,r);return c.createElement(ae.span,A({"data-state":Sv(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),Q3=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=c.useRef(null),i=lo(r),s=On(t);return c.useEffect(()=>{const l=a.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&p){const m=new Event("click",{bubbles:n});p.call(l,r),l.dispatchEvent(m)}},[i,r,n]),c.createElement("input",A({type:"checkbox","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Sv(e){return e?"checked":"unchecked"}const e6=Z3,t6=J3,r6=k(e6)`
|
|
1829
1829
|
all: unset;
|
|
1830
1830
|
width: 40px;
|
|
1831
1831
|
height: 24px;
|
|
@@ -1865,7 +1865,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1865
1865
|
&[aria-checked='true']:active {
|
|
1866
1866
|
background-color: ${f.color_fill_primary_pressed};
|
|
1867
1867
|
}
|
|
1868
|
-
`,
|
|
1868
|
+
`,n6=k(t6)`
|
|
1869
1869
|
--thumb-width: 18px;
|
|
1870
1870
|
display: block;
|
|
1871
1871
|
width: var(--thumb-width);
|
|
@@ -1884,26 +1884,26 @@ const theme2 = createTheme({ palette: {
|
|
|
1884
1884
|
&[data-state~='checked'] {
|
|
1885
1885
|
transform: translateX(19px);
|
|
1886
1886
|
}
|
|
1887
|
-
|
|
1887
|
+
`,Pv=c.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=Dp(r);return S(r6,{...n,...o,ref:t,children:S(n6,{})})});Pv.displayName="Switch";const Uo=k.h1`
|
|
1888
1888
|
font-family: ${f.font_family_inter_display};
|
|
1889
1889
|
font-style: normal;
|
|
1890
1890
|
font-weight: 500; /* don't really see value of using tokens for font-weight */
|
|
1891
1891
|
margin: 0;
|
|
1892
1892
|
padding-inline: 0;
|
|
1893
1893
|
color: ${f.color_text_strong};
|
|
1894
|
-
`,
|
|
1894
|
+
`,o6=k(Uo)`
|
|
1895
1895
|
font-size: ${f.font_size_title_large};
|
|
1896
1896
|
letter-spacing: ${f.letter_spacing_title_large};
|
|
1897
|
-
`,
|
|
1897
|
+
`,a6=k(Uo)`
|
|
1898
1898
|
font-size: ${f.font_size_title_medium};
|
|
1899
1899
|
letter-spacing: ${f.letter_spacing_title_medium};
|
|
1900
|
-
`,
|
|
1900
|
+
`,i6=k(Uo)`
|
|
1901
1901
|
font-size: ${f.font_size_title_small};
|
|
1902
1902
|
letter-spacing: ${f.letter_spacing_title_small};
|
|
1903
|
-
`,
|
|
1903
|
+
`,s6={xsmall:k(Uo)`
|
|
1904
1904
|
font-size: ${f.font_size_title_xsmall};
|
|
1905
1905
|
letter-spacing: ${f.letter_spacing_title_xsmall};
|
|
1906
|
-
`,small:h6,medium:m6,large:p6},_v=l.forwardRef((e,t)=>{const{children:r,size:n,as:o,className:a,...i}=e,s=b6[n];return S(s,{...i,as:o,ref:t,className:a,children:r})});_v.displayName="Title";function xv(e){return null}xv.getCollectionNode=function*(t,r){let{childItems:n,title:o,children:a}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&!(r!=null&&r.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:s,"aria-label":t["aria-label"],hasChildNodes:g6(t),*childNodes(){if(n)for(let c of n)yield{type:"item",value:c};else if(o){let c=[];l.Children.forEach(a,d=>{c.push({type:"item",element:d})}),yield*c}}}};function g6(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&l.Children.count(e.children)>0)}let Wo=xv;function wv(e){return null}wv.getCollectionNode=function*(t){let{children:r,title:n,items:o}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof r=="function"){if(!o)throw new Error("props.children was a function but props.items is missing");for(let a of o)yield{type:"item",value:a,renderer:r}}else{let a=[];l.Children.forEach(r,i=>{a.push({type:"item",element:i})}),yield*a}}}};let fl=wv;class v6{build(t,r){return this.context=r,Ev(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];l.Children.forEach(r,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let c of s)a++,yield c}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let c=this.cache.get(t.value);if(c&&(!c.shouldInvalidate||!c.shouldInvalidate(this.context))){c.index=t.index,c.parentKey=o?o.key:null,yield c;return}a=r.renderer(t.value)}if(l.isValidElement(a)){let c=a.type;if(typeof c!="function"&&typeof c.getCollectionNode!="function"){let m=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${m}> in collection.`)}let d=c.getCollectionNode(a.props,this.context),u=t.index,p=d.next();for(;!p.done&&p.value;){let m=p.value;t.index=u;let h=m.key;h||(h=m.element?null:this.getKey(a,t,r,n));let g=[...this.getFullNode({...m,key:h,index:u,wrapper:y6(t.wrapper,m.wrapper)},this.getChildState(r,m),n?`${n}${a.key}`:a.key,o)];for(let v of g){if(v.value=m.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${pl(v.type)}> in <${pl(o.type)}>. Only <${pl(t.type)}> is supported.`);u++,yield v}p=d.next(g)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:Ev(function*(){if(!t.hasChildNodes)return;let c=0;for(let d of t.childNodes()){d.key!=null&&(d.key=`${s.key}${d.key}`),d.index=c;let u=i.getFullNode(d,i.getChildState(r,d),s.key,s);for(let p of u)c++,yield p}})};yield s}constructor(){sr(this,"cache",new WeakMap)}}function Ev(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function y6(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function pl(e){return e[0].toUpperCase()+e.slice(1)}function $6(e,t,r,n=[]){let o=l.useMemo(()=>new v6,[]),a=l.useRef(null);return l.useMemo(()=>{let i=o.build(e,r);return a.current=t(i,a.current),a.current},[o,e.children,e.items,r,...n])}const Sv=new WeakMap;function Pv(e){let t=Sv.get(e);if(t!=null)return t;t=0;for(let r of e)r.type==="section"?t+=Pv(r.childNodes):t++;return Sv.set(e,t),t}function Tv(e){return bx()?e.altKey:e.ctrlKey}function Dr(e){return Vt()?e.metaKey:e.ctrlKey}const _6=1e3;function ml(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=l.useRef({search:"",timeout:null}).current,a=i=>{let s=x6(i.key);if(!s||i.ctrlKey||i.metaKey)return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let c=t.getKeyForSearch(o.search,r.focusedKey);c==null&&(c=t.getKeyForSearch(o.search)),c!=null&&(r.setFocusedKey(c),n&&n(c)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},_6)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function x6(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function w6(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:u,allowsTabNavigation:p=!1,isVirtualized:m,scrollRef:h=n}=e,{direction:b}=rt(),g=E=>{if(E.altKey&&E.key==="Tab"&&E.preventDefault(),!n.current.contains(E.target))return;const C=(P,T)=>{P!=null&&(t.setFocusedKey(P,T),E.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(P):c&&!Tv(E)&&t.replaceSelection(P))};switch(E.key){case"ArrowDown":if(r.getKeyBelow){var M,V;E.preventDefault();let P=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(M=r.getFirstKey)===null||M===void 0?void 0:M.call(r);P==null&&a&&(P=(V=r.getFirstKey)===null||V===void 0?void 0:V.call(r,t.focusedKey)),C(P)}break;case"ArrowUp":if(r.getKeyAbove){var k,L;E.preventDefault();let P=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(k=r.getLastKey)===null||k===void 0?void 0:k.call(r);P==null&&a&&(P=(L=r.getLastKey)===null||L===void 0?void 0:L.call(r,t.focusedKey)),C(P)}break;case"ArrowLeft":if(r.getKeyLeftOf){E.preventDefault();let P=r.getKeyLeftOf(t.focusedKey);C(P,b==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){E.preventDefault();let P=r.getKeyRightOf(t.focusedKey);C(P,b==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){E.preventDefault();let P=r.getFirstKey(t.focusedKey,Dr(E));t.setFocusedKey(P),Dr(E)&&E.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(P):c&&t.replaceSelection(P)}break;case"End":if(r.getLastKey){E.preventDefault();let P=r.getLastKey(t.focusedKey,Dr(E));t.setFocusedKey(P),Dr(E)&&E.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(P):c&&t.replaceSelection(P)}break;case"PageDown":if(r.getKeyPageBelow){E.preventDefault();let P=r.getKeyPageBelow(t.focusedKey);C(P)}break;case"PageUp":if(r.getKeyPageAbove){E.preventDefault();let P=r.getKeyPageAbove(t.focusedKey);C(P)}break;case"a":Dr(E)&&t.selectionMode==="multiple"&&s!==!0&&(E.preventDefault(),t.selectAll());break;case"Escape":E.preventDefault(),i||t.clearSelection();break;case"Tab":if(!p){if(E.shiftKey)n.current.focus();else{let P=Me(n.current,{tabbable:!0}),T,H;do H=P.lastChild(),H&&(T=H);while(H);T&&!T.contains(document.activeElement)&&wt(T)}break}}},v=l.useRef({top:0,left:0});Kn(h,"scroll",m?null:()=>{v.current={top:h.current.scrollTop,left:h.current.scrollLeft}});let _=E=>{if(t.isFocused){E.currentTarget.contains(E.target)||t.setFocused(!1);return}if(E.currentTarget.contains(E.target)){if(t.setFocused(!0),t.focusedKey==null){let V=L=>{L!=null&&(t.setFocusedKey(L),c&&t.replaceSelection(L))},k=E.relatedTarget;var C,M;k&&E.currentTarget.compareDocumentPosition(k)&Node.DOCUMENT_POSITION_FOLLOWING?V((C=t.lastSelectedKey)!==null&&C!==void 0?C:r.getLastKey()):V((M=t.firstSelectedKey)!==null&&M!==void 0?M:r.getFirstKey())}else if(!m){h.current.scrollTop=v.current.top,h.current.scrollLeft=v.current.left;let V=h.current.querySelector(`[data-key="${t.focusedKey}"]`);V&&(wt(V),Ma(h.current,V))}}},$=E=>{E.currentTarget.contains(E.relatedTarget)||t.setFocused(!1)};const x=l.useRef(o);l.useEffect(()=>{if(x.current){let E=null;o==="first"&&(E=r.getFirstKey()),o==="last"&&(E=r.getLastKey());let C=t.selectedKeys;C.size&&(E=C.values().next().value),t.setFocused(!0),t.setFocusedKey(E),E==null&&!u&&Wn(n.current)}x.current=!1},[]),l.useEffect(()=>{if(!m&&t.focusedKey&&(h!=null&&h.current)){let E=h.current.querySelector(`[data-key="${t.focusedKey}"]`);E&&Ma(h.current,E)}},[m,h,t.focusedKey]);let y={onKeyDown:g,onFocus:_,onBlur:$,onMouseDown(E){h.current===E.target&&E.preventDefault()}},{typeSelectProps:A}=ml({keyboardDelegate:r,selectionManager:t});d||(y=pe(A,y));let N;return u||(N=t.focusedKey==null?0:-1),{collectionProps:{...y,tabIndex:N}}}function E6(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,isVirtualized:a,shouldUseVirtualFocus:i,focus:s,isDisabled:c,onAction:d,allowsDifferentPressOrigin:u}=e,p=L=>{if(L.pointerType==="keyboard"&&Tv(L))t.toggleSelection(r);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):L&&L.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||L&&(Dr(L)||L.pointerType==="touch"||L.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};l.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!i&&document.activeElement!==n.current&&(s?s():Wn(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,i]),c=c||t.isDisabled(r);let m={};!i&&!c?m={tabIndex:r===t.focusedKey?0:-1,onFocus(L){L.target===n.current&&t.setFocusedKey(r)}}:c&&(m.onMouseDown=L=>{L.preventDefault()});let h=!c&&t.canSelectItem(r),b=d&&!c,g=b&&(t.selectionBehavior==="replace"?!h:t.isEmpty),v=b&&h&&t.selectionBehavior==="replace",_=g||v,$=l.useRef(null),x=_&&h,y=l.useRef(!1),A=l.useRef(!1),N={};o?(N.onPressStart=L=>{$.current=L.pointerType,y.current=x,L.pointerType==="keyboard"&&(!_||Dv())&&p(L)},u?(N.onPressUp=L=>{L.pointerType!=="keyboard"&&p(L)},N.onPress=g?()=>d():null):N.onPress=L=>{if(g||v&&L.pointerType!=="mouse"){if(L.pointerType==="keyboard"&&!kv())return;d()}else L.pointerType!=="keyboard"&&p(L)}):(N.onPressStart=L=>{$.current=L.pointerType,y.current=x,A.current=g,(L.pointerType==="mouse"&&!g||L.pointerType==="keyboard"&&(!d||Dv()))&&p(L)},N.onPress=L=>{(L.pointerType==="touch"||L.pointerType==="pen"||L.pointerType==="virtual"||L.pointerType==="keyboard"&&_&&kv()||L.pointerType==="mouse"&&A.current)&&(_?d():p(L))}),a||(m["data-key"]=r),N.preventFocusOnPress=i;let{pressProps:E,isPressed:C}=cr(N),M=v?L=>{$.current==="mouse"&&(L.stopPropagation(),L.preventDefault(),d())}:void 0,{longPressProps:V}=pd({isDisabled:!x,onLongPress(L){L.pointerType==="touch"&&(p(L),t.setSelectionBehavior("toggle"))}});return{itemProps:pe(m,h||g?E:{},x?V:{},{onDoubleClick:M,onDragStartCapture:L=>{$.current==="touch"&&y.current&&L.preventDefault()}}),isPressed:C,isSelected:t.isSelected(r),isDisabled:c,allowsSelection:h,hasAction:_}}function kv(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Dv(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class hl{getKeyBelow(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getKeyAbove(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.max(0,n.offsetTop+n.offsetHeight-r.offsetHeight);for(;n&&n.offsetTop>o;)t=this.getKeyAbove(t),n=this.getItem(t);return t}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.min(r.scrollHeight,n.offsetTop-n.offsetHeight+r.offsetHeight);for(;n&&n.offsetTop<o;)t=this.getKeyBelow(t),n=this.getItem(t);return t}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let a=n.getItem(o),i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return o;o=this.getKeyBelow(o)}return null}constructor(t,r,n,o){this.collection=t,this.disabledKeys=r,this.ref=n,this.collator=o}}function S6(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a,autoFocus:i,shouldFocusWrap:s,isVirtualized:c,disallowEmptySelection:d,selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:p,shouldUseVirtualFocus:m,allowsTabNavigation:h}=e,b=io({usage:"search",sensitivity:"base"}),g=t.disabledBehavior,v=l.useMemo(()=>a||new hl(r,g==="selection"?new Set:n,o,b),[a,r,n,o,b,g]),{collectionProps:_}=w6({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:s,disallowEmptySelection:d,selectOnFocus:u,disallowTypeAhead:p,shouldUseVirtualFocus:m,allowsTabNavigation:h,isVirtualized:c,scrollRef:o});return{listProps:_}}const bl=new WeakMap;function P6(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function T6(e,t){let r=bl.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${P6(t)}`}function Cv(e,t,r){let n=ft(e,{labelable:!0}),{listProps:o}=S6({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=Rt({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=ze(e.id);bl.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:s,fieldProps:c}=Uu({...e,id:i,labelElementType:"span"});return{labelProps:s,listBoxProps:pe(n,a,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...pe(c,o)})}}function Iv(e,t,r){let{key:n}=e,o=bl.get(t);var a;let i=(a=e.isDisabled)!==null&&a!==void 0?a:t.disabledKeys.has(n);var s;let c=(s=e.isSelected)!==null&&s!==void 0?s:t.selectionManager.isSelected(n),d=t.selectionManager.focusedKey===n;var u;let p=(u=e.shouldSelectOnPressUp)!==null&&u!==void 0?u:o.shouldSelectOnPressUp;var m;let h=(m=e.shouldFocusOnHover)!==null&&m!==void 0?m:o.shouldFocusOnHover;var b;let g=(b=e.shouldUseVirtualFocus)!==null&&b!==void 0?b:o.shouldUseVirtualFocus;var v;let _=(v=e.isVirtualized)!==null&&v!==void 0?v:o.isVirtualized,$=zn(),x=zn(),y={role:"option","aria-disabled":i,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};Vt()&&gx()||(y["aria-label"]=e["aria-label"],y["aria-labelledby"]=$,y["aria-describedby"]=x),_&&(y["aria-posinset"]=t.collection.getItem(n).index+1,y["aria-setsize"]=Pv(t.collection));let{itemProps:A,isPressed:N,hasAction:E,allowsSelection:C}=E6({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&h,isVirtualized:_,shouldUseVirtualFocus:g,isDisabled:i,onAction:o.onAction?()=>o.onAction(n):void 0}),{hoverProps:M}=Nx({isDisabled:i||!h,onHoverStart(){Ra()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}});return{optionProps:{...y,...pe(A,M),id:T6(t,n)},labelProps:{id:$},descriptionProps:{id:x},isFocused:d,isSelected:c,isDisabled:i,isPressed:N,allowsSelection:C,hasAction:E}}const Ov=D.ul`
|
|
1906
|
+
`,small:i6,medium:a6,large:o6},Tv=c.forwardRef((e,t)=>{const{children:r,size:n,as:o,className:a,...i}=e,s=s6[n];return S(s,{...i,as:o,ref:t,className:a,children:r})});Tv.displayName="Title";function kv(e){return null}kv.getCollectionNode=function*(t,r){let{childItems:n,title:o,children:a}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&!(r!=null&&r.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:s,"aria-label":t["aria-label"],hasChildNodes:l6(t),*childNodes(){if(n)for(let l of n)yield{type:"item",value:l};else if(o){let l=[];c.Children.forEach(a,d=>{l.push({type:"item",element:d})}),yield*l}}}};function l6(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&c.Children.count(e.children)>0)}let Ho=kv;function Dv(e){return null}Dv.getCollectionNode=function*(t){let{children:r,title:n,items:o}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof r=="function"){if(!o)throw new Error("props.children was a function but props.items is missing");for(let a of o)yield{type:"item",value:a,renderer:r}}else{let a=[];c.Children.forEach(r,i=>{a.push({type:"item",element:i})}),yield*a}}}};let hl=Dv;class c6{build(t,r){return this.context=r,Cv(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];c.Children.forEach(r,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let l of s)a++,yield l}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}a=r.renderer(t.value)}if(c.isValidElement(a)){let l=a.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let m=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${m}> in collection.`)}let d=l.getCollectionNode(a.props,this.context),u=t.index,p=d.next();for(;!p.done&&p.value;){let m=p.value;t.index=u;let h=m.key;h||(h=m.element?null:this.getKey(a,t,r,n));let g=[...this.getFullNode({...m,key:h,index:u,wrapper:d6(t.wrapper,m.wrapper)},this.getChildState(r,m),n?`${n}${a.key}`:a.key,o)];for(let v of g){if(v.value=m.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${bl(v.type)}> in <${bl(o.type)}>. Only <${bl(t.type)}> is supported.`);u++,yield v}p=d.next(g)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:Cv(function*(){if(!t.hasChildNodes)return;let l=0;for(let d of t.childNodes()){d.key!=null&&(d.key=`${s.key}${d.key}`),d.index=l;let u=i.getFullNode(d,i.getChildState(r,d),s.key,s);for(let p of u)l++,yield p}})};yield s}constructor(){ir(this,"cache",new WeakMap)}}function Cv(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function d6(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function bl(e){return e[0].toUpperCase()+e.slice(1)}function u6(e,t,r,n=[]){let o=c.useMemo(()=>new c6,[]),a=c.useRef(null);return c.useMemo(()=>{let i=o.build(e,r);return a.current=t(i,a.current),a.current},[o,e.children,e.items,r,...n])}const Iv=new WeakMap;function Ov(e){let t=Iv.get(e);if(t!=null)return t;t=0;for(let r of e)r.type==="section"?t+=Ov(r.childNodes):t++;return Iv.set(e,t),t}function Av(e){return l_()?e.altKey:e.ctrlKey}function Dr(e){return Vt()?e.metaKey:e.ctrlKey}const f6=1e3;function gl(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=c.useRef({search:"",timeout:null}).current,a=i=>{let s=p6(i.key);if(!s||i.ctrlKey||i.metaKey)return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let l=t.getKeyForSearch(o.search,r.focusedKey);l==null&&(l=t.getKeyForSearch(o.search)),l!=null&&(r.setFocusedKey(l),n&&n(l)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},f6)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function p6(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function m6(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:l=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:u,allowsTabNavigation:p=!1,isVirtualized:m,scrollRef:h=n}=e,{direction:b}=rt(),g=E=>{if(E.altKey&&E.key==="Tab"&&E.preventDefault(),!n.current.contains(E.target))return;const D=(P,T)=>{P!=null&&(t.setFocusedKey(P,T),E.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(P):l&&!Av(E)&&t.replaceSelection(P))};switch(E.key){case"ArrowDown":if(r.getKeyBelow){var M,V;E.preventDefault();let P=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(M=r.getFirstKey)===null||M===void 0?void 0:M.call(r);P==null&&a&&(P=(V=r.getFirstKey)===null||V===void 0?void 0:V.call(r,t.focusedKey)),D(P)}break;case"ArrowUp":if(r.getKeyAbove){var C,L;E.preventDefault();let P=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(C=r.getLastKey)===null||C===void 0?void 0:C.call(r);P==null&&a&&(P=(L=r.getLastKey)===null||L===void 0?void 0:L.call(r,t.focusedKey)),D(P)}break;case"ArrowLeft":if(r.getKeyLeftOf){E.preventDefault();let P=r.getKeyLeftOf(t.focusedKey);D(P,b==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){E.preventDefault();let P=r.getKeyRightOf(t.focusedKey);D(P,b==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){E.preventDefault();let P=r.getFirstKey(t.focusedKey,Dr(E));t.setFocusedKey(P),Dr(E)&&E.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(P):l&&t.replaceSelection(P)}break;case"End":if(r.getLastKey){E.preventDefault();let P=r.getLastKey(t.focusedKey,Dr(E));t.setFocusedKey(P),Dr(E)&&E.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(P):l&&t.replaceSelection(P)}break;case"PageDown":if(r.getKeyPageBelow){E.preventDefault();let P=r.getKeyPageBelow(t.focusedKey);D(P)}break;case"PageUp":if(r.getKeyPageAbove){E.preventDefault();let P=r.getKeyPageAbove(t.focusedKey);D(P)}break;case"a":Dr(E)&&t.selectionMode==="multiple"&&s!==!0&&(E.preventDefault(),t.selectAll());break;case"Escape":E.preventDefault(),i||t.clearSelection();break;case"Tab":if(!p){if(E.shiftKey)n.current.focus();else{let P=Ne(n.current,{tabbable:!0}),T,G;do G=P.lastChild(),G&&(T=G);while(G);T&&!T.contains(document.activeElement)&&wt(T)}break}}},v=c.useRef({top:0,left:0});Ln(h,"scroll",m?null:()=>{v.current={top:h.current.scrollTop,left:h.current.scrollLeft}});let $=E=>{if(t.isFocused){E.currentTarget.contains(E.target)||t.setFocused(!1);return}if(E.currentTarget.contains(E.target)){if(t.setFocused(!0),t.focusedKey==null){let V=L=>{L!=null&&(t.setFocusedKey(L),l&&t.replaceSelection(L))},C=E.relatedTarget;var D,M;C&&E.currentTarget.compareDocumentPosition(C)&Node.DOCUMENT_POSITION_FOLLOWING?V((D=t.lastSelectedKey)!==null&&D!==void 0?D:r.getLastKey()):V((M=t.firstSelectedKey)!==null&&M!==void 0?M:r.getFirstKey())}else if(!m){h.current.scrollTop=v.current.top,h.current.scrollLeft=v.current.left;let V=h.current.querySelector(`[data-key="${t.focusedKey}"]`);V&&(wt(V),za(h.current,V))}}},x=E=>{E.currentTarget.contains(E.relatedTarget)||t.setFocused(!1)};const _=c.useRef(o);c.useEffect(()=>{if(_.current){let E=null;o==="first"&&(E=r.getFirstKey()),o==="last"&&(E=r.getLastKey());let D=t.selectedKeys;D.size&&(E=D.values().next().value),t.setFocused(!0),t.setFocusedKey(E),E==null&&!u&&Hn(n.current)}_.current=!1},[]),c.useEffect(()=>{if(!m&&t.focusedKey&&(h!=null&&h.current)){let E=h.current.querySelector(`[data-key="${t.focusedKey}"]`);E&&(za(h.current,E),id(E,{containingElement:n.current}))}},[m,h,t.focusedKey,n]);let y={onKeyDown:g,onFocus:$,onBlur:x,onMouseDown(E){h.current===E.target&&E.preventDefault()}},{typeSelectProps:I}=gl({keyboardDelegate:r,selectionManager:t});d||(y=pe(I,y));let N;return u||(N=t.focusedKey==null?0:-1),{collectionProps:{...y,tabIndex:N}}}function h6(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,isVirtualized:a,shouldUseVirtualFocus:i,focus:s,isDisabled:l,onAction:d,allowsDifferentPressOrigin:u}=e,p=L=>{if(L.pointerType==="keyboard"&&Av(L))t.toggleSelection(r);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):L&&L.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||L&&(Dr(L)||L.pointerType==="touch"||L.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};c.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!i&&document.activeElement!==n.current&&(s?s():Hn(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,i]),l=l||t.isDisabled(r);let m={};!i&&!l?m={tabIndex:r===t.focusedKey?0:-1,onFocus(L){L.target===n.current&&t.setFocusedKey(r)}}:l&&(m.onMouseDown=L=>{L.preventDefault()});let h=!l&&t.canSelectItem(r),b=d&&!l,g=b&&(t.selectionBehavior==="replace"?!h:t.isEmpty),v=b&&h&&t.selectionBehavior==="replace",$=g||v,x=c.useRef(null),_=$&&h,y=c.useRef(!1),I=c.useRef(!1),N={};o?(N.onPressStart=L=>{x.current=L.pointerType,y.current=_,L.pointerType==="keyboard"&&(!$||Nv())&&p(L)},u?(N.onPressUp=L=>{L.pointerType!=="keyboard"&&p(L)},N.onPress=g?()=>d():null):N.onPress=L=>{if(g||v&&L.pointerType!=="mouse"){if(L.pointerType==="keyboard"&&!Mv())return;d()}else L.pointerType!=="keyboard"&&p(L)}):(N.onPressStart=L=>{x.current=L.pointerType,y.current=_,I.current=g,(L.pointerType==="mouse"&&!g||L.pointerType==="keyboard"&&(!d||Nv()))&&p(L)},N.onPress=L=>{(L.pointerType==="touch"||L.pointerType==="pen"||L.pointerType==="virtual"||L.pointerType==="keyboard"&&$&&Mv()||L.pointerType==="mouse"&&I.current)&&($?d():p(L))}),a||(m["data-key"]=r),N.preventFocusOnPress=i;let{pressProps:E,isPressed:D}=lr(N),M=v?L=>{x.current==="mouse"&&(L.stopPropagation(),L.preventDefault(),d())}:void 0,{longPressProps:V}=yd({isDisabled:!_,onLongPress(L){L.pointerType==="touch"&&(p(L),t.setSelectionBehavior("toggle"))}});return{itemProps:pe(m,h||g?E:{},_?V:{},{onDoubleClick:M,onDragStartCapture:L=>{x.current==="touch"&&y.current&&L.preventDefault()}}),isPressed:D,isSelected:t.isSelected(r),isDisabled:l,allowsSelection:h,hasAction:$}}function Mv(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Nv(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class vl{getKeyBelow(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getKeyAbove(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.max(0,n.offsetTop+n.offsetHeight-r.offsetHeight);for(;n&&n.offsetTop>o;)t=this.getKeyAbove(t),n=this.getItem(t);return t}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.min(r.scrollHeight,n.offsetTop-n.offsetHeight+r.offsetHeight);for(;n&&n.offsetTop<o;)t=this.getKeyBelow(t),n=this.getItem(t);return t}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let a=n.getItem(o),i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return o;o=this.getKeyBelow(o)}return null}constructor(t,r,n,o){this.collection=t,this.disabledKeys=r,this.ref=n,this.collator=o}}function b6(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a,autoFocus:i,shouldFocusWrap:s,isVirtualized:l,disallowEmptySelection:d,selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:p,shouldUseVirtualFocus:m,allowsTabNavigation:h}=e,b=so({usage:"search",sensitivity:"base"}),g=t.disabledBehavior,v=c.useMemo(()=>a||new vl(r,g==="selection"?new Set:n,o,b),[a,r,n,o,b,g]),{collectionProps:$}=m6({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:s,disallowEmptySelection:d,selectOnFocus:u,disallowTypeAhead:p,shouldUseVirtualFocus:m,allowsTabNavigation:h,isVirtualized:l,scrollRef:o});return{listProps:$}}const yl=new WeakMap;function g6(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function v6(e,t){let r=yl.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${g6(t)}`}function zv(e,t,r){let n=ft(e,{labelable:!0}),{listProps:o}=b6({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=ur({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=Ke(e.id);yl.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:s,fieldProps:l}=Yu({...e,id:i,labelElementType:"span"});return{labelProps:s,listBoxProps:pe(n,a,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...pe(l,o)})}}function Kv(e,t,r){let{key:n}=e,o=yl.get(t);var a;let i=(a=e.isDisabled)!==null&&a!==void 0?a:t.disabledKeys.has(n);var s;let l=(s=e.isSelected)!==null&&s!==void 0?s:t.selectionManager.isSelected(n),d=t.selectionManager.focusedKey===n;var u;let p=(u=e.shouldSelectOnPressUp)!==null&&u!==void 0?u:o.shouldSelectOnPressUp;var m;let h=(m=e.shouldFocusOnHover)!==null&&m!==void 0?m:o.shouldFocusOnHover;var b;let g=(b=e.shouldUseVirtualFocus)!==null&&b!==void 0?b:o.shouldUseVirtualFocus;var v;let $=(v=e.isVirtualized)!==null&&v!==void 0?v:o.isVirtualized,x=Kn(),_=Kn(),y={role:"option","aria-disabled":i,"aria-selected":t.selectionManager.selectionMode!=="none"?l:void 0};Vt()&&c_()||(y["aria-label"]=e["aria-label"],y["aria-labelledby"]=x,y["aria-describedby"]=_),$&&(y["aria-posinset"]=t.collection.getItem(n).index+1,y["aria-setsize"]=Ov(t.collection));let{itemProps:I,isPressed:N,hasAction:E,allowsSelection:D}=h6({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&h,isVirtualized:$,shouldUseVirtualFocus:g,isDisabled:i,onAction:o.onAction?()=>o.onAction(n):void 0}),{hoverProps:M}=T_({isDisabled:i||!h,onHoverStart(){Wa()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}});return{optionProps:{...y,...pe(I,M),id:v6(t,n)},labelProps:{id:x},descriptionProps:{id:_},isFocused:d,isSelected:l,isDisabled:i,isPressed:N,allowsSelection:D,hasAction:E}}const Fv=k.ul`
|
|
1907
1907
|
max-height: 300px;
|
|
1908
1908
|
overflow: auto;
|
|
1909
1909
|
list-style: none;
|
|
@@ -1911,7 +1911,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1911
1911
|
margin: 4px 0;
|
|
1912
1912
|
outline: none;
|
|
1913
1913
|
width: 100%;
|
|
1914
|
-
`,
|
|
1914
|
+
`,Lv=k.li`
|
|
1915
1915
|
all: unset;
|
|
1916
1916
|
background-color: ${e=>e.isFocused?f.color_background_white_weak:""};
|
|
1917
1917
|
font-size: ${f.font_size_100};
|
|
@@ -1928,20 +1928,20 @@ const theme2 = createTheme({ palette: {
|
|
|
1928
1928
|
padding: 7px ${f.sizing_200};
|
|
1929
1929
|
position: relative;
|
|
1930
1930
|
user-select: none;
|
|
1931
|
-
`,
|
|
1931
|
+
`,Vv=k.div`
|
|
1932
1932
|
display: flex;
|
|
1933
1933
|
align-items: center;
|
|
1934
1934
|
justify-content: space-between;
|
|
1935
1935
|
width: 100%;
|
|
1936
1936
|
padding: ${f.sizing_100};
|
|
1937
|
-
`,
|
|
1937
|
+
`,jv=k.div`
|
|
1938
1938
|
width: 18px;
|
|
1939
1939
|
height: 18px;
|
|
1940
1940
|
margin-left: 8px;
|
|
1941
|
-
`;function
|
|
1941
|
+
`;function y6(e){const t=U.useRef(null),{listBoxRef:r=t,state:n}=e,{listBoxProps:o}=zv({...e,disallowEmptySelection:!0},n,r);return S(Fv,{...o,ref:r,children:[...n.collection].map(a=>S(x6,{item:a,state:n},a.key))})}function $6(e){const t=U.useRef(null),{listBoxRef:r=t,state:n}=e,{listBoxProps:o}=zv({...e,disallowEmptySelection:!0},n,r);return S(Fv,{...o,ref:r,children:[...n.collection].map(a=>S(_6,{item:a,state:n},a.key))})}const Rv=U.createContext({labelProps:{},descriptionProps:{}});function x6({item:e,state:t}){const r=U.useRef(null),{optionProps:n,labelProps:o,descriptionProps:a,isSelected:i,isFocused:s,isDisabled:l}=Kv({key:e.key},t,r);return S(Lv,{...n,ref:r,isFocused:s,isSelected:i,children:S(Vv,{children:ee(Rv.Provider,{value:{labelProps:o,descriptionProps:a},children:[S("span",{children:e.rendered}),S(jv,{children:i&&S(Se.Check,{"aria-hidden":"true",style:{width:18,height:18}})})]})})})}function _6({item:e,state:t}){const r=U.useRef(null),{optionProps:n,labelProps:o,descriptionProps:a,isSelected:i,isFocused:s,isDisabled:l}=Kv({key:e.key},t,r);return ee(Lv,{...n,ref:r,isFocused:s,isSelected:i,children:[S(zi,{disabled:l,checked:i}),S(Vv,{children:ee(Rv.Provider,{value:{labelProps:o,descriptionProps:a},children:[S("span",{children:e.rendered}),S(jv,{children:i&&S(Se.Check,{"aria-hidden":"true",style:{width:18,height:18}})})]})})]})}k.div`
|
|
1942
1942
|
font-weight: normal;
|
|
1943
1943
|
font-size: 12px;
|
|
1944
|
-
`;const
|
|
1944
|
+
`;const w6=k.div`
|
|
1945
1945
|
z-index: 100;
|
|
1946
1946
|
min-width: 200px;
|
|
1947
1947
|
font-family: ${f.font_family_sans};
|
|
@@ -1949,9 +1949,9 @@ const theme2 = createTheme({ palette: {
|
|
|
1949
1949
|
background-color: ${f.color_white};
|
|
1950
1950
|
border-radius: ${f.border_radius_400};
|
|
1951
1951
|
box-shadow: ${f.elevation_static_high};
|
|
1952
|
-
`;function Fv(e){const t=W.useRef(null),{popoverRef:r=t,triggerRef:n,state:o,children:a,isNonModal:i}=e,{popoverProps:s,underlayProps:c}=Q5({...e,popoverRef:r},o),d={...s.style,width:n.current?`${n.current.offsetWidth}px`:"200px"};return ee(tS,{children:[!i&&S("div",{...c,style:{position:"fixed",inset:0}}),ee(O6,{...s,style:d,ref:r,children:[!i&&S(hm,{onDismiss:o.close}),a,S(hm,{onDismiss:o.close})]})]})}function A6(e){return e&&e.__esModule?e.default:e}var Kv={},Lv={};Lv={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Vv={};Vv={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var jv={};jv={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Rv={};Rv={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Bv={};Bv={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Uv={};Uv={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Wv={};Wv={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Hv={};Hv={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Gv={};Gv={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var qv={};qv={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Yv={};Yv={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Zv={};Zv={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Xv={};Xv={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Jv={};Jv={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Qv={};Qv={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var e0={};e0={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var t0={};t0={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var r0={};r0={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var n0={};n0={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var o0={};o0={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var a0={};a0={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var i0={};i0={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var s0={};s0={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var l0={};l0={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var c0={};c0={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var d0={};d0={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var u0={};u0={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var f0={};f0={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var p0={};p0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var m0={};m0={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var h0={};h0={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var b0={};b0={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var g0={};g0={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var v0={};v0={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},Kv={"ar-AE":Lv,"bg-BG":Vv,"cs-CZ":jv,"da-DK":Rv,"de-DE":Bv,"el-GR":Uv,"en-US":Wv,"es-ES":Hv,"et-EE":Gv,"fi-FI":qv,"fr-FR":Yv,"he-IL":Zv,"hr-HR":Xv,"hu-HU":Jv,"it-IT":Qv,"ja-JP":e0,"ko-KR":t0,"lt-LT":r0,"lv-LV":n0,"nb-NO":o0,"nl-NL":a0,"pl-PL":i0,"pt-BR":s0,"pt-PT":l0,"ro-RO":c0,"ru-RU":d0,"sk-SK":u0,"sl-SI":f0,"sr-SP":p0,"sv-SE":m0,"tr-TR":h0,"uk-UA":b0,"zh-CN":g0,"zh-TW":v0};function y0(e,t,r){let{type:n="menu",isDisabled:o,trigger:a="press"}=e,i=ze(),{triggerProps:s,overlayProps:c}=G5({type:n},t,r),d=h=>{if(!o&&!(a==="longPress"&&!h.altKey)&&r&&r.current)switch(h.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("last");break}},u=Pt(A6(Kv)),{longPressProps:p}=pd({isDisabled:o||a!=="longPress",accessibilityDescription:u.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),m={onPressStart(h){h.pointerType!=="touch"&&h.pointerType!=="keyboard"&&!o&&t.toggle(h.pointerType==="virtual"?"first":null)},onPress(h){h.pointerType==="touch"&&!o&&t.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...a==="press"?m:p,id:i,onKeyDown:d},menuProps:{...c,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function M6(e,t,r){const{disallowEmptySelection:n,isDisabled:o}=e,a=io({usage:"search",sensitivity:"base"}),i=l.useMemo(()=>new hl(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:c}=y0({isDisabled:o,type:"listbox"},t,r),d=v=>{if(t.selectionMode==="single")switch(v.key){case"ArrowLeft":{v.preventDefault();const _=t.selectedKeys.size>0?i.getKeyAbove(t.selectedKeys.values().next().value):i.getFirstKey();_&&t.setSelectedKeys([_]);break}case"ArrowRight":{v.preventDefault();const _=t.selectedKeys.size>0?i.getKeyBelow(t.selectedKeys.values().next().value):i.getFirstKey();_&&t.setSelectedKeys([_]);break}}},{typeSelectProps:u}=ml({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(v){t.setSelectedKeys([v])}}),{labelProps:p,fieldProps:m}=Xr({...e,labelElementType:"span"});u.onKeyDown=u.onKeyDownCapture,delete u.onKeyDownCapture;const h=ft(e,{labelable:!0}),b=pe(u,s,m),g=ze();return{labelProps:{...p,onClick:()=>{var v;e.isDisabled||((v=r.current)==null||v.focus(),cd("keyboard"))}},triggerProps:pe(h,{...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(v){t.isFocused||(e.onFocus&&e.onFocus(v),t.setFocused(!0))},onBlur(v){t.isOpen||(e.onBlur&&e.onBlur(v),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...c,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:v=>{v.currentTarget.contains(v.relatedTarget)||(e.onBlur&&e.onBlur(v),t.setFocused(!1))},"aria-labelledby":[m["aria-labelledby"],b["aria-label"]&&!m["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function N6(e){let[t,r]=Ft(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:r,open(){r(!0)},close(){r(!1)},toggle(){r(!t)}}}function $0(e){let t=N6(e),[r,n]=l.useState(null);return{focusStrategy:r,...t,open(o=null){n(o),t.open()},toggle(o=null){n(o),t.toggle()}}}class Xe extends Set{constructor(t,r,n){super(t),t instanceof Xe?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function z6(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function F6(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=l.useRef(!1),[,s]=l.useState(!1),c=l.useRef(null),d=l.useRef(null),[,u]=l.useState(null),p=l.useMemo(()=>_0(e.selectedKeys),[e.selectedKeys]),m=l.useMemo(()=>_0(e.defaultSelectedKeys,new Xe),[e.defaultSelectedKeys]),[h,b]=Ft(p,m,e.onSelectionChange),g=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,_]=l.useState(o);o==="replace"&&v==="toggle"&&typeof h=="object"&&h.size===0&&_("replace");let $=l.useRef(o);return l.useEffect(()=>{o!==$.current&&(_(o),$.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:v,setSelectionBehavior:_,get isFocused(){return i.current},setFocused(x){i.current=x,s(x)},get focusedKey(){return c.current},get childFocusStrategy(){return d.current},setFocusedKey(x,y="first"){c.current=x,d.current=y,u(x)},selectedKeys:h,setSelectedKeys(x){(n||!z6(x,h))&&b(x)},disabledKeys:g,disabledBehavior:a}}function _0(e,t){return e?e==="all"?"all":new Xe(e):t}class K6{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,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}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(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||(n==null?void 0:n.index)<t.index)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||(n==null?void 0:n.index)>t.index)&&(t=n)}return t==null?void 0:t.key}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}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new Xe([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new Xe(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?n.index<=o.index?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new Xe(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new Xe([t],t,t):new Xe;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Xe;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r([...o.childNodes][0].key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Xe)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}let L6=Symbol.iterator;class x0{*[L6](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}constructor(t){sr(this,"keyMap",new Map),this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)r(i)};for(let a of t)r(a);let n,o=0;for(let[a,i]of this.keyMap)n?(n.nextKey=a,i.prevKey=n.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function w0(e){let{filter:t}=e,r=F6(e),n=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=s=>t?new x0(t(s)):new x0(s),a=l.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=$6(e,o,a,[t]);return l.useEffect(()=>{r.focusedKey!=null&&!i.getItem(r.focusedKey)&&r.setFocusedKey(null)},[i,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:new K6(i,r)}}function V6(e){var t;let[r,n]=Ft(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=l.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:i,selectionManager:s}=w0({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:d=>{let u=d.values().next().value;u===r&&e.onSelectionChange&&e.onSelectionChange(u),n(u)}}),c=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:c}}function j6(e){const{collection:t,disabledKeys:r,selectionManager:n,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=w0(e),s=[],c=a.size!==0?Array.from(a).map(d=>{const u=t.getItem(d);return u||s.push(d),u}).filter(Boolean):null;return s.length&&console.warn(`Select: Keys "${s.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:r,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:o.bind(n),selectedItems:c}}function R6(e){const[t,r]=l.useState(!1),n=$0(e),o=j6({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&(a==="all"?e.onSelectionChange(new Set(o.collection.getKeys())):e.onSelectionChange(a)),e.selectionMode==="single"&&n.close()}});return{...o,...n,close(){n.close()},open(){o.collection.size!==0&&n.open()},toggle(a){o.collection.size!==0&&n.toggle(a)},isFocused:t,setFocused:r}}const B6=D.span`
|
|
1952
|
+
`;function Bv(e){const t=U.useRef(null),{popoverRef:r=t,triggerRef:n,state:o,children:a,isNonModal:i}=e,{popoverProps:s,underlayProps:l}=WE({...e,popoverRef:r},o),d={...s.style,width:n.current?`${n.current.offsetWidth}px`:"200px"};return ee(HE,{children:[!i&&S("div",{...l,style:{position:"fixed",inset:0}}),ee(w6,{...s,style:d,ref:r,children:[!i&&S(xm,{onDismiss:o.close}),a,S(xm,{onDismiss:o.close})]})]})}function E6(e){return e&&e.__esModule?e.default:e}var Wv={},Uv={};Uv={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Hv={};Hv={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Gv={};Gv={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var qv={};qv={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Yv={};Yv={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Zv={};Zv={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Xv={};Xv={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Jv={};Jv={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Qv={};Qv={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var e0={};e0={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var t0={};t0={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var r0={};r0={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var n0={};n0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var o0={};o0={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var a0={};a0={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var i0={};i0={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var s0={};s0={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var l0={};l0={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var c0={};c0={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var d0={};d0={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var u0={};u0={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var f0={};f0={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var p0={};p0={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var m0={};m0={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var h0={};h0={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var b0={};b0={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var g0={};g0={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var v0={};v0={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var y0={};y0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var $0={};$0={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var x0={};x0={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var _0={};_0={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var w0={};w0={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var E0={};E0={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},Wv={"ar-AE":Uv,"bg-BG":Hv,"cs-CZ":Gv,"da-DK":qv,"de-DE":Yv,"el-GR":Zv,"en-US":Xv,"es-ES":Jv,"et-EE":Qv,"fi-FI":e0,"fr-FR":t0,"he-IL":r0,"hr-HR":n0,"hu-HU":o0,"it-IT":a0,"ja-JP":i0,"ko-KR":s0,"lt-LT":l0,"lv-LV":c0,"nb-NO":d0,"nl-NL":u0,"pl-PL":f0,"pt-BR":p0,"pt-PT":m0,"ro-RO":h0,"ru-RU":b0,"sk-SK":g0,"sl-SI":v0,"sr-SP":y0,"sv-SE":$0,"tr-TR":x0,"uk-UA":_0,"zh-CN":w0,"zh-TW":E0};function S0(e,t,r){let{type:n="menu",isDisabled:o,trigger:a="press"}=e,i=Ke(),{triggerProps:s,overlayProps:l}=FE({type:n},t,r),d=h=>{if(!o&&!(a==="longPress"&&!h.altKey)&&r&&r.current)switch(h.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("last");break}},u=Pt(E6(Wv)),{longPressProps:p}=yd({isDisabled:o||a!=="longPress",accessibilityDescription:u.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),m={onPressStart(h){h.pointerType!=="touch"&&h.pointerType!=="keyboard"&&!o&&t.toggle(h.pointerType==="virtual"?"first":null)},onPress(h){h.pointerType==="touch"&&!o&&t.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...a==="press"?m:p,id:i,onKeyDown:d},menuProps:{...l,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function S6(e,t,r){const{disallowEmptySelection:n,isDisabled:o}=e,a=so({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>new vl(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:l}=S0({isDisabled:o,type:"listbox"},t,r),d=v=>{if(t.selectionMode==="single")switch(v.key){case"ArrowLeft":{v.preventDefault();const $=t.selectedKeys.size>0?i.getKeyAbove(t.selectedKeys.values().next().value):i.getFirstKey();$&&t.setSelectedKeys([$]);break}case"ArrowRight":{v.preventDefault();const $=t.selectedKeys.size>0?i.getKeyBelow(t.selectedKeys.values().next().value):i.getFirstKey();$&&t.setSelectedKeys([$]);break}}},{typeSelectProps:u}=gl({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(v){t.setSelectedKeys([v])}}),{labelProps:p,fieldProps:m}=Jr({...e,labelElementType:"span"});u.onKeyDown=u.onKeyDownCapture,delete u.onKeyDownCapture;const h=ft(e,{labelable:!0}),b=pe(u,s,m),g=Ke();return{labelProps:{...p,onClick:()=>{var v;e.isDisabled||((v=r.current)==null||v.focus(),hd("keyboard"))}},triggerProps:pe(h,{...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(v){t.isFocused||(e.onFocus&&e.onFocus(v),t.setFocused(!0))},onBlur(v){t.isOpen||(e.onBlur&&e.onBlur(v),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...l,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:v=>{v.currentTarget.contains(v.relatedTarget)||(e.onBlur&&e.onBlur(v),t.setFocused(!1))},"aria-labelledby":[m["aria-labelledby"],b["aria-label"]&&!m["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function P6(e){let[t,r]=Kt(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:r,open(){r(!0)},close(){r(!1)},toggle(){r(!t)}}}function P0(e){let t=P6(e),[r,n]=c.useState(null);return{focusStrategy:r,...t,open(o=null){n(o),t.open()},toggle(o=null){n(o),t.toggle()}}}class Xe extends Set{constructor(t,r,n){super(t),t instanceof Xe?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function T6(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function k6(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=c.useRef(!1),[,s]=c.useState(!1),l=c.useRef(null),d=c.useRef(null),[,u]=c.useState(null),p=c.useMemo(()=>T0(e.selectedKeys),[e.selectedKeys]),m=c.useMemo(()=>T0(e.defaultSelectedKeys,new Xe),[e.defaultSelectedKeys]),[h,b]=Kt(p,m,e.onSelectionChange),g=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,$]=c.useState(o);o==="replace"&&v==="toggle"&&typeof h=="object"&&h.size===0&&$("replace");let x=c.useRef(o);return c.useEffect(()=>{o!==x.current&&($(o),x.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:v,setSelectionBehavior:$,get isFocused(){return i.current},setFocused(_){i.current=_,s(_)},get focusedKey(){return l.current},get childFocusStrategy(){return d.current},setFocusedKey(_,y="first"){l.current=_,d.current=y,u(_)},selectedKeys:h,setSelectedKeys(_){(n||!T6(_,h))&&b(_)},disabledKeys:g,disabledBehavior:a}}function T0(e,t){return e?e==="all"?"all":new Xe(e):t}class D6{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,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}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(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||(n==null?void 0:n.index)<t.index)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||(n==null?void 0:n.index)>t.index)&&(t=n)}return t==null?void 0:t.key}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}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new Xe([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new Xe(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?n.index<=o.index?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new Xe(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new Xe([t],t,t):new Xe;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Xe;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r([...o.childNodes][0].key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Xe)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}let C6=Symbol.iterator;class k0{*[C6](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}constructor(t){ir(this,"keyMap",new Map),this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)r(i)};for(let a of t)r(a);let n,o=0;for(let[a,i]of this.keyMap)n?(n.nextKey=a,i.prevKey=n.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function D0(e){let{filter:t}=e,r=k6(e),n=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=d=>t?new k0(t(d)):new k0(d),a=c.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=u6(e,o,a,[t]),s=c.useMemo(()=>new D6(i,r),[i,r]);const l=c.useRef(null);return c.useEffect(()=>{if(r.focusedKey!=null&&!i.getItem(r.focusedKey)){const d=l.current.getItem(r.focusedKey),u=[...l.current.getKeys()].map(g=>{const v=l.current.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),p=[...i.getKeys()].map(g=>{const v=i.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),m=u.length-p.length;let h=Math.min(m>1?Math.max(d.index-m+1,0):d.index,p.length-1),b;for(;h>=0;){if(!s.isDisabled(p[h].key)){b=p[h];break}h<p.length-1?h++:(h>d.index&&(h=d.index),h--)}r.setFocusedKey(b?b.key:null)}l.current=i},[i,s,r,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:s}}function I6(e){var t;let[r,n]=Kt(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=c.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:i,selectionManager:s}=D0({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:d=>{let u=d.values().next().value;u===r&&e.onSelectionChange&&e.onSelectionChange(u),n(u)}}),l=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:l}}function O6(e){const{collection:t,disabledKeys:r,selectionManager:n,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=D0(e),s=[],l=a.size!==0?Array.from(a).map(d=>{const u=t.getItem(d);return u||s.push(d),u}).filter(Boolean):null;return s.length&&console.warn(`Select: Keys "${s.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:r,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:o.bind(n),selectedItems:l}}function A6(e){const[t,r]=c.useState(!1),n=P0(e),o=O6({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&(a==="all"?e.onSelectionChange(new Set(o.collection.getKeys())):e.onSelectionChange(a)),e.selectionMode==="single"&&n.close()}});return{...o,...n,close(){n.close()},open(){o.collection.size!==0&&n.open()},toggle(a){o.collection.size!==0&&n.toggle(a)},isFocused:t,setFocused:r}}const M6=k.span`
|
|
1953
1953
|
color: ${f.color_fill_secondary_enabled};
|
|
1954
|
-
`,
|
|
1954
|
+
`,N6=k(wi.primary)`
|
|
1955
1955
|
display: flex;
|
|
1956
1956
|
align-items: center;
|
|
1957
1957
|
justify-content: space-between;
|
|
@@ -2000,9 +2000,9 @@ const theme2 = createTheme({ palette: {
|
|
|
2000
2000
|
&:disabled::placeholder {
|
|
2001
2001
|
color: ${f.color_fill_primary_disabled};
|
|
2002
2002
|
}
|
|
2003
|
-
`,
|
|
2003
|
+
`,C0=c.forwardRef((e,t)=>{const{autoFocus:r,className:n,excludeFromTabOrder:o,isClearable:a=!0,isDisabled:i,isSelectableAll:s=!1,label:l,placeholder:d="Select...",tooltipContent:u,tooltipIcon:p}=e,m=tt(t),h=!a,b=A6({...e,disallowEmptySelection:h}),{labelProps:g,triggerProps:v,valueProps:$,menuProps:x}=S6({...e,disallowEmptySelection:h},b,m),{buttonProps:_}=Xr({...v,autoFocus:r,excludeFromTabOrder:o,isDisabled:i},m);b.isOpen||b.selectedItems;const y=b.selectionManager.isSelectAll,I=!y&&!b.selectionManager.isEmpty;a&&b.selectedItems;const N=s,E=()=>b.selectionManager.toggleSelectAll(),D=M=>{var V;return S("span",{className:"truncate block",children:M.length>1?M.map(C=>C.textValue).join(", "):(V=M[0])==null?void 0:V.textValue})};return ee(Ut,{className:Nn("select-wrapper",{"select-wrapper--open":b.isOpen},n),children:[l&&ee(je,{...g,children:[l,u?S(Ht,{icon:p,children:u}):null]}),S(W_,{focusRingClass:"select--focused",autoFocus:r,children:ee(N6,{..._,paddingSize:"small",type:"button",ref:m,children:[S("span",{...$,children:b.selectedItems?D(b.selectedItems):d}),S(M6,{children:S(Se.ArrowDropDown,{})})]})}),b.isOpen&&ee(Bv,{state:b,triggerRef:m,children:[N&&ee(Oy,{children:[s&&ee(hr,{type:"button",onClick:E,children:[S(zi,{checked:I?"indeterminate":y,tabIndex:-1}),"Select all"]}),S("div",{className:"select__divider"})]}),S($6,{...x,state:b})]})]})}),I0=c.forwardRef(({options:e,...t},r)=>S(C0,{...t,items:e,ref:r,children:t.children?t.children:n=>n.children?S(hl,{items:n.children,title:n.name,children:o=>S(Ho,{textValue:o.textValue,children:o.name})},n.name):S(Ho,{textValue:n.textValue,children:n.name})}));I0.displayName="MultiSelect";function z6(e,t,r){let{keyboardDelegate:n,isDisabled:o}=e,a=so({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>n||new vl(t.collection,t.disabledKeys,null,a),[n,t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:l}=S0({isDisabled:o,type:"listbox"},t,r),d=x=>{switch(x.key){case"ArrowLeft":{x.preventDefault();let _=t.selectedKey!=null?i.getKeyAbove(t.selectedKey):i.getFirstKey();_&&t.setSelectedKey(_);break}case"ArrowRight":{x.preventDefault();let _=t.selectedKey!=null?i.getKeyBelow(t.selectedKey):i.getFirstKey();_&&t.setSelectedKey(_);break}}},{typeSelectProps:u}=gl({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(x){t.setSelectedKey(x)}}),{labelProps:p,fieldProps:m,descriptionProps:h,errorMessageProps:b}=Jr({...e,labelElementType:"span"});u.onKeyDown=u.onKeyDownCapture,delete u.onKeyDownCapture;let g=ft(e,{labelable:!0}),v=pe(u,s,m),$=Ke();return{labelProps:{...p,onClick:()=>{e.isDisabled||(r.current.focus(),hd("keyboard"))}},triggerProps:pe(g,{...v,isDisabled:o,onKeyDown:Lt(v.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[v["aria-labelledby"],v["aria-label"]&&!v["aria-labelledby"]?v.id:null,$].filter(Boolean).join(" "),onFocus(x){t.isFocused||(e.onFocus&&e.onFocus(x),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(x){t.isOpen||(e.onBlur&&e.onBlur(x),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:$},menuProps:{...l,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,onBlur:x=>{x.currentTarget.contains(x.relatedTarget)||(e.onBlur&&e.onBlur(x),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[m["aria-labelledby"],v["aria-label"]&&!m["aria-labelledby"]?v.id:null].filter(Boolean).join(" ")},descriptionProps:h,errorMessageProps:b}}function K6(e,t,r){let{autoComplete:n,name:o,isDisabled:a}=e,i=bd(),{visuallyHiddenProps:s}=Ip();var l;return{containerProps:{...s,"aria-hidden":!0},inputProps:{type:"text",tabIndex:i==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:a},selectProps:{tabIndex:-1,autoComplete:n,disabled:a,name:o,size:t.collection.size,value:(l=t.selectedKey)!==null&&l!==void 0?l:"",onChange:d=>t.setSelectedKey(d.target.value)}}}function F6(e){let{state:t,triggerRef:r,label:n,name:o,isDisabled:a}=e,{containerProps:i,inputProps:s,selectProps:l}=K6(e,t,r);var d;return t.collection.size<=300?c.createElement("div",i,c.createElement("input",s),c.createElement("label",null,n,c.createElement("select",l,c.createElement("option",null),[...t.collection.getKeys()].map(u=>{let p=t.collection.getItem(u);if(p.type==="item")return c.createElement("option",{key:p.key,value:p.key},p.textValue)})))):o?c.createElement("input",{type:"hidden",autoComplete:l.autoComplete,name:o,disabled:a,value:(d=t.selectedKey)!==null&&d!==void 0?d:""}):null}function L6(e){let t=P0(e),r=I6({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&e.onSelectionChange(a),t.close()}}),[n,o]=c.useState(!1);return{...r,...t,open(){r.collection.size!==0&&t.open()},toggle(a){r.collection.size!==0&&t.toggle(a)},isFocused:n,setFocused:o}}const V6=k.span`
|
|
2004
2004
|
color: ${f.color_fill_secondary_enabled};
|
|
2005
|
-
`,
|
|
2005
|
+
`,j6=k(wi.primary)`
|
|
2006
2006
|
display: flex;
|
|
2007
2007
|
align-items: center;
|
|
2008
2008
|
justify-content: space-between;
|
|
@@ -2051,14 +2051,14 @@ const theme2 = createTheme({ palette: {
|
|
|
2051
2051
|
&:disabled::placeholder {
|
|
2052
2052
|
color: ${f.color_fill_primary_disabled};
|
|
2053
2053
|
}
|
|
2054
|
-
`,
|
|
2054
|
+
`,R6=k.span`
|
|
2055
2055
|
display: inline-flex;
|
|
2056
2056
|
align-items: center;
|
|
2057
|
-
`;function Q6(e){const t=Y6(e),{placeholder:r="Select..."}=e,n=W.useRef(null),{labelProps:o,triggerProps:a,valueProps:i,menuProps:s}=H6(e,t,n),{buttonProps:c}=Zr(a,n),{focusProps:d,isFocusVisible:u}=fr();return ee(Ht,{children:[ee(je,{...o,children:[e.label,e.tooltipContent?S(Gt,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}),S(q6,{state:t,triggerRef:n,label:e.label,name:e.name}),ee(X6,{...pe(c,d),paddingSize:"small",ref:n,isOpen:t.isOpen,isFocusVisible:u,children:[S(J6,{...i,children:t.selectedItem?t.selectedItem.rendered:r}),S(Z6,{children:S(Ee.ArrowDropDown,{})})]}),t.isOpen&&S(Fv,{state:t,triggerRef:n,placement:"bottom start",children:S(k6,{...s,state:t})})]})}function T0(e){return e&&e.__esModule?e.default:e}var gl={},k0={};k0={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 D0={};D0={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 C0={};C0={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 I0={};I0={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 O0={};O0={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 A0={};A0={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 M0={};M0={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 N0={};N0={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 z0={};z0={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 F0={};F0={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 K0={};K0={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 L0={};L0={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 V0={};V0={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 j0={};j0={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 R0={};R0={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 B0={};B0={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 U0={};U0={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 W0={};W0={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 H0={};H0={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 G0={};G0={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 q0={};q0={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 Y0={};Y0={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 Z0={};Z0={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 X0={};X0={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 J0={};J0={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 Q0={};Q0={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 ey={};ey={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 ty={};ty={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 ry={};ry={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 ny={};ny={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 oy={};oy={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 ay={};ay={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 iy={};iy={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 sy={};sy={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:"年"},gl={"ar-AE":k0,"bg-BG":D0,"cs-CZ":C0,"da-DK":I0,"de-DE":O0,"el-GR":A0,"en-US":M0,"es-ES":N0,"et-EE":z0,"fi-FI":F0,"fr-FR":K0,"he-IL":L0,"hr-HR":V0,"hu-HU":j0,"it-IT":R0,"ja-JP":B0,"ko-KR":U0,"lt-LT":W0,"lv-LV":H0,"nb-NO":G0,"nl-NL":q0,"pl-PL":Y0,"pt-BR":Z0,"pt-PT":X0,"ro-RO":J0,"ru-RU":Q0,"sk-SK":ey,"sl-SI":ty,"sr-SP":ry,"sv-SE":ny,"tr-TR":oy,"uk-UA":ay,"zh-CN":iy,"zh-TW":sy};function eC(e,t,r){let{direction:n}=rt(),o=l.useMemo(()=>gd(t),[t]),a=c=>{if(c.altKey&&(c.key==="ArrowDown"||c.key==="ArrowUp")&&"setOpen"in e&&(c.preventDefault(),c.stopPropagation(),e.setOpen(!0)),!r)switch(c.key){case"ArrowLeft":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusNext():o.focusPrevious();break;case"ArrowRight":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusPrevious():o.focusNext();break}},i=()=>{var c;let d=(c=window.event)===null||c===void 0?void 0:c.target,u=Me(t.current,{tabbable:!0});if(d&&(u.currentNode=d,d=u.previousNode()),!d){let p;do p=u.lastChild(),p&&(d=p);while(p)}for(;d!=null&&d.hasAttribute("data-placeholder");){let p=u.previousNode();if(p&&p.hasAttribute("data-placeholder"))d=p;else break}d&&d.focus()},{pressProps:s}=cr({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(c){c.pointerType==="mouse"&&i()},onPress(c){c.pointerType!=="mouse"&&i()}});return pe(s,{onKeyDown:a})}const ly=new WeakMap,vl="__role_"+Date.now(),tC="__focusManager_"+Date.now();function rC(e,t,r){let{labelProps:n,fieldProps:o,descriptionProps:a,errorMessageProps:i}=Xr({...e,labelElementType:"span"}),{focusWithinProps:s}=Rt({...e,onBlurWithin:y=>{t.confirmPlaceholder(),e.onBlur&&e.onBlur(y)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),c=Pt(T0(gl)),d=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",u=t.maxGranularity==="hour"?"time":"date",p=t.value?c.format(d,{[u]:t.formatValue({month:"long"})}):"",m=Ia(p),h=e[vl]==="presentation"?o["aria-describedby"]:[m["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=e[tC],g=l.useMemo(()=>b||gd(r),[b,r]),v=eC(t,r,e[vl]==="presentation");ly.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[e["aria-labelledby"],n.id].filter(Boolean).join(" ")||void 0,ariaDescribedBy:h,focusManager:g});let _=l.useRef(e.autoFocus),$;e[vl]==="presentation"?$={role:"presentation"}:$=pe(o,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":h}),l.useEffect(()=>{_.current&&g.focusFirst(),_.current=!1},[g]);let x=ft(e);return{labelProps:{...n,onClick:()=>{g.focusFirst()}},fieldProps:pe(x,$,v,s,{onKeyDown(y){e.onKeyDown&&e.onKeyDown(y)},onKeyUp(y){e.onKeyUp&&e.onKeyUp(y)}}),descriptionProps:a,errorMessageProps:i}}function nC(e,t,r){return rC(e,t,r)}function oC(){let{locale:e}=rt();return l.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new aC(e)}},[e])}class aC{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t){this.locale=t,this.dictionary=new Ya(T0(gl))}}function iC(e,t,r){let n=l.useRef(""),{locale:o}=rt(),a=oC(),{ariaLabel:i,ariaLabelledBy:s,ariaDescribedBy:c,focusManager:d}=ly.get(t),u=e.isPlaceholder?"":e.text,p=l.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),m=ao({month:"long",timeZone:p.timeZone}),h=ao({hour:"numeric",hour12:p.hour12,timeZone:p.timeZone});if(e.type==="month"&&!e.isPlaceholder){let R=m.format(t.dateValue);u=R!==u?`${u} – ${R}`:R}else e.type==="hour"&&!e.isPlaceholder&&(u=h.format(t.dateValue));let{spinButtonProps:b}=Nf({value:e.value,textValue:u,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="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",t.setSegment(e.type,e.minValue)}}),g=l.useMemo(()=>new Bd(o,{maximumFractionDigits:0}),[o]),v=()=>{if(g.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let R=e.text.slice(0,-1),oe=g.parse(R);R.length===0||oe===0?t.clearSegment(e.type):t.setSegment(e.type,oe),n.current=R}else e.type==="dayPeriod"&&t.clearSegment(e.type)},_=R=>{if(R.key==="a"&&(Vt()?R.metaKey:R.ctrlKey)&&R.preventDefault(),!(R.ctrlKey||R.metaKey||R.shiftKey||R.altKey))switch(R.key){case"Backspace":case"Delete":R.preventDefault(),R.stopPropagation(),v();break}},{startsWith:$}=Gw({sensitivity:"base"}),x=ao({hour:"numeric",hour12:!0}),y=l.useMemo(()=>{let R=new Date;return R.setHours(0),x.formatToParts(R).find(oe=>oe.type==="dayPeriod").value},[x]),A=l.useMemo(()=>{let R=new Date;return R.setHours(12),x.formatToParts(R).find(oe=>oe.type==="dayPeriod").value},[x]),N=ao({year:"numeric",era:"narrow",timeZone:"UTC"}),E=l.useMemo(()=>{if(e.type!=="era")return[];let R=De(new mr(1,1,1),t.calendar),oe=t.calendar.getEras().map(z=>{let I=R.set({year:1,month:1,day:1,era:z}).toDate("UTC"),Z=N.formatToParts(I).find(X=>X.type==="era").value;return{era:z,formatted:Z}}),q=sC(oe.map(z=>z.formatted));if(q)for(let z of oe)z.formatted=z.formatted.slice(q);return oe},[N,t.calendar,e.type]),C=R=>{if(t.isDisabled||t.isReadOnly)return;let oe=n.current+R;switch(e.type){case"dayPeriod":if($(y,R))t.setSegment("dayPeriod",0);else if($(A,R))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let q=E.find(z=>$(z.formatted,R));q&&(t.setSegment("era",q.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!g.isValidPartialNumber(oe))return;let q=g.parse(oe),z=q,I=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":q>11&&(z=g.parse(R));break;case"h12":I=!1,q>12&&(z=g.parse(R));break}e.value>=12&&q>1&&(q+=12)}else q>e.maxValue&&(z=g.parse(R));if(isNaN(q))return;let U=z!==0||I;U&&t.setSegment(e.type,z),Number(q+"0")>e.maxValue||oe.length>=String(e.maxValue).length?(n.current="",U&&d.focusNext()):n.current=oe;break}}},M=()=>{n.current="",Ma(Da(r.current),r.current),window.getSelection().collapse(r.current)},V=l.useRef("");Kn(r,"beforeinput",R=>{switch(R.preventDefault(),R.inputType){case"deleteContentBackward":case"deleteContentForward":g.isValidPartialNumber(e.text)&&!t.isReadOnly&&v();break;case"insertCompositionText":V.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:R.data!=null&&C(R.data);break}}),Kn(r,"input",R=>{let{inputType:oe,data:q}=R;switch(oe){case"insertCompositionText":r.current.textContent=V.current,($(y,q)||$(A,q))&&C(q);break}}),xe(()=>{let R=r.current;return()=>{document.activeElement===R&&(d.focusPrevious()||d.focusNext())}},[r,d]);let k=ir()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},L=l.useMemo(()=>t.segments.find(R=>R.isEditable),[t.segments]);e!==L&&t.validationState!=="invalid"&&(c=void 0);let P=ze(),T=!t.isDisabled&&!t.isReadOnly&&e.isEditable,H=e.type==="literal"?"":a.of(e.type),le=ka({"aria-label":(i?i+" ":"")+H,"aria-labelledby":s});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:pe(b,le,{id:P,...k,"aria-invalid":t.validationState==="invalid"?"true":void 0,"aria-describedby":c,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:T,suppressContentEditableWarning:T,spellCheck:T?"false":void 0,autoCapitalize:T?"off":void 0,autoCorrect:T?"off":void 0,[parseInt(l.version,10)>=17?"enterKeyHint":"enterkeyhint"]:T?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!T?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:_,onFocus:M,style:{caretColor:"transparent"},onPointerDown(R){R.stopPropagation()},onMouseDown(R){R.stopPropagation()}})}}function sC(e){e.sort();let t=e[0],r=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==r[n])return n;return 0}function lC(e,t,r){return e!=null&&(t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0)}const cC={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"};function cy(e,t){e={...cC,...e};let r=t.granularity||"minute",n=Object.keys(e);var o;let a=n.indexOf((o=t.maxGranularity)!==null&&o!==void 0?o:"year");a<0&&(a=0);let i=n.indexOf(r);if(i<0&&(i=2),a>i)throw new Error("maxGranularity must be greater than granularity");let s=n.slice(a,i+1).reduce((d,u)=>(d[u]=e[u],d),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&a===0&&(s.era="short"),s}function dy(e,t){if(e===null)return null;if(e)return De(e,t)}function Ho(e,t,r,n){if(e)return dy(e,r);let o=De(xd(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?Id(o):n?o:St(o)}function dC(e,t){let r=l.useRef(e);e&&(r.current=e),e=r.current;let n=e&&"timeZone"in e?e.timeZone:void 0;if(t=t||(e&&"minute"in e?"minute":"day"),e&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());return[t,n]}const uC=new Ya({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 fC(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?uC.getStringForLocale(e,r):"––"}const Go={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},uy={year:5,month:2,day:7,hour:2,minute:15,second:15},pC={dayperiod:"dayPeriod"};function mC(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:o,isReadOnly:a,isRequired:i}=e,s=e.value||e.defaultValue||e.placeholderValue,[c,d]=dC(s,e.granularity),u=d||"UTC";if(s&&!(c in s))throw new Error("Invalid granularity "+c+" for value "+s.toString());let p=l.useMemo(()=>new ro(t),[t]),m=l.useMemo(()=>r(p.resolvedOptions().calendar),[r,p]),[h,b]=Ft(e.value,e.defaultValue,e.onChange),g=l.useMemo(()=>dy(h,m),[h,m]),[v,_]=l.useState(()=>Ho(e.placeholderValue,c,m,d)),$=g||v,x=m.identifier==="gregory"&&$.era==="BC";var y;let A=l.useMemo(()=>({granularity:c,maxGranularity:(y=e.maxGranularity)!==null&&y!==void 0?y:"year",timeZone:d,hideTimeZone:n,hourCycle:e.hourCycle,showEra:x}),[e.maxGranularity,c,e.hourCycle,d,n,x]),N=l.useMemo(()=>cy({},A),[A]),E=l.useMemo(()=>new ro(t,N),[t,N]),C=l.useMemo(()=>E.resolvedOptions(),[E]),M=l.useMemo(()=>E.formatToParts(new Date).filter(I=>Go[I.type]).reduce((I,U)=>(I[U.type]=!0,I),{}),[E]),[V,k]=l.useState(()=>e.value||e.defaultValue?{...M}:{}),L=l.useRef(m.identifier);l.useEffect(()=>{m.identifier!==L.current&&(L.current=m.identifier,_(I=>Object.keys(V).length>0?De(I,m):Ho(e.placeholderValue,c,m,d)))},[m,c,V,d,e.placeholderValue]),h&&Object.keys(V).length<Object.keys(M).length&&(V={...M},k(V)),h==null&&Object.keys(V).length===Object.keys(M).length&&(V={},k(V),_(Ho(e.placeholderValue,c,m,d)));let P=g&&Object.keys(V).length>=Object.keys(M).length?g:v,T=I=>{e.isDisabled||e.isReadOnly||(Object.keys(V).length>=Object.keys(M).length?(I=De(I,(s==null?void 0:s.calendar)||new Et),b(I)):_(I))},H=l.useMemo(()=>P.toDate(u),[P,u]),le=l.useMemo(()=>E.formatToParts(H).map(I=>{let U=Go[I.type];I.type==="era"&&m.getEras().length===1&&(U=!1);let Z=Go[I.type]&&!V[I.type],X=Go[I.type]?fC(I.type,I.value,t):null;return{type:pC[I.type]||I.type,text:Z?X:I.value,...hC(P,I.type,C),isPlaceholder:Z,placeholder:X,isEditable:U}}),[H,V,E,C,P,m,t]);M.era&&V.year&&!V.era?(V.era=!0,k({...V})):!M.era&&V.era&&(delete V.era,k({...V}));let R=I=>{V[I]=!0,I==="year"&&M.era&&(V.era=!0),k({...V})},oe=(I,U)=>{V[I]?T(bC(P,I,U,C)):(R(I),Object.keys(V).length>=Object.keys(M).length&&T(P))},q=e.validationState||(lC(g,e.minValue,e.maxValue)?"invalid":null);var z;return{value:g,dateValue:H,calendar:m,setValue:T,segments:le,dateFormatter:E,validationState:q,granularity:c,maxGranularity:(z=e.maxGranularity)!==null&&z!==void 0?z:"year",isDisabled:o,isReadOnly:a,isRequired:i,increment(I){oe(I,1)},decrement(I){oe(I,-1)},incrementPage(I){oe(I,uy[I]||1)},decrementPage(I){oe(I,-(uy[I]||1))},setSegment(I,U){R(I),T(gC(P,I,U,C))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let I=Object.keys(V),U=Object.keys(M);I.length===U.length-1&&M.dayPeriod&&!V.dayPeriod&&(V={...M},k(V),T(P.copy()))},clearSegment(I){delete V[I],k({...V});let U=Ho(e.placeholderValue,c,m,d),Z=P;if(I==="dayPeriod"&&"hour"in P&&"hour"in U){let X=P.hour>=12,ce=U.hour>=12;X&&!ce?Z=P.set({hour:P.hour-12}):!X&&ce&&(Z=P.set({hour:P.hour+12}))}else I in P&&(Z=P.set({[I]:U[I]}));b(null),T(Z)},formatValue(I){if(!g)return"";let U=cy(I,A);return new ro(t,U).format(H)}}}function hC(e,t,r){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:cw(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:dw(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(r.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 bC(e,t,r,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,r,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return e.set({hour:a?o-12:o+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function gC(e,t,r,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return r>=12===a?e:e.set({hour:a?o-12:o+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&r===12&&(r=0),a&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function vC(e){let{placeholderValue:t=new Gr,minValue:r,maxValue:n,granularity:o}=e,[a,i]=Ft(e.value,e.defaultValue,e.onChange),s=a||t,c=s&&"day"in s?s:void 0,d=l.useMemo(()=>qo(t),[t]),u=l.useMemo(()=>qo(r,c),[r,c]),p=l.useMemo(()=>qo(n,c),[n,c]),m=l.useMemo(()=>a==null?null:qo(a),[a]);return mC({...e,value:m,defaultValue:void 0,minValue:u,maxValue:p,onChange:b=>{i(s&&"day"in s?b:b&&pw(b))},granularity:o||"minute",maxGranularity:"hour",placeholderValue:d,createCalendar:()=>new Et})}function qo(e,t=lw(Qa())){return e?"day"in e?e:St(t,e):null}const yC=D.div`
|
|
2057
|
+
`;function B6(e){const t=L6(e),{placeholder:r="Select..."}=e,n=U.useRef(null),{labelProps:o,triggerProps:a,valueProps:i,menuProps:s}=z6(e,t,n),{buttonProps:l}=Xr(a,n),{focusProps:d,isFocusVisible:u}=fr();return ee(Ut,{children:[ee(je,{...o,children:[e.label,e.tooltipContent?S(Ht,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}),S(F6,{state:t,triggerRef:n,label:e.label,name:e.name}),ee(j6,{...pe(l,d),paddingSize:"small",ref:n,isOpen:t.isOpen,isFocusVisible:u,children:[S(R6,{...i,children:t.selectedItem?t.selectedItem.rendered:r}),S(V6,{children:S(Se.ArrowDropDown,{})})]}),t.isOpen&&S(Bv,{state:t,triggerRef:n,placement:"bottom start",children:S(y6,{...s,state:t})})]})}function O0(e){return e&&e.__esModule?e.default:e}var $l={},A0={};A0={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 M0={};M0={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 N0={};N0={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 z0={};z0={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 K0={};K0={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 F0={};F0={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 L0={};L0={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 V0={};V0={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 j0={};j0={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 R0={};R0={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 B0={};B0={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 W0={};W0={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 U0={};U0={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 H0={};H0={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 G0={};G0={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 q0={};q0={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 Y0={};Y0={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 Z0={};Z0={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 X0={};X0={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 J0={};J0={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 Q0={};Q0={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 ey={};ey={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 ty={};ty={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 ry={};ry={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 ny={};ny={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 oy={};oy={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 ay={};ay={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 iy={};iy={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 sy={};sy={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 ly={};ly={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 cy={};cy={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 dy={};dy={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 uy={};uy={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 fy={};fy={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:"年"},$l={"ar-AE":A0,"bg-BG":M0,"cs-CZ":N0,"da-DK":z0,"de-DE":K0,"el-GR":F0,"en-US":L0,"es-ES":V0,"et-EE":j0,"fi-FI":R0,"fr-FR":B0,"he-IL":W0,"hr-HR":U0,"hu-HU":H0,"it-IT":G0,"ja-JP":q0,"ko-KR":Y0,"lt-LT":Z0,"lv-LV":X0,"nb-NO":J0,"nl-NL":Q0,"pl-PL":ey,"pt-BR":ty,"pt-PT":ry,"ro-RO":ny,"ru-RU":oy,"sk-SK":ay,"sl-SI":iy,"sr-SP":sy,"sv-SE":ly,"tr-TR":cy,"uk-UA":dy,"zh-CN":uy,"zh-TW":fy};function W6(e,t,r){let{direction:n}=rt(),o=c.useMemo(()=>wd(t),[t]),a=l=>{if(l.altKey&&(l.key==="ArrowDown"||l.key==="ArrowUp")&&"setOpen"in e&&(l.preventDefault(),l.stopPropagation(),e.setOpen(!0)),!r)switch(l.key){case"ArrowLeft":l.preventDefault(),l.stopPropagation(),n==="rtl"?o.focusNext():o.focusPrevious();break;case"ArrowRight":l.preventDefault(),l.stopPropagation(),n==="rtl"?o.focusPrevious():o.focusNext();break}},i=()=>{var l;let d=(l=window.event)===null||l===void 0?void 0:l.target,u=Ne(t.current,{tabbable:!0});if(d&&(u.currentNode=d,d=u.previousNode()),!d){let p;do p=u.lastChild(),p&&(d=p);while(p)}for(;d!=null&&d.hasAttribute("data-placeholder");){let p=u.previousNode();if(p&&p.hasAttribute("data-placeholder"))d=p;else break}d&&d.focus()},{pressProps:s}=lr({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(l){l.pointerType==="mouse"&&i()},onPress(l){l.pointerType!=="mouse"&&i()}});return pe(s,{onKeyDown:a})}const py=new WeakMap,xl="__role_"+Date.now(),U6="__focusManager_"+Date.now();function H6(e,t,r){let{labelProps:n,fieldProps:o,descriptionProps:a,errorMessageProps:i}=Jr({...e,labelElementType:"span"}),{focusWithinProps:s}=ur({...e,onBlurWithin:y=>{t.confirmPlaceholder(),e.onBlur&&e.onBlur(y)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),l=Pt(O0($l)),d=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",u=t.maxGranularity==="hour"?"time":"date",p=t.value?l.format(d,{[u]:t.formatValue({month:"long"})}):"",m=Aa(p),h=e[xl]==="presentation"?o["aria-describedby"]:[m["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=e[U6],g=c.useMemo(()=>b||wd(r),[b,r]),v=W6(t,r,e[xl]==="presentation");py.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[e["aria-labelledby"],n.id].filter(Boolean).join(" ")||void 0,ariaDescribedBy:h,focusManager:g});let $=c.useRef(e.autoFocus),x;e[xl]==="presentation"?x={role:"presentation"}:x=pe(o,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":h}),c.useEffect(()=>{$.current&&g.focusFirst(),$.current=!1},[g]);let _=ft(e);return{labelProps:{...n,onClick:()=>{g.focusFirst()}},fieldProps:pe(_,x,v,s,{onKeyDown(y){e.onKeyDown&&e.onKeyDown(y)},onKeyUp(y){e.onKeyUp&&e.onKeyUp(y)}}),descriptionProps:a,errorMessageProps:i}}function G6(e,t,r){return H6(e,t,r)}function q6(){let{locale:e}=rt();return c.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new Y6(e)}},[e])}class Y6{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t){this.locale=t,this.dictionary=new Ja(O0($l))}}function Z6(e,t,r){let n=c.useRef(""),{locale:o}=rt(),a=q6(),{ariaLabel:i,ariaLabelledBy:s,ariaDescribedBy:l,focusManager:d}=py.get(t),u=e.isPlaceholder?"":e.text,p=c.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),m=io({month:"long",timeZone:p.timeZone}),h=io({hour:"numeric",hour12:p.hour12,timeZone:p.timeZone});if(e.type==="month"&&!e.isPlaceholder){let R=m.format(t.dateValue);u=R!==u?`${u} – ${R}`:R}else e.type==="hour"&&!e.isPlaceholder&&(u=h.format(t.dateValue));let{spinButtonProps:b}=Vf({value:e.value,textValue:u,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="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",t.setSegment(e.type,e.minValue)}}),g=c.useMemo(()=>new qd(o,{maximumFractionDigits:0}),[o]),v=()=>{if(g.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let R=e.text.slice(0,-1),oe=g.parse(R);R.length===0||oe===0?t.clearSegment(e.type):t.setSegment(e.type,oe),n.current=R}else e.type==="dayPeriod"&&t.clearSegment(e.type)},$=R=>{if(R.key==="a"&&(Vt()?R.metaKey:R.ctrlKey)&&R.preventDefault(),!(R.ctrlKey||R.metaKey||R.shiftKey||R.altKey))switch(R.key){case"Backspace":case"Delete":R.preventDefault(),R.stopPropagation(),v();break}},{startsWith:x}=Lw({sensitivity:"base"}),_=io({hour:"numeric",hour12:!0}),y=c.useMemo(()=>{let R=new Date;return R.setHours(0),_.formatToParts(R).find(oe=>oe.type==="dayPeriod").value},[_]),I=c.useMemo(()=>{let R=new Date;return R.setHours(12),_.formatToParts(R).find(oe=>oe.type==="dayPeriod").value},[_]),N=io({year:"numeric",era:"narrow",timeZone:"UTC"}),E=c.useMemo(()=>{if(e.type!=="era")return[];let R=Ce(new mr(1,1,1),t.calendar),oe=t.calendar.getEras().map(z=>{let O=R.set({year:1,month:1,day:1,era:z}).toDate("UTC"),Z=N.formatToParts(O).find(X=>X.type==="era").value;return{era:z,formatted:Z}}),q=X6(oe.map(z=>z.formatted));if(q)for(let z of oe)z.formatted=z.formatted.slice(q);return oe},[N,t.calendar,e.type]),D=R=>{if(t.isDisabled||t.isReadOnly)return;let oe=n.current+R;switch(e.type){case"dayPeriod":if(x(y,R))t.setSegment("dayPeriod",0);else if(x(I,R))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let q=E.find(z=>x(z.formatted,R));q&&(t.setSegment("era",q.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!g.isValidPartialNumber(oe))return;let q=g.parse(oe),z=q,O=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":q>11&&(z=g.parse(R));break;case"h12":O=!1,q>12&&(z=g.parse(R));break}e.value>=12&&q>1&&(q+=12)}else q>e.maxValue&&(z=g.parse(R));if(isNaN(q))return;let W=z!==0||O;W&&t.setSegment(e.type,z),Number(q+"0")>e.maxValue||oe.length>=String(e.maxValue).length?(n.current="",W&&d.focusNext()):n.current=oe;break}}},M=()=>{n.current="",id(r.current,{containingElement:Wr(r.current)}),window.getSelection().collapse(r.current)},V=c.useRef("");Ln(r,"beforeinput",R=>{switch(R.preventDefault(),R.inputType){case"deleteContentBackward":case"deleteContentForward":g.isValidPartialNumber(e.text)&&!t.isReadOnly&&v();break;case"insertCompositionText":V.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:R.data!=null&&D(R.data);break}}),Ln(r,"input",R=>{let{inputType:oe,data:q}=R;switch(oe){case"insertCompositionText":r.current.textContent=V.current,(x(y,q)||x(I,q))&&D(q);break}}),_e(()=>{let R=r.current;return()=>{document.activeElement===R&&(d.focusPrevious()||d.focusNext())}},[r,d]);let C=ar()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},L=c.useMemo(()=>t.segments.find(R=>R.isEditable),[t.segments]);e!==L&&t.validationState!=="invalid"&&(l=void 0);let P=Ke(),T=!t.isDisabled&&!t.isReadOnly&&e.isEditable,G=e.type==="literal"?"":a.of(e.type),le=Ia({"aria-label":(i?i+" ":"")+G,"aria-labelledby":s});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:pe(b,le,{id:P,...C,"aria-invalid":t.validationState==="invalid"?"true":void 0,"aria-describedby":l,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:T,suppressContentEditableWarning:T,spellCheck:T?"false":void 0,autoCapitalize:T?"off":void 0,autoCorrect:T?"off":void 0,[parseInt(c.version,10)>=17?"enterKeyHint":"enterkeyhint"]:T?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!T?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:$,onFocus:M,style:{caretColor:"transparent"},onPointerDown(R){R.stopPropagation()},onMouseDown(R){R.stopPropagation()}})}}function X6(e){e.sort();let t=e[0],r=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==r[n])return n;return 0}function J6(e,t,r){return e!=null&&(t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0)}const Q6={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"};function my(e,t){e={...Q6,...e};let r=t.granularity||"minute",n=Object.keys(e);var o;let a=n.indexOf((o=t.maxGranularity)!==null&&o!==void 0?o:"year");a<0&&(a=0);let i=n.indexOf(r);if(i<0&&(i=2),a>i)throw new Error("maxGranularity must be greater than granularity");let s=n.slice(a,i+1).reduce((d,u)=>(d[u]=e[u],d),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&a===0&&(s.era="short"),s}function hy(e,t){if(e===null)return null;if(e)return Ce(e,t)}function Go(e,t,r,n){if(e)return hy(e,r);let o=Ce(Td(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?zd(o):n?o:St(o)}function eC(e,t){let r=c.useRef(e);e&&(r.current=e),e=r.current;let n=e&&"timeZone"in e?e.timeZone:void 0;if(t=t||(e&&"minute"in e?"minute":"day"),e&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());return[t,n]}const tC=new Ja({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 rC(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?tC.getStringForLocale(e,r):"––"}const qo={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},by={year:5,month:2,day:7,hour:2,minute:15,second:15},nC={dayperiod:"dayPeriod"};function oC(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:o,isReadOnly:a,isRequired:i}=e,s=e.value||e.defaultValue||e.placeholderValue,[l,d]=eC(s,e.granularity),u=d||"UTC";if(s&&!(l in s))throw new Error("Invalid granularity "+l+" for value "+s.toString());let p=c.useMemo(()=>new no(t),[t]),m=c.useMemo(()=>r(p.resolvedOptions().calendar),[r,p]),[h,b]=Kt(e.value,e.defaultValue,e.onChange),g=c.useMemo(()=>hy(h,m),[h,m]),[v,$]=c.useState(()=>Go(e.placeholderValue,l,m,d)),x=g||v,_=m.identifier==="gregory"&&x.era==="BC";var y;let I=c.useMemo(()=>({granularity:l,maxGranularity:(y=e.maxGranularity)!==null&&y!==void 0?y:"year",timeZone:d,hideTimeZone:n,hourCycle:e.hourCycle,showEra:_}),[e.maxGranularity,l,e.hourCycle,d,n,_]),N=c.useMemo(()=>my({},I),[I]),E=c.useMemo(()=>new no(t,N),[t,N]),D=c.useMemo(()=>E.resolvedOptions(),[E]),M=c.useMemo(()=>E.formatToParts(new Date).filter(O=>qo[O.type]).reduce((O,W)=>(O[W.type]=!0,O),{}),[E]),[V,C]=c.useState(()=>e.value||e.defaultValue?{...M}:{}),L=c.useRef(m.identifier);c.useEffect(()=>{m.identifier!==L.current&&(L.current=m.identifier,$(O=>Object.keys(V).length>0?Ce(O,m):Go(e.placeholderValue,l,m,d)))},[m,l,V,d,e.placeholderValue]),h&&Object.keys(V).length<Object.keys(M).length&&(V={...M},C(V)),h==null&&Object.keys(V).length===Object.keys(M).length&&(V={},C(V),$(Go(e.placeholderValue,l,m,d)));let P=g&&Object.keys(V).length>=Object.keys(M).length?g:v,T=O=>{e.isDisabled||e.isReadOnly||(Object.keys(V).length>=Object.keys(M).length?(O=Ce(O,(s==null?void 0:s.calendar)||new Et),b(O)):$(O))},G=c.useMemo(()=>P.toDate(u),[P,u]),le=c.useMemo(()=>E.formatToParts(G).map(O=>{let W=qo[O.type];O.type==="era"&&m.getEras().length===1&&(W=!1);let Z=qo[O.type]&&!V[O.type],X=qo[O.type]?rC(O.type,O.value,t):null;return{type:nC[O.type]||O.type,text:Z?X:O.value,...aC(P,O.type,D),isPlaceholder:Z,placeholder:X,isEditable:W}}),[G,V,E,D,P,m,t]);M.era&&V.year&&!V.era?(V.era=!0,C({...V})):!M.era&&V.era&&(delete V.era,C({...V}));let R=O=>{V[O]=!0,O==="year"&&M.era&&(V.era=!0),C({...V})},oe=(O,W)=>{V[O]?T(iC(P,O,W,D)):(R(O),Object.keys(V).length>=Object.keys(M).length&&T(P))},q=e.validationState||(J6(g,e.minValue,e.maxValue)?"invalid":null);var z;return{value:g,dateValue:G,calendar:m,setValue:T,segments:le,dateFormatter:E,validationState:q,granularity:l,maxGranularity:(z=e.maxGranularity)!==null&&z!==void 0?z:"year",isDisabled:o,isReadOnly:a,isRequired:i,increment(O){oe(O,1)},decrement(O){oe(O,-1)},incrementPage(O){oe(O,by[O]||1)},decrementPage(O){oe(O,-(by[O]||1))},setSegment(O,W){R(O),T(sC(P,O,W,D))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let O=Object.keys(V),W=Object.keys(M);O.length===W.length-1&&M.dayPeriod&&!V.dayPeriod&&(V={...M},C(V),T(P.copy()))},clearSegment(O){delete V[O],C({...V});let W=Go(e.placeholderValue,l,m,d),Z=P;if(O==="dayPeriod"&&"hour"in P&&"hour"in W){let X=P.hour>=12,ce=W.hour>=12;X&&!ce?Z=P.set({hour:P.hour-12}):!X&&ce&&(Z=P.set({hour:P.hour+12}))}else O in P&&(Z=P.set({[O]:W[O]}));b(null),T(Z)},formatValue(O){if(!g)return"";let W=my(O,I);return new no(t,W).format(G)}}}function aC(e,t,r){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:tw(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:rw(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(r.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 iC(e,t,r,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,r,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return e.set({hour:a?o-12:o+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function sC(e,t,r,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return r>=12===a?e:e.set({hour:a?o-12:o+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&r===12&&(r=0),a&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function lC(e){let{placeholderValue:t=new qr,minValue:r,maxValue:n,granularity:o}=e,[a,i]=Kt(e.value,e.defaultValue,e.onChange),s=a||t,l=s&&"day"in s?s:void 0,d=c.useMemo(()=>Yo(t),[t]),u=c.useMemo(()=>Yo(r,l),[r,l]),p=c.useMemo(()=>Yo(n,l),[n,l]),m=c.useMemo(()=>a==null?null:Yo(a),[a]);return oC({...e,value:m,defaultValue:void 0,minValue:u,maxValue:p,onChange:b=>{i(s&&"day"in s?b:b&&aw(b))},granularity:o||"minute",maxGranularity:"hour",placeholderValue:d,createCalendar:()=>new Et})}function Yo(e,t=ew(ri())){return e?"day"in e?e:St(t,e):null}const cC=k.div`
|
|
2058
2058
|
display: flex;
|
|
2059
2059
|
flex-direction: column;
|
|
2060
2060
|
align-items: flex-start;
|
|
2061
|
-
|
|
2061
|
+
`,dC=k.div`
|
|
2062
2062
|
display: inline-flex;
|
|
2063
2063
|
padding: 2px 4px;
|
|
2064
2064
|
border-radius: 4px;
|
|
@@ -2068,7 +2068,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2068
2068
|
&:focus-within {
|
|
2069
2069
|
border-color: ${f.color_fill_inverse_enabled};
|
|
2070
2070
|
}
|
|
2071
|
-
`,
|
|
2071
|
+
`,uC=k.div`
|
|
2072
2072
|
padding: 2px;
|
|
2073
2073
|
font-variant-numeric: tabular-nums;
|
|
2074
2074
|
text-align: end;
|
|
@@ -2098,5 +2098,5 @@ const theme2 = createTheme({ palette: {
|
|
|
2098
2098
|
cursor: not-allowed;
|
|
2099
2099
|
--input-border-color: revert;
|
|
2100
2100
|
}
|
|
2101
|
-
`;function
|
|
2101
|
+
`;function fC(e){const{locale:t}=rt(),r=lC({...e,locale:t}),n=c.useRef(null),{labelProps:o,fieldProps:a}=G6(e,r,n);return ee(cC,{children:[e.label&&S(je,{...o,children:e.label}),ee(dC,{...a,ref:n,children:[r.segments.filter(i=>!(i.type==="literal"&&i.text===" ")).map((i,s)=>S(pC,{segment:i,state:r},s)),r.validationState==="invalid"&&S("span",{"aria-hidden":"true",children:"🚫"})]})]})}function pC({segment:e,state:t}){const r=c.useRef(null),{segmentProps:n}=Z6(e,t,r),o={};return e.isPlaceholder&&(o["data-placeholder"]=!0),ee(uC,{...n,...o,style:{...n.style,minWidth:e.type==="literal"?0:"2ch",color:e.type==="dayPeriod"?f.color_text_weak:"inherit"},ref:r,children:[S("span",{"aria-hidden":"true",style:{visibility:e.isPlaceholder?"visible":"hidden",display:"block",width:"100%",height:e.isPlaceholder?"":0,pointerEvents:"none"},children:e.placeholder}),e.isPlaceholder?"":["hour","minute"].includes(e.type)?e.text.padStart(2,"0"):e.text]})}F.AccessibleIcon=Fr,F.AlertDialog=W1,F.AlertDialogAction=H1,F.AlertDialogCancel=G1,F.AlertDialogContent=V1,F.AlertDialogDescription=R1,F.AlertDialogFooter=B1,F.AlertDialogTitle=j1,F.AlertDialogTrigger=U1,F.AriaSingleSelect=B6,F.BreadcrumbItem=Wu,F.BreadcrumbLink=ju,F.BreadcrumbListItem=_i,F.Breadcrumbs=Bu,F.Button=hr,F.Checkbox=zi,F.Dialog=N1,F.DialogClose=K1,F.DialogCloseButton=M1,F.DialogContent=C1,F.DialogDescription=O1,F.DialogFooter=A1,F.DialogTitle=I1,F.DialogTrigger=z1,F.Direction=hh,F.Fieldset=c5,F.FileUpload=ph,F.FormControl=yE,F.Heading=mh,F.IconButton=qi,F.IconTooltip=Ht,F.Item=Ji,F.Label=je,F.MultiSelect=I0,F.MultiSelectComponent=C0,F.MultiSelectItem=Ho,F.MultiSelectSection=hl,F.NavigationMenu=YS,F.NavigationMenuPortal=ZS,F.NumberFormControl=kp,F.NumberInput=Ai,F.Page=Rh,F.PageContent=gT,F.PageGrid=bT,F.PageHeader=Bh,F.PageHeaderContent=$T,F.Pagination=wT,F.PaginatorButton=Do,F.PaginatorNumber=Co,F.Popover=Fu,F.PopoverClose=$i,F.PopoverCloseCross=Uw,F.PopoverContent=Ku,F.PopoverTrigger=Lu,F.Radio=BT,F.RadioGroup=RT,F.RadioGroupIndicator=Jh,F.RadioGroupRadio=Xh,F.Search=wv,F.Select=pb,F.SelectContent=ub,F.SelectGroup=Hk,F.SelectGroupLabel=qk,F.SelectIcon=bb,F.SelectItem=gb,F.SelectItemIndicator=Gk,F.SelectItemText=vb,F.SelectScrollDownButton=$b,F.SelectScrollUpButton=yb,F.SelectSeparator=Yk,F.SelectTrigger=mb,F.SelectValue=hb,F.SelectViewport=Uk,F.SingleSelect=Zk,F.SingleSelectItem=Ho,F.SingleSelectSection=hl,F.StickyPageHeader=yT,F.StyledFieldSet=Hu,F.StyledTrigger=db,F.Switch=Pv,F.TabTriggerWithIcon=PP,F.TabsContent=TP,F.TabsList=SP,F.TabsRoot=EP,F.TabsTrigger=Th,F.Text=yr,F.TextAreaFormControl=Tp,F.TextFormControl=Pp,F.TextInput=Pi,F.Time=qr,F.TimeInput=fC,F.Title=Tv,F.Toast=hT,F.ToastAction=sT,F.ToastClose=Vh,F.ToastProvider=mT,F.ToastSeparator=jh,F.ToastViewport=fT,F.Tooltip=tf,F.TooltipContent=rf,F.TooltipProvider=ef,F.TooltipTrigger=Ci,F.contentShow=ma,F.dialogWidths=ha,F.overlayShow=pa,F.useFieldProps=ho,F.useFieldset=ot,Object.defineProperty(F,Symbol.toStringTag,{value:"Module"})});
|
|
2102
2102
|
//# sourceMappingURL=trc-components.umd.js.map
|