@theroutingcompany/components 0.0.11 → 0.0.13
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 +5739 -5521
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +293 -224
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -18
- 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/Page/Page.d.ts +2 -1
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(z,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):(z=typeof globalThis<"u"?globalThis:z||self,l(z["trc-components"]={},z.React,z.ReactDOM,z.styled,z.ReactIs,z.icons))})(this,function(z,l,ft,P,Tt,Ee){"use strict";function ki(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=ki(l),Pi=ki(ft);function gb(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var o=[null];o.push.apply(o,arguments);var a=Function.bind.apply(t,o);return new a}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var kr={},hb={get exports(){return kr},set exports(e){kr=e}},Xt={};/**
|
|
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 Ci;function vb(){if(Ci)return Xt;Ci=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,a={key:!0,ref:!0,__self:!0,__source:!0};function i(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)&&!a.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 Xt.Fragment=r,Xt.jsx=i,Xt.jsxs=i,Xt}var Zt={};/**
|
|
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 Di;function yb(){return Di||(Di=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"),a=Symbol.for("react.profiler"),i=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===a||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===i||x.$$typeof===s||x.$$typeof===c||x.$$typeof===L||x.getModuleId!==void 0))}function T(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 a: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 i:var R=x;return Y(R._context)+".Provider";case c:return T(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,ie,ue,he,te,N,j,H;function X(){}X.__reactDisabledLog=!0;function q(){{if(U===0){ie=console.log,ue=console.info,he=console.warn,te=console.error,N=console.group,j=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:ie}),info:S({},x,{value:ue}),warn:S({},x,{value:he}),error:S({},x,{value:te}),group:S({},x,{value:N}),groupCollapsed:S({},x,{value:j}),groupEnd:S({},x,{value:H})})}U<0&&$("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ee=_.ReactCurrentDispatcher,V;function K(x,F,R){{if(V===void 0)try{throw Error()}catch(pe){var oe=pe.stack.trim().match(/\n( *(at )?)/);V=oe&&oe[1]||""}return`
|
|
18
|
+
`+V+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(tt){oe=tt}Reflect.construct(x,[],fe)}else{try{fe.call()}catch(tt){oe=tt}x.call(fe.prototype)}}else{try{throw Error()}catch(tt){oe=tt}x()}}catch(tt){if(tt&&oe&&typeof tt.stack=="string"){for(var ce=tt.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 Yt=x?x.displayName||x.name:"",bb=Yt?K(Yt):"";return typeof x=="function"&&W.set(x,bb),bb}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 Gt=Array.isArray;function Me(x){return Gt(x)}function Ie(x){{var F=typeof Symbol=="function"&&Symbol.toStringTag,R=F&&x[Symbol.toStringTag]||x.constructor.name||"Object";return R}}function xi(x){try{return ab(x),!1}catch{return!0}}function ab(x){return""+x}function ib(x){if(xi(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)),ab(x)}var Tr=_.ReactCurrentOwner,K5={key:!0,ref:!0,__self:!0,__source:!0},sb,lb,wi;wi={};function B5(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 W5(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 U5(x,F){if(typeof x.ref=="string"&&Tr.current&&F&&Tr.current.stateNode!==F){var R=C(Tr.current.type);wi[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(Tr.current.type),x.ref),wi[R]=!0)}}function H5(x,F){{var R=function(){sb||(sb=!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 G5(x,F){{var R=function(){lb||(lb=!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 q5=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 Y5(x,F,R,oe,pe){{var be,fe={},ce=null,Te=null;R!==void 0&&(ib(R),ce=""+R),W5(F)&&(ib(F.key),ce=""+F.key),B5(F)&&(Te=F.ref,U5(F,pe));for(be in F)De.call(F,be)&&!K5.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&&H5(fe,_e),Te&&G5(fe,_e)}return q5(x,ce,Te,pe,oe,Tr.current,fe)}}var Ei=_.ReactCurrentOwner,cb=_.ReactDebugCurrentFrame;function qt(x){if(x){var F=x._owner,R=Ne(x.type,x._source,F?F.type:null);cb.setExtraStackFrame(R)}else cb.setExtraStackFrame(null)}var Si;Si=!1;function Ti(x){return typeof x=="object"&&x!==null&&x.$$typeof===t}function ub(){{if(Ei.current){var x=C(Ei.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 X5(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 db={};function Z5(x){{var F=ub();if(!F){var R=typeof x=="string"?x:x.displayName||x.name;R&&(F=`
|
|
21
26
|
|
|
22
|
-
Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var W=ft(V);if(Le[W])return;Le[W]=!0;var ie="";x&&x._owner&&x._owner!==Re.current&&(ie=" It was passed a child from "+ee(x._owner.type)+"."),Oe(x),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',W,ie),Oe(null)}}function Pe(x,V){{if(typeof x!="object")return;if(Array.isArray(x))for(var W=0;W<x.length;W++){var ie=x[W];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 W;if(typeof V=="function")W=V.propTypes;else if(typeof V=="object"&&(V.$$typeof===c||V.$$typeof===p))W=V.propTypes;else return;if(W){var ie=ee(V);w(W,x.props,"prop",ie,x)}else if(V.PropTypes!==void 0&&!Ke){Ke=!0;var be=ee(V);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",be||"Unknown")}typeof V.getDefaultProps=="function"&&!V.getDefaultProps.isReactClassApproved&&P("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),W=0;W<V.length;W++){var ie=V[W];if(ie!=="children"&&ie!=="key"){Oe(x),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ie),Oe(null);break}}x.ref!==null&&(Oe(x),P("Invalid attribute `ref` supplied to `React.Fragment`."),Oe(null))}}function Ue(x,V,W,ie,be,me){{var ue=G(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 ke=ze(be);ke?se+=ke: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,P("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=Se(x,V,W,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 _i=0;_i<Gt.length;_i++)Pe(Gt[_i],x);Object.freeze&&Object.freeze(Gt)}else P("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,W){return Ue(x,V,W,!0)}function xr(x,V,W){return Ue(x,V,W,!1)}var Er=xr,wr=Qe;e.jsx=Er,e.jsxs=wr}()}(Nn)),Nn}(function(e){process.env.NODE_ENV==="production"?e.exports=rm():e.exports=nm()})(tm);const C=Tr.jsx,oe=Tr.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 om(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 xe(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),c=r.length;r=[...r,i];function d(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 f(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 d.displayName=a+"Provider",[d,f]}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,am(o,...t)]}function am(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((s,{useScope:c,scopeName:d})=>{const p=c(a)[`__scope${d}`];return{...s,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function im(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Si(...e){return t=>e.forEach(r=>im(r,t))}function le(...e){return l.useCallback(Si(...e),e)}function U(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 Ee=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},sm=B["useId".toString()]||(()=>{});let lm=0;function Ae(e){const[t,r]=B.useState(sm());return Ee(()=>{e||r(n=>n??String(lm++))},[e]),e||(t?`radix-${t}`:"")}function we(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 Ce({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=cm({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=we(r),c=l.useCallback(d=>{if(a){const p=typeof d=="function"?d(e):d;p!==e&&s(p)}else o(d)},[a,e,o,s]);return[i,c]}function cm({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=we(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(um);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,{...dm(n,r.props),ref:Si(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 um(e){return l.isValidElement(e)&&e.type===Ln}function dm(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 J=["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 ki(e,t){e&&bt.flushSync(()=>e.dispatchEvent(t))}function fm(e,t=globalThis==null?void 0:globalThis.document){const r=we(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",pm="dismissableLayer.pointerDownOutside",bm="dismissableLayer.focusOutside";let Pi;const Ci=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,...d}=e,f=l.useContext(Ci),[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,N=>b(N)),v=Array.from(f.layers),[$]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf($),E=p?v.indexOf(p):-1,y=f.layersWithOutsidePointerEventsDisabled.size>0,A=E>=_,L=gm(N=>{const F=N.target,G=[...f.branches].some(k=>k.contains(F));!A||G||(a==null||a(N),s==null||s(N),N.defaultPrevented||c==null||c())},m),P=hm(N=>{const F=N.target;[...f.branches].some(k=>k.contains(F))||(i==null||i(N),s==null||s(N),N.defaultPrevented||c==null||c())},m);return fm(N=>{E===f.layers.size-1&&(o==null||o(N),!N.defaultPrevented&&c&&(N.preventDefault(),c()))},m),l.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Pi=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),Di(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Pi)}},[p,m,n,f]),l.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),Di())},[p,f]),l.useEffect(()=>{const N=()=>h({});return document.addEventListener(Mn,N),()=>document.removeEventListener(Mn,N)},[]),l.createElement(J.div,S({},d,{ref:g,style:{pointerEvents:y?A?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,P.onFocusCapture),onBlurCapture:U(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,L.onPointerDownCapture)}))}),mm=l.forwardRef((e,t)=>{const r=l.useContext(Ci),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(J.div,S({},e,{ref:o}))});function gm(e,t=globalThis==null?void 0:globalThis.document){const r=we(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Ii(pm,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function hm(e,t=globalThis==null?void 0:globalThis.document){const r=we(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Ii(bm,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 Di(){const e=new CustomEvent(Mn);document.dispatchEvent(e)}function Ii(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?ki(o,a):o.dispatchEvent(a)}const vm=qt,ym=mm,Fn="focusScope.autoFocusOnMount",Vn="focusScope.autoFocusOnUnmount",Oi={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),d=we(o),f=we(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){zi.add(m);const g=document.activeElement;if(!s.contains(g)){const $=new CustomEvent(Fn,Oi);s.addEventListener(Fn,d),s.dispatchEvent($),$.defaultPrevented||($m(Tm(Ai(s)),{select:!0}),document.activeElement===g&>(s))}return()=>{s.removeEventListener(Fn,d),setTimeout(()=>{const $=new CustomEvent(Vn,Oi);s.addEventListener(Vn,f),s.dispatchEvent($),$.defaultPrevented||gt(g??document.body,{select:!0}),s.removeEventListener(Vn,f),zi.remove(m)},0)}}},[s,d,f,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,[E,y]=_m(_);E&&y?!g.shiftKey&&$===y?(g.preventDefault(),r&>(E,{select:!0})):g.shiftKey&&$===E&&(g.preventDefault(),r&>(y,{select:!0})):$===_&&g.preventDefault()}},[r,n,m.paused]);return l.createElement(J.div,S({tabIndex:-1},i,{ref:b,onKeyDown:h}))});function $m(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(gt(n,{select:t}),document.activeElement!==r)return}function _m(e){const t=Ai(e),r=Ni(t,e),n=Ni(t.reverse(),e);return[r,n]}function Ai(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 Ni(e,t){for(const r of e)if(!xm(r,{upTo:t}))return r}function xm(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 Em(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&&Em(e)&&t&&e.select()}}const zi=wm();function wm(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Li(e,t),e.unshift(t)},remove(t){var r;e=Li(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Li(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Tm(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(J.div,S({},o,{ref:t})),n):null});function Sm(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const De=e=>{const{present:t,children:r}=e,n=km(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};De.displayName="Presence";function km(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Sm(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=Sr(n.current);a.current=s==="mounted"?d:"none"},[s]),Ee(()=>{const d=n.current,f=o.current;if(f!==e){const b=a.current,m=Sr(d);e?c("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&b!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Ee(()=>{if(t){const d=p=>{const m=Sr(n.current).includes(p.animationName);p.target===t&&m&&bt.flushSync(()=>c("ANIMATION_END"))},f=p=>{p.target===t&&(a.current=Sr(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 Sr(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:Mi()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Mi()),Rn++,()=>{Rn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Rn--}},[])}function Mi(){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 Fi(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 Pm(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 kr="right-scroll-bar-position",Pr="width-before-scroll-bar",Cm="with-scroll-bars-hidden",Dm="--removed-body-scroll-bar-size";function Im(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Om(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 Am(e,t){return Om(t||null,function(r){return e.forEach(function(n){return Im(n,r)})})}function Nm(e){return e}function zm(e,t){t===void 0&&(t=Nm);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 f=i;i=[],f.forEach(a)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(f){i.push(f),d()},filter:function(f){return i=i.filter(f),r}}}};return o}function Lm(e){e===void 0&&(e={});var t=zm(null);return t.options=Me({async:!0,ssr:!1},e),t}var Vi=function(e){var t=e.sideCar,r=Fi(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))};Vi.isSideCarExport=!0;function Mm(e,t){return e.useMedium(t),Vi}var ji=Lm(),Bn=function(){},Cr=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,d=e.removeScrollBar,f=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,_=Fi(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),E=b,y=Am([r,t]),A=Me(Me({},_),o);return B.createElement(B.Fragment,null,f&&B.createElement(E,{sideCar:ji,removeScrollBar:d,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))});Cr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Cr.classNames={fullWidth:Pr,zeroRight:kr};var Fm=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Vm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Fm();return t&&e.setAttribute("nonce",t),e}function jm(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Rm(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Km=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Vm())&&(jm(t,r),Rm(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Bm=function(){var e=Km();return function(t,r){B.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Ri=function(){var e=Bm(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Um={left:0,top:0,right:0,gap:0},Un=function(e){return parseInt(e||"",10)||0},Wm=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)]},Hm=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Um;var t=Wm(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])}},Gm=Ri(),qm=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 fb(x,F){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var R=Z5(F);if(db[R])return;db[R]=!0;var oe="";x&&x._owner&&x._owner!==Ei.current&&(oe=" It was passed a child from "+C(x._owner.type)+"."),qt(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),qt(null)}}function pb(x,F){{if(typeof x!="object")return;if(Me(x))for(var R=0;R<x.length;R++){var oe=x[R];Ti(oe)&&fb(oe,F)}else if(Ti(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;)Ti(fe.value)&&fb(fe.value,F)}}}function J5(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&&!Si){Si=!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 Q5(x){{for(var F=Object.keys(x.props),R=0;R<F.length;R++){var oe=F[R];if(oe!=="children"&&oe!=="key"){qt(x),$("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",oe),qt(null);break}}x.ref!==null&&(qt(x),$("Invalid attribute `ref` supplied to `React.Fragment`."),qt(null))}}function mb(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=X5(pe);Te?ce+=Te:ce+=ub();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=Y5(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 Yt=0;Yt<Fe.length;Yt++)pb(Fe[Yt],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 pb(Fe,x)}return x===n?Q5(_e):J5(_e),_e}}function ek(x,F,R){return mb(x,F,R,!0)}function tk(x,F,R){return mb(x,F,R,!1)}var rk=tk,nk=ek;Zt.Fragment=n,Zt.jsx=rk,Zt.jsxs=nk}()),Zt}(function(e){process.env.NODE_ENV==="production"?e.exports=vb():e.exports=yb()})(hb);const k=kr.jsx,le=kr.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 $b(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 ke(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),c=r.length;r=[...r,i];function d(p){const{scope:m,children: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(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${a}\``)}return d.displayName=a+"Provider",[d,f]}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,_b(o,...t)]}function _b(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((s,{useScope:c,scopeName:d})=>{const p=c(a)[`__scope${d}`];return{...s,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function xb(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ii(...e){return t=>e.forEach(r=>xb(r,t))}function de(...e){return l.useCallback(Ii(...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:()=>{},wb=B["useId".toString()]||(()=>{});let Eb=0;function Re(e){const[t,r]=B.useState(wb());return xe(()=>{e||r(n=>n??String(Eb++))},[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 Ve({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=Sb({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=Pe(r),c=l.useCallback(d=>{if(a){const p=typeof d=="function"?d(e):d;p!==e&&s(p)}else o(d)},[a,e,o,s]);return[i,c]}function Sb({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=Pe(t);return l.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const pt=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),a=o.find(Tb);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,E({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(zn,E({},n,{ref:t}),r)});pt.displayName="Slot";const zn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...kb(n,r.props),ref:Ii(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 Tb(e){return l.isValidElement(e)&&e.type===Ln}function kb(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 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:a,...i}=n,s=a?pt:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,E({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Oi(e,t){e&&ft.flushSync(()=>e.dispatchEvent(t))}function Pb(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 Mn="dismissableLayer.update",Cb="dismissableLayer.pointerDownOutside",Db="dismissableLayer.focusOutside";let Ai;const Ni=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Jt=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,f=l.useContext(Ni),[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=Ob(A=>{const L=A.target,J=[...f.branches].some(T=>T.contains(L));!O||J||(a==null||a(A),s==null||s(A),A.defaultPrevented||c==null||c())},g),I=Ab(A=>{const L=A.target;[...f.branches].some(T=>T.contains(L))||(i==null||i(A),s==null||s(A),A.defaultPrevented||c==null||c())},g);return Pb(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&&(Ai=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),zi(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Ai)}},[p,g,n,f]),l.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),zi())},[p,f]),l.useEffect(()=>{const A=()=>h({});return document.addEventListener(Mn,A),()=>document.removeEventListener(Mn,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)}))}),Ib=l.forwardRef((e,t)=>{const r=l.useContext(Ni),n=l.useRef(null),o=de(t,n);return l.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),l.createElement(re.div,E({},e,{ref:o}))});function Ob(e,t=globalThis==null?void 0:globalThis.document){const r=Pe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Li(Cb,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Ab(e,t=globalThis==null?void 0:globalThis.document){const r=Pe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Li(Db,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 zi(){const e=new CustomEvent(Mn);document.dispatchEvent(e)}function Li(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?Oi(o,a):o.dispatchEvent(a)}const Nb=Jt,zb=Ib,Fn="focusScope.autoFocusOnMount",Vn="focusScope.autoFocusOnUnmount",Mi={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),d=Pe(o),f=Pe(a),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){ji.add(g);const b=document.activeElement;if(!s.contains(b)){const _=new CustomEvent(Fn,Mi);s.addEventListener(Fn,d),s.dispatchEvent(_),_.defaultPrevented||(Lb(Rb(Fi(s)),{select:!0}),document.activeElement===b&&mt(s))}return()=>{s.removeEventListener(Fn,d),setTimeout(()=>{const _=new CustomEvent(Vn,Mi);s.addEventListener(Vn,f),s.dispatchEvent(_),_.defaultPrevented||mt(b??document.body,{select:!0}),s.removeEventListener(Vn,f),ji.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]=Mb($);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},i,{ref:m,onKeyDown:h}))});function Lb(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(mt(n,{select:t}),document.activeElement!==r)return}function Mb(e){const t=Fi(e),r=Vi(t,e),n=Vi(t.reverse(),e);return[r,n]}function Fi(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 Vi(e,t){for(const r of e)if(!Fb(r,{upTo:t}))return r}function Fb(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 Vb(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&&Vb(e)&&t&&e.select()}}const ji=jb();function jb(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Ri(e,t),e.unshift(t)},remove(t){var r;e=Ri(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Ri(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Rb(e){return e.filter(t=>t.tagName!=="A")}const Qt=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?ft.createPortal(l.createElement(re.div,E({},o,{ref:t})),n):null});function Kb(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=Bb(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),a=de(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:a}):null};Oe.displayName="Presence";function Bb(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Kb(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=Pr(n.current);a.current=s==="mounted"?d:"none"},[s]),xe(()=>{const d=n.current,f=o.current;if(f!==e){const m=a.current,g=Pr(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=Pr(n.current).includes(p.animationName);p.target===t&&g&&ft.flushSync(()=>c("ANIMATION_END"))},f=p=>{p.target===t&&(a.current=Pr(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 Pr(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:Ki()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Ki()),Rn++,()=>{Rn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Rn--}},[])}function Ki(){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 a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Ke.apply(this,arguments)};function Bi(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 Wb(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 Cr="right-scroll-bar-position",Dr="width-before-scroll-bar",Ub="with-scroll-bars-hidden",Hb="--removed-body-scroll-bar-size";function Gb(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function qb(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 Yb(e,t){return qb(t||null,function(r){return e.forEach(function(n){return Gb(n,r)})})}function Xb(e){return e}function Zb(e,t){t===void 0&&(t=Xb);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 f=i;i=[],f.forEach(a)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(f){i.push(f),d()},filter:function(f){return i=i.filter(f),r}}}};return o}function Jb(e){e===void 0&&(e={});var t=Zb(null);return t.options=Ke({async:!0,ssr:!1},e),t}var Wi=function(e){var t=e.sideCar,r=Bi(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))};Wi.isSideCarExport=!0;function Qb(e,t){return e.useMedium(t),Wi}var Ui=Jb(),Bn=function(){},Ir=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,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,$=Bi(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=m,y=Yb([r,t]),O=Ke(Ke({},$),o);return B.createElement(B.Fragment,null,f&&B.createElement(w,{sideCar:Ui,removeScrollBar:d,shards:p,noIsolation:g,inert:h,setCallbacks:a,allowPinchZoom:!!b,lockRef:r}),i?B.cloneElement(B.Children.only(s),Ke(Ke({},O),{ref:y})):B.createElement(_,Ke({},O,{className:c,ref:y}),s))});Ir.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ir.classNames={fullWidth:Dr,zeroRight:Cr};var eg=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function tg(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=eg();return t&&e.setAttribute("nonce",t),e}function rg(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ng(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var og=function(){var e=0,t=null;return{add:function(r){e==0&&(t=tg())&&(rg(t,r),ng(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ag=function(){var e=og();return function(t,r){B.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Hi=function(){var e=ag(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},ig={left:0,top:0,right:0,gap:0},Wn=function(e){return parseInt(e||"",10)||0},sg=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[Wn(r),Wn(n),Wn(o)]},lg=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ig;var t=sg(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])}},cg=Hi(),ug=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
28
|
+
.`.concat(Ub,` {
|
|
24
29
|
overflow: hidden `).concat(n,`;
|
|
25
30
|
padding-right: `).concat(s,"px ").concat(n,`;
|
|
26
31
|
}
|
|
@@ -37,29 +42,29 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
37
42
|
`),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
38
43
|
}
|
|
39
44
|
|
|
40
|
-
.`).concat(
|
|
45
|
+
.`).concat(Cr,` {
|
|
41
46
|
right: `).concat(s,"px ").concat(n,`;
|
|
42
47
|
}
|
|
43
48
|
|
|
44
|
-
.`).concat(
|
|
49
|
+
.`).concat(Dr,` {
|
|
45
50
|
margin-right: `).concat(s,"px ").concat(n,`;
|
|
46
51
|
}
|
|
47
52
|
|
|
48
|
-
.`).concat(
|
|
53
|
+
.`).concat(Cr," .").concat(Cr,` {
|
|
49
54
|
right: 0 `).concat(n,`;
|
|
50
55
|
}
|
|
51
56
|
|
|
52
|
-
.`).concat(
|
|
57
|
+
.`).concat(Dr," .").concat(Dr,` {
|
|
53
58
|
margin-right: 0 `).concat(n,`;
|
|
54
59
|
}
|
|
55
60
|
|
|
56
61
|
body {
|
|
57
|
-
`).concat(
|
|
62
|
+
`).concat(Hb,": ").concat(s,`px;
|
|
58
63
|
}
|
|
59
|
-
`)},
|
|
64
|
+
`)},dg=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=B.useMemo(function(){return lg(o)},[o]);return B.createElement(cg,{styles:ug(a,!t,o,r?"":"!important")})},Un=!1;if(typeof window<"u")try{var Or=Object.defineProperty({},"passive",{get:function(){return Un=!0,!0}});window.addEventListener("test",Or,Or),window.removeEventListener("test",Or,Or)}catch{Un=!1}var kt=Un?{passive:!1}:!1,fg=function(e){return e.tagName==="TEXTAREA"},Gi=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!fg(e)&&r[t]==="visible")},pg=function(e){return Gi(e,"overflowY")},mg=function(e){return Gi(e,"overflowX")},qi=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Yi(e,r);if(n){var o=Xi(e,r),a=o[1],i=o[2];if(a>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},bg=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},gg=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Yi=function(e,t){return e==="v"?pg(t):mg(t)},Xi=function(e,t){return e==="v"?bg(t):gg(t)},hg=function(e,t){return e==="h"&&t==="rtl"?-1:1},vg=function(e,t,r,n,o){var a=hg(e,window.getComputedStyle(t).direction),i=a*n,s=r.target,c=t.contains(s),d=!1,f=i>0,p=0,m=0;do{var g=Xi(e,s),h=g[0],b=g[1],v=g[2],_=b-v-a*h;(h||_)&&Yi(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&&i>p)||!f&&(o&&m===0||!o&&-i>m))&&(d=!0),d},Ar=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Zi=function(e){return[e.deltaX,e.deltaY]},Ji=function(e){return e&&"current"in e?e.current:e},yg=function(e,t){return e[0]===t[0]&&e[1]===t[1]},$g=function(e){return`
|
|
60
65
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
61
66
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
62
|
-
`)},ag=0,kt=[];function ig(e){var t=B.useRef([]),r=B.useRef([0,0]),n=B.useRef(),o=B.useState(ag++)[0],a=B.useState(function(){return Ri()})[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=Pm([e.lockRef.current],(e.shards||[]).map(Gi),!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 $=Ir(g),_=r.current,E="deltaX"in g?g.deltaX:_[0]-$[0],y="deltaY"in g?g.deltaY:_[1]-$[1],A,L=g.target,P=Math.abs(E)>Math.abs(y)?"h":"v";if("touches"in g&&P==="h"&&L.type==="range")return!1;var N=Bi(P,L);if(!N)return!0;if(N?A=P:(A=P==="v"?"h":"v",N=Bi(P,L)),!N)return!1;if(!n.current&&"changedTouches"in g&&(E||y)&&(n.current=A),!A)return!0;var F=n.current||A;return rg(F,v,g,F==="h"?E:y,!0)},[]),c=B.useCallback(function(g){var v=g;if(!(!kt.length||kt[kt.length-1]!==a)){var $="deltaY"in v?Hi(v):Ir(v),_=t.current.filter(function(A){return A.name===v.type&&A.target===v.target&&ng(A.delta,$)})[0];if(_&&_.should){v.cancelable&&v.preventDefault();return}if(!_){var E=(i.current.shards||[]).map(Gi).filter(Boolean).filter(function(A){return A.contains(v.target)}),y=E.length>0?s(v,E[0]):!i.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),d=B.useCallback(function(g,v,$,_){var E={name:g,delta:v,target:$,should:_};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(y){return y!==E})},1)},[]),f=B.useCallback(function(g){r.current=Ir(g),n.current=void 0},[]),p=B.useCallback(function(g){d(g.type,Hi(g),g.target,s(g,e.lockRef.current))},[]),b=B.useCallback(function(g){d(g.type,Ir(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",f,St),function(){kt=kt.filter(function(g){return g!==a}),document.removeEventListener("wheel",c,St),document.removeEventListener("touchmove",c,St),document.removeEventListener("touchstart",f,St)}},[]);var m=e.removeScrollBar,h=e.inert;return B.createElement(B.Fragment,null,h?B.createElement(a,{styles:og(o)}):null,m?B.createElement(Ym,{gapMode:"margin"}):null)}const sg=Mm(ji,ig);var qi=B.forwardRef(function(e,t){return B.createElement(Cr,Me({},e,{ref:t,sideCar:sg}))});qi.classNames=Cr.classNames;const Hn=qi;var lg=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pt=new WeakMap,Or=new WeakMap,Ar={},Gn=0,Yi=function(e){return e&&(e.host||Yi(e.parentNode))},cg=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Yi(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)})},ug=function(e,t,r,n){var o=cg(t,Array.isArray(e)?e:[e]);Ar[r]||(Ar[r]=new WeakMap);var a=Ar[r],i=[],s=new Set,c=new Set(o),d=function(p){!p||s.has(p)||(s.add(p),d(p.parentNode))};o.forEach(d);var f=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(b){if(s.has(b))f(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&&Or.set(b,!0),v===1&&b.setAttribute(r,"true"),h||b.setAttribute(n,"true")}})};return f(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||(Or.has(p)||p.removeAttribute(n),Or.delete(p)),m||p.removeAttribute(r)}),Gn--,Gn||(Pt=new WeakMap,Pt=new WeakMap,Or=new WeakMap,Ar={})}},qn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||lg(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),ug(n,o,r,"aria-hidden")):function(){return null}};const Xi="Dialog",[Zi,Ji]=xe(Xi),[dg,Ne]=Zi(Xi),fg=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,f]=Ce({prop:n,defaultProp:o,onChange:a});return l.createElement(dg,{scope:t,triggerRef:s,contentRef:c,contentId:Ae(),titleId:Ae(),descriptionId:Ae(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(p=>!p),[f]),modal:i},r)},pg="DialogTrigger",bg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(pg,r),a=le(t,o.triggerRef);return l.createElement(J.button,S({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Xn(o.open)},n,{ref:a,onClick:U(e.onClick,o.onOpenToggle)}))}),Qi="DialogPortal",[mg,es]=Zi(Qi,{forceMount:void 0}),gg=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=Ne(Qi,t);return l.createElement(mg,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(De,{present:r||a.open},l.createElement(Yt,{asChild:!0,container:o},i))))},Yn="DialogOverlay",hg=l.forwardRef((e,t)=>{const r=es(Yn,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ne(Yn,e.__scopeDialog);return a.modal?l.createElement(De,{present:n||a.open},l.createElement(vg,S({},o,{ref:t}))):null}),vg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(Yn,r);return l.createElement(Hn,{as:mt,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(J.div,S({"data-state":Xn(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Ct="DialogContent",yg=l.forwardRef((e,t)=>{const r=es(Ct,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ne(Ct,e.__scopeDialog);return l.createElement(De,{present:n||a.open},a.modal?l.createElement($g,S({},o,{ref:t})):l.createElement(_g,S({},o,{ref:t})))}),$g=l.forwardRef((e,t)=>{const r=Ne(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(ts,S({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:U(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:U(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:U(e.onFocusOutside,a=>a.preventDefault())}))}),_g=l.forwardRef((e,t)=>{const r=Ne(Ct,e.__scopeDialog),n=l.useRef(!1);return l.createElement(ts,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()}}))}),ts=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=Ne(Ct,r),c=l.useRef(null),d=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:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),rs="DialogTitle",xg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(rs,r);return l.createElement(J.h2,S({id:o.titleId},n,{ref:t}))}),Eg="DialogDescription",wg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(Eg,r);return l.createElement(J.p,S({id:o.descriptionId},n,{ref:t}))}),Tg="DialogClose",Sg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(Tg,r);return l.createElement(J.button,S({type:"button"},n,{ref:t,onClick:U(e.onClick,()=>o.onOpenChange(!1))}))});function Xn(e){return e?"open":"closed"}const kg="DialogTitleWarning",[Pg,RS]=om(kg,{contentName:Ct,titleName:rs,docsSlug:"dialog"}),ns=fg,os=bg,as=gg,is=hg,ss=yg,ls=xg,cs=wg,Zn=Sg,Cg="AlertDialog",[Dg,KS]=xe(Cg,[Ji]),He=Ji(),Ig=e=>{const{__scopeAlertDialog:t,...r}=e,n=He(t);return l.createElement(ns,S({},n,r,{modal:!0}))},Og=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(os,S({},o,n,{ref:t}))}),Ag=e=>{const{__scopeAlertDialog:t,...r}=e,n=He(t);return l.createElement(as,S({},n,r))},Ng=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(is,S({},o,n,{ref:t}))}),us="AlertDialogContent",[zg,Lg]=Dg(us),Mg=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(Pg,{contentName:us,titleName:Fg,docsSlug:"alert-dialog"},l.createElement(zg,{scope:r,cancelRef:c},l.createElement(ss,S({role:"alertdialog"},a,o,{ref:s,onOpenAutoFocus:U(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(Ln,null,n),!1)))}),Fg="AlertDialogTitle",Vg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(ls,S({},o,n,{ref:t}))}),jg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(cs,S({},o,n,{ref:t}))}),Rg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(Zn,S({},o,n,{ref:t}))}),Kg="AlertDialogCancel",Bg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=Lg(Kg,r),a=He(r),i=le(t,o);return l.createElement(Zn,S({},a,n,{ref:i}))}),Ug=Ig,Wg=Og,Hg=Ag,Gg=Ng,qg=Mg,Yg=Rg,Xg=Bg,Zg=Vg,Jg=jg,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=D.keyframes`
|
|
67
|
+
`)},_g=0,Pt=[];function xg(e){var t=B.useRef([]),r=B.useRef([0,0]),n=B.useRef(),o=B.useState(_g++)[0],a=B.useState(function(){return Hi()})[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 b=Wb([e.lockRef.current],(e.shards||[]).map(Ji),!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!i.current.allowPinchZoom;var _=Ar(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=qi(I,M);if(!A)return!0;if(A?O=I:(O=I==="v"?"h":"v",A=qi(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 vg(L,v,b,L==="h"?w:y,!0)},[]),c=B.useCallback(function(b){var v=b;if(!(!Pt.length||Pt[Pt.length-1]!==a)){var _="deltaY"in v?Zi(v):Ar(v),$=t.current.filter(function(O){return O.name===v.type&&O.target===v.target&&yg(O.delta,_)})[0];if($&&$.should){v.cancelable&&v.preventDefault();return}if(!$){var w=(i.current.shards||[]).map(Ji).filter(Boolean).filter(function(O){return O.contains(v.target)}),y=w.length>0?s(v,w[0]):!i.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=Ar(b),n.current=void 0},[]),p=B.useCallback(function(b){d(b.type,Zi(b),b.target,s(b,e.lockRef.current))},[]),m=B.useCallback(function(b){d(b.type,Ar(b),b.target,s(b,e.lockRef.current))},[]);B.useEffect(function(){return Pt.push(a),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!==a}),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(a,{styles:$g(o)}):null,g?B.createElement(dg,{gapMode:"margin"}):null)}const wg=Qb(Ui,xg);var Qi=B.forwardRef(function(e,t){return B.createElement(Ir,Ke({},e,{ref:t,sideCar:wg}))});Qi.classNames=Ir.classNames;const Hn=Qi;var Eg=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ct=new WeakMap,Nr=new WeakMap,zr={},Gn=0,es=function(e){return e&&(e.host||es(e.parentNode))},Sg=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=es(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)})},Tg=function(e,t,r,n){var o=Sg(t,Array.isArray(e)?e:[e]);zr[r]||(zr[r]=new WeakMap);var a=zr[r],i=[],s=new Set,c=new Set(o),d=function(p){!p||s.has(p)||(s.add(p),d(p.parentNode))};o.forEach(d);var 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=(a.get(m)||0)+1;Ct.set(m,b),a.set(m,v),i.push(m),b===1&&h&&Nr.set(m,!0),v===1&&m.setAttribute(r,"true"),h||m.setAttribute(n,"true")}})};return f(t),s.clear(),Gn++,function(){i.forEach(function(p){var m=Ct.get(p)-1,g=a.get(p)-1;Ct.set(p,m),a.set(p,g),m||(Nr.has(p)||p.removeAttribute(n),Nr.delete(p)),g||p.removeAttribute(r)}),Gn--,Gn||(Ct=new WeakMap,Ct=new WeakMap,Nr=new WeakMap,zr={})}},qn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Eg(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Tg(n,o,r,"aria-hidden")):function(){return null}};const ts="Dialog",[rs,ns]=ke(ts),[kg,je]=rs(ts),Pg=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,f]=Ve({prop:n,defaultProp:o,onChange:a});return l.createElement(kg,{scope:t,triggerRef:s,contentRef:c,contentId:Re(),titleId:Re(),descriptionId:Re(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(p=>!p),[f]),modal:i},r)},Cg="DialogTrigger",Dg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=je(Cg,r),a=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":Xn(o.open)},n,{ref:a,onClick:G(e.onClick,o.onOpenToggle)}))}),os="DialogPortal",[Ig,as]=rs(os,{forceMount:void 0}),Og=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=je(os,t);return l.createElement(Ig,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(Oe,{present:r||a.open},l.createElement(Qt,{asChild:!0,container:o},i))))},Yn="DialogOverlay",Ag=l.forwardRef((e,t)=>{const r=as(Yn,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=je(Yn,e.__scopeDialog);return a.modal?l.createElement(Oe,{present:n||a.open},l.createElement(Ng,E({},o,{ref:t}))):null}),Ng=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=je(Yn,r);return l.createElement(Hn,{as:pt,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(re.div,E({"data-state":Xn(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Dt="DialogContent",zg=l.forwardRef((e,t)=>{const r=as(Dt,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=je(Dt,e.__scopeDialog);return l.createElement(Oe,{present:n||a.open},a.modal?l.createElement(Lg,E({},o,{ref:t})):l.createElement(Mg,E({},o,{ref:t})))}),Lg=l.forwardRef((e,t)=>{const r=je(Dt,e.__scopeDialog),n=l.useRef(null),o=de(t,r.contentRef,n);return l.useEffect(()=>{const a=n.current;if(a)return qn(a)},[]),l.createElement(is,E({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:G(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:G(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:G(e.onFocusOutside,a=>a.preventDefault())}))}),Mg=l.forwardRef((e,t)=>{const r=je(Dt,e.__scopeDialog),n=l.useRef(!1);return l.createElement(is,E({},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()}}))}),is=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=je(Dt,r),c=l.useRef(null),d=de(t,c);return Kn(),l.createElement(l.Fragment,null,l.createElement(jn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(Jt,E({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Xn(s.open)},i,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),ss="DialogTitle",Fg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=je(ss,r);return l.createElement(re.h2,E({id:o.titleId},n,{ref:t}))}),Vg="DialogDescription",jg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=je(Vg,r);return l.createElement(re.p,E({id:o.descriptionId},n,{ref:t}))}),Rg="DialogClose",Kg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=je(Rg,r);return l.createElement(re.button,E({type:"button"},n,{ref:t,onClick:G(e.onClick,()=>o.onOpenChange(!1))}))});function Xn(e){return e?"open":"closed"}const Bg="DialogTitleWarning",[Wg,ak]=$b(Bg,{contentName:Dt,titleName:ss,docsSlug:"dialog"}),ls=Pg,cs=Dg,us=Og,ds=Ag,fs=zg,ps=Fg,ms=jg,Zn=Kg,Ug="AlertDialog",[Hg,ik]=ke(Ug,[ns]),qe=ns(),Gg=e=>{const{__scopeAlertDialog:t,...r}=e,n=qe(t);return l.createElement(ls,E({},n,r,{modal:!0}))},qg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(cs,E({},o,n,{ref:t}))}),Yg=e=>{const{__scopeAlertDialog:t,...r}=e,n=qe(t);return l.createElement(us,E({},n,r))},Xg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(ds,E({},o,n,{ref:t}))}),bs="AlertDialogContent",[Zg,Jg]=Hg(bs),Qg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=qe(r),i=l.useRef(null),s=de(t,i),c=l.useRef(null);return l.createElement(Wg,{contentName:bs,titleName:eh,docsSlug:"alert-dialog"},l.createElement(Zg,{scope:r,cancelRef:c},l.createElement(fs,E({role:"alertdialog"},a,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(Ln,null,n),!1)))}),eh="AlertDialogTitle",th=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(ps,E({},o,n,{ref:t}))}),rh=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(ms,E({},o,n,{ref:t}))}),nh=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=qe(r);return l.createElement(Zn,E({},o,n,{ref:t}))}),oh="AlertDialogCancel",ah=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=Jg(oh,r),a=qe(r),i=de(t,o);return l.createElement(Zn,E({},a,n,{ref:i}))}),ih=Gg,sh=qg,lh=Yg,ch=Xg,uh=Qg,dh=nh,fh=ah,ph=th,mh=rh,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=P.keyframes`
|
|
63
68
|
0% {
|
|
64
69
|
opacity: 0;
|
|
65
70
|
}
|
|
@@ -67,7 +72,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
67
72
|
100% {
|
|
68
73
|
opacity: var(--overlay-opacity);
|
|
69
74
|
}
|
|
70
|
-
`,Qn=
|
|
75
|
+
`,Qn=P.keyframes`
|
|
71
76
|
0% {
|
|
72
77
|
opacity: 0;
|
|
73
78
|
transform: translate(-50%, -48%) scale(.96);
|
|
@@ -77,7 +82,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
77
82
|
opacity: 1;
|
|
78
83
|
transform: translate(-50%, -50%) scale(1);
|
|
79
84
|
}
|
|
80
|
-
`,
|
|
85
|
+
`,bh=P(ds)`
|
|
81
86
|
--overlay-opacity: 0.6;
|
|
82
87
|
background-color: ${u.color_background_black_strong};
|
|
83
88
|
opacity: var(--overlay-opacity);
|
|
@@ -85,7 +90,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
85
90
|
inset: 0;
|
|
86
91
|
z-index: 4;
|
|
87
92
|
animation: ${Jn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
88
|
-
`,eo={small:"360px",medium:"540px",large:"960px"},
|
|
93
|
+
`,eo={small:"360px",medium:"540px",large:"960px"},gh=P(fs)`
|
|
89
94
|
background: ${u.color_white};
|
|
90
95
|
padding: ${u.sizing_500};
|
|
91
96
|
width: ${e=>eo[e.size??"medium"]};
|
|
@@ -101,7 +106,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
101
106
|
box-shadow: ${u.elevation_static_high};
|
|
102
107
|
border-radius: ${u.border_radius_400};
|
|
103
108
|
animation: ${Qn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
104
|
-
`;function
|
|
109
|
+
`;function hh({children:e,size:t,...r}){return le(us,{children:[k(bh,{}),k(gh,{size:t,...r,children:e})]})}const vh=P(ps)`
|
|
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 <`+W+">.")}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
|
+
`,yh=P(ms)`
|
|
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 <`+W+">.")}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
|
+
`,$h=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
|
+
`,_h=P.button`
|
|
129
134
|
all: unset;
|
|
130
135
|
font-family: inherit;
|
|
131
136
|
height: 25px;
|
|
@@ -149,7 +154,7 @@ Check the top-level render call using <`+W+">.")}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
|
+
`,xh=ls,wh=cs,Eh=Zn,Sh=P(ch)`
|
|
153
158
|
--overlay-opacity: 0.6;
|
|
154
159
|
background-color: ${u.color_background_black_strong};
|
|
155
160
|
opacity: var(--overlay-opacity);
|
|
@@ -157,7 +162,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
157
162
|
inset: 0;
|
|
158
163
|
z-index: 4;
|
|
159
164
|
animation: ${Jn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
160
|
-
`,
|
|
165
|
+
`,Th=P(uh)`
|
|
161
166
|
background: ${u.color_white};
|
|
162
167
|
padding: ${u.sizing_500};
|
|
163
168
|
width: ${e=>eo[e.size??"medium"]};
|
|
@@ -173,7 +178,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
173
178
|
box-shadow: ${u.elevation_static_high};
|
|
174
179
|
border-radius: ${u.border_radius_400};
|
|
175
180
|
animation: ${Qn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
176
|
-
`;function
|
|
181
|
+
`;function kh({children:e,size:t,...r}){return le(lh,{children:[k(Sh,{}),k(Th,{size:t,...r,children:e})]})}const Ph=P(ph)`
|
|
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 <`+W+">.")}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
|
+
`,Ch=P(mh)`
|
|
187
192
|
font-family: ${u.font_family_sans};
|
|
188
193
|
font-style: normal;
|
|
189
194
|
font-weight: 400;
|
|
@@ -192,26 +197,21 @@ Check the top-level render call using <`+W+">.")}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
|
+
`,Dh=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
|
-
`,mh=Ug,gh=Wg,hh=Yg,vh=Xg,Nr=l.forwardRef((e,t)=>l.createElement(J.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}}))),ds=Nr,yh=({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(ds,null,t))},$h=D.span`
|
|
201
|
-
& + span {
|
|
202
|
-
bottom: 0;
|
|
203
|
-
right: 0;
|
|
204
|
-
}
|
|
205
|
-
`;function Xt({children:e,label:t}){return C(yh,{label:t,children:C($h,{children:e})})}function Dt(e){return e.split("-")[0]}function zr(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 fs(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),d=n[c]/2-o[c]/2,f=Dt(t),p=s==="x";let b;switch(f){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(zr(t)){case"start":b[s]-=d*(r&&p?-1:1);break;case"end":b[s]+=d*(r&&p?-1:1);break}return b}const _h=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:d,y:f}=fs(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:E,reset:y}=await v({x:d,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:b,rects:c,platform:i,elements:{reference:e,floating:t}});if(d=$??d,f=_??f,b={...b,[g]:{...b[g],...E}},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:d,y:f}=fs(c,p,s)),h=-1;continue}}return{x:d,y:f,placement:p,strategy:o,middlewareData:b}};function xh(e){return{top:0,right:0,bottom:0,left:0,...e}}function ps(e){return typeof e!="number"?xh(e):{top:e,right:e,bottom:e,left:e}}function Lr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Mr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:b=!1,padding:m=0}=t,h=ps(m),v=s[b?p==="floating"?"reference":"floating":p],$=Lr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(v)))==null||r?v:v.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:d,rootBoundary:f,strategy:c})),_=Lr(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 Eh=Math.min,wh=Math.max;function ro(e,t,r){return wh(e,Eh(t,r))}const bs=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e??{},{x:o,y:a,placement:i,rects:s,platform:c}=t;if(r==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const d=ps(n),f={x:o,y:a},p=It(i),b=zr(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]-f[p]-s.floating[m],_=f[p]-s.reference[p],E=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let y=E?p==="y"?E.clientHeight||0:E.clientWidth||0:0;y===0&&(y=s.floating[m]);const A=$/2-_/2,L=d[g],P=y-h[m]-d[v],N=y/2-h[m]/2+A,F=ro(L,N,P),H=(b==="start"?d[g]:d[v])>0&&N!==F&&s.reference[m]<=s.floating[m]?N<L?L-N:P-N:0;return{[p]:f[p]-H,data:{[p]:F,centerOffset:N-F}}}}),Th={left:"right",right:"left",bottom:"top",top:"bottom"};function Fr(e){return e.replace(/left|right|bottom|top/g,t=>Th[t])}function Sh(e,t,r){r===void 0&&(r=!1);const n=zr(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=Fr(i)),{main:i,cross:Fr(i)}}const kh={start:"end",end:"start"};function ms(e){return e.replace(/start|end/g,t=>kh[t])}const Ph=["top","right","bottom","left"];function Ch(e){const t=Fr(e);return[ms(e),t,ms(t)]}const Dh=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:a,initialPlacement:i,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:b="bestFit",flipAlignment:m=!0,...h}=e,g=Dt(n),$=p||(g===i||!m?[Fr(i)]:Ch(i)),_=[i,...$],E=await Mr(t,h),y=[];let A=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&y.push(E[g]),f){const{main:F,cross:G}=Sh(n,a,await(s.isRTL==null?void 0:s.isRTL(c.floating)));y.push(E[F],E[G])}if(A=[...A,{placement:n,overflows:y}],!y.every(F=>F<=0)){var L,P;const F=((L=(P=o.flip)==null?void 0:P.index)!=null?L:0)+1,G=_[F];if(G)return{data:{index:F,overflows:A},reset:{placement:G}};let k="bottom";switch(b){case"bestFit":{var N;const H=(N=A.map(O=>[O,O.overflows.filter(T=>T>0).reduce((T,X)=>T+X,0)]).sort((O,T)=>O[1]-T[1])[0])==null?void 0:N[0].placement;H&&(k=H);break}case"initialPlacement":k=i;break}if(n!==k)return{reset:{placement:k}}}return{}}}};function gs(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function hs(e){return Ph.some(t=>e[t]>=0)}const Ih=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 Mr(n,{...r,elementContext:"reference"}),i=gs(a,o.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:hs(i)}}}case"escaped":{const a=await Mr(n,{...r,altBoundary:!0}),i=gs(a,o.floating);return{data:{escapedOffsets:i,escaped:hs(i)}}}default:return{}}}}};async function Oh(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=zr(r),c=It(r)==="x",d=["left","top"].includes(i)?-1:1,f=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*f,y:b*d}:{x:b*d,y:m*f}}const Ah=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await Oh(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function vs(e){return e==="x"?"y":"x"}const Nh=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:v=>{let{x:$,y:_}=v;return{x:$,y:_}}},...c}=e,d={x:r,y:n},f=await Mr(t,c),p=It(Dt(o)),b=vs(p);let m=d[p],h=d[b];if(a){const v=p==="y"?"top":"left",$=p==="y"?"bottom":"right",_=m+f[v],E=m-f[$];m=ro(_,m,E)}if(i){const v=b==="y"?"top":"left",$=b==="y"?"bottom":"right",_=h+f[v],E=h-f[$];h=ro(_,h,E)}const g=s.fn({...t,[p]:m,[b]:h});return{...g,data:{x:g.x-r,y:g.y-n}}}}},zh=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:c=!0,crossAxis:d=!0}=e,f={x:r,y:n},p=It(o),b=vs(p);let m=f[p],h=f[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,P=a.reference[p]+a.reference[A]-v.mainAxis;m<L?m=L:m>P&&(m=P)}if(d){var $,_,E,y;const A=p==="y"?"width":"height",L=["top","left"].includes(Dt(o)),P=a.reference[b]-a.floating[A]+(L&&($=(_=i.offset)==null?void 0:_[b])!=null?$:0)+(L?0:v.crossAxis),N=a.reference[b]+a.reference[A]+(L?0:(E=(y=i.offset)==null?void 0:y[b])!=null?E:0)-(L?v.crossAxis:0);h<P?h=P:h>N&&(h=N)}return{[p]:m,[b]:h}}}};function ys(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Ge(e){if(e==null)return window;if(!ys(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Zt(e){return Ge(e).getComputedStyle(e)}function qe(e){return ys(e)?"":e?(e.nodeName||"").toLowerCase():""}function $s(){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 Lh(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 Vr(e){const{overflow:t,overflowX:r,overflowY:n}=Zt(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function Mh(e){return["table","td","th"].includes(qe(e))}function _s(e){const t=/firefox/i.test($s()),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 xs(){return!/^((?!chrome|android).)*safari/i.test($s())}const Es=Math.min,Jt=Math.max,jr=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,d=1;t&&Fe(e)&&(c=e.offsetWidth>0&&jr(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&jr(s.height)/e.offsetHeight||1);const f=et(e)?Ge(e):window,p=!xs()&&r,b=(s.left+(p&&(n=(o=f.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,m=(s.top+(p&&(a=(i=f.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/d,h=s.width/c,g=s.height/d;return{width:h,height:g,top:m,right:b+h,bottom:m+g,left:b,x:b,y:m}}function tt(e){return((Lh(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rr(e){return et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ws(e){return Ye(tt(e)).left+Rr(e).scrollLeft}function Fh(e){const t=Ye(e);return jr(t.width)!==e.offsetWidth||jr(t.height)!==e.offsetHeight}function Vh(e,t,r){const n=Fe(t),o=tt(t),a=Ye(e,n&&Fh(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((qe(t)!=="body"||Vr(o))&&(i=Rr(t)),Fe(t)){const c=Ye(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=ws(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function Ts(e){return qe(e)==="html"?e:e.assignedSlot||e.parentNode||(no(e)?e.host:null)||tt(e)}function Ss(e){return!Fe(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function jh(e){let t=Ts(e);for(no(t)&&(t=t.host);Fe(t)&&!["html","body"].includes(qe(t));){if(_s(t))return t;t=t.parentNode}return null}function oo(e){const t=Ge(e);let r=Ss(e);for(;r&&Mh(r)&&getComputedStyle(r).position==="static";)r=Ss(r);return r&&(qe(r)==="html"||qe(r)==="body"&&getComputedStyle(r).position==="static"&&!_s(r))?t:r||jh(e)||t}function ks(e){if(Fe(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ye(e);return{width:t.width,height:t.height}}function Rh(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"||Vr(a))&&(i=Rr(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 Kh(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 d=xs();(d||!d&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:a,height:i,x:s,y:c}}function Bh(e){var t;const r=tt(e),n=Rr(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+ws(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 Ps(e){const t=Ts(e);return["html","body","#document"].includes(qe(t))?e.ownerDocument.body:Fe(t)&&Vr(t)?t:Ps(t)}function Kr(e,t){var r;t===void 0&&(t=[]);const n=Ps(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Ge(n),i=o?[a].concat(a.visualViewport||[],Vr(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(Kr(i))}function Uh(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 Wh(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 Cs(e,t,r){return t==="viewport"?Lr(Kh(e,r)):et(t)?Wh(t,r):Lr(Bh(tt(e)))}function Hh(e){const t=Kr(e),n=["absolute","fixed"].includes(Zt(e).position)&&Fe(e)?oo(e):e;return et(n)?t.filter(o=>et(o)&&Uh(o,n)&&qe(o)!=="body"):[]}function Gh(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?Hh(t):[].concat(r),n],s=i[0],c=i.reduce((d,f)=>{const p=Cs(t,f,o);return d.top=Jt(p.top,d.top),d.right=Es(p.right,d.right),d.bottom=Es(p.bottom,d.bottom),d.left=Jt(p.left,d.left),d},Cs(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}const qh={getClippingRect:Gh,convertOffsetParentRelativeRectToViewportRelativeRect:Rh,isElement:et,getDimensions:ks,getOffsetParent:oo,getDocumentElement:tt,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:Vh(t,oo(r),n),floating:{...ks(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Zt(e).direction==="rtl"};function Yh(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:s=!1}=n,c=o&&!s,d=a&&!s,f=c||d?[...et(e)?Kr(e):[],...Kr(t)]:[];f.forEach(g=>{c&&g.addEventListener("scroll",r,{passive:!0}),d&&g.addEventListener("resize",r)});let p=null;if(i){let g=!0;p=new ResizeObserver(()=>{g||r(),g=!1}),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;f.forEach(v=>{c&&v.removeEventListener("scroll",r),d&&v.removeEventListener("resize",r)}),(g=p)==null||g.disconnect(),p=null,s&&cancelAnimationFrame(b)}}const Xh=(e,t,r)=>_h(e,t,{platform:qh,...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 Zh(e){const t=B.useRef(e);return ao(()=>{t.current=e}),t}function Jh(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=Zh(o),c=B.useRef(null),[d,f]=B.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,b]=B.useState(t);io(p==null?void 0:p.map(E=>{let{options:y}=E;return y}),t==null?void 0:t.map(E=>{let{options:y}=E;return y}))||b(t);const m=B.useCallback(()=>{!a.current||!i.current||Xh(a.current,i.current,{middleware:p,placement:r,strategy:n}).then(E=>{h.current&&Ei.flushSync(()=>{f(E)})})},[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 E=s.current(a.current,i.current,m);c.current=E}else m()},[m,s]),v=B.useCallback(E=>{a.current=E,g()},[g]),$=B.useCallback(E=>{i.current=E,g()},[g]),_=B.useMemo(()=>({reference:a,floating:i}),[]);return B.useMemo(()=>({...d,update:m,refs:_,reference:v,floating:$}),[d,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?bs({element:t.current,padding:r}).fn(o):{}:t?bs({element:t,padding:r}).fn(o):{}}}},ev=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(J.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 Br(e){const[t,r]=l.useState(void 0);return Ee(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const c=a.borderBoxSize,d=Array.isArray(c)?c[0]:c;i=d.inlineSize,s=d.blockSize}else i=e.offsetWidth,s=e.offsetHeight;r({width:i,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const Ds="Popper",[so,Ur]=xe(Ds),[tv,Is]=so(Ds),rv=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(tv,{scope:t,anchor:n,onAnchorChange:o},r)},nv="PopperAnchor",ov=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Is(nv,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(J.div,S({},o,{ref:s}))}),Wr="PopperContent",[av,iv]=so(Wr),[sv,lv]=so(Wr,{hasParent:!1,positionUpdateFns:new Set}),cv=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,d;const{__scopePopper:f,side:p="bottom",sideOffset:b=0,align:m="center",alignOffset:h=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:_="partial",hideWhenDetached:E=!1,avoidCollisions:y=!0,...A}=e,L=Is(Wr,f),[P,N]=l.useState(null),F=le(t,Le=>N(Le)),[G,k]=l.useState(null),H=Br(G),O=(r=H==null?void 0:H.width)!==null&&r!==void 0?r:0,T=(n=H==null?void 0:H.height)!==null&&n!==void 0?n:0,X=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(bv),altBoundary:ge},{reference:w,floating:z,strategy:K,x:j,y:R,placement:q,middlewareData:Y,update:Z}=Jh({strategy:"fixed",placement:X,whileElementsMounted:Yh,middleware:[Ah({mainAxis:b+T,alignmentAxis:h}),y?Nh({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?zh():void 0,...te}):void 0,G?Qh({element:G,padding:g}):void 0,y?Dh({...te}):void 0,mv({arrowWidth:O,arrowHeight:T}),E?Ih({strategy:"referenceHidden"}):void 0].filter(pv)});Ee(()=>{w(L.anchor)},[w,L.anchor]);const Q=j!==null&&R!==null,[ae,ne]=Os(q),ve=(o=Y.arrow)===null||o===void 0?void 0:o.x,he=(a=Y.arrow)===null||a===void 0?void 0:a.y,Se=((i=Y.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Re,Oe]=l.useState();Ee(()=>{P&&Oe(window.getComputedStyle(P).zIndex)},[P]);const{hasParent:Ke,positionUpdateFns:ye}=lv(Wr,f),$e=!Ke;l.useLayoutEffect(()=>{if(!$e)return ye.add(Z),()=>{ye.delete(Z)}},[$e,ye,Z]),l.useLayoutEffect(()=>{$e&&Q&&Array.from(ye).reverse().forEach(Le=>requestAnimationFrame(Le))},[$e,Q,ye]);const ze={"data-side":ae,"data-align":ne,...A,ref:F,style:{...A.style,animation:Q?void 0:"none",opacity:(s=Y.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:z,"data-radix-popper-content-wrapper":"",style:{position:K,left:0,top:0,transform:Q?`translate3d(${Math.round(j)}px, ${Math.round(R)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Re,["--radix-popper-transform-origin"]:[(c=Y.transformOrigin)===null||c===void 0?void 0:c.x,(d=Y.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")}},l.createElement(av,{scope:f,placedSide:ae,onArrowChange:k,arrowX:ve,arrowY:he,shouldHideArrow:Se},$e?l.createElement(sv,{scope:f,hasParent:!0,positionUpdateFns:ye},l.createElement(J.div,ze)):l.createElement(J.div,ze)))}),uv="PopperArrow",dv={top:"bottom",right:"left",bottom:"top",left:"right"},fv=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=iv(uv,n),i=dv[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(ev,S({},o,{ref:r,style:{...o.style,display:"block"}})))});function pv(e){return e!==void 0}function bv(e){return e!==null}const mv=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,p=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,b=p?0:e.arrowWidth,m=p?0:e.arrowHeight,[h,g]=Os(s),v={start:"0%",center:"50%",end:"100%"}[g],$=((n=(o=d.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+b/2,_=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let E="",y="";return h==="bottom"?(E=p?v:`${$}px`,y=`${-m}px`):h==="top"?(E=p?v:`${$}px`,y=`${c.floating.height+m}px`):h==="right"?(E=`${-m}px`,y=p?v:`${_}px`):h==="left"&&(E=`${c.floating.width+m}px`,y=p?v:`${_}px`),{data:{x:E,y}}}});function Os(e){const[t,r="center"]=e.split("-");return[t,r]}const As=rv,Ns=ov,zs=cv,Ls=fv,Ms="Popover",[Fs,WS]=xe(Ms,[Ur]),Hr=Ur(),[gv,ht]=Fs(Ms),Vs=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=Hr(t),c=l.useRef(null),[d,f]=l.useState(!1),[p=!1,b]=Ce({prop:n,defaultProp:o,onChange:a});return l.createElement(As,s,l.createElement(gv,{scope:t,contentId:Ae(),triggerRef:c,open:p,onOpenChange:b,onOpenToggle:l.useCallback(()=>b(m=>!m),[b]),hasCustomAnchor:d,onCustomAnchorAdd:l.useCallback(()=>f(!0),[]),onCustomAnchorRemove:l.useCallback(()=>f(!1),[]),modal:i},r))},hv="PopoverTrigger",js=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(hv,r),a=Hr(r),i=le(t,o.triggerRef),s=l.createElement(J.button,S({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Us(o.open)},n,{ref:i,onClick:U(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(Ns,S({asChild:!0},a),s)}),Rs="PopoverPortal",[vv,yv]=Fs(Rs,{forceMount:void 0}),$v=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=ht(Rs,t);return l.createElement(vv,{scope:t,forceMount:r},l.createElement(De,{present:r||a.open},l.createElement(Yt,{asChild:!0,container:o},n)))},Qt="PopoverContent",Ks=l.forwardRef((e,t)=>{const r=yv(Qt,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=ht(Qt,e.__scopePopover);return l.createElement(De,{present:n||a.open},a.modal?l.createElement(_v,S({},o,{ref:t})):l.createElement(xv,S({},o,{ref:t})))}),_v=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(Bs,S({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:U(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:U(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,d=s.button===2||c;a.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:U(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),xv=l.forwardRef((e,t)=>{const r=ht(Qt,e.__scopePopover),n=l.useRef(!1);return l.createElement(Bs,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()}}))}),Bs=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...p}=e,b=ht(Qt,r),m=Hr(r);return Kn(),l.createElement(jn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(qt,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>b.onOpenChange(!1)},l.createElement(zs,S({"data-state":Us(b.open),role:"dialog",id:b.contentId},m,p,{ref:t,style:{...p.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),Ev="PopoverClose",wv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(Ev,r);return l.createElement(J.button,S({type:"button"},n,{ref:t,onClick:U(e.onClick,()=>o.onOpenChange(!1))}))}),Tv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Hr(r);return l.createElement(Ls,S({},o,n,{ref:t}))});function Us(e){return e?"open":"closed"}const Sv=Vs,kv=js,Pv=$v,Cv=Ks,Ws=wv,Dv=Tv;function Hs(e,t,r){let[n,o]=l.useState(e||t),a=l.useRef(e!==void 0),i=a.current,s=e!==void 0,c=l.useRef(n);i!==s&&console.warn(`WARN: A component changed from ${i?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s;let d=l.useCallback((f,...p)=>{let b=(m,...h)=>{r&&(Object.is(c.current,m)||r(m,...h)),s||(c.current=m)};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,...g)=>{let v=f(s?c.current:h,...g);return b(v,...p),s?h:v})):(s||o(f),b(f,...p))},[s,r]);return s?c.current=e:e=n,[e,d]}function Iv(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 d=Math.pow(10,c);a=Math.round(a*d)/d}return a}const lo={prefix:String(Math.round(Math.random()*1e10)),current:0},Gs=l.createContext(lo);let Ov=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function Av(e){let t=l.useContext(Gs);return t===lo&&!Ov&&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 Nv(){let t=l.useContext(Gs)!==lo,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function qs(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=qs(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Ys(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=qs(e))&&(n&&(n+=" "),n+=t);return n}const rt=typeof window<"u"?l.useLayoutEffect:()=>{};function zv(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 Gr=new Map;function yt(e){let[t,r]=l.useState(e),n=l.useRef(null),o=Av(t),a=l.useCallback(i=>{n.current=i},[]);return Gr.set(o,a),rt(()=>{let i=o;return()=>{Gr.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function Lv(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 Xs(e=[]){let t=yt(),[r,n]=zv(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 Zs(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function Te(...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]=Zs(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Ys(a,i):o==="id"&&a&&i?t.id=Lv(a,i):t[o]=i!==void 0?i:a}}return t}const Mv=new Set(["id"]),Fv=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Vv=/^(data-.*)$/;function er(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(Mv.has(a)||r&&Fv.has(a)||n!=null&&n.has(a)||Vv.test(a))&&(o[a]=e[a]);return o}function Ot(e){if(jv())e.focus({preventScroll:!0});else{let t=Rv(e);e.focus(),Kv(t)}}let qr=null;function jv(){if(qr==null){qr=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return qr=!0,!0}})}catch{}}return qr}function Rv(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 Kv(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 Js(){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"?Js():document.addEventListener("DOMContentLoaded",Js));function Qs(e){requestAnimationFrame(()=>{At.size===0?e():co.add(e)})}function el(){let e=l.useRef(new Map),t=l.useCallback((o,a,i,s)=>{let c=s!=null&&s.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:o,fn:c,options:s}),o.addEventListener(a,i,s)},[]),r=l.useCallback((o,a,i,s)=>{var c;let d=((c=e.current.get(i))===null||c===void 0?void 0:c.fn)||i;o.removeEventListener(a,d,s),e.current.delete(i)},[]),n=l.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function Bv(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 tl(e,t){rt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}let Uv=0;const uo=new Map;function Wv(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-${Uv++}`;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 Hv(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 rl(){return fo(/^iPhone/i)}function nl(){return fo(/^iPad/i)||po()&&navigator.maxTouchPoints>1}function bo(){return rl()||nl()}function ol(){return Hv(/Android/i)}function Gv(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:ol()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function qv(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="",Yr=new WeakMap;function al(e){bo()?(Nt==="default"&&(ho=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),Nt="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Yr.set(e,e.style.userSelect),e.style.userSelect="none")}function Xr(e){if(bo()){if(Nt!=="disabled")return;Nt="restoring",setTimeout(()=>{Qs(()=>{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&&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 il=l.createContext(null);il.displayName="PressResponderContext";function Yv(e){let t=l.useContext(il);if(t){let{register:r,...n}=t;e=Te(n,e),r()}return tl(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:d,allowTextSelectionOnPress:f,ref:p,...b}=Yv(e),m=l.useRef(null);m.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,shouldCancelOnPointerExit:d};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:_}=el(),E=l.useMemo(()=>{let y=v.current,A=(k,H)=>{let{onPressStart:O,onPressChange:T,isDisabled:X}=m.current;X||y.didFirePressStart||(O&&O({type:"pressstart",pointerType:H,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,H,O=!0)=>{let{onPressEnd:T,onPressChange:X,onPress:ee,isDisabled:de}=m.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,T&&T({type:"pressend",pointerType:H,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),X&&X(!1),g(!1),ee&&O&&!de&&ee({type:"press",pointerType:H,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}))},P=(k,H)=>{let{onPressUp:O,isDisabled:T}=m.current;T||O&&O({type:"pressup",pointerType:H,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey})},N=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,_(),f||Xr(y.target))},F={onKeyDown(k){$o(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)?(ll(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),!y.isPressed&&!k.repeat&&(y.target=k.currentTarget,y.isPressed=!0,A(k,"keyboard"),$(document,"keyup",G,!1))):k.key==="Enter"&&yo(k.currentTarget)&&k.stopPropagation()},onKeyUp(k){$o(k.nativeEvent,k.currentTarget)&&!k.repeat&&k.currentTarget.contains(k.target)&&P(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"),P(k,"virtual"),L(k,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},G=k=>{if(y.isPressed&&$o(k,y.target)){ll(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),y.isPressed=!1;let H=k.target;L(Xe(y.target,k),"keyboard",y.target.contains(H)),_(),y.target instanceof HTMLElement&&y.target.contains(H)&&(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(qv(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),f||al(y.target),A(T,y.pointerType),$(document,"pointermove",k,!1),$(document,"pointerup",H,!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)&&P(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&&N(T)))},H=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,_(),f||Xr(y.target))},O=T=>{N(T)};F.onDragStart=T=>{T.currentTarget.contains(T.target)&&N(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&&N(O)))},F.onMouseUp=O=>{O.currentTarget.contains(O.target)&&!y.ignoreEmulatedMouseEvents&&O.button===0&&P(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=Xv(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),f||al(y.target),A(O,y.pointerType),$(window,"scroll",H,!0))},F.onTouchMove=O=>{if(!O.currentTarget.contains(O.target)||(O.stopPropagation(),!y.isPressed))return;let T=sl(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&&N(O))},F.onTouchEnd=O=>{if(!O.currentTarget.contains(O.target)||(O.stopPropagation(),!y.isPressed))return;let T=sl(O.nativeEvent,y.activePointerId);T&&zt(T,O.currentTarget)?(P(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,f||Xr(y.target),_()},F.onTouchCancel=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),y.isPressed&&N(O))};let H=O=>{y.isPressed&&O.target.contains(y.target)&&N({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=O=>{O.currentTarget.contains(O.target)&&N(O)}}return F},[$,i,c,_,f]);return l.useEffect(()=>()=>{f||Xr(v.current.target)},[f]),{isPressed:s||h,pressProps:Te(b,E)}}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&&!cl(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!yo(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function Xv(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function sl(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 Zv(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 Jv(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=Zv(e);return Jv(r,n)}function _o(e){return!(e instanceof HTMLElement)||!e.draggable}function ll(e,t){return e instanceof HTMLInputElement?!cl(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const Qv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function cl(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Qv.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 ul(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 e0("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=ul(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,dl=!1,$t=!1,Eo=!1;const t0={Tab:!0,Escape:!0};function wo(e,t){for(let r of tr)r(e,t)}function r0(e){return!(e.metaKey||!po()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function fl(e){$t=!0,r0(e)&&(ot="keyboard",wo("keyboard",e))}function Lt(e){ot="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&($t=!0,wo("pointer",e))}function n0(e){mo(e)&&($t=!0,ot="virtual")}function o0(e){e.target===window||e.target===document||(!$t&&!Eo&&(ot="virtual",wo("virtual",e)),$t=!1,Eo=!1)}function a0(){$t=!1,Eo=!0}function Zr(){if(typeof window>"u"||dl)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){$t=!0,e.apply(this,arguments)},document.addEventListener("keydown",fl,!0),document.addEventListener("keyup",fl,!0),document.addEventListener("click",n0,!0),window.addEventListener("focus",o0,!0),window.addEventListener("blur",a0,!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)),dl=!0}typeof document<"u"&&(document.readyState!=="loading"?Zr():document.addEventListener("DOMContentLoaded",Zr));function pl(){return ot!=="pointer"}function i0(){return ot}function s0(){Zr();let[e,t]=l.useState(ot);return l.useEffect(()=>{let r=()=>{t(ot)};return tr.add(r),()=>{tr.delete(r)}},[]),e}function l0(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!t0[r.key])}function c0(e,t,r){Zr(),l.useEffect(()=>{let n=(o,a)=>{l0(r==null?void 0:r.isTextInput,o,a)&&e(pl())};return tr.add(n),()=>{tr.delete(n)}},t)}function bl(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=l.useRef({isFocusWithin:!1}),i=l.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(d),o&&o(!1))},[r,o,a]),s=ul(i),c=l.useCallback(d=>{a.current.isFocusWithin||(n&&n(d),o&&o(!0),a.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:i}}}function ml(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 u0(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:ml(e.onKeyDown),onKeyUp:ml(e.onKeyUp)}}}function d0(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]);Gv(t,"wheel",n?null:o)}function f0(e){if(i0()==="virtual"){let t=document.activeElement;Qs(()=>{document.activeElement===t&&document.contains(e)&&Ot(e)})}else Ot(e)}function p0(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 gl({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&&p0(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 gl({scopeRef:null}),this.fastMap.set(null,this.root)}}class gl{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 Jr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||pl()}),[a,i]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),f=l.useCallback(m=>{o.current.isFocused=m,i(m),d()},[d]);c0(m=>{o.current.isFocusVisible=m,d()},[],{isTextInput:r});let{focusProps:p}=xo({isDisabled:n,onFocusChange:f}),{focusWithinProps:b}=bl({isDisabled:!n,onFocusWithinChange:f});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?b:p}}let b0=l.createContext(null);function m0(e){let t=l.useContext(b0)||{};tl(t,e);let{ref:r,...n}=t;return n}function So(e,t){let{focusProps:r}=xo(e),{keyboardProps:n}=u0(e),o=Te(r,n),a=m0(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&f0(t.current),s.current=!1},[t]),{focusableProps:Te({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function g0(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...c}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:f}=So(e,t),{pressProps:p,isPressed:b}=vo({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),m=er(c,{labelable:!0}),h=Te(f,p);return{isPressed:b,linkProps:Te(m,{...h,...d,"aria-disabled":s||void 0,onClick:g=>{p.onClick(g),i&&(i(g),console.warn("onClick is deprecated, please use onPress"))}})}}class h0{getStringForLocale(t,r){let n=this.strings[r];n||(n=v0(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 v0(e,t,r="en-US"){if(t[e])return t[e];let n=y0(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function y0(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const hl=new Map,vl=new Map;class $0{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=hl.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),hl.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=vl.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),vl.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 Qr=!1;try{Qr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const yl={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Co{format(t){let r="";if(!Po&&this.options.signDisplay!=null?r=x0(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Qr){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=yl[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}),!Qr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=_0(t,r),this.options=r}}function _0(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:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=yl[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 x0(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 E0=new RegExp("^.*\\(.*\\).*$"),w0=["latn","arab","hanidec"];class T0{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 $l=new Map;function Do(e,t,r){let n=_l(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of w0)if(o!==n.options.numberingSystem){let a=_l(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function _l(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=$l.get(r);return n||(n=new S0(e,t),$l.set(r,n)),n}class S0{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"&&E0.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=k0(this.formatter,this.options,r)}}const xl=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function k0(e,t,r){var n,o,a,i;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),d=e.formatToParts(1);var f;let p=(f=(n=s.find(P=>P.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:"-",b=(o=c.find(P=>P.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(P=>P.type==="decimal"))===null||a===void 0?void 0:a.value,h=(i=s.find(P=>P.type==="group"))===null||i===void 0?void 0:i.value,g=s.filter(P=>!xl.has(P.type)).map(P=>El(P.value)),v=d.filter(P=>!xl.has(P.type)).map(P=>El(P.value)),$=[...new Set([...v,...g])].sort((P,N)=>N.length-P.length),_=$.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${$.join("|")}|[\\p{White_Space}]`,"gu"),E=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),y=new Map(E.map((P,N)=>[P,N])),A=new RegExp(`[${E.join("")}]`,"g");return{minusSign:p,plusSign:b,decimal:m,group:h,literals:_,numeral:A,index:P=>String(y.get(P))}}function en(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function El(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const P0=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),C0=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function D0(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return P0.has(r)}let t=e.split("-")[0];return C0.has(t)}function wl(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:D0(e)?"rtl":"ltr"}}let Io=wl(),rr=new Set;function Tl(){Io=wl();for(let e of rr)e(Io)}function I0(){let e=Nv(),[t,r]=l.useState(Io);return l.useEffect(()=>(rr.size===0&&window.addEventListener("languagechange",Tl),rr.add(r),()=>{rr.delete(r),rr.size===0&&window.removeEventListener("languagechange",Tl)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const O0=l.createContext(null);function Sl(){let e=I0();return l.useContext(O0)||e}const kl=new WeakMap;function A0(e){let t=kl.get(e);return t||(t=new h0(e),kl.set(e,t)),t}function nr(e){let{locale:t}=Sl(),r=l.useMemo(()=>A0(e),[e]);return l.useMemo(()=>new $0(t,r),[t,r])}function N0(e={}){let{locale:t}=Sl();return l.useMemo(()=>new Co(t,e),[t,e])}function z0(e){return e&&e.__esModule?e.default:e}function L0(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=g0({isDisabled:n||r,elementType:a,...i},t),c=/^h[1-6]$/.test(a),d={};return c||(d=s),r&&(d["aria-current"]=o||"page",d.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...d}}}var Pl={},Cl={};Cl={breadcrumbs:"عناصر الواجهة"};var Dl={};Dl={breadcrumbs:"Трохи хляб"};var Il={};Il={breadcrumbs:"Popis cesty"};var Ol={};Ol={breadcrumbs:"Brødkrummer"};var Al={};Al={breadcrumbs:"Breadcrumbs"};var Nl={};Nl={breadcrumbs:"Πλοηγήσεις breadcrumb"};var zl={};zl={breadcrumbs:"Breadcrumbs"};var Ll={};Ll={breadcrumbs:"Migas de pan"};var Ml={};Ml={breadcrumbs:"Lingiread"};var Fl={};Fl={breadcrumbs:"Navigointilinkit"};var Vl={};Vl={breadcrumbs:"Chemin de navigation"};var jl={};jl={breadcrumbs:"שבילי ניווט"};var Rl={};Rl={breadcrumbs:"Navigacijski putovi"};var Kl={};Kl={breadcrumbs:"Morzsamenü"};var Bl={};Bl={breadcrumbs:"Breadcrumb"};var Ul={};Ul={breadcrumbs:"パンくずリスト"};var Wl={};Wl={breadcrumbs:"탐색 표시"};var Hl={};Hl={breadcrumbs:"Naršymo kelias"};var Gl={};Gl={breadcrumbs:"Atpakaļceļi"};var ql={};ql={breadcrumbs:"Navigasjonsstier"};var Yl={};Yl={breadcrumbs:"Broodkruimels"};var Xl={};Xl={breadcrumbs:"Struktura nawigacyjna"};var Zl={};Zl={breadcrumbs:"Caminho detalhado"};var Jl={};Jl={breadcrumbs:"Categorias"};var Ql={};Ql={breadcrumbs:"Miez de pâine"};var ec={};ec={breadcrumbs:"Навигация"};var tc={};tc={breadcrumbs:"Navigačné prvky Breadcrumbs"};var rc={};rc={breadcrumbs:"Drobtine"};var nc={};nc={breadcrumbs:"Putanje navigacije"};var oc={};oc={breadcrumbs:"Sökvägar"};var ac={};ac={breadcrumbs:"İçerik haritaları"};var ic={};ic={breadcrumbs:"Навігаційна стежка"};var sc={};sc={breadcrumbs:"导航栏"};var lc={};lc={breadcrumbs:"導覽列"},Pl={"ar-AE":Cl,"bg-BG":Dl,"cs-CZ":Il,"da-DK":Ol,"de-DE":Al,"el-GR":Nl,"en-US":zl,"es-ES":Ll,"et-EE":Ml,"fi-FI":Fl,"fr-FR":Vl,"he-IL":jl,"hr-HR":Rl,"hu-HU":Kl,"it-IT":Bl,"ja-JP":Ul,"ko-KR":Wl,"lt-LT":Hl,"lv-LV":Gl,"nb-NO":ql,"nl-NL":Yl,"pl-PL":Xl,"pt-BR":Zl,"pt-PT":Jl,"ro-RO":Ql,"ru-RU":ec,"sk-SK":tc,"sl-SI":rc,"sr-SP":nc,"sv-SE":oc,"tr-TR":ac,"uk-UA":ic,"zh-CN":sc,"zh-TW":lc};function M0(e){let{"aria-label":t,...r}=e,n=nr(z0(Pl));return{navProps:{...er(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const F0=D(Cv)`
|
|
205
|
+
`,Ih=ih,Oh=sh,Ah=dh,Nh=fh,Lr=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}}))),gs=Lr,zh=({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(gs,null,t))};function er({children:e,label:t}){return k(zh,{label:t,children:e})}function bt(e){return e.split("-")[0]}function tr(e){return e.split("-")[1]}function It(e){return["top","bottom"].includes(bt(e))?"x":"y"}function to(e){return e==="y"?"height":"width"}function hs(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),d=n[c]/2-o[c]/2,f=bt(t),p=s==="x";let m;switch(f){case"top":m={x:a,y:n.y-o.height};break;case"bottom":m={x:a,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:i};break;case"left":m={x:n.x-o.width,y:i};break;default:m={x:n.x,y:n.y}}switch(tr(t)){case"start":m[s]-=d*(r&&p?-1:1);break;case"end":m[s]+=d*(r&&p?-1:1);break}return m}const Lh=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: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 i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=hs(c,n,s),p=n,m={},g=0;for(let h=0;h<a.length;h++){const{name:b,fn:v}=a[h],{x:_,y:$,data:w,reset:y}=await v({x:d,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:m,rects:c,platform:i,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 i.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:f}=hs(c,p,s)),h=-1;continue}}return{x:d,y:f,placement:p,strategy:o,middlewareData:m}};function Mh(e){return{top:0,right:0,bottom:0,left:0,...e}}function vs(e){return typeof e!="number"?Mh(e):{top:e,right:e,bottom:e,left:e}}function Mr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function rr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=t,h=vs(g),v=s[m?p==="floating"?"reference":"floating":p],_=Mr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(v)))==null||r?v:v.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:d,rootBoundary:f,strategy:c})),$=Mr(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 Fh=Math.min,gt=Math.max;function ro(e,t,r){return gt(e,Fh(t,r))}const ys=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e??{},{x:o,y:a,placement:i,rects:s,platform:c}=t;if(r==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const d=vs(n),f={x:o,y:a},p=It(i),m=tr(i),g=to(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=ro(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}}}}),Vh={left:"right",right:"left",bottom:"top",top:"bottom"};function Fr(e){return e.replace(/left|right|bottom|top/g,t=>Vh[t])}function jh(e,t,r){r===void 0&&(r=!1);const n=tr(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=Fr(i)),{main:i,cross:Fr(i)}}const Rh={start:"end",end:"start"};function $s(e){return e.replace(/start|end/g,t=>Rh[t])}const Kh=["top","right","bottom","left"];function Bh(e){const t=Fr(e);return[$s(e),t,$s(t)]}const Wh=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:a,initialPlacement:i,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",flipAlignment:g=!0,...h}=e,b=bt(n),_=p||(b===i||!g?[Fr(i)]:Bh(i)),$=[i,..._],w=await rr(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}=jh(n,a,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 T="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&&(T=Y);break}case"initialPlacement":T=i;break}if(n!==T)return{reset:{placement:T}}}return{}}}};function _s(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function xs(e){return Kh.some(t=>e[t]>=0)}const Uh=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 rr(n,{...r,elementContext:"reference"}),i=_s(a,o.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:xs(i)}}}case"escaped":{const a=await rr(n,{...r,altBoundary:!0}),i=_s(a,o.floating);return{data:{escapedOffsets:i,escaped:xs(i)}}}default:return{}}}}};async function Hh(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=bt(r),s=tr(r),c=It(r)==="x",d=["left","top"].includes(i)?-1:1,f=a&&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 Gh=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await Hh(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function ws(e){return e==="x"?"y":"x"}const qh=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:v=>{let{x:_,y:$}=v;return{x:_,y:$}}},...c}=e,d={x:r,y:n},f=await rr(t,c),p=It(bt(o)),m=ws(p);let g=d[p],h=d[m];if(a){const v=p==="y"?"top":"left",_=p==="y"?"bottom":"right",$=g+f[v],w=g-f[_];g=ro($,g,w)}if(i){const v=m==="y"?"top":"left",_=m==="y"?"bottom":"right",$=h+f[v],w=h-f[_];h=ro($,h,w)}const b=s.fn({...t,[p]:g,[m]:h});return{...b,data:{x:b.x-r,y:b.y-n}}}}},Yh=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:c=!0,crossAxis:d=!0}=e,f={x:r,y:n},p=It(o),m=ws(p);let g=f[p],h=f[m];const b=typeof s=="function"?s({...a,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=a.reference[p]-a.floating[O]+v.mainAxis,I=a.reference[p]+a.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=a.reference[m]-a.floating[O]+(M&&(_=($=i.offset)==null?void 0:$[m])!=null?_:0)+(M?0:v.crossAxis),A=a.reference[m]+a.reference[O]+(M?0:(w=(y=i.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}}}},Xh=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i,...s}=e,c=await rr(t,s),d=bt(r),f=tr(r);let p,m;d==="top"||d==="bottom"?(p=d,m=f===(await(o.isRTL==null?void 0:o.isRTL(a.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(a.floating);i==null||i({...t,..._});const w=await o.getDimensions(a.floating);return $.width!==w.width||$.height!==w.height?{reset:{rects:!0}}:{}}}};function Es(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Ye(e){if(e==null)return window;if(!Es(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function nr(e){return Ye(e).getComputedStyle(e)}function Xe(e){return Es(e)?"":e?(e.nodeName||"").toLowerCase():""}function Ss(){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 rt(e){return e instanceof Ye(e).Element}function Zh(e){return e instanceof Ye(e).Node}function no(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}=nr(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function Jh(e){return["table","td","th"].includes(Xe(e))}function Ts(e){const t=/firefox/i.test(Ss()),r=nr(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 ks(){return!/^((?!chrome|android).)*safari/i.test(Ss())}const Ps=Math.min,or=Math.max,jr=Math.round;function Ze(e,t,r){var n,o,a,i;t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect();let c=1,d=1;t&&Be(e)&&(c=e.offsetWidth>0&&jr(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&jr(s.height)/e.offsetHeight||1);const f=rt(e)?Ye(e):window,p=!ks()&&r,m=(s.left+(p&&(n=(o=f.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,g=(s.top+(p&&(a=(i=f.visualViewport)==null?void 0:i.offsetTop)!=null?a: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 nt(e){return((Zh(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rr(e){return rt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Cs(e){return Ze(nt(e)).left+Rr(e).scrollLeft}function Qh(e){const t=Ze(e);return jr(t.width)!==e.offsetWidth||jr(t.height)!==e.offsetHeight}function ev(e,t,r){const n=Be(t),o=nt(t),a=Ze(e,n&&Qh(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((Xe(t)!=="body"||Vr(o))&&(i=Rr(t)),Be(t)){const c=Ze(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=Cs(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function Ds(e){return Xe(e)==="html"?e:e.assignedSlot||e.parentNode||(no(e)?e.host:null)||nt(e)}function Is(e){return!Be(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function tv(e){let t=Ds(e);for(no(t)&&(t=t.host);Be(t)&&!["html","body"].includes(Xe(t));){if(Ts(t))return t;t=t.parentNode}return null}function oo(e){const t=Ye(e);let r=Is(e);for(;r&&Jh(r)&&getComputedStyle(r).position==="static";)r=Is(r);return r&&(Xe(r)==="html"||Xe(r)==="body"&&getComputedStyle(r).position==="static"&&!Ts(r))?t:r||tv(e)||t}function Os(e){if(Be(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ze(e);return{width:t.width,height:t.height}}function rv(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Be(r),a=nt(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((Xe(r)!=="body"||Vr(a))&&(i=Rr(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-i.scrollLeft+s.x,y:t.y-i.scrollTop+s.y}}function nv(e,t){const r=Ye(e),n=nt(e),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,s=0,c=0;if(o){a=o.width,i=o.height;const d=ks();(d||!d&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:a,height:i,x:s,y:c}}function ov(e){var t;const r=nt(e),n=Rr(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=or(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=or(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-n.scrollLeft+Cs(e);const c=-n.scrollTop;return nr(o||r).direction==="rtl"&&(s+=or(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:c}}function As(e){const t=Ds(e);return["html","body","#document"].includes(Xe(t))?e.ownerDocument.body:Be(t)&&Vr(t)?t:As(t)}function Kr(e,t){var r;t===void 0&&(t=[]);const n=As(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Ye(n),i=o?[a].concat(a.visualViewport||[],Vr(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(Kr(i))}function av(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 iv(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 Ns(e,t,r){return t==="viewport"?Mr(nv(e,r)):rt(t)?iv(t,r):Mr(ov(nt(e)))}function sv(e){const t=Kr(e),n=["absolute","fixed"].includes(nr(e).position)&&Be(e)?oo(e):e;return rt(n)?t.filter(o=>rt(o)&&av(o,n)&&Xe(o)!=="body"):[]}function lv(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?sv(t):[].concat(r),n],s=i[0],c=i.reduce((d,f)=>{const p=Ns(t,f,o);return d.top=or(p.top,d.top),d.right=Ps(p.right,d.right),d.bottom=Ps(p.bottom,d.bottom),d.left=or(p.left,d.left),d},Ns(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}const cv={getClippingRect:lv,convertOffsetParentRelativeRectToViewportRelativeRect:rv,isElement:rt,getDimensions:Os,getOffsetParent:oo,getDocumentElement:nt,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:ev(t,oo(r),n),floating:{...Os(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>nr(e).direction==="rtl"};function uv(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:s=!1}=n,c=o&&!s,d=a&&!s,f=c||d?[...rt(e)?Kr(e):[],...Kr(t)]:[];f.forEach(b=>{c&&b.addEventListener("scroll",r,{passive:!0}),d&&b.addEventListener("resize",r)});let p=null;if(i){let b=!0;p=new ResizeObserver(()=>{b||r(),b=!1}),rt(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 dv=(e,t,r)=>Lh(e,t,{platform:cv,...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 fv(e){const t=B.useRef(e);return ao(()=>{t.current=e}),t}function pv(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=fv(o),c=B.useRef(null),[d,f]=B.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,m]=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}))||m(t);const g=B.useCallback(()=>{!a.current||!i.current||dv(a.current,i.current,{middleware:p,placement:r,strategy:n}).then(w=>{h.current&&Pi.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),a.current&&i.current)if(s.current){const w=s.current(a.current,i.current,g);c.current=w}else g()},[g,s]),v=B.useCallback(w=>{a.current=w,b()},[b]),_=B.useCallback(w=>{i.current=w,b()},[b]),$=B.useMemo(()=>({reference:a,floating:i}),[]);return B.useMemo(()=>({...d,update:g,refs:$,reference:v,floating:_}),[d,g,$,v,_])}const mv=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?ys({element:t.current,padding:r}).fn(o):{}:t?ys({element:t,padding:r}).fn(o):{}}}},bv=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(re.svg,E({},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 Br(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,d=Array.isArray(c)?c[0]:c;i=d.inlineSize,s=d.blockSize}else i=e.offsetWidth,s=e.offsetHeight;r({width:i,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const zs="Popper",[so,Ot]=ke(zs),[gv,Ls]=so(zs),hv=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(gv,{scope:t,anchor:n,onAnchorChange:o},r)},vv="PopperAnchor",yv=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Ls(vv,r),i=l.useRef(null),s=de(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(re.div,E({},o,{ref:s}))}),Wr="PopperContent",[$v,_v]=so(Wr),[xv,wv]=so(Wr,{hasParent:!1,positionUpdateFns:new Set}),Ev=l.forwardRef((e,t)=>{var r,n,o,a,i,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=Ls(Wr,f),[A,L]=l.useState(null),J=de(t,Me=>L(Me)),[T,Y]=l.useState(null),C=Br(T),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,ie=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,N={padding:ue,boundary:he.filter(Cv),altBoundary:te},{reference:j,floating:H,strategy:X,x:q,y:se,placement:ee,middlewareData:V,update:K}=pv({strategy:"fixed",placement:ie,whileElementsMounted:uv,middleware:[Dv(),Gh({mainAxis:m+U,alignmentAxis:h}),y?qh({mainAxis:!0,crossAxis:!1,limiter:$==="partial"?Yh():void 0,...N}):void 0,T?mv({element:T,padding:b}):void 0,y?Wh({...N}):void 0,Xh({...N,apply:({elements:Me,availableWidth:Ie,availableHeight:xi})=>{Me.floating.style.setProperty("--radix-popper-available-width",`${Ie}px`),Me.floating.style.setProperty("--radix-popper-available-height",`${xi}px`)}}),Iv({arrowWidth:S,arrowHeight:U}),w?Uh({strategy:"referenceHidden"}):void 0].filter(Pv)});xe(()=>{j(I.anchor)},[j,I.anchor]);const Z=q!==null&&se!==null,[W,ne]=Ms(ee),Q=Pe(O);xe(()=>{Z&&(Q==null||Q())},[Z,Q]);const ye=(o=V.arrow)===null||o===void 0?void 0:o.x,we=(a=V.arrow)===null||a===void 0?void 0:a.y,Ne=((i=V.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[De,ze]=l.useState();xe(()=>{A&&ze(window.getComputedStyle(A).zIndex)},[A]);const{hasParent:Le,positionUpdateFns:Ce}=wv(Wr,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 Gt={"data-side":W,"data-align":ne,...M,ref:J,style:{...M.style,animation:Z?void 0:"none",opacity:(s=V.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=V.transformOrigin)===null||c===void 0?void 0:c.x,(d=V.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},l.createElement($v,{scope:f,placedSide:W,onArrowChange:Y,arrowX:ye,arrowY:we,shouldHideArrow:Ne},Ge?l.createElement(xv,{scope:f,hasParent:!0,positionUpdateFns:Ce},l.createElement(re.div,Gt)):l.createElement(re.div,Gt)))}),Sv="PopperArrow",Tv={top:"bottom",right:"left",bottom:"top",left:"right"},kv=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=_v(Sv,n),i=Tv[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(bv,E({},o,{ref:r,style:{...o.style,display:"block"}})))});function Pv(e){return e!==void 0}function Cv(e){return e!==null}const Dv=()=>({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`),{}}}),Iv=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,p=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,m=p?0:e.arrowWidth,g=p?0:e.arrowHeight,[h,b]=Ms(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,$=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a: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 Ms(e){const[t,r="center"]=e.split("-");return[t,r]}const lo=hv,co=yv,uo=Ev,Fs=kv,Vs="Popover",[js,ck]=ke(Vs,[Ot]),Ur=Ot(),[Ov,ht]=js(Vs),Rs=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=Ur(t),c=l.useRef(null),[d,f]=l.useState(!1),[p=!1,m]=Ve({prop:n,defaultProp:o,onChange:a});return l.createElement(lo,s,l.createElement(Ov,{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:i},r))},Av="PopoverTrigger",Ks=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(Av,r),a=Ur(r),i=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":Hs(o.open)},n,{ref:i,onClick:G(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(co,E({asChild:!0},a),s)}),Bs="PopoverPortal",[Nv,zv]=js(Bs,{forceMount:void 0}),Lv=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=ht(Bs,t);return l.createElement(Nv,{scope:t,forceMount:r},l.createElement(Oe,{present:r||a.open},l.createElement(Qt,{asChild:!0,container:o},n)))},ar="PopoverContent",Ws=l.forwardRef((e,t)=>{const r=zv(ar,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=ht(ar,e.__scopePopover);return l.createElement(Oe,{present:n||a.open},a.modal?l.createElement(Mv,E({},o,{ref:t})):l.createElement(Fv,E({},o,{ref:t})))}),Mv=l.forwardRef((e,t)=>{const r=ht(ar,e.__scopePopover),n=l.useRef(null),o=de(t,n),a=l.useRef(!1);return l.useEffect(()=>{const i=n.current;if(i)return qn(i)},[]),l.createElement(Hn,{as:pt,allowPinchZoom:!0},l.createElement(Us,E({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:G(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:G(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,d=s.button===2||c;a.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:G(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),Fv=l.forwardRef((e,t)=>{const r=ht(ar,e.__scopePopover),n=l.useRef(!1);return l.createElement(Us,E({},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()}}))}),Us=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...p}=e,m=ht(ar,r),g=Ur(r);return Kn(),l.createElement(jn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(Jt,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1)},l.createElement(uo,E({"data-state":Hs(m.open),role:"dialog",id:m.contentId},g,p,{ref:t,style:{...p.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),Vv="PopoverClose",jv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(Vv,r);return l.createElement(re.button,E({type:"button"},n,{ref:t,onClick:G(e.onClick,()=>o.onOpenChange(!1))}))}),Rv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ur(r);return l.createElement(Fs,E({},o,n,{ref:t}))});function Hs(e){return e?"open":"closed"}const Kv=Rs,Bv=Ks,Wv=Lv,Uv=Ws,Gs=jv,Hv=Rv;function qs(e,t,r){let[n,o]=l.useState(e||t),a=l.useRef(e!==void 0),i=a.current,s=e!==void 0,c=l.useRef(n);i!==s&&console.warn(`WARN: A component changed from ${i?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s;let d=l.useCallback((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 Gv(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 d=Math.pow(10,c);a=Math.round(a*d)/d}return a}const fo={prefix:String(Math.round(Math.random()*1e10)),current:0},Ys=l.createContext(fo);let qv=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function Yv(e){let t=l.useContext(Ys);return t===fo&&!qv&&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 Xv(){let t=l.useContext(Ys)!==fo,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function Xs(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=Xs(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Zs(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Xs(e))&&(n&&(n+=" "),n+=t);return n}const ot=typeof window<"u"?l.useLayoutEffect:()=>{};function Zv(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)},ot(()=>{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=Yv(t),a=l.useCallback(i=>{n.current=i},[]);return Hr.set(o,a),ot(()=>{let i=o;return()=>{Hr.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function Jv(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 Js(e=[]){let t=yt(),[r,n]=Zv(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return ot(o,[t,o,...e]),r}function Qs(...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 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]=Qs(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Zs(a,i):o==="id"&&a&&i?t.id=Jv(a,i):t[o]=i!==void 0?i:a}}return t}const Qv=new Set(["id"]),e0=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),t0=/^(data-.*)$/;function ir(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(Qv.has(a)||r&&e0.has(a)||n!=null&&n.has(a)||t0.test(a))&&(o[a]=e[a]);return o}function At(e){if(r0())e.focus({preventScroll:!0});else{let t=n0(e);e.focus(),o0(t)}}let Gr=null;function r0(){if(Gr==null){Gr=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Gr=!0,!0}})}catch{}}return Gr}function n0(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 o0(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let Nt=new Map,po=new Set;function el(){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 po)o();po.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?el():document.addEventListener("DOMContentLoaded",el));function tl(e){requestAnimationFrame(()=>{Nt.size===0?e():po.add(e)})}function rl(){let e=l.useRef(new Map),t=l.useCallback((o,a,i,s)=>{let c=s!=null&&s.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:o,fn:c,options:s}),o.addEventListener(a,i,s)},[]),r=l.useCallback((o,a,i,s)=>{var c;let d=((c=e.current.get(i))===null||c===void 0?void 0:c.fn)||i;o.removeEventListener(a,d,s),e.current.delete(i)},[]),n=l.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function a0(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 at(e){const t=l.useRef();return ot(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function nl(e,t){ot(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}let i0=0;const mo=new Map;function s0(e){let[t,r]=l.useState(void 0);return ot(()=>{if(!e)return;let n=mo.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${i0++}`;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},mo.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),mo.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function l0(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 bo(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 go(){return bo(/^Mac/i)}function ol(){return bo(/^iPhone/i)}function al(){return bo(/^iPad/i)||go()&&navigator.maxTouchPoints>1}function ho(){return ol()||al()}function il(){return l0(/Android/i)}function c0(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 vo(e){return e.mozInputSource===0&&e.isTrusted?!0:il()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function u0(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function yo(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="",qr=new WeakMap;function sl(e){ho()?(zt==="default"&&($o=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),zt="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(qr.set(e,e.style.userSelect),e.style.userSelect="none")}function Yr(e){if(ho()){if(zt!=="disabled")return;zt="restoring",setTimeout(()=>{tl(()=>{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&&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 ll=l.createContext(null);ll.displayName="PressResponderContext";function d0(e){let t=l.useContext(ll);if(t){let{register:r,...n}=t;e=Se(n,e),r()}return nl(t,e.ref),e}function _o(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...m}=d0(e),g=l.useRef(null);g.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,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:$}=rl(),w=l.useMemo(()=>{let y=v.current,O=(T,Y)=>{let{onPressStart:C,onPressChange:S,isDisabled:U}=g.current;U||y.didFirePressStart||(C&&C({type:"pressstart",pointerType:Y,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey}),S&&S(!0),y.didFirePressStart=!0,b(!0))},M=(T,Y,C=!0)=>{let{onPressEnd:S,onPressChange:U,onPress:ie,isDisabled:ue}=g.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,S&&S({type:"pressend",pointerType:Y,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey}),U&&U(!1),b(!1),ie&&C&&!ue&&ie({type:"press",pointerType:Y,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey}))},I=(T,Y)=>{let{onPressUp:C,isDisabled:S}=g.current;S||C&&C({type:"pressup",pointerType:Y,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey})},A=T=>{y.isPressed&&(y.isOverTarget&&M(Je(y.target,T),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,$(),f||Yr(y.target))},L={onKeyDown(T){wo(T.nativeEvent,T.currentTarget)&&T.currentTarget.contains(T.target)?(ul(T.target,T.key)&&T.preventDefault(),T.stopPropagation(),!y.isPressed&&!T.repeat&&(y.target=T.currentTarget,y.isPressed=!0,O(T,"keyboard"),_(document,"keyup",J,!1))):T.key==="Enter"&&xo(T.currentTarget)&&T.stopPropagation()},onKeyUp(T){wo(T.nativeEvent,T.currentTarget)&&!T.repeat&&T.currentTarget.contains(T.target)&&I(Je(y.target,T),"keyboard")},onClick(T){T&&!T.currentTarget.contains(T.target)||T&&T.button===0&&(T.stopPropagation(),i&&T.preventDefault(),!y.ignoreClickAfterPress&&!y.ignoreEmulatedMouseEvents&&(y.pointerType==="virtual"||vo(T.nativeEvent))&&(!i&&!c&&At(T.currentTarget),O(T,"virtual"),I(T,"virtual"),M(T,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},J=T=>{if(y.isPressed&&wo(T,y.target)){ul(T.target,T.key)&&T.preventDefault(),T.stopPropagation(),y.isPressed=!1;let Y=T.target;M(Je(y.target,T),"keyboard",y.target.contains(Y)),$(),y.target instanceof HTMLElement&&y.target.contains(Y)&&(xo(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(u0(S.nativeEvent)){y.pointerType="virtual";return}Eo(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,!i&&!c&&At(S.currentTarget),f||sl(y.target),O(S,y.pointerType),_(document,"pointermove",T,!1),_(document,"pointerup",Y,!1),_(document,"pointercancel",C,!1))}},L.onMouseDown=S=>{S.currentTarget.contains(S.target)&&S.button===0&&(Eo(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 T=S=>{S.pointerId===y.activePointerId&&(Lt(S,y.target)?y.isOverTarget||(y.isOverTarget=!0,O(Je(y.target,S),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,M(Je(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(Je(y.target,S),y.pointerType):y.isOverTarget&&M(Je(y.target,S),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,$(),f||Yr(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)||(Eo(C.currentTarget)&&C.preventDefault(),C.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=C.currentTarget,y.pointerType=vo(C.nativeEvent)?"virtual":"mouse",!i&&!c&&At(C.currentTarget),O(C,y.pointerType),_(document,"mouseup",T,!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 T=C=>{if(C.button===0){if(y.isPressed=!1,$(),y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}Lt(C,y.target)?M(Je(y.target,C),y.pointerType):y.isOverTarget&&M(Je(y.target,C),y.pointerType,!1),y.isOverTarget=!1}};L.onTouchStart=C=>{if(!C.currentTarget.contains(C.target))return;C.stopPropagation();let S=f0(C.nativeEvent);S&&(y.activePointerId=S.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=C.currentTarget,y.pointerType="touch",!i&&!c&&At(C.currentTarget),f||sl(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=cl(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=cl(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||Yr(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},[_,i,c,$,f]);return l.useEffect(()=>()=>{f||Yr(v.current.target)},[f]),{isPressed:s||h,pressProps:Se(m,w)}}function xo(e){return e.tagName==="A"&&e.hasAttribute("href")}function wo(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&&!dl(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!xo(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function f0(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function cl(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 Je(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function p0(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 m0(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=p0(e);return m0(r,n)}function Eo(e){return!(e instanceof HTMLElement)||!e.draggable}function ul(e,t){return e instanceof HTMLInputElement?!dl(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const b0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function dl(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":b0.has(e.type)}class g0{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 fl(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,ot(()=>{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 g0("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 So(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=fl(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 it=null,sr=new Set,pl=!1,$t=!1,To=!1;const h0={Tab:!0,Escape:!0};function ko(e,t){for(let r of sr)r(e,t)}function v0(e){return!(e.metaKey||!go()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function ml(e){$t=!0,v0(e)&&(it="keyboard",ko("keyboard",e))}function Mt(e){it="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&($t=!0,ko("pointer",e))}function y0(e){vo(e)&&($t=!0,it="virtual")}function $0(e){e.target===window||e.target===document||(!$t&&!To&&(it="virtual",ko("virtual",e)),$t=!1,To=!1)}function _0(){$t=!1,To=!0}function Xr(){if(typeof window>"u"||pl)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){$t=!0,e.apply(this,arguments)},document.addEventListener("keydown",ml,!0),document.addEventListener("keyup",ml,!0),document.addEventListener("click",y0,!0),window.addEventListener("focus",$0,!0),window.addEventListener("blur",_0,!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)),pl=!0}typeof document<"u"&&(document.readyState!=="loading"?Xr():document.addEventListener("DOMContentLoaded",Xr));function bl(){return it!=="pointer"}function x0(){return it}function w0(){Xr();let[e,t]=l.useState(it);return l.useEffect(()=>{let r=()=>{t(it)};return sr.add(r),()=>{sr.delete(r)}},[]),e}function E0(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!h0[r.key])}function S0(e,t,r){Xr(),l.useEffect(()=>{let n=(o,a)=>{E0(r==null?void 0:r.isTextInput,o,a)&&e(bl())};return sr.add(n),()=>{sr.delete(n)}},t)}function gl(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=l.useRef({isFocusWithin:!1}),i=l.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(d),o&&o(!1))},[r,o,a]),s=fl(i),c=l.useCallback(d=>{a.current.isFocusWithin||(n&&n(d),o&&o(!0),a.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:i}}}function hl(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 T0(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:hl(e.onKeyDown),onKeyUp:hl(e.onKeyUp)}}}function k0(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]);c0(t,"wheel",n?null:o)}function P0(e){if(x0()==="virtual"){let t=document.activeElement;tl(()=>{document.activeElement===t&&document.contains(e)&&At(e)})}else At(e)}function C0(e,t){return t.some(r=>r.contains(e))}class Po{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 vl({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&&C0(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 Po;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){yo(this,"fastMap",new Map),this.root=new vl({scopeRef:null}),this.fastMap.set(null,this.root)}}class vl{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){yo(this,"children",[]),yo(this,"contain",!1),this.scopeRef=t.scopeRef}}new Po;function Zr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||bl()}),[a,i]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),f=l.useCallback(g=>{o.current.isFocused=g,i(g),d()},[d]);S0(g=>{o.current.isFocusVisible=g,d()},[],{isTextInput:r});let{focusProps:p}=So({isDisabled:n,onFocusChange:f}),{focusWithinProps:m}=gl({isDisabled:!n,onFocusWithinChange:f});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?m:p}}let D0=l.createContext(null);function I0(e){let t=l.useContext(D0)||{};nl(t,e);let{ref:r,...n}=t;return n}function Co(e,t){let{focusProps:r}=So(e),{keyboardProps:n}=T0(e),o=Se(r,n),a=I0(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&P0(t.current),s.current=!1},[t]),{focusableProps:Se({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function O0(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...c}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:f}=Co(e,t),{pressProps:p,isPressed:m}=_o({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),g=ir(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),i&&(i(b),console.warn("onClick is deprecated, please use onPress"))}})}}class A0{getStringForLocale(t,r){let n=this.strings[r];n||(n=N0(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 N0(e,t,r="en-US"){if(t[e])return t[e];let n=z0(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function z0(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const yl=new Map,$l=new Map;class L0{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=yl.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),yl.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=$l.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),$l.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 Do=new Map,Io=!1;try{Io=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 _l={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Oo{format(t){let r="";if(!Io&&this.options.signDisplay!=null?r=F0(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=_l[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!Io&&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=M0(t,r),this.options=r}}function M0(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=_l[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(Do.has(o))return Do.get(o);let a=new Intl.NumberFormat(e,t);return Do.set(o,a),a}function F0(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("^.*\\(.*\\).*$"),j0=["latn","arab","hanidec"];class R0{parse(t){return Ao(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return Ao(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return Ao(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const xl=new Map;function Ao(e,t,r){let n=wl(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of j0)if(o!==n.options.numberingSystem){let a=wl(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function wl(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=xl.get(r);return n||(n=new K0(e,t),xl.set(r,n)),n}class K0{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=B0(this.formatter,this.options,r)}}const El=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function B0(e,t,r){var n,o,a,i;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=(a=s.find(I=>I.type==="decimal"))===null||a===void 0?void 0:a.value,h=(i=s.find(I=>I.type==="group"))===null||i===void 0?void 0:i.value,b=s.filter(I=>!El.has(I.type)).map(I=>Sl(I.value)),v=d.filter(I=>!El.has(I.type)).map(I=>Sl(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 Qr(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Sl(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const W0=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),U0=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function H0(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return W0.has(r)}let t=e.split("-")[0];return U0.has(t)}function Tl(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:H0(e)?"rtl":"ltr"}}let No=Tl(),lr=new Set;function kl(){No=Tl();for(let e of lr)e(No)}function G0(){let e=Xv(),[t,r]=l.useState(No);return l.useEffect(()=>(lr.size===0&&window.addEventListener("languagechange",kl),lr.add(r),()=>{lr.delete(r),lr.size===0&&window.removeEventListener("languagechange",kl)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const q0=l.createContext(null);function Pl(){let e=G0();return l.useContext(q0)||e}const Cl=new WeakMap;function Y0(e){let t=Cl.get(e);return t||(t=new A0(e),Cl.set(e,t)),t}function cr(e){let{locale:t}=Pl(),r=l.useMemo(()=>Y0(e),[e]);return l.useMemo(()=>new L0(t,r),[t,r])}function X0(e={}){let{locale:t}=Pl();return l.useMemo(()=>new Oo(t,e),[t,e])}function Z0(e){return e&&e.__esModule?e.default:e}function J0(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=O0({isDisabled:n||r,elementType:a,...i},t),c=/^h[1-6]$/.test(a),d={};return c||(d=s),r&&(d["aria-current"]=o||"page",d.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...d}}}var Dl={},Il={};Il={breadcrumbs:"عناصر الواجهة"};var Ol={};Ol={breadcrumbs:"Трохи хляб"};var Al={};Al={breadcrumbs:"Popis cesty"};var Nl={};Nl={breadcrumbs:"Brødkrummer"};var zl={};zl={breadcrumbs:"Breadcrumbs"};var Ll={};Ll={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Ml={};Ml={breadcrumbs:"Breadcrumbs"};var Fl={};Fl={breadcrumbs:"Migas de pan"};var Vl={};Vl={breadcrumbs:"Lingiread"};var jl={};jl={breadcrumbs:"Navigointilinkit"};var Rl={};Rl={breadcrumbs:"Chemin de navigation"};var Kl={};Kl={breadcrumbs:"שבילי ניווט"};var Bl={};Bl={breadcrumbs:"Navigacijski putovi"};var Wl={};Wl={breadcrumbs:"Morzsamenü"};var Ul={};Ul={breadcrumbs:"Breadcrumb"};var Hl={};Hl={breadcrumbs:"パンくずリスト"};var Gl={};Gl={breadcrumbs:"탐색 표시"};var ql={};ql={breadcrumbs:"Naršymo kelias"};var Yl={};Yl={breadcrumbs:"Atpakaļceļi"};var Xl={};Xl={breadcrumbs:"Navigasjonsstier"};var Zl={};Zl={breadcrumbs:"Broodkruimels"};var Jl={};Jl={breadcrumbs:"Struktura nawigacyjna"};var Ql={};Ql={breadcrumbs:"Caminho detalhado"};var ec={};ec={breadcrumbs:"Categorias"};var tc={};tc={breadcrumbs:"Miez de pâine"};var rc={};rc={breadcrumbs:"Навигация"};var nc={};nc={breadcrumbs:"Navigačné prvky Breadcrumbs"};var oc={};oc={breadcrumbs:"Drobtine"};var ac={};ac={breadcrumbs:"Putanje navigacije"};var ic={};ic={breadcrumbs:"Sökvägar"};var sc={};sc={breadcrumbs:"İçerik haritaları"};var lc={};lc={breadcrumbs:"Навігаційна стежка"};var cc={};cc={breadcrumbs:"导航栏"};var uc={};uc={breadcrumbs:"導覽列"},Dl={"ar-AE":Il,"bg-BG":Ol,"cs-CZ":Al,"da-DK":Nl,"de-DE":zl,"el-GR":Ll,"en-US":Ml,"es-ES":Fl,"et-EE":Vl,"fi-FI":jl,"fr-FR":Rl,"he-IL":Kl,"hr-HR":Bl,"hu-HU":Wl,"it-IT":Ul,"ja-JP":Hl,"ko-KR":Gl,"lt-LT":ql,"lv-LV":Yl,"nb-NO":Xl,"nl-NL":Zl,"pl-PL":Jl,"pt-BR":Ql,"pt-PT":ec,"ro-RO":tc,"ru-RU":rc,"sk-SK":nc,"sl-SI":oc,"sr-SP":ac,"sv-SE":ic,"tr-TR":sc,"uk-UA":lc,"zh-CN":cc,"zh-TW":uc};function Q0(e){let{"aria-label":t,...r}=e,n=cr(Z0(Dl));return{navProps:{...ir(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const ey=P(Uv)`
|
|
206
206
|
border-radius: ${u.border_radius_400};
|
|
207
207
|
padding: ${u.sizing_200};
|
|
208
208
|
width: fit-content; /* Pass as prop? */
|
|
209
209
|
background-color: ${u.color_white};
|
|
210
210
|
box-shadow: ${u.elevation_interactive_medium};
|
|
211
211
|
z-index: 5; /* Same as dialogs */
|
|
212
|
-
`,
|
|
212
|
+
`,ty=P(Hv)`
|
|
213
213
|
fill: ${u.color_white};
|
|
214
|
-
`;function
|
|
214
|
+
`;function dc({children:e,...t}){return k(Wv,{children:le(ey,{...t,children:[e,k(ty,{})]})})}const zo=Gs,ry=P(Gs)`
|
|
215
215
|
all: unset;
|
|
216
216
|
cursor: pointer;
|
|
217
217
|
font-family: inherit;
|
|
@@ -225,7 +225,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
225
225
|
position: absolute;
|
|
226
226
|
top: 5px;
|
|
227
227
|
right: 5px;
|
|
228
|
-
`,
|
|
228
|
+
`,fc=Kv,pc=Bv,ny="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",oy=P(Ws)`
|
|
229
229
|
margin-top: 22px;
|
|
230
230
|
isolation: isolate;
|
|
231
231
|
min-width: 210px;
|
|
@@ -237,7 +237,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
237
237
|
&[data-state~='focused'] {
|
|
238
238
|
outline: 1px solid ${u.color_black};
|
|
239
239
|
}
|
|
240
|
-
`;function
|
|
240
|
+
`;function ay({children:e}){const{isFocusVisible:t,focusProps:r}=Zr();return k(oy,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const Lo=P.ol`
|
|
241
241
|
font-family: ${u.font_family_sans};
|
|
242
242
|
display: flex;
|
|
243
243
|
list-style: none;
|
|
@@ -253,7 +253,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
253
253
|
font-family: ${u.font_family_sans};
|
|
254
254
|
color: ${u.color_divider_standard};
|
|
255
255
|
}
|
|
256
|
-
`,
|
|
256
|
+
`,mc=P(Lo)`
|
|
257
257
|
flex-direction: column;
|
|
258
258
|
|
|
259
259
|
& li {
|
|
@@ -267,7 +267,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
267
267
|
|
|
268
268
|
& > ol li:first-of-type::before {
|
|
269
269
|
content: '';
|
|
270
|
-
background-image: url(${
|
|
270
|
+
background-image: url(${ny});
|
|
271
271
|
display: block;
|
|
272
272
|
height: 1em;
|
|
273
273
|
width: 1em;
|
|
@@ -276,12 +276,12 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
276
276
|
background-size: initial;
|
|
277
277
|
background-repeat: initial;
|
|
278
278
|
}
|
|
279
|
-
`,
|
|
279
|
+
`,Mo=P.li`
|
|
280
280
|
color: ${u.color_text_weak};
|
|
281
281
|
display: flex;
|
|
282
282
|
align-items: center;
|
|
283
283
|
gap: ${u.sizing_200};
|
|
284
|
-
`,
|
|
284
|
+
`,bc=P.a`
|
|
285
285
|
text-decoration: none;
|
|
286
286
|
color: ${u.color_text_weak};
|
|
287
287
|
font-style: normal;
|
|
@@ -324,7 +324,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
324
324
|
color: ${u.color_text_strong};
|
|
325
325
|
font-weight: 400;
|
|
326
326
|
}
|
|
327
|
-
`,
|
|
327
|
+
`,iy=P.button`
|
|
328
328
|
appearance: none;
|
|
329
329
|
cursor: pointer;
|
|
330
330
|
touch-action: none;
|
|
@@ -351,12 +351,12 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
351
351
|
&[data-state~='open'] {
|
|
352
352
|
background-color: ${u.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
|
|
353
353
|
}
|
|
354
|
-
`;function
|
|
354
|
+
`;function gc({truncatedItems:e}){return e.length>1?le(mc,{children:[e.slice(0,1),k(gc,{truncatedItems:e.slice(1)})]}):k(mc,{children:e})}function sy({truncatedItems:e}){return k(Mo,{children:le(fc,{children:[k(pc,{asChild:!0,children:k(iy,{type:"button",children:"..."})}),k(ay,{children:k(gc,{truncatedItems:e})})]})})}const hc=l.forwardRef(({children:e,...t},r)=>{const{navProps:n}=Q0(t);Tt.isFragment(e)&&console.warn("Passing a React fragment to Breadcrumbs will make it not work correctly!");const o=l.Children.toArray(e),a=3;if(o.length>a){const s=o[0],c=o.slice(-2),d=o.slice(1,-2);return k("nav",{...n,children:le(Lo,{ref:r,children:[s,k(sy,{truncatedItems:d}),c]})})}return k("nav",{...n,children:k(Lo,{ref:r,children:o})})});hc.displayName="Breadcrumbs";const vc=l.forwardRef((e,t)=>{const{LinkComponent:r="a",disabled:n,...o}=e,a=at(t),i=typeof r=="string",{children:s,href:c,isCurrent:d}=e,{itemProps:f}=J0({isDisabled:n,isCurrent:d,elementType:i?r:"a",...o},a),{isPressed:p,pressProps:m}=_o({isDisabled:n??d,ref:a}),{isFocusVisible:g,focusProps:h}=Zr(),b=[p&&"pressed",n&&"disabled",g&&"focused"].filter(Boolean).join(" "),_=d||n||!c?{}:{[i?"href":"to"]:c};return k(Mo,{children:k(bc,{as:r,...f,ref:a,"data-state":b,...h,...m,..._,children:s})})});vc.displayName="BreadcrumbItem";function Fo(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:i,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:_}=_o({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:o,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:$}=Co(e,t);d&&($.tabIndex=n?-1:$.tabIndex);let w=Se($,v,ir(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 yc={small:`${u.spacing_200} ${u.spacing_300}`,large:`${u.spacing_300} ${u.spacing_400}`},We=P.button`
|
|
355
355
|
appearance: none;
|
|
356
356
|
border-radius: ${u.border_radius_400};
|
|
357
357
|
border: 1px solid transparent;
|
|
358
358
|
font-style: normal;
|
|
359
|
-
padding: ${
|
|
359
|
+
padding: var(--button-padding, ${yc.small});
|
|
360
360
|
font-family: ${u.font_family_sans};
|
|
361
361
|
cursor: pointer;
|
|
362
362
|
white-space: nowrap;
|
|
@@ -383,9 +383,9 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
383
383
|
&:disabled {
|
|
384
384
|
cursor: not-allowed;
|
|
385
385
|
}
|
|
386
|
-
`,
|
|
386
|
+
`,ly=P(We)`
|
|
387
387
|
background: ${u.color_white};
|
|
388
|
-
color: hsl(
|
|
388
|
+
color: hsl(0deg 0% 7.84%); /* color missing in tokens */
|
|
389
389
|
border: 1px solid ${u.color_outline_secondary_enabled};
|
|
390
390
|
|
|
391
391
|
&:hover {
|
|
@@ -404,25 +404,25 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
404
404
|
color: ${u.color_fill_secondary_disabled};
|
|
405
405
|
border-color: ${u.color_outline_secondary_disabled};
|
|
406
406
|
}
|
|
407
|
-
`,
|
|
407
|
+
`,cy=P(We)`
|
|
408
408
|
background: ${u.color_white};
|
|
409
409
|
color: ${u.color_fill_danger_enabled};
|
|
410
410
|
border: 1px solid ${u.color_outline_danger_enabled};
|
|
411
411
|
|
|
412
412
|
&:hover {
|
|
413
413
|
color: ${u.color_fill_danger_hover};
|
|
414
|
-
background: hsl(10.519deg 67.54
|
|
414
|
+
background: hsl(10.519deg 67.54% 55.29% / 6%);
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
&[data-state~='pressed'] {
|
|
418
|
-
background-color: hsl(10.52deg 67.54
|
|
418
|
+
background-color: hsl(10.52deg 67.54% 55.29% / 18%);
|
|
419
419
|
color: ${u.color_fill_danger_pressed};
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
&:disabled {
|
|
423
423
|
color: ${u.color_fill_danger_disabled};
|
|
424
424
|
}
|
|
425
|
-
`,
|
|
425
|
+
`,uy=P(We)`
|
|
426
426
|
background: ${u.color_overlay_inverse_enabled};
|
|
427
427
|
border-color: ${u.color_outline_inverse_enabled};
|
|
428
428
|
color: ${u.color_fill_inverse_enabled};
|
|
@@ -433,12 +433,13 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
433
433
|
color: ${u.color_fill_inverse_hover};
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
|
|
436
|
+
&[data-state~='focused'] {
|
|
437
437
|
background: ${u.color_overlay_inverse_hover};
|
|
438
438
|
border-color: ${u.color_outline_inverse_hover};
|
|
439
439
|
color: ${u.color_fill_inverse_hover};
|
|
440
|
+
|
|
440
441
|
/* TODO put in tokens Interactive / Focus / Outside */
|
|
441
|
-
box-shadow:
|
|
442
|
+
box-shadow: 0 0 0 2px white, 0 0 0 4px black;
|
|
442
443
|
}
|
|
443
444
|
|
|
444
445
|
&[data-state~='pressed'] {
|
|
@@ -450,15 +451,12 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
450
451
|
background-color: transparent;
|
|
451
452
|
color: ${u.color_outline_inverse_disabled};
|
|
452
453
|
}
|
|
453
|
-
`,
|
|
454
|
-
background:
|
|
455
|
-
217.
|
|
456
|
-
81.6%,
|
|
457
|
-
51%,
|
|
458
|
-
0
|
|
454
|
+
`,dy={primary:ly,danger:cy,inverse:uy},fy=P(We)`
|
|
455
|
+
background: hsl(
|
|
456
|
+
217.35deg 81.6% 51%
|
|
459
457
|
); /* Interactive / Overlay / Primary / Enabled */
|
|
460
458
|
border-color: transparent;
|
|
461
|
-
color: hsl(
|
|
459
|
+
color: hsl(0deg 0% 7.845%); /* color is tot in design tokens */
|
|
462
460
|
|
|
463
461
|
&:hover {
|
|
464
462
|
background: ${u.color_overlay_secondary_hover};
|
|
@@ -473,16 +471,16 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
473
471
|
&:disabled {
|
|
474
472
|
color: ${u.color_fill_primary_disabled};
|
|
475
473
|
}
|
|
476
|
-
`,
|
|
474
|
+
`,py=P(We)`
|
|
477
475
|
color: ${u.color_fill_danger_enabled};
|
|
478
|
-
background-color: hsl(217.
|
|
476
|
+
background-color: hsl(217.35deg 81.6% 50.98%);
|
|
479
477
|
|
|
480
478
|
&:hover {
|
|
481
479
|
color: ${u.color_fill_danger_hover};
|
|
482
480
|
background: ${u.color_overlay_secondary_hover};
|
|
483
481
|
}
|
|
484
482
|
|
|
485
|
-
|
|
483
|
+
&[data-state~='focused'] {
|
|
486
484
|
border-color: ${u.color_outline_danger_enabled};
|
|
487
485
|
}
|
|
488
486
|
|
|
@@ -495,7 +493,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
495
493
|
&:disabled {
|
|
496
494
|
color: ${u.color_fill_danger_disabled};
|
|
497
495
|
}
|
|
498
|
-
`,
|
|
496
|
+
`,my=P(We)`
|
|
499
497
|
background: ${u.color_overlay_inverse_enabled};
|
|
500
498
|
border-color: transparent;
|
|
501
499
|
color: ${u.color_fill_inverse_enabled};
|
|
@@ -505,10 +503,10 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
505
503
|
color: ${u.color_fill_inverse_hover};
|
|
506
504
|
}
|
|
507
505
|
|
|
508
|
-
|
|
506
|
+
&[data-state~='focused'] {
|
|
509
507
|
background: ${u.color_overlay_inverse_hover};
|
|
510
508
|
/* TODO put in tokens Interactive / Focus / Outside */
|
|
511
|
-
box-shadow:
|
|
509
|
+
box-shadow: 0 0 0 2px white, 0 0 0 4px black;
|
|
512
510
|
}
|
|
513
511
|
|
|
514
512
|
&[data-state~='pressed'] {
|
|
@@ -520,7 +518,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
520
518
|
background-color: ${u.color_fill_inverse_disabled};
|
|
521
519
|
color: ${u.color_outline_inverse_disabled};
|
|
522
520
|
}
|
|
523
|
-
`,
|
|
521
|
+
`,by={primary:fy,danger:py,inverse:my},gy=P(We)`
|
|
524
522
|
background: ${u.color_fill_primary_enabled};
|
|
525
523
|
color: ${u.color_white};
|
|
526
524
|
|
|
@@ -537,7 +535,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
537
535
|
background: ${u.color_fill_primary_disabled};
|
|
538
536
|
color: ${u.color_fill_inverse_pressed};
|
|
539
537
|
}
|
|
540
|
-
`,
|
|
538
|
+
`,hy=P(We)`
|
|
541
539
|
background: ${u.color_fill_secondary_enabled};
|
|
542
540
|
color: ${u.color_fill_primary_enabled};
|
|
543
541
|
|
|
@@ -554,7 +552,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
554
552
|
&:disabled {
|
|
555
553
|
background: ${u.color_fill_secondary_disabled};
|
|
556
554
|
}
|
|
557
|
-
`,
|
|
555
|
+
`,vy=P(We)`
|
|
558
556
|
background: ${u.color_fill_danger_enabled};
|
|
559
557
|
color: ${u.color_white};
|
|
560
558
|
|
|
@@ -571,7 +569,7 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
571
569
|
&:disabled {
|
|
572
570
|
background: ${u.color_fill_danger_disabled};
|
|
573
571
|
}
|
|
574
|
-
`,
|
|
572
|
+
`,yy=P(We)`
|
|
575
573
|
background: ${u.color_white};
|
|
576
574
|
|
|
577
575
|
&:hover {
|
|
@@ -585,10 +583,10 @@ Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(
|
|
|
585
583
|
&:disabled {
|
|
586
584
|
background: ${u.color_fill_inverse_disabled};
|
|
587
585
|
}
|
|
588
|
-
|
|
586
|
+
`,$y={primary:gy,secondary:hy,danger:vy,inverse:yy},Vo=l.createContext(!1);Vo.displayName="FieldsetContext";const $c=P.fieldset`
|
|
589
587
|
padding: 0;
|
|
590
588
|
border: none;
|
|
591
|
-
`;function
|
|
589
|
+
`;function _y({children:e,disabled:t,...r}){const o=Ue()||Boolean(t);return k(Vo.Provider,{value:o,children:k($c,{disabled:t,...r,children:e})})}function Ue(){return l.useContext(Vo)}const xy={low:by,medium:dy,high:$y},ur=l.forwardRef((e,t)=>{const{size:r="small",variant:n="primary",emphasis:o="high",disabled:a,onClick:i,autoFocus:s,children:c,...d}=e,f=at(t),p=Ue(),m=a??p,{buttonProps:g,isPressed:h}=Fo({onPress:i,isDisabled:m,autoFocus:s,...d},f),{isFocusVisible:b,focusProps:v}=Zr({autoFocus:s}),w=[b?"focused":void 0,h?"pressed":void 0].filter(Boolean).join(" "),O=xy[o][n];return k(O,{ref:f,...Se(g,d,v,{"data-state":w}),"data-state":w,style:{"--button-padding":yc[r]},children:c})});ur.displayName="Button";function en(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 _c="Checkbox",[wy,uk]=ke(_c),[Ey,Sy]=wy(_c),Ty=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:a,required:i,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,_]=Ve({prop:o,defaultProp:a,onChange:d});return l.createElement(Ey,{scope:r,state:v,disabled:s},l.createElement(re.button,E({type:"button",role:"checkbox","aria-checked":_t(v)?"mixed":v,"aria-required":i,"data-state":xc(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(Cy,{control:p,bubbles:!h.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),ky="CheckboxIndicator",Py=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,a=Sy(ky,r);return l.createElement(Oe,{present:n||_t(a.state)||a.state===!0},l.createElement(re.span,E({"data-state":xc(a.state),"data-disabled":a.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),Cy=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=en(r),s=Br(t);return l.useEffect(()=>{const c=a.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&p){const m=new Event("click",{bubbles:n});c.indeterminate=_t(r),p.call(c,_t(r)?!1:r),c.dispatchEvent(m)}},[i,r,n]),l.createElement("input",E({type:"checkbox","aria-hidden":!0,defaultChecked:_t(r)?!1:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function _t(e){return e==="indeterminate"}function xc(e){return _t(e)?"indeterminate":e?"checked":"unchecked"}const Dy=Ty,Iy=Py;function Oy(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=yt(t);let i=yt(),s={};r?(n=n?`${n} ${i}`:i,s={id:i,htmlFor:a==="label"?t:void 0}):!n&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let c=a0({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:c}}function wc(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:o,fieldProps:a}=Oy(e),i=Js([Boolean(t),Boolean(r),n]),s=Js([Boolean(t),Boolean(r),n]);return a=Se(a,{"aria-describedby":[i,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:a,descriptionProps:{id:i},errorMessageProps:{id:s}}}function tn(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:a=!1,validationState:i,type:s="text",onChange:c=()=>{}}=e,{focusableProps:d}=Co(e,t),{labelProps:f,fieldProps:p,descriptionProps:m,errorMessageProps:g}=wc(e),h=ir(e,{labelable:!0});const b={type:s,pattern:e.pattern};return{labelProps:f,inputProps:Se(h,r==="input"&&b,{disabled:n,readOnly:a,"aria-required":o||void 0,"aria-invalid":i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:e.value,defaultValue:e.value?void 0:e.defaultValue,onChange:v=>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 Ec(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function Ay(e,t,r){let n=l.useRef(t);n.current=t,l.useEffect(()=>{if(!Ec())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=Ec()?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:a,inputProps:i,descriptionProps:s,errorMessageProps:c}=tn(e,r),d=l.useRef(null);return{inputProps:Se(i,{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:a,descriptionProps:s,errorMessageProps:c}}const jo=P.label`
|
|
592
590
|
font-family: ${u.font_family_sans};
|
|
593
591
|
margin: 0;
|
|
594
592
|
font-style: normal;
|
|
@@ -608,22 +606,23 @@ clip: rect(0, 0, 0, 0);
|
|
|
608
606
|
white-space: nowrap;
|
|
609
607
|
border-width: 0;
|
|
610
608
|
`}
|
|
611
|
-
`,
|
|
609
|
+
`,Ny=P(jo)`
|
|
612
610
|
font-size: ${u.font_size_label_small};
|
|
613
611
|
letter-spacing: ${u.letter_spacing_label_small};
|
|
614
612
|
line-height: ${u.line_height_label_small};
|
|
615
|
-
`,
|
|
613
|
+
`,zy=P(jo)`
|
|
616
614
|
font-size: ${u.font_size_label_large};
|
|
617
615
|
letter-spacing: ${u.letter_spacing_label_large};
|
|
618
616
|
line-height: ${u.line_height_label_large};
|
|
619
|
-
|
|
617
|
+
`,Ly=P(jo)`
|
|
620
618
|
font-size: ${u.font_size_label_medium};
|
|
621
619
|
letter-spacing: ${u.letter_spacing_label_medium};
|
|
622
620
|
line-height: ${u.line_height_label_medium};
|
|
623
|
-
`,
|
|
624
|
-
padding: ${({paddingSize:e="small"})=>
|
|
621
|
+
`,My={small:Ny,medium:Ly,large:zy};function Qe({children:e,bold:t,size:r="small",display:n="inline-flex",srOnly:o,...a}){const i=My[r];return k(i,{...a,srOnly:o,style:{"--label-font-weight":t?500:400,"--label-display":n},children:e})}const Fy={small:"7px 8px",large:"11px 12px"},dr=P.input`
|
|
622
|
+
padding: ${({paddingSize:e="small"})=>Fy[e]}; // add default?
|
|
625
623
|
appearance: none;
|
|
626
|
-
border: 1px solid
|
|
624
|
+
border: 1px solid
|
|
625
|
+
var(--input-border-color, ${u.color_outline_secondary_enabled});
|
|
627
626
|
border-radius: ${u.border_radius_400};
|
|
628
627
|
line-height: ${u.line_height_body_medium};
|
|
629
628
|
|
|
@@ -641,38 +640,39 @@ border-width: 0;
|
|
|
641
640
|
}
|
|
642
641
|
|
|
643
642
|
&:hover {
|
|
643
|
+
--input-border-color: ${u.color_outline_secondary_hover};
|
|
644
644
|
background-color: ${u.color_overlay_secondary_hover};
|
|
645
|
-
border-color: ${u.color_outline_secondary_hover};
|
|
646
645
|
}
|
|
647
646
|
|
|
648
647
|
&[data-state~='invalid'],
|
|
649
648
|
&:invalid {
|
|
650
|
-
border-color: ${u.color_outline_danger_enabled};
|
|
649
|
+
--input-border-color: ${u.color_outline_danger_enabled};
|
|
651
650
|
}
|
|
652
651
|
|
|
653
652
|
/* &:active too? */
|
|
654
653
|
&:focus-visible {
|
|
654
|
+
--input-border-color: ${u.color_black};
|
|
655
655
|
background-color: ${u.color_overlay_secondary_enabled};
|
|
656
656
|
outline: 1px solid ${u.color_black};
|
|
657
|
-
border-color: ${u.color_black};
|
|
658
657
|
}
|
|
659
658
|
|
|
660
659
|
&:disabled {
|
|
661
660
|
/* border-color: ${u.color_outline_secondary_disabled}; */
|
|
662
661
|
color: ${u.color_fill_primary_disabled};
|
|
663
662
|
cursor: not-allowed;
|
|
664
|
-
border-color: revert;
|
|
663
|
+
--input-border-color: revert;
|
|
665
664
|
}
|
|
666
665
|
|
|
667
666
|
// TODO check with Robert
|
|
668
667
|
&:read-only {
|
|
669
|
-
border-color: ${u.color_outline_secondary_disabled};
|
|
668
|
+
--input-border-color: ${u.color_outline_secondary_disabled};
|
|
670
669
|
}
|
|
671
670
|
|
|
672
671
|
&:disabled::placeholder {
|
|
673
672
|
color: ${u.color_fill_primary_disabled};
|
|
674
673
|
}
|
|
675
|
-
`,
|
|
674
|
+
`,fr=P.div`
|
|
675
|
+
--input-border-color: ${u.color_outline_secondary_enabled};
|
|
676
676
|
display: flex;
|
|
677
677
|
flex-direction: column;
|
|
678
678
|
justify-content: space-between;
|
|
@@ -688,7 +688,7 @@ border-width: 0;
|
|
|
688
688
|
letter-spacing: ${u.letter_spacing_tight};
|
|
689
689
|
|
|
690
690
|
/* max-width: 300px; make configurable with prop? */
|
|
691
|
-
`,
|
|
691
|
+
`,rn=P.div`
|
|
692
692
|
display: flex;
|
|
693
693
|
align-items: center;
|
|
694
694
|
gap: 5.33px; // TODO update sizing this is 1/3rem
|
|
@@ -703,13 +703,13 @@ border-width: 0;
|
|
|
703
703
|
/* display: inline-flex;
|
|
704
704
|
align-self: center; */
|
|
705
705
|
}
|
|
706
|
-
`,
|
|
706
|
+
`,nn=P.div`
|
|
707
707
|
color: ${u.color_text_weak};
|
|
708
708
|
font-size: ${u.font_size_50};
|
|
709
709
|
line-height: ${u.line_height_133};
|
|
710
710
|
font-family: ${u.font_family_sans};
|
|
711
711
|
/* max-height? with overflow-x? */
|
|
712
|
-
`;
|
|
712
|
+
`;P.div`
|
|
713
713
|
position: absolute;
|
|
714
714
|
right: 8px;
|
|
715
715
|
top: 0;
|
|
@@ -717,7 +717,43 @@ border-width: 0;
|
|
|
717
717
|
display: flex;
|
|
718
718
|
align-items: center;
|
|
719
719
|
pointer-events: none;
|
|
720
|
-
`;const
|
|
720
|
+
`;const Ro=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="small",label:c,validationState:d,placeholder:f="Enter text...",...p}=e,m=at(t),g=Ue(),h=o??g,{labelProps:b,descriptionProps:v,inputProps:_,errorMessageProps:$}=tn({...p,isDisabled:h,isReadOnly:a,isRequired:i,placeholder:f,label:c},m);let w=null;return typeof c=="string"?w=k(Qe,{...b,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...b})),le(fr,{children:[w,k(dr,{"data-state":d,paddingSize:s,ref:m,placeholder:"Enter...",type:"text",..._,required:i}),r?le(rn,{...$,children:[k(Ee.Error,{}),r]}):null,n?k(nn,{...v,children:n}):null]})});Ro.displayName="TextInput";const[on,dk]=ke("Tooltip",[Ot]),an=Ot(),Vy="TooltipProvider",jy=700,Ko="tooltip.open",[Ry,Bo]=on(Vy),Ky=e=>{const{__scopeTooltip:t,delayDuration:r=jy,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,[i,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(Ry,{scope:t,isOpenDelayed:i,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},a)},Wo="Tooltip",[By,pr]=on(Wo),Wy=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,c=Bo(Wo,e.__scopeTooltip),d=an(t),[f,p]=l.useState(null),m=Re(),g=l.useRef(0),h=i??c.disableHoverableContent,b=s??c.delayDuration,v=l.useRef(!1),[_=!1,$]=Ve({prop:n,defaultProp:o,onChange:I=>{I?(c.onOpen(),document.dispatchEvent(new CustomEvent(Ko))):c.onClose(),a==null||a(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(lo,d,l.createElement(By,{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))},Sc="TooltipTrigger",Uy=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=pr(Sc,r),a=Bo(Sc,r),i=an(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(co,E({asChild:!0},i),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&&!a.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)})))}),Tc="TooltipPortal",[Hy,Gy]=on(Tc,{forceMount:void 0}),qy=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=pr(Tc,t);return l.createElement(Hy,{scope:t,forceMount:r},l.createElement(Oe,{present:r||a.open},l.createElement(Qt,{asChild:!0,container:o},n)))},mr="TooltipContent",Yy=l.forwardRef((e,t)=>{const r=Gy(mr,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,i=pr(mr,e.__scopeTooltip);return l.createElement(Oe,{present:n||i.open},i.disableHoverableContent?l.createElement(kc,E({side:o},a,{ref:t})):l.createElement(Xy,E({side:o},a,{ref:t})))}),Xy=l.forwardRef((e,t)=>{const r=pr(mr,e.__scopeTooltip),n=Bo(mr,e.__scopeTooltip),o=l.useRef(null),a=de(t,o),[i,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},$=t$(_,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=r$(b.getBoundingClientRect()),I=o$([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(i){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=!n$(_,i);$?m():w&&(m(),d())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[c,f,i,d,m]),l.createElement(kc,E({},e,{ref:a}))}),[Zy,Jy]=on(Wo,{isInside:!1}),kc=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,c=pr(mr,r),d=an(r),{onClose:f}=c;return l.useEffect(()=>(document.addEventListener(Ko,f),()=>document.removeEventListener(Ko,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(Jt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:p=>p.preventDefault(),onDismiss:f},l.createElement(uo,E({"data-state":c.stateAttribute},d,s,{ref:t,style:{...s.style,["--radix-tooltip-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}),l.createElement(Ln,null,n),l.createElement(Zy,{scope:r,isInside:!0},l.createElement(gs,{id:c.contentId,role:"tooltip"},o||n))))}),Qy="TooltipArrow",e$=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=an(r);return Jy(Qy,r).isInside?null:l.createElement(Fs,E({},o,n,{ref:t}))});function t$(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:return null}}function r$(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 n$(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const s=t[a].x,c=t[a].y,d=t[i].x,f=t[i].y;c>n!=f>n&&r<(d-s)*(n-c)/(f-c)+s&&(o=!o)}return o}function o$(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),a$(t)}function a$(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const a=r[r.length-1],i=r[r.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const i$=Ky,s$=Wy,l$=Uy,c$=qy,u$=Yy,d$=e$,f$=P.keyframes`
|
|
721
|
+
from {
|
|
722
|
+
opacity: 0;
|
|
723
|
+
transform: translateX(-10px);
|
|
724
|
+
}
|
|
725
|
+
to {
|
|
726
|
+
opacity: 1;
|
|
727
|
+
transform: translateY(0);
|
|
728
|
+
}
|
|
729
|
+
`,p$=P.keyframes`
|
|
730
|
+
from {
|
|
731
|
+
opacity: 0;
|
|
732
|
+
transform: translateX(10px);
|
|
733
|
+
}
|
|
734
|
+
to {
|
|
735
|
+
opacity: 1;
|
|
736
|
+
transform: translateY(0);
|
|
737
|
+
}
|
|
738
|
+
`,m$=P.keyframes`
|
|
739
|
+
from {
|
|
740
|
+
opacity: 0;
|
|
741
|
+
transform: translateY(-10px);
|
|
742
|
+
}
|
|
743
|
+
to {
|
|
744
|
+
opacity: 1;
|
|
745
|
+
transform: translateY(0);
|
|
746
|
+
}
|
|
747
|
+
`,b$=P.keyframes`
|
|
748
|
+
from {
|
|
749
|
+
opacity: 0;
|
|
750
|
+
transform: translateY(10px);
|
|
751
|
+
}
|
|
752
|
+
to {
|
|
753
|
+
opacity: 1;
|
|
754
|
+
transform: translateY(0);
|
|
755
|
+
}
|
|
756
|
+
`,g$=P(u$)`
|
|
721
757
|
padding: ${u.sizing_200} ${u.sizing_200};
|
|
722
758
|
background: ${u.color_background_black_standard};
|
|
723
759
|
color: ${u.color_text_white_standard};
|
|
@@ -726,16 +762,34 @@ border-width: 0;
|
|
|
726
762
|
line-height: ${u.line_height_133}; /* identical to box height 16px */
|
|
727
763
|
font-family: ${u.font_family_sans};
|
|
728
764
|
max-width: ${u.sizing_1000}; /* TODO ask designers? */
|
|
729
|
-
z-index:
|
|
730
|
-
|
|
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: ${b$};
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
&[data-side='bottom'] {
|
|
774
|
+
animation-name: ${m$};
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
&[data-side='left'] {
|
|
778
|
+
animation-name: ${p$};
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
&[data-side='right'] {
|
|
782
|
+
animation-name: ${f$};
|
|
783
|
+
}
|
|
784
|
+
`,h$=P(d$)`
|
|
731
785
|
fill: 'white';
|
|
732
|
-
`;function
|
|
786
|
+
`;function v$({children:e,...t}){return k(c$,{children:le(g$,{...t,children:[e,k(h$,{})]})})}const y$=P(l$)`
|
|
733
787
|
appearance: none;
|
|
734
788
|
padding: 0;
|
|
735
789
|
border: none;
|
|
736
790
|
background-color: unset;
|
|
737
791
|
line-height: 0;
|
|
738
|
-
`,
|
|
792
|
+
`,Uo=l.forwardRef((e,t)=>{const{children:r,asChild:n,...o}=e;return k(y$,{ref:t,...o,type:"button",asChild:n,children:r})});Uo.displayName="TooltipTrigger";const Pc=i$,Cc=s$,Dc=v$,$$=P(Uo)`
|
|
739
793
|
color: ${u.color_text_white_weak};
|
|
740
794
|
margin-block: auto;
|
|
741
795
|
|
|
@@ -755,8 +809,10 @@ border-width: 0;
|
|
|
755
809
|
&:not([data-state~='closed']) > svg {
|
|
756
810
|
color: steelblue;
|
|
757
811
|
}
|
|
758
|
-
`;function cr({children:e,icon:t=C(_e.Help,{}),label:r="More info"}){return C(Tc,{children:oe(Sc,{children:[C(e$,{children:C(Xt,{label:r,children:t})}),C(kc,{sideOffset:5,children:e})]})})}const Pc=7e3;let Bo=null;function t$(e,t="assertive",r=Pc){Bo||(Bo=new r$),Bo.announce(e,t,r)}class r${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=Pc){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 n$(e){return e&&e.__esModule?e.default:e}var Cc={},Dc={};Dc={Empty:"فارغ"};var Ic={};Ic={Empty:"Изпразни"};var Oc={};Oc={Empty:"Prázdné"};var Ac={};Ac={Empty:"Tom"};var Nc={};Nc={Empty:"Leer"};var zc={};zc={Empty:"Άδειο"};var Lc={};Lc={Empty:"Empty"};var Mc={};Mc={Empty:"Vacío"};var Fc={};Fc={Empty:"Tühjenda"};var Vc={};Vc={Empty:"Tyhjä"};var jc={};jc={Empty:"Vide"};var Rc={};Rc={Empty:"ריק"};var Kc={};Kc={Empty:"Prazno"};var Bc={};Bc={Empty:"Üres"};var Uc={};Uc={Empty:"Vuoto"};var Wc={};Wc={Empty:"空"};var Hc={};Hc={Empty:"비어 있음"};var Gc={};Gc={Empty:"Tuščias"};var qc={};qc={Empty:"Tukšs"};var Yc={};Yc={Empty:"Tom"};var Xc={};Xc={Empty:"Leeg"};var Zc={};Zc={Empty:"Pusty"};var Jc={};Jc={Empty:"Vazio"};var Qc={};Qc={Empty:"Vazio"};var eu={};eu={Empty:"Gol"};var tu={};tu={Empty:"Не заполнено"};var ru={};ru={Empty:"Prázdne"};var nu={};nu={Empty:"Prazen"};var ou={};ou={Empty:"Prazno"};var au={};au={Empty:"Tomt"};var iu={};iu={Empty:"Boş"};var su={};su={Empty:"Пусто"};var lu={};lu={Empty:"空"};var cu={};cu={Empty:"空白"},Cc={"ar-AE":Dc,"bg-BG":Ic,"cs-CZ":Oc,"da-DK":Ac,"de-DE":Nc,"el-GR":zc,"en-US":Lc,"es-ES":Mc,"et-EE":Fc,"fi-FI":Vc,"fr-FR":jc,"he-IL":Rc,"hr-HR":Kc,"hu-HU":Bc,"it-IT":Uc,"ja-JP":Wc,"ko-KR":Hc,"lt-LT":Gc,"lv-LV":qc,"nb-NO":Yc,"nl-NL":Xc,"pl-PL":Zc,"pt-BR":Jc,"pt-PT":Qc,"ro-RO":eu,"ru-RU":tu,"sk-SK":ru,"sl-SI":nu,"sr-SP":ou,"sv-SE":au,"tr-TR":iu,"uk-UA":su,"zh-CN":lu,"zh-TW":cu};function o$(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:c,onIncrement:d,onIncrementPage:f,onDecrement:p,onDecrementPage:b,onDecrementToMin:m,onIncrementToMax:h}=e;const g=nr(n$(Cc)),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(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}},E=l.useRef(!1),y=()=>{E.current=!0},A=()=>{E.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{E.current&&t$(n,"assertive")},[n]);const L=l.useCallback(k=>{$(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&L(60)},k)},[d,a,r]),P=l.useCallback(k=>{$(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&P(60)},k)},[p,o,r]);let N=k=>{k.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:G}=el();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",N)},onPressEnd:()=>{$(),G()},onFocus:y,onBlur:A},decrementButtonProps:{onPressStart:()=>{P(400),F(window,"contextmenu",N)},onPressEnd:()=>{$(),G()},onFocus:y,onBlur:A}}}function a$(e){return e&&e.__esModule?e.default:e}var uu={},du={};du={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var fu={};fu={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var pu={};pu={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var bu={};bu={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var mu={};mu={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var gu={};gu={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var hu={};hu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var vu={};vu={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var yu={};yu={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var $u={};$u={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var _u={};_u={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var xu={};xu={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Eu={};Eu={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var wu={};wu={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Tu={};Tu={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Su={};Su={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var ku={};ku={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Pu={};Pu={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Cu={};Cu={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Du={};Du={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Iu={};Iu={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Ou={};Ou={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Au={};Au={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Nu={};Nu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var zu={};zu={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Lu={};Lu={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Mu={};Mu={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Fu={};Fu={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Vu={};Vu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var ju={};ju={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Ru={};Ru={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Ku={};Ku={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Bu={};Bu={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Uu={};Uu={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},uu={"ar-AE":du,"bg-BG":fu,"cs-CZ":pu,"da-DK":bu,"de-DE":mu,"el-GR":gu,"en-US":hu,"es-ES":vu,"et-EE":yu,"fi-FI":$u,"fr-FR":_u,"he-IL":xu,"hr-HR":Eu,"hu-HU":wu,"it-IT":Tu,"ja-JP":Su,"ko-KR":ku,"lt-LT":Pu,"lv-LV":Cu,"nb-NO":Du,"nl-NL":Iu,"pl-PL":Ou,"pt-BR":Au,"pt-PT":Nu,"ro-RO":zu,"ru-RU":Lu,"sk-SK":Mu,"sl-SI":Fu,"sr-SP":Vu,"sv-SE":ju,"tr-TR":Ru,"uk-UA":Ku,"zh-CN":Bu,"zh-TW":Uu};function i$(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:c,minValue:d,maxValue:f,autoFocus:p,validationState:b,label:m,formatOptions:h,onBlur:g=()=>{},onFocus:v,onFocusChange:$,onKeyDown:_,onKeyUp:E,description:y,errorMessage:A,...L}=e,{increment:P,incrementToMax:N,decrement:F,decrementToMin:G,numberValue:k,commit:H}=t;const O=nr(a$(uu));let T=yt(n),{focusProps:X}=xo({onBlur:()=>{H()}}),{spinButtonProps:ee,incrementButtonProps:de,decrementButtonProps:ge}=o$({isDisabled:i,isReadOnly:s,isRequired:c,maxValue:f,minValue:d,onIncrement:P,onIncrementToMax:N,onDecrement:F,onDecrementToMin:G,value:k,textValue:t.inputValue}),[te,w]=l.useState(!1),{focusWithinProps:z}=bl({isDisabled:i,onFocusWithinChange:w}),K=l.useCallback(Pe=>{Math.abs(Pe.deltaY)<=Math.abs(Pe.deltaX)||(Pe.deltaY>0?P():Pe.deltaY<0&&F())},[F,P]);d0({onScroll:K,isDisabled:i||s||!te},r);let R=N0(h),Y=l.useMemo(()=>R.resolvedOptions(),[R]).maximumFractionDigits>0,Z=isNaN(t.minValue)||t.minValue<0,Q="numeric";rl()?Z?Q="text":Y&&(Q="decimal"):ol()&&(Z?Q="numeric":Y&&(Q="decimal"));let ae=Pe=>{t.setInputValue(Pe)},ne=er(e),{labelProps:ve,inputProps:he,descriptionProps:Se,errorMessageProps:Re}=hy({...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:Q,onChange:ae,onBlur:g,onFocus:v,onFocusChange:$,onKeyDown:_,onKeyUp:E,description:y,errorMessage:A},t,r),Oe=Te(ee,X,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 ze=yt(),Le=yt(),ft=Te(de,{"aria-label":a||O.format("increase",{fieldLabel:ye}).trim(),id:$e&&!a?ze:null,"aria-labelledby":$e&&!a?`${ze} ${$e}`:null,"aria-controls":T,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Ke}),Ht=Te(ge,{"aria-label":o||O.format("decrease",{fieldLabel:ye}).trim(),id:$e&&!o?Le:null,"aria-labelledby":$e&&!o?`${Le} ${$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,...z},labelProps:ve,inputProps:Oe,incrementButtonProps:ft,decrementButtonProps:Ht,errorMessageProps:Re,descriptionProps:Se}}function s$(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:c,isDisabled:d,isReadOnly:f}=e,[p,b]=Hs(a,isNaN(i)?NaN:i,s),[m,h]=l.useState(()=>isNaN(p)?"":new Co(c,o).format(p)),g=l.useMemo(()=>new T0(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(),[$]),E=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),P=l.useRef(o);(!Object.is(p,A.current)||c!==L.current||o!==P.current)&&(h(E(p)),A.current=p,L.current=c,P.current=o);let N=l.useMemo(()=>g.parse(m),[g,m]),F=l.useRef(0);F.current=N;let G=()=>{if(!m.length){b(NaN),h(a===void 0?"":E(p));return}if(isNaN(F.current)){h(E(p));return}let te;isNaN(n)?te=Iv(F.current,t,r):te=vt(F.current,t,r,n),te=g.parse(E(te)),b(te),h(E(a===void 0?te:p))},k=(te,w)=>{let z=F.current;if(isNaN(z)){let K=isNaN(w)?0:w;return vt(K,t,r,y)}else{let K=vt(z,t,r,y);return te==="+"&&K>z||te==="-"&&K<z?K:vt(Uo(te,z,y),t,r,y)}},H=()=>{let te=k("+",t);te===p&&h(E(te)),b(te)},O=()=>{let te=k("-",r);te===p&&h(E(te)),b(te)},T=()=>{r!=null&&b(vt(r,t,r,y))},X=()=>{t!=null&&b(t)},ee=l.useMemo(()=>!d&&!f&&(isNaN(N)||isNaN(r)||vt(N,t,r,y)>N||Uo("+",N,y)<=r),[d,f,t,r,y,N]),de=l.useMemo(()=>!d&&!f&&(isNaN(N)||isNaN(t)||vt(N,t,r,y)<N||Uo("-",N,y)>=t),[d,f,t,r,y,N]);return{validate:te=>g.isValidPartialNumber(te,t,r),increment:H,incrementToMax:T,decrement:O,decrementToMin:X,canIncrement:ee,canDecrement:de,minValue:t,maxValue:r,numberValue:N,setInputValue:h,inputValue:m,commit:G}}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 Wu(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=zo(e,t),{children:o,className:a}=e;return C("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const l$=D.div`
|
|
759
|
-
|
|
812
|
+
`;function br({children:e,icon:t=k(Ee.Help,{}),label:r="More info"}){return k(Pc,{children:le(Cc,{children:[k($$,{children:k(er,{label:r,children:t})}),k(Dc,{sideOffset:5,children:e})]})})}const Ic=7e3;let Ho=null;function _$(e,t="assertive",r=Ic){Ho||(Ho=new x$),Ho.announce(e,t,r)}class x${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=Ic){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 w$(e){return e&&e.__esModule?e.default:e}var Oc={},Ac={};Ac={Empty:"فارغ"};var Nc={};Nc={Empty:"Изпразни"};var zc={};zc={Empty:"Prázdné"};var Lc={};Lc={Empty:"Tom"};var Mc={};Mc={Empty:"Leer"};var Fc={};Fc={Empty:"Άδειο"};var Vc={};Vc={Empty:"Empty"};var jc={};jc={Empty:"Vacío"};var Rc={};Rc={Empty:"Tühjenda"};var Kc={};Kc={Empty:"Tyhjä"};var Bc={};Bc={Empty:"Vide"};var Wc={};Wc={Empty:"ריק"};var Uc={};Uc={Empty:"Prazno"};var Hc={};Hc={Empty:"Üres"};var Gc={};Gc={Empty:"Vuoto"};var qc={};qc={Empty:"空"};var Yc={};Yc={Empty:"비어 있음"};var Xc={};Xc={Empty:"Tuščias"};var Zc={};Zc={Empty:"Tukšs"};var Jc={};Jc={Empty:"Tom"};var Qc={};Qc={Empty:"Leeg"};var eu={};eu={Empty:"Pusty"};var tu={};tu={Empty:"Vazio"};var ru={};ru={Empty:"Vazio"};var nu={};nu={Empty:"Gol"};var ou={};ou={Empty:"Не заполнено"};var au={};au={Empty:"Prázdne"};var iu={};iu={Empty:"Prazen"};var su={};su={Empty:"Prazno"};var lu={};lu={Empty:"Tomt"};var cu={};cu={Empty:"Boş"};var uu={};uu={Empty:"Пусто"};var du={};du={Empty:"空"};var fu={};fu={Empty:"空白"},Oc={"ar-AE":Ac,"bg-BG":Nc,"cs-CZ":zc,"da-DK":Lc,"de-DE":Mc,"el-GR":Fc,"en-US":Vc,"es-ES":jc,"et-EE":Rc,"fi-FI":Kc,"fr-FR":Bc,"he-IL":Wc,"hr-HR":Uc,"hu-HU":Hc,"it-IT":Gc,"ja-JP":qc,"ko-KR":Yc,"lt-LT":Xc,"lv-LV":Zc,"nb-NO":Jc,"nl-NL":Qc,"pl-PL":eu,"pt-BR":tu,"pt-PT":ru,"ro-RO":nu,"ru-RU":ou,"sk-SK":au,"sl-SI":iu,"sr-SP":su,"sv-SE":lu,"tr-TR":cu,"uk-UA":uu,"zh-CN":du,"zh-TW":fu};function E$(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:c,onIncrement:d,onIncrementPage:f,onDecrement:p,onDecrementPage:m,onDecrementToMin:g,onIncrementToMax:h}=e;const b=cr(w$(Oc)),v=l.useRef(e);v.current=e;const _=()=>clearTimeout(t.current);l.useEffect(()=>()=>_(),[]);let $=T=>{if(!(T.ctrlKey||T.metaKey||T.shiftKey||T.altKey||s))switch(T.key){case"PageUp":if(f){T.preventDefault(),f();break}case"ArrowUp":case"Up":d&&(T.preventDefault(),d());break;case"PageDown":if(m){T.preventDefault(),m();break}case"ArrowDown":case"Down":p&&(T.preventDefault(),p());break;case"Home":g&&(T.preventDefault(),g());break;case"End":h&&(T.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&&_$(n,"assertive")},[n]);const M=l.useCallback(T=>{_(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&M(60)},T)},[d,a,r]),I=l.useCallback(T=>{_(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&I(60)},T)},[p,o,r]);let A=T=>{T.preventDefault()},{addGlobalListener:L,removeAllGlobalListeners:J}=rl();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: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 S$(e){return e&&e.__esModule?e.default:e}var pu={},mu={};mu={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var bu={};bu={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var gu={};gu={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var hu={};hu={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var vu={};vu={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var yu={};yu={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var $u={};$u={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var _u={};_u={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var xu={};xu={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var wu={};wu={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var Eu={};Eu={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var Su={};Su={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Tu={};Tu={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var ku={};ku={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Pu={};Pu={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Cu={};Cu={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Du={};Du={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Iu={};Iu={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Ou={};Ou={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Au={};Au={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Nu={};Nu={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var zu={};zu={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Lu={};Lu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Mu={};Mu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Fu={};Fu={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Vu={};Vu={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var ju={};ju={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Ru={};Ru={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Ku={};Ku={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Bu={};Bu={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Wu={};Wu={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Uu={};Uu={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Hu={};Hu={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Gu={};Gu={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},pu={"ar-AE":mu,"bg-BG":bu,"cs-CZ":gu,"da-DK":hu,"de-DE":vu,"el-GR":yu,"en-US":$u,"es-ES":_u,"et-EE":xu,"fi-FI":wu,"fr-FR":Eu,"he-IL":Su,"hr-HR":Tu,"hu-HU":ku,"it-IT":Pu,"ja-JP":Cu,"ko-KR":Du,"lt-LT":Iu,"lv-LV":Ou,"nb-NO":Au,"nl-NL":Nu,"pl-PL":zu,"pt-BR":Lu,"pt-PT":Mu,"ro-RO":Fu,"ru-RU":Vu,"sk-SK":ju,"sl-SI":Ru,"sr-SP":Ku,"sv-SE":Bu,"tr-TR":Wu,"uk-UA":Uu,"zh-CN":Hu,"zh-TW":Gu};function T$(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,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:T,commit:Y}=t;const C=cr(S$(pu));let S=yt(n),{focusProps:U}=So({onBlur:()=>{Y()}}),{spinButtonProps:ie,incrementButtonProps:ue,decrementButtonProps:he}=E$({isDisabled:i,isReadOnly:s,isRequired:c,maxValue:f,minValue:d,onIncrement:I,onIncrementToMax:A,onDecrement:L,onDecrementToMin:J,value:T,textValue:t.inputValue}),[te,N]=l.useState(!1),{focusWithinProps:j}=gl({isDisabled:i,onFocusWithinChange:N}),H=l.useCallback(Ie=>{Math.abs(Ie.deltaY)<=Math.abs(Ie.deltaX)||(Ie.deltaY>0?I():Ie.deltaY<0&&L())},[L,I]);k0({onScroll:H,isDisabled:i||s||!te},r);let q=X0(h),ee=l.useMemo(()=>q.resolvedOptions(),[q]).maximumFractionDigits>0,V=isNaN(t.minValue)||t.minValue<0,K="numeric";ol()?V?K="text":ee&&(K="decimal"):il()&&(V?K="numeric":ee&&(K="decimal"));let Z=Ie=>{t.setInputValue(Ie)},W=ir(e),{labelProps:ne,inputProps:Q,descriptionProps:ye,errorMessageProps:we}=Ay({...M,...W,label:g,autoFocus:p,isDisabled:i,isReadOnly:s,isRequired:c,validationState:m,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:S,type:"text",inputMode:K,onChange:Z,onBlur:b,onFocus:v,onFocusChange:_,onKeyDown:$,onKeyUp:w,description:y,errorMessage:O},t,r),Ne=Se(ie,U,Q,{role:null,"aria-roledescription":ho()?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(),Gt=Se(ue,{"aria-label":a||C.format("increase",{fieldLabel:ze}).trim(),id:Le&&!a?Ce:null,"aria-labelledby":Le&&!a?`${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":i,"aria-invalid":m==="invalid"?"true":void 0,...j},labelProps:ne,inputProps:Ne,incrementButtonProps:Gt,decrementButtonProps:Me,errorMessageProps:we,descriptionProps:ye}}function k$(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:c,isDisabled:d,isReadOnly:f}=e,[p,m]=qs(a,isNaN(i)?NaN:i,s),[g,h]=l.useState(()=>isNaN(p)?"":new Oo(c,o).format(p)),b=l.useMemo(()=>new R0(c,o),[c,o]),v=l.useMemo(()=>b.getNumberingSystem(g),[b,g]),_=l.useMemo(()=>new Oo(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(a===void 0?"":w(p));return}if(isNaN(L.current)){h(w(p));return}let te;isNaN(n)?te=Gv(L.current,t,r):te=vt(L.current,t,r,n),te=b.parse(w(te)),m(te),h(w(a===void 0?te:p))},T=(te,N)=>{let j=L.current;if(isNaN(j)){let H=isNaN(N)?0:N;return vt(H,t,r,y)}else{let H=vt(j,t,r,y);return te==="+"&&H>j||te==="-"&&H<j?H:vt(Go(te,j,y),t,r,y)}},Y=()=>{let te=T("+",t);te===p&&h(w(te)),m(te)},C=()=>{let te=T("-",r);te===p&&h(w(te)),m(te)},S=()=>{r!=null&&m(vt(r,t,r,y))},U=()=>{t!=null&&m(t)},ie=l.useMemo(()=>!d&&!f&&(isNaN(A)||isNaN(r)||vt(A,t,r,y)>A||Go("+",A,y)<=r),[d,f,t,r,y,A]),ue=l.useMemo(()=>!d&&!f&&(isNaN(A)||isNaN(t)||vt(A,t,r,y)<A||Go("-",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:ie,canDecrement:ue,minValue:t,maxValue:r,numberValue:A,setInputValue:h,inputValue:g,commit:J}}function Go(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 qu(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=Fo(e,t),{children:o,className:a}=e;return k("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const P$=P.div`
|
|
813
|
+
/*
|
|
814
|
+
--border-color: ${u.color_outline_secondary_enabled};
|
|
815
|
+
*/
|
|
760
816
|
display: inline-grid;
|
|
761
817
|
grid-template:
|
|
762
818
|
'field increment'
|
|
@@ -764,25 +820,33 @@ border-width: 0;
|
|
|
764
820
|
border-radius: ${u.border_radius_400};
|
|
765
821
|
|
|
766
822
|
&:hover {
|
|
767
|
-
--border-color: ${u.color_outline_secondary_hover};
|
|
823
|
+
--input-border-color: ${u.color_outline_secondary_hover};
|
|
768
824
|
background-color: ${u.color_overlay_secondary_hover};
|
|
769
825
|
}
|
|
770
826
|
|
|
771
827
|
&:focus-within {
|
|
772
828
|
background-color: ${u.color_overlay_secondary_enabled};
|
|
773
829
|
outline: 1px solid black;
|
|
774
|
-
--border-color: ${u.color_black};
|
|
830
|
+
--input-border-color: ${u.color_black};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
&:has(input[data-state~='invalid']),
|
|
834
|
+
&:has(input:invalid) {
|
|
835
|
+
--input-border-color: ${u.color_outline_danger_enabled};
|
|
775
836
|
}
|
|
776
|
-
`,
|
|
837
|
+
`,C$=P(dr)`
|
|
777
838
|
border-top-right-radius: 0;
|
|
778
|
-
border-color: var(
|
|
839
|
+
border-color: var(
|
|
840
|
+
--input-border-color,
|
|
841
|
+
${u.color_outline_secondary_enabled}
|
|
842
|
+
);
|
|
779
843
|
border-bottom-right-radius: 0;
|
|
780
844
|
border-right-width: 1px;
|
|
781
845
|
border-right-color: transparent;
|
|
782
846
|
grid-area: field;
|
|
783
847
|
margin: 0;
|
|
784
848
|
margin-right: -1px; // to make the borders overlap
|
|
785
|
-
`,
|
|
849
|
+
`,Yu=P(qu)`
|
|
786
850
|
display: grid;
|
|
787
851
|
place-items: center;
|
|
788
852
|
color: ${u.color_text_weak};
|
|
@@ -793,10 +857,9 @@ border-width: 0;
|
|
|
793
857
|
touch-action: none;
|
|
794
858
|
-webkit-tap-highlight-color: transparent;
|
|
795
859
|
border: none;
|
|
796
|
-
border-right: 1px solid var(--border-color);
|
|
860
|
+
border-right: 1px solid var(--input-border-color);
|
|
797
861
|
border-left-width: 0px;
|
|
798
862
|
border-left-color: transparent;
|
|
799
|
-
|
|
800
863
|
background-color: ${u.color_white};
|
|
801
864
|
|
|
802
865
|
transition-property: ${u.transition_property_color};
|
|
@@ -811,7 +874,6 @@ border-width: 0;
|
|
|
811
874
|
&[data-state~='pressed'] {
|
|
812
875
|
background: ${u.color_fill_secondary_pressed};
|
|
813
876
|
color: ${u.color_fill_primary_enabled};
|
|
814
|
-
border-color: transparent;
|
|
815
877
|
outline: none;
|
|
816
878
|
}
|
|
817
879
|
|
|
@@ -826,29 +888,29 @@ border-width: 0;
|
|
|
826
888
|
line-height: 0;
|
|
827
889
|
font-size: 1rem;
|
|
828
890
|
}
|
|
829
|
-
`,
|
|
891
|
+
`,D$=P(Yu)`
|
|
830
892
|
border-radius: unset;
|
|
831
|
-
border-top: 1px solid var(--border-color);
|
|
893
|
+
border-top: 1px solid var(--input-border-color);
|
|
832
894
|
border-top-right-radius: ${u.border_radius_400};
|
|
833
895
|
border-bottom-width: 0.5px;
|
|
834
|
-
grid-area: increment;
|
|
835
896
|
margin-bottom: -0.5px;
|
|
836
|
-
|
|
897
|
+
grid-area: increment;
|
|
898
|
+
`,I$=P(Yu)`
|
|
837
899
|
border-radius: unset;
|
|
838
|
-
border-bottom: 1px solid var(--border-color);
|
|
900
|
+
border-bottom: 1px solid var(--input-border-color);
|
|
839
901
|
border-bottom-right-radius: ${u.border_radius_400};
|
|
840
902
|
border-top-color: transparent;
|
|
841
903
|
border-top-width: 0.5px;
|
|
842
904
|
margin-top: -0.5px;
|
|
843
905
|
grid-area: decrement;
|
|
844
|
-
`;function
|
|
906
|
+
`;function Xu(e,t){var r;if(e.length&&((r=e[0])!=null&&r.value)){const n=e[0].value;return t.indexOf(n)}}const qo=l.forwardRef((e,t)=>{const{description:r,disabled:n,readOnly:o,required:a,paddingSize:i="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,$=a,w=at(t),y=k$({...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:T}=T$({...h,isDisabled:v,isReadOnly:_,isRequired:$,minValue:p,maxValue:m,placeholder:d,label:s},y,w);let Y=null;typeof s=="string"?Y=k(Qe,{...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"),N=Xu(he,y.inputValue),j=Xu(te,y.inputValue);let H;if(N&&N>-1?H=N:j&&j>-1&&(H=j),H){const X=S.target.selectionStart;if(X&&X>H){const q=H-1;S.target.setSelectionRange(q,q)}}}};return le(fr,{children:[Y,f?le(P$,{...M,children:[k(C$,{...I,paddingSize:i,ref:w,onClick:C,onFocus:C,required:a}),k(D$,{...A,children:k(Ee.KeyboardArrowUp,{})}),k(I$,{...L,children:k(Ee.KeyboardArrowDown,{})})]}):k(dr,{ref:w,...I,paddingSize:i,required:a}),c?le(rn,{...T,children:[k(Ee.Error,{}),c]}):null,r?k(nn,{...J,children:r}):null]})});qo.displayName="NumberInput";const Zu=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="large",label:c,validationState:d,placeholder:f="Enter text...",...p}=e,m=at(t),g=Ue(),h=o??g,{labelProps:b,descriptionProps:v,inputProps:_,errorMessageProps:$}=tn({...p,isDisabled:h,isReadOnly:a,isRequired:i,placeholder:f,label:c,inputElementType:"textarea"},m);let w=null;return typeof c=="string"?w=k(Qe,{...b,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...b})),le(fr,{children:[w,k(dr,{as:"textarea","data-state":d,paddingSize:s,ref:m,placeholder:"Enter...",..._}),r?le(rn,{...$,children:[k(Ee.Error,{}),r]}):null,n?k(nn,{...v,children:n}):null]})});Zu.displayName="TextAreaInput";const Yo=l.createContext({});Yo.displayName="FormControlContext";function sn(){return l.useContext(Yo)}function O$({children:e,label:t,errorMessage:r,description:n,tooltipContent:o,tooltipIcon:a,validationState:i,id:s,...c}){const{descriptionProps:d,errorMessageProps:f,fieldProps:p,labelProps:m}=wc({errorMessage:r,label:t,description:n,validationState:i,id:s,...c});return k(Yo.Provider,{value:p,children:le(fr,{children:[le(Qe,{...m,display:"flex",children:[t,o?k(br,{icon:a,children:o}):null]}),e,n?k(nn,{...d,children:n}):null,r?le(rn,{...f,children:[k(Ee.Error,{}),r]}):null]})})}const Ju=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return k(Ro,{ref:t,label:le(Qe,{children:[r,n?k(br,{icon:o,children:n}):null]}),...a})});Ju.displayName="TextFormControl";const Qu=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return k(Zu,{ref:t,label:le(Qe,{children:[r,n?k(br,{icon:o,children:n}):null]}),...a})});Qu.displayName="TextAreaFormControl";const ed=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return k(qo,{ref:t,label:le(Qe,{children:[r,n?k(br,{icon:o,children:n}):null]}),...a})});ed.displayName="NumberFormControl";function td(e){const t=Ue(),r=e??t;return{...sn(),disabled:r}}const A$=()=>k("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:k("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"})}),N$=()=>k("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:k("path",{d:"M19 13 H5 v-3 h14 v2 z"})}),Xo=P.div`
|
|
845
907
|
display: grid;
|
|
846
908
|
place-items: center;
|
|
847
909
|
width: 16px;
|
|
848
910
|
height: 16px;
|
|
849
911
|
border-radius: ${u.border_radius_400};
|
|
850
912
|
border: 1px solid currentColor;
|
|
851
|
-
background: var(--background-color);
|
|
913
|
+
background: var(--checkbox-background-color);
|
|
852
914
|
overflow: hidden;
|
|
853
915
|
|
|
854
916
|
& > svg {
|
|
@@ -856,7 +918,7 @@ border-width: 0;
|
|
|
856
918
|
width: 100%;
|
|
857
919
|
height: 100%;
|
|
858
920
|
}
|
|
859
|
-
`,
|
|
921
|
+
`,z$=P(Dy)`
|
|
860
922
|
all: unset;
|
|
861
923
|
background-color: ${u.color_white};
|
|
862
924
|
width: ${u.sizing_600};
|
|
@@ -881,7 +943,7 @@ border-width: 0;
|
|
|
881
943
|
|
|
882
944
|
&[data-state~='checked'],
|
|
883
945
|
&[data-state~='indeterminate'] {
|
|
884
|
-
--background-color: ${u.color_fill_primary_enabled};
|
|
946
|
+
--checkbox-background-color: ${u.color_fill_primary_enabled};
|
|
885
947
|
color: ${u.color_fill_primary_enabled};
|
|
886
948
|
}
|
|
887
949
|
|
|
@@ -891,16 +953,16 @@ border-width: 0;
|
|
|
891
953
|
}
|
|
892
954
|
|
|
893
955
|
&[aria-invalid='true'] {
|
|
894
|
-
--background-color: ${u.color_fill_danger_enabled};
|
|
956
|
+
--checkbox-background-color: ${u.color_fill_danger_enabled};
|
|
895
957
|
color: ${u.color_fill_danger_enabled};
|
|
896
958
|
}
|
|
897
|
-
`,
|
|
959
|
+
`,L$=P(Iy)`
|
|
898
960
|
line-height: 0;
|
|
899
961
|
|
|
900
962
|
& > svg {
|
|
901
963
|
line-height: 0;
|
|
902
964
|
}
|
|
903
|
-
`;function h$({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const a=Ju(e);return oe(m$,{onCheckedChange:n,...o,...a,checked:t,"aria-invalid":r,children:[!t&&C(Go,{}),oe(g$,{children:[t===!0&&C(Go,{children:C(p$,{})}),t==="indeterminate"&&C(Go,{children:C(b$,{})})]})]})}function v$(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 Qu={...fe,copyMove:fe.copy|fe.move,copyLink:fe.copy|fe.link,linkMove:fe.link|fe.move,all:fe.all,uninitialized:fe.all},y$=Yo(Qu);y$[fe.all]="all",Yo(fe);const ed={none:"cancel",link:"link",copy:"copy",move:"move"},qo=Yo(ed);function Yo(e){let t={};for(let r in e)t[e[r]]=r;return t}const Xo="application/vnd.react-aria.items+json",cn="application/octet-stream",$$=Symbol();function _$(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function x$(){return _$(s0())}class un{has(t){return this.includesUnknownTypes||t===$$&&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!==Xo&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(cn));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function E$(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||cn,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(td(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 w$(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||cn,name:e.name,getText:()=>w$(e),getFile:()=>Promise.resolve(e)}}function td(e){return{kind:"directory",name:e.name,getEntries:()=>T$(e)}}async function*T$(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 S$(n);yield Zo(o)}else n.isDirectory&&(yield td(n))}while(r.length>0)}function S$(e){return new Promise((t,r)=>e.file(t,r))}let rd={draggingKeys:new Set};function k$(e){rd=e}function YS(e){}let nd=fe.none,od=new Map,ad=null,id=new Set;function P$(e){return od.set(e.element,e),()=>{od.delete(e.element)}}function C$(){let[e,t]=l.useState(ad);return l.useEffect(()=>{let r=()=>t(ad);return id.add(r),()=>{id.delete(r)}},[]),e}var sd={},ld={};ld={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 cd={};cd={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 ud={};ud={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 dd={};dd={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 fd={};fd={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 pd={};pd={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 bd={};bd={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 md={};md={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 gd={};gd={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 hd={};hd={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 vd={};vd={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 yd={};yd={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={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 _d={};_d={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 xd={};xd={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 Ed={};Ed={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 wd={};wd={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 Td={};Td={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 Sd={};Sd={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 kd={};kd={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 Pd={};Pd={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 Cd={};Cd={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 Dd={};Dd={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 Id={};Id={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 Od={};Od={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 Ad={};Ad={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 Nd={};Nd={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 zd={};zd={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 Ld={};Ld={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 Md={};Md={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 Fd={};Fd={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 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}`};var jd={};jd={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 Rd={};Rd={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}」之間`},sd={"ar-AE":ld,"bg-BG":cd,"cs-CZ":ud,"da-DK":dd,"de-DE":fd,"el-GR":pd,"en-US":bd,"es-ES":md,"et-EE":gd,"fi-FI":hd,"fr-FR":vd,"he-IL":yd,"hr-HR":$d,"hu-HU":_d,"it-IT":xd,"ja-JP":Ed,"ko-KR":wd,"lt-LT":Td,"lv-LV":Sd,"nb-NO":kd,"nl-NL":Pd,"pl-PL":Cd,"pt-BR":Dd,"pt-PT":Id,"ro-RO":Od,"ru-RU":Ad,"sk-SK":Nd,"sl-SI":zd,"sr-SP":Ld,"sv-SE":Md,"tr-TR":Fd,"uk-UA":Vd,"zh-CN":jd,"zh-TW":Rd};const D$={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function I$(){let e=nr(v$(sd)),t=x$(),r=C$();return{dropProps:{...Wv(r?e.format(D$[t]):""),onClick:()=>{}}}}const O$=800;function A$(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=Kd(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 un(b.dataTransfer);v=dn(m,e.getDropOperation($,g))}n.dropEffect=qo[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new un(b.dataTransfer),v=b.currentTarget.getBoundingClientRect(),$=dn(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})},O$)}},s=b=>{if(b.preventDefault(),b.stopPropagation(),n.dragOverElements.add(b.target),n.dragOverElements.size>1)return;let m=Kd(b),h=Jo(m),g=h[0];if(typeof e.getDropOperation=="function"){let v=new un(b.dataTransfer);g=dn(m,e.getDropOperation(v,h))}if(typeof e.getDropOperationForPoint=="function"){let v=new un(b.dataTransfer),$=b.currentTarget.getBoundingClientRect();g=dn(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))},d=b=>{if(b.preventDefault(),b.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let h=ed[n.dropEffect],g=E$(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={...rd};n.dragOverElements.clear(),a(b),clearTimeout(n.dropActivateTimer),m.draggingCollectionRef==null||k$(m)},f=l.useRef(e);f.current=e,rt(()=>P$({element:f.current.ref.current,getDropOperation:f.current.getDropOperation,onDropEnter(b){r(!0),typeof f.current.onDropEnter=="function"&&f.current.onDropEnter(b)},onDropExit(b){r(!1),typeof f.current.onDropExit=="function"&&f.current.onDropExit(b)},onDrop(b){typeof f.current.onDrop=="function"&&f.current.onDrop(b)},onDropActivate(b){typeof f.current.onDropActivate=="function"&&f.current.onDropActivate(b)}}),[f]);let{dropProps:p}=I$();return{dropProps:{...p,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:d},isDropTarget:t}}function Kd(e){let t=Qu[e.dataTransfer.effectAllowed];nd&&(t&=nd);let r=fe.none;return po()?(e.altKey&&(r|=fe.copy),e.ctrlKey&&!nl()&&(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 dn(e,t){let r=fe[t];return e&r?t:"cancel"}const ur=D.p`
|
|
965
|
+
`;function M$({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const a=td(e);return le(z$,{onCheckedChange:n,...o,...a,checked:t,"aria-invalid":r,children:[!t&&k(Xo,{}),le(L$,{children:[t===!0&&k(Xo,{children:k(A$,{})}),t==="indeterminate"&&k(Xo,{children:k(N$,{})})]})]})}function F$(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 rd={...ge,copyMove:ge.copy|ge.move,copyLink:ge.copy|ge.link,linkMove:ge.link|ge.move,all:ge.all,uninitialized:ge.all},V$=Jo(rd);V$[ge.all]="all",Jo(ge);const nd={none:"cancel",link:"link",copy:"copy",move:"move"},Zo=Jo(nd);function Jo(e){let t={};for(let r in e)t[e[r]]=r;return t}const Qo="application/vnd.react-aria.items+json",ln="application/octet-stream",j$=Symbol();function R$(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function K$(){return R$(w0())}class cn{has(t){return this.includesUnknownTypes||t===j$&&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!==Qo&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(ln));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function B$(e){let t=[],r=!1;if(e.types.includes(Qo))try{let n=e.getData(Qo),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(ea(o.getAsFile())):a.isDirectory&&t.push(od(a))}else t.push(ea(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function W$(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 ea(e){return{kind:"file",type:e.type||ln,name:e.name,getText:()=>W$(e),getFile:()=>Promise.resolve(e)}}function od(e){return{kind:"directory",name:e.name,getEntries:()=>U$(e)}}async function*U$(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 H$(n);yield ea(o)}else n.isDirectory&&(yield od(n))}while(r.length>0)}function H$(e){return new Promise((t,r)=>e.file(t,r))}let ad={draggingKeys:new Set};function G$(e){ad=e}function fk(e){}let id=ge.none,sd=new Map,ld=null,cd=new Set;function q$(e){return sd.set(e.element,e),()=>{sd.delete(e.element)}}function Y$(){let[e,t]=l.useState(ld);return l.useEffect(()=>{let r=()=>t(ld);return cd.add(r),()=>{cd.delete(r)}},[]),e}var ud={},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:"عدد العناصر المختارة",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 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 pd={};pd={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 md={};md={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 bd={};bd={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 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={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 vd={};vd={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 yd={};yd={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 $d={};$d={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 _d={};_d={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 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)=>`הקש על 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 wd={};wd={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 Ed={};Ed={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 Sd={};Sd={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 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 キーを押してドロップするか、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 kd={};kd={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 Pd={};Pd={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 Cd={};Cd={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 Dd={};Dd={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 Id={};Id={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 Od={};Od={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 Ad={};Ad={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 Nd={};Nd={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 zd={};zd={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 Ld={};Ld={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 Md={};Md={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 Fd={};Fd={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 Vd={};Vd={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 jd={};jd={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 Rd={};Rd={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 Kd={};Kd={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 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:()=>`${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 Wd={};Wd={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}」之間`},ud={"ar-AE":dd,"bg-BG":fd,"cs-CZ":pd,"da-DK":md,"de-DE":bd,"el-GR":gd,"en-US":hd,"es-ES":vd,"et-EE":yd,"fi-FI":$d,"fr-FR":_d,"he-IL":xd,"hr-HR":wd,"hu-HU":Ed,"it-IT":Sd,"ja-JP":Td,"ko-KR":kd,"lt-LT":Pd,"lv-LV":Cd,"nb-NO":Dd,"nl-NL":Id,"pl-PL":Od,"pt-BR":Ad,"pt-PT":Nd,"ro-RO":zd,"ru-RU":Ld,"sk-SK":Md,"sl-SI":Fd,"sr-SP":Vd,"sv-SE":jd,"tr-TR":Rd,"uk-UA":Kd,"zh-CN":Bd,"zh-TW":Wd};const X$={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function Z$(){let e=cr(F$(ud)),t=K$(),r=Y$();return{dropProps:{...s0(r?e.format(X$[t]):""),onClick:()=>{}}}}const J$=800;function Q$(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})}},a=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})}},i=m=>{m.preventDefault(),m.stopPropagation();let g=Ud(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=ta(g),v=b[0];if(typeof e.getDropOperation=="function"){let _=new cn(m.dataTransfer);v=un(g,e.getDropOperation(_,b))}n.dropEffect=Zo[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let b=new cn(m.dataTransfer),v=m.currentTarget.getBoundingClientRect(),_=un(g,e.getDropOperationForPoint(b,ta(g),n.x-v.x,n.y-v.y));n.dropEffect=Zo[_]||"none"}if(n.allowedOperations=g,m.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&h!=="none"?a(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})},J$)}},s=m=>{if(m.preventDefault(),m.stopPropagation(),n.dragOverElements.add(m.target),n.dragOverElements.size>1)return;let g=Ud(m),h=ta(g),b=h[0];if(typeof e.getDropOperation=="function"){let v=new cn(m.dataTransfer);b=un(g,e.getDropOperation(v,h))}if(typeof e.getDropOperationForPoint=="function"){let v=new cn(m.dataTransfer),_=m.currentTarget.getBoundingClientRect();b=un(g,e.getDropOperationForPoint(v,h,m.clientX-_.x,m.clientY-_.y))}n.x=m.clientX,n.y=m.clientY,n.allowedOperations=g,n.dropEffect=Zo[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"&&a(m),clearTimeout(n.dropActivateTimer))},d=m=>{if(m.preventDefault(),m.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let h=nd[n.dropEffect],b=B$(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={...ad};n.dragOverElements.clear(),a(m),clearTimeout(n.dropActivateTimer),g.draggingCollectionRef==null||G$(g)},f=l.useRef(e);f.current=e,ot(()=>q$({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}=Z$();return{dropProps:{...p,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:d},isDropTarget:t}}function Ud(e){let t=rd[e.dataTransfer.effectAllowed];id&&(t&=id);let r=ge.none;return go()?(e.altKey&&(r|=ge.copy),e.ctrlKey&&!al()&&(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 ta(e){let t=[];return e&ge.move&&t.push("move"),e&ge.copy&&t.push("copy"),e&ge.link&&t.push("link"),t}function un(e,t){let r=ge[t];return e&r?t:"cancel"}const gr=P.p`
|
|
904
966
|
font-family: ${u.font_family_sans};
|
|
905
967
|
font-style: var(--text-style, normal);
|
|
906
968
|
font-weight: var(--text-font-weight, 400);
|
|
@@ -908,68 +970,68 @@ border-width: 0;
|
|
|
908
970
|
margin-block: 0;
|
|
909
971
|
overflow-wrap: break-word;
|
|
910
972
|
hyphens: auto;
|
|
911
|
-
`,
|
|
973
|
+
`,ra=P(gr)`
|
|
912
974
|
max-width: 60ch; /* should check with designers */
|
|
913
|
-
`,
|
|
975
|
+
`,e_=P(ra)`
|
|
914
976
|
letter-spacing: ${u.letter_spacing_body_large};
|
|
915
977
|
line-height: ${u.line_height_body_large};
|
|
916
978
|
font-size: ${u.font_size_body_large};
|
|
917
|
-
`,
|
|
979
|
+
`,t_=P(ra)`
|
|
918
980
|
letter-spacing: ${u.letter_spacing_body_medium};
|
|
919
981
|
line-height: ${u.line_height_body_medium};
|
|
920
982
|
font-size: ${u.font_size_body_medium};
|
|
921
|
-
`,
|
|
983
|
+
`,r_=P(ra)`
|
|
922
984
|
letter-spacing: ${u.letter_spacing_body_small};
|
|
923
985
|
line-height: ${u.line_height_body_small};
|
|
924
986
|
font-size: ${u.font_size_body_small};
|
|
925
|
-
`,
|
|
987
|
+
`,n_={large:e_,medium:t_,small:r_};function o_({size:e="medium",...t}){const r=n_[e];return k(r,{...t})}const dn=P.p`
|
|
926
988
|
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
927
989
|
font-family: ${u.font_family_sans};
|
|
928
990
|
font-style: normal;
|
|
929
991
|
font-weight: var(--text-font-weight, 400);
|
|
930
992
|
color: var(--text-color, ${u.color_text_strong});
|
|
931
993
|
margin-block: 0;
|
|
932
|
-
`,
|
|
994
|
+
`,a_=P(dn)`
|
|
933
995
|
letter-spacing: ${u.letter_spacing_number_xsmall};
|
|
934
996
|
line-height: ${u.line_height_number_xsmall};
|
|
935
997
|
font-size: ${u.font_size_number_xsmall};
|
|
936
|
-
`,
|
|
998
|
+
`,i_=P(dn)`
|
|
937
999
|
letter-spacing: ${u.letter_spacing_number_small};
|
|
938
1000
|
line-height: ${u.line_height_number_small};
|
|
939
1001
|
font-size: ${u.font_size_number_small};
|
|
940
|
-
`,
|
|
1002
|
+
`,s_=P(dn)`
|
|
941
1003
|
letter-spacing: ${u.letter_spacing_number_medium};
|
|
942
1004
|
line-height: ${u.line_height_number_medium};
|
|
943
1005
|
font-size: ${u.font_size_number_medium};
|
|
944
|
-
`,
|
|
1006
|
+
`,l_=P(dn)`
|
|
945
1007
|
letter-spacing: ${u.letter_spacing_number_large};
|
|
946
1008
|
line-height: ${u.line_height_number_large};
|
|
947
1009
|
font-size: ${u.font_size_number_large};
|
|
948
|
-
`,
|
|
1010
|
+
`,c_={xsmall:a_,small:i_,medium:s_,large:l_};function u_({size:e="medium",...t}){const r=c_[e];return k(r,{...t})}const d_=P(gr)`
|
|
949
1011
|
letter-spacing: ${u.letter_spacing_number_small};
|
|
950
1012
|
line-height: ${u.line_height_number_small};
|
|
951
1013
|
font-size: ${u.font_size_number_small};
|
|
952
|
-
`,
|
|
1014
|
+
`,f_=P(gr)`
|
|
953
1015
|
letter-spacing: ${u.letter_spacing_number_xsmall};
|
|
954
1016
|
line-height: ${u.line_height_number_xsmall};
|
|
955
1017
|
font-size: ${u.font_size_number_xsmall};
|
|
956
|
-
`,
|
|
1018
|
+
`,p_=P(gr)`
|
|
957
1019
|
letter-spacing: ${u.letter_spacing_number_large};
|
|
958
1020
|
line-height: ${u.line_height_number_large};
|
|
959
1021
|
font-size: ${u.font_size_number_large};
|
|
960
|
-
`,
|
|
1022
|
+
`,m_=P(gr)`
|
|
961
1023
|
letter-spacing: ${u.letter_spacing_number_medium};
|
|
962
1024
|
line-height: ${u.line_height_number_medium};
|
|
963
1025
|
font-size: ${u.font_size_number_medium};
|
|
964
|
-
`,
|
|
1026
|
+
`,b_={xsmall:f_,small:d_,medium:m_,large:p_};function g_({size:e="medium",...t}){const r=b_[e];return k(r,{...t})}const h_={caption:g_,body:o_,number:u_},v_={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:a,bold:i,as:s,...c}=e,d=h_[r],p=v_[n][o];return k(d,{as:s,...c,ref:t,style:{"--text-font-weight":i?500:400,"--text-color":p,"--text-style":a?"italic":"normal"}})});Ft.displayName="Text";const na={small:"32px",large:"40px"},Hd={circle:u.border_radius_circle,square:u.border_radius_400},fn=P.button`
|
|
965
1027
|
all: unset;
|
|
966
1028
|
appearance: none;
|
|
967
1029
|
display: grid;
|
|
968
1030
|
line-height: 1;
|
|
969
1031
|
place-items: center;
|
|
970
|
-
border-radius: var(--icon-button-border-radius, ${
|
|
971
|
-
height: var(--icon-button-size, ${
|
|
972
|
-
width: var(--icon-button-size, ${
|
|
1032
|
+
border-radius: var(--icon-button-border-radius, ${Hd.square});
|
|
1033
|
+
height: var(--icon-button-size, ${na.small});
|
|
1034
|
+
width: var(--icon-button-size, ${na.small});
|
|
973
1035
|
touch-action: none;
|
|
974
1036
|
cursor: pointer;
|
|
975
1037
|
white-space: nowrap;
|
|
@@ -995,7 +1057,13 @@ border-width: 0;
|
|
|
995
1057
|
line-height: 0;
|
|
996
1058
|
font-size: ${u.font_size_200};
|
|
997
1059
|
}
|
|
998
|
-
|
|
1060
|
+
|
|
1061
|
+
/* Prevent absolutely position screen reader element from causing overflow issues */
|
|
1062
|
+
& span[style] {
|
|
1063
|
+
bottom: 0;
|
|
1064
|
+
right: 0;
|
|
1065
|
+
}
|
|
1066
|
+
`,y_=P(fn)`
|
|
999
1067
|
background: ${u.color_fill_primary_enabled};
|
|
1000
1068
|
color: ${u.color_white};
|
|
1001
1069
|
|
|
@@ -1012,7 +1080,7 @@ border-width: 0;
|
|
|
1012
1080
|
background: ${u.color_fill_primary_disabled};
|
|
1013
1081
|
color: ${u.color_fill_inverse_pressed};
|
|
1014
1082
|
}
|
|
1015
|
-
|
|
1083
|
+
`,$_=P(fn)`
|
|
1016
1084
|
background: ${u.color_fill_secondary_enabled};
|
|
1017
1085
|
color: ${u.color_fill_primary_enabled};
|
|
1018
1086
|
|
|
@@ -1029,7 +1097,7 @@ border-width: 0;
|
|
|
1029
1097
|
&:disabled {
|
|
1030
1098
|
background: ${u.color_fill_secondary_disabled};
|
|
1031
1099
|
}
|
|
1032
|
-
`,
|
|
1100
|
+
`,__=P(fn)`
|
|
1033
1101
|
background: ${u.color_fill_danger_enabled};
|
|
1034
1102
|
color: ${u.color_white};
|
|
1035
1103
|
|
|
@@ -1046,7 +1114,7 @@ border-width: 0;
|
|
|
1046
1114
|
&:disabled {
|
|
1047
1115
|
background: ${u.color_fill_danger_disabled};
|
|
1048
1116
|
}
|
|
1049
|
-
`,
|
|
1117
|
+
`,x_=P(fn)`
|
|
1050
1118
|
background: ${u.color_white};
|
|
1051
1119
|
|
|
1052
1120
|
&:hover {
|
|
@@ -1060,7 +1128,7 @@ border-width: 0;
|
|
|
1060
1128
|
&:disabled {
|
|
1061
1129
|
background: ${u.color_fill_inverse_disabled};
|
|
1062
1130
|
}
|
|
1063
|
-
`,
|
|
1131
|
+
`,w_={primary:y_,secondary:$_,danger:__,inverse:x_},oa=l.forwardRef((e,t)=>{const r=at(t),{label:n,size:o="small",variant:a="primary",shape:i="circle",disabled:s,onClick:c,autoFocus:d,children:f,...p}=e,m=Ue(),g=s??m,{buttonProps:h,isPressed:b}=Fo({onPress:c,isDisabled:g,autoFocus:d,...p},r),{isFocusVisible:v,focusProps:_}=Zr({autoFocus:d}),y=[v?"focused":void 0,b?"pressed":void 0].filter(Boolean).join(" "),O=w_[a],M=Hd[i],I=na[o];return k(O,{ref:r,...Se(h,p,_,{"data-state":y}),style:{"--icon-button-size":I,"--icon-button-border-radius":M},children:k(er,{label:n,children:f})})});oa.displayName="Button";const E_=P.div`
|
|
1064
1132
|
position: relative;
|
|
1065
1133
|
border-radius: ${u.border_radius_400};
|
|
1066
1134
|
border: 1px dashed ${u.color_fill_secondary_enabled};
|
|
@@ -1083,7 +1151,7 @@ border-width: 0;
|
|
|
1083
1151
|
&[data-state~='dropping'] {
|
|
1084
1152
|
border-color: ${u.color_outline_secondary_selected_pressed};
|
|
1085
1153
|
}
|
|
1086
|
-
`,
|
|
1154
|
+
`,S_=P.div`
|
|
1087
1155
|
border-radius: ${u.border_radius_circle};
|
|
1088
1156
|
display: grid;
|
|
1089
1157
|
place-content: center;
|
|
@@ -1095,24 +1163,24 @@ border-width: 0;
|
|
|
1095
1163
|
& > svg {
|
|
1096
1164
|
font-size: 1rem;
|
|
1097
1165
|
}
|
|
1098
|
-
`,
|
|
1166
|
+
`,T_=P.div`
|
|
1099
1167
|
display: flex;
|
|
1100
1168
|
gap: ${u.sizing_200};
|
|
1101
|
-
`,
|
|
1169
|
+
`,k_=P.div`
|
|
1102
1170
|
display: flex;
|
|
1103
1171
|
gap: ${u.sizing_500};
|
|
1104
1172
|
justify-content: space-between;
|
|
1105
1173
|
align-items: center;
|
|
1106
|
-
`,
|
|
1174
|
+
`,P_=P.div`
|
|
1107
1175
|
display: flex;
|
|
1108
1176
|
flex-direction: column;
|
|
1109
1177
|
gap: ${u.sizing_100};
|
|
1110
|
-
`,
|
|
1178
|
+
`,C_=P.footer`
|
|
1111
1179
|
margin-top: ${u.spacing_300};
|
|
1112
1180
|
display: flex;
|
|
1113
1181
|
justify-content: flex-end;
|
|
1114
1182
|
gap: ${u.sizing_200};
|
|
1115
|
-
`,
|
|
1183
|
+
`,D_=P.label`
|
|
1116
1184
|
cursor: pointer;
|
|
1117
1185
|
text-decoration: underline;
|
|
1118
1186
|
color: ${u.color_text_strong};
|
|
@@ -1132,28 +1200,28 @@ border-width: 0;
|
|
|
1132
1200
|
left: 0;
|
|
1133
1201
|
right: 0;
|
|
1134
1202
|
}
|
|
1135
|
-
`,
|
|
1203
|
+
`,I_=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),Gd=l.forwardRef((e,t)=>{const{file:r,onAddFile:n,onDeleteFile:o,fileTypes:a=[{name:"CSV",mime:"text/csv"}]}=e,i=at(t),s="file-uploader-file-input",{dropProps:c,isDropTarget:d}=Q$({ref:i,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 k(E_,{...c,role:"button",tabIndex:0,ref:i,"data-state":d?"dropping":"",children:r?le(k_,{children:[k(Ft,{size:"large",children:r.name}),le(Rs,{children:[k(Ks,{asChild:!0,children:k(oa,{label:"Remove file",size:"small",variant:"danger",children:k(Ee.Delete,{})})}),le(dc,{children:[k(Ft,{children:"Are you sure you want to remove this file?"}),le(C_,{children:[k(zo,{asChild:!0,children:k(ur,{variant:"secondary",size:"small",children:"Cancel"})}),k(zo,{asChild:!0,children:k(ur,{variant:"danger",size:"small",onClick:o,children:"Confirm"})})]})]})]})]}):le(T_,{children:[k(S_,{children:k(Ee.CloudUpload,{})}),le(P_,{children:[le(Ft,{variant:"weak",children:["Drag and drop to upload, or"," ",k(D_,{htmlFor:s,children:"browse files"})]}),le(Ft,{variant:"weak",size:"small",children:["Supported formats:"," ",I_.format(a.map(p=>p.name))]})]}),k("input",{onChange:f,type:"file",hidden:!0,id:s,accept:a.map(p=>p.mime).join(",")})]})})});Gd.displayName="FileUpload";const aa=P.h1`
|
|
1136
1204
|
font-family: ${u.font_family_inter_display};
|
|
1137
1205
|
font-weight: 500;
|
|
1138
1206
|
font-style: normal;
|
|
1139
1207
|
margin: 0;
|
|
1140
|
-
`,
|
|
1208
|
+
`,O_=P(aa)`
|
|
1141
1209
|
letter-spacing: ${u.letter_spacing_heading_large};
|
|
1142
1210
|
font-size: ${u.font_size_heading_large};
|
|
1143
|
-
`,
|
|
1211
|
+
`,A_=P(aa)`
|
|
1144
1212
|
letter-spacing: ${u.letter_spacing_heading_medium};
|
|
1145
1213
|
font-size: ${u.font_size_heading_medium};
|
|
1146
|
-
`,
|
|
1214
|
+
`,N_={small:P(aa)`
|
|
1147
1215
|
letter-spacing: ${u.letter_spacing_heading_small};
|
|
1148
1216
|
font-size: ${u.font_size_heading_small};
|
|
1149
|
-
`,medium:
|
|
1217
|
+
`,medium:A_,large:O_},qd=l.forwardRef((e,t)=>{const{children:r,as:n,size:o,...a}=e,i=N_[o];return k(i,{...a,ref:t,as:n,children:r})});qd.displayName="Heading";function ia(e){const t=e+"CollectionProvider",[r,n]=ke(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=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,_=a(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=a(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=a(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:i,Slot:c,ItemSlot:p},m,n]}const z_=l.createContext(void 0);function pn(e){const t=l.useContext(z_);return e||t||"ltr"}const sa="rovingFocusGroup.onEntryFocus",L_={bubbles:!1,cancelable:!0},la="RovingFocusGroup",[ca,Yd,M_]=ia(la),[F_,mn]=ke(la,[M_]),[V_,j_]=F_(la),R_=l.forwardRef((e,t)=>l.createElement(ca.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(ca.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(K_,E({},e,{ref:t}))))),K_=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:d,...f}=e,p=l.useRef(null),m=de(t,p),g=pn(a),[h=null,b]=Ve({prop:i,defaultProp:s,onChange:c}),[v,_]=l.useState(!1),$=Pe(d),w=Yd(r),y=l.useRef(!1),[O,M]=l.useState(0);return l.useEffect(()=>{const I=p.current;if(I)return I.addEventListener(sa,$),()=>I.removeEventListener(sa,$)},[$]),l.createElement(V_,{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(sa,L_);if(I.currentTarget.dispatchEvent(L),!L.defaultPrevented){const J=w().filter(U=>U.focusable),T=J.find(U=>U.active),Y=J.find(U=>U.id===h),S=[T,Y,...J].filter(Boolean).map(U=>U.ref.current);Xd(S)}}y.current=!1}),onBlur:G(e.onBlur,()=>_(!1))})))}),B_="RovingFocusGroupItem",W_=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...i}=e,s=Re(),c=a||s,d=j_(B_,r),f=d.currentTabStopId===c,p=Yd(r),{onFocusableItemAdd:m,onFocusableItemRemove:g}=d;return l.useEffect(()=>{if(n)return m(),()=>g()},[n,m,g]),l.createElement(ca.ItemSlot,{scope:r,id:c,focusable:n,active:o},l.createElement(re.span,E({tabIndex:f?0:-1,"data-orientation":d.orientation},i,{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=G_(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?q_(_,$+1):_.slice($+1)}setTimeout(()=>Xd(_))}})})))}),U_={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function H_(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function G_(e,t,r){const n=H_(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return U_[n]}function Xd(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function q_(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const Zd=R_,Jd=W_,Qd="Tabs",[Y_,mk]=ke(Qd,[mn]),ef=mn(),[X_,ua]=Y_(Qd),Z_=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:c="automatic",...d}=e,f=pn(s),[p,m]=Ve({prop:n,onChange:o,defaultProp:a});return l.createElement(X_,{scope:r,baseId:Re(),value:p,onValueChange:m,orientation:i,dir:f,activationMode:c},l.createElement(re.div,E({dir:f,"data-orientation":i},d,{ref:t})))}),J_="TabsList",Q_=l.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,a=ua(J_,r),i=ef(r);return l.createElement(Zd,E({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:n}),l.createElement(re.div,E({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),ex="TabsTrigger",tx=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,i=ua(ex,r),s=ef(r),c=tf(i.baseId,n),d=rf(i.baseId,n),f=n===i.value;return l.createElement(Jd,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},a,{ref:t,onMouseDown:G(e.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?i.onValueChange(n):p.preventDefault()}),onKeyDown:G(e.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&i.onValueChange(n)}),onFocus:G(e.onFocus,()=>{const p=i.activationMode!=="manual";!f&&!o&&p&&i.onValueChange(n)})})))}),rx="TabsContent",nx=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:a,...i}=e,s=ua(rx,r),c=tf(s.baseId,n),d=rf(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},i,{ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0}}),m&&a))});function tf(e,t){return`${e}-trigger-${t}`}function rf(e,t){return`${e}-content-${t}`}const ox=Z_,ax=Q_,ix=tx,sx=nx,lx=P(ox)`
|
|
1150
1218
|
display: flex;
|
|
1151
1219
|
flex-direction: column;
|
|
1152
1220
|
font-family: ${u.font_family_sans};
|
|
1153
|
-
`,
|
|
1221
|
+
`,cx=P(ax)`
|
|
1154
1222
|
flex-shrink: 0;
|
|
1155
1223
|
display: flex;
|
|
1156
|
-
`,
|
|
1224
|
+
`,nf=P(ix)`
|
|
1157
1225
|
all: unset;
|
|
1158
1226
|
font-family: inherit;
|
|
1159
1227
|
color: ${u.color_text_weak};
|
|
@@ -1173,6 +1241,7 @@ border-width: 0;
|
|
|
1173
1241
|
user-select: none;
|
|
1174
1242
|
-webkit-tap-highlight-color: transparent;
|
|
1175
1243
|
transition: ${u.transition_duration_200} background-color;
|
|
1244
|
+
|
|
1176
1245
|
/* transition: ${u.transition_duration_200} ${u.transition_property_color}; */
|
|
1177
1246
|
|
|
1178
1247
|
&:hover {
|
|
@@ -1188,7 +1257,7 @@ border-width: 0;
|
|
|
1188
1257
|
position: relative;
|
|
1189
1258
|
box-shadow: 0 0 0 1px ${u.color_black};
|
|
1190
1259
|
}
|
|
1191
|
-
`,
|
|
1260
|
+
`,ux=P(nf)`
|
|
1192
1261
|
display: flex;
|
|
1193
1262
|
align-items: center;
|
|
1194
1263
|
gap: ${u.sizing_200};
|
|
@@ -1196,20 +1265,20 @@ border-width: 0;
|
|
|
1196
1265
|
& > svg {
|
|
1197
1266
|
font-size: 1rem;
|
|
1198
1267
|
}
|
|
1199
|
-
`,
|
|
1268
|
+
`,dx=P(sx)`
|
|
1200
1269
|
flex-grow: 1;
|
|
1201
1270
|
padding: ${u.sizing_450};
|
|
1202
1271
|
background-color: white;
|
|
1203
1272
|
outline: none;
|
|
1204
1273
|
|
|
1205
|
-
&:focus {
|
|
1274
|
+
&:focus-visible {
|
|
1206
1275
|
box-shadow: ${u.elevation_interactive_low};
|
|
1207
1276
|
}
|
|
1208
|
-
`,
|
|
1277
|
+
`,da="horizontal",fx=["horizontal","vertical"],of=l.forwardRef((e,t)=>{const{decorative:r,orientation:n=da,...o}=e,a=af(n)?n:da,s=r?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return l.createElement(re.div,E({"data-orientation":a},s,o,{ref:t}))});of.propTypes={orientation(e,t,r){const n=e[t],o=String(n);return n&&!af(n)?new Error(px(o,r)):null}};function px(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
|
|
1209
1278
|
- horizontal
|
|
1210
1279
|
- vertical
|
|
1211
1280
|
|
|
1212
|
-
Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="ToastProvider",[la,Z_,J_]=bn("Toast"),[nf,JS]=xe("Toast",[J_]),[Q_,mn]=nf(rf),of=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,c]=l.useState(null),[d,f]=l.useState(0),p=l.useRef(!1),b=l.useRef(!1);return l.createElement(la.Provider,{scope:t},l.createElement(Q_,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:d,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>f(m=>m+1),[]),onToastRemove:l.useCallback(()=>f(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:b},i))};of.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${rf}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const ex="ToastViewport",tx=["F8"],ca="toast.viewportPause",ua="toast.viewportResume",rx=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=tx,label:o="Notifications ({hotkey})",...a}=e,i=mn(ex,r),s=Z_(r),c=l.useRef(null),d=l.useRef(null),f=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(ca);$.dispatchEvent(L),i.isClosePausedRef.current=!0}},E=()=>{if(i.isClosePausedRef.current){const L=new CustomEvent(ua);$.dispatchEvent(L),i.isClosePausedRef.current=!1}},y=L=>{!v.contains(L.relatedTarget)&&E()},A=()=>{v.contains(document.activeElement)||E()};return v.addEventListener("focusin",_),v.addEventListener("focusout",y),v.addEventListener("pointermove",_),v.addEventListener("pointerleave",A),window.addEventListener("blur",_),window.addEventListener("focus",E),()=>{v.removeEventListener("focusin",_),v.removeEventListener("focusout",y),v.removeEventListener("pointermove",_),v.removeEventListener("pointerleave",A),window.removeEventListener("blur",_),window.removeEventListener("focus",E)}}},[h,i.isClosePausedRef]);const g=l.useCallback(({tabbingDirection:v})=>{const _=s().map(E=>{const y=E.ref.current,A=[y,...hx(y)];return v==="forwards"?A:A.reverse()});return(v==="forwards"?_.reverse():_).flat()},[s]);return l.useEffect(()=>{const v=p.current;if(v){const $=_=>{const E=_.altKey||_.ctrlKey||_.metaKey;if(_.key==="Tab"&&!E){const N=document.activeElement,F=_.shiftKey;if(_.target===v&&F){var A;(A=d.current)===null||A===void 0||A.focus();return}const H=g({tabbingDirection:F?"backwards":"forwards"}),O=H.findIndex(T=>T===N);if(da(H.slice(O+1)))_.preventDefault();else{var L,P;F?(L=d.current)===null||L===void 0||L.focus():(P=f.current)===null||P===void 0||P.focus()}}};return v.addEventListener("keydown",$),()=>v.removeEventListener("keydown",$)}},[s,g]),l.createElement(ym,{ref:c,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:h?void 0:"none"}},h&&l.createElement(af,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});da(v)}}),l.createElement(la.Slot,{scope:r},l.createElement(J.ol,S({tabIndex:-1},a,{ref:b}))),h&&l.createElement(af,{ref:f,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});da(v)}}))}),nx="ToastFocusProxy",af=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=mn(nx,r);return l.createElement(Nr,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",ox="toast.swipeStart",ax="toast.swipeMove",ix="toast.swipeCancel",sx="toast.swipeEnd",lx=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=Ce({prop:n,defaultProp:o,onChange:a});return l.createElement(De,{present:r||s},l.createElement(sf,S({open:s},i,{ref:t,onClose:()=>c(!1),onPause:we(e.onPause),onResume:we(e.onResume),onSwipeStart:U(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:U(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:U(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:U(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)})})))}),[cx,ux]=nf(gn,{onClose(){}}),sf=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:c,onResume:d,onSwipeStart:f,onSwipeMove:p,onSwipeCancel:b,onSwipeEnd:m,...h}=e,g=mn(gn,r),[v,$]=l.useState(null),_=le(t,T=>$(T)),E=l.useRef(null),y=l.useRef(null),A=o||g.duration,L=l.useRef(0),P=l.useRef(A),N=l.useRef(0),{onToastAdd:F,onToastRemove:G}=g,k=we(()=>{var T;(v==null?void 0:v.contains(document.activeElement))&&((T=g.viewport)===null||T===void 0||T.focus()),i()}),H=l.useCallback(T=>{!T||T===1/0||(window.clearTimeout(N.current),L.current=new Date().getTime(),N.current=window.setTimeout(k,T))},[k]);l.useEffect(()=>{const T=g.viewport;if(T){const X=()=>{H(P.current),d==null||d()},ee=()=>{const de=new Date().getTime()-L.current;P.current=P.current-de,window.clearTimeout(N.current),c==null||c()};return T.addEventListener(ca,ee),T.addEventListener(ua,X),()=>{T.removeEventListener(ca,ee),T.removeEventListener(ua,X)}}},[g.viewport,A,c,d,H]),l.useEffect(()=>{a&&!g.isClosePausedRef.current&&H(A)},[a,A,g.isClosePausedRef,H]),l.useEffect(()=>(F(),()=>G()),[F,G]);const O=l.useMemo(()=>v?df(v):null,[v]);return g.viewport?l.createElement(l.Fragment,null,O&&l.createElement(dx,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},O),l.createElement(cx,{scope:r,onClose:k},bt.createPortal(l.createElement(la.ItemSlot,{scope:r},l.createElement(vm,{asChild:!0,onEscapeKeyDown:U(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||k(),g.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(J.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:U(e.onKeyDown,T=>{T.key==="Escape"&&(s==null||s(T.nativeEvent),T.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,k()))}),onPointerDown:U(e.onPointerDown,T=>{T.button===0&&(E.current={x:T.clientX,y:T.clientY})}),onPointerMove:U(e.onPointerMove,T=>{if(!E.current)return;const X=T.clientX-E.current.x,ee=T.clientY-E.current.y,de=Boolean(y.current),ge=["left","right"].includes(g.swipeDirection),te=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,w=ge?te(0,X):0,z=ge?0:te(0,ee),K=T.pointerType==="touch"?10:2,j={x:w,y:z},R={originalEvent:T,delta:j};de?(y.current=j,hn(ax,p,R,{discrete:!1})):ff(j,g.swipeDirection,K)?(y.current=j,hn(ox,f,R,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(X)>K||Math.abs(ee)>K)&&(E.current=null)}),onPointerUp:U(e.onPointerUp,T=>{const X=y.current,ee=T.target;if(ee.hasPointerCapture(T.pointerId)&&ee.releasePointerCapture(T.pointerId),y.current=null,E.current=null,X){const de=T.currentTarget,ge={originalEvent:T,delta:X};ff(X,g.swipeDirection,g.swipeThreshold)?hn(sx,m,ge,{discrete:!0}):hn(ix,b,ge,{discrete:!0}),de.addEventListener("click",te=>te.preventDefault(),{once:!0})}})})))),g.viewport))):null});sf.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 dx=e=>{const{__scopeToast:t,children:r,...n}=e,o=mn(gn,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return mx(()=>i(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(Yt,{asChild:!0},l.createElement(Nr,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},fx=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(J.div,S({},n,{ref:t}))}),px="ToastAction",lf=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(uf,{altText:r,asChild:!0},l.createElement(cf,S({},n,{ref:t}))):null});lf.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${px}\``)}};const bx="ToastClose",cf=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=ux(bx,r);return l.createElement(uf,{asChild:!0},l.createElement(J.button,S({type:"button"},n,{ref:t,onClick:U(e.onClick,o.onClose)})))}),uf=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(J.div,S({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function df(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),gx(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(...df(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?ki(o,a):o.dispatchEvent(a)}const ff=(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 mx(e=()=>{}){const t=we(e);Ee(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function gx(e){return e.nodeType===e.ELEMENT_NODE}function hx(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 da(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const vx=of,yx=rx,$x=lx,_x=fx,xx=lf,Ex=cf,fa=25,wx=D.keyframes`
|
|
1281
|
+
Defaulting to \`${da}\`.`}function af(e){return fx.includes(e)}const mx=of,sf="ToastProvider",[fa,bx,gx]=ia("Toast"),[lf,bk]=ke("Toast",[gx]),[hx,bn]=lf(sf),cf=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,c]=l.useState(null),[d,f]=l.useState(0),p=l.useRef(!1),m=l.useRef(!1);return l.createElement(fa.Provider,{scope:t},l.createElement(hx,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:d,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>f(g=>g+1),[]),onToastRemove:l.useCallback(()=>f(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:m},i))};cf.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${sf}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const vx="ToastViewport",yx=["F8"],pa="toast.viewportPause",ma="toast.viewportResume",$x=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=yx,label:o="Notifications ({hotkey})",...a}=e,i=bn(vx,r),s=bx(r),c=l.useRef(null),d=l.useRef(null),f=l.useRef(null),p=l.useRef(null),m=de(t,p,i.onViewportChange),g=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 M=new CustomEvent(pa);_.dispatchEvent(M),i.isClosePausedRef.current=!0}},w=()=>{if(i.isClosePausedRef.current){const M=new CustomEvent(ma);_.dispatchEvent(M),i.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,i.isClosePausedRef]);const b=l.useCallback(({tabbingDirection:v})=>{const $=s().map(w=>{const y=w.ref.current,O=[y,...zx(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(ba(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(zb,{ref:c,role:"region","aria-label":o.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:h?void 0:"none"}},h&&l.createElement(uf,{ref:d,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"forwards"});ba(v)}}),l.createElement(fa.Slot,{scope:r},l.createElement(re.ol,E({tabIndex:-1},a,{ref:m}))),h&&l.createElement(uf,{ref:f,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"backwards"});ba(v)}}))}),_x="ToastFocusProxy",uf=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=bn(_x,r);return l.createElement(Lr,E({"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",xx="toast.swipeStart",wx="toast.swipeMove",Ex="toast.swipeCancel",Sx="toast.swipeEnd",Tx=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=Ve({prop:n,defaultProp:o,onChange:a});return l.createElement(Oe,{present:r||s},l.createElement(df,E({open:s},i,{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,Px]=lf(gn,{onClose(){}}),df=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:c,onResume:d,onSwipeStart:f,onSwipeMove:p,onSwipeCancel:m,onSwipeEnd:g,...h}=e,b=bn(gn,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,T=Pe(()=>{var S;(v==null?void 0:v.contains(document.activeElement))&&((S=b.viewport)===null||S===void 0||S.focus()),i()}),Y=l.useCallback(S=>{!S||S===1/0||(window.clearTimeout(A.current),M.current=new Date().getTime(),A.current=window.setTimeout(T,S))},[T]);l.useEffect(()=>{const S=b.viewport;if(S){const U=()=>{Y(I.current),d==null||d()},ie=()=>{const ue=new Date().getTime()-M.current;I.current=I.current-ue,window.clearTimeout(A.current),c==null||c()};return S.addEventListener(pa,ie),S.addEventListener(ma,U),()=>{S.removeEventListener(pa,ie),S.removeEventListener(ma,U)}}},[b.viewport,O,c,d,Y]),l.useEffect(()=>{a&&!b.isClosePausedRef.current&&Y(O)},[a,O,b.isClosePausedRef,Y]),l.useEffect(()=>(L(),()=>J()),[L,J]);const C=l.useMemo(()=>v?bf(v):null,[v]);return b.viewport?l.createElement(l.Fragment,null,C&&l.createElement(Cx,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},C),l.createElement(kx,{scope:r,onClose:T},ft.createPortal(l.createElement(fa.ItemSlot,{scope:r},l.createElement(Nb,{asChild:!0,onEscapeKeyDown:G(s,()=>{b.isFocusedToastEscapeKeyDownRef.current||T(),b.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(re.li,E({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"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,T()))}),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,ie=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,N=he?te(0,U):0,j=he?0:te(0,ie),H=S.pointerType==="touch"?10:2,X={x:N,y:j},q={originalEvent:S,delta:X};ue?(y.current=X,hn(wx,p,q,{discrete:!1})):gf(X,b.swipeDirection,H)?(y.current=X,hn(xx,f,q,{discrete:!1}),S.target.setPointerCapture(S.pointerId)):(Math.abs(U)>H||Math.abs(ie)>H)&&(w.current=null)}),onPointerUp:G(e.onPointerUp,S=>{const U=y.current,ie=S.target;if(ie.hasPointerCapture(S.pointerId)&&ie.releasePointerCapture(S.pointerId),y.current=null,w.current=null,U){const ue=S.currentTarget,he={originalEvent:S,delta:U};gf(U,b.swipeDirection,b.swipeThreshold)?hn(Sx,g,he,{discrete:!0}):hn(Ex,m,he,{discrete:!0}),ue.addEventListener("click",te=>te.preventDefault(),{once:!0})}})})))),b.viewport))):null});df.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 Cx=e=>{const{__scopeToast:t,children:r,...n}=e,o=bn(gn,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return Ax(()=>i(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(Qt,{asChild:!0},l.createElement(Lr,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},Dx=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(re.div,E({},n,{ref:t}))}),Ix="ToastAction",ff=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(mf,{altText:r,asChild:!0},l.createElement(pf,E({},n,{ref:t}))):null});ff.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${Ix}\``)}};const Ox="ToastClose",pf=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=Px(Ox,r);return l.createElement(mf,{asChild:!0},l.createElement(re.button,E({type:"button"},n,{ref:t,onClick:G(e.onClick,o.onClose)})))}),mf=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 bf(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),Nx(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(...bf(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?Oi(o,a):o.dispatchEvent(a)}const gf=(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 Ax(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 Nx(e){return e.nodeType===e.ELEMENT_NODE}function zx(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){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const Lx=cf,Mx=$x,Fx=Tx,Vx=Dx,jx=ff,Rx=pf,ga=25,Kx=P.keyframes`
|
|
1213
1282
|
0% {
|
|
1214
1283
|
opacity: 1
|
|
1215
1284
|
}
|
|
@@ -1217,24 +1286,24 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1217
1286
|
100% {
|
|
1218
1287
|
opacity: 0
|
|
1219
1288
|
}
|
|
1220
|
-
`,
|
|
1289
|
+
`,Bx=P.keyframes`
|
|
1221
1290
|
from {
|
|
1222
|
-
transform: translateX(calc(100% + ${
|
|
1291
|
+
transform: translateX(calc(100% + ${ga}px));
|
|
1223
1292
|
}
|
|
1224
1293
|
|
|
1225
1294
|
to {
|
|
1226
1295
|
transform: translateX(0);
|
|
1227
1296
|
}
|
|
1228
|
-
`,
|
|
1297
|
+
`,Wx=P.keyframes`
|
|
1229
1298
|
from {
|
|
1230
1299
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
1231
1300
|
}
|
|
1232
1301
|
to {
|
|
1233
|
-
transform: translateX(calc(100% + ${
|
|
1302
|
+
transform: translateX(calc(100% + ${ga}px));
|
|
1234
1303
|
}
|
|
1235
|
-
`,
|
|
1304
|
+
`,Ux=P(jx)`
|
|
1236
1305
|
all: unset;
|
|
1237
|
-
`,
|
|
1306
|
+
`,hf=P(Rx)`
|
|
1238
1307
|
all: unset;
|
|
1239
1308
|
display: grid;
|
|
1240
1309
|
width: ${u.sizing_500};
|
|
@@ -1251,7 +1320,7 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1251
1320
|
& > svg {
|
|
1252
1321
|
font-size: 0.95rem;
|
|
1253
1322
|
}
|
|
1254
|
-
`,
|
|
1323
|
+
`,Hx=P(Vx)`
|
|
1255
1324
|
font-family: ${u.font_family_sans};
|
|
1256
1325
|
font-style: normal;
|
|
1257
1326
|
font-weight: 500;
|
|
@@ -1260,7 +1329,7 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1260
1329
|
letter-spacing: ${u.letter_spacing_tight};
|
|
1261
1330
|
display: flex;
|
|
1262
1331
|
align-items: center;
|
|
1263
|
-
`,
|
|
1332
|
+
`,vf=P(mx)`
|
|
1264
1333
|
background-color: var(--color-separator);
|
|
1265
1334
|
|
|
1266
1335
|
&[data-orientation='horizontal'] {
|
|
@@ -1274,20 +1343,20 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1274
1343
|
height: 100%;
|
|
1275
1344
|
width: 1;
|
|
1276
1345
|
}
|
|
1277
|
-
`,
|
|
1346
|
+
`,Gx={info:u.color_background_white_standard,inverse:u.color_background_sentiment_neutral,negative:u.color_background_sentiment_negative},qx={info:u.color_text_standard,inverse:u.color_background_white_standard,negative:u.color_background_white_standard},Yx={info:u.color_divider_weak,inverse:u.color_divider_inverse_weak,negative:u.color_divider_inverse_weak},Xx=P(Mx)`
|
|
1278
1347
|
position: fixed;
|
|
1279
1348
|
bottom: 0;
|
|
1280
1349
|
right: 0;
|
|
1281
1350
|
display: flex;
|
|
1282
1351
|
flex-direction: column;
|
|
1283
|
-
padding: ${
|
|
1352
|
+
padding: ${ga}px;
|
|
1284
1353
|
gap: 10px;
|
|
1285
1354
|
max-width: 100vw;
|
|
1286
1355
|
margin: 0;
|
|
1287
1356
|
list-style: none;
|
|
1288
1357
|
z-index: 30;
|
|
1289
1358
|
outline: none;
|
|
1290
|
-
`,
|
|
1359
|
+
`,Zx=P(Fx)`
|
|
1291
1360
|
display: flex;
|
|
1292
1361
|
flex-direction: row;
|
|
1293
1362
|
align-items: center;
|
|
@@ -1304,11 +1373,11 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1304
1373
|
}
|
|
1305
1374
|
|
|
1306
1375
|
&[data-state~='open'] {
|
|
1307
|
-
animation: ${
|
|
1376
|
+
animation: ${Bx} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
1308
1377
|
}
|
|
1309
1378
|
|
|
1310
1379
|
&[data-state~='closed'] {
|
|
1311
|
-
animation: ${
|
|
1380
|
+
animation: ${Kx} 100ms ease-in;
|
|
1312
1381
|
}
|
|
1313
1382
|
|
|
1314
1383
|
&[data-swipe='move'] {
|
|
@@ -1321,16 +1390,16 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1321
1390
|
}
|
|
1322
1391
|
|
|
1323
1392
|
&[data-swipe='end'] {
|
|
1324
|
-
animation: ${
|
|
1393
|
+
animation: ${Wx} 100ms ease-out;
|
|
1325
1394
|
}
|
|
1326
|
-
`;function
|
|
1395
|
+
`;function Jx({children:e,...t}){return k(Lx,{...t,children:e})}function Qx({title:e,children:t,sentiment:r,onDismiss:n,...o}){const a=Gx[r],i=qx[r],s=Yx[r];return le(Zx,{style:{"--color-background-notification":a,"--color-notification":i},...o,children:[r==="negative"?k(Ee.Warning,{height:18}):null,k(Hx,{children:e}),k(vf,{style:{"--color-separator":s}}),t,k(hf,{onClick:n,children:k(er,{label:"Dismiss notification",children:k(Ee.Close,{width:18,height:18})})})]})}const yf=P.div`
|
|
1327
1396
|
display: grid;
|
|
1328
1397
|
grid-template-columns: 1fr 1fr repeat(8, minmax(0, 150px)) 1fr 1fr;
|
|
1329
1398
|
column-gap: ${u.sizing_600};
|
|
1330
|
-
|
|
1399
|
+
`,$f=P.div`
|
|
1331
1400
|
grid-column: 3 / 11;
|
|
1332
1401
|
padding-top: ${u.sizing_450};
|
|
1333
|
-
`;function
|
|
1402
|
+
`;function e1({children:e,className:t}){return k(yf,{className:t,children:k($f,{children:e})})}const _f=P(ur)`
|
|
1334
1403
|
display: grid;
|
|
1335
1404
|
place-content: center;
|
|
1336
1405
|
border-radius: ${u.border_radius_400};
|
|
@@ -1346,15 +1415,15 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1346
1415
|
line-height: 0;
|
|
1347
1416
|
font-size: ${u.font_size_200};
|
|
1348
1417
|
}
|
|
1349
|
-
`,vn=l.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,a=r==="left"?
|
|
1418
|
+
`,vn=l.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,a=r==="left"?k(Ee.NavigateBefore,{}):k(Ee.NavigateNext,{});return k(_f,{variant:"inverse",emphasis:"high",ref:t,...o,children:k(er,{label:n,children:a})})});vn.displayName="PaginatorButton";const t1=P(_f)`
|
|
1350
1419
|
&[aria-current='true'] {
|
|
1351
1420
|
background-color: ${u.color_overlay_secondary_selected_enabled};
|
|
1352
1421
|
}
|
|
1353
|
-
`,yn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return
|
|
1422
|
+
`,yn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return k(t1,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});yn.displayName="PaginatorNumber";const r1=P.nav`
|
|
1354
1423
|
display: flex;
|
|
1355
1424
|
gap: 4px;
|
|
1356
1425
|
width: min-content;
|
|
1357
|
-
`;function
|
|
1426
|
+
`;function n1({nrOfPages:e,currentPage:t,onPrevious:r,onClick:n,onNext:o,className:a,ariaLabel:i="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(r1,{"aria-label":i,className:a,children:[k(vn,{direction:"left",label:"Previous",disabled:p,onClick:p?void 0:r}),d.map((g,h)=>g>-1?k(yn,{"aria-current":g===t,"aria-label":`Page ${g+1}`,onClick:()=>n(g),children:g+1},g):k(yn,{as:"span",children:"..."},`${g}-${h}`)),k(vn,{direction:"right",label:"Next",title:"next",disabled:m,onClick:m?void 0:o})]})}const xf="Radio",[o1,wf]=ke(xf),[a1,i1]=o1(xf),s1=l.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:a,disabled:i,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(a1,{scope:r,checked:o,disabled:i},l.createElement(re.button,E({type:"button",role:"radio","aria-checked":o,"data-state":Ef(o),"data-disabled":i?"":void 0,disabled:i,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(u1,{control:f,bubbles:!g.current,name:n,value:s,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),l1="RadioIndicator",c1=l.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,a=i1(l1,r);return l.createElement(Oe,{present:n||a.checked},l.createElement(re.span,E({"data-state":Ef(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),u1=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=en(r),s=Br(t);return l.useEffect(()=>{const c=a.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&p){const m=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(m)}},[i,r,n]),l.createElement("input",E({type:"radio","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Ef(e){return e?"checked":"unchecked"}const d1=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Sf="RadioGroup",[f1,gk]=ke(Sf,[mn,wf]),Tf=mn(),kf=wf(),[p1,m1]=f1(Sf),b1=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:a,required:i=!1,disabled:s=!1,orientation:c,dir:d,loop:f=!0,onValueChange:p,...m}=e,g=Tf(r),h=pn(d),[b,v]=Ve({prop:a,defaultProp:o,onChange:p});return l.createElement(p1,{scope:r,name:n,required:i,disabled:s,value:b,onValueChange:v},l.createElement(Zd,E({asChild:!0},g,{orientation:c,dir:h,loop:f}),l.createElement(re.div,E({role:"radiogroup","aria-required":i,"aria-orientation":c,"data-disabled":s?"":void 0,dir:h},m,{ref:t}))))}),g1="RadioGroupItem",h1=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,a=m1(g1,r),i=a.disabled||n,s=Tf(r),c=kf(r),d=l.useRef(null),f=de(t,d),p=a.value===o.value,m=l.useRef(!1);return l.useEffect(()=>{const g=b=>{d1.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(Jd,E({asChild:!0},s,{focusable:!i,active:p}),l.createElement(s1,E({disabled:i,required:a.required,checked:p},c,o,{name:a.name,ref:f,onCheck:()=>a.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())})})))}),v1=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=kf(r);return l.createElement(c1,E({},o,n,{ref:t}))}),y1=b1,$1=h1,_1=v1,Pf=P($1)`
|
|
1358
1427
|
all: unset;
|
|
1359
1428
|
--radio-width: ${u.sizing_600};
|
|
1360
1429
|
--inner-circle-color: ${u.color_white};
|
|
@@ -1413,7 +1482,7 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1413
1482
|
cursor: not-allowed;
|
|
1414
1483
|
color: ${u.color_fill_primary_disabled};
|
|
1415
1484
|
}
|
|
1416
|
-
`,
|
|
1485
|
+
`,Cf=P(_1)`
|
|
1417
1486
|
display: grid;
|
|
1418
1487
|
place-items: center;
|
|
1419
1488
|
width: 100%;
|
|
@@ -1444,7 +1513,7 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1444
1513
|
border-radius: ${u.border_radius_circle};
|
|
1445
1514
|
background-color: var(--inner-circle-color);
|
|
1446
1515
|
}
|
|
1447
|
-
`;function y1({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=at(),i=t??a,s=ln();return C(g1,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function $1({disabled:e,...t}){const r=at(),n=e??r,o=ln();return C(kf,{...t,...o,disabled:n,children:C(Pf,{})})}function Cf(e,[t,r]){return Math.min(r,Math.max(t,e))}const _1=[" ","Enter","ArrowUp","ArrowDown"],x1=[" ","Enter"],$n="Select",[_n,ga,E1]=bn($n),[fr,ek]=xe($n,[E1]),[w1,Ft]=fr($n),[T1,S1]=fr($n),k1=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:b,required:m}=e,[h,g]=l.useState(null),[v,$]=l.useState(null),[_,E]=l.useState(!1),y=dr(d),[A=!1,L]=Ce({prop:n,defaultProp:o,onChange:a}),[P,N]=Ce({prop:i,defaultProp:s,onChange:c}),F=l.useRef(null),G=h?Boolean(h.closest("form")):!0,[k,H]=l.useState(new Set),O=Array.from(k).map(T=>T.props.value).join(";");return l.createElement(w1,{required:m,scope:t,trigger:h,onTriggerChange:g,valueNode:v,onValueNodeChange:$,valueNodeHasChildren:_,onValueNodeHasChildrenChange:E,contentId:Ae(),value:P,onValueChange:N,open:A,onOpenChange:L,dir:y,triggerPointerDownPosRef:F,disabled:b},l.createElement(_n.Provider,{scope:t},l.createElement(T1,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(T=>{H(X=>new Set(X).add(T))},[]),onNativeOptionRemove:l.useCallback(T=>{H(X=>{const ee=new Set(X);return ee.delete(T),ee})},[])},r)),G?l.createElement(Af,{key:O,"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:p,value:P,onChange:T=>N(T.target.value),disabled:b},P===void 0?l.createElement("option",{value:""}):null,Array.from(k)):null)},P1="SelectTrigger",C1=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=Ft(P1,r),i=a.disabled||n,s=le(t,a.onTriggerChange),c=ga(r),[d,f,p]=Nf(m=>{const h=c().filter($=>!$.disabled),g=h.find($=>$.value===a.value),v=zf(h,m,g);v!==void 0&&a.onValueChange(v.value)}),b=()=>{i||(a.onOpenChange(!0),p())};return l.createElement(J.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:U(o.onClick,m=>{m.currentTarget.focus()}),onPointerDown:U(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:U(o.onKeyDown,m=>{const h=d.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&f(m.key),!(h&&m.key===" ")&&_1.includes(m.key)&&(b(),m.preventDefault())})}))}),D1="SelectValue",I1=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,c=Ft(D1,r),{onValueNodeHasChildrenChange:d}=c,f=a!==void 0,p=le(t,c.onValueNodeChange);return Ee(()=>{d(f)},[d,f]),l.createElement(J.span,S({},s,{ref:p,style:{pointerEvents:"none"}}),c.value===void 0&&i!==void 0?i:a)}),O1=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(J.span,S({"aria-hidden":!0},o,{ref:t}),n||"▼")}),A1=e=>l.createElement(Yt,S({asChild:!0},e)),ha="SelectContent",N1=l.forwardRef((e,t)=>{const r=Ft(ha,e.__scopeSelect),[n,o]=l.useState();return Ee(()=>{o(new DocumentFragment)},[]),l.createElement(l.Fragment,null,r.open?l.createElement(z1,S({},e,{ref:t})):n?bt.createPortal(l.createElement(Df,{scope:e.__scopeSelect},l.createElement(_n.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),n):null)}),it=10,[Df,Vt]=fr(ha),z1=l.forwardRef((e,t)=>{const{__scopeSelect:r,onCloseAutoFocus:n,...o}=e,a=Ft(ha,r),[i,s]=l.useState(null),[c,d]=l.useState(null),[f,p]=l.useState(null),b=le(t,w=>d(w)),[m,h]=l.useState(null),[g,v]=l.useState(null),$=ga(r),[_,E]=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[P,N]=l.useState();Ee(()=>{c&&N(window.getComputedStyle(c).zIndex)},[c]);const F=l.useCallback(w=>{const[z,...K]=$().map(q=>q.ref.current),[j]=K.slice(-1),R=document.activeElement;for(const q of w)if(q===R||(q==null||q.scrollIntoView({block:"nearest"}),q===z&&f&&(f.scrollTop=0),q===j&&f&&(f.scrollTop=f.scrollHeight),q==null||q.focus(),document.activeElement!==R))return},[$,f]),G=l.useCallback(()=>{if(a.trigger&&a.valueNode&&i&&c&&f&&m&&g){const w=a.trigger.getBoundingClientRect(),z=c.getBoundingClientRect(),K=a.valueNode.getBoundingClientRect(),j=g.getBoundingClientRect();if(a.dir!=="rtl"){const Je=j.left-z.left,Be=K.left-Je,Ue=w.left-Be,Qe=w.width+Ue,xr=Math.max(Qe,z.width),Er=window.innerWidth-it,wr=Cf(Be,[it,Er-xr]);i.style.minWidth=Qe+"px",i.style.left=wr+"px"}else{const Je=z.right-j.right,Be=window.innerWidth-K.right-Je,Ue=window.innerWidth-w.right-Be,Qe=w.width+Ue,xr=Math.max(Qe,z.width),Er=window.innerWidth-it,wr=Cf(Be,[it,Er-xr]);i.style.minWidth=Qe+"px",i.style.right=wr+"px"}const R=$(),q=window.innerHeight-it*2,Y=f.scrollHeight,Z=window.getComputedStyle(c),Q=parseInt(Z.borderTopWidth,10),ae=parseInt(Z.paddingTop,10),ne=parseInt(Z.borderBottomWidth,10),ve=parseInt(Z.paddingBottom,10),he=Q+ae+Y+ve+ne,Se=Math.min(m.offsetHeight*5,he),Re=window.getComputedStyle(f),Oe=parseInt(Re.paddingTop,10),Ke=parseInt(Re.paddingBottom,10),ye=w.top+w.height/2-it,$e=q-ye,ze=m.offsetHeight/2,Le=m.offsetTop+ze,ft=Q+ae+Le,Ht=he-ft;if(ft<=ye){const Je=m===R[R.length-1].ref.current;i.style.bottom="0px";const Be=c.clientHeight-f.offsetTop-f.offsetHeight,Ue=Math.max($e,ze+(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,Q+f.offsetTop+(Je?Oe:0)+ze)+Ht;i.style.height=Ue+"px",f.scrollTop=ft-ye+f.offsetTop}i.style.margin=`${it}px 0`,i.style.minHeight=Se+"px",i.style.maxHeight=q+"px",E(!0),requestAnimationFrame(()=>A.current=!0)}},[$,a.trigger,a.valueNode,i,c,f,m,g,a.dir]);Ee(()=>G(),[G]);const k=l.useCallback(()=>F([m,c]),[F,m,c]);l.useEffect(()=>{_&&k()},[_,k]);const H=l.useCallback(w=>{w&&y.current===!0&&(G(),k(),y.current=!1)},[G,k]),{onOpenChange:O,triggerPointerDownPosRef:T}=a;l.useEffect(()=>{if(c){let w={x:0,y:0};const z=j=>{var R,q,Y,Z;w={x:Math.abs(Math.round(j.pageX)-((R=(q=T.current)===null||q===void 0?void 0:q.x)!==null&&R!==void 0?R:0)),y:Math.abs(Math.round(j.pageY)-((Y=(Z=T.current)===null||Z===void 0?void 0:Z.y)!==null&&Y!==void 0?Y:0))}},K=j=>{w.x<=10&&w.y<=10?j.preventDefault():c.contains(j.target)||O(!1),document.removeEventListener("pointermove",z),T.current=null};return T.current!==null&&(document.addEventListener("pointermove",z),document.addEventListener("pointerup",K,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",z),document.removeEventListener("pointerup",K,{capture:!0})}}},[c,O,T]),l.useEffect(()=>{const w=()=>O(!1);return window.addEventListener("blur",w),window.addEventListener("resize",w),()=>{window.removeEventListener("blur",w),window.removeEventListener("resize",w)}},[O]);const[X,ee]=Nf(w=>{const z=$().filter(R=>!R.disabled),K=z.find(R=>R.ref.current===document.activeElement),j=zf(z,w,K);j&&setTimeout(()=>j.ref.current.focus())}),de=l.useCallback((w,z,K)=>{const j=!L.current&&!K;(a.value!==void 0&&a.value===z||j)&&(h(w),j&&(L.current=!0))},[a.value]),ge=l.useCallback(()=>c==null?void 0:c.focus(),[c]),te=l.useCallback((w,z,K)=>{const j=!L.current&&!K;(a.value!==void 0&&a.value===z||j)&&v(w)},[a.value]);return l.createElement(Df,{scope:r,contentWrapper:i,content:c,viewport:f,onViewportChange:p,itemRefCallback:de,selectedItem:m,onItemLeave:ge,itemTextRefCallback:te,selectedItemText:g,onScrollButtonChange:H,isPositioned:_,shouldExpandOnScrollRef:A,searchRef:X},l.createElement(Hn,{as:mt,allowPinchZoom:!0},l.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P}},l.createElement(jn,{asChild:!0,trapped:a.open,onMountAutoFocus:w=>{w.preventDefault()},onUnmountAutoFocus:U(n,w=>{var z;(z=a.trigger)===null||z===void 0||z.focus({preventScroll:!0}),w.preventDefault()})},l.createElement(qt,S({role:"listbox",id:a.contentId,"data-state":a.open?"open":"closed",dir:a.dir,onContextMenu:w=>w.preventDefault()},o,{ref:b,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:w=>w.preventDefault(),onDismiss:()=>a.onOpenChange(!1),onKeyDown:U(o.onKeyDown,w=>{const z=w.ctrlKey||w.altKey||w.metaKey;if(w.key==="Tab"&&w.preventDefault(),!z&&w.key.length===1&&ee(w.key),["ArrowUp","ArrowDown","Home","End"].includes(w.key)){let j=$().filter(R=>!R.disabled).map(R=>R.ref.current);if(["ArrowUp","End"].includes(w.key)&&(j=j.slice().reverse()),["ArrowUp","ArrowDown"].includes(w.key)){const R=w.target,q=j.indexOf(R);j=j.slice(q+1)}setTimeout(()=>F(j)),w.preventDefault()}})}))))))}),L1="SelectViewport",M1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Vt(L1,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(J.div,S({"data-radix-select-viewport":"",role:"presentation"},n,{ref:a,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:U(n.onScroll,s=>{const c=s.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:f}=o;if(f!=null&&f.current&&d){const p=Math.abs(i.current-c.scrollTop);if(p>0){const b=window.innerHeight-it*2,m=parseFloat(d.style.minHeight),h=parseFloat(d.style.height),g=Math.max(m,h);if(g<b){const v=g+p,$=Math.min(b,v),_=v-$;d.style.height=$+"px",d.style.bottom==="0px"&&(c.scrollTop=_>0?_:0,d.style.justifyContent="flex-end")}}}i.current=c.scrollTop})}))))}),F1="SelectGroup",[V1,j1]=fr(F1),R1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ae();return l.createElement(V1,{scope:r,id:o},l.createElement(J.div,S({role:"group","aria-labelledby":o},n,{ref:t})))}),K1="SelectLabel",B1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=j1(K1,r);return l.createElement(J.div,S({id:o.id},n,{ref:t}))}),va="SelectItem",[U1,If]=fr(va),W1=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=Ft(va,r),c=Vt(va,r),d=s.value===n,[f,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=Ae(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(U1,{scope:r,value:n,disabled:o,textId:g,isSelected:d,onItemTextChange:l.useCallback($=>{p(_=>{var E;return _||((E=$==null?void 0:$.textContent)!==null&&E!==void 0?E:"").trim()})},[])},l.createElement(_n.ItemSlot,{scope:r,value:n,disabled:o,textValue:f},l.createElement(J.div,S({role:"option","aria-labelledby":g,"data-highlighted":b?"":void 0,"aria-selected":d&&b,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},i,{ref:h,onFocus:U(i.onFocus,()=>m(!0)),onBlur:U(i.onBlur,()=>m(!1)),onPointerUp:U(i.onPointerUp,v),onPointerMove:U(i.onPointerMove,$=>{if(o){var _;(_=c.onItemLeave)===null||_===void 0||_.call(c)}else $.currentTarget.focus({preventScroll:!0})}),onPointerLeave:U(i.onPointerLeave,$=>{if($.currentTarget===document.activeElement){var _;(_=c.onItemLeave)===null||_===void 0||_.call(c)}}),onKeyDown:U(i.onKeyDown,$=>{var _;((_=c.searchRef)===null||_===void 0?void 0:_.current)!==""&&$.key===" "||(x1.includes($.key)&&v(),$.key===" "&&$.preventDefault())})}))))}),xn="SelectItemText",H1=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=Ft(xn,r),s=Vt(xn,r),c=If(xn,r),d=S1(xn,r),[f,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=f==null?void 0:f.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}=d;return Ee(()=>(g(h),()=>v(h)),[g,v,h]),l.createElement(l.Fragment,null,l.createElement(J.span,S({id:c.textId},a,{ref:b})),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?bt.createPortal(a.children,i.valueNode):null)}),G1="SelectItemIndicator",q1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return If(G1,r).isSelected?l.createElement(J.span,S({"aria-hidden":!0},n,{ref:t})):null}),Y1="SelectScrollUpButton",X1=l.forwardRef((e,t)=>{const r=Vt(Y1,e.__scopeSelect),[n,o]=l.useState(!1),a=le(t,r.onScrollButtonChange);return Ee(()=>{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(Of,S({},e,{ref:a,onAutoScroll:()=>{const{viewport:i,selectedItem:s}=r;i&&s&&(i.scrollTop=i.scrollTop-s.offsetHeight)}})):null}),Z1="SelectScrollDownButton",J1=l.forwardRef((e,t)=>{const r=Vt(Z1,e.__scopeSelect),[n,o]=l.useState(!1),a=le(t,r.onScrollButtonChange);return Ee(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=i.scrollHeight-i.clientHeight,d=Math.ceil(i.scrollTop)<c;o(d)};const i=r.viewport;return s(),i.addEventListener("scroll",s),()=>i.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(Of,S({},e,{ref:a,onAutoScroll:()=>{const{viewport:i,selectedItem:s}=r;i&&s&&(i.scrollTop=i.scrollTop+s.offsetHeight)}})):null}),Of=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=Vt("SelectScrollButton",r),i=l.useRef(null),s=ga(r),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),Ee(()=>{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(J.div,S({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:U(o.onPointerMove,()=>{var d;(d=a.onItemLeave)===null||d===void 0||d.call(a),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:U(o.onPointerLeave,()=>{c()})}))}),Q1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(J.div,S({"aria-hidden":!0},n,{ref:t}))}),Af=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),a=le(t,o),i=tn(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==r&&f){const p=new Event("change",{bubbles:!0});f.call(s,r),s.dispatchEvent(p)}},[i,r]),l.createElement(Nr,{asChild:!0},l.createElement("select",S({},n,{ref:a,defaultValue:r})))});Af.displayName="BubbleSelect";function Nf(e){const t=we(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(i=>{const s=r.current+i;t(s),function c(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),a=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,a]}function zf(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let i=eE(e,Math.max(a,0));o.length===1&&(i=i.filter(d=>d!==r));const c=i.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function eE(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const tE=k1,rE=I1,nE=A1,oE=N1,aE=M1,iE=R1,sE=B1,lE=W1,cE=H1,uE=q1,dE=X1,fE=J1,pE=Q1,Lf=D(C1)`
|
|
1516
|
+
`;function x1({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=Ue(),i=t??a,s=sn();return k(y1,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function w1({disabled:e,...t}){const r=Ue(),n=e??r,o=sn();return k(Pf,{...t,...o,disabled:n,children:k(Cf,{})})}function Df(e,[t,r]){return Math.min(r,Math.max(t,e))}const E1=[" ","Enter","ArrowUp","ArrowDown"],S1=[" ","Enter"],$n="Select",[_n,xn,T1]=ia($n),[Vt,hk]=ke($n,[T1,Ot]),ha=Ot(),[k1,xt]=Vt($n),[P1,C1]=Vt($n),D1=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:m,required:g}=e,h=ha(t),[b,v]=l.useState(null),[_,$]=l.useState(null),[w,y]=l.useState(!1),O=pn(d),[M=!1,I]=Ve({prop:n,defaultProp:o,onChange:a}),[A,L]=Ve({prop:i,defaultProp:s,onChange:c}),J=l.useRef(null),T=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(lo,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(_n.Provider,{scope:t},l.createElement(P1,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(U=>{C(ie=>new Set(ie).add(U))},[]),onNativeOptionRemove:l.useCallback(U=>{C(ie=>{const ue=new Set(ie);return ue.delete(U),ue})},[])},r)),T?l.createElement(Ff,{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))},I1="SelectTrigger",O1=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=ha(r),i=xt(I1,r),s=i.disabled||n,c=de(t,i.onTriggerChange),d=xn(r),[f,p,m]=Vf(h=>{const b=d().filter($=>!$.disabled),v=b.find($=>$.value===i.value),_=jf(b,h,v);_!==void 0&&i.onValueChange(_.value)}),g=()=>{s||(i.onOpenChange(!0),m())};return l.createElement(co,E({asChild:!0},a),l.createElement(re.button,E({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:c,onClick: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(),i.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===" ")&&E1.includes(h.key)&&(g(),h.preventDefault())})})))}),A1="SelectValue",N1=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,c=xt(A1,r),{onValueNodeHasChildrenChange:d}=c,f=a!==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&&i!==void 0?i:a)}),z1=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(re.span,E({"aria-hidden":!0},o,{ref:t}),n||"▼")}),L1=e=>l.createElement(Qt,E({asChild:!0},e)),jt="SelectContent",M1=l.forwardRef((e,t)=>{const r=xt(jt,e.__scopeSelect),[n,o]=l.useState();if(xe(()=>{o(new DocumentFragment)},[]),!r.open){const a=n;return a?ft.createPortal(l.createElement(If,{scope:e.__scopeSelect},l.createElement(_n.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),a):null}return l.createElement(F1,E({},e,{ref:t}))}),et=10,[If,wt]=Vt(jt),F1=l.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:i,side:s,sideOffset:c,align:d,alignOffset:f,arrowPadding:p,collisionBoundary:m,collisionPadding:g,sticky:h,hideWhenDetached:b,avoidCollisions:v,..._}=e,$=xt(jt,r),[w,y]=l.useState(null),[O,M]=l.useState(null),I=de(t,V=>y(V)),[A,L]=l.useState(null),[J,T]=l.useState(null),Y=xn(r),[C,S]=l.useState(!1),U=l.useRef(!1);l.useEffect(()=>{if(w)return qn(w)},[w]),Kn();const ie=l.useCallback(V=>{const[K,...Z]=Y().map(Q=>Q.ref.current),[W]=Z.slice(-1),ne=document.activeElement;for(const Q of V)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(()=>ie([A,w]),[ie,A,w]);l.useEffect(()=>{C&&ue()},[C,ue]);const{onOpenChange:he,triggerPointerDownPosRef:te}=$;l.useEffect(()=>{if(w){let V={x:0,y:0};const K=W=>{var ne,Q,ye,we;V={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=>{V.x<=10&&V.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 V=()=>he(!1);return window.addEventListener("blur",V),window.addEventListener("resize",V),()=>{window.removeEventListener("blur",V),window.removeEventListener("resize",V)}},[he]);const[N,j]=Vf(V=>{const K=Y().filter(ne=>!ne.disabled),Z=K.find(ne=>ne.ref.current===document.activeElement),W=jf(K,V,Z);W&&setTimeout(()=>W.ref.current.focus())}),H=l.useCallback((V,K,Z)=>{const W=!U.current&&!Z;($.value!==void 0&&$.value===K||W)&&(L(V),W&&(U.current=!0))},[$.value]),X=l.useCallback(()=>w==null?void 0:w.focus(),[w]),q=l.useCallback((V,K,Z)=>{const W=!U.current&&!Z;($.value!==void 0&&$.value===K||W)&&T(V)},[$.value]),se=n==="popper"?Of:V1,ee=se===Of?{side:s,sideOffset:c,align:d,alignOffset:f,arrowPadding:p,collisionBoundary:m,collisionPadding:g,sticky:h,hideWhenDetached:b,avoidCollisions:v}:{};return l.createElement(If,{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:N},l.createElement(Hn,{as:pt,allowPinchZoom:!0},l.createElement(jn,{asChild:!0,trapped:$.open,onMountAutoFocus:V=>{V.preventDefault()},onUnmountAutoFocus:G(o,V=>{var K;(K=$.trigger)===null||K===void 0||K.focus({preventScroll:!0}),V.preventDefault()})},l.createElement(Jt,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:V=>V.preventDefault(),onDismiss:()=>$.onOpenChange(!1)},l.createElement(se,E({role:"listbox",id:$.contentId,"data-state":$.open?"open":"closed",dir:$.dir,onContextMenu:V=>V.preventDefault()},_,ee,{onPlaced:()=>S(!0),ref:I,style:{display:"flex",flexDirection:"column",outline:"none",..._.style},onKeyDown:G(_.onKeyDown,V=>{const K=V.ctrlKey||V.altKey||V.metaKey;if(V.key==="Tab"&&V.preventDefault(),!K&&V.key.length===1&&j(V.key),["ArrowUp","ArrowDown","Home","End"].includes(V.key)){let W=Y().filter(ne=>!ne.disabled).map(ne=>ne.ref.current);if(["ArrowUp","End"].includes(V.key)&&(W=W.slice().reverse()),["ArrowUp","ArrowDown"].includes(V.key)){const ne=V.target,Q=W.indexOf(ne);W=W.slice(Q+1)}setTimeout(()=>ie(W)),V.preventDefault()}})}))))))}),V1=l.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,a=xt(jt,r),i=wt(jt,r),[s,c]=l.useState(null),[d,f]=l.useState(null),p=de(t,I=>f(I)),m=xn(r),g=l.useRef(!1),h=l.useRef(!0),{viewport:b,selectedItem:v,selectedItemText:_,focusSelectedItem:$}=i,w=l.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&d&&b&&v&&_){const I=a.trigger.getBoundingClientRect(),A=d.getBoundingClientRect(),L=a.valueNode.getBoundingClientRect(),J=_.getBoundingClientRect();if(a.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-et,ze=Df(Q,[et,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-et,ze=Df(Q,[et,De-Ne]);s.style.minWidth=we+"px",s.style.right=ze+"px"}const T=m(),Y=window.innerHeight-et*2,C=b.scrollHeight,S=window.getComputedStyle(d),U=parseInt(S.borderTopWidth,10),ie=parseInt(S.paddingTop,10),ue=parseInt(S.borderBottomWidth,10),he=parseInt(S.paddingBottom,10),te=U+ie+C+he+ue,N=Math.min(v.offsetHeight*5,te),j=window.getComputedStyle(b),H=parseInt(j.paddingTop,10),X=parseInt(j.paddingBottom,10),q=I.top+I.height/2-et,se=Y-q,ee=v.offsetHeight/2,V=v.offsetTop+ee,K=U+ie+V,Z=te-K;if(K<=q){const ne=v===T[T.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===T[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=`${et}px 0`,s.style.minHeight=N+"px",s.style.maxHeight=Y+"px",n==null||n(),requestAnimationFrame(()=>g.current=!0)}},[m,a.trigger,a.valueNode,s,d,b,v,_,a.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(j1,{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}}))))}),Of=l.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=et,...a}=e,i=ha(r);return l.createElement(uo,E({},i,a,{ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[j1,va]=Vt(jt,{}),Af="SelectViewport",R1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=wt(Af,r),a=va(Af,r),i=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(_n.Slot,{scope:r},l.createElement(re.div,E({"data-radix-select-viewport":"",role:"presentation"},n,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:G(n.onScroll,c=>{const d=c.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:p}=a;if(p!=null&&p.current&&f){const m=Math.abs(s.current-d.scrollTop);if(m>0){const g=window.innerHeight-et*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})}))))}),K1="SelectGroup",[B1,W1]=Vt(K1),U1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Re();return l.createElement(B1,{scope:r,id:o},l.createElement(re.div,E({role:"group","aria-labelledby":o},n,{ref:t})))}),H1="SelectLabel",G1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=W1(H1,r);return l.createElement(re.div,E({id:o.id},n,{ref:t}))}),ya="SelectItem",[q1,Nf]=Vt(ya),Y1=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=xt(ya,r),c=wt(ya,r),d=s.value===n,[f,p]=l.useState(a??""),[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(q1,{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(_n.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},i,{ref:h,onFocus:G(i.onFocus,()=>g(!0)),onBlur:G(i.onBlur,()=>g(!1)),onPointerUp:G(i.onPointerUp,v),onPointerMove:G(i.onPointerMove,_=>{if(o){var $;($=c.onItemLeave)===null||$===void 0||$.call(c)}else _.currentTarget.focus({preventScroll:!0})}),onPointerLeave:G(i.onPointerLeave,_=>{if(_.currentTarget===document.activeElement){var $;($=c.onItemLeave)===null||$===void 0||$.call(c)}}),onKeyDown:G(i.onKeyDown,_=>{var $;(($=c.searchRef)===null||$===void 0?void 0:$.current)!==""&&_.key===" "||(S1.includes(_.key)&&v(),_.key===" "&&_.preventDefault())})}))))}),wn="SelectItemText",X1=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=xt(wn,r),s=wt(wn,r),c=Nf(wn,r),d=C1(wn,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},a,{ref:m})),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?ft.createPortal(a.children,i.valueNode):null)}),Z1="SelectItemIndicator",J1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Nf(Z1,r).isSelected?l.createElement(re.span,E({"aria-hidden":!0},n,{ref:t})):null}),zf="SelectScrollUpButton",Q1=l.forwardRef((e,t)=>{const r=wt(zf,e.__scopeSelect),n=va(zf,e.__scopeSelect),[o,a]=l.useState(!1),i=de(t,n.onScrollButtonChange);return xe(()=>{if(r.viewport&&r.isPositioned){let c=function(){const d=s.scrollTop>0;a(d)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(Mf,E({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop-c.offsetHeight)}})):null}),Lf="SelectScrollDownButton",ew=l.forwardRef((e,t)=>{const r=wt(Lf,e.__scopeSelect),n=va(Lf,e.__scopeSelect),[o,a]=l.useState(!1),i=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;a(f)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(Mf,E({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop+c.offsetHeight)}})):null}),Mf=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=wt("SelectScrollButton",r),i=l.useRef(null),s=xn(r),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.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=a.onItemLeave)===null||d===void 0||d.call(a),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:G(o.onPointerLeave,()=>{c()})}))}),tw=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(re.div,E({"aria-hidden":!0},n,{ref:t}))}),Ff=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),a=de(t,o),i=en(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==r&&f){const p=new Event("change",{bubbles:!0});f.call(s,r),s.dispatchEvent(p)}},[i,r]),l.createElement(Lr,{asChild:!0},l.createElement("select",E({},n,{ref:a,defaultValue:r})))});Ff.displayName="BubbleSelect";function Vf(e){const t=Pe(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(i=>{const s=r.current+i;t(s),function c(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),a=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,a]}function jf(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let i=rw(e,Math.max(a,0));o.length===1&&(i=i.filter(d=>d!==r));const c=i.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function rw(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const nw=D1,ow=N1,aw=L1,iw=M1,sw=R1,lw=U1,cw=G1,uw=Y1,dw=X1,fw=J1,pw=Q1,mw=ew,bw=tw,Rf=P(O1)`
|
|
1448
1517
|
all: unset;
|
|
1449
1518
|
display: flex;
|
|
1450
1519
|
align-items: center;
|
|
@@ -1476,19 +1545,19 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1476
1545
|
color: ${u.color_fill_primary_disabled};
|
|
1477
1546
|
cursor: not-allowed;
|
|
1478
1547
|
}
|
|
1479
|
-
`,
|
|
1548
|
+
`,gw=P(z1)`
|
|
1480
1549
|
color: ${u.color_fill_secondary_enabled};
|
|
1481
|
-
`,
|
|
1550
|
+
`,hw=P(iw)`
|
|
1482
1551
|
font-family: ${u.font_family_sans};
|
|
1483
1552
|
overflow: hidden;
|
|
1484
1553
|
background-color: ${u.color_white};
|
|
1485
1554
|
margin-top: 52px;
|
|
1486
1555
|
border-radius: ${u.border_radius_400};
|
|
1487
1556
|
box-shadow: ${u.elevation_static_high};
|
|
1488
|
-
`,
|
|
1557
|
+
`,vw=P(sw)`
|
|
1489
1558
|
padding: ${u.sizing_100};
|
|
1490
1559
|
min-width: 172px;
|
|
1491
|
-
`;function
|
|
1560
|
+
`;function Kf({children:e,...t}){return k(aw,{children:k(hw,{...t,children:e})})}const yw=P(uw)`
|
|
1492
1561
|
all: unset;
|
|
1493
1562
|
font-size: ${u.font_size_100};
|
|
1494
1563
|
line-height: ${u.line_height_129};
|
|
@@ -1512,17 +1581,17 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1512
1581
|
&[data-highlighted] {
|
|
1513
1582
|
background-color: ${u.color_background_white_weak}; /* Static / Background / Weak */
|
|
1514
1583
|
}
|
|
1515
|
-
|
|
1584
|
+
`,$w=P(cw)`
|
|
1516
1585
|
padding: 7px ${u.sizing_200};
|
|
1517
1586
|
font-size: ${u.font_size_50};
|
|
1518
1587
|
line-height: ${u.line_height_133};
|
|
1519
1588
|
color: ${u.color_text_weak};
|
|
1520
1589
|
font-style: normal;
|
|
1521
|
-
`,
|
|
1590
|
+
`,_w=P(bw)`
|
|
1522
1591
|
height: 1px;
|
|
1523
1592
|
background-color: ${u.color_divider_standard};
|
|
1524
1593
|
margin: ${u.spacing_100};
|
|
1525
|
-
|
|
1594
|
+
`,xw=P(fw)`
|
|
1526
1595
|
left: 0;
|
|
1527
1596
|
width: 25px;
|
|
1528
1597
|
display: inline-flex;
|
|
@@ -1533,7 +1602,7 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1533
1602
|
line-height: 0;
|
|
1534
1603
|
font-size: ${u.font_size_200};
|
|
1535
1604
|
}
|
|
1536
|
-
`,
|
|
1605
|
+
`,Bf=`
|
|
1537
1606
|
display: flex;
|
|
1538
1607
|
align-items: center;
|
|
1539
1608
|
justify-content: center;
|
|
@@ -1541,38 +1610,38 @@ Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="T
|
|
|
1541
1610
|
background-color: ${u.color_white};
|
|
1542
1611
|
color: ${u.color_black};
|
|
1543
1612
|
cursor: default;
|
|
1544
|
-
`,
|
|
1545
|
-
${
|
|
1546
|
-
`,
|
|
1547
|
-
${
|
|
1548
|
-
`,
|
|
1613
|
+
`,ww=P(pw)`
|
|
1614
|
+
${Bf}
|
|
1615
|
+
`,Ew=P(mw)`
|
|
1616
|
+
${Bf}
|
|
1617
|
+
`,Wf=nw,Uf=Rf,Hf=ow,Gf=gw,Sw=vw,Tw=lw,qf=yw,Yf=dw,kw=xw,Pw=$w,Cw=_w,Xf=ww,Zf=Ew;function Dw({items:e,...t}){return le(Wf,{...t,children:[le(Uf,{"aria-label":"Food",children:[k(Hf,{placeholder:"Select"}),k(Gf,{children:k(Ee.ArrowDropDown,{})})]}),le(Kf,{children:[k(Xf,{children:k(Ee.ArrowDropUp,{})}),e.map(r=>k(qf,{value:r,children:k(Yf,{children:r})},r)),k(Zf,{children:k(Ee.ArrowDropDown,{})})]})]})}function Iw(e){let[t,r]=qs(Jf(e.value),Jf(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function Jf(e){if(e!=null)return e.toString()}function Ow(e){return e&&e.__esModule?e.default:e}var Qf={},ep={};ep={"Clear search":"مسح البحث"};var tp={};tp={"Clear search":"Изчистване на търсене"};var rp={};rp={"Clear search":"Vymazat hledání"};var np={};np={"Clear search":"Ryd søgning"};var op={};op={"Clear search":"Suche zurücksetzen"};var ap={};ap={"Clear search":"Απαλοιφή αναζήτησης"};var ip={};ip={"Clear search":"Clear search"};var sp={};sp={"Clear search":"Borrar búsqueda"};var lp={};lp={"Clear search":"Tühjenda otsing"};var cp={};cp={"Clear search":"Tyhjennä haku"};var up={};up={"Clear search":"Effacer la recherche"};var dp={};dp={"Clear search":"נקה חיפוש"};var fp={};fp={"Clear search":"Obriši pretragu"};var pp={};pp={"Clear search":"Keresés törlése"};var mp={};mp={"Clear search":"Cancella ricerca"};var bp={};bp={"Clear search":"検索をクリア"};var gp={};gp={"Clear search":"검색 지우기"};var hp={};hp={"Clear search":"Išvalyti iešką"};var vp={};vp={"Clear search":"Notīrīt meklēšanu"};var yp={};yp={"Clear search":"Tøm søk"};var $p={};$p={"Clear search":"Zoekactie wissen"};var _p={};_p={"Clear search":"Wyczyść zawartość wyszukiwania"};var xp={};xp={"Clear search":"Limpar pesquisa"};var wp={};wp={"Clear search":"Limpar pesquisa"};var Ep={};Ep={"Clear search":"Ştergeţi căutarea"};var Sp={};Sp={"Clear search":"Очистить поиск"};var Tp={};Tp={"Clear search":"Vymazať vyhľadávanie"};var kp={};kp={"Clear search":"Počisti iskanje"};var Pp={};Pp={"Clear search":"Obriši pretragu"};var Cp={};Cp={"Clear search":"Rensa sökning"};var Dp={};Dp={"Clear search":"Aramayı temizle"};var Ip={};Ip={"Clear search":"Очистити пошук"};var Op={};Op={"Clear search":"清除搜索"};var Ap={};Ap={"Clear search":"清除搜尋條件"},Qf={"ar-AE":ep,"bg-BG":tp,"cs-CZ":rp,"da-DK":np,"de-DE":op,"el-GR":ap,"en-US":ip,"es-ES":sp,"et-EE":lp,"fi-FI":cp,"fr-FR":up,"he-IL":dp,"hr-HR":fp,"hu-HU":pp,"it-IT":mp,"ja-JP":bp,"ko-KR":gp,"lt-LT":hp,"lv-LV":vp,"nb-NO":yp,"nl-NL":$p,"pl-PL":_p,"pt-BR":xp,"pt-PT":wp,"ro-RO":Ep,"ru-RU":Sp,"sk-SK":Tp,"sl-SI":kp,"sr-SP":Pp,"sv-SE":Cp,"tr-TR":Dp,"uk-UA":Ip,"zh-CN":Op,"zh-TW":Ap};function Aw(e,t,r){let n=cr(Ow(Qf)),{isDisabled:o,isReadOnly:a,onSubmit:i=()=>{},onClear:s,type:c="search"}=e,d=v=>{const _=v.key;(_==="Enter"||_==="Escape")&&v.preventDefault(),!(o||a)&&(_==="Enter"&&i(t.value),_==="Escape"&&(t.setValue(""),s&&s()))},f=()=>{t.setValue(""),s&&s()},p=()=>{r.current.focus()},{labelProps:m,inputProps:g,descriptionProps:h,errorMessageProps:b}=tn({...e,value:t.value,onChange:t.setValue,onKeyDown:Qs(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||a,onPress:f,onPressStart:p},descriptionProps:h,errorMessageProps:b}}var $a={},En={},Nw={get exports(){return En},set exports(e){En=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})(Nw);var Sn={},zw={get exports(){return Sn},set exports(e){Sn=e}},_a={},Lw={get exports(){return _a},set exports(e){_a=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})(Lw),function(e){var t=_a.default;function r(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,i=new WeakMap;return(r=function(c){return c?i:a})(o)}function n(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||t(o)!=="object"&&typeof o!="function")return{default:o};var i=r(a);if(i&&i.has(o))return i.get(o);var s={},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,i&&i.set(o,s),s}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(zw);var xa={};function Np(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function st(e){return st=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},st(e)}function wa(e){return e&&st(e)==="object"&&e.constructor===Object}function Rt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},n=r.clone?E({},e):e;return wa(e)&&wa(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(wa(t[o])&&o in e?n[o]=Rt(e[o],t[o],r):n[o]=t[o])}),n}var me={},zp={get exports(){return me},set exports(e){me=e}};/*
|
|
1549
1618
|
object-assign
|
|
1550
1619
|
(c) Sindre Sorhus
|
|
1551
1620
|
@license MIT
|
|
1552
|
-
*/var Ea,
|
|
1553
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
1554
|
-
`,space:" "}}function
|
|
1555
|
-
`);return o}return this.key+" "+this.value+";"},e}(),vw={"@charset":!0,"@import":!0,"@namespace":!0},yw={onCreateRule:function(t,r,n){return t in vw?new hw(t,r,n):null}},Zp=[tw,aw,cw,dw,bw,gw,yw],$w={process:!0},Jp={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,d=i.jss,f=i.Renderer,p=i.generateId,b=i.scoped,m=S({classes:this.classes,parent:s,sheet:c,jss:d,Renderer:f,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="."+Na(this.classes[h]));var g=Aa(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 za?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Fa&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof za?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Fa&&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=$w);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var d=n.style;if(s.onUpdate(o,n,c,a),a.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var f in n.style){var p=n.style[f],b=d[f];p!==b&&n.prop(f,p,Jp)}for(var m in d){var h=n.style[m],g=d[m];h==null&&h!==g&&n.prop(m,null,Jp)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Rt(n),c=s.linebreak,d=0;d<this.index.length;d++){var f=this.index[d],p=f.toString(n);!p&&!i||(o&&(o+=c),o+=p)}return o},e}(),Qp=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}(),_w=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"&&Ie(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),xw=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=Rp(o,["attached"]),s=Rt(i),c=s.linebreak,d="",f=0;f<this.registry.length;f++){var p=this.registry[f];a!=null&&p.attached!==a||(d&&(d+=c),d+=p.toString(i))}return d},Up(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),vr=new xw,ja=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Ra="2f1acc6c3a606b082e5eef5e54414ffb";ja[Ra]==null&&(ja[Ra]=0);var eb=ja[Ra]++,Ew=1e10,tb=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>Ew&&process.env.NODE_ENV!=="production"&&Ie(!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")+eb+s+r:c+a.key+"-"+eb+(s?"-"+s:"")+"-"+r};return n},rb=function(t){var r;return function(){return r||(r=t()),r}},ww=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},Tw=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},Sw=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Ie(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},kw=function(t,r){return t.selectorText=r,t.selectorText===r},nb=rb(function(){return document.querySelector("head")});function Pw(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 Cw(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 Dw(e){for(var t=nb(),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 Iw(e){var t=vr.registry;if(t.length>0){var r=Pw(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=Cw(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=Dw(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Ie(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function Ow(e,t){var r=t.insertionPoint,n=Iw(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"&&Ie(!1,"[JSS] Insertion point is not in the DOM.");return}nb().appendChild(e)}var Aw=rb(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),ob=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"&&Ie(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},ab=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},Nw=function(){var t=document.createElement("style");return t.textContent=`
|
|
1556
|
-
`,t},
|
|
1621
|
+
*/var Ea,Lp;function Mw(){if(Lp)return Ea;Lp=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function o(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(i).map(function(f){return i[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 Ea=o()?Object.assign:function(a,i){for(var s,c=n(a),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},Ea}var Sa,Mp;function Ta(){if(Mp)return Sa;Mp=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Sa=e,Sa}var ka,Fp;function Vp(){return Fp||(Fp=1,ka=Function.call.bind(Object.prototype.hasOwnProperty)),ka}var Pa,jp;function Fw(){if(jp)return Pa;jp=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ta(),r={},n=Vp();e=function(a){var i="Warning: "+a;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(a,i,s,c,d){if(process.env.NODE_ENV!=="production"){for(var f in a)if(n(a,f)){var p;try{if(typeof a[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 a[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=a[f](i,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={})},Pa=o,Pa}var Ca,Rp;function Vw(){if(Rp)return Ca;Rp=1;var e=Tt,t=Mw(),r=Ta(),n=Vp(),o=Fw(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function i(){return null}return Ca=function(s,c){var d=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(N){var j=N&&(d&&N[d]||N[f]);if(typeof j=="function")return j}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(N,j){return N===j?N!==0||1/N===1/j:N!==N&&j!==j}function b(N,j){this.message=N,this.data=j&&typeof j=="object"?j:{},this.stack=""}b.prototype=Error.prototype;function v(N){if(process.env.NODE_ENV!=="production")var j={},H=0;function X(se,ee,V,K,Z,W,ne){if(K=K||m,W=W||V,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+":"+V;!j[ye]&&H<3&&(a("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."),j[ye]=!0,H++)}}return ee[V]==null?se?ee[V]===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:N(ee,V,K,Z,W)}var q=X.bind(null,!1);return q.isRequired=X.bind(null,!0),q}function _(N){function j(H,X,q,se,ee,V){var K=H[X],Z=ie(K);if(Z!==N){var W=ue(K);return new b("Invalid "+se+" `"+ee+"` of type "+("`"+W+"` supplied to `"+q+"`, expected ")+("`"+N+"`."),{expectedType:N})}return null}return v(j)}function $(){return v(i)}function w(N){function j(H,X,q,se,ee){if(typeof N!="function")return new b("Property `"+ee+"` of component `"+q+"` has invalid PropType notation inside arrayOf.");var V=H[X];if(!Array.isArray(V)){var K=ie(V);return new b("Invalid "+se+" `"+ee+"` of type "+("`"+K+"` supplied to `"+q+"`, expected an array."))}for(var Z=0;Z<V.length;Z++){var W=N(V,Z,q,se,ee+"["+Z+"]",r);if(W instanceof Error)return W}return null}return v(j)}function y(){function N(j,H,X,q,se){var ee=j[H];if(!s(ee)){var V=ie(ee);return new b("Invalid "+q+" `"+se+"` of type "+("`"+V+"` supplied to `"+X+"`, expected a single ReactElement."))}return null}return v(N)}function O(){function N(j,H,X,q,se){var ee=j[H];if(!e.isValidElementType(ee)){var V=ie(ee);return new b("Invalid "+q+" `"+se+"` of type "+("`"+V+"` supplied to `"+X+"`, expected a single ReactElement type."))}return null}return v(N)}function M(N){function j(H,X,q,se,ee){if(!(H[X]instanceof N)){var V=N.name||m,K=te(H[X]);return new b("Invalid "+se+" `"+ee+"` of type "+("`"+K+"` supplied to `"+q+"`, expected ")+("instance of `"+V+"`."))}return null}return v(j)}function I(N){if(!Array.isArray(N))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),i;function j(H,X,q,se,ee){for(var V=H[X],K=0;K<N.length;K++)if(h(V,N[K]))return null;var Z=JSON.stringify(N,function(ne,Q){var ye=ue(Q);return ye==="symbol"?String(Q):Q});return new b("Invalid "+se+" `"+ee+"` of value `"+String(V)+"` "+("supplied to `"+q+"`, expected one of "+Z+"."))}return v(j)}function A(N){function j(H,X,q,se,ee){if(typeof N!="function")return new b("Property `"+ee+"` of component `"+q+"` has invalid PropType notation inside objectOf.");var V=H[X],K=ie(V);if(K!=="object")return new b("Invalid "+se+" `"+ee+"` of type "+("`"+K+"` supplied to `"+q+"`, expected an object."));for(var Z in V)if(n(V,Z)){var W=N(V,Z,q,se,ee+"."+Z,r);if(W instanceof Error)return W}return null}return v(j)}function L(N){if(!Array.isArray(N))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var j=0;j<N.length;j++){var H=N[j];if(typeof H!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+he(H)+" at index "+j+"."),i}function X(q,se,ee,V,K){for(var Z=[],W=0;W<N.length;W++){var ne=N[W],Q=ne(q,se,ee,V,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 "+V+" `"+K+"` supplied to "+("`"+ee+"`"+ye+"."))}return v(X)}function J(){function N(j,H,X,q,se){return S(j[H])?null:new b("Invalid "+q+" `"+se+"` supplied to "+("`"+X+"`, expected a ReactNode."))}return v(N)}function T(N,j,H,X,q){return new b((N||"React class")+": "+j+" type `"+H+"."+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+q+"`.")}function Y(N){function j(H,X,q,se,ee){var V=H[X],K=ie(V);if(K!=="object")return new b("Invalid "+se+" `"+ee+"` of type `"+K+"` "+("supplied to `"+q+"`, expected `object`."));for(var Z in N){var W=N[Z];if(typeof W!="function")return T(q,se,ee,Z,ue(W));var ne=W(V,Z,q,se,ee+"."+Z,r);if(ne)return ne}return null}return v(j)}function C(N){function j(H,X,q,se,ee){var V=H[X],K=ie(V);if(K!=="object")return new b("Invalid "+se+" `"+ee+"` of type `"+K+"` "+("supplied to `"+q+"`, expected `object`."));var Z=t({},H[X],N);for(var W in Z){var ne=N[W];if(n(N,W)&&typeof ne!="function")return T(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," ")+`
|
|
1622
|
+
Valid keys: `+JSON.stringify(Object.keys(N),null," "));var Q=ne(V,W,q,se,ee+"."+W,r);if(Q)return Q}return null}return v(j)}function S(N){switch(typeof N){case"number":case"string":case"undefined":return!0;case"boolean":return!N;case"object":if(Array.isArray(N))return N.every(S);if(N===null||s(N))return!0;var j=p(N);if(j){var H=j.call(N),X;if(j!==N.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(N,j){return N==="symbol"?!0:j?j["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&j instanceof Symbol:!1}function ie(N){var j=typeof N;return Array.isArray(N)?"array":N instanceof RegExp?"object":U(j,N)?"symbol":j}function ue(N){if(typeof N>"u"||N===null)return""+N;var j=ie(N);if(j==="object"){if(N instanceof Date)return"date";if(N instanceof RegExp)return"regexp"}return j}function he(N){var j=ue(N);switch(j){case"array":case"object":return"an "+j;case"boolean":case"date":case"regexp":return"a "+j;default:return j}}function te(N){return!N.constructor||!N.constructor.name?m:N.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},Ca}var Da,Kp;function jw(){if(Kp)return Da;Kp=1;var e=Ta();function t(){}function r(){}return r.resetWarningCache=t,Da=function(){function n(i,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 a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},Da}if(process.env.NODE_ENV!=="production"){var Rw=Tt,Kw=!0;zp.exports=Vw()(Rw.isElement,Kw)}else zp.exports=jw()();function Bw(e,t){if(st(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(st(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Bp(e){var t=Bw(e,"string");return st(t)==="symbol"?t:String(t)}function hr(e,t,r){return t=Bp(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ww="exact-prop: ";function Uw(e){return process.env.NODE_ENV==="production"?e:E({},e,hr({},Ww,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 Tn(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 Hw=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Gw(e){var t="".concat(e).match(Hw),r=t&&t[1];return r||""}function Wp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||Gw(e)||t}function Up(e,t,r){var n=Wp(t);return e.displayName||(n!==""?"".concat(r,"(").concat(n,")"):r)}function vr(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Wp(e,"Component");if(st(e)==="object")switch(e.$$typeof){case Tt.ForwardRef:return Up(e,e.render,"ForwardRef");case Tt.Memo:return Up(e,e.type,"memo");default:return}}}function Ia(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":Tn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function qw(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(n,o){return o==null?n:(process.env.NODE_ENV!=="production"&&typeof o!="function"&&console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null."),function(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];n.apply(this,s),o.apply(this,s)})},function(){})}function Hp(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function He(e,t){if(e==null)return{};var r=Hp(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Yw=typeof Symbol=="function"&&Symbol.for;const Xw=Yw?Symbol.for("mui.nested"):"__THEME_NESTED__";var Zw=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function Jw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.disableGlobal,r=t===void 0?!1:t,n=e.productionPrefix,o=n===void 0?"jss":n,a=e.seed,i=a===void 0?"":a,s=i===""?"":"".concat(i,"-"),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(Zw.indexOf(f.key)!==-1)return"Mui-".concat(f.key);var g="".concat(s).concat(m,"-").concat(f.key);return!p.options.theme[Xw]||i!==""?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 Qw(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o=t.props[r],a;for(a in o)n[a]===void 0&&(n[a]=o[a]);return n}var eE=process.env.NODE_ENV==="production";function Ae(e,t){if(!eE){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var Gp=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},yr=(typeof window>"u"?"undefined":Gp(window))==="object"&&(typeof document>"u"?"undefined":Gp(document))==="object"&&document.nodeType===9;function qp(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,Bp(n.key),n)}}function Yp(e,t,r){return t&&qp(e.prototype,t),r&&qp(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Oa(e,t){return Oa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Oa(e,t)}function Xp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Oa(e,t)}function Zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var tE={}.constructor;function Aa(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Aa);if(e.constructor!==tE)return e;var t={};for(var r in e)t[r]=Aa(e[r]);return t}function Na(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,o=Aa(t),a=n.plugins.onCreateRule(e,o,r);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&Ae(!1,"[JSS] Unknown rule "+e),null)}var Jp=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+=Jp(t[n]," ");else r=Jp(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function Kt(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
|
|
1623
|
+
`,space:" "}}function $r(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function _r(e,t,r){r===void 0&&(r={});var n="";if(!t)return n;var o=r,a=o.indent,i=a===void 0?0:a,s=t.fallbacks;r.format===!1&&(i=-1/0);var c=Kt(r),d=c.linebreak,f=c.space;if(e&&i++,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)+";",i))}}else for(var b in s){var v=s[b];v!=null&&(n&&(n+=d),n+=$r(b+":"+f+Et(v)+";",i))}for(var _ in t){var $=t[_];$!=null&&_!=="fallbacks"&&(n&&(n+=d),n+=$r(_+":"+f+Et($)+";",i))}return!n&&!r.allowEmpty||!e?n:(i--,n&&(n=""+d+n+d),$r(""+e+f+"{"+n,i)+$r("}",i))}var rE=/([[\].#*$><+~=|^:(),"'`\s])/g,Qp=typeof CSS<"u"&&CSS.escape,za=function(e){return Qp?Qp(e):e.replace(rE,"\\$1")},em=function(){function e(r,n,o){this.type="style",this.isProcessed=!1;var a=o.sheet,i=o.Renderer;this.key=r,this.options=o,this.style=n,a?this.renderer=a.renderer:i&&(this.renderer=new i)}var t=e.prototype;return t.prop=function(n,o,a){if(o===void 0)return this.style[n];var i=a?a.force:!1;if(!i&&this.style[n]===o)return this;var s=o;(!a||a.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(o,n,this));var c=s==null||s===!1,d=n in this.style;if(c&&!d&&!i)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}(),La=function(e){Xp(t,e);function t(n,o,a){var i;i=e.call(this,n,o,a)||this;var s=a.selector,c=a.scoped,d=a.sheet,f=a.generateId;return s?i.selectorText=s:c!==!1&&(i.id=f(Zp(Zp(i)),d),i.selectorText="."+za(i.id)),i}var r=t.prototype;return r.applyTo=function(o){var a=this.renderer;if(a){var i=this.toJSON();for(var s in i)a.setProperty(o,s,i[s])}return this},r.toJSON=function(){var o={};for(var a in this.style){var i=this.style[a];typeof i!="object"?o[a]=i:Array.isArray(i)&&(o[a]=Et(i))}return o},r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?E({},o,{allowEmpty:!0}):o;return _r(this.selectorText,this.style,s)},Yp(t,[{key:"selector",set:function(o){if(o!==this.selectorText){this.selectorText=o;var a=this.renderer,i=this.renderable;if(!(!i||!a)){var s=a.setSelector(i,o);s||a.replaceRule(i,this)}}},get:function(){return this.selectorText}}]),t}(em),nE={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new La(t,r,n)}},Ma={indent:1,children:!0},oE=/@([\w-]+)/,aE=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var a=r.match(oE);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new kn(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.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i?(this.options.jss.plugins.onProcessRule(i),i):null},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.toString=function(n){n===void 0&&(n=Ma);var o=Kt(n),a=o.linebreak;if(n.indent==null&&(n.indent=Ma.indent),n.children==null&&(n.children=Ma.children),n.children===!1)return this.query+" {}";var i=this.rules.toString(n);return i?this.query+" {"+a+i+a+"}":""},e}(),iE=/@media|@supports\s+/,sE={onCreateRule:function(t,r,n){return iE.test(t)?new aE(t,r,n):null}},Fa={indent:1,children:!0},lE=/@keyframes\s+([\w-]+)/,Va=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=r.match(lE);a&&a[1]?this.name=a[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 i=o.scoped,s=o.sheet,c=o.generateId;this.id=i===!1?this.name:za(c(this,s)),this.rules=new kn(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=Fa);var o=Kt(n),a=o.linebreak;if(n.indent==null&&(n.indent=Fa.indent),n.children==null&&(n.children=Fa.children),n.children===!1)return this.at+" "+this.id+" {}";var i=this.rules.toString(n);return i&&(i=""+a+i+a),this.at+" "+this.id+" {"+i+"}"},e}(),cE=/@keyframes\s+/,uE=/\$([\w-]+)/g,ja=function(t,r){return typeof t=="string"?t.replace(uE,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},tm=function(t,r,n){var o=t[r],a=ja(o,n);a!==o&&(t[r]=a)},dE={onCreateRule:function(t,r,n){return typeof t=="string"&&cE.test(t)?new Va(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&tm(t,"animation-name",n.keyframes),"animation"in t&&tm(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return ja(t,o.keyframes);case"animation-name":return ja(t,o.keyframes);default:return t}}},fE=function(e){Xp(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?E({},o,{allowEmpty:!0}):o;return _r(this.key,this.style,s)},t}(em),pE={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new fE(t,r,n):null}},mE=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=Kt(n),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",s=0;s<this.style.length;s++)i+=_r(this.at,this.style[s]),this.style[s+1]&&(i+=a);return i}return _r(this.at,this.style,n)},e}(),bE=/@font-face/,gE={onCreateRule:function(t,r,n){return bE.test(t)?new mE(t,r,n):null}},hE=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 _r(this.key,this.style,n)},e}(),vE={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new hE(t,r,n):null}},yE=function(){function e(r,n,o){this.type="simple",this.isProcessed=!1,this.key=r,this.value=n,this.options=o}var t=e.prototype;return t.toString=function(n){if(Array.isArray(this.value)){for(var o="",a=0;a<this.value.length;a++)o+=this.key+" "+this.value[a]+";",this.value[a+1]&&(o+=`
|
|
1624
|
+
`);return o}return this.key+" "+this.value+";"},e}(),$E={"@charset":!0,"@import":!0,"@namespace":!0},_E={onCreateRule:function(t,r,n){return t in $E?new yE(t,r,n):null}},rm=[nE,sE,dE,pE,gE,vE,_E],xE={process:!0},nm={force:!0,process:!0},kn=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,a){var i=this.options,s=i.parent,c=i.sheet,d=i.jss,f=i.Renderer,p=i.generateId,m=i.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},a),h=n;n in this.raw&&(h=n+"-d"+this.counter++),this.raw[h]=o,h in this.classes&&(g.selector="."+za(this.classes[h]));var b=Na(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,a){var i=this.get(n),s=this.index.indexOf(i);i&&this.remove(i);var c=a;return s!==-1&&(c=E({},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 La?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Va&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof La?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Va&&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=xE);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var d=n.style;if(s.onUpdate(o,n,c,a),a.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var f in n.style){var p=n.style[f],m=d[f];p!==m&&n.prop(f,p,nm)}for(var g in d){var h=n.style[g],b=d[g];h==null&&h!==b&&n.prop(g,null,nm)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Kt(n),c=s.linebreak,d=0;d<this.index.length;d++){var f=this.index[d],p=f.toString(n);!p&&!i||(o&&(o+=c),o+=p)}return o},e}(),om=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 kn(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}(),wE=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"&&Ae(!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=Hp(o,["attached"]),s=Kt(i),c=s.linebreak,d="",f=0;f<this.registry.length;f++){var p=this.registry[f];a!=null&&p.attached!==a||(d&&(d+=c),d+=p.toString(i))}return d},Yp(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),xr=new EE,Ra=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Ka="2f1acc6c3a606b082e5eef5e54414ffb";Ra[Ka]==null&&(Ra[Ka]=0);var am=Ra[Ka]++,SE=1e10,im=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>SE&&process.env.NODE_ENV!=="production"&&Ae(!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")+am+s+r:c+a.key+"-"+am+(s?"-"+s:"")+"-"+r};return n},sm=function(t){var r;return function(){return r||(r=t()),r}},TE=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 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},PE=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+'".')}},CE=function(t,r){return t.selectorText=r,t.selectorText===r},lm=sm(function(){return document.querySelector("head")});function DE(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 IE(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 OE(e){for(var t=lm(),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 AE(e){var t=xr.registry;if(t.length>0){var r=DE(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=IE(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=OE(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 NE(e,t){var r=t.insertionPoint,n=AE(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"&&Ae(!1,"[JSS] Insertion point is not in the DOM.");return}lm().appendChild(e)}var zE=sm(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),cm=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]},um=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},LE=function(){var t=document.createElement("style");return t.textContent=`
|
|
1625
|
+
`,t},ME=function(){function e(r){this.getPropertyValue=TE,this.setProperty=kE,this.removeProperty=PE,this.setSelector=CE,this.hasInsertedRules=!1,this.cssRules=[],r&&xr.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},o=n.media,a=n.meta,i=n.element;this.element=i||LE(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),a&&this.element.setAttribute("data-meta",a);var s=zE();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){NE(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=`
|
|
1557
1626
|
`)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
|
|
1558
1627
|
`+n.toString()+`
|
|
1559
|
-
`}},t.insertRules=function(n,o){for(var a=0;a<n.index.length;a++)this.insertRule(n.index[a],a,o)},t.insertRule=function(n,o,a){if(a===void 0&&(a=this.element.sheet),n.rules){var i=n,s=a;if(n.type==="conditional"||n.type==="keyframes"){var c=
|
|
1628
|
+
`}},t.insertRules=function(n,o){for(var a=0;a<n.index.length;a++)this.insertRule(n.index[a],a,o)},t.insertRule=function(n,o,a){if(a===void 0&&(a=this.element.sheet),n.rules){var i=n,s=a;if(n.type==="conditional"||n.type==="keyframes"){var c=um(a,o);if(s=cm(a,i.toString({children:!1}),c),s===!1)return!1;this.refCssRule(n,c,s)}return this.insertRules(i.rules,s),s}var d=n.toString();if(!d)return!1;var f=um(a,o),p=cm(a,d,f);return p===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,f,p),p)},t.refCssRule=function(n,o,a){n.renderable=a,n.options.parent instanceof om&&this.cssRules.splice(o,0,a)},t.deleteRule=function(n){var o=this.element.sheet,a=this.indexOf(n);return a===-1?!1:(o.deleteRule(a),this.cssRules.splice(a,1),!0)},t.indexOf=function(n){return this.cssRules.indexOf(n)},t.replaceRule=function(n,o){var a=this.indexOf(n);return a===-1?!1:(this.element.sheet.deleteRule(a),this.cssRules.splice(a,1),this.insertRule(o,a))},t.getRules=function(){return this.element.sheet.cssRules},e}(),FE=0,VE=function(){function e(r){this.id=FE++,this.version="10.9.2",this.plugins=new wE,this.options={id:{minify:!1},createGenerateId:im,Renderer:yr?ME:null,plugins:[]},this.generateId=im({minify:!1});for(var n=0;n<rm.length;n++)this.plugins.use(rm[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 a=o,i=a.index;typeof i!="number"&&(i=xr.index===0?0:xr.index+1);var s=new om(n,E({},o,{jss:this,generateId:o.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:i}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),xr.remove(n),this},t.createRule=function(n,o,a){if(o===void 0&&(o={}),a===void 0&&(a={}),typeof n=="object")return this.createRule(void 0,n,o);var i=E({},a,{name:n,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=Na(n,o,i);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var n=this,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return a.forEach(function(s){n.plugins.use(s)}),this},e}(),Ba=function(t){return new VE(t)},Wa=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function dm(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if(o==="function")t||(t={}),t[r]=n;else if(o==="object"&&n!==null&&!Array.isArray(n)){var a=dm(n);a&&(t||(t={}),t[r]=a)}}return t}/**
|
|
1560
1629
|
* A better abstraction over CSS.
|
|
1561
1630
|
*
|
|
1562
1631
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
1563
1632
|
* @website https://github.com/cssinjs/jss
|
|
1564
1633
|
* @license MIT
|
|
1565
|
-
*/
|
|
1566
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1567
|
-
`)),t):(Object.keys(r).forEach(function(a){process.env.NODE_ENV!=="production"&&(!t[a]&&r[a]&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not implemented in ".concat(
|
|
1568
|
-
`)),r[a]&&typeof r[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(
|
|
1569
|
-
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var
|
|
1570
|
-
`)),
|
|
1571
|
-
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===
|
|
1572
|
-
`)),c}if(!o||!n.overrides||!n.overrides[o])return a;var i=n.overrides[o],s=
|
|
1573
|
-
`))),s[c]=
|
|
1574
|
-
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var f=
|
|
1575
|
-
`)))),r[h]}return
|
|
1634
|
+
*/Ba();var fm=Date.now(),Ua="fnValues"+fm,Ha="fnStyle"+ ++fm,jE=function(){return{onCreateRule:function(r,n,o){if(typeof n!="function")return null;var a=Na(r,{},o);return a[Ha]=n,a},onProcessStyle:function(r,n){if(Ua in n||Ha in n)return r;var o={};for(var a in r){var i=r[a];typeof i=="function"&&(delete r[a],o[a]=i)}return n[Ua]=o,r},onUpdate:function(r,n,o,a){var i=n,s=i[Ha];if(s&&(i.style=s(r)||{},process.env.NODE_ENV==="development")){for(var c in i.style)if(typeof i.style[c]=="function"){process.env.NODE_ENV!=="production"&&Ae(!1,"[JSS] Function values inside function rules are not supported.");break}}var d=i[Ua];if(d)for(var f in d)i.prop(f,d[f](r),a)}}};const RE=jE;var lt="@global",Ga="@global ",KE=function(){function e(r,n,o){this.type="global",this.at=lt,this.isProcessed=!1,this.key=r,this.options=o,this.rules=new kn(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.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.indexOf=function(n){return this.rules.indexOf(n)},t.toString=function(n){return this.rules.toString(n)},e}(),BE=function(){function e(r,n,o){this.type="global",this.at=lt,this.isProcessed=!1,this.key=r,this.options=o;var a=r.substr(Ga.length);this.rule=o.jss.createRule(a,n,E({},o,{parent:this}))}var t=e.prototype;return t.toString=function(n){return this.rule?this.rule.toString(n):""},e}(),WE=/\s*,\s*/g;function pm(e,t){for(var r=e.split(WE),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function UE(e,t){var r=e.options,n=e.style,o=n?n[lt]:null;if(o){for(var a in o)t.addRule(a,o[a],E({},r,{selector:pm(a,e.selector)}));delete n[lt]}}function HE(e,t){var r=e.options,n=e.style;for(var o in n)if(!(o[0]!=="@"||o.substr(0,lt.length)!==lt)){var a=pm(o.substr(lt.length),e.selector);t.addRule(a,n[o],E({},r,{selector:a})),delete n[o]}}function GE(){function e(r,n,o){if(!r)return null;if(r===lt)return new KE(r,n,o);if(r[0]==="@"&&r.substr(0,Ga.length)===Ga)return new BE(r,n,o);var a=o.parent;return a&&(a.type==="global"||a.options.parent&&a.options.parent.type==="global")&&(o.scoped=!1),!o.selector&&o.scoped===!1&&(o.selector=r),null}function t(r,n){r.type!=="style"||!n||(UE(r,n),HE(r,n))}return{onCreateRule:e,onProcessRule:t}}var mm=/\s*,\s*/g,qE=/&/g,YE=/\$([\w-]+)/g;function XE(){function e(o,a){return function(i,s){var c=o.getRule(s)||a&&a.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,a){for(var i=a.split(mm),s=o.split(mm),c="",d=0;d<i.length;d++)for(var f=i[d],p=0;p<s.length;p++){var m=s[p];c&&(c+=", "),c+=m.indexOf("&")!==-1?m.replace(qE,f):f+" "+m}return c}function r(o,a,i){if(i)return E({},i,{index:i.index+1});var s=o.options.nestingLevel;s=s===void 0?1:s+1;var c=E({},o.options,{nestingLevel:s,index:a.indexOf(o)+1});return delete c.name,c}function n(o,a,i){if(a.type!=="style")return o;var s=a,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,i)),h=h.replace(YE,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 ZE=/[A-Z]/g,JE=/^ms-/,qa={};function QE(e){return"-"+e.toLowerCase()}function bm(e){if(qa.hasOwnProperty(e))return qa[e];var t=e.replace(ZE,QE);return qa[e]=JE.test(t)?"-"+t:t}function Pn(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:bm(r);t[n]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Pn):t.fallbacks=Pn(e.fallbacks)),t}function eS(){function e(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)r[n]=Pn(r[n]);return r}return Pn(r)}function t(r,n,o){if(n.indexOf("--")===0)return r;var a=bm(n);return n===a?r:(o.prop(a,r),null)}return{onProcessStyle:e,onChangeValue:t}}var D=Wa&&CSS?CSS.px:"px",Cn=Wa&&CSS?CSS.ms:"ms",Bt=Wa&&CSS?CSS.percent:"%",tS={"animation-delay":Cn,"animation-duration":Cn,"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":Bt,"perspective-origin-y":Bt,"transform-origin":Bt,"transform-origin-x":Bt,"transform-origin-y":Bt,"transform-origin-z":Bt,"transition-delay":Cn,"transition-duration":Cn,"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 gm(e){var t=/(-[a-z])/g,r=function(i){return i[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var rS=gm(tS);function wr(e,t,r){if(t==null)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=wr(e,t[n],r);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=wr(o,t[o],r);else for(var a in t)t[a]=wr(e+"-"+a,t[a],r);else if(typeof t=="number"&&isNaN(t)===!1){var i=r[e]||rS[e];return i&&!(t===0&&i===D)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function nS(e){e===void 0&&(e={});var t=gm(e);function r(o,a){if(a.type!=="style")return o;for(var i in o)o[i]=wr(i,o[i],t);return o}function n(o,a){return wr(a,o,t)}return{onProcessStyle:r,onChangeValue:n}}function Ya(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 oS(e){if(Array.isArray(e))return Ya(e)}function aS(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iS(e,t){if(e){if(typeof e=="string")return Ya(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 Ya(e,t)}}function sS(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1635
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lS(e){return oS(e)||aS(e)||iS(e)||sS()}var Er="",Xa="",hm="",vm="",cS=yr&&"ontouchstart"in document.documentElement;if(yr){var Za={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},uS=document.createElement("p"),Ja=uS.style,dS="Transform";for(var Qa in Za)if(Qa+dS in Ja){Er=Qa,Xa=Za[Qa];break}Er==="Webkit"&&"msHyphens"in Ja&&(Er="ms",Xa=Za.ms,vm="edge"),Er==="Webkit"&&"-apple-trailing-word"in Ja&&(hm="apple")}var ae={js:Er,css:Xa,vendor:hm,browser:vm,isTouch:cS};function fS(e){return e[1]==="-"||ae.js==="ms"?e:"@"+ae.css+"keyframes"+e.substr(10)}var pS={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:ae.js==="ms"?"-webkit-"+t:ae.css+t}},mS={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:ae.js==="Webkit"?ae.css+"print-"+t:t}},bS=/[-\s]+(.)?/g;function gS(e,t){return t?t.toUpperCase():""}function ei(e){return e.replace(bS,gS)}function ct(e){return ei("-"+e)}var hS={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if(ae.js==="Webkit"){var n="mask-image";if(ei(n)in r)return t;if(ae.js+ct(n)in r)return ae.css+t}return t}},vS={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:ae.vendor==="apple"&&!ae.isTouch?ae.css+t:t}},yS={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:ae.css+t}},$S={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:ae.css+t}},_S={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:ae.js==="Webkit"||ae.js==="ms"&&ae.browser!=="edge"?ae.css+t:t}},xS={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:ae.js==="Moz"||ae.js==="ms"||ae.vendor==="apple"?ae.css+t:t}},wS={supportedProperty:function(t,r){if(!/^break-/.test(t))return!1;if(ae.js==="Webkit"){var n="WebkitColumn"+ct(t);return n in r?ae.css+"column-"+t:!1}if(ae.js==="Moz"){var o="page"+ct(t);return o in r?"page-"+t:!1}return!1}},ES={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(ae.js==="Moz")return t;var n=t.replace("-inline","");return ae.js+ct(n)in r?ae.css+n:!1}},SS={supportedProperty:function(t,r){return ei(t)in r?t:!1}},TS={supportedProperty:function(t,r){var n=ct(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:ae.js+n in r?ae.css+t:ae.js!=="Webkit"&&"Webkit"+n in r?"-webkit-"+t:!1}},kS={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:ae.js==="ms"?""+ae.css+t:t}},PS={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:ae.js==="ms"?ae.css+"scroll-chaining":t}},CS={"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"},DS={supportedProperty:function(t,r){var n=CS[t];return n&&ae.js+ct(n)in r?ae.css+n:!1}},ym={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"},IS=Object.keys(ym),OS=function(t){return ae.css+t},AS={supportedProperty:function(t,r,n){var o=n.multiple;if(IS.indexOf(t)>-1){var a=ym[t];if(!Array.isArray(a))return ae.js+ct(a)in r?ae.css+a:!1;if(!o)return!1;for(var i=0;i<a.length;i++)if(!(ae.js+ct(a[0])in r))return!1;return a.map(OS)}return!1}},$m=[pS,mS,hS,vS,yS,$S,_S,xS,wS,ES,SS,TS,kS,PS,DS,AS],_m=$m.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),NS=$m.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,lS(t.noPrefill)),e},[]),Sr,St={};if(yr){Sr=document.createElement("p");var ti=window.getComputedStyle(document.documentElement,"");for(var ri in ti)isNaN(ri)||(St[ti[ri]]=ti[ri]);NS.forEach(function(e){return delete St[e]})}function ni(e,t){if(t===void 0&&(t={}),!Sr)return e;if(process.env.NODE_ENV!=="benchmark"&&St[e]!=null)return St[e];(e==="transition"||e==="transform")&&(t[e]=e in Sr.style);for(var r=0;r<_m.length&&(St[e]=_m[r](e,Sr.style,t),!St[e]);r++);try{Sr.style[e]=""}catch{return!1}return St[e]}var Wt={},zS={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},LS=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,ut;function MS(e,t,r){if(t==="var")return"var";if(t==="all")return"all";if(r==="all")return", all";var n=t?ni(t):", "+ni(r);return n||t||r}yr&&(ut=document.createElement("p"));function xm(e,t){var r=t;if(!ut||e==="content")return t;if(typeof r!="string"||!isNaN(parseInt(r,10)))return r;var n=e+r;if(process.env.NODE_ENV!=="benchmark"&&Wt[n]!=null)return Wt[n];try{ut.style[e]=r}catch{return Wt[n]=!1,!1}if(zS[e])r=r.replace(LS,MS);else if(ut.style[e]===""&&(r=ae.css+r,r==="-ms-flex"&&(ut.style[e]="-ms-flexbox"),ut.style[e]=r,ut.style[e]===""))return Wt[n]=!1,!1;return ut.style[e]="",Wt[n]=r,Wt[n]}function FS(){function e(o){if(o.type==="keyframes"){var a=o;a.at=fS(a.at)}}function t(o){for(var a in o){var i=o[a];if(a==="fallbacks"&&Array.isArray(i)){o[a]=i.map(t);continue}var s=!1,c=ni(a);c&&c!==a&&(s=!0);var d=!1,f=xm(c,Et(i));f&&f!==i&&(d=!0),(s||d)&&(s&&delete o[a],o[c||a]=f||i)}return o}function r(o,a){return a.type!=="style"?o:t(o)}function n(o,a){return xm(a,Et(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function VS(){var e=function(r,n){return r.length===n.length?r>n?1:-1:r.length-n.length};return{onProcessStyle:function(r,n){if(n.type!=="style")return r;for(var o={},a=Object.keys(r).sort(e),i=0;i<a.length;i++)o[a[i]]=r[a[i]];return o}}}function wm(){return{plugins:[RE(),GE(),XE(),eS(),nS(),typeof window>"u"?null:FS(),VS()]}}function Em(){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(vr(n)," is incorrect."),"You might want to use the className prop instead."].join(`
|
|
1636
|
+
`)),t):(Object.keys(r).forEach(function(a){process.env.NODE_ENV!=="production"&&(!t[a]&&r[a]&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not implemented in ".concat(vr(n),"."),"You can only override one of the following: ".concat(Object.keys(t).join(","),".")].join(`
|
|
1637
|
+
`)),r[a]&&typeof r[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(vr(n),"."),"You need to provide a non empty string instead of: ".concat(r[a],".")].join(`
|
|
1638
|
+
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var jS={set:function(t,r,n,o){var a=t.get(r);a||(a=new Map,t.set(r,a)),a.set(n,o)},get:function(t,r,n){var o=t.get(r);return o?o.get(n):void 0},delete:function(t,r,n){var o=t.get(r);o.delete(n)}};const Ut=jS;var Sm=l.createContext(null);process.env.NODE_ENV!=="production"&&(Sm.displayName="ThemeContext");const RS=Sm;function Tm(){var e=l.useContext(RS);return process.env.NODE_ENV!=="production"&&l.useDebugValue(e),e}var KS=Ba(wm()),BS=Jw(),WS=new Map,US={disableGeneration:!1,generateClassName:BS,jss:KS,sheetsCache:null,sheetsManager:WS,sheetsRegistry:null},Dn=l.createContext(US);process.env.NODE_ENV!=="production"&&(Dn.displayName="StylesContext");var In;function oi(e){var t=e.children,r=e.injectFirst,n=r===void 0?!1:r,o=e.disableGeneration,a=o===void 0?!1:o,i=He(e,["children","injectFirst","disableGeneration"]),s=l.useContext(Dn),c=E({},s,{disableGeneration:a},i);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&&i.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(!In){var d=document.head;In=document.createComment("mui-inject-first"),d.insertBefore(In,d.firstChild)}c.jss=Ba({plugins:wm().plugins,insertionPoint:In})}return l.createElement(Dn.Provider,{value:c},t)}process.env.NODE_ENV!=="production"&&(oi.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"&&(oi.propTypes=Uw(oi.propTypes));var ai=-1e9;function HS(){return ai+=1,process.env.NODE_ENV!=="production"&&ai>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
|
|
1639
|
+
`)),ai}var GS={};const km=GS;function qS(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&st(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(`
|
|
1640
|
+
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===km&&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(`
|
|
1641
|
+
`)),c}if(!o||!n.overrides||!n.overrides[o])return a;var i=n.overrides[o],s=E({},a);return Object.keys(i).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(`
|
|
1642
|
+
`))),s[c]=Rt(s[c],i[c])}),s},options:{}}}function YS(e,t,r){var n=e.state,o=e.stylesOptions;if(o.disableGeneration)return t||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var a=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,a=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,a=!0),a&&(n.cacheClasses.value=Em({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function XS(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,a=e.stylesCreator,i=e.name;if(!o.disableGeneration){var s=Ut.get(o.sheetsManager,a,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Ut.set(o.sheetsManager,a,n,s));var c=E({},a.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=Ut.get(o.sheetsCache,a,n));var p=a.create(n,i);f||(f=o.jss.createStyleSheet(p,E({link:!1},c)),f.attach(),o.sheetsCache&&Ut.set(o.sheetsCache,a,n,f)),d&&d.add(f),s.staticSheet=f,s.dynamicStyles=dm(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=Em({baseClasses:s.staticSheet.classes,newClasses:m.classes}),d&&d.add(m)}else r.classes=s.staticSheet.classes;s.refs+=1}}function ZS(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function JS(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var a=Ut.get(n.sheetsManager,o,r);a.refs-=1;var i=n.sheetsRegistry;a.refs===0&&(Ut.delete(n.sheetsManager,o,r),n.jss.removeStyleSheet(a.staticSheet),i&&i.remove(a.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),i&&i.remove(t.dynamicSheet))}}function QS(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 eT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,a=t.defaultTheme,i=a===void 0?km:a,s=He(t,["name","classNamePrefix","Component","defaultTheme"]),c=qS(e),d=r||n||"makeStyles";c.options={index:HS(),name:r,meta:d,classNamePrefix:d};var f=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=Tm()||i,h=E({},l.useContext(Dn),s),b=l.useRef(),v=l.useRef();QS(function(){var $={name:r,state:{},stylesCreator:c,stylesOptions:h,theme:g};return XS($,m),v.current=!1,b.current=$,function(){JS($)}},[g,c]),l.useEffect(function(){v.current&&ZS(b.current,m),v.current=!0});var _=YS(b.current,m.classes,o);return process.env.NODE_ENV!=="production"&&l.useDebugValue(_),_};return f}var ii=Tt,tT={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},rT={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},nT={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},si={};si[ii.ForwardRef]=nT,si[ii.Memo]=Pm;function Cm(e){return ii.isMemo(e)?Pm:si[e.$$typeof]||tT}var oT=Object.defineProperty,aT=Object.getOwnPropertyNames,Dm=Object.getOwnPropertySymbols,iT=Object.getOwnPropertyDescriptor,sT=Object.getPrototypeOf,Im=Object.prototype;function Om(e,t,r){if(typeof t!="string"){if(Im){var n=sT(t);n&&n!==Im&&Om(e,n,r)}var o=aT(t);Dm&&(o=o.concat(Dm(t)));for(var a=Cm(e),i=Cm(t),s=0;s<o.length;++s){var c=o[s];if(!rT[c]&&!(r&&r[c])&&!(i&&i[c])&&!(a&&a[c])){var d=iT(t,c);try{oT(e,c,d)}catch{}}}}return e}var lT=Om,cT=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(n){var o=r.defaultTheme,a=r.withTheme,i=a===void 0?!1:a,s=r.name,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(`
|
|
1643
|
+
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var f=vr(n);f!==void 0&&(d=f)}var p=eT(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"||i)&&(w=Tm()||o,s&&(y=Qw({theme:w,name:s,props:_})),i&&!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:Np(me.oneOfType([me.func,me.object]),function(g){return g.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(m.displayName="WithStyles(".concat(vr(n),")")),lT(m,n),process.env.NODE_ENV!=="production"&&(m.Naked=n,m.options=r,m.useStyles=p),m}};const uT=cT;var dt=["xs","sm","md","lg","xl"];function dT(e){var t=e.values,r=t===void 0?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,n=e.unit,o=n===void 0?"px":n,a=e.step,i=a===void 0?5:a,s=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=dt.indexOf(h)+1,v=r[dt[b]];if(b===dt.length)return c("xs");var _=typeof v=="number"&&b>0?v:h;return"@media (max-width:".concat(_-i/100).concat(o,")")}function f(h,b){var v=dt.indexOf(b);return v===dt.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[dt[v+1]]=="number"?r[dt[v+1]]:b)-i/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(`
|
|
1644
|
+
`)))),r[h]}return E({keys:dt,values:r,up:c,down:d,between:f,only:p,width:g},s)}function fT(e,t,r){var n;return E({gutters:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:",`
|
|
1576
1645
|
paddingLeft: theme.spacing(2),
|
|
1577
1646
|
paddingRight: theme.spacing(2),
|
|
1578
1647
|
[theme.breakpoints.up('sm')]: {
|
|
@@ -1580,8 +1649,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1580
1649
|
paddingRight: theme.spacing(3),
|
|
1581
1650
|
},
|
|
1582
1651
|
`].join(`
|
|
1583
|
-
`)),
|
|
1584
|
-
`))}return
|
|
1652
|
+
`)),E({paddingLeft:t(2),paddingRight:t(2)},a,hr({},e.up("sm"),E({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(n={minHeight:56},hr(n,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),hr(n,e.up("sm"),{minHeight:64}),n)},r)}var pT={black:"#000",white:"#fff"};const On=pT;var mT={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 li=mT;var bT={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 ci=bT;var gT={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 ui=gT;var hT={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 di=hT;var vT={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 fi=vT;var yT={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 pi=yT;var $T={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 mi=$T;function Am(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 _T(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 xT(e){e=Ht(e);var t=e,r=t.values,n=r[0],o=r[1]/100,a=r[2]/100,i=o*Math.min(a,1-a),s=function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(p+n/30)%12;return a-i*Math.max(Math.min(m-3,9-m,1),-1)},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])),bi({type:c,values:d})}function Ht(e){if(e.type)return e;if(e.charAt(0)==="#")return Ht(_T(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()."):Tn(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 bi(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 Nm(e,t){var r=zm(e),n=zm(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function zm(e){e=Ht(e);var t=e.type==="hsl"?Ht(xT(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 wT(e,t){if(e=Ht(e),t=Am(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 bi(e)}function ET(e,t){if(e=Ht(e),t=Am(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 bi(e)}var Lm={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:On.white,default:li[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}},gi={text:{primary:On.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:li[800],default:"#303030"},action:{active:On.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 Mm(e,t,r,n){var o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=ET(e.main,o):t==="dark"&&(e.dark=wT(e.main,a)))}function ST(e){var t=e.primary,r=t===void 0?{light:ci[300],main:ci[500],dark:ci[700]}:t,n=e.secondary,o=n===void 0?{light:ui.A200,main:ui.A400,dark:ui.A700}:n,a=e.error,i=a===void 0?{light:di[300],main:di[500],dark:di[700]}:a,s=e.warning,c=s===void 0?{light:fi[300],main:fi[500],dark:fi[700]}:s,d=e.info,f=d===void 0?{light:pi[300],main:pi[500],dark:pi[700]}:d,p=e.success,m=p===void 0?{light:mi[300],main:mi[500],dark:mi[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=Nm(A,gi.text.primary)>=v?gi.text.primary:Lm.text.primary;if(process.env.NODE_ENV!=="production"){var J=Nm(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(`
|
|
1653
|
+
`))}return L}var O=function(L){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,T=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."):Tn(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.
|
|
1585
1654
|
|
|
1586
1655
|
Did you intend to use one of the following approaches?
|
|
1587
1656
|
|
|
@@ -1593,14 +1662,14 @@ const theme1 = createTheme({ palette: {
|
|
|
1593
1662
|
|
|
1594
1663
|
const theme2 = createTheme({ palette: {
|
|
1595
1664
|
primary: { main: green[500] },
|
|
1596
|
-
} });`):Tn(5,JSON.stringify(
|
|
1597
|
-
`)),
|
|
1665
|
+
} });`):Tn(5,JSON.stringify(L.main)));return Mm(L,"light",T,$),Mm(L,"dark",Y,$),L.contrastText||(L.contrastText=y(L.main)),L},M={dark:gi,light:Lm};process.env.NODE_ENV!=="production"&&(M[h]||console.error("Material-UI: The palette type `".concat(h,"` is not supported.")));var I=Rt(E({common:On,type:h,primary:O(r),secondary:O(o,"A400","A200","A700"),error:O(i),warning:O(c),info:O(f),success:O(m),grey:li,contrastThreshold:v,getContrastText:y,augmentColor:O,tonalOffset:$},M[h]),w);return I}function Fm(e){return Math.round(e*1e5)/1e5}var Vm=!1;function TT(e){return process.env.NODE_ENV!=="production"&&(Vm||(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(`
|
|
1666
|
+
`)),Vm=!0)),Fm(e)}var jm={textTransform:"uppercase"},Rm='"Roboto", "Helvetica", "Arial", sans-serif';function kT(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?Rm:n,a=r.fontSize,i=a===void 0?14:a,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 i!="number"&&console.error("Material-UI: `fontSize` is required to be a number."),typeof v!="number"&&console.error("Material-UI: `htmlFontSize` is required to be a number."));var y=i/14,O=$||function(A){return"".concat(A/v*y,"rem")},M=function(L,J,T,Y,C){return E({fontFamily:o,fontWeight:L,fontSize:O(J),lineHeight:T},o===Rm?{letterSpacing:"".concat(Fm(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,jm),caption:M(f,12,1.66,.4),overline:M(f,12,2.66,1,jm)};return Rt(E({htmlFontSize:v,pxToRem:O,round:TT,fontFamily:o,fontSize:i,fontWeightLight:c,fontWeightRegular:f,fontWeightMedium:m,fontWeightBold:h},I),w,{clone:!1})}var PT=.2,CT=.14,DT=.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(PT,")"),"".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(CT,")"),"".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(DT,")")].join(",")}var IT=["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 OT=IT;var AT={borderRadius:4};const NT=AT;var zT=process.env.NODE_ENV!=="production"?me.oneOfType([me.number,me.string,me.object,me.array]):{};const LT=zT;var MT=["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 FT(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(`
|
|
1598
1667
|
`)),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(`
|
|
1599
|
-
`)),function(){})}process.env.NODE_ENV!=="production"&&
|
|
1600
|
-
`)),
|
|
1601
|
-
`)),A
|
|
1602
|
-
`))},[t]);var
|
|
1603
|
-
`))},[JSON.stringify(r)])}var h=B.useCallback(function(
|
|
1668
|
+
`)),function(){})}process.env.NODE_ENV!=="production"&&MT.reduce(function(e,t){return e[t]=LT,e},{});var Km;function VT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=FT({spacing:e}),r=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return process.env.NODE_ENV!=="production"&&(a.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(a.length))),a.length===0?t(1):a.length===1?t(a[0]):a.map(function(s){if(typeof s=="string")return s;var 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"&&((!Km||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(`
|
|
1669
|
+
`)),Km=!0),e}}),r.mui=!0,r}var Bm={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)"},Wm={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Um(e){return"".concat(Math.round(e),"ms")}const jT={easing:Bm,duration:Wm,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?Wm.standard:n,a=r.easing,i=a===void 0?Bm.easeInOut:a,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(i)||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:Um(o)," ").concat(i," ").concat(typeof c=="string"?c:Um(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 RT={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const KT=RT;function BT(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.breakpoints,r=t===void 0?{}:t,n=e.mixins,o=n===void 0?{}:n,a=e.palette,i=a===void 0?{}:a,s=e.spacing,c=e.typography,d=c===void 0?{}:c,f=He(e,["breakpoints","mixins","palette","spacing","typography"]),p=ST(i),m=dT(r),g=VT(s),h=Rt({breakpoints:m,direction:"ltr",mixins:fT(m,g,o),overrides:{},palette:p,props:{},shadows:OT,typography:kT(p,d),spacing:g,shape:NT,transitions:jT,zIndex:KT},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 Rt(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:hr({},"&$".concat(A),L)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
|
|
1670
|
+
`)),O[A]={})}};w(h.overrides)}return h}var WT=BT();const UT=WT;function HT(e,t){return uT(e,E({defaultTheme:UT},t))}var GT=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)}}},hi=B.forwardRef(function(t,r){var n=t.children,o=t.classes,a=t.className,i=t.color,s=i===void 0?"inherit":i,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:Zs(o.root,a,s!=="inherit"&&o["color".concat(Ia(s))],p!=="default"&&p!=="medium"&&o["fontSize".concat(Ia(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"&&(hi.propTypes={children:me.node,classes:me.object,className:me.string,color:me.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:me.elementType,fontSize:Np(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}),hi.muiName="SvgIcon";const Hm=HT(GT,{name:"MuiSvgIcon"})(hi);function qT(e,t){var r=function(o,a){return l.createElement(Hm,E({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=Hm.muiName,l.memo(l.forwardRef(r))}function YT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:166,r;function n(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=this,c=function(){e.apply(s,a)};clearTimeout(r),r=setTimeout(c,t)}return n.clear=function(){clearTimeout(r)},n}function XT(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(r,n,o,a,i){var s=o||"<<anonymous>>",c=i||n;return typeof r[n]<"u"?new Error("The ".concat(a," `").concat(c,"` of ")+"`".concat(s,"` is deprecated. ").concat(t)):null}}function ZT(e,t){return B.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Gm(e){return e&&e.ownerDocument||document}function JT(e){var t=Gm(e);return t.defaultView||window}function QT(e){if(process.env.NODE_ENV==="production")return function(){return null};var t=function(n){return function(o,a,i,s,c){var d=c||a;return typeof o[a]<"u"&&!o[n]?new Error("The prop `".concat(d,"` of ")+"`".concat(e,"` must be used on `").concat(n,"`.")):null}};return t}function vi(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function e5(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;var a=o||t;return typeof e[t]<"u"?new Error("The prop `".concat(a,"` is not supported. Please remove it.")):null}function t5(e){var t=e.controlled,r=e.default,n=e.name,o=e.state,a=o===void 0?"value":o,i=B.useRef(t!==void 0),s=i.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(a," state of ").concat(n," to be ").concat(s?"un":"","controlled."),"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled ".concat(n," ")+"element for the lifetime of the component.","The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
1671
|
+
`))},[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(a," state of an uncontrolled ").concat(n," after being initialized. ")+"To suppress this warning opt to use a controlled ".concat(n,".")].join(`
|
|
1672
|
+
`))},[JSON.stringify(r)])}var h=B.useCallback(function(b){s||f(b)},[]);return[p,h]}var r5=typeof window<"u"?B.useLayoutEffect:B.useEffect;function n5(e){var t=B.useRef(e);return r5(function(){t.current=e}),B.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function o5(e,t){return B.useMemo(function(){return e==null&&t==null?null:function(r){vi(e,r),vi(t,r)}},[e,t])}function a5(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 An=!0,yi=!1,qm=null,i5={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 s5(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&i5[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function l5(e){e.metaKey||e.altKey||e.ctrlKey||(An=!0)}function $i(){An=!1}function c5(){this.visibilityState==="hidden"&&yi&&(An=!0)}function u5(e){e.addEventListener("keydown",l5,!0),e.addEventListener("mousedown",$i,!0),e.addEventListener("pointerdown",$i,!0),e.addEventListener("touchstart",$i,!0),e.addEventListener("visibilitychange",c5,!0)}function Ym(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return An||s5(t)}function d5(){yi=!0,window.clearTimeout(qm),qm=window.setTimeout(function(){yi=!1},100)}function f5(){var e=B.useCallback(function(t){var r=Pi.findDOMNode(t);r!=null&&u5(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&B.useDebugValue(Ym),{isFocusVisible:Ym,onBlurVisible:d5,ref:e}}const p5=gb(Object.freeze(Object.defineProperty({__proto__:null,capitalize:Ia,createChainedFunction:qw,createSvgIcon:qT,debounce:YT,deprecatedPropType:XT,isMuiElement:ZT,ownerDocument:Gm,ownerWindow:JT,requirePropFactory:QT,setRef:vi,unsupportedProp:e5,useControlled:t5,useEventCallback:n5,useForkRef:o5,unstable_useId:a5,useIsFocusVisible:f5},Symbol.toStringTag,{value:"Module"})));var Xm;function Zm(){return Xm||(Xm=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=p5}(xa)),xa}var m5=En,b5=Sn;Object.defineProperty($a,"__esModule",{value:!0});var Jm=$a.default=void 0,g5=b5(l),h5=m5(Zm()),v5=(0,h5.default)(g5.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");Jm=$a.default=v5;var _i={},y5=En,$5=Sn;Object.defineProperty(_i,"__esModule",{value:!0});var Qm=_i.default=void 0,_5=$5(l),x5=y5(Zm()),w5=(0,x5.default)(_5.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");Qm=_i.default=w5;const E5=P.div`
|
|
1604
1673
|
--border-color: ${u.color_outline_secondary_enabled};
|
|
1605
1674
|
|
|
1606
1675
|
border-radius: ${u.border_radius_400};
|
|
@@ -1631,7 +1700,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1631
1700
|
font-size: 1rem;
|
|
1632
1701
|
fill: ${u.color_text_weak};
|
|
1633
1702
|
}
|
|
1634
|
-
`,
|
|
1703
|
+
`,S5=P(qu)`
|
|
1635
1704
|
all: unset;
|
|
1636
1705
|
position: absolute;
|
|
1637
1706
|
right: 10px;
|
|
@@ -1652,7 +1721,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1652
1721
|
line-height: 0;
|
|
1653
1722
|
font-size: ${u.font_size_50};
|
|
1654
1723
|
}
|
|
1655
|
-
`,
|
|
1724
|
+
`,T5=P(dr)`
|
|
1656
1725
|
padding-left: 32px;
|
|
1657
1726
|
width: 100%;
|
|
1658
1727
|
|
|
@@ -1664,7 +1733,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1664
1733
|
&::-webkit-search-results-decoration {
|
|
1665
1734
|
-webkit-appearance: none;
|
|
1666
1735
|
}
|
|
1667
|
-
`,
|
|
1736
|
+
`,eb=l.forwardRef((e,t)=>{const{label:r,size:n="small",placeholder:o="Search",disabled:a,readOnly:i,required:s,hideLabel:c,onChange:d,onClear:f,onSubmit:p,...m}=e,g={label:r,placeholder:o,onClear:f,onSubmit:p,onChange:d,isDisabled:a,isReadOnly:i,isRequired:s},h=Iw(g),b=at(t),{labelProps:v,inputProps:_,clearButtonProps:$}=Aw(g,h,b);return le(fr,{children:[k(Qe,{...v,srOnly:c,children:r}),le(E5,{children:[k(Jm,{}),k(T5,{..._,ref:b,placeholder:o,paddingSize:n,...m}),h.value!==""&&k(S5,{...$,children:k(Qm,{})})]})]})});eb.displayName="Search";const tb="Switch",[k5,yk]=ke(tb),[P5,C5]=k5(tb),D5=l.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:a,required:i,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,_]=Ve({prop:o,defaultProp:a,onChange:d});return l.createElement(P5,{scope:r,checked:v,disabled:s},l.createElement(re.button,E({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":rb(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(A5,{control:p,bubbles:!h.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),I5="SwitchThumb",O5=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=C5(I5,r);return l.createElement(re.span,E({"data-state":rb(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),A5=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=en(r),s=Br(t);return l.useEffect(()=>{const c=a.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&p){const m=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(m)}},[i,r,n]),l.createElement("input",E({type:"checkbox","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function rb(e){return e?"checked":"unchecked"}const N5=D5,z5=O5,L5=P(N5)`
|
|
1668
1737
|
all: unset;
|
|
1669
1738
|
width: 40px;
|
|
1670
1739
|
height: 24px;
|
|
@@ -1704,7 +1773,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1704
1773
|
&[aria-checked='true']:active {
|
|
1705
1774
|
background-color: ${u.color_fill_primary_pressed};
|
|
1706
1775
|
}
|
|
1707
|
-
`,
|
|
1776
|
+
`,M5=P(z5)`
|
|
1708
1777
|
--thumb-width: 18px;
|
|
1709
1778
|
display: block;
|
|
1710
1779
|
width: var(--thumb-width);
|
|
@@ -1723,24 +1792,24 @@ const theme2 = createTheme({ palette: {
|
|
|
1723
1792
|
&[data-state~='checked'] {
|
|
1724
1793
|
transform: translateX(19px);
|
|
1725
1794
|
}
|
|
1726
|
-
`,
|
|
1795
|
+
`,nb=l.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=td(r);return k(L5,{...n,...o,ref:t,children:k(M5,{})})});nb.displayName="Switch";const Nn=P.h1`
|
|
1727
1796
|
font-family: ${u.font_family_inter_display};
|
|
1728
1797
|
font-style: normal;
|
|
1729
1798
|
font-weight: 500; /* don't really see value of using tokens for font-weight */
|
|
1730
1799
|
margin: 0;
|
|
1731
1800
|
padding-inline: 0;
|
|
1732
1801
|
color: ${u.color_text_strong};
|
|
1733
|
-
`,
|
|
1802
|
+
`,F5=P(Nn)`
|
|
1734
1803
|
font-size: ${u.font_size_title_large};
|
|
1735
1804
|
letter-spacing: ${u.letter_spacing_title_large};
|
|
1736
|
-
`,
|
|
1805
|
+
`,V5=P(Nn)`
|
|
1737
1806
|
font-size: ${u.font_size_title_medium};
|
|
1738
1807
|
letter-spacing: ${u.letter_spacing_title_medium};
|
|
1739
|
-
`,
|
|
1808
|
+
`,j5=P(Nn)`
|
|
1740
1809
|
font-size: ${u.font_size_title_small};
|
|
1741
1810
|
letter-spacing: ${u.letter_spacing_title_small};
|
|
1742
|
-
`,
|
|
1811
|
+
`,R5={xsmall:P(Nn)`
|
|
1743
1812
|
font-size: ${u.font_size_title_xsmall};
|
|
1744
1813
|
letter-spacing: ${u.letter_spacing_title_xsmall};
|
|
1745
|
-
`,small:
|
|
1814
|
+
`,small:j5,medium:V5,large:F5},ob=l.forwardRef((e,t)=>{const{children:r,size:n,as:o,className:a,...i}=e,s=R5[n];return k(s,{...i,as:o,ref:t,className:a,children:r})});ob.displayName="Title",z.AccessibleIcon=er,z.AlertDialog=Ih,z.AlertDialogAction=Ah,z.AlertDialogCancel=Nh,z.AlertDialogContent=kh,z.AlertDialogDescription=Ch,z.AlertDialogFooter=Dh,z.AlertDialogTitle=Ph,z.AlertDialogTrigger=Oh,z.BreadcrumbItem=vc,z.BreadcrumbLink=bc,z.BreadcrumbListItem=Mo,z.Breadcrumbs=hc,z.Button=ur,z.Checkbox=M$,z.Dialog=xh,z.DialogClose=Eh,z.DialogCloseButton=_h,z.DialogContent=hh,z.DialogDescription=yh,z.DialogFooter=$h,z.DialogTitle=vh,z.DialogTrigger=wh,z.Fieldset=_y,z.FileUpload=Gd,z.FormControl=O$,z.Heading=qd,z.IconButton=oa,z.IconTooltip=br,z.Label=Qe,z.NumberFormControl=ed,z.NumberInput=qo,z.Page=e1,z.PageContent=$f,z.PageGrid=yf,z.Pagination=n1,z.PaginatorButton=vn,z.PaginatorNumber=yn,z.Popover=fc,z.PopoverClose=zo,z.PopoverCloseCross=ry,z.PopoverContent=dc,z.PopoverTrigger=pc,z.Radio=w1,z.RadioGroup=x1,z.RadioGroupIndicator=Cf,z.RadioGroupRadio=Pf,z.Search=eb,z.Select=Wf,z.SelectContent=Kf,z.SelectGroup=Tw,z.SelectGroupLabel=Pw,z.SelectIcon=Gf,z.SelectItem=qf,z.SelectItemIndicator=kw,z.SelectItemText=Yf,z.SelectScrollDownButton=Zf,z.SelectScrollUpButton=Xf,z.SelectSeparator=Cw,z.SelectTrigger=Uf,z.SelectValue=Hf,z.SelectViewport=Sw,z.SingleSelect=Dw,z.StyledFieldSet=$c,z.StyledTrigger=Rf,z.Switch=nb,z.TabTriggerWithIcon=ux,z.TabsContent=dx,z.TabsList=cx,z.TabsRoot=lx,z.TabsTrigger=nf,z.Text=Ft,z.TextAreaFormControl=Qu,z.TextFormControl=Ju,z.TextInput=Ro,z.Title=ob,z.Toast=Qx,z.ToastAction=Ux,z.ToastClose=hf,z.ToastProvider=Jx,z.ToastSeparator=vf,z.ToastViewport=Xx,z.Tooltip=Cc,z.TooltipContent=Dc,z.TooltipProvider=Pc,z.TooltipTrigger=Uo,z.contentShow=Qn,z.dialogWidths=eo,z.overlayShow=Jn,z.useFieldProps=sn,z.useFieldset=Ue,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
|
|
1746
1815
|
//# sourceMappingURL=trc-components.umd.js.map
|