@theroutingcompany/components 0.0.18-alpha.4 → 0.0.18-alpha.5
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 +10 -0
- package/dist/trc-components.es.js +2873 -2865
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +218 -218
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -6
- package/types/components/DropdownMenu/DropdownMenu.d.ts +19 -0
- package/types/components/FileUpload/FileUpload.d.ts +2 -2
- package/types/components/IconButton/IconButton.d.ts +1 -1
- package/types/components/Popover/Popover.d.ts +1 -1
- package/types/helpers/interactionStates.d.ts +6 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(U,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("react-dom"),require("react-is"),require("@material-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","react-is","@material-ui/icons"],l):(U=typeof globalThis<"u"?globalThis:U||self,l(U["trc-components"]={},U.React,U.ReactDOM,U.ReactIs,U.icons))})(this,function(U,l,Ve,mt,Fe){"use strict";function Sc(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 re=Sc(l),kc=Sc(Ve);function
|
|
1
|
+
(function(U,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("react-dom"),require("react-is"),require("@material-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","react-is","@material-ui/icons"],l):(U=typeof globalThis<"u"?globalThis:U||self,l(U["trc-components"]={},U.React,U.ReactDOM,U.ReactIs,U.icons))})(this,function(U,l,Ve,mt,Fe){"use strict";function Sc(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 re=Sc(l),kc=Sc(Ve);function b1(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 Jr={},g1={get exports(){return Jr},set exports(e){Jr=e}},Qr={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Tc;function
|
|
9
|
+
*/var Tc;function v1(){if(Tc)return Qr;Tc=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 u,f={},p=null,m=null;d!==void 0&&(p=""+d),c.key!==void 0&&(p=""+c.key),c.ref!==void 0&&(m=c.ref);for(u in c)n.call(c,u)&&!a.hasOwnProperty(u)&&(f[u]=c[u]);if(s&&s.defaultProps)for(u in c=s.defaultProps,c)f[u]===void 0&&(f[u]=c[u]);return{$$typeof:t,type:s,key:p,ref:m,props:f,_owner:o.current}}return Qr.Fragment=r,Qr.jsx=i,Qr.jsxs=i,Qr}var en={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Dc;function
|
|
18
|
-
`+B+E}}var Q=!1,q;{var ee=typeof WeakMap=="function"?WeakMap:Map;q=new ee}function Y(E,Z){if(!E||Q)return"";{var ne=q.get(E);if(ne!==void 0)return ne}var fe;Q=!0;var Ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ke;ke=
|
|
17
|
+
*/var Dc;function y1(){return Dc||(Dc=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"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=Symbol.iterator,g="@@iterator";function v(E){if(E===null||typeof E!="object")return null;var Z=b&&E[b]||E[g];return typeof Z=="function"?Z:null}var $=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(E){{for(var Z=arguments.length,ne=new Array(Z>1?Z-1:0),fe=1;fe<Z;fe++)ne[fe-1]=arguments[fe];w("error",E,ne)}}function w(E,Z,ne){{var fe=$.ReactDebugCurrentFrame,Ee=fe.getStackAddendum();Ee!==""&&(Z+="%s",ne=ne.concat([Ee]));var ke=ne.map(function(we){return String(we)});ke.unshift("Warning: "+Z),Function.prototype.apply.call(console[E],console,ke)}}var y=!1,T=!1,N=!1,P=!1,_=!1,I;I=Symbol.for("react.module.reference");function W(E){return!!(typeof E=="string"||typeof E=="function"||E===n||E===a||_||E===o||E===d||E===u||P||E===m||y||T||N||typeof E=="object"&&E!==null&&(E.$$typeof===p||E.$$typeof===f||E.$$typeof===i||E.$$typeof===s||E.$$typeof===c||E.$$typeof===I||E.getModuleId!==void 0))}function D(E,Z,ne){var fe=E.displayName;if(fe)return fe;var Ee=Z.displayName||Z.name||"";return Ee!==""?ne+"("+Ee+")":ne}function j(E){return E.displayName||"Context"}function S(E){if(E==null)return null;if(typeof E.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof E=="function")return E.displayName||E.name||null;if(typeof E=="string")return E;switch(E){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if(typeof E=="object")switch(E.$$typeof){case s:var Z=E;return j(Z)+".Consumer";case i:var ne=E;return j(ne._context)+".Provider";case c:return D(E,E.render,"ForwardRef");case f:var fe=E.displayName||null;return fe!==null?fe:S(E.type)||"Memo";case p:{var Ee=E,ke=Ee._payload,we=Ee._init;try{return S(we(ke))}catch{return null}}}return null}var O=Object.assign,X=0,se,G,ae,te,K,M,L;function V(){}V.__reactDisabledLog=!0;function R(){{if(X===0){se=console.log,G=console.info,ae=console.warn,te=console.error,K=console.group,M=console.groupCollapsed,L=console.groupEnd;var E={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:E,log:E,warn:E,error:E,group:E,groupCollapsed:E,groupEnd:E})}X++}}function J(){{if(X--,X===0){var E={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},E,{value:se}),info:O({},E,{value:G}),warn:O({},E,{value:ae}),error:O({},E,{value:te}),group:O({},E,{value:K}),groupCollapsed:O({},E,{value:M}),groupEnd:O({},E,{value:L})})}X<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var k=$.ReactCurrentDispatcher,B;function z(E,Z,ne){{if(B===void 0)try{throw Error()}catch(Ee){var fe=Ee.stack.trim().match(/\n( *(at )?)/);B=fe&&fe[1]||""}return`
|
|
18
|
+
`+B+E}}var Q=!1,q;{var ee=typeof WeakMap=="function"?WeakMap:Map;q=new ee}function Y(E,Z){if(!E||Q)return"";{var ne=q.get(E);if(ne!==void 0)return ne}var fe;Q=!0;var Ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ke;ke=k.current,k.current=null,R();try{if(Z){var we=function(){throw Error()};if(Object.defineProperty(we.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(we,[])}catch(Ot){fe=Ot}Reflect.construct(E,[],we)}else{try{we.call()}catch(Ot){fe=Ot}E.call(we.prototype)}}else{try{throw Error()}catch(Ot){fe=Ot}E()}}catch(Ot){if(Ot&&fe&&typeof Ot.stack=="string"){for(var ge=Ot.stack.split(`
|
|
19
19
|
`),He=fe.stack.split(`
|
|
20
20
|
`),ze=ge.length-1,Le=He.length-1;ze>=1&&Le>=0&&ge[ze]!==He[Le];)Le--;for(;ze>=1&&Le>=0;ze--,Le--)if(ge[ze]!==He[Le]){if(ze!==1||Le!==1)do if(ze--,Le--,Le<0||ge[ze]!==He[Le]){var tt=`
|
|
21
|
-
`+ge[ze].replace(" at new "," at ");return E.displayName&&tt.includes("<anonymous>")&&(tt=tt.replace("<anonymous>",E.displayName)),typeof E=="function"&&q.set(E,tt),tt}while(ze>=1&&Le>=0);break}}}finally{Q=!1,
|
|
21
|
+
`+ge[ze].replace(" at new "," at ");return E.displayName&&tt.includes("<anonymous>")&&(tt=tt.replace("<anonymous>",E.displayName)),typeof E=="function"&&q.set(E,tt),tt}while(ze>=1&&Le>=0);break}}}finally{Q=!1,k.current=ke,J(),Error.prepareStackTrace=Ee}var Xr=E?E.displayName||E.name:"",h1=Xr?z(Xr):"";return typeof E=="function"&&q.set(E,h1),h1}function ue(E,Z,ne){return Y(E,!1)}function be(E){var Z=E.prototype;return!!(Z&&Z.isReactComponent)}function ce(E,Z,ne){if(E==null)return"";if(typeof E=="function")return Y(E,be(E));if(typeof E=="string")return z(E);switch(E){case d:return z("Suspense");case u:return z("SuspenseList")}if(typeof E=="object")switch(E.$$typeof){case c:return ue(E.render);case f:return ce(E.type,Z,ne);case p:{var fe=E,Ee=fe._payload,ke=fe._init;try{return ce(ke(Ee),Z,ne)}catch{}}}return""}var ye=Object.prototype.hasOwnProperty,de={},$e=$.ReactDebugCurrentFrame;function xe(E){if(E){var Z=E._owner,ne=ce(E.type,E._source,Z?Z.type:null);$e.setExtraStackFrame(ne)}else $e.setExtraStackFrame(null)}function he(E,Z,ne,fe,Ee){{var ke=Function.call.bind(ye);for(var we in E)if(ke(E,we)){var ge=void 0;try{if(typeof E[we]!="function"){var He=Error((fe||"React class")+": "+ne+" type `"+we+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof E[we]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw He.name="Invariant Violation",He}ge=E[we](Z,we,fe,ne,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ze){ge=ze}ge&&!(ge instanceof Error)&&(xe(Ee),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",fe||"React class",ne,we,typeof ge),xe(null)),ge instanceof Error&&!(ge.message in de)&&(de[ge.message]=!0,xe(Ee),x("Failed %s type: %s",ne,ge.message),xe(null))}}}var Be=Array.isArray;function _e(E){return Be(E)}function Se(E){{var Z=typeof Symbol=="function"&&Symbol.toStringTag,ne=Z&&E[Symbol.toStringTag]||E.constructor.name||"Object";return ne}}function le(E){try{return Ae(E),!1}catch{return!0}}function Ae(E){return""+E}function qr(E){if(le(E))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Se(E)),Ae(E)}var Ct=$.ReactCurrentOwner,pt={key:!0,ref:!0,__self:!0,__source:!0},s1,l1,wc;wc={};function p2(E){if(ye.call(E,"ref")){var Z=Object.getOwnPropertyDescriptor(E,"ref").get;if(Z&&Z.isReactWarning)return!1}return E.ref!==void 0}function m2(E){if(ye.call(E,"key")){var Z=Object.getOwnPropertyDescriptor(E,"key").get;if(Z&&Z.isReactWarning)return!1}return E.key!==void 0}function h2(E,Z){if(typeof E.ref=="string"&&Ct.current&&Z&&Ct.current.stateNode!==Z){var ne=S(Ct.current.type);wc[ne]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',S(Ct.current.type),E.ref),wc[ne]=!0)}}function b2(E,Z){{var ne=function(){s1||(s1=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Z))};ne.isReactWarning=!0,Object.defineProperty(E,"key",{get:ne,configurable:!0})}}function g2(E,Z){{var ne=function(){l1||(l1=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Z))};ne.isReactWarning=!0,Object.defineProperty(E,"ref",{get:ne,configurable:!0})}}var v2=function(E,Z,ne,fe,Ee,ke,we){var ge={$$typeof:t,type:E,key:Z,ref:ne,props:we,_owner:ke};return ge._store={},Object.defineProperty(ge._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ge,"_self",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.defineProperty(ge,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.freeze&&(Object.freeze(ge.props),Object.freeze(ge)),ge};function y2(E,Z,ne,fe,Ee){{var ke,we={},ge=null,He=null;ne!==void 0&&(qr(ne),ge=""+ne),m2(Z)&&(qr(Z.key),ge=""+Z.key),p2(Z)&&(He=Z.ref,h2(Z,Ee));for(ke in Z)ye.call(Z,ke)&&!pt.hasOwnProperty(ke)&&(we[ke]=Z[ke]);if(E&&E.defaultProps){var ze=E.defaultProps;for(ke in ze)we[ke]===void 0&&(we[ke]=ze[ke])}if(ge||He){var Le=typeof E=="function"?E.displayName||E.name||"Unknown":E;ge&&b2(we,Le),He&&g2(we,Le)}return v2(E,ge,He,Ee,fe,Ct.current,we)}}var _c=$.ReactCurrentOwner,c1=$.ReactDebugCurrentFrame;function Zr(E){if(E){var Z=E._owner,ne=ce(E.type,E._source,Z?Z.type:null);c1.setExtraStackFrame(ne)}else c1.setExtraStackFrame(null)}var Ec;Ec=!1;function Pc(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function d1(){{if(_c.current){var E=S(_c.current.type);if(E)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+E+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+E+"`."}return""}}function $2(E){{if(E!==void 0){var Z=E.fileName.replace(/^.*[\\\/]/,""),ne=E.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+Z+":"+ne+"."}return""}}var
|
|
25
|
+
Check your code at `+Z+":"+ne+"."}return""}}var u1={};function x2(E){{var Z=d1();if(!Z){var ne=typeof E=="string"?E:E.displayName||E.name;ne&&(Z=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+ne+">.")}return Z}}function u1(E,Z){{if(!E._store||E._store.validated||E.key!=null)return;E._store.validated=!0;var ne=$2(Z);if(d1[ne])return;d1[ne]=!0;var fe="";E&&E._owner&&E._owner!==_c.current&&(fe=" It was passed a child from "+S(E._owner.type)+"."),Zr(E),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,fe),Zr(null)}}function f1(E,Z){{if(typeof E!="object")return;if(_e(E))for(var ne=0;ne<E.length;ne++){var fe=E[ne];Pc(fe)&&u1(fe,Z)}else if(Pc(E))E._store&&(E._store.validated=!0);else if(E){var Ee=v(E);if(typeof Ee=="function"&&Ee!==E.entries)for(var ke=Ee.call(E),we;!(we=ke.next()).done;)Pc(we.value)&&u1(we.value,Z)}}}function x2(E){{var Z=E.type;if(Z==null||typeof Z=="string")return;var ne;if(typeof Z=="function")ne=Z.propTypes;else if(typeof Z=="object"&&(Z.$$typeof===c||Z.$$typeof===f))ne=Z.propTypes;else return;if(ne){var fe=S(Z);he(ne,E.props,"prop",fe,E)}else if(Z.PropTypes!==void 0&&!Ec){Ec=!0;var Ee=S(Z);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ee||"Unknown")}typeof Z.getDefaultProps=="function"&&!Z.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function w2(E){{for(var Z=Object.keys(E.props),ne=0;ne<Z.length;ne++){var fe=Z[ne];if(fe!=="children"&&fe!=="key"){Zr(E),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),Zr(null);break}}E.ref!==null&&(Zr(E),x("Invalid attribute `ref` supplied to `React.Fragment`."),Zr(null))}}function p1(E,Z,ne,fe,Ee,ke){{var we=W(E);if(!we){var ge="";(E===void 0||typeof E=="object"&&E!==null&&Object.keys(E).length===0)&&(ge+=" 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 He=y2(Ee);He?ge+=He:ge+=c1();var ze;E===null?ze="null":_e(E)?ze="array":E!==void 0&&E.$$typeof===t?(ze="<"+(S(E.type)||"Unknown")+" />",ge=" Did you accidentally export a JSX literal instead of a component?"):ze=typeof E,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ze,ge)}var Le=v2(E,Z,ne,Ee,ke);if(Le==null)return Le;if(we){var tt=Z.children;if(tt!==void 0)if(fe)if(_e(tt)){for(var Xr=0;Xr<tt.length;Xr++)f1(tt[Xr],E);Object.freeze&&Object.freeze(tt)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f1(tt,E)}return E===n?w2(Le):x2(Le),Le}}function _2(E,Z,ne){return p1(E,Z,ne,!0)}function E2(E,Z,ne){return p1(E,Z,ne,!1)}var P2=E2,S2=_2;en.Fragment=n,en.jsx=P2,en.jsxs=S2}()),en}(function(e){process.env.NODE_ENV==="production"?e.exports=g1():e.exports=v1()})(b1);const y1=Jr.Fragment,C=Jr.jsx,ie=Jr.jsxs;function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},A.apply(this,arguments)}function $1(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 Re(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),c=r.length;r=[...r,i];function d(f){const{scope:p,children:m,...b}=f,g=(p==null?void 0:p[e][c])||s,v=l.useMemo(()=>b,Object.values(b));return l.createElement(g.Provider,{value:v},m)}function u(f,p){const m=(p==null?void 0:p[e][c])||s,b=l.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return d.displayName=a+"Provider",[d,u]}const o=()=>{const a=r.map(i=>l.createContext(i));return function(s){const c=(s==null?void 0:s[e])||a;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,x1(o,...t)]}function x1(...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 f=c(a)[`__scope${d}`];return{...s,...f}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function w1(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Cc(...e){return t=>e.forEach(r=>w1(r,t))}function pe(...e){return l.useCallback(Cc(...e),e)}function oe(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 De=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},_1=re["useId".toString()]||(()=>{});let E1=0;function it(e){const[t,r]=re.useState(_1());return De(()=>{e||r(n=>n??String(E1++))},[e]),e||(t?`radix-${t}`:"")}function Oe(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function rt({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=P1({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=Oe(r),c=l.useCallback(d=>{if(a){const f=typeof d=="function"?d(e):d;f!==e&&s(f)}else o(d)},[a,e,o,s]);return[i,c]}function P1({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=Oe(t);return l.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const Ke=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),a=o.find(S1);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(Pa,A({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(Pa,A({},n,{ref:t}),r)});Ke.displayName="Slot";const Pa=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...k1(n,r.props),ref:Cc(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});Pa.displayName="SlotClone";const Sa=({children:e})=>l.createElement(l.Fragment,null,e);function S1(e){return l.isValidElement(e)&&e.type===Sa}function k1(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 Ht=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function T1(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}function tn(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const ka="dismissableLayer.update",D1="dismissableLayer.pointerDownOutside",C1="dismissableLayer.focusOutside";let Oc;const O1=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),I1=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(O1),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,k=w>=x,N=A1(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!k||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=N1(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Oc=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Ic(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Oc)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Ic())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(ka,_),()=>document.removeEventListener(ka,_)},[]),l.createElement(Ht.div,A({},d,{ref:g,style:{pointerEvents:y?k?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))});function A1(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Ac(D1,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 N1(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Ac(C1,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 Ic(){const e=new CustomEvent(ka);document.dispatchEvent(e)}function Ac(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?T1(o,a):o.dispatchEvent(a)}const M1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Ta="focusScope.autoFocusOnMount",Da="focusScope.autoFocusOnUnmount",Nc={bubbles:!1,cancelable:!0},Ca=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,c]=l.useState(null),d=Oe(o),u=Oe(a),f=l.useRef(null),p=pe(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 x=$.target;s.contains(x)?f.current=x:Gt(f.current,{select:!0})},v=function($){m.paused||!s||s.contains($.relatedTarget)||Gt(f.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){Fc.add(m);const g=document.activeElement;if(!s.contains(g)){const $=new CustomEvent(Ta,Nc);s.addEventListener(Ta,d),s.dispatchEvent($),$.defaultPrevented||(z1(V1(Mc(s)),{select:!0}),document.activeElement===g&&Gt(s))}return()=>{s.removeEventListener(Ta,d),setTimeout(()=>{const $=new CustomEvent(Da,Nc);s.addEventListener(Da,u),s.dispatchEvent($),$.defaultPrevented||Gt(g??document.body,{select:!0}),s.removeEventListener(Da,u),Fc.remove(m)},0)}}},[s,d,u,m]);const b=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 x=g.currentTarget,[w,y]=F1(x);w&&y?!g.shiftKey&&$===y?(g.preventDefault(),r&&Gt(w,{select:!0})):g.shiftKey&&$===w&&(g.preventDefault(),r&&Gt(y,{select:!0})):$===x&&g.preventDefault()}},[r,n,m.paused]);return l.createElement(M1.div,A({tabIndex:-1},i,{ref:p,onKeyDown:b}))});function z1(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Gt(n,{select:t}),document.activeElement!==r)return}function F1(e){const t=Mc(e),r=zc(t,e),n=zc(t.reverse(),e);return[r,n]}function Mc(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 zc(e,t){for(const r of e)if(!L1(r,{upTo:t}))return r}function L1(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 K1(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&&K1(e)&&t&&e.select()}}const Fc=j1();function j1(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Lc(e,t),e.unshift(t)},remove(t){var r;e=Lc(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Lc(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function V1(e){return e.filter(t=>t.tagName!=="A")}const B1=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?Ve.createPortal(l.createElement(Ht.div,A({},o,{ref:t})),n):null});function R1(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Xe=e=>{const{present:t,children:r}=e,n=W1(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),a=pe(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:a}):null};Xe.displayName="Presence";function W1(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=R1(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=Fn(n.current);a.current=s==="mounted"?d:"none"},[s]),De(()=>{const d=n.current,u=o.current;if(u!==e){const p=a.current,m=Fn(d);e?c("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),De(()=>{if(t){const d=f=>{const m=Fn(n.current).includes(f.animationName);f.target===t&&m&&Ve.flushSync(()=>c("ANIMATION_END"))},u=f=>{f.target===t&&(a.current=Fn(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Fn(e){return(e==null?void 0:e.animationName)||"none"}let Oa=0;function Ia(){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:Kc()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Kc()),Oa++,()=>{Oa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Oa--}},[])}function Kc(){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 st=function(){return st=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},st.apply(this,arguments)};function jc(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 U1(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 Ln="right-scroll-bar-position",Kn="width-before-scroll-bar",H1="with-scroll-bars-hidden",G1="--removed-body-scroll-bar-size";function Y1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function q1(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 Z1(e,t){return q1(t||null,function(r){return e.forEach(function(n){return Y1(n,r)})})}function X1(e){return e}function J1(e,t){t===void 0&&(t=X1);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(s){return a(s)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var s=r;r=[],s.forEach(a),i=r}var c=function(){var u=i;i=[],u.forEach(a)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(u){i.push(u),d()},filter:function(u){return i=i.filter(u),r}}}};return o}function Q1(e){e===void 0&&(e={});var t=J1(null);return t.options=st({async:!0,ssr:!1},e),t}var Vc=function(e){var t=e.sideCar,r=jc(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 re.createElement(n,st({},r))};Vc.isSideCarExport=!0;function ex(e,t){return e.useMedium(t),Vc}var Bc=Q1(),Aa=function(){},jn=re.forwardRef(function(e,t){var r=re.useRef(null),n=re.useState({onScrollCapture:Aa,onWheelCapture:Aa,onTouchMoveCapture:Aa}),o=n[0],a=n[1],i=e.forwardProps,s=e.children,c=e.className,d=e.removeScrollBar,u=e.enabled,f=e.shards,p=e.sideCar,m=e.noIsolation,b=e.inert,g=e.allowPinchZoom,v=e.as,$=v===void 0?"div":v,x=jc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,y=Z1([r,t]),k=st(st({},x),o);return re.createElement(re.Fragment,null,u&&re.createElement(w,{sideCar:Bc,removeScrollBar:d,shards:f,noIsolation:m,inert:b,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),i?re.cloneElement(re.Children.only(s),st(st({},k),{ref:y})):re.createElement($,st({},k,{className:c,ref:y}),s))});jn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},jn.classNames={fullWidth:Kn,zeroRight:Ln};var Rc,tx=function(){if(Rc)return Rc;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function rx(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=tx();return t&&e.setAttribute("nonce",t),e}function nx(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ox(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ax=function(){var e=0,t=null;return{add:function(r){e==0&&(t=rx())&&(nx(t,r),ox(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ix=function(){var e=ax();return function(t,r){re.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Wc=function(){var e=ix(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},sx={left:0,top:0,right:0,gap:0},Na=function(e){return parseInt(e||"",10)||0},lx=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[Na(r),Na(n),Na(o)]},cx=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return sx;var t=lx(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])}},dx=Wc(),ux=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
28
|
-
.`.concat(
|
|
27
|
+
Check the top-level render call using <`+ne+">.")}return Z}}function f1(E,Z){{if(!E._store||E._store.validated||E.key!=null)return;E._store.validated=!0;var ne=x2(Z);if(u1[ne])return;u1[ne]=!0;var fe="";E&&E._owner&&E._owner!==_c.current&&(fe=" It was passed a child from "+S(E._owner.type)+"."),Zr(E),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,fe),Zr(null)}}function p1(E,Z){{if(typeof E!="object")return;if(_e(E))for(var ne=0;ne<E.length;ne++){var fe=E[ne];Pc(fe)&&f1(fe,Z)}else if(Pc(E))E._store&&(E._store.validated=!0);else if(E){var Ee=v(E);if(typeof Ee=="function"&&Ee!==E.entries)for(var ke=Ee.call(E),we;!(we=ke.next()).done;)Pc(we.value)&&f1(we.value,Z)}}}function w2(E){{var Z=E.type;if(Z==null||typeof Z=="string")return;var ne;if(typeof Z=="function")ne=Z.propTypes;else if(typeof Z=="object"&&(Z.$$typeof===c||Z.$$typeof===f))ne=Z.propTypes;else return;if(ne){var fe=S(Z);he(ne,E.props,"prop",fe,E)}else if(Z.PropTypes!==void 0&&!Ec){Ec=!0;var Ee=S(Z);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ee||"Unknown")}typeof Z.getDefaultProps=="function"&&!Z.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function _2(E){{for(var Z=Object.keys(E.props),ne=0;ne<Z.length;ne++){var fe=Z[ne];if(fe!=="children"&&fe!=="key"){Zr(E),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),Zr(null);break}}E.ref!==null&&(Zr(E),x("Invalid attribute `ref` supplied to `React.Fragment`."),Zr(null))}}function m1(E,Z,ne,fe,Ee,ke){{var we=W(E);if(!we){var ge="";(E===void 0||typeof E=="object"&&E!==null&&Object.keys(E).length===0)&&(ge+=" 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 He=$2(Ee);He?ge+=He:ge+=d1();var ze;E===null?ze="null":_e(E)?ze="array":E!==void 0&&E.$$typeof===t?(ze="<"+(S(E.type)||"Unknown")+" />",ge=" Did you accidentally export a JSX literal instead of a component?"):ze=typeof E,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ze,ge)}var Le=y2(E,Z,ne,Ee,ke);if(Le==null)return Le;if(we){var tt=Z.children;if(tt!==void 0)if(fe)if(_e(tt)){for(var Xr=0;Xr<tt.length;Xr++)p1(tt[Xr],E);Object.freeze&&Object.freeze(tt)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else p1(tt,E)}return E===n?_2(Le):w2(Le),Le}}function E2(E,Z,ne){return m1(E,Z,ne,!0)}function P2(E,Z,ne){return m1(E,Z,ne,!1)}var S2=P2,k2=E2;en.Fragment=n,en.jsx=S2,en.jsxs=k2}()),en}(function(e){process.env.NODE_ENV==="production"?e.exports=v1():e.exports=y1()})(g1);const $1=Jr.Fragment,C=Jr.jsx,ie=Jr.jsxs;function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},A.apply(this,arguments)}function x1(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 Re(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),c=r.length;r=[...r,i];function d(f){const{scope:p,children:m,...b}=f,g=(p==null?void 0:p[e][c])||s,v=l.useMemo(()=>b,Object.values(b));return l.createElement(g.Provider,{value:v},m)}function u(f,p){const m=(p==null?void 0:p[e][c])||s,b=l.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return d.displayName=a+"Provider",[d,u]}const o=()=>{const a=r.map(i=>l.createContext(i));return function(s){const c=(s==null?void 0:s[e])||a;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,w1(o,...t)]}function w1(...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 f=c(a)[`__scope${d}`];return{...s,...f}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function _1(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Cc(...e){return t=>e.forEach(r=>_1(r,t))}function pe(...e){return l.useCallback(Cc(...e),e)}function oe(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 De=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},E1=re["useId".toString()]||(()=>{});let P1=0;function it(e){const[t,r]=re.useState(E1());return De(()=>{e||r(n=>n??String(P1++))},[e]),e||(t?`radix-${t}`:"")}function Oe(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function rt({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=S1({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=Oe(r),c=l.useCallback(d=>{if(a){const f=typeof d=="function"?d(e):d;f!==e&&s(f)}else o(d)},[a,e,o,s]);return[i,c]}function S1({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=Oe(t);return l.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const Ke=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),a=o.find(k1);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(Pa,A({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(Pa,A({},n,{ref:t}),r)});Ke.displayName="Slot";const Pa=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...T1(n,r.props),ref:Cc(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});Pa.displayName="SlotClone";const Sa=({children:e})=>l.createElement(l.Fragment,null,e);function k1(e){return l.isValidElement(e)&&e.type===Sa}function T1(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 Ht=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function D1(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}function tn(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const ka="dismissableLayer.update",C1="dismissableLayer.pointerDownOutside",O1="dismissableLayer.focusOutside";let Oc;const I1=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),A1=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(I1),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,T=w>=x,N=N1(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!T||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=M1(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Oc=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Ic(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Oc)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Ic())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(ka,_),()=>document.removeEventListener(ka,_)},[]),l.createElement(Ht.div,A({},d,{ref:g,style:{pointerEvents:y?T?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))});function N1(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Ac(C1,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 M1(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Ac(O1,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 Ic(){const e=new CustomEvent(ka);document.dispatchEvent(e)}function Ac(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?D1(o,a):o.dispatchEvent(a)}const z1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Ta="focusScope.autoFocusOnMount",Da="focusScope.autoFocusOnUnmount",Nc={bubbles:!1,cancelable:!0},Ca=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,c]=l.useState(null),d=Oe(o),u=Oe(a),f=l.useRef(null),p=pe(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 x=$.target;s.contains(x)?f.current=x:Gt(f.current,{select:!0})},v=function($){m.paused||!s||s.contains($.relatedTarget)||Gt(f.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){Fc.add(m);const g=document.activeElement;if(!s.contains(g)){const $=new CustomEvent(Ta,Nc);s.addEventListener(Ta,d),s.dispatchEvent($),$.defaultPrevented||(F1(B1(Mc(s)),{select:!0}),document.activeElement===g&&Gt(s))}return()=>{s.removeEventListener(Ta,d),setTimeout(()=>{const $=new CustomEvent(Da,Nc);s.addEventListener(Da,u),s.dispatchEvent($),$.defaultPrevented||Gt(g??document.body,{select:!0}),s.removeEventListener(Da,u),Fc.remove(m)},0)}}},[s,d,u,m]);const b=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 x=g.currentTarget,[w,y]=L1(x);w&&y?!g.shiftKey&&$===y?(g.preventDefault(),r&&Gt(w,{select:!0})):g.shiftKey&&$===w&&(g.preventDefault(),r&&Gt(y,{select:!0})):$===x&&g.preventDefault()}},[r,n,m.paused]);return l.createElement(z1.div,A({tabIndex:-1},i,{ref:p,onKeyDown:b}))});function F1(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Gt(n,{select:t}),document.activeElement!==r)return}function L1(e){const t=Mc(e),r=zc(t,e),n=zc(t.reverse(),e);return[r,n]}function Mc(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 zc(e,t){for(const r of e)if(!K1(r,{upTo:t}))return r}function K1(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 j1(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&&j1(e)&&t&&e.select()}}const Fc=V1();function V1(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Lc(e,t),e.unshift(t)},remove(t){var r;e=Lc(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Lc(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function B1(e){return e.filter(t=>t.tagName!=="A")}const R1=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?Ve.createPortal(l.createElement(Ht.div,A({},o,{ref:t})),n):null});function W1(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Xe=e=>{const{present:t,children:r}=e,n=U1(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),a=pe(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:a}):null};Xe.displayName="Presence";function U1(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=W1(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=Fn(n.current);a.current=s==="mounted"?d:"none"},[s]),De(()=>{const d=n.current,u=o.current;if(u!==e){const p=a.current,m=Fn(d);e?c("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),De(()=>{if(t){const d=f=>{const m=Fn(n.current).includes(f.animationName);f.target===t&&m&&Ve.flushSync(()=>c("ANIMATION_END"))},u=f=>{f.target===t&&(a.current=Fn(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Fn(e){return(e==null?void 0:e.animationName)||"none"}let Oa=0;function Ia(){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:Kc()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Kc()),Oa++,()=>{Oa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Oa--}},[])}function Kc(){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 st=function(){return st=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},st.apply(this,arguments)};function jc(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 H1(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 Ln="right-scroll-bar-position",Kn="width-before-scroll-bar",G1="with-scroll-bars-hidden",Y1="--removed-body-scroll-bar-size";function q1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Z1(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 X1(e,t){return Z1(t||null,function(r){return e.forEach(function(n){return q1(n,r)})})}function J1(e){return e}function Q1(e,t){t===void 0&&(t=J1);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(s){return a(s)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var s=r;r=[],s.forEach(a),i=r}var c=function(){var u=i;i=[],u.forEach(a)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(u){i.push(u),d()},filter:function(u){return i=i.filter(u),r}}}};return o}function ex(e){e===void 0&&(e={});var t=Q1(null);return t.options=st({async:!0,ssr:!1},e),t}var Vc=function(e){var t=e.sideCar,r=jc(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 re.createElement(n,st({},r))};Vc.isSideCarExport=!0;function tx(e,t){return e.useMedium(t),Vc}var Bc=ex(),Aa=function(){},jn=re.forwardRef(function(e,t){var r=re.useRef(null),n=re.useState({onScrollCapture:Aa,onWheelCapture:Aa,onTouchMoveCapture:Aa}),o=n[0],a=n[1],i=e.forwardProps,s=e.children,c=e.className,d=e.removeScrollBar,u=e.enabled,f=e.shards,p=e.sideCar,m=e.noIsolation,b=e.inert,g=e.allowPinchZoom,v=e.as,$=v===void 0?"div":v,x=jc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,y=X1([r,t]),T=st(st({},x),o);return re.createElement(re.Fragment,null,u&&re.createElement(w,{sideCar:Bc,removeScrollBar:d,shards:f,noIsolation:m,inert:b,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),i?re.cloneElement(re.Children.only(s),st(st({},T),{ref:y})):re.createElement($,st({},T,{className:c,ref:y}),s))});jn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},jn.classNames={fullWidth:Kn,zeroRight:Ln};var Rc,rx=function(){if(Rc)return Rc;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function nx(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=rx();return t&&e.setAttribute("nonce",t),e}function ox(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ax(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ix=function(){var e=0,t=null;return{add:function(r){e==0&&(t=nx())&&(ox(t,r),ax(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},sx=function(){var e=ix();return function(t,r){re.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Wc=function(){var e=sx(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},lx={left:0,top:0,right:0,gap:0},Na=function(e){return parseInt(e||"",10)||0},cx=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[Na(r),Na(n),Na(o)]},dx=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return lx;var t=cx(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])}},ux=Wc(),fx=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(G1,` {
|
|
29
29
|
overflow: hidden `).concat(n,`;
|
|
30
30
|
padding-right: `).concat(s,"px ").concat(n,`;
|
|
31
31
|
}
|
|
@@ -59,12 +59,12 @@ Check the top-level render call using <`+ne+">.")}return Z}}function u1(E,Z){{if
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
body {
|
|
62
|
-
`).concat(
|
|
62
|
+
`).concat(Y1,": ").concat(s,`px;
|
|
63
63
|
}
|
|
64
|
-
`)},
|
|
64
|
+
`)},px=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=re.useMemo(function(){return dx(o)},[o]);return re.createElement(ux,{styles:fx(a,!t,o,r?"":"!important")})},Ma=!1;if(typeof window<"u")try{var Vn=Object.defineProperty({},"passive",{get:function(){return Ma=!0,!0}});window.addEventListener("test",Vn,Vn),window.removeEventListener("test",Vn,Vn)}catch{Ma=!1}var mr=Ma?{passive:!1}:!1,mx=function(e){return e.tagName==="TEXTAREA"},Uc=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!mx(e)&&r[t]==="visible")},hx=function(e){return Uc(e,"overflowY")},bx=function(e){return Uc(e,"overflowX")},Hc=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Gc(e,r);if(n){var o=Yc(e,r),a=o[1],i=o[2];if(a>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},gx=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},vx=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Gc=function(e,t){return e==="v"?hx(t):bx(t)},Yc=function(e,t){return e==="v"?gx(t):vx(t)},yx=function(e,t){return e==="h"&&t==="rtl"?-1:1},$x=function(e,t,r,n,o){var a=yx(e,window.getComputedStyle(t).direction),i=a*n,s=r.target,c=t.contains(s),d=!1,u=i>0,f=0,p=0;do{var m=Yc(e,s),b=m[0],g=m[1],v=m[2],$=g-v-a*b;(b||$)&&Gc(e,s)&&(f+=$,p+=b),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(o&&f===0||!o&&i>f)||!u&&(o&&p===0||!o&&-i>p))&&(d=!0),d},Bn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},qc=function(e){return[e.deltaX,e.deltaY]},Zc=function(e){return e&&"current"in e?e.current:e},xx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},wx=function(e){return`
|
|
65
65
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
66
66
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
67
|
-
`)},wx=0,hr=[];function _x(e){var t=re.useRef([]),r=re.useRef([0,0]),n=re.useRef(),o=re.useState(wx++)[0],a=re.useState(function(){return Wc()})[0],i=re.useRef(e);re.useEffect(function(){i.current=e},[e]),re.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=U1([e.lockRef.current],(e.shards||[]).map(Zc),!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=re.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var $=Bn(g),x=r.current,w="deltaX"in g?g.deltaX:x[0]-$[0],y="deltaY"in g?g.deltaY:x[1]-$[1],k,N=g.target,P=Math.abs(w)>Math.abs(y)?"h":"v";if("touches"in g&&P==="h"&&N.type==="range")return!1;var _=Hc(P,N);if(!_)return!0;if(_?k=P:(k=P==="v"?"h":"v",_=Hc(P,N)),!_)return!1;if(!n.current&&"changedTouches"in g&&(w||y)&&(n.current=k),!k)return!0;var I=n.current||k;return yx(I,v,g,I==="h"?w:y,!0)},[]),c=re.useCallback(function(g){var v=g;if(!(!hr.length||hr[hr.length-1]!==a)){var $="deltaY"in v?qc(v):Bn(v),x=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&$x(k.delta,$)})[0];if(x&&x.should){v.cancelable&&v.preventDefault();return}if(!x){var w=(i.current.shards||[]).map(Zc).filter(Boolean).filter(function(k){return k.contains(v.target)}),y=w.length>0?s(v,w[0]):!i.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),d=re.useCallback(function(g,v,$,x){var w={name:g,delta:v,target:$,should:x};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(y){return y!==w})},1)},[]),u=re.useCallback(function(g){r.current=Bn(g),n.current=void 0},[]),f=re.useCallback(function(g){d(g.type,qc(g),g.target,s(g,e.lockRef.current))},[]),p=re.useCallback(function(g){d(g.type,Bn(g),g.target,s(g,e.lockRef.current))},[]);re.useEffect(function(){return hr.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,mr),document.addEventListener("touchmove",c,mr),document.addEventListener("touchstart",u,mr),function(){hr=hr.filter(function(g){return g!==a}),document.removeEventListener("wheel",c,mr),document.removeEventListener("touchmove",c,mr),document.removeEventListener("touchstart",u,mr)}},[]);var m=e.removeScrollBar,b=e.inert;return re.createElement(re.Fragment,null,b?re.createElement(a,{styles:xx(o)}):null,m?re.createElement(fx,{gapMode:"margin"}):null)}const Ex=ex(Bc,_x);var Xc=re.forwardRef(function(e,t){return re.createElement(jn,st({},e,{ref:t,sideCar:Ex}))});Xc.classNames=jn.classNames;const za=Xc;var Px=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},br=new WeakMap,Rn=new WeakMap,Wn={},Fa=0,Jc=function(e){return e&&(e.host||Jc(e.parentNode))},Sx=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Jc(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)})},kx=function(e,t,r,n){var o=Sx(t,Array.isArray(e)?e:[e]);Wn[r]||(Wn[r]=new WeakMap);var a=Wn[r],i=[],s=new Set,c=new Set(o),d=function(f){!f||s.has(f)||(s.add(f),d(f.parentNode))};o.forEach(d);var u=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))u(p);else{var m=p.getAttribute(n),b=m!==null&&m!=="false",g=(br.get(p)||0)+1,v=(a.get(p)||0)+1;br.set(p,g),a.set(p,v),i.push(p),g===1&&b&&Rn.set(p,!0),v===1&&p.setAttribute(r,"true"),b||p.setAttribute(n,"true")}})};return u(t),s.clear(),Fa++,function(){i.forEach(function(f){var p=br.get(f)-1,m=a.get(f)-1;br.set(f,p),a.set(f,m),p||(Rn.has(f)||f.removeAttribute(n),Rn.delete(f)),m||f.removeAttribute(r)}),Fa--,Fa||(br=new WeakMap,br=new WeakMap,Rn=new WeakMap,Wn={})}},La=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Px(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),kx(n,o,r,"aria-hidden")):function(){return null}};const Qc="Dialog",[ed,td]=Re(Qc),[Tx,nt]=ed(Qc),Dx=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,u]=rt({prop:n,defaultProp:o,onChange:a});return l.createElement(Tx,{scope:t,triggerRef:s,contentRef:c,contentId:it(),titleId:it(),descriptionId:it(),open:d,onOpenChange:u,onOpenToggle:l.useCallback(()=>u(f=>!f),[u]),modal:i},r)},Cx="DialogTrigger",Ox=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(Cx,r),a=pe(t,o.triggerRef);return l.createElement(Ht.button,A({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ja(o.open)},n,{ref:a,onClick:oe(e.onClick,o.onOpenToggle)}))}),rd="DialogPortal",[Ix,nd]=ed(rd,{forceMount:void 0}),Ax=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=nt(rd,t);return l.createElement(Ix,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(Xe,{present:r||a.open},l.createElement(B1,{asChild:!0,container:o},i))))},Ka="DialogOverlay",Nx=l.forwardRef((e,t)=>{const r=nd(Ka,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=nt(Ka,e.__scopeDialog);return a.modal?l.createElement(Xe,{present:n||a.open},l.createElement(Mx,A({},o,{ref:t}))):null}),Mx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(Ka,r);return l.createElement(za,{as:Ke,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(Ht.div,A({"data-state":ja(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),gr="DialogContent",zx=l.forwardRef((e,t)=>{const r=nd(gr,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=nt(gr,e.__scopeDialog);return l.createElement(Xe,{present:n||a.open},a.modal?l.createElement(Fx,A({},o,{ref:t})):l.createElement(Lx,A({},o,{ref:t})))}),Fx=l.forwardRef((e,t)=>{const r=nt(gr,e.__scopeDialog),n=l.useRef(null),o=pe(t,r.contentRef,n);return l.useEffect(()=>{const a=n.current;if(a)return La(a)},[]),l.createElement(od,A({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:oe(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:oe(e.onFocusOutside,a=>a.preventDefault())}))}),Lx=l.forwardRef((e,t)=>{const r=nt(gr,e.__scopeDialog),n=l.useRef(!1);return l.createElement(od,A({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),od=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=nt(gr,r),c=l.useRef(null),d=pe(t,c);return Ia(),l.createElement(l.Fragment,null,l.createElement(Ca,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(I1,A({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":ja(s.open)},i,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),ad="DialogTitle",Kx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(ad,r);return l.createElement(Ht.h2,A({id:o.titleId},n,{ref:t}))}),jx="DialogDescription",Vx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(jx,r);return l.createElement(Ht.p,A({id:o.descriptionId},n,{ref:t}))}),Bx="DialogClose",Rx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(Bx,r);return l.createElement(Ht.button,A({type:"button"},n,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))});function ja(e){return e?"open":"closed"}const Wx="DialogTitleWarning",[Ux,D2]=$1(Wx,{contentName:gr,titleName:ad,docsSlug:"dialog"}),id=Dx,sd=Ox,ld=Ax,cd=Nx,dd=zx,ud=Kx,fd=Vx,Va=Rx,Hx="AlertDialog",[Gx,C2]=Re(Hx,[td]),ht=td(),Yx=e=>{const{__scopeAlertDialog:t,...r}=e,n=ht(t);return l.createElement(id,A({},n,r,{modal:!0}))},qx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(sd,A({},o,n,{ref:t}))}),Zx=e=>{const{__scopeAlertDialog:t,...r}=e,n=ht(t);return l.createElement(ld,A({},n,r))},Xx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(cd,A({},o,n,{ref:t}))}),pd="AlertDialogContent",[Jx,Qx]=Gx(pd),ew=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=ht(r),i=l.useRef(null),s=pe(t,i),c=l.useRef(null);return l.createElement(Ux,{contentName:pd,titleName:tw,docsSlug:"alert-dialog"},l.createElement(Jx,{scope:r,cancelRef:c},l.createElement(dd,A({role:"alertdialog"},a,o,{ref:s,onOpenAutoFocus:oe(o.onOpenAutoFocus,d=>{var u;d.preventDefault(),(u=c.current)===null||u===void 0||u.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault()}),l.createElement(Sa,null,n),!1)))}),tw="AlertDialogTitle",rw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(ud,A({},o,n,{ref:t}))}),nw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(fd,A({},o,n,{ref:t}))}),ow=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(Va,A({},o,n,{ref:t}))}),aw="AlertDialogCancel",iw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=Qx(aw,r),a=ht(r),i=pe(t,o);return l.createElement(Va,A({},a,n,{ref:i}))}),sw=Yx,lw=qx,cw=Zx,dw=Xx,uw=ew,fw=ow,pw=iw,mw=rw,hw=nw;function bw(e){function t(L,V,R,J,T){for(var B=0,z=0,Q=0,q=0,ee,Y,ue=0,be=0,ce,ye=ce=ee=0,de=0,$e=0,xe=0,he=0,Be=R.length,_e=Be-1,Se,le="",Ae="",qr="",Ct="",pt;de<Be;){if(Y=R.charCodeAt(de),de===_e&&z+q+Q+B!==0&&(z!==0&&(Y=z===47?10:47),q=Q=B=0,Be++,_e++),z+q+Q+B===0){if(de===_e&&(0<$e&&(le=le.replace(p,"")),0<le.trim().length)){switch(Y){case 32:case 9:case 59:case 13:case 10:break;default:le+=R.charAt(de)}Y=59}switch(Y){case 123:for(le=le.trim(),ee=le.charCodeAt(0),ce=1,he=++de;de<Be;){switch(Y=R.charCodeAt(de)){case 123:ce++;break;case 125:ce--;break;case 47:switch(Y=R.charCodeAt(de+1)){case 42:case 47:e:{for(ye=de+1;ye<_e;++ye)switch(R.charCodeAt(ye)){case 47:if(Y===42&&R.charCodeAt(ye-1)===42&&de+2!==ye){de=ye+1;break e}break;case 10:if(Y===47){de=ye+1;break e}}de=ye}}break;case 91:Y++;case 40:Y++;case 34:case 39:for(;de++<_e&&R.charCodeAt(de)!==Y;);}if(ce===0)break;de++}switch(ce=R.substring(he,de),ee===0&&(ee=(le=le.replace(f,"").trim()).charCodeAt(0)),ee){case 64:switch(0<$e&&(le=le.replace(p,"")),Y=le.charCodeAt(1),Y){case 100:case 109:case 115:case 45:$e=V;break;default:$e=se}if(ce=t(V,$e,ce,Y,T+1),he=ce.length,0<ae&&($e=r(se,le,xe),pt=s(3,ce,$e,V,S,j,he,Y,T,J),le=$e.join(""),pt!==void 0&&(he=(ce=pt.trim()).length)===0&&(Y=0,ce="")),0<he)switch(Y){case 115:le=le.replace(N,i);case 100:case 109:case 45:ce=le+"{"+ce+"}";break;case 107:le=le.replace(x,"$1 $2"),ce=le+"{"+ce+"}",ce=X===1||X===2&&a("@"+ce,3)?"@-webkit-"+ce+"@"+ce:"@"+ce;break;default:ce=le+ce,J===112&&(ce=(Ae+=ce,""))}else ce="";break;default:ce=t(V,r(V,le,xe),ce,J,T+1)}qr+=ce,ce=xe=$e=ye=ee=0,le="",Y=R.charCodeAt(++de);break;case 125:case 59:if(le=(0<$e?le.replace(p,""):le).trim(),1<(he=le.length))switch(ye===0&&(ee=le.charCodeAt(0),ee===45||96<ee&&123>ee)&&(he=(le=le.replace(" ",":")).length),0<ae&&(pt=s(1,le,V,L,S,j,Ae.length,J,T,J))!==void 0&&(he=(le=pt.trim()).length)===0&&(le="\0\0"),ee=le.charCodeAt(0),Y=le.charCodeAt(1),ee){case 0:break;case 64:if(Y===105||Y===99){Ct+=le+R.charAt(de);break}default:le.charCodeAt(he-1)!==58&&(Ae+=o(le,ee,Y,le.charCodeAt(2)))}xe=$e=ye=ee=0,le="",Y=R.charCodeAt(++de)}}switch(Y){case 13:case 10:z===47?z=0:1+ee===0&&J!==107&&0<le.length&&($e=1,le+="\0"),0<ae*K&&s(0,le,V,L,S,j,Ae.length,J,T,J),j=1,S++;break;case 59:case 125:if(z+q+Q+B===0){j++;break}default:switch(j++,Se=R.charAt(de),Y){case 9:case 32:if(q+B+z===0)switch(ue){case 44:case 58:case 9:case 32:Se="";break;default:Y!==32&&(Se=" ")}break;case 0:Se="\\0";break;case 12:Se="\\f";break;case 11:Se="\\v";break;case 38:q+z+B===0&&($e=xe=1,Se="\f"+Se);break;case 108:if(q+z+B+O===0&&0<ye)switch(de-ye){case 2:ue===112&&R.charCodeAt(de-3)===58&&(O=ue);case 8:be===111&&(O=be)}break;case 58:q+z+B===0&&(ye=de);break;case 44:z+Q+q+B===0&&($e=1,Se+="\r");break;case 34:case 39:z===0&&(q=q===Y?0:q===0?Y:q);break;case 91:q+z+Q===0&&B++;break;case 93:q+z+Q===0&&B--;break;case 41:q+z+B===0&&Q--;break;case 40:if(q+z+B===0){if(ee===0)switch(2*ue+3*be){case 533:break;default:ee=1}Q++}break;case 64:z+Q+q+B+ye+ce===0&&(ce=1);break;case 42:case 47:if(!(0<q+B+Q))switch(z){case 0:switch(2*Y+3*R.charCodeAt(de+1)){case 235:z=47;break;case 220:he=de,z=42}break;case 42:Y===47&&ue===42&&he+2!==de&&(R.charCodeAt(he+2)===33&&(Ae+=R.substring(he,de+1)),Se="",z=0)}}z===0&&(le+=Se)}be=ue,ue=Y,de++}if(he=Ae.length,0<he){if($e=V,0<ae&&(pt=s(2,Ae,$e,L,S,j,he,J,T,J),pt!==void 0&&(Ae=pt).length===0))return Ct+Ae+qr;if(Ae=$e.join(",")+"{"+Ae+"}",X*O!==0){switch(X!==2||a(Ae,2)||(O=0),O){case 111:Ae=Ae.replace(y,":-moz-$1")+Ae;break;case 112:Ae=Ae.replace(w,"::-webkit-input-$1")+Ae.replace(w,"::-moz-$1")+Ae.replace(w,":-ms-input-$1")+Ae}O=0}}return Ct+Ae+qr}function r(L,V,R){var J=V.trim().split(v);V=J;var T=J.length,B=L.length;switch(B){case 0:case 1:var z=0;for(L=B===0?"":L[0]+" ";z<T;++z)V[z]=n(L,V[z],R).trim();break;default:var Q=z=0;for(V=[];z<T;++z)for(var q=0;q<B;++q)V[Q++]=n(L[q]+" ",J[z],R).trim()}return V}function n(L,V,R){var J=V.charCodeAt(0);switch(33>J&&(J=(V=V.trim()).charCodeAt(0)),J){case 38:return V.replace($,"$1"+L.trim());case 58:return L.trim()+V.replace($,"$1"+L.trim());default:if(0<1*R&&0<V.indexOf("\f"))return V.replace($,(L.charCodeAt(0)===58?"":"$1")+L.trim())}return L+V}function o(L,V,R,J){var T=L+";",B=2*V+3*R+4*J;if(B===944){L=T.indexOf(":",9)+1;var z=T.substring(L,T.length-1).trim();return z=T.substring(0,L).trim()+z+";",X===1||X===2&&a(z,1)?"-webkit-"+z+z:z}if(X===0||X===2&&!a(T,1))return T;switch(B){case 1015:return T.charCodeAt(10)===97?"-webkit-"+T+T:T;case 951:return T.charCodeAt(3)===116?"-webkit-"+T+T:T;case 963:return T.charCodeAt(5)===110?"-webkit-"+T+T:T;case 1009:if(T.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+T+T;case 978:return"-webkit-"+T+"-moz-"+T+T;case 1019:case 983:return"-webkit-"+T+"-moz-"+T+"-ms-"+T+T;case 883:if(T.charCodeAt(8)===45)return"-webkit-"+T+T;if(0<T.indexOf("image-set(",11))return T.replace(D,"$1-webkit-$2")+T;break;case 932:if(T.charCodeAt(4)===45)switch(T.charCodeAt(5)){case 103:return"-webkit-box-"+T.replace("-grow","")+"-webkit-"+T+"-ms-"+T.replace("grow","positive")+T;case 115:return"-webkit-"+T+"-ms-"+T.replace("shrink","negative")+T;case 98:return"-webkit-"+T+"-ms-"+T.replace("basis","preferred-size")+T}return"-webkit-"+T+"-ms-"+T+T;case 964:return"-webkit-"+T+"-ms-flex-"+T+T;case 1023:if(T.charCodeAt(8)!==99)break;return z=T.substring(T.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+z+"-webkit-"+T+"-ms-flex-pack"+z+T;case 1005:return b.test(T)?T.replace(m,":-webkit-")+T.replace(m,":-moz-")+T:T;case 1e3:switch(z=T.substring(13).trim(),V=z.indexOf("-")+1,z.charCodeAt(0)+z.charCodeAt(V)){case 226:z=T.replace(k,"tb");break;case 232:z=T.replace(k,"tb-rl");break;case 220:z=T.replace(k,"lr");break;default:return T}return"-webkit-"+T+"-ms-"+z+T;case 1017:if(T.indexOf("sticky",9)===-1)break;case 975:switch(V=(T=L).length-10,z=(T.charCodeAt(V)===33?T.substring(0,V):T).substring(L.indexOf(":",7)+1).trim(),B=z.charCodeAt(0)+(z.charCodeAt(7)|0)){case 203:if(111>z.charCodeAt(8))break;case 115:T=T.replace(z,"-webkit-"+z)+";"+T;break;case 207:case 102:T=T.replace(z,"-webkit-"+(102<B?"inline-":"")+"box")+";"+T.replace(z,"-webkit-"+z)+";"+T.replace(z,"-ms-"+z+"box")+";"+T}return T+";";case 938:if(T.charCodeAt(5)===45)switch(T.charCodeAt(6)){case 105:return z=T.replace("-items",""),"-webkit-"+T+"-webkit-box-"+z+"-ms-flex-"+z+T;case 115:return"-webkit-"+T+"-ms-flex-item-"+T.replace(_,"")+T;default:return"-webkit-"+T+"-ms-flex-line-pack"+T.replace("align-content","").replace(_,"")+T}break;case 973:case 989:if(T.charCodeAt(3)!==45||T.charCodeAt(4)===122)break;case 931:case 953:if(W.test(L)===!0)return(z=L.substring(L.indexOf(":")+1)).charCodeAt(0)===115?o(L.replace("stretch","fill-available"),V,R,J).replace(":fill-available",":stretch"):T.replace(z,"-webkit-"+z)+T.replace(z,"-moz-"+z.replace("fill-",""))+T;break;case 962:if(T="-webkit-"+T+(T.charCodeAt(5)===102?"-ms-"+T:"")+T,R+J===211&&T.charCodeAt(13)===105&&0<T.indexOf("transform",10))return T.substring(0,T.indexOf(";",27)+1).replace(g,"$1-webkit-$2")+T}return T}function a(L,V){var R=L.indexOf(V===1?":":"{"),J=L.substring(0,V!==3?R:10);return R=L.substring(R+1,L.length-1),te(V!==2?J:J.replace(I,"$1"),R,V)}function i(L,V){var R=o(V,V.charCodeAt(0),V.charCodeAt(1),V.charCodeAt(2));return R!==V+";"?R.replace(P," or ($1)").substring(4):"("+V+")"}function s(L,V,R,J,T,B,z,Q,q,ee){for(var Y=0,ue=V,be;Y<ae;++Y)switch(be=G[Y].call(u,L,ue,R,J,T,B,z,Q,q,ee)){case void 0:case!1:case!0:case null:break;default:ue=be}if(ue!==V)return ue}function c(L){switch(L){case void 0:case null:ae=G.length=0;break;default:if(typeof L=="function")G[ae++]=L;else if(typeof L=="object")for(var V=0,R=L.length;V<R;++V)c(L[V]);else K=!!L|0}return c}function d(L){return L=L.prefix,L!==void 0&&(te=null,L?typeof L!="function"?X=1:(X=2,te=L):X=0),d}function u(L,V){var R=L;if(33>R.charCodeAt(0)&&(R=R.trim()),M=R,R=[M],0<ae){var J=s(-1,V,R,R,S,j,0,0,0,0);J!==void 0&&typeof J=="string"&&(V=J)}var T=t(se,R,V,0,0);return 0<ae&&(J=s(-2,T,R,R,S,j,T.length,0,0,0),J!==void 0&&(T=J)),M="",O=0,j=S=1,T}var f=/^\0+/g,p=/[\0\r\f]/g,m=/: */g,b=/zoo|gra/,g=/([,: ])(transform)/g,v=/,\r+?/g,$=/([\t\r\n ])*\f?&/g,x=/@(k\w+)\s*(\S*)\s*/,w=/::(place)/g,y=/:(read-only)/g,k=/[svh]\w+-[tblr]{2}/,N=/\(\s*(.*)\s*\)/g,P=/([\s\S]*?);/g,_=/-self|flex-/g,I=/[^]*?(:[rp][el]a[\w-]+)[^]*/,W=/stretch|:\s*\w+\-(?:conte|avail)/,D=/([^-])(image-set\()/,j=1,S=1,O=0,X=1,se=[],G=[],ae=0,te=null,K=0,M="";return u.use=c,u.set=d,e!==void 0&&d(e),u}var gw={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function vw(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var yw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,md=vw(function(e){return yw.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ba=mt,$w={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xw={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ww={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},hd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ra={};Ra[Ba.ForwardRef]=ww,Ra[Ba.Memo]=hd;function bd(e){return Ba.isMemo(e)?hd:Ra[e.$$typeof]||$w}var _w=Object.defineProperty,Ew=Object.getOwnPropertyNames,gd=Object.getOwnPropertySymbols,Pw=Object.getOwnPropertyDescriptor,Sw=Object.getPrototypeOf,vd=Object.prototype;function yd(e,t,r){if(typeof t!="string"){if(vd){var n=Sw(t);n&&n!==vd&&yd(e,n,r)}var o=Ew(t);gd&&(o=o.concat(gd(t)));for(var a=bd(e),i=bd(t),s=0;s<o.length;++s){var c=o[s];if(!xw[c]&&!(r&&r[c])&&!(i&&i[c])&&!(a&&a[c])){var d=Pw(t,c);try{_w(e,c,d)}catch{}}}}return e}var $d=yd;function bt(){return(bt=Object.assign||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}).apply(this,arguments)}var xd=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},Wa=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!mt.typeOf(e)},Un=Object.freeze([]),It=Object.freeze({});function rn(e){return typeof e=="function"}function Ua(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Ha(e){return e&&typeof e.styledComponentId=="string"}var vr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ga=typeof window<"u"&&"HTMLElement"in window,kw=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production")),Tw=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
67
|
+
`)},_x=0,hr=[];function Ex(e){var t=re.useRef([]),r=re.useRef([0,0]),n=re.useRef(),o=re.useState(_x++)[0],a=re.useState(function(){return Wc()})[0],i=re.useRef(e);re.useEffect(function(){i.current=e},[e]),re.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=H1([e.lockRef.current],(e.shards||[]).map(Zc),!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=re.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var $=Bn(g),x=r.current,w="deltaX"in g?g.deltaX:x[0]-$[0],y="deltaY"in g?g.deltaY:x[1]-$[1],T,N=g.target,P=Math.abs(w)>Math.abs(y)?"h":"v";if("touches"in g&&P==="h"&&N.type==="range")return!1;var _=Hc(P,N);if(!_)return!0;if(_?T=P:(T=P==="v"?"h":"v",_=Hc(P,N)),!_)return!1;if(!n.current&&"changedTouches"in g&&(w||y)&&(n.current=T),!T)return!0;var I=n.current||T;return $x(I,v,g,I==="h"?w:y,!0)},[]),c=re.useCallback(function(g){var v=g;if(!(!hr.length||hr[hr.length-1]!==a)){var $="deltaY"in v?qc(v):Bn(v),x=t.current.filter(function(T){return T.name===v.type&&T.target===v.target&&xx(T.delta,$)})[0];if(x&&x.should){v.cancelable&&v.preventDefault();return}if(!x){var w=(i.current.shards||[]).map(Zc).filter(Boolean).filter(function(T){return T.contains(v.target)}),y=w.length>0?s(v,w[0]):!i.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),d=re.useCallback(function(g,v,$,x){var w={name:g,delta:v,target:$,should:x};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(y){return y!==w})},1)},[]),u=re.useCallback(function(g){r.current=Bn(g),n.current=void 0},[]),f=re.useCallback(function(g){d(g.type,qc(g),g.target,s(g,e.lockRef.current))},[]),p=re.useCallback(function(g){d(g.type,Bn(g),g.target,s(g,e.lockRef.current))},[]);re.useEffect(function(){return hr.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,mr),document.addEventListener("touchmove",c,mr),document.addEventListener("touchstart",u,mr),function(){hr=hr.filter(function(g){return g!==a}),document.removeEventListener("wheel",c,mr),document.removeEventListener("touchmove",c,mr),document.removeEventListener("touchstart",u,mr)}},[]);var m=e.removeScrollBar,b=e.inert;return re.createElement(re.Fragment,null,b?re.createElement(a,{styles:wx(o)}):null,m?re.createElement(px,{gapMode:"margin"}):null)}const Px=tx(Bc,Ex);var Xc=re.forwardRef(function(e,t){return re.createElement(jn,st({},e,{ref:t,sideCar:Px}))});Xc.classNames=jn.classNames;const za=Xc;var Sx=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},br=new WeakMap,Rn=new WeakMap,Wn={},Fa=0,Jc=function(e){return e&&(e.host||Jc(e.parentNode))},kx=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Jc(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)})},Tx=function(e,t,r,n){var o=kx(t,Array.isArray(e)?e:[e]);Wn[r]||(Wn[r]=new WeakMap);var a=Wn[r],i=[],s=new Set,c=new Set(o),d=function(f){!f||s.has(f)||(s.add(f),d(f.parentNode))};o.forEach(d);var u=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))u(p);else{var m=p.getAttribute(n),b=m!==null&&m!=="false",g=(br.get(p)||0)+1,v=(a.get(p)||0)+1;br.set(p,g),a.set(p,v),i.push(p),g===1&&b&&Rn.set(p,!0),v===1&&p.setAttribute(r,"true"),b||p.setAttribute(n,"true")}})};return u(t),s.clear(),Fa++,function(){i.forEach(function(f){var p=br.get(f)-1,m=a.get(f)-1;br.set(f,p),a.set(f,m),p||(Rn.has(f)||f.removeAttribute(n),Rn.delete(f)),m||f.removeAttribute(r)}),Fa--,Fa||(br=new WeakMap,br=new WeakMap,Rn=new WeakMap,Wn={})}},La=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Sx(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Tx(n,o,r,"aria-hidden")):function(){return null}};const Qc="Dialog",[ed,td]=Re(Qc),[Dx,nt]=ed(Qc),Cx=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,u]=rt({prop:n,defaultProp:o,onChange:a});return l.createElement(Dx,{scope:t,triggerRef:s,contentRef:c,contentId:it(),titleId:it(),descriptionId:it(),open:d,onOpenChange:u,onOpenToggle:l.useCallback(()=>u(f=>!f),[u]),modal:i},r)},Ox="DialogTrigger",Ix=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(Ox,r),a=pe(t,o.triggerRef);return l.createElement(Ht.button,A({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ja(o.open)},n,{ref:a,onClick:oe(e.onClick,o.onOpenToggle)}))}),rd="DialogPortal",[Ax,nd]=ed(rd,{forceMount:void 0}),Nx=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=nt(rd,t);return l.createElement(Ax,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(Xe,{present:r||a.open},l.createElement(R1,{asChild:!0,container:o},i))))},Ka="DialogOverlay",Mx=l.forwardRef((e,t)=>{const r=nd(Ka,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=nt(Ka,e.__scopeDialog);return a.modal?l.createElement(Xe,{present:n||a.open},l.createElement(zx,A({},o,{ref:t}))):null}),zx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(Ka,r);return l.createElement(za,{as:Ke,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(Ht.div,A({"data-state":ja(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),gr="DialogContent",Fx=l.forwardRef((e,t)=>{const r=nd(gr,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=nt(gr,e.__scopeDialog);return l.createElement(Xe,{present:n||a.open},a.modal?l.createElement(Lx,A({},o,{ref:t})):l.createElement(Kx,A({},o,{ref:t})))}),Lx=l.forwardRef((e,t)=>{const r=nt(gr,e.__scopeDialog),n=l.useRef(null),o=pe(t,r.contentRef,n);return l.useEffect(()=>{const a=n.current;if(a)return La(a)},[]),l.createElement(od,A({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:oe(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:oe(e.onFocusOutside,a=>a.preventDefault())}))}),Kx=l.forwardRef((e,t)=>{const r=nt(gr,e.__scopeDialog),n=l.useRef(!1);return l.createElement(od,A({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),od=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=nt(gr,r),c=l.useRef(null),d=pe(t,c);return Ia(),l.createElement(l.Fragment,null,l.createElement(Ca,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(A1,A({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":ja(s.open)},i,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),ad="DialogTitle",jx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(ad,r);return l.createElement(Ht.h2,A({id:o.titleId},n,{ref:t}))}),Vx="DialogDescription",Bx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(Vx,r);return l.createElement(Ht.p,A({id:o.descriptionId},n,{ref:t}))}),Rx="DialogClose",Wx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(Rx,r);return l.createElement(Ht.button,A({type:"button"},n,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))});function ja(e){return e?"open":"closed"}const Ux="DialogTitleWarning",[Hx,C2]=x1(Ux,{contentName:gr,titleName:ad,docsSlug:"dialog"}),id=Cx,sd=Ix,ld=Nx,cd=Mx,dd=Fx,ud=jx,fd=Bx,Va=Wx,Gx="AlertDialog",[Yx,O2]=Re(Gx,[td]),ht=td(),qx=e=>{const{__scopeAlertDialog:t,...r}=e,n=ht(t);return l.createElement(id,A({},n,r,{modal:!0}))},Zx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(sd,A({},o,n,{ref:t}))}),Xx=e=>{const{__scopeAlertDialog:t,...r}=e,n=ht(t);return l.createElement(ld,A({},n,r))},Jx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(cd,A({},o,n,{ref:t}))}),pd="AlertDialogContent",[Qx,ew]=Yx(pd),tw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=ht(r),i=l.useRef(null),s=pe(t,i),c=l.useRef(null);return l.createElement(Hx,{contentName:pd,titleName:rw,docsSlug:"alert-dialog"},l.createElement(Qx,{scope:r,cancelRef:c},l.createElement(dd,A({role:"alertdialog"},a,o,{ref:s,onOpenAutoFocus:oe(o.onOpenAutoFocus,d=>{var u;d.preventDefault(),(u=c.current)===null||u===void 0||u.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault()}),l.createElement(Sa,null,n),!1)))}),rw="AlertDialogTitle",nw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(ud,A({},o,n,{ref:t}))}),ow=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(fd,A({},o,n,{ref:t}))}),aw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ht(r);return l.createElement(Va,A({},o,n,{ref:t}))}),iw="AlertDialogCancel",sw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=ew(iw,r),a=ht(r),i=pe(t,o);return l.createElement(Va,A({},a,n,{ref:i}))}),lw=qx,cw=Zx,dw=Xx,uw=Jx,fw=tw,pw=aw,mw=sw,hw=nw,bw=ow;function gw(e){function t(L,V,R,J,k){for(var B=0,z=0,Q=0,q=0,ee,Y,ue=0,be=0,ce,ye=ce=ee=0,de=0,$e=0,xe=0,he=0,Be=R.length,_e=Be-1,Se,le="",Ae="",qr="",Ct="",pt;de<Be;){if(Y=R.charCodeAt(de),de===_e&&z+q+Q+B!==0&&(z!==0&&(Y=z===47?10:47),q=Q=B=0,Be++,_e++),z+q+Q+B===0){if(de===_e&&(0<$e&&(le=le.replace(p,"")),0<le.trim().length)){switch(Y){case 32:case 9:case 59:case 13:case 10:break;default:le+=R.charAt(de)}Y=59}switch(Y){case 123:for(le=le.trim(),ee=le.charCodeAt(0),ce=1,he=++de;de<Be;){switch(Y=R.charCodeAt(de)){case 123:ce++;break;case 125:ce--;break;case 47:switch(Y=R.charCodeAt(de+1)){case 42:case 47:e:{for(ye=de+1;ye<_e;++ye)switch(R.charCodeAt(ye)){case 47:if(Y===42&&R.charCodeAt(ye-1)===42&&de+2!==ye){de=ye+1;break e}break;case 10:if(Y===47){de=ye+1;break e}}de=ye}}break;case 91:Y++;case 40:Y++;case 34:case 39:for(;de++<_e&&R.charCodeAt(de)!==Y;);}if(ce===0)break;de++}switch(ce=R.substring(he,de),ee===0&&(ee=(le=le.replace(f,"").trim()).charCodeAt(0)),ee){case 64:switch(0<$e&&(le=le.replace(p,"")),Y=le.charCodeAt(1),Y){case 100:case 109:case 115:case 45:$e=V;break;default:$e=se}if(ce=t(V,$e,ce,Y,k+1),he=ce.length,0<ae&&($e=r(se,le,xe),pt=s(3,ce,$e,V,S,j,he,Y,k,J),le=$e.join(""),pt!==void 0&&(he=(ce=pt.trim()).length)===0&&(Y=0,ce="")),0<he)switch(Y){case 115:le=le.replace(N,i);case 100:case 109:case 45:ce=le+"{"+ce+"}";break;case 107:le=le.replace(x,"$1 $2"),ce=le+"{"+ce+"}",ce=X===1||X===2&&a("@"+ce,3)?"@-webkit-"+ce+"@"+ce:"@"+ce;break;default:ce=le+ce,J===112&&(ce=(Ae+=ce,""))}else ce="";break;default:ce=t(V,r(V,le,xe),ce,J,k+1)}qr+=ce,ce=xe=$e=ye=ee=0,le="",Y=R.charCodeAt(++de);break;case 125:case 59:if(le=(0<$e?le.replace(p,""):le).trim(),1<(he=le.length))switch(ye===0&&(ee=le.charCodeAt(0),ee===45||96<ee&&123>ee)&&(he=(le=le.replace(" ",":")).length),0<ae&&(pt=s(1,le,V,L,S,j,Ae.length,J,k,J))!==void 0&&(he=(le=pt.trim()).length)===0&&(le="\0\0"),ee=le.charCodeAt(0),Y=le.charCodeAt(1),ee){case 0:break;case 64:if(Y===105||Y===99){Ct+=le+R.charAt(de);break}default:le.charCodeAt(he-1)!==58&&(Ae+=o(le,ee,Y,le.charCodeAt(2)))}xe=$e=ye=ee=0,le="",Y=R.charCodeAt(++de)}}switch(Y){case 13:case 10:z===47?z=0:1+ee===0&&J!==107&&0<le.length&&($e=1,le+="\0"),0<ae*K&&s(0,le,V,L,S,j,Ae.length,J,k,J),j=1,S++;break;case 59:case 125:if(z+q+Q+B===0){j++;break}default:switch(j++,Se=R.charAt(de),Y){case 9:case 32:if(q+B+z===0)switch(ue){case 44:case 58:case 9:case 32:Se="";break;default:Y!==32&&(Se=" ")}break;case 0:Se="\\0";break;case 12:Se="\\f";break;case 11:Se="\\v";break;case 38:q+z+B===0&&($e=xe=1,Se="\f"+Se);break;case 108:if(q+z+B+O===0&&0<ye)switch(de-ye){case 2:ue===112&&R.charCodeAt(de-3)===58&&(O=ue);case 8:be===111&&(O=be)}break;case 58:q+z+B===0&&(ye=de);break;case 44:z+Q+q+B===0&&($e=1,Se+="\r");break;case 34:case 39:z===0&&(q=q===Y?0:q===0?Y:q);break;case 91:q+z+Q===0&&B++;break;case 93:q+z+Q===0&&B--;break;case 41:q+z+B===0&&Q--;break;case 40:if(q+z+B===0){if(ee===0)switch(2*ue+3*be){case 533:break;default:ee=1}Q++}break;case 64:z+Q+q+B+ye+ce===0&&(ce=1);break;case 42:case 47:if(!(0<q+B+Q))switch(z){case 0:switch(2*Y+3*R.charCodeAt(de+1)){case 235:z=47;break;case 220:he=de,z=42}break;case 42:Y===47&&ue===42&&he+2!==de&&(R.charCodeAt(he+2)===33&&(Ae+=R.substring(he,de+1)),Se="",z=0)}}z===0&&(le+=Se)}be=ue,ue=Y,de++}if(he=Ae.length,0<he){if($e=V,0<ae&&(pt=s(2,Ae,$e,L,S,j,he,J,k,J),pt!==void 0&&(Ae=pt).length===0))return Ct+Ae+qr;if(Ae=$e.join(",")+"{"+Ae+"}",X*O!==0){switch(X!==2||a(Ae,2)||(O=0),O){case 111:Ae=Ae.replace(y,":-moz-$1")+Ae;break;case 112:Ae=Ae.replace(w,"::-webkit-input-$1")+Ae.replace(w,"::-moz-$1")+Ae.replace(w,":-ms-input-$1")+Ae}O=0}}return Ct+Ae+qr}function r(L,V,R){var J=V.trim().split(v);V=J;var k=J.length,B=L.length;switch(B){case 0:case 1:var z=0;for(L=B===0?"":L[0]+" ";z<k;++z)V[z]=n(L,V[z],R).trim();break;default:var Q=z=0;for(V=[];z<k;++z)for(var q=0;q<B;++q)V[Q++]=n(L[q]+" ",J[z],R).trim()}return V}function n(L,V,R){var J=V.charCodeAt(0);switch(33>J&&(J=(V=V.trim()).charCodeAt(0)),J){case 38:return V.replace($,"$1"+L.trim());case 58:return L.trim()+V.replace($,"$1"+L.trim());default:if(0<1*R&&0<V.indexOf("\f"))return V.replace($,(L.charCodeAt(0)===58?"":"$1")+L.trim())}return L+V}function o(L,V,R,J){var k=L+";",B=2*V+3*R+4*J;if(B===944){L=k.indexOf(":",9)+1;var z=k.substring(L,k.length-1).trim();return z=k.substring(0,L).trim()+z+";",X===1||X===2&&a(z,1)?"-webkit-"+z+z:z}if(X===0||X===2&&!a(k,1))return k;switch(B){case 1015:return k.charCodeAt(10)===97?"-webkit-"+k+k:k;case 951:return k.charCodeAt(3)===116?"-webkit-"+k+k:k;case 963:return k.charCodeAt(5)===110?"-webkit-"+k+k:k;case 1009:if(k.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+k+k;case 978:return"-webkit-"+k+"-moz-"+k+k;case 1019:case 983:return"-webkit-"+k+"-moz-"+k+"-ms-"+k+k;case 883:if(k.charCodeAt(8)===45)return"-webkit-"+k+k;if(0<k.indexOf("image-set(",11))return k.replace(D,"$1-webkit-$2")+k;break;case 932:if(k.charCodeAt(4)===45)switch(k.charCodeAt(5)){case 103:return"-webkit-box-"+k.replace("-grow","")+"-webkit-"+k+"-ms-"+k.replace("grow","positive")+k;case 115:return"-webkit-"+k+"-ms-"+k.replace("shrink","negative")+k;case 98:return"-webkit-"+k+"-ms-"+k.replace("basis","preferred-size")+k}return"-webkit-"+k+"-ms-"+k+k;case 964:return"-webkit-"+k+"-ms-flex-"+k+k;case 1023:if(k.charCodeAt(8)!==99)break;return z=k.substring(k.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+z+"-webkit-"+k+"-ms-flex-pack"+z+k;case 1005:return b.test(k)?k.replace(m,":-webkit-")+k.replace(m,":-moz-")+k:k;case 1e3:switch(z=k.substring(13).trim(),V=z.indexOf("-")+1,z.charCodeAt(0)+z.charCodeAt(V)){case 226:z=k.replace(T,"tb");break;case 232:z=k.replace(T,"tb-rl");break;case 220:z=k.replace(T,"lr");break;default:return k}return"-webkit-"+k+"-ms-"+z+k;case 1017:if(k.indexOf("sticky",9)===-1)break;case 975:switch(V=(k=L).length-10,z=(k.charCodeAt(V)===33?k.substring(0,V):k).substring(L.indexOf(":",7)+1).trim(),B=z.charCodeAt(0)+(z.charCodeAt(7)|0)){case 203:if(111>z.charCodeAt(8))break;case 115:k=k.replace(z,"-webkit-"+z)+";"+k;break;case 207:case 102:k=k.replace(z,"-webkit-"+(102<B?"inline-":"")+"box")+";"+k.replace(z,"-webkit-"+z)+";"+k.replace(z,"-ms-"+z+"box")+";"+k}return k+";";case 938:if(k.charCodeAt(5)===45)switch(k.charCodeAt(6)){case 105:return z=k.replace("-items",""),"-webkit-"+k+"-webkit-box-"+z+"-ms-flex-"+z+k;case 115:return"-webkit-"+k+"-ms-flex-item-"+k.replace(_,"")+k;default:return"-webkit-"+k+"-ms-flex-line-pack"+k.replace("align-content","").replace(_,"")+k}break;case 973:case 989:if(k.charCodeAt(3)!==45||k.charCodeAt(4)===122)break;case 931:case 953:if(W.test(L)===!0)return(z=L.substring(L.indexOf(":")+1)).charCodeAt(0)===115?o(L.replace("stretch","fill-available"),V,R,J).replace(":fill-available",":stretch"):k.replace(z,"-webkit-"+z)+k.replace(z,"-moz-"+z.replace("fill-",""))+k;break;case 962:if(k="-webkit-"+k+(k.charCodeAt(5)===102?"-ms-"+k:"")+k,R+J===211&&k.charCodeAt(13)===105&&0<k.indexOf("transform",10))return k.substring(0,k.indexOf(";",27)+1).replace(g,"$1-webkit-$2")+k}return k}function a(L,V){var R=L.indexOf(V===1?":":"{"),J=L.substring(0,V!==3?R:10);return R=L.substring(R+1,L.length-1),te(V!==2?J:J.replace(I,"$1"),R,V)}function i(L,V){var R=o(V,V.charCodeAt(0),V.charCodeAt(1),V.charCodeAt(2));return R!==V+";"?R.replace(P," or ($1)").substring(4):"("+V+")"}function s(L,V,R,J,k,B,z,Q,q,ee){for(var Y=0,ue=V,be;Y<ae;++Y)switch(be=G[Y].call(u,L,ue,R,J,k,B,z,Q,q,ee)){case void 0:case!1:case!0:case null:break;default:ue=be}if(ue!==V)return ue}function c(L){switch(L){case void 0:case null:ae=G.length=0;break;default:if(typeof L=="function")G[ae++]=L;else if(typeof L=="object")for(var V=0,R=L.length;V<R;++V)c(L[V]);else K=!!L|0}return c}function d(L){return L=L.prefix,L!==void 0&&(te=null,L?typeof L!="function"?X=1:(X=2,te=L):X=0),d}function u(L,V){var R=L;if(33>R.charCodeAt(0)&&(R=R.trim()),M=R,R=[M],0<ae){var J=s(-1,V,R,R,S,j,0,0,0,0);J!==void 0&&typeof J=="string"&&(V=J)}var k=t(se,R,V,0,0);return 0<ae&&(J=s(-2,k,R,R,S,j,k.length,0,0,0),J!==void 0&&(k=J)),M="",O=0,j=S=1,k}var f=/^\0+/g,p=/[\0\r\f]/g,m=/: */g,b=/zoo|gra/,g=/([,: ])(transform)/g,v=/,\r+?/g,$=/([\t\r\n ])*\f?&/g,x=/@(k\w+)\s*(\S*)\s*/,w=/::(place)/g,y=/:(read-only)/g,T=/[svh]\w+-[tblr]{2}/,N=/\(\s*(.*)\s*\)/g,P=/([\s\S]*?);/g,_=/-self|flex-/g,I=/[^]*?(:[rp][el]a[\w-]+)[^]*/,W=/stretch|:\s*\w+\-(?:conte|avail)/,D=/([^-])(image-set\()/,j=1,S=1,O=0,X=1,se=[],G=[],ae=0,te=null,K=0,M="";return u.use=c,u.set=d,e!==void 0&&d(e),u}var vw={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function yw(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var $w=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,md=yw(function(e){return $w.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ba=mt,xw={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ww={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},_w={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},hd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ra={};Ra[Ba.ForwardRef]=_w,Ra[Ba.Memo]=hd;function bd(e){return Ba.isMemo(e)?hd:Ra[e.$$typeof]||xw}var Ew=Object.defineProperty,Pw=Object.getOwnPropertyNames,gd=Object.getOwnPropertySymbols,Sw=Object.getOwnPropertyDescriptor,kw=Object.getPrototypeOf,vd=Object.prototype;function yd(e,t,r){if(typeof t!="string"){if(vd){var n=kw(t);n&&n!==vd&&yd(e,n,r)}var o=Pw(t);gd&&(o=o.concat(gd(t)));for(var a=bd(e),i=bd(t),s=0;s<o.length;++s){var c=o[s];if(!ww[c]&&!(r&&r[c])&&!(i&&i[c])&&!(a&&a[c])){var d=Sw(t,c);try{Ew(e,c,d)}catch{}}}}return e}var $d=yd;function bt(){return(bt=Object.assign||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}).apply(this,arguments)}var xd=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},Wa=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!mt.typeOf(e)},Un=Object.freeze([]),It=Object.freeze({});function rn(e){return typeof e=="function"}function Ua(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Ha(e){return e&&typeof e.styledComponentId=="string"}var vr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ga=typeof window<"u"&&"HTMLElement"in window,Tw=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production")),Dw=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
68
68
|
|
|
69
69
|
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
70
70
|
|
|
@@ -105,12 +105,12 @@ as for instance in your render method then you may be running into this limitati
|
|
|
105
105
|
|
|
106
106
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
107
107
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
108
|
-
`}:{};function
|
|
109
|
-
`;return n},e}(),Hn=new Map,Gn=new Map,nn=1,Yn=function(e){if(Hn.has(e))return Hn.get(e);for(;Gn.has(nn);)nn++;var t=nn++;return process.env.NODE_ENV!=="production"&&((0|t)<0||t>1<<30)&&yr(16,""+t),Hn.set(e,t),Gn.set(t,e),t},
|
|
110
|
-
`),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(
|
|
111
|
-
`}}}return a}(this)},e}(),
|
|
108
|
+
`}:{};function Cw(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],r=1,n=arguments.length;r<n;r+=1)t.push(r<0||arguments.length<=r?void 0:arguments[r]);return t.forEach(function(o){e=e.replace(/%[a-z]/,o)}),e}function yr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw process.env.NODE_ENV==="production"?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):"")):new Error(Cw.apply(void 0,[Dw[e]].concat(r)).trim())}var Ow=function(){function e(r){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=r}var t=e.prototype;return t.indexOfGroup=function(r){for(var n=0,o=0;o<r;o++)n+=this.groupSizes[o];return n},t.insertRules=function(r,n){if(r>=this.groupSizes.length){for(var o=this.groupSizes,a=o.length,i=a;r>=i;)(i<<=1)<0&&yr(16,""+r);this.groupSizes=new Uint32Array(i),this.groupSizes.set(o),this.length=i;for(var s=a;s<i;s++)this.groupSizes[s]=0}for(var c=this.indexOfGroup(r+1),d=0,u=n.length;d<u;d++)this.tag.insertRule(c,n[d])&&(this.groupSizes[r]++,c++)},t.clearGroup=function(r){if(r<this.length){var n=this.groupSizes[r],o=this.indexOfGroup(r),a=o+n;this.groupSizes[r]=0;for(var i=o;i<a;i++)this.tag.deleteRule(o)}},t.getGroup=function(r){var n="";if(r>=this.length||this.groupSizes[r]===0)return n;for(var o=this.groupSizes[r],a=this.indexOfGroup(r),i=a+o,s=a;s<i;s++)n+=this.tag.getRule(s)+`/*!sc*/
|
|
109
|
+
`;return n},e}(),Hn=new Map,Gn=new Map,nn=1,Yn=function(e){if(Hn.has(e))return Hn.get(e);for(;Gn.has(nn);)nn++;var t=nn++;return process.env.NODE_ENV!=="production"&&((0|t)<0||t>1<<30)&&yr(16,""+t),Hn.set(e,t),Gn.set(t,e),t},Iw=function(e){return Gn.get(e)},Aw=function(e,t){t>=nn&&(nn=t+1),Hn.set(e,t),Gn.set(t,e)},Nw="style["+vr+'][data-styled-version="5.3.8"]',Mw=new RegExp("^"+vr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),zw=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},Fw=function(e,t){for(var r=(t.textContent||"").split(`/*!sc*/
|
|
110
|
+
`),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(Mw);if(s){var c=0|parseInt(s[1],10),d=s[2];c!==0&&(Aw(d,c),zw(e,d,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},Lw=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},wd=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(s){for(var c=s.childNodes,d=c.length;d>=0;d--){var u=c[d];if(u&&u.nodeType===1&&u.hasAttribute(vr))return u}}(r),a=o!==void 0?o.nextSibling:null;n.setAttribute(vr,"active"),n.setAttribute("data-styled-version","5.3.8");var i=Lw();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},Kw=function(){function e(r){var n=this.element=wd(r);n.appendChild(document.createTextNode("")),this.sheet=function(o){if(o.sheet)return o.sheet;for(var a=document.styleSheets,i=0,s=a.length;i<s;i++){var c=a[i];if(c.ownerNode===o)return c}yr(17)}(n),this.length=0}var t=e.prototype;return t.insertRule=function(r,n){try{return this.sheet.insertRule(n,r),this.length++,!0}catch{return!1}},t.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},t.getRule=function(r){var n=this.sheet.cssRules[r];return n!==void 0&&typeof n.cssText=="string"?n.cssText:""},e}(),jw=function(){function e(r){var n=this.element=wd(r);this.nodes=n.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(r,n){if(r<=this.length&&r>=0){var o=document.createTextNode(n),a=this.nodes[r];return this.element.insertBefore(o,a||null),this.length++,!0}return!1},t.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},t.getRule=function(r){return r<this.length?this.nodes[r].textContent:""},e}(),Vw=function(){function e(r){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(r,n){return r<=this.length&&(this.rules.splice(r,0,n),this.length++,!0)},t.deleteRule=function(r){this.rules.splice(r,1),this.length--},t.getRule=function(r){return r<this.length?this.rules[r]:""},e}(),_d=Ga,Bw={isServer:!Ga,useCSSOMInjection:!Tw},Ed=function(){function e(r,n,o){r===void 0&&(r=It),n===void 0&&(n={}),this.options=bt({},Bw,{},r),this.gs=n,this.names=new Map(o),this.server=!!r.isServer,!this.server&&Ga&&_d&&(_d=!1,function(a){for(var i=document.querySelectorAll(Nw),s=0,c=i.length;s<c;s++){var d=i[s];d&&d.getAttribute(vr)!=="active"&&(Fw(a,d),d.parentNode&&d.parentNode.removeChild(d))}}(this))}e.registerId=function(r){return Yn(r)};var t=e.prototype;return t.reconstructWithOptions=function(r,n){return n===void 0&&(n=!0),new e(bt({},this.options,{},r),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},t.getTag=function(){return this.tag||(this.tag=(o=(n=this.options).isServer,a=n.useCSSOMInjection,i=n.target,r=o?new Vw(i):a?new Kw(i):new jw(i),new Ow(r)));var r,n,o,a,i},t.hasNameForId=function(r,n){return this.names.has(r)&&this.names.get(r).has(n)},t.registerName=function(r,n){if(Yn(r),this.names.has(r))this.names.get(r).add(n);else{var o=new Set;o.add(n),this.names.set(r,o)}},t.insertRules=function(r,n,o){this.registerName(r,n),this.getTag().insertRules(Yn(r),o)},t.clearNames=function(r){this.names.has(r)&&this.names.get(r).clear()},t.clearRules=function(r){this.getTag().clearGroup(Yn(r)),this.clearNames(r)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(r){for(var n=r.getTag(),o=n.length,a="",i=0;i<o;i++){var s=Iw(i);if(s!==void 0){var c=r.names.get(s),d=n.getGroup(i);if(c&&d&&c.size){var u=vr+".g"+i+'[id="'+s+'"]',f="";c!==void 0&&c.forEach(function(p){p.length>0&&(f+=p+",")}),a+=""+d+u+'{content:"'+f+`"}/*!sc*/
|
|
111
|
+
`}}}return a}(this)},e}(),Rw=/(a)(d)/gi,Pd=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ya(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Pd(t%52)+r;return(Pd(t%52)+r).replace(Rw,"$1-$2")}var Yt=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Sd=function(e){return Yt(5381,e)};function Ww(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(rn(r)&&!Ha(r))return!1}return!0}var Uw=Sd("5.3.8"),Hw=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Ww(t),this.componentId=r,this.baseHash=Yt(Uw,r),this.baseStyle=n,Ed.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.componentId,a=[];if(this.baseStyle&&a.push(this.baseStyle.generateAndInjectStyles(t,r,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(o,this.staticRulesId))a.push(this.staticRulesId);else{var i=$r(this.rules,t,r,n).join(""),s=Ya(Yt(this.baseHash,i)>>>0);if(!r.hasNameForId(o,s)){var c=n(i,"."+s,void 0,o);r.insertRules(o,s,c)}a.push(s),this.staticRulesId=s}else{for(var d=this.rules.length,u=Yt(this.baseHash,n.hash),f="",p=0;p<d;p++){var m=this.rules[p];if(typeof m=="string")f+=m,process.env.NODE_ENV!=="production"&&(u=Yt(u,m+p));else if(m){var b=$r(m,t,r,n),g=Array.isArray(b)?b.join(""):b;u=Yt(u,g+p),f+=g}}if(f){var v=Ya(u>>>0);if(!r.hasNameForId(o,v)){var $=n(f,"."+v,void 0,o);r.insertRules(o,v,$)}a.push(v)}}return a.join(" ")},e}(),Gw=/^\s*\/\/.*$/gm,Yw=[":","[",".","#"];function qw(e){var t,r,n,o,a=e===void 0?It:e,i=a.options,s=i===void 0?It:i,c=a.plugins,d=c===void 0?Un:c,u=new gw(s),f=[],p=function(g){function v($){if($)try{g($+"}")}catch{}}return function($,x,w,y,T,N,P,_,I,W){switch($){case 1:if(I===0&&x.charCodeAt(0)===64)return g(x+";"),"";break;case 2:if(_===0)return x+"/*|*/";break;case 3:switch(_){case 102:case 112:return g(w[0]+x),"";default:return x+(W===0?"/*|*/":"")}case-2:x.split("/*|*/}").forEach(v)}}}(function(g){f.push(g)}),m=function(g,v,$){return v===0&&Yw.indexOf($[r.length])!==-1||$.match(o)?g:"."+t};function b(g,v,$,x){x===void 0&&(x="&");var w=g.replace(Gw,""),y=v&&$?$+" "+v+" { "+w+" }":w;return t=x,r=v,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),u($||!v?"":v,y)}return u.use([].concat(d,[function(g,v,$){g===2&&$.length&&$[0].lastIndexOf(r)>0&&($[0]=$[0].replace(n,m))},p,function(g){if(g===-2){var v=f;return f=[],v}}])),b.hash=d.length?d.reduce(function(g,v){return v.name||yr(15),Yt(g,v.name)},5381).toString():"",b}var kd=l.createContext();kd.Consumer;var Td=l.createContext(),Zw=(Td.Consumer,new Ed),qa=qw();function Xw(){return l.useContext(kd)||Zw}function Jw(){return l.useContext(Td)||qa}var Dd=function(){function e(t,r){var n=this;this.inject=function(o,a){a===void 0&&(a=qa);var i=n.name+a.hash;o.hasNameForId(n.id,i)||o.insertRules(n.id,i,a(n.rules,i,"@keyframes"))},this.toString=function(){return yr(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=r}return e.prototype.getName=function(t){return t===void 0&&(t=qa),this.name+t.hash},e}(),Qw=/([A-Z])/,e_=/([A-Z])/g,t_=/^ms-/,r_=function(e){return"-"+e.toLowerCase()};function Cd(e){return Qw.test(e)?e.replace(e_,r_).replace(t_,"-ms-"):e}var Od=function(e){return e==null||e===!1||e===""};function $r(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],i=0,s=e.length;i<s;i+=1)(o=$r(e[i],t,r,n))!==""&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}if(Od(e))return"";if(Ha(e))return"."+e.styledComponentId;if(rn(e)){if(typeof(d=e)!="function"||d.prototype&&d.prototype.isReactComponent||!t)return e;var c=e(t);return process.env.NODE_ENV!=="production"&&mt.isElement(c)&&console.warn(Ua(e)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),$r(c,t,r,n)}var d;return e instanceof Dd?r?(e.inject(r,n),e.getName(n)):e:Wa(e)?function u(f,p){var m,b,g=[];for(var v in f)f.hasOwnProperty(v)&&!Od(f[v])&&(Array.isArray(f[v])&&f[v].isCss||rn(f[v])?g.push(Cd(v)+":",f[v],";"):Wa(f[v])?g.push.apply(g,u(f[v],v)):g.push(Cd(v)+": "+(m=v,(b=f[v])==null||typeof b=="boolean"||b===""?"":typeof b!="number"||b===0||m in vw?String(b).trim():b+"px")+";"));return p?[p+" {"].concat(g,["}"]):g}(e):e.toString()}var Id=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function qt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return rn(e)||Wa(e)?Id($r(xd(Un,[e].concat(r)))):r.length===0&&e.length===1&&typeof e[0]=="string"?e:Id($r(xd(e,r)))}var Ad=/invalid hook call/i,qn=new Set,n_=function(e,t){if(process.env.NODE_ENV!=="production"){var r="The component "+e+(t?' with the id of "'+t+'"':"")+` has been created dynamically.
|
|
112
112
|
You may see this warning because you've called styled inside another component.
|
|
113
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,n=console.error;try{var o=!0;console.error=function(a){if(Ad.test(a))o=!1,qn.delete(r);else{for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];n.apply(void 0,[a].concat(s))}},l.useRef(),o&&!qn.has(r)&&(console.warn(r),qn.add(r))}catch(a){Ad.test(a.message)&&qn.delete(r)}finally{console.error=n}}},
|
|
113
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,n=console.error;try{var o=!0;console.error=function(a){if(Ad.test(a))o=!1,qn.delete(r);else{for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];n.apply(void 0,[a].concat(s))}},l.useRef(),o&&!qn.has(r)&&(console.warn(r),qn.add(r))}catch(a){Ad.test(a.message)&&qn.delete(r)}finally{console.error=n}}},o_=function(e,t,r){return r===void 0&&(r=It),e.theme!==r.theme&&e.theme||t||r.theme},a_=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,i_=/(^-|-$)/g;function Za(e){return e.replace(a_,"-").replace(i_,"")}var Nd=function(e){return Ya(Sd(e)>>>0)};function Zn(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Xa=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},s_=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function l_(e,t,r){var n=e[r];Xa(t)&&Xa(n)?Md(n,t):e[r]=t}function Md(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(Xa(i))for(var s in i)s_(s)&&l_(e,i[s],s)}return e}var zd=l.createContext();zd.Consumer;var Ja={};function Fd(e,t,r){var n=Ha(e),o=!Zn(e),a=t.attrs,i=a===void 0?Un:a,s=t.componentId,c=s===void 0?function(x,w){var y=typeof x!="string"?"sc":Za(x);Ja[y]=(Ja[y]||0)+1;var T=y+"-"+Nd("5.3.8"+y+Ja[y]);return w?w+"-"+T:T}(t.displayName,t.parentComponentId):s,d=t.displayName,u=d===void 0?function(x){return Zn(x)?"styled."+x:"Styled("+Ua(x)+")"}(e):d,f=t.displayName&&t.componentId?Za(t.displayName)+"-"+t.componentId:t.componentId||c,p=n&&e.attrs?Array.prototype.concat(e.attrs,i).filter(Boolean):i,m=t.shouldForwardProp;n&&e.shouldForwardProp&&(m=t.shouldForwardProp?function(x,w,y){return e.shouldForwardProp(x,w,y)&&t.shouldForwardProp(x,w,y)}:e.shouldForwardProp);var b,g=new Hw(r,f,n?e.componentStyle:void 0),v=g.isStatic&&i.length===0,$=function(x,w){return function(y,T,N,P){var _=y.attrs,I=y.componentStyle,W=y.defaultProps,D=y.foldedComponentIds,j=y.shouldForwardProp,S=y.styledComponentId,O=y.target;process.env.NODE_ENV!=="production"&&l.useDebugValue(S);var X=function(J,k,B){J===void 0&&(J=It);var z=bt({},k,{theme:J}),Q={};return B.forEach(function(q){var ee,Y,ue,be=q;for(ee in rn(be)&&(be=be(z)),be)z[ee]=Q[ee]=ee==="className"?(Y=Q[ee],ue=be[ee],Y&&ue?Y+" "+ue:Y||ue):be[ee]}),[z,Q]}(o_(T,l.useContext(zd),W)||It,T,_),se=X[0],G=X[1],ae=function(J,k,B,z){var Q=Xw(),q=Jw(),ee=k?J.generateAndInjectStyles(It,Q,q):J.generateAndInjectStyles(B,Q,q);return process.env.NODE_ENV!=="production"&&l.useDebugValue(ee),process.env.NODE_ENV!=="production"&&!k&&z&&z(ee),ee}(I,P,se,process.env.NODE_ENV!=="production"?y.warnTooManyClasses:void 0),te=N,K=G.$as||T.$as||G.as||T.as||O,M=Zn(K),L=G!==T?bt({},T,{},G):T,V={};for(var R in L)R[0]!=="$"&&R!=="as"&&(R==="forwardedAs"?V.as=L[R]:(j?j(R,md,K):!M||md(R))&&(V[R]=L[R]));return T.style&&G.style!==T.style&&(V.style=bt({},T.style,{},G.style)),V.className=Array.prototype.concat(D,S,ae!==S?ae:null,T.className,G.className).filter(Boolean).join(" "),V.ref=te,l.createElement(K,V)}(b,x,w,v)};return $.displayName=u,(b=l.forwardRef($)).attrs=p,b.componentStyle=g,b.displayName=u,b.shouldForwardProp=m,b.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Un,b.styledComponentId=f,b.target=n?e.target:e,b.withComponent=function(x){var w=t.componentId,y=function(N,P){if(N==null)return{};var _,I,W={},D=Object.keys(N);for(I=0;I<D.length;I++)_=D[I],P.indexOf(_)>=0||(W[_]=N[_]);return W}(t,["componentId"]),T=w&&w+"-"+(Zn(x)?x:Za(Ua(x)));return Fd(x,bt({},y,{attrs:p,componentId:T}),r)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(x){this._foldedDefaultProps=n?Md({},e.defaultProps,x):x}}),process.env.NODE_ENV!=="production"&&(n_(u,f),b.warnTooManyClasses=function(x,w){var y={},T=!1;return function(N){if(!T&&(y[N]=!0,Object.keys(y).length>=200)){var P=w?' with the id of "'+w+'"':"";console.warn("Over 200 classes were generated for component "+x+P+`.
|
|
114
114
|
Consider using the attrs method, together with a style object for frequently changed styles.
|
|
115
115
|
Example:
|
|
116
116
|
const Component = styled.div.attrs(props => ({
|
|
@@ -119,11 +119,11 @@ Example:
|
|
|
119
119
|
},
|
|
120
120
|
}))\`width: 100%;\`
|
|
121
121
|
|
|
122
|
-
<Component />`),
|
|
122
|
+
<Component />`),T=!0,y={}}}}(u,f)),b.toString=function(){return"."+b.styledComponentId},o&&$d(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var Qa=function(e){return function t(r,n,o){if(o===void 0&&(o=It),!mt.isValidElementType(n))return yr(1,String(n));var a=function(){return r(n,o,qt.apply(void 0,arguments))};return a.withConfig=function(i){return t(r,n,bt({},o,{},i))},a.attrs=function(i){return t(r,n,bt({},o,{attrs:Array.prototype.concat(o.attrs,i).filter(Boolean)}))},a}(Fd,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){Qa[e]=Qa(e)});function gt(e){process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=qt.apply(void 0,[e].concat(r)).join(""),a=Nd(o);return new Dd(a,o)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
123
123
|
Perhaps you're looking to import 'styled-components/native'?
|
|
124
124
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,window["__styled-components-init__"]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
125
125
|
|
|
126
|
-
See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);const F=Qa,h={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)"},l_=gt`
|
|
126
|
+
See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);const F=Qa,h={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)"},c_=gt`
|
|
127
127
|
0% {
|
|
128
128
|
opacity: 0;
|
|
129
129
|
}
|
|
@@ -131,7 +131,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
131
131
|
100% {
|
|
132
132
|
opacity: var(--overlay-opacity);
|
|
133
133
|
}
|
|
134
|
-
`,
|
|
134
|
+
`,d_=gt`
|
|
135
135
|
0% {
|
|
136
136
|
opacity: 0;
|
|
137
137
|
transform: translate(-50%, -48%) scale(.96);
|
|
@@ -147,8 +147,8 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
147
147
|
position: fixed;
|
|
148
148
|
inset: 0;
|
|
149
149
|
z-index: 4;
|
|
150
|
-
animation: ${
|
|
151
|
-
`,
|
|
150
|
+
animation: ${c_} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
151
|
+
`,u_=F(cd)`
|
|
152
152
|
${ei}
|
|
153
153
|
`,ti={small:"360px",medium:"540px",large:"960px"},ri=qt`
|
|
154
154
|
background: ${h.color_white};
|
|
@@ -164,11 +164,11 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
164
164
|
z-index: 5;
|
|
165
165
|
box-shadow: ${h.elevation_static_high};
|
|
166
166
|
border-radius: ${h.border_radius_400};
|
|
167
|
-
animation: ${
|
|
168
|
-
`,
|
|
167
|
+
animation: ${d_} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
168
|
+
`,f_=F(dd)`
|
|
169
169
|
${ri}
|
|
170
170
|
width: ${e=>ti[e.size??"medium"]};
|
|
171
|
-
`;function
|
|
171
|
+
`;function p_({children:e,size:t,...r}){return ie(ld,{children:[C(u_,{}),C(f_,{size:t,...r,children:e})]})}const ni=`
|
|
172
172
|
font-family: ${h.font_family_sans};
|
|
173
173
|
font-style: normal;
|
|
174
174
|
font-weight: 500;
|
|
@@ -178,7 +178,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
178
178
|
margin: 0;
|
|
179
179
|
margin-bottom: ${h.spacing_200};
|
|
180
180
|
color: ${h.color_text_strong};
|
|
181
|
-
`,
|
|
181
|
+
`,m_=F(ud)`
|
|
182
182
|
${ni}
|
|
183
183
|
`,oi=qt`
|
|
184
184
|
font-family: ${h.font_family_sans};
|
|
@@ -189,19 +189,19 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
189
189
|
margin: 0;
|
|
190
190
|
margin-top: ${h.sizing_200}; /* or flex parent and gap? */
|
|
191
191
|
margin-bottom: ${h.sizing_400};
|
|
192
|
-
`,
|
|
192
|
+
`,h_=F(fd)`
|
|
193
193
|
${oi}
|
|
194
194
|
`,Ld=F.footer`
|
|
195
195
|
margin-top: ${h.spacing_400};
|
|
196
196
|
display: flex;
|
|
197
197
|
justify-content: end;
|
|
198
198
|
gap: ${h.sizing_200};
|
|
199
|
-
`,
|
|
199
|
+
`,b_=F.button`
|
|
200
200
|
all: unset;
|
|
201
201
|
font-family: inherit;
|
|
202
202
|
height: 25px;
|
|
203
203
|
width: 25px;
|
|
204
|
-
/* line-height:
|
|
204
|
+
/* line-height: 1; */
|
|
205
205
|
display: grid;
|
|
206
206
|
place-items: center;
|
|
207
207
|
border-radius: ${h.border_radius_circle};
|
|
@@ -219,16 +219,16 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
219
219
|
0deg 0% 0% / 3%
|
|
220
220
|
); /* Figma says Interactive / Overlay / Secondary / Hover? but it's not this color */
|
|
221
221
|
}
|
|
222
|
-
`,
|
|
222
|
+
`,g_=id,v_=sd,y_=Va,$_=F(uw)`
|
|
223
223
|
${ei}
|
|
224
|
-
|
|
224
|
+
`,x_=F(fw)`
|
|
225
225
|
${ri}
|
|
226
226
|
width: ${e=>ti[e.size??"medium"]};
|
|
227
|
-
`;function
|
|
227
|
+
`;function w_({children:e,size:t,...r}){return ie(dw,{children:[C($_,{}),C(x_,{size:t,...r,children:e})]})}const __=F(hw)`
|
|
228
228
|
${ni}
|
|
229
|
-
`,
|
|
229
|
+
`,E_=F(bw)`
|
|
230
230
|
${oi}
|
|
231
|
-
`,
|
|
231
|
+
`,P_=Ld,S_=lw,k_=cw,T_=pw,D_=mw,C_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),O_=l.forwardRef((e,t)=>l.createElement(C_.span,A({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),I_=({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(O_,null,t))};function on({children:e,label:t}){return C(I_,{label:t,children:e})}const an={"border-radius":{0:"0",100:"1px",200:"2px",400:"4px",800:"8px",pill:"9999em",circle:"50%"},"border-width":{0:"0",100:"1px",200:"2px"},color:{gray:{4:"hsl(0, 0%, 4%)",8:"hsl(0, 0%, 8%)",10:"hsl(0, 0%, 10%)",12:"hsl(0, 0%, 12%)",14:"hsl(0, 0%, 14%)",16:"hsl(0, 0%, 16%)",24:"hsl(0, 0%, 24%)",32:"hsl(0, 0%, 32%)",56:"hsl(0, 0%, 56%)",64:"hsl(0, 0%, 64%)",84:"hsl(0, 0%, 84%)",94:"hsl(0, 0% 94%)",96:"hsl(0, 0%, 96%)"},white:"hsl(0, 0%, 100%)",black:"hsl(0, 0%, 0%)",background:{white:{standard:"hsl(0, 0%, 100%)",strong:"hsl(0, 0% 94%)",weak:"hsl(0, 0%, 96%)"},black:{standard:"hsl(0, 0%, 16%)",strong:"hsl(0, 0%, 8%)",weak:"hsl(0, 0%, 12%)"},sentiment:{negative:"hsl(11, 68%, 55%)",positive:"hsl(54, 63% 52%)",notice:"hsl(29, 74% 53%)",neutral:"hsl(0, 0%, 10%)"}},divider:{standard:"hsla(0, 0%, 0%, 12%)",strong:"hsla(0, 0%, 0%, 16%)",weak:"hsla(0, 0%, 0%, 8%)",inverse:{standard:"hsla(0, 0%, 1000%, 32%)",strong:"hsla(0, 0%, 100%, 48%)",weak:"hsla(0, 0%, 100%, 24%)"}},text:{standard:"hsl(0, 0%, 32%)",strong:"hsl(0, 0%, 0%)",weak:"hsl(0, 0%, 56%)",white:{standard:"hsl(0, 0%, 84%)",strong:"hsl(0, 0%, 100%)",weak:"hsl(0, 0%, 64%)"},sentiment:{negative:"hsl(11, 68%, 55%)",positive:"hsl(54, 63%, 52%)",notice:"hsl(29, 67%, 47%)",neutral:"hsl(0, 0%, 24%)"}},fill:{primary:{enabled:"hsla(0, 0%, 8%, 1)",hover:"hsl(210, 5%, 16%)",pressed:"hsl(210, 3%, 28%)",disabled:"hsla(0, 0%, 8%, 0.2)"},secondary:{enabled:"hsla(0, 0%, 0%, 0.06)",hover:"hsla(0, 0%, 0%, 0.12)",pressed:"hsla(0, 0%, 0%, 0.2)",disabled:"hsla(0, 0%, 88%, 0.5)"},inverse:{enabled:"hsl(0, 0%, 100%)",hover:"hsl(0, 0%, 94%)",pressed:"hsl(0, 0%, 90%)",disabled:"hsla(0, 0%, 98%, 0.4)"},danger:{enabled:"hsl(11, 68%, 55%)",hover:"hsl(11, 57%, 51%)",pressed:"hsl(11, 55%, 48%)",disabled:"hsla(11, 68%, 55%, 0.2)"}},outline:{"primary/danger":{enabled:"hsla(11, 68%, 55%, 0.24)",hover:"hsla(11, 68%, 55%, 0.48)",pressed:"hsla(11, 68%, 55%, 0.72)",disabled:"hsla(11, 68%, 55%, 0.16)",selected:{enabled:"hsla(11, 68%, 55%, 0.96)",hover:"hsla(11, 68%, 55%, 0.96)",pressed:"hsla(11, 68%, 55%, 0.96)"}},secondary:{enabled:"hsla(0, 0%, 0%, 0.16)",hover:"hsla(0, 0%, 0%, 0.32)",pressed:"hsla(0, 0%, 0%, 0.48)",disabled:"hsla(0, 0%, 14%, 0.16)",selected:{enabled:"hsla(0, 0%, 0%, 0.6)",hover:"hsla(0, 0%, 0%, 0.72)",pressed:"hsla(0, 0%, 0%, 0.76)"}},inverse:{enabled:"hsla(0, 0%, 100%, 0.32)",hover:"hsla(0, 0%, 100%, 0.48)",pressed:"hsla(0, 0%, 100%, 0.56)",disabled:"hsla(0, 0%, 100%, 0.2)",selected:{enabled:"hsla(0, 0%, 100%, 0.6)",hover:"hsla(0, 0%, 100%, 0.72)",pressed:"hsla(0, 0%, 100%, 0.8)"}},danger:{enabled:"hsl(11, 68%, 55%)",hover:"hsla(11, 68%, 55%, 0.9)",pressed:"hsla(11, 68%, 55%, 0.9)",disabled:"hsla(11, 68%, 55%, 0.32)"}},overlay:{primary:{enabled:"hsla(217.35, 81.6%, 51%, 0)",select:"hsla(10.52, 67.54%, 55.29%, 0.18)"},secondary:{enabled:"hsl(0, 0%, 100%)",hover:"hsl(0, 0%, 97%)",pressed:"hsl(0, 0%, 92%)",selected:{enabled:"hsl(0, 0%, 94%)",hover:"hsl(0, 0%, 91%)",pressed:"hsl(0, 0%, 88%)"}},inverse:{enabled:"hsl(0, 0%, 0%)",hover:"hsl(0, 0%, 4%)",pressed:"hsl(0, 0%, 12%)",selected:{enabled:"hsl(0, 0%, 10%)",hover:"hsl(0, 0%, 16%)",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)",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)",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)"},interactive:{down:"inset 0px 1000px 250px rgba(0, 0, 0, 0.04)",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)",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)",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",below:"-1",default:"1",above:"10",overlay:"1000"},"font-family":{inter:"'Inter', -apple-system, Helvetica, sans-serif",sans:"'Inter', -apple-system, Helvetica, sans-serif",inter_display:"'Inter', -apple-system, Helvetica, sans-serif",monospace:"'SFMono-Regular', Monaco, Consolas, 'Lucida Console', monospace"},"feature-settings":{number:"'tnum' on, 'lnum' on, 'ss01' on"},"letter-spacing":{tight:"-0.006em",tighter:"-0.01em",heading:{large:"-0.018em",medium:"-0.016em",small:"-0.014em"},title:{large:"-0.014em",medium:"-0.012em",small:"-0.01em",xsmall:"-0.008em"},label:{large:"-0.01em",medium:"normal",small:"-0.006em"},body:{large:"-0.01em",medium:"-0.006em",small:"normal"},number:{large:"-0.05em",medium:"-0.05em",small:"-0.04em",xsmall:"-0.05em"},caption:{medium:"0.01em",small:"0.02em"}},"line-height":{111:1.11,114:1.14,129:1.29,133:1.33,143:1.43,title:{large:1.06,medium:1.08,small:1.1,xsmall:1.11},label:{large:1.11,medium:1.12,small:1.14},body:{large:1.25,medium:1.29,small:1.33},number:{large:1.25,medium:1.14,small:1.17,xsmall:1.2},caption:{medium:1.17,small:1.2}},"font-size":{50:"0.75rem",100:"0.875rem",200:"1rem",300:"1.125rem",400:"1.25rem",500:"1.5rem",600:"2rem",700:"2.75rem",800:"3.5rem",root:"16px",heading:{large:"4.5rem",medium:"3.5rem",small:"3rem"},title:{large:"2.125rem",medium:"1.5rem",small:"1.25rem",xsmall:"1.125rem"},label:{large:"1.125rem",medium:"16px",small:"0.875rem"},body:{large:"16px",medium:"0.875rem",small:"0.75rem"},number:{large:"16px",medium:"0.875rem",small:"0.75rem",xsmall:"0.625rem"},caption:{medium:"0.875rem",small:"0.75rem"}},"font-weight":{light:"300",normal:"400",medium:"500",semibold:"600"},"media-query":{xs:"448px",sm:"720px",md:"960px",lg:"1200px",xl:"1440px"},sizing:{0:"0rem",100:"0.25rem",200:"0.5rem",300:"0.75rem",350:"0.875rem",400:"1rem",450:"1.25rem",500:"1.5rem",550:"1.75rem",600:"2rem",650:"2.5rem",700:"3rem",750:"3.5rem",800:"4rem",850:"6rem",900:"10rem",1e3:"20rem",1100:"28rem",1150:"35rem",1200:"45rem",1300:"60rem",1350:"66rem",1400:"75rem",1500:"90rem"},dialogWidths:{small:"360px",medium:"540px",large:"60rem"},spacing:{0:"0rem",100:"0.25rem",200:"0.5rem",300:"0.75rem",400:"1rem",450:"1.25rem",500:"1.5rem",550:"1.75rem",600:"2rem",650:"2.5rem",700:"3rem",750:"3.5rem",800:"4rem",850:"6rem",900:"10rem"},"transition-duration":{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms"},"transition-property":{color:"color, background-color, border-color, text-decoration-color, fill, stroke;",all:"all",opacity:"opacity",boxShadow:"box-shadow",transform:"transform"},"transition-timing-function":{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"}},A_=new Map(Object.entries(an.spacing)),Xn=e=>t=>e.has(t)?e.get(t):t,qe=Xn(A_),N_=Object.entries(an.elevation.interactive).map(([e,t])=>[`interactive_${e}`,t]),M_=Object.entries(an.elevation.interactive).map(([e,t])=>[`static_${e}`,t]),z_=[...N_,...M_],F_=new Map(z_),L_=Xn(F_),K_=new Map(Object.entries(an["border-radius"])),j_=Xn(K_),V_=new Map(Object.entries(an.sizing)),Zt=Xn(V_),Kd=F.div`
|
|
232
232
|
${({display:e})=>e&&`display: ${e};`}
|
|
233
233
|
|
|
234
234
|
${({w:e})=>e&&`width: ${Zt(e)};`}
|
|
@@ -247,7 +247,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
247
247
|
${({border:e})=>e&&`border: ${e};`}
|
|
248
248
|
${({borderColor:e})=>e&&`border-color: ${e};`}
|
|
249
249
|
${({borderWidth:e})=>e&&`border-width: ${e};`}
|
|
250
|
-
${({borderRadius:e})=>e&&`border-radius: ${
|
|
250
|
+
${({borderRadius:e})=>e&&`border-radius: ${j_(e)};`}
|
|
251
251
|
|
|
252
252
|
${({top:e})=>e&&`top: ${e};`}
|
|
253
253
|
${({right:e})=>e&&`right: ${e};`}
|
|
@@ -270,23 +270,23 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
270
270
|
${({pb:e})=>e&&`padding-bottom: ${qe(e)};`}
|
|
271
271
|
${({pl:e})=>e&&`padding-left: ${qe(e)};`}
|
|
272
272
|
|
|
273
|
-
${({elevation:e})=>e&&`box-shadow: ${
|
|
273
|
+
${({elevation:e})=>e&&`box-shadow: ${L_(e)};`}
|
|
274
274
|
|
|
275
275
|
${({flexShrink:e})=>e&&`flex-shrink: ${e};`}
|
|
276
276
|
${({flexBasis:e})=>e&&`flex-basis: ${Zt(e)};`}
|
|
277
277
|
${({flexGrow:e})=>e&&`flex-grow: ${e};`}
|
|
278
278
|
${({order:e})=>e&&`order: ${e};`}
|
|
279
279
|
${({alignSelf:e})=>e&&`align-self: ${e};`}
|
|
280
|
-
`,At=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function V_(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const ai="dismissableLayer.update",B_="dismissableLayer.pointerDownOutside",R_="dismissableLayer.focusOutside";let jd;const W_=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),U_=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(W_),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,k=w>=x,N=H_(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!k||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=G_(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(jd=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Vd(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=jd)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Vd())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(ai,_),()=>document.removeEventListener(ai,_)},[]),l.createElement(At.div,A({},d,{ref:g,style:{pointerEvents:y?k?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))});function H_(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Bd(B_,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 G_(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Bd(R_,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 Vd(){const e=new CustomEvent(ai);document.dispatchEvent(e)}function Bd(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?V_(o,a):o.dispatchEvent(a)}function Xt(e){return e.split("-")[0]}function sn(e){return e.split("-")[1]}function xr(e){return["top","bottom"].includes(Xt(e))?"x":"y"}function ii(e){return e==="y"?"height":"width"}function Rd(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=xr(t),c=ii(s),d=n[c]/2-o[c]/2,u=s==="x";let f;switch(Xt(t)){case"top":f={x:a,y:n.y-o.height};break;case"bottom":f={x:a,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:i};break;case"left":f={x:n.x-o.width,y:i};break;default:f={x:n.x,y:n.y}}switch(sn(t)){case"start":f[s]-=d*(r&&u?-1:1);break;case"end":f[s]+=d*(r&&u?-1:1)}return f}const Y_=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=Rd(c,n,s),f=n,p={},m=0;for(let b=0;b<a.length;b++){const{name:g,fn:v}=a[b],{x:$,y:x,data:w,reset:y}=await v({x:d,y:u,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=$??d,u=x??u,p={...p,[g]:{...p[g],...w}},y&&m<=50&&(m++,typeof y=="object"&&(y.placement&&(f=y.placement),y.rects&&(c=y.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:u}=Rd(c,f,s)),b=-1)}return{x:d,y:u,placement:f,strategy:o,middlewareData:p}};function Wd(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Jn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function ln(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=t,b=Wd(m),g=s[p?f==="floating"?"reference":"floating":f],v=Jn(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(g)))==null||r?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:d,rootBoundary:u,strategy:c})),$=Jn(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...i.floating,x:n,y:o}:i.reference,offsetParent:await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),strategy:c}):i[f]);return{top:v.top-$.top+b.top,bottom:$.bottom-v.bottom+b.bottom,left:v.left-$.left+b.left,right:$.right-v.right+b.right}}const q_=Math.min,Jt=Math.max;function si(e,t,r){return Jt(e,q_(t,r))}const Ud=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{};const d=Wd(n),u={x:o,y:a},f=xr(i),p=sn(i),m=ii(f),b=await c.getDimensions(r),g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",$=s.reference[m]+s.reference[f]-u[f]-s.floating[m],x=u[f]-s.reference[f],w=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let y=w?f==="y"?w.clientHeight||0:w.clientWidth||0:0;y===0&&(y=s.floating[m]);const k=$/2-x/2,N=d[g],P=y-b[m]-d[v],_=y/2-b[m]/2+k,I=si(N,_,P),W=(p==="start"?d[g]:d[v])>0&&_!==I&&s.reference[m]<=s.floating[m];return{[f]:u[f]-(W?_<N?N-_:P-_:0),data:{[f]:I,centerOffset:_-I}}}}),Z_={left:"right",right:"left",bottom:"top",top:"bottom"};function Qn(e){return e.replace(/left|right|bottom|top/g,t=>Z_[t])}function X_(e,t,r){r===void 0&&(r=!1);const n=sn(e),o=xr(e),a=ii(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Qn(i)),{main:i,cross:Qn(i)}}const J_={start:"end",end:"start"};function Hd(e){return e.replace(/start|end/g,t=>J_[t])}const Gd=["top","right","bottom","left"];Gd.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const li=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:a,initialPlacement:i,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",flipAlignment:m=!0,...b}=e,g=Xt(n),v=f||(g===i||!m?[Qn(i)]:function(_){const I=Qn(_);return[Hd(_),I,Hd(I)]}(i)),$=[i,...v],x=await ln(t,b),w=[];let y=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&w.push(x[g]),u){const{main:_,cross:I}=X_(n,a,await(s.isRTL==null?void 0:s.isRTL(c.floating)));w.push(x[_],x[I])}if(y=[...y,{placement:n,overflows:w}],!w.every(_=>_<=0)){var k,N;const _=((k=(N=o.flip)==null?void 0:N.index)!=null?k:0)+1,I=$[_];if(I)return{data:{index:_,overflows:y},reset:{placement:I}};let W="bottom";switch(p){case"bestFit":{var P;const D=(P=y.map(j=>[j,j.overflows.filter(S=>S>0).reduce((S,O)=>S+O,0)]).sort((j,S)=>j[1]-S[1])[0])==null?void 0:P[0].placement;D&&(W=D);break}case"initialPlacement":W=i}if(n!==W)return{reset:{placement:W}}}return{}}}};function Yd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function qd(e){return Gd.some(t=>e[t]>=0)}const ci=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=Yd(await ln(n,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:qd(a)}}}case"escaped":{const a=Yd(await ln(n,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:a,escaped:qd(a)}}}default:return{}}}}},di=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(a,i){const{placement:s,platform:c,elements:d}=a,u=await(c.isRTL==null?void 0:c.isRTL(d.floating)),f=Xt(s),p=sn(s),m=xr(s)==="x",b=["left","top"].includes(f)?-1:1,g=u&&m?-1:1,v=typeof i=="function"?i(a):i;let{mainAxis:$,crossAxis:x,alignmentAxis:w}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return p&&typeof w=="number"&&(x=p==="end"?-1*w:w),m?{x:x*g,y:$*b}:{x:$*b,y:x*g}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function Zd(e){return e==="x"?"y":"x"}const ui=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:v=>{let{x:$,y:x}=v;return{x:$,y:x}}},...c}=e,d={x:r,y:n},u=await ln(t,c),f=xr(Xt(o)),p=Zd(f);let m=d[f],b=d[p];if(a){const v=f==="y"?"bottom":"right";m=si(m+u[f==="y"?"top":"left"],m,m-u[v])}if(i){const v=p==="y"?"bottom":"right";b=si(b+u[p==="y"?"top":"left"],b,b-u[v])}const g=s.fn({...t,[f]:m,[p]:b});return{...g,data:{x:g.x-r,y:g.y-n}}}}},fi=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:c=!0,crossAxis:d=!0}=e,u={x:r,y:n},f=xr(o),p=Zd(f);let m=u[f],b=u[p];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 k=f==="y"?"height":"width",N=a.reference[f]-a.floating[k]+v.mainAxis,P=a.reference[f]+a.reference[k]-v.mainAxis;m<N?m=N:m>P&&(m=P)}if(d){var $,x,w,y;const k=f==="y"?"width":"height",N=["top","left"].includes(Xt(o)),P=a.reference[p]-a.floating[k]+(N&&($=(x=i.offset)==null?void 0:x[p])!=null?$:0)+(N?0:v.crossAxis),_=a.reference[p]+a.reference[k]+(N?0:(w=(y=i.offset)==null?void 0:y[p])!=null?w:0)-(N?v.crossAxis:0);b<P?b=P:b>_&&(b=_)}return{[f]:m,[p]:b}}}},pi=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 ln(t,s),d=Xt(r),u=sn(r);let f,p;d==="top"||d==="bottom"?(f=d,p=u===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(p=d,f=u==="end"?"top":"bottom");const m=Jt(c.left,0),b=Jt(c.right,0),g=Jt(c.top,0),v=Jt(c.bottom,0),$={availableHeight:n.floating.height-(["left","right"].includes(r)?2*(g!==0||v!==0?g+v:Jt(c.top,c.bottom)):c[f]),availableWidth:n.floating.width-(["top","bottom"].includes(r)?2*(m!==0||b!==0?m+b:Jt(c.left,c.right)):c[p])},x=await o.getDimensions(a.floating);i==null||i({...t,...$});const w=await o.getDimensions(a.floating);return x.width!==w.width||x.height!==w.height?{reset:{rects:!0}}:{}}}};function Xd(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function vt(e){if(e==null)return window;if(!Xd(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function cn(e){return vt(e).getComputedStyle(e)}function yt(e){return Xd(e)?"":e?(e.nodeName||"").toLowerCase():""}function Jd(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function lt(e){return e instanceof vt(e).HTMLElement}function Nt(e){return e instanceof vt(e).Element}function mi(e){return typeof ShadowRoot>"u"?!1:e instanceof vt(e).ShadowRoot||e instanceof ShadowRoot}function eo(e){const{overflow:t,overflowX:r,overflowY:n}=cn(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function Q_(e){return["table","td","th"].includes(yt(e))}function Qd(e){const t=/firefox/i.test(Jd()),r=cn(e);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||t&&r.willChange==="filter"||t&&!!r.filter&&r.filter!=="none"}function eu(){return!/^((?!chrome|android).)*safari/i.test(Jd())}const tu=Math.min,dn=Math.max,to=Math.round;function $t(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&<(e)&&(c=e.offsetWidth>0&&to(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&to(s.height)/e.offsetHeight||1);const u=Nt(e)?vt(e):window,f=!eu()&&r,p=(s.left+(f&&(n=(o=u.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,m=(s.top+(f&&(a=(i=u.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/d,b=s.width/c,g=s.height/d;return{width:b,height:g,top:m,right:p+b,bottom:m+g,left:p,x:p,y:m}}function Mt(e){return(t=e,(t instanceof vt(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function ro(e){return Nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ru(e){return $t(Mt(e)).left+ro(e).scrollLeft}function eE(e,t,r){const n=lt(t),o=Mt(t),a=$t(e,n&&function(c){const d=$t(c);return to(d.width)!==c.offsetWidth||to(d.height)!==c.offsetHeight}(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((yt(t)!=="body"||eo(o))&&(i=ro(t)),lt(t)){const c=$t(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=ru(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function nu(e){return yt(e)==="html"?e:e.assignedSlot||e.parentNode||(mi(e)?e.host:null)||Mt(e)}function ou(e){return lt(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function hi(e){const t=vt(e);let r=ou(e);for(;r&&Q_(r)&&getComputedStyle(r).position==="static";)r=ou(r);return r&&(yt(r)==="html"||yt(r)==="body"&&getComputedStyle(r).position==="static"&&!Qd(r))?t:r||function(n){let o=nu(n);for(mi(o)&&(o=o.host);lt(o)&&!["html","body"].includes(yt(o));){if(Qd(o))return o;o=o.parentNode}return null}(e)||t}function au(e){if(lt(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=$t(e);return{width:t.width,height:t.height}}function iu(e){const t=nu(e);return["html","body","#document"].includes(yt(t))?e.ownerDocument.body:lt(t)&&eo(t)?t:iu(t)}function no(e,t){var r;t===void 0&&(t=[]);const n=iu(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=vt(n),i=o?[a].concat(a.visualViewport||[],eo(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(no(i))}function su(e,t,r){return t==="viewport"?Jn(function(n,o){const a=vt(n),i=Mt(n),s=a.visualViewport;let c=i.clientWidth,d=i.clientHeight,u=0,f=0;if(s){c=s.width,d=s.height;const p=eu();(p||!p&&o==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:c,height:d,x:u,y:f}}(e,r)):Nt(t)?function(n,o){const a=$t(n,!1,o==="fixed"),i=a.top+n.clientTop,s=a.left+n.clientLeft;return{top:i,left:s,x:s,y:i,right:s+n.clientWidth,bottom:i+n.clientHeight,width:n.clientWidth,height:n.clientHeight}}(t,r):Jn(function(n){var o;const a=Mt(n),i=ro(n),s=(o=n.ownerDocument)==null?void 0:o.body,c=dn(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),d=dn(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let u=-i.scrollLeft+ru(n);const f=-i.scrollTop;return cn(s||a).direction==="rtl"&&(u+=dn(a.clientWidth,s?s.clientWidth:0)-c),{width:c,height:d,x:u,y:f}}(Mt(e)))}function tE(e){const t=no(e),r=["absolute","fixed"].includes(cn(e).position)&<(e)?hi(e):e;return Nt(r)?t.filter(n=>Nt(n)&&function(o,a){const i=a.getRootNode==null?void 0:a.getRootNode();if(o.contains(a))return!0;if(i&&mi(i)){let s=a;do{if(s&&o===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(n,r)&&yt(n)!=="body"):[]}const rE={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?tE(t):[].concat(r),n],i=a[0],s=a.reduce((c,d)=>{const u=su(t,d,o);return c.top=dn(u.top,c.top),c.right=tu(u.right,c.right),c.bottom=tu(u.bottom,c.bottom),c.left=dn(u.left,c.left),c},su(t,i,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=lt(r),a=Mt(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((yt(r)!=="body"||eo(a))&&(i=ro(r)),lt(r))){const c=$t(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}},isElement:Nt,getDimensions:au,getOffsetParent:hi,getDocumentElement:Mt,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:eE(t,hi(r),n),floating:{...au(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>cn(e).direction==="rtl"};function bi(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:s=!1}=n,c=o&&!s,d=a&&!s,u=c||d?[...Nt(e)?no(e):[],...no(t)]:[];u.forEach(b=>{c&&b.addEventListener("scroll",r,{passive:!0}),d&&b.addEventListener("resize",r)});let f,p=null;if(i){let b=!0;p=new ResizeObserver(()=>{b||r(),b=!1}),Nt(e)&&!s&&p.observe(e),p.observe(t)}let m=s?$t(e):null;return s&&function b(){const g=$t(e);!m||g.x===m.x&&g.y===m.y&&g.width===m.width&&g.height===m.height||r(),m=g,f=requestAnimationFrame(b)}(),r(),()=>{var b;u.forEach(g=>{c&&g.removeEventListener("scroll",r),d&&g.removeEventListener("resize",r)}),(b=p)==null||b.disconnect(),p=null,s&&cancelAnimationFrame(f)}}const nE=(e,t,r)=>Y_(e,t,{platform:rE,...r});var gi=typeof document<"u"?l.useLayoutEffect:l.useEffect;function vi(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(!vi(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)&&!vi(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function oE(e){const t=re.useRef(e);return gi(()=>{t.current=e}),t}function yi(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const a=re.useRef(null),i=re.useRef(null),s=oE(o),c=re.useRef(null),[d,u]=re.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[f,p]=re.useState(t);vi(f==null?void 0:f.map(w=>{let{options:y}=w;return y}),t==null?void 0:t.map(w=>{let{options:y}=w;return y}))||p(t);const m=re.useCallback(()=>{!a.current||!i.current||nE(a.current,i.current,{middleware:f,placement:r,strategy:n}).then(w=>{b.current&&kc.flushSync(()=>{u(w)})})},[f,r,n]);gi(()=>{b.current&&m()},[m]);const b=re.useRef(!1);gi(()=>(b.current=!0,()=>{b.current=!1}),[]);const g=re.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),a.current&&i.current)if(s.current){const w=s.current(a.current,i.current,m);c.current=w}else m()},[m,s]),v=re.useCallback(w=>{a.current=w,g()},[g]),$=re.useCallback(w=>{i.current=w,g()},[g]),x=re.useMemo(()=>({reference:a,floating:i}),[]);return re.useMemo(()=>({...d,update:m,refs:x,reference:v,floating:$}),[d,m,x,v,$])}const $i=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?Ud({element:t.current,padding:r}).fn(o):{}:t?Ud({element:t,padding:r}).fn(o):{}}}},aE=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(At.svg,A({},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 wr(e){const[t,r]=l.useState(void 0);return De(()=>{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 lu="Popper",[xi,cu]=Re(lu),[iE,du]=xi(lu),sE=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(iE,{scope:t,anchor:n,onAnchorChange:o},r)},lE="PopperAnchor",cE=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=du(lE,r),i=l.useRef(null),s=pe(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(At.div,A({},o,{ref:s}))}),oo="PopperContent",[dE,uE]=xi(oo),[fE,pE]=xi(oo,{hasParent:!1,positionUpdateFns:new Set}),mE=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,d;const{__scopePopper:u,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:y=!0,onPlaced:k,...N}=e,P=du(oo,u),[_,I]=l.useState(null),W=pe(t,_e=>I(_e)),[D,j]=l.useState(null),S=wr(D),O=(r=S==null?void 0:S.width)!==null&&r!==void 0?r:0,X=(n=S==null?void 0:S.height)!==null&&n!==void 0?n:0,se=f+(m!=="center"?"-"+m:""),G=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},ae=Array.isArray(v)?v:[v],te=ae.length>0,K={padding:G,boundary:ae.filter(yE),altBoundary:te},{reference:M,floating:L,strategy:V,x:R,y:J,placement:T,middlewareData:B,update:z}=yi({strategy:"fixed",placement:se,whileElementsMounted:bi,middleware:[$E(),di({mainAxis:p+X,alignmentAxis:b}),y?ui({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?fi():void 0,...K}):void 0,D?$i({element:D,padding:g}):void 0,y?li({...K}):void 0,pi({...K,apply:({elements:_e,availableWidth:Se,availableHeight:le})=>{_e.floating.style.setProperty("--radix-popper-available-width",`${Se}px`),_e.floating.style.setProperty("--radix-popper-available-height",`${le}px`)}}),xE({arrowWidth:O,arrowHeight:X}),w?ci({strategy:"referenceHidden"}):void 0].filter(vE)});De(()=>{M(P.anchor)},[M,P.anchor]);const Q=R!==null&&J!==null,[q,ee]=uu(T),Y=Oe(k);De(()=>{Q&&(Y==null||Y())},[Q,Y]);const ue=(o=B.arrow)===null||o===void 0?void 0:o.x,be=(a=B.arrow)===null||a===void 0?void 0:a.y,ce=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ye,de]=l.useState();De(()=>{_&&de(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:$e,positionUpdateFns:xe}=pE(oo,u),he=!$e;l.useLayoutEffect(()=>{if(!he)return xe.add(z),()=>{xe.delete(z)}},[he,xe,z]),De(()=>{he&&Q&&Array.from(xe).reverse().forEach(_e=>requestAnimationFrame(_e))},[he,Q,xe]);const Be={"data-side":q,"data-align":ee,...N,ref:W,style:{...N.style,animation:Q?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:L,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:Q?`translate3d(${Math.round(R)}px, ${Math.round(J)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ye,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(d=B.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},l.createElement(dE,{scope:u,placedSide:q,onArrowChange:j,arrowX:ue,arrowY:be,shouldHideArrow:ce},he?l.createElement(fE,{scope:u,hasParent:!0,positionUpdateFns:xe},l.createElement(At.div,Be)):l.createElement(At.div,Be)))}),hE="PopperArrow",bE={top:"bottom",right:"left",bottom:"top",left:"right"},gE=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=uE(hE,n),i=bE[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(aE,A({},o,{ref:r,style:{...o.style,display:"block"}})))});function vE(e){return e!==void 0}function yE(e){return e!==null}const $E=()=>({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`),{}}}),xE=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,f=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=uu(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)+p/2,x=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",y="";return b==="bottom"?(w=f?v:`${$}px`,y=`${-m}px`):b==="top"?(w=f?v:`${$}px`,y=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,y=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,y=f?v:`${x}px`),{data:{x:w,y}}}});function uu(e){const[t,r="center"]=e.split("-");return[t,r]}const wE=sE,_E=cE,EE=mE,PE=gE,SE=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?Ve.createPortal(l.createElement(At.div,A({},o,{ref:t})),n):null}),fu="Popover",[pu,V2]=Re(fu,[cu]),ao=cu(),[kE,Qt]=pu(fu),mu=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=ao(t),c=l.useRef(null),[d,u]=l.useState(!1),[f=!1,p]=rt({prop:n,defaultProp:o,onChange:a});return l.createElement(wE,s,l.createElement(kE,{scope:t,contentId:it(),triggerRef:c,open:f,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:d,onCustomAnchorAdd:l.useCallback(()=>u(!0),[]),onCustomAnchorRemove:l.useCallback(()=>u(!1),[]),modal:i},r))},TE="PopoverTrigger",hu=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Qt(TE,r),a=ao(r),i=pe(t,o.triggerRef),s=l.createElement(At.button,A({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":yu(o.open)},n,{ref:i,onClick:oe(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(_E,A({asChild:!0},a),s)}),bu="PopoverPortal",[DE,CE]=pu(bu,{forceMount:void 0}),OE=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=Qt(bu,t);return l.createElement(DE,{scope:t,forceMount:r},l.createElement(Xe,{present:r||a.open},l.createElement(SE,{asChild:!0,container:o},n)))},un="PopoverContent",gu=l.forwardRef((e,t)=>{const r=CE(un,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=Qt(un,e.__scopePopover);return l.createElement(Xe,{present:n||a.open},a.modal?l.createElement(IE,A({},o,{ref:t})):l.createElement(AE,A({},o,{ref:t})))}),IE=l.forwardRef((e,t)=>{const r=Qt(un,e.__scopePopover),n=l.useRef(null),o=pe(t,n),a=l.useRef(!1);return l.useEffect(()=>{const i=n.current;if(i)return La(i)},[]),l.createElement(za,{as:Ke,allowPinchZoom:!0},l.createElement(vu,A({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:oe(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:oe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),AE=l.forwardRef((e,t)=>{const r=Qt(un,e.__scopePopover),n=l.useRef(!1);return l.createElement(vu,A({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),vu=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:u,...f}=e,p=Qt(un,r),m=ao(r);return Ia(),l.createElement(Ca,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(U_,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>p.onOpenChange(!1)},l.createElement(EE,A({"data-state":yu(p.open),role:"dialog",id:p.contentId},m,f,{ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),NE="PopoverClose",ME=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Qt(NE,r);return l.createElement(At.button,A({type:"button"},n,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))}),zE=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ao(r);return l.createElement(PE,A({},o,n,{ref:t}))});function yu(e){return e?"open":"closed"}const FE=mu,LE=hu,KE=OE,jE=gu,$u=ME,VE=zE;function er(e,t,r){let[n,o]=l.useState(e||t),a=l.useRef(e!==void 0),i=a.current,s=e!==void 0,c=l.useRef(n);i!==s&&console.warn(`WARN: A component changed from ${i?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s;let d=l.useCallback((u,...f)=>{let p=(m,...b)=>{r&&(Object.is(c.current,m)||r(m,...b)),s||(c.current=m)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((b,...g)=>{let v=u(s?c.current:b,...g);return p(v,...f),s?b:v})):(s||o(u),p(u,...f))},[s,r]);return s?c.current=e:e=n,[e,d]}function BE(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function tr(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 wi={prefix:String(Math.round(Math.random()*1e10)),current:0},_i=l.createContext(wi);let RE=Boolean(typeof window<"u"&&window.document&&window.document.createElement),Ei=new WeakMap;function WE(e=!1){let t=l.useContext(_i),r=l.useRef(null);if(r.current===null&&!e){var n,o;let a=(n=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(o=n.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(a){let i=Ei.get(a);i==null?Ei.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ei.delete(a))}r.current=++t.current}return r.current}function UE(e){let t=l.useContext(_i);t===wi&&!RE&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=WE(!!e);return e||`react-aria${t.prefix}-${r}`}function xu(){let t=l.useContext(_i)!==wi,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function wu(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=wu(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function io(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=wu(e))&&(n&&(n+=" "),n+=t);return n}const Ne=typeof window<"u"?l.useLayoutEffect:()=>{};function HE(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)},Ne(()=>{o.current&&a.current()});let i=l.useCallback(s=>{o.current=s(n.current),a.current()},[o,a]);return[t,i]}let so=new Map;function Ze(e){let[t,r]=l.useState(e),n=l.useRef(null),o=UE(t),a=l.useCallback(i=>{n.current=i},[]);return so.set(o,a),Ne(()=>{let i=o;return()=>{so.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function GE(e,t){if(e===t)return e;let r=so.get(e);if(r)return r(t),t;let n=so.get(t);return n?(n(e),e):t}function lo(e=[]){let t=Ze(),[r,n]=HE(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Ne(o,[t,o,...e]),r}function rr(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function ve(...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]=rr(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=io(a,i):o==="id"&&a&&i?t.id=GE(a,i):t[o]=i!==void 0?i:a}}return t}const YE=new Set(["id"]),qE=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ZE=/^(data-.*)$/;function xt(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(YE.has(a)||r&&qE.has(a)||n!=null&&n.has(a)||ZE.test(a))&&(o[a]=e[a]);return o}function zt(e){if(XE())e.focus({preventScroll:!0});else{let t=JE(e);e.focus(),QE(t)}}let co=null;function XE(){if(co==null){co=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return co=!0,!0}})}catch{}}return co}function JE(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 QE(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let _r=new Map,Pi=new Set;function _u(){if(typeof window>"u")return;let e=r=>{let n=_r.get(r.target);n||(n=new Set,_r.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=_r.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),_r.delete(r.target)),_r.size===0)){for(let o of Pi)o();Pi.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?_u():document.addEventListener("DOMContentLoaded",_u));function Eu(e){requestAnimationFrame(()=>{_r.size===0?e():Pi.add(e)})}function Si(){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 ki(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=Ze(r),o&&n?o=[...new Set([...o.trim().split(/\s+/),r])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function ct(e){const t=l.useRef();return Ne(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function e5(){return typeof window.ResizeObserver<"u"}function t5(e){const{ref:t,onResize:r}=e;l.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(e5()){const o=new window.ResizeObserver(a=>{a.length&&r()});return o.observe(n),()=>{n&&o.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function Pu(e,t){Ne(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function fn(e){for(Su(e)&&(e=e.parentElement);e&&!Su(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Su(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}let r5=0;const Ti=new Map;function Di(e){let[t,r]=l.useState(void 0);return Ne(()=>{if(!e)return;let n=Ti.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${r5++}`;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},Ti.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),Ti.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Ci(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 Oi(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 nr(){return Oi(/^Mac/i)}function ku(){return Oi(/^iPhone/i)}function Tu(){return Oi(/^iPad/i)||nr()&&navigator.maxTouchPoints>1}function Er(){return ku()||Tu()}function n5(){return nr()||Er()}function o5(){return Ci(/AppleWebKit/i)&&!a5()}function a5(){return Ci(/Chrome/i)}function Du(){return Ci(/Android/i)}function uo(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 Ii(e,t){let r=Cu(e,t,"left"),n=Cu(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,{borderTopWidth:c,borderLeftWidth:d}=getComputedStyle(e),u=e.scrollLeft+parseInt(d,10),f=e.scrollTop+parseInt(c,10),p=u+e.clientWidth,m=f+e.clientHeight;r<=i?i=r-parseInt(d,10):r+o>p&&(i+=r+o-p),n<=f?s=n-parseInt(c,10):n+a>m&&(s+=n+a-m),e.scrollLeft=i,e.scrollTop=s}function Cu(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function Ou(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let c=fn(e);for(;e&&c&&e!==i&&c!==i;)Ii(c,e),e=c,c=fn(e)}else{var r;let{left:c,top:d}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:u,top:f}=e.getBoundingClientRect();if(Math.abs(c-u)>1||Math.abs(d-f)>1){var n,o,a;t==null||(n=t.containingElement)===null||n===void 0||(o=n.scrollIntoView)===null||o===void 0||o.call(n,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function Ai(e){return e.mozInputSource===0&&e.isTrusted?!0:Du()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function i5(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Sr="default",Ni="",fo=new WeakMap;function Iu(e){Er()?(Sr==="default"&&(Ni=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),Sr="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(fo.set(e,e.style.userSelect),e.style.userSelect="none")}function po(e){if(Er()){if(Sr!=="disabled")return;Sr="restoring",setTimeout(()=>{Eu(()=>{Sr==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=Ni||""),Ni="",Sr="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&fo.has(e)){let t=fo.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),fo.delete(e)}}const Au=l.createContext(null);Au.displayName="PressResponderContext";function s5(e){let t=l.useContext(Au);if(t){let{register:r,...n}=t;e=ve(n,e),r()}return Pu(t,e.ref),e}function kr(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:u,ref:f,...p}=s5(e),m=l.useRef(null);m.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,shouldCancelOnPointerExit:d};let[b,g]=l.useState(!1),v=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:x}=Si(),w=l.useMemo(()=>{let y=v.current,k=(D,j)=>{let{onPressStart:S,onPressChange:O,isDisabled:X}=m.current;X||y.didFirePressStart||(S&&S({type:"pressstart",pointerType:j,target:D.currentTarget,shiftKey:D.shiftKey,metaKey:D.metaKey,ctrlKey:D.ctrlKey,altKey:D.altKey}),O&&O(!0),y.didFirePressStart=!0,g(!0))},N=(D,j,S=!0)=>{let{onPressEnd:O,onPressChange:X,onPress:se,isDisabled:G}=m.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,O&&O({type:"pressend",pointerType:j,target:D.currentTarget,shiftKey:D.shiftKey,metaKey:D.metaKey,ctrlKey:D.ctrlKey,altKey:D.altKey}),X&&X(!1),g(!1),se&&S&&!G&&se({type:"press",pointerType:j,target:D.currentTarget,shiftKey:D.shiftKey,metaKey:D.metaKey,ctrlKey:D.ctrlKey,altKey:D.altKey}))},P=(D,j)=>{let{onPressUp:S,isDisabled:O}=m.current;O||S&&S({type:"pressup",pointerType:j,target:D.currentTarget,shiftKey:D.shiftKey,metaKey:D.metaKey,ctrlKey:D.ctrlKey,altKey:D.altKey})},_=D=>{y.isPressed&&(y.isOverTarget&&N(wt(y.target,D),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),u||po(y.target))},I={onKeyDown(D){zi(D.nativeEvent,D.currentTarget)&&D.currentTarget.contains(D.target)?(Mu(D.target,D.key)&&D.preventDefault(),D.stopPropagation(),!y.isPressed&&!D.repeat&&(y.target=D.currentTarget,y.isPressed=!0,k(D,"keyboard"),$(document,"keyup",W,!1))):D.key==="Enter"&&Mi(D.currentTarget)&&D.stopPropagation()},onKeyUp(D){zi(D.nativeEvent,D.currentTarget)&&!D.repeat&&D.currentTarget.contains(D.target)&&P(wt(y.target,D),"keyboard")},onClick(D){D&&!D.currentTarget.contains(D.target)||D&&D.button===0&&(D.stopPropagation(),i&&D.preventDefault(),!y.ignoreClickAfterPress&&!y.ignoreEmulatedMouseEvents&&(y.pointerType==="virtual"||Ai(D.nativeEvent))&&(!i&&!c&&zt(D.currentTarget),k(D,"virtual"),P(D,"virtual"),N(D,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},W=D=>{if(y.isPressed&&zi(D,y.target)){Mu(D.target,D.key)&&D.preventDefault(),D.stopPropagation(),y.isPressed=!1;let j=D.target;N(wt(y.target,D),"keyboard",y.target.contains(j)),x(),y.target instanceof HTMLElement&&y.target.contains(j)&&(Mi(y.target)||y.target.getAttribute("role")==="link")&&y.target.click()}};if(typeof PointerEvent<"u"){I.onPointerDown=O=>{if(!(O.button!==0||!O.currentTarget.contains(O.target))){if(i5(O.nativeEvent)){y.pointerType="virtual";return}Fi(O.currentTarget)&&O.preventDefault(),y.pointerType=O.pointerType,O.stopPropagation(),y.isPressed||(y.isPressed=!0,y.isOverTarget=!0,y.activePointerId=O.pointerId,y.target=O.currentTarget,!i&&!c&&zt(O.currentTarget),u||Iu(y.target),k(O,y.pointerType),$(document,"pointermove",D,!1),$(document,"pointerup",j,!1),$(document,"pointercancel",S,!1))}},I.onMouseDown=O=>{O.currentTarget.contains(O.target)&&O.button===0&&(Fi(O.currentTarget)&&O.preventDefault(),O.stopPropagation())},I.onPointerUp=O=>{!O.currentTarget.contains(O.target)||y.pointerType==="virtual"||O.button===0&&Tr(O,O.currentTarget)&&P(O,y.pointerType||O.pointerType)};let D=O=>{O.pointerId===y.activePointerId&&(Tr(O,y.target)?y.isOverTarget||(y.isOverTarget=!0,k(wt(y.target,O),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,N(wt(y.target,O),y.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(O)))},j=O=>{O.pointerId===y.activePointerId&&y.isPressed&&O.button===0&&(Tr(O,y.target)?N(wt(y.target,O),y.pointerType):y.isOverTarget&&N(wt(y.target,O),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),u||po(y.target))},S=O=>{_(O)};I.onDragStart=O=>{O.currentTarget.contains(O.target)&&_(O)}}else{I.onMouseDown=S=>{S.button!==0||!S.currentTarget.contains(S.target)||(Fi(S.currentTarget)&&S.preventDefault(),S.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=S.currentTarget,y.pointerType=Ai(S.nativeEvent)?"virtual":"mouse",!i&&!c&&zt(S.currentTarget),k(S,y.pointerType),$(document,"mouseup",D,!1)))},I.onMouseEnter=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!0,k(S,y.pointerType)))},I.onMouseLeave=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!1,N(S,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(S)))},I.onMouseUp=S=>{S.currentTarget.contains(S.target)&&!y.ignoreEmulatedMouseEvents&&S.button===0&&P(S,y.pointerType)};let D=S=>{if(S.button===0){if(y.isPressed=!1,x(),y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}Tr(S,y.target)?N(wt(y.target,S),y.pointerType):y.isOverTarget&&N(wt(y.target,S),y.pointerType,!1),y.isOverTarget=!1}};I.onTouchStart=S=>{if(!S.currentTarget.contains(S.target))return;S.stopPropagation();let O=l5(S.nativeEvent);O&&(y.activePointerId=O.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=S.currentTarget,y.pointerType="touch",!i&&!c&&zt(S.currentTarget),u||Iu(y.target),k(S,y.pointerType),$(window,"scroll",j,!0))},I.onTouchMove=S=>{if(!S.currentTarget.contains(S.target)||(S.stopPropagation(),!y.isPressed))return;let O=Nu(S.nativeEvent,y.activePointerId);O&&Tr(O,S.currentTarget)?y.isOverTarget||(y.isOverTarget=!0,k(S,y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,N(S,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(S))},I.onTouchEnd=S=>{if(!S.currentTarget.contains(S.target)||(S.stopPropagation(),!y.isPressed))return;let O=Nu(S.nativeEvent,y.activePointerId);O&&Tr(O,S.currentTarget)?(P(S,y.pointerType),N(S,y.pointerType)):y.isOverTarget&&N(S,y.pointerType,!1),y.isPressed=!1,y.activePointerId=null,y.isOverTarget=!1,y.ignoreEmulatedMouseEvents=!0,u||po(y.target),x()},I.onTouchCancel=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),y.isPressed&&_(S))};let j=S=>{y.isPressed&&S.target.contains(y.target)&&_({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};I.onDragStart=S=>{S.currentTarget.contains(S.target)&&_(S)}}return I},[$,i,c,x,u]);return l.useEffect(()=>()=>{u||po(v.current.target)},[u]),{isPressed:s||b,pressProps:ve(p,w)}}function Mi(e){return e.tagName==="A"&&e.hasAttribute("href")}function zi(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&&!zu(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!Mi(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function l5(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Nu(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 wt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function c5(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 d5(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Tr(e,t){let r=t.getBoundingClientRect(),n=c5(e);return d5(r,n)}function Fi(e){return!(e instanceof HTMLElement)||!e.draggable}function Mu(e,t){return e instanceof HTMLInputElement?!zu(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const u5=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function zu(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":u5.has(e.type)}class f5{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 Fu(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,Ne(()=>{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 f5("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 Li(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=Fu(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:void 0}}}let _t=null,pn=new Set,Lu=!1,or=!1,Ki=!1;const p5={Tab:!0,Escape:!0};function mo(e,t){for(let r of pn)r(e,t)}function m5(e){return!(e.metaKey||!nr()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ku(e){or=!0,m5(e)&&(_t="keyboard",mo("keyboard",e))}function Dr(e){_t="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(or=!0,mo("pointer",e))}function h5(e){Ai(e)&&(or=!0,_t="virtual")}function b5(e){e.target===window||e.target===document||(!or&&!Ki&&(_t="virtual",mo("virtual",e)),or=!1,Ki=!1)}function g5(){or=!1,Ki=!0}function ho(){if(typeof window>"u"||Lu)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){or=!0,e.apply(this,arguments)},document.addEventListener("keydown",Ku,!0),document.addEventListener("keyup",Ku,!0),document.addEventListener("click",h5,!0),window.addEventListener("focus",b5,!0),window.addEventListener("blur",g5,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Dr,!0),document.addEventListener("pointermove",Dr,!0),document.addEventListener("pointerup",Dr,!0)):(document.addEventListener("mousedown",Dr,!0),document.addEventListener("mousemove",Dr,!0),document.addEventListener("mouseup",Dr,!0)),Lu=!0}typeof document<"u"&&(document.readyState!=="loading"?ho():document.addEventListener("DOMContentLoaded",ho));function ji(){return _t!=="pointer"}function v5(){return _t}function ju(e){_t=e,mo(e,null)}function Vu(){ho();let[e,t]=l.useState(_t);return l.useEffect(()=>{let r=()=>{t(_t)};return pn.add(r),()=>{pn.delete(r)}},[]),e}function y5(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!p5[r.key])}function $5(e,t,r){ho(),l.useEffect(()=>{let n=(o,a)=>{y5(r==null?void 0:r.isTextInput,o,a)&&e(ji())};return pn.add(n),()=>{pn.delete(n)}},t)}function Cr(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=Fu(i),c=l.useCallback(d=>{a.current.isFocusWithin||(n&&n(d),o&&o(!0),a.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:i}}}let bo=!1,Vi=0;function Bi(){bo=!0,setTimeout(()=>{bo=!1},50)}function Bu(e){e.pointerType==="touch"&&Bi()}function x5(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Bu):document.addEventListener("touchend",Bi),Vi++,()=>{Vi--,!(Vi>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Bu):document.removeEventListener("touchend",Bi))}}function w5(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=l.useState(!1),s=l.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;l.useEffect(x5,[]);let{hoverProps:c,triggerHoverEnd:d}=l.useMemo(()=>{let u=(m,b)=>{if(s.pointerType=b,o||b==="touch"||s.isHovered||!m.currentTarget.contains(m.target))return;s.isHovered=!0;let g=m.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:b}),r&&r(!0),i(!0)},f=(m,b)=>{if(s.pointerType="",s.target=null,b==="touch"||!s.isHovered)return;s.isHovered=!1;let g=m.currentTarget;n&&n({type:"hoverend",target:g,pointerType:b}),r&&r(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{bo&&m.pointerType==="mouse"||u(m,m.pointerType)},p.onPointerLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!s.ignoreEmulatedMouseEvents&&!bo&&u(m,"mouse"),s.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,r,n,o,s]);return l.useEffect(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:c,isHovered:a}}function _5(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,i=l.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1,onInteractOutside:r,onInteractOutsideStart:o}).current;i.onInteractOutside=r,i.onInteractOutsideStart=o,l.useEffect(()=>{if(n)return;let s=c=>{go(c,t)&&i.onInteractOutside&&(i.onInteractOutsideStart&&i.onInteractOutsideStart(c),i.isPointerDown=!0)};if(typeof PointerEvent<"u"){let c=d=>{i.isPointerDown&&i.onInteractOutside&&go(d,t)&&i.onInteractOutside(d),i.isPointerDown=!1};return document.addEventListener("pointerdown",s,!0),document.addEventListener("pointerup",c,!0),()=>{document.removeEventListener("pointerdown",s,!0),document.removeEventListener("pointerup",c,!0)}}else{let c=u=>{i.ignoreEmulatedMouseEvents?i.ignoreEmulatedMouseEvents=!1:i.isPointerDown&&i.onInteractOutside&&go(u,t)&&i.onInteractOutside(u),i.isPointerDown=!1},d=u=>{i.ignoreEmulatedMouseEvents=!0,i.onInteractOutside&&i.isPointerDown&&go(u,t)&&i.onInteractOutside(u),i.isPointerDown=!1};return document.addEventListener("mousedown",s,!0),document.addEventListener("mouseup",c,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("touchend",d,!0),()=>{document.removeEventListener("mousedown",s,!0),document.removeEventListener("mouseup",c,!0),document.removeEventListener("touchstart",s,!0),document.removeEventListener("touchend",d,!0)}}},[t,i,n])}function go(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function Ru(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 E5(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Ru(e.onKeyDown),onKeyUp:Ru(e.onKeyUp)}}}function P5(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]);uo(t,"wheel",n?null:o)}const S5=500;function Wu(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=S5,accessibilityDescription:i}=e;const s=l.useRef(null);let{addGlobalListener:c,removeGlobalListener:d}=Si(),{pressProps:u}=kr({isDisabled:t,onPressStart(p){if((p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),s.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),s.current=null},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};c(p.target,"contextmenu",m,{once:!0}),c(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){s.current&&clearTimeout(s.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=Di(o&&!t?i:null);return{longPressProps:ve(u,f)}}function vo(e){if(v5()==="virtual"){let t=document.activeElement;Eu(()=>{document.activeElement===t&&document.contains(e)&&zt(e)})}else zt(e)}function k5(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;let{display:t,visibility:r}=e.style,n=t!=="none"&&r!=="hidden"&&r!=="collapse";if(n){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:a,visibility:i}=o(e);n=a!=="none"&&i!=="hidden"&&i!=="collapse"}return n}function T5(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Uu(e,t){return e.nodeName!=="#comment"&&k5(e)&&T5(e,t)&&(!e.parentElement||Uu(e.parentElement,e))}const Hu=l.createContext(null);let Ce=null;function D5(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=l.useRef(),i=l.useRef(),s=l.useRef([]),{parentNode:c}=l.useContext(Hu)||{},d=l.useMemo(()=>new Hi({scopeRef:s}),[s]);Ne(()=>{let p=c||Me.root;if(Me.getTreeNode(p.scopeRef)&&Ce&&!xo(Ce,p.scopeRef)){let m=Me.getTreeNode(Ce);m&&(p=m)}p.addChild(d),Me.addNode(d)},[d,c]),Ne(()=>{let p=Me.getTreeNode(s);p.contain=r},[r]),Ne(()=>{let p=a.current.nextSibling,m=[];for(;p&&p!==i.current;)m.push(p),p=p.nextSibling;s.current=m},[t]),z5(s,n,r),A5(s,r),L5(s,n,r),M5(s,o),l.useEffect(()=>{if(s){let p=document.activeElement,m=null;if(We(p,s.current)){for(let b of Me.traverse())We(p,b.scopeRef.current)&&(m=b);m===Me.getTreeNode(s)&&(Ce=m.scopeRef)}return()=>{let b=Me.getTreeNode(s).parent.scopeRef;(s===Ce||xo(s,Ce))&&(!b||Me.getTreeNode(b))&&(Ce=b),Me.removeTreeNode(s)}}},[s]);let u=l.useMemo(()=>C5(s),[]),f=l.useMemo(()=>({focusManager:u,parentNode:d}),[d,u]);return l.createElement(Hu.Provider,{value:f},l.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,l.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function C5(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[0].previousElementSibling,d=Ye(ar(r),{tabbable:o,accept:i},r);d.currentNode=We(s,r)?s:c;let u=d.nextNode();return!u&&a&&(d.currentNode=c,u=d.nextNode()),u&&Ge(u,!0),u},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[r.length-1].nextElementSibling,d=Ye(ar(r),{tabbable:o,accept:i},r);d.currentNode=We(s,r)?s:c;let u=d.previousNode();return!u&&a&&(d.currentNode=c,u=d.previousNode()),u&&Ge(u,!0),u},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Ye(ar(r),{tabbable:n,accept:o},r);a.currentNode=r[0].previousElementSibling;let i=a.nextNode();return i&&Ge(i,!0),i},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Ye(ar(r),{tabbable:n,accept:o},r);a.currentNode=r[r.length-1].nextElementSibling;let i=a.previousNode();return i&&Ge(i,!0),i}}}const Ri=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],O5=Ri.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ri.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const I5=Ri.join(':not([hidden]):not([tabindex="-1"]),');function ar(e){return e[0].parentElement}function yo(e){let t=Me.getTreeNode(Ce);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function A5(e,t){let r=l.useRef(),n=l.useRef(null);Ne(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=null);return}let a=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!yo(e))return;let d=document.activeElement,u=e.current;if(!We(d,u))return;let f=Ye(ar(u),{tabbable:!0},u);f.currentNode=d;let p=c.shiftKey?f.previousNode():f.nextNode();p||(f.currentNode=c.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,p=c.shiftKey?f.previousNode():f.nextNode()),c.preventDefault(),p&&Ge(p,!0)},i=c=>{(!Ce||xo(Ce,e))&&We(c.target,e.current)?(Ce=e,r.current=c.target):yo(e)&&!$o(c.target,e)?r.current?r.current.focus():Ce&&wo(Ce.current):yo(e)&&(r.current=c.target)},s=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{yo(e)&&!$o(document.activeElement,e)&&(Ce=e,document.body.contains(c.target)?(r.current=c.target,r.current.focus()):Ce&&wo(Ce.current))})};return document.addEventListener("keydown",a,!1),document.addEventListener("focusin",i,!1),o.forEach(c=>c.addEventListener("focusin",i,!1)),o.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{document.removeEventListener("keydown",a,!1),document.removeEventListener("focusin",i,!1),o.forEach(c=>c.removeEventListener("focusin",i,!1)),o.forEach(c=>c.removeEventListener("focusout",s,!1))}},[e,t]),l.useEffect(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Gu(e){return $o(e)}function We(e,t){return t.some(r=>r.contains(e))}function $o(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of Me.traverse(Me.getTreeNode(t)))if(We(e,r.current))return!0;return!1}function N5(e){return $o(e,Ce)}function xo(e,t){var r;let n=(r=Me.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Ge(e,t=!1){if(e!=null&&!t)try{vo(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function wo(e,t=!0){let r=e[0].previousElementSibling,n=Ye(ar(e),{tabbable:t},e);n.currentNode=r;let o=n.nextNode();t&&!o&&(n=Ye(ar(e),{tabbable:!1},e),n.currentNode=r,o=n.nextNode()),Ge(o)}function M5(e,t){const r=l.useRef(t);l.useEffect(()=>{r.current&&(Ce=e,We(document.activeElement,Ce.current)||wo(e.current)),r.current=!1},[e])}function z5(e,t,r){Ne(()=>{if(t||r)return;let n=e.current,o=a=>{let i=a.target;We(i,e.current)?Ce=e:Gu(i)||(Ce=null)};return document.addEventListener("focusin",o,!1),n.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{document.removeEventListener("focusin",o,!1),n.forEach(a=>a.removeEventListener("focusin",o,!1))}},[e,t,r])}function F5(e){let t=Me.getTreeNode(Ce);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function L5(e,t,r){const n=l.useRef(typeof document<"u"?document.activeElement:null);Ne(()=>{let o=e.current;if(!t||r)return;let a=()=>{(!Ce||xo(Ce,e))&&(Ce=e)};return document.addEventListener("focusin",a,!1),o.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{document.removeEventListener("focusin",a,!1),o.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,r]),Ne(()=>{if(!t)return;Me.getTreeNode(e).nodeToRestore=n.current;let o=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey)return;let i=document.activeElement;if(!We(i,e.current))return;let s=Me.getTreeNode(e).nodeToRestore,c=Ye(document.body,{tabbable:!0});c.currentNode=i;let d=a.shiftKey?c.previousNode():c.nextNode();if((!document.body.contains(s)||s===document.body)&&(s=null,Me.getTreeNode(e).nodeToRestore=null),(!d||!We(d,e.current))&&s){c.currentNode=s;do d=a.shiftKey?c.previousNode():c.nextNode();while(We(d,e.current));a.preventDefault(),a.stopPropagation(),d?Ge(d,!0):Gu(s)?Ge(s,!0):i.blur()}};return r||document.addEventListener("keydown",o,!0),()=>{r||document.removeEventListener("keydown",o,!0);let a=Me.getTreeNode(e).nodeToRestore;if(t&&a&&(We(document.activeElement,e.current)||document.activeElement===document.body&&F5(e))){let i=Me.clone();requestAnimationFrame(()=>{if(document.activeElement===document.body){let s=i.getTreeNode(e);for(;s;){if(s.nodeToRestore&&document.body.contains(s.nodeToRestore)){Ge(s.nodeToRestore);return}s=s.parent}for(s=i.getTreeNode(e);s;){if(s.scopeRef&&Me.getTreeNode(s.scopeRef)){wo(s.scopeRef.current,!0);return}s=s.parent}}})}}},[e,t,r])}function Ye(e,t,r){let n=t!=null&&t.tabbable?I5:O5,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&Uu(a)&&(!r||We(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}function Yu(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,d=Ye(n,{tabbable:a,accept:s});n.contains(c)&&(d.currentNode=c);let u=d.nextNode();return!u&&i&&(d.currentNode=n,u=d.nextNode()),u&&Ge(u,!0),u},focusPrevious(r=t){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,d=Ye(n,{tabbable:a,accept:s});if(n.contains(c))d.currentNode=c;else{let f=Wi(d);return f&&Ge(f,!0),f}let u=d.previousNode();return!u&&i&&(d.currentNode=n,u=Wi(d)),u&&Ge(u,!0),u},focusFirst(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,s=Ye(n,{tabbable:o,accept:a}).nextNode();return s&&Ge(s,!0),s},focusLast(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,i=Ye(n,{tabbable:o,accept:a}),s=Wi(i);return s&&Ge(s,!0),s}}}function Wi(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class Ui{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 Hi({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef.current&&We(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.size>0&&o.forEach(a=>n.addChild(a)),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new Ui;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){Pr(this,"fastMap",new Map),this.root=new Hi({scopeRef:null}),this.fastMap.set(null,this.root)}}class Hi{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){Pr(this,"children",new Set),Pr(this,"contain",!1),this.scopeRef=t.scopeRef}}let Me=new Ui;function Or(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||ji()}),[a,i]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),u=l.useCallback(m=>{o.current.isFocused=m,i(m),d()},[d]);$5(m=>{o.current.isFocusVisible=m,d()},[],{isTextInput:r});let{focusProps:f}=Li({isDisabled:n,onFocusChange:u}),{focusWithinProps:p}=Cr({isDisabled:!n,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?p:f}}function K5(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=Or(e),s=l.Children.only(t);return l.cloneElement(s,ve(s.props,{...i,className:io({[r||""]:o,[n||""]:a})}))}let j5=l.createContext(null);function V5(e){let t=l.useContext(j5)||{};Pu(t,e);let{ref:r,...n}=t;return n}function Gi(e,t){let{focusProps:r}=Li(e),{keyboardProps:n}=E5(e),o=ve(r,n),a=V5(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&vo(t.current),s.current=!1},[t]),{focusableProps:ve({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function B5(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...c}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:u}=Gi(e,t),{pressProps:f,isPressed:p}=kr({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),m=xt(c,{labelable:!0}),b=ve(u,f);return{isPressed:p,linkProps:ve(m,{...b,...d,"aria-disabled":s||void 0,onClick:g=>{f.onClick(g),i&&(i(g),console.warn("onClick is deprecated, please use onPress"))}})}}class Yi{getStringForLocale(t,r){let n=this.strings[r];n||(n=R5(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 R5(e,t,r="en-US"){if(t[e])return t[e];let n=W5(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function W5(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const qu=new Map,Zu=new Map;class U5{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=qu.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),qu.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Zu.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Zu.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}function H5(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _o(e,t,r){H5(e,t),t.set(e,r)}function qi(e,t){return e-t*Math.floor(e/t)}const Xu=1721426;function Eo(e,t,r,n){t=Zi(e,t);let o=t-1,a=-2;return r<=2?a=0:Po(t)&&(a=-1),Xu-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+a+n)}function Po(e){return e%4===0&&(e%100!==0||e%400===0)}function Zi(e,t){return e==="BC"?1-t:t}function G5(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Y5={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Ft{fromJulianDay(t){let r=t,n=r-Xu,o=Math.floor(n/146097),a=qi(n,146097),i=Math.floor(a/36524),s=qi(a,36524),c=Math.floor(s/1461),d=qi(s,1461),u=Math.floor(d/365),f=o*400+i*100+c*4+u+(i!==4&&u!==4?1:0),[p,m]=G5(f),b=r-Eo(p,m,1,1),g=2;r<Eo(p,m,3,1)?g=0:Po(m)&&(g=1);let v=Math.floor(((b+g)*12+373)/367),$=r-Eo(p,m,v,1)+1;return new Ar(p,m,v,$)}toJulianDay(t){return Eo(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Y5[Po(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Po(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){Pr(this,"identifier","gregory")}}function Ju(e){return Pt(Date.now(),e)}function q5(e){return lf(Ju(e))}function Qu(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function ef(e,t){return tf(e)-tf(t)}function tf(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Xi=null;function Ji(){return Xi==null&&(Xi=new Intl.DateTimeFormat().resolvedOptions().timeZone),Xi}function Z5(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function X5(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Ir(e){e=Ue(e,new Ft);let t=Zi(e.era,e.year);return rf(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function rf(e,t,r,n,o,a,i){let s=new Date;return s.setUTCHours(n,o,a,i),s.setUTCFullYear(e,t-1,r),s.getTime()}function Qi(e,t){if(t==="UTC")return 0;if(e>0&&t===Ji())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:a,minute:i,second:s}=of(e,t);return rf(r,n,o,a,i,s,0)-Math.floor(e/1e3)*1e3}const nf=new Map;function of(e,t){let r=nf.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),nf.set(t,r));let n=r.formatToParts(new Date(e)),o={};for(let a of n)a.type!=="literal"&&(o[a.type]=a.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const af=864e5;function J5(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>Q5(e,t,a))}function Q5(e,t,r){let n=of(r,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function Et(e,t,r="compatible"){let n=Lt(e);if(t==="UTC")return Ir(n);if(t===Ji()&&r==="compatible"){n=Ue(n,new Ft);let c=new Date,d=Zi(n.era,n.year);return c.setFullYear(d,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let o=Ir(n),a=Qi(o-af,t),i=Qi(o+af,t),s=J5(n,t,o-a,o-i);if(s.length===1)return s[0];if(s.length>1)switch(r){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(o-a,o-i);case"compatible":case"later":return Math.max(o-a,o-i);case"reject":throw new RangeError("No such absolute time found")}}function sf(e,t,r="compatible"){return new Date(Et(e,t,r))}function Pt(e,t){let r=Qi(e,t),n=new Date(e+r),o=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),s=n.getUTCHours(),c=n.getUTCMinutes(),d=n.getUTCSeconds(),u=n.getUTCMilliseconds();return new gn(o,a,i,t,r,s,c,d,u)}function lf(e){return new Ar(e.calendar,e.era,e.year,e.month,e.day)}function Lt(e,t){let r=0,n=0,o=0,a=0;if("timeZone"in e)({hour:r,minute:n,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:o,millisecond:a}=t),new To(e.calendar,e.era,e.year,e.month,e.day,r,n,o,a)}function eP(e){return new bn(e.hour,e.minute,e.second,e.millisecond)}function Ue(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,ir(n),n}function tP(e,t,r){if(e instanceof gn)return e.timeZone===t?e:nP(e,t);let n=Et(e,t,r);return Pt(n,t)}function rP(e){let t=Ir(e)-e.offset;return new Date(t)}function nP(e,t){let r=Ir(e)-e.offset;return Ue(Pt(r,t),e.calendar)}const mn=36e5;function So(e,t){let r=e.copy(),n="hour"in r?ff(r,t):0;es(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,ts(r),cf(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,oP(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let o=r.calendar.getYearsInEra(r);if(r.year>o){var a,i;let c=(i=(a=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(a,r);r.year=o,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function es(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function ts(e){for(;e.month<1;)es(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,es(e,1)}function oP(e){for(;e.day<1;)e.month--,ts(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ts(e)}function cf(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function ir(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),cf(e)}function rs(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function df(e,t){return So(e,rs(t))}function ns(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),ir(r),r}function hn(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),uf(r),r}function aP(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=ko(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=ko(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=ko(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=ko(e.hour,24),t}function uf(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function ko(e,t){let r=e%t;return r<0&&(r+=t),r}function ff(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,aP(e)}function pf(e,t){let r=e.copy();return ff(r,t),r}function iP(e,t){return pf(e,rs(t))}function os(e,t,r,n){let o=e.copy();switch(t){case"era":{let s=e.calendar.getEras(),c=s.indexOf(e.era);if(c<0)throw new Error("Invalid era: "+e.era);c=St(c,r,0,s.length-1,n==null?void 0:n.round),o.era=s[c],ir(o);break}case"year":var a,i;!((i=(a=o.calendar).isInverseEra)===null||i===void 0)&&i.call(a,o)&&(r=-r),o.year=St(e.year,r,-1/0,9999,n==null?void 0:n.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=St(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":o.day=St(e.day,r,1,e.calendar.getDaysInMonth(e),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(o),ir(o),o}function as(e,t,r,n){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,s=23;if((n==null?void 0:n.hourCycle)===12){let c=a>=12;i=c?12:0,s=c?23:11}o.hour=St(a,r,i,s,n==null?void 0:n.round);break}case"minute":o.minute=St(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":o.second=St(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":o.millisecond=St(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return o}function St(e,t,r,n,o=!1){if(o){e+=Math.sign(t),e<r&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function mf(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.days!=null&&t.days!==0){let o=So(Lt(e),{years:t.years,months:t.months,days:t.days});r=Et(o,e.timeZone)}else r=Ir(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=Pt(r,e.timeZone);return Ue(n,e.calendar)}function sP(e,t){return mf(e,rs(t))}function lP(e,t,r,n){switch(t){case"hour":{let o=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;o=b?12:0,a=b?23:11}let i=Lt(e),s=Ue(hn(i,{hour:o}),new Ft),c=[Et(s,e.timeZone,"earlier"),Et(s,e.timeZone,"later")].filter(b=>Pt(b,e.timeZone).day===s.day)[0],d=Ue(hn(i,{hour:a}),new Ft),u=[Et(d,e.timeZone,"earlier"),Et(d,e.timeZone,"later")].filter(b=>Pt(b,e.timeZone).day===d.day).pop(),f=Ir(e)-e.offset,p=Math.floor(f/mn),m=f%mn;return f=St(p,r,Math.floor(c/mn),Math.floor(u/mn),n==null?void 0:n.round)*mn+m,Ue(Pt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return as(e,t,r,n);case"era":case"year":case"month":case"day":{let o=os(Lt(e),t,r,n),a=Et(o,e.timeZone);return Ue(Pt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function cP(e,t,r){let n=Lt(e),o=hn(ns(n,t),t);if(o.compare(n)===0)return e;let a=Et(o,e.timeZone,r);return Ue(Pt(a,e.timeZone),e.calendar)}function hf(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function bf(e){let t=Ue(e,new Ft);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function gf(e){return`${bf(e)}T${hf(e)}`}function dP(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function uP(e){return`${gf(e)}${dP(e.offset)}[${e.timeZone}]`}function is(e){let t=typeof e[0]=="object"?e.shift():new Ft,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),o=e.shift(),a=e.shift();return[t,r,n,o,a]}var fP=new WeakMap;class Ar{copy(){return this.era?new Ar(this.calendar,this.era,this.year,this.month,this.day):new Ar(this.calendar,this.year,this.month,this.day)}add(t){return So(this,t)}subtract(t){return df(this,t)}set(t){return ns(this,t)}cycle(t,r,n){return os(this,t,r,n)}toDate(t){return sf(this,t)}toString(){return bf(this)}compare(t){return Qu(this,t)}constructor(...t){_o(this,fP,{writable:!0,value:void 0});let[r,n,o,a,i]=is(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,ir(this)}}var pP=new WeakMap;class bn{copy(){return new bn(this.hour,this.minute,this.second,this.millisecond)}add(t){return pf(this,t)}subtract(t){return iP(this,t)}set(t){return hn(this,t)}cycle(t,r,n){return as(this,t,r,n)}toString(){return hf(this)}compare(t){return ef(this,t)}constructor(t=0,r=0,n=0,o=0){_o(this,pP,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=o,uf(this)}}var mP=new WeakMap;class To{copy(){return this.era?new To(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new To(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return So(this,t)}subtract(t){return df(this,t)}set(t){return ns(hn(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return os(this,t,r,n);default:return as(this,t,r,n)}}toDate(t,r){return sf(this,t,r)}toString(){return gf(this)}compare(t){let r=Qu(this,t);return r===0?ef(this,Lt(t)):r}constructor(...t){_o(this,mP,{writable:!0,value:void 0});let[r,n,o,a,i]=is(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,ir(this)}}var hP=new WeakMap;class gn{copy(){return this.era?new gn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new gn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return mf(this,t)}subtract(t){return sP(this,t)}set(t,r){return cP(this,t,r)}cycle(t,r,n){return lP(this,t,r,n)}toDate(){return rP(this)}toString(){return uP(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-tP(t,this.timeZone).toDate().getTime()}constructor(...t){_o(this,hP,{writable:!0,value:void 0});let[r,n,o,a,i]=is(t),s=t.shift(),c=t.shift();this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.timeZone=s,this.offset=c,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,ir(this)}}let ss=new Map;class Do{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),o=this.formatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return vP()&&(this.resolvedHourCycle||(this.resolvedHourCycle=yP(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,r={}){this.formatter=vf(t,r),this.options=r}}const bP={true:{ja:"h11"},false:{}};function vf(e,t={}){if(typeof t.hour12=="boolean"&&gP()){t={...t};let o=bP[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=o??a,delete t.hour12}let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(ss.has(r))return ss.get(r);let n=new Intl.DateTimeFormat(e,t);return ss.set(r,n),n}let ls=null;function gP(){return ls==null&&(ls=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),ls}let cs=null;function vP(){return cs==null&&(cs=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),cs}function yP(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let r=vf(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),o=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&o===23)return"h23";if(n===24&&o===23)return"h24";if(n===0&&o===11)return"h11";if(n===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}let ds=new Map,us=!1;try{us=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Co=!1;try{Co=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const yf={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class fs{format(t){let r="";if(!us&&this.options.signDisplay!=null?r=xP(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Co){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=yf[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!us&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Co&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=$P(t,r),this.options=r}}function $P(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!Co){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=yf[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(ds.has(o))return ds.get(o);let a=new Intl.NumberFormat(e,t);return ds.set(o,a),a}function xP(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 wP=new RegExp("^.*\\(.*\\).*$"),_P=["latn","arab","hanidec"];class $f{parse(t){return ps(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return ps(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return ps(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const xf=new Map;function ps(e,t,r){let n=wf(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of _P)if(o!==n.options.numberingSystem){let a=wf(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function wf(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=xf.get(r);return n||(n=new EP(e,t),xf.set(r,n)),n}class EP{parse(t){let r=this.sanitize(t);r=Oo(r,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.currencySign==="accounting"&&wP.test(t)&&(n=-1*n),this.options.style==="percent"){n/=100;var o;n=+n.toFixed(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2)}return n}sanitize(t){return t=t.replace(this.symbols.literals,""),t=t.replace("-",this.symbols.minusSign),this.options.numberingSystem==="arab"&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal),t=Oo(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=Oo(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),t.startsWith(this.symbols.minusSign)&&r<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),t.startsWith(this.symbols.group)?!1:(t=Oo(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,""),t.length===0)}constructor(t,r={}){this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=PP(this.formatter,this.options,r)}}const _f=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function PP(e,t,r){var n,o,a,i;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),d=e.formatToParts(1);var u;let f=(u=(n=s.find(P=>P.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:"-",p=(o=c.find(P=>P.type==="plusSign"))===null||o===void 0?void 0:o.value;!p&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(p="+");let m=(a=s.find(P=>P.type==="decimal"))===null||a===void 0?void 0:a.value,b=(i=s.find(P=>P.type==="group"))===null||i===void 0?void 0:i.value,g=s.filter(P=>!_f.has(P.type)).map(P=>Ef(P.value)),v=d.filter(P=>!_f.has(P.type)).map(P=>Ef(P.value)),$=[...new Set([...v,...g])].sort((P,_)=>_.length-P.length),x=$.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((P,_)=>[P,_])),k=new RegExp(`[${w.join("")}]`,"g");return{minusSign:f,plusSign:p,decimal:m,group:b,literals:x,numeral:k,index:P=>String(y.get(P))}}function Oo(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Ef(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const SP=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),kP=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function TP(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return SP.has(r)}let t=e.split("-")[0];return kP.has(t)}function Pf(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:TP(e)?"rtl":"ltr"}}let ms=Pf(),vn=new Set;function Sf(){ms=Pf();for(let e of vn)e(ms)}function DP(){let e=xu(),[t,r]=l.useState(ms);return l.useEffect(()=>(vn.size===0&&window.addEventListener("languagechange",Sf),vn.add(r),()=>{vn.delete(r),vn.size===0&&window.removeEventListener("languagechange",Sf)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const CP=l.createContext(null);function dt(){let e=DP();return l.useContext(CP)||e}const kf=new WeakMap;function OP(e){let t=kf.get(e);return t||(t=new Yi(e),kf.set(e,t)),t}function Kt(e){let{locale:t}=dt(),r=l.useMemo(()=>OP(e),[e]);return l.useMemo(()=>new U5(t,r),[t,r])}function Io(e){let t=l.useRef(null);e&&t.current&&IP(e,t.current)&&(e=t.current),t.current=e;let{locale:r}=dt();return l.useMemo(()=>new Do(r,e),[r,e])}function IP(e,t){if(e===t)return!0;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o of r)if(t[o]!==e[o])return!1;return!0}function AP(e={}){let{locale:t}=dt();return l.useMemo(()=>new fs(t,e),[t,e])}let hs=new Map;function Ao(e){let{locale:t}=dt(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(hs.has(r))return hs.get(r);let n=new Intl.Collator(t,e);return hs.set(r,n),n}function NP(e){let t=Ao({usage:"search",...e}),r=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),o=l.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let s=0,c=i.length;for(;s+c<=a.length;s++){let d=a.slice(s,s+c);if(t.compare(i,d)===0)return!0}return!1},[t]);return l.useMemo(()=>({startsWith:r,endsWith:n,contains:o}),[r,n,o])}function MP(e){return e&&e.__esModule?e.default:e}function zP(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=B5({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 Tf={},Df={};Df={breadcrumbs:"عناصر الواجهة"};var Cf={};Cf={breadcrumbs:"Трохи хляб"};var Of={};Of={breadcrumbs:"Popis cesty"};var If={};If={breadcrumbs:"Brødkrummer"};var Af={};Af={breadcrumbs:"Breadcrumbs"};var Nf={};Nf={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Mf={};Mf={breadcrumbs:"Breadcrumbs"};var zf={};zf={breadcrumbs:"Migas de pan"};var Ff={};Ff={breadcrumbs:"Lingiread"};var Lf={};Lf={breadcrumbs:"Navigointilinkit"};var Kf={};Kf={breadcrumbs:"Chemin de navigation"};var jf={};jf={breadcrumbs:"שבילי ניווט"};var Vf={};Vf={breadcrumbs:"Navigacijski putovi"};var Bf={};Bf={breadcrumbs:"Morzsamenü"};var Rf={};Rf={breadcrumbs:"Breadcrumb"};var Wf={};Wf={breadcrumbs:"パンくずリスト"};var Uf={};Uf={breadcrumbs:"탐색 표시"};var Hf={};Hf={breadcrumbs:"Naršymo kelias"};var Gf={};Gf={breadcrumbs:"Atpakaļceļi"};var Yf={};Yf={breadcrumbs:"Navigasjonsstier"};var qf={};qf={breadcrumbs:"Broodkruimels"};var Zf={};Zf={breadcrumbs:"Struktura nawigacyjna"};var Xf={};Xf={breadcrumbs:"Caminho detalhado"};var Jf={};Jf={breadcrumbs:"Categorias"};var Qf={};Qf={breadcrumbs:"Miez de pâine"};var ep={};ep={breadcrumbs:"Навигация"};var tp={};tp={breadcrumbs:"Navigačné prvky Breadcrumbs"};var rp={};rp={breadcrumbs:"Drobtine"};var np={};np={breadcrumbs:"Putanje navigacije"};var op={};op={breadcrumbs:"Sökvägar"};var ap={};ap={breadcrumbs:"İçerik haritaları"};var ip={};ip={breadcrumbs:"Навігаційна стежка"};var sp={};sp={breadcrumbs:"导航栏"};var lp={};lp={breadcrumbs:"導覽列"},Tf={"ar-AE":Df,"bg-BG":Cf,"cs-CZ":Of,"da-DK":If,"de-DE":Af,"el-GR":Nf,"en-US":Mf,"es-ES":zf,"et-EE":Ff,"fi-FI":Lf,"fr-FR":Kf,"he-IL":jf,"hr-HR":Vf,"hu-HU":Bf,"it-IT":Rf,"ja-JP":Wf,"ko-KR":Uf,"lt-LT":Hf,"lv-LV":Gf,"nb-NO":Yf,"nl-NL":qf,"pl-PL":Zf,"pt-BR":Xf,"pt-PT":Jf,"ro-RO":Qf,"ru-RU":ep,"sk-SK":tp,"sl-SI":rp,"sr-SP":np,"sv-SE":op,"tr-TR":ap,"uk-UA":ip,"zh-CN":sp,"zh-TW":lp};function FP(e){let{"aria-label":t,...r}=e,n=Kt(MP(Tf));return{navProps:{...xt(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const LP=F(jE)`
|
|
280
|
+
`,At=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function B_(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const ai="dismissableLayer.update",R_="dismissableLayer.pointerDownOutside",W_="dismissableLayer.focusOutside";let jd;const U_=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),H_=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(U_),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,T=w>=x,N=G_(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!T||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=Y_(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(jd=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Vd(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=jd)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Vd())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(ai,_),()=>document.removeEventListener(ai,_)},[]),l.createElement(At.div,A({},d,{ref:g,style:{pointerEvents:y?T?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))});function G_(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Bd(R_,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 Y_(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Bd(W_,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 Vd(){const e=new CustomEvent(ai);document.dispatchEvent(e)}function Bd(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?B_(o,a):o.dispatchEvent(a)}function Xt(e){return e.split("-")[0]}function sn(e){return e.split("-")[1]}function xr(e){return["top","bottom"].includes(Xt(e))?"x":"y"}function ii(e){return e==="y"?"height":"width"}function Rd(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=xr(t),c=ii(s),d=n[c]/2-o[c]/2,u=s==="x";let f;switch(Xt(t)){case"top":f={x:a,y:n.y-o.height};break;case"bottom":f={x:a,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:i};break;case"left":f={x:n.x-o.width,y:i};break;default:f={x:n.x,y:n.y}}switch(sn(t)){case"start":f[s]-=d*(r&&u?-1:1);break;case"end":f[s]+=d*(r&&u?-1:1)}return f}const q_=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=Rd(c,n,s),f=n,p={},m=0;for(let b=0;b<a.length;b++){const{name:g,fn:v}=a[b],{x:$,y:x,data:w,reset:y}=await v({x:d,y:u,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=$??d,u=x??u,p={...p,[g]:{...p[g],...w}},y&&m<=50&&(m++,typeof y=="object"&&(y.placement&&(f=y.placement),y.rects&&(c=y.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:u}=Rd(c,f,s)),b=-1)}return{x:d,y:u,placement:f,strategy:o,middlewareData:p}};function Wd(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Jn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function ln(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=t,b=Wd(m),g=s[p?f==="floating"?"reference":"floating":f],v=Jn(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(g)))==null||r?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:d,rootBoundary:u,strategy:c})),$=Jn(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...i.floating,x:n,y:o}:i.reference,offsetParent:await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),strategy:c}):i[f]);return{top:v.top-$.top+b.top,bottom:$.bottom-v.bottom+b.bottom,left:v.left-$.left+b.left,right:$.right-v.right+b.right}}const Z_=Math.min,Jt=Math.max;function si(e,t,r){return Jt(e,Z_(t,r))}const Ud=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{};const d=Wd(n),u={x:o,y:a},f=xr(i),p=sn(i),m=ii(f),b=await c.getDimensions(r),g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",$=s.reference[m]+s.reference[f]-u[f]-s.floating[m],x=u[f]-s.reference[f],w=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let y=w?f==="y"?w.clientHeight||0:w.clientWidth||0:0;y===0&&(y=s.floating[m]);const T=$/2-x/2,N=d[g],P=y-b[m]-d[v],_=y/2-b[m]/2+T,I=si(N,_,P),W=(p==="start"?d[g]:d[v])>0&&_!==I&&s.reference[m]<=s.floating[m];return{[f]:u[f]-(W?_<N?N-_:P-_:0),data:{[f]:I,centerOffset:_-I}}}}),X_={left:"right",right:"left",bottom:"top",top:"bottom"};function Qn(e){return e.replace(/left|right|bottom|top/g,t=>X_[t])}function J_(e,t,r){r===void 0&&(r=!1);const n=sn(e),o=xr(e),a=ii(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Qn(i)),{main:i,cross:Qn(i)}}const Q_={start:"end",end:"start"};function Hd(e){return e.replace(/start|end/g,t=>Q_[t])}const Gd=["top","right","bottom","left"];Gd.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const li=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:a,initialPlacement:i,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",flipAlignment:m=!0,...b}=e,g=Xt(n),v=f||(g===i||!m?[Qn(i)]:function(_){const I=Qn(_);return[Hd(_),I,Hd(I)]}(i)),$=[i,...v],x=await ln(t,b),w=[];let y=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&w.push(x[g]),u){const{main:_,cross:I}=J_(n,a,await(s.isRTL==null?void 0:s.isRTL(c.floating)));w.push(x[_],x[I])}if(y=[...y,{placement:n,overflows:w}],!w.every(_=>_<=0)){var T,N;const _=((T=(N=o.flip)==null?void 0:N.index)!=null?T:0)+1,I=$[_];if(I)return{data:{index:_,overflows:y},reset:{placement:I}};let W="bottom";switch(p){case"bestFit":{var P;const D=(P=y.map(j=>[j,j.overflows.filter(S=>S>0).reduce((S,O)=>S+O,0)]).sort((j,S)=>j[1]-S[1])[0])==null?void 0:P[0].placement;D&&(W=D);break}case"initialPlacement":W=i}if(n!==W)return{reset:{placement:W}}}return{}}}};function Yd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function qd(e){return Gd.some(t=>e[t]>=0)}const ci=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=Yd(await ln(n,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:qd(a)}}}case"escaped":{const a=Yd(await ln(n,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:a,escaped:qd(a)}}}default:return{}}}}},di=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(a,i){const{placement:s,platform:c,elements:d}=a,u=await(c.isRTL==null?void 0:c.isRTL(d.floating)),f=Xt(s),p=sn(s),m=xr(s)==="x",b=["left","top"].includes(f)?-1:1,g=u&&m?-1:1,v=typeof i=="function"?i(a):i;let{mainAxis:$,crossAxis:x,alignmentAxis:w}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return p&&typeof w=="number"&&(x=p==="end"?-1*w:w),m?{x:x*g,y:$*b}:{x:$*b,y:x*g}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function Zd(e){return e==="x"?"y":"x"}const ui=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:v=>{let{x:$,y:x}=v;return{x:$,y:x}}},...c}=e,d={x:r,y:n},u=await ln(t,c),f=xr(Xt(o)),p=Zd(f);let m=d[f],b=d[p];if(a){const v=f==="y"?"bottom":"right";m=si(m+u[f==="y"?"top":"left"],m,m-u[v])}if(i){const v=p==="y"?"bottom":"right";b=si(b+u[p==="y"?"top":"left"],b,b-u[v])}const g=s.fn({...t,[f]:m,[p]:b});return{...g,data:{x:g.x-r,y:g.y-n}}}}},fi=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:c=!0,crossAxis:d=!0}=e,u={x:r,y:n},f=xr(o),p=Zd(f);let m=u[f],b=u[p];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 T=f==="y"?"height":"width",N=a.reference[f]-a.floating[T]+v.mainAxis,P=a.reference[f]+a.reference[T]-v.mainAxis;m<N?m=N:m>P&&(m=P)}if(d){var $,x,w,y;const T=f==="y"?"width":"height",N=["top","left"].includes(Xt(o)),P=a.reference[p]-a.floating[T]+(N&&($=(x=i.offset)==null?void 0:x[p])!=null?$:0)+(N?0:v.crossAxis),_=a.reference[p]+a.reference[T]+(N?0:(w=(y=i.offset)==null?void 0:y[p])!=null?w:0)-(N?v.crossAxis:0);b<P?b=P:b>_&&(b=_)}return{[f]:m,[p]:b}}}},pi=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 ln(t,s),d=Xt(r),u=sn(r);let f,p;d==="top"||d==="bottom"?(f=d,p=u===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(p=d,f=u==="end"?"top":"bottom");const m=Jt(c.left,0),b=Jt(c.right,0),g=Jt(c.top,0),v=Jt(c.bottom,0),$={availableHeight:n.floating.height-(["left","right"].includes(r)?2*(g!==0||v!==0?g+v:Jt(c.top,c.bottom)):c[f]),availableWidth:n.floating.width-(["top","bottom"].includes(r)?2*(m!==0||b!==0?m+b:Jt(c.left,c.right)):c[p])},x=await o.getDimensions(a.floating);i==null||i({...t,...$});const w=await o.getDimensions(a.floating);return x.width!==w.width||x.height!==w.height?{reset:{rects:!0}}:{}}}};function Xd(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function vt(e){if(e==null)return window;if(!Xd(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function cn(e){return vt(e).getComputedStyle(e)}function yt(e){return Xd(e)?"":e?(e.nodeName||"").toLowerCase():""}function Jd(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function lt(e){return e instanceof vt(e).HTMLElement}function Nt(e){return e instanceof vt(e).Element}function mi(e){return typeof ShadowRoot>"u"?!1:e instanceof vt(e).ShadowRoot||e instanceof ShadowRoot}function eo(e){const{overflow:t,overflowX:r,overflowY:n}=cn(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function eE(e){return["table","td","th"].includes(yt(e))}function Qd(e){const t=/firefox/i.test(Jd()),r=cn(e);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||t&&r.willChange==="filter"||t&&!!r.filter&&r.filter!=="none"}function eu(){return!/^((?!chrome|android).)*safari/i.test(Jd())}const tu=Math.min,dn=Math.max,to=Math.round;function $t(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&<(e)&&(c=e.offsetWidth>0&&to(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&to(s.height)/e.offsetHeight||1);const u=Nt(e)?vt(e):window,f=!eu()&&r,p=(s.left+(f&&(n=(o=u.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,m=(s.top+(f&&(a=(i=u.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/d,b=s.width/c,g=s.height/d;return{width:b,height:g,top:m,right:p+b,bottom:m+g,left:p,x:p,y:m}}function Mt(e){return(t=e,(t instanceof vt(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function ro(e){return Nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ru(e){return $t(Mt(e)).left+ro(e).scrollLeft}function tE(e,t,r){const n=lt(t),o=Mt(t),a=$t(e,n&&function(c){const d=$t(c);return to(d.width)!==c.offsetWidth||to(d.height)!==c.offsetHeight}(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((yt(t)!=="body"||eo(o))&&(i=ro(t)),lt(t)){const c=$t(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=ru(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function nu(e){return yt(e)==="html"?e:e.assignedSlot||e.parentNode||(mi(e)?e.host:null)||Mt(e)}function ou(e){return lt(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function hi(e){const t=vt(e);let r=ou(e);for(;r&&eE(r)&&getComputedStyle(r).position==="static";)r=ou(r);return r&&(yt(r)==="html"||yt(r)==="body"&&getComputedStyle(r).position==="static"&&!Qd(r))?t:r||function(n){let o=nu(n);for(mi(o)&&(o=o.host);lt(o)&&!["html","body"].includes(yt(o));){if(Qd(o))return o;o=o.parentNode}return null}(e)||t}function au(e){if(lt(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=$t(e);return{width:t.width,height:t.height}}function iu(e){const t=nu(e);return["html","body","#document"].includes(yt(t))?e.ownerDocument.body:lt(t)&&eo(t)?t:iu(t)}function no(e,t){var r;t===void 0&&(t=[]);const n=iu(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=vt(n),i=o?[a].concat(a.visualViewport||[],eo(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(no(i))}function su(e,t,r){return t==="viewport"?Jn(function(n,o){const a=vt(n),i=Mt(n),s=a.visualViewport;let c=i.clientWidth,d=i.clientHeight,u=0,f=0;if(s){c=s.width,d=s.height;const p=eu();(p||!p&&o==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:c,height:d,x:u,y:f}}(e,r)):Nt(t)?function(n,o){const a=$t(n,!1,o==="fixed"),i=a.top+n.clientTop,s=a.left+n.clientLeft;return{top:i,left:s,x:s,y:i,right:s+n.clientWidth,bottom:i+n.clientHeight,width:n.clientWidth,height:n.clientHeight}}(t,r):Jn(function(n){var o;const a=Mt(n),i=ro(n),s=(o=n.ownerDocument)==null?void 0:o.body,c=dn(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),d=dn(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let u=-i.scrollLeft+ru(n);const f=-i.scrollTop;return cn(s||a).direction==="rtl"&&(u+=dn(a.clientWidth,s?s.clientWidth:0)-c),{width:c,height:d,x:u,y:f}}(Mt(e)))}function rE(e){const t=no(e),r=["absolute","fixed"].includes(cn(e).position)&<(e)?hi(e):e;return Nt(r)?t.filter(n=>Nt(n)&&function(o,a){const i=a.getRootNode==null?void 0:a.getRootNode();if(o.contains(a))return!0;if(i&&mi(i)){let s=a;do{if(s&&o===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(n,r)&&yt(n)!=="body"):[]}const nE={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?rE(t):[].concat(r),n],i=a[0],s=a.reduce((c,d)=>{const u=su(t,d,o);return c.top=dn(u.top,c.top),c.right=tu(u.right,c.right),c.bottom=tu(u.bottom,c.bottom),c.left=dn(u.left,c.left),c},su(t,i,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=lt(r),a=Mt(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((yt(r)!=="body"||eo(a))&&(i=ro(r)),lt(r))){const c=$t(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}},isElement:Nt,getDimensions:au,getOffsetParent:hi,getDocumentElement:Mt,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:tE(t,hi(r),n),floating:{...au(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>cn(e).direction==="rtl"};function bi(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:s=!1}=n,c=o&&!s,d=a&&!s,u=c||d?[...Nt(e)?no(e):[],...no(t)]:[];u.forEach(b=>{c&&b.addEventListener("scroll",r,{passive:!0}),d&&b.addEventListener("resize",r)});let f,p=null;if(i){let b=!0;p=new ResizeObserver(()=>{b||r(),b=!1}),Nt(e)&&!s&&p.observe(e),p.observe(t)}let m=s?$t(e):null;return s&&function b(){const g=$t(e);!m||g.x===m.x&&g.y===m.y&&g.width===m.width&&g.height===m.height||r(),m=g,f=requestAnimationFrame(b)}(),r(),()=>{var b;u.forEach(g=>{c&&g.removeEventListener("scroll",r),d&&g.removeEventListener("resize",r)}),(b=p)==null||b.disconnect(),p=null,s&&cancelAnimationFrame(f)}}const oE=(e,t,r)=>q_(e,t,{platform:nE,...r});var gi=typeof document<"u"?l.useLayoutEffect:l.useEffect;function vi(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(!vi(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)&&!vi(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function aE(e){const t=re.useRef(e);return gi(()=>{t.current=e}),t}function yi(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const a=re.useRef(null),i=re.useRef(null),s=aE(o),c=re.useRef(null),[d,u]=re.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[f,p]=re.useState(t);vi(f==null?void 0:f.map(w=>{let{options:y}=w;return y}),t==null?void 0:t.map(w=>{let{options:y}=w;return y}))||p(t);const m=re.useCallback(()=>{!a.current||!i.current||oE(a.current,i.current,{middleware:f,placement:r,strategy:n}).then(w=>{b.current&&kc.flushSync(()=>{u(w)})})},[f,r,n]);gi(()=>{b.current&&m()},[m]);const b=re.useRef(!1);gi(()=>(b.current=!0,()=>{b.current=!1}),[]);const g=re.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),a.current&&i.current)if(s.current){const w=s.current(a.current,i.current,m);c.current=w}else m()},[m,s]),v=re.useCallback(w=>{a.current=w,g()},[g]),$=re.useCallback(w=>{i.current=w,g()},[g]),x=re.useMemo(()=>({reference:a,floating:i}),[]);return re.useMemo(()=>({...d,update:m,refs:x,reference:v,floating:$}),[d,m,x,v,$])}const $i=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?Ud({element:t.current,padding:r}).fn(o):{}:t?Ud({element:t,padding:r}).fn(o):{}}}},iE=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(At.svg,A({},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 wr(e){const[t,r]=l.useState(void 0);return De(()=>{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 lu="Popper",[xi,cu]=Re(lu),[sE,du]=xi(lu),lE=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(sE,{scope:t,anchor:n,onAnchorChange:o},r)},cE="PopperAnchor",dE=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=du(cE,r),i=l.useRef(null),s=pe(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(At.div,A({},o,{ref:s}))}),oo="PopperContent",[uE,fE]=xi(oo),[pE,mE]=xi(oo,{hasParent:!1,positionUpdateFns:new Set}),hE=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,d;const{__scopePopper:u,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:y=!0,onPlaced:T,...N}=e,P=du(oo,u),[_,I]=l.useState(null),W=pe(t,_e=>I(_e)),[D,j]=l.useState(null),S=wr(D),O=(r=S==null?void 0:S.width)!==null&&r!==void 0?r:0,X=(n=S==null?void 0:S.height)!==null&&n!==void 0?n:0,se=f+(m!=="center"?"-"+m:""),G=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},ae=Array.isArray(v)?v:[v],te=ae.length>0,K={padding:G,boundary:ae.filter($E),altBoundary:te},{reference:M,floating:L,strategy:V,x:R,y:J,placement:k,middlewareData:B,update:z}=yi({strategy:"fixed",placement:se,whileElementsMounted:bi,middleware:[xE(),di({mainAxis:p+X,alignmentAxis:b}),y?ui({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?fi():void 0,...K}):void 0,D?$i({element:D,padding:g}):void 0,y?li({...K}):void 0,pi({...K,apply:({elements:_e,availableWidth:Se,availableHeight:le})=>{_e.floating.style.setProperty("--radix-popper-available-width",`${Se}px`),_e.floating.style.setProperty("--radix-popper-available-height",`${le}px`)}}),wE({arrowWidth:O,arrowHeight:X}),w?ci({strategy:"referenceHidden"}):void 0].filter(yE)});De(()=>{M(P.anchor)},[M,P.anchor]);const Q=R!==null&&J!==null,[q,ee]=uu(k),Y=Oe(T);De(()=>{Q&&(Y==null||Y())},[Q,Y]);const ue=(o=B.arrow)===null||o===void 0?void 0:o.x,be=(a=B.arrow)===null||a===void 0?void 0:a.y,ce=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ye,de]=l.useState();De(()=>{_&&de(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:$e,positionUpdateFns:xe}=mE(oo,u),he=!$e;l.useLayoutEffect(()=>{if(!he)return xe.add(z),()=>{xe.delete(z)}},[he,xe,z]),De(()=>{he&&Q&&Array.from(xe).reverse().forEach(_e=>requestAnimationFrame(_e))},[he,Q,xe]);const Be={"data-side":q,"data-align":ee,...N,ref:W,style:{...N.style,animation:Q?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:L,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:Q?`translate3d(${Math.round(R)}px, ${Math.round(J)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ye,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(d=B.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},l.createElement(uE,{scope:u,placedSide:q,onArrowChange:j,arrowX:ue,arrowY:be,shouldHideArrow:ce},he?l.createElement(pE,{scope:u,hasParent:!0,positionUpdateFns:xe},l.createElement(At.div,Be)):l.createElement(At.div,Be)))}),bE="PopperArrow",gE={top:"bottom",right:"left",bottom:"top",left:"right"},vE=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=fE(bE,n),i=gE[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(iE,A({},o,{ref:r,style:{...o.style,display:"block"}})))});function yE(e){return e!==void 0}function $E(e){return e!==null}const xE=()=>({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`),{}}}),wE=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,f=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=uu(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)+p/2,x=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",y="";return b==="bottom"?(w=f?v:`${$}px`,y=`${-m}px`):b==="top"?(w=f?v:`${$}px`,y=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,y=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,y=f?v:`${x}px`),{data:{x:w,y}}}});function uu(e){const[t,r="center"]=e.split("-");return[t,r]}const _E=lE,EE=dE,PE=hE,SE=vE,kE=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?Ve.createPortal(l.createElement(At.div,A({},o,{ref:t})),n):null}),fu="Popover",[pu,B2]=Re(fu,[cu]),ao=cu(),[TE,Qt]=pu(fu),mu=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=ao(t),c=l.useRef(null),[d,u]=l.useState(!1),[f=!1,p]=rt({prop:n,defaultProp:o,onChange:a});return l.createElement(_E,s,l.createElement(TE,{scope:t,contentId:it(),triggerRef:c,open:f,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:d,onCustomAnchorAdd:l.useCallback(()=>u(!0),[]),onCustomAnchorRemove:l.useCallback(()=>u(!1),[]),modal:i},r))},DE="PopoverTrigger",hu=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Qt(DE,r),a=ao(r),i=pe(t,o.triggerRef),s=l.createElement(At.button,A({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":yu(o.open)},n,{ref:i,onClick:oe(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(EE,A({asChild:!0},a),s)}),bu="PopoverPortal",[CE,OE]=pu(bu,{forceMount:void 0}),IE=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=Qt(bu,t);return l.createElement(CE,{scope:t,forceMount:r},l.createElement(Xe,{present:r||a.open},l.createElement(kE,{asChild:!0,container:o},n)))},un="PopoverContent",gu=l.forwardRef((e,t)=>{const r=OE(un,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=Qt(un,e.__scopePopover);return l.createElement(Xe,{present:n||a.open},a.modal?l.createElement(AE,A({},o,{ref:t})):l.createElement(NE,A({},o,{ref:t})))}),AE=l.forwardRef((e,t)=>{const r=Qt(un,e.__scopePopover),n=l.useRef(null),o=pe(t,n),a=l.useRef(!1);return l.useEffect(()=>{const i=n.current;if(i)return La(i)},[]),l.createElement(za,{as:Ke,allowPinchZoom:!0},l.createElement(vu,A({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:oe(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:oe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),NE=l.forwardRef((e,t)=>{const r=Qt(un,e.__scopePopover),n=l.useRef(!1);return l.createElement(vu,A({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),vu=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:u,...f}=e,p=Qt(un,r),m=ao(r);return Ia(),l.createElement(Ca,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(H_,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>p.onOpenChange(!1)},l.createElement(PE,A({"data-state":yu(p.open),role:"dialog",id:p.contentId},m,f,{ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),ME="PopoverClose",zE=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Qt(ME,r);return l.createElement(At.button,A({type:"button"},n,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))}),FE=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ao(r);return l.createElement(SE,A({},o,n,{ref:t}))});function yu(e){return e?"open":"closed"}const LE=mu,KE=hu,jE=IE,VE=gu,$u=zE,BE=FE;function er(e,t,r){let[n,o]=l.useState(e||t),a=l.useRef(e!==void 0),i=a.current,s=e!==void 0,c=l.useRef(n);i!==s&&console.warn(`WARN: A component changed from ${i?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s;let d=l.useCallback((u,...f)=>{let p=(m,...b)=>{r&&(Object.is(c.current,m)||r(m,...b)),s||(c.current=m)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((b,...g)=>{let v=u(s?c.current:b,...g);return p(v,...f),s?b:v})):(s||o(u),p(u,...f))},[s,r]);return s?c.current=e:e=n,[e,d]}function RE(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function tr(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 wi={prefix:String(Math.round(Math.random()*1e10)),current:0},_i=l.createContext(wi);let WE=Boolean(typeof window<"u"&&window.document&&window.document.createElement),Ei=new WeakMap;function UE(e=!1){let t=l.useContext(_i),r=l.useRef(null);if(r.current===null&&!e){var n,o;let a=(n=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(o=n.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(a){let i=Ei.get(a);i==null?Ei.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ei.delete(a))}r.current=++t.current}return r.current}function HE(e){let t=l.useContext(_i);t===wi&&!WE&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=UE(!!e);return e||`react-aria${t.prefix}-${r}`}function xu(){let t=l.useContext(_i)!==wi,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function wu(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=wu(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function io(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=wu(e))&&(n&&(n+=" "),n+=t);return n}const Ne=typeof window<"u"?l.useLayoutEffect:()=>{};function GE(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)},Ne(()=>{o.current&&a.current()});let i=l.useCallback(s=>{o.current=s(n.current),a.current()},[o,a]);return[t,i]}let so=new Map;function Ze(e){let[t,r]=l.useState(e),n=l.useRef(null),o=HE(t),a=l.useCallback(i=>{n.current=i},[]);return so.set(o,a),Ne(()=>{let i=o;return()=>{so.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function YE(e,t){if(e===t)return e;let r=so.get(e);if(r)return r(t),t;let n=so.get(t);return n?(n(e),e):t}function lo(e=[]){let t=Ze(),[r,n]=GE(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Ne(o,[t,o,...e]),r}function rr(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function ve(...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]=rr(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=io(a,i):o==="id"&&a&&i?t.id=YE(a,i):t[o]=i!==void 0?i:a}}return t}const qE=new Set(["id"]),ZE=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),XE=/^(data-.*)$/;function xt(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(qE.has(a)||r&&ZE.has(a)||n!=null&&n.has(a)||XE.test(a))&&(o[a]=e[a]);return o}function zt(e){if(JE())e.focus({preventScroll:!0});else{let t=QE(e);e.focus(),e5(t)}}let co=null;function JE(){if(co==null){co=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return co=!0,!0}})}catch{}}return co}function QE(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 e5(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let _r=new Map,Pi=new Set;function _u(){if(typeof window>"u")return;let e=r=>{let n=_r.get(r.target);n||(n=new Set,_r.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=_r.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),_r.delete(r.target)),_r.size===0)){for(let o of Pi)o();Pi.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?_u():document.addEventListener("DOMContentLoaded",_u));function Eu(e){requestAnimationFrame(()=>{_r.size===0?e():Pi.add(e)})}function Si(){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 ki(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=Ze(r),o&&n?o=[...new Set([...o.trim().split(/\s+/),r])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function ct(e){const t=l.useRef();return Ne(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function t5(){return typeof window.ResizeObserver<"u"}function r5(e){const{ref:t,onResize:r}=e;l.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(t5()){const o=new window.ResizeObserver(a=>{a.length&&r()});return o.observe(n),()=>{n&&o.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function Pu(e,t){Ne(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function fn(e){for(Su(e)&&(e=e.parentElement);e&&!Su(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Su(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}let n5=0;const Ti=new Map;function Di(e){let[t,r]=l.useState(void 0);return Ne(()=>{if(!e)return;let n=Ti.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${n5++}`;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},Ti.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),Ti.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Ci(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 Oi(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 nr(){return Oi(/^Mac/i)}function ku(){return Oi(/^iPhone/i)}function Tu(){return Oi(/^iPad/i)||nr()&&navigator.maxTouchPoints>1}function Er(){return ku()||Tu()}function o5(){return nr()||Er()}function a5(){return Ci(/AppleWebKit/i)&&!i5()}function i5(){return Ci(/Chrome/i)}function Du(){return Ci(/Android/i)}function uo(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 Ii(e,t){let r=Cu(e,t,"left"),n=Cu(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,{borderTopWidth:c,borderLeftWidth:d}=getComputedStyle(e),u=e.scrollLeft+parseInt(d,10),f=e.scrollTop+parseInt(c,10),p=u+e.clientWidth,m=f+e.clientHeight;r<=i?i=r-parseInt(d,10):r+o>p&&(i+=r+o-p),n<=f?s=n-parseInt(c,10):n+a>m&&(s+=n+a-m),e.scrollLeft=i,e.scrollTop=s}function Cu(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function Ou(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let c=fn(e);for(;e&&c&&e!==i&&c!==i;)Ii(c,e),e=c,c=fn(e)}else{var r;let{left:c,top:d}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:u,top:f}=e.getBoundingClientRect();if(Math.abs(c-u)>1||Math.abs(d-f)>1){var n,o,a;t==null||(n=t.containingElement)===null||n===void 0||(o=n.scrollIntoView)===null||o===void 0||o.call(n,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function Ai(e){return e.mozInputSource===0&&e.isTrusted?!0:Du()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function s5(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Sr="default",Ni="",fo=new WeakMap;function Iu(e){Er()?(Sr==="default"&&(Ni=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),Sr="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(fo.set(e,e.style.userSelect),e.style.userSelect="none")}function po(e){if(Er()){if(Sr!=="disabled")return;Sr="restoring",setTimeout(()=>{Eu(()=>{Sr==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=Ni||""),Ni="",Sr="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&fo.has(e)){let t=fo.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),fo.delete(e)}}const Au=l.createContext(null);Au.displayName="PressResponderContext";function l5(e){let t=l.useContext(Au);if(t){let{register:r,...n}=t;e=ve(n,e),r()}return Pu(t,e.ref),e}function kr(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:u,ref:f,...p}=l5(e),m=l.useRef(null);m.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,shouldCancelOnPointerExit:d};let[b,g]=l.useState(!1),v=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:x}=Si(),w=l.useMemo(()=>{let y=v.current,T=(D,j)=>{let{onPressStart:S,onPressChange:O,isDisabled:X}=m.current;X||y.didFirePressStart||(S&&S({type:"pressstart",pointerType:j,target:D.currentTarget,shiftKey:D.shiftKey,metaKey:D.metaKey,ctrlKey:D.ctrlKey,altKey:D.altKey}),O&&O(!0),y.didFirePressStart=!0,g(!0))},N=(D,j,S=!0)=>{let{onPressEnd:O,onPressChange:X,onPress:se,isDisabled:G}=m.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,O&&O({type:"pressend",pointerType:j,target:D.currentTarget,shiftKey:D.shiftKey,metaKey:D.metaKey,ctrlKey:D.ctrlKey,altKey:D.altKey}),X&&X(!1),g(!1),se&&S&&!G&&se({type:"press",pointerType:j,target:D.currentTarget,shiftKey:D.shiftKey,metaKey:D.metaKey,ctrlKey:D.ctrlKey,altKey:D.altKey}))},P=(D,j)=>{let{onPressUp:S,isDisabled:O}=m.current;O||S&&S({type:"pressup",pointerType:j,target:D.currentTarget,shiftKey:D.shiftKey,metaKey:D.metaKey,ctrlKey:D.ctrlKey,altKey:D.altKey})},_=D=>{y.isPressed&&(y.isOverTarget&&N(wt(y.target,D),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),u||po(y.target))},I={onKeyDown(D){zi(D.nativeEvent,D.currentTarget)&&D.currentTarget.contains(D.target)?(Mu(D.target,D.key)&&D.preventDefault(),D.stopPropagation(),!y.isPressed&&!D.repeat&&(y.target=D.currentTarget,y.isPressed=!0,T(D,"keyboard"),$(document,"keyup",W,!1))):D.key==="Enter"&&Mi(D.currentTarget)&&D.stopPropagation()},onKeyUp(D){zi(D.nativeEvent,D.currentTarget)&&!D.repeat&&D.currentTarget.contains(D.target)&&P(wt(y.target,D),"keyboard")},onClick(D){D&&!D.currentTarget.contains(D.target)||D&&D.button===0&&(D.stopPropagation(),i&&D.preventDefault(),!y.ignoreClickAfterPress&&!y.ignoreEmulatedMouseEvents&&(y.pointerType==="virtual"||Ai(D.nativeEvent))&&(!i&&!c&&zt(D.currentTarget),T(D,"virtual"),P(D,"virtual"),N(D,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},W=D=>{if(y.isPressed&&zi(D,y.target)){Mu(D.target,D.key)&&D.preventDefault(),D.stopPropagation(),y.isPressed=!1;let j=D.target;N(wt(y.target,D),"keyboard",y.target.contains(j)),x(),y.target instanceof HTMLElement&&y.target.contains(j)&&(Mi(y.target)||y.target.getAttribute("role")==="link")&&y.target.click()}};if(typeof PointerEvent<"u"){I.onPointerDown=O=>{if(!(O.button!==0||!O.currentTarget.contains(O.target))){if(s5(O.nativeEvent)){y.pointerType="virtual";return}Fi(O.currentTarget)&&O.preventDefault(),y.pointerType=O.pointerType,O.stopPropagation(),y.isPressed||(y.isPressed=!0,y.isOverTarget=!0,y.activePointerId=O.pointerId,y.target=O.currentTarget,!i&&!c&&zt(O.currentTarget),u||Iu(y.target),T(O,y.pointerType),$(document,"pointermove",D,!1),$(document,"pointerup",j,!1),$(document,"pointercancel",S,!1))}},I.onMouseDown=O=>{O.currentTarget.contains(O.target)&&O.button===0&&(Fi(O.currentTarget)&&O.preventDefault(),O.stopPropagation())},I.onPointerUp=O=>{!O.currentTarget.contains(O.target)||y.pointerType==="virtual"||O.button===0&&Tr(O,O.currentTarget)&&P(O,y.pointerType||O.pointerType)};let D=O=>{O.pointerId===y.activePointerId&&(Tr(O,y.target)?y.isOverTarget||(y.isOverTarget=!0,T(wt(y.target,O),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,N(wt(y.target,O),y.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(O)))},j=O=>{O.pointerId===y.activePointerId&&y.isPressed&&O.button===0&&(Tr(O,y.target)?N(wt(y.target,O),y.pointerType):y.isOverTarget&&N(wt(y.target,O),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),u||po(y.target))},S=O=>{_(O)};I.onDragStart=O=>{O.currentTarget.contains(O.target)&&_(O)}}else{I.onMouseDown=S=>{S.button!==0||!S.currentTarget.contains(S.target)||(Fi(S.currentTarget)&&S.preventDefault(),S.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=S.currentTarget,y.pointerType=Ai(S.nativeEvent)?"virtual":"mouse",!i&&!c&&zt(S.currentTarget),T(S,y.pointerType),$(document,"mouseup",D,!1)))},I.onMouseEnter=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!0,T(S,y.pointerType)))},I.onMouseLeave=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!1,N(S,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(S)))},I.onMouseUp=S=>{S.currentTarget.contains(S.target)&&!y.ignoreEmulatedMouseEvents&&S.button===0&&P(S,y.pointerType)};let D=S=>{if(S.button===0){if(y.isPressed=!1,x(),y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}Tr(S,y.target)?N(wt(y.target,S),y.pointerType):y.isOverTarget&&N(wt(y.target,S),y.pointerType,!1),y.isOverTarget=!1}};I.onTouchStart=S=>{if(!S.currentTarget.contains(S.target))return;S.stopPropagation();let O=c5(S.nativeEvent);O&&(y.activePointerId=O.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=S.currentTarget,y.pointerType="touch",!i&&!c&&zt(S.currentTarget),u||Iu(y.target),T(S,y.pointerType),$(window,"scroll",j,!0))},I.onTouchMove=S=>{if(!S.currentTarget.contains(S.target)||(S.stopPropagation(),!y.isPressed))return;let O=Nu(S.nativeEvent,y.activePointerId);O&&Tr(O,S.currentTarget)?y.isOverTarget||(y.isOverTarget=!0,T(S,y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,N(S,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(S))},I.onTouchEnd=S=>{if(!S.currentTarget.contains(S.target)||(S.stopPropagation(),!y.isPressed))return;let O=Nu(S.nativeEvent,y.activePointerId);O&&Tr(O,S.currentTarget)?(P(S,y.pointerType),N(S,y.pointerType)):y.isOverTarget&&N(S,y.pointerType,!1),y.isPressed=!1,y.activePointerId=null,y.isOverTarget=!1,y.ignoreEmulatedMouseEvents=!0,u||po(y.target),x()},I.onTouchCancel=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),y.isPressed&&_(S))};let j=S=>{y.isPressed&&S.target.contains(y.target)&&_({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};I.onDragStart=S=>{S.currentTarget.contains(S.target)&&_(S)}}return I},[$,i,c,x,u]);return l.useEffect(()=>()=>{u||po(v.current.target)},[u]),{isPressed:s||b,pressProps:ve(p,w)}}function Mi(e){return e.tagName==="A"&&e.hasAttribute("href")}function zi(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&&!zu(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!Mi(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function c5(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Nu(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 wt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function d5(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 u5(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Tr(e,t){let r=t.getBoundingClientRect(),n=d5(e);return u5(r,n)}function Fi(e){return!(e instanceof HTMLElement)||!e.draggable}function Mu(e,t){return e instanceof HTMLInputElement?!zu(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const f5=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function zu(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":f5.has(e.type)}class p5{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 Fu(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,Ne(()=>{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 p5("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 Li(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=Fu(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:void 0}}}let _t=null,pn=new Set,Lu=!1,or=!1,Ki=!1;const m5={Tab:!0,Escape:!0};function mo(e,t){for(let r of pn)r(e,t)}function h5(e){return!(e.metaKey||!nr()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ku(e){or=!0,h5(e)&&(_t="keyboard",mo("keyboard",e))}function Dr(e){_t="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(or=!0,mo("pointer",e))}function b5(e){Ai(e)&&(or=!0,_t="virtual")}function g5(e){e.target===window||e.target===document||(!or&&!Ki&&(_t="virtual",mo("virtual",e)),or=!1,Ki=!1)}function v5(){or=!1,Ki=!0}function ho(){if(typeof window>"u"||Lu)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){or=!0,e.apply(this,arguments)},document.addEventListener("keydown",Ku,!0),document.addEventListener("keyup",Ku,!0),document.addEventListener("click",b5,!0),window.addEventListener("focus",g5,!0),window.addEventListener("blur",v5,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Dr,!0),document.addEventListener("pointermove",Dr,!0),document.addEventListener("pointerup",Dr,!0)):(document.addEventListener("mousedown",Dr,!0),document.addEventListener("mousemove",Dr,!0),document.addEventListener("mouseup",Dr,!0)),Lu=!0}typeof document<"u"&&(document.readyState!=="loading"?ho():document.addEventListener("DOMContentLoaded",ho));function ji(){return _t!=="pointer"}function y5(){return _t}function ju(e){_t=e,mo(e,null)}function Vu(){ho();let[e,t]=l.useState(_t);return l.useEffect(()=>{let r=()=>{t(_t)};return pn.add(r),()=>{pn.delete(r)}},[]),e}function $5(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!m5[r.key])}function x5(e,t,r){ho(),l.useEffect(()=>{let n=(o,a)=>{$5(r==null?void 0:r.isTextInput,o,a)&&e(ji())};return pn.add(n),()=>{pn.delete(n)}},t)}function Cr(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=Fu(i),c=l.useCallback(d=>{a.current.isFocusWithin||(n&&n(d),o&&o(!0),a.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:i}}}let bo=!1,Vi=0;function Bi(){bo=!0,setTimeout(()=>{bo=!1},50)}function Bu(e){e.pointerType==="touch"&&Bi()}function w5(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Bu):document.addEventListener("touchend",Bi),Vi++,()=>{Vi--,!(Vi>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Bu):document.removeEventListener("touchend",Bi))}}function _5(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=l.useState(!1),s=l.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;l.useEffect(w5,[]);let{hoverProps:c,triggerHoverEnd:d}=l.useMemo(()=>{let u=(m,b)=>{if(s.pointerType=b,o||b==="touch"||s.isHovered||!m.currentTarget.contains(m.target))return;s.isHovered=!0;let g=m.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:b}),r&&r(!0),i(!0)},f=(m,b)=>{if(s.pointerType="",s.target=null,b==="touch"||!s.isHovered)return;s.isHovered=!1;let g=m.currentTarget;n&&n({type:"hoverend",target:g,pointerType:b}),r&&r(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{bo&&m.pointerType==="mouse"||u(m,m.pointerType)},p.onPointerLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!s.ignoreEmulatedMouseEvents&&!bo&&u(m,"mouse"),s.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,r,n,o,s]);return l.useEffect(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:c,isHovered:a}}function E5(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,i=l.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1,onInteractOutside:r,onInteractOutsideStart:o}).current;i.onInteractOutside=r,i.onInteractOutsideStart=o,l.useEffect(()=>{if(n)return;let s=c=>{go(c,t)&&i.onInteractOutside&&(i.onInteractOutsideStart&&i.onInteractOutsideStart(c),i.isPointerDown=!0)};if(typeof PointerEvent<"u"){let c=d=>{i.isPointerDown&&i.onInteractOutside&&go(d,t)&&i.onInteractOutside(d),i.isPointerDown=!1};return document.addEventListener("pointerdown",s,!0),document.addEventListener("pointerup",c,!0),()=>{document.removeEventListener("pointerdown",s,!0),document.removeEventListener("pointerup",c,!0)}}else{let c=u=>{i.ignoreEmulatedMouseEvents?i.ignoreEmulatedMouseEvents=!1:i.isPointerDown&&i.onInteractOutside&&go(u,t)&&i.onInteractOutside(u),i.isPointerDown=!1},d=u=>{i.ignoreEmulatedMouseEvents=!0,i.onInteractOutside&&i.isPointerDown&&go(u,t)&&i.onInteractOutside(u),i.isPointerDown=!1};return document.addEventListener("mousedown",s,!0),document.addEventListener("mouseup",c,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("touchend",d,!0),()=>{document.removeEventListener("mousedown",s,!0),document.removeEventListener("mouseup",c,!0),document.removeEventListener("touchstart",s,!0),document.removeEventListener("touchend",d,!0)}}},[t,i,n])}function go(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function Ru(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 P5(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Ru(e.onKeyDown),onKeyUp:Ru(e.onKeyUp)}}}function S5(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]);uo(t,"wheel",n?null:o)}const k5=500;function Wu(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=k5,accessibilityDescription:i}=e;const s=l.useRef(null);let{addGlobalListener:c,removeGlobalListener:d}=Si(),{pressProps:u}=kr({isDisabled:t,onPressStart(p){if((p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),s.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),s.current=null},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};c(p.target,"contextmenu",m,{once:!0}),c(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){s.current&&clearTimeout(s.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=Di(o&&!t?i:null);return{longPressProps:ve(u,f)}}function vo(e){if(y5()==="virtual"){let t=document.activeElement;Eu(()=>{document.activeElement===t&&document.contains(e)&&zt(e)})}else zt(e)}function T5(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;let{display:t,visibility:r}=e.style,n=t!=="none"&&r!=="hidden"&&r!=="collapse";if(n){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:a,visibility:i}=o(e);n=a!=="none"&&i!=="hidden"&&i!=="collapse"}return n}function D5(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Uu(e,t){return e.nodeName!=="#comment"&&T5(e)&&D5(e,t)&&(!e.parentElement||Uu(e.parentElement,e))}const Hu=l.createContext(null);let Ce=null;function C5(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=l.useRef(),i=l.useRef(),s=l.useRef([]),{parentNode:c}=l.useContext(Hu)||{},d=l.useMemo(()=>new Hi({scopeRef:s}),[s]);Ne(()=>{let p=c||Me.root;if(Me.getTreeNode(p.scopeRef)&&Ce&&!xo(Ce,p.scopeRef)){let m=Me.getTreeNode(Ce);m&&(p=m)}p.addChild(d),Me.addNode(d)},[d,c]),Ne(()=>{let p=Me.getTreeNode(s);p.contain=r},[r]),Ne(()=>{let p=a.current.nextSibling,m=[];for(;p&&p!==i.current;)m.push(p),p=p.nextSibling;s.current=m},[t]),F5(s,n,r),N5(s,r),K5(s,n,r),z5(s,o),l.useEffect(()=>{if(s){let p=document.activeElement,m=null;if(We(p,s.current)){for(let b of Me.traverse())We(p,b.scopeRef.current)&&(m=b);m===Me.getTreeNode(s)&&(Ce=m.scopeRef)}return()=>{let b=Me.getTreeNode(s).parent.scopeRef;(s===Ce||xo(s,Ce))&&(!b||Me.getTreeNode(b))&&(Ce=b),Me.removeTreeNode(s)}}},[s]);let u=l.useMemo(()=>O5(s),[]),f=l.useMemo(()=>({focusManager:u,parentNode:d}),[d,u]);return l.createElement(Hu.Provider,{value:f},l.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,l.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function O5(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[0].previousElementSibling,d=Ye(ar(r),{tabbable:o,accept:i},r);d.currentNode=We(s,r)?s:c;let u=d.nextNode();return!u&&a&&(d.currentNode=c,u=d.nextNode()),u&&Ge(u,!0),u},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[r.length-1].nextElementSibling,d=Ye(ar(r),{tabbable:o,accept:i},r);d.currentNode=We(s,r)?s:c;let u=d.previousNode();return!u&&a&&(d.currentNode=c,u=d.previousNode()),u&&Ge(u,!0),u},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Ye(ar(r),{tabbable:n,accept:o},r);a.currentNode=r[0].previousElementSibling;let i=a.nextNode();return i&&Ge(i,!0),i},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Ye(ar(r),{tabbable:n,accept:o},r);a.currentNode=r[r.length-1].nextElementSibling;let i=a.previousNode();return i&&Ge(i,!0),i}}}const Ri=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],I5=Ri.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ri.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const A5=Ri.join(':not([hidden]):not([tabindex="-1"]),');function ar(e){return e[0].parentElement}function yo(e){let t=Me.getTreeNode(Ce);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function N5(e,t){let r=l.useRef(),n=l.useRef(null);Ne(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=null);return}let a=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!yo(e))return;let d=document.activeElement,u=e.current;if(!We(d,u))return;let f=Ye(ar(u),{tabbable:!0},u);f.currentNode=d;let p=c.shiftKey?f.previousNode():f.nextNode();p||(f.currentNode=c.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,p=c.shiftKey?f.previousNode():f.nextNode()),c.preventDefault(),p&&Ge(p,!0)},i=c=>{(!Ce||xo(Ce,e))&&We(c.target,e.current)?(Ce=e,r.current=c.target):yo(e)&&!$o(c.target,e)?r.current?r.current.focus():Ce&&wo(Ce.current):yo(e)&&(r.current=c.target)},s=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{yo(e)&&!$o(document.activeElement,e)&&(Ce=e,document.body.contains(c.target)?(r.current=c.target,r.current.focus()):Ce&&wo(Ce.current))})};return document.addEventListener("keydown",a,!1),document.addEventListener("focusin",i,!1),o.forEach(c=>c.addEventListener("focusin",i,!1)),o.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{document.removeEventListener("keydown",a,!1),document.removeEventListener("focusin",i,!1),o.forEach(c=>c.removeEventListener("focusin",i,!1)),o.forEach(c=>c.removeEventListener("focusout",s,!1))}},[e,t]),l.useEffect(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Gu(e){return $o(e)}function We(e,t){return t.some(r=>r.contains(e))}function $o(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of Me.traverse(Me.getTreeNode(t)))if(We(e,r.current))return!0;return!1}function M5(e){return $o(e,Ce)}function xo(e,t){var r;let n=(r=Me.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Ge(e,t=!1){if(e!=null&&!t)try{vo(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function wo(e,t=!0){let r=e[0].previousElementSibling,n=Ye(ar(e),{tabbable:t},e);n.currentNode=r;let o=n.nextNode();t&&!o&&(n=Ye(ar(e),{tabbable:!1},e),n.currentNode=r,o=n.nextNode()),Ge(o)}function z5(e,t){const r=l.useRef(t);l.useEffect(()=>{r.current&&(Ce=e,We(document.activeElement,Ce.current)||wo(e.current)),r.current=!1},[e])}function F5(e,t,r){Ne(()=>{if(t||r)return;let n=e.current,o=a=>{let i=a.target;We(i,e.current)?Ce=e:Gu(i)||(Ce=null)};return document.addEventListener("focusin",o,!1),n.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{document.removeEventListener("focusin",o,!1),n.forEach(a=>a.removeEventListener("focusin",o,!1))}},[e,t,r])}function L5(e){let t=Me.getTreeNode(Ce);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function K5(e,t,r){const n=l.useRef(typeof document<"u"?document.activeElement:null);Ne(()=>{let o=e.current;if(!t||r)return;let a=()=>{(!Ce||xo(Ce,e))&&(Ce=e)};return document.addEventListener("focusin",a,!1),o.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{document.removeEventListener("focusin",a,!1),o.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,r]),Ne(()=>{if(!t)return;Me.getTreeNode(e).nodeToRestore=n.current;let o=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey)return;let i=document.activeElement;if(!We(i,e.current))return;let s=Me.getTreeNode(e).nodeToRestore,c=Ye(document.body,{tabbable:!0});c.currentNode=i;let d=a.shiftKey?c.previousNode():c.nextNode();if((!document.body.contains(s)||s===document.body)&&(s=null,Me.getTreeNode(e).nodeToRestore=null),(!d||!We(d,e.current))&&s){c.currentNode=s;do d=a.shiftKey?c.previousNode():c.nextNode();while(We(d,e.current));a.preventDefault(),a.stopPropagation(),d?Ge(d,!0):Gu(s)?Ge(s,!0):i.blur()}};return r||document.addEventListener("keydown",o,!0),()=>{r||document.removeEventListener("keydown",o,!0);let a=Me.getTreeNode(e).nodeToRestore;if(t&&a&&(We(document.activeElement,e.current)||document.activeElement===document.body&&L5(e))){let i=Me.clone();requestAnimationFrame(()=>{if(document.activeElement===document.body){let s=i.getTreeNode(e);for(;s;){if(s.nodeToRestore&&document.body.contains(s.nodeToRestore)){Ge(s.nodeToRestore);return}s=s.parent}for(s=i.getTreeNode(e);s;){if(s.scopeRef&&Me.getTreeNode(s.scopeRef)){wo(s.scopeRef.current,!0);return}s=s.parent}}})}}},[e,t,r])}function Ye(e,t,r){let n=t!=null&&t.tabbable?A5:I5,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&Uu(a)&&(!r||We(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}function Yu(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,d=Ye(n,{tabbable:a,accept:s});n.contains(c)&&(d.currentNode=c);let u=d.nextNode();return!u&&i&&(d.currentNode=n,u=d.nextNode()),u&&Ge(u,!0),u},focusPrevious(r=t){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,d=Ye(n,{tabbable:a,accept:s});if(n.contains(c))d.currentNode=c;else{let f=Wi(d);return f&&Ge(f,!0),f}let u=d.previousNode();return!u&&i&&(d.currentNode=n,u=Wi(d)),u&&Ge(u,!0),u},focusFirst(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,s=Ye(n,{tabbable:o,accept:a}).nextNode();return s&&Ge(s,!0),s},focusLast(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,i=Ye(n,{tabbable:o,accept:a}),s=Wi(i);return s&&Ge(s,!0),s}}}function Wi(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class Ui{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 Hi({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef.current&&We(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.size>0&&o.forEach(a=>n.addChild(a)),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new Ui;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){Pr(this,"fastMap",new Map),this.root=new Hi({scopeRef:null}),this.fastMap.set(null,this.root)}}class Hi{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){Pr(this,"children",new Set),Pr(this,"contain",!1),this.scopeRef=t.scopeRef}}let Me=new Ui;function Or(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||ji()}),[a,i]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),u=l.useCallback(m=>{o.current.isFocused=m,i(m),d()},[d]);x5(m=>{o.current.isFocusVisible=m,d()},[],{isTextInput:r});let{focusProps:f}=Li({isDisabled:n,onFocusChange:u}),{focusWithinProps:p}=Cr({isDisabled:!n,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?p:f}}function j5(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=Or(e),s=l.Children.only(t);return l.cloneElement(s,ve(s.props,{...i,className:io({[r||""]:o,[n||""]:a})}))}let V5=l.createContext(null);function B5(e){let t=l.useContext(V5)||{};Pu(t,e);let{ref:r,...n}=t;return n}function Gi(e,t){let{focusProps:r}=Li(e),{keyboardProps:n}=P5(e),o=ve(r,n),a=B5(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&vo(t.current),s.current=!1},[t]),{focusableProps:ve({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function R5(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...c}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:u}=Gi(e,t),{pressProps:f,isPressed:p}=kr({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),m=xt(c,{labelable:!0}),b=ve(u,f);return{isPressed:p,linkProps:ve(m,{...b,...d,"aria-disabled":s||void 0,onClick:g=>{f.onClick(g),i&&(i(g),console.warn("onClick is deprecated, please use onPress"))}})}}class Yi{getStringForLocale(t,r){let n=this.strings[r];n||(n=W5(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 W5(e,t,r="en-US"){if(t[e])return t[e];let n=U5(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function U5(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const qu=new Map,Zu=new Map;class H5{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=qu.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),qu.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Zu.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Zu.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}function G5(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _o(e,t,r){G5(e,t),t.set(e,r)}function qi(e,t){return e-t*Math.floor(e/t)}const Xu=1721426;function Eo(e,t,r,n){t=Zi(e,t);let o=t-1,a=-2;return r<=2?a=0:Po(t)&&(a=-1),Xu-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+a+n)}function Po(e){return e%4===0&&(e%100!==0||e%400===0)}function Zi(e,t){return e==="BC"?1-t:t}function Y5(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const q5={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Ft{fromJulianDay(t){let r=t,n=r-Xu,o=Math.floor(n/146097),a=qi(n,146097),i=Math.floor(a/36524),s=qi(a,36524),c=Math.floor(s/1461),d=qi(s,1461),u=Math.floor(d/365),f=o*400+i*100+c*4+u+(i!==4&&u!==4?1:0),[p,m]=Y5(f),b=r-Eo(p,m,1,1),g=2;r<Eo(p,m,3,1)?g=0:Po(m)&&(g=1);let v=Math.floor(((b+g)*12+373)/367),$=r-Eo(p,m,v,1)+1;return new Ar(p,m,v,$)}toJulianDay(t){return Eo(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return q5[Po(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Po(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){Pr(this,"identifier","gregory")}}function Ju(e){return Pt(Date.now(),e)}function Z5(e){return lf(Ju(e))}function Qu(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function ef(e,t){return tf(e)-tf(t)}function tf(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Xi=null;function Ji(){return Xi==null&&(Xi=new Intl.DateTimeFormat().resolvedOptions().timeZone),Xi}function X5(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function J5(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Ir(e){e=Ue(e,new Ft);let t=Zi(e.era,e.year);return rf(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function rf(e,t,r,n,o,a,i){let s=new Date;return s.setUTCHours(n,o,a,i),s.setUTCFullYear(e,t-1,r),s.getTime()}function Qi(e,t){if(t==="UTC")return 0;if(e>0&&t===Ji())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:a,minute:i,second:s}=of(e,t);return rf(r,n,o,a,i,s,0)-Math.floor(e/1e3)*1e3}const nf=new Map;function of(e,t){let r=nf.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),nf.set(t,r));let n=r.formatToParts(new Date(e)),o={};for(let a of n)a.type!=="literal"&&(o[a.type]=a.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const af=864e5;function Q5(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>eP(e,t,a))}function eP(e,t,r){let n=of(r,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function Et(e,t,r="compatible"){let n=Lt(e);if(t==="UTC")return Ir(n);if(t===Ji()&&r==="compatible"){n=Ue(n,new Ft);let c=new Date,d=Zi(n.era,n.year);return c.setFullYear(d,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let o=Ir(n),a=Qi(o-af,t),i=Qi(o+af,t),s=Q5(n,t,o-a,o-i);if(s.length===1)return s[0];if(s.length>1)switch(r){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(o-a,o-i);case"compatible":case"later":return Math.max(o-a,o-i);case"reject":throw new RangeError("No such absolute time found")}}function sf(e,t,r="compatible"){return new Date(Et(e,t,r))}function Pt(e,t){let r=Qi(e,t),n=new Date(e+r),o=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),s=n.getUTCHours(),c=n.getUTCMinutes(),d=n.getUTCSeconds(),u=n.getUTCMilliseconds();return new gn(o,a,i,t,r,s,c,d,u)}function lf(e){return new Ar(e.calendar,e.era,e.year,e.month,e.day)}function Lt(e,t){let r=0,n=0,o=0,a=0;if("timeZone"in e)({hour:r,minute:n,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:o,millisecond:a}=t),new To(e.calendar,e.era,e.year,e.month,e.day,r,n,o,a)}function tP(e){return new bn(e.hour,e.minute,e.second,e.millisecond)}function Ue(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,ir(n),n}function rP(e,t,r){if(e instanceof gn)return e.timeZone===t?e:oP(e,t);let n=Et(e,t,r);return Pt(n,t)}function nP(e){let t=Ir(e)-e.offset;return new Date(t)}function oP(e,t){let r=Ir(e)-e.offset;return Ue(Pt(r,t),e.calendar)}const mn=36e5;function So(e,t){let r=e.copy(),n="hour"in r?ff(r,t):0;es(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,ts(r),cf(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,aP(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let o=r.calendar.getYearsInEra(r);if(r.year>o){var a,i;let c=(i=(a=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(a,r);r.year=o,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function es(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function ts(e){for(;e.month<1;)es(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,es(e,1)}function aP(e){for(;e.day<1;)e.month--,ts(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ts(e)}function cf(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function ir(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),cf(e)}function rs(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function df(e,t){return So(e,rs(t))}function ns(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),ir(r),r}function hn(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),uf(r),r}function iP(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=ko(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=ko(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=ko(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=ko(e.hour,24),t}function uf(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function ko(e,t){let r=e%t;return r<0&&(r+=t),r}function ff(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,iP(e)}function pf(e,t){let r=e.copy();return ff(r,t),r}function sP(e,t){return pf(e,rs(t))}function os(e,t,r,n){let o=e.copy();switch(t){case"era":{let s=e.calendar.getEras(),c=s.indexOf(e.era);if(c<0)throw new Error("Invalid era: "+e.era);c=St(c,r,0,s.length-1,n==null?void 0:n.round),o.era=s[c],ir(o);break}case"year":var a,i;!((i=(a=o.calendar).isInverseEra)===null||i===void 0)&&i.call(a,o)&&(r=-r),o.year=St(e.year,r,-1/0,9999,n==null?void 0:n.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=St(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":o.day=St(e.day,r,1,e.calendar.getDaysInMonth(e),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(o),ir(o),o}function as(e,t,r,n){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,s=23;if((n==null?void 0:n.hourCycle)===12){let c=a>=12;i=c?12:0,s=c?23:11}o.hour=St(a,r,i,s,n==null?void 0:n.round);break}case"minute":o.minute=St(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":o.second=St(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":o.millisecond=St(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return o}function St(e,t,r,n,o=!1){if(o){e+=Math.sign(t),e<r&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function mf(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.days!=null&&t.days!==0){let o=So(Lt(e),{years:t.years,months:t.months,days:t.days});r=Et(o,e.timeZone)}else r=Ir(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=Pt(r,e.timeZone);return Ue(n,e.calendar)}function lP(e,t){return mf(e,rs(t))}function cP(e,t,r,n){switch(t){case"hour":{let o=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;o=b?12:0,a=b?23:11}let i=Lt(e),s=Ue(hn(i,{hour:o}),new Ft),c=[Et(s,e.timeZone,"earlier"),Et(s,e.timeZone,"later")].filter(b=>Pt(b,e.timeZone).day===s.day)[0],d=Ue(hn(i,{hour:a}),new Ft),u=[Et(d,e.timeZone,"earlier"),Et(d,e.timeZone,"later")].filter(b=>Pt(b,e.timeZone).day===d.day).pop(),f=Ir(e)-e.offset,p=Math.floor(f/mn),m=f%mn;return f=St(p,r,Math.floor(c/mn),Math.floor(u/mn),n==null?void 0:n.round)*mn+m,Ue(Pt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return as(e,t,r,n);case"era":case"year":case"month":case"day":{let o=os(Lt(e),t,r,n),a=Et(o,e.timeZone);return Ue(Pt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function dP(e,t,r){let n=Lt(e),o=hn(ns(n,t),t);if(o.compare(n)===0)return e;let a=Et(o,e.timeZone,r);return Ue(Pt(a,e.timeZone),e.calendar)}function hf(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function bf(e){let t=Ue(e,new Ft);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function gf(e){return`${bf(e)}T${hf(e)}`}function uP(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function fP(e){return`${gf(e)}${uP(e.offset)}[${e.timeZone}]`}function is(e){let t=typeof e[0]=="object"?e.shift():new Ft,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),o=e.shift(),a=e.shift();return[t,r,n,o,a]}var pP=new WeakMap;class Ar{copy(){return this.era?new Ar(this.calendar,this.era,this.year,this.month,this.day):new Ar(this.calendar,this.year,this.month,this.day)}add(t){return So(this,t)}subtract(t){return df(this,t)}set(t){return ns(this,t)}cycle(t,r,n){return os(this,t,r,n)}toDate(t){return sf(this,t)}toString(){return bf(this)}compare(t){return Qu(this,t)}constructor(...t){_o(this,pP,{writable:!0,value:void 0});let[r,n,o,a,i]=is(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,ir(this)}}var mP=new WeakMap;class bn{copy(){return new bn(this.hour,this.minute,this.second,this.millisecond)}add(t){return pf(this,t)}subtract(t){return sP(this,t)}set(t){return hn(this,t)}cycle(t,r,n){return as(this,t,r,n)}toString(){return hf(this)}compare(t){return ef(this,t)}constructor(t=0,r=0,n=0,o=0){_o(this,mP,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=o,uf(this)}}var hP=new WeakMap;class To{copy(){return this.era?new To(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new To(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return So(this,t)}subtract(t){return df(this,t)}set(t){return ns(hn(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return os(this,t,r,n);default:return as(this,t,r,n)}}toDate(t,r){return sf(this,t,r)}toString(){return gf(this)}compare(t){let r=Qu(this,t);return r===0?ef(this,Lt(t)):r}constructor(...t){_o(this,hP,{writable:!0,value:void 0});let[r,n,o,a,i]=is(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,ir(this)}}var bP=new WeakMap;class gn{copy(){return this.era?new gn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new gn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return mf(this,t)}subtract(t){return lP(this,t)}set(t,r){return dP(this,t,r)}cycle(t,r,n){return cP(this,t,r,n)}toDate(){return nP(this)}toString(){return fP(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-rP(t,this.timeZone).toDate().getTime()}constructor(...t){_o(this,bP,{writable:!0,value:void 0});let[r,n,o,a,i]=is(t),s=t.shift(),c=t.shift();this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.timeZone=s,this.offset=c,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,ir(this)}}let ss=new Map;class Do{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),o=this.formatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return yP()&&(this.resolvedHourCycle||(this.resolvedHourCycle=$P(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,r={}){this.formatter=vf(t,r),this.options=r}}const gP={true:{ja:"h11"},false:{}};function vf(e,t={}){if(typeof t.hour12=="boolean"&&vP()){t={...t};let o=gP[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=o??a,delete t.hour12}let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(ss.has(r))return ss.get(r);let n=new Intl.DateTimeFormat(e,t);return ss.set(r,n),n}let ls=null;function vP(){return ls==null&&(ls=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),ls}let cs=null;function yP(){return cs==null&&(cs=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),cs}function $P(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let r=vf(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),o=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&o===23)return"h23";if(n===24&&o===23)return"h24";if(n===0&&o===11)return"h11";if(n===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}let ds=new Map,us=!1;try{us=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Co=!1;try{Co=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const yf={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class fs{format(t){let r="";if(!us&&this.options.signDisplay!=null?r=wP(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Co){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=yf[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!us&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Co&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=xP(t,r),this.options=r}}function xP(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!Co){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=yf[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(ds.has(o))return ds.get(o);let a=new Intl.NumberFormat(e,t);return ds.set(o,a),a}function wP(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 _P=new RegExp("^.*\\(.*\\).*$"),EP=["latn","arab","hanidec"];class $f{parse(t){return ps(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return ps(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return ps(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const xf=new Map;function ps(e,t,r){let n=wf(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of EP)if(o!==n.options.numberingSystem){let a=wf(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function wf(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=xf.get(r);return n||(n=new PP(e,t),xf.set(r,n)),n}class PP{parse(t){let r=this.sanitize(t);r=Oo(r,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.currencySign==="accounting"&&_P.test(t)&&(n=-1*n),this.options.style==="percent"){n/=100;var o;n=+n.toFixed(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2)}return n}sanitize(t){return t=t.replace(this.symbols.literals,""),t=t.replace("-",this.symbols.minusSign),this.options.numberingSystem==="arab"&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal),t=Oo(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=Oo(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),t.startsWith(this.symbols.minusSign)&&r<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),t.startsWith(this.symbols.group)?!1:(t=Oo(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,""),t.length===0)}constructor(t,r={}){this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=SP(this.formatter,this.options,r)}}const _f=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function SP(e,t,r){var n,o,a,i;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),d=e.formatToParts(1);var u;let f=(u=(n=s.find(P=>P.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:"-",p=(o=c.find(P=>P.type==="plusSign"))===null||o===void 0?void 0:o.value;!p&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(p="+");let m=(a=s.find(P=>P.type==="decimal"))===null||a===void 0?void 0:a.value,b=(i=s.find(P=>P.type==="group"))===null||i===void 0?void 0:i.value,g=s.filter(P=>!_f.has(P.type)).map(P=>Ef(P.value)),v=d.filter(P=>!_f.has(P.type)).map(P=>Ef(P.value)),$=[...new Set([...v,...g])].sort((P,_)=>_.length-P.length),x=$.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((P,_)=>[P,_])),T=new RegExp(`[${w.join("")}]`,"g");return{minusSign:f,plusSign:p,decimal:m,group:b,literals:x,numeral:T,index:P=>String(y.get(P))}}function Oo(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Ef(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const kP=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),TP=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function DP(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return kP.has(r)}let t=e.split("-")[0];return TP.has(t)}function Pf(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:DP(e)?"rtl":"ltr"}}let ms=Pf(),vn=new Set;function Sf(){ms=Pf();for(let e of vn)e(ms)}function CP(){let e=xu(),[t,r]=l.useState(ms);return l.useEffect(()=>(vn.size===0&&window.addEventListener("languagechange",Sf),vn.add(r),()=>{vn.delete(r),vn.size===0&&window.removeEventListener("languagechange",Sf)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const OP=l.createContext(null);function dt(){let e=CP();return l.useContext(OP)||e}const kf=new WeakMap;function IP(e){let t=kf.get(e);return t||(t=new Yi(e),kf.set(e,t)),t}function Kt(e){let{locale:t}=dt(),r=l.useMemo(()=>IP(e),[e]);return l.useMemo(()=>new H5(t,r),[t,r])}function Io(e){let t=l.useRef(null);e&&t.current&&AP(e,t.current)&&(e=t.current),t.current=e;let{locale:r}=dt();return l.useMemo(()=>new Do(r,e),[r,e])}function AP(e,t){if(e===t)return!0;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o of r)if(t[o]!==e[o])return!1;return!0}function NP(e={}){let{locale:t}=dt();return l.useMemo(()=>new fs(t,e),[t,e])}let hs=new Map;function Ao(e){let{locale:t}=dt(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(hs.has(r))return hs.get(r);let n=new Intl.Collator(t,e);return hs.set(r,n),n}function MP(e){let t=Ao({usage:"search",...e}),r=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),o=l.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let s=0,c=i.length;for(;s+c<=a.length;s++){let d=a.slice(s,s+c);if(t.compare(i,d)===0)return!0}return!1},[t]);return l.useMemo(()=>({startsWith:r,endsWith:n,contains:o}),[r,n,o])}function zP(e){return e&&e.__esModule?e.default:e}function FP(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=R5({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 Tf={},Df={};Df={breadcrumbs:"عناصر الواجهة"};var Cf={};Cf={breadcrumbs:"Трохи хляб"};var Of={};Of={breadcrumbs:"Popis cesty"};var If={};If={breadcrumbs:"Brødkrummer"};var Af={};Af={breadcrumbs:"Breadcrumbs"};var Nf={};Nf={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Mf={};Mf={breadcrumbs:"Breadcrumbs"};var zf={};zf={breadcrumbs:"Migas de pan"};var Ff={};Ff={breadcrumbs:"Lingiread"};var Lf={};Lf={breadcrumbs:"Navigointilinkit"};var Kf={};Kf={breadcrumbs:"Chemin de navigation"};var jf={};jf={breadcrumbs:"שבילי ניווט"};var Vf={};Vf={breadcrumbs:"Navigacijski putovi"};var Bf={};Bf={breadcrumbs:"Morzsamenü"};var Rf={};Rf={breadcrumbs:"Breadcrumb"};var Wf={};Wf={breadcrumbs:"パンくずリスト"};var Uf={};Uf={breadcrumbs:"탐색 표시"};var Hf={};Hf={breadcrumbs:"Naršymo kelias"};var Gf={};Gf={breadcrumbs:"Atpakaļceļi"};var Yf={};Yf={breadcrumbs:"Navigasjonsstier"};var qf={};qf={breadcrumbs:"Broodkruimels"};var Zf={};Zf={breadcrumbs:"Struktura nawigacyjna"};var Xf={};Xf={breadcrumbs:"Caminho detalhado"};var Jf={};Jf={breadcrumbs:"Categorias"};var Qf={};Qf={breadcrumbs:"Miez de pâine"};var ep={};ep={breadcrumbs:"Навигация"};var tp={};tp={breadcrumbs:"Navigačné prvky Breadcrumbs"};var rp={};rp={breadcrumbs:"Drobtine"};var np={};np={breadcrumbs:"Putanje navigacije"};var op={};op={breadcrumbs:"Sökvägar"};var ap={};ap={breadcrumbs:"İçerik haritaları"};var ip={};ip={breadcrumbs:"Навігаційна стежка"};var sp={};sp={breadcrumbs:"导航栏"};var lp={};lp={breadcrumbs:"導覽列"},Tf={"ar-AE":Df,"bg-BG":Cf,"cs-CZ":Of,"da-DK":If,"de-DE":Af,"el-GR":Nf,"en-US":Mf,"es-ES":zf,"et-EE":Ff,"fi-FI":Lf,"fr-FR":Kf,"he-IL":jf,"hr-HR":Vf,"hu-HU":Bf,"it-IT":Rf,"ja-JP":Wf,"ko-KR":Uf,"lt-LT":Hf,"lv-LV":Gf,"nb-NO":Yf,"nl-NL":qf,"pl-PL":Zf,"pt-BR":Xf,"pt-PT":Jf,"ro-RO":Qf,"ru-RU":ep,"sk-SK":tp,"sl-SI":rp,"sr-SP":np,"sv-SE":op,"tr-TR":ap,"uk-UA":ip,"zh-CN":sp,"zh-TW":lp};function LP(e){let{"aria-label":t,...r}=e,n=Kt(zP(Tf));return{navProps:{...xt(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const KP=F(VE)`
|
|
281
281
|
border-radius: ${h.border_radius_400};
|
|
282
282
|
padding: ${h.sizing_200};
|
|
283
283
|
width: fit-content; /* Pass as prop? */
|
|
284
284
|
background-color: ${h.color_white};
|
|
285
285
|
box-shadow: ${h.elevation_interactive_medium};
|
|
286
286
|
z-index: 5; /* Same as dialogs */
|
|
287
|
-
`,
|
|
287
|
+
`,jP=F(BE)`
|
|
288
288
|
fill: ${h.color_white};
|
|
289
|
-
`;function cp({children:e,...
|
|
289
|
+
`;function cp({children:e,forceMount:t,...r}){return C(jE,{forceMount:t,children:ie(KP,{...r,forceMount:t,children:[e,C(jP,{})]})})}const bs=$u,VP=F($u)`
|
|
290
290
|
all: unset;
|
|
291
291
|
cursor: pointer;
|
|
292
292
|
font-family: inherit;
|
|
@@ -300,7 +300,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
300
300
|
position: absolute;
|
|
301
301
|
top: 5px;
|
|
302
302
|
right: 5px;
|
|
303
|
-
`,dp=
|
|
303
|
+
`,dp=LE,up=KE,BP="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",RP=F(gu)`
|
|
304
304
|
margin-top: 22px;
|
|
305
305
|
isolation: isolate;
|
|
306
306
|
min-width: 210px;
|
|
@@ -312,7 +312,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
312
312
|
&[data-state~='focused'] {
|
|
313
313
|
outline: 1px solid ${h.color_black};
|
|
314
314
|
}
|
|
315
|
-
`;function
|
|
315
|
+
`;function WP({children:e}){const{isFocusVisible:t,focusProps:r}=Or();return C(RP,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const gs=F.ol`
|
|
316
316
|
font-family: ${h.font_family_sans};
|
|
317
317
|
display: flex;
|
|
318
318
|
list-style: none;
|
|
@@ -342,7 +342,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
342
342
|
|
|
343
343
|
& > ol li:first-of-type::before {
|
|
344
344
|
content: '';
|
|
345
|
-
background-image: url(${
|
|
345
|
+
background-image: url(${BP});
|
|
346
346
|
display: block;
|
|
347
347
|
height: 1em;
|
|
348
348
|
width: 1em;
|
|
@@ -399,7 +399,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
399
399
|
color: ${h.color_text_strong};
|
|
400
400
|
font-weight: 400;
|
|
401
401
|
}
|
|
402
|
-
`,
|
|
402
|
+
`,UP=F.button`
|
|
403
403
|
appearance: none;
|
|
404
404
|
cursor: pointer;
|
|
405
405
|
touch-action: none;
|
|
@@ -426,7 +426,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
426
426
|
&[data-state~='open'] {
|
|
427
427
|
background-color: ${h.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
|
|
428
428
|
}
|
|
429
|
-
`;function mp({truncatedItems:e}){return e.length>1?ie(fp,{children:[e.slice(0,1),C(mp,{truncatedItems:e.slice(1)})]}):C(fp,{children:e})}function
|
|
429
|
+
`;function mp({truncatedItems:e}){return e.length>1?ie(fp,{children:[e.slice(0,1),C(mp,{truncatedItems:e.slice(1)})]}):C(fp,{children:e})}function HP({truncatedItems:e}){return C(vs,{children:ie(dp,{children:[C(up,{asChild:!0,children:C(UP,{type:"button",children:"..."})}),C(WP,{children:C(mp,{truncatedItems:e})})]})})}const hp=l.forwardRef(({children:e,...t},r)=>{const{navProps:n}=LP(t);mt.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 C("nav",{...n,children:ie(gs,{ref:r,children:[s,C(HP,{truncatedItems:d}),c]})})}return C("nav",{...n,children:C(gs,{ref:r,children:o})})});hp.displayName="Breadcrumbs";const bp=l.forwardRef((e,t)=>{const{LinkComponent:r="a",disabled:n,...o}=e,a=ct(t),i=typeof r=="string",{children:s,href:c,isCurrent:d}=e,{itemProps:u}=FP({isDisabled:n,isCurrent:d,elementType:i?r:"a",...o},a),{isPressed:f,pressProps:p}=kr({isDisabled:n??d,ref:a}),{isFocusVisible:m,focusProps:b}=Or(),g=[f&&"pressed",n&&"disabled",m&&"focused"].filter(Boolean).join(" "),$=d||n||!c?{}:{[i?"href":"to"]:c};return C(vs,{children:C(pp,{as:r,...u,ref:a,"data-state":g,...b,...p,...$,children:s})})});bp.displayName="BreadcrumbItem";function yn(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:u,href:f,target:p,rel:m,type:b="button"}=e,g;r==="button"?g={type:b,disabled:n}:g={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:f,target:r==="a"?p:void 0,type:r==="input"?b:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?m:void 0};let{pressProps:v,isPressed:$}=kr({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:o,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:x}=Gi(e,t);d&&(x.tabIndex=n?-1:x.tabIndex);let w=ve(x,v,xt(e,{labelable:!0}));return{isPressed:$,buttonProps:ve(g,w,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:y=>{u&&(u(y),console.warn("onClick is deprecated, please use onPress"))}})}}const ys={small:`${h.spacing_200} ${h.spacing_300}`,large:`${h.spacing_300} ${h.spacing_400}`},ot=F.button`
|
|
430
430
|
appearance: none;
|
|
431
431
|
border-radius: ${h.border_radius_400};
|
|
432
432
|
border: 1px solid transparent;
|
|
@@ -461,7 +461,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
461
461
|
& > svg {
|
|
462
462
|
height: 1em;
|
|
463
463
|
}
|
|
464
|
-
`,
|
|
464
|
+
`,GP=F(ot)`
|
|
465
465
|
background: ${h.color_white};
|
|
466
466
|
color: hsl(0deg 0% 7.84%); /* color missing in tokens */
|
|
467
467
|
border: 1px solid ${h.color_outline_secondary_enabled};
|
|
@@ -482,7 +482,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
482
482
|
color: ${h.color_fill_secondary_disabled};
|
|
483
483
|
border-color: ${h.color_outline_secondary_disabled};
|
|
484
484
|
}
|
|
485
|
-
`,
|
|
485
|
+
`,YP=F(ot)`
|
|
486
486
|
background: ${h.color_white};
|
|
487
487
|
color: ${h.color_fill_danger_enabled};
|
|
488
488
|
border: 1px solid ${h.color_outline_danger_enabled};
|
|
@@ -500,7 +500,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
500
500
|
&:disabled {
|
|
501
501
|
color: ${h.color_fill_danger_disabled};
|
|
502
502
|
}
|
|
503
|
-
`,
|
|
503
|
+
`,qP=F(ot)`
|
|
504
504
|
background: ${h.color_overlay_inverse_enabled};
|
|
505
505
|
border-color: ${h.color_outline_inverse_enabled};
|
|
506
506
|
color: ${h.color_fill_inverse_enabled};
|
|
@@ -529,7 +529,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
529
529
|
background-color: transparent;
|
|
530
530
|
color: ${h.color_outline_inverse_disabled};
|
|
531
531
|
}
|
|
532
|
-
`,$s={primary:
|
|
532
|
+
`,$s={primary:GP,danger:YP,inverse:qP},ZP=F(ot)`
|
|
533
533
|
background: hsl(
|
|
534
534
|
217.35deg 81.6% 51%
|
|
535
535
|
); /* Interactive / Overlay / Primary / Enabled */
|
|
@@ -549,7 +549,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
549
549
|
&:disabled {
|
|
550
550
|
color: ${h.color_fill_primary_disabled};
|
|
551
551
|
}
|
|
552
|
-
`,
|
|
552
|
+
`,XP=F(ot)`
|
|
553
553
|
color: ${h.color_fill_danger_enabled};
|
|
554
554
|
background-color: hsl(217.35deg 81.6% 50.98%);
|
|
555
555
|
|
|
@@ -571,7 +571,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
571
571
|
&:disabled {
|
|
572
572
|
color: ${h.color_fill_danger_disabled};
|
|
573
573
|
}
|
|
574
|
-
`,
|
|
574
|
+
`,JP=F(ot)`
|
|
575
575
|
background: ${h.color_overlay_inverse_enabled};
|
|
576
576
|
border-color: transparent;
|
|
577
577
|
color: ${h.color_fill_inverse_enabled};
|
|
@@ -596,7 +596,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
596
596
|
background-color: ${h.color_fill_inverse_disabled};
|
|
597
597
|
color: ${h.color_outline_inverse_disabled};
|
|
598
598
|
}
|
|
599
|
-
`,
|
|
599
|
+
`,QP={primary:ZP,danger:XP,inverse:JP},eS=F(ot)`
|
|
600
600
|
background: ${h.color_fill_primary_enabled};
|
|
601
601
|
color: ${h.color_white};
|
|
602
602
|
|
|
@@ -613,7 +613,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
613
613
|
background: ${h.color_fill_primary_disabled};
|
|
614
614
|
color: ${h.color_fill_inverse_pressed};
|
|
615
615
|
}
|
|
616
|
-
`,
|
|
616
|
+
`,tS=F(ot)`
|
|
617
617
|
background: ${h.color_fill_secondary_enabled};
|
|
618
618
|
color: ${h.color_fill_primary_enabled};
|
|
619
619
|
|
|
@@ -630,7 +630,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
630
630
|
&:disabled {
|
|
631
631
|
background: ${h.color_fill_secondary_disabled};
|
|
632
632
|
}
|
|
633
|
-
`,
|
|
633
|
+
`,rS=F(ot)`
|
|
634
634
|
background: ${h.color_fill_danger_enabled};
|
|
635
635
|
color: ${h.color_white};
|
|
636
636
|
|
|
@@ -647,7 +647,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
647
647
|
&:disabled {
|
|
648
648
|
background: ${h.color_fill_danger_disabled};
|
|
649
649
|
}
|
|
650
|
-
`,
|
|
650
|
+
`,nS=F(ot)`
|
|
651
651
|
background: ${h.color_white};
|
|
652
652
|
|
|
653
653
|
&:hover {
|
|
@@ -661,10 +661,10 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
661
661
|
&:disabled {
|
|
662
662
|
background: ${h.color_fill_inverse_disabled};
|
|
663
663
|
}
|
|
664
|
-
`,
|
|
664
|
+
`,oS={primary:eS,secondary:tS,danger:rS,inverse:nS},xs=l.createContext(!1);xs.displayName="FieldsetContext";const gp=F.fieldset`
|
|
665
665
|
padding: 0;
|
|
666
666
|
border: none;
|
|
667
|
-
`;function
|
|
667
|
+
`;function aS({children:e,disabled:t,...r}){const o=ut()||Boolean(t);return C(xs.Provider,{value:o,children:C(gp,{disabled:t,...r,children:e})})}function ut(){return l.useContext(xs)}function vp({isFocusVisible:e,isPressed:t}){return[e?"focused":void 0,t?"pressed":void 0].filter(Boolean).join(" ")}const iS={low:QP,medium:$s,high:oS},Nr=l.forwardRef((e,t)=>{const{size:r="small",variant:n="primary",emphasis:o="high",disabled:a,onClick:i,autoFocus:s,children:c,...d}=e,u=ct(t),f=ut(),p=a??f,{buttonProps:m,isPressed:b}=yn({onPress:i,isDisabled:p,autoFocus:s,...d},u),{isFocusVisible:g,focusProps:v}=Or({autoFocus:s}),$=vp({isFocusVisible:g,isPressed:b}),w=iS[o][n];return C(w,{ref:u,...ve(m,d,v,{"data-state":$}),"data-state":$,style:{"--button-padding":ys[r]},children:c})});Nr.displayName="Button";function No(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 yp=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),$p="Checkbox",[sS,W2]=Re($p),[lS,cS]=sS($p),dS=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:a,required:i,disabled:s,value:c="on",onCheckedChange:d,...u}=e,[f,p]=l.useState(null),m=pe(t,w=>p(w)),b=l.useRef(!1),g=f?Boolean(f.closest("form")):!0,[v=!1,$]=rt({prop:o,defaultProp:a,onChange:d}),x=l.useRef(v);return l.useEffect(()=>{const w=f==null?void 0:f.form;if(w){const y=()=>$(x.current);return w.addEventListener("reset",y),()=>w.removeEventListener("reset",y)}},[f,$]),l.createElement(lS,{scope:r,state:v,disabled:s},l.createElement(yp.button,A({type:"button",role:"checkbox","aria-checked":sr(v)?"mixed":v,"aria-required":i,"data-state":xp(v),"data-disabled":s?"":void 0,disabled:s,value:c},u,{ref:m,onKeyDown:oe(e.onKeyDown,w=>{w.key==="Enter"&&w.preventDefault()}),onClick:oe(e.onClick,w=>{$(y=>sr(y)?!0:!y),g&&(b.current=w.isPropagationStopped(),b.current||w.stopPropagation())})})),g&&l.createElement(pS,{control:f,bubbles:!b.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),uS="CheckboxIndicator",fS=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,a=cS(uS,r);return l.createElement(Xe,{present:n||sr(a.state)||a.state===!0},l.createElement(yp.span,A({"data-state":xp(a.state),"data-disabled":a.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),pS=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=No(r),s=wr(t);return l.useEffect(()=>{const c=a.current,d=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&f){const p=new Event("click",{bubbles:n});c.indeterminate=sr(r),f.call(c,sr(r)?!1:r),c.dispatchEvent(p)}},[i,r,n]),l.createElement("input",A({type:"checkbox","aria-hidden":!0,defaultChecked:sr(r)?!1:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function sr(e){return e==="indeterminate"}function xp(e){return sr(e)?"indeterminate":e?"checked":"unchecked"}const mS=dS,hS=fS;function wp(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=Ze(t);let i=Ze(),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=ki({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:c}}function $n(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:o,fieldProps:a}=wp(e),i=lo([Boolean(t),Boolean(r),n]),s=lo([Boolean(t),Boolean(r),n]);return a=ve(a,{"aria-describedby":[i,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:a,descriptionProps:{id:i},errorMessageProps:{id:s}}}function Mo(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}=Gi(e,t),{labelProps:u,fieldProps:f,descriptionProps:p,errorMessageProps:m}=$n(e),b=xt(e,{labelable:!0});const g={type:s,pattern:e.pattern};return{labelProps:u,inputProps:ve(b,r==="input"&&g,{disabled:n,readOnly:a,"aria-required":o||void 0,"aria-invalid":i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:e.value,defaultValue:e.value?void 0:e.defaultValue,onChange:v=>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,...f}),descriptionProps:p,errorMessageProps:m}}function _p(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function bS(e,t,r){let n=l.useRef(t);n.current=t,l.useEffect(()=>{if(!_p())return;let u=r.current,f=p=>{let m=n.current,b;switch(p.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":b=u.value.slice(0,u.selectionStart)+u.value.slice(u.selectionEnd);break;case"deleteContentForward":b=u.selectionEnd===u.selectionStart?u.value.slice(0,u.selectionStart)+u.value.slice(u.selectionEnd+1):u.value.slice(0,u.selectionStart)+u.value.slice(u.selectionEnd);break;case"deleteContentBackward":b=u.selectionEnd===u.selectionStart?u.value.slice(0,u.selectionStart-1)+u.value.slice(u.selectionStart):u.value.slice(0,u.selectionStart)+u.value.slice(u.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":b=u.value.slice(u.selectionStart);break;default:p.data!=null&&(b=u.value.slice(0,u.selectionStart)+p.data+u.value.slice(u.selectionEnd));break}(b==null||!m.validate(b))&&p.preventDefault()};return u.addEventListener("beforeinput",f,!1),()=>{u.removeEventListener("beforeinput",f,!1)}},[r,n]);let o=_p()?null:u=>{let f=u.target.value.slice(0,u.target.selectionStart)+u.data+u.target.value.slice(u.target.selectionEnd);t.validate(f)||u.preventDefault()},{labelProps:a,inputProps:i,descriptionProps:s,errorMessageProps:c}=Mo(e,r),d=l.useRef(null);return{inputProps:ve(i,{onBeforeInput:o,onCompositionStart(){let{value:u,selectionStart:f,selectionEnd:p}=r.current;d.current={value:u,selectionStart:f,selectionEnd:p}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:u,selectionStart:f,selectionEnd:p}=d.current;r.current.value=u,r.current.setSelectionRange(f,p),t.setInputValue(u)}}}),labelProps:a,descriptionProps:s,errorMessageProps:c}}const gS=qt`
|
|
668
668
|
position: absolute;
|
|
669
669
|
width: 1px;
|
|
670
670
|
height: 1px;
|
|
@@ -684,21 +684,21 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
684
684
|
font-weight: var(--label-font-weight, 400);
|
|
685
685
|
color: ${h.color_background_black_standard};
|
|
686
686
|
|
|
687
|
-
${e=>e.srOnly&&
|
|
688
|
-
`,
|
|
687
|
+
${e=>e.srOnly&&gS}
|
|
688
|
+
`,vS=F(ws)`
|
|
689
689
|
font-size: ${h.font_size_label_small};
|
|
690
690
|
letter-spacing: ${h.letter_spacing_label_small};
|
|
691
691
|
line-height: ${h.line_height_label_small};
|
|
692
|
-
`,
|
|
692
|
+
`,yS=F(ws)`
|
|
693
693
|
font-size: ${h.font_size_label_large};
|
|
694
694
|
letter-spacing: ${h.letter_spacing_label_large};
|
|
695
695
|
line-height: ${h.line_height_label_large};
|
|
696
|
-
|
|
696
|
+
`,$S=F(ws)`
|
|
697
697
|
font-size: ${h.font_size_label_medium};
|
|
698
698
|
letter-spacing: ${h.letter_spacing_label_medium};
|
|
699
699
|
line-height: ${h.line_height_label_medium};
|
|
700
|
-
|
|
701
|
-
padding: ${({paddingSize:e="small"})=>
|
|
700
|
+
`,xS={small:vS,medium:$S,large:yS};function Je({children:e,bold:t,size:r="small",display:n="inline-flex",srOnly:o,...a}){const i=xS[r];return C(i,{...a,srOnly:o,style:{"--label-font-weight":t?500:400,"--label-display":n},children:e})}const wS={small:"7px 8px",large:"11px 12px"},xn=F.input`
|
|
701
|
+
padding: ${({paddingSize:e="small"})=>wS[e]}; // add default?
|
|
702
702
|
appearance: none;
|
|
703
703
|
border: 1px solid
|
|
704
704
|
var(--input-border-color, ${h.color_outline_secondary_enabled});
|
|
@@ -778,7 +778,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
778
778
|
|
|
779
779
|
& > svg {
|
|
780
780
|
font-size: ${h.font_size_200};
|
|
781
|
-
line-height:
|
|
781
|
+
line-height: 1;
|
|
782
782
|
/* display: inline-flex;
|
|
783
783
|
align-self: center; */
|
|
784
784
|
}
|
|
@@ -796,7 +796,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
796
796
|
display: flex;
|
|
797
797
|
align-items: center;
|
|
798
798
|
pointer-events: none;
|
|
799
|
-
`;const _s=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="small",label:c,validationState:d,placeholder:u="Enter text...",...f}=e,p=ct(t),m=ut(),b=o??m,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:x}=Mo({...f,isDisabled:b,isReadOnly:a,isRequired:i,placeholder:u,label:c},p);let w=null;return typeof c=="string"?w=C(Je,{...g,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...g})),ie(lr,{children:[w,C(xn,{"data-state":d,paddingSize:s,ref:p,placeholder:"Enter...",type:"text",...$,required:i}),r?ie(zo,{...x,children:[C(Fe.Error,{}),r]}):null,n?C(Fo,{...v,children:n}):null]})});_s.displayName="TextInput";const jt=["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?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function wS(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const Es="dismissableLayer.update",_S="dismissableLayer.pointerDownOutside",ES="dismissableLayer.focusOutside";let _p;const PS=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),SS=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(PS),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,k=w>=x,N=kS(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!k||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=TS(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(_p=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Ep(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=_p)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Ep())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(Es,_),()=>document.removeEventListener(Es,_)},[]),l.createElement(jt.div,A({},d,{ref:g,style:{pointerEvents:y?k?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))});function kS(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Pp(_S,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 TS(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Pp(ES,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 Ep(){const e=new CustomEvent(Es);document.dispatchEvent(e)}function Pp(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?wS(o,a):o.dispatchEvent(a)}const DS=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(jt.svg,A({},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"}))}),Sp="Popper",[Ps,kp]=Re(Sp),[CS,Tp]=Ps(Sp),OS=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(CS,{scope:t,anchor:n,onAnchorChange:o},r)},IS="PopperAnchor",AS=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Tp(IS,r),i=l.useRef(null),s=pe(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(jt.div,A({},o,{ref:s}))}),Lo="PopperContent",[NS,MS]=Ps(Lo),[zS,FS]=Ps(Lo,{hasParent:!1,positionUpdateFns:new Set}),LS=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,d;const{__scopePopper:u,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:y=!0,onPlaced:k,...N}=e,P=Tp(Lo,u),[_,I]=l.useState(null),W=pe(t,_e=>I(_e)),[D,j]=l.useState(null),S=wr(D),O=(r=S==null?void 0:S.width)!==null&&r!==void 0?r:0,X=(n=S==null?void 0:S.height)!==null&&n!==void 0?n:0,se=f+(m!=="center"?"-"+m:""),G=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},ae=Array.isArray(v)?v:[v],te=ae.length>0,K={padding:G,boundary:ae.filter(RS),altBoundary:te},{reference:M,floating:L,strategy:V,x:R,y:J,placement:T,middlewareData:B,update:z}=yi({strategy:"fixed",placement:se,whileElementsMounted:bi,middleware:[WS(),di({mainAxis:p+X,alignmentAxis:b}),y?ui({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?fi():void 0,...K}):void 0,D?$i({element:D,padding:g}):void 0,y?li({...K}):void 0,pi({...K,apply:({elements:_e,availableWidth:Se,availableHeight:le})=>{_e.floating.style.setProperty("--radix-popper-available-width",`${Se}px`),_e.floating.style.setProperty("--radix-popper-available-height",`${le}px`)}}),US({arrowWidth:O,arrowHeight:X}),w?ci({strategy:"referenceHidden"}):void 0].filter(BS)});De(()=>{M(P.anchor)},[M,P.anchor]);const Q=R!==null&&J!==null,[q,ee]=Dp(T),Y=Oe(k);De(()=>{Q&&(Y==null||Y())},[Q,Y]);const ue=(o=B.arrow)===null||o===void 0?void 0:o.x,be=(a=B.arrow)===null||a===void 0?void 0:a.y,ce=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ye,de]=l.useState();De(()=>{_&&de(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:$e,positionUpdateFns:xe}=FS(Lo,u),he=!$e;l.useLayoutEffect(()=>{if(!he)return xe.add(z),()=>{xe.delete(z)}},[he,xe,z]),De(()=>{he&&Q&&Array.from(xe).reverse().forEach(_e=>requestAnimationFrame(_e))},[he,Q,xe]);const Be={"data-side":q,"data-align":ee,...N,ref:W,style:{...N.style,animation:Q?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:L,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:Q?`translate3d(${Math.round(R)}px, ${Math.round(J)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ye,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(d=B.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},l.createElement(NS,{scope:u,placedSide:q,onArrowChange:j,arrowX:ue,arrowY:be,shouldHideArrow:ce},he?l.createElement(zS,{scope:u,hasParent:!0,positionUpdateFns:xe},l.createElement(jt.div,Be)):l.createElement(jt.div,Be)))}),KS="PopperArrow",jS={top:"bottom",right:"left",bottom:"top",left:"right"},VS=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=MS(KS,n),i=jS[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(DS,A({},o,{ref:r,style:{...o.style,display:"block"}})))});function BS(e){return e!==void 0}function RS(e){return e!==null}const WS=()=>({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`),{}}}),US=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,f=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=Dp(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)+p/2,x=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",y="";return b==="bottom"?(w=f?v:`${$}px`,y=`${-m}px`):b==="top"?(w=f?v:`${$}px`,y=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,y=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,y=f?v:`${x}px`),{data:{x:w,y}}}});function Dp(e){const[t,r="center"]=e.split("-");return[t,r]}const HS=OS,GS=AS,YS=LS,qS=VS,ZS=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?Ve.createPortal(l.createElement(jt.div,A({},o,{ref:t})),n):null}),XS=l.forwardRef((e,t)=>l.createElement(jt.span,A({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[Ko,G2]=Re("Tooltip",[kp]),jo=kp(),JS="TooltipProvider",QS=700,Ss="tooltip.open",[e7,ks]=Ko(JS),t7=e=>{const{__scopeTooltip:t,delayDuration:r=QS,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 u=d.current;return()=>window.clearTimeout(u)},[]),l.createElement(e7,{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(u=>{c.current=u},[]),disableHoverableContent:o},a)},Ts="Tooltip",[r7,wn]=Ko(Ts),n7=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,c=ks(Ts,e.__scopeTooltip),d=jo(t),[u,f]=l.useState(null),p=it(),m=l.useRef(0),b=i??c.disableHoverableContent,g=s??c.delayDuration,v=l.useRef(!1),[$=!1,x]=rt({prop:n,defaultProp:o,onChange:P=>{P?(c.onOpen(),document.dispatchEvent(new CustomEvent(Ss))):c.onClose(),a==null||a(P)}}),w=l.useMemo(()=>$?v.current?"delayed-open":"instant-open":"closed",[$]),y=l.useCallback(()=>{window.clearTimeout(m.current),v.current=!1,x(!0)},[x]),k=l.useCallback(()=>{window.clearTimeout(m.current),x(!1)},[x]),N=l.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,x(!0)},g)},[g,x]);return l.useEffect(()=>()=>window.clearTimeout(m.current),[]),l.createElement(HS,d,l.createElement(r7,{scope:t,contentId:p,open:$,stateAttribute:w,trigger:u,onTriggerChange:f,onTriggerEnter:l.useCallback(()=>{c.isOpenDelayed?N():y()},[c.isOpenDelayed,N,y]),onTriggerLeave:l.useCallback(()=>{b?k():window.clearTimeout(m.current)},[k,b]),onOpen:y,onClose:k,disableHoverableContent:b},r))},Cp="TooltipTrigger",o7=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=wn(Cp,r),a=ks(Cp,r),i=jo(r),s=l.useRef(null),c=pe(t,s,o.onTriggerChange),d=l.useRef(!1),u=l.useRef(!1),f=l.useCallback(()=>d.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.createElement(GS,A({asChild:!0},i),l.createElement(jt.button,A({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:c,onPointerMove:oe(e.onPointerMove,p=>{p.pointerType!=="touch"&&!u.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:oe(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:oe(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:oe(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:oe(e.onBlur,o.onClose),onClick:oe(e.onClick,o.onClose)})))}),Op="TooltipPortal",[a7,i7]=Ko(Op,{forceMount:void 0}),s7=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=wn(Op,t);return l.createElement(a7,{scope:t,forceMount:r},l.createElement(Xe,{present:r||a.open},l.createElement(ZS,{asChild:!0,container:o},n)))},_n="TooltipContent",l7=l.forwardRef((e,t)=>{const r=i7(_n,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,i=wn(_n,e.__scopeTooltip);return l.createElement(Xe,{present:n||i.open},i.disableHoverableContent?l.createElement(Ip,A({side:o},a,{ref:t})):l.createElement(c7,A({side:o},a,{ref:t})))}),c7=l.forwardRef((e,t)=>{const r=wn(_n,e.__scopeTooltip),n=ks(_n,e.__scopeTooltip),o=l.useRef(null),a=pe(t,o),[i,s]=l.useState(null),{trigger:c,onClose:d}=r,u=o.current,{onPointerInTransitChange:f}=n,p=l.useCallback(()=>{s(null),f(!1)},[f]),m=l.useCallback((b,g)=>{const v=b.currentTarget,$={x:b.clientX,y:b.clientY},x=m7($,v.getBoundingClientRect()),w=x==="right"||x==="bottom"?-5:5,k=x==="right"||x==="left"?{x:b.clientX+w,y:b.clientY}:{x:b.clientX,y:b.clientY+w},N=h7(g.getBoundingClientRect()),P=g7([k,...N]);s(P),f(!0)},[f]);return l.useEffect(()=>()=>p(),[p]),l.useEffect(()=>{if(c&&u){const b=v=>m(v,u),g=v=>m(v,c);return c.addEventListener("pointerleave",b),u.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",b),u.removeEventListener("pointerleave",g)}}},[c,u,m,p]),l.useEffect(()=>{if(i){const b=g=>{const v=g.target,$={x:g.clientX,y:g.clientY},x=(c==null?void 0:c.contains(v))||(u==null?void 0:u.contains(v)),w=!b7($,i);x?p():w&&(p(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,u,i,d,p]),l.createElement(Ip,A({},e,{ref:a}))}),[d7,u7]=Ko(Ts,{isInside:!1}),Ip=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,c=wn(_n,r),d=jo(r),{onClose:u}=c;return l.useEffect(()=>(document.addEventListener(Ss,u),()=>document.removeEventListener(Ss,u)),[u]),l.useEffect(()=>{if(c.trigger){const f=p=>{const m=p.target;m!=null&&m.contains(c.trigger)&&u()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,u]),l.createElement(SS,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:u},l.createElement(YS,A({"data-state":c.stateAttribute},d,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),l.createElement(Sa,null,n),l.createElement(d7,{scope:r,isInside:!0},l.createElement(XS,{id:c.contentId,role:"tooltip"},o||n))))}),f7="TooltipArrow",p7=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=jo(r);return u7(f7,r).isInside?null:l.createElement(qS,A({},o,n,{ref:t}))});function m7(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 h7(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 b7(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,u=t[i].y;c>n!=u>n&&r<(d-s)*(n-c)/(u-c)+s&&(o=!o)}return o}function g7(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),v7(t)}function v7(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 y7=t7,$7=n7,x7=o7,w7=s7,_7=l7,E7=p7,P7=gt`
|
|
799
|
+
`;const _s=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="small",label:c,validationState:d,placeholder:u="Enter text...",...f}=e,p=ct(t),m=ut(),b=o??m,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:x}=Mo({...f,isDisabled:b,isReadOnly:a,isRequired:i,placeholder:u,label:c},p);let w=null;return typeof c=="string"?w=C(Je,{...g,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...g})),ie(lr,{children:[w,C(xn,{"data-state":d,paddingSize:s,ref:p,placeholder:"Enter...",type:"text",...$,required:i}),r?ie(zo,{...x,children:[C(Fe.Error,{}),r]}):null,n?C(Fo,{...v,children:n}):null]})});_s.displayName="TextInput";const jt=["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?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function _S(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const Es="dismissableLayer.update",ES="dismissableLayer.pointerDownOutside",PS="dismissableLayer.focusOutside";let Ep;const SS=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kS=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(SS),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,T=w>=x,N=TS(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!T||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=DS(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Ep=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Pp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Ep)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Pp())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(Es,_),()=>document.removeEventListener(Es,_)},[]),l.createElement(jt.div,A({},d,{ref:g,style:{pointerEvents:y?T?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))});function TS(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Sp(ES,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 DS(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Sp(PS,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 Pp(){const e=new CustomEvent(Es);document.dispatchEvent(e)}function Sp(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?_S(o,a):o.dispatchEvent(a)}const CS=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(jt.svg,A({},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"}))}),kp="Popper",[Ps,Tp]=Re(kp),[OS,Dp]=Ps(kp),IS=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(OS,{scope:t,anchor:n,onAnchorChange:o},r)},AS="PopperAnchor",NS=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Dp(AS,r),i=l.useRef(null),s=pe(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(jt.div,A({},o,{ref:s}))}),Lo="PopperContent",[MS,zS]=Ps(Lo),[FS,LS]=Ps(Lo,{hasParent:!1,positionUpdateFns:new Set}),KS=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,d;const{__scopePopper:u,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:y=!0,onPlaced:T,...N}=e,P=Dp(Lo,u),[_,I]=l.useState(null),W=pe(t,_e=>I(_e)),[D,j]=l.useState(null),S=wr(D),O=(r=S==null?void 0:S.width)!==null&&r!==void 0?r:0,X=(n=S==null?void 0:S.height)!==null&&n!==void 0?n:0,se=f+(m!=="center"?"-"+m:""),G=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},ae=Array.isArray(v)?v:[v],te=ae.length>0,K={padding:G,boundary:ae.filter(WS),altBoundary:te},{reference:M,floating:L,strategy:V,x:R,y:J,placement:k,middlewareData:B,update:z}=yi({strategy:"fixed",placement:se,whileElementsMounted:bi,middleware:[US(),di({mainAxis:p+X,alignmentAxis:b}),y?ui({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?fi():void 0,...K}):void 0,D?$i({element:D,padding:g}):void 0,y?li({...K}):void 0,pi({...K,apply:({elements:_e,availableWidth:Se,availableHeight:le})=>{_e.floating.style.setProperty("--radix-popper-available-width",`${Se}px`),_e.floating.style.setProperty("--radix-popper-available-height",`${le}px`)}}),HS({arrowWidth:O,arrowHeight:X}),w?ci({strategy:"referenceHidden"}):void 0].filter(RS)});De(()=>{M(P.anchor)},[M,P.anchor]);const Q=R!==null&&J!==null,[q,ee]=Cp(k),Y=Oe(T);De(()=>{Q&&(Y==null||Y())},[Q,Y]);const ue=(o=B.arrow)===null||o===void 0?void 0:o.x,be=(a=B.arrow)===null||a===void 0?void 0:a.y,ce=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ye,de]=l.useState();De(()=>{_&&de(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:$e,positionUpdateFns:xe}=LS(Lo,u),he=!$e;l.useLayoutEffect(()=>{if(!he)return xe.add(z),()=>{xe.delete(z)}},[he,xe,z]),De(()=>{he&&Q&&Array.from(xe).reverse().forEach(_e=>requestAnimationFrame(_e))},[he,Q,xe]);const Be={"data-side":q,"data-align":ee,...N,ref:W,style:{...N.style,animation:Q?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:L,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:Q?`translate3d(${Math.round(R)}px, ${Math.round(J)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ye,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(d=B.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},l.createElement(MS,{scope:u,placedSide:q,onArrowChange:j,arrowX:ue,arrowY:be,shouldHideArrow:ce},he?l.createElement(FS,{scope:u,hasParent:!0,positionUpdateFns:xe},l.createElement(jt.div,Be)):l.createElement(jt.div,Be)))}),jS="PopperArrow",VS={top:"bottom",right:"left",bottom:"top",left:"right"},BS=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=zS(jS,n),i=VS[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(CS,A({},o,{ref:r,style:{...o.style,display:"block"}})))});function RS(e){return e!==void 0}function WS(e){return e!==null}const US=()=>({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`),{}}}),HS=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,f=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=Cp(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)+p/2,x=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",y="";return b==="bottom"?(w=f?v:`${$}px`,y=`${-m}px`):b==="top"?(w=f?v:`${$}px`,y=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,y=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,y=f?v:`${x}px`),{data:{x:w,y}}}});function Cp(e){const[t,r="center"]=e.split("-");return[t,r]}const GS=IS,YS=NS,qS=KS,ZS=BS,XS=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?Ve.createPortal(l.createElement(jt.div,A({},o,{ref:t})),n):null}),JS=l.forwardRef((e,t)=>l.createElement(jt.span,A({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[Ko,Y2]=Re("Tooltip",[Tp]),jo=Tp(),QS="TooltipProvider",e7=700,Ss="tooltip.open",[t7,ks]=Ko(QS),r7=e=>{const{__scopeTooltip:t,delayDuration:r=e7,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 u=d.current;return()=>window.clearTimeout(u)},[]),l.createElement(t7,{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(u=>{c.current=u},[]),disableHoverableContent:o},a)},Ts="Tooltip",[n7,wn]=Ko(Ts),o7=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,c=ks(Ts,e.__scopeTooltip),d=jo(t),[u,f]=l.useState(null),p=it(),m=l.useRef(0),b=i??c.disableHoverableContent,g=s??c.delayDuration,v=l.useRef(!1),[$=!1,x]=rt({prop:n,defaultProp:o,onChange:P=>{P?(c.onOpen(),document.dispatchEvent(new CustomEvent(Ss))):c.onClose(),a==null||a(P)}}),w=l.useMemo(()=>$?v.current?"delayed-open":"instant-open":"closed",[$]),y=l.useCallback(()=>{window.clearTimeout(m.current),v.current=!1,x(!0)},[x]),T=l.useCallback(()=>{window.clearTimeout(m.current),x(!1)},[x]),N=l.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,x(!0)},g)},[g,x]);return l.useEffect(()=>()=>window.clearTimeout(m.current),[]),l.createElement(GS,d,l.createElement(n7,{scope:t,contentId:p,open:$,stateAttribute:w,trigger:u,onTriggerChange:f,onTriggerEnter:l.useCallback(()=>{c.isOpenDelayed?N():y()},[c.isOpenDelayed,N,y]),onTriggerLeave:l.useCallback(()=>{b?T():window.clearTimeout(m.current)},[T,b]),onOpen:y,onClose:T,disableHoverableContent:b},r))},Op="TooltipTrigger",a7=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=wn(Op,r),a=ks(Op,r),i=jo(r),s=l.useRef(null),c=pe(t,s,o.onTriggerChange),d=l.useRef(!1),u=l.useRef(!1),f=l.useCallback(()=>d.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.createElement(YS,A({asChild:!0},i),l.createElement(jt.button,A({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:c,onPointerMove:oe(e.onPointerMove,p=>{p.pointerType!=="touch"&&!u.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:oe(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:oe(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:oe(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:oe(e.onBlur,o.onClose),onClick:oe(e.onClick,o.onClose)})))}),Ip="TooltipPortal",[i7,s7]=Ko(Ip,{forceMount:void 0}),l7=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=wn(Ip,t);return l.createElement(i7,{scope:t,forceMount:r},l.createElement(Xe,{present:r||a.open},l.createElement(XS,{asChild:!0,container:o},n)))},_n="TooltipContent",c7=l.forwardRef((e,t)=>{const r=s7(_n,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,i=wn(_n,e.__scopeTooltip);return l.createElement(Xe,{present:n||i.open},i.disableHoverableContent?l.createElement(Ap,A({side:o},a,{ref:t})):l.createElement(d7,A({side:o},a,{ref:t})))}),d7=l.forwardRef((e,t)=>{const r=wn(_n,e.__scopeTooltip),n=ks(_n,e.__scopeTooltip),o=l.useRef(null),a=pe(t,o),[i,s]=l.useState(null),{trigger:c,onClose:d}=r,u=o.current,{onPointerInTransitChange:f}=n,p=l.useCallback(()=>{s(null),f(!1)},[f]),m=l.useCallback((b,g)=>{const v=b.currentTarget,$={x:b.clientX,y:b.clientY},x=h7($,v.getBoundingClientRect()),w=x==="right"||x==="bottom"?-5:5,T=x==="right"||x==="left"?{x:b.clientX+w,y:b.clientY}:{x:b.clientX,y:b.clientY+w},N=b7(g.getBoundingClientRect()),P=v7([T,...N]);s(P),f(!0)},[f]);return l.useEffect(()=>()=>p(),[p]),l.useEffect(()=>{if(c&&u){const b=v=>m(v,u),g=v=>m(v,c);return c.addEventListener("pointerleave",b),u.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",b),u.removeEventListener("pointerleave",g)}}},[c,u,m,p]),l.useEffect(()=>{if(i){const b=g=>{const v=g.target,$={x:g.clientX,y:g.clientY},x=(c==null?void 0:c.contains(v))||(u==null?void 0:u.contains(v)),w=!g7($,i);x?p():w&&(p(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,u,i,d,p]),l.createElement(Ap,A({},e,{ref:a}))}),[u7,f7]=Ko(Ts,{isInside:!1}),Ap=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,c=wn(_n,r),d=jo(r),{onClose:u}=c;return l.useEffect(()=>(document.addEventListener(Ss,u),()=>document.removeEventListener(Ss,u)),[u]),l.useEffect(()=>{if(c.trigger){const f=p=>{const m=p.target;m!=null&&m.contains(c.trigger)&&u()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,u]),l.createElement(kS,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:u},l.createElement(qS,A({"data-state":c.stateAttribute},d,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),l.createElement(Sa,null,n),l.createElement(u7,{scope:r,isInside:!0},l.createElement(JS,{id:c.contentId,role:"tooltip"},o||n))))}),p7="TooltipArrow",m7=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=jo(r);return f7(p7,r).isInside?null:l.createElement(ZS,A({},o,n,{ref:t}))});function h7(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 b7(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 g7(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,u=t[i].y;c>n!=u>n&&r<(d-s)*(n-c)/(u-c)+s&&(o=!o)}return o}function v7(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),y7(t)}function y7(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 $7=r7,x7=o7,w7=a7,_7=l7,E7=c7,P7=m7,S7=gt`
|
|
800
800
|
from {
|
|
801
801
|
opacity: 0;
|
|
802
802
|
transform: translateX(-10px);
|
|
@@ -805,7 +805,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
805
805
|
opacity: 1;
|
|
806
806
|
transform: translateY(0);
|
|
807
807
|
}
|
|
808
|
-
`,
|
|
808
|
+
`,k7=gt`
|
|
809
809
|
from {
|
|
810
810
|
opacity: 0;
|
|
811
811
|
transform: translateX(10px);
|
|
@@ -814,7 +814,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
814
814
|
opacity: 1;
|
|
815
815
|
transform: translateY(0);
|
|
816
816
|
}
|
|
817
|
-
`,
|
|
817
|
+
`,T7=gt`
|
|
818
818
|
from {
|
|
819
819
|
opacity: 0;
|
|
820
820
|
transform: translateY(-10px);
|
|
@@ -823,7 +823,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
823
823
|
opacity: 1;
|
|
824
824
|
transform: translateY(0);
|
|
825
825
|
}
|
|
826
|
-
`,
|
|
826
|
+
`,D7=gt`
|
|
827
827
|
from {
|
|
828
828
|
opacity: 0;
|
|
829
829
|
transform: translateY(10px);
|
|
@@ -832,7 +832,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
832
832
|
opacity: 1;
|
|
833
833
|
transform: translateY(0);
|
|
834
834
|
}
|
|
835
|
-
`,
|
|
835
|
+
`,C7=F(E7)`
|
|
836
836
|
padding: ${h.sizing_200} ${h.sizing_200};
|
|
837
837
|
background: ${h.color_background_black_standard};
|
|
838
838
|
color: ${h.color_text_white_standard};
|
|
@@ -846,31 +846,31 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
846
846
|
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); // move to tokens?
|
|
847
847
|
|
|
848
848
|
&[data-side='top'] {
|
|
849
|
-
animation-name: ${
|
|
849
|
+
animation-name: ${D7};
|
|
850
850
|
}
|
|
851
851
|
|
|
852
852
|
&[data-side='bottom'] {
|
|
853
|
-
animation-name: ${
|
|
853
|
+
animation-name: ${T7};
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
&[data-side='left'] {
|
|
857
|
-
animation-name: ${
|
|
857
|
+
animation-name: ${k7};
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
&[data-side='right'] {
|
|
861
|
-
animation-name: ${
|
|
861
|
+
animation-name: ${S7};
|
|
862
862
|
}
|
|
863
|
-
`,
|
|
863
|
+
`,O7=F(P7)`
|
|
864
864
|
fill: 'white';
|
|
865
|
-
`;function
|
|
865
|
+
`;function I7({children:e,...t}){return C(_7,{children:ie(C7,{...t,children:[e,C(O7,{})]})})}const A7=F(w7)`
|
|
866
866
|
appearance: none;
|
|
867
|
-
`,Ds=l.forwardRef((e,t)=>{const{children:r,asChild:n,...o}=e;return C(
|
|
867
|
+
`,Ds=l.forwardRef((e,t)=>{const{children:r,asChild:n,...o}=e;return C(A7,{ref:t,...o,type:"button",asChild:n,children:r})});Ds.displayName="TooltipTrigger";const Np=$7,Mp=x7,zp=I7,N7=F(Ds)`
|
|
868
868
|
color: ${h.color_text_white_weak};
|
|
869
869
|
margin-block: auto;
|
|
870
870
|
|
|
871
871
|
& > svg {
|
|
872
872
|
font-size: 0.9rem;
|
|
873
|
-
line-height:
|
|
873
|
+
line-height: 1;
|
|
874
874
|
color: ${h.color_text_white_weak};
|
|
875
875
|
transition-property: ${h.transition_property_color};
|
|
876
876
|
transition-duration: ${h.transition_duration_100};
|
|
@@ -884,7 +884,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
884
884
|
&:not([data-state~='closed']) > svg {
|
|
885
885
|
color: steelblue;
|
|
886
886
|
}
|
|
887
|
-
`;function cr({children:e,icon:t=C(Fe.Help,{}),label:r="More info"}){return C(Ap,{children:ie(Np,{children:[C(A7,{children:C(on,{label:r,children:t})}),C(Mp,{sideOffset:5,children:e})]})})}const zp=7e3;let Cs=null;function N7(e,t="assertive",r=zp){Cs||(Cs=new M7),Cs.announce(e,t,r)}class M7{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=zp){if(!this.node)return;let o=document.createElement("div");o.textContent=t,r==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}function z7(e){return e&&e.__esModule?e.default:e}var Fp={},Lp={};Lp={Empty:"فارغ"};var Kp={};Kp={Empty:"Изпразни"};var jp={};jp={Empty:"Prázdné"};var Vp={};Vp={Empty:"Tom"};var Bp={};Bp={Empty:"Leer"};var Rp={};Rp={Empty:"Άδειο"};var Wp={};Wp={Empty:"Empty"};var Up={};Up={Empty:"Vacío"};var Hp={};Hp={Empty:"Tühjenda"};var Gp={};Gp={Empty:"Tyhjä"};var Yp={};Yp={Empty:"Vide"};var qp={};qp={Empty:"ריק"};var Zp={};Zp={Empty:"Prazno"};var Xp={};Xp={Empty:"Üres"};var Jp={};Jp={Empty:"Vuoto"};var Qp={};Qp={Empty:"空"};var em={};em={Empty:"비어 있음"};var tm={};tm={Empty:"Tuščias"};var rm={};rm={Empty:"Tukšs"};var nm={};nm={Empty:"Tom"};var om={};om={Empty:"Leeg"};var am={};am={Empty:"Pusty"};var im={};im={Empty:"Vazio"};var sm={};sm={Empty:"Vazio"};var lm={};lm={Empty:"Gol"};var cm={};cm={Empty:"Не заполнено"};var dm={};dm={Empty:"Prázdne"};var um={};um={Empty:"Prazen"};var fm={};fm={Empty:"Prazno"};var pm={};pm={Empty:"Tomt"};var mm={};mm={Empty:"Boş"};var hm={};hm={Empty:"Пусто"};var bm={};bm={Empty:"空"};var gm={};gm={Empty:"空白"},Fp={"ar-AE":Lp,"bg-BG":Kp,"cs-CZ":jp,"da-DK":Vp,"de-DE":Bp,"el-GR":Rp,"en-US":Wp,"es-ES":Up,"et-EE":Hp,"fi-FI":Gp,"fr-FR":Yp,"he-IL":qp,"hr-HR":Zp,"hu-HU":Xp,"it-IT":Jp,"ja-JP":Qp,"ko-KR":em,"lt-LT":tm,"lv-LV":rm,"nb-NO":nm,"nl-NL":om,"pl-PL":am,"pt-BR":im,"pt-PT":sm,"ro-RO":lm,"ru-RU":cm,"sk-SK":dm,"sl-SI":um,"sr-SP":fm,"sv-SE":pm,"tr-TR":mm,"uk-UA":hm,"zh-CN":bm,"zh-TW":gm};function vm(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:c,onIncrement:d,onIncrementPage:u,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const g=Kt(z7(Fp)),v=l.useRef(e);v.current=e;const $=()=>clearTimeout(t.current);l.useEffect(()=>()=>$(),[]);let x=D=>{if(!(D.ctrlKey||D.metaKey||D.shiftKey||D.altKey||s))switch(D.key){case"PageUp":if(u){D.preventDefault(),u();break}case"ArrowUp":case"Up":d&&(D.preventDefault(),d());break;case"PageDown":if(p){D.preventDefault(),p();break}case"ArrowDown":case"Down":f&&(D.preventDefault(),f());break;case"Home":m&&(D.preventDefault(),m());break;case"End":b&&(D.preventDefault(),b());break}},w=l.useRef(!1),y=()=>{w.current=!0},k=()=>{w.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{w.current&&N7(n,"assertive")},[n]);const N=l.useCallback(D=>{$(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&N(60)},D)},[d,a,r]),P=l.useCallback(D=>{$(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&P(60)},D)},[f,o,r]);let _=D=>{D.preventDefault()},{addGlobalListener:I,removeAllGlobalListeners:W}=Si();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:x,onFocus:y,onBlur:k},incrementButtonProps:{onPressStart:()=>{N(400),I(window,"contextmenu",_)},onPressEnd:()=>{$(),W()},onFocus:y,onBlur:k},decrementButtonProps:{onPressStart:()=>{P(400),I(window,"contextmenu",_)},onPressEnd:()=>{$(),W()},onFocus:y,onBlur:k}}}function F7(e){return e&&e.__esModule?e.default:e}var ym={},$m={};$m={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var xm={};xm={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var wm={};wm={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var _m={};_m={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var Em={};Em={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var Pm={};Pm={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var Sm={};Sm={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var km={};km={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Tm={};Tm={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var Dm={};Dm={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var Cm={};Cm={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var Om={};Om={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Im={};Im={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Am={};Am={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Nm={};Nm={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Mm={};Mm={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var zm={};zm={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Fm={};Fm={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Lm={};Lm={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Km={};Km={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var jm={};jm={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Vm={};Vm={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Bm={};Bm={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Rm={};Rm={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Wm={};Wm={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Um={};Um={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Hm={};Hm={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Gm={};Gm={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Ym={};Ym={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var qm={};qm={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Zm={};Zm={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Xm={};Xm={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Jm={};Jm={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Qm={};Qm={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},ym={"ar-AE":$m,"bg-BG":xm,"cs-CZ":wm,"da-DK":_m,"de-DE":Em,"el-GR":Pm,"en-US":Sm,"es-ES":km,"et-EE":Tm,"fi-FI":Dm,"fr-FR":Cm,"he-IL":Om,"hr-HR":Im,"hu-HU":Am,"it-IT":Nm,"ja-JP":Mm,"ko-KR":zm,"lt-LT":Fm,"lv-LV":Lm,"nb-NO":Km,"nl-NL":jm,"pl-PL":Vm,"pt-BR":Bm,"pt-PT":Rm,"ro-RO":Wm,"ru-RU":Um,"sk-SK":Hm,"sl-SI":Gm,"sr-SP":Ym,"sv-SE":qm,"tr-TR":Zm,"uk-UA":Xm,"zh-CN":Jm,"zh-TW":Qm};function L7(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:c,minValue:d,maxValue:u,autoFocus:f,validationState:p,label:m,formatOptions:b,onBlur:g=()=>{},onFocus:v,onFocusChange:$,onKeyDown:x,onKeyUp:w,description:y,errorMessage:k,...N}=e,{increment:P,incrementToMax:_,decrement:I,decrementToMin:W,numberValue:D,commit:j}=t;const S=Kt(F7(ym));let O=Ze(n),{focusProps:X}=Li({onBlur:()=>{j()}}),{spinButtonProps:se,incrementButtonProps:G,decrementButtonProps:ae}=vm({isDisabled:i,isReadOnly:s,isRequired:c,maxValue:u,minValue:d,onIncrement:P,onIncrementToMax:_,onDecrement:I,onDecrementToMin:W,value:D,textValue:t.inputValue}),[te,K]=l.useState(!1),{focusWithinProps:M}=Cr({isDisabled:i,onFocusWithinChange:K}),L=l.useCallback(Se=>{Math.abs(Se.deltaY)<=Math.abs(Se.deltaX)||(Se.deltaY>0?P():Se.deltaY<0&&I())},[I,P]);P5({onScroll:L,isDisabled:i||s||!te},r);let R=AP(b),T=l.useMemo(()=>R.resolvedOptions(),[R]).maximumFractionDigits>0,B=isNaN(t.minValue)||t.minValue<0,z="numeric";ku()?B?z="text":T&&(z="decimal"):Du()&&(B?z="numeric":T&&(z="decimal"));let Q=Se=>{t.setInputValue(Se)},q=xt(e),{labelProps:ee,inputProps:Y,descriptionProps:ue,errorMessageProps:be}=hS({...N,...q,label:m,autoFocus:f,isDisabled:i,isReadOnly:s,isRequired:c,validationState:p,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:O,type:"text",inputMode:z,onChange:Q,onBlur:g,onFocus:v,onFocusChange:$,onKeyDown:x,onKeyUp:w,description:y,errorMessage:k},t,r),ce=ve(se,X,Y,{role:null,"aria-roledescription":Er()?null:S.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),ye=Se=>{document.activeElement!==r.current&&(Se.pointerType==="mouse"?r.current.focus():Se.target.focus())},de=e["aria-label"]||(typeof e.label=="string"?e.label:""),$e;de||($e=e.label!=null?ee.id:e["aria-labelledby"]);let xe=Ze(),he=Ze(),Be=ve(G,{"aria-label":a||S.format("increase",{fieldLabel:de}).trim(),id:$e&&!a?xe:null,"aria-labelledby":$e&&!a?`${xe} ${$e}`:null,"aria-controls":O,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:ye}),_e=ve(ae,{"aria-label":o||S.format("decrease",{fieldLabel:de}).trim(),id:$e&&!o?he:null,"aria-labelledby":$e&&!o?`${he} ${$e}`:null,"aria-controls":O,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:ye});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":p==="invalid"?"true":void 0,...M},labelProps:ee,inputProps:ce,incrementButtonProps:Be,decrementButtonProps:_e,errorMessageProps:be,descriptionProps:ue}}function K7(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:c,isDisabled:d,isReadOnly:u}=e,[f,p]=er(a,isNaN(i)?NaN:i,s),[m,b]=l.useState(()=>isNaN(f)?"":new fs(c,o).format(f)),g=l.useMemo(()=>new $f(c,o),[c,o]),v=l.useMemo(()=>g.getNumberingSystem(m),[g,m]),$=l.useMemo(()=>new fs(c,{...o,numberingSystem:v}),[c,o,v]),x=l.useMemo(()=>$.resolvedOptions(),[$]),w=l.useCallback(te=>isNaN(te)||te===null?"":$.format(te),[$]),y=isNaN(n)?1:n;x.style==="percent"&&isNaN(n)&&(y=.01);let k=l.useRef(f),N=l.useRef(c),P=l.useRef(o);(!Object.is(f,k.current)||c!==N.current||o!==P.current)&&(b(w(f)),k.current=f,N.current=c,P.current=o);let _=l.useMemo(()=>g.parse(m),[g,m]),I=l.useRef(0);I.current=_;let W=()=>{if(!m.length){p(NaN),b(a===void 0?"":w(f));return}if(isNaN(I.current)){b(w(f));return}let te;isNaN(n)?te=BE(I.current,t,r):te=tr(I.current,t,r,n),te=g.parse(w(te)),p(te),b(w(a===void 0?te:f))},D=(te,K)=>{let M=I.current;if(isNaN(M)){let L=isNaN(K)?0:K;return tr(L,t,r,y)}else{let L=tr(M,t,r,y);return te==="+"&&L>M||te==="-"&&L<M?L:tr(Os(te,M,y),t,r,y)}},j=()=>{let te=D("+",t);te===f&&b(w(te)),p(te)},S=()=>{let te=D("-",r);te===f&&b(w(te)),p(te)},O=()=>{r!=null&&p(tr(r,t,r,y))},X=()=>{t!=null&&p(t)},se=l.useMemo(()=>!d&&!u&&(isNaN(_)||isNaN(r)||tr(_,t,r,y)>_||Os("+",_,y)<=r),[d,u,t,r,y,_]),G=l.useMemo(()=>!d&&!u&&(isNaN(_)||isNaN(t)||tr(_,t,r,y)<_||Os("-",_,y)>=t),[d,u,t,r,y,_]);return{validate:te=>g.isValidPartialNumber(te,t,r),increment:j,incrementToMax:O,decrement:S,decrementToMin:X,canIncrement:se,canDecrement:G,minValue:t,maxValue:r,numberValue:_,setInputValue:b,inputValue:m,commit:W}}function Os(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 eh(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=yn(e,t),{children:o,className:a}=e;return C("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const j7=F.div`
|
|
887
|
+
`;function cr({children:e,icon:t=C(Fe.Help,{}),label:r="More info"}){return C(Np,{children:ie(Mp,{children:[C(N7,{children:C(on,{label:r,children:t})}),C(zp,{sideOffset:5,children:e})]})})}const Fp=7e3;let Cs=null;function M7(e,t="assertive",r=Fp){Cs||(Cs=new z7),Cs.announce(e,t,r)}class z7{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=Fp){if(!this.node)return;let o=document.createElement("div");o.textContent=t,r==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}function F7(e){return e&&e.__esModule?e.default:e}var Lp={},Kp={};Kp={Empty:"فارغ"};var jp={};jp={Empty:"Изпразни"};var Vp={};Vp={Empty:"Prázdné"};var Bp={};Bp={Empty:"Tom"};var Rp={};Rp={Empty:"Leer"};var Wp={};Wp={Empty:"Άδειο"};var Up={};Up={Empty:"Empty"};var Hp={};Hp={Empty:"Vacío"};var Gp={};Gp={Empty:"Tühjenda"};var Yp={};Yp={Empty:"Tyhjä"};var qp={};qp={Empty:"Vide"};var Zp={};Zp={Empty:"ריק"};var Xp={};Xp={Empty:"Prazno"};var Jp={};Jp={Empty:"Üres"};var Qp={};Qp={Empty:"Vuoto"};var em={};em={Empty:"空"};var tm={};tm={Empty:"비어 있음"};var rm={};rm={Empty:"Tuščias"};var nm={};nm={Empty:"Tukšs"};var om={};om={Empty:"Tom"};var am={};am={Empty:"Leeg"};var im={};im={Empty:"Pusty"};var sm={};sm={Empty:"Vazio"};var lm={};lm={Empty:"Vazio"};var cm={};cm={Empty:"Gol"};var dm={};dm={Empty:"Не заполнено"};var um={};um={Empty:"Prázdne"};var fm={};fm={Empty:"Prazen"};var pm={};pm={Empty:"Prazno"};var mm={};mm={Empty:"Tomt"};var hm={};hm={Empty:"Boş"};var bm={};bm={Empty:"Пусто"};var gm={};gm={Empty:"空"};var vm={};vm={Empty:"空白"},Lp={"ar-AE":Kp,"bg-BG":jp,"cs-CZ":Vp,"da-DK":Bp,"de-DE":Rp,"el-GR":Wp,"en-US":Up,"es-ES":Hp,"et-EE":Gp,"fi-FI":Yp,"fr-FR":qp,"he-IL":Zp,"hr-HR":Xp,"hu-HU":Jp,"it-IT":Qp,"ja-JP":em,"ko-KR":tm,"lt-LT":rm,"lv-LV":nm,"nb-NO":om,"nl-NL":am,"pl-PL":im,"pt-BR":sm,"pt-PT":lm,"ro-RO":cm,"ru-RU":dm,"sk-SK":um,"sl-SI":fm,"sr-SP":pm,"sv-SE":mm,"tr-TR":hm,"uk-UA":bm,"zh-CN":gm,"zh-TW":vm};function ym(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:c,onIncrement:d,onIncrementPage:u,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const g=Kt(F7(Lp)),v=l.useRef(e);v.current=e;const $=()=>clearTimeout(t.current);l.useEffect(()=>()=>$(),[]);let x=D=>{if(!(D.ctrlKey||D.metaKey||D.shiftKey||D.altKey||s))switch(D.key){case"PageUp":if(u){D.preventDefault(),u();break}case"ArrowUp":case"Up":d&&(D.preventDefault(),d());break;case"PageDown":if(p){D.preventDefault(),p();break}case"ArrowDown":case"Down":f&&(D.preventDefault(),f());break;case"Home":m&&(D.preventDefault(),m());break;case"End":b&&(D.preventDefault(),b());break}},w=l.useRef(!1),y=()=>{w.current=!0},T=()=>{w.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{w.current&&M7(n,"assertive")},[n]);const N=l.useCallback(D=>{$(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&N(60)},D)},[d,a,r]),P=l.useCallback(D=>{$(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&P(60)},D)},[f,o,r]);let _=D=>{D.preventDefault()},{addGlobalListener:I,removeAllGlobalListeners:W}=Si();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:x,onFocus:y,onBlur:T},incrementButtonProps:{onPressStart:()=>{N(400),I(window,"contextmenu",_)},onPressEnd:()=>{$(),W()},onFocus:y,onBlur:T},decrementButtonProps:{onPressStart:()=>{P(400),I(window,"contextmenu",_)},onPressEnd:()=>{$(),W()},onFocus:y,onBlur:T}}}function L7(e){return e&&e.__esModule?e.default:e}var $m={},xm={};xm={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var wm={};wm={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var _m={};_m={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var Em={};Em={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var Pm={};Pm={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var Sm={};Sm={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var km={};km={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Tm={};Tm={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Dm={};Dm={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var Cm={};Cm={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var Om={};Om={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var Im={};Im={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Am={};Am={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Nm={};Nm={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Mm={};Mm={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var zm={};zm={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Fm={};Fm={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Lm={};Lm={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Km={};Km={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var jm={};jm={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Vm={};Vm={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Bm={};Bm={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Rm={};Rm={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Wm={};Wm={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Um={};Um={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Hm={};Hm={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Gm={};Gm={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Ym={};Ym={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var qm={};qm={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Zm={};Zm={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Xm={};Xm={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Jm={};Jm={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Qm={};Qm={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var eh={};eh={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},$m={"ar-AE":xm,"bg-BG":wm,"cs-CZ":_m,"da-DK":Em,"de-DE":Pm,"el-GR":Sm,"en-US":km,"es-ES":Tm,"et-EE":Dm,"fi-FI":Cm,"fr-FR":Om,"he-IL":Im,"hr-HR":Am,"hu-HU":Nm,"it-IT":Mm,"ja-JP":zm,"ko-KR":Fm,"lt-LT":Lm,"lv-LV":Km,"nb-NO":jm,"nl-NL":Vm,"pl-PL":Bm,"pt-BR":Rm,"pt-PT":Wm,"ro-RO":Um,"ru-RU":Hm,"sk-SK":Gm,"sl-SI":Ym,"sr-SP":qm,"sv-SE":Zm,"tr-TR":Xm,"uk-UA":Jm,"zh-CN":Qm,"zh-TW":eh};function K7(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:c,minValue:d,maxValue:u,autoFocus:f,validationState:p,label:m,formatOptions:b,onBlur:g=()=>{},onFocus:v,onFocusChange:$,onKeyDown:x,onKeyUp:w,description:y,errorMessage:T,...N}=e,{increment:P,incrementToMax:_,decrement:I,decrementToMin:W,numberValue:D,commit:j}=t;const S=Kt(L7($m));let O=Ze(n),{focusProps:X}=Li({onBlur:()=>{j()}}),{spinButtonProps:se,incrementButtonProps:G,decrementButtonProps:ae}=ym({isDisabled:i,isReadOnly:s,isRequired:c,maxValue:u,minValue:d,onIncrement:P,onIncrementToMax:_,onDecrement:I,onDecrementToMin:W,value:D,textValue:t.inputValue}),[te,K]=l.useState(!1),{focusWithinProps:M}=Cr({isDisabled:i,onFocusWithinChange:K}),L=l.useCallback(Se=>{Math.abs(Se.deltaY)<=Math.abs(Se.deltaX)||(Se.deltaY>0?P():Se.deltaY<0&&I())},[I,P]);S5({onScroll:L,isDisabled:i||s||!te},r);let R=NP(b),k=l.useMemo(()=>R.resolvedOptions(),[R]).maximumFractionDigits>0,B=isNaN(t.minValue)||t.minValue<0,z="numeric";ku()?B?z="text":k&&(z="decimal"):Du()&&(B?z="numeric":k&&(z="decimal"));let Q=Se=>{t.setInputValue(Se)},q=xt(e),{labelProps:ee,inputProps:Y,descriptionProps:ue,errorMessageProps:be}=bS({...N,...q,label:m,autoFocus:f,isDisabled:i,isReadOnly:s,isRequired:c,validationState:p,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:O,type:"text",inputMode:z,onChange:Q,onBlur:g,onFocus:v,onFocusChange:$,onKeyDown:x,onKeyUp:w,description:y,errorMessage:T},t,r),ce=ve(se,X,Y,{role:null,"aria-roledescription":Er()?null:S.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),ye=Se=>{document.activeElement!==r.current&&(Se.pointerType==="mouse"?r.current.focus():Se.target.focus())},de=e["aria-label"]||(typeof e.label=="string"?e.label:""),$e;de||($e=e.label!=null?ee.id:e["aria-labelledby"]);let xe=Ze(),he=Ze(),Be=ve(G,{"aria-label":a||S.format("increase",{fieldLabel:de}).trim(),id:$e&&!a?xe:null,"aria-labelledby":$e&&!a?`${xe} ${$e}`:null,"aria-controls":O,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:ye}),_e=ve(ae,{"aria-label":o||S.format("decrease",{fieldLabel:de}).trim(),id:$e&&!o?he:null,"aria-labelledby":$e&&!o?`${he} ${$e}`:null,"aria-controls":O,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:ye});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":p==="invalid"?"true":void 0,...M},labelProps:ee,inputProps:ce,incrementButtonProps:Be,decrementButtonProps:_e,errorMessageProps:be,descriptionProps:ue}}function j7(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:c,isDisabled:d,isReadOnly:u}=e,[f,p]=er(a,isNaN(i)?NaN:i,s),[m,b]=l.useState(()=>isNaN(f)?"":new fs(c,o).format(f)),g=l.useMemo(()=>new $f(c,o),[c,o]),v=l.useMemo(()=>g.getNumberingSystem(m),[g,m]),$=l.useMemo(()=>new fs(c,{...o,numberingSystem:v}),[c,o,v]),x=l.useMemo(()=>$.resolvedOptions(),[$]),w=l.useCallback(te=>isNaN(te)||te===null?"":$.format(te),[$]),y=isNaN(n)?1:n;x.style==="percent"&&isNaN(n)&&(y=.01);let T=l.useRef(f),N=l.useRef(c),P=l.useRef(o);(!Object.is(f,T.current)||c!==N.current||o!==P.current)&&(b(w(f)),T.current=f,N.current=c,P.current=o);let _=l.useMemo(()=>g.parse(m),[g,m]),I=l.useRef(0);I.current=_;let W=()=>{if(!m.length){p(NaN),b(a===void 0?"":w(f));return}if(isNaN(I.current)){b(w(f));return}let te;isNaN(n)?te=RE(I.current,t,r):te=tr(I.current,t,r,n),te=g.parse(w(te)),p(te),b(w(a===void 0?te:f))},D=(te,K)=>{let M=I.current;if(isNaN(M)){let L=isNaN(K)?0:K;return tr(L,t,r,y)}else{let L=tr(M,t,r,y);return te==="+"&&L>M||te==="-"&&L<M?L:tr(Os(te,M,y),t,r,y)}},j=()=>{let te=D("+",t);te===f&&b(w(te)),p(te)},S=()=>{let te=D("-",r);te===f&&b(w(te)),p(te)},O=()=>{r!=null&&p(tr(r,t,r,y))},X=()=>{t!=null&&p(t)},se=l.useMemo(()=>!d&&!u&&(isNaN(_)||isNaN(r)||tr(_,t,r,y)>_||Os("+",_,y)<=r),[d,u,t,r,y,_]),G=l.useMemo(()=>!d&&!u&&(isNaN(_)||isNaN(t)||tr(_,t,r,y)<_||Os("-",_,y)>=t),[d,u,t,r,y,_]);return{validate:te=>g.isValidPartialNumber(te,t,r),increment:j,incrementToMax:O,decrement:S,decrementToMin:X,canIncrement:se,canDecrement:G,minValue:t,maxValue:r,numberValue:_,setInputValue:b,inputValue:m,commit:W}}function Os(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 th(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=yn(e,t),{children:o,className:a}=e;return C("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const V7=F.div`
|
|
888
888
|
/*
|
|
889
889
|
--border-color: ${h.color_outline_secondary_enabled};
|
|
890
890
|
*/
|
|
@@ -909,7 +909,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
909
909
|
&:has(input:invalid) {
|
|
910
910
|
--input-border-color: ${h.color_outline_danger_enabled};
|
|
911
911
|
}
|
|
912
|
-
`,
|
|
912
|
+
`,B7=F(xn)`
|
|
913
913
|
border-top-right-radius: 0;
|
|
914
914
|
border-color: var(
|
|
915
915
|
--input-border-color,
|
|
@@ -921,7 +921,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
921
921
|
grid-area: field;
|
|
922
922
|
margin: 0;
|
|
923
923
|
margin-right: -1px; // to make the borders overlap
|
|
924
|
-
`,
|
|
924
|
+
`,rh=F(th)`
|
|
925
925
|
display: grid;
|
|
926
926
|
place-items: center;
|
|
927
927
|
color: ${h.color_text_weak};
|
|
@@ -960,17 +960,17 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
960
960
|
}
|
|
961
961
|
|
|
962
962
|
& > svg {
|
|
963
|
-
line-height:
|
|
963
|
+
line-height: 1;
|
|
964
964
|
font-size: 1rem;
|
|
965
965
|
}
|
|
966
|
-
`,
|
|
966
|
+
`,R7=F(rh)`
|
|
967
967
|
border-radius: unset;
|
|
968
968
|
border-top: 1px solid var(--input-border-color);
|
|
969
969
|
border-top-right-radius: ${h.border_radius_400};
|
|
970
970
|
border-bottom-width: 0.5px;
|
|
971
971
|
margin-bottom: -0.5px;
|
|
972
972
|
grid-area: increment;
|
|
973
|
-
`,
|
|
973
|
+
`,W7=F(rh)`
|
|
974
974
|
border-radius: unset;
|
|
975
975
|
border-bottom: 1px solid var(--input-border-color);
|
|
976
976
|
border-bottom-right-radius: ${h.border_radius_400};
|
|
@@ -978,7 +978,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
978
978
|
border-top-width: 0.5px;
|
|
979
979
|
margin-top: -0.5px;
|
|
980
980
|
grid-area: decrement;
|
|
981
|
-
`;function
|
|
981
|
+
`;function nh(e,t){var r;if(e.length&&((r=e[0])!=null&&r.value)){const n=e[0].value;return t.indexOf(n)}}const Is=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:u=!0,min:f,max:p,locale:m="en-US",...b}=e,g=ut(),v=n??g,$=o,x=a,w=ct(t),y=j7({...b,isDisabled:v,isReadOnly:$,isRequired:x,minValue:f,maxValue:p,placeholder:d,locale:m}),{labelProps:T,groupProps:N,inputProps:P,incrementButtonProps:_,decrementButtonProps:I,descriptionProps:W,errorMessageProps:D}=K7({...b,isDisabled:v,isReadOnly:$,isRequired:x,minValue:f,maxValue:p,placeholder:d,label:s},y,w);let j=null;typeof s=="string"?j=C(Je,{...T,children:s}):l.isValidElement(s)&&(j=l.cloneElement(s,{...T}));const S=O=>{const{formatOptions:X}=e;if((X==null?void 0:X.style)==="unit"){const G=Intl.NumberFormat(m,X),ae=G.formatToParts(1).filter(V=>V.type==="unit"),te=G.formatToParts(3).filter(V=>V.type==="unit"),K=nh(ae,y.inputValue),M=nh(te,y.inputValue);let L;if(K&&K>-1?L=K:M&&M>-1&&(L=M),L){const V=O.target.selectionStart;if(V&&V>L){const R=L-1;O.target.setSelectionRange(R,R)}}}};return ie(lr,{children:[j,u?ie(V7,{...N,children:[C(B7,{...P,paddingSize:i,ref:w,onClick:S,onFocus:S,required:a}),C(R7,{..._,children:C(Fe.KeyboardArrowUp,{})}),C(W7,{...I,children:C(Fe.KeyboardArrowDown,{})})]}):C(xn,{ref:w,...P,paddingSize:i,required:a}),c?ie(zo,{...D,children:[C(Fe.Error,{}),c]}):null,r?C(Fo,{...W,children:r}):null]})});Is.displayName="NumberInput";const oh=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="large",label:c,validationState:d,placeholder:u="Enter text...",...f}=e,p=ct(t),m=ut(),b=o??m,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:x}=Mo({...f,isDisabled:b,isReadOnly:a,isRequired:i,placeholder:u,label:c,inputElementType:"textarea"},p);let w=null;return typeof c=="string"?w=C(Je,{...g,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...g})),ie(lr,{children:[w,C(xn,{as:"textarea","data-state":d,paddingSize:s,ref:p,placeholder:"Enter...",...$}),r?ie(zo,{...x,children:[C(Fe.Error,{}),r]}):null,n?C(Fo,{...v,children:n}):null]})});oh.displayName="TextAreaInput";const As=l.createContext({});As.displayName="FormControlContext";function Vo(){return l.useContext(As)}function U7({children:e,label:t,errorMessage:r,description:n,tooltipContent:o,tooltipIcon:a,validationState:i,id:s,...c}){const{descriptionProps:d,errorMessageProps:u,fieldProps:f,labelProps:p}=$n({errorMessage:r,label:t,description:n,validationState:i,id:s,...c});return C(As.Provider,{value:f,children:ie(lr,{children:[ie(Je,{...p,display:"flex",children:[t,o?C(cr,{icon:a,children:o}):null]}),e,n?C(Fo,{...d,children:n}):null,r?ie(zo,{...u,children:[C(Fe.Error,{}),r]}):null]})})}const ah=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return C(_s,{ref:t,label:ie(Je,{children:[r,n?C(cr,{icon:o,children:n}):null]}),...a})});ah.displayName="TextFormControl";const ih=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return C(oh,{ref:t,label:ie(Je,{children:[r,n?C(cr,{icon:o,children:n}):null]}),...a})});ih.displayName="TextAreaFormControl";const sh=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return C(Is,{ref:t,label:ie(Je,{children:[r,n?C(cr,{icon:o,children:n}):null]}),...a})});sh.displayName="NumberFormControl";function lh(e){const t=ut(),r=e??t;return{...Vo(),disabled:r}}const H7=()=>C("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:C("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"})}),G7=()=>C("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:C("path",{d:"M19 13 H5 v-3 h14 v2 z"})}),Ns=F.div`
|
|
982
982
|
display: grid;
|
|
983
983
|
place-items: center;
|
|
984
984
|
width: 16px;
|
|
@@ -993,7 +993,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
993
993
|
width: 100%;
|
|
994
994
|
height: 100%;
|
|
995
995
|
}
|
|
996
|
-
`,
|
|
996
|
+
`,Y7=F(mS)`
|
|
997
997
|
all: unset;
|
|
998
998
|
background-color: ${h.color_white};
|
|
999
999
|
width: ${h.sizing_600};
|
|
@@ -1033,13 +1033,13 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1033
1033
|
--checkbox-background-color: ${h.color_fill_danger_enabled};
|
|
1034
1034
|
color: ${h.color_fill_danger_enabled};
|
|
1035
1035
|
}
|
|
1036
|
-
`,
|
|
1037
|
-
line-height:
|
|
1036
|
+
`,q7=F(hS)`
|
|
1037
|
+
line-height: 1;
|
|
1038
1038
|
|
|
1039
1039
|
& > svg {
|
|
1040
|
-
line-height:
|
|
1040
|
+
line-height: 1;
|
|
1041
1041
|
}
|
|
1042
|
-
`,Bo=l.forwardRef((e,t)=>{const{disabled:r,checked:n,invalid:o,onCheckedChange:a,...i}=e,s=
|
|
1042
|
+
`,Bo=l.forwardRef((e,t)=>{const{disabled:r,checked:n,invalid:o,onCheckedChange:a,...i}=e,s=lh(r);return ie(Y7,{ref:t,onCheckedChange:a,...i,...s,checked:n,"aria-invalid":o,children:[!n&&C(Ns,{}),ie(q7,{children:[n===!0&&C(Ns,{children:C(H7,{})}),n==="indeterminate"&&C(Ns,{children:C(G7,{})})]})]})});Bo.displayName="Checkbox";const Z7=F(Kd)`
|
|
1043
1043
|
${({display:e})=>`display: ${e??"flex"};`}
|
|
1044
1044
|
${({direction:e})=>e&&`flex-direction: ${e};`}
|
|
1045
1045
|
${({wrap:e})=>e&&`flex-wrap: ${e};`}
|
|
@@ -1050,7 +1050,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1050
1050
|
${({gap:e})=>e&&`gap: ${qe(e)};`}
|
|
1051
1051
|
${({columnGap:e})=>e&&`column-gap: ${qe(e)};`}
|
|
1052
1052
|
${({rowGap:e})=>e&&`row-gap: ${qe(e)};`}
|
|
1053
|
-
`,lh={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function ch(e={}){let{style:t,isFocusable:r}=e,[n,o]=l.useState(!1),{focusWithinProps:a}=Cr({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=l.useMemo(()=>n?t:t?{...lh,...t}:lh,[n]);return{visuallyHiddenProps:{...a,style:i}}}function Z7(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=ch(e);return l.createElement(r,ve(a,i),t)}function X7(e){return e&&e.__esModule?e.default:e}const dh={top:"top",bottom:"top",left:"left",right:"left"},Ro={top:"bottom",bottom:"top",left:"right",right:"left"},J7={top:"left",left:"top"},Ms={top:"height",left:"width"},Wo={};let Mr=typeof window<"u"&&window.visualViewport;function Q7(e){let t=0,r=0,n=0,o=0,a={};if(e.tagName==="BODY"){let c=document.documentElement;var i;t=(i=Mr==null?void 0:Mr.width)!==null&&i!==void 0?i:c.clientWidth;var s;r=(s=Mr==null?void 0:Mr.height)!==null&&s!==void 0?s:c.clientHeight,a.top=c.scrollTop||e.scrollTop,a.left=c.scrollLeft||e.scrollLeft}else({width:t,height:r,top:n,left:o}=zr(e)),a.top=e.scrollTop,a.left=e.scrollLeft;return{width:t,height:r,scroll:a,top:n,left:o}}function ek(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function uh(e,t,r,n,o){let a=n.scroll[e],i=n[Ms[e]],s=t-o-a,c=t+o-a+r;return s<0?-s:c>i?Math.max(i-c,-s):0}function tk(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function fh(e){if(Wo[e])return Wo[e];let[t,r]=e.split(" "),n=dh[t]||"right",o=J7[n];dh[r]||(r="center");let a=Ms[n],i=Ms[o];return Wo[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},Wo[e]}function zs(e,t,r,n,o,a,i,s){let{placement:c,crossPlacement:d,axis:u,crossAxis:f,size:p,crossSize:m}=n,b={};b[f]=e[f],d==="center"?b[f]+=(e[m]-r[m])/2:d!==f&&(b[f]+=e[m]-r[m]),b[f]+=a;let g=e[f]+e[m]/2-r[m],v=e[f]+e[m]/2;if(b[f]=Math.min(Math.max(g,b[f]),v),c===u){const $=s?i[p]:t[p];b[Ro[u]]=Math.floor($-e[u]+o)}else b[u]=Math.floor(e[u]+e[p]+o);return b}function rk(e,t,r,n,o,a){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(r.top+e.top)-(o.top+o.bottom+a)):Math.max(0,n.top+r.top-(t.top+t.scroll.top)-(o.top+o.bottom+a))}function ph(e,t,r,n,o,a){let{placement:i,axis:s,size:c}=a;return i===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[Ro[s]]-o):Math.max(0,e[c]+e[s]+e.scroll[s]-t[s]-r[s]-r[c]-n[s]-n[Ro[s]]-o)}function nk(e,t,r,n,o,a,i,s,c,d,u,f,p){let m=fh(e),{size:b,crossAxis:g,crossSize:v,placement:$,crossPlacement:x}=m,w=zs(t,s,r,m,d,u,c,f),y=d,k=ph(s,c,t,o,a+d,m);if(i&&n[b]>k){let I=fh(`${Ro[$]} ${x}`),W=zs(t,s,r,I,d,u,c,f);ph(s,c,t,o,a+d,I)>k&&(m=I,w=W,y=d)}let N=uh(g,w[g],r[v],s,a);w[g]+=N;let P=rk(w,s,c,t,o,a);p&&p<P&&(P=p),r.height=Math.min(r.height,P),w=zs(t,s,r,m,y,u,c,f),N=uh(g,w[g],r[v],s,a),w[g]+=N;let _={};return _[g]=t[g]-w[g]+t[v]/2,{position:w,maxHeight:P,arrowOffsetLeft:_.left,arrowOffsetTop:_.top,placement:m.placement}}function ok(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:c,crossOffset:d,maxHeight:u}=e,f=n instanceof HTMLElement&&n.offsetParent||document.body,p=f.tagName==="BODY";const m=window.getComputedStyle(f).position;let b=!!m&&m!=="static",g=p?zr(r):mh(r,f);if(!p){let{marginTop:k,marginLeft:N}=window.getComputedStyle(r);g.top+=parseInt(k,10)||0,g.left+=parseInt(N,10)||0}let v=zr(n),$=tk(n);v.width+=$.left+$.right,v.height+=$.top+$.bottom;let x=ek(o),w=Q7(s),y=s.tagName==="BODY"?zr(f):mh(f,s);return nk(t,g,v,x,$,a,i,w,y,c,d,b,u)}function zr(e){let{top:t,left:r,width:n,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:s,clientLeft:c}=document.documentElement;return{top:t+a-s,left:r+i-c,width:n,height:o}}function mh(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:o,left:a,width:i,height:s}=e.getBoundingClientRect();n={top:o,left:a,width:i,height:s}}else{n=zr(e);let o=zr(t),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=o.top,n.left-=o.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}const hh=new WeakMap;function ak(e){let{triggerRef:t,isOpen:r,onClose:n}=e;l.useEffect(()=>{if(!r||n===null)return;let o=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let s=n||hh.get(t.current);s&&s()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[r,n,t])}let Fr=typeof window<"u"&&window.visualViewport;function ik(e){let{direction:t}=dt(),{targetRef:r,overlayRef:n,scrollRef:o=n,placement:a="bottom",containerPadding:i=12,shouldFlip:s=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:u=0,shouldUpdatePosition:f=!0,isOpen:p=!0,onClose:m,maxHeight:b}=e,[g,v]=l.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),$=[f,a,n.current,r.current,o.current,i,s,c,d,u,p,t,b],x=l.useCallback(()=>{if(f===!1||!p||!n.current||!r.current||!o.current||!c)return;let k=ok({placement:lk(a,t),overlayNode:n.current,targetNode:r.current,scrollNode:o.current,padding:i,shouldFlip:s,boundaryElement:c,offset:d,crossOffset:u,maxHeight:b});Object.keys(k.position).forEach(N=>n.current.style[N]=k.position[N]+"px"),n.current.style.maxHeight=k.maxHeight!=null?k.maxHeight+"px":void 0,v(k)},$);Ne(x,$),sk(x),t5({ref:n,onResize:x});let w=l.useRef(!1);Ne(()=>{let k,N=()=>{w.current=!0,clearTimeout(k),k=setTimeout(()=>{w.current=!1},500),x()};return Fr==null||Fr.addEventListener("resize",N),()=>{Fr==null||Fr.removeEventListener("resize",N)}},[x]);let y=l.useCallback(()=>{w.current||m()},[m,w]);return ak({triggerRef:r,isOpen:p,onClose:m&&y}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...g.position,maxHeight:g.maxHeight}},placement:g.placement,arrowProps:{style:{left:g.arrowOffsetLeft,top:g.arrowOffsetTop}},updatePosition:x}}function sk(e){Ne(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function lk(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const kt=[];function ck(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;l.useEffect(()=>(o&&kt.push(t),()=>{let b=kt.indexOf(t);b>=0&&kt.splice(b,1)}),[o,t]);let c=()=>{kt[kt.length-1]===t&&r&&r()},d=b=>{(!s||s(b.target))&&kt[kt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},u=b=>{(!s||s(b.target))&&(kt[kt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),c())},f=b=>{b.key==="Escape"&&!i&&(b.stopPropagation(),b.preventDefault(),c())};_5({ref:t,onInteractOutside:a?u:null,onInteractOutsideStart:d});let{focusWithinProps:p}=Cr({isDisabled:!n,onBlurWithin:b=>{b.relatedTarget&&N5(b.relatedTarget)||(!s||s(b.relatedTarget))&&r()}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function dk(e,t,r){let{type:n}=e,{isOpen:o}=t;l.useEffect(()=>{r&&r.current&&hh.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=Ze();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Fs=typeof window<"u"&&window.visualViewport,uk=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Uo=0,Ls;function fk(e={}){let{isDisabled:t}=e;Ne(()=>{if(!t)return Uo++,Uo===1&&(Er()?Ls=mk():Ls=pk()),()=>{Uo--,Uo===0&&Ls()}},[t])}function pk(){return rr(En(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),En(document.documentElement,"overflow","hidden"))}function mk(){let e,t=0,r=f=>{e=fn(f.target),!(e===document.documentElement&&e===document.body)&&(t=f.changedTouches[0].pageY)},n=f=>{if(e===document.documentElement||e===document.body){f.preventDefault();return}let p=f.changedTouches[0].pageY,m=e.scrollTop,b=e.scrollHeight-e.clientHeight;(m<=0&&p>t||m>=b&&p<t)&&f.preventDefault(),t=p},o=f=>{let p=f.target;gh(p)&&p!==document.activeElement&&(f.preventDefault(),p.style.transform="translateY(-2000px)",p.focus(),requestAnimationFrame(()=>{p.style.transform=""}))},a=f=>{let p=f.target;gh(p)&&(p.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{p.style.transform="",Fs&&(Fs.height<window.innerHeight?requestAnimationFrame(()=>{bh(p)}):Fs.addEventListener("resize",()=>bh(p),{once:!0}))}))},i=()=>{window.scrollTo(0,0)},s=window.pageXOffset,c=window.pageYOffset,d=rr(En(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),En(document.documentElement,"overflow","hidden"),En(document.body,"marginTop",`-${c}px`));window.scrollTo(0,0);let u=rr(Pn(document,"touchstart",r,{passive:!1,capture:!0}),Pn(document,"touchmove",n,{passive:!1,capture:!0}),Pn(document,"touchend",o,{passive:!1,capture:!0}),Pn(document,"focus",a,!0),Pn(window,"scroll",i));return()=>{d(),u(),window.scrollTo(s,c)}}function En(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function Pn(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function bh(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=fn(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>n+e.clientHeight&&(r.scrollTop+=o-n)}e=r.parentElement}}function gh(e){return e instanceof HTMLInputElement&&!uk.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var vh={},yh={};yh={dismiss:"تجاهل"};var $h={};$h={dismiss:"Отхвърляне"};var xh={};xh={dismiss:"Odstranit"};var wh={};wh={dismiss:"Luk"};var _h={};_h={dismiss:"Schließen"};var Eh={};Eh={dismiss:"Απόρριψη"};var Ph={};Ph={dismiss:"Dismiss"};var Sh={};Sh={dismiss:"Descartar"};var kh={};kh={dismiss:"Lõpeta"};var Th={};Th={dismiss:"Hylkää"};var Dh={};Dh={dismiss:"Rejeter"};var Ch={};Ch={dismiss:"התעלם"};var Oh={};Oh={dismiss:"Odbaci"};var Ih={};Ih={dismiss:"Elutasítás"};var Ah={};Ah={dismiss:"Ignora"};var Nh={};Nh={dismiss:"閉じる"};var Mh={};Mh={dismiss:"무시"};var zh={};zh={dismiss:"Atmesti"};var Fh={};Fh={dismiss:"Nerādīt"};var Lh={};Lh={dismiss:"Lukk"};var Kh={};Kh={dismiss:"Negeren"};var jh={};jh={dismiss:"Zignoruj"};var Vh={};Vh={dismiss:"Descartar"};var Bh={};Bh={dismiss:"Dispensar"};var Rh={};Rh={dismiss:"Revocare"};var Wh={};Wh={dismiss:"Пропустить"};var Uh={};Uh={dismiss:"Zrušiť"};var Hh={};Hh={dismiss:"Opusti"};var Gh={};Gh={dismiss:"Odbaci"};var Yh={};Yh={dismiss:"Avvisa"};var qh={};qh={dismiss:"Kapat"};var Zh={};Zh={dismiss:"Скасувати"};var Xh={};Xh={dismiss:"取消"};var Jh={};Jh={dismiss:"關閉"},vh={"ar-AE":yh,"bg-BG":$h,"cs-CZ":xh,"da-DK":wh,"de-DE":_h,"el-GR":Eh,"en-US":Ph,"es-ES":Sh,"et-EE":kh,"fi-FI":Th,"fr-FR":Dh,"he-IL":Ch,"hr-HR":Oh,"hu-HU":Ih,"it-IT":Ah,"ja-JP":Nh,"ko-KR":Mh,"lt-LT":zh,"lv-LV":Fh,"nb-NO":Lh,"nl-NL":Kh,"pl-PL":jh,"pt-BR":Vh,"pt-PT":Bh,"ro-RO":Rh,"ru-RU":Wh,"sk-SK":Uh,"sl-SI":Hh,"sr-SP":Gh,"sv-SE":Yh,"tr-TR":qh,"uk-UA":Zh,"zh-CN":Xh,"zh-TW":Jh};function Qh(e){let{onDismiss:t,...r}=e,n=Kt(X7(vh)),o=ki(r,n.format("dismiss")),a=()=>{t&&t()};return l.createElement(Z7,null,l.createElement("button",{...o,tabIndex:-1,onClick:a}))}let Sn=new WeakMap,Qe=[];function hk(e,t=document.body){let r=new Set(e),n=new Set,o=c=>{for(let p of c.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(p);let d=p=>{if(r.has(p)||n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of r)if(p.contains(m))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},u=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),f=d(c);if(f===NodeFilter.FILTER_ACCEPT&&a(c),f!==NodeFilter.FILTER_REJECT){let p=u.nextNode();for(;p!=null;)a(p),p=u.nextNode()}},a=c=>{var d;let u=(d=Sn.get(c))!==null&&d!==void 0?d:0;c.getAttribute("aria-hidden")==="true"&&u===0||(u===0&&c.setAttribute("aria-hidden","true"),n.add(c),Sn.set(c,u+1))};Qe.length&&Qe[Qe.length-1].disconnect(),o(t);let i=new MutationObserver(c=>{for(let d of c)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...r,...n].some(u=>u.contains(d.target))){for(let u of d.removedNodes)u instanceof Element&&(r.delete(u),n.delete(u));for(let u of d.addedNodes)(u instanceof HTMLElement||u instanceof SVGElement)&&(u.dataset.liveAnnouncer==="true"||u.dataset.reactAriaTopLayer==="true")?r.add(u):u instanceof Element&&o(u)}});i.observe(t,{childList:!0,subtree:!0});let s={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Qe.push(s),()=>{i.disconnect();for(let c of n){let d=Sn.get(c);d===1?(c.removeAttribute("aria-hidden"),Sn.delete(c)):Sn.set(c,d-1)}s===Qe[Qe.length-1]?(Qe.pop(),Qe.length&&Qe[Qe.length-1].observe()):Qe.splice(Qe.indexOf(s),1)}}function bk(e,t){let{triggerRef:r,popoverRef:n,isNonModal:o,isKeyboardDismissDisabled:a,...i}=e,{overlayProps:s,underlayProps:c}=ck({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a},n),{overlayProps:d,arrowProps:u,placement:f}=ik({...i,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:null});return fk({isDisabled:o}),Ne(()=>{if(t.isOpen&&!o&&n.current)return hk([n.current])},[o,t.isOpen,n]),{popoverProps:ve(s,d),arrowProps:u,underlayProps:c,placement:f}}const gk=l.createContext(null);function vk(e){let t=xu(),{portalContainer:r=t?null:document.body}=e,[n,o]=l.useState(!1),a=l.useMemo(()=>({contain:n,setContain:o}),[n,o]);if(!r)return null;let i=l.createElement(gk.Provider,{value:a},l.createElement(D5,{restoreFocus:!0,contain:n},e.children));return Ve.createPortal(i,r)}function yk(e){return e&&e.__esModule?e.default:e}let Te;(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"})(Te||(Te={}));const eb={...Te,copyMove:Te.copy|Te.move,copyLink:Te.copy|Te.link,linkMove:Te.link|Te.move,all:Te.all,uninitialized:Te.all},$k=js(eb);$k[Te.all]="all",js(Te);const tb={none:"cancel",link:"link",copy:"copy",move:"move"},Ks=js(tb);function js(e){let t={};for(let r in e)t[e[r]]=r;return t}const Vs="application/vnd.react-aria.items+json",Ho="application/octet-stream",xk=Symbol();function wk(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function _k(){return wk(Vu())}class Go{has(t){return this.includesUnknownTypes||t===xk&&this.types.has(Ho)?!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!==Vs&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(Ho));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function Ek(e){let t=[],r=!1;if(e.types.includes(Vs))try{let n=e.getData(Vs),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||Ho,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(Bs(o.getAsFile())):a.isDirectory&&t.push(rb(a))}else t.push(Bs(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function Pk(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 Bs(e){return{kind:"file",type:e.type||Ho,name:e.name,getText:()=>Pk(e),getFile:()=>Promise.resolve(e)}}function rb(e){return{kind:"directory",name:e.name,getEntries:()=>Sk(e)}}async function*Sk(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 kk(n);yield Bs(o)}else n.isDirectory&&(yield rb(n))}while(r.length>0)}function kk(e){return new Promise((t,r)=>e.file(t,r))}let nb={draggingKeys:new Set};function Tk(e){nb=e}function Y2(e){}let ob=Te.none,ab=new Map,ib=null,sb=new Set;function Dk(e){return ab.set(e.element,e),()=>{ab.delete(e.element)}}function Ck(){let[e,t]=l.useState(ib);return l.useEffect(()=>{let r=()=>t(ib);return sb.add(r),()=>{sb.delete(r)}},[]),e}var lb={},cb={};cb={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 db={};db={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 ub={};ub={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 fb={};fb={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 pb={};pb={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 mb={};mb={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 hb={};hb={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 bb={};bb={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 gb={};gb={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 vb={};vb={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 yb={};yb={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 $b={};$b={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 xb={};xb={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 wb={};wb={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 _b={};_b={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 Eb={};Eb={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 Pb={};Pb={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 Sb={};Sb={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 kb={};kb={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 Tb={};Tb={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 Db={};Db={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 Cb={};Cb={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 Ob={};Ob={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 Ib={};Ib={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 Ab={};Ab={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 Nb={};Nb={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 Mb={};Mb={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 zb={};zb={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 Fb={};Fb={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 Lb={};Lb={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 Kb={};Kb={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 jb={};jb={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 Vb={};Vb={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 Bb={};Bb={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}」之間`},lb={"ar-AE":cb,"bg-BG":db,"cs-CZ":ub,"da-DK":fb,"de-DE":pb,"el-GR":mb,"en-US":hb,"es-ES":bb,"et-EE":gb,"fi-FI":vb,"fr-FR":yb,"he-IL":$b,"hr-HR":xb,"hu-HU":wb,"it-IT":_b,"ja-JP":Eb,"ko-KR":Pb,"lt-LT":Sb,"lv-LV":kb,"nb-NO":Tb,"nl-NL":Db,"pl-PL":Cb,"pt-BR":Ob,"pt-PT":Ib,"ro-RO":Ab,"ru-RU":Nb,"sk-SK":Mb,"sl-SI":zb,"sr-SP":Fb,"sv-SE":Lb,"tr-TR":Kb,"uk-UA":jb,"zh-CN":Vb,"zh-TW":Bb};const Ok={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function Ik(){let e=Kt(yk(lb)),t=_k(),r=Ck();return{dropProps:{...Di(r?e.format(Ok[t]):""),onClick:()=>{}}}}const Ak=800;function Nk(e){let[t,r]=l.useState(!1),n=l.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Te.all,dropActivateTimer:null}).current,o=p=>{if(r(!0),typeof e.onDropEnter=="function"){let m=p.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:p.clientX-m.x,y:p.clientY-m.y})}},a=p=>{if(r(!1),typeof e.onDropExit=="function"){let m=p.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:p.clientX-m.x,y:p.clientY-m.y})}},i=p=>{p.preventDefault(),p.stopPropagation();let m=Rb(p);if(p.clientX===n.x&&p.clientY===n.y&&m===n.allowedOperations){p.dataTransfer.dropEffect=n.dropEffect;return}n.x=p.clientX,n.y=p.clientY;let b=n.dropEffect;if(m!==n.allowedOperations){let g=Rs(m),v=g[0];if(typeof e.getDropOperation=="function"){let $=new Go(p.dataTransfer);v=Yo(m,e.getDropOperation($,g))}n.dropEffect=Ks[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new Go(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),$=Yo(m,e.getDropOperationForPoint(g,Rs(m),n.x-v.x,n.y-v.y));n.dropEffect=Ks[$]||"none"}if(n.allowedOperations=m,p.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&b!=="none"?a(p):n.dropEffect!=="none"&&b==="none"&&o(p),typeof e.onDropMove=="function"&&n.dropEffect!=="none"){let g=p.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=p.currentTarget.getBoundingClientRect();n.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:n.x-g.x,y:n.y-g.y})},Ak)}},s=p=>{if(p.preventDefault(),p.stopPropagation(),n.dragOverElements.add(p.target),n.dragOverElements.size>1)return;let m=Rb(p),b=Rs(m),g=b[0];if(typeof e.getDropOperation=="function"){let v=new Go(p.dataTransfer);g=Yo(m,e.getDropOperation(v,b))}if(typeof e.getDropOperationForPoint=="function"){let v=new Go(p.dataTransfer),$=p.currentTarget.getBoundingClientRect();g=Yo(m,e.getDropOperationForPoint(v,b,p.clientX-$.x,p.clientY-$.y))}n.x=p.clientX,n.y=p.clientY,n.allowedOperations=m,n.dropEffect=Ks[g]||"none",p.dataTransfer.dropEffect=n.dropEffect,g!=="cancel"&&o(p)},c=p=>{p.preventDefault(),p.stopPropagation(),n.dragOverElements.delete(p.target);for(let m of n.dragOverElements)p.currentTarget.contains(m)||n.dragOverElements.delete(m);n.dragOverElements.size>0||(n.dropEffect!=="none"&&a(p),clearTimeout(n.dropActivateTimer))},d=p=>{if(p.preventDefault(),p.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let b=tb[n.dropEffect],g=Ek(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),$={type:"drop",x:p.clientX-v.x,y:p.clientY-v.y,items:g,dropOperation:b};e.onDrop($)}let m={...nb};n.dragOverElements.clear(),a(p),clearTimeout(n.dropActivateTimer),m.draggingCollectionRef==null||Tk(m)},u=l.useRef(e);u.current=e,Ne(()=>Dk({element:u.current.ref.current,getDropOperation:u.current.getDropOperation,onDropEnter(p){r(!0),typeof u.current.onDropEnter=="function"&&u.current.onDropEnter(p)},onDropExit(p){r(!1),typeof u.current.onDropExit=="function"&&u.current.onDropExit(p)},onDrop(p){typeof u.current.onDrop=="function"&&u.current.onDrop(p)},onDropActivate(p){typeof u.current.onDropActivate=="function"&&u.current.onDropActivate(p)}}),[u]);let{dropProps:f}=Ik();return{dropProps:{...f,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:d},isDropTarget:t}}function Rb(e){let t=eb[e.dataTransfer.effectAllowed];ob&&(t&=ob);let r=Te.none;return nr()?(e.altKey&&(r|=Te.copy),e.ctrlKey&&!Tu()&&(r|=Te.link),e.metaKey&&(r|=Te.move)):(e.altKey&&(r|=Te.link),e.shiftKey&&(r|=Te.move),e.ctrlKey&&(r|=Te.copy)),r?t&r:t}function Rs(e){let t=[];return e&Te.move&&t.push("move"),e&Te.copy&&t.push("copy"),e&Te.link&&t.push("link"),t}function Yo(e,t){let r=Te[t];return e&r?t:"cancel"}const kn=F.p`
|
|
1053
|
+
`,ch={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function dh(e={}){let{style:t,isFocusable:r}=e,[n,o]=l.useState(!1),{focusWithinProps:a}=Cr({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=l.useMemo(()=>n?t:t?{...ch,...t}:ch,[n]);return{visuallyHiddenProps:{...a,style:i}}}function X7(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=dh(e);return l.createElement(r,ve(a,i),t)}function J7(e){return e&&e.__esModule?e.default:e}const uh={top:"top",bottom:"top",left:"left",right:"left"},Ro={top:"bottom",bottom:"top",left:"right",right:"left"},Q7={top:"left",left:"top"},Ms={top:"height",left:"width"},Wo={};let Mr=typeof window<"u"&&window.visualViewport;function ek(e){let t=0,r=0,n=0,o=0,a={};if(e.tagName==="BODY"){let c=document.documentElement;var i;t=(i=Mr==null?void 0:Mr.width)!==null&&i!==void 0?i:c.clientWidth;var s;r=(s=Mr==null?void 0:Mr.height)!==null&&s!==void 0?s:c.clientHeight,a.top=c.scrollTop||e.scrollTop,a.left=c.scrollLeft||e.scrollLeft}else({width:t,height:r,top:n,left:o}=zr(e)),a.top=e.scrollTop,a.left=e.scrollLeft;return{width:t,height:r,scroll:a,top:n,left:o}}function tk(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function fh(e,t,r,n,o){let a=n.scroll[e],i=n[Ms[e]],s=t-o-a,c=t+o-a+r;return s<0?-s:c>i?Math.max(i-c,-s):0}function rk(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function ph(e){if(Wo[e])return Wo[e];let[t,r]=e.split(" "),n=uh[t]||"right",o=Q7[n];uh[r]||(r="center");let a=Ms[n],i=Ms[o];return Wo[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},Wo[e]}function zs(e,t,r,n,o,a,i,s){let{placement:c,crossPlacement:d,axis:u,crossAxis:f,size:p,crossSize:m}=n,b={};b[f]=e[f],d==="center"?b[f]+=(e[m]-r[m])/2:d!==f&&(b[f]+=e[m]-r[m]),b[f]+=a;let g=e[f]+e[m]/2-r[m],v=e[f]+e[m]/2;if(b[f]=Math.min(Math.max(g,b[f]),v),c===u){const $=s?i[p]:t[p];b[Ro[u]]=Math.floor($-e[u]+o)}else b[u]=Math.floor(e[u]+e[p]+o);return b}function nk(e,t,r,n,o,a){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(r.top+e.top)-(o.top+o.bottom+a)):Math.max(0,n.top+r.top-(t.top+t.scroll.top)-(o.top+o.bottom+a))}function mh(e,t,r,n,o,a){let{placement:i,axis:s,size:c}=a;return i===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[Ro[s]]-o):Math.max(0,e[c]+e[s]+e.scroll[s]-t[s]-r[s]-r[c]-n[s]-n[Ro[s]]-o)}function ok(e,t,r,n,o,a,i,s,c,d,u,f,p){let m=ph(e),{size:b,crossAxis:g,crossSize:v,placement:$,crossPlacement:x}=m,w=zs(t,s,r,m,d,u,c,f),y=d,T=mh(s,c,t,o,a+d,m);if(i&&n[b]>T){let I=ph(`${Ro[$]} ${x}`),W=zs(t,s,r,I,d,u,c,f);mh(s,c,t,o,a+d,I)>T&&(m=I,w=W,y=d)}let N=fh(g,w[g],r[v],s,a);w[g]+=N;let P=nk(w,s,c,t,o,a);p&&p<P&&(P=p),r.height=Math.min(r.height,P),w=zs(t,s,r,m,y,u,c,f),N=fh(g,w[g],r[v],s,a),w[g]+=N;let _={};return _[g]=t[g]-w[g]+t[v]/2,{position:w,maxHeight:P,arrowOffsetLeft:_.left,arrowOffsetTop:_.top,placement:m.placement}}function ak(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:c,crossOffset:d,maxHeight:u}=e,f=n instanceof HTMLElement&&n.offsetParent||document.body,p=f.tagName==="BODY";const m=window.getComputedStyle(f).position;let b=!!m&&m!=="static",g=p?zr(r):hh(r,f);if(!p){let{marginTop:T,marginLeft:N}=window.getComputedStyle(r);g.top+=parseInt(T,10)||0,g.left+=parseInt(N,10)||0}let v=zr(n),$=rk(n);v.width+=$.left+$.right,v.height+=$.top+$.bottom;let x=tk(o),w=ek(s),y=s.tagName==="BODY"?zr(f):hh(f,s);return ok(t,g,v,x,$,a,i,w,y,c,d,b,u)}function zr(e){let{top:t,left:r,width:n,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:s,clientLeft:c}=document.documentElement;return{top:t+a-s,left:r+i-c,width:n,height:o}}function hh(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:o,left:a,width:i,height:s}=e.getBoundingClientRect();n={top:o,left:a,width:i,height:s}}else{n=zr(e);let o=zr(t),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=o.top,n.left-=o.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}const bh=new WeakMap;function ik(e){let{triggerRef:t,isOpen:r,onClose:n}=e;l.useEffect(()=>{if(!r||n===null)return;let o=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let s=n||bh.get(t.current);s&&s()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[r,n,t])}let Fr=typeof window<"u"&&window.visualViewport;function sk(e){let{direction:t}=dt(),{targetRef:r,overlayRef:n,scrollRef:o=n,placement:a="bottom",containerPadding:i=12,shouldFlip:s=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:u=0,shouldUpdatePosition:f=!0,isOpen:p=!0,onClose:m,maxHeight:b}=e,[g,v]=l.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),$=[f,a,n.current,r.current,o.current,i,s,c,d,u,p,t,b],x=l.useCallback(()=>{if(f===!1||!p||!n.current||!r.current||!o.current||!c)return;let T=ak({placement:ck(a,t),overlayNode:n.current,targetNode:r.current,scrollNode:o.current,padding:i,shouldFlip:s,boundaryElement:c,offset:d,crossOffset:u,maxHeight:b});Object.keys(T.position).forEach(N=>n.current.style[N]=T.position[N]+"px"),n.current.style.maxHeight=T.maxHeight!=null?T.maxHeight+"px":void 0,v(T)},$);Ne(x,$),lk(x),r5({ref:n,onResize:x});let w=l.useRef(!1);Ne(()=>{let T,N=()=>{w.current=!0,clearTimeout(T),T=setTimeout(()=>{w.current=!1},500),x()};return Fr==null||Fr.addEventListener("resize",N),()=>{Fr==null||Fr.removeEventListener("resize",N)}},[x]);let y=l.useCallback(()=>{w.current||m()},[m,w]);return ik({triggerRef:r,isOpen:p,onClose:m&&y}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...g.position,maxHeight:g.maxHeight}},placement:g.placement,arrowProps:{style:{left:g.arrowOffsetLeft,top:g.arrowOffsetTop}},updatePosition:x}}function lk(e){Ne(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function ck(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const kt=[];function dk(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;l.useEffect(()=>(o&&kt.push(t),()=>{let b=kt.indexOf(t);b>=0&&kt.splice(b,1)}),[o,t]);let c=()=>{kt[kt.length-1]===t&&r&&r()},d=b=>{(!s||s(b.target))&&kt[kt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},u=b=>{(!s||s(b.target))&&(kt[kt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),c())},f=b=>{b.key==="Escape"&&!i&&(b.stopPropagation(),b.preventDefault(),c())};E5({ref:t,onInteractOutside:a?u:null,onInteractOutsideStart:d});let{focusWithinProps:p}=Cr({isDisabled:!n,onBlurWithin:b=>{b.relatedTarget&&M5(b.relatedTarget)||(!s||s(b.relatedTarget))&&r()}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function uk(e,t,r){let{type:n}=e,{isOpen:o}=t;l.useEffect(()=>{r&&r.current&&bh.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=Ze();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Fs=typeof window<"u"&&window.visualViewport,fk=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Uo=0,Ls;function pk(e={}){let{isDisabled:t}=e;Ne(()=>{if(!t)return Uo++,Uo===1&&(Er()?Ls=hk():Ls=mk()),()=>{Uo--,Uo===0&&Ls()}},[t])}function mk(){return rr(En(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),En(document.documentElement,"overflow","hidden"))}function hk(){let e,t=0,r=f=>{e=fn(f.target),!(e===document.documentElement&&e===document.body)&&(t=f.changedTouches[0].pageY)},n=f=>{if(e===document.documentElement||e===document.body){f.preventDefault();return}let p=f.changedTouches[0].pageY,m=e.scrollTop,b=e.scrollHeight-e.clientHeight;(m<=0&&p>t||m>=b&&p<t)&&f.preventDefault(),t=p},o=f=>{let p=f.target;vh(p)&&p!==document.activeElement&&(f.preventDefault(),p.style.transform="translateY(-2000px)",p.focus(),requestAnimationFrame(()=>{p.style.transform=""}))},a=f=>{let p=f.target;vh(p)&&(p.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{p.style.transform="",Fs&&(Fs.height<window.innerHeight?requestAnimationFrame(()=>{gh(p)}):Fs.addEventListener("resize",()=>gh(p),{once:!0}))}))},i=()=>{window.scrollTo(0,0)},s=window.pageXOffset,c=window.pageYOffset,d=rr(En(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),En(document.documentElement,"overflow","hidden"),En(document.body,"marginTop",`-${c}px`));window.scrollTo(0,0);let u=rr(Pn(document,"touchstart",r,{passive:!1,capture:!0}),Pn(document,"touchmove",n,{passive:!1,capture:!0}),Pn(document,"touchend",o,{passive:!1,capture:!0}),Pn(document,"focus",a,!0),Pn(window,"scroll",i));return()=>{d(),u(),window.scrollTo(s,c)}}function En(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function Pn(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function gh(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=fn(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>n+e.clientHeight&&(r.scrollTop+=o-n)}e=r.parentElement}}function vh(e){return e instanceof HTMLInputElement&&!fk.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var yh={},$h={};$h={dismiss:"تجاهل"};var xh={};xh={dismiss:"Отхвърляне"};var wh={};wh={dismiss:"Odstranit"};var _h={};_h={dismiss:"Luk"};var Eh={};Eh={dismiss:"Schließen"};var Ph={};Ph={dismiss:"Απόρριψη"};var Sh={};Sh={dismiss:"Dismiss"};var kh={};kh={dismiss:"Descartar"};var Th={};Th={dismiss:"Lõpeta"};var Dh={};Dh={dismiss:"Hylkää"};var Ch={};Ch={dismiss:"Rejeter"};var Oh={};Oh={dismiss:"התעלם"};var Ih={};Ih={dismiss:"Odbaci"};var Ah={};Ah={dismiss:"Elutasítás"};var Nh={};Nh={dismiss:"Ignora"};var Mh={};Mh={dismiss:"閉じる"};var zh={};zh={dismiss:"무시"};var Fh={};Fh={dismiss:"Atmesti"};var Lh={};Lh={dismiss:"Nerādīt"};var Kh={};Kh={dismiss:"Lukk"};var jh={};jh={dismiss:"Negeren"};var Vh={};Vh={dismiss:"Zignoruj"};var Bh={};Bh={dismiss:"Descartar"};var Rh={};Rh={dismiss:"Dispensar"};var Wh={};Wh={dismiss:"Revocare"};var Uh={};Uh={dismiss:"Пропустить"};var Hh={};Hh={dismiss:"Zrušiť"};var Gh={};Gh={dismiss:"Opusti"};var Yh={};Yh={dismiss:"Odbaci"};var qh={};qh={dismiss:"Avvisa"};var Zh={};Zh={dismiss:"Kapat"};var Xh={};Xh={dismiss:"Скасувати"};var Jh={};Jh={dismiss:"取消"};var Qh={};Qh={dismiss:"關閉"},yh={"ar-AE":$h,"bg-BG":xh,"cs-CZ":wh,"da-DK":_h,"de-DE":Eh,"el-GR":Ph,"en-US":Sh,"es-ES":kh,"et-EE":Th,"fi-FI":Dh,"fr-FR":Ch,"he-IL":Oh,"hr-HR":Ih,"hu-HU":Ah,"it-IT":Nh,"ja-JP":Mh,"ko-KR":zh,"lt-LT":Fh,"lv-LV":Lh,"nb-NO":Kh,"nl-NL":jh,"pl-PL":Vh,"pt-BR":Bh,"pt-PT":Rh,"ro-RO":Wh,"ru-RU":Uh,"sk-SK":Hh,"sl-SI":Gh,"sr-SP":Yh,"sv-SE":qh,"tr-TR":Zh,"uk-UA":Xh,"zh-CN":Jh,"zh-TW":Qh};function eb(e){let{onDismiss:t,...r}=e,n=Kt(J7(yh)),o=ki(r,n.format("dismiss")),a=()=>{t&&t()};return l.createElement(X7,null,l.createElement("button",{...o,tabIndex:-1,onClick:a}))}let Sn=new WeakMap,Qe=[];function bk(e,t=document.body){let r=new Set(e),n=new Set,o=c=>{for(let p of c.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(p);let d=p=>{if(r.has(p)||n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of r)if(p.contains(m))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},u=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),f=d(c);if(f===NodeFilter.FILTER_ACCEPT&&a(c),f!==NodeFilter.FILTER_REJECT){let p=u.nextNode();for(;p!=null;)a(p),p=u.nextNode()}},a=c=>{var d;let u=(d=Sn.get(c))!==null&&d!==void 0?d:0;c.getAttribute("aria-hidden")==="true"&&u===0||(u===0&&c.setAttribute("aria-hidden","true"),n.add(c),Sn.set(c,u+1))};Qe.length&&Qe[Qe.length-1].disconnect(),o(t);let i=new MutationObserver(c=>{for(let d of c)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...r,...n].some(u=>u.contains(d.target))){for(let u of d.removedNodes)u instanceof Element&&(r.delete(u),n.delete(u));for(let u of d.addedNodes)(u instanceof HTMLElement||u instanceof SVGElement)&&(u.dataset.liveAnnouncer==="true"||u.dataset.reactAriaTopLayer==="true")?r.add(u):u instanceof Element&&o(u)}});i.observe(t,{childList:!0,subtree:!0});let s={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Qe.push(s),()=>{i.disconnect();for(let c of n){let d=Sn.get(c);d===1?(c.removeAttribute("aria-hidden"),Sn.delete(c)):Sn.set(c,d-1)}s===Qe[Qe.length-1]?(Qe.pop(),Qe.length&&Qe[Qe.length-1].observe()):Qe.splice(Qe.indexOf(s),1)}}function gk(e,t){let{triggerRef:r,popoverRef:n,isNonModal:o,isKeyboardDismissDisabled:a,...i}=e,{overlayProps:s,underlayProps:c}=dk({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a},n),{overlayProps:d,arrowProps:u,placement:f}=sk({...i,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:null});return pk({isDisabled:o}),Ne(()=>{if(t.isOpen&&!o&&n.current)return bk([n.current])},[o,t.isOpen,n]),{popoverProps:ve(s,d),arrowProps:u,underlayProps:c,placement:f}}const vk=l.createContext(null);function yk(e){let t=xu(),{portalContainer:r=t?null:document.body}=e,[n,o]=l.useState(!1),a=l.useMemo(()=>({contain:n,setContain:o}),[n,o]);if(!r)return null;let i=l.createElement(vk.Provider,{value:a},l.createElement(C5,{restoreFocus:!0,contain:n},e.children));return Ve.createPortal(i,r)}function $k(e){return e&&e.__esModule?e.default:e}let Te;(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"})(Te||(Te={}));const tb={...Te,copyMove:Te.copy|Te.move,copyLink:Te.copy|Te.link,linkMove:Te.link|Te.move,all:Te.all,uninitialized:Te.all},xk=js(tb);xk[Te.all]="all",js(Te);const rb={none:"cancel",link:"link",copy:"copy",move:"move"},Ks=js(rb);function js(e){let t={};for(let r in e)t[e[r]]=r;return t}const Vs="application/vnd.react-aria.items+json",Ho="application/octet-stream",wk=Symbol();function _k(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function Ek(){return _k(Vu())}class Go{has(t){return this.includesUnknownTypes||t===wk&&this.types.has(Ho)?!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!==Vs&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(Ho));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function Pk(e){let t=[],r=!1;if(e.types.includes(Vs))try{let n=e.getData(Vs),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||Ho,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(Bs(o.getAsFile())):a.isDirectory&&t.push(nb(a))}else t.push(Bs(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function Sk(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 Bs(e){return{kind:"file",type:e.type||Ho,name:e.name,getText:()=>Sk(e),getFile:()=>Promise.resolve(e)}}function nb(e){return{kind:"directory",name:e.name,getEntries:()=>kk(e)}}async function*kk(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 Tk(n);yield Bs(o)}else n.isDirectory&&(yield nb(n))}while(r.length>0)}function Tk(e){return new Promise((t,r)=>e.file(t,r))}let ob={draggingKeys:new Set};function Dk(e){ob=e}function q2(e){}let ab=Te.none,ib=new Map,sb=null,lb=new Set;function Ck(e){return ib.set(e.element,e),()=>{ib.delete(e.element)}}function Ok(){let[e,t]=l.useState(sb);return l.useEffect(()=>{let r=()=>t(sb);return lb.add(r),()=>{lb.delete(r)}},[]),e}var cb={},db={};db={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 ub={};ub={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 fb={};fb={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 pb={};pb={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 mb={};mb={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 hb={};hb={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 bb={};bb={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 gb={};gb={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 vb={};vb={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 yb={};yb={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 $b={};$b={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 xb={};xb={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 wb={};wb={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 _b={};_b={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 Eb={};Eb={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 Pb={};Pb={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 Sb={};Sb={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 kb={};kb={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 Tb={};Tb={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 Db={};Db={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 Cb={};Cb={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 Ob={};Ob={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 Ib={};Ib={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 Ab={};Ab={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 Nb={};Nb={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 Mb={};Mb={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 zb={};zb={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 Fb={};Fb={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 Lb={};Lb={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 Kb={};Kb={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 jb={};jb={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 Vb={};Vb={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 Bb={};Bb={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 Rb={};Rb={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}」之間`},cb={"ar-AE":db,"bg-BG":ub,"cs-CZ":fb,"da-DK":pb,"de-DE":mb,"el-GR":hb,"en-US":bb,"es-ES":gb,"et-EE":vb,"fi-FI":yb,"fr-FR":$b,"he-IL":xb,"hr-HR":wb,"hu-HU":_b,"it-IT":Eb,"ja-JP":Pb,"ko-KR":Sb,"lt-LT":kb,"lv-LV":Tb,"nb-NO":Db,"nl-NL":Cb,"pl-PL":Ob,"pt-BR":Ib,"pt-PT":Ab,"ro-RO":Nb,"ru-RU":Mb,"sk-SK":zb,"sl-SI":Fb,"sr-SP":Lb,"sv-SE":Kb,"tr-TR":jb,"uk-UA":Vb,"zh-CN":Bb,"zh-TW":Rb};const Ik={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function Ak(){let e=Kt($k(cb)),t=Ek(),r=Ok();return{dropProps:{...Di(r?e.format(Ik[t]):""),onClick:()=>{}}}}const Nk=800;function Mk(e){let[t,r]=l.useState(!1),n=l.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Te.all,dropActivateTimer:null}).current,o=p=>{if(r(!0),typeof e.onDropEnter=="function"){let m=p.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:p.clientX-m.x,y:p.clientY-m.y})}},a=p=>{if(r(!1),typeof e.onDropExit=="function"){let m=p.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:p.clientX-m.x,y:p.clientY-m.y})}},i=p=>{p.preventDefault(),p.stopPropagation();let m=Wb(p);if(p.clientX===n.x&&p.clientY===n.y&&m===n.allowedOperations){p.dataTransfer.dropEffect=n.dropEffect;return}n.x=p.clientX,n.y=p.clientY;let b=n.dropEffect;if(m!==n.allowedOperations){let g=Rs(m),v=g[0];if(typeof e.getDropOperation=="function"){let $=new Go(p.dataTransfer);v=Yo(m,e.getDropOperation($,g))}n.dropEffect=Ks[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new Go(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),$=Yo(m,e.getDropOperationForPoint(g,Rs(m),n.x-v.x,n.y-v.y));n.dropEffect=Ks[$]||"none"}if(n.allowedOperations=m,p.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&b!=="none"?a(p):n.dropEffect!=="none"&&b==="none"&&o(p),typeof e.onDropMove=="function"&&n.dropEffect!=="none"){let g=p.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=p.currentTarget.getBoundingClientRect();n.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:n.x-g.x,y:n.y-g.y})},Nk)}},s=p=>{if(p.preventDefault(),p.stopPropagation(),n.dragOverElements.add(p.target),n.dragOverElements.size>1)return;let m=Wb(p),b=Rs(m),g=b[0];if(typeof e.getDropOperation=="function"){let v=new Go(p.dataTransfer);g=Yo(m,e.getDropOperation(v,b))}if(typeof e.getDropOperationForPoint=="function"){let v=new Go(p.dataTransfer),$=p.currentTarget.getBoundingClientRect();g=Yo(m,e.getDropOperationForPoint(v,b,p.clientX-$.x,p.clientY-$.y))}n.x=p.clientX,n.y=p.clientY,n.allowedOperations=m,n.dropEffect=Ks[g]||"none",p.dataTransfer.dropEffect=n.dropEffect,g!=="cancel"&&o(p)},c=p=>{p.preventDefault(),p.stopPropagation(),n.dragOverElements.delete(p.target);for(let m of n.dragOverElements)p.currentTarget.contains(m)||n.dragOverElements.delete(m);n.dragOverElements.size>0||(n.dropEffect!=="none"&&a(p),clearTimeout(n.dropActivateTimer))},d=p=>{if(p.preventDefault(),p.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let b=rb[n.dropEffect],g=Pk(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),$={type:"drop",x:p.clientX-v.x,y:p.clientY-v.y,items:g,dropOperation:b};e.onDrop($)}let m={...ob};n.dragOverElements.clear(),a(p),clearTimeout(n.dropActivateTimer),m.draggingCollectionRef==null||Dk(m)},u=l.useRef(e);u.current=e,Ne(()=>Ck({element:u.current.ref.current,getDropOperation:u.current.getDropOperation,onDropEnter(p){r(!0),typeof u.current.onDropEnter=="function"&&u.current.onDropEnter(p)},onDropExit(p){r(!1),typeof u.current.onDropExit=="function"&&u.current.onDropExit(p)},onDrop(p){typeof u.current.onDrop=="function"&&u.current.onDrop(p)},onDropActivate(p){typeof u.current.onDropActivate=="function"&&u.current.onDropActivate(p)}}),[u]);let{dropProps:f}=Ak();return{dropProps:{...f,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:d},isDropTarget:t}}function Wb(e){let t=tb[e.dataTransfer.effectAllowed];ab&&(t&=ab);let r=Te.none;return nr()?(e.altKey&&(r|=Te.copy),e.ctrlKey&&!Tu()&&(r|=Te.link),e.metaKey&&(r|=Te.move)):(e.altKey&&(r|=Te.link),e.shiftKey&&(r|=Te.move),e.ctrlKey&&(r|=Te.copy)),r?t&r:t}function Rs(e){let t=[];return e&Te.move&&t.push("move"),e&Te.copy&&t.push("copy"),e&Te.link&&t.push("link"),t}function Yo(e,t){let r=Te[t];return e&r?t:"cancel"}const kn=F.p`
|
|
1054
1054
|
font-family: ${h.font_family_sans};
|
|
1055
1055
|
font-style: var(--text-style, normal);
|
|
1056
1056
|
font-weight: var(--text-font-weight, 400);
|
|
@@ -1060,65 +1060,65 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1060
1060
|
hyphens: auto;
|
|
1061
1061
|
`,Ws=F(kn)`
|
|
1062
1062
|
max-width: 60ch; /* should check with designers */
|
|
1063
|
-
`,
|
|
1063
|
+
`,zk=F(Ws)`
|
|
1064
1064
|
letter-spacing: ${h.letter_spacing_body_large};
|
|
1065
1065
|
line-height: ${h.line_height_body_large};
|
|
1066
1066
|
font-size: ${h.font_size_body_large};
|
|
1067
|
-
`,
|
|
1067
|
+
`,Fk=F(Ws)`
|
|
1068
1068
|
letter-spacing: ${h.letter_spacing_body_medium};
|
|
1069
1069
|
line-height: ${h.line_height_body_medium};
|
|
1070
1070
|
font-size: ${h.font_size_body_medium};
|
|
1071
|
-
`,
|
|
1071
|
+
`,Lk=F(Ws)`
|
|
1072
1072
|
letter-spacing: ${h.letter_spacing_body_small};
|
|
1073
1073
|
line-height: ${h.line_height_body_small};
|
|
1074
1074
|
font-size: ${h.font_size_body_small};
|
|
1075
|
-
`,
|
|
1075
|
+
`,Kk={large:zk,medium:Fk,small:Lk};function jk({size:e="medium",...t}){const r=Kk[e];return C(r,{...t})}const qo=F.p`
|
|
1076
1076
|
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
1077
1077
|
font-family: ${h.font_family_sans};
|
|
1078
1078
|
font-style: normal;
|
|
1079
1079
|
font-weight: var(--text-font-weight, 400);
|
|
1080
1080
|
color: var(--text-color, ${h.color_text_strong});
|
|
1081
1081
|
margin-block: 0;
|
|
1082
|
-
`,
|
|
1082
|
+
`,Vk=F(qo)`
|
|
1083
1083
|
letter-spacing: ${h.letter_spacing_number_xsmall};
|
|
1084
1084
|
line-height: ${h.line_height_number_xsmall};
|
|
1085
1085
|
font-size: ${h.font_size_number_xsmall};
|
|
1086
|
-
`,
|
|
1086
|
+
`,Bk=F(qo)`
|
|
1087
1087
|
letter-spacing: ${h.letter_spacing_number_small};
|
|
1088
1088
|
line-height: ${h.line_height_number_small};
|
|
1089
1089
|
font-size: ${h.font_size_number_small};
|
|
1090
|
-
`,
|
|
1090
|
+
`,Rk=F(qo)`
|
|
1091
1091
|
letter-spacing: ${h.letter_spacing_number_medium};
|
|
1092
1092
|
line-height: ${h.line_height_number_medium};
|
|
1093
1093
|
font-size: ${h.font_size_number_medium};
|
|
1094
|
-
`,
|
|
1094
|
+
`,Wk=F(qo)`
|
|
1095
1095
|
letter-spacing: ${h.letter_spacing_number_large};
|
|
1096
1096
|
line-height: ${h.line_height_number_large};
|
|
1097
1097
|
font-size: ${h.font_size_number_large};
|
|
1098
|
-
`,
|
|
1098
|
+
`,Uk={xsmall:Vk,small:Bk,medium:Rk,large:Wk};function Hk({size:e="medium",...t}){const r=Uk[e];return C(r,{...t})}const Gk=F(kn)`
|
|
1099
1099
|
letter-spacing: ${h.letter_spacing_number_small};
|
|
1100
1100
|
line-height: ${h.line_height_number_small};
|
|
1101
1101
|
font-size: ${h.font_size_number_small};
|
|
1102
|
-
`,
|
|
1102
|
+
`,Yk=F(kn)`
|
|
1103
1103
|
letter-spacing: ${h.letter_spacing_number_xsmall};
|
|
1104
1104
|
line-height: ${h.line_height_number_xsmall};
|
|
1105
1105
|
font-size: ${h.font_size_number_xsmall};
|
|
1106
|
-
`,
|
|
1106
|
+
`,qk=F(kn)`
|
|
1107
1107
|
letter-spacing: ${h.letter_spacing_number_large};
|
|
1108
1108
|
line-height: ${h.line_height_number_large};
|
|
1109
1109
|
font-size: ${h.font_size_number_large};
|
|
1110
|
-
`,
|
|
1110
|
+
`,Zk=F(kn)`
|
|
1111
1111
|
letter-spacing: ${h.letter_spacing_number_medium};
|
|
1112
1112
|
line-height: ${h.line_height_number_medium};
|
|
1113
1113
|
font-size: ${h.font_size_number_medium};
|
|
1114
|
-
`,
|
|
1114
|
+
`,Xk={xsmall:Yk,small:Gk,medium:Zk,large:qk};function Jk({size:e="medium",...t}){const r=Xk[e];return C(r,{...t})}const Qk={caption:Jk,body:jk,number:Hk},eT={normal:{standard:h.color_text_standard,strong:h.color_text_strong,weak:h.color_text_weak},sentiment:{positive:h.color_text_sentiment_positive,negative:h.color_text_sentiment_negative,notice:h.color_text_sentiment_notice,neutral:h.color_text_sentiment_neutral}},Lr=l.forwardRef((e,t)=>{const{type:r="body",textType:n="normal",variant:o="standard",italic:a,bold:i,as:s,...c}=e,d=Qk[r],f=eT[n][o];return C(d,{as:s,...c,ref:t,style:{"--text-font-weight":i?500:400,"--text-color":f,"--text-style":a?"italic":"normal"}})});Lr.displayName="Text";const Us={small:"32px",large:"40px"},Ub={circle:h.border_radius_circle,square:h.border_radius_400},Zo=F.button`
|
|
1115
1115
|
all: unset;
|
|
1116
1116
|
appearance: none;
|
|
1117
1117
|
flex-shrink: 0;
|
|
1118
1118
|
display: grid;
|
|
1119
1119
|
line-height: 1;
|
|
1120
1120
|
place-items: center;
|
|
1121
|
-
border-radius: var(--icon-button-border-radius, ${
|
|
1121
|
+
border-radius: var(--icon-button-border-radius, ${Ub.square});
|
|
1122
1122
|
height: var(--icon-button-size, ${Us.small});
|
|
1123
1123
|
width: var(--icon-button-size, ${Us.small});
|
|
1124
1124
|
touch-action: none;
|
|
@@ -1143,7 +1143,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1143
1143
|
}
|
|
1144
1144
|
|
|
1145
1145
|
& > svg {
|
|
1146
|
-
line-height:
|
|
1146
|
+
line-height: 1;
|
|
1147
1147
|
font-size: ${h.font_size_200};
|
|
1148
1148
|
}
|
|
1149
1149
|
|
|
@@ -1152,7 +1152,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1152
1152
|
bottom: 0;
|
|
1153
1153
|
right: 0;
|
|
1154
1154
|
}
|
|
1155
|
-
`,
|
|
1155
|
+
`,tT=F(Zo)`
|
|
1156
1156
|
background: ${h.color_fill_primary_enabled};
|
|
1157
1157
|
color: ${h.color_white};
|
|
1158
1158
|
|
|
@@ -1169,7 +1169,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1169
1169
|
background: ${h.color_fill_primary_disabled};
|
|
1170
1170
|
color: ${h.color_fill_inverse_pressed};
|
|
1171
1171
|
}
|
|
1172
|
-
`,
|
|
1172
|
+
`,rT=F(Zo)`
|
|
1173
1173
|
background: ${h.color_fill_secondary_enabled};
|
|
1174
1174
|
color: ${h.color_fill_primary_enabled};
|
|
1175
1175
|
|
|
@@ -1186,7 +1186,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1186
1186
|
&:disabled {
|
|
1187
1187
|
background: ${h.color_fill_secondary_disabled};
|
|
1188
1188
|
}
|
|
1189
|
-
`,
|
|
1189
|
+
`,nT=F(Zo)`
|
|
1190
1190
|
background: ${h.color_fill_danger_enabled};
|
|
1191
1191
|
color: ${h.color_white};
|
|
1192
1192
|
|
|
@@ -1203,7 +1203,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1203
1203
|
&:disabled {
|
|
1204
1204
|
background: ${h.color_fill_danger_disabled};
|
|
1205
1205
|
}
|
|
1206
|
-
`,
|
|
1206
|
+
`,oT=F(Zo)`
|
|
1207
1207
|
background: ${h.color_white};
|
|
1208
1208
|
|
|
1209
1209
|
&:hover {
|
|
@@ -1217,7 +1217,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1217
1217
|
&:disabled {
|
|
1218
1218
|
background: ${h.color_fill_inverse_disabled};
|
|
1219
1219
|
}
|
|
1220
|
-
`,
|
|
1220
|
+
`,aT={primary:tT,secondary:rT,danger:nT,inverse:oT},Hs=l.forwardRef((e,t)=>{const r=ct(t),{label:n,size:o="small",variant:a="primary",shape:i="circle",disabled:s,onClick:c,autoFocus:d,children:u,...f}=e,p=ut(),m=s??p,{buttonProps:b,isPressed:g}=yn({onPress:c,isDisabled:m,autoFocus:d},r),{isFocusVisible:v,focusProps:$}=Or({autoFocus:d}),x=vp({isFocusVisible:v,isPressed:g}),w=aT[a],y=Ub[i],T=Us[o],N=ve($,f,b,{"data-state":x});return C(w,{ref:r,...N,style:{"--icon-button-size":T,"--icon-button-border-radius":y},children:C(on,{label:n,children:u})})});Hs.displayName="Button";const iT=F.div`
|
|
1221
1221
|
position: relative;
|
|
1222
1222
|
border-radius: ${h.border_radius_400};
|
|
1223
1223
|
border: 1px dashed ${h.color_fill_secondary_enabled};
|
|
@@ -1240,7 +1240,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1240
1240
|
&[data-state~='dropping'] {
|
|
1241
1241
|
border-color: ${h.color_outline_secondary_selected_pressed};
|
|
1242
1242
|
}
|
|
1243
|
-
`,
|
|
1243
|
+
`,sT=F.div`
|
|
1244
1244
|
border-radius: ${h.border_radius_circle};
|
|
1245
1245
|
display: grid;
|
|
1246
1246
|
place-content: center;
|
|
@@ -1252,24 +1252,24 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1252
1252
|
& > svg {
|
|
1253
1253
|
font-size: 1rem;
|
|
1254
1254
|
}
|
|
1255
|
-
`,
|
|
1255
|
+
`,lT=F.div`
|
|
1256
1256
|
display: flex;
|
|
1257
1257
|
gap: ${h.sizing_200};
|
|
1258
|
-
`,
|
|
1258
|
+
`,cT=F.div`
|
|
1259
1259
|
display: flex;
|
|
1260
1260
|
gap: ${h.sizing_500};
|
|
1261
1261
|
justify-content: space-between;
|
|
1262
1262
|
align-items: center;
|
|
1263
|
-
`,
|
|
1263
|
+
`,dT=F.div`
|
|
1264
1264
|
display: flex;
|
|
1265
1265
|
flex-direction: column;
|
|
1266
1266
|
gap: ${h.sizing_100};
|
|
1267
|
-
`,
|
|
1267
|
+
`,uT=F.footer`
|
|
1268
1268
|
margin-top: ${h.spacing_300};
|
|
1269
1269
|
display: flex;
|
|
1270
1270
|
justify-content: flex-end;
|
|
1271
1271
|
gap: ${h.sizing_200};
|
|
1272
|
-
`,
|
|
1272
|
+
`,fT=F.label`
|
|
1273
1273
|
cursor: pointer;
|
|
1274
1274
|
text-decoration: underline;
|
|
1275
1275
|
color: ${h.color_text_strong};
|
|
@@ -1289,23 +1289,23 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1289
1289
|
left: 0;
|
|
1290
1290
|
right: 0;
|
|
1291
1291
|
}
|
|
1292
|
-
`,
|
|
1292
|
+
`,pT=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),Hb=l.forwardRef((e,t)=>{const{file:r,onAddFile:n,onDeleteFile:o,fileTypes:a=[{name:"CSV",mime:"text/csv"}]}=e,i=ct(t),s=l.useId(),{dropProps:c,isDropTarget:d}=Mk({ref:i,onDrop:async f=>{const p=f.items.find(m=>m.kind==="file");if(p&&p.kind==="file"){const m=await p.getFile();n(m)}}}),u=f=>{var p;(p=f.target.files)!=null&&p[0]&&n(f.target.files[0])};return C(iT,{...c,role:"button",tabIndex:0,ref:i,"data-state":d?"dropping":"",children:r?ie(cT,{children:[C(Lr,{size:"large",children:r.name}),ie(mu,{children:[C(hu,{asChild:!0,children:C(Hs,{label:"Remove file",size:"small",variant:"danger",children:C(Fe.Delete,{})})}),ie(cp,{children:[C(Lr,{children:"Are you sure you want to remove this file?"}),ie(uT,{children:[C(bs,{asChild:!0,children:C(Nr,{variant:"secondary",size:"small",children:"Cancel"})}),C(bs,{asChild:!0,children:C(Nr,{variant:"danger",size:"small",onClick:()=>o==null?void 0:o(),children:"Confirm"})})]})]})]})]}):ie(lT,{children:[C(sT,{children:C(Fe.CloudUpload,{})}),ie(dT,{children:[ie(Lr,{variant:"weak",children:["Drag and drop to upload, or"," ",C(fT,{htmlFor:s,children:"browse files"})]}),ie(Lr,{variant:"weak",size:"small",children:["Supported formats:"," ",pT.format(a.map(f=>f.name))]})]}),C("input",{onChange:u,type:"file",hidden:!0,id:s,accept:a.map(f=>f.mime).join(",")})]})})});Hb.displayName="FileUpload";const Gs=F.h1`
|
|
1293
1293
|
font-family: ${h.font_family_inter_display};
|
|
1294
1294
|
font-weight: 500;
|
|
1295
1295
|
font-style: normal;
|
|
1296
1296
|
margin: 0;
|
|
1297
|
-
`,
|
|
1297
|
+
`,mT=F(Gs)`
|
|
1298
1298
|
letter-spacing: ${h.letter_spacing_heading_large};
|
|
1299
1299
|
font-size: ${h.font_size_heading_large};
|
|
1300
|
-
`,
|
|
1300
|
+
`,hT=F(Gs)`
|
|
1301
1301
|
letter-spacing: ${h.letter_spacing_heading_medium};
|
|
1302
1302
|
font-size: ${h.font_size_heading_medium};
|
|
1303
|
-
`,
|
|
1303
|
+
`,bT={small:F(Gs)`
|
|
1304
1304
|
letter-spacing: ${h.letter_spacing_heading_small};
|
|
1305
1305
|
font-size: ${h.font_size_heading_small};
|
|
1306
|
-
`,medium:
|
|
1306
|
+
`,medium:hT,large:mT},Gb=l.forwardRef((e,t)=>{const{children:r,as:n,size:o,...a}=e,i=bT[o];return C(i,{...a,ref:t,as:n,children:r})});Gb.displayName="Heading";const Ys="nav-menu-portal";var Yb=(e=>(e.Up="Up",e.Down="Down",e))(Yb||{});const qs=l.createContext({direction:"Down",menuRef:null,open:!1,setOpen:function(){throw new Error("Function not implemented.")}}),gT=F.div`
|
|
1307
1307
|
position: relative;
|
|
1308
|
-
`,Kr=l.forwardRef((e,t)=>{const[r,n]=l.useState(!1),o=ct(t);return l.useEffect(()=>{const a=document.getElementById(Ys);function i(s){const c=s.target;!o.current.contains(c)&&!(a!=null&&a.contains(c))&&n(!1)}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[o]),C(qs.Provider,{value:{menuRef:o,open:r,setOpen:n,direction:e.direction??"Down"},children:C(
|
|
1308
|
+
`,Kr=l.forwardRef((e,t)=>{const[r,n]=l.useState(!1),o=ct(t);return l.useEffect(()=>{const a=document.getElementById(Ys);function i(s){const c=s.target;!o.current.contains(c)&&!(a!=null&&a.contains(c))&&n(!1)}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[o]),C(qs.Provider,{value:{menuRef:o,open:r,setOpen:n,direction:e.direction??"Down"},children:C(gT,{ref:o,role:"menu",children:e.children})})});Kr.displayName="NavigationMenu";const vT=F.button`
|
|
1309
1309
|
cursor: pointer;
|
|
1310
1310
|
padding: 8px;
|
|
1311
1311
|
border: 1px solid transparent;
|
|
@@ -1317,7 +1317,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1317
1317
|
&:hover {
|
|
1318
1318
|
border: ${e=>e.open?"":"1px solid rgba(0, 0, 0, 0.16);"};
|
|
1319
1319
|
}
|
|
1320
|
-
`,
|
|
1320
|
+
`,qb=({children:e})=>{const{open:t,setOpen:r}=l.useContext(qs);return C(vT,{open:t,onClick:()=>r(!t),tabIndex:0,children:e})};Kr.Trigger=qb;const yT=F.div`
|
|
1321
1321
|
visibility: ${e=>e.open?"visible":"hidden"};
|
|
1322
1322
|
position: absolute;
|
|
1323
1323
|
width: ${e=>e.width}px;
|
|
@@ -1334,7 +1334,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1334
1334
|
0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03),
|
|
1335
1335
|
0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03),
|
|
1336
1336
|
0px 0px 8px rgba(0, 0, 0, 0.03);
|
|
1337
|
-
`,
|
|
1337
|
+
`,Zb=({children:e,portalIdOverride:t})=>{const[r,n]=l.useState(null),{direction:o,open:a,menuRef:i}=l.useContext(qs),[s,c]=l.useState(0),[d,u]=l.useState(0),[f,p]=l.useState(0),m=document.getElementById(t||Ys),b=l.useCallback(v=>{n(v)},[]),g=()=>{if(o==="Up"&&r&&i!=null&&i.current){const v=i.current.getBoundingClientRect();c(v.width),u(Math.floor(v.top-r.offsetHeight)),p(v.x)}if(o==="Down"&&i!=null&&i.current){const v=i.current.getBoundingClientRect();c(v.width),u(Math.ceil(v.y+v.height)),p(v.x)}};return l.useEffect(()=>{g()},[r==null?void 0:r.offsetHeight]),l.useEffect(()=>{const v=setTimeout(()=>{g()},1e3);return()=>{clearTimeout(v)}},[r]),l.useEffect(()=>(window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}),[r]),Ve.createPortal(C(yT,{width:s,top:d,left:f,ref:b,open:a,children:e}),m)};Kr.List=Zb;const $T=F.div`
|
|
1338
1338
|
color: #454749;
|
|
1339
1339
|
border-radius: ${h.border_radius_400};
|
|
1340
1340
|
margin: 4px;
|
|
@@ -1360,17 +1360,17 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1360
1360
|
&:hover {
|
|
1361
1361
|
background-color: #F5F5F5;
|
|
1362
1362
|
}
|
|
1363
|
-
`;function Zs({as:e,...t}){return C(
|
|
1363
|
+
`;function Zs({as:e,...t}){return C($T,{children:C(e??"div",{...t})})}Kr.Item=Zs;const xT=F.div`
|
|
1364
1364
|
margin: 0 4px;
|
|
1365
1365
|
border-top: 1px solid rgba(0, 0, 0, 0.12);
|
|
1366
|
-
`;function
|
|
1366
|
+
`;function Xb(){return C(xT,{})}Kr.Separator=Xb;const wT=Object.assign(Kr,{Trigger:qb,List:Zb,Item:Zs,Separator:Xb}),_T=()=>C("div",{id:Ys});function Xs(e){const t=e+"CollectionProvider",[r,n]=Re(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:b,children:g}=m,v=l.useRef(null),$=l.useRef(new Map).current;return l.createElement(o,{scope:b,itemMap:$,collectionRef:v},g)},s=e+"CollectionSlot",c=l.forwardRef((m,b)=>{const{scope:g,children:v}=m,$=a(s,g),x=pe(b,$.collectionRef);return l.createElement(Ke,{ref:x},v)}),d=e+"CollectionItemSlot",u="data-radix-collection-item",f=l.forwardRef((m,b)=>{const{scope:g,children:v,...$}=m,x=l.useRef(null),w=pe(b,x),y=a(d,g);return l.useEffect(()=>(y.itemMap.set(x,{ref:x,...$}),()=>void y.itemMap.delete(x))),l.createElement(Ke,{[u]:"",ref:w},v)});function p(m){const b=a(e+"CollectionConsumer",m);return l.useCallback(()=>{const v=b.collectionRef.current;if(!v)return[];const $=Array.from(v.querySelectorAll(`[${u}]`));return Array.from(b.itemMap.values()).sort((y,T)=>$.indexOf(y.ref.current)-$.indexOf(T.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:c,ItemSlot:f},p,n]}const Jb=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),ET=l.createContext(void 0);function Xo(e){const t=l.useContext(ET);return e||t||"ltr"}const Js="rovingFocusGroup.onEntryFocus",PT={bubbles:!1,cancelable:!0},Qs="RovingFocusGroup",[el,Qb,ST]=Xs(Qs),[kT,Jo]=Re(Qs,[ST]),[TT,DT]=kT(Qs),CT=l.forwardRef((e,t)=>l.createElement(el.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(el.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(OT,A({},e,{ref:t}))))),OT=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:d,...u}=e,f=l.useRef(null),p=pe(t,f),m=Xo(a),[b=null,g]=rt({prop:i,defaultProp:s,onChange:c}),[v,$]=l.useState(!1),x=Oe(d),w=Qb(r),y=l.useRef(!1),[T,N]=l.useState(0);return l.useEffect(()=>{const P=f.current;if(P)return P.addEventListener(Js,x),()=>P.removeEventListener(Js,x)},[x]),l.createElement(TT,{scope:r,orientation:n,dir:m,loop:o,currentTabStopId:b,onItemFocus:l.useCallback(P=>g(P),[g]),onItemShiftTab:l.useCallback(()=>$(!0),[]),onFocusableItemAdd:l.useCallback(()=>N(P=>P+1),[]),onFocusableItemRemove:l.useCallback(()=>N(P=>P-1),[])},l.createElement(Jb.div,A({tabIndex:v||T===0?-1:0,"data-orientation":n},u,{ref:p,style:{outline:"none",...e.style},onMouseDown:oe(e.onMouseDown,()=>{y.current=!0}),onFocus:oe(e.onFocus,P=>{const _=!y.current;if(P.target===P.currentTarget&&_&&!v){const I=new CustomEvent(Js,PT);if(P.currentTarget.dispatchEvent(I),!I.defaultPrevented){const W=w().filter(X=>X.focusable),D=W.find(X=>X.active),j=W.find(X=>X.id===b),O=[D,j,...W].filter(Boolean).map(X=>X.ref.current);e0(O)}}y.current=!1}),onBlur:oe(e.onBlur,()=>$(!1))})))}),IT="RovingFocusGroupItem",AT=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...i}=e,s=it(),c=a||s,d=DT(IT,r),u=d.currentTabStopId===c,f=Qb(r),{onFocusableItemAdd:p,onFocusableItemRemove:m}=d;return l.useEffect(()=>{if(n)return p(),()=>m()},[n,p,m]),l.createElement(el.ItemSlot,{scope:r,id:c,focusable:n,active:o},l.createElement(Jb.span,A({tabIndex:u?0:-1,"data-orientation":d.orientation},i,{ref:t,onMouseDown:oe(e.onMouseDown,b=>{n?d.onItemFocus(c):b.preventDefault()}),onFocus:oe(e.onFocus,()=>d.onItemFocus(c)),onKeyDown:oe(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){d.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const g=zT(b,d.orientation,d.dir);if(g!==void 0){b.preventDefault();let $=f().filter(x=>x.focusable).map(x=>x.ref.current);if(g==="last")$.reverse();else if(g==="prev"||g==="next"){g==="prev"&&$.reverse();const x=$.indexOf(b.currentTarget);$=d.loop?FT($,x+1):$.slice(x+1)}setTimeout(()=>e0($))}})})))}),NT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function MT(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function zT(e,t,r){const n=MT(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return NT[n]}function e0(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function FT(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const t0=CT,r0=AT,Qo=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),n0="Tabs",[LT,Q2]=Re(n0,[Jo]),o0=Jo(),[KT,tl]=LT(n0),jT=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:c="automatic",...d}=e,u=Xo(s),[f,p]=rt({prop:n,onChange:o,defaultProp:a});return l.createElement(KT,{scope:r,baseId:it(),value:f,onValueChange:p,orientation:i,dir:u,activationMode:c},l.createElement(Qo.div,A({dir:u,"data-orientation":i},d,{ref:t})))}),VT="TabsList",BT=l.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,a=tl(VT,r),i=o0(r);return l.createElement(t0,A({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:n}),l.createElement(Qo.div,A({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),RT="TabsTrigger",WT=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,i=tl(RT,r),s=o0(r),c=a0(i.baseId,n),d=i0(i.baseId,n),u=n===i.value;return l.createElement(r0,A({asChild:!0},s,{focusable:!o,active:u}),l.createElement(Qo.button,A({type:"button",role:"tab","aria-selected":u,"aria-controls":d,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c},a,{ref:t,onMouseDown:oe(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?i.onValueChange(n):f.preventDefault()}),onKeyDown:oe(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&i.onValueChange(n)}),onFocus:oe(e.onFocus,()=>{const f=i.activationMode!=="manual";!u&&!o&&f&&i.onValueChange(n)})})))}),UT="TabsContent",HT=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:a,...i}=e,s=tl(UT,r),c=a0(s.baseId,n),d=i0(s.baseId,n),u=n===s.value,f=l.useRef(u);return l.useEffect(()=>{const p=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(p)},[]),l.createElement(Xe,{present:o||u},({present:p})=>l.createElement(Qo.div,A({"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":c,hidden:!p,id:d,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),p&&a))});function a0(e,t){return`${e}-trigger-${t}`}function i0(e,t){return`${e}-content-${t}`}const GT=jT,YT=BT,qT=WT,ZT=HT,XT=F(GT)`
|
|
1367
1367
|
display: flex;
|
|
1368
1368
|
flex-direction: column;
|
|
1369
1369
|
font-family: ${h.font_family_sans};
|
|
1370
|
-
`,
|
|
1370
|
+
`,JT=F(YT)`
|
|
1371
1371
|
flex-shrink: 0;
|
|
1372
1372
|
display: flex;
|
|
1373
|
-
`,
|
|
1373
|
+
`,s0=F(qT)`
|
|
1374
1374
|
all: unset;
|
|
1375
1375
|
font-family: inherit;
|
|
1376
1376
|
color: ${h.color_text_weak};
|
|
@@ -1406,7 +1406,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1406
1406
|
position: relative;
|
|
1407
1407
|
box-shadow: 0 0 0 1px ${h.color_black};
|
|
1408
1408
|
}
|
|
1409
|
-
`,
|
|
1409
|
+
`,QT=F(s0)`
|
|
1410
1410
|
display: flex;
|
|
1411
1411
|
align-items: center;
|
|
1412
1412
|
gap: ${h.sizing_200};
|
|
@@ -1414,7 +1414,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1414
1414
|
& > svg {
|
|
1415
1415
|
font-size: 1rem;
|
|
1416
1416
|
}
|
|
1417
|
-
`,
|
|
1417
|
+
`,eD=F(ZT)`
|
|
1418
1418
|
flex-grow: 1;
|
|
1419
1419
|
padding: ${h.sizing_450};
|
|
1420
1420
|
background-color: white;
|
|
@@ -1423,11 +1423,11 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1423
1423
|
&:focus-visible {
|
|
1424
1424
|
box-shadow: ${h.elevation_interactive_low};
|
|
1425
1425
|
}
|
|
1426
|
-
`,
|
|
1426
|
+
`,tD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),rl="horizontal",rD=["horizontal","vertical"],l0=l.forwardRef((e,t)=>{const{decorative:r,orientation:n=rl,...o}=e,a=c0(n)?n:rl,s=r?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return l.createElement(tD.div,A({"data-orientation":a},s,o,{ref:t}))});l0.propTypes={orientation(e,t,r){const n=e[t],o=String(n);return n&&!c0(n)?new Error(nD(o,r)):null}};function nD(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
|
|
1427
1427
|
- horizontal
|
|
1428
1428
|
- vertical
|
|
1429
1429
|
|
|
1430
|
-
Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function c0(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const nl="dismissableLayer.update",oD="dismissableLayer.pointerDownOutside",aD="dismissableLayer.focusOutside";let d0;const u0=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),iD=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(u0),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,k=w>=x,N=lD(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!k||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=cD(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(d0=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),f0(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=d0)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),f0())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(nl,_),()=>document.removeEventListener(nl,_)},[]),l.createElement(Tt.div,A({},d,{ref:g,style:{pointerEvents:y?k?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))}),sD=l.forwardRef((e,t)=>{const r=l.useContext(u0),n=l.useRef(null),o=pe(t,n);return l.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),l.createElement(Tt.div,A({},e,{ref:o}))});function lD(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){p0(oD,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 cD(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&p0(aD,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 f0(){const e=new CustomEvent(nl);document.dispatchEvent(e)}function p0(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?c0(o,a):o.dispatchEvent(a)}const dD=iD,uD=sD,fD=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?Ve.createPortal(l.createElement(Tt.div,A({},o,{ref:t})),n):null}),m0=l.forwardRef((e,t)=>l.createElement(Tt.span,A({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),h0="ToastProvider",[ol,pD,mD]=Xs("Toast"),[b0,tI]=Re("Toast",[mD]),[hD,ea]=b0(h0),g0=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,c]=l.useState(null),[d,u]=l.useState(0),f=l.useRef(!1),p=l.useRef(!1);return l.createElement(ol.Provider,{scope:t},l.createElement(hD,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:d,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>u(m=>m+1),[]),onToastRemove:l.useCallback(()=>u(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p},i))};g0.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${h0}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const bD="ToastViewport",gD=["F8"],al="toast.viewportPause",il="toast.viewportResume",vD=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=gD,label:o="Notifications ({hotkey})",...a}=e,i=ea(bD,r),s=pD(r),c=l.useRef(null),d=l.useRef(null),u=l.useRef(null),f=l.useRef(null),p=pe(t,f,i.onViewportChange),m=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;l.useEffect(()=>{const v=$=>{var x;n.every(y=>$[y]||$.code===y)&&((x=f.current)===null||x===void 0||x.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[n]),l.useEffect(()=>{const v=c.current,$=f.current;if(b&&v&&$){const x=()=>{if(!i.isClosePausedRef.current){const N=new CustomEvent(al);$.dispatchEvent(N),i.isClosePausedRef.current=!0}},w=()=>{if(i.isClosePausedRef.current){const N=new CustomEvent(il);$.dispatchEvent(N),i.isClosePausedRef.current=!1}},y=N=>{!v.contains(N.relatedTarget)&&w()},k=()=>{v.contains(document.activeElement)||w()};return v.addEventListener("focusin",x),v.addEventListener("focusout",y),v.addEventListener("pointermove",x),v.addEventListener("pointerleave",k),window.addEventListener("blur",x),window.addEventListener("focus",w),()=>{v.removeEventListener("focusin",x),v.removeEventListener("focusout",y),v.removeEventListener("pointermove",x),v.removeEventListener("pointerleave",k),window.removeEventListener("blur",x),window.removeEventListener("focus",w)}}},[b,i.isClosePausedRef]);const g=l.useCallback(({tabbingDirection:v})=>{const x=s().map(w=>{const y=w.ref.current,k=[y,...AD(y)];return v==="forwards"?k:k.reverse()});return(v==="forwards"?x.reverse():x).flat()},[s]);return l.useEffect(()=>{const v=f.current;if(v){const $=x=>{const w=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!w){const _=document.activeElement,I=x.shiftKey;if(x.target===v&&I){var k;(k=d.current)===null||k===void 0||k.focus();return}const j=g({tabbingDirection:I?"backwards":"forwards"}),S=j.findIndex(O=>O===_);if(sl(j.slice(S+1)))x.preventDefault();else{var N,P;I?(N=d.current)===null||N===void 0||N.focus():(P=u.current)===null||P===void 0||P.focus()}}};return v.addEventListener("keydown",$),()=>v.removeEventListener("keydown",$)}},[s,g]),l.createElement(uD,{ref:c,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:b?void 0:"none"}},b&&l.createElement(v0,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});sl(v)}}),l.createElement(ol.Slot,{scope:r},l.createElement(Tt.ol,A({tabIndex:-1},a,{ref:p}))),b&&l.createElement(v0,{ref:u,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});sl(v)}}))}),yD="ToastFocusProxy",v0=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=ea(yD,r);return l.createElement(m0,A({"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()}}))}),ta="Toast",$D="toast.swipeStart",xD="toast.swipeMove",wD="toast.swipeCancel",_D="toast.swipeEnd",ED=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=rt({prop:n,defaultProp:o,onChange:a});return l.createElement(Xe,{present:r||s},l.createElement(y0,A({open:s},i,{ref:t,onClose:()=>c(!1),onPause:Oe(e.onPause),onResume:Oe(e.onResume),onSwipeStart:oe(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:oe(e.onSwipeMove,d=>{const{x:u,y:f}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:oe(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:oe(e.onSwipeEnd,d=>{const{x:u,y:f}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})))}),[PD,SD]=b0(ta,{onClose(){}}),y0=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:c,onResume:d,onSwipeStart:u,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:m,...b}=e,g=ea(ta,r),[v,$]=l.useState(null),x=pe(t,O=>$(O)),w=l.useRef(null),y=l.useRef(null),k=o||g.duration,N=l.useRef(0),P=l.useRef(k),_=l.useRef(0),{onToastAdd:I,onToastRemove:W}=g,D=Oe(()=>{var O;(v==null?void 0:v.contains(document.activeElement))&&((O=g.viewport)===null||O===void 0||O.focus()),i()}),j=l.useCallback(O=>{!O||O===1/0||(window.clearTimeout(_.current),N.current=new Date().getTime(),_.current=window.setTimeout(D,O))},[D]);l.useEffect(()=>{const O=g.viewport;if(O){const X=()=>{j(P.current),d==null||d()},se=()=>{const G=new Date().getTime()-N.current;P.current=P.current-G,window.clearTimeout(_.current),c==null||c()};return O.addEventListener(al,se),O.addEventListener(il,X),()=>{O.removeEventListener(al,se),O.removeEventListener(il,X)}}},[g.viewport,k,c,d,j]),l.useEffect(()=>{a&&!g.isClosePausedRef.current&&j(k)},[a,k,g.isClosePausedRef,j]),l.useEffect(()=>(I(),()=>W()),[I,W]);const S=l.useMemo(()=>v?_0(v):null,[v]);return g.viewport?l.createElement(l.Fragment,null,S&&l.createElement(kD,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},S),l.createElement(PD,{scope:r,onClose:D},Ve.createPortal(l.createElement(ol.ItemSlot,{scope:r},l.createElement(dD,{asChild:!0,onEscapeKeyDown:oe(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||D(),g.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(Tt.li,A({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection},b,{ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:oe(e.onKeyDown,O=>{O.key==="Escape"&&(s==null||s(O.nativeEvent),O.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:oe(e.onPointerDown,O=>{O.button===0&&(w.current={x:O.clientX,y:O.clientY})}),onPointerMove:oe(e.onPointerMove,O=>{if(!w.current)return;const X=O.clientX-w.current.x,se=O.clientY-w.current.y,G=Boolean(y.current),ae=["left","right"].includes(g.swipeDirection),te=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,K=ae?te(0,X):0,M=ae?0:te(0,se),L=O.pointerType==="touch"?10:2,V={x:K,y:M},R={originalEvent:O,delta:V};G?(y.current=V,ra(xD,f,R,{discrete:!1})):E0(V,g.swipeDirection,L)?(y.current=V,ra($D,u,R,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(X)>L||Math.abs(se)>L)&&(w.current=null)}),onPointerUp:oe(e.onPointerUp,O=>{const X=y.current,se=O.target;if(se.hasPointerCapture(O.pointerId)&&se.releasePointerCapture(O.pointerId),y.current=null,w.current=null,X){const G=O.currentTarget,ae={originalEvent:O,delta:X};E0(X,g.swipeDirection,g.swipeThreshold)?ra(_D,m,ae,{discrete:!0}):ra(wD,p,ae,{discrete:!0}),G.addEventListener("click",te=>te.preventDefault(),{once:!0})}})})))),g.viewport))):null});y0.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${ta}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const kD=e=>{const{__scopeToast:t,children:r,...n}=e,o=ea(ta,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return OD(()=>i(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(fD,{asChild:!0},l.createElement(m0,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},TD=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(Tt.div,A({},n,{ref:t}))}),DD="ToastAction",$0=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(w0,{altText:r,asChild:!0},l.createElement(x0,A({},n,{ref:t}))):null});$0.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${DD}\``)}};const CD="ToastClose",x0=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=SD(CD,r);return l.createElement(w0,{asChild:!0},l.createElement(Tt.button,A({type:"button"},n,{ref:t,onClick:oe(e.onClick,o.onClose)})))}),w0=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(Tt.div,A({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function _0(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),ID(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(..._0(n))}}),t}function ra(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?c0(o,a):o.dispatchEvent(a)}const E0=(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 OD(e=()=>{}){const t=Oe(e);De(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function ID(e){return e.nodeType===e.ELEMENT_NODE}function AD(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 sl(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const ND=g0,MD=vD,zD=ED,FD=TD,LD=$0,KD=x0,ll=25,jD=gt`
|
|
1430
|
+
Defaulting to \`${rl}\`.`}function c0(e){return rD.includes(e)}const oD=l0,Tt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function d0(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const nl="dismissableLayer.update",aD="dismissableLayer.pointerDownOutside",iD="dismissableLayer.focusOutside";let u0;const f0=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),sD=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(f0),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,T=w>=x,N=cD(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!T||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=dD(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(u0=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),p0(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=u0)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),p0())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(nl,_),()=>document.removeEventListener(nl,_)},[]),l.createElement(Tt.div,A({},d,{ref:g,style:{pointerEvents:y?T?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))}),lD=l.forwardRef((e,t)=>{const r=l.useContext(f0),n=l.useRef(null),o=pe(t,n);return l.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),l.createElement(Tt.div,A({},e,{ref:o}))});function cD(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){m0(aD,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 dD(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&m0(iD,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 p0(){const e=new CustomEvent(nl);document.dispatchEvent(e)}function m0(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?d0(o,a):o.dispatchEvent(a)}const uD=sD,fD=lD,pD=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?Ve.createPortal(l.createElement(Tt.div,A({},o,{ref:t})),n):null}),h0=l.forwardRef((e,t)=>l.createElement(Tt.span,A({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),b0="ToastProvider",[ol,mD,hD]=Xs("Toast"),[g0,rI]=Re("Toast",[hD]),[bD,ea]=g0(b0),v0=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,c]=l.useState(null),[d,u]=l.useState(0),f=l.useRef(!1),p=l.useRef(!1);return l.createElement(ol.Provider,{scope:t},l.createElement(bD,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:d,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>u(m=>m+1),[]),onToastRemove:l.useCallback(()=>u(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p},i))};v0.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${b0}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const gD="ToastViewport",vD=["F8"],al="toast.viewportPause",il="toast.viewportResume",yD=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=vD,label:o="Notifications ({hotkey})",...a}=e,i=ea(gD,r),s=mD(r),c=l.useRef(null),d=l.useRef(null),u=l.useRef(null),f=l.useRef(null),p=pe(t,f,i.onViewportChange),m=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;l.useEffect(()=>{const v=$=>{var x;n.every(y=>$[y]||$.code===y)&&((x=f.current)===null||x===void 0||x.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[n]),l.useEffect(()=>{const v=c.current,$=f.current;if(b&&v&&$){const x=()=>{if(!i.isClosePausedRef.current){const N=new CustomEvent(al);$.dispatchEvent(N),i.isClosePausedRef.current=!0}},w=()=>{if(i.isClosePausedRef.current){const N=new CustomEvent(il);$.dispatchEvent(N),i.isClosePausedRef.current=!1}},y=N=>{!v.contains(N.relatedTarget)&&w()},T=()=>{v.contains(document.activeElement)||w()};return v.addEventListener("focusin",x),v.addEventListener("focusout",y),v.addEventListener("pointermove",x),v.addEventListener("pointerleave",T),window.addEventListener("blur",x),window.addEventListener("focus",w),()=>{v.removeEventListener("focusin",x),v.removeEventListener("focusout",y),v.removeEventListener("pointermove",x),v.removeEventListener("pointerleave",T),window.removeEventListener("blur",x),window.removeEventListener("focus",w)}}},[b,i.isClosePausedRef]);const g=l.useCallback(({tabbingDirection:v})=>{const x=s().map(w=>{const y=w.ref.current,T=[y,...ND(y)];return v==="forwards"?T:T.reverse()});return(v==="forwards"?x.reverse():x).flat()},[s]);return l.useEffect(()=>{const v=f.current;if(v){const $=x=>{const w=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!w){const _=document.activeElement,I=x.shiftKey;if(x.target===v&&I){var T;(T=d.current)===null||T===void 0||T.focus();return}const j=g({tabbingDirection:I?"backwards":"forwards"}),S=j.findIndex(O=>O===_);if(sl(j.slice(S+1)))x.preventDefault();else{var N,P;I?(N=d.current)===null||N===void 0||N.focus():(P=u.current)===null||P===void 0||P.focus()}}};return v.addEventListener("keydown",$),()=>v.removeEventListener("keydown",$)}},[s,g]),l.createElement(fD,{ref:c,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:b?void 0:"none"}},b&&l.createElement(y0,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});sl(v)}}),l.createElement(ol.Slot,{scope:r},l.createElement(Tt.ol,A({tabIndex:-1},a,{ref:p}))),b&&l.createElement(y0,{ref:u,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});sl(v)}}))}),$D="ToastFocusProxy",y0=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=ea($D,r);return l.createElement(h0,A({"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()}}))}),ta="Toast",xD="toast.swipeStart",wD="toast.swipeMove",_D="toast.swipeCancel",ED="toast.swipeEnd",PD=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=rt({prop:n,defaultProp:o,onChange:a});return l.createElement(Xe,{present:r||s},l.createElement($0,A({open:s},i,{ref:t,onClose:()=>c(!1),onPause:Oe(e.onPause),onResume:Oe(e.onResume),onSwipeStart:oe(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:oe(e.onSwipeMove,d=>{const{x:u,y:f}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:oe(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:oe(e.onSwipeEnd,d=>{const{x:u,y:f}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})))}),[SD,kD]=g0(ta,{onClose(){}}),$0=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:c,onResume:d,onSwipeStart:u,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:m,...b}=e,g=ea(ta,r),[v,$]=l.useState(null),x=pe(t,O=>$(O)),w=l.useRef(null),y=l.useRef(null),T=o||g.duration,N=l.useRef(0),P=l.useRef(T),_=l.useRef(0),{onToastAdd:I,onToastRemove:W}=g,D=Oe(()=>{var O;(v==null?void 0:v.contains(document.activeElement))&&((O=g.viewport)===null||O===void 0||O.focus()),i()}),j=l.useCallback(O=>{!O||O===1/0||(window.clearTimeout(_.current),N.current=new Date().getTime(),_.current=window.setTimeout(D,O))},[D]);l.useEffect(()=>{const O=g.viewport;if(O){const X=()=>{j(P.current),d==null||d()},se=()=>{const G=new Date().getTime()-N.current;P.current=P.current-G,window.clearTimeout(_.current),c==null||c()};return O.addEventListener(al,se),O.addEventListener(il,X),()=>{O.removeEventListener(al,se),O.removeEventListener(il,X)}}},[g.viewport,T,c,d,j]),l.useEffect(()=>{a&&!g.isClosePausedRef.current&&j(T)},[a,T,g.isClosePausedRef,j]),l.useEffect(()=>(I(),()=>W()),[I,W]);const S=l.useMemo(()=>v?E0(v):null,[v]);return g.viewport?l.createElement(l.Fragment,null,S&&l.createElement(TD,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},S),l.createElement(SD,{scope:r,onClose:D},Ve.createPortal(l.createElement(ol.ItemSlot,{scope:r},l.createElement(uD,{asChild:!0,onEscapeKeyDown:oe(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||D(),g.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(Tt.li,A({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection},b,{ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:oe(e.onKeyDown,O=>{O.key==="Escape"&&(s==null||s(O.nativeEvent),O.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:oe(e.onPointerDown,O=>{O.button===0&&(w.current={x:O.clientX,y:O.clientY})}),onPointerMove:oe(e.onPointerMove,O=>{if(!w.current)return;const X=O.clientX-w.current.x,se=O.clientY-w.current.y,G=Boolean(y.current),ae=["left","right"].includes(g.swipeDirection),te=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,K=ae?te(0,X):0,M=ae?0:te(0,se),L=O.pointerType==="touch"?10:2,V={x:K,y:M},R={originalEvent:O,delta:V};G?(y.current=V,ra(wD,f,R,{discrete:!1})):P0(V,g.swipeDirection,L)?(y.current=V,ra(xD,u,R,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(X)>L||Math.abs(se)>L)&&(w.current=null)}),onPointerUp:oe(e.onPointerUp,O=>{const X=y.current,se=O.target;if(se.hasPointerCapture(O.pointerId)&&se.releasePointerCapture(O.pointerId),y.current=null,w.current=null,X){const G=O.currentTarget,ae={originalEvent:O,delta:X};P0(X,g.swipeDirection,g.swipeThreshold)?ra(ED,m,ae,{discrete:!0}):ra(_D,p,ae,{discrete:!0}),G.addEventListener("click",te=>te.preventDefault(),{once:!0})}})})))),g.viewport))):null});$0.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${ta}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const TD=e=>{const{__scopeToast:t,children:r,...n}=e,o=ea(ta,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return ID(()=>i(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(pD,{asChild:!0},l.createElement(h0,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},DD=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(Tt.div,A({},n,{ref:t}))}),CD="ToastAction",x0=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(_0,{altText:r,asChild:!0},l.createElement(w0,A({},n,{ref:t}))):null});x0.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${CD}\``)}};const OD="ToastClose",w0=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=kD(OD,r);return l.createElement(_0,{asChild:!0},l.createElement(Tt.button,A({type:"button"},n,{ref:t,onClick:oe(e.onClick,o.onClose)})))}),_0=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(Tt.div,A({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function E0(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),AD(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(...E0(n))}}),t}function ra(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?d0(o,a):o.dispatchEvent(a)}const P0=(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 ID(e=()=>{}){const t=Oe(e);De(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function AD(e){return e.nodeType===e.ELEMENT_NODE}function ND(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 sl(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const MD=v0,zD=yD,FD=PD,LD=DD,KD=x0,jD=w0,ll=25,VD=gt`
|
|
1431
1431
|
0% {
|
|
1432
1432
|
opacity: 1
|
|
1433
1433
|
}
|
|
@@ -1435,7 +1435,7 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1435
1435
|
100% {
|
|
1436
1436
|
opacity: 0
|
|
1437
1437
|
}
|
|
1438
|
-
`,
|
|
1438
|
+
`,BD=gt`
|
|
1439
1439
|
from {
|
|
1440
1440
|
transform: translateX(calc(100% + ${ll}px));
|
|
1441
1441
|
}
|
|
@@ -1443,16 +1443,16 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1443
1443
|
to {
|
|
1444
1444
|
transform: translateX(0);
|
|
1445
1445
|
}
|
|
1446
|
-
`,
|
|
1446
|
+
`,RD=gt`
|
|
1447
1447
|
from {
|
|
1448
1448
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
1449
1449
|
}
|
|
1450
1450
|
to {
|
|
1451
1451
|
transform: translateX(calc(100% + ${ll}px));
|
|
1452
1452
|
}
|
|
1453
|
-
`,
|
|
1453
|
+
`,WD=F(KD)`
|
|
1454
1454
|
all: unset;
|
|
1455
|
-
`,
|
|
1455
|
+
`,S0=F(jD)`
|
|
1456
1456
|
all: unset;
|
|
1457
1457
|
display: grid;
|
|
1458
1458
|
width: ${h.sizing_500};
|
|
@@ -1469,7 +1469,7 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1469
1469
|
& > svg {
|
|
1470
1470
|
font-size: 0.95rem;
|
|
1471
1471
|
}
|
|
1472
|
-
`,
|
|
1472
|
+
`,UD=F(LD)`
|
|
1473
1473
|
font-family: ${h.font_family_sans};
|
|
1474
1474
|
font-style: normal;
|
|
1475
1475
|
font-weight: 500;
|
|
@@ -1478,7 +1478,7 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1478
1478
|
letter-spacing: ${h.letter_spacing_tight};
|
|
1479
1479
|
display: flex;
|
|
1480
1480
|
align-items: center;
|
|
1481
|
-
`,
|
|
1481
|
+
`,k0=F(oD)`
|
|
1482
1482
|
background-color: var(--color-separator);
|
|
1483
1483
|
|
|
1484
1484
|
&[data-orientation='horizontal'] {
|
|
@@ -1492,7 +1492,7 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1492
1492
|
height: 100%;
|
|
1493
1493
|
width: 1;
|
|
1494
1494
|
}
|
|
1495
|
-
`,
|
|
1495
|
+
`,HD={info:h.color_background_white_standard,inverse:h.color_background_sentiment_neutral,negative:h.color_background_sentiment_negative},GD={info:h.color_text_standard,inverse:h.color_background_white_standard,negative:h.color_background_white_standard},YD={info:h.color_divider_weak,inverse:h.color_divider_inverse_weak,negative:h.color_divider_inverse_weak},qD=F(zD)`
|
|
1496
1496
|
position: fixed;
|
|
1497
1497
|
bottom: 0;
|
|
1498
1498
|
right: 0;
|
|
@@ -1505,7 +1505,7 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1505
1505
|
list-style: none;
|
|
1506
1506
|
z-index: 30;
|
|
1507
1507
|
outline: none;
|
|
1508
|
-
`,
|
|
1508
|
+
`,ZD=F(FD)`
|
|
1509
1509
|
display: flex;
|
|
1510
1510
|
flex-direction: row;
|
|
1511
1511
|
align-items: center;
|
|
@@ -1518,15 +1518,15 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1518
1518
|
border-radius: ${h.border_radius_400};
|
|
1519
1519
|
|
|
1520
1520
|
& > svg {
|
|
1521
|
-
line-height:
|
|
1521
|
+
line-height: 1;
|
|
1522
1522
|
}
|
|
1523
1523
|
|
|
1524
1524
|
&[data-state~='open'] {
|
|
1525
|
-
animation: ${
|
|
1525
|
+
animation: ${BD} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
1528
|
&[data-state~='closed'] {
|
|
1529
|
-
animation: ${
|
|
1529
|
+
animation: ${VD} 100ms ease-in;
|
|
1530
1530
|
}
|
|
1531
1531
|
|
|
1532
1532
|
&[data-swipe='move'] {
|
|
@@ -1539,41 +1539,41 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1539
1539
|
}
|
|
1540
1540
|
|
|
1541
1541
|
&[data-swipe='end'] {
|
|
1542
|
-
animation: ${
|
|
1542
|
+
animation: ${RD} 100ms ease-out;
|
|
1543
1543
|
}
|
|
1544
|
-
`;function
|
|
1544
|
+
`;function XD({children:e,...t}){return C(MD,{...t,children:e})}function JD({title:e,children:t,sentiment:r,onDismiss:n,...o}){const a=HD[r],i=GD[r],s=YD[r];return ie(ZD,{style:{"--color-background-notification":a,"--color-notification":i},...o,children:[r==="negative"?C(Fe.Warning,{height:18}):null,C(UD,{children:e}),C(k0,{style:{"--color-separator":s}}),t,C(S0,{onClick:n,children:C(on,{label:"Dismiss notification",children:C(Fe.Close,{width:18,height:18})})})]})}const QD=F.div`
|
|
1545
1545
|
display: grid;
|
|
1546
1546
|
grid-template-columns: repeat(12, minmax(var(--min-col-width, 0), 150px));
|
|
1547
1547
|
column-gap: ${h.sizing_600};
|
|
1548
|
-
`,
|
|
1548
|
+
`,T0=qt`
|
|
1549
1549
|
width: clamp(
|
|
1550
1550
|
var(--page-min-width, 750px),
|
|
1551
1551
|
var(--page-ideal-width, 85%),
|
|
1552
1552
|
var(--page-max-width, 1600px)
|
|
1553
1553
|
);
|
|
1554
1554
|
max-width: 100%;
|
|
1555
|
-
`,
|
|
1556
|
-
${
|
|
1555
|
+
`,D0=F.div`
|
|
1556
|
+
${T0}
|
|
1557
1557
|
min-height: 100%;
|
|
1558
1558
|
margin: 0 auto;
|
|
1559
1559
|
padding: 0 ${h.sizing_100};
|
|
1560
|
-
`,
|
|
1560
|
+
`,e6=F.div`
|
|
1561
1561
|
padding-top: ${h.sizing_600};
|
|
1562
1562
|
padding-bottom: ${h.sizing_800};
|
|
1563
|
-
`,
|
|
1563
|
+
`,C0=F.header`
|
|
1564
1564
|
display: flex;
|
|
1565
1565
|
flex-direction: column;
|
|
1566
1566
|
gap: ${h.sizing_500};
|
|
1567
1567
|
padding-block: ${h.sizing_500};
|
|
1568
1568
|
margin: 0 auto;
|
|
1569
|
-
`,
|
|
1569
|
+
`,t6=F.header`
|
|
1570
1570
|
z-index: 1;
|
|
1571
1571
|
position: sticky;
|
|
1572
1572
|
top: 0;
|
|
1573
1573
|
background-color: white;
|
|
1574
1574
|
box-shadow: ${h.elevation_interactive_low},
|
|
1575
1575
|
${h.elevation_interactive_medium};
|
|
1576
|
-
`,
|
|
1576
|
+
`,r6=({children:e,className:t})=>C(t6,{className:t,children:C(D0,{children:C(C0,{as:"div",children:e})})}),n6=F.div`
|
|
1577
1577
|
display: flex;
|
|
1578
1578
|
align-items: center;
|
|
1579
1579
|
gap: ${h.sizing_200};
|
|
@@ -1581,7 +1581,7 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1581
1581
|
& > :first-child {
|
|
1582
1582
|
margin-right: auto;
|
|
1583
1583
|
}
|
|
1584
|
-
`,
|
|
1584
|
+
`,O0=F(Nr)`
|
|
1585
1585
|
display: grid;
|
|
1586
1586
|
place-content: center;
|
|
1587
1587
|
border-radius: ${h.border_radius_400};
|
|
@@ -1594,18 +1594,18 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
1596
|
& > svg {
|
|
1597
|
-
line-height:
|
|
1597
|
+
line-height: 1;
|
|
1598
1598
|
font-size: ${h.font_size_200};
|
|
1599
1599
|
}
|
|
1600
|
-
`,na=l.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,a=r==="left"?C(Fe.NavigateBefore,{}):C(Fe.NavigateNext,{});return C(
|
|
1600
|
+
`,na=l.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,a=r==="left"?C(Fe.NavigateBefore,{}):C(Fe.NavigateNext,{});return C(O0,{variant:"inverse",emphasis:"high",ref:t,...o,children:C(on,{label:n,children:a})})});na.displayName="PaginatorButton";const o6=F(O0)`
|
|
1601
1601
|
&[aria-current='true'] {
|
|
1602
1602
|
background-color: ${h.color_overlay_secondary_selected_enabled};
|
|
1603
1603
|
}
|
|
1604
|
-
`,oa=l.forwardRef((e,t)=>{const{children:r,...n}=e;return C(
|
|
1604
|
+
`,oa=l.forwardRef((e,t)=>{const{children:r,...n}=e;return C(o6,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});oa.displayName="PaginatorNumber";const a6=F.nav`
|
|
1605
1605
|
display: flex;
|
|
1606
1606
|
gap: 4px;
|
|
1607
1607
|
width: min-content;
|
|
1608
|
-
`;function
|
|
1608
|
+
`;function i6({nrOfPages:e,currentPage:t,onPrevious:r,onClick:n,onNext:o,className:a,ariaLabel:i="Pagination Navigation"}){const s=Array.from({length:e},(m,b)=>b),c=6;let d=s;const u=c-1;if(e>5){const m=e-1;t>e-u?d=[0,-1,...s.slice(-u)]:t+1<u?d=[...s.slice(0,u),-1,m]:d=[0,-1,...d.slice(t-1,t),t,...d.slice(t+1,t+2),-1,m]}const f=t===0,p=t===e-1;return ie(a6,{"aria-label":i,className:a,children:[C(na,{direction:"left",label:"Previous",disabled:f,onClick:f?void 0:r}),d.map((m,b)=>m>-1?C(oa,{"aria-current":m===t,"aria-label":`Page ${m+1}`,onClick:()=>n(m),children:m+1},m):C(oa,{as:"span",children:"..."},`${m}-${b}`)),C(na,{direction:"right",label:"Next",title:"next",disabled:p,onClick:p?void 0:o})]})}const cl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),I0="Radio",[s6,A0]=Re(I0),[l6,c6]=s6(I0),d6=l.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:a,disabled:i,value:s="on",onCheck:c,...d}=e,[u,f]=l.useState(null),p=pe(t,g=>f(g)),m=l.useRef(!1),b=u?Boolean(u.closest("form")):!0;return l.createElement(l6,{scope:r,checked:o,disabled:i},l.createElement(cl.button,A({type:"button",role:"radio","aria-checked":o,"data-state":N0(o),"data-disabled":i?"":void 0,disabled:i,value:s},d,{ref:p,onClick:oe(e.onClick,g=>{o||c==null||c(),b&&(m.current=g.isPropagationStopped(),m.current||g.stopPropagation())})})),b&&l.createElement(p6,{control:u,bubbles:!m.current,name:n,value:s,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),u6="RadioIndicator",f6=l.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,a=c6(u6,r);return l.createElement(Xe,{present:n||a.checked},l.createElement(cl.span,A({"data-state":N0(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),p6=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=No(r),s=wr(t);return l.useEffect(()=>{const c=a.current,d=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&f){const p=new Event("click",{bubbles:n});f.call(c,r),c.dispatchEvent(p)}},[i,r,n]),l.createElement("input",A({type:"radio","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function N0(e){return e?"checked":"unchecked"}const m6=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],M0="RadioGroup",[h6,oI]=Re(M0,[Jo,A0]),z0=Jo(),F0=A0(),[b6,g6]=h6(M0),v6=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:a,required:i=!1,disabled:s=!1,orientation:c,dir:d,loop:u=!0,onValueChange:f,...p}=e,m=z0(r),b=Xo(d),[g,v]=rt({prop:a,defaultProp:o,onChange:f});return l.createElement(b6,{scope:r,name:n,required:i,disabled:s,value:g,onValueChange:v},l.createElement(t0,A({asChild:!0},m,{orientation:c,dir:b,loop:u}),l.createElement(cl.div,A({role:"radiogroup","aria-required":i,"aria-orientation":c,"data-disabled":s?"":void 0,dir:b},p,{ref:t}))))}),y6="RadioGroupItem",$6=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,a=g6(y6,r),i=a.disabled||n,s=z0(r),c=F0(r),d=l.useRef(null),u=pe(t,d),f=a.value===o.value,p=l.useRef(!1);return l.useEffect(()=>{const m=g=>{m6.includes(g.key)&&(p.current=!0)},b=()=>p.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",b)}},[]),l.createElement(r0,A({asChild:!0},s,{focusable:!i,active:f}),l.createElement(d6,A({disabled:i,required:a.required,checked:f},c,o,{name:a.name,ref:u,onCheck:()=>a.onValueChange(o.value),onKeyDown:oe(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:oe(o.onFocus,()=>{var m;p.current&&((m=d.current)===null||m===void 0||m.click())})})))}),x6=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=F0(r);return l.createElement(f6,A({},o,n,{ref:t}))}),w6=v6,_6=$6,E6=x6,L0=F(_6)`
|
|
1609
1609
|
all: unset;
|
|
1610
1610
|
--radio-width: ${h.sizing_600};
|
|
1611
1611
|
--inner-circle-color: ${h.color_white};
|
|
@@ -1664,7 +1664,7 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1664
1664
|
cursor: not-allowed;
|
|
1665
1665
|
color: ${h.color_fill_primary_disabled};
|
|
1666
1666
|
}
|
|
1667
|
-
`,
|
|
1667
|
+
`,K0=F(E6)`
|
|
1668
1668
|
display: grid;
|
|
1669
1669
|
place-items: center;
|
|
1670
1670
|
width: 100%;
|
|
@@ -1695,7 +1695,7 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1695
1695
|
border-radius: ${h.border_radius_circle};
|
|
1696
1696
|
background-color: var(--inner-circle-color);
|
|
1697
1697
|
}
|
|
1698
|
-
`;function E6({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=ut(),i=t??a,s=Vo();return C(x6,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function P6({disabled:e,...t}){const r=ut(),n=e??r,o=Vo();return C(F0,{...t,...o,disabled:n,children:C(L0,{})})}function K0(e,[t,r]){return Math.min(r,Math.max(t,e))}const je=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function S6(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const dl="dismissableLayer.update",k6="dismissableLayer.pointerDownOutside",T6="dismissableLayer.focusOutside";let j0;const D6=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),C6=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(D6),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,k=w>=x,N=O6(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!k||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=I6(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(j0=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),V0(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=j0)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),V0())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(dl,_),()=>document.removeEventListener(dl,_)},[]),l.createElement(je.div,A({},d,{ref:g,style:{pointerEvents:y?k?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))});function O6(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){B0(k6,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 I6(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&B0(T6,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 V0(){const e=new CustomEvent(dl);document.dispatchEvent(e)}function B0(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?S6(o,a):o.dispatchEvent(a)}const R0="Popper",[ul,W0]=Re(R0),[A6,U0]=ul(R0),N6=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(A6,{scope:t,anchor:n,onAnchorChange:o},r)},M6="PopperAnchor",z6=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=U0(M6,r),i=l.useRef(null),s=pe(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(je.div,A({},o,{ref:s}))}),aa="PopperContent",[F6,aI]=ul(aa),[L6,K6]=ul(aa,{hasParent:!1,positionUpdateFns:new Set}),j6=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,d;const{__scopePopper:u,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:y=!0,onPlaced:k,...N}=e,P=U0(aa,u),[_,I]=l.useState(null),W=pe(t,_e=>I(_e)),[D,j]=l.useState(null),S=wr(D),O=(r=S==null?void 0:S.width)!==null&&r!==void 0?r:0,X=(n=S==null?void 0:S.height)!==null&&n!==void 0?n:0,se=f+(m!=="center"?"-"+m:""),G=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},ae=Array.isArray(v)?v:[v],te=ae.length>0,K={padding:G,boundary:ae.filter(B6),altBoundary:te},{reference:M,floating:L,strategy:V,x:R,y:J,placement:T,middlewareData:B,update:z}=yi({strategy:"fixed",placement:se,whileElementsMounted:bi,middleware:[R6(),di({mainAxis:p+X,alignmentAxis:b}),y?ui({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?fi():void 0,...K}):void 0,D?$i({element:D,padding:g}):void 0,y?li({...K}):void 0,pi({...K,apply:({elements:_e,availableWidth:Se,availableHeight:le})=>{_e.floating.style.setProperty("--radix-popper-available-width",`${Se}px`),_e.floating.style.setProperty("--radix-popper-available-height",`${le}px`)}}),W6({arrowWidth:O,arrowHeight:X}),w?ci({strategy:"referenceHidden"}):void 0].filter(V6)});De(()=>{M(P.anchor)},[M,P.anchor]);const Q=R!==null&&J!==null,[q,ee]=H0(T),Y=Oe(k);De(()=>{Q&&(Y==null||Y())},[Q,Y]);const ue=(o=B.arrow)===null||o===void 0?void 0:o.x,be=(a=B.arrow)===null||a===void 0?void 0:a.y,ce=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ye,de]=l.useState();De(()=>{_&&de(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:$e,positionUpdateFns:xe}=K6(aa,u),he=!$e;l.useLayoutEffect(()=>{if(!he)return xe.add(z),()=>{xe.delete(z)}},[he,xe,z]),De(()=>{he&&Q&&Array.from(xe).reverse().forEach(_e=>requestAnimationFrame(_e))},[he,Q,xe]);const Be={"data-side":q,"data-align":ee,...N,ref:W,style:{...N.style,animation:Q?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:L,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:Q?`translate3d(${Math.round(R)}px, ${Math.round(J)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ye,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(d=B.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},l.createElement(F6,{scope:u,placedSide:q,onArrowChange:j,arrowX:ue,arrowY:be,shouldHideArrow:ce},he?l.createElement(L6,{scope:u,hasParent:!0,positionUpdateFns:xe},l.createElement(je.div,Be)):l.createElement(je.div,Be)))});function V6(e){return e!==void 0}function B6(e){return e!==null}const R6=()=>({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`),{}}}),W6=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,f=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=H0(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)+p/2,x=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",y="";return b==="bottom"?(w=f?v:`${$}px`,y=`${-m}px`):b==="top"?(w=f?v:`${$}px`,y=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,y=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,y=f?v:`${x}px`),{data:{x:w,y}}}});function H0(e){const[t,r="center"]=e.split("-");return[t,r]}const U6=N6,H6=z6,G6=j6,Y6=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?Ve.createPortal(l.createElement(je.div,A({},o,{ref:t})),n):null}),q6=l.forwardRef((e,t)=>l.createElement(je.span,A({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Z6=[" ","Enter","ArrowUp","ArrowDown"],X6=[" ","Enter"],ia="Select",[sa,la,J6]=Xs(ia),[jr,iI]=Re(ia,[J6,W0]),fl=W0(),[Q6,dr]=jr(ia),[e4,t4]=jr(ia),r4=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:c,dir:d,name:u,autoComplete:f,disabled:p,required:m}=e,b=fl(t),[g,v]=l.useState(null),[$,x]=l.useState(null),[w,y]=l.useState(!1),k=Xo(d),[N=!1,P]=rt({prop:n,defaultProp:o,onChange:a}),[_,I]=rt({prop:i,defaultProp:s,onChange:c}),W=l.useRef(null),D=g?Boolean(g.closest("form")):!0,[j,S]=l.useState(new Set),O=Array.from(j).map(X=>X.props.value).join(";");return l.createElement(U6,b,l.createElement(Q6,{required:m,scope:t,trigger:g,onTriggerChange:v,valueNode:$,onValueNodeChange:x,valueNodeHasChildren:w,onValueNodeHasChildrenChange:y,contentId:it(),value:_,onValueChange:I,open:N,onOpenChange:P,dir:k,triggerPointerDownPosRef:W,disabled:p},l.createElement(sa.Provider,{scope:t},l.createElement(e4,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(X=>{S(se=>new Set(se).add(X))},[]),onNativeOptionRemove:l.useCallback(X=>{S(se=>{const G=new Set(se);return G.delete(X),G})},[])},r)),D?l.createElement(eg,{key:O,"aria-hidden":!0,required:m,tabIndex:-1,name:u,autoComplete:f,value:_,onChange:X=>I(X.target.value),disabled:p},_===void 0?l.createElement("option",{value:""}):null,Array.from(j)):null))},n4="SelectTrigger",o4=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=fl(r),i=dr(n4,r),s=i.disabled||n,c=pe(t,i.onTriggerChange),d=la(r),[u,f,p]=tg(b=>{const g=d().filter(x=>!x.disabled),v=g.find(x=>x.value===i.value),$=rg(g,b,v);$!==void 0&&i.onValueChange($.value)}),m=()=>{s||(i.onOpenChange(!0),p())};return l.createElement(H6,A({asChild:!0},a),l.createElement(je.button,A({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:c,onClick:oe(o.onClick,b=>{b.currentTarget.focus()}),onPointerDown:oe(o.onPointerDown,b=>{const g=b.target;g.hasPointerCapture(b.pointerId)&&g.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(m(),i.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)},b.preventDefault())}),onKeyDown:oe(o.onKeyDown,b=>{const g=u.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&f(b.key),!(g&&b.key===" ")&&Z6.includes(b.key)&&(m(),b.preventDefault())})})))}),a4="SelectValue",i4=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,c=dr(a4,r),{onValueNodeHasChildrenChange:d}=c,u=a!==void 0,f=pe(t,c.onValueNodeChange);return De(()=>{d(u)},[d,u]),l.createElement(je.span,A({},s,{ref:f,style:{pointerEvents:"none"}}),c.value===void 0&&i!==void 0?i:a)}),s4=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(je.span,A({"aria-hidden":!0},o,{ref:t}),n||"▼")}),l4=e=>l.createElement(Y6,A({asChild:!0},e)),Vr="SelectContent",c4=l.forwardRef((e,t)=>{const r=dr(Vr,e.__scopeSelect),[n,o]=l.useState();if(De(()=>{o(new DocumentFragment)},[]),!r.open){const a=n;return a?Ve.createPortal(l.createElement(G0,{scope:e.__scopeSelect},l.createElement(sa.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),a):null}return l.createElement(d4,A({},e,{ref:t}))}),Dt=10,[G0,ur]=jr(Vr),d4=l.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:i,side:s,sideOffset:c,align:d,alignOffset:u,arrowPadding:f,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:g,avoidCollisions:v,...$}=e,x=dr(Vr,r),[w,y]=l.useState(null),[k,N]=l.useState(null),P=pe(t,B=>y(B)),[_,I]=l.useState(null),[W,D]=l.useState(null),j=la(r),[S,O]=l.useState(!1),X=l.useRef(!1);l.useEffect(()=>{if(w)return La(w)},[w]),Ia();const se=l.useCallback(B=>{const[z,...Q]=j().map(Y=>Y.ref.current),[q]=Q.slice(-1),ee=document.activeElement;for(const Y of B)if(Y===ee||(Y==null||Y.scrollIntoView({block:"nearest"}),Y===z&&k&&(k.scrollTop=0),Y===q&&k&&(k.scrollTop=k.scrollHeight),Y==null||Y.focus(),document.activeElement!==ee))return},[j,k]),G=l.useCallback(()=>se([_,w]),[se,_,w]);l.useEffect(()=>{S&&G()},[S,G]);const{onOpenChange:ae,triggerPointerDownPosRef:te}=x;l.useEffect(()=>{if(w){let B={x:0,y:0};const z=q=>{var ee,Y,ue,be;B={x:Math.abs(Math.round(q.pageX)-((ee=(Y=te.current)===null||Y===void 0?void 0:Y.x)!==null&&ee!==void 0?ee:0)),y:Math.abs(Math.round(q.pageY)-((ue=(be=te.current)===null||be===void 0?void 0:be.y)!==null&&ue!==void 0?ue:0))}},Q=q=>{B.x<=10&&B.y<=10?q.preventDefault():w.contains(q.target)||ae(!1),document.removeEventListener("pointermove",z),te.current=null};return te.current!==null&&(document.addEventListener("pointermove",z),document.addEventListener("pointerup",Q,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",z),document.removeEventListener("pointerup",Q,{capture:!0})}}},[w,ae,te]),l.useEffect(()=>{const B=()=>ae(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[ae]);const[K,M]=tg(B=>{const z=j().filter(ee=>!ee.disabled),Q=z.find(ee=>ee.ref.current===document.activeElement),q=rg(z,B,Q);q&&setTimeout(()=>q.ref.current.focus())}),L=l.useCallback((B,z,Q)=>{const q=!X.current&&!Q;(x.value!==void 0&&x.value===z||q)&&(I(B),q&&(X.current=!0))},[x.value]),V=l.useCallback(()=>w==null?void 0:w.focus(),[w]),R=l.useCallback((B,z,Q)=>{const q=!X.current&&!Q;(x.value!==void 0&&x.value===z||q)&&D(B)},[x.value]),J=n==="popper"?Y0:u4,T=J===Y0?{side:s,sideOffset:c,align:d,alignOffset:u,arrowPadding:f,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:g,avoidCollisions:v}:{};return l.createElement(G0,{scope:r,content:w,viewport:k,onViewportChange:N,itemRefCallback:L,selectedItem:_,onItemLeave:V,itemTextRefCallback:R,focusSelectedItem:G,selectedItemText:W,position:n,isPositioned:S,searchRef:K},l.createElement(za,{as:Ke,allowPinchZoom:!0},l.createElement(Ca,{asChild:!0,trapped:x.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:oe(o,B=>{var z;(z=x.trigger)===null||z===void 0||z.focus({preventScroll:!0}),B.preventDefault()})},l.createElement(C6,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>x.onOpenChange(!1)},l.createElement(J,A({role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:B=>B.preventDefault()},$,T,{onPlaced:()=>O(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...$.style},onKeyDown:oe($.onKeyDown,B=>{const z=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!z&&B.key.length===1&&M(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let q=j().filter(ee=>!ee.disabled).map(ee=>ee.ref.current);if(["ArrowUp","End"].includes(B.key)&&(q=q.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const ee=B.target,Y=q.indexOf(ee);q=q.slice(Y+1)}setTimeout(()=>se(q)),B.preventDefault()}})}))))))}),u4=l.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,a=dr(Vr,r),i=ur(Vr,r),[s,c]=l.useState(null),[d,u]=l.useState(null),f=pe(t,P=>u(P)),p=la(r),m=l.useRef(!1),b=l.useRef(!0),{viewport:g,selectedItem:v,selectedItemText:$,focusSelectedItem:x}=i,w=l.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&d&&g&&v&&$){const P=a.trigger.getBoundingClientRect(),_=d.getBoundingClientRect(),I=a.valueNode.getBoundingClientRect(),W=$.getBoundingClientRect();if(a.dir!=="rtl"){const ee=W.left-_.left,Y=I.left-ee,ue=P.left-Y,be=P.width+ue,ce=Math.max(be,_.width),ye=window.innerWidth-Dt,de=K0(Y,[Dt,ye-ce]);s.style.minWidth=be+"px",s.style.left=de+"px"}else{const ee=_.right-W.right,Y=window.innerWidth-I.right-ee,ue=window.innerWidth-P.right-Y,be=P.width+ue,ce=Math.max(be,_.width),ye=window.innerWidth-Dt,de=K0(Y,[Dt,ye-ce]);s.style.minWidth=be+"px",s.style.right=de+"px"}const D=p(),j=window.innerHeight-Dt*2,S=g.scrollHeight,O=window.getComputedStyle(d),X=parseInt(O.borderTopWidth,10),se=parseInt(O.paddingTop,10),G=parseInt(O.borderBottomWidth,10),ae=parseInt(O.paddingBottom,10),te=X+se+S+ae+G,K=Math.min(v.offsetHeight*5,te),M=window.getComputedStyle(g),L=parseInt(M.paddingTop,10),V=parseInt(M.paddingBottom,10),R=P.top+P.height/2-Dt,J=j-R,T=v.offsetHeight/2,B=v.offsetTop+T,z=X+se+B,Q=te-z;if(z<=R){const ee=v===D[D.length-1].ref.current;s.style.bottom="0px";const Y=d.clientHeight-g.offsetTop-g.offsetHeight,ue=Math.max(J,T+(ee?V:0)+Y+G),be=z+ue;s.style.height=be+"px"}else{const ee=v===D[0].ref.current;s.style.top="0px";const ue=Math.max(R,X+g.offsetTop+(ee?L:0)+T)+Q;s.style.height=ue+"px",g.scrollTop=z-R+g.offsetTop}s.style.margin=`${Dt}px 0`,s.style.minHeight=K+"px",s.style.maxHeight=j+"px",n==null||n(),requestAnimationFrame(()=>m.current=!0)}},[p,a.trigger,a.valueNode,s,d,g,v,$,a.dir,n]);De(()=>w(),[w]);const[y,k]=l.useState();De(()=>{d&&k(window.getComputedStyle(d).zIndex)},[d]);const N=l.useCallback(P=>{P&&b.current===!0&&(w(),x==null||x(),b.current=!1)},[w,x]);return l.createElement(f4,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:m,onScrollButtonChange:N},l.createElement("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:y}},l.createElement(je.div,A({},o,{ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}}))))}),Y0=l.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Dt,...a}=e,i=fl(r);return l.createElement(G6,A({},i,a,{ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[f4,pl]=jr(Vr,{}),q0="SelectViewport",p4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=ur(q0,r),a=pl(q0,r),i=pe(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(sa.Slot,{scope:r},l.createElement(je.div,A({"data-radix-select-viewport":"",role:"presentation"},n,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:oe(n.onScroll,c=>{const d=c.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:f}=a;if(f!=null&&f.current&&u){const p=Math.abs(s.current-d.scrollTop);if(p>0){const m=window.innerHeight-Dt*2,b=parseFloat(u.style.minHeight),g=parseFloat(u.style.height),v=Math.max(b,g);if(v<m){const $=v+p,x=Math.min(m,$),w=$-x;u.style.height=x+"px",u.style.bottom==="0px"&&(d.scrollTop=w>0?w:0,u.style.justifyContent="flex-end")}}}s.current=d.scrollTop})}))))}),m4="SelectGroup",[h4,b4]=jr(m4),g4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=it();return l.createElement(h4,{scope:r,id:o},l.createElement(je.div,A({role:"group","aria-labelledby":o},n,{ref:t})))}),v4="SelectLabel",y4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=b4(v4,r);return l.createElement(je.div,A({id:o.id},n,{ref:t}))}),ml="SelectItem",[$4,Z0]=jr(ml),x4=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=dr(ml,r),c=ur(ml,r),d=s.value===n,[u,f]=l.useState(a??""),[p,m]=l.useState(!1),b=pe(t,$=>{var x;return(x=c.itemRefCallback)===null||x===void 0?void 0:x.call(c,$,n,o)}),g=it(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement($4,{scope:r,value:n,disabled:o,textId:g,isSelected:d,onItemTextChange:l.useCallback($=>{f(x=>{var w;return x||((w=$==null?void 0:$.textContent)!==null&&w!==void 0?w:"").trim()})},[])},l.createElement(sa.ItemSlot,{scope:r,value:n,disabled:o,textValue:u},l.createElement(je.div,A({role:"option","aria-labelledby":g,"data-highlighted":p?"":void 0,"aria-selected":d&&p,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},i,{ref:b,onFocus:oe(i.onFocus,()=>m(!0)),onBlur:oe(i.onBlur,()=>m(!1)),onPointerUp:oe(i.onPointerUp,v),onPointerMove:oe(i.onPointerMove,$=>{if(o){var x;(x=c.onItemLeave)===null||x===void 0||x.call(c)}else $.currentTarget.focus({preventScroll:!0})}),onPointerLeave:oe(i.onPointerLeave,$=>{if($.currentTarget===document.activeElement){var x;(x=c.onItemLeave)===null||x===void 0||x.call(c)}}),onKeyDown:oe(i.onKeyDown,$=>{var x;((x=c.searchRef)===null||x===void 0?void 0:x.current)!==""&&$.key===" "||(X6.includes($.key)&&v(),$.key===" "&&$.preventDefault())})}))))}),ca="SelectItemText",w4=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=dr(ca,r),s=ur(ca,r),c=Z0(ca,r),d=t4(ca,r),[u,f]=l.useState(null),p=pe(t,$=>f($),c.onItemTextChange,$=>{var x;return(x=s.itemTextRefCallback)===null||x===void 0?void 0:x.call(s,$,c.value,c.disabled)}),m=u==null?void 0:u.textContent,b=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 De(()=>(g(b),()=>v(b)),[g,v,b]),l.createElement(l.Fragment,null,l.createElement(je.span,A({id:c.textId},a,{ref:p})),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Ve.createPortal(a.children,i.valueNode):null)}),_4="SelectItemIndicator",E4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Z0(_4,r).isSelected?l.createElement(je.span,A({"aria-hidden":!0},n,{ref:t})):null}),X0="SelectScrollUpButton",P4=l.forwardRef((e,t)=>{const r=ur(X0,e.__scopeSelect),n=pl(X0,e.__scopeSelect),[o,a]=l.useState(!1),i=pe(t,n.onScrollButtonChange);return De(()=>{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(Q0,A({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop-c.offsetHeight)}})):null}),J0="SelectScrollDownButton",S4=l.forwardRef((e,t)=>{const r=ur(J0,e.__scopeSelect),n=pl(J0,e.__scopeSelect),[o,a]=l.useState(!1),i=pe(t,n.onScrollButtonChange);return De(()=>{if(r.viewport&&r.isPositioned){let c=function(){const d=s.scrollHeight-s.clientHeight,u=Math.ceil(s.scrollTop)<d;a(u)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(Q0,A({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop+c.offsetHeight)}})):null}),Q0=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=ur("SelectScrollButton",r),i=l.useRef(null),s=la(r),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),De(()=>{var d;const u=s().find(f=>f.ref.current===document.activeElement);u==null||(d=u.ref.current)===null||d===void 0||d.scrollIntoView({block:"nearest"})},[s]),l.createElement(je.div,A({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:oe(o.onPointerMove,()=>{var d;(d=a.onItemLeave)===null||d===void 0||d.call(a),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:oe(o.onPointerLeave,()=>{c()})}))}),k4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(je.div,A({"aria-hidden":!0},n,{ref:t}))}),eg=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),a=pe(t,o),i=No(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==r&&u){const f=new Event("change",{bubbles:!0});u.call(s,r),s.dispatchEvent(f)}},[i,r]),l.createElement(q6,{asChild:!0},l.createElement("select",A({},n,{ref:a,defaultValue:r})))});eg.displayName="BubbleSelect";function tg(e){const t=Oe(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(i=>{const s=r.current+i;t(s),function c(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),a=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,a]}function rg(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=T4(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 T4(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const D4=r4,C4=i4,O4=l4,I4=c4,A4=p4,N4=g4,M4=y4,z4=x4,F4=w4,L4=E4,K4=P4,j4=S4,V4=k4,ng=F(o4)`
|
|
1698
|
+
`;function P6({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=ut(),i=t??a,s=Vo();return C(w6,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function S6({disabled:e,...t}){const r=ut(),n=e??r,o=Vo();return C(L0,{...t,...o,disabled:n,children:C(K0,{})})}function j0(e,[t,r]){return Math.min(r,Math.max(t,e))}const je=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function k6(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const dl="dismissableLayer.update",T6="dismissableLayer.pointerDownOutside",D6="dismissableLayer.focusOutside";let V0;const C6=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),O6=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,u=l.useContext(C6),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=pe(t,_=>p(_)),v=Array.from(u.layers),[$]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),w=f?v.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,T=w>=x,N=I6(_=>{const I=_.target,W=[...u.branches].some(D=>D.contains(I));!T||W||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=A6(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return tn(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(V0=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),B0(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=V0)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),B0())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(dl,_),()=>document.removeEventListener(dl,_)},[]),l.createElement(je.div,A({},d,{ref:g,style:{pointerEvents:y?T?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)}))});function I6(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){R0(T6,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 A6(e,t=globalThis==null?void 0:globalThis.document){const r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&R0(D6,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 B0(){const e=new CustomEvent(dl);document.dispatchEvent(e)}function R0(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?k6(o,a):o.dispatchEvent(a)}const W0="Popper",[ul,U0]=Re(W0),[N6,H0]=ul(W0),M6=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(N6,{scope:t,anchor:n,onAnchorChange:o},r)},z6="PopperAnchor",F6=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=H0(z6,r),i=l.useRef(null),s=pe(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(je.div,A({},o,{ref:s}))}),aa="PopperContent",[L6,iI]=ul(aa),[K6,j6]=ul(aa,{hasParent:!1,positionUpdateFns:new Set}),V6=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,d;const{__scopePopper:u,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:y=!0,onPlaced:T,...N}=e,P=H0(aa,u),[_,I]=l.useState(null),W=pe(t,_e=>I(_e)),[D,j]=l.useState(null),S=wr(D),O=(r=S==null?void 0:S.width)!==null&&r!==void 0?r:0,X=(n=S==null?void 0:S.height)!==null&&n!==void 0?n:0,se=f+(m!=="center"?"-"+m:""),G=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},ae=Array.isArray(v)?v:[v],te=ae.length>0,K={padding:G,boundary:ae.filter(R6),altBoundary:te},{reference:M,floating:L,strategy:V,x:R,y:J,placement:k,middlewareData:B,update:z}=yi({strategy:"fixed",placement:se,whileElementsMounted:bi,middleware:[W6(),di({mainAxis:p+X,alignmentAxis:b}),y?ui({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?fi():void 0,...K}):void 0,D?$i({element:D,padding:g}):void 0,y?li({...K}):void 0,pi({...K,apply:({elements:_e,availableWidth:Se,availableHeight:le})=>{_e.floating.style.setProperty("--radix-popper-available-width",`${Se}px`),_e.floating.style.setProperty("--radix-popper-available-height",`${le}px`)}}),U6({arrowWidth:O,arrowHeight:X}),w?ci({strategy:"referenceHidden"}):void 0].filter(B6)});De(()=>{M(P.anchor)},[M,P.anchor]);const Q=R!==null&&J!==null,[q,ee]=G0(k),Y=Oe(T);De(()=>{Q&&(Y==null||Y())},[Q,Y]);const ue=(o=B.arrow)===null||o===void 0?void 0:o.x,be=(a=B.arrow)===null||a===void 0?void 0:a.y,ce=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ye,de]=l.useState();De(()=>{_&&de(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:$e,positionUpdateFns:xe}=j6(aa,u),he=!$e;l.useLayoutEffect(()=>{if(!he)return xe.add(z),()=>{xe.delete(z)}},[he,xe,z]),De(()=>{he&&Q&&Array.from(xe).reverse().forEach(_e=>requestAnimationFrame(_e))},[he,Q,xe]);const Be={"data-side":q,"data-align":ee,...N,ref:W,style:{...N.style,animation:Q?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:L,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:Q?`translate3d(${Math.round(R)}px, ${Math.round(J)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ye,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(d=B.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")},dir:e.dir},l.createElement(L6,{scope:u,placedSide:q,onArrowChange:j,arrowX:ue,arrowY:be,shouldHideArrow:ce},he?l.createElement(K6,{scope:u,hasParent:!0,positionUpdateFns:xe},l.createElement(je.div,Be)):l.createElement(je.div,Be)))});function B6(e){return e!==void 0}function R6(e){return e!==null}const W6=()=>({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`),{}}}),U6=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,f=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=G0(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)+p/2,x=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",y="";return b==="bottom"?(w=f?v:`${$}px`,y=`${-m}px`):b==="top"?(w=f?v:`${$}px`,y=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,y=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,y=f?v:`${x}px`),{data:{x:w,y}}}});function G0(e){const[t,r="center"]=e.split("-");return[t,r]}const H6=M6,G6=F6,Y6=V6,q6=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?Ve.createPortal(l.createElement(je.div,A({},o,{ref:t})),n):null}),Z6=l.forwardRef((e,t)=>l.createElement(je.span,A({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),X6=[" ","Enter","ArrowUp","ArrowDown"],J6=[" ","Enter"],ia="Select",[sa,la,Q6]=Xs(ia),[jr,sI]=Re(ia,[Q6,U0]),fl=U0(),[e4,dr]=jr(ia),[t4,r4]=jr(ia),n4=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:c,dir:d,name:u,autoComplete:f,disabled:p,required:m}=e,b=fl(t),[g,v]=l.useState(null),[$,x]=l.useState(null),[w,y]=l.useState(!1),T=Xo(d),[N=!1,P]=rt({prop:n,defaultProp:o,onChange:a}),[_,I]=rt({prop:i,defaultProp:s,onChange:c}),W=l.useRef(null),D=g?Boolean(g.closest("form")):!0,[j,S]=l.useState(new Set),O=Array.from(j).map(X=>X.props.value).join(";");return l.createElement(H6,b,l.createElement(e4,{required:m,scope:t,trigger:g,onTriggerChange:v,valueNode:$,onValueNodeChange:x,valueNodeHasChildren:w,onValueNodeHasChildrenChange:y,contentId:it(),value:_,onValueChange:I,open:N,onOpenChange:P,dir:T,triggerPointerDownPosRef:W,disabled:p},l.createElement(sa.Provider,{scope:t},l.createElement(t4,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(X=>{S(se=>new Set(se).add(X))},[]),onNativeOptionRemove:l.useCallback(X=>{S(se=>{const G=new Set(se);return G.delete(X),G})},[])},r)),D?l.createElement(tg,{key:O,"aria-hidden":!0,required:m,tabIndex:-1,name:u,autoComplete:f,value:_,onChange:X=>I(X.target.value),disabled:p},_===void 0?l.createElement("option",{value:""}):null,Array.from(j)):null))},o4="SelectTrigger",a4=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=fl(r),i=dr(o4,r),s=i.disabled||n,c=pe(t,i.onTriggerChange),d=la(r),[u,f,p]=rg(b=>{const g=d().filter(x=>!x.disabled),v=g.find(x=>x.value===i.value),$=ng(g,b,v);$!==void 0&&i.onValueChange($.value)}),m=()=>{s||(i.onOpenChange(!0),p())};return l.createElement(G6,A({asChild:!0},a),l.createElement(je.button,A({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:c,onClick:oe(o.onClick,b=>{b.currentTarget.focus()}),onPointerDown:oe(o.onPointerDown,b=>{const g=b.target;g.hasPointerCapture(b.pointerId)&&g.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(m(),i.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)},b.preventDefault())}),onKeyDown:oe(o.onKeyDown,b=>{const g=u.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&f(b.key),!(g&&b.key===" ")&&X6.includes(b.key)&&(m(),b.preventDefault())})})))}),i4="SelectValue",s4=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,c=dr(i4,r),{onValueNodeHasChildrenChange:d}=c,u=a!==void 0,f=pe(t,c.onValueNodeChange);return De(()=>{d(u)},[d,u]),l.createElement(je.span,A({},s,{ref:f,style:{pointerEvents:"none"}}),c.value===void 0&&i!==void 0?i:a)}),l4=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(je.span,A({"aria-hidden":!0},o,{ref:t}),n||"▼")}),c4=e=>l.createElement(q6,A({asChild:!0},e)),Vr="SelectContent",d4=l.forwardRef((e,t)=>{const r=dr(Vr,e.__scopeSelect),[n,o]=l.useState();if(De(()=>{o(new DocumentFragment)},[]),!r.open){const a=n;return a?Ve.createPortal(l.createElement(Y0,{scope:e.__scopeSelect},l.createElement(sa.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),a):null}return l.createElement(u4,A({},e,{ref:t}))}),Dt=10,[Y0,ur]=jr(Vr),u4=l.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:i,side:s,sideOffset:c,align:d,alignOffset:u,arrowPadding:f,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:g,avoidCollisions:v,...$}=e,x=dr(Vr,r),[w,y]=l.useState(null),[T,N]=l.useState(null),P=pe(t,B=>y(B)),[_,I]=l.useState(null),[W,D]=l.useState(null),j=la(r),[S,O]=l.useState(!1),X=l.useRef(!1);l.useEffect(()=>{if(w)return La(w)},[w]),Ia();const se=l.useCallback(B=>{const[z,...Q]=j().map(Y=>Y.ref.current),[q]=Q.slice(-1),ee=document.activeElement;for(const Y of B)if(Y===ee||(Y==null||Y.scrollIntoView({block:"nearest"}),Y===z&&T&&(T.scrollTop=0),Y===q&&T&&(T.scrollTop=T.scrollHeight),Y==null||Y.focus(),document.activeElement!==ee))return},[j,T]),G=l.useCallback(()=>se([_,w]),[se,_,w]);l.useEffect(()=>{S&&G()},[S,G]);const{onOpenChange:ae,triggerPointerDownPosRef:te}=x;l.useEffect(()=>{if(w){let B={x:0,y:0};const z=q=>{var ee,Y,ue,be;B={x:Math.abs(Math.round(q.pageX)-((ee=(Y=te.current)===null||Y===void 0?void 0:Y.x)!==null&&ee!==void 0?ee:0)),y:Math.abs(Math.round(q.pageY)-((ue=(be=te.current)===null||be===void 0?void 0:be.y)!==null&&ue!==void 0?ue:0))}},Q=q=>{B.x<=10&&B.y<=10?q.preventDefault():w.contains(q.target)||ae(!1),document.removeEventListener("pointermove",z),te.current=null};return te.current!==null&&(document.addEventListener("pointermove",z),document.addEventListener("pointerup",Q,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",z),document.removeEventListener("pointerup",Q,{capture:!0})}}},[w,ae,te]),l.useEffect(()=>{const B=()=>ae(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[ae]);const[K,M]=rg(B=>{const z=j().filter(ee=>!ee.disabled),Q=z.find(ee=>ee.ref.current===document.activeElement),q=ng(z,B,Q);q&&setTimeout(()=>q.ref.current.focus())}),L=l.useCallback((B,z,Q)=>{const q=!X.current&&!Q;(x.value!==void 0&&x.value===z||q)&&(I(B),q&&(X.current=!0))},[x.value]),V=l.useCallback(()=>w==null?void 0:w.focus(),[w]),R=l.useCallback((B,z,Q)=>{const q=!X.current&&!Q;(x.value!==void 0&&x.value===z||q)&&D(B)},[x.value]),J=n==="popper"?q0:f4,k=J===q0?{side:s,sideOffset:c,align:d,alignOffset:u,arrowPadding:f,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:g,avoidCollisions:v}:{};return l.createElement(Y0,{scope:r,content:w,viewport:T,onViewportChange:N,itemRefCallback:L,selectedItem:_,onItemLeave:V,itemTextRefCallback:R,focusSelectedItem:G,selectedItemText:W,position:n,isPositioned:S,searchRef:K},l.createElement(za,{as:Ke,allowPinchZoom:!0},l.createElement(Ca,{asChild:!0,trapped:x.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:oe(o,B=>{var z;(z=x.trigger)===null||z===void 0||z.focus({preventScroll:!0}),B.preventDefault()})},l.createElement(O6,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>x.onOpenChange(!1)},l.createElement(J,A({role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:B=>B.preventDefault()},$,k,{onPlaced:()=>O(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...$.style},onKeyDown:oe($.onKeyDown,B=>{const z=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!z&&B.key.length===1&&M(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let q=j().filter(ee=>!ee.disabled).map(ee=>ee.ref.current);if(["ArrowUp","End"].includes(B.key)&&(q=q.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const ee=B.target,Y=q.indexOf(ee);q=q.slice(Y+1)}setTimeout(()=>se(q)),B.preventDefault()}})}))))))}),f4=l.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,a=dr(Vr,r),i=ur(Vr,r),[s,c]=l.useState(null),[d,u]=l.useState(null),f=pe(t,P=>u(P)),p=la(r),m=l.useRef(!1),b=l.useRef(!0),{viewport:g,selectedItem:v,selectedItemText:$,focusSelectedItem:x}=i,w=l.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&d&&g&&v&&$){const P=a.trigger.getBoundingClientRect(),_=d.getBoundingClientRect(),I=a.valueNode.getBoundingClientRect(),W=$.getBoundingClientRect();if(a.dir!=="rtl"){const ee=W.left-_.left,Y=I.left-ee,ue=P.left-Y,be=P.width+ue,ce=Math.max(be,_.width),ye=window.innerWidth-Dt,de=j0(Y,[Dt,ye-ce]);s.style.minWidth=be+"px",s.style.left=de+"px"}else{const ee=_.right-W.right,Y=window.innerWidth-I.right-ee,ue=window.innerWidth-P.right-Y,be=P.width+ue,ce=Math.max(be,_.width),ye=window.innerWidth-Dt,de=j0(Y,[Dt,ye-ce]);s.style.minWidth=be+"px",s.style.right=de+"px"}const D=p(),j=window.innerHeight-Dt*2,S=g.scrollHeight,O=window.getComputedStyle(d),X=parseInt(O.borderTopWidth,10),se=parseInt(O.paddingTop,10),G=parseInt(O.borderBottomWidth,10),ae=parseInt(O.paddingBottom,10),te=X+se+S+ae+G,K=Math.min(v.offsetHeight*5,te),M=window.getComputedStyle(g),L=parseInt(M.paddingTop,10),V=parseInt(M.paddingBottom,10),R=P.top+P.height/2-Dt,J=j-R,k=v.offsetHeight/2,B=v.offsetTop+k,z=X+se+B,Q=te-z;if(z<=R){const ee=v===D[D.length-1].ref.current;s.style.bottom="0px";const Y=d.clientHeight-g.offsetTop-g.offsetHeight,ue=Math.max(J,k+(ee?V:0)+Y+G),be=z+ue;s.style.height=be+"px"}else{const ee=v===D[0].ref.current;s.style.top="0px";const ue=Math.max(R,X+g.offsetTop+(ee?L:0)+k)+Q;s.style.height=ue+"px",g.scrollTop=z-R+g.offsetTop}s.style.margin=`${Dt}px 0`,s.style.minHeight=K+"px",s.style.maxHeight=j+"px",n==null||n(),requestAnimationFrame(()=>m.current=!0)}},[p,a.trigger,a.valueNode,s,d,g,v,$,a.dir,n]);De(()=>w(),[w]);const[y,T]=l.useState();De(()=>{d&&T(window.getComputedStyle(d).zIndex)},[d]);const N=l.useCallback(P=>{P&&b.current===!0&&(w(),x==null||x(),b.current=!1)},[w,x]);return l.createElement(p4,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:m,onScrollButtonChange:N},l.createElement("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:y}},l.createElement(je.div,A({},o,{ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}}))))}),q0=l.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Dt,...a}=e,i=fl(r);return l.createElement(Y6,A({},i,a,{ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[p4,pl]=jr(Vr,{}),Z0="SelectViewport",m4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=ur(Z0,r),a=pl(Z0,r),i=pe(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(sa.Slot,{scope:r},l.createElement(je.div,A({"data-radix-select-viewport":"",role:"presentation"},n,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:oe(n.onScroll,c=>{const d=c.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:f}=a;if(f!=null&&f.current&&u){const p=Math.abs(s.current-d.scrollTop);if(p>0){const m=window.innerHeight-Dt*2,b=parseFloat(u.style.minHeight),g=parseFloat(u.style.height),v=Math.max(b,g);if(v<m){const $=v+p,x=Math.min(m,$),w=$-x;u.style.height=x+"px",u.style.bottom==="0px"&&(d.scrollTop=w>0?w:0,u.style.justifyContent="flex-end")}}}s.current=d.scrollTop})}))))}),h4="SelectGroup",[b4,g4]=jr(h4),v4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=it();return l.createElement(b4,{scope:r,id:o},l.createElement(je.div,A({role:"group","aria-labelledby":o},n,{ref:t})))}),y4="SelectLabel",$4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=g4(y4,r);return l.createElement(je.div,A({id:o.id},n,{ref:t}))}),ml="SelectItem",[x4,X0]=jr(ml),w4=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=dr(ml,r),c=ur(ml,r),d=s.value===n,[u,f]=l.useState(a??""),[p,m]=l.useState(!1),b=pe(t,$=>{var x;return(x=c.itemRefCallback)===null||x===void 0?void 0:x.call(c,$,n,o)}),g=it(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(x4,{scope:r,value:n,disabled:o,textId:g,isSelected:d,onItemTextChange:l.useCallback($=>{f(x=>{var w;return x||((w=$==null?void 0:$.textContent)!==null&&w!==void 0?w:"").trim()})},[])},l.createElement(sa.ItemSlot,{scope:r,value:n,disabled:o,textValue:u},l.createElement(je.div,A({role:"option","aria-labelledby":g,"data-highlighted":p?"":void 0,"aria-selected":d&&p,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},i,{ref:b,onFocus:oe(i.onFocus,()=>m(!0)),onBlur:oe(i.onBlur,()=>m(!1)),onPointerUp:oe(i.onPointerUp,v),onPointerMove:oe(i.onPointerMove,$=>{if(o){var x;(x=c.onItemLeave)===null||x===void 0||x.call(c)}else $.currentTarget.focus({preventScroll:!0})}),onPointerLeave:oe(i.onPointerLeave,$=>{if($.currentTarget===document.activeElement){var x;(x=c.onItemLeave)===null||x===void 0||x.call(c)}}),onKeyDown:oe(i.onKeyDown,$=>{var x;((x=c.searchRef)===null||x===void 0?void 0:x.current)!==""&&$.key===" "||(J6.includes($.key)&&v(),$.key===" "&&$.preventDefault())})}))))}),ca="SelectItemText",_4=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=dr(ca,r),s=ur(ca,r),c=X0(ca,r),d=r4(ca,r),[u,f]=l.useState(null),p=pe(t,$=>f($),c.onItemTextChange,$=>{var x;return(x=s.itemTextRefCallback)===null||x===void 0?void 0:x.call(s,$,c.value,c.disabled)}),m=u==null?void 0:u.textContent,b=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 De(()=>(g(b),()=>v(b)),[g,v,b]),l.createElement(l.Fragment,null,l.createElement(je.span,A({id:c.textId},a,{ref:p})),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Ve.createPortal(a.children,i.valueNode):null)}),E4="SelectItemIndicator",P4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return X0(E4,r).isSelected?l.createElement(je.span,A({"aria-hidden":!0},n,{ref:t})):null}),J0="SelectScrollUpButton",S4=l.forwardRef((e,t)=>{const r=ur(J0,e.__scopeSelect),n=pl(J0,e.__scopeSelect),[o,a]=l.useState(!1),i=pe(t,n.onScrollButtonChange);return De(()=>{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(eg,A({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop-c.offsetHeight)}})):null}),Q0="SelectScrollDownButton",k4=l.forwardRef((e,t)=>{const r=ur(Q0,e.__scopeSelect),n=pl(Q0,e.__scopeSelect),[o,a]=l.useState(!1),i=pe(t,n.onScrollButtonChange);return De(()=>{if(r.viewport&&r.isPositioned){let c=function(){const d=s.scrollHeight-s.clientHeight,u=Math.ceil(s.scrollTop)<d;a(u)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(eg,A({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop+c.offsetHeight)}})):null}),eg=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=ur("SelectScrollButton",r),i=l.useRef(null),s=la(r),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),De(()=>{var d;const u=s().find(f=>f.ref.current===document.activeElement);u==null||(d=u.ref.current)===null||d===void 0||d.scrollIntoView({block:"nearest"})},[s]),l.createElement(je.div,A({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:oe(o.onPointerMove,()=>{var d;(d=a.onItemLeave)===null||d===void 0||d.call(a),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:oe(o.onPointerLeave,()=>{c()})}))}),T4=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(je.div,A({"aria-hidden":!0},n,{ref:t}))}),tg=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),a=pe(t,o),i=No(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==r&&u){const f=new Event("change",{bubbles:!0});u.call(s,r),s.dispatchEvent(f)}},[i,r]),l.createElement(Z6,{asChild:!0},l.createElement("select",A({},n,{ref:a,defaultValue:r})))});tg.displayName="BubbleSelect";function rg(e){const t=Oe(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(i=>{const s=r.current+i;t(s),function c(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),a=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,a]}function ng(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=D4(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 D4(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const C4=n4,O4=s4,I4=c4,A4=d4,N4=m4,M4=v4,z4=$4,F4=w4,L4=_4,K4=P4,j4=S4,V4=k4,B4=T4,og=F(a4)`
|
|
1699
1699
|
all: unset;
|
|
1700
1700
|
display: flex;
|
|
1701
1701
|
align-items: center;
|
|
@@ -1727,19 +1727,19 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1727
1727
|
color: ${h.color_fill_primary_disabled};
|
|
1728
1728
|
cursor: not-allowed;
|
|
1729
1729
|
}
|
|
1730
|
-
`,
|
|
1730
|
+
`,R4=F(l4)`
|
|
1731
1731
|
color: ${h.color_fill_secondary_enabled};
|
|
1732
|
-
`,
|
|
1732
|
+
`,W4=F(A4)`
|
|
1733
1733
|
font-family: ${h.font_family_sans};
|
|
1734
1734
|
overflow: hidden;
|
|
1735
1735
|
background-color: ${h.color_white};
|
|
1736
1736
|
margin-top: 52px;
|
|
1737
1737
|
border-radius: ${h.border_radius_400};
|
|
1738
1738
|
box-shadow: ${h.elevation_static_high};
|
|
1739
|
-
`,
|
|
1739
|
+
`,U4=F(N4)`
|
|
1740
1740
|
padding: ${h.sizing_100};
|
|
1741
1741
|
min-width: 172px;
|
|
1742
|
-
`;function
|
|
1742
|
+
`;function ag({children:e,...t}){return C(I4,{children:C(W4,{...t,children:e})})}const H4=F(F4)`
|
|
1743
1743
|
all: unset;
|
|
1744
1744
|
font-size: ${h.font_size_100};
|
|
1745
1745
|
line-height: ${h.line_height_129};
|
|
@@ -1763,17 +1763,17 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1763
1763
|
&[data-highlighted] {
|
|
1764
1764
|
background-color: ${h.color_background_white_weak}; /* Static / Background / Weak */
|
|
1765
1765
|
}
|
|
1766
|
-
`,
|
|
1766
|
+
`,G4=F(z4)`
|
|
1767
1767
|
padding: 7px ${h.sizing_200};
|
|
1768
1768
|
font-size: ${h.font_size_50};
|
|
1769
1769
|
line-height: ${h.line_height_133};
|
|
1770
1770
|
color: ${h.color_text_weak};
|
|
1771
1771
|
font-style: normal;
|
|
1772
|
-
`,
|
|
1772
|
+
`,Y4=F(B4)`
|
|
1773
1773
|
height: 1px;
|
|
1774
1774
|
background-color: ${h.color_divider_standard};
|
|
1775
1775
|
margin: ${h.spacing_100};
|
|
1776
|
-
`,
|
|
1776
|
+
`,q4=F(K4)`
|
|
1777
1777
|
left: 0;
|
|
1778
1778
|
width: 25px;
|
|
1779
1779
|
display: inline-flex;
|
|
@@ -1781,10 +1781,10 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1781
1781
|
justify-content: center;
|
|
1782
1782
|
|
|
1783
1783
|
& > svg {
|
|
1784
|
-
line-height:
|
|
1784
|
+
line-height: 1;
|
|
1785
1785
|
font-size: ${h.font_size_200};
|
|
1786
1786
|
}
|
|
1787
|
-
`,
|
|
1787
|
+
`,ig=`
|
|
1788
1788
|
display: flex;
|
|
1789
1789
|
align-items: center;
|
|
1790
1790
|
justify-content: center;
|
|
@@ -1792,38 +1792,38 @@ Defaulting to \`${rl}\`.`}function l0(e){return tD.includes(e)}const nD=s0,Tt=["
|
|
|
1792
1792
|
background-color: ${h.color_white};
|
|
1793
1793
|
color: ${h.color_black};
|
|
1794
1794
|
cursor: default;
|
|
1795
|
-
`,q4=F(K4)`
|
|
1796
|
-
${ag}
|
|
1797
1795
|
`,Z4=F(j4)`
|
|
1798
|
-
${
|
|
1799
|
-
`,
|
|
1796
|
+
${ig}
|
|
1797
|
+
`,X4=F(V4)`
|
|
1798
|
+
${ig}
|
|
1799
|
+
`,sg=C4,lg=og,cg=O4,dg=R4,J4=U4,Q4=M4,ug=H4,fg=L4,e3=q4,t3=G4,r3=Y4,pg=Z4,mg=X4;function n3({items:e,...t}){return ie(sg,{...t,children:[ie(lg,{"aria-label":"Food",children:[C(cg,{placeholder:"Select"}),C(dg,{children:C(Fe.ArrowDropDown,{})})]}),ie(ag,{children:[C(pg,{children:C(Fe.ArrowDropUp,{})}),e.map(r=>C(ug,{value:r,children:C(fg,{children:r})},r)),C(mg,{children:C(Fe.ArrowDropDown,{})})]})]})}function o3(e){let[t,r]=er(hg(e.value),hg(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function hg(e){if(e!=null)return e.toString()}function a3(e){return e&&e.__esModule?e.default:e}var bg={},gg={};gg={"Clear search":"مسح البحث"};var vg={};vg={"Clear search":"Изчистване на търсене"};var yg={};yg={"Clear search":"Vymazat hledání"};var $g={};$g={"Clear search":"Ryd søgning"};var xg={};xg={"Clear search":"Suche zurücksetzen"};var wg={};wg={"Clear search":"Απαλοιφή αναζήτησης"};var _g={};_g={"Clear search":"Clear search"};var Eg={};Eg={"Clear search":"Borrar búsqueda"};var Pg={};Pg={"Clear search":"Tühjenda otsing"};var Sg={};Sg={"Clear search":"Tyhjennä haku"};var kg={};kg={"Clear search":"Effacer la recherche"};var Tg={};Tg={"Clear search":"נקה חיפוש"};var Dg={};Dg={"Clear search":"Obriši pretragu"};var Cg={};Cg={"Clear search":"Keresés törlése"};var Og={};Og={"Clear search":"Cancella ricerca"};var Ig={};Ig={"Clear search":"検索をクリア"};var Ag={};Ag={"Clear search":"검색 지우기"};var Ng={};Ng={"Clear search":"Išvalyti iešką"};var Mg={};Mg={"Clear search":"Notīrīt meklēšanu"};var zg={};zg={"Clear search":"Tøm søk"};var Fg={};Fg={"Clear search":"Zoekactie wissen"};var Lg={};Lg={"Clear search":"Wyczyść zawartość wyszukiwania"};var Kg={};Kg={"Clear search":"Limpar pesquisa"};var jg={};jg={"Clear search":"Limpar pesquisa"};var Vg={};Vg={"Clear search":"Ştergeţi căutarea"};var Bg={};Bg={"Clear search":"Очистить поиск"};var Rg={};Rg={"Clear search":"Vymazať vyhľadávanie"};var Wg={};Wg={"Clear search":"Počisti iskanje"};var Ug={};Ug={"Clear search":"Obriši pretragu"};var Hg={};Hg={"Clear search":"Rensa sökning"};var Gg={};Gg={"Clear search":"Aramayı temizle"};var Yg={};Yg={"Clear search":"Очистити пошук"};var qg={};qg={"Clear search":"清除搜索"};var Zg={};Zg={"Clear search":"清除搜尋條件"},bg={"ar-AE":gg,"bg-BG":vg,"cs-CZ":yg,"da-DK":$g,"de-DE":xg,"el-GR":wg,"en-US":_g,"es-ES":Eg,"et-EE":Pg,"fi-FI":Sg,"fr-FR":kg,"he-IL":Tg,"hr-HR":Dg,"hu-HU":Cg,"it-IT":Og,"ja-JP":Ig,"ko-KR":Ag,"lt-LT":Ng,"lv-LV":Mg,"nb-NO":zg,"nl-NL":Fg,"pl-PL":Lg,"pt-BR":Kg,"pt-PT":jg,"ro-RO":Vg,"ru-RU":Bg,"sk-SK":Rg,"sl-SI":Wg,"sr-SP":Ug,"sv-SE":Hg,"tr-TR":Gg,"uk-UA":Yg,"zh-CN":qg,"zh-TW":Zg};function i3(e,t,r){let n=Kt(a3(bg)),{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()))},u=()=>{t.setValue(""),s&&s()},f=()=>{r.current.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:g}=Mo({...e,value:t.value,onChange:t.setValue,onKeyDown:rr(d,e.onKeyDown),type:c},r);return{labelProps:p,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||a,onPress:u,onPressStart:f},descriptionProps:b,errorMessageProps:g}}var hl={},da={},s3={get exports(){return da},set exports(e){da=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})(s3);var ua={},l3={get exports(){return ua},set exports(e){ua=e}},bl={},c3={get exports(){return bl},set exports(e){bl=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})(c3),function(e){var t=bl.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 u=c?Object.getOwnPropertyDescriptor(o,d):null;u&&(u.get||u.set)?Object.defineProperty(s,d,u):s[d]=o[d]}return s.default=o,i&&i.set(o,s),s}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(l3);var gl={};function Xg(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function Vt(e){return Vt=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},Vt(e)}function vl(e){return e&&Vt(e)==="object"&&e.constructor===Object}function Br(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},n=r.clone?A({},e):e;return vl(e)&&vl(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(vl(t[o])&&o in e?n[o]=Br(e[o],t[o],r):n[o]=t[o])}),n}var Pe={},Jg={get exports(){return Pe},set exports(e){Pe=e}};/*
|
|
1800
1800
|
object-assign
|
|
1801
1801
|
(c) Sindre Sorhus
|
|
1802
1802
|
@license MIT
|
|
1803
|
-
*/var yl,
|
|
1804
|
-
Valid keys: `+JSON.stringify(Object.keys(K),null," "));var Y=ee(B,q,R,J,
|
|
1805
|
-
`,space:" "}}function On(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function In(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=Rr(r),d=c.linebreak,u=c.space;if(e&&i++,s)if(Array.isArray(s))for(var f=0;f<s.length;f++){var p=s[f];for(var m in p){var b=p[m];b!=null&&(n&&(n+=d),n+=On(m+":"+u+fr(b)+";",i))}}else for(var g in s){var v=s[g];v!=null&&(n&&(n+=d),n+=On(g+":"+u+fr(v)+";",i))}for(var $ in t){var x=t[$];x!=null&&$!=="fallbacks"&&(n&&(n+=d),n+=On($+":"+u+fr(x)+";",i))}return!n&&!r.allowEmpty||!e?n:(i--,n&&(n=""+d+n+d),On(""+e+u+"{"+n,i)+On("}",i))}var
|
|
1806
|
-
`);return o}return this.key+" "+this.value+";"},e}(),H3={"@charset":!0,"@import":!0,"@namespace":!0},G3={onCreateRule:function(t,r,n){return t in H3?new U3(t,r,n):null}},vv=[D3,A3,F3,K3,B3,W3,G3],Y3={process:!0},yv={force:!0,process:!0},pa=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,a){var i=this.options,s=i.parent,c=i.sheet,d=i.jss,u=i.Renderer,f=i.generateId,p=i.scoped,m=A({classes:this.classes,parent:s,sheet:c,jss:d,Renderer:u,generateId:f,scoped:p,name:n,keyframes:this.keyframes,selector:void 0},a),b=n;n in this.raw&&(b=n+"-d"+this.counter++),this.raw[b]=o,b in this.classes&&(m.selector="."+Cl(this.classes[b]));var g=Dl(b,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=A({},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 Ol?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Nl&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof Ol?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Nl&&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=Y3);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var d=n.style;if(s.onUpdate(o,n,c,a),a.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var u in n.style){var f=n.style[u],p=d[u];f!==p&&n.prop(u,f,yv)}for(var m in d){var b=n.style[m],g=d[m];b==null&&b!==g&&n.prop(m,null,yv)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Rr(n),c=s.linebreak,d=0;d<this.index.length;d++){var u=this.index[d],f=u.toString(n);!f&&!i||(o&&(o+=c),o+=f)}return o},e}(),$v=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=A({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new pa(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}(),q3=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"&&et(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Z3=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=lv(o,["attached"]),s=Rr(i),c=s.linebreak,d="",u=0;u<this.registry.length;u++){var f=this.registry[u];a!=null&&f.attached!==a||(d&&(d+=c),d+=f.toString(i))}return d},uv(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),An=new Z3,zl=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Fl="2f1acc6c3a606b082e5eef5e54414ffb";zl[Fl]==null&&(zl[Fl]=0);var xv=zl[Fl]++,X3=1e10,wv=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>X3&&process.env.NODE_ENV!=="production"&&et(!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")+xv+s+r:c+a.key+"-"+xv+(s?"-"+s:"")+"-"+r};return n},_v=function(t){var r;return function(){return r||(r=t()),r}},J3=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},Q3=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=fr(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},eC=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&et(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},tC=function(t,r){return t.selectorText=r,t.selectorText===r},Ev=_v(function(){return document.querySelector("head")});function rC(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 nC(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 oC(e){for(var t=Ev(),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 aC(e){var t=An.registry;if(t.length>0){var r=rC(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=nC(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=oC(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&et(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function iC(e,t){var r=t.insertionPoint,n=aC(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"&&et(!1,"[JSS] Insertion point is not in the DOM.");return}Ev().appendChild(e)}var sC=_v(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Pv=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"&&et(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},Sv=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},lC=function(){var t=document.createElement("style");return t.textContent=`
|
|
1807
|
-
`,t},
|
|
1803
|
+
*/var yl,Qg;function d3(){if(Qg)return yl;Qg=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(u){return i[u]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(u){d[u]=u}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return yl=o()?Object.assign:function(a,i){for(var s,c=n(a),d,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){d=e(s);for(var p=0;p<d.length;p++)r.call(s,d[p])&&(c[d[p]]=s[d[p]])}}return c},yl}var $l,ev;function xl(){if(ev)return $l;ev=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $l=e,$l}var wl,tv;function rv(){return tv||(tv=1,wl=Function.call.bind(Object.prototype.hasOwnProperty)),wl}var _l,nv;function u3(){if(nv)return _l;nv=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xl(),r={},n=rv();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 u in a)if(n(a,u)){var f;try{if(typeof a[u]!="function"){var p=Error((c||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}f=a[u](i,u,c,s,null,t)}catch(b){f=b}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var m=d?d():"";e("Failed "+s+" type: "+f.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},_l=o,_l}var El,ov;function f3(){if(ov)return El;ov=1;var e=mt,t=d3(),r=xl(),n=rv(),o=u3(),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 El=function(s,c){var d=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(K){var M=K&&(d&&K[d]||K[u]);if(typeof M=="function")return M}var p="<<anonymous>>",m={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:x(),arrayOf:w,element:y(),elementType:T(),instanceOf:N,node:W(),objectOf:_,oneOf:P,oneOfType:I,shape:j,exact:S};function b(K,M){return K===M?K!==0||1/K===1/M:K!==K&&M!==M}function g(K,M){this.message=K,this.data=M&&typeof M=="object"?M:{},this.stack=""}g.prototype=Error.prototype;function v(K){if(process.env.NODE_ENV!=="production")var M={},L=0;function V(J,k,B,z,Q,q,ee){if(z=z||p,q=q||B,ee!==r){if(c){var Y=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 Y.name="Invariant Violation",Y}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ue=z+":"+B;!M[ue]&&L<3&&(a("You are manually calling a React.PropTypes validation function for the `"+q+"` prop on `"+z+"`. 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."),M[ue]=!0,L++)}}return k[B]==null?J?k[B]===null?new g("The "+Q+" `"+q+"` is marked as required "+("in `"+z+"`, but its value is `null`.")):new g("The "+Q+" `"+q+"` is marked as required in "+("`"+z+"`, but its value is `undefined`.")):null:K(k,B,z,Q,q)}var R=V.bind(null,!1);return R.isRequired=V.bind(null,!0),R}function $(K){function M(L,V,R,J,k,B){var z=L[V],Q=se(z);if(Q!==K){var q=G(z);return new g("Invalid "+J+" `"+k+"` of type "+("`"+q+"` supplied to `"+R+"`, expected ")+("`"+K+"`."),{expectedType:K})}return null}return v(M)}function x(){return v(i)}function w(K){function M(L,V,R,J,k){if(typeof K!="function")return new g("Property `"+k+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var B=L[V];if(!Array.isArray(B)){var z=se(B);return new g("Invalid "+J+" `"+k+"` of type "+("`"+z+"` supplied to `"+R+"`, expected an array."))}for(var Q=0;Q<B.length;Q++){var q=K(B,Q,R,J,k+"["+Q+"]",r);if(q instanceof Error)return q}return null}return v(M)}function y(){function K(M,L,V,R,J){var k=M[L];if(!s(k)){var B=se(k);return new g("Invalid "+R+" `"+J+"` of type "+("`"+B+"` supplied to `"+V+"`, expected a single ReactElement."))}return null}return v(K)}function T(){function K(M,L,V,R,J){var k=M[L];if(!e.isValidElementType(k)){var B=se(k);return new g("Invalid "+R+" `"+J+"` of type "+("`"+B+"` supplied to `"+V+"`, expected a single ReactElement type."))}return null}return v(K)}function N(K){function M(L,V,R,J,k){if(!(L[V]instanceof K)){var B=K.name||p,z=te(L[V]);return new g("Invalid "+J+" `"+k+"` of type "+("`"+z+"` supplied to `"+R+"`, expected ")+("instance of `"+B+"`."))}return null}return v(M)}function P(K){if(!Array.isArray(K))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 M(L,V,R,J,k){for(var B=L[V],z=0;z<K.length;z++)if(b(B,K[z]))return null;var Q=JSON.stringify(K,function(ee,Y){var ue=G(Y);return ue==="symbol"?String(Y):Y});return new g("Invalid "+J+" `"+k+"` of value `"+String(B)+"` "+("supplied to `"+R+"`, expected one of "+Q+"."))}return v(M)}function _(K){function M(L,V,R,J,k){if(typeof K!="function")return new g("Property `"+k+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var B=L[V],z=se(B);if(z!=="object")return new g("Invalid "+J+" `"+k+"` of type "+("`"+z+"` supplied to `"+R+"`, expected an object."));for(var Q in B)if(n(B,Q)){var q=K(B,Q,R,J,k+"."+Q,r);if(q instanceof Error)return q}return null}return v(M)}function I(K){if(!Array.isArray(K))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var M=0;M<K.length;M++){var L=K[M];if(typeof L!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ae(L)+" at index "+M+"."),i}function V(R,J,k,B,z){for(var Q=[],q=0;q<K.length;q++){var ee=K[q],Y=ee(R,J,k,B,z,r);if(Y==null)return null;Y.data&&n(Y.data,"expectedType")&&Q.push(Y.data.expectedType)}var ue=Q.length>0?", expected one of type ["+Q.join(", ")+"]":"";return new g("Invalid "+B+" `"+z+"` supplied to "+("`"+k+"`"+ue+"."))}return v(V)}function W(){function K(M,L,V,R,J){return O(M[L])?null:new g("Invalid "+R+" `"+J+"` supplied to "+("`"+V+"`, expected a ReactNode."))}return v(K)}function D(K,M,L,V,R){return new g((K||"React class")+": "+M+" type `"+L+"."+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function j(K){function M(L,V,R,J,k){var B=L[V],z=se(B);if(z!=="object")return new g("Invalid "+J+" `"+k+"` of type `"+z+"` "+("supplied to `"+R+"`, expected `object`."));for(var Q in K){var q=K[Q];if(typeof q!="function")return D(R,J,k,Q,G(q));var ee=q(B,Q,R,J,k+"."+Q,r);if(ee)return ee}return null}return v(M)}function S(K){function M(L,V,R,J,k){var B=L[V],z=se(B);if(z!=="object")return new g("Invalid "+J+" `"+k+"` of type `"+z+"` "+("supplied to `"+R+"`, expected `object`."));var Q=t({},L[V],K);for(var q in Q){var ee=K[q];if(n(K,q)&&typeof ee!="function")return D(R,J,k,q,G(ee));if(!ee)return new g("Invalid "+J+" `"+k+"` key `"+q+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(L[V],null," ")+`
|
|
1804
|
+
Valid keys: `+JSON.stringify(Object.keys(K),null," "));var Y=ee(B,q,R,J,k+"."+q,r);if(Y)return Y}return null}return v(M)}function O(K){switch(typeof K){case"number":case"string":case"undefined":return!0;case"boolean":return!K;case"object":if(Array.isArray(K))return K.every(O);if(K===null||s(K))return!0;var M=f(K);if(M){var L=M.call(K),V;if(M!==K.entries){for(;!(V=L.next()).done;)if(!O(V.value))return!1}else for(;!(V=L.next()).done;){var R=V.value;if(R&&!O(R[1]))return!1}}else return!1;return!0;default:return!1}}function X(K,M){return K==="symbol"?!0:M?M["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&M instanceof Symbol:!1}function se(K){var M=typeof K;return Array.isArray(K)?"array":K instanceof RegExp?"object":X(M,K)?"symbol":M}function G(K){if(typeof K>"u"||K===null)return""+K;var M=se(K);if(M==="object"){if(K instanceof Date)return"date";if(K instanceof RegExp)return"regexp"}return M}function ae(K){var M=G(K);switch(M){case"array":case"object":return"an "+M;case"boolean":case"date":case"regexp":return"a "+M;default:return M}}function te(K){return!K.constructor||!K.constructor.name?p:K.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},El}var Pl,av;function p3(){if(av)return Pl;av=1;var e=xl();function t(){}function r(){}return r.resetWarningCache=t,Pl=function(){function n(i,s,c,d,u,f){if(f!==e){var p=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 p.name="Invariant Violation",p}}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},Pl}if(process.env.NODE_ENV!=="production"){var m3=mt,h3=!0;Jg.exports=f3()(m3.isElement,h3)}else Jg.exports=p3()();function b3(e,t){if(Vt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Vt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function iv(e){var t=b3(e,"string");return Vt(t)==="symbol"?t:String(t)}function Tn(e,t,r){return t=iv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g3="exact-prop: ";function v3(e){return process.env.NODE_ENV==="production"?e:A({},e,Tn({},g3,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 fa(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 y3=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function $3(e){var t="".concat(e).match(y3),r=t&&t[1];return r||""}function sv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||$3(e)||t}function lv(e,t,r){var n=sv(t);return e.displayName||(n!==""?"".concat(r,"(").concat(n,")"):r)}function Dn(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return sv(e,"Component");if(Vt(e)==="object")switch(e.$$typeof){case mt.ForwardRef:return lv(e,e.render,"ForwardRef");case mt.Memo:return lv(e,e.type,"memo");default:return}}}function Sl(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":fa(7));return e.charAt(0).toUpperCase()+e.slice(1)}function x3(){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 cv(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 ft(e,t){if(e==null)return{};var r=cv(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 w3=typeof Symbol=="function"&&Symbol.for;const _3=w3?Symbol.for("mui.nested"):"__THEME_NESTED__";var E3=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function P3(){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(u,f){var p=f.options.name;if(p&&p.indexOf("Mui")===0&&!f.options.link&&!r){if(E3.indexOf(u.key)!==-1)return"Mui-".concat(u.key);var m="".concat(s).concat(p,"-").concat(u.key);return!f.options.theme[_3]||i!==""?m:"".concat(m,"-").concat(d())}if(process.env.NODE_ENV==="production")return"".concat(s).concat(o).concat(d());var b="".concat(u.key,"-").concat(d());return f.options.classNamePrefix?"".concat(s).concat(f.options.classNamePrefix,"-").concat(b):"".concat(s).concat(b)}}function S3(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 k3=process.env.NODE_ENV==="production";function et(e,t){if(!k3){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var dv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cn=(typeof window>"u"?"undefined":dv(window))==="object"&&(typeof document>"u"?"undefined":dv(document))==="object"&&document.nodeType===9;function uv(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,iv(n.key),n)}}function fv(e,t,r){return t&&uv(e.prototype,t),r&&uv(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function kl(e,t){return kl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},kl(e,t)}function pv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,kl(e,t)}function mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var T3={}.constructor;function Tl(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Tl);if(e.constructor!==T3)return e;var t={};for(var r in e)t[r]=Tl(e[r]);return t}function Dl(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,o=Tl(t),a=n.plugins.onCreateRule(e,o,r);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&et(!1,"[JSS] Unknown rule "+e),null)}var hv=function(t,r){for(var n="",o=0;o<t.length&&t[o]!=="!important";o++)n&&(n+=r),n+=t[o];return n},fr=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+=hv(t[n]," ");else r=hv(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function Rr(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
|
|
1805
|
+
`,space:" "}}function On(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function In(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=Rr(r),d=c.linebreak,u=c.space;if(e&&i++,s)if(Array.isArray(s))for(var f=0;f<s.length;f++){var p=s[f];for(var m in p){var b=p[m];b!=null&&(n&&(n+=d),n+=On(m+":"+u+fr(b)+";",i))}}else for(var g in s){var v=s[g];v!=null&&(n&&(n+=d),n+=On(g+":"+u+fr(v)+";",i))}for(var $ in t){var x=t[$];x!=null&&$!=="fallbacks"&&(n&&(n+=d),n+=On($+":"+u+fr(x)+";",i))}return!n&&!r.allowEmpty||!e?n:(i--,n&&(n=""+d+n+d),On(""+e+u+"{"+n,i)+On("}",i))}var D3=/([[\].#*$><+~=|^:(),"'`\s])/g,bv=typeof CSS<"u"&&CSS.escape,Cl=function(e){return bv?bv(e):e.replace(D3,"\\$1")},gv=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 u=c&&d;if(u?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,s),this;var f=this.options.sheet;return f&&f.attached&&process.env.NODE_ENV!=="production"&&et(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),Ol=function(e){pv(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,u=a.generateId;return s?i.selectorText=s:c!==!1&&(i.id=u(mv(mv(i)),d),i.selectorText="."+Cl(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]=fr(i))}return o},r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?A({},o,{allowEmpty:!0}):o;return In(this.selectorText,this.style,s)},fv(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}(gv),C3={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new Ol(t,r,n)}},Il={indent:1,children:!0},O3=/@([\w-]+)/,I3=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var a=r.match(O3);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new pa(A({},o,{parent:this}));for(var i in n)this.rules.add(i,n[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i?(this.options.jss.plugins.onProcessRule(i),i):null},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.toString=function(n){n===void 0&&(n=Il);var o=Rr(n),a=o.linebreak;if(n.indent==null&&(n.indent=Il.indent),n.children==null&&(n.children=Il.children),n.children===!1)return this.query+" {}";var i=this.rules.toString(n);return i?this.query+" {"+a+i+a+"}":""},e}(),A3=/@media|@supports\s+/,N3={onCreateRule:function(t,r,n){return A3.test(t)?new I3(t,r,n):null}},Al={indent:1,children:!0},M3=/@keyframes\s+([\w-]+)/,Nl=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=r.match(M3);a&&a[1]?this.name=a[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&et(!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:Cl(c(this,s)),this.rules=new pa(A({},o,{parent:this}));for(var d in n)this.rules.add(d,n[d],A({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=Al);var o=Rr(n),a=o.linebreak;if(n.indent==null&&(n.indent=Al.indent),n.children==null&&(n.children=Al.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}(),z3=/@keyframes\s+/,F3=/\$([\w-]+)/g,Ml=function(t,r){return typeof t=="string"?t.replace(F3,function(n,o){return o in r?r[o]:(process.env.NODE_ENV!=="production"&&et(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),n)}):t},vv=function(t,r,n){var o=t[r],a=Ml(o,n);a!==o&&(t[r]=a)},L3={onCreateRule:function(t,r,n){return typeof t=="string"&&z3.test(t)?new Nl(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&vv(t,"animation-name",n.keyframes),"animation"in t&&vv(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return Ml(t,o.keyframes);case"animation-name":return Ml(t,o.keyframes);default:return t}}},K3=function(e){pv(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?A({},o,{allowEmpty:!0}):o;return In(this.key,this.style,s)},t}(gv),j3={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new K3(t,r,n):null}},V3=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=Rr(n),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",s=0;s<this.style.length;s++)i+=In(this.at,this.style[s]),this.style[s+1]&&(i+=a);return i}return In(this.at,this.style,n)},e}(),B3=/@font-face/,R3={onCreateRule:function(t,r,n){return B3.test(t)?new V3(t,r,n):null}},W3=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 In(this.key,this.style,n)},e}(),U3={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new W3(t,r,n):null}},H3=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+=`
|
|
1806
|
+
`);return o}return this.key+" "+this.value+";"},e}(),G3={"@charset":!0,"@import":!0,"@namespace":!0},Y3={onCreateRule:function(t,r,n){return t in G3?new H3(t,r,n):null}},yv=[C3,N3,L3,j3,R3,U3,Y3],q3={process:!0},$v={force:!0,process:!0},pa=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,a){var i=this.options,s=i.parent,c=i.sheet,d=i.jss,u=i.Renderer,f=i.generateId,p=i.scoped,m=A({classes:this.classes,parent:s,sheet:c,jss:d,Renderer:u,generateId:f,scoped:p,name:n,keyframes:this.keyframes,selector:void 0},a),b=n;n in this.raw&&(b=n+"-d"+this.counter++),this.raw[b]=o,b in this.classes&&(m.selector="."+Cl(this.classes[b]));var g=Dl(b,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=A({},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 Ol?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Nl&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof Ol?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Nl&&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=q3);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var d=n.style;if(s.onUpdate(o,n,c,a),a.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var u in n.style){var f=n.style[u],p=d[u];f!==p&&n.prop(u,f,$v)}for(var m in d){var b=n.style[m],g=d[m];b==null&&b!==g&&n.prop(m,null,$v)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Rr(n),c=s.linebreak,d=0;d<this.index.length;d++){var u=this.index[d],f=u.toString(n);!f&&!i||(o&&(o+=c),o+=f)}return o},e}(),xv=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=A({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new pa(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}(),Z3=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"&&et(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),X3=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=cv(o,["attached"]),s=Rr(i),c=s.linebreak,d="",u=0;u<this.registry.length;u++){var f=this.registry[u];a!=null&&f.attached!==a||(d&&(d+=c),d+=f.toString(i))}return d},fv(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),An=new X3,zl=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Fl="2f1acc6c3a606b082e5eef5e54414ffb";zl[Fl]==null&&(zl[Fl]=0);var wv=zl[Fl]++,J3=1e10,_v=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>J3&&process.env.NODE_ENV!=="production"&&et(!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")+wv+s+r:c+a.key+"-"+wv+(s?"-"+s:"")+"-"+r};return n},Ev=function(t){var r;return function(){return r||(r=t()),r}},Q3=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},eC=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=fr(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},tC=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&et(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},rC=function(t,r){return t.selectorText=r,t.selectorText===r},Pv=Ev(function(){return document.querySelector("head")});function nC(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 oC(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 aC(e){for(var t=Pv(),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 iC(e){var t=An.registry;if(t.length>0){var r=nC(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=oC(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=aC(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&et(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function sC(e,t){var r=t.insertionPoint,n=iC(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"&&et(!1,"[JSS] Insertion point is not in the DOM.");return}Pv().appendChild(e)}var lC=Ev(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Sv=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"&&et(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},kv=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},cC=function(){var t=document.createElement("style");return t.textContent=`
|
|
1807
|
+
`,t},dC=function(){function e(r){this.getPropertyValue=Q3,this.setProperty=eC,this.removeProperty=tC,this.setSelector=rC,this.hasInsertedRules=!1,this.cssRules=[],r&&An.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},o=n.media,a=n.meta,i=n.element;this.element=i||cC(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),a&&this.element.setAttribute("data-meta",a);var s=lC();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){sC(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=`
|
|
1808
1808
|
`)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
|
|
1809
1809
|
`+n.toString()+`
|
|
1810
|
-
`}},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=
|
|
1810
|
+
`}},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=kv(a,o);if(s=Sv(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 u=kv(a,o),f=Sv(a,d,u);return f===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,u,f),f)},t.refCssRule=function(n,o,a){n.renderable=a,n.options.parent instanceof xv&&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}(),uC=0,fC=function(){function e(r){this.id=uC++,this.version="10.9.2",this.plugins=new Z3,this.options={id:{minify:!1},createGenerateId:_v,Renderer:Cn?dC:null,plugins:[]},this.generateId=_v({minify:!1});for(var n=0;n<yv.length;n++)this.plugins.use(yv[n],{queue:"internal"});this.setup(r)}var t=e.prototype;return t.setup=function(n){return n===void 0&&(n={}),n.createGenerateId&&(this.options.createGenerateId=n.createGenerateId),n.id&&(this.options.id=A({},this.options.id,n.id)),(n.createGenerateId||n.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),n.insertionPoint!=null&&(this.options.insertionPoint=n.insertionPoint),"Renderer"in n&&(this.options.Renderer=n.Renderer),n.plugins&&this.use.apply(this,n.plugins),this},t.createStyleSheet=function(n,o){o===void 0&&(o={});var a=o,i=a.index;typeof i!="number"&&(i=An.index===0?0:An.index+1);var s=new xv(n,A({},o,{jss:this,generateId:o.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:i}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),An.remove(n),this},t.createRule=function(n,o,a){if(o===void 0&&(o={}),a===void 0&&(a={}),typeof n=="object")return this.createRule(void 0,n,o);var i=A({},a,{name:n,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=Dl(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}(),Ll=function(t){return new fC(t)},Kl=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function Tv(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=Tv(n);a&&(t||(t={}),t[r]=a)}}return t}/**
|
|
1811
1811
|
* A better abstraction over CSS.
|
|
1812
1812
|
*
|
|
1813
1813
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
1814
1814
|
* @website https://github.com/cssinjs/jss
|
|
1815
1815
|
* @license MIT
|
|
1816
|
-
*/Ll();var
|
|
1817
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1816
|
+
*/Ll();var Dv=Date.now(),jl="fnValues"+Dv,Vl="fnStyle"+ ++Dv,pC=function(){return{onCreateRule:function(r,n,o){if(typeof n!="function")return null;var a=Dl(r,{},o);return a[Vl]=n,a},onProcessStyle:function(r,n){if(jl in n||Vl 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[jl]=o,r},onUpdate:function(r,n,o,a){var i=n,s=i[Vl];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"&&et(!1,"[JSS] Function values inside function rules are not supported.");break}}var d=i[jl];if(d)for(var u in d)i.prop(u,d[u](r),a)}}};const mC=pC;var Bt="@global",Bl="@global ",hC=function(){function e(r,n,o){this.type="global",this.at=Bt,this.isProcessed=!1,this.key=r,this.options=o,this.rules=new pa(A({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.indexOf=function(n){return this.rules.indexOf(n)},t.toString=function(n){return this.rules.toString(n)},e}(),bC=function(){function e(r,n,o){this.type="global",this.at=Bt,this.isProcessed=!1,this.key=r,this.options=o;var a=r.substr(Bl.length);this.rule=o.jss.createRule(a,n,A({},o,{parent:this}))}var t=e.prototype;return t.toString=function(n){return this.rule?this.rule.toString(n):""},e}(),gC=/\s*,\s*/g;function Cv(e,t){for(var r=e.split(gC),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function vC(e,t){var r=e.options,n=e.style,o=n?n[Bt]:null;if(o){for(var a in o)t.addRule(a,o[a],A({},r,{selector:Cv(a,e.selector)}));delete n[Bt]}}function yC(e,t){var r=e.options,n=e.style;for(var o in n)if(!(o[0]!=="@"||o.substr(0,Bt.length)!==Bt)){var a=Cv(o.substr(Bt.length),e.selector);t.addRule(a,n[o],A({},r,{selector:a})),delete n[o]}}function $C(){function e(r,n,o){if(!r)return null;if(r===Bt)return new hC(r,n,o);if(r[0]==="@"&&r.substr(0,Bl.length)===Bl)return new bC(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||(vC(r,n),yC(r,n))}return{onCreateRule:e,onProcessRule:t}}var Ov=/\s*,\s*/g,xC=/&/g,wC=/\$([\w-]+)/g;function _C(){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"&&et(!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(Ov),s=o.split(Ov),c="",d=0;d<i.length;d++)for(var u=i[d],f=0;f<s.length;f++){var p=s[f];c&&(c+=", "),c+=p.indexOf("&")!==-1?p.replace(xC,u):u+" "+p}return c}function r(o,a,i){if(i)return A({},i,{index:i.index+1});var s=o.options.nestingLevel;s=s===void 0?1:s+1;var c=A({},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,u;for(var f in o){var p=f.indexOf("&")!==-1,m=f[0]==="@";if(!(!p&&!m)){if(d=r(s,c,d),p){var b=t(f,s.selector);u||(u=e(c,i)),b=b.replace(wC,u);var g=s.key+"-"+f;"replaceRule"in c?c.replaceRule(g,o[f],A({},d,{selector:b})):c.addRule(g,o[f],A({},d,{selector:b}))}else m&&c.addRule(f,{},d).addRule(s.key,o[f],{selector:s.selector});delete o[f]}}return o}return{onProcessStyle:n}}var EC=/[A-Z]/g,PC=/^ms-/,Rl={};function SC(e){return"-"+e.toLowerCase()}function Iv(e){if(Rl.hasOwnProperty(e))return Rl[e];var t=e.replace(EC,SC);return Rl[e]=PC.test(t)?"-"+t:t}function ma(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:Iv(r);t[n]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(ma):t.fallbacks=ma(e.fallbacks)),t}function kC(){function e(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)r[n]=ma(r[n]);return r}return ma(r)}function t(r,n,o){if(n.indexOf("--")===0)return r;var a=Iv(n);return n===a?r:(o.prop(a,r),null)}return{onProcessStyle:e,onChangeValue:t}}var H=Kl&&CSS?CSS.px:"px",ha=Kl&&CSS?CSS.ms:"ms",Wr=Kl&&CSS?CSS.percent:"%",TC={"animation-delay":ha,"animation-duration":ha,"background-position":H,"background-position-x":H,"background-position-y":H,"background-size":H,border:H,"border-bottom":H,"border-bottom-left-radius":H,"border-bottom-right-radius":H,"border-bottom-width":H,"border-left":H,"border-left-width":H,"border-radius":H,"border-right":H,"border-right-width":H,"border-top":H,"border-top-left-radius":H,"border-top-right-radius":H,"border-top-width":H,"border-width":H,"border-block":H,"border-block-end":H,"border-block-end-width":H,"border-block-start":H,"border-block-start-width":H,"border-block-width":H,"border-inline":H,"border-inline-end":H,"border-inline-end-width":H,"border-inline-start":H,"border-inline-start-width":H,"border-inline-width":H,"border-start-start-radius":H,"border-start-end-radius":H,"border-end-start-radius":H,"border-end-end-radius":H,margin:H,"margin-bottom":H,"margin-left":H,"margin-right":H,"margin-top":H,"margin-block":H,"margin-block-end":H,"margin-block-start":H,"margin-inline":H,"margin-inline-end":H,"margin-inline-start":H,padding:H,"padding-bottom":H,"padding-left":H,"padding-right":H,"padding-top":H,"padding-block":H,"padding-block-end":H,"padding-block-start":H,"padding-inline":H,"padding-inline-end":H,"padding-inline-start":H,"mask-position-x":H,"mask-position-y":H,"mask-size":H,height:H,width:H,"min-height":H,"max-height":H,"min-width":H,"max-width":H,bottom:H,left:H,top:H,right:H,inset:H,"inset-block":H,"inset-block-end":H,"inset-block-start":H,"inset-inline":H,"inset-inline-end":H,"inset-inline-start":H,"box-shadow":H,"text-shadow":H,"column-gap":H,"column-rule":H,"column-rule-width":H,"column-width":H,"font-size":H,"font-size-delta":H,"letter-spacing":H,"text-decoration-thickness":H,"text-indent":H,"text-stroke":H,"text-stroke-width":H,"word-spacing":H,motion:H,"motion-offset":H,outline:H,"outline-offset":H,"outline-width":H,perspective:H,"perspective-origin-x":Wr,"perspective-origin-y":Wr,"transform-origin":Wr,"transform-origin-x":Wr,"transform-origin-y":Wr,"transform-origin-z":Wr,"transition-delay":ha,"transition-duration":ha,"vertical-align":H,"flex-basis":H,"shape-margin":H,size:H,gap:H,grid:H,"grid-gap":H,"row-gap":H,"grid-row-gap":H,"grid-column-gap":H,"grid-template-rows":H,"grid-template-columns":H,"grid-auto-rows":H,"grid-auto-columns":H,"box-shadow-x":H,"box-shadow-y":H,"box-shadow-blur":H,"box-shadow-spread":H,"font-line-height":H,"text-shadow-x":H,"text-shadow-y":H,"text-shadow-blur":H};function Av(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 DC=Av(TC);function Nn(e,t,r){if(t==null)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=Nn(e,t[n],r);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=Nn(o,t[o],r);else for(var a in t)t[a]=Nn(e+"-"+a,t[a],r);else if(typeof t=="number"&&isNaN(t)===!1){var i=r[e]||DC[e];return i&&!(t===0&&i===H)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function CC(e){e===void 0&&(e={});var t=Av(e);function r(o,a){if(a.type!=="style")return o;for(var i in o)o[i]=Nn(i,o[i],t);return o}function n(o,a){return Nn(a,o,t)}return{onProcessStyle:r,onChangeValue:n}}function Wl(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 OC(e){if(Array.isArray(e))return Wl(e)}function IC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function AC(e,t){if(e){if(typeof e=="string")return Wl(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 Wl(e,t)}}function NC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1817
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function MC(e){return OC(e)||IC(e)||AC(e)||NC()}var Mn="",Ul="",Nv="",Mv="",zC=Cn&&"ontouchstart"in document.documentElement;if(Cn){var Hl={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},FC=document.createElement("p"),Gl=FC.style,LC="Transform";for(var Yl in Hl)if(Yl+LC in Gl){Mn=Yl,Ul=Hl[Yl];break}Mn==="Webkit"&&"msHyphens"in Gl&&(Mn="ms",Ul=Hl.ms,Mv="edge"),Mn==="Webkit"&&"-apple-trailing-word"in Gl&&(Nv="apple")}var me={js:Mn,css:Ul,vendor:Nv,browser:Mv,isTouch:zC};function KC(e){return e[1]==="-"||me.js==="ms"?e:"@"+me.css+"keyframes"+e.substr(10)}var jC={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:me.js==="ms"?"-webkit-"+t:me.css+t}},VC={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:me.js==="Webkit"?me.css+"print-"+t:t}},BC=/[-\s]+(.)?/g;function RC(e,t){return t?t.toUpperCase():""}function ql(e){return e.replace(BC,RC)}function Rt(e){return ql("-"+e)}var WC={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if(me.js==="Webkit"){var n="mask-image";if(ql(n)in r)return t;if(me.js+Rt(n)in r)return me.css+t}return t}},UC={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:me.vendor==="apple"&&!me.isTouch?me.css+t:t}},HC={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:me.css+t}},GC={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:me.css+t}},YC={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:me.js==="Webkit"||me.js==="ms"&&me.browser!=="edge"?me.css+t:t}},qC={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:me.js==="Moz"||me.js==="ms"||me.vendor==="apple"?me.css+t:t}},ZC={supportedProperty:function(t,r){if(!/^break-/.test(t))return!1;if(me.js==="Webkit"){var n="WebkitColumn"+Rt(t);return n in r?me.css+"column-"+t:!1}if(me.js==="Moz"){var o="page"+Rt(t);return o in r?"page-"+t:!1}return!1}},XC={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(me.js==="Moz")return t;var n=t.replace("-inline","");return me.js+Rt(n)in r?me.css+n:!1}},JC={supportedProperty:function(t,r){return ql(t)in r?t:!1}},QC={supportedProperty:function(t,r){var n=Rt(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:me.js+n in r?me.css+t:me.js!=="Webkit"&&"Webkit"+n in r?"-webkit-"+t:!1}},e9={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:me.js==="ms"?""+me.css+t:t}},t9={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:me.js==="ms"?me.css+"scroll-chaining":t}},r9={"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"},n9={supportedProperty:function(t,r){var n=r9[t];return n&&me.js+Rt(n)in r?me.css+n:!1}},zv={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"},o9=Object.keys(zv),a9=function(t){return me.css+t},i9={supportedProperty:function(t,r,n){var o=n.multiple;if(o9.indexOf(t)>-1){var a=zv[t];if(!Array.isArray(a))return me.js+Rt(a)in r?me.css+a:!1;if(!o)return!1;for(var i=0;i<a.length;i++)if(!(me.js+Rt(a[0])in r))return!1;return a.map(a9)}return!1}},Fv=[jC,VC,WC,UC,HC,GC,YC,qC,ZC,XC,JC,QC,e9,t9,n9,i9],Lv=Fv.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),s9=Fv.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,MC(t.noPrefill)),e},[]),zn,pr={};if(Cn){zn=document.createElement("p");var Zl=window.getComputedStyle(document.documentElement,"");for(var Xl in Zl)isNaN(Xl)||(pr[Zl[Xl]]=Zl[Xl]);s9.forEach(function(e){return delete pr[e]})}function Jl(e,t){if(t===void 0&&(t={}),!zn)return e;if(process.env.NODE_ENV!=="benchmark"&&pr[e]!=null)return pr[e];(e==="transition"||e==="transform")&&(t[e]=e in zn.style);for(var r=0;r<Lv.length&&(pr[e]=Lv[r](e,zn.style,t),!pr[e]);r++);try{zn.style[e]=""}catch{return!1}return pr[e]}var Ur={},l9={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},c9=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,Wt;function d9(e,t,r){if(t==="var")return"var";if(t==="all")return"all";if(r==="all")return", all";var n=t?Jl(t):", "+Jl(r);return n||t||r}Cn&&(Wt=document.createElement("p"));function Kv(e,t){var r=t;if(!Wt||e==="content")return t;if(typeof r!="string"||!isNaN(parseInt(r,10)))return r;var n=e+r;if(process.env.NODE_ENV!=="benchmark"&&Ur[n]!=null)return Ur[n];try{Wt.style[e]=r}catch{return Ur[n]=!1,!1}if(l9[e])r=r.replace(c9,d9);else if(Wt.style[e]===""&&(r=me.css+r,r==="-ms-flex"&&(Wt.style[e]="-ms-flexbox"),Wt.style[e]=r,Wt.style[e]===""))return Ur[n]=!1,!1;return Wt.style[e]="",Ur[n]=r,Ur[n]}function u9(){function e(o){if(o.type==="keyframes"){var a=o;a.at=KC(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=Jl(a);c&&c!==a&&(s=!0);var d=!1,u=Kv(c,fr(i));u&&u!==i&&(d=!0),(s||d)&&(s&&delete o[a],o[c||a]=u||i)}return o}function r(o,a){return a.type!=="style"?o:t(o)}function n(o,a){return Kv(a,fr(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function f9(){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 jv(){return{plugins:[mC(),$C(),_C(),kC(),CC(),typeof window>"u"?null:u9(),f9()]}}function Vv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.baseClasses,r=e.newClasses,n=e.Component;if(!r)return t;var o=A({},t);return process.env.NODE_ENV!=="production"&&typeof r=="string"?(console.error(["Material-UI: The value `".concat(r,"` ")+"provided to the classes prop of ".concat(Dn(n)," is incorrect."),"You might want to use the className prop instead."].join(`
|
|
1818
1818
|
`)),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(Dn(n),"."),"You can only override one of the following: ".concat(Object.keys(t).join(","),".")].join(`
|
|
1819
1819
|
`)),r[a]&&typeof r[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(Dn(n),"."),"You need to provide a non empty string instead of: ".concat(r[a],".")].join(`
|
|
1820
|
-
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var
|
|
1821
|
-
`)),ec}var
|
|
1822
|
-
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===
|
|
1820
|
+
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var p9={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 Hr=p9;var Bv=l.createContext(null);process.env.NODE_ENV!=="production"&&(Bv.displayName="ThemeContext");const m9=Bv;function Rv(){var e=l.useContext(m9);return process.env.NODE_ENV!=="production"&&l.useDebugValue(e),e}var h9=Ll(jv()),b9=P3(),g9=new Map,v9={disableGeneration:!1,generateClassName:b9,jss:h9,sheetsCache:null,sheetsManager:g9,sheetsRegistry:null},ba=l.createContext(v9);process.env.NODE_ENV!=="production"&&(ba.displayName="StylesContext");var ga;function Ql(e){var t=e.children,r=e.injectFirst,n=r===void 0?!1:r,o=e.disableGeneration,a=o===void 0?!1:o,i=ft(e,["children","injectFirst","disableGeneration"]),s=l.useContext(ba),c=A({},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(!ga){var d=document.head;ga=document.createComment("mui-inject-first"),d.insertBefore(ga,d.firstChild)}c.jss=Ll({plugins:jv().plugins,insertionPoint:ga})}return l.createElement(ba.Provider,{value:c},t)}process.env.NODE_ENV!=="production"&&(Ql.propTypes={children:Pe.node.isRequired,disableGeneration:Pe.bool,generateClassName:Pe.func,injectFirst:Pe.bool,jss:Pe.object,serverGenerateClassName:Pe.func,sheetsCache:Pe.object,sheetsManager:Pe.object,sheetsRegistry:Pe.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Ql.propTypes=v3(Ql.propTypes));var ec=-1e9;function y9(){return ec+=1,process.env.NODE_ENV!=="production"&&ec>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
|
|
1821
|
+
`)),ec}var $9={};const Wv=$9;function x9(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&Vt(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(`
|
|
1822
|
+
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===Wv&&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(`
|
|
1823
1823
|
`)),c}if(!o||!n.overrides||!n.overrides[o])return a;var i=n.overrides[o],s=A({},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(`
|
|
1824
|
-
`))),s[c]=Br(s[c],i[c])}),s},options:{}}}function
|
|
1825
|
-
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var u=Dn(n);u!==void 0&&(d=u)}var f=
|
|
1826
|
-
`)))),r[b]}return A({keys:Ut,values:r,up:c,down:d,between:u,only:f,width:m},s)}function
|
|
1824
|
+
`))),s[c]=Br(s[c],i[c])}),s},options:{}}}function w9(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=Vv({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function _9(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,a=e.stylesCreator,i=e.name;if(!o.disableGeneration){var s=Hr.get(o.sheetsManager,a,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Hr.set(o.sheetsManager,a,n,s));var c=A({},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 u;o.sheetsCache&&(u=Hr.get(o.sheetsCache,a,n));var f=a.create(n,i);u||(u=o.jss.createStyleSheet(f,A({link:!1},c)),u.attach(),o.sheetsCache&&Hr.set(o.sheetsCache,a,n,u)),d&&d.add(u),s.staticSheet=u,s.dynamicStyles=Tv(f)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,A({link:!0},c));p.update(t),p.attach(),r.dynamicSheet=p,r.classes=Vv({baseClasses:s.staticSheet.classes,newClasses:p.classes}),d&&d.add(p)}else r.classes=s.staticSheet.classes;s.refs+=1}}function E9(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function P9(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var a=Hr.get(n.sheetsManager,o,r);a.refs-=1;var i=n.sheetsRegistry;a.refs===0&&(Hr.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 S9(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 k9(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?Wv:a,s=ft(t,["name","classNamePrefix","Component","defaultTheme"]),c=x9(e),d=r||n||"makeStyles";c.options={index:y9(),name:r,meta:d,classNamePrefix:d};var u=function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=Rv()||i,b=A({},l.useContext(ba),s),g=l.useRef(),v=l.useRef();S9(function(){var x={name:r,state:{},stylesCreator:c,stylesOptions:b,theme:m};return _9(x,p),v.current=!1,g.current=x,function(){P9(x)}},[m,c]),l.useEffect(function(){v.current&&E9(g.current,p),v.current=!0});var $=w9(g.current,p.classes,o);return process.env.NODE_ENV!=="production"&&l.useDebugValue($),$};return u}var T9=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=ft(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(`
|
|
1825
|
+
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var u=Dn(n);u!==void 0&&(d=u)}var f=k9(t,A({defaultTheme:o,Component:n,name:s||n.displayName,classNamePrefix:d},c)),p=l.forwardRef(function(b,g){b.classes;var v=b.innerRef,$=ft(b,["classes","innerRef"]),x=f(A({},n.defaultProps,b)),w,y=$;return(typeof s=="string"||i)&&(w=Rv()||o,s&&(y=S3({theme:w,name:s,props:$})),i&&!y.theme&&(y.theme=w)),l.createElement(n,A({ref:v||g,classes:x},y))});return process.env.NODE_ENV!=="production"&&(p.propTypes={classes:Pe.object,innerRef:Xg(Pe.oneOfType([Pe.func,Pe.object]),function(m){return m.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(p.displayName="WithStyles(".concat(Dn(n),")")),$d(p,n),process.env.NODE_ENV!=="production"&&(p.Naked=n,p.options=r,p.useStyles=f),p}};const D9=T9;var Ut=["xs","sm","md","lg","xl"];function C9(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=ft(e,["values","unit","step"]);function c(b){var g=typeof r[b]=="number"?r[b]:b;return"@media (min-width:".concat(g).concat(o,")")}function d(b){var g=Ut.indexOf(b)+1,v=r[Ut[g]];if(g===Ut.length)return c("xs");var $=typeof v=="number"&&g>0?v:b;return"@media (max-width:".concat($-i/100).concat(o,")")}function u(b,g){var v=Ut.indexOf(g);return v===Ut.length-1?c(b):"@media (min-width:".concat(typeof r[b]=="number"?r[b]:b).concat(o,") and ")+"(max-width:".concat((v!==-1&&typeof r[Ut[v+1]]=="number"?r[Ut[v+1]]:g)-i/100).concat(o,")")}function f(b){return u(b,b)}var p=!1;function m(b){return process.env.NODE_ENV!=="production"&&(p||(p=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
|
|
1826
|
+
`)))),r[b]}return A({keys:Ut,values:r,up:c,down:d,between:u,only:f,width:m},s)}function O9(e,t,r){var n;return A({gutters:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:",`
|
|
1827
1827
|
paddingLeft: theme.spacing(2),
|
|
1828
1828
|
paddingRight: theme.spacing(2),
|
|
1829
1829
|
[theme.breakpoints.up('sm')]: {
|
|
@@ -1831,8 +1831,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1831
1831
|
paddingRight: theme.spacing(3),
|
|
1832
1832
|
},
|
|
1833
1833
|
`].join(`
|
|
1834
|
-
`)),A({paddingLeft:t(2),paddingRight:t(2)},a,Tn({},e.up("sm"),A({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(n={minHeight:56},Tn(n,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Tn(n,e.up("sm"),{minHeight:64}),n)},r)}var
|
|
1835
|
-
`))}return I}var
|
|
1834
|
+
`)),A({paddingLeft:t(2),paddingRight:t(2)},a,Tn({},e.up("sm"),A({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(n={minHeight:56},Tn(n,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Tn(n,e.up("sm"),{minHeight:64}),n)},r)}var I9={black:"#000",white:"#fff"};const va=I9;var A9={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 tc=A9;var N9={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 rc=N9;var M9={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 nc=M9;var z9={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 oc=z9;var F9={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 ac=F9;var L9={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 ic=L9;var K9={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 sc=K9;function Uv(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 j9(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 V9(e){e=Gr(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(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(f+n/30)%12;return a-i*Math.max(Math.min(p-3,9-p,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])),lc({type:c,values:d})}function Gr(e){if(e.type)return e;if(e.charAt(0)==="#")return Gr(j9(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()."):fa(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 lc(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 Hv(e,t){var r=Gv(e),n=Gv(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Gv(e){e=Gr(e);var t=e.type==="hsl"?Gr(V9(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 B9(e,t){if(e=Gr(e),t=Uv(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 lc(e)}function R9(e,t){if(e=Gr(e),t=Uv(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 lc(e)}var Yv={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:va.white,default:tc[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}},cc={text:{primary:va.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:tc[800],default:"#303030"},action:{active:va.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 qv(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=R9(e.main,o):t==="dark"&&(e.dark=B9(e.main,a)))}function W9(e){var t=e.primary,r=t===void 0?{light:rc[300],main:rc[500],dark:rc[700]}:t,n=e.secondary,o=n===void 0?{light:nc.A200,main:nc.A400,dark:nc.A700}:n,a=e.error,i=a===void 0?{light:oc[300],main:oc[500],dark:oc[700]}:a,s=e.warning,c=s===void 0?{light:ac[300],main:ac[500],dark:ac[700]}:s,d=e.info,u=d===void 0?{light:ic[300],main:ic[500],dark:ic[700]}:d,f=e.success,p=f===void 0?{light:sc[300],main:sc[500],dark:sc[700]}:f,m=e.type,b=m===void 0?"light":m,g=e.contrastThreshold,v=g===void 0?3:g,$=e.tonalOffset,x=$===void 0?.2:$,w=ft(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function y(_){var I=Hv(_,cc.text.primary)>=v?cc.text.primary:Yv.text.primary;if(process.env.NODE_ENV!=="production"){var W=Hv(_,I);W<3&&console.error(["Material-UI: The contrast ratio of ".concat(W,":1 for ").concat(I," on ").concat(_),"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(`
|
|
1835
|
+
`))}return I}var T=function(I){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(I=A({},I),!I.main&&I[W]&&(I.main=I[W]),!I.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(W,"` property."):fa(4,W));if(typeof I.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(I.main),`\` was provided instead.
|
|
1836
1836
|
|
|
1837
1837
|
Did you intend to use one of the following approaches?
|
|
1838
1838
|
|
|
@@ -1844,14 +1844,14 @@ const theme1 = createTheme({ palette: {
|
|
|
1844
1844
|
|
|
1845
1845
|
const theme2 = createTheme({ palette: {
|
|
1846
1846
|
primary: { main: green[500] },
|
|
1847
|
-
} });`):fa(5,JSON.stringify(I.main)));return
|
|
1848
|
-
`)),
|
|
1847
|
+
} });`):fa(5,JSON.stringify(I.main)));return qv(I,"light",D,x),qv(I,"dark",j,x),I.contrastText||(I.contrastText=y(I.main)),I},N={dark:cc,light:Yv};process.env.NODE_ENV!=="production"&&(N[b]||console.error("Material-UI: The palette type `".concat(b,"` is not supported.")));var P=Br(A({common:va,type:b,primary:T(r),secondary:T(o,"A400","A200","A700"),error:T(i),warning:T(c),info:T(u),success:T(p),grey:tc,contrastThreshold:v,getContrastText:y,augmentColor:T,tonalOffset:x},N[b]),w);return P}function Zv(e){return Math.round(e*1e5)/1e5}var Xv=!1;function U9(e){return process.env.NODE_ENV!=="production"&&(Xv||(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(`
|
|
1848
|
+
`)),Xv=!0)),Zv(e)}var Jv={textTransform:"uppercase"},Qv='"Roboto", "Helvetica", "Arial", sans-serif';function H9(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?Qv:n,a=r.fontSize,i=a===void 0?14:a,s=r.fontWeightLight,c=s===void 0?300:s,d=r.fontWeightRegular,u=d===void 0?400:d,f=r.fontWeightMedium,p=f===void 0?500:f,m=r.fontWeightBold,b=m===void 0?700:m,g=r.htmlFontSize,v=g===void 0?16:g,$=r.allVariants,x=r.pxToRem,w=ft(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,T=x||function(_){return"".concat(_/v*y,"rem")},N=function(I,W,D,j,S){return A({fontFamily:o,fontWeight:I,fontSize:T(W),lineHeight:D},o===Qv?{letterSpacing:"".concat(Zv(j/W),"em")}:{},S,$)},P={h1:N(c,96,1.167,-1.5),h2:N(c,60,1.2,-.5),h3:N(u,48,1.167,0),h4:N(u,34,1.235,.25),h5:N(u,24,1.334,0),h6:N(p,20,1.6,.15),subtitle1:N(u,16,1.75,.15),subtitle2:N(p,14,1.57,.1),body1:N(u,16,1.5,.15),body2:N(u,14,1.43,.15),button:N(p,14,1.75,.4,Jv),caption:N(u,12,1.66,.4),overline:N(u,12,2.66,1,Jv)};return Br(A({htmlFontSize:v,pxToRem:T,round:U9,fontFamily:o,fontSize:i,fontWeightLight:c,fontWeightRegular:u,fontWeightMedium:p,fontWeightBold:b},P),w,{clone:!1})}var G9=.2,Y9=.14,q9=.12;function Ie(){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(G9,")"),"".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(Y9,")"),"".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(q9,")")].join(",")}var Z9=["none",Ie(0,2,1,-1,0,1,1,0,0,1,3,0),Ie(0,3,1,-2,0,2,2,0,0,1,5,0),Ie(0,3,3,-2,0,3,4,0,0,1,8,0),Ie(0,2,4,-1,0,4,5,0,0,1,10,0),Ie(0,3,5,-1,0,5,8,0,0,1,14,0),Ie(0,3,5,-1,0,6,10,0,0,1,18,0),Ie(0,4,5,-2,0,7,10,1,0,2,16,1),Ie(0,5,5,-3,0,8,10,1,0,3,14,2),Ie(0,5,6,-3,0,9,12,1,0,3,16,2),Ie(0,6,6,-3,0,10,14,1,0,4,18,3),Ie(0,6,7,-4,0,11,15,1,0,4,20,3),Ie(0,7,8,-4,0,12,17,2,0,5,22,4),Ie(0,7,8,-4,0,13,19,2,0,5,24,4),Ie(0,7,9,-4,0,14,21,2,0,5,26,4),Ie(0,8,9,-5,0,15,22,2,0,6,28,5),Ie(0,8,10,-5,0,16,24,2,0,6,30,5),Ie(0,8,11,-5,0,17,26,2,0,6,32,5),Ie(0,9,11,-5,0,18,28,2,0,7,34,6),Ie(0,9,12,-6,0,19,29,2,0,7,36,6),Ie(0,10,13,-6,0,20,31,3,0,8,38,7),Ie(0,10,13,-6,0,21,33,3,0,8,40,7),Ie(0,10,14,-6,0,22,35,3,0,8,42,7),Ie(0,11,14,-7,0,23,36,3,0,9,44,8),Ie(0,11,15,-7,0,24,38,3,0,9,46,8)];const X9=Z9;var J9={borderRadius:4};const Q9=J9;var e8=process.env.NODE_ENV!=="production"?Pe.oneOfType([Pe.number,Pe.string,Pe.object,Pe.array]):{};const t8=e8;var r8=["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 n8(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(`
|
|
1849
1849
|
`)),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(`
|
|
1850
|
-
`)),function(){})}process.env.NODE_ENV!=="production"&&
|
|
1851
|
-
`)),
|
|
1852
|
-
`)),
|
|
1850
|
+
`)),function(){})}process.env.NODE_ENV!=="production"&&r8.reduce(function(e,t){return e[t]=t8,e},{});var ey;function o8(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=n8({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"&&((!ey||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(`
|
|
1851
|
+
`)),ey=!0),e}}),r.mui=!0,r}var ty={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)"},ry={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ny(e){return"".concat(Math.round(e),"ms")}const a8={easing:ty,duration:ry,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?ry.standard:n,a=r.easing,i=a===void 0?ty.easeInOut:a,s=r.delay,c=s===void 0?0:s,d=ft(r,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var u=function(m){return typeof m=="string"},f=function(m){return!isNaN(parseFloat(m))};!u(t)&&!Array.isArray(t)&&console.error('Material-UI: Argument "props" must be a string or Array.'),!f(o)&&!u(o)&&console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(o,".")),u(i)||console.error('Material-UI: Argument "easing" must be a string.'),!f(c)&&!u(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(p){return"".concat(p," ").concat(typeof o=="string"?o:ny(o)," ").concat(i," ").concat(typeof c=="string"?c:ny(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 i8={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const s8=i8;function l8(){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,u=ft(e,["breakpoints","mixins","palette","spacing","typography"]),f=W9(i),p=C9(r),m=o8(s),b=Br({breakpoints:p,direction:"ltr",mixins:O9(p,m,o),overrides:{},palette:f,props:{},shadows:X9,typography:H9(f,d),spacing:m,shape:Q9,transitions:a8,zIndex:s8},u),g=arguments.length,v=new Array(g>1?g-1:0),$=1;$<g;$++)v[$-1]=arguments[$];if(b=v.reduce(function(y,T){return Br(y,T)},b),process.env.NODE_ENV!=="production"){var x=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],w=function y(T,N){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,_;for(_ in T){var I=T[_];P===1?_.indexOf("Mui")===0&&I&&y(I,_,P+1):x.indexOf(_)!==-1&&Object.keys(I).length>0&&(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `".concat(N,"` component increases ")+"the CSS specificity of the `".concat(_,"` internal state."),"You can not override it like this: ",JSON.stringify(T,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:Tn({},"&$".concat(_),I)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
|
|
1852
|
+
`)),T[_]={})}};w(b.overrides)}return b}var c8=l8();const d8=c8;function u8(e,t){return D9(e,A({defaultTheme:d8},t))}var f8=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)}}},dc=re.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,u=t.fontSize,f=u===void 0?"medium":u,p=t.htmlColor,m=t.titleAccess,b=t.viewBox,g=b===void 0?"0 0 24 24":b,v=ft(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return re.createElement(d,A({className:io(o.root,a,s!=="inherit"&&o["color".concat(Sl(s))],f!=="default"&&f!=="medium"&&o["fontSize".concat(Sl(f))]),focusable:"false",viewBox:g,color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},v),n,m?re.createElement("title",null,m):null)});process.env.NODE_ENV!=="production"&&(dc.propTypes={children:Pe.node,classes:Pe.object,className:Pe.string,color:Pe.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:Pe.elementType,fontSize:Xg(Pe.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:Pe.string,shapeRendering:Pe.string,titleAccess:Pe.string,viewBox:Pe.string}),dc.muiName="SvgIcon";const oy=u8(f8,{name:"MuiSvgIcon"})(dc);function p8(e,t){var r=function(o,a){return l.createElement(oy,A({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=oy.muiName,l.memo(l.forwardRef(r))}function m8(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 h8(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 b8(e,t){return re.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function ay(e){return e&&e.ownerDocument||document}function g8(e){var t=ay(e);return t.defaultView||window}function v8(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 uc(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function y8(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 $8(e){var t=e.controlled,r=e.default,n=e.name,o=e.state,a=o===void 0?"value":o,i=re.useRef(t!==void 0),s=i.current,c=re.useState(r),d=c[0],u=c[1],f=s?t:d;if(process.env.NODE_ENV!=="production"){re.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(`
|
|
1853
1853
|
`))},[t]);var p=re.useRef(r),m=p.current;re.useEffect(function(){!s&&m!==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(`
|
|
1854
|
-
`))},[JSON.stringify(r)])}var b=re.useCallback(function(g){s||u(g)},[]);return[f,b]}var
|
|
1854
|
+
`))},[JSON.stringify(r)])}var b=re.useCallback(function(g){s||u(g)},[]);return[f,b]}var x8=typeof window<"u"?re.useLayoutEffect:re.useEffect;function w8(e){var t=re.useRef(e);return x8(function(){t.current=e}),re.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function _8(e,t){return re.useMemo(function(){return e==null&&t==null?null:function(r){uc(e,r),uc(t,r)}},[e,t])}function E8(e){var t=re.useState(e),r=t[0],n=t[1],o=e||r;return re.useEffect(function(){r==null&&n("mui-".concat(Math.round(Math.random()*1e5)))},[r]),o}var ya=!0,fc=!1,iy=null,P8={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 S8(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&P8[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function k8(e){e.metaKey||e.altKey||e.ctrlKey||(ya=!0)}function pc(){ya=!1}function T8(){this.visibilityState==="hidden"&&fc&&(ya=!0)}function D8(e){e.addEventListener("keydown",k8,!0),e.addEventListener("mousedown",pc,!0),e.addEventListener("pointerdown",pc,!0),e.addEventListener("touchstart",pc,!0),e.addEventListener("visibilitychange",T8,!0)}function sy(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return ya||S8(t)}function C8(){fc=!0,window.clearTimeout(iy),iy=window.setTimeout(function(){fc=!1},100)}function O8(){var e=re.useCallback(function(t){var r=kc.findDOMNode(t);r!=null&&D8(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&re.useDebugValue(sy),{isFocusVisible:sy,onBlurVisible:C8,ref:e}}const I8=b1(Object.freeze(Object.defineProperty({__proto__:null,capitalize:Sl,createChainedFunction:x3,createSvgIcon:p8,debounce:m8,deprecatedPropType:h8,isMuiElement:b8,ownerDocument:ay,ownerWindow:g8,requirePropFactory:v8,setRef:uc,unstable_useId:E8,unsupportedProp:y8,useControlled:$8,useEventCallback:w8,useForkRef:_8,useIsFocusVisible:O8},Symbol.toStringTag,{value:"Module"})));var ly;function cy(){return ly||(ly=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=I8}(gl)),gl}var A8=da,N8=ua;Object.defineProperty(hl,"__esModule",{value:!0});var dy=hl.default=void 0,M8=N8(l),z8=A8(cy()),F8=(0,z8.default)(M8.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");dy=hl.default=F8;var mc={},L8=da,K8=ua;Object.defineProperty(mc,"__esModule",{value:!0});var uy=mc.default=void 0,j8=K8(l),V8=L8(cy()),B8=(0,V8.default)(j8.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");uy=mc.default=B8;const R8=F.div`
|
|
1855
1855
|
--border-color: ${h.color_outline_secondary_enabled};
|
|
1856
1856
|
|
|
1857
1857
|
border-radius: ${h.border_radius_400};
|
|
@@ -1882,7 +1882,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1882
1882
|
font-size: 1rem;
|
|
1883
1883
|
fill: ${h.color_text_weak};
|
|
1884
1884
|
}
|
|
1885
|
-
`,
|
|
1885
|
+
`,W8=F(th)`
|
|
1886
1886
|
all: unset;
|
|
1887
1887
|
position: absolute;
|
|
1888
1888
|
right: 10px;
|
|
@@ -1900,10 +1900,10 @@ const theme2 = createTheme({ palette: {
|
|
|
1900
1900
|
|
|
1901
1901
|
& > svg {
|
|
1902
1902
|
margin: 0;
|
|
1903
|
-
line-height:
|
|
1903
|
+
line-height: 1;
|
|
1904
1904
|
font-size: ${h.font_size_50};
|
|
1905
1905
|
}
|
|
1906
|
-
`,
|
|
1906
|
+
`,U8=F(xn)`
|
|
1907
1907
|
padding-left: 32px;
|
|
1908
1908
|
width: 100%;
|
|
1909
1909
|
|
|
@@ -1915,7 +1915,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1915
1915
|
&::-webkit-search-results-decoration {
|
|
1916
1916
|
-webkit-appearance: none;
|
|
1917
1917
|
}
|
|
1918
|
-
`,
|
|
1918
|
+
`,fy=l.forwardRef((e,t)=>{const{label:r,size:n="small",placeholder:o="Search",disabled:a,readOnly:i,required:s,hideLabel:c,onChange:d,onClear:u,onSubmit:f,...p}=e,m={label:r,placeholder:o,onClear:u,onSubmit:f,onChange:d,isDisabled:a,isReadOnly:i,isRequired:s},b=o3(m),g=ct(t),{labelProps:v,inputProps:$,clearButtonProps:x}=i3(m,b,g);return ie(lr,{children:[C(Je,{...v,srOnly:c,children:r}),ie(R8,{children:[C(dy,{}),C(U8,{...$,ref:g,placeholder:o,paddingSize:n,...p}),b.value!==""&&C(W8,{...x,children:C(uy,{})})]})]})});fy.displayName="Search";const py=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Ke:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,A({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),my="Switch",[H8,dI]=Re(my),[G8,Y8]=H8(my),q8=l.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:a,required:i,disabled:s,value:c="on",onCheckedChange:d,...u}=e,[f,p]=l.useState(null),m=pe(t,x=>p(x)),b=l.useRef(!1),g=f?Boolean(f.closest("form")):!0,[v=!1,$]=rt({prop:o,defaultProp:a,onChange:d});return l.createElement(G8,{scope:r,checked:v,disabled:s},l.createElement(py.button,A({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":hy(v),"data-disabled":s?"":void 0,disabled:s,value:c},u,{ref:m,onClick:oe(e.onClick,x=>{$(w=>!w),g&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})})),g&&l.createElement(J8,{control:f,bubbles:!b.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),Z8="SwitchThumb",X8=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=Y8(Z8,r);return l.createElement(py.span,A({"data-state":hy(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),J8=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=No(r),s=wr(t);return l.useEffect(()=>{const c=a.current,d=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&f){const p=new Event("click",{bubbles:n});f.call(c,r),c.dispatchEvent(p)}},[i,r,n]),l.createElement("input",A({type:"checkbox","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function hy(e){return e?"checked":"unchecked"}const Q8=q8,eO=X8,tO=F(Q8)`
|
|
1919
1919
|
all: unset;
|
|
1920
1920
|
width: 40px;
|
|
1921
1921
|
height: 24px;
|
|
@@ -1955,7 +1955,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1955
1955
|
&[aria-checked='true']:active {
|
|
1956
1956
|
background-color: ${h.color_fill_primary_pressed};
|
|
1957
1957
|
}
|
|
1958
|
-
`,
|
|
1958
|
+
`,rO=F(eO)`
|
|
1959
1959
|
--thumb-width: 18px;
|
|
1960
1960
|
display: block;
|
|
1961
1961
|
width: var(--thumb-width);
|
|
@@ -1974,26 +1974,26 @@ const theme2 = createTheme({ palette: {
|
|
|
1974
1974
|
&[data-state~='checked'] {
|
|
1975
1975
|
transform: translateX(19px);
|
|
1976
1976
|
}
|
|
1977
|
-
`,
|
|
1977
|
+
`,by=l.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=lh(r);return C(tO,{...n,...o,ref:t,children:C(rO,{})})});by.displayName="Switch";const $a=F.h1`
|
|
1978
1978
|
font-family: ${h.font_family_inter_display};
|
|
1979
1979
|
font-style: normal;
|
|
1980
1980
|
font-weight: 500; /* don't really see value of using tokens for font-weight */
|
|
1981
1981
|
margin: 0;
|
|
1982
1982
|
padding-inline: 0;
|
|
1983
1983
|
color: ${h.color_text_strong};
|
|
1984
|
-
`,
|
|
1984
|
+
`,nO=F($a)`
|
|
1985
1985
|
font-size: ${h.font_size_title_large};
|
|
1986
1986
|
letter-spacing: ${h.letter_spacing_title_large};
|
|
1987
|
-
`,
|
|
1987
|
+
`,oO=F($a)`
|
|
1988
1988
|
font-size: ${h.font_size_title_medium};
|
|
1989
1989
|
letter-spacing: ${h.letter_spacing_title_medium};
|
|
1990
|
-
`,
|
|
1990
|
+
`,aO=F($a)`
|
|
1991
1991
|
font-size: ${h.font_size_title_small};
|
|
1992
1992
|
letter-spacing: ${h.letter_spacing_title_small};
|
|
1993
|
-
`,
|
|
1993
|
+
`,iO={xsmall:F($a)`
|
|
1994
1994
|
font-size: ${h.font_size_title_xsmall};
|
|
1995
1995
|
letter-spacing: ${h.letter_spacing_title_xsmall};
|
|
1996
|
-
`,small:oO,medium:nO,large:rO},by=l.forwardRef((e,t)=>{const{children:r,size:n,as:o,className:a,...i}=e,s=aO[n];return C(s,{...i,as:o,ref:t,className:a,children:r})});by.displayName="Title";function gy(e){return null}gy.getCollectionNode=function*(t,r){let{childItems:n,title:o,children:a}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&!(r!=null&&r.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:s,"aria-label":t["aria-label"],hasChildNodes:iO(t),*childNodes(){if(n)for(let c of n)yield{type:"item",value:c};else if(o){let c=[];l.Children.forEach(a,d=>{c.push({type:"item",element:d})}),yield*c}}}};function iO(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&l.Children.count(e.children)>0)}let xa=gy;function vy(e){return null}vy.getCollectionNode=function*(t){let{children:r,title:n,items:o}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof r=="function"){if(!o)throw new Error("props.children was a function but props.items is missing");for(let a of o)yield{type:"item",value:a,renderer:r}}else{let a=[];l.Children.forEach(r,i=>{a.push({type:"item",element:i})}),yield*a}}}};let hc=vy;class sO{build(t,r){return this.context=r,yy(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];l.Children.forEach(r,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let c of s)a++,yield c}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let c=this.cache.get(t.value);if(c&&(!c.shouldInvalidate||!c.shouldInvalidate(this.context))){c.index=t.index,c.parentKey=o?o.key:null,yield c;return}a=r.renderer(t.value)}if(l.isValidElement(a)){let c=a.type;if(typeof c!="function"&&typeof c.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let d=c.getCollectionNode(a.props,this.context),u=t.index,f=d.next();for(;!f.done&&f.value;){let p=f.value;t.index=u;let m=p.key;m||(m=p.element?null:this.getKey(a,t,r,n));let g=[...this.getFullNode({...p,key:m,index:u,wrapper:lO(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let v of g){if(v.value=p.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${bc(v.type)}> in <${bc(o.type)}>. Only <${bc(t.type)}> is supported.`);u++,yield v}f=d.next(g)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:yy(function*(){if(!t.hasChildNodes)return;let c=0;for(let d of t.childNodes()){d.key!=null&&(d.key=`${s.key}${d.key}`),d.index=c;let u=i.getFullNode(d,i.getChildState(r,d),s.key,s);for(let f of u)c++,yield f}})};yield s}constructor(){Pr(this,"cache",new WeakMap)}}function yy(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function lO(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function bc(e){return e[0].toUpperCase()+e.slice(1)}function cO(e,t,r,n=[]){let o=l.useMemo(()=>new sO,[]),a=l.useRef(null);return l.useMemo(()=>{let i=o.build(e,r);return a.current=t(i,a.current),a.current},[o,e.children,e.items,r,...n])}const $y=new WeakMap;function xy(e){let t=$y.get(e);if(t!=null)return t;t=0;for(let r of e)r.type==="section"?t+=xy(r.childNodes):t++;return $y.set(e,t),t}function wy(e){return n5()?e.altKey:e.ctrlKey}function Yr(e){return nr()?e.metaKey:e.ctrlKey}const dO=1e3;function gc(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=l.useRef({search:"",timeout:null}).current,a=i=>{let s=uO(i.key);if(!s||i.ctrlKey||i.metaKey)return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let c=t.getKeyForSearch(o.search,r.focusedKey);c==null&&(c=t.getKeyForSearch(o.search)),c!=null&&(r.setFocusedKey(c),n&&n(c)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},dO)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function uO(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function fO(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:u,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n}=e,{direction:b}=dt(),g=P=>{if(P.altKey&&P.key==="Tab"&&P.preventDefault(),!n.current.contains(P.target))return;const _=(S,O)=>{S!=null&&(t.setFocusedKey(S,O),P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):c&&!wy(P)&&t.replaceSelection(S))};switch(P.key){case"ArrowDown":if(r.getKeyBelow){var I,W;P.preventDefault();let S=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(I=r.getFirstKey)===null||I===void 0?void 0:I.call(r);S==null&&a&&(S=(W=r.getFirstKey)===null||W===void 0?void 0:W.call(r,t.focusedKey)),_(S)}break;case"ArrowUp":if(r.getKeyAbove){var D,j;P.preventDefault();let S=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(D=r.getLastKey)===null||D===void 0?void 0:D.call(r);S==null&&a&&(S=(j=r.getLastKey)===null||j===void 0?void 0:j.call(r,t.focusedKey)),_(S)}break;case"ArrowLeft":if(r.getKeyLeftOf){P.preventDefault();let S=r.getKeyLeftOf(t.focusedKey);_(S,b==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){P.preventDefault();let S=r.getKeyRightOf(t.focusedKey);_(S,b==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){P.preventDefault();let S=r.getFirstKey(t.focusedKey,Yr(P));t.setFocusedKey(S),Yr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):c&&t.replaceSelection(S)}break;case"End":if(r.getLastKey){P.preventDefault();let S=r.getLastKey(t.focusedKey,Yr(P));t.setFocusedKey(S),Yr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):c&&t.replaceSelection(S)}break;case"PageDown":if(r.getKeyPageBelow){P.preventDefault();let S=r.getKeyPageBelow(t.focusedKey);_(S)}break;case"PageUp":if(r.getKeyPageAbove){P.preventDefault();let S=r.getKeyPageAbove(t.focusedKey);_(S)}break;case"a":Yr(P)&&t.selectionMode==="multiple"&&s!==!0&&(P.preventDefault(),t.selectAll());break;case"Escape":P.preventDefault(),i||t.clearSelection();break;case"Tab":if(!f){if(P.shiftKey)n.current.focus();else{let S=Ye(n.current,{tabbable:!0}),O,X;do X=S.lastChild(),X&&(O=X);while(X);O&&!O.contains(document.activeElement)&&zt(O)}break}}},v=l.useRef({top:0,left:0});uo(m,"scroll",p?null:()=>{v.current={top:m.current.scrollTop,left:m.current.scrollLeft}});let $=P=>{if(t.isFocused){P.currentTarget.contains(P.target)||t.setFocused(!1);return}if(P.currentTarget.contains(P.target)){if(t.setFocused(!0),t.focusedKey==null){let W=j=>{j!=null&&(t.setFocusedKey(j),c&&t.replaceSelection(j))},D=P.relatedTarget;var _,I;D&&P.currentTarget.compareDocumentPosition(D)&Node.DOCUMENT_POSITION_FOLLOWING?W((_=t.lastSelectedKey)!==null&&_!==void 0?_:r.getLastKey()):W((I=t.firstSelectedKey)!==null&&I!==void 0?I:r.getFirstKey())}else if(!p){m.current.scrollTop=v.current.top,m.current.scrollLeft=v.current.left;let W=m.current.querySelector(`[data-key="${t.focusedKey}"]`);W&&(zt(W),Ii(m.current,W))}}},x=P=>{P.currentTarget.contains(P.relatedTarget)||t.setFocused(!1)};const w=l.useRef(o);l.useEffect(()=>{if(w.current){let P=null;o==="first"&&(P=r.getFirstKey()),o==="last"&&(P=r.getLastKey());let _=t.selectedKeys;_.size&&(P=_.values().next().value),t.setFocused(!0),t.setFocusedKey(P),P==null&&!u&&vo(n.current)}w.current=!1},[]),l.useEffect(()=>{if(!p&&t.focusedKey&&(m!=null&&m.current)){let P=m.current.querySelector(`[data-key="${t.focusedKey}"]`);P&&(Ii(m.current,P),Ou(P,{containingElement:n.current}))}},[p,m,t.focusedKey,n]);let y={onKeyDown:g,onFocus:$,onBlur:x,onMouseDown(P){m.current===P.target&&P.preventDefault()}},{typeSelectProps:k}=gc({keyboardDelegate:r,selectionManager:t});d||(y=ve(k,y));let N;return u||(N=t.focusedKey==null?0:-1),{collectionProps:{...y,tabIndex:N}}}function pO(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,isVirtualized:a,shouldUseVirtualFocus:i,focus:s,isDisabled:c,onAction:d,allowsDifferentPressOrigin:u}=e,f=j=>{if(j.pointerType==="keyboard"&&wy(j))t.toggleSelection(r);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):j&&j.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||j&&(Yr(j)||j.pointerType==="touch"||j.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};l.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!i&&document.activeElement!==n.current&&(s?s():vo(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,i]),c=c||t.isDisabled(r);let p={};!i&&!c?p={tabIndex:r===t.focusedKey?0:-1,onFocus(j){j.target===n.current&&t.setFocusedKey(r)}}:c&&(p.onMouseDown=j=>{j.preventDefault()});let m=!c&&t.canSelectItem(r),b=d&&!c,g=b&&(t.selectionBehavior==="replace"?!m:t.isEmpty),v=b&&m&&t.selectionBehavior==="replace",$=g||v,x=l.useRef(null),w=$&&m,y=l.useRef(!1),k=l.useRef(!1),N={};o?(N.onPressStart=j=>{x.current=j.pointerType,y.current=w,j.pointerType==="keyboard"&&(!$||Ey())&&f(j)},u?(N.onPressUp=j=>{j.pointerType!=="keyboard"&&f(j)},N.onPress=g?()=>d():null):N.onPress=j=>{if(g||v&&j.pointerType!=="mouse"){if(j.pointerType==="keyboard"&&!_y())return;d()}else j.pointerType!=="keyboard"&&f(j)}):(N.onPressStart=j=>{x.current=j.pointerType,y.current=w,k.current=g,(j.pointerType==="mouse"&&!g||j.pointerType==="keyboard"&&(!d||Ey()))&&f(j)},N.onPress=j=>{(j.pointerType==="touch"||j.pointerType==="pen"||j.pointerType==="virtual"||j.pointerType==="keyboard"&&$&&_y()||j.pointerType==="mouse"&&k.current)&&($?d():f(j))}),a||(p["data-key"]=r),N.preventFocusOnPress=i;let{pressProps:P,isPressed:_}=kr(N),I=v?j=>{x.current==="mouse"&&(j.stopPropagation(),j.preventDefault(),d())}:void 0,{longPressProps:W}=Wu({isDisabled:!w,onLongPress(j){j.pointerType==="touch"&&(f(j),t.setSelectionBehavior("toggle"))}});return{itemProps:ve(p,m||g?P:{},w?W:{},{onDoubleClick:I,onDragStartCapture:j=>{x.current==="touch"&&y.current&&j.preventDefault()}}),isPressed:_,isSelected:t.isSelected(r),isDisabled:c,allowsSelection:m,hasAction:$}}function _y(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Ey(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class vc{getKeyBelow(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getKeyAbove(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.max(0,n.offsetTop+n.offsetHeight-r.offsetHeight);for(;n&&n.offsetTop>o;)t=this.getKeyAbove(t),n=this.getItem(t);return t}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.min(r.scrollHeight,n.offsetTop-n.offsetHeight+r.offsetHeight);for(;n&&n.offsetTop<o;)t=this.getKeyBelow(t),n=this.getItem(t);return t}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let a=n.getItem(o),i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return o;o=this.getKeyBelow(o)}return null}constructor(t,r,n,o){this.collection=t,this.disabledKeys=r,this.ref=n,this.collator=o}}function mO(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a,autoFocus:i,shouldFocusWrap:s,isVirtualized:c,disallowEmptySelection:d,selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:f,shouldUseVirtualFocus:p,allowsTabNavigation:m}=e,b=Ao({usage:"search",sensitivity:"base"}),g=t.disabledBehavior,v=l.useMemo(()=>a||new vc(r,g==="selection"?new Set:n,o,b),[a,r,n,o,b,g]),{collectionProps:$}=fO({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:s,disallowEmptySelection:d,selectOnFocus:u,disallowTypeAhead:f,shouldUseVirtualFocus:p,allowsTabNavigation:m,isVirtualized:c,scrollRef:o});return{listProps:$}}const yc=new WeakMap;function hO(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function bO(e,t){let r=yc.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${hO(t)}`}function Py(e,t,r){let n=xt(e,{labelable:!0}),{listProps:o}=mO({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=Cr({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=Ze(e.id);yc.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:s,fieldProps:c}=xp({...e,id:i,labelElementType:"span"});return{labelProps:s,listBoxProps:ve(n,a,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...ve(c,o)})}}function Sy(e,t,r){let{key:n}=e,o=yc.get(t);var a;let i=(a=e.isDisabled)!==null&&a!==void 0?a:t.disabledKeys.has(n);var s;let c=(s=e.isSelected)!==null&&s!==void 0?s:t.selectionManager.isSelected(n),d=t.selectionManager.focusedKey===n;var u;let f=(u=e.shouldSelectOnPressUp)!==null&&u!==void 0?u:o.shouldSelectOnPressUp;var p;let m=(p=e.shouldFocusOnHover)!==null&&p!==void 0?p:o.shouldFocusOnHover;var b;let g=(b=e.shouldUseVirtualFocus)!==null&&b!==void 0?b:o.shouldUseVirtualFocus;var v;let $=(v=e.isVirtualized)!==null&&v!==void 0?v:o.isVirtualized,x=lo(),w=lo(),y={role:"option","aria-disabled":i,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};nr()&&o5()||(y["aria-label"]=e["aria-label"],y["aria-labelledby"]=x,y["aria-describedby"]=w),$&&(y["aria-posinset"]=t.collection.getItem(n).index+1,y["aria-setsize"]=xy(t.collection));let{itemProps:k,isPressed:N,hasAction:P,allowsSelection:_}=pO({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:f,allowsDifferentPressOrigin:f&&m,isVirtualized:$,shouldUseVirtualFocus:g,isDisabled:i,onAction:o.onAction?()=>o.onAction(n):void 0}),{hoverProps:I}=w5({isDisabled:i||!m,onHoverStart(){ji()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}});return{optionProps:{...y,...ve(k,I),id:bO(t,n)},labelProps:{id:x},descriptionProps:{id:w},isFocused:d,isSelected:c,isDisabled:i,isPressed:N,allowsSelection:_,hasAction:P}}const ky=F.ul`
|
|
1996
|
+
`,small:aO,medium:oO,large:nO},gy=l.forwardRef((e,t)=>{const{children:r,size:n="medium",as:o,className:a,...i}=e,s=iO[n];return C(s,{...i,as:o,ref:t,className:a,children:r})});gy.displayName="Title";function vy(e){return null}vy.getCollectionNode=function*(t,r){let{childItems:n,title:o,children:a}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&!(r!=null&&r.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:s,"aria-label":t["aria-label"],hasChildNodes:sO(t),*childNodes(){if(n)for(let c of n)yield{type:"item",value:c};else if(o){let c=[];l.Children.forEach(a,d=>{c.push({type:"item",element:d})}),yield*c}}}};function sO(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&l.Children.count(e.children)>0)}let xa=vy;function yy(e){return null}yy.getCollectionNode=function*(t){let{children:r,title:n,items:o}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof r=="function"){if(!o)throw new Error("props.children was a function but props.items is missing");for(let a of o)yield{type:"item",value:a,renderer:r}}else{let a=[];l.Children.forEach(r,i=>{a.push({type:"item",element:i})}),yield*a}}}};let hc=yy;class lO{build(t,r){return this.context=r,$y(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];l.Children.forEach(r,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let c of s)a++,yield c}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let c=this.cache.get(t.value);if(c&&(!c.shouldInvalidate||!c.shouldInvalidate(this.context))){c.index=t.index,c.parentKey=o?o.key:null,yield c;return}a=r.renderer(t.value)}if(l.isValidElement(a)){let c=a.type;if(typeof c!="function"&&typeof c.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let d=c.getCollectionNode(a.props,this.context),u=t.index,f=d.next();for(;!f.done&&f.value;){let p=f.value;t.index=u;let m=p.key;m||(m=p.element?null:this.getKey(a,t,r,n));let g=[...this.getFullNode({...p,key:m,index:u,wrapper:cO(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let v of g){if(v.value=p.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${bc(v.type)}> in <${bc(o.type)}>. Only <${bc(t.type)}> is supported.`);u++,yield v}f=d.next(g)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:$y(function*(){if(!t.hasChildNodes)return;let c=0;for(let d of t.childNodes()){d.key!=null&&(d.key=`${s.key}${d.key}`),d.index=c;let u=i.getFullNode(d,i.getChildState(r,d),s.key,s);for(let f of u)c++,yield f}})};yield s}constructor(){Pr(this,"cache",new WeakMap)}}function $y(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function cO(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function bc(e){return e[0].toUpperCase()+e.slice(1)}function dO(e,t,r,n=[]){let o=l.useMemo(()=>new lO,[]),a=l.useRef(null);return l.useMemo(()=>{let i=o.build(e,r);return a.current=t(i,a.current),a.current},[o,e.children,e.items,r,...n])}const xy=new WeakMap;function wy(e){let t=xy.get(e);if(t!=null)return t;t=0;for(let r of e)r.type==="section"?t+=wy(r.childNodes):t++;return xy.set(e,t),t}function _y(e){return o5()?e.altKey:e.ctrlKey}function Yr(e){return nr()?e.metaKey:e.ctrlKey}const uO=1e3;function gc(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=l.useRef({search:"",timeout:null}).current,a=i=>{let s=fO(i.key);if(!s||i.ctrlKey||i.metaKey)return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let c=t.getKeyForSearch(o.search,r.focusedKey);c==null&&(c=t.getKeyForSearch(o.search)),c!=null&&(r.setFocusedKey(c),n&&n(c)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},uO)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function fO(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function pO(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:u,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n}=e,{direction:b}=dt(),g=P=>{if(P.altKey&&P.key==="Tab"&&P.preventDefault(),!n.current.contains(P.target))return;const _=(S,O)=>{S!=null&&(t.setFocusedKey(S,O),P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):c&&!_y(P)&&t.replaceSelection(S))};switch(P.key){case"ArrowDown":if(r.getKeyBelow){var I,W;P.preventDefault();let S=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(I=r.getFirstKey)===null||I===void 0?void 0:I.call(r);S==null&&a&&(S=(W=r.getFirstKey)===null||W===void 0?void 0:W.call(r,t.focusedKey)),_(S)}break;case"ArrowUp":if(r.getKeyAbove){var D,j;P.preventDefault();let S=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(D=r.getLastKey)===null||D===void 0?void 0:D.call(r);S==null&&a&&(S=(j=r.getLastKey)===null||j===void 0?void 0:j.call(r,t.focusedKey)),_(S)}break;case"ArrowLeft":if(r.getKeyLeftOf){P.preventDefault();let S=r.getKeyLeftOf(t.focusedKey);_(S,b==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){P.preventDefault();let S=r.getKeyRightOf(t.focusedKey);_(S,b==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){P.preventDefault();let S=r.getFirstKey(t.focusedKey,Yr(P));t.setFocusedKey(S),Yr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):c&&t.replaceSelection(S)}break;case"End":if(r.getLastKey){P.preventDefault();let S=r.getLastKey(t.focusedKey,Yr(P));t.setFocusedKey(S),Yr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):c&&t.replaceSelection(S)}break;case"PageDown":if(r.getKeyPageBelow){P.preventDefault();let S=r.getKeyPageBelow(t.focusedKey);_(S)}break;case"PageUp":if(r.getKeyPageAbove){P.preventDefault();let S=r.getKeyPageAbove(t.focusedKey);_(S)}break;case"a":Yr(P)&&t.selectionMode==="multiple"&&s!==!0&&(P.preventDefault(),t.selectAll());break;case"Escape":P.preventDefault(),i||t.clearSelection();break;case"Tab":if(!f){if(P.shiftKey)n.current.focus();else{let S=Ye(n.current,{tabbable:!0}),O,X;do X=S.lastChild(),X&&(O=X);while(X);O&&!O.contains(document.activeElement)&&zt(O)}break}}},v=l.useRef({top:0,left:0});uo(m,"scroll",p?null:()=>{v.current={top:m.current.scrollTop,left:m.current.scrollLeft}});let $=P=>{if(t.isFocused){P.currentTarget.contains(P.target)||t.setFocused(!1);return}if(P.currentTarget.contains(P.target)){if(t.setFocused(!0),t.focusedKey==null){let W=j=>{j!=null&&(t.setFocusedKey(j),c&&t.replaceSelection(j))},D=P.relatedTarget;var _,I;D&&P.currentTarget.compareDocumentPosition(D)&Node.DOCUMENT_POSITION_FOLLOWING?W((_=t.lastSelectedKey)!==null&&_!==void 0?_:r.getLastKey()):W((I=t.firstSelectedKey)!==null&&I!==void 0?I:r.getFirstKey())}else if(!p){m.current.scrollTop=v.current.top,m.current.scrollLeft=v.current.left;let W=m.current.querySelector(`[data-key="${t.focusedKey}"]`);W&&(zt(W),Ii(m.current,W))}}},x=P=>{P.currentTarget.contains(P.relatedTarget)||t.setFocused(!1)};const w=l.useRef(o);l.useEffect(()=>{if(w.current){let P=null;o==="first"&&(P=r.getFirstKey()),o==="last"&&(P=r.getLastKey());let _=t.selectedKeys;_.size&&(P=_.values().next().value),t.setFocused(!0),t.setFocusedKey(P),P==null&&!u&&vo(n.current)}w.current=!1},[]),l.useEffect(()=>{if(!p&&t.focusedKey&&(m!=null&&m.current)){let P=m.current.querySelector(`[data-key="${t.focusedKey}"]`);P&&(Ii(m.current,P),Ou(P,{containingElement:n.current}))}},[p,m,t.focusedKey,n]);let y={onKeyDown:g,onFocus:$,onBlur:x,onMouseDown(P){m.current===P.target&&P.preventDefault()}},{typeSelectProps:T}=gc({keyboardDelegate:r,selectionManager:t});d||(y=ve(T,y));let N;return u||(N=t.focusedKey==null?0:-1),{collectionProps:{...y,tabIndex:N}}}function mO(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,isVirtualized:a,shouldUseVirtualFocus:i,focus:s,isDisabled:c,onAction:d,allowsDifferentPressOrigin:u}=e,f=j=>{if(j.pointerType==="keyboard"&&_y(j))t.toggleSelection(r);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):j&&j.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||j&&(Yr(j)||j.pointerType==="touch"||j.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};l.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!i&&document.activeElement!==n.current&&(s?s():vo(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,i]),c=c||t.isDisabled(r);let p={};!i&&!c?p={tabIndex:r===t.focusedKey?0:-1,onFocus(j){j.target===n.current&&t.setFocusedKey(r)}}:c&&(p.onMouseDown=j=>{j.preventDefault()});let m=!c&&t.canSelectItem(r),b=d&&!c,g=b&&(t.selectionBehavior==="replace"?!m:t.isEmpty),v=b&&m&&t.selectionBehavior==="replace",$=g||v,x=l.useRef(null),w=$&&m,y=l.useRef(!1),T=l.useRef(!1),N={};o?(N.onPressStart=j=>{x.current=j.pointerType,y.current=w,j.pointerType==="keyboard"&&(!$||Py())&&f(j)},u?(N.onPressUp=j=>{j.pointerType!=="keyboard"&&f(j)},N.onPress=g?()=>d():null):N.onPress=j=>{if(g||v&&j.pointerType!=="mouse"){if(j.pointerType==="keyboard"&&!Ey())return;d()}else j.pointerType!=="keyboard"&&f(j)}):(N.onPressStart=j=>{x.current=j.pointerType,y.current=w,T.current=g,(j.pointerType==="mouse"&&!g||j.pointerType==="keyboard"&&(!d||Py()))&&f(j)},N.onPress=j=>{(j.pointerType==="touch"||j.pointerType==="pen"||j.pointerType==="virtual"||j.pointerType==="keyboard"&&$&&Ey()||j.pointerType==="mouse"&&T.current)&&($?d():f(j))}),a||(p["data-key"]=r),N.preventFocusOnPress=i;let{pressProps:P,isPressed:_}=kr(N),I=v?j=>{x.current==="mouse"&&(j.stopPropagation(),j.preventDefault(),d())}:void 0,{longPressProps:W}=Wu({isDisabled:!w,onLongPress(j){j.pointerType==="touch"&&(f(j),t.setSelectionBehavior("toggle"))}});return{itemProps:ve(p,m||g?P:{},w?W:{},{onDoubleClick:I,onDragStartCapture:j=>{x.current==="touch"&&y.current&&j.preventDefault()}}),isPressed:_,isSelected:t.isSelected(r),isDisabled:c,allowsSelection:m,hasAction:$}}function Ey(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Py(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class vc{getKeyBelow(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getKeyAbove(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.max(0,n.offsetTop+n.offsetHeight-r.offsetHeight);for(;n&&n.offsetTop>o;)t=this.getKeyAbove(t),n=this.getItem(t);return t}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.min(r.scrollHeight,n.offsetTop-n.offsetHeight+r.offsetHeight);for(;n&&n.offsetTop<o;)t=this.getKeyBelow(t),n=this.getItem(t);return t}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let a=n.getItem(o),i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return o;o=this.getKeyBelow(o)}return null}constructor(t,r,n,o){this.collection=t,this.disabledKeys=r,this.ref=n,this.collator=o}}function hO(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a,autoFocus:i,shouldFocusWrap:s,isVirtualized:c,disallowEmptySelection:d,selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:f,shouldUseVirtualFocus:p,allowsTabNavigation:m}=e,b=Ao({usage:"search",sensitivity:"base"}),g=t.disabledBehavior,v=l.useMemo(()=>a||new vc(r,g==="selection"?new Set:n,o,b),[a,r,n,o,b,g]),{collectionProps:$}=pO({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:s,disallowEmptySelection:d,selectOnFocus:u,disallowTypeAhead:f,shouldUseVirtualFocus:p,allowsTabNavigation:m,isVirtualized:c,scrollRef:o});return{listProps:$}}const yc=new WeakMap;function bO(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function gO(e,t){let r=yc.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${bO(t)}`}function Sy(e,t,r){let n=xt(e,{labelable:!0}),{listProps:o}=hO({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=Cr({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=Ze(e.id);yc.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:s,fieldProps:c}=wp({...e,id:i,labelElementType:"span"});return{labelProps:s,listBoxProps:ve(n,a,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...ve(c,o)})}}function ky(e,t,r){let{key:n}=e,o=yc.get(t);var a;let i=(a=e.isDisabled)!==null&&a!==void 0?a:t.disabledKeys.has(n);var s;let c=(s=e.isSelected)!==null&&s!==void 0?s:t.selectionManager.isSelected(n),d=t.selectionManager.focusedKey===n;var u;let f=(u=e.shouldSelectOnPressUp)!==null&&u!==void 0?u:o.shouldSelectOnPressUp;var p;let m=(p=e.shouldFocusOnHover)!==null&&p!==void 0?p:o.shouldFocusOnHover;var b;let g=(b=e.shouldUseVirtualFocus)!==null&&b!==void 0?b:o.shouldUseVirtualFocus;var v;let $=(v=e.isVirtualized)!==null&&v!==void 0?v:o.isVirtualized,x=lo(),w=lo(),y={role:"option","aria-disabled":i,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};nr()&&a5()||(y["aria-label"]=e["aria-label"],y["aria-labelledby"]=x,y["aria-describedby"]=w),$&&(y["aria-posinset"]=t.collection.getItem(n).index+1,y["aria-setsize"]=wy(t.collection));let{itemProps:T,isPressed:N,hasAction:P,allowsSelection:_}=mO({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:f,allowsDifferentPressOrigin:f&&m,isVirtualized:$,shouldUseVirtualFocus:g,isDisabled:i,onAction:o.onAction?()=>o.onAction(n):void 0}),{hoverProps:I}=_5({isDisabled:i||!m,onHoverStart(){ji()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}});return{optionProps:{...y,...ve(T,I),id:gO(t,n)},labelProps:{id:x},descriptionProps:{id:w},isFocused:d,isSelected:c,isDisabled:i,isPressed:N,allowsSelection:_,hasAction:P}}const Ty=F.ul`
|
|
1997
1997
|
max-height: 300px;
|
|
1998
1998
|
overflow: auto;
|
|
1999
1999
|
list-style: none;
|
|
@@ -2001,7 +2001,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2001
2001
|
margin: 4px 0;
|
|
2002
2002
|
outline: none;
|
|
2003
2003
|
width: 100%;
|
|
2004
|
-
`,
|
|
2004
|
+
`,Dy=F.li`
|
|
2005
2005
|
all: unset;
|
|
2006
2006
|
background-color: ${e=>e.isFocused?h.color_background_white_weak:""};
|
|
2007
2007
|
font-size: ${h.font_size_100};
|
|
@@ -2018,20 +2018,20 @@ const theme2 = createTheme({ palette: {
|
|
|
2018
2018
|
padding: 7px ${h.sizing_200};
|
|
2019
2019
|
position: relative;
|
|
2020
2020
|
user-select: none;
|
|
2021
|
-
`,
|
|
2021
|
+
`,Cy=F.div`
|
|
2022
2022
|
display: flex;
|
|
2023
2023
|
align-items: center;
|
|
2024
2024
|
justify-content: space-between;
|
|
2025
2025
|
width: 100%;
|
|
2026
2026
|
padding: ${h.sizing_100};
|
|
2027
|
-
`,
|
|
2027
|
+
`,Oy=F.div`
|
|
2028
2028
|
width: 18px;
|
|
2029
2029
|
height: 18px;
|
|
2030
2030
|
margin-left: 8px;
|
|
2031
|
-
`;function
|
|
2031
|
+
`;function vO(e){const t=re.useRef(null),{listBoxRef:r=t,state:n}=e,{listBoxProps:o}=Sy({...e,disallowEmptySelection:!0},n,r);return C(Ty,{...o,ref:r,children:[...n.collection].map(a=>C($O,{item:a,state:n},a.key))})}function yO(e){const t=re.useRef(null),{listBoxRef:r=t,state:n}=e,{listBoxProps:o}=Sy({...e,disallowEmptySelection:!0},n,r);return C(Ty,{...o,ref:r,children:[...n.collection].map(a=>C(xO,{item:a,state:n},a.key))})}const Iy=re.createContext({labelProps:{},descriptionProps:{}});function $O({item:e,state:t}){const r=re.useRef(null),{optionProps:n,labelProps:o,descriptionProps:a,isSelected:i,isFocused:s,isDisabled:c}=ky({key:e.key},t,r);return C(Dy,{...n,ref:r,isFocused:s,isSelected:i,children:C(Cy,{children:ie(Iy.Provider,{value:{labelProps:o,descriptionProps:a},children:[C("span",{children:e.rendered}),C(Oy,{children:i&&C(Fe.Check,{"aria-hidden":"true",style:{width:18,height:18}})})]})})})}function xO({item:e,state:t}){const r=re.useRef(null),{optionProps:n,labelProps:o,descriptionProps:a,isSelected:i,isFocused:s,isDisabled:c}=ky({key:e.key},t,r);return ie(Dy,{...n,ref:r,isFocused:s,isSelected:i,children:[C(Bo,{disabled:c,checked:i}),C(Cy,{children:ie(Iy.Provider,{value:{labelProps:o,descriptionProps:a},children:[C("span",{children:e.rendered}),C(Oy,{children:i&&C(Fe.Check,{"aria-hidden":"true",style:{width:18,height:18}})})]})})]})}F.div`
|
|
2032
2032
|
font-weight: normal;
|
|
2033
2033
|
font-size: 12px;
|
|
2034
|
-
`;const
|
|
2034
|
+
`;const wO=F.div`
|
|
2035
2035
|
z-index: 100;
|
|
2036
2036
|
min-width: 200px;
|
|
2037
2037
|
font-family: ${h.font_family_sans};
|
|
@@ -2039,9 +2039,9 @@ const theme2 = createTheme({ palette: {
|
|
|
2039
2039
|
background-color: ${h.color_white};
|
|
2040
2040
|
border-radius: ${h.border_radius_400};
|
|
2041
2041
|
box-shadow: ${h.elevation_static_high};
|
|
2042
|
-
`;function Iy(e){const t=re.useRef(null),{popoverRef:r=t,triggerRef:n,state:o,children:a,isNonModal:i}=e,{popoverProps:s,underlayProps:c}=bk({...e,popoverRef:r},o),d={...s.style,width:n.current?`${n.current.offsetWidth}px`:"200px"};return ie(vk,{children:[!i&&C("div",{...c,style:{position:"fixed",inset:0}}),ie(xO,{...s,style:d,ref:r,children:[!i&&C(Qh,{onDismiss:o.close}),a,C(Qh,{onDismiss:o.close})]})]})}function wO(e){return e&&e.__esModule?e.default:e}var Ay={},Ny={};Ny={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var My={};My={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var zy={};zy={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Fy={};Fy={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Ly={};Ly={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Ky={};Ky={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var jy={};jy={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Vy={};Vy={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var By={};By={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Ry={};Ry={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Wy={};Wy={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Uy={};Uy={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Hy={};Hy={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Gy={};Gy={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Yy={};Yy={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var qy={};qy={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Zy={};Zy={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Xy={};Xy={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Jy={};Jy={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Qy={};Qy={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var e$={};e$={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var t$={};t$={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var r$={};r$={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var n$={};n$={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var o$={};o$={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var a$={};a$={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var i$={};i$={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var s$={};s$={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var l$={};l$={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var c$={};c$={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var d$={};d$={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var u$={};u$={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var f$={};f$={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var p$={};p$={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},Ay={"ar-AE":Ny,"bg-BG":My,"cs-CZ":zy,"da-DK":Fy,"de-DE":Ly,"el-GR":Ky,"en-US":jy,"es-ES":Vy,"et-EE":By,"fi-FI":Ry,"fr-FR":Wy,"he-IL":Uy,"hr-HR":Hy,"hu-HU":Gy,"it-IT":Yy,"ja-JP":qy,"ko-KR":Zy,"lt-LT":Xy,"lv-LV":Jy,"nb-NO":Qy,"nl-NL":e$,"pl-PL":t$,"pt-BR":r$,"pt-PT":n$,"ro-RO":o$,"ru-RU":a$,"sk-SK":i$,"sl-SI":s$,"sr-SP":l$,"sv-SE":c$,"tr-TR":d$,"uk-UA":u$,"zh-CN":f$,"zh-TW":p$};function m$(e,t,r){let{type:n="menu",isDisabled:o,trigger:a="press"}=e,i=Ze(),{triggerProps:s,overlayProps:c}=dk({type:n},t,r),d=m=>{if(!o&&!(a==="longPress"&&!m.altKey)&&r&&r.current)switch(m.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break}},u=Kt(wO(Ay)),{longPressProps:f}=Wu({isDisabled:o||a!=="longPress",accessibilityDescription:u.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!o&&t.toggle(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!o&&t.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...a==="press"?p:f,id:i,onKeyDown:d},menuProps:{...c,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function _O(e,t,r){const{disallowEmptySelection:n,isDisabled:o}=e,a=Ao({usage:"search",sensitivity:"base"}),i=l.useMemo(()=>new vc(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:c}=m$({isDisabled:o,type:"listbox"},t,r),d=v=>{if(t.selectionMode==="single")switch(v.key){case"ArrowLeft":{v.preventDefault();const $=t.selectedKeys.size>0?i.getKeyAbove(t.selectedKeys.values().next().value):i.getFirstKey();$&&t.setSelectedKeys([$]);break}case"ArrowRight":{v.preventDefault();const $=t.selectedKeys.size>0?i.getKeyBelow(t.selectedKeys.values().next().value):i.getFirstKey();$&&t.setSelectedKeys([$]);break}}},{typeSelectProps:u}=gc({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(v){t.setSelectedKeys([v])}}),{labelProps:f,fieldProps:p}=$n({...e,labelElementType:"span"});u.onKeyDown=u.onKeyDownCapture,delete u.onKeyDownCapture;const m=xt(e,{labelable:!0}),b=ve(u,s,p),g=Ze();return{labelProps:{...f,onClick:()=>{var v;e.isDisabled||((v=r.current)==null||v.focus(),ju("keyboard"))}},triggerProps:ve(m,{...b,onKeyDown:rr(b.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,g].filter(Boolean).join(" "),onFocus(v){t.isFocused||(e.onFocus&&e.onFocus(v),t.setFocused(!0))},onBlur(v){t.isOpen||(e.onBlur&&e.onBlur(v),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...c,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:v=>{v.currentTarget.contains(v.relatedTarget)||(e.onBlur&&e.onBlur(v),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],b["aria-label"]&&!p["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function EO(e){let[t,r]=er(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:r,open(){r(!0)},close(){r(!1)},toggle(){r(!t)}}}function h$(e){let t=EO(e),[r,n]=l.useState(null);return{focusStrategy:r,...t,open(o=null){n(o),t.open()},toggle(o=null){n(o),t.toggle()}}}class at extends Set{constructor(t,r,n){super(t),t instanceof at?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function PO(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function SO(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=l.useRef(!1),[,s]=l.useState(!1),c=l.useRef(null),d=l.useRef(null),[,u]=l.useState(null),f=l.useMemo(()=>b$(e.selectedKeys),[e.selectedKeys]),p=l.useMemo(()=>b$(e.defaultSelectedKeys,new at),[e.defaultSelectedKeys]),[m,b]=er(f,p,e.onSelectionChange),g=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,$]=l.useState(o);o==="replace"&&v==="toggle"&&typeof m=="object"&&m.size===0&&$("replace");let x=l.useRef(o);return l.useEffect(()=>{o!==x.current&&($(o),x.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:v,setSelectionBehavior:$,get isFocused(){return i.current},setFocused(w){i.current=w,s(w)},get focusedKey(){return c.current},get childFocusStrategy(){return d.current},setFocusedKey(w,y="first"){c.current=w,d.current=y,u(w)},selectedKeys:m,setSelectedKeys(w){(n||!PO(w,m))&&b(w)},disabledKeys:g,disabledBehavior:a}}function b$(e,t){return e?e==="all"?"all":new at(e):t}class kO{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||(n==null?void 0:n.index)<t.index)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||(n==null?void 0:n.index)>t.index)&&(t=n)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new at([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new at(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?n.index<=o.index?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new at(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new at([t],t,t):new at;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new at;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r([...o.childNodes][0].key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new at)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}let TO=Symbol.iterator;class g${*[TO](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}constructor(t){Pr(this,"keyMap",new Map),this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)r(i)};for(let a of t)r(a);let n,o=0;for(let[a,i]of this.keyMap)n?(n.nextKey=a,i.prevKey=n.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function v$(e){let{filter:t}=e,r=SO(e),n=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=d=>t?new g$(t(d)):new g$(d),a=l.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=cO(e,o,a,[t]),s=l.useMemo(()=>new kO(i,r),[i,r]);const c=l.useRef(null);return l.useEffect(()=>{if(r.focusedKey!=null&&!i.getItem(r.focusedKey)){const d=c.current.getItem(r.focusedKey),u=[...c.current.getKeys()].map(g=>{const v=c.current.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),f=[...i.getKeys()].map(g=>{const v=i.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),p=u.length-f.length;let m=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),b;for(;m>=0;){if(!s.isDisabled(f[m].key)){b=f[m];break}m<f.length-1?m++:(m>d.index&&(m=d.index),m--)}r.setFocusedKey(b?b.key:null)}c.current=i},[i,s,r,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:s}}function DO(e){var t;let[r,n]=er(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=l.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:i,selectionManager:s}=v$({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:d=>{let u=d.values().next().value;u===r&&e.onSelectionChange&&e.onSelectionChange(u),n(u)}}),c=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:c}}function CO(e){const{collection:t,disabledKeys:r,selectionManager:n,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=v$(e),s=[],c=a.size!==0?Array.from(a).map(d=>{const u=t.getItem(d);return u||s.push(d),u}).filter(Boolean):null;return s.length&&console.warn(`Select: Keys "${s.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:r,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:o.bind(n),selectedItems:c}}function OO(e){const[t,r]=l.useState(!1),n=h$(e),o=CO({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&(a==="all"?e.onSelectionChange(new Set(o.collection.getKeys())):e.onSelectionChange(a)),e.selectionMode==="single"&&n.close()}});return{...o,...n,close(){n.close()},open(){o.collection.size!==0&&n.open()},toggle(a){o.collection.size!==0&&n.toggle(a)},isFocused:t,setFocused:r}}const IO=F.span`
|
|
2042
|
+
`;function Ay(e){const t=re.useRef(null),{popoverRef:r=t,triggerRef:n,state:o,children:a,isNonModal:i}=e,{popoverProps:s,underlayProps:c}=gk({...e,popoverRef:r},o),d={...s.style,width:n.current?`${n.current.offsetWidth}px`:"200px"};return ie(yk,{children:[!i&&C("div",{...c,style:{position:"fixed",inset:0}}),ie(wO,{...s,style:d,ref:r,children:[!i&&C(eb,{onDismiss:o.close}),a,C(eb,{onDismiss:o.close})]})]})}function _O(e){return e&&e.__esModule?e.default:e}var Ny={},My={};My={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var zy={};zy={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Fy={};Fy={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Ly={};Ly={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Ky={};Ky={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var jy={};jy={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Vy={};Vy={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var By={};By={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Ry={};Ry={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Wy={};Wy={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Uy={};Uy={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Hy={};Hy={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Gy={};Gy={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Yy={};Yy={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var qy={};qy={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Zy={};Zy={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Xy={};Xy={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Jy={};Jy={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Qy={};Qy={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var e$={};e$={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var t$={};t$={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var r$={};r$={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var n$={};n$={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var o$={};o$={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var a$={};a$={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var i$={};i$={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var s$={};s$={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var l$={};l$={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var c$={};c$={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var d$={};d$={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var u$={};u$={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var f$={};f$={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var p$={};p$={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var m$={};m$={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},Ny={"ar-AE":My,"bg-BG":zy,"cs-CZ":Fy,"da-DK":Ly,"de-DE":Ky,"el-GR":jy,"en-US":Vy,"es-ES":By,"et-EE":Ry,"fi-FI":Wy,"fr-FR":Uy,"he-IL":Hy,"hr-HR":Gy,"hu-HU":Yy,"it-IT":qy,"ja-JP":Zy,"ko-KR":Xy,"lt-LT":Jy,"lv-LV":Qy,"nb-NO":e$,"nl-NL":t$,"pl-PL":r$,"pt-BR":n$,"pt-PT":o$,"ro-RO":a$,"ru-RU":i$,"sk-SK":s$,"sl-SI":l$,"sr-SP":c$,"sv-SE":d$,"tr-TR":u$,"uk-UA":f$,"zh-CN":p$,"zh-TW":m$};function h$(e,t,r){let{type:n="menu",isDisabled:o,trigger:a="press"}=e,i=Ze(),{triggerProps:s,overlayProps:c}=uk({type:n},t,r),d=m=>{if(!o&&!(a==="longPress"&&!m.altKey)&&r&&r.current)switch(m.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break}},u=Kt(_O(Ny)),{longPressProps:f}=Wu({isDisabled:o||a!=="longPress",accessibilityDescription:u.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!o&&t.toggle(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!o&&t.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...a==="press"?p:f,id:i,onKeyDown:d},menuProps:{...c,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function EO(e,t,r){const{disallowEmptySelection:n,isDisabled:o}=e,a=Ao({usage:"search",sensitivity:"base"}),i=l.useMemo(()=>new vc(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:c}=h$({isDisabled:o,type:"listbox"},t,r),d=v=>{if(t.selectionMode==="single")switch(v.key){case"ArrowLeft":{v.preventDefault();const $=t.selectedKeys.size>0?i.getKeyAbove(t.selectedKeys.values().next().value):i.getFirstKey();$&&t.setSelectedKeys([$]);break}case"ArrowRight":{v.preventDefault();const $=t.selectedKeys.size>0?i.getKeyBelow(t.selectedKeys.values().next().value):i.getFirstKey();$&&t.setSelectedKeys([$]);break}}},{typeSelectProps:u}=gc({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(v){t.setSelectedKeys([v])}}),{labelProps:f,fieldProps:p}=$n({...e,labelElementType:"span"});u.onKeyDown=u.onKeyDownCapture,delete u.onKeyDownCapture;const m=xt(e,{labelable:!0}),b=ve(u,s,p),g=Ze();return{labelProps:{...f,onClick:()=>{var v;e.isDisabled||((v=r.current)==null||v.focus(),ju("keyboard"))}},triggerProps:ve(m,{...b,onKeyDown:rr(b.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,g].filter(Boolean).join(" "),onFocus(v){t.isFocused||(e.onFocus&&e.onFocus(v),t.setFocused(!0))},onBlur(v){t.isOpen||(e.onBlur&&e.onBlur(v),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...c,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:v=>{v.currentTarget.contains(v.relatedTarget)||(e.onBlur&&e.onBlur(v),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],b["aria-label"]&&!p["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function PO(e){let[t,r]=er(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:r,open(){r(!0)},close(){r(!1)},toggle(){r(!t)}}}function b$(e){let t=PO(e),[r,n]=l.useState(null);return{focusStrategy:r,...t,open(o=null){n(o),t.open()},toggle(o=null){n(o),t.toggle()}}}class at extends Set{constructor(t,r,n){super(t),t instanceof at?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function SO(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function kO(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=l.useRef(!1),[,s]=l.useState(!1),c=l.useRef(null),d=l.useRef(null),[,u]=l.useState(null),f=l.useMemo(()=>g$(e.selectedKeys),[e.selectedKeys]),p=l.useMemo(()=>g$(e.defaultSelectedKeys,new at),[e.defaultSelectedKeys]),[m,b]=er(f,p,e.onSelectionChange),g=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,$]=l.useState(o);o==="replace"&&v==="toggle"&&typeof m=="object"&&m.size===0&&$("replace");let x=l.useRef(o);return l.useEffect(()=>{o!==x.current&&($(o),x.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:v,setSelectionBehavior:$,get isFocused(){return i.current},setFocused(w){i.current=w,s(w)},get focusedKey(){return c.current},get childFocusStrategy(){return d.current},setFocusedKey(w,y="first"){c.current=w,d.current=y,u(w)},selectedKeys:m,setSelectedKeys(w){(n||!SO(w,m))&&b(w)},disabledKeys:g,disabledBehavior:a}}function g$(e,t){return e?e==="all"?"all":new at(e):t}class TO{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||(n==null?void 0:n.index)<t.index)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||(n==null?void 0:n.index)>t.index)&&(t=n)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new at([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new at(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?n.index<=o.index?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new at(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new at([t],t,t):new at;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new at;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r([...o.childNodes][0].key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new at)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}let DO=Symbol.iterator;class v${*[DO](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}constructor(t){Pr(this,"keyMap",new Map),this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)r(i)};for(let a of t)r(a);let n,o=0;for(let[a,i]of this.keyMap)n?(n.nextKey=a,i.prevKey=n.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function y$(e){let{filter:t}=e,r=kO(e),n=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=d=>t?new v$(t(d)):new v$(d),a=l.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=dO(e,o,a,[t]),s=l.useMemo(()=>new TO(i,r),[i,r]);const c=l.useRef(null);return l.useEffect(()=>{if(r.focusedKey!=null&&!i.getItem(r.focusedKey)){const d=c.current.getItem(r.focusedKey),u=[...c.current.getKeys()].map(g=>{const v=c.current.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),f=[...i.getKeys()].map(g=>{const v=i.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),p=u.length-f.length;let m=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),b;for(;m>=0;){if(!s.isDisabled(f[m].key)){b=f[m];break}m<f.length-1?m++:(m>d.index&&(m=d.index),m--)}r.setFocusedKey(b?b.key:null)}c.current=i},[i,s,r,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:s}}function CO(e){var t;let[r,n]=er(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=l.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:i,selectionManager:s}=y$({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:d=>{let u=d.values().next().value;u===r&&e.onSelectionChange&&e.onSelectionChange(u),n(u)}}),c=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:c}}function OO(e){const{collection:t,disabledKeys:r,selectionManager:n,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=y$(e),s=[],c=a.size!==0?Array.from(a).map(d=>{const u=t.getItem(d);return u||s.push(d),u}).filter(Boolean):null;return s.length&&console.warn(`Select: Keys "${s.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:r,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:o.bind(n),selectedItems:c}}function IO(e){const[t,r]=l.useState(!1),n=b$(e),o=OO({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&(a==="all"?e.onSelectionChange(new Set(o.collection.getKeys())):e.onSelectionChange(a)),e.selectionMode==="single"&&n.close()}});return{...o,...n,close(){n.close()},open(){o.collection.size!==0&&n.open()},toggle(a){o.collection.size!==0&&n.toggle(a)},isFocused:t,setFocused:r}}const AO=F.span`
|
|
2043
2043
|
color: ${h.color_fill_secondary_enabled};
|
|
2044
|
-
`,
|
|
2044
|
+
`,NO=F($s.primary)`
|
|
2045
2045
|
display: flex;
|
|
2046
2046
|
align-items: center;
|
|
2047
2047
|
justify-content: space-between;
|
|
@@ -2090,9 +2090,9 @@ const theme2 = createTheme({ palette: {
|
|
|
2090
2090
|
&:disabled::placeholder {
|
|
2091
2091
|
color: ${h.color_fill_primary_disabled};
|
|
2092
2092
|
}
|
|
2093
|
-
|
|
2093
|
+
`,$$=l.forwardRef((e,t)=>{const{autoFocus:r,className:n,excludeFromTabOrder:o,isClearable:a=!0,isDisabled:i,isSelectableAll:s=!1,label:c,placeholder:d="Select...",tooltipContent:u,tooltipIcon:f}=e,p=ct(t),m=!a,b=IO({...e,disallowEmptySelection:m}),{labelProps:g,triggerProps:v,valueProps:$,menuProps:x}=EO({...e,disallowEmptySelection:m},b,p),{buttonProps:w}=yn({...v,autoFocus:r,excludeFromTabOrder:o,isDisabled:i},p);b.isOpen||b.selectedItems;const y=b.selectionManager.isSelectAll,T=!y&&!b.selectionManager.isEmpty;a&&b.selectedItems;const N=s,P=()=>b.selectionManager.toggleSelectAll(),_=I=>{var W;return C("span",{className:"truncate block",children:I.length>1?I.map(D=>D.textValue).join(", "):(W=I[0])==null?void 0:W.textValue})};return ie(lr,{className:io("select-wrapper",{"select-wrapper--open":b.isOpen},n),children:[c&&ie(Je,{...g,children:[c,u?C(cr,{icon:f,children:u}):null]}),C(j5,{focusRingClass:"select--focused",autoFocus:r,children:ie(NO,{...w,paddingSize:"small",type:"button",ref:p,children:[C("span",{...$,children:b.selectedItems?_(b.selectedItems):d}),C(AO,{children:C(Fe.ArrowDropDown,{})})]})}),b.isOpen&&ie(Ay,{state:b,triggerRef:p,children:[N&&ie($1,{children:[s&&ie(Nr,{type:"button",onClick:P,children:[C(Bo,{checked:T?"indeterminate":y,tabIndex:-1}),"Select all"]}),C("div",{className:"select__divider"})]}),C(yO,{...x,state:b})]})]})}),x$=l.forwardRef(({options:e,...t},r)=>C($$,{...t,items:e,ref:r,children:t.children?t.children:n=>n.children?C(hc,{items:n.children,title:n.name,children:o=>C(xa,{textValue:o.textValue,children:o.name})},n.name):C(xa,{textValue:n.textValue,children:n.name})}));x$.displayName="MultiSelect";function MO(e,t,r){let{keyboardDelegate:n,isDisabled:o}=e,a=Ao({usage:"search",sensitivity:"base"}),i=l.useMemo(()=>n||new vc(t.collection,t.disabledKeys,null,a),[n,t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:c}=h$({isDisabled:o,type:"listbox"},t,r),d=x=>{switch(x.key){case"ArrowLeft":{x.preventDefault();let w=t.selectedKey!=null?i.getKeyAbove(t.selectedKey):i.getFirstKey();w&&t.setSelectedKey(w);break}case"ArrowRight":{x.preventDefault();let w=t.selectedKey!=null?i.getKeyBelow(t.selectedKey):i.getFirstKey();w&&t.setSelectedKey(w);break}}},{typeSelectProps:u}=gc({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(x){t.setSelectedKey(x)}}),{labelProps:f,fieldProps:p,descriptionProps:m,errorMessageProps:b}=$n({...e,labelElementType:"span"});u.onKeyDown=u.onKeyDownCapture,delete u.onKeyDownCapture;let g=xt(e,{labelable:!0}),v=ve(u,s,p),$=Ze();return{labelProps:{...f,onClick:()=>{e.isDisabled||(r.current.focus(),ju("keyboard"))}},triggerProps:ve(g,{...v,isDisabled:o,onKeyDown:rr(v.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[v["aria-labelledby"],v["aria-label"]&&!v["aria-labelledby"]?v.id:null,$].filter(Boolean).join(" "),onFocus(x){t.isFocused||(e.onFocus&&e.onFocus(x),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(x){t.isOpen||(e.onBlur&&e.onBlur(x),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:$},menuProps:{...c,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,onBlur:x=>{x.currentTarget.contains(x.relatedTarget)||(e.onBlur&&e.onBlur(x),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],v["aria-label"]&&!p["aria-labelledby"]?v.id:null].filter(Boolean).join(" ")},descriptionProps:m,errorMessageProps:b}}function zO(e,t,r){let{autoComplete:n,name:o,isDisabled:a}=e,i=Vu(),{visuallyHiddenProps:s}=dh();var c;return{containerProps:{...s,"aria-hidden":!0},inputProps:{type:"text",tabIndex:i==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:a},selectProps:{tabIndex:-1,autoComplete:n,disabled:a,name:o,size:t.collection.size,value:(c=t.selectedKey)!==null&&c!==void 0?c:"",onChange:d=>t.setSelectedKey(d.target.value)}}}function FO(e){let{state:t,triggerRef:r,label:n,name:o,isDisabled:a}=e,{containerProps:i,inputProps:s,selectProps:c}=zO(e,t,r);var d;return t.collection.size<=300?l.createElement("div",i,l.createElement("input",s),l.createElement("label",null,n,l.createElement("select",c,l.createElement("option",null),[...t.collection.getKeys()].map(u=>{let f=t.collection.getItem(u);if(f.type==="item")return l.createElement("option",{key:f.key,value:f.key},f.textValue)})))):o?l.createElement("input",{type:"hidden",autoComplete:c.autoComplete,name:o,disabled:a,value:(d=t.selectedKey)!==null&&d!==void 0?d:""}):null}function LO(e){let t=b$(e),r=CO({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&e.onSelectionChange(a),t.close()}}),[n,o]=l.useState(!1);return{...r,...t,open(){r.collection.size!==0&&t.open()},toggle(a){r.collection.size!==0&&t.toggle(a)},isFocused:n,setFocused:o}}const KO=F.span`
|
|
2094
2094
|
color: ${h.color_fill_secondary_enabled};
|
|
2095
|
-
`,
|
|
2095
|
+
`,jO=F($s.primary)`
|
|
2096
2096
|
display: flex;
|
|
2097
2097
|
align-items: center;
|
|
2098
2098
|
justify-content: space-between;
|
|
@@ -2141,14 +2141,14 @@ const theme2 = createTheme({ palette: {
|
|
|
2141
2141
|
&:disabled::placeholder {
|
|
2142
2142
|
color: ${h.color_fill_primary_disabled};
|
|
2143
2143
|
}
|
|
2144
|
-
`,
|
|
2144
|
+
`,VO=F.span`
|
|
2145
2145
|
display: inline-flex;
|
|
2146
2146
|
align-items: center;
|
|
2147
|
-
`;function VO(e){const t=FO(e),{placeholder:r="Select..."}=e,n=re.useRef(null),{labelProps:o,triggerProps:a,valueProps:i,menuProps:s}=NO(e,t,n),{buttonProps:c}=yn(a,n),{focusProps:d,isFocusVisible:u}=Or();return ie(lr,{children:[ie(Je,{...o,children:[e.label,e.tooltipContent?C(cr,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}),C(zO,{state:t,triggerRef:n,label:e.label,name:e.name}),ie(KO,{...ve(c,d),paddingSize:"small",ref:n,isOpen:t.isOpen,isFocusVisible:u,children:[C(jO,{...i,children:t.selectedItem?t.selectedItem.rendered:r}),C(LO,{children:C(Fe.ArrowDropDown,{})})]}),t.isOpen&&C(Iy,{state:t,triggerRef:n,placement:"bottom start",children:C(gO,{...s,state:t})})]})}function x$(e){return e&&e.__esModule?e.default:e}var $c={},w$={};w$={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var _$={};_$={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var E$={};E$={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var P$={};P$={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var S$={};S$={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var k$={};k$={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var T$={};T$={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var D$={};D$={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var C$={};C$={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var O$={};O$={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var I$={};I$={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var A$={};A$={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var N$={};N$={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var M$={};M$={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var z$={};z$={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var F$={};F$={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var L$={};L$={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료 날짜",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작 날짜",timeZoneName:"시간대",weekday:"요일",year:"년"};var K$={};K$={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var j$={};j$={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var V$={};V$={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var B$={};B$={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var R$={};R$={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var W$={};W$={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var U$={};U$={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var H$={};H$={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var G$={};G$={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var Y$={};Y$={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var q$={};q$={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var Z$={};Z$={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var X$={};X$={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var J$={};J$={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var Q$={};Q$={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var e1={};e1={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var t1={};t1={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"},$c={"ar-AE":w$,"bg-BG":_$,"cs-CZ":E$,"da-DK":P$,"de-DE":S$,"el-GR":k$,"en-US":T$,"es-ES":D$,"et-EE":C$,"fi-FI":O$,"fr-FR":I$,"he-IL":A$,"hr-HR":N$,"hu-HU":M$,"it-IT":z$,"ja-JP":F$,"ko-KR":L$,"lt-LT":K$,"lv-LV":j$,"nb-NO":V$,"nl-NL":B$,"pl-PL":R$,"pt-BR":W$,"pt-PT":U$,"ro-RO":H$,"ru-RU":G$,"sk-SK":Y$,"sl-SI":q$,"sr-SP":Z$,"sv-SE":X$,"tr-TR":J$,"uk-UA":Q$,"zh-CN":e1,"zh-TW":t1};function BO(e,t,r){let{direction:n}=dt(),o=l.useMemo(()=>Yu(t),[t]),a=c=>{if(c.altKey&&(c.key==="ArrowDown"||c.key==="ArrowUp")&&"setOpen"in e&&(c.preventDefault(),c.stopPropagation(),e.setOpen(!0)),!r)switch(c.key){case"ArrowLeft":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusNext():o.focusPrevious();break;case"ArrowRight":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusPrevious():o.focusNext();break}},i=()=>{var c;let d=(c=window.event)===null||c===void 0?void 0:c.target,u=Ye(t.current,{tabbable:!0});if(d&&(u.currentNode=d,d=u.previousNode()),!d){let f;do f=u.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=u.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:s}=kr({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(c){c.pointerType==="mouse"&&i()},onPress(c){c.pointerType!=="mouse"&&i()}});return ve(s,{onKeyDown:a})}const r1=new WeakMap,xc="__role_"+Date.now(),RO="__focusManager_"+Date.now();function WO(e,t,r){let{labelProps:n,fieldProps:o,descriptionProps:a,errorMessageProps:i}=$n({...e,labelElementType:"span"}),{focusWithinProps:s}=Cr({...e,onBlurWithin:y=>{t.confirmPlaceholder(),e.onBlur&&e.onBlur(y)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),c=Kt(x$($c)),d=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",u=t.maxGranularity==="hour"?"time":"date",f=t.value?c.format(d,{[u]:t.formatValue({month:"long"})}):"",p=Di(f),m=e[xc]==="presentation"?o["aria-describedby"]:[p["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=e[RO],g=l.useMemo(()=>b||Yu(r),[b,r]),v=BO(t,r,e[xc]==="presentation");r1.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[e["aria-labelledby"],n.id].filter(Boolean).join(" ")||void 0,ariaDescribedBy:m,focusManager:g});let $=l.useRef(e.autoFocus),x;e[xc]==="presentation"?x={role:"presentation"}:x=ve(o,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":m}),l.useEffect(()=>{$.current&&g.focusFirst(),$.current=!1},[g]);let w=xt(e);return{labelProps:{...n,onClick:()=>{g.focusFirst()}},fieldProps:ve(w,x,v,s,{onKeyDown(y){e.onKeyDown&&e.onKeyDown(y)},onKeyUp(y){e.onKeyUp&&e.onKeyUp(y)}}),descriptionProps:a,errorMessageProps:i}}function UO(e,t,r){return WO(e,t,r)}function HO(){let{locale:e}=dt();return l.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new GO(e)}},[e])}class GO{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t){this.locale=t,this.dictionary=new Yi(x$($c))}}function YO(e,t,r){let n=l.useRef(""),{locale:o}=dt(),a=HO(),{ariaLabel:i,ariaLabelledBy:s,ariaDescribedBy:c,focusManager:d}=r1.get(t),u=e.isPlaceholder?"":e.text,f=l.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=Io({month:"long",timeZone:f.timeZone}),m=Io({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let G=p.format(t.dateValue);u=G!==u?`${u} – ${G}`:G}else e.type==="hour"&&!e.isPlaceholder&&(u=m.format(t.dateValue));let{spinButtonProps:b}=vm({value:e.value,textValue:u,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",t.setSegment(e.type,e.minValue)}}),g=l.useMemo(()=>new $f(o,{maximumFractionDigits:0}),[o]),v=()=>{if(g.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let G=e.text.slice(0,-1),ae=g.parse(G);G.length===0||ae===0?t.clearSegment(e.type):t.setSegment(e.type,ae),n.current=G}else e.type==="dayPeriod"&&t.clearSegment(e.type)},$=G=>{if(G.key==="a"&&(nr()?G.metaKey:G.ctrlKey)&&G.preventDefault(),!(G.ctrlKey||G.metaKey||G.shiftKey||G.altKey))switch(G.key){case"Backspace":case"Delete":G.preventDefault(),G.stopPropagation(),v();break}},{startsWith:x}=NP({sensitivity:"base"}),w=Io({hour:"numeric",hour12:!0}),y=l.useMemo(()=>{let G=new Date;return G.setHours(0),w.formatToParts(G).find(ae=>ae.type==="dayPeriod").value},[w]),k=l.useMemo(()=>{let G=new Date;return G.setHours(12),w.formatToParts(G).find(ae=>ae.type==="dayPeriod").value},[w]),N=Io({year:"numeric",era:"narrow",timeZone:"UTC"}),P=l.useMemo(()=>{if(e.type!=="era")return[];let G=Ue(new Ar(1,1,1),t.calendar),ae=t.calendar.getEras().map(K=>{let M=G.set({year:1,month:1,day:1,era:K}).toDate("UTC"),V=N.formatToParts(M).find(R=>R.type==="era").value;return{era:K,formatted:V}}),te=qO(ae.map(K=>K.formatted));if(te)for(let K of ae)K.formatted=K.formatted.slice(te);return ae},[N,t.calendar,e.type]),_=G=>{if(t.isDisabled||t.isReadOnly)return;let ae=n.current+G;switch(e.type){case"dayPeriod":if(x(y,G))t.setSegment("dayPeriod",0);else if(x(k,G))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let te=P.find(K=>x(K.formatted,G));te&&(t.setSegment("era",te.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!g.isValidPartialNumber(ae))return;let te=g.parse(ae),K=te,M=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":te>11&&(K=g.parse(G));break;case"h12":M=!1,te>12&&(K=g.parse(G));break}e.value>=12&&te>1&&(te+=12)}else te>e.maxValue&&(K=g.parse(G));if(isNaN(te))return;let L=K!==0||M;L&&t.setSegment(e.type,K),Number(te+"0")>e.maxValue||ae.length>=String(e.maxValue).length?(n.current="",L&&d.focusNext()):n.current=ae;break}}},I=()=>{n.current="",Ou(r.current,{containingElement:fn(r.current)}),window.getSelection().collapse(r.current)},W=l.useRef("");uo(r,"beforeinput",G=>{switch(G.preventDefault(),G.inputType){case"deleteContentBackward":case"deleteContentForward":g.isValidPartialNumber(e.text)&&!t.isReadOnly&&v();break;case"insertCompositionText":W.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:G.data!=null&&_(G.data);break}}),uo(r,"input",G=>{let{inputType:ae,data:te}=G;switch(ae){case"insertCompositionText":r.current.textContent=W.current,(x(y,te)||x(k,te))&&_(te);break}}),Ne(()=>{let G=r.current;return()=>{document.activeElement===G&&(d.focusPrevious()||d.focusNext())}},[r,d]);let D=Er()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},j=l.useMemo(()=>t.segments.find(G=>G.isEditable),[t.segments]);e!==j&&t.validationState!=="invalid"&&(c=void 0);let S=Ze(),O=!t.isDisabled&&!t.isReadOnly&&e.isEditable,X=e.type==="literal"?"":a.of(e.type),se=ki({"aria-label":(i?i+" ":"")+X,"aria-labelledby":s});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:ve(b,se,{id:S,...D,"aria-invalid":t.validationState==="invalid"?"true":void 0,"aria-describedby":c,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:O,suppressContentEditableWarning:O,spellCheck:O?"false":void 0,autoCapitalize:O?"off":void 0,autoCorrect:O?"off":void 0,[parseInt(l.version,10)>=17?"enterKeyHint":"enterkeyhint"]:O?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!O?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:$,onFocus:I,style:{caretColor:"transparent"},onPointerDown(G){G.stopPropagation()},onMouseDown(G){G.stopPropagation()}})}}function qO(e){e.sort();let t=e[0],r=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==r[n])return n;return 0}function ZO(e,t,r){return e!=null&&(t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0)}const XO={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"};function n1(e,t){e={...XO,...e};let r=t.granularity||"minute",n=Object.keys(e);var o;let a=n.indexOf((o=t.maxGranularity)!==null&&o!==void 0?o:"year");a<0&&(a=0);let i=n.indexOf(r);if(i<0&&(i=2),a>i)throw new Error("maxGranularity must be greater than granularity");let s=n.slice(a,i+1).reduce((d,u)=>(d[u]=e[u],d),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&a===0&&(s.era="short"),s}function o1(e,t){if(e===null)return null;if(e)return Ue(e,t)}function wa(e,t,r,n){if(e)return o1(e,r);let o=Ue(Ju(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?lf(o):n?o:Lt(o)}function JO(e,t){let r=l.useRef(e);e&&(r.current=e),e=r.current;let n=e&&"timeZone"in e?e.timeZone:void 0;if(t=t||(e&&"minute"in e?"minute":"day"),e&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());return[t,n]}const QO=new Yi({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function e2(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?QO.getStringForLocale(e,r):"––"}const _a={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},a1={year:5,month:2,day:7,hour:2,minute:15,second:15},t2={dayperiod:"dayPeriod"};function r2(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:o,isReadOnly:a,isRequired:i}=e,s=e.value||e.defaultValue||e.placeholderValue,[c,d]=JO(s,e.granularity),u=d||"UTC";if(s&&!(c in s))throw new Error("Invalid granularity "+c+" for value "+s.toString());let f=l.useMemo(()=>new Do(t),[t]),p=l.useMemo(()=>r(f.resolvedOptions().calendar),[r,f]),[m,b]=er(e.value,e.defaultValue,e.onChange),g=l.useMemo(()=>o1(m,p),[m,p]),[v,$]=l.useState(()=>wa(e.placeholderValue,c,p,d)),x=g||v,w=p.identifier==="gregory"&&x.era==="BC";var y;let k=l.useMemo(()=>({granularity:c,maxGranularity:(y=e.maxGranularity)!==null&&y!==void 0?y:"year",timeZone:d,hideTimeZone:n,hourCycle:e.hourCycle,showEra:w}),[e.maxGranularity,c,e.hourCycle,d,n,w]),N=l.useMemo(()=>n1({},k),[k]),P=l.useMemo(()=>new Do(t,N),[t,N]),_=l.useMemo(()=>P.resolvedOptions(),[P]),I=l.useMemo(()=>P.formatToParts(new Date).filter(M=>_a[M.type]).reduce((M,L)=>(M[L.type]=!0,M),{}),[P]),[W,D]=l.useState(()=>e.value||e.defaultValue?{...I}:{}),j=l.useRef(p.identifier);l.useEffect(()=>{p.identifier!==j.current&&(j.current=p.identifier,$(M=>Object.keys(W).length>0?Ue(M,p):wa(e.placeholderValue,c,p,d)))},[p,c,W,d,e.placeholderValue]),m&&Object.keys(W).length<Object.keys(I).length&&(W={...I},D(W)),m==null&&Object.keys(W).length===Object.keys(I).length&&(W={},D(W),$(wa(e.placeholderValue,c,p,d)));let S=g&&Object.keys(W).length>=Object.keys(I).length?g:v,O=M=>{e.isDisabled||e.isReadOnly||(Object.keys(W).length>=Object.keys(I).length?(M=Ue(M,(s==null?void 0:s.calendar)||new Ft),b(M)):$(M))},X=l.useMemo(()=>S.toDate(u),[S,u]),se=l.useMemo(()=>P.formatToParts(X).map(M=>{let L=_a[M.type];M.type==="era"&&p.getEras().length===1&&(L=!1);let V=_a[M.type]&&!W[M.type],R=_a[M.type]?e2(M.type,M.value,t):null;return{type:t2[M.type]||M.type,text:V?R:M.value,...n2(S,M.type,_),isPlaceholder:V,placeholder:R,isEditable:L}}),[X,W,P,_,S,p,t]);I.era&&W.year&&!W.era?(W.era=!0,D({...W})):!I.era&&W.era&&(delete W.era,D({...W}));let G=M=>{W[M]=!0,M==="year"&&I.era&&(W.era=!0),D({...W})},ae=(M,L)=>{W[M]?O(o2(S,M,L,_)):(G(M),Object.keys(W).length>=Object.keys(I).length&&O(S))},te=e.validationState||(ZO(g,e.minValue,e.maxValue)?"invalid":null);var K;return{value:g,dateValue:X,calendar:p,setValue:O,segments:se,dateFormatter:P,validationState:te,granularity:c,maxGranularity:(K=e.maxGranularity)!==null&&K!==void 0?K:"year",isDisabled:o,isReadOnly:a,isRequired:i,increment(M){ae(M,1)},decrement(M){ae(M,-1)},incrementPage(M){ae(M,a1[M]||1)},decrementPage(M){ae(M,-(a1[M]||1))},setSegment(M,L){G(M),O(a2(S,M,L,_))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let M=Object.keys(W),L=Object.keys(I);M.length===L.length-1&&I.dayPeriod&&!W.dayPeriod&&(W={...I},D(W),O(S.copy()))},clearSegment(M){delete W[M],D({...W});let L=wa(e.placeholderValue,c,p,d),V=S;if(M==="dayPeriod"&&"hour"in S&&"hour"in L){let R=S.hour>=12,J=L.hour>=12;R&&!J?V=S.set({hour:S.hour-12}):!R&&J&&(V=S.set({hour:S.hour+12}))}else M in S&&(V=S.set({[M]:L[M]}));b(null),O(V)},formatValue(M){if(!g)return"";let L=n1(M,k);return new Do(t,L).format(X)}}}function n2(e,t,r){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:Z5(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:X5(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(r.hour12){let n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function o2(e,t,r,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,r,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return e.set({hour:a?o-12:o+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function a2(e,t,r,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return r>=12===a?e:e.set({hour:a?o-12:o+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&r===12&&(r=0),a&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function i2(e){let{placeholderValue:t=new bn,minValue:r,maxValue:n,granularity:o}=e,[a,i]=er(e.value,e.defaultValue,e.onChange),s=a||t,c=s&&"day"in s?s:void 0,d=l.useMemo(()=>Ea(t),[t]),u=l.useMemo(()=>Ea(r,c),[r,c]),f=l.useMemo(()=>Ea(n,c),[n,c]),p=l.useMemo(()=>a==null?null:Ea(a),[a]);return r2({...e,value:p,defaultValue:void 0,minValue:u,maxValue:f,onChange:b=>{i(s&&"day"in s?b:b&&eP(b))},granularity:o||"minute",maxGranularity:"hour",placeholderValue:d,createCalendar:()=>new Ft})}function Ea(e,t=q5(Ji())){return e?"day"in e?e:Lt(t,e):null}const s2=F.div`
|
|
2147
|
+
`;function BO(e){const t=LO(e),{placeholder:r="Select..."}=e,n=re.useRef(null),{labelProps:o,triggerProps:a,valueProps:i,menuProps:s}=MO(e,t,n),{buttonProps:c}=yn(a,n),{focusProps:d,isFocusVisible:u}=Or();return ie(lr,{children:[ie(Je,{...o,children:[e.label,e.tooltipContent?C(cr,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}),C(FO,{state:t,triggerRef:n,label:e.label,name:e.name}),ie(jO,{...ve(c,d),paddingSize:"small",ref:n,isOpen:t.isOpen,isFocusVisible:u,children:[C(VO,{...i,children:t.selectedItem?t.selectedItem.rendered:r}),C(KO,{children:C(Fe.ArrowDropDown,{})})]}),t.isOpen&&C(Ay,{state:t,triggerRef:n,placement:"bottom start",children:C(vO,{...s,state:t})})]})}function w$(e){return e&&e.__esModule?e.default:e}var $c={},_$={};_$={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var E$={};E$={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var P$={};P$={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var S$={};S$={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var k$={};k$={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var T$={};T$={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var D$={};D$={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var C$={};C$={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var O$={};O$={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var I$={};I$={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var A$={};A$={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var N$={};N$={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var M$={};M$={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var z$={};z$={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var F$={};F$={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var L$={};L$={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var K$={};K$={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료 날짜",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작 날짜",timeZoneName:"시간대",weekday:"요일",year:"년"};var j$={};j$={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var V$={};V$={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var B$={};B$={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var R$={};R$={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var W$={};W$={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var U$={};U$={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var H$={};H$={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var G$={};G$={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var Y$={};Y$={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var q$={};q$={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var Z$={};Z$={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var X$={};X$={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var J$={};J$={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var Q$={};Q$={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var e1={};e1={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var t1={};t1={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var r1={};r1={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"},$c={"ar-AE":_$,"bg-BG":E$,"cs-CZ":P$,"da-DK":S$,"de-DE":k$,"el-GR":T$,"en-US":D$,"es-ES":C$,"et-EE":O$,"fi-FI":I$,"fr-FR":A$,"he-IL":N$,"hr-HR":M$,"hu-HU":z$,"it-IT":F$,"ja-JP":L$,"ko-KR":K$,"lt-LT":j$,"lv-LV":V$,"nb-NO":B$,"nl-NL":R$,"pl-PL":W$,"pt-BR":U$,"pt-PT":H$,"ro-RO":G$,"ru-RU":Y$,"sk-SK":q$,"sl-SI":Z$,"sr-SP":X$,"sv-SE":J$,"tr-TR":Q$,"uk-UA":e1,"zh-CN":t1,"zh-TW":r1};function RO(e,t,r){let{direction:n}=dt(),o=l.useMemo(()=>Yu(t),[t]),a=c=>{if(c.altKey&&(c.key==="ArrowDown"||c.key==="ArrowUp")&&"setOpen"in e&&(c.preventDefault(),c.stopPropagation(),e.setOpen(!0)),!r)switch(c.key){case"ArrowLeft":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusNext():o.focusPrevious();break;case"ArrowRight":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusPrevious():o.focusNext();break}},i=()=>{var c;let d=(c=window.event)===null||c===void 0?void 0:c.target,u=Ye(t.current,{tabbable:!0});if(d&&(u.currentNode=d,d=u.previousNode()),!d){let f;do f=u.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=u.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:s}=kr({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(c){c.pointerType==="mouse"&&i()},onPress(c){c.pointerType!=="mouse"&&i()}});return ve(s,{onKeyDown:a})}const n1=new WeakMap,xc="__role_"+Date.now(),WO="__focusManager_"+Date.now();function UO(e,t,r){let{labelProps:n,fieldProps:o,descriptionProps:a,errorMessageProps:i}=$n({...e,labelElementType:"span"}),{focusWithinProps:s}=Cr({...e,onBlurWithin:y=>{t.confirmPlaceholder(),e.onBlur&&e.onBlur(y)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),c=Kt(w$($c)),d=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",u=t.maxGranularity==="hour"?"time":"date",f=t.value?c.format(d,{[u]:t.formatValue({month:"long"})}):"",p=Di(f),m=e[xc]==="presentation"?o["aria-describedby"]:[p["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=e[WO],g=l.useMemo(()=>b||Yu(r),[b,r]),v=RO(t,r,e[xc]==="presentation");n1.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[e["aria-labelledby"],n.id].filter(Boolean).join(" ")||void 0,ariaDescribedBy:m,focusManager:g});let $=l.useRef(e.autoFocus),x;e[xc]==="presentation"?x={role:"presentation"}:x=ve(o,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":m}),l.useEffect(()=>{$.current&&g.focusFirst(),$.current=!1},[g]);let w=xt(e);return{labelProps:{...n,onClick:()=>{g.focusFirst()}},fieldProps:ve(w,x,v,s,{onKeyDown(y){e.onKeyDown&&e.onKeyDown(y)},onKeyUp(y){e.onKeyUp&&e.onKeyUp(y)}}),descriptionProps:a,errorMessageProps:i}}function HO(e,t,r){return UO(e,t,r)}function GO(){let{locale:e}=dt();return l.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new YO(e)}},[e])}class YO{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t){this.locale=t,this.dictionary=new Yi(w$($c))}}function qO(e,t,r){let n=l.useRef(""),{locale:o}=dt(),a=GO(),{ariaLabel:i,ariaLabelledBy:s,ariaDescribedBy:c,focusManager:d}=n1.get(t),u=e.isPlaceholder?"":e.text,f=l.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=Io({month:"long",timeZone:f.timeZone}),m=Io({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let G=p.format(t.dateValue);u=G!==u?`${u} – ${G}`:G}else e.type==="hour"&&!e.isPlaceholder&&(u=m.format(t.dateValue));let{spinButtonProps:b}=ym({value:e.value,textValue:u,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",t.setSegment(e.type,e.minValue)}}),g=l.useMemo(()=>new $f(o,{maximumFractionDigits:0}),[o]),v=()=>{if(g.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let G=e.text.slice(0,-1),ae=g.parse(G);G.length===0||ae===0?t.clearSegment(e.type):t.setSegment(e.type,ae),n.current=G}else e.type==="dayPeriod"&&t.clearSegment(e.type)},$=G=>{if(G.key==="a"&&(nr()?G.metaKey:G.ctrlKey)&&G.preventDefault(),!(G.ctrlKey||G.metaKey||G.shiftKey||G.altKey))switch(G.key){case"Backspace":case"Delete":G.preventDefault(),G.stopPropagation(),v();break}},{startsWith:x}=MP({sensitivity:"base"}),w=Io({hour:"numeric",hour12:!0}),y=l.useMemo(()=>{let G=new Date;return G.setHours(0),w.formatToParts(G).find(ae=>ae.type==="dayPeriod").value},[w]),T=l.useMemo(()=>{let G=new Date;return G.setHours(12),w.formatToParts(G).find(ae=>ae.type==="dayPeriod").value},[w]),N=Io({year:"numeric",era:"narrow",timeZone:"UTC"}),P=l.useMemo(()=>{if(e.type!=="era")return[];let G=Ue(new Ar(1,1,1),t.calendar),ae=t.calendar.getEras().map(K=>{let M=G.set({year:1,month:1,day:1,era:K}).toDate("UTC"),V=N.formatToParts(M).find(R=>R.type==="era").value;return{era:K,formatted:V}}),te=ZO(ae.map(K=>K.formatted));if(te)for(let K of ae)K.formatted=K.formatted.slice(te);return ae},[N,t.calendar,e.type]),_=G=>{if(t.isDisabled||t.isReadOnly)return;let ae=n.current+G;switch(e.type){case"dayPeriod":if(x(y,G))t.setSegment("dayPeriod",0);else if(x(T,G))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let te=P.find(K=>x(K.formatted,G));te&&(t.setSegment("era",te.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!g.isValidPartialNumber(ae))return;let te=g.parse(ae),K=te,M=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":te>11&&(K=g.parse(G));break;case"h12":M=!1,te>12&&(K=g.parse(G));break}e.value>=12&&te>1&&(te+=12)}else te>e.maxValue&&(K=g.parse(G));if(isNaN(te))return;let L=K!==0||M;L&&t.setSegment(e.type,K),Number(te+"0")>e.maxValue||ae.length>=String(e.maxValue).length?(n.current="",L&&d.focusNext()):n.current=ae;break}}},I=()=>{n.current="",Ou(r.current,{containingElement:fn(r.current)}),window.getSelection().collapse(r.current)},W=l.useRef("");uo(r,"beforeinput",G=>{switch(G.preventDefault(),G.inputType){case"deleteContentBackward":case"deleteContentForward":g.isValidPartialNumber(e.text)&&!t.isReadOnly&&v();break;case"insertCompositionText":W.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:G.data!=null&&_(G.data);break}}),uo(r,"input",G=>{let{inputType:ae,data:te}=G;switch(ae){case"insertCompositionText":r.current.textContent=W.current,(x(y,te)||x(T,te))&&_(te);break}}),Ne(()=>{let G=r.current;return()=>{document.activeElement===G&&(d.focusPrevious()||d.focusNext())}},[r,d]);let D=Er()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},j=l.useMemo(()=>t.segments.find(G=>G.isEditable),[t.segments]);e!==j&&t.validationState!=="invalid"&&(c=void 0);let S=Ze(),O=!t.isDisabled&&!t.isReadOnly&&e.isEditable,X=e.type==="literal"?"":a.of(e.type),se=ki({"aria-label":(i?i+" ":"")+X,"aria-labelledby":s});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:ve(b,se,{id:S,...D,"aria-invalid":t.validationState==="invalid"?"true":void 0,"aria-describedby":c,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:O,suppressContentEditableWarning:O,spellCheck:O?"false":void 0,autoCapitalize:O?"off":void 0,autoCorrect:O?"off":void 0,[parseInt(l.version,10)>=17?"enterKeyHint":"enterkeyhint"]:O?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!O?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:$,onFocus:I,style:{caretColor:"transparent"},onPointerDown(G){G.stopPropagation()},onMouseDown(G){G.stopPropagation()}})}}function ZO(e){e.sort();let t=e[0],r=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==r[n])return n;return 0}function XO(e,t,r){return e!=null&&(t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0)}const JO={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"};function o1(e,t){e={...JO,...e};let r=t.granularity||"minute",n=Object.keys(e);var o;let a=n.indexOf((o=t.maxGranularity)!==null&&o!==void 0?o:"year");a<0&&(a=0);let i=n.indexOf(r);if(i<0&&(i=2),a>i)throw new Error("maxGranularity must be greater than granularity");let s=n.slice(a,i+1).reduce((d,u)=>(d[u]=e[u],d),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&a===0&&(s.era="short"),s}function a1(e,t){if(e===null)return null;if(e)return Ue(e,t)}function wa(e,t,r,n){if(e)return a1(e,r);let o=Ue(Ju(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?lf(o):n?o:Lt(o)}function QO(e,t){let r=l.useRef(e);e&&(r.current=e),e=r.current;let n=e&&"timeZone"in e?e.timeZone:void 0;if(t=t||(e&&"minute"in e?"minute":"day"),e&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());return[t,n]}const e2=new Yi({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function t2(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?e2.getStringForLocale(e,r):"––"}const _a={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},i1={year:5,month:2,day:7,hour:2,minute:15,second:15},r2={dayperiod:"dayPeriod"};function n2(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:o,isReadOnly:a,isRequired:i}=e,s=e.value||e.defaultValue||e.placeholderValue,[c,d]=QO(s,e.granularity),u=d||"UTC";if(s&&!(c in s))throw new Error("Invalid granularity "+c+" for value "+s.toString());let f=l.useMemo(()=>new Do(t),[t]),p=l.useMemo(()=>r(f.resolvedOptions().calendar),[r,f]),[m,b]=er(e.value,e.defaultValue,e.onChange),g=l.useMemo(()=>a1(m,p),[m,p]),[v,$]=l.useState(()=>wa(e.placeholderValue,c,p,d)),x=g||v,w=p.identifier==="gregory"&&x.era==="BC";var y;let T=l.useMemo(()=>({granularity:c,maxGranularity:(y=e.maxGranularity)!==null&&y!==void 0?y:"year",timeZone:d,hideTimeZone:n,hourCycle:e.hourCycle,showEra:w}),[e.maxGranularity,c,e.hourCycle,d,n,w]),N=l.useMemo(()=>o1({},T),[T]),P=l.useMemo(()=>new Do(t,N),[t,N]),_=l.useMemo(()=>P.resolvedOptions(),[P]),I=l.useMemo(()=>P.formatToParts(new Date).filter(M=>_a[M.type]).reduce((M,L)=>(M[L.type]=!0,M),{}),[P]),[W,D]=l.useState(()=>e.value||e.defaultValue?{...I}:{}),j=l.useRef(p.identifier);l.useEffect(()=>{p.identifier!==j.current&&(j.current=p.identifier,$(M=>Object.keys(W).length>0?Ue(M,p):wa(e.placeholderValue,c,p,d)))},[p,c,W,d,e.placeholderValue]),m&&Object.keys(W).length<Object.keys(I).length&&(W={...I},D(W)),m==null&&Object.keys(W).length===Object.keys(I).length&&(W={},D(W),$(wa(e.placeholderValue,c,p,d)));let S=g&&Object.keys(W).length>=Object.keys(I).length?g:v,O=M=>{e.isDisabled||e.isReadOnly||(Object.keys(W).length>=Object.keys(I).length?(M=Ue(M,(s==null?void 0:s.calendar)||new Ft),b(M)):$(M))},X=l.useMemo(()=>S.toDate(u),[S,u]),se=l.useMemo(()=>P.formatToParts(X).map(M=>{let L=_a[M.type];M.type==="era"&&p.getEras().length===1&&(L=!1);let V=_a[M.type]&&!W[M.type],R=_a[M.type]?t2(M.type,M.value,t):null;return{type:r2[M.type]||M.type,text:V?R:M.value,...o2(S,M.type,_),isPlaceholder:V,placeholder:R,isEditable:L}}),[X,W,P,_,S,p,t]);I.era&&W.year&&!W.era?(W.era=!0,D({...W})):!I.era&&W.era&&(delete W.era,D({...W}));let G=M=>{W[M]=!0,M==="year"&&I.era&&(W.era=!0),D({...W})},ae=(M,L)=>{W[M]?O(a2(S,M,L,_)):(G(M),Object.keys(W).length>=Object.keys(I).length&&O(S))},te=e.validationState||(XO(g,e.minValue,e.maxValue)?"invalid":null);var K;return{value:g,dateValue:X,calendar:p,setValue:O,segments:se,dateFormatter:P,validationState:te,granularity:c,maxGranularity:(K=e.maxGranularity)!==null&&K!==void 0?K:"year",isDisabled:o,isReadOnly:a,isRequired:i,increment(M){ae(M,1)},decrement(M){ae(M,-1)},incrementPage(M){ae(M,i1[M]||1)},decrementPage(M){ae(M,-(i1[M]||1))},setSegment(M,L){G(M),O(i2(S,M,L,_))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let M=Object.keys(W),L=Object.keys(I);M.length===L.length-1&&I.dayPeriod&&!W.dayPeriod&&(W={...I},D(W),O(S.copy()))},clearSegment(M){delete W[M],D({...W});let L=wa(e.placeholderValue,c,p,d),V=S;if(M==="dayPeriod"&&"hour"in S&&"hour"in L){let R=S.hour>=12,J=L.hour>=12;R&&!J?V=S.set({hour:S.hour-12}):!R&&J&&(V=S.set({hour:S.hour+12}))}else M in S&&(V=S.set({[M]:L[M]}));b(null),O(V)},formatValue(M){if(!g)return"";let L=o1(M,T);return new Do(t,L).format(X)}}}function o2(e,t,r){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:X5(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:J5(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(r.hour12){let n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function a2(e,t,r,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,r,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return e.set({hour:a?o-12:o+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function i2(e,t,r,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,a=o>=12;return r>=12===a?e:e.set({hour:a?o-12:o+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&r===12&&(r=0),a&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function s2(e){let{placeholderValue:t=new bn,minValue:r,maxValue:n,granularity:o}=e,[a,i]=er(e.value,e.defaultValue,e.onChange),s=a||t,c=s&&"day"in s?s:void 0,d=l.useMemo(()=>Ea(t),[t]),u=l.useMemo(()=>Ea(r,c),[r,c]),f=l.useMemo(()=>Ea(n,c),[n,c]),p=l.useMemo(()=>a==null?null:Ea(a),[a]);return n2({...e,value:p,defaultValue:void 0,minValue:u,maxValue:f,onChange:b=>{i(s&&"day"in s?b:b&&tP(b))},granularity:o||"minute",maxGranularity:"hour",placeholderValue:d,createCalendar:()=>new Ft})}function Ea(e,t=Z5(Ji())){return e?"day"in e?e:Lt(t,e):null}const l2=F.div`
|
|
2148
2148
|
display: flex;
|
|
2149
2149
|
flex-direction: column;
|
|
2150
2150
|
align-items: flex-start;
|
|
2151
|
-
`,
|
|
2151
|
+
`,c2=F.div`
|
|
2152
2152
|
display: inline-flex;
|
|
2153
2153
|
padding: 2px 4px;
|
|
2154
2154
|
border-radius: 4px;
|
|
@@ -2158,7 +2158,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2158
2158
|
&:focus-within {
|
|
2159
2159
|
border-color: ${h.color_fill_inverse_enabled};
|
|
2160
2160
|
}
|
|
2161
|
-
`,
|
|
2161
|
+
`,d2=F.div`
|
|
2162
2162
|
padding: 2px;
|
|
2163
2163
|
font-variant-numeric: tabular-nums;
|
|
2164
2164
|
text-align: end;
|
|
@@ -2188,5 +2188,5 @@ const theme2 = createTheme({ palette: {
|
|
|
2188
2188
|
cursor: not-allowed;
|
|
2189
2189
|
--input-border-color: revert;
|
|
2190
2190
|
}
|
|
2191
|
-
`;function
|
|
2191
|
+
`;function u2(e){const{locale:t}=dt(),r=s2({...e,locale:t}),n=l.useRef(null),{labelProps:o,fieldProps:a}=HO(e,r,n);return ie(l2,{children:[e.label&&C(Je,{...o,children:e.label}),ie(c2,{...a,ref:n,children:[r.segments.filter(i=>!(i.type==="literal"&&i.text===" ")).map((i,s)=>C(f2,{segment:i,state:r},s)),r.validationState==="invalid"&&C("span",{"aria-hidden":"true",children:"🚫"})]})]})}function f2({segment:e,state:t}){const r=l.useRef(null),{segmentProps:n}=qO(e,t,r),o={};return e.isPlaceholder&&(o["data-placeholder"]=!0),ie(d2,{...n,...o,style:{...n.style,minWidth:e.type==="literal"?0:"2ch",color:e.type==="dayPeriod"?h.color_text_weak:"inherit"},ref:r,children:[C("span",{"aria-hidden":"true",style:{visibility:e.isPlaceholder?"visible":"hidden",display:"block",width:"100%",height:e.isPlaceholder?"":0,pointerEvents:"none"},children:e.placeholder}),e.isPlaceholder?"":["hour","minute"].includes(e.type)?e.text.padStart(2,"0"):e.text]})}U.AccessibleIcon=on,U.AlertDialog=S_,U.AlertDialogAction=T_,U.AlertDialogCancel=D_,U.AlertDialogContent=w_,U.AlertDialogDescription=E_,U.AlertDialogFooter=P_,U.AlertDialogTitle=__,U.AlertDialogTrigger=k_,U.AriaSingleSelect=BO,U.Box=Kd,U.BreadcrumbItem=bp,U.BreadcrumbLink=pp,U.BreadcrumbListItem=vs,U.Breadcrumbs=hp,U.Button=Nr,U.ButtonBase=ot,U.Checkbox=Bo,U.Dialog=g_,U.DialogClose=y_,U.DialogCloseButton=b_,U.DialogContent=p_,U.DialogDescription=h_,U.DialogFooter=Ld,U.DialogTitle=m_,U.DialogTrigger=v_,U.Direction=Yb,U.Fieldset=aS,U.FileUpload=Hb,U.Flex=Z7,U.FormControl=U7,U.Heading=Gb,U.IconButton=Hs,U.IconTooltip=cr,U.Item=Zs,U.Label=Je,U.MultiSelect=x$,U.MultiSelectComponent=$$,U.MultiSelectItem=xa,U.MultiSelectSection=hc,U.NavigationMenu=wT,U.NavigationMenuPortal=_T,U.NumberFormControl=sh,U.NumberInput=Is,U.Page=D0,U.PageContent=e6,U.PageGrid=QD,U.PageHeader=C0,U.PageHeaderContent=n6,U.Pagination=i6,U.PaginatorButton=na,U.PaginatorNumber=oa,U.Popover=dp,U.PopoverClose=bs,U.PopoverCloseCross=VP,U.PopoverContent=cp,U.PopoverTrigger=up,U.Radio=S6,U.RadioGroup=P6,U.RadioGroupIndicator=K0,U.RadioGroupRadio=L0,U.Search=fy,U.Select=sg,U.SelectContent=ag,U.SelectGroup=Q4,U.SelectGroupLabel=t3,U.SelectIcon=dg,U.SelectItem=ug,U.SelectItemIndicator=e3,U.SelectItemText=fg,U.SelectScrollDownButton=mg,U.SelectScrollUpButton=pg,U.SelectSeparator=r3,U.SelectTrigger=lg,U.SelectValue=cg,U.SelectViewport=J4,U.SingleSelect=n3,U.SingleSelectItem=xa,U.SingleSelectSection=hc,U.StickyPageHeader=r6,U.StyledFieldSet=gp,U.StyledTrigger=og,U.Switch=by,U.TabTriggerWithIcon=QT,U.TabsContent=eD,U.TabsList=JT,U.TabsRoot=XT,U.TabsTrigger=s0,U.Text=Lr,U.TextAreaFormControl=ih,U.TextFormControl=ah,U.TextInput=_s,U.Time=bn,U.TimeInput=u2,U.Title=gy,U.Toast=JD,U.ToastAction=WD,U.ToastClose=S0,U.ToastProvider=XD,U.ToastSeparator=k0,U.ToastViewport=qD,U.Tooltip=Mp,U.TooltipContent=zp,U.TooltipProvider=Np,U.TooltipTrigger=Ds,U.buttonPadding=ys,U.dialogContentStyles=ri,U.dialogDescriptionStyles=oi,U.dialogTitleStyles=ni,U.dialogWidths=ti,U.overlayStyles=ei,U.pageMinMaxWidth=T0,U.useFieldProps=Vo,U.useFieldset=ut,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});
|
|
2192
2192
|
//# sourceMappingURL=trc-components.umd.js.map
|