@theroutingcompany/components 0.0.139-alpha.2 → 0.0.139-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.
@@ -1,4 +1,4 @@
1
- (function(N,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react"),require("react-dom"),require("styled-components"),require("react-is"),require("@material-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","styled-components","react-is","@material-ui/icons"],c):(N=typeof globalThis<"u"?globalThis:N||self,c(N["trc-components"]={},N.React,N.ReactDOM,N.styled,N.ReactIs,N.icons))})(this,function(N,c,mo,se,ns,we){var QS;"use strict";const ap=e=>e&&e.__esModule?e:{default:e};function ip(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const D=ip(c),Kt=ip(mo),F=ap(se),rs=ap(ns);var Ca=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function c5(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var os={exports:{}},ho={};/**
1
+ (function(z,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react"),require("react-dom"),require("styled-components"),require("react-is"),require("@material-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","styled-components","react-is","@material-ui/icons"],c):(z=typeof globalThis<"u"?globalThis:z||self,c(z["trc-components"]={},z.React,z.ReactDOM,z.styled,z.ReactIs,z.icons))})(this,function(z,c,mo,se,ns,Ee){var QS;"use strict";const ap=e=>e&&e.__esModule?e:{default:e};function ip(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const D=ip(c),Vt=ip(mo),F=ap(se),rs=ap(ns);var Ca=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function c5(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var os={exports:{}},ho={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -14,28 +14,28 @@
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 sp;function d5(){return sp||(sp=1,process.env.NODE_ENV!=="production"&&function(){var e=D.default,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h=Symbol.iterator,b="@@iterator";function v(A){if(A===null||typeof A!="object")return null;var Q=h&&A[h]||A[b];return typeof Q=="function"?Q:null}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(A){{for(var Q=arguments.length,re=new Array(Q>1?Q-1:0),ue=1;ue<Q;ue++)re[ue-1]=arguments[ue];x("error",A,re)}}function x(A,Q,re){{var ue=_.ReactDebugCurrentFrame,ye=ue.getStackAddendum();ye!==""&&(Q+="%s",re=re.concat([ye]));var xe=re.map(function(be){return String(be)});xe.unshift("Warning: "+Q),Function.prototype.apply.call(console[A],console,xe)}}var S=!1,T=!1,P=!1,M=!1,$=!1,C;C=Symbol.for("react.module.reference");function z(A){return!!(typeof A=="string"||typeof A=="function"||A===r||A===a||$||A===o||A===u||A===d||M||A===g||S||T||P||typeof A=="object"&&A!==null&&(A.$$typeof===m||A.$$typeof===f||A.$$typeof===i||A.$$typeof===l||A.$$typeof===s||A.$$typeof===C||A.getModuleId!==void 0))}function E(A,Q,re){var ue=A.displayName;if(ue)return ue;var ye=Q.displayName||Q.name||"";return ye!==""?re+"("+ye+")":re}function K(A){return A.displayName||"Context"}function I(A){if(A==null)return null;if(typeof A.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case l:var Q=A;return K(Q)+".Consumer";case i:var re=A;return K(re._context)+".Provider";case s:return E(A,A.render,"ForwardRef");case f:var ue=A.displayName||null;return ue!==null?ue:I(A.type)||"Memo";case m:{var ye=A,xe=ye._payload,be=ye._init;try{return I(be(xe))}catch{return null}}}return null}var k=Object.assign,j=0,O,Z,V,q,B,U,W;function R(){}R.__reactDisabledLog=!0;function G(){{if(j===0){O=console.log,Z=console.info,V=console.warn,q=console.error,B=console.group,U=console.groupCollapsed,W=console.groupEnd;var A={configurable:!0,enumerable:!0,value:R,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}j++}}function te(){{if(j--,j===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:k({},A,{value:O}),info:k({},A,{value:Z}),warn:k({},A,{value:V}),error:k({},A,{value:q}),group:k({},A,{value:B}),groupCollapsed:k({},A,{value:U}),groupEnd:k({},A,{value:W})})}j<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=_.ReactCurrentDispatcher,X;function H(A,Q,re){{if(X===void 0)try{throw Error()}catch(ye){var ue=ye.stack.trim().match(/\n( *(at )?)/);X=ue&&ue[1]||""}return`
18
- `+X+A}}var J=!1,ie;{var me=typeof WeakMap=="function"?WeakMap:Map;ie=new me}function le(A,Q){if(!A||J)return"";{var re=ie.get(A);if(re!==void 0)return re}var ue;J=!0;var ye=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var xe;xe=ne.current,ne.current=null,G();try{if(Q){var be=function(){throw Error()};if(Object.defineProperty(be.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(be,[])}catch(fn){ue=fn}Reflect.construct(A,[],be)}else{try{be.call()}catch(fn){ue=fn}A.call(be.prototype)}}else{try{throw Error()}catch(fn){ue=fn}A()}}catch(fn){if(fn&&ue&&typeof fn.stack=="string"){for(var he=fn.stack.split(`
17
+ */var sp;function d5(){return sp||(sp=1,process.env.NODE_ENV!=="production"&&function(){var e=D.default,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h=Symbol.iterator,b="@@iterator";function v(A){if(A===null||typeof A!="object")return null;var Z=h&&A[h]||A[b];return typeof Z=="function"?Z:null}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(A){{for(var Z=arguments.length,re=new Array(Z>1?Z-1:0),ue=1;ue<Z;ue++)re[ue-1]=arguments[ue];x("error",A,re)}}function x(A,Z,re){{var ue=_.ReactDebugCurrentFrame,ye=ue.getStackAddendum();ye!==""&&(Z+="%s",re=re.concat([ye]));var we=re.map(function(be){return String(be)});we.unshift("Warning: "+Z),Function.prototype.apply.call(console[A],console,we)}}var S=!1,T=!1,P=!1,M=!1,$=!1,C;C=Symbol.for("react.module.reference");function N(A){return!!(typeof A=="string"||typeof A=="function"||A===r||A===a||$||A===o||A===u||A===d||M||A===g||S||T||P||typeof A=="object"&&A!==null&&(A.$$typeof===m||A.$$typeof===f||A.$$typeof===i||A.$$typeof===l||A.$$typeof===s||A.$$typeof===C||A.getModuleId!==void 0))}function E(A,Z,re){var ue=A.displayName;if(ue)return ue;var ye=Z.displayName||Z.name||"";return ye!==""?re+"("+ye+")":re}function K(A){return A.displayName||"Context"}function I(A){if(A==null)return null;if(typeof A.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case l:var Z=A;return K(Z)+".Consumer";case i:var re=A;return K(re._context)+".Provider";case s:return E(A,A.render,"ForwardRef");case f:var ue=A.displayName||null;return ue!==null?ue:I(A.type)||"Memo";case m:{var ye=A,we=ye._payload,be=ye._init;try{return I(be(we))}catch{return null}}}return null}var k=Object.assign,j=0,O,J,V,q,B,U,H;function R(){}R.__reactDisabledLog=!0;function G(){{if(j===0){O=console.log,J=console.info,V=console.warn,q=console.error,B=console.group,U=console.groupCollapsed,H=console.groupEnd;var A={configurable:!0,enumerable:!0,value:R,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}j++}}function ne(){{if(j--,j===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:k({},A,{value:O}),info:k({},A,{value:J}),warn:k({},A,{value:V}),error:k({},A,{value:q}),group:k({},A,{value:B}),groupCollapsed:k({},A,{value:U}),groupEnd:k({},A,{value:H})})}j<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var te=_.ReactCurrentDispatcher,ie;function X(A,Z,re){{if(ie===void 0)try{throw Error()}catch(ye){var ue=ye.stack.trim().match(/\n( *(at )?)/);ie=ue&&ue[1]||""}return`
18
+ `+ie+A}}var W=!1,ee;{var fe=typeof WeakMap=="function"?WeakMap:Map;ee=new fe}function le(A,Z){if(!A||W)return"";{var re=ee.get(A);if(re!==void 0)return re}var ue;W=!0;var ye=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var we;we=te.current,te.current=null,G();try{if(Z){var be=function(){throw Error()};if(Object.defineProperty(be.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(be,[])}catch(pn){ue=pn}Reflect.construct(A,[],be)}else{try{be.call()}catch(pn){ue=pn}A.call(be.prototype)}}else{try{throw Error()}catch(pn){ue=pn}A()}}catch(pn){if(pn&&ue&&typeof pn.stack=="string"){for(var he=pn.stack.split(`
19
19
  `),Je=ue.stack.split(`
20
20
  `),Fe=he.length-1,Ne=Je.length-1;Fe>=1&&Ne>=0&&he[Fe]!==Je[Ne];)Ne--;for(;Fe>=1&&Ne>=0;Fe--,Ne--)if(he[Fe]!==Je[Ne]){if(Fe!==1||Ne!==1)do if(Fe--,Ne--,Ne<0||he[Fe]!==Je[Ne]){var gt=`
21
- `+he[Fe].replace(" at new "," at ");return A.displayName&&gt.includes("<anonymous>")&&(gt=gt.replace("<anonymous>",A.displayName)),typeof A=="function"&&ie.set(A,gt),gt}while(Fe>=1&&Ne>=0);break}}}finally{J=!1,ne.current=xe,te(),Error.prepareStackTrace=ye}var go=A?A.displayName||A.name:"",s5=go?H(go):"";return typeof A=="function"&&ie.set(A,s5),s5}function fe(A,Q,re){return le(A,!1)}function De(A){var Q=A.prototype;return!!(Q&&Q.isReactComponent)}function Mn(A,Q,re){if(A==null)return"";if(typeof A=="function")return le(A,De(A));if(typeof A=="string")return H(A);switch(A){case u:return H("Suspense");case d:return H("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case s:return fe(A.render);case f:return Mn(A.type,Q,re);case m:{var ue=A,ye=ue._payload,xe=ue._init;try{return Mn(xe(ye),Q,re)}catch{}}}return""}var Fn=Object.prototype.hasOwnProperty,co={},uo=_.ReactDebugCurrentFrame;function un(A){if(A){var Q=A._owner,re=Mn(A.type,A._source,Q?Q.type:null);uo.setExtraStackFrame(re)}else uo.setExtraStackFrame(null)}function Rt(A,Q,re,ue,ye){{var xe=Function.call.bind(Fn);for(var be in A)if(xe(A,be)){var he=void 0;try{if(typeof A[be]!="function"){var Je=Error((ue||"React class")+": "+re+" type `"+be+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[be]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Je.name="Invariant Violation",Je}he=A[be](Q,be,ue,re,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Fe){he=Fe}he&&!(he instanceof Error)&&(un(ye),y("%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).",ue||"React class",re,be,typeof he),un(null)),he instanceof Error&&!(he.message in co)&&(co[he.message]=!0,un(ye),y("Failed %s type: %s",re,he.message),un(null))}}}var dn=Array.isArray;function fo(A){return dn(A)}function es(A){{var Q=typeof Symbol=="function"&&Symbol.toStringTag,re=Q&&A[Symbol.toStringTag]||A.constructor.name||"Object";return re}}function ep(A){try{return ts(A),!1}catch{return!0}}function ts(A){return""+A}function st(A){if(ep(A))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",es(A)),ts(A)}var ka=_.ReactCurrentOwner,DV={key:!0,ref:!0,__self:!0,__source:!0},e5,t5,tp;tp={};function PV(A){if(Fn.call(A,"ref")){var Q=Object.getOwnPropertyDescriptor(A,"ref").get;if(Q&&Q.isReactWarning)return!1}return A.ref!==void 0}function TV(A){if(Fn.call(A,"key")){var Q=Object.getOwnPropertyDescriptor(A,"key").get;if(Q&&Q.isReactWarning)return!1}return A.key!==void 0}function kV(A,Q){if(typeof A.ref=="string"&&ka.current&&Q&&ka.current.stateNode!==Q){var re=I(ka.current.type);tp[re]||(y('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',I(ka.current.type),A.ref),tp[re]=!0)}}function CV(A,Q){{var re=function(){e5||(e5=!0,y("%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)",Q))};re.isReactWarning=!0,Object.defineProperty(A,"key",{get:re,configurable:!0})}}function AV(A,Q){{var re=function(){t5||(t5=!0,y("%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)",Q))};re.isReactWarning=!0,Object.defineProperty(A,"ref",{get:re,configurable:!0})}}var IV=function(A,Q,re,ue,ye,xe,be){var he={$$typeof:t,type:A,key:Q,ref:re,props:be,_owner:xe};return he._store={},Object.defineProperty(he._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(he,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ue}),Object.defineProperty(he,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ye}),Object.freeze&&(Object.freeze(he.props),Object.freeze(he)),he};function OV(A,Q,re,ue,ye){{var xe,be={},he=null,Je=null;re!==void 0&&(st(re),he=""+re),TV(Q)&&(st(Q.key),he=""+Q.key),PV(Q)&&(Je=Q.ref,kV(Q,ye));for(xe in Q)Fn.call(Q,xe)&&!DV.hasOwnProperty(xe)&&(be[xe]=Q[xe]);if(A&&A.defaultProps){var Fe=A.defaultProps;for(xe in Fe)be[xe]===void 0&&(be[xe]=Fe[xe])}if(he||Je){var Ne=typeof A=="function"?A.displayName||A.name||"Unknown":A;he&&CV(be,Ne),Je&&AV(be,Ne)}return IV(A,he,Je,ye,ue,ka.current,be)}}var np=_.ReactCurrentOwner,n5=_.ReactDebugCurrentFrame;function po(A){if(A){var Q=A._owner,re=Mn(A.type,A._source,Q?Q.type:null);n5.setExtraStackFrame(re)}else n5.setExtraStackFrame(null)}var rp;rp=!1;function op(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function r5(){{if(np.current){var A=I(np.current.type);if(A)return`
21
+ `+he[Fe].replace(" at new "," at ");return A.displayName&&gt.includes("<anonymous>")&&(gt=gt.replace("<anonymous>",A.displayName)),typeof A=="function"&&ee.set(A,gt),gt}while(Fe>=1&&Ne>=0);break}}}finally{W=!1,te.current=we,ne(),Error.prepareStackTrace=ye}var go=A?A.displayName||A.name:"",s5=go?X(go):"";return typeof A=="function"&&ee.set(A,s5),s5}function ge(A,Z,re){return le(A,!1)}function _e(A){var Z=A.prototype;return!!(Z&&Z.isReactComponent)}function Tt(A,Z,re){if(A==null)return"";if(typeof A=="function")return le(A,_e(A));if(typeof A=="string")return X(A);switch(A){case u:return X("Suspense");case d:return X("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case s:return ge(A.render);case f:return Tt(A.type,Z,re);case m:{var ue=A,ye=ue._payload,we=ue._init;try{return Tt(we(ye),Z,re)}catch{}}}return""}var Fn=Object.prototype.hasOwnProperty,co={},uo=_.ReactDebugCurrentFrame;function dn(A){if(A){var Z=A._owner,re=Tt(A.type,A._source,Z?Z.type:null);uo.setExtraStackFrame(re)}else uo.setExtraStackFrame(null)}function Kt(A,Z,re,ue,ye){{var we=Function.call.bind(Fn);for(var be in A)if(we(A,be)){var he=void 0;try{if(typeof A[be]!="function"){var Je=Error((ue||"React class")+": "+re+" type `"+be+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[be]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Je.name="Invariant Violation",Je}he=A[be](Z,be,ue,re,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Fe){he=Fe}he&&!(he instanceof Error)&&(dn(ye),y("%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).",ue||"React class",re,be,typeof he),dn(null)),he instanceof Error&&!(he.message in co)&&(co[he.message]=!0,dn(ye),y("Failed %s type: %s",re,he.message),dn(null))}}}var fn=Array.isArray;function fo(A){return fn(A)}function es(A){{var Z=typeof Symbol=="function"&&Symbol.toStringTag,re=Z&&A[Symbol.toStringTag]||A.constructor.name||"Object";return re}}function ep(A){try{return ts(A),!1}catch{return!0}}function ts(A){return""+A}function st(A){if(ep(A))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",es(A)),ts(A)}var ka=_.ReactCurrentOwner,DV={key:!0,ref:!0,__self:!0,__source:!0},e5,t5,tp;tp={};function PV(A){if(Fn.call(A,"ref")){var Z=Object.getOwnPropertyDescriptor(A,"ref").get;if(Z&&Z.isReactWarning)return!1}return A.ref!==void 0}function TV(A){if(Fn.call(A,"key")){var Z=Object.getOwnPropertyDescriptor(A,"key").get;if(Z&&Z.isReactWarning)return!1}return A.key!==void 0}function kV(A,Z){if(typeof A.ref=="string"&&ka.current&&Z&&ka.current.stateNode!==Z){var re=I(ka.current.type);tp[re]||(y('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',I(ka.current.type),A.ref),tp[re]=!0)}}function CV(A,Z){{var re=function(){e5||(e5=!0,y("%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))};re.isReactWarning=!0,Object.defineProperty(A,"key",{get:re,configurable:!0})}}function AV(A,Z){{var re=function(){t5||(t5=!0,y("%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))};re.isReactWarning=!0,Object.defineProperty(A,"ref",{get:re,configurable:!0})}}var IV=function(A,Z,re,ue,ye,we,be){var he={$$typeof:t,type:A,key:Z,ref:re,props:be,_owner:we};return he._store={},Object.defineProperty(he._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(he,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ue}),Object.defineProperty(he,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ye}),Object.freeze&&(Object.freeze(he.props),Object.freeze(he)),he};function OV(A,Z,re,ue,ye){{var we,be={},he=null,Je=null;re!==void 0&&(st(re),he=""+re),TV(Z)&&(st(Z.key),he=""+Z.key),PV(Z)&&(Je=Z.ref,kV(Z,ye));for(we in Z)Fn.call(Z,we)&&!DV.hasOwnProperty(we)&&(be[we]=Z[we]);if(A&&A.defaultProps){var Fe=A.defaultProps;for(we in Fe)be[we]===void 0&&(be[we]=Fe[we])}if(he||Je){var Ne=typeof A=="function"?A.displayName||A.name||"Unknown":A;he&&CV(be,Ne),Je&&AV(be,Ne)}return IV(A,he,Je,ye,ue,ka.current,be)}}var np=_.ReactCurrentOwner,n5=_.ReactDebugCurrentFrame;function po(A){if(A){var Z=A._owner,re=Tt(A.type,A._source,Z?Z.type:null);n5.setExtraStackFrame(re)}else n5.setExtraStackFrame(null)}var rp;rp=!1;function op(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function r5(){{if(np.current){var A=I(np.current.type);if(A)return`
22
22
 
23
- Check the render method of \``+A+"`."}return""}}function MV(A){{if(A!==void 0){var Q=A.fileName.replace(/^.*[\\\/]/,""),re=A.lineNumber;return`
23
+ Check the render method of \``+A+"`."}return""}}function MV(A){{if(A!==void 0){var Z=A.fileName.replace(/^.*[\\\/]/,""),re=A.lineNumber;return`
24
24
 
25
- Check your code at `+Q+":"+re+"."}return""}}var o5={};function FV(A){{var Q=r5();if(!Q){var re=typeof A=="string"?A:A.displayName||A.name;re&&(Q=`
25
+ Check your code at `+Z+":"+re+"."}return""}}var o5={};function FV(A){{var Z=r5();if(!Z){var re=typeof A=="string"?A:A.displayName||A.name;re&&(Z=`
26
26
 
27
- Check the top-level render call using <`+re+">.")}return Q}}function a5(A,Q){{if(!A._store||A._store.validated||A.key!=null)return;A._store.validated=!0;var re=FV(Q);if(o5[re])return;o5[re]=!0;var ue="";A&&A._owner&&A._owner!==np.current&&(ue=" It was passed a child from "+I(A._owner.type)+"."),po(A),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',re,ue),po(null)}}function i5(A,Q){{if(typeof A!="object")return;if(fo(A))for(var re=0;re<A.length;re++){var ue=A[re];op(ue)&&a5(ue,Q)}else if(op(A))A._store&&(A._store.validated=!0);else if(A){var ye=v(A);if(typeof ye=="function"&&ye!==A.entries)for(var xe=ye.call(A),be;!(be=xe.next()).done;)op(be.value)&&a5(be.value,Q)}}}function LV(A){{var Q=A.type;if(Q==null||typeof Q=="string")return;var re;if(typeof Q=="function")re=Q.propTypes;else if(typeof Q=="object"&&(Q.$$typeof===s||Q.$$typeof===f))re=Q.propTypes;else return;if(re){var ue=I(Q);Rt(re,A.props,"prop",ue,A)}else if(Q.PropTypes!==void 0&&!rp){rp=!0;var ye=I(Q);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ye||"Unknown")}typeof Q.getDefaultProps=="function"&&!Q.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function NV(A){{for(var Q=Object.keys(A.props),re=0;re<Q.length;re++){var ue=Q[re];if(ue!=="children"&&ue!=="key"){po(A),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ue),po(null);break}}A.ref!==null&&(po(A),y("Invalid attribute `ref` supplied to `React.Fragment`."),po(null))}}function l5(A,Q,re,ue,ye,xe){{var be=z(A);if(!be){var he="";(A===void 0||typeof A=="object"&&A!==null&&Object.keys(A).length===0)&&(he+=" 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 Je=MV(ye);Je?he+=Je:he+=r5();var Fe;A===null?Fe="null":fo(A)?Fe="array":A!==void 0&&A.$$typeof===t?(Fe="<"+(I(A.type)||"Unknown")+" />",he=" Did you accidentally export a JSX literal instead of a component?"):Fe=typeof A,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Fe,he)}var Ne=OV(A,Q,re,ye,xe);if(Ne==null)return Ne;if(be){var gt=Q.children;if(gt!==void 0)if(ue)if(fo(gt)){for(var go=0;go<gt.length;go++)i5(gt[go],A);Object.freeze&&Object.freeze(gt)}else y("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 i5(gt,A)}return A===r?NV(Ne):LV(Ne),Ne}}function zV(A,Q,re){return l5(A,Q,re,!0)}function RV(A,Q,re){return l5(A,Q,re,!1)}var KV=RV,VV=zV;bo.Fragment=r,bo.jsx=KV,bo.jsxs=VV}()),bo}process.env.NODE_ENV==="production"?os.exports=u5():os.exports=d5();var as=os.exports;const Vt=as.Fragment,w=as.jsx,ee=as.jsxs;function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(this,arguments)}function f5(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ia(...e){return t=>e.forEach(n=>f5(n,t))}function $e(...e){return c.useCallback(Ia(...e),e)}const Ln=c.forwardRef((e,t)=>{const{children:n,...r}=e,o=c.Children.toArray(n),a=o.find(p5);if(a){const i=a.props.children,l=o.map(s=>s===a?c.Children.count(i)>1?c.Children.only(null):c.isValidElement(i)?i.props.children:null:s);return c.createElement(is,L({},r,{ref:t}),c.isValidElement(i)?c.cloneElement(i,void 0,l):null)}return c.createElement(is,L({},r,{ref:t}),n)});Ln.displayName="Slot";const is=c.forwardRef((e,t)=>{const{children:n,...r}=e;return c.isValidElement(n)?c.cloneElement(n,{...g5(r,n.props),ref:t?Ia(t,n.ref):n.ref}):c.Children.count(n)>1?c.Children.only(null):null});is.displayName="SlotClone";const ls=({children:e})=>c.createElement(c.Fragment,null,e);function p5(e){return c.isValidElement(e)&&e.type===ls}function g5(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...l)=>{a(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}const ce=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=c.forwardRef((r,o)=>{const{asChild:a,...i}=r,l=a?Ln:t;return c.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),c.createElement(l,L({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function ss(e,t){e&&mo.flushSync(()=>e.dispatchEvent(t))}const cs=c.forwardRef((e,t)=>c.createElement(ce.span,L({},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}}))),cp=cs,m5=({children:e,label:t})=>{const n=c.Children.only(e);return c.createElement(c.Fragment,null,c.cloneElement(n,{"aria-hidden":"true",focusable:"false"}),c.createElement(cp,null,t))};function vo({children:e,label:t}){return w(m5,{label:t,children:e})}function h5(e,t){const n=c.createContext(t);function r(a){const{children:i,...l}=a,s=c.useMemo(()=>l,Object.values(l));return c.createElement(n.Provider,{value:s},i)}function o(a){const i=c.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function Ke(e,t=[]){let n=[];function r(a,i){const l=c.createContext(i),s=n.length;n=[...n,i];function u(f){const{scope:m,children:g,...h}=f,b=(m==null?void 0:m[e][s])||l,v=c.useMemo(()=>h,Object.values(h));return c.createElement(b.Provider,{value:v},g)}function d(f,m){const g=(m==null?void 0:m[e][s])||l,h=c.useContext(g);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,d]}const o=()=>{const a=n.map(i=>c.createContext(i));return function(l){const s=(l==null?void 0:l[e])||a;return c.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])}};return o.scopeName=e,[r,b5(o,...t)]}function b5(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=r.reduce((l,{useScope:s,scopeName:u})=>{const f=s(a)[`__scope${u}`];return{...l,...f}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Oa(e){const t=e+"CollectionProvider",[n,r]=Ke(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=g=>{const{scope:h,children:b}=g,v=D.default.useRef(null),_=D.default.useRef(new Map).current;return D.default.createElement(o,{scope:h,itemMap:_,collectionRef:v},b)},l=e+"CollectionSlot",s=D.default.forwardRef((g,h)=>{const{scope:b,children:v}=g,_=a(l,b),y=$e(h,_.collectionRef);return D.default.createElement(Ln,{ref:y},v)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",f=D.default.forwardRef((g,h)=>{const{scope:b,children:v,..._}=g,y=D.default.useRef(null),x=$e(h,y),S=a(u,b);return D.default.useEffect(()=>(S.itemMap.set(y,{ref:y,..._}),()=>void S.itemMap.delete(y))),D.default.createElement(Ln,{[d]:"",ref:x},v)});function m(g){const h=a(e+"CollectionConsumer",g);return D.default.useCallback(()=>{const v=h.collectionRef.current;if(!v)return[];const _=Array.from(v.querySelectorAll(`[${d}]`));return Array.from(h.itemMap.values()).sort((S,T)=>_.indexOf(S.ref.current)-_.indexOf(T.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:s,ItemSlot:f},m,r]}function oe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function je(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Ue({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=v5({defaultProp:t,onChange:n}),a=e!==void 0,i=a?e:r,l=je(n),s=c.useCallback(u=>{if(a){const f=typeof u=="function"?u(e):u;f!==e&&l(f)}else o(u)},[a,e,o,l]);return[i,s]}function v5({defaultProp:e,onChange:t}){const n=c.useState(e),[r]=n,o=c.useRef(r),a=je(t);return c.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}const pn=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{};function y5(e,t){return c.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const We=e=>{const{present:t,children:n}=e,r=$5(t),o=typeof n=="function"?n({present:r.isPresent}):c.Children.only(n),a=$e(r.ref,o.ref);return typeof n=="function"||r.isPresent?c.cloneElement(o,{ref:a}):null};We.displayName="Presence";function $5(e){const[t,n]=c.useState(),r=c.useRef({}),o=c.useRef(e),a=c.useRef("none"),i=e?"mounted":"unmounted",[l,s]=y5(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const u=Ma(r.current);a.current=l==="mounted"?u:"none"},[l]),pn(()=>{const u=r.current,d=o.current;if(d!==e){const m=a.current,g=Ma(u);e?s("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(d&&m!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),pn(()=>{if(t){const u=f=>{const g=Ma(r.current).includes(f.animationName);f.target===t&&g&&mo.flushSync(()=>s("ANIMATION_END"))},d=f=>{f.target===t&&(a.current=Ma(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:c.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ma(e){return(e==null?void 0:e.animationName)||"none"}const _5=D["useId".toString()]||(()=>{});let x5=0;function nt(e){const[t,n]=D.useState(_5());return pn(()=>{e||n(r=>r??String(x5++))},[e]),e||(t?`radix-${t}`:"")}const up="Collapsible",[w5,dp]=Ke(up),[E5,us]=w5(up),S5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:a,onOpenChange:i,...l}=e,[s=!1,u]=Ue({prop:r,defaultProp:o,onChange:i});return c.createElement(E5,{scope:n,disabled:a,contentId:nt(),open:s,onOpenToggle:c.useCallback(()=>u(d=>!d),[u])},c.createElement(ce.div,L({"data-state":ds(s),"data-disabled":a?"":void 0},l,{ref:t})))}),D5="CollapsibleTrigger",P5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=us(D5,n);return c.createElement(ce.button,L({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":ds(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},r,{ref:t,onClick:oe(e.onClick,o.onOpenToggle)}))}),fp="CollapsibleContent",T5=c.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=us(fp,e.__scopeCollapsible);return c.createElement(We,{present:n||o.open},({present:a})=>c.createElement(k5,L({},r,{ref:t,present:a})))}),k5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...a}=e,i=us(fp,n),[l,s]=c.useState(r),u=c.useRef(null),d=$e(t,u),f=c.useRef(0),m=f.current,g=c.useRef(0),h=g.current,b=i.open||l,v=c.useRef(b),_=c.useRef();return c.useEffect(()=>{const y=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(y)},[]),pn(()=>{const y=u.current;if(y){_.current=_.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const x=y.getBoundingClientRect();f.current=x.height,g.current=x.width,v.current||(y.style.transitionDuration=_.current.transitionDuration,y.style.animationName=_.current.animationName),s(r)}},[i.open,r]),c.createElement(ce.div,L({"data-state":ds(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!b},a,{ref:d,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":h?`${h}px`:void 0,...e.style}}),b&&o)});function ds(e){return e?"open":"closed"}const C5=S5,A5=P5,I5=T5,O5=c.createContext(void 0);function cr(e){const t=c.useContext(O5);return e||t||"ltr"}const gn="Accordion",M5=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[fs,F5,L5]=Oa(gn),[Fa,UV]=Ke(gn,[L5,dp]),ps=dp(),pp=D.default.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,a=r;return D.default.createElement(fs.Provider,{scope:e.__scopeAccordion},n==="multiple"?D.default.createElement(K5,L({},a,{ref:t})):D.default.createElement(R5,L({},o,{ref:t})))});pp.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[gp,N5]=Fa(gn),[mp,z5]=Fa(gn,{collapsible:!1}),R5=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:a=!1,...i}=e,[l,s]=Ue({prop:n,defaultProp:r,onChange:o});return D.default.createElement(gp,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:D.default.useCallback(()=>a&&s(""),[a,s])},D.default.createElement(mp,{scope:e.__scopeAccordion,collapsible:a},D.default.createElement(hp,L({},i,{ref:t}))))}),K5=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],l]=Ue({prop:n,defaultProp:r,onChange:o}),s=D.default.useCallback(d=>l((f=[])=>[...f,d]),[l]),u=D.default.useCallback(d=>l((f=[])=>f.filter(m=>m!==d)),[l]);return D.default.createElement(gp,{scope:e.__scopeAccordion,value:i,onItemOpen:s,onItemClose:u},D.default.createElement(mp,{scope:e.__scopeAccordion,collapsible:!0},D.default.createElement(hp,L({},a,{ref:t}))))}),[V5,La]=Fa(gn),hp=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:a="vertical",...i}=e,l=D.default.useRef(null),s=$e(l,t),u=F5(n),f=cr(o)==="ltr",m=oe(e.onKeyDown,g=>{var h;if(!M5.includes(g.key))return;const b=g.target,v=u().filter(C=>{var z;return!((z=C.ref.current)!==null&&z!==void 0&&z.disabled)}),_=v.findIndex(C=>C.ref.current===b),y=v.length;if(_===-1)return;g.preventDefault();let x=_;const S=0,T=y-1,P=()=>{x=_+1,x>T&&(x=S)},M=()=>{x=_-1,x<S&&(x=T)};switch(g.key){case"Home":x=S;break;case"End":x=T;break;case"ArrowRight":a==="horizontal"&&(f?P():M());break;case"ArrowDown":a==="vertical"&&P();break;case"ArrowLeft":a==="horizontal"&&(f?M():P());break;case"ArrowUp":a==="vertical"&&M();break}const $=x%y;(h=v[$].ref.current)===null||h===void 0||h.focus()});return D.default.createElement(V5,{scope:n,disabled:r,direction:o,orientation:a},D.default.createElement(fs.Slot,{scope:n},D.default.createElement(ce.div,L({},i,{"data-orientation":a,ref:s,onKeyDown:r?void 0:m}))))}),gs="AccordionItem",[B5,ms]=Fa(gs),j5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,a=La(gs,n),i=N5(gs,n),l=ps(n),s=nt(),u=r&&i.value.includes(r)||!1,d=a.disabled||e.disabled;return D.default.createElement(B5,{scope:n,open:u,disabled:d,triggerId:s},D.default.createElement(C5,L({"data-orientation":a.orientation,"data-state":vp(u)},l,o,{ref:t,disabled:d,open:u,onOpenChange:f=>{f?i.onItemOpen(r):i.onItemClose(r)}})))}),U5="AccordionHeader",W5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=La(gn,n),a=ms(U5,n);return D.default.createElement(ce.h3,L({"data-orientation":o.orientation,"data-state":vp(a.open),"data-disabled":a.disabled?"":void 0},r,{ref:t}))}),bp="AccordionTrigger",H5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=La(gn,n),a=ms(bp,n),i=z5(bp,n),l=ps(n);return D.default.createElement(fs.ItemSlot,{scope:n},D.default.createElement(A5,L({"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId},l,r,{ref:t})))}),G5="AccordionContent",Y5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=La(gn,n),a=ms(G5,n),i=ps(n);return D.default.createElement(I5,L({role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation},i,r,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function vp(e){return e?"open":"closed"}const q5=pp,X5=j5,J5=W5,Z5=H5,Q5=Y5,p={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_brand_tangerine:"#D58844",color_brand_lilac:"#A067A0",color_brand_solidago:"#D1C252",color_brand_solidago_opacity_48:"rgba(209, 194, 82, .48)",color_brand_red:"#DA5B40",color_brand_red_dark:"#BE4F37",color_brand_red_opacity_20:"rgba(218, 91, 64, 0.2)",color_brand_red_opacity_24:"rgba(218, 91, 64, 0.24)",color_brand_red_opacity_32:"rgba(218, 91, 64, 0.32)",color_brand_red_opacity_48:"rgba(218, 91, 64, 0.48)",color_brand_red_opacity_90:"rgba(218, 91, 64, 0.9)",color_brand_gray_50:"#E9E8E3",color_brand_gray_100:"#CECDC8",color_brand_gray_200:"#BCBAB6",color_brand_gray_300:"#AAA7A4",color_brand_gray_400:"#8E8B88",color_brand_gray_500:"#85827F",color_brand_gray_600:"#72706D",color_brand_gray_700:"#605D5B",color_brand_gray_800:"#4E4A49",color_brand_gray_900:"#3B3836",color_gray_2:"#090909",color_gray_4:"#0E0E0E",color_gray_6:"#131313",color_gray_8:"#181818",color_gray_10:"#1D1D1D",color_gray_12:"#222222",color_gray_14:"#272727",color_gray_16:"#2C2C2C",color_gray_18:"#313131",color_gray_20:"#363636",color_gray_22:"#3B3B3B",color_gray_24:"#404040",color_gray_26:"#454545",color_gray_28:"#4A4A4A",color_gray_30:"#4F4F4F",color_gray_32:"#545454",color_gray_34:"#595959",color_gray_36:"#5E5E5E",color_gray_38:"#636363",color_gray_40:"#686868",color_gray_42:"#6D6D6D",color_gray_44:"#727272",color_gray_46:"#777777",color_gray_48:"#7C7C7C",color_gray_50:"#818181",color_gray_52:"#868686",color_gray_54:"#8B8B8B",color_gray_56:"#909090",color_gray_58:"#959595",color_gray_60:"#9A9A9A",color_gray_62:"#9F9F9F",color_gray_64:"#A4A4A4",color_gray_66:"#A9A9A9",color_gray_68:"#AEAEAE",color_gray_70:"#B3B3B3",color_gray_72:"#B8B8B8",color_gray_74:"#BDBDBD",color_gray_76:"#C2C2C2",color_gray_78:"#C7C7C7",color_gray_80:"#CCCCCC",color_gray_82:"#D1D1D1",color_gray_84:"#D6D6D6",color_gray_86:"#DBDBDB",color_gray_88:"#E0E0E0",color_gray_90:"#E6E6E6",color_gray_92:"#EDEDED",color_gray_94:"#F0F0F0",color_gray_96:"#F6F6F6",color_gray_98:"#FAFAFA",color_gray_opacity_1:"rgba(0, 0, 0, 0.01)",color_gray_opacity_2:"rgba(0, 0, 0, 0.02)",color_gray_opacity_3:"rgba(0, 0, 0, 0.03)",color_gray_opacity_4:"rgba(0, 0, 0, 0.04)",color_gray_opacity_5:"rgba(0, 0, 0, 0.05)",color_gray_opacity_6:"rgba(0, 0, 0, 0.06)",color_gray_opacity_7:"rgba(0, 0, 0, 0.07)",color_gray_opacity_8:"rgba(0, 0, 0, 0.08)",color_gray_opacity_9:"rgba(0, 0, 0, 0.09)",color_gray_opacity_10:"rgba(0, 0, 0, 0.1)",color_gray_opacity_11:"rgba(0, 0, 0, 0.11)",color_gray_opacity_12:"rgba(0, 0, 0, 0.12)",color_gray_opacity_13:"rgba(0, 0, 0, 0.13)",color_gray_opacity_14:"rgba(0, 0, 0, 0.14)",color_gray_opacity_15:"rgba(0, 0, 0, 0.15)",color_gray_opacity_16:"rgba(0, 0, 0, 0.16)",color_gray_opacity_17:"rgba(0, 0, 0, 0.17)",color_gray_opacity_18:"rgba(0, 0, 0, 0.18)",color_gray_opacity_19:"rgba(0, 0, 0, 0.19)",color_gray_opacity_20:"rgba(0, 0, 0, 0.2)",color_gray_opacity_21:"rgba(0, 0, 0, 0.21)",color_gray_opacity_22:"rgba(0, 0, 0, 0.22)",color_gray_opacity_23:"rgba(0, 0, 0, 0.23)",color_gray_opacity_24:"rgba(0, 0, 0, 0.24)",color_gray_opacity_25:"rgba(0, 0, 0, 0.25)",color_gray_opacity_26:"rgba(0, 0, 0, 0.26)",color_gray_opacity_27:"rgba(0, 0, 0, 0.27)",color_gray_opacity_28:"rgba(0, 0, 0, 0.28)",color_gray_opacity_29:"rgba(0, 0, 0, 0.29)",color_gray_opacity_30:"rgba(0, 0, 0, 0.3)",color_gray_opacity_31:"rgba(0, 0, 0, 0.31)",color_gray_opacity_32:"rgba(0, 0, 0, 0.32)",color_gray_opacity_33:"rgba(0, 0, 0, 0.33)",color_gray_opacity_34:"rgba(0, 0, 0, 0.34)",color_gray_opacity_35:"rgba(0, 0, 0, 0.35)",color_gray_opacity_36:"rgba(0, 0, 0, 0.36)",color_gray_opacity_37:"rgba(0, 0, 0, 0.37)",color_gray_opacity_38:"rgba(0, 0, 0, 0.38)",color_gray_opacity_39:"rgba(0, 0, 0, 0.39)",color_gray_opacity_40:"rgba(0, 0, 0, 0.4)",color_gray_opacity_41:"rgba(0, 0, 0, 0.41)",color_gray_opacity_42:"rgba(0, 0, 0, 0.42)",color_gray_opacity_43:"rgba(0, 0, 0, 0.43)",color_gray_opacity_44:"rgba(0, 0, 0, 0.44)",color_gray_opacity_45:"rgba(0, 0, 0, 0.45)",color_gray_opacity_46:"rgba(0, 0, 0, 0.46)",color_gray_opacity_47:"rgba(0, 0, 0, 0.47)",color_gray_opacity_48:"rgba(0, 0, 0, 0.48)",color_gray_opacity_49:"rgba(0, 0, 0, 0.49)",color_gray_opacity_50:"rgba(0, 0, 0, 0.5)",color_gray_opacity_51:"rgba(0, 0, 0, 0.51)",color_gray_opacity_52:"rgba(0, 0, 0, 0.52)",color_gray_opacity_53:"rgba(0, 0, 0, 0.53)",color_gray_opacity_54:"rgba(0, 0, 0, 0.54)",color_gray_opacity_55:"rgba(0, 0, 0, 0.55)",color_gray_opacity_56:"rgba(0, 0, 0, 0.56)",color_gray_opacity_57:"rgba(0, 0, 0, 0.57)",color_gray_opacity_58:"rgba(0, 0, 0, 0.58)",color_gray_opacity_59:"rgba(0, 0, 0, 0.59)",color_gray_opacity_60:"rgba(0, 0, 0, 0.6)",color_gray_opacity_61:"rgba(0, 0, 0, 0.61)",color_gray_opacity_62:"rgba(0, 0, 0, 0.62)",color_gray_opacity_63:"rgba(0, 0, 0, 0.63)",color_gray_opacity_64:"rgba(0, 0, 0, 0.64)",color_gray_opacity_65:"rgba(0, 0, 0, 0.65)",color_gray_opacity_66:"rgba(0, 0, 0, 0.66)",color_gray_opacity_67:"rgba(0, 0, 0, 0.67)",color_gray_opacity_68:"rgba(0, 0, 0, 0.68)",color_gray_opacity_69:"rgba(0, 0, 0, 0.69)",color_gray_opacity_70:"rgba(0, 0, 0, 0.7)",color_gray_opacity_71:"rgba(0, 0, 0, 0.71)",color_gray_opacity_72:"rgba(0, 0, 0, 0.72)",color_gray_opacity_73:"rgba(0, 0, 0, 0.73)",color_gray_opacity_74:"rgba(0, 0, 0, 0.74)",color_gray_opacity_75:"rgba(0, 0, 0, 0.75)",color_gray_opacity_76:"rgba(0, 0, 0, 0.76)",color_gray_opacity_77:"rgba(0, 0, 0, 0.77)",color_gray_opacity_78:"rgba(0, 0, 0, 0.78)",color_gray_opacity_79:"rgba(0, 0, 0, 0.79)",color_gray_opacity_80:"rgba(0, 0, 0, 0.8)",color_gray_opacity_81:"rgba(0, 0, 0, 0.81)",color_gray_opacity_82:"rgba(0, 0, 0, 0.82)",color_gray_opacity_83:"rgba(0, 0, 0, 0.83)",color_gray_opacity_84:"rgba(0, 0, 0, 0.84)",color_gray_opacity_85:"rgba(0, 0, 0, 0.85)",color_gray_opacity_86:"rgba(0, 0, 0, 0.86)",color_gray_opacity_87:"rgba(0, 0, 0, 0.87)",color_gray_opacity_88:"rgba(0, 0, 0, 0.88)",color_gray_opacity_89:"rgba(0, 0, 0, 0.89)",color_gray_opacity_90:"rgba(0, 0, 0, 0.9)",color_gray_opacity_91:"rgba(0, 0, 0, 0.91)",color_gray_opacity_92:"rgba(0, 0, 0, 0.92)",color_gray_opacity_93:"rgba(0, 0, 0, 0.93)",color_gray_opacity_94:"rgba(0, 0, 0, 0.94)",color_gray_opacity_95:"rgba(0, 0, 0, 0.95)",color_gray_opacity_96:"rgba(0, 0, 0, 0.96)",color_gray_opacity_97:"rgba(0, 0, 0, 0.97)",color_gray_opacity_98:"rgba(0, 0, 0, 0.98)",color_gray_opacity_99:"rgba(0, 0, 0, 0.99)",color_black:"#000000",color_white:"#FFFFFF",color_green:"#0DA166",color_green_opacity_48:"rgba(13, 161, 102, .48)",color_event_fill_faded_pickup:"rgba(218, 91, 64, 0.30)",color_event_fill_faded_dropoff:"rgba(18, 88, 210, 0.30)",color_event_fill_faded_stop:"rgba(192, 178, 45, 0.30)",color_event_fill_faded_incomplete:"rgba(120, 120, 120, 0.30)",color_event_fill_faded_arrival:"#CCCCCC",color_event_fill_faded_departure:"#CCCCCC",color_event_fill_faded_online:"rgba(13, 161, 102, 0.30)",color_event_fill_faded_offline:"rgba(62, 62, 62, 0.30)",color_event_fill_solid_pickup:"rgba(218, 91, 64, 1)",color_event_fill_solid_dropoff:"rgba(18, 88, 210, 1)",color_event_fill_solid_stop:"rgba(192, 178, 45, 1)",color_event_fill_solid_incomplete:"rgba(120, 120, 120, 1)",color_event_fill_solid_arrival:"#CCCCCC",color_event_fill_solid_departure:"#CCCCCC",color_event_fill_solid_online:"rgba(13, 161, 102, 1)",color_event_fill_solid_offline:"rgba(62, 62, 62, 1)",color_event_outline_faded_pickup:"rgba(218, 91, 64, 0.15)",color_event_outline_faded_dropoff:"rgba(18, 88, 210, 0.15)",color_event_outline_faded_stop:"rgba(210, 195, 56, 0.15)",color_event_outline_faded_incomplete:"rgba(0, 0, 0, 0.15)",color_event_outline_faded_online:"rgba(13, 161, 102, 0.15)",color_event_outline_faded_offline:"rgba(62, 62, 62, 0.15)",color_deprecated_background_white_standard:"#FFFFFF",color_deprecated_background_white_strong:"hsl(0deg 0% 94%)",color_deprecated_background_white_weak:"hsl(0deg 0% 96%)",color_deprecated_background_black_standard:"hsl(0deg 0% 16%)",color_deprecated_background_black_strong:"hsl(0deg 0% 8%)",color_deprecated_background_black_weak:"hsl(0deg 0% 12%)",color_deprecated_background_sentiment_negative:"hsl(11deg 68% 55%)",color_deprecated_background_sentiment_positive:"hsl(54deg 63% 52%)",color_deprecated_background_sentiment_notice:"hsl(29deg 74% 53%)",color_deprecated_background_sentiment_neutral:"hsl(0deg 0% 10%)",color_deprecated_divider_standard:"hsl(0deg 0% 0% / 12%)",color_deprecated_divider_strong:"hsl(0deg 0% 0% 16%)",color_deprecated_divider_weak:"hsl(0deg 0% 0% / 8%)",color_deprecated_divider_inverse_standard:"hsl(0deg 0% 100% 32%)",color_deprecated_divider_inverse_strong:"hsl(0deg 0% 100% 48%)",color_deprecated_divider_inverse_weak:"hsl(0deg 0% 100% 24%)",color_deprecated_text_standard:"hsl(0deg 0% 32%)",color_deprecated_text_strong:"#000000",color_deprecated_text_weak:"hsl(0deg 0% 56%)",color_deprecated_text_white_standard:"hsl(0deg 0% 84%)",color_deprecated_text_white_strong:"#FFFFFF",color_deprecated_text_white_weak:"hsl(0deg 0% 64%)",color_deprecated_text_sentiment_negative:"hsl(11deg, 68% 55%)",color_deprecated_text_sentiment_positive:"hsl(54deg, 63% 52%)",color_deprecated_text_sentiment_notice:"hsl(29deg, 67% 47%)",color_deprecated_text_sentiment_neutral:"hsl(0deg 0% 24%)",color_deprecated_fill_primary_enabled:"hsl(0deg 0% 8%)",color_deprecated_fill_primary_hover:"hsl(210deg 5% 16%)",color_deprecated_fill_primary_pressed:"hsl(210deg 3% 28%)",color_deprecated_fill_primary_disabled:"hsl(0deg 0% 8% / 20%)",color_deprecated_fill_secondary_enabled:"hsl(0deg 0% 0% 0.06)",color_deprecated_fill_secondary_hover:"hsl(0deg 0% 0% / 12%)",color_deprecated_fill_secondary_pressed:"hsl(0deg 0% 0% / 20%)",color_deprecated_fill_secondary_disabled:"hsl(0deg 0% 88% / 50%)",color_deprecated_fill_inverse_enabled:"#FFFFFF",color_deprecated_fill_inverse_hover:"hsl(0deg 0% 94%)",color_deprecated_fill_inverse_pressed:"hsl(0deg 0% 90%)",color_deprecated_fill_inverse_disabled:"hsl(0deg 0% 98% / 40%)",color_deprecated_fill_danger_enabled:"hsl(11deg 68% 55%)",color_deprecated_fill_danger_hover:"hsl(11deg 57% 51%)",color_deprecated_fill_danger_pressed:"hsl(11deg 55% 48%)",color_deprecated_fill_danger_disabled:"hsl(11deg 68% 55% / 20%)",color_deprecated_outline_primary_danger_enabled:"hsl(11deg 68% 55% / 24%)",color_deprecated_outline_primary_danger_hover:"hsl(11deg 68% 55% / 48%)",color_deprecated_outline_primary_danger_pressed:"hsl(11deg, 68% 55% / 72%)",color_deprecated_outline_primary_danger_disabled:"hsl(11deg, 68% 55% / 16%)",color_deprecated_outline_primary_danger_selected_enabled:"hsl(11deg 68% 55% 96%)",color_deprecated_outline_primary_danger_selected_hover:"hsl(11deg 68% 55% 96%)",color_deprecated_outline_primary_danger_selected_pressed:"hsl(11deg, 68% 55% 96%)",color_deprecated_outline_secondary_enabled:"hsl(0deg 0% 0% / 16%)",color_deprecated_outline_secondary_hover:"hsl(0deg 0% 0% / 32%)",color_deprecated_outline_secondary_pressed:"hsl(0deg 0% 0% / 48%)",color_deprecated_outline_secondary_disabled:"hsl(0deg 0% 14% / 16%)",color_deprecated_outline_secondary_selected_enabled:"hsl(0deg 0% 0% / 6%)",color_deprecated_outline_secondary_selected_hover:"hsl(0deg 0% 0% / 72%)",color_deprecated_outline_secondary_selected_pressed:"hsl(0deg 0% 0% / 76%)",color_deprecated_outline_inverse_enabled:"hsl(0deg 0% 100% / 32%)",color_deprecated_outline_inverse_hover:"hsl(0deg 0% 100% / 48%)",color_deprecated_outline_inverse_pressed:"hsl(0deg 0% 100% / 56%)",color_deprecated_outline_inverse_disabled:"hsl(0deg 0% 100% / 2%)",color_deprecated_outline_inverse_selected_enabled:"hsl(0deg 0% 100% / 6%)",color_deprecated_outline_inverse_selected_hover:"hsl(0deg 0% 100% / 72%)",color_deprecated_outline_inverse_selected_pressed:"hsl(0deg 0% 100% / 8%)",color_deprecated_outline_danger_enabled:"hsl(11deg 68% 55%)",color_deprecated_outline_danger_hover:"hsl(11deg 68% 55% / 90%)",color_deprecated_outline_danger_pressed:"hsl(11deg 68% 55% / 90%)",color_deprecated_outline_danger_disabled:"hsl(11deg 68% 55% / 32%)",color_deprecated_overlay_secondary_enabled:"#FFFFFF",color_deprecated_overlay_secondary_hover:"hsl(0deg 0% 97%)",color_deprecated_overlay_secondary_pressed:"hsl(0deg 0% 92%)",color_deprecated_overlay_secondary_selected_enabled:"hsl(0deg 0% 94%)",color_deprecated_overlay_secondary_selected_hover:"hsl(0deg 0% 91%)",color_deprecated_overlay_secondary_selected_pressed:"hsl(0deg 0% 88%)",color_deprecated_overlay_inverse_enabled:"#000000",color_deprecated_overlay_inverse_hover:"hsl(0deg 0% 4%)",color_deprecated_overlay_inverse_pressed:"hsl(0deg 0% 12%)",color_deprecated_overlay_inverse_selected_enabled:"hsl(0deg 0% 10%)",color_deprecated_overlay_inverse_selected_hover:"hsl(0deg 0% 16%)",color_deprecated_overlay_inverse_selected_pressed:"hsl(0deg 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_base:"0",z_index_above:"1",z_index_foreground:"2",z_index_foreground_high:"3",z_index_foreground_highest:"4",z_index_overlay:"5",z_index_overlay_high:"6",font_family_pingo:"'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_1:"-0.0625em",letter_spacing_2:"-0.0600em",letter_spacing_3:"-0.0575em",letter_spacing_4:"-0.0550em",letter_spacing_5:"-0.0525em",letter_spacing_6:"-0.0500em",letter_spacing_7:"-0.0475em",letter_spacing_8:"-0.0450em",letter_spacing_9:"-0.0425em",letter_spacing_10:"-0.0400em",letter_spacing_11:"-0.0375em",letter_spacing_12:"-0.0350em",letter_spacing_13:"-0.0325em",letter_spacing_14:"-0.0300em",letter_spacing_15:"-0.0275em",letter_spacing_16:"-0.0250em",letter_spacing_17:"-0.0225em",letter_spacing_18:"-0.0200em",letter_spacing_19:"-0.0175em",letter_spacing_20:"-0.0150em",letter_spacing_21:"-0.0125em",letter_spacing_22:"-0.0100em",letter_spacing_23:"-0.0075em",letter_spacing_24:"-0.0050em",letter_spacing_25:"-0.0025em",letter_spacing_26:"0.0025em",letter_spacing_27:"0.0050em",letter_spacing_28:"0.0075em",letter_spacing_29:"0.0100em",letter_spacing_30:"0.0125em",letter_spacing_31:"0.0150em",letter_spacing_32:"0.0175em",letter_spacing_33:"0.0200em",letter_spacing_deprecated_tight:"-0.006em",letter_spacing_deprecated_tighter:"-0.01em",letter_spacing_deprecated_heading_large:"-0.018em",letter_spacing_deprecated_heading_medium:"-0.016em",letter_spacing_deprecated_heading_small:"-0.014em",letter_spacing_deprecated_title_large:"-0.014em",letter_spacing_deprecated_title_medium:"-0.012em",letter_spacing_deprecated_title_small:"-0.01em",letter_spacing_deprecated_title_xsmall:"-0.008em",letter_spacing_deprecated_label_large:"-0.01em",letter_spacing_deprecated_label_medium:"normal",letter_spacing_deprecated_label_small:"-0.006em",letter_spacing_deprecated_body_large:"-0.01em",letter_spacing_deprecated_body_medium:"-0.006em",letter_spacing_deprecated_body_small:"normal",letter_spacing_deprecated_number_large:"-0.05em",letter_spacing_deprecated_number_medium:"-0.05em",letter_spacing_deprecated_number_small:"-0.04em",letter_spacing_deprecated_number_xsmall:"-0.05em",letter_spacing_deprecated_caption_medium:"0.01em",letter_spacing_deprecated_caption_small:"0.02em",line_height_50:"0.875rem",line_height_100:"1rem",line_height_150:"1.125rem",line_height_200:"1.25rem",line_height_250:"1.375rem",line_height_300:"1.5rem",line_height_350:"1.625rem",line_height_400:"1.75rem",line_height_450:"1.875rem",line_height_500:"2rem",line_height_550:"2.75rem",line_height_600:"2.5rem",line_height_650:"3.25rem",line_height_700:"3.5rem",line_height_750:"4rem",line_height_800:"4.25rem",line_height_850:"4.75rem",line_height_deprecated_111:1.11,line_height_deprecated_114:1.14,line_height_deprecated_129:1.29,line_height_deprecated_133:1.33,line_height_deprecated_143:1.43,line_height_deprecated_title_large:1.06,line_height_deprecated_title_medium:1.08,line_height_deprecated_title_small:1.1,line_height_deprecated_title_xsmall:1.11,line_height_deprecated_label_large:1.11,line_height_deprecated_label_medium:1.12,line_height_deprecated_label_small:1.14,line_height_deprecated_body_large:1.25,line_height_deprecated_body_medium:1.29,line_height_deprecated_body_small:1.33,line_height_deprecated_number_large:1.25,line_height_deprecated_number_medium:1.14,line_height_deprecated_number_small:1.17,line_height_deprecated_number_xsmall:1.2,line_height_deprecated_caption_medium:1.17,line_height_deprecated_caption_small:1.2,font_size_50:"0.25rem",font_size_75:"0.375rem",font_size_100:"0.5rem",font_size_125:"0.625rem",font_size_150:"0.75rem",font_size_160:"0.8125rem",font_size_175:"0.875rem",font_size_200:"1rem",font_size_225:"1.125rem",font_size_250:"1.25rem",font_size_275:"1.375rem",font_size_300:"1.5rem",font_size_325:"1.625rem",font_size_350:"1.75rem",font_size_375:"1.875rem",font_size_400:"2rem",font_size_425:"2.125rem",font_size_450:"2.25rem",font_size_475:"2.375rem",font_size_500:"2.5rem",font_size_525:"2.625rem",font_size_550:"2.75rem",font_size_575:"2.875rem",font_size_600:"3rem",font_size_625:"3.125rem",font_size_650:"3.25rem",font_size_675:"3.375rem",font_size_700:"3.5rem",font_size_725:"3.625rem",font_size_750:"3.75rem",font_size_775:"3.875rem",font_size_800:"4rem",font_size_825:"4.125rem",font_size_850:"4.25rem",font_size_875:"4.375rem",font_size_900:"4.5rem",font_size_925:"4.625rem",font_size_950:"4.75rem",font_size_root:"16px",font_size_deprecated_50:"0.75rem",font_size_deprecated_100:"0.875rem",font_size_deprecated_200:"1rem",font_size_deprecated_300:"1.125rem",font_size_deprecated_400:"1.25rem",font_size_deprecated_500:"1.5rem",font_size_deprecated_600:"2rem",font_size_deprecated_700:"2.75rem",font_size_deprecated_800:"3.5rem",font_size_deprecated_root:"16px",font_size_deprecated_heading_large:"4.5rem",font_size_deprecated_heading_medium:"3.5rem",font_size_deprecated_heading_small:"3rem",font_size_deprecated_title_large:"2.125rem",font_size_deprecated_title_medium:"1.5rem",font_size_deprecated_title_small:"1.25rem",font_size_deprecated_title_xsmall:"1.125rem",font_size_deprecated_label_large:"1.125rem",font_size_deprecated_label_medium:"16px",font_size_deprecated_label_small:"0.875rem",font_size_deprecated_body_large:"16px",font_size_deprecated_body_medium:"0.875rem",font_size_deprecated_body_small:"0.75rem",font_size_deprecated_number_large:"16px",font_size_deprecated_number_medium:"0.875rem",font_size_deprecated_number_small:"0.75rem",font_size_deprecated_number_xsmall:"0.625rem",font_size_deprecated_caption_medium:"0.875rem",font_size_deprecated_caption_small:"0.75rem",font_weight_100:"100",font_weight_200:"200",font_weight_300:"300",font_weight_400:"400",font_weight_500:"500",font_weight_600:"600",font_weight_700:"700",font_weight_800:"800",font_weight_900:"900",media_query_xs:"448px",media_query_sm:"720px",media_query_md:"960px",media_query_lg:"1200px",media_query_xl:"1440px",motion_duration_fast:"0.15s",motion_duration_medium:"0.3s",motion_duration_slow:"0.7s",deprecated_transition_duration_75:"75ms",deprecated_transition_duration_100:"100ms",deprecated_transition_duration_150:"150ms",deprecated_transition_duration_200:"200ms",deprecated_transition_duration_300:"300ms",motion_ease_in:"cubic-bezier(.35, 0, .7, .2)",motion_ease_out:"cubic-bezier(0, 0, .3, 1)",motion_ease_in_out:"cubic-bezier(.4, 0, .3, 1)",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",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_25:"0.0625rem",spacing_50:"0.125rem",spacing_75:"0.1875rem",spacing_100:"0.25rem",spacing_125:"0.3125rem",spacing_150:"0.375rem",spacing_175:"0.4375rem",spacing_200:"0.5rem",spacing_225:"0.5625rem",spacing_250:"0.625rem",spacing_275:"0.6875rem",spacing_300:"0.75rem",spacing_350:"0.875rem",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"};function eD(e){return!!e}function Tt(e,t){const n={},r=new RegExp(`^(${t.join("|")})$`);for(const o in e)r.test(o)&&(n[o]=e[o]);return n}function tD(e=[],t={}){return{shouldForwardProp:(n,r)=>!e.includes(n)&&r(n),...t}}function hs(e){return Object.keys(e).reduce((t,n)=>(n.startsWith("aria-")&&(t[n]=e[n]),t),{})}function yo(){}function yp(){return typeof window<"u"}function bs(){return yp()?window:{matchMedia:yo,addEventListener:yo,removeEventListener:yo,setTimeout:yo,clearTimeout:yo}}function nD(){try{return window.self!==window.top}catch{return!0}}const Na={backspace:{key:"Backspace",keyCode:8,shiftKey:!1},enter:{key:"Enter",keyCode:13,shiftKey:!1},escape:{key:"Escape",keyCode:27,shiftKey:!1},arrowRight:{key:"ArrowRight",keyCode:39,shiftKey:!1},arrowLeft:{key:"ArrowLeft",keyCode:37,shiftKey:!1},arrowUp:{key:"ArrowUp",keyCode:38,shiftKey:!1},arrowDown:{key:"ArrowDown",keyCode:40,shiftKey:!1},home:{key:"Home",keyCode:36,shiftKey:!1},end:{key:"End",keyCode:35,shiftKey:!1},space:{key:" ",keyCode:32,shiftKey:!1},pageUp:{key:"PageUp",keyCode:33,shiftKey:!1},pageDown:{key:"PageDown",keyCode:34,shiftKey:!1},tab:{key:"Tab",keyCode:9,shiftKey:!1}};function rD(e,t){return!!Na[e]&&(t.key===Na[e].key||t.keyCode===Na[e].keyCode)&&t.shiftKey===Na[e].shiftKey}function $p(e,t){return function(r){if(rD(e,r))return t(r)}}/*
27
+ Check the top-level render call using <`+re+">.")}return Z}}function a5(A,Z){{if(!A._store||A._store.validated||A.key!=null)return;A._store.validated=!0;var re=FV(Z);if(o5[re])return;o5[re]=!0;var ue="";A&&A._owner&&A._owner!==np.current&&(ue=" It was passed a child from "+I(A._owner.type)+"."),po(A),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',re,ue),po(null)}}function i5(A,Z){{if(typeof A!="object")return;if(fo(A))for(var re=0;re<A.length;re++){var ue=A[re];op(ue)&&a5(ue,Z)}else if(op(A))A._store&&(A._store.validated=!0);else if(A){var ye=v(A);if(typeof ye=="function"&&ye!==A.entries)for(var we=ye.call(A),be;!(be=we.next()).done;)op(be.value)&&a5(be.value,Z)}}}function LV(A){{var Z=A.type;if(Z==null||typeof Z=="string")return;var re;if(typeof Z=="function")re=Z.propTypes;else if(typeof Z=="object"&&(Z.$$typeof===s||Z.$$typeof===f))re=Z.propTypes;else return;if(re){var ue=I(Z);Kt(re,A.props,"prop",ue,A)}else if(Z.PropTypes!==void 0&&!rp){rp=!0;var ye=I(Z);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ye||"Unknown")}typeof Z.getDefaultProps=="function"&&!Z.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function NV(A){{for(var Z=Object.keys(A.props),re=0;re<Z.length;re++){var ue=Z[re];if(ue!=="children"&&ue!=="key"){po(A),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ue),po(null);break}}A.ref!==null&&(po(A),y("Invalid attribute `ref` supplied to `React.Fragment`."),po(null))}}function l5(A,Z,re,ue,ye,we){{var be=N(A);if(!be){var he="";(A===void 0||typeof A=="object"&&A!==null&&Object.keys(A).length===0)&&(he+=" 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 Je=MV(ye);Je?he+=Je:he+=r5();var Fe;A===null?Fe="null":fo(A)?Fe="array":A!==void 0&&A.$$typeof===t?(Fe="<"+(I(A.type)||"Unknown")+" />",he=" Did you accidentally export a JSX literal instead of a component?"):Fe=typeof A,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Fe,he)}var Ne=OV(A,Z,re,ye,we);if(Ne==null)return Ne;if(be){var gt=Z.children;if(gt!==void 0)if(ue)if(fo(gt)){for(var go=0;go<gt.length;go++)i5(gt[go],A);Object.freeze&&Object.freeze(gt)}else y("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 i5(gt,A)}return A===r?NV(Ne):LV(Ne),Ne}}function zV(A,Z,re){return l5(A,Z,re,!0)}function RV(A,Z,re){return l5(A,Z,re,!1)}var KV=RV,VV=zV;bo.Fragment=r,bo.jsx=KV,bo.jsxs=VV}()),bo}process.env.NODE_ENV==="production"?os.exports=u5():os.exports=d5();var as=os.exports;const Bt=as.Fragment,w=as.jsx,Q=as.jsxs;function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(this,arguments)}function f5(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ia(...e){return t=>e.forEach(n=>f5(n,t))}function $e(...e){return c.useCallback(Ia(...e),e)}const Ln=c.forwardRef((e,t)=>{const{children:n,...r}=e,o=c.Children.toArray(n),a=o.find(p5);if(a){const i=a.props.children,l=o.map(s=>s===a?c.Children.count(i)>1?c.Children.only(null):c.isValidElement(i)?i.props.children:null:s);return c.createElement(is,L({},r,{ref:t}),c.isValidElement(i)?c.cloneElement(i,void 0,l):null)}return c.createElement(is,L({},r,{ref:t}),n)});Ln.displayName="Slot";const is=c.forwardRef((e,t)=>{const{children:n,...r}=e;return c.isValidElement(n)?c.cloneElement(n,{...g5(r,n.props),ref:t?Ia(t,n.ref):n.ref}):c.Children.count(n)>1?c.Children.only(null):null});is.displayName="SlotClone";const ls=({children:e})=>c.createElement(c.Fragment,null,e);function p5(e){return c.isValidElement(e)&&e.type===ls}function g5(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...l)=>{a(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}const ce=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=c.forwardRef((r,o)=>{const{asChild:a,...i}=r,l=a?Ln:t;return c.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),c.createElement(l,L({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function ss(e,t){e&&mo.flushSync(()=>e.dispatchEvent(t))}const cs=c.forwardRef((e,t)=>c.createElement(ce.span,L({},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}}))),cp=cs,m5=({children:e,label:t})=>{const n=c.Children.only(e);return c.createElement(c.Fragment,null,c.cloneElement(n,{"aria-hidden":"true",focusable:"false"}),c.createElement(cp,null,t))};function vo({children:e,label:t}){return w(m5,{label:t,children:e})}function h5(e,t){const n=c.createContext(t);function r(a){const{children:i,...l}=a,s=c.useMemo(()=>l,Object.values(l));return c.createElement(n.Provider,{value:s},i)}function o(a){const i=c.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function Ke(e,t=[]){let n=[];function r(a,i){const l=c.createContext(i),s=n.length;n=[...n,i];function u(f){const{scope:m,children:g,...h}=f,b=(m==null?void 0:m[e][s])||l,v=c.useMemo(()=>h,Object.values(h));return c.createElement(b.Provider,{value:v},g)}function d(f,m){const g=(m==null?void 0:m[e][s])||l,h=c.useContext(g);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,d]}const o=()=>{const a=n.map(i=>c.createContext(i));return function(l){const s=(l==null?void 0:l[e])||a;return c.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])}};return o.scopeName=e,[r,b5(o,...t)]}function b5(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=r.reduce((l,{useScope:s,scopeName:u})=>{const f=s(a)[`__scope${u}`];return{...l,...f}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Oa(e){const t=e+"CollectionProvider",[n,r]=Ke(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=g=>{const{scope:h,children:b}=g,v=D.default.useRef(null),_=D.default.useRef(new Map).current;return D.default.createElement(o,{scope:h,itemMap:_,collectionRef:v},b)},l=e+"CollectionSlot",s=D.default.forwardRef((g,h)=>{const{scope:b,children:v}=g,_=a(l,b),y=$e(h,_.collectionRef);return D.default.createElement(Ln,{ref:y},v)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",f=D.default.forwardRef((g,h)=>{const{scope:b,children:v,..._}=g,y=D.default.useRef(null),x=$e(h,y),S=a(u,b);return D.default.useEffect(()=>(S.itemMap.set(y,{ref:y,..._}),()=>void S.itemMap.delete(y))),D.default.createElement(Ln,{[d]:"",ref:x},v)});function m(g){const h=a(e+"CollectionConsumer",g);return D.default.useCallback(()=>{const v=h.collectionRef.current;if(!v)return[];const _=Array.from(v.querySelectorAll(`[${d}]`));return Array.from(h.itemMap.values()).sort((S,T)=>_.indexOf(S.ref.current)-_.indexOf(T.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:s,ItemSlot:f},m,r]}function oe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function je(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Ue({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=v5({defaultProp:t,onChange:n}),a=e!==void 0,i=a?e:r,l=je(n),s=c.useCallback(u=>{if(a){const f=typeof u=="function"?u(e):u;f!==e&&l(f)}else o(u)},[a,e,o,l]);return[i,s]}function v5({defaultProp:e,onChange:t}){const n=c.useState(e),[r]=n,o=c.useRef(r),a=je(t);return c.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}const gn=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{};function y5(e,t){return c.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const We=e=>{const{present:t,children:n}=e,r=$5(t),o=typeof n=="function"?n({present:r.isPresent}):c.Children.only(n),a=$e(r.ref,o.ref);return typeof n=="function"||r.isPresent?c.cloneElement(o,{ref:a}):null};We.displayName="Presence";function $5(e){const[t,n]=c.useState(),r=c.useRef({}),o=c.useRef(e),a=c.useRef("none"),i=e?"mounted":"unmounted",[l,s]=y5(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const u=Ma(r.current);a.current=l==="mounted"?u:"none"},[l]),gn(()=>{const u=r.current,d=o.current;if(d!==e){const m=a.current,g=Ma(u);e?s("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(d&&m!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),gn(()=>{if(t){const u=f=>{const g=Ma(r.current).includes(f.animationName);f.target===t&&g&&mo.flushSync(()=>s("ANIMATION_END"))},d=f=>{f.target===t&&(a.current=Ma(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:c.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ma(e){return(e==null?void 0:e.animationName)||"none"}const _5=D["useId".toString()]||(()=>{});let x5=0;function nt(e){const[t,n]=D.useState(_5());return gn(()=>{e||n(r=>r??String(x5++))},[e]),e||(t?`radix-${t}`:"")}const up="Collapsible",[w5,dp]=Ke(up),[E5,us]=w5(up),S5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:a,onOpenChange:i,...l}=e,[s=!1,u]=Ue({prop:r,defaultProp:o,onChange:i});return c.createElement(E5,{scope:n,disabled:a,contentId:nt(),open:s,onOpenToggle:c.useCallback(()=>u(d=>!d),[u])},c.createElement(ce.div,L({"data-state":ds(s),"data-disabled":a?"":void 0},l,{ref:t})))}),D5="CollapsibleTrigger",P5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=us(D5,n);return c.createElement(ce.button,L({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":ds(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},r,{ref:t,onClick:oe(e.onClick,o.onOpenToggle)}))}),fp="CollapsibleContent",T5=c.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=us(fp,e.__scopeCollapsible);return c.createElement(We,{present:n||o.open},({present:a})=>c.createElement(k5,L({},r,{ref:t,present:a})))}),k5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...a}=e,i=us(fp,n),[l,s]=c.useState(r),u=c.useRef(null),d=$e(t,u),f=c.useRef(0),m=f.current,g=c.useRef(0),h=g.current,b=i.open||l,v=c.useRef(b),_=c.useRef();return c.useEffect(()=>{const y=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(y)},[]),gn(()=>{const y=u.current;if(y){_.current=_.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const x=y.getBoundingClientRect();f.current=x.height,g.current=x.width,v.current||(y.style.transitionDuration=_.current.transitionDuration,y.style.animationName=_.current.animationName),s(r)}},[i.open,r]),c.createElement(ce.div,L({"data-state":ds(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!b},a,{ref:d,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":h?`${h}px`:void 0,...e.style}}),b&&o)});function ds(e){return e?"open":"closed"}const C5=S5,A5=P5,I5=T5,O5=c.createContext(void 0);function cr(e){const t=c.useContext(O5);return e||t||"ltr"}const mn="Accordion",M5=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[fs,F5,L5]=Oa(mn),[Fa,UV]=Ke(mn,[L5,dp]),ps=dp(),pp=D.default.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,a=r;return D.default.createElement(fs.Provider,{scope:e.__scopeAccordion},n==="multiple"?D.default.createElement(K5,L({},a,{ref:t})):D.default.createElement(R5,L({},o,{ref:t})))});pp.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[gp,N5]=Fa(mn),[mp,z5]=Fa(mn,{collapsible:!1}),R5=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:a=!1,...i}=e,[l,s]=Ue({prop:n,defaultProp:r,onChange:o});return D.default.createElement(gp,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:D.default.useCallback(()=>a&&s(""),[a,s])},D.default.createElement(mp,{scope:e.__scopeAccordion,collapsible:a},D.default.createElement(hp,L({},i,{ref:t}))))}),K5=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],l]=Ue({prop:n,defaultProp:r,onChange:o}),s=D.default.useCallback(d=>l((f=[])=>[...f,d]),[l]),u=D.default.useCallback(d=>l((f=[])=>f.filter(m=>m!==d)),[l]);return D.default.createElement(gp,{scope:e.__scopeAccordion,value:i,onItemOpen:s,onItemClose:u},D.default.createElement(mp,{scope:e.__scopeAccordion,collapsible:!0},D.default.createElement(hp,L({},a,{ref:t}))))}),[V5,La]=Fa(mn),hp=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:a="vertical",...i}=e,l=D.default.useRef(null),s=$e(l,t),u=F5(n),f=cr(o)==="ltr",m=oe(e.onKeyDown,g=>{var h;if(!M5.includes(g.key))return;const b=g.target,v=u().filter(C=>{var N;return!((N=C.ref.current)!==null&&N!==void 0&&N.disabled)}),_=v.findIndex(C=>C.ref.current===b),y=v.length;if(_===-1)return;g.preventDefault();let x=_;const S=0,T=y-1,P=()=>{x=_+1,x>T&&(x=S)},M=()=>{x=_-1,x<S&&(x=T)};switch(g.key){case"Home":x=S;break;case"End":x=T;break;case"ArrowRight":a==="horizontal"&&(f?P():M());break;case"ArrowDown":a==="vertical"&&P();break;case"ArrowLeft":a==="horizontal"&&(f?M():P());break;case"ArrowUp":a==="vertical"&&M();break}const $=x%y;(h=v[$].ref.current)===null||h===void 0||h.focus()});return D.default.createElement(V5,{scope:n,disabled:r,direction:o,orientation:a},D.default.createElement(fs.Slot,{scope:n},D.default.createElement(ce.div,L({},i,{"data-orientation":a,ref:s,onKeyDown:r?void 0:m}))))}),gs="AccordionItem",[B5,ms]=Fa(gs),j5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,a=La(gs,n),i=N5(gs,n),l=ps(n),s=nt(),u=r&&i.value.includes(r)||!1,d=a.disabled||e.disabled;return D.default.createElement(B5,{scope:n,open:u,disabled:d,triggerId:s},D.default.createElement(C5,L({"data-orientation":a.orientation,"data-state":vp(u)},l,o,{ref:t,disabled:d,open:u,onOpenChange:f=>{f?i.onItemOpen(r):i.onItemClose(r)}})))}),U5="AccordionHeader",W5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=La(mn,n),a=ms(U5,n);return D.default.createElement(ce.h3,L({"data-orientation":o.orientation,"data-state":vp(a.open),"data-disabled":a.disabled?"":void 0},r,{ref:t}))}),bp="AccordionTrigger",H5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=La(mn,n),a=ms(bp,n),i=z5(bp,n),l=ps(n);return D.default.createElement(fs.ItemSlot,{scope:n},D.default.createElement(A5,L({"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId},l,r,{ref:t})))}),G5="AccordionContent",Y5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=La(mn,n),a=ms(G5,n),i=ps(n);return D.default.createElement(I5,L({role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation},i,r,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function vp(e){return e?"open":"closed"}const q5=pp,X5=j5,J5=W5,Z5=H5,Q5=Y5,p={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_brand_tangerine:"#D58844",color_brand_lilac:"#A067A0",color_brand_solidago:"#D1C252",color_brand_solidago_opacity_48:"rgba(209, 194, 82, .48)",color_brand_red:"#DA5B40",color_brand_red_dark:"#BE4F37",color_brand_red_opacity_20:"rgba(218, 91, 64, 0.2)",color_brand_red_opacity_24:"rgba(218, 91, 64, 0.24)",color_brand_red_opacity_32:"rgba(218, 91, 64, 0.32)",color_brand_red_opacity_48:"rgba(218, 91, 64, 0.48)",color_brand_red_opacity_90:"rgba(218, 91, 64, 0.9)",color_brand_gray_50:"#E9E8E3",color_brand_gray_100:"#CECDC8",color_brand_gray_200:"#BCBAB6",color_brand_gray_300:"#AAA7A4",color_brand_gray_400:"#8E8B88",color_brand_gray_500:"#85827F",color_brand_gray_600:"#72706D",color_brand_gray_700:"#605D5B",color_brand_gray_800:"#4E4A49",color_brand_gray_900:"#3B3836",color_gray_2:"#090909",color_gray_4:"#0E0E0E",color_gray_6:"#131313",color_gray_8:"#181818",color_gray_10:"#1D1D1D",color_gray_12:"#222222",color_gray_14:"#272727",color_gray_16:"#2C2C2C",color_gray_18:"#313131",color_gray_20:"#363636",color_gray_22:"#3B3B3B",color_gray_24:"#404040",color_gray_26:"#454545",color_gray_28:"#4A4A4A",color_gray_30:"#4F4F4F",color_gray_32:"#545454",color_gray_34:"#595959",color_gray_36:"#5E5E5E",color_gray_38:"#636363",color_gray_40:"#686868",color_gray_42:"#6D6D6D",color_gray_44:"#727272",color_gray_46:"#777777",color_gray_48:"#7C7C7C",color_gray_50:"#818181",color_gray_52:"#868686",color_gray_54:"#8B8B8B",color_gray_56:"#909090",color_gray_58:"#959595",color_gray_60:"#9A9A9A",color_gray_62:"#9F9F9F",color_gray_64:"#A4A4A4",color_gray_66:"#A9A9A9",color_gray_68:"#AEAEAE",color_gray_70:"#B3B3B3",color_gray_72:"#B8B8B8",color_gray_74:"#BDBDBD",color_gray_76:"#C2C2C2",color_gray_78:"#C7C7C7",color_gray_80:"#CCCCCC",color_gray_82:"#D1D1D1",color_gray_84:"#D6D6D6",color_gray_86:"#DBDBDB",color_gray_88:"#E0E0E0",color_gray_90:"#E6E6E6",color_gray_92:"#EDEDED",color_gray_94:"#F0F0F0",color_gray_96:"#F6F6F6",color_gray_98:"#FAFAFA",color_gray_opacity_1:"rgba(0, 0, 0, 0.01)",color_gray_opacity_2:"rgba(0, 0, 0, 0.02)",color_gray_opacity_3:"rgba(0, 0, 0, 0.03)",color_gray_opacity_4:"rgba(0, 0, 0, 0.04)",color_gray_opacity_5:"rgba(0, 0, 0, 0.05)",color_gray_opacity_6:"rgba(0, 0, 0, 0.06)",color_gray_opacity_7:"rgba(0, 0, 0, 0.07)",color_gray_opacity_8:"rgba(0, 0, 0, 0.08)",color_gray_opacity_9:"rgba(0, 0, 0, 0.09)",color_gray_opacity_10:"rgba(0, 0, 0, 0.1)",color_gray_opacity_11:"rgba(0, 0, 0, 0.11)",color_gray_opacity_12:"rgba(0, 0, 0, 0.12)",color_gray_opacity_13:"rgba(0, 0, 0, 0.13)",color_gray_opacity_14:"rgba(0, 0, 0, 0.14)",color_gray_opacity_15:"rgba(0, 0, 0, 0.15)",color_gray_opacity_16:"rgba(0, 0, 0, 0.16)",color_gray_opacity_17:"rgba(0, 0, 0, 0.17)",color_gray_opacity_18:"rgba(0, 0, 0, 0.18)",color_gray_opacity_19:"rgba(0, 0, 0, 0.19)",color_gray_opacity_20:"rgba(0, 0, 0, 0.2)",color_gray_opacity_21:"rgba(0, 0, 0, 0.21)",color_gray_opacity_22:"rgba(0, 0, 0, 0.22)",color_gray_opacity_23:"rgba(0, 0, 0, 0.23)",color_gray_opacity_24:"rgba(0, 0, 0, 0.24)",color_gray_opacity_25:"rgba(0, 0, 0, 0.25)",color_gray_opacity_26:"rgba(0, 0, 0, 0.26)",color_gray_opacity_27:"rgba(0, 0, 0, 0.27)",color_gray_opacity_28:"rgba(0, 0, 0, 0.28)",color_gray_opacity_29:"rgba(0, 0, 0, 0.29)",color_gray_opacity_30:"rgba(0, 0, 0, 0.3)",color_gray_opacity_31:"rgba(0, 0, 0, 0.31)",color_gray_opacity_32:"rgba(0, 0, 0, 0.32)",color_gray_opacity_33:"rgba(0, 0, 0, 0.33)",color_gray_opacity_34:"rgba(0, 0, 0, 0.34)",color_gray_opacity_35:"rgba(0, 0, 0, 0.35)",color_gray_opacity_36:"rgba(0, 0, 0, 0.36)",color_gray_opacity_37:"rgba(0, 0, 0, 0.37)",color_gray_opacity_38:"rgba(0, 0, 0, 0.38)",color_gray_opacity_39:"rgba(0, 0, 0, 0.39)",color_gray_opacity_40:"rgba(0, 0, 0, 0.4)",color_gray_opacity_41:"rgba(0, 0, 0, 0.41)",color_gray_opacity_42:"rgba(0, 0, 0, 0.42)",color_gray_opacity_43:"rgba(0, 0, 0, 0.43)",color_gray_opacity_44:"rgba(0, 0, 0, 0.44)",color_gray_opacity_45:"rgba(0, 0, 0, 0.45)",color_gray_opacity_46:"rgba(0, 0, 0, 0.46)",color_gray_opacity_47:"rgba(0, 0, 0, 0.47)",color_gray_opacity_48:"rgba(0, 0, 0, 0.48)",color_gray_opacity_49:"rgba(0, 0, 0, 0.49)",color_gray_opacity_50:"rgba(0, 0, 0, 0.5)",color_gray_opacity_51:"rgba(0, 0, 0, 0.51)",color_gray_opacity_52:"rgba(0, 0, 0, 0.52)",color_gray_opacity_53:"rgba(0, 0, 0, 0.53)",color_gray_opacity_54:"rgba(0, 0, 0, 0.54)",color_gray_opacity_55:"rgba(0, 0, 0, 0.55)",color_gray_opacity_56:"rgba(0, 0, 0, 0.56)",color_gray_opacity_57:"rgba(0, 0, 0, 0.57)",color_gray_opacity_58:"rgba(0, 0, 0, 0.58)",color_gray_opacity_59:"rgba(0, 0, 0, 0.59)",color_gray_opacity_60:"rgba(0, 0, 0, 0.6)",color_gray_opacity_61:"rgba(0, 0, 0, 0.61)",color_gray_opacity_62:"rgba(0, 0, 0, 0.62)",color_gray_opacity_63:"rgba(0, 0, 0, 0.63)",color_gray_opacity_64:"rgba(0, 0, 0, 0.64)",color_gray_opacity_65:"rgba(0, 0, 0, 0.65)",color_gray_opacity_66:"rgba(0, 0, 0, 0.66)",color_gray_opacity_67:"rgba(0, 0, 0, 0.67)",color_gray_opacity_68:"rgba(0, 0, 0, 0.68)",color_gray_opacity_69:"rgba(0, 0, 0, 0.69)",color_gray_opacity_70:"rgba(0, 0, 0, 0.7)",color_gray_opacity_71:"rgba(0, 0, 0, 0.71)",color_gray_opacity_72:"rgba(0, 0, 0, 0.72)",color_gray_opacity_73:"rgba(0, 0, 0, 0.73)",color_gray_opacity_74:"rgba(0, 0, 0, 0.74)",color_gray_opacity_75:"rgba(0, 0, 0, 0.75)",color_gray_opacity_76:"rgba(0, 0, 0, 0.76)",color_gray_opacity_77:"rgba(0, 0, 0, 0.77)",color_gray_opacity_78:"rgba(0, 0, 0, 0.78)",color_gray_opacity_79:"rgba(0, 0, 0, 0.79)",color_gray_opacity_80:"rgba(0, 0, 0, 0.8)",color_gray_opacity_81:"rgba(0, 0, 0, 0.81)",color_gray_opacity_82:"rgba(0, 0, 0, 0.82)",color_gray_opacity_83:"rgba(0, 0, 0, 0.83)",color_gray_opacity_84:"rgba(0, 0, 0, 0.84)",color_gray_opacity_85:"rgba(0, 0, 0, 0.85)",color_gray_opacity_86:"rgba(0, 0, 0, 0.86)",color_gray_opacity_87:"rgba(0, 0, 0, 0.87)",color_gray_opacity_88:"rgba(0, 0, 0, 0.88)",color_gray_opacity_89:"rgba(0, 0, 0, 0.89)",color_gray_opacity_90:"rgba(0, 0, 0, 0.9)",color_gray_opacity_91:"rgba(0, 0, 0, 0.91)",color_gray_opacity_92:"rgba(0, 0, 0, 0.92)",color_gray_opacity_93:"rgba(0, 0, 0, 0.93)",color_gray_opacity_94:"rgba(0, 0, 0, 0.94)",color_gray_opacity_95:"rgba(0, 0, 0, 0.95)",color_gray_opacity_96:"rgba(0, 0, 0, 0.96)",color_gray_opacity_97:"rgba(0, 0, 0, 0.97)",color_gray_opacity_98:"rgba(0, 0, 0, 0.98)",color_gray_opacity_99:"rgba(0, 0, 0, 0.99)",color_black:"#000000",color_white:"#FFFFFF",color_green:"#0DA166",color_green_opacity_48:"rgba(13, 161, 102, .48)",color_event_fill_faded_pickup:"rgba(218, 91, 64, 0.30)",color_event_fill_faded_dropoff:"rgba(18, 88, 210, 0.30)",color_event_fill_faded_stop:"rgba(192, 178, 45, 0.30)",color_event_fill_faded_incomplete:"rgba(120, 120, 120, 0.30)",color_event_fill_faded_arrival:"#CCCCCC",color_event_fill_faded_departure:"#CCCCCC",color_event_fill_faded_online:"rgba(13, 161, 102, 0.30)",color_event_fill_faded_offline:"rgba(62, 62, 62, 0.30)",color_event_fill_solid_pickup:"rgba(218, 91, 64, 1)",color_event_fill_solid_dropoff:"rgba(18, 88, 210, 1)",color_event_fill_solid_stop:"rgba(192, 178, 45, 1)",color_event_fill_solid_incomplete:"rgba(120, 120, 120, 1)",color_event_fill_solid_arrival:"#CCCCCC",color_event_fill_solid_departure:"#CCCCCC",color_event_fill_solid_online:"rgba(13, 161, 102, 1)",color_event_fill_solid_offline:"rgba(62, 62, 62, 1)",color_event_outline_faded_pickup:"rgba(218, 91, 64, 0.15)",color_event_outline_faded_dropoff:"rgba(18, 88, 210, 0.15)",color_event_outline_faded_stop:"rgba(210, 195, 56, 0.15)",color_event_outline_faded_incomplete:"rgba(0, 0, 0, 0.15)",color_event_outline_faded_online:"rgba(13, 161, 102, 0.15)",color_event_outline_faded_offline:"rgba(62, 62, 62, 0.15)",color_deprecated_background_white_standard:"#FFFFFF",color_deprecated_background_white_strong:"hsl(0deg 0% 94%)",color_deprecated_background_white_weak:"hsl(0deg 0% 96%)",color_deprecated_background_black_standard:"hsl(0deg 0% 16%)",color_deprecated_background_black_strong:"hsl(0deg 0% 8%)",color_deprecated_background_black_weak:"hsl(0deg 0% 12%)",color_deprecated_background_sentiment_negative:"hsl(11deg 68% 55%)",color_deprecated_background_sentiment_positive:"hsl(54deg 63% 52%)",color_deprecated_background_sentiment_notice:"hsl(29deg 74% 53%)",color_deprecated_background_sentiment_neutral:"hsl(0deg 0% 10%)",color_deprecated_divider_standard:"hsl(0deg 0% 0% / 12%)",color_deprecated_divider_strong:"hsl(0deg 0% 0% 16%)",color_deprecated_divider_weak:"hsl(0deg 0% 0% / 8%)",color_deprecated_divider_inverse_standard:"hsl(0deg 0% 100% 32%)",color_deprecated_divider_inverse_strong:"hsl(0deg 0% 100% 48%)",color_deprecated_divider_inverse_weak:"hsl(0deg 0% 100% 24%)",color_deprecated_text_standard:"hsl(0deg 0% 32%)",color_deprecated_text_strong:"#000000",color_deprecated_text_weak:"hsl(0deg 0% 56%)",color_deprecated_text_white_standard:"hsl(0deg 0% 84%)",color_deprecated_text_white_strong:"#FFFFFF",color_deprecated_text_white_weak:"hsl(0deg 0% 64%)",color_deprecated_text_sentiment_negative:"hsl(11deg, 68% 55%)",color_deprecated_text_sentiment_positive:"hsl(54deg, 63% 52%)",color_deprecated_text_sentiment_notice:"hsl(29deg, 67% 47%)",color_deprecated_text_sentiment_neutral:"hsl(0deg 0% 24%)",color_deprecated_fill_primary_enabled:"hsl(0deg 0% 8%)",color_deprecated_fill_primary_hover:"hsl(210deg 5% 16%)",color_deprecated_fill_primary_pressed:"hsl(210deg 3% 28%)",color_deprecated_fill_primary_disabled:"hsl(0deg 0% 8% / 20%)",color_deprecated_fill_secondary_enabled:"hsl(0deg 0% 0% 0.06)",color_deprecated_fill_secondary_hover:"hsl(0deg 0% 0% / 12%)",color_deprecated_fill_secondary_pressed:"hsl(0deg 0% 0% / 20%)",color_deprecated_fill_secondary_disabled:"hsl(0deg 0% 88% / 50%)",color_deprecated_fill_inverse_enabled:"#FFFFFF",color_deprecated_fill_inverse_hover:"hsl(0deg 0% 94%)",color_deprecated_fill_inverse_pressed:"hsl(0deg 0% 90%)",color_deprecated_fill_inverse_disabled:"hsl(0deg 0% 98% / 40%)",color_deprecated_fill_danger_enabled:"hsl(11deg 68% 55%)",color_deprecated_fill_danger_hover:"hsl(11deg 57% 51%)",color_deprecated_fill_danger_pressed:"hsl(11deg 55% 48%)",color_deprecated_fill_danger_disabled:"hsl(11deg 68% 55% / 20%)",color_deprecated_outline_primary_danger_enabled:"hsl(11deg 68% 55% / 24%)",color_deprecated_outline_primary_danger_hover:"hsl(11deg 68% 55% / 48%)",color_deprecated_outline_primary_danger_pressed:"hsl(11deg, 68% 55% / 72%)",color_deprecated_outline_primary_danger_disabled:"hsl(11deg, 68% 55% / 16%)",color_deprecated_outline_primary_danger_selected_enabled:"hsl(11deg 68% 55% 96%)",color_deprecated_outline_primary_danger_selected_hover:"hsl(11deg 68% 55% 96%)",color_deprecated_outline_primary_danger_selected_pressed:"hsl(11deg, 68% 55% 96%)",color_deprecated_outline_secondary_enabled:"hsl(0deg 0% 0% / 16%)",color_deprecated_outline_secondary_hover:"hsl(0deg 0% 0% / 32%)",color_deprecated_outline_secondary_pressed:"hsl(0deg 0% 0% / 48%)",color_deprecated_outline_secondary_disabled:"hsl(0deg 0% 14% / 16%)",color_deprecated_outline_secondary_selected_enabled:"hsl(0deg 0% 0% / 6%)",color_deprecated_outline_secondary_selected_hover:"hsl(0deg 0% 0% / 72%)",color_deprecated_outline_secondary_selected_pressed:"hsl(0deg 0% 0% / 76%)",color_deprecated_outline_inverse_enabled:"hsl(0deg 0% 100% / 32%)",color_deprecated_outline_inverse_hover:"hsl(0deg 0% 100% / 48%)",color_deprecated_outline_inverse_pressed:"hsl(0deg 0% 100% / 56%)",color_deprecated_outline_inverse_disabled:"hsl(0deg 0% 100% / 2%)",color_deprecated_outline_inverse_selected_enabled:"hsl(0deg 0% 100% / 6%)",color_deprecated_outline_inverse_selected_hover:"hsl(0deg 0% 100% / 72%)",color_deprecated_outline_inverse_selected_pressed:"hsl(0deg 0% 100% / 8%)",color_deprecated_outline_danger_enabled:"hsl(11deg 68% 55%)",color_deprecated_outline_danger_hover:"hsl(11deg 68% 55% / 90%)",color_deprecated_outline_danger_pressed:"hsl(11deg 68% 55% / 90%)",color_deprecated_outline_danger_disabled:"hsl(11deg 68% 55% / 32%)",color_deprecated_overlay_secondary_enabled:"#FFFFFF",color_deprecated_overlay_secondary_hover:"hsl(0deg 0% 97%)",color_deprecated_overlay_secondary_pressed:"hsl(0deg 0% 92%)",color_deprecated_overlay_secondary_selected_enabled:"hsl(0deg 0% 94%)",color_deprecated_overlay_secondary_selected_hover:"hsl(0deg 0% 91%)",color_deprecated_overlay_secondary_selected_pressed:"hsl(0deg 0% 88%)",color_deprecated_overlay_inverse_enabled:"#000000",color_deprecated_overlay_inverse_hover:"hsl(0deg 0% 4%)",color_deprecated_overlay_inverse_pressed:"hsl(0deg 0% 12%)",color_deprecated_overlay_inverse_selected_enabled:"hsl(0deg 0% 10%)",color_deprecated_overlay_inverse_selected_hover:"hsl(0deg 0% 16%)",color_deprecated_overlay_inverse_selected_pressed:"hsl(0deg 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_base:"0",z_index_above:"1",z_index_foreground:"2",z_index_foreground_high:"3",z_index_foreground_highest:"4",z_index_overlay:"5",z_index_overlay_high:"6",font_family_pingo:"'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_1:"-0.0625em",letter_spacing_2:"-0.0600em",letter_spacing_3:"-0.0575em",letter_spacing_4:"-0.0550em",letter_spacing_5:"-0.0525em",letter_spacing_6:"-0.0500em",letter_spacing_7:"-0.0475em",letter_spacing_8:"-0.0450em",letter_spacing_9:"-0.0425em",letter_spacing_10:"-0.0400em",letter_spacing_11:"-0.0375em",letter_spacing_12:"-0.0350em",letter_spacing_13:"-0.0325em",letter_spacing_14:"-0.0300em",letter_spacing_15:"-0.0275em",letter_spacing_16:"-0.0250em",letter_spacing_17:"-0.0225em",letter_spacing_18:"-0.0200em",letter_spacing_19:"-0.0175em",letter_spacing_20:"-0.0150em",letter_spacing_21:"-0.0125em",letter_spacing_22:"-0.0100em",letter_spacing_23:"-0.0075em",letter_spacing_24:"-0.0050em",letter_spacing_25:"-0.0025em",letter_spacing_26:"0.0025em",letter_spacing_27:"0.0050em",letter_spacing_28:"0.0075em",letter_spacing_29:"0.0100em",letter_spacing_30:"0.0125em",letter_spacing_31:"0.0150em",letter_spacing_32:"0.0175em",letter_spacing_33:"0.0200em",letter_spacing_deprecated_tight:"-0.006em",letter_spacing_deprecated_tighter:"-0.01em",letter_spacing_deprecated_heading_large:"-0.018em",letter_spacing_deprecated_heading_medium:"-0.016em",letter_spacing_deprecated_heading_small:"-0.014em",letter_spacing_deprecated_title_large:"-0.014em",letter_spacing_deprecated_title_medium:"-0.012em",letter_spacing_deprecated_title_small:"-0.01em",letter_spacing_deprecated_title_xsmall:"-0.008em",letter_spacing_deprecated_label_large:"-0.01em",letter_spacing_deprecated_label_medium:"normal",letter_spacing_deprecated_label_small:"-0.006em",letter_spacing_deprecated_body_large:"-0.01em",letter_spacing_deprecated_body_medium:"-0.006em",letter_spacing_deprecated_body_small:"normal",letter_spacing_deprecated_number_large:"-0.05em",letter_spacing_deprecated_number_medium:"-0.05em",letter_spacing_deprecated_number_small:"-0.04em",letter_spacing_deprecated_number_xsmall:"-0.05em",letter_spacing_deprecated_caption_medium:"0.01em",letter_spacing_deprecated_caption_small:"0.02em",line_height_50:"0.875rem",line_height_100:"1rem",line_height_150:"1.125rem",line_height_200:"1.25rem",line_height_250:"1.375rem",line_height_300:"1.5rem",line_height_350:"1.625rem",line_height_400:"1.75rem",line_height_450:"1.875rem",line_height_500:"2rem",line_height_550:"2.75rem",line_height_600:"2.5rem",line_height_650:"3.25rem",line_height_700:"3.5rem",line_height_750:"4rem",line_height_800:"4.25rem",line_height_850:"4.75rem",line_height_deprecated_111:1.11,line_height_deprecated_114:1.14,line_height_deprecated_129:1.29,line_height_deprecated_133:1.33,line_height_deprecated_143:1.43,line_height_deprecated_title_large:1.06,line_height_deprecated_title_medium:1.08,line_height_deprecated_title_small:1.1,line_height_deprecated_title_xsmall:1.11,line_height_deprecated_label_large:1.11,line_height_deprecated_label_medium:1.12,line_height_deprecated_label_small:1.14,line_height_deprecated_body_large:1.25,line_height_deprecated_body_medium:1.29,line_height_deprecated_body_small:1.33,line_height_deprecated_number_large:1.25,line_height_deprecated_number_medium:1.14,line_height_deprecated_number_small:1.17,line_height_deprecated_number_xsmall:1.2,line_height_deprecated_caption_medium:1.17,line_height_deprecated_caption_small:1.2,font_size_50:"0.25rem",font_size_75:"0.375rem",font_size_100:"0.5rem",font_size_125:"0.625rem",font_size_150:"0.75rem",font_size_160:"0.8125rem",font_size_175:"0.875rem",font_size_200:"1rem",font_size_225:"1.125rem",font_size_250:"1.25rem",font_size_275:"1.375rem",font_size_300:"1.5rem",font_size_325:"1.625rem",font_size_350:"1.75rem",font_size_375:"1.875rem",font_size_400:"2rem",font_size_425:"2.125rem",font_size_450:"2.25rem",font_size_475:"2.375rem",font_size_500:"2.5rem",font_size_525:"2.625rem",font_size_550:"2.75rem",font_size_575:"2.875rem",font_size_600:"3rem",font_size_625:"3.125rem",font_size_650:"3.25rem",font_size_675:"3.375rem",font_size_700:"3.5rem",font_size_725:"3.625rem",font_size_750:"3.75rem",font_size_775:"3.875rem",font_size_800:"4rem",font_size_825:"4.125rem",font_size_850:"4.25rem",font_size_875:"4.375rem",font_size_900:"4.5rem",font_size_925:"4.625rem",font_size_950:"4.75rem",font_size_root:"16px",font_size_deprecated_50:"0.75rem",font_size_deprecated_100:"0.875rem",font_size_deprecated_200:"1rem",font_size_deprecated_300:"1.125rem",font_size_deprecated_400:"1.25rem",font_size_deprecated_500:"1.5rem",font_size_deprecated_600:"2rem",font_size_deprecated_700:"2.75rem",font_size_deprecated_800:"3.5rem",font_size_deprecated_root:"16px",font_size_deprecated_heading_large:"4.5rem",font_size_deprecated_heading_medium:"3.5rem",font_size_deprecated_heading_small:"3rem",font_size_deprecated_title_large:"2.125rem",font_size_deprecated_title_medium:"1.5rem",font_size_deprecated_title_small:"1.25rem",font_size_deprecated_title_xsmall:"1.125rem",font_size_deprecated_label_large:"1.125rem",font_size_deprecated_label_medium:"16px",font_size_deprecated_label_small:"0.875rem",font_size_deprecated_body_large:"16px",font_size_deprecated_body_medium:"0.875rem",font_size_deprecated_body_small:"0.75rem",font_size_deprecated_number_large:"16px",font_size_deprecated_number_medium:"0.875rem",font_size_deprecated_number_small:"0.75rem",font_size_deprecated_number_xsmall:"0.625rem",font_size_deprecated_caption_medium:"0.875rem",font_size_deprecated_caption_small:"0.75rem",font_weight_100:"100",font_weight_200:"200",font_weight_300:"300",font_weight_400:"400",font_weight_500:"500",font_weight_600:"600",font_weight_700:"700",font_weight_800:"800",font_weight_900:"900",media_query_xs:"448px",media_query_sm:"720px",media_query_md:"960px",media_query_lg:"1200px",media_query_xl:"1440px",motion_duration_fast:"0.15s",motion_duration_medium:"0.3s",motion_duration_slow:"0.7s",deprecated_transition_duration_75:"75ms",deprecated_transition_duration_100:"100ms",deprecated_transition_duration_150:"150ms",deprecated_transition_duration_200:"200ms",deprecated_transition_duration_300:"300ms",motion_ease_in:"cubic-bezier(.35, 0, .7, .2)",motion_ease_out:"cubic-bezier(0, 0, .3, 1)",motion_ease_in_out:"cubic-bezier(.4, 0, .3, 1)",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",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_25:"0.0625rem",spacing_50:"0.125rem",spacing_75:"0.1875rem",spacing_100:"0.25rem",spacing_125:"0.3125rem",spacing_150:"0.375rem",spacing_175:"0.4375rem",spacing_200:"0.5rem",spacing_225:"0.5625rem",spacing_250:"0.625rem",spacing_275:"0.6875rem",spacing_300:"0.75rem",spacing_350:"0.875rem",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"};function eD(e){return!!e}function kt(e,t){const n={},r=new RegExp(`^(${t.join("|")})$`);for(const o in e)r.test(o)&&(n[o]=e[o]);return n}function tD(e=[],t={}){return{shouldForwardProp:(n,r)=>!e.includes(n)&&r(n),...t}}function hs(e){return Object.keys(e).reduce((t,n)=>(n.startsWith("aria-")&&(t[n]=e[n]),t),{})}function yo(){}function yp(){return typeof window<"u"}function bs(){return yp()?window:{matchMedia:yo,addEventListener:yo,removeEventListener:yo,setTimeout:yo,clearTimeout:yo}}function nD(){try{return window.self!==window.top}catch{return!0}}const Na={backspace:{key:"Backspace",keyCode:8,shiftKey:!1},enter:{key:"Enter",keyCode:13,shiftKey:!1},escape:{key:"Escape",keyCode:27,shiftKey:!1},arrowRight:{key:"ArrowRight",keyCode:39,shiftKey:!1},arrowLeft:{key:"ArrowLeft",keyCode:37,shiftKey:!1},arrowUp:{key:"ArrowUp",keyCode:38,shiftKey:!1},arrowDown:{key:"ArrowDown",keyCode:40,shiftKey:!1},home:{key:"Home",keyCode:36,shiftKey:!1},end:{key:"End",keyCode:35,shiftKey:!1},space:{key:" ",keyCode:32,shiftKey:!1},pageUp:{key:"PageUp",keyCode:33,shiftKey:!1},pageDown:{key:"PageDown",keyCode:34,shiftKey:!1},tab:{key:"Tab",keyCode:9,shiftKey:!1}};function rD(e,t){return!!Na[e]&&(t.key===Na[e].key||t.keyCode===Na[e].keyCode)&&t.shiftKey===Na[e].shiftKey}function $p(e,t){return function(r){if(rD(e,r))return t(r)}}/*
28
28
  object-assign
29
29
  (c) Sindre Sorhus
30
30
  @license MIT
31
- */var _p=Object.getOwnPropertySymbols,oD=Object.prototype.hasOwnProperty,aD=Object.prototype.propertyIsEnumerable;function iD(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function lD(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(a){o[a]=a}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var xp=lD()?Object.assign:function(e,t){for(var n,r=iD(e),o,a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var i in n)oD.call(n,i)&&(r[i]=n[i]);if(_p){o=_p(n);for(var l=0;l<o.length;l++)aD.call(n,o[l])&&(r[o[l]]=n[o[l]])}}return r};const mt=Aa(xp);var wp=function(t,n){var r=mt({},t,n);for(var o in t){var a;!t[o]||typeof n[o]!="object"||mt(r,(a={},a[o]=mt(t[o],n[o]),a))}return r},sD=function(t){var n={};return Object.keys(t).sort(function(r,o){return r.localeCompare(o,void 0,{numeric:!0,sensitivity:"base"})}).forEach(function(r){n[r]=t[r]}),n},cD={breakpoints:[40,52,64].map(function(e){return e+"em"})},Ep=function(t){return"@media screen and (min-width: "+t+")"},uD=function(t,n){return mn(n,t,t)},mn=function(t,n,r,o,a){for(n=n&&n.split?n.split("."):[n],o=0;o<n.length;o++)t=t?t[n[o]]:a;return t===a?r:t},za=function e(t){var n={},r=function(i){var l={},s=!1,u=i.theme&&i.theme.disableStyledSystemCache;for(var d in i)if(t[d]){var f=t[d],m=i[d],g=mn(i.theme,f.scale,f.defaults);if(typeof m=="object"){if(n.breakpoints=!u&&n.breakpoints||mn(i.theme,"breakpoints",cD.breakpoints),Array.isArray(m)){n.media=!u&&n.media||[null].concat(n.breakpoints.map(Ep)),l=wp(l,dD(n.media,f,g,m,i));continue}m!==null&&(l=wp(l,fD(n.breakpoints,f,g,m,i)),s=!0);continue}mt(l,f(m,g,i))}return s&&(l=sD(l)),l};r.config=t,r.propNames=Object.keys(t),r.cache=n;var o=Object.keys(t).filter(function(a){return a!=="config"});return o.length>1&&o.forEach(function(a){var i;r[a]=e((i={},i[a]=t[a],i))}),r},dD=function(t,n,r,o,a){var i={};return o.slice(0,t.length).forEach(function(l,s){var u=t[s],d=n(l,r,a);if(!u)mt(i,d);else{var f;mt(i,(f={},f[u]=mt({},i[u],d),f))}}),i},fD=function(t,n,r,o,a){var i={};for(var l in o){var s=t[l],u=o[l],d=n(u,r,a);if(!s)mt(i,d);else{var f,m=Ep(s);mt(i,(f={},f[m]=mt({},i[m],d),f))}}return i},vs=function(t){var n=t.properties,r=t.property,o=t.scale,a=t.transform,i=a===void 0?uD:a,l=t.defaultScale;n=n||[r];var s=function(d,f,m){var g={},h=i(d,f,m);if(h!==null)return n.forEach(function(b){g[b]=h}),g};return s.scale=o,s.defaults=l,s},rt=function(t){t===void 0&&(t={});var n={};Object.keys(t).forEach(function(o){var a=t[o];if(a===!0){n[o]=vs({property:o,scale:o});return}if(typeof a=="function"){n[o]=a;return}n[o]=vs(a)});var r=za(n);return r},Ra=function(){for(var t={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];r.forEach(function(i){!i||!i.config||mt(t,i.config)});var a=za(t);return a},pD=function(t){return typeof t=="number"&&!isNaN(t)},gD=function(t,n){return mn(n,t,!pD(t)||t>1?t:t*100+"%")},mD={width:{property:"width",scale:"sizes",transform:gD},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0},Ye=rt(mD),ys={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};ys.bg=ys.backgroundColor;var $s=rt(ys),hD={fontSizes:[12,14,16,20,24,32,48,64,72]},bD={fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:hD.fontSizes},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0},Bt=rt(bD),vD={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0},qe=rt(vD),_s={space:[0,4,8,16,32,64,128,256,512]},yD={gridGap:{property:"gridGap",scale:"space",defaultScale:_s.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:_s.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:_s.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},Ze=rt(yD),Ve={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"}};Ve.borderTopWidth={property:"borderTopWidth",scale:"borderWidths"},Ve.borderTopColor={property:"borderTopColor",scale:"colors"},Ve.borderTopStyle={property:"borderTopStyle",scale:"borderStyles"},Ve.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},Ve.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},Ve.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},Ve.borderBottomColor={property:"borderBottomColor",scale:"colors"},Ve.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},Ve.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},Ve.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},Ve.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},Ve.borderLeftColor={property:"borderLeftColor",scale:"colors"},Ve.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},Ve.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},Ve.borderRightColor={property:"borderRightColor",scale:"colors"},Ve.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var kt=rt(Ve),jt={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};jt.bgImage=jt.backgroundImage,jt.bgSize=jt.backgroundSize,jt.bgPosition=jt.backgroundPosition,jt.bgRepeat=jt.backgroundRepeat;var $o=rt(jt),Ka={space:[0,4,8,16,32,64,128,256,512]},$D={position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:Ka.space},right:{property:"right",scale:"space",defaultScale:Ka.space},bottom:{property:"bottom",scale:"space",defaultScale:Ka.space},left:{property:"left",scale:"space",defaultScale:Ka.space}},Nn=rt($D),Qe={space:[0,4,8,16,32,64,128,256,512]},Sp=function(t){return typeof t=="number"&&!isNaN(t)},zn=function(t,n){if(!Sp(t))return mn(n,t,t);var r=t<0,o=Math.abs(t),a=mn(n,o,o);return Sp(a)?a*(r?-1:1):r?"-"+a:a},ve={};ve.margin={margin:{property:"margin",scale:"space",transform:zn,defaultScale:Qe.space},marginTop:{property:"marginTop",scale:"space",transform:zn,defaultScale:Qe.space},marginRight:{property:"marginRight",scale:"space",transform:zn,defaultScale:Qe.space},marginBottom:{property:"marginBottom",scale:"space",transform:zn,defaultScale:Qe.space},marginLeft:{property:"marginLeft",scale:"space",transform:zn,defaultScale:Qe.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:zn,defaultScale:Qe.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:zn,defaultScale:Qe.space}},ve.margin.m=ve.margin.margin,ve.margin.mt=ve.margin.marginTop,ve.margin.mr=ve.margin.marginRight,ve.margin.mb=ve.margin.marginBottom,ve.margin.ml=ve.margin.marginLeft,ve.margin.mx=ve.margin.marginX,ve.margin.my=ve.margin.marginY,ve.padding={padding:{property:"padding",scale:"space",defaultScale:Qe.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:Qe.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:Qe.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:Qe.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:Qe.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:Qe.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:Qe.space}},ve.padding.p=ve.padding.padding,ve.padding.pt=ve.padding.paddingTop,ve.padding.pr=ve.padding.paddingRight,ve.padding.pb=ve.padding.paddingBottom,ve.padding.pl=ve.padding.paddingLeft,ve.padding.px=ve.padding.paddingX,ve.padding.py=ve.padding.paddingY;var xs=rt(ve.margin),ws=rt(ve.padding),Es=Ra(xs,ws),Dp=rt({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function _o(){return _o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_o.apply(this,arguments)}var Ct=function(t,n,r,o,a){for(n=n&&n.split?n.split("."):[n],o=0;o<n.length;o++)t=t?t[n[o]]:a;return t===a?r:t},_D=[40,52,64].map(function(e){return e+"em"}),xD={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},wD={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},Pp={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},ED={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},SD=function(t,n){if(typeof n!="number"||n>=0)return Ct(t,n,n);var r=Math.abs(n),o=Ct(t,r,r);return typeof o=="string"?"-"+o:o*-1},DD=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce(function(e,t){var n;return _o({},e,(n={},n[t]=SD,n))},{}),PD=function(t){return function(n){var r={},o=Ct(n,"breakpoints",_D),a=[null].concat(o.map(function(d){return"@media screen and (min-width: "+d+")"}));for(var i in t){var l=typeof t[i]=="function"?t[i](n):t[i];if(l!=null){if(!Array.isArray(l)){r[i]=l;continue}for(var s=0;s<l.slice(0,a.length).length;s++){var u=a[s];if(!u){r[i]=l[s];continue}r[u]=r[u]||{},l[s]!=null&&(r[u][i]=l[s])}}}return r}},TD=function e(t){return function(n){n===void 0&&(n={});var r=_o({},xD,{},n.theme||n),o={},a=typeof t=="function"?t(r):t,i=PD(a)(r);for(var l in i){var s=i[l],u=typeof s=="function"?s(r):s;if(l==="variant"){var d=e(Ct(r,u))(r);o=_o({},o,{},d);continue}if(u&&typeof u=="object"){o[l]=e(u)(r);continue}var f=Ct(wD,l,l),m=Ct(ED,f),g=Ct(r,m,Ct(r,f,{})),h=Ct(DD,f,Ct),b=h(g,u,u);if(Pp[f])for(var v=Pp[f],_=0;_<v.length;_++)o[v[_]]=b;else o[f]=b}return o}};const kD=TD;var Ss=function(t){var n,r=t.scale,o=t.prop,a=o===void 0?"variant":o,i=t.variants,l=i===void 0?{}:i,s=t.key,u;Object.keys(l).length?u=function(g,h,b){return kD(mn(h,g,null))(b.theme)}:u=function(g,h){return mn(h,g,null)},u.scale=r||s,u.defaults=l;var d=(n={},n[a]=u,n),f=za(d);return f},CD=Ss({key:"buttons"}),AD=Ss({key:"textStyles",prop:"textStyle"}),ID=Ss({key:"colorStyles",prop:"colors"}),OD=Ye.width,MD=Ye.height;Ye.minWidth,Ye.minHeight,Ye.maxWidth,Ye.maxHeight;var FD=Ye.size;Ye.verticalAlign,Ye.display,Ye.overflow,Ye.overflowX,Ye.overflowY,$s.opacity,Bt.fontSize,Bt.fontFamily,Bt.fontWeight,Bt.lineHeight,Bt.textAlign,Bt.fontStyle,Bt.letterSpacing,qe.alignItems,qe.alignContent,qe.justifyItems,qe.justifyContent,qe.flexWrap,qe.flexDirection,qe.flex,qe.flexGrow,qe.flexShrink,qe.flexBasis,qe.justifySelf,qe.alignSelf,qe.order,Ze.gridGap,Ze.gridColumnGap,Ze.gridRowGap,Ze.gridColumn,Ze.gridRow,Ze.gridAutoFlow,Ze.gridAutoColumns,Ze.gridAutoRows,Ze.gridTemplateColumns,Ze.gridTemplateRows,Ze.gridTemplateAreas,Ze.gridArea,kt.borderWidth,kt.borderStyle,kt.borderColor,kt.borderTop,kt.borderRight,kt.borderBottom,kt.borderLeft,kt.borderRadius,$o.backgroundImage,$o.backgroundSize,$o.backgroundPosition,$o.backgroundRepeat,Nn.zIndex,Nn.top,Nn.right,Nn.bottom,Nn.left;var Va=function(t){var n=t.prop,r=t.cssProperty,o=t.alias,a=t.key,i=t.transformValue,l=t.scale,s=t.properties,u={};u[n]=vs({properties:s,property:r||n,scale:a,defaultScale:l,transform:i}),o&&(u[o]=u[n]);var d=za(u);return d};const LD=()=>`
31
+ */var _p=Object.getOwnPropertySymbols,oD=Object.prototype.hasOwnProperty,aD=Object.prototype.propertyIsEnumerable;function iD(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function lD(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(a){o[a]=a}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var xp=lD()?Object.assign:function(e,t){for(var n,r=iD(e),o,a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var i in n)oD.call(n,i)&&(r[i]=n[i]);if(_p){o=_p(n);for(var l=0;l<o.length;l++)aD.call(n,o[l])&&(r[o[l]]=n[o[l]])}}return r};const mt=Aa(xp);var wp=function(t,n){var r=mt({},t,n);for(var o in t){var a;!t[o]||typeof n[o]!="object"||mt(r,(a={},a[o]=mt(t[o],n[o]),a))}return r},sD=function(t){var n={};return Object.keys(t).sort(function(r,o){return r.localeCompare(o,void 0,{numeric:!0,sensitivity:"base"})}).forEach(function(r){n[r]=t[r]}),n},cD={breakpoints:[40,52,64].map(function(e){return e+"em"})},Ep=function(t){return"@media screen and (min-width: "+t+")"},uD=function(t,n){return hn(n,t,t)},hn=function(t,n,r,o,a){for(n=n&&n.split?n.split("."):[n],o=0;o<n.length;o++)t=t?t[n[o]]:a;return t===a?r:t},za=function e(t){var n={},r=function(i){var l={},s=!1,u=i.theme&&i.theme.disableStyledSystemCache;for(var d in i)if(t[d]){var f=t[d],m=i[d],g=hn(i.theme,f.scale,f.defaults);if(typeof m=="object"){if(n.breakpoints=!u&&n.breakpoints||hn(i.theme,"breakpoints",cD.breakpoints),Array.isArray(m)){n.media=!u&&n.media||[null].concat(n.breakpoints.map(Ep)),l=wp(l,dD(n.media,f,g,m,i));continue}m!==null&&(l=wp(l,fD(n.breakpoints,f,g,m,i)),s=!0);continue}mt(l,f(m,g,i))}return s&&(l=sD(l)),l};r.config=t,r.propNames=Object.keys(t),r.cache=n;var o=Object.keys(t).filter(function(a){return a!=="config"});return o.length>1&&o.forEach(function(a){var i;r[a]=e((i={},i[a]=t[a],i))}),r},dD=function(t,n,r,o,a){var i={};return o.slice(0,t.length).forEach(function(l,s){var u=t[s],d=n(l,r,a);if(!u)mt(i,d);else{var f;mt(i,(f={},f[u]=mt({},i[u],d),f))}}),i},fD=function(t,n,r,o,a){var i={};for(var l in o){var s=t[l],u=o[l],d=n(u,r,a);if(!s)mt(i,d);else{var f,m=Ep(s);mt(i,(f={},f[m]=mt({},i[m],d),f))}}return i},vs=function(t){var n=t.properties,r=t.property,o=t.scale,a=t.transform,i=a===void 0?uD:a,l=t.defaultScale;n=n||[r];var s=function(d,f,m){var g={},h=i(d,f,m);if(h!==null)return n.forEach(function(b){g[b]=h}),g};return s.scale=o,s.defaults=l,s},rt=function(t){t===void 0&&(t={});var n={};Object.keys(t).forEach(function(o){var a=t[o];if(a===!0){n[o]=vs({property:o,scale:o});return}if(typeof a=="function"){n[o]=a;return}n[o]=vs(a)});var r=za(n);return r},Ra=function(){for(var t={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];r.forEach(function(i){!i||!i.config||mt(t,i.config)});var a=za(t);return a},pD=function(t){return typeof t=="number"&&!isNaN(t)},gD=function(t,n){return hn(n,t,!pD(t)||t>1?t:t*100+"%")},mD={width:{property:"width",scale:"sizes",transform:gD},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0},Ye=rt(mD),ys={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};ys.bg=ys.backgroundColor;var $s=rt(ys),hD={fontSizes:[12,14,16,20,24,32,48,64,72]},bD={fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:hD.fontSizes},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0},jt=rt(bD),vD={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0},qe=rt(vD),_s={space:[0,4,8,16,32,64,128,256,512]},yD={gridGap:{property:"gridGap",scale:"space",defaultScale:_s.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:_s.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:_s.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},Ze=rt(yD),Ve={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"}};Ve.borderTopWidth={property:"borderTopWidth",scale:"borderWidths"},Ve.borderTopColor={property:"borderTopColor",scale:"colors"},Ve.borderTopStyle={property:"borderTopStyle",scale:"borderStyles"},Ve.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},Ve.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},Ve.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},Ve.borderBottomColor={property:"borderBottomColor",scale:"colors"},Ve.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},Ve.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},Ve.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},Ve.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},Ve.borderLeftColor={property:"borderLeftColor",scale:"colors"},Ve.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},Ve.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},Ve.borderRightColor={property:"borderRightColor",scale:"colors"},Ve.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var Ct=rt(Ve),Ut={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};Ut.bgImage=Ut.backgroundImage,Ut.bgSize=Ut.backgroundSize,Ut.bgPosition=Ut.backgroundPosition,Ut.bgRepeat=Ut.backgroundRepeat;var $o=rt(Ut),Ka={space:[0,4,8,16,32,64,128,256,512]},$D={position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:Ka.space},right:{property:"right",scale:"space",defaultScale:Ka.space},bottom:{property:"bottom",scale:"space",defaultScale:Ka.space},left:{property:"left",scale:"space",defaultScale:Ka.space}},Nn=rt($D),Qe={space:[0,4,8,16,32,64,128,256,512]},Sp=function(t){return typeof t=="number"&&!isNaN(t)},zn=function(t,n){if(!Sp(t))return hn(n,t,t);var r=t<0,o=Math.abs(t),a=hn(n,o,o);return Sp(a)?a*(r?-1:1):r?"-"+a:a},ve={};ve.margin={margin:{property:"margin",scale:"space",transform:zn,defaultScale:Qe.space},marginTop:{property:"marginTop",scale:"space",transform:zn,defaultScale:Qe.space},marginRight:{property:"marginRight",scale:"space",transform:zn,defaultScale:Qe.space},marginBottom:{property:"marginBottom",scale:"space",transform:zn,defaultScale:Qe.space},marginLeft:{property:"marginLeft",scale:"space",transform:zn,defaultScale:Qe.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:zn,defaultScale:Qe.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:zn,defaultScale:Qe.space}},ve.margin.m=ve.margin.margin,ve.margin.mt=ve.margin.marginTop,ve.margin.mr=ve.margin.marginRight,ve.margin.mb=ve.margin.marginBottom,ve.margin.ml=ve.margin.marginLeft,ve.margin.mx=ve.margin.marginX,ve.margin.my=ve.margin.marginY,ve.padding={padding:{property:"padding",scale:"space",defaultScale:Qe.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:Qe.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:Qe.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:Qe.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:Qe.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:Qe.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:Qe.space}},ve.padding.p=ve.padding.padding,ve.padding.pt=ve.padding.paddingTop,ve.padding.pr=ve.padding.paddingRight,ve.padding.pb=ve.padding.paddingBottom,ve.padding.pl=ve.padding.paddingLeft,ve.padding.px=ve.padding.paddingX,ve.padding.py=ve.padding.paddingY;var xs=rt(ve.margin),ws=rt(ve.padding),Es=Ra(xs,ws),Dp=rt({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function _o(){return _o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_o.apply(this,arguments)}var At=function(t,n,r,o,a){for(n=n&&n.split?n.split("."):[n],o=0;o<n.length;o++)t=t?t[n[o]]:a;return t===a?r:t},_D=[40,52,64].map(function(e){return e+"em"}),xD={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},wD={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},Pp={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},ED={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},SD=function(t,n){if(typeof n!="number"||n>=0)return At(t,n,n);var r=Math.abs(n),o=At(t,r,r);return typeof o=="string"?"-"+o:o*-1},DD=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce(function(e,t){var n;return _o({},e,(n={},n[t]=SD,n))},{}),PD=function(t){return function(n){var r={},o=At(n,"breakpoints",_D),a=[null].concat(o.map(function(d){return"@media screen and (min-width: "+d+")"}));for(var i in t){var l=typeof t[i]=="function"?t[i](n):t[i];if(l!=null){if(!Array.isArray(l)){r[i]=l;continue}for(var s=0;s<l.slice(0,a.length).length;s++){var u=a[s];if(!u){r[i]=l[s];continue}r[u]=r[u]||{},l[s]!=null&&(r[u][i]=l[s])}}}return r}},TD=function e(t){return function(n){n===void 0&&(n={});var r=_o({},xD,{},n.theme||n),o={},a=typeof t=="function"?t(r):t,i=PD(a)(r);for(var l in i){var s=i[l],u=typeof s=="function"?s(r):s;if(l==="variant"){var d=e(At(r,u))(r);o=_o({},o,{},d);continue}if(u&&typeof u=="object"){o[l]=e(u)(r);continue}var f=At(wD,l,l),m=At(ED,f),g=At(r,m,At(r,f,{})),h=At(DD,f,At),b=h(g,u,u);if(Pp[f])for(var v=Pp[f],_=0;_<v.length;_++)o[v[_]]=b;else o[f]=b}return o}};const kD=TD;var Ss=function(t){var n,r=t.scale,o=t.prop,a=o===void 0?"variant":o,i=t.variants,l=i===void 0?{}:i,s=t.key,u;Object.keys(l).length?u=function(g,h,b){return kD(hn(h,g,null))(b.theme)}:u=function(g,h){return hn(h,g,null)},u.scale=r||s,u.defaults=l;var d=(n={},n[a]=u,n),f=za(d);return f},CD=Ss({key:"buttons"}),AD=Ss({key:"textStyles",prop:"textStyle"}),ID=Ss({key:"colorStyles",prop:"colors"}),OD=Ye.width,MD=Ye.height;Ye.minWidth,Ye.minHeight,Ye.maxWidth,Ye.maxHeight;var FD=Ye.size;Ye.verticalAlign,Ye.display,Ye.overflow,Ye.overflowX,Ye.overflowY,$s.opacity,jt.fontSize,jt.fontFamily,jt.fontWeight,jt.lineHeight,jt.textAlign,jt.fontStyle,jt.letterSpacing,qe.alignItems,qe.alignContent,qe.justifyItems,qe.justifyContent,qe.flexWrap,qe.flexDirection,qe.flex,qe.flexGrow,qe.flexShrink,qe.flexBasis,qe.justifySelf,qe.alignSelf,qe.order,Ze.gridGap,Ze.gridColumnGap,Ze.gridRowGap,Ze.gridColumn,Ze.gridRow,Ze.gridAutoFlow,Ze.gridAutoColumns,Ze.gridAutoRows,Ze.gridTemplateColumns,Ze.gridTemplateRows,Ze.gridTemplateAreas,Ze.gridArea,Ct.borderWidth,Ct.borderStyle,Ct.borderColor,Ct.borderTop,Ct.borderRight,Ct.borderBottom,Ct.borderLeft,Ct.borderRadius,$o.backgroundImage,$o.backgroundSize,$o.backgroundPosition,$o.backgroundRepeat,Nn.zIndex,Nn.top,Nn.right,Nn.bottom,Nn.left;var Va=function(t){var n=t.prop,r=t.cssProperty,o=t.alias,a=t.key,i=t.transformValue,l=t.scale,s=t.properties,u={};u[n]=vs({properties:s,property:r||n,scale:a,defaultScale:l,transform:i}),o&&(u[o]=u[n]);var d=za(u);return d};const LD=()=>`
32
32
  box-sizing: border-box;
33
- `,ND=Va({prop:"whiteSpace",cssProperty:"white-space"}),zD=Va({prop:"userSelect",cssProperty:"user-select"}),RD=Va({prop:"pointerEvents",cssProperty:"pointer-events"}),KD=Va({prop:"gap",cssProperty:"gap"}),Ut=Ra(LD,ND,zD,kt,$s,qe,Ze,Ye,Nn,Dp,Es,Bt,RD,KD),xo=()=>`
33
+ `,ND=Va({prop:"whiteSpace",cssProperty:"white-space"}),zD=Va({prop:"userSelect",cssProperty:"user-select"}),RD=Va({prop:"pointerEvents",cssProperty:"pointer-events"}),KD=Va({prop:"gap",cssProperty:"gap"}),Wt=Ra(LD,ND,zD,Ct,$s,qe,Ze,Ye,Nn,Dp,Es,jt,RD,KD),xo=()=>`
34
34
  overflow: hidden;
35
35
  text-overflow: ellipsis;
36
36
  white-space: nowrap;
37
- `,Tp=((QS=Ut.propNames)==null?void 0:QS.filter(e=>typeof e=="string"))??[];if(Tp.length===0)throw new Error("Prop names are required for the Box component. Make sure you have included the necessary styled-system props.");const VD=[...Tp,"truncate"],Be=F.default.div.withConfig(tD(VD))`
38
- ${Ut}
37
+ `,Tp=((QS=Wt.propNames)==null?void 0:QS.filter(e=>typeof e=="string"))??[];if(Tp.length===0)throw new Error("Prop names are required for the Box component. Make sure you have included the necessary styled-system props.");const VD=[...Tp,"truncate"],Be=F.default.div.withConfig(tD(VD))`
38
+ ${Wt}
39
39
  ${({truncate:e})=>e&&xo()}
40
40
  `;Be.displayName="Box";const pe=Be,BD=F.default(Be)`
41
41
  display: flex;
@@ -96,7 +96,7 @@ object-assign
96
96
  }
97
97
  &[data-state='closed'] {
98
98
  }
99
- `,GD=F.default(we.ExpandMore)`
99
+ `,GD=F.default(Ee.ExpandMore)`
100
100
  cursor: pointer;
101
101
  font-size: 1rem !important;
102
102
  margin-left: auto;
@@ -130,7 +130,7 @@ object-assign
130
130
  color: ${p.color_gray_6};
131
131
  cursor: pointer;
132
132
  width: calc(100% - ${p.spacing_400});
133
- `;function Ap({children:e,icon:t,bold:n=!0,...r}){return w(Z5,{asChild:!0,children:ee(HD,{...r,children:[t?w(YD,{mr:p.spacing_200,children:t}):null,w(Cp,{style:{"--font-weight":n?p.font_weight_500:p.font_weight_300},children:e}),w(ht,{flex:"1",alignItems:"center",cursor:"pointer",className:"chev",width:p.spacing_400,children:w(GD,{})})]})})}function Ip({children:e,includeBottomDivider:t=!0,style:n,...r}){return w(WD,{...r,style:{"--border-bottom":t?`1px solid ${p.color_gray_88}`:"none",...n},children:e})}const qD=F.default(Q5)`
133
+ `;function Ap({children:e,icon:t,bold:n=!0,...r}){return w(Z5,{asChild:!0,children:Q(HD,{...r,children:[t?w(YD,{mr:p.spacing_200,children:t}):null,w(Cp,{style:{"--font-weight":n?p.font_weight_500:p.font_weight_300},children:e}),w(ht,{flex:"1",alignItems:"center",cursor:"pointer",className:"chev",width:p.spacing_400,children:w(GD,{})})]})})}function Ip({children:e,includeBottomDivider:t=!0,style:n,...r}){return w(WD,{...r,style:{"--border-bottom":t?`1px solid ${p.color_gray_88}`:"none",...n},children:e})}const qD=F.default(Q5)`
134
134
  overflow: hidden;
135
135
  padding-bottom: ${p.spacing_200};
136
136
 
@@ -142,7 +142,7 @@ object-assign
142
142
  animation: ${UD} 300ms cubic-bezier(0.87, 0, 0.13, 1); // todo: use tokens
143
143
  transform: translateZ(0);
144
144
  }
145
- `,wo=({children:e,type:t,...n})=>t==="multiple"?w(kp,{type:"multiple",...n,children:e}):w(kp,{type:"single",...n,children:e});wo.displayName="Accordion",wo.Item=Ip,wo.Header=Ap,wo.Content=qD;const XD=wo;function JD(e,t=globalThis==null?void 0:globalThis.document){const n=je(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Ds="dismissableLayer.update",ZD="dismissableLayer.pointerDownOutside",QD="dismissableLayer.focusOutside";let Op;const Mp=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Eo=c.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:l,onDismiss:s,...u}=e,d=c.useContext(Mp),[f,m]=c.useState(null),g=(n=f==null?void 0:f.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=c.useState({}),b=$e(t,$=>m($)),v=Array.from(d.layers),[_]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(_),x=f?v.indexOf(f):-1,S=d.layersWithOutsidePointerEventsDisabled.size>0,T=x>=y,P=tP($=>{const C=$.target,z=[...d.branches].some(E=>E.contains(C));!T||z||(a==null||a($),l==null||l($),$.defaultPrevented||s==null||s())},g),M=nP($=>{const C=$.target;[...d.branches].some(E=>E.contains(C))||(i==null||i($),l==null||l($),$.defaultPrevented||s==null||s())},g);return JD($=>{x===d.layers.size-1&&(o==null||o($),!$.defaultPrevented&&s&&($.preventDefault(),s()))},g),c.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Op=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Fp(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Op)}},[f,g,r,d]),c.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Fp())},[f,d]),c.useEffect(()=>{const $=()=>h({});return document.addEventListener(Ds,$),()=>document.removeEventListener(Ds,$)},[]),c.createElement(ce.div,L({},u,{ref:b,style:{pointerEvents:S?T?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,M.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,P.onPointerDownCapture)}))}),eP=c.forwardRef((e,t)=>{const n=c.useContext(Mp),r=c.useRef(null),o=$e(t,r);return c.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),c.createElement(ce.div,L({},e,{ref:o}))});function tP(e,t=globalThis==null?void 0:globalThis.document){const n=je(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const a=l=>{if(l.target&&!r.current){let u=function(){Lp(ZD,n,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function nP(e,t=globalThis==null?void 0:globalThis.document){const n=je(e),r=c.useRef(!1);return c.useEffect(()=>{const o=a=>{a.target&&!r.current&&Lp(QD,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Fp(){const e=new CustomEvent(Ds);document.dispatchEvent(e)}function Lp(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ss(o,a):o.dispatchEvent(a)}const rP=Eo,oP=eP,Ps="focusScope.autoFocusOnMount",Ts="focusScope.autoFocusOnUnmount",Np={bubbles:!1,cancelable:!0},ks=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[l,s]=c.useState(null),u=je(o),d=je(a),f=c.useRef(null),m=$e(t,b=>s(b)),g=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let b=function(x){if(g.paused||!l)return;const S=x.target;l.contains(S)?f.current=S:hn(f.current,{select:!0})},v=function(x){if(g.paused||!l)return;const S=x.relatedTarget;S!==null&&(l.contains(S)||hn(f.current,{select:!0}))},_=function(x){const S=document.activeElement;for(const T of x)T.removedNodes.length>0&&(l!=null&&l.contains(S)||hn(l))};document.addEventListener("focusin",b),document.addEventListener("focusout",v);const y=new MutationObserver(_);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",v),y.disconnect()}}},[r,l,g.paused]),c.useEffect(()=>{if(l){Kp.add(g);const b=document.activeElement;if(!l.contains(b)){const _=new CustomEvent(Ps,Np);l.addEventListener(Ps,u),l.dispatchEvent(_),_.defaultPrevented||(aP(uP(zp(l)),{select:!0}),document.activeElement===b&&hn(l))}return()=>{l.removeEventListener(Ps,u),setTimeout(()=>{const _=new CustomEvent(Ts,Np);l.addEventListener(Ts,d),l.dispatchEvent(_),_.defaultPrevented||hn(b??document.body,{select:!0}),l.removeEventListener(Ts,d),Kp.remove(g)},0)}}},[l,u,d,g]);const h=c.useCallback(b=>{if(!n&&!r||g.paused)return;const v=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,_=document.activeElement;if(v&&_){const y=b.currentTarget,[x,S]=iP(y);x&&S?!b.shiftKey&&_===S?(b.preventDefault(),n&&hn(x,{select:!0})):b.shiftKey&&_===x&&(b.preventDefault(),n&&hn(S,{select:!0})):_===y&&b.preventDefault()}},[n,r,g.paused]);return c.createElement(ce.div,L({tabIndex:-1},i,{ref:m,onKeyDown:h}))});function aP(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(hn(r,{select:t}),document.activeElement!==n)return}function iP(e){const t=zp(e),n=Rp(t,e),r=Rp(t.reverse(),e);return[n,r]}function zp(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Rp(e,t){for(const n of e)if(!lP(n,{upTo:t}))return n}function lP(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 sP(e){return e instanceof HTMLInputElement&&"select"in e}function hn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&sP(e)&&t&&e.select()}}const Kp=cP();function cP(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Vp(e,t),e.unshift(t)},remove(t){var n;e=Vp(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Vp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function uP(e){return e.filter(t=>t.tagName!=="A")}const So=c.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Kt.default.createPortal(c.createElement(ce.div,L({},o,{ref:t})),r):null});let Cs=0;function As(){c.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Bp()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Bp()),Cs++,()=>{Cs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Cs--}},[])}function Bp(){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 n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},At.apply(this,arguments)};function jp(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function dP(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Ba="right-scroll-bar-position",ja="width-before-scroll-bar",fP="with-scroll-bars-hidden",pP="--removed-body-scroll-bar-size";function gP(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function mP(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function Up(e,t){return mP(t||null,function(n){return e.forEach(function(r){return gP(r,n)})})}function Wp(e){return e}function Hp(e,t){t===void 0&&(t=Wp);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var i=t(a,r);return n.push(i),function(){n=n.filter(function(l){return l!==i})}},assignSyncMedium:function(a){for(r=!0;n.length;){var i=n;n=[],i.forEach(a)}n={push:function(l){return a(l)},filter:function(){return n}}},assignMedium:function(a){r=!0;var i=[];if(n.length){var l=n;n=[],l.forEach(a),i=n}var s=function(){var d=i;i=[],d.forEach(a)},u=function(){return Promise.resolve().then(s)};u(),n={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),n}}}};return o}function Is(e,t){return t===void 0&&(t=Wp),Hp(e,t)}function Gp(e){e===void 0&&(e={});var t=Hp(null);return t.options=At({async:!0,ssr:!1},e),t}var Yp=function(e){var t=e.sideCar,n=jp(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return D.createElement(r,At({},n))};Yp.isSideCarExport=!0;function hP(e,t){return e.useMedium(t),Yp}var qp=Gp(),Os=function(){},Ua=D.forwardRef(function(e,t){var n=D.useRef(null),r=D.useState({onScrollCapture:Os,onWheelCapture:Os,onTouchMoveCapture:Os}),o=r[0],a=r[1],i=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,g=e.noIsolation,h=e.inert,b=e.allowPinchZoom,v=e.as,_=v===void 0?"div":v,y=jp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,S=Up([n,t]),T=At(At({},y),o);return D.createElement(D.Fragment,null,d&&D.createElement(x,{sideCar:qp,removeScrollBar:u,shards:f,noIsolation:g,inert:h,setCallbacks:a,allowPinchZoom:!!b,lockRef:n}),i?D.cloneElement(D.Children.only(l),At(At({},T),{ref:S})):D.createElement(_,At({},T,{className:s,ref:S}),l))});Ua.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ua.classNames={fullWidth:ja,zeroRight:Ba};var Xp,bP=function(){if(Xp)return Xp;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function vP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=bP();return t&&e.setAttribute("nonce",t),e}function yP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function $P(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var _P=function(){var e=0,t=null;return{add:function(n){e==0&&(t=vP())&&(yP(t,n),$P(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},xP=function(){var e=_P();return function(t,n){D.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Jp=function(){var e=xP(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},wP={left:0,top:0,right:0,gap:0},Ms=function(e){return parseInt(e||"",10)||0},EP=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ms(n),Ms(r),Ms(o)]},SP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return wP;var t=EP(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},DP=Jp(),PP=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return n===void 0&&(n="margin"),`
145
+ `,wo=({children:e,type:t,...n})=>t==="multiple"?w(kp,{type:"multiple",...n,children:e}):w(kp,{type:"single",...n,children:e});wo.displayName="Accordion",wo.Item=Ip,wo.Header=Ap,wo.Content=qD;const XD=wo;function JD(e,t=globalThis==null?void 0:globalThis.document){const n=je(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Ds="dismissableLayer.update",ZD="dismissableLayer.pointerDownOutside",QD="dismissableLayer.focusOutside";let Op;const Mp=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Eo=c.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:l,onDismiss:s,...u}=e,d=c.useContext(Mp),[f,m]=c.useState(null),g=(n=f==null?void 0:f.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=c.useState({}),b=$e(t,$=>m($)),v=Array.from(d.layers),[_]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(_),x=f?v.indexOf(f):-1,S=d.layersWithOutsidePointerEventsDisabled.size>0,T=x>=y,P=tP($=>{const C=$.target,N=[...d.branches].some(E=>E.contains(C));!T||N||(a==null||a($),l==null||l($),$.defaultPrevented||s==null||s())},g),M=nP($=>{const C=$.target;[...d.branches].some(E=>E.contains(C))||(i==null||i($),l==null||l($),$.defaultPrevented||s==null||s())},g);return JD($=>{x===d.layers.size-1&&(o==null||o($),!$.defaultPrevented&&s&&($.preventDefault(),s()))},g),c.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Op=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Fp(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Op)}},[f,g,r,d]),c.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Fp())},[f,d]),c.useEffect(()=>{const $=()=>h({});return document.addEventListener(Ds,$),()=>document.removeEventListener(Ds,$)},[]),c.createElement(ce.div,L({},u,{ref:b,style:{pointerEvents:S?T?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,M.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,P.onPointerDownCapture)}))}),eP=c.forwardRef((e,t)=>{const n=c.useContext(Mp),r=c.useRef(null),o=$e(t,r);return c.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),c.createElement(ce.div,L({},e,{ref:o}))});function tP(e,t=globalThis==null?void 0:globalThis.document){const n=je(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const a=l=>{if(l.target&&!r.current){let u=function(){Lp(ZD,n,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function nP(e,t=globalThis==null?void 0:globalThis.document){const n=je(e),r=c.useRef(!1);return c.useEffect(()=>{const o=a=>{a.target&&!r.current&&Lp(QD,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Fp(){const e=new CustomEvent(Ds);document.dispatchEvent(e)}function Lp(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ss(o,a):o.dispatchEvent(a)}const rP=Eo,oP=eP,Ps="focusScope.autoFocusOnMount",Ts="focusScope.autoFocusOnUnmount",Np={bubbles:!1,cancelable:!0},ks=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[l,s]=c.useState(null),u=je(o),d=je(a),f=c.useRef(null),m=$e(t,b=>s(b)),g=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let b=function(x){if(g.paused||!l)return;const S=x.target;l.contains(S)?f.current=S:bn(f.current,{select:!0})},v=function(x){if(g.paused||!l)return;const S=x.relatedTarget;S!==null&&(l.contains(S)||bn(f.current,{select:!0}))},_=function(x){const S=document.activeElement;for(const T of x)T.removedNodes.length>0&&(l!=null&&l.contains(S)||bn(l))};document.addEventListener("focusin",b),document.addEventListener("focusout",v);const y=new MutationObserver(_);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",v),y.disconnect()}}},[r,l,g.paused]),c.useEffect(()=>{if(l){Kp.add(g);const b=document.activeElement;if(!l.contains(b)){const _=new CustomEvent(Ps,Np);l.addEventListener(Ps,u),l.dispatchEvent(_),_.defaultPrevented||(aP(uP(zp(l)),{select:!0}),document.activeElement===b&&bn(l))}return()=>{l.removeEventListener(Ps,u),setTimeout(()=>{const _=new CustomEvent(Ts,Np);l.addEventListener(Ts,d),l.dispatchEvent(_),_.defaultPrevented||bn(b??document.body,{select:!0}),l.removeEventListener(Ts,d),Kp.remove(g)},0)}}},[l,u,d,g]);const h=c.useCallback(b=>{if(!n&&!r||g.paused)return;const v=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,_=document.activeElement;if(v&&_){const y=b.currentTarget,[x,S]=iP(y);x&&S?!b.shiftKey&&_===S?(b.preventDefault(),n&&bn(x,{select:!0})):b.shiftKey&&_===x&&(b.preventDefault(),n&&bn(S,{select:!0})):_===y&&b.preventDefault()}},[n,r,g.paused]);return c.createElement(ce.div,L({tabIndex:-1},i,{ref:m,onKeyDown:h}))});function aP(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(bn(r,{select:t}),document.activeElement!==n)return}function iP(e){const t=zp(e),n=Rp(t,e),r=Rp(t.reverse(),e);return[n,r]}function zp(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Rp(e,t){for(const n of e)if(!lP(n,{upTo:t}))return n}function lP(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 sP(e){return e instanceof HTMLInputElement&&"select"in e}function bn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&sP(e)&&t&&e.select()}}const Kp=cP();function cP(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Vp(e,t),e.unshift(t)},remove(t){var n;e=Vp(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Vp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function uP(e){return e.filter(t=>t.tagName!=="A")}const So=c.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Vt.default.createPortal(c.createElement(ce.div,L({},o,{ref:t})),r):null});let Cs=0;function As(){c.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Bp()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Bp()),Cs++,()=>{Cs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Cs--}},[])}function Bp(){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 n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},It.apply(this,arguments)};function jp(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function dP(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Ba="right-scroll-bar-position",ja="width-before-scroll-bar",fP="with-scroll-bars-hidden",pP="--removed-body-scroll-bar-size";function gP(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function mP(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function Up(e,t){return mP(t||null,function(n){return e.forEach(function(r){return gP(r,n)})})}function Wp(e){return e}function Hp(e,t){t===void 0&&(t=Wp);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var i=t(a,r);return n.push(i),function(){n=n.filter(function(l){return l!==i})}},assignSyncMedium:function(a){for(r=!0;n.length;){var i=n;n=[],i.forEach(a)}n={push:function(l){return a(l)},filter:function(){return n}}},assignMedium:function(a){r=!0;var i=[];if(n.length){var l=n;n=[],l.forEach(a),i=n}var s=function(){var d=i;i=[],d.forEach(a)},u=function(){return Promise.resolve().then(s)};u(),n={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),n}}}};return o}function Is(e,t){return t===void 0&&(t=Wp),Hp(e,t)}function Gp(e){e===void 0&&(e={});var t=Hp(null);return t.options=It({async:!0,ssr:!1},e),t}var Yp=function(e){var t=e.sideCar,n=jp(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return D.createElement(r,It({},n))};Yp.isSideCarExport=!0;function hP(e,t){return e.useMedium(t),Yp}var qp=Gp(),Os=function(){},Ua=D.forwardRef(function(e,t){var n=D.useRef(null),r=D.useState({onScrollCapture:Os,onWheelCapture:Os,onTouchMoveCapture:Os}),o=r[0],a=r[1],i=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,g=e.noIsolation,h=e.inert,b=e.allowPinchZoom,v=e.as,_=v===void 0?"div":v,y=jp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,S=Up([n,t]),T=It(It({},y),o);return D.createElement(D.Fragment,null,d&&D.createElement(x,{sideCar:qp,removeScrollBar:u,shards:f,noIsolation:g,inert:h,setCallbacks:a,allowPinchZoom:!!b,lockRef:n}),i?D.cloneElement(D.Children.only(l),It(It({},T),{ref:S})):D.createElement(_,It({},T,{className:s,ref:S}),l))});Ua.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ua.classNames={fullWidth:ja,zeroRight:Ba};var Xp,bP=function(){if(Xp)return Xp;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function vP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=bP();return t&&e.setAttribute("nonce",t),e}function yP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function $P(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var _P=function(){var e=0,t=null;return{add:function(n){e==0&&(t=vP())&&(yP(t,n),$P(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},xP=function(){var e=_P();return function(t,n){D.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Jp=function(){var e=xP(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},wP={left:0,top:0,right:0,gap:0},Ms=function(e){return parseInt(e||"",10)||0},EP=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ms(n),Ms(r),Ms(o)]},SP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return wP;var t=EP(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},DP=Jp(),PP=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return n===void 0&&(n="margin"),`
146
146
  .`.concat(fP,` {
147
147
  overflow: hidden `).concat(r,`;
148
148
  padding-right: `).concat(l,"px ").concat(r,`;
@@ -182,18 +182,18 @@ object-assign
182
182
  `)},TP=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,a=D.useMemo(function(){return SP(o)},[o]);return D.createElement(DP,{styles:PP(a,!t,o,n?"":"!important")})},Fs=!1;if(typeof window<"u")try{var Wa=Object.defineProperty({},"passive",{get:function(){return Fs=!0,!0}});window.addEventListener("test",Wa,Wa),window.removeEventListener("test",Wa,Wa)}catch{Fs=!1}var ur=Fs?{passive:!1}:!1,kP=function(e){return e.tagName==="TEXTAREA"},Zp=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!kP(e)&&n[t]==="visible")},CP=function(e){return Zp(e,"overflowY")},AP=function(e){return Zp(e,"overflowX")},Qp=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=eg(e,n);if(r){var o=tg(e,n),a=o[1],i=o[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},IP=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},OP=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},eg=function(e,t){return e==="v"?CP(t):AP(t)},tg=function(e,t){return e==="v"?IP(t):OP(t)},MP=function(e,t){return e==="h"&&t==="rtl"?-1:1},FP=function(e,t,n,r,o){var a=MP(e,window.getComputedStyle(t).direction),i=a*r,l=n.target,s=t.contains(l),u=!1,d=i>0,f=0,m=0;do{var g=tg(e,l),h=g[0],b=g[1],v=g[2],_=b-v-a*h;(h||_)&&eg(e,l)&&(f+=_,m+=h),l=l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return(d&&(o&&f===0||!o&&i>f)||!d&&(o&&m===0||!o&&-i>m))&&(u=!0),u},Ha=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ng=function(e){return[e.deltaX,e.deltaY]},rg=function(e){return e&&"current"in e?e.current:e},LP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},NP=function(e){return`
183
183
  .block-interactivity-`.concat(e,` {pointer-events: none;}
184
184
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
185
- `)},zP=0,dr=[];function RP(e){var t=D.useRef([]),n=D.useRef([0,0]),r=D.useRef(),o=D.useState(zP++)[0],a=D.useState(function(){return Jp()})[0],i=D.useRef(e);D.useEffect(function(){i.current=e},[e]),D.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var b=dP([e.lockRef.current],(e.shards||[]).map(rg),!0).filter(Boolean);return b.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),b.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=D.useCallback(function(b,v){if("touches"in b&&b.touches.length===2)return!i.current.allowPinchZoom;var _=Ha(b),y=n.current,x="deltaX"in b?b.deltaX:y[0]-_[0],S="deltaY"in b?b.deltaY:y[1]-_[1],T,P=b.target,M=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in b&&M==="h"&&P.type==="range")return!1;var $=Qp(M,P);if(!$)return!0;if($?T=M:(T=M==="v"?"h":"v",$=Qp(M,P)),!$)return!1;if(!r.current&&"changedTouches"in b&&(x||S)&&(r.current=T),!T)return!0;var C=r.current||T;return FP(C,v,b,C==="h"?x:S,!0)},[]),s=D.useCallback(function(b){var v=b;if(!(!dr.length||dr[dr.length-1]!==a)){var _="deltaY"in v?ng(v):Ha(v),y=t.current.filter(function(T){return T.name===v.type&&T.target===v.target&&LP(T.delta,_)})[0];if(y&&y.should){v.cancelable&&v.preventDefault();return}if(!y){var x=(i.current.shards||[]).map(rg).filter(Boolean).filter(function(T){return T.contains(v.target)}),S=x.length>0?l(v,x[0]):!i.current.noIsolation;S&&v.cancelable&&v.preventDefault()}}},[]),u=D.useCallback(function(b,v,_,y){var x={name:b,delta:v,target:_,should:y};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(S){return S!==x})},1)},[]),d=D.useCallback(function(b){n.current=Ha(b),r.current=void 0},[]),f=D.useCallback(function(b){u(b.type,ng(b),b.target,l(b,e.lockRef.current))},[]),m=D.useCallback(function(b){u(b.type,Ha(b),b.target,l(b,e.lockRef.current))},[]);D.useEffect(function(){return dr.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",s,ur),document.addEventListener("touchmove",s,ur),document.addEventListener("touchstart",d,ur),function(){dr=dr.filter(function(b){return b!==a}),document.removeEventListener("wheel",s,ur),document.removeEventListener("touchmove",s,ur),document.removeEventListener("touchstart",d,ur)}},[]);var g=e.removeScrollBar,h=e.inert;return D.createElement(D.Fragment,null,h?D.createElement(a,{styles:NP(o)}):null,g?D.createElement(TP,{gapMode:"margin"}):null)}const KP=hP(qp,RP);var og=D.forwardRef(function(e,t){return D.createElement(Ua,At({},e,{ref:t,sideCar:KP}))});og.classNames=Ua.classNames;const Ls=og;var VP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fr=new WeakMap,Ga=new WeakMap,Ya={},Ns=0,ag=function(e){return e&&(e.host||ag(e.parentNode))},BP=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ag(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},jP=function(e,t,n,r){var o=BP(t,Array.isArray(e)?e:[e]);Ya[n]||(Ya[n]=new WeakMap);var a=Ya[n],i=[],l=new Set,s=new Set(o),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||s.has(f)||Array.prototype.forEach.call(f.children,function(m){if(l.has(m))d(m);else{var g=m.getAttribute(r),h=g!==null&&g!=="false",b=(fr.get(m)||0)+1,v=(a.get(m)||0)+1;fr.set(m,b),a.set(m,v),i.push(m),b===1&&h&&Ga.set(m,!0),v===1&&m.setAttribute(n,"true"),h||m.setAttribute(r,"true")}})};return d(t),l.clear(),Ns++,function(){i.forEach(function(f){var m=fr.get(f)-1,g=a.get(f)-1;fr.set(f,m),a.set(f,g),m||(Ga.has(f)||f.removeAttribute(r),Ga.delete(f)),g||f.removeAttribute(n)}),Ns--,Ns||(fr=new WeakMap,fr=new WeakMap,Ga=new WeakMap,Ya={})}},zs=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||VP(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),jP(r,o,n,"aria-hidden")):function(){return null}};const ig="Dialog",[lg,sg]=Ke(ig),[UP,bt]=lg(ig),WP=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,l=c.useRef(null),s=c.useRef(null),[u=!1,d]=Ue({prop:r,defaultProp:o,onChange:a});return c.createElement(UP,{scope:t,triggerRef:l,contentRef:s,contentId:nt(),titleId:nt(),descriptionId:nt(),open:u,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(f=>!f),[d]),modal:i},n)},HP="DialogTrigger",GP=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(HP,n),a=$e(t,o.triggerRef);return c.createElement(ce.button,L({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ks(o.open)},r,{ref:a,onClick:oe(e.onClick,o.onOpenToggle)}))}),cg="DialogPortal",[YP,ug]=lg(cg,{forceMount:void 0}),qP=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=bt(cg,t);return c.createElement(YP,{scope:t,forceMount:n},c.Children.map(r,i=>c.createElement(We,{present:n||a.open},c.createElement(So,{asChild:!0,container:o},i))))},Rs="DialogOverlay",XP=c.forwardRef((e,t)=>{const n=ug(Rs,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=bt(Rs,e.__scopeDialog);return a.modal?c.createElement(We,{present:r||a.open},c.createElement(JP,L({},o,{ref:t}))):null}),JP=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(Rs,n);return c.createElement(Ls,{as:Ln,allowPinchZoom:!0,shards:[o.contentRef]},c.createElement(ce.div,L({"data-state":Ks(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),pr="DialogContent",ZP=c.forwardRef((e,t)=>{const n=ug(pr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=bt(pr,e.__scopeDialog);return c.createElement(We,{present:r||a.open},a.modal?c.createElement(QP,L({},o,{ref:t})):c.createElement(eT,L({},o,{ref:t})))}),QP=c.forwardRef((e,t)=>{const n=bt(pr,e.__scopeDialog),r=c.useRef(null),o=$e(t,n.contentRef,r);return c.useEffect(()=>{const a=r.current;if(a)return zs(a)},[]),c.createElement(dg,L({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:oe(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0;(i.button===2||l)&&a.preventDefault()}),onFocusOutside:oe(e.onFocusOutside,a=>a.preventDefault())}))}),eT=c.forwardRef((e,t)=>{const n=bt(pr,e.__scopeDialog),r=c.useRef(!1),o=c.useRef(!1);return c.createElement(dg,L({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,l;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=a.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),dg=c.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,l=bt(pr,n),s=c.useRef(null),u=$e(t,s);return As(),c.createElement(c.Fragment,null,c.createElement(ks,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(Eo,L({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Ks(l.open)},i,{ref:u,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),fg="DialogTitle",tT=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(fg,n);return c.createElement(ce.h2,L({id:o.titleId},r,{ref:t}))}),nT="DialogDescription",rT=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(nT,n);return c.createElement(ce.p,L({id:o.descriptionId},r,{ref:t}))}),oT="DialogClose",aT=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(oT,n);return c.createElement(ce.button,L({type:"button"},r,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))});function Ks(e){return e?"open":"closed"}const iT="DialogTitleWarning",[lT,WV]=h5(iT,{contentName:pr,titleName:fg,docsSlug:"dialog"}),pg=WP,gg=GP,mg=qP,hg=XP,bg=ZP,vg=tT,yg=rT,qa=aT,sT="AlertDialog",[cT,HV]=Ke(sT,[sg]),Wt=sg(),uT=e=>{const{__scopeAlertDialog:t,...n}=e,r=Wt(t);return c.createElement(pg,L({},r,n,{modal:!0}))},dT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Wt(n);return c.createElement(gg,L({},o,r,{ref:t}))}),fT=e=>{const{__scopeAlertDialog:t,...n}=e,r=Wt(t);return c.createElement(mg,L({},r,n))},pT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Wt(n);return c.createElement(hg,L({},o,r,{ref:t}))}),$g="AlertDialogContent",[gT,mT]=cT($g),hT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,a=Wt(n),i=c.useRef(null),l=$e(t,i),s=c.useRef(null);return c.createElement(lT,{contentName:$g,titleName:bT,docsSlug:"alert-dialog"},c.createElement(gT,{scope:n,cancelRef:s},c.createElement(bg,L({role:"alertdialog"},a,o,{ref:l,onOpenAutoFocus:oe(o.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=s.current)===null||d===void 0||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault()}),c.createElement(ls,null,r),!1)))}),bT="AlertDialogTitle",vT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Wt(n);return c.createElement(vg,L({},o,r,{ref:t}))}),yT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Wt(n);return c.createElement(yg,L({},o,r,{ref:t}))}),$T=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Wt(n);return c.createElement(qa,L({},o,r,{ref:t}))}),_T="AlertDialogCancel",xT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=mT(_T,n),a=Wt(n),i=$e(t,o);return c.createElement(qa,L({},a,r,{ref:i}))}),wT=uT,ET=dT,ST=fT,DT=pT,PT=hT,TT=$T,_g=xT,kT=vT,CT=yT;function Xa(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Vs={exports:{}},Bs,xg;function js(){if(xg)return Bs;xg=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Bs=e,Bs}var Us,wg;function Eg(){return wg||(wg=1,Us=Function.call.bind(Object.prototype.hasOwnProperty)),Us}var Ws,Sg;function AT(){if(Sg)return Ws;Sg=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=js(),n={},r=Eg();e=function(a){var i="Warning: "+a;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(a,i,l,s,u){if(process.env.NODE_ENV!=="production"){for(var d in a)if(r(a,d)){var f;try{if(typeof a[d]!="function"){var m=Error((s||"React class")+": "+l+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}f=a[d](i,d,s,l,null,t)}catch(h){f=h}if(f&&!(f instanceof Error)&&e((s||"React class")+": type specification of "+l+" `"+d+"` 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 n)){n[f.message]=!0;var g=u?u():"";e("Failed "+l+" type: "+f.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Ws=o,Ws}var Hs,Dg;function IT(){if(Dg)return Hs;Dg=1;var e=rs.default,t=xp,n=js(),r=Eg(),o=AT(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(l){var s="Warning: "+l;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}});function i(){return null}return Hs=function(l,s){var u=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(B){var U=B&&(u&&B[u]||B[d]);if(typeof U=="function")return U}var m="<<anonymous>>",g={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:y(),arrayOf:x,element:S(),elementType:T(),instanceOf:P,node:z(),objectOf:$,oneOf:M,oneOfType:C,shape:K,exact:I};function h(B,U){return B===U?B!==0||1/B===1/U:B!==B&&U!==U}function b(B,U){this.message=B,this.data=U&&typeof U=="object"?U:{},this.stack=""}b.prototype=Error.prototype;function v(B){if(process.env.NODE_ENV!=="production")var U={},W=0;function R(te,ne,X,H,J,ie,me){if(H=H||m,ie=ie||X,me!==n){if(s){var le=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 le.name="Invariant Violation",le}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var fe=H+":"+X;!U[fe]&&W<3&&(a("You are manually calling a React.PropTypes validation function for the `"+ie+"` prop on `"+H+"`. 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."),U[fe]=!0,W++)}}return ne[X]==null?te?ne[X]===null?new b("The "+J+" `"+ie+"` is marked as required "+("in `"+H+"`, but its value is `null`.")):new b("The "+J+" `"+ie+"` is marked as required in "+("`"+H+"`, but its value is `undefined`.")):null:B(ne,X,H,J,ie)}var G=R.bind(null,!1);return G.isRequired=R.bind(null,!0),G}function _(B){function U(W,R,G,te,ne,X){var H=W[R],J=O(H);if(J!==B){var ie=Z(H);return new b("Invalid "+te+" `"+ne+"` of type "+("`"+ie+"` supplied to `"+G+"`, expected ")+("`"+B+"`."),{expectedType:B})}return null}return v(U)}function y(){return v(i)}function x(B){function U(W,R,G,te,ne){if(typeof B!="function")return new b("Property `"+ne+"` of component `"+G+"` has invalid PropType notation inside arrayOf.");var X=W[R];if(!Array.isArray(X)){var H=O(X);return new b("Invalid "+te+" `"+ne+"` of type "+("`"+H+"` supplied to `"+G+"`, expected an array."))}for(var J=0;J<X.length;J++){var ie=B(X,J,G,te,ne+"["+J+"]",n);if(ie instanceof Error)return ie}return null}return v(U)}function S(){function B(U,W,R,G,te){var ne=U[W];if(!l(ne)){var X=O(ne);return new b("Invalid "+G+" `"+te+"` of type "+("`"+X+"` supplied to `"+R+"`, expected a single ReactElement."))}return null}return v(B)}function T(){function B(U,W,R,G,te){var ne=U[W];if(!e.isValidElementType(ne)){var X=O(ne);return new b("Invalid "+G+" `"+te+"` of type "+("`"+X+"` supplied to `"+R+"`, expected a single ReactElement type."))}return null}return v(B)}function P(B){function U(W,R,G,te,ne){if(!(W[R]instanceof B)){var X=B.name||m,H=q(W[R]);return new b("Invalid "+te+" `"+ne+"` of type "+("`"+H+"` supplied to `"+G+"`, expected ")+("instance of `"+X+"`."))}return null}return v(U)}function M(B){if(!Array.isArray(B))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 U(W,R,G,te,ne){for(var X=W[R],H=0;H<B.length;H++)if(h(X,B[H]))return null;var J=JSON.stringify(B,function(me,le){var fe=Z(le);return fe==="symbol"?String(le):le});return new b("Invalid "+te+" `"+ne+"` of value `"+String(X)+"` "+("supplied to `"+G+"`, expected one of "+J+"."))}return v(U)}function $(B){function U(W,R,G,te,ne){if(typeof B!="function")return new b("Property `"+ne+"` of component `"+G+"` has invalid PropType notation inside objectOf.");var X=W[R],H=O(X);if(H!=="object")return new b("Invalid "+te+" `"+ne+"` of type "+("`"+H+"` supplied to `"+G+"`, expected an object."));for(var J in X)if(r(X,J)){var ie=B(X,J,G,te,ne+"."+J,n);if(ie instanceof Error)return ie}return null}return v(U)}function C(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var U=0;U<B.length;U++){var W=B[U];if(typeof W!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+V(W)+" at index "+U+"."),i}function R(G,te,ne,X,H){for(var J=[],ie=0;ie<B.length;ie++){var me=B[ie],le=me(G,te,ne,X,H,n);if(le==null)return null;le.data&&r(le.data,"expectedType")&&J.push(le.data.expectedType)}var fe=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new b("Invalid "+X+" `"+H+"` supplied to "+("`"+ne+"`"+fe+"."))}return v(R)}function z(){function B(U,W,R,G,te){return k(U[W])?null:new b("Invalid "+G+" `"+te+"` supplied to "+("`"+R+"`, expected a ReactNode."))}return v(B)}function E(B,U,W,R,G){return new b((B||"React class")+": "+U+" type `"+W+"."+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+G+"`.")}function K(B){function U(W,R,G,te,ne){var X=W[R],H=O(X);if(H!=="object")return new b("Invalid "+te+" `"+ne+"` of type `"+H+"` "+("supplied to `"+G+"`, expected `object`."));for(var J in B){var ie=B[J];if(typeof ie!="function")return E(G,te,ne,J,Z(ie));var me=ie(X,J,G,te,ne+"."+J,n);if(me)return me}return null}return v(U)}function I(B){function U(W,R,G,te,ne){var X=W[R],H=O(X);if(H!=="object")return new b("Invalid "+te+" `"+ne+"` of type `"+H+"` "+("supplied to `"+G+"`, expected `object`."));var J=t({},W[R],B);for(var ie in J){var me=B[ie];if(r(B,ie)&&typeof me!="function")return E(G,te,ne,ie,Z(me));if(!me)return new b("Invalid "+te+" `"+ne+"` key `"+ie+"` supplied to `"+G+"`.\nBad object: "+JSON.stringify(W[R],null," ")+`
186
- Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"."+ie,n);if(le)return le}return null}return v(U)}function k(B){switch(typeof B){case"number":case"string":case"undefined":return!0;case"boolean":return!B;case"object":if(Array.isArray(B))return B.every(k);if(B===null||l(B))return!0;var U=f(B);if(U){var W=U.call(B),R;if(U!==B.entries){for(;!(R=W.next()).done;)if(!k(R.value))return!1}else for(;!(R=W.next()).done;){var G=R.value;if(G&&!k(G[1]))return!1}}else return!1;return!0;default:return!1}}function j(B,U){return B==="symbol"?!0:U?U["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&U instanceof Symbol:!1}function O(B){var U=typeof B;return Array.isArray(B)?"array":B instanceof RegExp?"object":j(U,B)?"symbol":U}function Z(B){if(typeof B>"u"||B===null)return""+B;var U=O(B);if(U==="object"){if(B instanceof Date)return"date";if(B instanceof RegExp)return"regexp"}return U}function V(B){var U=Z(B);switch(U){case"array":case"object":return"an "+U;case"boolean":case"date":case"regexp":return"a "+U;default:return U}}function q(B){return!B.constructor||!B.constructor.name?m:B.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},Hs}var Gs,Pg;function OT(){if(Pg)return Gs;Pg=1;var e=js();function t(){}function n(){}return n.resetWarningCache=t,Gs=function(){function r(i,l,s,u,d,f){if(f!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Gs}if(process.env.NODE_ENV!=="production"){var MT=rs.default,FT=!0;Vs.exports=IT()(MT.isElement,FT)}else Vs.exports=OT()();var _e=Vs.exports;const ae=Aa(_e);var Ys="data-focus-lock",Tg="data-focus-lock-disabled",LT="data-no-focus-lock",NT="data-autofocus-inside",zT="data-no-autofocus",qs={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};process.env.NODE_ENV!=="production"&&ae.node;var kg=Is({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),Cg=Is(),RT=Is(),KT=Gp({async:!0}),VT=[],Xs=D.forwardRef(function(t,n){var r,o=D.useState(),a=o[0],i=o[1],l=D.useRef(),s=D.useRef(!1),u=D.useRef(null),d=t.children,f=t.disabled,m=t.noFocusGuards,g=t.persistentFocus,h=t.crossFrame,b=t.autoFocus,v=t.allowTextSelection,_=t.group,y=t.className,x=t.whiteList,S=t.hasPositiveIndices,T=t.shards,P=T===void 0?VT:T,M=t.as,$=M===void 0?"div":M,C=t.lockProps,z=C===void 0?{}:C,E=t.sideCar,K=t.returnFocus,I=t.focusOptions,k=t.onActivation,j=t.onDeactivation,O=D.useState({}),Z=O[0],V=D.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&k&&k(l.current),s.current=!0},[k]),q=D.useCallback(function(){s.current=!1,j&&j(l.current)},[j]);c.useEffect(function(){f||(u.current=null)},[]);var B=D.useCallback(function(H){var J=u.current;if(J&&J.focus){var ie=typeof K=="function"?K(J):K;if(ie){var me=typeof ie=="object"?ie:void 0;u.current=null,H?Promise.resolve().then(function(){return J.focus(me)}):J.focus(me)}}},[K]),U=D.useCallback(function(H){s.current&&kg.useMedium(H)},[]),W=Cg.useMedium,R=D.useCallback(function(H){l.current!==H&&(l.current=H,i(H))},[]);process.env.NODE_ENV!=="production"&&(typeof v<"u"&&console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"),D.useEffect(function(){!l.current&&typeof $!="string"&&console.error("FocusLock: could not obtain ref to internal node")},[]));var G=L((r={},r[Tg]=f&&"disabled",r[Ys]=_,r),z),te=m!==!0,ne=te&&m!=="tail",X=Up([n,R]);return D.createElement(D.Fragment,null,te&&[D.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:qs}),S?D.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:qs}):null],!f&&D.createElement(E,{id:Z,sideCar:KT,observed:a,disabled:f,persistentFocus:g,crossFrame:h,autoFocus:b,whiteList:x,shards:P,onActivation:V,onDeactivation:q,returnFocus:B,focusOptions:I}),D.createElement($,L({ref:X},G,{className:y,onBlur:W,onFocus:U}),d),ne&&D.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:qs}))});Xs.propTypes=process.env.NODE_ENV!=="production"?{children:_e.node,disabled:_e.bool,returnFocus:_e.oneOfType([_e.bool,_e.object,_e.func]),focusOptions:_e.object,noFocusGuards:_e.bool,hasPositiveIndices:_e.bool,allowTextSelection:_e.bool,autoFocus:_e.bool,persistentFocus:_e.bool,crossFrame:_e.bool,group:_e.string,className:_e.string,whiteList:_e.func,shards:_e.arrayOf(_e.any),as:_e.oneOfType([_e.string,_e.func,_e.object]),lockProps:_e.object,onActivation:_e.func,onDeactivation:_e.func,sideCar:_e.any.isRequired}:{},Xs.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const Ag=Xs;function Js(e,t){return Js=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Js(e,t)}function Ja(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Js(e,t)}function bn(e){"@babel/helpers - typeof";return bn=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},bn(e)}function BT(e,t){if(bn(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(bn(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ig(e){var t=BT(e,"string");return bn(t)==="symbol"?t:String(t)}function gr(e,t,n){return t=Ig(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jT(e,t){if(process.env.NODE_ENV!=="production"){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.")}function n(r){return r.displayName||r.name||"Component"}return function(o){if(process.env.NODE_ENV!=="production"&&typeof o!="function")throw new Error("Expected WrappedComponent to be a React component.");var a=[],i;function l(){i=e(a.map(function(u){return u.props})),t(i)}var s=function(u){Ja(d,u);function d(){return u.apply(this,arguments)||this}d.peek=function(){return i};var f=d.prototype;return f.componentDidMount=function(){a.push(this),l()},f.componentDidUpdate=function(){l()},f.componentWillUnmount=function(){var g=a.indexOf(this);a.splice(g,1),l()},f.render=function(){return D.default.createElement(o,this.props)},d}(c.PureComponent);return gr(s,"displayName","SideEffect("+n(o)+")"),s}}var It=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},Za=function(e){return Array.isArray(e)?e:[e]},Og=function(e){return Array.isArray(e)?e[0]:e},UT=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},Mg=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},Fg=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},WT=function(e,t){return!e||Fg(e)||!UT(e)&&t(Mg(e))},Lg=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=WT(t,Lg.bind(void 0,e));return e.set(t,r),r},HT=function(e,t){return e&&!Fg(e)?qT(e)?t(Mg(e)):!1:!0},Ng=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=HT(t,Ng.bind(void 0,e));return e.set(t,r),r},zg=function(e){return e.dataset},GT=function(e){return e.tagName==="BUTTON"},Rg=function(e){return e.tagName==="INPUT"},Kg=function(e){return Rg(e)&&e.type==="radio"},YT=function(e){return!((Rg(e)||GT(e))&&(e.type==="hidden"||e.disabled))},qT=function(e){var t=e.getAttribute(zT);return![!0,"true",""].includes(t)},Zs=function(e){var t;return!!(e&&(!((t=zg(e))===null||t===void 0)&&t.focusGuard))},Qa=function(e){return!Zs(e)},XT=function(e){return!!e},JT=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},Vg=function(e,t,n){return It(e).map(function(r,o){return{node:r,index:o,tabIndex:n&&r.tabIndex===-1?(r.dataset||{}).focusGuard?0:-1:r.tabIndex}}).filter(function(r){return!t||r.tabIndex>=0}).sort(JT)},ZT=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],Qs=ZT.join(","),QT="".concat(Qs,", [data-focus-guard]"),Bg=function(e,t){return It((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?QT:Qs)?[r]:[],Bg(r))},[])},e6=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?ei([e.contentDocument.body],t):[e]},ei=function(e,t){return e.reduce(function(n,r){var o,a=Bg(r,t),i=(o=[]).concat.apply(o,a.map(function(l){return e6(l,t)}));return n.concat(i,r.parentNode?It(r.parentNode.querySelectorAll(Qs)).filter(function(l){return l===r}):[])},[])},t6=function(e){var t=e.querySelectorAll("[".concat(NT,"]"));return It(t).map(function(n){return ei([n])}).reduce(function(n,r){return n.concat(r)},[])},ec=function(e,t){return It(e).filter(function(n){return Lg(t,n)}).filter(function(n){return YT(n)})},jg=function(e,t){return t===void 0&&(t=new Map),It(e).filter(function(n){return Ng(t,n)})},tc=function(e,t,n){return Vg(ec(ei(e,n),t),!0,n)},Ug=function(e,t){return Vg(ec(ei(e),t),!1)},n6=function(e,t){return ec(t6(e),t)},mr=function(e,t){return e.shadowRoot?mr(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:It(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?mr(o,t):!1}return mr(n,t)})},r6=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(i,l){return!t.has(l)})},Wg=function(e){return e.parentNode?Wg(e.parentNode):e},nc=function(e){var t=Za(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(Ys);return n.push.apply(n,o?r6(It(Wg(r).querySelectorAll("[".concat(Ys,'="').concat(o,'"]:not([').concat(Tg,'="disabled"])')))):[r]),n},[])},o6=function(e){try{return e()}catch{return}},Do=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?Do(t.shadowRoot):t instanceof HTMLIFrameElement&&o6(function(){return t.contentWindow.document})?Do(t.contentWindow.document):t}},a6=function(e,t){return e===t},i6=function(e,t){return!!It(e.querySelectorAll("iframe")).some(function(n){return a6(n,t)})},Hg=function(e,t){return t===void 0&&(t=Do(Og(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:nc(e).some(function(n){return mr(n,t)||i6(n,t)})},l6=function(e){e===void 0&&(e=document);var t=Do(e);return t?It(e.querySelectorAll("[".concat(LT,"]"))).some(function(n){return mr(n,t)}):!1},s6=function(e,t){return t.filter(Kg).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},rc=function(e,t){return Kg(e)&&e.name?s6(e,t):e},c6=function(e){var t=new Set;return e.forEach(function(n){return t.add(rc(n,e))}),e.filter(function(n){return t.has(n)})},Gg=function(e){return e[0]&&e.length>1?rc(e[0],e):e[0]},Yg=function(e,t){return e.length>1?e.indexOf(rc(e[t],e)):t},qg="NEW_FOCUS",u6=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],l=Zs(n);if(!(n&&e.indexOf(n)>=0)){var s=n!==void 0?t.indexOf(n):-1,u=r?t.indexOf(r):s,d=r?e.indexOf(r):-1,f=s-u,m=t.indexOf(a),g=t.indexOf(i),h=c6(t),b=n!==void 0?h.indexOf(n):-1,v=b-(r?h.indexOf(r):s),_=Yg(e,0),y=Yg(e,o-1);if(s===-1||d===-1)return qg;if(!f&&d>=0)return d;if(s<=m&&l&&Math.abs(f)>1)return y;if(s>=g&&l&&Math.abs(f)>1)return _;if(f&&Math.abs(v)>1)return d;if(s<=m)return y;if(s>g)return _;if(f)return Math.abs(f)>1?d:(o+d+f)%o}},d6=function(e){return function(t){var n,r=(n=zg(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},f6=function(e,t,n){var r=e.map(function(a){var i=a.node;return i}),o=jg(r.filter(d6(n)));return o&&o.length?Gg(o):Gg(jg(t))},oc=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&oc(e.parentNode.host||e.parentNode,t),t},ac=function(e,t){for(var n=oc(e),r=oc(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},Xg=function(e,t,n){var r=Za(e),o=Za(t),a=r[0],i=!1;return o.filter(Boolean).forEach(function(l){i=ac(i||l,l)||i,n.filter(Boolean).forEach(function(s){var u=ac(a,s);u&&(!i||mr(u,i)?i=u:i=ac(u,i))})}),i},p6=function(e,t){return e.reduce(function(n,r){return n.concat(n6(r,t))},[])},g6=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(XT)},m6=function(e,t){var n=Do(Za(e).length>0?document:Og(e).ownerDocument),r=nc(e).filter(Qa),o=Xg(n||e,e,r),a=new Map,i=Ug(r,a),l=tc(r,a).filter(function(g){var h=g.node;return Qa(h)});if(!(!l[0]&&(l=i,!l[0]))){var s=Ug([o],a).map(function(g){var h=g.node;return h}),u=g6(s,l),d=u.map(function(g){var h=g.node;return h}),f=u6(d,s,n,t);if(f===qg){var m=f6(i,d,p6(r,a));if(m)return{node:m};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:u[f]}},h6=function(e){var t=nc(e).filter(Qa),n=Xg(e,e,t),r=new Map,o=tc([n],r,!0),a=tc(t,r).filter(function(i){var l=i.node;return Qa(l)}).map(function(i){var l=i.node;return l});return o.map(function(i){var l=i.node,s=i.index;return{node:l,index:s,lockItem:a.indexOf(l)>=0,guard:Zs(l)}})},b6=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},ic=0,lc=!1,Jg=function(e,t,n){n===void 0&&(n={});var r=m6(e,t);if(!lc&&r){if(ic>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),lc=!0,setTimeout(function(){lc=!1},1);return}ic++,b6(r.node,n.focusOptions),ic--}};function sc(e){setTimeout(e,1)}var v6=function(){return document&&document.activeElement===document.body},y6=function(){return v6()||l6()},hr=null,br=null,vr=null,Po=!1,$6=function(){return!0},_6=function(t){return(hr.whiteList||$6)(t)},x6=function(t,n){vr={observerNode:t,portaledElement:n}},w6=function(t){return vr&&vr.portaledElement===t};function Zg(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else if(i.lockItem){if(a!==e)return;o=null}else break}while((a+=n)!==t);o&&(o.node.tabIndex=0)}var E6=function(t){return t&&"current"in t?t.current:t},S6=function(t){return t?!!Po:Po==="meanwhile"},D6=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},P6=function(t,n){return n.some(function(r){return D6(t,r,r)})},ti=function(){var t=!1;if(hr){var n=hr,r=n.observed,o=n.persistentFocus,a=n.autoFocus,i=n.shards,l=n.crossFrame,s=n.focusOptions,u=r||vr&&vr.portaledElement,d=document&&document.activeElement;if(u){var f=[u].concat(i.map(E6).filter(Boolean));if((!d||_6(d))&&(o||S6(l)||!y6()||!br&&a)&&(u&&!(Hg(f)||d&&P6(d,f)||w6(d))&&(document&&!br&&d&&!a?(d.blur&&d.blur(),document.body.focus()):(t=Jg(f,br,{focusOptions:s}),vr={})),Po=!1,br=document&&document.activeElement),document){var m=document&&document.activeElement,g=h6(f),h=g.map(function(b){var v=b.node;return v}).indexOf(m);h>-1&&(g.filter(function(b){var v=b.guard,_=b.node;return v&&_.dataset.focusAutoGuard}).forEach(function(b){var v=b.node;return v.removeAttribute("tabIndex")}),Zg(h,g.length,1,g),Zg(h,-1,-1,g))}}}return t},Qg=function(t){ti()&&t&&(t.stopPropagation(),t.preventDefault())},cc=function(){return sc(ti)},T6=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||x6(r,n)},k6=function(){return null};process.env.NODE_ENV!=="production"&&ae.node.isRequired;var em=function(){Po="just",sc(function(){Po="meanwhile"})},C6=function(){document.addEventListener("focusin",Qg),document.addEventListener("focusout",cc),window.addEventListener("blur",em)},A6=function(){document.removeEventListener("focusin",Qg),document.removeEventListener("focusout",cc),window.removeEventListener("blur",em)};function I6(e){return e.filter(function(t){var n=t.disabled;return!n})}function O6(e){var t=e.slice(-1)[0];t&&!hr&&C6();var n=hr,r=n&&t&&t.id===n.id;hr=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var a=o.id;return a===n.id}).length||n.returnFocus(!t)),t?(br=null,(!r||n.observed!==t.observed)&&t.onActivation(),ti(),sc(ti)):(A6(),br=null)}kg.assignSyncMedium(T6),Cg.assignMedium(cc),RT.assignMedium(function(e){return e({moveFocusInside:Jg,focusInside:Hg})});const M6=jT(I6,O6)(k6);var tm=D.forwardRef(function(t,n){return D.createElement(Ag,L({sideCar:M6,ref:n},t))}),nm=Ag.propTypes||{};nm.sideCar;var F6=Xa(nm,["sideCar"]);tm.propTypes=process.env.NODE_ENV!=="production"?F6:{};const L6=tm;var ni={},uc={},rm={exports:{}};/*!
185
+ `)},zP=0,dr=[];function RP(e){var t=D.useRef([]),n=D.useRef([0,0]),r=D.useRef(),o=D.useState(zP++)[0],a=D.useState(function(){return Jp()})[0],i=D.useRef(e);D.useEffect(function(){i.current=e},[e]),D.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var b=dP([e.lockRef.current],(e.shards||[]).map(rg),!0).filter(Boolean);return b.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),b.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=D.useCallback(function(b,v){if("touches"in b&&b.touches.length===2)return!i.current.allowPinchZoom;var _=Ha(b),y=n.current,x="deltaX"in b?b.deltaX:y[0]-_[0],S="deltaY"in b?b.deltaY:y[1]-_[1],T,P=b.target,M=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in b&&M==="h"&&P.type==="range")return!1;var $=Qp(M,P);if(!$)return!0;if($?T=M:(T=M==="v"?"h":"v",$=Qp(M,P)),!$)return!1;if(!r.current&&"changedTouches"in b&&(x||S)&&(r.current=T),!T)return!0;var C=r.current||T;return FP(C,v,b,C==="h"?x:S,!0)},[]),s=D.useCallback(function(b){var v=b;if(!(!dr.length||dr[dr.length-1]!==a)){var _="deltaY"in v?ng(v):Ha(v),y=t.current.filter(function(T){return T.name===v.type&&T.target===v.target&&LP(T.delta,_)})[0];if(y&&y.should){v.cancelable&&v.preventDefault();return}if(!y){var x=(i.current.shards||[]).map(rg).filter(Boolean).filter(function(T){return T.contains(v.target)}),S=x.length>0?l(v,x[0]):!i.current.noIsolation;S&&v.cancelable&&v.preventDefault()}}},[]),u=D.useCallback(function(b,v,_,y){var x={name:b,delta:v,target:_,should:y};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(S){return S!==x})},1)},[]),d=D.useCallback(function(b){n.current=Ha(b),r.current=void 0},[]),f=D.useCallback(function(b){u(b.type,ng(b),b.target,l(b,e.lockRef.current))},[]),m=D.useCallback(function(b){u(b.type,Ha(b),b.target,l(b,e.lockRef.current))},[]);D.useEffect(function(){return dr.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",s,ur),document.addEventListener("touchmove",s,ur),document.addEventListener("touchstart",d,ur),function(){dr=dr.filter(function(b){return b!==a}),document.removeEventListener("wheel",s,ur),document.removeEventListener("touchmove",s,ur),document.removeEventListener("touchstart",d,ur)}},[]);var g=e.removeScrollBar,h=e.inert;return D.createElement(D.Fragment,null,h?D.createElement(a,{styles:NP(o)}):null,g?D.createElement(TP,{gapMode:"margin"}):null)}const KP=hP(qp,RP);var og=D.forwardRef(function(e,t){return D.createElement(Ua,It({},e,{ref:t,sideCar:KP}))});og.classNames=Ua.classNames;const Ls=og;var VP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fr=new WeakMap,Ga=new WeakMap,Ya={},Ns=0,ag=function(e){return e&&(e.host||ag(e.parentNode))},BP=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ag(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},jP=function(e,t,n,r){var o=BP(t,Array.isArray(e)?e:[e]);Ya[n]||(Ya[n]=new WeakMap);var a=Ya[n],i=[],l=new Set,s=new Set(o),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||s.has(f)||Array.prototype.forEach.call(f.children,function(m){if(l.has(m))d(m);else{var g=m.getAttribute(r),h=g!==null&&g!=="false",b=(fr.get(m)||0)+1,v=(a.get(m)||0)+1;fr.set(m,b),a.set(m,v),i.push(m),b===1&&h&&Ga.set(m,!0),v===1&&m.setAttribute(n,"true"),h||m.setAttribute(r,"true")}})};return d(t),l.clear(),Ns++,function(){i.forEach(function(f){var m=fr.get(f)-1,g=a.get(f)-1;fr.set(f,m),a.set(f,g),m||(Ga.has(f)||f.removeAttribute(r),Ga.delete(f)),g||f.removeAttribute(n)}),Ns--,Ns||(fr=new WeakMap,fr=new WeakMap,Ga=new WeakMap,Ya={})}},zs=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||VP(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),jP(r,o,n,"aria-hidden")):function(){return null}};const ig="Dialog",[lg,sg]=Ke(ig),[UP,bt]=lg(ig),WP=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,l=c.useRef(null),s=c.useRef(null),[u=!1,d]=Ue({prop:r,defaultProp:o,onChange:a});return c.createElement(UP,{scope:t,triggerRef:l,contentRef:s,contentId:nt(),titleId:nt(),descriptionId:nt(),open:u,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(f=>!f),[d]),modal:i},n)},HP="DialogTrigger",GP=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(HP,n),a=$e(t,o.triggerRef);return c.createElement(ce.button,L({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ks(o.open)},r,{ref:a,onClick:oe(e.onClick,o.onOpenToggle)}))}),cg="DialogPortal",[YP,ug]=lg(cg,{forceMount:void 0}),qP=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=bt(cg,t);return c.createElement(YP,{scope:t,forceMount:n},c.Children.map(r,i=>c.createElement(We,{present:n||a.open},c.createElement(So,{asChild:!0,container:o},i))))},Rs="DialogOverlay",XP=c.forwardRef((e,t)=>{const n=ug(Rs,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=bt(Rs,e.__scopeDialog);return a.modal?c.createElement(We,{present:r||a.open},c.createElement(JP,L({},o,{ref:t}))):null}),JP=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(Rs,n);return c.createElement(Ls,{as:Ln,allowPinchZoom:!0,shards:[o.contentRef]},c.createElement(ce.div,L({"data-state":Ks(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),pr="DialogContent",ZP=c.forwardRef((e,t)=>{const n=ug(pr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=bt(pr,e.__scopeDialog);return c.createElement(We,{present:r||a.open},a.modal?c.createElement(QP,L({},o,{ref:t})):c.createElement(eT,L({},o,{ref:t})))}),QP=c.forwardRef((e,t)=>{const n=bt(pr,e.__scopeDialog),r=c.useRef(null),o=$e(t,n.contentRef,r);return c.useEffect(()=>{const a=r.current;if(a)return zs(a)},[]),c.createElement(dg,L({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:oe(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0;(i.button===2||l)&&a.preventDefault()}),onFocusOutside:oe(e.onFocusOutside,a=>a.preventDefault())}))}),eT=c.forwardRef((e,t)=>{const n=bt(pr,e.__scopeDialog),r=c.useRef(!1),o=c.useRef(!1);return c.createElement(dg,L({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,l;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=a.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),dg=c.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,l=bt(pr,n),s=c.useRef(null),u=$e(t,s);return As(),c.createElement(c.Fragment,null,c.createElement(ks,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(Eo,L({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Ks(l.open)},i,{ref:u,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),fg="DialogTitle",tT=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(fg,n);return c.createElement(ce.h2,L({id:o.titleId},r,{ref:t}))}),nT="DialogDescription",rT=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(nT,n);return c.createElement(ce.p,L({id:o.descriptionId},r,{ref:t}))}),oT="DialogClose",aT=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=bt(oT,n);return c.createElement(ce.button,L({type:"button"},r,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))});function Ks(e){return e?"open":"closed"}const iT="DialogTitleWarning",[lT,WV]=h5(iT,{contentName:pr,titleName:fg,docsSlug:"dialog"}),pg=WP,gg=GP,mg=qP,hg=XP,bg=ZP,vg=tT,yg=rT,qa=aT,sT="AlertDialog",[cT,HV]=Ke(sT,[sg]),Ht=sg(),uT=e=>{const{__scopeAlertDialog:t,...n}=e,r=Ht(t);return c.createElement(pg,L({},r,n,{modal:!0}))},dT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Ht(n);return c.createElement(gg,L({},o,r,{ref:t}))}),fT=e=>{const{__scopeAlertDialog:t,...n}=e,r=Ht(t);return c.createElement(mg,L({},r,n))},pT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Ht(n);return c.createElement(hg,L({},o,r,{ref:t}))}),$g="AlertDialogContent",[gT,mT]=cT($g),hT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,a=Ht(n),i=c.useRef(null),l=$e(t,i),s=c.useRef(null);return c.createElement(lT,{contentName:$g,titleName:bT,docsSlug:"alert-dialog"},c.createElement(gT,{scope:n,cancelRef:s},c.createElement(bg,L({role:"alertdialog"},a,o,{ref:l,onOpenAutoFocus:oe(o.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=s.current)===null||d===void 0||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault()}),c.createElement(ls,null,r),!1)))}),bT="AlertDialogTitle",vT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Ht(n);return c.createElement(vg,L({},o,r,{ref:t}))}),yT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Ht(n);return c.createElement(yg,L({},o,r,{ref:t}))}),$T=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Ht(n);return c.createElement(qa,L({},o,r,{ref:t}))}),_T="AlertDialogCancel",xT=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=mT(_T,n),a=Ht(n),i=$e(t,o);return c.createElement(qa,L({},a,r,{ref:i}))}),wT=uT,ET=dT,ST=fT,DT=pT,PT=hT,TT=$T,_g=xT,kT=vT,CT=yT;function Xa(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Vs={exports:{}},Bs,xg;function js(){if(xg)return Bs;xg=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Bs=e,Bs}var Us,wg;function Eg(){return wg||(wg=1,Us=Function.call.bind(Object.prototype.hasOwnProperty)),Us}var Ws,Sg;function AT(){if(Sg)return Ws;Sg=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=js(),n={},r=Eg();e=function(a){var i="Warning: "+a;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(a,i,l,s,u){if(process.env.NODE_ENV!=="production"){for(var d in a)if(r(a,d)){var f;try{if(typeof a[d]!="function"){var m=Error((s||"React class")+": "+l+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}f=a[d](i,d,s,l,null,t)}catch(h){f=h}if(f&&!(f instanceof Error)&&e((s||"React class")+": type specification of "+l+" `"+d+"` 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 n)){n[f.message]=!0;var g=u?u():"";e("Failed "+l+" type: "+f.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Ws=o,Ws}var Hs,Dg;function IT(){if(Dg)return Hs;Dg=1;var e=rs.default,t=xp,n=js(),r=Eg(),o=AT(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(l){var s="Warning: "+l;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}});function i(){return null}return Hs=function(l,s){var u=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(B){var U=B&&(u&&B[u]||B[d]);if(typeof U=="function")return U}var m="<<anonymous>>",g={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:y(),arrayOf:x,element:S(),elementType:T(),instanceOf:P,node:N(),objectOf:$,oneOf:M,oneOfType:C,shape:K,exact:I};function h(B,U){return B===U?B!==0||1/B===1/U:B!==B&&U!==U}function b(B,U){this.message=B,this.data=U&&typeof U=="object"?U:{},this.stack=""}b.prototype=Error.prototype;function v(B){if(process.env.NODE_ENV!=="production")var U={},H=0;function R(ne,te,ie,X,W,ee,fe){if(X=X||m,ee=ee||ie,fe!==n){if(s){var le=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 le.name="Invariant Violation",le}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=X+":"+ie;!U[ge]&&H<3&&(a("You are manually calling a React.PropTypes validation function for the `"+ee+"` prop on `"+X+"`. 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."),U[ge]=!0,H++)}}return te[ie]==null?ne?te[ie]===null?new b("The "+W+" `"+ee+"` is marked as required "+("in `"+X+"`, but its value is `null`.")):new b("The "+W+" `"+ee+"` is marked as required in "+("`"+X+"`, but its value is `undefined`.")):null:B(te,ie,X,W,ee)}var G=R.bind(null,!1);return G.isRequired=R.bind(null,!0),G}function _(B){function U(H,R,G,ne,te,ie){var X=H[R],W=O(X);if(W!==B){var ee=J(X);return new b("Invalid "+ne+" `"+te+"` of type "+("`"+ee+"` supplied to `"+G+"`, expected ")+("`"+B+"`."),{expectedType:B})}return null}return v(U)}function y(){return v(i)}function x(B){function U(H,R,G,ne,te){if(typeof B!="function")return new b("Property `"+te+"` of component `"+G+"` has invalid PropType notation inside arrayOf.");var ie=H[R];if(!Array.isArray(ie)){var X=O(ie);return new b("Invalid "+ne+" `"+te+"` of type "+("`"+X+"` supplied to `"+G+"`, expected an array."))}for(var W=0;W<ie.length;W++){var ee=B(ie,W,G,ne,te+"["+W+"]",n);if(ee instanceof Error)return ee}return null}return v(U)}function S(){function B(U,H,R,G,ne){var te=U[H];if(!l(te)){var ie=O(te);return new b("Invalid "+G+" `"+ne+"` of type "+("`"+ie+"` supplied to `"+R+"`, expected a single ReactElement."))}return null}return v(B)}function T(){function B(U,H,R,G,ne){var te=U[H];if(!e.isValidElementType(te)){var ie=O(te);return new b("Invalid "+G+" `"+ne+"` of type "+("`"+ie+"` supplied to `"+R+"`, expected a single ReactElement type."))}return null}return v(B)}function P(B){function U(H,R,G,ne,te){if(!(H[R]instanceof B)){var ie=B.name||m,X=q(H[R]);return new b("Invalid "+ne+" `"+te+"` of type "+("`"+X+"` supplied to `"+G+"`, expected ")+("instance of `"+ie+"`."))}return null}return v(U)}function M(B){if(!Array.isArray(B))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 U(H,R,G,ne,te){for(var ie=H[R],X=0;X<B.length;X++)if(h(ie,B[X]))return null;var W=JSON.stringify(B,function(fe,le){var ge=J(le);return ge==="symbol"?String(le):le});return new b("Invalid "+ne+" `"+te+"` of value `"+String(ie)+"` "+("supplied to `"+G+"`, expected one of "+W+"."))}return v(U)}function $(B){function U(H,R,G,ne,te){if(typeof B!="function")return new b("Property `"+te+"` of component `"+G+"` has invalid PropType notation inside objectOf.");var ie=H[R],X=O(ie);if(X!=="object")return new b("Invalid "+ne+" `"+te+"` of type "+("`"+X+"` supplied to `"+G+"`, expected an object."));for(var W in ie)if(r(ie,W)){var ee=B(ie,W,G,ne,te+"."+W,n);if(ee instanceof Error)return ee}return null}return v(U)}function C(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var U=0;U<B.length;U++){var H=B[U];if(typeof H!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+V(H)+" at index "+U+"."),i}function R(G,ne,te,ie,X){for(var W=[],ee=0;ee<B.length;ee++){var fe=B[ee],le=fe(G,ne,te,ie,X,n);if(le==null)return null;le.data&&r(le.data,"expectedType")&&W.push(le.data.expectedType)}var ge=W.length>0?", expected one of type ["+W.join(", ")+"]":"";return new b("Invalid "+ie+" `"+X+"` supplied to "+("`"+te+"`"+ge+"."))}return v(R)}function N(){function B(U,H,R,G,ne){return k(U[H])?null:new b("Invalid "+G+" `"+ne+"` supplied to "+("`"+R+"`, expected a ReactNode."))}return v(B)}function E(B,U,H,R,G){return new b((B||"React class")+": "+U+" type `"+H+"."+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+G+"`.")}function K(B){function U(H,R,G,ne,te){var ie=H[R],X=O(ie);if(X!=="object")return new b("Invalid "+ne+" `"+te+"` of type `"+X+"` "+("supplied to `"+G+"`, expected `object`."));for(var W in B){var ee=B[W];if(typeof ee!="function")return E(G,ne,te,W,J(ee));var fe=ee(ie,W,G,ne,te+"."+W,n);if(fe)return fe}return null}return v(U)}function I(B){function U(H,R,G,ne,te){var ie=H[R],X=O(ie);if(X!=="object")return new b("Invalid "+ne+" `"+te+"` of type `"+X+"` "+("supplied to `"+G+"`, expected `object`."));var W=t({},H[R],B);for(var ee in W){var fe=B[ee];if(r(B,ee)&&typeof fe!="function")return E(G,ne,te,ee,J(fe));if(!fe)return new b("Invalid "+ne+" `"+te+"` key `"+ee+"` supplied to `"+G+"`.\nBad object: "+JSON.stringify(H[R],null," ")+`
186
+ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=fe(ie,ee,G,ne,te+"."+ee,n);if(le)return le}return null}return v(U)}function k(B){switch(typeof B){case"number":case"string":case"undefined":return!0;case"boolean":return!B;case"object":if(Array.isArray(B))return B.every(k);if(B===null||l(B))return!0;var U=f(B);if(U){var H=U.call(B),R;if(U!==B.entries){for(;!(R=H.next()).done;)if(!k(R.value))return!1}else for(;!(R=H.next()).done;){var G=R.value;if(G&&!k(G[1]))return!1}}else return!1;return!0;default:return!1}}function j(B,U){return B==="symbol"?!0:U?U["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&U instanceof Symbol:!1}function O(B){var U=typeof B;return Array.isArray(B)?"array":B instanceof RegExp?"object":j(U,B)?"symbol":U}function J(B){if(typeof B>"u"||B===null)return""+B;var U=O(B);if(U==="object"){if(B instanceof Date)return"date";if(B instanceof RegExp)return"regexp"}return U}function V(B){var U=J(B);switch(U){case"array":case"object":return"an "+U;case"boolean":case"date":case"regexp":return"a "+U;default:return U}}function q(B){return!B.constructor||!B.constructor.name?m:B.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},Hs}var Gs,Pg;function OT(){if(Pg)return Gs;Pg=1;var e=js();function t(){}function n(){}return n.resetWarningCache=t,Gs=function(){function r(i,l,s,u,d,f){if(f!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Gs}if(process.env.NODE_ENV!=="production"){var MT=rs.default,FT=!0;Vs.exports=IT()(MT.isElement,FT)}else Vs.exports=OT()();var xe=Vs.exports;const ae=Aa(xe);var Ys="data-focus-lock",Tg="data-focus-lock-disabled",LT="data-no-focus-lock",NT="data-autofocus-inside",zT="data-no-autofocus",qs={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};process.env.NODE_ENV!=="production"&&ae.node;var kg=Is({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),Cg=Is(),RT=Is(),KT=Gp({async:!0}),VT=[],Xs=D.forwardRef(function(t,n){var r,o=D.useState(),a=o[0],i=o[1],l=D.useRef(),s=D.useRef(!1),u=D.useRef(null),d=t.children,f=t.disabled,m=t.noFocusGuards,g=t.persistentFocus,h=t.crossFrame,b=t.autoFocus,v=t.allowTextSelection,_=t.group,y=t.className,x=t.whiteList,S=t.hasPositiveIndices,T=t.shards,P=T===void 0?VT:T,M=t.as,$=M===void 0?"div":M,C=t.lockProps,N=C===void 0?{}:C,E=t.sideCar,K=t.returnFocus,I=t.focusOptions,k=t.onActivation,j=t.onDeactivation,O=D.useState({}),J=O[0],V=D.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&k&&k(l.current),s.current=!0},[k]),q=D.useCallback(function(){s.current=!1,j&&j(l.current)},[j]);c.useEffect(function(){f||(u.current=null)},[]);var B=D.useCallback(function(X){var W=u.current;if(W&&W.focus){var ee=typeof K=="function"?K(W):K;if(ee){var fe=typeof ee=="object"?ee:void 0;u.current=null,X?Promise.resolve().then(function(){return W.focus(fe)}):W.focus(fe)}}},[K]),U=D.useCallback(function(X){s.current&&kg.useMedium(X)},[]),H=Cg.useMedium,R=D.useCallback(function(X){l.current!==X&&(l.current=X,i(X))},[]);process.env.NODE_ENV!=="production"&&(typeof v<"u"&&console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"),D.useEffect(function(){!l.current&&typeof $!="string"&&console.error("FocusLock: could not obtain ref to internal node")},[]));var G=L((r={},r[Tg]=f&&"disabled",r[Ys]=_,r),N),ne=m!==!0,te=ne&&m!=="tail",ie=Up([n,R]);return D.createElement(D.Fragment,null,ne&&[D.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:qs}),S?D.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:qs}):null],!f&&D.createElement(E,{id:J,sideCar:KT,observed:a,disabled:f,persistentFocus:g,crossFrame:h,autoFocus:b,whiteList:x,shards:P,onActivation:V,onDeactivation:q,returnFocus:B,focusOptions:I}),D.createElement($,L({ref:ie},G,{className:y,onBlur:H,onFocus:U}),d),te&&D.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:qs}))});Xs.propTypes=process.env.NODE_ENV!=="production"?{children:xe.node,disabled:xe.bool,returnFocus:xe.oneOfType([xe.bool,xe.object,xe.func]),focusOptions:xe.object,noFocusGuards:xe.bool,hasPositiveIndices:xe.bool,allowTextSelection:xe.bool,autoFocus:xe.bool,persistentFocus:xe.bool,crossFrame:xe.bool,group:xe.string,className:xe.string,whiteList:xe.func,shards:xe.arrayOf(xe.any),as:xe.oneOfType([xe.string,xe.func,xe.object]),lockProps:xe.object,onActivation:xe.func,onDeactivation:xe.func,sideCar:xe.any.isRequired}:{},Xs.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const Ag=Xs;function Js(e,t){return Js=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Js(e,t)}function Ja(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Js(e,t)}function vn(e){"@babel/helpers - typeof";return vn=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},vn(e)}function BT(e,t){if(vn(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(vn(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ig(e){var t=BT(e,"string");return vn(t)==="symbol"?t:String(t)}function gr(e,t,n){return t=Ig(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jT(e,t){if(process.env.NODE_ENV!=="production"){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.")}function n(r){return r.displayName||r.name||"Component"}return function(o){if(process.env.NODE_ENV!=="production"&&typeof o!="function")throw new Error("Expected WrappedComponent to be a React component.");var a=[],i;function l(){i=e(a.map(function(u){return u.props})),t(i)}var s=function(u){Ja(d,u);function d(){return u.apply(this,arguments)||this}d.peek=function(){return i};var f=d.prototype;return f.componentDidMount=function(){a.push(this),l()},f.componentDidUpdate=function(){l()},f.componentWillUnmount=function(){var g=a.indexOf(this);a.splice(g,1),l()},f.render=function(){return D.default.createElement(o,this.props)},d}(c.PureComponent);return gr(s,"displayName","SideEffect("+n(o)+")"),s}}var Ot=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},Za=function(e){return Array.isArray(e)?e:[e]},Og=function(e){return Array.isArray(e)?e[0]:e},UT=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},Mg=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},Fg=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},WT=function(e,t){return!e||Fg(e)||!UT(e)&&t(Mg(e))},Lg=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=WT(t,Lg.bind(void 0,e));return e.set(t,r),r},HT=function(e,t){return e&&!Fg(e)?qT(e)?t(Mg(e)):!1:!0},Ng=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=HT(t,Ng.bind(void 0,e));return e.set(t,r),r},zg=function(e){return e.dataset},GT=function(e){return e.tagName==="BUTTON"},Rg=function(e){return e.tagName==="INPUT"},Kg=function(e){return Rg(e)&&e.type==="radio"},YT=function(e){return!((Rg(e)||GT(e))&&(e.type==="hidden"||e.disabled))},qT=function(e){var t=e.getAttribute(zT);return![!0,"true",""].includes(t)},Zs=function(e){var t;return!!(e&&(!((t=zg(e))===null||t===void 0)&&t.focusGuard))},Qa=function(e){return!Zs(e)},XT=function(e){return!!e},JT=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},Vg=function(e,t,n){return Ot(e).map(function(r,o){return{node:r,index:o,tabIndex:n&&r.tabIndex===-1?(r.dataset||{}).focusGuard?0:-1:r.tabIndex}}).filter(function(r){return!t||r.tabIndex>=0}).sort(JT)},ZT=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],Qs=ZT.join(","),QT="".concat(Qs,", [data-focus-guard]"),Bg=function(e,t){return Ot((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?QT:Qs)?[r]:[],Bg(r))},[])},e6=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?ei([e.contentDocument.body],t):[e]},ei=function(e,t){return e.reduce(function(n,r){var o,a=Bg(r,t),i=(o=[]).concat.apply(o,a.map(function(l){return e6(l,t)}));return n.concat(i,r.parentNode?Ot(r.parentNode.querySelectorAll(Qs)).filter(function(l){return l===r}):[])},[])},t6=function(e){var t=e.querySelectorAll("[".concat(NT,"]"));return Ot(t).map(function(n){return ei([n])}).reduce(function(n,r){return n.concat(r)},[])},ec=function(e,t){return Ot(e).filter(function(n){return Lg(t,n)}).filter(function(n){return YT(n)})},jg=function(e,t){return t===void 0&&(t=new Map),Ot(e).filter(function(n){return Ng(t,n)})},tc=function(e,t,n){return Vg(ec(ei(e,n),t),!0,n)},Ug=function(e,t){return Vg(ec(ei(e),t),!1)},n6=function(e,t){return ec(t6(e),t)},mr=function(e,t){return e.shadowRoot?mr(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:Ot(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?mr(o,t):!1}return mr(n,t)})},r6=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(i,l){return!t.has(l)})},Wg=function(e){return e.parentNode?Wg(e.parentNode):e},nc=function(e){var t=Za(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(Ys);return n.push.apply(n,o?r6(Ot(Wg(r).querySelectorAll("[".concat(Ys,'="').concat(o,'"]:not([').concat(Tg,'="disabled"])')))):[r]),n},[])},o6=function(e){try{return e()}catch{return}},Do=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?Do(t.shadowRoot):t instanceof HTMLIFrameElement&&o6(function(){return t.contentWindow.document})?Do(t.contentWindow.document):t}},a6=function(e,t){return e===t},i6=function(e,t){return!!Ot(e.querySelectorAll("iframe")).some(function(n){return a6(n,t)})},Hg=function(e,t){return t===void 0&&(t=Do(Og(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:nc(e).some(function(n){return mr(n,t)||i6(n,t)})},l6=function(e){e===void 0&&(e=document);var t=Do(e);return t?Ot(e.querySelectorAll("[".concat(LT,"]"))).some(function(n){return mr(n,t)}):!1},s6=function(e,t){return t.filter(Kg).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},rc=function(e,t){return Kg(e)&&e.name?s6(e,t):e},c6=function(e){var t=new Set;return e.forEach(function(n){return t.add(rc(n,e))}),e.filter(function(n){return t.has(n)})},Gg=function(e){return e[0]&&e.length>1?rc(e[0],e):e[0]},Yg=function(e,t){return e.length>1?e.indexOf(rc(e[t],e)):t},qg="NEW_FOCUS",u6=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],l=Zs(n);if(!(n&&e.indexOf(n)>=0)){var s=n!==void 0?t.indexOf(n):-1,u=r?t.indexOf(r):s,d=r?e.indexOf(r):-1,f=s-u,m=t.indexOf(a),g=t.indexOf(i),h=c6(t),b=n!==void 0?h.indexOf(n):-1,v=b-(r?h.indexOf(r):s),_=Yg(e,0),y=Yg(e,o-1);if(s===-1||d===-1)return qg;if(!f&&d>=0)return d;if(s<=m&&l&&Math.abs(f)>1)return y;if(s>=g&&l&&Math.abs(f)>1)return _;if(f&&Math.abs(v)>1)return d;if(s<=m)return y;if(s>g)return _;if(f)return Math.abs(f)>1?d:(o+d+f)%o}},d6=function(e){return function(t){var n,r=(n=zg(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},f6=function(e,t,n){var r=e.map(function(a){var i=a.node;return i}),o=jg(r.filter(d6(n)));return o&&o.length?Gg(o):Gg(jg(t))},oc=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&oc(e.parentNode.host||e.parentNode,t),t},ac=function(e,t){for(var n=oc(e),r=oc(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},Xg=function(e,t,n){var r=Za(e),o=Za(t),a=r[0],i=!1;return o.filter(Boolean).forEach(function(l){i=ac(i||l,l)||i,n.filter(Boolean).forEach(function(s){var u=ac(a,s);u&&(!i||mr(u,i)?i=u:i=ac(u,i))})}),i},p6=function(e,t){return e.reduce(function(n,r){return n.concat(n6(r,t))},[])},g6=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(XT)},m6=function(e,t){var n=Do(Za(e).length>0?document:Og(e).ownerDocument),r=nc(e).filter(Qa),o=Xg(n||e,e,r),a=new Map,i=Ug(r,a),l=tc(r,a).filter(function(g){var h=g.node;return Qa(h)});if(!(!l[0]&&(l=i,!l[0]))){var s=Ug([o],a).map(function(g){var h=g.node;return h}),u=g6(s,l),d=u.map(function(g){var h=g.node;return h}),f=u6(d,s,n,t);if(f===qg){var m=f6(i,d,p6(r,a));if(m)return{node:m};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:u[f]}},h6=function(e){var t=nc(e).filter(Qa),n=Xg(e,e,t),r=new Map,o=tc([n],r,!0),a=tc(t,r).filter(function(i){var l=i.node;return Qa(l)}).map(function(i){var l=i.node;return l});return o.map(function(i){var l=i.node,s=i.index;return{node:l,index:s,lockItem:a.indexOf(l)>=0,guard:Zs(l)}})},b6=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},ic=0,lc=!1,Jg=function(e,t,n){n===void 0&&(n={});var r=m6(e,t);if(!lc&&r){if(ic>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),lc=!0,setTimeout(function(){lc=!1},1);return}ic++,b6(r.node,n.focusOptions),ic--}};function sc(e){setTimeout(e,1)}var v6=function(){return document&&document.activeElement===document.body},y6=function(){return v6()||l6()},hr=null,br=null,vr=null,Po=!1,$6=function(){return!0},_6=function(t){return(hr.whiteList||$6)(t)},x6=function(t,n){vr={observerNode:t,portaledElement:n}},w6=function(t){return vr&&vr.portaledElement===t};function Zg(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else if(i.lockItem){if(a!==e)return;o=null}else break}while((a+=n)!==t);o&&(o.node.tabIndex=0)}var E6=function(t){return t&&"current"in t?t.current:t},S6=function(t){return t?!!Po:Po==="meanwhile"},D6=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},P6=function(t,n){return n.some(function(r){return D6(t,r,r)})},ti=function(){var t=!1;if(hr){var n=hr,r=n.observed,o=n.persistentFocus,a=n.autoFocus,i=n.shards,l=n.crossFrame,s=n.focusOptions,u=r||vr&&vr.portaledElement,d=document&&document.activeElement;if(u){var f=[u].concat(i.map(E6).filter(Boolean));if((!d||_6(d))&&(o||S6(l)||!y6()||!br&&a)&&(u&&!(Hg(f)||d&&P6(d,f)||w6(d))&&(document&&!br&&d&&!a?(d.blur&&d.blur(),document.body.focus()):(t=Jg(f,br,{focusOptions:s}),vr={})),Po=!1,br=document&&document.activeElement),document){var m=document&&document.activeElement,g=h6(f),h=g.map(function(b){var v=b.node;return v}).indexOf(m);h>-1&&(g.filter(function(b){var v=b.guard,_=b.node;return v&&_.dataset.focusAutoGuard}).forEach(function(b){var v=b.node;return v.removeAttribute("tabIndex")}),Zg(h,g.length,1,g),Zg(h,-1,-1,g))}}}return t},Qg=function(t){ti()&&t&&(t.stopPropagation(),t.preventDefault())},cc=function(){return sc(ti)},T6=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||x6(r,n)},k6=function(){return null};process.env.NODE_ENV!=="production"&&ae.node.isRequired;var em=function(){Po="just",sc(function(){Po="meanwhile"})},C6=function(){document.addEventListener("focusin",Qg),document.addEventListener("focusout",cc),window.addEventListener("blur",em)},A6=function(){document.removeEventListener("focusin",Qg),document.removeEventListener("focusout",cc),window.removeEventListener("blur",em)};function I6(e){return e.filter(function(t){var n=t.disabled;return!n})}function O6(e){var t=e.slice(-1)[0];t&&!hr&&C6();var n=hr,r=n&&t&&t.id===n.id;hr=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var a=o.id;return a===n.id}).length||n.returnFocus(!t)),t?(br=null,(!r||n.observed!==t.observed)&&t.onActivation(),ti(),sc(ti)):(A6(),br=null)}kg.assignSyncMedium(T6),Cg.assignMedium(cc),RT.assignMedium(function(e){return e({moveFocusInside:Jg,focusInside:Hg})});const M6=jT(I6,O6)(k6);var tm=D.forwardRef(function(t,n){return D.createElement(Ag,L({sideCar:M6,ref:n},t))}),nm=Ag.propTypes||{};nm.sideCar;var F6=Xa(nm,["sideCar"]);tm.propTypes=process.env.NODE_ENV!=="production"?F6:{};const L6=tm;var ni={},uc={},rm={exports:{}};/*!
187
187
  Copyright (c) 2015 Jed Watson.
188
188
  Based on code that is Copyright 2013-2015, Facebook, Inc.
189
189
  All rights reserved.
190
- */(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(rm);var ri=rm.exports,To={},Ie={};Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.pipe=Ie.listenerOptions=void 0,Ie.preventTouchMove=N6,Ie.allowTouchMove=z6,Ie.preventInertiaScroll=R6,Ie.isTouchDevice=K6,Ie.camelToKebab=V6,Ie.parse=B6,Ie.getPadding=U6,Ie.getWindowHeight=W6,Ie.getDocumentHeight=H6,Ie.makeStyleTag=G6,Ie.injectStyles=Y6,Ie.insertStyleTag=q6;var Rn=ri;Ie.listenerOptions={capture:!1,passive:!1};function N6(e){return e.preventDefault(),!1}function z6(e){var t=e.currentTarget;return t.scrollHeight>t.clientHeight?(e.stopPropagation(),!0):(e.preventDefault(),!1)}function R6(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function K6(){return Rn.canUseDOM?"ontouchstart"in window||navigator.maxTouchPoints:!1}function V6(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function B6(e){return isNaN(e)?e:e+"px"}var j6=function(t,n){return function(){return n(t.apply(void 0,arguments))}};Ie.pipe=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce(j6)};function U6(){if(!Rn.canUseDOM)return 0;var e=parseInt(window.getComputedStyle(document.body).paddingRight,10),t=window.innerWidth-document.documentElement.clientWidth;return e+t}function W6(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;if(Rn.canUseDOM)return window.innerHeight*e}function H6(){if(Rn.canUseDOM)return document.body.clientHeight}function G6(){if(Rn.canUseDOM){var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-react-scrolllock",""),e}}function Y6(e,t){Rn.canUseDOM&&(e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)))}function q6(e){if(Rn.canUseDOM){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}}Object.defineProperty(To,"__esModule",{value:!0}),To.TouchScrollable=void 0;var X6=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J6=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),om=D.default,am=ri,vn=Ie;function Z6(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function Q6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function im(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function e3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}To.TouchScrollable=function(e){e3(t,e);function t(){var n,r,o,a;Q6(this,t);for(var i=arguments.length,l=Array(i),s=0;s<i;s++)l[s]=arguments[s];return a=(r=(o=im(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(l))),o),o.getScrollableArea=function(u){o.scrollableArea=u},r),im(o,a)}return J6(t,[{key:"componentDidMount",value:function(){am.canUseEventListeners&&(this.scrollableArea.addEventListener("touchstart",vn.preventInertiaScroll,vn.listenerOptions),this.scrollableArea.addEventListener("touchmove",vn.allowTouchMove,vn.listenerOptions))}},{key:"componentWillUnmount",value:function(){am.canUseEventListeners&&(this.scrollableArea.removeEventListener("touchstart",vn.preventInertiaScroll,vn.listenerOptions),this.scrollableArea.removeEventListener("touchmove",vn.allowTouchMove,vn.listenerOptions))}},{key:"render",value:function(){var r=this.props,o=r.children,a=Z6(r,["children"]);return typeof o=="function"?o(this.getScrollableArea):(0,om.cloneElement)(o,X6({ref:this.getScrollableArea},a))}}]),t}(om.PureComponent);var dc={};Object.defineProperty(dc,"__esModule",{value:!0});var t3=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();dc.default=i3;var lm=D.default,n3=r3(lm),ko=Ie;function r3(e){return e&&e.__esModule?e:{default:e}}function o3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function a3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i3(e){return function(t){a3(n,t);function n(){var r,o,a,i;o3(this,n);for(var l=arguments.length,s=Array(l),u=0;u<l;u++)s[u]=arguments[u];return i=(o=(a=sm(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(s))),a),a.addSheet=function(){var d=a.getStyles(),f=(0,ko.makeStyleTag)();f&&((0,ko.injectStyles)(f,d),(0,ko.insertStyleTag)(f),a.sheet=f)},a.getStyles=function(){var d=a.props.accountForScrollbars,f=(0,ko.getDocumentHeight)(),m=d?(0,ko.getPadding)():null,g=`body {
190
+ */(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(rm);var ri=rm.exports,To={},Ie={};Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.pipe=Ie.listenerOptions=void 0,Ie.preventTouchMove=N6,Ie.allowTouchMove=z6,Ie.preventInertiaScroll=R6,Ie.isTouchDevice=K6,Ie.camelToKebab=V6,Ie.parse=B6,Ie.getPadding=U6,Ie.getWindowHeight=W6,Ie.getDocumentHeight=H6,Ie.makeStyleTag=G6,Ie.injectStyles=Y6,Ie.insertStyleTag=q6;var Rn=ri;Ie.listenerOptions={capture:!1,passive:!1};function N6(e){return e.preventDefault(),!1}function z6(e){var t=e.currentTarget;return t.scrollHeight>t.clientHeight?(e.stopPropagation(),!0):(e.preventDefault(),!1)}function R6(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function K6(){return Rn.canUseDOM?"ontouchstart"in window||navigator.maxTouchPoints:!1}function V6(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function B6(e){return isNaN(e)?e:e+"px"}var j6=function(t,n){return function(){return n(t.apply(void 0,arguments))}};Ie.pipe=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce(j6)};function U6(){if(!Rn.canUseDOM)return 0;var e=parseInt(window.getComputedStyle(document.body).paddingRight,10),t=window.innerWidth-document.documentElement.clientWidth;return e+t}function W6(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;if(Rn.canUseDOM)return window.innerHeight*e}function H6(){if(Rn.canUseDOM)return document.body.clientHeight}function G6(){if(Rn.canUseDOM){var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-react-scrolllock",""),e}}function Y6(e,t){Rn.canUseDOM&&(e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)))}function q6(e){if(Rn.canUseDOM){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}}Object.defineProperty(To,"__esModule",{value:!0}),To.TouchScrollable=void 0;var X6=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J6=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),om=D.default,am=ri,yn=Ie;function Z6(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function Q6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function im(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function e3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}To.TouchScrollable=function(e){e3(t,e);function t(){var n,r,o,a;Q6(this,t);for(var i=arguments.length,l=Array(i),s=0;s<i;s++)l[s]=arguments[s];return a=(r=(o=im(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(l))),o),o.getScrollableArea=function(u){o.scrollableArea=u},r),im(o,a)}return J6(t,[{key:"componentDidMount",value:function(){am.canUseEventListeners&&(this.scrollableArea.addEventListener("touchstart",yn.preventInertiaScroll,yn.listenerOptions),this.scrollableArea.addEventListener("touchmove",yn.allowTouchMove,yn.listenerOptions))}},{key:"componentWillUnmount",value:function(){am.canUseEventListeners&&(this.scrollableArea.removeEventListener("touchstart",yn.preventInertiaScroll,yn.listenerOptions),this.scrollableArea.removeEventListener("touchmove",yn.allowTouchMove,yn.listenerOptions))}},{key:"render",value:function(){var r=this.props,o=r.children,a=Z6(r,["children"]);return typeof o=="function"?o(this.getScrollableArea):(0,om.cloneElement)(o,X6({ref:this.getScrollableArea},a))}}]),t}(om.PureComponent);var dc={};Object.defineProperty(dc,"__esModule",{value:!0});var t3=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();dc.default=i3;var lm=D.default,n3=r3(lm),ko=Ie;function r3(e){return e&&e.__esModule?e:{default:e}}function o3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function a3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i3(e){return function(t){a3(n,t);function n(){var r,o,a,i;o3(this,n);for(var l=arguments.length,s=Array(l),u=0;u<l;u++)s[u]=arguments[u];return i=(o=(a=sm(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(s))),a),a.addSheet=function(){var d=a.getStyles(),f=(0,ko.makeStyleTag)();f&&((0,ko.injectStyles)(f,d),(0,ko.insertStyleTag)(f),a.sheet=f)},a.getStyles=function(){var d=a.props.accountForScrollbars,f=(0,ko.getDocumentHeight)(),m=d?(0,ko.getPadding)():null,g=`body {
191
191
  box-sizing: border-box !important;
192
192
  overflow: hidden !important;
193
193
  position: relative !important;
194
194
  `+(f?"height: "+f+"px !important;":"")+`
195
195
  `+(m?"padding-right: "+m+"px !important;":"")+`
196
- }`;return g},o),sm(a,i)}return t3(n,[{key:"componentDidMount",value:function(){this.addSheet()}},{key:"removeSheet",value:function(){this.sheet&&(this.sheet.parentNode.removeChild(this.sheet),this.sheet=null)}},{key:"componentWillUnmount",value:function(){this.removeSheet()}},{key:"render",value:function(){return n3.default.createElement(e,this.props)}}]),n}(lm.PureComponent)}var fc={};Object.defineProperty(fc,"__esModule",{value:!0});var l3=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();fc.default=p3;var cm=D.default,s3=c3(cm),um=ri,yr=Ie;function c3(e){return e&&e.__esModule?e:{default:e}}function u3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d3(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function f3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function p3(e){return function(t){f3(n,t);function n(){return u3(this,n),d3(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return l3(n,[{key:"componentDidMount",value:function(){!um.canUseDOM||!(0,yr.isTouchDevice)()||document.addEventListener("touchmove",yr.preventTouchMove,yr.listenerOptions)}},{key:"componentWillUnmount",value:function(){!um.canUseDOM||!(0,yr.isTouchDevice)()||document.removeEventListener("touchmove",yr.preventTouchMove,yr.listenerOptions)}},{key:"render",value:function(){return s3.default.createElement(e,this.props)}}]),n}(cm.PureComponent)}Object.defineProperty(uc,"__esModule",{value:!0});var g3=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),dm=D.default,fm=pc(dm),m3=ri,h3=To,b3=dc,v3=pc(b3),y3=fc,$3=pc(y3),_3=Ie;function pc(e){return e&&e.__esModule?e:{default:e}}function x3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w3(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function E3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var S3=function(e){E3(t,e);function t(){return x3(this,t),w3(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g3(t,[{key:"componentDidMount",value:function(){m3.canUseDOM&&(this.initialHeight=window.innerHeight)}},{key:"componentWillUnmount",value:function(){var r=window.innerHeight-this.initialHeight;r&&window.scrollTo(0,window.pageYOffset+r),this.initialHeight=window.innerHeight}},{key:"render",value:function(){var r=this.props.children;return r?fm.default.createElement(h3.TouchScrollable,null,r):null}}]),t}(dm.PureComponent),D3=(0,_3.pipe)($3.default,v3.default),P3=D3(S3),pm=function(t){return t.isActive?fm.default.createElement(P3,t):t.children};pm.defaultProps={accountForScrollbars:!0,children:null,isActive:!0},uc.default=pm,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=uc;Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r(t).default}});var n=To;Object.defineProperty(e,"TouchScrollable",{enumerable:!0,get:function(){return n.TouchScrollable}});function r(o){return o&&o.__esModule?o:{default:o}}}(ni);const gm=Aa(ni),mm={disabled:!1};var T3=process.env.NODE_ENV!=="production"?ae.oneOfType([ae.number,ae.shape({enter:ae.number,exit:ae.number,appear:ae.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&ae.oneOfType([ae.string,ae.shape({enter:ae.string,exit:ae.string,active:ae.string}),ae.shape({enter:ae.string,enterDone:ae.string,enterActive:ae.string,exit:ae.string,exitDone:ae.string,exitActive:ae.string})]);const hm=D.default.createContext(null);var k3=function(t){return t.scrollTop},Co="unmounted",Kn="exited",Vn="entering",$r="entered",gc="exiting",Ht=function(e){Ja(t,e);function t(r,o){var a;a=e.call(this,r,o)||this;var i=o,l=i&&!i.isMounting?r.enter:r.appear,s;return a.appearStatus=null,r.in?l?(s=Kn,a.appearStatus=Vn):s=$r:r.unmountOnExit||r.mountOnEnter?s=Co:s=Kn,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===Co?{status:Kn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var a=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==Vn&&i!==$r&&(a=Vn):(i===Vn||i===$r)&&(a=gc)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,a,i,l;return a=i=l=o,o!=null&&typeof o!="number"&&(a=o.exit,i=o.enter,l=o.appear!==void 0?o.appear:i),{exit:a,enter:i,appear:l}},n.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===Vn){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Kt.default.findDOMNode(this);i&&k3(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Kn&&this.setState({status:Co})},n.performEnter=function(o){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:o,s=this.props.nodeRef?[l]:[Kt.default.findDOMNode(this),l],u=s[0],d=s[1],f=this.getTimeouts(),m=l?f.appear:f.enter;if(!o&&!i||mm.disabled){this.safeSetState({status:$r},function(){a.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:Vn},function(){a.props.onEntering(u,d),a.onTransitionEnd(m,function(){a.safeSetState({status:$r},function(){a.props.onEntered(u,d)})})})},n.performExit=function(){var o=this,a=this.props.exit,i=this.getTimeouts(),l=this.props.nodeRef?void 0:Kt.default.findDOMNode(this);if(!a||mm.disabled){this.safeSetState({status:Kn},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:gc},function(){o.props.onExiting(l),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:Kn},function(){o.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},n.setNextCallback=function(o){var a=this,i=!0;return this.nextCallback=function(l){i&&(i=!1,a.nextCallback=null,o(l))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},n.onTransitionEnd=function(o,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Kt.default.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!i||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=s[0],d=s[1];this.props.addEndListener(u,d)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Co)return null;var a=this.props,i=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=Xa(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return D.default.createElement(hm.Provider,{value:null},typeof i=="function"?i(o,l):D.default.cloneElement(D.default.Children.only(i),l))},t}(D.default.Component);Ht.contextType=hm,Ht.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:ae.shape({current:typeof Element>"u"?ae.any:function(e,t,n,r,o,a){var i=e[t];return ae.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,a)}}),children:ae.oneOfType([ae.func.isRequired,ae.element.isRequired]).isRequired,in:ae.bool,mountOnEnter:ae.bool,unmountOnExit:ae.bool,appear:ae.bool,enter:ae.bool,exit:ae.bool,timeout:function(t){var n=T3;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return n.apply(void 0,[t].concat(o))},addEndListener:ae.func,onEnter:ae.func,onEntering:ae.func,onEntered:ae.func,onExit:ae.func,onExiting:ae.func,onExited:ae.func}:{};function _r(){}Ht.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_r,onEntering:_r,onEntered:_r,onExit:_r,onExiting:_r,onExited:_r},Ht.UNMOUNTED=Co,Ht.EXITED=Kn,Ht.ENTERING=Vn,Ht.ENTERED=$r,Ht.EXITING=gc;const bm=Ht;function vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oi(e){return Number(e.replace(/\D/g,""))*100}function xr(e,t){if(!yp())return;const n=bs();D.default.useEffect(()=>(n.addEventListener(e,t),()=>n.removeEventListener(e,t)),[e,t])}const Ao=e=>{c.useEffect(()=>{const t=n=>{n.key==="Escape"&&e()};return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[e])};function mc(e){const t=c.useRef();return c.useEffect(()=>{t.current=e}),t.current}function ai(e){const{containerId:t,children:n}=e;if(typeof document<"u"){const r=t?document.getElementById(t):document.body;if(r)return Kt.default.createPortal(n,r)}return null}ai.displayName="Portal";const C3=e=>{const t=`${p.color_gray_10}70`;return`
196
+ }`;return g},o),sm(a,i)}return t3(n,[{key:"componentDidMount",value:function(){this.addSheet()}},{key:"removeSheet",value:function(){this.sheet&&(this.sheet.parentNode.removeChild(this.sheet),this.sheet=null)}},{key:"componentWillUnmount",value:function(){this.removeSheet()}},{key:"render",value:function(){return n3.default.createElement(e,this.props)}}]),n}(lm.PureComponent)}var fc={};Object.defineProperty(fc,"__esModule",{value:!0});var l3=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();fc.default=p3;var cm=D.default,s3=c3(cm),um=ri,yr=Ie;function c3(e){return e&&e.__esModule?e:{default:e}}function u3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d3(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function f3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function p3(e){return function(t){f3(n,t);function n(){return u3(this,n),d3(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return l3(n,[{key:"componentDidMount",value:function(){!um.canUseDOM||!(0,yr.isTouchDevice)()||document.addEventListener("touchmove",yr.preventTouchMove,yr.listenerOptions)}},{key:"componentWillUnmount",value:function(){!um.canUseDOM||!(0,yr.isTouchDevice)()||document.removeEventListener("touchmove",yr.preventTouchMove,yr.listenerOptions)}},{key:"render",value:function(){return s3.default.createElement(e,this.props)}}]),n}(cm.PureComponent)}Object.defineProperty(uc,"__esModule",{value:!0});var g3=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),dm=D.default,fm=pc(dm),m3=ri,h3=To,b3=dc,v3=pc(b3),y3=fc,$3=pc(y3),_3=Ie;function pc(e){return e&&e.__esModule?e:{default:e}}function x3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w3(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function E3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var S3=function(e){E3(t,e);function t(){return x3(this,t),w3(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g3(t,[{key:"componentDidMount",value:function(){m3.canUseDOM&&(this.initialHeight=window.innerHeight)}},{key:"componentWillUnmount",value:function(){var r=window.innerHeight-this.initialHeight;r&&window.scrollTo(0,window.pageYOffset+r),this.initialHeight=window.innerHeight}},{key:"render",value:function(){var r=this.props.children;return r?fm.default.createElement(h3.TouchScrollable,null,r):null}}]),t}(dm.PureComponent),D3=(0,_3.pipe)($3.default,v3.default),P3=D3(S3),pm=function(t){return t.isActive?fm.default.createElement(P3,t):t.children};pm.defaultProps={accountForScrollbars:!0,children:null,isActive:!0},uc.default=pm,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=uc;Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r(t).default}});var n=To;Object.defineProperty(e,"TouchScrollable",{enumerable:!0,get:function(){return n.TouchScrollable}});function r(o){return o&&o.__esModule?o:{default:o}}}(ni);const gm=Aa(ni),mm={disabled:!1};var T3=process.env.NODE_ENV!=="production"?ae.oneOfType([ae.number,ae.shape({enter:ae.number,exit:ae.number,appear:ae.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&ae.oneOfType([ae.string,ae.shape({enter:ae.string,exit:ae.string,active:ae.string}),ae.shape({enter:ae.string,enterDone:ae.string,enterActive:ae.string,exit:ae.string,exitDone:ae.string,exitActive:ae.string})]);const hm=D.default.createContext(null);var k3=function(t){return t.scrollTop},Co="unmounted",Kn="exited",Vn="entering",$r="entered",gc="exiting",Gt=function(e){Ja(t,e);function t(r,o){var a;a=e.call(this,r,o)||this;var i=o,l=i&&!i.isMounting?r.enter:r.appear,s;return a.appearStatus=null,r.in?l?(s=Kn,a.appearStatus=Vn):s=$r:r.unmountOnExit||r.mountOnEnter?s=Co:s=Kn,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===Co?{status:Kn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var a=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==Vn&&i!==$r&&(a=Vn):(i===Vn||i===$r)&&(a=gc)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,a,i,l;return a=i=l=o,o!=null&&typeof o!="number"&&(a=o.exit,i=o.enter,l=o.appear!==void 0?o.appear:i),{exit:a,enter:i,appear:l}},n.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===Vn){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Vt.default.findDOMNode(this);i&&k3(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Kn&&this.setState({status:Co})},n.performEnter=function(o){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:o,s=this.props.nodeRef?[l]:[Vt.default.findDOMNode(this),l],u=s[0],d=s[1],f=this.getTimeouts(),m=l?f.appear:f.enter;if(!o&&!i||mm.disabled){this.safeSetState({status:$r},function(){a.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:Vn},function(){a.props.onEntering(u,d),a.onTransitionEnd(m,function(){a.safeSetState({status:$r},function(){a.props.onEntered(u,d)})})})},n.performExit=function(){var o=this,a=this.props.exit,i=this.getTimeouts(),l=this.props.nodeRef?void 0:Vt.default.findDOMNode(this);if(!a||mm.disabled){this.safeSetState({status:Kn},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:gc},function(){o.props.onExiting(l),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:Kn},function(){o.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},n.setNextCallback=function(o){var a=this,i=!0;return this.nextCallback=function(l){i&&(i=!1,a.nextCallback=null,o(l))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},n.onTransitionEnd=function(o,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Vt.default.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!i||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=s[0],d=s[1];this.props.addEndListener(u,d)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Co)return null;var a=this.props,i=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=Xa(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return D.default.createElement(hm.Provider,{value:null},typeof i=="function"?i(o,l):D.default.cloneElement(D.default.Children.only(i),l))},t}(D.default.Component);Gt.contextType=hm,Gt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:ae.shape({current:typeof Element>"u"?ae.any:function(e,t,n,r,o,a){var i=e[t];return ae.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,a)}}),children:ae.oneOfType([ae.func.isRequired,ae.element.isRequired]).isRequired,in:ae.bool,mountOnEnter:ae.bool,unmountOnExit:ae.bool,appear:ae.bool,enter:ae.bool,exit:ae.bool,timeout:function(t){var n=T3;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return n.apply(void 0,[t].concat(o))},addEndListener:ae.func,onEnter:ae.func,onEntering:ae.func,onEntered:ae.func,onExit:ae.func,onExiting:ae.func,onExited:ae.func}:{};function _r(){}Gt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_r,onEntering:_r,onEntered:_r,onExit:_r,onExiting:_r,onExited:_r},Gt.UNMOUNTED=Co,Gt.EXITED=Kn,Gt.ENTERING=Vn,Gt.ENTERED=$r,Gt.EXITING=gc;const bm=Gt;function vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oi(e){return Number(e.replace(/\D/g,""))*100}function xr(e,t){if(!yp())return;const n=bs();D.default.useEffect(()=>(n.addEventListener(e,t),()=>n.removeEventListener(e,t)),[e,t])}const Ao=e=>{c.useEffect(()=>{const t=n=>{n.key==="Escape"&&e()};return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[e])};function mc(e){const t=c.useRef();return c.useEffect(()=>{t.current=e}),t.current}function ai(e){const{containerId:t,children:n}=e;if(typeof document<"u"){const r=t?document.getElementById(t):document.body;if(r)return Vt.default.createPortal(n,r)}return null}ai.displayName="Portal";const C3=e=>{const t=`${p.color_gray_10}70`;return`
197
197
  position: fixed;
198
198
  z-index: ${p.z_index_overlay};
199
199
  top: 0;
@@ -239,7 +239,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
239
239
  `;case"exited":return`
240
240
  ${t}
241
241
  pointer-events: none;
242
- `}},ym=D.default.forwardRef(function(t,n){const{children:r,restrictHeight:o=!0,...a}=t,i=Tt(a,ws.propNames??[]);return w(pe,{"data-id":"modal-content",...i,maxHeight:o?"60vh":null,overflowY:o?"auto":null,ref:n,pl:p.spacing_500,pr:p.spacing_500,pb:"1px",children:r})});ym.displayName="Modal.Content";const F3=ym,$m=D.default.forwardRef(function(t,n){const{children:r}=t;return w(pe,{"data-id":"modal-footer",bg:"white",ref:n,display:"flex",flexDirection:"row",justifyContent:"end",gap:p.spacing_200,p:p.spacing_500,children:r})});$m.displayName="Modal.Footer";const L3=$m,yn=F.default(pe)`
242
+ `}},ym=D.default.forwardRef(function(t,n){const{children:r,restrictHeight:o=!0,...a}=t,i=kt(a,ws.propNames??[]);return w(pe,{"data-id":"modal-content",...i,maxHeight:o?"60vh":null,overflowY:o?"auto":null,ref:n,pl:p.spacing_500,pr:p.spacing_500,pb:"1px",children:r})});ym.displayName="Modal.Content";const F3=ym,$m=D.default.forwardRef(function(t,n){const{children:r}=t;return w(pe,{"data-id":"modal-footer",bg:"white",ref:n,display:"flex",flexDirection:"row",justifyContent:"end",gap:p.spacing_200,p:p.spacing_500,children:r})});$m.displayName="Modal.Footer";const L3=$m,$n=F.default(pe)`
243
243
  font-family: ${p.font_family_pingo};
244
244
  font-style: normal;
245
245
  font-weight: ${({$normal:e})=>e?p.font_weight_300:p.font_weight_500};
@@ -248,28 +248,28 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
248
248
 
249
249
  ${({color:e})=>e&&`color: ${e};`}
250
250
  height: fit-content;
251
- `,N3=F.default(yn)`
251
+ `,N3=F.default($n)`
252
252
  line-height: ${p.font_size_950};
253
253
  font-size: ${p.font_size_900};
254
- `,z3=F.default(yn)`
254
+ `,z3=F.default($n)`
255
255
  line-height: ${p.font_size_725};
256
256
  font-size: ${p.font_size_700};
257
- `,R3=F.default(yn)`
257
+ `,R3=F.default($n)`
258
258
  line-height: ${p.font_size_625};
259
259
  font-size: ${p.font_size_600};
260
- `,K3=F.default(yn)`
260
+ `,K3=F.default($n)`
261
261
  font-size: ${p.font_size_400};
262
262
  line-height: ${p.font_size_425};
263
- `,V3=F.default(yn)`
263
+ `,V3=F.default($n)`
264
264
  font-size: ${p.font_size_300};
265
265
  line-height: ${p.font_size_325};
266
- `,B3=F.default(yn)`
266
+ `,B3=F.default($n)`
267
267
  font-size: ${p.font_size_250};
268
268
  line-height: ${p.font_size_275};
269
- `,j3=F.default(yn)`
269
+ `,j3=F.default($n)`
270
270
  font-size: ${p.font_size_225};
271
271
  line-height: ${p.font_size_250};
272
- `,U3={h1:N3,h2:z3,h3:R3,h4:K3,h5:V3,h6:B3,body:j3},Bn=c.forwardRef((e,t)=>{const{children:n,weak:r=!1,color:o,as:a="h1",looksLike:i="h1",className:l,normal:s=!1,...u}=e,d=U3[i],m={...Tt(u,Ut.propNames??[])};return r?m.color=p.color_gray_52:o?m.color=o:m.color=p.color_black,w(d,{as:a,...m,ref:t,className:l,$normal:s,children:n})});Bn.displayName="Title";const _m=D.default.createContext({}),xm=D.default.forwardRef(function(t,n){const{children:r,pb:o}=t,{setModalTitle:a,size:i}=c.useContext(_m);let l=o??p.spacing_250;return i==="medium"?l=p.spacing_400:i==="large"&&(l=p.spacing_500),c.useEffect(()=>{a&&typeof r=="string"&&a(r)},[r,a]),w(pe,{"data-id":"modal-header",bg:"white",ref:n,pt:p.spacing_500,pr:p.spacing_500,pl:p.spacing_500,pb:l,children:w(pe,{display:"flex",alignItems:"center",children:w(pe,{flex:"1",children:w(Bn,{as:"h2",looksLike:"h6",children:r})})})})});xm.displayName="Modal.Header";const W3=xm,ii={small:"450px",medium:"650px",large:"850px"},H3=F.default("div")`
272
+ `,U3={h1:N3,h2:z3,h3:R3,h4:K3,h5:V3,h6:B3,body:j3},Bn=c.forwardRef((e,t)=>{const{children:n,weak:r=!1,color:o,as:a="h1",looksLike:i="h1",className:l,normal:s=!1,...u}=e,d=U3[i],m={...kt(u,Wt.propNames??[])};return r?m.color=p.color_gray_52:o?m.color=o:m.color=p.color_black,w(d,{as:a,...m,ref:t,className:l,$normal:s,children:n})});Bn.displayName="Title";const _m=D.default.createContext({}),xm=D.default.forwardRef(function(t,n){const{children:r,pb:o}=t,{setModalTitle:a,size:i}=c.useContext(_m);let l=o??p.spacing_250;return i==="medium"?l=p.spacing_400:i==="large"&&(l=p.spacing_500),c.useEffect(()=>{a&&typeof r=="string"&&a(r)},[r,a]),w(pe,{"data-id":"modal-header",bg:"white",ref:n,pt:p.spacing_500,pr:p.spacing_500,pl:p.spacing_500,pb:l,children:w(pe,{display:"flex",alignItems:"center",children:w(pe,{flex:"1",children:w(Bn,{as:"h2",looksLike:"h6",children:r})})})})});xm.displayName="Modal.Header";const W3=xm,ii={small:"450px",medium:"650px",large:"850px"},H3=F.default("div")`
273
273
  ${C3}
274
274
  `,G3=F.default("div")`
275
275
  ${A3}
@@ -278,7 +278,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
278
278
  `,q3=F.default(pe)`
279
279
  ${O3}
280
280
  ${M3}
281
- `,Io=c.forwardRef(function(t,n){const{children:r,className:o,closeOnEscape:a=!0,closeOnOutsideClick:i=!0,onClose:l,open:s,portalId:u,size:d="medium"}=t;let{maxWidth:f}=t;f||(f=ii[d]);const[m,g]=c.useState(""),h=c.useRef(),b=c.useRef(),v=c.useRef();function _(x){if(!i)return;x.target!==null&&h.current&&h.current.contains(x.target)&&b.current&&!b.current.contains(x.target)&&s&&l&&l()}function y(x){a&&s&&l&&$p("escape",l)(x)}return xr("keydown",y),xr("click",_),c.useLayoutEffect(()=>{s&&b.current&&b.current.focus()},[s]),ee(Vt,{children:[w(gm,{isActive:s}),w(ai,{containerId:u,children:w(ni.TouchScrollable,{children:w(H3,{$open:s,className:o,role:"dialog","aria-modal":"true","aria-label":m,"aria-labelledby":m,children:w(pe,{size:"100%",ref:h,"data-id":"modal-overlay",children:w(G3,{children:w(Y3,{disabled:!s||nD(),returnFocus:!0,children:w(bm,{mountOnEnter:!0,unmountOnExit:!0,in:s,timeout:{enter:oi(p.motion_duration_fast),exit:oi(p.motion_duration_fast)},nodeRef:v,children:x=>w("div",{ref:v,children:w(q3,{$state:x,tabIndex:-1,ref:n,display:"flex",justifyContent:"center","data-id":"modal-content-wrapper",children:w(pe,{ref:b,width:"100%",maxWidth:f,m:`0 ${p.spacing_100}`,bg:"white",tabIndex:-1,"data-id":"modal-content-panel",borderRadius:p.border_radius_400,overflow:"hidden",children:w(_m.Provider,{value:{setModalTitle:g,onClose:l,open:s,size:d},children:r})})})})})})})})})})})]})});Io.displayName="Modal",Io.Header=W3,Io.Content=F3,Io.Footer=L3;const X3=Io,J3=({initialOpen:e=!1,id:t="pingo-modal"}={})=>{const[n,r]=c.useState(e),o=c.useCallback(()=>{r(!n)},[n]),a=c.useCallback(()=>{r(!0)},[]),i=c.useCallback(()=>{r(!1)},[]);function l(u={}){return{"aria-controls":t,onClick:o,...u}}function s(u={}){return{id:t,onClose:i,open:n,...u}}return{open:n,isOpen:n,toggleModal:o,openModal:a,closeModal:i,onClose:i,getActivatorProps:l,getModalProps:s}},Z3=se.keyframes`
281
+ `,Io=c.forwardRef(function(t,n){const{children:r,className:o,closeOnEscape:a=!0,closeOnOutsideClick:i=!0,onClose:l,open:s,portalId:u,size:d="medium"}=t;let{maxWidth:f}=t;f||(f=ii[d]);const[m,g]=c.useState(""),h=c.useRef(),b=c.useRef(),v=c.useRef();function _(x){if(!i)return;x.target!==null&&h.current&&h.current.contains(x.target)&&b.current&&!b.current.contains(x.target)&&s&&l&&l()}function y(x){a&&s&&l&&$p("escape",l)(x)}return xr("keydown",y),xr("click",_),c.useLayoutEffect(()=>{s&&b.current&&b.current.focus()},[s]),Q(Bt,{children:[w(gm,{isActive:s}),w(ai,{containerId:u,children:w(ni.TouchScrollable,{children:w(H3,{$open:s,className:o,role:"dialog","aria-modal":"true","aria-label":m,"aria-labelledby":m,children:w(pe,{size:"100%",ref:h,"data-id":"modal-overlay",children:w(G3,{children:w(Y3,{disabled:!s||nD(),returnFocus:!0,children:w(bm,{mountOnEnter:!0,unmountOnExit:!0,in:s,timeout:{enter:oi(p.motion_duration_fast),exit:oi(p.motion_duration_fast)},nodeRef:v,children:x=>w("div",{ref:v,children:w(q3,{$state:x,tabIndex:-1,ref:n,display:"flex",justifyContent:"center","data-id":"modal-content-wrapper",children:w(pe,{ref:b,width:"100%",maxWidth:f,m:`0 ${p.spacing_100}`,bg:"white",tabIndex:-1,"data-id":"modal-content-panel",borderRadius:p.border_radius_400,overflow:"hidden",children:w(_m.Provider,{value:{setModalTitle:g,onClose:l,open:s,size:d},children:r})})})})})})})})})})})]})});Io.displayName="Modal",Io.Header=W3,Io.Content=F3,Io.Footer=L3;const X3=Io,J3=({initialOpen:e=!1,id:t="pingo-modal"}={})=>{const[n,r]=c.useState(e),o=c.useCallback(()=>{r(!n)},[n]),a=c.useCallback(()=>{r(!0)},[]),i=c.useCallback(()=>{r(!1)},[]);function l(u={}){return{"aria-controls":t,onClick:o,...u}}function s(u={}){return{id:t,onClose:i,open:n,...u}}return{open:n,isOpen:n,toggleModal:o,openModal:a,closeModal:i,onClose:i,getActivatorProps:l,getModalProps:s}},Z3=se.keyframes`
282
282
  0% {
283
283
  opacity: 0;
284
284
  }
@@ -331,7 +331,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
331
331
  ${({size:e})=>e&&`width: ${ii[e]} !important;`}
332
332
 
333
333
  ${bc}
334
- `;function n7({children:e,size:t,...n}){return ee(mg,{children:[w(e7,{}),w(t7,{size:t,...n,children:e})]})}const vc=`
334
+ `;function n7({children:e,size:t,...n}){return Q(mg,{children:[w(e7,{}),w(t7,{size:t,...n,children:e})]})}const vc=`
335
335
  font-family: ${p.font_family_pingo};
336
336
  font-style: normal;
337
337
  font-weight: 500;
@@ -392,7 +392,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
392
392
  `,d7=F.default(PT)`
393
393
  ${bc}
394
394
  width: ${e=>ii[e.size??"medium"]};
395
- `;function f7({children:e,size:t,...n}){return ee(ST,{children:[w(u7,{}),w(d7,{size:t,...n,children:e})]})}const p7=F.default(kT)`
395
+ `;function f7({children:e,size:t,...n}){return Q(ST,{children:[w(u7,{}),w(d7,{size:t,...n,children:e})]})}const p7=F.default(kT)`
396
396
  ${vc}
397
397
  `,g7=F.default(CT)`
398
398
  ${yc}
@@ -428,14 +428,14 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
428
428
  padding: ${p.spacing_100} ${p.spacing_200};
429
429
  font-size: ${p.font_size_175};
430
430
  `}}}
431
- `,w7={positive:{background:"hsl(143.1, 48%, 94.7%)",color:"hsl(155.68deg 88.1% 16.5%)"},pending:{background:"hsl(29deg 74% 53% / 8%)",color:"hsl(29deg 74% 53%)"},muted:{background:"hsl(0deg 0% 10% / 8%)",color:p.color_gray_56},info:{background:"hsl(217.4deg 81.6% 51% / 8%)",color:"hsl(218deg 84% 45%)"},negative:{background:"hsl(11deg 48% 85%)",color:"hsl(11deg 68% 55%)"},chip:{background:p.color_white,color:p.color_gray_opacity_92,border:p.color_gray_opacity_16}};function E7({children:e,size:t="large",variant:n="positive",as:r="div",...o}){const i={...Tt(o,Ut.propNames??[])},l=i.fontWeight,s=w7[n];return w(x7,{...i,$size:t,as:r,style:{"--badge-background-color":s.background,"--badge-color":s.color,"--badge-border-color":s.border??s.background,"--badge-font-weight":l??500},children:e})}const Te=typeof document<"u"?D.default.useLayoutEffect:()=>{};function Ce(e){const t=c.useRef(null);return Te(()=>{t.current=e},[e]),c.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}function S7(e){let[t,n]=c.useState(e),r=c.useRef(null),o=Ce(()=>{if(!r.current)return;let i=r.current.next();if(i.done){r.current=null;return}t===i.value?o():n(i.value)});Te(()=>{r.current&&o()});let a=Ce(i=>{r.current=i(t),o()});return[t,a]}const li={prefix:String(Math.round(Math.random()*1e10)),current:0},Em=D.default.createContext(li),D7=D.default.createContext(!1);let P7=!!(typeof window<"u"&&window.document&&window.document.createElement),_c=new WeakMap;function T7(e=!1){let t=c.useContext(Em),n=c.useRef(null);if(n.current===null&&!e){var r,o;let a=(o=D.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(r=o.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(a){let i=_c.get(a);i==null?_c.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,_c.delete(a))}n.current=++t.current}return n.current}function k7(e){let t=c.useContext(Em);t===li&&!P7&&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 n=T7(!!e),r=t===li&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${n}`}function C7(e){let t=D.default.useId(),[n]=c.useState(si()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${li.prefix}`;return e||`${r}-${t}`}const A7=typeof D.default.useId=="function"?C7:k7;function I7(){return!1}function O7(){return!0}function M7(e){return()=>{}}function si(){return typeof D.default.useSyncExternalStore=="function"?D.default.useSyncExternalStore(M7,I7,O7):c.useContext(D7)}let F7=!!(typeof window<"u"&&window.document&&window.document.createElement),ci=new Map;function ct(e){let[t,n]=c.useState(e),r=c.useRef(null),o=A7(t),a=c.useCallback(i=>{r.current=i},[]);return F7&&ci.set(o,a),Te(()=>{let i=o;return()=>{ci.delete(i)}},[o]),c.useEffect(()=>{let i=r.current;i&&(r.current=null,n(i))}),o}function L7(e,t){if(e===t)return e;let n=ci.get(e);if(n)return n(t),t;let r=ci.get(t);return r?(r(e),e):t}function Oo(e=[]){let t=ct(),[n,r]=S7(t),o=c.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Te(o,[t,o,...e]),n}function Gt(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const Pe=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},vt=e=>e&&"window"in e&&e.window===e?e:Pe(e).defaultView||window;function Sm(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Sm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function N7(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Sm(e))&&(r&&(r+=" "),r+=t);return r}function ge(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let o in r){let a=t[o],i=r[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Gt(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=N7(a,i):o==="id"&&a&&i?t.id=L7(a,i):t[o]=i!==void 0?i:a}}return t}const z7=new Set(["id"]),R7=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),K7=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),V7=/^(data-.*)$/;function $n(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(z7.has(i)||n&&R7.has(i)||r&&K7.has(i)||o!=null&&o.has(i)||V7.test(i))&&(a[i]=e[i]);return a}function Ot(e){if(B7())e.focus({preventScroll:!0});else{let t=j7(e);e.focus(),U7(t)}}let ui=null;function B7(){if(ui==null){ui=!1;try{document.createElement("div").focus({get preventScroll(){return ui=!0,!0}})}catch{}}return ui}function j7(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function U7(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function di(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function xc(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 Yt(e){let t=null;return()=>(t==null&&(t=e()),t)}const qt=Yt(function(){return xc(/^Mac/i)}),Dm=Yt(function(){return xc(/^iPhone/i)}),wc=Yt(function(){return xc(/^iPad/i)||qt()&&navigator.maxTouchPoints>1}),Mo=Yt(function(){return Dm()||wc()}),fi=Yt(function(){return qt()||Mo()}),Ec=Yt(function(){return di(/AppleWebKit/i)&&!W7()}),W7=Yt(function(){return di(/Chrome/i)}),Sc=Yt(function(){return di(/Android/i)}),H7=Yt(function(){return di(/Firefox/i)});function Fo(e,t,n=!0){var r,o;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;H7()&&(!((o=window.event)===null||o===void 0||(r=o.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(qt()?a=!0:i=!0);let u=Ec()&&qt()&&!wc()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});Fo.isOpening=n,Ot(e),e.dispatchEvent(u),Fo.isOpening=!1}Fo.isOpening=!1;let wr=new Map,Dc=new Set;function Pm(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{if(!e(r)||!r.target)return;let o=wr.get(r.target);o||(o=new Set,wr.set(r.target,o),r.target.addEventListener("transitioncancel",n,{once:!0})),o.add(r.propertyName)},n=r=>{if(!e(r)||!r.target)return;let o=wr.get(r.target);if(o&&(o.delete(r.propertyName),o.size===0&&(r.target.removeEventListener("transitioncancel",n),wr.delete(r.target)),wr.size===0)){for(let a of Dc)a();Dc.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?Pm():document.addEventListener("DOMContentLoaded",Pm));function Tm(e){requestAnimationFrame(()=>{wr.size===0?e():Dc.add(e)})}function Pc(){let e=c.useRef(new Map),t=c.useCallback((o,a,i,l)=>{let s=l!=null&&l.once?(...u)=>{e.current.delete(i),i(...u)}:i;e.current.set(i,{type:a,eventTarget:o,fn:s,options:l}),o.addEventListener(a,i,l)},[]),n=c.useCallback((o,a,i,l)=>{var s;let u=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;o.removeEventListener(a,u,l),e.current.delete(i)},[]),r=c.useCallback(()=>{e.current.forEach((o,a)=>{n(o.eventTarget,o.type,a,o.options)})},[n]);return c.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Er(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;return n=ct(n),o&&r?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!r&&!o&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":o}}function _n(e){const t=c.useRef(null);return c.useMemo(()=>({get current(){return t.current},set current(n){t.current=n,typeof e=="function"?e(n):e&&(e.current=n)}}),[e])}function km(e,t){const n=c.useRef(!0),r=c.useRef(null);c.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),c.useEffect(()=>{n.current?n.current=!1:(!r.current||t.some((o,a)=>!Object.is(o,r[a])))&&e(),r.current=t},t)}function G7(){return typeof window.ResizeObserver<"u"}function Cm(e){const{ref:t,box:n,onResize:r}=e;c.useEffect(()=>{let o=t==null?void 0:t.current;if(o)if(G7()){const a=new window.ResizeObserver(i=>{i.length&&r()});return a.observe(o,{box:n}),()=>{o&&a.unobserve(o)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t,n])}function Am(e,t){Te(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Lo(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function Tc(e,t){let n=e;for(Lo(n,t)&&(n=n.parentElement);n&&!Lo(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function Y7(e,t){const n=[];for(;e&&e!==document.documentElement;)Lo(e,t)&&n.push(e),e=e.parentElement;return n}let q7=0;const kc=new Map;function Cc(e){let[t,n]=c.useState();return Te(()=>{if(!e)return;let r=kc.get(e);if(r)n(r.element.id);else{let o=`react-aria-description-${q7++}`;n(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),r={refCount:0,element:a},kc.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),kc.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Sr(e,t,n,r){let o=Ce(n),a=n==null;c.useEffect(()=>{if(a||!e.current)return;let i=e.current;return i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}},[e,t,r,a,o])}function Im(e,t){let n=Om(e,t,"left"),r=Om(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:u}=getComputedStyle(e),d=e.scrollLeft+parseInt(u,10),f=e.scrollTop+parseInt(s,10),m=d+e.clientWidth,g=f+e.clientHeight;n<=i?i=n-parseInt(u,10):n+o>m&&(i+=n+o-m),r<=f?l=r-parseInt(s,10):r+a>g&&(l+=r+a-g),e.scrollLeft=i,e.scrollTop=l}function Om(e,t,n){const r=n==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function Ac(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=Y7(e);for(let u of s)Im(u,e)}else{var n;let{left:s,top:u}=e.getBoundingClientRect();e==null||(n=e.scrollIntoView)===null||n===void 0||n.call(e,{block:"nearest"});let{left:d,top:f}=e.getBoundingClientRect();if(Math.abs(s-d)>1||Math.abs(u-f)>1){var r,o,a;t==null||(o=t.containingElement)===null||o===void 0||(r=o.scrollIntoView)===null||r===void 0||r.call(o,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function Ic(e){return e.mozInputSource===0&&e.isTrusted?!0:Sc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function X7(e){return!Sc()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Mm(e,t){let n=c.useRef(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function J7(e,t,n){let r=c.useRef(t),o=Ce(()=>{n&&n(r.current)});c.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",o),()=>{i==null||i.removeEventListener("reset",o)}},[e,o])}function Mt(e,t,n){let[r,o]=c.useState(e||t),a=c.useRef(e!==void 0),i=e!==void 0;c.useEffect(()=>{let u=a.current;u!==i&&console.warn(`WARN: A component changed from ${u?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let l=i?e:r,s=c.useCallback((u,...d)=>{let f=(m,...g)=>{n&&(Object.is(l,m)||n(m,...g)),i||(l=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((g,...h)=>{let b=u(i?l:g,...h);return f(b,...d),i?g:b})):(i||o(u),f(u,...d))},[i,l,n]);return[l,s]}function pi(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function gi(e,t){let n=e,r=t.toString(),o=r.indexOf("."),a=o>=0?r.length-o:0;if(a>0){let i=Math.pow(10,a);n=Math.round(n*i)/i}return n}function jn(e,t,n,r){t=Number(t),n=Number(n);let o=(e-(isNaN(t)?0:t))%r,a=gi(Math.abs(o)*2>=r?e+Math.sign(o)*(r-Math.abs(o)):e-o,r);return isNaN(t)?!isNaN(n)&&a>n&&(a=Math.floor(gi(n/r,r))*r):a<t?a=t:!isNaN(n)&&a>n&&(a=t+Math.floor(gi((n-t)/r,r))*r),a=gi(a,r),a}let Dr="default",Oc="",mi=new WeakMap;function Fm(e){if(Mo()){if(Dr==="default"){const t=Pe(e);Oc=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Dr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(mi.set(e,e.style.userSelect),e.style.userSelect="none")}function hi(e){if(Mo()){if(Dr!=="disabled")return;Dr="restoring",setTimeout(()=>{Tm(()=>{if(Dr==="restoring"){const t=Pe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Oc||""),Oc="",Dr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&mi.has(e)){let t=mi.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),mi.delete(e)}}const Mc=D.default.createContext({register:()=>{}});Mc.displayName="PressResponderContext";function Z7(e,t){return t.get?t.get.call(e):t.value}function Lm(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function Q7(e,t){var n=Lm(e,t,"get");return Z7(e,n)}function ek(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function No(e,t,n){ek(e,t),t.set(e,n)}function tk(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Nm(e,t,n){var r=Lm(e,t,"set");return tk(e,r,n),n}function nk(e){let t=c.useContext(Mc);if(t){let{register:n,...r}=t;e=ge(r,e),n()}return Am(t,e.ref),e}var bi=new WeakMap;class vi{continuePropagation(){Nm(this,bi,!1)}get shouldStopPropagation(){return Q7(this,bi)}constructor(t,n,r,o){No(this,bi,{writable:!0,value:void 0}),Nm(this,bi,!0);var a;let i=(a=o==null?void 0:o.target)!==null&&a!==void 0?a:r.currentTarget;const l=i==null?void 0:i.getBoundingClientRect();let s,u=0,d,f=null;r.clientX!=null&&r.clientY!=null&&(d=r.clientX,f=r.clientY),l&&(d!=null&&f!=null?(s=d-l.left,u=f-l.top):(s=l.width/2,u=l.height/2)),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=s,this.y=u}}const zm=Symbol("linkClicked");function Pr(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...m}=nk(e),[g,h]=c.useState(!1),b=c.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:v,removeAllGlobalListeners:_}=Pc(),y=Ce(($,C)=>{let z=b.current;if(i||z.didFirePressStart)return!1;let E=!0;if(z.isTriggeringEvent=!0,r){let K=new vi("pressstart",C,$);r(K),E=K.shouldStopPropagation}return n&&n(!0),z.isTriggeringEvent=!1,z.didFirePressStart=!0,h(!0),E}),x=Ce(($,C,z=!0)=>{let E=b.current;if(!E.didFirePressStart)return!1;E.ignoreClickAfterPress=!0,E.didFirePressStart=!1,E.isTriggeringEvent=!0;let K=!0;if(o){let I=new vi("pressend",C,$);o(I),K=I.shouldStopPropagation}if(n&&n(!1),h(!1),t&&z&&!i){let I=new vi("press",C,$);t(I),K&&(K=I.shouldStopPropagation)}return E.isTriggeringEvent=!1,K}),S=Ce(($,C)=>{let z=b.current;if(i)return!1;if(a){z.isTriggeringEvent=!0;let E=new vi("pressup",C,$);return a(E),z.isTriggeringEvent=!1,E.shouldStopPropagation}return!0}),T=Ce($=>{let C=b.current;C.isPressed&&C.target&&(C.isOverTarget&&C.pointerType!=null&&x(Xt(C.target,$),C.pointerType,!1),C.isPressed=!1,C.isOverTarget=!1,C.activePointerId=null,C.pointerType=null,_(),d||hi(C.target))}),P=Ce($=>{u&&T($)}),M=c.useMemo(()=>{let $=b.current,C={onKeyDown(E){if(Lc(E.nativeEvent,E.currentTarget)&&E.currentTarget.contains(E.target)){var K;Km(E.target,E.key)&&E.preventDefault();let I=!0;if(!$.isPressed&&!E.repeat){$.target=E.currentTarget,$.isPressed=!0,I=y(E,"keyboard");let k=E.currentTarget,j=O=>{Lc(O,k)&&!O.repeat&&k.contains(O.target)&&$.target&&S(Xt($.target,O),"keyboard")};v(Pe(E.currentTarget),"keyup",Gt(j,z),!0)}I&&E.stopPropagation(),E.metaKey&&qt()&&((K=$.metaKeyEvents)===null||K===void 0||K.set(E.key,E.nativeEvent))}else E.key==="Meta"&&($.metaKeyEvents=new Map)},onClick(E){if(!(E&&!E.currentTarget.contains(E.target))&&E&&E.button===0&&!$.isTriggeringEvent&&!Fo.isOpening){let K=!0;if(i&&E.preventDefault(),!$.ignoreClickAfterPress&&!$.ignoreEmulatedMouseEvents&&!$.isPressed&&($.pointerType==="virtual"||Ic(E.nativeEvent))){!i&&!s&&Ot(E.currentTarget);let I=y(E,"virtual"),k=S(E,"virtual"),j=x(E,"virtual");K=I&&k&&j}$.ignoreEmulatedMouseEvents=!1,$.ignoreClickAfterPress=!1,K&&E.stopPropagation()}}},z=E=>{var K;if($.isPressed&&$.target&&Lc(E,$.target)){var I;Km(E.target,E.key)&&E.preventDefault();let j=E.target;x(Xt($.target,E),"keyboard",$.target.contains(j)),_(),E.key!=="Enter"&&Fc($.target)&&$.target.contains(j)&&!E[zm]&&(E[zm]=!0,Fo($.target,E,!1)),$.isPressed=!1,(I=$.metaKeyEvents)===null||I===void 0||I.delete(E.key)}else if(E.key==="Meta"&&(!((K=$.metaKeyEvents)===null||K===void 0)&&K.size)){var k;let j=$.metaKeyEvents;$.metaKeyEvents=void 0;for(let O of j.values())(k=$.target)===null||k===void 0||k.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){C.onPointerDown=k=>{if(k.button!==0||!k.currentTarget.contains(k.target))return;if(X7(k.nativeEvent)){$.pointerType="virtual";return}Nc(k.currentTarget)&&k.preventDefault(),$.pointerType=k.pointerType;let j=!0;$.isPressed||($.isPressed=!0,$.isOverTarget=!0,$.activePointerId=k.pointerId,$.target=k.currentTarget,!i&&!s&&Ot(k.currentTarget),d||Fm($.target),j=y(k,$.pointerType),v(Pe(k.currentTarget),"pointermove",E,!1),v(Pe(k.currentTarget),"pointerup",K,!1),v(Pe(k.currentTarget),"pointercancel",I,!1)),j&&k.stopPropagation()},C.onMouseDown=k=>{k.currentTarget.contains(k.target)&&k.button===0&&(Nc(k.currentTarget)&&k.preventDefault(),k.stopPropagation())},C.onPointerUp=k=>{!k.currentTarget.contains(k.target)||$.pointerType==="virtual"||k.button===0&&Tr(k,k.currentTarget)&&S(k,$.pointerType||k.pointerType)};let E=k=>{k.pointerId===$.activePointerId&&($.target&&Tr(k,$.target)?!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,y(Xt($.target,k),$.pointerType)):$.target&&$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,x(Xt($.target,k),$.pointerType,!1),P(k)))},K=k=>{k.pointerId===$.activePointerId&&$.isPressed&&k.button===0&&$.target&&(Tr(k,$.target)&&$.pointerType!=null?x(Xt($.target,k),$.pointerType):$.isOverTarget&&$.pointerType!=null&&x(Xt($.target,k),$.pointerType,!1),$.isPressed=!1,$.isOverTarget=!1,$.activePointerId=null,$.pointerType=null,_(),d||hi($.target))},I=k=>{T(k)};C.onDragStart=k=>{k.currentTarget.contains(k.target)&&T(k)}}else{C.onMouseDown=I=>{if(I.button!==0||!I.currentTarget.contains(I.target))return;if(Nc(I.currentTarget)&&I.preventDefault(),$.ignoreEmulatedMouseEvents){I.stopPropagation();return}$.isPressed=!0,$.isOverTarget=!0,$.target=I.currentTarget,$.pointerType=Ic(I.nativeEvent)?"virtual":"mouse",!i&&!s&&Ot(I.currentTarget),y(I,$.pointerType)&&I.stopPropagation(),v(Pe(I.currentTarget),"mouseup",E,!1)},C.onMouseEnter=I=>{if(!I.currentTarget.contains(I.target))return;let k=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!0,k=y(I,$.pointerType)),k&&I.stopPropagation()},C.onMouseLeave=I=>{if(!I.currentTarget.contains(I.target))return;let k=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!1,k=x(I,$.pointerType,!1),P(I)),k&&I.stopPropagation()},C.onMouseUp=I=>{I.currentTarget.contains(I.target)&&!$.ignoreEmulatedMouseEvents&&I.button===0&&S(I,$.pointerType||"mouse")};let E=I=>{if(I.button===0){if($.isPressed=!1,_(),$.ignoreEmulatedMouseEvents){$.ignoreEmulatedMouseEvents=!1;return}$.target&&Tr(I,$.target)&&$.pointerType!=null?x(Xt($.target,I),$.pointerType):$.target&&$.isOverTarget&&$.pointerType!=null&&x(Xt($.target,I),$.pointerType,!1),$.isOverTarget=!1}};C.onTouchStart=I=>{if(!I.currentTarget.contains(I.target))return;let k=rk(I.nativeEvent);if(!k)return;$.activePointerId=k.identifier,$.ignoreEmulatedMouseEvents=!0,$.isOverTarget=!0,$.isPressed=!0,$.target=I.currentTarget,$.pointerType="touch",!i&&!s&&Ot(I.currentTarget),d||Fm($.target),y(xn($.target,I),$.pointerType)&&I.stopPropagation(),v(vt(I.currentTarget),"scroll",K,!0)},C.onTouchMove=I=>{if(!I.currentTarget.contains(I.target))return;if(!$.isPressed){I.stopPropagation();return}let k=Rm(I.nativeEvent,$.activePointerId),j=!0;k&&Tr(k,I.currentTarget)?!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,j=y(xn($.target,I),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,j=x(xn($.target,I),$.pointerType,!1),P(xn($.target,I))),j&&I.stopPropagation()},C.onTouchEnd=I=>{if(!I.currentTarget.contains(I.target))return;if(!$.isPressed){I.stopPropagation();return}let k=Rm(I.nativeEvent,$.activePointerId),j=!0;k&&Tr(k,I.currentTarget)&&$.pointerType!=null?(S(xn($.target,I),$.pointerType),j=x(xn($.target,I),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&(j=x(xn($.target,I),$.pointerType,!1)),j&&I.stopPropagation(),$.isPressed=!1,$.activePointerId=null,$.isOverTarget=!1,$.ignoreEmulatedMouseEvents=!0,$.target&&!d&&hi($.target),_()},C.onTouchCancel=I=>{I.currentTarget.contains(I.target)&&(I.stopPropagation(),$.isPressed&&T(xn($.target,I)))};let K=I=>{$.isPressed&&I.target.contains($.target)&&T({currentTarget:$.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};C.onDragStart=I=>{I.currentTarget.contains(I.target)&&T(I)}}return C},[v,i,s,_,d,T,P,x,y,S]);return c.useEffect(()=>()=>{var $;d||hi(($=b.current.target)!==null&&$!==void 0?$:void 0)},[d]),{isPressed:l||g,pressProps:ge(m,M)}}function Fc(e){return e.tagName==="A"&&e.hasAttribute("href")}function Lc(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof vt(o).HTMLInputElement&&!Vm(o,n)||o instanceof vt(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Fc(o))&&n!=="Enter")}function rk(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Rm(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const o=n[r];if(o.identifier===t)return o}return null}function xn(e,t){let n=0,r=0;return t.targetTouches&&t.targetTouches.length===1&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function Xt(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function ok(e){let t=0,n=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?n=e.height/2:e.radiusY!==void 0&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function ak(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Tr(e,t){let n=t.getBoundingClientRect(),r=ok(e);return ak(n,r)}function Nc(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Km(e,t){return e instanceof HTMLInputElement?!Vm(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Fc(e)}const ik=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Vm(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":ik.has(e.type)}function lk({children:e}){let t=c.useMemo(()=>({register:()=>{}}),[]);return D.default.createElement(Mc.Provider,{value:t},e)}class sk{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,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function Bm(e){let t=c.useRef({isFocused:!1,observer:null});Te(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Ce(r=>{e==null||e(r)});return c.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,a=i=>{t.current.isFocused=!1,o.disabled&&n(new sk("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function zc(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const a=c.useCallback(s=>{if(s.target===s.currentTarget)return r&&r(s),o&&o(!1),!0},[r,o]),i=Bm(a),l=c.useCallback(s=>{const u=Pe(s.target);s.target===s.currentTarget&&u.activeElement===s.target&&(n&&n(s),o&&o(!0),i(s))},[o,n,i]);return{focusProps:{onFocus:!t&&(n||o||r)?l:void 0,onBlur:!t&&(r||o)?a:void 0}}}let Jt=null,zo=new Set,Ro=new Map,Un=!1,Rc=!1;const ck={Tab:!0,Escape:!0};function yi(e,t){for(let n of zo)n(e,t)}function uk(e){return!(e.metaKey||!qt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function $i(e){Un=!0,uk(e)&&(Jt="keyboard",yi("keyboard",e))}function ut(e){Jt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Un=!0,yi("pointer",e))}function jm(e){Ic(e)&&(Un=!0,Jt="virtual")}function Um(e){e.target===window||e.target===document||(!Un&&!Rc&&(Jt="virtual",yi("virtual",e)),Un=!1,Rc=!1)}function Wm(){Un=!1,Rc=!0}function _i(e){if(typeof window>"u"||Ro.get(vt(e)))return;const t=vt(e),n=Pe(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Un=!0,r.apply(this,arguments)},n.addEventListener("keydown",$i,!0),n.addEventListener("keyup",$i,!0),n.addEventListener("click",jm,!0),t.addEventListener("focus",Um,!0),t.addEventListener("blur",Wm,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",ut,!0),n.addEventListener("pointermove",ut,!0),n.addEventListener("pointerup",ut,!0)):(n.addEventListener("mousedown",ut,!0),n.addEventListener("mousemove",ut,!0),n.addEventListener("mouseup",ut,!0)),t.addEventListener("beforeunload",()=>{Hm(e)},{once:!0}),Ro.set(t,{focus:r})}const Hm=(e,t)=>{const n=vt(e),r=Pe(e);t&&r.removeEventListener("DOMContentLoaded",t),Ro.has(n)&&(n.HTMLElement.prototype.focus=Ro.get(n).focus,r.removeEventListener("keydown",$i,!0),r.removeEventListener("keyup",$i,!0),r.removeEventListener("click",jm,!0),n.removeEventListener("focus",Um,!0),n.removeEventListener("blur",Wm,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",ut,!0),r.removeEventListener("pointermove",ut,!0),r.removeEventListener("pointerup",ut,!0)):(r.removeEventListener("mousedown",ut,!0),r.removeEventListener("mousemove",ut,!0),r.removeEventListener("mouseup",ut,!0)),Ro.delete(n))};function dk(e){const t=Pe(e);let n;return t.readyState!=="loading"?_i(e):(n=()=>{_i(e)},t.addEventListener("DOMContentLoaded",n)),()=>Hm(e,n)}typeof document<"u"&&dk();function xi(){return Jt!=="pointer"}function wi(){return Jt}function Kc(e){Jt=e,yi(e,null)}function Gm(){_i();let[e,t]=c.useState(Jt);return c.useEffect(()=>{let n=()=>{t(Jt)};return zo.add(n),()=>{zo.delete(n)}},[]),si()?null:e}const fk=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function pk(e,t,n){var r;const o=typeof window<"u"?vt(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?vt(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?vt(n==null?void 0:n.target).HTMLElement:HTMLElement,l=typeof window<"u"?vt(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||(n==null?void 0:n.target)instanceof o&&!fk.has(n==null||(r=n.target)===null||r===void 0?void 0:r.type)||(n==null?void 0:n.target)instanceof a||(n==null?void 0:n.target)instanceof i&&(n==null?void 0:n.target.isContentEditable),!(e&&t==="keyboard"&&n instanceof l&&!ck[n.key])}function gk(e,t,n){_i(),c.useEffect(()=>{let r=(o,a)=>{pk(!!(n!=null&&n.isTextInput),o,a)&&e(xi())};return zo.add(r),()=>{zo.delete(r)}},t)}function Ko(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,a=c.useRef({isFocusWithin:!1}),i=c.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(u),o&&o(!1))},[n,o,a]),l=Bm(i),s=c.useCallback(u=>{!a.current.isFocusWithin&&document.activeElement===u.target&&(r&&r(u),o&&o(!0),a.current.isFocusWithin=!0,l(u))},[r,o,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:i}}}let Ei=!1,Vc=0;function Bc(){Ei=!0,setTimeout(()=>{Ei=!1},50)}function Ym(e){e.pointerType==="touch"&&Bc()}function mk(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Ym):document.addEventListener("touchend",Bc),Vc++,()=>{Vc--,!(Vc>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Ym):document.removeEventListener("touchend",Bc))}}function hk(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[a,i]=c.useState(!1),l=c.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;c.useEffect(mk,[]);let{hoverProps:s,triggerHoverEnd:u}=c.useMemo(()=>{let d=(g,h)=>{if(l.pointerType=h,o||h==="touch"||l.isHovered||!g.currentTarget.contains(g.target))return;l.isHovered=!0;let b=g.currentTarget;l.target=b,t&&t({type:"hoverstart",target:b,pointerType:h}),n&&n(!0),i(!0)},f=(g,h)=>{if(l.pointerType="",l.target=null,h==="touch"||!l.isHovered)return;l.isHovered=!1;let b=g.currentTarget;r&&r({type:"hoverend",target:b,pointerType:h}),n&&n(!1),i(!1)},m={};return typeof PointerEvent<"u"?(m.onPointerEnter=g=>{Ei&&g.pointerType==="mouse"||d(g,g.pointerType)},m.onPointerLeave=g=>{!o&&g.currentTarget.contains(g.target)&&f(g,g.pointerType)}):(m.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},m.onMouseEnter=g=>{!l.ignoreEmulatedMouseEvents&&!Ei&&d(g,"mouse"),l.ignoreEmulatedMouseEvents=!1},m.onMouseLeave=g=>{!o&&g.currentTarget.contains(g.target)&&f(g,"mouse")}),{hoverProps:m,triggerHoverEnd:f}},[t,n,r,o,l]);return c.useEffect(()=>{o&&u({currentTarget:l.target},l.pointerType)},[o]),{hoverProps:s,isHovered:a}}function bk(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:o}=e,a=c.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Ce(s=>{n&&Si(s,t)&&(o&&o(s),a.current.isPointerDown=!0)}),l=Ce(s=>{n&&n(s)});c.useEffect(()=>{let s=a.current;if(r)return;const u=t.current,d=Pe(u);if(typeof PointerEvent<"u"){let f=m=>{s.isPointerDown&&Si(m,t)&&l(m),s.isPointerDown=!1};return d.addEventListener("pointerdown",i,!0),d.addEventListener("pointerup",f,!0),()=>{d.removeEventListener("pointerdown",i,!0),d.removeEventListener("pointerup",f,!0)}}else{let f=g=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Si(g,t)&&l(g),s.isPointerDown=!1},m=g=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Si(g,t)&&l(g),s.isPointerDown=!1};return d.addEventListener("mousedown",i,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",i,!0),d.addEventListener("touchend",m,!0),()=>{d.removeEventListener("mousedown",i,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",i,!0),d.removeEventListener("touchend",m,!0)}}},[t,r,i,l])}function Si(e,t){if(e.button>0)return!1;if(e.target){const n=e.target.ownerDocument;if(!n||!n.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function qm(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.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(r),t&&n.stopPropagation()}}function vk(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:qm(e.onKeyDown),onKeyUp:qm(e.onKeyUp)}}}function yk(e,t){let{onScroll:n,isDisabled:r}=e,o=c.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),n&&n({deltaX:a.deltaX,deltaY:a.deltaY}))},[n]);Sr(t,"wheel",r?void 0:o)}const $k=500;function Xm(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:a=$k,accessibilityDescription:i}=e;const l=c.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:u}=Pc(),{pressProps:d}=Pr({isDisabled:t,onPressStart(m){if(m.continuePropagation(),(m.pointerType==="mouse"||m.pointerType==="touch")&&(n&&n({...m,type:"longpressstart"}),l.current=setTimeout(()=>{m.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...m,type:"longpress"}),l.current=void 0},a),m.pointerType==="touch")){let g=h=>{h.preventDefault()};s(m.target,"contextmenu",g,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{u(m.target,"contextmenu",g)},30)},{once:!0})}},onPressEnd(m){l.current&&clearTimeout(l.current),r&&(m.pointerType==="mouse"||m.pointerType==="touch")&&r({...m,type:"longpressend"})}}),f=Cc(o&&!t?i:void 0);return{longPressProps:ge(d,f)}}const Jm={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Zm(e={}){let{style:t,isFocusable:n}=e,[r,o]=c.useState(!1),{focusWithinProps:a}=Ko({isDisabled:!n,onFocusWithinChange:l=>o(l)}),i=c.useMemo(()=>r?t:t?{...Jm,...t}:Jm,[r]);return{visuallyHiddenProps:{...a,style:i}}}function Di(e){let{children:t,elementType:n="div",isFocusable:r,style:o,...a}=e,{visuallyHiddenProps:i}=Zm(e);return D.default.createElement(n,ge(a,i),t)}const _k=F.default(Be)`
431
+ `,w7={positive:{background:"hsl(143.1, 48%, 94.7%)",color:"hsl(155.68deg 88.1% 16.5%)"},pending:{background:"hsl(29deg 74% 53% / 8%)",color:"hsl(29deg 74% 53%)"},muted:{background:"hsl(0deg 0% 10% / 8%)",color:p.color_gray_56},info:{background:"hsl(217.4deg 81.6% 51% / 8%)",color:"hsl(218deg 84% 45%)"},negative:{background:"hsl(11deg 48% 85%)",color:"hsl(11deg 68% 55%)"},chip:{background:p.color_white,color:p.color_gray_opacity_92,border:p.color_gray_opacity_16}};function E7({children:e,size:t="large",variant:n="positive",as:r="div",...o}){const i={...kt(o,Wt.propNames??[])},l=i.fontWeight,s=w7[n];return w(x7,{...i,$size:t,as:r,style:{"--badge-background-color":s.background,"--badge-color":s.color,"--badge-border-color":s.border??s.background,"--badge-font-weight":l??500},children:e})}const Te=typeof document<"u"?D.default.useLayoutEffect:()=>{};function Ce(e){const t=c.useRef(null);return Te(()=>{t.current=e},[e]),c.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}function S7(e){let[t,n]=c.useState(e),r=c.useRef(null),o=Ce(()=>{if(!r.current)return;let i=r.current.next();if(i.done){r.current=null;return}t===i.value?o():n(i.value)});Te(()=>{r.current&&o()});let a=Ce(i=>{r.current=i(t),o()});return[t,a]}const li={prefix:String(Math.round(Math.random()*1e10)),current:0},Em=D.default.createContext(li),D7=D.default.createContext(!1);let P7=!!(typeof window<"u"&&window.document&&window.document.createElement),_c=new WeakMap;function T7(e=!1){let t=c.useContext(Em),n=c.useRef(null);if(n.current===null&&!e){var r,o;let a=(o=D.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(r=o.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(a){let i=_c.get(a);i==null?_c.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,_c.delete(a))}n.current=++t.current}return n.current}function k7(e){let t=c.useContext(Em);t===li&&!P7&&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 n=T7(!!e),r=t===li&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${n}`}function C7(e){let t=D.default.useId(),[n]=c.useState(si()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${li.prefix}`;return e||`${r}-${t}`}const A7=typeof D.default.useId=="function"?C7:k7;function I7(){return!1}function O7(){return!0}function M7(e){return()=>{}}function si(){return typeof D.default.useSyncExternalStore=="function"?D.default.useSyncExternalStore(M7,I7,O7):c.useContext(D7)}let F7=!!(typeof window<"u"&&window.document&&window.document.createElement),ci=new Map;function ct(e){let[t,n]=c.useState(e),r=c.useRef(null),o=A7(t),a=c.useCallback(i=>{r.current=i},[]);return F7&&ci.set(o,a),Te(()=>{let i=o;return()=>{ci.delete(i)}},[o]),c.useEffect(()=>{let i=r.current;i&&(r.current=null,n(i))}),o}function L7(e,t){if(e===t)return e;let n=ci.get(e);if(n)return n(t),t;let r=ci.get(t);return r?(r(e),e):t}function Oo(e=[]){let t=ct(),[n,r]=S7(t),o=c.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Te(o,[t,o,...e]),n}function Yt(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const Pe=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},vt=e=>e&&"window"in e&&e.window===e?e:Pe(e).defaultView||window;function Sm(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Sm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function N7(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Sm(e))&&(r&&(r+=" "),r+=t);return r}function me(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let o in r){let a=t[o],i=r[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Yt(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=N7(a,i):o==="id"&&a&&i?t.id=L7(a,i):t[o]=i!==void 0?i:a}}return t}const z7=new Set(["id"]),R7=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),K7=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),V7=/^(data-.*)$/;function _n(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(z7.has(i)||n&&R7.has(i)||r&&K7.has(i)||o!=null&&o.has(i)||V7.test(i))&&(a[i]=e[i]);return a}function Mt(e){if(B7())e.focus({preventScroll:!0});else{let t=j7(e);e.focus(),U7(t)}}let ui=null;function B7(){if(ui==null){ui=!1;try{document.createElement("div").focus({get preventScroll(){return ui=!0,!0}})}catch{}}return ui}function j7(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function U7(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function di(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function xc(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 qt(e){let t=null;return()=>(t==null&&(t=e()),t)}const Xt=qt(function(){return xc(/^Mac/i)}),Dm=qt(function(){return xc(/^iPhone/i)}),wc=qt(function(){return xc(/^iPad/i)||Xt()&&navigator.maxTouchPoints>1}),Mo=qt(function(){return Dm()||wc()}),fi=qt(function(){return Xt()||Mo()}),Ec=qt(function(){return di(/AppleWebKit/i)&&!W7()}),W7=qt(function(){return di(/Chrome/i)}),Sc=qt(function(){return di(/Android/i)}),H7=qt(function(){return di(/Firefox/i)});function Fo(e,t,n=!0){var r,o;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;H7()&&(!((o=window.event)===null||o===void 0||(r=o.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(Xt()?a=!0:i=!0);let u=Ec()&&Xt()&&!wc()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});Fo.isOpening=n,Mt(e),e.dispatchEvent(u),Fo.isOpening=!1}Fo.isOpening=!1;let wr=new Map,Dc=new Set;function Pm(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{if(!e(r)||!r.target)return;let o=wr.get(r.target);o||(o=new Set,wr.set(r.target,o),r.target.addEventListener("transitioncancel",n,{once:!0})),o.add(r.propertyName)},n=r=>{if(!e(r)||!r.target)return;let o=wr.get(r.target);if(o&&(o.delete(r.propertyName),o.size===0&&(r.target.removeEventListener("transitioncancel",n),wr.delete(r.target)),wr.size===0)){for(let a of Dc)a();Dc.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?Pm():document.addEventListener("DOMContentLoaded",Pm));function Tm(e){requestAnimationFrame(()=>{wr.size===0?e():Dc.add(e)})}function Pc(){let e=c.useRef(new Map),t=c.useCallback((o,a,i,l)=>{let s=l!=null&&l.once?(...u)=>{e.current.delete(i),i(...u)}:i;e.current.set(i,{type:a,eventTarget:o,fn:s,options:l}),o.addEventListener(a,i,l)},[]),n=c.useCallback((o,a,i,l)=>{var s;let u=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;o.removeEventListener(a,u,l),e.current.delete(i)},[]),r=c.useCallback(()=>{e.current.forEach((o,a)=>{n(o.eventTarget,o.type,a,o.options)})},[n]);return c.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Er(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;return n=ct(n),o&&r?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!r&&!o&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":o}}function xn(e){const t=c.useRef(null);return c.useMemo(()=>({get current(){return t.current},set current(n){t.current=n,typeof e=="function"?e(n):e&&(e.current=n)}}),[e])}function km(e,t){const n=c.useRef(!0),r=c.useRef(null);c.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),c.useEffect(()=>{n.current?n.current=!1:(!r.current||t.some((o,a)=>!Object.is(o,r[a])))&&e(),r.current=t},t)}function G7(){return typeof window.ResizeObserver<"u"}function Cm(e){const{ref:t,box:n,onResize:r}=e;c.useEffect(()=>{let o=t==null?void 0:t.current;if(o)if(G7()){const a=new window.ResizeObserver(i=>{i.length&&r()});return a.observe(o,{box:n}),()=>{o&&a.unobserve(o)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t,n])}function Am(e,t){Te(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Lo(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function Tc(e,t){let n=e;for(Lo(n,t)&&(n=n.parentElement);n&&!Lo(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function Y7(e,t){const n=[];for(;e&&e!==document.documentElement;)Lo(e,t)&&n.push(e),e=e.parentElement;return n}let q7=0;const kc=new Map;function Cc(e){let[t,n]=c.useState();return Te(()=>{if(!e)return;let r=kc.get(e);if(r)n(r.element.id);else{let o=`react-aria-description-${q7++}`;n(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),r={refCount:0,element:a},kc.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),kc.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Sr(e,t,n,r){let o=Ce(n),a=n==null;c.useEffect(()=>{if(a||!e.current)return;let i=e.current;return i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}},[e,t,r,a,o])}function Im(e,t){let n=Om(e,t,"left"),r=Om(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:u}=getComputedStyle(e),d=e.scrollLeft+parseInt(u,10),f=e.scrollTop+parseInt(s,10),m=d+e.clientWidth,g=f+e.clientHeight;n<=i?i=n-parseInt(u,10):n+o>m&&(i+=n+o-m),r<=f?l=r-parseInt(s,10):r+a>g&&(l+=r+a-g),e.scrollLeft=i,e.scrollTop=l}function Om(e,t,n){const r=n==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function Ac(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=Y7(e);for(let u of s)Im(u,e)}else{var n;let{left:s,top:u}=e.getBoundingClientRect();e==null||(n=e.scrollIntoView)===null||n===void 0||n.call(e,{block:"nearest"});let{left:d,top:f}=e.getBoundingClientRect();if(Math.abs(s-d)>1||Math.abs(u-f)>1){var r,o,a;t==null||(o=t.containingElement)===null||o===void 0||(r=o.scrollIntoView)===null||r===void 0||r.call(o,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function Ic(e){return e.mozInputSource===0&&e.isTrusted?!0:Sc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function X7(e){return!Sc()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Mm(e,t){let n=c.useRef(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function J7(e,t,n){let r=c.useRef(t),o=Ce(()=>{n&&n(r.current)});c.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",o),()=>{i==null||i.removeEventListener("reset",o)}},[e,o])}function Ft(e,t,n){let[r,o]=c.useState(e||t),a=c.useRef(e!==void 0),i=e!==void 0;c.useEffect(()=>{let u=a.current;u!==i&&console.warn(`WARN: A component changed from ${u?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let l=i?e:r,s=c.useCallback((u,...d)=>{let f=(m,...g)=>{n&&(Object.is(l,m)||n(m,...g)),i||(l=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((g,...h)=>{let b=u(i?l:g,...h);return f(b,...d),i?g:b})):(i||o(u),f(u,...d))},[i,l,n]);return[l,s]}function pi(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function gi(e,t){let n=e,r=t.toString(),o=r.indexOf("."),a=o>=0?r.length-o:0;if(a>0){let i=Math.pow(10,a);n=Math.round(n*i)/i}return n}function jn(e,t,n,r){t=Number(t),n=Number(n);let o=(e-(isNaN(t)?0:t))%r,a=gi(Math.abs(o)*2>=r?e+Math.sign(o)*(r-Math.abs(o)):e-o,r);return isNaN(t)?!isNaN(n)&&a>n&&(a=Math.floor(gi(n/r,r))*r):a<t?a=t:!isNaN(n)&&a>n&&(a=t+Math.floor(gi((n-t)/r,r))*r),a=gi(a,r),a}let Dr="default",Oc="",mi=new WeakMap;function Fm(e){if(Mo()){if(Dr==="default"){const t=Pe(e);Oc=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Dr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(mi.set(e,e.style.userSelect),e.style.userSelect="none")}function hi(e){if(Mo()){if(Dr!=="disabled")return;Dr="restoring",setTimeout(()=>{Tm(()=>{if(Dr==="restoring"){const t=Pe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Oc||""),Oc="",Dr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&mi.has(e)){let t=mi.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),mi.delete(e)}}const Mc=D.default.createContext({register:()=>{}});Mc.displayName="PressResponderContext";function Z7(e,t){return t.get?t.get.call(e):t.value}function Lm(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function Q7(e,t){var n=Lm(e,t,"get");return Z7(e,n)}function ek(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function No(e,t,n){ek(e,t),t.set(e,n)}function tk(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Nm(e,t,n){var r=Lm(e,t,"set");return tk(e,r,n),n}function nk(e){let t=c.useContext(Mc);if(t){let{register:n,...r}=t;e=me(r,e),n()}return Am(t,e.ref),e}var bi=new WeakMap;class vi{continuePropagation(){Nm(this,bi,!1)}get shouldStopPropagation(){return Q7(this,bi)}constructor(t,n,r,o){No(this,bi,{writable:!0,value:void 0}),Nm(this,bi,!0);var a;let i=(a=o==null?void 0:o.target)!==null&&a!==void 0?a:r.currentTarget;const l=i==null?void 0:i.getBoundingClientRect();let s,u=0,d,f=null;r.clientX!=null&&r.clientY!=null&&(d=r.clientX,f=r.clientY),l&&(d!=null&&f!=null?(s=d-l.left,u=f-l.top):(s=l.width/2,u=l.height/2)),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=s,this.y=u}}const zm=Symbol("linkClicked");function Pr(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...m}=nk(e),[g,h]=c.useState(!1),b=c.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:v,removeAllGlobalListeners:_}=Pc(),y=Ce(($,C)=>{let N=b.current;if(i||N.didFirePressStart)return!1;let E=!0;if(N.isTriggeringEvent=!0,r){let K=new vi("pressstart",C,$);r(K),E=K.shouldStopPropagation}return n&&n(!0),N.isTriggeringEvent=!1,N.didFirePressStart=!0,h(!0),E}),x=Ce(($,C,N=!0)=>{let E=b.current;if(!E.didFirePressStart)return!1;E.ignoreClickAfterPress=!0,E.didFirePressStart=!1,E.isTriggeringEvent=!0;let K=!0;if(o){let I=new vi("pressend",C,$);o(I),K=I.shouldStopPropagation}if(n&&n(!1),h(!1),t&&N&&!i){let I=new vi("press",C,$);t(I),K&&(K=I.shouldStopPropagation)}return E.isTriggeringEvent=!1,K}),S=Ce(($,C)=>{let N=b.current;if(i)return!1;if(a){N.isTriggeringEvent=!0;let E=new vi("pressup",C,$);return a(E),N.isTriggeringEvent=!1,E.shouldStopPropagation}return!0}),T=Ce($=>{let C=b.current;C.isPressed&&C.target&&(C.isOverTarget&&C.pointerType!=null&&x(Jt(C.target,$),C.pointerType,!1),C.isPressed=!1,C.isOverTarget=!1,C.activePointerId=null,C.pointerType=null,_(),d||hi(C.target))}),P=Ce($=>{u&&T($)}),M=c.useMemo(()=>{let $=b.current,C={onKeyDown(E){if(Lc(E.nativeEvent,E.currentTarget)&&E.currentTarget.contains(E.target)){var K;Km(E.target,E.key)&&E.preventDefault();let I=!0;if(!$.isPressed&&!E.repeat){$.target=E.currentTarget,$.isPressed=!0,I=y(E,"keyboard");let k=E.currentTarget,j=O=>{Lc(O,k)&&!O.repeat&&k.contains(O.target)&&$.target&&S(Jt($.target,O),"keyboard")};v(Pe(E.currentTarget),"keyup",Yt(j,N),!0)}I&&E.stopPropagation(),E.metaKey&&Xt()&&((K=$.metaKeyEvents)===null||K===void 0||K.set(E.key,E.nativeEvent))}else E.key==="Meta"&&($.metaKeyEvents=new Map)},onClick(E){if(!(E&&!E.currentTarget.contains(E.target))&&E&&E.button===0&&!$.isTriggeringEvent&&!Fo.isOpening){let K=!0;if(i&&E.preventDefault(),!$.ignoreClickAfterPress&&!$.ignoreEmulatedMouseEvents&&!$.isPressed&&($.pointerType==="virtual"||Ic(E.nativeEvent))){!i&&!s&&Mt(E.currentTarget);let I=y(E,"virtual"),k=S(E,"virtual"),j=x(E,"virtual");K=I&&k&&j}$.ignoreEmulatedMouseEvents=!1,$.ignoreClickAfterPress=!1,K&&E.stopPropagation()}}},N=E=>{var K;if($.isPressed&&$.target&&Lc(E,$.target)){var I;Km(E.target,E.key)&&E.preventDefault();let j=E.target;x(Jt($.target,E),"keyboard",$.target.contains(j)),_(),E.key!=="Enter"&&Fc($.target)&&$.target.contains(j)&&!E[zm]&&(E[zm]=!0,Fo($.target,E,!1)),$.isPressed=!1,(I=$.metaKeyEvents)===null||I===void 0||I.delete(E.key)}else if(E.key==="Meta"&&(!((K=$.metaKeyEvents)===null||K===void 0)&&K.size)){var k;let j=$.metaKeyEvents;$.metaKeyEvents=void 0;for(let O of j.values())(k=$.target)===null||k===void 0||k.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){C.onPointerDown=k=>{if(k.button!==0||!k.currentTarget.contains(k.target))return;if(X7(k.nativeEvent)){$.pointerType="virtual";return}Nc(k.currentTarget)&&k.preventDefault(),$.pointerType=k.pointerType;let j=!0;$.isPressed||($.isPressed=!0,$.isOverTarget=!0,$.activePointerId=k.pointerId,$.target=k.currentTarget,!i&&!s&&Mt(k.currentTarget),d||Fm($.target),j=y(k,$.pointerType),v(Pe(k.currentTarget),"pointermove",E,!1),v(Pe(k.currentTarget),"pointerup",K,!1),v(Pe(k.currentTarget),"pointercancel",I,!1)),j&&k.stopPropagation()},C.onMouseDown=k=>{k.currentTarget.contains(k.target)&&k.button===0&&(Nc(k.currentTarget)&&k.preventDefault(),k.stopPropagation())},C.onPointerUp=k=>{!k.currentTarget.contains(k.target)||$.pointerType==="virtual"||k.button===0&&Tr(k,k.currentTarget)&&S(k,$.pointerType||k.pointerType)};let E=k=>{k.pointerId===$.activePointerId&&($.target&&Tr(k,$.target)?!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,y(Jt($.target,k),$.pointerType)):$.target&&$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,x(Jt($.target,k),$.pointerType,!1),P(k)))},K=k=>{k.pointerId===$.activePointerId&&$.isPressed&&k.button===0&&$.target&&(Tr(k,$.target)&&$.pointerType!=null?x(Jt($.target,k),$.pointerType):$.isOverTarget&&$.pointerType!=null&&x(Jt($.target,k),$.pointerType,!1),$.isPressed=!1,$.isOverTarget=!1,$.activePointerId=null,$.pointerType=null,_(),d||hi($.target))},I=k=>{T(k)};C.onDragStart=k=>{k.currentTarget.contains(k.target)&&T(k)}}else{C.onMouseDown=I=>{if(I.button!==0||!I.currentTarget.contains(I.target))return;if(Nc(I.currentTarget)&&I.preventDefault(),$.ignoreEmulatedMouseEvents){I.stopPropagation();return}$.isPressed=!0,$.isOverTarget=!0,$.target=I.currentTarget,$.pointerType=Ic(I.nativeEvent)?"virtual":"mouse",!i&&!s&&Mt(I.currentTarget),y(I,$.pointerType)&&I.stopPropagation(),v(Pe(I.currentTarget),"mouseup",E,!1)},C.onMouseEnter=I=>{if(!I.currentTarget.contains(I.target))return;let k=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!0,k=y(I,$.pointerType)),k&&I.stopPropagation()},C.onMouseLeave=I=>{if(!I.currentTarget.contains(I.target))return;let k=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!1,k=x(I,$.pointerType,!1),P(I)),k&&I.stopPropagation()},C.onMouseUp=I=>{I.currentTarget.contains(I.target)&&!$.ignoreEmulatedMouseEvents&&I.button===0&&S(I,$.pointerType||"mouse")};let E=I=>{if(I.button===0){if($.isPressed=!1,_(),$.ignoreEmulatedMouseEvents){$.ignoreEmulatedMouseEvents=!1;return}$.target&&Tr(I,$.target)&&$.pointerType!=null?x(Jt($.target,I),$.pointerType):$.target&&$.isOverTarget&&$.pointerType!=null&&x(Jt($.target,I),$.pointerType,!1),$.isOverTarget=!1}};C.onTouchStart=I=>{if(!I.currentTarget.contains(I.target))return;let k=rk(I.nativeEvent);if(!k)return;$.activePointerId=k.identifier,$.ignoreEmulatedMouseEvents=!0,$.isOverTarget=!0,$.isPressed=!0,$.target=I.currentTarget,$.pointerType="touch",!i&&!s&&Mt(I.currentTarget),d||Fm($.target),y(wn($.target,I),$.pointerType)&&I.stopPropagation(),v(vt(I.currentTarget),"scroll",K,!0)},C.onTouchMove=I=>{if(!I.currentTarget.contains(I.target))return;if(!$.isPressed){I.stopPropagation();return}let k=Rm(I.nativeEvent,$.activePointerId),j=!0;k&&Tr(k,I.currentTarget)?!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,j=y(wn($.target,I),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,j=x(wn($.target,I),$.pointerType,!1),P(wn($.target,I))),j&&I.stopPropagation()},C.onTouchEnd=I=>{if(!I.currentTarget.contains(I.target))return;if(!$.isPressed){I.stopPropagation();return}let k=Rm(I.nativeEvent,$.activePointerId),j=!0;k&&Tr(k,I.currentTarget)&&$.pointerType!=null?(S(wn($.target,I),$.pointerType),j=x(wn($.target,I),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&(j=x(wn($.target,I),$.pointerType,!1)),j&&I.stopPropagation(),$.isPressed=!1,$.activePointerId=null,$.isOverTarget=!1,$.ignoreEmulatedMouseEvents=!0,$.target&&!d&&hi($.target),_()},C.onTouchCancel=I=>{I.currentTarget.contains(I.target)&&(I.stopPropagation(),$.isPressed&&T(wn($.target,I)))};let K=I=>{$.isPressed&&I.target.contains($.target)&&T({currentTarget:$.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};C.onDragStart=I=>{I.currentTarget.contains(I.target)&&T(I)}}return C},[v,i,s,_,d,T,P,x,y,S]);return c.useEffect(()=>()=>{var $;d||hi(($=b.current.target)!==null&&$!==void 0?$:void 0)},[d]),{isPressed:l||g,pressProps:me(m,M)}}function Fc(e){return e.tagName==="A"&&e.hasAttribute("href")}function Lc(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof vt(o).HTMLInputElement&&!Vm(o,n)||o instanceof vt(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Fc(o))&&n!=="Enter")}function rk(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Rm(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const o=n[r];if(o.identifier===t)return o}return null}function wn(e,t){let n=0,r=0;return t.targetTouches&&t.targetTouches.length===1&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function Jt(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function ok(e){let t=0,n=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?n=e.height/2:e.radiusY!==void 0&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function ak(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Tr(e,t){let n=t.getBoundingClientRect(),r=ok(e);return ak(n,r)}function Nc(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Km(e,t){return e instanceof HTMLInputElement?!Vm(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Fc(e)}const ik=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Vm(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":ik.has(e.type)}function lk({children:e}){let t=c.useMemo(()=>({register:()=>{}}),[]);return D.default.createElement(Mc.Provider,{value:t},e)}class sk{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,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function Bm(e){let t=c.useRef({isFocused:!1,observer:null});Te(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Ce(r=>{e==null||e(r)});return c.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,a=i=>{t.current.isFocused=!1,o.disabled&&n(new sk("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function zc(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const a=c.useCallback(s=>{if(s.target===s.currentTarget)return r&&r(s),o&&o(!1),!0},[r,o]),i=Bm(a),l=c.useCallback(s=>{const u=Pe(s.target);s.target===s.currentTarget&&u.activeElement===s.target&&(n&&n(s),o&&o(!0),i(s))},[o,n,i]);return{focusProps:{onFocus:!t&&(n||o||r)?l:void 0,onBlur:!t&&(r||o)?a:void 0}}}let Zt=null,zo=new Set,Ro=new Map,Un=!1,Rc=!1;const ck={Tab:!0,Escape:!0};function yi(e,t){for(let n of zo)n(e,t)}function uk(e){return!(e.metaKey||!Xt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function $i(e){Un=!0,uk(e)&&(Zt="keyboard",yi("keyboard",e))}function ut(e){Zt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Un=!0,yi("pointer",e))}function jm(e){Ic(e)&&(Un=!0,Zt="virtual")}function Um(e){e.target===window||e.target===document||(!Un&&!Rc&&(Zt="virtual",yi("virtual",e)),Un=!1,Rc=!1)}function Wm(){Un=!1,Rc=!0}function _i(e){if(typeof window>"u"||Ro.get(vt(e)))return;const t=vt(e),n=Pe(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Un=!0,r.apply(this,arguments)},n.addEventListener("keydown",$i,!0),n.addEventListener("keyup",$i,!0),n.addEventListener("click",jm,!0),t.addEventListener("focus",Um,!0),t.addEventListener("blur",Wm,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",ut,!0),n.addEventListener("pointermove",ut,!0),n.addEventListener("pointerup",ut,!0)):(n.addEventListener("mousedown",ut,!0),n.addEventListener("mousemove",ut,!0),n.addEventListener("mouseup",ut,!0)),t.addEventListener("beforeunload",()=>{Hm(e)},{once:!0}),Ro.set(t,{focus:r})}const Hm=(e,t)=>{const n=vt(e),r=Pe(e);t&&r.removeEventListener("DOMContentLoaded",t),Ro.has(n)&&(n.HTMLElement.prototype.focus=Ro.get(n).focus,r.removeEventListener("keydown",$i,!0),r.removeEventListener("keyup",$i,!0),r.removeEventListener("click",jm,!0),n.removeEventListener("focus",Um,!0),n.removeEventListener("blur",Wm,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",ut,!0),r.removeEventListener("pointermove",ut,!0),r.removeEventListener("pointerup",ut,!0)):(r.removeEventListener("mousedown",ut,!0),r.removeEventListener("mousemove",ut,!0),r.removeEventListener("mouseup",ut,!0)),Ro.delete(n))};function dk(e){const t=Pe(e);let n;return t.readyState!=="loading"?_i(e):(n=()=>{_i(e)},t.addEventListener("DOMContentLoaded",n)),()=>Hm(e,n)}typeof document<"u"&&dk();function xi(){return Zt!=="pointer"}function wi(){return Zt}function Kc(e){Zt=e,yi(e,null)}function Gm(){_i();let[e,t]=c.useState(Zt);return c.useEffect(()=>{let n=()=>{t(Zt)};return zo.add(n),()=>{zo.delete(n)}},[]),si()?null:e}const fk=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function pk(e,t,n){var r;const o=typeof window<"u"?vt(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?vt(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?vt(n==null?void 0:n.target).HTMLElement:HTMLElement,l=typeof window<"u"?vt(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||(n==null?void 0:n.target)instanceof o&&!fk.has(n==null||(r=n.target)===null||r===void 0?void 0:r.type)||(n==null?void 0:n.target)instanceof a||(n==null?void 0:n.target)instanceof i&&(n==null?void 0:n.target.isContentEditable),!(e&&t==="keyboard"&&n instanceof l&&!ck[n.key])}function gk(e,t,n){_i(),c.useEffect(()=>{let r=(o,a)=>{pk(!!(n!=null&&n.isTextInput),o,a)&&e(xi())};return zo.add(r),()=>{zo.delete(r)}},t)}function Ko(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,a=c.useRef({isFocusWithin:!1}),i=c.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(u),o&&o(!1))},[n,o,a]),l=Bm(i),s=c.useCallback(u=>{!a.current.isFocusWithin&&document.activeElement===u.target&&(r&&r(u),o&&o(!0),a.current.isFocusWithin=!0,l(u))},[r,o,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:i}}}let Ei=!1,Vc=0;function Bc(){Ei=!0,setTimeout(()=>{Ei=!1},50)}function Ym(e){e.pointerType==="touch"&&Bc()}function mk(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Ym):document.addEventListener("touchend",Bc),Vc++,()=>{Vc--,!(Vc>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Ym):document.removeEventListener("touchend",Bc))}}function hk(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[a,i]=c.useState(!1),l=c.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;c.useEffect(mk,[]);let{hoverProps:s,triggerHoverEnd:u}=c.useMemo(()=>{let d=(g,h)=>{if(l.pointerType=h,o||h==="touch"||l.isHovered||!g.currentTarget.contains(g.target))return;l.isHovered=!0;let b=g.currentTarget;l.target=b,t&&t({type:"hoverstart",target:b,pointerType:h}),n&&n(!0),i(!0)},f=(g,h)=>{if(l.pointerType="",l.target=null,h==="touch"||!l.isHovered)return;l.isHovered=!1;let b=g.currentTarget;r&&r({type:"hoverend",target:b,pointerType:h}),n&&n(!1),i(!1)},m={};return typeof PointerEvent<"u"?(m.onPointerEnter=g=>{Ei&&g.pointerType==="mouse"||d(g,g.pointerType)},m.onPointerLeave=g=>{!o&&g.currentTarget.contains(g.target)&&f(g,g.pointerType)}):(m.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},m.onMouseEnter=g=>{!l.ignoreEmulatedMouseEvents&&!Ei&&d(g,"mouse"),l.ignoreEmulatedMouseEvents=!1},m.onMouseLeave=g=>{!o&&g.currentTarget.contains(g.target)&&f(g,"mouse")}),{hoverProps:m,triggerHoverEnd:f}},[t,n,r,o,l]);return c.useEffect(()=>{o&&u({currentTarget:l.target},l.pointerType)},[o]),{hoverProps:s,isHovered:a}}function bk(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:o}=e,a=c.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Ce(s=>{n&&Si(s,t)&&(o&&o(s),a.current.isPointerDown=!0)}),l=Ce(s=>{n&&n(s)});c.useEffect(()=>{let s=a.current;if(r)return;const u=t.current,d=Pe(u);if(typeof PointerEvent<"u"){let f=m=>{s.isPointerDown&&Si(m,t)&&l(m),s.isPointerDown=!1};return d.addEventListener("pointerdown",i,!0),d.addEventListener("pointerup",f,!0),()=>{d.removeEventListener("pointerdown",i,!0),d.removeEventListener("pointerup",f,!0)}}else{let f=g=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Si(g,t)&&l(g),s.isPointerDown=!1},m=g=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Si(g,t)&&l(g),s.isPointerDown=!1};return d.addEventListener("mousedown",i,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",i,!0),d.addEventListener("touchend",m,!0),()=>{d.removeEventListener("mousedown",i,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",i,!0),d.removeEventListener("touchend",m,!0)}}},[t,r,i,l])}function Si(e,t){if(e.button>0)return!1;if(e.target){const n=e.target.ownerDocument;if(!n||!n.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function qm(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.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(r),t&&n.stopPropagation()}}function vk(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:qm(e.onKeyDown),onKeyUp:qm(e.onKeyUp)}}}function yk(e,t){let{onScroll:n,isDisabled:r}=e,o=c.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),n&&n({deltaX:a.deltaX,deltaY:a.deltaY}))},[n]);Sr(t,"wheel",r?void 0:o)}const $k=500;function Xm(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:a=$k,accessibilityDescription:i}=e;const l=c.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:u}=Pc(),{pressProps:d}=Pr({isDisabled:t,onPressStart(m){if(m.continuePropagation(),(m.pointerType==="mouse"||m.pointerType==="touch")&&(n&&n({...m,type:"longpressstart"}),l.current=setTimeout(()=>{m.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...m,type:"longpress"}),l.current=void 0},a),m.pointerType==="touch")){let g=h=>{h.preventDefault()};s(m.target,"contextmenu",g,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{u(m.target,"contextmenu",g)},30)},{once:!0})}},onPressEnd(m){l.current&&clearTimeout(l.current),r&&(m.pointerType==="mouse"||m.pointerType==="touch")&&r({...m,type:"longpressend"})}}),f=Cc(o&&!t?i:void 0);return{longPressProps:me(d,f)}}const Jm={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Zm(e={}){let{style:t,isFocusable:n}=e,[r,o]=c.useState(!1),{focusWithinProps:a}=Ko({isDisabled:!n,onFocusWithinChange:l=>o(l)}),i=c.useMemo(()=>r?t:t?{...Jm,...t}:Jm,[r]);return{visuallyHiddenProps:{...a,style:i}}}function Di(e){let{children:t,elementType:n="div",isFocusable:r,style:o,...a}=e,{visuallyHiddenProps:i}=Zm(e);return D.default.createElement(n,me(a,i),t)}const _k=F.default(Be)`
432
432
  display: flex;
433
433
  flex-direction: column;
434
434
 
435
435
  ${()=>rt({$gutter:{property:"paddingBottom",scale:"space"}})}
436
436
 
437
437
  ${()=>rt({$alignment:{property:"alignItems",defaultScale:{center:"center",left:"flex-start",right:"flex-end"}}})}
438
- `,Pi=c.forwardRef((e,t)=>{const{children:n,align:r,space:o=p.spacing_500,...a}=e,i=D.default.Children.toArray(n),l=Tt(a,Ut.propNames??[]);if(i.length<=1&&!r)return w(Vt,{children:i});const s={...l};return w(Be,{"data-id":e["data-id"],...s,ref:t,children:i.map((u,d)=>w(_k,{"data-id":"stack-item",$alignment:r,$gutter:d<i.length-1?o:null,children:u},d))})});Pi.displayName="Stack";const Qm=`
438
+ `,Pi=c.forwardRef((e,t)=>{const{children:n,align:r,space:o=p.spacing_500,...a}=e,i=D.default.Children.toArray(n),l=kt(a,Wt.propNames??[]);if(i.length<=1&&!r)return w(Bt,{children:i});const s={...l};return w(Be,{"data-id":e["data-id"],...s,ref:t,children:i.map((u,d)=>w(_k,{"data-id":"stack-item",$alignment:r,$gutter:d<i.length-1?o:null,children:u},d))})});Pi.displayName="Stack";const Qm=`
439
439
  border: none;
440
440
  margin: 0;
441
441
  padding: 0;
@@ -455,7 +455,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
455
455
  }
456
456
  `,eh=()=>`
457
457
  ${Qm}
458
- `,Zt="2px",xk=()=>`
458
+ `,Qt="2px",xk=()=>`
459
459
  appearance: none;
460
460
  display: inline-flex;
461
461
  align-items: center;
@@ -489,7 +489,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
489
489
 
490
490
  &[data-state~='focused'] {
491
491
  outline: ${p.color_gray_6} solid 1px;
492
- outline-offset: ${Zt};
492
+ outline-offset: ${Qt};
493
493
  }
494
494
 
495
495
  &:disabled {
@@ -527,7 +527,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
527
527
  &.simulate-focused,
528
528
  &:focus {
529
529
  outline: 2px solid ${p.color_gray_6};
530
- outline-offset: ${Zt};
530
+ outline-offset: ${Qt};
531
531
  }
532
532
 
533
533
  &:disabled {
@@ -552,7 +552,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
552
552
  &.simulate-focused,
553
553
  &:focus {
554
554
  outline: 2px solid ${p.color_gray_94};
555
- outline-offset: ${Zt};
555
+ outline-offset: ${Qt};
556
556
  }
557
557
 
558
558
  &:disabled {
@@ -582,7 +582,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
582
582
  &.simulate-focused,
583
583
  &:focus {
584
584
  outline: 2px solid ${p.color_gray_6};
585
- outline-offset: ${Zt};
585
+ outline-offset: ${Qt};
586
586
  }
587
587
 
588
588
  &:disabled {
@@ -608,7 +608,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
608
608
  &.simulate-focused,
609
609
  &:focus {
610
610
  outline: 2px solid ${p.color_gray_94};
611
- outline-offset: ${Zt};
611
+ outline-offset: ${Qt};
612
612
  }
613
613
 
614
614
  &:disabled {
@@ -636,7 +636,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
636
636
  &.simulate-focused,
637
637
  &:focus {
638
638
  outline: 2px solid ${p.color_gray_6};
639
- outline-offset: ${Zt};
639
+ outline-offset: ${Qt};
640
640
  }
641
641
 
642
642
  &:disabled {
@@ -660,7 +660,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
660
660
  &.simulate-focused,
661
661
  &:focus {
662
662
  outline: 2px solid ${p.color_gray_94};
663
- outline-offset: ${Zt};
663
+ outline-offset: ${Qt};
664
664
  }
665
665
 
666
666
  &:disabled {
@@ -688,7 +688,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
688
688
  &.simulate-focused,
689
689
  &:focus {
690
690
  outline: 2px solid ${p.color_gray_6};
691
- outline-offset: ${Zt};
691
+ outline-offset: ${Qt};
692
692
  }
693
693
 
694
694
  &:disabled {
@@ -711,7 +711,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
711
711
  &.simulate-focused,
712
712
  &:focus {
713
713
  outline: 2px solid ${p.color_gray_94};
714
- outline-offset: ${Zt};
714
+ outline-offset: ${Qt};
715
715
  }
716
716
 
717
717
  &:disabled {
@@ -729,7 +729,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
729
729
  ${({size:e})=>Fk(e)}
730
730
  `,Lk=F.default.span`
731
731
  ${e=>wk(e)}
732
- `;function Nk(e,t){const{as:n,to:r,toTitle:o,formId:a,type:i="button",children:l,variant:s="primary",inverse:u=!1,disabled:d,size:f,onClick:m,onFocus:g,onBlur:h,className:b="",...v}=e,_=n??"button",y=Tt(v,Ut.propNames??[]),x=Tt(v,Ti.propNames??[]),S={variant:s,inverse:u,className:b,disabled:d,onClick:m,onFocus:g,onBlur:h,size:f,form:a,type:i,ref:t,...x,...y,...hs(v)},T=c.useMemo(()=>w(Lk,{children:l}),[l]);return r&&!n?w(jc,{as:"a",href:r,target:"_blank",rel:"noopener noreferrer",title:o??"Opens in a new tab",...S,"data-id":v["data-id"],children:T}):w(jc,{as:_,...S,"data-id":v["data-id"],children:T})}const Wn=c.forwardRef(Nk);Wn.displayName="ButtonV2";const ih=D.default.forwardRef(function(t,n){return w(Wn,{mt:p.spacing_100,mr:p.border_radius_200,...t,ref:n})});ih.displayName="Banner.Action";const zk=ih;function Rk(){return`
732
+ `;function Nk(e,t){const{as:n,to:r,toTitle:o,formId:a,type:i="button",children:l,variant:s="primary",inverse:u=!1,disabled:d,size:f,onClick:m,onFocus:g,onBlur:h,className:b="",...v}=e,_=n??"button",y=kt(v,Wt.propNames??[]),x=kt(v,Ti.propNames??[]),S={variant:s,inverse:u,className:b,disabled:d,onClick:m,onFocus:g,onBlur:h,size:f,form:a,type:i,ref:t,...x,...y,...hs(v)},T=c.useMemo(()=>w(Lk,{children:l}),[l]);return r&&!n?w(jc,{as:"a",href:r,target:"_blank",rel:"noopener noreferrer",title:o??"Opens in a new tab",...S,"data-id":v["data-id"],children:T}):w(jc,{as:_,...S,"data-id":v["data-id"],children:T})}const Wn=c.forwardRef(Nk);Wn.displayName="ButtonV2";const ih=D.default.forwardRef(function(t,n){return w(Wn,{mt:p.spacing_100,mr:p.border_radius_200,...t,ref:n})});ih.displayName="Banner.Action";const zk=ih;function Rk(){return`
733
733
  transition: background ${p.motion_duration_fast} ${p.motion_ease_in_out};
734
734
  &: hover {
735
735
  cursor: pointer;
@@ -770,10 +770,10 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
770
770
  top: 0.8rem; // really close to size 300 and 350 but not quite
771
771
  right: ${p.spacing_350};
772
772
  height: 24px;
773
- `,Uc=c.forwardRef(function(t,n){const{children:r,onDismiss:o,variant:a="default",layout:i="default",title:l,...s}=t,u=Tt(s,xs.propNames??[]),d=l?w(Be,{mb:p.spacing_200,children:w(Bn,{as:"h2",looksLike:"h6",normal:!0,children:l})}):null,f=o?ee(Hk,{as:"button",onClick:o,variant:a,color:p.color_gray_6,type:"button",children:[w(Di,{children:"Dismiss"}),w(we.Close,{})]}):null;return ee(Wk,{ref:n,...u,tabIndex:-1,variant:a,overflow:"hidden","data-id":s["data-id"],children:[d,f,w(Pi,{space:p.spacing_300,children:r})]})});Uc.displayName="Banner",Uc.Action=zk;function Vo(e){const t=Pe(e);if(wi()==="virtual"){let n=t.activeElement;Tm(()=>{t.activeElement===n&&e.isConnected&&Ot(e)})}else Ot(e)}function Gk(e){const t=vt(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o=n!=="none"&&r!=="hidden"&&r!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:l}=a(e);o=i!=="none"&&l!=="hidden"&&l!=="collapse"}return o}function Yk(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function sh(e,t){return e.nodeName!=="#comment"&&Gk(e)&&Yk(e,t)&&(!e.parentElement||sh(e.parentElement,e))}const ch=D.default.createContext(null),Wc="react-aria-focus-scope-restore";let Ee=null;function qk(e){let{children:t,contain:n,restoreFocus:r,autoFocus:o}=e,a=c.useRef(null),i=c.useRef(null),l=c.useRef([]),{parentNode:s}=c.useContext(ch)||{},u=c.useMemo(()=>new qc({scopeRef:l}),[l]);Te(()=>{let m=s||Le.root;if(Le.getTreeNode(m.scopeRef)&&Ee&&!Ci(Ee,m.scopeRef)){let g=Le.getTreeNode(Ee);g&&(m=g)}m.addChild(u),Le.addNode(u)},[u,s]),Te(()=>{let m=Le.getTreeNode(l);m&&(m.contain=!!n)},[n]),Te(()=>{var m;let g=(m=a.current)===null||m===void 0?void 0:m.nextSibling,h=[],b=v=>v.stopPropagation();for(;g&&g!==i.current;)h.push(g),g.addEventListener(Wc,b),g=g.nextSibling;return l.current=h,()=>{for(let v of h)v.removeEventListener(Wc,b)}},[t]),nC(l,r,n),Qk(l,n),oC(l,r,n),tC(l,o),c.useEffect(()=>{const m=Pe(l.current?l.current[0]:void 0).activeElement;let g=null;if(He(m,l.current)){for(let h of Le.traverse())h.scopeRef&&He(m,h.scopeRef.current)&&(g=h);g===Le.getTreeNode(l)&&(Ee=g.scopeRef)}},[l]),Te(()=>()=>{var m,g,h;let b=(h=(g=Le.getTreeNode(l))===null||g===void 0||(m=g.parent)===null||m===void 0?void 0:m.scopeRef)!==null&&h!==void 0?h:null;(l===Ee||Ci(l,Ee))&&(!b||Le.getTreeNode(b))&&(Ee=b),Le.removeTreeNode(l)},[l]);let d=c.useMemo(()=>Xk(l),[]),f=c.useMemo(()=>({focusManager:d,parentNode:u}),[u,d]);return D.default.createElement(ch.Provider,{value:f},D.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,D.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Xk(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:o,wrap:a,accept:i}=t,l=r||Pe(n[0]).activeElement,s=n[0].previousElementSibling,u=Hn(n),d=en(u,{tabbable:o,accept:i},n);d.currentNode=He(l,n)?l:s;let f=d.nextNode();return!f&&a&&(d.currentNode=s,f=d.nextNode()),f&&Qt(f,!0),f},focusPrevious(t={}){let n=e.current,{from:r,tabbable:o,wrap:a,accept:i}=t,l=r||Pe(n[0]).activeElement,s=n[n.length-1].nextElementSibling,u=Hn(n),d=en(u,{tabbable:o,accept:i},n);d.currentNode=He(l,n)?l:s;let f=d.previousNode();return!f&&a&&(d.currentNode=s,f=d.previousNode()),f&&Qt(f,!0),f},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=Hn(n),i=en(a,{tabbable:r,accept:o},n);i.currentNode=n[0].previousElementSibling;let l=i.nextNode();return l&&Qt(l,!0),l},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=Hn(n),i=en(a,{tabbable:r,accept:o},n);i.currentNode=n[n.length-1].nextElementSibling;let l=i.previousNode();return l&&Qt(l,!0),l}}}const Hc=["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]"],Jk=Hc.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Hc.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Zk=Hc.join(':not([hidden]):not([tabindex="-1"]),');function Hn(e){return e[0].parentElement}function Bo(e){let t=Le.getTreeNode(Ee);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Qk(e,t){let n=c.useRef(void 0),r=c.useRef(void 0);Te(()=>{let o=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const a=Pe(o?o[0]:void 0);let i=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!Bo(e)||u.isComposing)return;let d=a.activeElement,f=e.current;if(!f||!He(d,f))return;let m=Hn(f),g=en(m,{tabbable:!0},f);if(!d)return;g.currentNode=d;let h=u.shiftKey?g.previousNode():g.nextNode();h||(g.currentNode=u.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,h=u.shiftKey?g.previousNode():g.nextNode()),u.preventDefault(),h&&Qt(h,!0)},l=u=>{(!Ee||Ci(Ee,e))&&He(u.target,e.current)?(Ee=e,n.current=u.target):Bo(e)&&!ki(u.target,e)?n.current?n.current.focus():Ee&&Ee.current&&Gc(Ee.current):Bo(e)&&(n.current=u.target)},s=u=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{if(a.activeElement&&Bo(e)&&!ki(a.activeElement,e))if(Ee=e,a.body.contains(u.target)){var d;n.current=u.target,(d=n.current)===null||d===void 0||d.focus()}else Ee.current&&Gc(Ee.current)})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",l,!1),o==null||o.forEach(u=>u.addEventListener("focusin",l,!1)),o==null||o.forEach(u=>u.addEventListener("focusout",s,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",l,!1),o==null||o.forEach(u=>u.removeEventListener("focusin",l,!1)),o==null||o.forEach(u=>u.removeEventListener("focusout",s,!1))}},[e,t]),Te(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function uh(e){return ki(e)}function He(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function ki(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of Le.traverse(Le.getTreeNode(t)))if(n&&He(e,n.current))return!0;return!1}function eC(e){return ki(e,Ee)}function Ci(e,t){var n;let r=(n=Le.getTreeNode(t))===null||n===void 0?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function Qt(e,t=!1){if(e!=null&&!t)try{Vo(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function dh(e,t=!0){let n=e[0].previousElementSibling,r=Hn(e),o=en(r,{tabbable:t},e);o.currentNode=n;let a=o.nextNode();return t&&!a&&(r=Hn(e),o=en(r,{tabbable:!1},e),o.currentNode=n,a=o.nextNode()),a}function Gc(e,t=!0){Qt(dh(e,t))}function tC(e,t){const n=D.default.useRef(t);c.useEffect(()=>{if(n.current){Ee=e;const r=Pe(e.current?e.current[0]:void 0);!He(r.activeElement,Ee.current)&&e.current&&Gc(e.current)}n.current=!1},[e])}function nC(e,t,n){Te(()=>{if(t||n)return;let r=e.current;const o=Pe(r?r[0]:void 0);let a=i=>{let l=i.target;He(l,e.current)?Ee=e:uh(l)||(Ee=null)};return o.addEventListener("focusin",a,!1),r==null||r.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{o.removeEventListener("focusin",a,!1),r==null||r.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,n])}function rC(e){let t=Le.getTreeNode(Ee);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function oC(e,t,n){const r=c.useRef(typeof document<"u"?Pe(e.current?e.current[0]:void 0).activeElement:null);Te(()=>{let o=e.current;const a=Pe(o?o[0]:void 0);if(!t||n)return;let i=()=>{(!Ee||Ci(Ee,e))&&He(a.activeElement,e.current)&&(Ee=e)};return a.addEventListener("focusin",i,!1),o==null||o.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),o==null||o.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,n]),Te(()=>{const o=Pe(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!Bo(e)||i.isComposing)return;let l=o.activeElement;if(!He(l,e.current))return;let s=Le.getTreeNode(e);if(!s)return;let u=s.nodeToRestore,d=en(o.body,{tabbable:!0});d.currentNode=l;let f=i.shiftKey?d.previousNode():d.nextNode();if((!u||!o.body.contains(u)||u===o.body)&&(u=void 0,s.nodeToRestore=void 0),(!f||!He(f,e.current))&&u){d.currentNode=u;do f=i.shiftKey?d.previousNode():d.nextNode();while(He(f,e.current));i.preventDefault(),i.stopPropagation(),f?Qt(f,!0):uh(u)?Qt(u,!0):l.blur()}};return n||o.addEventListener("keydown",a,!0),()=>{n||o.removeEventListener("keydown",a,!0)}},[e,t,n]),Te(()=>{const o=Pe(e.current?e.current[0]:void 0);if(!t)return;let a=Le.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=r.current)!==null&&i!==void 0?i:void 0,()=>{let l=Le.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(He(o.activeElement,e.current)||o.activeElement===o.body&&rC(e))){let u=Le.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=u.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){fh(d.nodeToRestore);return}d=d.parent}for(d=u.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&Le.getTreeNode(d.scopeRef)){let f=dh(d.scopeRef.current,!0);fh(f);return}d=d.parent}}})}}}},[e,t])}function fh(e){e.dispatchEvent(new CustomEvent(Wc,{bubbles:!0,cancelable:!0}))&&Qt(e)}function en(e,t,n){let r=t!=null&&t.tabbable?Zk:Jk,o=Pe(e).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(r)&&sh(a)&&(!n||He(a,n))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}class Yc{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let o=this.fastMap.get(n??null);if(!o)return;let a=new qc({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),r&&(a.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let a of this.traverse())a!==n&&n.nodeToRestore&&a.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&He(a.nodeToRestore,n.scopeRef.current)&&(a.nodeToRestore=n.nodeToRestore);let o=n.children;r&&(r.removeChild(n),o.size>0&&o.forEach(a=>r&&r.addChild(a))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){var t;let n=new Yc;var r;for(let o of this.traverse())n.addTreeNode(o.scopeRef,(r=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&r!==void 0?r:null,o.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new qc({scopeRef:null}),this.fastMap.set(null,this.root)}}class qc{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Le=new Yc;function jo(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=c.useRef({isFocused:!1,isFocusVisible:t||xi()}),[a,i]=c.useState(!1),[l,s]=c.useState(()=>o.current.isFocused&&o.current.isFocusVisible),u=c.useCallback(()=>s(o.current.isFocused&&o.current.isFocusVisible),[]),d=c.useCallback(g=>{o.current.isFocused=g,i(g),u()},[u]);gk(g=>{o.current.isFocusVisible=g,u()},[],{isTextInput:n});let{focusProps:f}=zc({isDisabled:r,onFocusChange:d}),{focusWithinProps:m}=Ko({isDisabled:!r,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:l,focusProps:r?m:f}}function ph(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ph(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function aC(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ph(e))&&(r&&(r+=" "),r+=t);return r}function iC(e){let{children:t,focusClass:n,focusRingClass:r}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=jo(e),l=D.default.Children.only(t);return D.default.cloneElement(l,ge(l.props,{...i,className:aC({[n||""]:o,[r||""]:a})}))}let lC=D.default.createContext(null);function sC(e){let t=c.useContext(lC)||{};Am(t,e);let{ref:n,...r}=t;return r}function Xc(e,t){let{focusProps:n}=zc(e),{keyboardProps:r}=vk(e),o=ge(n,r),a=sC(t),i=e.isDisabled?{}:a,l=c.useRef(e.autoFocus);return c.useEffect(()=>{l.current&&t.current&&Vo(t.current),l.current=!1},[t]),{focusableProps:ge({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function Gn(e,t){let{elementType:n="button",isDisabled:r,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:l,preventFocusOnPress:s,allowFocusWhenDisabled:u,onClick:d,href:f,target:m,rel:g,type:h="button"}=e,b;n==="button"?b={type:h,disabled:r}:b={role:"button",tabIndex:r?void 0:0,href:n==="a"&&r?void 0:f,target:n==="a"?m:void 0,type:n==="input"?h:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?g:void 0};let{pressProps:v,isPressed:_}=Pr({onPressStart:a,onPressEnd:i,onPressChange:l,onPress:o,isDisabled:r,preventFocusOnPress:s,ref:t}),{focusableProps:y}=Xc(e,t);u&&(y.tabIndex=r?-1:y.tabIndex);let x=ge(y,v,$n(e,{labelable:!0}));return{isPressed:_,buttonProps:ge(b,x,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:S=>{d&&(d(S),console.warn("onClick is deprecated, please use onPress"))}})}}const Jc=c.createContext(!1);Jc.displayName="FieldsetContext";const gh=F.default.fieldset`
773
+ `,Uc=c.forwardRef(function(t,n){const{children:r,onDismiss:o,variant:a="default",layout:i="default",title:l,...s}=t,u=kt(s,xs.propNames??[]),d=l?w(Be,{mb:p.spacing_200,children:w(Bn,{as:"h2",looksLike:"h6",normal:!0,children:l})}):null,f=o?Q(Hk,{as:"button",onClick:o,variant:a,color:p.color_gray_6,type:"button",children:[w(Di,{children:"Dismiss"}),w(Ee.Close,{})]}):null;return Q(Wk,{ref:n,...u,tabIndex:-1,variant:a,overflow:"hidden","data-id":s["data-id"],children:[d,f,w(Pi,{space:p.spacing_300,children:r})]})});Uc.displayName="Banner",Uc.Action=zk;function Vo(e){const t=Pe(e);if(wi()==="virtual"){let n=t.activeElement;Tm(()=>{t.activeElement===n&&e.isConnected&&Mt(e)})}else Mt(e)}function Gk(e){const t=vt(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o=n!=="none"&&r!=="hidden"&&r!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:l}=a(e);o=i!=="none"&&l!=="hidden"&&l!=="collapse"}return o}function Yk(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function sh(e,t){return e.nodeName!=="#comment"&&Gk(e)&&Yk(e,t)&&(!e.parentElement||sh(e.parentElement,e))}const ch=D.default.createContext(null),Wc="react-aria-focus-scope-restore";let Se=null;function qk(e){let{children:t,contain:n,restoreFocus:r,autoFocus:o}=e,a=c.useRef(null),i=c.useRef(null),l=c.useRef([]),{parentNode:s}=c.useContext(ch)||{},u=c.useMemo(()=>new qc({scopeRef:l}),[l]);Te(()=>{let m=s||Le.root;if(Le.getTreeNode(m.scopeRef)&&Se&&!Ci(Se,m.scopeRef)){let g=Le.getTreeNode(Se);g&&(m=g)}m.addChild(u),Le.addNode(u)},[u,s]),Te(()=>{let m=Le.getTreeNode(l);m&&(m.contain=!!n)},[n]),Te(()=>{var m;let g=(m=a.current)===null||m===void 0?void 0:m.nextSibling,h=[],b=v=>v.stopPropagation();for(;g&&g!==i.current;)h.push(g),g.addEventListener(Wc,b),g=g.nextSibling;return l.current=h,()=>{for(let v of h)v.removeEventListener(Wc,b)}},[t]),nC(l,r,n),Qk(l,n),oC(l,r,n),tC(l,o),c.useEffect(()=>{const m=Pe(l.current?l.current[0]:void 0).activeElement;let g=null;if(He(m,l.current)){for(let h of Le.traverse())h.scopeRef&&He(m,h.scopeRef.current)&&(g=h);g===Le.getTreeNode(l)&&(Se=g.scopeRef)}},[l]),Te(()=>()=>{var m,g,h;let b=(h=(g=Le.getTreeNode(l))===null||g===void 0||(m=g.parent)===null||m===void 0?void 0:m.scopeRef)!==null&&h!==void 0?h:null;(l===Se||Ci(l,Se))&&(!b||Le.getTreeNode(b))&&(Se=b),Le.removeTreeNode(l)},[l]);let d=c.useMemo(()=>Xk(l),[]),f=c.useMemo(()=>({focusManager:d,parentNode:u}),[u,d]);return D.default.createElement(ch.Provider,{value:f},D.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,D.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Xk(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:o,wrap:a,accept:i}=t,l=r||Pe(n[0]).activeElement,s=n[0].previousElementSibling,u=Hn(n),d=tn(u,{tabbable:o,accept:i},n);d.currentNode=He(l,n)?l:s;let f=d.nextNode();return!f&&a&&(d.currentNode=s,f=d.nextNode()),f&&en(f,!0),f},focusPrevious(t={}){let n=e.current,{from:r,tabbable:o,wrap:a,accept:i}=t,l=r||Pe(n[0]).activeElement,s=n[n.length-1].nextElementSibling,u=Hn(n),d=tn(u,{tabbable:o,accept:i},n);d.currentNode=He(l,n)?l:s;let f=d.previousNode();return!f&&a&&(d.currentNode=s,f=d.previousNode()),f&&en(f,!0),f},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=Hn(n),i=tn(a,{tabbable:r,accept:o},n);i.currentNode=n[0].previousElementSibling;let l=i.nextNode();return l&&en(l,!0),l},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=Hn(n),i=tn(a,{tabbable:r,accept:o},n);i.currentNode=n[n.length-1].nextElementSibling;let l=i.previousNode();return l&&en(l,!0),l}}}const Hc=["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]"],Jk=Hc.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Hc.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Zk=Hc.join(':not([hidden]):not([tabindex="-1"]),');function Hn(e){return e[0].parentElement}function Bo(e){let t=Le.getTreeNode(Se);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Qk(e,t){let n=c.useRef(void 0),r=c.useRef(void 0);Te(()=>{let o=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const a=Pe(o?o[0]:void 0);let i=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!Bo(e)||u.isComposing)return;let d=a.activeElement,f=e.current;if(!f||!He(d,f))return;let m=Hn(f),g=tn(m,{tabbable:!0},f);if(!d)return;g.currentNode=d;let h=u.shiftKey?g.previousNode():g.nextNode();h||(g.currentNode=u.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,h=u.shiftKey?g.previousNode():g.nextNode()),u.preventDefault(),h&&en(h,!0)},l=u=>{(!Se||Ci(Se,e))&&He(u.target,e.current)?(Se=e,n.current=u.target):Bo(e)&&!ki(u.target,e)?n.current?n.current.focus():Se&&Se.current&&Gc(Se.current):Bo(e)&&(n.current=u.target)},s=u=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{if(a.activeElement&&Bo(e)&&!ki(a.activeElement,e))if(Se=e,a.body.contains(u.target)){var d;n.current=u.target,(d=n.current)===null||d===void 0||d.focus()}else Se.current&&Gc(Se.current)})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",l,!1),o==null||o.forEach(u=>u.addEventListener("focusin",l,!1)),o==null||o.forEach(u=>u.addEventListener("focusout",s,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",l,!1),o==null||o.forEach(u=>u.removeEventListener("focusin",l,!1)),o==null||o.forEach(u=>u.removeEventListener("focusout",s,!1))}},[e,t]),Te(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function uh(e){return ki(e)}function He(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function ki(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of Le.traverse(Le.getTreeNode(t)))if(n&&He(e,n.current))return!0;return!1}function eC(e){return ki(e,Se)}function Ci(e,t){var n;let r=(n=Le.getTreeNode(t))===null||n===void 0?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function en(e,t=!1){if(e!=null&&!t)try{Vo(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function dh(e,t=!0){let n=e[0].previousElementSibling,r=Hn(e),o=tn(r,{tabbable:t},e);o.currentNode=n;let a=o.nextNode();return t&&!a&&(r=Hn(e),o=tn(r,{tabbable:!1},e),o.currentNode=n,a=o.nextNode()),a}function Gc(e,t=!0){en(dh(e,t))}function tC(e,t){const n=D.default.useRef(t);c.useEffect(()=>{if(n.current){Se=e;const r=Pe(e.current?e.current[0]:void 0);!He(r.activeElement,Se.current)&&e.current&&Gc(e.current)}n.current=!1},[e])}function nC(e,t,n){Te(()=>{if(t||n)return;let r=e.current;const o=Pe(r?r[0]:void 0);let a=i=>{let l=i.target;He(l,e.current)?Se=e:uh(l)||(Se=null)};return o.addEventListener("focusin",a,!1),r==null||r.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{o.removeEventListener("focusin",a,!1),r==null||r.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,n])}function rC(e){let t=Le.getTreeNode(Se);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function oC(e,t,n){const r=c.useRef(typeof document<"u"?Pe(e.current?e.current[0]:void 0).activeElement:null);Te(()=>{let o=e.current;const a=Pe(o?o[0]:void 0);if(!t||n)return;let i=()=>{(!Se||Ci(Se,e))&&He(a.activeElement,e.current)&&(Se=e)};return a.addEventListener("focusin",i,!1),o==null||o.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),o==null||o.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,n]),Te(()=>{const o=Pe(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!Bo(e)||i.isComposing)return;let l=o.activeElement;if(!He(l,e.current))return;let s=Le.getTreeNode(e);if(!s)return;let u=s.nodeToRestore,d=tn(o.body,{tabbable:!0});d.currentNode=l;let f=i.shiftKey?d.previousNode():d.nextNode();if((!u||!o.body.contains(u)||u===o.body)&&(u=void 0,s.nodeToRestore=void 0),(!f||!He(f,e.current))&&u){d.currentNode=u;do f=i.shiftKey?d.previousNode():d.nextNode();while(He(f,e.current));i.preventDefault(),i.stopPropagation(),f?en(f,!0):uh(u)?en(u,!0):l.blur()}};return n||o.addEventListener("keydown",a,!0),()=>{n||o.removeEventListener("keydown",a,!0)}},[e,t,n]),Te(()=>{const o=Pe(e.current?e.current[0]:void 0);if(!t)return;let a=Le.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=r.current)!==null&&i!==void 0?i:void 0,()=>{let l=Le.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(He(o.activeElement,e.current)||o.activeElement===o.body&&rC(e))){let u=Le.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=u.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){fh(d.nodeToRestore);return}d=d.parent}for(d=u.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&Le.getTreeNode(d.scopeRef)){let f=dh(d.scopeRef.current,!0);fh(f);return}d=d.parent}}})}}}},[e,t])}function fh(e){e.dispatchEvent(new CustomEvent(Wc,{bubbles:!0,cancelable:!0}))&&en(e)}function tn(e,t,n){let r=t!=null&&t.tabbable?Zk:Jk,o=Pe(e).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(r)&&sh(a)&&(!n||He(a,n))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}class Yc{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let o=this.fastMap.get(n??null);if(!o)return;let a=new qc({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),r&&(a.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let a of this.traverse())a!==n&&n.nodeToRestore&&a.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&He(a.nodeToRestore,n.scopeRef.current)&&(a.nodeToRestore=n.nodeToRestore);let o=n.children;r&&(r.removeChild(n),o.size>0&&o.forEach(a=>r&&r.addChild(a))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){var t;let n=new Yc;var r;for(let o of this.traverse())n.addTreeNode(o.scopeRef,(r=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&r!==void 0?r:null,o.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new qc({scopeRef:null}),this.fastMap.set(null,this.root)}}class qc{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Le=new Yc;function jo(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=c.useRef({isFocused:!1,isFocusVisible:t||xi()}),[a,i]=c.useState(!1),[l,s]=c.useState(()=>o.current.isFocused&&o.current.isFocusVisible),u=c.useCallback(()=>s(o.current.isFocused&&o.current.isFocusVisible),[]),d=c.useCallback(g=>{o.current.isFocused=g,i(g),u()},[u]);gk(g=>{o.current.isFocusVisible=g,u()},[],{isTextInput:n});let{focusProps:f}=zc({isDisabled:r,onFocusChange:d}),{focusWithinProps:m}=Ko({isDisabled:!r,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:l,focusProps:r?m:f}}function ph(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ph(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function aC(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ph(e))&&(r&&(r+=" "),r+=t);return r}function iC(e){let{children:t,focusClass:n,focusRingClass:r}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=jo(e),l=D.default.Children.only(t);return D.default.cloneElement(l,me(l.props,{...i,className:aC({[n||""]:o,[r||""]:a})}))}let lC=D.default.createContext(null);function sC(e){let t=c.useContext(lC)||{};Am(t,e);let{ref:n,...r}=t;return r}function Xc(e,t){let{focusProps:n}=zc(e),{keyboardProps:r}=vk(e),o=me(n,r),a=sC(t),i=e.isDisabled?{}:a,l=c.useRef(e.autoFocus);return c.useEffect(()=>{l.current&&t.current&&Vo(t.current),l.current=!1},[t]),{focusableProps:me({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function Gn(e,t){let{elementType:n="button",isDisabled:r,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:l,preventFocusOnPress:s,allowFocusWhenDisabled:u,onClick:d,href:f,target:m,rel:g,type:h="button"}=e,b;n==="button"?b={type:h,disabled:r}:b={role:"button",tabIndex:r?void 0:0,href:n==="a"&&r?void 0:f,target:n==="a"?m:void 0,type:n==="input"?h:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?g:void 0};let{pressProps:v,isPressed:_}=Pr({onPressStart:a,onPressEnd:i,onPressChange:l,onPress:o,isDisabled:r,preventFocusOnPress:s,ref:t}),{focusableProps:y}=Xc(e,t);u&&(y.tabIndex=r?-1:y.tabIndex);let x=me(y,v,_n(e,{labelable:!0}));return{isPressed:_,buttonProps:me(b,x,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:S=>{d&&(d(S),console.warn("onClick is deprecated, please use onPress"))}})}}const Jc=c.createContext(!1);Jc.displayName="FieldsetContext";const gh=F.default.fieldset`
774
774
  padding: 0;
775
775
  border: none;
776
- `;function cC({children:e,disabled:t,...n}){const o=Ft()||!!t;return w(Jc.Provider,{value:o,children:w(gh,{disabled:t,...n,children:e})})}function Ft(){return c.useContext(Jc)}function mh({isFocusVisible:e,isPressed:t}){return[e?"focused":void 0,t?"pressed":void 0].filter(Boolean).join(" ")}const Zc={small:`${p.spacing_200} ${p.spacing_300}`,large:`${p.spacing_300} ${p.spacing_400}`},yt=F.default.button`
776
+ `;function cC({children:e,disabled:t,...n}){const o=Lt()||!!t;return w(Jc.Provider,{value:o,children:w(gh,{disabled:t,...n,children:e})})}function Lt(){return c.useContext(Jc)}function mh({isFocusVisible:e,isPressed:t}){return[e?"focused":void 0,t?"pressed":void 0].filter(Boolean).join(" ")}const Zc={small:`${p.spacing_200} ${p.spacing_300}`,large:`${p.spacing_300} ${p.spacing_400}`},yt=F.default.button`
777
777
  appearance: none;
778
778
  border-radius: ${p.border_radius_400};
779
779
  border: 1px solid transparent;
@@ -1008,7 +1008,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1008
1008
  background-color: transparent;
1009
1009
  color: ${p.color_deprecated_outline_inverse_disabled};
1010
1010
  }
1011
- `,xC={low:vC,medium:{primary:yC,danger:$C,inverse:_C},high:gC},kr=c.forwardRef((e,t)=>{const{size:n="small",variant:r="primary",emphasis:o="high",disabled:a,onClick:i,autoFocus:l,children:s,...u}=e,d=_n(t),f=Ft(),m=a??f,{buttonProps:g,isPressed:h}=Gn({onPress:i,isDisabled:m,autoFocus:l,...u},d),{isFocusVisible:b,focusProps:v}=jo({autoFocus:l}),_=mh({isFocusVisible:b,isPressed:h}),x=xC[o][r];return w(x,{ref:d,...ge(g,u,v,{"data-state":_}),"data-state":_,style:{"--button-padding":Zc[n]},children:s})});kr.displayName="Button";const Qc="rovingFocusGroup.onEntryFocus",wC={bubbles:!1,cancelable:!0},eu="RovingFocusGroup",[tu,hh,EC]=Oa(eu),[SC,wn]=Ke(eu,[EC]),[DC,PC]=SC(eu),TC=c.forwardRef((e,t)=>c.createElement(tu.Provider,{scope:e.__scopeRovingFocusGroup},c.createElement(tu.Slot,{scope:e.__scopeRovingFocusGroup},c.createElement(kC,L({},e,{ref:t}))))),kC=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:u,...d}=e,f=c.useRef(null),m=$e(t,f),g=cr(a),[h=null,b]=Ue({prop:i,defaultProp:l,onChange:s}),[v,_]=c.useState(!1),y=je(u),x=hh(n),S=c.useRef(!1),[T,P]=c.useState(0);return c.useEffect(()=>{const M=f.current;if(M)return M.addEventListener(Qc,y),()=>M.removeEventListener(Qc,y)},[y]),c.createElement(DC,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:h,onItemFocus:c.useCallback(M=>b(M),[b]),onItemShiftTab:c.useCallback(()=>_(!0),[]),onFocusableItemAdd:c.useCallback(()=>P(M=>M+1),[]),onFocusableItemRemove:c.useCallback(()=>P(M=>M-1),[])},c.createElement(ce.div,L({tabIndex:v||T===0?-1:0,"data-orientation":r},d,{ref:m,style:{outline:"none",...e.style},onMouseDown:oe(e.onMouseDown,()=>{S.current=!0}),onFocus:oe(e.onFocus,M=>{const $=!S.current;if(M.target===M.currentTarget&&$&&!v){const C=new CustomEvent(Qc,wC);if(M.currentTarget.dispatchEvent(C),!C.defaultPrevented){const z=x().filter(j=>j.focusable),E=z.find(j=>j.active),K=z.find(j=>j.id===h),k=[E,K,...z].filter(Boolean).map(j=>j.ref.current);bh(k)}}S.current=!1}),onBlur:oe(e.onBlur,()=>_(!1))})))}),CC="RovingFocusGroupItem",AC=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,...i}=e,l=nt(),s=a||l,u=PC(CC,n),d=u.currentTabStopId===s,f=hh(n),{onFocusableItemAdd:m,onFocusableItemRemove:g}=u;return c.useEffect(()=>{if(r)return m(),()=>g()},[r,m,g]),c.createElement(tu.ItemSlot,{scope:n,id:s,focusable:r,active:o},c.createElement(ce.span,L({tabIndex:d?0:-1,"data-orientation":u.orientation},i,{ref:t,onMouseDown:oe(e.onMouseDown,h=>{r?u.onItemFocus(s):h.preventDefault()}),onFocus:oe(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:oe(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){u.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const b=MC(h,u.orientation,u.dir);if(b!==void 0){h.preventDefault();let _=f().filter(y=>y.focusable).map(y=>y.ref.current);if(b==="last")_.reverse();else if(b==="prev"||b==="next"){b==="prev"&&_.reverse();const y=_.indexOf(h.currentTarget);_=u.loop?FC(_,y+1):_.slice(y+1)}setTimeout(()=>bh(_))}})})))}),IC={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function OC(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function MC(e,t,n){const r=OC(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return IC[r]}function bh(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function FC(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Ai=TC,Ii=AC,LC=c.forwardRef((e,t)=>{const{pressed:n,defaultPressed:r=!1,onPressedChange:o,...a}=e,[i=!1,l]=Ue({prop:n,onChange:o,defaultProp:r});return c.createElement(ce.button,L({type:"button","aria-pressed":i,"data-state":i?"on":"off","data-disabled":e.disabled?"":void 0},a,{ref:t,onClick:oe(e.onClick,()=>{e.disabled||l(!i)})}))}),Oi="ToggleGroup",[vh,qV]=Ke(Oi,[wn]),yh=wn(),NC=D.default.forwardRef((e,t)=>{const{type:n,...r}=e;if(n==="single"){const o=r;return D.default.createElement(zC,L({},o,{ref:t}))}if(n==="multiple"){const o=r;return D.default.createElement(RC,L({},o,{ref:t}))}throw new Error(`Missing prop \`type\` expected on \`${Oi}\``)}),[$h,_h]=vh(Oi),zC=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i,l]=Ue({prop:n,defaultProp:r,onChange:o});return D.default.createElement($h,{scope:e.__scopeToggleGroup,type:"single",value:i?[i]:[],onItemActivate:l,onItemDeactivate:D.default.useCallback(()=>l(""),[l])},D.default.createElement(xh,L({},a,{ref:t})))}),RC=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],l]=Ue({prop:n,defaultProp:r,onChange:o}),s=D.default.useCallback(d=>l((f=[])=>[...f,d]),[l]),u=D.default.useCallback(d=>l((f=[])=>f.filter(m=>m!==d)),[l]);return D.default.createElement($h,{scope:e.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:s,onItemDeactivate:u},D.default.createElement(xh,L({},a,{ref:t})))}),[KC,VC]=vh(Oi),xh=D.default.forwardRef((e,t)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:a,dir:i,loop:l=!0,...s}=e,u=yh(n),d=cr(i),f={role:"group",dir:d,...s};return D.default.createElement(KC,{scope:n,rovingFocus:o,disabled:r},o?D.default.createElement(Ai,L({asChild:!0},u,{orientation:a,dir:d,loop:l}),D.default.createElement(ce.div,L({},f,{ref:t}))):D.default.createElement(ce.div,L({},f,{ref:t})))}),nu="ToggleGroupItem",BC=D.default.forwardRef((e,t)=>{const n=_h(nu,e.__scopeToggleGroup),r=VC(nu,e.__scopeToggleGroup),o=yh(e.__scopeToggleGroup),a=n.value.includes(e.value),i=r.disabled||e.disabled,l={...e,pressed:a,disabled:i},s=D.default.useRef(null);return r.rovingFocus?D.default.createElement(Ii,L({asChild:!0},o,{focusable:!i,active:a,ref:s}),D.default.createElement(wh,L({},l,{ref:t}))):D.default.createElement(wh,L({},l,{ref:t}))}),wh=D.default.forwardRef((e,t)=>{const{__scopeToggleGroup:n,value:r,...o}=e,a=_h(nu,n),i={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l=a.type==="single"?i:void 0;return D.default.createElement(LC,L({},l,o,{ref:t,onPressedChange:s=>{s?a.onItemActivate(r):a.onItemDeactivate(r)}}))}),jC=NC,UC=BC,Eh=F.default(jC)`
1011
+ `,xC={low:vC,medium:{primary:yC,danger:$C,inverse:_C},high:gC},kr=c.forwardRef((e,t)=>{const{size:n="small",variant:r="primary",emphasis:o="high",disabled:a,onClick:i,autoFocus:l,children:s,...u}=e,d=xn(t),f=Lt(),m=a??f,{buttonProps:g,isPressed:h}=Gn({onPress:i,isDisabled:m,autoFocus:l,...u},d),{isFocusVisible:b,focusProps:v}=jo({autoFocus:l}),_=mh({isFocusVisible:b,isPressed:h}),x=xC[o][r];return w(x,{ref:d,...me(g,u,v,{"data-state":_}),"data-state":_,style:{"--button-padding":Zc[n]},children:s})});kr.displayName="Button";const Qc="rovingFocusGroup.onEntryFocus",wC={bubbles:!1,cancelable:!0},eu="RovingFocusGroup",[tu,hh,EC]=Oa(eu),[SC,En]=Ke(eu,[EC]),[DC,PC]=SC(eu),TC=c.forwardRef((e,t)=>c.createElement(tu.Provider,{scope:e.__scopeRovingFocusGroup},c.createElement(tu.Slot,{scope:e.__scopeRovingFocusGroup},c.createElement(kC,L({},e,{ref:t}))))),kC=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:u,...d}=e,f=c.useRef(null),m=$e(t,f),g=cr(a),[h=null,b]=Ue({prop:i,defaultProp:l,onChange:s}),[v,_]=c.useState(!1),y=je(u),x=hh(n),S=c.useRef(!1),[T,P]=c.useState(0);return c.useEffect(()=>{const M=f.current;if(M)return M.addEventListener(Qc,y),()=>M.removeEventListener(Qc,y)},[y]),c.createElement(DC,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:h,onItemFocus:c.useCallback(M=>b(M),[b]),onItemShiftTab:c.useCallback(()=>_(!0),[]),onFocusableItemAdd:c.useCallback(()=>P(M=>M+1),[]),onFocusableItemRemove:c.useCallback(()=>P(M=>M-1),[])},c.createElement(ce.div,L({tabIndex:v||T===0?-1:0,"data-orientation":r},d,{ref:m,style:{outline:"none",...e.style},onMouseDown:oe(e.onMouseDown,()=>{S.current=!0}),onFocus:oe(e.onFocus,M=>{const $=!S.current;if(M.target===M.currentTarget&&$&&!v){const C=new CustomEvent(Qc,wC);if(M.currentTarget.dispatchEvent(C),!C.defaultPrevented){const N=x().filter(j=>j.focusable),E=N.find(j=>j.active),K=N.find(j=>j.id===h),k=[E,K,...N].filter(Boolean).map(j=>j.ref.current);bh(k)}}S.current=!1}),onBlur:oe(e.onBlur,()=>_(!1))})))}),CC="RovingFocusGroupItem",AC=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,...i}=e,l=nt(),s=a||l,u=PC(CC,n),d=u.currentTabStopId===s,f=hh(n),{onFocusableItemAdd:m,onFocusableItemRemove:g}=u;return c.useEffect(()=>{if(r)return m(),()=>g()},[r,m,g]),c.createElement(tu.ItemSlot,{scope:n,id:s,focusable:r,active:o},c.createElement(ce.span,L({tabIndex:d?0:-1,"data-orientation":u.orientation},i,{ref:t,onMouseDown:oe(e.onMouseDown,h=>{r?u.onItemFocus(s):h.preventDefault()}),onFocus:oe(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:oe(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){u.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const b=MC(h,u.orientation,u.dir);if(b!==void 0){h.preventDefault();let _=f().filter(y=>y.focusable).map(y=>y.ref.current);if(b==="last")_.reverse();else if(b==="prev"||b==="next"){b==="prev"&&_.reverse();const y=_.indexOf(h.currentTarget);_=u.loop?FC(_,y+1):_.slice(y+1)}setTimeout(()=>bh(_))}})})))}),IC={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function OC(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function MC(e,t,n){const r=OC(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return IC[r]}function bh(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function FC(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Ai=TC,Ii=AC,LC=c.forwardRef((e,t)=>{const{pressed:n,defaultPressed:r=!1,onPressedChange:o,...a}=e,[i=!1,l]=Ue({prop:n,onChange:o,defaultProp:r});return c.createElement(ce.button,L({type:"button","aria-pressed":i,"data-state":i?"on":"off","data-disabled":e.disabled?"":void 0},a,{ref:t,onClick:oe(e.onClick,()=>{e.disabled||l(!i)})}))}),Oi="ToggleGroup",[vh,qV]=Ke(Oi,[En]),yh=En(),NC=D.default.forwardRef((e,t)=>{const{type:n,...r}=e;if(n==="single"){const o=r;return D.default.createElement(zC,L({},o,{ref:t}))}if(n==="multiple"){const o=r;return D.default.createElement(RC,L({},o,{ref:t}))}throw new Error(`Missing prop \`type\` expected on \`${Oi}\``)}),[$h,_h]=vh(Oi),zC=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i,l]=Ue({prop:n,defaultProp:r,onChange:o});return D.default.createElement($h,{scope:e.__scopeToggleGroup,type:"single",value:i?[i]:[],onItemActivate:l,onItemDeactivate:D.default.useCallback(()=>l(""),[l])},D.default.createElement(xh,L({},a,{ref:t})))}),RC=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],l]=Ue({prop:n,defaultProp:r,onChange:o}),s=D.default.useCallback(d=>l((f=[])=>[...f,d]),[l]),u=D.default.useCallback(d=>l((f=[])=>f.filter(m=>m!==d)),[l]);return D.default.createElement($h,{scope:e.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:s,onItemDeactivate:u},D.default.createElement(xh,L({},a,{ref:t})))}),[KC,VC]=vh(Oi),xh=D.default.forwardRef((e,t)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:a,dir:i,loop:l=!0,...s}=e,u=yh(n),d=cr(i),f={role:"group",dir:d,...s};return D.default.createElement(KC,{scope:n,rovingFocus:o,disabled:r},o?D.default.createElement(Ai,L({asChild:!0},u,{orientation:a,dir:d,loop:l}),D.default.createElement(ce.div,L({},f,{ref:t}))):D.default.createElement(ce.div,L({},f,{ref:t})))}),nu="ToggleGroupItem",BC=D.default.forwardRef((e,t)=>{const n=_h(nu,e.__scopeToggleGroup),r=VC(nu,e.__scopeToggleGroup),o=yh(e.__scopeToggleGroup),a=n.value.includes(e.value),i=r.disabled||e.disabled,l={...e,pressed:a,disabled:i},s=D.default.useRef(null);return r.rovingFocus?D.default.createElement(Ii,L({asChild:!0},o,{focusable:!i,active:a,ref:s}),D.default.createElement(wh,L({},l,{ref:t}))):D.default.createElement(wh,L({},l,{ref:t}))}),wh=D.default.forwardRef((e,t)=>{const{__scopeToggleGroup:n,value:r,...o}=e,a=_h(nu,n),i={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l=a.type==="single"?i:void 0;return D.default.createElement(LC,L({},l,o,{ref:t,onPressedChange:s=>{s?a.onItemActivate(r):a.onItemDeactivate(r)}}))}),jC=NC,UC=BC,Eh=F.default(jC)`
1012
1012
  display: flex;
1013
1013
  width: fit-content;
1014
1014
  background-color: ${p.color_deprecated_overlay_secondary_selected_enabled};
@@ -1031,19 +1031,19 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1031
1031
  border-radius: ${p.border_radius_400};
1032
1032
  box-shadow: ${p.elevation_interactive_medium};
1033
1033
  }
1034
- `;const Cr={top:"top",bottom:"top",left:"left",right:"left"},Mi={top:"bottom",bottom:"top",left:"right",right:"left"},HC={top:"left",left:"top"},ru={top:"height",left:"width"},Dh={width:"totalWidth",height:"totalHeight"},Fi={};let et=typeof document<"u"&&window.visualViewport;function Ph(e){let t=0,n=0,r=0,o=0,a=0,i=0,l={},s=(et==null?void 0:et.scale)>1;if(e.tagName==="BODY"){let f=document.documentElement;r=f.clientWidth,o=f.clientHeight;var u;t=(u=et==null?void 0:et.width)!==null&&u!==void 0?u:r;var d;n=(d=et==null?void 0:et.height)!==null&&d!==void 0?d:o,l.top=f.scrollTop||e.scrollTop,l.left=f.scrollLeft||e.scrollLeft,et&&(a=et.offsetTop,i=et.offsetLeft)}else({width:t,height:n,top:a,left:i}=Ar(e)),l.top=e.scrollTop,l.left=e.scrollLeft,r=t,o=n;return Ec()&&(e.tagName==="BODY"||e.tagName==="HTML")&&s&&(l.top=0,l.left=0,a=et.pageTop,i=et.pageLeft),{width:t,height:n,totalWidth:r,totalHeight:o,scroll:l,top:a,left:i}}function GC(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Th(e,t,n,r,o,a,i){let l=o.scroll[e],s=r[ru[e]],u=r.scroll[Cr[e]]+a,d=s+r.scroll[Cr[e]]-a,f=t-l+i[e]-r[Cr[e]],m=t-l+n+i[e]-r[Cr[e]];return f<u?u-f:m>d?Math.max(d-m,u-f):0}function YC(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 kh(e){if(Fi[e])return Fi[e];let[t,n]=e.split(" "),r=Cr[t]||"right",o=HC[r];Cr[n]||(n="center");let a=ru[r],i=ru[o];return Fi[e]={placement:t,crossPlacement:n,axis:r,crossAxis:o,size:a,crossSize:i},Fi[e]}function ou(e,t,n,r,o,a,i,l,s,u){let{placement:d,crossPlacement:f,axis:m,crossAxis:g,size:h,crossSize:b}=r,v={};v[g]=e[g],f==="center"?v[g]+=(e[b]-n[b])/2:f!==g&&(v[g]+=e[b]-n[b]),v[g]+=a;const _=e[g]-n[b]+s+u,y=e[g]+e[b]-s-u;if(v[g]=pi(v[g],_,y),d===m){const x=l?i[h]:t[Dh[h]];v[Mi[m]]=Math.floor(x-e[m]+o)}else v[m]=Math.floor(e[m]+e[h]+o);return v}function qC(e,t,n,r,o,a,i,l){const s=r?n.height:t[Dh.height];let u=e.top!=null?n.top+e.top:n.top+(s-e.bottom-i),d=l!=="top"?Math.max(0,t.height+t.top+t.scroll.top-u-(o.top+o.bottom+a)):Math.max(0,u+i-(t.top+t.scroll.top)-(o.top+o.bottom+a));return Math.min(t.height-a*2,d)}function Ch(e,t,n,r,o,a){let{placement:i,axis:l,size:s}=a;return i===l?Math.max(0,n[l]-e[l]-e.scroll[l]+t[l]-r[l]-r[Mi[l]]-o):Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-n[l]-n[s]-r[l]-r[Mi[l]]-o)}function XC(e,t,n,r,o,a,i,l,s,u,d,f,m,g,h,b){let v=kh(e),{size:_,crossAxis:y,crossSize:x,placement:S,crossPlacement:T}=v,P=ou(t,l,n,v,d,f,u,m,h,b),M=d,$=Ch(l,u,t,o,a+d,v);if(i&&r[_]>$){let q=kh(`${Mi[S]} ${T}`),B=ou(t,l,n,q,d,f,u,m,h,b);Ch(l,u,t,o,a+d,q)>$&&(v=q,P=B,M=d)}let C="bottom";v.axis==="top"?v.placement==="top"?C="top":v.placement==="bottom"&&(C="bottom"):v.crossAxis==="top"&&(v.crossPlacement==="top"?C="bottom":v.crossPlacement==="bottom"&&(C="top"));let z=Th(y,P[y],n[x],l,s,a,u);P[y]+=z;let E=qC(P,l,u,m,o,a,n.height,C);g&&g<E&&(E=g),n.height=Math.min(n.height,E),P=ou(t,l,n,v,M,f,u,m,h,b),z=Th(y,P[y],n[x],l,s,a,u),P[y]+=z;let K={},I=t[y]+.5*t[x]-P[y];const k=h/2+b,j=n[x]-h/2-b,O=t[y]-P[y]+h/2,Z=t[y]+t[x]-P[y]-h/2,V=pi(I,O,Z);return K[y]=pi(V,k,j),{position:P,maxHeight:E,arrowOffsetLeft:K.left,arrowOffsetTop:K.top,placement:v.placement}}function JC(e){let{placement:t,targetNode:n,overlayNode:r,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:u,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:m=0}=e,g=r instanceof HTMLElement?ZC(r):document.documentElement,h=g===document.documentElement;const b=window.getComputedStyle(g).position;let v=!!b&&b!=="static",_=h?Ar(n):Ah(n,g);if(!h){let{marginTop:$,marginLeft:C}=window.getComputedStyle(n);_.top+=parseInt($,10)||0,_.left+=parseInt(C,10)||0}let y=Ar(r),x=YC(r);y.width+=x.left+x.right,y.height+=x.top+x.bottom;let S=GC(o),T=Ph(l),P=Ph(g),M=l.tagName==="BODY"?Ar(g):Ah(g,l);return g.tagName==="HTML"&&l.tagName==="BODY"&&(P.scroll.top=0,P.scroll.left=0),XC(t,_,y,S,x,a,i,T,P,M,s,u,v,d,f,m)}function Ar(e){let{top:t,left:n,width:r,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+a-l,left:n+i-s,width:r,height:o}}function Ah(e,t){let n=window.getComputedStyle(e),r;if(n.position==="fixed"){let{top:o,left:a,width:i,height:l}=e.getBoundingClientRect();r={top:o,left:a,width:i,height:l}}else{r=Ar(e);let o=Ar(t),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=o.top,r.left-=o.left}return r.top-=parseInt(n.marginTop,10)||0,r.left-=parseInt(n.marginLeft,10)||0,r}function ZC(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Ih(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Ih(t);)t=t.parentElement;return t||document.documentElement}function Ih(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const Oh=new WeakMap;function QC(e){let{triggerRef:t,isOpen:n,onClose:r}=e;c.useEffect(()=>{if(!n||r===null)return;let o=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current)||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)return;let l=r||Oh.get(t.current);l&&l()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[n,r,t])}const e4=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),t4=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function n4(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return e4.has(n.script)}let t=e.split("-")[0];return t4.has(t)}const r4=Symbol.for("react-aria.i18n.locale");function Mh(){let e=typeof window<"u"&&window[r4]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:n4(e)?"rtl":"ltr"}}let au=Mh(),Uo=new Set;function Fh(){au=Mh();for(let e of Uo)e(au)}function o4(){let e=si(),[t,n]=c.useState(au);return c.useEffect(()=>(Uo.size===0&&window.addEventListener("languagechange",Fh),Uo.add(n),()=>{Uo.delete(n),Uo.size===0&&window.removeEventListener("languagechange",Fh)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const a4=D.default.createContext(null);function ot(){let e=o4();return c.useContext(a4)||e}const i4=Symbol.for("react-aria.i18n.locale"),l4=Symbol.for("react-aria.i18n.strings");let Ir;class Li{getStringForLocale(t,n){let o=this.getStringsForLocale(n)[t];if(!o)throw new Error(`Could not find intl message ${t} in ${n} locale`);return o}getStringsForLocale(t){let n=this.strings[t];return n||(n=s4(t,this.strings,this.defaultLocale),this.strings[t]=n),n}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let n=window[i4];if(Ir===void 0){let o=window[l4];if(!o)return null;Ir={};for(let a in o)Ir[a]=new Li({[n]:o[a]},n)}let r=Ir==null?void 0:Ir[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(t,n="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=n}}function s4(e,t,n="en-US"){if(t[e])return t[e];let r=c4(e);if(t[r])return t[r];for(let o in t)if(o.startsWith(r+"-"))return t[o];return t[n]}function c4(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Lh=new Map,Nh=new Map;class u4{format(t,n){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(n,this):r}plural(t,n,r="cardinal"){let o=n["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+r,i=Lh.get(a);i||(i=new Intl.PluralRules(this.locale,{type:r}),Lh.set(a,i));let l=i.select(t);return o=n[l]||n.other,typeof o=="function"?o():o}number(t){let n=Nh.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),Nh.set(this.locale,n)),n.format(t)}select(t,n){let r=t[n]||t.other;return typeof r=="function"?r():r}constructor(t,n){this.locale=t,this.strings=n}}const zh=new WeakMap;function d4(e){let t=zh.get(e);return t||(t=new Li(e),zh.set(e,t)),t}function f4(e,t){return t&&Li.getGlobalDictionaryForPackage(t)||d4(e)}function $t(e,t){let{locale:n}=ot(),r=f4(e,t);return c.useMemo(()=>new u4(n,r),[n,r])}function Or(e,t){return e-t*Math.floor(e/t)}const Rh=1721426;function Yn(e,t,n,r){t=Wo(e,t);let o=t-1,a=-2;return n<=2?a=0:En(t)&&(a=-1),Rh-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*n-362)/12+a+r)}function En(e){return e%4===0&&(e%100!==0||e%400===0)}function Wo(e,t){return e==="BC"?1-t:t}function Ni(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const p4={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 at{fromJulianDay(t){let n=t,r=n-Rh,o=Math.floor(r/146097),a=Or(r,146097),i=Math.floor(a/36524),l=Or(a,36524),s=Math.floor(l/1461),u=Or(l,1461),d=Math.floor(u/365),f=o*400+i*100+s*4+d+(i!==4&&d!==4?1:0),[m,g]=Ni(f),h=n-Yn(m,g,1,1),b=2;n<Yn(m,g,3,1)?b=0:En(g)&&(b=1);let v=Math.floor(((h+b)*12+373)/367),_=n-Yn(m,g,v,1)+1;return new Ae(m,g,v,_)}toJulianDay(t){return Yn(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return p4[En(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return En(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(){this.identifier="gregory"}}const g4={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Oe(e,t){return t=ze(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function m4(e,t){return t=ze(t,e.calendar),e=qn(e),t=qn(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function iu(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function h4(e,t){return Oe(e,Ho(t))}function zi(e,t){let n=e.calendar.toJulianDay(e),r=Math.ceil(n+1-_4(t))%7;return r<0&&(r+=7),r}function b4(e){return nn(Date.now(),e)}function Ho(e){return _t(b4(e))}function Kh(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Vh(e,t){return Bh(e)-Bh(t)}function Bh(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let lu=null;function jh(){return lu==null&&(lu=new Intl.DateTimeFormat().resolvedOptions().timeZone),lu}function qn(e){return e.subtract({days:e.day-1})}function Ri(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function v4(e){return qn(e.subtract({months:e.month-1}))}function Go(e,t){let n=zi(e,t);return e.subtract({days:n})}function y4(e,t){return Go(e,t).add({days:6})}const Uh=new Map;function $4(e){if(Intl.Locale){let n=Uh.get(e);return n||(n=new Intl.Locale(e).maximize().region,n&&Uh.set(e,n)),n}let t=e.split("-")[1];return t==="u"?void 0:t}function _4(e){let t=$4(e);return t&&g4[t]||0}function x4(e,t){let n=e.calendar.getDaysInMonth(e);return Math.ceil((zi(qn(e),t)+n)/7)}function su(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function cu(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Mr(e){e=ze(e,new at);let t=Wo(e.era,e.year);return Wh(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Wh(e,t,n,r,o,a,i){let l=new Date;return l.setUTCHours(r,o,a,i),l.setUTCFullYear(e,t-1,n),l.getTime()}function uu(e,t){if(t==="UTC")return 0;if(e>0&&t===jh())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:o,hour:a,minute:i,second:l}=Gh(e,t);return Wh(n,r,o,a,i,l,0)-Math.floor(e/1e3)*1e3}const Hh=new Map;function Gh(e,t){let n=Hh.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Hh.set(t,n));let r=n.formatToParts(new Date(e)),o={};for(let a of r)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 Yh=864e5;function w4(e,t,n,r){return(n===r?[n]:[n,r]).filter(a=>E4(e,t,a))}function E4(e,t,n){let r=Gh(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function tn(e,t,n="compatible"){let r=Fr(e);if(t==="UTC")return Mr(r);if(t===jh()&&n==="compatible"){r=ze(r,new at);let s=new Date,u=Wo(r.era,r.year);return s.setFullYear(u,r.month-1,r.day),s.setHours(r.hour,r.minute,r.second,r.millisecond),s.getTime()}let o=Mr(r),a=uu(o-Yh,t),i=uu(o+Yh,t),l=w4(r,t,o-a,o-i);if(l.length===1)return l[0];if(l.length>1)switch(n){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){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 qh(e,t,n="compatible"){return new Date(tn(e,t,n))}function nn(e,t){let n=uu(e,t),r=new Date(e+n),o=r.getUTCFullYear(),a=r.getUTCMonth()+1,i=r.getUTCDate(),l=r.getUTCHours(),s=r.getUTCMinutes(),u=r.getUTCSeconds(),d=r.getUTCMilliseconds();return new Xo(o,a,i,t,n,l,s,u,d)}function _t(e){return new Ae(e.calendar,e.era,e.year,e.month,e.day)}function Fr(e,t){let n=0,r=0,o=0,a=0;if("timeZone"in e)({hour:n,minute:r,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:r,second:o,millisecond:a}=t),new Bi(e.calendar,e.era,e.year,e.month,e.day,n,r,o,a)}function ze(e,t){if(e.calendar.identifier===t.identifier)return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Xn(r),r}function S4(e,t,n){if(e instanceof Xo)return e.timeZone===t?e:P4(e,t);let r=tn(e,t,n);return nn(r,t)}function D4(e){let t=Mr(e)-e.offset;return new Date(t)}function P4(e,t){let n=Mr(e)-e.offset;return ze(nn(n,t),e.calendar)}const Yo=36e5;function Ki(e,t){let n=e.copy(),r="hour"in n?Qh(n,t):0;du(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,fu(n),Xh(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,T4(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let o=n.calendar.getYearsInEra(n);if(n.year>o){var a,i;let s=(a=(i=n.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,n);n.year=o,n.month=s?1:n.calendar.getMonthsInYear(n),n.day=s?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let l=n.calendar.getMonthsInYear(n);return n.month>l&&(n.month=l,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function du(e,t){var n,r;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function fu(e){for(;e.month<1;)du(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,du(e,1)}function T4(e){for(;e.day<1;)e.month--,fu(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,fu(e)}function Xh(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 Xn(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Xh(e)}function pu(e){let t={};for(let n in e)typeof e[n]=="number"&&(t[n]=-e[n]);return t}function Jh(e,t){return Ki(e,pu(t))}function gu(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),Xn(n),n}function qo(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),Zh(n),n}function k4(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Vi(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Vi(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Vi(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Vi(e.hour,24),t}function Zh(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 Vi(e,t){let n=e%t;return n<0&&(n+=t),n}function Qh(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,k4(e)}function eb(e,t){let n=e.copy();return Qh(n,t),n}function C4(e,t){return eb(e,pu(t))}function mu(e,t,n,r){let o=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=rn(s,n,0,l.length-1,r==null?void 0:r.round),o.era=l[s],Xn(o);break}case"year":var a,i;!((a=(i=o.calendar).isInverseEra)===null||a===void 0)&&a.call(i,o)&&(n=-n),o.year=rn(e.year,n,-1/0,9999,r==null?void 0:r.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=rn(e.month,n,1,e.calendar.getMonthsInYear(e),r==null?void 0:r.round);break;case"day":o.day=rn(e.day,n,1,e.calendar.getDaysInMonth(e),r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(o),Xn(o),o}function hu(e,t,n,r){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,l=23;if((r==null?void 0:r.hourCycle)===12){let s=a>=12;i=s?12:0,l=s?23:11}o.hour=rn(a,n,i,l,r==null?void 0:r.round);break}case"minute":o.minute=rn(e.minute,n,0,59,r==null?void 0:r.round);break;case"second":o.second=rn(e.second,n,0,59,r==null?void 0:r.round);break;case"millisecond":o.millisecond=rn(e.millisecond,n,0,999,r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return o}function rn(e,t,n,r,o=!1){if(o){e+=Math.sign(t),e<n&&(e=r);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function tb(e,t){let n;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let o=Ki(Fr(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=tn(o,e.timeZone)}else n=Mr(e)-e.offset;n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5;let r=nn(n,e.timeZone);return ze(r,e.calendar)}function A4(e,t){return tb(e,pu(t))}function I4(e,t,n,r){switch(t){case"hour":{let o=0,a=23;if((r==null?void 0:r.hourCycle)===12){let h=e.hour>=12;o=h?12:0,a=h?23:11}let i=Fr(e),l=ze(qo(i,{hour:o}),new at),s=[tn(l,e.timeZone,"earlier"),tn(l,e.timeZone,"later")].filter(h=>nn(h,e.timeZone).day===l.day)[0],u=ze(qo(i,{hour:a}),new at),d=[tn(u,e.timeZone,"earlier"),tn(u,e.timeZone,"later")].filter(h=>nn(h,e.timeZone).day===u.day).pop(),f=Mr(e)-e.offset,m=Math.floor(f/Yo),g=f%Yo;return f=rn(m,n,Math.floor(s/Yo),Math.floor(d/Yo),r==null?void 0:r.round)*Yo+g,ze(nn(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return hu(e,t,n,r);case"era":case"year":case"month":case"day":{let o=mu(Fr(e),t,n,r),a=tn(o,e.timeZone);return ze(nn(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function O4(e,t,n){let r=Fr(e),o=qo(gu(r,t),t);if(o.compare(r)===0)return e;let a=tn(o,e.timeZone,n);return ze(nn(a,e.timeZone),e.calendar)}function nb(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 rb(e){let t=ze(e,new at);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function ob(e){return`${rb(e)}T${nb(e)}`}function M4(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let n=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}function F4(e){return`${ob(e)}${M4(e.offset)}[${e.timeZone}]`}function bu(e){let t=typeof e[0]=="object"?e.shift():new at,n;if(typeof e[0]=="string")n=e.shift();else{let i=t.getEras();n=i[i.length-1]}let r=e.shift(),o=e.shift(),a=e.shift();return[t,n,r,o,a]}var L4=new WeakMap;class Ae{copy(){return this.era?new Ae(this.calendar,this.era,this.year,this.month,this.day):new Ae(this.calendar,this.year,this.month,this.day)}add(t){return Ki(this,t)}subtract(t){return Jh(this,t)}set(t){return gu(this,t)}cycle(t,n,r){return mu(this,t,n,r)}toDate(t){return qh(this,t)}toString(){return rb(this)}compare(t){return Kh(this,t)}constructor(...t){No(this,L4,{writable:!0,value:void 0});let[n,r,o,a,i]=bu(t);this.calendar=n,this.era=r,this.year=o,this.month=a,this.day=i,Xn(this)}}var N4=new WeakMap;class Jn{copy(){return new Jn(this.hour,this.minute,this.second,this.millisecond)}add(t){return eb(this,t)}subtract(t){return C4(this,t)}set(t){return qo(this,t)}cycle(t,n,r){return hu(this,t,n,r)}toString(){return nb(this)}compare(t){return Vh(this,t)}constructor(t=0,n=0,r=0,o=0){No(this,N4,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=r,this.millisecond=o,Zh(this)}}var z4=new WeakMap;class Bi{copy(){return this.era?new Bi(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Bi(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ki(this,t)}subtract(t){return Jh(this,t)}set(t){return gu(qo(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return mu(this,t,n,r);default:return hu(this,t,n,r)}}toDate(t,n){return qh(this,t,n)}toString(){return ob(this)}compare(t){let n=Kh(this,t);return n===0?Vh(this,Fr(t)):n}constructor(...t){No(this,z4,{writable:!0,value:void 0});let[n,r,o,a,i]=bu(t);this.calendar=n,this.era=r,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,Xn(this)}}var R4=new WeakMap;class Xo{copy(){return this.era?new Xo(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Xo(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return tb(this,t)}subtract(t){return A4(this,t)}set(t,n){return O4(this,t,n)}cycle(t,n,r){return I4(this,t,n,r)}toDate(){return D4(this)}toString(){return F4(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-S4(t,this.timeZone).toDate().getTime()}constructor(...t){No(this,R4,{writable:!0,value:void 0});let[n,r,o,a,i]=bu(t),l=t.shift(),s=t.shift();this.calendar=n,this.era=r,this.year=o,this.month=a,this.day=i,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Xn(this)}}const Lr=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],K4=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],ji=[1867,1911,1925,1988,2018],Sn=["meiji","taisho","showa","heisei","reiwa"];function ab(e){const t=Lr.findIndex(([n,r,o])=>e.year<n||e.year===n&&e.month<r||e.year===n&&e.month===r&&e.day<o);return t===-1?Lr.length-1:t===0?0:t-1}function vu(e){let t=ji[Sn.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Ae(e.year+t,e.month,e.day)}class V4 extends at{fromJulianDay(t){let n=super.fromJulianDay(t),r=ab(n);return new Ae(this,Sn[r],n.year-ji[r],n.month,n.day)}toJulianDay(t){return super.toJulianDay(vu(t))}balanceDate(t){let n=vu(t),r=ab(n);Sn[r]!==t.era&&(t.era=Sn[r],t.year=n.year-ji[r]),this.constrainDate(t)}constrainDate(t){let n=Sn.indexOf(t.era),r=K4[n];if(r!=null){let[o,a,i]=r,l=o-ji[n];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&n>=0){let[,o,a]=Lr[n];t.month=Math.max(o,t.month),t.month===o&&(t.day=Math.max(a,t.day))}}getEras(){return Sn}getYearsInEra(t){let n=Sn.indexOf(t.era),r=Lr[n],o=Lr[n+1];if(o==null)return 9999-r[0]+1;let a=o[0]-r[0];return(t.month<o[1]||t.month===o[1]&&t.day<o[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(vu(t))}getMinimumMonthInYear(t){let n=ib(t);return n?n[1]:1}getMinimumDayInMonth(t){let n=ib(t);return n&&t.month===n[1]?n[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function ib(e){if(e.year===1){let t=Sn.indexOf(e.era);return Lr[t]}}const lb=-543;class B4 extends at{fromJulianDay(t){let n=super.fromJulianDay(t),r=Wo(n.era,n.year);return new Ae(this,r-lb,n.month,n.day)}toJulianDay(t){return super.toJulianDay(sb(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(sb(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function sb(e){let[t,n]=Ni(e.year+lb);return new Ae(t,n,e.month,e.day)}const Ui=1911;function cb(e){return e.era==="minguo"?e.year+Ui:1-e.year+Ui}function ub(e){let t=e-Ui;return t>0?["minguo",t]:["before_minguo",1-t]}class j4 extends at{fromJulianDay(t){let n=super.fromJulianDay(t),r=Wo(n.era,n.year),[o,a]=ub(r);return new Ae(this,o,a,n.month,n.day)}toJulianDay(t){return super.toJulianDay(db(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[n,r]=ub(cb(t));t.era=n,t.year=r}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(db(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Ui}constructor(...t){super(...t),this.identifier="roc"}}function db(e){let[t,n]=Ni(cb(e));return new Ae(t,n,e.month,e.day)}const fb=1948320,pb=[0,31,62,93,124,155,186,216,246,276,306,336];class U4{fromJulianDay(t){let n=t-fb,r=1+Math.floor((33*n+3)/12053),o=365*(r-1)+Math.floor((8*r+21)/33),a=n-o,i=a<216?Math.floor(a/31):Math.floor((a-6)/30),l=a-pb[i]+1;return new Ae(this,r,i+1,l)}toJulianDay(t){let n=fb-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return n+=pb[t.month-1],n+=t.day,n}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Or(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const yu=78,gb=80;class W4 extends at{fromJulianDay(t){let n=super.fromJulianDay(t),r=n.year-yu,o=t-Yn(n.era,n.year,1,1),a;o<gb?(r--,a=En(n.year-1)?31:30,o+=a+155+90+10):(a=En(n.year)?31:30,o-=gb);let i,l;if(o<a)i=1,l=o+1;else{let s=o-a;s<155?(i=Math.floor(s/31)+2,l=s%31+1):(s-=155,i=Math.floor(s/30)+7,l=s%30+1)}return new Ae(this,r,i,l)}toJulianDay(t){let n=t.year+yu,[r,o]=Ni(n),a,i;return En(o)?(a=31,i=Yn(r,o,3,21)):(a=30,i=Yn(r,o,3,22)),t.month===1?i+t.day-1:(i+=a+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&En(t.year+yu)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Wi=1948440,mb=1948439,dt=1300,Nr=1600,H4=460322;function Hi(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function hb(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),o=Math.min(12,Math.ceil((n-(29+Hi(t,r,1,1)))/29.5)+1),a=n-Hi(t,r,o,1)+1;return new Ae(e,r,o,a)}function bb(e){return(14+11*e)%30<11}class $u{fromJulianDay(t){return hb(this,Wi,t)}toJulianDay(t){return Hi(Wi,t.year,t.month,t.day)}getDaysInMonth(t){let n=29+t.month%2;return t.month===12&&bb(t.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(t){return bb(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class G4 extends $u{fromJulianDay(t){return hb(this,mb,t)}toJulianDay(t){return Hi(mb,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Y4="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let _u,zr;function Gi(e){return H4+zr[e-dt]}function Jo(e,t){let n=e-dt,r=1<<11-(t-1);return _u[n]&r?30:29}function vb(e,t){let n=Gi(e);for(let r=1;r<t;r++)n+=Jo(e,r);return n}function yb(e){return zr[e+1-dt]-zr[e-dt]}class q4 extends $u{fromJulianDay(t){let n=t-Wi,r=Gi(dt),o=Gi(Nr);if(n<r||n>o)return super.fromJulianDay(t);{let a=dt-1,i=1,l=1;for(;l>0;){a++,l=n-Gi(a)+1;let s=yb(a);if(l===s){i=12;break}else if(l<s){let u=Jo(a,i);for(i=1;l>u;)l-=u,i++,u=Jo(a,i);break}}return new Ae(this,a,i,n-vb(a,i)+1)}}toJulianDay(t){return t.year<dt||t.year>Nr?super.toJulianDay(t):Wi+vb(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<dt||t.year>Nr?super.getDaysInMonth(t):Jo(t.year,t.month)}getDaysInYear(t){return t.year<dt||t.year>Nr?super.getDaysInYear(t):yb(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",_u||(_u=new Uint16Array(Uint8Array.from(atob(Y4),t=>t.charCodeAt(0)).buffer)),!zr){zr=new Uint32Array(Nr-dt+1);let t=0;for(let n=dt;n<=Nr;n++){zr[n-dt]=t;for(let r=1;r<=12;r++)t+=Jo(n,r)}}}}const $b=347997,_b=1080,xb=24*_b,X4=29,J4=12*_b+793,Z4=X4*xb+J4;function Zn(e){return Or(e*7+1,19)<7}function Yi(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return Or(3*(r+1),7)<3&&(r+=1),r}function Q4(e){let t=Yi(e-1),n=Yi(e);return Yi(e+1)-n===356?2:n-t===382?1:0}function Zo(e){return Yi(e)+Q4(e)}function wb(e){return Zo(e+1)-Zo(e)}function e8(e){let t=wb(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function qi(e,t){if(t>=6&&!Zn(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let n=e8(e);return t===2?n===2?30:29:t===3?n===0?29:30:t===6?Zn(e)?30:0:30}class t8{fromJulianDay(t){let n=t-$b,r=n*xb/Z4,o=Math.floor((19*r+234)/235)+1,a=Zo(o),i=Math.floor(n-a);for(;i<1;)o--,a=Zo(o),i=Math.floor(n-a);let l=1,s=0;for(;s<i;)s+=qi(o,l),l++;l--,s-=qi(o,l);let u=i-s;return new Ae(this,o,l,u)}toJulianDay(t){let n=Zo(t.year);for(let r=1;r<t.month;r++)n+=qi(t.year,r);return n+t.day+$b}getDaysInMonth(t){return qi(t.year,t.month)}getMonthsInYear(t){return Zn(t.year)?13:12}getDaysInYear(t){return wb(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,n){n.year!==t.year&&(Zn(n.year)&&!Zn(t.year)&&n.month>6?t.month--:!Zn(n.year)&&Zn(t.year)&&n.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const xu=1723856,Eb=1824665,wu=5500;function Xi(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function Eu(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-Xi(e,n,1,1))/30),o=t+1-Xi(e,n,r,1);return[n,r,o]}function Sb(e){return Math.floor(e%4/3)}function Db(e,t){return t%13!==0?30:Sb(e)+5}class Su{fromJulianDay(t){let[n,r,o]=Eu(xu,t),a="AM";return n<=0&&(a="AA",n+=wu),new Ae(this,a,n,r,o)}toJulianDay(t){let n=t.year;return t.era==="AA"&&(n-=wu),Xi(xu,n,t.month,t.day)}getDaysInMonth(t){return Db(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Sb(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class n8 extends Su{fromJulianDay(t){let[n,r,o]=Eu(xu,t);return n+=wu,new Ae(this,"AA",n,r,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class r8 extends Su{fromJulianDay(t){let[n,r,o]=Eu(Eb,t),a="CE";return n<=0&&(a="BCE",n=1-n),new Ae(this,a,n,r,o)}toJulianDay(t){let n=t.year;return t.era==="BCE"&&(n=1-n),Xi(Eb,n,t.month,t.day)}getDaysInMonth(t){let n=t.year;return t.era==="BCE"&&(n=1-n),Db(n,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function Pb(e){switch(e){case"buddhist":return new B4;case"ethiopic":return new Su;case"ethioaa":return new n8;case"coptic":return new r8;case"hebrew":return new t8;case"indian":return new W4;case"islamic-civil":return new $u;case"islamic-tbla":return new G4;case"islamic-umalqura":return new q4;case"japanese":return new V4;case"persian":return new U4;case"roc":return new j4;case"gregory":default:return new at}}let Du=new Map;class Tb{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(n)}`}formatRangeToParts(t,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.formatter.formatToParts(t),o=this.formatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return i8()&&(this.resolvedHourCycle||(this.resolvedHourCycle=l8(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,n={}){this.formatter=kb(t,n),this.options=n}}const o8={true:{ja:"h11"},false:{}};function kb(e,t={}){if(typeof t.hour12=="boolean"&&a8()){t={...t};let o=o8[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=o??a,delete t.hour12}let n=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Du.has(n))return Du.get(n);let r=new Intl.DateTimeFormat(e,t);return Du.set(n,r),r}let Pu=null;function a8(){return Pu==null&&(Pu=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Pu}let Tu=null;function i8(){return Tu==null&&(Tu=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Tu}function l8(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 n=kb(e,{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),o=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(r===0&&o===23)return"h23";if(r===24&&o===23)return"h24";if(r===0&&o===11)return"h11";if(r===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}function Qn(e){e=Mm(e??{},s8);let{locale:t}=ot();return c.useMemo(()=>new Tb(t,e),[t,e])}function s8(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o of n)if(t[o]!==e[o])return!1;return!0}let ku=new Map,Cu=!1;try{Cu=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Ji=!1;try{Ji=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Cb={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Zi{format(t){let n="";if(!Cu&&this.options.signDisplay!=null?n=u8(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!Ji){var r;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!o)return n;let l=(r=Cb[o])===null||r===void 0?void 0:r[a];n+=l[i]||l.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Cu&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Ji&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=c8(t,n),this.options=n}}function c8(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!Ji){var r;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=Cb[i])===null||r===void 0)&&r[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(ku.has(o))return ku.get(o);let a=new Intl.NumberFormat(e,t);return ku.set(o,a),a}function u8(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let o=e.format(-n),a=e.format(n),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(n)}}const d8=new RegExp("^.*\\(.*\\).*$"),f8=["latn","arab","hanidec"];class Ab{parse(t){return Au(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return Au(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return Au(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const Ib=new Map;function Au(e,t,n){let r=Ob(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let o of f8)if(o!==r.options.numberingSystem){let a=Ob(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(n))return a}}return r}function Ob(e,t){let n=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),r=Ib.get(n);return r||(r=new p8(e,t),Ib.set(n,r)),r}class p8{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=Qi(n,this.symbols.group,"")),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,"-")),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let i=n.indexOf("-");n=n.replace("-","");let l=n.indexOf(".");l===-1&&(l=n.length),n=n.replace(".",""),l-2===0?n=`0.${n}`:l-2===-1?n=`0.0${n}`:l-2===-2?n="0.00":n=`${n.slice(0,l-2)}.${n.slice(l-2)}`,i>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var o,a;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((o=this.options.minimumFractionDigits)!==null&&o!==void 0?o:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new Ab(this.locale,i).parse(new Zi(this.locale,i).format(r))}return this.options.currencySign==="accounting"&&d8.test(t)&&(r=-1*r),r}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(t=Qi(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=Qi(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,n=-1/0,r=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=Qi(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,n={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=m8(t,this.formatter,this.options,n);var r,o;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Mb=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),g8=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function m8(e,t,n,r){var o,a,i,l;let s=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21}),u=s.formatToParts(-10000.111),d=s.formatToParts(10000.111),f=g8.map(z=>s.formatToParts(z));var m;let g=(m=(o=u.find(z=>z.type==="minusSign"))===null||o===void 0?void 0:o.value)!==null&&m!==void 0?m:"-",h=(a=d.find(z=>z.type==="plusSign"))===null||a===void 0?void 0:a.value;!h&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(h="+");let v=(i=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(z=>z.type==="decimal"))===null||i===void 0?void 0:i.value,_=(l=u.find(z=>z.type==="group"))===null||l===void 0?void 0:l.value,y=u.filter(z=>!Mb.has(z.type)).map(z=>Fb(z.value)),x=f.flatMap(z=>z.filter(E=>!Mb.has(E.type)).map(E=>Fb(E.value))),S=[...new Set([...y,...x])].sort((z,E)=>E.length-z.length),T=S.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${S.join("|")}|[\\p{White_Space}]`,"gu"),P=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),M=new Map(P.map((z,E)=>[z,E])),$=new RegExp(`[${P.join("")}]`,"g");return{minusSign:g,plusSign:h,decimal:v,group:_,literals:T,numeral:$,index:z=>String(M.get(z))}}function Qi(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Fb(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Lb(e={}){let{locale:t}=ot();return c.useMemo(()=>new Zi(t,e),[t,e])}let Iu=new Map;function el(e){let{locale:t}=ot(),n=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Iu.has(n))return Iu.get(n);let r=new Intl.Collator(t,e);return Iu.set(n,r),r}function h8(e){let t=el({usage:"search",...e}),n=c.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),r=c.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),o=c.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=a.length;l++){let u=a.slice(l,l+s);if(t.compare(i,u)===0)return!0}return!1},[t]);return c.useMemo(()=>({startsWith:n,endsWith:r,contains:o}),[n,r,o])}let Me=typeof document<"u"&&window.visualViewport;function b8(e){let{direction:t}=ot(),{arrowSize:n=0,targetRef:r,overlayRef:o,scrollRef:a=o,placement:i="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:u=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:m=!0,isOpen:g=!0,onClose:h,maxHeight:b,arrowBoundaryOffset:v=0}=e,[_,y]=c.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),x=[m,i,o.current,r.current,a.current,l,s,u,d,f,g,t,b,v,n],S=c.useRef(Me==null?void 0:Me.scale);c.useEffect(()=>{g&&(S.current=Me==null?void 0:Me.scale)},[g]);let T=c.useCallback(()=>{if(m===!1||!g||!o.current||!r.current||!u||(Me==null?void 0:Me.scale)!==S.current)return;let C=null;if(a.current&&a.current.contains(document.activeElement)){let k=document.activeElement.getBoundingClientRect(),j=a.current.getBoundingClientRect();C={type:"top",offset:k.top-j.top},C.offset>j.height/2&&(C.type="bottom",C.offset=k.bottom-j.bottom)}let z=o.current;if(!b&&o.current){var E;z.style.top="0px",z.style.bottom="";var K;z.style.maxHeight=((K=(E=window.visualViewport)===null||E===void 0?void 0:E.height)!==null&&K!==void 0?K:window.innerHeight)+"px"}let I=JC({placement:y8(i,t),overlayNode:o.current,targetNode:r.current,scrollNode:a.current||o.current,padding:l,shouldFlip:s,boundaryElement:u,offset:d,crossOffset:f,maxHeight:b,arrowSize:n,arrowBoundaryOffset:v});if(z.style.top="",z.style.bottom="",z.style.left="",z.style.right="",Object.keys(I.position).forEach(k=>z.style[k]=I.position[k]+"px"),z.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":void 0,C){let k=document.activeElement.getBoundingClientRect(),j=a.current.getBoundingClientRect(),O=k[C.type]-j[C.type];a.current.scrollTop+=O-C.offset}y(I)},x);Te(T,x),v8(T),Cm({ref:o,onResize:T}),Cm({ref:r,onResize:T});let P=c.useRef(!1);Te(()=>{let C,z=()=>{P.current=!0,clearTimeout(C),C=setTimeout(()=>{P.current=!1},500),T()},E=()=>{P.current&&z()};return Me==null||Me.addEventListener("resize",z),Me==null||Me.addEventListener("scroll",E),()=>{Me==null||Me.removeEventListener("resize",z),Me==null||Me.removeEventListener("scroll",E)}},[T]);let M=c.useCallback(()=>{P.current||h()},[h,P]);QC({triggerRef:r,isOpen:g,onClose:h&&M});var $;return{overlayProps:{style:{position:"absolute",zIndex:1e5,..._.position,maxHeight:($=_.maxHeight)!==null&&$!==void 0?$:"100vh"}},placement:_.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:_.arrowOffsetLeft,top:_.arrowOffsetTop}},updatePosition:T}}function v8(e){Te(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function y8(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const on=[];function Nb(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;c.useEffect(()=>(o&&on.push(t),()=>{let h=on.indexOf(t);h>=0&&on.splice(h,1)}),[o,t]);let s=()=>{on[on.length-1]===t&&n&&n()},u=h=>{(!l||l(h.target))&&on[on.length-1]===t&&(h.stopPropagation(),h.preventDefault())},d=h=>{(!l||l(h.target))&&(on[on.length-1]===t&&(h.stopPropagation(),h.preventDefault()),s())},f=h=>{h.key==="Escape"&&!i&&!h.nativeEvent.isComposing&&(h.stopPropagation(),h.preventDefault(),s())};bk({ref:t,onInteractOutside:a&&o?d:null,onInteractOutsideStart:u});let{focusWithinProps:m}=Ko({isDisabled:!r,onBlurWithin:h=>{!h.relatedTarget||eC(h.relatedTarget)||(!l||l(h.relatedTarget))&&n()}}),g=h=>{h.target===h.currentTarget&&h.preventDefault()};return{overlayProps:{onKeyDown:f,...m},underlayProps:{onPointerDown:g}}}function tl(e,t,n){let{type:r}=e,{isOpen:o}=t;c.useEffect(()=>{n&&n.current&&Oh.set(n.current,t.close)});let a;r==="menu"?a=!0:r==="listbox"&&(a="listbox");let i=ct();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Ou=typeof document<"u"&&window.visualViewport,$8=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let nl=0,Mu;function _8(e={}){let{isDisabled:t}=e;Te(()=>{if(!t)return nl++,nl===1&&(Mo()?Mu=w8():Mu=x8()),()=>{nl--,nl===0&&Mu()}},[t])}function x8(){return Gt(Rr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Rr(document.documentElement,"overflow","hidden"))}function w8(){let e,t,n=u=>{e=Tc(u.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=Rr(e,"overscrollBehavior","contain"))},r=u=>{if(!e||e===document.documentElement||e===document.body){u.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&u.preventDefault()},o=u=>{let d=u.target;Rb(d)&&d!==document.activeElement&&(u.preventDefault(),l(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),t&&t()},a=u=>{let d=u.target;Rb(d)&&(l(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Ou&&(Ou.height<window.innerHeight?requestAnimationFrame(()=>{zb(d)}):Ou.addEventListener("resize",()=>zb(d),{once:!0}))}))},i=null,l=()=>{if(i)return;let u=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;i=Gt(Qo(window,"scroll",u),Rr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Rr(document.documentElement,"overflow","hidden"),Rr(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},s=Gt(Qo(document,"touchstart",n,{passive:!1,capture:!0}),Qo(document,"touchmove",r,{passive:!1,capture:!0}),Qo(document,"touchend",o,{passive:!1,capture:!0}),Qo(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function Rr(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Qo(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function zb(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=Tc(e);if(n!==document.documentElement&&n!==document.body&&n!==e){let r=n.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>r+e.clientHeight&&(n.scrollTop+=o-r)}e=n.parentElement}}function Rb(e){return e instanceof HTMLInputElement&&!$8.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Kb={};Kb={dismiss:"تجاهل"};var Vb={};Vb={dismiss:"Отхвърляне"};var Bb={};Bb={dismiss:"Odstranit"};var jb={};jb={dismiss:"Luk"};var Ub={};Ub={dismiss:"Schließen"};var Wb={};Wb={dismiss:"Απόρριψη"};var Hb={};Hb={dismiss:"Dismiss"};var Gb={};Gb={dismiss:"Descartar"};var Yb={};Yb={dismiss:"Lõpeta"};var qb={};qb={dismiss:"Hylkää"};var Xb={};Xb={dismiss:"Rejeter"};var Jb={};Jb={dismiss:"התעלם"};var Zb={};Zb={dismiss:"Odbaci"};var Qb={};Qb={dismiss:"Elutasítás"};var e0={};e0={dismiss:"Ignora"};var t0={};t0={dismiss:"閉じる"};var n0={};n0={dismiss:"무시"};var r0={};r0={dismiss:"Atmesti"};var o0={};o0={dismiss:"Nerādīt"};var a0={};a0={dismiss:"Lukk"};var i0={};i0={dismiss:"Negeren"};var l0={};l0={dismiss:"Zignoruj"};var s0={};s0={dismiss:"Descartar"};var c0={};c0={dismiss:"Dispensar"};var u0={};u0={dismiss:"Revocare"};var d0={};d0={dismiss:"Пропустить"};var f0={};f0={dismiss:"Zrušiť"};var p0={};p0={dismiss:"Opusti"};var g0={};g0={dismiss:"Odbaci"};var m0={};m0={dismiss:"Avvisa"};var h0={};h0={dismiss:"Kapat"};var b0={};b0={dismiss:"Скасувати"};var v0={};v0={dismiss:"取消"};var y0={};y0={dismiss:"關閉"};var $0={};$0={"ar-AE":Kb,"bg-BG":Vb,"cs-CZ":Bb,"da-DK":jb,"de-DE":Ub,"el-GR":Wb,"en-US":Hb,"es-ES":Gb,"et-EE":Yb,"fi-FI":qb,"fr-FR":Xb,"he-IL":Jb,"hr-HR":Zb,"hu-HU":Qb,"it-IT":e0,"ja-JP":t0,"ko-KR":n0,"lt-LT":r0,"lv-LV":o0,"nb-NO":a0,"nl-NL":i0,"pl-PL":l0,"pt-BR":s0,"pt-PT":c0,"ro-RO":u0,"ru-RU":d0,"sk-SK":f0,"sl-SI":p0,"sr-SP":g0,"sv-SE":m0,"tr-TR":h0,"uk-UA":b0,"zh-CN":v0,"zh-TW":y0};function E8(e){return e&&e.__esModule?e.default:e}function _0(e){let{onDismiss:t,...n}=e,r=$t(E8($0),"@react-aria/overlays"),o=Er(n,r.format("dismiss")),a=()=>{t&&t()};return D.default.createElement(Di,null,D.default.createElement("button",{...o,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let ea=new WeakMap,ft=[];function x0(e,t=document.body){let n=new Set(e),r=new Set,o=s=>{for(let m of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(m);let u=m=>{if(n.has(m)||r.has(m.parentElement)&&m.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let g of n)if(m.contains(g))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},d=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:u}),f=u(s);if(f===NodeFilter.FILTER_ACCEPT&&a(s),f!==NodeFilter.FILTER_REJECT){let m=d.nextNode();for(;m!=null;)a(m),m=d.nextNode()}},a=s=>{var u;let d=(u=ea.get(s))!==null&&u!==void 0?u:0;s.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&s.setAttribute("aria-hidden","true"),r.add(s),ea.set(s,d+1))};ft.length&&ft[ft.length-1].disconnect(),o(t);let i=new MutationObserver(s=>{for(let u of s)if(!(u.type!=="childList"||u.addedNodes.length===0)&&![...n,...r].some(d=>d.contains(u.target))){for(let d of u.removedNodes)d instanceof Element&&(n.delete(d),r.delete(d));for(let d of u.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?n.add(d):d instanceof Element&&o(d)}});i.observe(t,{childList:!0,subtree:!0});let l={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return ft.push(l),()=>{i.disconnect();for(let s of r){let u=ea.get(s);u===1?(s.removeAttribute("aria-hidden"),ea.delete(s)):ea.set(s,u-1)}l===ft[ft.length-1]?(ft.pop(),ft.length&&ft[ft.length-1].observe()):ft.splice(ft.indexOf(l),1)}}function S8(e,t){let{triggerRef:n,popoverRef:r,isNonModal:o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:u}=Nb({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i},r),{overlayProps:d,arrowProps:f,placement:m}=b8({...l,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:o?t.close:null});return _8({isDisabled:o||!t.isOpen}),Te(()=>{if(t.isOpen&&!o&&r.current)return x0([r.current])},[o,t.isOpen,r]),{popoverProps:ge(s,d),arrowProps:f,underlayProps:u,placement:m}}const D8=c.createContext({});function P8(){var e;return(e=c.useContext(D8))!==null&&e!==void 0?e:{}}const T8=D.default.createContext(null);function k8(e){let t=si(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[o,a]=c.useState(!1),i=c.useMemo(()=>({contain:o,setContain:a}),[o,a]),{getContainer:l}=P8();if(!e.portalContainer&&l&&(n=l()),!n)return null;let s=e.children;return e.disableFocusManagement||(s=D.default.createElement(qk,{restoreFocus:!0,contain:o&&!r},s)),s=D.default.createElement(T8.Provider,{value:i},D.default.createElement(lk,null,s)),Kt.default.createPortal(s,n)}function Kr(e){let[t,n]=Mt(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const r=c.useCallback(()=>{n(!0)},[n]),o=c.useCallback(()=>{n(!1)},[n]),a=c.useCallback(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:o,toggle:a}}const C8=F.default.div`
1034
+ `;const Cr={top:"top",bottom:"top",left:"left",right:"left"},Mi={top:"bottom",bottom:"top",left:"right",right:"left"},HC={top:"left",left:"top"},ru={top:"height",left:"width"},Dh={width:"totalWidth",height:"totalHeight"},Fi={};let et=typeof document<"u"&&window.visualViewport;function Ph(e){let t=0,n=0,r=0,o=0,a=0,i=0,l={},s=(et==null?void 0:et.scale)>1;if(e.tagName==="BODY"){let f=document.documentElement;r=f.clientWidth,o=f.clientHeight;var u;t=(u=et==null?void 0:et.width)!==null&&u!==void 0?u:r;var d;n=(d=et==null?void 0:et.height)!==null&&d!==void 0?d:o,l.top=f.scrollTop||e.scrollTop,l.left=f.scrollLeft||e.scrollLeft,et&&(a=et.offsetTop,i=et.offsetLeft)}else({width:t,height:n,top:a,left:i}=Ar(e)),l.top=e.scrollTop,l.left=e.scrollLeft,r=t,o=n;return Ec()&&(e.tagName==="BODY"||e.tagName==="HTML")&&s&&(l.top=0,l.left=0,a=et.pageTop,i=et.pageLeft),{width:t,height:n,totalWidth:r,totalHeight:o,scroll:l,top:a,left:i}}function GC(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Th(e,t,n,r,o,a,i){let l=o.scroll[e],s=r[ru[e]],u=r.scroll[Cr[e]]+a,d=s+r.scroll[Cr[e]]-a,f=t-l+i[e]-r[Cr[e]],m=t-l+n+i[e]-r[Cr[e]];return f<u?u-f:m>d?Math.max(d-m,u-f):0}function YC(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 kh(e){if(Fi[e])return Fi[e];let[t,n]=e.split(" "),r=Cr[t]||"right",o=HC[r];Cr[n]||(n="center");let a=ru[r],i=ru[o];return Fi[e]={placement:t,crossPlacement:n,axis:r,crossAxis:o,size:a,crossSize:i},Fi[e]}function ou(e,t,n,r,o,a,i,l,s,u){let{placement:d,crossPlacement:f,axis:m,crossAxis:g,size:h,crossSize:b}=r,v={};v[g]=e[g],f==="center"?v[g]+=(e[b]-n[b])/2:f!==g&&(v[g]+=e[b]-n[b]),v[g]+=a;const _=e[g]-n[b]+s+u,y=e[g]+e[b]-s-u;if(v[g]=pi(v[g],_,y),d===m){const x=l?i[h]:t[Dh[h]];v[Mi[m]]=Math.floor(x-e[m]+o)}else v[m]=Math.floor(e[m]+e[h]+o);return v}function qC(e,t,n,r,o,a,i,l){const s=r?n.height:t[Dh.height];let u=e.top!=null?n.top+e.top:n.top+(s-e.bottom-i),d=l!=="top"?Math.max(0,t.height+t.top+t.scroll.top-u-(o.top+o.bottom+a)):Math.max(0,u+i-(t.top+t.scroll.top)-(o.top+o.bottom+a));return Math.min(t.height-a*2,d)}function Ch(e,t,n,r,o,a){let{placement:i,axis:l,size:s}=a;return i===l?Math.max(0,n[l]-e[l]-e.scroll[l]+t[l]-r[l]-r[Mi[l]]-o):Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-n[l]-n[s]-r[l]-r[Mi[l]]-o)}function XC(e,t,n,r,o,a,i,l,s,u,d,f,m,g,h,b){let v=kh(e),{size:_,crossAxis:y,crossSize:x,placement:S,crossPlacement:T}=v,P=ou(t,l,n,v,d,f,u,m,h,b),M=d,$=Ch(l,u,t,o,a+d,v);if(i&&r[_]>$){let q=kh(`${Mi[S]} ${T}`),B=ou(t,l,n,q,d,f,u,m,h,b);Ch(l,u,t,o,a+d,q)>$&&(v=q,P=B,M=d)}let C="bottom";v.axis==="top"?v.placement==="top"?C="top":v.placement==="bottom"&&(C="bottom"):v.crossAxis==="top"&&(v.crossPlacement==="top"?C="bottom":v.crossPlacement==="bottom"&&(C="top"));let N=Th(y,P[y],n[x],l,s,a,u);P[y]+=N;let E=qC(P,l,u,m,o,a,n.height,C);g&&g<E&&(E=g),n.height=Math.min(n.height,E),P=ou(t,l,n,v,M,f,u,m,h,b),N=Th(y,P[y],n[x],l,s,a,u),P[y]+=N;let K={},I=t[y]+.5*t[x]-P[y];const k=h/2+b,j=n[x]-h/2-b,O=t[y]-P[y]+h/2,J=t[y]+t[x]-P[y]-h/2,V=pi(I,O,J);return K[y]=pi(V,k,j),{position:P,maxHeight:E,arrowOffsetLeft:K.left,arrowOffsetTop:K.top,placement:v.placement}}function JC(e){let{placement:t,targetNode:n,overlayNode:r,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:u,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:m=0}=e,g=r instanceof HTMLElement?ZC(r):document.documentElement,h=g===document.documentElement;const b=window.getComputedStyle(g).position;let v=!!b&&b!=="static",_=h?Ar(n):Ah(n,g);if(!h){let{marginTop:$,marginLeft:C}=window.getComputedStyle(n);_.top+=parseInt($,10)||0,_.left+=parseInt(C,10)||0}let y=Ar(r),x=YC(r);y.width+=x.left+x.right,y.height+=x.top+x.bottom;let S=GC(o),T=Ph(l),P=Ph(g),M=l.tagName==="BODY"?Ar(g):Ah(g,l);return g.tagName==="HTML"&&l.tagName==="BODY"&&(P.scroll.top=0,P.scroll.left=0),XC(t,_,y,S,x,a,i,T,P,M,s,u,v,d,f,m)}function Ar(e){let{top:t,left:n,width:r,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+a-l,left:n+i-s,width:r,height:o}}function Ah(e,t){let n=window.getComputedStyle(e),r;if(n.position==="fixed"){let{top:o,left:a,width:i,height:l}=e.getBoundingClientRect();r={top:o,left:a,width:i,height:l}}else{r=Ar(e);let o=Ar(t),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=o.top,r.left-=o.left}return r.top-=parseInt(n.marginTop,10)||0,r.left-=parseInt(n.marginLeft,10)||0,r}function ZC(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Ih(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Ih(t);)t=t.parentElement;return t||document.documentElement}function Ih(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const Oh=new WeakMap;function QC(e){let{triggerRef:t,isOpen:n,onClose:r}=e;c.useEffect(()=>{if(!n||r===null)return;let o=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current)||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)return;let l=r||Oh.get(t.current);l&&l()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[n,r,t])}const e4=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),t4=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function n4(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return e4.has(n.script)}let t=e.split("-")[0];return t4.has(t)}const r4=Symbol.for("react-aria.i18n.locale");function Mh(){let e=typeof window<"u"&&window[r4]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:n4(e)?"rtl":"ltr"}}let au=Mh(),Uo=new Set;function Fh(){au=Mh();for(let e of Uo)e(au)}function o4(){let e=si(),[t,n]=c.useState(au);return c.useEffect(()=>(Uo.size===0&&window.addEventListener("languagechange",Fh),Uo.add(n),()=>{Uo.delete(n),Uo.size===0&&window.removeEventListener("languagechange",Fh)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const a4=D.default.createContext(null);function ot(){let e=o4();return c.useContext(a4)||e}const i4=Symbol.for("react-aria.i18n.locale"),l4=Symbol.for("react-aria.i18n.strings");let Ir;class Li{getStringForLocale(t,n){let o=this.getStringsForLocale(n)[t];if(!o)throw new Error(`Could not find intl message ${t} in ${n} locale`);return o}getStringsForLocale(t){let n=this.strings[t];return n||(n=s4(t,this.strings,this.defaultLocale),this.strings[t]=n),n}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let n=window[i4];if(Ir===void 0){let o=window[l4];if(!o)return null;Ir={};for(let a in o)Ir[a]=new Li({[n]:o[a]},n)}let r=Ir==null?void 0:Ir[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(t,n="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=n}}function s4(e,t,n="en-US"){if(t[e])return t[e];let r=c4(e);if(t[r])return t[r];for(let o in t)if(o.startsWith(r+"-"))return t[o];return t[n]}function c4(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Lh=new Map,Nh=new Map;class u4{format(t,n){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(n,this):r}plural(t,n,r="cardinal"){let o=n["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+r,i=Lh.get(a);i||(i=new Intl.PluralRules(this.locale,{type:r}),Lh.set(a,i));let l=i.select(t);return o=n[l]||n.other,typeof o=="function"?o():o}number(t){let n=Nh.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),Nh.set(this.locale,n)),n.format(t)}select(t,n){let r=t[n]||t.other;return typeof r=="function"?r():r}constructor(t,n){this.locale=t,this.strings=n}}const zh=new WeakMap;function d4(e){let t=zh.get(e);return t||(t=new Li(e),zh.set(e,t)),t}function f4(e,t){return t&&Li.getGlobalDictionaryForPackage(t)||d4(e)}function $t(e,t){let{locale:n}=ot(),r=f4(e,t);return c.useMemo(()=>new u4(n,r),[n,r])}function Or(e,t){return e-t*Math.floor(e/t)}const Rh=1721426;function Yn(e,t,n,r){t=Wo(e,t);let o=t-1,a=-2;return n<=2?a=0:Sn(t)&&(a=-1),Rh-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*n-362)/12+a+r)}function Sn(e){return e%4===0&&(e%100!==0||e%400===0)}function Wo(e,t){return e==="BC"?1-t:t}function Ni(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const p4={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 at{fromJulianDay(t){let n=t,r=n-Rh,o=Math.floor(r/146097),a=Or(r,146097),i=Math.floor(a/36524),l=Or(a,36524),s=Math.floor(l/1461),u=Or(l,1461),d=Math.floor(u/365),f=o*400+i*100+s*4+d+(i!==4&&d!==4?1:0),[m,g]=Ni(f),h=n-Yn(m,g,1,1),b=2;n<Yn(m,g,3,1)?b=0:Sn(g)&&(b=1);let v=Math.floor(((h+b)*12+373)/367),_=n-Yn(m,g,v,1)+1;return new Ae(m,g,v,_)}toJulianDay(t){return Yn(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return p4[Sn(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Sn(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(){this.identifier="gregory"}}const g4={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Oe(e,t){return t=ze(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function m4(e,t){return t=ze(t,e.calendar),e=qn(e),t=qn(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function iu(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function h4(e,t){return Oe(e,Ho(t))}function zi(e,t){let n=e.calendar.toJulianDay(e),r=Math.ceil(n+1-_4(t))%7;return r<0&&(r+=7),r}function b4(e){return rn(Date.now(),e)}function Ho(e){return _t(b4(e))}function Kh(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Vh(e,t){return Bh(e)-Bh(t)}function Bh(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let lu=null;function jh(){return lu==null&&(lu=new Intl.DateTimeFormat().resolvedOptions().timeZone),lu}function qn(e){return e.subtract({days:e.day-1})}function Ri(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function v4(e){return qn(e.subtract({months:e.month-1}))}function Go(e,t){let n=zi(e,t);return e.subtract({days:n})}function y4(e,t){return Go(e,t).add({days:6})}const Uh=new Map;function $4(e){if(Intl.Locale){let n=Uh.get(e);return n||(n=new Intl.Locale(e).maximize().region,n&&Uh.set(e,n)),n}let t=e.split("-")[1];return t==="u"?void 0:t}function _4(e){let t=$4(e);return t&&g4[t]||0}function x4(e,t){let n=e.calendar.getDaysInMonth(e);return Math.ceil((zi(qn(e),t)+n)/7)}function su(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function cu(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Mr(e){e=ze(e,new at);let t=Wo(e.era,e.year);return Wh(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Wh(e,t,n,r,o,a,i){let l=new Date;return l.setUTCHours(r,o,a,i),l.setUTCFullYear(e,t-1,n),l.getTime()}function uu(e,t){if(t==="UTC")return 0;if(e>0&&t===jh())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:o,hour:a,minute:i,second:l}=Gh(e,t);return Wh(n,r,o,a,i,l,0)-Math.floor(e/1e3)*1e3}const Hh=new Map;function Gh(e,t){let n=Hh.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Hh.set(t,n));let r=n.formatToParts(new Date(e)),o={};for(let a of r)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 Yh=864e5;function w4(e,t,n,r){return(n===r?[n]:[n,r]).filter(a=>E4(e,t,a))}function E4(e,t,n){let r=Gh(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function nn(e,t,n="compatible"){let r=Fr(e);if(t==="UTC")return Mr(r);if(t===jh()&&n==="compatible"){r=ze(r,new at);let s=new Date,u=Wo(r.era,r.year);return s.setFullYear(u,r.month-1,r.day),s.setHours(r.hour,r.minute,r.second,r.millisecond),s.getTime()}let o=Mr(r),a=uu(o-Yh,t),i=uu(o+Yh,t),l=w4(r,t,o-a,o-i);if(l.length===1)return l[0];if(l.length>1)switch(n){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){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 qh(e,t,n="compatible"){return new Date(nn(e,t,n))}function rn(e,t){let n=uu(e,t),r=new Date(e+n),o=r.getUTCFullYear(),a=r.getUTCMonth()+1,i=r.getUTCDate(),l=r.getUTCHours(),s=r.getUTCMinutes(),u=r.getUTCSeconds(),d=r.getUTCMilliseconds();return new Xo(o,a,i,t,n,l,s,u,d)}function _t(e){return new Ae(e.calendar,e.era,e.year,e.month,e.day)}function Fr(e,t){let n=0,r=0,o=0,a=0;if("timeZone"in e)({hour:n,minute:r,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:r,second:o,millisecond:a}=t),new Bi(e.calendar,e.era,e.year,e.month,e.day,n,r,o,a)}function ze(e,t){if(e.calendar.identifier===t.identifier)return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Xn(r),r}function S4(e,t,n){if(e instanceof Xo)return e.timeZone===t?e:P4(e,t);let r=nn(e,t,n);return rn(r,t)}function D4(e){let t=Mr(e)-e.offset;return new Date(t)}function P4(e,t){let n=Mr(e)-e.offset;return ze(rn(n,t),e.calendar)}const Yo=36e5;function Ki(e,t){let n=e.copy(),r="hour"in n?Qh(n,t):0;du(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,fu(n),Xh(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,T4(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let o=n.calendar.getYearsInEra(n);if(n.year>o){var a,i;let s=(a=(i=n.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,n);n.year=o,n.month=s?1:n.calendar.getMonthsInYear(n),n.day=s?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let l=n.calendar.getMonthsInYear(n);return n.month>l&&(n.month=l,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function du(e,t){var n,r;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function fu(e){for(;e.month<1;)du(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,du(e,1)}function T4(e){for(;e.day<1;)e.month--,fu(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,fu(e)}function Xh(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 Xn(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Xh(e)}function pu(e){let t={};for(let n in e)typeof e[n]=="number"&&(t[n]=-e[n]);return t}function Jh(e,t){return Ki(e,pu(t))}function gu(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),Xn(n),n}function qo(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),Zh(n),n}function k4(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Vi(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Vi(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Vi(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Vi(e.hour,24),t}function Zh(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 Vi(e,t){let n=e%t;return n<0&&(n+=t),n}function Qh(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,k4(e)}function eb(e,t){let n=e.copy();return Qh(n,t),n}function C4(e,t){return eb(e,pu(t))}function mu(e,t,n,r){let o=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=on(s,n,0,l.length-1,r==null?void 0:r.round),o.era=l[s],Xn(o);break}case"year":var a,i;!((a=(i=o.calendar).isInverseEra)===null||a===void 0)&&a.call(i,o)&&(n=-n),o.year=on(e.year,n,-1/0,9999,r==null?void 0:r.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=on(e.month,n,1,e.calendar.getMonthsInYear(e),r==null?void 0:r.round);break;case"day":o.day=on(e.day,n,1,e.calendar.getDaysInMonth(e),r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(o),Xn(o),o}function hu(e,t,n,r){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,l=23;if((r==null?void 0:r.hourCycle)===12){let s=a>=12;i=s?12:0,l=s?23:11}o.hour=on(a,n,i,l,r==null?void 0:r.round);break}case"minute":o.minute=on(e.minute,n,0,59,r==null?void 0:r.round);break;case"second":o.second=on(e.second,n,0,59,r==null?void 0:r.round);break;case"millisecond":o.millisecond=on(e.millisecond,n,0,999,r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return o}function on(e,t,n,r,o=!1){if(o){e+=Math.sign(t),e<n&&(e=r);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function tb(e,t){let n;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let o=Ki(Fr(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=nn(o,e.timeZone)}else n=Mr(e)-e.offset;n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5;let r=rn(n,e.timeZone);return ze(r,e.calendar)}function A4(e,t){return tb(e,pu(t))}function I4(e,t,n,r){switch(t){case"hour":{let o=0,a=23;if((r==null?void 0:r.hourCycle)===12){let h=e.hour>=12;o=h?12:0,a=h?23:11}let i=Fr(e),l=ze(qo(i,{hour:o}),new at),s=[nn(l,e.timeZone,"earlier"),nn(l,e.timeZone,"later")].filter(h=>rn(h,e.timeZone).day===l.day)[0],u=ze(qo(i,{hour:a}),new at),d=[nn(u,e.timeZone,"earlier"),nn(u,e.timeZone,"later")].filter(h=>rn(h,e.timeZone).day===u.day).pop(),f=Mr(e)-e.offset,m=Math.floor(f/Yo),g=f%Yo;return f=on(m,n,Math.floor(s/Yo),Math.floor(d/Yo),r==null?void 0:r.round)*Yo+g,ze(rn(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return hu(e,t,n,r);case"era":case"year":case"month":case"day":{let o=mu(Fr(e),t,n,r),a=nn(o,e.timeZone);return ze(rn(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function O4(e,t,n){let r=Fr(e),o=qo(gu(r,t),t);if(o.compare(r)===0)return e;let a=nn(o,e.timeZone,n);return ze(rn(a,e.timeZone),e.calendar)}function nb(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 rb(e){let t=ze(e,new at);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function ob(e){return`${rb(e)}T${nb(e)}`}function M4(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let n=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}function F4(e){return`${ob(e)}${M4(e.offset)}[${e.timeZone}]`}function bu(e){let t=typeof e[0]=="object"?e.shift():new at,n;if(typeof e[0]=="string")n=e.shift();else{let i=t.getEras();n=i[i.length-1]}let r=e.shift(),o=e.shift(),a=e.shift();return[t,n,r,o,a]}var L4=new WeakMap;class Ae{copy(){return this.era?new Ae(this.calendar,this.era,this.year,this.month,this.day):new Ae(this.calendar,this.year,this.month,this.day)}add(t){return Ki(this,t)}subtract(t){return Jh(this,t)}set(t){return gu(this,t)}cycle(t,n,r){return mu(this,t,n,r)}toDate(t){return qh(this,t)}toString(){return rb(this)}compare(t){return Kh(this,t)}constructor(...t){No(this,L4,{writable:!0,value:void 0});let[n,r,o,a,i]=bu(t);this.calendar=n,this.era=r,this.year=o,this.month=a,this.day=i,Xn(this)}}var N4=new WeakMap;class Jn{copy(){return new Jn(this.hour,this.minute,this.second,this.millisecond)}add(t){return eb(this,t)}subtract(t){return C4(this,t)}set(t){return qo(this,t)}cycle(t,n,r){return hu(this,t,n,r)}toString(){return nb(this)}compare(t){return Vh(this,t)}constructor(t=0,n=0,r=0,o=0){No(this,N4,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=r,this.millisecond=o,Zh(this)}}var z4=new WeakMap;class Bi{copy(){return this.era?new Bi(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Bi(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ki(this,t)}subtract(t){return Jh(this,t)}set(t){return gu(qo(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return mu(this,t,n,r);default:return hu(this,t,n,r)}}toDate(t,n){return qh(this,t,n)}toString(){return ob(this)}compare(t){let n=Kh(this,t);return n===0?Vh(this,Fr(t)):n}constructor(...t){No(this,z4,{writable:!0,value:void 0});let[n,r,o,a,i]=bu(t);this.calendar=n,this.era=r,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,Xn(this)}}var R4=new WeakMap;class Xo{copy(){return this.era?new Xo(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Xo(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return tb(this,t)}subtract(t){return A4(this,t)}set(t,n){return O4(this,t,n)}cycle(t,n,r){return I4(this,t,n,r)}toDate(){return D4(this)}toString(){return F4(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-S4(t,this.timeZone).toDate().getTime()}constructor(...t){No(this,R4,{writable:!0,value:void 0});let[n,r,o,a,i]=bu(t),l=t.shift(),s=t.shift();this.calendar=n,this.era=r,this.year=o,this.month=a,this.day=i,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Xn(this)}}const Lr=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],K4=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],ji=[1867,1911,1925,1988,2018],Dn=["meiji","taisho","showa","heisei","reiwa"];function ab(e){const t=Lr.findIndex(([n,r,o])=>e.year<n||e.year===n&&e.month<r||e.year===n&&e.month===r&&e.day<o);return t===-1?Lr.length-1:t===0?0:t-1}function vu(e){let t=ji[Dn.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Ae(e.year+t,e.month,e.day)}class V4 extends at{fromJulianDay(t){let n=super.fromJulianDay(t),r=ab(n);return new Ae(this,Dn[r],n.year-ji[r],n.month,n.day)}toJulianDay(t){return super.toJulianDay(vu(t))}balanceDate(t){let n=vu(t),r=ab(n);Dn[r]!==t.era&&(t.era=Dn[r],t.year=n.year-ji[r]),this.constrainDate(t)}constrainDate(t){let n=Dn.indexOf(t.era),r=K4[n];if(r!=null){let[o,a,i]=r,l=o-ji[n];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&n>=0){let[,o,a]=Lr[n];t.month=Math.max(o,t.month),t.month===o&&(t.day=Math.max(a,t.day))}}getEras(){return Dn}getYearsInEra(t){let n=Dn.indexOf(t.era),r=Lr[n],o=Lr[n+1];if(o==null)return 9999-r[0]+1;let a=o[0]-r[0];return(t.month<o[1]||t.month===o[1]&&t.day<o[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(vu(t))}getMinimumMonthInYear(t){let n=ib(t);return n?n[1]:1}getMinimumDayInMonth(t){let n=ib(t);return n&&t.month===n[1]?n[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function ib(e){if(e.year===1){let t=Dn.indexOf(e.era);return Lr[t]}}const lb=-543;class B4 extends at{fromJulianDay(t){let n=super.fromJulianDay(t),r=Wo(n.era,n.year);return new Ae(this,r-lb,n.month,n.day)}toJulianDay(t){return super.toJulianDay(sb(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(sb(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function sb(e){let[t,n]=Ni(e.year+lb);return new Ae(t,n,e.month,e.day)}const Ui=1911;function cb(e){return e.era==="minguo"?e.year+Ui:1-e.year+Ui}function ub(e){let t=e-Ui;return t>0?["minguo",t]:["before_minguo",1-t]}class j4 extends at{fromJulianDay(t){let n=super.fromJulianDay(t),r=Wo(n.era,n.year),[o,a]=ub(r);return new Ae(this,o,a,n.month,n.day)}toJulianDay(t){return super.toJulianDay(db(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[n,r]=ub(cb(t));t.era=n,t.year=r}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(db(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Ui}constructor(...t){super(...t),this.identifier="roc"}}function db(e){let[t,n]=Ni(cb(e));return new Ae(t,n,e.month,e.day)}const fb=1948320,pb=[0,31,62,93,124,155,186,216,246,276,306,336];class U4{fromJulianDay(t){let n=t-fb,r=1+Math.floor((33*n+3)/12053),o=365*(r-1)+Math.floor((8*r+21)/33),a=n-o,i=a<216?Math.floor(a/31):Math.floor((a-6)/30),l=a-pb[i]+1;return new Ae(this,r,i+1,l)}toJulianDay(t){let n=fb-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return n+=pb[t.month-1],n+=t.day,n}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Or(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const yu=78,gb=80;class W4 extends at{fromJulianDay(t){let n=super.fromJulianDay(t),r=n.year-yu,o=t-Yn(n.era,n.year,1,1),a;o<gb?(r--,a=Sn(n.year-1)?31:30,o+=a+155+90+10):(a=Sn(n.year)?31:30,o-=gb);let i,l;if(o<a)i=1,l=o+1;else{let s=o-a;s<155?(i=Math.floor(s/31)+2,l=s%31+1):(s-=155,i=Math.floor(s/30)+7,l=s%30+1)}return new Ae(this,r,i,l)}toJulianDay(t){let n=t.year+yu,[r,o]=Ni(n),a,i;return Sn(o)?(a=31,i=Yn(r,o,3,21)):(a=30,i=Yn(r,o,3,22)),t.month===1?i+t.day-1:(i+=a+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&Sn(t.year+yu)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Wi=1948440,mb=1948439,dt=1300,Nr=1600,H4=460322;function Hi(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function hb(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),o=Math.min(12,Math.ceil((n-(29+Hi(t,r,1,1)))/29.5)+1),a=n-Hi(t,r,o,1)+1;return new Ae(e,r,o,a)}function bb(e){return(14+11*e)%30<11}class $u{fromJulianDay(t){return hb(this,Wi,t)}toJulianDay(t){return Hi(Wi,t.year,t.month,t.day)}getDaysInMonth(t){let n=29+t.month%2;return t.month===12&&bb(t.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(t){return bb(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class G4 extends $u{fromJulianDay(t){return hb(this,mb,t)}toJulianDay(t){return Hi(mb,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Y4="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let _u,zr;function Gi(e){return H4+zr[e-dt]}function Jo(e,t){let n=e-dt,r=1<<11-(t-1);return _u[n]&r?30:29}function vb(e,t){let n=Gi(e);for(let r=1;r<t;r++)n+=Jo(e,r);return n}function yb(e){return zr[e+1-dt]-zr[e-dt]}class q4 extends $u{fromJulianDay(t){let n=t-Wi,r=Gi(dt),o=Gi(Nr);if(n<r||n>o)return super.fromJulianDay(t);{let a=dt-1,i=1,l=1;for(;l>0;){a++,l=n-Gi(a)+1;let s=yb(a);if(l===s){i=12;break}else if(l<s){let u=Jo(a,i);for(i=1;l>u;)l-=u,i++,u=Jo(a,i);break}}return new Ae(this,a,i,n-vb(a,i)+1)}}toJulianDay(t){return t.year<dt||t.year>Nr?super.toJulianDay(t):Wi+vb(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<dt||t.year>Nr?super.getDaysInMonth(t):Jo(t.year,t.month)}getDaysInYear(t){return t.year<dt||t.year>Nr?super.getDaysInYear(t):yb(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",_u||(_u=new Uint16Array(Uint8Array.from(atob(Y4),t=>t.charCodeAt(0)).buffer)),!zr){zr=new Uint32Array(Nr-dt+1);let t=0;for(let n=dt;n<=Nr;n++){zr[n-dt]=t;for(let r=1;r<=12;r++)t+=Jo(n,r)}}}}const $b=347997,_b=1080,xb=24*_b,X4=29,J4=12*_b+793,Z4=X4*xb+J4;function Zn(e){return Or(e*7+1,19)<7}function Yi(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return Or(3*(r+1),7)<3&&(r+=1),r}function Q4(e){let t=Yi(e-1),n=Yi(e);return Yi(e+1)-n===356?2:n-t===382?1:0}function Zo(e){return Yi(e)+Q4(e)}function wb(e){return Zo(e+1)-Zo(e)}function e8(e){let t=wb(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function qi(e,t){if(t>=6&&!Zn(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let n=e8(e);return t===2?n===2?30:29:t===3?n===0?29:30:t===6?Zn(e)?30:0:30}class t8{fromJulianDay(t){let n=t-$b,r=n*xb/Z4,o=Math.floor((19*r+234)/235)+1,a=Zo(o),i=Math.floor(n-a);for(;i<1;)o--,a=Zo(o),i=Math.floor(n-a);let l=1,s=0;for(;s<i;)s+=qi(o,l),l++;l--,s-=qi(o,l);let u=i-s;return new Ae(this,o,l,u)}toJulianDay(t){let n=Zo(t.year);for(let r=1;r<t.month;r++)n+=qi(t.year,r);return n+t.day+$b}getDaysInMonth(t){return qi(t.year,t.month)}getMonthsInYear(t){return Zn(t.year)?13:12}getDaysInYear(t){return wb(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,n){n.year!==t.year&&(Zn(n.year)&&!Zn(t.year)&&n.month>6?t.month--:!Zn(n.year)&&Zn(t.year)&&n.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const xu=1723856,Eb=1824665,wu=5500;function Xi(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function Eu(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-Xi(e,n,1,1))/30),o=t+1-Xi(e,n,r,1);return[n,r,o]}function Sb(e){return Math.floor(e%4/3)}function Db(e,t){return t%13!==0?30:Sb(e)+5}class Su{fromJulianDay(t){let[n,r,o]=Eu(xu,t),a="AM";return n<=0&&(a="AA",n+=wu),new Ae(this,a,n,r,o)}toJulianDay(t){let n=t.year;return t.era==="AA"&&(n-=wu),Xi(xu,n,t.month,t.day)}getDaysInMonth(t){return Db(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Sb(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class n8 extends Su{fromJulianDay(t){let[n,r,o]=Eu(xu,t);return n+=wu,new Ae(this,"AA",n,r,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class r8 extends Su{fromJulianDay(t){let[n,r,o]=Eu(Eb,t),a="CE";return n<=0&&(a="BCE",n=1-n),new Ae(this,a,n,r,o)}toJulianDay(t){let n=t.year;return t.era==="BCE"&&(n=1-n),Xi(Eb,n,t.month,t.day)}getDaysInMonth(t){let n=t.year;return t.era==="BCE"&&(n=1-n),Db(n,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function Pb(e){switch(e){case"buddhist":return new B4;case"ethiopic":return new Su;case"ethioaa":return new n8;case"coptic":return new r8;case"hebrew":return new t8;case"indian":return new W4;case"islamic-civil":return new $u;case"islamic-tbla":return new G4;case"islamic-umalqura":return new q4;case"japanese":return new V4;case"persian":return new U4;case"roc":return new j4;case"gregory":default:return new at}}let Du=new Map;class Tb{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(n)}`}formatRangeToParts(t,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.formatter.formatToParts(t),o=this.formatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return i8()&&(this.resolvedHourCycle||(this.resolvedHourCycle=l8(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,n={}){this.formatter=kb(t,n),this.options=n}}const o8={true:{ja:"h11"},false:{}};function kb(e,t={}){if(typeof t.hour12=="boolean"&&a8()){t={...t};let o=o8[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=o??a,delete t.hour12}let n=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Du.has(n))return Du.get(n);let r=new Intl.DateTimeFormat(e,t);return Du.set(n,r),r}let Pu=null;function a8(){return Pu==null&&(Pu=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Pu}let Tu=null;function i8(){return Tu==null&&(Tu=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Tu}function l8(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 n=kb(e,{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),o=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(r===0&&o===23)return"h23";if(r===24&&o===23)return"h24";if(r===0&&o===11)return"h11";if(r===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}function Qn(e){e=Mm(e??{},s8);let{locale:t}=ot();return c.useMemo(()=>new Tb(t,e),[t,e])}function s8(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o of n)if(t[o]!==e[o])return!1;return!0}let ku=new Map,Cu=!1;try{Cu=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Ji=!1;try{Ji=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Cb={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Zi{format(t){let n="";if(!Cu&&this.options.signDisplay!=null?n=u8(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!Ji){var r;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!o)return n;let l=(r=Cb[o])===null||r===void 0?void 0:r[a];n+=l[i]||l.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Cu&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Ji&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=c8(t,n),this.options=n}}function c8(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!Ji){var r;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=Cb[i])===null||r===void 0)&&r[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(ku.has(o))return ku.get(o);let a=new Intl.NumberFormat(e,t);return ku.set(o,a),a}function u8(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let o=e.format(-n),a=e.format(n),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(n)}}const d8=new RegExp("^.*\\(.*\\).*$"),f8=["latn","arab","hanidec"];class Ab{parse(t){return Au(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return Au(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return Au(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const Ib=new Map;function Au(e,t,n){let r=Ob(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let o of f8)if(o!==r.options.numberingSystem){let a=Ob(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(n))return a}}return r}function Ob(e,t){let n=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),r=Ib.get(n);return r||(r=new p8(e,t),Ib.set(n,r)),r}class p8{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=Qi(n,this.symbols.group,"")),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,"-")),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let i=n.indexOf("-");n=n.replace("-","");let l=n.indexOf(".");l===-1&&(l=n.length),n=n.replace(".",""),l-2===0?n=`0.${n}`:l-2===-1?n=`0.0${n}`:l-2===-2?n="0.00":n=`${n.slice(0,l-2)}.${n.slice(l-2)}`,i>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var o,a;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((o=this.options.minimumFractionDigits)!==null&&o!==void 0?o:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new Ab(this.locale,i).parse(new Zi(this.locale,i).format(r))}return this.options.currencySign==="accounting"&&d8.test(t)&&(r=-1*r),r}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(t=Qi(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=Qi(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,n=-1/0,r=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=Qi(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,n={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=m8(t,this.formatter,this.options,n);var r,o;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Mb=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),g8=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function m8(e,t,n,r){var o,a,i,l;let s=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21}),u=s.formatToParts(-10000.111),d=s.formatToParts(10000.111),f=g8.map(N=>s.formatToParts(N));var m;let g=(m=(o=u.find(N=>N.type==="minusSign"))===null||o===void 0?void 0:o.value)!==null&&m!==void 0?m:"-",h=(a=d.find(N=>N.type==="plusSign"))===null||a===void 0?void 0:a.value;!h&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(h="+");let v=(i=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(N=>N.type==="decimal"))===null||i===void 0?void 0:i.value,_=(l=u.find(N=>N.type==="group"))===null||l===void 0?void 0:l.value,y=u.filter(N=>!Mb.has(N.type)).map(N=>Fb(N.value)),x=f.flatMap(N=>N.filter(E=>!Mb.has(E.type)).map(E=>Fb(E.value))),S=[...new Set([...y,...x])].sort((N,E)=>E.length-N.length),T=S.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${S.join("|")}|[\\p{White_Space}]`,"gu"),P=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),M=new Map(P.map((N,E)=>[N,E])),$=new RegExp(`[${P.join("")}]`,"g");return{minusSign:g,plusSign:h,decimal:v,group:_,literals:T,numeral:$,index:N=>String(M.get(N))}}function Qi(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Fb(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Lb(e={}){let{locale:t}=ot();return c.useMemo(()=>new Zi(t,e),[t,e])}let Iu=new Map;function el(e){let{locale:t}=ot(),n=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Iu.has(n))return Iu.get(n);let r=new Intl.Collator(t,e);return Iu.set(n,r),r}function h8(e){let t=el({usage:"search",...e}),n=c.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),r=c.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),o=c.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=a.length;l++){let u=a.slice(l,l+s);if(t.compare(i,u)===0)return!0}return!1},[t]);return c.useMemo(()=>({startsWith:n,endsWith:r,contains:o}),[n,r,o])}let Me=typeof document<"u"&&window.visualViewport;function b8(e){let{direction:t}=ot(),{arrowSize:n=0,targetRef:r,overlayRef:o,scrollRef:a=o,placement:i="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:u=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:m=!0,isOpen:g=!0,onClose:h,maxHeight:b,arrowBoundaryOffset:v=0}=e,[_,y]=c.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),x=[m,i,o.current,r.current,a.current,l,s,u,d,f,g,t,b,v,n],S=c.useRef(Me==null?void 0:Me.scale);c.useEffect(()=>{g&&(S.current=Me==null?void 0:Me.scale)},[g]);let T=c.useCallback(()=>{if(m===!1||!g||!o.current||!r.current||!u||(Me==null?void 0:Me.scale)!==S.current)return;let C=null;if(a.current&&a.current.contains(document.activeElement)){let k=document.activeElement.getBoundingClientRect(),j=a.current.getBoundingClientRect();C={type:"top",offset:k.top-j.top},C.offset>j.height/2&&(C.type="bottom",C.offset=k.bottom-j.bottom)}let N=o.current;if(!b&&o.current){var E;N.style.top="0px",N.style.bottom="";var K;N.style.maxHeight=((K=(E=window.visualViewport)===null||E===void 0?void 0:E.height)!==null&&K!==void 0?K:window.innerHeight)+"px"}let I=JC({placement:y8(i,t),overlayNode:o.current,targetNode:r.current,scrollNode:a.current||o.current,padding:l,shouldFlip:s,boundaryElement:u,offset:d,crossOffset:f,maxHeight:b,arrowSize:n,arrowBoundaryOffset:v});if(N.style.top="",N.style.bottom="",N.style.left="",N.style.right="",Object.keys(I.position).forEach(k=>N.style[k]=I.position[k]+"px"),N.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":void 0,C){let k=document.activeElement.getBoundingClientRect(),j=a.current.getBoundingClientRect(),O=k[C.type]-j[C.type];a.current.scrollTop+=O-C.offset}y(I)},x);Te(T,x),v8(T),Cm({ref:o,onResize:T}),Cm({ref:r,onResize:T});let P=c.useRef(!1);Te(()=>{let C,N=()=>{P.current=!0,clearTimeout(C),C=setTimeout(()=>{P.current=!1},500),T()},E=()=>{P.current&&N()};return Me==null||Me.addEventListener("resize",N),Me==null||Me.addEventListener("scroll",E),()=>{Me==null||Me.removeEventListener("resize",N),Me==null||Me.removeEventListener("scroll",E)}},[T]);let M=c.useCallback(()=>{P.current||h()},[h,P]);QC({triggerRef:r,isOpen:g,onClose:h&&M});var $;return{overlayProps:{style:{position:"absolute",zIndex:1e5,..._.position,maxHeight:($=_.maxHeight)!==null&&$!==void 0?$:"100vh"}},placement:_.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:_.arrowOffsetLeft,top:_.arrowOffsetTop}},updatePosition:T}}function v8(e){Te(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function y8(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const an=[];function Nb(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;c.useEffect(()=>(o&&an.push(t),()=>{let h=an.indexOf(t);h>=0&&an.splice(h,1)}),[o,t]);let s=()=>{an[an.length-1]===t&&n&&n()},u=h=>{(!l||l(h.target))&&an[an.length-1]===t&&(h.stopPropagation(),h.preventDefault())},d=h=>{(!l||l(h.target))&&(an[an.length-1]===t&&(h.stopPropagation(),h.preventDefault()),s())},f=h=>{h.key==="Escape"&&!i&&!h.nativeEvent.isComposing&&(h.stopPropagation(),h.preventDefault(),s())};bk({ref:t,onInteractOutside:a&&o?d:null,onInteractOutsideStart:u});let{focusWithinProps:m}=Ko({isDisabled:!r,onBlurWithin:h=>{!h.relatedTarget||eC(h.relatedTarget)||(!l||l(h.relatedTarget))&&n()}}),g=h=>{h.target===h.currentTarget&&h.preventDefault()};return{overlayProps:{onKeyDown:f,...m},underlayProps:{onPointerDown:g}}}function tl(e,t,n){let{type:r}=e,{isOpen:o}=t;c.useEffect(()=>{n&&n.current&&Oh.set(n.current,t.close)});let a;r==="menu"?a=!0:r==="listbox"&&(a="listbox");let i=ct();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Ou=typeof document<"u"&&window.visualViewport,$8=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let nl=0,Mu;function _8(e={}){let{isDisabled:t}=e;Te(()=>{if(!t)return nl++,nl===1&&(Mo()?Mu=w8():Mu=x8()),()=>{nl--,nl===0&&Mu()}},[t])}function x8(){return Yt(Rr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Rr(document.documentElement,"overflow","hidden"))}function w8(){let e,t,n=u=>{e=Tc(u.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=Rr(e,"overscrollBehavior","contain"))},r=u=>{if(!e||e===document.documentElement||e===document.body){u.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&u.preventDefault()},o=u=>{let d=u.target;Rb(d)&&d!==document.activeElement&&(u.preventDefault(),l(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),t&&t()},a=u=>{let d=u.target;Rb(d)&&(l(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Ou&&(Ou.height<window.innerHeight?requestAnimationFrame(()=>{zb(d)}):Ou.addEventListener("resize",()=>zb(d),{once:!0}))}))},i=null,l=()=>{if(i)return;let u=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;i=Yt(Qo(window,"scroll",u),Rr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Rr(document.documentElement,"overflow","hidden"),Rr(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},s=Yt(Qo(document,"touchstart",n,{passive:!1,capture:!0}),Qo(document,"touchmove",r,{passive:!1,capture:!0}),Qo(document,"touchend",o,{passive:!1,capture:!0}),Qo(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function Rr(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Qo(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function zb(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=Tc(e);if(n!==document.documentElement&&n!==document.body&&n!==e){let r=n.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>r+e.clientHeight&&(n.scrollTop+=o-r)}e=n.parentElement}}function Rb(e){return e instanceof HTMLInputElement&&!$8.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Kb={};Kb={dismiss:"تجاهل"};var Vb={};Vb={dismiss:"Отхвърляне"};var Bb={};Bb={dismiss:"Odstranit"};var jb={};jb={dismiss:"Luk"};var Ub={};Ub={dismiss:"Schließen"};var Wb={};Wb={dismiss:"Απόρριψη"};var Hb={};Hb={dismiss:"Dismiss"};var Gb={};Gb={dismiss:"Descartar"};var Yb={};Yb={dismiss:"Lõpeta"};var qb={};qb={dismiss:"Hylkää"};var Xb={};Xb={dismiss:"Rejeter"};var Jb={};Jb={dismiss:"התעלם"};var Zb={};Zb={dismiss:"Odbaci"};var Qb={};Qb={dismiss:"Elutasítás"};var e0={};e0={dismiss:"Ignora"};var t0={};t0={dismiss:"閉じる"};var n0={};n0={dismiss:"무시"};var r0={};r0={dismiss:"Atmesti"};var o0={};o0={dismiss:"Nerādīt"};var a0={};a0={dismiss:"Lukk"};var i0={};i0={dismiss:"Negeren"};var l0={};l0={dismiss:"Zignoruj"};var s0={};s0={dismiss:"Descartar"};var c0={};c0={dismiss:"Dispensar"};var u0={};u0={dismiss:"Revocare"};var d0={};d0={dismiss:"Пропустить"};var f0={};f0={dismiss:"Zrušiť"};var p0={};p0={dismiss:"Opusti"};var g0={};g0={dismiss:"Odbaci"};var m0={};m0={dismiss:"Avvisa"};var h0={};h0={dismiss:"Kapat"};var b0={};b0={dismiss:"Скасувати"};var v0={};v0={dismiss:"取消"};var y0={};y0={dismiss:"關閉"};var $0={};$0={"ar-AE":Kb,"bg-BG":Vb,"cs-CZ":Bb,"da-DK":jb,"de-DE":Ub,"el-GR":Wb,"en-US":Hb,"es-ES":Gb,"et-EE":Yb,"fi-FI":qb,"fr-FR":Xb,"he-IL":Jb,"hr-HR":Zb,"hu-HU":Qb,"it-IT":e0,"ja-JP":t0,"ko-KR":n0,"lt-LT":r0,"lv-LV":o0,"nb-NO":a0,"nl-NL":i0,"pl-PL":l0,"pt-BR":s0,"pt-PT":c0,"ro-RO":u0,"ru-RU":d0,"sk-SK":f0,"sl-SI":p0,"sr-SP":g0,"sv-SE":m0,"tr-TR":h0,"uk-UA":b0,"zh-CN":v0,"zh-TW":y0};function E8(e){return e&&e.__esModule?e.default:e}function _0(e){let{onDismiss:t,...n}=e,r=$t(E8($0),"@react-aria/overlays"),o=Er(n,r.format("dismiss")),a=()=>{t&&t()};return D.default.createElement(Di,null,D.default.createElement("button",{...o,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let ea=new WeakMap,ft=[];function x0(e,t=document.body){let n=new Set(e),r=new Set,o=s=>{for(let m of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(m);let u=m=>{if(n.has(m)||r.has(m.parentElement)&&m.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let g of n)if(m.contains(g))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},d=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:u}),f=u(s);if(f===NodeFilter.FILTER_ACCEPT&&a(s),f!==NodeFilter.FILTER_REJECT){let m=d.nextNode();for(;m!=null;)a(m),m=d.nextNode()}},a=s=>{var u;let d=(u=ea.get(s))!==null&&u!==void 0?u:0;s.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&s.setAttribute("aria-hidden","true"),r.add(s),ea.set(s,d+1))};ft.length&&ft[ft.length-1].disconnect(),o(t);let i=new MutationObserver(s=>{for(let u of s)if(!(u.type!=="childList"||u.addedNodes.length===0)&&![...n,...r].some(d=>d.contains(u.target))){for(let d of u.removedNodes)d instanceof Element&&(n.delete(d),r.delete(d));for(let d of u.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?n.add(d):d instanceof Element&&o(d)}});i.observe(t,{childList:!0,subtree:!0});let l={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return ft.push(l),()=>{i.disconnect();for(let s of r){let u=ea.get(s);u===1?(s.removeAttribute("aria-hidden"),ea.delete(s)):ea.set(s,u-1)}l===ft[ft.length-1]?(ft.pop(),ft.length&&ft[ft.length-1].observe()):ft.splice(ft.indexOf(l),1)}}function S8(e,t){let{triggerRef:n,popoverRef:r,isNonModal:o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:u}=Nb({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i},r),{overlayProps:d,arrowProps:f,placement:m}=b8({...l,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:o?t.close:null});return _8({isDisabled:o||!t.isOpen}),Te(()=>{if(t.isOpen&&!o&&r.current)return x0([r.current])},[o,t.isOpen,r]),{popoverProps:me(s,d),arrowProps:f,underlayProps:u,placement:m}}const D8=c.createContext({});function P8(){var e;return(e=c.useContext(D8))!==null&&e!==void 0?e:{}}const T8=D.default.createContext(null);function k8(e){let t=si(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[o,a]=c.useState(!1),i=c.useMemo(()=>({contain:o,setContain:a}),[o,a]),{getContainer:l}=P8();if(!e.portalContainer&&l&&(n=l()),!n)return null;let s=e.children;return e.disableFocusManagement||(s=D.default.createElement(qk,{restoreFocus:!0,contain:o&&!r},s)),s=D.default.createElement(T8.Provider,{value:i},D.default.createElement(lk,null,s)),Vt.default.createPortal(s,n)}function Kr(e){let[t,n]=Ft(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const r=c.useCallback(()=>{n(!0)},[n]),o=c.useCallback(()=>{n(!1)},[n]),a=c.useCallback(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:o,toggle:a}}const C8=F.default.div`
1035
1035
  z-index: 100;
1036
1036
  font-family: ${p.font_family_pingo};
1037
1037
  overflow: hidden;
1038
1038
  background-color: ${p.color_white};
1039
1039
  border-radius: ${p.border_radius_400};
1040
1040
  box-shadow: ${p.elevation_static_high};
1041
- `;function er(e){const t=D.useRef(null),n=D.useRef(null),{popoverRef:r=t,targetRef:o,state:a,children:i,isTargetWidth:l,width:s,className:u,isNonModal:d,disableFocusManagement:f}=e,{popoverProps:m}=S8({...e,triggerRef:o,popoverRef:r,isNonModal:d},a);let g=s??"auto";l&&o.current&&(g=`${o.current.offsetWidth}px`);const h={...m.style,width:g,marginTop:p.spacing_100};return ee(k8,{disableFocusManagement:f,children:[a.isOpen?w(pe,{ref:n,role:"none",style:{position:"fixed",inset:"0",zIndex:p.z_index_overlay_high}}):null,ee(C8,{className:u,...m,style:h,ref:r,children:[!d&&w(_0,{onDismiss:()=>a.close()}),i,w(_0,{onDismiss:()=>a.close()})]})]})}const A8=F.default.span`
1041
+ `;function er(e){const t=D.useRef(null),n=D.useRef(null),{popoverRef:r=t,targetRef:o,state:a,children:i,isTargetWidth:l,width:s,className:u,isNonModal:d,disableFocusManagement:f}=e,{popoverProps:m}=S8({...e,triggerRef:o,popoverRef:r,isNonModal:d},a);let g=s??"auto";l&&o.current&&(g=`${o.current.offsetWidth}px`);const h={...m.style,width:g,marginTop:p.spacing_100};return Q(k8,{disableFocusManagement:f,children:[a.isOpen?w(pe,{ref:n,role:"none",style:{position:"fixed",inset:"0",zIndex:p.z_index_overlay_high}}):null,Q(C8,{className:u,...m,style:h,ref:r,children:[!d&&w(_0,{onDismiss:()=>a.close()}),i,w(_0,{onDismiss:()=>a.close()})]})]})}const A8=F.default.span`
1042
1042
  display: inline-flex;
1043
1043
  align-items: center;
1044
1044
  gap: ${p.spacing_100};
1045
1045
  line-height: 1;
1046
- `,I8=F.default(we.KeyboardArrowDown)`
1046
+ `,I8=F.default(Ee.KeyboardArrowDown)`
1047
1047
  font-size: ${p.sizing_350};
1048
1048
  line-height: 1;
1049
1049
  width: ${p.sizing_350};
@@ -1071,7 +1071,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1071
1071
  width: 1rem;
1072
1072
  height: 1rem;
1073
1073
  }
1074
- `,w0=c.forwardRef(({children:e,options:t,onSelect:n,variant:r="primary",menuItemVariant:o="tertiary",placement:a="end",closeOnClickOutside:i=!0,closeOnEscape:l=!0,optionIcon:s,...u},d)=>{const f=Kr({}),m=c.useRef(null),g=c.useRef(null),{triggerProps:h,overlayProps:b}=tl({type:"dialog"},f,m),{buttonProps:v}=Gn({...u,...h,onPress:()=>{f.toggle()}},m);Ao(()=>{l&&f.isOpen&&f.close()});const _=()=>{switch(a){case"start":return"bottom start";case"center":return"bottom";case"end":return"bottom end";default:return"bottom start"}};return ee(Vt,{children:[w(Wn,{...v,ref:m,type:"button",variant:r,size:"small",onClick:()=>{f.toggle()},children:ee(A8,{children:[e,w(I8,{style:{fontSize:p.sizing_350}})]})}),f.isOpen&&w(er,{state:f,targetRef:m,popoverRef:g,placement:_(),isNonModal:!i,...b,children:w(O8,{children:t.map(y=>w(M8,{variant:o,size:"small",onClick:()=>{n(y),f.close()},children:ee(F8,{children:[s&&w(s,{}),y]})},y))})})]})});w0.displayName="ButtonMenu";const E0=7e3;let ta=null;function Vr(e,t="assertive",n=E0){ta||(ta=new N8),ta.announce(e,t,n)}function L8(e){ta&&ta.clear(e)}class N8{createLog(t){let n=document.createElement("div");return n.setAttribute("role","log"),n.setAttribute("aria-live",t),n.setAttribute("aria-relevant","additions"),n}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,n="assertive",r=E0){if(!this.node)return;let o=document.createElement("div");o.textContent=t,n==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},r)}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:"-1px",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 rl(e){return e&&e.__esModule?e.default:e}var na={},S0={};S0={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var D0={};D0={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var P0={};P0={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var T0={};T0={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var k0={};k0={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var C0={};C0={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var A0={};A0={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var I0={};I0={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var O0={};O0={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var M0={};M0={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var F0={};F0={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var L0={};L0={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var N0={};N0={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var z0={};z0={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var R0={};R0={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var K0={};K0={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var V0={};V0={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var B0={};B0={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var j0={};j0={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var U0={};U0={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var W0={};W0={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var H0={};H0={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var G0={};G0={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Y0={};Y0={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var q0={};q0={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var X0={};X0={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var J0={};J0={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var Z0={};Z0={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var Q0={};Q0={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var ev={};ev={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var tv={};tv={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var nv={};nv={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var rv={};rv={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选定 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选定今天,即 ${e.date}`};var ov={};ov={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`},na={"ar-AE":S0,"bg-BG":D0,"cs-CZ":P0,"da-DK":T0,"de-DE":k0,"el-GR":C0,"en-US":A0,"es-ES":I0,"et-EE":O0,"fi-FI":M0,"fr-FR":F0,"he-IL":L0,"hr-HR":N0,"hu-HU":z0,"it-IT":R0,"ja-JP":K0,"ko-KR":V0,"lt-LT":B0,"lv-LV":j0,"nb-NO":U0,"nl-NL":W0,"pl-PL":H0,"pt-BR":G0,"pt-PT":Y0,"ro-RO":q0,"ru-RU":X0,"sk-SK":J0,"sl-SI":Z0,"sr-SP":Q0,"sv-SE":ev,"tr-TR":tv,"uk-UA":nv,"zh-CN":rv,"zh-TW":ov};const Fu=new WeakMap;function ra(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function z8(e){let t=$t(rl(na)),n,r;"highlightedRange"in e?{start:n,end:r}=e.highlightedRange||{}:n=r=e.value;let o=Qn({weekday:"long",month:"long",year:"numeric",day:"numeric",era:ra(n)||ra(r),timeZone:e.timeZone}),a="anchorDate"in e?e.anchorDate:null;return c.useMemo(()=>{if(!a&&n&&r)if(Oe(n,r)){let i=o.format(n.toDate(e.timeZone));return t.format("selectedDateDescription",{date:i})}else{let i=Nu(o,t,n,r,e.timeZone);return t.format("selectedRangeDescription",{dateRange:i})}return""},[n,r,a,e.timeZone,t,o])}function Lu(e,t,n,r){let o=$t(rl(na)),a=ra(e)||ra(t),i=Qn({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n}),l=Qn({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n});return c.useMemo(()=>{if(Oe(e,qn(e))){if(Oe(t,Ri(e)))return i.format(e.toDate(n));if(Oe(t,Ri(t)))return r?Nu(i,o,e,t,n):i.formatRange(e.toDate(n),t.toDate(n))}return r?Nu(l,o,e,t,n):l.formatRange(e.toDate(n),t.toDate(n))},[e,t,i,l,o,n,r])}function Nu(e,t,n,r,o){let a=e.formatRangeToParts(n.toDate(o),r.toDate(o)),i=-1;for(let u=0;u<a.length;u++){let d=a[u];if(d.source==="shared"&&d.type==="literal")i=u;else if(d.source==="endRange")break}let l="",s="";for(let u=0;u<a.length;u++)u<i?l+=a[u].value:u>i&&(s+=a[u].value);return t.format("dateRange",{startDate:l,endDate:s})}function av(e,t){let n=$t(rl(na)),r=$n(e),o=Lu(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=Lu(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);km(()=>{t.isFocused||Vr(a)},[a]);let i=z8(t);km(()=>{i&&Vr(i,"polite",4e3)},[i]);let l=Oo([!!e.errorMessage,e.validationState]);Fu.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,u]=c.useState(!1),d=e.isDisabled||t.isNextVisibleRangeInvalid();d&&s&&(u(!1),t.setFocused(!0));let[f,m]=c.useState(!1),g=e.isDisabled||t.isPreviousVisibleRangeInvalid();g&&f&&(m(!1),t.setFocused(!0));let h=Er({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:ge(r,h,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":n.format("next"),isDisabled:d,onFocusChange:u},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":n.format("previous"),isDisabled:g,onFocusChange:m},errorMessageProps:{id:l},title:o}}function R8(e,t){return av(e,t)}function K8(e,t,n){let r=av(e,t),o=c.useRef(!1),a=c.useRef(typeof window<"u"?window:null);Sr(a,"pointerdown",l=>{o.current=l.width===0&&l.height===0});let i=l=>{if(o.current){o.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target,u=document.getElementById(r.calendarProps.id);u&&u.contains(document.activeElement)&&(!u.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()};return Sr(a,"pointerup",i),Sr(a,"pointercancel",i),r.calendarProps.onBlur=l=>{(!l.relatedTarget||!n.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},Sr(n,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),r}function V8(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end}=e,{direction:o}=ot(),a=g=>{switch(g.key){case"Enter":case" ":g.preventDefault(),t.selectFocusedDate();break;case"PageUp":g.preventDefault(),g.stopPropagation(),t.focusPreviousSection(g.shiftKey);break;case"PageDown":g.preventDefault(),g.stopPropagation(),t.focusNextSection(g.shiftKey);break;case"End":g.preventDefault(),g.stopPropagation(),t.focusSectionEnd();break;case"Home":g.preventDefault(),g.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":g.preventDefault(),g.stopPropagation(),o==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":g.preventDefault(),g.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":g.preventDefault(),g.stopPropagation(),o==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":g.preventDefault(),g.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(g.preventDefault(),t.setAnchorDate(null));break}},i=Lu(n,r,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:s}=Fu.get(t),u=Er({"aria-label":[l,i].filter(Boolean).join(", "),"aria-labelledby":s}),d=Qn({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:f}=ot(),m=c.useMemo(()=>{let g=Go(Ho(t.timeZone),f);return[...new Array(7).keys()].map(h=>{let v=g.add({days:h}).toDate(t.timeZone);return d.format(v)})},[f,t.timeZone,d]);return{gridProps:ge(u,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:a,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:m}}function B8(e,t,n){let{date:r,isDisabled:o}=e,{errorMessageId:a,selectedDateDescription:i}=Fu.get(t),l=$t(rl(na)),s=Qn({weekday:"long",day:"numeric",month:"long",year:"numeric",era:ra(r),timeZone:t.timeZone}),u=t.isSelected(r),d=t.isCellFocused(r);o=o||t.isCellDisabled(r);let f=t.isCellUnavailable(r),m=!o&&!f,g=t.validationState==="invalid"&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:t.value&&Oe(t.value,r));g&&(u=!0),r=Mm(r,iu);let h=c.useMemo(()=>r.toDate(t.timeZone),[r,t.timeZone]),b=h4(r,t.timeZone),v=c.useMemo(()=>{let E="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Oe(r,t.value.start)||Oe(r,t.value.end))&&(E=i+", "),E+=s.format(h),b?E=l.format(u?"todayDateSelected":"todayDate",{date:E}):u&&(E=l.format("dateSelected",{date:E})),t.minValue&&Oe(r,t.minValue)?E+=", "+l.format("minimumDate"):t.maxValue&&Oe(r,t.maxValue)&&(E+=", "+l.format("maximumDate")),E},[s,h,l,u,b,r,t,i]),_="";"anchorDate"in t&&d&&!t.isReadOnly&&m&&(t.anchorDate?_=l.format("finishRangeSelectionPrompt"):_=l.format("startRangeSelectionPrompt"));let y=Cc(_),x=c.useRef(!1),S=c.useRef(!1),T=c.useRef(null),{pressProps:P,isPressed:M}=Pr({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!m||t.isReadOnly,onPressStart(E){if(t.isReadOnly){t.setFocusedDate(r);return}if("highlightedRange"in t&&!t.anchorDate&&(E.pointerType==="mouse"||E.pointerType==="touch")){if(t.highlightedRange&&!g){if(Oe(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setDragging(!0),S.current=!0;return}else if(Oe(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setDragging(!0),S.current=!0;return}}let K=()=>{t.setDragging(!0),T.current=null,t.selectDate(r),t.setFocusedDate(r),x.current=!0};E.pointerType==="touch"?T.current=setTimeout(K,200):K()}},onPressEnd(){S.current=!1,x.current=!1,clearTimeout(T.current),T.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(r),t.setFocusedDate(r))},onPressUp(E){if(!t.isReadOnly&&("anchorDate"in t&&T.current&&(t.selectDate(r),t.setFocusedDate(r)),"anchorDate"in t))if(S.current)t.setAnchorDate(r);else if(t.anchorDate&&!x.current)t.selectDate(r),t.setFocusedDate(r);else if(E.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(r);let K=r.add({days:1});t.isInvalid(K)&&(K=r.subtract({days:1})),t.isInvalid(K)||t.setFocusedDate(K)}else E.pointerType==="virtual"&&(t.selectDate(r),t.setFocusedDate(r))}}),$=null;o||($=Oe(r,t.focusedDate)?0:-1),c.useEffect(()=>{d&&n.current&&(Ot(n.current),wi()!=="pointer"&&document.activeElement===n.current&&Ac(n.current,{containingElement:Tc(n.current)}))},[d,n]);let C=Qn({day:"numeric",timeZone:t.timeZone,calendar:r.calendar.identifier}),z=c.useMemo(()=>C.formatToParts(h).find(E=>E.type==="day").value,[C,h]);return{cellProps:{role:"gridcell","aria-disabled":!m||null,"aria-selected":u||null,"aria-invalid":g||null},buttonProps:ge(P,{onFocus(){o||t.setFocusedDate(r)},tabIndex:$,role:"button","aria-disabled":!m||null,"aria-label":v,"aria-invalid":g||null,"aria-describedby":[g?a:null,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(E){"highlightDate"in t&&(E.pointerType!=="touch"||t.isDragging)&&m&&t.highlightDate(r)},onPointerDown(E){"releasePointerCapture"in E.target&&E.target.releasePointerCapture(E.pointerId)},onContextMenu(E){E.preventDefault()}}),isPressed:M,isFocused:d,isSelected:u,isDisabled:o,isUnavailable:f,isOutsideVisibleRange:r.compare(t.visibleRange.start)<0||r.compare(t.visibleRange.end)>0,isInvalid:g,formattedDate:z}}const j8=F.default.td`
1074
+ `,w0=c.forwardRef(({children:e,options:t,onSelect:n,variant:r="primary",menuItemVariant:o="tertiary",placement:a="end",closeOnClickOutside:i=!0,closeOnEscape:l=!0,optionIcon:s,...u},d)=>{const f=Kr({}),m=c.useRef(null),g=c.useRef(null),{triggerProps:h,overlayProps:b}=tl({type:"dialog"},f,m),{buttonProps:v}=Gn({...u,...h,onPress:()=>{f.toggle()}},m);Ao(()=>{l&&f.isOpen&&f.close()});const _=()=>{switch(a){case"start":return"bottom start";case"center":return"bottom";case"end":return"bottom end";default:return"bottom start"}};return Q(Bt,{children:[w(Wn,{...v,ref:m,type:"button",variant:r,size:"small",onClick:()=>{f.toggle()},children:Q(A8,{children:[e,w(I8,{style:{fontSize:p.sizing_350}})]})}),f.isOpen&&w(er,{state:f,targetRef:m,popoverRef:g,placement:_(),isNonModal:!i,...b,children:w(O8,{children:t.map(y=>w(M8,{variant:o,size:"small",onClick:()=>{n(y),f.close()},children:Q(F8,{children:[s&&w(s,{}),y]})},y))})})]})});w0.displayName="ButtonMenu";const E0=7e3;let ta=null;function Vr(e,t="assertive",n=E0){ta||(ta=new N8),ta.announce(e,t,n)}function L8(e){ta&&ta.clear(e)}class N8{createLog(t){let n=document.createElement("div");return n.setAttribute("role","log"),n.setAttribute("aria-live",t),n.setAttribute("aria-relevant","additions"),n}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,n="assertive",r=E0){if(!this.node)return;let o=document.createElement("div");o.textContent=t,n==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},r)}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:"-1px",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 rl(e){return e&&e.__esModule?e.default:e}var na={},S0={};S0={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var D0={};D0={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var P0={};P0={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var T0={};T0={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var k0={};k0={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var C0={};C0={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var A0={};A0={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var I0={};I0={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var O0={};O0={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var M0={};M0={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var F0={};F0={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var L0={};L0={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var N0={};N0={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var z0={};z0={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var R0={};R0={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var K0={};K0={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var V0={};V0={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var B0={};B0={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var j0={};j0={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var U0={};U0={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var W0={};W0={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var H0={};H0={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var G0={};G0={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Y0={};Y0={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var q0={};q0={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var X0={};X0={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var J0={};J0={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var Z0={};Z0={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var Q0={};Q0={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var ev={};ev={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var tv={};tv={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var nv={};nv={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var rv={};rv={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选定 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选定今天,即 ${e.date}`};var ov={};ov={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`},na={"ar-AE":S0,"bg-BG":D0,"cs-CZ":P0,"da-DK":T0,"de-DE":k0,"el-GR":C0,"en-US":A0,"es-ES":I0,"et-EE":O0,"fi-FI":M0,"fr-FR":F0,"he-IL":L0,"hr-HR":N0,"hu-HU":z0,"it-IT":R0,"ja-JP":K0,"ko-KR":V0,"lt-LT":B0,"lv-LV":j0,"nb-NO":U0,"nl-NL":W0,"pl-PL":H0,"pt-BR":G0,"pt-PT":Y0,"ro-RO":q0,"ru-RU":X0,"sk-SK":J0,"sl-SI":Z0,"sr-SP":Q0,"sv-SE":ev,"tr-TR":tv,"uk-UA":nv,"zh-CN":rv,"zh-TW":ov};const Fu=new WeakMap;function ra(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function z8(e){let t=$t(rl(na)),n,r;"highlightedRange"in e?{start:n,end:r}=e.highlightedRange||{}:n=r=e.value;let o=Qn({weekday:"long",month:"long",year:"numeric",day:"numeric",era:ra(n)||ra(r),timeZone:e.timeZone}),a="anchorDate"in e?e.anchorDate:null;return c.useMemo(()=>{if(!a&&n&&r)if(Oe(n,r)){let i=o.format(n.toDate(e.timeZone));return t.format("selectedDateDescription",{date:i})}else{let i=Nu(o,t,n,r,e.timeZone);return t.format("selectedRangeDescription",{dateRange:i})}return""},[n,r,a,e.timeZone,t,o])}function Lu(e,t,n,r){let o=$t(rl(na)),a=ra(e)||ra(t),i=Qn({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n}),l=Qn({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n});return c.useMemo(()=>{if(Oe(e,qn(e))){if(Oe(t,Ri(e)))return i.format(e.toDate(n));if(Oe(t,Ri(t)))return r?Nu(i,o,e,t,n):i.formatRange(e.toDate(n),t.toDate(n))}return r?Nu(l,o,e,t,n):l.formatRange(e.toDate(n),t.toDate(n))},[e,t,i,l,o,n,r])}function Nu(e,t,n,r,o){let a=e.formatRangeToParts(n.toDate(o),r.toDate(o)),i=-1;for(let u=0;u<a.length;u++){let d=a[u];if(d.source==="shared"&&d.type==="literal")i=u;else if(d.source==="endRange")break}let l="",s="";for(let u=0;u<a.length;u++)u<i?l+=a[u].value:u>i&&(s+=a[u].value);return t.format("dateRange",{startDate:l,endDate:s})}function av(e,t){let n=$t(rl(na)),r=_n(e),o=Lu(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=Lu(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);km(()=>{t.isFocused||Vr(a)},[a]);let i=z8(t);km(()=>{i&&Vr(i,"polite",4e3)},[i]);let l=Oo([!!e.errorMessage,e.validationState]);Fu.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,u]=c.useState(!1),d=e.isDisabled||t.isNextVisibleRangeInvalid();d&&s&&(u(!1),t.setFocused(!0));let[f,m]=c.useState(!1),g=e.isDisabled||t.isPreviousVisibleRangeInvalid();g&&f&&(m(!1),t.setFocused(!0));let h=Er({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:me(r,h,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":n.format("next"),isDisabled:d,onFocusChange:u},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":n.format("previous"),isDisabled:g,onFocusChange:m},errorMessageProps:{id:l},title:o}}function R8(e,t){return av(e,t)}function K8(e,t,n){let r=av(e,t),o=c.useRef(!1),a=c.useRef(typeof window<"u"?window:null);Sr(a,"pointerdown",l=>{o.current=l.width===0&&l.height===0});let i=l=>{if(o.current){o.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target,u=document.getElementById(r.calendarProps.id);u&&u.contains(document.activeElement)&&(!u.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()};return Sr(a,"pointerup",i),Sr(a,"pointercancel",i),r.calendarProps.onBlur=l=>{(!l.relatedTarget||!n.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},Sr(n,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),r}function V8(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end}=e,{direction:o}=ot(),a=g=>{switch(g.key){case"Enter":case" ":g.preventDefault(),t.selectFocusedDate();break;case"PageUp":g.preventDefault(),g.stopPropagation(),t.focusPreviousSection(g.shiftKey);break;case"PageDown":g.preventDefault(),g.stopPropagation(),t.focusNextSection(g.shiftKey);break;case"End":g.preventDefault(),g.stopPropagation(),t.focusSectionEnd();break;case"Home":g.preventDefault(),g.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":g.preventDefault(),g.stopPropagation(),o==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":g.preventDefault(),g.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":g.preventDefault(),g.stopPropagation(),o==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":g.preventDefault(),g.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(g.preventDefault(),t.setAnchorDate(null));break}},i=Lu(n,r,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:s}=Fu.get(t),u=Er({"aria-label":[l,i].filter(Boolean).join(", "),"aria-labelledby":s}),d=Qn({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:f}=ot(),m=c.useMemo(()=>{let g=Go(Ho(t.timeZone),f);return[...new Array(7).keys()].map(h=>{let v=g.add({days:h}).toDate(t.timeZone);return d.format(v)})},[f,t.timeZone,d]);return{gridProps:me(u,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:a,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:m}}function B8(e,t,n){let{date:r,isDisabled:o}=e,{errorMessageId:a,selectedDateDescription:i}=Fu.get(t),l=$t(rl(na)),s=Qn({weekday:"long",day:"numeric",month:"long",year:"numeric",era:ra(r),timeZone:t.timeZone}),u=t.isSelected(r),d=t.isCellFocused(r);o=o||t.isCellDisabled(r);let f=t.isCellUnavailable(r),m=!o&&!f,g=t.validationState==="invalid"&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:t.value&&Oe(t.value,r));g&&(u=!0),r=Mm(r,iu);let h=c.useMemo(()=>r.toDate(t.timeZone),[r,t.timeZone]),b=h4(r,t.timeZone),v=c.useMemo(()=>{let E="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Oe(r,t.value.start)||Oe(r,t.value.end))&&(E=i+", "),E+=s.format(h),b?E=l.format(u?"todayDateSelected":"todayDate",{date:E}):u&&(E=l.format("dateSelected",{date:E})),t.minValue&&Oe(r,t.minValue)?E+=", "+l.format("minimumDate"):t.maxValue&&Oe(r,t.maxValue)&&(E+=", "+l.format("maximumDate")),E},[s,h,l,u,b,r,t,i]),_="";"anchorDate"in t&&d&&!t.isReadOnly&&m&&(t.anchorDate?_=l.format("finishRangeSelectionPrompt"):_=l.format("startRangeSelectionPrompt"));let y=Cc(_),x=c.useRef(!1),S=c.useRef(!1),T=c.useRef(null),{pressProps:P,isPressed:M}=Pr({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!m||t.isReadOnly,onPressStart(E){if(t.isReadOnly){t.setFocusedDate(r);return}if("highlightedRange"in t&&!t.anchorDate&&(E.pointerType==="mouse"||E.pointerType==="touch")){if(t.highlightedRange&&!g){if(Oe(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setDragging(!0),S.current=!0;return}else if(Oe(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setDragging(!0),S.current=!0;return}}let K=()=>{t.setDragging(!0),T.current=null,t.selectDate(r),t.setFocusedDate(r),x.current=!0};E.pointerType==="touch"?T.current=setTimeout(K,200):K()}},onPressEnd(){S.current=!1,x.current=!1,clearTimeout(T.current),T.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(r),t.setFocusedDate(r))},onPressUp(E){if(!t.isReadOnly&&("anchorDate"in t&&T.current&&(t.selectDate(r),t.setFocusedDate(r)),"anchorDate"in t))if(S.current)t.setAnchorDate(r);else if(t.anchorDate&&!x.current)t.selectDate(r),t.setFocusedDate(r);else if(E.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(r);let K=r.add({days:1});t.isInvalid(K)&&(K=r.subtract({days:1})),t.isInvalid(K)||t.setFocusedDate(K)}else E.pointerType==="virtual"&&(t.selectDate(r),t.setFocusedDate(r))}}),$=null;o||($=Oe(r,t.focusedDate)?0:-1),c.useEffect(()=>{d&&n.current&&(Mt(n.current),wi()!=="pointer"&&document.activeElement===n.current&&Ac(n.current,{containingElement:Tc(n.current)}))},[d,n]);let C=Qn({day:"numeric",timeZone:t.timeZone,calendar:r.calendar.identifier}),N=c.useMemo(()=>C.formatToParts(h).find(E=>E.type==="day").value,[C,h]);return{cellProps:{role:"gridcell","aria-disabled":!m||null,"aria-selected":u||null,"aria-invalid":g||null},buttonProps:me(P,{onFocus(){o||t.setFocusedDate(r)},tabIndex:$,role:"button","aria-disabled":!m||null,"aria-label":v,"aria-invalid":g||null,"aria-describedby":[g?a:null,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(E){"highlightDate"in t&&(E.pointerType!=="touch"||t.isDragging)&&m&&t.highlightDate(r)},onPointerDown(E){"releasePointerCapture"in E.target&&E.target.releasePointerCapture(E.pointerId)},onContextMenu(E){E.preventDefault()}}),isPressed:M,isFocused:d,isSelected:u,isDisabled:o,isUnavailable:f,isOutsideVisibleRange:r.compare(t.visibleRange.start)<0||r.compare(t.visibleRange.end)>0,isInvalid:g,formattedDate:N}}const j8=F.default.td`
1075
1075
  position: relative;
1076
1076
  padding: 4px 0;
1077
1077
  transition: ${p.deprecated_transition_duration_150},
@@ -1171,7 +1171,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1171
1171
  width: 31px;
1172
1172
  height: 31px;
1173
1173
  }
1174
- `;function H8({isUnavailable:e,isDisabled:t,isSelectionStart:n,isSelectionEnd:r,isFocusVisible:o,isSelected:a,isToday:i}){return[e&&"disabled",t&&"disabled",n&&"selection-start",r&&"selection-end",a&&"selected",o&&"focused",i&&"today"].filter(Boolean).join(" ")}function iv({state:e,date:t,today:n,disabled:r,currentMonth:o,single:a}){const i=c.useRef(null),{cellProps:l,buttonProps:s,isSelected:u,isDisabled:d,isUnavailable:f,formattedDate:m}=B8({date:t,isDisabled:r},e,i),g=!m4(o,t),h=e.highlightedRange?Oe(t,e.highlightedRange.start):u,b=e.highlightedRange?Oe(t,e.highlightedRange.end):u,{locale:v}=ot(),_=zi(t,v),y=u&&(h||_===0||t.day===1),x=u&&(b||_===6||t.day===t.calendar.getDaysInMonth(t)),S=[y&&"left",x&&"right"].filter(Boolean).join(" "),{focusProps:T,isFocusVisible:P}=jo(),M=Oe(t,n),$=H8({isUnavailable:f,isDisabled:d,isSelected:u,isSelectionStart:h,isSelectionEnd:b,isFocusVisible:P,isToday:M});return w(j8,{...l,children:w(U8,{...ge(s,T),ref:i,hidden:g,"data-rounded":S,"data-state":$,children:w(W8,{"data-state":$,single:a,children:m})})})}const ol=6;function al({state:e,...t}){const{offset:n={},timeZone:r,single:o}=t,{locale:a}=ot(),i=e.visibleRange.start.add(n),l=Ri(i),s=Ho(r),{gridProps:u,headerProps:d,weekDays:f}=V8({startDate:i,endDate:l},e),m=x4(i,a);return ee("table",{...u,children:[w("thead",{...d,children:w("tr",{children:f.map((g,h)=>w("th",{style:{textAlign:"center"},children:g},h))})}),w("tbody",{children:[...Array.from({length:m}).keys()].map(g=>w("tr",{children:e.getDatesInWeek(g,i).map((h,b)=>{var v;if(h){const _=e.anchorDate!==void 0&&e.anchorDate!==null?G8({date:h,anchorDate:e.anchorDate,min:t.maxDays?-t.maxDays:-ol,max:t.maxDays?t.maxDays:ol})||((v=t.isDateUnavailable)==null?void 0:v.call(t,h)):!1;return w(iv,{state:e,date:h,today:s,disabled:_,currentMonth:i,single:o},b)}else return w("td",{},b)})},g))})]})}function G8({date:e,anchorDate:t,min:n=-ol,max:r=ol}){const o=e.compare(t)<n,a=e.compare(t)>r;return o||a}const zu={small:"32px",large:"40px"},lv={circle:p.border_radius_circle,square:p.border_radius_400},il=F.default.button`
1174
+ `;function H8({isUnavailable:e,isDisabled:t,isSelectionStart:n,isSelectionEnd:r,isFocusVisible:o,isSelected:a,isToday:i}){return[e&&"disabled",t&&"disabled",n&&"selection-start",r&&"selection-end",a&&"selected",o&&"focused",i&&"today"].filter(Boolean).join(" ")}function iv({state:e,date:t,today:n,disabled:r,currentMonth:o,single:a}){const i=c.useRef(null),{cellProps:l,buttonProps:s,isSelected:u,isDisabled:d,isUnavailable:f,formattedDate:m}=B8({date:t,isDisabled:r},e,i),g=!m4(o,t),h=e.highlightedRange?Oe(t,e.highlightedRange.start):u,b=e.highlightedRange?Oe(t,e.highlightedRange.end):u,{locale:v}=ot(),_=zi(t,v),y=u&&(h||_===0||t.day===1),x=u&&(b||_===6||t.day===t.calendar.getDaysInMonth(t)),S=[y&&"left",x&&"right"].filter(Boolean).join(" "),{focusProps:T,isFocusVisible:P}=jo(),M=Oe(t,n),$=H8({isUnavailable:f,isDisabled:d,isSelected:u,isSelectionStart:h,isSelectionEnd:b,isFocusVisible:P,isToday:M});return w(j8,{...l,children:w(U8,{...me(s,T),ref:i,hidden:g,"data-rounded":S,"data-state":$,children:w(W8,{"data-state":$,single:a,children:m})})})}const ol=6;function al({state:e,...t}){const{offset:n={},timeZone:r,single:o}=t,{locale:a}=ot(),i=e.visibleRange.start.add(n),l=Ri(i),s=Ho(r),{gridProps:u,headerProps:d,weekDays:f}=V8({startDate:i,endDate:l},e),m=x4(i,a);return Q("table",{...u,children:[w("thead",{...d,children:w("tr",{children:f.map((g,h)=>w("th",{style:{textAlign:"center"},children:g},h))})}),w("tbody",{children:[...Array.from({length:m}).keys()].map(g=>w("tr",{children:e.getDatesInWeek(g,i).map((h,b)=>{var v;if(h){const _=e.anchorDate!==void 0&&e.anchorDate!==null?G8({date:h,anchorDate:e.anchorDate,min:t.maxDays?-t.maxDays:-ol,max:t.maxDays?t.maxDays:ol})||((v=t.isDateUnavailable)==null?void 0:v.call(t,h)):!1;return w(iv,{state:e,date:h,today:s,disabled:_,currentMonth:i,single:o},b)}else return w("td",{},b)})},g))})]})}function G8({date:e,anchorDate:t,min:n=-ol,max:r=ol}){const o=e.compare(t)<n,a=e.compare(t)>r;return o||a}const zu={small:"32px",large:"40px"},lv={circle:p.border_radius_circle,square:p.border_radius_400},il=F.default.button`
1175
1175
  all: unset;
1176
1176
  appearance: none;
1177
1177
  flex-shrink: 0;
@@ -1279,17 +1279,17 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1279
1279
  &:disabled {
1280
1280
  background: ${p.color_deprecated_fill_inverse_disabled};
1281
1281
  }
1282
- `,Z8={primary:Y8,secondary:q8,danger:X8,inverse:J8},oa=c.forwardRef((e,t)=>{const n=_n(t),{label:r,size:o="small",variant:a="primary",shape:i="circle",disabled:l,onClick:s,autoFocus:u,children:d,style:f={},...m}=e,g=Ft(),h=l??g,{buttonProps:b,isPressed:v}=Gn({onPress:s,isDisabled:h,autoFocus:u},n),{isFocusVisible:_,focusProps:y}=jo({autoFocus:u}),x=mh({isFocusVisible:_,isPressed:v}),S=Z8[a],T=lv[i],P=zu[o],M=ge(y,m,b,{"data-state":x});return w(S,{ref:n,...M,style:{"--icon-button-size":P,"--icon-button-border-radius":T,...f},children:w(vo,{label:r,children:d})})});oa.displayName="IconButton";const Q8=F.default(ht)`
1282
+ `,Z8={primary:Y8,secondary:q8,danger:X8,inverse:J8},oa=c.forwardRef((e,t)=>{const n=xn(t),{label:r,size:o="small",variant:a="primary",shape:i="circle",disabled:l,onClick:s,autoFocus:u,children:d,style:f={},...m}=e,g=Lt(),h=l??g,{buttonProps:b,isPressed:v}=Gn({onPress:s,isDisabled:h,autoFocus:u},n),{isFocusVisible:_,focusProps:y}=jo({autoFocus:u}),x=mh({isFocusVisible:_,isPressed:v}),S=Z8[a],T=lv[i],P=zu[o],M=me(y,m,b,{"data-state":x});return w(S,{ref:n,...M,style:{"--icon-button-size":P,"--icon-button-border-radius":T,...f},children:w(vo,{label:r,children:d})})});oa.displayName="IconButton";const Q8=F.default(ht)`
1283
1283
  font-family: ${p.font_family_pingo} !important;
1284
1284
  color: ${p.color_black} !important;
1285
1285
  font-weight: ${p.font_weight_100};
1286
1286
  background-color: ${p.color_white};
1287
- `;function sv({state:e,calendarProps:t,prevButtonProps:n,nextButtonProps:r}){const{onPress:o,isDisabled:a}=n,{onPress:i,isDisabled:l}=r,s=Qn({month:"long",year:"numeric",timeZone:e.timeZone});return ee(Q8,{p:"200",alignItems:"center",justifyContent:"space-between",children:[w(Di,{children:w("h2",{children:t["aria-label"]})}),w(oa,{label:"Previous month",size:"small",variant:"inverse",onClick:o,disabled:a,children:w(we.ChevronLeft,{})}),w(Bn,{looksLike:"body",as:"h2","aria-hidden":!0,children:s.format(e.visibleRange.start.toDate(e.timeZone))}),w(Bn,{looksLike:"body",as:"h2","aria-hidden":!0,children:s.format(e.visibleRange.start.add({months:1}).toDate(e.timeZone))}),w(oa,{size:"small",variant:"inverse",onClick:i,label:"Next month",disabled:l,children:w(we.ChevronRight,{})})]})}function Br(e,t,n){return t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0}function Ru(e,t,n,r,o){let a={};for(let l in t)a[l]=Math.floor(t[l]/2),a[l]>0&&t[l]%2===0&&a[l]--;let i=tr(e,t,n).subtract(a);return aa(e,i,t,n,r,o)}function tr(e,t,n,r,o){let a=e;return t.years?a=v4(e):t.months?a=qn(e):t.weeks&&(a=Go(e,n)),aa(e,a,t,n,r,o)}function Ku(e,t,n,r,o){let a={...t};t.days?a.days--:t.weeks?a.weeks--:t.months?a.months--:t.years&&a.years--;let i=tr(e,t,n).subtract(a);return aa(e,i,t,n,r,o)}function aa(e,t,n,r,o,a){return o&&e.compare(o)>=0&&(t=cu(t,tr(_t(o),n,r))),a&&e.compare(a)<=0&&(t=su(t,Ku(_t(a),n,r))),t}function Dn(e,t,n){return t&&(e=cu(e,_t(t))),n&&(e=su(e,_t(n))),e}function cv(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}function uv(e){let t=c.useMemo(()=>new Tb(e.locale),[e.locale]),n=c.useMemo(()=>t.resolvedOptions(),[t]),{locale:r,createCalendar:o,visibleDuration:a={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:u,pageBehavior:d="visible"}=e,f=c.useMemo(()=>o(n.calendar),[o,n.calendar]),[m,g]=Mt(e.value,e.defaultValue,e.onChange),h=c.useMemo(()=>m?ze(_t(m),f):null,[m,f]),b=c.useMemo(()=>m&&"timeZone"in m?m.timeZone:n.timeZone,[m,n.timeZone]),v=c.useMemo(()=>e.focusedValue?Dn(ze(_t(e.focusedValue),f),i,l):void 0,[e.focusedValue,f,i,l]),_=c.useMemo(()=>Dn(e.defaultFocusedValue?ze(_t(e.defaultFocusedValue),f):h||ze(Ho(b),f),i,l),[e.defaultFocusedValue,h,b,f,i,l]),[y,x]=Mt(v,_,e.onFocusChange),[S,T]=c.useState(()=>{switch(s){case"start":return tr(y,a,r,i,l);case"end":return Ku(y,a,r,i,l);case"center":default:return Ru(y,a,r,i,l)}}),[P,M]=c.useState(e.autoFocus||!1),$=c.useMemo(()=>{let O={...a};return O.days?O.days--:O.days=-1,S.add(O)},[S,a]),[C,z]=c.useState(f.identifier);if(f.identifier!==C){let O=ze(y,f);T(Ru(O,a,r,i,l)),x(O),z(f.identifier)}Br(y,i,l)?x(Dn(y,i,l)):y.compare(S)<0?T(Ku(y,a,r,i,l)):y.compare($)>0&&T(tr(y,a,r,i,l));function E(O){O=Dn(O,i,l),x(O)}function K(O){if(!e.isDisabled&&!e.isReadOnly){if(O=Dn(O,i,l),O=cv(O,S,u),!O)return;O=ze(O,(m==null?void 0:m.calendar)||new at),m&&"hour"in m?g(m.set(O)):g(O)}}let I=c.useMemo(()=>h?u&&u(h)?!0:Br(h,i,l):!1,[h,u,i,l]),k=e.validationState||(I?"invalid":null),j=c.useMemo(()=>d==="visible"?a:Vu(a),[d,a]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:h,setValue:K,visibleRange:{start:S,end:$},minValue:i,maxValue:l,focusedDate:y,timeZone:b,validationState:k,setFocusedDate(O){E(O),M(!0)},focusNextDay(){E(y.add({days:1}))},focusPreviousDay(){E(y.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&E(y.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&E(y.subtract({weeks:1}))},focusNextPage(){let O=S.add(j);x(Dn(y.add(j),i,l)),T(tr(aa(y,O,j,r,i,l),j,r))},focusPreviousPage(){let O=S.subtract(j);x(Dn(y.subtract(j),i,l)),T(tr(aa(y,O,j,r,i,l),j,r))},focusSectionStart(){a.days?E(S):a.weeks?E(Go(y,r)):(a.months||a.years)&&E(qn(y))},focusSectionEnd(){a.days?E($):a.weeks?E(y4(y,r)):(a.months||a.years)&&E(Ri(y))},focusNextSection(O){if(!O&&!a.days){E(y.add(Vu(a)));return}a.days?this.focusNextPage():a.weeks?E(y.add({months:1})):(a.months||a.years)&&E(y.add({years:1}))},focusPreviousSection(O){if(!O&&!a.days){E(y.subtract(Vu(a)));return}a.days?this.focusPreviousPage():a.weeks?E(y.subtract({months:1})):(a.months||a.years)&&E(y.subtract({years:1}))},selectFocusedDate(){K(y)},selectDate(O){K(O)},isFocused:P,setFocused:M,isInvalid(O){return Br(O,i,l)},isSelected(O){return h!=null&&Oe(O,h)&&!this.isCellDisabled(O)&&!this.isCellUnavailable(O)},isCellFocused(O){return P&&y&&Oe(O,y)},isCellDisabled(O){return e.isDisabled||O.compare(S)<0||O.compare($)>0||this.isInvalid(O,i,l)},isCellUnavailable(O){return e.isDateUnavailable&&e.isDateUnavailable(O)},isPreviousVisibleRangeInvalid(){let O=S.subtract({days:1});return Oe(O,S)||this.isInvalid(O,i,l)},isNextVisibleRangeInvalid(){let O=$.add({days:1});return Oe(O,$)||this.isInvalid(O,i,l)},getDatesInWeek(O,Z=S){let V=Z.add({weeks:O}),q=[];V=Go(V,r);let B=zi(V,r);for(let U=0;U<B;U++)q.push(null);for(;q.length<7;){q.push(V);let U=V.add({days:1});if(Oe(V,U))break;V=U}for(;q.length<7;)q.push(null);return q}}}function Vu(e){let t={...e};for(let n in e)t[n]=1;return t}function e2(e){let{value:t,defaultValue:n,onChange:r,createCalendar:o,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...u}=e,[d,f]=Mt(t,n||null,r),[m,g]=c.useState(null),h="center";if(d&&d.start&&d.end){let Z=Ru(_t(d.start),i,a,l,s).add(i).subtract({days:1});d.end.compare(Z)>0&&(h="start")}let b=c.useRef(null),[v,_]=c.useState(null),y=c.useMemo(()=>cu(l,v==null?void 0:v.start),[l,v]),x=c.useMemo(()=>su(s,v==null?void 0:v.end),[s,v]),S=uv({...u,value:d&&d.start,createCalendar:o,locale:a,visibleDuration:i,minValue:y,maxValue:x,selectionAlignment:h}),T=O=>{O&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(b.current={start:fv(O,S,-1),end:fv(O,S,1)},_(b.current)):(b.current=null,_(null))},[P,M]=c.useState(S.visibleRange);(!iu(S.visibleRange.start,P.start)||!iu(S.visibleRange.end,P.end))&&(T(m),M(S.visibleRange));let $=O=>{O?(g(O),T(O)):(g(null),T(null))},C=m?Bu(m,S.focusedDate):d&&Bu(d.start,d.end),z=O=>{if(!e.isReadOnly&&(O=Dn(O,y,x),O=cv(O,S.visibleRange.start,e.isDateUnavailable),!!O))if(!m)$(O);else{let Z=Bu(m,O);f({start:dv(Z.start,d==null?void 0:d.start),end:dv(Z.end,d==null?void 0:d.end)}),$(null)}},[E,K]=c.useState(!1),{isDateUnavailable:I}=e,k=c.useMemo(()=>!d||m?!1:I&&(I(d.start)||I(d.end))?!0:Br(d.start,l,s)||Br(d.end,l,s),[I,d,m,l,s]),j=e.validationState||(k?"invalid":null);return{...S,value:d,setValue:f,anchorDate:m,setAnchorDate:$,highlightedRange:C,validationState:j,selectFocusedDate(){z(S.focusedDate)},selectDate:z,highlightDate(O){m&&S.setFocusedDate(O)},isSelected(O){return C&&O.compare(C.start)>=0&&O.compare(C.end)<=0&&!S.isCellDisabled(O)&&!S.isCellUnavailable(O)},isInvalid(O){var Z,V;return S.isInvalid(O)||Br(O,(Z=b.current)===null||Z===void 0?void 0:Z.start,(V=b.current)===null||V===void 0?void 0:V.end)},isDragging:E,setDragging:K}}function Bu(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:_t(e),end:_t(t)})}function dv(e,t){return e=ze(e,(t==null?void 0:t.calendar)||new at),t&&"hour"in t?t.set(e):e}function fv(e,t,n){let r=e.add({days:n});for(;(n<0?r.compare(t.visibleRange.start)>=0:r.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(r);)r=r.add({days:n});return t.isCellUnavailable(r)?r.add({days:-n}):null}const t2=F.default(Be)`
1287
+ `;function sv({state:e,calendarProps:t,prevButtonProps:n,nextButtonProps:r}){const{onPress:o,isDisabled:a}=n,{onPress:i,isDisabled:l}=r,s=Qn({month:"long",year:"numeric",timeZone:e.timeZone});return Q(Q8,{p:"200",alignItems:"center",justifyContent:"space-between",children:[w(Di,{children:w("h2",{children:t["aria-label"]})}),w(oa,{label:"Previous month",size:"small",variant:"inverse",onClick:o,disabled:a,children:w(Ee.ChevronLeft,{})}),w(Bn,{looksLike:"body",as:"h2","aria-hidden":!0,children:s.format(e.visibleRange.start.toDate(e.timeZone))}),w(Bn,{looksLike:"body",as:"h2","aria-hidden":!0,children:s.format(e.visibleRange.start.add({months:1}).toDate(e.timeZone))}),w(oa,{size:"small",variant:"inverse",onClick:i,label:"Next month",disabled:l,children:w(Ee.ChevronRight,{})})]})}function Br(e,t,n){return t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0}function Ru(e,t,n,r,o){let a={};for(let l in t)a[l]=Math.floor(t[l]/2),a[l]>0&&t[l]%2===0&&a[l]--;let i=tr(e,t,n).subtract(a);return aa(e,i,t,n,r,o)}function tr(e,t,n,r,o){let a=e;return t.years?a=v4(e):t.months?a=qn(e):t.weeks&&(a=Go(e,n)),aa(e,a,t,n,r,o)}function Ku(e,t,n,r,o){let a={...t};t.days?a.days--:t.weeks?a.weeks--:t.months?a.months--:t.years&&a.years--;let i=tr(e,t,n).subtract(a);return aa(e,i,t,n,r,o)}function aa(e,t,n,r,o,a){return o&&e.compare(o)>=0&&(t=cu(t,tr(_t(o),n,r))),a&&e.compare(a)<=0&&(t=su(t,Ku(_t(a),n,r))),t}function Pn(e,t,n){return t&&(e=cu(e,_t(t))),n&&(e=su(e,_t(n))),e}function cv(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}function uv(e){let t=c.useMemo(()=>new Tb(e.locale),[e.locale]),n=c.useMemo(()=>t.resolvedOptions(),[t]),{locale:r,createCalendar:o,visibleDuration:a={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:u,pageBehavior:d="visible"}=e,f=c.useMemo(()=>o(n.calendar),[o,n.calendar]),[m,g]=Ft(e.value,e.defaultValue,e.onChange),h=c.useMemo(()=>m?ze(_t(m),f):null,[m,f]),b=c.useMemo(()=>m&&"timeZone"in m?m.timeZone:n.timeZone,[m,n.timeZone]),v=c.useMemo(()=>e.focusedValue?Pn(ze(_t(e.focusedValue),f),i,l):void 0,[e.focusedValue,f,i,l]),_=c.useMemo(()=>Pn(e.defaultFocusedValue?ze(_t(e.defaultFocusedValue),f):h||ze(Ho(b),f),i,l),[e.defaultFocusedValue,h,b,f,i,l]),[y,x]=Ft(v,_,e.onFocusChange),[S,T]=c.useState(()=>{switch(s){case"start":return tr(y,a,r,i,l);case"end":return Ku(y,a,r,i,l);case"center":default:return Ru(y,a,r,i,l)}}),[P,M]=c.useState(e.autoFocus||!1),$=c.useMemo(()=>{let O={...a};return O.days?O.days--:O.days=-1,S.add(O)},[S,a]),[C,N]=c.useState(f.identifier);if(f.identifier!==C){let O=ze(y,f);T(Ru(O,a,r,i,l)),x(O),N(f.identifier)}Br(y,i,l)?x(Pn(y,i,l)):y.compare(S)<0?T(Ku(y,a,r,i,l)):y.compare($)>0&&T(tr(y,a,r,i,l));function E(O){O=Pn(O,i,l),x(O)}function K(O){if(!e.isDisabled&&!e.isReadOnly){if(O=Pn(O,i,l),O=cv(O,S,u),!O)return;O=ze(O,(m==null?void 0:m.calendar)||new at),m&&"hour"in m?g(m.set(O)):g(O)}}let I=c.useMemo(()=>h?u&&u(h)?!0:Br(h,i,l):!1,[h,u,i,l]),k=e.validationState||(I?"invalid":null),j=c.useMemo(()=>d==="visible"?a:Vu(a),[d,a]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:h,setValue:K,visibleRange:{start:S,end:$},minValue:i,maxValue:l,focusedDate:y,timeZone:b,validationState:k,setFocusedDate(O){E(O),M(!0)},focusNextDay(){E(y.add({days:1}))},focusPreviousDay(){E(y.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&E(y.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&E(y.subtract({weeks:1}))},focusNextPage(){let O=S.add(j);x(Pn(y.add(j),i,l)),T(tr(aa(y,O,j,r,i,l),j,r))},focusPreviousPage(){let O=S.subtract(j);x(Pn(y.subtract(j),i,l)),T(tr(aa(y,O,j,r,i,l),j,r))},focusSectionStart(){a.days?E(S):a.weeks?E(Go(y,r)):(a.months||a.years)&&E(qn(y))},focusSectionEnd(){a.days?E($):a.weeks?E(y4(y,r)):(a.months||a.years)&&E(Ri(y))},focusNextSection(O){if(!O&&!a.days){E(y.add(Vu(a)));return}a.days?this.focusNextPage():a.weeks?E(y.add({months:1})):(a.months||a.years)&&E(y.add({years:1}))},focusPreviousSection(O){if(!O&&!a.days){E(y.subtract(Vu(a)));return}a.days?this.focusPreviousPage():a.weeks?E(y.subtract({months:1})):(a.months||a.years)&&E(y.subtract({years:1}))},selectFocusedDate(){K(y)},selectDate(O){K(O)},isFocused:P,setFocused:M,isInvalid(O){return Br(O,i,l)},isSelected(O){return h!=null&&Oe(O,h)&&!this.isCellDisabled(O)&&!this.isCellUnavailable(O)},isCellFocused(O){return P&&y&&Oe(O,y)},isCellDisabled(O){return e.isDisabled||O.compare(S)<0||O.compare($)>0||this.isInvalid(O,i,l)},isCellUnavailable(O){return e.isDateUnavailable&&e.isDateUnavailable(O)},isPreviousVisibleRangeInvalid(){let O=S.subtract({days:1});return Oe(O,S)||this.isInvalid(O,i,l)},isNextVisibleRangeInvalid(){let O=$.add({days:1});return Oe(O,$)||this.isInvalid(O,i,l)},getDatesInWeek(O,J=S){let V=J.add({weeks:O}),q=[];V=Go(V,r);let B=zi(V,r);for(let U=0;U<B;U++)q.push(null);for(;q.length<7;){q.push(V);let U=V.add({days:1});if(Oe(V,U))break;V=U}for(;q.length<7;)q.push(null);return q}}}function Vu(e){let t={...e};for(let n in e)t[n]=1;return t}function e2(e){let{value:t,defaultValue:n,onChange:r,createCalendar:o,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...u}=e,[d,f]=Ft(t,n||null,r),[m,g]=c.useState(null),h="center";if(d&&d.start&&d.end){let J=Ru(_t(d.start),i,a,l,s).add(i).subtract({days:1});d.end.compare(J)>0&&(h="start")}let b=c.useRef(null),[v,_]=c.useState(null),y=c.useMemo(()=>cu(l,v==null?void 0:v.start),[l,v]),x=c.useMemo(()=>su(s,v==null?void 0:v.end),[s,v]),S=uv({...u,value:d&&d.start,createCalendar:o,locale:a,visibleDuration:i,minValue:y,maxValue:x,selectionAlignment:h}),T=O=>{O&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(b.current={start:fv(O,S,-1),end:fv(O,S,1)},_(b.current)):(b.current=null,_(null))},[P,M]=c.useState(S.visibleRange);(!iu(S.visibleRange.start,P.start)||!iu(S.visibleRange.end,P.end))&&(T(m),M(S.visibleRange));let $=O=>{O?(g(O),T(O)):(g(null),T(null))},C=m?Bu(m,S.focusedDate):d&&Bu(d.start,d.end),N=O=>{if(!e.isReadOnly&&(O=Pn(O,y,x),O=cv(O,S.visibleRange.start,e.isDateUnavailable),!!O))if(!m)$(O);else{let J=Bu(m,O);f({start:dv(J.start,d==null?void 0:d.start),end:dv(J.end,d==null?void 0:d.end)}),$(null)}},[E,K]=c.useState(!1),{isDateUnavailable:I}=e,k=c.useMemo(()=>!d||m?!1:I&&(I(d.start)||I(d.end))?!0:Br(d.start,l,s)||Br(d.end,l,s),[I,d,m,l,s]),j=e.validationState||(k?"invalid":null);return{...S,value:d,setValue:f,anchorDate:m,setAnchorDate:$,highlightedRange:C,validationState:j,selectFocusedDate(){N(S.focusedDate)},selectDate:N,highlightDate(O){m&&S.setFocusedDate(O)},isSelected(O){return C&&O.compare(C.start)>=0&&O.compare(C.end)<=0&&!S.isCellDisabled(O)&&!S.isCellUnavailable(O)},isInvalid(O){var J,V;return S.isInvalid(O)||Br(O,(J=b.current)===null||J===void 0?void 0:J.start,(V=b.current)===null||V===void 0?void 0:V.end)},isDragging:E,setDragging:K}}function Bu(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:_t(e),end:_t(t)})}function dv(e,t){return e=ze(e,(t==null?void 0:t.calendar)||new at),t&&"hour"in t?t.set(e):e}function fv(e,t,n){let r=e.add({days:n});for(;(n<0?r.compare(t.visibleRange.start)>=0:r.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(r);)r=r.add({days:n});return t.isCellUnavailable(r)?r.add({days:-n}):null}const t2=F.default(Be)`
1288
1288
  font-family: ${p.font_family_pingo} !important;
1289
1289
  color: ${p.color_black} !important;
1290
1290
  font-weight: ${p.font_weight_100};
1291
1291
  background-color: ${p.color_white};
1292
- `;function n2({timeZone:e,...t}){const{locale:n}=ot(),r=t.width??"fit-content",o=t.maxDays??6,a=Ho(e),i=e2({...t,visibleDuration:{months:2},locale:n,createCalendar:Pb,defaultFocusedValue:a}),l=c.useRef(null),{calendarProps:s,prevButtonProps:u,nextButtonProps:d}=K8(t,i,l);return ee(t2,{width:r,p:p.spacing_100,...s,ref:l,children:[w(sv,{state:i,calendarProps:s,prevButtonProps:u,nextButtonProps:d}),ee(ht,{gap:p.spacing_400,justifyContent:"space-between",children:[w(al,{state:i,timeZone:e,isDateUnavailable:t.isDateUnavailable,maxDays:o}),w(al,{state:i,offset:{months:1},timeZone:e,isDateUnavailable:t.isDateUnavailable,maxDays:o})]})]})}const pv=F.default(kr)`
1292
+ `;function n2({timeZone:e,...t}){const{locale:n}=ot(),r=t.width??"fit-content",o=t.maxDays??6,a=Ho(e),i=e2({...t,visibleDuration:{months:2},locale:n,createCalendar:Pb,defaultFocusedValue:a}),l=c.useRef(null),{calendarProps:s,prevButtonProps:u,nextButtonProps:d}=K8(t,i,l);return Q(t2,{width:r,p:p.spacing_100,...s,ref:l,children:[w(sv,{state:i,calendarProps:s,prevButtonProps:u,nextButtonProps:d}),Q(ht,{gap:p.spacing_400,justifyContent:"space-between",children:[w(al,{state:i,timeZone:e,isDateUnavailable:t.isDateUnavailable,maxDays:o}),w(al,{state:i,offset:{months:1},timeZone:e,isDateUnavailable:t.isDateUnavailable,maxDays:o})]})]})}const pv=F.default(kr)`
1293
1293
  display: grid;
1294
1294
  place-content: center;
1295
1295
  border-radius: ${p.border_radius_400};
@@ -1305,7 +1305,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1305
1305
  line-height: 1;
1306
1306
  font-size: ${p.font_size_deprecated_200};
1307
1307
  }
1308
- `,ia=c.forwardRef((e,t)=>{const{direction:n,label:r=n==="left"?"Previous":"Next",...o}=e,a=n==="left"?w(we.NavigateBefore,{}):w(we.NavigateNext,{});return w(pv,{variant:"inverse",emphasis:"high",ref:t,...o,children:w(vo,{label:r,children:a})})});ia.displayName="PaginatorButton";const r2=F.default(pv)`
1308
+ `,ia=c.forwardRef((e,t)=>{const{direction:n,label:r=n==="left"?"Previous":"Next",...o}=e,a=n==="left"?w(Ee.NavigateBefore,{}):w(Ee.NavigateNext,{});return w(pv,{variant:"inverse",emphasis:"high",ref:t,...o,children:w(vo,{label:r,children:a})})});ia.displayName="PaginatorButton";const r2=F.default(pv)`
1309
1309
  &[aria-current='true'] {
1310
1310
  background-color: ${p.color_deprecated_overlay_secondary_selected_enabled};
1311
1311
  }
@@ -1313,7 +1313,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1313
1313
  display: flex;
1314
1314
  gap: 4px;
1315
1315
  width: min-content;
1316
- `;function a2({nrOfPages:e,currentPage:t,onPrevious:n,onClick:r,onNext:o,className:a,ariaLabel:i="Pagination Navigation",displayAtMost:l=6}){const s=Array.from({length:e},(g,h)=>h);let u=s;const d=l-1;if(e>d){const h=e-1;if(t>e-d)u=[0,-1,...s.slice(-d)];else if(t+1<d)u=[...s.slice(0,d),-1,h];else{const b=Math.round(l/2);u=[0,-1,...u.slice(t-b,t),t,...u.slice(t+1,t+b+1),-1,h]}}const f=t===0,m=t===e-1;return ee(o2,{"aria-label":i,className:a,children:[w(ia,{direction:"left",label:"Previous",disabled:f,onClick:f?void 0:n}),u.map((g,h)=>g>-1?w(ll,{"aria-current":g===t,"aria-label":`Page ${g+1}`,onClick:()=>r(g),children:g+1},`${g}-${h}`):w(ll,{as:"span",children:"..."},`${g}-${h}`)),w(ia,{direction:"right",label:"Next",title:"next",disabled:m,onClick:m?void 0:o})]})}const i2=F.default.div`
1316
+ `;function a2({nrOfPages:e,currentPage:t,onPrevious:n,onClick:r,onNext:o,className:a,ariaLabel:i="Pagination Navigation",displayAtMost:l=6}){const s=Array.from({length:e},(g,h)=>h);let u=s;const d=l-1;if(e>d){const h=e-1;if(t>e-d)u=[0,-1,...s.slice(-d)];else if(t+1<d)u=[...s.slice(0,d),-1,h];else{const b=Math.round(l/2);u=[0,-1,...u.slice(t-b,t),t,...u.slice(t+1,t+b+1),-1,h]}}const f=t===0,m=t===e-1;return Q(o2,{"aria-label":i,className:a,children:[w(ia,{direction:"left",label:"Previous",disabled:f,onClick:f?void 0:n}),u.map((g,h)=>g>-1?w(ll,{"aria-current":g===t,"aria-label":`Page ${g+1}`,onClick:()=>r(g),children:g+1},`${g}-${h}`):w(ll,{as:"span",children:"..."},`${g}-${h}`)),w(ia,{direction:"right",label:"Next",title:"next",disabled:m,onClick:m?void 0:o})]})}const i2=F.default.div`
1317
1317
  font-family: ${p.font_family_pingo} !important;
1318
1318
  color: ${p.color_black} !important;
1319
1319
  font-weight: ${p.font_weight_300};
@@ -1341,7 +1341,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1341
1341
  font-family: ${p.font_family_pingo};
1342
1342
  font-weight: ${p.font_weight_300};
1343
1343
  }
1344
- `,ju=D.default.forwardRef(({timeZone:e,onPrev:t,onNext:n,...r},o)=>{const{locale:a}=ot(),i=uv({locale:a,createCalendar:Pb,...r}),{calendarProps:l,prevButtonProps:s,nextButtonProps:u,title:d}=R8(r,i);return ee(i2,{...l,ref:o,children:[ee(l2,{children:[w(gv,{label:"left",direction:"left",disabled:s.isDisabled,"aria-label":s["aria-label"],onClick:()=>{r.focusedValue?t==null||t():i.focusPreviousPage()}}),w(s2,{children:d}),w(gv,{label:"right",direction:"right",disabled:u.isDisabled,"aria-label":u["aria-label"],onClick:()=>{r.focusedValue?n==null||n():i.focusNextPage()}})]}),w(al,{state:i,timeZone:e,single:!0})]})});ju.displayName="Calendar";const c2=se.css`
1344
+ `,ju=D.default.forwardRef(({timeZone:e,onPrev:t,onNext:n,...r},o)=>{const{locale:a}=ot(),i=uv({locale:a,createCalendar:Pb,...r}),{calendarProps:l,prevButtonProps:s,nextButtonProps:u,title:d}=R8(r,i);return Q(i2,{...l,ref:o,children:[Q(l2,{children:[w(gv,{label:"left",direction:"left",disabled:s.isDisabled,"aria-label":s["aria-label"],onClick:()=>{r.focusedValue?t==null||t():i.focusPreviousPage()}}),w(s2,{children:d}),w(gv,{label:"right",direction:"right",disabled:u.isDisabled,"aria-label":u["aria-label"],onClick:()=>{r.focusedValue?n==null||n():i.focusNextPage()}})]}),w(al,{state:i,timeZone:e,single:!0})]})});ju.displayName="Calendar";const c2=se.css`
1345
1345
  position: absolute;
1346
1346
  width: 1px;
1347
1347
  height: 1px;
@@ -1387,7 +1387,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1387
1387
  `,g2=F.default(la)`
1388
1388
  font-size: ${p.font_size_225};
1389
1389
  line-height: ${p.font_size_250};
1390
- `,m2={xsmall:u2,small:d2,medium:f2,large:p2,xlarge:g2};function Re({children:e,bold:t,size:n="medium",display:r="inline-flex",flexDirection:o="row",pointer:a=!1,srOnly:i,style:l,color:s,...u}){const d=m2[n],f=t?500:300;return w(d,{as:"label",...u,$srOnly:i,style:{...l},$color:s,$pointer:a,display:r,flexDirection:o,fontWeight:f,children:e})}function h2(e,t,n){let{validationBehavior:r,focus:o}=e;Te(()=>{if(r==="native"&&(n!=null&&n.current)){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(s),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(v2(n.current))}});let a=Ce(()=>{t.resetValidation()}),i=Ce(s=>{var u;t.displayValidation.isInvalid||t.commitValidation();let d=n==null||(u=n.current)===null||u===void 0?void 0:u.form;if(!s.defaultPrevented&&n&&d&&y2(d)===n.current){var f;o?o():(f=n.current)===null||f===void 0||f.focus(),Kc("keyboard")}s.preventDefault()}),l=Ce(()=>{t.commitValidation()});c.useEffect(()=>{let s=n==null?void 0:n.current;if(!s)return;let u=s.form;return s.addEventListener("invalid",i),s.addEventListener("change",l),u==null||u.addEventListener("reset",a),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),u==null||u.removeEventListener("reset",a)}},[n,i,l,a,r])}function b2(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function v2(e){return{isInvalid:!e.validity.valid,validationDetails:b2(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function y2(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}const mv={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},hv={...mv,customError:!0,valid:!1},sa={isInvalid:!1,validationDetails:mv,validationErrors:[]},$2=c.createContext({}),bv="__formValidationState"+Date.now();function vv(e){if(e[bv]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}=e[bv];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}}return _2(e)}function _2(e){let{isInvalid:t,validationState:n,name:r,value:o,builtinValidation:a,validate:i,validationBehavior:l="aria"}=e;n&&(t||(t=n==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:hv}:null,u=c.useMemo(()=>yv(x2(i,o)),[i,o]);a!=null&&a.validationDetails.valid&&(a=null);let d=c.useContext($2),f=c.useMemo(()=>r?Array.isArray(r)?r.flatMap(z=>Uu(d[z])):Uu(d[r]):[],[d,r]),[m,g]=c.useState(d),[h,b]=c.useState(!1);d!==m&&(g(d),b(!1));let v=c.useMemo(()=>yv(h?[]:f),[h,f]),_=c.useRef(sa),[y,x]=c.useState(sa),S=c.useRef(sa),T=()=>{if(!P)return;M(!1);let z=u||a||_.current;Wu(z,S.current)||(S.current=z,x(z))},[P,M]=c.useState(!1);return c.useEffect(T),{realtimeValidation:s||v||u||a||sa,displayValidation:l==="native"?s||v||y:s||v||u||a||y,updateValidation(z){l==="aria"&&!Wu(y,z)?x(z):_.current=z},resetValidation(){let z=sa;Wu(z,S.current)||(S.current=z,x(z)),l==="native"&&M(!1),b(!0)},commitValidation(){l==="native"&&M(!0),b(!0)}}}function Uu(e){return e?Array.isArray(e)?e:[e]:[]}function x2(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return Uu(n)}return[]}function yv(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:hv}:null}function Wu(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((n,r)=>n===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([n,r])=>t.validationDetails[n]===r)}function w2(e,t,n){let{isDisabled:r=!1,isReadOnly:o=!1,value:a,name:i,children:l,"aria-label":s,"aria-labelledby":u,validationState:d="valid",isInvalid:f}=e,m=P=>{P.stopPropagation(),t.setSelected(P.target.checked)},g=l!=null,h=s!=null||u!=null;!g&&!h&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:b,isPressed:v}=Pr({isDisabled:r}),{pressProps:_,isPressed:y}=Pr({isDisabled:r||o,onPress(){t.toggle()}}),{focusableProps:x}=Xc(e,n),S=ge(b,x),T=$n(e,{labelable:!0});return J7(n,t.isSelected,t.setSelected),{labelProps:ge(_,{onClick:P=>P.preventDefault()}),inputProps:ge(T,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:m,disabled:r,...a==null?{}:{value:a},name:i,type:"checkbox",...S}),isSelected:t.isSelected,isPressed:v||y,isDisabled:r,isReadOnly:o,isInvalid:f||d==="invalid"}}function $v(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:a="label"}=e;t=ct(t);let i=ct(),l={};n?(r=r?`${i} ${r}`:i,l={id:i,htmlFor:a==="label"?t:void 0}):!r&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=Er({id:t,"aria-label":o,"aria-labelledby":r});return{labelProps:l,fieldProps:s}}function sl(e){let{description:t,errorMessage:n,isInvalid:r,validationState:o}=e,{labelProps:a,fieldProps:i}=$v(e),l=Oo([!!t,!!n,r,o]),s=Oo([!!t,!!n,r,o]);return i=ge(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function E2(e={}){let{isReadOnly:t}=e,[n,r]=Mt(e.isSelected,e.defaultSelected||!1,e.onChange);function o(i){t||r(i)}function a(){t||r(!n)}return{isSelected:n,setSelected:o,toggle:a}}function S2(e,t,n){let r=vv({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:i}=r.displayValidation,{labelProps:l,inputProps:s,isSelected:u,isPressed:d,isDisabled:f,isReadOnly:m}=w2({...e,isInvalid:o},t,n);h2(e,r,n);let{isIndeterminate:g,isRequired:h,validationBehavior:b="aria"}=e;return c.useEffect(()=>{n.current&&(n.current.indeterminate=!!g)}),{labelProps:l,inputProps:{...s,checked:u,"aria-required":h&&b==="aria"||void 0,required:h&&b==="native"},isSelected:u,isPressed:d,isDisabled:f,isReadOnly:m,isInvalid:o,validationErrors:a,validationDetails:i}}function jr(e){return e.split("-")[1]}function Hu(e){return e==="y"?"height":"width"}function an(e){return e.split("-")[0]}function nr(e){return["top","bottom"].includes(an(e))?"x":"y"}function _v(e,t,n){let{reference:r,floating:o}=e;const a=r.x+r.width/2-o.width/2,i=r.y+r.height/2-o.height/2,l=nr(t),s=Hu(l),u=r[s]/2-o[s]/2,d=l==="x";let f;switch(an(t)){case"top":f={x:a,y:r.y-o.height};break;case"bottom":f={x:a,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:i};break;case"left":f={x:r.x-o.width,y:i};break;default:f={x:r.x,y:r.y}}switch(jr(t)){case"start":f[l]-=u*(n&&d?-1:1);break;case"end":f[l]+=u*(n&&d?-1:1)}return f}const D2=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),s=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=_v(u,r,s),m=r,g={},h=0;for(let b=0;b<l.length;b++){const{name:v,fn:_}=l[b],{x:y,y:x,data:S,reset:T}=await _({x:d,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:g,rects:u,platform:i,elements:{reference:e,floating:t}});d=y??d,f=x??f,g={...g,[v]:{...g[v],...S}},T&&h<=50&&(h++,typeof T=="object"&&(T.placement&&(m=T.placement),T.rects&&(u=T.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:d,y:f}=_v(u,m,s)),b=-1)}return{x:d,y:f,placement:m,strategy:o,middlewareData:g}};function ln(e,t){return typeof e=="function"?e(t):e}function xv(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 cl(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function ca(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:g=0}=ln(t,e),h=xv(g),b=l[m?f==="floating"?"reference":"floating":f],v=cl(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(b)))==null||n?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:s})),_=f==="floating"?{...i.floating,x:r,y:o}:i.reference,y=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),x=await(a.isElement==null?void 0:a.isElement(y))&&await(a.getScale==null?void 0:a.getScale(y))||{x:1,y:1},S=cl(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:y,strategy:s}):_);return{top:(v.top-S.top+h.top)/x.y,bottom:(S.bottom-v.bottom+h.bottom)/x.y,left:(v.left-S.left+h.left)/x.x,right:(S.right-v.right+h.right)/x.x}}const ua=Math.min,rr=Math.max;function Gu(e,t,n){return rr(e,ua(t,n))}const wv=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:l}=t,{element:s,padding:u=0}=ln(e,t)||{};if(s==null)return{};const d=xv(u),f={x:n,y:r},m=nr(o),g=Hu(m),h=await i.getDimensions(s),b=m==="y",v=b?"top":"left",_=b?"bottom":"right",y=b?"clientHeight":"clientWidth",x=a.reference[g]+a.reference[m]-f[m]-a.floating[g],S=f[m]-a.reference[m],T=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s));let P=T?T[y]:0;P&&await(i.isElement==null?void 0:i.isElement(T))||(P=l.floating[y]||a.floating[g]);const M=x/2-S/2,$=P/2-h[g]/2-1,C=ua(d[v],$),z=ua(d[_],$),E=C,K=P-h[g]-z,I=P/2-h[g]/2+M,k=Gu(E,I,K),j=jr(o)!=null&&I!=k&&a.reference[g]/2-(I<E?C:z)-h[g]/2<0?I<E?E-I:K-I:0;return{[m]:f[m]-j,data:{[m]:k,centerOffset:I-k+j}}}}),Ev=["top","right","bottom","left"];Ev.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const P2={left:"right",right:"left",bottom:"top",top:"bottom"};function ul(e){return e.replace(/left|right|bottom|top/g,t=>P2[t])}function T2(e,t,n){n===void 0&&(n=!1);const r=jr(e),o=nr(e),a=Hu(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=ul(i)),{main:i,cross:ul(i)}}const k2={start:"end",end:"start"};function Yu(e){return e.replace(/start|end/g,t=>k2[t])}const C2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:a,initialPlacement:i,platform:l,elements:s}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...b}=ln(e,t),v=an(r),_=an(i)===i,y=await(l.isRTL==null?void 0:l.isRTL(s.floating)),x=f||(_||!h?[ul(i)]:function(E){const K=ul(E);return[Yu(E),K,Yu(K)]}(i));f||g==="none"||x.push(...function(E,K,I,k){const j=jr(E);let O=function(Z,V,q){const B=["left","right"],U=["right","left"],W=["top","bottom"],R=["bottom","top"];switch(Z){case"top":case"bottom":return q?V?U:B:V?B:U;case"left":case"right":return V?W:R;default:return[]}}(an(E),I==="start",k);return j&&(O=O.map(Z=>Z+"-"+j),K&&(O=O.concat(O.map(Yu)))),O}(i,h,g,y));const S=[i,...x],T=await ca(t,b),P=[];let M=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&P.push(T[v]),d){const{main:E,cross:K}=T2(r,a,y);P.push(T[E],T[K])}if(M=[...M,{placement:r,overflows:P}],!P.every(E=>E<=0)){var $,C;const E=((($=o.flip)==null?void 0:$.index)||0)+1,K=S[E];if(K)return{data:{index:E,overflows:M},reset:{placement:K}};let I=(C=M.filter(k=>k.overflows[0]<=0).sort((k,j)=>k.overflows[1]-j.overflows[1])[0])==null?void 0:C.placement;if(!I)switch(m){case"bestFit":{var z;const k=(z=M.map(j=>[j.placement,j.overflows.filter(O=>O>0).reduce((O,Z)=>O+Z,0)]).sort((j,O)=>j[1]-O[1])[0])==null?void 0:z[0];k&&(I=k);break}case"initialPlacement":I=i}if(r!==I)return{reset:{placement:I}}}return{}}}};function Sv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Dv(e){return Ev.some(t=>e[t]>=0)}const A2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ln(e,t);switch(r){case"referenceHidden":{const a=Sv(await ca(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Dv(a)}}}case"escaped":{const a=Sv(await ca(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:a,escaped:Dv(a)}}}default:return{}}}}},I2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(a,i){const{placement:l,platform:s,elements:u}=a,d=await(s.isRTL==null?void 0:s.isRTL(u.floating)),f=an(l),m=jr(l),g=nr(l)==="x",h=["left","top"].includes(f)?-1:1,b=d&&g?-1:1,v=ln(i,a);let{mainAxis:_,crossAxis:y,alignmentAxis:x}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return m&&typeof x=="number"&&(y=m==="end"?-1*x:x),g?{x:y*b,y:_*h}:{x:_*h,y:y*b}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function Pv(e){return e==="x"?"y":"x"}const O2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:v=>{let{x:_,y}=v;return{x:_,y}}},...s}=ln(e,t),u={x:n,y:r},d=await ca(t,s),f=nr(an(o)),m=Pv(f);let g=u[f],h=u[m];if(a){const v=f==="y"?"bottom":"right";g=Gu(g+d[f==="y"?"top":"left"],g,g-d[v])}if(i){const v=m==="y"?"bottom":"right";h=Gu(h+d[m==="y"?"top":"left"],h,h-d[v])}const b=l.fn({...t,[f]:g,[m]:h});return{...b,data:{x:b.x-n,y:b.y-r}}}}},M2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=ln(e,t),d={x:n,y:r},f=nr(o),m=Pv(f);let g=d[f],h=d[m];const b=ln(l,t),v=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(s){const x=f==="y"?"height":"width",S=a.reference[f]-a.floating[x]+v.mainAxis,T=a.reference[f]+a.reference[x]-v.mainAxis;g<S?g=S:g>T&&(g=T)}if(u){var _,y;const x=f==="y"?"width":"height",S=["top","left"].includes(an(o)),T=a.reference[m]-a.floating[x]+(S&&((_=i.offset)==null?void 0:_[m])||0)+(S?0:v.crossAxis),P=a.reference[m]+a.reference[x]+(S?0:((y=i.offset)==null?void 0:y[m])||0)-(S?v.crossAxis:0);h<T?h=T:h>P&&(h=P)}return{[f]:g,[m]:h}}}},F2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:a}=t,{apply:i=()=>{},...l}=ln(e,t),s=await ca(t,l),u=an(n),d=jr(n),f=nr(n)==="x",{width:m,height:g}=r.floating;let h,b;u==="top"||u==="bottom"?(h=u,b=d===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(b=u,h=d==="end"?"top":"bottom");const v=g-s[h],_=m-s[b],y=!t.middlewareData.shift;let x=v,S=_;if(f){const P=m-s.left-s.right;S=d||y?ua(_,P):P}else{const P=g-s.top-s.bottom;x=d||y?ua(v,P):P}if(y&&!d){const P=rr(s.left,0),M=rr(s.right,0),$=rr(s.top,0),C=rr(s.bottom,0);f?S=m-2*(P!==0||M!==0?P+M:rr(s.left,s.right)):x=g-2*($!==0||C!==0?$+C:rr(s.top,s.bottom))}await i({...t,availableWidth:S,availableHeight:x});const T=await o.getDimensions(a.floating);return m!==T.width||g!==T.height?{reset:{rects:!0}}:{}}}};function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Lt(e){return it(e).getComputedStyle(e)}function Tv(e){return e instanceof it(e).Node}function Pn(e){return Tv(e)?(e.nodeName||"").toLowerCase():"#document"}function xt(e){return e instanceof HTMLElement||e instanceof it(e).HTMLElement}function kv(e){return typeof ShadowRoot<"u"&&(e instanceof it(e).ShadowRoot||e instanceof ShadowRoot)}function da(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Lt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function L2(e){return["table","td","th"].includes(Pn(e))}function qu(e){const t=Xu(),n=Lt(e);return n.transform!=="none"||n.perspective!=="none"||!!n.containerType&&n.containerType!=="normal"||!t&&!!n.backdropFilter&&n.backdropFilter!=="none"||!t&&!!n.filter&&n.filter!=="none"||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Xu(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function dl(e){return["html","body","#document"].includes(Pn(e))}const Ju=Math.min,Ur=Math.max,fl=Math.round,pl=Math.floor,Tn=e=>({x:e,y:e});function Cv(e){const t=Lt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=xt(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=fl(n)!==a||fl(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function sn(e){return e instanceof Element||e instanceof it(e).Element}function Zu(e){return sn(e)?e:e.contextElement}function Wr(e){const t=Zu(e);if(!xt(t))return Tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Cv(t);let i=(a?fl(n.width):n.width)/r,l=(a?fl(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const N2=Tn(0);function Av(e){const t=it(e);return Xu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:N2}function or(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Zu(e);let i=Tn(1);t&&(r?sn(r)&&(i=Wr(r)):i=Wr(e));const l=function(m,g,h){return g===void 0&&(g=!1),!(!h||g&&h!==it(m))&&g}(a,n,r)?Av(a):Tn(0);let s=(o.left+l.x)/i.x,u=(o.top+l.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(a){const m=it(a),g=r&&sn(r)?it(r):r;let h=m.frameElement;for(;h&&r&&g!==m;){const b=Wr(h),v=h.getBoundingClientRect(),_=getComputedStyle(h),y=v.left+(h.clientLeft+parseFloat(_.paddingLeft))*b.x,x=v.top+(h.clientTop+parseFloat(_.paddingTop))*b.y;s*=b.x,u*=b.y,d*=b.x,f*=b.y,s+=y,u+=x,h=it(h).frameElement}}return cl({width:d,height:f,x:s,y:u})}function gl(e){return sn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function cn(e){var t;return(t=(Tv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Iv(e){return or(cn(e)).left+gl(e).scrollLeft}function Hr(e){if(Pn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kv(e)&&e.host||cn(e);return kv(t)?t.host:t}function Ov(e){const t=Hr(e);return dl(t)?e.ownerDocument?e.ownerDocument.body:e.body:xt(t)&&da(t)?t:Ov(t)}function ml(e,t){var n;t===void 0&&(t=[]);const r=Ov(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=it(r);return o?t.concat(a,a.visualViewport||[],da(r)?r:[]):t.concat(r,ml(r))}function Mv(e,t,n){let r;if(t==="viewport")r=function(o,a){const i=it(o),l=cn(o),s=i.visualViewport;let u=l.clientWidth,d=l.clientHeight,f=0,m=0;if(s){u=s.width,d=s.height;const g=Xu();(!g||g&&a==="fixed")&&(f=s.offsetLeft,m=s.offsetTop)}return{width:u,height:d,x:f,y:m}}(e,n);else if(t==="document")r=function(o){const a=cn(o),i=gl(o),l=o.ownerDocument.body,s=Ur(a.scrollWidth,a.clientWidth,l.scrollWidth,l.clientWidth),u=Ur(a.scrollHeight,a.clientHeight,l.scrollHeight,l.clientHeight);let d=-i.scrollLeft+Iv(o);const f=-i.scrollTop;return Lt(l).direction==="rtl"&&(d+=Ur(a.clientWidth,l.clientWidth)-s),{width:s,height:u,x:d,y:f}}(cn(e));else if(sn(t))r=function(o,a){const i=or(o,!0,a==="fixed"),l=i.top+o.clientTop,s=i.left+o.clientLeft,u=xt(o)?Wr(o):Tn(1);return{width:o.clientWidth*u.x,height:o.clientHeight*u.y,x:s*u.x,y:l*u.y}}(t,n);else{const o=Av(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return cl(r)}function Fv(e,t){const n=Hr(e);return!(n===t||!sn(n)||dl(n))&&(Lt(n).position==="fixed"||Fv(n,t))}function z2(e,t,n){const r=xt(t),o=cn(t),a=n==="fixed",i=or(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=Tn(0);if(r||!r&&!a)if((Pn(t)!=="body"||da(o))&&(l=gl(t)),xt(t)){const u=or(t,!0,a,t);s.x=u.x+t.clientLeft,s.y=u.y+t.clientTop}else o&&(s.x=Iv(o));return{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Lv(e,t){return xt(e)&&Lt(e).position!=="fixed"?t?t(e):e.offsetParent:null}function Nv(e,t){const n=it(e);if(!xt(e))return n;let r=Lv(e,t);for(;r&&L2(r)&&Lt(r).position==="static";)r=Lv(r,t);return r&&(Pn(r)==="html"||Pn(r)==="body"&&Lt(r).position==="static"&&!qu(r))?n:r||function(o){let a=Hr(o);for(;xt(a)&&!dl(a);){if(qu(a))return a;a=Hr(a)}return null}(e)||n}const R2={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=xt(n),a=cn(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},l=Tn(1);const s=Tn(0);if((o||!o&&r!=="fixed")&&((Pn(n)!=="body"||da(a))&&(i=gl(n)),xt(n))){const u=or(n);l=Wr(n),s.x=u.x+n.clientLeft,s.y=u.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-i.scrollLeft*l.x+s.x,y:t.y*l.y-i.scrollTop*l.y+s.y}},getDocumentElement:cn,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?function(s,u){const d=u.get(s);if(d)return d;let f=ml(s).filter(b=>sn(b)&&Pn(b)!=="body"),m=null;const g=Lt(s).position==="fixed";let h=g?Hr(s):s;for(;sn(h)&&!dl(h);){const b=Lt(h),v=qu(h);v||b.position!=="fixed"||(m=null),(g?!v&&!m:!v&&b.position==="static"&&m&&["absolute","fixed"].includes(m.position)||da(h)&&!v&&Fv(s,h))?f=f.filter(_=>_!==h):m=b,h=Hr(h)}return u.set(s,f),f}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((s,u)=>{const d=Mv(t,u,o);return s.top=Ur(d.top,s.top),s.right=Ju(d.right,s.right),s.bottom=Ju(d.bottom,s.bottom),s.left=Ur(d.left,s.left),s},Mv(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Nv,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Nv,a=this.getDimensions;return{reference:z2(t,await o(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Cv(e)},getScale:Wr,isElement:sn,isRTL:function(e){return getComputedStyle(e).direction==="rtl"}};function K2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=Zu(e),d=o||a?[...u?ml(u):[],...ml(t)]:[];d.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),a&&v.addEventListener("resize",n)});const f=u&&l?function(v,_){let y,x=null;const S=cn(v);function T(){clearTimeout(y),x&&x.disconnect(),x=null}return function P(M,$){M===void 0&&(M=!1),$===void 0&&($=1),T();const{left:C,top:z,width:E,height:K}=v.getBoundingClientRect();if(M||_(),!E||!K)return;const I={rootMargin:-pl(z)+"px "+-pl(S.clientWidth-(C+E))+"px "+-pl(S.clientHeight-(z+K))+"px "+-pl(C)+"px",threshold:Ur(0,Ju(1,$))||1};let k=!0;function j(O){const Z=O[0].intersectionRatio;if(Z!==$){if(!k)return P();Z?P(!1,Z):y=setTimeout(()=>{P(!1,1e-7)},100)}k=!1}try{x=new IntersectionObserver(j,{...I,root:S.ownerDocument})}catch{x=new IntersectionObserver(j,I)}x.observe(v)}(!0),T}(u,n):null;let m,g=-1,h=null;i&&(h=new ResizeObserver(v=>{let[_]=v;_&&_.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{h&&h.observe(t)})),n()}),u&&!s&&h.observe(u),h.observe(t));let b=s?or(e):null;return s&&function v(){const _=or(e);!b||_.x===b.x&&_.y===b.y&&_.width===b.width&&_.height===b.height||n(),b=_,m=requestAnimationFrame(v)}(),n(),()=>{d.forEach(v=>{o&&v.removeEventListener("scroll",n),a&&v.removeEventListener("resize",n)}),f&&f(),h&&h.disconnect(),h=null,s&&cancelAnimationFrame(m)}}const V2=(e,t,n)=>{const r=new Map,o={platform:R2,...n},a={...o.platform,_c:r};return D2(e,t,{...o,platform:a})},B2=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?wv({element:r.current,padding:o}).fn(n):{}:r?wv({element:r,padding:o}).fn(n):{}}}};var hl=typeof document<"u"?c.useLayoutEffect:c.useEffect;function bl(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 n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!bl(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!bl(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function zv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Rv(e,t){const n=zv(e);return Math.round(t*n)/n}function Kv(e){const t=D.useRef(e);return hl(()=>{t.current=e}),t}function j2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:s,open:u}=e,[d,f]=D.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=D.useState(r);bl(m,r)||g(r);const[h,b]=D.useState(null),[v,_]=D.useState(null),y=D.useCallback(O=>{O!=P.current&&(P.current=O,b(O))},[b]),x=D.useCallback(O=>{O!==M.current&&(M.current=O,_(O))},[_]),S=a||h,T=i||v,P=D.useRef(null),M=D.useRef(null),$=D.useRef(d),C=Kv(s),z=Kv(o),E=D.useCallback(()=>{if(!P.current||!M.current)return;const O={placement:t,strategy:n,middleware:m};z.current&&(O.platform=z.current),V2(P.current,M.current,O).then(Z=>{const V={...Z,isPositioned:!0};K.current&&!bl($.current,V)&&($.current=V,Kt.flushSync(()=>{f(V)}))})},[m,t,n,z]);hl(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,f(O=>({...O,isPositioned:!1})))},[u]);const K=D.useRef(!1);hl(()=>(K.current=!0,()=>{K.current=!1}),[]),hl(()=>{if(S&&(P.current=S),T&&(M.current=T),S&&T){if(C.current)return C.current(S,T,E);E()}},[S,T,E,C]);const I=D.useMemo(()=>({reference:P,floating:M,setReference:y,setFloating:x}),[y,x]),k=D.useMemo(()=>({reference:S,floating:T}),[S,T]),j=D.useMemo(()=>{const O={position:n,left:0,top:0};if(!k.floating)return O;const Z=Rv(k.floating,d.x),V=Rv(k.floating,d.y);return l?{...O,transform:"translate("+Z+"px, "+V+"px)",...zv(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Z,top:V}},[n,l,k.floating,d.x,d.y]);return D.useMemo(()=>({...d,update:E,refs:I,elements:k,floatingStyles:j}),[d,E,I,k,j])}const U2=c.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return c.createElement(ce.svg,L({},a,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:c.createElement("polygon",{points:"0,0 30,0 15,10"}))});function Qu(e){const[t,n]=c.useState(void 0);return pn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,l;if("borderBoxSize"in a){const s=a.borderBoxSize,u=Array.isArray(s)?s[0]:s;i=u.inlineSize,l=u.blockSize}else i=e.offsetWidth,l=e.offsetHeight;n({width:i,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Vv="Popper",[Bv,Gr]=Ke(Vv),[W2,jv]=Bv(Vv),H2=e=>{const{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return c.createElement(W2,{scope:t,anchor:r,onAnchorChange:o},n)},G2="PopperAnchor",Y2=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=jv(G2,n),i=c.useRef(null),l=$e(t,i);return c.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:c.createElement(ce.div,L({},o,{ref:l}))}),Uv="PopperContent",[q2,X2]=Bv(Uv),J2=c.forwardRef((e,t)=>{var n,r,o,a,i,l,s,u;const{__scopePopper:d,side:f="bottom",sideOffset:m=0,align:g="center",alignOffset:h=0,arrowPadding:b=0,collisionBoundary:v=[],collisionPadding:_=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:S=!0,onPlaced:T,...P}=e,M=jv(Uv,d),[$,C]=c.useState(null),z=$e(t,De=>C(De)),[E,K]=c.useState(null),I=Qu(E),k=(n=I==null?void 0:I.width)!==null&&n!==void 0?n:0,j=(r=I==null?void 0:I.height)!==null&&r!==void 0?r:0,O=f+(g!=="center"?"-"+g:""),Z=typeof _=="number"?_:{top:0,right:0,bottom:0,left:0,..._},V=Array.isArray(v)?v:[v],q=V.length>0,B={padding:Z,boundary:V.filter(t9),altBoundary:q},{refs:U,floatingStyles:W,placement:R,isPositioned:G,middlewareData:te}=j2({strategy:"fixed",placement:O,whileElementsMounted:K2,elements:{reference:M.anchor},middleware:[I2({mainAxis:m+j,alignmentAxis:h}),S&&O2({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?M2():void 0,...B}),S&&C2({...B}),F2({...B,apply:({elements:De,rects:Mn,availableWidth:Fn,availableHeight:co})=>{const{width:uo,height:un}=Mn.reference,Rt=De.floating.style;Rt.setProperty("--radix-popper-available-width",`${Fn}px`),Rt.setProperty("--radix-popper-available-height",`${co}px`),Rt.setProperty("--radix-popper-anchor-width",`${uo}px`),Rt.setProperty("--radix-popper-anchor-height",`${un}px`)}}),E&&B2({element:E,padding:b}),n9({arrowWidth:k,arrowHeight:j}),x&&A2({strategy:"referenceHidden"})]}),[ne,X]=Wv(R),H=je(T);pn(()=>{G&&(H==null||H())},[G,H]);const J=(o=te.arrow)===null||o===void 0?void 0:o.x,ie=(a=te.arrow)===null||a===void 0?void 0:a.y,me=((i=te.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[le,fe]=c.useState();return pn(()=>{$&&fe(window.getComputedStyle($).zIndex)},[$]),c.createElement("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:G?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(l=te.transformOrigin)===null||l===void 0?void 0:l.x,(s=te.transformOrigin)===null||s===void 0?void 0:s.y].join(" ")},dir:e.dir},c.createElement(q2,{scope:d,placedSide:ne,onArrowChange:K,arrowX:J,arrowY:ie,shouldHideArrow:me},c.createElement(ce.div,L({"data-side":ne,"data-align":X},P,{ref:z,style:{...P.style,animation:G?void 0:"none",opacity:(u=te.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),Z2="PopperArrow",Q2={top:"bottom",right:"left",bottom:"top",left:"right"},e9=c.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=X2(Z2,r),i=Q2[a.placedSide];return c.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},c.createElement(U2,L({},o,{ref:n,style:{...o.style,display:"block"}})))});function t9(e){return e!==null}const n9=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;const{placement:l,rects:s,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=f?0:e.arrowWidth,g=f?0:e.arrowHeight,[h,b]=Wv(l),v={start:"0%",center:"50%",end:"100%"}[b],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+m/2,y=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+g/2;let x="",S="";return h==="bottom"?(x=f?v:`${_}px`,S=`${-g}px`):h==="top"?(x=f?v:`${_}px`,S=`${s.floating.height+g}px`):h==="right"?(x=`${-g}px`,S=f?v:`${y}px`):h==="left"&&(x=`${s.floating.width+g}px`,S=f?v:`${y}px`),{data:{x,y:S}}}});function Wv(e){const[t,n="center"]=e.split("-");return[t,n]}const vl=H2,ed=Y2,td=J2,nd=e9,[yl,JV]=Ke("Tooltip",[Gr]),$l=Gr(),r9="TooltipProvider",o9=700,rd="tooltip.open",[a9,od]=yl(r9),i9=e=>{const{__scopeTooltip:t,delayDuration:n=o9,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:a}=e,[i,l]=c.useState(!0),s=c.useRef(!1),u=c.useRef(0);return c.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),c.createElement(a9,{scope:t,isOpenDelayed:i,delayDuration:n,onOpen:c.useCallback(()=>{window.clearTimeout(u.current),l(!1)},[]),onClose:c.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:c.useCallback(d=>{s.current=d},[]),disableHoverableContent:o},a)},ad="Tooltip",[l9,fa]=yl(ad),s9=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:l}=e,s=od(ad,e.__scopeTooltip),u=$l(t),[d,f]=c.useState(null),m=nt(),g=c.useRef(0),h=i??s.disableHoverableContent,b=l??s.delayDuration,v=c.useRef(!1),[_=!1,y]=Ue({prop:r,defaultProp:o,onChange:M=>{M?(s.onOpen(),document.dispatchEvent(new CustomEvent(rd))):s.onClose(),a==null||a(M)}}),x=c.useMemo(()=>_?v.current?"delayed-open":"instant-open":"closed",[_]),S=c.useCallback(()=>{window.clearTimeout(g.current),v.current=!1,y(!0)},[y]),T=c.useCallback(()=>{window.clearTimeout(g.current),y(!1)},[y]),P=c.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{v.current=!0,y(!0)},b)},[b,y]);return c.useEffect(()=>()=>window.clearTimeout(g.current),[]),c.createElement(vl,u,c.createElement(l9,{scope:t,contentId:m,open:_,stateAttribute:x,trigger:d,onTriggerChange:f,onTriggerEnter:c.useCallback(()=>{s.isOpenDelayed?P():S()},[s.isOpenDelayed,P,S]),onTriggerLeave:c.useCallback(()=>{h?T():window.clearTimeout(g.current)},[T,h]),onOpen:S,onClose:T,disableHoverableContent:h},n))},Hv="TooltipTrigger",c9=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=fa(Hv,n),a=od(Hv,n),i=$l(n),l=c.useRef(null),s=$e(t,l,o.onTriggerChange),u=c.useRef(!1),d=c.useRef(!1),f=c.useCallback(()=>u.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),c.createElement(ed,L({asChild:!0},i),c.createElement(ce.button,L({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:s,onPointerMove:oe(e.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:oe(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:oe(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:oe(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:oe(e.onBlur,o.onClose),onClick:oe(e.onClick,o.onClose)})))}),Gv="TooltipPortal",[u9,d9]=yl(Gv,{forceMount:void 0}),f9=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=fa(Gv,t);return c.createElement(u9,{scope:t,forceMount:n},c.createElement(We,{present:n||a.open},c.createElement(So,{asChild:!0,container:o},r)))},pa="TooltipContent",p9=c.forwardRef((e,t)=>{const n=d9(pa,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=fa(pa,e.__scopeTooltip);return c.createElement(We,{present:r||i.open},i.disableHoverableContent?c.createElement(Yv,L({side:o},a,{ref:t})):c.createElement(g9,L({side:o},a,{ref:t})))}),g9=c.forwardRef((e,t)=>{const n=fa(pa,e.__scopeTooltip),r=od(pa,e.__scopeTooltip),o=c.useRef(null),a=$e(t,o),[i,l]=c.useState(null),{trigger:s,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,m=c.useCallback(()=>{l(null),f(!1)},[f]),g=c.useCallback((h,b)=>{const v=h.currentTarget,_={x:h.clientX,y:h.clientY},y=y9(_,v.getBoundingClientRect()),x=$9(_,y),S=_9(b.getBoundingClientRect()),T=w9([...x,...S]);l(T),f(!0)},[f]);return c.useEffect(()=>()=>m(),[m]),c.useEffect(()=>{if(s&&d){const h=v=>g(v,d),b=v=>g(v,s);return s.addEventListener("pointerleave",h),d.addEventListener("pointerleave",b),()=>{s.removeEventListener("pointerleave",h),d.removeEventListener("pointerleave",b)}}},[s,d,g,m]),c.useEffect(()=>{if(i){const h=b=>{const v=b.target,_={x:b.clientX,y:b.clientY},y=(s==null?void 0:s.contains(v))||(d==null?void 0:d.contains(v)),x=!x9(_,i);y?m():x&&(m(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[s,d,i,u,m]),c.createElement(Yv,L({},e,{ref:a}))}),[m9,h9]=yl(ad,{isInside:!1}),Yv=c.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...l}=e,s=fa(pa,n),u=$l(n),{onClose:d}=s;return c.useEffect(()=>(document.addEventListener(rd,d),()=>document.removeEventListener(rd,d)),[d]),c.useEffect(()=>{if(s.trigger){const f=m=>{const g=m.target;g!=null&&g.contains(s.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[s.trigger,d]),c.createElement(Eo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d},c.createElement(td,L({"data-state":s.stateAttribute},u,l,{ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),c.createElement(ls,null,r),c.createElement(m9,{scope:n,isInside:!0},c.createElement(cp,{id:s.contentId,role:"tooltip"},o||r))))}),b9="TooltipArrow",v9=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=$l(n);return h9(b9,n).isInside?null:c.createElement(nd,L({},o,r,{ref:t}))});function y9(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function $9(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function _9(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function x9(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const l=t[a].x,s=t[a].y,u=t[i].x,d=t[i].y;s>r!=d>r&&n<(u-l)*(r-s)/(d-s)+l&&(o=!o)}return o}function w9(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),E9(t)}function E9(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];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 n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const a=n[n.length-1],i=n[n.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const S9=i9,D9=s9,P9=c9,T9=f9,k9=p9,C9=v9,A9=se.keyframes`
1390
+ `,m2={xsmall:u2,small:d2,medium:f2,large:p2,xlarge:g2};function Re({children:e,bold:t,size:n="medium",display:r="inline-flex",flexDirection:o="row",pointer:a=!1,srOnly:i,style:l,color:s,...u}){const d=m2[n],f=t?500:300;return w(d,{as:"label",...u,$srOnly:i,style:{...l},$color:s,$pointer:a,display:r,flexDirection:o,fontWeight:f,children:e})}function h2(e,t,n){let{validationBehavior:r,focus:o}=e;Te(()=>{if(r==="native"&&(n!=null&&n.current)){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(s),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(v2(n.current))}});let a=Ce(()=>{t.resetValidation()}),i=Ce(s=>{var u;t.displayValidation.isInvalid||t.commitValidation();let d=n==null||(u=n.current)===null||u===void 0?void 0:u.form;if(!s.defaultPrevented&&n&&d&&y2(d)===n.current){var f;o?o():(f=n.current)===null||f===void 0||f.focus(),Kc("keyboard")}s.preventDefault()}),l=Ce(()=>{t.commitValidation()});c.useEffect(()=>{let s=n==null?void 0:n.current;if(!s)return;let u=s.form;return s.addEventListener("invalid",i),s.addEventListener("change",l),u==null||u.addEventListener("reset",a),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),u==null||u.removeEventListener("reset",a)}},[n,i,l,a,r])}function b2(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function v2(e){return{isInvalid:!e.validity.valid,validationDetails:b2(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function y2(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}const mv={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},hv={...mv,customError:!0,valid:!1},sa={isInvalid:!1,validationDetails:mv,validationErrors:[]},$2=c.createContext({}),bv="__formValidationState"+Date.now();function vv(e){if(e[bv]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}=e[bv];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}}return _2(e)}function _2(e){let{isInvalid:t,validationState:n,name:r,value:o,builtinValidation:a,validate:i,validationBehavior:l="aria"}=e;n&&(t||(t=n==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:hv}:null,u=c.useMemo(()=>yv(x2(i,o)),[i,o]);a!=null&&a.validationDetails.valid&&(a=null);let d=c.useContext($2),f=c.useMemo(()=>r?Array.isArray(r)?r.flatMap(N=>Uu(d[N])):Uu(d[r]):[],[d,r]),[m,g]=c.useState(d),[h,b]=c.useState(!1);d!==m&&(g(d),b(!1));let v=c.useMemo(()=>yv(h?[]:f),[h,f]),_=c.useRef(sa),[y,x]=c.useState(sa),S=c.useRef(sa),T=()=>{if(!P)return;M(!1);let N=u||a||_.current;Wu(N,S.current)||(S.current=N,x(N))},[P,M]=c.useState(!1);return c.useEffect(T),{realtimeValidation:s||v||u||a||sa,displayValidation:l==="native"?s||v||y:s||v||u||a||y,updateValidation(N){l==="aria"&&!Wu(y,N)?x(N):_.current=N},resetValidation(){let N=sa;Wu(N,S.current)||(S.current=N,x(N)),l==="native"&&M(!1),b(!0)},commitValidation(){l==="native"&&M(!0),b(!0)}}}function Uu(e){return e?Array.isArray(e)?e:[e]:[]}function x2(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return Uu(n)}return[]}function yv(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:hv}:null}function Wu(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((n,r)=>n===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([n,r])=>t.validationDetails[n]===r)}function w2(e,t,n){let{isDisabled:r=!1,isReadOnly:o=!1,value:a,name:i,children:l,"aria-label":s,"aria-labelledby":u,validationState:d="valid",isInvalid:f}=e,m=P=>{P.stopPropagation(),t.setSelected(P.target.checked)},g=l!=null,h=s!=null||u!=null;!g&&!h&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:b,isPressed:v}=Pr({isDisabled:r}),{pressProps:_,isPressed:y}=Pr({isDisabled:r||o,onPress(){t.toggle()}}),{focusableProps:x}=Xc(e,n),S=me(b,x),T=_n(e,{labelable:!0});return J7(n,t.isSelected,t.setSelected),{labelProps:me(_,{onClick:P=>P.preventDefault()}),inputProps:me(T,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:m,disabled:r,...a==null?{}:{value:a},name:i,type:"checkbox",...S}),isSelected:t.isSelected,isPressed:v||y,isDisabled:r,isReadOnly:o,isInvalid:f||d==="invalid"}}function $v(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:a="label"}=e;t=ct(t);let i=ct(),l={};n?(r=r?`${i} ${r}`:i,l={id:i,htmlFor:a==="label"?t:void 0}):!r&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=Er({id:t,"aria-label":o,"aria-labelledby":r});return{labelProps:l,fieldProps:s}}function sl(e){let{description:t,errorMessage:n,isInvalid:r,validationState:o}=e,{labelProps:a,fieldProps:i}=$v(e),l=Oo([!!t,!!n,r,o]),s=Oo([!!t,!!n,r,o]);return i=me(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function E2(e={}){let{isReadOnly:t}=e,[n,r]=Ft(e.isSelected,e.defaultSelected||!1,e.onChange);function o(i){t||r(i)}function a(){t||r(!n)}return{isSelected:n,setSelected:o,toggle:a}}function S2(e,t,n){let r=vv({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:i}=r.displayValidation,{labelProps:l,inputProps:s,isSelected:u,isPressed:d,isDisabled:f,isReadOnly:m}=w2({...e,isInvalid:o},t,n);h2(e,r,n);let{isIndeterminate:g,isRequired:h,validationBehavior:b="aria"}=e;return c.useEffect(()=>{n.current&&(n.current.indeterminate=!!g)}),{labelProps:l,inputProps:{...s,checked:u,"aria-required":h&&b==="aria"||void 0,required:h&&b==="native"},isSelected:u,isPressed:d,isDisabled:f,isReadOnly:m,isInvalid:o,validationErrors:a,validationDetails:i}}function jr(e){return e.split("-")[1]}function Hu(e){return e==="y"?"height":"width"}function ln(e){return e.split("-")[0]}function nr(e){return["top","bottom"].includes(ln(e))?"x":"y"}function _v(e,t,n){let{reference:r,floating:o}=e;const a=r.x+r.width/2-o.width/2,i=r.y+r.height/2-o.height/2,l=nr(t),s=Hu(l),u=r[s]/2-o[s]/2,d=l==="x";let f;switch(ln(t)){case"top":f={x:a,y:r.y-o.height};break;case"bottom":f={x:a,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:i};break;case"left":f={x:r.x-o.width,y:i};break;default:f={x:r.x,y:r.y}}switch(jr(t)){case"start":f[l]-=u*(n&&d?-1:1);break;case"end":f[l]+=u*(n&&d?-1:1)}return f}const D2=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),s=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=_v(u,r,s),m=r,g={},h=0;for(let b=0;b<l.length;b++){const{name:v,fn:_}=l[b],{x:y,y:x,data:S,reset:T}=await _({x:d,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:g,rects:u,platform:i,elements:{reference:e,floating:t}});d=y??d,f=x??f,g={...g,[v]:{...g[v],...S}},T&&h<=50&&(h++,typeof T=="object"&&(T.placement&&(m=T.placement),T.rects&&(u=T.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:d,y:f}=_v(u,m,s)),b=-1)}return{x:d,y:f,placement:m,strategy:o,middlewareData:g}};function sn(e,t){return typeof e=="function"?e(t):e}function xv(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 cl(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function ca(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:g=0}=sn(t,e),h=xv(g),b=l[m?f==="floating"?"reference":"floating":f],v=cl(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(b)))==null||n?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:s})),_=f==="floating"?{...i.floating,x:r,y:o}:i.reference,y=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),x=await(a.isElement==null?void 0:a.isElement(y))&&await(a.getScale==null?void 0:a.getScale(y))||{x:1,y:1},S=cl(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:y,strategy:s}):_);return{top:(v.top-S.top+h.top)/x.y,bottom:(S.bottom-v.bottom+h.bottom)/x.y,left:(v.left-S.left+h.left)/x.x,right:(S.right-v.right+h.right)/x.x}}const ua=Math.min,rr=Math.max;function Gu(e,t,n){return rr(e,ua(t,n))}const wv=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:l}=t,{element:s,padding:u=0}=sn(e,t)||{};if(s==null)return{};const d=xv(u),f={x:n,y:r},m=nr(o),g=Hu(m),h=await i.getDimensions(s),b=m==="y",v=b?"top":"left",_=b?"bottom":"right",y=b?"clientHeight":"clientWidth",x=a.reference[g]+a.reference[m]-f[m]-a.floating[g],S=f[m]-a.reference[m],T=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s));let P=T?T[y]:0;P&&await(i.isElement==null?void 0:i.isElement(T))||(P=l.floating[y]||a.floating[g]);const M=x/2-S/2,$=P/2-h[g]/2-1,C=ua(d[v],$),N=ua(d[_],$),E=C,K=P-h[g]-N,I=P/2-h[g]/2+M,k=Gu(E,I,K),j=jr(o)!=null&&I!=k&&a.reference[g]/2-(I<E?C:N)-h[g]/2<0?I<E?E-I:K-I:0;return{[m]:f[m]-j,data:{[m]:k,centerOffset:I-k+j}}}}),Ev=["top","right","bottom","left"];Ev.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const P2={left:"right",right:"left",bottom:"top",top:"bottom"};function ul(e){return e.replace(/left|right|bottom|top/g,t=>P2[t])}function T2(e,t,n){n===void 0&&(n=!1);const r=jr(e),o=nr(e),a=Hu(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=ul(i)),{main:i,cross:ul(i)}}const k2={start:"end",end:"start"};function Yu(e){return e.replace(/start|end/g,t=>k2[t])}const C2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:a,initialPlacement:i,platform:l,elements:s}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...b}=sn(e,t),v=ln(r),_=ln(i)===i,y=await(l.isRTL==null?void 0:l.isRTL(s.floating)),x=f||(_||!h?[ul(i)]:function(E){const K=ul(E);return[Yu(E),K,Yu(K)]}(i));f||g==="none"||x.push(...function(E,K,I,k){const j=jr(E);let O=function(J,V,q){const B=["left","right"],U=["right","left"],H=["top","bottom"],R=["bottom","top"];switch(J){case"top":case"bottom":return q?V?U:B:V?B:U;case"left":case"right":return V?H:R;default:return[]}}(ln(E),I==="start",k);return j&&(O=O.map(J=>J+"-"+j),K&&(O=O.concat(O.map(Yu)))),O}(i,h,g,y));const S=[i,...x],T=await ca(t,b),P=[];let M=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&P.push(T[v]),d){const{main:E,cross:K}=T2(r,a,y);P.push(T[E],T[K])}if(M=[...M,{placement:r,overflows:P}],!P.every(E=>E<=0)){var $,C;const E=((($=o.flip)==null?void 0:$.index)||0)+1,K=S[E];if(K)return{data:{index:E,overflows:M},reset:{placement:K}};let I=(C=M.filter(k=>k.overflows[0]<=0).sort((k,j)=>k.overflows[1]-j.overflows[1])[0])==null?void 0:C.placement;if(!I)switch(m){case"bestFit":{var N;const k=(N=M.map(j=>[j.placement,j.overflows.filter(O=>O>0).reduce((O,J)=>O+J,0)]).sort((j,O)=>j[1]-O[1])[0])==null?void 0:N[0];k&&(I=k);break}case"initialPlacement":I=i}if(r!==I)return{reset:{placement:I}}}return{}}}};function Sv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Dv(e){return Ev.some(t=>e[t]>=0)}const A2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=sn(e,t);switch(r){case"referenceHidden":{const a=Sv(await ca(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Dv(a)}}}case"escaped":{const a=Sv(await ca(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:a,escaped:Dv(a)}}}default:return{}}}}},I2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(a,i){const{placement:l,platform:s,elements:u}=a,d=await(s.isRTL==null?void 0:s.isRTL(u.floating)),f=ln(l),m=jr(l),g=nr(l)==="x",h=["left","top"].includes(f)?-1:1,b=d&&g?-1:1,v=sn(i,a);let{mainAxis:_,crossAxis:y,alignmentAxis:x}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return m&&typeof x=="number"&&(y=m==="end"?-1*x:x),g?{x:y*b,y:_*h}:{x:_*h,y:y*b}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function Pv(e){return e==="x"?"y":"x"}const O2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:v=>{let{x:_,y}=v;return{x:_,y}}},...s}=sn(e,t),u={x:n,y:r},d=await ca(t,s),f=nr(ln(o)),m=Pv(f);let g=u[f],h=u[m];if(a){const v=f==="y"?"bottom":"right";g=Gu(g+d[f==="y"?"top":"left"],g,g-d[v])}if(i){const v=m==="y"?"bottom":"right";h=Gu(h+d[m==="y"?"top":"left"],h,h-d[v])}const b=l.fn({...t,[f]:g,[m]:h});return{...b,data:{x:b.x-n,y:b.y-r}}}}},M2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=sn(e,t),d={x:n,y:r},f=nr(o),m=Pv(f);let g=d[f],h=d[m];const b=sn(l,t),v=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(s){const x=f==="y"?"height":"width",S=a.reference[f]-a.floating[x]+v.mainAxis,T=a.reference[f]+a.reference[x]-v.mainAxis;g<S?g=S:g>T&&(g=T)}if(u){var _,y;const x=f==="y"?"width":"height",S=["top","left"].includes(ln(o)),T=a.reference[m]-a.floating[x]+(S&&((_=i.offset)==null?void 0:_[m])||0)+(S?0:v.crossAxis),P=a.reference[m]+a.reference[x]+(S?0:((y=i.offset)==null?void 0:y[m])||0)-(S?v.crossAxis:0);h<T?h=T:h>P&&(h=P)}return{[f]:g,[m]:h}}}},F2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:a}=t,{apply:i=()=>{},...l}=sn(e,t),s=await ca(t,l),u=ln(n),d=jr(n),f=nr(n)==="x",{width:m,height:g}=r.floating;let h,b;u==="top"||u==="bottom"?(h=u,b=d===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(b=u,h=d==="end"?"top":"bottom");const v=g-s[h],_=m-s[b],y=!t.middlewareData.shift;let x=v,S=_;if(f){const P=m-s.left-s.right;S=d||y?ua(_,P):P}else{const P=g-s.top-s.bottom;x=d||y?ua(v,P):P}if(y&&!d){const P=rr(s.left,0),M=rr(s.right,0),$=rr(s.top,0),C=rr(s.bottom,0);f?S=m-2*(P!==0||M!==0?P+M:rr(s.left,s.right)):x=g-2*($!==0||C!==0?$+C:rr(s.top,s.bottom))}await i({...t,availableWidth:S,availableHeight:x});const T=await o.getDimensions(a.floating);return m!==T.width||g!==T.height?{reset:{rects:!0}}:{}}}};function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Nt(e){return it(e).getComputedStyle(e)}function Tv(e){return e instanceof it(e).Node}function Tn(e){return Tv(e)?(e.nodeName||"").toLowerCase():"#document"}function xt(e){return e instanceof HTMLElement||e instanceof it(e).HTMLElement}function kv(e){return typeof ShadowRoot<"u"&&(e instanceof it(e).ShadowRoot||e instanceof ShadowRoot)}function da(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Nt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function L2(e){return["table","td","th"].includes(Tn(e))}function qu(e){const t=Xu(),n=Nt(e);return n.transform!=="none"||n.perspective!=="none"||!!n.containerType&&n.containerType!=="normal"||!t&&!!n.backdropFilter&&n.backdropFilter!=="none"||!t&&!!n.filter&&n.filter!=="none"||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Xu(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function dl(e){return["html","body","#document"].includes(Tn(e))}const Ju=Math.min,Ur=Math.max,fl=Math.round,pl=Math.floor,kn=e=>({x:e,y:e});function Cv(e){const t=Nt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=xt(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=fl(n)!==a||fl(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function cn(e){return e instanceof Element||e instanceof it(e).Element}function Zu(e){return cn(e)?e:e.contextElement}function Wr(e){const t=Zu(e);if(!xt(t))return kn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Cv(t);let i=(a?fl(n.width):n.width)/r,l=(a?fl(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const N2=kn(0);function Av(e){const t=it(e);return Xu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:N2}function or(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Zu(e);let i=kn(1);t&&(r?cn(r)&&(i=Wr(r)):i=Wr(e));const l=function(m,g,h){return g===void 0&&(g=!1),!(!h||g&&h!==it(m))&&g}(a,n,r)?Av(a):kn(0);let s=(o.left+l.x)/i.x,u=(o.top+l.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(a){const m=it(a),g=r&&cn(r)?it(r):r;let h=m.frameElement;for(;h&&r&&g!==m;){const b=Wr(h),v=h.getBoundingClientRect(),_=getComputedStyle(h),y=v.left+(h.clientLeft+parseFloat(_.paddingLeft))*b.x,x=v.top+(h.clientTop+parseFloat(_.paddingTop))*b.y;s*=b.x,u*=b.y,d*=b.x,f*=b.y,s+=y,u+=x,h=it(h).frameElement}}return cl({width:d,height:f,x:s,y:u})}function gl(e){return cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function un(e){var t;return(t=(Tv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Iv(e){return or(un(e)).left+gl(e).scrollLeft}function Hr(e){if(Tn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kv(e)&&e.host||un(e);return kv(t)?t.host:t}function Ov(e){const t=Hr(e);return dl(t)?e.ownerDocument?e.ownerDocument.body:e.body:xt(t)&&da(t)?t:Ov(t)}function ml(e,t){var n;t===void 0&&(t=[]);const r=Ov(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=it(r);return o?t.concat(a,a.visualViewport||[],da(r)?r:[]):t.concat(r,ml(r))}function Mv(e,t,n){let r;if(t==="viewport")r=function(o,a){const i=it(o),l=un(o),s=i.visualViewport;let u=l.clientWidth,d=l.clientHeight,f=0,m=0;if(s){u=s.width,d=s.height;const g=Xu();(!g||g&&a==="fixed")&&(f=s.offsetLeft,m=s.offsetTop)}return{width:u,height:d,x:f,y:m}}(e,n);else if(t==="document")r=function(o){const a=un(o),i=gl(o),l=o.ownerDocument.body,s=Ur(a.scrollWidth,a.clientWidth,l.scrollWidth,l.clientWidth),u=Ur(a.scrollHeight,a.clientHeight,l.scrollHeight,l.clientHeight);let d=-i.scrollLeft+Iv(o);const f=-i.scrollTop;return Nt(l).direction==="rtl"&&(d+=Ur(a.clientWidth,l.clientWidth)-s),{width:s,height:u,x:d,y:f}}(un(e));else if(cn(t))r=function(o,a){const i=or(o,!0,a==="fixed"),l=i.top+o.clientTop,s=i.left+o.clientLeft,u=xt(o)?Wr(o):kn(1);return{width:o.clientWidth*u.x,height:o.clientHeight*u.y,x:s*u.x,y:l*u.y}}(t,n);else{const o=Av(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return cl(r)}function Fv(e,t){const n=Hr(e);return!(n===t||!cn(n)||dl(n))&&(Nt(n).position==="fixed"||Fv(n,t))}function z2(e,t,n){const r=xt(t),o=un(t),a=n==="fixed",i=or(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=kn(0);if(r||!r&&!a)if((Tn(t)!=="body"||da(o))&&(l=gl(t)),xt(t)){const u=or(t,!0,a,t);s.x=u.x+t.clientLeft,s.y=u.y+t.clientTop}else o&&(s.x=Iv(o));return{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Lv(e,t){return xt(e)&&Nt(e).position!=="fixed"?t?t(e):e.offsetParent:null}function Nv(e,t){const n=it(e);if(!xt(e))return n;let r=Lv(e,t);for(;r&&L2(r)&&Nt(r).position==="static";)r=Lv(r,t);return r&&(Tn(r)==="html"||Tn(r)==="body"&&Nt(r).position==="static"&&!qu(r))?n:r||function(o){let a=Hr(o);for(;xt(a)&&!dl(a);){if(qu(a))return a;a=Hr(a)}return null}(e)||n}const R2={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=xt(n),a=un(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},l=kn(1);const s=kn(0);if((o||!o&&r!=="fixed")&&((Tn(n)!=="body"||da(a))&&(i=gl(n)),xt(n))){const u=or(n);l=Wr(n),s.x=u.x+n.clientLeft,s.y=u.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-i.scrollLeft*l.x+s.x,y:t.y*l.y-i.scrollTop*l.y+s.y}},getDocumentElement:un,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?function(s,u){const d=u.get(s);if(d)return d;let f=ml(s).filter(b=>cn(b)&&Tn(b)!=="body"),m=null;const g=Nt(s).position==="fixed";let h=g?Hr(s):s;for(;cn(h)&&!dl(h);){const b=Nt(h),v=qu(h);v||b.position!=="fixed"||(m=null),(g?!v&&!m:!v&&b.position==="static"&&m&&["absolute","fixed"].includes(m.position)||da(h)&&!v&&Fv(s,h))?f=f.filter(_=>_!==h):m=b,h=Hr(h)}return u.set(s,f),f}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((s,u)=>{const d=Mv(t,u,o);return s.top=Ur(d.top,s.top),s.right=Ju(d.right,s.right),s.bottom=Ju(d.bottom,s.bottom),s.left=Ur(d.left,s.left),s},Mv(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Nv,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Nv,a=this.getDimensions;return{reference:z2(t,await o(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Cv(e)},getScale:Wr,isElement:cn,isRTL:function(e){return getComputedStyle(e).direction==="rtl"}};function K2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=Zu(e),d=o||a?[...u?ml(u):[],...ml(t)]:[];d.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),a&&v.addEventListener("resize",n)});const f=u&&l?function(v,_){let y,x=null;const S=un(v);function T(){clearTimeout(y),x&&x.disconnect(),x=null}return function P(M,$){M===void 0&&(M=!1),$===void 0&&($=1),T();const{left:C,top:N,width:E,height:K}=v.getBoundingClientRect();if(M||_(),!E||!K)return;const I={rootMargin:-pl(N)+"px "+-pl(S.clientWidth-(C+E))+"px "+-pl(S.clientHeight-(N+K))+"px "+-pl(C)+"px",threshold:Ur(0,Ju(1,$))||1};let k=!0;function j(O){const J=O[0].intersectionRatio;if(J!==$){if(!k)return P();J?P(!1,J):y=setTimeout(()=>{P(!1,1e-7)},100)}k=!1}try{x=new IntersectionObserver(j,{...I,root:S.ownerDocument})}catch{x=new IntersectionObserver(j,I)}x.observe(v)}(!0),T}(u,n):null;let m,g=-1,h=null;i&&(h=new ResizeObserver(v=>{let[_]=v;_&&_.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{h&&h.observe(t)})),n()}),u&&!s&&h.observe(u),h.observe(t));let b=s?or(e):null;return s&&function v(){const _=or(e);!b||_.x===b.x&&_.y===b.y&&_.width===b.width&&_.height===b.height||n(),b=_,m=requestAnimationFrame(v)}(),n(),()=>{d.forEach(v=>{o&&v.removeEventListener("scroll",n),a&&v.removeEventListener("resize",n)}),f&&f(),h&&h.disconnect(),h=null,s&&cancelAnimationFrame(m)}}const V2=(e,t,n)=>{const r=new Map,o={platform:R2,...n},a={...o.platform,_c:r};return D2(e,t,{...o,platform:a})},B2=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?wv({element:r.current,padding:o}).fn(n):{}:r?wv({element:r,padding:o}).fn(n):{}}}};var hl=typeof document<"u"?c.useLayoutEffect:c.useEffect;function bl(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 n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!bl(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!bl(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function zv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Rv(e,t){const n=zv(e);return Math.round(t*n)/n}function Kv(e){const t=D.useRef(e);return hl(()=>{t.current=e}),t}function j2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:s,open:u}=e,[d,f]=D.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=D.useState(r);bl(m,r)||g(r);const[h,b]=D.useState(null),[v,_]=D.useState(null),y=D.useCallback(O=>{O!=P.current&&(P.current=O,b(O))},[b]),x=D.useCallback(O=>{O!==M.current&&(M.current=O,_(O))},[_]),S=a||h,T=i||v,P=D.useRef(null),M=D.useRef(null),$=D.useRef(d),C=Kv(s),N=Kv(o),E=D.useCallback(()=>{if(!P.current||!M.current)return;const O={placement:t,strategy:n,middleware:m};N.current&&(O.platform=N.current),V2(P.current,M.current,O).then(J=>{const V={...J,isPositioned:!0};K.current&&!bl($.current,V)&&($.current=V,Vt.flushSync(()=>{f(V)}))})},[m,t,n,N]);hl(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,f(O=>({...O,isPositioned:!1})))},[u]);const K=D.useRef(!1);hl(()=>(K.current=!0,()=>{K.current=!1}),[]),hl(()=>{if(S&&(P.current=S),T&&(M.current=T),S&&T){if(C.current)return C.current(S,T,E);E()}},[S,T,E,C]);const I=D.useMemo(()=>({reference:P,floating:M,setReference:y,setFloating:x}),[y,x]),k=D.useMemo(()=>({reference:S,floating:T}),[S,T]),j=D.useMemo(()=>{const O={position:n,left:0,top:0};if(!k.floating)return O;const J=Rv(k.floating,d.x),V=Rv(k.floating,d.y);return l?{...O,transform:"translate("+J+"px, "+V+"px)",...zv(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:J,top:V}},[n,l,k.floating,d.x,d.y]);return D.useMemo(()=>({...d,update:E,refs:I,elements:k,floatingStyles:j}),[d,E,I,k,j])}const U2=c.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return c.createElement(ce.svg,L({},a,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:c.createElement("polygon",{points:"0,0 30,0 15,10"}))});function Qu(e){const[t,n]=c.useState(void 0);return gn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,l;if("borderBoxSize"in a){const s=a.borderBoxSize,u=Array.isArray(s)?s[0]:s;i=u.inlineSize,l=u.blockSize}else i=e.offsetWidth,l=e.offsetHeight;n({width:i,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Vv="Popper",[Bv,Gr]=Ke(Vv),[W2,jv]=Bv(Vv),H2=e=>{const{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return c.createElement(W2,{scope:t,anchor:r,onAnchorChange:o},n)},G2="PopperAnchor",Y2=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=jv(G2,n),i=c.useRef(null),l=$e(t,i);return c.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:c.createElement(ce.div,L({},o,{ref:l}))}),Uv="PopperContent",[q2,X2]=Bv(Uv),J2=c.forwardRef((e,t)=>{var n,r,o,a,i,l,s,u;const{__scopePopper:d,side:f="bottom",sideOffset:m=0,align:g="center",alignOffset:h=0,arrowPadding:b=0,collisionBoundary:v=[],collisionPadding:_=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:S=!0,onPlaced:T,...P}=e,M=jv(Uv,d),[$,C]=c.useState(null),N=$e(t,_e=>C(_e)),[E,K]=c.useState(null),I=Qu(E),k=(n=I==null?void 0:I.width)!==null&&n!==void 0?n:0,j=(r=I==null?void 0:I.height)!==null&&r!==void 0?r:0,O=f+(g!=="center"?"-"+g:""),J=typeof _=="number"?_:{top:0,right:0,bottom:0,left:0,..._},V=Array.isArray(v)?v:[v],q=V.length>0,B={padding:J,boundary:V.filter(t9),altBoundary:q},{refs:U,floatingStyles:H,placement:R,isPositioned:G,middlewareData:ne}=j2({strategy:"fixed",placement:O,whileElementsMounted:K2,elements:{reference:M.anchor},middleware:[I2({mainAxis:m+j,alignmentAxis:h}),S&&O2({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?M2():void 0,...B}),S&&C2({...B}),F2({...B,apply:({elements:_e,rects:Tt,availableWidth:Fn,availableHeight:co})=>{const{width:uo,height:dn}=Tt.reference,Kt=_e.floating.style;Kt.setProperty("--radix-popper-available-width",`${Fn}px`),Kt.setProperty("--radix-popper-available-height",`${co}px`),Kt.setProperty("--radix-popper-anchor-width",`${uo}px`),Kt.setProperty("--radix-popper-anchor-height",`${dn}px`)}}),E&&B2({element:E,padding:b}),n9({arrowWidth:k,arrowHeight:j}),x&&A2({strategy:"referenceHidden"})]}),[te,ie]=Wv(R),X=je(T);gn(()=>{G&&(X==null||X())},[G,X]);const W=(o=ne.arrow)===null||o===void 0?void 0:o.x,ee=(a=ne.arrow)===null||a===void 0?void 0:a.y,fe=((i=ne.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[le,ge]=c.useState();return gn(()=>{$&&ge(window.getComputedStyle($).zIndex)},[$]),c.createElement("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:G?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(l=ne.transformOrigin)===null||l===void 0?void 0:l.x,(s=ne.transformOrigin)===null||s===void 0?void 0:s.y].join(" ")},dir:e.dir},c.createElement(q2,{scope:d,placedSide:te,onArrowChange:K,arrowX:W,arrowY:ee,shouldHideArrow:fe},c.createElement(ce.div,L({"data-side":te,"data-align":ie},P,{ref:N,style:{...P.style,animation:G?void 0:"none",opacity:(u=ne.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),Z2="PopperArrow",Q2={top:"bottom",right:"left",bottom:"top",left:"right"},e9=c.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=X2(Z2,r),i=Q2[a.placedSide];return c.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},c.createElement(U2,L({},o,{ref:n,style:{...o.style,display:"block"}})))});function t9(e){return e!==null}const n9=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;const{placement:l,rects:s,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=f?0:e.arrowWidth,g=f?0:e.arrowHeight,[h,b]=Wv(l),v={start:"0%",center:"50%",end:"100%"}[b],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+m/2,y=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+g/2;let x="",S="";return h==="bottom"?(x=f?v:`${_}px`,S=`${-g}px`):h==="top"?(x=f?v:`${_}px`,S=`${s.floating.height+g}px`):h==="right"?(x=`${-g}px`,S=f?v:`${y}px`):h==="left"&&(x=`${s.floating.width+g}px`,S=f?v:`${y}px`),{data:{x,y:S}}}});function Wv(e){const[t,n="center"]=e.split("-");return[t,n]}const vl=H2,ed=Y2,td=J2,nd=e9,[yl,JV]=Ke("Tooltip",[Gr]),$l=Gr(),r9="TooltipProvider",o9=700,rd="tooltip.open",[a9,od]=yl(r9),i9=e=>{const{__scopeTooltip:t,delayDuration:n=o9,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:a}=e,[i,l]=c.useState(!0),s=c.useRef(!1),u=c.useRef(0);return c.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),c.createElement(a9,{scope:t,isOpenDelayed:i,delayDuration:n,onOpen:c.useCallback(()=>{window.clearTimeout(u.current),l(!1)},[]),onClose:c.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:c.useCallback(d=>{s.current=d},[]),disableHoverableContent:o},a)},ad="Tooltip",[l9,fa]=yl(ad),s9=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:l}=e,s=od(ad,e.__scopeTooltip),u=$l(t),[d,f]=c.useState(null),m=nt(),g=c.useRef(0),h=i??s.disableHoverableContent,b=l??s.delayDuration,v=c.useRef(!1),[_=!1,y]=Ue({prop:r,defaultProp:o,onChange:M=>{M?(s.onOpen(),document.dispatchEvent(new CustomEvent(rd))):s.onClose(),a==null||a(M)}}),x=c.useMemo(()=>_?v.current?"delayed-open":"instant-open":"closed",[_]),S=c.useCallback(()=>{window.clearTimeout(g.current),v.current=!1,y(!0)},[y]),T=c.useCallback(()=>{window.clearTimeout(g.current),y(!1)},[y]),P=c.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{v.current=!0,y(!0)},b)},[b,y]);return c.useEffect(()=>()=>window.clearTimeout(g.current),[]),c.createElement(vl,u,c.createElement(l9,{scope:t,contentId:m,open:_,stateAttribute:x,trigger:d,onTriggerChange:f,onTriggerEnter:c.useCallback(()=>{s.isOpenDelayed?P():S()},[s.isOpenDelayed,P,S]),onTriggerLeave:c.useCallback(()=>{h?T():window.clearTimeout(g.current)},[T,h]),onOpen:S,onClose:T,disableHoverableContent:h},n))},Hv="TooltipTrigger",c9=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=fa(Hv,n),a=od(Hv,n),i=$l(n),l=c.useRef(null),s=$e(t,l,o.onTriggerChange),u=c.useRef(!1),d=c.useRef(!1),f=c.useCallback(()=>u.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),c.createElement(ed,L({asChild:!0},i),c.createElement(ce.button,L({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:s,onPointerMove:oe(e.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:oe(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:oe(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:oe(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:oe(e.onBlur,o.onClose),onClick:oe(e.onClick,o.onClose)})))}),Gv="TooltipPortal",[u9,d9]=yl(Gv,{forceMount:void 0}),f9=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=fa(Gv,t);return c.createElement(u9,{scope:t,forceMount:n},c.createElement(We,{present:n||a.open},c.createElement(So,{asChild:!0,container:o},r)))},pa="TooltipContent",p9=c.forwardRef((e,t)=>{const n=d9(pa,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=fa(pa,e.__scopeTooltip);return c.createElement(We,{present:r||i.open},i.disableHoverableContent?c.createElement(Yv,L({side:o},a,{ref:t})):c.createElement(g9,L({side:o},a,{ref:t})))}),g9=c.forwardRef((e,t)=>{const n=fa(pa,e.__scopeTooltip),r=od(pa,e.__scopeTooltip),o=c.useRef(null),a=$e(t,o),[i,l]=c.useState(null),{trigger:s,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,m=c.useCallback(()=>{l(null),f(!1)},[f]),g=c.useCallback((h,b)=>{const v=h.currentTarget,_={x:h.clientX,y:h.clientY},y=y9(_,v.getBoundingClientRect()),x=$9(_,y),S=_9(b.getBoundingClientRect()),T=w9([...x,...S]);l(T),f(!0)},[f]);return c.useEffect(()=>()=>m(),[m]),c.useEffect(()=>{if(s&&d){const h=v=>g(v,d),b=v=>g(v,s);return s.addEventListener("pointerleave",h),d.addEventListener("pointerleave",b),()=>{s.removeEventListener("pointerleave",h),d.removeEventListener("pointerleave",b)}}},[s,d,g,m]),c.useEffect(()=>{if(i){const h=b=>{const v=b.target,_={x:b.clientX,y:b.clientY},y=(s==null?void 0:s.contains(v))||(d==null?void 0:d.contains(v)),x=!x9(_,i);y?m():x&&(m(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[s,d,i,u,m]),c.createElement(Yv,L({},e,{ref:a}))}),[m9,h9]=yl(ad,{isInside:!1}),Yv=c.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...l}=e,s=fa(pa,n),u=$l(n),{onClose:d}=s;return c.useEffect(()=>(document.addEventListener(rd,d),()=>document.removeEventListener(rd,d)),[d]),c.useEffect(()=>{if(s.trigger){const f=m=>{const g=m.target;g!=null&&g.contains(s.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[s.trigger,d]),c.createElement(Eo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d},c.createElement(td,L({"data-state":s.stateAttribute},u,l,{ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),c.createElement(ls,null,r),c.createElement(m9,{scope:n,isInside:!0},c.createElement(cp,{id:s.contentId,role:"tooltip"},o||r))))}),b9="TooltipArrow",v9=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=$l(n);return h9(b9,n).isInside?null:c.createElement(nd,L({},o,r,{ref:t}))});function y9(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function $9(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function _9(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function x9(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const l=t[a].x,s=t[a].y,u=t[i].x,d=t[i].y;s>r!=d>r&&n<(u-l)*(r-s)/(d-s)+l&&(o=!o)}return o}function w9(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),E9(t)}function E9(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];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 n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const a=n[n.length-1],i=n[n.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const S9=i9,D9=s9,P9=c9,T9=f9,k9=p9,C9=v9,A9=se.keyframes`
1391
1391
  from {
1392
1392
  opacity: 0;
1393
1393
  transform: translateX(-10px);
@@ -1453,7 +1453,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1453
1453
  }
1454
1454
  `,L9=F.default(C9)`
1455
1455
  fill: ${p.color_deprecated_background_black_standard};
1456
- `;function N9({children:e,...t}){return w(T9,{children:ee(F9,{...t,children:[e,w(L9,{})]})})}const z9=F.default(P9)`
1456
+ `;function N9({children:e,...t}){return w(T9,{children:Q(F9,{...t,children:[e,w(L9,{})]})})}const z9=F.default(P9)`
1457
1457
  appearance: none;
1458
1458
  border: none;
1459
1459
  background-color: unset;
@@ -1479,7 +1479,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1479
1479
  &:not([data-state~='closed']) > svg {
1480
1480
  color: ${p.color_brand_lilac};
1481
1481
  }
1482
- `;function Xe({children:e,icon:t=w(we.Help,{}),label:n="More info"}){return w(qv,{delayDuration:100,skipDelayDuration:0,children:ee(Xv,{children:[w(R9,{children:w(vo,{label:n,children:t})}),w(Jv,{sideOffset:5,children:e})]})})}const K9=()=>w("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",style:{position:"absolute",top:0,pointerEvents:"none"},width:p.sizing_400,height:p.sizing_400,children:w("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:p.color_white,stroke:p.color_white,strokeWidth:"0.25"})}),Zv=F.default(K9)`
1482
+ `;function Xe({children:e,icon:t=w(Ee.Help,{}),label:n="More info"}){return w(qv,{delayDuration:100,skipDelayDuration:0,children:Q(Xv,{children:[w(R9,{children:w(vo,{label:n,children:t})}),w(Jv,{sideOffset:5,children:e})]})})}const K9=()=>w("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",style:{position:"absolute",top:0,pointerEvents:"none"},width:p.sizing_400,height:p.sizing_400,children:w("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:p.color_white,stroke:p.color_white,strokeWidth:"0.25"})}),Zv=F.default(K9)`
1483
1483
  width: ${p.sizing_200};
1484
1484
  height: ${p.sizing_200};
1485
1485
  top: 0;
@@ -1523,13 +1523,13 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1523
1523
  &:disabled {
1524
1524
  cursor: not-allowed;
1525
1525
  }
1526
- `,ld=e=>{const{children:t,dir:n="ltr",tooltipContent:r}=e,o=E2(e),a=c.useRef(null),{labelProps:i,inputProps:l}=S2(e,o,a),s=n==="rtl"?"row-reverse":"row",u=l["aria-invalid"]===!0;if(!t){if(!e["aria-label"])throw new Error("If no children are provided, an aria-label must be provided");return ee(pe,{flexDirection:s,position:"relative",as:"span",children:[w(Qv,{...l,ref:a,$invalid:u}),l.checked?w(Zv,{}):null]})}const d=l.disabled?"not-allowed":"pointer";return ee(Re,{...i,pointer:d,flexDirection:s,children:[ee(pe,{flexDirection:s,position:"relative",as:"span",children:[w(Qv,{...l,ref:a,$invalid:u}),l.checked?w(Zv,{}):null]}),ee(pe,{as:"span",children:[t,w(pe,{as:"span",ml:p.spacing_100,mr:p.spacing_100,children:r?w(Xe,{children:r}):null})]})]})};function ey(e){return fi()?e.altKey:e.ctrlKey}function Yr(e){return qt()?e.metaKey:e.ctrlKey}const V9=1e3;function sd(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=c.useRef({search:"",timeout:null}).current,a=i=>{let l=B9(i.key);if(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;l===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=l;let s=t.getKeyForSearch(o.search,n.focusedKey);s==null&&(s=t.getKeyForSearch(o.search)),s!=null&&(n.setFocusedKey(s),r&&r(s)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},V9)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function B9(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ty(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:u=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:m,scrollRef:g=r}=e,{direction:h}=ot(),b=$=>{if($.altKey&&$.key==="Tab"&&$.preventDefault(),!r.current.contains($.target))return;const C=(V,q)=>{V!=null&&(t.setFocusedKey(V,q),$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(V):s&&!ey($)&&t.replaceSelection(V))};switch($.key){case"ArrowDown":if(n.getKeyBelow){var z,E;$.preventDefault();let V=t.focusedKey!=null?n.getKeyBelow(t.focusedKey):(z=n.getFirstKey)===null||z===void 0?void 0:z.call(n);V==null&&a&&(V=(E=n.getFirstKey)===null||E===void 0?void 0:E.call(n,t.focusedKey)),C(V)}break;case"ArrowUp":if(n.getKeyAbove){var K,I;$.preventDefault();let V=t.focusedKey!=null?n.getKeyAbove(t.focusedKey):(K=n.getLastKey)===null||K===void 0?void 0:K.call(n);V==null&&a&&(V=(I=n.getLastKey)===null||I===void 0?void 0:I.call(n,t.focusedKey)),C(V)}break;case"ArrowLeft":if(n.getKeyLeftOf){var k,j;$.preventDefault();let V=n.getKeyLeftOf(t.focusedKey);V==null&&a&&(V=h==="rtl"?(k=n.getFirstKey)===null||k===void 0?void 0:k.call(n,t.focusedKey):(j=n.getLastKey)===null||j===void 0?void 0:j.call(n,t.focusedKey)),C(V,h==="rtl"?"first":"last")}break;case"ArrowRight":if(n.getKeyRightOf){var O,Z;$.preventDefault();let V=n.getKeyRightOf(t.focusedKey);V==null&&a&&(V=h==="rtl"?(O=n.getLastKey)===null||O===void 0?void 0:O.call(n,t.focusedKey):(Z=n.getFirstKey)===null||Z===void 0?void 0:Z.call(n,t.focusedKey)),C(V,h==="rtl"?"last":"first")}break;case"Home":if(n.getFirstKey){$.preventDefault();let V=n.getFirstKey(t.focusedKey,Yr($));t.setFocusedKey(V),Yr($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(V):s&&t.replaceSelection(V)}break;case"End":if(n.getLastKey){$.preventDefault();let V=n.getLastKey(t.focusedKey,Yr($));t.setFocusedKey(V),Yr($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(V):s&&t.replaceSelection(V)}break;case"PageDown":if(n.getKeyPageBelow){$.preventDefault();let V=n.getKeyPageBelow(t.focusedKey);C(V)}break;case"PageUp":if(n.getKeyPageAbove){$.preventDefault();let V=n.getKeyPageAbove(t.focusedKey);C(V)}break;case"a":Yr($)&&t.selectionMode==="multiple"&&l!==!0&&($.preventDefault(),t.selectAll());break;case"Escape":$.preventDefault(),i||t.clearSelection();break;case"Tab":if(!f){if($.shiftKey)r.current.focus();else{let V=en(r.current,{tabbable:!0}),q,B;do B=V.lastChild(),B&&(q=B);while(B);q&&!q.contains(document.activeElement)&&Ot(q)}break}}},v=c.useRef({top:0,left:0});Sr(g,"scroll",m?null:()=>{v.current={top:g.current.scrollTop,left:g.current.scrollLeft}});let _=$=>{if(t.isFocused){$.currentTarget.contains($.target)||t.setFocused(!1);return}if($.currentTarget.contains($.target)){if(t.setFocused(!0),t.focusedKey==null){let E=I=>{I!=null&&(t.setFocusedKey(I),s&&t.replaceSelection(I))},K=$.relatedTarget;var C,z;K&&$.currentTarget.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING?E((C=t.lastSelectedKey)!==null&&C!==void 0?C:n.getLastKey()):E((z=t.firstSelectedKey)!==null&&z!==void 0?z:n.getFirstKey())}else m||(g.current.scrollTop=v.current.top,g.current.scrollLeft=v.current.left);if(!m&&t.focusedKey!=null){let E=g.current.querySelector(`[data-key="${t.focusedKey}"]`);E&&(Ot(E),wi()==="keyboard"&&Ac(E,{containingElement:r.current}))}}},y=$=>{$.currentTarget.contains($.relatedTarget)||t.setFocused(!1)};const x=c.useRef(o);c.useEffect(()=>{if(x.current){let $=null;o==="first"&&($=n.getFirstKey()),o==="last"&&($=n.getLastKey());let C=t.selectedKeys;C.size&&($=C.values().next().value),t.setFocused(!0),t.setFocusedKey($),$==null&&!d&&Vo(r.current)}x.current=!1},[]);let S=c.useRef(t.focusedKey);c.useEffect(()=>{let $=wi();if(t.isFocused&&t.focusedKey!=null&&(g!=null&&g.current)){let C=g.current.querySelector(`[data-key="${t.focusedKey}"]`);C&&$==="keyboard"&&(m||Im(g.current,C),Ac(C,{containingElement:r.current}))}t.isFocused&&t.focusedKey==null&&S.current!=null&&Vo(r.current),S.current=t.focusedKey},[m,g,t.focusedKey,t.isFocused,r]);let T={onKeyDown:b,onFocus:_,onBlur:y,onMouseDown($){g.current===$.target&&$.preventDefault()}},{typeSelectProps:P}=sd({keyboardDelegate:n,selectionManager:t});u||(T=ge(P,T));let M;return d||(M=t.focusedKey==null?0:-1),{collectionProps:{...T,tabIndex:M}}}function j9(e){let{selectionManager:t,key:n,ref:r,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:i,isDisabled:l,onAction:s,allowsDifferentPressOrigin:u}=e,d=E=>{if(E.pointerType==="keyboard"&&ey(E))t.toggleSelection(n);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(n)&&!t.disallowEmptySelection?t.toggleSelection(n):t.replaceSelection(n):E&&E.shiftKey?t.extendSelection(n):t.selectionBehavior==="toggle"||E&&(Yr(E)||E.pointerType==="touch"||E.pointerType==="virtual")?t.toggleSelection(n):t.replaceSelection(n)}};c.useEffect(()=>{n===t.focusedKey&&t.isFocused&&!a&&(i?i():document.activeElement!==r.current&&Vo(r.current))},[r,n,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),l=l||t.isDisabled(n);let f={};!a&&!l?f={tabIndex:n===t.focusedKey?0:-1,onFocus(E){E.target===r.current&&t.setFocusedKey(n)}}:l&&(f.onMouseDown=E=>{E.preventDefault()});let m=!l&&t.canSelectItem(n),g=s&&!l,h=g&&(t.selectionBehavior==="replace"?!m:t.isEmpty),b=g&&m&&t.selectionBehavior==="replace",v=h||b,_=c.useRef(null),y=v&&m,x=c.useRef(!1),S=c.useRef(!1),T={};o?(T.onPressStart=E=>{_.current=E.pointerType,x.current=y,E.pointerType==="keyboard"&&(!v||ry())&&d(E)},u?(T.onPressUp=E=>{E.pointerType!=="keyboard"&&d(E)},T.onPress=h?()=>s():null):T.onPress=E=>{if(h||b&&E.pointerType!=="mouse"){if(E.pointerType==="keyboard"&&!ny())return;s()}else E.pointerType!=="keyboard"&&d(E)}):(T.onPressStart=E=>{_.current=E.pointerType,x.current=y,S.current=h,(E.pointerType==="mouse"&&!h||E.pointerType==="keyboard"&&(!s||ry()))&&d(E)},T.onPress=E=>{(E.pointerType==="touch"||E.pointerType==="pen"||E.pointerType==="virtual"||E.pointerType==="keyboard"&&v&&ny()||E.pointerType==="mouse"&&S.current)&&(v?s():d(E))}),f["data-key"]=n,T.preventFocusOnPress=a;let{pressProps:P,isPressed:M}=Pr(T),$=b?E=>{_.current==="mouse"&&(E.stopPropagation(),E.preventDefault(),s())}:void 0,{longPressProps:C}=Xm({isDisabled:!y,onLongPress(E){E.pointerType==="touch"&&(d(E),t.setSelectionBehavior("toggle"))}});return{itemProps:ge(f,m||h?P:{},y?C:{},{onDoubleClick:$,onDragStartCapture:E=>{_.current==="touch"&&x.current&&E.preventDefault()}}),isPressed:M,isSelected:t.isSelected(n),isFocused:t.isFocused&&t.focusedKey===n,isDisabled:l,allowsSelection:m,hasAction:v}}function ny(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function ry(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class _l{getNextKey(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)}return null}getPreviousKey(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)}return null}findKey(t,n,r){let o=this.getItem(t);if(!o)return null;let a=o.getBoundingClientRect();do t=n(t),o=this.getItem(t);while(o&&r(a,o.getBoundingClientRect()));return t}isSameRow(t,n){return t.top===n.top||t.left!==n.left}isSameColumn(t,n){return t.left===n.left||t.top!==n.top}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getNextKey(n),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getPreviousKey(n),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,n){return n?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}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)}return null}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)}return null}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let n=this.ref.current,r=this.getItem(t);if(!r)return null;if(!Lo(n))return this.getFirstKey();let o=n.getBoundingClientRect(),a=r.getBoundingClientRect();if(this.orientation==="horizontal"){let i=o.x-n.scrollLeft,l=Math.max(0,a.x-i+a.width-o.width);for(;r&&a.x-i>l;)t=this.getKeyAbove(t),r=t==null?null:this.getItem(t),a=r==null?void 0:r.getBoundingClientRect()}else{let i=o.y-n.scrollTop,l=Math.max(0,a.y-i+a.height-o.height);for(;r&&a.y-i>l;)t=this.getKeyAbove(t),r=t==null?null:this.getItem(t),a=r==null?void 0:r.getBoundingClientRect()}return t??this.getFirstKey()}getKeyPageBelow(t){let n=this.ref.current,r=this.getItem(t);if(!r)return null;if(!Lo(n))return this.getLastKey();let o=n.getBoundingClientRect(),a=r.getBoundingClientRect();if(this.orientation==="horizontal"){let i=o.x-n.scrollLeft,l=Math.min(n.scrollWidth,a.x-i-a.width+o.width);for(;r&&a.x-i<l;)t=this.getKeyBelow(t),r=t==null?null:this.getItem(t),a=r==null?void 0:r.getBoundingClientRect()}else{let i=o.y-n.scrollTop,l=Math.min(n.scrollHeight,a.y-i-a.height+o.height);for(;r&&a.y-i<l;)t=this.getKeyBelow(t),r=t==null?null:this.getItem(t),a=r==null?void 0:r.getBoundingClientRect()}return t??this.getLastKey()}getKeyForSearch(t,n){if(!this.collator)return null;let r=this.collection,o=n||this.getFirstKey();for(;o!=null;){let a=r.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){if(t.length===1){let n=t[0];this.collection=n.collection,this.ref=n.ref,this.disabledKeys=n.disabledKeys||new Set,this.orientation=n.orientation,this.direction=n.direction,this.layout=n.layout||"stack"}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical";this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function U9(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:o,keyboardDelegate:a,autoFocus:i,shouldFocusWrap:l,isVirtualized:s,disallowEmptySelection:u,selectOnFocus:d=t.selectionBehavior==="replace",disallowTypeAhead:f,shouldUseVirtualFocus:m,allowsTabNavigation:g}=e,h=el({usage:"search",sensitivity:"base"}),b=t.disabledBehavior,v=c.useMemo(()=>a||new _l(n,b==="selection"?new Set:r,o,h),[a,n,r,o,h,b]),{collectionProps:_}=ty({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:l,disallowEmptySelection:u,selectOnFocus:d,disallowTypeAhead:f,shouldUseVirtualFocus:m,allowsTabNavigation:g,isVirtualized:s,scrollRef:o});return{listProps:_}}function oy(e){return null}oy.getCollectionNode=function*(t,n){let{childItems:r,title:o,children:a}=t,i=t.title||t.children,l=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!l&&!(n!=null&&n.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:l,"aria-label":t["aria-label"],hasChildNodes:W9(t),*childNodes(){if(r)for(let s of r)yield{type:"item",value:s};else if(o){let s=[];D.default.Children.forEach(a,u=>{s.push({type:"item",element:u})}),yield*s}}}};function W9(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&D.default.Children.count(e.children)>0)}let qr=oy;function ay(e){return null}ay.getCollectionNode=function*(t){let{children:n,title:r,items:o}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:r,"aria-label":t["aria-label"],*childNodes(){if(typeof n=="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:n}}else{let a=[];D.default.Children.forEach(n,i=>{a.push({type:"item",element:i})}),yield*a}}}};let cd=ay;class H9{build(t,n){return this.context=n,iy(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:r}=t;if(typeof n=="function"){if(!r)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:n})}else{let o=[];D.default.Children.forEach(n,i=>{o.push(i)});let a=0;for(let i of o){let l=this.getFullNode({element:i,index:a},{});for(let s of l)a++,yield s}}}getKey(t,n,r,o){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${o}${n.key}`;let a=n.value;if(a!=null){var i;let l=(i=a.key)!==null&&i!==void 0?i:a.id;if(l==null)throw new Error("No key found for item");return l}return o?`${o}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,r,o){let a=t.element;if(!a&&t.value&&n&&n.renderer){let s=this.cache.get(t.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=t.index,s.parentKey=o?o.key:null,yield s;return}a=n.renderer(t.value)}if(D.default.isValidElement(a)){let s=a.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let m=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${m}> in collection.`)}let u=s.getCollectionNode(a.props,this.context),d=t.index,f=u.next();for(;!f.done&&f.value;){let m=f.value;t.index=d;let g=m.key;g||(g=m.element?null:this.getKey(a,t,n,r));let b=[...this.getFullNode({...m,key:g,index:d,wrapper:G9(t.wrapper,m.wrapper)},this.getChildState(n,m),r?`${r}${a.key}`:a.key,o)];for(let v of b){if(v.value=m.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${ud(v.type)}> in <${ud(o.type)}>. Only <${ud(t.type)}> is supported.`);d++,yield v}f=u.next(b)}return}if(t.key==null)return;let i=this,l={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:iy(function*(){if(!t.hasChildNodes)return;let s=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${l.key}${u.key}`),u.index=s;let d=i.getFullNode(u,i.getChildState(n,u),l.key,l);for(let f of d)s++,yield f}})};yield l}constructor(){this.cache=new WeakMap}}function iy(e){let t=[],n=null;return{*[Symbol.iterator](){for(let r of t)yield r;n||(n=e());for(let r of n)t.push(r),yield r}}}function G9(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function ud(e){return e[0].toUpperCase()+e.slice(1)}function Y9(e,t,n){let r=c.useMemo(()=>new H9,[]),{children:o,items:a,collection:i}=e;return c.useMemo(()=>{if(i)return i;let s=r.build({children:o,items:a},n);return t(s)},[r,o,a,i,n,t])}function xl(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function q9(e){return X9(e,0)}function X9(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function dd(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...ly(e,t),t],o=[...ly(e,n),n],a=r.slice(0,o.length).findIndex((i,l)=>i!==o[l]);return a!==-1?(t=r[a],n=o[a],t.index-n.index):r.findIndex(i=>i===n)>=0?1:(o.findIndex(i=>i===t)>=0,-1)}function ly(e,t){let n=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),n.unshift(t);return n}const sy=new WeakMap;function cy(e){let t=sy.get(e);if(t!=null)return t;t=0;let n=r=>{for(let o of r)o.type==="section"?n(xl(o,e)):t++};return n(e),sy.set(e,t),t}const wl=new WeakMap;function J9(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function uy(e,t){let n=wl.get(e);if(!n)throw new Error("Unknown list");return`${n.id}-option-${J9(t)}`}function dy(e,t,n){let r=$n(e,{labelable:!0}),{listProps:o}=U9({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=Ko({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=ct(e.id);wl.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:l,fieldProps:s}=$v({...e,id:i,labelElementType:"span"});return{labelProps:l,listBoxProps:ge(r,a,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...ge(s,o)})}}function fy(e,t,n){let{key:r}=e,o=wl.get(t);var a;let i=(a=e.isDisabled)!==null&&a!==void 0?a:t.disabledKeys.has(r);var l;let s=(l=e.isSelected)!==null&&l!==void 0?l:t.selectionManager.isSelected(r);var u;let d=(u=e.shouldSelectOnPressUp)!==null&&u!==void 0?u:o==null?void 0:o.shouldSelectOnPressUp;var f;let m=(f=e.shouldFocusOnHover)!==null&&f!==void 0?f:o==null?void 0:o.shouldFocusOnHover;var g;let h=(g=e.shouldUseVirtualFocus)!==null&&g!==void 0?g:o==null?void 0:o.shouldUseVirtualFocus;var b;let v=(b=e.isVirtualized)!==null&&b!==void 0?b:o==null?void 0:o.isVirtualized,_=Oo(),y=Oo(),x={role:"option","aria-disabled":i||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?s:void 0};if(qt()&&Ec()||(x["aria-label"]=e["aria-label"],x["aria-labelledby"]=_,x["aria-describedby"]=y),v){var S;let E=Number((S=t.collection.getItem(r))===null||S===void 0?void 0:S.index);x["aria-posinset"]=Number.isNaN(E)?void 0:E+1,x["aria-setsize"]=cy(t.collection)}let{itemProps:T,isPressed:P,isFocused:M,hasAction:$,allowsSelection:C}=j9({selectionManager:t.selectionManager,key:r,ref:n,shouldSelectOnPressUp:d,allowsDifferentPressOrigin:d&&m,isVirtualized:v,shouldUseVirtualFocus:h,isDisabled:i,onAction:o!=null&&o.onAction?()=>{var E;return o==null||(E=o.onAction)===null||E===void 0?void 0:E.call(o,r)}:void 0}),{hoverProps:z}=hk({isDisabled:i||!m,onHoverStart(){xi()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r))}});return{optionProps:{...x,...ge(T,z),id:uy(t,r)},labelProps:{id:_},descriptionProps:{id:y},isFocused:M,isFocusVisible:M&&xi(),isSelected:s,isDisabled:i,isPressed:P,allowsSelection:C,hasAction:$}}function Z9(e){return e&&e.__esModule?e.default:e}var py={},gy={};gy={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var my={};my={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var hy={};hy={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var by={};by={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var vy={};vy={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var yy={};yy={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var $y={};$y={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var _y={};_y={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var xy={};xy={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var wy={};wy={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Ey={};Ey={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Sy={};Sy={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Dy={};Dy={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Py={};Py={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Ty={};Ty={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var ky={};ky={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Cy={};Cy={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Ay={};Ay={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Iy={};Iy={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Oy={};Oy={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var My={};My={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Fy={};Fy={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Ly={};Ly={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Ny={};Ny={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var zy={};zy={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Ry={};Ry={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Ky={};Ky={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Vy={};Vy={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var By={};By={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var jy={};jy={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Uy={};Uy={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Wy={};Wy={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Hy={};Hy={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Gy={};Gy={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},py={"ar-AE":gy,"bg-BG":my,"cs-CZ":hy,"da-DK":by,"de-DE":vy,"el-GR":yy,"en-US":$y,"es-ES":_y,"et-EE":xy,"fi-FI":wy,"fr-FR":Ey,"he-IL":Sy,"hr-HR":Dy,"hu-HU":Py,"it-IT":Ty,"ja-JP":ky,"ko-KR":Cy,"lt-LT":Ay,"lv-LV":Iy,"nb-NO":Oy,"nl-NL":My,"pl-PL":Fy,"pt-BR":Ly,"pt-PT":Ny,"ro-RO":zy,"ru-RU":Ry,"sk-SK":Ky,"sl-SI":Vy,"sr-SP":By,"sv-SE":jy,"tr-TR":Uy,"uk-UA":Wy,"zh-CN":Hy,"zh-TW":Gy};function fd(e,t,n){let{type:r="menu",isDisabled:o,trigger:a="press"}=e,i=ct(),{triggerProps:l,overlayProps:s}=tl({type:r},t,n),u=g=>{if(!o&&!(a==="longPress"&&!g.altKey)&&n&&n.current)switch(g.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),t.toggle("last");break}},d=$t(Z9(py)),{longPressProps:f}=Xm({isDisabled:o||a!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),m={onPressStart(g){g.pointerType!=="touch"&&g.pointerType!=="keyboard"&&!o&&t.toggle(g.pointerType==="virtual"?"first":null)},onPress(g){g.pointerType==="touch"&&!o&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?m:f,id:i,onKeyDown:u},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function Xr(e,t){let{inputElementType:n="input",isDisabled:r=!1,isRequired:o=!1,isReadOnly:a=!1,validationState:i,type:l="text",onChange:s=()=>{}}=e,{focusableProps:u}=Xc(e,t),{labelProps:d,fieldProps:f,descriptionProps:m,errorMessageProps:g}=sl(e),h=$n(e,{labelable:!0});const b={type:l,pattern:e.pattern};return{labelProps:d,inputProps:ge(h,n==="input"&&b,{disabled:r,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=>s(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,...u,...f}),descriptionProps:m,errorMessageProps:g}}function Yy(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function Q9(e,t,n){let r=Ce(d=>{let f=n.current,m;switch(d.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":m=f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentForward":m=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd+1):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentBackward":m=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart-1)+f.value.slice(f.selectionStart):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":m=f.value.slice(f.selectionStart);break;default:d.data!=null&&(m=f.value.slice(0,f.selectionStart)+d.data+f.value.slice(f.selectionEnd));break}(m==null||!t.validate(m))&&d.preventDefault()});c.useEffect(()=>{if(!Yy())return;let d=n.current;return d.addEventListener("beforeinput",r,!1),()=>{d.removeEventListener("beforeinput",r,!1)}},[n,r]);let o=Yy()?null:d=>{let f=d.target.value.slice(0,d.target.selectionStart)+d.data+d.target.value.slice(d.target.selectionEnd);t.validate(f)||d.preventDefault()},{labelProps:a,inputProps:i,descriptionProps:l,errorMessageProps:s}=Xr(e,n),u=c.useRef(null);return{inputProps:ge(i,{onBeforeInput:o,onCompositionStart(){let{value:d,selectionStart:f,selectionEnd:m}=n.current;u.current={value:d,selectionStart:f,selectionEnd:m}},onCompositionEnd(){if(!t.validate(n.current.value)){let{value:d,selectionStart:f,selectionEnd:m}=u.current;n.current.value=d,n.current.setSelectionRange(f,m),t.setInputValue(d)}}}),labelProps:a,descriptionProps:l,errorMessageProps:s}}function eA(e){return e&&e.__esModule?e.default:e}var qy={},Xy={};Xy={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var Jy={};Jy={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var Zy={};Zy={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var Qy={};Qy={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var e$={};e$={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var t$={};t$={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var n$={};n$={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var r$={};r$={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var o$={};o$={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var a$={};a$={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var i$={};i$={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} saisi, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var l$={};l$={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var s$={};s$={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var c$={};c$={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var u$={};u$={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var d$={};d$={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var f$={};f$={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var p$={};p$={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var g$={};g$={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var m$={};m$={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var h$={};h$={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var b$={};b$={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var v$={};v$={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var y$={};y$={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var $$={};$$={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var _$={};_$={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var x$={};x$={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var w$={};w$={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var E$={};E$={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var S$={};S$={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var D$={};D$={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var P$={};P$={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var T$={};T$={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var k$={};k$={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`},qy={"ar-AE":Xy,"bg-BG":Jy,"cs-CZ":Zy,"da-DK":Qy,"de-DE":e$,"el-GR":t$,"en-US":n$,"es-ES":r$,"et-EE":o$,"fi-FI":a$,"fr-FR":i$,"he-IL":l$,"hr-HR":s$,"hu-HU":c$,"it-IT":u$,"ja-JP":d$,"ko-KR":f$,"lt-LT":p$,"lv-LV":g$,"nb-NO":m$,"nl-NL":h$,"pl-PL":b$,"pt-BR":v$,"pt-PT":y$,"ro-RO":$$,"ru-RU":_$,"sk-SK":x$,"sl-SI":w$,"sr-SP":E$,"sv-SE":S$,"tr-TR":D$,"uk-UA":P$,"zh-CN":T$,"zh-TW":k$};function tA(e,t){let{buttonRef:n,popoverRef:r,inputRef:o,listBoxRef:a,keyboardDelegate:i,shouldFocusWrap:l,isReadOnly:s,isDisabled:u}=e,d=$t(eA(qy)),{menuTriggerProps:f,menuProps:m}=fd({type:"listbox",isDisabled:u||s},t,n);wl.set(t,{id:m.id});let g=c.useMemo(()=>i||new _l(t.collection,t.disabledKeys,a),[i,t.collection,t.disabledKeys,a]),{collectionProps:h}=ty({selectionManager:t.selectionManager,keyboardDelegate:g,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:l,ref:o,isVirtualized:!0}),b=R=>{switch(R.key){case"Enter":case"Tab":t.isOpen&&R.key==="Enter"&&R.preventDefault(),t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&R.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},v=R=>{var G;R.relatedTarget===(n==null?void 0:n.current)||!((G=r.current)===null||G===void 0)&&G.contains(R.relatedTarget)||(e.onBlur&&e.onBlur(R),t.setFocused(!1))},_=R=>{t.isFocused||(e.onFocus&&e.onFocus(R),t.setFocused(!0))},{labelProps:y,inputProps:x,descriptionProps:S,errorMessageProps:T}=Xr({...e,onChange:t.setInputValue,onKeyDown:!s&&Gt(t.isOpen&&h.onKeyDown,b,e.onKeyDown),onBlur:v,value:t.inputValue,onFocus:_,autoComplete:"off"},o),P=R=>{R.pointerType==="touch"&&(o.current.focus(),t.toggle(null,"manual"))},M=R=>{R.pointerType!=="touch"&&(o.current.focus(),t.toggle(R.pointerType==="keyboard"||R.pointerType==="virtual"?"first":null,"manual"))},$=Er({id:f.id,"aria-label":d.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),C=Er({id:m.id,"aria-label":d.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),z=c.useRef(0),E=R=>{if(u||s)return;if(R.timeStamp-z.current<500){R.preventDefault(),o.current.focus();return}let G=R.target.getBoundingClientRect(),te=R.changedTouches[0],ne=Math.ceil(G.left+.5*G.width),X=Math.ceil(G.top+.5*G.height);te.clientX===ne&&te.clientY===X&&(R.preventDefault(),o.current.focus(),t.toggle(null,"manual"),z.current=R.timeStamp)},K=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var I;let k=(I=K==null?void 0:K.parentKey)!==null&&I!==void 0?I:null;var j;let O=(j=t.selectionManager.focusedKey)!==null&&j!==void 0?j:null,Z=c.useRef(k),V=c.useRef(O);c.useEffect(()=>{if(fi()&&K!=null&&O!==V.current){let R=t.selectionManager.isSelected(O),G=k!=null?t.collection.getItem(k):null,te=(G==null?void 0:G["aria-label"])||(typeof(G==null?void 0:G.rendered)=="string"?G.rendered:"")||"",ne=d.format("focusAnnouncement",{isGroupChange:G&&k!==Z.current,groupTitle:te,groupCount:G?[...xl(G,t.collection)].length:0,optionText:K["aria-label"]||K.textValue||"",isSelected:R});Vr(ne)}Z.current=k,V.current=O});let q=cy(t.collection),B=c.useRef(q),U=c.useRef(t.isOpen);c.useEffect(()=>{let R=t.isOpen!==U.current&&(t.selectionManager.focusedKey==null||fi());if(t.isOpen&&(R||q!==B.current)){let G=d.format("countAnnouncement",{optionCount:q});Vr(G)}B.current=q,U.current=t.isOpen});let W=c.useRef(t.selectedKey);return c.useEffect(()=>{if(fi()&&t.isFocused&&t.selectedItem&&t.selectedKey!==W.current){let R=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",G=d.format("selectedAnnouncement",{optionText:R});Vr(G)}W.current=t.selectedKey}),c.useEffect(()=>{if(t.isOpen)return x0([o.current,r.current])},[t.isOpen,o,r]),{labelProps:y,buttonProps:{...f,...$,excludeFromTabOrder:!0,onPress:P,onPressStart:M,isDisabled:u||s},inputProps:ge(x,{role:"combobox","aria-expanded":f["aria-expanded"],"aria-controls":t.isOpen?m.id:void 0,"aria-autocomplete":"list","aria-activedescendant":K?uy(t,K.key):void 0,onTouchEnd:E,autoCorrect:"off",spellCheck:"false"}),listBoxProps:ge(m,C,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0}),descriptionProps:S,errorMessageProps:T}}class pd{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){let n=this.keyMap.get(t);return(n==null?void 0:n.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)n(i)};for(let a of t)n(a);let r,o=0;for(let[a,i]of this.keyMap)r?(r.nextKey=a,i.prevKey=r.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),r=i,r.nextKey=void 0;this.lastKey=r==null?void 0:r.key}}class wt extends Set{constructor(t,n,r){super(t),t instanceof wt?(this.anchorKey=n||t.anchorKey,this.currentKey=r||t.currentKey):(this.anchorKey=n,this.currentKey=r)}}function nA(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function rA(e){let{selectionMode:t="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:r,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=c.useRef(!1),[,l]=c.useState(!1),s=c.useRef(null),u=c.useRef(null),[,d]=c.useState(null),f=c.useMemo(()=>C$(e.selectedKeys),[e.selectedKeys]),m=c.useMemo(()=>C$(e.defaultSelectedKeys,new wt),[e.defaultSelectedKeys]),[g,h]=Mt(f,m,e.onSelectionChange),b=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,_]=c.useState(o);o==="replace"&&v==="toggle"&&typeof g=="object"&&g.size===0&&_("replace");let y=c.useRef(o);return c.useEffect(()=>{o!==y.current&&(_(o),y.current=o)},[o]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:v,setSelectionBehavior:_,get isFocused(){return i.current},setFocused(x){i.current=x,l(x)},get focusedKey(){return s.current},get childFocusStrategy(){return u.current},setFocusedKey(x,S="first"){s.current=x,u.current=S,d(x)},selectedKeys:g,setSelectedKeys(x){(r||!nA(x,g))&&h(x)},disabledKeys:b,disabledBehavior:a}}function C$(e,t){return e?e==="all"?"all":new wt(e):t}class oA{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,n){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,n)}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(),n=this.state.selectedKeys;return this._isSelectAll=t.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&dd(this.collection,r,t)<0)&&(t=r)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&dd(this.collection,r,t)>0)&&(t=r)}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 n;if(this.state.selectedKeys==="all")n=new wt([t],t,t);else{let r=this.state.selectedKeys,o=r.anchorKey||t;n=new wt(r,o,t);for(let a of this.getKeyRange(o,r.currentKey||t))n.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&n.add(a)}this.state.setSelectedKeys(n)}getKeyRange(t,n){let r=this.collection.getItem(t),o=this.collection.getItem(n);return r&&o?dd(this.collection,r,o)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){let r=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&r.push(o),o===n)return r;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.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 n=new wt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let n=this.canSelectItem(t)?new wt([t],t,t):new wt;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new wt;for(let r of t)if(r=this.getKey(r),r!=null&&(n.add(r),this.selectionMode==="single"))break;this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=[],n=r=>{for(;r;){if(this.canSelectItem(r)){let o=this.collection.getItem(r);o.type==="item"&&t.push(r),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&n(q9(xl(o,this.collection)).key)}r=this.collection.getKeyAfter(r)}};return n(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new wt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(t.size!==n.size)return!1;for(let r of t)if(!n.has(r))return!1;for(let r of n)if(!t.has(r))return!1;return!0}canSelectItem(t){var n;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||!(r==null||(n=r.props)===null||n===void 0)&&n.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var n,r;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled))}isLink(t){var n,r;return!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.href)}getItemProps(t){var n;return(n=this.collection.getItem(t))===null||n===void 0?void 0:n.props}constructor(t,n,r){this.collection=t,this.state=n;var o;this.allowsCellSelection=(o=r==null?void 0:r.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}function A$(e){let{filter:t}=e,n=rA(e),r=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=c.useCallback(u=>t?new pd(t(u)):new pd(u),[t]),a=c.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Y9(e,o,a),l=c.useMemo(()=>new oA(i,n),[i,n]);const s=c.useRef(null);return c.useEffect(()=>{if(n.focusedKey!=null&&!i.getItem(n.focusedKey)){const u=s.current.getItem(n.focusedKey),d=[...s.current.getKeys()].map(b=>{const v=s.current.getItem(b);return v.type==="item"?v:null}).filter(b=>b!==null),f=[...i.getKeys()].map(b=>{const v=i.getItem(b);return v.type==="item"?v:null}).filter(b=>b!==null),m=d.length-f.length;let g=Math.min(m>1?Math.max(u.index-m+1,0):u.index,f.length-1),h;for(;g>=0;){if(!l.isDisabled(f[g].key)){h=f[g];break}g<f.length-1?g++:(g>u.index&&(g=u.index),g--)}n.setFocusedKey(h?h.key:null)}s.current=i},[i,l,n,n.focusedKey]),{collection:i,disabledKeys:r,selectionManager:l}}function I$(e){var t;let[n,r]=Mt(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=c.useMemo(()=>n!=null?[n]:[],[n]),{collection:a,disabledKeys:i,selectionManager:l}=A$({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:u=>{var d;let f=(d=u.values().next().value)!==null&&d!==void 0?d:null;f===n&&e.onSelectionChange&&e.onSelectionChange(f),r(f)}}),s=n!=null?a.getItem(n):null;return{collection:a,disabledKeys:i,selectionManager:l,selectedKey:n,setSelectedKey:r,selectedItem:s}}function O$(e){let t=Kr(e),[n,r]=c.useState(null);return{focusStrategy:n,...t,open(o=null){r(o),t.open()},toggle(o=null){r(o),t.toggle()}}}function aA(e){var t;let{defaultFilter:n,menuTrigger:r="input",allowsEmptyCollection:o=!1,allowsCustomValue:a,shouldCloseOnBlur:i=!0}=e,[l,s]=c.useState(!1),[u,d]=c.useState(!1);var f;let[m,g]=Mt(e.inputValue,(f=e.defaultInputValue)!==null&&f!==void 0?f:"",e.onInputChange),h=le=>{e.onSelectionChange&&e.onSelectionChange(le),le===y&&(V(),O())};var b;let{collection:v,selectionManager:_,selectedKey:y,setSelectedKey:x,selectedItem:S,disabledKeys:T}=I$({...e,onSelectionChange:h,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),P=v,M=c.useMemo(()=>e.items!=null||!n?v:iA(v,m,n),[v,m,n,e.items]),[$,C]=c.useState(M),z=c.useRef("focus"),K=O$({...e,onOpenChange:le=>{e.onOpenChange&&e.onOpenChange(le,le?z.current:void 0),_.setFocused(le),le||_.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),I=(le,fe)=>{let De=fe==="manual"||fe==="focus"&&r==="focus";(o||M.size>0||De&&P.size>0||e.items)&&(De&&!K.isOpen&&e.items===void 0&&s(!0),z.current=fe,K.open(le))},k=(le,fe)=>{let De=fe==="manual"||fe==="focus"&&r==="focus";!(o||M.size>0||De&&P.size>0||e.items)&&!K.isOpen||(De&&!K.isOpen&&e.items===void 0&&s(!0),K.isOpen||(z.current=fe),j(le))},j=c.useCallback(le=>{K.isOpen&&C(M),K.toggle(le)},[K,M]),O=c.useCallback(()=>{K.isOpen&&(C(M),K.close())},[K,M]),Z=c.useRef(m),V=()=>{var le,fe;let De=(fe=(le=v.getItem(y))===null||le===void 0?void 0:le.textValue)!==null&&fe!==void 0?fe:"";Z.current=De,g(De)},q=c.useRef(!0);var B,U;let W=c.useRef((U=(B=e.selectedKey)!==null&&B!==void 0?B:e.defaultSelectedKey)!==null&&U!==void 0?U:null);var R;let G=c.useRef((R=(t=v.getItem(y))===null||t===void 0?void 0:t.textValue)!==null&&R!==void 0?R:"");c.useEffect(()=>{var le;u&&(M.size>0||o)&&!K.isOpen&&m!==Z.current&&r!=="manual"&&I(null,"input"),!l&&!o&&K.isOpen&&M.size===0&&O(),y!=null&&y!==W.current&&O(),m!==Z.current&&(_.setFocusedKey(null),s(!1),m===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&x(null)),q.current&&e.inputValue===void 0&&e.defaultInputValue===void 0&&V(),y!==W.current&&(e.inputValue===void 0||e.selectedKey===void 0)?V():Z.current=m;var fe;let De=(fe=(le=v.getItem(y))===null||le===void 0?void 0:le.textValue)!==null&&fe!==void 0?fe:"";!u&&y!=null&&e.inputValue===void 0&&y===W.current&&G.current!==De&&(Z.current=De,g(De)),q.current=!1,W.current=y,G.current=De});let te=()=>{a&&y==null?ne():X()},ne=()=>{W.current=null,x(null),O()},X=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var le;e.onSelectionChange(y);var fe;let De=(fe=(le=v.getItem(y))===null||le===void 0?void 0:le.textValue)!==null&&fe!==void 0?fe:"";Z.current=De,O()}else V(),O()},H=()=>{K.isOpen&&_.focusedKey!=null?y===_.focusedKey?X():x(_.focusedKey):a?ne():X()},J=()=>{var le,fe;let De=(fe=(le=v.getItem(y))===null||le===void 0?void 0:le.textValue)!==null&&fe!==void 0?fe:"";a&&m!==De?ne():X(),O()},ie=le=>{le?r==="focus"&&I(null,"focus"):i&&J(),d(le)},me=c.useMemo(()=>K.isOpen?l?P:M:$,[K.isOpen,P,M,l,$]);return{...K,toggle:k,open:I,close:J,selectionManager:_,selectedKey:y,setSelectedKey:x,disabledKeys:T,isFocused:u,setFocused:ie,selectedItem:S,collection:me,inputValue:m,setInputValue:g,commit:H,revert:te}}function iA(e,t,n){return new pd(M$(e,e,t,n))}function M$(e,t,n,r){let o=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=M$(e,xl(a,e),n,r);[...i].some(l=>l.type==="item")&&o.push({...a,childNodes:i})}else a.type==="item"&&r(a.textValue,n)?o.push({...a}):a.type!=="item"&&o.push({...a});return o}const gd=F.default(pe)`
1526
+ `,ld=e=>{const{children:t,dir:n="ltr",tooltipContent:r}=e,o=E2(e),a=c.useRef(null),{labelProps:i,inputProps:l}=S2(e,o,a),s=n==="rtl"?"row-reverse":"row",u=l["aria-invalid"]===!0;if(!t){if(!e["aria-label"])throw new Error("If no children are provided, an aria-label must be provided");return Q(pe,{flexDirection:s,position:"relative",as:"span",children:[w(Qv,{...l,ref:a,$invalid:u}),l.checked?w(Zv,{}):null]})}const d=l.disabled?"not-allowed":"pointer";return Q(Re,{...i,pointer:d,flexDirection:s,children:[Q(pe,{flexDirection:s,position:"relative",as:"span",children:[w(Qv,{...l,ref:a,$invalid:u}),l.checked?w(Zv,{}):null]}),Q(pe,{as:"span",children:[t,w(pe,{as:"span",ml:p.spacing_100,mr:p.spacing_100,children:r?w(Xe,{children:r}):null})]})]})};function ey(e){return fi()?e.altKey:e.ctrlKey}function Yr(e){return Xt()?e.metaKey:e.ctrlKey}const V9=1e3;function sd(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=c.useRef({search:"",timeout:null}).current,a=i=>{let l=B9(i.key);if(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;l===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=l;let s=t.getKeyForSearch(o.search,n.focusedKey);s==null&&(s=t.getKeyForSearch(o.search)),s!=null&&(n.setFocusedKey(s),r&&r(s)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},V9)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function B9(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ty(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:u=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:m,scrollRef:g=r}=e,{direction:h}=ot(),b=$=>{if($.altKey&&$.key==="Tab"&&$.preventDefault(),!r.current.contains($.target))return;const C=(V,q)=>{V!=null&&(t.setFocusedKey(V,q),$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(V):s&&!ey($)&&t.replaceSelection(V))};switch($.key){case"ArrowDown":if(n.getKeyBelow){var N,E;$.preventDefault();let V=t.focusedKey!=null?n.getKeyBelow(t.focusedKey):(N=n.getFirstKey)===null||N===void 0?void 0:N.call(n);V==null&&a&&(V=(E=n.getFirstKey)===null||E===void 0?void 0:E.call(n,t.focusedKey)),C(V)}break;case"ArrowUp":if(n.getKeyAbove){var K,I;$.preventDefault();let V=t.focusedKey!=null?n.getKeyAbove(t.focusedKey):(K=n.getLastKey)===null||K===void 0?void 0:K.call(n);V==null&&a&&(V=(I=n.getLastKey)===null||I===void 0?void 0:I.call(n,t.focusedKey)),C(V)}break;case"ArrowLeft":if(n.getKeyLeftOf){var k,j;$.preventDefault();let V=n.getKeyLeftOf(t.focusedKey);V==null&&a&&(V=h==="rtl"?(k=n.getFirstKey)===null||k===void 0?void 0:k.call(n,t.focusedKey):(j=n.getLastKey)===null||j===void 0?void 0:j.call(n,t.focusedKey)),C(V,h==="rtl"?"first":"last")}break;case"ArrowRight":if(n.getKeyRightOf){var O,J;$.preventDefault();let V=n.getKeyRightOf(t.focusedKey);V==null&&a&&(V=h==="rtl"?(O=n.getLastKey)===null||O===void 0?void 0:O.call(n,t.focusedKey):(J=n.getFirstKey)===null||J===void 0?void 0:J.call(n,t.focusedKey)),C(V,h==="rtl"?"last":"first")}break;case"Home":if(n.getFirstKey){$.preventDefault();let V=n.getFirstKey(t.focusedKey,Yr($));t.setFocusedKey(V),Yr($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(V):s&&t.replaceSelection(V)}break;case"End":if(n.getLastKey){$.preventDefault();let V=n.getLastKey(t.focusedKey,Yr($));t.setFocusedKey(V),Yr($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(V):s&&t.replaceSelection(V)}break;case"PageDown":if(n.getKeyPageBelow){$.preventDefault();let V=n.getKeyPageBelow(t.focusedKey);C(V)}break;case"PageUp":if(n.getKeyPageAbove){$.preventDefault();let V=n.getKeyPageAbove(t.focusedKey);C(V)}break;case"a":Yr($)&&t.selectionMode==="multiple"&&l!==!0&&($.preventDefault(),t.selectAll());break;case"Escape":$.preventDefault(),i||t.clearSelection();break;case"Tab":if(!f){if($.shiftKey)r.current.focus();else{let V=tn(r.current,{tabbable:!0}),q,B;do B=V.lastChild(),B&&(q=B);while(B);q&&!q.contains(document.activeElement)&&Mt(q)}break}}},v=c.useRef({top:0,left:0});Sr(g,"scroll",m?null:()=>{v.current={top:g.current.scrollTop,left:g.current.scrollLeft}});let _=$=>{if(t.isFocused){$.currentTarget.contains($.target)||t.setFocused(!1);return}if($.currentTarget.contains($.target)){if(t.setFocused(!0),t.focusedKey==null){let E=I=>{I!=null&&(t.setFocusedKey(I),s&&t.replaceSelection(I))},K=$.relatedTarget;var C,N;K&&$.currentTarget.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING?E((C=t.lastSelectedKey)!==null&&C!==void 0?C:n.getLastKey()):E((N=t.firstSelectedKey)!==null&&N!==void 0?N:n.getFirstKey())}else m||(g.current.scrollTop=v.current.top,g.current.scrollLeft=v.current.left);if(!m&&t.focusedKey!=null){let E=g.current.querySelector(`[data-key="${t.focusedKey}"]`);E&&(Mt(E),wi()==="keyboard"&&Ac(E,{containingElement:r.current}))}}},y=$=>{$.currentTarget.contains($.relatedTarget)||t.setFocused(!1)};const x=c.useRef(o);c.useEffect(()=>{if(x.current){let $=null;o==="first"&&($=n.getFirstKey()),o==="last"&&($=n.getLastKey());let C=t.selectedKeys;C.size&&($=C.values().next().value),t.setFocused(!0),t.setFocusedKey($),$==null&&!d&&Vo(r.current)}x.current=!1},[]);let S=c.useRef(t.focusedKey);c.useEffect(()=>{let $=wi();if(t.isFocused&&t.focusedKey!=null&&(g!=null&&g.current)){let C=g.current.querySelector(`[data-key="${t.focusedKey}"]`);C&&$==="keyboard"&&(m||Im(g.current,C),Ac(C,{containingElement:r.current}))}t.isFocused&&t.focusedKey==null&&S.current!=null&&Vo(r.current),S.current=t.focusedKey},[m,g,t.focusedKey,t.isFocused,r]);let T={onKeyDown:b,onFocus:_,onBlur:y,onMouseDown($){g.current===$.target&&$.preventDefault()}},{typeSelectProps:P}=sd({keyboardDelegate:n,selectionManager:t});u||(T=me(P,T));let M;return d||(M=t.focusedKey==null?0:-1),{collectionProps:{...T,tabIndex:M}}}function j9(e){let{selectionManager:t,key:n,ref:r,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:i,isDisabled:l,onAction:s,allowsDifferentPressOrigin:u}=e,d=E=>{if(E.pointerType==="keyboard"&&ey(E))t.toggleSelection(n);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(n)&&!t.disallowEmptySelection?t.toggleSelection(n):t.replaceSelection(n):E&&E.shiftKey?t.extendSelection(n):t.selectionBehavior==="toggle"||E&&(Yr(E)||E.pointerType==="touch"||E.pointerType==="virtual")?t.toggleSelection(n):t.replaceSelection(n)}};c.useEffect(()=>{n===t.focusedKey&&t.isFocused&&!a&&(i?i():document.activeElement!==r.current&&Vo(r.current))},[r,n,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),l=l||t.isDisabled(n);let f={};!a&&!l?f={tabIndex:n===t.focusedKey?0:-1,onFocus(E){E.target===r.current&&t.setFocusedKey(n)}}:l&&(f.onMouseDown=E=>{E.preventDefault()});let m=!l&&t.canSelectItem(n),g=s&&!l,h=g&&(t.selectionBehavior==="replace"?!m:t.isEmpty),b=g&&m&&t.selectionBehavior==="replace",v=h||b,_=c.useRef(null),y=v&&m,x=c.useRef(!1),S=c.useRef(!1),T={};o?(T.onPressStart=E=>{_.current=E.pointerType,x.current=y,E.pointerType==="keyboard"&&(!v||ry())&&d(E)},u?(T.onPressUp=E=>{E.pointerType!=="keyboard"&&d(E)},T.onPress=h?()=>s():null):T.onPress=E=>{if(h||b&&E.pointerType!=="mouse"){if(E.pointerType==="keyboard"&&!ny())return;s()}else E.pointerType!=="keyboard"&&d(E)}):(T.onPressStart=E=>{_.current=E.pointerType,x.current=y,S.current=h,(E.pointerType==="mouse"&&!h||E.pointerType==="keyboard"&&(!s||ry()))&&d(E)},T.onPress=E=>{(E.pointerType==="touch"||E.pointerType==="pen"||E.pointerType==="virtual"||E.pointerType==="keyboard"&&v&&ny()||E.pointerType==="mouse"&&S.current)&&(v?s():d(E))}),f["data-key"]=n,T.preventFocusOnPress=a;let{pressProps:P,isPressed:M}=Pr(T),$=b?E=>{_.current==="mouse"&&(E.stopPropagation(),E.preventDefault(),s())}:void 0,{longPressProps:C}=Xm({isDisabled:!y,onLongPress(E){E.pointerType==="touch"&&(d(E),t.setSelectionBehavior("toggle"))}});return{itemProps:me(f,m||h?P:{},y?C:{},{onDoubleClick:$,onDragStartCapture:E=>{_.current==="touch"&&x.current&&E.preventDefault()}}),isPressed:M,isSelected:t.isSelected(n),isFocused:t.isFocused&&t.focusedKey===n,isDisabled:l,allowsSelection:m,hasAction:v}}function ny(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function ry(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class _l{getNextKey(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)}return null}getPreviousKey(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)}return null}findKey(t,n,r){let o=this.getItem(t);if(!o)return null;let a=o.getBoundingClientRect();do t=n(t),o=this.getItem(t);while(o&&r(a,o.getBoundingClientRect()));return t}isSameRow(t,n){return t.top===n.top||t.left!==n.left}isSameColumn(t,n){return t.left===n.left||t.top!==n.top}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getNextKey(n),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getPreviousKey(n),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,n){return n?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}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)}return null}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)}return null}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let n=this.ref.current,r=this.getItem(t);if(!r)return null;if(!Lo(n))return this.getFirstKey();let o=n.getBoundingClientRect(),a=r.getBoundingClientRect();if(this.orientation==="horizontal"){let i=o.x-n.scrollLeft,l=Math.max(0,a.x-i+a.width-o.width);for(;r&&a.x-i>l;)t=this.getKeyAbove(t),r=t==null?null:this.getItem(t),a=r==null?void 0:r.getBoundingClientRect()}else{let i=o.y-n.scrollTop,l=Math.max(0,a.y-i+a.height-o.height);for(;r&&a.y-i>l;)t=this.getKeyAbove(t),r=t==null?null:this.getItem(t),a=r==null?void 0:r.getBoundingClientRect()}return t??this.getFirstKey()}getKeyPageBelow(t){let n=this.ref.current,r=this.getItem(t);if(!r)return null;if(!Lo(n))return this.getLastKey();let o=n.getBoundingClientRect(),a=r.getBoundingClientRect();if(this.orientation==="horizontal"){let i=o.x-n.scrollLeft,l=Math.min(n.scrollWidth,a.x-i-a.width+o.width);for(;r&&a.x-i<l;)t=this.getKeyBelow(t),r=t==null?null:this.getItem(t),a=r==null?void 0:r.getBoundingClientRect()}else{let i=o.y-n.scrollTop,l=Math.min(n.scrollHeight,a.y-i-a.height+o.height);for(;r&&a.y-i<l;)t=this.getKeyBelow(t),r=t==null?null:this.getItem(t),a=r==null?void 0:r.getBoundingClientRect()}return t??this.getLastKey()}getKeyForSearch(t,n){if(!this.collator)return null;let r=this.collection,o=n||this.getFirstKey();for(;o!=null;){let a=r.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){if(t.length===1){let n=t[0];this.collection=n.collection,this.ref=n.ref,this.disabledKeys=n.disabledKeys||new Set,this.orientation=n.orientation,this.direction=n.direction,this.layout=n.layout||"stack"}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical";this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function U9(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:o,keyboardDelegate:a,autoFocus:i,shouldFocusWrap:l,isVirtualized:s,disallowEmptySelection:u,selectOnFocus:d=t.selectionBehavior==="replace",disallowTypeAhead:f,shouldUseVirtualFocus:m,allowsTabNavigation:g}=e,h=el({usage:"search",sensitivity:"base"}),b=t.disabledBehavior,v=c.useMemo(()=>a||new _l(n,b==="selection"?new Set:r,o,h),[a,n,r,o,h,b]),{collectionProps:_}=ty({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:l,disallowEmptySelection:u,selectOnFocus:d,disallowTypeAhead:f,shouldUseVirtualFocus:m,allowsTabNavigation:g,isVirtualized:s,scrollRef:o});return{listProps:_}}function oy(e){return null}oy.getCollectionNode=function*(t,n){let{childItems:r,title:o,children:a}=t,i=t.title||t.children,l=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!l&&!(n!=null&&n.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:l,"aria-label":t["aria-label"],hasChildNodes:W9(t),*childNodes(){if(r)for(let s of r)yield{type:"item",value:s};else if(o){let s=[];D.default.Children.forEach(a,u=>{s.push({type:"item",element:u})}),yield*s}}}};function W9(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&D.default.Children.count(e.children)>0)}let qr=oy;function ay(e){return null}ay.getCollectionNode=function*(t){let{children:n,title:r,items:o}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:r,"aria-label":t["aria-label"],*childNodes(){if(typeof n=="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:n}}else{let a=[];D.default.Children.forEach(n,i=>{a.push({type:"item",element:i})}),yield*a}}}};let cd=ay;class H9{build(t,n){return this.context=n,iy(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:r}=t;if(typeof n=="function"){if(!r)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:n})}else{let o=[];D.default.Children.forEach(n,i=>{o.push(i)});let a=0;for(let i of o){let l=this.getFullNode({element:i,index:a},{});for(let s of l)a++,yield s}}}getKey(t,n,r,o){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${o}${n.key}`;let a=n.value;if(a!=null){var i;let l=(i=a.key)!==null&&i!==void 0?i:a.id;if(l==null)throw new Error("No key found for item");return l}return o?`${o}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,r,o){let a=t.element;if(!a&&t.value&&n&&n.renderer){let s=this.cache.get(t.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=t.index,s.parentKey=o?o.key:null,yield s;return}a=n.renderer(t.value)}if(D.default.isValidElement(a)){let s=a.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let m=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${m}> in collection.`)}let u=s.getCollectionNode(a.props,this.context),d=t.index,f=u.next();for(;!f.done&&f.value;){let m=f.value;t.index=d;let g=m.key;g||(g=m.element?null:this.getKey(a,t,n,r));let b=[...this.getFullNode({...m,key:g,index:d,wrapper:G9(t.wrapper,m.wrapper)},this.getChildState(n,m),r?`${r}${a.key}`:a.key,o)];for(let v of b){if(v.value=m.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${ud(v.type)}> in <${ud(o.type)}>. Only <${ud(t.type)}> is supported.`);d++,yield v}f=u.next(b)}return}if(t.key==null)return;let i=this,l={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:iy(function*(){if(!t.hasChildNodes)return;let s=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${l.key}${u.key}`),u.index=s;let d=i.getFullNode(u,i.getChildState(n,u),l.key,l);for(let f of d)s++,yield f}})};yield l}constructor(){this.cache=new WeakMap}}function iy(e){let t=[],n=null;return{*[Symbol.iterator](){for(let r of t)yield r;n||(n=e());for(let r of n)t.push(r),yield r}}}function G9(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function ud(e){return e[0].toUpperCase()+e.slice(1)}function Y9(e,t,n){let r=c.useMemo(()=>new H9,[]),{children:o,items:a,collection:i}=e;return c.useMemo(()=>{if(i)return i;let s=r.build({children:o,items:a},n);return t(s)},[r,o,a,i,n,t])}function xl(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function q9(e){return X9(e,0)}function X9(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function dd(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...ly(e,t),t],o=[...ly(e,n),n],a=r.slice(0,o.length).findIndex((i,l)=>i!==o[l]);return a!==-1?(t=r[a],n=o[a],t.index-n.index):r.findIndex(i=>i===n)>=0?1:(o.findIndex(i=>i===t)>=0,-1)}function ly(e,t){let n=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),n.unshift(t);return n}const sy=new WeakMap;function cy(e){let t=sy.get(e);if(t!=null)return t;t=0;let n=r=>{for(let o of r)o.type==="section"?n(xl(o,e)):t++};return n(e),sy.set(e,t),t}const wl=new WeakMap;function J9(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function uy(e,t){let n=wl.get(e);if(!n)throw new Error("Unknown list");return`${n.id}-option-${J9(t)}`}function dy(e,t,n){let r=_n(e,{labelable:!0}),{listProps:o}=U9({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=Ko({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=ct(e.id);wl.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:l,fieldProps:s}=$v({...e,id:i,labelElementType:"span"});return{labelProps:l,listBoxProps:me(r,a,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...me(s,o)})}}function fy(e,t,n){let{key:r}=e,o=wl.get(t);var a;let i=(a=e.isDisabled)!==null&&a!==void 0?a:t.disabledKeys.has(r);var l;let s=(l=e.isSelected)!==null&&l!==void 0?l:t.selectionManager.isSelected(r);var u;let d=(u=e.shouldSelectOnPressUp)!==null&&u!==void 0?u:o==null?void 0:o.shouldSelectOnPressUp;var f;let m=(f=e.shouldFocusOnHover)!==null&&f!==void 0?f:o==null?void 0:o.shouldFocusOnHover;var g;let h=(g=e.shouldUseVirtualFocus)!==null&&g!==void 0?g:o==null?void 0:o.shouldUseVirtualFocus;var b;let v=(b=e.isVirtualized)!==null&&b!==void 0?b:o==null?void 0:o.isVirtualized,_=Oo(),y=Oo(),x={role:"option","aria-disabled":i||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?s:void 0};if(Xt()&&Ec()||(x["aria-label"]=e["aria-label"],x["aria-labelledby"]=_,x["aria-describedby"]=y),v){var S;let E=Number((S=t.collection.getItem(r))===null||S===void 0?void 0:S.index);x["aria-posinset"]=Number.isNaN(E)?void 0:E+1,x["aria-setsize"]=cy(t.collection)}let{itemProps:T,isPressed:P,isFocused:M,hasAction:$,allowsSelection:C}=j9({selectionManager:t.selectionManager,key:r,ref:n,shouldSelectOnPressUp:d,allowsDifferentPressOrigin:d&&m,isVirtualized:v,shouldUseVirtualFocus:h,isDisabled:i,onAction:o!=null&&o.onAction?()=>{var E;return o==null||(E=o.onAction)===null||E===void 0?void 0:E.call(o,r)}:void 0}),{hoverProps:N}=hk({isDisabled:i||!m,onHoverStart(){xi()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r))}});return{optionProps:{...x,...me(T,N),id:uy(t,r)},labelProps:{id:_},descriptionProps:{id:y},isFocused:M,isFocusVisible:M&&xi(),isSelected:s,isDisabled:i,isPressed:P,allowsSelection:C,hasAction:$}}function Z9(e){return e&&e.__esModule?e.default:e}var py={},gy={};gy={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var my={};my={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var hy={};hy={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var by={};by={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var vy={};vy={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var yy={};yy={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var $y={};$y={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var _y={};_y={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var xy={};xy={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var wy={};wy={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Ey={};Ey={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Sy={};Sy={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Dy={};Dy={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Py={};Py={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Ty={};Ty={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var ky={};ky={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Cy={};Cy={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Ay={};Ay={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Iy={};Iy={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Oy={};Oy={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var My={};My={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Fy={};Fy={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Ly={};Ly={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Ny={};Ny={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var zy={};zy={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Ry={};Ry={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Ky={};Ky={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Vy={};Vy={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var By={};By={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var jy={};jy={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Uy={};Uy={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Wy={};Wy={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Hy={};Hy={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Gy={};Gy={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},py={"ar-AE":gy,"bg-BG":my,"cs-CZ":hy,"da-DK":by,"de-DE":vy,"el-GR":yy,"en-US":$y,"es-ES":_y,"et-EE":xy,"fi-FI":wy,"fr-FR":Ey,"he-IL":Sy,"hr-HR":Dy,"hu-HU":Py,"it-IT":Ty,"ja-JP":ky,"ko-KR":Cy,"lt-LT":Ay,"lv-LV":Iy,"nb-NO":Oy,"nl-NL":My,"pl-PL":Fy,"pt-BR":Ly,"pt-PT":Ny,"ro-RO":zy,"ru-RU":Ry,"sk-SK":Ky,"sl-SI":Vy,"sr-SP":By,"sv-SE":jy,"tr-TR":Uy,"uk-UA":Wy,"zh-CN":Hy,"zh-TW":Gy};function fd(e,t,n){let{type:r="menu",isDisabled:o,trigger:a="press"}=e,i=ct(),{triggerProps:l,overlayProps:s}=tl({type:r},t,n),u=g=>{if(!o&&!(a==="longPress"&&!g.altKey)&&n&&n.current)switch(g.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),t.toggle("last");break}},d=$t(Z9(py)),{longPressProps:f}=Xm({isDisabled:o||a!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),m={onPressStart(g){g.pointerType!=="touch"&&g.pointerType!=="keyboard"&&!o&&t.toggle(g.pointerType==="virtual"?"first":null)},onPress(g){g.pointerType==="touch"&&!o&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?m:f,id:i,onKeyDown:u},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function Xr(e,t){let{inputElementType:n="input",isDisabled:r=!1,isRequired:o=!1,isReadOnly:a=!1,validationState:i,type:l="text",onChange:s=()=>{}}=e,{focusableProps:u}=Xc(e,t),{labelProps:d,fieldProps:f,descriptionProps:m,errorMessageProps:g}=sl(e),h=_n(e,{labelable:!0});const b={type:l,pattern:e.pattern};return{labelProps:d,inputProps:me(h,n==="input"&&b,{disabled:r,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=>s(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,...u,...f}),descriptionProps:m,errorMessageProps:g}}function Yy(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function Q9(e,t,n){let r=Ce(d=>{let f=n.current,m;switch(d.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":m=f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentForward":m=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd+1):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentBackward":m=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart-1)+f.value.slice(f.selectionStart):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":m=f.value.slice(f.selectionStart);break;default:d.data!=null&&(m=f.value.slice(0,f.selectionStart)+d.data+f.value.slice(f.selectionEnd));break}(m==null||!t.validate(m))&&d.preventDefault()});c.useEffect(()=>{if(!Yy())return;let d=n.current;return d.addEventListener("beforeinput",r,!1),()=>{d.removeEventListener("beforeinput",r,!1)}},[n,r]);let o=Yy()?null:d=>{let f=d.target.value.slice(0,d.target.selectionStart)+d.data+d.target.value.slice(d.target.selectionEnd);t.validate(f)||d.preventDefault()},{labelProps:a,inputProps:i,descriptionProps:l,errorMessageProps:s}=Xr(e,n),u=c.useRef(null);return{inputProps:me(i,{onBeforeInput:o,onCompositionStart(){let{value:d,selectionStart:f,selectionEnd:m}=n.current;u.current={value:d,selectionStart:f,selectionEnd:m}},onCompositionEnd(){if(!t.validate(n.current.value)){let{value:d,selectionStart:f,selectionEnd:m}=u.current;n.current.value=d,n.current.setSelectionRange(f,m),t.setInputValue(d)}}}),labelProps:a,descriptionProps:l,errorMessageProps:s}}function eA(e){return e&&e.__esModule?e.default:e}var qy={},Xy={};Xy={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var Jy={};Jy={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var Zy={};Zy={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var Qy={};Qy={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var e$={};e$={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var t$={};t$={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var n$={};n$={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var r$={};r$={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var o$={};o$={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var a$={};a$={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var i$={};i$={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} saisi, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var l$={};l$={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var s$={};s$={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var c$={};c$={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var u$={};u$={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var d$={};d$={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var f$={};f$={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var p$={};p$={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var g$={};g$={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var m$={};m$={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var h$={};h$={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var b$={};b$={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var v$={};v$={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var y$={};y$={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var $$={};$$={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var _$={};_$={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var x$={};x$={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var w$={};w$={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var E$={};E$={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var S$={};S$={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var D$={};D$={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var P$={};P$={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var T$={};T$={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var k$={};k$={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`},qy={"ar-AE":Xy,"bg-BG":Jy,"cs-CZ":Zy,"da-DK":Qy,"de-DE":e$,"el-GR":t$,"en-US":n$,"es-ES":r$,"et-EE":o$,"fi-FI":a$,"fr-FR":i$,"he-IL":l$,"hr-HR":s$,"hu-HU":c$,"it-IT":u$,"ja-JP":d$,"ko-KR":f$,"lt-LT":p$,"lv-LV":g$,"nb-NO":m$,"nl-NL":h$,"pl-PL":b$,"pt-BR":v$,"pt-PT":y$,"ro-RO":$$,"ru-RU":_$,"sk-SK":x$,"sl-SI":w$,"sr-SP":E$,"sv-SE":S$,"tr-TR":D$,"uk-UA":P$,"zh-CN":T$,"zh-TW":k$};function tA(e,t){let{buttonRef:n,popoverRef:r,inputRef:o,listBoxRef:a,keyboardDelegate:i,shouldFocusWrap:l,isReadOnly:s,isDisabled:u}=e,d=$t(eA(qy)),{menuTriggerProps:f,menuProps:m}=fd({type:"listbox",isDisabled:u||s},t,n);wl.set(t,{id:m.id});let g=c.useMemo(()=>i||new _l(t.collection,t.disabledKeys,a),[i,t.collection,t.disabledKeys,a]),{collectionProps:h}=ty({selectionManager:t.selectionManager,keyboardDelegate:g,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:l,ref:o,isVirtualized:!0}),b=R=>{switch(R.key){case"Enter":case"Tab":t.isOpen&&R.key==="Enter"&&R.preventDefault(),t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&R.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},v=R=>{var G;R.relatedTarget===(n==null?void 0:n.current)||!((G=r.current)===null||G===void 0)&&G.contains(R.relatedTarget)||(e.onBlur&&e.onBlur(R),t.setFocused(!1))},_=R=>{t.isFocused||(e.onFocus&&e.onFocus(R),t.setFocused(!0))},{labelProps:y,inputProps:x,descriptionProps:S,errorMessageProps:T}=Xr({...e,onChange:t.setInputValue,onKeyDown:!s&&Yt(t.isOpen&&h.onKeyDown,b,e.onKeyDown),onBlur:v,value:t.inputValue,onFocus:_,autoComplete:"off"},o),P=R=>{R.pointerType==="touch"&&(o.current.focus(),t.toggle(null,"manual"))},M=R=>{R.pointerType!=="touch"&&(o.current.focus(),t.toggle(R.pointerType==="keyboard"||R.pointerType==="virtual"?"first":null,"manual"))},$=Er({id:f.id,"aria-label":d.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),C=Er({id:m.id,"aria-label":d.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),N=c.useRef(0),E=R=>{if(u||s)return;if(R.timeStamp-N.current<500){R.preventDefault(),o.current.focus();return}let G=R.target.getBoundingClientRect(),ne=R.changedTouches[0],te=Math.ceil(G.left+.5*G.width),ie=Math.ceil(G.top+.5*G.height);ne.clientX===te&&ne.clientY===ie&&(R.preventDefault(),o.current.focus(),t.toggle(null,"manual"),N.current=R.timeStamp)},K=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var I;let k=(I=K==null?void 0:K.parentKey)!==null&&I!==void 0?I:null;var j;let O=(j=t.selectionManager.focusedKey)!==null&&j!==void 0?j:null,J=c.useRef(k),V=c.useRef(O);c.useEffect(()=>{if(fi()&&K!=null&&O!==V.current){let R=t.selectionManager.isSelected(O),G=k!=null?t.collection.getItem(k):null,ne=(G==null?void 0:G["aria-label"])||(typeof(G==null?void 0:G.rendered)=="string"?G.rendered:"")||"",te=d.format("focusAnnouncement",{isGroupChange:G&&k!==J.current,groupTitle:ne,groupCount:G?[...xl(G,t.collection)].length:0,optionText:K["aria-label"]||K.textValue||"",isSelected:R});Vr(te)}J.current=k,V.current=O});let q=cy(t.collection),B=c.useRef(q),U=c.useRef(t.isOpen);c.useEffect(()=>{let R=t.isOpen!==U.current&&(t.selectionManager.focusedKey==null||fi());if(t.isOpen&&(R||q!==B.current)){let G=d.format("countAnnouncement",{optionCount:q});Vr(G)}B.current=q,U.current=t.isOpen});let H=c.useRef(t.selectedKey);return c.useEffect(()=>{if(fi()&&t.isFocused&&t.selectedItem&&t.selectedKey!==H.current){let R=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",G=d.format("selectedAnnouncement",{optionText:R});Vr(G)}H.current=t.selectedKey}),c.useEffect(()=>{if(t.isOpen)return x0([o.current,r.current])},[t.isOpen,o,r]),{labelProps:y,buttonProps:{...f,...$,excludeFromTabOrder:!0,onPress:P,onPressStart:M,isDisabled:u||s},inputProps:me(x,{role:"combobox","aria-expanded":f["aria-expanded"],"aria-controls":t.isOpen?m.id:void 0,"aria-autocomplete":"list","aria-activedescendant":K?uy(t,K.key):void 0,onTouchEnd:E,autoCorrect:"off",spellCheck:"false"}),listBoxProps:me(m,C,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0}),descriptionProps:S,errorMessageProps:T}}class pd{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){let n=this.keyMap.get(t);return(n==null?void 0:n.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)n(i)};for(let a of t)n(a);let r,o=0;for(let[a,i]of this.keyMap)r?(r.nextKey=a,i.prevKey=r.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),r=i,r.nextKey=void 0;this.lastKey=r==null?void 0:r.key}}class wt extends Set{constructor(t,n,r){super(t),t instanceof wt?(this.anchorKey=n||t.anchorKey,this.currentKey=r||t.currentKey):(this.anchorKey=n,this.currentKey=r)}}function nA(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function rA(e){let{selectionMode:t="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:r,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=c.useRef(!1),[,l]=c.useState(!1),s=c.useRef(null),u=c.useRef(null),[,d]=c.useState(null),f=c.useMemo(()=>C$(e.selectedKeys),[e.selectedKeys]),m=c.useMemo(()=>C$(e.defaultSelectedKeys,new wt),[e.defaultSelectedKeys]),[g,h]=Ft(f,m,e.onSelectionChange),b=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,_]=c.useState(o);o==="replace"&&v==="toggle"&&typeof g=="object"&&g.size===0&&_("replace");let y=c.useRef(o);return c.useEffect(()=>{o!==y.current&&(_(o),y.current=o)},[o]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:v,setSelectionBehavior:_,get isFocused(){return i.current},setFocused(x){i.current=x,l(x)},get focusedKey(){return s.current},get childFocusStrategy(){return u.current},setFocusedKey(x,S="first"){s.current=x,u.current=S,d(x)},selectedKeys:g,setSelectedKeys(x){(r||!nA(x,g))&&h(x)},disabledKeys:b,disabledBehavior:a}}function C$(e,t){return e?e==="all"?"all":new wt(e):t}class oA{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,n){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,n)}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(),n=this.state.selectedKeys;return this._isSelectAll=t.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&dd(this.collection,r,t)<0)&&(t=r)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&dd(this.collection,r,t)>0)&&(t=r)}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 n;if(this.state.selectedKeys==="all")n=new wt([t],t,t);else{let r=this.state.selectedKeys,o=r.anchorKey||t;n=new wt(r,o,t);for(let a of this.getKeyRange(o,r.currentKey||t))n.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&n.add(a)}this.state.setSelectedKeys(n)}getKeyRange(t,n){let r=this.collection.getItem(t),o=this.collection.getItem(n);return r&&o?dd(this.collection,r,o)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){let r=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&r.push(o),o===n)return r;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.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 n=new wt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let n=this.canSelectItem(t)?new wt([t],t,t):new wt;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new wt;for(let r of t)if(r=this.getKey(r),r!=null&&(n.add(r),this.selectionMode==="single"))break;this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=[],n=r=>{for(;r;){if(this.canSelectItem(r)){let o=this.collection.getItem(r);o.type==="item"&&t.push(r),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&n(q9(xl(o,this.collection)).key)}r=this.collection.getKeyAfter(r)}};return n(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new wt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(t.size!==n.size)return!1;for(let r of t)if(!n.has(r))return!1;for(let r of n)if(!t.has(r))return!1;return!0}canSelectItem(t){var n;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||!(r==null||(n=r.props)===null||n===void 0)&&n.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var n,r;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled))}isLink(t){var n,r;return!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.href)}getItemProps(t){var n;return(n=this.collection.getItem(t))===null||n===void 0?void 0:n.props}constructor(t,n,r){this.collection=t,this.state=n;var o;this.allowsCellSelection=(o=r==null?void 0:r.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}function A$(e){let{filter:t}=e,n=rA(e),r=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=c.useCallback(u=>t?new pd(t(u)):new pd(u),[t]),a=c.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Y9(e,o,a),l=c.useMemo(()=>new oA(i,n),[i,n]);const s=c.useRef(null);return c.useEffect(()=>{if(n.focusedKey!=null&&!i.getItem(n.focusedKey)){const u=s.current.getItem(n.focusedKey),d=[...s.current.getKeys()].map(b=>{const v=s.current.getItem(b);return v.type==="item"?v:null}).filter(b=>b!==null),f=[...i.getKeys()].map(b=>{const v=i.getItem(b);return v.type==="item"?v:null}).filter(b=>b!==null),m=d.length-f.length;let g=Math.min(m>1?Math.max(u.index-m+1,0):u.index,f.length-1),h;for(;g>=0;){if(!l.isDisabled(f[g].key)){h=f[g];break}g<f.length-1?g++:(g>u.index&&(g=u.index),g--)}n.setFocusedKey(h?h.key:null)}s.current=i},[i,l,n,n.focusedKey]),{collection:i,disabledKeys:r,selectionManager:l}}function I$(e){var t;let[n,r]=Ft(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=c.useMemo(()=>n!=null?[n]:[],[n]),{collection:a,disabledKeys:i,selectionManager:l}=A$({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:u=>{var d;let f=(d=u.values().next().value)!==null&&d!==void 0?d:null;f===n&&e.onSelectionChange&&e.onSelectionChange(f),r(f)}}),s=n!=null?a.getItem(n):null;return{collection:a,disabledKeys:i,selectionManager:l,selectedKey:n,setSelectedKey:r,selectedItem:s}}function O$(e){let t=Kr(e),[n,r]=c.useState(null);return{focusStrategy:n,...t,open(o=null){r(o),t.open()},toggle(o=null){r(o),t.toggle()}}}function aA(e){var t;let{defaultFilter:n,menuTrigger:r="input",allowsEmptyCollection:o=!1,allowsCustomValue:a,shouldCloseOnBlur:i=!0}=e,[l,s]=c.useState(!1),[u,d]=c.useState(!1);var f;let[m,g]=Ft(e.inputValue,(f=e.defaultInputValue)!==null&&f!==void 0?f:"",e.onInputChange),h=le=>{e.onSelectionChange&&e.onSelectionChange(le),le===y&&(V(),O())};var b;let{collection:v,selectionManager:_,selectedKey:y,setSelectedKey:x,selectedItem:S,disabledKeys:T}=I$({...e,onSelectionChange:h,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),P=v,M=c.useMemo(()=>e.items!=null||!n?v:iA(v,m,n),[v,m,n,e.items]),[$,C]=c.useState(M),N=c.useRef("focus"),K=O$({...e,onOpenChange:le=>{e.onOpenChange&&e.onOpenChange(le,le?N.current:void 0),_.setFocused(le),le||_.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),I=(le,ge)=>{let _e=ge==="manual"||ge==="focus"&&r==="focus";(o||M.size>0||_e&&P.size>0||e.items)&&(_e&&!K.isOpen&&e.items===void 0&&s(!0),N.current=ge,K.open(le))},k=(le,ge)=>{let _e=ge==="manual"||ge==="focus"&&r==="focus";!(o||M.size>0||_e&&P.size>0||e.items)&&!K.isOpen||(_e&&!K.isOpen&&e.items===void 0&&s(!0),K.isOpen||(N.current=ge),j(le))},j=c.useCallback(le=>{K.isOpen&&C(M),K.toggle(le)},[K,M]),O=c.useCallback(()=>{K.isOpen&&(C(M),K.close())},[K,M]),J=c.useRef(m),V=()=>{var le,ge;let _e=(ge=(le=v.getItem(y))===null||le===void 0?void 0:le.textValue)!==null&&ge!==void 0?ge:"";J.current=_e,g(_e)},q=c.useRef(!0);var B,U;let H=c.useRef((U=(B=e.selectedKey)!==null&&B!==void 0?B:e.defaultSelectedKey)!==null&&U!==void 0?U:null);var R;let G=c.useRef((R=(t=v.getItem(y))===null||t===void 0?void 0:t.textValue)!==null&&R!==void 0?R:"");c.useEffect(()=>{var le;u&&(M.size>0||o)&&!K.isOpen&&m!==J.current&&r!=="manual"&&I(null,"input"),!l&&!o&&K.isOpen&&M.size===0&&O(),y!=null&&y!==H.current&&O(),m!==J.current&&(_.setFocusedKey(null),s(!1),m===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&x(null)),q.current&&e.inputValue===void 0&&e.defaultInputValue===void 0&&V(),y!==H.current&&(e.inputValue===void 0||e.selectedKey===void 0)?V():J.current=m;var ge;let _e=(ge=(le=v.getItem(y))===null||le===void 0?void 0:le.textValue)!==null&&ge!==void 0?ge:"";!u&&y!=null&&e.inputValue===void 0&&y===H.current&&G.current!==_e&&(J.current=_e,g(_e)),q.current=!1,H.current=y,G.current=_e});let ne=()=>{a&&y==null?te():ie()},te=()=>{H.current=null,x(null),O()},ie=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var le;e.onSelectionChange(y);var ge;let _e=(ge=(le=v.getItem(y))===null||le===void 0?void 0:le.textValue)!==null&&ge!==void 0?ge:"";J.current=_e,O()}else V(),O()},X=()=>{K.isOpen&&_.focusedKey!=null?y===_.focusedKey?ie():x(_.focusedKey):a?te():ie()},W=()=>{var le,ge;let _e=(ge=(le=v.getItem(y))===null||le===void 0?void 0:le.textValue)!==null&&ge!==void 0?ge:"";a&&m!==_e?te():ie(),O()},ee=le=>{le?r==="focus"&&I(null,"focus"):i&&W(),d(le)},fe=c.useMemo(()=>K.isOpen?l?P:M:$,[K.isOpen,P,M,l,$]);return{...K,toggle:k,open:I,close:W,selectionManager:_,selectedKey:y,setSelectedKey:x,disabledKeys:T,isFocused:u,setFocused:ee,selectedItem:S,collection:fe,inputValue:m,setInputValue:g,commit:X,revert:ne}}function iA(e,t,n){return new pd(M$(e,e,t,n))}function M$(e,t,n,r){let o=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=M$(e,xl(a,e),n,r);[...i].some(l=>l.type==="item")&&o.push({...a,childNodes:i})}else a.type==="item"&&r(a.textValue,n)?o.push({...a}):a.type!=="item"&&o.push({...a});return o}const gd=F.default(pe)`
1527
1527
  display: flex;
1528
1528
 
1529
1529
  &:focus-within {
1530
1530
  position: relative;
1531
1531
  }
1532
- `,F$=c.forwardRef(function(t,n){const{tabIndex:r,left:o,right:a,children:i,...l}=t,u={...Tt(l,Ut.propNames??[])};return ee(pe,{display:"flex",flex:"1",ref:n,tabIndex:r,...u,children:[o?w(gd,{$zIncrement:0,"data-id":"connect-left-focus-handler",children:o}):null,w(gd,{flex:"1",$zIncrement:1,"data-id":"connect-focus-handler",children:i}),a?w(gd,{$zIncrement:0,"data-id":"connect-right-focus-handler",children:a}):null]})});F$.displayName="Connect";const md=F$,L$={small:".313rem .5rem",large:".5rem .5rem"},El={small:p.font_size_400,large:p.font_size_450};function Sl({lineHeight:e=p.font_size_200,fontSize:t=p.font_size_175}){return se.css`
1532
+ `,F$=c.forwardRef(function(t,n){const{tabIndex:r,left:o,right:a,children:i,...l}=t,u={...kt(l,Wt.propNames??[])};return Q(pe,{display:"flex",flex:"1",ref:n,tabIndex:r,...u,children:[o?w(gd,{$zIncrement:0,"data-id":"connect-left-focus-handler",children:o}):null,w(gd,{flex:"1",$zIncrement:1,"data-id":"connect-focus-handler",children:i}),a?w(gd,{$zIncrement:0,"data-id":"connect-right-focus-handler",children:a}):null]})});F$.displayName="Connect";const md=F$,L$={small:".313rem .5rem",large:".5rem .5rem"},El={small:p.font_size_400,large:p.font_size_450};function Sl({lineHeight:e=p.font_size_200,fontSize:t=p.font_size_175}){return se.css`
1533
1533
  font-style: normal;
1534
1534
  color: ${p.color_gray_opacity_45};
1535
1535
  line-height: ${e};
@@ -1549,7 +1549,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1549
1549
  transition-property: ${p.transition_property_color};
1550
1550
  transition-duration: ${p.motion_duration_fast};
1551
1551
  appearance: none;
1552
- `}const Nt=F.default.input`
1552
+ `}const zt=F.default.input`
1553
1553
  ${({paddingSize:e})=>N$({paddingSize:e})}
1554
1554
 
1555
1555
  ${({fontSize:e,lineHeight:t})=>Dl({fontSize:e,lineHeight:t})}
@@ -1634,7 +1634,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1634
1634
  font-size: ${p.font_size_200};
1635
1635
  line-height: 1;
1636
1636
  }
1637
- `,St=({children:e})=>ee(K$,{children:[w(we.Error,{}),e]}),lA=(e,t)=>{let n="",r="";switch(e){case"xsmall":n=p.font_size_125,r=p.font_size_175;break;case"small":n=p.font_size_150,r=p.font_size_200;break;case"medium":n=p.font_size_175,r=p.font_size_225;break;case"large":n=p.font_size_200,r=p.font_size_250;break;case"xlarge":n=p.font_size_225,r=p.font_size_275;break;default:n=p.font_size_125,r=p.font_size_150}return se.css`
1637
+ `,St=({children:e})=>Q(K$,{children:[w(Ee.Error,{}),e]}),lA=(e,t)=>{let n="",r="";switch(e){case"xsmall":n=p.font_size_125,r=p.font_size_175;break;case"small":n=p.font_size_150,r=p.font_size_200;break;case"medium":n=p.font_size_175,r=p.font_size_225;break;case"large":n=p.font_size_200,r=p.font_size_250;break;case"xlarge":n=p.font_size_225,r=p.font_size_275;break;default:n=p.font_size_125,r=p.font_size_150}return se.css`
1638
1638
  ${t==="number"?"font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;":""}
1639
1639
  font-size: ${n};
1640
1640
  line-height: ${r};
@@ -1703,7 +1703,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1703
1703
  width: 18px;
1704
1704
  height: 18px;
1705
1705
  margin-left: 8px;
1706
- `;function B$(e){const t=D.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=dy({...e,disallowEmptySelection:!0},r,n);return w(hd,{...o,ref:n,children:[...r.collection].map(a=>w(fA,{item:a,state:r},a.key))})}function dA(e){const t=D.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=dy({...e,disallowEmptySelection:!0},r,n);return w(hd,{...o,ref:n,children:[...r.collection].map(a=>w(pA,{item:a,state:r,isSelectableAll:!0},a.key))})}const yd=D.createContext(null);yd.displayName="OptionContext";function fA({item:e,state:t}){const n=D.useRef(null),{optionProps:r,labelProps:o,descriptionProps:a,isSelected:i,isFocused:l,isDisabled:s}=fy({key:e.key},t,n);return w(Pl,{...r,ref:n,isFocused:l,isSelected:i,isDisabled:s,children:w(bd,{children:ee(yd.Provider,{value:{labelProps:o,descriptionProps:a},children:[w(tt,{as:"span",overflowY:"hidden",children:e.rendered}),w(vd,{children:i?w(we.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})})}function pA({item:e,state:t}){var l;const n=D.useRef(null),r=fy({key:e.key},t,n),o=((l=e==null?void 0:e.value)==null?void 0:l.name)||"",a=e["aria-label"],i=a||o||"";return ee(Pl,{...r.optionProps,ref:n,isFocused:r.isFocused,isSelected:r.isSelected,"aria-label":i,children:[w(ld,{isDisabled:r.isDisabled,isSelected:r.isSelected,"aria-label":i}),w(bd,{children:ee(yd.Provider,{value:{labelProps:r.labelProps,descriptionProps:r.labelProps},children:[w(tt,{as:"span",children:e.rendered}),w(vd,{children:r.isSelected?w(we.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})]})}F.default.div`
1706
+ `;function B$(e){const t=D.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=dy({...e,disallowEmptySelection:!0},r,n);return w(hd,{...o,ref:n,children:[...r.collection].map(a=>w(fA,{item:a,state:r},a.key))})}function dA(e){const t=D.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=dy({...e,disallowEmptySelection:!0},r,n);return w(hd,{...o,ref:n,children:[...r.collection].map(a=>w(pA,{item:a,state:r,isSelectableAll:!0},a.key))})}const yd=D.createContext(null);yd.displayName="OptionContext";function fA({item:e,state:t}){const n=D.useRef(null),{optionProps:r,labelProps:o,descriptionProps:a,isSelected:i,isFocused:l,isDisabled:s}=fy({key:e.key},t,n);return w(Pl,{...r,ref:n,isFocused:l,isSelected:i,isDisabled:s,children:w(bd,{children:Q(yd.Provider,{value:{labelProps:o,descriptionProps:a},children:[w(tt,{as:"span",overflowY:"hidden",children:e.rendered}),w(vd,{children:i?w(Ee.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})})}function pA({item:e,state:t}){var l;const n=D.useRef(null),r=fy({key:e.key},t,n),o=((l=e==null?void 0:e.value)==null?void 0:l.name)||"",a=e["aria-label"],i=a||o||"";return Q(Pl,{...r.optionProps,ref:n,isFocused:r.isFocused,isSelected:r.isSelected,"aria-label":i,children:[w(ld,{isDisabled:r.isDisabled,isSelected:r.isSelected,"aria-label":i}),w(bd,{children:Q(yd.Provider,{value:{labelProps:r.labelProps,descriptionProps:r.labelProps},children:[w(tt,{as:"span",children:e.rendered}),w(vd,{children:r.isSelected?w(Ee.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})]})}F.default.div`
1707
1707
  font-weight: normal;
1708
1708
  font-size: 12px;
1709
1709
  `;const j$=F.default.div`
@@ -1711,7 +1711,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1711
1711
  flex-direction: column;
1712
1712
  position: relative;
1713
1713
  width: 100%;
1714
- `,gA=F.default(Nt)`
1714
+ `,gA=F.default(zt)`
1715
1715
  box-sizing: border-box;
1716
1716
  appearance: none;
1717
1717
  border: none;
@@ -1736,11 +1736,11 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1736
1736
  border-top-right-radius: ${p.border_radius_400};
1737
1737
  border-bottom-right-radius: ${p.border_radius_400};
1738
1738
  height: ${p.sizing_600};
1739
- `,Tl=F.default(we.ChevronLeft)`
1739
+ `,Tl=F.default(Ee.ChevronLeft)`
1740
1740
  transform: rotate(-90deg);
1741
1741
  width: ${p.sizing_450};
1742
1742
  height: ${p.sizing_450};
1743
- `;function $d(e){const{tooltipContent:t,boldLabel:n=!0}=e,{contains:r}=h8({sensitivity:"base"}),o=aA({...e,defaultFilter:r}),a=D.useRef(null),i=D.useRef(null),l=D.useRef(null),s=D.useRef(null),{buttonProps:u,inputProps:d,listBoxProps:f,labelProps:m,errorMessageProps:g}=tA({...e,inputRef:i,buttonRef:a,listBoxRef:l,popoverRef:s},o),{buttonProps:h}=Gn(u,a);return Ao(()=>{document.activeElement===i.current&&o.close()}),ee(j$,{children:[e.label?ee(Re,{...m,mb:p.spacing_150,bold:n,children:[e.label,t?w(Xe,{children:t}):null]}):null,w(md,{height:p.sizing_600,right:w(mA,{...h,ref:a,children:w(Tl,{style:{width:"18px",height:"18px"},"aria-hidden":"true"})}),children:w(gA,{...d,ref:i,isFocused:o.isFocused})}),e.errorMessage?ee(St,{...g,children:[w(we.Error,{}),e.errorMessage]}):null,o.isOpen?w(er,{className:"combo-box-popover",popoverRef:s,targetRef:i,state:o,isTargetWidth:!0,placement:"bottom start",isNonModal:!0,children:w(B$,{...f,listBoxRef:l,state:o})}):null]})}$d.Item=qr,$d.Section=cd;const U$=D.default.forwardRef(function(t,n){const{"data-id":r,color:o,children:a,...i}=t;return w(Be,{...i,ref:n,"data-id":r,margin:0,width:"100%",height:"1px",backgroundColor:o??p.color_gray_opacity_12,children:a})});var hA=Ra(Es,Bt,$s,Ye,qe,kt,$o,Nn,Ze,Dp,CD,AD,ID),bA=new RegExp("^("+hA.propNames.join("|")+")$"),vA=function(t){var n={};for(var r in t)bA.test(r)&&(n[r]=t[r]);return n};const yA=se.keyframes`
1743
+ `;function $d(e){const{tooltipContent:t,boldLabel:n=!0}=e,{contains:r}=h8({sensitivity:"base"}),o=aA({...e,defaultFilter:r}),a=D.useRef(null),i=D.useRef(null),l=D.useRef(null),s=D.useRef(null),{buttonProps:u,inputProps:d,listBoxProps:f,labelProps:m,errorMessageProps:g}=tA({...e,inputRef:i,buttonRef:a,listBoxRef:l,popoverRef:s},o),{buttonProps:h}=Gn(u,a);return Ao(()=>{document.activeElement===i.current&&o.close()}),Q(j$,{children:[e.label?Q(Re,{...m,mb:p.spacing_150,bold:n,children:[e.label,t?w(Xe,{children:t}):null]}):null,w(md,{height:p.sizing_600,right:w(mA,{...h,ref:a,children:w(Tl,{style:{width:"18px",height:"18px"},"aria-hidden":"true"})}),children:w(gA,{...d,ref:i,isFocused:o.isFocused})}),e.errorMessage?Q(St,{...g,children:[w(Ee.Error,{}),e.errorMessage]}):null,o.isOpen?w(er,{className:"combo-box-popover",popoverRef:s,targetRef:i,state:o,isTargetWidth:!0,placement:"bottom start",isNonModal:!0,children:w(B$,{...f,listBoxRef:l,state:o})}):null]})}$d.Item=qr,$d.Section=cd;const U$=D.default.forwardRef(function(t,n){const{"data-id":r,color:o,children:a,...i}=t;return w(Be,{...i,ref:n,"data-id":r,margin:0,width:"100%",height:"1px",backgroundColor:o??p.color_gray_opacity_12,children:a})});var hA=Ra(Es,jt,$s,Ye,qe,Ct,$o,Nn,Ze,Dp,CD,AD,ID),bA=new RegExp("^("+hA.propNames.join("|")+")$"),vA=function(t){var n={};for(var r in t)bA.test(r)&&(n[r]=t[r]);return n};const yA=se.keyframes`
1744
1744
  from { opacity: 0.5 }
1745
1745
  to { opacity: 1; }
1746
1746
  `,ga=F.default(Be)`
@@ -1759,7 +1759,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1759
1759
  flex-direction: column;
1760
1760
  overflow-y: auto;
1761
1761
  flex: 1;
1762
- `,G$=D.default.forwardRef(function(t,n){const r=vA(t),{loading:o}=c.useContext(ma);return o?w(H$,{"data-id":"drawer-content",...r,ref:n,children:[1,2,3,4,5].map(a=>ee(ht,{mb:p.spacing_600,children:[w(pe,{width:"50%",marginRight:p.spacing_200,children:w(Dt.Body,{lines:2,height:p.spacing_300})}),w(pe,{width:"50%",marginLeft:p.spacing_200,children:w(Dt.Body,{lines:2,height:p.spacing_300})})]},a))}):w(H$,{"data-id":"drawer-content",...r,ref:n,children:t.children})});G$.displayName="Drawer.Content";const $A=G$,Y$=F.default(pe)`
1762
+ `,G$=D.default.forwardRef(function(t,n){const r=vA(t),{loading:o}=c.useContext(ma);return o?w(H$,{"data-id":"drawer-content",...r,ref:n,children:[1,2,3,4,5].map(a=>Q(ht,{mb:p.spacing_600,children:[w(pe,{width:"50%",marginRight:p.spacing_200,children:w(Dt.Body,{lines:2,height:p.spacing_300})}),w(pe,{width:"50%",marginLeft:p.spacing_200,children:w(Dt.Body,{lines:2,height:p.spacing_300})})]},a))}):w(H$,{"data-id":"drawer-content",...r,ref:n,children:t.children})});G$.displayName="Drawer.Content";const $A=G$,Y$=F.default(pe)`
1763
1763
  background-color: ${p.color_white};
1764
1764
  padding: ${p.spacing_500};
1765
1765
  padding-bottom: ${p.spacing_300};
@@ -1770,7 +1770,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1770
1770
  justify-content: space-between;
1771
1771
  align-items: center;
1772
1772
  margin-bottom: ${p.spacing_300};
1773
- `,Ed=c.forwardRef(function(t,n){const{children:r,actions:o=null,title:a,sticky:i,skeleton:l}=t,{loading:s}=c.useContext(ma);return s?w(Y$,{ref:n,sticky:i,children:l||ee(Vt,{children:[w(Dt.Header,{looksLike:"h2"}),w(Dt.Body,{lines:1})]})}):ee(Y$,{ref:n,sticky:i,children:[ee(_A,{height:p.spacing_600,children:[w(Bn,{looksLike:"body",as:"h2",height:p.spacing_600,children:a}),ee(ht,{children:[o,w(X$.Close,{})]})]}),w("div",{children:r})]})}),xA=F.default(pe)`
1773
+ `,Ed=c.forwardRef(function(t,n){const{children:r,actions:o=null,title:a,sticky:i,skeleton:l}=t,{loading:s}=c.useContext(ma);return s?w(Y$,{ref:n,sticky:i,children:l||Q(Bt,{children:[w(Dt.Header,{looksLike:"h2"}),w(Dt.Body,{lines:1})]})}):Q(Y$,{ref:n,sticky:i,children:[Q(_A,{height:p.spacing_600,children:[w(Bn,{looksLike:"body",as:"h2",height:p.spacing_600,children:a}),Q(ht,{children:[o,w(X$.Close,{})]})]}),w("div",{children:r})]})}),xA=F.default(pe)`
1774
1774
  overflow-x: hidden !important;
1775
1775
 
1776
1776
  ${e=>{const t=`
@@ -1814,7 +1814,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1814
1814
  height: ${p.sizing_450};
1815
1815
  margin-top: -3px;
1816
1816
  }
1817
- `,DA=c.forwardRef(function(t,n){const{onClose:r}=c.useContext(ma);return ee(SA,{name:"Close",as:"button",type:"button",ref:n,"data-id":"drawer-close",...t,onClick:r,width:p.sizing_600,height:p.sizing_600,children:[w(we.Close,{}),w(Di,{children:"Close"})]})}),Jr=c.forwardRef(function(t,n){const{children:r,closeOnEscape:o=!0,closeOnOutsideClick:a=!0,id:i,onChange:l=()=>{},onClose:s,open:u,portalTargetId:d="root",position:f="right",loading:m,width:g="80vw",maxWidth:h="32rem",dialogTitle:b="Details Drawer"}=t,[v,_]=c.useState(!1),[y,x]=c.useState(null),S=c.useRef(null);c.useEffect(()=>{c.Children.forEach(r,M=>{const $=M.props;c.isValidElement(M)&&M.type===Ed&&typeof $.title=="string"?x($.title):c.isValidElement(M)&&M.type===Ed&&typeof $.dialogTitle=="string"&&x($.dialogTitle)})},[r]);function T(M){var C;if(!a)return;!((C=S.current)!=null&&C.contains(M.target))&&u&&s()}function P(M){o&&u&&$p("escape",s)(M)}return xr("keydown",P),xr("click",T),c.useEffect(()=>{l(u)},[l,u]),c.useLayoutEffect(()=>{let M;return u&&(M=bs().setTimeout(()=>{var $;($=S==null?void 0:S.current)==null||$.focus()},oi(p.motion_duration_medium))),()=>{bs().clearTimeout(M)}},[u]),xr("blur",()=>{_(!0)}),xr("focus",M=>{_(!1)}),ee(Vt,{children:[w(gm,{isActive:u}),w(ai,{containerId:d,children:w(bm,{mountOnEnter:!0,unmountOnExit:!0,in:u,timeout:{enter:0,exit:oi(p.motion_duration_medium)},children:M=>w(pe,{"data-id":"drawer-wrapper",height:"100vh",left:"0",position:"fixed",ref:n,style:{pointerEvents:"none"},tabIndex:-1,top:"0",width:"100vw",zIndex:Number(p.z_index_foreground_highest),children:w(xA,{"aria-modal":"true","data-id":"drawer-container",id:i,name:y??b,"aria-label":y??b,ref:S,role:"dialog",$state:M,$viewportPosition:f,tabIndex:-1,bg:"white",position:"absolute",top:"0",bottom:"0",maxWidth:h,width:g,right:f==="right"?"0":"auto",left:f==="left"?"0":"auto",boxShadow:p.elevation_static_low,m:p.spacing_300,borderRadius:p.border_radius_400,overflowX:"hidden",children:w(ni.TouchScrollable,{children:w(ht,{overflowY:"auto",overflowX:"hidden",position:"relative",height:"100%",flexDirection:"column",children:w(ma.Provider,{value:{onClose:s,loading:m},children:r})})})})})})})]})});Jr.displayName="Drawer",Jr.Content=$A,Jr.Header=Ed,Jr.Close=DA,Jr.Footer=EA;const X$=Jr;function PA({initialOpen:e=!1,triggerToggle:t=!1,id:n="pingo-drawer"}={}){const[r,o]=c.useState(e),a=c.useCallback(()=>{o(!r)},[r]),i=c.useCallback(()=>{o(!0)},[]),l=c.useCallback(()=>{o(!1)},[]);function s(d={}){return{"aria-controls":n,onClick:t?a:i,...d}}function u(d={}){return{id:n,onClose:l,open:r,...d}}return{isOpen:r,toggleDrawer:a,openDrawer:i,closeDrawer:l,getActivatorProps:s,getDrawerProps:u}}const Sd=["Enter"," "],TA=["ArrowDown","PageUp","Home"],J$=["ArrowUp","PageDown","End"],kA=[...TA,...J$],CA={ltr:[...Sd,"ArrowRight"],rtl:[...Sd,"ArrowLeft"]},AA={ltr:["ArrowLeft"],rtl:["ArrowRight"]},kl="Menu",[ha,IA,OA]=Oa(kl),[ar,Z$]=Ke(kl,[OA,Gr,wn]),ba=Gr(),Q$=wn(),[e_,kn]=ar(kl),[MA,va]=ar(kl),FA=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:a,modal:i=!0}=e,l=ba(t),[s,u]=c.useState(null),d=c.useRef(!1),f=je(a),m=cr(o);return c.useEffect(()=>{const g=()=>{d.current=!0,document.addEventListener("pointerdown",h,{capture:!0,once:!0}),document.addEventListener("pointermove",h,{capture:!0,once:!0})},h=()=>d.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),c.createElement(vl,l,c.createElement(e_,{scope:t,open:n,onOpenChange:f,content:s,onContentChange:u},c.createElement(MA,{scope:t,onClose:c.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:m,modal:i},r)))},t_=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ba(n);return c.createElement(ed,L({},o,r,{ref:t}))}),n_="MenuPortal",[LA,r_]=ar(n_,{forceMount:void 0}),NA=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,a=kn(n_,t);return c.createElement(LA,{scope:t,forceMount:n},c.createElement(We,{present:n||a.open},c.createElement(So,{asChild:!0,container:o},r)))},Pt="MenuContent",[zA,Dd]=ar(Pt),RA=c.forwardRef((e,t)=>{const n=r_(Pt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=kn(Pt,e.__scopeMenu),i=va(Pt,e.__scopeMenu);return c.createElement(ha.Provider,{scope:e.__scopeMenu},c.createElement(We,{present:r||a.open},c.createElement(ha.Slot,{scope:e.__scopeMenu},i.modal?c.createElement(KA,L({},o,{ref:t})):c.createElement(VA,L({},o,{ref:t})))))}),KA=c.forwardRef((e,t)=>{const n=kn(Pt,e.__scopeMenu),r=c.useRef(null),o=$e(t,r);return c.useEffect(()=>{const a=r.current;if(a)return zs(a)},[]),c.createElement(Pd,L({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:oe(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),VA=c.forwardRef((e,t)=>{const n=kn(Pt,e.__scopeMenu);return c.createElement(Pd,L({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),Pd=c.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEntryFocus:s,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,onDismiss:g,disableOutsideScroll:h,...b}=e,v=kn(Pt,n),_=va(Pt,n),y=ba(n),x=Q$(n),S=IA(n),[T,P]=c.useState(null),M=c.useRef(null),$=$e(t,M,v.onContentChange),C=c.useRef(0),z=c.useRef(""),E=c.useRef(0),K=c.useRef(null),I=c.useRef("right"),k=c.useRef(0),j=h?Ls:c.Fragment,O=h?{as:Ln,allowPinchZoom:!0}:void 0,Z=q=>{var B,U;const W=z.current+q,R=S().filter(J=>!J.disabled),G=document.activeElement,te=(B=R.find(J=>J.ref.current===G))===null||B===void 0?void 0:B.textValue,ne=R.map(J=>J.textValue),X=lI(ne,W,te),H=(U=R.find(J=>J.textValue===X))===null||U===void 0?void 0:U.ref.current;(function J(ie){z.current=ie,window.clearTimeout(C.current),ie!==""&&(C.current=window.setTimeout(()=>J(""),1e3))})(W),H&&setTimeout(()=>H.focus())};c.useEffect(()=>()=>window.clearTimeout(C.current),[]),As();const V=c.useCallback(q=>{var B,U;return I.current===((B=K.current)===null||B===void 0?void 0:B.side)&&cI(q,(U=K.current)===null||U===void 0?void 0:U.area)},[]);return c.createElement(zA,{scope:n,searchRef:z,onItemEnter:c.useCallback(q=>{V(q)&&q.preventDefault()},[V]),onItemLeave:c.useCallback(q=>{var B;V(q)||((B=M.current)===null||B===void 0||B.focus(),P(null))},[V]),onTriggerLeave:c.useCallback(q=>{V(q)&&q.preventDefault()},[V]),pointerGraceTimerRef:E,onPointerGraceIntentChange:c.useCallback(q=>{K.current=q},[])},c.createElement(j,O,c.createElement(ks,{asChild:!0,trapped:o,onMountAutoFocus:oe(a,q=>{var B;q.preventDefault(),(B=M.current)===null||B===void 0||B.focus()}),onUnmountAutoFocus:i},c.createElement(Eo,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,onDismiss:g},c.createElement(Ai,L({asChild:!0},x,{dir:_.dir,orientation:"vertical",loop:r,currentTabStopId:T,onCurrentTabStopIdChange:P,onEntryFocus:oe(s,q=>{_.isUsingKeyboardRef.current||q.preventDefault()})}),c.createElement(td,L({role:"menu","aria-orientation":"vertical","data-state":d_(v.open),"data-radix-menu-content":"",dir:_.dir},y,b,{ref:$,style:{outline:"none",...b.style},onKeyDown:oe(b.onKeyDown,q=>{const U=q.target.closest("[data-radix-menu-content]")===q.currentTarget,W=q.ctrlKey||q.altKey||q.metaKey,R=q.key.length===1;U&&(q.key==="Tab"&&q.preventDefault(),!W&&R&&Z(q.key));const G=M.current;if(q.target!==G||!kA.includes(q.key))return;q.preventDefault();const ne=S().filter(X=>!X.disabled).map(X=>X.ref.current);J$.includes(q.key)&&ne.reverse(),aI(ne)}),onBlur:oe(e.onBlur,q=>{q.currentTarget.contains(q.target)||(window.clearTimeout(C.current),z.current="")}),onPointerMove:oe(e.onPointerMove,ya(q=>{const B=q.target,U=k.current!==q.clientX;if(q.currentTarget.contains(B)&&U){const W=q.clientX>k.current?"right":"left";I.current=W,k.current=q.clientX}}))})))))))}),o_=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(ce.div,L({role:"group"},r,{ref:t}))}),BA=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(ce.div,L({},r,{ref:t}))}),Td="MenuItem",a_="menu.itemSelect",kd=c.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,a=c.useRef(null),i=va(Td,e.__scopeMenu),l=Dd(Td,e.__scopeMenu),s=$e(t,a),u=c.useRef(!1),d=()=>{const f=a.current;if(!n&&f){const m=new CustomEvent(a_,{bubbles:!0,cancelable:!0});f.addEventListener(a_,g=>r==null?void 0:r(g),{once:!0}),ss(f,m),m.defaultPrevented?u.current=!1:i.onClose()}};return c.createElement(i_,L({},o,{ref:s,disabled:n,onClick:oe(e.onClick,d),onPointerDown:f=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,f),u.current=!0},onPointerUp:oe(e.onPointerUp,f=>{var m;u.current||(m=f.currentTarget)===null||m===void 0||m.click()}),onKeyDown:oe(e.onKeyDown,f=>{const m=l.searchRef.current!=="";n||m&&f.key===" "||Sd.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})}))}),i_=c.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...a}=e,i=Dd(Td,n),l=Q$(n),s=c.useRef(null),u=$e(t,s),[d,f]=c.useState(!1),[m,g]=c.useState("");return c.useEffect(()=>{const h=s.current;if(h){var b;g(((b=h.textContent)!==null&&b!==void 0?b:"").trim())}},[a.children]),c.createElement(ha.ItemSlot,{scope:n,disabled:r,textValue:o??m},c.createElement(Ii,L({asChild:!0},l,{focusable:!r}),c.createElement(ce.div,L({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},a,{ref:u,onPointerMove:oe(e.onPointerMove,ya(h=>{r?i.onItemLeave(h):(i.onItemEnter(h),h.defaultPrevented||h.currentTarget.focus())})),onPointerLeave:oe(e.onPointerLeave,ya(h=>i.onItemLeave(h))),onFocus:oe(e.onFocus,()=>f(!0)),onBlur:oe(e.onBlur,()=>f(!1))}))))}),jA=c.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return c.createElement(s_,{scope:e.__scopeMenu,checked:n},c.createElement(kd,L({role:"menuitemcheckbox","aria-checked":Al(n)?"mixed":n},o,{ref:t,"data-state":Cd(n),onSelect:oe(o.onSelect,()=>r==null?void 0:r(Al(n)?!0:!n),{checkForDefaultPrevented:!1})})))}),UA="MenuRadioGroup",[WA,HA]=ar(UA,{value:void 0,onValueChange:()=>{}}),GA=c.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,a=je(r);return c.createElement(WA,{scope:e.__scopeMenu,value:n,onValueChange:a},c.createElement(o_,L({},o,{ref:t})))}),YA="MenuRadioItem",qA=c.forwardRef((e,t)=>{const{value:n,...r}=e,o=HA(YA,e.__scopeMenu),a=n===o.value;return c.createElement(s_,{scope:e.__scopeMenu,checked:a},c.createElement(kd,L({role:"menuitemradio","aria-checked":a},r,{ref:t,"data-state":Cd(a),onSelect:oe(r.onSelect,()=>{var i;return(i=o.onValueChange)===null||i===void 0?void 0:i.call(o,n)},{checkForDefaultPrevented:!1})})))}),l_="MenuItemIndicator",[s_,XA]=ar(l_,{checked:!1}),JA=c.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,a=XA(l_,n);return c.createElement(We,{present:r||Al(a.checked)||a.checked===!0},c.createElement(ce.span,L({},o,{ref:t,"data-state":Cd(a.checked)})))}),ZA=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(ce.div,L({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),QA=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ba(n);return c.createElement(nd,L({},o,r,{ref:t}))}),c_="MenuSub",[eI,u_]=ar(c_),tI=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,a=kn(c_,t),i=ba(t),[l,s]=c.useState(null),[u,d]=c.useState(null),f=je(o);return c.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),c.createElement(vl,i,c.createElement(e_,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:d},c.createElement(eI,{scope:t,contentId:nt(),triggerId:nt(),trigger:l,onTriggerChange:s},n)))},Cl="MenuSubTrigger",nI=c.forwardRef((e,t)=>{const n=kn(Cl,e.__scopeMenu),r=va(Cl,e.__scopeMenu),o=u_(Cl,e.__scopeMenu),a=Dd(Cl,e.__scopeMenu),i=c.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:s}=a,u={__scopeMenu:e.__scopeMenu},d=c.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return c.useEffect(()=>d,[d]),c.useEffect(()=>{const f=l.current;return()=>{window.clearTimeout(f),s(null)}},[l,s]),c.createElement(t_,L({asChild:!0},u),c.createElement(i_,L({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":d_(n.open)},e,{ref:Ia(t,o.onTriggerChange),onClick:f=>{var m;(m=e.onClick)===null||m===void 0||m.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:oe(e.onPointerMove,ya(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!i.current&&(a.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:oe(e.onPointerLeave,ya(f=>{var m;d();const g=(m=n.content)===null||m===void 0?void 0:m.getBoundingClientRect();if(g){var h;const b=(h=n.content)===null||h===void 0?void 0:h.dataset.side,v=b==="right",_=v?-5:5,y=g[v?"left":"right"],x=g[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+_,y:f.clientY},{x:y,y:g.top},{x,y:g.top},{x,y:g.bottom},{x:y,y:g.bottom}],side:b}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:oe(e.onKeyDown,f=>{const m=a.searchRef.current!=="";if(!(e.disabled||m&&f.key===" ")&&CA[r.dir].includes(f.key)){var g;n.onOpenChange(!0),(g=n.content)===null||g===void 0||g.focus(),f.preventDefault()}})})))}),rI="MenuSubContent",oI=c.forwardRef((e,t)=>{const n=r_(Pt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=kn(Pt,e.__scopeMenu),i=va(Pt,e.__scopeMenu),l=u_(rI,e.__scopeMenu),s=c.useRef(null),u=$e(t,s);return c.createElement(ha.Provider,{scope:e.__scopeMenu},c.createElement(We,{present:r||a.open},c.createElement(ha.Slot,{scope:e.__scopeMenu},c.createElement(Pd,L({id:l.contentId,"aria-labelledby":l.triggerId},o,{ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var f;i.isUsingKeyboardRef.current&&((f=s.current)===null||f===void 0||f.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:oe(e.onFocusOutside,d=>{d.target!==l.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:oe(e.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:oe(e.onKeyDown,d=>{const f=d.currentTarget.contains(d.target),m=AA[i.dir].includes(d.key);if(f&&m){var g;a.onOpenChange(!1),(g=l.trigger)===null||g===void 0||g.focus(),d.preventDefault()}})})))))});function d_(e){return e?"open":"closed"}function Al(e){return e==="indeterminate"}function Cd(e){return Al(e)?"indeterminate":e?"checked":"unchecked"}function aI(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function iI(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function lI(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let i=iI(e,Math.max(a,0));o.length===1&&(i=i.filter(u=>u!==n));const s=i.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return s!==n?s:void 0}function sI(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const l=t[a].x,s=t[a].y,u=t[i].x,d=t[i].y;s>r!=d>r&&n<(u-l)*(r-s)/(d-s)+l&&(o=!o)}return o}function cI(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return sI(n,t)}function ya(e){return t=>t.pointerType==="mouse"?e(t):void 0}const uI=FA,dI=t_,fI=NA,pI=RA,gI=o_,mI=BA,hI=kd,bI=jA,vI=GA,yI=qA,$I=JA,_I=ZA,xI=QA,wI=tI,EI=nI,SI=oI,f_="DropdownMenu",[DI,eB]=Ke(f_,[Z$]),Ge=Z$(),[PI,p_]=DI(f_),TI=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:a,onOpenChange:i,modal:l=!0}=e,s=Ge(t),u=c.useRef(null),[d=!1,f]=Ue({prop:o,defaultProp:a,onChange:i});return c.createElement(PI,{scope:t,triggerId:nt(),triggerRef:u,contentId:nt(),open:d,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(m=>!m),[f]),modal:l},c.createElement(uI,L({},s,{open:d,onOpenChange:f,dir:r,modal:l}),n))},kI="DropdownMenuTrigger",CI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,a=p_(kI,n),i=Ge(n);return c.createElement(dI,L({asChild:!0},i),c.createElement(ce.button,L({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:Ia(t,a.triggerRef),onPointerDown:oe(e.onPointerDown,l=>{!r&&l.button===0&&l.ctrlKey===!1&&(a.onOpenToggle(),a.open||l.preventDefault())}),onKeyDown:oe(e.onKeyDown,l=>{r||(["Enter"," "].includes(l.key)&&a.onOpenToggle(),l.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})))}),AI=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ge(t);return c.createElement(fI,L({},r,n))},II="DropdownMenuContent",OI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=p_(II,n),a=Ge(n),i=c.useRef(!1);return c.createElement(pI,L({id:o.contentId,"aria-labelledby":o.triggerId},a,r,{ref:t,onCloseAutoFocus:oe(e.onCloseAutoFocus,l=>{var s;i.current||(s=o.triggerRef.current)===null||s===void 0||s.focus(),i.current=!1,l.preventDefault()}),onInteractOutside:oe(e.onInteractOutside,l=>{const s=l.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,d=s.button===2||u;(!o.modal||d)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),MI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(gI,L({},o,r,{ref:t}))}),FI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(mI,L({},o,r,{ref:t}))}),LI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(hI,L({},o,r,{ref:t}))}),NI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(bI,L({},o,r,{ref:t}))}),zI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(vI,L({},o,r,{ref:t}))}),RI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(yI,L({},o,r,{ref:t}))}),KI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement($I,L({},o,r,{ref:t}))}),VI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(_I,L({},o,r,{ref:t}))}),BI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(xI,L({},o,r,{ref:t}))}),jI=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:a}=e,i=Ge(t),[l=!1,s]=Ue({prop:r,defaultProp:a,onChange:o});return c.createElement(wI,L({},i,{open:l,onOpenChange:s}),n)},UI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(EI,L({},o,r,{ref:t}))}),WI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(SI,L({},o,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),HI=TI,GI=CI,g_=AI,YI=OI,qI=MI,XI=FI,JI=LI,ZI=NI,QI=zI,eO=RI,tO=KI,nO=VI,rO=BI,oO=jI,aO=UI,iO=WI,lO=se.keyframes`
1817
+ `,DA=c.forwardRef(function(t,n){const{onClose:r}=c.useContext(ma);return Q(SA,{name:"Close",as:"button",type:"button",ref:n,"data-id":"drawer-close",...t,onClick:r,width:p.sizing_600,height:p.sizing_600,children:[w(Ee.Close,{}),w(Di,{children:"Close"})]})}),Jr=c.forwardRef(function(t,n){const{children:r,closeOnEscape:o=!0,closeOnOutsideClick:a=!0,id:i,onChange:l=()=>{},onClose:s,open:u,portalTargetId:d="root",position:f="right",loading:m,width:g="80vw",maxWidth:h="32rem",dialogTitle:b="Details Drawer"}=t,[v,_]=c.useState(!1),[y,x]=c.useState(null),S=c.useRef(null);c.useEffect(()=>{c.Children.forEach(r,M=>{const $=M.props;c.isValidElement(M)&&M.type===Ed&&typeof $.title=="string"?x($.title):c.isValidElement(M)&&M.type===Ed&&typeof $.dialogTitle=="string"&&x($.dialogTitle)})},[r]);function T(M){var C;if(!a)return;!((C=S.current)!=null&&C.contains(M.target))&&u&&s()}function P(M){o&&u&&$p("escape",s)(M)}return xr("keydown",P),xr("click",T),c.useEffect(()=>{l(u)},[l,u]),c.useLayoutEffect(()=>{let M;return u&&(M=bs().setTimeout(()=>{var $;($=S==null?void 0:S.current)==null||$.focus()},oi(p.motion_duration_medium))),()=>{bs().clearTimeout(M)}},[u]),xr("blur",()=>{_(!0)}),xr("focus",M=>{_(!1)}),Q(Bt,{children:[w(gm,{isActive:u}),w(ai,{containerId:d,children:w(bm,{mountOnEnter:!0,unmountOnExit:!0,in:u,timeout:{enter:0,exit:oi(p.motion_duration_medium)},children:M=>w(pe,{"data-id":"drawer-wrapper",height:"100vh",left:"0",position:"fixed",ref:n,style:{pointerEvents:"none"},tabIndex:-1,top:"0",width:"100vw",zIndex:Number(p.z_index_foreground_highest),children:w(xA,{"aria-modal":"true","data-id":"drawer-container",id:i,name:y??b,"aria-label":y??b,ref:S,role:"dialog",$state:M,$viewportPosition:f,tabIndex:-1,bg:"white",position:"absolute",top:"0",bottom:"0",maxWidth:h,width:g,right:f==="right"?"0":"auto",left:f==="left"?"0":"auto",boxShadow:p.elevation_static_low,m:p.spacing_300,borderRadius:p.border_radius_400,overflowX:"hidden",children:w(ni.TouchScrollable,{children:w(ht,{overflowY:"auto",overflowX:"hidden",position:"relative",height:"100%",flexDirection:"column",children:w(ma.Provider,{value:{onClose:s,loading:m},children:r})})})})})})})]})});Jr.displayName="Drawer",Jr.Content=$A,Jr.Header=Ed,Jr.Close=DA,Jr.Footer=EA;const X$=Jr;function PA({initialOpen:e=!1,triggerToggle:t=!1,id:n="pingo-drawer"}={}){const[r,o]=c.useState(e),a=c.useCallback(()=>{o(!r)},[r]),i=c.useCallback(()=>{o(!0)},[]),l=c.useCallback(()=>{o(!1)},[]);function s(d={}){return{"aria-controls":n,onClick:t?a:i,...d}}function u(d={}){return{id:n,onClose:l,open:r,...d}}return{isOpen:r,toggleDrawer:a,openDrawer:i,closeDrawer:l,getActivatorProps:s,getDrawerProps:u}}const Sd=["Enter"," "],TA=["ArrowDown","PageUp","Home"],J$=["ArrowUp","PageDown","End"],kA=[...TA,...J$],CA={ltr:[...Sd,"ArrowRight"],rtl:[...Sd,"ArrowLeft"]},AA={ltr:["ArrowLeft"],rtl:["ArrowRight"]},kl="Menu",[ha,IA,OA]=Oa(kl),[ar,Z$]=Ke(kl,[OA,Gr,En]),ba=Gr(),Q$=En(),[e_,Cn]=ar(kl),[MA,va]=ar(kl),FA=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:a,modal:i=!0}=e,l=ba(t),[s,u]=c.useState(null),d=c.useRef(!1),f=je(a),m=cr(o);return c.useEffect(()=>{const g=()=>{d.current=!0,document.addEventListener("pointerdown",h,{capture:!0,once:!0}),document.addEventListener("pointermove",h,{capture:!0,once:!0})},h=()=>d.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),c.createElement(vl,l,c.createElement(e_,{scope:t,open:n,onOpenChange:f,content:s,onContentChange:u},c.createElement(MA,{scope:t,onClose:c.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:m,modal:i},r)))},t_=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ba(n);return c.createElement(ed,L({},o,r,{ref:t}))}),n_="MenuPortal",[LA,r_]=ar(n_,{forceMount:void 0}),NA=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,a=Cn(n_,t);return c.createElement(LA,{scope:t,forceMount:n},c.createElement(We,{present:n||a.open},c.createElement(So,{asChild:!0,container:o},r)))},Pt="MenuContent",[zA,Dd]=ar(Pt),RA=c.forwardRef((e,t)=>{const n=r_(Pt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=Cn(Pt,e.__scopeMenu),i=va(Pt,e.__scopeMenu);return c.createElement(ha.Provider,{scope:e.__scopeMenu},c.createElement(We,{present:r||a.open},c.createElement(ha.Slot,{scope:e.__scopeMenu},i.modal?c.createElement(KA,L({},o,{ref:t})):c.createElement(VA,L({},o,{ref:t})))))}),KA=c.forwardRef((e,t)=>{const n=Cn(Pt,e.__scopeMenu),r=c.useRef(null),o=$e(t,r);return c.useEffect(()=>{const a=r.current;if(a)return zs(a)},[]),c.createElement(Pd,L({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:oe(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),VA=c.forwardRef((e,t)=>{const n=Cn(Pt,e.__scopeMenu);return c.createElement(Pd,L({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),Pd=c.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEntryFocus:s,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,onDismiss:g,disableOutsideScroll:h,...b}=e,v=Cn(Pt,n),_=va(Pt,n),y=ba(n),x=Q$(n),S=IA(n),[T,P]=c.useState(null),M=c.useRef(null),$=$e(t,M,v.onContentChange),C=c.useRef(0),N=c.useRef(""),E=c.useRef(0),K=c.useRef(null),I=c.useRef("right"),k=c.useRef(0),j=h?Ls:c.Fragment,O=h?{as:Ln,allowPinchZoom:!0}:void 0,J=q=>{var B,U;const H=N.current+q,R=S().filter(W=>!W.disabled),G=document.activeElement,ne=(B=R.find(W=>W.ref.current===G))===null||B===void 0?void 0:B.textValue,te=R.map(W=>W.textValue),ie=lI(te,H,ne),X=(U=R.find(W=>W.textValue===ie))===null||U===void 0?void 0:U.ref.current;(function W(ee){N.current=ee,window.clearTimeout(C.current),ee!==""&&(C.current=window.setTimeout(()=>W(""),1e3))})(H),X&&setTimeout(()=>X.focus())};c.useEffect(()=>()=>window.clearTimeout(C.current),[]),As();const V=c.useCallback(q=>{var B,U;return I.current===((B=K.current)===null||B===void 0?void 0:B.side)&&cI(q,(U=K.current)===null||U===void 0?void 0:U.area)},[]);return c.createElement(zA,{scope:n,searchRef:N,onItemEnter:c.useCallback(q=>{V(q)&&q.preventDefault()},[V]),onItemLeave:c.useCallback(q=>{var B;V(q)||((B=M.current)===null||B===void 0||B.focus(),P(null))},[V]),onTriggerLeave:c.useCallback(q=>{V(q)&&q.preventDefault()},[V]),pointerGraceTimerRef:E,onPointerGraceIntentChange:c.useCallback(q=>{K.current=q},[])},c.createElement(j,O,c.createElement(ks,{asChild:!0,trapped:o,onMountAutoFocus:oe(a,q=>{var B;q.preventDefault(),(B=M.current)===null||B===void 0||B.focus()}),onUnmountAutoFocus:i},c.createElement(Eo,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,onDismiss:g},c.createElement(Ai,L({asChild:!0},x,{dir:_.dir,orientation:"vertical",loop:r,currentTabStopId:T,onCurrentTabStopIdChange:P,onEntryFocus:oe(s,q=>{_.isUsingKeyboardRef.current||q.preventDefault()})}),c.createElement(td,L({role:"menu","aria-orientation":"vertical","data-state":d_(v.open),"data-radix-menu-content":"",dir:_.dir},y,b,{ref:$,style:{outline:"none",...b.style},onKeyDown:oe(b.onKeyDown,q=>{const U=q.target.closest("[data-radix-menu-content]")===q.currentTarget,H=q.ctrlKey||q.altKey||q.metaKey,R=q.key.length===1;U&&(q.key==="Tab"&&q.preventDefault(),!H&&R&&J(q.key));const G=M.current;if(q.target!==G||!kA.includes(q.key))return;q.preventDefault();const te=S().filter(ie=>!ie.disabled).map(ie=>ie.ref.current);J$.includes(q.key)&&te.reverse(),aI(te)}),onBlur:oe(e.onBlur,q=>{q.currentTarget.contains(q.target)||(window.clearTimeout(C.current),N.current="")}),onPointerMove:oe(e.onPointerMove,ya(q=>{const B=q.target,U=k.current!==q.clientX;if(q.currentTarget.contains(B)&&U){const H=q.clientX>k.current?"right":"left";I.current=H,k.current=q.clientX}}))})))))))}),o_=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(ce.div,L({role:"group"},r,{ref:t}))}),BA=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(ce.div,L({},r,{ref:t}))}),Td="MenuItem",a_="menu.itemSelect",kd=c.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,a=c.useRef(null),i=va(Td,e.__scopeMenu),l=Dd(Td,e.__scopeMenu),s=$e(t,a),u=c.useRef(!1),d=()=>{const f=a.current;if(!n&&f){const m=new CustomEvent(a_,{bubbles:!0,cancelable:!0});f.addEventListener(a_,g=>r==null?void 0:r(g),{once:!0}),ss(f,m),m.defaultPrevented?u.current=!1:i.onClose()}};return c.createElement(i_,L({},o,{ref:s,disabled:n,onClick:oe(e.onClick,d),onPointerDown:f=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,f),u.current=!0},onPointerUp:oe(e.onPointerUp,f=>{var m;u.current||(m=f.currentTarget)===null||m===void 0||m.click()}),onKeyDown:oe(e.onKeyDown,f=>{const m=l.searchRef.current!=="";n||m&&f.key===" "||Sd.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})}))}),i_=c.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...a}=e,i=Dd(Td,n),l=Q$(n),s=c.useRef(null),u=$e(t,s),[d,f]=c.useState(!1),[m,g]=c.useState("");return c.useEffect(()=>{const h=s.current;if(h){var b;g(((b=h.textContent)!==null&&b!==void 0?b:"").trim())}},[a.children]),c.createElement(ha.ItemSlot,{scope:n,disabled:r,textValue:o??m},c.createElement(Ii,L({asChild:!0},l,{focusable:!r}),c.createElement(ce.div,L({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},a,{ref:u,onPointerMove:oe(e.onPointerMove,ya(h=>{r?i.onItemLeave(h):(i.onItemEnter(h),h.defaultPrevented||h.currentTarget.focus())})),onPointerLeave:oe(e.onPointerLeave,ya(h=>i.onItemLeave(h))),onFocus:oe(e.onFocus,()=>f(!0)),onBlur:oe(e.onBlur,()=>f(!1))}))))}),jA=c.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return c.createElement(s_,{scope:e.__scopeMenu,checked:n},c.createElement(kd,L({role:"menuitemcheckbox","aria-checked":Al(n)?"mixed":n},o,{ref:t,"data-state":Cd(n),onSelect:oe(o.onSelect,()=>r==null?void 0:r(Al(n)?!0:!n),{checkForDefaultPrevented:!1})})))}),UA="MenuRadioGroup",[WA,HA]=ar(UA,{value:void 0,onValueChange:()=>{}}),GA=c.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,a=je(r);return c.createElement(WA,{scope:e.__scopeMenu,value:n,onValueChange:a},c.createElement(o_,L({},o,{ref:t})))}),YA="MenuRadioItem",qA=c.forwardRef((e,t)=>{const{value:n,...r}=e,o=HA(YA,e.__scopeMenu),a=n===o.value;return c.createElement(s_,{scope:e.__scopeMenu,checked:a},c.createElement(kd,L({role:"menuitemradio","aria-checked":a},r,{ref:t,"data-state":Cd(a),onSelect:oe(r.onSelect,()=>{var i;return(i=o.onValueChange)===null||i===void 0?void 0:i.call(o,n)},{checkForDefaultPrevented:!1})})))}),l_="MenuItemIndicator",[s_,XA]=ar(l_,{checked:!1}),JA=c.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,a=XA(l_,n);return c.createElement(We,{present:r||Al(a.checked)||a.checked===!0},c.createElement(ce.span,L({},o,{ref:t,"data-state":Cd(a.checked)})))}),ZA=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(ce.div,L({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),QA=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ba(n);return c.createElement(nd,L({},o,r,{ref:t}))}),c_="MenuSub",[eI,u_]=ar(c_),tI=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,a=Cn(c_,t),i=ba(t),[l,s]=c.useState(null),[u,d]=c.useState(null),f=je(o);return c.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),c.createElement(vl,i,c.createElement(e_,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:d},c.createElement(eI,{scope:t,contentId:nt(),triggerId:nt(),trigger:l,onTriggerChange:s},n)))},Cl="MenuSubTrigger",nI=c.forwardRef((e,t)=>{const n=Cn(Cl,e.__scopeMenu),r=va(Cl,e.__scopeMenu),o=u_(Cl,e.__scopeMenu),a=Dd(Cl,e.__scopeMenu),i=c.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:s}=a,u={__scopeMenu:e.__scopeMenu},d=c.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return c.useEffect(()=>d,[d]),c.useEffect(()=>{const f=l.current;return()=>{window.clearTimeout(f),s(null)}},[l,s]),c.createElement(t_,L({asChild:!0},u),c.createElement(i_,L({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":d_(n.open)},e,{ref:Ia(t,o.onTriggerChange),onClick:f=>{var m;(m=e.onClick)===null||m===void 0||m.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:oe(e.onPointerMove,ya(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!i.current&&(a.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:oe(e.onPointerLeave,ya(f=>{var m;d();const g=(m=n.content)===null||m===void 0?void 0:m.getBoundingClientRect();if(g){var h;const b=(h=n.content)===null||h===void 0?void 0:h.dataset.side,v=b==="right",_=v?-5:5,y=g[v?"left":"right"],x=g[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+_,y:f.clientY},{x:y,y:g.top},{x,y:g.top},{x,y:g.bottom},{x:y,y:g.bottom}],side:b}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:oe(e.onKeyDown,f=>{const m=a.searchRef.current!=="";if(!(e.disabled||m&&f.key===" ")&&CA[r.dir].includes(f.key)){var g;n.onOpenChange(!0),(g=n.content)===null||g===void 0||g.focus(),f.preventDefault()}})})))}),rI="MenuSubContent",oI=c.forwardRef((e,t)=>{const n=r_(Pt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=Cn(Pt,e.__scopeMenu),i=va(Pt,e.__scopeMenu),l=u_(rI,e.__scopeMenu),s=c.useRef(null),u=$e(t,s);return c.createElement(ha.Provider,{scope:e.__scopeMenu},c.createElement(We,{present:r||a.open},c.createElement(ha.Slot,{scope:e.__scopeMenu},c.createElement(Pd,L({id:l.contentId,"aria-labelledby":l.triggerId},o,{ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var f;i.isUsingKeyboardRef.current&&((f=s.current)===null||f===void 0||f.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:oe(e.onFocusOutside,d=>{d.target!==l.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:oe(e.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:oe(e.onKeyDown,d=>{const f=d.currentTarget.contains(d.target),m=AA[i.dir].includes(d.key);if(f&&m){var g;a.onOpenChange(!1),(g=l.trigger)===null||g===void 0||g.focus(),d.preventDefault()}})})))))});function d_(e){return e?"open":"closed"}function Al(e){return e==="indeterminate"}function Cd(e){return Al(e)?"indeterminate":e?"checked":"unchecked"}function aI(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function iI(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function lI(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let i=iI(e,Math.max(a,0));o.length===1&&(i=i.filter(u=>u!==n));const s=i.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return s!==n?s:void 0}function sI(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const l=t[a].x,s=t[a].y,u=t[i].x,d=t[i].y;s>r!=d>r&&n<(u-l)*(r-s)/(d-s)+l&&(o=!o)}return o}function cI(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return sI(n,t)}function ya(e){return t=>t.pointerType==="mouse"?e(t):void 0}const uI=FA,dI=t_,fI=NA,pI=RA,gI=o_,mI=BA,hI=kd,bI=jA,vI=GA,yI=qA,$I=JA,_I=ZA,xI=QA,wI=tI,EI=nI,SI=oI,f_="DropdownMenu",[DI,eB]=Ke(f_,[Z$]),Ge=Z$(),[PI,p_]=DI(f_),TI=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:a,onOpenChange:i,modal:l=!0}=e,s=Ge(t),u=c.useRef(null),[d=!1,f]=Ue({prop:o,defaultProp:a,onChange:i});return c.createElement(PI,{scope:t,triggerId:nt(),triggerRef:u,contentId:nt(),open:d,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(m=>!m),[f]),modal:l},c.createElement(uI,L({},s,{open:d,onOpenChange:f,dir:r,modal:l}),n))},kI="DropdownMenuTrigger",CI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,a=p_(kI,n),i=Ge(n);return c.createElement(dI,L({asChild:!0},i),c.createElement(ce.button,L({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:Ia(t,a.triggerRef),onPointerDown:oe(e.onPointerDown,l=>{!r&&l.button===0&&l.ctrlKey===!1&&(a.onOpenToggle(),a.open||l.preventDefault())}),onKeyDown:oe(e.onKeyDown,l=>{r||(["Enter"," "].includes(l.key)&&a.onOpenToggle(),l.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})))}),AI=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ge(t);return c.createElement(fI,L({},r,n))},II="DropdownMenuContent",OI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=p_(II,n),a=Ge(n),i=c.useRef(!1);return c.createElement(pI,L({id:o.contentId,"aria-labelledby":o.triggerId},a,r,{ref:t,onCloseAutoFocus:oe(e.onCloseAutoFocus,l=>{var s;i.current||(s=o.triggerRef.current)===null||s===void 0||s.focus(),i.current=!1,l.preventDefault()}),onInteractOutside:oe(e.onInteractOutside,l=>{const s=l.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,d=s.button===2||u;(!o.modal||d)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),MI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(gI,L({},o,r,{ref:t}))}),FI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(mI,L({},o,r,{ref:t}))}),LI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(hI,L({},o,r,{ref:t}))}),NI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(bI,L({},o,r,{ref:t}))}),zI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(vI,L({},o,r,{ref:t}))}),RI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(yI,L({},o,r,{ref:t}))}),KI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement($I,L({},o,r,{ref:t}))}),VI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(_I,L({},o,r,{ref:t}))}),BI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(xI,L({},o,r,{ref:t}))}),jI=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:a}=e,i=Ge(t),[l=!1,s]=Ue({prop:r,defaultProp:a,onChange:o});return c.createElement(wI,L({},i,{open:l,onOpenChange:s}),n)},UI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(EI,L({},o,r,{ref:t}))}),WI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ge(n);return c.createElement(SI,L({},o,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),HI=TI,GI=CI,g_=AI,YI=OI,qI=MI,XI=FI,JI=LI,ZI=NI,QI=zI,eO=RI,tO=KI,nO=VI,rO=BI,oO=jI,aO=UI,iO=WI,lO=se.keyframes`
1818
1818
  0% { opacity: 0; transform: translateY(2px); }
1819
1819
  100% { opacity: 1; transform: translateY(0); }
1820
1820
  `,sO=se.keyframes`
@@ -1930,7 +1930,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1930
1930
  }
1931
1931
  `,DO=F.default(iO)`
1932
1932
  ${m_}
1933
- `,b_="Popover",[v_,tB]=Ke(b_,[Gr]),Ol=Gr(),[PO,ir]=v_(b_),y_=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,l=Ol(t),s=c.useRef(null),[u,d]=c.useState(!1),[f=!1,m]=Ue({prop:r,defaultProp:o,onChange:a});return c.createElement(vl,l,c.createElement(PO,{scope:t,contentId:nt(),triggerRef:s,open:f,onOpenChange:m,onOpenToggle:c.useCallback(()=>m(g=>!g),[m]),hasCustomAnchor:u,onCustomAnchorAdd:c.useCallback(()=>d(!0),[]),onCustomAnchorRemove:c.useCallback(()=>d(!1),[]),modal:i},n))},TO="PopoverTrigger",$_=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ir(TO,n),a=Ol(n),i=$e(t,o.triggerRef),l=c.createElement(ce.button,L({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":w_(o.open)},r,{ref:i,onClick:oe(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?l:c.createElement(ed,L({asChild:!0},a),l)}),__="PopoverPortal",[kO,CO]=v_(__,{forceMount:void 0}),AO=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=ir(__,t);return c.createElement(kO,{scope:t,forceMount:n},c.createElement(We,{present:n||a.open},c.createElement(So,{asChild:!0,container:o},r)))},$a="PopoverContent",IO=c.forwardRef((e,t)=>{const n=CO($a,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=ir($a,e.__scopePopover);return c.createElement(We,{present:r||a.open},a.modal?c.createElement(OO,L({},o,{ref:t})):c.createElement(MO,L({},o,{ref:t})))}),OO=c.forwardRef((e,t)=>{const n=ir($a,e.__scopePopover),r=c.useRef(null),o=$e(t,r),a=c.useRef(!1);return c.useEffect(()=>{const i=r.current;if(i)return zs(i)},[]),c.createElement(Ls,{as:Ln,allowPinchZoom:!0},c.createElement(x_,L({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,i=>{var l;i.preventDefault(),a.current||(l=n.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:oe(e.onPointerDownOutside,i=>{const l=i.detail.originalEvent,s=l.button===0&&l.ctrlKey===!0,u=l.button===2||s;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:oe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),MO=c.forwardRef((e,t)=>{const n=ir($a,e.__scopePopover),r=c.useRef(!1),o=c.useRef(!1);return c.createElement(x_,L({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,l;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=a.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),x_=c.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:d,...f}=e,m=ir($a,n),g=Ol(n);return As(),c.createElement(ks,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(Eo,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onDismiss:()=>m.onOpenChange(!1)},c.createElement(td,L({"data-state":w_(m.open),role:"dialog",id:m.contentId},g,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)"}}))))}),FO="PopoverClose",LO=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ir(FO,n);return c.createElement(ce.button,L({type:"button"},r,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))}),NO=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ol(n);return c.createElement(nd,L({},o,r,{ref:t}))});function w_(e){return e?"open":"closed"}const zO=y_,RO=$_,KO=AO,VO=IO,E_=LO,BO=NO;function jO(e){return e&&e.__esModule?e.default:e}var Se;(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"})(Se||(Se={}));const S_={...Se,copyMove:Se.copy|Se.move,copyLink:Se.copy|Se.link,linkMove:Se.link|Se.move,all:Se.all,uninitialized:Se.all},UO=Id(S_);UO[Se.all]="all",Id(Se);const D_={none:"cancel",link:"link",copy:"copy",move:"move"},Ad=Id(D_);function Id(e){let t={};for(let n in e)t[e[n]]=n;return t}const Od="application/vnd.react-aria.items+json",Ml="application/octet-stream",WO=Symbol();function HO(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function GO(){return HO(Gm())}class Fl{has(t){return this.includesUnknownTypes||t===WO&&this.types.has(Ml)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let n=!1;for(let r of t.items)r.type!==Od&&(r.kind==="file"&&(n=!0),r.type?this.types.add(r.type):this.types.add(Ml));this.includesUnknownTypes=!n&&t.types.includes("Files")}}function YO(e){let t=[],n=!1;if(e.types.includes(Od))try{let r=e.getData(Od),o=JSON.parse(r);for(let a of o)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});n=!0}catch{}if(!n){let r=new Map;for(let o of e.items)if(o.kind==="string")r.set(o.type||Ml,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(Md(o.getAsFile())):a.isDirectory&&t.push(P_(a))}else t.push(Md(o.getAsFile()));r.size>0&&t.push({kind:"text",types:new Set(r.keys()),getText:o=>Promise.resolve(r.get(o))})}return t}function qO(e){return typeof e.text=="function"?e.text():new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{t(r.result)},r.onerror=n,r.readAsText(e)})}function Md(e){return{kind:"file",type:e.type||Ml,name:e.name,getText:()=>qO(e),getFile:()=>Promise.resolve(e)}}function P_(e){return{kind:"directory",name:e.name,getEntries:()=>XO(e)}}async function*XO(e){let t=e.createReader(),n;do{n=await new Promise((r,o)=>{t.readEntries(r,o)});for(let r of n)if(r.isFile){let o=await JO(r);yield Md(o)}else r.isDirectory&&(yield P_(r))}while(n.length>0)}function JO(e){return new Promise((t,n)=>e.file(t,n))}let T_={draggingKeys:new Set};function ZO(e){T_=e}function nB(e){}let k_=Se.none,C_=new Map,A_=null,I_=new Set;function QO(e){return C_.set(e.element,e),()=>{C_.delete(e.element)}}function eM(){let[e,t]=c.useState(A_);return c.useEffect(()=>{let n=()=>t(A_);return I_.add(n),()=>{I_.delete(n)}},[]),e}var O_={},M_={};M_={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 F_={};F_={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 L_={};L_={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 N_={};N_={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 z_={};z_={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 R_={};R_={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 K_={};K_={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 V_={};V_={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 B_={};B_={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 j_={};j_={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 U_={};U_={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 W_={};W_={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 H_={};H_={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 G_={};G_={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 Y_={};Y_={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 q_={};q_={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 X_={};X_={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 J_={};J_={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 Z_={};Z_={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 Q_={};Q_={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 e1={};e1={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 t1={};t1={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 n1={};n1={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 r1={};r1={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 o1={};o1={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 a1={};a1={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 i1={};i1={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 l1={};l1={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 s1={};s1={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 c1={};c1={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 u1={};u1={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 d1={};d1={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 f1={};f1={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 p1={};p1={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}」之間`},O_={"ar-AE":M_,"bg-BG":F_,"cs-CZ":L_,"da-DK":N_,"de-DE":z_,"el-GR":R_,"en-US":K_,"es-ES":V_,"et-EE":B_,"fi-FI":j_,"fr-FR":U_,"he-IL":W_,"hr-HR":H_,"hu-HU":G_,"it-IT":Y_,"ja-JP":q_,"ko-KR":X_,"lt-LT":J_,"lv-LV":Z_,"nb-NO":Q_,"nl-NL":e1,"pl-PL":t1,"pt-BR":n1,"pt-PT":r1,"ro-RO":o1,"ru-RU":a1,"sk-SK":i1,"sl-SI":l1,"sr-SP":s1,"sv-SE":c1,"tr-TR":u1,"uk-UA":d1,"zh-CN":f1,"zh-TW":p1};const tM={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function nM(){let e=$t(jO(O_)),t=GO(),n=eM();return{dropProps:{...Cc(n?e.format(tM[t]):""),onClick:()=>{}}}}const rM=800;function oM(e){let{hasDropButton:t}=e,[n,r]=c.useState(!1),o=c.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Se.all,dropActivateTimer:null}).current,a=y=>{if(r(!0),typeof e.onDropEnter=="function"){let x=y.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:y.clientX-x.x,y:y.clientY-x.y})}},i=y=>{if(r(!1),typeof e.onDropExit=="function"){let x=y.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:y.clientX-x.x,y:y.clientY-x.y})}},l=y=>{y.preventDefault(),y.stopPropagation();let x=g1(y);if(y.clientX===o.x&&y.clientY===o.y&&x===o.allowedOperations){y.dataTransfer.dropEffect=o.dropEffect;return}o.x=y.clientX,o.y=y.clientY;let S=o.dropEffect;if(x!==o.allowedOperations){let T=Fd(x),P=T[0];if(typeof e.getDropOperation=="function"){let M=new Fl(y.dataTransfer);P=Ll(x,e.getDropOperation(M,T))}o.dropEffect=Ad[P]||"none"}if(typeof e.getDropOperationForPoint=="function"){let T=new Fl(y.dataTransfer),P=y.currentTarget.getBoundingClientRect(),M=Ll(x,e.getDropOperationForPoint(T,Fd(x),o.x-P.x,o.y-P.y));o.dropEffect=Ad[M]||"none"}if(o.allowedOperations=x,y.dataTransfer.dropEffect=o.dropEffect,o.dropEffect==="none"&&S!=="none"?i(y):o.dropEffect!=="none"&&S==="none"&&a(y),typeof e.onDropMove=="function"&&o.dropEffect!=="none"){let T=y.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:o.x-T.x,y:o.y-T.y})}if(clearTimeout(o.dropActivateTimer),typeof e.onDropActivate=="function"&&o.dropEffect!=="none"){let T=y.currentTarget.getBoundingClientRect();o.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:o.x-T.x,y:o.y-T.y})},rM)}},s=y=>{if(y.preventDefault(),y.stopPropagation(),o.dragOverElements.add(y.target),o.dragOverElements.size>1)return;let x=g1(y),S=Fd(x),T=S[0];if(typeof e.getDropOperation=="function"){let P=new Fl(y.dataTransfer);T=Ll(x,e.getDropOperation(P,S))}if(typeof e.getDropOperationForPoint=="function"){let P=new Fl(y.dataTransfer),M=y.currentTarget.getBoundingClientRect();T=Ll(x,e.getDropOperationForPoint(P,S,y.clientX-M.x,y.clientY-M.y))}o.x=y.clientX,o.y=y.clientY,o.allowedOperations=x,o.dropEffect=Ad[T]||"none",y.dataTransfer.dropEffect=o.dropEffect,T!=="cancel"&&a(y)},u=y=>{y.preventDefault(),y.stopPropagation(),o.dragOverElements.delete(y.target);for(let x of o.dragOverElements)y.currentTarget.contains(x)||o.dragOverElements.delete(x);o.dragOverElements.size>0||(o.dropEffect!=="none"&&i(y),clearTimeout(o.dropActivateTimer))},d=y=>{if(y.preventDefault(),y.stopPropagation(),o.dropEffect,typeof e.onDrop=="function"){let S=D_[o.dropEffect],T=YO(y.dataTransfer),P=y.currentTarget.getBoundingClientRect(),M={type:"drop",x:y.clientX-P.x,y:y.clientY-P.y,items:T,dropOperation:S};e.onDrop(M)}let x={...T_};o.dragOverElements.clear(),i(y),clearTimeout(o.dropActivateTimer),x.draggingCollectionRef==null||ZO(x)},f=Ce(y=>{typeof e.onDropEnter=="function"&&e.onDropEnter(y)}),m=Ce(y=>{typeof e.onDropExit=="function"&&e.onDropExit(y)}),g=Ce(y=>{typeof e.onDropActivate=="function"&&e.onDropActivate(y)}),h=Ce(y=>{typeof e.onDrop=="function"&&e.onDrop(y)}),b=Ce((y,x)=>e.getDropOperation?e.getDropOperation(y,x):x[0]),{ref:v}=e;Te(()=>QO({element:v.current,getDropOperation:b,onDropEnter(y){r(!0),f(y)},onDropExit(y){r(!1),m(y)},onDrop:h,onDropActivate:g}),[v,b,f,m,h,g]);let{dropProps:_}=nM();return{dropProps:{...!t&&_,onDragEnter:s,onDragOver:l,onDragLeave:u,onDrop:d},dropButtonProps:{...t&&_},isDropTarget:n}}function g1(e){let t=S_[e.dataTransfer.effectAllowed];k_&&(t&=k_);let n=Se.none;return qt()?(e.altKey&&(n|=Se.copy),e.ctrlKey&&!wc()&&(n|=Se.link),e.metaKey&&(n|=Se.move)):(e.altKey&&(n|=Se.link),e.shiftKey&&(n|=Se.move),e.ctrlKey&&(n|=Se.copy)),n?t&n:t}function Fd(e){let t=[];return e&Se.move&&t.push("move"),e&Se.copy&&t.push("copy"),e&Se.link&&t.push("link"),t}function Ll(e,t){let n=Se[t];return e&n?t:"cancel"}const aM=F.default(VO)`
1933
+ `,b_="Popover",[v_,tB]=Ke(b_,[Gr]),Ol=Gr(),[PO,ir]=v_(b_),y_=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,l=Ol(t),s=c.useRef(null),[u,d]=c.useState(!1),[f=!1,m]=Ue({prop:r,defaultProp:o,onChange:a});return c.createElement(vl,l,c.createElement(PO,{scope:t,contentId:nt(),triggerRef:s,open:f,onOpenChange:m,onOpenToggle:c.useCallback(()=>m(g=>!g),[m]),hasCustomAnchor:u,onCustomAnchorAdd:c.useCallback(()=>d(!0),[]),onCustomAnchorRemove:c.useCallback(()=>d(!1),[]),modal:i},n))},TO="PopoverTrigger",$_=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ir(TO,n),a=Ol(n),i=$e(t,o.triggerRef),l=c.createElement(ce.button,L({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":w_(o.open)},r,{ref:i,onClick:oe(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?l:c.createElement(ed,L({asChild:!0},a),l)}),__="PopoverPortal",[kO,CO]=v_(__,{forceMount:void 0}),AO=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=ir(__,t);return c.createElement(kO,{scope:t,forceMount:n},c.createElement(We,{present:n||a.open},c.createElement(So,{asChild:!0,container:o},r)))},$a="PopoverContent",IO=c.forwardRef((e,t)=>{const n=CO($a,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=ir($a,e.__scopePopover);return c.createElement(We,{present:r||a.open},a.modal?c.createElement(OO,L({},o,{ref:t})):c.createElement(MO,L({},o,{ref:t})))}),OO=c.forwardRef((e,t)=>{const n=ir($a,e.__scopePopover),r=c.useRef(null),o=$e(t,r),a=c.useRef(!1);return c.useEffect(()=>{const i=r.current;if(i)return zs(i)},[]),c.createElement(Ls,{as:Ln,allowPinchZoom:!0},c.createElement(x_,L({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,i=>{var l;i.preventDefault(),a.current||(l=n.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:oe(e.onPointerDownOutside,i=>{const l=i.detail.originalEvent,s=l.button===0&&l.ctrlKey===!0,u=l.button===2||s;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:oe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),MO=c.forwardRef((e,t)=>{const n=ir($a,e.__scopePopover),r=c.useRef(!1),o=c.useRef(!1);return c.createElement(x_,L({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,l;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=a.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),x_=c.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:d,...f}=e,m=ir($a,n),g=Ol(n);return As(),c.createElement(ks,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(Eo,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onDismiss:()=>m.onOpenChange(!1)},c.createElement(td,L({"data-state":w_(m.open),role:"dialog",id:m.contentId},g,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)"}}))))}),FO="PopoverClose",LO=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ir(FO,n);return c.createElement(ce.button,L({type:"button"},r,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))}),NO=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ol(n);return c.createElement(nd,L({},o,r,{ref:t}))});function w_(e){return e?"open":"closed"}const zO=y_,RO=$_,KO=AO,VO=IO,E_=LO,BO=NO;function jO(e){return e&&e.__esModule?e.default:e}var De;(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"})(De||(De={}));const S_={...De,copyMove:De.copy|De.move,copyLink:De.copy|De.link,linkMove:De.link|De.move,all:De.all,uninitialized:De.all},UO=Id(S_);UO[De.all]="all",Id(De);const D_={none:"cancel",link:"link",copy:"copy",move:"move"},Ad=Id(D_);function Id(e){let t={};for(let n in e)t[e[n]]=n;return t}const Od="application/vnd.react-aria.items+json",Ml="application/octet-stream",WO=Symbol();function HO(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function GO(){return HO(Gm())}class Fl{has(t){return this.includesUnknownTypes||t===WO&&this.types.has(Ml)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let n=!1;for(let r of t.items)r.type!==Od&&(r.kind==="file"&&(n=!0),r.type?this.types.add(r.type):this.types.add(Ml));this.includesUnknownTypes=!n&&t.types.includes("Files")}}function YO(e){let t=[],n=!1;if(e.types.includes(Od))try{let r=e.getData(Od),o=JSON.parse(r);for(let a of o)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});n=!0}catch{}if(!n){let r=new Map;for(let o of e.items)if(o.kind==="string")r.set(o.type||Ml,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(Md(o.getAsFile())):a.isDirectory&&t.push(P_(a))}else t.push(Md(o.getAsFile()));r.size>0&&t.push({kind:"text",types:new Set(r.keys()),getText:o=>Promise.resolve(r.get(o))})}return t}function qO(e){return typeof e.text=="function"?e.text():new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{t(r.result)},r.onerror=n,r.readAsText(e)})}function Md(e){return{kind:"file",type:e.type||Ml,name:e.name,getText:()=>qO(e),getFile:()=>Promise.resolve(e)}}function P_(e){return{kind:"directory",name:e.name,getEntries:()=>XO(e)}}async function*XO(e){let t=e.createReader(),n;do{n=await new Promise((r,o)=>{t.readEntries(r,o)});for(let r of n)if(r.isFile){let o=await JO(r);yield Md(o)}else r.isDirectory&&(yield P_(r))}while(n.length>0)}function JO(e){return new Promise((t,n)=>e.file(t,n))}let T_={draggingKeys:new Set};function ZO(e){T_=e}function nB(e){}let k_=De.none,C_=new Map,A_=null,I_=new Set;function QO(e){return C_.set(e.element,e),()=>{C_.delete(e.element)}}function eM(){let[e,t]=c.useState(A_);return c.useEffect(()=>{let n=()=>t(A_);return I_.add(n),()=>{I_.delete(n)}},[]),e}var O_={},M_={};M_={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 F_={};F_={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 L_={};L_={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 N_={};N_={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 z_={};z_={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 R_={};R_={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 K_={};K_={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 V_={};V_={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 B_={};B_={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 j_={};j_={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 U_={};U_={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 W_={};W_={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 H_={};H_={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 G_={};G_={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 Y_={};Y_={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 q_={};q_={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 X_={};X_={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 J_={};J_={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 Z_={};Z_={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 Q_={};Q_={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 e1={};e1={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 t1={};t1={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 n1={};n1={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 r1={};r1={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 o1={};o1={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 a1={};a1={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 i1={};i1={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 l1={};l1={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 s1={};s1={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 c1={};c1={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 u1={};u1={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 d1={};d1={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 f1={};f1={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 p1={};p1={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}」之間`},O_={"ar-AE":M_,"bg-BG":F_,"cs-CZ":L_,"da-DK":N_,"de-DE":z_,"el-GR":R_,"en-US":K_,"es-ES":V_,"et-EE":B_,"fi-FI":j_,"fr-FR":U_,"he-IL":W_,"hr-HR":H_,"hu-HU":G_,"it-IT":Y_,"ja-JP":q_,"ko-KR":X_,"lt-LT":J_,"lv-LV":Z_,"nb-NO":Q_,"nl-NL":e1,"pl-PL":t1,"pt-BR":n1,"pt-PT":r1,"ro-RO":o1,"ru-RU":a1,"sk-SK":i1,"sl-SI":l1,"sr-SP":s1,"sv-SE":c1,"tr-TR":u1,"uk-UA":d1,"zh-CN":f1,"zh-TW":p1};const tM={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function nM(){let e=$t(jO(O_)),t=GO(),n=eM();return{dropProps:{...Cc(n?e.format(tM[t]):""),onClick:()=>{}}}}const rM=800;function oM(e){let{hasDropButton:t}=e,[n,r]=c.useState(!1),o=c.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:De.all,dropActivateTimer:null}).current,a=y=>{if(r(!0),typeof e.onDropEnter=="function"){let x=y.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:y.clientX-x.x,y:y.clientY-x.y})}},i=y=>{if(r(!1),typeof e.onDropExit=="function"){let x=y.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:y.clientX-x.x,y:y.clientY-x.y})}},l=y=>{y.preventDefault(),y.stopPropagation();let x=g1(y);if(y.clientX===o.x&&y.clientY===o.y&&x===o.allowedOperations){y.dataTransfer.dropEffect=o.dropEffect;return}o.x=y.clientX,o.y=y.clientY;let S=o.dropEffect;if(x!==o.allowedOperations){let T=Fd(x),P=T[0];if(typeof e.getDropOperation=="function"){let M=new Fl(y.dataTransfer);P=Ll(x,e.getDropOperation(M,T))}o.dropEffect=Ad[P]||"none"}if(typeof e.getDropOperationForPoint=="function"){let T=new Fl(y.dataTransfer),P=y.currentTarget.getBoundingClientRect(),M=Ll(x,e.getDropOperationForPoint(T,Fd(x),o.x-P.x,o.y-P.y));o.dropEffect=Ad[M]||"none"}if(o.allowedOperations=x,y.dataTransfer.dropEffect=o.dropEffect,o.dropEffect==="none"&&S!=="none"?i(y):o.dropEffect!=="none"&&S==="none"&&a(y),typeof e.onDropMove=="function"&&o.dropEffect!=="none"){let T=y.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:o.x-T.x,y:o.y-T.y})}if(clearTimeout(o.dropActivateTimer),typeof e.onDropActivate=="function"&&o.dropEffect!=="none"){let T=y.currentTarget.getBoundingClientRect();o.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:o.x-T.x,y:o.y-T.y})},rM)}},s=y=>{if(y.preventDefault(),y.stopPropagation(),o.dragOverElements.add(y.target),o.dragOverElements.size>1)return;let x=g1(y),S=Fd(x),T=S[0];if(typeof e.getDropOperation=="function"){let P=new Fl(y.dataTransfer);T=Ll(x,e.getDropOperation(P,S))}if(typeof e.getDropOperationForPoint=="function"){let P=new Fl(y.dataTransfer),M=y.currentTarget.getBoundingClientRect();T=Ll(x,e.getDropOperationForPoint(P,S,y.clientX-M.x,y.clientY-M.y))}o.x=y.clientX,o.y=y.clientY,o.allowedOperations=x,o.dropEffect=Ad[T]||"none",y.dataTransfer.dropEffect=o.dropEffect,T!=="cancel"&&a(y)},u=y=>{y.preventDefault(),y.stopPropagation(),o.dragOverElements.delete(y.target);for(let x of o.dragOverElements)y.currentTarget.contains(x)||o.dragOverElements.delete(x);o.dragOverElements.size>0||(o.dropEffect!=="none"&&i(y),clearTimeout(o.dropActivateTimer))},d=y=>{if(y.preventDefault(),y.stopPropagation(),o.dropEffect,typeof e.onDrop=="function"){let S=D_[o.dropEffect],T=YO(y.dataTransfer),P=y.currentTarget.getBoundingClientRect(),M={type:"drop",x:y.clientX-P.x,y:y.clientY-P.y,items:T,dropOperation:S};e.onDrop(M)}let x={...T_};o.dragOverElements.clear(),i(y),clearTimeout(o.dropActivateTimer),x.draggingCollectionRef==null||ZO(x)},f=Ce(y=>{typeof e.onDropEnter=="function"&&e.onDropEnter(y)}),m=Ce(y=>{typeof e.onDropExit=="function"&&e.onDropExit(y)}),g=Ce(y=>{typeof e.onDropActivate=="function"&&e.onDropActivate(y)}),h=Ce(y=>{typeof e.onDrop=="function"&&e.onDrop(y)}),b=Ce((y,x)=>e.getDropOperation?e.getDropOperation(y,x):x[0]),{ref:v}=e;Te(()=>QO({element:v.current,getDropOperation:b,onDropEnter(y){r(!0),f(y)},onDropExit(y){r(!1),m(y)},onDrop:h,onDropActivate:g}),[v,b,f,m,h,g]);let{dropProps:_}=nM();return{dropProps:{...!t&&_,onDragEnter:s,onDragOver:l,onDragLeave:u,onDrop:d},dropButtonProps:{...t&&_},isDropTarget:n}}function g1(e){let t=S_[e.dataTransfer.effectAllowed];k_&&(t&=k_);let n=De.none;return Xt()?(e.altKey&&(n|=De.copy),e.ctrlKey&&!wc()&&(n|=De.link),e.metaKey&&(n|=De.move)):(e.altKey&&(n|=De.link),e.shiftKey&&(n|=De.move),e.ctrlKey&&(n|=De.copy)),n?t&n:t}function Fd(e){let t=[];return e&De.move&&t.push("move"),e&De.copy&&t.push("copy"),e&De.link&&t.push("link"),t}function Ll(e,t){let n=De[t];return e&n?t:"cancel"}const aM=F.default(VO)`
1934
1934
  border-radius: ${p.border_radius_400};
1935
1935
  padding: ${p.sizing_200};
1936
1936
  width: fit-content; /* Pass as prop? */
@@ -1939,7 +1939,7 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
1939
1939
  z-index: 5; /* Same as dialogs */
1940
1940
  `,iM=F.default(BO)`
1941
1941
  fill: ${p.color_white};
1942
- `;function m1({children:e,forceMount:t,...n}){return w(KO,{forceMount:t,children:ee(aM,{...n,forceMount:t,children:[e,w(iM,{})]})})}const Ld=E_,lM=F.default(E_)`
1942
+ `;function m1({children:e,forceMount:t,...n}){return w(KO,{forceMount:t,children:Q(aM,{...n,forceMount:t,children:[e,w(iM,{})]})})}const Ld=E_,lM=F.default(E_)`
1943
1943
  all: unset;
1944
1944
  cursor: pointer;
1945
1945
  font-family: inherit;
@@ -2025,12 +2025,12 @@ Valid keys: `+JSON.stringify(Object.keys(B),null," "));var le=me(X,ie,G,te,ne+"
2025
2025
  left: 0;
2026
2026
  right: 0;
2027
2027
  }
2028
- `,bM=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),h1=c.forwardRef((e,t)=>{const{file:n,onAddFile:r,onDeleteFile:o,fileTypes:a=[{name:"CSV",mime:"text/csv"}]}=e,i=_n(t),l=c.useId(),{dropProps:s,isDropTarget:u}=oM({ref:i,onDrop:async f=>{const m=f.items.find(g=>g.kind==="file");if(m&&m.kind==="file"){const g=await m.getFile();r(g)}}}),d=f=>{var m;(m=f.target.files)!=null&&m[0]&&r(f.target.files[0])};return w(uM,{...s,role:"button",tabIndex:0,ref:i,"data-state":u?"dropping":"",children:n?ee(pM,{children:[w(tt,{size:"large",children:n.name}),ee(y_,{children:[w($_,{asChild:!0,children:w(oa,{label:"Remove file",size:"small",variant:"danger",children:w(we.Delete,{})})}),ee(m1,{children:[w(tt,{children:"Are you sure you want to remove this file?"}),ee(mM,{children:[w(Ld,{asChild:!0,children:w(kr,{variant:"secondary",size:"small",children:"Cancel"})}),w(Ld,{asChild:!0,children:w(kr,{variant:"danger",size:"small",onClick:()=>o==null?void 0:o(),children:"Confirm"})})]})]})]})]}):ee(fM,{children:[w(dM,{children:w(we.CloudUpload,{})}),ee(gM,{children:[ee(tt,{children:["Drag and drop to upload, or"," ",w(hM,{htmlFor:l,children:"browse files"})]}),ee(tt,{weak:!0,size:"small",children:["Supported formats:"," ",bM.format(a.map(f=>f.name))]})]}),w("input",{onChange:d,type:"file",hidden:!0,id:l,accept:a.map(f=>f.mime).join(",")})]})})});h1.displayName="FileUpload";var b1={},vM="Expected a function",v1=0/0,yM="[object Symbol]",$M=/^\s+|\s+$/g,_M=/^[-+]0x[0-9a-f]+$/i,xM=/^0b[01]+$/i,wM=/^0o[0-7]+$/i,EM=parseInt,SM=typeof Ca=="object"&&Ca&&Ca.Object===Object&&Ca,DM=typeof self=="object"&&self&&self.Object===Object&&self,PM=SM||DM||Function("return this")(),TM=Object.prototype,kM=TM.toString,CM=Math.max,AM=Math.min,Nd=function(){return PM.Date.now()};function IM(e,t,n){var r,o,a,i,l,s,u=0,d=!1,f=!1,m=!0;if(typeof e!="function")throw new TypeError(vM);t=y1(t)||0,zd(n)&&(d=!!n.leading,f="maxWait"in n,a=f?CM(y1(n.maxWait)||0,t):a,m="trailing"in n?!!n.trailing:m);function g(P){var M=r,$=o;return r=o=void 0,u=P,i=e.apply($,M),i}function h(P){return u=P,l=setTimeout(_,t),d?g(P):i}function b(P){var M=P-s,$=P-u,C=t-M;return f?AM(C,a-$):C}function v(P){var M=P-s,$=P-u;return s===void 0||M>=t||M<0||f&&$>=a}function _(){var P=Nd();if(v(P))return y(P);l=setTimeout(_,b(P))}function y(P){return l=void 0,m&&r?g(P):(r=o=void 0,i)}function x(){l!==void 0&&clearTimeout(l),u=0,r=s=o=l=void 0}function S(){return l===void 0?i:y(Nd())}function T(){var P=Nd(),M=v(P);if(r=arguments,o=this,s=P,M){if(l===void 0)return h(s);if(f)return l=setTimeout(_,t),g(s)}return l===void 0&&(l=setTimeout(_,t)),i}return T.cancel=x,T.flush=S,T}function zd(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function OM(e){return!!e&&typeof e=="object"}function MM(e){return typeof e=="symbol"||OM(e)&&kM.call(e)==yM}function y1(e){if(typeof e=="number")return e;if(MM(e))return v1;if(zd(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=zd(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace($M,"");var n=xM.test(e);return n||wM.test(e)?EM(e.slice(2),n?2:8):_M.test(e)?v1:+e}var FM=IM,Zr={};Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.loadGoogleMapScript=Zr.isBrowser=void 0;var $1=typeof window<"u"&&window.document;Zr.isBrowser=$1;var LM=function(t,n){if(!$1||typeof google<"u"&&google.maps&&google.maps.api)return Promise.resolve();var r=document.querySelectorAll('script[src*="'.concat(t,'"]'));if(r&&r.length)return new Promise(function(i){if(typeof google<"u")return i();r[0].addEventListener("load",function(){return i()})});var o=new URL(n);o.searchParams.set("callback","__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__");var a=document.createElement("script");return a.src=o.toString(),new Promise(function(i){window.__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__=i,document.body.appendChild(a)})};Zr.loadGoogleMapScript=LM;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0}),Nl.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var NM="https://maps.googleapis.com/maps/api/js";Nl.GOOGLE_MAP_SCRIPT_BASE_URL=NM,Object.defineProperty(b1,"__esModule",{value:!0});var zM=b1.default=HM,lt=D.default,_1=KM(FM),x1=Zr,RM=Nl;function KM(e){return e&&e.__esModule?e:{default:e}}function w1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?w1(Object(n),!0).forEach(function(r){VM(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w1(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function VM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eo(e,t){return WM(e)||UM(e,t)||jM(e,t)||BM()}function BM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2029
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jM(e,t){if(e){if(typeof e=="string")return E1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E1(e,t)}}function E1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function UM(e,t){var n=e&&(typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"]);if(n!=null){var r=[],o=!0,a=!1,i,l;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));o=!0);}catch(s){a=!0,l=s}finally{try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function WM(e){if(Array.isArray(e))return e}function HM(e){var t=e.apiKey,n=e.libraries,r=n===void 0?"places":n,o=e.googleMapsScriptBaseUrl,a=o===void 0?RM.GOOGLE_MAP_SCRIPT_BASE_URL:o,i=e.debounce,l=i===void 0?300:i,s=e.options,u=s===void 0?{}:s,d=e.sessionToken,f=e.language,m=f?"&language=".concat(f):"",g="".concat(a,"?key=").concat(t,"&libraries=").concat(r).concat(m),h=(0,lt.useState)([]),b=eo(h,2),v=b[0],_=b[1],y=(0,lt.useState)(!1),x=eo(y,2),S=x[0],T=x[1],P=(0,lt.useState)(null),M=eo(P,2),$=M[0],C=M[1],z=(0,lt.useState)(!1),E=eo(z,2),K=E[0],I=E[1],k=(0,lt.useState)(!1),j=eo(k,2),O=j[0],Z=j[1],V=(0,lt.useState)([]),q=eo(V,2),B=q[0],U=q[1],W=(0,lt.useRef)(null),R=(0,lt.useRef)(null),G=(0,lt.useRef)(null),te=(0,lt.useCallback)(function(){return(0,x1.loadGoogleMapScript)(a,g)},[a,g]),ne=(0,lt.useCallback)((0,_1.default)(function(H){W.current&&H.input&&W.current.getPlacePredictions(Qr(Qr(Qr({},d&&G.current?{sessionToken:G.current}:{}),u),H),function(J){T(!1),_(J||[])})},l),[l]),X=(0,lt.useCallback)((0,_1.default)(function(H){W.current&&H.input&&W.current.getQueryPredictions(Qr(Qr(Qr({},d&&G.current?{sessionToken:G.current}:{}),u),H),function(J){I(!1),U(J||[])})},l),[l]);return(0,lt.useEffect)(function(){if(x1.isBrowser){var H=function(){if(!google)return console.error("Google has not been found. Make sure your provide apiKey prop.");W.current=new google.maps.places.AutocompleteService,R.current=new google.maps.places.PlacesService(document.createElement("div")),d&&(G.current=new google.maps.places.AutocompleteSessionToken)};t?te().then(function(){return H()}):H()}},[]),{placesService:R.current,autocompleteSessionToken:G.current,placesAutocompleteService:W.current,placePredictions:$?v:[],isPlacePredictionsLoading:S,getPlacePredictions:function(J){if(J.input){C(J.input),T(!0),ne(J);return}_([]),C(null),ne(J),T(!1)},queryPredictions:O?B:[],isQueryPredictionsLoading:K,getQueryPredictions:function(J){if(J.input){Z(J.input),I(!0),X(J);return}U([]),Z(null),X(J),I(!1)},refreshSessionToken:function(){G.current=new google.maps.places.AutocompleteSessionToken}}}const S1=F.default(tt)`
2028
+ `,bM=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),h1=c.forwardRef((e,t)=>{const{file:n,onAddFile:r,onDeleteFile:o,fileTypes:a=[{name:"CSV",mime:"text/csv"}]}=e,i=xn(t),l=c.useId(),{dropProps:s,isDropTarget:u}=oM({ref:i,onDrop:async f=>{const m=f.items.find(g=>g.kind==="file");if(m&&m.kind==="file"){const g=await m.getFile();r(g)}}}),d=f=>{var m;(m=f.target.files)!=null&&m[0]&&r(f.target.files[0])};return w(uM,{...s,role:"button",tabIndex:0,ref:i,"data-state":u?"dropping":"",children:n?Q(pM,{children:[w(tt,{size:"large",children:n.name}),Q(y_,{children:[w($_,{asChild:!0,children:w(oa,{label:"Remove file",size:"small",variant:"danger",children:w(Ee.Delete,{})})}),Q(m1,{children:[w(tt,{children:"Are you sure you want to remove this file?"}),Q(mM,{children:[w(Ld,{asChild:!0,children:w(kr,{variant:"secondary",size:"small",children:"Cancel"})}),w(Ld,{asChild:!0,children:w(kr,{variant:"danger",size:"small",onClick:()=>o==null?void 0:o(),children:"Confirm"})})]})]})]})]}):Q(fM,{children:[w(dM,{children:w(Ee.CloudUpload,{})}),Q(gM,{children:[Q(tt,{children:["Drag and drop to upload, or"," ",w(hM,{htmlFor:l,children:"browse files"})]}),Q(tt,{weak:!0,size:"small",children:["Supported formats:"," ",bM.format(a.map(f=>f.name))]})]}),w("input",{onChange:d,type:"file",hidden:!0,id:l,accept:a.map(f=>f.mime).join(",")})]})})});h1.displayName="FileUpload";var b1={},vM="Expected a function",v1=0/0,yM="[object Symbol]",$M=/^\s+|\s+$/g,_M=/^[-+]0x[0-9a-f]+$/i,xM=/^0b[01]+$/i,wM=/^0o[0-7]+$/i,EM=parseInt,SM=typeof Ca=="object"&&Ca&&Ca.Object===Object&&Ca,DM=typeof self=="object"&&self&&self.Object===Object&&self,PM=SM||DM||Function("return this")(),TM=Object.prototype,kM=TM.toString,CM=Math.max,AM=Math.min,Nd=function(){return PM.Date.now()};function IM(e,t,n){var r,o,a,i,l,s,u=0,d=!1,f=!1,m=!0;if(typeof e!="function")throw new TypeError(vM);t=y1(t)||0,zd(n)&&(d=!!n.leading,f="maxWait"in n,a=f?CM(y1(n.maxWait)||0,t):a,m="trailing"in n?!!n.trailing:m);function g(P){var M=r,$=o;return r=o=void 0,u=P,i=e.apply($,M),i}function h(P){return u=P,l=setTimeout(_,t),d?g(P):i}function b(P){var M=P-s,$=P-u,C=t-M;return f?AM(C,a-$):C}function v(P){var M=P-s,$=P-u;return s===void 0||M>=t||M<0||f&&$>=a}function _(){var P=Nd();if(v(P))return y(P);l=setTimeout(_,b(P))}function y(P){return l=void 0,m&&r?g(P):(r=o=void 0,i)}function x(){l!==void 0&&clearTimeout(l),u=0,r=s=o=l=void 0}function S(){return l===void 0?i:y(Nd())}function T(){var P=Nd(),M=v(P);if(r=arguments,o=this,s=P,M){if(l===void 0)return h(s);if(f)return l=setTimeout(_,t),g(s)}return l===void 0&&(l=setTimeout(_,t)),i}return T.cancel=x,T.flush=S,T}function zd(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function OM(e){return!!e&&typeof e=="object"}function MM(e){return typeof e=="symbol"||OM(e)&&kM.call(e)==yM}function y1(e){if(typeof e=="number")return e;if(MM(e))return v1;if(zd(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=zd(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace($M,"");var n=xM.test(e);return n||wM.test(e)?EM(e.slice(2),n?2:8):_M.test(e)?v1:+e}var FM=IM,Zr={};Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.loadGoogleMapScript=Zr.isBrowser=void 0;var $1=typeof window<"u"&&window.document;Zr.isBrowser=$1;var LM=function(t,n){if(!$1||typeof google<"u"&&google.maps&&google.maps.api)return Promise.resolve();var r=document.querySelectorAll('script[src*="'.concat(t,'"]'));if(r&&r.length)return new Promise(function(i){if(typeof google<"u")return i();r[0].addEventListener("load",function(){return i()})});var o=new URL(n);o.searchParams.set("callback","__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__");var a=document.createElement("script");return a.src=o.toString(),new Promise(function(i){window.__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__=i,document.body.appendChild(a)})};Zr.loadGoogleMapScript=LM;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0}),Nl.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var NM="https://maps.googleapis.com/maps/api/js";Nl.GOOGLE_MAP_SCRIPT_BASE_URL=NM,Object.defineProperty(b1,"__esModule",{value:!0});var zM=b1.default=HM,lt=D.default,_1=KM(FM),x1=Zr,RM=Nl;function KM(e){return e&&e.__esModule?e:{default:e}}function w1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?w1(Object(n),!0).forEach(function(r){VM(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w1(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function VM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eo(e,t){return WM(e)||UM(e,t)||jM(e,t)||BM()}function BM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2029
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jM(e,t){if(e){if(typeof e=="string")return E1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E1(e,t)}}function E1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function UM(e,t){var n=e&&(typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"]);if(n!=null){var r=[],o=!0,a=!1,i,l;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));o=!0);}catch(s){a=!0,l=s}finally{try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function WM(e){if(Array.isArray(e))return e}function HM(e){var t=e.apiKey,n=e.libraries,r=n===void 0?"places":n,o=e.googleMapsScriptBaseUrl,a=o===void 0?RM.GOOGLE_MAP_SCRIPT_BASE_URL:o,i=e.debounce,l=i===void 0?300:i,s=e.options,u=s===void 0?{}:s,d=e.sessionToken,f=e.language,m=f?"&language=".concat(f):"",g="".concat(a,"?key=").concat(t,"&libraries=").concat(r).concat(m),h=(0,lt.useState)([]),b=eo(h,2),v=b[0],_=b[1],y=(0,lt.useState)(!1),x=eo(y,2),S=x[0],T=x[1],P=(0,lt.useState)(null),M=eo(P,2),$=M[0],C=M[1],N=(0,lt.useState)(!1),E=eo(N,2),K=E[0],I=E[1],k=(0,lt.useState)(!1),j=eo(k,2),O=j[0],J=j[1],V=(0,lt.useState)([]),q=eo(V,2),B=q[0],U=q[1],H=(0,lt.useRef)(null),R=(0,lt.useRef)(null),G=(0,lt.useRef)(null),ne=(0,lt.useCallback)(function(){return(0,x1.loadGoogleMapScript)(a,g)},[a,g]),te=(0,lt.useCallback)((0,_1.default)(function(X){H.current&&X.input&&H.current.getPlacePredictions(Qr(Qr(Qr({},d&&G.current?{sessionToken:G.current}:{}),u),X),function(W){T(!1),_(W||[])})},l),[l]),ie=(0,lt.useCallback)((0,_1.default)(function(X){H.current&&X.input&&H.current.getQueryPredictions(Qr(Qr(Qr({},d&&G.current?{sessionToken:G.current}:{}),u),X),function(W){I(!1),U(W||[])})},l),[l]);return(0,lt.useEffect)(function(){if(x1.isBrowser){var X=function(){if(!google)return console.error("Google has not been found. Make sure your provide apiKey prop.");H.current=new google.maps.places.AutocompleteService,R.current=new google.maps.places.PlacesService(document.createElement("div")),d&&(G.current=new google.maps.places.AutocompleteSessionToken)};t?ne().then(function(){return X()}):X()}},[]),{placesService:R.current,autocompleteSessionToken:G.current,placesAutocompleteService:H.current,placePredictions:$?v:[],isPlacePredictionsLoading:S,getPlacePredictions:function(W){if(W.input){C(W.input),T(!0),te(W);return}_([]),C(null),te(W),T(!1)},queryPredictions:O?B:[],isQueryPredictionsLoading:K,getQueryPredictions:function(W){if(W.input){J(W.input),I(!0),ie(W);return}U([]),J(null),ie(W),I(!1)},refreshSessionToken:function(){G.current=new google.maps.places.AutocompleteSessionToken}}}const S1=F.default(tt)`
2030
2030
  :hover {
2031
2031
  background-color: ${p.color_gray_opacity_5};
2032
2032
  }
2033
- `,D1=e=>{var r,o,a;const t=((r=e.formatted_address)==null?void 0:r.length)&&((o=e.name)==null?void 0:o.length)&&!e.formatted_address.startsWith(e.name),n=(a=e.formatted_address)==null?void 0:a.length;return t&&e.name&&e.formatted_address?`${e.name}, ${e.formatted_address}`:n?e.formatted_address:""},GM=["name","formatted_address","geometry.location"],YM=({googleApiKey:e,placeholder:t="Enter an address",options:n={},libraries:r=["places"],googleMapsScriptBaseUrl:o,debounce:a=750,defaultValue:i,value:l,onChange:s,disabled:u,isInvalid:d,label:f,labelId:m="location-input-label",inputId:g="location-input",hideLabel:h=!1,boldLabel:b=!0,autoFocus:v,extraMenuActions:_=[],showExtraActionsWithResults:y=!1,...x})=>{const[S,T]=c.useState(i??l??""),P=c.createRef(),M=c.useRef(null),$=Kr({}),{overlayProps:C}=Nb({},P),{fields:z=GM}=n;c.useEffect(()=>{l&&T(l)},[l]);const{autocompleteSessionToken:E,refreshSessionToken:K,placesService:I,placePredictions:k,getPlacePredictions:j,isPlacePredictionsLoading:O}=zM({apiKey:e,libraries:r,googleMapsScriptBaseUrl:o,debounce:a,options:{input:S,...n},sessionToken:!0}),[Z,V]=c.useState(-1),q=c.useCallback(H=>{H&&(I==null||I.getDetails({placeId:H.place_id??"",fields:z,sessionToken:E},(J,ie)=>{if(J&&ie===google.maps.places.PlacesServiceStatus.OK){const me=D1(J);me&&T(me),s==null||s(J),$.close(),V(-1)}else console.error("Error getting place details.",ie,J);typeof google=="object"&&K()}))},[I,z,E,K,s,$]);Ao(()=>{document.activeElement===P.current&&$.close()});const B=H=>{const J=H.target.value;J.length===0?(T(J),s==null||s(null),V(-1)):(j({input:J,locationRestriction:n.bounds,sessionToken:E}),T(J),V(-1))},U=H=>{H.target.select(),typeof google=="object"&&K(),$.isOpen||$.open()},W=()=>{$.isOpen&&($.close(),V(-1))},R={extra:_.length&&(y||!O&&k.length===0||S.length===0),predictions:S.length>0&&!O&&k.length>0},G=(H,J)=>{const ie=(R.predictions?k.length:0)+(R.extra?_.length:0);if(ie===0)return;let me=Z;J==="down"&&(me=(Z+1)%ie),J==="up"&&(me=(Z-1+ie)%ie),V(me)},te=H=>{var J;H.key==="Tab"?Z!==-1&&(R.predictions&&Z<k.length?q(k[Z]):R.extra&&((J=_[Z-(R.predictions?k.length:0)])==null||J.onClick(),$.close(),V(-1))):H.key==="Enter"?H.preventDefault():H.key==="ArrowDown"?($.open(),G(H,"down")):H.key==="ArrowUp"?($.open(),G(H,"up")):(V(-1),$.isOpen||$.open())},ne=H=>{var J;H.key==="Enter"&&Z!==-1&&(R.predictions&&Z<k.length?q(k[Z]):R.extra&&((J=_[Z-(R.predictions?k.length:0)])==null||J.onClick(),$.close(),V(-1)))},X=R.extra&&(O||R.predictions&&k.length);return ee(Et,{children:[f?ee(Re,{id:m,htmlFor:g,srOnly:h,mb:p.spacing_150,bold:b,children:[f,x.tooltipContent?w(Xe,{children:x.tooltipContent}):null]}):null,w(Nt,{height:p.spacing_600,type:"text",autoComplete:"off",autoFocus:v,"data-id":x["data-id"]??g,id:g,disabled:u,"data-state":d?"invalid":void 0,value:S,placeholder:t,ref:P,onChange:B,onFocus:U,onBlur:W,onKeyDown:te,onKeyUp:ne,onMouseUp:H=>H.preventDefault()}),x.description?w(R$,{children:x.description}):null,x.errorMessage?w(St,{children:x.errorMessage}):null,$.isOpen&&(R.extra||R.predictions)?w(er,{className:"google-input-popover",targetRef:P,popoverRef:M,state:$,...C,isTargetWidth:!0,placement:"bottom start",isNonModal:!0,children:ee(pe,{onMouseDown:H=>H.preventDefault(),children:[R.predictions?k.map((H,J)=>w(S1,{p:p.spacing_200,truncate:!0,onClick:()=>q(H),style:{cursor:"pointer"},backgroundColor:Z===J?p.color_gray_opacity_5:"transparent",children:H.description},H.place_id)):null,O?w(tt,{as:"span",italic:!0,p:p.spacing_200,style:{cursor:"pointer"},children:"Loading..."}):null,!R.extra&&!R.predictions?w(tt,{as:"span",p:p.spacing_200,style:{cursor:"pointer"},children:"No results found"}):null,X?w("hr",{style:{margin:0,backgroundColor:p.color_gray_88,height:"1px",border:0}}):null,R.extra?_.map((H,J)=>w(S1,{p:p.spacing_200,truncate:!0,onClick:()=>{H.onClick(),$.close()},style:{cursor:"pointer"},backgroundColor:(R.predictions?Z===J+k.length:Z===J)?p.color_gray_opacity_5:"transparent",children:H.label},H.id)):null]})}):null]})};var P1={};P1={Empty:"فارغ"};var T1={};T1={Empty:"Изпразни"};var k1={};k1={Empty:"Prázdné"};var C1={};C1={Empty:"Tom"};var A1={};A1={Empty:"Leer"};var I1={};I1={Empty:"Άδειο"};var O1={};O1={Empty:"Empty"};var M1={};M1={Empty:"Vacío"};var F1={};F1={Empty:"Tühjenda"};var L1={};L1={Empty:"Tyhjä"};var N1={};N1={Empty:"Vide"};var z1={};z1={Empty:"ריק"};var R1={};R1={Empty:"Prazno"};var K1={};K1={Empty:"Üres"};var V1={};V1={Empty:"Vuoto"};var B1={};B1={Empty:"空"};var j1={};j1={Empty:"비어 있음"};var U1={};U1={Empty:"Tuščias"};var W1={};W1={Empty:"Tukšs"};var H1={};H1={Empty:"Tom"};var G1={};G1={Empty:"Leeg"};var Y1={};Y1={Empty:"Pusty"};var q1={};q1={Empty:"Vazio"};var X1={};X1={Empty:"Vazio"};var J1={};J1={Empty:"Gol"};var Z1={};Z1={Empty:"Не заполнено"};var Q1={};Q1={Empty:"Prázdne"};var ex={};ex={Empty:"Prazen"};var tx={};tx={Empty:"Prazno"};var nx={};nx={Empty:"Tomt"};var rx={};rx={Empty:"Boş"};var ox={};ox={Empty:"Пусто"};var ax={};ax={Empty:"空"};var ix={};ix={Empty:"空白"};function qM(e){return e&&e.__esModule?e.default:e}var lx={};lx={"ar-AE":P1,"bg-BG":T1,"cs-CZ":k1,"da-DK":C1,"de-DE":A1,"el-GR":I1,"en-US":O1,"es-ES":M1,"et-EE":F1,"fi-FI":L1,"fr-FR":N1,"he-IL":z1,"hr-HR":R1,"hu-HU":K1,"it-IT":V1,"ja-JP":B1,"ko-KR":j1,"lt-LT":U1,"lv-LV":W1,"nb-NO":H1,"nl-NL":G1,"pl-PL":Y1,"pt-BR":q1,"pt-PT":X1,"ro-RO":J1,"ru-RU":Z1,"sk-SK":Q1,"sl-SI":ex,"sr-SP":tx,"sv-SE":nx,"tr-TR":rx,"uk-UA":ox,"zh-CN":ax,"zh-TW":ix};function XM(e){const t=c.useRef();let{value:n,textValue:r,minValue:o,maxValue:a,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:u,onIncrementPage:d,onDecrement:f,onDecrementPage:m,onDecrementToMin:g,onIncrementToMax:h}=e;const b=$t(qM(lx),"@react-aria/spinbutton"),v=()=>clearTimeout(t.current);c.useEffect(()=>()=>v(),[]);let _=E=>{if(!(E.ctrlKey||E.metaKey||E.shiftKey||E.altKey||l))switch(E.key){case"PageUp":if(d){E.preventDefault(),d==null||d();break}case"ArrowUp":case"Up":u&&(E.preventDefault(),u==null||u());break;case"PageDown":if(m){E.preventDefault(),m==null||m();break}case"ArrowDown":case"Down":f&&(E.preventDefault(),f==null||f());break;case"Home":g&&(E.preventDefault(),g==null||g());break;case"End":h&&(E.preventDefault(),h==null||h());break}},y=c.useRef(!1),x=()=>{y.current=!0},S=()=>{y.current=!1},T=r===""?b.format("Empty"):(r||`${n}`).replace("-","−");c.useEffect(()=>{y.current&&(L8("assertive"),Vr(T,"assertive"))},[T]);const P=Ce(E=>{v(),u==null||u(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||n===void 0||isNaN(n)||n<a)&&P(60)},E)}),M=Ce(E=>{v(),f==null||f(),t.current=window.setTimeout(()=>{(o===void 0||isNaN(o)||n===void 0||isNaN(n)||n>o)&&M(60)},E)});let $=E=>{E.preventDefault()},{addGlobalListener:C,removeAllGlobalListeners:z}=Pc();return{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":T,"aria-valuemin":o,"aria-valuemax":a,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:_,onFocus:x,onBlur:S},incrementButtonProps:{onPressStart:()=>{P(400),C(window,"contextmenu",$)},onPressEnd:()=>{v(),z()},onFocus:x,onBlur:S},decrementButtonProps:{onPressStart:()=>{M(400),C(window,"contextmenu",$)},onPressEnd:()=>{v(),z()},onFocus:x,onBlur:S}}}function JM(e){return e&&e.__esModule?e.default:e}var sx={},cx={};cx={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var ux={};ux={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var dx={};dx={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var fx={};fx={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var px={};px={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var gx={};gx={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var mx={};mx={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var hx={};hx={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var bx={};bx={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var vx={};vx={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var yx={};yx={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var $x={};$x={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var _x={};_x={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var xx={};xx={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var wx={};wx={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Ex={};Ex={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Sx={};Sx={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Dx={};Dx={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Px={};Px={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Tx={};Tx={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var kx={};kx={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Cx={};Cx={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Ax={};Ax={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Ix={};Ix={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Ox={};Ox={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Mx={};Mx={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Fx={};Fx={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Lx={};Lx={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Nx={};Nx={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var zx={};zx={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Rx={};Rx={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Kx={};Kx={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Vx={};Vx={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Bx={};Bx={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},sx={"ar-AE":cx,"bg-BG":ux,"cs-CZ":dx,"da-DK":fx,"de-DE":px,"el-GR":gx,"en-US":mx,"es-ES":hx,"et-EE":bx,"fi-FI":vx,"fr-FR":yx,"he-IL":$x,"hr-HR":_x,"hu-HU":xx,"it-IT":wx,"ja-JP":Ex,"ko-KR":Sx,"lt-LT":Dx,"lv-LV":Px,"nb-NO":Tx,"nl-NL":kx,"pl-PL":Cx,"pt-BR":Ax,"pt-PT":Ix,"ro-RO":Ox,"ru-RU":Mx,"sk-SK":Fx,"sl-SI":Lx,"sr-SP":Nx,"sv-SE":zx,"tr-TR":Rx,"uk-UA":Kx,"zh-CN":Vx,"zh-TW":Bx};function ZM(e,t,n){let{id:r,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:l,isRequired:s,minValue:u,maxValue:d,autoFocus:f,validationState:m,label:g,formatOptions:h,onBlur:b=()=>{},onFocus:v,onFocusChange:_,onKeyDown:y,onKeyUp:x,description:S,errorMessage:T,...P}=e,{increment:M,incrementToMax:$,decrement:C,decrementToMin:z,numberValue:E,inputValue:K,commit:I}=t;const k=$t(JM(sx));let j=ct(r),{focusProps:O}=zc({onBlur:()=>{I()}}),Z=Lb(h),V=c.useMemo(()=>Z.resolvedOptions(),[Z]),q=Lb({...h,currencySign:void 0}),B=c.useMemo(()=>isNaN(E)?"":q.format(E),[q,E]),{spinButtonProps:U,incrementButtonProps:W,decrementButtonProps:R}=XM({isDisabled:i,isReadOnly:l,isRequired:s,maxValue:d,minValue:u,onIncrement:M,onIncrementToMax:$,onDecrement:C,onDecrementToMin:z,value:E,textValue:B}),[G,te]=c.useState(!1),{focusWithinProps:ne}=Ko({isDisabled:i,onFocusWithinChange:te}),X=c.useCallback(st=>{Math.abs(st.deltaY)<=Math.abs(st.deltaX)||(st.deltaY>0?M():st.deltaY<0&&C())},[C,M]);yk({onScroll:X,isDisabled:i||l||!G},n);let J=V.maximumFractionDigits>0,ie=isNaN(t.minValue)||t.minValue<0,me="numeric";Dm()?ie?me="text":J&&(me="decimal"):Sc()&&(ie?me="numeric":J&&(me="decimal"));let le=st=>{t.validate(st)&&t.setInputValue(st)},fe=$n(e),{labelProps:De,inputProps:Mn,descriptionProps:Fn,errorMessageProps:co}=Q9({...P,...fe,label:g,autoFocus:f,isDisabled:i,isReadOnly:l,isRequired:s,validationState:m,value:K,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:j,type:"text",inputMode:me,onChange:le,onBlur:b,onFocus:v,onFocusChange:_,onKeyDown:y,onKeyUp:x,description:S,errorMessage:T},t,n),uo=ge(U,O,Mn,{role:null,"aria-roledescription":Mo()?null:k.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),un=st=>{document.activeElement!==n.current&&(st.pointerType==="mouse"?n.current.focus():st.target.focus())},Rt=e["aria-label"]||(typeof e.label=="string"?e.label:""),dn;Rt||(dn=e.label!=null?De.id:e["aria-labelledby"]);let fo=ct(),es=ct(),ep=ge(W,{"aria-label":a||k.format("increase",{fieldLabel:Rt}).trim(),id:dn&&!a?fo:null,"aria-labelledby":dn&&!a?`${fo} ${dn}`:null,"aria-controls":j,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:un}),ts=ge(R,{"aria-label":o||k.format("decrease",{fieldLabel:Rt}).trim(),id:dn&&!o?es:null,"aria-labelledby":dn&&!o?`${es} ${dn}`:null,"aria-controls":j,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:un});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":m==="invalid"?"true":void 0,...ne},labelProps:De,inputProps:uo,incrementButtonProps:ep,decrementButtonProps:ts,errorMessageProps:co,descriptionProps:Fn}}function QM(e){let{minValue:t,maxValue:n,step:r,formatOptions:o,value:a,defaultValue:i,onChange:l,locale:s,isDisabled:u,isReadOnly:d}=e,[f,m]=Mt(a,isNaN(i)?NaN:i,l),[g,h]=c.useState(()=>isNaN(f)?"":new Zi(s,o).format(f)),b=c.useMemo(()=>new Ab(s,o),[s,o]),v=c.useMemo(()=>b.getNumberingSystem(g),[b,g]),_=c.useMemo(()=>new Zi(s,{...o,numberingSystem:v}),[s,o,v]),y=c.useMemo(()=>_.resolvedOptions(),[_]),x=c.useCallback(U=>isNaN(U)||U===null?"":_.format(U),[_]),S=isNaN(r)?1:r;y.style==="percent"&&isNaN(r)&&(S=.01);let[T,P]=c.useState(f),[M,$]=c.useState(s),[C,z]=c.useState(o);(!Object.is(f,T)||s!==M||o!==C)&&(h(x(f)),P(f),$(s),z(o));let E=c.useMemo(()=>b.parse(g),[b,g]),K=()=>{if(!g.length){m(NaN),h(a===void 0?"":x(f));return}if(isNaN(E)){h(x(f));return}let U;isNaN(r)?U=pi(E,t,n):U=jn(E,t,n,r),U=b.parse(x(U)),m(U),h(x(a===void 0?U:f))},I=(U,W)=>{let R=E;if(isNaN(R)){let G=isNaN(W)?0:W;return jn(G,t,n,S)}else{let G=jn(R,t,n,S);return U==="+"&&G>R||U==="-"&&G<R?G:jn(Rd(U,R,S),t,n,S)}},k=()=>{let U=I("+",t);U===f&&h(x(U)),m(U)},j=()=>{let U=I("-",n);U===f&&h(x(U)),m(U)},O=()=>{n!=null&&m(jn(n,t,n,S))},Z=()=>{t!=null&&m(t)},V=c.useMemo(()=>!u&&!d&&(isNaN(E)||isNaN(n)||jn(E,t,n,S)>E||Rd("+",E,S)<=n),[u,d,t,n,S,E]),q=c.useMemo(()=>!u&&!d&&(isNaN(E)||isNaN(t)||jn(E,t,n,S)<E||Rd("-",E,S)>=t),[u,d,t,n,S,E]);return{validate:U=>b.isValidPartialNumber(U,t,n),increment:k,incrementToMax:O,decrement:j,decrementToMin:Z,canIncrement:V,canDecrement:q,minValue:t,maxValue:n,numberValue:E,setInputValue:h,inputValue:g,commit:K}}function Rd(e,t,n){let r=e==="+"?t+n:t-n;if(t%1!==0||n%1!==0){const o=t.toString().split("."),a=n.toString().split("."),i=o[1]&&o[1].length||0,l=a[1]&&a[1].length||0,s=Math.pow(10,Math.max(i,l));t=Math.round(t*s),n=Math.round(n*s),r=e==="+"?t+n:t-n,r/=s}return r}function jx(e){const t=c.useRef(null),{buttonProps:n,isPressed:r}=Gn(e,t),{children:o,className:a}=e;return w("button",{"data-state":r?"pressed":void 0,ref:t,...n,className:a,children:o})}const eF=F.default.div`
2033
+ `,D1=e=>{var r,o,a;const t=((r=e.formatted_address)==null?void 0:r.length)&&((o=e.name)==null?void 0:o.length)&&!e.formatted_address.startsWith(e.name),n=(a=e.formatted_address)==null?void 0:a.length;return t&&e.name&&e.formatted_address?`${e.name}, ${e.formatted_address}`:n?e.formatted_address:""},GM=["name","formatted_address","geometry.location"],YM=({googleApiKey:e,placeholder:t="Enter an address",options:n={},libraries:r=["places"],googleMapsScriptBaseUrl:o,debounce:a=750,defaultValue:i,value:l,onChange:s,disabled:u,isInvalid:d,label:f,labelId:m="location-input-label",inputId:g="location-input",hideLabel:h=!1,boldLabel:b=!0,autoFocus:v,extraMenuActions:_=[],showExtraActionsWithResults:y=!1,...x})=>{const[S,T]=c.useState(i??l??""),P=c.createRef(),M=c.useRef(null),$=Kr({}),{overlayProps:C}=Nb({},P),{fields:N=GM}=n;c.useEffect(()=>{l&&T(l)},[l]);const{autocompleteSessionToken:E,refreshSessionToken:K,placesService:I,placePredictions:k,getPlacePredictions:j,isPlacePredictionsLoading:O}=zM({apiKey:e,libraries:r,googleMapsScriptBaseUrl:o,debounce:a,options:{input:S,...n},sessionToken:!0}),[J,V]=c.useState(-1),q=c.useCallback(X=>{X&&(I==null||I.getDetails({placeId:X.place_id??"",fields:N,sessionToken:E},(W,ee)=>{if(W&&ee===google.maps.places.PlacesServiceStatus.OK){const fe=D1(W);fe&&T(fe),s==null||s(W),$.close(),V(-1)}else console.error("Error getting place details.",ee,W);typeof google=="object"&&K()}))},[I,N,E,K,s,$]);Ao(()=>{document.activeElement===P.current&&$.close()});const B=X=>{const W=X.target.value;W.length===0?(T(W),s==null||s(null),V(-1)):(j({input:W,locationRestriction:n.bounds,sessionToken:E}),T(W),V(-1))},U=X=>{X.target.select(),typeof google=="object"&&K(),$.isOpen||$.open()},H=()=>{$.isOpen&&($.close(),V(-1))},R={extra:_.length&&(y||!O&&k.length===0||S.length===0),predictions:S.length>0&&!O&&k.length>0},G=(X,W)=>{const ee=(R.predictions?k.length:0)+(R.extra?_.length:0);if(ee===0)return;let fe=J;W==="down"&&(fe=(J+1)%ee),W==="up"&&(fe=(J-1+ee)%ee),V(fe)},ne=X=>{var W;X.key==="Tab"?J!==-1&&(R.predictions&&J<k.length?q(k[J]):R.extra&&((W=_[J-(R.predictions?k.length:0)])==null||W.onClick(),$.close(),V(-1))):X.key==="Enter"?X.preventDefault():X.key==="ArrowDown"?($.open(),G(X,"down")):X.key==="ArrowUp"?($.open(),G(X,"up")):(V(-1),$.isOpen||$.open())},te=X=>{var W;X.key==="Enter"&&J!==-1&&(R.predictions&&J<k.length?q(k[J]):R.extra&&((W=_[J-(R.predictions?k.length:0)])==null||W.onClick(),$.close(),V(-1)))},ie=R.extra&&(O||R.predictions&&k.length);return Q(Et,{children:[f?Q(Re,{id:m,htmlFor:g,srOnly:h,mb:p.spacing_150,bold:b,children:[f,x.tooltipContent?w(Xe,{children:x.tooltipContent}):null]}):null,w(zt,{height:p.spacing_600,type:"text",autoComplete:"off",autoFocus:v,"data-id":x["data-id"]??g,id:g,disabled:u,"data-state":d?"invalid":void 0,value:S,placeholder:t,ref:P,onChange:B,onFocus:U,onBlur:H,onKeyDown:ne,onKeyUp:te,onMouseUp:X=>X.preventDefault()}),x.description?w(R$,{children:x.description}):null,x.errorMessage?w(St,{children:x.errorMessage}):null,$.isOpen&&(R.extra||R.predictions)?w(er,{className:"google-input-popover",targetRef:P,popoverRef:M,state:$,...C,isTargetWidth:!0,placement:"bottom start",isNonModal:!0,children:Q(pe,{onMouseDown:X=>X.preventDefault(),children:[R.predictions?k.map((X,W)=>w(S1,{p:p.spacing_200,truncate:!0,onClick:()=>q(X),style:{cursor:"pointer"},backgroundColor:J===W?p.color_gray_opacity_5:"transparent",children:X.description},X.place_id)):null,O?w(tt,{as:"span",italic:!0,p:p.spacing_200,style:{cursor:"pointer"},children:"Loading..."}):null,!R.extra&&!R.predictions?w(tt,{as:"span",p:p.spacing_200,style:{cursor:"pointer"},children:"No results found"}):null,ie?w("hr",{style:{margin:0,backgroundColor:p.color_gray_88,height:"1px",border:0}}):null,R.extra?_.map((X,W)=>w(S1,{p:p.spacing_200,truncate:!0,onClick:()=>{X.onClick(),$.close()},style:{cursor:"pointer"},backgroundColor:(R.predictions?J===W+k.length:J===W)?p.color_gray_opacity_5:"transparent",children:X.label},X.id)):null]})}):null]})};var P1={};P1={Empty:"فارغ"};var T1={};T1={Empty:"Изпразни"};var k1={};k1={Empty:"Prázdné"};var C1={};C1={Empty:"Tom"};var A1={};A1={Empty:"Leer"};var I1={};I1={Empty:"Άδειο"};var O1={};O1={Empty:"Empty"};var M1={};M1={Empty:"Vacío"};var F1={};F1={Empty:"Tühjenda"};var L1={};L1={Empty:"Tyhjä"};var N1={};N1={Empty:"Vide"};var z1={};z1={Empty:"ריק"};var R1={};R1={Empty:"Prazno"};var K1={};K1={Empty:"Üres"};var V1={};V1={Empty:"Vuoto"};var B1={};B1={Empty:"空"};var j1={};j1={Empty:"비어 있음"};var U1={};U1={Empty:"Tuščias"};var W1={};W1={Empty:"Tukšs"};var H1={};H1={Empty:"Tom"};var G1={};G1={Empty:"Leeg"};var Y1={};Y1={Empty:"Pusty"};var q1={};q1={Empty:"Vazio"};var X1={};X1={Empty:"Vazio"};var J1={};J1={Empty:"Gol"};var Z1={};Z1={Empty:"Не заполнено"};var Q1={};Q1={Empty:"Prázdne"};var ex={};ex={Empty:"Prazen"};var tx={};tx={Empty:"Prazno"};var nx={};nx={Empty:"Tomt"};var rx={};rx={Empty:"Boş"};var ox={};ox={Empty:"Пусто"};var ax={};ax={Empty:"空"};var ix={};ix={Empty:"空白"};function qM(e){return e&&e.__esModule?e.default:e}var lx={};lx={"ar-AE":P1,"bg-BG":T1,"cs-CZ":k1,"da-DK":C1,"de-DE":A1,"el-GR":I1,"en-US":O1,"es-ES":M1,"et-EE":F1,"fi-FI":L1,"fr-FR":N1,"he-IL":z1,"hr-HR":R1,"hu-HU":K1,"it-IT":V1,"ja-JP":B1,"ko-KR":j1,"lt-LT":U1,"lv-LV":W1,"nb-NO":H1,"nl-NL":G1,"pl-PL":Y1,"pt-BR":q1,"pt-PT":X1,"ro-RO":J1,"ru-RU":Z1,"sk-SK":Q1,"sl-SI":ex,"sr-SP":tx,"sv-SE":nx,"tr-TR":rx,"uk-UA":ox,"zh-CN":ax,"zh-TW":ix};function XM(e){const t=c.useRef();let{value:n,textValue:r,minValue:o,maxValue:a,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:u,onIncrementPage:d,onDecrement:f,onDecrementPage:m,onDecrementToMin:g,onIncrementToMax:h}=e;const b=$t(qM(lx),"@react-aria/spinbutton"),v=()=>clearTimeout(t.current);c.useEffect(()=>()=>v(),[]);let _=E=>{if(!(E.ctrlKey||E.metaKey||E.shiftKey||E.altKey||l))switch(E.key){case"PageUp":if(d){E.preventDefault(),d==null||d();break}case"ArrowUp":case"Up":u&&(E.preventDefault(),u==null||u());break;case"PageDown":if(m){E.preventDefault(),m==null||m();break}case"ArrowDown":case"Down":f&&(E.preventDefault(),f==null||f());break;case"Home":g&&(E.preventDefault(),g==null||g());break;case"End":h&&(E.preventDefault(),h==null||h());break}},y=c.useRef(!1),x=()=>{y.current=!0},S=()=>{y.current=!1},T=r===""?b.format("Empty"):(r||`${n}`).replace("-","−");c.useEffect(()=>{y.current&&(L8("assertive"),Vr(T,"assertive"))},[T]);const P=Ce(E=>{v(),u==null||u(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||n===void 0||isNaN(n)||n<a)&&P(60)},E)}),M=Ce(E=>{v(),f==null||f(),t.current=window.setTimeout(()=>{(o===void 0||isNaN(o)||n===void 0||isNaN(n)||n>o)&&M(60)},E)});let $=E=>{E.preventDefault()},{addGlobalListener:C,removeAllGlobalListeners:N}=Pc();return{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":T,"aria-valuemin":o,"aria-valuemax":a,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:_,onFocus:x,onBlur:S},incrementButtonProps:{onPressStart:()=>{P(400),C(window,"contextmenu",$)},onPressEnd:()=>{v(),N()},onFocus:x,onBlur:S},decrementButtonProps:{onPressStart:()=>{M(400),C(window,"contextmenu",$)},onPressEnd:()=>{v(),N()},onFocus:x,onBlur:S}}}function JM(e){return e&&e.__esModule?e.default:e}var sx={},cx={};cx={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var ux={};ux={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var dx={};dx={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var fx={};fx={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var px={};px={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var gx={};gx={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var mx={};mx={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var hx={};hx={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var bx={};bx={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var vx={};vx={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var yx={};yx={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var $x={};$x={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var _x={};_x={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var xx={};xx={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var wx={};wx={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Ex={};Ex={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Sx={};Sx={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Dx={};Dx={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Px={};Px={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Tx={};Tx={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var kx={};kx={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Cx={};Cx={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Ax={};Ax={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Ix={};Ix={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Ox={};Ox={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Mx={};Mx={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Fx={};Fx={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Lx={};Lx={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Nx={};Nx={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var zx={};zx={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Rx={};Rx={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Kx={};Kx={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Vx={};Vx={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Bx={};Bx={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},sx={"ar-AE":cx,"bg-BG":ux,"cs-CZ":dx,"da-DK":fx,"de-DE":px,"el-GR":gx,"en-US":mx,"es-ES":hx,"et-EE":bx,"fi-FI":vx,"fr-FR":yx,"he-IL":$x,"hr-HR":_x,"hu-HU":xx,"it-IT":wx,"ja-JP":Ex,"ko-KR":Sx,"lt-LT":Dx,"lv-LV":Px,"nb-NO":Tx,"nl-NL":kx,"pl-PL":Cx,"pt-BR":Ax,"pt-PT":Ix,"ro-RO":Ox,"ru-RU":Mx,"sk-SK":Fx,"sl-SI":Lx,"sr-SP":Nx,"sv-SE":zx,"tr-TR":Rx,"uk-UA":Kx,"zh-CN":Vx,"zh-TW":Bx};function ZM(e,t,n){let{id:r,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:l,isRequired:s,minValue:u,maxValue:d,autoFocus:f,validationState:m,label:g,formatOptions:h,onBlur:b=()=>{},onFocus:v,onFocusChange:_,onKeyDown:y,onKeyUp:x,description:S,errorMessage:T,...P}=e,{increment:M,incrementToMax:$,decrement:C,decrementToMin:N,numberValue:E,inputValue:K,commit:I}=t;const k=$t(JM(sx));let j=ct(r),{focusProps:O}=zc({onBlur:()=>{I()}}),J=Lb(h),V=c.useMemo(()=>J.resolvedOptions(),[J]),q=Lb({...h,currencySign:void 0}),B=c.useMemo(()=>isNaN(E)?"":q.format(E),[q,E]),{spinButtonProps:U,incrementButtonProps:H,decrementButtonProps:R}=XM({isDisabled:i,isReadOnly:l,isRequired:s,maxValue:d,minValue:u,onIncrement:M,onIncrementToMax:$,onDecrement:C,onDecrementToMin:N,value:E,textValue:B}),[G,ne]=c.useState(!1),{focusWithinProps:te}=Ko({isDisabled:i,onFocusWithinChange:ne}),ie=c.useCallback(st=>{Math.abs(st.deltaY)<=Math.abs(st.deltaX)||(st.deltaY>0?M():st.deltaY<0&&C())},[C,M]);yk({onScroll:ie,isDisabled:i||l||!G},n);let W=V.maximumFractionDigits>0,ee=isNaN(t.minValue)||t.minValue<0,fe="numeric";Dm()?ee?fe="text":W&&(fe="decimal"):Sc()&&(ee?fe="numeric":W&&(fe="decimal"));let le=st=>{t.validate(st)&&t.setInputValue(st)},ge=_n(e),{labelProps:_e,inputProps:Tt,descriptionProps:Fn,errorMessageProps:co}=Q9({...P,...ge,label:g,autoFocus:f,isDisabled:i,isReadOnly:l,isRequired:s,validationState:m,value:K,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:j,type:"text",inputMode:fe,onChange:le,onBlur:b,onFocus:v,onFocusChange:_,onKeyDown:y,onKeyUp:x,description:S,errorMessage:T},t,n),uo=me(U,O,Tt,{role:null,"aria-roledescription":Mo()?null:k.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),dn=st=>{document.activeElement!==n.current&&(st.pointerType==="mouse"?n.current.focus():st.target.focus())},Kt=e["aria-label"]||(typeof e.label=="string"?e.label:""),fn;Kt||(fn=e.label!=null?_e.id:e["aria-labelledby"]);let fo=ct(),es=ct(),ep=me(H,{"aria-label":a||k.format("increase",{fieldLabel:Kt}).trim(),id:fn&&!a?fo:null,"aria-labelledby":fn&&!a?`${fo} ${fn}`:null,"aria-controls":j,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:dn}),ts=me(R,{"aria-label":o||k.format("decrease",{fieldLabel:Kt}).trim(),id:fn&&!o?es:null,"aria-labelledby":fn&&!o?`${es} ${fn}`:null,"aria-controls":j,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:dn});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":m==="invalid"?"true":void 0,...te},labelProps:_e,inputProps:uo,incrementButtonProps:ep,decrementButtonProps:ts,errorMessageProps:co,descriptionProps:Fn}}function QM(e){let{minValue:t,maxValue:n,step:r,formatOptions:o,value:a,defaultValue:i,onChange:l,locale:s,isDisabled:u,isReadOnly:d}=e,[f,m]=Ft(a,isNaN(i)?NaN:i,l),[g,h]=c.useState(()=>isNaN(f)?"":new Zi(s,o).format(f)),b=c.useMemo(()=>new Ab(s,o),[s,o]),v=c.useMemo(()=>b.getNumberingSystem(g),[b,g]),_=c.useMemo(()=>new Zi(s,{...o,numberingSystem:v}),[s,o,v]),y=c.useMemo(()=>_.resolvedOptions(),[_]),x=c.useCallback(U=>isNaN(U)||U===null?"":_.format(U),[_]),S=isNaN(r)?1:r;y.style==="percent"&&isNaN(r)&&(S=.01);let[T,P]=c.useState(f),[M,$]=c.useState(s),[C,N]=c.useState(o);(!Object.is(f,T)||s!==M||o!==C)&&(h(x(f)),P(f),$(s),N(o));let E=c.useMemo(()=>b.parse(g),[b,g]),K=()=>{if(!g.length){m(NaN),h(a===void 0?"":x(f));return}if(isNaN(E)){h(x(f));return}let U;isNaN(r)?U=pi(E,t,n):U=jn(E,t,n,r),U=b.parse(x(U)),m(U),h(x(a===void 0?U:f))},I=(U,H)=>{let R=E;if(isNaN(R)){let G=isNaN(H)?0:H;return jn(G,t,n,S)}else{let G=jn(R,t,n,S);return U==="+"&&G>R||U==="-"&&G<R?G:jn(Rd(U,R,S),t,n,S)}},k=()=>{let U=I("+",t);U===f&&h(x(U)),m(U)},j=()=>{let U=I("-",n);U===f&&h(x(U)),m(U)},O=()=>{n!=null&&m(jn(n,t,n,S))},J=()=>{t!=null&&m(t)},V=c.useMemo(()=>!u&&!d&&(isNaN(E)||isNaN(n)||jn(E,t,n,S)>E||Rd("+",E,S)<=n),[u,d,t,n,S,E]),q=c.useMemo(()=>!u&&!d&&(isNaN(E)||isNaN(t)||jn(E,t,n,S)<E||Rd("-",E,S)>=t),[u,d,t,n,S,E]);return{validate:U=>b.isValidPartialNumber(U,t,n),increment:k,incrementToMax:O,decrement:j,decrementToMin:J,canIncrement:V,canDecrement:q,minValue:t,maxValue:n,numberValue:E,setInputValue:h,inputValue:g,commit:K}}function Rd(e,t,n){let r=e==="+"?t+n:t-n;if(t%1!==0||n%1!==0){const o=t.toString().split("."),a=n.toString().split("."),i=o[1]&&o[1].length||0,l=a[1]&&a[1].length||0,s=Math.pow(10,Math.max(i,l));t=Math.round(t*s),n=Math.round(n*s),r=e==="+"?t+n:t-n,r/=s}return r}function jx(e){const t=c.useRef(null),{buttonProps:n,isPressed:r}=Gn(e,t),{children:o,className:a}=e;return w("button",{"data-state":r?"pressed":void 0,ref:t,...n,className:a,children:o})}const eF=F.default.div`
2034
2034
  display: inline-grid;
2035
2035
  grid-template:
2036
2036
  'field increment'
@@ -2051,7 +2051,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2051
2051
  &:has(input[data-state~='invalid']) {
2052
2052
  --input-border-color: ${p.color_deprecated_outline_danger_enabled};
2053
2053
  }
2054
- `,tF=F.default(Nt)`
2054
+ `,tF=F.default(zt)`
2055
2055
  border-top-right-radius: unset;
2056
2056
  border-bottom-right-radius: 0;
2057
2057
  border-right-width: 0px;
@@ -2117,7 +2117,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2117
2117
  /* border-top-width: 0.5px; */
2118
2118
  /* margin-top: -1px; */
2119
2119
  grid-area: decrement;
2120
- `;function Wx(e,t){var n;if(e.length&&((n=e[0])!=null&&n.value)){const r=e[0].value;return t.indexOf(r)}}const Kd=c.forwardRef((e,t)=>{const{disabled:n,readOnly:r,required:o,paddingSize:a="small",label:i,errorMessage:l,placeholder:s="Enter number...",showStepper:u=!0,min:d,max:f,height:m=El.small,locale:g="en-US",isInvalid:h,boldLabel:b=!0,tooltipContent:v,..._}=e,y=Ft(),x=n??y,S=r,T=_n(t),P=QM({..._,isDisabled:x,isReadOnly:S,minValue:d,maxValue:f,placeholder:s,locale:g}),{labelProps:M,groupProps:$,inputProps:C,incrementButtonProps:z,decrementButtonProps:E,errorMessageProps:K}=ZM({..._,isDisabled:x,isReadOnly:S,minValue:d,maxValue:f,placeholder:s,label:i},P,T);let I=null;typeof i=="string"?I=ee(Re,{...M,mb:p.spacing_150,bold:b,children:[i,v?w(Xe,{children:v}):null]}):c.isValidElement(i)&&(I=c.cloneElement(i,{...M}));const k=j=>{const{formatOptions:O}=e;if((O==null?void 0:O.style)==="unit"){const V=Intl.NumberFormat(g,O),q=V.formatToParts(1).filter(G=>G.type==="unit"),B=V.formatToParts(3).filter(G=>G.type==="unit"),U=Wx(q,P.inputValue),W=Wx(B,P.inputValue);let R;if(U&&U>-1?R=U:W&&W>-1&&(R=W),R){const G=j.target.selectionStart;if(G&&G>R){const te=R-1;j.target.setSelectionRange(te,te)}}}};return ee(Et,{children:[I,u?ee(eF,{...$,height:typeof m=="string"?m:void 0,children:[w(tF,{height:m,...C,"data-value":isNaN(P.numberValue)?P.inputValue:P.numberValue,paddingSize:a,ref:T,onClick:k,onFocus:k,required:o,"data-state":h?"invalid":void 0}),w(nF,{...z,children:w(we.KeyboardArrowUp,{})}),w(rF,{...E,children:w(we.KeyboardArrowDown,{})})]}):w(Nt,{height:m,ref:T,...C,"data-value":isNaN(P.numberValue)?P.inputValue:P.numberValue,paddingSize:a,required:o,"data-state":h?"invalid":void 0}),l?w(St,{...K,children:l}):null]})});Kd.displayName="NumberInput";const oF=e=>{var n;const t=Object.fromEntries(new FormData(e));for(let r=0;r<e.elements.length;r++){const o=e.elements[r];o.attributes["data-value"]&&(t[o.name]=(n=o.attributes["data-value"])==null?void 0:n.value)}return t},Hx=c.forwardRef((e,t)=>{const{errorMessage:n,disabled:r,readOnly:o,paddingSize:a="large",label:i,validationState:l,placeholder:s="Enter text...",rows:u=5,boldLabel:d=!0,...f}=e,m=_n(t),g=Ft(),h=r??g,{labelProps:b,inputProps:v,errorMessageProps:_}=Xr({...f,isDisabled:h,isReadOnly:o,placeholder:s,label:i,inputElementType:"textarea"},m);let y=null;return typeof i=="string"?y=w(Re,{...b,mb:p.spacing_150,bold:d,children:i}):c.isValidElement(i)&&(y=c.cloneElement(i,{...b,mb:p.spacing_150})),ee(Et,{children:[y,w(Nt,{as:"textarea","data-state":l,paddingSize:a,ref:m,placeholder:"Enter...",...v,rows:u}),n?w(St,{..._,children:n}):null]})});Hx.displayName="TextAreaInput";const Vd=c.forwardRef((e,t)=>{const{isInvalid:n,...r}=e,{focus:o,height:a=El.small,inputBorderRadius:i,connectLeft:l=null,connectRight:s=null,errorMessage:u,disabled:d,readOnly:f,required:m,paddingSize:g,label:h,validationState:b=n===!0?"invalid":"valid",placeholder:v="Enter text...",className:_,fontSize:y,lineHeight:x,boldLabel:S=!0,...T}=r,P=_n(t),M=Ft(),$=d??M,{labelProps:C,inputProps:z,errorMessageProps:E}=Xr({...T,isDisabled:$,isReadOnly:f,placeholder:v,label:h},P);let K=null;return typeof h=="string"?K=ee(Re,{...C,mb:p.spacing_150,bold:S,children:[h,r.tooltipContent?w(Xe,{children:r.tooltipContent}):null]}):c.isValidElement(h)&&(K=c.cloneElement(h,{...C,mb:p.spacing_100})),c.useEffect(()=>{o&&P.current&&P.current.focus()},[o,P]),ee(Et,{"data-id":"input-wrapper",children:[K,w(md,{left:l,right:s,children:w(Nt,{height:a,fontSize:y,lineHeight:x,"data-id":"input-base",borderRadius:i,"data-state":b,paddingSize:g,ref:P,placeholder:"Enter...",type:"text",...z,required:m,className:_})}),u?w(St,{...E,children:u}):null]})});Vd.displayName="TextInput";const Bd=c.createContext({});Bd.displayName="FormControlContext";function zl(){return c.useContext(Bd)}function aF({children:e,label:t,errorMessage:n,tooltipContent:r,tooltipIcon:o,validationState:a,id:i,...l}){const{errorMessageProps:s,fieldProps:u,labelProps:d}=sl({errorMessage:n,label:t,validationState:a,id:i,...l});return w(Bd.Provider,{value:u,children:ee(Et,{children:[ee(Re,{...d,display:"flex",mb:p.spacing_150,bold:!0,children:[t,r?w(Xe,{icon:o,children:r}):null]}),e,n?w(St,{...s,children:n}):null]})})}const Gx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(Vd,{paddingSize:"small",ref:t,label:ee(Re,{mb:p.spacing_150,bold:!0,children:[n,r?w(Xe,{icon:o,children:r}):null]}),...a})});Gx.displayName="TextFormControl";const Yx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(Hx,{ref:t,label:ee(Re,{mb:p.spacing_150,bold:!0,children:[n,r?w(Xe,{icon:o,children:r}):null]}),...a})});Yx.displayName="TextAreaFormControl";const qx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(Kd,{ref:t,label:ee(Re,{mb:p.spacing_150,bold:!0,children:[n,r?w(Xe,{icon:o,children:r}):null]}),...a})});qx.displayName="NumberFormControl";const Xx=(e,t,n,r=[])=>{let o=!1,a=e.target;for(;a;){if(a.classList&&Array.from(a.classList).some(l=>r.includes(l))){o=!0;break}a=a.parentElement}o||t.current&&!t.current.contains(e.target)&&n()},Jx=F.default(kr)`
2120
+ `;function Wx(e,t){var n;if(e.length&&((n=e[0])!=null&&n.value)){const r=e[0].value;return t.indexOf(r)}}const Kd=c.forwardRef((e,t)=>{const{disabled:n,readOnly:r,required:o,paddingSize:a="small",label:i,errorMessage:l,placeholder:s="Enter number...",showStepper:u=!0,min:d,max:f,height:m=El.small,locale:g="en-US",isInvalid:h,boldLabel:b=!0,tooltipContent:v,..._}=e,y=Lt(),x=n??y,S=r,T=xn(t),P=QM({..._,isDisabled:x,isReadOnly:S,minValue:d,maxValue:f,placeholder:s,locale:g}),{labelProps:M,groupProps:$,inputProps:C,incrementButtonProps:N,decrementButtonProps:E,errorMessageProps:K}=ZM({..._,isDisabled:x,isReadOnly:S,minValue:d,maxValue:f,placeholder:s,label:i},P,T);let I=null;typeof i=="string"?I=Q(Re,{...M,mb:p.spacing_150,bold:b,children:[i,v?w(Xe,{children:v}):null]}):c.isValidElement(i)&&(I=c.cloneElement(i,{...M}));const k=j=>{const{formatOptions:O}=e;if((O==null?void 0:O.style)==="unit"){const V=Intl.NumberFormat(g,O),q=V.formatToParts(1).filter(G=>G.type==="unit"),B=V.formatToParts(3).filter(G=>G.type==="unit"),U=Wx(q,P.inputValue),H=Wx(B,P.inputValue);let R;if(U&&U>-1?R=U:H&&H>-1&&(R=H),R){const G=j.target.selectionStart;if(G&&G>R){const ne=R-1;j.target.setSelectionRange(ne,ne)}}}};return Q(Et,{children:[I,u?Q(eF,{...$,height:typeof m=="string"?m:void 0,children:[w(tF,{height:m,...C,"data-value":isNaN(P.numberValue)?P.inputValue:P.numberValue,paddingSize:a,ref:T,onClick:k,onFocus:k,required:o,"data-state":h?"invalid":void 0}),w(nF,{...N,children:w(Ee.KeyboardArrowUp,{})}),w(rF,{...E,children:w(Ee.KeyboardArrowDown,{})})]}):w(zt,{height:m,ref:T,...C,"data-value":isNaN(P.numberValue)?P.inputValue:P.numberValue,paddingSize:a,required:o,"data-state":h?"invalid":void 0}),l?w(St,{...K,children:l}):null]})});Kd.displayName="NumberInput";const oF=e=>{var n;const t=Object.fromEntries(new FormData(e));for(let r=0;r<e.elements.length;r++){const o=e.elements[r];o.attributes["data-value"]&&(t[o.name]=(n=o.attributes["data-value"])==null?void 0:n.value)}return t},Hx=c.forwardRef((e,t)=>{const{errorMessage:n,disabled:r,readOnly:o,paddingSize:a="large",label:i,validationState:l,placeholder:s="Enter text...",rows:u=5,boldLabel:d=!0,...f}=e,m=xn(t),g=Lt(),h=r??g,{labelProps:b,inputProps:v,errorMessageProps:_}=Xr({...f,isDisabled:h,isReadOnly:o,placeholder:s,label:i,inputElementType:"textarea"},m);let y=null;return typeof i=="string"?y=w(Re,{...b,mb:p.spacing_150,bold:d,children:i}):c.isValidElement(i)&&(y=c.cloneElement(i,{...b,mb:p.spacing_150})),Q(Et,{children:[y,w(zt,{as:"textarea","data-state":l,paddingSize:a,ref:m,placeholder:"Enter...",...v,rows:u}),n?w(St,{..._,children:n}):null]})});Hx.displayName="TextAreaInput";const Vd=c.forwardRef((e,t)=>{const{isInvalid:n,...r}=e,{focus:o,height:a=El.small,inputBorderRadius:i,connectLeft:l=null,connectRight:s=null,errorMessage:u,disabled:d,readOnly:f,required:m,paddingSize:g,label:h,validationState:b=n===!0?"invalid":"valid",placeholder:v="Enter text...",className:_,fontSize:y,lineHeight:x,boldLabel:S=!0,...T}=r,P=xn(t),M=Lt(),$=d??M,{labelProps:C,inputProps:N,errorMessageProps:E}=Xr({...T,isDisabled:$,isReadOnly:f,placeholder:v,label:h},P);let K=null;return typeof h=="string"?K=Q(Re,{...C,mb:p.spacing_150,bold:S,children:[h,r.tooltipContent?w(Xe,{children:r.tooltipContent}):null]}):c.isValidElement(h)&&(K=c.cloneElement(h,{...C,mb:p.spacing_100})),c.useEffect(()=>{o&&P.current&&P.current.focus()},[o,P]),Q(Et,{"data-id":"input-wrapper",children:[K,w(md,{left:l,right:s,children:w(zt,{height:a,fontSize:y,lineHeight:x,"data-id":"input-base",borderRadius:i,"data-state":b,paddingSize:g,ref:P,placeholder:"Enter...",type:"text",...N,required:m,className:_})}),u?w(St,{...E,children:u}):null]})});Vd.displayName="TextInput";const Bd=c.createContext({});Bd.displayName="FormControlContext";function zl(){return c.useContext(Bd)}function aF({children:e,label:t,errorMessage:n,tooltipContent:r,tooltipIcon:o,validationState:a,id:i,...l}){const{errorMessageProps:s,fieldProps:u,labelProps:d}=sl({errorMessage:n,label:t,validationState:a,id:i,...l});return w(Bd.Provider,{value:u,children:Q(Et,{children:[Q(Re,{...d,display:"flex",mb:p.spacing_150,bold:!0,children:[t,r?w(Xe,{icon:o,children:r}):null]}),e,n?w(St,{...s,children:n}):null]})})}const Gx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(Vd,{paddingSize:"small",ref:t,label:Q(Re,{mb:p.spacing_150,bold:!0,children:[n,r?w(Xe,{icon:o,children:r}):null]}),...a})});Gx.displayName="TextFormControl";const Yx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(Hx,{ref:t,label:Q(Re,{mb:p.spacing_150,bold:!0,children:[n,r?w(Xe,{icon:o,children:r}):null]}),...a})});Yx.displayName="TextAreaFormControl";const qx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(Kd,{ref:t,label:Q(Re,{mb:p.spacing_150,bold:!0,children:[n,r?w(Xe,{icon:o,children:r}):null]}),...a})});qx.displayName="NumberFormControl";const Xx=(e,t,n,r=[])=>{let o=!1,a=e.target;for(;a;){if(a.classList&&Array.from(a.classList).some(l=>r.includes(l))){o=!0;break}a=a.parentElement}o||t.current&&!t.current.contains(e.target)&&n()},Jx=F.default(kr)`
2121
2121
  width: 32px;
2122
2122
  height: 32px;
2123
2123
  padding: 0;
@@ -2167,7 +2167,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2167
2167
  `,cF=F.default.span`
2168
2168
  display: none !important;
2169
2169
  position: absolute;
2170
- `,Zx=({children:e,placeholder:t,value:n="",editValue:r,hideIcon:o,p:a="7px 8px",onChange:i=()=>!1,onToggle:l=y=>y,onCancel:s=()=>!1,disabled:u=!1,valid:d=!0,label:f,labelId:m,allowedOutsideClickContainers:g,isEditing:h,hideSave:b=!1,hideLabel:v=!1,..._})=>{const y=c.useRef(null),[x,S]=c.useState(!1),[T,P]=c.useState(!!h);c.useEffect(()=>{P(h??!1)},[h]);const M=Tt(_,Ut.propNames??[]),$=Tt(_,Ti.propNames??[]),C=c.useCallback(()=>{S(!1),l(!1),P(!1)},[l]),z=c.useCallback(()=>{l(!0),P(!0)},[l]),E=c.useCallback(j=>{if(r&&r===n){C();return}S(!0),(async()=>{try{await i()}catch{throw new Error("failed to handle async inline edit change")}})().then(()=>{C()}).catch(()=>{C()})},[r,i,C,n]);c.useEffect(()=>{const j=O=>{T&&O.key==="Escape"&&(O.preventDefault(),O.stopPropagation(),C(),K.current())};return document.addEventListener("keydown",j),()=>{document.removeEventListener("keydown",j)}},[T,C]);const K=c.useRef(s);K.current=s,c.useEffect(()=>{if(h!==void 0)return;const j=()=>{C(),K.current()};return document.addEventListener("mousedown",O=>Xx(O,y,j,g)),()=>{document.removeEventListener("mousedown",O=>Xx(O,y,j,g))}},[g,h,C]),c.useEffect(()=>C,[]);const I=c.useCallback(()=>f&&typeof f=="string"?w(Re,{bold:!0,size:"medium",htmlFor:f,color:p.color_gray_52,onClick:()=>!u&&z(),mb:p.spacing_100,children:f}):w(Vt,{children:f}),[u,z,f]);if(T)return ee(Vt,{children:[v?null:w(I,{}),w(md,{tabIndex:0,ref:y,right:b?null:w(ht,{ml:p.spacing_100,children:w(Jx,{onClick:E,disabled:x,"aria-label":"save",children:x?w(we.Loop,{}):w(we.Check,{})})}),children:w(iF,{saving:x,children:e})})]});const k={p:a,...M,...$};return m?k.id=m:f!==void 0&&(k.id=f),ee(Vt,{children:[w(I,{}),ee(sF,{onClick:z,...k,"data-id":_["data-id"],disabled:u,children:[`${n}`||w(lF,{children:t}),!o&&!u&&w(cF,{valid:d,children:w(we.Edit,{})})]})]})};Zx.displayName="InlineEdit";const Qx=(e,t,n)=>{for(const r of t){const o=rw(r,e);if(n&&o.compare(n)>=0)return r}return t[0]??""},uF=(e,t,n)=>{var i;let r=0;if(e.value){const l=e.value.minute;r=l+t-l%t}const o=jd(null,new Jn(((i=e.value)==null?void 0:i.hour)??0,r));return n==="24"?Kl(o):Rl(o)},dF=e=>{const t=new Date;t.setHours(16),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);const n=new Intl.DateTimeFormat(e,{hour:"numeric"}).resolvedOptions().hourCycle;return n==="h12"||n==="h11"?"12":"24"},jd=(e,t)=>{let n="";return e?typeof e=="string"?n=e:n=e.toString().slice(0,5):t&&(typeof t=="string"?n=t:n=t.toString().slice(0,5)),n},fF=/^\d+$/gi,ew=/^(\d{2}:\d{2})$/gi,tw=/^(\d{2}:\d{2})(AM|PM)$/gi,nw=/^(\d{2}:\d{2})\s?(AM|PM)$/gi,Rl=e=>{var r,o;if(!e)return e;if(e=e.toUpperCase(),e.match(tw))return e.replace(/AM|PM/," $&");if(e.match(nw))return e;if(e.match(ew)){const[a,i]=e.split(":");let l="AM";parseInt(a??"")>=12&&(l="PM");let s=parseInt(a??"")%12;return s===0&&(s=12),`${s.toString().padStart(2,"0")}:${i??""} ${l}`}if(e.match(fF)){let a=parseInt(e.length>2?e.slice(0,-2):e);const i=e.length>2?e.slice(-2):"00";if(a>24||parseInt(i)>59)return e;let l="AM";return a===24?a=12:a>=12?(l="PM",a=a>12?a-12:a):a==0&&(a=12),`${a.toString().padStart(2,"0")}:${i} ${l}`}const t=(r=e.replace(/\d+|:/gi,"").match(/\D+/))==null?void 0:r[0],n=(o=e.replace(/\D+/gi,"").match(/^\d+$/))==null?void 0:o[0];if(n&&t){let a="AM";const i=parseInt(n.length>2?n.slice(0,-2):n),l=n.length>2?n.slice(-2):"00";return i>24||parseInt(l)>59?e:(t.match(/pm|p/gi)&&(a="PM"),`${i.toString().padStart(2,"0")}:${l} ${a}`)}return"Invalid time"},Kl=e=>{if(!e||e.length===0||e.match(ew))return e;if(e==="24"||e==="24:00"||e==="2400")return"00:00";if(e.match(nw)||e.match(tw)||e.match(/am|pm/gi)){e=e.replace(new RegExp("(?<!\\s)(am|pm)","gi")," $&");const[t,n,r]=e.split(/:| /);let o=parseInt(t??"");return(r==null?void 0:r.toUpperCase())==="PM"&&o<12&&(o+=12),(r==null?void 0:r.toUpperCase())==="AM"&&o===12&&(o=0),`${o.toString().padStart(2,"0")}:${n??"00"}`}if(e.length===1||e.length===2)return e==="00"||parseInt(e)>24||parseInt(e)<0?"00:00":parseInt(e)<10?`0${e}:00`:`${e}:00`;if(e.length===3||e.length===4){if(parseInt(e)>2400||parseInt(e)<0)return"00:00";e=e.replace(":","");const t=e.split("").slice(0,e.length-2).join(""),n=e.split("").slice(e.length-2,e.length).join("");return`${t}:${n}`}return"Invalid time"},rw=(e,t)=>{let n,r,o,a="";if(t==="12"){r="0",o="0";const i=e.match(/(\d{2}):(\d{2})|PM|AM/gi);i&&(a=i[1]??"",[n="",r="",o=""]=i[0].split(/(\d{2}):(\d{2})/),a.replace(" ","")==="AM"&&r==="12"&&(r="0"),a.replace(" ","")==="PM"&&r!=="12"&&(r=(parseInt(r)+12).toString()))}else[r="0",o="0"]=e.split(":");return new Jn(parseInt(r),parseInt(o))},pF=(e,t)=>{let n=Math.floor(e/60);const r=e%60,o=n>=12?" PM":" AM";return n=t?n%12||12:n,`${n.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}${t?o:""}`},gF=(e,t,n,r,o)=>{const a=r?Math.ceil((t.hour*60+t.minute)/e)*e:t.hour*60+t.minute,i=n.hour*60+n.minute,l=24*60/e,s=[];for(let u=0;u<l;u++){const d=(a+u*e)%1440,f=d<=i&&d>=a,m=d>=a||d<=i;(a<=i?f:m)&&s.push(pF(d,o))}return s},mF=F.default.div`
2170
+ `,Zx=({children:e,placeholder:t,value:n="",editValue:r,hideIcon:o,p:a="7px 8px",onChange:i=()=>!1,onToggle:l=y=>y,onCancel:s=()=>!1,disabled:u=!1,valid:d=!0,label:f,labelId:m,allowedOutsideClickContainers:g,isEditing:h,hideSave:b=!1,hideLabel:v=!1,..._})=>{const y=c.useRef(null),[x,S]=c.useState(!1),[T,P]=c.useState(!!h);c.useEffect(()=>{P(h??!1)},[h]);const M=kt(_,Wt.propNames??[]),$=kt(_,Ti.propNames??[]),C=c.useCallback(()=>{S(!1),l(!1),P(!1)},[l]),N=c.useCallback(()=>{l(!0),P(!0)},[l]),E=c.useCallback(j=>{if(r&&r===n){C();return}S(!0),(async()=>{try{await i()}catch{throw new Error("failed to handle async inline edit change")}})().then(()=>{C()}).catch(()=>{C()})},[r,i,C,n]);c.useEffect(()=>{const j=O=>{T&&O.key==="Escape"&&(O.preventDefault(),O.stopPropagation(),C(),K.current())};return document.addEventListener("keydown",j),()=>{document.removeEventListener("keydown",j)}},[T,C]);const K=c.useRef(s);K.current=s,c.useEffect(()=>{if(h!==void 0)return;const j=()=>{C(),K.current()};return document.addEventListener("mousedown",O=>Xx(O,y,j,g)),()=>{document.removeEventListener("mousedown",O=>Xx(O,y,j,g))}},[g,h,C]),c.useEffect(()=>C,[]);const I=c.useCallback(()=>f&&typeof f=="string"?w(Re,{bold:!0,size:"medium",htmlFor:f,color:p.color_gray_52,onClick:()=>!u&&N(),mb:p.spacing_100,children:f}):w(Bt,{children:f}),[u,N,f]);if(T)return Q(Bt,{children:[v?null:w(I,{}),w(md,{tabIndex:0,ref:y,right:b?null:w(ht,{ml:p.spacing_100,children:w(Jx,{onClick:E,disabled:x,"aria-label":"save",children:x?w(Ee.Loop,{}):w(Ee.Check,{})})}),children:w(iF,{saving:x,children:e})})]});const k={p:a,...M,...$};return m?k.id=m:f!==void 0&&(k.id=f),Q(Bt,{children:[w(I,{}),Q(sF,{onClick:N,...k,"data-id":_["data-id"],disabled:u,children:[`${n}`||w(lF,{children:t}),!o&&!u&&w(cF,{valid:d,children:w(Ee.Edit,{})})]})]})};Zx.displayName="InlineEdit";const Qx=(e,t,n)=>{for(const r of t){const o=rw(r,e);if(n&&o.compare(n)>=0)return r}return t[0]??""},uF=(e,t,n)=>{var i;let r=0;if(e.value){const l=e.value.minute;r=l+t-l%t}const o=jd(null,new Jn(((i=e.value)==null?void 0:i.hour)??0,r));return n==="24"?Kl(o):Rl(o)},dF=e=>{const t=new Date;t.setHours(16),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);const n=new Intl.DateTimeFormat(e,{hour:"numeric"}).resolvedOptions().hourCycle;return n==="h12"||n==="h11"?"12":"24"},jd=(e,t)=>{let n="";return e?typeof e=="string"?n=e:n=e.toString().slice(0,5):t&&(typeof t=="string"?n=t:n=t.toString().slice(0,5)),n},fF=/^\d+$/gi,ew=/^(\d{2}:\d{2})$/gi,tw=/^(\d{2}:\d{2})(AM|PM)$/gi,nw=/^(\d{2}:\d{2})\s?(AM|PM)$/gi,Rl=e=>{var r,o;if(!e)return e;if(e=e.toUpperCase(),e.match(tw))return e.replace(/AM|PM/," $&");if(e.match(nw))return e;if(e.match(ew)){const[a,i]=e.split(":");let l="AM";parseInt(a??"")>=12&&(l="PM");let s=parseInt(a??"")%12;return s===0&&(s=12),`${s.toString().padStart(2,"0")}:${i??""} ${l}`}if(e.match(fF)){let a=parseInt(e.length>2?e.slice(0,-2):e);const i=e.length>2?e.slice(-2):"00";if(a>24||parseInt(i)>59)return e;let l="AM";return a===24?a=12:a>=12?(l="PM",a=a>12?a-12:a):a==0&&(a=12),`${a.toString().padStart(2,"0")}:${i} ${l}`}const t=(r=e.replace(/\d+|:/gi,"").match(/\D+/))==null?void 0:r[0],n=(o=e.replace(/\D+/gi,"").match(/^\d+$/))==null?void 0:o[0];if(n&&t){let a="AM";const i=parseInt(n.length>2?n.slice(0,-2):n),l=n.length>2?n.slice(-2):"00";return i>24||parseInt(l)>59?e:(t.match(/pm|p/gi)&&(a="PM"),`${i.toString().padStart(2,"0")}:${l} ${a}`)}return"Invalid time"},Kl=e=>{if(!e||e.length===0||e.match(ew))return e;if(e==="24"||e==="24:00"||e==="2400")return"00:00";if(e.match(nw)||e.match(tw)||e.match(/am|pm/gi)){e=e.replace(new RegExp("(?<!\\s)(am|pm)","gi")," $&");const[t,n,r]=e.split(/:| /);let o=parseInt(t??"");return(r==null?void 0:r.toUpperCase())==="PM"&&o<12&&(o+=12),(r==null?void 0:r.toUpperCase())==="AM"&&o===12&&(o=0),`${o.toString().padStart(2,"0")}:${n??"00"}`}if(e.length===1||e.length===2)return e==="00"||parseInt(e)>24||parseInt(e)<0?"00:00":parseInt(e)<10?`0${e}:00`:`${e}:00`;if(e.length===3||e.length===4){if(parseInt(e)>2400||parseInt(e)<0)return"00:00";e=e.replace(":","");const t=e.split("").slice(0,e.length-2).join(""),n=e.split("").slice(e.length-2,e.length).join("");return`${t}:${n}`}return"Invalid time"},rw=(e,t)=>{let n,r,o,a="";if(t==="12"){r="0",o="0";const i=e.match(/(\d{2}):(\d{2})|PM|AM/gi);i&&(a=i[1]??"",[n="",r="",o=""]=i[0].split(/(\d{2}):(\d{2})/),a.replace(" ","")==="AM"&&r==="12"&&(r="0"),a.replace(" ","")==="PM"&&r!=="12"&&(r=(parseInt(r)+12).toString()))}else[r="0",o="0"]=e.split(":");return new Jn(parseInt(r),parseInt(o))},pF=(e,t)=>{let n=Math.floor(e/60);const r=e%60,o=n>=12?" PM":" AM";return n=t?n%12||12:n,`${n.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}${t?o:""}`},gF=(e,t,n,r,o)=>{const a=r?Math.ceil((t.hour*60+t.minute)/e)*e:t.hour*60+t.minute,i=n.hour*60+n.minute,l=24*60/e,s=[];for(let u=0;u<l;u++){const d=(a+u*e)%1440,f=d<=i&&d>=a,m=d>=a||d<=i;(a<=i?f:m)&&s.push(pF(d,o))}return s},mF=F.default.div`
2171
2171
  display: flex;
2172
2172
  flex-direction: column;
2173
2173
  align-items: flex-start;
@@ -2180,7 +2180,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2180
2180
  &:focus-within {
2181
2181
  border-color: ${p.color_deprecated_fill_inverse_enabled};
2182
2182
  }
2183
- `;function bF({label:e,name:t="time-input",labelId:n="time-input-label",inputId:r="time-input",hideLabel:o,boldLabel:a=!0,interval:i=5,hourCycle:l="",defaultValue:s,onChange:u,placeholder:d="Enter a time",isInvalid:f,isDisabled:m,required:g,earliestScrollOption:h=new Jn(0,0),latestScrollOption:b=new Jn(23,59),alignScrollOptionIntervalsToMidnight:v=!0,..._}){const{locale:y}=ot(),x=l===""?dF(y):l,[S,T]=c.useState(_.hideIcon),P=c.useMemo(()=>gF(i,h,b,v,x!=="24"),[v,h,x,i,b]),M=jd(s,_.value),$=x==="24"?Kl(M):Rl(M),[C,z]=c.useState($),E=c.createRef(),K=c.useRef(null),I=c.createRef(),k=Kr({}),j=mc(_.value);c.useEffect(()=>{if(_.value&&(j==null?void 0:j.compare(_.value))!==0&&!k.isOpen){const W=jd(null,_.value),R=x==="24"?Kl(W):Rl(W);z(R)}},[_.value,j,x,k.isOpen]);const O=c.useCallback(W=>{var te;const R=I.current,G=(te=R==null?void 0:R.getElementsByClassName(`${W}`))==null?void 0:te[0];if(R&&G){const ne=R.getBoundingClientRect().top+R.scrollTop,H=G.getBoundingClientRect().top+R.scrollTop-ne+R.scrollTop;R.scrollTo({top:H,behavior:"smooth"})}},[I]),Z=c.useCallback(W=>{var te;const R=I.current,G=(te=R==null?void 0:R.getElementsByClassName(`${W}`))==null?void 0:te[0];if(R&&G){const ne=R.getBoundingClientRect().top+R.scrollTop,H=G.getBoundingClientRect().top+R.scrollTop-ne+R.scrollTop;R.scrollTop=H}},[I]),V=mc(k.isOpen);c.useEffect(()=>{if(!V&&k.isOpen){const W=Qx(x,P,_.value);Z(W)}},[C,k.isOpen,V,s,_.value,Z,i,x,_,P]);const{overlayProps:q}=tl({type:"dialog"},k,E);c.useEffect(()=>{const W=()=>{E.current&&E.current.offsetWidth<100?S||T(!0):S&&T(!1)};return window.addEventListener("resize",W),W(),()=>window.removeEventListener("resize",W)},[E,S]);const B=c.useCallback(W=>{if(W){const R=x=="24"?Kl(W):Rl(W),G=rw(R,x);u==null||u(G),z(R)}k.close()},[u,x,k]),U=c.useCallback(W=>{z(W.target.value),O(W.target.value),k.isOpen||k.open()},[k,O]);return Ao(()=>{document.activeElement===E.current&&k.close()}),ee(Et,{children:[e?ee(Re,{id:n,htmlFor:r,srOnly:o,mb:p.spacing_150,bold:a,children:[e,_.tooltipContent?w(Xe,{icon:_.tooltipIcon,children:_.tooltipContent}):null]}):null,ee(pe,{width:"100%",position:"relative",children:[w(Nt,{type:"text",autoComplete:"off",placeholder:d,name:t,id:r,value:C,fontSize:p.font_size_175,lineHeight:p.font_size_200,height:p.font_size_400,"data-state":f?"invalid":void 0,disabled:m,required:g,ref:E,onFocus:W=>{k.isOpen||k.open()},onBlur:W=>{I.current&&W.relatedTarget&&I.current.contains(W.relatedTarget)||B(C)},onKeyDown:W=>{W.key==="Enter"&&k.isOpen&&W.preventDefault();let R=P.findIndex(G=>G===C);R===-1&&(R=P.findIndex(G=>{if(W.key==="ArrowDown")return G===Qx(x,P,_.value);if(W.key==="ArrowUp")return G===uF(_,i,x)})),W.key==="ArrowDown"&&P[R+1]&&(k.isOpen||k.open(),z(P[R+1]??C),O(P[R+1]??"")),W.key==="ArrowUp"&&P[R-1]&&(k.isOpen||k.open(),z(P[R-1]??C),O(P[R-1]??""))},onKeyUp:W=>{W.key==="Enter"&&B(C)},onMouseUp:W=>{W.preventDefault()},onChange:U,...hs(_)}),S?null:w(we.AccessTime,{"aria-hidden":"true",style:{position:"absolute",pointerEvents:"none",width:"1.1rem",height:"1.1rem",top:".45rem",right:".5rem"}})]}),_.errorMessage?w(St,{children:_.errorMessage}):null,k.isOpen?w(er,{state:k,targetRef:E,isTargetWidth:!0,popoverRef:K,...q,placement:"bottom start",isNonModal:!0,className:"time-input-popover",children:w(hd,{ref:I,onMouseDown:W=>W.preventDefault(),children:P.map((W,R)=>w(Pl,{value:W,isFocused:W===C,className:W||"",onClick:()=>{B(W)},children:w(tt,{as:"span",children:W})},R))})}):null]})}const ow=e=>{if(!e)return;let t=e.year,n=e.month;const r=1;return n===1?(n=12,t-=1):n-=1,new Ae(t,n,r)},aw=e=>{if(!e)return;let t=e.year,n=e.month;const r=1;return n===12?(n=1,t+=1):n+=1,new Ae(t,n,r)},Ud=["january","february","march","april","may","june","july","august","september","october","november","december"];function Vl(e){return e&&e.getFullYear()===new Date().getFullYear()?new Intl.DateTimeFormat("en-US",{weekday:"long",month:"long",day:"numeric"}).format(e):new Intl.DateTimeFormat("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(e)}function vF({label:e,name:t="date-input",labelId:n="date-input-label",inputId:r="date-input",timeZone:o=Intl.DateTimeFormat().resolvedOptions().timeZone,hideLabel:a,boldLabel:i=!0,onChange:l,isInvalid:s,isDisabled:u,required:d,placeholder:f="Enter a date",isDateUnavailable:m,...g}){const[h,b]=c.useState(!!g.hideIcon),v=c.createRef(),_=c.createRef(),y=c.createRef(),x=c.useRef(null),S=Kr({}),T=g.defaultValue?Vl(new Date(g.defaultValue.year,g.defaultValue.month-1,g.defaultValue.day)):void 0,P=g.value?Vl(new Date(g.value.year,g.value.month-1,g.value.day)):"",[M,$]=c.useState(T??P),[C,z]=c.useState(g.value??g.defaultValue),[E,K]=c.useState(C),{overlayProps:I}=tl({type:"dialog"},S,v),k=mc(g.value);c.useEffect(()=>{g.value&&(k==null?void 0:k.compare(g.value))!==0&&!S.isOpen&&(z(g.value),K(g.value),$(Vl(new Date(g.value.year,g.value.month-1,g.value.day))))},[g.value,k,S.isOpen]);const j=c.useCallback(V=>{z(V),K(V),$(Vl(new Date(V.year,V.month-1,V.day))),l==null||l(V),S.close()},[l,S]),O=c.useCallback(V=>{const q=Ud.findIndex(B=>B.startsWith(V.toLowerCase()));if(q>=0)return Ud[q]},[]);c.useEffect(()=>{const V=()=>{!g.hideIcon&&v.current&&v.current.offsetWidth<=155?h||b(!0):g.hideIcon||h&&b(!1)};return window.addEventListener("resize",V),V(),()=>window.removeEventListener("resize",V)},[v,h,g.hideIcon]);const Z=c.useCallback(V=>{if($(V.target.value),S.isOpen||S.open(),V.target.value.length){const B=V.target.value.replace(",","").split(" ");let U,W,R;for(const te of B){if(te.match(/[a-zA-Z]+/)){const ne=O(te);ne&&(U=ne)}if(te.match(/^[0-9]+$/)){if(te.length===1||te.length===2){const ne=parseInt(te,10);ne>=1&&ne<=31&&(W=ne)}if(te.length===4){const ne=parseInt(te,10);ne>=1e3&&ne<=9999&&(R=ne)}}}const G=new Ae(R??new Date().getFullYear(),Ud.findIndex(te=>te===U)+1,W??1);z(G),K(G)}},[O,S]);return Ao(()=>{document.activeElement===y.current&&S.close()}),ee(Et,{ref:v,children:[e?ee(Re,{id:n,htmlFor:r,srOnly:a,mb:p.spacing_150,bold:i,children:[e,g.tooltipContent?w(Xe,{icon:g.tooltipIcon,children:g.tooltipContent}):null]}):null,ee(pe,{width:"100%",position:"relative",children:[w(Nt,{type:"text",autoComplete:"off",placeholder:f,name:t,id:r,value:M,fontSize:p.font_size_175,lineHeight:p.font_size_200,height:p.font_size_400,"data-state":s?"invalid":void 0,disabled:u,required:d,ref:y,onFocus:V=>{V.target.select(),S.isOpen||S.open()},onBlur:V=>{_.current&&V.relatedTarget&&_.current.contains(V.relatedTarget)||(M&&C?j(C):M&&E?j(E):(l==null||l(void 0),S.close()))},onKeyDown:V=>{V.key==="Enter"&&S.isOpen&&V.preventDefault(),S.isOpen||S.open()},onKeyUp:V=>{V.key==="Enter"&&(M&&E?j(E):(l==null||l(void 0),S.close()))},onMouseUp:V=>{V.preventDefault()},onChange:Z,...hs(g)}),h?null:w(we.CalendarToday,{"aria-hidden":"true",style:{position:"absolute",pointerEvents:"none",width:".875rem",height:".875rem",top:".5rem",right:"10px"}})]}),g.errorMessage?w(St,{children:g.errorMessage}):null,S.isOpen?w(er,{state:S,targetRef:v,popoverRef:x,...I,placement:"bottom start",isNonModal:!0,children:w(ju,{ref:_,value:C,focusedValue:E,onChange:V=>{const q=new Ae(V.year,V.month,V.day);j(q)},onPrev:()=>{const V=ow(E);V&&K(V)},onNext:()=>{const V=aw(E);V&&K(V)},timeZone:o,isDateUnavailable:m})}):null]})}const yF=F.default(tt)`
2183
+ `;function bF({label:e,name:t="time-input",labelId:n="time-input-label",inputId:r="time-input",hideLabel:o,boldLabel:a=!0,interval:i=5,hourCycle:l="",defaultValue:s,onChange:u,placeholder:d="Enter a time",isInvalid:f,isDisabled:m,required:g,earliestScrollOption:h=new Jn(0,0),latestScrollOption:b=new Jn(23,59),alignScrollOptionIntervalsToMidnight:v=!0,..._}){const{locale:y}=ot(),x=l===""?dF(y):l,[S,T]=c.useState(_.hideIcon),P=c.useMemo(()=>gF(i,h,b,v,x!=="24"),[v,h,x,i,b]),M=jd(s,_.value),$=x==="24"?Kl(M):Rl(M),[C,N]=c.useState($),E=c.createRef(),K=c.useRef(null),I=c.createRef(),k=Kr({}),j=mc(_.value);c.useEffect(()=>{if(_.value&&(j==null?void 0:j.compare(_.value))!==0&&!k.isOpen){const H=jd(null,_.value),R=x==="24"?Kl(H):Rl(H);N(R)}},[_.value,j,x,k.isOpen]);const O=c.useCallback(H=>{var ne;const R=I.current,G=(ne=R==null?void 0:R.getElementsByClassName(`${H}`))==null?void 0:ne[0];if(R&&G){const te=R.getBoundingClientRect().top+R.scrollTop,X=G.getBoundingClientRect().top+R.scrollTop-te+R.scrollTop;R.scrollTo({top:X,behavior:"smooth"})}},[I]),J=c.useCallback(H=>{var ne;const R=I.current,G=(ne=R==null?void 0:R.getElementsByClassName(`${H}`))==null?void 0:ne[0];if(R&&G){const te=R.getBoundingClientRect().top+R.scrollTop,X=G.getBoundingClientRect().top+R.scrollTop-te+R.scrollTop;R.scrollTop=X}},[I]),V=mc(k.isOpen);c.useEffect(()=>{if(!V&&k.isOpen){const H=Qx(x,P,_.value);J(H)}},[C,k.isOpen,V,s,_.value,J,i,x,_,P]);const{overlayProps:q}=tl({type:"dialog"},k,E);c.useEffect(()=>{const H=()=>{E.current&&E.current.offsetWidth<100?S||T(!0):S&&T(!1)};return window.addEventListener("resize",H),H(),()=>window.removeEventListener("resize",H)},[E,S]);const B=c.useCallback(H=>{if(H){const R=x=="24"?Kl(H):Rl(H),G=rw(R,x);u==null||u(G),N(R)}k.close()},[u,x,k]),U=c.useCallback(H=>{N(H.target.value),O(H.target.value),k.isOpen||k.open()},[k,O]);return Ao(()=>{document.activeElement===E.current&&k.close()}),Q(Et,{children:[e?Q(Re,{id:n,htmlFor:r,srOnly:o,mb:p.spacing_150,bold:a,children:[e,_.tooltipContent?w(Xe,{icon:_.tooltipIcon,children:_.tooltipContent}):null]}):null,Q(pe,{width:"100%",position:"relative",children:[w(zt,{type:"text",autoComplete:"off",placeholder:d,name:t,id:r,value:C,fontSize:p.font_size_175,lineHeight:p.font_size_200,height:p.font_size_400,"data-state":f?"invalid":void 0,disabled:m,required:g,ref:E,onFocus:H=>{k.isOpen||k.open()},onBlur:H=>{I.current&&H.relatedTarget&&I.current.contains(H.relatedTarget)||B(C)},onKeyDown:H=>{H.key==="Enter"&&k.isOpen&&H.preventDefault();let R=P.findIndex(G=>G===C);R===-1&&(R=P.findIndex(G=>{if(H.key==="ArrowDown")return G===Qx(x,P,_.value);if(H.key==="ArrowUp")return G===uF(_,i,x)})),H.key==="ArrowDown"&&P[R+1]&&(k.isOpen||k.open(),N(P[R+1]??C),O(P[R+1]??"")),H.key==="ArrowUp"&&P[R-1]&&(k.isOpen||k.open(),N(P[R-1]??C),O(P[R-1]??""))},onKeyUp:H=>{H.key==="Enter"&&B(C)},onMouseUp:H=>{H.preventDefault()},onChange:U,...hs(_)}),S?null:w(Ee.AccessTime,{"aria-hidden":"true",style:{position:"absolute",pointerEvents:"none",width:"1.1rem",height:"1.1rem",top:".45rem",right:".5rem"}})]}),_.errorMessage?w(St,{children:_.errorMessage}):null,k.isOpen?w(er,{state:k,targetRef:E,isTargetWidth:!0,popoverRef:K,...q,placement:"bottom start",isNonModal:!0,className:"time-input-popover",children:w(hd,{ref:I,onMouseDown:H=>H.preventDefault(),children:P.map((H,R)=>w(Pl,{value:H,isFocused:H===C,className:H||"",onClick:()=>{B(H)},children:w(tt,{as:"span",children:H})},R))})}):null]})}const ow=e=>{if(!e)return;let t=e.year,n=e.month;const r=1;return n===1?(n=12,t-=1):n-=1,new Ae(t,n,r)},aw=e=>{if(!e)return;let t=e.year,n=e.month;const r=1;return n===12?(n=1,t+=1):n+=1,new Ae(t,n,r)},Ud=["january","february","march","april","may","june","july","august","september","october","november","december"];function Vl(e){return e&&e.getFullYear()===new Date().getFullYear()?new Intl.DateTimeFormat("en-US",{weekday:"long",month:"long",day:"numeric"}).format(e):new Intl.DateTimeFormat("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(e)}function vF({label:e,name:t="date-input",labelId:n="date-input-label",inputId:r="date-input",timeZone:o=Intl.DateTimeFormat().resolvedOptions().timeZone,hideLabel:a,boldLabel:i=!0,onChange:l,isInvalid:s,isDisabled:u,required:d,placeholder:f="Enter a date",isDateUnavailable:m,...g}){const[h,b]=c.useState(!!g.hideIcon),v=c.createRef(),_=c.createRef(),y=c.createRef(),x=c.useRef(null),S=Kr({}),T=g.defaultValue?Vl(new Date(g.defaultValue.year,g.defaultValue.month-1,g.defaultValue.day)):void 0,P=g.value?Vl(new Date(g.value.year,g.value.month-1,g.value.day)):"",[M,$]=c.useState(T??P),[C,N]=c.useState(g.value??g.defaultValue),[E,K]=c.useState(C),{overlayProps:I}=tl({type:"dialog"},S,v),k=mc(g.value);c.useEffect(()=>{g.value&&(k==null?void 0:k.compare(g.value))!==0&&!S.isOpen&&(N(g.value),K(g.value),$(Vl(new Date(g.value.year,g.value.month-1,g.value.day))))},[g.value,k,S.isOpen]);const j=c.useCallback(V=>{N(V),K(V),$(Vl(new Date(V.year,V.month-1,V.day))),l==null||l(V),S.close()},[l,S]),O=c.useCallback(V=>{const q=Ud.findIndex(B=>B.startsWith(V.toLowerCase()));if(q>=0)return Ud[q]},[]);c.useEffect(()=>{const V=()=>{!g.hideIcon&&v.current&&v.current.offsetWidth<=155?h||b(!0):g.hideIcon||h&&b(!1)};return window.addEventListener("resize",V),V(),()=>window.removeEventListener("resize",V)},[v,h,g.hideIcon]);const J=c.useCallback(V=>{if($(V.target.value),S.isOpen||S.open(),V.target.value.length){const B=V.target.value.replace(",","").split(" ");let U,H,R;for(const ne of B){if(ne.match(/[a-zA-Z]+/)){const te=O(ne);te&&(U=te)}if(ne.match(/^[0-9]+$/)){if(ne.length===1||ne.length===2){const te=parseInt(ne,10);te>=1&&te<=31&&(H=te)}if(ne.length===4){const te=parseInt(ne,10);te>=1e3&&te<=9999&&(R=te)}}}const G=new Ae(R??new Date().getFullYear(),Ud.findIndex(ne=>ne===U)+1,H??1);N(G),K(G)}},[O,S]);return Ao(()=>{document.activeElement===y.current&&S.close()}),Q(Et,{ref:v,children:[e?Q(Re,{id:n,htmlFor:r,srOnly:a,mb:p.spacing_150,bold:i,children:[e,g.tooltipContent?w(Xe,{icon:g.tooltipIcon,children:g.tooltipContent}):null]}):null,Q(pe,{width:"100%",position:"relative",children:[w(zt,{type:"text",autoComplete:"off",placeholder:f,name:t,id:r,value:M,fontSize:p.font_size_175,lineHeight:p.font_size_200,height:p.font_size_400,"data-state":s?"invalid":void 0,disabled:u,required:d,ref:y,onFocus:V=>{V.target.select(),S.isOpen||S.open()},onBlur:V=>{_.current&&V.relatedTarget&&_.current.contains(V.relatedTarget)||(M&&C?j(C):M&&E?j(E):(l==null||l(void 0),S.close()))},onKeyDown:V=>{V.key==="Enter"&&S.isOpen&&V.preventDefault(),S.isOpen||S.open()},onKeyUp:V=>{V.key==="Enter"&&(M&&E?j(E):(l==null||l(void 0),S.close()))},onMouseUp:V=>{V.preventDefault()},onChange:J,...hs(g)}),h?null:w(Ee.CalendarToday,{"aria-hidden":"true",style:{position:"absolute",pointerEvents:"none",width:".875rem",height:".875rem",top:".5rem",right:"10px"}})]}),g.errorMessage?w(St,{children:g.errorMessage}):null,S.isOpen?w(er,{state:S,targetRef:v,popoverRef:x,...I,placement:"bottom start",isNonModal:!0,children:w(ju,{ref:_,value:C,focusedValue:E,onChange:V=>{const q=new Ae(V.year,V.month,V.day);j(q)},onPrev:()=>{const V=ow(E);V&&K(V)},onNext:()=>{const V=aw(E);V&&K(V)},timeZone:o,isDateUnavailable:m})}):null]})}const yF=F.default(tt)`
2184
2184
  font-family: ${p.font_family_pingo};
2185
2185
  font-size: 0.875rem;
2186
2186
  font-style: normal;
@@ -2189,7 +2189,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2189
2189
  color: ${p.color_black};
2190
2190
 
2191
2191
  margin-top: ${p.spacing_100};
2192
- `,$F=({label:e,value:t,truncate:n=!1})=>ee(pe,{role:"group",title:e,children:[w(Re,{htmlFor:`labeled-text-${e}`,color:p.color_gray_52,size:"medium",bold:!0,title:e,"aria-label":e,children:e}),w(yF,{id:`labeled-text-${e}`,title:typeof t=="string"?t:e,"aria-label":typeof t=="string"?t:e,truncate:n,children:t})]});function iw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=iw(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function lw(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=iw(e))&&(r&&(r+=" "),r+=t);return r}function _F(e,t,n){let{keyboardDelegate:r,isDisabled:o}=e,a=el({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>r||new _l(t.collection,t.disabledKeys,null,a),[r,t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=fd({isDisabled:o,type:"listbox"},t,n),u=y=>{switch(y.key){case"ArrowLeft":{y.preventDefault();let x=t.selectedKey!=null?i.getKeyAbove(t.selectedKey):i.getFirstKey();x&&t.setSelectedKey(x);break}case"ArrowRight":{y.preventDefault();let x=t.selectedKey!=null?i.getKeyBelow(t.selectedKey):i.getFirstKey();x&&t.setSelectedKey(x);break}}},{typeSelectProps:d}=sd({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(y){t.setSelectedKey(y)}}),{labelProps:f,fieldProps:m,descriptionProps:g,errorMessageProps:h}=sl({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;let b=$n(e,{labelable:!0}),v=ge(d,l,m),_=ct();return{labelProps:{...f,onClick:()=>{e.isDisabled||(n.current.focus(),Kc("keyboard"))}},triggerProps:ge(b,{...v,isDisabled:o,onKeyDown:Gt(v.onKeyDown,u,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[_,v["aria-labelledby"],v["aria-label"]&&!v["aria-labelledby"]?v.id:null].filter(Boolean).join(" "),onFocus(y){t.isFocused||(e.onFocus&&e.onFocus(y),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(y){t.isOpen||(e.onBlur&&e.onBlur(y),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:_},menuProps:{...s,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,onBlur:y=>{y.currentTarget.contains(y.relatedTarget)||(e.onBlur&&e.onBlur(y),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[m["aria-labelledby"],v["aria-label"]&&!m["aria-labelledby"]?v.id:null].filter(Boolean).join(" ")},descriptionProps:g,errorMessageProps:h}}function xF(e,t,n){let{autoComplete:r,name:o,isDisabled:a}=e,i=Gm(),{visuallyHiddenProps:l}=Zm();var s;return{containerProps:{...l,"aria-hidden":!0},inputProps:{type:"text",tabIndex:i==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>n.current.focus(),disabled:a},selectProps:{tabIndex:-1,autoComplete:r,disabled:a,name:o,size:t.collection.size,value:(s=t.selectedKey)!==null&&s!==void 0?s:"",onChange:u=>t.setSelectedKey(u.target.value)}}}function wF(e){let{state:t,triggerRef:n,label:r,name:o,isDisabled:a}=e,{containerProps:i,inputProps:l,selectProps:s}=xF(e,t,n);var u;return t.collection.size<=300?D.default.createElement("div",i,D.default.createElement("input",l),D.default.createElement("label",null,r,D.default.createElement("select",s,D.default.createElement("option",null),[...t.collection.getKeys()].map(d=>{let f=t.collection.getItem(d);if(f.type==="item")return D.default.createElement("option",{key:f.key,value:f.key},f.textValue)})))):o?D.default.createElement("input",{type:"hidden",autoComplete:s.autoComplete,name:o,disabled:a,value:(u=t.selectedKey)!==null&&u!==void 0?u:""}):null}function EF(e){let t=Kr(e),[n,r]=c.useState(null),o=I$({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),a.commitValidation()}}),a=vv({...e,value:o.selectedKey}),[i,l]=c.useState(!1);return{...a,...o,...t,focusStrategy:n,open(s=null){o.collection.size!==0&&(r(s),t.open())},toggle(s=null){o.collection.size!==0&&(r(s),t.toggle())},isFocused:i,setFocused:l}}const sw=F.default.span`
2192
+ `,$F=({label:e,value:t,truncate:n=!1})=>Q(pe,{role:"group",title:e,children:[w(Re,{htmlFor:`labeled-text-${e}`,color:p.color_gray_52,size:"medium",bold:!0,title:e,"aria-label":e,children:e}),w(yF,{id:`labeled-text-${e}`,title:typeof t=="string"?t:e,"aria-label":typeof t=="string"?t:e,truncate:n,children:t})]});function iw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=iw(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function lw(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=iw(e))&&(r&&(r+=" "),r+=t);return r}function _F(e,t,n){let{keyboardDelegate:r,isDisabled:o}=e,a=el({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>r||new _l(t.collection,t.disabledKeys,null,a),[r,t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=fd({isDisabled:o,type:"listbox"},t,n),u=y=>{switch(y.key){case"ArrowLeft":{y.preventDefault();let x=t.selectedKey!=null?i.getKeyAbove(t.selectedKey):i.getFirstKey();x&&t.setSelectedKey(x);break}case"ArrowRight":{y.preventDefault();let x=t.selectedKey!=null?i.getKeyBelow(t.selectedKey):i.getFirstKey();x&&t.setSelectedKey(x);break}}},{typeSelectProps:d}=sd({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(y){t.setSelectedKey(y)}}),{labelProps:f,fieldProps:m,descriptionProps:g,errorMessageProps:h}=sl({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;let b=_n(e,{labelable:!0}),v=me(d,l,m),_=ct();return{labelProps:{...f,onClick:()=>{e.isDisabled||(n.current.focus(),Kc("keyboard"))}},triggerProps:me(b,{...v,isDisabled:o,onKeyDown:Yt(v.onKeyDown,u,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[_,v["aria-labelledby"],v["aria-label"]&&!v["aria-labelledby"]?v.id:null].filter(Boolean).join(" "),onFocus(y){t.isFocused||(e.onFocus&&e.onFocus(y),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(y){t.isOpen||(e.onBlur&&e.onBlur(y),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:_},menuProps:{...s,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,onBlur:y=>{y.currentTarget.contains(y.relatedTarget)||(e.onBlur&&e.onBlur(y),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[m["aria-labelledby"],v["aria-label"]&&!m["aria-labelledby"]?v.id:null].filter(Boolean).join(" ")},descriptionProps:g,errorMessageProps:h}}function xF(e,t,n){let{autoComplete:r,name:o,isDisabled:a}=e,i=Gm(),{visuallyHiddenProps:l}=Zm();var s;return{containerProps:{...l,"aria-hidden":!0},inputProps:{type:"text",tabIndex:i==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>n.current.focus(),disabled:a},selectProps:{tabIndex:-1,autoComplete:r,disabled:a,name:o,size:t.collection.size,value:(s=t.selectedKey)!==null&&s!==void 0?s:"",onChange:u=>t.setSelectedKey(u.target.value)}}}function wF(e){let{state:t,triggerRef:n,label:r,name:o,isDisabled:a}=e,{containerProps:i,inputProps:l,selectProps:s}=xF(e,t,n);var u;return t.collection.size<=300?D.default.createElement("div",i,D.default.createElement("input",l),D.default.createElement("label",null,r,D.default.createElement("select",s,D.default.createElement("option",null),[...t.collection.getKeys()].map(d=>{let f=t.collection.getItem(d);if(f.type==="item")return D.default.createElement("option",{key:f.key,value:f.key},f.textValue)})))):o?D.default.createElement("input",{type:"hidden",autoComplete:s.autoComplete,name:o,disabled:a,value:(u=t.selectedKey)!==null&&u!==void 0?u:""}):null}function EF(e){let t=Kr(e),[n,r]=c.useState(null),o=I$({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),a.commitValidation()}}),a=vv({...e,value:o.selectedKey}),[i,l]=c.useState(!1);return{...a,...o,...t,focusStrategy:n,open(s=null){o.collection.size!==0&&(r(s),t.open())},toggle(s=null){o.collection.size!==0&&(r(s),t.toggle())},isFocused:i,setFocused:l}}const sw=F.default.span`
2193
2193
  ${({lineHeight:e=p.font_size_200,fontSize:t=p.font_size_175})=>Dl({lineHeight:e,fontSize:t})}
2194
2194
  ${()=>xo()}
2195
2195
  `,Wd=F.default.span`
@@ -2238,17 +2238,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2238
2238
  display: inline-flex;
2239
2239
  align-items: center;
2240
2240
  overflow: hidden;
2241
- `,DF=e=>w(qr,{textValue:e.name,children:e.name},e.key),cw=e=>{const{boldLabel:t=!0,hideLabel:n,placeholder:r="Select...",showCaret:o=!0,isInvalid:a,children:i=DF,displayValue:l="rendered",isPopoverTargetWidth:s=!0}=e,u=EF({...e,children:i}),d=D.useRef(null),{labelProps:f,triggerProps:m,valueProps:g,menuProps:h,errorMessageProps:b}=_F(e,u,d),{buttonProps:v}=Gn(m,d);return ee(Et,{children:[e.label?ee(Re,{...f,srOnly:n,mb:p.spacing_150,onClick:()=>u.open(),bold:t,children:[e.label,e.tooltipContent?w(Xe,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}):null,w(wF,{state:u,triggerRef:d,label:e.label,name:e.name}),ee(Hd,{...v,ref:d,isOpen:u.isOpen,"data-state":a?"invalid":void 0,disabled:e.isDisabled??!1,children:[w(SF,{...g,children:u.selectedItem?l==="textValue"?w(sw,{children:u.selectedItem.textValue}):w(sw,{children:u.selectedItem.rendered}):w(Wd,{children:r})}),o?w(Tl,{style:{width:"18px",height:"18px"},"aria-hidden":"true"}):null]}),e.errorMessage?w(St,{...b,children:e.errorMessage}):null,u.isOpen?w(er,{state:u,targetRef:d,isTargetWidth:s,children:w(B$,{...h,state:u})}):null]})};cw.displayName="SingleSelect";function PF(e,t,n){const{disallowEmptySelection:r,isDisabled:o}=e,a=el({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>new _l(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=fd({isDisabled:o,type:"listbox"},t,n),u=_=>{if(t.selectionMode==="single")switch(_.key){case"ArrowLeft":{_.preventDefault();const y=t.selectedKeys.size>0?i.getKeyAbove(t.selectedKeys.values().next().value):i.getFirstKey();y&&t.setSelectedKeys([y]);break}case"ArrowRight":{_.preventDefault();const y=t.selectedKeys.size>0?i.getKeyBelow(t.selectedKeys.values().next().value):i.getFirstKey();y&&t.setSelectedKeys([y]);break}}},{typeSelectProps:d}=sd({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(_){t.setSelectedKeys([_])}}),{labelProps:f,fieldProps:m,errorMessageProps:g}=sl({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;const h=$n(e,{labelable:!0}),b=ge(d,l,m),v=ct();return{labelProps:{...f,onClick:()=>{var _;e.isDisabled||((_=n.current)==null||_.focus(),Kc("keyboard"))}},triggerProps:ge(h,{...b,onKeyDown:Gt(b.onKeyDown,u,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,v].filter(Boolean).join(" "),onFocus(_){t.isFocused||(e.onFocus&&e.onFocus(_),t.setFocused(!0))},onBlur(_){t.isOpen||(e.onBlur&&e.onBlur(_),t.setFocused(!1))}}),valueProps:{id:v},menuProps:{...s,disallowEmptySelection:r,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:_=>{_.currentTarget.contains(_.relatedTarget)||(e.onBlur&&e.onBlur(_),t.setFocused(!1))},"aria-labelledby":[m["aria-labelledby"],b["aria-label"]&&!m["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")},errorMessageProps:g}}function TF(e){const{collection:t,disabledKeys:n,selectionManager:r,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=A$(e),l=[],s=a.size!==0?Array.from(a).map(u=>{const d=t.getItem(u);return d||l.push(u),d}).filter(eD):null;return l.length&&console.warn(`Select: Keys "${l.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:n,selectionManager:r,selectionMode:i,selectedKeys:a,setSelectedKeys:o.bind(r),selectedItems:s}}function kF(e){const[t,n]=c.useState(!1),r=O$(e),o=TF({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&(a==="all"?e.onSelectionChange(new Set(o.collection.getKeys())):e.onSelectionChange(a)),e.selectionMode==="single"&&r.close()}});return{...o,...r,close(){r.close()},open(){o.collection.size!==0&&r.open()},toggle(a){o.collection.size!==0&&r.toggle(a)},isFocused:t,setFocused:n}}const CF=F.default.span`
2241
+ `,DF=e=>w(qr,{textValue:e.name,children:e.name},e.key),cw=e=>{const{boldLabel:t=!0,hideLabel:n,placeholder:r="Select...",showCaret:o=!0,isInvalid:a,children:i=DF,displayValue:l="rendered",isPopoverTargetWidth:s=!0}=e,u=EF({...e,children:i}),d=D.useRef(null),{labelProps:f,triggerProps:m,valueProps:g,menuProps:h,errorMessageProps:b}=_F(e,u,d),{buttonProps:v}=Gn(m,d);return Q(Et,{children:[e.label?Q(Re,{...f,srOnly:n,mb:p.spacing_150,onClick:()=>u.open(),bold:t,children:[e.label,e.tooltipContent?w(Xe,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}):null,w(wF,{state:u,triggerRef:d,label:e.label,name:e.name}),Q(Hd,{...v,ref:d,isOpen:u.isOpen,"data-state":a?"invalid":void 0,disabled:e.isDisabled??!1,children:[w(SF,{...g,children:u.selectedItem?l==="textValue"?w(sw,{children:u.selectedItem.textValue}):w(sw,{children:u.selectedItem.rendered}):w(Wd,{children:r})}),o?w(Tl,{style:{width:"18px",height:"18px"},"aria-hidden":"true"}):null]}),e.errorMessage?w(St,{...b,children:e.errorMessage}):null,u.isOpen?w(er,{state:u,targetRef:d,isTargetWidth:s,children:w(B$,{...h,state:u})}):null]})};cw.displayName="SingleSelect";function PF(e,t,n){const{disallowEmptySelection:r,isDisabled:o}=e,a=el({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>new _l(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=fd({isDisabled:o,type:"listbox"},t,n),u=_=>{if(t.selectionMode==="single")switch(_.key){case"ArrowLeft":{_.preventDefault();const y=t.selectedKeys.size>0?i.getKeyAbove(t.selectedKeys.values().next().value):i.getFirstKey();y&&t.setSelectedKeys([y]);break}case"ArrowRight":{_.preventDefault();const y=t.selectedKeys.size>0?i.getKeyBelow(t.selectedKeys.values().next().value):i.getFirstKey();y&&t.setSelectedKeys([y]);break}}},{typeSelectProps:d}=sd({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(_){t.setSelectedKeys([_])}}),{labelProps:f,fieldProps:m,errorMessageProps:g}=sl({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;const h=_n(e,{labelable:!0}),b=me(d,l,m),v=ct();return{labelProps:{...f,onClick:()=>{var _;e.isDisabled||((_=n.current)==null||_.focus(),Kc("keyboard"))}},triggerProps:me(h,{...b,onKeyDown:Yt(b.onKeyDown,u,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,v].filter(Boolean).join(" "),onFocus(_){t.isFocused||(e.onFocus&&e.onFocus(_),t.setFocused(!0))},onBlur(_){t.isOpen||(e.onBlur&&e.onBlur(_),t.setFocused(!1))}}),valueProps:{id:v},menuProps:{...s,disallowEmptySelection:r,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:_=>{_.currentTarget.contains(_.relatedTarget)||(e.onBlur&&e.onBlur(_),t.setFocused(!1))},"aria-labelledby":[m["aria-labelledby"],b["aria-label"]&&!m["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")},errorMessageProps:g}}function TF(e){const{collection:t,disabledKeys:n,selectionManager:r,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=A$(e),l=[],s=a.size!==0?Array.from(a).map(u=>{const d=t.getItem(u);return d||l.push(u),d}).filter(eD):null;return l.length&&console.warn(`Select: Keys "${l.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:n,selectionManager:r,selectionMode:i,selectedKeys:a,setSelectedKeys:o.bind(r),selectedItems:s}}function kF(e){const[t,n]=c.useState(!1),r=O$(e),o=TF({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&(a==="all"?e.onSelectionChange(new Set(o.collection.getKeys())):e.onSelectionChange(a)),e.selectionMode==="single"&&r.close()}});return{...o,...r,close(){r.close()},open(){o.collection.size!==0&&r.open()},toggle(a){o.collection.size!==0&&r.toggle(a)},isFocused:t,setFocused:n}}const CF=F.default.span`
2242
2242
  width: ${p.sizing_500};
2243
2243
  height: ${p.sizing_600};
2244
2244
  display: flex;
2245
2245
  justify-content: center;
2246
2246
  align-items: center;
2247
2247
  color: ${p.color_deprecated_fill_secondary_enabled};
2248
- `,Gd=e=>{const{label:t,boldLabel:n=!0,autoFocus:r,className:o,excludeFromTabOrder:a,isClearable:i=!0,isDisabled:l,isSelectableAll:s=!1,isAllSelectedText:u,placeholder:d="Select...",tooltipContent:f,tooltipIcon:m,errorMessage:g,isInvalid:h=!1}=e,b=D.default.useRef(null),v=!i,_=kF({...e,disallowEmptySelection:v}),{labelProps:y,triggerProps:x,valueProps:S,menuProps:T,errorMessageProps:P}=PF({...e,disallowEmptySelection:v},_,b),{buttonProps:M}=Gn({...x,autoFocus:r,excludeFromTabOrder:a,isDisabled:l},b),$=_.selectionManager.isSelectAll,[C,z]=D.default.useState(!1),E=()=>_.selectionManager.toggleSelectAll(),K=()=>_.selectionManager.setFocusedKey(null),I=(k,j=!1,O)=>w(ht,{children:j&&O?w("span",{children:O}):w("span",{children:k.map(Z=>Z.textValue).join(", ")})});return ee(Et,{className:lw("select-wrapper",{"select-wrapper--opens":_.isOpen},o),children:[t?ee(Re,{...y,mb:p.spacing_150,onClick:()=>_.open(),bold:n,children:[t,f?w(Xe,{icon:m,children:f}):null]}):null,w(iC,{focusRingClass:"select--focused",autoFocus:r,children:ee(Hd,{...M,ref:b,isOpen:_.isOpen,"data-state":h?"invalid":void 0,disabled:l??!1,children:[w("span",{...S,children:_.selectedItems?I(_.selectedItems,$,u):w(Wd,{children:d})}),w(CF,{children:w(Tl,{style:{width:"18px",height:"18px"},"aria-hidden":"true"})})]})}),g?w(St,{...P,children:g}):null,_.isOpen?ee(er,{state:_,targetRef:b,isTargetWidth:!0,children:[s?ee(Vt,{children:[ee(Pl,{onMouseOver:()=>{z(!0),K()},onMouseOut:()=>z(!1),isFocused:C,tabIndex:C?0:-1,onClick:E,"aria-label":"Select All",children:[w(ld,{isDisabled:l??!1,isSelected:$,"aria-label":"Select All",onChange:E}),ee(bd,{children:[w(tt,{as:"span",children:u??"All"}),w(vd,{children:$?w(we.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})]}),w(U$,{})]}):null,w(dA,{...T,state:_,isSelectableAll:!0})]}):null]})};Gd.displayName="MultiSelectComponent";const uw=({items:e,...t})=>{const{children:n}=t,r=o=>o.textValue?w(qr,{textValue:o.textValue,children:o.textValue},o.id):w(qr,{children:o.name},o.id);if(!e)throw new Error("MultiSelect requires items");return w(Gd,{...t,items:e,children:n||r})};uw.displayName="MultiSelect";const Yd="nav-menu-portal";var dw=(e=>(e.Up="Up",e.Down="Down",e))(dw||{});const qd=D.default.createContext({direction:"Down",menuRef:null,triggerRef:null,setTriggerRef:function(){throw new Error("Function not implemented.")},open:!1,setOpen:function(){throw new Error("Function not implemented.")}}),AF=F.default.div`
2248
+ `,Gd=e=>{const{label:t,boldLabel:n=!0,autoFocus:r,className:o,excludeFromTabOrder:a,isClearable:i=!0,isDisabled:l,isSelectableAll:s=!1,isAllSelectedText:u,placeholder:d="Select...",tooltipContent:f,tooltipIcon:m,errorMessage:g,isInvalid:h=!1}=e,b=D.default.useRef(null),v=!i,_=kF({...e,disallowEmptySelection:v}),{labelProps:y,triggerProps:x,valueProps:S,menuProps:T,errorMessageProps:P}=PF({...e,disallowEmptySelection:v},_,b),{buttonProps:M}=Gn({...x,autoFocus:r,excludeFromTabOrder:a,isDisabled:l},b),$=_.selectionManager.isSelectAll,[C,N]=D.default.useState(!1),E=()=>_.selectionManager.toggleSelectAll(),K=()=>_.selectionManager.setFocusedKey(null),I=(k,j=!1,O)=>w(ht,{children:j&&O?w("span",{children:O}):w("span",{children:k.map(J=>J.textValue).join(", ")})});return Q(Et,{className:lw("select-wrapper",{"select-wrapper--opens":_.isOpen},o),children:[t?Q(Re,{...y,mb:p.spacing_150,onClick:()=>_.open(),bold:n,children:[t,f?w(Xe,{icon:m,children:f}):null]}):null,w(iC,{focusRingClass:"select--focused",autoFocus:r,children:Q(Hd,{...M,ref:b,isOpen:_.isOpen,"data-state":h?"invalid":void 0,disabled:l??!1,children:[w("span",{...S,children:_.selectedItems?I(_.selectedItems,$,u):w(Wd,{children:d})}),w(CF,{children:w(Tl,{style:{width:"18px",height:"18px"},"aria-hidden":"true"})})]})}),g?w(St,{...P,children:g}):null,_.isOpen?Q(er,{state:_,targetRef:b,isTargetWidth:!0,children:[s?Q(Bt,{children:[Q(Pl,{onMouseOver:()=>{N(!0),K()},onMouseOut:()=>N(!1),isFocused:C,tabIndex:C?0:-1,onClick:E,"aria-label":"Select All",children:[w(ld,{isDisabled:l??!1,isSelected:$,"aria-label":"Select All",onChange:E}),Q(bd,{children:[w(tt,{as:"span",children:u??"All"}),w(vd,{children:$?w(Ee.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})]}),w(U$,{})]}):null,w(dA,{...T,state:_,isSelectableAll:!0})]}):null]})};Gd.displayName="MultiSelectComponent";const uw=({items:e,...t})=>{const{children:n}=t,r=o=>o.textValue?w(qr,{textValue:o.textValue,children:o.textValue},o.id):w(qr,{children:o.name},o.id);if(!e)throw new Error("MultiSelect requires items");return w(Gd,{...t,items:e,children:n||r})};uw.displayName="MultiSelect";const Yd="nav-menu-portal";var dw=(e=>(e.Up="Up",e.Down="Down",e))(dw||{});const qd=D.default.createContext({direction:"Down",menuRef:null,triggerRef:null,setTriggerRef:function(){throw new Error("Function not implemented.")},open:!1,setOpen:function(){throw new Error("Function not implemented.")}}),AF=F.default.div`
2249
2249
  position: relative;
2250
2250
  width: inherit;
2251
- `,to=c.forwardRef((e,t)=>{const[n,r]=c.useState(!1),[o,a]=c.useState(null),i=_n(t);return c.useEffect(()=>{const l=document.getElementById(Yd);function s(u){const d=u.target;i.current&&!i.current.contains(d)&&!(l!=null&&l.contains(d))&&r(!1)}return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}},[i]),w(qd.Provider,{value:{menuRef:i,triggerRef:o,setTriggerRef:a,open:n,setOpen:r,direction:e.direction??"Down"},children:w(AF,{ref:i,role:"menu",children:e.children})})});to.displayName="NavigationMenu";const IF=F.default.button`
2251
+ `,to=c.forwardRef((e,t)=>{const[n,r]=c.useState(!1),[o,a]=c.useState(null),i=xn(t);return c.useEffect(()=>{const l=document.getElementById(Yd);function s(u){const d=u.target;i.current&&!i.current.contains(d)&&!(l!=null&&l.contains(d))&&r(!1)}return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}},[i]),w(qd.Provider,{value:{menuRef:i,triggerRef:o,setTriggerRef:a,open:n,setOpen:r,direction:e.direction??"Down"},children:w(AF,{ref:i,role:"menu",children:e.children})})});to.displayName="NavigationMenu";const IF=F.default.button`
2252
2252
  cursor: pointer;
2253
2253
  padding: ${e=>e.padding??"8px"};
2254
2254
  border: 1px solid transparent;
@@ -2279,7 +2279,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2279
2279
  0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03),
2280
2280
  0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03),
2281
2281
  0px 0px 8px rgba(0, 0, 0, 0.03);
2282
- `,pw=({children:e,width:t="100%"})=>{const[n,r]=c.useState(null),{direction:o,open:a,menuRef:i,triggerRef:l,setOpen:s}=c.useContext(qd),[u,d]=c.useState(0),[f,m]=c.useState(0),g=document.getElementById(Yd),h=c.useCallback(v=>{r(v)},[]),b=c.useCallback(()=>{if(o==="Up"&&n&&i!=null&&i.current){const v=i.current.getBoundingClientRect();d(Math.floor(v.top-n.offsetHeight)),m(v.x)}if(o==="Down"&&i!=null&&i.current){const v=i.current.getBoundingClientRect();d(Math.ceil(v.y+v.height)),m(v.x)}},[o,n,i]);return c.useEffect(()=>{b()},[n==null?void 0:n.offsetHeight,b]),c.useEffect(()=>{const v=setTimeout(()=>{b()},1e3);return()=>{clearTimeout(v)}},[n,b]),c.useEffect(()=>(window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}),[n,b]),c.useEffect(()=>{var v;if(a&&n){const _=n.querySelectorAll('[role="menuitem"]');_.length>0&&((v=_[0])==null||v.focus())}},[a,n]),c.useEffect(()=>{if(!a||!n)return;const v=_=>{var T,P,M,$,C;const y=Array.from(n.querySelectorAll('[role="menuitem"]'));if(y.length===0)return;const x=document.activeElement;let S=y.findIndex(z=>z===x);switch(_.key){case"ArrowDown":_.preventDefault(),S=(S+1)%y.length,(T=y[S])==null||T.focus();break;case"ArrowUp":_.preventDefault(),S=(S-1+y.length)%y.length,(P=y[S])==null||P.focus();break;case"Home":_.preventDefault(),(M=y[0])==null||M.focus();break;case"End":_.preventDefault(),($=y[y.length-1])==null||$.focus();break;case"Tab":if(_.preventDefault(),y.length===0)break;_.shiftKey?S=(S-1+y.length)%y.length:S=(S+1)%y.length,(C=y[S])==null||C.focus();break;case"Enter":case" ":_.preventDefault(),x&&y.includes(x)&&(x.click(),s(!1),l!=null&&l.current&&l.current.focus());break;case"Escape":_.preventDefault(),s(!1),l!=null&&l.current&&l.current.focus();break}};return n.addEventListener("keydown",v),()=>{n.removeEventListener("keydown",v)}},[a,n,s,l]),mo.createPortal(w(OF,{width:t,top:u,left:f,ref:h,open:a,role:"menu",children:e}),g)};to.List=pw;const MF=F.default.div`
2282
+ `,pw=({children:e,width:t="100%"})=>{const[n,r]=c.useState(null),{direction:o,open:a,menuRef:i,triggerRef:l,setOpen:s}=c.useContext(qd),[u,d]=c.useState(0),[f,m]=c.useState(0),g=document.getElementById(Yd),h=c.useCallback(v=>{r(v)},[]),b=c.useCallback(()=>{if(o==="Up"&&n&&i!=null&&i.current){const v=i.current.getBoundingClientRect();d(Math.floor(v.top-n.offsetHeight)),m(v.x)}if(o==="Down"&&i!=null&&i.current){const v=i.current.getBoundingClientRect();d(Math.ceil(v.y+v.height)),m(v.x)}},[o,n,i]);return c.useEffect(()=>{b()},[n==null?void 0:n.offsetHeight,b]),c.useEffect(()=>{const v=setTimeout(()=>{b()},1e3);return()=>{clearTimeout(v)}},[n,b]),c.useEffect(()=>(window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}),[n,b]),c.useEffect(()=>{var v;if(a&&n){const _=n.querySelectorAll('[role="menuitem"]');_.length>0&&((v=_[0])==null||v.focus())}},[a,n]),c.useEffect(()=>{if(!a||!n)return;const v=_=>{var T,P,M,$,C;const y=Array.from(n.querySelectorAll('[role="menuitem"]'));if(y.length===0)return;const x=document.activeElement;let S=y.findIndex(N=>N===x);switch(_.key){case"ArrowDown":_.preventDefault(),S=(S+1)%y.length,(T=y[S])==null||T.focus();break;case"ArrowUp":_.preventDefault(),S=(S-1+y.length)%y.length,(P=y[S])==null||P.focus();break;case"Home":_.preventDefault(),(M=y[0])==null||M.focus();break;case"End":_.preventDefault(),($=y[y.length-1])==null||$.focus();break;case"Tab":if(_.preventDefault(),y.length===0)break;_.shiftKey?S=(S-1+y.length)%y.length:S=(S+1)%y.length,(C=y[S])==null||C.focus();break;case"Enter":case" ":_.preventDefault(),x&&y.includes(x)&&(x.click(),s(!1),l!=null&&l.current&&l.current.focus());break;case"Escape":_.preventDefault(),s(!1),l!=null&&l.current&&l.current.focus();break}};return n.addEventListener("keydown",v),()=>{n.removeEventListener("keydown",v)}},[a,n,s,l]),mo.createPortal(w(OF,{width:t,top:u,left:f,ref:h,open:a,role:"menu",children:e}),g)};to.List=pw;const MF=F.default.div`
2283
2283
  color: hsl(210deg 2.82% 27.84%);
2284
2284
  border-radius: ${p.border_radius_400};
2285
2285
  margin: 4px;
@@ -2367,7 +2367,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2367
2367
  border-radius: ${p.border_radius_800};
2368
2368
  ${({size:e})=>WF(e)}
2369
2369
  ${({variant:e})=>YF(e)}
2370
- `,qF=D.default.forwardRef(function(t,n){const{"data-id":r,size:o="medium",variant:a="primary",children:i,...l}=t;return w(bw,{ref:n,"data-id":r,size:o,variant:a,...l,children:i})});function vw(e){const t=c.useRef({value:e,previous:e});return c.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const yw="Radio",[XF,$w]=Ke(yw),[JF,ZF]=XF(yw),QF=c.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:o=!1,required:a,disabled:i,value:l="on",onCheck:s,...u}=e,[d,f]=c.useState(null),m=$e(t,b=>f(b)),g=c.useRef(!1),h=d?!!d.closest("form"):!0;return c.createElement(JF,{scope:n,checked:o,disabled:i},c.createElement(ce.button,L({type:"button",role:"radio","aria-checked":o,"data-state":_w(o),"data-disabled":i?"":void 0,disabled:i,value:l},u,{ref:m,onClick:oe(e.onClick,b=>{o||s==null||s(),h&&(g.current=b.isPropagationStopped(),g.current||b.stopPropagation())})})),h&&c.createElement(nL,{control:d,bubbles:!g.current,name:r,value:l,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),eL="RadioIndicator",tL=c.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,a=ZF(eL,n);return c.createElement(We,{present:r||a.checked},c.createElement(ce.span,L({"data-state":_w(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),nL=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,a=c.useRef(null),i=vw(n),l=Qu(t);return c.useEffect(()=>{const s=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==n&&f){const m=new Event("click",{bubbles:r});f.call(s,n),s.dispatchEvent(m)}},[i,n,r]),c.createElement("input",L({type:"radio","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:a,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function _w(e){return e?"checked":"unchecked"}const rL=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],xw="RadioGroup",[oL,oB]=Ke(xw,[wn,$w]),ww=wn(),Ew=$w(),[aL,iL]=oL(xw),lL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:o,value:a,required:i=!1,disabled:l=!1,orientation:s,dir:u,loop:d=!0,onValueChange:f,...m}=e,g=ww(n),h=cr(u),[b,v]=Ue({prop:a,defaultProp:o,onChange:f});return c.createElement(aL,{scope:n,name:r,required:i,disabled:l,value:b,onValueChange:v},c.createElement(Ai,L({asChild:!0},g,{orientation:s,dir:h,loop:d}),c.createElement(ce.div,L({role:"radiogroup","aria-required":i,"aria-orientation":s,"data-disabled":l?"":void 0,dir:h},m,{ref:t}))))}),sL="RadioGroupItem",cL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,a=iL(sL,n),i=a.disabled||r,l=ww(n),s=Ew(n),u=c.useRef(null),d=$e(t,u),f=a.value===o.value,m=c.useRef(!1);return c.useEffect(()=>{const g=b=>{rL.includes(b.key)&&(m.current=!0)},h=()=>m.current=!1;return document.addEventListener("keydown",g),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",g),document.removeEventListener("keyup",h)}},[]),c.createElement(Ii,L({asChild:!0},l,{focusable:!i,active:f}),c.createElement(QF,L({disabled:i,required:a.required,checked:f},s,o,{name:a.name,ref:d,onCheck:()=>a.onValueChange(o.value),onKeyDown:oe(g=>{g.key==="Enter"&&g.preventDefault()}),onFocus:oe(o.onFocus,()=>{var g;m.current&&((g=u.current)===null||g===void 0||g.click())})})))}),uL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=Ew(n);return c.createElement(tL,L({},o,r,{ref:t}))}),dL=lL,fL=cL,pL=uL,Sw=F.default(fL)`
2370
+ `,qF=D.default.forwardRef(function(t,n){const{"data-id":r,size:o="medium",variant:a="primary",children:i,...l}=t;return w(bw,{ref:n,"data-id":r,size:o,variant:a,...l,children:i})});function vw(e){const t=c.useRef({value:e,previous:e});return c.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const yw="Radio",[XF,$w]=Ke(yw),[JF,ZF]=XF(yw),QF=c.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:o=!1,required:a,disabled:i,value:l="on",onCheck:s,...u}=e,[d,f]=c.useState(null),m=$e(t,b=>f(b)),g=c.useRef(!1),h=d?!!d.closest("form"):!0;return c.createElement(JF,{scope:n,checked:o,disabled:i},c.createElement(ce.button,L({type:"button",role:"radio","aria-checked":o,"data-state":_w(o),"data-disabled":i?"":void 0,disabled:i,value:l},u,{ref:m,onClick:oe(e.onClick,b=>{o||s==null||s(),h&&(g.current=b.isPropagationStopped(),g.current||b.stopPropagation())})})),h&&c.createElement(nL,{control:d,bubbles:!g.current,name:r,value:l,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),eL="RadioIndicator",tL=c.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,a=ZF(eL,n);return c.createElement(We,{present:r||a.checked},c.createElement(ce.span,L({"data-state":_w(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),nL=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,a=c.useRef(null),i=vw(n),l=Qu(t);return c.useEffect(()=>{const s=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==n&&f){const m=new Event("click",{bubbles:r});f.call(s,n),s.dispatchEvent(m)}},[i,n,r]),c.createElement("input",L({type:"radio","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:a,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function _w(e){return e?"checked":"unchecked"}const rL=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],xw="RadioGroup",[oL,oB]=Ke(xw,[En,$w]),ww=En(),Ew=$w(),[aL,iL]=oL(xw),lL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:o,value:a,required:i=!1,disabled:l=!1,orientation:s,dir:u,loop:d=!0,onValueChange:f,...m}=e,g=ww(n),h=cr(u),[b,v]=Ue({prop:a,defaultProp:o,onChange:f});return c.createElement(aL,{scope:n,name:r,required:i,disabled:l,value:b,onValueChange:v},c.createElement(Ai,L({asChild:!0},g,{orientation:s,dir:h,loop:d}),c.createElement(ce.div,L({role:"radiogroup","aria-required":i,"aria-orientation":s,"data-disabled":l?"":void 0,dir:h},m,{ref:t}))))}),sL="RadioGroupItem",cL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,a=iL(sL,n),i=a.disabled||r,l=ww(n),s=Ew(n),u=c.useRef(null),d=$e(t,u),f=a.value===o.value,m=c.useRef(!1);return c.useEffect(()=>{const g=b=>{rL.includes(b.key)&&(m.current=!0)},h=()=>m.current=!1;return document.addEventListener("keydown",g),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",g),document.removeEventListener("keyup",h)}},[]),c.createElement(Ii,L({asChild:!0},l,{focusable:!i,active:f}),c.createElement(QF,L({disabled:i,required:a.required,checked:f},s,o,{name:a.name,ref:d,onCheck:()=>a.onValueChange(o.value),onKeyDown:oe(g=>{g.key==="Enter"&&g.preventDefault()}),onFocus:oe(o.onFocus,()=>{var g;m.current&&((g=u.current)===null||g===void 0||g.click())})})))}),uL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=Ew(n);return c.createElement(tL,L({},o,r,{ref:t}))}),dL=lL,fL=cL,pL=uL,Sw=F.default(fL)`
2371
2371
  all: unset;
2372
2372
  --radio-width: ${p.sizing_600};
2373
2373
  --inner-circle-color: ${p.color_white};
@@ -2459,7 +2459,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2459
2459
  border-radius: ${p.border_radius_circle};
2460
2460
  background-color: var(--inner-circle-color);
2461
2461
  }
2462
- `;function gL({children:e,disabled:t,loop:n,onValueChange:r,...o}){const a=Ft(),i=t??a,l=zl();return w(dL,{loop:n,onValueChange:r,...o,disabled:i,...l,children:e})}function mL({disabled:e,...t}){const n=Ft(),r=e??n,o=zl();return w(Sw,{...t,...o,disabled:r,children:w(Dw,{})})}var Zd={},Pw={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Pw);var Tw=Pw.exports,kw={exports:{}},Cw={exports:{}};(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Cw);var hL=Cw.exports;(function(e){var t=hL.default;function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,i=new WeakMap;return(n=function(s){return s?i:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||t(o)!=="object"&&typeof o!="function")return{default:o};var i=n(a);if(i&&i.has(o))return i.get(o);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in o)if(u!=="default"&&Object.prototype.hasOwnProperty.call(o,u)){var d=s?Object.getOwnPropertyDescriptor(o,u):null;d&&(d.get||d.set)?Object.defineProperty(l,u,d):l[u]=o[u]}return l.default=o,i&&i.set(o,l),l}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(kw);var Aw=kw.exports,Qd={};function Iw(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function ef(e){return e&&bn(e)==="object"&&e.constructor===Object}function no(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},r=n.clone?L({},e):e;return ef(e)&&ef(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(ef(t[o])&&o in e?r[o]=no(e[o],t[o],n):r[o]=t[o])}),r}var bL="exact-prop: ​";function vL(e){return process.env.NODE_ENV==="production"?e:L({},e,gr({},bL,function(t){var n=Object.keys(t).filter(function(r){return!e.hasOwnProperty(r)});return n.length>0?new Error("The following props are not supported: ".concat(n.map(function(r){return"`".concat(r,"`")}).join(", "),". Please remove them.")):null}))}function Bl(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var yL=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function $L(e){var t="".concat(e).match(yL),n=t&&t[1];return n||""}function Ow(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||$L(e)||t}function Mw(e,t,n){var r=Ow(t);return e.displayName||(r!==""?"".concat(n,"(").concat(r,")"):n)}function _a(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ow(e,"Component");if(bn(e)==="object")switch(e.$$typeof){case ns.ForwardRef:return Mw(e,e.render,"ForwardRef");case ns.Memo:return Mw(e,e.type,"memo");default:return}}}function tf(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":Bl(7));return e.charAt(0).toUpperCase()+e.slice(1)}function _L(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(r,o){return o==null?r:(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,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];r.apply(this,l),o.apply(this,l)})},function(){})}function zt(e,t){if(e==null)return{};var n=Xa(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var xL=typeof Symbol=="function"&&Symbol.for;const wL=xL?Symbol.for("mui.nested"):"__THEME_NESTED__";var EL=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function SL(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.disableGlobal,n=t===void 0?!1:t,r=e.productionPrefix,o=r===void 0?"jss":r,a=e.seed,i=a===void 0?"":a,l=i===""?"":"".concat(i,"-"),s=0,u=function(){return s+=1,process.env.NODE_ENV!=="production"&&s>=1e10&&console.warn(["Material-UI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),s};return function(d,f){var m=f.options.name;if(m&&m.indexOf("Mui")===0&&!f.options.link&&!n){if(EL.indexOf(d.key)!==-1)return"Mui-".concat(d.key);var g="".concat(l).concat(m,"-").concat(d.key);return!f.options.theme[wL]||i!==""?g:"".concat(g,"-").concat(u())}if(process.env.NODE_ENV==="production")return"".concat(l).concat(o).concat(u());var h="".concat(d.key,"-").concat(u());return f.options.classNamePrefix?"".concat(l).concat(f.options.classNamePrefix,"-").concat(h):"".concat(l).concat(h)}}function DL(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o=t.props[n],a;for(a in o)r[a]===void 0&&(r[a]=o[a]);return r}var PL=process.env.NODE_ENV==="production";function pt(e,t){if(!PL){if(e)return;var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var Fw=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},xa=(typeof window>"u"?"undefined":Fw(window))==="object"&&(typeof document>"u"?"undefined":Fw(document))==="object"&&document.nodeType===9;function Lw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ig(r.key),r)}}function Nw(e,t,n){return t&&Lw(e.prototype,t),n&&Lw(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var TL={}.constructor;function nf(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(nf);if(e.constructor!==TL)return e;var t={};for(var n in e)t[n]=nf(e[n]);return t}function rf(e,t,n){e===void 0&&(e="unnamed");var r=n.jss,o=nf(t),a=r.plugins.onCreateRule(e,o,n);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&pt(!1,"[JSS] Unknown rule "+e),null)}var zw=function(t,n){for(var r="",o=0;o<t.length&&t[o]!=="!important";o++)r&&(r+=n),r+=t[o];return r},lr=function(t){if(!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&t[r]!=="!important";r++)n&&(n+=", "),n+=zw(t[r]," ");else n=zw(t,", ");return t[t.length-1]==="!important"&&(n+=" !important"),n};function ro(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
2462
+ `;function gL({children:e,disabled:t,loop:n,onValueChange:r,...o}){const a=Lt(),i=t??a,l=zl();return w(dL,{loop:n,onValueChange:r,...o,disabled:i,...l,children:e})}function mL({disabled:e,...t}){const n=Lt(),r=e??n,o=zl();return w(Sw,{...t,...o,disabled:r,children:w(Dw,{})})}var Zd={},Pw={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Pw);var Tw=Pw.exports,kw={exports:{}},Cw={exports:{}};(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Cw);var hL=Cw.exports;(function(e){var t=hL.default;function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,i=new WeakMap;return(n=function(s){return s?i:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||t(o)!=="object"&&typeof o!="function")return{default:o};var i=n(a);if(i&&i.has(o))return i.get(o);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in o)if(u!=="default"&&Object.prototype.hasOwnProperty.call(o,u)){var d=s?Object.getOwnPropertyDescriptor(o,u):null;d&&(d.get||d.set)?Object.defineProperty(l,u,d):l[u]=o[u]}return l.default=o,i&&i.set(o,l),l}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(kw);var Aw=kw.exports,Qd={};function Iw(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function ef(e){return e&&vn(e)==="object"&&e.constructor===Object}function no(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},r=n.clone?L({},e):e;return ef(e)&&ef(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(ef(t[o])&&o in e?r[o]=no(e[o],t[o],n):r[o]=t[o])}),r}var bL="exact-prop: ​";function vL(e){return process.env.NODE_ENV==="production"?e:L({},e,gr({},bL,function(t){var n=Object.keys(t).filter(function(r){return!e.hasOwnProperty(r)});return n.length>0?new Error("The following props are not supported: ".concat(n.map(function(r){return"`".concat(r,"`")}).join(", "),". Please remove them.")):null}))}function Bl(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var yL=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function $L(e){var t="".concat(e).match(yL),n=t&&t[1];return n||""}function Ow(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||$L(e)||t}function Mw(e,t,n){var r=Ow(t);return e.displayName||(r!==""?"".concat(n,"(").concat(r,")"):n)}function _a(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ow(e,"Component");if(vn(e)==="object")switch(e.$$typeof){case ns.ForwardRef:return Mw(e,e.render,"ForwardRef");case ns.Memo:return Mw(e,e.type,"memo");default:return}}}function tf(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":Bl(7));return e.charAt(0).toUpperCase()+e.slice(1)}function _L(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(r,o){return o==null?r:(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,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];r.apply(this,l),o.apply(this,l)})},function(){})}function Rt(e,t){if(e==null)return{};var n=Xa(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var xL=typeof Symbol=="function"&&Symbol.for;const wL=xL?Symbol.for("mui.nested"):"__THEME_NESTED__";var EL=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function SL(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.disableGlobal,n=t===void 0?!1:t,r=e.productionPrefix,o=r===void 0?"jss":r,a=e.seed,i=a===void 0?"":a,l=i===""?"":"".concat(i,"-"),s=0,u=function(){return s+=1,process.env.NODE_ENV!=="production"&&s>=1e10&&console.warn(["Material-UI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),s};return function(d,f){var m=f.options.name;if(m&&m.indexOf("Mui")===0&&!f.options.link&&!n){if(EL.indexOf(d.key)!==-1)return"Mui-".concat(d.key);var g="".concat(l).concat(m,"-").concat(d.key);return!f.options.theme[wL]||i!==""?g:"".concat(g,"-").concat(u())}if(process.env.NODE_ENV==="production")return"".concat(l).concat(o).concat(u());var h="".concat(d.key,"-").concat(u());return f.options.classNamePrefix?"".concat(l).concat(f.options.classNamePrefix,"-").concat(h):"".concat(l).concat(h)}}function DL(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o=t.props[n],a;for(a in o)r[a]===void 0&&(r[a]=o[a]);return r}var PL=process.env.NODE_ENV==="production";function pt(e,t){if(!PL){if(e)return;var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var Fw=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},xa=(typeof window>"u"?"undefined":Fw(window))==="object"&&(typeof document>"u"?"undefined":Fw(document))==="object"&&document.nodeType===9;function Lw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ig(r.key),r)}}function Nw(e,t,n){return t&&Lw(e.prototype,t),n&&Lw(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var TL={}.constructor;function nf(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(nf);if(e.constructor!==TL)return e;var t={};for(var n in e)t[n]=nf(e[n]);return t}function rf(e,t,n){e===void 0&&(e="unnamed");var r=n.jss,o=nf(t),a=r.plugins.onCreateRule(e,o,n);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&pt(!1,"[JSS] Unknown rule "+e),null)}var zw=function(t,n){for(var r="",o=0;o<t.length&&t[o]!=="!important";o++)r&&(r+=n),r+=t[o];return r},lr=function(t){if(!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&t[r]!=="!important";r++)n&&(n+=", "),n+=zw(t[r]," ");else n=zw(t,", ");return t[t.length-1]==="!important"&&(n+=" !important"),n};function ro(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
2463
2463
  `,space:" "}}function wa(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Ea(e,t,n){n===void 0&&(n={});var r="";if(!t)return r;var o=n,a=o.indent,i=a===void 0?0:a,l=t.fallbacks;n.format===!1&&(i=-1/0);var s=ro(n),u=s.linebreak,d=s.space;if(e&&i++,l)if(Array.isArray(l))for(var f=0;f<l.length;f++){var m=l[f];for(var g in m){var h=m[g];h!=null&&(r&&(r+=u),r+=wa(g+":"+d+lr(h)+";",i))}}else for(var b in l){var v=l[b];v!=null&&(r&&(r+=u),r+=wa(b+":"+d+lr(v)+";",i))}for(var _ in t){var y=t[_];y!=null&&_!=="fallbacks"&&(r&&(r+=u),r+=wa(_+":"+d+lr(y)+";",i))}return!r&&!n.allowEmpty||!e?r:(i--,r&&(r=""+u+r+u),wa(""+e+d+"{"+r,i)+wa("}",i))}var kL=/([[\].#*$><+~=|^:(),"'`\s])/g,Rw=typeof CSS<"u"&&CSS.escape,of=function(e){return Rw?Rw(e):e.replace(kL,"\\$1")},Kw=function(){function e(n,r,o){this.type="style",this.isProcessed=!1;var a=o.sheet,i=o.Renderer;this.key=n,this.options=o,this.style=r,a?this.renderer=a.renderer:i&&(this.renderer=new i)}var t=e.prototype;return t.prop=function(r,o,a){if(o===void 0)return this.style[r];var i=a?a.force:!1;if(!i&&this.style[r]===o)return this;var l=o;(!a||a.process!==!1)&&(l=this.options.jss.plugins.onChangeValue(o,r,this));var s=l==null||l===!1,u=r in this.style;if(s&&!u&&!i)return this;var d=s&&u;if(d?delete this.style[r]:this.style[r]=l,this.renderable&&this.renderer)return d?this.renderer.removeProperty(this.renderable,r):this.renderer.setProperty(this.renderable,r,l),this;var f=this.options.sheet;return f&&f.attached&&process.env.NODE_ENV!=="production"&&pt(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),af=function(e){Ja(t,e);function t(r,o,a){var i;i=e.call(this,r,o,a)||this;var l=a.selector,s=a.scoped,u=a.sheet,d=a.generateId;return l?i.selectorText=l:s!==!1&&(i.id=d(vm(vm(i)),u),i.selectorText="."+of(i.id)),i}var n=t.prototype;return n.applyTo=function(o){var a=this.renderer;if(a){var i=this.toJSON();for(var l in i)a.setProperty(o,l,i[l])}return this},n.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]=lr(i))}return o},n.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,l=i?L({},o,{allowEmpty:!0}):o;return Ea(this.selectorText,this.style,l)},Nw(t,[{key:"selector",set:function(o){if(o!==this.selectorText){this.selectorText=o;var a=this.renderer,i=this.renderable;if(!(!i||!a)){var l=a.setSelector(i,o);l||a.replaceRule(i,this)}}},get:function(){return this.selectorText}}]),t}(Kw),CL={onCreateRule:function(t,n,r){return t[0]==="@"||r.parent&&r.parent.type==="keyframes"?null:new af(t,n,r)}},lf={indent:1,children:!0},AL=/@([\w-]+)/,IL=function(){function e(n,r,o){this.type="conditional",this.isProcessed=!1,this.key=n;var a=n.match(AL);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new jl(L({},o,{parent:this}));for(var i in r)this.rules.add(i,r[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(r){return this.rules.get(r)},t.indexOf=function(r){return this.rules.indexOf(r)},t.addRule=function(r,o,a){var i=this.rules.add(r,o,a);return i?(this.options.jss.plugins.onProcessRule(i),i):null},t.replaceRule=function(r,o,a){var i=this.rules.replace(r,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.toString=function(r){r===void 0&&(r=lf);var o=ro(r),a=o.linebreak;if(r.indent==null&&(r.indent=lf.indent),r.children==null&&(r.children=lf.children),r.children===!1)return this.query+" {}";var i=this.rules.toString(r);return i?this.query+" {"+a+i+a+"}":""},e}(),OL=/@container|@media|@supports\s+/,ML={onCreateRule:function(t,n,r){return OL.test(t)?new IL(t,n,r):null}},sf={indent:1,children:!0},FL=/@keyframes\s+([\w-]+)/,cf=function(){function e(n,r,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=n.match(FL);a&&a[1]?this.name=a[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&pt(!1,"[JSS] Bad keyframes name "+n)),this.key=this.type+"-"+this.name,this.options=o;var i=o.scoped,l=o.sheet,s=o.generateId;this.id=i===!1?this.name:of(s(this,l)),this.rules=new jl(L({},o,{parent:this}));for(var u in r)this.rules.add(u,r[u],L({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(r){r===void 0&&(r=sf);var o=ro(r),a=o.linebreak;if(r.indent==null&&(r.indent=sf.indent),r.children==null&&(r.children=sf.children),r.children===!1)return this.at+" "+this.id+" {}";var i=this.rules.toString(r);return i&&(i=""+a+i+a),this.at+" "+this.id+" {"+i+"}"},e}(),LL=/@keyframes\s+/,NL=/\$([\w-]+)/g,uf=function(t,n){return typeof t=="string"?t.replace(NL,function(r,o){return o in n?n[o]:(process.env.NODE_ENV!=="production"&&pt(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),r)}):t},Vw=function(t,n,r){var o=t[n],a=uf(o,r);a!==o&&(t[n]=a)},zL={onCreateRule:function(t,n,r){return typeof t=="string"&&LL.test(t)?new cf(t,n,r):null},onProcessStyle:function(t,n,r){return n.type!=="style"||!r||("animation-name"in t&&Vw(t,"animation-name",r.keyframes),"animation"in t&&Vw(t,"animation",r.keyframes)),t},onChangeValue:function(t,n,r){var o=r.options.sheet;if(!o)return t;switch(n){case"animation":return uf(t,o.keyframes);case"animation-name":return uf(t,o.keyframes);default:return t}}},RL=function(e){Ja(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,l=i?L({},o,{allowEmpty:!0}):o;return Ea(this.key,this.style,l)},t}(Kw),KL={onCreateRule:function(t,n,r){return r.parent&&r.parent.type==="keyframes"?new RL(t,n,r):null}},VL=function(){function e(n,r,o){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=n,this.style=r,this.options=o}var t=e.prototype;return t.toString=function(r){var o=ro(r),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",l=0;l<this.style.length;l++)i+=Ea(this.at,this.style[l]),this.style[l+1]&&(i+=a);return i}return Ea(this.at,this.style,r)},e}(),BL=/@font-face/,jL={onCreateRule:function(t,n,r){return BL.test(t)?new VL(t,n,r):null}},UL=function(){function e(n,r,o){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=n,this.style=r,this.options=o}var t=e.prototype;return t.toString=function(r){return Ea(this.key,this.style,r)},e}(),WL={onCreateRule:function(t,n,r){return t==="@viewport"||t==="@-ms-viewport"?new UL(t,n,r):null}},HL=function(){function e(n,r,o){this.type="simple",this.isProcessed=!1,this.key=n,this.value=r,this.options=o}var t=e.prototype;return t.toString=function(r){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+=`
2464
2464
  `);return o}return this.key+" "+this.value+";"},e}(),GL={"@charset":!0,"@import":!0,"@namespace":!0},YL={onCreateRule:function(t,n,r){return t in GL?new HL(t,n,r):null}},Bw=[CL,ML,zL,KL,jL,WL,YL],qL={process:!0},jw={force:!0,process:!0},jl=function(){function e(n){this.map={},this.raw={},this.index=[],this.counter=0,this.options=n,this.classes=n.classes,this.keyframes=n.keyframes}var t=e.prototype;return t.add=function(r,o,a){var i=this.options,l=i.parent,s=i.sheet,u=i.jss,d=i.Renderer,f=i.generateId,m=i.scoped,g=L({classes:this.classes,parent:l,sheet:s,jss:u,Renderer:d,generateId:f,scoped:m,name:r,keyframes:this.keyframes,selector:void 0},a),h=r;r in this.raw&&(h=r+"-d"+this.counter++),this.raw[h]=o,h in this.classes&&(g.selector="."+of(this.classes[h]));var b=rf(h,o,g);if(!b)return null;this.register(b);var v=g.index===void 0?this.index.length:g.index;return this.index.splice(v,0,b),b},t.replace=function(r,o,a){var i=this.get(r),l=this.index.indexOf(i);i&&this.remove(i);var s=a;return l!==-1&&(s=L({},a,{index:l})),this.add(r,o,s)},t.get=function(r){return this.map[r]},t.remove=function(r){this.unregister(r),delete this.raw[r.key],this.index.splice(this.index.indexOf(r),1)},t.indexOf=function(r){return this.index.indexOf(r)},t.process=function(){var r=this.options.jss.plugins;this.index.slice(0).forEach(r.onProcessRule,r)},t.register=function(r){this.map[r.key]=r,r instanceof af?(this.map[r.selector]=r,r.id&&(this.classes[r.key]=r.id)):r instanceof cf&&this.keyframes&&(this.keyframes[r.name]=r.id)},t.unregister=function(r){delete this.map[r.key],r instanceof af?(delete this.map[r.selector],delete this.classes[r.key]):r instanceof cf&&delete this.keyframes[r.name]},t.update=function(){var r,o,a;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(r=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],r=null),r)this.updateOne(this.get(r),o,a);else for(var i=0;i<this.index.length;i++)this.updateOne(this.index[i],o,a)},t.updateOne=function(r,o,a){a===void 0&&(a=qL);var i=this.options,l=i.jss.plugins,s=i.sheet;if(r.rules instanceof e){r.rules.update(o,a);return}var u=r.style;if(l.onUpdate(o,r,s,a),a.process&&u&&u!==r.style){l.onProcessStyle(r.style,r,s);for(var d in r.style){var f=r.style[d],m=u[d];f!==m&&r.prop(d,f,jw)}for(var g in u){var h=r.style[g],b=u[g];h==null&&h!==b&&r.prop(g,null,jw)}}},t.toString=function(r){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,l=ro(r),s=l.linebreak,u=0;u<this.index.length;u++){var d=this.index[u],f=d.toString(r);!f&&!i||(o&&(o+=s),o+=f)}return o},e}(),Uw=function(){function e(n,r){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=L({},r,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),r.Renderer&&(this.renderer=new r.Renderer(this)),this.rules=new jl(this.options);for(var o in n)this.rules.add(o,n[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(r,o,a){var i=this.queue;this.attached&&!i&&(this.queue=[]);var l=this.rules.add(r,o,a);return l?(this.options.jss.plugins.onProcessRule(l),this.attached?(this.deployed&&(i?i.push(l):(this.insertRule(l),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),l):(this.deployed=!1,l)):null},t.replaceRule=function(r,o,a){var i=this.rules.get(r);if(!i)return this.addRule(r,o,a);var l=this.rules.replace(r,o,a);return l&&this.options.jss.plugins.onProcessRule(l),this.attached?(this.deployed&&this.renderer&&(l?i.renderable&&this.renderer.replaceRule(i.renderable,l):this.renderer.deleteRule(i)),l):(this.deployed=!1,l)},t.insertRule=function(r){this.renderer&&this.renderer.insertRule(r)},t.addRules=function(r,o){var a=[];for(var i in r){var l=this.addRule(i,r[i],o);l&&a.push(l)}return a},t.getRule=function(r){return this.rules.get(r)},t.deleteRule=function(r){var o=typeof r=="object"?r:this.rules.get(r);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(r){return this.rules.indexOf(r)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var r;return(r=this.rules).update.apply(r,arguments),this},t.updateOne=function(r,o,a){return this.rules.updateOne(r,o,a),this},t.toString=function(r){return this.rules.toString(r)},e}(),XL=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(r,o,a){for(var i=0;i<this.registry.onCreateRule.length;i++){var l=this.registry.onCreateRule[i](r,o,a);if(l)return l}return null},t.onProcessRule=function(r){if(!r.isProcessed){for(var o=r.options.sheet,a=0;a<this.registry.onProcessRule.length;a++)this.registry.onProcessRule[a](r,o);r.style&&this.onProcessStyle(r.style,r,o),r.isProcessed=!0}},t.onProcessStyle=function(r,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(r){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](r)},t.onUpdate=function(r,o,a,i){for(var l=0;l<this.registry.onUpdate.length;l++)this.registry.onUpdate[l](r,o,a,i)},t.onChangeValue=function(r,o,a){for(var i=r,l=0;l<this.registry.onChangeValue.length;l++)i=this.registry.onChangeValue[l](i,o,a);return i},t.use=function(r,o){o===void 0&&(o={queue:"external"});var a=this.plugins[o.queue];a.indexOf(r)===-1&&(a.push(r),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(i,l){for(var s in l)s in i?i[s].push(l[s]):process.env.NODE_ENV!=="production"&&pt(!1,'[JSS] Unknown hook "'+s+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),JL=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(r){var o=this.registry,a=r.options.index;if(o.indexOf(r)===-1){if(o.length===0||a>=this.index){o.push(r);return}for(var i=0;i<o.length;i++)if(o[i].options.index>a){o.splice(i,0,r);return}}},t.reset=function(){this.registry=[]},t.remove=function(r){var o=this.registry.indexOf(r);this.registry.splice(o,1)},t.toString=function(r){for(var o=r===void 0?{}:r,a=o.attached,i=Xa(o,["attached"]),l=ro(i),s=l.linebreak,u="",d=0;d<this.registry.length;d++){var f=this.registry[d];a!=null&&f.attached!==a||(u&&(u+=s),u+=f.toString(i))}return u},Nw(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),Sa=new JL,df=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),ff="2f1acc6c3a606b082e5eef5e54414ffb";df[ff]==null&&(df[ff]=0);var Ww=df[ff]++,ZL=1e10,Hw=function(t){t===void 0&&(t={});var n=0,r=function(a,i){n+=1,n>ZL&&process.env.NODE_ENV!=="production"&&pt(!1,"[JSS] You might have a memory leak. Rule counter is at "+n+".");var l="",s="";return i&&(i.options.classNamePrefix&&(s=i.options.classNamePrefix),i.options.jss.id!=null&&(l=String(i.options.jss.id))),t.minify?""+(s||"c")+Ww+l+n:s+a.key+"-"+Ww+(l?"-"+l:"")+"-"+n};return r},Gw=function(t){var n;return function(){return n||(n=t()),n}},QL=function(t,n){try{return t.attributeStyleMap?t.attributeStyleMap.get(n):t.style.getPropertyValue(n)}catch{return""}},eN=function(t,n,r){try{var o=r;if(Array.isArray(r)&&(o=lr(r)),t.attributeStyleMap)t.attributeStyleMap.set(n,o);else{var a=o?o.indexOf("!important"):-1,i=a>-1?o.substr(0,a-1):o;t.style.setProperty(n,i,a>-1?"important":"")}}catch{return!1}return!0},tN=function(t,n){try{t.attributeStyleMap?t.attributeStyleMap.delete(n):t.style.removeProperty(n)}catch(r){process.env.NODE_ENV!=="production"&&pt(!1,'[JSS] DOMException "'+r.message+'" was thrown. Tried to remove property "'+n+'".')}},nN=function(t,n){return t.selectorText=n,t.selectorText===n},Yw=Gw(function(){return document.querySelector("head")});function rN(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}function oN(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}function aN(e){for(var t=Yw(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(r.nodeType===8&&r.nodeValue.trim()===e)return r}return null}function iN(e){var t=Sa.registry;if(t.length>0){var n=rN(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=oN(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&typeof r=="string"){var o=aN(r);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&pt(!1,'[JSS] Insertion point "'+r+'" not found.')}return!1}function lN(e,t){var n=t.insertionPoint,r=iN(t);if(r!==!1&&r.parent){r.parent.insertBefore(e,r.node);return}if(n&&typeof n.nodeType=="number"){var o=n,a=o.parentNode;a?a.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&pt(!1,"[JSS] Insertion point is not in the DOM.");return}Yw().appendChild(e)}var sN=Gw(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),qw=function(t,n,r){try{"insertRule"in t?t.insertRule(n,r):"appendRule"in t&&t.appendRule(n)}catch(o){return process.env.NODE_ENV!=="production"&&pt(!1,"[JSS] "+o.message),!1}return t.cssRules[r]},Xw=function(t,n){var r=t.cssRules.length;return n===void 0||n>r?r:n},cN=function(){var t=document.createElement("style");return t.textContent=`
2465
2465
  `,t},uN=function(){function e(n){this.getPropertyValue=QL,this.setProperty=eN,this.removeProperty=tN,this.setSelector=nN,this.hasInsertedRules=!1,this.cssRules=[],n&&Sa.add(n),this.sheet=n;var r=this.sheet?this.sheet.options:{},o=r.media,a=r.meta,i=r.element;this.element=i||cN(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),a&&this.element.setAttribute("data-meta",a);var l=sN();l&&this.element.setAttribute("nonce",l)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){lN(this.element,this.sheet.options);var r=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&r&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var r=this.element.parentNode;r&&r.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
@@ -2471,17 +2471,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2471
2471
  * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
2472
2472
  * @website https://github.com/cssinjs/jss
2473
2473
  * @license MIT
2474
- */pf();var Zw=Date.now(),mf="fnValues"+Zw,hf="fnStyle"+ ++Zw,pN=function(){return{onCreateRule:function(n,r,o){if(typeof r!="function")return null;var a=rf(n,{},o);return a[hf]=r,a},onProcessStyle:function(n,r){if(mf in r||hf in r)return n;var o={};for(var a in n){var i=n[a];typeof i=="function"&&(delete n[a],o[a]=i)}return r[mf]=o,n},onUpdate:function(n,r,o,a){var i=r,l=i[hf];if(l&&(i.style=l(n)||{},process.env.NODE_ENV==="development")){for(var s in i.style)if(typeof i.style[s]=="function"){process.env.NODE_ENV!=="production"&&pt(!1,"[JSS] Function values inside function rules are not supported.");break}}var u=i[mf];if(u)for(var d in u)i.prop(d,u[d](n),a)}}};const gN=pN;var Cn="@global",bf="@global ",mN=function(){function e(n,r,o){this.type="global",this.at=Cn,this.isProcessed=!1,this.key=n,this.options=o,this.rules=new jl(L({},o,{parent:this}));for(var a in r)this.rules.add(a,r[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(r){return this.rules.get(r)},t.addRule=function(r,o,a){var i=this.rules.add(r,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.replaceRule=function(r,o,a){var i=this.rules.replace(r,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.indexOf=function(r){return this.rules.indexOf(r)},t.toString=function(r){return this.rules.toString(r)},e}(),hN=function(){function e(n,r,o){this.type="global",this.at=Cn,this.isProcessed=!1,this.key=n,this.options=o;var a=n.substr(bf.length);this.rule=o.jss.createRule(a,r,L({},o,{parent:this}))}var t=e.prototype;return t.toString=function(r){return this.rule?this.rule.toString(r):""},e}(),bN=/\s*,\s*/g;function Qw(e,t){for(var n=e.split(bN),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function vN(e,t){var n=e.options,r=e.style,o=r?r[Cn]:null;if(o){for(var a in o)t.addRule(a,o[a],L({},n,{selector:Qw(a,e.selector)}));delete r[Cn]}}function yN(e,t){var n=e.options,r=e.style;for(var o in r)if(!(o[0]!=="@"||o.substr(0,Cn.length)!==Cn)){var a=Qw(o.substr(Cn.length),e.selector);t.addRule(a,r[o],L({},n,{selector:a})),delete r[o]}}function $N(){function e(n,r,o){if(!n)return null;if(n===Cn)return new mN(n,r,o);if(n[0]==="@"&&n.substr(0,bf.length)===bf)return new hN(n,r,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=n),null}function t(n,r){n.type!=="style"||!r||(vN(n,r),yN(n,r))}return{onCreateRule:e,onProcessRule:t}}var eE=/\s*,\s*/g,_N=/&/g,xN=/\$([\w-]+)/g;function wN(){function e(o,a){return function(i,l){var s=o.getRule(l)||a&&a.getRule(l);return s?s.selector:(process.env.NODE_ENV!=="production"&&pt(!1,'[JSS] Could not find the referenced rule "'+l+'" in "'+(o.options.meta||o.toString())+'".'),l)}}function t(o,a){for(var i=a.split(eE),l=o.split(eE),s="",u=0;u<i.length;u++)for(var d=i[u],f=0;f<l.length;f++){var m=l[f];s&&(s+=", "),s+=m.indexOf("&")!==-1?m.replace(_N,d):d+" "+m}return s}function n(o,a,i){if(i)return L({},i,{index:i.index+1});var l=o.options.nestingLevel;l=l===void 0?1:l+1;var s=L({},o.options,{nestingLevel:l,index:a.indexOf(o)+1});return delete s.name,s}function r(o,a,i){if(a.type!=="style")return o;var l=a,s=l.options.parent,u,d;for(var f in o){var m=f.indexOf("&")!==-1,g=f[0]==="@";if(!(!m&&!g)){if(u=n(l,s,u),m){var h=t(f,l.selector);d||(d=e(s,i)),h=h.replace(xN,d);var b=l.key+"-"+f;"replaceRule"in s?s.replaceRule(b,o[f],L({},u,{selector:h})):s.addRule(b,o[f],L({},u,{selector:h}))}else g&&s.addRule(f,{},u).addRule(l.key,o[f],{selector:l.selector});delete o[f]}}return o}return{onProcessStyle:r}}var EN=/[A-Z]/g,SN=/^ms-/,vf={};function DN(e){return"-"+e.toLowerCase()}function tE(e){if(vf.hasOwnProperty(e))return vf[e];var t=e.replace(EN,DN);return vf[e]=SN.test(t)?"-"+t:t}function Ul(e){var t={};for(var n in e){var r=n.indexOf("--")===0?n:tE(n);t[r]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ul):t.fallbacks=Ul(e.fallbacks)),t}function PN(){function e(n){if(Array.isArray(n)){for(var r=0;r<n.length;r++)n[r]=Ul(n[r]);return n}return Ul(n)}function t(n,r,o){if(r.indexOf("--")===0)return n;var a=tE(r);return r===a?n:(o.prop(a,n),null)}return{onProcessStyle:e,onChangeValue:t}}var Y=gf&&CSS?CSS.px:"px",Wl=gf&&CSS?CSS.ms:"ms",oo=gf&&CSS?CSS.percent:"%",TN={"animation-delay":Wl,"animation-duration":Wl,"background-position":Y,"background-position-x":Y,"background-position-y":Y,"background-size":Y,border:Y,"border-bottom":Y,"border-bottom-left-radius":Y,"border-bottom-right-radius":Y,"border-bottom-width":Y,"border-left":Y,"border-left-width":Y,"border-radius":Y,"border-right":Y,"border-right-width":Y,"border-top":Y,"border-top-left-radius":Y,"border-top-right-radius":Y,"border-top-width":Y,"border-width":Y,"border-block":Y,"border-block-end":Y,"border-block-end-width":Y,"border-block-start":Y,"border-block-start-width":Y,"border-block-width":Y,"border-inline":Y,"border-inline-end":Y,"border-inline-end-width":Y,"border-inline-start":Y,"border-inline-start-width":Y,"border-inline-width":Y,"border-start-start-radius":Y,"border-start-end-radius":Y,"border-end-start-radius":Y,"border-end-end-radius":Y,margin:Y,"margin-bottom":Y,"margin-left":Y,"margin-right":Y,"margin-top":Y,"margin-block":Y,"margin-block-end":Y,"margin-block-start":Y,"margin-inline":Y,"margin-inline-end":Y,"margin-inline-start":Y,padding:Y,"padding-bottom":Y,"padding-left":Y,"padding-right":Y,"padding-top":Y,"padding-block":Y,"padding-block-end":Y,"padding-block-start":Y,"padding-inline":Y,"padding-inline-end":Y,"padding-inline-start":Y,"mask-position-x":Y,"mask-position-y":Y,"mask-size":Y,height:Y,width:Y,"min-height":Y,"max-height":Y,"min-width":Y,"max-width":Y,bottom:Y,left:Y,top:Y,right:Y,inset:Y,"inset-block":Y,"inset-block-end":Y,"inset-block-start":Y,"inset-inline":Y,"inset-inline-end":Y,"inset-inline-start":Y,"box-shadow":Y,"text-shadow":Y,"column-gap":Y,"column-rule":Y,"column-rule-width":Y,"column-width":Y,"font-size":Y,"font-size-delta":Y,"letter-spacing":Y,"text-decoration-thickness":Y,"text-indent":Y,"text-stroke":Y,"text-stroke-width":Y,"word-spacing":Y,motion:Y,"motion-offset":Y,outline:Y,"outline-offset":Y,"outline-width":Y,perspective:Y,"perspective-origin-x":oo,"perspective-origin-y":oo,"transform-origin":oo,"transform-origin-x":oo,"transform-origin-y":oo,"transform-origin-z":oo,"transition-delay":Wl,"transition-duration":Wl,"vertical-align":Y,"flex-basis":Y,"shape-margin":Y,size:Y,gap:Y,grid:Y,"grid-gap":Y,"row-gap":Y,"grid-row-gap":Y,"grid-column-gap":Y,"grid-template-rows":Y,"grid-template-columns":Y,"grid-auto-rows":Y,"grid-auto-columns":Y,"box-shadow-x":Y,"box-shadow-y":Y,"box-shadow-blur":Y,"box-shadow-spread":Y,"font-line-height":Y,"text-shadow-x":Y,"text-shadow-y":Y,"text-shadow-blur":Y};function nE(e){var t=/(-[a-z])/g,n=function(i){return i[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var kN=nE(TN);function Da(e,t,n){if(t==null)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Da(e,t[r],n);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=Da(o,t[o],n);else for(var a in t)t[a]=Da(e+"-"+a,t[a],n);else if(typeof t=="number"&&isNaN(t)===!1){var i=n[e]||kN[e];return i&&!(t===0&&i===Y)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function CN(e){e===void 0&&(e={});var t=nE(e);function n(o,a){if(a.type!=="style")return o;for(var i in o)o[i]=Da(i,o[i],t);return o}function r(o,a){return Da(a,o,t)}return{onProcessStyle:n,onChangeValue:r}}function yf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function AN(e){if(Array.isArray(e))return yf(e)}function IN(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ON(e,t){if(e){if(typeof e=="string")return yf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yf(e,t)}}function MN(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2475
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function FN(e){return AN(e)||IN(e)||ON(e)||MN()}var Pa="",$f="",rE="",oE="",LN=xa&&"ontouchstart"in document.documentElement;if(xa){var _f={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},NN=document.createElement("p"),xf=NN.style,zN="Transform";for(var wf in _f)if(wf+zN in xf){Pa=wf,$f=_f[wf];break}Pa==="Webkit"&&"msHyphens"in xf&&(Pa="ms",$f=_f.ms,oE="edge"),Pa==="Webkit"&&"-apple-trailing-word"in xf&&(rE="apple")}var de={js:Pa,css:$f,vendor:rE,browser:oE,isTouch:LN};function RN(e){return e[1]==="-"||de.js==="ms"?e:"@"+de.css+"keyframes"+e.substr(10)}var KN={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:de.js==="ms"?"-webkit-"+t:de.css+t}},VN={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:de.js==="Webkit"?de.css+"print-"+t:t}},BN=/[-\s]+(.)?/g;function jN(e,t){return t?t.toUpperCase():""}function Ef(e){return e.replace(BN,jN)}function An(e){return Ef("-"+e)}var UN={noPrefill:["mask"],supportedProperty:function(t,n){if(!/^mask/.test(t))return!1;if(de.js==="Webkit"){var r="mask-image";if(Ef(r)in n)return t;if(de.js+An(r)in n)return de.css+t}return t}},WN={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:de.vendor==="apple"&&!de.isTouch?de.css+t:t}},HN={noPrefill:["transform"],supportedProperty:function(t,n,r){return t!=="transform"?!1:r.transform?t:de.css+t}},GN={noPrefill:["transition"],supportedProperty:function(t,n,r){return t!=="transition"?!1:r.transition?t:de.css+t}},YN={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:de.js==="Webkit"||de.js==="ms"&&de.browser!=="edge"?de.css+t:t}},qN={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:de.js==="Moz"||de.js==="ms"||de.vendor==="apple"?de.css+t:t}},XN={supportedProperty:function(t,n){if(!/^break-/.test(t))return!1;if(de.js==="Webkit"){var r="WebkitColumn"+An(t);return r in n?de.css+"column-"+t:!1}if(de.js==="Moz"){var o="page"+An(t);return o in n?"page-"+t:!1}return!1}},JN={supportedProperty:function(t,n){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(de.js==="Moz")return t;var r=t.replace("-inline","");return de.js+An(r)in n?de.css+r:!1}},ZN={supportedProperty:function(t,n){return Ef(t)in n?t:!1}},QN={supportedProperty:function(t,n){var r=An(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:de.js+r in n?de.css+t:de.js!=="Webkit"&&"Webkit"+r in n?"-webkit-"+t:!1}},ez={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:de.js==="ms"?""+de.css+t:t}},tz={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:de.js==="ms"?de.css+"scroll-chaining":t}},nz={"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"},rz={supportedProperty:function(t,n){var r=nz[t];return r&&de.js+An(r)in n?de.css+r:!1}},aE={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"},oz=Object.keys(aE),az=function(t){return de.css+t},iz={supportedProperty:function(t,n,r){var o=r.multiple;if(oz.indexOf(t)>-1){var a=aE[t];if(!Array.isArray(a))return de.js+An(a)in n?de.css+a:!1;if(!o)return!1;for(var i=0;i<a.length;i++)if(!(de.js+An(a[0])in n))return!1;return a.map(az)}return!1}},iE=[KN,VN,UN,WN,HN,GN,YN,qN,XN,JN,ZN,QN,ez,tz,rz,iz],lE=iE.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),lz=iE.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,FN(t.noPrefill)),e},[]),Ta,sr={};if(xa){Ta=document.createElement("p");var Sf=window.getComputedStyle(document.documentElement,"");for(var Df in Sf)isNaN(Df)||(sr[Sf[Df]]=Sf[Df]);lz.forEach(function(e){return delete sr[e]})}function Pf(e,t){if(t===void 0&&(t={}),!Ta)return e;if(process.env.NODE_ENV!=="benchmark"&&sr[e]!=null)return sr[e];(e==="transition"||e==="transform")&&(t[e]=e in Ta.style);for(var n=0;n<lE.length&&(sr[e]=lE[n](e,Ta.style,t),!sr[e]);n++);try{Ta.style[e]=""}catch{return!1}return sr[e]}var ao={},sz={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},cz=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,In;function uz(e,t,n){if(t==="var")return"var";if(t==="all")return"all";if(n==="all")return", all";var r=t?Pf(t):", "+Pf(n);return r||t||n}xa&&(In=document.createElement("p"));function sE(e,t){var n=t;if(!In||e==="content")return t;if(typeof n!="string"||!isNaN(parseInt(n,10)))return n;var r=e+n;if(process.env.NODE_ENV!=="benchmark"&&ao[r]!=null)return ao[r];try{In.style[e]=n}catch{return ao[r]=!1,!1}if(sz[e])n=n.replace(cz,uz);else if(In.style[e]===""&&(n=de.css+n,n==="-ms-flex"&&(In.style[e]="-ms-flexbox"),In.style[e]=n,In.style[e]===""))return ao[r]=!1,!1;return In.style[e]="",ao[r]=n,ao[r]}function dz(){function e(o){if(o.type==="keyframes"){var a=o;a.at=RN(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 l=!1,s=Pf(a);s&&s!==a&&(l=!0);var u=!1,d=sE(s,lr(i));d&&d!==i&&(u=!0),(l||u)&&(l&&delete o[a],o[s||a]=d||i)}return o}function n(o,a){return a.type!=="style"?o:t(o)}function r(o,a){return sE(a,lr(o))||o}return{onProcessRule:e,onProcessStyle:n,onChangeValue:r}}function fz(){var e=function(n,r){return n.length===r.length?n>r?1:-1:n.length-r.length};return{onProcessStyle:function(n,r){if(r.type!=="style")return n;for(var o={},a=Object.keys(n).sort(e),i=0;i<a.length;i++)o[a[i]]=n[a[i]];return o}}}function cE(){return{plugins:[gN(),$N(),wN(),PN(),CN(),typeof window>"u"?null:dz(),fz()]}}function uE(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.baseClasses,n=e.newClasses,r=e.Component;if(!n)return t;var o=L({},t);return process.env.NODE_ENV!=="production"&&typeof n=="string"?(console.error(["Material-UI: The value `".concat(n,"` ")+"provided to the classes prop of ".concat(_a(r)," is incorrect."),"You might want to use the className prop instead."].join(`
2474
+ */pf();var Zw=Date.now(),mf="fnValues"+Zw,hf="fnStyle"+ ++Zw,pN=function(){return{onCreateRule:function(n,r,o){if(typeof r!="function")return null;var a=rf(n,{},o);return a[hf]=r,a},onProcessStyle:function(n,r){if(mf in r||hf in r)return n;var o={};for(var a in n){var i=n[a];typeof i=="function"&&(delete n[a],o[a]=i)}return r[mf]=o,n},onUpdate:function(n,r,o,a){var i=r,l=i[hf];if(l&&(i.style=l(n)||{},process.env.NODE_ENV==="development")){for(var s in i.style)if(typeof i.style[s]=="function"){process.env.NODE_ENV!=="production"&&pt(!1,"[JSS] Function values inside function rules are not supported.");break}}var u=i[mf];if(u)for(var d in u)i.prop(d,u[d](n),a)}}};const gN=pN;var An="@global",bf="@global ",mN=function(){function e(n,r,o){this.type="global",this.at=An,this.isProcessed=!1,this.key=n,this.options=o,this.rules=new jl(L({},o,{parent:this}));for(var a in r)this.rules.add(a,r[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(r){return this.rules.get(r)},t.addRule=function(r,o,a){var i=this.rules.add(r,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.replaceRule=function(r,o,a){var i=this.rules.replace(r,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.indexOf=function(r){return this.rules.indexOf(r)},t.toString=function(r){return this.rules.toString(r)},e}(),hN=function(){function e(n,r,o){this.type="global",this.at=An,this.isProcessed=!1,this.key=n,this.options=o;var a=n.substr(bf.length);this.rule=o.jss.createRule(a,r,L({},o,{parent:this}))}var t=e.prototype;return t.toString=function(r){return this.rule?this.rule.toString(r):""},e}(),bN=/\s*,\s*/g;function Qw(e,t){for(var n=e.split(bN),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function vN(e,t){var n=e.options,r=e.style,o=r?r[An]:null;if(o){for(var a in o)t.addRule(a,o[a],L({},n,{selector:Qw(a,e.selector)}));delete r[An]}}function yN(e,t){var n=e.options,r=e.style;for(var o in r)if(!(o[0]!=="@"||o.substr(0,An.length)!==An)){var a=Qw(o.substr(An.length),e.selector);t.addRule(a,r[o],L({},n,{selector:a})),delete r[o]}}function $N(){function e(n,r,o){if(!n)return null;if(n===An)return new mN(n,r,o);if(n[0]==="@"&&n.substr(0,bf.length)===bf)return new hN(n,r,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=n),null}function t(n,r){n.type!=="style"||!r||(vN(n,r),yN(n,r))}return{onCreateRule:e,onProcessRule:t}}var eE=/\s*,\s*/g,_N=/&/g,xN=/\$([\w-]+)/g;function wN(){function e(o,a){return function(i,l){var s=o.getRule(l)||a&&a.getRule(l);return s?s.selector:(process.env.NODE_ENV!=="production"&&pt(!1,'[JSS] Could not find the referenced rule "'+l+'" in "'+(o.options.meta||o.toString())+'".'),l)}}function t(o,a){for(var i=a.split(eE),l=o.split(eE),s="",u=0;u<i.length;u++)for(var d=i[u],f=0;f<l.length;f++){var m=l[f];s&&(s+=", "),s+=m.indexOf("&")!==-1?m.replace(_N,d):d+" "+m}return s}function n(o,a,i){if(i)return L({},i,{index:i.index+1});var l=o.options.nestingLevel;l=l===void 0?1:l+1;var s=L({},o.options,{nestingLevel:l,index:a.indexOf(o)+1});return delete s.name,s}function r(o,a,i){if(a.type!=="style")return o;var l=a,s=l.options.parent,u,d;for(var f in o){var m=f.indexOf("&")!==-1,g=f[0]==="@";if(!(!m&&!g)){if(u=n(l,s,u),m){var h=t(f,l.selector);d||(d=e(s,i)),h=h.replace(xN,d);var b=l.key+"-"+f;"replaceRule"in s?s.replaceRule(b,o[f],L({},u,{selector:h})):s.addRule(b,o[f],L({},u,{selector:h}))}else g&&s.addRule(f,{},u).addRule(l.key,o[f],{selector:l.selector});delete o[f]}}return o}return{onProcessStyle:r}}var EN=/[A-Z]/g,SN=/^ms-/,vf={};function DN(e){return"-"+e.toLowerCase()}function tE(e){if(vf.hasOwnProperty(e))return vf[e];var t=e.replace(EN,DN);return vf[e]=SN.test(t)?"-"+t:t}function Ul(e){var t={};for(var n in e){var r=n.indexOf("--")===0?n:tE(n);t[r]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ul):t.fallbacks=Ul(e.fallbacks)),t}function PN(){function e(n){if(Array.isArray(n)){for(var r=0;r<n.length;r++)n[r]=Ul(n[r]);return n}return Ul(n)}function t(n,r,o){if(r.indexOf("--")===0)return n;var a=tE(r);return r===a?n:(o.prop(a,n),null)}return{onProcessStyle:e,onChangeValue:t}}var Y=gf&&CSS?CSS.px:"px",Wl=gf&&CSS?CSS.ms:"ms",oo=gf&&CSS?CSS.percent:"%",TN={"animation-delay":Wl,"animation-duration":Wl,"background-position":Y,"background-position-x":Y,"background-position-y":Y,"background-size":Y,border:Y,"border-bottom":Y,"border-bottom-left-radius":Y,"border-bottom-right-radius":Y,"border-bottom-width":Y,"border-left":Y,"border-left-width":Y,"border-radius":Y,"border-right":Y,"border-right-width":Y,"border-top":Y,"border-top-left-radius":Y,"border-top-right-radius":Y,"border-top-width":Y,"border-width":Y,"border-block":Y,"border-block-end":Y,"border-block-end-width":Y,"border-block-start":Y,"border-block-start-width":Y,"border-block-width":Y,"border-inline":Y,"border-inline-end":Y,"border-inline-end-width":Y,"border-inline-start":Y,"border-inline-start-width":Y,"border-inline-width":Y,"border-start-start-radius":Y,"border-start-end-radius":Y,"border-end-start-radius":Y,"border-end-end-radius":Y,margin:Y,"margin-bottom":Y,"margin-left":Y,"margin-right":Y,"margin-top":Y,"margin-block":Y,"margin-block-end":Y,"margin-block-start":Y,"margin-inline":Y,"margin-inline-end":Y,"margin-inline-start":Y,padding:Y,"padding-bottom":Y,"padding-left":Y,"padding-right":Y,"padding-top":Y,"padding-block":Y,"padding-block-end":Y,"padding-block-start":Y,"padding-inline":Y,"padding-inline-end":Y,"padding-inline-start":Y,"mask-position-x":Y,"mask-position-y":Y,"mask-size":Y,height:Y,width:Y,"min-height":Y,"max-height":Y,"min-width":Y,"max-width":Y,bottom:Y,left:Y,top:Y,right:Y,inset:Y,"inset-block":Y,"inset-block-end":Y,"inset-block-start":Y,"inset-inline":Y,"inset-inline-end":Y,"inset-inline-start":Y,"box-shadow":Y,"text-shadow":Y,"column-gap":Y,"column-rule":Y,"column-rule-width":Y,"column-width":Y,"font-size":Y,"font-size-delta":Y,"letter-spacing":Y,"text-decoration-thickness":Y,"text-indent":Y,"text-stroke":Y,"text-stroke-width":Y,"word-spacing":Y,motion:Y,"motion-offset":Y,outline:Y,"outline-offset":Y,"outline-width":Y,perspective:Y,"perspective-origin-x":oo,"perspective-origin-y":oo,"transform-origin":oo,"transform-origin-x":oo,"transform-origin-y":oo,"transform-origin-z":oo,"transition-delay":Wl,"transition-duration":Wl,"vertical-align":Y,"flex-basis":Y,"shape-margin":Y,size:Y,gap:Y,grid:Y,"grid-gap":Y,"row-gap":Y,"grid-row-gap":Y,"grid-column-gap":Y,"grid-template-rows":Y,"grid-template-columns":Y,"grid-auto-rows":Y,"grid-auto-columns":Y,"box-shadow-x":Y,"box-shadow-y":Y,"box-shadow-blur":Y,"box-shadow-spread":Y,"font-line-height":Y,"text-shadow-x":Y,"text-shadow-y":Y,"text-shadow-blur":Y};function nE(e){var t=/(-[a-z])/g,n=function(i){return i[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var kN=nE(TN);function Da(e,t,n){if(t==null)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Da(e,t[r],n);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=Da(o,t[o],n);else for(var a in t)t[a]=Da(e+"-"+a,t[a],n);else if(typeof t=="number"&&isNaN(t)===!1){var i=n[e]||kN[e];return i&&!(t===0&&i===Y)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function CN(e){e===void 0&&(e={});var t=nE(e);function n(o,a){if(a.type!=="style")return o;for(var i in o)o[i]=Da(i,o[i],t);return o}function r(o,a){return Da(a,o,t)}return{onProcessStyle:n,onChangeValue:r}}function yf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function AN(e){if(Array.isArray(e))return yf(e)}function IN(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ON(e,t){if(e){if(typeof e=="string")return yf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yf(e,t)}}function MN(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2475
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function FN(e){return AN(e)||IN(e)||ON(e)||MN()}var Pa="",$f="",rE="",oE="",LN=xa&&"ontouchstart"in document.documentElement;if(xa){var _f={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},NN=document.createElement("p"),xf=NN.style,zN="Transform";for(var wf in _f)if(wf+zN in xf){Pa=wf,$f=_f[wf];break}Pa==="Webkit"&&"msHyphens"in xf&&(Pa="ms",$f=_f.ms,oE="edge"),Pa==="Webkit"&&"-apple-trailing-word"in xf&&(rE="apple")}var de={js:Pa,css:$f,vendor:rE,browser:oE,isTouch:LN};function RN(e){return e[1]==="-"||de.js==="ms"?e:"@"+de.css+"keyframes"+e.substr(10)}var KN={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:de.js==="ms"?"-webkit-"+t:de.css+t}},VN={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:de.js==="Webkit"?de.css+"print-"+t:t}},BN=/[-\s]+(.)?/g;function jN(e,t){return t?t.toUpperCase():""}function Ef(e){return e.replace(BN,jN)}function In(e){return Ef("-"+e)}var UN={noPrefill:["mask"],supportedProperty:function(t,n){if(!/^mask/.test(t))return!1;if(de.js==="Webkit"){var r="mask-image";if(Ef(r)in n)return t;if(de.js+In(r)in n)return de.css+t}return t}},WN={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:de.vendor==="apple"&&!de.isTouch?de.css+t:t}},HN={noPrefill:["transform"],supportedProperty:function(t,n,r){return t!=="transform"?!1:r.transform?t:de.css+t}},GN={noPrefill:["transition"],supportedProperty:function(t,n,r){return t!=="transition"?!1:r.transition?t:de.css+t}},YN={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:de.js==="Webkit"||de.js==="ms"&&de.browser!=="edge"?de.css+t:t}},qN={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:de.js==="Moz"||de.js==="ms"||de.vendor==="apple"?de.css+t:t}},XN={supportedProperty:function(t,n){if(!/^break-/.test(t))return!1;if(de.js==="Webkit"){var r="WebkitColumn"+In(t);return r in n?de.css+"column-"+t:!1}if(de.js==="Moz"){var o="page"+In(t);return o in n?"page-"+t:!1}return!1}},JN={supportedProperty:function(t,n){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(de.js==="Moz")return t;var r=t.replace("-inline","");return de.js+In(r)in n?de.css+r:!1}},ZN={supportedProperty:function(t,n){return Ef(t)in n?t:!1}},QN={supportedProperty:function(t,n){var r=In(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:de.js+r in n?de.css+t:de.js!=="Webkit"&&"Webkit"+r in n?"-webkit-"+t:!1}},ez={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:de.js==="ms"?""+de.css+t:t}},tz={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:de.js==="ms"?de.css+"scroll-chaining":t}},nz={"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"},rz={supportedProperty:function(t,n){var r=nz[t];return r&&de.js+In(r)in n?de.css+r:!1}},aE={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"},oz=Object.keys(aE),az=function(t){return de.css+t},iz={supportedProperty:function(t,n,r){var o=r.multiple;if(oz.indexOf(t)>-1){var a=aE[t];if(!Array.isArray(a))return de.js+In(a)in n?de.css+a:!1;if(!o)return!1;for(var i=0;i<a.length;i++)if(!(de.js+In(a[0])in n))return!1;return a.map(az)}return!1}},iE=[KN,VN,UN,WN,HN,GN,YN,qN,XN,JN,ZN,QN,ez,tz,rz,iz],lE=iE.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),lz=iE.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,FN(t.noPrefill)),e},[]),Ta,sr={};if(xa){Ta=document.createElement("p");var Sf=window.getComputedStyle(document.documentElement,"");for(var Df in Sf)isNaN(Df)||(sr[Sf[Df]]=Sf[Df]);lz.forEach(function(e){return delete sr[e]})}function Pf(e,t){if(t===void 0&&(t={}),!Ta)return e;if(process.env.NODE_ENV!=="benchmark"&&sr[e]!=null)return sr[e];(e==="transition"||e==="transform")&&(t[e]=e in Ta.style);for(var n=0;n<lE.length&&(sr[e]=lE[n](e,Ta.style,t),!sr[e]);n++);try{Ta.style[e]=""}catch{return!1}return sr[e]}var ao={},sz={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},cz=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,On;function uz(e,t,n){if(t==="var")return"var";if(t==="all")return"all";if(n==="all")return", all";var r=t?Pf(t):", "+Pf(n);return r||t||n}xa&&(On=document.createElement("p"));function sE(e,t){var n=t;if(!On||e==="content")return t;if(typeof n!="string"||!isNaN(parseInt(n,10)))return n;var r=e+n;if(process.env.NODE_ENV!=="benchmark"&&ao[r]!=null)return ao[r];try{On.style[e]=n}catch{return ao[r]=!1,!1}if(sz[e])n=n.replace(cz,uz);else if(On.style[e]===""&&(n=de.css+n,n==="-ms-flex"&&(On.style[e]="-ms-flexbox"),On.style[e]=n,On.style[e]===""))return ao[r]=!1,!1;return On.style[e]="",ao[r]=n,ao[r]}function dz(){function e(o){if(o.type==="keyframes"){var a=o;a.at=RN(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 l=!1,s=Pf(a);s&&s!==a&&(l=!0);var u=!1,d=sE(s,lr(i));d&&d!==i&&(u=!0),(l||u)&&(l&&delete o[a],o[s||a]=d||i)}return o}function n(o,a){return a.type!=="style"?o:t(o)}function r(o,a){return sE(a,lr(o))||o}return{onProcessRule:e,onProcessStyle:n,onChangeValue:r}}function fz(){var e=function(n,r){return n.length===r.length?n>r?1:-1:n.length-r.length};return{onProcessStyle:function(n,r){if(r.type!=="style")return n;for(var o={},a=Object.keys(n).sort(e),i=0;i<a.length;i++)o[a[i]]=n[a[i]];return o}}}function cE(){return{plugins:[gN(),$N(),wN(),PN(),CN(),typeof window>"u"?null:dz(),fz()]}}function uE(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.baseClasses,n=e.newClasses,r=e.Component;if(!n)return t;var o=L({},t);return process.env.NODE_ENV!=="production"&&typeof n=="string"?(console.error(["Material-UI: The value `".concat(n,"` ")+"provided to the classes prop of ".concat(_a(r)," is incorrect."),"You might want to use the className prop instead."].join(`
2476
2476
  `)),t):(Object.keys(n).forEach(function(a){process.env.NODE_ENV!=="production"&&(!t[a]&&n[a]&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not implemented in ".concat(_a(r),"."),"You can only override one of the following: ".concat(Object.keys(t).join(","),".")].join(`
2477
2477
  `)),n[a]&&typeof n[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(_a(r),"."),"You need to provide a non empty string instead of: ".concat(n[a],".")].join(`
2478
- `))),n[a]&&(o[a]="".concat(t[a]," ").concat(n[a]))}),o)}var pz={set:function(t,n,r,o){var a=t.get(n);a||(a=new Map,t.set(n,a)),a.set(r,o)},get:function(t,n,r){var o=t.get(n);return o?o.get(r):void 0},delete:function(t,n,r){var o=t.get(n);o.delete(r)}};const io=pz;var dE=D.default.createContext(null);process.env.NODE_ENV!=="production"&&(dE.displayName="ThemeContext");const gz=dE;function fE(){var e=D.default.useContext(gz);return process.env.NODE_ENV!=="production"&&D.default.useDebugValue(e),e}var mz=pf(cE()),hz=SL(),bz=new Map,vz={disableGeneration:!1,generateClassName:hz,jss:mz,sheetsCache:null,sheetsManager:bz,sheetsRegistry:null},Hl=D.default.createContext(vz);process.env.NODE_ENV!=="production"&&(Hl.displayName="StylesContext");var Gl;function Tf(e){var t=e.children,n=e.injectFirst,r=n===void 0?!1:n,o=e.disableGeneration,a=o===void 0?!1:o,i=zt(e,["children","injectFirst","disableGeneration"]),l=D.default.useContext(Hl),s=L({},l,{disableGeneration:a},i);if(process.env.NODE_ENV!=="production"&&typeof window>"u"&&!s.sheetsManager&&console.error("Material-UI: You need to use the ServerStyleSheets API when rendering on the server."),process.env.NODE_ENV!=="production"&&s.jss.options.insertionPoint&&r&&console.error("Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time."),process.env.NODE_ENV!=="production"&&r&&i.jss&&console.error("Material-UI: You cannot use the jss and injectFirst props at the same time."),!s.jss.options.insertionPoint&&r&&typeof window<"u"){if(!Gl){var u=document.head;Gl=document.createComment("mui-inject-first"),u.insertBefore(Gl,u.firstChild)}s.jss=pf({plugins:cE().plugins,insertionPoint:Gl})}return D.default.createElement(Hl.Provider,{value:s},t)}process.env.NODE_ENV!=="production"&&(Tf.propTypes={children:ae.node.isRequired,disableGeneration:ae.bool,generateClassName:ae.func,injectFirst:ae.bool,jss:ae.object,serverGenerateClassName:ae.func,sheetsCache:ae.object,sheetsManager:ae.object,sheetsRegistry:ae.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Tf.propTypes=vL(Tf.propTypes));var kf=-1e9;function yz(){return kf+=1,process.env.NODE_ENV!=="production"&&kf>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
2479
- `)),kf}var $z={};const pE=$z;function _z(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&bn(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(`
2478
+ `))),n[a]&&(o[a]="".concat(t[a]," ").concat(n[a]))}),o)}var pz={set:function(t,n,r,o){var a=t.get(n);a||(a=new Map,t.set(n,a)),a.set(r,o)},get:function(t,n,r){var o=t.get(n);return o?o.get(r):void 0},delete:function(t,n,r){var o=t.get(n);o.delete(r)}};const io=pz;var dE=D.default.createContext(null);process.env.NODE_ENV!=="production"&&(dE.displayName="ThemeContext");const gz=dE;function fE(){var e=D.default.useContext(gz);return process.env.NODE_ENV!=="production"&&D.default.useDebugValue(e),e}var mz=pf(cE()),hz=SL(),bz=new Map,vz={disableGeneration:!1,generateClassName:hz,jss:mz,sheetsCache:null,sheetsManager:bz,sheetsRegistry:null},Hl=D.default.createContext(vz);process.env.NODE_ENV!=="production"&&(Hl.displayName="StylesContext");var Gl;function Tf(e){var t=e.children,n=e.injectFirst,r=n===void 0?!1:n,o=e.disableGeneration,a=o===void 0?!1:o,i=Rt(e,["children","injectFirst","disableGeneration"]),l=D.default.useContext(Hl),s=L({},l,{disableGeneration:a},i);if(process.env.NODE_ENV!=="production"&&typeof window>"u"&&!s.sheetsManager&&console.error("Material-UI: You need to use the ServerStyleSheets API when rendering on the server."),process.env.NODE_ENV!=="production"&&s.jss.options.insertionPoint&&r&&console.error("Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time."),process.env.NODE_ENV!=="production"&&r&&i.jss&&console.error("Material-UI: You cannot use the jss and injectFirst props at the same time."),!s.jss.options.insertionPoint&&r&&typeof window<"u"){if(!Gl){var u=document.head;Gl=document.createComment("mui-inject-first"),u.insertBefore(Gl,u.firstChild)}s.jss=pf({plugins:cE().plugins,insertionPoint:Gl})}return D.default.createElement(Hl.Provider,{value:s},t)}process.env.NODE_ENV!=="production"&&(Tf.propTypes={children:ae.node.isRequired,disableGeneration:ae.bool,generateClassName:ae.func,injectFirst:ae.bool,jss:ae.object,serverGenerateClassName:ae.func,sheetsCache:ae.object,sheetsManager:ae.object,sheetsRegistry:ae.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Tf.propTypes=vL(Tf.propTypes));var kf=-1e9;function yz(){return kf+=1,process.env.NODE_ENV!=="production"&&kf>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
2479
+ `)),kf}var $z={};const pE=$z;function _z(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&vn(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(`
2480
2480
  `)),{create:function(r,o){var a;try{a=t?e(r):e}catch(s){throw process.env.NODE_ENV!=="production"&&t===!0&&r===pE&&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(`
2481
2481
  `)),s}if(!o||!r.overrides||!r.overrides[o])return a;var i=r.overrides[o],l=L({},a);return Object.keys(i).forEach(function(s){process.env.NODE_ENV!=="production"&&(l[s]||console.warn(["Material-UI: You are trying to override a style that does not exist.","Fix the `".concat(s,"` key of `theme.overrides.").concat(o,"`.")].join(`
2482
- `))),l[s]=no(l[s],i[s])}),l},options:{}}}function xz(e,t,n){var r=e.state,o=e.stylesOptions;if(o.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var a=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,a=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,a=!0),a&&(r.cacheClasses.value=uE({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function wz(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,i=e.name;if(!o.disableGeneration){var l=io.get(o.sheetsManager,a,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},io.set(o.sheetsManager,a,r,l));var s=L({},a.options,o,{theme:r,flip:typeof o.flip=="boolean"?o.flip:r.direction==="rtl"});s.generateId=s.serverGenerateClassName||s.generateClassName;var u=o.sheetsRegistry;if(l.refs===0){var d;o.sheetsCache&&(d=io.get(o.sheetsCache,a,r));var f=a.create(r,i);d||(d=o.jss.createStyleSheet(f,L({link:!1},s)),d.attach(),o.sheetsCache&&io.set(o.sheetsCache,a,r,d)),u&&u.add(d),l.staticSheet=d,l.dynamicStyles=Jw(f)}if(l.dynamicStyles){var m=o.jss.createStyleSheet(l.dynamicStyles,L({link:!0},s));m.update(t),m.attach(),n.dynamicSheet=m,n.classes=uE({baseClasses:l.staticSheet.classes,newClasses:m.classes}),u&&u.add(m)}else n.classes=l.staticSheet.classes;l.refs+=1}}function Ez(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Sz(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var a=io.get(r.sheetsManager,o,n);a.refs-=1;var i=r.sheetsRegistry;a.refs===0&&(io.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(a.staticSheet),i&&i.remove(a.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),i&&i.remove(t.dynamicSheet))}}function Dz(e,t){var n=D.default.useRef([]),r,o=D.default.useMemo(function(){return{}},t);n.current!==o&&(n.current=o,r=e()),D.default.useEffect(function(){return function(){r&&r()}},[o])}function Pz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.name,r=t.classNamePrefix,o=t.Component,a=t.defaultTheme,i=a===void 0?pE:a,l=zt(t,["name","classNamePrefix","Component","defaultTheme"]),s=_z(e),u=n||r||"makeStyles";s.options={index:yz(),name:n,meta:u,classNamePrefix:u};var d=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=fE()||i,h=L({},D.default.useContext(Hl),l),b=D.default.useRef(),v=D.default.useRef();Dz(function(){var y={name:n,state:{},stylesCreator:s,stylesOptions:h,theme:g};return wz(y,m),v.current=!1,b.current=y,function(){Sz(y)}},[g,s]),D.default.useEffect(function(){v.current&&Ez(b.current,m),v.current=!0});var _=xz(b.current,m.classes,o);return process.env.NODE_ENV!=="production"&&D.default.useDebugValue(_),_};return d}var Cf=rs.default,Tz={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},kz={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Cz={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Af={};Af[Cf.ForwardRef]=Cz,Af[Cf.Memo]=gE;function mE(e){return Cf.isMemo(e)?gE:Af[e.$$typeof]||Tz}var Az=Object.defineProperty,Iz=Object.getOwnPropertyNames,hE=Object.getOwnPropertySymbols,Oz=Object.getOwnPropertyDescriptor,Mz=Object.getPrototypeOf,bE=Object.prototype;function vE(e,t,n){if(typeof t!="string"){if(bE){var r=Mz(t);r&&r!==bE&&vE(e,r,n)}var o=Iz(t);hE&&(o=o.concat(hE(t)));for(var a=mE(e),i=mE(t),l=0;l<o.length;++l){var s=o[l];if(!kz[s]&&!(n&&n[s])&&!(i&&i[s])&&!(a&&a[s])){var u=Oz(t,s);try{Az(e,s,u)}catch{}}}}return e}var Fz=vE;const Lz=Aa(Fz);var Nz=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(r){var o=n.defaultTheme,a=n.withTheme,i=a===void 0?!1:a,l=n.name,s=zt(n,["defaultTheme","withTheme","name"]);if(process.env.NODE_ENV!=="production"&&r===void 0)throw new Error(["You are calling withStyles(styles)(Component) with an undefined component.","You may have forgotten to import it."].join(`
2483
- `));var u=l;if(process.env.NODE_ENV!=="production"&&!l){var d=_a(r);d!==void 0&&(u=d)}var f=Pz(t,L({defaultTheme:o,Component:r,name:l||r.displayName,classNamePrefix:u},s)),m=D.default.forwardRef(function(h,b){h.classes;var v=h.innerRef,_=zt(h,["classes","innerRef"]),y=f(L({},r.defaultProps,h)),x,S=_;return(typeof l=="string"||i)&&(x=fE()||o,l&&(S=DL({theme:x,name:l,props:_})),i&&!S.theme&&(S.theme=x)),D.default.createElement(r,L({ref:v||b,classes:y},S))});return process.env.NODE_ENV!=="production"&&(m.propTypes={classes:ae.object,innerRef:Iw(ae.oneOfType([ae.func,ae.object]),function(g){return g.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(m.displayName="WithStyles(".concat(_a(r),")")),Lz(m,r),process.env.NODE_ENV!=="production"&&(m.Naked=r,m.options=n,m.useStyles=f),m}};const zz=Nz;var On=["xs","sm","md","lg","xl"];function Rz(e){var t=e.values,n=t===void 0?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=r===void 0?"px":r,a=e.step,i=a===void 0?5:a,l=zt(e,["values","unit","step"]);function s(h){var b=typeof n[h]=="number"?n[h]:h;return"@media (min-width:".concat(b).concat(o,")")}function u(h){var b=On.indexOf(h)+1,v=n[On[b]];if(b===On.length)return s("xs");var _=typeof v=="number"&&b>0?v:h;return"@media (max-width:".concat(_-i/100).concat(o,")")}function d(h,b){var v=On.indexOf(b);return v===On.length-1?s(h):"@media (min-width:".concat(typeof n[h]=="number"?n[h]:h).concat(o,") and ")+"(max-width:".concat((v!==-1&&typeof n[On[v+1]]=="number"?n[On[v+1]]:b)-i/100).concat(o,")")}function f(h){return d(h,h)}var m=!1;function g(h){return process.env.NODE_ENV!=="production"&&(m||(m=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
2484
- `)))),n[h]}return L({keys:On,values:n,up:s,down:u,between:d,only:f,width:g},l)}function Kz(e,t,n){var r;return L({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:",`
2482
+ `))),l[s]=no(l[s],i[s])}),l},options:{}}}function xz(e,t,n){var r=e.state,o=e.stylesOptions;if(o.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var a=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,a=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,a=!0),a&&(r.cacheClasses.value=uE({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function wz(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,i=e.name;if(!o.disableGeneration){var l=io.get(o.sheetsManager,a,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},io.set(o.sheetsManager,a,r,l));var s=L({},a.options,o,{theme:r,flip:typeof o.flip=="boolean"?o.flip:r.direction==="rtl"});s.generateId=s.serverGenerateClassName||s.generateClassName;var u=o.sheetsRegistry;if(l.refs===0){var d;o.sheetsCache&&(d=io.get(o.sheetsCache,a,r));var f=a.create(r,i);d||(d=o.jss.createStyleSheet(f,L({link:!1},s)),d.attach(),o.sheetsCache&&io.set(o.sheetsCache,a,r,d)),u&&u.add(d),l.staticSheet=d,l.dynamicStyles=Jw(f)}if(l.dynamicStyles){var m=o.jss.createStyleSheet(l.dynamicStyles,L({link:!0},s));m.update(t),m.attach(),n.dynamicSheet=m,n.classes=uE({baseClasses:l.staticSheet.classes,newClasses:m.classes}),u&&u.add(m)}else n.classes=l.staticSheet.classes;l.refs+=1}}function Ez(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Sz(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var a=io.get(r.sheetsManager,o,n);a.refs-=1;var i=r.sheetsRegistry;a.refs===0&&(io.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(a.staticSheet),i&&i.remove(a.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),i&&i.remove(t.dynamicSheet))}}function Dz(e,t){var n=D.default.useRef([]),r,o=D.default.useMemo(function(){return{}},t);n.current!==o&&(n.current=o,r=e()),D.default.useEffect(function(){return function(){r&&r()}},[o])}function Pz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.name,r=t.classNamePrefix,o=t.Component,a=t.defaultTheme,i=a===void 0?pE:a,l=Rt(t,["name","classNamePrefix","Component","defaultTheme"]),s=_z(e),u=n||r||"makeStyles";s.options={index:yz(),name:n,meta:u,classNamePrefix:u};var d=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=fE()||i,h=L({},D.default.useContext(Hl),l),b=D.default.useRef(),v=D.default.useRef();Dz(function(){var y={name:n,state:{},stylesCreator:s,stylesOptions:h,theme:g};return wz(y,m),v.current=!1,b.current=y,function(){Sz(y)}},[g,s]),D.default.useEffect(function(){v.current&&Ez(b.current,m),v.current=!0});var _=xz(b.current,m.classes,o);return process.env.NODE_ENV!=="production"&&D.default.useDebugValue(_),_};return d}var Cf=rs.default,Tz={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},kz={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Cz={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Af={};Af[Cf.ForwardRef]=Cz,Af[Cf.Memo]=gE;function mE(e){return Cf.isMemo(e)?gE:Af[e.$$typeof]||Tz}var Az=Object.defineProperty,Iz=Object.getOwnPropertyNames,hE=Object.getOwnPropertySymbols,Oz=Object.getOwnPropertyDescriptor,Mz=Object.getPrototypeOf,bE=Object.prototype;function vE(e,t,n){if(typeof t!="string"){if(bE){var r=Mz(t);r&&r!==bE&&vE(e,r,n)}var o=Iz(t);hE&&(o=o.concat(hE(t)));for(var a=mE(e),i=mE(t),l=0;l<o.length;++l){var s=o[l];if(!kz[s]&&!(n&&n[s])&&!(i&&i[s])&&!(a&&a[s])){var u=Oz(t,s);try{Az(e,s,u)}catch{}}}}return e}var Fz=vE;const Lz=Aa(Fz);var Nz=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(r){var o=n.defaultTheme,a=n.withTheme,i=a===void 0?!1:a,l=n.name,s=Rt(n,["defaultTheme","withTheme","name"]);if(process.env.NODE_ENV!=="production"&&r===void 0)throw new Error(["You are calling withStyles(styles)(Component) with an undefined component.","You may have forgotten to import it."].join(`
2483
+ `));var u=l;if(process.env.NODE_ENV!=="production"&&!l){var d=_a(r);d!==void 0&&(u=d)}var f=Pz(t,L({defaultTheme:o,Component:r,name:l||r.displayName,classNamePrefix:u},s)),m=D.default.forwardRef(function(h,b){h.classes;var v=h.innerRef,_=Rt(h,["classes","innerRef"]),y=f(L({},r.defaultProps,h)),x,S=_;return(typeof l=="string"||i)&&(x=fE()||o,l&&(S=DL({theme:x,name:l,props:_})),i&&!S.theme&&(S.theme=x)),D.default.createElement(r,L({ref:v||b,classes:y},S))});return process.env.NODE_ENV!=="production"&&(m.propTypes={classes:ae.object,innerRef:Iw(ae.oneOfType([ae.func,ae.object]),function(g){return g.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(m.displayName="WithStyles(".concat(_a(r),")")),Lz(m,r),process.env.NODE_ENV!=="production"&&(m.Naked=r,m.options=n,m.useStyles=f),m}};const zz=Nz;var Mn=["xs","sm","md","lg","xl"];function Rz(e){var t=e.values,n=t===void 0?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=r===void 0?"px":r,a=e.step,i=a===void 0?5:a,l=Rt(e,["values","unit","step"]);function s(h){var b=typeof n[h]=="number"?n[h]:h;return"@media (min-width:".concat(b).concat(o,")")}function u(h){var b=Mn.indexOf(h)+1,v=n[Mn[b]];if(b===Mn.length)return s("xs");var _=typeof v=="number"&&b>0?v:h;return"@media (max-width:".concat(_-i/100).concat(o,")")}function d(h,b){var v=Mn.indexOf(b);return v===Mn.length-1?s(h):"@media (min-width:".concat(typeof n[h]=="number"?n[h]:h).concat(o,") and ")+"(max-width:".concat((v!==-1&&typeof n[Mn[v+1]]=="number"?n[Mn[v+1]]:b)-i/100).concat(o,")")}function f(h){return d(h,h)}var m=!1;function g(h){return process.env.NODE_ENV!=="production"&&(m||(m=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
2484
+ `)))),n[h]}return L({keys:Mn,values:n,up:s,down:u,between:d,only:f,width:g},l)}function Kz(e,t,n){var r;return L({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:",`
2485
2485
  paddingLeft: theme.spacing(2),
2486
2486
  paddingRight: theme.spacing(2),
2487
2487
  [theme.breakpoints.up('sm')]: {
@@ -2489,8 +2489,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2489
2489
  paddingRight: theme.spacing(3),
2490
2490
  },
2491
2491
  `].join(`
2492
- `)),L({paddingLeft:t(2),paddingRight:t(2)},a,gr({},e.up("sm"),L({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(r={minHeight:56},gr(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),gr(r,e.up("sm"),{minHeight:64}),r)},n)}var Vz={black:"#000",white:"#fff"};const Yl=Vz;var Bz={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 If=Bz;var jz={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 Of=jz;var Uz={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 Mf=Uz;var Wz={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 Ff=Wz;var Hz={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 Lf=Hz;var Gz={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 Nf=Gz;var Yz={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 zf=Yz;function yE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error("Material-UI: The value provided ".concat(e," is out of range [").concat(t,", ").concat(n,"].")),Math.min(Math.max(t,e),n)}function qz(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&n[0].length===1&&(n=n.map(function(r){return r+r})),n?"rgb".concat(n.length===4?"a":"","(").concat(n.map(function(r,o){return o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3}).join(", "),")"):""}function Xz(e){e=lo(e);var t=e,n=t.values,r=n[0],o=n[1]/100,a=n[2]/100,i=o*Math.min(a,1-a),l=function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(f+r/30)%12;return a-i*Math.max(Math.min(m-3,9-m,1),-1)},s="rgb",u=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(s+="a",u.push(n[3])),Rf({type:s,values:u})}function lo(e){if(e.type)return e;if(e.charAt(0)==="#")return lo(qz(e));var t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla"].indexOf(n)===-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()."):Bl(3,e));var r=e.substring(t+1,e.length-1).split(",");return r=r.map(function(o){return parseFloat(o)}),{type:n,values:r}}function Rf(e){var t=e.type,n=e.values;return t.indexOf("rgb")!==-1?n=n.map(function(r,o){return o<3?parseInt(r,10):r}):t.indexOf("hsl")!==-1&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function $E(e,t){var n=_E(e),r=_E(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function _E(e){e=lo(e);var t=e.type==="hsl"?lo(Xz(e)).values:e.values;return t=t.map(function(n){return n/=255,n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Jz(e,t){if(e=lo(e),t=yE(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1)for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Rf(e)}function Zz(e,t){if(e=lo(e),t=yE(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return Rf(e)}var xE={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:Yl.white,default:If[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}},Kf={text:{primary:Yl.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:If[800],default:"#303030"},action:{active:Yl.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 wE(e,t,n,r){var o=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Zz(e.main,o):t==="dark"&&(e.dark=Jz(e.main,a)))}function Qz(e){var t=e.primary,n=t===void 0?{light:Of[300],main:Of[500],dark:Of[700]}:t,r=e.secondary,o=r===void 0?{light:Mf.A200,main:Mf.A400,dark:Mf.A700}:r,a=e.error,i=a===void 0?{light:Ff[300],main:Ff[500],dark:Ff[700]}:a,l=e.warning,s=l===void 0?{light:Lf[300],main:Lf[500],dark:Lf[700]}:l,u=e.info,d=u===void 0?{light:Nf[300],main:Nf[500],dark:Nf[700]}:u,f=e.success,m=f===void 0?{light:zf[300],main:zf[500],dark:zf[700]}:f,g=e.type,h=g===void 0?"light":g,b=e.contrastThreshold,v=b===void 0?3:b,_=e.tonalOffset,y=_===void 0?.2:_,x=zt(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function S($){var C=$E($,Kf.text.primary)>=v?Kf.text.primary:xE.text.primary;if(process.env.NODE_ENV!=="production"){var z=$E($,C);z<3&&console.error(["Material-UI: The contrast ratio of ".concat(z,":1 for ").concat(C," 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(`
2493
- `))}return C}var T=function(C){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,K=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(C=L({},C),!C.main&&C[z]&&(C.main=C[z]),!C.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(z,"` property."):Bl(4,z));if(typeof C.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(C.main),`\` was provided instead.
2492
+ `)),L({paddingLeft:t(2),paddingRight:t(2)},a,gr({},e.up("sm"),L({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(r={minHeight:56},gr(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),gr(r,e.up("sm"),{minHeight:64}),r)},n)}var Vz={black:"#000",white:"#fff"};const Yl=Vz;var Bz={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 If=Bz;var jz={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 Of=jz;var Uz={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 Mf=Uz;var Wz={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 Ff=Wz;var Hz={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 Lf=Hz;var Gz={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 Nf=Gz;var Yz={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 zf=Yz;function yE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error("Material-UI: The value provided ".concat(e," is out of range [").concat(t,", ").concat(n,"].")),Math.min(Math.max(t,e),n)}function qz(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&n[0].length===1&&(n=n.map(function(r){return r+r})),n?"rgb".concat(n.length===4?"a":"","(").concat(n.map(function(r,o){return o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3}).join(", "),")"):""}function Xz(e){e=lo(e);var t=e,n=t.values,r=n[0],o=n[1]/100,a=n[2]/100,i=o*Math.min(a,1-a),l=function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(f+r/30)%12;return a-i*Math.max(Math.min(m-3,9-m,1),-1)},s="rgb",u=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(s+="a",u.push(n[3])),Rf({type:s,values:u})}function lo(e){if(e.type)return e;if(e.charAt(0)==="#")return lo(qz(e));var t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla"].indexOf(n)===-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()."):Bl(3,e));var r=e.substring(t+1,e.length-1).split(",");return r=r.map(function(o){return parseFloat(o)}),{type:n,values:r}}function Rf(e){var t=e.type,n=e.values;return t.indexOf("rgb")!==-1?n=n.map(function(r,o){return o<3?parseInt(r,10):r}):t.indexOf("hsl")!==-1&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function $E(e,t){var n=_E(e),r=_E(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function _E(e){e=lo(e);var t=e.type==="hsl"?lo(Xz(e)).values:e.values;return t=t.map(function(n){return n/=255,n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Jz(e,t){if(e=lo(e),t=yE(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1)for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Rf(e)}function Zz(e,t){if(e=lo(e),t=yE(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return Rf(e)}var xE={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:Yl.white,default:If[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}},Kf={text:{primary:Yl.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:If[800],default:"#303030"},action:{active:Yl.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 wE(e,t,n,r){var o=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Zz(e.main,o):t==="dark"&&(e.dark=Jz(e.main,a)))}function Qz(e){var t=e.primary,n=t===void 0?{light:Of[300],main:Of[500],dark:Of[700]}:t,r=e.secondary,o=r===void 0?{light:Mf.A200,main:Mf.A400,dark:Mf.A700}:r,a=e.error,i=a===void 0?{light:Ff[300],main:Ff[500],dark:Ff[700]}:a,l=e.warning,s=l===void 0?{light:Lf[300],main:Lf[500],dark:Lf[700]}:l,u=e.info,d=u===void 0?{light:Nf[300],main:Nf[500],dark:Nf[700]}:u,f=e.success,m=f===void 0?{light:zf[300],main:zf[500],dark:zf[700]}:f,g=e.type,h=g===void 0?"light":g,b=e.contrastThreshold,v=b===void 0?3:b,_=e.tonalOffset,y=_===void 0?.2:_,x=Rt(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function S($){var C=$E($,Kf.text.primary)>=v?Kf.text.primary:xE.text.primary;if(process.env.NODE_ENV!=="production"){var N=$E($,C);N<3&&console.error(["Material-UI: The contrast ratio of ".concat(N,":1 for ").concat(C," 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(`
2493
+ `))}return C}var T=function(C){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,K=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(C=L({},C),!C.main&&C[N]&&(C.main=C[N]),!C.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(N,"` property."):Bl(4,N));if(typeof C.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(C.main),`\` was provided instead.
2494
2494
 
2495
2495
  Did you intend to use one of the following approaches?
2496
2496
 
@@ -2503,13 +2503,13 @@ const theme1 = createTheme({ palette: {
2503
2503
  const theme2 = createTheme({ palette: {
2504
2504
  primary: { main: green[500] },
2505
2505
  } });`):Bl(5,JSON.stringify(C.main)));return wE(C,"light",E,y),wE(C,"dark",K,y),C.contrastText||(C.contrastText=S(C.main)),C},P={dark:Kf,light:xE};process.env.NODE_ENV!=="production"&&(P[h]||console.error("Material-UI: The palette type `".concat(h,"` is not supported.")));var M=no(L({common:Yl,type:h,primary:T(n),secondary:T(o,"A400","A200","A700"),error:T(i),warning:T(s),info:T(d),success:T(m),grey:If,contrastThreshold:v,getContrastText:S,augmentColor:T,tonalOffset:y},P[h]),x);return M}function EE(e){return Math.round(e*1e5)/1e5}var SE=!1;function eR(e){return process.env.NODE_ENV!=="production"&&(SE||(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(`
2506
- `)),SE=!0)),EE(e)}var DE={textTransform:"uppercase"},PE='"Roboto", "Helvetica", "Arial", sans-serif';function tR(e,t){var n=typeof t=="function"?t(e):t,r=n.fontFamily,o=r===void 0?PE:r,a=n.fontSize,i=a===void 0?14:a,l=n.fontWeightLight,s=l===void 0?300:l,u=n.fontWeightRegular,d=u===void 0?400:u,f=n.fontWeightMedium,m=f===void 0?500:f,g=n.fontWeightBold,h=g===void 0?700:g,b=n.htmlFontSize,v=b===void 0?16:b,_=n.allVariants,y=n.pxToRem,x=zt(n,["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 S=i/14,T=y||function($){return"".concat($/v*S,"rem")},P=function(C,z,E,K,I){return L({fontFamily:o,fontWeight:C,fontSize:T(z),lineHeight:E},o===PE?{letterSpacing:"".concat(EE(K/z),"em")}:{},I,_)},M={h1:P(s,96,1.167,-1.5),h2:P(s,60,1.2,-.5),h3:P(d,48,1.167,0),h4:P(d,34,1.235,.25),h5:P(d,24,1.334,0),h6:P(m,20,1.6,.15),subtitle1:P(d,16,1.75,.15),subtitle2:P(m,14,1.57,.1),body1:P(d,16,1.5,.15),body2:P(d,14,1.43,.15),button:P(m,14,1.75,.4,DE),caption:P(d,12,1.66,.4),overline:P(d,12,2.66,1,DE)};return no(L({htmlFontSize:v,pxToRem:T,round:eR,fontFamily:o,fontSize:i,fontWeightLight:s,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:h},M),x,{clone:!1})}var nR=.2,rR=.14,oR=.12;function ke(){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(nR,")"),"".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(rR,")"),"".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(oR,")")].join(",")}var aR=["none",ke(0,2,1,-1,0,1,1,0,0,1,3,0),ke(0,3,1,-2,0,2,2,0,0,1,5,0),ke(0,3,3,-2,0,3,4,0,0,1,8,0),ke(0,2,4,-1,0,4,5,0,0,1,10,0),ke(0,3,5,-1,0,5,8,0,0,1,14,0),ke(0,3,5,-1,0,6,10,0,0,1,18,0),ke(0,4,5,-2,0,7,10,1,0,2,16,1),ke(0,5,5,-3,0,8,10,1,0,3,14,2),ke(0,5,6,-3,0,9,12,1,0,3,16,2),ke(0,6,6,-3,0,10,14,1,0,4,18,3),ke(0,6,7,-4,0,11,15,1,0,4,20,3),ke(0,7,8,-4,0,12,17,2,0,5,22,4),ke(0,7,8,-4,0,13,19,2,0,5,24,4),ke(0,7,9,-4,0,14,21,2,0,5,26,4),ke(0,8,9,-5,0,15,22,2,0,6,28,5),ke(0,8,10,-5,0,16,24,2,0,6,30,5),ke(0,8,11,-5,0,17,26,2,0,6,32,5),ke(0,9,11,-5,0,18,28,2,0,7,34,6),ke(0,9,12,-6,0,19,29,2,0,7,36,6),ke(0,10,13,-6,0,20,31,3,0,8,38,7),ke(0,10,13,-6,0,21,33,3,0,8,40,7),ke(0,10,14,-6,0,22,35,3,0,8,42,7),ke(0,11,14,-7,0,23,36,3,0,9,44,8),ke(0,11,15,-7,0,24,38,3,0,9,46,8)];const iR=aR;var lR={borderRadius:4};const sR=lR;var cR=process.env.NODE_ENV!=="production"?ae.oneOfType([ae.number,ae.string,ae.object,ae.array]):{};const uR=cR;var dR=["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 fR(e){var t=e.spacing||8;return typeof t=="number"?function(n){return process.env.NODE_ENV!=="production"&&typeof n!="number"&&console.error("Material-UI: Expected spacing argument to be a number, got ".concat(n,".")),t*n}:Array.isArray(t)?function(n){return process.env.NODE_ENV!=="production"&&n>t.length-1&&console.error(["Material-UI: The value provided (".concat(n,") overflows."),"The supported values are: ".concat(JSON.stringify(t),"."),"".concat(n," > ").concat(t.length-1,", you need to add the missing values.")].join(`
2506
+ `)),SE=!0)),EE(e)}var DE={textTransform:"uppercase"},PE='"Roboto", "Helvetica", "Arial", sans-serif';function tR(e,t){var n=typeof t=="function"?t(e):t,r=n.fontFamily,o=r===void 0?PE:r,a=n.fontSize,i=a===void 0?14:a,l=n.fontWeightLight,s=l===void 0?300:l,u=n.fontWeightRegular,d=u===void 0?400:u,f=n.fontWeightMedium,m=f===void 0?500:f,g=n.fontWeightBold,h=g===void 0?700:g,b=n.htmlFontSize,v=b===void 0?16:b,_=n.allVariants,y=n.pxToRem,x=Rt(n,["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 S=i/14,T=y||function($){return"".concat($/v*S,"rem")},P=function(C,N,E,K,I){return L({fontFamily:o,fontWeight:C,fontSize:T(N),lineHeight:E},o===PE?{letterSpacing:"".concat(EE(K/N),"em")}:{},I,_)},M={h1:P(s,96,1.167,-1.5),h2:P(s,60,1.2,-.5),h3:P(d,48,1.167,0),h4:P(d,34,1.235,.25),h5:P(d,24,1.334,0),h6:P(m,20,1.6,.15),subtitle1:P(d,16,1.75,.15),subtitle2:P(m,14,1.57,.1),body1:P(d,16,1.5,.15),body2:P(d,14,1.43,.15),button:P(m,14,1.75,.4,DE),caption:P(d,12,1.66,.4),overline:P(d,12,2.66,1,DE)};return no(L({htmlFontSize:v,pxToRem:T,round:eR,fontFamily:o,fontSize:i,fontWeightLight:s,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:h},M),x,{clone:!1})}var nR=.2,rR=.14,oR=.12;function ke(){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(nR,")"),"".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(rR,")"),"".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(oR,")")].join(",")}var aR=["none",ke(0,2,1,-1,0,1,1,0,0,1,3,0),ke(0,3,1,-2,0,2,2,0,0,1,5,0),ke(0,3,3,-2,0,3,4,0,0,1,8,0),ke(0,2,4,-1,0,4,5,0,0,1,10,0),ke(0,3,5,-1,0,5,8,0,0,1,14,0),ke(0,3,5,-1,0,6,10,0,0,1,18,0),ke(0,4,5,-2,0,7,10,1,0,2,16,1),ke(0,5,5,-3,0,8,10,1,0,3,14,2),ke(0,5,6,-3,0,9,12,1,0,3,16,2),ke(0,6,6,-3,0,10,14,1,0,4,18,3),ke(0,6,7,-4,0,11,15,1,0,4,20,3),ke(0,7,8,-4,0,12,17,2,0,5,22,4),ke(0,7,8,-4,0,13,19,2,0,5,24,4),ke(0,7,9,-4,0,14,21,2,0,5,26,4),ke(0,8,9,-5,0,15,22,2,0,6,28,5),ke(0,8,10,-5,0,16,24,2,0,6,30,5),ke(0,8,11,-5,0,17,26,2,0,6,32,5),ke(0,9,11,-5,0,18,28,2,0,7,34,6),ke(0,9,12,-6,0,19,29,2,0,7,36,6),ke(0,10,13,-6,0,20,31,3,0,8,38,7),ke(0,10,13,-6,0,21,33,3,0,8,40,7),ke(0,10,14,-6,0,22,35,3,0,8,42,7),ke(0,11,14,-7,0,23,36,3,0,9,44,8),ke(0,11,15,-7,0,24,38,3,0,9,46,8)];const iR=aR;var lR={borderRadius:4};const sR=lR;var cR=process.env.NODE_ENV!=="production"?ae.oneOfType([ae.number,ae.string,ae.object,ae.array]):{};const uR=cR;var dR=["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 fR(e){var t=e.spacing||8;return typeof t=="number"?function(n){return process.env.NODE_ENV!=="production"&&typeof n!="number"&&console.error("Material-UI: Expected spacing argument to be a number, got ".concat(n,".")),t*n}:Array.isArray(t)?function(n){return process.env.NODE_ENV!=="production"&&n>t.length-1&&console.error(["Material-UI: The value provided (".concat(n,") overflows."),"The supported values are: ".concat(JSON.stringify(t),"."),"".concat(n," > ").concat(t.length-1,", you need to add the missing values.")].join(`
2507
2507
  `)),t[n]}: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(`
2508
2508
  `)),function(){})}process.env.NODE_ENV!=="production"&&dR.reduce(function(e,t){return e[t]=uR,e},{});var TE;function pR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=fR({spacing:e}),n=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(l){if(typeof l=="string")return l;var s=t(l);return typeof s=="number"?"".concat(s,"px"):s}).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return process.env.NODE_ENV!=="production"&&((!TE||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(`
2509
- `)),TE=!0),e}}),n.mui=!0,n}var kE={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)"},CE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function AE(e){return"".concat(Math.round(e),"ms")}const gR={easing:kE,duration:CE,create:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["all"],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.duration,o=r===void 0?CE.standard:r,a=n.easing,i=a===void 0?kE.easeInOut:a,l=n.delay,s=l===void 0?0:l,u=zt(n,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var d=function(g){return typeof g=="string"},f=function(g){return!isNaN(parseFloat(g))};!d(t)&&!Array.isArray(t)&&console.error('Material-UI: Argument "props" must be a string or Array.'),!f(o)&&!d(o)&&console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(o,".")),d(i)||console.error('Material-UI: Argument "easing" must be a string.'),!f(s)&&!d(s)&&console.error('Material-UI: Argument "delay" must be a number or a string.'),Object.keys(u).length!==0&&console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(u).join(","),"]."))}return(Array.isArray(t)?t:[t]).map(function(m){return"".concat(m," ").concat(typeof o=="string"?o:AE(o)," ").concat(i," ").concat(typeof s=="string"?s:AE(s))}).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var n=t/36;return Math.round((4+15*Math.pow(n,.25)+n/5)*10)}};var mR={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const hR=mR;function bR(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.breakpoints,n=t===void 0?{}:t,r=e.mixins,o=r===void 0?{}:r,a=e.palette,i=a===void 0?{}:a,l=e.spacing,s=e.typography,u=s===void 0?{}:s,d=zt(e,["breakpoints","mixins","palette","spacing","typography"]),f=Qz(i),m=Rz(n),g=pR(l),h=no({breakpoints:m,direction:"ltr",mixins:Kz(m,g,o),overrides:{},palette:f,props:{},shadows:iR,typography:tR(f,u),spacing:g,shape:sR,transitions:gR,zIndex:hR},d),b=arguments.length,v=new Array(b>1?b-1:0),_=1;_<b;_++)v[_-1]=arguments[_];if(h=v.reduce(function(S,T){return no(S,T)},h),process.env.NODE_ENV!=="production"){var y=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],x=function S(T,P){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,$;for($ in T){var C=T[$];M===1?$.indexOf("Mui")===0&&C&&S(C,$,M+1):y.indexOf($)!==-1&&Object.keys(C).length>0&&(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `".concat(P,"` component increases ")+"the CSS specificity of the `".concat($,"` internal state."),"You can not override it like this: ",JSON.stringify(T,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:gr({},"&$".concat($),C)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
2510
- `)),T[$]={})}};x(h.overrides)}return h}var vR=bR();const yR=vR;function $R(e,t){return zz(e,L({defaultTheme:yR},t))}var _R=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)}}},Vf=D.forwardRef(function(t,n){var r=t.children,o=t.classes,a=t.className,i=t.color,l=i===void 0?"inherit":i,s=t.component,u=s===void 0?"svg":s,d=t.fontSize,f=d===void 0?"medium":d,m=t.htmlColor,g=t.titleAccess,h=t.viewBox,b=h===void 0?"0 0 24 24":h,v=zt(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return D.createElement(u,L({className:lw(o.root,a,l!=="inherit"&&o["color".concat(tf(l))],f!=="default"&&f!=="medium"&&o["fontSize".concat(tf(f))]),focusable:"false",viewBox:b,color:m,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n},v),r,g?D.createElement("title",null,g):null)});process.env.NODE_ENV!=="production"&&(Vf.propTypes={children:ae.node,classes:ae.object,className:ae.string,color:ae.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:ae.elementType,fontSize:Iw(ae.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:ae.string,shapeRendering:ae.string,titleAccess:ae.string,viewBox:ae.string}),Vf.muiName="SvgIcon";const IE=$R(_R,{name:"MuiSvgIcon"})(Vf);function xR(e,t){var n=function(o,a){return D.default.createElement(IE,L({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(n.displayName="".concat(t,"Icon")),n.muiName=IE.muiName,D.default.memo(D.default.forwardRef(n))}function wR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:166,n;function r(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var l=this,s=function(){e.apply(l,a)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=function(){clearTimeout(n)},r}function ER(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(n,r,o,a,i){var l=o||"<<anonymous>>",s=i||r;return typeof n[r]<"u"?new Error("The ".concat(a," `").concat(s,"` of ")+"`".concat(l,"` is deprecated. ").concat(t)):null}}function SR(e,t){return D.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function OE(e){return e&&e.ownerDocument||document}function DR(e){var t=OE(e);return t.defaultView||window}function PR(e){if(process.env.NODE_ENV==="production")return function(){return null};var t=function(r){return function(o,a,i,l,s){var u=s||a;return typeof o[a]<"u"&&!o[r]?new Error("The prop `".concat(u,"` of ")+"`".concat(e,"` must be used on `").concat(r,"`.")):null}};return t}function Bf(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function TR(e,t,n,r,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 kR(e){var t=e.controlled,n=e.default,r=e.name,o=e.state,a=o===void 0?"value":o,i=D.useRef(t!==void 0),l=i.current,s=D.useState(n),u=s[0],d=s[1],f=l?t:u;if(process.env.NODE_ENV!=="production"){D.useEffect(function(){l!==(t!==void 0)&&console.error(["Material-UI: A component is changing the ".concat(l?"":"un","controlled ").concat(a," state of ").concat(r," to be ").concat(l?"un":"","controlled."),"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled ".concat(r," ")+"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(`
2509
+ `)),TE=!0),e}}),n.mui=!0,n}var kE={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)"},CE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function AE(e){return"".concat(Math.round(e),"ms")}const gR={easing:kE,duration:CE,create:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["all"],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.duration,o=r===void 0?CE.standard:r,a=n.easing,i=a===void 0?kE.easeInOut:a,l=n.delay,s=l===void 0?0:l,u=Rt(n,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var d=function(g){return typeof g=="string"},f=function(g){return!isNaN(parseFloat(g))};!d(t)&&!Array.isArray(t)&&console.error('Material-UI: Argument "props" must be a string or Array.'),!f(o)&&!d(o)&&console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(o,".")),d(i)||console.error('Material-UI: Argument "easing" must be a string.'),!f(s)&&!d(s)&&console.error('Material-UI: Argument "delay" must be a number or a string.'),Object.keys(u).length!==0&&console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(u).join(","),"]."))}return(Array.isArray(t)?t:[t]).map(function(m){return"".concat(m," ").concat(typeof o=="string"?o:AE(o)," ").concat(i," ").concat(typeof s=="string"?s:AE(s))}).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var n=t/36;return Math.round((4+15*Math.pow(n,.25)+n/5)*10)}};var mR={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const hR=mR;function bR(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.breakpoints,n=t===void 0?{}:t,r=e.mixins,o=r===void 0?{}:r,a=e.palette,i=a===void 0?{}:a,l=e.spacing,s=e.typography,u=s===void 0?{}:s,d=Rt(e,["breakpoints","mixins","palette","spacing","typography"]),f=Qz(i),m=Rz(n),g=pR(l),h=no({breakpoints:m,direction:"ltr",mixins:Kz(m,g,o),overrides:{},palette:f,props:{},shadows:iR,typography:tR(f,u),spacing:g,shape:sR,transitions:gR,zIndex:hR},d),b=arguments.length,v=new Array(b>1?b-1:0),_=1;_<b;_++)v[_-1]=arguments[_];if(h=v.reduce(function(S,T){return no(S,T)},h),process.env.NODE_ENV!=="production"){var y=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],x=function S(T,P){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,$;for($ in T){var C=T[$];M===1?$.indexOf("Mui")===0&&C&&S(C,$,M+1):y.indexOf($)!==-1&&Object.keys(C).length>0&&(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `".concat(P,"` component increases ")+"the CSS specificity of the `".concat($,"` internal state."),"You can not override it like this: ",JSON.stringify(T,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:gr({},"&$".concat($),C)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
2510
+ `)),T[$]={})}};x(h.overrides)}return h}var vR=bR();const yR=vR;function $R(e,t){return zz(e,L({defaultTheme:yR},t))}var _R=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)}}},Vf=D.forwardRef(function(t,n){var r=t.children,o=t.classes,a=t.className,i=t.color,l=i===void 0?"inherit":i,s=t.component,u=s===void 0?"svg":s,d=t.fontSize,f=d===void 0?"medium":d,m=t.htmlColor,g=t.titleAccess,h=t.viewBox,b=h===void 0?"0 0 24 24":h,v=Rt(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return D.createElement(u,L({className:lw(o.root,a,l!=="inherit"&&o["color".concat(tf(l))],f!=="default"&&f!=="medium"&&o["fontSize".concat(tf(f))]),focusable:"false",viewBox:b,color:m,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n},v),r,g?D.createElement("title",null,g):null)});process.env.NODE_ENV!=="production"&&(Vf.propTypes={children:ae.node,classes:ae.object,className:ae.string,color:ae.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:ae.elementType,fontSize:Iw(ae.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:ae.string,shapeRendering:ae.string,titleAccess:ae.string,viewBox:ae.string}),Vf.muiName="SvgIcon";const IE=$R(_R,{name:"MuiSvgIcon"})(Vf);function xR(e,t){var n=function(o,a){return D.default.createElement(IE,L({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(n.displayName="".concat(t,"Icon")),n.muiName=IE.muiName,D.default.memo(D.default.forwardRef(n))}function wR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:166,n;function r(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var l=this,s=function(){e.apply(l,a)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=function(){clearTimeout(n)},r}function ER(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(n,r,o,a,i){var l=o||"<<anonymous>>",s=i||r;return typeof n[r]<"u"?new Error("The ".concat(a," `").concat(s,"` of ")+"`".concat(l,"` is deprecated. ").concat(t)):null}}function SR(e,t){return D.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function OE(e){return e&&e.ownerDocument||document}function DR(e){var t=OE(e);return t.defaultView||window}function PR(e){if(process.env.NODE_ENV==="production")return function(){return null};var t=function(r){return function(o,a,i,l,s){var u=s||a;return typeof o[a]<"u"&&!o[r]?new Error("The prop `".concat(u,"` of ")+"`".concat(e,"` must be used on `").concat(r,"`.")):null}};return t}function Bf(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function TR(e,t,n,r,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 kR(e){var t=e.controlled,n=e.default,r=e.name,o=e.state,a=o===void 0?"value":o,i=D.useRef(t!==void 0),l=i.current,s=D.useState(n),u=s[0],d=s[1],f=l?t:u;if(process.env.NODE_ENV!=="production"){D.useEffect(function(){l!==(t!==void 0)&&console.error(["Material-UI: A component is changing the ".concat(l?"":"un","controlled ").concat(a," state of ").concat(r," to be ").concat(l?"un":"","controlled."),"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled ".concat(r," ")+"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(`
2511
2511
  `))},[t]);var m=D.useRef(n),g=m.current;D.useEffect(function(){!l&&g!==n&&console.error(["Material-UI: A component is changing the default ".concat(a," state of an uncontrolled ").concat(r," after being initialized. ")+"To suppress this warning opt to use a controlled ".concat(r,".")].join(`
2512
- `))},[JSON.stringify(n)])}var h=D.useCallback(function(b){l||d(b)},[]);return[f,h]}var CR=typeof window<"u"?D.useLayoutEffect:D.useEffect;function AR(e){var t=D.useRef(e);return CR(function(){t.current=e}),D.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function IR(e,t){return D.useMemo(function(){return e==null&&t==null?null:function(n){Bf(e,n),Bf(t,n)}},[e,t])}function OR(e){var t=D.useState(e),n=t[0],r=t[1],o=e||n;return D.useEffect(function(){n==null&&r("mui-".concat(Math.round(Math.random()*1e5)))},[n]),o}var ql=!0,jf=!1,ME=null,MR={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 FR(e){var t=e.type,n=e.tagName;return!!(n==="INPUT"&&MR[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function LR(e){e.metaKey||e.altKey||e.ctrlKey||(ql=!0)}function Uf(){ql=!1}function NR(){this.visibilityState==="hidden"&&jf&&(ql=!0)}function zR(e){e.addEventListener("keydown",LR,!0),e.addEventListener("mousedown",Uf,!0),e.addEventListener("pointerdown",Uf,!0),e.addEventListener("touchstart",Uf,!0),e.addEventListener("visibilitychange",NR,!0)}function FE(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return ql||FR(t)}function RR(){jf=!0,window.clearTimeout(ME),ME=window.setTimeout(function(){jf=!1},100)}function KR(){var e=D.useCallback(function(t){var n=Kt.findDOMNode(t);n!=null&&zR(n.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&D.useDebugValue(FE),{isFocusVisible:FE,onBlurVisible:RR,ref:e}}const VR=c5(Object.freeze(Object.defineProperty({__proto__:null,capitalize:tf,createChainedFunction:_L,createSvgIcon:xR,debounce:wR,deprecatedPropType:ER,isMuiElement:SR,ownerDocument:OE,ownerWindow:DR,requirePropFactory:PR,setRef:Bf,unstable_useId:OR,unsupportedProp:TR,useControlled:kR,useEventCallback:AR,useForkRef:IR,useIsFocusVisible:KR},Symbol.toStringTag,{value:"Module"})));var LE;function NE(){return LE||(LE=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=VR}(Qd)),Qd}var BR=Tw,jR=Aw;Object.defineProperty(Zd,"__esModule",{value:!0});var zE=Zd.default=void 0,UR=jR(D.default),WR=BR(NE()),HR=(0,WR.default)(UR.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");zE=Zd.default=HR;var Wf={},GR=Tw,YR=Aw;Object.defineProperty(Wf,"__esModule",{value:!0});var RE=Wf.default=void 0,qR=YR(D.default),XR=GR(NE()),JR=(0,XR.default)(qR.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");RE=Wf.default=JR;function ZR(e){return e&&e.__esModule?e.default:e}var KE={},VE={};VE={"Clear search":"مسح البحث"};var BE={};BE={"Clear search":"Изчистване на търсене"};var jE={};jE={"Clear search":"Vymazat hledání"};var UE={};UE={"Clear search":"Ryd søgning"};var WE={};WE={"Clear search":"Suche zurücksetzen"};var HE={};HE={"Clear search":"Απαλοιφή αναζήτησης"};var GE={};GE={"Clear search":"Clear search"};var YE={};YE={"Clear search":"Borrar búsqueda"};var qE={};qE={"Clear search":"Tühjenda otsing"};var XE={};XE={"Clear search":"Tyhjennä haku"};var JE={};JE={"Clear search":"Effacer la recherche"};var ZE={};ZE={"Clear search":"נקה חיפוש"};var QE={};QE={"Clear search":"Obriši pretragu"};var eS={};eS={"Clear search":"Keresés törlése"};var tS={};tS={"Clear search":"Cancella ricerca"};var nS={};nS={"Clear search":"検索をクリア"};var rS={};rS={"Clear search":"검색 지우기"};var oS={};oS={"Clear search":"Išvalyti iešką"};var aS={};aS={"Clear search":"Notīrīt meklēšanu"};var iS={};iS={"Clear search":"Tøm søk"};var lS={};lS={"Clear search":"Zoekactie wissen"};var sS={};sS={"Clear search":"Wyczyść zawartość wyszukiwania"};var cS={};cS={"Clear search":"Limpar pesquisa"};var uS={};uS={"Clear search":"Limpar pesquisa"};var dS={};dS={"Clear search":"Ştergeţi căutarea"};var fS={};fS={"Clear search":"Очистить поиск"};var pS={};pS={"Clear search":"Vymazať vyhľadávanie"};var gS={};gS={"Clear search":"Počisti iskanje"};var mS={};mS={"Clear search":"Obriši pretragu"};var hS={};hS={"Clear search":"Rensa sökning"};var bS={};bS={"Clear search":"Aramayı temizle"};var vS={};vS={"Clear search":"Очистити пошук"};var yS={};yS={"Clear search":"清除搜索"};var $S={};$S={"Clear search":"清除搜尋條件"},KE={"ar-AE":VE,"bg-BG":BE,"cs-CZ":jE,"da-DK":UE,"de-DE":WE,"el-GR":HE,"en-US":GE,"es-ES":YE,"et-EE":qE,"fi-FI":XE,"fr-FR":JE,"he-IL":ZE,"hr-HR":QE,"hu-HU":eS,"it-IT":tS,"ja-JP":nS,"ko-KR":rS,"lt-LT":oS,"lv-LV":aS,"nb-NO":iS,"nl-NL":lS,"pl-PL":sS,"pt-BR":cS,"pt-PT":uS,"ro-RO":dS,"ru-RU":fS,"sk-SK":pS,"sl-SI":gS,"sr-SP":mS,"sv-SE":hS,"tr-TR":bS,"uk-UA":vS,"zh-CN":yS,"zh-TW":$S};function QR(e,t,n){let r=$t(ZR(KE)),{isDisabled:o,isReadOnly:a,onSubmit:i=()=>{},onClear:l,type:s="search"}=e,u=v=>{const _=v.key;(_==="Enter"||_==="Escape")&&v.preventDefault(),!(o||a)&&(_==="Enter"&&i(t.value),_==="Escape"&&(t.setValue(""),l&&l()))},d=()=>{t.setValue(""),l&&l()},f=()=>{n.current.focus()},{labelProps:m,inputProps:g,descriptionProps:h,errorMessageProps:b}=Xr({...e,value:t.value,onChange:t.setValue,onKeyDown:Gt(u,e.onKeyDown),type:s},n);return{labelProps:m,inputProps:{...g,defaultValue:void 0},clearButtonProps:{"aria-label":r.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||a,onPress:d,onPressStart:f},descriptionProps:h,errorMessageProps:b}}function eK(e){let[t,n]=Mt(_S(e.value),_S(e.defaultValue)||"",e.onChange);return{value:t,setValue:n}}function _S(e){if(e!=null)return e.toString()}const tK=F.default.div`
2512
+ `))},[JSON.stringify(n)])}var h=D.useCallback(function(b){l||d(b)},[]);return[f,h]}var CR=typeof window<"u"?D.useLayoutEffect:D.useEffect;function AR(e){var t=D.useRef(e);return CR(function(){t.current=e}),D.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function IR(e,t){return D.useMemo(function(){return e==null&&t==null?null:function(n){Bf(e,n),Bf(t,n)}},[e,t])}function OR(e){var t=D.useState(e),n=t[0],r=t[1],o=e||n;return D.useEffect(function(){n==null&&r("mui-".concat(Math.round(Math.random()*1e5)))},[n]),o}var ql=!0,jf=!1,ME=null,MR={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 FR(e){var t=e.type,n=e.tagName;return!!(n==="INPUT"&&MR[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function LR(e){e.metaKey||e.altKey||e.ctrlKey||(ql=!0)}function Uf(){ql=!1}function NR(){this.visibilityState==="hidden"&&jf&&(ql=!0)}function zR(e){e.addEventListener("keydown",LR,!0),e.addEventListener("mousedown",Uf,!0),e.addEventListener("pointerdown",Uf,!0),e.addEventListener("touchstart",Uf,!0),e.addEventListener("visibilitychange",NR,!0)}function FE(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return ql||FR(t)}function RR(){jf=!0,window.clearTimeout(ME),ME=window.setTimeout(function(){jf=!1},100)}function KR(){var e=D.useCallback(function(t){var n=Vt.findDOMNode(t);n!=null&&zR(n.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&D.useDebugValue(FE),{isFocusVisible:FE,onBlurVisible:RR,ref:e}}const VR=c5(Object.freeze(Object.defineProperty({__proto__:null,capitalize:tf,createChainedFunction:_L,createSvgIcon:xR,debounce:wR,deprecatedPropType:ER,isMuiElement:SR,ownerDocument:OE,ownerWindow:DR,requirePropFactory:PR,setRef:Bf,unstable_useId:OR,unsupportedProp:TR,useControlled:kR,useEventCallback:AR,useForkRef:IR,useIsFocusVisible:KR},Symbol.toStringTag,{value:"Module"})));var LE;function NE(){return LE||(LE=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=VR}(Qd)),Qd}var BR=Tw,jR=Aw;Object.defineProperty(Zd,"__esModule",{value:!0});var zE=Zd.default=void 0,UR=jR(D.default),WR=BR(NE()),HR=(0,WR.default)(UR.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");zE=Zd.default=HR;var Wf={},GR=Tw,YR=Aw;Object.defineProperty(Wf,"__esModule",{value:!0});var RE=Wf.default=void 0,qR=YR(D.default),XR=GR(NE()),JR=(0,XR.default)(qR.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");RE=Wf.default=JR;function ZR(e){return e&&e.__esModule?e.default:e}var KE={},VE={};VE={"Clear search":"مسح البحث"};var BE={};BE={"Clear search":"Изчистване на търсене"};var jE={};jE={"Clear search":"Vymazat hledání"};var UE={};UE={"Clear search":"Ryd søgning"};var WE={};WE={"Clear search":"Suche zurücksetzen"};var HE={};HE={"Clear search":"Απαλοιφή αναζήτησης"};var GE={};GE={"Clear search":"Clear search"};var YE={};YE={"Clear search":"Borrar búsqueda"};var qE={};qE={"Clear search":"Tühjenda otsing"};var XE={};XE={"Clear search":"Tyhjennä haku"};var JE={};JE={"Clear search":"Effacer la recherche"};var ZE={};ZE={"Clear search":"נקה חיפוש"};var QE={};QE={"Clear search":"Obriši pretragu"};var eS={};eS={"Clear search":"Keresés törlése"};var tS={};tS={"Clear search":"Cancella ricerca"};var nS={};nS={"Clear search":"検索をクリア"};var rS={};rS={"Clear search":"검색 지우기"};var oS={};oS={"Clear search":"Išvalyti iešką"};var aS={};aS={"Clear search":"Notīrīt meklēšanu"};var iS={};iS={"Clear search":"Tøm søk"};var lS={};lS={"Clear search":"Zoekactie wissen"};var sS={};sS={"Clear search":"Wyczyść zawartość wyszukiwania"};var cS={};cS={"Clear search":"Limpar pesquisa"};var uS={};uS={"Clear search":"Limpar pesquisa"};var dS={};dS={"Clear search":"Ştergeţi căutarea"};var fS={};fS={"Clear search":"Очистить поиск"};var pS={};pS={"Clear search":"Vymazať vyhľadávanie"};var gS={};gS={"Clear search":"Počisti iskanje"};var mS={};mS={"Clear search":"Obriši pretragu"};var hS={};hS={"Clear search":"Rensa sökning"};var bS={};bS={"Clear search":"Aramayı temizle"};var vS={};vS={"Clear search":"Очистити пошук"};var yS={};yS={"Clear search":"清除搜索"};var $S={};$S={"Clear search":"清除搜尋條件"},KE={"ar-AE":VE,"bg-BG":BE,"cs-CZ":jE,"da-DK":UE,"de-DE":WE,"el-GR":HE,"en-US":GE,"es-ES":YE,"et-EE":qE,"fi-FI":XE,"fr-FR":JE,"he-IL":ZE,"hr-HR":QE,"hu-HU":eS,"it-IT":tS,"ja-JP":nS,"ko-KR":rS,"lt-LT":oS,"lv-LV":aS,"nb-NO":iS,"nl-NL":lS,"pl-PL":sS,"pt-BR":cS,"pt-PT":uS,"ro-RO":dS,"ru-RU":fS,"sk-SK":pS,"sl-SI":gS,"sr-SP":mS,"sv-SE":hS,"tr-TR":bS,"uk-UA":vS,"zh-CN":yS,"zh-TW":$S};function QR(e,t,n){let r=$t(ZR(KE)),{isDisabled:o,isReadOnly:a,onSubmit:i=()=>{},onClear:l,type:s="search"}=e,u=v=>{const _=v.key;(_==="Enter"||_==="Escape")&&v.preventDefault(),!(o||a)&&(_==="Enter"&&i(t.value),_==="Escape"&&(t.setValue(""),l&&l()))},d=()=>{t.setValue(""),l&&l()},f=()=>{n.current.focus()},{labelProps:m,inputProps:g,descriptionProps:h,errorMessageProps:b}=Xr({...e,value:t.value,onChange:t.setValue,onKeyDown:Yt(u,e.onKeyDown),type:s},n);return{labelProps:m,inputProps:{...g,defaultValue:void 0},clearButtonProps:{"aria-label":r.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||a,onPress:d,onPressStart:f},descriptionProps:h,errorMessageProps:b}}function eK(e){let[t,n]=Ft(_S(e.value),_S(e.defaultValue)||"",e.onChange);return{value:t,setValue:n}}function _S(e){if(e!=null)return e.toString()}const tK=F.default.div`
2513
2513
  --border-color: ${p.color_deprecated_outline_secondary_enabled};
2514
2514
 
2515
2515
  border-radius: ${p.border_radius_400};
@@ -2556,7 +2556,7 @@ const theme2 = createTheme({ palette: {
2556
2556
  line-height: 1;
2557
2557
  font-size: ${p.font_size_deprecated_50};
2558
2558
  }
2559
- `,rK=F.default(Nt)`
2559
+ `,rK=F.default(zt)`
2560
2560
  padding-left: 32px;
2561
2561
  width: 100%;
2562
2562
 
@@ -2572,7 +2572,7 @@ const theme2 = createTheme({ palette: {
2572
2572
  &::-webkit-search-results-decoration {
2573
2573
  -webkit-appearance: none;
2574
2574
  }
2575
- `,xS=c.forwardRef((e,t)=>{const{label:n,boldLabel:r=!0,hideLabel:o,size:a="small",placeholder:i="Search",height:l=El.small,disabled:s,readOnly:u,required:d,onChange:f,onClear:m,onSubmit:g,value:h,hideIcon:b,...v}=e,_={label:n,placeholder:i,onClear:m,onSubmit:g,onChange:f,value:h,isDisabled:s,isReadOnly:u,isRequired:d},y=eK(_),x=_n(t),{labelProps:S,inputProps:T,clearButtonProps:P}=QR(_,y,x);return ee(Et,{children:[w(Re,{...S,srOnly:o,mb:o?void 0:p.spacing_100,bold:r,children:n}),ee(tK,{children:[b?null:w(RE,{style:{pointerEvents:"none"}}),w(rK,{height:l,...T,ref:x,placeholder:i,paddingSize:a,...v}),y.value!==""&&w(nK,{...P,children:w(zE,{})})]})]})});xS.displayName="Search";const oK=F.default.div`
2575
+ `,xS=c.forwardRef((e,t)=>{const{label:n,boldLabel:r=!0,hideLabel:o,size:a="small",placeholder:i="Search",height:l=El.small,disabled:s,readOnly:u,required:d,onChange:f,onClear:m,onSubmit:g,value:h,hideIcon:b,...v}=e,_={label:n,placeholder:i,onClear:m,onSubmit:g,onChange:f,value:h,isDisabled:s,isReadOnly:u,isRequired:d},y=eK(_),x=xn(t),{labelProps:S,inputProps:T,clearButtonProps:P}=QR(_,y,x);return Q(Et,{children:[w(Re,{...S,srOnly:o,mb:o?void 0:p.spacing_100,bold:r,children:n}),Q(tK,{children:[b?null:w(RE,{style:{pointerEvents:"none"}}),w(rK,{height:l,...T,ref:x,placeholder:i,paddingSize:a,...v}),y.value!==""&&w(nK,{...P,children:w(zE,{})})]})]})});xS.displayName="Search";const oK=F.default.div`
2576
2576
  display: flex;
2577
2577
  flex-direction: column;
2578
2578
  position: relative;
@@ -2584,7 +2584,7 @@ const theme2 = createTheme({ palette: {
2584
2584
  box-sizing: border-box;
2585
2585
  appearance: none;
2586
2586
  border: 1px solid;
2587
- border-color: ${e=>e.isInvalid?"#ef4444":e.isFocused?p.color_gray_6:p.color_gray_84};
2587
+ border-color: ${e=>e.isInvalid?p.color_deprecated_outline_danger_enabled:e.isFocused?p.color_gray_6:p.color_gray_84};
2588
2588
  border-radius: ${p.border_radius_400};
2589
2589
  padding: 6px 32px 6px 8px; /* Add right padding for clear button */
2590
2590
  outline: none;
@@ -2664,7 +2664,7 @@ const theme2 = createTheme({ palette: {
2664
2664
  &:hover {
2665
2665
  color: ${p.color_gray_6};
2666
2666
  }
2667
- `;function fK(e){const{label:t,tooltipContent:n,placeholder:r,items:o,isLoading:a=!1,onSearch:i,onSelect:l,getItemKey:s,getItemLabel:u,renderItem:d,selectedItem:f,errorMessage:m,boldLabel:g=!0,inputValue:h,onInputChange:b,usePortal:v=!1,..._}=e,y=h!==void 0,[x,S]=c.useState(!1),[T,P]=c.useState(()=>!y&&f?u(f):""),[M,$]=c.useState(-1),[C,z]=c.useState({top:0,left:0,width:0}),E=y?h:T,K=y?X=>b==null?void 0:b(X):P,I=c.useRef(null),k=c.useRef(null),j=c.useRef(null),{labelProps:O,inputProps:Z}=Xr({..._,inputElementType:"input",value:E,onChange:X=>{K(X),i(X),S(!0),$(-1),X===""&&l(null)}},I),{isFocusVisible:V,focusProps:q}=jo();D.useEffect(()=>{const X=H=>{var le,fe;const J=H.target,ie=(le=j.current)==null?void 0:le.contains(J),me=(fe=k.current)==null?void 0:fe.contains(J);!ie&&!me&&S(!1)};return document.addEventListener("mousedown",X),()=>{document.removeEventListener("mousedown",X)}},[]);const B=X=>{if(!x&&X.key!=="Escape"&&X.key!=="Tab"){S(!0);return}switch(X.key){case"Tab":x&&(X.shiftKey?M<=0?(S(!1),$(-1)):(X.preventDefault(),$(H=>H-1)):(X.preventDefault(),$(H=>H<o.length-1?H+1:0)));break;case"ArrowDown":X.preventDefault(),$(H=>H<o.length-1?H+1:H);break;case"ArrowUp":X.preventDefault(),$(H=>H>0?H-1:-1);break;case"Enter":if(X.preventDefault(),M>=0&&M<o.length){const H=o[M];H!==void 0&&U(H)}break;case"Escape":X.preventDefault(),S(!1),$(-1);break}},U=X=>{K(u(X)),S(!1),$(-1),l(X)},W=()=>{var X;K(""),i(""),S(!1),l(null),(X=I.current)==null||X.focus()},R=()=>{(E||o.length>0)&&S(!0)},G=c.useRef(null);D.useLayoutEffect(()=>{if(!y){const X=f?s(f):null;if(X!==G.current)if(G.current=X,f){const H=u(f);P(H)}else P("")}},[f,u,s,y]),D.useEffect(()=>{if(v&&x&&j.current){const X=()=>{var J;const H=(J=j.current)==null?void 0:J.getBoundingClientRect();H&&z({top:H.bottom+4,left:H.left,width:H.width})};return X(),window.addEventListener("scroll",X,!0),window.addEventListener("resize",X),()=>{window.removeEventListener("scroll",X,!0),window.removeEventListener("resize",X)}}},[v,x]);const te=w(lK,{ref:k,isOpen:x,usePortal:v,style:v?{top:`${C.top}px`,left:`${C.left}px`,width:`${C.width}px`}:void 0,children:a?w(cK,{children:"Loading..."}):o.length===0?w(uK,{children:E?"No results found":"Start typing to search"}):o.map((X,H)=>w(sK,{isHighlighted:H===M,onClick:()=>U(X),onMouseDown:J=>J.preventDefault(),onMouseEnter:()=>$(H),type:"button",children:d?d(X):u(X)},s(X)))}),ne=v&&x?te:null;return ee(oK,{ref:j,children:[t&&ee(Re,{...O,mb:p.spacing_150,bold:g,children:[t,n&&w(Xe,{children:n})]}),ee(aK,{children:[w(iK,{...Z,...q,ref:I,isFocused:V,isInvalid:!!m,placeholder:a&&!E?"Loading...":r,onKeyDown:B,onFocus:R}),E&&w(dK,{type:"button",onClick:W,onMouseDown:X=>X.preventDefault(),tabIndex:-1,"aria-label":"Clear",children:"×"})]}),v?w(ai,{children:ne}):te]})}const wS="Switch",[pK,iB]=Ke(wS),[gK,mK]=pK(wS),hK=c.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:a,required:i,disabled:l,value:s="on",onCheckedChange:u,...d}=e,[f,m]=c.useState(null),g=$e(t,y=>m(y)),h=c.useRef(!1),b=f?!!f.closest("form"):!0,[v=!1,_]=Ue({prop:o,defaultProp:a,onChange:u});return c.createElement(gK,{scope:n,checked:v,disabled:l},c.createElement(ce.button,L({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":ES(v),"data-disabled":l?"":void 0,disabled:l,value:s},d,{ref:g,onClick:oe(e.onClick,y=>{_(x=>!x),b&&(h.current=y.isPropagationStopped(),h.current||y.stopPropagation())})})),b&&c.createElement(yK,{control:f,bubbles:!h.current,name:r,value:s,checked:v,required:i,disabled:l,style:{transform:"translateX(-100%)"}}))}),bK="SwitchThumb",vK=c.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=mK(bK,n);return c.createElement(ce.span,L({"data-state":ES(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),yK=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,a=c.useRef(null),i=vw(n),l=Qu(t);return c.useEffect(()=>{const s=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==n&&f){const m=new Event("click",{bubbles:r});f.call(s,n),s.dispatchEvent(m)}},[i,n,r]),c.createElement("input",L({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:a,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function ES(e){return e?"checked":"unchecked"}const $K=hK,_K=vK;function xK(e){const t=Ft(),n=e??t;return{...zl(),disabled:n}}const wK=F.default($K)`
2667
+ `;function fK(e){const{label:t,tooltipContent:n,placeholder:r,items:o,isLoading:a=!1,onSearch:i,onSelect:l,getItemKey:s,getItemLabel:u,renderItem:d,selectedItem:f,errorMessage:m,boldLabel:g=!0,inputValue:h,onInputChange:b,usePortal:v=!1,isValid:_=!0,required:y=!1,...x}=e;console.log("SearchableSelect received isValid:",_,"errorMessage:",m);const S=h!==void 0,[T,P]=c.useState(!1),[M,$]=c.useState(()=>!S&&f?u(f):""),[C,N]=c.useState(-1),[E,K]=c.useState({top:0,left:0,width:0}),I=S?h:M,k=S?W=>b==null?void 0:b(W):$,j=c.useRef(null),O=c.useRef(null),J=c.useRef(null),{labelProps:V,inputProps:q}=Xr({...x,inputElementType:"input",value:I,onChange:W=>{k(W),i(W),P(!0),N(-1),W===""&&l(null)}},j),{isFocusVisible:B,focusProps:U}=jo();D.useEffect(()=>{const W=ee=>{var _e,Tt;const fe=ee.target,le=(_e=J.current)==null?void 0:_e.contains(fe),ge=(Tt=O.current)==null?void 0:Tt.contains(fe);!le&&!ge&&P(!1)};return document.addEventListener("mousedown",W),()=>{document.removeEventListener("mousedown",W)}},[]);const H=W=>{if(!T&&W.key!=="Escape"&&W.key!=="Tab"){P(!0);return}switch(W.key){case"Tab":T&&(W.shiftKey?C<=0?(P(!1),N(-1)):(W.preventDefault(),N(ee=>ee-1)):(W.preventDefault(),N(ee=>ee<o.length-1?ee+1:0)));break;case"ArrowDown":W.preventDefault(),N(ee=>ee<o.length-1?ee+1:ee);break;case"ArrowUp":W.preventDefault(),N(ee=>ee>0?ee-1:-1);break;case"Enter":if(W.preventDefault(),C>=0&&C<o.length){const ee=o[C];ee!==void 0&&R(ee)}break;case"Escape":W.preventDefault(),P(!1),N(-1);break}},R=W=>{k(u(W)),P(!1),N(-1),l(W)},G=()=>{var W;k(""),i(""),P(!1),l(null),(W=j.current)==null||W.focus()},ne=()=>{(I||o.length>0)&&P(!0)},te=c.useRef(null);D.useLayoutEffect(()=>{if(!S){const W=f?s(f):null;if(W!==te.current)if(te.current=W,f){const ee=u(f);$(ee)}else $("")}},[f,u,s,S]),D.useEffect(()=>{if(v&&T&&J.current){const W=()=>{var fe;const ee=(fe=J.current)==null?void 0:fe.getBoundingClientRect();ee&&K({top:ee.bottom+4,left:ee.left,width:ee.width})};return W(),window.addEventListener("scroll",W,!0),window.addEventListener("resize",W),()=>{window.removeEventListener("scroll",W,!0),window.removeEventListener("resize",W)}}},[v,T]);const ie=w(lK,{ref:O,isOpen:T,usePortal:v,style:v?{top:`${E.top}px`,left:`${E.left}px`,width:`${E.width}px`}:void 0,children:a?w(cK,{children:"Loading..."}):o.length===0?w(uK,{children:I?"No results found":"Start typing to search"}):o.map((W,ee)=>w(sK,{isHighlighted:ee===C,onClick:()=>R(W),onMouseDown:fe=>fe.preventDefault(),onMouseEnter:()=>N(ee),type:"button",children:d?d(W):u(W)},s(W)))}),X=v&&T?ie:null;return Q(oK,{ref:J,children:[t&&Q(Re,{...V,mb:p.spacing_150,bold:g,children:[t,n&&w(Xe,{children:n})]}),Q(aK,{children:[w(iK,{...q,...U,ref:j,isFocused:B,isInvalid:!_||!!m,placeholder:a&&!I?"Loading...":r,onKeyDown:H,onFocus:ne,required:y}),I&&w(dK,{type:"button",onClick:G,onMouseDown:W=>W.preventDefault(),tabIndex:-1,"aria-label":"Clear",children:"×"})]}),v?w(ai,{children:X}):ie]})}const wS="Switch",[pK,iB]=Ke(wS),[gK,mK]=pK(wS),hK=c.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:a,required:i,disabled:l,value:s="on",onCheckedChange:u,...d}=e,[f,m]=c.useState(null),g=$e(t,y=>m(y)),h=c.useRef(!1),b=f?!!f.closest("form"):!0,[v=!1,_]=Ue({prop:o,defaultProp:a,onChange:u});return c.createElement(gK,{scope:n,checked:v,disabled:l},c.createElement(ce.button,L({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":ES(v),"data-disabled":l?"":void 0,disabled:l,value:s},d,{ref:g,onClick:oe(e.onClick,y=>{_(x=>!x),b&&(h.current=y.isPropagationStopped(),h.current||y.stopPropagation())})})),b&&c.createElement(yK,{control:f,bubbles:!h.current,name:r,value:s,checked:v,required:i,disabled:l,style:{transform:"translateX(-100%)"}}))}),bK="SwitchThumb",vK=c.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=mK(bK,n);return c.createElement(ce.span,L({"data-state":ES(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),yK=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,a=c.useRef(null),i=vw(n),l=Qu(t);return c.useEffect(()=>{const s=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==n&&f){const m=new Event("click",{bubbles:r});f.call(s,n),s.dispatchEvent(m)}},[i,n,r]),c.createElement("input",L({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:a,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function ES(e){return e?"checked":"unchecked"}const $K=hK,_K=vK;function xK(e){const t=Lt(),n=e??t;return{...zl(),disabled:n}}const wK=F.default($K)`
2668
2668
  all: unset;
2669
2669
  width: 40px;
2670
2670
  height: 24px;
@@ -2724,7 +2724,7 @@ const theme2 = createTheme({ palette: {
2724
2724
  &[data-state~='checked'] {
2725
2725
  transform: translateX(19px);
2726
2726
  }
2727
- `,SS=c.forwardRef((e,t)=>{const{disabled:n,...r}=e,o=xK(n);return w(wK,{...r,...o,ref:t,children:w(EK,{})})});SS.displayName="Switch";const DS="Tabs",[SK,lB]=Ke(DS,[wn]),PS=wn(),[DK,Hf]=SK(DS),PK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:l,activationMode:s="automatic",...u}=e,d=cr(l),[f,m]=Ue({prop:r,onChange:o,defaultProp:a});return c.createElement(DK,{scope:n,baseId:nt(),value:f,onValueChange:m,orientation:i,dir:d,activationMode:s},c.createElement(ce.div,L({dir:d,"data-orientation":i},u,{ref:t})))}),TK="TabsList",kK=c.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,a=Hf(TK,n),i=PS(n);return c.createElement(Ai,L({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:r}),c.createElement(ce.div,L({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),CK="TabsTrigger",AK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=e,i=Hf(CK,n),l=PS(n),s=TS(i.baseId,r),u=kS(i.baseId,r),d=r===i.value;return c.createElement(Ii,L({asChild:!0},l,{focusable:!o,active:d}),c.createElement(ce.button,L({type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:s},a,{ref:t,onMouseDown:oe(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?i.onValueChange(r):f.preventDefault()}),onKeyDown:oe(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&i.onValueChange(r)}),onFocus:oe(e.onFocus,()=>{const f=i.activationMode!=="manual";!d&&!o&&f&&i.onValueChange(r)})})))}),IK="TabsContent",OK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...i}=e,l=Hf(IK,n),s=TS(l.baseId,r),u=kS(l.baseId,r),d=r===l.value,f=c.useRef(d);return c.useEffect(()=>{const m=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(m)},[]),c.createElement(We,{present:o||d},({present:m})=>c.createElement(ce.div,L({"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":s,hidden:!m,id:u,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),m&&a))});function TS(e,t){return`${e}-trigger-${t}`}function kS(e,t){return`${e}-content-${t}`}const CS=PK,AS=kK,IS=AK,OS=OK,MK=F.default(CS)`
2727
+ `,SS=c.forwardRef((e,t)=>{const{disabled:n,...r}=e,o=xK(n);return w(wK,{...r,...o,ref:t,children:w(EK,{})})});SS.displayName="Switch";const DS="Tabs",[SK,lB]=Ke(DS,[En]),PS=En(),[DK,Hf]=SK(DS),PK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:l,activationMode:s="automatic",...u}=e,d=cr(l),[f,m]=Ue({prop:r,onChange:o,defaultProp:a});return c.createElement(DK,{scope:n,baseId:nt(),value:f,onValueChange:m,orientation:i,dir:d,activationMode:s},c.createElement(ce.div,L({dir:d,"data-orientation":i},u,{ref:t})))}),TK="TabsList",kK=c.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,a=Hf(TK,n),i=PS(n);return c.createElement(Ai,L({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:r}),c.createElement(ce.div,L({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),CK="TabsTrigger",AK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=e,i=Hf(CK,n),l=PS(n),s=TS(i.baseId,r),u=kS(i.baseId,r),d=r===i.value;return c.createElement(Ii,L({asChild:!0},l,{focusable:!o,active:d}),c.createElement(ce.button,L({type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:s},a,{ref:t,onMouseDown:oe(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?i.onValueChange(r):f.preventDefault()}),onKeyDown:oe(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&i.onValueChange(r)}),onFocus:oe(e.onFocus,()=>{const f=i.activationMode!=="manual";!d&&!o&&f&&i.onValueChange(r)})})))}),IK="TabsContent",OK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...i}=e,l=Hf(IK,n),s=TS(l.baseId,r),u=kS(l.baseId,r),d=r===l.value,f=c.useRef(d);return c.useEffect(()=>{const m=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(m)},[]),c.createElement(We,{present:o||d},({present:m})=>c.createElement(ce.div,L({"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":s,hidden:!m,id:u,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),m&&a))});function TS(e,t){return`${e}-trigger-${t}`}function kS(e,t){return`${e}-content-${t}`}const CS=PK,AS=kK,IS=AK,OS=OK,MK=F.default(CS)`
2728
2728
  position: relative;
2729
2729
  display: flex;
2730
2730
  flex-direction: column;
@@ -2863,7 +2863,7 @@ const theme2 = createTheme({ palette: {
2863
2863
  - horizontal
2864
2864
  - vertical
2865
2865
 
2866
- Defaulting to \`${Gf}\`.`}function KS(e){return RK.includes(e)}const VK=RS,VS="ToastProvider",[Yf,BK,jK]=Oa("Toast"),[BS,sB]=Ke("Toast",[jK]),[UK,Jl]=BS(VS),jS=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[l,s]=c.useState(null),[u,d]=c.useState(0),f=c.useRef(!1),m=c.useRef(!1);return c.createElement(Yf.Provider,{scope:t},c.createElement(UK,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:a,toastCount:u,viewport:l,onViewportChange:s,onToastAdd:c.useCallback(()=>d(g=>g+1),[]),onToastRemove:c.useCallback(()=>d(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:m},i))};jS.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${VS}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const WK="ToastViewport",HK=["F8"],qf="toast.viewportPause",Xf="toast.viewportResume",GK=c.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=HK,label:o="Notifications ({hotkey})",...a}=e,i=Jl(WK,n),l=BK(n),s=c.useRef(null),u=c.useRef(null),d=c.useRef(null),f=c.useRef(null),m=$e(t,f,i.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=i.toastCount>0;c.useEffect(()=>{const v=_=>{var y;r.every(S=>_[S]||_.code===S)&&((y=f.current)===null||y===void 0||y.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[r]),c.useEffect(()=>{const v=s.current,_=f.current;if(h&&v&&_){const y=()=>{if(!i.isClosePausedRef.current){const P=new CustomEvent(qf);_.dispatchEvent(P),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const P=new CustomEvent(Xf);_.dispatchEvent(P),i.isClosePausedRef.current=!1}},S=P=>{!v.contains(P.relatedTarget)&&x()},T=()=>{v.contains(document.activeElement)||x()};return v.addEventListener("focusin",y),v.addEventListener("focusout",S),v.addEventListener("pointermove",y),v.addEventListener("pointerleave",T),window.addEventListener("blur",y),window.addEventListener("focus",x),()=>{v.removeEventListener("focusin",y),v.removeEventListener("focusout",S),v.removeEventListener("pointermove",y),v.removeEventListener("pointerleave",T),window.removeEventListener("blur",y),window.removeEventListener("focus",x)}}},[h,i.isClosePausedRef]);const b=c.useCallback(({tabbingDirection:v})=>{const y=l().map(x=>{const S=x.ref.current,T=[S,...sV(S)];return v==="forwards"?T:T.reverse()});return(v==="forwards"?y.reverse():y).flat()},[l]);return c.useEffect(()=>{const v=f.current;if(v){const _=y=>{const x=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!x){const $=document.activeElement,C=y.shiftKey;if(y.target===v&&C){var T;(T=u.current)===null||T===void 0||T.focus();return}const K=b({tabbingDirection:C?"backwards":"forwards"}),I=K.findIndex(k=>k===$);if(Jf(K.slice(I+1)))y.preventDefault();else{var P,M;C?(P=u.current)===null||P===void 0||P.focus():(M=d.current)===null||M===void 0||M.focus()}}};return v.addEventListener("keydown",_),()=>v.removeEventListener("keydown",_)}},[l,b]),c.createElement(oP,{ref:s,role:"region","aria-label":o.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:h?void 0:"none"}},h&&c.createElement(US,{ref:u,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"forwards"});Jf(v)}}),c.createElement(Yf.Slot,{scope:n},c.createElement(ce.ol,L({tabIndex:-1},a,{ref:m}))),h&&c.createElement(US,{ref:d,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"backwards"});Jf(v)}}))}),YK="ToastFocusProxy",US=c.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,a=Jl(YK,n);return c.createElement(cs,L({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:i=>{var l;const s=i.relatedTarget;!((l=a.viewport)!==null&&l!==void 0&&l.contains(s))&&r()}}))}),Zl="Toast",qK="toast.swipeStart",XK="toast.swipeMove",JK="toast.swipeCancel",ZK="toast.swipeEnd",QK=c.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:a,...i}=e,[l=!0,s]=Ue({prop:r,defaultProp:o,onChange:a});return c.createElement(We,{present:n||l},c.createElement(WS,L({open:l},i,{ref:t,onClose:()=>s(!1),onPause:je(e.onPause),onResume:je(e.onResume),onSwipeStart:oe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:oe(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:oe(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:oe(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),s(!1)})})))}),[eV,tV]=BS(Zl,{onClose(){}}),WS=c.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:l,onPause:s,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:m,onSwipeEnd:g,...h}=e,b=Jl(Zl,n),[v,_]=c.useState(null),y=$e(t,k=>_(k)),x=c.useRef(null),S=c.useRef(null),T=o||b.duration,P=c.useRef(0),M=c.useRef(T),$=c.useRef(0),{onToastAdd:C,onToastRemove:z}=b,E=je(()=>{var k;(v==null?void 0:v.contains(document.activeElement))&&((k=b.viewport)===null||k===void 0||k.focus()),i()}),K=c.useCallback(k=>{!k||k===1/0||(window.clearTimeout($.current),P.current=new Date().getTime(),$.current=window.setTimeout(E,k))},[E]);c.useEffect(()=>{const k=b.viewport;if(k){const j=()=>{K(M.current),u==null||u()},O=()=>{const Z=new Date().getTime()-P.current;M.current=M.current-Z,window.clearTimeout($.current),s==null||s()};return k.addEventListener(qf,O),k.addEventListener(Xf,j),()=>{k.removeEventListener(qf,O),k.removeEventListener(Xf,j)}}},[b.viewport,T,s,u,K]),c.useEffect(()=>{a&&!b.isClosePausedRef.current&&K(T)},[a,T,b.isClosePausedRef,K]),c.useEffect(()=>(C(),()=>z()),[C,z]);const I=c.useMemo(()=>v?qS(v):null,[v]);return b.viewport?c.createElement(c.Fragment,null,I&&c.createElement(nV,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0},I),c.createElement(eV,{scope:n,onClose:E},mo.createPortal(c.createElement(Yf.ItemSlot,{scope:n},c.createElement(rP,{asChild:!0,onEscapeKeyDown:oe(l,()=>{b.isFocusedToastEscapeKeyDownRef.current||E(),b.isFocusedToastEscapeKeyDownRef.current=!1})},c.createElement(ce.li,L({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":b.swipeDirection},h,{ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:oe(e.onKeyDown,k=>{k.key==="Escape"&&(l==null||l(k.nativeEvent),k.nativeEvent.defaultPrevented||(b.isFocusedToastEscapeKeyDownRef.current=!0,E()))}),onPointerDown:oe(e.onPointerDown,k=>{k.button===0&&(x.current={x:k.clientX,y:k.clientY})}),onPointerMove:oe(e.onPointerMove,k=>{if(!x.current)return;const j=k.clientX-x.current.x,O=k.clientY-x.current.y,Z=!!S.current,V=["left","right"].includes(b.swipeDirection),q=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,B=V?q(0,j):0,U=V?0:q(0,O),W=k.pointerType==="touch"?10:2,R={x:B,y:U},G={originalEvent:k,delta:R};Z?(S.current=R,Ql(XK,f,G,{discrete:!1})):XS(R,b.swipeDirection,W)?(S.current=R,Ql(qK,d,G,{discrete:!1}),k.target.setPointerCapture(k.pointerId)):(Math.abs(j)>W||Math.abs(O)>W)&&(x.current=null)}),onPointerUp:oe(e.onPointerUp,k=>{const j=S.current,O=k.target;if(O.hasPointerCapture(k.pointerId)&&O.releasePointerCapture(k.pointerId),S.current=null,x.current=null,j){const Z=k.currentTarget,V={originalEvent:k,delta:j};XS(j,b.swipeDirection,b.swipeThreshold)?Ql(ZK,g,V,{discrete:!0}):Ql(JK,m,V,{discrete:!0}),Z.addEventListener("click",q=>q.preventDefault(),{once:!0})}})})))),b.viewport))):null});WS.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${Zl}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const nV=e=>{const{__scopeToast:t,children:n,...r}=e,o=Jl(Zl,t),[a,i]=c.useState(!1),[l,s]=c.useState(!1);return iV(()=>i(!0)),c.useEffect(()=>{const u=window.setTimeout(()=>s(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:c.createElement(So,{asChild:!0},c.createElement(cs,r,a&&c.createElement(c.Fragment,null,o.label," ",n)))},rV=c.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.createElement(ce.div,L({},r,{ref:t}))}),oV="ToastAction",HS=c.forwardRef((e,t)=>{const{altText:n,...r}=e;return n?c.createElement(YS,{altText:n,asChild:!0},c.createElement(GS,L({},r,{ref:t}))):null});HS.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${oV}\``)}};const aV="ToastClose",GS=c.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=tV(aV,n);return c.createElement(YS,{asChild:!0},c.createElement(ce.button,L({type:"button"},r,{ref:t,onClick:oe(e.onClick,o.onClose)})))}),YS=c.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return c.createElement(ce.div,L({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0},o,{ref:t}))});function qS(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),lV(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!o)if(a){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...qS(r))}}),t}function Ql(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ss(o,a):o.dispatchEvent(a)}const XS=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),a=r>o;return t==="left"||t==="right"?a&&r>n:!a&&o>n};function iV(e=()=>{}){const t=je(e);pn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function lV(e){return e.nodeType===e.ELEMENT_NODE}function sV(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Jf(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}const cV=jS,uV=GK,dV=QK,fV=rV,pV=HS,gV=GS,Zf=25,mV=se.keyframes`
2866
+ Defaulting to \`${Gf}\`.`}function KS(e){return RK.includes(e)}const VK=RS,VS="ToastProvider",[Yf,BK,jK]=Oa("Toast"),[BS,sB]=Ke("Toast",[jK]),[UK,Jl]=BS(VS),jS=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[l,s]=c.useState(null),[u,d]=c.useState(0),f=c.useRef(!1),m=c.useRef(!1);return c.createElement(Yf.Provider,{scope:t},c.createElement(UK,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:a,toastCount:u,viewport:l,onViewportChange:s,onToastAdd:c.useCallback(()=>d(g=>g+1),[]),onToastRemove:c.useCallback(()=>d(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:m},i))};jS.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${VS}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const WK="ToastViewport",HK=["F8"],qf="toast.viewportPause",Xf="toast.viewportResume",GK=c.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=HK,label:o="Notifications ({hotkey})",...a}=e,i=Jl(WK,n),l=BK(n),s=c.useRef(null),u=c.useRef(null),d=c.useRef(null),f=c.useRef(null),m=$e(t,f,i.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=i.toastCount>0;c.useEffect(()=>{const v=_=>{var y;r.every(S=>_[S]||_.code===S)&&((y=f.current)===null||y===void 0||y.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[r]),c.useEffect(()=>{const v=s.current,_=f.current;if(h&&v&&_){const y=()=>{if(!i.isClosePausedRef.current){const P=new CustomEvent(qf);_.dispatchEvent(P),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const P=new CustomEvent(Xf);_.dispatchEvent(P),i.isClosePausedRef.current=!1}},S=P=>{!v.contains(P.relatedTarget)&&x()},T=()=>{v.contains(document.activeElement)||x()};return v.addEventListener("focusin",y),v.addEventListener("focusout",S),v.addEventListener("pointermove",y),v.addEventListener("pointerleave",T),window.addEventListener("blur",y),window.addEventListener("focus",x),()=>{v.removeEventListener("focusin",y),v.removeEventListener("focusout",S),v.removeEventListener("pointermove",y),v.removeEventListener("pointerleave",T),window.removeEventListener("blur",y),window.removeEventListener("focus",x)}}},[h,i.isClosePausedRef]);const b=c.useCallback(({tabbingDirection:v})=>{const y=l().map(x=>{const S=x.ref.current,T=[S,...sV(S)];return v==="forwards"?T:T.reverse()});return(v==="forwards"?y.reverse():y).flat()},[l]);return c.useEffect(()=>{const v=f.current;if(v){const _=y=>{const x=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!x){const $=document.activeElement,C=y.shiftKey;if(y.target===v&&C){var T;(T=u.current)===null||T===void 0||T.focus();return}const K=b({tabbingDirection:C?"backwards":"forwards"}),I=K.findIndex(k=>k===$);if(Jf(K.slice(I+1)))y.preventDefault();else{var P,M;C?(P=u.current)===null||P===void 0||P.focus():(M=d.current)===null||M===void 0||M.focus()}}};return v.addEventListener("keydown",_),()=>v.removeEventListener("keydown",_)}},[l,b]),c.createElement(oP,{ref:s,role:"region","aria-label":o.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:h?void 0:"none"}},h&&c.createElement(US,{ref:u,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"forwards"});Jf(v)}}),c.createElement(Yf.Slot,{scope:n},c.createElement(ce.ol,L({tabIndex:-1},a,{ref:m}))),h&&c.createElement(US,{ref:d,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"backwards"});Jf(v)}}))}),YK="ToastFocusProxy",US=c.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,a=Jl(YK,n);return c.createElement(cs,L({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:i=>{var l;const s=i.relatedTarget;!((l=a.viewport)!==null&&l!==void 0&&l.contains(s))&&r()}}))}),Zl="Toast",qK="toast.swipeStart",XK="toast.swipeMove",JK="toast.swipeCancel",ZK="toast.swipeEnd",QK=c.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:a,...i}=e,[l=!0,s]=Ue({prop:r,defaultProp:o,onChange:a});return c.createElement(We,{present:n||l},c.createElement(WS,L({open:l},i,{ref:t,onClose:()=>s(!1),onPause:je(e.onPause),onResume:je(e.onResume),onSwipeStart:oe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:oe(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:oe(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:oe(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),s(!1)})})))}),[eV,tV]=BS(Zl,{onClose(){}}),WS=c.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:l,onPause:s,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:m,onSwipeEnd:g,...h}=e,b=Jl(Zl,n),[v,_]=c.useState(null),y=$e(t,k=>_(k)),x=c.useRef(null),S=c.useRef(null),T=o||b.duration,P=c.useRef(0),M=c.useRef(T),$=c.useRef(0),{onToastAdd:C,onToastRemove:N}=b,E=je(()=>{var k;(v==null?void 0:v.contains(document.activeElement))&&((k=b.viewport)===null||k===void 0||k.focus()),i()}),K=c.useCallback(k=>{!k||k===1/0||(window.clearTimeout($.current),P.current=new Date().getTime(),$.current=window.setTimeout(E,k))},[E]);c.useEffect(()=>{const k=b.viewport;if(k){const j=()=>{K(M.current),u==null||u()},O=()=>{const J=new Date().getTime()-P.current;M.current=M.current-J,window.clearTimeout($.current),s==null||s()};return k.addEventListener(qf,O),k.addEventListener(Xf,j),()=>{k.removeEventListener(qf,O),k.removeEventListener(Xf,j)}}},[b.viewport,T,s,u,K]),c.useEffect(()=>{a&&!b.isClosePausedRef.current&&K(T)},[a,T,b.isClosePausedRef,K]),c.useEffect(()=>(C(),()=>N()),[C,N]);const I=c.useMemo(()=>v?qS(v):null,[v]);return b.viewport?c.createElement(c.Fragment,null,I&&c.createElement(nV,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0},I),c.createElement(eV,{scope:n,onClose:E},mo.createPortal(c.createElement(Yf.ItemSlot,{scope:n},c.createElement(rP,{asChild:!0,onEscapeKeyDown:oe(l,()=>{b.isFocusedToastEscapeKeyDownRef.current||E(),b.isFocusedToastEscapeKeyDownRef.current=!1})},c.createElement(ce.li,L({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":b.swipeDirection},h,{ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:oe(e.onKeyDown,k=>{k.key==="Escape"&&(l==null||l(k.nativeEvent),k.nativeEvent.defaultPrevented||(b.isFocusedToastEscapeKeyDownRef.current=!0,E()))}),onPointerDown:oe(e.onPointerDown,k=>{k.button===0&&(x.current={x:k.clientX,y:k.clientY})}),onPointerMove:oe(e.onPointerMove,k=>{if(!x.current)return;const j=k.clientX-x.current.x,O=k.clientY-x.current.y,J=!!S.current,V=["left","right"].includes(b.swipeDirection),q=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,B=V?q(0,j):0,U=V?0:q(0,O),H=k.pointerType==="touch"?10:2,R={x:B,y:U},G={originalEvent:k,delta:R};J?(S.current=R,Ql(XK,f,G,{discrete:!1})):XS(R,b.swipeDirection,H)?(S.current=R,Ql(qK,d,G,{discrete:!1}),k.target.setPointerCapture(k.pointerId)):(Math.abs(j)>H||Math.abs(O)>H)&&(x.current=null)}),onPointerUp:oe(e.onPointerUp,k=>{const j=S.current,O=k.target;if(O.hasPointerCapture(k.pointerId)&&O.releasePointerCapture(k.pointerId),S.current=null,x.current=null,j){const J=k.currentTarget,V={originalEvent:k,delta:j};XS(j,b.swipeDirection,b.swipeThreshold)?Ql(ZK,g,V,{discrete:!0}):Ql(JK,m,V,{discrete:!0}),J.addEventListener("click",q=>q.preventDefault(),{once:!0})}})})))),b.viewport))):null});WS.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${Zl}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const nV=e=>{const{__scopeToast:t,children:n,...r}=e,o=Jl(Zl,t),[a,i]=c.useState(!1),[l,s]=c.useState(!1);return iV(()=>i(!0)),c.useEffect(()=>{const u=window.setTimeout(()=>s(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:c.createElement(So,{asChild:!0},c.createElement(cs,r,a&&c.createElement(c.Fragment,null,o.label," ",n)))},rV=c.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.createElement(ce.div,L({},r,{ref:t}))}),oV="ToastAction",HS=c.forwardRef((e,t)=>{const{altText:n,...r}=e;return n?c.createElement(YS,{altText:n,asChild:!0},c.createElement(GS,L({},r,{ref:t}))):null});HS.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${oV}\``)}};const aV="ToastClose",GS=c.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=tV(aV,n);return c.createElement(YS,{asChild:!0},c.createElement(ce.button,L({type:"button"},r,{ref:t,onClick:oe(e.onClick,o.onClose)})))}),YS=c.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return c.createElement(ce.div,L({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0},o,{ref:t}))});function qS(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),lV(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!o)if(a){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...qS(r))}}),t}function Ql(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ss(o,a):o.dispatchEvent(a)}const XS=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),a=r>o;return t==="left"||t==="right"?a&&r>n:!a&&o>n};function iV(e=()=>{}){const t=je(e);gn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function lV(e){return e.nodeType===e.ELEMENT_NODE}function sV(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Jf(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}const cV=jS,uV=GK,dV=QK,fV=rV,pV=HS,gV=GS,Zf=25,mV=se.keyframes`
2867
2867
  0% {
2868
2868
  opacity: 1
2869
2869
  }
@@ -2980,5 +2980,5 @@ Defaulting to \`${Gf}\`.`}function KS(e){return RK.includes(e)}const VK=RS,VS="T
2980
2980
  &[data-swipe='move'] {
2981
2981
  transform: translateX(var(--radix-toast-swipe-move-x));
2982
2982
  }
2983
- `;function SV({children:e,...t}){return w(cV,{...t,children:e})}function Qf({title:e,children:t,variant:n="primary",onDismiss:r,...o}){const a=$V[n],i=_V[n],l=xV[n];return ee(EV,{style:{"--color-background-notification":a,"--color-notification":i},variant:n,...o,children:[n==="negative"?w(we.Warning,{height:18}):null,w(yV,{children:e}),w(ZS,{style:{"--color-separator":l}}),t,w(JS,{onClick:r,children:w(vo,{label:"Dismiss notification",children:w(we.Close,{width:18,height:18})})})]})}Qf.Action=vV,Qf.Close=JS,N.AccessibleIcon=vo,N.Accordion=XD,N.AlertDialog=h7,N.AlertDialogAction=v7,N.AlertDialogCancel=y7,N.AlertDialogCancelButton=_7,N.AlertDialogContent=f7,N.AlertDialogDescription=g7,N.AlertDialogFooter=m7,N.AlertDialogTitle=p7,N.AlertDialogTrigger=b7,N.Animator=ga,N.Badge=E7,N.Banner=Uc,N.Box=pe,N.Button=kr,N.ButtonBase=yt,N.ButtonGroup=Sh,N.ButtonMenu=w0,N.ButtonV2=Wn,N.Calendar=ju,N.CalendarCell=iv,N.CalendarGrid=al,N.CalendarHeader=sv,N.Checkbox=ld,N.ChevronDown=Tl,N.ComboBox=$d,N.DateInput=vF,N.Dialog=l7,N.DialogClose=c7,N.DialogCloseButton=i7,N.DialogContent=n7,N.DialogDescription=o7,N.DialogFooter=wm,N.DialogTitle=r7,N.DialogTrigger=s7,N.Direction=dw,N.Divider=U$,N.Drawer=X$,N.DropdownMenu=fO,N.DropdownMenuArrow=_O,N.DropdownMenuCheckboxItem=yO,N.DropdownMenuContent=h_,N.DropdownMenuGroup=gO,N.DropdownMenuItem=bO,N.DropdownMenuItemIndicator=$O,N.DropdownMenuLabel=xO,N.DropdownMenuPortal=pO,N.DropdownMenuRadioGroup=hO,N.DropdownMenuRadioItem=vO,N.DropdownMenuSeparator=wO,N.DropdownMenuSub=EO,N.DropdownMenuSubContent=DO,N.DropdownMenuSubTrigger=SO,N.DropdownMenuTrigger=mO,N.EditButtonRight=Jx,N.Fieldset=cC,N.FileUpload=h1,N.Flex=ht,N.FormControl=aF,N.GoogleInput=YM,N.IconButton=oa,N.IconTooltip=Xe,N.InlineEdit=Zx,N.InputBase=Nt,N.InputDescription=R$,N.InputDescriptionWrapper=z$,N.InputErrorMessage=St,N.InputErrorMessageWrapper=K$,N.InputWrapper=Et,N.Item=Xd,N.Label=Re,N.LabeledText=$F,N.Modal=X3,N.MultiSelect=uw,N.MultiSelectComponent=Gd,N.MultiSelectItem=qr,N.MultiSelectSection=cd,N.NavigationMenu=FF,N.NavigationMenuPortal=LF,N.NumberFormControl=qx,N.NumberInput=Kd,N.Page=mw,N.PageContent=zF,N.PageGrid=NF,N.PageHeader=hw,N.PageHeaderContent=VF,N.Pagination=a2,N.PaginatorButton=ia,N.PaginatorNumber=ll,N.Panel=qF,N.Placeholder=Wd,N.Popover=sM,N.PopoverClose=Ld,N.PopoverCloseCross=lM,N.PopoverContent=m1,N.PopoverTrigger=cM,N.Radio=mL,N.RadioGroup=gL,N.RadioGroupIndicator=Dw,N.RadioGroupRadio=Sw,N.RangeCalendar=n2,N.Search=xS,N.SearchableSelect=fK,N.SectionHeader=Ap,N.SectionItem=Ip,N.SectionTitle=Cp,N.Separator=Jd,N.SingleSelect=cw,N.SingleSelectItem=qr,N.SingleSelectSection=cd,N.Skeleton=Dt,N.SkeletonBody=xd,N.SkeletonBox=wd,N.SkeletonFooter=W$,N.SkeletonHeader=_d,N.Stack=Pi,N.StickyPageHeader=KF,N.StyledButtonBox=jc,N.StyledButtonGroup=Eh,N.StyledFieldSet=gh,N.StyledPanelBox=bw,N.Switch=SS,N.TabList=so,N.Tabs=Xl,N.Text=tt,N.TextAreaFormControl=Yx,N.TextFormControl=Gx,N.TextInput=Vd,N.Time=Jn,N.TimeField=hF,N.TimeInput=bF,N.TimeWrapper=mF,N.Title=Bn,N.TitleBase=yn,N.Toast=Qf,N.ToastProvider=SV,N.ToastSeparator=ZS,N.ToastViewport=wV,N.Tooltip=Xv,N.TooltipContent=Jv,N.TooltipProvider=qv,N.TooltipTrigger=id,N.TriggerButton=Hd,N.Wrapper=j$,N.boxSystem=Ut,N.buttonPadding=Zc,N.buttonV2System=Ti,N.defaultFormInput=N$,N.defaultTypography=Dl,N.dialogCloseButtonStyles=$c,N.dialogContentStyles=bc,N.dialogDescriptionStyles=yc,N.dialogTitleStyles=vc,N.dialogWidths=ii,N.getNextMonth=aw,N.getPreviousMonth=ow,N.getSelectedName=D1,N.getTruncate=xo,N.handleFormWithNumbers=oF,N.inputHeight=El,N.inputPadding=L$,N.overlayStyles=hc,N.pageMinMaxWidth=gw,N.placeholderStyles=Sl,N.useDrawer=PA,N.useFieldProps=zl,N.useFieldset=Ft,N.useModal=J3,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
2983
+ `;function SV({children:e,...t}){return w(cV,{...t,children:e})}function Qf({title:e,children:t,variant:n="primary",onDismiss:r,...o}){const a=$V[n],i=_V[n],l=xV[n];return Q(EV,{style:{"--color-background-notification":a,"--color-notification":i},variant:n,...o,children:[n==="negative"?w(Ee.Warning,{height:18}):null,w(yV,{children:e}),w(ZS,{style:{"--color-separator":l}}),t,w(JS,{onClick:r,children:w(vo,{label:"Dismiss notification",children:w(Ee.Close,{width:18,height:18})})})]})}Qf.Action=vV,Qf.Close=JS,z.AccessibleIcon=vo,z.Accordion=XD,z.AlertDialog=h7,z.AlertDialogAction=v7,z.AlertDialogCancel=y7,z.AlertDialogCancelButton=_7,z.AlertDialogContent=f7,z.AlertDialogDescription=g7,z.AlertDialogFooter=m7,z.AlertDialogTitle=p7,z.AlertDialogTrigger=b7,z.Animator=ga,z.Badge=E7,z.Banner=Uc,z.Box=pe,z.Button=kr,z.ButtonBase=yt,z.ButtonGroup=Sh,z.ButtonMenu=w0,z.ButtonV2=Wn,z.Calendar=ju,z.CalendarCell=iv,z.CalendarGrid=al,z.CalendarHeader=sv,z.Checkbox=ld,z.ChevronDown=Tl,z.ComboBox=$d,z.DateInput=vF,z.Dialog=l7,z.DialogClose=c7,z.DialogCloseButton=i7,z.DialogContent=n7,z.DialogDescription=o7,z.DialogFooter=wm,z.DialogTitle=r7,z.DialogTrigger=s7,z.Direction=dw,z.Divider=U$,z.Drawer=X$,z.DropdownMenu=fO,z.DropdownMenuArrow=_O,z.DropdownMenuCheckboxItem=yO,z.DropdownMenuContent=h_,z.DropdownMenuGroup=gO,z.DropdownMenuItem=bO,z.DropdownMenuItemIndicator=$O,z.DropdownMenuLabel=xO,z.DropdownMenuPortal=pO,z.DropdownMenuRadioGroup=hO,z.DropdownMenuRadioItem=vO,z.DropdownMenuSeparator=wO,z.DropdownMenuSub=EO,z.DropdownMenuSubContent=DO,z.DropdownMenuSubTrigger=SO,z.DropdownMenuTrigger=mO,z.EditButtonRight=Jx,z.Fieldset=cC,z.FileUpload=h1,z.Flex=ht,z.FormControl=aF,z.GoogleInput=YM,z.IconButton=oa,z.IconTooltip=Xe,z.InlineEdit=Zx,z.InputBase=zt,z.InputDescription=R$,z.InputDescriptionWrapper=z$,z.InputErrorMessage=St,z.InputErrorMessageWrapper=K$,z.InputWrapper=Et,z.Item=Xd,z.Label=Re,z.LabeledText=$F,z.Modal=X3,z.MultiSelect=uw,z.MultiSelectComponent=Gd,z.MultiSelectItem=qr,z.MultiSelectSection=cd,z.NavigationMenu=FF,z.NavigationMenuPortal=LF,z.NumberFormControl=qx,z.NumberInput=Kd,z.Page=mw,z.PageContent=zF,z.PageGrid=NF,z.PageHeader=hw,z.PageHeaderContent=VF,z.Pagination=a2,z.PaginatorButton=ia,z.PaginatorNumber=ll,z.Panel=qF,z.Placeholder=Wd,z.Popover=sM,z.PopoverClose=Ld,z.PopoverCloseCross=lM,z.PopoverContent=m1,z.PopoverTrigger=cM,z.Radio=mL,z.RadioGroup=gL,z.RadioGroupIndicator=Dw,z.RadioGroupRadio=Sw,z.RangeCalendar=n2,z.Search=xS,z.SearchableSelect=fK,z.SectionHeader=Ap,z.SectionItem=Ip,z.SectionTitle=Cp,z.Separator=Jd,z.SingleSelect=cw,z.SingleSelectItem=qr,z.SingleSelectSection=cd,z.Skeleton=Dt,z.SkeletonBody=xd,z.SkeletonBox=wd,z.SkeletonFooter=W$,z.SkeletonHeader=_d,z.Stack=Pi,z.StickyPageHeader=KF,z.StyledButtonBox=jc,z.StyledButtonGroup=Eh,z.StyledFieldSet=gh,z.StyledPanelBox=bw,z.Switch=SS,z.TabList=so,z.Tabs=Xl,z.Text=tt,z.TextAreaFormControl=Yx,z.TextFormControl=Gx,z.TextInput=Vd,z.Time=Jn,z.TimeField=hF,z.TimeInput=bF,z.TimeWrapper=mF,z.Title=Bn,z.TitleBase=$n,z.Toast=Qf,z.ToastProvider=SV,z.ToastSeparator=ZS,z.ToastViewport=wV,z.Tooltip=Xv,z.TooltipContent=Jv,z.TooltipProvider=qv,z.TooltipTrigger=id,z.TriggerButton=Hd,z.Wrapper=j$,z.boxSystem=Wt,z.buttonPadding=Zc,z.buttonV2System=Ti,z.defaultFormInput=N$,z.defaultTypography=Dl,z.dialogCloseButtonStyles=$c,z.dialogContentStyles=bc,z.dialogDescriptionStyles=yc,z.dialogTitleStyles=vc,z.dialogWidths=ii,z.getNextMonth=aw,z.getPreviousMonth=ow,z.getSelectedName=D1,z.getTruncate=xo,z.handleFormWithNumbers=oF,z.inputHeight=El,z.inputPadding=L$,z.overlayStyles=hc,z.pageMinMaxWidth=gw,z.placeholderStyles=Sl,z.useDrawer=PA,z.useFieldProps=zl,z.useFieldset=Lt,z.useModal=J3,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
2984
2984
  //# sourceMappingURL=trc-components.umd.js.map