@theroutingcompany/components 0.0.14 → 0.0.15
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/README.md +90 -84
- package/dist/trc-components.es.js +6147 -5620
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +319 -211
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +19 -21
- package/types/components/Button/Button.d.ts +1 -1
- package/types/components/Button/ButtonBase.d.ts +4 -0
- package/types/components/IconButton/IconButton.d.ts +1 -1
- package/types/components/NavigationMenu/NavigationMenu.d.ts +58 -0
- package/types/components/Page/Page.d.ts +2 -1
- package/types/components/index.d.ts +1 -0
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(N,l){typeof exports=="object"&&typeof module<"u"?l(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"],l):(N=typeof globalThis<"u"?globalThis:N||self,l(N["trc-components"]={},N.React,N.ReactDOM,N.styled,N.ReactIs,N.icons))})(this,function(N,l,nt,P,Tt,Ee){"use strict";function Ia(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 B=Ia(l),Oa=Ia(nt);function Eb(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 i=Function.bind.apply(t,o);return new i}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 Pr={},Sb={get exports(){return Pr},set exports(e){Pr=e}},Zt={};/**
|
|
2
|
+
* @license React
|
|
2
3
|
* react-jsx-runtime.production.min.js
|
|
3
4
|
*
|
|
4
5
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
6
|
*
|
|
6
7
|
* This source code is licensed under the MIT license found in the
|
|
7
8
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var
|
|
9
|
+
*/var Aa;function Tb(){if(Aa)return Zt;Aa=1;var e=l,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,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,c,d){var f,p={},m=null,g=null;d!==void 0&&(m=""+d),c.key!==void 0&&(m=""+c.key),c.ref!==void 0&&(g=c.ref);for(f in c)n.call(c,f)&&!i.hasOwnProperty(f)&&(p[f]=c[f]);if(s&&s.defaultProps)for(f in c=s.defaultProps,c)p[f]===void 0&&(p[f]=c[f]);return{$$typeof:t,type:s,key:m,ref:g,props:p,_owner:o.current}}return Zt.Fragment=r,Zt.jsx=a,Zt.jsxs=a,Zt}var Jt={};/**
|
|
10
|
+
* @license React
|
|
9
11
|
* react-jsx-runtime.development.js
|
|
10
12
|
*
|
|
11
13
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
14
|
*
|
|
13
15
|
* This source code is licensed under the MIT license found in the
|
|
14
16
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var
|
|
16
|
-
|
|
17
|
+
*/var Na;function kb(){return Na||(Na=1,process.env.NODE_ENV!=="production"&&function(){var e=l,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h=Symbol.iterator,b="@@iterator";function v(x){if(x===null||typeof x!="object")return null;var F=h&&x[h]||x[b];return typeof F=="function"?F:null}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function $(x){{for(var F=arguments.length,R=new Array(F>1?F-1:0),oe=1;oe<F;oe++)R[oe-1]=arguments[oe];w("error",x,R)}}function w(x,F,R){{var oe=_.ReactDebugCurrentFrame,pe=oe.getStackAddendum();pe!==""&&(F+="%s",R=R.concat([pe]));var be=R.map(function(fe){return String(fe)});be.unshift("Warning: "+F),Function.prototype.apply.call(console[x],console,be)}}var y=!1,O=!1,M=!1,I=!1,A=!1,L;L=Symbol.for("react.module.reference");function J(x){return!!(typeof x=="string"||typeof x=="function"||x===n||x===i||A||x===o||x===d||x===f||I||x===g||y||O||M||typeof x=="object"&&x!==null&&(x.$$typeof===m||x.$$typeof===p||x.$$typeof===a||x.$$typeof===s||x.$$typeof===c||x.$$typeof===L||x.getModuleId!==void 0))}function k(x,F,R){var oe=x.displayName;if(oe)return oe;var pe=F.displayName||F.name||"";return pe!==""?R+"("+pe+")":R}function Y(x){return x.displayName||"Context"}function C(x){if(x==null)return null;if(typeof x.tag=="number"&&$("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case f:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case s:var F=x;return Y(F)+".Consumer";case a:var R=x;return Y(R._context)+".Provider";case c:return k(x,x.render,"ForwardRef");case p:var oe=x.displayName||null;return oe!==null?oe:C(x.type)||"Memo";case m:{var pe=x,be=pe._payload,fe=pe._init;try{return C(fe(be))}catch{return null}}}return null}var S=Object.assign,U=0,ae,ue,he,te,z,V,H;function X(){}X.__reactDisabledLog=!0;function q(){{if(U===0){ae=console.log,ue=console.info,he=console.warn,te=console.error,z=console.group,V=console.groupCollapsed,H=console.groupEnd;var x={configurable:!0,enumerable:!0,value:X,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}U++}}function se(){{if(U--,U===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:S({},x,{value:ae}),info:S({},x,{value:ue}),warn:S({},x,{value:he}),error:S({},x,{value:te}),group:S({},x,{value:z}),groupCollapsed:S({},x,{value:V}),groupEnd:S({},x,{value:H})})}U<0&&$("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ee=_.ReactCurrentDispatcher,j;function K(x,F,R){{if(j===void 0)try{throw Error()}catch(pe){var oe=pe.stack.trim().match(/\n( *(at )?)/);j=oe&&oe[1]||""}return`
|
|
18
|
+
`+j+x}}var Z=!1,W;{var ne=typeof WeakMap=="function"?WeakMap:Map;W=new ne}function Q(x,F){if(!x||Z)return"";{var R=W.get(x);if(R!==void 0)return R}var oe;Z=!0;var pe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var be;be=ee.current,ee.current=null,q();try{if(F){var fe=function(){throw Error()};if(Object.defineProperty(fe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(fe,[])}catch(rt){oe=rt}Reflect.construct(x,[],fe)}else{try{fe.call()}catch(rt){oe=rt}x.call(fe.prototype)}}else{try{throw Error()}catch(rt){oe=rt}x()}}catch(rt){if(rt&&oe&&typeof rt.stack=="string"){for(var ce=rt.stack.split(`
|
|
19
|
+
`),Te=oe.stack.split(`
|
|
20
|
+
`),$e=ce.length-1,_e=Te.length-1;$e>=1&&_e>=0&&ce[$e]!==Te[_e];)_e--;for(;$e>=1&&_e>=0;$e--,_e--)if(ce[$e]!==Te[_e]){if($e!==1||_e!==1)do if($e--,_e--,_e<0||ce[$e]!==Te[_e]){var Fe=`
|
|
21
|
+
`+ce[$e].replace(" at new "," at ");return x.displayName&&Fe.includes("<anonymous>")&&(Fe=Fe.replace("<anonymous>",x.displayName)),typeof x=="function"&&W.set(x,Fe),Fe}while($e>=1&&_e>=0);break}}}finally{Z=!1,ee.current=be,se(),Error.prepareStackTrace=pe}var Xt=x?x.displayName||x.name:"",wb=Xt?K(Xt):"";return typeof x=="function"&&W.set(x,wb),wb}function ye(x,F,R){return Q(x,!1)}function we(x){var F=x.prototype;return!!(F&&F.isReactComponent)}function Ne(x,F,R){if(x==null)return"";if(typeof x=="function")return Q(x,we(x));if(typeof x=="string")return K(x);switch(x){case d:return K("Suspense");case f:return K("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case c:return ye(x.render);case p:return Ne(x.type,F,R);case m:{var oe=x,pe=oe._payload,be=oe._init;try{return Ne(be(pe),F,R)}catch{}}}return""}var De=Object.prototype.hasOwnProperty,ze={},Le=_.ReactDebugCurrentFrame;function Ce(x){if(x){var F=x._owner,R=Ne(x.type,x._source,F?F.type:null);Le.setExtraStackFrame(R)}else Le.setExtraStackFrame(null)}function Ge(x,F,R,oe,pe){{var be=Function.call.bind(De);for(var fe in x)if(be(x,fe)){var ce=void 0;try{if(typeof x[fe]!="function"){var Te=Error((oe||"React class")+": "+R+" type `"+fe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[fe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Te.name="Invariant Violation",Te}ce=x[fe](F,fe,oe,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($e){ce=$e}ce&&!(ce instanceof Error)&&(Ce(pe),$("%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).",oe||"React class",R,fe,typeof ce),Ce(null)),ce instanceof Error&&!(ce.message in ze)&&(ze[ce.message]=!0,Ce(pe),$("Failed %s type: %s",R,ce.message),Ce(null))}}}var qt=Array.isArray;function Me(x){return qt(x)}function Ie(x){{var F=typeof Symbol=="function"&&Symbol.toStringTag,R=F&&x[Symbol.toStringTag]||x.constructor.name||"Object";return R}}function Ta(x){try{return pb(x),!1}catch{return!0}}function pb(x){return""+x}function mb(x){if(Ta(x))return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ie(x)),pb(x)}var kr=_.ReactCurrentOwner,nk={key:!0,ref:!0,__self:!0,__source:!0},bb,gb,ka;ka={};function ok(x){if(De.call(x,"ref")){var F=Object.getOwnPropertyDescriptor(x,"ref").get;if(F&&F.isReactWarning)return!1}return x.ref!==void 0}function ik(x){if(De.call(x,"key")){var F=Object.getOwnPropertyDescriptor(x,"key").get;if(F&&F.isReactWarning)return!1}return x.key!==void 0}function ak(x,F){if(typeof x.ref=="string"&&kr.current&&F&&kr.current.stateNode!==F){var R=C(kr.current.type);ka[R]||($('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',C(kr.current.type),x.ref),ka[R]=!0)}}function sk(x,F){{var R=function(){bb||(bb=!0,$("%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)",F))};R.isReactWarning=!0,Object.defineProperty(x,"key",{get:R,configurable:!0})}}function lk(x,F){{var R=function(){gb||(gb=!0,$("%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)",F))};R.isReactWarning=!0,Object.defineProperty(x,"ref",{get:R,configurable:!0})}}var ck=function(x,F,R,oe,pe,be,fe){var ce={$$typeof:t,type:x,key:F,ref:R,props:fe,_owner:be};return ce._store={},Object.defineProperty(ce._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ce,"_self",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.defineProperty(ce,"_source",{configurable:!1,enumerable:!1,writable:!1,value:pe}),Object.freeze&&(Object.freeze(ce.props),Object.freeze(ce)),ce};function uk(x,F,R,oe,pe){{var be,fe={},ce=null,Te=null;R!==void 0&&(mb(R),ce=""+R),ik(F)&&(mb(F.key),ce=""+F.key),ok(F)&&(Te=F.ref,ak(F,pe));for(be in F)De.call(F,be)&&!nk.hasOwnProperty(be)&&(fe[be]=F[be]);if(x&&x.defaultProps){var $e=x.defaultProps;for(be in $e)fe[be]===void 0&&(fe[be]=$e[be])}if(ce||Te){var _e=typeof x=="function"?x.displayName||x.name||"Unknown":x;ce&&sk(fe,_e),Te&&lk(fe,_e)}return ck(x,ce,Te,pe,oe,kr.current,fe)}}var Pa=_.ReactCurrentOwner,hb=_.ReactDebugCurrentFrame;function Yt(x){if(x){var F=x._owner,R=Ne(x.type,x._source,F?F.type:null);hb.setExtraStackFrame(R)}else hb.setExtraStackFrame(null)}var Ca;Ca=!1;function Da(x){return typeof x=="object"&&x!==null&&x.$$typeof===t}function vb(){{if(Pa.current){var x=C(Pa.current.type);if(x)return`
|
|
17
22
|
|
|
18
|
-
Check the render method of \``+x+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+x+"`."}return""}}function dk(x){{if(x!==void 0){var F=x.fileName.replace(/^.*[\\\/]/,""),R=x.lineNumber;return`
|
|
19
24
|
|
|
20
|
-
Check your code at `+
|
|
25
|
+
Check your code at `+F+":"+R+"."}return""}}var yb={};function fk(x){{var F=vb();if(!F){var R=typeof x=="string"?x:x.displayName||x.name;R&&(F=`
|
|
21
26
|
|
|
22
|
-
Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var U=ft(V);if(ze[U])return;ze[U]=!0;var ie="";x&&x._owner&&x._owner!==Re.current&&(ie=" It was passed a child from "+ee(x._owner.type)+"."),Ie(x),D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',U,ie),Ie(null)}}function Pe(x,V){{if(typeof x!="object")return;if(Array.isArray(x))for(var U=0;U<x.length;U++){var ie=x[U];ye(ie)&&Ht(ie,V)}else if(ye(x))x._store&&(x._store.validated=!0);else if(x){var be=A(x);if(typeof be=="function"&&be!==x.entries)for(var me=be.call(x),ue;!(ue=me.next()).done;)ye(ue.value)&&Ht(ue.value,V)}}}function Je(x){{var V=x.type;if(V==null||typeof V=="string")return;var U;if(typeof V=="function")U=V.propTypes;else if(typeof V=="object"&&(V.$$typeof===c||V.$$typeof===p))U=V.propTypes;else return;if(U){var ie=ee(V);E(U,x.props,"prop",ie,x)}else if(V.PropTypes!==void 0&&!Ke){Ke=!0;var be=ee(V);D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",be||"Unknown")}typeof V.getDefaultProps=="function"&&!V.getDefaultProps.isReactClassApproved&&D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Be(x){{for(var V=Object.keys(x.props),U=0;U<V.length;U++){var ie=V[U];if(ie!=="children"&&ie!=="key"){Ie(x),D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ie),Ie(null);break}}x.ref!==null&&(Ie(x),D("Invalid attribute `ref` supplied to `React.Fragment`."),Ie(null))}}function Ue(x,V,U,ie,be,me){{var ue=Y(x);if(!ue){var se="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(se+=" 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 Se=Ne(be);Se?se+=Se:se+=$e();var We;x===null?We="null":Array.isArray(x)?We="array":x!==void 0&&x.$$typeof===r?(We="<"+(ee(x.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):We=typeof x,D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,se)}var pt=Te(x,V,U,be,me);if(pt==null)return pt;if(ue){var Gt=V.children;if(Gt!==void 0)if(ie)if(Array.isArray(Gt)){for(var yi=0;yi<Gt.length;yi++)Pe(Gt[yi],x);Object.freeze&&Object.freeze(Gt)}else D("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 Pe(Gt,x)}return x===e.Fragment?Be(pt):Je(pt),pt}}function Qe(x,V,U){return Ue(x,V,U,!0)}function _r(x,V,U){return Ue(x,V,U,!1)}var xr=_r,wr=Qe;e.jsx=xr,e.jsxs=wr}()}(Nn)),Nn}(function(e){process.env.NODE_ENV==="production"?e.exports=Jb():e.exports=Qb()})(Zb);const P=Er.jsx,oe=Er.jsxs;function S(){return S=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},S.apply(this,arguments)}function em(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 we(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),c=r.length;r=[...r,i];function f(p){const{scope:b,children:m,...h}=p,g=(b==null?void 0:b[e][c])||s,v=l.useMemo(()=>h,Object.values(h));return l.createElement(g.Provider,{value:v},m)}function d(p,b){const m=(b==null?void 0:b[e][c])||s,h=l.useContext(m);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${a}\``)}return f.displayName=a+"Provider",[f,d]}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,tm(o,...t)]}function tm(...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:f})=>{const p=c(a)[`__scope${f}`];return{...s,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function rm(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ei(...e){return t=>e.forEach(r=>rm(r,t))}function le(...e){return l.useCallback(Ei(...e),e)}function W(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 xe=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},nm=B["useId".toString()]||(()=>{});let om=0;function Le(e){const[t,r]=B.useState(nm());return xe(()=>{e||r(n=>n??String(om++))},[e]),e||(t?`radix-${t}`:"")}function ke(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 Oe({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=am({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=ke(r),c=l.useCallback(f=>{if(a){const p=typeof f=="function"?f(e):f;p!==e&&s(p)}else o(f)},[a,e,o,s]);return[i,c]}function am({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=ke(t);return l.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const mt=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),a=o.find(im);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(zn,S({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(zn,S({},n,{ref:t}),r)});mt.displayName="Slot";const zn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...sm(n,r.props),ref:Ei(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});zn.displayName="SlotClone";const Ln=({children:e})=>l.createElement(l.Fragment,null,e);function im(e){return l.isValidElement(e)&&e.type===Ln}function sm(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 Z=["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?mt:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ti(e,t){e&&bt.flushSync(()=>e.dispatchEvent(t))}function lm(e,t=globalThis==null?void 0:globalThis.document){const r=ke(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Mn="dismissableLayer.update",cm="dismissableLayer.pointerDownOutside",um="dismissableLayer.focusOutside";let Si;const ki=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qt=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...f}=e,d=l.useContext(ki),[p,b]=l.useState(null),m=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,h]=l.useState({}),g=le(t,z=>b(z)),v=Array.from(d.layers),[$]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf($),w=p?v.indexOf(p):-1,y=d.layersWithOutsidePointerEventsDisabled.size>0,A=w>=_,L=fm(z=>{const F=z.target,Y=[...d.branches].some(k=>k.contains(F));!A||Y||(a==null||a(z),s==null||s(z),z.defaultPrevented||c==null||c())},m),D=pm(z=>{const F=z.target;[...d.branches].some(k=>k.contains(F))||(i==null||i(z),s==null||s(z),z.defaultPrevented||c==null||c())},m);return lm(z=>{w===d.layers.size-1&&(o==null||o(z),!z.defaultPrevented&&c&&(z.preventDefault(),c()))},m),l.useEffect(()=>{if(p)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Si=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),Pi(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Si)}},[p,m,n,d]),l.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),Pi())},[p,d]),l.useEffect(()=>{const z=()=>h({});return document.addEventListener(Mn,z),()=>document.removeEventListener(Mn,z)},[]),l.createElement(Z.div,S({},f,{ref:g,style:{pointerEvents:y?A?"auto":"none":void 0,...e.style},onFocusCapture:W(e.onFocusCapture,D.onFocusCapture),onBlurCapture:W(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:W(e.onPointerDownCapture,L.onPointerDownCapture)}))}),dm=l.forwardRef((e,t)=>{const r=l.useContext(ki),n=l.useRef(null),o=le(t,n);return l.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),l.createElement(Z.div,S({},e,{ref:o}))});function fm(e,t=globalThis==null?void 0:globalThis.document){const r=ke(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let f=function(){Ci(cm,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=f,t.addEventListener("click",o.current,{once:!0})):f()}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 pm(e,t=globalThis==null?void 0:globalThis.document){const r=ke(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Ci(um,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 Pi(){const e=new CustomEvent(Mn);document.dispatchEvent(e)}function Ci(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?Ti(o,a):o.dispatchEvent(a)}const bm=qt,mm=dm,Fn="focusScope.autoFocusOnMount",Vn="focusScope.autoFocusOnUnmount",Di={bubbles:!1,cancelable:!0},jn=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,c]=l.useState(null),f=ke(o),d=ke(a),p=l.useRef(null),b=le(t,g=>c(g)),m=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let g=function($){if(m.paused||!s)return;const _=$.target;s.contains(_)?p.current=_:gt(p.current,{select:!0})},v=function($){m.paused||!s||s.contains($.relatedTarget)||gt(p.current,{select:!0})};return document.addEventListener("focusin",g),document.addEventListener("focusout",v),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",v)}}},[n,s,m.paused]),l.useEffect(()=>{if(s){Ai.add(m);const g=document.activeElement;if(!s.contains(g)){const $=new CustomEvent(Fn,Di);s.addEventListener(Fn,f),s.dispatchEvent($),$.defaultPrevented||(gm(_m(Ii(s)),{select:!0}),document.activeElement===g&>(s))}return()=>{s.removeEventListener(Fn,f),setTimeout(()=>{const $=new CustomEvent(Vn,Di);s.addEventListener(Vn,d),s.dispatchEvent($),$.defaultPrevented||gt(g??document.body,{select:!0}),s.removeEventListener(Vn,d),Ai.remove(m)},0)}}},[s,f,d,m]);const h=l.useCallback(g=>{if(!r&&!n||m.paused)return;const v=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,$=document.activeElement;if(v&&$){const _=g.currentTarget,[w,y]=hm(_);w&&y?!g.shiftKey&&$===y?(g.preventDefault(),r&>(w,{select:!0})):g.shiftKey&&$===w&&(g.preventDefault(),r&>(y,{select:!0})):$===_&&g.preventDefault()}},[r,n,m.paused]);return l.createElement(Z.div,S({tabIndex:-1},i,{ref:b,onKeyDown:h}))});function gm(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(gt(n,{select:t}),document.activeElement!==r)return}function hm(e){const t=Ii(e),r=Oi(t,e),n=Oi(t.reverse(),e);return[r,n]}function Ii(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 Oi(e,t){for(const r of e)if(!vm(r,{upTo:t}))return r}function vm(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 ym(e){return e instanceof HTMLInputElement&&"select"in e}function gt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&ym(e)&&t&&e.select()}}const Ai=$m();function $m(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Ni(e,t),e.unshift(t)},remove(t){var r;e=Ni(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Ni(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function _m(e){return e.filter(t=>t.tagName!=="A")}const Yt=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?bt.createPortal(l.createElement(Z.div,S({},o,{ref:t})),n):null});function xm(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Ce=e=>{const{present:t,children:r}=e,n=wm(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),a=le(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:a}):null};Ce.displayName="Presence";function wm(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=xm(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const f=Tr(n.current);a.current=s==="mounted"?f:"none"},[s]),xe(()=>{const f=n.current,d=o.current;if(d!==e){const b=a.current,m=Tr(f);e?c("MOUNT"):m==="none"||(f==null?void 0:f.display)==="none"?c("UNMOUNT"):c(d&&b!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),xe(()=>{if(t){const f=p=>{const m=Tr(n.current).includes(p.animationName);p.target===t&&m&&bt.flushSync(()=>c("ANIMATION_END"))},d=p=>{p.target===t&&(a.current=Tr(n.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(f=>{f&&(n.current=getComputedStyle(f)),r(f)},[])}}function Tr(e){return(e==null?void 0:e.animationName)||"none"}let Rn=0;function Kn(){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:zi()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:zi()),Rn++,()=>{Rn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Rn--}},[])}function zi(){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 Me=function(){return Me=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},Me.apply(this,arguments)};function Li(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 Em(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 Sr="right-scroll-bar-position",kr="width-before-scroll-bar",Tm="with-scroll-bars-hidden",Sm="--removed-body-scroll-bar-size";function km(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Pm(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 Cm(e,t){return Pm(t||null,function(r){return e.forEach(function(n){return km(n,r)})})}function Dm(e){return e}function Im(e,t){t===void 0&&(t=Dm);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 d=i;i=[],d.forEach(a)},f=function(){return Promise.resolve().then(c)};f(),r={push:function(d){i.push(d),f()},filter:function(d){return i=i.filter(d),r}}}};return o}function Om(e){e===void 0&&(e={});var t=Im(null);return t.options=Me({async:!0,ssr:!1},e),t}var Mi=function(e){var t=e.sideCar,r=Li(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 B.createElement(n,Me({},r))};Mi.isSideCarExport=!0;function Am(e,t){return e.useMedium(t),Mi}var Fi=Om(),Bn=function(){},Pr=B.forwardRef(function(e,t){var r=B.useRef(null),n=B.useState({onScrollCapture:Bn,onWheelCapture:Bn,onTouchMoveCapture:Bn}),o=n[0],a=n[1],i=e.forwardProps,s=e.children,c=e.className,f=e.removeScrollBar,d=e.enabled,p=e.shards,b=e.sideCar,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,v=e.as,$=v===void 0?"div":v,_=Li(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=b,y=Cm([r,t]),A=Me(Me({},_),o);return B.createElement(B.Fragment,null,d&&B.createElement(w,{sideCar:Fi,removeScrollBar:f,shards:p,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),i?B.cloneElement(B.Children.only(s),Me(Me({},A),{ref:y})):B.createElement($,Me({},A,{className:c,ref:y}),s))});Pr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Pr.classNames={fullWidth:kr,zeroRight:Sr};var Nm=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function zm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Nm();return t&&e.setAttribute("nonce",t),e}function Lm(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Mm(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Fm=function(){var e=0,t=null;return{add:function(r){e==0&&(t=zm())&&(Lm(t,r),Mm(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Vm=function(){var e=Fm();return function(t,r){B.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Vi=function(){var e=Vm(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},jm={left:0,top:0,right:0,gap:0},Un=function(e){return parseInt(e||"",10)||0},Rm=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[Un(r),Un(n),Un(o)]},Km=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return jm;var t=Rm(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])}},Bm=Vi(),Um=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
23
|
-
.`.concat(
|
|
27
|
+
Check the top-level render call using <`+R+">.")}return F}}function $b(x,F){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var R=fk(F);if(yb[R])return;yb[R]=!0;var oe="";x&&x._owner&&x._owner!==Pa.current&&(oe=" It was passed a child from "+C(x._owner.type)+"."),Yt(x),$('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,oe),Yt(null)}}function _b(x,F){{if(typeof x!="object")return;if(Me(x))for(var R=0;R<x.length;R++){var oe=x[R];Da(oe)&&$b(oe,F)}else if(Da(x))x._store&&(x._store.validated=!0);else if(x){var pe=v(x);if(typeof pe=="function"&&pe!==x.entries)for(var be=pe.call(x),fe;!(fe=be.next()).done;)Da(fe.value)&&$b(fe.value,F)}}}function pk(x){{var F=x.type;if(F==null||typeof F=="string")return;var R;if(typeof F=="function")R=F.propTypes;else if(typeof F=="object"&&(F.$$typeof===c||F.$$typeof===p))R=F.propTypes;else return;if(R){var oe=C(F);Ge(R,x.props,"prop",oe,x)}else if(F.PropTypes!==void 0&&!Ca){Ca=!0;var pe=C(F);$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",pe||"Unknown")}typeof F.getDefaultProps=="function"&&!F.getDefaultProps.isReactClassApproved&&$("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function mk(x){{for(var F=Object.keys(x.props),R=0;R<F.length;R++){var oe=F[R];if(oe!=="children"&&oe!=="key"){Yt(x),$("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",oe),Yt(null);break}}x.ref!==null&&(Yt(x),$("Invalid attribute `ref` supplied to `React.Fragment`."),Yt(null))}}function xb(x,F,R,oe,pe,be){{var fe=J(x);if(!fe){var ce="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(ce+=" 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 Te=dk(pe);Te?ce+=Te:ce+=vb();var $e;x===null?$e="null":Me(x)?$e="array":x!==void 0&&x.$$typeof===t?($e="<"+(C(x.type)||"Unknown")+" />",ce=" Did you accidentally export a JSX literal instead of a component?"):$e=typeof x,$("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$e,ce)}var _e=uk(x,F,R,pe,be);if(_e==null)return _e;if(fe){var Fe=F.children;if(Fe!==void 0)if(oe)if(Me(Fe)){for(var Xt=0;Xt<Fe.length;Xt++)_b(Fe[Xt],x);Object.freeze&&Object.freeze(Fe)}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 _b(Fe,x)}return x===n?mk(_e):pk(_e),_e}}function bk(x,F,R){return xb(x,F,R,!0)}function gk(x,F,R){return xb(x,F,R,!1)}var hk=gk,vk=bk;Jt.Fragment=n,Jt.jsx=hk,Jt.jsxs=vk}()),Jt}(function(e){process.env.NODE_ENV==="production"?e.exports=Tb():e.exports=kb()})(Sb);const T=Pr.jsx,le=Pr.jsxs;function E(){return E=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},E.apply(this,arguments)}function Pb(e,t){const r=l.createContext(t);function n(i){const{children:a,...s}=i,c=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:c},a)}function o(i){const a=l.useContext(r);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function ke(e,t=[]){let r=[];function n(i,a){const s=l.createContext(a),c=r.length;r=[...r,a];function d(p){const{scope:m,children:g,...h}=p,b=(m==null?void 0:m[e][c])||s,v=l.useMemo(()=>h,Object.values(h));return l.createElement(b.Provider,{value:v},g)}function f(p,m){const g=(m==null?void 0:m[e][c])||s,h=l.useContext(g);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${i}\``)}return d.displayName=i+"Provider",[d,f]}const o=()=>{const i=r.map(a=>l.createContext(a));return function(s){const c=(s==null?void 0:s[e])||i;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,Cb(o,...t)]}function Cb(...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(i){const a=n.reduce((s,{useScope:c,scopeName:d})=>{const p=c(i)[`__scope${d}`];return{...s,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}function Db(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function za(...e){return t=>e.forEach(r=>Db(r,t))}function de(...e){return l.useCallback(za(...e),e)}function G(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 xe=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},Ib=B["useId".toString()]||(()=>{});let Ob=0;function Re(e){const[t,r]=B.useState(Ib());return xe(()=>{e||r(n=>n??String(Ob++))},[e]),e||(t?`radix-${t}`:"")}function Pe(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 je({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=Ab({defaultProp:t,onChange:r}),i=e!==void 0,a=i?e:n,s=Pe(r),c=l.useCallback(d=>{if(i){const p=typeof d=="function"?d(e):d;p!==e&&s(p)}else o(d)},[i,e,o,s]);return[a,c]}function Ab({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),i=Pe(t);return l.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}const pt=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),i=o.find(Nb);if(i){const a=i.props.children,s=o.map(c=>c===i?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:c);return l.createElement(Ln,E({},n,{ref:t}),l.isValidElement(a)?l.cloneElement(a,void 0,s):null)}return l.createElement(Ln,E({},n,{ref:t}),r)});pt.displayName="Slot";const Ln=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...zb(n,r.props),ref:za(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});Ln.displayName="SlotClone";const Mn=({children:e})=>l.createElement(l.Fragment,null,e);function Nb(e){return l.isValidElement(e)&&e.type===Mn}function zb(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{i(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}const re=["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:i,...a}=n,s=i?pt:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,E({},a,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function La(e,t){e&&nt.flushSync(()=>e.dispatchEvent(t))}function Lb(e,t=globalThis==null?void 0:globalThis.document){const r=Pe(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Fn="dismissableLayer.update",Mb="dismissableLayer.pointerDownOutside",Fb="dismissableLayer.focusOutside";let Ma;const Fa=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Qt=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:c,...d}=e,f=l.useContext(Fa),[p,m]=l.useState(null),g=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,h]=l.useState({}),b=de(t,A=>m(A)),v=Array.from(f.layers),[_]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),$=v.indexOf(_),w=p?v.indexOf(p):-1,y=f.layersWithOutsidePointerEventsDisabled.size>0,O=w>=$,M=Vb(A=>{const L=A.target,J=[...f.branches].some(k=>k.contains(L));!O||J||(i==null||i(A),s==null||s(A),A.defaultPrevented||c==null||c())},g),I=Rb(A=>{const L=A.target;[...f.branches].some(k=>k.contains(L))||(a==null||a(A),s==null||s(A),A.defaultPrevented||c==null||c())},g);return Lb(A=>{w===f.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},g),l.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Ma=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),ja(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Ma)}},[p,g,n,f]),l.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),ja())},[p,f]),l.useEffect(()=>{const A=()=>h({});return document.addEventListener(Fn,A),()=>document.removeEventListener(Fn,A)},[]),l.createElement(re.div,E({},d,{ref:b,style:{pointerEvents:y?O?"auto":"none":void 0,...e.style},onFocusCapture:G(e.onFocusCapture,I.onFocusCapture),onBlurCapture:G(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:G(e.onPointerDownCapture,M.onPointerDownCapture)}))}),jb=l.forwardRef((e,t)=>{const r=l.useContext(Fa),n=l.useRef(null),o=de(t,n);return l.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),l.createElement(re.div,E({},e,{ref:o}))});function Vb(e,t=globalThis==null?void 0:globalThis.document){const r=Pe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let d=function(){Va(Mb,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},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Rb(e,t=globalThis==null?void 0:globalThis.document){const r=Pe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=i=>{i.target&&!n.current&&Va(Fb,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ja(){const e=new CustomEvent(Fn);document.dispatchEvent(e)}function Va(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?La(o,i):o.dispatchEvent(i)}const Kb=Qt,Bb=jb,jn="focusScope.autoFocusOnMount",Vn="focusScope.autoFocusOnUnmount",Ra={bubbles:!1,cancelable:!0},Rn=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=l.useState(null),d=Pe(o),f=Pe(i),p=l.useRef(null),m=de(t,b=>c(b)),g=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let b=function(_){if(g.paused||!s)return;const $=_.target;s.contains($)?p.current=$:mt(p.current,{select:!0})},v=function(_){g.paused||!s||s.contains(_.relatedTarget)||mt(p.current,{select:!0})};return document.addEventListener("focusin",b),document.addEventListener("focusout",v),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",v)}}},[n,s,g.paused]),l.useEffect(()=>{if(s){Wa.add(g);const b=document.activeElement;if(!s.contains(b)){const _=new CustomEvent(jn,Ra);s.addEventListener(jn,d),s.dispatchEvent(_),_.defaultPrevented||(Wb(Yb(Ka(s)),{select:!0}),document.activeElement===b&&mt(s))}return()=>{s.removeEventListener(jn,d),setTimeout(()=>{const _=new CustomEvent(Vn,Ra);s.addEventListener(Vn,f),s.dispatchEvent(_),_.defaultPrevented||mt(b??document.body,{select:!0}),s.removeEventListener(Vn,f),Wa.remove(g)},0)}}},[s,d,f,g]);const h=l.useCallback(b=>{if(!r&&!n||g.paused)return;const v=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,_=document.activeElement;if(v&&_){const $=b.currentTarget,[w,y]=Ub($);w&&y?!b.shiftKey&&_===y?(b.preventDefault(),r&&mt(w,{select:!0})):b.shiftKey&&_===w&&(b.preventDefault(),r&&mt(y,{select:!0})):_===$&&b.preventDefault()}},[r,n,g.paused]);return l.createElement(re.div,E({tabIndex:-1},a,{ref:m,onKeyDown:h}))});function Wb(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(mt(n,{select:t}),document.activeElement!==r)return}function Ub(e){const t=Ka(e),r=Ba(t,e),n=Ba(t.reverse(),e);return[r,n]}function Ka(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 Ba(e,t){for(const r of e)if(!Hb(r,{upTo:t}))return r}function Hb(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 Gb(e){return e instanceof HTMLInputElement&&"select"in e}function mt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Gb(e)&&t&&e.select()}}const Wa=qb();function qb(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Ua(e,t),e.unshift(t)},remove(t){var r;e=Ua(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Ua(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Yb(e){return e.filter(t=>t.tagName!=="A")}const er=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?nt.createPortal(l.createElement(re.div,E({},o,{ref:t})),n):null});function Xb(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Oe=e=>{const{present:t,children:r}=e,n=Zb(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),i=de(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:i}):null};Oe.displayName="Presence";function Zb(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=Xb(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=Cr(n.current);i.current=s==="mounted"?d:"none"},[s]),xe(()=>{const d=n.current,f=o.current;if(f!==e){const m=i.current,g=Cr(d);e?c("MOUNT"):g==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&m!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),xe(()=>{if(t){const d=p=>{const g=Cr(n.current).includes(p.animationName);p.target===t&&g&&nt.flushSync(()=>c("ANIMATION_END"))},f=p=>{p.target===t&&(i.current=Cr(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),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 Cr(e){return(e==null?void 0:e.animationName)||"none"}let Kn=0;function Bn(){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:Ha()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Ha()),Kn++,()=>{Kn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Kn--}},[])}function Ha(){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 Ke=function(){return Ke=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Ke.apply(this,arguments)};function Ga(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 Jb(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var Dr="right-scroll-bar-position",Ir="width-before-scroll-bar",Qb="with-scroll-bars-hidden",eg="--removed-body-scroll-bar-size";function tg(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function rg(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 ng(e,t){return rg(t||null,function(r){return e.forEach(function(n){return tg(n,r)})})}function og(e){return e}function ig(e,t){t===void 0&&(t=og);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(i){var a=t(i,n);return r.push(a),function(){r=r.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(n=!0;r.length;){var a=r;r=[],a.forEach(i)}r={push:function(s){return i(s)},filter:function(){return r}}},assignMedium:function(i){n=!0;var a=[];if(r.length){var s=r;r=[],s.forEach(i),a=r}var c=function(){var f=a;a=[],f.forEach(i)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(f){a.push(f),d()},filter:function(f){return a=a.filter(f),r}}}};return o}function ag(e){e===void 0&&(e={});var t=ig(null);return t.options=Ke({async:!0,ssr:!1},e),t}var qa=function(e){var t=e.sideCar,r=Ga(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 B.createElement(n,Ke({},r))};qa.isSideCarExport=!0;function sg(e,t){return e.useMedium(t),qa}var Ya=ag(),Wn=function(){},Or=B.forwardRef(function(e,t){var r=B.useRef(null),n=B.useState({onScrollCapture:Wn,onWheelCapture:Wn,onTouchMoveCapture:Wn}),o=n[0],i=n[1],a=e.forwardProps,s=e.children,c=e.className,d=e.removeScrollBar,f=e.enabled,p=e.shards,m=e.sideCar,g=e.noIsolation,h=e.inert,b=e.allowPinchZoom,v=e.as,_=v===void 0?"div":v,$=Ga(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=m,y=ng([r,t]),O=Ke(Ke({},$),o);return B.createElement(B.Fragment,null,f&&B.createElement(w,{sideCar:Ya,removeScrollBar:d,shards:p,noIsolation:g,inert:h,setCallbacks:i,allowPinchZoom:!!b,lockRef:r}),a?B.cloneElement(B.Children.only(s),Ke(Ke({},O),{ref:y})):B.createElement(_,Ke({},O,{className:c,ref:y}),s))});Or.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Or.classNames={fullWidth:Ir,zeroRight:Dr};var lg=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function cg(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=lg();return t&&e.setAttribute("nonce",t),e}function ug(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function dg(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var fg=function(){var e=0,t=null;return{add:function(r){e==0&&(t=cg())&&(ug(t,r),dg(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},pg=function(){var e=fg();return function(t,r){B.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Xa=function(){var e=pg(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},mg={left:0,top:0,right:0,gap:0},Un=function(e){return parseInt(e||"",10)||0},bg=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[Un(r),Un(n),Un(o)]},gg=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return mg;var t=bg(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])}},hg=Xa(),vg=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
28
|
+
.`.concat(Qb,` {
|
|
24
29
|
overflow: hidden `).concat(n,`;
|
|
25
30
|
padding-right: `).concat(s,"px ").concat(n,`;
|
|
26
31
|
}
|
|
@@ -29,37 +34,37 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
29
34
|
overscroll-behavior: contain;
|
|
30
35
|
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
|
31
36
|
padding-left: `.concat(o,`px;
|
|
32
|
-
padding-top: `).concat(
|
|
33
|
-
padding-right: `).concat(
|
|
37
|
+
padding-top: `).concat(i,`px;
|
|
38
|
+
padding-right: `).concat(a,`px;
|
|
34
39
|
margin-left:0;
|
|
35
40
|
margin-top:0;
|
|
36
41
|
margin-right: `).concat(s,"px ").concat(n,`;
|
|
37
42
|
`),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
38
43
|
}
|
|
39
44
|
|
|
40
|
-
.`).concat(
|
|
45
|
+
.`).concat(Dr,` {
|
|
41
46
|
right: `).concat(s,"px ").concat(n,`;
|
|
42
47
|
}
|
|
43
48
|
|
|
44
|
-
.`).concat(
|
|
49
|
+
.`).concat(Ir,` {
|
|
45
50
|
margin-right: `).concat(s,"px ").concat(n,`;
|
|
46
51
|
}
|
|
47
52
|
|
|
48
|
-
.`).concat(
|
|
53
|
+
.`).concat(Dr," .").concat(Dr,` {
|
|
49
54
|
right: 0 `).concat(n,`;
|
|
50
55
|
}
|
|
51
56
|
|
|
52
|
-
.`).concat(
|
|
57
|
+
.`).concat(Ir," .").concat(Ir,` {
|
|
53
58
|
margin-right: 0 `).concat(n,`;
|
|
54
59
|
}
|
|
55
60
|
|
|
56
61
|
body {
|
|
57
|
-
`).concat(
|
|
62
|
+
`).concat(eg,": ").concat(s,`px;
|
|
58
63
|
}
|
|
59
|
-
`)},
|
|
64
|
+
`)},yg=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,i=B.useMemo(function(){return gg(o)},[o]);return B.createElement(hg,{styles:vg(i,!t,o,r?"":"!important")})},Hn=!1;if(typeof window<"u")try{var Ar=Object.defineProperty({},"passive",{get:function(){return Hn=!0,!0}});window.addEventListener("test",Ar,Ar),window.removeEventListener("test",Ar,Ar)}catch{Hn=!1}var kt=Hn?{passive:!1}:!1,$g=function(e){return e.tagName==="TEXTAREA"},Za=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!$g(e)&&r[t]==="visible")},_g=function(e){return Za(e,"overflowY")},xg=function(e){return Za(e,"overflowX")},Ja=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Qa(e,r);if(n){var o=es(e,r),i=o[1],a=o[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},wg=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Eg=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Qa=function(e,t){return e==="v"?_g(t):xg(t)},es=function(e,t){return e==="v"?wg(t):Eg(t)},Sg=function(e,t){return e==="h"&&t==="rtl"?-1:1},Tg=function(e,t,r,n,o){var i=Sg(e,window.getComputedStyle(t).direction),a=i*n,s=r.target,c=t.contains(s),d=!1,f=a>0,p=0,m=0;do{var g=es(e,s),h=g[0],b=g[1],v=g[2],_=b-v-i*h;(h||_)&&Qa(e,s)&&(p+=_,m+=h),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(f&&(o&&p===0||!o&&a>p)||!f&&(o&&m===0||!o&&-a>m))&&(d=!0),d},Nr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ts=function(e){return[e.deltaX,e.deltaY]},rs=function(e){return e&&"current"in e?e.current:e},kg=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Pg=function(e){return`
|
|
60
65
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
61
66
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
62
|
-
`)},tg=0,kt=[];function rg(e){var t=B.useRef([]),r=B.useRef([0,0]),n=B.useRef(),o=B.useState(tg++)[0],a=B.useState(function(){return Vi()})[0],i=B.useRef(e);B.useEffect(function(){i.current=e},[e]),B.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=Em([e.lockRef.current],(e.shards||[]).map(Wi),!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=B.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var $=Dr(g),_=r.current,w="deltaX"in g?g.deltaX:_[0]-$[0],y="deltaY"in g?g.deltaY:_[1]-$[1],A,L=g.target,D=Math.abs(w)>Math.abs(y)?"h":"v";if("touches"in g&&D==="h"&&L.type==="range")return!1;var z=Ri(D,L);if(!z)return!0;if(z?A=D:(A=D==="v"?"h":"v",z=Ri(D,L)),!z)return!1;if(!n.current&&"changedTouches"in g&&(w||y)&&(n.current=A),!A)return!0;var F=n.current||A;return Jm(F,v,g,F==="h"?w:y,!0)},[]),c=B.useCallback(function(g){var v=g;if(!(!kt.length||kt[kt.length-1]!==a)){var $="deltaY"in v?Ui(v):Dr(v),_=t.current.filter(function(A){return A.name===v.type&&A.target===v.target&&Qm(A.delta,$)})[0];if(_&&_.should){v.cancelable&&v.preventDefault();return}if(!_){var w=(i.current.shards||[]).map(Wi).filter(Boolean).filter(function(A){return A.contains(v.target)}),y=w.length>0?s(v,w[0]):!i.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),f=B.useCallback(function(g,v,$,_){var w={name:g,delta:v,target:$,should:_};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(y){return y!==w})},1)},[]),d=B.useCallback(function(g){r.current=Dr(g),n.current=void 0},[]),p=B.useCallback(function(g){f(g.type,Ui(g),g.target,s(g,e.lockRef.current))},[]),b=B.useCallback(function(g){f(g.type,Dr(g),g.target,s(g,e.lockRef.current))},[]);B.useEffect(function(){return kt.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:b}),document.addEventListener("wheel",c,St),document.addEventListener("touchmove",c,St),document.addEventListener("touchstart",d,St),function(){kt=kt.filter(function(g){return g!==a}),document.removeEventListener("wheel",c,St),document.removeEventListener("touchmove",c,St),document.removeEventListener("touchstart",d,St)}},[]);var m=e.removeScrollBar,h=e.inert;return B.createElement(B.Fragment,null,h?B.createElement(a,{styles:eg(o)}):null,m?B.createElement(Wm,{gapMode:"margin"}):null)}const ng=Am(Fi,rg);var Hi=B.forwardRef(function(e,t){return B.createElement(Pr,Me({},e,{ref:t,sideCar:ng}))});Hi.classNames=Pr.classNames;const Hn=Hi;var og=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pt=new WeakMap,Ir=new WeakMap,Or={},Gn=0,Gi=function(e){return e&&(e.host||Gi(e.parentNode))},ag=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Gi(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)})},ig=function(e,t,r,n){var o=ag(t,Array.isArray(e)?e:[e]);Or[r]||(Or[r]=new WeakMap);var a=Or[r],i=[],s=new Set,c=new Set(o),f=function(p){!p||s.has(p)||(s.add(p),f(p.parentNode))};o.forEach(f);var d=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(b){if(s.has(b))d(b);else{var m=b.getAttribute(n),h=m!==null&&m!=="false",g=(Pt.get(b)||0)+1,v=(a.get(b)||0)+1;Pt.set(b,g),a.set(b,v),i.push(b),g===1&&h&&Ir.set(b,!0),v===1&&b.setAttribute(r,"true"),h||b.setAttribute(n,"true")}})};return d(t),s.clear(),Gn++,function(){i.forEach(function(p){var b=Pt.get(p)-1,m=a.get(p)-1;Pt.set(p,b),a.set(p,m),b||(Ir.has(p)||p.removeAttribute(n),Ir.delete(p)),m||p.removeAttribute(r)}),Gn--,Gn||(Pt=new WeakMap,Pt=new WeakMap,Ir=new WeakMap,Or={})}},qn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||og(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),ig(n,o,r,"aria-hidden")):function(){return null}};const qi="Dialog",[Yi,Xi]=we(qi),[sg,Ae]=Yi(qi),lg=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[f=!1,d]=Oe({prop:n,defaultProp:o,onChange:a});return l.createElement(sg,{scope:t,triggerRef:s,contentRef:c,contentId:Le(),titleId:Le(),descriptionId:Le(),open:f,onOpenChange:d,onOpenToggle:l.useCallback(()=>d(p=>!p),[d]),modal:i},r)},cg="DialogTrigger",ug=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ae(cg,r),a=le(t,o.triggerRef);return l.createElement(Z.button,S({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Xn(o.open)},n,{ref:a,onClick:W(e.onClick,o.onOpenToggle)}))}),Zi="DialogPortal",[dg,Ji]=Yi(Zi,{forceMount:void 0}),fg=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=Ae(Zi,t);return l.createElement(dg,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(Ce,{present:r||a.open},l.createElement(Yt,{asChild:!0,container:o},i))))},Yn="DialogOverlay",pg=l.forwardRef((e,t)=>{const r=Ji(Yn,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ae(Yn,e.__scopeDialog);return a.modal?l.createElement(Ce,{present:n||a.open},l.createElement(bg,S({},o,{ref:t}))):null}),bg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ae(Yn,r);return l.createElement(Hn,{as:mt,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(Z.div,S({"data-state":Xn(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Ct="DialogContent",mg=l.forwardRef((e,t)=>{const r=Ji(Ct,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ae(Ct,e.__scopeDialog);return l.createElement(Ce,{present:n||a.open},a.modal?l.createElement(gg,S({},o,{ref:t})):l.createElement(hg,S({},o,{ref:t})))}),gg=l.forwardRef((e,t)=>{const r=Ae(Ct,e.__scopeDialog),n=l.useRef(null),o=le(t,r.contentRef,n);return l.useEffect(()=>{const a=n.current;if(a)return qn(a)},[]),l.createElement(Qi,S({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:W(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:W(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:W(e.onFocusOutside,a=>a.preventDefault())}))}),hg=l.forwardRef((e,t)=>{const r=Ae(Ct,e.__scopeDialog),n=l.useRef(!1);return l.createElement(Qi,S({},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()}}))}),Qi=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=Ae(Ct,r),c=l.useRef(null),f=le(t,c);return Kn(),l.createElement(l.Fragment,null,l.createElement(jn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(qt,S({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Xn(s.open)},i,{ref:f,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),es="DialogTitle",vg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ae(es,r);return l.createElement(Z.h2,S({id:o.titleId},n,{ref:t}))}),yg="DialogDescription",$g=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ae(yg,r);return l.createElement(Z.p,S({id:o.descriptionId},n,{ref:t}))}),_g="DialogClose",xg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ae(_g,r);return l.createElement(Z.button,S({type:"button"},n,{ref:t,onClick:W(e.onClick,()=>o.onOpenChange(!1))}))});function Xn(e){return e?"open":"closed"}const wg="DialogTitleWarning",[Eg,yS]=em(wg,{contentName:Ct,titleName:es,docsSlug:"dialog"}),ts=lg,rs=ug,ns=fg,os=pg,as=mg,is=vg,ss=$g,Zn=xg,Tg="AlertDialog",[Sg,$S]=we(Tg,[Xi]),He=Xi(),kg=e=>{const{__scopeAlertDialog:t,...r}=e,n=He(t);return l.createElement(ts,S({},n,r,{modal:!0}))},Pg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(rs,S({},o,n,{ref:t}))}),Cg=e=>{const{__scopeAlertDialog:t,...r}=e,n=He(t);return l.createElement(ns,S({},n,r))},Dg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(os,S({},o,n,{ref:t}))}),ls="AlertDialogContent",[Ig,Og]=Sg(ls),Ag=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=He(r),i=l.useRef(null),s=le(t,i),c=l.useRef(null);return l.createElement(Eg,{contentName:ls,titleName:Ng,docsSlug:"alert-dialog"},l.createElement(Ig,{scope:r,cancelRef:c},l.createElement(as,S({role:"alertdialog"},a,o,{ref:s,onOpenAutoFocus:W(o.onOpenAutoFocus,f=>{var d;f.preventDefault(),(d=c.current)===null||d===void 0||d.focus({preventScroll:!0})}),onPointerDownOutside:f=>f.preventDefault(),onInteractOutside:f=>f.preventDefault()}),l.createElement(Ln,null,n),!1)))}),Ng="AlertDialogTitle",zg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(is,S({},o,n,{ref:t}))}),Lg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(ss,S({},o,n,{ref:t}))}),Mg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(Zn,S({},o,n,{ref:t}))}),Fg="AlertDialogCancel",Vg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=Og(Fg,r),a=He(r),i=le(t,o);return l.createElement(Zn,S({},a,n,{ref:i}))}),jg=kg,Rg=Pg,Kg=Cg,Bg=Dg,Ug=Ag,Wg=Mg,Hg=Vg,Gg=zg,qg=Lg,u={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)"},Jn=C.keyframes`
|
|
67
|
+
`)},Cg=0,Pt=[];function Dg(e){var t=B.useRef([]),r=B.useRef([0,0]),n=B.useRef(),o=B.useState(Cg++)[0],i=B.useState(function(){return Xa()})[0],a=B.useRef(e);B.useEffect(function(){a.current=e},[e]),B.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var b=Jb([e.lockRef.current],(e.shards||[]).map(rs),!0).filter(Boolean);return b.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),b.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=B.useCallback(function(b,v){if("touches"in b&&b.touches.length===2)return!a.current.allowPinchZoom;var _=Nr(b),$=r.current,w="deltaX"in b?b.deltaX:$[0]-_[0],y="deltaY"in b?b.deltaY:$[1]-_[1],O,M=b.target,I=Math.abs(w)>Math.abs(y)?"h":"v";if("touches"in b&&I==="h"&&M.type==="range")return!1;var A=Ja(I,M);if(!A)return!0;if(A?O=I:(O=I==="v"?"h":"v",A=Ja(I,M)),!A)return!1;if(!n.current&&"changedTouches"in b&&(w||y)&&(n.current=O),!O)return!0;var L=n.current||O;return Tg(L,v,b,L==="h"?w:y,!0)},[]),c=B.useCallback(function(b){var v=b;if(!(!Pt.length||Pt[Pt.length-1]!==i)){var _="deltaY"in v?ts(v):Nr(v),$=t.current.filter(function(O){return O.name===v.type&&O.target===v.target&&kg(O.delta,_)})[0];if($&&$.should){v.cancelable&&v.preventDefault();return}if(!$){var w=(a.current.shards||[]).map(rs).filter(Boolean).filter(function(O){return O.contains(v.target)}),y=w.length>0?s(v,w[0]):!a.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),d=B.useCallback(function(b,v,_,$){var w={name:b,delta:v,target:_,should:$};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(y){return y!==w})},1)},[]),f=B.useCallback(function(b){r.current=Nr(b),n.current=void 0},[]),p=B.useCallback(function(b){d(b.type,ts(b),b.target,s(b,e.lockRef.current))},[]),m=B.useCallback(function(b){d(b.type,Nr(b),b.target,s(b,e.lockRef.current))},[]);B.useEffect(function(){return Pt.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,kt),document.addEventListener("touchmove",c,kt),document.addEventListener("touchstart",f,kt),function(){Pt=Pt.filter(function(b){return b!==i}),document.removeEventListener("wheel",c,kt),document.removeEventListener("touchmove",c,kt),document.removeEventListener("touchstart",f,kt)}},[]);var g=e.removeScrollBar,h=e.inert;return B.createElement(B.Fragment,null,h?B.createElement(i,{styles:Pg(o)}):null,g?B.createElement(yg,{gapMode:"margin"}):null)}const Ig=sg(Ya,Dg);var ns=B.forwardRef(function(e,t){return B.createElement(Or,Ke({},e,{ref:t,sideCar:Ig}))});ns.classNames=Or.classNames;const Gn=ns;var Og=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ct=new WeakMap,zr=new WeakMap,Lr={},qn=0,os=function(e){return e&&(e.host||os(e.parentNode))},Ag=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=os(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)})},Ng=function(e,t,r,n){var o=Ag(t,Array.isArray(e)?e:[e]);Lr[r]||(Lr[r]=new WeakMap);var i=Lr[r],a=[],s=new Set,c=new Set(o),d=function(p){!p||s.has(p)||(s.add(p),d(p.parentNode))};o.forEach(d);var f=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(m){if(s.has(m))f(m);else{var g=m.getAttribute(n),h=g!==null&&g!=="false",b=(Ct.get(m)||0)+1,v=(i.get(m)||0)+1;Ct.set(m,b),i.set(m,v),a.push(m),b===1&&h&&zr.set(m,!0),v===1&&m.setAttribute(r,"true"),h||m.setAttribute(n,"true")}})};return f(t),s.clear(),qn++,function(){a.forEach(function(p){var m=Ct.get(p)-1,g=i.get(p)-1;Ct.set(p,m),i.set(p,g),m||(zr.has(p)||p.removeAttribute(n),zr.delete(p)),g||p.removeAttribute(r)}),qn--,qn||(Ct=new WeakMap,Ct=new WeakMap,zr=new WeakMap,Lr={})}},Yn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Og(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Ng(n,o,r,"aria-hidden")):function(){return null}};const is="Dialog",[as,ss]=ke(is),[zg,Ve]=as(is),Lg=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,f]=je({prop:n,defaultProp:o,onChange:i});return l.createElement(zg,{scope:t,triggerRef:s,contentRef:c,contentId:Re(),titleId:Re(),descriptionId:Re(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(p=>!p),[f]),modal:a},r)},Mg="DialogTrigger",Fg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ve(Mg,r),i=de(t,o.triggerRef);return l.createElement(re.button,E({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Zn(o.open)},n,{ref:i,onClick:G(e.onClick,o.onOpenToggle)}))}),ls="DialogPortal",[jg,cs]=as(ls,{forceMount:void 0}),Vg=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,i=Ve(ls,t);return l.createElement(jg,{scope:t,forceMount:r},l.Children.map(n,a=>l.createElement(Oe,{present:r||i.open},l.createElement(er,{asChild:!0,container:o},a))))},Xn="DialogOverlay",Rg=l.forwardRef((e,t)=>{const r=cs(Xn,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Ve(Xn,e.__scopeDialog);return i.modal?l.createElement(Oe,{present:n||i.open},l.createElement(Kg,E({},o,{ref:t}))):null}),Kg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ve(Xn,r);return l.createElement(Gn,{as:pt,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(re.div,E({"data-state":Zn(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Dt="DialogContent",Bg=l.forwardRef((e,t)=>{const r=cs(Dt,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Ve(Dt,e.__scopeDialog);return l.createElement(Oe,{present:n||i.open},i.modal?l.createElement(Wg,E({},o,{ref:t})):l.createElement(Ug,E({},o,{ref:t})))}),Wg=l.forwardRef((e,t)=>{const r=Ve(Dt,e.__scopeDialog),n=l.useRef(null),o=de(t,r.contentRef,n);return l.useEffect(()=>{const i=n.current;if(i)return Yn(i)},[]),l.createElement(us,E({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:G(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=r.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:G(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:G(e.onFocusOutside,i=>i.preventDefault())}))}),Ug=l.forwardRef((e,t)=>{const r=Ve(Dt,e.__scopeDialog),n=l.useRef(!1);return l.createElement(us,E({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;n.current||(a=r.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((a=r.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),us=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=Ve(Dt,r),c=l.useRef(null),d=de(t,c);return Bn(),l.createElement(l.Fragment,null,l.createElement(Rn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},l.createElement(Qt,E({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Zn(s.open)},a,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),ds="DialogTitle",Hg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ve(ds,r);return l.createElement(re.h2,E({id:o.titleId},n,{ref:t}))}),Gg="DialogDescription",qg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ve(Gg,r);return l.createElement(re.p,E({id:o.descriptionId},n,{ref:t}))}),Yg="DialogClose",Xg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ve(Yg,r);return l.createElement(re.button,E({type:"button"},n,{ref:t,onClick:G(e.onClick,()=>o.onOpenChange(!1))}))});function Zn(e){return e?"open":"closed"}const Zg="DialogTitleWarning",[Jg,$k]=Pb(Zg,{contentName:Dt,titleName:ds,docsSlug:"dialog"}),fs=Lg,ps=Fg,ms=Vg,bs=Rg,gs=Bg,hs=Hg,vs=qg,Jn=Xg,Qg="AlertDialog",[eh,_k]=ke(Qg,[ss]),qe=ss(),th=e=>{const{__scopeAlertDialog:t,...r}=e,n=qe(t);return l.createElement(fs,E({},n,r,{modal:!0}))},rh=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(ps,E({},o,n,{ref:t}))}),nh=e=>{const{__scopeAlertDialog:t,...r}=e,n=qe(t);return l.createElement(ms,E({},n,r))},oh=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(bs,E({},o,n,{ref:t}))}),ys="AlertDialogContent",[ih,ah]=eh(ys),sh=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,i=qe(r),a=l.useRef(null),s=de(t,a),c=l.useRef(null);return l.createElement(Jg,{contentName:ys,titleName:lh,docsSlug:"alert-dialog"},l.createElement(ih,{scope:r,cancelRef:c},l.createElement(gs,E({role:"alertdialog"},i,o,{ref:s,onOpenAutoFocus:G(o.onOpenAutoFocus,d=>{var f;d.preventDefault(),(f=c.current)===null||f===void 0||f.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault()}),l.createElement(Mn,null,n),!1)))}),lh="AlertDialogTitle",ch=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(hs,E({},o,n,{ref:t}))}),uh=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(vs,E({},o,n,{ref:t}))}),dh=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(Jn,E({},o,n,{ref:t}))}),fh="AlertDialogCancel",ph=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=ah(fh,r),i=qe(r),a=de(t,o);return l.createElement(Jn,E({},i,n,{ref:a}))}),mh=th,bh=rh,gh=nh,hh=oh,vh=sh,yh=dh,$h=ph,_h=ch,xh=uh,u={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)"},Qn=P.keyframes`
|
|
63
68
|
0% {
|
|
64
69
|
opacity: 0;
|
|
65
70
|
}
|
|
@@ -67,7 +72,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
67
72
|
100% {
|
|
68
73
|
opacity: var(--overlay-opacity);
|
|
69
74
|
}
|
|
70
|
-
`,
|
|
75
|
+
`,eo=P.keyframes`
|
|
71
76
|
0% {
|
|
72
77
|
opacity: 0;
|
|
73
78
|
transform: translate(-50%, -48%) scale(.96);
|
|
@@ -77,18 +82,18 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
77
82
|
opacity: 1;
|
|
78
83
|
transform: translate(-50%, -50%) scale(1);
|
|
79
84
|
}
|
|
80
|
-
`,
|
|
85
|
+
`,wh=P(bs)`
|
|
81
86
|
--overlay-opacity: 0.6;
|
|
82
87
|
background-color: ${u.color_background_black_strong};
|
|
83
88
|
opacity: var(--overlay-opacity);
|
|
84
89
|
position: fixed;
|
|
85
90
|
inset: 0;
|
|
86
91
|
z-index: 4;
|
|
87
|
-
animation: ${
|
|
88
|
-
`,
|
|
92
|
+
animation: ${Qn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
93
|
+
`,to={small:"360px",medium:"540px",large:"960px"},Eh=P(gs)`
|
|
89
94
|
background: ${u.color_white};
|
|
90
95
|
padding: ${u.sizing_500};
|
|
91
|
-
width: ${e=>
|
|
96
|
+
width: ${e=>to[e.size??"medium"]};
|
|
92
97
|
max-width: 100vw;
|
|
93
98
|
max-height: 85vh;
|
|
94
99
|
overflow: auto;
|
|
@@ -100,8 +105,8 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
100
105
|
z-index: 5;
|
|
101
106
|
box-shadow: ${u.elevation_static_high};
|
|
102
107
|
border-radius: ${u.border_radius_400};
|
|
103
|
-
animation: ${
|
|
104
|
-
`;function
|
|
108
|
+
animation: ${eo} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
109
|
+
`;function Sh({children:e,size:t,...r}){return le(ms,{children:[T(wh,{}),T(Eh,{size:t,...r,children:e})]})}const Th=P(hs)`
|
|
105
110
|
font-family: ${u.font_family_sans};
|
|
106
111
|
font-style: normal;
|
|
107
112
|
font-weight: 500;
|
|
@@ -111,7 +116,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
111
116
|
margin: 0;
|
|
112
117
|
margin-bottom: ${u.spacing_200};
|
|
113
118
|
color: ${u.color_text_strong};
|
|
114
|
-
`,
|
|
119
|
+
`,kh=P(vs)`
|
|
115
120
|
font-family: ${u.font_family_sans};
|
|
116
121
|
font-style: normal;
|
|
117
122
|
font-weight: 400;
|
|
@@ -120,12 +125,12 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
120
125
|
margin: 0;
|
|
121
126
|
margin-top: ${u.sizing_200}; /* or flex parent and gap? */
|
|
122
127
|
margin-bottom: ${u.sizing_400};
|
|
123
|
-
`,
|
|
128
|
+
`,Ph=P.footer`
|
|
124
129
|
margin-top: ${u.spacing_400};
|
|
125
130
|
display: flex;
|
|
126
131
|
justify-content: end;
|
|
127
132
|
gap: ${u.sizing_200};
|
|
128
|
-
`,
|
|
133
|
+
`,Ch=P.button`
|
|
129
134
|
all: unset;
|
|
130
135
|
font-family: inherit;
|
|
131
136
|
height: 25px;
|
|
@@ -149,18 +154,18 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
149
154
|
0deg 0% 0% / 3%
|
|
150
155
|
); /* Figma says Interactive / Overlay / Secondary / Hover? but it's not this color */
|
|
151
156
|
}
|
|
152
|
-
`,
|
|
157
|
+
`,Dh=fs,Ih=ps,Oh=Jn,Ah=P(hh)`
|
|
153
158
|
--overlay-opacity: 0.6;
|
|
154
159
|
background-color: ${u.color_background_black_strong};
|
|
155
160
|
opacity: var(--overlay-opacity);
|
|
156
161
|
position: fixed;
|
|
157
162
|
inset: 0;
|
|
158
163
|
z-index: 4;
|
|
159
|
-
animation: ${
|
|
160
|
-
`,
|
|
164
|
+
animation: ${Qn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
165
|
+
`,Nh=P(vh)`
|
|
161
166
|
background: ${u.color_white};
|
|
162
167
|
padding: ${u.sizing_500};
|
|
163
|
-
width: ${e=>
|
|
168
|
+
width: ${e=>to[e.size??"medium"]};
|
|
164
169
|
max-width: 100vw;
|
|
165
170
|
max-height: 85vh;
|
|
166
171
|
overflow: auto;
|
|
@@ -172,8 +177,8 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
172
177
|
z-index: 5;
|
|
173
178
|
box-shadow: ${u.elevation_static_high};
|
|
174
179
|
border-radius: ${u.border_radius_400};
|
|
175
|
-
animation: ${
|
|
176
|
-
`;function
|
|
180
|
+
animation: ${eo} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
181
|
+
`;function zh({children:e,size:t,...r}){return le(gh,{children:[T(Ah,{}),T(Nh,{size:t,...r,children:e})]})}const Lh=P(_h)`
|
|
177
182
|
font-family: ${u.font_family_sans};
|
|
178
183
|
font-style: normal;
|
|
179
184
|
font-weight: 500;
|
|
@@ -183,7 +188,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
183
188
|
margin: 0;
|
|
184
189
|
margin-bottom: ${u.spacing_200};
|
|
185
190
|
color: ${u.color_text_strong};
|
|
186
|
-
`,
|
|
191
|
+
`,Mh=P(xh)`
|
|
187
192
|
font-family: ${u.font_family_sans};
|
|
188
193
|
font-style: normal;
|
|
189
194
|
font-weight: 400;
|
|
@@ -192,21 +197,21 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
192
197
|
margin: 0;
|
|
193
198
|
margin-top: ${u.sizing_200}; /* or flex parent and gap? */
|
|
194
199
|
margin-bottom: ${u.sizing_400};
|
|
195
|
-
`,
|
|
200
|
+
`,Fh=P.footer`
|
|
196
201
|
margin-top: ${u.sizing_400};
|
|
197
202
|
display: flex;
|
|
198
203
|
justify-content: end;
|
|
199
204
|
gap: ${u.sizing_200};
|
|
200
|
-
`,dh=jg,fh=Rg,ph=Wg,bh=Hg,Ar=l.forwardRef((e,t)=>l.createElement(Z.span,S({},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}}))),cs=Ar,mh=({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(cs,null,t))};function Xt({children:e,label:t}){return P(mh,{label:t,children:e})}function Dt(e){return e.split("-")[0]}function Nr(e){return e.split("-")[1]}function It(e){return["top","bottom"].includes(Dt(e))?"x":"y"}function to(e){return e==="y"?"height":"width"}function us(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=It(t),c=to(s),f=n[c]/2-o[c]/2,d=Dt(t),p=s==="x";let b;switch(d){case"top":b={x:a,y:n.y-o.height};break;case"bottom":b={x:a,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:i};break;case"left":b={x:n.x-o.width,y:i};break;default:b={x:n.x,y:n.y}}switch(Nr(t)){case"start":b[s]-=f*(r&&p?-1:1);break;case"end":b[s]+=f*(r&&p?-1:1);break}return b}const gh=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(h=>{let{name:g}=h;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:f,y:d}=us(c,n,s),p=n,b={},m=0;for(let h=0;h<a.length;h++){const{name:g,fn:v}=a[h],{x:$,y:_,data:w,reset:y}=await v({x:f,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:b,rects:c,platform:i,elements:{reference:e,floating:t}});if(f=$??f,d=_??d,b={...b,[g]:{...b[g],...w}},process.env.NODE_ENV!=="production"&&m>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&&m<=50){m++,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:f,y:d}=us(c,p,s)),h=-1;continue}}return{x:f,y:d,placement:p,strategy:o,middlewareData:b}};function hh(e){return{top:0,right:0,bottom:0,left:0,...e}}function ds(e){return typeof e!="number"?hh(e):{top:e,right:e,bottom:e,left:e}}function zr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Lr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:f="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:b=!1,padding:m=0}=t,h=ds(m),v=s[b?p==="floating"?"reference":"floating":p],$=zr(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:f,rootBoundary:d,strategy:c})),_=zr(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+h.top,bottom:_.bottom-$.bottom+h.bottom,left:$.left-_.left+h.left,right:_.right-$.right+h.right}}const vh=Math.min,yh=Math.max;function ro(e,t,r){return yh(e,vh(t,r))}const fs=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 f=ds(n),d={x:o,y:a},p=It(i),b=Nr(i),m=to(p),h=await c.getDimensions(r),g=p==="y"?"top":"left",v=p==="y"?"bottom":"right",$=s.reference[m]+s.reference[p]-d[p]-s.floating[m],_=d[p]-s.reference[p],w=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let y=w?p==="y"?w.clientHeight||0:w.clientWidth||0:0;y===0&&(y=s.floating[m]);const A=$/2-_/2,L=f[g],D=y-h[m]-f[v],z=y/2-h[m]/2+A,F=ro(L,z,D),G=(b==="start"?f[g]:f[v])>0&&z!==F&&s.reference[m]<=s.floating[m]?z<L?L-z:D-z:0;return{[p]:d[p]-G,data:{[p]:F,centerOffset:z-F}}}}),$h={left:"right",right:"left",bottom:"top",top:"bottom"};function Mr(e){return e.replace(/left|right|bottom|top/g,t=>$h[t])}function _h(e,t,r){r===void 0&&(r=!1);const n=Nr(e),o=It(e),a=to(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Mr(i)),{main:i,cross:Mr(i)}}const xh={start:"end",end:"start"};function ps(e){return e.replace(/start|end/g,t=>xh[t])}const wh=["top","right","bottom","left"];function Eh(e){const t=Mr(e);return[ps(e),t,ps(t)]}const Th=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:f=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:b="bestFit",flipAlignment:m=!0,...h}=e,g=Dt(n),$=p||(g===i||!m?[Mr(i)]:Eh(i)),_=[i,...$],w=await Lr(t,h),y=[];let A=((r=o.flip)==null?void 0:r.overflows)||[];if(f&&y.push(w[g]),d){const{main:F,cross:Y}=_h(n,a,await(s.isRTL==null?void 0:s.isRTL(c.floating)));y.push(w[F],w[Y])}if(A=[...A,{placement:n,overflows:y}],!y.every(F=>F<=0)){var L,D;const F=((L=(D=o.flip)==null?void 0:D.index)!=null?L:0)+1,Y=_[F];if(Y)return{data:{index:F,overflows:A},reset:{placement:Y}};let k="bottom";switch(b){case"bestFit":{var z;const G=(z=A.map(O=>[O,O.overflows.filter(T=>T>0).reduce((T,Q)=>T+Q,0)]).sort((O,T)=>O[1]-T[1])[0])==null?void 0:z[0].placement;G&&(k=G);break}case"initialPlacement":k=i;break}if(n!==k)return{reset:{placement:k}}}return{}}}};function bs(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ms(e){return wh.some(t=>e[t]>=0)}const Sh=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 Lr(n,{...r,elementContext:"reference"}),i=bs(a,o.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:ms(i)}}}case"escaped":{const a=await Lr(n,{...r,altBoundary:!0}),i=bs(a,o.floating);return{data:{escapedOffsets:i,escaped:ms(i)}}}default:return{}}}}};async function kh(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=Dt(r),s=Nr(r),c=It(r)==="x",f=["left","top"].includes(i)?-1:1,d=a&&c?-1:1,p=typeof t=="function"?t(e):t;let{mainAxis:b,crossAxis:m,alignmentAxis:h}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&typeof h=="number"&&(m=s==="end"?h*-1:h),c?{x:m*d,y:b*f}:{x:b*f,y:m*d}}const Ph=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await kh(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function gs(e){return e==="x"?"y":"x"}const Ch=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,f={x:r,y:n},d=await Lr(t,c),p=It(Dt(o)),b=gs(p);let m=f[p],h=f[b];if(a){const v=p==="y"?"top":"left",$=p==="y"?"bottom":"right",_=m+d[v],w=m-d[$];m=ro(_,m,w)}if(i){const v=b==="y"?"top":"left",$=b==="y"?"bottom":"right",_=h+d[v],w=h-d[$];h=ro(_,h,w)}const g=s.fn({...t,[p]:m,[b]:h});return{...g,data:{x:g.x-r,y:g.y-n}}}}},Dh=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:f=!0}=e,d={x:r,y:n},p=It(o),b=gs(p);let m=d[p],h=d[b];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",L=a.reference[p]-a.floating[A]+v.mainAxis,D=a.reference[p]+a.reference[A]-v.mainAxis;m<L?m=L:m>D&&(m=D)}if(f){var $,_,w,y;const A=p==="y"?"width":"height",L=["top","left"].includes(Dt(o)),D=a.reference[b]-a.floating[A]+(L&&($=(_=i.offset)==null?void 0:_[b])!=null?$:0)+(L?0:v.crossAxis),z=a.reference[b]+a.reference[A]+(L?0:(w=(y=i.offset)==null?void 0:y[b])!=null?w:0)-(L?v.crossAxis:0);h<D?h=D:h>z&&(h=z)}return{[p]:m,[b]:h}}}};function hs(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Ge(e){if(e==null)return window;if(!hs(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Zt(e){return Ge(e).getComputedStyle(e)}function qe(e){return hs(e)?"":e?(e.nodeName||"").toLowerCase():""}function vs(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Fe(e){return e instanceof Ge(e).HTMLElement}function et(e){return e instanceof Ge(e).Element}function Ih(e){return e instanceof Ge(e).Node}function no(e){if(typeof ShadowRoot>"u")return!1;const t=Ge(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Fr(e){const{overflow:t,overflowX:r,overflowY:n}=Zt(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function Oh(e){return["table","td","th"].includes(qe(e))}function ys(e){const t=/firefox/i.test(vs()),r=Zt(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 $s(){return!/^((?!chrome|android).)*safari/i.test(vs())}const _s=Math.min,Jt=Math.max,Vr=Math.round;function Ye(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,f=1;t&&Fe(e)&&(c=e.offsetWidth>0&&Vr(s.width)/e.offsetWidth||1,f=e.offsetHeight>0&&Vr(s.height)/e.offsetHeight||1);const d=et(e)?Ge(e):window,p=!$s()&&r,b=(s.left+(p&&(n=(o=d.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,m=(s.top+(p&&(a=(i=d.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/f,h=s.width/c,g=s.height/f;return{width:h,height:g,top:m,right:b+h,bottom:m+g,left:b,x:b,y:m}}function tt(e){return((Ih(e)?e.ownerDocument:e.document)||window.document).documentElement}function jr(e){return et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function xs(e){return Ye(tt(e)).left+jr(e).scrollLeft}function Ah(e){const t=Ye(e);return Vr(t.width)!==e.offsetWidth||Vr(t.height)!==e.offsetHeight}function Nh(e,t,r){const n=Fe(t),o=tt(t),a=Ye(e,n&&Ah(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((qe(t)!=="body"||Fr(o))&&(i=jr(t)),Fe(t)){const c=Ye(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=xs(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function ws(e){return qe(e)==="html"?e:e.assignedSlot||e.parentNode||(no(e)?e.host:null)||tt(e)}function Es(e){return!Fe(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function zh(e){let t=ws(e);for(no(t)&&(t=t.host);Fe(t)&&!["html","body"].includes(qe(t));){if(ys(t))return t;t=t.parentNode}return null}function oo(e){const t=Ge(e);let r=Es(e);for(;r&&Oh(r)&&getComputedStyle(r).position==="static";)r=Es(r);return r&&(qe(r)==="html"||qe(r)==="body"&&getComputedStyle(r).position==="static"&&!ys(r))?t:r||zh(e)||t}function Ts(e){if(Fe(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ye(e);return{width:t.width,height:t.height}}function Lh(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Fe(r),a=tt(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((qe(r)!=="body"||Fr(a))&&(i=jr(r)),Fe(r))){const c=Ye(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 Mh(e,t){const r=Ge(e),n=tt(e),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,s=0,c=0;if(o){a=o.width,i=o.height;const f=$s();(f||!f&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:a,height:i,x:s,y:c}}function Fh(e){var t;const r=tt(e),n=jr(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Jt(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Jt(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-n.scrollLeft+xs(e);const c=-n.scrollTop;return Zt(o||r).direction==="rtl"&&(s+=Jt(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:c}}function Ss(e){const t=ws(e);return["html","body","#document"].includes(qe(t))?e.ownerDocument.body:Fe(t)&&Fr(t)?t:Ss(t)}function Rr(e,t){var r;t===void 0&&(t=[]);const n=Ss(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Ge(n),i=o?[a].concat(a.visualViewport||[],Fr(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(Rr(i))}function Vh(e,t){const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&no(r)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function jh(e,t){const r=Ye(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 ks(e,t,r){return t==="viewport"?zr(Mh(e,r)):et(t)?jh(t,r):zr(Fh(tt(e)))}function Rh(e){const t=Rr(e),n=["absolute","fixed"].includes(Zt(e).position)&&Fe(e)?oo(e):e;return et(n)?t.filter(o=>et(o)&&Vh(o,n)&&qe(o)!=="body"):[]}function Kh(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?Rh(t):[].concat(r),n],s=i[0],c=i.reduce((f,d)=>{const p=ks(t,d,o);return f.top=Jt(p.top,f.top),f.right=_s(p.right,f.right),f.bottom=_s(p.bottom,f.bottom),f.left=Jt(p.left,f.left),f},ks(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}const Bh={getClippingRect:Kh,convertOffsetParentRelativeRectToViewportRelativeRect:Lh,isElement:et,getDimensions:Ts,getOffsetParent:oo,getDocumentElement:tt,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:Nh(t,oo(r),n),floating:{...Ts(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Zt(e).direction==="rtl"};function Uh(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,f=a&&!s,d=c||f?[...et(e)?Rr(e):[],...Rr(t)]:[];d.forEach(g=>{c&&g.addEventListener("scroll",r,{passive:!0}),f&&g.addEventListener("resize",r)});let p=null;if(i){let g=!0;p=new ResizeObserver(()=>{g||r(),g=!1}),et(e)&&!s&&p.observe(e),p.observe(t)}let b,m=s?Ye(e):null;s&&h();function h(){const g=Ye(e);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&r(),m=g,b=requestAnimationFrame(h)}return r(),()=>{var g;d.forEach(v=>{c&&v.removeEventListener("scroll",r),f&&v.removeEventListener("resize",r)}),(g=p)==null||g.disconnect(),p=null,s&&cancelAnimationFrame(b)}}const Wh=(e,t,r)=>gh(e,t,{platform:Bh,...r});var ao=typeof document<"u"?l.useLayoutEffect:l.useEffect;function io(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(!io(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)&&!io(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Hh(e){const t=B.useRef(e);return ao(()=>{t.current=e}),t}function Gh(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const a=B.useRef(null),i=B.useRef(null),s=Hh(o),c=B.useRef(null),[f,d]=B.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,b]=B.useState(t);io(p==null?void 0:p.map(w=>{let{options:y}=w;return y}),t==null?void 0:t.map(w=>{let{options:y}=w;return y}))||b(t);const m=B.useCallback(()=>{!a.current||!i.current||Wh(a.current,i.current,{middleware:p,placement:r,strategy:n}).then(w=>{h.current&&_i.flushSync(()=>{d(w)})})},[p,r,n]);ao(()=>{h.current&&m()},[m]);const h=B.useRef(!1);ao(()=>(h.current=!0,()=>{h.current=!1}),[]);const g=B.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),a.current&&i.current)if(s.current){const w=s.current(a.current,i.current,m);c.current=w}else m()},[m,s]),v=B.useCallback(w=>{a.current=w,g()},[g]),$=B.useCallback(w=>{i.current=w,g()},[g]),_=B.useMemo(()=>({reference:a,floating:i}),[]);return B.useMemo(()=>({...f,update:m,refs:_,reference:v,floating:$}),[f,m,_,v,$])}const qh=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?fs({element:t.current,padding:r}).fn(o):{}:t?fs({element:t,padding:r}).fn(o):{}}}},Yh=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(Z.svg,S({},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 Kr(e){const[t,r]=l.useState(void 0);return xe(()=>{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,f=Array.isArray(c)?c[0]:c;i=f.inlineSize,s=f.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 Ps="Popper",[so,Br]=we(Ps),[Xh,Cs]=so(Ps),Zh=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(Xh,{scope:t,anchor:n,onAnchorChange:o},r)},Jh="PopperAnchor",Qh=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Cs(Jh,r),i=l.useRef(null),s=le(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(Z.div,S({},o,{ref:s}))}),Ur="PopperContent",[ev,tv]=so(Ur),[rv,nv]=so(Ur,{hasParent:!1,positionUpdateFns:new Set}),ov=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,f;const{__scopePopper:d,side:p="bottom",sideOffset:b=0,align:m="center",alignOffset:h=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:_="partial",hideWhenDetached:w=!1,avoidCollisions:y=!0,...A}=e,L=Cs(Ur,d),[D,z]=l.useState(null),F=le(t,ze=>z(ze)),[Y,k]=l.useState(null),G=Kr(Y),O=(r=G==null?void 0:G.width)!==null&&r!==void 0?r:0,T=(n=G==null?void 0:G.height)!==null&&n!==void 0?n:0,Q=p+(m!=="center"?"-"+m:""),ee=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},de=Array.isArray(v)?v:[v],ge=de.length>0,te={padding:ee,boundary:de.filter(cv),altBoundary:ge},{reference:E,floating:N,strategy:K,x:j,y:R,placement:H,middlewareData:q,update:X}=Gh({strategy:"fixed",placement:Q,whileElementsMounted:Uh,middleware:[Ph({mainAxis:b+T,alignmentAxis:h}),y?Ch({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?Dh():void 0,...te}):void 0,Y?qh({element:Y,padding:g}):void 0,y?Th({...te}):void 0,uv({arrowWidth:O,arrowHeight:T}),w?Sh({strategy:"referenceHidden"}):void 0].filter(lv)});xe(()=>{E(L.anchor)},[E,L.anchor]);const J=j!==null&&R!==null,[ae,ne]=Ds(H),ve=(o=q.arrow)===null||o===void 0?void 0:o.x,he=(a=q.arrow)===null||a===void 0?void 0:a.y,Te=((i=q.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Re,Ie]=l.useState();xe(()=>{D&&Ie(window.getComputedStyle(D).zIndex)},[D]);const{hasParent:Ke,positionUpdateFns:ye}=nv(Ur,d),$e=!Ke;l.useLayoutEffect(()=>{if(!$e)return ye.add(X),()=>{ye.delete(X)}},[$e,ye,X]),l.useLayoutEffect(()=>{$e&&J&&Array.from(ye).reverse().forEach(ze=>requestAnimationFrame(ze))},[$e,J,ye]);const Ne={"data-side":ae,"data-align":ne,...A,ref:F,style:{...A.style,animation:J?void 0:"none",opacity:(s=q.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:N,"data-radix-popper-content-wrapper":"",style:{position:K,left:0,top:0,transform:J?`translate3d(${Math.round(j)}px, ${Math.round(R)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Re,["--radix-popper-transform-origin"]:[(c=q.transformOrigin)===null||c===void 0?void 0:c.x,(f=q.transformOrigin)===null||f===void 0?void 0:f.y].join(" ")}},l.createElement(ev,{scope:d,placedSide:ae,onArrowChange:k,arrowX:ve,arrowY:he,shouldHideArrow:Te},$e?l.createElement(rv,{scope:d,hasParent:!0,positionUpdateFns:ye},l.createElement(Z.div,Ne)):l.createElement(Z.div,Ne)))}),av="PopperArrow",iv={top:"bottom",right:"left",bottom:"top",left:"right"},sv=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=tv(av,n),i=iv[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(Yh,S({},o,{ref:r,style:{...o.style,display:"block"}})))});function lv(e){return e!==void 0}function cv(e){return e!==null}const uv=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:f}=t,p=((r=f.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,b=p?0:e.arrowWidth,m=p?0:e.arrowHeight,[h,g]=Ds(s),v={start:"0%",center:"50%",end:"100%"}[g],$=((n=(o=f.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+b/2,_=((a=(i=f.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",y="";return h==="bottom"?(w=p?v:`${$}px`,y=`${-m}px`):h==="top"?(w=p?v:`${$}px`,y=`${c.floating.height+m}px`):h==="right"?(w=`${-m}px`,y=p?v:`${_}px`):h==="left"&&(w=`${c.floating.width+m}px`,y=p?v:`${_}px`),{data:{x:w,y}}}});function Ds(e){const[t,r="center"]=e.split("-");return[t,r]}const Is=Zh,Os=Qh,As=ov,Ns=sv,zs="Popover",[Ls,wS]=we(zs,[Br]),Wr=Br(),[dv,ht]=Ls(zs),Ms=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=Wr(t),c=l.useRef(null),[f,d]=l.useState(!1),[p=!1,b]=Oe({prop:n,defaultProp:o,onChange:a});return l.createElement(Is,s,l.createElement(dv,{scope:t,contentId:Le(),triggerRef:c,open:p,onOpenChange:b,onOpenToggle:l.useCallback(()=>b(m=>!m),[b]),hasCustomAnchor:f,onCustomAnchorAdd:l.useCallback(()=>d(!0),[]),onCustomAnchorRemove:l.useCallback(()=>d(!1),[]),modal:i},r))},fv="PopoverTrigger",Fs=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(fv,r),a=Wr(r),i=le(t,o.triggerRef),s=l.createElement(Z.button,S({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ks(o.open)},n,{ref:i,onClick:W(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(Os,S({asChild:!0},a),s)}),Vs="PopoverPortal",[pv,bv]=Ls(Vs,{forceMount:void 0}),mv=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=ht(Vs,t);return l.createElement(pv,{scope:t,forceMount:r},l.createElement(Ce,{present:r||a.open},l.createElement(Yt,{asChild:!0,container:o},n)))},Qt="PopoverContent",js=l.forwardRef((e,t)=>{const r=bv(Qt,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=ht(Qt,e.__scopePopover);return l.createElement(Ce,{present:n||a.open},a.modal?l.createElement(gv,S({},o,{ref:t})):l.createElement(hv,S({},o,{ref:t})))}),gv=l.forwardRef((e,t)=>{const r=ht(Qt,e.__scopePopover),n=l.useRef(null),o=le(t,n),a=l.useRef(!1);return l.useEffect(()=>{const i=n.current;if(i)return qn(i)},[]),l.createElement(Hn,{as:mt,allowPinchZoom:!0},l.createElement(Rs,S({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:W(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:W(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,f=s.button===2||c;a.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:W(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),hv=l.forwardRef((e,t)=>{const r=ht(Qt,e.__scopePopover),n=l.useRef(!1);return l.createElement(Rs,S({},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()}}))}),Rs=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:d,...p}=e,b=ht(Qt,r),m=Wr(r);return Kn(),l.createElement(jn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(qt,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:f,onDismiss:()=>b.onOpenChange(!1)},l.createElement(As,S({"data-state":Ks(b.open),role:"dialog",id:b.contentId},m,p,{ref:t,style:{...p.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),vv="PopoverClose",yv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(vv,r);return l.createElement(Z.button,S({type:"button"},n,{ref:t,onClick:W(e.onClick,()=>o.onOpenChange(!1))}))}),$v=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Wr(r);return l.createElement(Ns,S({},o,n,{ref:t}))});function Ks(e){return e?"open":"closed"}const _v=Ms,xv=Fs,wv=mv,Ev=js,Bs=yv,Tv=$v;function Us(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 f=l.useCallback((d,...p)=>{let b=(m,...h)=>{r&&(Object.is(c.current,m)||r(m,...h)),s||(c.current=m)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((h,...g)=>{let v=d(s?c.current:h,...g);return b(v,...p),s?h:v})):(s||o(d),b(d,...p))},[s,r]);return s?c.current=e:e=n,[e,f]}function Sv(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function vt(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 f=Math.pow(10,c);a=Math.round(a*f)/f}return a}const lo={prefix:String(Math.round(Math.random()*1e10)),current:0},Ws=l.createContext(lo);let kv=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function Pv(e){let t=l.useContext(Ws);return t===lo&&!kv&&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 Cv(){let t=l.useContext(Ws)!==lo,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function Hs(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=Hs(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Gs(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Hs(e))&&(n&&(n+=" "),n+=t);return n}const rt=typeof window<"u"?l.useLayoutEffect:()=>{};function Dv(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)},rt(()=>{o.current&&a.current()});let i=l.useCallback(s=>{o.current=s(n.current),a.current()},[o,a]);return[t,i]}let Hr=new Map;function yt(e){let[t,r]=l.useState(e),n=l.useRef(null),o=Pv(t),a=l.useCallback(i=>{n.current=i},[]);return Hr.set(o,a),rt(()=>{let i=o;return()=>{Hr.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function Iv(e,t){if(e===t)return e;let r=Hr.get(e);if(r)return r(t),t;let n=Hr.get(t);return n?(n(e),e):t}function qs(e=[]){let t=yt(),[r,n]=Dv(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return rt(o,[t,o,...e]),r}function Ys(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function Ee(...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]=Ys(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Gs(a,i):o==="id"&&a&&i?t.id=Iv(a,i):t[o]=i!==void 0?i:a}}return t}const Ov=new Set(["id"]),Av=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Nv=/^(data-.*)$/;function er(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(Ov.has(a)||r&&Av.has(a)||n!=null&&n.has(a)||Nv.test(a))&&(o[a]=e[a]);return o}function Ot(e){if(zv())e.focus({preventScroll:!0});else{let t=Lv(e);e.focus(),Mv(t)}}let Gr=null;function zv(){if(Gr==null){Gr=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Gr=!0,!0}})}catch{}}return Gr}function Lv(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 Mv(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let At=new Map,co=new Set;function Xs(){if(typeof window>"u")return;let e=r=>{let n=At.get(r.target);n||(n=new Set,At.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=At.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),At.delete(r.target)),At.size===0)){for(let o of co)o();co.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Xs():document.addEventListener("DOMContentLoaded",Xs));function Zs(e){requestAnimationFrame(()=>{At.size===0?e():co.add(e)})}function Js(){let e=l.useRef(new Map),t=l.useCallback((o,a,i,s)=>{let c=s!=null&&s.once?(...f)=>{e.current.delete(i),i(...f)}: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 f=((c=e.current.get(i))===null||c===void 0?void 0:c.fn)||i;o.removeEventListener(a,f,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 Fv(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=yt(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 nt(e){const t=l.useRef();return rt(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function Qs(e,t){rt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}let Vv=0;const uo=new Map;function jv(e){let[t,r]=l.useState(void 0);return rt(()=>{if(!e)return;let n=uo.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${Vv++}`;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},uo.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),uo.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Rv(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 fo(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 po(){return fo(/^Mac/i)}function el(){return fo(/^iPhone/i)}function tl(){return fo(/^iPad/i)||po()&&navigator.maxTouchPoints>1}function bo(){return el()||tl()}function rl(){return Rv(/Android/i)}function Kv(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 mo(e){return e.mozInputSource===0&&e.isTrusted?!0:rl()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Bv(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Nt="default",ho="",qr=new WeakMap;function nl(e){bo()?(Nt==="default"&&(ho=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),Nt="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(qr.set(e,e.style.userSelect),e.style.userSelect="none")}function Yr(e){if(bo()){if(Nt!=="disabled")return;Nt="restoring",setTimeout(()=>{Zs(()=>{Nt==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=ho||""),ho="",Nt="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&qr.has(e)){let t=qr.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),qr.delete(e)}}const ol=l.createContext(null);ol.displayName="PressResponderContext";function Uv(e){let t=l.useContext(ol);if(t){let{register:r,...n}=t;e=Ee(n,e),r()}return Qs(t,e.ref),e}function vo(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:f,allowTextSelectionOnPress:d,ref:p,...b}=Uv(e),m=l.useRef(null);m.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,shouldCancelOnPointerExit:f};let[h,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:_}=Js(),w=l.useMemo(()=>{let y=v.current,A=(k,G)=>{let{onPressStart:O,onPressChange:T,isDisabled:Q}=m.current;Q||y.didFirePressStart||(O&&O({type:"pressstart",pointerType:G,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),T&&T(!0),y.didFirePressStart=!0,g(!0))},L=(k,G,O=!0)=>{let{onPressEnd:T,onPressChange:Q,onPress:ee,isDisabled:de}=m.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,T&&T({type:"pressend",pointerType:G,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),Q&&Q(!1),g(!1),ee&&O&&!de&&ee({type:"press",pointerType:G,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}))},D=(k,G)=>{let{onPressUp:O,isDisabled:T}=m.current;T||O&&O({type:"pressup",pointerType:G,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey})},z=k=>{y.isPressed&&(y.isOverTarget&&L(Xe(y.target,k),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,_(),d||Yr(y.target))},F={onKeyDown(k){$o(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)?(il(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),!y.isPressed&&!k.repeat&&(y.target=k.currentTarget,y.isPressed=!0,A(k,"keyboard"),$(document,"keyup",Y,!1))):k.key==="Enter"&&yo(k.currentTarget)&&k.stopPropagation()},onKeyUp(k){$o(k.nativeEvent,k.currentTarget)&&!k.repeat&&k.currentTarget.contains(k.target)&&D(Xe(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"||mo(k.nativeEvent))&&(!i&&!c&&Ot(k.currentTarget),A(k,"virtual"),D(k,"virtual"),L(k,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},Y=k=>{if(y.isPressed&&$o(k,y.target)){il(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),y.isPressed=!1;let G=k.target;L(Xe(y.target,k),"keyboard",y.target.contains(G)),_(),y.target instanceof HTMLElement&&y.target.contains(G)&&(yo(y.target)||y.target.getAttribute("role")==="link")&&y.target.click()}};if(typeof PointerEvent<"u"){F.onPointerDown=T=>{if(!(T.button!==0||!T.currentTarget.contains(T.target))){if(Bv(T.nativeEvent)){y.pointerType="virtual";return}_o(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&&Ot(T.currentTarget),d||nl(y.target),A(T,y.pointerType),$(document,"pointermove",k,!1),$(document,"pointerup",G,!1),$(document,"pointercancel",O,!1))}},F.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(_o(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},F.onPointerUp=T=>{!T.currentTarget.contains(T.target)||y.pointerType==="virtual"||T.button===0&&zt(T,T.currentTarget)&&D(T,y.pointerType||T.pointerType)};let k=T=>{T.pointerId===y.activePointerId&&(zt(T,y.target)?y.isOverTarget||(y.isOverTarget=!0,A(Xe(y.target,T),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,L(Xe(y.target,T),y.pointerType,!1),m.current.shouldCancelOnPointerExit&&z(T)))},G=T=>{T.pointerId===y.activePointerId&&y.isPressed&&T.button===0&&(zt(T,y.target)?L(Xe(y.target,T),y.pointerType):y.isOverTarget&&L(Xe(y.target,T),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,_(),d||Yr(y.target))},O=T=>{z(T)};F.onDragStart=T=>{T.currentTarget.contains(T.target)&&z(T)}}else{F.onMouseDown=O=>{O.button!==0||!O.currentTarget.contains(O.target)||(_o(O.currentTarget)&&O.preventDefault(),O.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=O.currentTarget,y.pointerType=mo(O.nativeEvent)?"virtual":"mouse",!i&&!c&&Ot(O.currentTarget),A(O,y.pointerType),$(document,"mouseup",k,!1)))},F.onMouseEnter=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!0,A(O,y.pointerType)))},F.onMouseLeave=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!1,L(O,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&z(O)))},F.onMouseUp=O=>{O.currentTarget.contains(O.target)&&!y.ignoreEmulatedMouseEvents&&O.button===0&&D(O,y.pointerType)};let k=O=>{if(O.button===0){if(y.isPressed=!1,_(),y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}zt(O,y.target)?L(Xe(y.target,O),y.pointerType):y.isOverTarget&&L(Xe(y.target,O),y.pointerType,!1),y.isOverTarget=!1}};F.onTouchStart=O=>{if(!O.currentTarget.contains(O.target))return;O.stopPropagation();let T=Wv(O.nativeEvent);T&&(y.activePointerId=T.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=O.currentTarget,y.pointerType="touch",!i&&!c&&Ot(O.currentTarget),d||nl(y.target),A(O,y.pointerType),$(window,"scroll",G,!0))},F.onTouchMove=O=>{if(!O.currentTarget.contains(O.target)||(O.stopPropagation(),!y.isPressed))return;let T=al(O.nativeEvent,y.activePointerId);T&&zt(T,O.currentTarget)?y.isOverTarget||(y.isOverTarget=!0,A(O,y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,L(O,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&z(O))},F.onTouchEnd=O=>{if(!O.currentTarget.contains(O.target)||(O.stopPropagation(),!y.isPressed))return;let T=al(O.nativeEvent,y.activePointerId);T&&zt(T,O.currentTarget)?(D(O,y.pointerType),L(O,y.pointerType)):y.isOverTarget&&L(O,y.pointerType,!1),y.isPressed=!1,y.activePointerId=null,y.isOverTarget=!1,y.ignoreEmulatedMouseEvents=!0,d||Yr(y.target),_()},F.onTouchCancel=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),y.isPressed&&z(O))};let G=O=>{y.isPressed&&O.target.contains(y.target)&&z({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=O=>{O.currentTarget.contains(O.target)&&z(O)}}return F},[$,i,c,_,d]);return l.useEffect(()=>()=>{d||Yr(v.current.target)},[d]),{isPressed:s||h,pressProps:Ee(b,w)}}function yo(e){return e.tagName==="A"&&e.hasAttribute("href")}function $o(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&&!sl(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!yo(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function Wv(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function al(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 Xe(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function Hv(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 Gv(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function zt(e,t){let r=t.getBoundingClientRect(),n=Hv(e);return Gv(r,n)}function _o(e){return!(e instanceof HTMLElement)||!e.draggable}function il(e,t){return e instanceof HTMLInputElement?!sl(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const qv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function sl(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":qv.has(e.type)}class Yv{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 ll(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,rt(()=>{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 Yv("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 xo(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=ll(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 ot=null,tr=new Set,cl=!1,$t=!1,wo=!1;const Xv={Tab:!0,Escape:!0};function Eo(e,t){for(let r of tr)r(e,t)}function Zv(e){return!(e.metaKey||!po()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function ul(e){$t=!0,Zv(e)&&(ot="keyboard",Eo("keyboard",e))}function Lt(e){ot="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&($t=!0,Eo("pointer",e))}function Jv(e){mo(e)&&($t=!0,ot="virtual")}function Qv(e){e.target===window||e.target===document||(!$t&&!wo&&(ot="virtual",Eo("virtual",e)),$t=!1,wo=!1)}function e0(){$t=!1,wo=!0}function Xr(){if(typeof window>"u"||cl)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){$t=!0,e.apply(this,arguments)},document.addEventListener("keydown",ul,!0),document.addEventListener("keyup",ul,!0),document.addEventListener("click",Jv,!0),window.addEventListener("focus",Qv,!0),window.addEventListener("blur",e0,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Lt,!0),document.addEventListener("pointermove",Lt,!0),document.addEventListener("pointerup",Lt,!0)):(document.addEventListener("mousedown",Lt,!0),document.addEventListener("mousemove",Lt,!0),document.addEventListener("mouseup",Lt,!0)),cl=!0}typeof document<"u"&&(document.readyState!=="loading"?Xr():document.addEventListener("DOMContentLoaded",Xr));function dl(){return ot!=="pointer"}function t0(){return ot}function r0(){Xr();let[e,t]=l.useState(ot);return l.useEffect(()=>{let r=()=>{t(ot)};return tr.add(r),()=>{tr.delete(r)}},[]),e}function n0(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!Xv[r.key])}function o0(e,t,r){Xr(),l.useEffect(()=>{let n=(o,a)=>{n0(r==null?void 0:r.isTextInput,o,a)&&e(dl())};return tr.add(n),()=>{tr.delete(n)}},t)}function fl(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=l.useRef({isFocusWithin:!1}),i=l.useCallback(f=>{a.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(f),o&&o(!1))},[r,o,a]),s=ll(i),c=l.useCallback(f=>{a.current.isFocusWithin||(n&&n(f),o&&o(!0),a.current.isFocusWithin=!0,s(f))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:i}}}function pl(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 a0(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:pl(e.onKeyDown),onKeyUp:pl(e.onKeyUp)}}}function i0(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]);Kv(t,"wheel",n?null:o)}function s0(e){if(t0()==="virtual"){let t=document.activeElement;Zs(()=>{document.activeElement===t&&document.contains(e)&&Ot(e)})}else Ot(e)}function l0(e,t){return t.some(r=>r.contains(e))}class To{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 bl({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&&l0(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 To;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){go(this,"fastMap",new Map),this.root=new bl({scopeRef:null}),this.fastMap.set(null,this.root)}}class bl{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){go(this,"children",[]),go(this,"contain",!1),this.scopeRef=t.scopeRef}}new To;function Zr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||dl()}),[a,i]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),f=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),d=l.useCallback(m=>{o.current.isFocused=m,i(m),f()},[f]);o0(m=>{o.current.isFocusVisible=m,f()},[],{isTextInput:r});let{focusProps:p}=xo({isDisabled:n,onFocusChange:d}),{focusWithinProps:b}=fl({isDisabled:!n,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?b:p}}let c0=l.createContext(null);function u0(e){let t=l.useContext(c0)||{};Qs(t,e);let{ref:r,...n}=t;return n}function So(e,t){let{focusProps:r}=xo(e),{keyboardProps:n}=a0(e),o=Ee(r,n),a=u0(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&s0(t.current),s.current=!1},[t]),{focusableProps:Ee({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function d0(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...c}=e,f;r!=="a"&&(f={role:"link",tabIndex:s?void 0:0});let{focusableProps:d}=So(e,t),{pressProps:p,isPressed:b}=vo({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),m=er(c,{labelable:!0}),h=Ee(d,p);return{isPressed:b,linkProps:Ee(m,{...h,...f,"aria-disabled":s||void 0,onClick:g=>{p.onClick(g),i&&(i(g),console.warn("onClick is deprecated, please use onPress"))}})}}class f0{getStringForLocale(t,r){let n=this.strings[r];n||(n=p0(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 p0(e,t,r="en-US"){if(t[e])return t[e];let n=b0(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function b0(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const ml=new Map,gl=new Map;class m0{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=ml.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),ml.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=gl.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),gl.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}}let ko=new Map,Po=!1;try{Po=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Jr=!1;try{Jr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const hl={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Co{format(t){let r="";if(!Po&&this.options.signDisplay!=null?r=h0(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Jr){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=hl[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!Po&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Jr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=g0(t,r),this.options=r}}function g0(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!Jr){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=hl[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(ko.has(o))return ko.get(o);let a=new Intl.NumberFormat(e,t);return ko.set(o,a),a}function h0(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 v0=new RegExp("^.*\\(.*\\).*$"),y0=["latn","arab","hanidec"];class $0{parse(t){return Do(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return Do(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return Do(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const vl=new Map;function Do(e,t,r){let n=yl(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of y0)if(o!==n.options.numberingSystem){let a=yl(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function yl(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=vl.get(r);return n||(n=new _0(e,t),vl.set(r,n)),n}class _0{parse(t){let r=this.sanitize(t);r=Qr(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"&&v0.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=Qr(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=Qr(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=Qr(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=x0(this.formatter,this.options,r)}}const $l=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function x0(e,t,r){var n,o,a,i;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),f=e.formatToParts(1);var d;let p=(d=(n=s.find(D=>D.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&d!==void 0?d:"-",b=(o=c.find(D=>D.type==="plusSign"))===null||o===void 0?void 0:o.value;!b&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(b="+");let m=(a=s.find(D=>D.type==="decimal"))===null||a===void 0?void 0:a.value,h=(i=s.find(D=>D.type==="group"))===null||i===void 0?void 0:i.value,g=s.filter(D=>!$l.has(D.type)).map(D=>_l(D.value)),v=f.filter(D=>!$l.has(D.type)).map(D=>_l(D.value)),$=[...new Set([...v,...g])].sort((D,z)=>z.length-D.length),_=$.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${$.join("|")}|[\\p{White_Space}]`,"gu"),w=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),y=new Map(w.map((D,z)=>[D,z])),A=new RegExp(`[${w.join("")}]`,"g");return{minusSign:p,plusSign:b,decimal:m,group:h,literals:_,numeral:A,index:D=>String(y.get(D))}}function Qr(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function _l(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const w0=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),E0=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function T0(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return w0.has(r)}let t=e.split("-")[0];return E0.has(t)}function xl(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:T0(e)?"rtl":"ltr"}}let Io=xl(),rr=new Set;function wl(){Io=xl();for(let e of rr)e(Io)}function S0(){let e=Cv(),[t,r]=l.useState(Io);return l.useEffect(()=>(rr.size===0&&window.addEventListener("languagechange",wl),rr.add(r),()=>{rr.delete(r),rr.size===0&&window.removeEventListener("languagechange",wl)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const k0=l.createContext(null);function El(){let e=S0();return l.useContext(k0)||e}const Tl=new WeakMap;function P0(e){let t=Tl.get(e);return t||(t=new f0(e),Tl.set(e,t)),t}function nr(e){let{locale:t}=El(),r=l.useMemo(()=>P0(e),[e]);return l.useMemo(()=>new m0(t,r),[t,r])}function C0(e={}){let{locale:t}=El();return l.useMemo(()=>new Co(t,e),[t,e])}function D0(e){return e&&e.__esModule?e.default:e}function I0(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=d0({isDisabled:n||r,elementType:a,...i},t),c=/^h[1-6]$/.test(a),f={};return c||(f=s),r&&(f["aria-current"]=o||"page",f.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...f}}}var Sl={},kl={};kl={breadcrumbs:"عناصر الواجهة"};var Pl={};Pl={breadcrumbs:"Трохи хляб"};var Cl={};Cl={breadcrumbs:"Popis cesty"};var Dl={};Dl={breadcrumbs:"Brødkrummer"};var Il={};Il={breadcrumbs:"Breadcrumbs"};var Ol={};Ol={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Al={};Al={breadcrumbs:"Breadcrumbs"};var Nl={};Nl={breadcrumbs:"Migas de pan"};var zl={};zl={breadcrumbs:"Lingiread"};var Ll={};Ll={breadcrumbs:"Navigointilinkit"};var Ml={};Ml={breadcrumbs:"Chemin de navigation"};var Fl={};Fl={breadcrumbs:"שבילי ניווט"};var Vl={};Vl={breadcrumbs:"Navigacijski putovi"};var jl={};jl={breadcrumbs:"Morzsamenü"};var Rl={};Rl={breadcrumbs:"Breadcrumb"};var Kl={};Kl={breadcrumbs:"パンくずリスト"};var Bl={};Bl={breadcrumbs:"탐색 표시"};var Ul={};Ul={breadcrumbs:"Naršymo kelias"};var Wl={};Wl={breadcrumbs:"Atpakaļceļi"};var Hl={};Hl={breadcrumbs:"Navigasjonsstier"};var Gl={};Gl={breadcrumbs:"Broodkruimels"};var ql={};ql={breadcrumbs:"Struktura nawigacyjna"};var Yl={};Yl={breadcrumbs:"Caminho detalhado"};var Xl={};Xl={breadcrumbs:"Categorias"};var Zl={};Zl={breadcrumbs:"Miez de pâine"};var Jl={};Jl={breadcrumbs:"Навигация"};var Ql={};Ql={breadcrumbs:"Navigačné prvky Breadcrumbs"};var ec={};ec={breadcrumbs:"Drobtine"};var tc={};tc={breadcrumbs:"Putanje navigacije"};var rc={};rc={breadcrumbs:"Sökvägar"};var nc={};nc={breadcrumbs:"İçerik haritaları"};var oc={};oc={breadcrumbs:"Навігаційна стежка"};var ac={};ac={breadcrumbs:"导航栏"};var ic={};ic={breadcrumbs:"導覽列"},Sl={"ar-AE":kl,"bg-BG":Pl,"cs-CZ":Cl,"da-DK":Dl,"de-DE":Il,"el-GR":Ol,"en-US":Al,"es-ES":Nl,"et-EE":zl,"fi-FI":Ll,"fr-FR":Ml,"he-IL":Fl,"hr-HR":Vl,"hu-HU":jl,"it-IT":Rl,"ja-JP":Kl,"ko-KR":Bl,"lt-LT":Ul,"lv-LV":Wl,"nb-NO":Hl,"nl-NL":Gl,"pl-PL":ql,"pt-BR":Yl,"pt-PT":Xl,"ro-RO":Zl,"ru-RU":Jl,"sk-SK":Ql,"sl-SI":ec,"sr-SP":tc,"sv-SE":rc,"tr-TR":nc,"uk-UA":oc,"zh-CN":ac,"zh-TW":ic};function O0(e){let{"aria-label":t,...r}=e,n=nr(D0(Sl));return{navProps:{...er(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const A0=C(Ev)`
|
|
205
|
+
`,jh=mh,Vh=bh,Rh=yh,Kh=$h,Mr=l.forwardRef((e,t)=>l.createElement(re.span,E({},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}}))),$s=Mr,Bh=({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($s,null,t))};function tr({children:e,label:t}){return T(Bh,{label:t,children:e})}function bt(e){return e.split("-")[0]}function rr(e){return e.split("-")[1]}function It(e){return["top","bottom"].includes(bt(e))?"x":"y"}function ro(e){return e==="y"?"height":"width"}function _s(e,t,r){let{reference:n,floating:o}=e;const i=n.x+n.width/2-o.width/2,a=n.y+n.height/2-o.height/2,s=It(t),c=ro(s),d=n[c]/2-o[c]/2,f=bt(t),p=s==="x";let m;switch(f){case"top":m={x:i,y:n.y-o.height};break;case"bottom":m={x:i,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:a};break;case"left":m={x:n.x-o.width,y:a};break;default:m={x:n.x,y:n.y}}switch(rr(t)){case"start":m[s]-=d*(r&&p?-1:1);break;case"end":m[s]+=d*(r&&p?-1:1);break}return m}const Wh=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=await(a.isRTL==null?void 0:a.isRTL(t));if(process.env.NODE_ENV!=="production"&&(a==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(" ")),i.filter(h=>{let{name:b}=h;return b==="autoPlacement"||b==="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 a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=_s(c,n,s),p=n,m={},g=0;for(let h=0;h<i.length;h++){const{name:b,fn:v}=i[h],{x:_,y:$,data:w,reset:y}=await v({x:d,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:m,rects:c,platform:a,elements:{reference:e,floating:t}});if(d=_??d,f=$??f,m={...m,[b]:{...m[b],...w}},process.env.NODE_ENV!=="production"&&g>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&&g<=50){g++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(c=y.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:f}=_s(c,p,s)),h=-1;continue}}return{x:d,y:f,placement:p,strategy:o,middlewareData:m}};function Uh(e){return{top:0,right:0,bottom:0,left:0,...e}}function xs(e){return typeof e!="number"?Uh(e):{top:e,right:e,bottom:e,left:e}}function Fr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function nr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=t,h=xs(g),v=s[m?p==="floating"?"reference":"floating":p],_=Fr(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(v)))==null||r?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:d,rootBoundary:f,strategy:c})),$=Fr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...a.floating,x:n,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:c}):a[p]);return{top:_.top-$.top+h.top,bottom:$.bottom-_.bottom+h.bottom,left:_.left-$.left+h.left,right:$.right-_.right+h.right}}const Hh=Math.min,gt=Math.max;function no(e,t,r){return gt(e,Hh(t,r))}const ws=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e??{},{x:o,y:i,placement:a,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=xs(n),f={x:o,y:i},p=It(a),m=rr(a),g=ro(p),h=await c.getDimensions(r),b=p==="y"?"top":"left",v=p==="y"?"bottom":"right",_=s.reference[g]+s.reference[p]-f[p]-s.floating[g],$=f[p]-s.reference[p],w=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let y=w?p==="y"?w.clientHeight||0:w.clientWidth||0:0;y===0&&(y=s.floating[g]);const O=_/2-$/2,M=d[b],I=y-h[g]-d[v],A=y/2-h[g]/2+O,L=no(M,A,I),Y=(m==="start"?d[b]:d[v])>0&&A!==L&&s.reference[g]<=s.floating[g]?A<M?M-A:I-A:0;return{[p]:f[p]-Y,data:{[p]:L,centerOffset:A-L}}}}),Gh={left:"right",right:"left",bottom:"top",top:"bottom"};function jr(e){return e.replace(/left|right|bottom|top/g,t=>Gh[t])}function qh(e,t,r){r===void 0&&(r=!1);const n=rr(e),o=It(e),i=ro(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=jr(a)),{main:a,cross:jr(a)}}const Yh={start:"end",end:"start"};function Es(e){return e.replace(/start|end/g,t=>Yh[t])}const Xh=["top","right","bottom","left"];function Zh(e){const t=jr(e);return[Es(e),t,Es(t)]}const Jh=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",flipAlignment:g=!0,...h}=e,b=bt(n),_=p||(b===a||!g?[jr(a)]:Zh(a)),$=[a,..._],w=await nr(t,h),y=[];let O=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&y.push(w[b]),f){const{main:L,cross:J}=qh(n,i,await(s.isRTL==null?void 0:s.isRTL(c.floating)));y.push(w[L],w[J])}if(O=[...O,{placement:n,overflows:y}],!y.every(L=>L<=0)){var M,I;const L=((M=(I=o.flip)==null?void 0:I.index)!=null?M:0)+1,J=$[L];if(J)return{data:{index:L,overflows:O},reset:{placement:J}};let k="bottom";switch(m){case"bestFit":{var A;const Y=(A=O.map(C=>[C,C.overflows.filter(S=>S>0).reduce((S,U)=>S+U,0)]).sort((C,S)=>C[1]-S[1])[0])==null?void 0:A[0].placement;Y&&(k=Y);break}case"initialPlacement":k=a;break}if(n!==k)return{reset:{placement:k}}}return{}}}};function Ss(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ts(e){return Xh.some(t=>e[t]>=0)}const Qh=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 i=await nr(n,{...r,elementContext:"reference"}),a=Ss(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Ts(a)}}}case"escaped":{const i=await nr(n,{...r,altBoundary:!0}),a=Ss(i,o.floating);return{data:{escapedOffsets:a,escaped:Ts(a)}}}default:return{}}}}};async function ev(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=bt(r),s=rr(r),c=It(r)==="x",d=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,p=typeof t=="function"?t(e):t;let{mainAxis:m,crossAxis:g,alignmentAxis:h}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&typeof h=="number"&&(g=s==="end"?h*-1:h),c?{x:g*f,y:m*d}:{x:m*d,y:g*f}}const tv=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await ev(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function ks(e){return e==="x"?"y":"x"}const rv=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:v=>{let{x:_,y:$}=v;return{x:_,y:$}}},...c}=e,d={x:r,y:n},f=await nr(t,c),p=It(bt(o)),m=ks(p);let g=d[p],h=d[m];if(i){const v=p==="y"?"top":"left",_=p==="y"?"bottom":"right",$=g+f[v],w=g-f[_];g=no($,g,w)}if(a){const v=m==="y"?"top":"left",_=m==="y"?"bottom":"right",$=h+f[v],w=h-f[_];h=no($,h,w)}const b=s.fn({...t,[p]:g,[m]:h});return{...b,data:{x:b.x-r,y:b.y-n}}}}},nv=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:d=!0}=e,f={x:r,y:n},p=It(o),m=ks(p);let g=f[p],h=f[m];const b=typeof s=="function"?s({...i,placement:o}):s,v=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(c){const O=p==="y"?"height":"width",M=i.reference[p]-i.floating[O]+v.mainAxis,I=i.reference[p]+i.reference[O]-v.mainAxis;g<M?g=M:g>I&&(g=I)}if(d){var _,$,w,y;const O=p==="y"?"width":"height",M=["top","left"].includes(bt(o)),I=i.reference[m]-i.floating[O]+(M&&(_=($=a.offset)==null?void 0:$[m])!=null?_:0)+(M?0:v.crossAxis),A=i.reference[m]+i.reference[O]+(M?0:(w=(y=a.offset)==null?void 0:y[m])!=null?w:0)-(M?v.crossAxis:0);h<I?h=I:h>A&&(h=A)}return{[p]:g,[m]:h}}}},ov=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:i}=t,{apply:a,...s}=e,c=await nr(t,s),d=bt(r),f=rr(r);let p,m;d==="top"||d==="bottom"?(p=d,m=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(m=d,p=f==="end"?"top":"bottom");const g=gt(c.left,0),h=gt(c.right,0),b=gt(c.top,0),v=gt(c.bottom,0),_={availableHeight:n.floating.height-(["left","right"].includes(r)?2*(b!==0||v!==0?b+v:gt(c.top,c.bottom)):c[p]),availableWidth:n.floating.width-(["top","bottom"].includes(r)?2*(g!==0||h!==0?g+h:gt(c.left,c.right)):c[m])},$=await o.getDimensions(i.floating);a==null||a({...t,..._});const w=await o.getDimensions(i.floating);return $.width!==w.width||$.height!==w.height?{reset:{rects:!0}}:{}}}};function Ps(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Ye(e){if(e==null)return window;if(!Ps(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function or(e){return Ye(e).getComputedStyle(e)}function Xe(e){return Ps(e)?"":e?(e.nodeName||"").toLowerCase():""}function Cs(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Be(e){return e instanceof Ye(e).HTMLElement}function ot(e){return e instanceof Ye(e).Element}function iv(e){return e instanceof Ye(e).Node}function oo(e){if(typeof ShadowRoot>"u")return!1;const t=Ye(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Vr(e){const{overflow:t,overflowX:r,overflowY:n}=or(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function av(e){return["table","td","th"].includes(Xe(e))}function Ds(e){const t=/firefox/i.test(Cs()),r=or(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 Is(){return!/^((?!chrome|android).)*safari/i.test(Cs())}const Os=Math.min,ir=Math.max,Rr=Math.round;function Ze(e,t,r){var n,o,i,a;t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect();let c=1,d=1;t&&Be(e)&&(c=e.offsetWidth>0&&Rr(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&Rr(s.height)/e.offsetHeight||1);const f=ot(e)?Ye(e):window,p=!Is()&&r,m=(s.left+(p&&(n=(o=f.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,g=(s.top+(p&&(i=(a=f.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/d,h=s.width/c,b=s.height/d;return{width:h,height:b,top:g,right:m+h,bottom:g+b,left:m,x:m,y:g}}function it(e){return((iv(e)?e.ownerDocument:e.document)||window.document).documentElement}function Kr(e){return ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function As(e){return Ze(it(e)).left+Kr(e).scrollLeft}function sv(e){const t=Ze(e);return Rr(t.width)!==e.offsetWidth||Rr(t.height)!==e.offsetHeight}function lv(e,t,r){const n=Be(t),o=it(t),i=Ze(e,n&&sv(t),r==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((Xe(t)!=="body"||Vr(o))&&(a=Kr(t)),Be(t)){const c=Ze(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=As(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function Ns(e){return Xe(e)==="html"?e:e.assignedSlot||e.parentNode||(oo(e)?e.host:null)||it(e)}function zs(e){return!Be(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function cv(e){let t=Ns(e);for(oo(t)&&(t=t.host);Be(t)&&!["html","body"].includes(Xe(t));){if(Ds(t))return t;t=t.parentNode}return null}function io(e){const t=Ye(e);let r=zs(e);for(;r&&av(r)&&getComputedStyle(r).position==="static";)r=zs(r);return r&&(Xe(r)==="html"||Xe(r)==="body"&&getComputedStyle(r).position==="static"&&!Ds(r))?t:r||cv(e)||t}function Ls(e){if(Be(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ze(e);return{width:t.width,height:t.height}}function uv(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Be(r),i=it(r);if(r===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((Xe(r)!=="body"||Vr(i))&&(a=Kr(r)),Be(r))){const c=Ze(r,!0);s.x=c.x+r.clientLeft,s.y=c.y+r.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function dv(e,t){const r=Ye(e),n=it(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const d=Is();(d||!d&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s,y:c}}function fv(e){var t;const r=it(e),n=Kr(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=ir(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ir(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-n.scrollLeft+As(e);const c=-n.scrollTop;return or(o||r).direction==="rtl"&&(s+=ir(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function Ms(e){const t=Ns(e);return["html","body","#document"].includes(Xe(t))?e.ownerDocument.body:Be(t)&&Vr(t)?t:Ms(t)}function Br(e,t){var r;t===void 0&&(t=[]);const n=Ms(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Ye(n),a=o?[i].concat(i.visualViewport||[],Vr(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Br(a))}function pv(e,t){const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&oo(r)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function mv(e,t){const r=Ze(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 Fs(e,t,r){return t==="viewport"?Fr(dv(e,r)):ot(t)?mv(t,r):Fr(fv(it(e)))}function bv(e){const t=Br(e),n=["absolute","fixed"].includes(or(e).position)&&Be(e)?io(e):e;return ot(n)?t.filter(o=>ot(o)&&pv(o,n)&&Xe(o)!=="body"):[]}function gv(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?bv(t):[].concat(r),n],s=a[0],c=a.reduce((d,f)=>{const p=Fs(t,f,o);return d.top=ir(p.top,d.top),d.right=Os(p.right,d.right),d.bottom=Os(p.bottom,d.bottom),d.left=ir(p.left,d.left),d},Fs(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}const hv={getClippingRect:gv,convertOffsetParentRelativeRectToViewportRelativeRect:uv,isElement:ot,getDimensions:Ls,getOffsetParent:io,getDocumentElement:it,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:lv(t,io(r),n),floating:{...Ls(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>or(e).direction==="rtl"};function vv(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=n,c=o&&!s,d=i&&!s,f=c||d?[...ot(e)?Br(e):[],...Br(t)]:[];f.forEach(b=>{c&&b.addEventListener("scroll",r,{passive:!0}),d&&b.addEventListener("resize",r)});let p=null;if(a){let b=!0;p=new ResizeObserver(()=>{b||r(),b=!1}),ot(e)&&!s&&p.observe(e),p.observe(t)}let m,g=s?Ze(e):null;s&&h();function h(){const b=Ze(e);g&&(b.x!==g.x||b.y!==g.y||b.width!==g.width||b.height!==g.height)&&r(),g=b,m=requestAnimationFrame(h)}return r(),()=>{var b;f.forEach(v=>{c&&v.removeEventListener("scroll",r),d&&v.removeEventListener("resize",r)}),(b=p)==null||b.disconnect(),p=null,s&&cancelAnimationFrame(m)}}const yv=(e,t,r)=>Wh(e,t,{platform:hv,...r});var ao=typeof document<"u"?l.useLayoutEffect:l.useEffect;function so(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(!so(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 i=o[n];if(!(i==="_owner"&&e.$$typeof)&&!so(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function $v(e){const t=B.useRef(e);return ao(()=>{t.current=e}),t}function _v(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=B.useRef(null),a=B.useRef(null),s=$v(o),c=B.useRef(null),[d,f]=B.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,m]=B.useState(t);so(p==null?void 0:p.map(w=>{let{options:y}=w;return y}),t==null?void 0:t.map(w=>{let{options:y}=w;return y}))||m(t);const g=B.useCallback(()=>{!i.current||!a.current||yv(i.current,a.current,{middleware:p,placement:r,strategy:n}).then(w=>{h.current&&Oa.flushSync(()=>{f(w)})})},[p,r,n]);ao(()=>{h.current&&g()},[g]);const h=B.useRef(!1);ao(()=>(h.current=!0,()=>{h.current=!1}),[]);const b=B.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),i.current&&a.current)if(s.current){const w=s.current(i.current,a.current,g);c.current=w}else g()},[g,s]),v=B.useCallback(w=>{i.current=w,b()},[b]),_=B.useCallback(w=>{a.current=w,b()},[b]),$=B.useMemo(()=>({reference:i,floating:a}),[]);return B.useMemo(()=>({...d,update:g,refs:$,reference:v,floating:_}),[d,g,$,v,_])}const xv=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?ws({element:t.current,padding:r}).fn(o):{}:t?ws({element:t,padding:r}).fn(o):{}}}},wv=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...i}=e;return l.createElement(re.svg,E({},i,{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 Wr(e){const[t,r]=l.useState(void 0);return xe(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const c=i.borderBoxSize,d=Array.isArray(c)?c[0]:c;a=d.inlineSize,s=d.blockSize}else a=e.offsetWidth,s=e.offsetHeight;r({width:a,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const js="Popper",[lo,Ot]=ke(js),[Ev,Vs]=lo(js),Sv=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(Ev,{scope:t,anchor:n,onAnchorChange:o},r)},Tv="PopperAnchor",kv=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,i=Vs(Tv,r),a=l.useRef(null),s=de(t,a);return l.useEffect(()=>{i.onAnchorChange((n==null?void 0:n.current)||a.current)}),n?null:l.createElement(re.div,E({},o,{ref:s}))}),Ur="PopperContent",[Pv,Cv]=lo(Ur),[Dv,Iv]=lo(Ur,{hasParent:!1,positionUpdateFns:new Set}),Ov=l.forwardRef((e,t)=>{var r,n,o,i,a,s,c,d;const{__scopePopper:f,side:p="bottom",sideOffset:m=0,align:g="center",alignOffset:h=0,arrowPadding:b=0,collisionBoundary:v=[],collisionPadding:_=0,sticky:$="partial",hideWhenDetached:w=!1,avoidCollisions:y=!0,onPlaced:O,...M}=e,I=Vs(Ur,f),[A,L]=l.useState(null),J=de(t,Me=>L(Me)),[k,Y]=l.useState(null),C=Wr(k),S=(r=C==null?void 0:C.width)!==null&&r!==void 0?r:0,U=(n=C==null?void 0:C.height)!==null&&n!==void 0?n:0,ae=p+(g!=="center"?"-"+g:""),ue=typeof _=="number"?_:{top:0,right:0,bottom:0,left:0,..._},he=Array.isArray(v)?v:[v],te=he.length>0,z={padding:ue,boundary:he.filter(Mv),altBoundary:te},{reference:V,floating:H,strategy:X,x:q,y:se,placement:ee,middlewareData:j,update:K}=_v({strategy:"fixed",placement:ae,whileElementsMounted:vv,middleware:[Fv(),tv({mainAxis:m+U,alignmentAxis:h}),y?rv({mainAxis:!0,crossAxis:!1,limiter:$==="partial"?nv():void 0,...z}):void 0,k?xv({element:k,padding:b}):void 0,y?Jh({...z}):void 0,ov({...z,apply:({elements:Me,availableWidth:Ie,availableHeight:Ta})=>{Me.floating.style.setProperty("--radix-popper-available-width",`${Ie}px`),Me.floating.style.setProperty("--radix-popper-available-height",`${Ta}px`)}}),jv({arrowWidth:S,arrowHeight:U}),w?Qh({strategy:"referenceHidden"}):void 0].filter(Lv)});xe(()=>{V(I.anchor)},[V,I.anchor]);const Z=q!==null&&se!==null,[W,ne]=Rs(ee),Q=Pe(O);xe(()=>{Z&&(Q==null||Q())},[Z,Q]);const ye=(o=j.arrow)===null||o===void 0?void 0:o.x,we=(i=j.arrow)===null||i===void 0?void 0:i.y,Ne=((a=j.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[De,ze]=l.useState();xe(()=>{A&&ze(window.getComputedStyle(A).zIndex)},[A]);const{hasParent:Le,positionUpdateFns:Ce}=Iv(Ur,f),Ge=!Le;l.useLayoutEffect(()=>{if(!Ge)return Ce.add(K),()=>{Ce.delete(K)}},[Ge,Ce,K]),xe(()=>{Ge&&Z&&Array.from(Ce).reverse().forEach(Me=>requestAnimationFrame(Me))},[Ge,Z,Ce]);const qt={"data-side":W,"data-align":ne,...M,ref:J,style:{...M.style,animation:Z?void 0:"none",opacity:(s=j.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:H,"data-radix-popper-content-wrapper":"",style:{position:X,left:0,top:0,transform:Z?`translate3d(${Math.round(q)}px, ${Math.round(se)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:De,["--radix-popper-transform-origin"]:[(c=j.transformOrigin)===null||c===void 0?void 0:c.x,(d=j.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},l.createElement(Pv,{scope:f,placedSide:W,onArrowChange:Y,arrowX:ye,arrowY:we,shouldHideArrow:Ne},Ge?l.createElement(Dv,{scope:f,hasParent:!0,positionUpdateFns:Ce},l.createElement(re.div,qt)):l.createElement(re.div,qt)))}),Av="PopperArrow",Nv={top:"bottom",right:"left",bottom:"top",left:"right"},zv=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,i=Cv(Av,n),a=Nv[i.placedSide];return l.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},l.createElement(wv,E({},o,{ref:r,style:{...o.style,display:"block"}})))});function Lv(e){return e!==void 0}function Mv(e){return e!==null}const Fv=()=>({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`),{}}}),jv=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;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,g=p?0:e.arrowHeight,[h,b]=Rs(s),v={start:"0%",center:"50%",end:"100%"}[b],_=((n=(o=d.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+m/2,$=((i=(a=d.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+g/2;let w="",y="";return h==="bottom"?(w=p?v:`${_}px`,y=`${-g}px`):h==="top"?(w=p?v:`${_}px`,y=`${c.floating.height+g}px`):h==="right"?(w=`${-g}px`,y=p?v:`${$}px`):h==="left"&&(w=`${c.floating.width+g}px`,y=p?v:`${$}px`),{data:{x:w,y}}}});function Rs(e){const[t,r="center"]=e.split("-");return[t,r]}const co=Sv,uo=kv,fo=Ov,Ks=zv,Bs="Popover",[Ws,Ek]=ke(Bs,[Ot]),Hr=Ot(),[Vv,ht]=Ws(Bs),Us=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Hr(t),c=l.useRef(null),[d,f]=l.useState(!1),[p=!1,m]=je({prop:n,defaultProp:o,onChange:i});return l.createElement(co,s,l.createElement(Vv,{scope:t,contentId:Re(),triggerRef:c,open:p,onOpenChange:m,onOpenToggle:l.useCallback(()=>m(g=>!g),[m]),hasCustomAnchor:d,onCustomAnchorAdd:l.useCallback(()=>f(!0),[]),onCustomAnchorRemove:l.useCallback(()=>f(!1),[]),modal:a},r))},Rv="PopoverTrigger",Hs=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(Rv,r),i=Hr(r),a=de(t,o.triggerRef),s=l.createElement(re.button,E({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Xs(o.open)},n,{ref:a,onClick:G(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(uo,E({asChild:!0},i),s)}),Gs="PopoverPortal",[Kv,Bv]=Ws(Gs,{forceMount:void 0}),Wv=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,i=ht(Gs,t);return l.createElement(Kv,{scope:t,forceMount:r},l.createElement(Oe,{present:r||i.open},l.createElement(er,{asChild:!0,container:o},n)))},ar="PopoverContent",qs=l.forwardRef((e,t)=>{const r=Bv(ar,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,i=ht(ar,e.__scopePopover);return l.createElement(Oe,{present:n||i.open},i.modal?l.createElement(Uv,E({},o,{ref:t})):l.createElement(Hv,E({},o,{ref:t})))}),Uv=l.forwardRef((e,t)=>{const r=ht(ar,e.__scopePopover),n=l.useRef(null),o=de(t,n),i=l.useRef(!1);return l.useEffect(()=>{const a=n.current;if(a)return Yn(a)},[]),l.createElement(Gn,{as:pt,allowPinchZoom:!0},l.createElement(Ys,E({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:G(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:G(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,d=s.button===2||c;i.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:G(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Hv=l.forwardRef((e,t)=>{const r=ht(ar,e.__scopePopover),n=l.useRef(!1);return l.createElement(Ys,E({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;n.current||(a=r.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((a=r.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),Ys=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...p}=e,m=ht(ar,r),g=Hr(r);return Bn(),l.createElement(Rn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},l.createElement(Qt,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1)},l.createElement(fo,E({"data-state":Xs(m.open),role:"dialog",id:m.contentId},g,p,{ref:t,style:{...p.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),Gv="PopoverClose",qv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(Gv,r);return l.createElement(re.button,E({type:"button"},n,{ref:t,onClick:G(e.onClick,()=>o.onOpenChange(!1))}))}),Yv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Hr(r);return l.createElement(Ks,E({},o,n,{ref:t}))});function Xs(e){return e?"open":"closed"}const Xv=Us,Zv=Hs,Jv=Wv,Qv=qs,Zs=qv,e0=Yv;function Js(e,t,r){let[n,o]=l.useState(e||t),i=l.useRef(e!==void 0),a=i.current,s=e!==void 0,c=l.useRef(n);a!==s&&console.warn(`WARN: A component changed from ${a?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),i.current=s;let d=l.useCallback((f,...p)=>{let m=(g,...h)=>{r&&(Object.is(c.current,g)||r(g,...h)),s||(c.current=g)};typeof f=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((h,...b)=>{let v=f(s?c.current:h,...b);return m(v,...p),s?h:v})):(s||o(f),m(f,...p))},[s,r]);return s?c.current=e:e=n,[e,d]}function t0(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function vt(e,t,r,n){let o=(e-(isNaN(t)?0:t))%n,i=Math.abs(o)*2>=n?e+Math.sign(o)*(n-Math.abs(o)):e-o;isNaN(t)?!isNaN(r)&&i>r&&(i=Math.floor(r/n)*n):i<t?i=t:!isNaN(r)&&i>r&&(i=t+Math.floor((r-t)/n)*n);let a=n.toString(),s=a.indexOf("."),c=s>=0?a.length-s:0;if(c>0){let d=Math.pow(10,c);i=Math.round(i*d)/d}return i}const po={prefix:String(Math.round(Math.random()*1e10)),current:0},Qs=l.createContext(po);let r0=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function n0(e){let t=l.useContext(Qs);return t===po&&!r0&&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 o0(){let t=l.useContext(Qs)!==po,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function el(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=el(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function tl(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=el(e))&&(n&&(n+=" "),n+=t);return n}const at=typeof window<"u"?l.useLayoutEffect:()=>{};function i0(e){let[t,r]=l.useState(e),n=l.useRef(t),o=l.useRef(null);n.current=t;let i=l.useRef(null);i.current=()=>{let s=o.current.next();if(s.done){o.current=null;return}t===s.value?i.current():r(s.value)},at(()=>{o.current&&i.current()});let a=l.useCallback(s=>{o.current=s(n.current),i.current()},[o,i]);return[t,a]}let Gr=new Map;function yt(e){let[t,r]=l.useState(e),n=l.useRef(null),o=n0(t),i=l.useCallback(a=>{n.current=a},[]);return Gr.set(o,i),at(()=>{let a=o;return()=>{Gr.delete(a)}},[o]),l.useEffect(()=>{let a=n.current;a&&(n.current=null,r(a))}),o}function a0(e,t){if(e===t)return e;let r=Gr.get(e);if(r)return r(t),t;let n=Gr.get(t);return n?(n(e),e):t}function rl(e=[]){let t=yt(),[r,n]=i0(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return at(o,[t,o,...e]),r}function nl(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function Se(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let i=t[o],a=n[o];typeof i=="function"&&typeof a=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=nl(i,a):(o==="className"||o==="UNSAFE_className")&&typeof i=="string"&&typeof a=="string"?t[o]=tl(i,a):o==="id"&&i&&a?t.id=a0(i,a):t[o]=a!==void 0?a:i}}return t}const s0=new Set(["id"]),l0=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),c0=/^(data-.*)$/;function sr(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(s0.has(i)||r&&l0.has(i)||n!=null&&n.has(i)||c0.test(i))&&(o[i]=e[i]);return o}function At(e){if(u0())e.focus({preventScroll:!0});else{let t=d0(e);e.focus(),f0(t)}}let qr=null;function u0(){if(qr==null){qr=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return qr=!0,!0}})}catch{}}return qr}function d0(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 f0(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let Nt=new Map,mo=new Set;function ol(){if(typeof window>"u")return;let e=r=>{let n=Nt.get(r.target);n||(n=new Set,Nt.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=Nt.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Nt.delete(r.target)),Nt.size===0)){for(let o of mo)o();mo.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?ol():document.addEventListener("DOMContentLoaded",ol));function il(e){requestAnimationFrame(()=>{Nt.size===0?e():mo.add(e)})}function al(){let e=l.useRef(new Map),t=l.useCallback((o,i,a,s)=>{let c=s!=null&&s.once?(...d)=>{e.current.delete(a),a(...d)}:a;e.current.set(a,{type:i,eventTarget:o,fn:c,options:s}),o.addEventListener(i,a,s)},[]),r=l.useCallback((o,i,a,s)=>{var c;let d=((c=e.current.get(a))===null||c===void 0?void 0:c.fn)||a;o.removeEventListener(i,d,s),e.current.delete(a)},[]),n=l.useCallback(()=>{e.current.forEach((o,i)=>{r(o.eventTarget,o.type,i,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function p0(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=yt(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 Je(e){const t=l.useRef();return at(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function sl(e,t){at(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}let m0=0;const bo=new Map;function b0(e){let[t,r]=l.useState(void 0);return at(()=>{if(!e)return;let n=bo.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${m0++}`;r(o);let i=document.createElement("div");i.id=o,i.style.display="none",i.textContent=e,document.body.appendChild(i),n={refCount:0,element:i},bo.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),bo.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function g0(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 go(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 ho(){return go(/^Mac/i)}function ll(){return go(/^iPhone/i)}function cl(){return go(/^iPad/i)||ho()&&navigator.maxTouchPoints>1}function vo(){return ll()||cl()}function ul(){return g0(/Android/i)}function h0(e,t,r,n){let o=l.useRef(r);o.current=r;let i=r==null;l.useEffect(()=>{if(i)return;let a=e.current,s=c=>o.current.call(this,c);return a.addEventListener(t,s,n),()=>{a.removeEventListener(t,s,n)}},[e,t,n,i])}function yo(e){return e.mozInputSource===0&&e.isTrusted?!0:ul()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function v0(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function $o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let zt="default",_o="",Yr=new WeakMap;function dl(e){vo()?(zt==="default"&&(_o=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),zt="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Yr.set(e,e.style.userSelect),e.style.userSelect="none")}function Xr(e){if(vo()){if(zt!=="disabled")return;zt="restoring",setTimeout(()=>{il(()=>{zt==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=_o||""),_o="",zt="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Yr.has(e)){let t=Yr.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Yr.delete(e)}}const fl=l.createContext(null);fl.displayName="PressResponderContext";function y0(e){let t=l.useContext(fl);if(t){let{register:r,...n}=t;e=Se(n,e),r()}return sl(t,e.ref),e}function xo(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:a,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...m}=y0(e),g=l.useRef(null);g.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:a,shouldCancelOnPointerExit:d};let[h,b]=l.useState(!1),v=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:_,removeAllGlobalListeners:$}=al(),w=l.useMemo(()=>{let y=v.current,O=(k,Y)=>{let{onPressStart:C,onPressChange:S,isDisabled:U}=g.current;U||y.didFirePressStart||(C&&C({type:"pressstart",pointerType:Y,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),S&&S(!0),y.didFirePressStart=!0,b(!0))},M=(k,Y,C=!0)=>{let{onPressEnd:S,onPressChange:U,onPress:ae,isDisabled:ue}=g.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,S&&S({type:"pressend",pointerType:Y,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),U&&U(!1),b(!1),ae&&C&&!ue&&ae({type:"press",pointerType:Y,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}))},I=(k,Y)=>{let{onPressUp:C,isDisabled:S}=g.current;S||C&&C({type:"pressup",pointerType:Y,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey})},A=k=>{y.isPressed&&(y.isOverTarget&&M(Qe(y.target,k),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,$(),f||Xr(y.target))},L={onKeyDown(k){Eo(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)?(ml(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),!y.isPressed&&!k.repeat&&(y.target=k.currentTarget,y.isPressed=!0,O(k,"keyboard"),_(document,"keyup",J,!1))):k.key==="Enter"&&wo(k.currentTarget)&&k.stopPropagation()},onKeyUp(k){Eo(k.nativeEvent,k.currentTarget)&&!k.repeat&&k.currentTarget.contains(k.target)&&I(Qe(y.target,k),"keyboard")},onClick(k){k&&!k.currentTarget.contains(k.target)||k&&k.button===0&&(k.stopPropagation(),a&&k.preventDefault(),!y.ignoreClickAfterPress&&!y.ignoreEmulatedMouseEvents&&(y.pointerType==="virtual"||yo(k.nativeEvent))&&(!a&&!c&&At(k.currentTarget),O(k,"virtual"),I(k,"virtual"),M(k,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},J=k=>{if(y.isPressed&&Eo(k,y.target)){ml(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),y.isPressed=!1;let Y=k.target;M(Qe(y.target,k),"keyboard",y.target.contains(Y)),$(),y.target instanceof HTMLElement&&y.target.contains(Y)&&(wo(y.target)||y.target.getAttribute("role")==="link")&&y.target.click()}};if(typeof PointerEvent<"u"){L.onPointerDown=S=>{if(!(S.button!==0||!S.currentTarget.contains(S.target))){if(v0(S.nativeEvent)){y.pointerType="virtual";return}So(S.currentTarget)&&S.preventDefault(),y.pointerType=S.pointerType,S.stopPropagation(),y.isPressed||(y.isPressed=!0,y.isOverTarget=!0,y.activePointerId=S.pointerId,y.target=S.currentTarget,!a&&!c&&At(S.currentTarget),f||dl(y.target),O(S,y.pointerType),_(document,"pointermove",k,!1),_(document,"pointerup",Y,!1),_(document,"pointercancel",C,!1))}},L.onMouseDown=S=>{S.currentTarget.contains(S.target)&&S.button===0&&(So(S.currentTarget)&&S.preventDefault(),S.stopPropagation())},L.onPointerUp=S=>{!S.currentTarget.contains(S.target)||y.pointerType==="virtual"||S.button===0&&Lt(S,S.currentTarget)&&I(S,y.pointerType||S.pointerType)};let k=S=>{S.pointerId===y.activePointerId&&(Lt(S,y.target)?y.isOverTarget||(y.isOverTarget=!0,O(Qe(y.target,S),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,M(Qe(y.target,S),y.pointerType,!1),g.current.shouldCancelOnPointerExit&&A(S)))},Y=S=>{S.pointerId===y.activePointerId&&y.isPressed&&S.button===0&&(Lt(S,y.target)?M(Qe(y.target,S),y.pointerType):y.isOverTarget&&M(Qe(y.target,S),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,$(),f||Xr(y.target))},C=S=>{A(S)};L.onDragStart=S=>{S.currentTarget.contains(S.target)&&A(S)}}else{L.onMouseDown=C=>{C.button!==0||!C.currentTarget.contains(C.target)||(So(C.currentTarget)&&C.preventDefault(),C.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=C.currentTarget,y.pointerType=yo(C.nativeEvent)?"virtual":"mouse",!a&&!c&&At(C.currentTarget),O(C,y.pointerType),_(document,"mouseup",k,!1)))},L.onMouseEnter=C=>{C.currentTarget.contains(C.target)&&(C.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!0,O(C,y.pointerType)))},L.onMouseLeave=C=>{C.currentTarget.contains(C.target)&&(C.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!1,M(C,y.pointerType,!1),g.current.shouldCancelOnPointerExit&&A(C)))},L.onMouseUp=C=>{C.currentTarget.contains(C.target)&&!y.ignoreEmulatedMouseEvents&&C.button===0&&I(C,y.pointerType)};let k=C=>{if(C.button===0){if(y.isPressed=!1,$(),y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}Lt(C,y.target)?M(Qe(y.target,C),y.pointerType):y.isOverTarget&&M(Qe(y.target,C),y.pointerType,!1),y.isOverTarget=!1}};L.onTouchStart=C=>{if(!C.currentTarget.contains(C.target))return;C.stopPropagation();let S=$0(C.nativeEvent);S&&(y.activePointerId=S.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=C.currentTarget,y.pointerType="touch",!a&&!c&&At(C.currentTarget),f||dl(y.target),O(C,y.pointerType),_(window,"scroll",Y,!0))},L.onTouchMove=C=>{if(!C.currentTarget.contains(C.target)||(C.stopPropagation(),!y.isPressed))return;let S=pl(C.nativeEvent,y.activePointerId);S&&Lt(S,C.currentTarget)?y.isOverTarget||(y.isOverTarget=!0,O(C,y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,M(C,y.pointerType,!1),g.current.shouldCancelOnPointerExit&&A(C))},L.onTouchEnd=C=>{if(!C.currentTarget.contains(C.target)||(C.stopPropagation(),!y.isPressed))return;let S=pl(C.nativeEvent,y.activePointerId);S&&Lt(S,C.currentTarget)?(I(C,y.pointerType),M(C,y.pointerType)):y.isOverTarget&&M(C,y.pointerType,!1),y.isPressed=!1,y.activePointerId=null,y.isOverTarget=!1,y.ignoreEmulatedMouseEvents=!0,f||Xr(y.target),$()},L.onTouchCancel=C=>{C.currentTarget.contains(C.target)&&(C.stopPropagation(),y.isPressed&&A(C))};let Y=C=>{y.isPressed&&C.target.contains(y.target)&&A({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};L.onDragStart=C=>{C.currentTarget.contains(C.target)&&A(C)}}return L},[_,a,c,$,f]);return l.useEffect(()=>()=>{f||Xr(v.current.target)},[f]),{isPressed:s||h,pressProps:Se(m,w)}}function wo(e){return e.tagName==="A"&&e.hasAttribute("href")}function Eo(e,t){const{key:r,code:n}=e,o=t,i=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof HTMLInputElement&&!bl(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!wo(o)||i==="button"&&r!=="Enter")&&!(i==="link"&&r!=="Enter")}function $0(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function pl(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 Qe(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function _0(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 x0(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Lt(e,t){let r=t.getBoundingClientRect(),n=_0(e);return x0(r,n)}function So(e){return!(e instanceof HTMLElement)||!e.draggable}function ml(e,t){return e instanceof HTMLInputElement?!bl(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const w0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function bl(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":w0.has(e.type)}class E0{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 gl(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,at(()=>{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=i=>{var a,s;t.current.isFocused=!1,n.disabled&&((s=(a=t.current).onBlur)===null||s===void 0||s.call(a,new E0("blur",i))),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 To(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const i=l.useCallback(c=>{if(c.target===c.currentTarget)return n&&n(c),o&&o(!1),!0},[n,o]),a=gl(i),s=l.useCallback(c=>{c.target===c.currentTarget&&(r&&r(c),o&&o(!0),a(c))},[o,r,a]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?i:null}}}let st=null,lr=new Set,hl=!1,$t=!1,ko=!1;const S0={Tab:!0,Escape:!0};function Po(e,t){for(let r of lr)r(e,t)}function T0(e){return!(e.metaKey||!ho()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function vl(e){$t=!0,T0(e)&&(st="keyboard",Po("keyboard",e))}function Mt(e){st="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&($t=!0,Po("pointer",e))}function k0(e){yo(e)&&($t=!0,st="virtual")}function P0(e){e.target===window||e.target===document||(!$t&&!ko&&(st="virtual",Po("virtual",e)),$t=!1,ko=!1)}function C0(){$t=!1,ko=!0}function Zr(){if(typeof window>"u"||hl)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){$t=!0,e.apply(this,arguments)},document.addEventListener("keydown",vl,!0),document.addEventListener("keyup",vl,!0),document.addEventListener("click",k0,!0),window.addEventListener("focus",P0,!0),window.addEventListener("blur",C0,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Mt,!0),document.addEventListener("pointermove",Mt,!0),document.addEventListener("pointerup",Mt,!0)):(document.addEventListener("mousedown",Mt,!0),document.addEventListener("mousemove",Mt,!0),document.addEventListener("mouseup",Mt,!0)),hl=!0}typeof document<"u"&&(document.readyState!=="loading"?Zr():document.addEventListener("DOMContentLoaded",Zr));function yl(){return st!=="pointer"}function D0(){return st}function I0(){Zr();let[e,t]=l.useState(st);return l.useEffect(()=>{let r=()=>{t(st)};return lr.add(r),()=>{lr.delete(r)}},[]),e}function O0(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!S0[r.key])}function A0(e,t,r){Zr(),l.useEffect(()=>{let n=(o,i)=>{O0(r==null?void 0:r.isTextInput,o,i)&&e(yl())};return lr.add(n),()=>{lr.delete(n)}},t)}function $l(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,i=l.useRef({isFocusWithin:!1}),a=l.useCallback(d=>{i.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(i.current.isFocusWithin=!1,r&&r(d),o&&o(!1))},[r,o,i]),s=gl(a),c=l.useCallback(d=>{i.current.isFocusWithin||(n&&n(d),o&&o(!0),i.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:a}}}function _l(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 N0(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:_l(e.onKeyDown),onKeyUp:_l(e.onKeyUp)}}}function z0(e,t){let{onScroll:r,isDisabled:n}=e,o=l.useCallback(i=>{i.ctrlKey||(i.preventDefault(),i.stopPropagation(),r&&r({deltaX:i.deltaX,deltaY:i.deltaY}))},[r]);h0(t,"wheel",n?null:o)}function L0(e){if(D0()==="virtual"){let t=document.activeElement;il(()=>{document.activeElement===t&&document.contains(e)&&At(e)})}else At(e)}function M0(e,t){return t.some(r=>r.contains(e))}class Co{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null),i=new xl({scopeRef:t});o.addChild(i),i.parent=o,this.fastMap.set(t,i),n&&(i.nodeToRestore=n)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let i of this.traverse())i!==r&&r.nodeToRestore&&i.nodeToRestore&&r.scopeRef.current&&M0(i.nodeToRestore,r.scopeRef.current)&&(i.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.length>0&&o.forEach(i=>n.addChild(i)),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 Co;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){$o(this,"fastMap",new Map),this.root=new xl({scopeRef:null}),this.fastMap.set(null,this.root)}}class xl{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){$o(this,"children",[]),$o(this,"contain",!1),this.scopeRef=t.scopeRef}}new Co;function Jr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||yl()}),[i,a]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),f=l.useCallback(g=>{o.current.isFocused=g,a(g),d()},[d]);A0(g=>{o.current.isFocusVisible=g,d()},[],{isTextInput:r});let{focusProps:p}=To({isDisabled:n,onFocusChange:f}),{focusWithinProps:m}=$l({isDisabled:!n,onFocusWithinChange:f});return{isFocused:i,isFocusVisible:o.current.isFocused&&s,focusProps:n?m:p}}let F0=l.createContext(null);function j0(e){let t=l.useContext(F0)||{};sl(t,e);let{ref:r,...n}=t;return n}function Do(e,t){let{focusProps:r}=To(e),{keyboardProps:n}=N0(e),o=Se(r,n),i=j0(t),a=e.isDisabled?{}:i,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&L0(t.current),s.current=!1},[t]),{focusableProps:Se({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}function V0(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:i,onClick:a,isDisabled:s,...c}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:f}=Do(e,t),{pressProps:p,isPressed:m}=xo({onPress:n,onPressStart:o,onPressEnd:i,isDisabled:s,ref:t}),g=sr(c,{labelable:!0}),h=Se(f,p);return{isPressed:m,linkProps:Se(g,{...h,...d,"aria-disabled":s||void 0,onClick:b=>{p.onClick(b),a&&(a(b),console.warn("onClick is deprecated, please use onPress"))}})}}class R0{getStringForLocale(t,r){let n=this.strings[r];n||(n=K0(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 K0(e,t,r="en-US"){if(t[e])return t[e];let n=B0(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function B0(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const wl=new Map,El=new Map;class W0{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 i=this.locale+":"+n,a=wl.get(i);a||(a=new Intl.PluralRules(this.locale,{type:n}),wl.set(i,a));let s=a.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=El.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),El.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}}let Io=new Map,Oo=!1;try{Oo=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Qr=!1;try{Qr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Sl={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Ao{format(t){let r="";if(!Oo&&this.options.signDisplay!=null?r=H0(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Qr){var n;let{unit:o,unitDisplay:i="short",locale:a}=this.resolvedOptions(),s=(n=Sl[o])===null||n===void 0?void 0:n[i];r+=s[a]||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(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Oo&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Qr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=U0(t,r),this.options=r}}function U0(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!Qr){var n;let{unit:a,unitDisplay:s="short"}=t;if(!a)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Sl[a])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${a} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((a,s)=>a[0]<s[0]?-1:1).join():"");if(Io.has(o))return Io.get(o);let i=new Intl.NumberFormat(e,t);return Io.set(o,i),i}function H0(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),i=e.format(r),a=o.replace(i,"").replace(/\u200e|\u061C/,"");return[...a].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(i,"!!!").replace(a,"+").replace("!!!",i)}else return e.format(r)}}const G0=new RegExp("^.*\\(.*\\).*$"),q0=["latn","arab","hanidec"];class Y0{parse(t){return No(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return No(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return No(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Tl=new Map;function No(e,t,r){let n=kl(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of q0)if(o!==n.options.numberingSystem){let i=kl(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(i.isValidPartialNumber(r))return i}}return n}function kl(e,t){let r=e+(t?Object.entries(t).sort((o,i)=>o[0]<i[0]?-1:1).join():""),n=Tl.get(r);return n||(n=new X0(e,t),Tl.set(r,n)),n}class X0{parse(t){let r=this.sanitize(t);r=en(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"&&G0.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=en(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=en(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=en(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=Z0(this.formatter,this.options,r)}}const Pl=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function Z0(e,t,r){var n,o,i,a;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),d=e.formatToParts(1);var f;let p=(f=(n=s.find(I=>I.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:"-",m=(o=c.find(I=>I.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 g=(i=s.find(I=>I.type==="decimal"))===null||i===void 0?void 0:i.value,h=(a=s.find(I=>I.type==="group"))===null||a===void 0?void 0:a.value,b=s.filter(I=>!Pl.has(I.type)).map(I=>Cl(I.value)),v=d.filter(I=>!Pl.has(I.type)).map(I=>Cl(I.value)),_=[...new Set([...v,...b])].sort((I,A)=>A.length-I.length),$=_.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${_.join("|")}|[\\p{White_Space}]`,"gu"),w=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),y=new Map(w.map((I,A)=>[I,A])),O=new RegExp(`[${w.join("")}]`,"g");return{minusSign:p,plusSign:m,decimal:g,group:h,literals:$,numeral:O,index:I=>String(y.get(I))}}function en(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Cl(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const J0=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Q0=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function ey(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return J0.has(r)}let t=e.split("-")[0];return Q0.has(t)}function Dl(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:ey(e)?"rtl":"ltr"}}let zo=Dl(),cr=new Set;function Il(){zo=Dl();for(let e of cr)e(zo)}function ty(){let e=o0(),[t,r]=l.useState(zo);return l.useEffect(()=>(cr.size===0&&window.addEventListener("languagechange",Il),cr.add(r),()=>{cr.delete(r),cr.size===0&&window.removeEventListener("languagechange",Il)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const ry=l.createContext(null);function Ol(){let e=ty();return l.useContext(ry)||e}const Al=new WeakMap;function ny(e){let t=Al.get(e);return t||(t=new R0(e),Al.set(e,t)),t}function ur(e){let{locale:t}=Ol(),r=l.useMemo(()=>ny(e),[e]);return l.useMemo(()=>new W0(t,r),[t,r])}function oy(e={}){let{locale:t}=Ol();return l.useMemo(()=>new Ao(t,e),[t,e])}function iy(e){return e&&e.__esModule?e.default:e}function ay(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:i="a",...a}=e,{linkProps:s}=V0({isDisabled:n||r,elementType:i,...a},t),c=/^h[1-6]$/.test(i),d={};return c||(d=s),r&&(d["aria-current"]=o||"page",d.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...d}}}var Nl={},zl={};zl={breadcrumbs:"عناصر الواجهة"};var Ll={};Ll={breadcrumbs:"Трохи хляб"};var Ml={};Ml={breadcrumbs:"Popis cesty"};var Fl={};Fl={breadcrumbs:"Brødkrummer"};var jl={};jl={breadcrumbs:"Breadcrumbs"};var Vl={};Vl={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Rl={};Rl={breadcrumbs:"Breadcrumbs"};var Kl={};Kl={breadcrumbs:"Migas de pan"};var Bl={};Bl={breadcrumbs:"Lingiread"};var Wl={};Wl={breadcrumbs:"Navigointilinkit"};var Ul={};Ul={breadcrumbs:"Chemin de navigation"};var Hl={};Hl={breadcrumbs:"שבילי ניווט"};var Gl={};Gl={breadcrumbs:"Navigacijski putovi"};var ql={};ql={breadcrumbs:"Morzsamenü"};var Yl={};Yl={breadcrumbs:"Breadcrumb"};var Xl={};Xl={breadcrumbs:"パンくずリスト"};var Zl={};Zl={breadcrumbs:"탐색 표시"};var Jl={};Jl={breadcrumbs:"Naršymo kelias"};var Ql={};Ql={breadcrumbs:"Atpakaļceļi"};var ec={};ec={breadcrumbs:"Navigasjonsstier"};var tc={};tc={breadcrumbs:"Broodkruimels"};var rc={};rc={breadcrumbs:"Struktura nawigacyjna"};var nc={};nc={breadcrumbs:"Caminho detalhado"};var oc={};oc={breadcrumbs:"Categorias"};var ic={};ic={breadcrumbs:"Miez de pâine"};var ac={};ac={breadcrumbs:"Навигация"};var sc={};sc={breadcrumbs:"Navigačné prvky Breadcrumbs"};var lc={};lc={breadcrumbs:"Drobtine"};var cc={};cc={breadcrumbs:"Putanje navigacije"};var uc={};uc={breadcrumbs:"Sökvägar"};var dc={};dc={breadcrumbs:"İçerik haritaları"};var fc={};fc={breadcrumbs:"Навігаційна стежка"};var pc={};pc={breadcrumbs:"导航栏"};var mc={};mc={breadcrumbs:"導覽列"},Nl={"ar-AE":zl,"bg-BG":Ll,"cs-CZ":Ml,"da-DK":Fl,"de-DE":jl,"el-GR":Vl,"en-US":Rl,"es-ES":Kl,"et-EE":Bl,"fi-FI":Wl,"fr-FR":Ul,"he-IL":Hl,"hr-HR":Gl,"hu-HU":ql,"it-IT":Yl,"ja-JP":Xl,"ko-KR":Zl,"lt-LT":Jl,"lv-LV":Ql,"nb-NO":ec,"nl-NL":tc,"pl-PL":rc,"pt-BR":nc,"pt-PT":oc,"ro-RO":ic,"ru-RU":ac,"sk-SK":sc,"sl-SI":lc,"sr-SP":cc,"sv-SE":uc,"tr-TR":dc,"uk-UA":fc,"zh-CN":pc,"zh-TW":mc};function sy(e){let{"aria-label":t,...r}=e,n=ur(iy(Nl));return{navProps:{...sr(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const ly=P(Qv)`
|
|
201
206
|
border-radius: ${u.border_radius_400};
|
|
202
207
|
padding: ${u.sizing_200};
|
|
203
208
|
width: fit-content; /* Pass as prop? */
|
|
204
209
|
background-color: ${u.color_white};
|
|
205
210
|
box-shadow: ${u.elevation_interactive_medium};
|
|
206
211
|
z-index: 5; /* Same as dialogs */
|
|
207
|
-
`,
|
|
212
|
+
`,cy=P(e0)`
|
|
208
213
|
fill: ${u.color_white};
|
|
209
|
-
`;function
|
|
214
|
+
`;function bc({children:e,...t}){return T(Jv,{children:le(ly,{...t,children:[e,T(cy,{})]})})}const Lo=Zs,uy=P(Zs)`
|
|
210
215
|
all: unset;
|
|
211
216
|
cursor: pointer;
|
|
212
217
|
font-family: inherit;
|
|
@@ -220,7 +225,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
220
225
|
position: absolute;
|
|
221
226
|
top: 5px;
|
|
222
227
|
right: 5px;
|
|
223
|
-
`,
|
|
228
|
+
`,gc=Xv,hc=Zv,dy="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",fy=P(qs)`
|
|
224
229
|
margin-top: 22px;
|
|
225
230
|
isolation: isolate;
|
|
226
231
|
min-width: 210px;
|
|
@@ -232,7 +237,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
232
237
|
&[data-state~='focused'] {
|
|
233
238
|
outline: 1px solid ${u.color_black};
|
|
234
239
|
}
|
|
235
|
-
`;function
|
|
240
|
+
`;function py({children:e}){const{isFocusVisible:t,focusProps:r}=Jr();return T(fy,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const Mo=P.ol`
|
|
236
241
|
font-family: ${u.font_family_sans};
|
|
237
242
|
display: flex;
|
|
238
243
|
list-style: none;
|
|
@@ -248,7 +253,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
248
253
|
font-family: ${u.font_family_sans};
|
|
249
254
|
color: ${u.color_divider_standard};
|
|
250
255
|
}
|
|
251
|
-
`,
|
|
256
|
+
`,vc=P(Mo)`
|
|
252
257
|
flex-direction: column;
|
|
253
258
|
|
|
254
259
|
& li {
|
|
@@ -262,7 +267,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
262
267
|
|
|
263
268
|
& > ol li:first-of-type::before {
|
|
264
269
|
content: '';
|
|
265
|
-
background-image: url(${
|
|
270
|
+
background-image: url(${dy});
|
|
266
271
|
display: block;
|
|
267
272
|
height: 1em;
|
|
268
273
|
width: 1em;
|
|
@@ -271,12 +276,12 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
271
276
|
background-size: initial;
|
|
272
277
|
background-repeat: initial;
|
|
273
278
|
}
|
|
274
|
-
`,
|
|
279
|
+
`,Fo=P.li`
|
|
275
280
|
color: ${u.color_text_weak};
|
|
276
281
|
display: flex;
|
|
277
282
|
align-items: center;
|
|
278
283
|
gap: ${u.sizing_200};
|
|
279
|
-
`,
|
|
284
|
+
`,yc=P.a`
|
|
280
285
|
text-decoration: none;
|
|
281
286
|
color: ${u.color_text_weak};
|
|
282
287
|
font-style: normal;
|
|
@@ -319,7 +324,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
319
324
|
color: ${u.color_text_strong};
|
|
320
325
|
font-weight: 400;
|
|
321
326
|
}
|
|
322
|
-
`,
|
|
327
|
+
`,my=P.button`
|
|
323
328
|
appearance: none;
|
|
324
329
|
cursor: pointer;
|
|
325
330
|
touch-action: none;
|
|
@@ -346,12 +351,12 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
346
351
|
&[data-state~='open'] {
|
|
347
352
|
background-color: ${u.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
|
|
348
353
|
}
|
|
349
|
-
`;function
|
|
354
|
+
`;function $c({truncatedItems:e}){return e.length>1?le(vc,{children:[e.slice(0,1),T($c,{truncatedItems:e.slice(1)})]}):T(vc,{children:e})}function by({truncatedItems:e}){return T(Fo,{children:le(gc,{children:[T(hc,{asChild:!0,children:T(my,{type:"button",children:"..."})}),T(py,{children:T($c,{truncatedItems:e})})]})})}const _c=l.forwardRef(({children:e,...t},r)=>{const{navProps:n}=sy(t);Tt.isFragment(e)&&console.warn("Passing a React fragment to Breadcrumbs will make it not work correctly!");const o=l.Children.toArray(e),i=3;if(o.length>i){const s=o[0],c=o.slice(-2),d=o.slice(1,-2);return T("nav",{...n,children:le(Mo,{ref:r,children:[s,T(by,{truncatedItems:d}),c]})})}return T("nav",{...n,children:T(Mo,{ref:r,children:o})})});_c.displayName="Breadcrumbs";const xc=l.forwardRef((e,t)=>{const{LinkComponent:r="a",disabled:n,...o}=e,i=Je(t),a=typeof r=="string",{children:s,href:c,isCurrent:d}=e,{itemProps:f}=ay({isDisabled:n,isCurrent:d,elementType:a?r:"a",...o},i),{isPressed:p,pressProps:m}=xo({isDisabled:n??d,ref:i}),{isFocusVisible:g,focusProps:h}=Jr(),b=[p&&"pressed",n&&"disabled",g&&"focused"].filter(Boolean).join(" "),_=d||n||!c?{}:{[a?"href":"to"]:c};return T(Fo,{children:T(yc,{as:r,...f,ref:i,"data-state":b,...h,...m,..._,children:s})})});xc.displayName="BreadcrumbItem";function jo(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:i,onPressEnd:a,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:p,target:m,rel:g,type:h="button"}=e,b;r==="button"?b={type:h,disabled:n}:b={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?m:void 0,type:r==="input"?h:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?g:void 0};let{pressProps:v,isPressed:_}=xo({onPressStart:i,onPressEnd:a,onPressChange:s,onPress:o,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:$}=Do(e,t);d&&($.tabIndex=n?-1:$.tabIndex);let w=Se($,v,sr(e,{labelable:!0}));return{isPressed:_,buttonProps:Se(b,w,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:y=>{f&&(f(y),console.warn("onClick is deprecated, please use onPress"))}})}}const wc={small:`${u.spacing_200} ${u.spacing_300}`,large:`${u.spacing_300} ${u.spacing_400}`},We=P.button`
|
|
350
355
|
appearance: none;
|
|
351
356
|
border-radius: ${u.border_radius_400};
|
|
352
357
|
border: 1px solid transparent;
|
|
353
358
|
font-style: normal;
|
|
354
|
-
padding: ${
|
|
359
|
+
padding: var(--button-padding, ${wc.small});
|
|
355
360
|
font-family: ${u.font_family_sans};
|
|
356
361
|
cursor: pointer;
|
|
357
362
|
white-space: nowrap;
|
|
@@ -378,9 +383,9 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
378
383
|
&:disabled {
|
|
379
384
|
cursor: not-allowed;
|
|
380
385
|
}
|
|
381
|
-
`,
|
|
386
|
+
`,gy=P(We)`
|
|
382
387
|
background: ${u.color_white};
|
|
383
|
-
color: hsl(
|
|
388
|
+
color: hsl(0deg 0% 7.84%); /* color missing in tokens */
|
|
384
389
|
border: 1px solid ${u.color_outline_secondary_enabled};
|
|
385
390
|
|
|
386
391
|
&:hover {
|
|
@@ -399,25 +404,25 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
399
404
|
color: ${u.color_fill_secondary_disabled};
|
|
400
405
|
border-color: ${u.color_outline_secondary_disabled};
|
|
401
406
|
}
|
|
402
|
-
`,
|
|
407
|
+
`,hy=P(We)`
|
|
403
408
|
background: ${u.color_white};
|
|
404
409
|
color: ${u.color_fill_danger_enabled};
|
|
405
410
|
border: 1px solid ${u.color_outline_danger_enabled};
|
|
406
411
|
|
|
407
412
|
&:hover {
|
|
408
413
|
color: ${u.color_fill_danger_hover};
|
|
409
|
-
background: hsl(10.519deg 67.54
|
|
414
|
+
background: hsl(10.519deg 67.54% 55.29% / 6%);
|
|
410
415
|
}
|
|
411
416
|
|
|
412
417
|
&[data-state~='pressed'] {
|
|
413
|
-
background-color: hsl(10.52deg 67.54
|
|
418
|
+
background-color: hsl(10.52deg 67.54% 55.29% / 18%);
|
|
414
419
|
color: ${u.color_fill_danger_pressed};
|
|
415
420
|
}
|
|
416
421
|
|
|
417
422
|
&:disabled {
|
|
418
423
|
color: ${u.color_fill_danger_disabled};
|
|
419
424
|
}
|
|
420
|
-
`,
|
|
425
|
+
`,vy=P(We)`
|
|
421
426
|
background: ${u.color_overlay_inverse_enabled};
|
|
422
427
|
border-color: ${u.color_outline_inverse_enabled};
|
|
423
428
|
color: ${u.color_fill_inverse_enabled};
|
|
@@ -428,12 +433,13 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
428
433
|
color: ${u.color_fill_inverse_hover};
|
|
429
434
|
}
|
|
430
435
|
|
|
431
|
-
|
|
436
|
+
&[data-state~='focused'] {
|
|
432
437
|
background: ${u.color_overlay_inverse_hover};
|
|
433
438
|
border-color: ${u.color_outline_inverse_hover};
|
|
434
439
|
color: ${u.color_fill_inverse_hover};
|
|
440
|
+
|
|
435
441
|
/* TODO put in tokens Interactive / Focus / Outside */
|
|
436
|
-
box-shadow:
|
|
442
|
+
box-shadow: 0 0 0 2px white, 0 0 0 4px black;
|
|
437
443
|
}
|
|
438
444
|
|
|
439
445
|
&[data-state~='pressed'] {
|
|
@@ -445,15 +451,12 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
445
451
|
background-color: transparent;
|
|
446
452
|
color: ${u.color_outline_inverse_disabled};
|
|
447
453
|
}
|
|
448
|
-
`,
|
|
449
|
-
background:
|
|
450
|
-
217.
|
|
451
|
-
81.6%,
|
|
452
|
-
51%,
|
|
453
|
-
0
|
|
454
|
+
`,yy={primary:gy,danger:hy,inverse:vy},$y=P(We)`
|
|
455
|
+
background: hsl(
|
|
456
|
+
217.35deg 81.6% 51%
|
|
454
457
|
); /* Interactive / Overlay / Primary / Enabled */
|
|
455
458
|
border-color: transparent;
|
|
456
|
-
color: hsl(
|
|
459
|
+
color: hsl(0deg 0% 7.845%); /* color is tot in design tokens */
|
|
457
460
|
|
|
458
461
|
&:hover {
|
|
459
462
|
background: ${u.color_overlay_secondary_hover};
|
|
@@ -468,16 +471,16 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
468
471
|
&:disabled {
|
|
469
472
|
color: ${u.color_fill_primary_disabled};
|
|
470
473
|
}
|
|
471
|
-
`,
|
|
474
|
+
`,_y=P(We)`
|
|
472
475
|
color: ${u.color_fill_danger_enabled};
|
|
473
|
-
background-color: hsl(217.
|
|
476
|
+
background-color: hsl(217.35deg 81.6% 50.98%);
|
|
474
477
|
|
|
475
478
|
&:hover {
|
|
476
479
|
color: ${u.color_fill_danger_hover};
|
|
477
480
|
background: ${u.color_overlay_secondary_hover};
|
|
478
481
|
}
|
|
479
482
|
|
|
480
|
-
|
|
483
|
+
&[data-state~='focused'] {
|
|
481
484
|
border-color: ${u.color_outline_danger_enabled};
|
|
482
485
|
}
|
|
483
486
|
|
|
@@ -490,7 +493,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
490
493
|
&:disabled {
|
|
491
494
|
color: ${u.color_fill_danger_disabled};
|
|
492
495
|
}
|
|
493
|
-
`,
|
|
496
|
+
`,xy=P(We)`
|
|
494
497
|
background: ${u.color_overlay_inverse_enabled};
|
|
495
498
|
border-color: transparent;
|
|
496
499
|
color: ${u.color_fill_inverse_enabled};
|
|
@@ -500,10 +503,10 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
500
503
|
color: ${u.color_fill_inverse_hover};
|
|
501
504
|
}
|
|
502
505
|
|
|
503
|
-
|
|
506
|
+
&[data-state~='focused'] {
|
|
504
507
|
background: ${u.color_overlay_inverse_hover};
|
|
505
508
|
/* TODO put in tokens Interactive / Focus / Outside */
|
|
506
|
-
box-shadow:
|
|
509
|
+
box-shadow: 0 0 0 2px white, 0 0 0 4px black;
|
|
507
510
|
}
|
|
508
511
|
|
|
509
512
|
&[data-state~='pressed'] {
|
|
@@ -515,7 +518,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
515
518
|
background-color: ${u.color_fill_inverse_disabled};
|
|
516
519
|
color: ${u.color_outline_inverse_disabled};
|
|
517
520
|
}
|
|
518
|
-
`,
|
|
521
|
+
`,wy={primary:$y,danger:_y,inverse:xy},Ey=P(We)`
|
|
519
522
|
background: ${u.color_fill_primary_enabled};
|
|
520
523
|
color: ${u.color_white};
|
|
521
524
|
|
|
@@ -532,7 +535,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
532
535
|
background: ${u.color_fill_primary_disabled};
|
|
533
536
|
color: ${u.color_fill_inverse_pressed};
|
|
534
537
|
}
|
|
535
|
-
`,
|
|
538
|
+
`,Sy=P(We)`
|
|
536
539
|
background: ${u.color_fill_secondary_enabled};
|
|
537
540
|
color: ${u.color_fill_primary_enabled};
|
|
538
541
|
|
|
@@ -549,7 +552,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
549
552
|
&:disabled {
|
|
550
553
|
background: ${u.color_fill_secondary_disabled};
|
|
551
554
|
}
|
|
552
|
-
`,
|
|
555
|
+
`,Ty=P(We)`
|
|
553
556
|
background: ${u.color_fill_danger_enabled};
|
|
554
557
|
color: ${u.color_white};
|
|
555
558
|
|
|
@@ -566,7 +569,7 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
566
569
|
&:disabled {
|
|
567
570
|
background: ${u.color_fill_danger_disabled};
|
|
568
571
|
}
|
|
569
|
-
`,
|
|
572
|
+
`,ky=P(We)`
|
|
570
573
|
background: ${u.color_white};
|
|
571
574
|
|
|
572
575
|
&:hover {
|
|
@@ -580,10 +583,10 @@ Check the top-level render call using <`+U+">.")}return V}}function Ht(x,V){{if(
|
|
|
580
583
|
&:disabled {
|
|
581
584
|
background: ${u.color_fill_inverse_disabled};
|
|
582
585
|
}
|
|
583
|
-
`,
|
|
586
|
+
`,Py={primary:Ey,secondary:Sy,danger:Ty,inverse:ky},Vo=l.createContext(!1);Vo.displayName="FieldsetContext";const Ec=P.fieldset`
|
|
584
587
|
padding: 0;
|
|
585
588
|
border: none;
|
|
586
|
-
`;function
|
|
589
|
+
`;function Cy({children:e,disabled:t,...r}){const o=Ue()||Boolean(t);return T(Vo.Provider,{value:o,children:T(Ec,{disabled:t,...r,children:e})})}function Ue(){return l.useContext(Vo)}const Dy={low:wy,medium:yy,high:Py},dr=l.forwardRef((e,t)=>{const{size:r="small",variant:n="primary",emphasis:o="high",disabled:i,onClick:a,autoFocus:s,children:c,...d}=e,f=Je(t),p=Ue(),m=i??p,{buttonProps:g,isPressed:h}=jo({onPress:a,isDisabled:m,autoFocus:s,...d},f),{isFocusVisible:b,focusProps:v}=Jr({autoFocus:s}),w=[b?"focused":void 0,h?"pressed":void 0].filter(Boolean).join(" "),O=Dy[o][n];return T(O,{ref:f,...Se(g,d,v,{"data-state":w}),"data-state":w,style:{"--button-padding":wc[r]},children:c})});dr.displayName="Button";function tn(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const Sc="Checkbox",[Iy,Sk]=ke(Sc),[Oy,Ay]=Iy(Sc),Ny=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:i,required:a,disabled:s,value:c="on",onCheckedChange:d,...f}=e,[p,m]=l.useState(null),g=de(t,$=>m($)),h=l.useRef(!1),b=p?Boolean(p.closest("form")):!0,[v=!1,_]=je({prop:o,defaultProp:i,onChange:d});return l.createElement(Oy,{scope:r,state:v,disabled:s},l.createElement(re.button,E({type:"button",role:"checkbox","aria-checked":_t(v)?"mixed":v,"aria-required":a,"data-state":Tc(v),"data-disabled":s?"":void 0,disabled:s,value:c},f,{ref:g,onKeyDown:G(e.onKeyDown,$=>{$.key==="Enter"&&$.preventDefault()}),onClick:G(e.onClick,$=>{_(w=>_t(w)?!0:!w),b&&(h.current=$.isPropagationStopped(),h.current||$.stopPropagation())})})),b&&l.createElement(My,{control:p,bubbles:!h.current,name:n,value:c,checked:v,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),zy="CheckboxIndicator",Ly=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,i=Ay(zy,r);return l.createElement(Oe,{present:n||_t(i.state)||i.state===!0},l.createElement(re.span,E({"data-state":Tc(i.state),"data-disabled":i.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),My=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,i=l.useRef(null),a=tn(r),s=Wr(t);return l.useEffect(()=>{const c=i.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(a!==r&&p){const m=new Event("click",{bubbles:n});c.indeterminate=_t(r),p.call(c,_t(r)?!1:r),c.dispatchEvent(m)}},[a,r,n]),l.createElement("input",E({type:"checkbox","aria-hidden":!0,defaultChecked:_t(r)?!1:r},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function _t(e){return e==="indeterminate"}function Tc(e){return _t(e)?"indeterminate":e?"checked":"unchecked"}const Fy=Ny,jy=Ly;function Vy(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:i="label"}=e;t=yt(t);let a=yt(),s={};r?(n=n?`${n} ${a}`:a,s={id:a,htmlFor:i==="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 c=p0({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:c}}function kc(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:o,fieldProps:i}=Vy(e),a=rl([Boolean(t),Boolean(r),n]),s=rl([Boolean(t),Boolean(r),n]);return i=Se(i,{"aria-describedby":[a,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:a},errorMessageProps:{id:s}}}function rn(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:i=!1,validationState:a,type:s="text",onChange:c=()=>{}}=e,{focusableProps:d}=Do(e,t),{labelProps:f,fieldProps:p,descriptionProps:m,errorMessageProps:g}=kc(e),h=sr(e,{labelable:!0});const b={type:s,pattern:e.pattern};return{labelProps:f,inputProps:Se(h,r==="input"&&b,{disabled:n,readOnly:i,"aria-required":o||void 0,"aria-invalid":a==="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=>c(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:g}}function Pc(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function Ry(e,t,r){let n=l.useRef(t);n.current=t,l.useEffect(()=>{if(!Pc())return;let f=r.current,p=m=>{let g=n.current,h;switch(m.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":h=f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentForward":h=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd+1):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentBackward":h=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart-1)+f.value.slice(f.selectionStart):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":h=f.value.slice(f.selectionStart);break;default:m.data!=null&&(h=f.value.slice(0,f.selectionStart)+m.data+f.value.slice(f.selectionEnd));break}(h==null||!g.validate(h))&&m.preventDefault()};return f.addEventListener("beforeinput",p,!1),()=>{f.removeEventListener("beforeinput",p,!1)}},[r,n]);let o=Pc()?null:f=>{let p=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);t.validate(p)||f.preventDefault()},{labelProps:i,inputProps:a,descriptionProps:s,errorMessageProps:c}=rn(e,r),d=l.useRef(null);return{inputProps:Se(a,{onBeforeInput:o,onCompositionStart(){let{value:f,selectionStart:p,selectionEnd:m}=r.current;d.current={value:f,selectionStart:p,selectionEnd:m}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:f,selectionStart:p,selectionEnd:m}=d.current;r.current.value=f,r.current.setSelectionRange(p,m),t.setInputValue(f)}}}),labelProps:i,descriptionProps:s,errorMessageProps:c}}const Ro=P.label`
|
|
587
590
|
font-family: ${u.font_family_sans};
|
|
588
591
|
margin: 0;
|
|
589
592
|
font-style: normal;
|
|
@@ -603,20 +606,20 @@ clip: rect(0, 0, 0, 0);
|
|
|
603
606
|
white-space: nowrap;
|
|
604
607
|
border-width: 0;
|
|
605
608
|
`}
|
|
606
|
-
`,
|
|
609
|
+
`,Ky=P(Ro)`
|
|
607
610
|
font-size: ${u.font_size_label_small};
|
|
608
611
|
letter-spacing: ${u.letter_spacing_label_small};
|
|
609
612
|
line-height: ${u.line_height_label_small};
|
|
610
|
-
`,
|
|
613
|
+
`,By=P(Ro)`
|
|
611
614
|
font-size: ${u.font_size_label_large};
|
|
612
615
|
letter-spacing: ${u.letter_spacing_label_large};
|
|
613
616
|
line-height: ${u.line_height_label_large};
|
|
614
|
-
`,
|
|
617
|
+
`,Wy=P(Ro)`
|
|
615
618
|
font-size: ${u.font_size_label_medium};
|
|
616
619
|
letter-spacing: ${u.letter_spacing_label_medium};
|
|
617
620
|
line-height: ${u.line_height_label_medium};
|
|
618
|
-
`,
|
|
619
|
-
padding: ${({paddingSize:e="small"})=>
|
|
621
|
+
`,Uy={small:Ky,medium:Wy,large:By};function et({children:e,bold:t,size:r="small",display:n="inline-flex",srOnly:o,...i}){const a=Uy[r];return T(a,{...i,srOnly:o,style:{"--label-font-weight":t?500:400,"--label-display":n},children:e})}const Hy={small:"7px 8px",large:"11px 12px"},fr=P.input`
|
|
622
|
+
padding: ${({paddingSize:e="small"})=>Hy[e]}; // add default?
|
|
620
623
|
appearance: none;
|
|
621
624
|
border: 1px solid
|
|
622
625
|
var(--input-border-color, ${u.color_outline_secondary_enabled});
|
|
@@ -668,7 +671,7 @@ border-width: 0;
|
|
|
668
671
|
&:disabled::placeholder {
|
|
669
672
|
color: ${u.color_fill_primary_disabled};
|
|
670
673
|
}
|
|
671
|
-
`,
|
|
674
|
+
`,pr=P.div`
|
|
672
675
|
--input-border-color: ${u.color_outline_secondary_enabled};
|
|
673
676
|
display: flex;
|
|
674
677
|
flex-direction: column;
|
|
@@ -685,7 +688,7 @@ border-width: 0;
|
|
|
685
688
|
letter-spacing: ${u.letter_spacing_tight};
|
|
686
689
|
|
|
687
690
|
/* max-width: 300px; make configurable with prop? */
|
|
688
|
-
`,
|
|
691
|
+
`,nn=P.div`
|
|
689
692
|
display: flex;
|
|
690
693
|
align-items: center;
|
|
691
694
|
gap: 5.33px; // TODO update sizing this is 1/3rem
|
|
@@ -700,13 +703,13 @@ border-width: 0;
|
|
|
700
703
|
/* display: inline-flex;
|
|
701
704
|
align-self: center; */
|
|
702
705
|
}
|
|
703
|
-
`,
|
|
706
|
+
`,on=P.div`
|
|
704
707
|
color: ${u.color_text_weak};
|
|
705
708
|
font-size: ${u.font_size_50};
|
|
706
709
|
line-height: ${u.line_height_133};
|
|
707
710
|
font-family: ${u.font_family_sans};
|
|
708
711
|
/* max-height? with overflow-x? */
|
|
709
|
-
`;
|
|
712
|
+
`;P.div`
|
|
710
713
|
position: absolute;
|
|
711
714
|
right: 8px;
|
|
712
715
|
top: 0;
|
|
@@ -714,7 +717,43 @@ border-width: 0;
|
|
|
714
717
|
display: flex;
|
|
715
718
|
align-items: center;
|
|
716
719
|
pointer-events: none;
|
|
717
|
-
`;const
|
|
720
|
+
`;const Ko=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:i,required:a,paddingSize:s="small",label:c,validationState:d,placeholder:f="Enter text...",...p}=e,m=Je(t),g=Ue(),h=o??g,{labelProps:b,descriptionProps:v,inputProps:_,errorMessageProps:$}=rn({...p,isDisabled:h,isReadOnly:i,isRequired:a,placeholder:f,label:c},m);let w=null;return typeof c=="string"?w=T(et,{...b,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...b})),le(pr,{children:[w,T(fr,{"data-state":d,paddingSize:s,ref:m,placeholder:"Enter...",type:"text",..._,required:a}),r?le(nn,{...$,children:[T(Ee.Error,{}),r]}):null,n?T(on,{...v,children:n}):null]})});Ko.displayName="TextInput";const[an,Tk]=ke("Tooltip",[Ot]),sn=Ot(),Gy="TooltipProvider",qy=700,Bo="tooltip.open",[Yy,Wo]=an(Gy),Xy=e=>{const{__scopeTooltip:t,delayDuration:r=qy,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:i}=e,[a,s]=l.useState(!0),c=l.useRef(!1),d=l.useRef(0);return l.useEffect(()=>{const f=d.current;return()=>window.clearTimeout(f)},[]),l.createElement(Yy,{scope:t,isOpenDelayed:a,delayDuration:r,onOpen:l.useCallback(()=>{window.clearTimeout(d.current),s(!1)},[]),onClose:l.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:l.useCallback(f=>{c.current=f},[]),disableHoverableContent:o},i)},Uo="Tooltip",[Zy,mr]=an(Uo),Jy=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,c=Wo(Uo,e.__scopeTooltip),d=sn(t),[f,p]=l.useState(null),m=Re(),g=l.useRef(0),h=a??c.disableHoverableContent,b=s??c.delayDuration,v=l.useRef(!1),[_=!1,$]=je({prop:n,defaultProp:o,onChange:I=>{I?(c.onOpen(),document.dispatchEvent(new CustomEvent(Bo))):c.onClose(),i==null||i(I)}}),w=l.useMemo(()=>_?v.current?"delayed-open":"instant-open":"closed",[_]),y=l.useCallback(()=>{window.clearTimeout(g.current),v.current=!1,$(!0)},[$]),O=l.useCallback(()=>{window.clearTimeout(g.current),$(!1)},[$]),M=l.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{v.current=!0,$(!0)},b)},[b,$]);return l.useEffect(()=>()=>window.clearTimeout(g.current),[]),l.createElement(co,d,l.createElement(Zy,{scope:t,contentId:m,open:_,stateAttribute:w,trigger:f,onTriggerChange:p,onTriggerEnter:l.useCallback(()=>{c.isOpenDelayed?M():y()},[c.isOpenDelayed,M,y]),onTriggerLeave:l.useCallback(()=>{h?O():window.clearTimeout(g.current)},[O,h]),onOpen:y,onClose:O,disableHoverableContent:h},r))},Cc="TooltipTrigger",Qy=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=mr(Cc,r),i=Wo(Cc,r),a=sn(r),s=l.useRef(null),c=de(t,s,o.onTriggerChange),d=l.useRef(!1),f=l.useRef(!1),p=l.useCallback(()=>d.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),l.createElement(uo,E({asChild:!0},a),l.createElement(re.button,E({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:c,onPointerMove:G(e.onPointerMove,m=>{m.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:G(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:G(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:G(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:G(e.onBlur,o.onClose),onClick:G(e.onClick,o.onClose)})))}),Dc="TooltipPortal",[e$,t$]=an(Dc,{forceMount:void 0}),r$=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,i=mr(Dc,t);return l.createElement(e$,{scope:t,forceMount:r},l.createElement(Oe,{present:r||i.open},l.createElement(er,{asChild:!0,container:o},n)))},br="TooltipContent",n$=l.forwardRef((e,t)=>{const r=t$(br,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...i}=e,a=mr(br,e.__scopeTooltip);return l.createElement(Oe,{present:n||a.open},a.disableHoverableContent?l.createElement(Ic,E({side:o},i,{ref:t})):l.createElement(o$,E({side:o},i,{ref:t})))}),o$=l.forwardRef((e,t)=>{const r=mr(br,e.__scopeTooltip),n=Wo(br,e.__scopeTooltip),o=l.useRef(null),i=de(t,o),[a,s]=l.useState(null),{trigger:c,onClose:d}=r,f=o.current,{onPointerInTransitChange:p}=n,m=l.useCallback(()=>{s(null),p(!1)},[p]),g=l.useCallback((h,b)=>{const v=h.currentTarget,_={x:h.clientX,y:h.clientY},$=c$(_,v.getBoundingClientRect()),w=$==="right"||$==="bottom"?-5:5,O=$==="right"||$==="left"?{x:h.clientX+w,y:h.clientY}:{x:h.clientX,y:h.clientY+w},M=u$(b.getBoundingClientRect()),I=f$([O,...M]);s(I),p(!0)},[p]);return l.useEffect(()=>()=>m(),[m]),l.useEffect(()=>{if(c&&f){const h=v=>g(v,f),b=v=>g(v,c);return c.addEventListener("pointerleave",h),f.addEventListener("pointerleave",b),()=>{c.removeEventListener("pointerleave",h),f.removeEventListener("pointerleave",b)}}},[c,f,g,m]),l.useEffect(()=>{if(a){const h=b=>{const v=b.target,_={x:b.clientX,y:b.clientY},$=(c==null?void 0:c.contains(v))||(f==null?void 0:f.contains(v)),w=!d$(_,a);$?m():w&&(m(),d())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[c,f,a,d,m]),l.createElement(Ic,E({},e,{ref:i}))}),[i$,a$]=an(Uo,{isInside:!1}),Ic=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,c=mr(br,r),d=sn(r),{onClose:f}=c;return l.useEffect(()=>(document.addEventListener(Bo,f),()=>document.removeEventListener(Bo,f)),[f]),l.useEffect(()=>{if(c.trigger){const p=m=>{const g=m.target;g!=null&&g.contains(c.trigger)&&f()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,f]),l.createElement(Qt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:p=>p.preventDefault(),onDismiss:f},l.createElement(fo,E({"data-state":c.stateAttribute},d,s,{ref:t,style:{...s.style,["--radix-tooltip-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}),l.createElement(Mn,null,n),l.createElement(i$,{scope:r,isInside:!0},l.createElement($s,{id:c.contentId,role:"tooltip"},o||n))))}),s$="TooltipArrow",l$=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=sn(r);return a$(s$,r).isInside?null:l.createElement(Ks,E({},o,n,{ref:t}))});function c$(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,o,i)){case i:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:return null}}function u$(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 d$(e,t){const{x:r,y:n}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i].x,c=t[i].y,d=t[a].x,f=t[a].y;c>n!=f>n&&r<(d-s)*(n-c)/(f-c)+s&&(o=!o)}return o}function f$(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),p$(t)}function p$(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 i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.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 i=r[r.length-1],a=r[r.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.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 m$=Xy,b$=Jy,g$=Qy,h$=r$,v$=n$,y$=l$,$$=P.keyframes`
|
|
721
|
+
from {
|
|
722
|
+
opacity: 0;
|
|
723
|
+
transform: translateX(-10px);
|
|
724
|
+
}
|
|
725
|
+
to {
|
|
726
|
+
opacity: 1;
|
|
727
|
+
transform: translateY(0);
|
|
728
|
+
}
|
|
729
|
+
`,_$=P.keyframes`
|
|
730
|
+
from {
|
|
731
|
+
opacity: 0;
|
|
732
|
+
transform: translateX(10px);
|
|
733
|
+
}
|
|
734
|
+
to {
|
|
735
|
+
opacity: 1;
|
|
736
|
+
transform: translateY(0);
|
|
737
|
+
}
|
|
738
|
+
`,x$=P.keyframes`
|
|
739
|
+
from {
|
|
740
|
+
opacity: 0;
|
|
741
|
+
transform: translateY(-10px);
|
|
742
|
+
}
|
|
743
|
+
to {
|
|
744
|
+
opacity: 1;
|
|
745
|
+
transform: translateY(0);
|
|
746
|
+
}
|
|
747
|
+
`,w$=P.keyframes`
|
|
748
|
+
from {
|
|
749
|
+
opacity: 0;
|
|
750
|
+
transform: translateY(10px);
|
|
751
|
+
}
|
|
752
|
+
to {
|
|
753
|
+
opacity: 1;
|
|
754
|
+
transform: translateY(0);
|
|
755
|
+
}
|
|
756
|
+
`,E$=P(v$)`
|
|
718
757
|
padding: ${u.sizing_200} ${u.sizing_200};
|
|
719
758
|
background: ${u.color_background_black_standard};
|
|
720
759
|
color: ${u.color_text_white_standard};
|
|
@@ -723,16 +762,34 @@ border-width: 0;
|
|
|
723
762
|
line-height: ${u.line_height_133}; /* identical to box height 16px */
|
|
724
763
|
font-family: ${u.font_family_sans};
|
|
725
764
|
max-width: ${u.sizing_1000}; /* TODO ask designers? */
|
|
726
|
-
z-index:
|
|
727
|
-
|
|
765
|
+
z-index: 30; /* TODO get from tokens */
|
|
766
|
+
animation-duration: 400ms;
|
|
767
|
+
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); // move to tokens?
|
|
768
|
+
|
|
769
|
+
&[data-side='top'] {
|
|
770
|
+
animation-name: ${w$};
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
&[data-side='bottom'] {
|
|
774
|
+
animation-name: ${x$};
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
&[data-side='left'] {
|
|
778
|
+
animation-name: ${_$};
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
&[data-side='right'] {
|
|
782
|
+
animation-name: ${$$};
|
|
783
|
+
}
|
|
784
|
+
`,S$=P(y$)`
|
|
728
785
|
fill: 'white';
|
|
729
|
-
`;function
|
|
786
|
+
`;function T$({children:e,...t}){return T(h$,{children:le(E$,{...t,children:[e,T(S$,{})]})})}const k$=P(g$)`
|
|
730
787
|
appearance: none;
|
|
731
788
|
padding: 0;
|
|
732
789
|
border: none;
|
|
733
790
|
background-color: unset;
|
|
734
791
|
line-height: 0;
|
|
735
|
-
`,
|
|
792
|
+
`,Ho=l.forwardRef((e,t)=>{const{children:r,asChild:n,...o}=e;return T(k$,{ref:t,...o,type:"button",asChild:n,children:r})});Ho.displayName="TooltipTrigger";const Oc=m$,Ac=b$,Nc=T$,P$=P(Ho)`
|
|
736
793
|
color: ${u.color_text_white_weak};
|
|
737
794
|
margin-block: auto;
|
|
738
795
|
|
|
@@ -752,7 +809,7 @@ border-width: 0;
|
|
|
752
809
|
&:not([data-state~='closed']) > svg {
|
|
753
810
|
color: steelblue;
|
|
754
811
|
}
|
|
755
|
-
`;function cr({children:e,icon:t=P(_e.Help,{}),label:r="More info"}){return P(wc,{children:oe(Ec,{children:[P(Yy,{children:P(Xt,{label:r,children:t})}),P(Tc,{sideOffset:5,children:e})]})})}const Sc=7e3;let Bo=null;function Xy(e,t="assertive",r=Sc){Bo||(Bo=new Zy),Bo.announce(e,t,r)}class Zy{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=Sc){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 Jy(e){return e&&e.__esModule?e.default:e}var kc={},Pc={};Pc={Empty:"فارغ"};var Cc={};Cc={Empty:"Изпразни"};var Dc={};Dc={Empty:"Prázdné"};var Ic={};Ic={Empty:"Tom"};var Oc={};Oc={Empty:"Leer"};var Ac={};Ac={Empty:"Άδειο"};var Nc={};Nc={Empty:"Empty"};var zc={};zc={Empty:"Vacío"};var Lc={};Lc={Empty:"Tühjenda"};var Mc={};Mc={Empty:"Tyhjä"};var Fc={};Fc={Empty:"Vide"};var Vc={};Vc={Empty:"ריק"};var jc={};jc={Empty:"Prazno"};var Rc={};Rc={Empty:"Üres"};var Kc={};Kc={Empty:"Vuoto"};var Bc={};Bc={Empty:"空"};var Uc={};Uc={Empty:"비어 있음"};var Wc={};Wc={Empty:"Tuščias"};var Hc={};Hc={Empty:"Tukšs"};var Gc={};Gc={Empty:"Tom"};var qc={};qc={Empty:"Leeg"};var Yc={};Yc={Empty:"Pusty"};var Xc={};Xc={Empty:"Vazio"};var Zc={};Zc={Empty:"Vazio"};var Jc={};Jc={Empty:"Gol"};var Qc={};Qc={Empty:"Не заполнено"};var eu={};eu={Empty:"Prázdne"};var tu={};tu={Empty:"Prazen"};var ru={};ru={Empty:"Prazno"};var nu={};nu={Empty:"Tomt"};var ou={};ou={Empty:"Boş"};var au={};au={Empty:"Пусто"};var iu={};iu={Empty:"空"};var su={};su={Empty:"空白"},kc={"ar-AE":Pc,"bg-BG":Cc,"cs-CZ":Dc,"da-DK":Ic,"de-DE":Oc,"el-GR":Ac,"en-US":Nc,"es-ES":zc,"et-EE":Lc,"fi-FI":Mc,"fr-FR":Fc,"he-IL":Vc,"hr-HR":jc,"hu-HU":Rc,"it-IT":Kc,"ja-JP":Bc,"ko-KR":Uc,"lt-LT":Wc,"lv-LV":Hc,"nb-NO":Gc,"nl-NL":qc,"pl-PL":Yc,"pt-BR":Xc,"pt-PT":Zc,"ro-RO":Jc,"ru-RU":Qc,"sk-SK":eu,"sl-SI":tu,"sr-SP":ru,"sv-SE":nu,"tr-TR":ou,"uk-UA":au,"zh-CN":iu,"zh-TW":su};function Qy(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:c,onIncrement:f,onIncrementPage:d,onDecrement:p,onDecrementPage:b,onDecrementToMin:m,onIncrementToMax:h}=e;const g=nr(Jy(kc)),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(d){k.preventDefault(),d();break}case"ArrowUp":case"Up":f&&(k.preventDefault(),f());break;case"PageDown":if(b){k.preventDefault(),b();break}case"ArrowDown":case"Down":p&&(k.preventDefault(),p());break;case"Home":m&&(k.preventDefault(),m());break;case"End":h&&(k.preventDefault(),h());break}},w=l.useRef(!1),y=()=>{w.current=!0},A=()=>{w.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{w.current&&Xy(n,"assertive")},[n]);const L=l.useCallback(k=>{$(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&L(60)},k)},[f,a,r]),D=l.useCallback(k=>{$(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&D(60)},k)},[p,o,r]);let z=k=>{k.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:Y}=Js();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:()=>{L(400),F(window,"contextmenu",z)},onPressEnd:()=>{$(),Y()},onFocus:y,onBlur:A},decrementButtonProps:{onPressStart:()=>{D(400),F(window,"contextmenu",z)},onPressEnd:()=>{$(),Y()},onFocus:y,onBlur:A}}}function e$(e){return e&&e.__esModule?e.default:e}var lu={},cu={};cu={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var uu={};uu={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var du={};du={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var fu={};fu={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var pu={};pu={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var bu={};bu={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var mu={};mu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var gu={};gu={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var hu={};hu={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var vu={};vu={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var yu={};yu={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var $u={};$u={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var _u={};_u={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var xu={};xu={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var wu={};wu={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Eu={};Eu={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Tu={};Tu={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Su={};Su={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var ku={};ku={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Pu={};Pu={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Cu={};Cu={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Du={};Du={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Iu={};Iu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Ou={};Ou={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Au={};Au={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Nu={};Nu={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var zu={};zu={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Lu={};Lu={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Mu={};Mu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Fu={};Fu={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Vu={};Vu={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var ju={};ju={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Ru={};Ru={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Ku={};Ku={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},lu={"ar-AE":cu,"bg-BG":uu,"cs-CZ":du,"da-DK":fu,"de-DE":pu,"el-GR":bu,"en-US":mu,"es-ES":gu,"et-EE":hu,"fi-FI":vu,"fr-FR":yu,"he-IL":$u,"hr-HR":_u,"hu-HU":xu,"it-IT":wu,"ja-JP":Eu,"ko-KR":Tu,"lt-LT":Su,"lv-LV":ku,"nb-NO":Pu,"nl-NL":Cu,"pl-PL":Du,"pt-BR":Iu,"pt-PT":Ou,"ro-RO":Au,"ru-RU":Nu,"sk-SK":zu,"sl-SI":Lu,"sr-SP":Mu,"sv-SE":Fu,"tr-TR":Vu,"uk-UA":ju,"zh-CN":Ru,"zh-TW":Ku};function t$(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:c,minValue:f,maxValue:d,autoFocus:p,validationState:b,label:m,formatOptions:h,onBlur:g=()=>{},onFocus:v,onFocusChange:$,onKeyDown:_,onKeyUp:w,description:y,errorMessage:A,...L}=e,{increment:D,incrementToMax:z,decrement:F,decrementToMin:Y,numberValue:k,commit:G}=t;const O=nr(e$(lu));let T=yt(n),{focusProps:Q}=xo({onBlur:()=>{G()}}),{spinButtonProps:ee,incrementButtonProps:de,decrementButtonProps:ge}=Qy({isDisabled:i,isReadOnly:s,isRequired:c,maxValue:d,minValue:f,onIncrement:D,onIncrementToMax:z,onDecrement:F,onDecrementToMin:Y,value:k,textValue:t.inputValue}),[te,E]=l.useState(!1),{focusWithinProps:N}=fl({isDisabled:i,onFocusWithinChange:E}),K=l.useCallback(Pe=>{Math.abs(Pe.deltaY)<=Math.abs(Pe.deltaX)||(Pe.deltaY>0?D():Pe.deltaY<0&&F())},[F,D]);i0({onScroll:K,isDisabled:i||s||!te},r);let R=C0(h),q=l.useMemo(()=>R.resolvedOptions(),[R]).maximumFractionDigits>0,X=isNaN(t.minValue)||t.minValue<0,J="numeric";el()?X?J="text":q&&(J="decimal"):rl()&&(X?J="numeric":q&&(J="decimal"));let ae=Pe=>{t.setInputValue(Pe)},ne=er(e),{labelProps:ve,inputProps:he,descriptionProps:Te,errorMessageProps:Re}=fy({...L,...ne,label:m,autoFocus:p,isDisabled:i,isReadOnly:s,isRequired:c,validationState:b,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:J,onChange:ae,onBlur:g,onFocus:v,onFocusChange:$,onKeyDown:_,onKeyUp:w,description:y,errorMessage:A},t,r),Ie=Ee(ee,Q,he,{role:null,"aria-roledescription":bo()?null:O.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),Ke=Pe=>{document.activeElement!==r.current&&(Pe.pointerType==="mouse"?r.current.focus():Pe.target.focus())},ye=e["aria-label"]||(typeof e.label=="string"?e.label:""),$e;ye||($e=e.label!=null?ve.id:e["aria-labelledby"]);let Ne=yt(),ze=yt(),ft=Ee(de,{"aria-label":a||O.format("increase",{fieldLabel:ye}).trim(),id:$e&&!a?Ne:null,"aria-labelledby":$e&&!a?`${Ne} ${$e}`:null,"aria-controls":T,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Ke}),Ht=Ee(ge,{"aria-label":o||O.format("decrease",{fieldLabel:ye}).trim(),id:$e&&!o?ze:null,"aria-labelledby":$e&&!o?`${ze} ${$e}`:null,"aria-controls":T,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Ke});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":b==="invalid"?"true":void 0,...N},labelProps:ve,inputProps:Ie,incrementButtonProps:ft,decrementButtonProps:Ht,errorMessageProps:Re,descriptionProps:Te}}function r$(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:c,isDisabled:f,isReadOnly:d}=e,[p,b]=Us(a,isNaN(i)?NaN:i,s),[m,h]=l.useState(()=>isNaN(p)?"":new Co(c,o).format(p)),g=l.useMemo(()=>new $0(c,o),[c,o]),v=l.useMemo(()=>g.getNumberingSystem(m),[g,m]),$=l.useMemo(()=>new Co(c,{...o,numberingSystem:v}),[c,o,v]),_=l.useMemo(()=>$.resolvedOptions(),[$]),w=l.useCallback(te=>isNaN(te)||te===null?"":$.format(te),[$]),y=isNaN(n)?1:n;_.style==="percent"&&isNaN(n)&&(y=.01);let A=l.useRef(p),L=l.useRef(c),D=l.useRef(o);(!Object.is(p,A.current)||c!==L.current||o!==D.current)&&(h(w(p)),A.current=p,L.current=c,D.current=o);let z=l.useMemo(()=>g.parse(m),[g,m]),F=l.useRef(0);F.current=z;let Y=()=>{if(!m.length){b(NaN),h(a===void 0?"":w(p));return}if(isNaN(F.current)){h(w(p));return}let te;isNaN(n)?te=Sv(F.current,t,r):te=vt(F.current,t,r,n),te=g.parse(w(te)),b(te),h(w(a===void 0?te:p))},k=(te,E)=>{let N=F.current;if(isNaN(N)){let K=isNaN(E)?0:E;return vt(K,t,r,y)}else{let K=vt(N,t,r,y);return te==="+"&&K>N||te==="-"&&K<N?K:vt(Uo(te,N,y),t,r,y)}},G=()=>{let te=k("+",t);te===p&&h(w(te)),b(te)},O=()=>{let te=k("-",r);te===p&&h(w(te)),b(te)},T=()=>{r!=null&&b(vt(r,t,r,y))},Q=()=>{t!=null&&b(t)},ee=l.useMemo(()=>!f&&!d&&(isNaN(z)||isNaN(r)||vt(z,t,r,y)>z||Uo("+",z,y)<=r),[f,d,t,r,y,z]),de=l.useMemo(()=>!f&&!d&&(isNaN(z)||isNaN(t)||vt(z,t,r,y)<z||Uo("-",z,y)>=t),[f,d,t,r,y,z]);return{validate:te=>g.isValidPartialNumber(te,t,r),increment:G,incrementToMax:T,decrement:O,decrementToMin:Q,canIncrement:ee,canDecrement:de,minValue:t,maxValue:r,numberValue:z,setInputValue:h,inputValue:m,commit:Y}}function Uo(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 Bu(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=zo(e,t),{children:o,className:a}=e;return P("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const n$=C.div`
|
|
812
|
+
`;function gr({children:e,icon:t=T(Ee.Help,{}),label:r="More info"}){return T(Oc,{children:le(Ac,{children:[T(P$,{children:T(tr,{label:r,children:t})}),T(Nc,{sideOffset:5,children:e})]})})}const zc=7e3;let Go=null;function C$(e,t="assertive",r=zc){Go||(Go=new D$),Go.announce(e,t,r)}class D${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=zc){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 I$(e){return e&&e.__esModule?e.default:e}var Lc={},Mc={};Mc={Empty:"فارغ"};var Fc={};Fc={Empty:"Изпразни"};var jc={};jc={Empty:"Prázdné"};var Vc={};Vc={Empty:"Tom"};var Rc={};Rc={Empty:"Leer"};var Kc={};Kc={Empty:"Άδειο"};var Bc={};Bc={Empty:"Empty"};var Wc={};Wc={Empty:"Vacío"};var Uc={};Uc={Empty:"Tühjenda"};var Hc={};Hc={Empty:"Tyhjä"};var Gc={};Gc={Empty:"Vide"};var qc={};qc={Empty:"ריק"};var Yc={};Yc={Empty:"Prazno"};var Xc={};Xc={Empty:"Üres"};var Zc={};Zc={Empty:"Vuoto"};var Jc={};Jc={Empty:"空"};var Qc={};Qc={Empty:"비어 있음"};var eu={};eu={Empty:"Tuščias"};var tu={};tu={Empty:"Tukšs"};var ru={};ru={Empty:"Tom"};var nu={};nu={Empty:"Leeg"};var ou={};ou={Empty:"Pusty"};var iu={};iu={Empty:"Vazio"};var au={};au={Empty:"Vazio"};var su={};su={Empty:"Gol"};var lu={};lu={Empty:"Не заполнено"};var cu={};cu={Empty:"Prázdne"};var uu={};uu={Empty:"Prazen"};var du={};du={Empty:"Prazno"};var fu={};fu={Empty:"Tomt"};var pu={};pu={Empty:"Boş"};var mu={};mu={Empty:"Пусто"};var bu={};bu={Empty:"空"};var gu={};gu={Empty:"空白"},Lc={"ar-AE":Mc,"bg-BG":Fc,"cs-CZ":jc,"da-DK":Vc,"de-DE":Rc,"el-GR":Kc,"en-US":Bc,"es-ES":Wc,"et-EE":Uc,"fi-FI":Hc,"fr-FR":Gc,"he-IL":qc,"hr-HR":Yc,"hu-HU":Xc,"it-IT":Zc,"ja-JP":Jc,"ko-KR":Qc,"lt-LT":eu,"lv-LV":tu,"nb-NO":ru,"nl-NL":nu,"pl-PL":ou,"pt-BR":iu,"pt-PT":au,"ro-RO":su,"ru-RU":lu,"sk-SK":cu,"sl-SI":uu,"sr-SP":du,"sv-SE":fu,"tr-TR":pu,"uk-UA":mu,"zh-CN":bu,"zh-TW":gu};function O$(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:i,isDisabled:a,isReadOnly:s,isRequired:c,onIncrement:d,onIncrementPage:f,onDecrement:p,onDecrementPage:m,onDecrementToMin:g,onIncrementToMax:h}=e;const b=ur(I$(Lc)),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(f){k.preventDefault(),f();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":g&&(k.preventDefault(),g());break;case"End":h&&(k.preventDefault(),h());break}},w=l.useRef(!1),y=()=>{w.current=!0},O=()=>{w.current=!1};n=n===""?b.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{w.current&&C$(n,"assertive")},[n]);const M=l.useCallback(k=>{_(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(i)||isNaN(r)||r<i)&&M(60)},k)},[d,i,r]),I=l.useCallback(k=>{_(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&I(60)},k)},[p,o,r]);let A=k=>{k.preventDefault()},{addGlobalListener:L,removeAllGlobalListeners:J}=al();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":o,"aria-valuemax":i,"aria-disabled":a||null,"aria-readonly":s||null,"aria-required":c||null,onKeyDown:$,onFocus:y,onBlur:O},incrementButtonProps:{onPressStart:()=>{M(400),L(window,"contextmenu",A)},onPressEnd:()=>{_(),J()},onFocus:y,onBlur:O},decrementButtonProps:{onPressStart:()=>{I(400),L(window,"contextmenu",A)},onPressEnd:()=>{_(),J()},onFocus:y,onBlur:O}}}function A$(e){return e&&e.__esModule?e.default:e}var hu={},vu={};vu={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var yu={};yu={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var $u={};$u={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var _u={};_u={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var xu={};xu={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var wu={};wu={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var Eu={};Eu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Su={};Su={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Tu={};Tu={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var ku={};ku={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var Pu={};Pu={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var Cu={};Cu={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Du={};Du={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Iu={};Iu={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Ou={};Ou={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Au={};Au={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Nu={};Nu={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var zu={};zu={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Lu={};Lu={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Mu={};Mu={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Fu={};Fu={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var ju={};ju={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Vu={};Vu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Ru={};Ru={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Ku={};Ku={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Bu={};Bu={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Wu={};Wu={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Uu={};Uu={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Hu={};Hu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Gu={};Gu={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var qu={};qu={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Yu={};Yu={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Xu={};Xu={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Zu={};Zu={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},hu={"ar-AE":vu,"bg-BG":yu,"cs-CZ":$u,"da-DK":_u,"de-DE":xu,"el-GR":wu,"en-US":Eu,"es-ES":Su,"et-EE":Tu,"fi-FI":ku,"fr-FR":Pu,"he-IL":Cu,"hr-HR":Du,"hu-HU":Iu,"it-IT":Ou,"ja-JP":Au,"ko-KR":Nu,"lt-LT":zu,"lv-LV":Lu,"nb-NO":Mu,"nl-NL":Fu,"pl-PL":ju,"pt-BR":Vu,"pt-PT":Ru,"ro-RO":Ku,"ru-RU":Bu,"sk-SK":Wu,"sl-SI":Uu,"sr-SP":Hu,"sv-SE":Gu,"tr-TR":qu,"uk-UA":Yu,"zh-CN":Xu,"zh-TW":Zu};function N$(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:i,isDisabled:a,isReadOnly:s,isRequired:c,minValue:d,maxValue:f,autoFocus:p,validationState:m,label:g,formatOptions:h,onBlur:b=()=>{},onFocus:v,onFocusChange:_,onKeyDown:$,onKeyUp:w,description:y,errorMessage:O,...M}=e,{increment:I,incrementToMax:A,decrement:L,decrementToMin:J,numberValue:k,commit:Y}=t;const C=ur(A$(hu));let S=yt(n),{focusProps:U}=To({onBlur:()=>{Y()}}),{spinButtonProps:ae,incrementButtonProps:ue,decrementButtonProps:he}=O$({isDisabled:a,isReadOnly:s,isRequired:c,maxValue:f,minValue:d,onIncrement:I,onIncrementToMax:A,onDecrement:L,onDecrementToMin:J,value:k,textValue:t.inputValue}),[te,z]=l.useState(!1),{focusWithinProps:V}=$l({isDisabled:a,onFocusWithinChange:z}),H=l.useCallback(Ie=>{Math.abs(Ie.deltaY)<=Math.abs(Ie.deltaX)||(Ie.deltaY>0?I():Ie.deltaY<0&&L())},[L,I]);z0({onScroll:H,isDisabled:a||s||!te},r);let q=oy(h),ee=l.useMemo(()=>q.resolvedOptions(),[q]).maximumFractionDigits>0,j=isNaN(t.minValue)||t.minValue<0,K="numeric";ll()?j?K="text":ee&&(K="decimal"):ul()&&(j?K="numeric":ee&&(K="decimal"));let Z=Ie=>{t.setInputValue(Ie)},W=sr(e),{labelProps:ne,inputProps:Q,descriptionProps:ye,errorMessageProps:we}=Ry({...M,...W,label:g,autoFocus:p,isDisabled:a,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:S,type:"text",inputMode:K,onChange:Z,onBlur:b,onFocus:v,onFocusChange:_,onKeyDown:$,onKeyUp:w,description:y,errorMessage:O},t,r),Ne=Se(ae,U,Q,{role:null,"aria-roledescription":vo()?null:C.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),De=Ie=>{document.activeElement!==r.current&&(Ie.pointerType==="mouse"?r.current.focus():Ie.target.focus())},ze=e["aria-label"]||(typeof e.label=="string"?e.label:""),Le;ze||(Le=e.label!=null?ne.id:e["aria-labelledby"]);let Ce=yt(),Ge=yt(),qt=Se(ue,{"aria-label":i||C.format("increase",{fieldLabel:ze}).trim(),id:Le&&!i?Ce:null,"aria-labelledby":Le&&!i?`${Ce} ${Le}`:null,"aria-controls":S,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:De}),Me=Se(he,{"aria-label":o||C.format("decrease",{fieldLabel:ze}).trim(),id:Le&&!o?Ge:null,"aria-labelledby":Le&&!o?`${Ge} ${Le}`:null,"aria-controls":S,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:De});return{groupProps:{role:"group","aria-disabled":a,"aria-invalid":m==="invalid"?"true":void 0,...V},labelProps:ne,inputProps:Ne,incrementButtonProps:qt,decrementButtonProps:Me,errorMessageProps:we,descriptionProps:ye}}function z$(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:i,defaultValue:a,onChange:s,locale:c,isDisabled:d,isReadOnly:f}=e,[p,m]=Js(i,isNaN(a)?NaN:a,s),[g,h]=l.useState(()=>isNaN(p)?"":new Ao(c,o).format(p)),b=l.useMemo(()=>new Y0(c,o),[c,o]),v=l.useMemo(()=>b.getNumberingSystem(g),[b,g]),_=l.useMemo(()=>new Ao(c,{...o,numberingSystem:v}),[c,o,v]),$=l.useMemo(()=>_.resolvedOptions(),[_]),w=l.useCallback(te=>isNaN(te)||te===null?"":_.format(te),[_]),y=isNaN(n)?1:n;$.style==="percent"&&isNaN(n)&&(y=.01);let O=l.useRef(p),M=l.useRef(c),I=l.useRef(o);(!Object.is(p,O.current)||c!==M.current||o!==I.current)&&(h(w(p)),O.current=p,M.current=c,I.current=o);let A=l.useMemo(()=>b.parse(g),[b,g]),L=l.useRef(0);L.current=A;let J=()=>{if(!g.length){m(NaN),h(i===void 0?"":w(p));return}if(isNaN(L.current)){h(w(p));return}let te;isNaN(n)?te=t0(L.current,t,r):te=vt(L.current,t,r,n),te=b.parse(w(te)),m(te),h(w(i===void 0?te:p))},k=(te,z)=>{let V=L.current;if(isNaN(V)){let H=isNaN(z)?0:z;return vt(H,t,r,y)}else{let H=vt(V,t,r,y);return te==="+"&&H>V||te==="-"&&H<V?H:vt(qo(te,V,y),t,r,y)}},Y=()=>{let te=k("+",t);te===p&&h(w(te)),m(te)},C=()=>{let te=k("-",r);te===p&&h(w(te)),m(te)},S=()=>{r!=null&&m(vt(r,t,r,y))},U=()=>{t!=null&&m(t)},ae=l.useMemo(()=>!d&&!f&&(isNaN(A)||isNaN(r)||vt(A,t,r,y)>A||qo("+",A,y)<=r),[d,f,t,r,y,A]),ue=l.useMemo(()=>!d&&!f&&(isNaN(A)||isNaN(t)||vt(A,t,r,y)<A||qo("-",A,y)>=t),[d,f,t,r,y,A]);return{validate:te=>b.isValidPartialNumber(te,t,r),increment:Y,incrementToMax:S,decrement:C,decrementToMin:U,canIncrement:ae,canDecrement:ue,minValue:t,maxValue:r,numberValue:A,setInputValue:h,inputValue:g,commit:J}}function qo(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const o=t.toString().split("."),i=r.toString().split("."),a=o[1]&&o[1].length||0,s=i[1]&&i[1].length||0,c=Math.pow(10,Math.max(a,s));t=Math.round(t*c),r=Math.round(r*c),n=e==="+"?t+r:t-r,n/=c}return n}function Ju(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=jo(e,t),{children:o,className:i}=e;return T("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:i,children:o})}const L$=P.div`
|
|
756
813
|
/*
|
|
757
814
|
--border-color: ${u.color_outline_secondary_enabled};
|
|
758
815
|
*/
|
|
@@ -777,7 +834,7 @@ border-width: 0;
|
|
|
777
834
|
&:has(input:invalid) {
|
|
778
835
|
--input-border-color: ${u.color_outline_danger_enabled};
|
|
779
836
|
}
|
|
780
|
-
`,
|
|
837
|
+
`,M$=P(fr)`
|
|
781
838
|
border-top-right-radius: 0;
|
|
782
839
|
border-color: var(
|
|
783
840
|
--input-border-color,
|
|
@@ -789,7 +846,7 @@ border-width: 0;
|
|
|
789
846
|
grid-area: field;
|
|
790
847
|
margin: 0;
|
|
791
848
|
margin-right: -1px; // to make the borders overlap
|
|
792
|
-
`,
|
|
849
|
+
`,Qu=P(Ju)`
|
|
793
850
|
display: grid;
|
|
794
851
|
place-items: center;
|
|
795
852
|
color: ${u.color_text_weak};
|
|
@@ -831,14 +888,14 @@ border-width: 0;
|
|
|
831
888
|
line-height: 0;
|
|
832
889
|
font-size: 1rem;
|
|
833
890
|
}
|
|
834
|
-
`,
|
|
891
|
+
`,F$=P(Qu)`
|
|
835
892
|
border-radius: unset;
|
|
836
893
|
border-top: 1px solid var(--input-border-color);
|
|
837
894
|
border-top-right-radius: ${u.border_radius_400};
|
|
838
895
|
border-bottom-width: 0.5px;
|
|
839
896
|
margin-bottom: -0.5px;
|
|
840
897
|
grid-area: increment;
|
|
841
|
-
`,
|
|
898
|
+
`,j$=P(Qu)`
|
|
842
899
|
border-radius: unset;
|
|
843
900
|
border-bottom: 1px solid var(--input-border-color);
|
|
844
901
|
border-bottom-right-radius: ${u.border_radius_400};
|
|
@@ -846,14 +903,14 @@ border-width: 0;
|
|
|
846
903
|
border-top-width: 0.5px;
|
|
847
904
|
margin-top: -0.5px;
|
|
848
905
|
grid-area: decrement;
|
|
849
|
-
`;function
|
|
906
|
+
`;function ed(e,t){var r;if(e.length&&((r=e[0])!=null&&r.value)){const n=e[0].value;return t.indexOf(n)}}const Yo=l.forwardRef((e,t)=>{const{description:r,disabled:n,readOnly:o,required:i,paddingSize:a="small",label:s,errorMessage:c,placeholder:d="Enter number...",showStepper:f=!0,min:p,max:m,locale:g="en-US",...h}=e,b=Ue(),v=n??b,_=o,$=i,w=Je(t),y=z$({...h,isDisabled:v,isReadOnly:_,isRequired:$,minValue:p,maxValue:m,placeholder:d,locale:g}),{labelProps:O,groupProps:M,inputProps:I,incrementButtonProps:A,decrementButtonProps:L,descriptionProps:J,errorMessageProps:k}=N$({...h,isDisabled:v,isReadOnly:_,isRequired:$,minValue:p,maxValue:m,placeholder:d,label:s},y,w);let Y=null;typeof s=="string"?Y=T(et,{...O,children:s}):l.isValidElement(s)&&(Y=l.cloneElement(s,{...O}));const C=S=>{const{formatOptions:U}=e;if((U==null?void 0:U.style)==="unit"){const ue=Intl.NumberFormat(g,U),he=ue.formatToParts(1).filter(X=>X.type==="unit"),te=ue.formatToParts(3).filter(X=>X.type==="unit"),z=ed(he,y.inputValue),V=ed(te,y.inputValue);let H;if(z&&z>-1?H=z:V&&V>-1&&(H=V),H){const X=S.target.selectionStart;if(X&&X>H){const q=H-1;S.target.setSelectionRange(q,q)}}}};return le(pr,{children:[Y,f?le(L$,{...M,children:[T(M$,{...I,paddingSize:a,ref:w,onClick:C,onFocus:C,required:i}),T(F$,{...A,children:T(Ee.KeyboardArrowUp,{})}),T(j$,{...L,children:T(Ee.KeyboardArrowDown,{})})]}):T(fr,{ref:w,...I,paddingSize:a,required:i}),c?le(nn,{...k,children:[T(Ee.Error,{}),c]}):null,r?T(on,{...J,children:r}):null]})});Yo.displayName="NumberInput";const td=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:i,required:a,paddingSize:s="large",label:c,validationState:d,placeholder:f="Enter text...",...p}=e,m=Je(t),g=Ue(),h=o??g,{labelProps:b,descriptionProps:v,inputProps:_,errorMessageProps:$}=rn({...p,isDisabled:h,isReadOnly:i,isRequired:a,placeholder:f,label:c,inputElementType:"textarea"},m);let w=null;return typeof c=="string"?w=T(et,{...b,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...b})),le(pr,{children:[w,T(fr,{as:"textarea","data-state":d,paddingSize:s,ref:m,placeholder:"Enter...",..._}),r?le(nn,{...$,children:[T(Ee.Error,{}),r]}):null,n?T(on,{...v,children:n}):null]})});td.displayName="TextAreaInput";const Xo=l.createContext({});Xo.displayName="FormControlContext";function ln(){return l.useContext(Xo)}function V$({children:e,label:t,errorMessage:r,description:n,tooltipContent:o,tooltipIcon:i,validationState:a,id:s,...c}){const{descriptionProps:d,errorMessageProps:f,fieldProps:p,labelProps:m}=kc({errorMessage:r,label:t,description:n,validationState:a,id:s,...c});return T(Xo.Provider,{value:p,children:le(pr,{children:[le(et,{...m,display:"flex",children:[t,o?T(gr,{icon:i,children:o}):null]}),e,n?T(on,{...d,children:n}):null,r?le(nn,{...f,children:[T(Ee.Error,{}),r]}):null]})})}const rd=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...i}=e;return T(Ko,{ref:t,label:le(et,{children:[r,n?T(gr,{icon:o,children:n}):null]}),...i})});rd.displayName="TextFormControl";const nd=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...i}=e;return T(td,{ref:t,label:le(et,{children:[r,n?T(gr,{icon:o,children:n}):null]}),...i})});nd.displayName="TextAreaFormControl";const od=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...i}=e;return T(Yo,{ref:t,label:le(et,{children:[r,n?T(gr,{icon:o,children:n}):null]}),...i})});od.displayName="NumberFormControl";function id(e){const t=Ue(),r=e??t;return{...ln(),disabled:r}}const R$=()=>T("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:T("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"})}),K$=()=>T("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:T("path",{d:"M19 13 H5 v-3 h14 v2 z"})}),Zo=P.div`
|
|
850
907
|
display: grid;
|
|
851
908
|
place-items: center;
|
|
852
909
|
width: 16px;
|
|
853
910
|
height: 16px;
|
|
854
911
|
border-radius: ${u.border_radius_400};
|
|
855
912
|
border: 1px solid currentColor;
|
|
856
|
-
background: var(--background-color);
|
|
913
|
+
background: var(--checkbox-background-color);
|
|
857
914
|
overflow: hidden;
|
|
858
915
|
|
|
859
916
|
& > svg {
|
|
@@ -861,7 +918,7 @@ border-width: 0;
|
|
|
861
918
|
width: 100%;
|
|
862
919
|
height: 100%;
|
|
863
920
|
}
|
|
864
|
-
`,
|
|
921
|
+
`,B$=P(Fy)`
|
|
865
922
|
all: unset;
|
|
866
923
|
background-color: ${u.color_white};
|
|
867
924
|
width: ${u.sizing_600};
|
|
@@ -886,7 +943,7 @@ border-width: 0;
|
|
|
886
943
|
|
|
887
944
|
&[data-state~='checked'],
|
|
888
945
|
&[data-state~='indeterminate'] {
|
|
889
|
-
--background-color: ${u.color_fill_primary_enabled};
|
|
946
|
+
--checkbox-background-color: ${u.color_fill_primary_enabled};
|
|
890
947
|
color: ${u.color_fill_primary_enabled};
|
|
891
948
|
}
|
|
892
949
|
|
|
@@ -896,16 +953,16 @@ border-width: 0;
|
|
|
896
953
|
}
|
|
897
954
|
|
|
898
955
|
&[aria-invalid='true'] {
|
|
899
|
-
--background-color: ${u.color_fill_danger_enabled};
|
|
956
|
+
--checkbox-background-color: ${u.color_fill_danger_enabled};
|
|
900
957
|
color: ${u.color_fill_danger_enabled};
|
|
901
958
|
}
|
|
902
|
-
`,
|
|
959
|
+
`,W$=P(jy)`
|
|
903
960
|
line-height: 0;
|
|
904
961
|
|
|
905
962
|
& > svg {
|
|
906
963
|
line-height: 0;
|
|
907
964
|
}
|
|
908
|
-
`;function f$({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const a=Xu(e);return oe(u$,{onCheckedChange:n,...o,...a,checked:t,"aria-invalid":r,children:[!t&&P(Go,{}),oe(d$,{children:[t===!0&&P(Go,{children:P(l$,{})}),t==="indeterminate"&&P(Go,{children:P(c$,{})})]})]})}function p$(e){return e&&e.__esModule?e.default:e}let fe;(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"})(fe||(fe={}));const Zu={...fe,copyMove:fe.copy|fe.move,copyLink:fe.copy|fe.link,linkMove:fe.link|fe.move,all:fe.all,uninitialized:fe.all},b$=Yo(Zu);b$[fe.all]="all",Yo(fe);const Ju={none:"cancel",link:"link",copy:"copy",move:"move"},qo=Yo(Ju);function Yo(e){let t={};for(let r in e)t[e[r]]=r;return t}const Xo="application/vnd.react-aria.items+json",ln="application/octet-stream",m$=Symbol();function g$(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function h$(){return g$(r0())}class cn{has(t){return this.includesUnknownTypes||t===m$&&this.types.has(ln)?!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!==Xo&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(ln));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function v$(e){let t=[],r=!1;if(e.types.includes(Xo))try{let n=e.getData(Xo),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||ln,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(Zo(o.getAsFile())):a.isDirectory&&t.push(Qu(a))}else t.push(Zo(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function y$(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 Zo(e){return{kind:"file",type:e.type||ln,name:e.name,getText:()=>y$(e),getFile:()=>Promise.resolve(e)}}function Qu(e){return{kind:"directory",name:e.name,getEntries:()=>$$(e)}}async function*$$(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 _$(n);yield Zo(o)}else n.isDirectory&&(yield Qu(n))}while(r.length>0)}function _$(e){return new Promise((t,r)=>e.file(t,r))}let ed={draggingKeys:new Set};function x$(e){ed=e}function kS(e){}let td=fe.none,rd=new Map,nd=null,od=new Set;function w$(e){return rd.set(e.element,e),()=>{rd.delete(e.element)}}function E$(){let[e,t]=l.useState(nd);return l.useEffect(()=>{let r=()=>t(nd);return od.add(r),()=>{od.delete(r)}},[]),e}var ad={},id={};id={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 sd={};sd={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 ld={};ld={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 cd={};cd={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 ud={};ud={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 dd={};dd={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 fd={};fd={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 pd={};pd={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 bd={};bd={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 md={};md={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 gd={};gd={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 hd={};hd={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 vd={};vd={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 yd={};yd={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 $d={};$d={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 _d={};_d={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 xd={};xd={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 wd={};wd={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 Ed={};Ed={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 Td={};Td={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 Sd={};Sd={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 kd={};kd={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 Pd={};Pd={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 Cd={};Cd={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 Dd={};Dd={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 Id={};Id={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 Od={};Od={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 Ad={};Ad={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 Nd={};Nd={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 zd={};zd={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 Ld={};Ld={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 Md={};Md={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 Fd={};Fd={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 Vd={};Vd={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}」之間`},ad={"ar-AE":id,"bg-BG":sd,"cs-CZ":ld,"da-DK":cd,"de-DE":ud,"el-GR":dd,"en-US":fd,"es-ES":pd,"et-EE":bd,"fi-FI":md,"fr-FR":gd,"he-IL":hd,"hr-HR":vd,"hu-HU":yd,"it-IT":$d,"ja-JP":_d,"ko-KR":xd,"lt-LT":wd,"lv-LV":Ed,"nb-NO":Td,"nl-NL":Sd,"pl-PL":kd,"pt-BR":Pd,"pt-PT":Cd,"ro-RO":Dd,"ru-RU":Id,"sk-SK":Od,"sl-SI":Ad,"sr-SP":Nd,"sv-SE":zd,"tr-TR":Ld,"uk-UA":Md,"zh-CN":Fd,"zh-TW":Vd};const T$={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function S$(){let e=nr(p$(ad)),t=h$(),r=E$();return{dropProps:{...jv(r?e.format(T$[t]):""),onClick:()=>{}}}}const k$=800;function P$(e){let[t,r]=l.useState(!1),n=l.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:fe.all,dropActivateTimer:null}).current,o=b=>{if(r(!0),typeof e.onDropEnter=="function"){let m=b.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:b.clientX-m.x,y:b.clientY-m.y})}},a=b=>{if(r(!1),typeof e.onDropExit=="function"){let m=b.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:b.clientX-m.x,y:b.clientY-m.y})}},i=b=>{b.preventDefault(),b.stopPropagation();let m=jd(b);if(b.clientX===n.x&&b.clientY===n.y&&m===n.allowedOperations){b.dataTransfer.dropEffect=n.dropEffect;return}n.x=b.clientX,n.y=b.clientY;let h=n.dropEffect;if(m!==n.allowedOperations){let g=Jo(m),v=g[0];if(typeof e.getDropOperation=="function"){let $=new cn(b.dataTransfer);v=un(m,e.getDropOperation($,g))}n.dropEffect=qo[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new cn(b.dataTransfer),v=b.currentTarget.getBoundingClientRect(),$=un(m,e.getDropOperationForPoint(g,Jo(m),n.x-v.x,n.y-v.y));n.dropEffect=qo[$]||"none"}if(n.allowedOperations=m,b.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&h!=="none"?a(b):n.dropEffect!=="none"&&h==="none"&&o(b),typeof e.onDropMove=="function"&&n.dropEffect!=="none"){let g=b.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=b.currentTarget.getBoundingClientRect();n.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:n.x-g.x,y:n.y-g.y})},k$)}},s=b=>{if(b.preventDefault(),b.stopPropagation(),n.dragOverElements.add(b.target),n.dragOverElements.size>1)return;let m=jd(b),h=Jo(m),g=h[0];if(typeof e.getDropOperation=="function"){let v=new cn(b.dataTransfer);g=un(m,e.getDropOperation(v,h))}if(typeof e.getDropOperationForPoint=="function"){let v=new cn(b.dataTransfer),$=b.currentTarget.getBoundingClientRect();g=un(m,e.getDropOperationForPoint(v,h,b.clientX-$.x,b.clientY-$.y))}n.x=b.clientX,n.y=b.clientY,n.allowedOperations=m,n.dropEffect=qo[g]||"none",b.dataTransfer.dropEffect=n.dropEffect,g!=="cancel"&&o(b)},c=b=>{b.preventDefault(),b.stopPropagation(),n.dragOverElements.delete(b.target);for(let m of n.dragOverElements)b.currentTarget.contains(m)||n.dragOverElements.delete(m);n.dragOverElements.size>0||(n.dropEffect!=="none"&&a(b),clearTimeout(n.dropActivateTimer))},f=b=>{if(b.preventDefault(),b.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let h=Ju[n.dropEffect],g=v$(b.dataTransfer),v=b.currentTarget.getBoundingClientRect(),$={type:"drop",x:b.clientX-v.x,y:b.clientY-v.y,items:g,dropOperation:h};e.onDrop($)}let m={...ed};n.dragOverElements.clear(),a(b),clearTimeout(n.dropActivateTimer),m.draggingCollectionRef==null||x$(m)},d=l.useRef(e);d.current=e,rt(()=>w$({element:d.current.ref.current,getDropOperation:d.current.getDropOperation,onDropEnter(b){r(!0),typeof d.current.onDropEnter=="function"&&d.current.onDropEnter(b)},onDropExit(b){r(!1),typeof d.current.onDropExit=="function"&&d.current.onDropExit(b)},onDrop(b){typeof d.current.onDrop=="function"&&d.current.onDrop(b)},onDropActivate(b){typeof d.current.onDropActivate=="function"&&d.current.onDropActivate(b)}}),[d]);let{dropProps:p}=S$();return{dropProps:{...p,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:f},isDropTarget:t}}function jd(e){let t=Zu[e.dataTransfer.effectAllowed];td&&(t&=td);let r=fe.none;return po()?(e.altKey&&(r|=fe.copy),e.ctrlKey&&!tl()&&(r|=fe.link),e.metaKey&&(r|=fe.move)):(e.altKey&&(r|=fe.link),e.shiftKey&&(r|=fe.move),e.ctrlKey&&(r|=fe.copy)),r?t&r:t}function Jo(e){let t=[];return e&fe.move&&t.push("move"),e&fe.copy&&t.push("copy"),e&fe.link&&t.push("link"),t}function un(e,t){let r=fe[t];return e&r?t:"cancel"}const ur=C.p`
|
|
965
|
+
`;function U$({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const i=id(e);return le(B$,{onCheckedChange:n,...o,...i,checked:t,"aria-invalid":r,children:[!t&&T(Zo,{}),le(W$,{children:[t===!0&&T(Zo,{children:T(R$,{})}),t==="indeterminate"&&T(Zo,{children:T(K$,{})})]})]})}function H$(e){return e&&e.__esModule?e.default:e}let ge;(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"})(ge||(ge={}));const ad={...ge,copyMove:ge.copy|ge.move,copyLink:ge.copy|ge.link,linkMove:ge.link|ge.move,all:ge.all,uninitialized:ge.all},G$=Qo(ad);G$[ge.all]="all",Qo(ge);const sd={none:"cancel",link:"link",copy:"copy",move:"move"},Jo=Qo(sd);function Qo(e){let t={};for(let r in e)t[e[r]]=r;return t}const ei="application/vnd.react-aria.items+json",cn="application/octet-stream",q$=Symbol();function Y$(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function X$(){return Y$(I0())}class un{has(t){return this.includesUnknownTypes||t===q$&&this.types.has(cn)?!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!==ei&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(cn));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function Z$(e){let t=[],r=!1;if(e.types.includes(ei))try{let n=e.getData(ei),o=JSON.parse(n);for(let i of o)t.push({kind:"text",types:new Set(Object.keys(i)),getText:a=>Promise.resolve(i[a])});r=!0}catch{}if(!r){let n=new Map;for(let o of e.items)if(o.kind==="string")n.set(o.type||cn,e.getData(o.type));else if(o.kind==="file")if(typeof o.webkitGetAsEntry=="function"){let i=o.webkitGetAsEntry();if(!i)continue;i.isFile?t.push(ti(o.getAsFile())):i.isDirectory&&t.push(ld(i))}else t.push(ti(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function J$(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 ti(e){return{kind:"file",type:e.type||cn,name:e.name,getText:()=>J$(e),getFile:()=>Promise.resolve(e)}}function ld(e){return{kind:"directory",name:e.name,getEntries:()=>Q$(e)}}async function*Q$(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 e_(n);yield ti(o)}else n.isDirectory&&(yield ld(n))}while(r.length>0)}function e_(e){return new Promise((t,r)=>e.file(t,r))}let cd={draggingKeys:new Set};function t_(e){cd=e}function kk(e){}let ud=ge.none,dd=new Map,fd=null,pd=new Set;function r_(e){return dd.set(e.element,e),()=>{dd.delete(e.element)}}function n_(){let[e,t]=l.useState(fd);return l.useEffect(()=>{let r=()=>t(fd);return pd.add(r),()=>{pd.delete(r)}},[]),e}var md={},bd={};bd={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 gd={};gd={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 hd={};hd={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 vd={};vd={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 yd={};yd={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 $d={};$d={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 _d={};_d={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 xd={};xd={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 wd={};wd={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 Ed={};Ed={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 Sd={};Sd={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 Td={};Td={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 kd={};kd={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 Pd={};Pd={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 Cd={};Cd={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 Dd={};Dd={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 Id={};Id={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 Od={};Od={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 Ad={};Ad={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 Nd={};Nd={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 zd={};zd={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 Ld={};Ld={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 Md={};Md={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 Fd={};Fd={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 jd={};jd={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 Vd={};Vd={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 Rd={};Rd={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 Kd={};Kd={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 Bd={};Bd={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 Wd={};Wd={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 Ud={};Ud={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 Hd={};Hd={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 Gd={};Gd={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 qd={};qd={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}」之間`},md={"ar-AE":bd,"bg-BG":gd,"cs-CZ":hd,"da-DK":vd,"de-DE":yd,"el-GR":$d,"en-US":_d,"es-ES":xd,"et-EE":wd,"fi-FI":Ed,"fr-FR":Sd,"he-IL":Td,"hr-HR":kd,"hu-HU":Pd,"it-IT":Cd,"ja-JP":Dd,"ko-KR":Id,"lt-LT":Od,"lv-LV":Ad,"nb-NO":Nd,"nl-NL":zd,"pl-PL":Ld,"pt-BR":Md,"pt-PT":Fd,"ro-RO":jd,"ru-RU":Vd,"sk-SK":Rd,"sl-SI":Kd,"sr-SP":Bd,"sv-SE":Wd,"tr-TR":Ud,"uk-UA":Hd,"zh-CN":Gd,"zh-TW":qd};const o_={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function i_(){let e=ur(H$(md)),t=X$(),r=n_();return{dropProps:{...b0(r?e.format(o_[t]):""),onClick:()=>{}}}}const a_=800;function s_(e){let[t,r]=l.useState(!1),n=l.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:ge.all,dropActivateTimer:null}).current,o=m=>{if(r(!0),typeof e.onDropEnter=="function"){let g=m.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:m.clientX-g.x,y:m.clientY-g.y})}},i=m=>{if(r(!1),typeof e.onDropExit=="function"){let g=m.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:m.clientX-g.x,y:m.clientY-g.y})}},a=m=>{m.preventDefault(),m.stopPropagation();let g=Yd(m);if(m.clientX===n.x&&m.clientY===n.y&&g===n.allowedOperations){m.dataTransfer.dropEffect=n.dropEffect;return}n.x=m.clientX,n.y=m.clientY;let h=n.dropEffect;if(g!==n.allowedOperations){let b=ri(g),v=b[0];if(typeof e.getDropOperation=="function"){let _=new un(m.dataTransfer);v=dn(g,e.getDropOperation(_,b))}n.dropEffect=Jo[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let b=new un(m.dataTransfer),v=m.currentTarget.getBoundingClientRect(),_=dn(g,e.getDropOperationForPoint(b,ri(g),n.x-v.x,n.y-v.y));n.dropEffect=Jo[_]||"none"}if(n.allowedOperations=g,m.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&h!=="none"?i(m):n.dropEffect!=="none"&&h==="none"&&o(m),typeof e.onDropMove=="function"&&n.dropEffect!=="none"){let b=m.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:n.x-b.x,y:n.y-b.y})}if(clearTimeout(n.dropActivateTimer),typeof e.onDropActivate=="function"&&n.dropEffect!=="none"){let b=m.currentTarget.getBoundingClientRect();n.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:n.x-b.x,y:n.y-b.y})},a_)}},s=m=>{if(m.preventDefault(),m.stopPropagation(),n.dragOverElements.add(m.target),n.dragOverElements.size>1)return;let g=Yd(m),h=ri(g),b=h[0];if(typeof e.getDropOperation=="function"){let v=new un(m.dataTransfer);b=dn(g,e.getDropOperation(v,h))}if(typeof e.getDropOperationForPoint=="function"){let v=new un(m.dataTransfer),_=m.currentTarget.getBoundingClientRect();b=dn(g,e.getDropOperationForPoint(v,h,m.clientX-_.x,m.clientY-_.y))}n.x=m.clientX,n.y=m.clientY,n.allowedOperations=g,n.dropEffect=Jo[b]||"none",m.dataTransfer.dropEffect=n.dropEffect,b!=="cancel"&&o(m)},c=m=>{m.preventDefault(),m.stopPropagation(),n.dragOverElements.delete(m.target);for(let g of n.dragOverElements)m.currentTarget.contains(g)||n.dragOverElements.delete(g);n.dragOverElements.size>0||(n.dropEffect!=="none"&&i(m),clearTimeout(n.dropActivateTimer))},d=m=>{if(m.preventDefault(),m.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let h=sd[n.dropEffect],b=Z$(m.dataTransfer),v=m.currentTarget.getBoundingClientRect(),_={type:"drop",x:m.clientX-v.x,y:m.clientY-v.y,items:b,dropOperation:h};e.onDrop(_)}let g={...cd};n.dragOverElements.clear(),i(m),clearTimeout(n.dropActivateTimer),g.draggingCollectionRef==null||t_(g)},f=l.useRef(e);f.current=e,at(()=>r_({element:f.current.ref.current,getDropOperation:f.current.getDropOperation,onDropEnter(m){r(!0),typeof f.current.onDropEnter=="function"&&f.current.onDropEnter(m)},onDropExit(m){r(!1),typeof f.current.onDropExit=="function"&&f.current.onDropExit(m)},onDrop(m){typeof f.current.onDrop=="function"&&f.current.onDrop(m)},onDropActivate(m){typeof f.current.onDropActivate=="function"&&f.current.onDropActivate(m)}}),[f]);let{dropProps:p}=i_();return{dropProps:{...p,onDragEnter:s,onDragOver:a,onDragLeave:c,onDrop:d},isDropTarget:t}}function Yd(e){let t=ad[e.dataTransfer.effectAllowed];ud&&(t&=ud);let r=ge.none;return ho()?(e.altKey&&(r|=ge.copy),e.ctrlKey&&!cl()&&(r|=ge.link),e.metaKey&&(r|=ge.move)):(e.altKey&&(r|=ge.link),e.shiftKey&&(r|=ge.move),e.ctrlKey&&(r|=ge.copy)),r?t&r:t}function ri(e){let t=[];return e&ge.move&&t.push("move"),e&ge.copy&&t.push("copy"),e&ge.link&&t.push("link"),t}function dn(e,t){let r=ge[t];return e&r?t:"cancel"}const hr=P.p`
|
|
909
966
|
font-family: ${u.font_family_sans};
|
|
910
967
|
font-style: var(--text-style, normal);
|
|
911
968
|
font-weight: var(--text-font-weight, 400);
|
|
@@ -913,68 +970,68 @@ border-width: 0;
|
|
|
913
970
|
margin-block: 0;
|
|
914
971
|
overflow-wrap: break-word;
|
|
915
972
|
hyphens: auto;
|
|
916
|
-
`,
|
|
973
|
+
`,ni=P(hr)`
|
|
917
974
|
max-width: 60ch; /* should check with designers */
|
|
918
|
-
`,
|
|
975
|
+
`,l_=P(ni)`
|
|
919
976
|
letter-spacing: ${u.letter_spacing_body_large};
|
|
920
977
|
line-height: ${u.line_height_body_large};
|
|
921
978
|
font-size: ${u.font_size_body_large};
|
|
922
|
-
`,
|
|
979
|
+
`,c_=P(ni)`
|
|
923
980
|
letter-spacing: ${u.letter_spacing_body_medium};
|
|
924
981
|
line-height: ${u.line_height_body_medium};
|
|
925
982
|
font-size: ${u.font_size_body_medium};
|
|
926
|
-
`,
|
|
983
|
+
`,u_=P(ni)`
|
|
927
984
|
letter-spacing: ${u.letter_spacing_body_small};
|
|
928
985
|
line-height: ${u.line_height_body_small};
|
|
929
986
|
font-size: ${u.font_size_body_small};
|
|
930
|
-
`,
|
|
987
|
+
`,d_={large:l_,medium:c_,small:u_};function f_({size:e="medium",...t}){const r=d_[e];return T(r,{...t})}const fn=P.p`
|
|
931
988
|
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
932
989
|
font-family: ${u.font_family_sans};
|
|
933
990
|
font-style: normal;
|
|
934
991
|
font-weight: var(--text-font-weight, 400);
|
|
935
992
|
color: var(--text-color, ${u.color_text_strong});
|
|
936
993
|
margin-block: 0;
|
|
937
|
-
`,
|
|
994
|
+
`,p_=P(fn)`
|
|
938
995
|
letter-spacing: ${u.letter_spacing_number_xsmall};
|
|
939
996
|
line-height: ${u.line_height_number_xsmall};
|
|
940
997
|
font-size: ${u.font_size_number_xsmall};
|
|
941
|
-
`,
|
|
998
|
+
`,m_=P(fn)`
|
|
942
999
|
letter-spacing: ${u.letter_spacing_number_small};
|
|
943
1000
|
line-height: ${u.line_height_number_small};
|
|
944
1001
|
font-size: ${u.font_size_number_small};
|
|
945
|
-
`,
|
|
1002
|
+
`,b_=P(fn)`
|
|
946
1003
|
letter-spacing: ${u.letter_spacing_number_medium};
|
|
947
1004
|
line-height: ${u.line_height_number_medium};
|
|
948
1005
|
font-size: ${u.font_size_number_medium};
|
|
949
|
-
`,
|
|
1006
|
+
`,g_=P(fn)`
|
|
950
1007
|
letter-spacing: ${u.letter_spacing_number_large};
|
|
951
1008
|
line-height: ${u.line_height_number_large};
|
|
952
1009
|
font-size: ${u.font_size_number_large};
|
|
953
|
-
`,
|
|
1010
|
+
`,h_={xsmall:p_,small:m_,medium:b_,large:g_};function v_({size:e="medium",...t}){const r=h_[e];return T(r,{...t})}const y_=P(hr)`
|
|
954
1011
|
letter-spacing: ${u.letter_spacing_number_small};
|
|
955
1012
|
line-height: ${u.line_height_number_small};
|
|
956
1013
|
font-size: ${u.font_size_number_small};
|
|
957
|
-
|
|
1014
|
+
`,$_=P(hr)`
|
|
958
1015
|
letter-spacing: ${u.letter_spacing_number_xsmall};
|
|
959
1016
|
line-height: ${u.line_height_number_xsmall};
|
|
960
1017
|
font-size: ${u.font_size_number_xsmall};
|
|
961
|
-
`,
|
|
1018
|
+
`,__=P(hr)`
|
|
962
1019
|
letter-spacing: ${u.letter_spacing_number_large};
|
|
963
1020
|
line-height: ${u.line_height_number_large};
|
|
964
1021
|
font-size: ${u.font_size_number_large};
|
|
965
|
-
`,
|
|
1022
|
+
`,x_=P(hr)`
|
|
966
1023
|
letter-spacing: ${u.letter_spacing_number_medium};
|
|
967
1024
|
line-height: ${u.line_height_number_medium};
|
|
968
1025
|
font-size: ${u.font_size_number_medium};
|
|
969
|
-
`,
|
|
1026
|
+
`,w_={xsmall:$_,small:y_,medium:x_,large:__};function E_({size:e="medium",...t}){const r=w_[e];return T(r,{...t})}const S_={caption:E_,body:f_,number:v_},T_={normal:{standard:u.color_text_standard,strong:u.color_text_strong,weak:u.color_text_weak},sentiment:{positive:u.color_text_sentiment_positive,negative:u.color_text_sentiment_negative,notice:u.color_text_sentiment_notice,neutral:u.color_text_sentiment_neutral}},Ft=l.forwardRef((e,t)=>{const{type:r="body",textType:n="normal",variant:o="standard",italic:i,bold:a,as:s,...c}=e,d=S_[r],p=T_[n][o];return T(d,{as:s,...c,ref:t,style:{"--text-font-weight":a?500:400,"--text-color":p,"--text-style":i?"italic":"normal"}})});Ft.displayName="Text";const oi={small:"32px",large:"40px"},Xd={circle:u.border_radius_circle,square:u.border_radius_400},pn=P.button`
|
|
970
1027
|
all: unset;
|
|
971
1028
|
appearance: none;
|
|
972
1029
|
display: grid;
|
|
973
1030
|
line-height: 1;
|
|
974
1031
|
place-items: center;
|
|
975
|
-
border-radius: var(--icon-button-border-radius, ${
|
|
976
|
-
height: var(--icon-button-size, ${
|
|
977
|
-
width: var(--icon-button-size, ${
|
|
1032
|
+
border-radius: var(--icon-button-border-radius, ${Xd.square});
|
|
1033
|
+
height: var(--icon-button-size, ${oi.small});
|
|
1034
|
+
width: var(--icon-button-size, ${oi.small});
|
|
978
1035
|
touch-action: none;
|
|
979
1036
|
cursor: pointer;
|
|
980
1037
|
white-space: nowrap;
|
|
@@ -1006,7 +1063,7 @@ border-width: 0;
|
|
|
1006
1063
|
bottom: 0;
|
|
1007
1064
|
right: 0;
|
|
1008
1065
|
}
|
|
1009
|
-
`,
|
|
1066
|
+
`,k_=P(pn)`
|
|
1010
1067
|
background: ${u.color_fill_primary_enabled};
|
|
1011
1068
|
color: ${u.color_white};
|
|
1012
1069
|
|
|
@@ -1023,7 +1080,7 @@ border-width: 0;
|
|
|
1023
1080
|
background: ${u.color_fill_primary_disabled};
|
|
1024
1081
|
color: ${u.color_fill_inverse_pressed};
|
|
1025
1082
|
}
|
|
1026
|
-
`,
|
|
1083
|
+
`,P_=P(pn)`
|
|
1027
1084
|
background: ${u.color_fill_secondary_enabled};
|
|
1028
1085
|
color: ${u.color_fill_primary_enabled};
|
|
1029
1086
|
|
|
@@ -1040,7 +1097,7 @@ border-width: 0;
|
|
|
1040
1097
|
&:disabled {
|
|
1041
1098
|
background: ${u.color_fill_secondary_disabled};
|
|
1042
1099
|
}
|
|
1043
|
-
`,
|
|
1100
|
+
`,C_=P(pn)`
|
|
1044
1101
|
background: ${u.color_fill_danger_enabled};
|
|
1045
1102
|
color: ${u.color_white};
|
|
1046
1103
|
|
|
@@ -1057,7 +1114,7 @@ border-width: 0;
|
|
|
1057
1114
|
&:disabled {
|
|
1058
1115
|
background: ${u.color_fill_danger_disabled};
|
|
1059
1116
|
}
|
|
1060
|
-
`,
|
|
1117
|
+
`,D_=P(pn)`
|
|
1061
1118
|
background: ${u.color_white};
|
|
1062
1119
|
|
|
1063
1120
|
&:hover {
|
|
@@ -1071,7 +1128,7 @@ border-width: 0;
|
|
|
1071
1128
|
&:disabled {
|
|
1072
1129
|
background: ${u.color_fill_inverse_disabled};
|
|
1073
1130
|
}
|
|
1074
|
-
`,
|
|
1131
|
+
`,I_={primary:k_,secondary:P_,danger:C_,inverse:D_},ii=l.forwardRef((e,t)=>{const r=Je(t),{label:n,size:o="small",variant:i="primary",shape:a="circle",disabled:s,onClick:c,autoFocus:d,children:f,...p}=e,m=Ue(),g=s??m,{buttonProps:h,isPressed:b}=jo({onPress:c,isDisabled:g,autoFocus:d,...p},r),{isFocusVisible:v,focusProps:_}=Jr({autoFocus:d}),y=[v?"focused":void 0,b?"pressed":void 0].filter(Boolean).join(" "),O=I_[i],M=Xd[a],I=oi[o];return T(O,{ref:r,...Se(h,p,_,{"data-state":y}),style:{"--icon-button-size":I,"--icon-button-border-radius":M},children:T(tr,{label:n,children:f})})});ii.displayName="Button";const O_=P.div`
|
|
1075
1132
|
position: relative;
|
|
1076
1133
|
border-radius: ${u.border_radius_400};
|
|
1077
1134
|
border: 1px dashed ${u.color_fill_secondary_enabled};
|
|
@@ -1094,7 +1151,7 @@ border-width: 0;
|
|
|
1094
1151
|
&[data-state~='dropping'] {
|
|
1095
1152
|
border-color: ${u.color_outline_secondary_selected_pressed};
|
|
1096
1153
|
}
|
|
1097
|
-
`,
|
|
1154
|
+
`,A_=P.div`
|
|
1098
1155
|
border-radius: ${u.border_radius_circle};
|
|
1099
1156
|
display: grid;
|
|
1100
1157
|
place-content: center;
|
|
@@ -1106,24 +1163,24 @@ border-width: 0;
|
|
|
1106
1163
|
& > svg {
|
|
1107
1164
|
font-size: 1rem;
|
|
1108
1165
|
}
|
|
1109
|
-
`,
|
|
1166
|
+
`,N_=P.div`
|
|
1110
1167
|
display: flex;
|
|
1111
1168
|
gap: ${u.sizing_200};
|
|
1112
|
-
`,
|
|
1169
|
+
`,z_=P.div`
|
|
1113
1170
|
display: flex;
|
|
1114
1171
|
gap: ${u.sizing_500};
|
|
1115
1172
|
justify-content: space-between;
|
|
1116
1173
|
align-items: center;
|
|
1117
|
-
`,
|
|
1174
|
+
`,L_=P.div`
|
|
1118
1175
|
display: flex;
|
|
1119
1176
|
flex-direction: column;
|
|
1120
1177
|
gap: ${u.sizing_100};
|
|
1121
|
-
`,
|
|
1178
|
+
`,M_=P.footer`
|
|
1122
1179
|
margin-top: ${u.spacing_300};
|
|
1123
1180
|
display: flex;
|
|
1124
1181
|
justify-content: flex-end;
|
|
1125
1182
|
gap: ${u.sizing_200};
|
|
1126
|
-
`,
|
|
1183
|
+
`,F_=P.label`
|
|
1127
1184
|
cursor: pointer;
|
|
1128
1185
|
text-decoration: underline;
|
|
1129
1186
|
color: ${u.color_text_strong};
|
|
@@ -1143,28 +1200,78 @@ border-width: 0;
|
|
|
1143
1200
|
left: 0;
|
|
1144
1201
|
right: 0;
|
|
1145
1202
|
}
|
|
1146
|
-
`,
|
|
1203
|
+
`,j_=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),Zd=l.forwardRef((e,t)=>{const{file:r,onAddFile:n,onDeleteFile:o,fileTypes:i=[{name:"CSV",mime:"text/csv"}]}=e,a=Je(t),s="file-uploader-file-input",{dropProps:c,isDropTarget:d}=s_({ref:a,onDrop:async p=>{const m=p.items.find(g=>g.kind==="file");if(m&&m.kind==="file"){const g=await m.getFile();n(g)}}}),f=p=>{var m;(m=p.target.files)!=null&&m[0]&&n(p.target.files[0])};return T(O_,{...c,role:"button",tabIndex:0,ref:a,"data-state":d?"dropping":"",children:r?le(z_,{children:[T(Ft,{size:"large",children:r.name}),le(Us,{children:[T(Hs,{asChild:!0,children:T(ii,{label:"Remove file",size:"small",variant:"danger",children:T(Ee.Delete,{})})}),le(bc,{children:[T(Ft,{children:"Are you sure you want to remove this file?"}),le(M_,{children:[T(Lo,{asChild:!0,children:T(dr,{variant:"secondary",size:"small",children:"Cancel"})}),T(Lo,{asChild:!0,children:T(dr,{variant:"danger",size:"small",onClick:o,children:"Confirm"})})]})]})]})]}):le(N_,{children:[T(A_,{children:T(Ee.CloudUpload,{})}),le(L_,{children:[le(Ft,{variant:"weak",children:["Drag and drop to upload, or"," ",T(F_,{htmlFor:s,children:"browse files"})]}),le(Ft,{variant:"weak",size:"small",children:["Supported formats:"," ",j_.format(i.map(p=>p.name))]})]}),T("input",{onChange:f,type:"file",hidden:!0,id:s,accept:i.map(p=>p.mime).join(",")})]})})});Zd.displayName="FileUpload";const ai=P.h1`
|
|
1147
1204
|
font-family: ${u.font_family_inter_display};
|
|
1148
1205
|
font-weight: 500;
|
|
1149
1206
|
font-style: normal;
|
|
1150
1207
|
margin: 0;
|
|
1151
|
-
`,
|
|
1208
|
+
`,V_=P(ai)`
|
|
1152
1209
|
letter-spacing: ${u.letter_spacing_heading_large};
|
|
1153
1210
|
font-size: ${u.font_size_heading_large};
|
|
1154
|
-
`,
|
|
1211
|
+
`,R_=P(ai)`
|
|
1155
1212
|
letter-spacing: ${u.letter_spacing_heading_medium};
|
|
1156
1213
|
font-size: ${u.font_size_heading_medium};
|
|
1157
|
-
`,
|
|
1214
|
+
`,K_={small:P(ai)`
|
|
1158
1215
|
letter-spacing: ${u.letter_spacing_heading_small};
|
|
1159
1216
|
font-size: ${u.font_size_heading_small};
|
|
1160
|
-
`,medium:
|
|
1217
|
+
`,medium:R_,large:V_},Jd=l.forwardRef((e,t)=>{const{children:r,as:n,size:o,...i}=e,a=K_[o];return T(a,{...i,ref:t,as:n,children:r})});Jd.displayName="Heading";const si="nav-menu-portal";var Qd=(e=>(e.Up="Up",e.Down="Down",e))(Qd||{});const li=l.createContext({direction:"Down",menuRef:null,open:!1,setOpen:function(){throw new Error("Function not implemented.")}}),B_=P.div`
|
|
1218
|
+
position: relative;
|
|
1219
|
+
`,jt=l.forwardRef((e,t)=>{const[r,n]=l.useState(!1),o=Je(t);return l.useEffect(()=>{const i=document.getElementById(si);function a(s){const c=s.target;!o.current.contains(c)&&!(i!=null&&i.contains(c))&&n(!1)}return document.addEventListener("mousedown",a),()=>{document.removeEventListener("mousedown",a)}},[o]),T(li.Provider,{value:{menuRef:o,open:r,setOpen:n,direction:e.direction??"Down"},children:T(B_,{ref:o,role:"menu",children:e.children})})});jt.displayName="NavigationMenu";const W_=P.button`
|
|
1220
|
+
cursor: pointer;
|
|
1221
|
+
padding: 8px;
|
|
1222
|
+
border: 1px solid transparent;
|
|
1223
|
+
border-radius: ${u.border_radius_800};
|
|
1224
|
+
border: ${e=>e.open?"1px solid #141414":""};
|
|
1225
|
+
width: 100%;
|
|
1226
|
+
background: #FFF;
|
|
1227
|
+
|
|
1228
|
+
&:hover {
|
|
1229
|
+
border: ${e=>e.open?"":"1px solid rgba(0, 0, 0, 0.16);"};
|
|
1230
|
+
}
|
|
1231
|
+
`,ef=({children:e})=>{const{open:t,setOpen:r}=l.useContext(li);return T(W_,{open:t,onClick:()=>r(!t),tabIndex:0,children:e})};jt.Trigger=ef;const U_=P.div`
|
|
1232
|
+
visibility: ${e=>e.open?"visible":"hidden"};
|
|
1233
|
+
position: absolute;
|
|
1234
|
+
width: ${e=>e.width}px;
|
|
1235
|
+
top: ${e=>e.top}px;
|
|
1236
|
+
left: ${e=>e.left}px;
|
|
1237
|
+
z-index: 1;
|
|
1238
|
+
background: white;
|
|
1239
|
+
border-radius: 6px;
|
|
1240
|
+
|
|
1241
|
+
max-height: 25%; // Q: Make this controllable?
|
|
1242
|
+
overflow: auto;
|
|
1243
|
+
|
|
1244
|
+
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.03), 0px 6px 6px rgba(0, 0, 0, 0.03),
|
|
1245
|
+
0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03),
|
|
1246
|
+
0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03),
|
|
1247
|
+
0px 0px 8px rgba(0, 0, 0, 0.03);
|
|
1248
|
+
`,tf=({children:e,portalIdOverride:t})=>{const[r,n]=l.useState(null),{direction:o,open:i,menuRef:a}=l.useContext(li),[s,c]=l.useState(0),[d,f]=l.useState(0),[p,m]=l.useState(0),g=document.getElementById(t||si),h=l.useCallback(v=>{n(v)},[]),b=()=>{if(o==="Up"&&r&&a!=null&&a.current){const v=a.current.getBoundingClientRect();c(v.width),f(Math.floor(v.top-r.offsetHeight)),m(v.x)}if(o==="Down"&&a!=null&&a.current){const v=a.current.getBoundingClientRect();c(v.width),f(Math.ceil(v.y+v.height)),m(v.x)}};return l.useEffect(()=>{b()},[r==null?void 0:r.offsetHeight]),l.useEffect(()=>{const v=setTimeout(()=>{b()},1e3);return()=>{clearTimeout(v)}},[r]),l.useEffect(()=>(window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}),[r]),nt.createPortal(T(U_,{width:s,top:d,left:p,ref:h,open:i,children:e}),g)};jt.List=tf;const H_=P.div`
|
|
1249
|
+
color: #454749;
|
|
1250
|
+
border-radius: ${u.border_radius_400};
|
|
1251
|
+
margin: 4px;
|
|
1252
|
+
|
|
1253
|
+
/* NOTE: Need to adjust if we ever want li styles */
|
|
1254
|
+
> * {
|
|
1255
|
+
padding: 4px 8px 4px 8px;
|
|
1256
|
+
/* Q: Why is width 100% correct in the app but not in storybook? */
|
|
1257
|
+
width: 100%;
|
|
1258
|
+
display: block;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
&:hover {
|
|
1262
|
+
background-color: #F5F5F5;
|
|
1263
|
+
}
|
|
1264
|
+
`;function ci({as:e,...t}){return T(H_,{children:T(e??"div",{...t})})}jt.Item=ci;const G_=P.div`
|
|
1265
|
+
margin: 0 4px;
|
|
1266
|
+
border-top: 1px solid rgba(0, 0, 0, 0.12);
|
|
1267
|
+
`;function rf(){return T(G_,{})}jt.Separator=rf;const q_=Object.assign(jt,{Trigger:ef,List:tf,Item:ci,Separator:rf}),Y_=()=>T("div",{id:si});function ui(e){const t=e+"CollectionProvider",[r,n]=ke(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=g=>{const{scope:h,children:b}=g,v=l.useRef(null),_=l.useRef(new Map).current;return l.createElement(o,{scope:h,itemMap:_,collectionRef:v},b)},s=e+"CollectionSlot",c=l.forwardRef((g,h)=>{const{scope:b,children:v}=g,_=i(s,b),$=de(h,_.collectionRef);return l.createElement(pt,{ref:$},v)}),d=e+"CollectionItemSlot",f="data-radix-collection-item",p=l.forwardRef((g,h)=>{const{scope:b,children:v,..._}=g,$=l.useRef(null),w=de(h,$),y=i(d,b);return l.useEffect(()=>(y.itemMap.set($,{ref:$,..._}),()=>void y.itemMap.delete($))),l.createElement(pt,{[f]:"",ref:w},v)});function m(g){const h=i(e+"CollectionConsumer",g);return l.useCallback(()=>{const v=h.collectionRef.current;if(!v)return[];const _=Array.from(v.querySelectorAll(`[${f}]`));return Array.from(h.itemMap.values()).sort((y,O)=>_.indexOf(y.ref.current)-_.indexOf(O.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:a,Slot:c,ItemSlot:p},m,n]}const X_=l.createContext(void 0);function mn(e){const t=l.useContext(X_);return e||t||"ltr"}const di="rovingFocusGroup.onEntryFocus",Z_={bubbles:!1,cancelable:!0},fi="RovingFocusGroup",[pi,nf,J_]=ui(fi),[Q_,bn]=ke(fi,[J_]),[ex,tx]=Q_(fi),rx=l.forwardRef((e,t)=>l.createElement(pi.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(pi.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(nx,E({},e,{ref:t}))))),nx=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:d,...f}=e,p=l.useRef(null),m=de(t,p),g=mn(i),[h=null,b]=je({prop:a,defaultProp:s,onChange:c}),[v,_]=l.useState(!1),$=Pe(d),w=nf(r),y=l.useRef(!1),[O,M]=l.useState(0);return l.useEffect(()=>{const I=p.current;if(I)return I.addEventListener(di,$),()=>I.removeEventListener(di,$)},[$]),l.createElement(ex,{scope:r,orientation:n,dir:g,loop:o,currentTabStopId:h,onItemFocus:l.useCallback(I=>b(I),[b]),onItemShiftTab:l.useCallback(()=>_(!0),[]),onFocusableItemAdd:l.useCallback(()=>M(I=>I+1),[]),onFocusableItemRemove:l.useCallback(()=>M(I=>I-1),[])},l.createElement(re.div,E({tabIndex:v||O===0?-1:0,"data-orientation":n},f,{ref:m,style:{outline:"none",...e.style},onMouseDown:G(e.onMouseDown,()=>{y.current=!0}),onFocus:G(e.onFocus,I=>{const A=!y.current;if(I.target===I.currentTarget&&A&&!v){const L=new CustomEvent(di,Z_);if(I.currentTarget.dispatchEvent(L),!L.defaultPrevented){const J=w().filter(U=>U.focusable),k=J.find(U=>U.active),Y=J.find(U=>U.id===h),S=[k,Y,...J].filter(Boolean).map(U=>U.ref.current);of(S)}}y.current=!1}),onBlur:G(e.onBlur,()=>_(!1))})))}),ox="RovingFocusGroupItem",ix=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,...a}=e,s=Re(),c=i||s,d=tx(ox,r),f=d.currentTabStopId===c,p=nf(r),{onFocusableItemAdd:m,onFocusableItemRemove:g}=d;return l.useEffect(()=>{if(n)return m(),()=>g()},[n,m,g]),l.createElement(pi.ItemSlot,{scope:r,id:c,focusable:n,active:o},l.createElement(re.span,E({tabIndex:f?0:-1,"data-orientation":d.orientation},a,{ref:t,onMouseDown:G(e.onMouseDown,h=>{n?d.onItemFocus(c):h.preventDefault()}),onFocus:G(e.onFocus,()=>d.onItemFocus(c)),onKeyDown:G(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){d.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const b=lx(h,d.orientation,d.dir);if(b!==void 0){h.preventDefault();let _=p().filter($=>$.focusable).map($=>$.ref.current);if(b==="last")_.reverse();else if(b==="prev"||b==="next"){b==="prev"&&_.reverse();const $=_.indexOf(h.currentTarget);_=d.loop?cx(_,$+1):_.slice($+1)}setTimeout(()=>of(_))}})})))}),ax={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function sx(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function lx(e,t,r){const n=sx(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return ax[n]}function of(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function cx(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const af=rx,sf=ix,lf="Tabs",[ux,Ck]=ke(lf,[bn]),cf=bn(),[dx,mi]=ux(lf),fx=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:c="automatic",...d}=e,f=mn(s),[p,m]=je({prop:n,onChange:o,defaultProp:i});return l.createElement(dx,{scope:r,baseId:Re(),value:p,onValueChange:m,orientation:a,dir:f,activationMode:c},l.createElement(re.div,E({dir:f,"data-orientation":a},d,{ref:t})))}),px="TabsList",mx=l.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,i=mi(px,r),a=cf(r);return l.createElement(af,E({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:n}),l.createElement(re.div,E({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),bx="TabsTrigger",gx=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...i}=e,a=mi(bx,r),s=cf(r),c=uf(a.baseId,n),d=df(a.baseId,n),f=n===a.value;return l.createElement(sf,E({asChild:!0},s,{focusable:!o,active:f}),l.createElement(re.button,E({type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c},i,{ref:t,onMouseDown:G(e.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?a.onValueChange(n):p.preventDefault()}),onKeyDown:G(e.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&a.onValueChange(n)}),onFocus:G(e.onFocus,()=>{const p=a.activationMode!=="manual";!f&&!o&&p&&a.onValueChange(n)})})))}),hx="TabsContent",vx=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:i,...a}=e,s=mi(hx,r),c=uf(s.baseId,n),d=df(s.baseId,n),f=n===s.value,p=l.useRef(f);return l.useEffect(()=>{const m=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(m)},[]),l.createElement(Oe,{present:o||f},({present:m})=>l.createElement(re.div,E({"data-state":f?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":c,hidden:!m,id:d,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0}}),m&&i))});function uf(e,t){return`${e}-trigger-${t}`}function df(e,t){return`${e}-content-${t}`}const yx=fx,$x=mx,_x=gx,xx=vx,wx=P(yx)`
|
|
1161
1268
|
display: flex;
|
|
1162
1269
|
flex-direction: column;
|
|
1163
1270
|
font-family: ${u.font_family_sans};
|
|
1164
|
-
`,
|
|
1271
|
+
`,Ex=P($x)`
|
|
1165
1272
|
flex-shrink: 0;
|
|
1166
1273
|
display: flex;
|
|
1167
|
-
`,
|
|
1274
|
+
`,ff=P(_x)`
|
|
1168
1275
|
all: unset;
|
|
1169
1276
|
font-family: inherit;
|
|
1170
1277
|
color: ${u.color_text_weak};
|
|
@@ -1184,6 +1291,7 @@ border-width: 0;
|
|
|
1184
1291
|
user-select: none;
|
|
1185
1292
|
-webkit-tap-highlight-color: transparent;
|
|
1186
1293
|
transition: ${u.transition_duration_200} background-color;
|
|
1294
|
+
|
|
1187
1295
|
/* transition: ${u.transition_duration_200} ${u.transition_property_color}; */
|
|
1188
1296
|
|
|
1189
1297
|
&:hover {
|
|
@@ -1199,7 +1307,7 @@ border-width: 0;
|
|
|
1199
1307
|
position: relative;
|
|
1200
1308
|
box-shadow: 0 0 0 1px ${u.color_black};
|
|
1201
1309
|
}
|
|
1202
|
-
`,
|
|
1310
|
+
`,Sx=P(ff)`
|
|
1203
1311
|
display: flex;
|
|
1204
1312
|
align-items: center;
|
|
1205
1313
|
gap: ${u.sizing_200};
|
|
@@ -1207,20 +1315,20 @@ border-width: 0;
|
|
|
1207
1315
|
& > svg {
|
|
1208
1316
|
font-size: 1rem;
|
|
1209
1317
|
}
|
|
1210
|
-
`,
|
|
1318
|
+
`,Tx=P(xx)`
|
|
1211
1319
|
flex-grow: 1;
|
|
1212
1320
|
padding: ${u.sizing_450};
|
|
1213
1321
|
background-color: white;
|
|
1214
1322
|
outline: none;
|
|
1215
1323
|
|
|
1216
|
-
&:focus {
|
|
1324
|
+
&:focus-visible {
|
|
1217
1325
|
box-shadow: ${u.elevation_interactive_low};
|
|
1218
1326
|
}
|
|
1219
|
-
`,
|
|
1327
|
+
`,bi="horizontal",kx=["horizontal","vertical"],pf=l.forwardRef((e,t)=>{const{decorative:r,orientation:n=bi,...o}=e,i=mf(n)?n:bi,s=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return l.createElement(re.div,E({"data-orientation":i},s,o,{ref:t}))});pf.propTypes={orientation(e,t,r){const n=e[t],o=String(n);return n&&!mf(n)?new Error(Px(o,r)):null}};function Px(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
|
|
1220
1328
|
- horizontal
|
|
1221
1329
|
- vertical
|
|
1222
1330
|
|
|
1223
|
-
Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="ToastProvider",[ca,U_,W_]=na("Toast"),[rf,DS]=we("Toast",[W_]),[H_,mn]=rf(tf),nf=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,c]=l.useState(null),[f,d]=l.useState(0),p=l.useRef(!1),b=l.useRef(!1);return l.createElement(ca.Provider,{scope:t},l.createElement(H_,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:f,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>d(m=>m+1),[]),onToastRemove:l.useCallback(()=>d(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:b},i))};nf.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${tf}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const G_="ToastViewport",q_=["F8"],ua="toast.viewportPause",da="toast.viewportResume",Y_=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=q_,label:o="Notifications ({hotkey})",...a}=e,i=mn(G_,r),s=U_(r),c=l.useRef(null),f=l.useRef(null),d=l.useRef(null),p=l.useRef(null),b=le(t,p,i.onViewportChange),m=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=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(h&&v&&$){const _=()=>{if(!i.isClosePausedRef.current){const L=new CustomEvent(ua);$.dispatchEvent(L),i.isClosePausedRef.current=!0}},w=()=>{if(i.isClosePausedRef.current){const L=new CustomEvent(da);$.dispatchEvent(L),i.isClosePausedRef.current=!1}},y=L=>{!v.contains(L.relatedTarget)&&w()},A=()=>{v.contains(document.activeElement)||w()};return v.addEventListener("focusin",_),v.addEventListener("focusout",y),v.addEventListener("pointermove",_),v.addEventListener("pointerleave",A),window.addEventListener("blur",_),window.addEventListener("focus",w),()=>{v.removeEventListener("focusin",_),v.removeEventListener("focusout",y),v.removeEventListener("pointermove",_),v.removeEventListener("pointerleave",A),window.removeEventListener("blur",_),window.removeEventListener("focus",w)}}},[h,i.isClosePausedRef]);const g=l.useCallback(({tabbingDirection:v})=>{const _=s().map(w=>{const y=w.ref.current,A=[y,...ux(y)];return v==="forwards"?A:A.reverse()});return(v==="forwards"?_.reverse():_).flat()},[s]);return l.useEffect(()=>{const v=p.current;if(v){const $=_=>{const w=_.altKey||_.ctrlKey||_.metaKey;if(_.key==="Tab"&&!w){const z=document.activeElement,F=_.shiftKey;if(_.target===v&&F){var A;(A=f.current)===null||A===void 0||A.focus();return}const G=g({tabbingDirection:F?"backwards":"forwards"}),O=G.findIndex(T=>T===z);if(fa(G.slice(O+1)))_.preventDefault();else{var L,D;F?(L=f.current)===null||L===void 0||L.focus():(D=d.current)===null||D===void 0||D.focus()}}};return v.addEventListener("keydown",$),()=>v.removeEventListener("keydown",$)}},[s,g]),l.createElement(mm,{ref:c,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:h?void 0:"none"}},h&&l.createElement(of,{ref:f,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});fa(v)}}),l.createElement(ca.Slot,{scope:r},l.createElement(Z.ol,S({tabIndex:-1},a,{ref:b}))),h&&l.createElement(of,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});fa(v)}}))}),X_="ToastFocusProxy",of=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=mn(X_,r);return l.createElement(Ar,S({"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()}}))}),gn="Toast",Z_="toast.swipeStart",J_="toast.swipeMove",Q_="toast.swipeCancel",ex="toast.swipeEnd",tx=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=Oe({prop:n,defaultProp:o,onChange:a});return l.createElement(Ce,{present:r||s},l.createElement(af,S({open:s},i,{ref:t,onClose:()=>c(!1),onPause:ke(e.onPause),onResume:ke(e.onResume),onSwipeStart:W(e.onSwipeStart,f=>{f.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:W(e.onSwipeMove,f=>{const{x:d,y:p}=f.detail.delta;f.currentTarget.setAttribute("data-swipe","move"),f.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),f.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:W(e.onSwipeCancel,f=>{f.currentTarget.setAttribute("data-swipe","cancel"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),f.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:W(e.onSwipeEnd,f=>{const{x:d,y:p}=f.detail.delta;f.currentTarget.setAttribute("data-swipe","end"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),f.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),f.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})))}),[rx,nx]=rf(gn,{onClose(){}}),af=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:c,onResume:f,onSwipeStart:d,onSwipeMove:p,onSwipeCancel:b,onSwipeEnd:m,...h}=e,g=mn(gn,r),[v,$]=l.useState(null),_=le(t,T=>$(T)),w=l.useRef(null),y=l.useRef(null),A=o||g.duration,L=l.useRef(0),D=l.useRef(A),z=l.useRef(0),{onToastAdd:F,onToastRemove:Y}=g,k=ke(()=>{var T;(v==null?void 0:v.contains(document.activeElement))&&((T=g.viewport)===null||T===void 0||T.focus()),i()}),G=l.useCallback(T=>{!T||T===1/0||(window.clearTimeout(z.current),L.current=new Date().getTime(),z.current=window.setTimeout(k,T))},[k]);l.useEffect(()=>{const T=g.viewport;if(T){const Q=()=>{G(D.current),f==null||f()},ee=()=>{const de=new Date().getTime()-L.current;D.current=D.current-de,window.clearTimeout(z.current),c==null||c()};return T.addEventListener(ua,ee),T.addEventListener(da,Q),()=>{T.removeEventListener(ua,ee),T.removeEventListener(da,Q)}}},[g.viewport,A,c,f,G]),l.useEffect(()=>{a&&!g.isClosePausedRef.current&&G(A)},[a,A,g.isClosePausedRef,G]),l.useEffect(()=>(F(),()=>Y()),[F,Y]);const O=l.useMemo(()=>v?uf(v):null,[v]);return g.viewport?l.createElement(l.Fragment,null,O&&l.createElement(ox,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},O),l.createElement(rx,{scope:r,onClose:k},bt.createPortal(l.createElement(ca.ItemSlot,{scope:r},l.createElement(bm,{asChild:!0,onEscapeKeyDown:W(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||k(),g.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(Z.li,S({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection},h,{ref:_,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:W(e.onKeyDown,T=>{T.key==="Escape"&&(s==null||s(T.nativeEvent),T.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,k()))}),onPointerDown:W(e.onPointerDown,T=>{T.button===0&&(w.current={x:T.clientX,y:T.clientY})}),onPointerMove:W(e.onPointerMove,T=>{if(!w.current)return;const Q=T.clientX-w.current.x,ee=T.clientY-w.current.y,de=Boolean(y.current),ge=["left","right"].includes(g.swipeDirection),te=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,E=ge?te(0,Q):0,N=ge?0:te(0,ee),K=T.pointerType==="touch"?10:2,j={x:E,y:N},R={originalEvent:T,delta:j};de?(y.current=j,hn(J_,p,R,{discrete:!1})):df(j,g.swipeDirection,K)?(y.current=j,hn(Z_,d,R,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(Q)>K||Math.abs(ee)>K)&&(w.current=null)}),onPointerUp:W(e.onPointerUp,T=>{const Q=y.current,ee=T.target;if(ee.hasPointerCapture(T.pointerId)&&ee.releasePointerCapture(T.pointerId),y.current=null,w.current=null,Q){const de=T.currentTarget,ge={originalEvent:T,delta:Q};df(Q,g.swipeDirection,g.swipeThreshold)?hn(ex,m,ge,{discrete:!0}):hn(Q_,b,ge,{discrete:!0}),de.addEventListener("click",te=>te.preventDefault(),{once:!0})}})})))),g.viewport))):null});af.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${gn}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const ox=e=>{const{__scopeToast:t,children:r,...n}=e,o=mn(gn,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return lx(()=>i(!0)),l.useEffect(()=>{const f=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(f)},[]),s?null:l.createElement(Yt,{asChild:!0},l.createElement(Ar,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},ax=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(Z.div,S({},n,{ref:t}))}),ix="ToastAction",sf=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(cf,{altText:r,asChild:!0},l.createElement(lf,S({},n,{ref:t}))):null});sf.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${ix}\``)}};const sx="ToastClose",lf=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=nx(sx,r);return l.createElement(cf,{asChild:!0},l.createElement(Z.button,S({type:"button"},n,{ref:t,onClick:W(e.onClick,o.onClose)})))}),cf=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(Z.div,S({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function uf(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),cx(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(...uf(n))}}),t}function hn(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?Ti(o,a):o.dispatchEvent(a)}const df=(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 lx(e=()=>{}){const t=ke(e);xe(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function cx(e){return e.nodeType===e.ELEMENT_NODE}function ux(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 fa(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const dx=nf,fx=Y_,px=tx,bx=ax,mx=sf,gx=lf,pa=25,hx=C.keyframes`
|
|
1331
|
+
Defaulting to \`${bi}\`.`}function mf(e){return kx.includes(e)}const Cx=pf,bf="ToastProvider",[gi,Dx,Ix]=ui("Toast"),[gf,Dk]=ke("Toast",[Ix]),[Ox,gn]=gf(bf),hf=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,c]=l.useState(null),[d,f]=l.useState(0),p=l.useRef(!1),m=l.useRef(!1);return l.createElement(gi.Provider,{scope:t},l.createElement(Ox,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:i,toastCount:d,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>f(g=>g+1),[]),onToastRemove:l.useCallback(()=>f(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:m},a))};hf.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${bf}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const Ax="ToastViewport",Nx=["F8"],hi="toast.viewportPause",vi="toast.viewportResume",zx=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=Nx,label:o="Notifications ({hotkey})",...i}=e,a=gn(Ax,r),s=Dx(r),c=l.useRef(null),d=l.useRef(null),f=l.useRef(null),p=l.useRef(null),m=de(t,p,a.onViewportChange),g=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=a.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(h&&v&&_){const $=()=>{if(!a.isClosePausedRef.current){const M=new CustomEvent(hi);_.dispatchEvent(M),a.isClosePausedRef.current=!0}},w=()=>{if(a.isClosePausedRef.current){const M=new CustomEvent(vi);_.dispatchEvent(M),a.isClosePausedRef.current=!1}},y=M=>{!v.contains(M.relatedTarget)&&w()},O=()=>{v.contains(document.activeElement)||w()};return v.addEventListener("focusin",$),v.addEventListener("focusout",y),v.addEventListener("pointermove",$),v.addEventListener("pointerleave",O),window.addEventListener("blur",$),window.addEventListener("focus",w),()=>{v.removeEventListener("focusin",$),v.removeEventListener("focusout",y),v.removeEventListener("pointermove",$),v.removeEventListener("pointerleave",O),window.removeEventListener("blur",$),window.removeEventListener("focus",w)}}},[h,a.isClosePausedRef]);const b=l.useCallback(({tabbingDirection:v})=>{const $=s().map(w=>{const y=w.ref.current,O=[y,...Xx(y)];return v==="forwards"?O:O.reverse()});return(v==="forwards"?$.reverse():$).flat()},[s]);return l.useEffect(()=>{const v=p.current;if(v){const _=$=>{const w=$.altKey||$.ctrlKey||$.metaKey;if($.key==="Tab"&&!w){const A=document.activeElement,L=$.shiftKey;if($.target===v&&L){var O;(O=d.current)===null||O===void 0||O.focus();return}const Y=b({tabbingDirection:L?"backwards":"forwards"}),C=Y.findIndex(S=>S===A);if(yi(Y.slice(C+1)))$.preventDefault();else{var M,I;L?(M=d.current)===null||M===void 0||M.focus():(I=f.current)===null||I===void 0||I.focus()}}};return v.addEventListener("keydown",_),()=>v.removeEventListener("keydown",_)}},[s,b]),l.createElement(Bb,{ref:c,role:"region","aria-label":o.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:h?void 0:"none"}},h&&l.createElement(vf,{ref:d,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"forwards"});yi(v)}}),l.createElement(gi.Slot,{scope:r},l.createElement(re.ol,E({tabIndex:-1},i,{ref:m}))),h&&l.createElement(vf,{ref:f,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"backwards"});yi(v)}}))}),Lx="ToastFocusProxy",vf=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,i=gn(Lx,r);return l.createElement(Mr,E({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:a=>{var s;const c=a.relatedTarget;!((s=i.viewport)!==null&&s!==void 0&&s.contains(c))&&n()}}))}),hn="Toast",Mx="toast.swipeStart",Fx="toast.swipeMove",jx="toast.swipeCancel",Vx="toast.swipeEnd",Rx=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:i,...a}=e,[s=!0,c]=je({prop:n,defaultProp:o,onChange:i});return l.createElement(Oe,{present:r||s},l.createElement(yf,E({open:s},a,{ref:t,onClose:()=>c(!1),onPause:Pe(e.onPause),onResume:Pe(e.onResume),onSwipeStart:G(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:G(e.onSwipeMove,d=>{const{x:f,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:G(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:G(e.onSwipeEnd,d=>{const{x:f,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",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})))}),[Kx,Bx]=gf(hn,{onClose(){}}),yf=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:c,onResume:d,onSwipeStart:f,onSwipeMove:p,onSwipeCancel:m,onSwipeEnd:g,...h}=e,b=gn(hn,r),[v,_]=l.useState(null),$=de(t,S=>_(S)),w=l.useRef(null),y=l.useRef(null),O=o||b.duration,M=l.useRef(0),I=l.useRef(O),A=l.useRef(0),{onToastAdd:L,onToastRemove:J}=b,k=Pe(()=>{var S;(v==null?void 0:v.contains(document.activeElement))&&((S=b.viewport)===null||S===void 0||S.focus()),a()}),Y=l.useCallback(S=>{!S||S===1/0||(window.clearTimeout(A.current),M.current=new Date().getTime(),A.current=window.setTimeout(k,S))},[k]);l.useEffect(()=>{const S=b.viewport;if(S){const U=()=>{Y(I.current),d==null||d()},ae=()=>{const ue=new Date().getTime()-M.current;I.current=I.current-ue,window.clearTimeout(A.current),c==null||c()};return S.addEventListener(hi,ae),S.addEventListener(vi,U),()=>{S.removeEventListener(hi,ae),S.removeEventListener(vi,U)}}},[b.viewport,O,c,d,Y]),l.useEffect(()=>{i&&!b.isClosePausedRef.current&&Y(O)},[i,O,b.isClosePausedRef,Y]),l.useEffect(()=>(L(),()=>J()),[L,J]);const C=l.useMemo(()=>v?wf(v):null,[v]);return b.viewport?l.createElement(l.Fragment,null,C&&l.createElement(Wx,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},C),l.createElement(Kx,{scope:r,onClose:k},nt.createPortal(l.createElement(gi.ItemSlot,{scope:r},l.createElement(Kb,{asChild:!0,onEscapeKeyDown:G(s,()=>{b.isFocusedToastEscapeKeyDownRef.current||k(),b.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(re.li,E({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":b.swipeDirection},h,{ref:$,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:G(e.onKeyDown,S=>{S.key==="Escape"&&(s==null||s(S.nativeEvent),S.nativeEvent.defaultPrevented||(b.isFocusedToastEscapeKeyDownRef.current=!0,k()))}),onPointerDown:G(e.onPointerDown,S=>{S.button===0&&(w.current={x:S.clientX,y:S.clientY})}),onPointerMove:G(e.onPointerMove,S=>{if(!w.current)return;const U=S.clientX-w.current.x,ae=S.clientY-w.current.y,ue=Boolean(y.current),he=["left","right"].includes(b.swipeDirection),te=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,z=he?te(0,U):0,V=he?0:te(0,ae),H=S.pointerType==="touch"?10:2,X={x:z,y:V},q={originalEvent:S,delta:X};ue?(y.current=X,vn(Fx,p,q,{discrete:!1})):Ef(X,b.swipeDirection,H)?(y.current=X,vn(Mx,f,q,{discrete:!1}),S.target.setPointerCapture(S.pointerId)):(Math.abs(U)>H||Math.abs(ae)>H)&&(w.current=null)}),onPointerUp:G(e.onPointerUp,S=>{const U=y.current,ae=S.target;if(ae.hasPointerCapture(S.pointerId)&&ae.releasePointerCapture(S.pointerId),y.current=null,w.current=null,U){const ue=S.currentTarget,he={originalEvent:S,delta:U};Ef(U,b.swipeDirection,b.swipeThreshold)?vn(Vx,g,he,{discrete:!0}):vn(jx,m,he,{discrete:!0}),ue.addEventListener("click",te=>te.preventDefault(),{once:!0})}})})))),b.viewport))):null});yf.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${hn}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const Wx=e=>{const{__scopeToast:t,children:r,...n}=e,o=gn(hn,t),[i,a]=l.useState(!1),[s,c]=l.useState(!1);return qx(()=>a(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(er,{asChild:!0},l.createElement(Mr,n,i&&l.createElement(l.Fragment,null,o.label," ",r)))},Ux=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(re.div,E({},n,{ref:t}))}),Hx="ToastAction",$f=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(xf,{altText:r,asChild:!0},l.createElement(_f,E({},n,{ref:t}))):null});$f.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${Hx}\``)}};const Gx="ToastClose",_f=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=Bx(Gx,r);return l.createElement(xf,{asChild:!0},l.createElement(re.button,E({type:"button"},n,{ref:t,onClick:G(e.onClick,o.onClose)})))}),xf=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(re.div,E({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function wf(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),Yx(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",i=n.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=n.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...wf(n))}}),t}function vn(e,t,r,{discrete:n}){const o=r.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?La(o,i):o.dispatchEvent(i)}const Ef=(e,t,r=0)=>{const n=Math.abs(e.x),o=Math.abs(e.y),i=n>o;return t==="left"||t==="right"?i&&n>r:!i&&o>r};function qx(e=()=>{}){const t=Pe(e);xe(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function Yx(e){return e.nodeType===e.ELEMENT_NODE}function Xx(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 yi(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const Zx=hf,Jx=zx,Qx=Rx,e1=Ux,t1=$f,r1=_f,$i=25,n1=P.keyframes`
|
|
1224
1332
|
0% {
|
|
1225
1333
|
opacity: 1
|
|
1226
1334
|
}
|
|
@@ -1228,24 +1336,24 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1228
1336
|
100% {
|
|
1229
1337
|
opacity: 0
|
|
1230
1338
|
}
|
|
1231
|
-
`,
|
|
1339
|
+
`,o1=P.keyframes`
|
|
1232
1340
|
from {
|
|
1233
|
-
transform: translateX(calc(100% + ${
|
|
1341
|
+
transform: translateX(calc(100% + ${$i}px));
|
|
1234
1342
|
}
|
|
1235
1343
|
|
|
1236
1344
|
to {
|
|
1237
1345
|
transform: translateX(0);
|
|
1238
1346
|
}
|
|
1239
|
-
`,
|
|
1347
|
+
`,i1=P.keyframes`
|
|
1240
1348
|
from {
|
|
1241
1349
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
1242
1350
|
}
|
|
1243
1351
|
to {
|
|
1244
|
-
transform: translateX(calc(100% + ${
|
|
1352
|
+
transform: translateX(calc(100% + ${$i}px));
|
|
1245
1353
|
}
|
|
1246
|
-
|
|
1354
|
+
`,a1=P(t1)`
|
|
1247
1355
|
all: unset;
|
|
1248
|
-
`,
|
|
1356
|
+
`,Sf=P(r1)`
|
|
1249
1357
|
all: unset;
|
|
1250
1358
|
display: grid;
|
|
1251
1359
|
width: ${u.sizing_500};
|
|
@@ -1262,7 +1370,7 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1262
1370
|
& > svg {
|
|
1263
1371
|
font-size: 0.95rem;
|
|
1264
1372
|
}
|
|
1265
|
-
`,
|
|
1373
|
+
`,s1=P(e1)`
|
|
1266
1374
|
font-family: ${u.font_family_sans};
|
|
1267
1375
|
font-style: normal;
|
|
1268
1376
|
font-weight: 500;
|
|
@@ -1271,7 +1379,7 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1271
1379
|
letter-spacing: ${u.letter_spacing_tight};
|
|
1272
1380
|
display: flex;
|
|
1273
1381
|
align-items: center;
|
|
1274
|
-
`,
|
|
1382
|
+
`,Tf=P(Cx)`
|
|
1275
1383
|
background-color: var(--color-separator);
|
|
1276
1384
|
|
|
1277
1385
|
&[data-orientation='horizontal'] {
|
|
@@ -1285,20 +1393,20 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1285
1393
|
height: 100%;
|
|
1286
1394
|
width: 1;
|
|
1287
1395
|
}
|
|
1288
|
-
`,
|
|
1396
|
+
`,l1={info:u.color_background_white_standard,inverse:u.color_background_sentiment_neutral,negative:u.color_background_sentiment_negative},c1={info:u.color_text_standard,inverse:u.color_background_white_standard,negative:u.color_background_white_standard},u1={info:u.color_divider_weak,inverse:u.color_divider_inverse_weak,negative:u.color_divider_inverse_weak},d1=P(Jx)`
|
|
1289
1397
|
position: fixed;
|
|
1290
1398
|
bottom: 0;
|
|
1291
1399
|
right: 0;
|
|
1292
1400
|
display: flex;
|
|
1293
1401
|
flex-direction: column;
|
|
1294
|
-
padding: ${
|
|
1402
|
+
padding: ${$i}px;
|
|
1295
1403
|
gap: 10px;
|
|
1296
1404
|
max-width: 100vw;
|
|
1297
1405
|
margin: 0;
|
|
1298
1406
|
list-style: none;
|
|
1299
1407
|
z-index: 30;
|
|
1300
1408
|
outline: none;
|
|
1301
|
-
`,
|
|
1409
|
+
`,f1=P(Qx)`
|
|
1302
1410
|
display: flex;
|
|
1303
1411
|
flex-direction: row;
|
|
1304
1412
|
align-items: center;
|
|
@@ -1315,11 +1423,11 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1315
1423
|
}
|
|
1316
1424
|
|
|
1317
1425
|
&[data-state~='open'] {
|
|
1318
|
-
animation: ${
|
|
1426
|
+
animation: ${o1} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
1319
1427
|
}
|
|
1320
1428
|
|
|
1321
1429
|
&[data-state~='closed'] {
|
|
1322
|
-
animation: ${
|
|
1430
|
+
animation: ${n1} 100ms ease-in;
|
|
1323
1431
|
}
|
|
1324
1432
|
|
|
1325
1433
|
&[data-swipe='move'] {
|
|
@@ -1332,16 +1440,16 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1332
1440
|
}
|
|
1333
1441
|
|
|
1334
1442
|
&[data-swipe='end'] {
|
|
1335
|
-
animation: ${
|
|
1443
|
+
animation: ${i1} 100ms ease-out;
|
|
1336
1444
|
}
|
|
1337
|
-
`;function
|
|
1445
|
+
`;function p1({children:e,...t}){return T(Zx,{...t,children:e})}function m1({title:e,children:t,sentiment:r,onDismiss:n,...o}){const i=l1[r],a=c1[r],s=u1[r];return le(f1,{style:{"--color-background-notification":i,"--color-notification":a},...o,children:[r==="negative"?T(Ee.Warning,{height:18}):null,T(s1,{children:e}),T(Tf,{style:{"--color-separator":s}}),t,T(Sf,{onClick:n,children:T(tr,{label:"Dismiss notification",children:T(Ee.Close,{width:18,height:18})})})]})}const kf=P.div`
|
|
1338
1446
|
display: grid;
|
|
1339
1447
|
grid-template-columns: 1fr 1fr repeat(8, minmax(0, 150px)) 1fr 1fr;
|
|
1340
1448
|
column-gap: ${u.sizing_600};
|
|
1341
|
-
`,
|
|
1449
|
+
`,Pf=P.div`
|
|
1342
1450
|
grid-column: 3 / 11;
|
|
1343
1451
|
padding-top: ${u.sizing_450};
|
|
1344
|
-
`;function
|
|
1452
|
+
`;function b1({children:e,className:t}){return T(kf,{className:t,children:T(Pf,{children:e})})}const Cf=P(dr)`
|
|
1345
1453
|
display: grid;
|
|
1346
1454
|
place-content: center;
|
|
1347
1455
|
border-radius: ${u.border_radius_400};
|
|
@@ -1357,15 +1465,15 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1357
1465
|
line-height: 0;
|
|
1358
1466
|
font-size: ${u.font_size_200};
|
|
1359
1467
|
}
|
|
1360
|
-
`,
|
|
1468
|
+
`,yn=l.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,i=r==="left"?T(Ee.NavigateBefore,{}):T(Ee.NavigateNext,{});return T(Cf,{variant:"inverse",emphasis:"high",ref:t,...o,children:T(tr,{label:n,children:i})})});yn.displayName="PaginatorButton";const g1=P(Cf)`
|
|
1361
1469
|
&[aria-current='true'] {
|
|
1362
1470
|
background-color: ${u.color_overlay_secondary_selected_enabled};
|
|
1363
1471
|
}
|
|
1364
|
-
|
|
1472
|
+
`,$n=l.forwardRef((e,t)=>{const{children:r,...n}=e;return T(g1,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});$n.displayName="PaginatorNumber";const h1=P.nav`
|
|
1365
1473
|
display: flex;
|
|
1366
1474
|
gap: 4px;
|
|
1367
1475
|
width: min-content;
|
|
1368
|
-
`;function
|
|
1476
|
+
`;function v1({nrOfPages:e,currentPage:t,onPrevious:r,onClick:n,onNext:o,className:i,ariaLabel:a="Pagination Navigation"}){const s=Array.from({length:e},(g,h)=>h),c=6;let d=s;const f=c-1;if(e>5){const g=e-1;t>e-f?d=[0,-1,...s.slice(-f)]:t+1<f?d=[...s.slice(0,f),-1,g]:d=[0,-1,...d.slice(t-1,t),t,...d.slice(t+1,t+2),-1,g]}const p=t===0,m=t===e-1;return le(h1,{"aria-label":a,className:i,children:[T(yn,{direction:"left",label:"Previous",disabled:p,onClick:p?void 0:r}),d.map((g,h)=>g>-1?T($n,{"aria-current":g===t,"aria-label":`Page ${g+1}`,onClick:()=>n(g),children:g+1},g):T($n,{as:"span",children:"..."},`${g}-${h}`)),T(yn,{direction:"right",label:"Next",title:"next",disabled:m,onClick:m?void 0:o})]})}const Df="Radio",[y1,If]=ke(Df),[$1,_1]=y1(Df),x1=l.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:i,disabled:a,value:s="on",onCheck:c,...d}=e,[f,p]=l.useState(null),m=de(t,b=>p(b)),g=l.useRef(!1),h=f?Boolean(f.closest("form")):!0;return l.createElement($1,{scope:r,checked:o,disabled:a},l.createElement(re.button,E({type:"button",role:"radio","aria-checked":o,"data-state":Of(o),"data-disabled":a?"":void 0,disabled:a,value:s},d,{ref:m,onClick:G(e.onClick,b=>{o||c==null||c(),h&&(g.current=b.isPropagationStopped(),g.current||b.stopPropagation())})})),h&&l.createElement(S1,{control:f,bubbles:!g.current,name:n,value:s,checked:o,required:i,disabled:a,style:{transform:"translateX(-100%)"}}))}),w1="RadioIndicator",E1=l.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,i=_1(w1,r);return l.createElement(Oe,{present:n||i.checked},l.createElement(re.span,E({"data-state":Of(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t})))}),S1=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,i=l.useRef(null),a=tn(r),s=Wr(t);return l.useEffect(()=>{const c=i.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(a!==r&&p){const m=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(m)}},[a,r,n]),l.createElement("input",E({type:"radio","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Of(e){return e?"checked":"unchecked"}const T1=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Af="RadioGroup",[k1,Ik]=ke(Af,[bn,If]),Nf=bn(),zf=If(),[P1,C1]=k1(Af),D1=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:i,required:a=!1,disabled:s=!1,orientation:c,dir:d,loop:f=!0,onValueChange:p,...m}=e,g=Nf(r),h=mn(d),[b,v]=je({prop:i,defaultProp:o,onChange:p});return l.createElement(P1,{scope:r,name:n,required:a,disabled:s,value:b,onValueChange:v},l.createElement(af,E({asChild:!0},g,{orientation:c,dir:h,loop:f}),l.createElement(re.div,E({role:"radiogroup","aria-required":a,"aria-orientation":c,"data-disabled":s?"":void 0,dir:h},m,{ref:t}))))}),I1="RadioGroupItem",O1=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,i=C1(I1,r),a=i.disabled||n,s=Nf(r),c=zf(r),d=l.useRef(null),f=de(t,d),p=i.value===o.value,m=l.useRef(!1);return l.useEffect(()=>{const g=b=>{T1.includes(b.key)&&(m.current=!0)},h=()=>m.current=!1;return document.addEventListener("keydown",g),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",g),document.removeEventListener("keyup",h)}},[]),l.createElement(sf,E({asChild:!0},s,{focusable:!a,active:p}),l.createElement(x1,E({disabled:a,required:i.required,checked:p},c,o,{name:i.name,ref:f,onCheck:()=>i.onValueChange(o.value),onKeyDown:G(g=>{g.key==="Enter"&&g.preventDefault()}),onFocus:G(o.onFocus,()=>{var g;m.current&&((g=d.current)===null||g===void 0||g.click())})})))}),A1=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=zf(r);return l.createElement(E1,E({},o,n,{ref:t}))}),N1=D1,z1=O1,L1=A1,Lf=P(z1)`
|
|
1369
1477
|
all: unset;
|
|
1370
1478
|
--radio-width: ${u.sizing_600};
|
|
1371
1479
|
--inner-circle-color: ${u.color_white};
|
|
@@ -1424,7 +1532,7 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1424
1532
|
cursor: not-allowed;
|
|
1425
1533
|
color: ${u.color_fill_primary_disabled};
|
|
1426
1534
|
}
|
|
1427
|
-
`,
|
|
1535
|
+
`,Mf=P(L1)`
|
|
1428
1536
|
display: grid;
|
|
1429
1537
|
place-items: center;
|
|
1430
1538
|
width: 100%;
|
|
@@ -1455,7 +1563,7 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1455
1563
|
border-radius: ${u.border_radius_circle};
|
|
1456
1564
|
background-color: var(--inner-circle-color);
|
|
1457
1565
|
}
|
|
1458
|
-
`;function Zx({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=at(),i=t??a,s=sn();return P(qx,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function Jx({disabled:e,...t}){const r=at(),n=e??r,o=sn();return P(wf,{...t,...o,disabled:n,children:P(Ef,{})})}function Tf(e,[t,r]){return Math.min(r,Math.max(t,e))}const Qx=[" ","Enter","ArrowUp","ArrowDown"],e1=[" ","Enter"],$n="Select",[_n,ba,t1]=na($n),[dr,OS]=we($n,[t1]),[r1,Ft]=dr($n),[n1,o1]=dr($n),a1=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:c,dir:f,name:d,autoComplete:p,disabled:b,required:m}=e,[h,g]=l.useState(null),[v,$]=l.useState(null),[_,w]=l.useState(!1),y=pn(f),[A=!1,L]=Oe({prop:n,defaultProp:o,onChange:a}),[D,z]=Oe({prop:i,defaultProp:s,onChange:c}),F=l.useRef(null),Y=h?Boolean(h.closest("form")):!0,[k,G]=l.useState(new Set),O=Array.from(k).map(T=>T.props.value).join(";");return l.createElement(r1,{required:m,scope:t,trigger:h,onTriggerChange:g,valueNode:v,onValueNodeChange:$,valueNodeHasChildren:_,onValueNodeHasChildrenChange:w,contentId:Le(),value:D,onValueChange:z,open:A,onOpenChange:L,dir:y,triggerPointerDownPosRef:F,disabled:b},l.createElement(_n.Provider,{scope:t},l.createElement(n1,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(T=>{G(Q=>new Set(Q).add(T))},[]),onNativeOptionRemove:l.useCallback(T=>{G(Q=>{const ee=new Set(Q);return ee.delete(T),ee})},[])},r)),Y?l.createElement(Cf,{key:O,"aria-hidden":!0,required:m,tabIndex:-1,name:d,autoComplete:p,value:D,onChange:T=>z(T.target.value),disabled:b},D===void 0?l.createElement("option",{value:""}):null,Array.from(k)):null)},i1="SelectTrigger",s1=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=Ft(i1,r),i=a.disabled||n,s=le(t,a.onTriggerChange),c=ba(r),[f,d,p]=Df(m=>{const h=c().filter($=>!$.disabled),g=h.find($=>$.value===a.value),v=If(h,m,g);v!==void 0&&a.onValueChange(v.value)}),b=()=>{i||(a.onOpenChange(!0),p())};return l.createElement(Z.button,S({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:i,"data-disabled":i?"":void 0,"data-placeholder":a.value===void 0?"":void 0},o,{ref:s,onClick:W(o.onClick,m=>{m.currentTarget.focus()}),onPointerDown:W(o.onPointerDown,m=>{const h=m.target;h.hasPointerCapture(m.pointerId)&&h.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&(b(),a.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)},m.preventDefault())}),onKeyDown:W(o.onKeyDown,m=>{const h=f.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&d(m.key),!(h&&m.key===" ")&&Qx.includes(m.key)&&(b(),m.preventDefault())})}))}),l1="SelectValue",c1=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,c=Ft(l1,r),{onValueNodeHasChildrenChange:f}=c,d=a!==void 0,p=le(t,c.onValueNodeChange);return xe(()=>{f(d)},[f,d]),l.createElement(Z.span,S({},s,{ref:p,style:{pointerEvents:"none"}}),c.value===void 0&&i!==void 0?i:a)}),u1=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(Z.span,S({"aria-hidden":!0},o,{ref:t}),n||"▼")}),d1=e=>l.createElement(Yt,S({asChild:!0},e)),ma="SelectContent",f1=l.forwardRef((e,t)=>{const r=Ft(ma,e.__scopeSelect),[n,o]=l.useState();return xe(()=>{o(new DocumentFragment)},[]),l.createElement(l.Fragment,null,r.open?l.createElement(p1,S({},e,{ref:t})):n?bt.createPortal(l.createElement(Sf,{scope:e.__scopeSelect},l.createElement(_n.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),n):null)}),it=10,[Sf,Vt]=dr(ma),p1=l.forwardRef((e,t)=>{const{__scopeSelect:r,onCloseAutoFocus:n,...o}=e,a=Ft(ma,r),[i,s]=l.useState(null),[c,f]=l.useState(null),[d,p]=l.useState(null),b=le(t,E=>f(E)),[m,h]=l.useState(null),[g,v]=l.useState(null),$=ba(r),[_,w]=l.useState(!1),y=l.useRef(!0),A=l.useRef(!1),L=l.useRef(!1);l.useEffect(()=>{if(c)return qn(c)},[c]),Kn();const[D,z]=l.useState();xe(()=>{c&&z(window.getComputedStyle(c).zIndex)},[c]);const F=l.useCallback(E=>{const[N,...K]=$().map(H=>H.ref.current),[j]=K.slice(-1),R=document.activeElement;for(const H of E)if(H===R||(H==null||H.scrollIntoView({block:"nearest"}),H===N&&d&&(d.scrollTop=0),H===j&&d&&(d.scrollTop=d.scrollHeight),H==null||H.focus(),document.activeElement!==R))return},[$,d]),Y=l.useCallback(()=>{if(a.trigger&&a.valueNode&&i&&c&&d&&m&&g){const E=a.trigger.getBoundingClientRect(),N=c.getBoundingClientRect(),K=a.valueNode.getBoundingClientRect(),j=g.getBoundingClientRect();if(a.dir!=="rtl"){const Je=j.left-N.left,Be=K.left-Je,Ue=E.left-Be,Qe=E.width+Ue,_r=Math.max(Qe,N.width),xr=window.innerWidth-it,wr=Tf(Be,[it,xr-_r]);i.style.minWidth=Qe+"px",i.style.left=wr+"px"}else{const Je=N.right-j.right,Be=window.innerWidth-K.right-Je,Ue=window.innerWidth-E.right-Be,Qe=E.width+Ue,_r=Math.max(Qe,N.width),xr=window.innerWidth-it,wr=Tf(Be,[it,xr-_r]);i.style.minWidth=Qe+"px",i.style.right=wr+"px"}const R=$(),H=window.innerHeight-it*2,q=d.scrollHeight,X=window.getComputedStyle(c),J=parseInt(X.borderTopWidth,10),ae=parseInt(X.paddingTop,10),ne=parseInt(X.borderBottomWidth,10),ve=parseInt(X.paddingBottom,10),he=J+ae+q+ve+ne,Te=Math.min(m.offsetHeight*5,he),Re=window.getComputedStyle(d),Ie=parseInt(Re.paddingTop,10),Ke=parseInt(Re.paddingBottom,10),ye=E.top+E.height/2-it,$e=H-ye,Ne=m.offsetHeight/2,ze=m.offsetTop+Ne,ft=J+ae+ze,Ht=he-ft;if(ft<=ye){const Je=m===R[R.length-1].ref.current;i.style.bottom="0px";const Be=c.clientHeight-d.offsetTop-d.offsetHeight,Ue=Math.max($e,Ne+(Je?Ke:0)+Be+ne),Qe=ft+Ue;i.style.height=Qe+"px"}else{const Je=m===R[0].ref.current;i.style.top="0px";const Ue=Math.max(ye,J+d.offsetTop+(Je?Ie:0)+Ne)+Ht;i.style.height=Ue+"px",d.scrollTop=ft-ye+d.offsetTop}i.style.margin=`${it}px 0`,i.style.minHeight=Te+"px",i.style.maxHeight=H+"px",w(!0),requestAnimationFrame(()=>A.current=!0)}},[$,a.trigger,a.valueNode,i,c,d,m,g,a.dir]);xe(()=>Y(),[Y]);const k=l.useCallback(()=>F([m,c]),[F,m,c]);l.useEffect(()=>{_&&k()},[_,k]);const G=l.useCallback(E=>{E&&y.current===!0&&(Y(),k(),y.current=!1)},[Y,k]),{onOpenChange:O,triggerPointerDownPosRef:T}=a;l.useEffect(()=>{if(c){let E={x:0,y:0};const N=j=>{var R,H,q,X;E={x:Math.abs(Math.round(j.pageX)-((R=(H=T.current)===null||H===void 0?void 0:H.x)!==null&&R!==void 0?R:0)),y:Math.abs(Math.round(j.pageY)-((q=(X=T.current)===null||X===void 0?void 0:X.y)!==null&&q!==void 0?q:0))}},K=j=>{E.x<=10&&E.y<=10?j.preventDefault():c.contains(j.target)||O(!1),document.removeEventListener("pointermove",N),T.current=null};return T.current!==null&&(document.addEventListener("pointermove",N),document.addEventListener("pointerup",K,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",N),document.removeEventListener("pointerup",K,{capture:!0})}}},[c,O,T]),l.useEffect(()=>{const E=()=>O(!1);return window.addEventListener("blur",E),window.addEventListener("resize",E),()=>{window.removeEventListener("blur",E),window.removeEventListener("resize",E)}},[O]);const[Q,ee]=Df(E=>{const N=$().filter(R=>!R.disabled),K=N.find(R=>R.ref.current===document.activeElement),j=If(N,E,K);j&&setTimeout(()=>j.ref.current.focus())}),de=l.useCallback((E,N,K)=>{const j=!L.current&&!K;(a.value!==void 0&&a.value===N||j)&&(h(E),j&&(L.current=!0))},[a.value]),ge=l.useCallback(()=>c==null?void 0:c.focus(),[c]),te=l.useCallback((E,N,K)=>{const j=!L.current&&!K;(a.value!==void 0&&a.value===N||j)&&v(E)},[a.value]);return l.createElement(Sf,{scope:r,contentWrapper:i,content:c,viewport:d,onViewportChange:p,itemRefCallback:de,selectedItem:m,onItemLeave:ge,itemTextRefCallback:te,selectedItemText:g,onScrollButtonChange:G,isPositioned:_,shouldExpandOnScrollRef:A,searchRef:Q},l.createElement(Hn,{as:mt,allowPinchZoom:!0},l.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:D}},l.createElement(jn,{asChild:!0,trapped:a.open,onMountAutoFocus:E=>{E.preventDefault()},onUnmountAutoFocus:W(n,E=>{var N;(N=a.trigger)===null||N===void 0||N.focus({preventScroll:!0}),E.preventDefault()})},l.createElement(qt,S({role:"listbox",id:a.contentId,"data-state":a.open?"open":"closed",dir:a.dir,onContextMenu:E=>E.preventDefault()},o,{ref:b,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:E=>E.preventDefault(),onDismiss:()=>a.onOpenChange(!1),onKeyDown:W(o.onKeyDown,E=>{const N=E.ctrlKey||E.altKey||E.metaKey;if(E.key==="Tab"&&E.preventDefault(),!N&&E.key.length===1&&ee(E.key),["ArrowUp","ArrowDown","Home","End"].includes(E.key)){let j=$().filter(R=>!R.disabled).map(R=>R.ref.current);if(["ArrowUp","End"].includes(E.key)&&(j=j.slice().reverse()),["ArrowUp","ArrowDown"].includes(E.key)){const R=E.target,H=j.indexOf(R);j=j.slice(H+1)}setTimeout(()=>F(j)),E.preventDefault()}})}))))))}),b1="SelectViewport",m1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Vt(b1,r),a=le(t,o.onViewportChange),i=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(_n.Slot,{scope:r},l.createElement(Z.div,S({"data-radix-select-viewport":"",role:"presentation"},n,{ref:a,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:W(n.onScroll,s=>{const c=s.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:d}=o;if(d!=null&&d.current&&f){const p=Math.abs(i.current-c.scrollTop);if(p>0){const b=window.innerHeight-it*2,m=parseFloat(f.style.minHeight),h=parseFloat(f.style.height),g=Math.max(m,h);if(g<b){const v=g+p,$=Math.min(b,v),_=v-$;f.style.height=$+"px",f.style.bottom==="0px"&&(c.scrollTop=_>0?_:0,f.style.justifyContent="flex-end")}}}i.current=c.scrollTop})}))))}),g1="SelectGroup",[h1,v1]=dr(g1),y1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Le();return l.createElement(h1,{scope:r,id:o},l.createElement(Z.div,S({role:"group","aria-labelledby":o},n,{ref:t})))}),$1="SelectLabel",_1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=v1($1,r);return l.createElement(Z.div,S({id:o.id},n,{ref:t}))}),ga="SelectItem",[x1,kf]=dr(ga),w1=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=Ft(ga,r),c=Vt(ga,r),f=s.value===n,[d,p]=l.useState(a??""),[b,m]=l.useState(!1),h=le(t,$=>{var _;return(_=c.itemRefCallback)===null||_===void 0?void 0:_.call(c,$,n,o)}),g=Le(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(x1,{scope:r,value:n,disabled:o,textId:g,isSelected:f,onItemTextChange:l.useCallback($=>{p(_=>{var w;return _||((w=$==null?void 0:$.textContent)!==null&&w!==void 0?w:"").trim()})},[])},l.createElement(_n.ItemSlot,{scope:r,value:n,disabled:o,textValue:d},l.createElement(Z.div,S({role:"option","aria-labelledby":g,"data-highlighted":b?"":void 0,"aria-selected":f&&b,"data-state":f?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},i,{ref:h,onFocus:W(i.onFocus,()=>m(!0)),onBlur:W(i.onBlur,()=>m(!1)),onPointerUp:W(i.onPointerUp,v),onPointerMove:W(i.onPointerMove,$=>{if(o){var _;(_=c.onItemLeave)===null||_===void 0||_.call(c)}else $.currentTarget.focus({preventScroll:!0})}),onPointerLeave:W(i.onPointerLeave,$=>{if($.currentTarget===document.activeElement){var _;(_=c.onItemLeave)===null||_===void 0||_.call(c)}}),onKeyDown:W(i.onKeyDown,$=>{var _;((_=c.searchRef)===null||_===void 0?void 0:_.current)!==""&&$.key===" "||(e1.includes($.key)&&v(),$.key===" "&&$.preventDefault())})}))))}),xn="SelectItemText",E1=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=Ft(xn,r),s=Vt(xn,r),c=kf(xn,r),f=o1(xn,r),[d,p]=l.useState(null),b=le(t,$=>p($),c.onItemTextChange,$=>{var _;return(_=s.itemTextRefCallback)===null||_===void 0?void 0:_.call(s,$,c.value,c.disabled)}),m=d==null?void 0:d.textContent,h=l.useMemo(()=>l.createElement("option",{key:c.value,value:c.value,disabled:c.disabled},m),[c.disabled,c.value,m]),{onNativeOptionAdd:g,onNativeOptionRemove:v}=f;return xe(()=>(g(h),()=>v(h)),[g,v,h]),l.createElement(l.Fragment,null,l.createElement(Z.span,S({id:c.textId},a,{ref:b})),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?bt.createPortal(a.children,i.valueNode):null)}),T1="SelectItemIndicator",S1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return kf(T1,r).isSelected?l.createElement(Z.span,S({"aria-hidden":!0},n,{ref:t})):null}),k1="SelectScrollUpButton",P1=l.forwardRef((e,t)=>{const r=Vt(k1,e.__scopeSelect),[n,o]=l.useState(!1),a=le(t,r.onScrollButtonChange);return xe(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=i.scrollTop>0;o(c)};const i=r.viewport;return s(),i.addEventListener("scroll",s),()=>i.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(Pf,S({},e,{ref:a,onAutoScroll:()=>{const{viewport:i,selectedItem:s}=r;i&&s&&(i.scrollTop=i.scrollTop-s.offsetHeight)}})):null}),C1="SelectScrollDownButton",D1=l.forwardRef((e,t)=>{const r=Vt(C1,e.__scopeSelect),[n,o]=l.useState(!1),a=le(t,r.onScrollButtonChange);return xe(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=i.scrollHeight-i.clientHeight,f=Math.ceil(i.scrollTop)<c;o(f)};const i=r.viewport;return s(),i.addEventListener("scroll",s),()=>i.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(Pf,S({},e,{ref:a,onAutoScroll:()=>{const{viewport:i,selectedItem:s}=r;i&&s&&(i.scrollTop=i.scrollTop+s.offsetHeight)}})):null}),Pf=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=Vt("SelectScrollButton",r),i=l.useRef(null),s=ba(r),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),xe(()=>{var f;const d=s().find(p=>p.ref.current===document.activeElement);d==null||(f=d.ref.current)===null||f===void 0||f.scrollIntoView({block:"nearest"})},[s]),l.createElement(Z.div,S({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:W(o.onPointerMove,()=>{var f;(f=a.onItemLeave)===null||f===void 0||f.call(a),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:W(o.onPointerLeave,()=>{c()})}))}),I1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(Z.div,S({"aria-hidden":!0},n,{ref:t}))}),Cf=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),a=le(t,o),i=en(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==r&&d){const p=new Event("change",{bubbles:!0});d.call(s,r),s.dispatchEvent(p)}},[i,r]),l.createElement(Ar,{asChild:!0},l.createElement("select",S({},n,{ref:a,defaultValue:r})))});Cf.displayName="BubbleSelect";function Df(e){const t=ke(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(i=>{const s=r.current+i;t(s),function c(f){r.current=f,window.clearTimeout(n.current),f!==""&&(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 If(e,t,r){const o=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let i=O1(e,Math.max(a,0));o.length===1&&(i=i.filter(f=>f!==r));const c=i.find(f=>f.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function O1(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const A1=a1,N1=c1,z1=d1,L1=f1,M1=m1,F1=y1,V1=_1,j1=w1,R1=E1,K1=S1,B1=P1,U1=D1,W1=I1,Of=C(s1)`
|
|
1566
|
+
`;function M1({children:e,disabled:t,loop:r,onValueChange:n,...o}){const i=Ue(),a=t??i,s=ln();return T(N1,{loop:r,onValueChange:n,...o,disabled:a,...s,children:e})}function F1({disabled:e,...t}){const r=Ue(),n=e??r,o=ln();return T(Lf,{...t,...o,disabled:n,children:T(Mf,{})})}function Ff(e,[t,r]){return Math.min(r,Math.max(t,e))}const j1=[" ","Enter","ArrowUp","ArrowDown"],V1=[" ","Enter"],_n="Select",[xn,wn,R1]=ui(_n),[Vt,Ok]=ke(_n,[R1,Ot]),_i=Ot(),[K1,xt]=Vt(_n),[B1,W1]=Vt(_n),U1=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:m,required:g}=e,h=_i(t),[b,v]=l.useState(null),[_,$]=l.useState(null),[w,y]=l.useState(!1),O=mn(d),[M=!1,I]=je({prop:n,defaultProp:o,onChange:i}),[A,L]=je({prop:a,defaultProp:s,onChange:c}),J=l.useRef(null),k=b?Boolean(b.closest("form")):!0,[Y,C]=l.useState(new Set),S=Array.from(Y).map(U=>U.props.value).join(";");return l.createElement(co,h,l.createElement(K1,{required:g,scope:t,trigger:b,onTriggerChange:v,valueNode:_,onValueNodeChange:$,valueNodeHasChildren:w,onValueNodeHasChildrenChange:y,contentId:Re(),value:A,onValueChange:L,open:M,onOpenChange:I,dir:O,triggerPointerDownPosRef:J,disabled:m},l.createElement(xn.Provider,{scope:t},l.createElement(B1,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(U=>{C(ae=>new Set(ae).add(U))},[]),onNativeOptionRemove:l.useCallback(U=>{C(ae=>{const ue=new Set(ae);return ue.delete(U),ue})},[])},r)),k?l.createElement(Hf,{key:S,"aria-hidden":!0,required:g,tabIndex:-1,name:f,autoComplete:p,value:A,onChange:U=>L(U.target.value),disabled:m},A===void 0?l.createElement("option",{value:""}):null,Array.from(Y)):null))},H1="SelectTrigger",G1=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,i=_i(r),a=xt(H1,r),s=a.disabled||n,c=de(t,a.onTriggerChange),d=wn(r),[f,p,m]=Gf(h=>{const b=d().filter($=>!$.disabled),v=b.find($=>$.value===a.value),_=qf(b,h,v);_!==void 0&&a.onValueChange(_.value)}),g=()=>{s||(a.onOpenChange(!0),m())};return l.createElement(uo,E({asChild:!0},i),l.createElement(re.button,E({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":a.value===void 0?"":void 0},o,{ref:c,onClick:G(o.onClick,h=>{h.currentTarget.focus()}),onPointerDown:G(o.onPointerDown,h=>{const b=h.target;b.hasPointerCapture(h.pointerId)&&b.releasePointerCapture(h.pointerId),h.button===0&&h.ctrlKey===!1&&(g(),a.triggerPointerDownPosRef.current={x:Math.round(h.pageX),y:Math.round(h.pageY)},h.preventDefault())}),onKeyDown:G(o.onKeyDown,h=>{const b=f.current!=="";!(h.ctrlKey||h.altKey||h.metaKey)&&h.key.length===1&&p(h.key),!(b&&h.key===" ")&&j1.includes(h.key)&&(g(),h.preventDefault())})})))}),q1="SelectValue",Y1=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:a,...s}=e,c=xt(q1,r),{onValueNodeHasChildrenChange:d}=c,f=i!==void 0,p=de(t,c.onValueNodeChange);return xe(()=>{d(f)},[d,f]),l.createElement(re.span,E({},s,{ref:p,style:{pointerEvents:"none"}}),c.value===void 0&&a!==void 0?a:i)}),X1=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(re.span,E({"aria-hidden":!0},o,{ref:t}),n||"▼")}),Z1=e=>l.createElement(er,E({asChild:!0},e)),Rt="SelectContent",J1=l.forwardRef((e,t)=>{const r=xt(Rt,e.__scopeSelect),[n,o]=l.useState();if(xe(()=>{o(new DocumentFragment)},[]),!r.open){const i=n;return i?nt.createPortal(l.createElement(jf,{scope:e.__scopeSelect},l.createElement(xn.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),i):null}return l.createElement(Q1,E({},e,{ref:t}))}),tt=10,[jf,wt]=Vt(Rt),Q1=l.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:a,side:s,sideOffset:c,align:d,alignOffset:f,arrowPadding:p,collisionBoundary:m,collisionPadding:g,sticky:h,hideWhenDetached:b,avoidCollisions:v,..._}=e,$=xt(Rt,r),[w,y]=l.useState(null),[O,M]=l.useState(null),I=de(t,j=>y(j)),[A,L]=l.useState(null),[J,k]=l.useState(null),Y=wn(r),[C,S]=l.useState(!1),U=l.useRef(!1);l.useEffect(()=>{if(w)return Yn(w)},[w]),Bn();const ae=l.useCallback(j=>{const[K,...Z]=Y().map(Q=>Q.ref.current),[W]=Z.slice(-1),ne=document.activeElement;for(const Q of j)if(Q===ne||(Q==null||Q.scrollIntoView({block:"nearest"}),Q===K&&O&&(O.scrollTop=0),Q===W&&O&&(O.scrollTop=O.scrollHeight),Q==null||Q.focus(),document.activeElement!==ne))return},[Y,O]),ue=l.useCallback(()=>ae([A,w]),[ae,A,w]);l.useEffect(()=>{C&&ue()},[C,ue]);const{onOpenChange:he,triggerPointerDownPosRef:te}=$;l.useEffect(()=>{if(w){let j={x:0,y:0};const K=W=>{var ne,Q,ye,we;j={x:Math.abs(Math.round(W.pageX)-((ne=(Q=te.current)===null||Q===void 0?void 0:Q.x)!==null&&ne!==void 0?ne:0)),y:Math.abs(Math.round(W.pageY)-((ye=(we=te.current)===null||we===void 0?void 0:we.y)!==null&&ye!==void 0?ye:0))}},Z=W=>{j.x<=10&&j.y<=10?W.preventDefault():w.contains(W.target)||he(!1),document.removeEventListener("pointermove",K),te.current=null};return te.current!==null&&(document.addEventListener("pointermove",K),document.addEventListener("pointerup",Z,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",K),document.removeEventListener("pointerup",Z,{capture:!0})}}},[w,he,te]),l.useEffect(()=>{const j=()=>he(!1);return window.addEventListener("blur",j),window.addEventListener("resize",j),()=>{window.removeEventListener("blur",j),window.removeEventListener("resize",j)}},[he]);const[z,V]=Gf(j=>{const K=Y().filter(ne=>!ne.disabled),Z=K.find(ne=>ne.ref.current===document.activeElement),W=qf(K,j,Z);W&&setTimeout(()=>W.ref.current.focus())}),H=l.useCallback((j,K,Z)=>{const W=!U.current&&!Z;($.value!==void 0&&$.value===K||W)&&(L(j),W&&(U.current=!0))},[$.value]),X=l.useCallback(()=>w==null?void 0:w.focus(),[w]),q=l.useCallback((j,K,Z)=>{const W=!U.current&&!Z;($.value!==void 0&&$.value===K||W)&&k(j)},[$.value]),se=n==="popper"?Vf:ew,ee=se===Vf?{side:s,sideOffset:c,align:d,alignOffset:f,arrowPadding:p,collisionBoundary:m,collisionPadding:g,sticky:h,hideWhenDetached:b,avoidCollisions:v}:{};return l.createElement(jf,{scope:r,content:w,viewport:O,onViewportChange:M,itemRefCallback:H,selectedItem:A,onItemLeave:X,itemTextRefCallback:q,focusSelectedItem:ue,selectedItemText:J,position:n,isPositioned:C,searchRef:z},l.createElement(Gn,{as:pt,allowPinchZoom:!0},l.createElement(Rn,{asChild:!0,trapped:$.open,onMountAutoFocus:j=>{j.preventDefault()},onUnmountAutoFocus:G(o,j=>{var K;(K=$.trigger)===null||K===void 0||K.focus({preventScroll:!0}),j.preventDefault()})},l.createElement(Qt,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:j=>j.preventDefault(),onDismiss:()=>$.onOpenChange(!1)},l.createElement(se,E({role:"listbox",id:$.contentId,"data-state":$.open?"open":"closed",dir:$.dir,onContextMenu:j=>j.preventDefault()},_,ee,{onPlaced:()=>S(!0),ref:I,style:{display:"flex",flexDirection:"column",outline:"none",..._.style},onKeyDown:G(_.onKeyDown,j=>{const K=j.ctrlKey||j.altKey||j.metaKey;if(j.key==="Tab"&&j.preventDefault(),!K&&j.key.length===1&&V(j.key),["ArrowUp","ArrowDown","Home","End"].includes(j.key)){let W=Y().filter(ne=>!ne.disabled).map(ne=>ne.ref.current);if(["ArrowUp","End"].includes(j.key)&&(W=W.slice().reverse()),["ArrowUp","ArrowDown"].includes(j.key)){const ne=j.target,Q=W.indexOf(ne);W=W.slice(Q+1)}setTimeout(()=>ae(W)),j.preventDefault()}})}))))))}),ew=l.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,i=xt(Rt,r),a=wt(Rt,r),[s,c]=l.useState(null),[d,f]=l.useState(null),p=de(t,I=>f(I)),m=wn(r),g=l.useRef(!1),h=l.useRef(!0),{viewport:b,selectedItem:v,selectedItemText:_,focusSelectedItem:$}=a,w=l.useCallback(()=>{if(i.trigger&&i.valueNode&&s&&d&&b&&v&&_){const I=i.trigger.getBoundingClientRect(),A=d.getBoundingClientRect(),L=i.valueNode.getBoundingClientRect(),J=_.getBoundingClientRect();if(i.dir!=="rtl"){const ne=J.left-A.left,Q=L.left-ne,ye=I.left-Q,we=I.width+ye,Ne=Math.max(we,A.width),De=window.innerWidth-tt,ze=Ff(Q,[tt,De-Ne]);s.style.minWidth=we+"px",s.style.left=ze+"px"}else{const ne=A.right-J.right,Q=window.innerWidth-L.right-ne,ye=window.innerWidth-I.right-Q,we=I.width+ye,Ne=Math.max(we,A.width),De=window.innerWidth-tt,ze=Ff(Q,[tt,De-Ne]);s.style.minWidth=we+"px",s.style.right=ze+"px"}const k=m(),Y=window.innerHeight-tt*2,C=b.scrollHeight,S=window.getComputedStyle(d),U=parseInt(S.borderTopWidth,10),ae=parseInt(S.paddingTop,10),ue=parseInt(S.borderBottomWidth,10),he=parseInt(S.paddingBottom,10),te=U+ae+C+he+ue,z=Math.min(v.offsetHeight*5,te),V=window.getComputedStyle(b),H=parseInt(V.paddingTop,10),X=parseInt(V.paddingBottom,10),q=I.top+I.height/2-tt,se=Y-q,ee=v.offsetHeight/2,j=v.offsetTop+ee,K=U+ae+j,Z=te-K;if(K<=q){const ne=v===k[k.length-1].ref.current;s.style.bottom="0px";const Q=d.clientHeight-b.offsetTop-b.offsetHeight,ye=Math.max(se,ee+(ne?X:0)+Q+ue),we=K+ye;s.style.height=we+"px"}else{const ne=v===k[0].ref.current;s.style.top="0px";const ye=Math.max(q,U+b.offsetTop+(ne?H:0)+ee)+Z;s.style.height=ye+"px",b.scrollTop=K-q+b.offsetTop}s.style.margin=`${tt}px 0`,s.style.minHeight=z+"px",s.style.maxHeight=Y+"px",n==null||n(),requestAnimationFrame(()=>g.current=!0)}},[m,i.trigger,i.valueNode,s,d,b,v,_,i.dir,n]);xe(()=>w(),[w]);const[y,O]=l.useState();xe(()=>{d&&O(window.getComputedStyle(d).zIndex)},[d]);const M=l.useCallback(I=>{I&&h.current===!0&&(w(),$==null||$(),h.current=!1)},[w,$]);return l.createElement(tw,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:g,onScrollButtonChange:M},l.createElement("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:y}},l.createElement(re.div,E({},o,{ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}}))))}),Vf=l.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=tt,...i}=e,a=_i(r);return l.createElement(fo,E({},a,i,{ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...i.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)"}}))}),[tw,xi]=Vt(Rt,{}),Rf="SelectViewport",rw=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=wt(Rf,r),i=xi(Rf,r),a=de(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(xn.Slot,{scope:r},l.createElement(re.div,E({"data-radix-select-viewport":"",role:"presentation"},n,{ref:a,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:G(n.onScroll,c=>{const d=c.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:p}=i;if(p!=null&&p.current&&f){const m=Math.abs(s.current-d.scrollTop);if(m>0){const g=window.innerHeight-tt*2,h=parseFloat(f.style.minHeight),b=parseFloat(f.style.height),v=Math.max(h,b);if(v<g){const _=v+m,$=Math.min(g,_),w=_-$;f.style.height=$+"px",f.style.bottom==="0px"&&(d.scrollTop=w>0?w:0,f.style.justifyContent="flex-end")}}}s.current=d.scrollTop})}))))}),nw="SelectGroup",[ow,iw]=Vt(nw),aw=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Re();return l.createElement(ow,{scope:r,id:o},l.createElement(re.div,E({role:"group","aria-labelledby":o},n,{ref:t})))}),sw="SelectLabel",lw=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=iw(sw,r);return l.createElement(re.div,E({id:o.id},n,{ref:t}))}),wi="SelectItem",[cw,Kf]=Vt(wi),uw=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...a}=e,s=xt(wi,r),c=wt(wi,r),d=s.value===n,[f,p]=l.useState(i??""),[m,g]=l.useState(!1),h=de(t,_=>{var $;return($=c.itemRefCallback)===null||$===void 0?void 0:$.call(c,_,n,o)}),b=Re(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(cw,{scope:r,value:n,disabled:o,textId:b,isSelected:d,onItemTextChange:l.useCallback(_=>{p($=>{var w;return $||((w=_==null?void 0:_.textContent)!==null&&w!==void 0?w:"").trim()})},[])},l.createElement(xn.ItemSlot,{scope:r,value:n,disabled:o,textValue:f},l.createElement(re.div,E({role:"option","aria-labelledby":b,"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},a,{ref:h,onFocus:G(a.onFocus,()=>g(!0)),onBlur:G(a.onBlur,()=>g(!1)),onPointerUp:G(a.onPointerUp,v),onPointerMove:G(a.onPointerMove,_=>{if(o){var $;($=c.onItemLeave)===null||$===void 0||$.call(c)}else _.currentTarget.focus({preventScroll:!0})}),onPointerLeave:G(a.onPointerLeave,_=>{if(_.currentTarget===document.activeElement){var $;($=c.onItemLeave)===null||$===void 0||$.call(c)}}),onKeyDown:G(a.onKeyDown,_=>{var $;(($=c.searchRef)===null||$===void 0?void 0:$.current)!==""&&_.key===" "||(V1.includes(_.key)&&v(),_.key===" "&&_.preventDefault())})}))))}),En="SelectItemText",dw=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...i}=e,a=xt(En,r),s=wt(En,r),c=Kf(En,r),d=W1(En,r),[f,p]=l.useState(null),m=de(t,_=>p(_),c.onItemTextChange,_=>{var $;return($=s.itemTextRefCallback)===null||$===void 0?void 0:$.call(s,_,c.value,c.disabled)}),g=f==null?void 0:f.textContent,h=l.useMemo(()=>l.createElement("option",{key:c.value,value:c.value,disabled:c.disabled},g),[c.disabled,c.value,g]),{onNativeOptionAdd:b,onNativeOptionRemove:v}=d;return xe(()=>(b(h),()=>v(h)),[b,v,h]),l.createElement(l.Fragment,null,l.createElement(re.span,E({id:c.textId},i,{ref:m})),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?nt.createPortal(i.children,a.valueNode):null)}),fw="SelectItemIndicator",pw=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Kf(fw,r).isSelected?l.createElement(re.span,E({"aria-hidden":!0},n,{ref:t})):null}),Bf="SelectScrollUpButton",mw=l.forwardRef((e,t)=>{const r=wt(Bf,e.__scopeSelect),n=xi(Bf,e.__scopeSelect),[o,i]=l.useState(!1),a=de(t,n.onScrollButtonChange);return xe(()=>{if(r.viewport&&r.isPositioned){let c=function(){const d=s.scrollTop>0;i(d)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(Uf,E({},e,{ref:a,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop-c.offsetHeight)}})):null}),Wf="SelectScrollDownButton",bw=l.forwardRef((e,t)=>{const r=wt(Wf,e.__scopeSelect),n=xi(Wf,e.__scopeSelect),[o,i]=l.useState(!1),a=de(t,n.onScrollButtonChange);return xe(()=>{if(r.viewport&&r.isPositioned){let c=function(){const d=s.scrollHeight-s.clientHeight,f=Math.ceil(s.scrollTop)<d;i(f)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(Uf,E({},e,{ref:a,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop+c.offsetHeight)}})):null}),Uf=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,i=wt("SelectScrollButton",r),a=l.useRef(null),s=wn(r),c=l.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),xe(()=>{var d;const f=s().find(p=>p.ref.current===document.activeElement);f==null||(d=f.ref.current)===null||d===void 0||d.scrollIntoView({block:"nearest"})},[s]),l.createElement(re.div,E({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:G(o.onPointerMove,()=>{var d;(d=i.onItemLeave)===null||d===void 0||d.call(i),a.current===null&&(a.current=window.setInterval(n,50))}),onPointerLeave:G(o.onPointerLeave,()=>{c()})}))}),gw=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(re.div,E({"aria-hidden":!0},n,{ref:t}))}),Hf=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),i=de(t,o),a=tn(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(a!==r&&f){const p=new Event("change",{bubbles:!0});f.call(s,r),s.dispatchEvent(p)}},[a,r]),l.createElement(Mr,{asChild:!0},l.createElement("select",E({},n,{ref:i,defaultValue:r})))});Hf.displayName="BubbleSelect";function Gf(e){const t=Pe(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(a=>{const s=r.current+a;t(s),function c(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),i=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function qf(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let a=hw(e,Math.max(i,0));o.length===1&&(a=a.filter(d=>d!==r));const c=a.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function hw(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const vw=U1,yw=Y1,$w=Z1,_w=J1,xw=rw,ww=aw,Ew=lw,Sw=uw,Tw=dw,kw=pw,Pw=mw,Cw=bw,Dw=gw,Yf=P(G1)`
|
|
1459
1567
|
all: unset;
|
|
1460
1568
|
display: flex;
|
|
1461
1569
|
align-items: center;
|
|
@@ -1487,19 +1595,19 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1487
1595
|
color: ${u.color_fill_primary_disabled};
|
|
1488
1596
|
cursor: not-allowed;
|
|
1489
1597
|
}
|
|
1490
|
-
`,
|
|
1598
|
+
`,Iw=P(X1)`
|
|
1491
1599
|
color: ${u.color_fill_secondary_enabled};
|
|
1492
|
-
`,
|
|
1600
|
+
`,Ow=P(_w)`
|
|
1493
1601
|
font-family: ${u.font_family_sans};
|
|
1494
1602
|
overflow: hidden;
|
|
1495
1603
|
background-color: ${u.color_white};
|
|
1496
1604
|
margin-top: 52px;
|
|
1497
1605
|
border-radius: ${u.border_radius_400};
|
|
1498
1606
|
box-shadow: ${u.elevation_static_high};
|
|
1499
|
-
`,
|
|
1607
|
+
`,Aw=P(xw)`
|
|
1500
1608
|
padding: ${u.sizing_100};
|
|
1501
1609
|
min-width: 172px;
|
|
1502
|
-
`;function
|
|
1610
|
+
`;function Xf({children:e,...t}){return T($w,{children:T(Ow,{...t,children:e})})}const Nw=P(Sw)`
|
|
1503
1611
|
all: unset;
|
|
1504
1612
|
font-size: ${u.font_size_100};
|
|
1505
1613
|
line-height: ${u.line_height_129};
|
|
@@ -1523,17 +1631,17 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1523
1631
|
&[data-highlighted] {
|
|
1524
1632
|
background-color: ${u.color_background_white_weak}; /* Static / Background / Weak */
|
|
1525
1633
|
}
|
|
1526
|
-
`,
|
|
1634
|
+
`,zw=P(Ew)`
|
|
1527
1635
|
padding: 7px ${u.sizing_200};
|
|
1528
1636
|
font-size: ${u.font_size_50};
|
|
1529
1637
|
line-height: ${u.line_height_133};
|
|
1530
1638
|
color: ${u.color_text_weak};
|
|
1531
1639
|
font-style: normal;
|
|
1532
|
-
`,
|
|
1640
|
+
`,Lw=P(Dw)`
|
|
1533
1641
|
height: 1px;
|
|
1534
1642
|
background-color: ${u.color_divider_standard};
|
|
1535
1643
|
margin: ${u.spacing_100};
|
|
1536
|
-
`,
|
|
1644
|
+
`,Mw=P(kw)`
|
|
1537
1645
|
left: 0;
|
|
1538
1646
|
width: 25px;
|
|
1539
1647
|
display: inline-flex;
|
|
@@ -1544,7 +1652,7 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1544
1652
|
line-height: 0;
|
|
1545
1653
|
font-size: ${u.font_size_200};
|
|
1546
1654
|
}
|
|
1547
|
-
`,
|
|
1655
|
+
`,Zf=`
|
|
1548
1656
|
display: flex;
|
|
1549
1657
|
align-items: center;
|
|
1550
1658
|
justify-content: center;
|
|
@@ -1552,38 +1660,38 @@ Defaulting to \`${la}\`.`}function ef(e){return R_.includes(e)}const B_=Qd,tf="T
|
|
|
1552
1660
|
background-color: ${u.color_white};
|
|
1553
1661
|
color: ${u.color_black};
|
|
1554
1662
|
cursor: default;
|
|
1555
|
-
`,
|
|
1556
|
-
${
|
|
1557
|
-
`,
|
|
1558
|
-
${
|
|
1559
|
-
`,
|
|
1663
|
+
`,Fw=P(Pw)`
|
|
1664
|
+
${Zf}
|
|
1665
|
+
`,jw=P(Cw)`
|
|
1666
|
+
${Zf}
|
|
1667
|
+
`,Jf=vw,Qf=Yf,ep=yw,tp=Iw,Vw=Aw,Rw=ww,rp=Nw,np=Tw,Kw=Mw,Bw=zw,Ww=Lw,op=Fw,ip=jw;function Uw({items:e,...t}){return le(Jf,{...t,children:[le(Qf,{"aria-label":"Food",children:[T(ep,{placeholder:"Select"}),T(tp,{children:T(Ee.ArrowDropDown,{})})]}),le(Xf,{children:[T(op,{children:T(Ee.ArrowDropUp,{})}),e.map(r=>T(rp,{value:r,children:T(np,{children:r})},r)),T(ip,{children:T(Ee.ArrowDropDown,{})})]})]})}function Hw(e){let[t,r]=Js(ap(e.value),ap(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function ap(e){if(e!=null)return e.toString()}function Gw(e){return e&&e.__esModule?e.default:e}var sp={},lp={};lp={"Clear search":"مسح البحث"};var cp={};cp={"Clear search":"Изчистване на търсене"};var up={};up={"Clear search":"Vymazat hledání"};var dp={};dp={"Clear search":"Ryd søgning"};var fp={};fp={"Clear search":"Suche zurücksetzen"};var pp={};pp={"Clear search":"Απαλοιφή αναζήτησης"};var mp={};mp={"Clear search":"Clear search"};var bp={};bp={"Clear search":"Borrar búsqueda"};var gp={};gp={"Clear search":"Tühjenda otsing"};var hp={};hp={"Clear search":"Tyhjennä haku"};var vp={};vp={"Clear search":"Effacer la recherche"};var yp={};yp={"Clear search":"נקה חיפוש"};var $p={};$p={"Clear search":"Obriši pretragu"};var _p={};_p={"Clear search":"Keresés törlése"};var xp={};xp={"Clear search":"Cancella ricerca"};var wp={};wp={"Clear search":"検索をクリア"};var Ep={};Ep={"Clear search":"검색 지우기"};var Sp={};Sp={"Clear search":"Išvalyti iešką"};var Tp={};Tp={"Clear search":"Notīrīt meklēšanu"};var kp={};kp={"Clear search":"Tøm søk"};var Pp={};Pp={"Clear search":"Zoekactie wissen"};var Cp={};Cp={"Clear search":"Wyczyść zawartość wyszukiwania"};var Dp={};Dp={"Clear search":"Limpar pesquisa"};var Ip={};Ip={"Clear search":"Limpar pesquisa"};var Op={};Op={"Clear search":"Ştergeţi căutarea"};var Ap={};Ap={"Clear search":"Очистить поиск"};var Np={};Np={"Clear search":"Vymazať vyhľadávanie"};var zp={};zp={"Clear search":"Počisti iskanje"};var Lp={};Lp={"Clear search":"Obriši pretragu"};var Mp={};Mp={"Clear search":"Rensa sökning"};var Fp={};Fp={"Clear search":"Aramayı temizle"};var jp={};jp={"Clear search":"Очистити пошук"};var Vp={};Vp={"Clear search":"清除搜索"};var Rp={};Rp={"Clear search":"清除搜尋條件"},sp={"ar-AE":lp,"bg-BG":cp,"cs-CZ":up,"da-DK":dp,"de-DE":fp,"el-GR":pp,"en-US":mp,"es-ES":bp,"et-EE":gp,"fi-FI":hp,"fr-FR":vp,"he-IL":yp,"hr-HR":$p,"hu-HU":_p,"it-IT":xp,"ja-JP":wp,"ko-KR":Ep,"lt-LT":Sp,"lv-LV":Tp,"nb-NO":kp,"nl-NL":Pp,"pl-PL":Cp,"pt-BR":Dp,"pt-PT":Ip,"ro-RO":Op,"ru-RU":Ap,"sk-SK":Np,"sl-SI":zp,"sr-SP":Lp,"sv-SE":Mp,"tr-TR":Fp,"uk-UA":jp,"zh-CN":Vp,"zh-TW":Rp};function qw(e,t,r){let n=ur(Gw(sp)),{isDisabled:o,isReadOnly:i,onSubmit:a=()=>{},onClear:s,type:c="search"}=e,d=v=>{const _=v.key;(_==="Enter"||_==="Escape")&&v.preventDefault(),!(o||i)&&(_==="Enter"&&a(t.value),_==="Escape"&&(t.setValue(""),s&&s()))},f=()=>{t.setValue(""),s&&s()},p=()=>{r.current.focus()},{labelProps:m,inputProps:g,descriptionProps:h,errorMessageProps:b}=rn({...e,value:t.value,onChange:t.setValue,onKeyDown:nl(d,e.onKeyDown),type:c},r);return{labelProps:m,inputProps:{...g,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||i,onPress:f,onPressStart:p},descriptionProps:h,errorMessageProps:b}}var Ei={},Sn={},Yw={get exports(){return Sn},set exports(e){Sn=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})(Yw);var Tn={},Xw={get exports(){return Tn},set exports(e){Tn=e}},Si={},Zw={get exports(){return Si},set exports(e){Si=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})(Zw),function(e){var t=Si.default;function r(o){if(typeof WeakMap!="function")return null;var i=new WeakMap,a=new WeakMap;return(r=function(c){return c?a:i})(o)}function n(o,i){if(!i&&o&&o.__esModule)return o;if(o===null||t(o)!=="object"&&typeof o!="function")return{default:o};var a=r(i);if(a&&a.has(o))return a.get(o);var s={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in o)if(d!=="default"&&Object.prototype.hasOwnProperty.call(o,d)){var f=c?Object.getOwnPropertyDescriptor(o,d):null;f&&(f.get||f.set)?Object.defineProperty(s,d,f):s[d]=o[d]}return s.default=o,a&&a.set(o,s),s}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(Xw);var Ti={};function Kp(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function lt(e){return lt=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},lt(e)}function ki(e){return e&<(e)==="object"&&e.constructor===Object}function Kt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},n=r.clone?E({},e):e;return ki(e)&&ki(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(ki(t[o])&&o in e?n[o]=Kt(e[o],t[o],r):n[o]=t[o])}),n}var me={},Bp={get exports(){return me},set exports(e){me=e}};/*
|
|
1560
1668
|
object-assign
|
|
1561
1669
|
(c) Sindre Sorhus
|
|
1562
1670
|
@license MIT
|
|
1563
|
-
*/var
|
|
1564
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
1565
|
-
`,space:" "}}function
|
|
1566
|
-
`);return o}return this.key+" "+this.value+";"},e}(),Xw={"@charset":!0,"@import":!0,"@namespace":!0},Zw={onCreateRule:function(t,r,n){return t in Xw?new Yw(t,r,n):null}},Gp=[Aw,Mw,Rw,Bw,Hw,qw,Zw],Jw={process:!0},qp={force:!0,process:!0},Sn=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,f=i.jss,d=i.Renderer,p=i.generateId,b=i.scoped,m=S({classes:this.classes,parent:s,sheet:c,jss:f,Renderer:d,generateId:p,scoped:b,name:n,keyframes:this.keyframes,selector:void 0},a),h=n;n in this.raw&&(h=n+"-d"+this.counter++),this.raw[h]=o,h in this.classes&&(m.selector="."+Oa(this.classes[h]));var g=Ia(h,o,m);if(!g)return null;this.register(g);var v=m.index===void 0?this.index.length:m.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=S({},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 Aa?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof La&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof Aa?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof La&&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=Jw);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var f=n.style;if(s.onUpdate(o,n,c,a),a.process&&f&&f!==n.style){s.onProcessStyle(n.style,n,c);for(var d in n.style){var p=n.style[d],b=f[d];p!==b&&n.prop(d,p,qp)}for(var m in f){var h=n.style[m],g=f[m];h==null&&h!==g&&n.prop(m,null,qp)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Rt(n),c=s.linebreak,f=0;f<this.index.length;f++){var d=this.index[f],p=d.toString(n);!p&&!i||(o&&(o+=c),o+=p)}return o},e}(),Yp=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=S({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new Sn(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}(),Qw=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"&&De(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),eE=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=Mp(o,["attached"]),s=Rt(i),c=s.linebreak,f="",d=0;d<this.registry.length;d++){var p=this.registry[d];a!=null&&p.attached!==a||(f&&(f+=c),f+=p.toString(i))}return f},jp(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),hr=new eE,Fa=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Va="2f1acc6c3a606b082e5eef5e54414ffb";Fa[Va]==null&&(Fa[Va]=0);var Xp=Fa[Va]++,tE=1e10,Zp=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>tE&&process.env.NODE_ENV!=="production"&&De(!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")+Xp+s+r:c+a.key+"-"+Xp+(s?"-"+s:"")+"-"+r};return n},Jp=function(t){var r;return function(){return r||(r=t()),r}},rE=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},nE=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=xt(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},oE=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&De(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},aE=function(t,r){return t.selectorText=r,t.selectorText===r},Qp=Jp(function(){return document.querySelector("head")});function iE(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 sE(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 lE(e){for(var t=Qp(),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 cE(e){var t=hr.registry;if(t.length>0){var r=iE(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=sE(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=lE(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&De(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function uE(e,t){var r=t.insertionPoint,n=cE(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"&&De(!1,"[JSS] Insertion point is not in the DOM.");return}Qp().appendChild(e)}var dE=Jp(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),eb=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"&&De(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},tb=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},fE=function(){var t=document.createElement("style");return t.textContent=`
|
|
1567
|
-
`,t},
|
|
1671
|
+
*/var Pi,Wp;function Jw(){if(Wp)return Pi;Wp=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(f){d[f]=f}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Pi=o()?Object.assign:function(i,a){for(var s,c=n(i),d,f=1;f<arguments.length;f++){s=Object(arguments[f]);for(var p in s)t.call(s,p)&&(c[p]=s[p]);if(e){d=e(s);for(var m=0;m<d.length;m++)r.call(s,d[m])&&(c[d[m]]=s[d[m]])}}return c},Pi}var Ci,Up;function Di(){if(Up)return Ci;Up=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ci=e,Ci}var Ii,Hp;function Gp(){return Hp||(Hp=1,Ii=Function.call.bind(Object.prototype.hasOwnProperty)),Ii}var Oi,qp;function Qw(){if(qp)return Oi;qp=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Di(),r={},n=Gp();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,c,d){if(process.env.NODE_ENV!=="production"){for(var f in i)if(n(i,f)){var p;try{if(typeof i[f]!="function"){var m=Error((c||"React class")+": "+s+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=i[f](a,f,c,s,null,t)}catch(h){p=h}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+f+"` 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 g=d?d():"";e("Failed "+s+" type: "+p.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Oi=o,Oi}var Ai,Yp;function eE(){if(Yp)return Ai;Yp=1;var e=Tt,t=Jw(),r=Di(),n=Gp(),o=Qw(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return Ai=function(s,c){var d=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(z){var V=z&&(d&&z[d]||z[f]);if(typeof V=="function")return V}var m="<<anonymous>>",g={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:$(),arrayOf:w,element:y(),elementType:O(),instanceOf:M,node:J(),objectOf:A,oneOf:I,oneOfType:L,shape:Y,exact:C};function h(z,V){return z===V?z!==0||1/z===1/V:z!==z&&V!==V}function b(z,V){this.message=z,this.data=V&&typeof V=="object"?V:{},this.stack=""}b.prototype=Error.prototype;function v(z){if(process.env.NODE_ENV!=="production")var V={},H=0;function X(se,ee,j,K,Z,W,ne){if(K=K||m,W=W||j,ne!==r){if(c){var Q=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 Q.name="Invariant Violation",Q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ye=K+":"+j;!V[ye]&&H<3&&(i("You are manually calling a React.PropTypes validation function for the `"+W+"` prop on `"+K+"`. 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."),V[ye]=!0,H++)}}return ee[j]==null?se?ee[j]===null?new b("The "+Z+" `"+W+"` is marked as required "+("in `"+K+"`, but its value is `null`.")):new b("The "+Z+" `"+W+"` is marked as required in "+("`"+K+"`, but its value is `undefined`.")):null:z(ee,j,K,Z,W)}var q=X.bind(null,!1);return q.isRequired=X.bind(null,!0),q}function _(z){function V(H,X,q,se,ee,j){var K=H[X],Z=ae(K);if(Z!==z){var W=ue(K);return new b("Invalid "+se+" `"+ee+"` of type "+("`"+W+"` supplied to `"+q+"`, expected ")+("`"+z+"`."),{expectedType:z})}return null}return v(V)}function $(){return v(a)}function w(z){function V(H,X,q,se,ee){if(typeof z!="function")return new b("Property `"+ee+"` of component `"+q+"` has invalid PropType notation inside arrayOf.");var j=H[X];if(!Array.isArray(j)){var K=ae(j);return new b("Invalid "+se+" `"+ee+"` of type "+("`"+K+"` supplied to `"+q+"`, expected an array."))}for(var Z=0;Z<j.length;Z++){var W=z(j,Z,q,se,ee+"["+Z+"]",r);if(W instanceof Error)return W}return null}return v(V)}function y(){function z(V,H,X,q,se){var ee=V[H];if(!s(ee)){var j=ae(ee);return new b("Invalid "+q+" `"+se+"` of type "+("`"+j+"` supplied to `"+X+"`, expected a single ReactElement."))}return null}return v(z)}function O(){function z(V,H,X,q,se){var ee=V[H];if(!e.isValidElementType(ee)){var j=ae(ee);return new b("Invalid "+q+" `"+se+"` of type "+("`"+j+"` supplied to `"+X+"`, expected a single ReactElement type."))}return null}return v(z)}function M(z){function V(H,X,q,se,ee){if(!(H[X]instanceof z)){var j=z.name||m,K=te(H[X]);return new b("Invalid "+se+" `"+ee+"` of type "+("`"+K+"` supplied to `"+q+"`, expected ")+("instance of `"+j+"`."))}return null}return v(V)}function I(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("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])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function V(H,X,q,se,ee){for(var j=H[X],K=0;K<z.length;K++)if(h(j,z[K]))return null;var Z=JSON.stringify(z,function(ne,Q){var ye=ue(Q);return ye==="symbol"?String(Q):Q});return new b("Invalid "+se+" `"+ee+"` of value `"+String(j)+"` "+("supplied to `"+q+"`, expected one of "+Z+"."))}return v(V)}function A(z){function V(H,X,q,se,ee){if(typeof z!="function")return new b("Property `"+ee+"` of component `"+q+"` has invalid PropType notation inside objectOf.");var j=H[X],K=ae(j);if(K!=="object")return new b("Invalid "+se+" `"+ee+"` of type "+("`"+K+"` supplied to `"+q+"`, expected an object."));for(var Z in j)if(n(j,Z)){var W=z(j,Z,q,se,ee+"."+Z,r);if(W instanceof Error)return W}return null}return v(V)}function L(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var V=0;V<z.length;V++){var H=z[V];if(typeof H!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+he(H)+" at index "+V+"."),a}function X(q,se,ee,j,K){for(var Z=[],W=0;W<z.length;W++){var ne=z[W],Q=ne(q,se,ee,j,K,r);if(Q==null)return null;Q.data&&n(Q.data,"expectedType")&&Z.push(Q.data.expectedType)}var ye=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new b("Invalid "+j+" `"+K+"` supplied to "+("`"+ee+"`"+ye+"."))}return v(X)}function J(){function z(V,H,X,q,se){return S(V[H])?null:new b("Invalid "+q+" `"+se+"` supplied to "+("`"+X+"`, expected a ReactNode."))}return v(z)}function k(z,V,H,X,q){return new b((z||"React class")+": "+V+" type `"+H+"."+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+q+"`.")}function Y(z){function V(H,X,q,se,ee){var j=H[X],K=ae(j);if(K!=="object")return new b("Invalid "+se+" `"+ee+"` of type `"+K+"` "+("supplied to `"+q+"`, expected `object`."));for(var Z in z){var W=z[Z];if(typeof W!="function")return k(q,se,ee,Z,ue(W));var ne=W(j,Z,q,se,ee+"."+Z,r);if(ne)return ne}return null}return v(V)}function C(z){function V(H,X,q,se,ee){var j=H[X],K=ae(j);if(K!=="object")return new b("Invalid "+se+" `"+ee+"` of type `"+K+"` "+("supplied to `"+q+"`, expected `object`."));var Z=t({},H[X],z);for(var W in Z){var ne=z[W];if(n(z,W)&&typeof ne!="function")return k(q,se,ee,W,ue(ne));if(!ne)return new b("Invalid "+se+" `"+ee+"` key `"+W+"` supplied to `"+q+"`.\nBad object: "+JSON.stringify(H[X],null," ")+`
|
|
1672
|
+
Valid keys: `+JSON.stringify(Object.keys(z),null," "));var Q=ne(j,W,q,se,ee+"."+W,r);if(Q)return Q}return null}return v(V)}function S(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(S);if(z===null||s(z))return!0;var V=p(z);if(V){var H=V.call(z),X;if(V!==z.entries){for(;!(X=H.next()).done;)if(!S(X.value))return!1}else for(;!(X=H.next()).done;){var q=X.value;if(q&&!S(q[1]))return!1}}else return!1;return!0;default:return!1}}function U(z,V){return z==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function ae(z){var V=typeof z;return Array.isArray(z)?"array":z instanceof RegExp?"object":U(V,z)?"symbol":V}function ue(z){if(typeof z>"u"||z===null)return""+z;var V=ae(z);if(V==="object"){if(z instanceof Date)return"date";if(z instanceof RegExp)return"regexp"}return V}function he(z){var V=ue(z);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function te(z){return!z.constructor||!z.constructor.name?m:z.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},Ai}var Ni,Xp;function tE(){if(Xp)return Ni;Xp=1;var e=Di();function t(){}function r(){}return r.resetWarningCache=t,Ni=function(){function n(a,s,c,d,f,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 i={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 i.PropTypes=i,i},Ni}if(process.env.NODE_ENV!=="production"){var rE=Tt,nE=!0;Bp.exports=eE()(rE.isElement,nE)}else Bp.exports=tE()();function oE(e,t){if(lt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zp(e){var t=oE(e,"string");return lt(t)==="symbol"?t:String(t)}function vr(e,t,r){return t=Zp(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var iE="exact-prop: ";function aE(e){return process.env.NODE_ENV==="production"?e:E({},e,vr({},iE,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 kn(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 sE=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function lE(e){var t="".concat(e).match(sE),r=t&&t[1];return r||""}function Jp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||lE(e)||t}function Qp(e,t,r){var n=Jp(t);return e.displayName||(n!==""?"".concat(r,"(").concat(n,")"):r)}function yr(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Jp(e,"Component");if(lt(e)==="object")switch(e.$$typeof){case Tt.ForwardRef:return Qp(e,e.render,"ForwardRef");case Tt.Memo:return Qp(e,e.type,"memo");default:return}}}function zi(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":kn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function cE(){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 a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];n.apply(this,s),o.apply(this,s)})},function(){})}function em(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function He(e,t){if(e==null)return{};var r=em(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var uE=typeof Symbol=="function"&&Symbol.for;const dE=uE?Symbol.for("mui.nested"):"__THEME_NESTED__";var fE=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function pE(){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,i=e.seed,a=i===void 0?"":i,s=a===""?"":"".concat(a,"-"),c=0,d=function(){return c+=1,process.env.NODE_ENV!=="production"&&c>=1e10&&console.warn(["Material-UI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),c};return function(f,p){var m=p.options.name;if(m&&m.indexOf("Mui")===0&&!p.options.link&&!r){if(fE.indexOf(f.key)!==-1)return"Mui-".concat(f.key);var g="".concat(s).concat(m,"-").concat(f.key);return!p.options.theme[dE]||a!==""?g:"".concat(g,"-").concat(d())}if(process.env.NODE_ENV==="production")return"".concat(s).concat(o).concat(d());var h="".concat(f.key,"-").concat(d());return p.options.classNamePrefix?"".concat(s).concat(p.options.classNamePrefix,"-").concat(h):"".concat(s).concat(h)}}function mE(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],i;for(i in o)n[i]===void 0&&(n[i]=o[i]);return n}var bE=process.env.NODE_ENV==="production";function Ae(e,t){if(!bE){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var tm=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},$r=(typeof window>"u"?"undefined":tm(window))==="object"&&(typeof document>"u"?"undefined":tm(document))==="object"&&document.nodeType===9;function rm(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,Zp(n.key),n)}}function nm(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Li(e,t){return Li=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Li(e,t)}function om(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Li(e,t)}function im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var gE={}.constructor;function Mi(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Mi);if(e.constructor!==gE)return e;var t={};for(var r in e)t[r]=Mi(e[r]);return t}function Fi(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,o=Mi(t),i=n.plugins.onCreateRule(e,o,r);return i||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&Ae(!1,"[JSS] Unknown rule "+e),null)}var am=function(t,r){for(var n="",o=0;o<t.length&&t[o]!=="!important";o++)n&&(n+=r),n+=t[o];return n},Et=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+=am(t[n]," ");else r=am(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function Bt(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
|
|
1673
|
+
`,space:" "}}function _r(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function xr(e,t,r){r===void 0&&(r={});var n="";if(!t)return n;var o=r,i=o.indent,a=i===void 0?0:i,s=t.fallbacks;r.format===!1&&(a=-1/0);var c=Bt(r),d=c.linebreak,f=c.space;if(e&&a++,s)if(Array.isArray(s))for(var p=0;p<s.length;p++){var m=s[p];for(var g in m){var h=m[g];h!=null&&(n&&(n+=d),n+=_r(g+":"+f+Et(h)+";",a))}}else for(var b in s){var v=s[b];v!=null&&(n&&(n+=d),n+=_r(b+":"+f+Et(v)+";",a))}for(var _ in t){var $=t[_];$!=null&&_!=="fallbacks"&&(n&&(n+=d),n+=_r(_+":"+f+Et($)+";",a))}return!n&&!r.allowEmpty||!e?n:(a--,n&&(n=""+d+n+d),_r(""+e+f+"{"+n,a)+_r("}",a))}var hE=/([[\].#*$><+~=|^:(),"'`\s])/g,sm=typeof CSS<"u"&&CSS.escape,ji=function(e){return sm?sm(e):e.replace(hE,"\\$1")},lm=function(){function e(r,n,o){this.type="style",this.isProcessed=!1;var i=o.sheet,a=o.Renderer;this.key=r,this.options=o,this.style=n,i?this.renderer=i.renderer:a&&(this.renderer=new a)}var t=e.prototype;return t.prop=function(n,o,i){if(o===void 0)return this.style[n];var a=i?i.force:!1;if(!a&&this.style[n]===o)return this;var s=o;(!i||i.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(o,n,this));var c=s==null||s===!1,d=n in this.style;if(c&&!d&&!a)return this;var f=c&&d;if(f?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return f?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"&&Ae(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),Vi=function(e){om(t,e);function t(n,o,i){var a;a=e.call(this,n,o,i)||this;var s=i.selector,c=i.scoped,d=i.sheet,f=i.generateId;return s?a.selectorText=s:c!==!1&&(a.id=f(im(im(a)),d),a.selectorText="."+ji(a.id)),a}var r=t.prototype;return r.applyTo=function(o){var i=this.renderer;if(i){var a=this.toJSON();for(var s in a)i.setProperty(o,s,a[s])}return this},r.toJSON=function(){var o={};for(var i in this.style){var a=this.style[i];typeof a!="object"?o[i]=a:Array.isArray(a)&&(o[i]=Et(a))}return o},r.toString=function(o){var i=this.options.sheet,a=i?i.options.link:!1,s=a?E({},o,{allowEmpty:!0}):o;return xr(this.selectorText,this.style,s)},nm(t,[{key:"selector",set:function(o){if(o!==this.selectorText){this.selectorText=o;var i=this.renderer,a=this.renderable;if(!(!a||!i)){var s=i.setSelector(a,o);s||i.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),t}(lm),vE={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new Vi(t,r,n)}},Ri={indent:1,children:!0},yE=/@([\w-]+)/,$E=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var i=r.match(yE);this.at=i?i[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new Pn(E({},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.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,o,i){var a=this.rules.add(n,o,i);return a?(this.options.jss.plugins.onProcessRule(a),a):null},t.replaceRule=function(n,o,i){var a=this.rules.replace(n,o,i);return a&&this.options.jss.plugins.onProcessRule(a),a},t.toString=function(n){n===void 0&&(n=Ri);var o=Bt(n),i=o.linebreak;if(n.indent==null&&(n.indent=Ri.indent),n.children==null&&(n.children=Ri.children),n.children===!1)return this.query+" {}";var a=this.rules.toString(n);return a?this.query+" {"+i+a+i+"}":""},e}(),_E=/@media|@supports\s+/,xE={onCreateRule:function(t,r,n){return _E.test(t)?new $E(t,r,n):null}},Ki={indent:1,children:!0},wE=/@keyframes\s+([\w-]+)/,Bi=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=r.match(wE);i&&i[1]?this.name=i[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&Ae(!1,"[JSS] Bad keyframes name "+r)),this.key=this.type+"-"+this.name,this.options=o;var a=o.scoped,s=o.sheet,c=o.generateId;this.id=a===!1?this.name:ji(c(this,s)),this.rules=new Pn(E({},o,{parent:this}));for(var d in n)this.rules.add(d,n[d],E({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=Ki);var o=Bt(n),i=o.linebreak;if(n.indent==null&&(n.indent=Ki.indent),n.children==null&&(n.children=Ki.children),n.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(n);return a&&(a=""+i+a+i),this.at+" "+this.id+" {"+a+"}"},e}(),EE=/@keyframes\s+/,SE=/\$([\w-]+)/g,Wi=function(t,r){return typeof t=="string"?t.replace(SE,function(n,o){return o in r?r[o]:(process.env.NODE_ENV!=="production"&&Ae(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),n)}):t},cm=function(t,r,n){var o=t[r],i=Wi(o,n);i!==o&&(t[r]=i)},TE={onCreateRule:function(t,r,n){return typeof t=="string"&&EE.test(t)?new Bi(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&cm(t,"animation-name",n.keyframes),"animation"in t&&cm(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return Wi(t,o.keyframes);case"animation-name":return Wi(t,o.keyframes);default:return t}}},kE=function(e){om(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(o){var i=this.options.sheet,a=i?i.options.link:!1,s=a?E({},o,{allowEmpty:!0}):o;return xr(this.key,this.style,s)},t}(lm),PE={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new kE(t,r,n):null}},CE=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=Bt(n),i=o.linebreak;if(Array.isArray(this.style)){for(var a="",s=0;s<this.style.length;s++)a+=xr(this.at,this.style[s]),this.style[s+1]&&(a+=i);return a}return xr(this.at,this.style,n)},e}(),DE=/@font-face/,IE={onCreateRule:function(t,r,n){return DE.test(t)?new CE(t,r,n):null}},OE=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 xr(this.key,this.style,n)},e}(),AE={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new OE(t,r,n):null}},NE=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="",i=0;i<this.value.length;i++)o+=this.key+" "+this.value[i]+";",this.value[i+1]&&(o+=`
|
|
1674
|
+
`);return o}return this.key+" "+this.value+";"},e}(),zE={"@charset":!0,"@import":!0,"@namespace":!0},LE={onCreateRule:function(t,r,n){return t in zE?new NE(t,r,n):null}},um=[vE,xE,TE,PE,IE,AE,LE],ME={process:!0},dm={force:!0,process:!0},Pn=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,i){var a=this.options,s=a.parent,c=a.sheet,d=a.jss,f=a.Renderer,p=a.generateId,m=a.scoped,g=E({classes:this.classes,parent:s,sheet:c,jss:d,Renderer:f,generateId:p,scoped:m,name:n,keyframes:this.keyframes,selector:void 0},i),h=n;n in this.raw&&(h=n+"-d"+this.counter++),this.raw[h]=o,h in this.classes&&(g.selector="."+ji(this.classes[h]));var b=Fi(h,o,g);if(!b)return null;this.register(b);var v=g.index===void 0?this.index.length:g.index;return this.index.splice(v,0,b),b},t.replace=function(n,o,i){var a=this.get(n),s=this.index.indexOf(a);a&&this.remove(a);var c=i;return s!==-1&&(c=E({},i,{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 Vi?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Bi&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof Vi?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Bi&&delete this.keyframes[n.name]},t.update=function(){var n,o,i;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],i=arguments.length<=2?void 0:arguments[2]):(o=arguments.length<=0?void 0:arguments[0],i=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),o,i);else for(var a=0;a<this.index.length;a++)this.updateOne(this.index[a],o,i)},t.updateOne=function(n,o,i){i===void 0&&(i=ME);var a=this.options,s=a.jss.plugins,c=a.sheet;if(n.rules instanceof e){n.rules.update(o,i);return}var d=n.style;if(s.onUpdate(o,n,c,i),i.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var f in n.style){var p=n.style[f],m=d[f];p!==m&&n.prop(f,p,dm)}for(var g in d){var h=n.style[g],b=d[g];h==null&&h!==b&&n.prop(g,null,dm)}}},t.toString=function(n){for(var o="",i=this.options.sheet,a=i?i.options.link:!1,s=Bt(n),c=s.linebreak,d=0;d<this.index.length;d++){var f=this.index[d],p=f.toString(n);!p&&!a||(o&&(o+=c),o+=p)}return o},e}(),fm=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=E({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new Pn(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,i){var a=this.queue;this.attached&&!a&&(this.queue=[]);var s=this.rules.add(n,o,i);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(a?a.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,i){var a=this.rules.get(n);if(!a)return this.addRule(n,o,i);var s=this.rules.replace(n,o,i);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?a.renderable&&this.renderer.replaceRule(a.renderable,s):this.renderer.deleteRule(a)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,o){var i=[];for(var a in n){var s=this.addRule(a,n[a],o);s&&i.push(s)}return i},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,i){return this.rules.updateOne(n,o,i),this},t.toString=function(n){return this.rules.toString(n)},e}(),FE=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,o,i){for(var a=0;a<this.registry.onCreateRule.length;a++){var s=this.registry.onCreateRule[a](n,o,i);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var o=n.options.sheet,i=0;i<this.registry.onProcessRule.length;i++)this.registry.onProcessRule[i](n,o);n.style&&this.onProcessStyle(n.style,n,o),n.isProcessed=!0}},t.onProcessStyle=function(n,o,i){for(var a=0;a<this.registry.onProcessStyle.length;a++)o.style=this.registry.onProcessStyle[a](o.style,o,i)},t.onProcessSheet=function(n){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](n)},t.onUpdate=function(n,o,i,a){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,o,i,a)},t.onChangeValue=function(n,o,i){for(var a=n,s=0;s<this.registry.onChangeValue.length;s++)a=this.registry.onChangeValue[s](a,o,i);return a},t.use=function(n,o){o===void 0&&(o={queue:"external"});var i=this.plugins[o.queue];i.indexOf(n)===-1&&(i.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(a,s){for(var c in s)c in a?a[c].push(s[c]):process.env.NODE_ENV!=="production"&&Ae(!1,'[JSS] Unknown hook "'+c+'".');return a},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),jE=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var o=this.registry,i=n.options.index;if(o.indexOf(n)===-1){if(o.length===0||i>=this.index){o.push(n);return}for(var a=0;a<o.length;a++)if(o[a].options.index>i){o.splice(a,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,i=o.attached,a=em(o,["attached"]),s=Bt(a),c=s.linebreak,d="",f=0;f<this.registry.length;f++){var p=this.registry[f];i!=null&&p.attached!==i||(d&&(d+=c),d+=p.toString(a))}return d},nm(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),wr=new jE,Ui=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Hi="2f1acc6c3a606b082e5eef5e54414ffb";Ui[Hi]==null&&(Ui[Hi]=0);var pm=Ui[Hi]++,VE=1e10,mm=function(t){t===void 0&&(t={});var r=0,n=function(i,a){r+=1,r>VE&&process.env.NODE_ENV!=="production"&&Ae(!1,"[JSS] You might have a memory leak. Rule counter is at "+r+".");var s="",c="";return a&&(a.options.classNamePrefix&&(c=a.options.classNamePrefix),a.options.jss.id!=null&&(s=String(a.options.jss.id))),t.minify?""+(c||"c")+pm+s+r:c+i.key+"-"+pm+(s?"-"+s:"")+"-"+r};return n},bm=function(t){var r;return function(){return r||(r=t()),r}},RE=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},KE=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=Et(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,o);else{var i=o?o.indexOf("!important"):-1,a=i>-1?o.substr(0,i-1):o;t.style.setProperty(r,a,i>-1?"important":"")}}catch{return!1}return!0},BE=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Ae(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},WE=function(t,r){return t.selectorText=r,t.selectorText===r},gm=bm(function(){return document.querySelector("head")});function UE(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 HE(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 GE(e){for(var t=gm(),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 qE(e){var t=wr.registry;if(t.length>0){var r=UE(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=HE(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=GE(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Ae(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function YE(e,t){var r=t.insertionPoint,n=qE(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var o=r,i=o.parentNode;i?i.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&Ae(!1,"[JSS] Insertion point is not in the DOM.");return}gm().appendChild(e)}var XE=bm(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),hm=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"&&Ae(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},vm=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},ZE=function(){var t=document.createElement("style");return t.textContent=`
|
|
1675
|
+
`,t},JE=function(){function e(r){this.getPropertyValue=RE,this.setProperty=KE,this.removeProperty=BE,this.setSelector=WE,this.hasInsertedRules=!1,this.cssRules=[],r&&wr.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},o=n.media,i=n.meta,a=n.element;this.element=a||ZE(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),i&&this.element.setAttribute("data-meta",i);var s=XE();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){YE(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=`
|
|
1568
1676
|
`)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
|
|
1569
1677
|
`+n.toString()+`
|
|
1570
|
-
`}},t.insertRules=function(n,o){for(var
|
|
1678
|
+
`}},t.insertRules=function(n,o){for(var i=0;i<n.index.length;i++)this.insertRule(n.index[i],i,o)},t.insertRule=function(n,o,i){if(i===void 0&&(i=this.element.sheet),n.rules){var a=n,s=i;if(n.type==="conditional"||n.type==="keyframes"){var c=vm(i,o);if(s=hm(i,a.toString({children:!1}),c),s===!1)return!1;this.refCssRule(n,c,s)}return this.insertRules(a.rules,s),s}var d=n.toString();if(!d)return!1;var f=vm(i,o),p=hm(i,d,f);return p===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,f,p),p)},t.refCssRule=function(n,o,i){n.renderable=i,n.options.parent instanceof fm&&this.cssRules.splice(o,0,i)},t.deleteRule=function(n){var o=this.element.sheet,i=this.indexOf(n);return i===-1?!1:(o.deleteRule(i),this.cssRules.splice(i,1),!0)},t.indexOf=function(n){return this.cssRules.indexOf(n)},t.replaceRule=function(n,o){var i=this.indexOf(n);return i===-1?!1:(this.element.sheet.deleteRule(i),this.cssRules.splice(i,1),this.insertRule(o,i))},t.getRules=function(){return this.element.sheet.cssRules},e}(),QE=0,eS=function(){function e(r){this.id=QE++,this.version="10.9.2",this.plugins=new FE,this.options={id:{minify:!1},createGenerateId:mm,Renderer:$r?JE:null,plugins:[]},this.generateId=mm({minify:!1});for(var n=0;n<um.length;n++)this.plugins.use(um[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=E({},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 i=o,a=i.index;typeof a!="number"&&(a=wr.index===0?0:wr.index+1);var s=new fm(n,E({},o,{jss:this,generateId:o.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:a}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),wr.remove(n),this},t.createRule=function(n,o,i){if(o===void 0&&(o={}),i===void 0&&(i={}),typeof n=="object")return this.createRule(void 0,n,o);var a=E({},i,{name:n,jss:this,Renderer:this.options.Renderer});a.generateId||(a.generateId=this.generateId),a.classes||(a.classes={}),a.keyframes||(a.keyframes={});var s=Fi(n,o,a);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var n=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return i.forEach(function(s){n.plugins.use(s)}),this},e}(),Gi=function(t){return new eS(t)},qi=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function ym(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 i=ym(n);i&&(t||(t={}),t[r]=i)}}return t}/**
|
|
1571
1679
|
* A better abstraction over CSS.
|
|
1572
1680
|
*
|
|
1573
1681
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
1574
1682
|
* @website https://github.com/cssinjs/jss
|
|
1575
1683
|
* @license MIT
|
|
1576
|
-
*/
|
|
1577
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1578
|
-
`)),t):(Object.keys(r).forEach(function(
|
|
1579
|
-
`)),r[
|
|
1580
|
-
`))),r[
|
|
1581
|
-
`)),
|
|
1582
|
-
`)),{create:function(n,o){var
|
|
1583
|
-
`)),c}if(!o||!n.overrides||!n.overrides[o])return
|
|
1584
|
-
`))),s[c]=
|
|
1585
|
-
`));var
|
|
1586
|
-
`)))),r[h]}return
|
|
1684
|
+
*/Gi();var $m=Date.now(),Yi="fnValues"+$m,Xi="fnStyle"+ ++$m,tS=function(){return{onCreateRule:function(r,n,o){if(typeof n!="function")return null;var i=Fi(r,{},o);return i[Xi]=n,i},onProcessStyle:function(r,n){if(Yi in n||Xi in n)return r;var o={};for(var i in r){var a=r[i];typeof a=="function"&&(delete r[i],o[i]=a)}return n[Yi]=o,r},onUpdate:function(r,n,o,i){var a=n,s=a[Xi];if(s&&(a.style=s(r)||{},process.env.NODE_ENV==="development")){for(var c in a.style)if(typeof a.style[c]=="function"){process.env.NODE_ENV!=="production"&&Ae(!1,"[JSS] Function values inside function rules are not supported.");break}}var d=a[Yi];if(d)for(var f in d)a.prop(f,d[f](r),i)}}};const rS=tS;var ct="@global",Zi="@global ",nS=function(){function e(r,n,o){this.type="global",this.at=ct,this.isProcessed=!1,this.key=r,this.options=o,this.rules=new Pn(E({},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.addRule=function(n,o,i){var a=this.rules.add(n,o,i);return a&&this.options.jss.plugins.onProcessRule(a),a},t.replaceRule=function(n,o,i){var a=this.rules.replace(n,o,i);return a&&this.options.jss.plugins.onProcessRule(a),a},t.indexOf=function(n){return this.rules.indexOf(n)},t.toString=function(n){return this.rules.toString(n)},e}(),oS=function(){function e(r,n,o){this.type="global",this.at=ct,this.isProcessed=!1,this.key=r,this.options=o;var i=r.substr(Zi.length);this.rule=o.jss.createRule(i,n,E({},o,{parent:this}))}var t=e.prototype;return t.toString=function(n){return this.rule?this.rule.toString(n):""},e}(),iS=/\s*,\s*/g;function _m(e,t){for(var r=e.split(iS),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function aS(e,t){var r=e.options,n=e.style,o=n?n[ct]:null;if(o){for(var i in o)t.addRule(i,o[i],E({},r,{selector:_m(i,e.selector)}));delete n[ct]}}function sS(e,t){var r=e.options,n=e.style;for(var o in n)if(!(o[0]!=="@"||o.substr(0,ct.length)!==ct)){var i=_m(o.substr(ct.length),e.selector);t.addRule(i,n[o],E({},r,{selector:i})),delete n[o]}}function lS(){function e(r,n,o){if(!r)return null;if(r===ct)return new nS(r,n,o);if(r[0]==="@"&&r.substr(0,Zi.length)===Zi)return new oS(r,n,o);var i=o.parent;return i&&(i.type==="global"||i.options.parent&&i.options.parent.type==="global")&&(o.scoped=!1),!o.selector&&o.scoped===!1&&(o.selector=r),null}function t(r,n){r.type!=="style"||!n||(aS(r,n),sS(r,n))}return{onCreateRule:e,onProcessRule:t}}var xm=/\s*,\s*/g,cS=/&/g,uS=/\$([\w-]+)/g;function dS(){function e(o,i){return function(a,s){var c=o.getRule(s)||i&&i.getRule(s);return c?c.selector:(process.env.NODE_ENV!=="production"&&Ae(!1,'[JSS] Could not find the referenced rule "'+s+'" in "'+(o.options.meta||o.toString())+'".'),s)}}function t(o,i){for(var a=i.split(xm),s=o.split(xm),c="",d=0;d<a.length;d++)for(var f=a[d],p=0;p<s.length;p++){var m=s[p];c&&(c+=", "),c+=m.indexOf("&")!==-1?m.replace(cS,f):f+" "+m}return c}function r(o,i,a){if(a)return E({},a,{index:a.index+1});var s=o.options.nestingLevel;s=s===void 0?1:s+1;var c=E({},o.options,{nestingLevel:s,index:i.indexOf(o)+1});return delete c.name,c}function n(o,i,a){if(i.type!=="style")return o;var s=i,c=s.options.parent,d,f;for(var p in o){var m=p.indexOf("&")!==-1,g=p[0]==="@";if(!(!m&&!g)){if(d=r(s,c,d),m){var h=t(p,s.selector);f||(f=e(c,a)),h=h.replace(uS,f);var b=s.key+"-"+p;"replaceRule"in c?c.replaceRule(b,o[p],E({},d,{selector:h})):c.addRule(b,o[p],E({},d,{selector:h}))}else g&&c.addRule(p,{},d).addRule(s.key,o[p],{selector:s.selector});delete o[p]}}return o}return{onProcessStyle:n}}var fS=/[A-Z]/g,pS=/^ms-/,Ji={};function mS(e){return"-"+e.toLowerCase()}function wm(e){if(Ji.hasOwnProperty(e))return Ji[e];var t=e.replace(fS,mS);return Ji[e]=pS.test(t)?"-"+t:t}function Cn(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:wm(r);t[n]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Cn):t.fallbacks=Cn(e.fallbacks)),t}function bS(){function e(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)r[n]=Cn(r[n]);return r}return Cn(r)}function t(r,n,o){if(n.indexOf("--")===0)return r;var i=wm(n);return n===i?r:(o.prop(i,r),null)}return{onProcessStyle:e,onChangeValue:t}}var D=qi&&CSS?CSS.px:"px",Dn=qi&&CSS?CSS.ms:"ms",Wt=qi&&CSS?CSS.percent:"%",gS={"animation-delay":Dn,"animation-duration":Dn,"background-position":D,"background-position-x":D,"background-position-y":D,"background-size":D,border:D,"border-bottom":D,"border-bottom-left-radius":D,"border-bottom-right-radius":D,"border-bottom-width":D,"border-left":D,"border-left-width":D,"border-radius":D,"border-right":D,"border-right-width":D,"border-top":D,"border-top-left-radius":D,"border-top-right-radius":D,"border-top-width":D,"border-width":D,"border-block":D,"border-block-end":D,"border-block-end-width":D,"border-block-start":D,"border-block-start-width":D,"border-block-width":D,"border-inline":D,"border-inline-end":D,"border-inline-end-width":D,"border-inline-start":D,"border-inline-start-width":D,"border-inline-width":D,"border-start-start-radius":D,"border-start-end-radius":D,"border-end-start-radius":D,"border-end-end-radius":D,margin:D,"margin-bottom":D,"margin-left":D,"margin-right":D,"margin-top":D,"margin-block":D,"margin-block-end":D,"margin-block-start":D,"margin-inline":D,"margin-inline-end":D,"margin-inline-start":D,padding:D,"padding-bottom":D,"padding-left":D,"padding-right":D,"padding-top":D,"padding-block":D,"padding-block-end":D,"padding-block-start":D,"padding-inline":D,"padding-inline-end":D,"padding-inline-start":D,"mask-position-x":D,"mask-position-y":D,"mask-size":D,height:D,width:D,"min-height":D,"max-height":D,"min-width":D,"max-width":D,bottom:D,left:D,top:D,right:D,inset:D,"inset-block":D,"inset-block-end":D,"inset-block-start":D,"inset-inline":D,"inset-inline-end":D,"inset-inline-start":D,"box-shadow":D,"text-shadow":D,"column-gap":D,"column-rule":D,"column-rule-width":D,"column-width":D,"font-size":D,"font-size-delta":D,"letter-spacing":D,"text-decoration-thickness":D,"text-indent":D,"text-stroke":D,"text-stroke-width":D,"word-spacing":D,motion:D,"motion-offset":D,outline:D,"outline-offset":D,"outline-width":D,perspective:D,"perspective-origin-x":Wt,"perspective-origin-y":Wt,"transform-origin":Wt,"transform-origin-x":Wt,"transform-origin-y":Wt,"transform-origin-z":Wt,"transition-delay":Dn,"transition-duration":Dn,"vertical-align":D,"flex-basis":D,"shape-margin":D,size:D,gap:D,grid:D,"grid-gap":D,"row-gap":D,"grid-row-gap":D,"grid-column-gap":D,"grid-template-rows":D,"grid-template-columns":D,"grid-auto-rows":D,"grid-auto-columns":D,"box-shadow-x":D,"box-shadow-y":D,"box-shadow-blur":D,"box-shadow-spread":D,"font-line-height":D,"text-shadow-x":D,"text-shadow-y":D,"text-shadow-blur":D};function Em(e){var t=/(-[a-z])/g,r=function(a){return a[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var hS=Em(gS);function Er(e,t,r){if(t==null)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=Er(e,t[n],r);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=Er(o,t[o],r);else for(var i in t)t[i]=Er(e+"-"+i,t[i],r);else if(typeof t=="number"&&isNaN(t)===!1){var a=r[e]||hS[e];return a&&!(t===0&&a===D)?typeof a=="function"?a(t).toString():""+t+a:t.toString()}return t}function vS(e){e===void 0&&(e={});var t=Em(e);function r(o,i){if(i.type!=="style")return o;for(var a in o)o[a]=Er(a,o[a],t);return o}function n(o,i){return Er(i,o,t)}return{onProcessStyle:r,onChangeValue:n}}function Qi(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 yS(e){if(Array.isArray(e))return Qi(e)}function $S(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _S(e,t){if(e){if(typeof e=="string")return Qi(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 Qi(e,t)}}function xS(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1685
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wS(e){return yS(e)||$S(e)||_S(e)||xS()}var Sr="",ea="",Sm="",Tm="",ES=$r&&"ontouchstart"in document.documentElement;if($r){var ta={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},SS=document.createElement("p"),ra=SS.style,TS="Transform";for(var na in ta)if(na+TS in ra){Sr=na,ea=ta[na];break}Sr==="Webkit"&&"msHyphens"in ra&&(Sr="ms",ea=ta.ms,Tm="edge"),Sr==="Webkit"&&"-apple-trailing-word"in ra&&(Sm="apple")}var ie={js:Sr,css:ea,vendor:Sm,browser:Tm,isTouch:ES};function kS(e){return e[1]==="-"||ie.js==="ms"?e:"@"+ie.css+"keyframes"+e.substr(10)}var PS={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:ie.js==="ms"?"-webkit-"+t:ie.css+t}},CS={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:ie.js==="Webkit"?ie.css+"print-"+t:t}},DS=/[-\s]+(.)?/g;function IS(e,t){return t?t.toUpperCase():""}function oa(e){return e.replace(DS,IS)}function ut(e){return oa("-"+e)}var OS={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if(ie.js==="Webkit"){var n="mask-image";if(oa(n)in r)return t;if(ie.js+ut(n)in r)return ie.css+t}return t}},AS={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:ie.vendor==="apple"&&!ie.isTouch?ie.css+t:t}},NS={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:ie.css+t}},zS={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:ie.css+t}},LS={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:ie.js==="Webkit"||ie.js==="ms"&&ie.browser!=="edge"?ie.css+t:t}},MS={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:ie.js==="Moz"||ie.js==="ms"||ie.vendor==="apple"?ie.css+t:t}},FS={supportedProperty:function(t,r){if(!/^break-/.test(t))return!1;if(ie.js==="Webkit"){var n="WebkitColumn"+ut(t);return n in r?ie.css+"column-"+t:!1}if(ie.js==="Moz"){var o="page"+ut(t);return o in r?"page-"+t:!1}return!1}},jS={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(ie.js==="Moz")return t;var n=t.replace("-inline","");return ie.js+ut(n)in r?ie.css+n:!1}},VS={supportedProperty:function(t,r){return oa(t)in r?t:!1}},RS={supportedProperty:function(t,r){var n=ut(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:ie.js+n in r?ie.css+t:ie.js!=="Webkit"&&"Webkit"+n in r?"-webkit-"+t:!1}},KS={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:ie.js==="ms"?""+ie.css+t:t}},BS={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:ie.js==="ms"?ie.css+"scroll-chaining":t}},WS={"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"},US={supportedProperty:function(t,r){var n=WS[t];return n&&ie.js+ut(n)in r?ie.css+n:!1}},km={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"},HS=Object.keys(km),GS=function(t){return ie.css+t},qS={supportedProperty:function(t,r,n){var o=n.multiple;if(HS.indexOf(t)>-1){var i=km[t];if(!Array.isArray(i))return ie.js+ut(i)in r?ie.css+i:!1;if(!o)return!1;for(var a=0;a<i.length;a++)if(!(ie.js+ut(i[0])in r))return!1;return i.map(GS)}return!1}},Pm=[PS,CS,OS,AS,NS,zS,LS,MS,FS,jS,VS,RS,KS,BS,US,qS],Cm=Pm.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),YS=Pm.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,wS(t.noPrefill)),e},[]),Tr,St={};if($r){Tr=document.createElement("p");var ia=window.getComputedStyle(document.documentElement,"");for(var aa in ia)isNaN(aa)||(St[ia[aa]]=ia[aa]);YS.forEach(function(e){return delete St[e]})}function sa(e,t){if(t===void 0&&(t={}),!Tr)return e;if(process.env.NODE_ENV!=="benchmark"&&St[e]!=null)return St[e];(e==="transition"||e==="transform")&&(t[e]=e in Tr.style);for(var r=0;r<Cm.length&&(St[e]=Cm[r](e,Tr.style,t),!St[e]);r++);try{Tr.style[e]=""}catch{return!1}return St[e]}var Ut={},XS={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},ZS=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,dt;function JS(e,t,r){if(t==="var")return"var";if(t==="all")return"all";if(r==="all")return", all";var n=t?sa(t):", "+sa(r);return n||t||r}$r&&(dt=document.createElement("p"));function Dm(e,t){var r=t;if(!dt||e==="content")return t;if(typeof r!="string"||!isNaN(parseInt(r,10)))return r;var n=e+r;if(process.env.NODE_ENV!=="benchmark"&&Ut[n]!=null)return Ut[n];try{dt.style[e]=r}catch{return Ut[n]=!1,!1}if(XS[e])r=r.replace(ZS,JS);else if(dt.style[e]===""&&(r=ie.css+r,r==="-ms-flex"&&(dt.style[e]="-ms-flexbox"),dt.style[e]=r,dt.style[e]===""))return Ut[n]=!1,!1;return dt.style[e]="",Ut[n]=r,Ut[n]}function QS(){function e(o){if(o.type==="keyframes"){var i=o;i.at=kS(i.at)}}function t(o){for(var i in o){var a=o[i];if(i==="fallbacks"&&Array.isArray(a)){o[i]=a.map(t);continue}var s=!1,c=sa(i);c&&c!==i&&(s=!0);var d=!1,f=Dm(c,Et(a));f&&f!==a&&(d=!0),(s||d)&&(s&&delete o[i],o[c||i]=f||a)}return o}function r(o,i){return i.type!=="style"?o:t(o)}function n(o,i){return Dm(i,Et(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function eT(){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={},i=Object.keys(r).sort(e),a=0;a<i.length;a++)o[i[a]]=r[i[a]];return o}}}function Im(){return{plugins:[rS(),lS(),dS(),bS(),vS(),typeof window>"u"?null:QS(),eT()]}}function Om(){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=E({},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(yr(n)," is incorrect."),"You might want to use the className prop instead."].join(`
|
|
1686
|
+
`)),t):(Object.keys(r).forEach(function(i){process.env.NODE_ENV!=="production"&&(!t[i]&&r[i]&&console.error(["Material-UI: The key `".concat(i,"` ")+"provided to the classes prop is not implemented in ".concat(yr(n),"."),"You can only override one of the following: ".concat(Object.keys(t).join(","),".")].join(`
|
|
1687
|
+
`)),r[i]&&typeof r[i]!="string"&&console.error(["Material-UI: The key `".concat(i,"` ")+"provided to the classes prop is not valid for ".concat(yr(n),"."),"You need to provide a non empty string instead of: ".concat(r[i],".")].join(`
|
|
1688
|
+
`))),r[i]&&(o[i]="".concat(t[i]," ").concat(r[i]))}),o)}var tT={set:function(t,r,n,o){var i=t.get(r);i||(i=new Map,t.set(r,i)),i.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 Ht=tT;var Am=l.createContext(null);process.env.NODE_ENV!=="production"&&(Am.displayName="ThemeContext");const rT=Am;function Nm(){var e=l.useContext(rT);return process.env.NODE_ENV!=="production"&&l.useDebugValue(e),e}var nT=Gi(Im()),oT=pE(),iT=new Map,aT={disableGeneration:!1,generateClassName:oT,jss:nT,sheetsCache:null,sheetsManager:iT,sheetsRegistry:null},In=l.createContext(aT);process.env.NODE_ENV!=="production"&&(In.displayName="StylesContext");var On;function la(e){var t=e.children,r=e.injectFirst,n=r===void 0?!1:r,o=e.disableGeneration,i=o===void 0?!1:o,a=He(e,["children","injectFirst","disableGeneration"]),s=l.useContext(In),c=E({},s,{disableGeneration:i},a);if(process.env.NODE_ENV!=="production"&&typeof window>"u"&&!c.sheetsManager&&console.error("Material-UI: You need to use the ServerStyleSheets API when rendering on the server."),process.env.NODE_ENV!=="production"&&c.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&&a.jss&&console.error("Material-UI: You cannot use the jss and injectFirst props at the same time."),!c.jss.options.insertionPoint&&n&&typeof window<"u"){if(!On){var d=document.head;On=document.createComment("mui-inject-first"),d.insertBefore(On,d.firstChild)}c.jss=Gi({plugins:Im().plugins,insertionPoint:On})}return l.createElement(In.Provider,{value:c},t)}process.env.NODE_ENV!=="production"&&(la.propTypes={children:me.node.isRequired,disableGeneration:me.bool,generateClassName:me.func,injectFirst:me.bool,jss:me.object,serverGenerateClassName:me.func,sheetsCache:me.object,sheetsManager:me.object,sheetsRegistry:me.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(la.propTypes=aE(la.propTypes));var ca=-1e9;function sT(){return ca+=1,process.env.NODE_ENV!=="production"&&ca>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
|
|
1689
|
+
`)),ca}var lT={};const zm=lT;function cT(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&<(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(`
|
|
1690
|
+
`)),{create:function(n,o){var i;try{i=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===zm&&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(`
|
|
1691
|
+
`)),c}if(!o||!n.overrides||!n.overrides[o])return i;var a=n.overrides[o],s=E({},i);return Object.keys(a).forEach(function(c){process.env.NODE_ENV!=="production"&&(s[c]||console.warn(["Material-UI: You are trying to override a style that does not exist.","Fix the `".concat(c,"` key of `theme.overrides.").concat(o,"`.")].join(`
|
|
1692
|
+
`))),s[c]=Kt(s[c],a[c])}),s},options:{}}}function uT(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 i=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,i=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,i=!0),i&&(n.cacheClasses.value=Om({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function dT(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=Ht.get(o.sheetsManager,i,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Ht.set(o.sheetsManager,i,n,s));var c=E({},i.options,o,{theme:n,flip:typeof o.flip=="boolean"?o.flip:n.direction==="rtl"});c.generateId=c.serverGenerateClassName||c.generateClassName;var d=o.sheetsRegistry;if(s.refs===0){var f;o.sheetsCache&&(f=Ht.get(o.sheetsCache,i,n));var p=i.create(n,a);f||(f=o.jss.createStyleSheet(p,E({link:!1},c)),f.attach(),o.sheetsCache&&Ht.set(o.sheetsCache,i,n,f)),d&&d.add(f),s.staticSheet=f,s.dynamicStyles=ym(p)}if(s.dynamicStyles){var m=o.jss.createStyleSheet(s.dynamicStyles,E({link:!0},c));m.update(t),m.attach(),r.dynamicSheet=m,r.classes=Om({baseClasses:s.staticSheet.classes,newClasses:m.classes}),d&&d.add(m)}else r.classes=s.staticSheet.classes;s.refs+=1}}function fT(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function pT(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var i=Ht.get(n.sheetsManager,o,r);i.refs-=1;var a=n.sheetsRegistry;i.refs===0&&(Ht.delete(n.sheetsManager,o,r),n.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function mT(e,t){var r=l.useRef([]),n,o=l.useMemo(function(){return{}},t);r.current!==o&&(r.current=o,n=e()),l.useEffect(function(){return function(){n&&n()}},[o])}function bT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=i===void 0?zm:i,s=He(t,["name","classNamePrefix","Component","defaultTheme"]),c=cT(e),d=r||n||"makeStyles";c.options={index:sT(),name:r,meta:d,classNamePrefix:d};var f=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=Nm()||a,h=E({},l.useContext(In),s),b=l.useRef(),v=l.useRef();mT(function(){var $={name:r,state:{},stylesCreator:c,stylesOptions:h,theme:g};return dT($,m),v.current=!1,b.current=$,function(){pT($)}},[g,c]),l.useEffect(function(){v.current&&fT(b.current,m),v.current=!0});var _=uT(b.current,m.classes,o);return process.env.NODE_ENV!=="production"&&l.useDebugValue(_),_};return f}var ua=Tt,gT={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},hT={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},vT={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Lm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},da={};da[ua.ForwardRef]=vT,da[ua.Memo]=Lm;function Mm(e){return ua.isMemo(e)?Lm:da[e.$$typeof]||gT}var yT=Object.defineProperty,$T=Object.getOwnPropertyNames,Fm=Object.getOwnPropertySymbols,_T=Object.getOwnPropertyDescriptor,xT=Object.getPrototypeOf,jm=Object.prototype;function Vm(e,t,r){if(typeof t!="string"){if(jm){var n=xT(t);n&&n!==jm&&Vm(e,n,r)}var o=$T(t);Fm&&(o=o.concat(Fm(t)));for(var i=Mm(e),a=Mm(t),s=0;s<o.length;++s){var c=o[s];if(!hT[c]&&!(r&&r[c])&&!(a&&a[c])&&!(i&&i[c])){var d=_T(t,c);try{yT(e,c,d)}catch{}}}}return e}var wT=Vm,ET=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(n){var o=r.defaultTheme,i=r.withTheme,a=i===void 0?!1:i,s=r.name,c=He(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(`
|
|
1693
|
+
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var f=yr(n);f!==void 0&&(d=f)}var p=bT(t,E({defaultTheme:o,Component:n,name:s||n.displayName,classNamePrefix:d},c)),m=l.forwardRef(function(h,b){h.classes;var v=h.innerRef,_=He(h,["classes","innerRef"]),$=p(E({},n.defaultProps,h)),w,y=_;return(typeof s=="string"||a)&&(w=Nm()||o,s&&(y=mE({theme:w,name:s,props:_})),a&&!y.theme&&(y.theme=w)),l.createElement(n,E({ref:v||b,classes:$},y))});return process.env.NODE_ENV!=="production"&&(m.propTypes={classes:me.object,innerRef:Kp(me.oneOfType([me.func,me.object]),function(g){return g.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(m.displayName="WithStyles(".concat(yr(n),")")),wT(m,n),process.env.NODE_ENV!=="production"&&(m.Naked=n,m.options=r,m.useStyles=p),m}};const ST=ET;var ft=["xs","sm","md","lg","xl"];function TT(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,i=e.step,a=i===void 0?5:i,s=He(e,["values","unit","step"]);function c(h){var b=typeof r[h]=="number"?r[h]:h;return"@media (min-width:".concat(b).concat(o,")")}function d(h){var b=ft.indexOf(h)+1,v=r[ft[b]];if(b===ft.length)return c("xs");var _=typeof v=="number"&&b>0?v:h;return"@media (max-width:".concat(_-a/100).concat(o,")")}function f(h,b){var v=ft.indexOf(b);return v===ft.length-1?c(h):"@media (min-width:".concat(typeof r[h]=="number"?r[h]:h).concat(o,") and ")+"(max-width:".concat((v!==-1&&typeof r[ft[v+1]]=="number"?r[ft[v+1]]:b)-a/100).concat(o,")")}function p(h){return f(h,h)}var m=!1;function g(h){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(`
|
|
1694
|
+
`)))),r[h]}return E({keys:ft,values:r,up:c,down:d,between:f,only:p,width:g},s)}function kT(e,t,r){var n;return E({gutters:function(){var i=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:",`
|
|
1587
1695
|
paddingLeft: theme.spacing(2),
|
|
1588
1696
|
paddingRight: theme.spacing(2),
|
|
1589
1697
|
[theme.breakpoints.up('sm')]: {
|
|
@@ -1591,8 +1699,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1591
1699
|
paddingRight: theme.spacing(3),
|
|
1592
1700
|
},
|
|
1593
1701
|
`].join(`
|
|
1594
|
-
`)),
|
|
1595
|
-
`))}return
|
|
1702
|
+
`)),E({paddingLeft:t(2),paddingRight:t(2)},i,vr({},e.up("sm"),E({paddingLeft:t(3),paddingRight:t(3)},i[e.up("sm")])))},toolbar:(n={minHeight:56},vr(n,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),vr(n,e.up("sm"),{minHeight:64}),n)},r)}var PT={black:"#000",white:"#fff"};const An=PT;var CT={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 fa=CT;var DT={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 pa=DT;var IT={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 ma=IT;var OT={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 ba=OT;var AT={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 ga=AT;var NT={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 ha=NT;var zT={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 va=zT;function Rm(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 LT(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 MT(e){e=Gt(e);var t=e,r=t.values,n=r[0],o=r[1]/100,i=r[2]/100,a=o*Math.min(i,1-i),s=function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(p+n/30)%12;return i-a*Math.max(Math.min(m-3,9-m,1),-1)},c="rgb",d=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",d.push(r[3])),ya({type:c,values:d})}function Gt(e){if(e.type)return e;if(e.charAt(0)==="#")return Gt(LT(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()."):kn(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 ya(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 Km(e,t){var r=Bm(e),n=Bm(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Bm(e){e=Gt(e);var t=e.type==="hsl"?Gt(MT(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 FT(e,t){if(e=Gt(e),t=Rm(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 ya(e)}function jT(e,t){if(e=Gt(e),t=Rm(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 ya(e)}var Wm={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:An.white,default:fa[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}},$a={text:{primary:An.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:fa[800],default:"#303030"},action:{active:An.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 Um(e,t,r,n){var o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=jT(e.main,o):t==="dark"&&(e.dark=FT(e.main,i)))}function VT(e){var t=e.primary,r=t===void 0?{light:pa[300],main:pa[500],dark:pa[700]}:t,n=e.secondary,o=n===void 0?{light:ma.A200,main:ma.A400,dark:ma.A700}:n,i=e.error,a=i===void 0?{light:ba[300],main:ba[500],dark:ba[700]}:i,s=e.warning,c=s===void 0?{light:ga[300],main:ga[500],dark:ga[700]}:s,d=e.info,f=d===void 0?{light:ha[300],main:ha[500],dark:ha[700]}:d,p=e.success,m=p===void 0?{light:va[300],main:va[500],dark:va[700]}:p,g=e.type,h=g===void 0?"light":g,b=e.contrastThreshold,v=b===void 0?3:b,_=e.tonalOffset,$=_===void 0?.2:_,w=He(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function y(A){var L=Km(A,$a.text.primary)>=v?$a.text.primary:Wm.text.primary;if(process.env.NODE_ENV!=="production"){var J=Km(A,L);J<3&&console.error(["Material-UI: The contrast ratio of ".concat(J,":1 for ").concat(L," on ").concat(A),"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(`
|
|
1703
|
+
`))}return L}var O=function(L){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(L=E({},L),!L.main&&L[J]&&(L.main=L[J]),!L.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(J,"` property."):kn(4,J));if(typeof L.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(L.main),`\` was provided instead.
|
|
1596
1704
|
|
|
1597
1705
|
Did you intend to use one of the following approaches?
|
|
1598
1706
|
|
|
@@ -1604,14 +1712,14 @@ const theme1 = createTheme({ palette: {
|
|
|
1604
1712
|
|
|
1605
1713
|
const theme2 = createTheme({ palette: {
|
|
1606
1714
|
primary: { main: green[500] },
|
|
1607
|
-
} });`):
|
|
1608
|
-
`)),
|
|
1715
|
+
} });`):kn(5,JSON.stringify(L.main)));return Um(L,"light",k,$),Um(L,"dark",Y,$),L.contrastText||(L.contrastText=y(L.main)),L},M={dark:$a,light:Wm};process.env.NODE_ENV!=="production"&&(M[h]||console.error("Material-UI: The palette type `".concat(h,"` is not supported.")));var I=Kt(E({common:An,type:h,primary:O(r),secondary:O(o,"A400","A200","A700"),error:O(a),warning:O(c),info:O(f),success:O(m),grey:fa,contrastThreshold:v,getContrastText:y,augmentColor:O,tonalOffset:$},M[h]),w);return I}function Hm(e){return Math.round(e*1e5)/1e5}var Gm=!1;function RT(e){return process.env.NODE_ENV!=="production"&&(Gm||(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(`
|
|
1716
|
+
`)),Gm=!0)),Hm(e)}var qm={textTransform:"uppercase"},Ym='"Roboto", "Helvetica", "Arial", sans-serif';function KT(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?Ym:n,i=r.fontSize,a=i===void 0?14:i,s=r.fontWeightLight,c=s===void 0?300:s,d=r.fontWeightRegular,f=d===void 0?400:d,p=r.fontWeightMedium,m=p===void 0?500:p,g=r.fontWeightBold,h=g===void 0?700:g,b=r.htmlFontSize,v=b===void 0?16:b,_=r.allVariants,$=r.pxToRem,w=He(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);process.env.NODE_ENV!=="production"&&(typeof a!="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=a/14,O=$||function(A){return"".concat(A/v*y,"rem")},M=function(L,J,k,Y,C){return E({fontFamily:o,fontWeight:L,fontSize:O(J),lineHeight:k},o===Ym?{letterSpacing:"".concat(Hm(Y/J),"em")}:{},C,_)},I={h1:M(c,96,1.167,-1.5),h2:M(c,60,1.2,-.5),h3:M(f,48,1.167,0),h4:M(f,34,1.235,.25),h5:M(f,24,1.334,0),h6:M(m,20,1.6,.15),subtitle1:M(f,16,1.75,.15),subtitle2:M(m,14,1.57,.1),body1:M(f,16,1.5,.15),body2:M(f,14,1.43,.15),button:M(m,14,1.75,.4,qm),caption:M(f,12,1.66,.4),overline:M(f,12,2.66,1,qm)};return Kt(E({htmlFontSize:v,pxToRem:O,round:RT,fontFamily:o,fontSize:a,fontWeightLight:c,fontWeightRegular:f,fontWeightMedium:m,fontWeightBold:h},I),w,{clone:!1})}var BT=.2,WT=.14,UT=.12;function ve(){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(BT,")"),"".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(WT,")"),"".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(UT,")")].join(",")}var HT=["none",ve(0,2,1,-1,0,1,1,0,0,1,3,0),ve(0,3,1,-2,0,2,2,0,0,1,5,0),ve(0,3,3,-2,0,3,4,0,0,1,8,0),ve(0,2,4,-1,0,4,5,0,0,1,10,0),ve(0,3,5,-1,0,5,8,0,0,1,14,0),ve(0,3,5,-1,0,6,10,0,0,1,18,0),ve(0,4,5,-2,0,7,10,1,0,2,16,1),ve(0,5,5,-3,0,8,10,1,0,3,14,2),ve(0,5,6,-3,0,9,12,1,0,3,16,2),ve(0,6,6,-3,0,10,14,1,0,4,18,3),ve(0,6,7,-4,0,11,15,1,0,4,20,3),ve(0,7,8,-4,0,12,17,2,0,5,22,4),ve(0,7,8,-4,0,13,19,2,0,5,24,4),ve(0,7,9,-4,0,14,21,2,0,5,26,4),ve(0,8,9,-5,0,15,22,2,0,6,28,5),ve(0,8,10,-5,0,16,24,2,0,6,30,5),ve(0,8,11,-5,0,17,26,2,0,6,32,5),ve(0,9,11,-5,0,18,28,2,0,7,34,6),ve(0,9,12,-6,0,19,29,2,0,7,36,6),ve(0,10,13,-6,0,20,31,3,0,8,38,7),ve(0,10,13,-6,0,21,33,3,0,8,40,7),ve(0,10,14,-6,0,22,35,3,0,8,42,7),ve(0,11,14,-7,0,23,36,3,0,9,44,8),ve(0,11,15,-7,0,24,38,3,0,9,46,8)];const GT=HT;var qT={borderRadius:4};const YT=qT;var XT=process.env.NODE_ENV!=="production"?me.oneOfType([me.number,me.string,me.object,me.array]):{};const ZT=XT;var JT=["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 QT(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(`
|
|
1609
1717
|
`)),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(`
|
|
1610
|
-
`)),function(){})}process.env.NODE_ENV!=="production"&&
|
|
1611
|
-
`)),
|
|
1612
|
-
`)),A
|
|
1613
|
-
`))},[t]);var
|
|
1614
|
-
`))},[JSON.stringify(r)])}var h=B.useCallback(function(
|
|
1718
|
+
`)),function(){})}process.env.NODE_ENV!=="production"&&JT.reduce(function(e,t){return e[t]=ZT,e},{});var Xm;function e5(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=QT({spacing:e}),r=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return process.env.NODE_ENV!=="production"&&(i.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(i.length))),i.length===0?t(1):i.length===1?t(i[0]):i.map(function(s){if(typeof s=="string")return s;var c=t(s);return typeof c=="number"?"".concat(c,"px"):c}).join(" ")};return Object.defineProperty(r,"unit",{get:function(){return process.env.NODE_ENV!=="production"&&((!Xm||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(`
|
|
1719
|
+
`)),Xm=!0),e}}),r.mui=!0,r}var Zm={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)"},Jm={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Qm(e){return"".concat(Math.round(e),"ms")}const t5={easing:Zm,duration:Jm,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?Jm.standard:n,i=r.easing,a=i===void 0?Zm.easeInOut:i,s=r.delay,c=s===void 0?0:s,d=He(r,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var f=function(g){return typeof g=="string"},p=function(g){return!isNaN(parseFloat(g))};!f(t)&&!Array.isArray(t)&&console.error('Material-UI: Argument "props" must be a string or Array.'),!p(o)&&!f(o)&&console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(o,".")),f(a)||console.error('Material-UI: Argument "easing" must be a string.'),!p(c)&&!f(c)&&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:Qm(o)," ").concat(a," ").concat(typeof c=="string"?c:Qm(c))}).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 r5={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const n5=r5;function o5(){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,i=e.palette,a=i===void 0?{}:i,s=e.spacing,c=e.typography,d=c===void 0?{}:c,f=He(e,["breakpoints","mixins","palette","spacing","typography"]),p=VT(a),m=TT(r),g=e5(s),h=Kt({breakpoints:m,direction:"ltr",mixins:kT(m,g,o),overrides:{},palette:p,props:{},shadows:GT,typography:KT(p,d),spacing:g,shape:YT,transitions:t5,zIndex:n5},f),b=arguments.length,v=new Array(b>1?b-1:0),_=1;_<b;_++)v[_-1]=arguments[_];if(h=v.reduce(function(y,O){return Kt(y,O)},h),process.env.NODE_ENV!=="production"){var $=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],w=function y(O,M){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,A;for(A in O){var L=O[A];I===1?A.indexOf("Mui")===0&&L&&y(L,A,I+1):$.indexOf(A)!==-1&&Object.keys(L).length>0&&(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `".concat(M,"` component increases ")+"the CSS specificity of the `".concat(A,"` internal state."),"You can not override it like this: ",JSON.stringify(O,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:vr({},"&$".concat(A),L)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
|
|
1720
|
+
`)),O[A]={})}};w(h.overrides)}return h}var i5=o5();const a5=i5;function s5(e,t){return ST(e,E({defaultTheme:a5},t))}var l5=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)}}},_a=B.forwardRef(function(t,r){var n=t.children,o=t.classes,i=t.className,a=t.color,s=a===void 0?"inherit":a,c=t.component,d=c===void 0?"svg":c,f=t.fontSize,p=f===void 0?"medium":f,m=t.htmlColor,g=t.titleAccess,h=t.viewBox,b=h===void 0?"0 0 24 24":h,v=He(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return B.createElement(d,E({className:tl(o.root,i,s!=="inherit"&&o["color".concat(zi(s))],p!=="default"&&p!=="medium"&&o["fontSize".concat(zi(p))]),focusable:"false",viewBox:b,color:m,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:r},v),n,g?B.createElement("title",null,g):null)});process.env.NODE_ENV!=="production"&&(_a.propTypes={children:me.node,classes:me.object,className:me.string,color:me.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:me.elementType,fontSize:Kp(me.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:me.string,shapeRendering:me.string,titleAccess:me.string,viewBox:me.string}),_a.muiName="SvgIcon";const eb=s5(l5,{name:"MuiSvgIcon"})(_a);function c5(e,t){var r=function(o,i){return l.createElement(eb,E({ref:i},o),e)};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=eb.muiName,l.memo(l.forwardRef(r))}function u5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:166,r;function n(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=this,c=function(){e.apply(s,i)};clearTimeout(r),r=setTimeout(c,t)}return n.clear=function(){clearTimeout(r)},n}function d5(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(r,n,o,i,a){var s=o||"<<anonymous>>",c=a||n;return typeof r[n]<"u"?new Error("The ".concat(i," `").concat(c,"` of ")+"`".concat(s,"` is deprecated. ").concat(t)):null}}function f5(e,t){return B.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function tb(e){return e&&e.ownerDocument||document}function p5(e){var t=tb(e);return t.defaultView||window}function m5(e){if(process.env.NODE_ENV==="production")return function(){return null};var t=function(n){return function(o,i,a,s,c){var d=c||i;return typeof o[i]<"u"&&!o[n]?new Error("The prop `".concat(d,"` of ")+"`".concat(e,"` must be used on `").concat(n,"`.")):null}};return t}function xa(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function b5(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;var i=o||t;return typeof e[t]<"u"?new Error("The prop `".concat(i,"` is not supported. Please remove it.")):null}function g5(e){var t=e.controlled,r=e.default,n=e.name,o=e.state,i=o===void 0?"value":o,a=B.useRef(t!==void 0),s=a.current,c=B.useState(r),d=c[0],f=c[1],p=s?t:d;if(process.env.NODE_ENV!=="production"){B.useEffect(function(){s!==(t!==void 0)&&console.error(["Material-UI: A component is changing the ".concat(s?"":"un","controlled ").concat(i," 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(`
|
|
1721
|
+
`))},[t]);var m=B.useRef(r),g=m.current;B.useEffect(function(){!s&&g!==r&&console.error(["Material-UI: A component is changing the default ".concat(i," state of an uncontrolled ").concat(n," after being initialized. ")+"To suppress this warning opt to use a controlled ".concat(n,".")].join(`
|
|
1722
|
+
`))},[JSON.stringify(r)])}var h=B.useCallback(function(b){s||f(b)},[]);return[p,h]}var h5=typeof window<"u"?B.useLayoutEffect:B.useEffect;function v5(e){var t=B.useRef(e);return h5(function(){t.current=e}),B.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function y5(e,t){return B.useMemo(function(){return e==null&&t==null?null:function(r){xa(e,r),xa(t,r)}},[e,t])}function $5(e){var t=B.useState(e),r=t[0],n=t[1],o=e||r;return B.useEffect(function(){r==null&&n("mui-".concat(Math.round(Math.random()*1e5)))},[r]),o}var Nn=!0,wa=!1,rb=null,_5={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 x5(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&_5[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function w5(e){e.metaKey||e.altKey||e.ctrlKey||(Nn=!0)}function Ea(){Nn=!1}function E5(){this.visibilityState==="hidden"&&wa&&(Nn=!0)}function S5(e){e.addEventListener("keydown",w5,!0),e.addEventListener("mousedown",Ea,!0),e.addEventListener("pointerdown",Ea,!0),e.addEventListener("touchstart",Ea,!0),e.addEventListener("visibilitychange",E5,!0)}function nb(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return Nn||x5(t)}function T5(){wa=!0,window.clearTimeout(rb),rb=window.setTimeout(function(){wa=!1},100)}function k5(){var e=B.useCallback(function(t){var r=Oa.findDOMNode(t);r!=null&&S5(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&B.useDebugValue(nb),{isFocusVisible:nb,onBlurVisible:T5,ref:e}}const P5=Eb(Object.freeze(Object.defineProperty({__proto__:null,capitalize:zi,createChainedFunction:cE,createSvgIcon:c5,debounce:u5,deprecatedPropType:d5,isMuiElement:f5,ownerDocument:tb,ownerWindow:p5,requirePropFactory:m5,setRef:xa,unsupportedProp:b5,useControlled:g5,useEventCallback:v5,useForkRef:y5,unstable_useId:$5,useIsFocusVisible:k5},Symbol.toStringTag,{value:"Module"})));var ob;function ib(){return ob||(ob=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=P5}(Ti)),Ti}var C5=Sn,D5=Tn;Object.defineProperty(Ei,"__esModule",{value:!0});var ab=Ei.default=void 0,I5=D5(l),O5=C5(ib()),A5=(0,O5.default)(I5.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");ab=Ei.default=A5;var Sa={},N5=Sn,z5=Tn;Object.defineProperty(Sa,"__esModule",{value:!0});var sb=Sa.default=void 0,L5=z5(l),M5=N5(ib()),F5=(0,M5.default)(L5.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");sb=Sa.default=F5;const j5=P.div`
|
|
1615
1723
|
--border-color: ${u.color_outline_secondary_enabled};
|
|
1616
1724
|
|
|
1617
1725
|
border-radius: ${u.border_radius_400};
|
|
@@ -1642,7 +1750,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1642
1750
|
font-size: 1rem;
|
|
1643
1751
|
fill: ${u.color_text_weak};
|
|
1644
1752
|
}
|
|
1645
|
-
`,
|
|
1753
|
+
`,V5=P(Ju)`
|
|
1646
1754
|
all: unset;
|
|
1647
1755
|
position: absolute;
|
|
1648
1756
|
right: 10px;
|
|
@@ -1663,7 +1771,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1663
1771
|
line-height: 0;
|
|
1664
1772
|
font-size: ${u.font_size_50};
|
|
1665
1773
|
}
|
|
1666
|
-
`,
|
|
1774
|
+
`,R5=P(fr)`
|
|
1667
1775
|
padding-left: 32px;
|
|
1668
1776
|
width: 100%;
|
|
1669
1777
|
|
|
@@ -1675,7 +1783,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1675
1783
|
&::-webkit-search-results-decoration {
|
|
1676
1784
|
-webkit-appearance: none;
|
|
1677
1785
|
}
|
|
1678
|
-
`,
|
|
1786
|
+
`,lb=l.forwardRef((e,t)=>{const{label:r,size:n="small",placeholder:o="Search",disabled:i,readOnly:a,required:s,hideLabel:c,onChange:d,onClear:f,onSubmit:p,...m}=e,g={label:r,placeholder:o,onClear:f,onSubmit:p,onChange:d,isDisabled:i,isReadOnly:a,isRequired:s},h=Hw(g),b=Je(t),{labelProps:v,inputProps:_,clearButtonProps:$}=qw(g,h,b);return le(pr,{children:[T(et,{...v,srOnly:c,children:r}),le(j5,{children:[T(ab,{}),T(R5,{..._,ref:b,placeholder:o,paddingSize:n,...m}),h.value!==""&&T(V5,{...$,children:T(sb,{})})]})]})});lb.displayName="Search";const cb="Switch",[K5,Nk]=ke(cb),[B5,W5]=K5(cb),U5=l.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:a,disabled:s,value:c="on",onCheckedChange:d,...f}=e,[p,m]=l.useState(null),g=de(t,$=>m($)),h=l.useRef(!1),b=p?Boolean(p.closest("form")):!0,[v=!1,_]=je({prop:o,defaultProp:i,onChange:d});return l.createElement(B5,{scope:r,checked:v,disabled:s},l.createElement(re.button,E({type:"button",role:"switch","aria-checked":v,"aria-required":a,"data-state":ub(v),"data-disabled":s?"":void 0,disabled:s,value:c},f,{ref:g,onClick:G(e.onClick,$=>{_(w=>!w),b&&(h.current=$.isPropagationStopped(),h.current||$.stopPropagation())})})),b&&l.createElement(q5,{control:p,bubbles:!h.current,name:n,value:c,checked:v,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),H5="SwitchThumb",G5=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=W5(H5,r);return l.createElement(re.span,E({"data-state":ub(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),q5=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,i=l.useRef(null),a=tn(r),s=Wr(t);return l.useEffect(()=>{const c=i.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(a!==r&&p){const m=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(m)}},[a,r,n]),l.createElement("input",E({type:"checkbox","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function ub(e){return e?"checked":"unchecked"}const Y5=U5,X5=G5,Z5=P(Y5)`
|
|
1679
1787
|
all: unset;
|
|
1680
1788
|
width: 40px;
|
|
1681
1789
|
height: 24px;
|
|
@@ -1715,7 +1823,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1715
1823
|
&[aria-checked='true']:active {
|
|
1716
1824
|
background-color: ${u.color_fill_primary_pressed};
|
|
1717
1825
|
}
|
|
1718
|
-
`,
|
|
1826
|
+
`,J5=P(X5)`
|
|
1719
1827
|
--thumb-width: 18px;
|
|
1720
1828
|
display: block;
|
|
1721
1829
|
width: var(--thumb-width);
|
|
@@ -1734,24 +1842,24 @@ const theme2 = createTheme({ palette: {
|
|
|
1734
1842
|
&[data-state~='checked'] {
|
|
1735
1843
|
transform: translateX(19px);
|
|
1736
1844
|
}
|
|
1737
|
-
`,
|
|
1845
|
+
`,db=l.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=id(r);return T(Z5,{...n,...o,ref:t,children:T(J5,{})})});db.displayName="Switch";const zn=P.h1`
|
|
1738
1846
|
font-family: ${u.font_family_inter_display};
|
|
1739
1847
|
font-style: normal;
|
|
1740
1848
|
font-weight: 500; /* don't really see value of using tokens for font-weight */
|
|
1741
1849
|
margin: 0;
|
|
1742
1850
|
padding-inline: 0;
|
|
1743
1851
|
color: ${u.color_text_strong};
|
|
1744
|
-
`,
|
|
1852
|
+
`,Q5=P(zn)`
|
|
1745
1853
|
font-size: ${u.font_size_title_large};
|
|
1746
1854
|
letter-spacing: ${u.letter_spacing_title_large};
|
|
1747
|
-
`,
|
|
1855
|
+
`,ek=P(zn)`
|
|
1748
1856
|
font-size: ${u.font_size_title_medium};
|
|
1749
1857
|
letter-spacing: ${u.letter_spacing_title_medium};
|
|
1750
|
-
`,
|
|
1858
|
+
`,tk=P(zn)`
|
|
1751
1859
|
font-size: ${u.font_size_title_small};
|
|
1752
1860
|
letter-spacing: ${u.letter_spacing_title_small};
|
|
1753
|
-
`,
|
|
1861
|
+
`,rk={xsmall:P(zn)`
|
|
1754
1862
|
font-size: ${u.font_size_title_xsmall};
|
|
1755
1863
|
letter-spacing: ${u.letter_spacing_title_xsmall};
|
|
1756
|
-
`,small:
|
|
1864
|
+
`,small:tk,medium:ek,large:Q5},fb=l.forwardRef((e,t)=>{const{children:r,size:n,as:o,className:i,...a}=e,s=rk[n];return T(s,{...a,as:o,ref:t,className:i,children:r})});fb.displayName="Title",N.AccessibleIcon=tr,N.AlertDialog=jh,N.AlertDialogAction=Rh,N.AlertDialogCancel=Kh,N.AlertDialogContent=zh,N.AlertDialogDescription=Mh,N.AlertDialogFooter=Fh,N.AlertDialogTitle=Lh,N.AlertDialogTrigger=Vh,N.BreadcrumbItem=xc,N.BreadcrumbLink=yc,N.BreadcrumbListItem=Fo,N.Breadcrumbs=_c,N.Button=dr,N.Checkbox=U$,N.Dialog=Dh,N.DialogClose=Oh,N.DialogCloseButton=Ch,N.DialogContent=Sh,N.DialogDescription=kh,N.DialogFooter=Ph,N.DialogTitle=Th,N.DialogTrigger=Ih,N.Direction=Qd,N.Fieldset=Cy,N.FileUpload=Zd,N.FormControl=V$,N.Heading=Jd,N.IconButton=ii,N.IconTooltip=gr,N.Item=ci,N.Label=et,N.NavigationMenu=q_,N.NavigationMenuPortal=Y_,N.NumberFormControl=od,N.NumberInput=Yo,N.Page=b1,N.PageContent=Pf,N.PageGrid=kf,N.Pagination=v1,N.PaginatorButton=yn,N.PaginatorNumber=$n,N.Popover=gc,N.PopoverClose=Lo,N.PopoverCloseCross=uy,N.PopoverContent=bc,N.PopoverTrigger=hc,N.Radio=F1,N.RadioGroup=M1,N.RadioGroupIndicator=Mf,N.RadioGroupRadio=Lf,N.Search=lb,N.Select=Jf,N.SelectContent=Xf,N.SelectGroup=Rw,N.SelectGroupLabel=Bw,N.SelectIcon=tp,N.SelectItem=rp,N.SelectItemIndicator=Kw,N.SelectItemText=np,N.SelectScrollDownButton=ip,N.SelectScrollUpButton=op,N.SelectSeparator=Ww,N.SelectTrigger=Qf,N.SelectValue=ep,N.SelectViewport=Vw,N.SingleSelect=Uw,N.StyledFieldSet=Ec,N.StyledTrigger=Yf,N.Switch=db,N.TabTriggerWithIcon=Sx,N.TabsContent=Tx,N.TabsList=Ex,N.TabsRoot=wx,N.TabsTrigger=ff,N.Text=Ft,N.TextAreaFormControl=nd,N.TextFormControl=rd,N.TextInput=Ko,N.Title=fb,N.Toast=m1,N.ToastAction=a1,N.ToastClose=Sf,N.ToastProvider=p1,N.ToastSeparator=Tf,N.ToastViewport=d1,N.Tooltip=Ac,N.TooltipContent=Nc,N.TooltipProvider=Oc,N.TooltipTrigger=Ho,N.contentShow=eo,N.dialogWidths=to,N.overlayShow=Qn,N.useFieldProps=ln,N.useFieldset=Ue,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
|
|
1757
1865
|
//# sourceMappingURL=trc-components.umd.js.map
|