@theroutingcompany/components 0.0.18-alpha.2 → 0.0.18-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/trc-components.es.js +5300 -4843
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +299 -239
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/Box/Box.d.ts +20 -20
- package/types/components/Flex/Flex.d.ts +20 -20
- package/types/components/index.d.ts +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(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 h1(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={},b1={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
|
|
9
|
+
*/var Tc;function g1(){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
|
|
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
|
|
17
|
+
*/var Dc;function v1(){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,k=!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||k||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 T=$.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=T.current,T.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
|
-
`),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
|
|
21
|
-
`+ge[ze].replace(" at new "," at ");return E.displayName&&
|
|
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,T.current=ke,J(),Error.prepareStackTrace=Ee}var Xr=E?E.displayName||E.name:"",m1=Xr?z(Xr):"";return typeof E=="function"&&q.set(E,m1),m1}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},i1,s1,wc;wc={};function f2(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 p2(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 m2(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 h2(E,Z){{var ne=function(){i1||(i1=!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 b2(E,Z){{var ne=function(){s1||(s1=!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 g2=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 v2(E,Z,ne,fe,Ee){{var ke,we={},ge=null,He=null;ne!==void 0&&(qr(ne),ge=""+ne),p2(Z)&&(qr(Z.key),ge=""+Z.key),f2(Z)&&(He=Z.ref,m2(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&&h2(we,Le),He&&b2(we,Le)}return g2(E,ge,He,Ee,fe,Ct.current,we)}}var _c=$.ReactCurrentOwner,l1=$.ReactDebugCurrentFrame;function Zr(E){if(E){var Z=E._owner,ne=ce(E.type,E._source,Z?Z.type:null);l1.setExtraStackFrame(ne)}else l1.setExtraStackFrame(null)}var Ec;Ec=!1;function Pc(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function c1(){{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 y2(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 d1={};function $2(E){{var Z=c1();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 i1(E,Z){{if(!E._store||E._store.validated||E.key!=null)return;E._store.validated=!0;var ne=aI(Z);if(a1[ne])return;a1[ne]=!0;var fe="";E&&E._owner&&E._owner!==yc.current&&(fe=" It was passed a child from "+S(E._owner.type)+"."),Yr(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),Yr(null)}}function s1(E,Z){{if(typeof E!="object")return;if(_e(E))for(var ne=0;ne<E.length;ne++){var fe=E[ne];xc(fe)&&i1(fe,Z)}else if(xc(E))E._store&&(E._store.validated=!0);else if(E){var Ee=v(E);if(typeof Ee=="function"&&Ee!==E.entries)for(var Te=Ee.call(E),we;!(we=Te.next()).done;)xc(we.value)&&i1(we.value,Z)}}}function iI(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&&!$c){$c=!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 sI(E){{for(var Z=Object.keys(E.props),ne=0;ne<Z.length;ne++){var fe=Z[ne];if(fe!=="children"&&fe!=="key"){Yr(E),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),Yr(null);break}}E.ref!==null&&(Yr(E),x("Invalid attribute `ref` supplied to `React.Fragment`."),Yr(null))}}function l1(E,Z,ne,fe,Ee,Te){{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=oI(Ee);He?ge+=He:ge+=o1();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=nI(E,Z,ne,Ee,Te);if(Le==null)return Le;if(we){var et=Z.children;if(et!==void 0)if(fe)if(_e(et)){for(var qr=0;qr<et.length;qr++)s1(et[qr],E);Object.freeze&&Object.freeze(et)}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 s1(et,E)}return E===n?sI(Le):iI(Le),Le}}function lI(E,Z,ne){return l1(E,Z,ne,!0)}function cI(E,Z,ne){return l1(E,Z,ne,!1)}var dI=cI,uI=lI;Jr.Fragment=n,Jr.jsx=dI,Jr.jsxs=uI}()),Jr}(function(e){process.env.NODE_ENV==="production"?e.exports=f1():e.exports=p1()})(u1);const m1=Zr.Fragment,C=Zr.jsx,ie=Zr.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 h1(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,b1(o,...t)]}function b1(...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 g1(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Sc(...e){return t=>e.forEach(r=>g1(r,t))}function pe(...e){return l.useCallback(Sc(...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:()=>{},v1=re["useId".toString()]||(()=>{});let y1=0;function ot(e){const[t,r]=re.useState(v1());return De(()=>{e||r(n=>n??String(y1++))},[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 tt({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=$1({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 $1({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(x1);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(xa,A({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(xa,A({},n,{ref:t}),r)});Ke.displayName="Slot";const xa=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...w1(n,r.props),ref:Sc(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});xa.displayName="SlotClone";const wa=({children:e})=>l.createElement(l.Fragment,null,e);function x1(e){return l.isValidElement(e)&&e.type===wa}function w1(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 Ut=["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 _1(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}function Qr(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 _a="dismissableLayer.update",E1="dismissableLayer.pointerDownOutside",P1="dismissableLayer.focusOutside";let Tc;const S1=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),T1=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(S1),[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=k1(_=>{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=D1(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return Qr(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Tc=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),kc(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Tc)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),kc())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(_a,_),()=>document.removeEventListener(_a,_)},[]),l.createElement(Ut.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 k1(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(){Dc(E1,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 D1(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&&Dc(P1,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 kc(){const e=new CustomEvent(_a);document.dispatchEvent(e)}function Dc(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?_1(o,a):o.dispatchEvent(a)}const C1=["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}},{}),Ea="focusScope.autoFocusOnMount",Pa="focusScope.autoFocusOnUnmount",Cc={bubbles:!1,cancelable:!0},Sa=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:Ht(f.current,{select:!0})},v=function($){m.paused||!s||s.contains($.relatedTarget)||Ht(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){Ac.add(m);const g=document.activeElement;if(!s.contains(g)){const $=new CustomEvent(Ea,Cc);s.addEventListener(Ea,d),s.dispatchEvent($),$.defaultPrevented||(O1(z1(Oc(s)),{select:!0}),document.activeElement===g&&Ht(s))}return()=>{s.removeEventListener(Ea,d),setTimeout(()=>{const $=new CustomEvent(Pa,Cc);s.addEventListener(Pa,u),s.dispatchEvent($),$.defaultPrevented||Ht(g??document.body,{select:!0}),s.removeEventListener(Pa,u),Ac.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]=I1(x);w&&y?!g.shiftKey&&$===y?(g.preventDefault(),r&&Ht(w,{select:!0})):g.shiftKey&&$===w&&(g.preventDefault(),r&&Ht(y,{select:!0})):$===x&&g.preventDefault()}},[r,n,m.paused]);return l.createElement(C1.div,A({tabIndex:-1},i,{ref:p,onKeyDown:b}))});function O1(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Ht(n,{select:t}),document.activeElement!==r)return}function I1(e){const t=Oc(e),r=Ic(t,e),n=Ic(t.reverse(),e);return[r,n]}function Oc(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 Ic(e,t){for(const r of e)if(!A1(r,{upTo:t}))return r}function A1(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 N1(e){return e instanceof HTMLInputElement&&"select"in e}function Ht(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&N1(e)&&t&&e.select()}}const Ac=M1();function M1(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Nc(e,t),e.unshift(t)},remove(t){var r;e=Nc(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Nc(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function z1(e){return e.filter(t=>t.tagName!=="A")}const F1=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(Ut.div,A({},o,{ref:t})),n):null});function L1(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Ze=e=>{const{present:t,children:r}=e,n=K1(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};Ze.displayName="Presence";function K1(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=L1(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=Nn(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=Nn(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=Nn(n.current).includes(f.animationName);f.target===t&&m&&Ve.flushSync(()=>c("ANIMATION_END"))},u=f=>{f.target===t&&(a.current=Nn(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 Nn(e){return(e==null?void 0:e.animationName)||"none"}let Ta=0;function ka(){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:Mc()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Mc()),Ta++,()=>{Ta===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Ta--}},[])}function Mc(){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 at=function(){return at=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},at.apply(this,arguments)};function zc(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 j1(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 Mn="right-scroll-bar-position",zn="width-before-scroll-bar",V1="with-scroll-bars-hidden",B1="--removed-body-scroll-bar-size";function R1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function W1(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 U1(e,t){return W1(t||null,function(r){return e.forEach(function(n){return R1(n,r)})})}function H1(e){return e}function G1(e,t){t===void 0&&(t=H1);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 Y1(e){e===void 0&&(e={});var t=G1(null);return t.options=at({async:!0,ssr:!1},e),t}var Fc=function(e){var t=e.sideCar,r=zc(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,at({},r))};Fc.isSideCarExport=!0;function q1(e,t){return e.useMedium(t),Fc}var Lc=Y1(),Da=function(){},Fn=re.forwardRef(function(e,t){var r=re.useRef(null),n=re.useState({onScrollCapture:Da,onWheelCapture:Da,onTouchMoveCapture:Da}),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=zc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,y=U1([r,t]),T=at(at({},x),o);return re.createElement(re.Fragment,null,u&&re.createElement(w,{sideCar:Lc,removeScrollBar:d,shards:f,noIsolation:m,inert:b,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),i?re.cloneElement(re.Children.only(s),at(at({},T),{ref:y})):re.createElement($,at({},T,{className:c,ref:y}),s))});Fn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Fn.classNames={fullWidth:zn,zeroRight:Mn};var Kc,Z1=function(){if(Kc)return Kc;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function X1(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Z1();return t&&e.setAttribute("nonce",t),e}function J1(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Q1(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ex=function(){var e=0,t=null;return{add:function(r){e==0&&(t=X1())&&(J1(t,r),Q1(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tx=function(){var e=ex();return function(t,r){re.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},jc=function(){var e=tx(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},rx={left:0,top:0,right:0,gap:0},Ca=function(e){return parseInt(e||"",10)||0},nx=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[Ca(r),Ca(n),Ca(o)]},ox=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return rx;var t=nx(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])}},ax=jc(),ix=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 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 at(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 it=function(){return it=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},it.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=it({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,it({},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=it(it({},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),it(it({},k),{ref:y})):re.createElement($,it({},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(H1,` {
|
|
29
29
|
overflow: hidden `).concat(n,`;
|
|
30
30
|
padding-right: `).concat(s,"px ").concat(n,`;
|
|
31
31
|
}
|
|
@@ -42,29 +42,29 @@ Check the top-level render call using <`+ne+">.")}return Z}}function i1(E,Z){{if
|
|
|
42
42
|
`),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.`).concat(
|
|
45
|
+
.`).concat(Ln,` {
|
|
46
46
|
right: `).concat(s,"px ").concat(n,`;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.`).concat(
|
|
49
|
+
.`).concat(Kn,` {
|
|
50
50
|
margin-right: `).concat(s,"px ").concat(n,`;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.`).concat(
|
|
53
|
+
.`).concat(Ln," .").concat(Ln,` {
|
|
54
54
|
right: 0 `).concat(n,`;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.`).concat(
|
|
57
|
+
.`).concat(Kn," .").concat(Kn,` {
|
|
58
58
|
margin-right: 0 `).concat(n,`;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
body {
|
|
62
|
-
`).concat(
|
|
62
|
+
`).concat(G1,": ").concat(s,`px;
|
|
63
63
|
}
|
|
64
|
-
`)},
|
|
64
|
+
`)},fx=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=re.useMemo(function(){return cx(o)},[o]);return re.createElement(dx,{styles:ux(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,px=function(e){return e.tagName==="TEXTAREA"},Uc=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!px(e)&&r[t]==="visible")},mx=function(e){return Uc(e,"overflowY")},hx=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},bx=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},gx=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Gc=function(e,t){return e==="v"?mx(t):hx(t)},Yc=function(e,t){return e==="v"?bx(t):gx(t)},vx=function(e,t){return e==="h"&&t==="rtl"?-1:1},yx=function(e,t,r,n,o){var a=vx(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},$x=function(e,t){return e[0]===t[0]&&e[1]===t[1]},xx=function(e){return`
|
|
65
65
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
66
66
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
67
|
-
`)},gx=0,pr=[];function vx(e){var t=re.useRef([]),r=re.useRef([0,0]),n=re.useRef(),o=re.useState(gx++)[0],a=re.useState(function(){return jc()})[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=j1([e.lockRef.current],(e.shards||[]).map(Hc),!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 $=Kn(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 _=Bc(P,N);if(!_)return!0;if(_?T=P:(T=P==="v"?"h":"v",_=Bc(P,N)),!_)return!1;if(!n.current&&"changedTouches"in g&&(w||y)&&(n.current=T),!T)return!0;var I=n.current||T;return mx(I,v,g,I==="h"?w:y,!0)},[]),c=re.useCallback(function(g){var v=g;if(!(!pr.length||pr[pr.length-1]!==a)){var $="deltaY"in v?Uc(v):Kn(v),x=t.current.filter(function(T){return T.name===v.type&&T.target===v.target&&hx(T.delta,$)})[0];if(x&&x.should){v.cancelable&&v.preventDefault();return}if(!x){var w=(i.current.shards||[]).map(Hc).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=Kn(g),n.current=void 0},[]),f=re.useCallback(function(g){d(g.type,Uc(g),g.target,s(g,e.lockRef.current))},[]),p=re.useCallback(function(g){d(g.type,Kn(g),g.target,s(g,e.lockRef.current))},[]);re.useEffect(function(){return pr.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,fr),document.addEventListener("touchmove",c,fr),document.addEventListener("touchstart",u,fr),function(){pr=pr.filter(function(g){return g!==a}),document.removeEventListener("wheel",c,fr),document.removeEventListener("touchmove",c,fr),document.removeEventListener("touchstart",u,fr)}},[]);var m=e.removeScrollBar,b=e.inert;return re.createElement(re.Fragment,null,b?re.createElement(a,{styles:bx(o)}):null,m?re.createElement(sx,{gapMode:"margin"}):null)}const yx=q1(Lc,vx);var Gc=re.forwardRef(function(e,t){return re.createElement(Fn,at({},e,{ref:t,sideCar:yx}))});Gc.classNames=Fn.classNames;const Ia=Gc;var $x=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},mr=new WeakMap,jn=new WeakMap,Vn={},Aa=0,Yc=function(e){return e&&(e.host||Yc(e.parentNode))},xx=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Yc(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)})},wx=function(e,t,r,n){var o=xx(t,Array.isArray(e)?e:[e]);Vn[r]||(Vn[r]=new WeakMap);var a=Vn[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=(mr.get(p)||0)+1,v=(a.get(p)||0)+1;mr.set(p,g),a.set(p,v),i.push(p),g===1&&b&&jn.set(p,!0),v===1&&p.setAttribute(r,"true"),b||p.setAttribute(n,"true")}})};return u(t),s.clear(),Aa++,function(){i.forEach(function(f){var p=mr.get(f)-1,m=a.get(f)-1;mr.set(f,p),a.set(f,m),p||(jn.has(f)||f.removeAttribute(n),jn.delete(f)),m||f.removeAttribute(r)}),Aa--,Aa||(mr=new WeakMap,mr=new WeakMap,jn=new WeakMap,Vn={})}},Na=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||$x(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),wx(n,o,r,"aria-hidden")):function(){return null}};const qc="Dialog",[Zc,Xc]=Re(qc),[_x,rt]=Zc(qc),Ex=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]=tt({prop:n,defaultProp:o,onChange:a});return l.createElement(_x,{scope:t,triggerRef:s,contentRef:c,contentId:ot(),titleId:ot(),descriptionId:ot(),open:d,onOpenChange:u,onOpenToggle:l.useCallback(()=>u(f=>!f),[u]),modal:i},r)},Px="DialogTrigger",Sx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=rt(Px,r),a=pe(t,o.triggerRef);return l.createElement(Ut.button,A({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":za(o.open)},n,{ref:a,onClick:oe(e.onClick,o.onOpenToggle)}))}),Jc="DialogPortal",[Tx,Qc]=Zc(Jc,{forceMount:void 0}),kx=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=rt(Jc,t);return l.createElement(Tx,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(Ze,{present:r||a.open},l.createElement(F1,{asChild:!0,container:o},i))))},Ma="DialogOverlay",Dx=l.forwardRef((e,t)=>{const r=Qc(Ma,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=rt(Ma,e.__scopeDialog);return a.modal?l.createElement(Ze,{present:n||a.open},l.createElement(Cx,A({},o,{ref:t}))):null}),Cx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=rt(Ma,r);return l.createElement(Ia,{as:Ke,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(Ut.div,A({"data-state":za(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),hr="DialogContent",Ox=l.forwardRef((e,t)=>{const r=Qc(hr,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=rt(hr,e.__scopeDialog);return l.createElement(Ze,{present:n||a.open},a.modal?l.createElement(Ix,A({},o,{ref:t})):l.createElement(Ax,A({},o,{ref:t})))}),Ix=l.forwardRef((e,t)=>{const r=rt(hr,e.__scopeDialog),n=l.useRef(null),o=pe(t,r.contentRef,n);return l.useEffect(()=>{const a=n.current;if(a)return Na(a)},[]),l.createElement(ed,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())}))}),Ax=l.forwardRef((e,t)=>{const r=rt(hr,e.__scopeDialog),n=l.useRef(!1);return l.createElement(ed,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()}}))}),ed=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=rt(hr,r),c=l.useRef(null),d=pe(t,c);return ka(),l.createElement(l.Fragment,null,l.createElement(Sa,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(T1,A({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":za(s.open)},i,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),td="DialogTitle",Nx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=rt(td,r);return l.createElement(Ut.h2,A({id:o.titleId},n,{ref:t}))}),Mx="DialogDescription",zx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=rt(Mx,r);return l.createElement(Ut.p,A({id:o.descriptionId},n,{ref:t}))}),Fx="DialogClose",Lx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=rt(Fx,r);return l.createElement(Ut.button,A({type:"button"},n,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))});function za(e){return e?"open":"closed"}const Kx="DialogTitleWarning",[jx,mI]=h1(Kx,{contentName:hr,titleName:td,docsSlug:"dialog"}),rd=Ex,nd=Sx,od=kx,ad=Dx,id=Ox,sd=Nx,ld=zx,Fa=Lx,Vx="AlertDialog",[Bx,hI]=Re(Vx,[Xc]),mt=Xc(),Rx=e=>{const{__scopeAlertDialog:t,...r}=e,n=mt(t);return l.createElement(rd,A({},n,r,{modal:!0}))},Wx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(nd,A({},o,n,{ref:t}))}),Ux=e=>{const{__scopeAlertDialog:t,...r}=e,n=mt(t);return l.createElement(od,A({},n,r))},Hx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(ad,A({},o,n,{ref:t}))}),cd="AlertDialogContent",[Gx,Yx]=Bx(cd),qx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=mt(r),i=l.useRef(null),s=pe(t,i),c=l.useRef(null);return l.createElement(jx,{contentName:cd,titleName:Zx,docsSlug:"alert-dialog"},l.createElement(Gx,{scope:r,cancelRef:c},l.createElement(id,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(wa,null,n),!1)))}),Zx="AlertDialogTitle",Xx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(sd,A({},o,n,{ref:t}))}),Jx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(ld,A({},o,n,{ref:t}))}),Qx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(Fa,A({},o,n,{ref:t}))}),ew="AlertDialogCancel",tw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=Yx(ew,r),a=mt(r),i=pe(t,o);return l.createElement(Fa,A({},a,n,{ref:i}))}),rw=Rx,nw=Wx,ow=Ux,aw=Hx,iw=qx,sw=Qx,lw=tw,cw=Xx,dw=Jx;function uw(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="",Gr="",Dt="",ft;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),ft=s(3,ce,$e,V,S,j,he,Y,k,J),le=$e.join(""),ft!==void 0&&(he=(ce=ft.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)}Gr+=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&&(ft=s(1,le,V,L,S,j,Ae.length,J,k,J))!==void 0&&(he=(le=ft.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){Dt+=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&&(ft=s(2,Ae,$e,L,S,j,he,J,k,J),ft!==void 0&&(Ae=ft).length===0))return Dt+Ae+Gr;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 Dt+Ae+Gr}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 fw={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 pw(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var mw=/^((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)-.*))$/,dd=pw(function(e){return mw.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),La=pt,hw={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},bw={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},gw={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ud={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ka={};Ka[La.ForwardRef]=gw,Ka[La.Memo]=ud;function fd(e){return La.isMemo(e)?ud:Ka[e.$$typeof]||hw}var vw=Object.defineProperty,yw=Object.getOwnPropertyNames,pd=Object.getOwnPropertySymbols,$w=Object.getOwnPropertyDescriptor,xw=Object.getPrototypeOf,md=Object.prototype;function hd(e,t,r){if(typeof t!="string"){if(md){var n=xw(t);n&&n!==md&&hd(e,n,r)}var o=yw(t);pd&&(o=o.concat(pd(t)));for(var a=fd(e),i=fd(t),s=0;s<o.length;++s){var c=o[s];if(!bw[c]&&!(r&&r[c])&&!(i&&i[c])&&!(a&&a[c])){var d=$w(t,c);try{vw(e,c,d)}catch{}}}}return e}var bd=hd;function ht(){return(ht=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 gd=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},ja=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!pt.typeOf(e)},Bn=Object.freeze([]),Ot=Object.freeze({});function en(e){return typeof e=="function"}function Va(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Ba(e){return e&&typeof e.styledComponentId=="string"}var br=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ra=typeof window<"u"&&"HTMLElement"in window,ww=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")),_w=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
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,it({},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:at(),titleId:at(),descriptionId:at(),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.
|
|
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}(),
|
|
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 Dw(){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(Dw.apply(void 0,[Tw[e]].concat(r)).trim())}var Cw=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},Ow=function(e){return Gn.get(e)},Iw=function(e,t){t>=nn&&(nn=t+1),Hn.set(e,t),Gn.set(t,e)},Aw="style["+vr+'][data-styled-version="5.3.8"]',Nw=new RegExp("^"+vr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Mw=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)},zw=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(Nw);if(s){var c=0|parseInt(s[1],10),d=s[2];c!==0&&(Iw(d,c),Mw(e,d,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},Fw=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=Fw();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},Lw=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}(),Kw=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}(),jw=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,Vw={isServer:!Ga,useCSSOMInjection:!kw},Ed=function(){function e(r,n,o){r===void 0&&(r=It),n===void 0&&(n={}),this.options=bt({},Vw,{},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(Aw),s=0,c=i.length;s<c;s++){var d=i[s];d&&d.getAttribute(vr)!=="active"&&(zw(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 jw(i):a?new Lw(i):new Kw(i),new Cw(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=Ow(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}(),Bw=/(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(Bw,"$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 Rw(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(rn(r)&&!Ha(r))return!1}return!0}var Ww=Sd("5.3.8"),Uw=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Rw(t),this.componentId=r,this.baseHash=Yt(Ww,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}(),Hw=/^\s*\/\/.*$/gm,Gw=[":","[",".","#"];function Yw(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 bw(s),f=[],p=function(g){function v($){if($)try{g($+"}")}catch{}}return function($,x,w,y,k,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&&Gw.indexOf($[r.length])!==-1||$.match(o)?g:"."+t};function b(g,v,$,x){x===void 0&&(x="&");var w=g.replace(Hw,""),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(),qw=(Td.Consumer,new Ed),qa=Yw();function Zw(){return l.useContext(kd)||qw}function Xw(){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}(),Jw=/([A-Z])/,Qw=/([A-Z])/g,e_=/^ms-/,t_=function(e){return"-"+e.toLowerCase()};function Cd(e){return Jw.test(e)?e.replace(Qw,t_).replace(e_,"-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 gw?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,r_=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(
|
|
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}}},n_=function(e,t,r){return r===void 0&&(r=It),e.theme!==r.theme&&e.theme||t||r.theme},o_=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,a_=/(^-|-$)/g;function Za(e){return e.replace(o_,"-").replace(a_,"")}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)},i_=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function s_(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)i_(s)&&s_(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 k=y+"-"+Nd("5.3.8"+y+Ja[y]);return w?w+"-"+k:k}(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 Uw(r,f,n?e.componentStyle:void 0),v=g.isStatic&&i.length===0,$=function(x,w){return function(y,k,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,T,B){J===void 0&&(J=It);var z=bt({},T,{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]}(n_(k,l.useContext(zd),W)||It,k,_),se=X[0],G=X[1],ae=function(J,T,B,z){var Q=Zw(),q=Xw(),ee=T?J.generateAndInjectStyles(It,Q,q):J.generateAndInjectStyles(B,Q,q);return process.env.NODE_ENV!=="production"&&l.useDebugValue(ee),process.env.NODE_ENV!=="production"&&!T&&z&&z(ee),ee}(I,P,se,process.env.NODE_ENV!=="production"?y.warnTooManyClasses:void 0),te=N,K=G.$as||k.$as||G.as||k.as||O,M=Zn(K),L=G!==k?bt({},k,{},G):k,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 k.style&&G.style!==k.style&&(V.style=bt({},k.style,{},G.style)),V.className=Array.prototype.concat(D,S,ae!==S?ae:null,k.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"]),k=w&&w+"-"+(Zn(x)?x:Za(Ua(x)));return Fd(x,bt({},y,{attrs:p,componentId:k}),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"&&(r_(u,f),b.warnTooManyClasses=function(x,w){var y={},k=!1;return function(N){if(!k&&(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 />`),k=!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)"},n_=bt`
|
|
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`
|
|
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
|
+
`,c_=gt`
|
|
135
135
|
0% {
|
|
136
136
|
opacity: 0;
|
|
137
137
|
transform: translate(-50%, -48%) scale(.96);
|
|
@@ -141,16 +141,16 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
141
141
|
opacity: 1;
|
|
142
142
|
transform: translate(-50%, -50%) scale(1);
|
|
143
143
|
}
|
|
144
|
-
`,
|
|
144
|
+
`,ei=qt`
|
|
145
145
|
background-color: ${h.color_background_black_strong};
|
|
146
146
|
opacity: 0.6;
|
|
147
147
|
position: fixed;
|
|
148
148
|
inset: 0;
|
|
149
149
|
z-index: 4;
|
|
150
|
-
animation: ${
|
|
151
|
-
`,
|
|
152
|
-
${
|
|
153
|
-
`,
|
|
150
|
+
animation: ${l_} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
151
|
+
`,d_=F(cd)`
|
|
152
|
+
${ei}
|
|
153
|
+
`,ti={small:"360px",medium:"540px",large:"960px"},ri=qt`
|
|
154
154
|
background: ${h.color_white};
|
|
155
155
|
padding: ${h.sizing_500};
|
|
156
156
|
max-width: 100vw;
|
|
@@ -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
|
-
`,
|
|
169
|
-
${
|
|
170
|
-
width: ${e=>
|
|
171
|
-
`;function
|
|
167
|
+
animation: ${c_} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
168
|
+
`,u_=F(dd)`
|
|
169
|
+
${ri}
|
|
170
|
+
width: ${e=>ti[e.size??"medium"]};
|
|
171
|
+
`;function f_({children:e,size:t,...r}){return ie(ld,{children:[C(d_,{}),C(u_,{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,9 +178,9 @@ 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
|
-
`,
|
|
182
|
-
${
|
|
183
|
-
`,
|
|
181
|
+
`,p_=F(ud)`
|
|
182
|
+
${ni}
|
|
183
|
+
`,oi=qt`
|
|
184
184
|
font-family: ${h.font_family_sans};
|
|
185
185
|
font-style: normal;
|
|
186
186
|
font-weight: 400;
|
|
@@ -189,14 +189,14 @@ 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
|
-
`,
|
|
193
|
-
${
|
|
194
|
-
`,
|
|
192
|
+
`,m_=F(fd)`
|
|
193
|
+
${oi}
|
|
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
|
+
`,h_=F.button`
|
|
200
200
|
all: unset;
|
|
201
201
|
font-family: inherit;
|
|
202
202
|
height: 25px;
|
|
@@ -219,25 +219,74 @@ 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
|
-
`,
|
|
223
|
-
${Za}
|
|
224
|
-
`,h_=F(iw)`
|
|
225
|
-
${Ja}
|
|
226
|
-
width: ${e=>Xa[e.size??"medium"]};
|
|
227
|
-
`;function b_({children:e,size:t,...r}){return ie(ow,{children:[C(m_,{}),C(h_,{size:t,...r,children:e})]})}const g_=F(cw)`
|
|
228
|
-
${Qa}
|
|
229
|
-
`,v_=F(dw)`
|
|
222
|
+
`,b_=id,g_=sd,v_=Va,y_=F(dw)`
|
|
230
223
|
${ei}
|
|
231
|
-
`,y_=Nd,$_=rw,x_=nw,w_=sw,__=lw,E_=["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_=l.forwardRef((e,t)=>l.createElement(E_.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}}))),S_=({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(P_,null,t))};function rn({children:e,label:t}){return C(S_,{label:t,children:e})}const It=["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 T_(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const ti="dismissableLayer.update",k_="dismissableLayer.pointerDownOutside",D_="dismissableLayer.focusOutside";let Md;const C_=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),O_=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(C_),[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=I_(_=>{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=A_(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return Qr(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Md=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),zd(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Md)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),zd())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(ti,_),()=>document.removeEventListener(ti,_)},[]),l.createElement(It.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 I_(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(){Fd(k_,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 A_(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&&Fd(D_,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 zd(){const e=new CustomEvent(ti);document.dispatchEvent(e)}function Fd(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?T_(o,a):o.dispatchEvent(a)}function qt(e){return e.split("-")[0]}function nn(e){return e.split("-")[1]}function yr(e){return["top","bottom"].includes(qt(e))?"x":"y"}function ri(e){return e==="y"?"height":"width"}function Ld(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=yr(t),c=ri(s),d=n[c]/2-o[c]/2,u=s==="x";let f;switch(qt(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(nn(t)){case"start":f[s]-=d*(r&&u?-1:1);break;case"end":f[s]+=d*(r&&u?-1:1)}return f}const N_=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}=Ld(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}=Ld(c,f,s)),b=-1)}return{x:d,y:u,placement:f,strategy:o,middlewareData:p}};function Kd(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 Yn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function on(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=Kd(m),g=s[p?f==="floating"?"reference":"floating":f],v=Yn(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})),$=Yn(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 M_=Math.min,Zt=Math.max;function ni(e,t,r){return Zt(e,M_(t,r))}const jd=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=Kd(n),u={x:o,y:a},f=yr(i),p=nn(i),m=ri(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=ni(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 F_(e,t,r){r===void 0&&(r=!1);const n=nn(e),o=yr(e),a=ri(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 L_={start:"end",end:"start"};function Vd(e){return e.replace(/start|end/g,t=>L_[t])}const Bd=["top","right","bottom","left"];Bd.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const oi=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=qt(n),v=f||(g===i||!m?[qn(i)]:function(_){const I=qn(_);return[Vd(_),I,Vd(I)]}(i)),$=[i,...v],x=await on(t,b),w=[];let y=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&w.push(x[g]),u){const{main:_,cross:I}=F_(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 Rd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Wd(e){return Bd.some(t=>e[t]>=0)}const ai=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=Rd(await on(n,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Wd(a)}}}case"escaped":{const a=Rd(await on(n,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:a,escaped:Wd(a)}}}default:return{}}}}},ii=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=qt(s),p=nn(s),m=yr(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 Ud(e){return e==="x"?"y":"x"}const si=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 on(t,c),f=yr(qt(o)),p=Ud(f);let m=d[f],b=d[p];if(a){const v=f==="y"?"bottom":"right";m=ni(m+u[f==="y"?"top":"left"],m,m-u[v])}if(i){const v=p==="y"?"bottom":"right";b=ni(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}}}}},li=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=yr(o),p=Ud(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(qt(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}}}},ci=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 on(t,s),d=qt(r),u=nn(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=Zt(c.left,0),b=Zt(c.right,0),g=Zt(c.top,0),v=Zt(c.bottom,0),$={availableHeight:n.floating.height-(["left","right"].includes(r)?2*(g!==0||v!==0?g+v:Zt(c.top,c.bottom)):c[f]),availableWidth:n.floating.width-(["top","bottom"].includes(r)?2*(m!==0||b!==0?m+b:Zt(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 Hd(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function gt(e){if(e==null)return window;if(!Hd(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function an(e){return gt(e).getComputedStyle(e)}function vt(e){return Hd(e)?"":e?(e.nodeName||"").toLowerCase():""}function Gd(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function it(e){return e instanceof gt(e).HTMLElement}function At(e){return e instanceof gt(e).Element}function di(e){return typeof ShadowRoot>"u"?!1:e instanceof gt(e).ShadowRoot||e instanceof ShadowRoot}function Zn(e){const{overflow:t,overflowX:r,overflowY:n}=an(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function K_(e){return["table","td","th"].includes(vt(e))}function Yd(e){const t=/firefox/i.test(Gd()),r=an(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 qd(){return!/^((?!chrome|android).)*safari/i.test(Gd())}const Zd=Math.min,sn=Math.max,Xn=Math.round;function yt(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&&it(e)&&(c=e.offsetWidth>0&&Xn(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&Xn(s.height)/e.offsetHeight||1);const u=At(e)?gt(e):window,f=!qd()&&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 Nt(e){return(t=e,(t instanceof gt(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Jn(e){return At(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Xd(e){return yt(Nt(e)).left+Jn(e).scrollLeft}function j_(e,t,r){const n=it(t),o=Nt(t),a=yt(e,n&&function(c){const d=yt(c);return Xn(d.width)!==c.offsetWidth||Xn(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((vt(t)!=="body"||Zn(o))&&(i=Jn(t)),it(t)){const c=yt(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=Xd(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function Jd(e){return vt(e)==="html"?e:e.assignedSlot||e.parentNode||(di(e)?e.host:null)||Nt(e)}function Qd(e){return it(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function ui(e){const t=gt(e);let r=Qd(e);for(;r&&K_(r)&&getComputedStyle(r).position==="static";)r=Qd(r);return r&&(vt(r)==="html"||vt(r)==="body"&&getComputedStyle(r).position==="static"&&!Yd(r))?t:r||function(n){let o=Jd(n);for(di(o)&&(o=o.host);it(o)&&!["html","body"].includes(vt(o));){if(Yd(o))return o;o=o.parentNode}return null}(e)||t}function eu(e){if(it(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=yt(e);return{width:t.width,height:t.height}}function tu(e){const t=Jd(e);return["html","body","#document"].includes(vt(t))?e.ownerDocument.body:it(t)&&Zn(t)?t:tu(t)}function Qn(e,t){var r;t===void 0&&(t=[]);const n=tu(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=gt(n),i=o?[a].concat(a.visualViewport||[],Zn(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(Qn(i))}function ru(e,t,r){return t==="viewport"?Yn(function(n,o){const a=gt(n),i=Nt(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=qd();(p||!p&&o==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:c,height:d,x:u,y:f}}(e,r)):At(t)?function(n,o){const a=yt(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):Yn(function(n){var o;const a=Nt(n),i=Jn(n),s=(o=n.ownerDocument)==null?void 0:o.body,c=sn(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),d=sn(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let u=-i.scrollLeft+Xd(n);const f=-i.scrollTop;return an(s||a).direction==="rtl"&&(u+=sn(a.clientWidth,s?s.clientWidth:0)-c),{width:c,height:d,x:u,y:f}}(Nt(e)))}function V_(e){const t=Qn(e),r=["absolute","fixed"].includes(an(e).position)&&it(e)?ui(e):e;return At(r)?t.filter(n=>At(n)&&function(o,a){const i=a.getRootNode==null?void 0:a.getRootNode();if(o.contains(a))return!0;if(i&&di(i)){let s=a;do{if(s&&o===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(n,r)&&vt(n)!=="body"):[]}const B_={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?V_(t):[].concat(r),n],i=a[0],s=a.reduce((c,d)=>{const u=ru(t,d,o);return c.top=sn(u.top,c.top),c.right=Zd(u.right,c.right),c.bottom=Zd(u.bottom,c.bottom),c.left=sn(u.left,c.left),c},ru(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=it(r),a=Nt(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((vt(r)!=="body"||Zn(a))&&(i=Jn(r)),it(r))){const c=yt(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:At,getDimensions:eu,getOffsetParent:ui,getDocumentElement:Nt,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:j_(t,ui(r),n),floating:{...eu(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>an(e).direction==="rtl"};function fi(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?[...At(e)?Qn(e):[],...Qn(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}),At(e)&&!s&&p.observe(e),p.observe(t)}let m=s?yt(e):null;return s&&function b(){const g=yt(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 R_=(e,t,r)=>N_(e,t,{platform:B_,...r});var pi=typeof document<"u"?l.useLayoutEffect:l.useEffect;function mi(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(!mi(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)&&!mi(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function W_(e){const t=re.useRef(e);return pi(()=>{t.current=e}),t}function hi(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=W_(o),c=re.useRef(null),[d,u]=re.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[f,p]=re.useState(t);mi(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||R_(a.current,i.current,{middleware:f,placement:r,strategy:n}).then(w=>{b.current&&_c.flushSync(()=>{u(w)})})},[f,r,n]);pi(()=>{b.current&&m()},[m]);const b=re.useRef(!1);pi(()=>(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 bi=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?jd({element:t.current,padding:r}).fn(o):{}:t?jd({element:t,padding:r}).fn(o):{}}}},U_=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(It.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 $r(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 nu="Popper",[gi,ou]=Re(nu),[H_,au]=gi(nu),G_=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(H_,{scope:t,anchor:n,onAnchorChange:o},r)},Y_="PopperAnchor",q_=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=au(Y_,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(It.div,A({},o,{ref:s}))}),eo="PopperContent",[Z_,X_]=gi(eo),[J_,Q_]=gi(eo,{hasParent:!1,positionUpdateFns:new Set}),eE=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=au(eo,u),[_,I]=l.useState(null),W=pe(t,_e=>I(_e)),[D,j]=l.useState(null),S=$r(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(aE),altBoundary:te},{reference:M,floating:L,strategy:V,x:R,y:J,placement:k,middlewareData:B,update:z}=hi({strategy:"fixed",placement:se,whileElementsMounted:fi,middleware:[iE(),ii({mainAxis:p+X,alignmentAxis:b}),y?si({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?li():void 0,...K}):void 0,D?bi({element:D,padding:g}):void 0,y?oi({...K}):void 0,ci({...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`)}}),sE({arrowWidth:O,arrowHeight:X}),w?ai({strategy:"referenceHidden"}):void 0].filter(oE)});De(()=>{M(P.anchor)},[M,P.anchor]);const Q=R!==null&&J!==null,[q,ee]=iu(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}=Q_(eo,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(Z_,{scope:u,placedSide:q,onArrowChange:j,arrowX:ue,arrowY:be,shouldHideArrow:ce},he?l.createElement(J_,{scope:u,hasParent:!0,positionUpdateFns:xe},l.createElement(It.div,Be)):l.createElement(It.div,Be)))}),tE="PopperArrow",rE={top:"bottom",right:"left",bottom:"top",left:"right"},nE=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=X_(tE,n),i=rE[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(U_,A({},o,{ref:r,style:{...o.style,display:"block"}})))});function oE(e){return e!==void 0}function aE(e){return e!==null}const iE=()=>({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`),{}}}),sE=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]=iu(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 iu(e){const[t,r="center"]=e.split("-");return[t,r]}const lE=G_,cE=q_,dE=eE,uE=nE,fE=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(It.div,A({},o,{ref:t})),n):null}),su="Popover",[lu,xI]=Re(su,[ou]),to=ou(),[pE,Xt]=lu(su),cu=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=to(t),c=l.useRef(null),[d,u]=l.useState(!1),[f=!1,p]=tt({prop:n,defaultProp:o,onChange:a});return l.createElement(lE,s,l.createElement(pE,{scope:t,contentId:ot(),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))},mE="PopoverTrigger",du=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Xt(mE,r),a=to(r),i=pe(t,o.triggerRef),s=l.createElement(It.button,A({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":mu(o.open)},n,{ref:i,onClick:oe(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(cE,A({asChild:!0},a),s)}),uu="PopoverPortal",[hE,bE]=lu(uu,{forceMount:void 0}),gE=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=Xt(uu,t);return l.createElement(hE,{scope:t,forceMount:r},l.createElement(Ze,{present:r||a.open},l.createElement(fE,{asChild:!0,container:o},n)))},ln="PopoverContent",fu=l.forwardRef((e,t)=>{const r=bE(ln,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=Xt(ln,e.__scopePopover);return l.createElement(Ze,{present:n||a.open},a.modal?l.createElement(vE,A({},o,{ref:t})):l.createElement(yE,A({},o,{ref:t})))}),vE=l.forwardRef((e,t)=>{const r=Xt(ln,e.__scopePopover),n=l.useRef(null),o=pe(t,n),a=l.useRef(!1);return l.useEffect(()=>{const i=n.current;if(i)return Na(i)},[]),l.createElement(Ia,{as:Ke,allowPinchZoom:!0},l.createElement(pu,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})})))}),yE=l.forwardRef((e,t)=>{const r=Xt(ln,e.__scopePopover),n=l.useRef(!1);return l.createElement(pu,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()}}))}),pu=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=Xt(ln,r),m=to(r);return ka(),l.createElement(Sa,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(O_,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>p.onOpenChange(!1)},l.createElement(dE,A({"data-state":mu(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)"}}))))}),$E="PopoverClose",xE=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Xt($E,r);return l.createElement(It.button,A({type:"button"},n,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))}),wE=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=to(r);return l.createElement(uE,A({},o,n,{ref:t}))});function mu(e){return e?"open":"closed"}const _E=cu,EE=du,PE=gE,SE=fu,hu=xE,TE=wE;function Jt(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 kE(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function Qt(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 vi={prefix:String(Math.round(Math.random()*1e10)),current:0},yi=l.createContext(vi);let DE=Boolean(typeof window<"u"&&window.document&&window.document.createElement),$i=new WeakMap;function CE(e=!1){let t=l.useContext(yi),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=$i.get(a);i==null?$i.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,$i.delete(a))}r.current=++t.current}return r.current}function OE(e){let t=l.useContext(yi);t===vi&&!DE&&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=CE(!!e);return e||`react-aria${t.prefix}-${r}`}function bu(){let t=l.useContext(yi)!==vi,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function gu(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=gu(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function ro(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=gu(e))&&(n&&(n+=" "),n+=t);return n}const Ne=typeof window<"u"?l.useLayoutEffect:()=>{};function IE(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 no=new Map;function qe(e){let[t,r]=l.useState(e),n=l.useRef(null),o=OE(t),a=l.useCallback(i=>{n.current=i},[]);return no.set(o,a),Ne(()=>{let i=o;return()=>{no.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function AE(e,t){if(e===t)return e;let r=no.get(e);if(r)return r(t),t;let n=no.get(t);return n?(n(e),e):t}function oo(e=[]){let t=qe(),[r,n]=IE(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 er(...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]=er(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=ro(a,i):o==="id"&&a&&i?t.id=AE(a,i):t[o]=i!==void 0?i:a}}return t}const NE=new Set(["id"]),ME=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),zE=/^(data-.*)$/;function $t(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(NE.has(a)||r&&ME.has(a)||n!=null&&n.has(a)||zE.test(a))&&(o[a]=e[a]);return o}function Mt(e){if(FE())e.focus({preventScroll:!0});else{let t=LE(e);e.focus(),KE(t)}}let ao=null;function FE(){if(ao==null){ao=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return ao=!0,!0}})}catch{}}return ao}function LE(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 KE(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let xr=new Map,xi=new Set;function vu(){if(typeof window>"u")return;let e=r=>{let n=xr.get(r.target);n||(n=new Set,xr.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=xr.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),xr.delete(r.target)),xr.size===0)){for(let o of xi)o();xi.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?vu():document.addEventListener("DOMContentLoaded",vu));function yu(e){requestAnimationFrame(()=>{xr.size===0?e():xi.add(e)})}function wi(){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 _i(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=qe(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 st(e){const t=l.useRef();return Ne(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function jE(){return typeof window.ResizeObserver<"u"}function VE(e){const{ref:t,onResize:r}=e;l.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(jE()){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 $u(e,t){Ne(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function cn(e){for(xu(e)&&(e=e.parentElement);e&&!xu(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function xu(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}let BE=0;const Ei=new Map;function Pi(e){let[t,r]=l.useState(void 0);return Ne(()=>{if(!e)return;let n=Ei.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${BE++}`;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},Ei.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),Ei.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Si(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 Ti(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 tr(){return Ti(/^Mac/i)}function wu(){return Ti(/^iPhone/i)}function _u(){return Ti(/^iPad/i)||tr()&&navigator.maxTouchPoints>1}function wr(){return wu()||_u()}function RE(){return tr()||wr()}function WE(){return Si(/AppleWebKit/i)&&!UE()}function UE(){return Si(/Chrome/i)}function Eu(){return Si(/Android/i)}function io(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 ki(e,t){let r=Pu(e,t,"left"),n=Pu(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 Pu(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 Su(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let c=cn(e);for(;e&&c&&e!==i&&c!==i;)ki(c,e),e=c,c=cn(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 Di(e){return e.mozInputSource===0&&e.isTrusted?!0:Eu()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function HE(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Er="default",Ci="",so=new WeakMap;function Tu(e){wr()?(Er==="default"&&(Ci=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),Er="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(so.set(e,e.style.userSelect),e.style.userSelect="none")}function lo(e){if(wr()){if(Er!=="disabled")return;Er="restoring",setTimeout(()=>{yu(()=>{Er==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=Ci||""),Ci="",Er="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&so.has(e)){let t=so.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),so.delete(e)}}const ku=l.createContext(null);ku.displayName="PressResponderContext";function GE(e){let t=l.useContext(ku);if(t){let{register:r,...n}=t;e=ve(n,e),r()}return $u(t,e.ref),e}function Pr(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}=GE(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}=wi(),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(xt(y.target,D),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),u||lo(y.target))},I={onKeyDown(D){Ii(D.nativeEvent,D.currentTarget)&&D.currentTarget.contains(D.target)?(Cu(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"&&Oi(D.currentTarget)&&D.stopPropagation()},onKeyUp(D){Ii(D.nativeEvent,D.currentTarget)&&!D.repeat&&D.currentTarget.contains(D.target)&&P(xt(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"||Di(D.nativeEvent))&&(!i&&!c&&Mt(D.currentTarget),T(D,"virtual"),P(D,"virtual"),N(D,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},W=D=>{if(y.isPressed&&Ii(D,y.target)){Cu(D.target,D.key)&&D.preventDefault(),D.stopPropagation(),y.isPressed=!1;let j=D.target;N(xt(y.target,D),"keyboard",y.target.contains(j)),x(),y.target instanceof HTMLElement&&y.target.contains(j)&&(Oi(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(HE(O.nativeEvent)){y.pointerType="virtual";return}Ai(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&&Mt(O.currentTarget),u||Tu(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&&(Ai(O.currentTarget)&&O.preventDefault(),O.stopPropagation())},I.onPointerUp=O=>{!O.currentTarget.contains(O.target)||y.pointerType==="virtual"||O.button===0&&Sr(O,O.currentTarget)&&P(O,y.pointerType||O.pointerType)};let D=O=>{O.pointerId===y.activePointerId&&(Sr(O,y.target)?y.isOverTarget||(y.isOverTarget=!0,T(xt(y.target,O),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,N(xt(y.target,O),y.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(O)))},j=O=>{O.pointerId===y.activePointerId&&y.isPressed&&O.button===0&&(Sr(O,y.target)?N(xt(y.target,O),y.pointerType):y.isOverTarget&&N(xt(y.target,O),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),u||lo(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)||(Ai(S.currentTarget)&&S.preventDefault(),S.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=S.currentTarget,y.pointerType=Di(S.nativeEvent)?"virtual":"mouse",!i&&!c&&Mt(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}Sr(S,y.target)?N(xt(y.target,S),y.pointerType):y.isOverTarget&&N(xt(y.target,S),y.pointerType,!1),y.isOverTarget=!1}};I.onTouchStart=S=>{if(!S.currentTarget.contains(S.target))return;S.stopPropagation();let O=YE(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&&Mt(S.currentTarget),u||Tu(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=Du(S.nativeEvent,y.activePointerId);O&&Sr(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=Du(S.nativeEvent,y.activePointerId);O&&Sr(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||lo(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||lo(v.current.target)},[u]),{isPressed:s||b,pressProps:ve(p,w)}}function Oi(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ii(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&&!Ou(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!Oi(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function YE(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Du(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 xt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function qE(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 ZE(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Sr(e,t){let r=t.getBoundingClientRect(),n=qE(e);return ZE(r,n)}function Ai(e){return!(e instanceof HTMLElement)||!e.draggable}function Cu(e,t){return e instanceof HTMLInputElement?!Ou(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const XE=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ou(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":XE.has(e.type)}class JE{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 Iu(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 JE("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 Ni(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=Iu(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 wt=null,dn=new Set,Au=!1,rr=!1,Mi=!1;const QE={Tab:!0,Escape:!0};function co(e,t){for(let r of dn)r(e,t)}function eP(e){return!(e.metaKey||!tr()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Nu(e){rr=!0,eP(e)&&(wt="keyboard",co("keyboard",e))}function Tr(e){wt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(rr=!0,co("pointer",e))}function tP(e){Di(e)&&(rr=!0,wt="virtual")}function rP(e){e.target===window||e.target===document||(!rr&&!Mi&&(wt="virtual",co("virtual",e)),rr=!1,Mi=!1)}function nP(){rr=!1,Mi=!0}function uo(){if(typeof window>"u"||Au)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){rr=!0,e.apply(this,arguments)},document.addEventListener("keydown",Nu,!0),document.addEventListener("keyup",Nu,!0),document.addEventListener("click",tP,!0),window.addEventListener("focus",rP,!0),window.addEventListener("blur",nP,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Tr,!0),document.addEventListener("pointermove",Tr,!0),document.addEventListener("pointerup",Tr,!0)):(document.addEventListener("mousedown",Tr,!0),document.addEventListener("mousemove",Tr,!0),document.addEventListener("mouseup",Tr,!0)),Au=!0}typeof document<"u"&&(document.readyState!=="loading"?uo():document.addEventListener("DOMContentLoaded",uo));function zi(){return wt!=="pointer"}function oP(){return wt}function Mu(e){wt=e,co(e,null)}function zu(){uo();let[e,t]=l.useState(wt);return l.useEffect(()=>{let r=()=>{t(wt)};return dn.add(r),()=>{dn.delete(r)}},[]),e}function aP(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!QE[r.key])}function iP(e,t,r){uo(),l.useEffect(()=>{let n=(o,a)=>{aP(r==null?void 0:r.isTextInput,o,a)&&e(zi())};return dn.add(n),()=>{dn.delete(n)}},t)}function kr(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=Iu(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 fo=!1,Fi=0;function Li(){fo=!0,setTimeout(()=>{fo=!1},50)}function Fu(e){e.pointerType==="touch"&&Li()}function sP(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Fu):document.addEventListener("touchend",Li),Fi++,()=>{Fi--,!(Fi>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Fu):document.removeEventListener("touchend",Li))}}function lP(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(sP,[]);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=>{fo&&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&&!fo&&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 cP(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=>{po(c,t)&&i.onInteractOutside&&(i.onInteractOutsideStart&&i.onInteractOutsideStart(c),i.isPointerDown=!0)};if(typeof PointerEvent<"u"){let c=d=>{i.isPointerDown&&i.onInteractOutside&&po(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&&po(u,t)&&i.onInteractOutside(u),i.isPointerDown=!1},d=u=>{i.ignoreEmulatedMouseEvents=!0,i.onInteractOutside&&i.isPointerDown&&po(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 po(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 Lu(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 dP(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Lu(e.onKeyDown),onKeyUp:Lu(e.onKeyUp)}}}function uP(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]);io(t,"wheel",n?null:o)}const fP=500;function Ku(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=fP,accessibilityDescription:i}=e;const s=l.useRef(null);let{addGlobalListener:c,removeGlobalListener:d}=wi(),{pressProps:u}=Pr({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=Pi(o&&!t?i:null);return{longPressProps:ve(u,f)}}function mo(e){if(oP()==="virtual"){let t=document.activeElement;yu(()=>{document.activeElement===t&&document.contains(e)&&Mt(e)})}else Mt(e)}function pP(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 mP(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function ju(e,t){return e.nodeName!=="#comment"&&pP(e)&&mP(e,t)&&(!e.parentElement||ju(e.parentElement,e))}const Vu=l.createContext(null);let Ce=null;function hP(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=l.useRef(),i=l.useRef(),s=l.useRef([]),{parentNode:c}=l.useContext(Vu)||{},d=l.useMemo(()=>new Bi({scopeRef:s}),[s]);Ne(()=>{let p=c||Me.root;if(Me.getTreeNode(p.scopeRef)&&Ce&&!go(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]),wP(s,n,r),yP(s,r),EP(s,n,r),xP(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||go(s,Ce))&&(!b||Me.getTreeNode(b))&&(Ce=b),Me.removeTreeNode(s)}}},[s]);let u=l.useMemo(()=>bP(s),[]),f=l.useMemo(()=>({focusManager:u,parentNode:d}),[d,u]);return l.createElement(Vu.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 bP(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(nr(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(nr(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(nr(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(nr(r),{tabbable:n,accept:o},r);a.currentNode=r[r.length-1].nextElementSibling;let i=a.previousNode();return i&&Ge(i,!0),i}}}const Ki=["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]"],gP=Ki.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ki.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const vP=Ki.join(':not([hidden]):not([tabindex="-1"]),');function nr(e){return e[0].parentElement}function ho(e){let t=Me.getTreeNode(Ce);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function yP(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||!ho(e))return;let d=document.activeElement,u=e.current;if(!We(d,u))return;let f=Ye(nr(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||go(Ce,e))&&We(c.target,e.current)?(Ce=e,r.current=c.target):ho(e)&&!bo(c.target,e)?r.current?r.current.focus():Ce&&vo(Ce.current):ho(e)&&(r.current=c.target)},s=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{ho(e)&&!bo(document.activeElement,e)&&(Ce=e,document.body.contains(c.target)?(r.current=c.target,r.current.focus()):Ce&&vo(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 Bu(e){return bo(e)}function We(e,t){return t.some(r=>r.contains(e))}function bo(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 $P(e){return bo(e,Ce)}function go(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{mo(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function vo(e,t=!0){let r=e[0].previousElementSibling,n=Ye(nr(e),{tabbable:t},e);n.currentNode=r;let o=n.nextNode();t&&!o&&(n=Ye(nr(e),{tabbable:!1},e),n.currentNode=r,o=n.nextNode()),Ge(o)}function xP(e,t){const r=l.useRef(t);l.useEffect(()=>{r.current&&(Ce=e,We(document.activeElement,Ce.current)||vo(e.current)),r.current=!1},[e])}function wP(e,t,r){Ne(()=>{if(t||r)return;let n=e.current,o=a=>{let i=a.target;We(i,e.current)?Ce=e:Bu(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 _P(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 EP(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||go(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):Bu(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&&_P(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)){vo(s.scopeRef.current,!0);return}s=s.parent}}})}}},[e,t,r])}function Ye(e,t,r){let n=t!=null&&t.tabbable?vP:gP,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)&&ju(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 Ru(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=ji(d);return f&&Ge(f,!0),f}let u=d.previousNode();return!u&&i&&(d.currentNode=n,u=ji(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=ji(i);return s&&Ge(s,!0),s}}}function ji(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class Vi{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 Bi({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 Vi;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){_r(this,"fastMap",new Map),this.root=new Bi({scopeRef:null}),this.fastMap.set(null,this.root)}}class Bi{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){_r(this,"children",new Set),_r(this,"contain",!1),this.scopeRef=t.scopeRef}}let Me=new Vi;function Dr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||zi()}),[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]);iP(m=>{o.current.isFocusVisible=m,d()},[],{isTextInput:r});let{focusProps:f}=Ni({isDisabled:n,onFocusChange:u}),{focusWithinProps:p}=kr({isDisabled:!n,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?p:f}}function PP(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=Dr(e),s=l.Children.only(t);return l.cloneElement(s,ve(s.props,{...i,className:ro({[r||""]:o,[n||""]:a})}))}let SP=l.createContext(null);function TP(e){let t=l.useContext(SP)||{};$u(t,e);let{ref:r,...n}=t;return n}function Ri(e,t){let{focusProps:r}=Ni(e),{keyboardProps:n}=dP(e),o=ve(r,n),a=TP(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&mo(t.current),s.current=!1},[t]),{focusableProps:ve({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function kP(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}=Ri(e,t),{pressProps:f,isPressed:p}=Pr({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),m=$t(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 Wi{getStringForLocale(t,r){let n=this.strings[r];n||(n=DP(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 DP(e,t,r="en-US"){if(t[e])return t[e];let n=CP(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function CP(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Wu=new Map,Uu=new Map;class OP{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=Wu.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),Wu.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Uu.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Uu.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 IP(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function yo(e,t,r){IP(e,t),t.set(e,r)}function Ui(e,t){return e-t*Math.floor(e/t)}const Hu=1721426;function $o(e,t,r,n){t=Hi(e,t);let o=t-1,a=-2;return r<=2?a=0:xo(t)&&(a=-1),Hu-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+a+n)}function xo(e){return e%4===0&&(e%100!==0||e%400===0)}function Hi(e,t){return e==="BC"?1-t:t}function AP(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const NP={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 zt{fromJulianDay(t){let r=t,n=r-Hu,o=Math.floor(n/146097),a=Ui(n,146097),i=Math.floor(a/36524),s=Ui(a,36524),c=Math.floor(s/1461),d=Ui(s,1461),u=Math.floor(d/365),f=o*400+i*100+c*4+u+(i!==4&&u!==4?1:0),[p,m]=AP(f),b=r-$o(p,m,1,1),g=2;r<$o(p,m,3,1)?g=0:xo(m)&&(g=1);let v=Math.floor(((b+g)*12+373)/367),$=r-$o(p,m,v,1)+1;return new Or(p,m,v,$)}toJulianDay(t){return $o(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return NP[xo(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return xo(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(){_r(this,"identifier","gregory")}}function Gu(e){return Et(Date.now(),e)}function MP(e){return rf(Gu(e))}function Yu(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function qu(e,t){return Zu(e)-Zu(t)}function Zu(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Gi=null;function Yi(){return Gi==null&&(Gi=new Intl.DateTimeFormat().resolvedOptions().timeZone),Gi}function zP(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function FP(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Cr(e){e=Ue(e,new zt);let t=Hi(e.era,e.year);return Xu(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Xu(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===Yi())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:a,minute:i,second:s}=Qu(e,t);return Xu(r,n,o,a,i,s,0)-Math.floor(e/1e3)*1e3}const Ju=new Map;function Qu(e,t){let r=Ju.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"}),Ju.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 ef=864e5;function LP(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>KP(e,t,a))}function KP(e,t,r){let n=Qu(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 _t(e,t,r="compatible"){let n=Ft(e);if(t==="UTC")return Cr(n);if(t===Yi()&&r==="compatible"){n=Ue(n,new zt);let c=new Date,d=Hi(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=Cr(n),a=qi(o-ef,t),i=qi(o+ef,t),s=LP(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 tf(e,t,r="compatible"){return new Date(_t(e,t,r))}function Et(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 mn(o,a,i,t,r,s,c,d,u)}function rf(e){return new Or(e.calendar,e.era,e.year,e.month,e.day)}function Ft(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 Eo(e.calendar,e.era,e.year,e.month,e.day,r,n,o,a)}function jP(e){return new pn(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,or(n),n}function VP(e,t,r){if(e instanceof mn)return e.timeZone===t?e:RP(e,t);let n=_t(e,t,r);return Et(n,t)}function BP(e){let t=Cr(e)-e.offset;return new Date(t)}function RP(e,t){let r=Cr(e)-e.offset;return Ue(Et(r,t),e.calendar)}const un=36e5;function wo(e,t){let r=e.copy(),n="hour"in r?sf(r,t):0;Zi(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,Xi(r),nf(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,WP(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 Zi(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function Xi(e){for(;e.month<1;)Zi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Zi(e,1)}function WP(e){for(;e.day<1;)e.month--,Xi(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Xi(e)}function nf(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 or(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),nf(e)}function Ji(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function of(e,t){return wo(e,Ji(t))}function Qi(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),or(r),r}function fn(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),af(r),r}function UP(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=_o(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=_o(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=_o(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=_o(e.hour,24),t}function af(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 _o(e,t){let r=e%t;return r<0&&(r+=t),r}function sf(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,UP(e)}function lf(e,t){let r=e.copy();return sf(r,t),r}function HP(e,t){return lf(e,Ji(t))}function es(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=Pt(c,r,0,s.length-1,n==null?void 0:n.round),o.era=s[c],or(o);break}case"year":var a,i;!((i=(a=o.calendar).isInverseEra)===null||i===void 0)&&i.call(a,o)&&(r=-r),o.year=Pt(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=Pt(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":o.day=Pt(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),or(o),o}function ts(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=Pt(a,r,i,s,n==null?void 0:n.round);break}case"minute":o.minute=Pt(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":o.second=Pt(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":o.millisecond=Pt(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return o}function Pt(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 cf(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=wo(Ft(e),{years:t.years,months:t.months,days:t.days});r=_t(o,e.timeZone)}else r=Cr(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=Et(r,e.timeZone);return Ue(n,e.calendar)}function GP(e,t){return cf(e,Ji(t))}function YP(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=Ft(e),s=Ue(fn(i,{hour:o}),new zt),c=[_t(s,e.timeZone,"earlier"),_t(s,e.timeZone,"later")].filter(b=>Et(b,e.timeZone).day===s.day)[0],d=Ue(fn(i,{hour:a}),new zt),u=[_t(d,e.timeZone,"earlier"),_t(d,e.timeZone,"later")].filter(b=>Et(b,e.timeZone).day===d.day).pop(),f=Cr(e)-e.offset,p=Math.floor(f/un),m=f%un;return f=Pt(p,r,Math.floor(c/un),Math.floor(u/un),n==null?void 0:n.round)*un+m,Ue(Et(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return ts(e,t,r,n);case"era":case"year":case"month":case"day":{let o=es(Ft(e),t,r,n),a=_t(o,e.timeZone);return Ue(Et(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function qP(e,t,r){let n=Ft(e),o=fn(Qi(n,t),t);if(o.compare(n)===0)return e;let a=_t(o,e.timeZone,r);return Ue(Et(a,e.timeZone),e.calendar)}function df(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 uf(e){let t=Ue(e,new zt);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function ff(e){return`${uf(e)}T${df(e)}`}function ZP(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 XP(e){return`${ff(e)}${ZP(e.offset)}[${e.timeZone}]`}function rs(e){let t=typeof e[0]=="object"?e.shift():new zt,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 JP=new WeakMap;class Or{copy(){return this.era?new Or(this.calendar,this.era,this.year,this.month,this.day):new Or(this.calendar,this.year,this.month,this.day)}add(t){return wo(this,t)}subtract(t){return of(this,t)}set(t){return Qi(this,t)}cycle(t,r,n){return es(this,t,r,n)}toDate(t){return tf(this,t)}toString(){return uf(this)}compare(t){return Yu(this,t)}constructor(...t){yo(this,JP,{writable:!0,value:void 0});let[r,n,o,a,i]=rs(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,or(this)}}var QP=new WeakMap;class pn{copy(){return new pn(this.hour,this.minute,this.second,this.millisecond)}add(t){return lf(this,t)}subtract(t){return HP(this,t)}set(t){return fn(this,t)}cycle(t,r,n){return ts(this,t,r,n)}toString(){return df(this)}compare(t){return qu(this,t)}constructor(t=0,r=0,n=0,o=0){yo(this,QP,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=o,af(this)}}var e5=new WeakMap;class Eo{copy(){return this.era?new Eo(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Eo(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return wo(this,t)}subtract(t){return of(this,t)}set(t){return Qi(fn(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return es(this,t,r,n);default:return ts(this,t,r,n)}}toDate(t,r){return tf(this,t,r)}toString(){return ff(this)}compare(t){let r=Yu(this,t);return r===0?qu(this,Ft(t)):r}constructor(...t){yo(this,e5,{writable:!0,value:void 0});let[r,n,o,a,i]=rs(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,or(this)}}var t5=new WeakMap;class mn{copy(){return this.era?new mn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new mn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return cf(this,t)}subtract(t){return GP(this,t)}set(t,r){return qP(this,t,r)}cycle(t,r,n){return YP(this,t,r,n)}toDate(){return BP(this)}toString(){return XP(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-VP(t,this.timeZone).toDate().getTime()}constructor(...t){yo(this,t5,{writable:!0,value:void 0});let[r,n,o,a,i]=rs(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,or(this)}}let ns=new Map;class Po{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 o5()&&(this.resolvedHourCycle||(this.resolvedHourCycle=a5(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=pf(t,r),this.options=r}}const r5={true:{ja:"h11"},false:{}};function pf(e,t={}){if(typeof t.hour12=="boolean"&&n5()){t={...t};let o=r5[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(ns.has(r))return ns.get(r);let n=new Intl.DateTimeFormat(e,t);return ns.set(r,n),n}let os=null;function n5(){return os==null&&(os=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),os}let as=null;function o5(){return as==null&&(as=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),as}function a5(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=pf(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 is=new Map,ss=!1;try{ss=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let So=!1;try{So=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const mf={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class ls{format(t){let r="";if(!ss&&this.options.signDisplay!=null?r=s5(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!So){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=mf[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!ss&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!So&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=i5(t,r),this.options=r}}function i5(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!So){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=mf[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(is.has(o))return is.get(o);let a=new Intl.NumberFormat(e,t);return is.set(o,a),a}function s5(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 l5=new RegExp("^.*\\(.*\\).*$"),c5=["latn","arab","hanidec"];class hf{parse(t){return cs(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return cs(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return cs(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const bf=new Map;function cs(e,t,r){let n=gf(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of c5)if(o!==n.options.numberingSystem){let a=gf(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function gf(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=bf.get(r);return n||(n=new d5(e,t),bf.set(r,n)),n}class d5{parse(t){let r=this.sanitize(t);r=To(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"&&l5.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=To(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=To(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=To(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=u5(this.formatter,this.options,r)}}const vf=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function u5(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=>!vf.has(P.type)).map(P=>yf(P.value)),v=d.filter(P=>!vf.has(P.type)).map(P=>yf(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 To(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function yf(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const f5=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),p5=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function m5(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return f5.has(r)}let t=e.split("-")[0];return p5.has(t)}function $f(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:m5(e)?"rtl":"ltr"}}let ds=$f(),hn=new Set;function xf(){ds=$f();for(let e of hn)e(ds)}function h5(){let e=bu(),[t,r]=l.useState(ds);return l.useEffect(()=>(hn.size===0&&window.addEventListener("languagechange",xf),hn.add(r),()=>{hn.delete(r),hn.size===0&&window.removeEventListener("languagechange",xf)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const b5=l.createContext(null);function lt(){let e=h5();return l.useContext(b5)||e}const wf=new WeakMap;function g5(e){let t=wf.get(e);return t||(t=new Wi(e),wf.set(e,t)),t}function Lt(e){let{locale:t}=lt(),r=l.useMemo(()=>g5(e),[e]);return l.useMemo(()=>new OP(t,r),[t,r])}function ko(e){let t=l.useRef(null);e&&t.current&&v5(e,t.current)&&(e=t.current),t.current=e;let{locale:r}=lt();return l.useMemo(()=>new Po(r,e),[r,e])}function v5(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 y5(e={}){let{locale:t}=lt();return l.useMemo(()=>new ls(t,e),[t,e])}let us=new Map;function Do(e){let{locale:t}=lt(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(us.has(r))return us.get(r);let n=new Intl.Collator(t,e);return us.set(r,n),n}function $5(e){let t=Do({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 x5(e){return e&&e.__esModule?e.default:e}function w5(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=kP({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 _f={},Ef={};Ef={breadcrumbs:"عناصر الواجهة"};var Pf={};Pf={breadcrumbs:"Трохи хляб"};var Sf={};Sf={breadcrumbs:"Popis cesty"};var Tf={};Tf={breadcrumbs:"Brødkrummer"};var kf={};kf={breadcrumbs:"Breadcrumbs"};var Df={};Df={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Cf={};Cf={breadcrumbs:"Breadcrumbs"};var Of={};Of={breadcrumbs:"Migas de pan"};var If={};If={breadcrumbs:"Lingiread"};var Af={};Af={breadcrumbs:"Navigointilinkit"};var Nf={};Nf={breadcrumbs:"Chemin de navigation"};var Mf={};Mf={breadcrumbs:"שבילי ניווט"};var zf={};zf={breadcrumbs:"Navigacijski putovi"};var Ff={};Ff={breadcrumbs:"Morzsamenü"};var Lf={};Lf={breadcrumbs:"Breadcrumb"};var Kf={};Kf={breadcrumbs:"パンくずリスト"};var jf={};jf={breadcrumbs:"탐색 표시"};var Vf={};Vf={breadcrumbs:"Naršymo kelias"};var Bf={};Bf={breadcrumbs:"Atpakaļceļi"};var Rf={};Rf={breadcrumbs:"Navigasjonsstier"};var Wf={};Wf={breadcrumbs:"Broodkruimels"};var Uf={};Uf={breadcrumbs:"Struktura nawigacyjna"};var Hf={};Hf={breadcrumbs:"Caminho detalhado"};var Gf={};Gf={breadcrumbs:"Categorias"};var Yf={};Yf={breadcrumbs:"Miez de pâine"};var qf={};qf={breadcrumbs:"Навигация"};var Zf={};Zf={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Xf={};Xf={breadcrumbs:"Drobtine"};var Jf={};Jf={breadcrumbs:"Putanje navigacije"};var Qf={};Qf={breadcrumbs:"Sökvägar"};var ep={};ep={breadcrumbs:"İçerik haritaları"};var tp={};tp={breadcrumbs:"Навігаційна стежка"};var rp={};rp={breadcrumbs:"导航栏"};var np={};np={breadcrumbs:"導覽列"},_f={"ar-AE":Ef,"bg-BG":Pf,"cs-CZ":Sf,"da-DK":Tf,"de-DE":kf,"el-GR":Df,"en-US":Cf,"es-ES":Of,"et-EE":If,"fi-FI":Af,"fr-FR":Nf,"he-IL":Mf,"hr-HR":zf,"hu-HU":Ff,"it-IT":Lf,"ja-JP":Kf,"ko-KR":jf,"lt-LT":Vf,"lv-LV":Bf,"nb-NO":Rf,"nl-NL":Wf,"pl-PL":Uf,"pt-BR":Hf,"pt-PT":Gf,"ro-RO":Yf,"ru-RU":qf,"sk-SK":Zf,"sl-SI":Xf,"sr-SP":Jf,"sv-SE":Qf,"tr-TR":ep,"uk-UA":tp,"zh-CN":rp,"zh-TW":np};function _5(e){let{"aria-label":t,...r}=e,n=Lt(x5(_f));return{navProps:{...$t(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const E5=F(SE)`
|
|
224
|
+
`,$_=F(uw)`
|
|
225
|
+
${ri}
|
|
226
|
+
width: ${e=>ti[e.size??"medium"]};
|
|
227
|
+
`;function x_({children:e,size:t,...r}){return ie(cw,{children:[C(y_,{}),C($_,{size:t,...r,children:e})]})}const w_=F(mw)`
|
|
228
|
+
${ni}
|
|
229
|
+
`,__=F(hw)`
|
|
230
|
+
${oi}
|
|
231
|
+
`,E_=Ld,P_=sw,S_=lw,k_=fw,T_=pw,D_=["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}},{}),C_=l.forwardRef((e,t)=>l.createElement(D_.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}}))),O_=({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(C_,null,t))};function on({children:e,label:t}){return C(O_,{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)"}},I_=new Map(Object.entries(an.spacing)),Xn=e=>t=>e.has(t)?e.get(t):t,qe=Xn(I_),A_=Object.entries(an.elevation.interactive).map(([e,t])=>[`interactive_${e}`,t]),N_=Object.entries(an.elevation.interactive).map(([e,t])=>[`static_${e}`,t]),M_=[...A_,...N_],z_=new Map(M_),F_=Xn(z_),L_=new Map(Object.entries(an["border-radius"])),K_=Xn(L_),j_=new Map(Object.entries(an.sizing)),Zt=Xn(j_),Kd=F.div`
|
|
232
|
+
${({display:e})=>e&&`display: ${e};`}
|
|
233
|
+
|
|
234
|
+
${({w:e})=>e&&`width: ${Zt(e)};`}
|
|
235
|
+
${({minW:e})=>e&&`min-width: ${Zt(e)};`}
|
|
236
|
+
${({maxW:e})=>e&&`max-width: ${Zt(e)};`}
|
|
237
|
+
|
|
238
|
+
${({h:e})=>e&&`height: ${Zt(e)};`}
|
|
239
|
+
${({minH:e})=>e&&`min-height: ${Zt(e)};`}
|
|
240
|
+
${({maxH:e})=>e&&`max-height: ${Zt(e)};`}
|
|
241
|
+
|
|
242
|
+
${({bg:e})=>e&&`background: ${e};`}
|
|
243
|
+
${({bgColor:e})=>e&&`background-color: ${e};`}
|
|
244
|
+
${({opacity:e})=>e&&`opacity: ${e};`}
|
|
245
|
+
${({color:e})=>e&&`color: ${e};`}
|
|
246
|
+
|
|
247
|
+
${({border:e})=>e&&`border: ${e};`}
|
|
248
|
+
${({borderColor:e})=>e&&`border-color: ${e};`}
|
|
249
|
+
${({borderWidth:e})=>e&&`border-width: ${e};`}
|
|
250
|
+
${({borderRadius:e})=>e&&`border-radius: ${K_(e)};`}
|
|
251
|
+
|
|
252
|
+
${({top:e})=>e&&`top: ${e};`}
|
|
253
|
+
${({right:e})=>e&&`right: ${e};`}
|
|
254
|
+
${({bottom:e})=>e&&`bottom: ${e};`}
|
|
255
|
+
${({left:e})=>e&&`left: ${e};`}
|
|
256
|
+
|
|
257
|
+
${({overflow:e})=>e&&`overflow: ${e};`}
|
|
258
|
+
${({position:e})=>e&&`position: ${e};`}
|
|
259
|
+
${({zIndex:e})=>e&&`z-index: ${e};`}
|
|
260
|
+
|
|
261
|
+
${({m:e})=>e&&`margin: ${qe(e)};`}
|
|
262
|
+
${({mt:e})=>e&&`margin-top: ${qe(e)};`}
|
|
263
|
+
${({mr:e})=>e&&`margin-right: ${qe(e)};`}
|
|
264
|
+
${({mb:e})=>e&&`margin-bottom: ${qe(e)};`}
|
|
265
|
+
${({ml:e})=>e&&`margin-left: ${qe(e)};`}
|
|
266
|
+
|
|
267
|
+
${({p:e})=>e&&`padding: ${qe(e)};`}
|
|
268
|
+
${({pt:e})=>e&&`padding-top: ${qe(e)};`}
|
|
269
|
+
${({pr:e})=>e&&`padding-right: ${qe(e)};`}
|
|
270
|
+
${({pb:e})=>e&&`padding-bottom: ${qe(e)};`}
|
|
271
|
+
${({pl:e})=>e&&`padding-left: ${qe(e)};`}
|
|
272
|
+
|
|
273
|
+
${({elevation:e})=>e&&`box-shadow: ${F_(e)};`}
|
|
274
|
+
|
|
275
|
+
${({flexShrink:e})=>e&&`flex-shrink: ${e};`}
|
|
276
|
+
${({flexBasis:e})=>e&&`flex-basis: ${Zt(e)};`}
|
|
277
|
+
${({flexGrow:e})=>e&&`flex-grow: ${e};`}
|
|
278
|
+
${({order:e})=>e&&`order: ${e};`}
|
|
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 st(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&&st(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=st(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)),st(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 st(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);st(o)&&!["html","body"].includes(yt(o));){if(Qd(o))return o;o=o.parentNode}return null}(e)||t}function au(e){if(st(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:st(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)&&st(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=st(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)),st(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:at(),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 lt(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 ct(){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}=ct(),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}=ct();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}=ct();return l.useMemo(()=>new fs(t,e),[t,e])}let hs=new Map;function Ao(e){let{locale:t}=ct(),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)`
|
|
232
281
|
border-radius: ${h.border_radius_400};
|
|
233
282
|
padding: ${h.sizing_200};
|
|
234
283
|
width: fit-content; /* Pass as prop? */
|
|
235
284
|
background-color: ${h.color_white};
|
|
236
285
|
box-shadow: ${h.elevation_interactive_medium};
|
|
237
286
|
z-index: 5; /* Same as dialogs */
|
|
238
|
-
`,
|
|
287
|
+
`,KP=F(VE)`
|
|
239
288
|
fill: ${h.color_white};
|
|
240
|
-
`;function
|
|
289
|
+
`;function cp({children:e,...t}){return C(KE,{children:ie(LP,{...t,children:[e,C(KP,{})]})})}const bs=$u,jP=F($u)`
|
|
241
290
|
all: unset;
|
|
242
291
|
cursor: pointer;
|
|
243
292
|
font-family: inherit;
|
|
@@ -251,7 +300,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
251
300
|
position: absolute;
|
|
252
301
|
top: 5px;
|
|
253
302
|
right: 5px;
|
|
254
|
-
`,
|
|
303
|
+
`,dp=FE,up=LE,VP="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",BP=F(gu)`
|
|
255
304
|
margin-top: 22px;
|
|
256
305
|
isolation: isolate;
|
|
257
306
|
min-width: 210px;
|
|
@@ -263,7 +312,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
263
312
|
&[data-state~='focused'] {
|
|
264
313
|
outline: 1px solid ${h.color_black};
|
|
265
314
|
}
|
|
266
|
-
`;function
|
|
315
|
+
`;function RP({children:e}){const{isFocusVisible:t,focusProps:r}=Or();return C(BP,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const gs=F.ol`
|
|
267
316
|
font-family: ${h.font_family_sans};
|
|
268
317
|
display: flex;
|
|
269
318
|
list-style: none;
|
|
@@ -279,7 +328,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
279
328
|
font-family: ${h.font_family_sans};
|
|
280
329
|
color: ${h.color_divider_standard};
|
|
281
330
|
}
|
|
282
|
-
`,
|
|
331
|
+
`,fp=F(gs)`
|
|
283
332
|
flex-direction: column;
|
|
284
333
|
|
|
285
334
|
& li {
|
|
@@ -293,7 +342,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
293
342
|
|
|
294
343
|
& > ol li:first-of-type::before {
|
|
295
344
|
content: '';
|
|
296
|
-
background-image: url(${
|
|
345
|
+
background-image: url(${VP});
|
|
297
346
|
display: block;
|
|
298
347
|
height: 1em;
|
|
299
348
|
width: 1em;
|
|
@@ -302,12 +351,12 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
302
351
|
background-size: initial;
|
|
303
352
|
background-repeat: initial;
|
|
304
353
|
}
|
|
305
|
-
`,
|
|
354
|
+
`,vs=F.li`
|
|
306
355
|
color: ${h.color_text_weak};
|
|
307
356
|
display: flex;
|
|
308
357
|
align-items: center;
|
|
309
358
|
gap: ${h.sizing_200};
|
|
310
|
-
`,
|
|
359
|
+
`,pp=F.a`
|
|
311
360
|
text-decoration: none;
|
|
312
361
|
color: ${h.color_text_weak};
|
|
313
362
|
font-style: normal;
|
|
@@ -350,7 +399,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
350
399
|
color: ${h.color_text_strong};
|
|
351
400
|
font-weight: 400;
|
|
352
401
|
}
|
|
353
|
-
`,
|
|
402
|
+
`,WP=F.button`
|
|
354
403
|
appearance: none;
|
|
355
404
|
cursor: pointer;
|
|
356
405
|
touch-action: none;
|
|
@@ -377,12 +426,12 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
377
426
|
&[data-state~='open'] {
|
|
378
427
|
background-color: ${h.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
|
|
379
428
|
}
|
|
380
|
-
`;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 UP({truncatedItems:e}){return C(vs,{children:ie(dp,{children:[C(up,{asChild:!0,children:C(WP,{type:"button",children:"..."})}),C(RP,{children:C(mp,{truncatedItems:e})})]})})}const hp=l.forwardRef(({children:e,...t},r)=>{const{navProps:n}=FP(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(UP,{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=lt(t),i=typeof r=="string",{children:s,href:c,isCurrent:d}=e,{itemProps:u}=zP({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 gp={small:`${h.spacing_200} ${h.spacing_300}`,large:`${h.spacing_300} ${h.spacing_400}`},dt=F.button`
|
|
381
430
|
appearance: none;
|
|
382
431
|
border-radius: ${h.border_radius_400};
|
|
383
432
|
border: 1px solid transparent;
|
|
384
433
|
font-style: normal;
|
|
385
|
-
padding: var(--button-padding, ${
|
|
434
|
+
padding: var(--button-padding, ${gp.small});
|
|
386
435
|
font-family: ${h.font_family_sans};
|
|
387
436
|
cursor: pointer;
|
|
388
437
|
white-space: nowrap;
|
|
@@ -409,7 +458,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
409
458
|
&:disabled {
|
|
410
459
|
cursor: not-allowed;
|
|
411
460
|
}
|
|
412
|
-
`,
|
|
461
|
+
`,HP=F(dt)`
|
|
413
462
|
background: ${h.color_white};
|
|
414
463
|
color: hsl(0deg 0% 7.84%); /* color missing in tokens */
|
|
415
464
|
border: 1px solid ${h.color_outline_secondary_enabled};
|
|
@@ -430,7 +479,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
430
479
|
color: ${h.color_fill_secondary_disabled};
|
|
431
480
|
border-color: ${h.color_outline_secondary_disabled};
|
|
432
481
|
}
|
|
433
|
-
`,
|
|
482
|
+
`,GP=F(dt)`
|
|
434
483
|
background: ${h.color_white};
|
|
435
484
|
color: ${h.color_fill_danger_enabled};
|
|
436
485
|
border: 1px solid ${h.color_outline_danger_enabled};
|
|
@@ -448,7 +497,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
448
497
|
&:disabled {
|
|
449
498
|
color: ${h.color_fill_danger_disabled};
|
|
450
499
|
}
|
|
451
|
-
`,
|
|
500
|
+
`,YP=F(dt)`
|
|
452
501
|
background: ${h.color_overlay_inverse_enabled};
|
|
453
502
|
border-color: ${h.color_outline_inverse_enabled};
|
|
454
503
|
color: ${h.color_fill_inverse_enabled};
|
|
@@ -477,7 +526,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
477
526
|
background-color: transparent;
|
|
478
527
|
color: ${h.color_outline_inverse_disabled};
|
|
479
528
|
}
|
|
480
|
-
`,
|
|
529
|
+
`,ys={primary:HP,danger:GP,inverse:YP},qP=F(dt)`
|
|
481
530
|
background: hsl(
|
|
482
531
|
217.35deg 81.6% 51%
|
|
483
532
|
); /* Interactive / Overlay / Primary / Enabled */
|
|
@@ -497,7 +546,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
497
546
|
&:disabled {
|
|
498
547
|
color: ${h.color_fill_primary_disabled};
|
|
499
548
|
}
|
|
500
|
-
`,
|
|
549
|
+
`,ZP=F(dt)`
|
|
501
550
|
color: ${h.color_fill_danger_enabled};
|
|
502
551
|
background-color: hsl(217.35deg 81.6% 50.98%);
|
|
503
552
|
|
|
@@ -519,7 +568,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
519
568
|
&:disabled {
|
|
520
569
|
color: ${h.color_fill_danger_disabled};
|
|
521
570
|
}
|
|
522
|
-
`,
|
|
571
|
+
`,XP=F(dt)`
|
|
523
572
|
background: ${h.color_overlay_inverse_enabled};
|
|
524
573
|
border-color: transparent;
|
|
525
574
|
color: ${h.color_fill_inverse_enabled};
|
|
@@ -544,7 +593,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
544
593
|
background-color: ${h.color_fill_inverse_disabled};
|
|
545
594
|
color: ${h.color_outline_inverse_disabled};
|
|
546
595
|
}
|
|
547
|
-
`,
|
|
596
|
+
`,JP={primary:qP,danger:ZP,inverse:XP},QP=F(dt)`
|
|
548
597
|
background: ${h.color_fill_primary_enabled};
|
|
549
598
|
color: ${h.color_white};
|
|
550
599
|
|
|
@@ -561,7 +610,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
561
610
|
background: ${h.color_fill_primary_disabled};
|
|
562
611
|
color: ${h.color_fill_inverse_pressed};
|
|
563
612
|
}
|
|
564
|
-
`,
|
|
613
|
+
`,eS=F(dt)`
|
|
565
614
|
background: ${h.color_fill_secondary_enabled};
|
|
566
615
|
color: ${h.color_fill_primary_enabled};
|
|
567
616
|
|
|
@@ -578,7 +627,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
578
627
|
&:disabled {
|
|
579
628
|
background: ${h.color_fill_secondary_disabled};
|
|
580
629
|
}
|
|
581
|
-
`,
|
|
630
|
+
`,tS=F(dt)`
|
|
582
631
|
background: ${h.color_fill_danger_enabled};
|
|
583
632
|
color: ${h.color_white};
|
|
584
633
|
|
|
@@ -595,7 +644,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
595
644
|
&:disabled {
|
|
596
645
|
background: ${h.color_fill_danger_disabled};
|
|
597
646
|
}
|
|
598
|
-
`,
|
|
647
|
+
`,rS=F(dt)`
|
|
599
648
|
background: ${h.color_white};
|
|
600
649
|
|
|
601
650
|
&:hover {
|
|
@@ -609,10 +658,10 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
609
658
|
&:disabled {
|
|
610
659
|
background: ${h.color_fill_inverse_disabled};
|
|
611
660
|
}
|
|
612
|
-
`,
|
|
661
|
+
`,nS={primary:QP,secondary:eS,danger:tS,inverse:rS},$s=l.createContext(!1);$s.displayName="FieldsetContext";const vp=F.fieldset`
|
|
613
662
|
padding: 0;
|
|
614
663
|
border: none;
|
|
615
|
-
`;function
|
|
664
|
+
`;function oS({children:e,disabled:t,...r}){const o=ut()||Boolean(t);return C($s.Provider,{value:o,children:C(vp,{disabled:t,...r,children:e})})}function ut(){return l.useContext($s)}const aS={low:JP,medium:ys,high:nS},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=lt(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}),w=[g?"focused":void 0,b?"pressed":void 0].filter(Boolean).join(" "),k=aS[o][n];return C(k,{ref:u,...ve(m,d,v,{"data-state":w}),"data-state":w,style:{"--button-padding":gp[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",[iS,R2]=Re($p),[sS,lS]=iS($p),cS=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(sS,{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(fS,{control:f,bubbles:!b.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),dS="CheckboxIndicator",uS=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,a=lS(dS,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}})))}),fS=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 pS=cS,mS=uS;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 hS(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 bS=qt`
|
|
616
665
|
position: absolute;
|
|
617
666
|
width: 1px;
|
|
618
667
|
height: 1px;
|
|
@@ -622,7 +671,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
622
671
|
clip: rect(0, 0, 0, 0);
|
|
623
672
|
white-space: nowrap;
|
|
624
673
|
border-width: 0;
|
|
625
|
-
`,
|
|
674
|
+
`,xs=F.label`
|
|
626
675
|
font-family: ${h.font_family_sans};
|
|
627
676
|
margin: 0;
|
|
628
677
|
font-style: normal;
|
|
@@ -632,21 +681,21 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
632
681
|
font-weight: var(--label-font-weight, 400);
|
|
633
682
|
color: ${h.color_background_black_standard};
|
|
634
683
|
|
|
635
|
-
${e=>e.srOnly&&
|
|
636
|
-
`,
|
|
684
|
+
${e=>e.srOnly&&bS}
|
|
685
|
+
`,gS=F(xs)`
|
|
637
686
|
font-size: ${h.font_size_label_small};
|
|
638
687
|
letter-spacing: ${h.letter_spacing_label_small};
|
|
639
688
|
line-height: ${h.line_height_label_small};
|
|
640
|
-
`,
|
|
689
|
+
`,vS=F(xs)`
|
|
641
690
|
font-size: ${h.font_size_label_large};
|
|
642
691
|
letter-spacing: ${h.letter_spacing_label_large};
|
|
643
692
|
line-height: ${h.line_height_label_large};
|
|
644
|
-
`,
|
|
693
|
+
`,yS=F(xs)`
|
|
645
694
|
font-size: ${h.font_size_label_medium};
|
|
646
695
|
letter-spacing: ${h.letter_spacing_label_medium};
|
|
647
696
|
line-height: ${h.line_height_label_medium};
|
|
648
|
-
|
|
649
|
-
padding: ${({paddingSize:e="small"})=>
|
|
697
|
+
`,$S={small:gS,medium:yS,large:vS};function Je({children:e,bold:t,size:r="small",display:n="inline-flex",srOnly:o,...a}){const i=$S[r];return C(i,{...a,srOnly:o,style:{"--label-font-weight":t?500:400,"--label-display":n},children:e})}const xS={small:"7px 8px",large:"11px 12px"},xn=F.input`
|
|
698
|
+
padding: ${({paddingSize:e="small"})=>xS[e]}; // add default?
|
|
650
699
|
appearance: none;
|
|
651
700
|
border: 1px solid
|
|
652
701
|
var(--input-border-color, ${h.color_outline_secondary_enabled});
|
|
@@ -698,7 +747,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
698
747
|
&:disabled::placeholder {
|
|
699
748
|
color: ${h.color_fill_primary_disabled};
|
|
700
749
|
}
|
|
701
|
-
`,
|
|
750
|
+
`,lr=F.div`
|
|
702
751
|
--input-border-color: ${h.color_outline_secondary_enabled};
|
|
703
752
|
display: flex;
|
|
704
753
|
flex-direction: column;
|
|
@@ -715,7 +764,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
715
764
|
letter-spacing: ${h.letter_spacing_tight};
|
|
716
765
|
|
|
717
766
|
/* max-width: 300px; make configurable with prop? */
|
|
718
|
-
`,
|
|
767
|
+
`,zo=F.div`
|
|
719
768
|
display: flex;
|
|
720
769
|
align-items: center;
|
|
721
770
|
gap: 5.33px; // TODO update sizing this is 1/3rem
|
|
@@ -730,7 +779,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
730
779
|
/* display: inline-flex;
|
|
731
780
|
align-self: center; */
|
|
732
781
|
}
|
|
733
|
-
`,
|
|
782
|
+
`,Fo=F.div`
|
|
734
783
|
color: ${h.color_text_weak};
|
|
735
784
|
font-size: ${h.font_size_50};
|
|
736
785
|
line-height: ${h.line_height_133};
|
|
@@ -744,7 +793,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
744
793
|
display: flex;
|
|
745
794
|
align-items: center;
|
|
746
795
|
pointer-events: none;
|
|
747
|
-
`;const vs=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=st(t),m=dt(),b=o??m,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:x}=Oo({...f,isDisabled:b,isReadOnly:a,isRequired:i,placeholder:u,label:c},p);let w=null;return typeof c=="string"?w=C(Xe,{...g,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...g})),ie(ir,{children:[w,C(vn,{"data-state":d,paddingSize:s,ref:p,placeholder:"Enter...",type:"text",...$,required:i}),r?ie(Io,{...x,children:[C(Fe.Error,{}),r]}):null,n?C(Ao,{...v,children:n}):null]})});vs.displayName="TextInput";const Kt=["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 lS(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const ys="dismissableLayer.update",cS="dismissableLayer.pointerDownOutside",dS="dismissableLayer.focusOutside";let yp;const uS=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fS=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(uS),[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=pS(_=>{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=mS(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return Qr(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(yp=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),$p(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=yp)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),$p())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(ys,_),()=>document.removeEventListener(ys,_)},[]),l.createElement(Kt.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 pS(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(){xp(cS,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 mS(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&&xp(dS,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 $p(){const e=new CustomEvent(ys);document.dispatchEvent(e)}function xp(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?lS(o,a):o.dispatchEvent(a)}const hS=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(Kt.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"}))}),wp="Popper",[$s,_p]=Re(wp),[bS,Ep]=$s(wp),gS=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(bS,{scope:t,anchor:n,onAnchorChange:o},r)},vS="PopperAnchor",yS=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Ep(vS,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(Kt.div,A({},o,{ref:s}))}),No="PopperContent",[$S,xS]=$s(No),[wS,_S]=$s(No,{hasParent:!1,positionUpdateFns:new Set}),ES=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=Ep(No,u),[_,I]=l.useState(null),W=pe(t,_e=>I(_e)),[D,j]=l.useState(null),S=$r(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(DS),altBoundary:te},{reference:M,floating:L,strategy:V,x:R,y:J,placement:k,middlewareData:B,update:z}=hi({strategy:"fixed",placement:se,whileElementsMounted:fi,middleware:[CS(),ii({mainAxis:p+X,alignmentAxis:b}),y?si({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?li():void 0,...K}):void 0,D?bi({element:D,padding:g}):void 0,y?oi({...K}):void 0,ci({...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`)}}),OS({arrowWidth:O,arrowHeight:X}),w?ai({strategy:"referenceHidden"}):void 0].filter(kS)});De(()=>{M(P.anchor)},[M,P.anchor]);const Q=R!==null&&J!==null,[q,ee]=Pp(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}=_S(No,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($S,{scope:u,placedSide:q,onArrowChange:j,arrowX:ue,arrowY:be,shouldHideArrow:ce},he?l.createElement(wS,{scope:u,hasParent:!0,positionUpdateFns:xe},l.createElement(Kt.div,Be)):l.createElement(Kt.div,Be)))}),PS="PopperArrow",SS={top:"bottom",right:"left",bottom:"top",left:"right"},TS=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=xS(PS,n),i=SS[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(hS,A({},o,{ref:r,style:{...o.style,display:"block"}})))});function kS(e){return e!==void 0}function DS(e){return e!==null}const CS=()=>({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`),{}}}),OS=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]=Pp(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 Pp(e){const[t,r="center"]=e.split("-");return[t,r]}const IS=gS,AS=yS,NS=ES,MS=TS,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(Kt.div,A({},o,{ref:t})),n):null}),FS=l.forwardRef((e,t)=>l.createElement(Kt.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}}))),[Mo,TI]=Re("Tooltip",[_p]),zo=_p(),LS="TooltipProvider",KS=700,xs="tooltip.open",[jS,ws]=Mo(LS),VS=e=>{const{__scopeTooltip:t,delayDuration:r=KS,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(jS,{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)},_s="Tooltip",[BS,yn]=Mo(_s),RS=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,c=ws(_s,e.__scopeTooltip),d=zo(t),[u,f]=l.useState(null),p=ot(),m=l.useRef(0),b=i??c.disableHoverableContent,g=s??c.delayDuration,v=l.useRef(!1),[$=!1,x]=tt({prop:n,defaultProp:o,onChange:P=>{P?(c.onOpen(),document.dispatchEvent(new CustomEvent(xs))):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(IS,d,l.createElement(BS,{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))},Sp="TooltipTrigger",WS=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=yn(Sp,r),a=ws(Sp,r),i=zo(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(AS,A({asChild:!0},i),l.createElement(Kt.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)})))}),Tp="TooltipPortal",[US,HS]=Mo(Tp,{forceMount:void 0}),GS=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=yn(Tp,t);return l.createElement(US,{scope:t,forceMount:r},l.createElement(Ze,{present:r||a.open},l.createElement(zS,{asChild:!0,container:o},n)))},$n="TooltipContent",YS=l.forwardRef((e,t)=>{const r=HS($n,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,i=yn($n,e.__scopeTooltip);return l.createElement(Ze,{present:n||i.open},i.disableHoverableContent?l.createElement(kp,A({side:o},a,{ref:t})):l.createElement(qS,A({side:o},a,{ref:t})))}),qS=l.forwardRef((e,t)=>{const r=yn($n,e.__scopeTooltip),n=ws($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=eT($,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=tT(g.getBoundingClientRect()),P=nT([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=!rT($,i);x?p():w&&(p(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,u,i,d,p]),l.createElement(kp,A({},e,{ref:a}))}),[ZS,XS]=Mo(_s,{isInside:!1}),kp=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,c=yn($n,r),d=zo(r),{onClose:u}=c;return l.useEffect(()=>(document.addEventListener(xs,u),()=>document.removeEventListener(xs,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(fS,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:u},l.createElement(NS,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(wa,null,n),l.createElement(ZS,{scope:r,isInside:!0},l.createElement(FS,{id:c.contentId,role:"tooltip"},o||n))))}),JS="TooltipArrow",QS=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=zo(r);return XS(JS,r).isInside?null:l.createElement(MS,A({},o,n,{ref:t}))});function eT(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 tT(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 rT(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 nT(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),oT(t)}function oT(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 aT=VS,iT=RS,sT=WS,lT=GS,cT=YS,dT=QS,uT=bt`
|
|
796
|
+
`;const ws=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=lt(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]})});ws.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 _s="dismissableLayer.update",_S="dismissableLayer.pointerDownOutside",ES="dismissableLayer.focusOutside";let Ep;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&&(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(_s,_),()=>document.removeEventListener(_s,_)},[]),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(){Sp(_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&&Sp(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 Pp(){const e=new CustomEvent(_s);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?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"}))}),kp="Popper",[Es,Tp]=Re(kp),[CS,Dp]=Es(kp),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=Dp(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]=Es(Lo),[zS,FS]=Es(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=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(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]=Cp(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]=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 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",[Tp]),jo=Tp(),JS="TooltipProvider",QS=700,Ps="tooltip.open",[ek,Ss]=Ko(JS),tk=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(ek,{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)},ks="Tooltip",[rk,wn]=Ko(ks),nk=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,c=Ss(ks,e.__scopeTooltip),d=jo(t),[u,f]=l.useState(null),p=at(),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(Ps))):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(rk,{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))},Op="TooltipTrigger",ok=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=wn(Op,r),a=Ss(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(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)})))}),Ip="TooltipPortal",[ak,ik]=Ko(Ip,{forceMount:void 0}),sk=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=wn(Ip,t);return l.createElement(ak,{scope:t,forceMount:r},l.createElement(Xe,{present:r||a.open},l.createElement(ZS,{asChild:!0,container:o},n)))},_n="TooltipContent",lk=l.forwardRef((e,t)=>{const r=ik(_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(ck,A({side:o},a,{ref:t})))}),ck=l.forwardRef((e,t)=>{const r=wn(_n,e.__scopeTooltip),n=Ss(_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=mk($,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=hk(g.getBoundingClientRect()),P=gk([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=!bk($,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}))}),[dk,uk]=Ko(ks,{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(Ps,u),()=>document.removeEventListener(Ps,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(dk,{scope:r,isInside:!0},l.createElement(XS,{id:c.contentId,role:"tooltip"},o||n))))}),fk="TooltipArrow",pk=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=jo(r);return uk(fk,r).isInside?null:l.createElement(qS,A({},o,n,{ref:t}))});function mk(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 hk(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 bk(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 gk(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),vk(t)}function vk(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 yk=tk,$k=nk,xk=ok,wk=sk,_k=lk,Ek=pk,Pk=gt`
|
|
748
797
|
from {
|
|
749
798
|
opacity: 0;
|
|
750
799
|
transform: translateX(-10px);
|
|
@@ -753,7 +802,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
753
802
|
opacity: 1;
|
|
754
803
|
transform: translateY(0);
|
|
755
804
|
}
|
|
756
|
-
`,
|
|
805
|
+
`,Sk=gt`
|
|
757
806
|
from {
|
|
758
807
|
opacity: 0;
|
|
759
808
|
transform: translateX(10px);
|
|
@@ -762,7 +811,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
762
811
|
opacity: 1;
|
|
763
812
|
transform: translateY(0);
|
|
764
813
|
}
|
|
765
|
-
`,
|
|
814
|
+
`,kk=gt`
|
|
766
815
|
from {
|
|
767
816
|
opacity: 0;
|
|
768
817
|
transform: translateY(-10px);
|
|
@@ -771,7 +820,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
771
820
|
opacity: 1;
|
|
772
821
|
transform: translateY(0);
|
|
773
822
|
}
|
|
774
|
-
`,
|
|
823
|
+
`,Tk=gt`
|
|
775
824
|
from {
|
|
776
825
|
opacity: 0;
|
|
777
826
|
transform: translateY(10px);
|
|
@@ -780,7 +829,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
780
829
|
opacity: 1;
|
|
781
830
|
transform: translateY(0);
|
|
782
831
|
}
|
|
783
|
-
`,
|
|
832
|
+
`,Dk=F(_k)`
|
|
784
833
|
padding: ${h.sizing_200} ${h.sizing_200};
|
|
785
834
|
background: ${h.color_background_black_standard};
|
|
786
835
|
color: ${h.color_text_white_standard};
|
|
@@ -794,29 +843,29 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
794
843
|
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); // move to tokens?
|
|
795
844
|
|
|
796
845
|
&[data-side='top'] {
|
|
797
|
-
animation-name: ${
|
|
846
|
+
animation-name: ${Tk};
|
|
798
847
|
}
|
|
799
848
|
|
|
800
849
|
&[data-side='bottom'] {
|
|
801
|
-
animation-name: ${
|
|
850
|
+
animation-name: ${kk};
|
|
802
851
|
}
|
|
803
852
|
|
|
804
853
|
&[data-side='left'] {
|
|
805
|
-
animation-name: ${
|
|
854
|
+
animation-name: ${Sk};
|
|
806
855
|
}
|
|
807
856
|
|
|
808
857
|
&[data-side='right'] {
|
|
809
|
-
animation-name: ${
|
|
858
|
+
animation-name: ${Pk};
|
|
810
859
|
}
|
|
811
|
-
`,
|
|
860
|
+
`,Ck=F(Ek)`
|
|
812
861
|
fill: 'white';
|
|
813
|
-
`;function
|
|
862
|
+
`;function Ok({children:e,...t}){return C(wk,{children:ie(Dk,{...t,children:[e,C(Ck,{})]})})}const Ik=F(xk)`
|
|
814
863
|
appearance: none;
|
|
815
864
|
padding: 0;
|
|
816
865
|
border: none;
|
|
817
866
|
background-color: unset;
|
|
818
867
|
line-height: 0;
|
|
819
|
-
`,
|
|
868
|
+
`,Ts=l.forwardRef((e,t)=>{const{children:r,asChild:n,...o}=e;return C(Ik,{ref:t,...o,type:"button",asChild:n,children:r})});Ts.displayName="TooltipTrigger";const Np=yk,Mp=$k,zp=Ok,Ak=F(Ts)`
|
|
820
869
|
color: ${h.color_text_white_weak};
|
|
821
870
|
margin-block: auto;
|
|
822
871
|
|
|
@@ -836,7 +885,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
836
885
|
&:not([data-state~='closed']) > svg {
|
|
837
886
|
color: steelblue;
|
|
838
887
|
}
|
|
839
|
-
`;function sr({children:e,icon:t=C(Fe.Help,{}),label:r="More info"}){return C(Dp,{children:ie(Cp,{children:[C(yT,{children:C(rn,{label:r,children:t})}),C(Op,{sideOffset:5,children:e})]})})}const Ip=7e3;let Ps=null;function $T(e,t="assertive",r=Ip){Ps||(Ps=new xT),Ps.announce(e,t,r)}class xT{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=Ip){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 wT(e){return e&&e.__esModule?e.default:e}var Ap={},Np={};Np={Empty:"فارغ"};var Mp={};Mp={Empty:"Изпразни"};var zp={};zp={Empty:"Prázdné"};var Fp={};Fp={Empty:"Tom"};var Lp={};Lp={Empty:"Leer"};var Kp={};Kp={Empty:"Άδειο"};var jp={};jp={Empty:"Empty"};var Vp={};Vp={Empty:"Vacío"};var Bp={};Bp={Empty:"Tühjenda"};var Rp={};Rp={Empty:"Tyhjä"};var Wp={};Wp={Empty:"Vide"};var Up={};Up={Empty:"ריק"};var Hp={};Hp={Empty:"Prazno"};var Gp={};Gp={Empty:"Üres"};var Yp={};Yp={Empty:"Vuoto"};var qp={};qp={Empty:"空"};var Zp={};Zp={Empty:"비어 있음"};var Xp={};Xp={Empty:"Tuščias"};var Jp={};Jp={Empty:"Tukšs"};var Qp={};Qp={Empty:"Tom"};var em={};em={Empty:"Leeg"};var tm={};tm={Empty:"Pusty"};var rm={};rm={Empty:"Vazio"};var nm={};nm={Empty:"Vazio"};var om={};om={Empty:"Gol"};var am={};am={Empty:"Не заполнено"};var im={};im={Empty:"Prázdne"};var sm={};sm={Empty:"Prazen"};var lm={};lm={Empty:"Prazno"};var cm={};cm={Empty:"Tomt"};var dm={};dm={Empty:"Boş"};var um={};um={Empty:"Пусто"};var fm={};fm={Empty:"空"};var pm={};pm={Empty:"空白"},Ap={"ar-AE":Np,"bg-BG":Mp,"cs-CZ":zp,"da-DK":Fp,"de-DE":Lp,"el-GR":Kp,"en-US":jp,"es-ES":Vp,"et-EE":Bp,"fi-FI":Rp,"fr-FR":Wp,"he-IL":Up,"hr-HR":Hp,"hu-HU":Gp,"it-IT":Yp,"ja-JP":qp,"ko-KR":Zp,"lt-LT":Xp,"lv-LV":Jp,"nb-NO":Qp,"nl-NL":em,"pl-PL":tm,"pt-BR":rm,"pt-PT":nm,"ro-RO":om,"ru-RU":am,"sk-SK":im,"sl-SI":sm,"sr-SP":lm,"sv-SE":cm,"tr-TR":dm,"uk-UA":um,"zh-CN":fm,"zh-TW":pm};function mm(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=Lt(wT(Ap)),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&&$T(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}=wi();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 _T(e){return e&&e.__esModule?e.default:e}var hm={},bm={};bm={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var gm={};gm={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var vm={};vm={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var ym={};ym={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var $m={};$m={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var xm={};xm={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var wm={};wm={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var _m={};_m={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Em={};Em={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var Pm={};Pm={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var Sm={};Sm={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var Tm={};Tm={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var km={};km={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Dm={};Dm={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Cm={};Cm={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Om={};Om={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Im={};Im={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Am={};Am={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Nm={};Nm={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Mm={};Mm={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var zm={};zm={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Fm={};Fm={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Lm={};Lm={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Km={};Km={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var jm={};jm={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Vm={};Vm={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Bm={};Bm={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Rm={};Rm={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Wm={};Wm={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Um={};Um={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Hm={};Hm={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Gm={};Gm={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Ym={};Ym={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var qm={};qm={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},hm={"ar-AE":bm,"bg-BG":gm,"cs-CZ":vm,"da-DK":ym,"de-DE":$m,"el-GR":xm,"en-US":wm,"es-ES":_m,"et-EE":Em,"fi-FI":Pm,"fr-FR":Sm,"he-IL":Tm,"hr-HR":km,"hu-HU":Dm,"it-IT":Cm,"ja-JP":Om,"ko-KR":Im,"lt-LT":Am,"lv-LV":Nm,"nb-NO":Mm,"nl-NL":zm,"pl-PL":Fm,"pt-BR":Lm,"pt-PT":Km,"ro-RO":jm,"ru-RU":Vm,"sk-SK":Bm,"sl-SI":Rm,"sr-SP":Wm,"sv-SE":Um,"tr-TR":Hm,"uk-UA":Gm,"zh-CN":Ym,"zh-TW":qm};function ET(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=Lt(_T(hm));let O=qe(n),{focusProps:X}=Ni({onBlur:()=>{j()}}),{spinButtonProps:se,incrementButtonProps:G,decrementButtonProps:ae}=mm({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}=kr({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]);uP({onScroll:L,isDisabled:i||s||!te},r);let R=y5(b),k=l.useMemo(()=>R.resolvedOptions(),[R]).maximumFractionDigits>0,B=isNaN(t.minValue)||t.minValue<0,z="numeric";wu()?B?z="text":k&&(z="decimal"):Eu()&&(B?z="numeric":k&&(z="decimal"));let Q=Se=>{t.setInputValue(Se)},q=$t(e),{labelProps:ee,inputProps:Y,descriptionProps:ue,errorMessageProps:be}=tS({...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":wr()?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=qe(),he=qe(),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 PT(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]=Jt(a,isNaN(i)?NaN:i,s),[m,b]=l.useState(()=>isNaN(f)?"":new ls(c,o).format(f)),g=l.useMemo(()=>new hf(c,o),[c,o]),v=l.useMemo(()=>g.getNumberingSystem(m),[g,m]),$=l.useMemo(()=>new ls(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=kE(I.current,t,r):te=Qt(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 Qt(L,t,r,y)}else{let L=Qt(M,t,r,y);return te==="+"&&L>M||te==="-"&&L<M?L:Qt(Ss(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(Qt(r,t,r,y))},X=()=>{t!=null&&p(t)},se=l.useMemo(()=>!d&&!u&&(isNaN(_)||isNaN(r)||Qt(_,t,r,y)>_||Ss("+",_,y)<=r),[d,u,t,r,y,_]),G=l.useMemo(()=>!d&&!u&&(isNaN(_)||isNaN(t)||Qt(_,t,r,y)<_||Ss("-",_,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 Ss(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 Zm(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=bn(e,t),{children:o,className:a}=e;return C("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const ST=F.div`
|
|
888
|
+
`;function cr({children:e,icon:t=C(Fe.Help,{}),label:r="More info"}){return C(Np,{children:ie(Mp,{children:[C(Ak,{children:C(on,{label:r,children:t})}),C(zp,{sideOffset:5,children:e})]})})}const Fp=7e3;let Ds=null;function Nk(e,t="assertive",r=Fp){Ds||(Ds=new Mk),Ds.announce(e,t,r)}class Mk{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 zk(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(zk(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},k=()=>{w.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{w.current&&Nk(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 Fk(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 Lk(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(Fk($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]);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 Kk(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(Cs(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)>_||Cs("+",_,y)<=r),[d,u,t,r,y,_]),G=l.useMemo(()=>!d&&!u&&(isNaN(_)||isNaN(t)||tr(_,t,r,y)<_||Cs("-",_,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 Cs(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 jk=F.div`
|
|
840
889
|
/*
|
|
841
890
|
--border-color: ${h.color_outline_secondary_enabled};
|
|
842
891
|
*/
|
|
@@ -861,7 +910,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
861
910
|
&:has(input:invalid) {
|
|
862
911
|
--input-border-color: ${h.color_outline_danger_enabled};
|
|
863
912
|
}
|
|
864
|
-
`,
|
|
913
|
+
`,Vk=F(xn)`
|
|
865
914
|
border-top-right-radius: 0;
|
|
866
915
|
border-color: var(
|
|
867
916
|
--input-border-color,
|
|
@@ -873,7 +922,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
873
922
|
grid-area: field;
|
|
874
923
|
margin: 0;
|
|
875
924
|
margin-right: -1px; // to make the borders overlap
|
|
876
|
-
`,
|
|
925
|
+
`,rh=F(th)`
|
|
877
926
|
display: grid;
|
|
878
927
|
place-items: center;
|
|
879
928
|
color: ${h.color_text_weak};
|
|
@@ -915,14 +964,14 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
915
964
|
line-height: 0;
|
|
916
965
|
font-size: 1rem;
|
|
917
966
|
}
|
|
918
|
-
`,
|
|
967
|
+
`,Bk=F(rh)`
|
|
919
968
|
border-radius: unset;
|
|
920
969
|
border-top: 1px solid var(--input-border-color);
|
|
921
970
|
border-top-right-radius: ${h.border_radius_400};
|
|
922
971
|
border-bottom-width: 0.5px;
|
|
923
972
|
margin-bottom: -0.5px;
|
|
924
973
|
grid-area: increment;
|
|
925
|
-
`,
|
|
974
|
+
`,Rk=F(rh)`
|
|
926
975
|
border-radius: unset;
|
|
927
976
|
border-bottom: 1px solid var(--input-border-color);
|
|
928
977
|
border-bottom-right-radius: ${h.border_radius_400};
|
|
@@ -930,7 +979,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
930
979
|
border-top-width: 0.5px;
|
|
931
980
|
margin-top: -0.5px;
|
|
932
981
|
grid-area: decrement;
|
|
933
|
-
`;function
|
|
982
|
+
`;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 Os=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=lt(t),y=Kk({...b,isDisabled:v,isReadOnly:$,isRequired:x,minValue:f,maxValue:p,placeholder:d,locale:m}),{labelProps:k,groupProps:N,inputProps:P,incrementButtonProps:_,decrementButtonProps:I,descriptionProps:W,errorMessageProps:D}=Lk({...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,{...k,children:s}):l.isValidElement(s)&&(j=l.cloneElement(s,{...k}));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(jk,{...N,children:[C(Vk,{...P,paddingSize:i,ref:w,onClick:S,onFocus:S,required:a}),C(Bk,{..._,children:C(Fe.KeyboardArrowUp,{})}),C(Rk,{...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]})});Os.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=lt(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 Is=l.createContext({});Is.displayName="FormControlContext";function Vo(){return l.useContext(Is)}function Wk({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(Is.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(ws,{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(Os,{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 Uk=()=>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"})}),Hk=()=>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"})}),As=F.div`
|
|
934
983
|
display: grid;
|
|
935
984
|
place-items: center;
|
|
936
985
|
width: 16px;
|
|
@@ -945,7 +994,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
945
994
|
width: 100%;
|
|
946
995
|
height: 100%;
|
|
947
996
|
}
|
|
948
|
-
`,
|
|
997
|
+
`,Gk=F(pS)`
|
|
949
998
|
all: unset;
|
|
950
999
|
background-color: ${h.color_white};
|
|
951
1000
|
width: ${h.sizing_600};
|
|
@@ -985,13 +1034,24 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
985
1034
|
--checkbox-background-color: ${h.color_fill_danger_enabled};
|
|
986
1035
|
color: ${h.color_fill_danger_enabled};
|
|
987
1036
|
}
|
|
988
|
-
`,
|
|
1037
|
+
`,Yk=F(mS)`
|
|
989
1038
|
line-height: 0;
|
|
990
1039
|
|
|
991
1040
|
& > svg {
|
|
992
1041
|
line-height: 0;
|
|
993
1042
|
}
|
|
994
|
-
`,Lo=l.forwardRef((e,t)=>{const{disabled:r,checked:n,invalid:o,onCheckedChange:a,...i}=e,s=nh(r);return ie(AT,{ref:t,onCheckedChange:a,...i,...s,checked:n,"aria-invalid":o,children:[!n&&C(Ds,{}),ie(NT,{children:[n===!0&&C(Ds,{children:C(OT,{})}),n==="indeterminate"&&C(Ds,{children:C(IT,{})})]})]})});Lo.displayName="Checkbox";const oh={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 ah(e={}){let{style:t,isFocusable:r}=e,[n,o]=l.useState(!1),{focusWithinProps:a}=kr({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=l.useMemo(()=>n?t:t?{...oh,...t}:oh,[n]);return{visuallyHiddenProps:{...a,style:i}}}function MT(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=ah(e);return l.createElement(r,ve(a,i),t)}function zT(e){return e&&e.__esModule?e.default:e}const ih={top:"top",bottom:"top",left:"left",right:"left"},Ko={top:"bottom",bottom:"top",left:"right",right:"left"},FT={top:"left",left:"top"},Cs={top:"height",left:"width"},jo={};let Ar=typeof window<"u"&&window.visualViewport;function LT(e){let t=0,r=0,n=0,o=0,a={};if(e.tagName==="BODY"){let c=document.documentElement;var i;t=(i=Ar==null?void 0:Ar.width)!==null&&i!==void 0?i:c.clientWidth;var s;r=(s=Ar==null?void 0:Ar.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}=Nr(e)),a.top=e.scrollTop,a.left=e.scrollLeft;return{width:t,height:r,scroll:a,top:n,left:o}}function KT(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function sh(e,t,r,n,o){let a=n.scroll[e],i=n[Cs[e]],s=t-o-a,c=t+o-a+r;return s<0?-s:c>i?Math.max(i-c,-s):0}function jT(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 lh(e){if(jo[e])return jo[e];let[t,r]=e.split(" "),n=ih[t]||"right",o=FT[n];ih[r]||(r="center");let a=Cs[n],i=Cs[o];return jo[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},jo[e]}function Os(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[Ko[u]]=Math.floor($-e[u]+o)}else b[u]=Math.floor(e[u]+e[p]+o);return b}function VT(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 ch(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[Ko[s]]-o):Math.max(0,e[c]+e[s]+e.scroll[s]-t[s]-r[s]-r[c]-n[s]-n[Ko[s]]-o)}function BT(e,t,r,n,o,a,i,s,c,d,u,f,p){let m=lh(e),{size:b,crossAxis:g,crossSize:v,placement:$,crossPlacement:x}=m,w=Os(t,s,r,m,d,u,c,f),y=d,T=ch(s,c,t,o,a+d,m);if(i&&n[b]>T){let I=lh(`${Ko[$]} ${x}`),W=Os(t,s,r,I,d,u,c,f);ch(s,c,t,o,a+d,I)>T&&(m=I,w=W,y=d)}let N=sh(g,w[g],r[v],s,a);w[g]+=N;let P=VT(w,s,c,t,o,a);p&&p<P&&(P=p),r.height=Math.min(r.height,P),w=Os(t,s,r,m,y,u,c,f),N=sh(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 RT(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?Nr(r):dh(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=Nr(n),$=jT(n);v.width+=$.left+$.right,v.height+=$.top+$.bottom;let x=KT(o),w=LT(s),y=s.tagName==="BODY"?Nr(f):dh(f,s);return BT(t,g,v,x,$,a,i,w,y,c,d,b,u)}function Nr(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 dh(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=Nr(e);let o=Nr(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 uh=new WeakMap;function WT(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||uh.get(t.current);s&&s()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[r,n,t])}let Mr=typeof window<"u"&&window.visualViewport;function UT(e){let{direction:t}=lt(),{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=RT({placement:GT(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,$),HT(x),VE({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 Mr==null||Mr.addEventListener("resize",N),()=>{Mr==null||Mr.removeEventListener("resize",N)}},[x]);let y=l.useCallback(()=>{w.current||m()},[m,w]);return WT({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 HT(e){Ne(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function GT(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const St=[];function YT(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;l.useEffect(()=>(o&&St.push(t),()=>{let b=St.indexOf(t);b>=0&&St.splice(b,1)}),[o,t]);let c=()=>{St[St.length-1]===t&&r&&r()},d=b=>{(!s||s(b.target))&&St[St.length-1]===t&&(b.stopPropagation(),b.preventDefault())},u=b=>{(!s||s(b.target))&&(St[St.length-1]===t&&(b.stopPropagation(),b.preventDefault()),c())},f=b=>{b.key==="Escape"&&!i&&(b.stopPropagation(),b.preventDefault(),c())};cP({ref:t,onInteractOutside:a?u:null,onInteractOutsideStart:d});let{focusWithinProps:p}=kr({isDisabled:!n,onBlurWithin:b=>{b.relatedTarget&&$P(b.relatedTarget)||(!s||s(b.relatedTarget))&&r()}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function qT(e,t,r){let{type:n}=e,{isOpen:o}=t;l.useEffect(()=>{r&&r.current&&uh.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=qe();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Is=typeof window<"u"&&window.visualViewport,ZT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Vo=0,As;function XT(e={}){let{isDisabled:t}=e;Ne(()=>{if(!t)return Vo++,Vo===1&&(wr()?As=QT():As=JT()),()=>{Vo--,Vo===0&&As()}},[t])}function JT(){return er(xn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),xn(document.documentElement,"overflow","hidden"))}function QT(){let e,t=0,r=f=>{e=cn(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;ph(p)&&p!==document.activeElement&&(f.preventDefault(),p.style.transform="translateY(-2000px)",p.focus(),requestAnimationFrame(()=>{p.style.transform=""}))},a=f=>{let p=f.target;ph(p)&&(p.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{p.style.transform="",Is&&(Is.height<window.innerHeight?requestAnimationFrame(()=>{fh(p)}):Is.addEventListener("resize",()=>fh(p),{once:!0}))}))},i=()=>{window.scrollTo(0,0)},s=window.pageXOffset,c=window.pageYOffset,d=er(xn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),xn(document.documentElement,"overflow","hidden"),xn(document.body,"marginTop",`-${c}px`));window.scrollTo(0,0);let u=er(wn(document,"touchstart",r,{passive:!1,capture:!0}),wn(document,"touchmove",n,{passive:!1,capture:!0}),wn(document,"touchend",o,{passive:!1,capture:!0}),wn(document,"focus",a,!0),wn(window,"scroll",i));return()=>{d(),u(),window.scrollTo(s,c)}}function xn(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function wn(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function fh(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=cn(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 ph(e){return e instanceof HTMLInputElement&&!ZT.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var mh={},hh={};hh={dismiss:"تجاهل"};var bh={};bh={dismiss:"Отхвърляне"};var gh={};gh={dismiss:"Odstranit"};var vh={};vh={dismiss:"Luk"};var yh={};yh={dismiss:"Schließen"};var $h={};$h={dismiss:"Απόρριψη"};var xh={};xh={dismiss:"Dismiss"};var wh={};wh={dismiss:"Descartar"};var _h={};_h={dismiss:"Lõpeta"};var Eh={};Eh={dismiss:"Hylkää"};var Ph={};Ph={dismiss:"Rejeter"};var Sh={};Sh={dismiss:"התעלם"};var Th={};Th={dismiss:"Odbaci"};var kh={};kh={dismiss:"Elutasítás"};var Dh={};Dh={dismiss:"Ignora"};var Ch={};Ch={dismiss:"閉じる"};var Oh={};Oh={dismiss:"무시"};var Ih={};Ih={dismiss:"Atmesti"};var Ah={};Ah={dismiss:"Nerādīt"};var Nh={};Nh={dismiss:"Lukk"};var Mh={};Mh={dismiss:"Negeren"};var zh={};zh={dismiss:"Zignoruj"};var Fh={};Fh={dismiss:"Descartar"};var Lh={};Lh={dismiss:"Dispensar"};var Kh={};Kh={dismiss:"Revocare"};var jh={};jh={dismiss:"Пропустить"};var Vh={};Vh={dismiss:"Zrušiť"};var Bh={};Bh={dismiss:"Opusti"};var Rh={};Rh={dismiss:"Odbaci"};var Wh={};Wh={dismiss:"Avvisa"};var Uh={};Uh={dismiss:"Kapat"};var Hh={};Hh={dismiss:"Скасувати"};var Gh={};Gh={dismiss:"取消"};var Yh={};Yh={dismiss:"關閉"},mh={"ar-AE":hh,"bg-BG":bh,"cs-CZ":gh,"da-DK":vh,"de-DE":yh,"el-GR":$h,"en-US":xh,"es-ES":wh,"et-EE":_h,"fi-FI":Eh,"fr-FR":Ph,"he-IL":Sh,"hr-HR":Th,"hu-HU":kh,"it-IT":Dh,"ja-JP":Ch,"ko-KR":Oh,"lt-LT":Ih,"lv-LV":Ah,"nb-NO":Nh,"nl-NL":Mh,"pl-PL":zh,"pt-BR":Fh,"pt-PT":Lh,"ro-RO":Kh,"ru-RU":jh,"sk-SK":Vh,"sl-SI":Bh,"sr-SP":Rh,"sv-SE":Wh,"tr-TR":Uh,"uk-UA":Hh,"zh-CN":Gh,"zh-TW":Yh};function qh(e){let{onDismiss:t,...r}=e,n=Lt(zT(mh)),o=_i(r,n.format("dismiss")),a=()=>{t&&t()};return l.createElement(MT,null,l.createElement("button",{...o,tabIndex:-1,onClick:a}))}let _n=new WeakMap,Je=[];function ek(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=_n.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),_n.set(c,u+1))};Je.length&&Je[Je.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 Je.push(s),()=>{i.disconnect();for(let c of n){let d=_n.get(c);d===1?(c.removeAttribute("aria-hidden"),_n.delete(c)):_n.set(c,d-1)}s===Je[Je.length-1]?(Je.pop(),Je.length&&Je[Je.length-1].observe()):Je.splice(Je.indexOf(s),1)}}function tk(e,t){let{triggerRef:r,popoverRef:n,isNonModal:o,isKeyboardDismissDisabled:a,...i}=e,{overlayProps:s,underlayProps:c}=YT({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a},n),{overlayProps:d,arrowProps:u,placement:f}=UT({...i,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:null});return XT({isDisabled:o}),Ne(()=>{if(t.isOpen&&!o&&n.current)return ek([n.current])},[o,t.isOpen,n]),{popoverProps:ve(s,d),arrowProps:u,underlayProps:c,placement:f}}const rk=l.createContext(null);function nk(e){let t=bu(),{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(rk.Provider,{value:a},l.createElement(hP,{restoreFocus:!0,contain:n},e.children));return Ve.createPortal(i,r)}function ok(e){return e&&e.__esModule?e.default:e}let ke;(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"})(ke||(ke={}));const Zh={...ke,copyMove:ke.copy|ke.move,copyLink:ke.copy|ke.link,linkMove:ke.link|ke.move,all:ke.all,uninitialized:ke.all},ak=Ms(Zh);ak[ke.all]="all",Ms(ke);const Xh={none:"cancel",link:"link",copy:"copy",move:"move"},Ns=Ms(Xh);function Ms(e){let t={};for(let r in e)t[e[r]]=r;return t}const zs="application/vnd.react-aria.items+json",Bo="application/octet-stream",ik=Symbol();function sk(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function lk(){return sk(zu())}class Ro{has(t){return this.includesUnknownTypes||t===ik&&this.types.has(Bo)?!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!==zs&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(Bo));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function ck(e){let t=[],r=!1;if(e.types.includes(zs))try{let n=e.getData(zs),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||Bo,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(Fs(o.getAsFile())):a.isDirectory&&t.push(Jh(a))}else t.push(Fs(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function dk(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 Fs(e){return{kind:"file",type:e.type||Bo,name:e.name,getText:()=>dk(e),getFile:()=>Promise.resolve(e)}}function Jh(e){return{kind:"directory",name:e.name,getEntries:()=>uk(e)}}async function*uk(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 fk(n);yield Fs(o)}else n.isDirectory&&(yield Jh(n))}while(r.length>0)}function fk(e){return new Promise((t,r)=>e.file(t,r))}let Qh={draggingKeys:new Set};function pk(e){Qh=e}function kI(e){}let eb=ke.none,tb=new Map,rb=null,nb=new Set;function mk(e){return tb.set(e.element,e),()=>{tb.delete(e.element)}}function hk(){let[e,t]=l.useState(rb);return l.useEffect(()=>{let r=()=>t(rb);return nb.add(r),()=>{nb.delete(r)}},[]),e}var ob={},ab={};ab={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 ib={};ib={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 sb={};sb={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 lb={};lb={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 cb={};cb={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 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={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 fb={};fb={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 pb={};pb={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 mb={};mb={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 hb={};hb={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 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 gb={};gb={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 vb={};vb={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 yb={};yb={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 $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 キーを押してドロップするか、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 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)=>`${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 wb={};wb={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 _b={};_b={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 Eb={};Eb={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 Pb={};Pb={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 Sb={};Sb={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 Tb={};Tb={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 kb={};kb={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 Db={};Db={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 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:()=>`${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 Ob={};Ob={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 Ib={};Ib={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 Ab={};Ab={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 Nb={};Nb={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 Mb={};Mb={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 zb={};zb={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:"按 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 Lb={};Lb={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}」之間`},ob={"ar-AE":ab,"bg-BG":ib,"cs-CZ":sb,"da-DK":lb,"de-DE":cb,"el-GR":db,"en-US":ub,"es-ES":fb,"et-EE":pb,"fi-FI":mb,"fr-FR":hb,"he-IL":bb,"hr-HR":gb,"hu-HU":vb,"it-IT":yb,"ja-JP":$b,"ko-KR":xb,"lt-LT":wb,"lv-LV":_b,"nb-NO":Eb,"nl-NL":Pb,"pl-PL":Sb,"pt-BR":Tb,"pt-PT":kb,"ro-RO":Db,"ru-RU":Cb,"sk-SK":Ob,"sl-SI":Ib,"sr-SP":Ab,"sv-SE":Nb,"tr-TR":Mb,"uk-UA":zb,"zh-CN":Fb,"zh-TW":Lb};const bk={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function gk(){let e=Lt(ok(ob)),t=lk(),r=hk();return{dropProps:{...Pi(r?e.format(bk[t]):""),onClick:()=>{}}}}const vk=800;function yk(e){let[t,r]=l.useState(!1),n=l.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:ke.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=Kb(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=Ls(m),v=g[0];if(typeof e.getDropOperation=="function"){let $=new Ro(p.dataTransfer);v=Wo(m,e.getDropOperation($,g))}n.dropEffect=Ns[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new Ro(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),$=Wo(m,e.getDropOperationForPoint(g,Ls(m),n.x-v.x,n.y-v.y));n.dropEffect=Ns[$]||"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})},vk)}},s=p=>{if(p.preventDefault(),p.stopPropagation(),n.dragOverElements.add(p.target),n.dragOverElements.size>1)return;let m=Kb(p),b=Ls(m),g=b[0];if(typeof e.getDropOperation=="function"){let v=new Ro(p.dataTransfer);g=Wo(m,e.getDropOperation(v,b))}if(typeof e.getDropOperationForPoint=="function"){let v=new Ro(p.dataTransfer),$=p.currentTarget.getBoundingClientRect();g=Wo(m,e.getDropOperationForPoint(v,b,p.clientX-$.x,p.clientY-$.y))}n.x=p.clientX,n.y=p.clientY,n.allowedOperations=m,n.dropEffect=Ns[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=Xh[n.dropEffect],g=ck(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={...Qh};n.dragOverElements.clear(),a(p),clearTimeout(n.dropActivateTimer),m.draggingCollectionRef==null||pk(m)},u=l.useRef(e);u.current=e,Ne(()=>mk({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}=gk();return{dropProps:{...f,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:d},isDropTarget:t}}function Kb(e){let t=Zh[e.dataTransfer.effectAllowed];eb&&(t&=eb);let r=ke.none;return tr()?(e.altKey&&(r|=ke.copy),e.ctrlKey&&!_u()&&(r|=ke.link),e.metaKey&&(r|=ke.move)):(e.altKey&&(r|=ke.link),e.shiftKey&&(r|=ke.move),e.ctrlKey&&(r|=ke.copy)),r?t&r:t}function Ls(e){let t=[];return e&ke.move&&t.push("move"),e&ke.copy&&t.push("copy"),e&ke.link&&t.push("link"),t}function Wo(e,t){let r=ke[t];return e&r?t:"cancel"}const En=F.p`
|
|
1043
|
+
`,Bo=l.forwardRef((e,t)=>{const{disabled:r,checked:n,invalid:o,onCheckedChange:a,...i}=e,s=lh(r);return ie(Gk,{ref:t,onCheckedChange:a,...i,...s,checked:n,"aria-invalid":o,children:[!n&&C(As,{}),ie(Yk,{children:[n===!0&&C(As,{children:C(Uk,{})}),n==="indeterminate"&&C(As,{children:C(Hk,{})})]})]})});Bo.displayName="Checkbox";const qk=F(Kd)`
|
|
1044
|
+
${({display:e})=>`display: ${e??"flex"};`}
|
|
1045
|
+
${({direction:e})=>e&&`flex-direction: ${e};`}
|
|
1046
|
+
${({wrap:e})=>e&&`flex-wrap: ${e};`}
|
|
1047
|
+
${({alignItems:e})=>e&&`align-items: ${e};`}
|
|
1048
|
+
${({alignContent:e})=>e&&`align-content: ${e};`}
|
|
1049
|
+
${({justifyContent:e})=>e&&`justify-content: ${e};`}
|
|
1050
|
+
${({flow:e})=>e&&`flex-flow: ${e};`}
|
|
1051
|
+
${({gap:e})=>e&&`gap: ${qe(e)};`}
|
|
1052
|
+
${({columnGap:e})=>e&&`column-gap: ${qe(e)};`}
|
|
1053
|
+
${({rowGap:e})=>e&&`row-gap: ${qe(e)};`}
|
|
1054
|
+
`,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 Zk(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 Xk(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"},Jk={top:"left",left:"top"},Ns={top:"height",left:"width"},Wo={};let Mr=typeof window<"u"&&window.visualViewport;function Qk(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 e7(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[Ns[e]],s=t-o-a,c=t+o-a+r;return s<0?-s:c>i?Math.max(i-c,-s):0}function t7(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=Jk[n];uh[r]||(r="center");let a=Ns[n],i=Ns[o];return Wo[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},Wo[e]}function Ms(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 r7(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 n7(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=Ms(t,s,r,m,d,u,c,f),y=d,k=mh(s,c,t,o,a+d,m);if(i&&n[b]>k){let I=ph(`${Ro[$]} ${x}`),W=Ms(t,s,r,I,d,u,c,f);mh(s,c,t,o,a+d,I)>k&&(m=I,w=W,y=d)}let N=fh(g,w[g],r[v],s,a);w[g]+=N;let P=r7(w,s,c,t,o,a);p&&p<P&&(P=p),r.height=Math.min(r.height,P),w=Ms(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 o7(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:k,marginLeft:N}=window.getComputedStyle(r);g.top+=parseInt(k,10)||0,g.left+=parseInt(N,10)||0}let v=zr(n),$=t7(n);v.width+=$.left+$.right,v.height+=$.top+$.bottom;let x=e7(o),w=Qk(s),y=s.tagName==="BODY"?zr(f):hh(f,s);return n7(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 a7(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 i7(e){let{direction:t}=ct(),{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=o7({placement:l7(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,$),s7(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 a7({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 s7(e){Ne(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function l7(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const kt=[];function c7(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 d7(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 zs=typeof window<"u"&&window.visualViewport,u7=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Uo=0,Fs;function f7(e={}){let{isDisabled:t}=e;Ne(()=>{if(!t)return Uo++,Uo===1&&(Er()?Fs=m7():Fs=p7()),()=>{Uo--,Uo===0&&Fs()}},[t])}function p7(){return rr(En(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),En(document.documentElement,"overflow","hidden"))}function m7(){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="",zs&&(zs.height<window.innerHeight?requestAnimationFrame(()=>{gh(p)}):zs.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&&!u7.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(Xk(yh)),o=ki(r,n.format("dismiss")),a=()=>{t&&t()};return l.createElement(Zk,null,l.createElement("button",{...o,tabIndex:-1,onClick:a}))}let Sn=new WeakMap,Qe=[];function h7(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 b7(e,t){let{triggerRef:r,popoverRef:n,isNonModal:o,isKeyboardDismissDisabled:a,...i}=e,{overlayProps:s,underlayProps:c}=c7({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a},n),{overlayProps:d,arrowProps:u,placement:f}=i7({...i,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:null});return f7({isDisabled:o}),Ne(()=>{if(t.isOpen&&!o&&n.current)return h7([n.current])},[o,t.isOpen,n]),{popoverProps:ve(s,d),arrowProps:u,underlayProps:c,placement:f}}const g7=l.createContext(null);function v7(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(g7.Provider,{value:a},l.createElement(D5,{restoreFocus:!0,contain:n},e.children));return Ve.createPortal(i,r)}function y7(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},$7=Ks(tb);$7[Te.all]="all",Ks(Te);const rb={none:"cancel",link:"link",copy:"copy",move:"move"},Ls=Ks(rb);function Ks(e){let t={};for(let r in e)t[e[r]]=r;return t}const js="application/vnd.react-aria.items+json",Ho="application/octet-stream",x7=Symbol();function w7(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function _7(){return w7(Vu())}class Go{has(t){return this.includesUnknownTypes||t===x7&&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!==js&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(Ho));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function E7(e){let t=[],r=!1;if(e.types.includes(js))try{let n=e.getData(js),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(Vs(o.getAsFile())):a.isDirectory&&t.push(nb(a))}else t.push(Vs(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function P7(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 Vs(e){return{kind:"file",type:e.type||Ho,name:e.name,getText:()=>P7(e),getFile:()=>Promise.resolve(e)}}function nb(e){return{kind:"directory",name:e.name,getEntries:()=>S7(e)}}async function*S7(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 k7(n);yield Vs(o)}else n.isDirectory&&(yield nb(n))}while(r.length>0)}function k7(e){return new Promise((t,r)=>e.file(t,r))}let ob={draggingKeys:new Set};function T7(e){ob=e}function Y2(e){}let ab=Te.none,ib=new Map,sb=null,lb=new Set;function D7(e){return ib.set(e.element,e),()=>{ib.delete(e.element)}}function C7(){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 O7={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function I7(){let e=Kt(y7(cb)),t=_7(),r=C7();return{dropProps:{...Di(r?e.format(O7[t]):""),onClick:()=>{}}}}const A7=800;function N7(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=Bs(m),v=g[0];if(typeof e.getDropOperation=="function"){let $=new Go(p.dataTransfer);v=Yo(m,e.getDropOperation($,g))}n.dropEffect=Ls[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new Go(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),$=Yo(m,e.getDropOperationForPoint(g,Bs(m),n.x-v.x,n.y-v.y));n.dropEffect=Ls[$]||"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})},A7)}},s=p=>{if(p.preventDefault(),p.stopPropagation(),n.dragOverElements.add(p.target),n.dragOverElements.size>1)return;let m=Wb(p),b=Bs(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=Ls[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=E7(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||T7(m)},u=l.useRef(e);u.current=e,Ne(()=>D7({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}=I7();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 Bs(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`
|
|
995
1055
|
font-family: ${h.font_family_sans};
|
|
996
1056
|
font-style: var(--text-style, normal);
|
|
997
1057
|
font-weight: var(--text-font-weight, 400);
|
|
@@ -999,69 +1059,69 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
999
1059
|
margin-block: 0;
|
|
1000
1060
|
overflow-wrap: break-word;
|
|
1001
1061
|
hyphens: auto;
|
|
1002
|
-
`,
|
|
1062
|
+
`,Rs=F(kn)`
|
|
1003
1063
|
max-width: 60ch; /* should check with designers */
|
|
1004
|
-
|
|
1064
|
+
`,M7=F(Rs)`
|
|
1005
1065
|
letter-spacing: ${h.letter_spacing_body_large};
|
|
1006
1066
|
line-height: ${h.line_height_body_large};
|
|
1007
1067
|
font-size: ${h.font_size_body_large};
|
|
1008
|
-
`,
|
|
1068
|
+
`,z7=F(Rs)`
|
|
1009
1069
|
letter-spacing: ${h.letter_spacing_body_medium};
|
|
1010
1070
|
line-height: ${h.line_height_body_medium};
|
|
1011
1071
|
font-size: ${h.font_size_body_medium};
|
|
1012
|
-
`,
|
|
1072
|
+
`,F7=F(Rs)`
|
|
1013
1073
|
letter-spacing: ${h.letter_spacing_body_small};
|
|
1014
1074
|
line-height: ${h.line_height_body_small};
|
|
1015
1075
|
font-size: ${h.font_size_body_small};
|
|
1016
|
-
`,
|
|
1076
|
+
`,L7={large:M7,medium:z7,small:F7};function K7({size:e="medium",...t}){const r=L7[e];return C(r,{...t})}const qo=F.p`
|
|
1017
1077
|
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
1018
1078
|
font-family: ${h.font_family_sans};
|
|
1019
1079
|
font-style: normal;
|
|
1020
1080
|
font-weight: var(--text-font-weight, 400);
|
|
1021
1081
|
color: var(--text-color, ${h.color_text_strong});
|
|
1022
1082
|
margin-block: 0;
|
|
1023
|
-
`,
|
|
1083
|
+
`,j7=F(qo)`
|
|
1024
1084
|
letter-spacing: ${h.letter_spacing_number_xsmall};
|
|
1025
1085
|
line-height: ${h.line_height_number_xsmall};
|
|
1026
1086
|
font-size: ${h.font_size_number_xsmall};
|
|
1027
|
-
`,
|
|
1087
|
+
`,V7=F(qo)`
|
|
1028
1088
|
letter-spacing: ${h.letter_spacing_number_small};
|
|
1029
1089
|
line-height: ${h.line_height_number_small};
|
|
1030
1090
|
font-size: ${h.font_size_number_small};
|
|
1031
|
-
`,
|
|
1091
|
+
`,B7=F(qo)`
|
|
1032
1092
|
letter-spacing: ${h.letter_spacing_number_medium};
|
|
1033
1093
|
line-height: ${h.line_height_number_medium};
|
|
1034
1094
|
font-size: ${h.font_size_number_medium};
|
|
1035
|
-
`,
|
|
1095
|
+
`,R7=F(qo)`
|
|
1036
1096
|
letter-spacing: ${h.letter_spacing_number_large};
|
|
1037
1097
|
line-height: ${h.line_height_number_large};
|
|
1038
1098
|
font-size: ${h.font_size_number_large};
|
|
1039
|
-
`,
|
|
1099
|
+
`,W7={xsmall:j7,small:V7,medium:B7,large:R7};function U7({size:e="medium",...t}){const r=W7[e];return C(r,{...t})}const H7=F(kn)`
|
|
1040
1100
|
letter-spacing: ${h.letter_spacing_number_small};
|
|
1041
1101
|
line-height: ${h.line_height_number_small};
|
|
1042
1102
|
font-size: ${h.font_size_number_small};
|
|
1043
|
-
`,
|
|
1103
|
+
`,G7=F(kn)`
|
|
1044
1104
|
letter-spacing: ${h.letter_spacing_number_xsmall};
|
|
1045
1105
|
line-height: ${h.line_height_number_xsmall};
|
|
1046
1106
|
font-size: ${h.font_size_number_xsmall};
|
|
1047
|
-
`,
|
|
1107
|
+
`,Y7=F(kn)`
|
|
1048
1108
|
letter-spacing: ${h.letter_spacing_number_large};
|
|
1049
1109
|
line-height: ${h.line_height_number_large};
|
|
1050
1110
|
font-size: ${h.font_size_number_large};
|
|
1051
|
-
`,
|
|
1111
|
+
`,q7=F(kn)`
|
|
1052
1112
|
letter-spacing: ${h.letter_spacing_number_medium};
|
|
1053
1113
|
line-height: ${h.line_height_number_medium};
|
|
1054
1114
|
font-size: ${h.font_size_number_medium};
|
|
1055
|
-
`,
|
|
1115
|
+
`,Z7={xsmall:G7,small:H7,medium:q7,large:Y7};function X7({size:e="medium",...t}){const r=Z7[e];return C(r,{...t})}const J7={caption:X7,body:K7,number:U7},Q7={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=J7[r],f=Q7[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 Ws={small:"32px",large:"40px"},Ub={circle:h.border_radius_circle,square:h.border_radius_400},Zo=F.button`
|
|
1056
1116
|
all: unset;
|
|
1057
1117
|
appearance: none;
|
|
1058
1118
|
flex-shrink: 0;
|
|
1059
1119
|
display: grid;
|
|
1060
1120
|
line-height: 1;
|
|
1061
1121
|
place-items: center;
|
|
1062
|
-
border-radius: var(--icon-button-border-radius, ${
|
|
1063
|
-
height: var(--icon-button-size, ${
|
|
1064
|
-
width: var(--icon-button-size, ${
|
|
1122
|
+
border-radius: var(--icon-button-border-radius, ${Ub.square});
|
|
1123
|
+
height: var(--icon-button-size, ${Ws.small});
|
|
1124
|
+
width: var(--icon-button-size, ${Ws.small});
|
|
1065
1125
|
touch-action: none;
|
|
1066
1126
|
cursor: pointer;
|
|
1067
1127
|
white-space: nowrap;
|
|
@@ -1093,7 +1153,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1093
1153
|
bottom: 0;
|
|
1094
1154
|
right: 0;
|
|
1095
1155
|
}
|
|
1096
|
-
`,
|
|
1156
|
+
`,eT=F(Zo)`
|
|
1097
1157
|
background: ${h.color_fill_primary_enabled};
|
|
1098
1158
|
color: ${h.color_white};
|
|
1099
1159
|
|
|
@@ -1110,7 +1170,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1110
1170
|
background: ${h.color_fill_primary_disabled};
|
|
1111
1171
|
color: ${h.color_fill_inverse_pressed};
|
|
1112
1172
|
}
|
|
1113
|
-
`,
|
|
1173
|
+
`,tT=F(Zo)`
|
|
1114
1174
|
background: ${h.color_fill_secondary_enabled};
|
|
1115
1175
|
color: ${h.color_fill_primary_enabled};
|
|
1116
1176
|
|
|
@@ -1127,7 +1187,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1127
1187
|
&:disabled {
|
|
1128
1188
|
background: ${h.color_fill_secondary_disabled};
|
|
1129
1189
|
}
|
|
1130
|
-
`,
|
|
1190
|
+
`,rT=F(Zo)`
|
|
1131
1191
|
background: ${h.color_fill_danger_enabled};
|
|
1132
1192
|
color: ${h.color_white};
|
|
1133
1193
|
|
|
@@ -1144,7 +1204,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1144
1204
|
&:disabled {
|
|
1145
1205
|
background: ${h.color_fill_danger_disabled};
|
|
1146
1206
|
}
|
|
1147
|
-
`,
|
|
1207
|
+
`,nT=F(Zo)`
|
|
1148
1208
|
background: ${h.color_white};
|
|
1149
1209
|
|
|
1150
1210
|
&:hover {
|
|
@@ -1158,7 +1218,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1158
1218
|
&:disabled {
|
|
1159
1219
|
background: ${h.color_fill_inverse_disabled};
|
|
1160
1220
|
}
|
|
1161
|
-
`,
|
|
1221
|
+
`,oT={primary:eT,secondary:tT,danger:rT,inverse:nT},Us=l.forwardRef((e,t)=>{const r=lt(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,...f},r),{isFocusVisible:v,focusProps:$}=Or({autoFocus:d}),y=[v?"focused":void 0,g?"pressed":void 0].filter(Boolean).join(" "),k=oT[a],N=Ub[i],P=Ws[o];return C(k,{ref:r,...ve(b,f,$,{"data-state":y}),style:{"--icon-button-size":P,"--icon-button-border-radius":N},children:C(on,{label:n,children:u})})});Us.displayName="Button";const aT=F.div`
|
|
1162
1222
|
position: relative;
|
|
1163
1223
|
border-radius: ${h.border_radius_400};
|
|
1164
1224
|
border: 1px dashed ${h.color_fill_secondary_enabled};
|
|
@@ -1181,7 +1241,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1181
1241
|
&[data-state~='dropping'] {
|
|
1182
1242
|
border-color: ${h.color_outline_secondary_selected_pressed};
|
|
1183
1243
|
}
|
|
1184
|
-
`,
|
|
1244
|
+
`,iT=F.div`
|
|
1185
1245
|
border-radius: ${h.border_radius_circle};
|
|
1186
1246
|
display: grid;
|
|
1187
1247
|
place-content: center;
|
|
@@ -1193,24 +1253,24 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1193
1253
|
& > svg {
|
|
1194
1254
|
font-size: 1rem;
|
|
1195
1255
|
}
|
|
1196
|
-
`,
|
|
1256
|
+
`,sT=F.div`
|
|
1197
1257
|
display: flex;
|
|
1198
1258
|
gap: ${h.sizing_200};
|
|
1199
|
-
`,
|
|
1259
|
+
`,lT=F.div`
|
|
1200
1260
|
display: flex;
|
|
1201
1261
|
gap: ${h.sizing_500};
|
|
1202
1262
|
justify-content: space-between;
|
|
1203
1263
|
align-items: center;
|
|
1204
|
-
`,
|
|
1264
|
+
`,cT=F.div`
|
|
1205
1265
|
display: flex;
|
|
1206
1266
|
flex-direction: column;
|
|
1207
1267
|
gap: ${h.sizing_100};
|
|
1208
|
-
`,
|
|
1268
|
+
`,dT=F.footer`
|
|
1209
1269
|
margin-top: ${h.spacing_300};
|
|
1210
1270
|
display: flex;
|
|
1211
1271
|
justify-content: flex-end;
|
|
1212
1272
|
gap: ${h.sizing_200};
|
|
1213
|
-
`,
|
|
1273
|
+
`,uT=F.label`
|
|
1214
1274
|
cursor: pointer;
|
|
1215
1275
|
text-decoration: underline;
|
|
1216
1276
|
color: ${h.color_text_strong};
|
|
@@ -1230,23 +1290,23 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1230
1290
|
left: 0;
|
|
1231
1291
|
right: 0;
|
|
1232
1292
|
}
|
|
1233
|
-
`,
|
|
1293
|
+
`,fT=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=lt(t),s="file-uploader-input-"+l.useId(),{dropProps:c,isDropTarget:d}=N7({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(aT,{...c,role:"button",tabIndex:0,ref:i,"data-state":d?"dropping":"",children:r?ie(lT,{children:[C(Lr,{size:"large",children:r.name}),ie(mu,{children:[C(hu,{asChild:!0,children:C(Us,{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(dT,{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,children:"Confirm"})})]})]})]})]}):ie(sT,{children:[C(iT,{children:C(Fe.CloudUpload,{})}),ie(cT,{children:[ie(Lr,{variant:"weak",children:["Drag and drop to upload, or"," ",C(uT,{htmlFor:s,children:"browse files"})]}),ie(Lr,{variant:"weak",size:"small",children:["Supported formats:"," ",fT.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 Hs=F.h1`
|
|
1234
1294
|
font-family: ${h.font_family_inter_display};
|
|
1235
1295
|
font-weight: 500;
|
|
1236
1296
|
font-style: normal;
|
|
1237
1297
|
margin: 0;
|
|
1238
|
-
`,
|
|
1298
|
+
`,pT=F(Hs)`
|
|
1239
1299
|
letter-spacing: ${h.letter_spacing_heading_large};
|
|
1240
1300
|
font-size: ${h.font_size_heading_large};
|
|
1241
|
-
`,
|
|
1301
|
+
`,mT=F(Hs)`
|
|
1242
1302
|
letter-spacing: ${h.letter_spacing_heading_medium};
|
|
1243
1303
|
font-size: ${h.font_size_heading_medium};
|
|
1244
|
-
`,
|
|
1304
|
+
`,hT={small:F(Hs)`
|
|
1245
1305
|
letter-spacing: ${h.letter_spacing_heading_small};
|
|
1246
1306
|
font-size: ${h.font_size_heading_small};
|
|
1247
|
-
`,medium:
|
|
1307
|
+
`,medium:mT,large:pT},Gb=l.forwardRef((e,t)=>{const{children:r,as:n,size:o,...a}=e,i=hT[o];return C(i,{...a,ref:t,as:n,children:r})});Gb.displayName="Heading";const Gs="nav-menu-portal";var Yb=(e=>(e.Up="Up",e.Down="Down",e))(Yb||{});const Ys=l.createContext({direction:"Down",menuRef:null,open:!1,setOpen:function(){throw new Error("Function not implemented.")}}),bT=F.div`
|
|
1248
1308
|
position: relative;
|
|
1249
|
-
`,
|
|
1309
|
+
`,Kr=l.forwardRef((e,t)=>{const[r,n]=l.useState(!1),o=lt(t);return l.useEffect(()=>{const a=document.getElementById(Gs);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(Ys.Provider,{value:{menuRef:o,open:r,setOpen:n,direction:e.direction??"Down"},children:C(bT,{ref:o,role:"menu",children:e.children})})});Kr.displayName="NavigationMenu";const gT=F.button`
|
|
1250
1310
|
cursor: pointer;
|
|
1251
1311
|
padding: 8px;
|
|
1252
1312
|
border: 1px solid transparent;
|
|
@@ -1258,7 +1318,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1258
1318
|
&:hover {
|
|
1259
1319
|
border: ${e=>e.open?"":"1px solid rgba(0, 0, 0, 0.16);"};
|
|
1260
1320
|
}
|
|
1261
|
-
`,
|
|
1321
|
+
`,qb=({children:e})=>{const{open:t,setOpen:r}=l.useContext(Ys);return C(gT,{open:t,onClick:()=>r(!t),tabIndex:0,children:e})};Kr.Trigger=qb;const vT=F.div`
|
|
1262
1322
|
visibility: ${e=>e.open?"visible":"hidden"};
|
|
1263
1323
|
position: absolute;
|
|
1264
1324
|
width: ${e=>e.width}px;
|
|
@@ -1275,7 +1335,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1275
1335
|
0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03),
|
|
1276
1336
|
0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03),
|
|
1277
1337
|
0px 0px 8px rgba(0, 0, 0, 0.03);
|
|
1278
|
-
`,
|
|
1338
|
+
`,Zb=({children:e,portalIdOverride:t})=>{const[r,n]=l.useState(null),{direction:o,open:a,menuRef:i}=l.useContext(Ys),[s,c]=l.useState(0),[d,u]=l.useState(0),[f,p]=l.useState(0),m=document.getElementById(t||Gs),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(vT,{width:s,top:d,left:f,ref:b,open:a,children:e}),m)};Kr.List=Zb;const yT=F.div`
|
|
1279
1339
|
color: #454749;
|
|
1280
1340
|
border-radius: ${h.border_radius_400};
|
|
1281
1341
|
margin: 4px;
|
|
@@ -1301,17 +1361,17 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1301
1361
|
&:hover {
|
|
1302
1362
|
background-color: #F5F5F5;
|
|
1303
1363
|
}
|
|
1304
|
-
`;function
|
|
1364
|
+
`;function qs({as:e,...t}){return C(yT,{children:C(e??"div",{...t})})}Kr.Item=qs;const $T=F.div`
|
|
1305
1365
|
margin: 0 4px;
|
|
1306
1366
|
border-top: 1px solid rgba(0, 0, 0, 0.12);
|
|
1307
|
-
`;function
|
|
1367
|
+
`;function Xb(){return C($T,{})}Kr.Separator=Xb;const xT=Object.assign(Kr,{Trigger:qb,List:Zb,Item:qs,Separator:Xb}),wT=()=>C("div",{id:Gs});function Zs(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,k)=>$.indexOf(y.ref.current)-$.indexOf(k.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}},{}),_T=l.createContext(void 0);function Xo(e){const t=l.useContext(_T);return e||t||"ltr"}const Xs="rovingFocusGroup.onEntryFocus",ET={bubbles:!1,cancelable:!0},Js="RovingFocusGroup",[Qs,Qb,PT]=Zs(Js),[ST,Jo]=Re(Js,[PT]),[kT,TT]=ST(Js),DT=l.forwardRef((e,t)=>l.createElement(Qs.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(Qs.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(CT,A({},e,{ref:t}))))),CT=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),[k,N]=l.useState(0);return l.useEffect(()=>{const P=f.current;if(P)return P.addEventListener(Xs,x),()=>P.removeEventListener(Xs,x)},[x]),l.createElement(kT,{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||k===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(Xs,ET);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))})))}),OT="RovingFocusGroupItem",IT=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...i}=e,s=at(),c=a||s,d=TT(OT,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(Qs.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=MT(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?zT($,x+1):$.slice(x+1)}setTimeout(()=>e0($))}})})))}),AT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function NT(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function MT(e,t,r){const n=NT(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return AT[n]}function e0(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function zT(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const t0=DT,r0=IT,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",[FT,J2]=Re(n0,[Jo]),o0=Jo(),[LT,el]=FT(n0),KT=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(LT,{scope:r,baseId:at(),value:f,onValueChange:p,orientation:i,dir:u,activationMode:c},l.createElement(Qo.div,A({dir:u,"data-orientation":i},d,{ref:t})))}),jT="TabsList",VT=l.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,a=el(jT,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})))}),BT="TabsTrigger",RT=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,i=el(BT,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)})})))}),WT="TabsContent",UT=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:a,...i}=e,s=el(WT,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 HT=KT,GT=VT,YT=RT,qT=UT,ZT=F(HT)`
|
|
1308
1368
|
display: flex;
|
|
1309
1369
|
flex-direction: column;
|
|
1310
1370
|
font-family: ${h.font_family_sans};
|
|
1311
|
-
`,
|
|
1371
|
+
`,XT=F(GT)`
|
|
1312
1372
|
flex-shrink: 0;
|
|
1313
1373
|
display: flex;
|
|
1314
|
-
`,
|
|
1374
|
+
`,s0=F(YT)`
|
|
1315
1375
|
all: unset;
|
|
1316
1376
|
font-family: inherit;
|
|
1317
1377
|
color: ${h.color_text_weak};
|
|
@@ -1347,7 +1407,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1347
1407
|
position: relative;
|
|
1348
1408
|
box-shadow: 0 0 0 1px ${h.color_black};
|
|
1349
1409
|
}
|
|
1350
|
-
`,
|
|
1410
|
+
`,JT=F(s0)`
|
|
1351
1411
|
display: flex;
|
|
1352
1412
|
align-items: center;
|
|
1353
1413
|
gap: ${h.sizing_200};
|
|
@@ -1355,7 +1415,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1355
1415
|
& > svg {
|
|
1356
1416
|
font-size: 1rem;
|
|
1357
1417
|
}
|
|
1358
|
-
`,
|
|
1418
|
+
`,QT=F(qT)`
|
|
1359
1419
|
flex-grow: 1;
|
|
1360
1420
|
padding: ${h.sizing_450};
|
|
1361
1421
|
background-color: white;
|
|
@@ -1364,11 +1424,11 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
1364
1424
|
&:focus-visible {
|
|
1365
1425
|
box-shadow: ${h.elevation_interactive_low};
|
|
1366
1426
|
}
|
|
1367
|
-
`,
|
|
1427
|
+
`,eD=["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}},{}),tl="horizontal",tD=["horizontal","vertical"],l0=l.forwardRef((e,t)=>{const{decorative:r,orientation:n=tl,...o}=e,a=c0(n)?n:tl,s=r?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return l.createElement(eD.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(rD(o,r)):null}};function rD(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
|
|
1368
1428
|
- horizontal
|
|
1369
1429
|
- vertical
|
|
1370
1430
|
|
|
1371
|
-
Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,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 ag(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const Js="dismissableLayer.update",R7="dismissableLayer.pointerDownOutside",W7="dismissableLayer.focusOutside";let ig;const sg=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),U7=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(sg),[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=G7(_=>{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=Y7(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return Qr(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(ig=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),lg(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=ig)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),lg())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(Js,_),()=>document.removeEventListener(Js,_)},[]),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)}))}),H7=l.forwardRef((e,t)=>{const r=l.useContext(sg),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 G7(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(){cg(R7,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 Y7(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&&cg(W7,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 lg(){const e=new CustomEvent(Js);document.dispatchEvent(e)}function cg(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?ag(o,a):o.dispatchEvent(a)}const q7=U7,Z7=H7,X7=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}),dg=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}}))),ug="ToastProvider",[Qs,J7,Q7]=Hs("Toast"),[fg,MI]=Re("Toast",[Q7]),[eD,Zo]=fg(ug),pg=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(Qs.Provider,{scope:t},l.createElement(eD,{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))};pg.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${ug}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const tD="ToastViewport",rD=["F8"],el="toast.viewportPause",tl="toast.viewportResume",nD=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=rD,label:o="Notifications ({hotkey})",...a}=e,i=Zo(tD,r),s=J7(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(el);$.dispatchEvent(N),i.isClosePausedRef.current=!0}},w=()=>{if(i.isClosePausedRef.current){const N=new CustomEvent(tl);$.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,...vD(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(rl(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(Z7,{ref:c,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:b?void 0:"none"}},b&&l.createElement(mg,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});rl(v)}}),l.createElement(Qs.Slot,{scope:r},l.createElement(Tt.ol,A({tabIndex:-1},a,{ref:p}))),b&&l.createElement(mg,{ref:u,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});rl(v)}}))}),oD="ToastFocusProxy",mg=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=Zo(oD,r);return l.createElement(dg,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()}}))}),Xo="Toast",aD="toast.swipeStart",iD="toast.swipeMove",sD="toast.swipeCancel",lD="toast.swipeEnd",cD=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=tt({prop:n,defaultProp:o,onChange:a});return l.createElement(Ze,{present:r||s},l.createElement(hg,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)})})))}),[dD,uD]=fg(Xo,{onClose(){}}),hg=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=Zo(Xo,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(el,se),O.addEventListener(tl,X),()=>{O.removeEventListener(el,se),O.removeEventListener(tl,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?yg(v):null,[v]);return g.viewport?l.createElement(l.Fragment,null,S&&l.createElement(fD,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},S),l.createElement(dD,{scope:r,onClose:D},Ve.createPortal(l.createElement(Qs.ItemSlot,{scope:r},l.createElement(q7,{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,Jo(iD,f,R,{discrete:!1})):$g(V,g.swipeDirection,L)?(y.current=V,Jo(aD,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};$g(X,g.swipeDirection,g.swipeThreshold)?Jo(lD,m,ae,{discrete:!0}):Jo(sD,p,ae,{discrete:!0}),G.addEventListener("click",te=>te.preventDefault(),{once:!0})}})})))),g.viewport))):null});hg.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${Xo}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const fD=e=>{const{__scopeToast:t,children:r,...n}=e,o=Zo(Xo,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return bD(()=>i(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(X7,{asChild:!0},l.createElement(dg,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},pD=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(Tt.div,A({},n,{ref:t}))}),mD="ToastAction",bg=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(vg,{altText:r,asChild:!0},l.createElement(gg,A({},n,{ref:t}))):null});bg.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${mD}\``)}};const hD="ToastClose",gg=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=uD(hD,r);return l.createElement(vg,{asChild:!0},l.createElement(Tt.button,A({type:"button"},n,{ref:t,onClick:oe(e.onClick,o.onClose)})))}),vg=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 yg(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),gD(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(...yg(n))}}),t}function Jo(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?ag(o,a):o.dispatchEvent(a)}const $g=(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 bD(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 gD(e){return e.nodeType===e.ELEMENT_NODE}function vD(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 rl(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const yD=pg,$D=nD,xD=cD,wD=pD,_D=bg,ED=gg,nl=25,PD=bt`
|
|
1431
|
+
Defaulting to \`${tl}\`.`}function c0(e){return tD.includes(e)}const nD=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 rl="dismissableLayer.update",oD="dismissableLayer.pointerDownOutside",aD="dismissableLayer.focusOutside";let u0;const f0=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(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,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&&(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(rl,_),()=>document.removeEventListener(rl,_)},[]),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(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 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(){m0(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&&m0(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 p0(){const e=new CustomEvent(rl);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 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}),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",[nl,pD,mD]=Zs("Toast"),[g0,tI]=Re("Toast",[mD]),[hD,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(nl.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))};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 bD="ToastViewport",gD=["F8"],ol="toast.viewportPause",al="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(ol);$.dispatchEvent(N),i.isClosePausedRef.current=!0}},w=()=>{if(i.isClosePausedRef.current){const N=new CustomEvent(al);$.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(il(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(y0,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});il(v)}}),l.createElement(nl.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"});il(v)}}))}),yD="ToastFocusProxy",y0=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=ea(yD,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",$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($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)})})))}),[PD,SD]=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),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(ol,se),O.addEventListener(al,X),()=>{O.removeEventListener(ol,se),O.removeEventListener(al,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?E0(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(nl.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})):P0(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};P0(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});$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 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(h0,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",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 \`${DD}\``)}};const CD="ToastClose",w0=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=SD(CD,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),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(...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 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 il(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const ND=v0,MD=vD,zD=ED,FD=TD,LD=x0,KD=w0,sl=25,jD=gt`
|
|
1372
1432
|
0% {
|
|
1373
1433
|
opacity: 1
|
|
1374
1434
|
}
|
|
@@ -1376,24 +1436,24 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1376
1436
|
100% {
|
|
1377
1437
|
opacity: 0
|
|
1378
1438
|
}
|
|
1379
|
-
`,
|
|
1439
|
+
`,VD=gt`
|
|
1380
1440
|
from {
|
|
1381
|
-
transform: translateX(calc(100% + ${
|
|
1441
|
+
transform: translateX(calc(100% + ${sl}px));
|
|
1382
1442
|
}
|
|
1383
1443
|
|
|
1384
1444
|
to {
|
|
1385
1445
|
transform: translateX(0);
|
|
1386
1446
|
}
|
|
1387
|
-
`,
|
|
1447
|
+
`,BD=gt`
|
|
1388
1448
|
from {
|
|
1389
1449
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
1390
1450
|
}
|
|
1391
1451
|
to {
|
|
1392
|
-
transform: translateX(calc(100% + ${
|
|
1452
|
+
transform: translateX(calc(100% + ${sl}px));
|
|
1393
1453
|
}
|
|
1394
|
-
`,
|
|
1454
|
+
`,RD=F(LD)`
|
|
1395
1455
|
all: unset;
|
|
1396
|
-
`,
|
|
1456
|
+
`,S0=F(KD)`
|
|
1397
1457
|
all: unset;
|
|
1398
1458
|
display: grid;
|
|
1399
1459
|
width: ${h.sizing_500};
|
|
@@ -1410,7 +1470,7 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1410
1470
|
& > svg {
|
|
1411
1471
|
font-size: 0.95rem;
|
|
1412
1472
|
}
|
|
1413
|
-
`,
|
|
1473
|
+
`,WD=F(FD)`
|
|
1414
1474
|
font-family: ${h.font_family_sans};
|
|
1415
1475
|
font-style: normal;
|
|
1416
1476
|
font-weight: 500;
|
|
@@ -1419,7 +1479,7 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1419
1479
|
letter-spacing: ${h.letter_spacing_tight};
|
|
1420
1480
|
display: flex;
|
|
1421
1481
|
align-items: center;
|
|
1422
|
-
`,
|
|
1482
|
+
`,k0=F(nD)`
|
|
1423
1483
|
background-color: var(--color-separator);
|
|
1424
1484
|
|
|
1425
1485
|
&[data-orientation='horizontal'] {
|
|
@@ -1433,20 +1493,20 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1433
1493
|
height: 100%;
|
|
1434
1494
|
width: 1;
|
|
1435
1495
|
}
|
|
1436
|
-
`,
|
|
1496
|
+
`,UD={info:h.color_background_white_standard,inverse:h.color_background_sentiment_neutral,negative:h.color_background_sentiment_negative},HD={info:h.color_text_standard,inverse:h.color_background_white_standard,negative:h.color_background_white_standard},GD={info:h.color_divider_weak,inverse:h.color_divider_inverse_weak,negative:h.color_divider_inverse_weak},YD=F(MD)`
|
|
1437
1497
|
position: fixed;
|
|
1438
1498
|
bottom: 0;
|
|
1439
1499
|
right: 0;
|
|
1440
1500
|
display: flex;
|
|
1441
1501
|
flex-direction: column;
|
|
1442
|
-
padding: ${
|
|
1502
|
+
padding: ${sl}px;
|
|
1443
1503
|
gap: 10px;
|
|
1444
1504
|
max-width: 100vw;
|
|
1445
1505
|
margin: 0;
|
|
1446
1506
|
list-style: none;
|
|
1447
1507
|
z-index: 30;
|
|
1448
1508
|
outline: none;
|
|
1449
|
-
`,
|
|
1509
|
+
`,qD=F(zD)`
|
|
1450
1510
|
display: flex;
|
|
1451
1511
|
flex-direction: row;
|
|
1452
1512
|
align-items: center;
|
|
@@ -1463,11 +1523,11 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1463
1523
|
}
|
|
1464
1524
|
|
|
1465
1525
|
&[data-state~='open'] {
|
|
1466
|
-
animation: ${
|
|
1526
|
+
animation: ${VD} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
1467
1527
|
}
|
|
1468
1528
|
|
|
1469
1529
|
&[data-state~='closed'] {
|
|
1470
|
-
animation: ${
|
|
1530
|
+
animation: ${jD} 100ms ease-in;
|
|
1471
1531
|
}
|
|
1472
1532
|
|
|
1473
1533
|
&[data-swipe='move'] {
|
|
@@ -1480,42 +1540,42 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1480
1540
|
}
|
|
1481
1541
|
|
|
1482
1542
|
&[data-swipe='end'] {
|
|
1483
|
-
animation: ${
|
|
1543
|
+
animation: ${BD} 100ms ease-out;
|
|
1484
1544
|
}
|
|
1485
|
-
`;function
|
|
1545
|
+
`;function ZD({children:e,...t}){return C(ND,{...t,children:e})}function XD({title:e,children:t,sentiment:r,onDismiss:n,...o}){const a=UD[r],i=HD[r],s=GD[r];return ie(qD,{style:{"--color-background-notification":a,"--color-notification":i},...o,children:[r==="negative"?C(Fe.Warning,{height:18}):null,C(WD,{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 JD=F.div`
|
|
1486
1546
|
display: grid;
|
|
1487
1547
|
grid-template-columns: repeat(12, minmax(var(--min-col-width, 0), 150px));
|
|
1488
1548
|
column-gap: ${h.sizing_600};
|
|
1489
|
-
`,
|
|
1549
|
+
`,ll=qt`
|
|
1490
1550
|
width: clamp(
|
|
1491
1551
|
var(--page-min-width, 750px),
|
|
1492
1552
|
var(--page-ideal-width, 85%),
|
|
1493
1553
|
var(--page-max-width, 1600px)
|
|
1494
1554
|
);
|
|
1495
1555
|
max-width: 100%;
|
|
1496
|
-
`,
|
|
1497
|
-
${
|
|
1556
|
+
`,T0=F.div`
|
|
1557
|
+
${ll}
|
|
1498
1558
|
min-height: 100%;
|
|
1499
1559
|
margin: 0 auto;
|
|
1500
1560
|
padding: 0 ${h.sizing_100};
|
|
1501
|
-
`,
|
|
1561
|
+
`,QD=F.div`
|
|
1502
1562
|
padding-top: ${h.sizing_600};
|
|
1503
1563
|
padding-bottom: ${h.sizing_800};
|
|
1504
|
-
`,
|
|
1564
|
+
`,D0=F.header`
|
|
1505
1565
|
display: flex;
|
|
1506
1566
|
flex-direction: column;
|
|
1507
1567
|
gap: ${h.sizing_500};
|
|
1508
1568
|
padding-block: ${h.sizing_500};
|
|
1509
1569
|
margin: 0 auto;
|
|
1510
|
-
`,
|
|
1511
|
-
${
|
|
1570
|
+
`,e6=F.header`
|
|
1571
|
+
${ll}
|
|
1512
1572
|
z-index: 1;
|
|
1513
1573
|
position: sticky;
|
|
1514
1574
|
top: 0;
|
|
1515
1575
|
background-color: white;
|
|
1516
1576
|
box-shadow: ${h.elevation_interactive_low},
|
|
1517
1577
|
${h.elevation_interactive_medium};
|
|
1518
|
-
`,
|
|
1578
|
+
`,t6=({children:e,className:t})=>C(e6,{className:t,children:C(T0,{children:C(D0,{as:"div",children:e})})}),r6=F.div`
|
|
1519
1579
|
display: flex;
|
|
1520
1580
|
align-items: center;
|
|
1521
1581
|
gap: ${h.sizing_200};
|
|
@@ -1523,7 +1583,7 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1523
1583
|
& > :first-child {
|
|
1524
1584
|
margin-right: auto;
|
|
1525
1585
|
}
|
|
1526
|
-
`,
|
|
1586
|
+
`,C0=F(Nr)`
|
|
1527
1587
|
display: grid;
|
|
1528
1588
|
place-content: center;
|
|
1529
1589
|
border-radius: ${h.border_radius_400};
|
|
@@ -1539,15 +1599,15 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1539
1599
|
line-height: 0;
|
|
1540
1600
|
font-size: ${h.font_size_200};
|
|
1541
1601
|
}
|
|
1542
|
-
`,
|
|
1602
|
+
`,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(C0,{variant:"inverse",emphasis:"high",ref:t,...o,children:C(on,{label:n,children:a})})});na.displayName="PaginatorButton";const n6=F(C0)`
|
|
1543
1603
|
&[aria-current='true'] {
|
|
1544
1604
|
background-color: ${h.color_overlay_secondary_selected_enabled};
|
|
1545
1605
|
}
|
|
1546
|
-
`,
|
|
1606
|
+
`,oa=l.forwardRef((e,t)=>{const{children:r,...n}=e;return C(n6,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});oa.displayName="PaginatorNumber";const o6=F.nav`
|
|
1547
1607
|
display: flex;
|
|
1548
1608
|
gap: 4px;
|
|
1549
1609
|
width: min-content;
|
|
1550
|
-
`;function
|
|
1610
|
+
`;function a6({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(o6,{"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}},{}),O0="Radio",[i6,I0]=Re(O0),[s6,l6]=i6(O0),c6=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(s6,{scope:r,checked:o,disabled:i},l.createElement(cl.button,A({type:"button",role:"radio","aria-checked":o,"data-state":A0(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(f6,{control:u,bubbles:!m.current,name:n,value:s,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),d6="RadioIndicator",u6=l.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,a=l6(d6,r);return l.createElement(Xe,{present:n||a.checked},l.createElement(cl.span,A({"data-state":A0(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),f6=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 A0(e){return e?"checked":"unchecked"}const p6=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],N0="RadioGroup",[m6,nI]=Re(N0,[Jo,I0]),M0=Jo(),z0=I0(),[h6,b6]=m6(N0),g6=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=M0(r),b=Xo(d),[g,v]=rt({prop:a,defaultProp:o,onChange:f});return l.createElement(h6,{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}))))}),v6="RadioGroupItem",y6=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,a=b6(v6,r),i=a.disabled||n,s=M0(r),c=z0(r),d=l.useRef(null),u=pe(t,d),f=a.value===o.value,p=l.useRef(!1);return l.useEffect(()=>{const m=g=>{p6.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(c6,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())})})))}),$6=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=z0(r);return l.createElement(u6,A({},o,n,{ref:t}))}),x6=g6,w6=y6,_6=$6,F0=F(w6)`
|
|
1551
1611
|
all: unset;
|
|
1552
1612
|
--radio-width: ${h.sizing_600};
|
|
1553
1613
|
--inner-circle-color: ${h.color_white};
|
|
@@ -1606,7 +1666,7 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1606
1666
|
cursor: not-allowed;
|
|
1607
1667
|
color: ${h.color_fill_primary_disabled};
|
|
1608
1668
|
}
|
|
1609
|
-
`,
|
|
1669
|
+
`,L0=F(_6)`
|
|
1610
1670
|
display: grid;
|
|
1611
1671
|
place-items: center;
|
|
1612
1672
|
width: 100%;
|
|
@@ -1637,7 +1697,7 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1637
1697
|
border-radius: ${h.border_radius_circle};
|
|
1638
1698
|
background-color: var(--inner-circle-color);
|
|
1639
1699
|
}
|
|
1640
|
-
`;function cC({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=dt(),i=t??a,s=Fo();return C(iC,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function dC({disabled:e,...t}){const r=dt(),n=e??r,o=Fo();return C(Ig,{...t,...o,disabled:n,children:C(Ag,{})})}function Ng(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 uC(e,t){e&&Ve.flushSync(()=>e.dispatchEvent(t))}const il="dismissableLayer.update",fC="dismissableLayer.pointerDownOutside",pC="dismissableLayer.focusOutside";let Mg;const mC=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hC=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(mC),[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=bC(_=>{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=gC(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return Qr(_=>{w===u.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Mg=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),zg(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Mg)}},[f,m,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),zg())},[f,u]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(il,_),()=>document.removeEventListener(il,_)},[]),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 bC(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(){Fg(fC,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 gC(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&&Fg(pC,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 zg(){const e=new CustomEvent(il);document.dispatchEvent(e)}function Fg(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?uC(o,a):o.dispatchEvent(a)}const Lg="Popper",[sl,Kg]=Re(Lg),[vC,jg]=sl(Lg),yC=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(vC,{scope:t,anchor:n,onAnchorChange:o},r)},$C="PopperAnchor",xC=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=jg($C,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}))}),ta="PopperContent",[wC,KI]=sl(ta),[_C,EC]=sl(ta,{hasParent:!1,positionUpdateFns:new Set}),PC=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=jg(ta,u),[_,I]=l.useState(null),W=pe(t,_e=>I(_e)),[D,j]=l.useState(null),S=$r(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(TC),altBoundary:te},{reference:M,floating:L,strategy:V,x:R,y:J,placement:k,middlewareData:B,update:z}=hi({strategy:"fixed",placement:se,whileElementsMounted:fi,middleware:[kC(),ii({mainAxis:p+X,alignmentAxis:b}),y?si({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?li():void 0,...K}):void 0,D?bi({element:D,padding:g}):void 0,y?oi({...K}):void 0,ci({...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`)}}),DC({arrowWidth:O,arrowHeight:X}),w?ai({strategy:"referenceHidden"}):void 0].filter(SC)});De(()=>{M(P.anchor)},[M,P.anchor]);const Q=R!==null&&J!==null,[q,ee]=Vg(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}=EC(ta,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(wC,{scope:u,placedSide:q,onArrowChange:j,arrowX:ue,arrowY:be,shouldHideArrow:ce},he?l.createElement(_C,{scope:u,hasParent:!0,positionUpdateFns:xe},l.createElement(je.div,Be)):l.createElement(je.div,Be)))});function SC(e){return e!==void 0}function TC(e){return e!==null}const kC=()=>({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`),{}}}),DC=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]=Vg(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 Vg(e){const[t,r="center"]=e.split("-");return[t,r]}const CC=yC,OC=xC,IC=PC,AC=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}),NC=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}}))),MC=[" ","Enter","ArrowUp","ArrowDown"],zC=[" ","Enter"],ra="Select",[na,oa,FC]=Hs(ra),[Lr,jI]=Re(ra,[FC,Kg]),ll=Kg(),[LC,lr]=Lr(ra),[KC,jC]=Lr(ra),VC=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=ll(t),[g,v]=l.useState(null),[$,x]=l.useState(null),[w,y]=l.useState(!1),T=Go(d),[N=!1,P]=tt({prop:n,defaultProp:o,onChange:a}),[_,I]=tt({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(CC,b,l.createElement(LC,{required:m,scope:t,trigger:g,onTriggerChange:v,valueNode:$,onValueNodeChange:x,valueNodeHasChildren:w,onValueNodeHasChildrenChange:y,contentId:ot(),value:_,onValueChange:I,open:N,onOpenChange:P,dir:T,triggerPointerDownPosRef:W,disabled:p},l.createElement(na.Provider,{scope:t},l.createElement(KC,{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(qg,{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))},BC="SelectTrigger",RC=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=ll(r),i=lr(BC,r),s=i.disabled||n,c=pe(t,i.onTriggerChange),d=oa(r),[u,f,p]=Zg(b=>{const g=d().filter(x=>!x.disabled),v=g.find(x=>x.value===i.value),$=Xg(g,b,v);$!==void 0&&i.onValueChange($.value)}),m=()=>{s||(i.onOpenChange(!0),p())};return l.createElement(OC,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===" ")&&MC.includes(b.key)&&(m(),b.preventDefault())})})))}),WC="SelectValue",UC=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,c=lr(WC,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)}),HC=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(je.span,A({"aria-hidden":!0},o,{ref:t}),n||"▼")}),GC=e=>l.createElement(AC,A({asChild:!0},e)),Kr="SelectContent",YC=l.forwardRef((e,t)=>{const r=lr(Kr,e.__scopeSelect),[n,o]=l.useState();if(De(()=>{o(new DocumentFragment)},[]),!r.open){const a=n;return a?Ve.createPortal(l.createElement(Bg,{scope:e.__scopeSelect},l.createElement(na.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),a):null}return l.createElement(qC,A({},e,{ref:t}))}),kt=10,[Bg,cr]=Lr(Kr),qC=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=lr(Kr,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=oa(r),[S,O]=l.useState(!1),X=l.useRef(!1);l.useEffect(()=>{if(w)return Na(w)},[w]),ka();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]=Zg(B=>{const z=j().filter(ee=>!ee.disabled),Q=z.find(ee=>ee.ref.current===document.activeElement),q=Xg(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"?Rg:ZC,k=J===Rg?{side:s,sideOffset:c,align:d,alignOffset:u,arrowPadding:f,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:g,avoidCollisions:v}:{};return l.createElement(Bg,{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(Ia,{as:Ke,allowPinchZoom:!0},l.createElement(Sa,{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(hC,{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()}})}))))))}),ZC=l.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,a=lr(Kr,r),i=cr(Kr,r),[s,c]=l.useState(null),[d,u]=l.useState(null),f=pe(t,P=>u(P)),p=oa(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-kt,de=Ng(Y,[kt,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-kt,de=Ng(Y,[kt,ye-ce]);s.style.minWidth=be+"px",s.style.right=de+"px"}const D=p(),j=window.innerHeight-kt*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-kt,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=`${kt}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(XC,{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}}))))}),Rg=l.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=kt,...a}=e,i=ll(r);return l.createElement(IC,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)"}}))}),[XC,cl]=Lr(Kr,{}),Wg="SelectViewport",JC=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=cr(Wg,r),a=cl(Wg,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(na.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-kt*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})}))))}),QC="SelectGroup",[e3,t3]=Lr(QC),r3=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=ot();return l.createElement(e3,{scope:r,id:o},l.createElement(je.div,A({role:"group","aria-labelledby":o},n,{ref:t})))}),n3="SelectLabel",o3=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=t3(n3,r);return l.createElement(je.div,A({id:o.id},n,{ref:t}))}),dl="SelectItem",[a3,Ug]=Lr(dl),i3=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=lr(dl,r),c=cr(dl,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=ot(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(a3,{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(na.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===" "||(zC.includes($.key)&&v(),$.key===" "&&$.preventDefault())})}))))}),aa="SelectItemText",s3=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=lr(aa,r),s=cr(aa,r),c=Ug(aa,r),d=jC(aa,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)}),l3="SelectItemIndicator",c3=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Ug(l3,r).isSelected?l.createElement(je.span,A({"aria-hidden":!0},n,{ref:t})):null}),Hg="SelectScrollUpButton",d3=l.forwardRef((e,t)=>{const r=cr(Hg,e.__scopeSelect),n=cl(Hg,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(Yg,A({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop-c.offsetHeight)}})):null}),Gg="SelectScrollDownButton",u3=l.forwardRef((e,t)=>{const r=cr(Gg,e.__scopeSelect),n=cl(Gg,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(Yg,A({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop+c.offsetHeight)}})):null}),Yg=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=cr("SelectScrollButton",r),i=l.useRef(null),s=oa(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()})}))}),f3=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(je.div,A({"aria-hidden":!0},n,{ref:t}))}),qg=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),a=pe(t,o),i=Co(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(NC,{asChild:!0},l.createElement("select",A({},n,{ref:a,defaultValue:r})))});qg.displayName="BubbleSelect";function Zg(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 Xg(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=p3(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 p3(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const m3=VC,h3=UC,b3=GC,g3=YC,v3=JC,y3=r3,$3=o3,x3=i3,w3=s3,_3=c3,E3=d3,P3=u3,S3=f3,Jg=F(RC)`
|
|
1700
|
+
`;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]=Zs(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:at(),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=at();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=at(),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)`
|
|
1641
1701
|
all: unset;
|
|
1642
1702
|
display: flex;
|
|
1643
1703
|
align-items: center;
|
|
@@ -1669,19 +1729,19 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1669
1729
|
color: ${h.color_fill_primary_disabled};
|
|
1670
1730
|
cursor: not-allowed;
|
|
1671
1731
|
}
|
|
1672
|
-
`,
|
|
1732
|
+
`,B4=F(s4)`
|
|
1673
1733
|
color: ${h.color_fill_secondary_enabled};
|
|
1674
|
-
`,
|
|
1734
|
+
`,R4=F(I4)`
|
|
1675
1735
|
font-family: ${h.font_family_sans};
|
|
1676
1736
|
overflow: hidden;
|
|
1677
1737
|
background-color: ${h.color_white};
|
|
1678
1738
|
margin-top: 52px;
|
|
1679
1739
|
border-radius: ${h.border_radius_400};
|
|
1680
1740
|
box-shadow: ${h.elevation_static_high};
|
|
1681
|
-
`,
|
|
1741
|
+
`,W4=F(A4)`
|
|
1682
1742
|
padding: ${h.sizing_100};
|
|
1683
1743
|
min-width: 172px;
|
|
1684
|
-
`;function
|
|
1744
|
+
`;function og({children:e,...t}){return C(O4,{children:C(R4,{...t,children:e})})}const U4=F(z4)`
|
|
1685
1745
|
all: unset;
|
|
1686
1746
|
font-size: ${h.font_size_100};
|
|
1687
1747
|
line-height: ${h.line_height_129};
|
|
@@ -1705,17 +1765,17 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1705
1765
|
&[data-highlighted] {
|
|
1706
1766
|
background-color: ${h.color_background_white_weak}; /* Static / Background / Weak */
|
|
1707
1767
|
}
|
|
1708
|
-
`,
|
|
1768
|
+
`,H4=F(M4)`
|
|
1709
1769
|
padding: 7px ${h.sizing_200};
|
|
1710
1770
|
font-size: ${h.font_size_50};
|
|
1711
1771
|
line-height: ${h.line_height_133};
|
|
1712
1772
|
color: ${h.color_text_weak};
|
|
1713
1773
|
font-style: normal;
|
|
1714
|
-
`,
|
|
1774
|
+
`,G4=F(V4)`
|
|
1715
1775
|
height: 1px;
|
|
1716
1776
|
background-color: ${h.color_divider_standard};
|
|
1717
1777
|
margin: ${h.spacing_100};
|
|
1718
|
-
`,
|
|
1778
|
+
`,Y4=F(L4)`
|
|
1719
1779
|
left: 0;
|
|
1720
1780
|
width: 25px;
|
|
1721
1781
|
display: inline-flex;
|
|
@@ -1726,7 +1786,7 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1726
1786
|
line-height: 0;
|
|
1727
1787
|
font-size: ${h.font_size_200};
|
|
1728
1788
|
}
|
|
1729
|
-
`,
|
|
1789
|
+
`,ag=`
|
|
1730
1790
|
display: flex;
|
|
1731
1791
|
align-items: center;
|
|
1732
1792
|
justify-content: center;
|
|
@@ -1734,38 +1794,38 @@ Defaulting to \`${Xs}\`.`}function og(e){return j7.includes(e)}const B7=ng,Tt=["
|
|
|
1734
1794
|
background-color: ${h.color_white};
|
|
1735
1795
|
color: ${h.color_black};
|
|
1736
1796
|
cursor: default;
|
|
1737
|
-
`,
|
|
1738
|
-
${
|
|
1739
|
-
`,
|
|
1740
|
-
${
|
|
1741
|
-
`,
|
|
1797
|
+
`,q4=F(K4)`
|
|
1798
|
+
${ag}
|
|
1799
|
+
`,Z4=F(j4)`
|
|
1800
|
+
${ag}
|
|
1801
|
+
`,ig=D4,sg=ng,lg=C4,cg=B4,X4=W4,J4=N4,dg=U4,ug=F4,Q4=Y4,e3=H4,t3=G4,fg=q4,pg=Z4;function r3({items:e,...t}){return ie(ig,{...t,children:[ie(sg,{"aria-label":"Food",children:[C(lg,{placeholder:"Select"}),C(cg,{children:C(Fe.ArrowDropDown,{})})]}),ie(og,{children:[C(fg,{children:C(Fe.ArrowDropUp,{})}),e.map(r=>C(dg,{value:r,children:C(ug,{children:r})},r)),C(pg,{children:C(Fe.ArrowDropDown,{})})]})]})}function n3(e){let[t,r]=er(mg(e.value),mg(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function mg(e){if(e!=null)return e.toString()}function o3(e){return e&&e.__esModule?e.default:e}var hg={},bg={};bg={"Clear search":"مسح البحث"};var gg={};gg={"Clear search":"Изчистване на търсене"};var vg={};vg={"Clear search":"Vymazat hledání"};var yg={};yg={"Clear search":"Ryd søgning"};var $g={};$g={"Clear search":"Suche zurücksetzen"};var xg={};xg={"Clear search":"Απαλοιφή αναζήτησης"};var wg={};wg={"Clear search":"Clear search"};var _g={};_g={"Clear search":"Borrar búsqueda"};var Eg={};Eg={"Clear search":"Tühjenda otsing"};var Pg={};Pg={"Clear search":"Tyhjennä haku"};var Sg={};Sg={"Clear search":"Effacer la recherche"};var kg={};kg={"Clear search":"נקה חיפוש"};var Tg={};Tg={"Clear search":"Obriši pretragu"};var Dg={};Dg={"Clear search":"Keresés törlése"};var Cg={};Cg={"Clear search":"Cancella ricerca"};var Og={};Og={"Clear search":"検索をクリア"};var Ig={};Ig={"Clear search":"검색 지우기"};var Ag={};Ag={"Clear search":"Išvalyti iešką"};var Ng={};Ng={"Clear search":"Notīrīt meklēšanu"};var Mg={};Mg={"Clear search":"Tøm søk"};var zg={};zg={"Clear search":"Zoekactie wissen"};var Fg={};Fg={"Clear search":"Wyczyść zawartość wyszukiwania"};var Lg={};Lg={"Clear search":"Limpar pesquisa"};var Kg={};Kg={"Clear search":"Limpar pesquisa"};var jg={};jg={"Clear search":"Ştergeţi căutarea"};var Vg={};Vg={"Clear search":"Очистить поиск"};var Bg={};Bg={"Clear search":"Vymazať vyhľadávanie"};var Rg={};Rg={"Clear search":"Počisti iskanje"};var Wg={};Wg={"Clear search":"Obriši pretragu"};var Ug={};Ug={"Clear search":"Rensa sökning"};var Hg={};Hg={"Clear search":"Aramayı temizle"};var Gg={};Gg={"Clear search":"Очистити пошук"};var Yg={};Yg={"Clear search":"清除搜索"};var qg={};qg={"Clear search":"清除搜尋條件"},hg={"ar-AE":bg,"bg-BG":gg,"cs-CZ":vg,"da-DK":yg,"de-DE":$g,"el-GR":xg,"en-US":wg,"es-ES":_g,"et-EE":Eg,"fi-FI":Pg,"fr-FR":Sg,"he-IL":kg,"hr-HR":Tg,"hu-HU":Dg,"it-IT":Cg,"ja-JP":Og,"ko-KR":Ig,"lt-LT":Ag,"lv-LV":Ng,"nb-NO":Mg,"nl-NL":zg,"pl-PL":Fg,"pt-BR":Lg,"pt-PT":Kg,"ro-RO":jg,"ru-RU":Vg,"sk-SK":Bg,"sl-SI":Rg,"sr-SP":Wg,"sv-SE":Ug,"tr-TR":Hg,"uk-UA":Gg,"zh-CN":Yg,"zh-TW":qg};function a3(e,t,r){let n=Kt(o3(hg)),{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={},i3={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})(i3);var ua={},s3={get exports(){return ua},set exports(e){ua=e}},bl={},l3={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})(l3),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}(s3);var gl={};function Zg(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={},Xg={get exports(){return Pe},set exports(e){Pe=e}};/*
|
|
1742
1802
|
object-assign
|
|
1743
1803
|
(c) Sindre Sorhus
|
|
1744
1804
|
@license MIT
|
|
1745
|
-
*/var
|
|
1746
|
-
Valid keys: `+JSON.stringify(Object.keys(K),null," "));var Y=ee(B,q,R,J,
|
|
1747
|
-
`,space:" "}}function
|
|
1748
|
-
`);return o}return this.key+" "+this.value+";"},e}(),O6={"@charset":!0,"@import":!0,"@namespace":!0},I6={onCreateRule:function(t,r,n){return t in O6?new C6(t,r,n):null}},p0=[m6,v6,w6,E6,T6,D6,I6],A6={process:!0},m0={force:!0,process:!0},ca=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="."+Sl(this.classes[b]));var g=Pl(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 Tl?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Cl&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof Tl?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Cl&&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=A6);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,m0)}for(var m in d){var b=n.style[m],g=d[m];b==null&&b!==g&&n.prop(m,null,m0)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Vr(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}(),h0=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 ca(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}(),N6=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"&&Qe(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),M6=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=n0(o,["attached"]),s=Vr(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},i0(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),Cn=new M6,Il=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Al="2f1acc6c3a606b082e5eef5e54414ffb";Il[Al]==null&&(Il[Al]=0);var b0=Il[Al]++,z6=1e10,g0=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>z6&&process.env.NODE_ENV!=="production"&&Qe(!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")+b0+s+r:c+a.key+"-"+b0+(s?"-"+s:"")+"-"+r};return n},v0=function(t){var r;return function(){return r||(r=t()),r}},F6=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},L6=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=dr(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},K6=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Qe(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},j6=function(t,r){return t.selectorText=r,t.selectorText===r},y0=v0(function(){return document.querySelector("head")});function V6(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 B6(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 R6(e){for(var t=y0(),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 W6(e){var t=Cn.registry;if(t.length>0){var r=V6(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=B6(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=R6(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Qe(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function U6(e,t){var r=t.insertionPoint,n=W6(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"&&Qe(!1,"[JSS] Insertion point is not in the DOM.");return}y0().appendChild(e)}var H6=v0(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),$0=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"&&Qe(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},x0=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},G6=function(){var t=document.createElement("style");return t.textContent=`
|
|
1749
|
-
`,t},
|
|
1805
|
+
*/var yl,Jg;function c3(){if(Jg)return yl;Jg=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,Qg;function xl(){if(Qg)return $l;Qg=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $l=e,$l}var wl,ev;function tv(){return ev||(ev=1,wl=Function.call.bind(Object.prototype.hasOwnProperty)),wl}var _l,rv;function d3(){if(rv)return _l;rv=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xl(),r={},n=tv();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,nv;function u3(){if(nv)return El;nv=1;var e=mt,t=c3(),r=xl(),n=tv(),o=d3(),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:k(),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,T,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 T[B]==null?J?T[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(T,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,T,B){var z=L[V],Q=se(z);if(Q!==K){var q=G(z);return new g("Invalid "+J+" `"+T+"` 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,T){if(typeof K!="function")return new g("Property `"+T+"` 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+" `"+T+"` of type "+("`"+z+"` supplied to `"+R+"`, expected an array."))}for(var Q=0;Q<B.length;Q++){var q=K(B,Q,R,J,T+"["+Q+"]",r);if(q instanceof Error)return q}return null}return v(M)}function y(){function K(M,L,V,R,J){var T=M[L];if(!s(T)){var B=se(T);return new g("Invalid "+R+" `"+J+"` of type "+("`"+B+"` supplied to `"+V+"`, expected a single ReactElement."))}return null}return v(K)}function k(){function K(M,L,V,R,J){var T=M[L];if(!e.isValidElementType(T)){var B=se(T);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,T){if(!(L[V]instanceof K)){var B=K.name||p,z=te(L[V]);return new g("Invalid "+J+" `"+T+"` 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,T){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+" `"+T+"` of value `"+String(B)+"` "+("supplied to `"+R+"`, expected one of "+Q+"."))}return v(M)}function _(K){function M(L,V,R,J,T){if(typeof K!="function")return new g("Property `"+T+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var B=L[V],z=se(B);if(z!=="object")return new g("Invalid "+J+" `"+T+"` 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,T+"."+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,T,B,z){for(var Q=[],q=0;q<K.length;q++){var ee=K[q],Y=ee(R,J,T,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 "+("`"+T+"`"+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,T){var B=L[V],z=se(B);if(z!=="object")return new g("Invalid "+J+" `"+T+"` 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,T,Q,G(q));var ee=q(B,Q,R,J,T+"."+Q,r);if(ee)return ee}return null}return v(M)}function S(K){function M(L,V,R,J,T){var B=L[V],z=se(B);if(z!=="object")return new g("Invalid "+J+" `"+T+"` 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,T,q,G(ee));if(!ee)return new g("Invalid "+J+" `"+T+"` key `"+q+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(L[V],null," ")+`
|
|
1806
|
+
Valid keys: `+JSON.stringify(Object.keys(K),null," "));var Y=ee(B,q,R,J,T+"."+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,ov;function f3(){if(ov)return Pl;ov=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 p3=mt,m3=!0;Xg.exports=u3()(p3.isElement,m3)}else Xg.exports=f3()();function h3(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 av(e){var t=h3(e,"string");return Vt(t)==="symbol"?t:String(t)}function Tn(e,t,r){return t=av(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b3="exact-prop: ";function g3(e){return process.env.NODE_ENV==="production"?e:A({},e,Tn({},b3,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 v3=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function y3(e){var t="".concat(e).match(v3),r=t&&t[1];return r||""}function iv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||y3(e)||t}function sv(e,t,r){var n=iv(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 iv(e,"Component");if(Vt(e)==="object")switch(e.$$typeof){case mt.ForwardRef:return sv(e,e.render,"ForwardRef");case mt.Memo:return sv(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 $3(){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 lv(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=lv(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 x3=typeof Symbol=="function"&&Symbol.for;const w3=x3?Symbol.for("mui.nested"):"__THEME_NESTED__";var _3=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function E3(){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(_3.indexOf(u.key)!==-1)return"Mui-".concat(u.key);var m="".concat(s).concat(p,"-").concat(u.key);return!f.options.theme[w3]||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 P3(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 S3=process.env.NODE_ENV==="production";function et(e,t){if(!S3){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var cv=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":cv(window))==="object"&&(typeof document>"u"?"undefined":cv(document))==="object"&&document.nodeType===9;function dv(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,av(n.key),n)}}function uv(e,t,r){return t&&dv(e.prototype,t),r&&dv(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 fv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,kl(e,t)}function pv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var k3={}.constructor;function Tl(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Tl);if(e.constructor!==k3)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 mv=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+=mv(t[n]," ");else r=mv(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function Rr(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
|
|
1807
|
+
`,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 T3=/([[\].#*$><+~=|^:(),"'`\s])/g,hv=typeof CSS<"u"&&CSS.escape,Cl=function(e){return hv?hv(e):e.replace(T3,"\\$1")},bv=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){fv(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(pv(pv(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)},uv(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}(bv),D3={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},C3=/@([\w-]+)/,O3=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var a=r.match(C3);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}(),I3=/@media|@supports\s+/,A3={onCreateRule:function(t,r,n){return I3.test(t)?new O3(t,r,n):null}},Al={indent:1,children:!0},N3=/@keyframes\s+([\w-]+)/,Nl=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=r.match(N3);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}(),M3=/@keyframes\s+/,z3=/\$([\w-]+)/g,Ml=function(t,r){return typeof t=="string"?t.replace(z3,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},gv=function(t,r,n){var o=t[r],a=Ml(o,n);a!==o&&(t[r]=a)},F3={onCreateRule:function(t,r,n){return typeof t=="string"&&M3.test(t)?new Nl(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&gv(t,"animation-name",n.keyframes),"animation"in t&&gv(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}}},L3=function(e){fv(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}(bv),K3={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new L3(t,r,n):null}},j3=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}(),V3=/@font-face/,B3={onCreateRule:function(t,r,n){return V3.test(t)?new j3(t,r,n):null}},R3=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}(),W3={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new R3(t,r,n):null}},U3=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+=`
|
|
1808
|
+
`);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=`
|
|
1809
|
+
`,t},cC=function(){function e(r){this.getPropertyValue=J3,this.setProperty=Q3,this.removeProperty=eC,this.setSelector=tC,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||lC(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),a&&this.element.setAttribute("data-meta",a);var s=sC();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){iC(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=`
|
|
1750
1810
|
`)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
|
|
1751
1811
|
`+n.toString()+`
|
|
1752
|
-
`}},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=
|
|
1812
|
+
`}},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=Sv(a,o);if(s=Pv(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=Sv(a,o),f=Pv(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 $v&&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}(),dC=0,uC=function(){function e(r){this.id=dC++,this.version="10.9.2",this.plugins=new q3,this.options={id:{minify:!1},createGenerateId:wv,Renderer:Cn?cC:null,plugins:[]},this.generateId=wv({minify:!1});for(var n=0;n<vv.length;n++)this.plugins.use(vv[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 $v(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 uC(t)},Kl=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function kv(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=kv(n);a&&(t||(t={}),t[r]=a)}}return t}/**
|
|
1753
1813
|
* A better abstraction over CSS.
|
|
1754
1814
|
*
|
|
1755
1815
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
1756
1816
|
* @website https://github.com/cssinjs/jss
|
|
1757
1817
|
* @license MIT
|
|
1758
|
-
*/
|
|
1759
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1760
|
-
`)),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(
|
|
1761
|
-
`)),r[a]&&typeof r[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(
|
|
1762
|
-
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var
|
|
1763
|
-
`)),
|
|
1764
|
-
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===
|
|
1818
|
+
*/Ll();var Tv=Date.now(),jl="fnValues"+Tv,Vl="fnStyle"+ ++Tv,fC=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 pC=fC;var Bt="@global",Bl="@global ",mC=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}(),hC=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}(),bC=/\s*,\s*/g;function Dv(e,t){for(var r=e.split(bC),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function gC(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:Dv(a,e.selector)}));delete n[Bt]}}function vC(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=Dv(o.substr(Bt.length),e.selector);t.addRule(a,n[o],A({},r,{selector:a})),delete n[o]}}function yC(){function e(r,n,o){if(!r)return null;if(r===Bt)return new mC(r,n,o);if(r[0]==="@"&&r.substr(0,Bl.length)===Bl)return new hC(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||(gC(r,n),vC(r,n))}return{onCreateRule:e,onProcessRule:t}}var Cv=/\s*,\s*/g,$C=/&/g,xC=/\$([\w-]+)/g;function wC(){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(Cv),s=o.split(Cv),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($C,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(xC,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 _C=/[A-Z]/g,EC=/^ms-/,Rl={};function PC(e){return"-"+e.toLowerCase()}function Ov(e){if(Rl.hasOwnProperty(e))return Rl[e];var t=e.replace(_C,PC);return Rl[e]=EC.test(t)?"-"+t:t}function ma(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:Ov(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 SC(){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=Ov(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:"%",kC={"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 Iv(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 TC=Iv(kC);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]||TC[e];return i&&!(t===0&&i===H)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function DC(e){e===void 0&&(e={});var t=Iv(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 CC(e){if(Array.isArray(e))return Wl(e)}function OC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function IC(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 AC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1819
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NC(e){return CC(e)||OC(e)||IC(e)||AC()}var Mn="",Ul="",Av="",Nv="",MC=Cn&&"ontouchstart"in document.documentElement;if(Cn){var Hl={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},zC=document.createElement("p"),Gl=zC.style,FC="Transform";for(var Yl in Hl)if(Yl+FC in Gl){Mn=Yl,Ul=Hl[Yl];break}Mn==="Webkit"&&"msHyphens"in Gl&&(Mn="ms",Ul=Hl.ms,Nv="edge"),Mn==="Webkit"&&"-apple-trailing-word"in Gl&&(Av="apple")}var me={js:Mn,css:Ul,vendor:Av,browser:Nv,isTouch:MC};function LC(e){return e[1]==="-"||me.js==="ms"?e:"@"+me.css+"keyframes"+e.substr(10)}var KC={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:me.js==="ms"?"-webkit-"+t:me.css+t}},jC={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:me.js==="Webkit"?me.css+"print-"+t:t}},VC=/[-\s]+(.)?/g;function BC(e,t){return t?t.toUpperCase():""}function ql(e){return e.replace(VC,BC)}function Rt(e){return ql("-"+e)}var RC={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}},WC={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:me.vendor==="apple"&&!me.isTouch?me.css+t:t}},UC={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:me.css+t}},HC={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:me.css+t}},GC={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:me.js==="Webkit"||me.js==="ms"&&me.browser!=="edge"?me.css+t:t}},YC={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:me.js==="Moz"||me.js==="ms"||me.vendor==="apple"?me.css+t:t}},qC={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}},ZC={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}},XC={supportedProperty:function(t,r){return ql(t)in r?t:!1}},JC={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}},QC={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:me.js==="ms"?""+me.css+t:t}},e9={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:me.js==="ms"?me.css+"scroll-chaining":t}},t9={"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"},r9={supportedProperty:function(t,r){var n=t9[t];return n&&me.js+Rt(n)in r?me.css+n:!1}},Mv={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"},n9=Object.keys(Mv),o9=function(t){return me.css+t},a9={supportedProperty:function(t,r,n){var o=n.multiple;if(n9.indexOf(t)>-1){var a=Mv[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(o9)}return!1}},zv=[KC,jC,RC,WC,UC,HC,GC,YC,qC,ZC,XC,JC,QC,e9,r9,a9],Fv=zv.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),i9=zv.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,NC(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]);i9.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<Fv.length&&(pr[e]=Fv[r](e,zn.style,t),!pr[e]);r++);try{zn.style[e]=""}catch{return!1}return pr[e]}var Ur={},s9={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},l9=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,Wt;function c9(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 Lv(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(s9[e])r=r.replace(l9,c9);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 d9(){function e(o){if(o.type==="keyframes"){var a=o;a.at=LC(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=Lv(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 Lv(a,fr(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function u9(){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 Kv(){return{plugins:[pC(),yC(),wC(),SC(),DC(),typeof window>"u"?null:d9(),u9()]}}function jv(){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(`
|
|
1820
|
+
`)),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(`
|
|
1821
|
+
`)),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(`
|
|
1822
|
+
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var f9={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=f9;var Vv=l.createContext(null);process.env.NODE_ENV!=="production"&&(Vv.displayName="ThemeContext");const p9=Vv;function Bv(){var e=l.useContext(p9);return process.env.NODE_ENV!=="production"&&l.useDebugValue(e),e}var m9=Ll(Kv()),h9=E3(),b9=new Map,g9={disableGeneration:!1,generateClassName:h9,jss:m9,sheetsCache:null,sheetsManager:b9,sheetsRegistry:null},ba=l.createContext(g9);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:Kv().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=g3(Ql.propTypes));var ec=-1e9;function v9(){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(`
|
|
1823
|
+
`)),ec}var y9={};const Rv=y9;function $9(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(`
|
|
1824
|
+
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===Rv&&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(`
|
|
1765
1825
|
`)),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(`
|
|
1766
|
-
`))),s[c]=
|
|
1767
|
-
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var u=
|
|
1768
|
-
`)))),r[b]}return A({keys:
|
|
1826
|
+
`))),s[c]=Br(s[c],i[c])}),s},options:{}}}function x9(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=jv({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function w9(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=kv(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=jv({baseClasses:s.staticSheet.classes,newClasses:p.classes}),d&&d.add(p)}else r.classes=s.staticSheet.classes;s.refs+=1}}function _9(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function E9(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 P9(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 S9(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?Rv:a,s=ft(t,["name","classNamePrefix","Component","defaultTheme"]),c=$9(e),d=r||n||"makeStyles";c.options={index:v9(),name:r,meta:d,classNamePrefix:d};var u=function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=Bv()||i,b=A({},l.useContext(ba),s),g=l.useRef(),v=l.useRef();P9(function(){var x={name:r,state:{},stylesCreator:c,stylesOptions:b,theme:m};return w9(x,p),v.current=!1,g.current=x,function(){E9(x)}},[m,c]),l.useEffect(function(){v.current&&_9(g.current,p),v.current=!0});var $=x9(g.current,p.classes,o);return process.env.NODE_ENV!=="production"&&l.useDebugValue($),$};return u}var k9=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(`
|
|
1827
|
+
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var u=Dn(n);u!==void 0&&(d=u)}var f=S9(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=Bv()||o,s&&(y=P3({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:Zg(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 T9=k9;var Ut=["xs","sm","md","lg","xl"];function D9(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(`
|
|
1828
|
+
`)))),r[b]}return A({keys:Ut,values:r,up:c,down:d,between:u,only:f,width:m},s)}function C9(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:",`
|
|
1769
1829
|
paddingLeft: theme.spacing(2),
|
|
1770
1830
|
paddingRight: theme.spacing(2),
|
|
1771
1831
|
[theme.breakpoints.up('sm')]: {
|
|
@@ -1773,8 +1833,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1773
1833
|
paddingRight: theme.spacing(3),
|
|
1774
1834
|
},
|
|
1775
1835
|
`].join(`
|
|
1776
|
-
`)),A({paddingLeft:t(2),paddingRight:t(2)},a,
|
|
1777
|
-
`))}return I}var
|
|
1836
|
+
`)),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 O9={black:"#000",white:"#fff"};const va=O9;var I9={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=I9;var A9={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=A9;var N9={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=N9;var M9={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=M9;var z9={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=z9;var F9={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=F9;var L9={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=L9;function Wv(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 K9(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 j9(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(K9(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 Uv(e,t){var r=Hv(e),n=Hv(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Hv(e){e=Gr(e);var t=e.type==="hsl"?Gr(j9(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 V9(e,t){if(e=Gr(e),t=Wv(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 B9(e,t){if(e=Gr(e),t=Wv(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 Gv={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 Yv(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=B9(e.main,o):t==="dark"&&(e.dark=V9(e.main,a)))}function R9(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=Uv(_,cc.text.primary)>=v?cc.text.primary:Gv.text.primary;if(process.env.NODE_ENV!=="production"){var W=Uv(_,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(`
|
|
1837
|
+
`))}return I}var k=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.
|
|
1778
1838
|
|
|
1779
1839
|
Did you intend to use one of the following approaches?
|
|
1780
1840
|
|
|
@@ -1786,14 +1846,14 @@ const theme1 = createTheme({ palette: {
|
|
|
1786
1846
|
|
|
1787
1847
|
const theme2 = createTheme({ palette: {
|
|
1788
1848
|
primary: { main: green[500] },
|
|
1789
|
-
} });`):
|
|
1790
|
-
`)),
|
|
1849
|
+
} });`):fa(5,JSON.stringify(I.main)));return Yv(I,"light",D,x),Yv(I,"dark",j,x),I.contrastText||(I.contrastText=y(I.main)),I},N={dark:cc,light:Gv};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:k(r),secondary:k(o,"A400","A200","A700"),error:k(i),warning:k(c),info:k(u),success:k(p),grey:tc,contrastThreshold:v,getContrastText:y,augmentColor:k,tonalOffset:x},N[b]),w);return P}function qv(e){return Math.round(e*1e5)/1e5}var Zv=!1;function W9(e){return process.env.NODE_ENV!=="production"&&(Zv||(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(`
|
|
1850
|
+
`)),Zv=!0)),qv(e)}var Xv={textTransform:"uppercase"},Jv='"Roboto", "Helvetica", "Arial", sans-serif';function U9(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?Jv: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,k=x||function(_){return"".concat(_/v*y,"rem")},N=function(I,W,D,j,S){return A({fontFamily:o,fontWeight:I,fontSize:k(W),lineHeight:D},o===Jv?{letterSpacing:"".concat(qv(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,Xv),caption:N(u,12,1.66,.4),overline:N(u,12,2.66,1,Xv)};return Br(A({htmlFontSize:v,pxToRem:k,round:W9,fontFamily:o,fontSize:i,fontWeightLight:c,fontWeightRegular:u,fontWeightMedium:p,fontWeightBold:b},P),w,{clone:!1})}var H9=.2,G9=.14,Y9=.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(H9,")"),"".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(G9,")"),"".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(Y9,")")].join(",")}var q9=["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 Z9=q9;var X9={borderRadius:4};const J9=X9;var Q9=process.env.NODE_ENV!=="production"?Pe.oneOfType([Pe.number,Pe.string,Pe.object,Pe.array]):{};const e8=Q9;var t8=["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 r8(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(`
|
|
1791
1851
|
`)),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(`
|
|
1792
|
-
`)),function(){})}process.env.NODE_ENV!=="production"&&
|
|
1793
|
-
`)),
|
|
1794
|
-
`)),
|
|
1852
|
+
`)),function(){})}process.env.NODE_ENV!=="production"&&t8.reduce(function(e,t){return e[t]=e8,e},{});var Qv;function n8(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=r8({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"&&((!Qv||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(`
|
|
1853
|
+
`)),Qv=!0),e}}),r.mui=!0,r}var ey={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)"},ty={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ry(e){return"".concat(Math.round(e),"ms")}const o8={easing:ey,duration:ty,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?ty.standard:n,a=r.easing,i=a===void 0?ey.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:ry(o)," ").concat(i," ").concat(typeof c=="string"?c:ry(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 a8={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const i8=a8;function s8(){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=R9(i),p=D9(r),m=n8(s),b=Br({breakpoints:p,direction:"ltr",mixins:C9(p,m,o),overrides:{},palette:f,props:{},shadows:Z9,typography:U9(f,d),spacing:m,shape:J9,transitions:o8,zIndex:i8},u),g=arguments.length,v=new Array(g>1?g-1:0),$=1;$<g;$++)v[$-1]=arguments[$];if(b=v.reduce(function(y,k){return Br(y,k)},b),process.env.NODE_ENV!=="production"){var x=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],w=function y(k,N){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,_;for(_ in k){var I=k[_];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(k,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(`
|
|
1854
|
+
`)),k[_]={})}};w(b.overrides)}return b}var l8=s8();const c8=l8;function d8(e,t){return T9(e,A({defaultTheme:c8},t))}var u8=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:Zg(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 ny=d8(u8,{name:"MuiSvgIcon"})(dc);function f8(e,t){var r=function(o,a){return l.createElement(ny,A({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=ny.muiName,l.memo(l.forwardRef(r))}function p8(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 m8(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 h8(e,t){return re.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function oy(e){return e&&e.ownerDocument||document}function b8(e){var t=oy(e);return t.defaultView||window}function g8(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 v8(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 y8(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(`
|
|
1795
1855
|
`))},[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(`
|
|
1796
|
-
`))},[JSON.stringify(r)])}var b=re.useCallback(function(g){s||u(g)},[]);return[f,b]}var
|
|
1856
|
+
`))},[JSON.stringify(r)])}var b=re.useCallback(function(g){s||u(g)},[]);return[f,b]}var $8=typeof window<"u"?re.useLayoutEffect:re.useEffect;function x8(e){var t=re.useRef(e);return $8(function(){t.current=e}),re.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function w8(e,t){return re.useMemo(function(){return e==null&&t==null?null:function(r){uc(e,r),uc(t,r)}},[e,t])}function _8(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,ay=null,E8={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 P8(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&E8[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function S8(e){e.metaKey||e.altKey||e.ctrlKey||(ya=!0)}function pc(){ya=!1}function k8(){this.visibilityState==="hidden"&&fc&&(ya=!0)}function T8(e){e.addEventListener("keydown",S8,!0),e.addEventListener("mousedown",pc,!0),e.addEventListener("pointerdown",pc,!0),e.addEventListener("touchstart",pc,!0),e.addEventListener("visibilitychange",k8,!0)}function iy(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return ya||P8(t)}function D8(){fc=!0,window.clearTimeout(ay),ay=window.setTimeout(function(){fc=!1},100)}function C8(){var e=re.useCallback(function(t){var r=kc.findDOMNode(t);r!=null&&T8(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&re.useDebugValue(iy),{isFocusVisible:iy,onBlurVisible:D8,ref:e}}const O8=h1(Object.freeze(Object.defineProperty({__proto__:null,capitalize:Sl,createChainedFunction:$3,createSvgIcon:f8,debounce:p8,deprecatedPropType:m8,isMuiElement:h8,ownerDocument:oy,ownerWindow:b8,requirePropFactory:g8,setRef:uc,unstable_useId:_8,unsupportedProp:v8,useControlled:y8,useEventCallback:x8,useForkRef:w8,useIsFocusVisible:C8},Symbol.toStringTag,{value:"Module"})));var sy;function ly(){return sy||(sy=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=O8}(gl)),gl}var I8=da,A8=ua;Object.defineProperty(hl,"__esModule",{value:!0});var cy=hl.default=void 0,N8=A8(l),M8=I8(ly()),z8=(0,M8.default)(N8.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");cy=hl.default=z8;var mc={},F8=da,L8=ua;Object.defineProperty(mc,"__esModule",{value:!0});var dy=mc.default=void 0,K8=L8(l),j8=F8(ly()),V8=(0,j8.default)(K8.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");dy=mc.default=V8;const B8=F.div`
|
|
1797
1857
|
--border-color: ${h.color_outline_secondary_enabled};
|
|
1798
1858
|
|
|
1799
1859
|
border-radius: ${h.border_radius_400};
|
|
@@ -1824,7 +1884,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1824
1884
|
font-size: 1rem;
|
|
1825
1885
|
fill: ${h.color_text_weak};
|
|
1826
1886
|
}
|
|
1827
|
-
`,
|
|
1887
|
+
`,R8=F(th)`
|
|
1828
1888
|
all: unset;
|
|
1829
1889
|
position: absolute;
|
|
1830
1890
|
right: 10px;
|
|
@@ -1845,7 +1905,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1845
1905
|
line-height: 0;
|
|
1846
1906
|
font-size: ${h.font_size_50};
|
|
1847
1907
|
}
|
|
1848
|
-
`,
|
|
1908
|
+
`,W8=F(xn)`
|
|
1849
1909
|
padding-left: 32px;
|
|
1850
1910
|
width: 100%;
|
|
1851
1911
|
|
|
@@ -1857,7 +1917,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1857
1917
|
&::-webkit-search-results-decoration {
|
|
1858
1918
|
-webkit-appearance: none;
|
|
1859
1919
|
}
|
|
1860
|
-
`,
|
|
1920
|
+
`,uy=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=n3(m),g=lt(t),{labelProps:v,inputProps:$,clearButtonProps:x}=a3(m,b,g);return ie(lr,{children:[C(Je,{...v,srOnly:c,children:r}),ie(B8,{children:[C(cy,{}),C(W8,{...$,ref:g,placeholder:o,paddingSize:n,...p}),b.value!==""&&C(R8,{...x,children:C(dy,{})})]})]})});uy.displayName="Search";const fy=["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}},{}),py="Switch",[U8,cI]=Re(py),[H8,G8]=U8(py),Y8=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(H8,{scope:r,checked:v,disabled:s},l.createElement(fy.button,A({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":my(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(X8,{control:f,bubbles:!b.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),q8="SwitchThumb",Z8=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=G8(q8,r);return l.createElement(fy.span,A({"data-state":my(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),X8=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 my(e){return e?"checked":"unchecked"}const J8=Y8,Q8=Z8,eO=F(J8)`
|
|
1861
1921
|
all: unset;
|
|
1862
1922
|
width: 40px;
|
|
1863
1923
|
height: 24px;
|
|
@@ -1897,7 +1957,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1897
1957
|
&[aria-checked='true']:active {
|
|
1898
1958
|
background-color: ${h.color_fill_primary_pressed};
|
|
1899
1959
|
}
|
|
1900
|
-
`,
|
|
1960
|
+
`,tO=F(Q8)`
|
|
1901
1961
|
--thumb-width: 18px;
|
|
1902
1962
|
display: block;
|
|
1903
1963
|
width: var(--thumb-width);
|
|
@@ -1916,26 +1976,26 @@ const theme2 = createTheme({ palette: {
|
|
|
1916
1976
|
&[data-state~='checked'] {
|
|
1917
1977
|
transform: translateX(19px);
|
|
1918
1978
|
}
|
|
1919
|
-
`,
|
|
1979
|
+
`,hy=l.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=lh(r);return C(eO,{...n,...o,ref:t,children:C(tO,{})})});hy.displayName="Switch";const $a=F.h1`
|
|
1920
1980
|
font-family: ${h.font_family_inter_display};
|
|
1921
1981
|
font-style: normal;
|
|
1922
1982
|
font-weight: 500; /* don't really see value of using tokens for font-weight */
|
|
1923
1983
|
margin: 0;
|
|
1924
1984
|
padding-inline: 0;
|
|
1925
1985
|
color: ${h.color_text_strong};
|
|
1926
|
-
`,
|
|
1986
|
+
`,rO=F($a)`
|
|
1927
1987
|
font-size: ${h.font_size_title_large};
|
|
1928
1988
|
letter-spacing: ${h.letter_spacing_title_large};
|
|
1929
|
-
`,
|
|
1989
|
+
`,nO=F($a)`
|
|
1930
1990
|
font-size: ${h.font_size_title_medium};
|
|
1931
1991
|
letter-spacing: ${h.letter_spacing_title_medium};
|
|
1932
|
-
`,
|
|
1992
|
+
`,oO=F($a)`
|
|
1933
1993
|
font-size: ${h.font_size_title_small};
|
|
1934
1994
|
letter-spacing: ${h.letter_spacing_title_small};
|
|
1935
|
-
`,
|
|
1995
|
+
`,aO={xsmall:F($a)`
|
|
1936
1996
|
font-size: ${h.font_size_title_xsmall};
|
|
1937
1997
|
letter-spacing: ${h.letter_spacing_title_xsmall};
|
|
1938
|
-
`,small:R8,medium:B8,large:V8},uy=l.forwardRef((e,t)=>{const{children:r,size:n,as:o,className:a,...i}=e,s=W8[n];return C(s,{...i,as:o,ref:t,className:a,children:r})});uy.displayName="Title";function fy(e){return null}fy.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:U8(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 U8(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&l.Children.count(e.children)>0)}let ga=fy;function py(e){return null}py.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 uc=py;class H8{build(t,r){return this.context=r,my(()=>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:G8(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 <${fc(v.type)}> in <${fc(o.type)}>. Only <${fc(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:my(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(){_r(this,"cache",new WeakMap)}}function my(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 G8(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function fc(e){return e[0].toUpperCase()+e.slice(1)}function Y8(e,t,r,n=[]){let o=l.useMemo(()=>new H8,[]),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 hy=new WeakMap;function by(e){let t=hy.get(e);if(t!=null)return t;t=0;for(let r of e)r.type==="section"?t+=by(r.childNodes):t++;return hy.set(e,t),t}function gy(e){return RE()?e.altKey:e.ctrlKey}function Hr(e){return tr()?e.metaKey:e.ctrlKey}const q8=1e3;function pc(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=l.useRef({search:"",timeout:null}).current,a=i=>{let s=Z8(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=""},q8)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function Z8(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function X8(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}=lt(),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&&!gy(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,Hr(P));t.setFocusedKey(S),Hr(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,Hr(P));t.setFocusedKey(S),Hr(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":Hr(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)&&Mt(O)}break}}},v=l.useRef({top:0,left:0});io(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&&(Mt(W),ki(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&&mo(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&&(ki(m.current,P),Su(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}=pc({keyboardDelegate:r,selectionManager:t});d||(y=ve(T,y));let N;return u||(N=t.focusedKey==null?0:-1),{collectionProps:{...y,tabIndex:N}}}function J8(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"&&gy(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&&(Hr(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():mo(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"&&(!$||yy())&&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"&&!vy())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||yy()))&&f(j)},N.onPress=j=>{(j.pointerType==="touch"||j.pointerType==="pen"||j.pointerType==="virtual"||j.pointerType==="keyboard"&&$&&vy()||j.pointerType==="mouse"&&T.current)&&($?d():f(j))}),a||(p["data-key"]=r),N.preventFocusOnPress=i;let{pressProps:P,isPressed:_}=Pr(N),I=v?j=>{x.current==="mouse"&&(j.stopPropagation(),j.preventDefault(),d())}:void 0,{longPressProps:W}=Ku({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 vy(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function yy(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class mc{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 Q8(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=Do({usage:"search",sensitivity:"base"}),g=t.disabledBehavior,v=l.useMemo(()=>a||new mc(r,g==="selection"?new Set:n,o,b),[a,r,n,o,b,g]),{collectionProps:$}=X8({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 hc=new WeakMap;function eO(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function tO(e,t){let r=hc.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${eO(t)}`}function $y(e,t,r){let n=$t(e,{labelable:!0}),{listProps:o}=Q8({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=kr({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=qe(e.id);hc.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:s,fieldProps:c}=gp({...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 xy(e,t,r){let{key:n}=e,o=hc.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=oo(),w=oo(),y={role:"option","aria-disabled":i,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};tr()&&WE()||(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"]=by(t.collection));let{itemProps:T,isPressed:N,hasAction:P,allowsSelection:_}=J8({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}=lP({isDisabled:i||!m,onHoverStart(){zi()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}});return{optionProps:{...y,...ve(T,I),id:tO(t,n)},labelProps:{id:x},descriptionProps:{id:w},isFocused:d,isSelected:c,isDisabled:i,isPressed:N,allowsSelection:_,hasAction:P}}const wy=F.ul`
|
|
1998
|
+
`,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}=ct(),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}=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 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`
|
|
1939
1999
|
max-height: 300px;
|
|
1940
2000
|
overflow: auto;
|
|
1941
2001
|
list-style: none;
|
|
@@ -1943,7 +2003,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1943
2003
|
margin: 4px 0;
|
|
1944
2004
|
outline: none;
|
|
1945
2005
|
width: 100%;
|
|
1946
|
-
`,
|
|
2006
|
+
`,Ty=F.li`
|
|
1947
2007
|
all: unset;
|
|
1948
2008
|
background-color: ${e=>e.isFocused?h.color_background_white_weak:""};
|
|
1949
2009
|
font-size: ${h.font_size_100};
|
|
@@ -1960,20 +2020,20 @@ const theme2 = createTheme({ palette: {
|
|
|
1960
2020
|
padding: 7px ${h.sizing_200};
|
|
1961
2021
|
position: relative;
|
|
1962
2022
|
user-select: none;
|
|
1963
|
-
`,
|
|
2023
|
+
`,Dy=F.div`
|
|
1964
2024
|
display: flex;
|
|
1965
2025
|
align-items: center;
|
|
1966
2026
|
justify-content: space-between;
|
|
1967
2027
|
width: 100%;
|
|
1968
2028
|
padding: ${h.sizing_100};
|
|
1969
|
-
`,
|
|
2029
|
+
`,Cy=F.div`
|
|
1970
2030
|
width: 18px;
|
|
1971
2031
|
height: 18px;
|
|
1972
2032
|
margin-left: 8px;
|
|
1973
|
-
`;function
|
|
2033
|
+
`;function gO(e){const t=re.useRef(null),{listBoxRef:r=t,state:n}=e,{listBoxProps:o}=Py({...e,disallowEmptySelection:!0},n,r);return C(ky,{...o,ref:r,children:[...n.collection].map(a=>C(yO,{item:a,state:n},a.key))})}function vO(e){const t=re.useRef(null),{listBoxRef:r=t,state:n}=e,{listBoxProps:o}=Py({...e,disallowEmptySelection:!0},n,r);return C(ky,{...o,ref:r,children:[...n.collection].map(a=>C($O,{item:a,state:n},a.key))})}const Oy=re.createContext({labelProps:{},descriptionProps:{}});function yO({item:e,state:t}){const r=re.useRef(null),{optionProps:n,labelProps:o,descriptionProps:a,isSelected:i,isFocused:s,isDisabled:c}=Sy({key:e.key},t,r);return C(Ty,{...n,ref:r,isFocused:s,isSelected:i,children:C(Dy,{children:ie(Oy.Provider,{value:{labelProps:o,descriptionProps:a},children:[C("span",{children:e.rendered}),C(Cy,{children:i&&C(Fe.Check,{"aria-hidden":"true",style:{width:18,height:18}})})]})})})}function $O({item:e,state:t}){const r=re.useRef(null),{optionProps:n,labelProps:o,descriptionProps:a,isSelected:i,isFocused:s,isDisabled:c}=Sy({key:e.key},t,r);return ie(Ty,{...n,ref:r,isFocused:s,isSelected:i,children:[C(Bo,{disabled:c,checked:i}),C(Dy,{children:ie(Oy.Provider,{value:{labelProps:o,descriptionProps:a},children:[C("span",{children:e.rendered}),C(Cy,{children:i&&C(Fe.Check,{"aria-hidden":"true",style:{width:18,height:18}})})]})})]})}F.div`
|
|
1974
2034
|
font-weight: normal;
|
|
1975
2035
|
font-size: 12px;
|
|
1976
|
-
`;const
|
|
2036
|
+
`;const xO=F.div`
|
|
1977
2037
|
z-index: 100;
|
|
1978
2038
|
min-width: 200px;
|
|
1979
2039
|
font-family: ${h.font_family_sans};
|
|
@@ -1981,9 +2041,9 @@ const theme2 = createTheme({ palette: {
|
|
|
1981
2041
|
background-color: ${h.color_white};
|
|
1982
2042
|
border-radius: ${h.border_radius_400};
|
|
1983
2043
|
box-shadow: ${h.elevation_static_high};
|
|
1984
|
-
`;function Ty(e){const t=re.useRef(null),{popoverRef:r=t,triggerRef:n,state:o,children:a,isNonModal:i}=e,{popoverProps:s,underlayProps:c}=tk({...e,popoverRef:r},o),d={...s.style,width:n.current?`${n.current.offsetWidth}px`:"200px"};return ie(nk,{children:[!i&&C("div",{...c,style:{position:"fixed",inset:0}}),ie(iO,{...s,style:d,ref:r,children:[!i&&C(qh,{onDismiss:o.close}),a,C(qh,{onDismiss:o.close})]})]})}function sO(e){return e&&e.__esModule?e.default:e}var ky={},Dy={};Dy={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Cy={};Cy={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Oy={};Oy={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Iy={};Iy={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Ay={};Ay={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Ny={};Ny={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var My={};My={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var zy={};zy={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Fy={};Fy={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Ly={};Ly={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Ky={};Ky={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var jy={};jy={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Vy={};Vy={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var By={};By={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Ry={};Ry={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Wy={};Wy={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Uy={};Uy={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Hy={};Hy={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Gy={};Gy={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Yy={};Yy={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var qy={};qy={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Zy={};Zy={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Xy={};Xy={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Jy={};Jy={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Qy={};Qy={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var e$={};e$={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var t$={};t$={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var r$={};r$={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var n$={};n$={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var o$={};o$={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var a$={};a$={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var i$={};i$={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var s$={};s$={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var l$={};l$={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},ky={"ar-AE":Dy,"bg-BG":Cy,"cs-CZ":Oy,"da-DK":Iy,"de-DE":Ay,"el-GR":Ny,"en-US":My,"es-ES":zy,"et-EE":Fy,"fi-FI":Ly,"fr-FR":Ky,"he-IL":jy,"hr-HR":Vy,"hu-HU":By,"it-IT":Ry,"ja-JP":Wy,"ko-KR":Uy,"lt-LT":Hy,"lv-LV":Gy,"nb-NO":Yy,"nl-NL":qy,"pl-PL":Zy,"pt-BR":Xy,"pt-PT":Jy,"ro-RO":Qy,"ru-RU":e$,"sk-SK":t$,"sl-SI":r$,"sr-SP":n$,"sv-SE":o$,"tr-TR":a$,"uk-UA":i$,"zh-CN":s$,"zh-TW":l$};function c$(e,t,r){let{type:n="menu",isDisabled:o,trigger:a="press"}=e,i=qe(),{triggerProps:s,overlayProps:c}=qT({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=Lt(sO(ky)),{longPressProps:f}=Ku({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 lO(e,t,r){const{disallowEmptySelection:n,isDisabled:o}=e,a=Do({usage:"search",sensitivity:"base"}),i=l.useMemo(()=>new mc(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:c}=c$({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}=pc({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(v){t.setSelectedKeys([v])}}),{labelProps:f,fieldProps:p}=gn({...e,labelElementType:"span"});u.onKeyDown=u.onKeyDownCapture,delete u.onKeyDownCapture;const m=$t(e,{labelable:!0}),b=ve(u,s,p),g=qe();return{labelProps:{...f,onClick:()=>{var v;e.isDisabled||((v=r.current)==null||v.focus(),Mu("keyboard"))}},triggerProps:ve(m,{...b,onKeyDown:er(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 cO(e){let[t,r]=Jt(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:r,open(){r(!0)},close(){r(!1)},toggle(){r(!t)}}}function d$(e){let t=cO(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 nt extends Set{constructor(t,r,n){super(t),t instanceof nt?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function dO(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function uO(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(()=>u$(e.selectedKeys),[e.selectedKeys]),p=l.useMemo(()=>u$(e.defaultSelectedKeys,new nt),[e.defaultSelectedKeys]),[m,b]=Jt(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||!dO(w,m))&&b(w)},disabledKeys:g,disabledBehavior:a}}function u$(e,t){return e?e==="all"?"all":new nt(e):t}class fO{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 nt([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new nt(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 nt(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 nt([t],t,t):new nt;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new nt;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 nt)}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 pO=Symbol.iterator;class f${*[pO](){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){_r(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 p$(e){let{filter:t}=e,r=uO(e),n=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=d=>t?new f$(t(d)):new f$(d),a=l.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Y8(e,o,a,[t]),s=l.useMemo(()=>new fO(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 mO(e){var t;let[r,n]=Jt(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}=p$({...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 hO(e){const{collection:t,disabledKeys:r,selectionManager:n,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=p$(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 bO(e){const[t,r]=l.useState(!1),n=d$(e),o=hO({...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 gO=F.span`
|
|
2044
|
+
`;function Iy(e){const t=re.useRef(null),{popoverRef:r=t,triggerRef:n,state:o,children:a,isNonModal:i}=e,{popoverProps:s,underlayProps:c}=b7({...e,popoverRef:r},o),d={...s.style,width:n.current?`${n.current.offsetWidth}px`:"200px"};return ie(v7,{children:[!i&&C("div",{...c,style:{position:"fixed",inset:0}}),ie(xO,{...s,style:d,ref:r,children:[!i&&C(eb,{onDismiss:o.close}),a,C(eb,{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}=d7({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 ot extends Set{constructor(t,r,n){super(t),t instanceof ot?(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 ot),[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 ot(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 ot([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new ot(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 ot(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 ot([t],t,t):new ot;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new ot;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 ot)}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`
|
|
1985
2045
|
color: ${h.color_fill_secondary_enabled};
|
|
1986
|
-
`,
|
|
2046
|
+
`,AO=F(ys.primary)`
|
|
1987
2047
|
display: flex;
|
|
1988
2048
|
align-items: center;
|
|
1989
2049
|
justify-content: space-between;
|
|
@@ -2032,9 +2092,9 @@ const theme2 = createTheme({ palette: {
|
|
|
2032
2092
|
&:disabled::placeholder {
|
|
2033
2093
|
color: ${h.color_fill_primary_disabled};
|
|
2034
2094
|
}
|
|
2035
|
-
`,
|
|
2095
|
+
`,y$=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=lt(t),m=!a,b=OO({...e,disallowEmptySelection:m}),{labelProps:g,triggerProps:v,valueProps:$,menuProps:x}=_O({...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,k=!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(K5,{focusRingClass:"select--focused",autoFocus:r,children:ie(AO,{...w,paddingSize:"small",type:"button",ref:p,children:[C("span",{...$,children:b.selectedItems?_(b.selectedItems):d}),C(IO,{children:C(Fe.ArrowDropDown,{})})]})}),b.isOpen&&ie(Iy,{state:b,triggerRef:p,children:[N&&ie(y1,{children:[s&&ie(Nr,{type:"button",onClick:P,children:[C(Bo,{checked:k?"indeterminate":y,tabIndex:-1}),"Select all"]}),C("div",{className:"select__divider"})]}),C(vO,{...x,state:b})]})]})}),$$=l.forwardRef(({options:e,...t},r)=>C(y$,{...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})}));$$.displayName="MultiSelect";function NO(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}=m$({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 MO(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 zO(e){let{state:t,triggerRef:r,label:n,name:o,isDisabled:a}=e,{containerProps:i,inputProps:s,selectProps:c}=MO(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 FO(e){let t=h$(e),r=DO({...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 LO=F.span`
|
|
2036
2096
|
color: ${h.color_fill_secondary_enabled};
|
|
2037
|
-
`,
|
|
2097
|
+
`,KO=F(ys.primary)`
|
|
2038
2098
|
display: flex;
|
|
2039
2099
|
align-items: center;
|
|
2040
2100
|
justify-content: space-between;
|
|
@@ -2083,14 +2143,14 @@ const theme2 = createTheme({ palette: {
|
|
|
2083
2143
|
&:disabled::placeholder {
|
|
2084
2144
|
color: ${h.color_fill_primary_disabled};
|
|
2085
2145
|
}
|
|
2086
|
-
`,
|
|
2146
|
+
`,jO=F.span`
|
|
2087
2147
|
display: inline-flex;
|
|
2088
2148
|
align-items: center;
|
|
2089
|
-
`;function SO(e){const t=wO(e),{placeholder:r="Select..."}=e,n=re.useRef(null),{labelProps:o,triggerProps:a,valueProps:i,menuProps:s}=yO(e,t,n),{buttonProps:c}=bn(a,n),{focusProps:d,isFocusVisible:u}=Dr();return ie(ir,{children:[ie(Xe,{...o,children:[e.label,e.tooltipContent?C(sr,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}),C(xO,{state:t,triggerRef:n,label:e.label,name:e.name}),ie(EO,{...ve(c,d),paddingSize:"small",ref:n,isOpen:t.isOpen,isFocusVisible:u,children:[C(PO,{...i,children:t.selectedItem?t.selectedItem.rendered:r}),C(_O,{children:C(Fe.ArrowDropDown,{})})]}),t.isOpen&&C(Ty,{state:t,triggerRef:n,placement:"bottom start",children:C(rO,{...s,state:t})})]})}function b$(e){return e&&e.__esModule?e.default:e}var bc={},g$={};g$={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 v$={};v$={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 y$={};y$={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 $$={};$$={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 x$={};x$={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 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 _$={};_$={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 E$={};E$={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 P$={};P$={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 S$={};S$={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 T$={};T$={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 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 D$={};D$={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 C$={};C$={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 O$={};O$={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 I$={};I$={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 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:"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 M$={};M$={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 z$={};z$={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 F$={};F$={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 L$={};L$={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 K$={};K$={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 j$={};j$={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 V$={};V$={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 B$={};B$={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 R$={};R$={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 W$={};W$={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 U$={};U$={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 H$={};H$={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 G$={};G$={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 Y$={};Y$={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 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 Z$={};Z$={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:"年"},bc={"ar-AE":g$,"bg-BG":v$,"cs-CZ":y$,"da-DK":$$,"de-DE":x$,"el-GR":w$,"en-US":_$,"es-ES":E$,"et-EE":P$,"fi-FI":S$,"fr-FR":T$,"he-IL":k$,"hr-HR":D$,"hu-HU":C$,"it-IT":O$,"ja-JP":I$,"ko-KR":A$,"lt-LT":N$,"lv-LV":M$,"nb-NO":z$,"nl-NL":F$,"pl-PL":L$,"pt-BR":K$,"pt-PT":j$,"ro-RO":V$,"ru-RU":B$,"sk-SK":R$,"sl-SI":W$,"sr-SP":U$,"sv-SE":H$,"tr-TR":G$,"uk-UA":Y$,"zh-CN":q$,"zh-TW":Z$};function TO(e,t,r){let{direction:n}=lt(),o=l.useMemo(()=>Ru(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}=Pr({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(c){c.pointerType==="mouse"&&i()},onPress(c){c.pointerType!=="mouse"&&i()}});return ve(s,{onKeyDown:a})}const X$=new WeakMap,gc="__role_"+Date.now(),kO="__focusManager_"+Date.now();function DO(e,t,r){let{labelProps:n,fieldProps:o,descriptionProps:a,errorMessageProps:i}=gn({...e,labelElementType:"span"}),{focusWithinProps:s}=kr({...e,onBlurWithin:y=>{t.confirmPlaceholder(),e.onBlur&&e.onBlur(y)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),c=Lt(b$(bc)),d=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",u=t.maxGranularity==="hour"?"time":"date",f=t.value?c.format(d,{[u]:t.formatValue({month:"long"})}):"",p=Pi(f),m=e[gc]==="presentation"?o["aria-describedby"]:[p["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=e[kO],g=l.useMemo(()=>b||Ru(r),[b,r]),v=TO(t,r,e[gc]==="presentation");X$.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[gc]==="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=$t(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 CO(e,t,r){return DO(e,t,r)}function OO(){let{locale:e}=lt();return l.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new IO(e)}},[e])}class IO{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t){this.locale=t,this.dictionary=new Wi(b$(bc))}}function AO(e,t,r){let n=l.useRef(""),{locale:o}=lt(),a=OO(),{ariaLabel:i,ariaLabelledBy:s,ariaDescribedBy:c,focusManager:d}=X$.get(t),u=e.isPlaceholder?"":e.text,f=l.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=ko({month:"long",timeZone:f.timeZone}),m=ko({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}=mm({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 hf(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"&&(tr()?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}=$5({sensitivity:"base"}),w=ko({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=ko({year:"numeric",era:"narrow",timeZone:"UTC"}),P=l.useMemo(()=>{if(e.type!=="era")return[];let G=Ue(new Or(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=NO(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="",Su(r.current,{containingElement:cn(r.current)}),window.getSelection().collapse(r.current)},W=l.useRef("");io(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}}),io(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=wr()||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=qe(),O=!t.isDisabled&&!t.isReadOnly&&e.isEditable,X=e.type==="literal"?"":a.of(e.type),se=_i({"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 NO(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 MO(e,t,r){return e!=null&&(t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0)}const zO={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"};function J$(e,t){e={...zO,...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 Q$(e,t){if(e===null)return null;if(e)return Ue(e,t)}function va(e,t,r,n){if(e)return Q$(e,r);let o=Ue(Gu(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?rf(o):n?o:Ft(o)}function FO(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 LO=new Wi({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 KO(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?LO.getStringForLocale(e,r):"––"}const ya={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},e1={year:5,month:2,day:7,hour:2,minute:15,second:15},jO={dayperiod:"dayPeriod"};function VO(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:o,isReadOnly:a,isRequired:i}=e,s=e.value||e.defaultValue||e.placeholderValue,[c,d]=FO(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 Po(t),[t]),p=l.useMemo(()=>r(f.resolvedOptions().calendar),[r,f]),[m,b]=Jt(e.value,e.defaultValue,e.onChange),g=l.useMemo(()=>Q$(m,p),[m,p]),[v,$]=l.useState(()=>va(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(()=>J$({},T),[T]),P=l.useMemo(()=>new Po(t,N),[t,N]),_=l.useMemo(()=>P.resolvedOptions(),[P]),I=l.useMemo(()=>P.formatToParts(new Date).filter(M=>ya[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):va(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),$(va(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 zt),b(M)):$(M))},X=l.useMemo(()=>S.toDate(u),[S,u]),se=l.useMemo(()=>P.formatToParts(X).map(M=>{let L=ya[M.type];M.type==="era"&&p.getEras().length===1&&(L=!1);let V=ya[M.type]&&!W[M.type],R=ya[M.type]?KO(M.type,M.value,t):null;return{type:jO[M.type]||M.type,text:V?R:M.value,...BO(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(RO(S,M,L,_)):(G(M),Object.keys(W).length>=Object.keys(I).length&&O(S))},te=e.validationState||(MO(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,e1[M]||1)},decrementPage(M){ae(M,-(e1[M]||1))},setSegment(M,L){G(M),O(WO(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=va(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=J$(M,T);return new Po(t,L).format(X)}}}function BO(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:zP(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:FP(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 RO(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 WO(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 UO(e){let{placeholderValue:t=new pn,minValue:r,maxValue:n,granularity:o}=e,[a,i]=Jt(e.value,e.defaultValue,e.onChange),s=a||t,c=s&&"day"in s?s:void 0,d=l.useMemo(()=>$a(t),[t]),u=l.useMemo(()=>$a(r,c),[r,c]),f=l.useMemo(()=>$a(n,c),[n,c]),p=l.useMemo(()=>a==null?null:$a(a),[a]);return VO({...e,value:p,defaultValue:void 0,minValue:u,maxValue:f,onChange:b=>{i(s&&"day"in s?b:b&&jP(b))},granularity:o||"minute",maxGranularity:"hour",placeholderValue:d,createCalendar:()=>new zt})}function $a(e,t=MP(Yi())){return e?"day"in e?e:Ft(t,e):null}const HO=F.div`
|
|
2149
|
+
`;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}=ct(),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}=ct();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}=ct(),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}=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}=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`
|
|
2090
2150
|
display: flex;
|
|
2091
2151
|
flex-direction: column;
|
|
2092
2152
|
align-items: flex-start;
|
|
2093
|
-
`,
|
|
2153
|
+
`,l2=F.div`
|
|
2094
2154
|
display: inline-flex;
|
|
2095
2155
|
padding: 2px 4px;
|
|
2096
2156
|
border-radius: 4px;
|
|
@@ -2100,7 +2160,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2100
2160
|
&:focus-within {
|
|
2101
2161
|
border-color: ${h.color_fill_inverse_enabled};
|
|
2102
2162
|
}
|
|
2103
|
-
`,
|
|
2163
|
+
`,c2=F.div`
|
|
2104
2164
|
padding: 2px;
|
|
2105
2165
|
font-variant-numeric: tabular-nums;
|
|
2106
2166
|
text-align: end;
|
|
@@ -2130,5 +2190,5 @@ const theme2 = createTheme({ palette: {
|
|
|
2130
2190
|
cursor: not-allowed;
|
|
2131
2191
|
--input-border-color: revert;
|
|
2132
2192
|
}
|
|
2133
|
-
`;function
|
|
2193
|
+
`;function d2(e){const{locale:t}=ct(),r=i2({...e,locale:t}),n=l.useRef(null),{labelProps:o,fieldProps:a}=UO(e,r,n);return ie(s2,{children:[e.label&&C(Je,{...o,children:e.label}),ie(l2,{...a,ref:n,children:[r.segments.filter(i=>!(i.type==="literal"&&i.text===" ")).map((i,s)=>C(u2,{segment:i,state:r},s)),r.validationState==="invalid"&&C("span",{"aria-hidden":"true",children:"🚫"})]})]})}function u2({segment:e,state:t}){const r=l.useRef(null),{segmentProps:n}=YO(e,t,r),o={};return e.isPlaceholder&&(o["data-placeholder"]=!0),ie(c2,{...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=P_,U.AlertDialogAction=k_,U.AlertDialogCancel=T_,U.AlertDialogContent=x_,U.AlertDialogDescription=__,U.AlertDialogFooter=E_,U.AlertDialogTitle=w_,U.AlertDialogTrigger=S_,U.AriaSingleSelect=VO,U.Box=Kd,U.BreadcrumbItem=bp,U.BreadcrumbLink=pp,U.BreadcrumbListItem=vs,U.Breadcrumbs=hp,U.Button=Nr,U.Checkbox=Bo,U.Dialog=b_,U.DialogClose=v_,U.DialogCloseButton=h_,U.DialogContent=f_,U.DialogDescription=m_,U.DialogFooter=Ld,U.DialogTitle=p_,U.DialogTrigger=g_,U.Direction=Yb,U.Fieldset=oS,U.FileUpload=Hb,U.Flex=qk,U.FormControl=Wk,U.Heading=Gb,U.IconButton=Us,U.IconTooltip=cr,U.Item=qs,U.Label=Je,U.MultiSelect=$$,U.MultiSelectComponent=y$,U.MultiSelectItem=xa,U.MultiSelectSection=hc,U.NavigationMenu=xT,U.NavigationMenuPortal=wT,U.NumberFormControl=sh,U.NumberInput=Os,U.Page=T0,U.PageContent=QD,U.PageGrid=JD,U.PageHeader=D0,U.PageHeaderContent=r6,U.Pagination=a6,U.PaginatorButton=na,U.PaginatorNumber=oa,U.Popover=dp,U.PopoverClose=bs,U.PopoverCloseCross=jP,U.PopoverContent=cp,U.PopoverTrigger=up,U.Radio=P6,U.RadioGroup=E6,U.RadioGroupIndicator=L0,U.RadioGroupRadio=F0,U.Search=uy,U.Select=ig,U.SelectContent=og,U.SelectGroup=J4,U.SelectGroupLabel=e3,U.SelectIcon=cg,U.SelectItem=dg,U.SelectItemIndicator=Q4,U.SelectItemText=ug,U.SelectScrollDownButton=pg,U.SelectScrollUpButton=fg,U.SelectSeparator=t3,U.SelectTrigger=sg,U.SelectValue=lg,U.SelectViewport=X4,U.SingleSelect=r3,U.SingleSelectItem=xa,U.SingleSelectSection=hc,U.StickyPageHeader=t6,U.StyledFieldSet=vp,U.StyledTrigger=ng,U.Switch=hy,U.TabTriggerWithIcon=JT,U.TabsContent=QT,U.TabsList=XT,U.TabsRoot=ZT,U.TabsTrigger=s0,U.Text=Lr,U.TextAreaFormControl=ih,U.TextFormControl=ah,U.TextInput=ws,U.Time=bn,U.TimeInput=d2,U.Title=by,U.Toast=XD,U.ToastAction=RD,U.ToastClose=S0,U.ToastProvider=ZD,U.ToastSeparator=k0,U.ToastViewport=YD,U.Tooltip=Mp,U.TooltipContent=zp,U.TooltipProvider=Np,U.TooltipTrigger=Ts,U.dialogContentStyles=ri,U.dialogDescriptionStyles=oi,U.dialogTitleStyles=ni,U.dialogWidths=ti,U.overlayStyles=ei,U.pageMinMaxWidth=ll,U.useFieldProps=Vo,U.useFieldset=ut,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});
|
|
2134
2194
|
//# sourceMappingURL=trc-components.umd.js.map
|