@theroutingcompany/components 0.0.140 → 0.0.141

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(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,ho,ue,is,we){var o5;"use strict";const sp=e=>e&&e.__esModule?e:{default:e};function cp(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=cp(c),Ht=cp(ho),F=sp(ue),ls=sp(is);var Oa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ma(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function m5(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 ss={exports:{}},bo={};/**
1
+ (function(R,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):(R=typeof globalThis<"u"?globalThis:R||self,c(R["trc-components"]={},R.React,R.ReactDOM,R.styled,R.ReactIs,R.icons))})(this,function(R,c,ho,ue,is,Se){var o5;"use strict";const sp=e=>e&&e.__esModule?e:{default:e};function cp(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=cp(c),Yt=cp(ho),F=sp(ue),ls=sp(is);var Oa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ma(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function m5(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 ss={exports:{}},bo={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -14,33 +14,33 @@
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 dp;function h5(){return dp||(dp=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"),g=Symbol.for("react.lazy"),m=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,oe=new Array(Q>1?Q-1:0),fe=1;fe<Q;fe++)oe[fe-1]=arguments[fe];x("error",A,oe)}}function x(A,Q,oe){{var fe=$.ReactDebugCurrentFrame,_e=fe.getStackAddendum();_e!==""&&(Q+="%s",oe=oe.concat([_e]));var Se=oe.map(function(ve){return String(ve)});Se.unshift("Warning: "+Q),Function.prototype.apply.call(console[A],console,Se)}}var S=!1,k=!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===m||S||k||P||typeof A=="object"&&A!==null&&(A.$$typeof===g||A.$$typeof===f||A.$$typeof===i||A.$$typeof===l||A.$$typeof===s||A.$$typeof===C||A.getModuleId!==void 0))}function E(A,Q,oe){var fe=A.displayName;if(fe)return fe;var _e=Q.displayName||Q.name||"";return _e!==""?oe+"("+_e+")":oe}function V(A){return A.displayName||"Context"}function O(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 V(Q)+".Consumer";case i:var oe=A;return V(oe._context)+".Provider";case s:return E(A,A.render,"ForwardRef");case f:var fe=A.displayName||null;return fe!==null?fe:O(A.type)||"Memo";case g:{var _e=A,Se=_e._payload,ve=_e._init;try{return O(ve(Se))}catch{return null}}}return null}var T=Object.assign,U=0,I,Z,j,q,R,W,B;function K(){}K.__reactDisabledLog=!0;function H(){{if(U===0){I=console.log,Z=console.info,j=console.warn,q=console.error,R=console.group,W=console.groupCollapsed,B=console.groupEnd;var A={configurable:!0,enumerable:!0,value:K,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}U++}}function ne(){{if(U--,U===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},A,{value:I}),info:T({},A,{value:Z}),warn:T({},A,{value:j}),error:T({},A,{value:q}),group:T({},A,{value:R}),groupCollapsed:T({},A,{value:W}),groupEnd:T({},A,{value:B})})}U<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var re=$.ReactCurrentDispatcher,le;function X(A,Q,oe){{if(le===void 0)try{throw Error()}catch(_e){var fe=_e.stack.trim().match(/\n( *(at )?)/);le=fe&&fe[1]||""}return`
18
- `+le+A}}var J=!1,se;{var he=typeof WeakMap=="function"?WeakMap:Map;se=new he}function Y(A,Q){if(!A||J)return"";{var oe=se.get(A);if(oe!==void 0)return oe}var fe;J=!0;var _e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Se;Se=re.current,re.current=null,H();try{if(Q){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(bn){fe=bn}Reflect.construct(A,[],ve)}else{try{ve.call()}catch(bn){fe=bn}A.call(ve.prototype)}}else{try{throw Error()}catch(bn){fe=bn}A()}}catch(bn){if(bn&&fe&&typeof bn.stack=="string"){for(var be=bn.stack.split(`
19
- `),Je=fe.stack.split(`
20
- `),Le=be.length-1,ze=Je.length-1;Le>=1&&ze>=0&&be[Le]!==Je[ze];)ze--;for(;Le>=1&&ze>=0;Le--,ze--)if(be[Le]!==Je[ze]){if(Le!==1||ze!==1)do if(Le--,ze--,ze<0||be[Le]!==Je[ze]){var $t=`
21
- `+be[Le].replace(" at new "," at ");return A.displayName&&$t.includes("<anonymous>")&&($t=$t.replace("<anonymous>",A.displayName)),typeof A=="function"&&se.set(A,$t),$t}while(Le>=1&&ze>=0);break}}}finally{J=!1,re.current=Se,ne(),Error.prepareStackTrace=_e}var go=A?A.displayName||A.name:"",p5=go?X(go):"";return typeof A=="function"&&se.set(A,p5),p5}function te(A,Q,oe){return Y(A,!1)}function ce(A){var Q=A.prototype;return!!(Q&&Q.isReactComponent)}function Ie(A,Q,oe){if(A==null)return"";if(typeof A=="function")return Y(A,ce(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 te(A.render);case f:return Ie(A.type,Q,oe);case g:{var fe=A,_e=fe._payload,Se=fe._init;try{return Ie(Se(_e),Q,oe)}catch{}}}return""}var Wt=Object.prototype.hasOwnProperty,Kn={},gn=$.ReactDebugCurrentFrame;function vt(A){if(A){var Q=A._owner,oe=Ie(A.type,A._source,Q?Q.type:null);gn.setExtraStackFrame(oe)}else gn.setExtraStackFrame(null)}function yt(A,Q,oe,fe,_e){{var Se=Function.call.bind(Wt);for(var ve in A)if(Se(A,ve)){var be=void 0;try{if(typeof A[ve]!="function"){var Je=Error((fe||"React class")+": "+oe+" type `"+ve+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[ve]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Je.name="Invariant Violation",Je}be=A[ve](Q,ve,fe,oe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Le){be=Le}be&&!(be instanceof Error)&&(vt(_e),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).",fe||"React class",oe,ve,typeof be),vt(null)),be instanceof Error&&!(be.message in Kn)&&(Kn[be.message]=!0,vt(_e),y("Failed %s type: %s",oe,be.message),vt(null))}}}var hn=Array.isArray;function po(A){return hn(A)}function os(A){{var Q=typeof Symbol=="function"&&Symbol.toStringTag,oe=Q&&A[Symbol.toStringTag]||A.constructor.name||"Object";return oe}}function rp(A){try{return as(A),!1}catch{return!0}}function as(A){return""+A}function ut(A){if(rp(A))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",os(A)),as(A)}var Ia=$.ReactCurrentOwner,wV={key:!0,ref:!0,__self:!0,__source:!0},a5,i5,op;op={};function EV(A){if(Wt.call(A,"ref")){var Q=Object.getOwnPropertyDescriptor(A,"ref").get;if(Q&&Q.isReactWarning)return!1}return A.ref!==void 0}function SV(A){if(Wt.call(A,"key")){var Q=Object.getOwnPropertyDescriptor(A,"key").get;if(Q&&Q.isReactWarning)return!1}return A.key!==void 0}function DV(A,Q){if(typeof A.ref=="string"&&Ia.current&&Q&&Ia.current.stateNode!==Q){var oe=O(Ia.current.type);op[oe]||(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',O(Ia.current.type),A.ref),op[oe]=!0)}}function PV(A,Q){{var oe=function(){a5||(a5=!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))};oe.isReactWarning=!0,Object.defineProperty(A,"key",{get:oe,configurable:!0})}}function TV(A,Q){{var oe=function(){i5||(i5=!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))};oe.isReactWarning=!0,Object.defineProperty(A,"ref",{get:oe,configurable:!0})}}var kV=function(A,Q,oe,fe,_e,Se,ve){var be={$$typeof:t,type:A,key:Q,ref:oe,props:ve,_owner:Se};return be._store={},Object.defineProperty(be._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(be,"_self",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.defineProperty(be,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_e}),Object.freeze&&(Object.freeze(be.props),Object.freeze(be)),be};function CV(A,Q,oe,fe,_e){{var Se,ve={},be=null,Je=null;oe!==void 0&&(ut(oe),be=""+oe),SV(Q)&&(ut(Q.key),be=""+Q.key),EV(Q)&&(Je=Q.ref,DV(Q,_e));for(Se in Q)Wt.call(Q,Se)&&!wV.hasOwnProperty(Se)&&(ve[Se]=Q[Se]);if(A&&A.defaultProps){var Le=A.defaultProps;for(Se in Le)ve[Se]===void 0&&(ve[Se]=Le[Se])}if(be||Je){var ze=typeof A=="function"?A.displayName||A.name||"Unknown":A;be&&PV(ve,ze),Je&&TV(ve,ze)}return kV(A,be,Je,_e,fe,Ia.current,ve)}}var ap=$.ReactCurrentOwner,l5=$.ReactDebugCurrentFrame;function mo(A){if(A){var Q=A._owner,oe=Ie(A.type,A._source,Q?Q.type:null);l5.setExtraStackFrame(oe)}else l5.setExtraStackFrame(null)}var ip;ip=!1;function lp(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function s5(){{if(ap.current){var A=O(ap.current.type);if(A)return`
17
+ */var dp;function h5(){return dp||(dp=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"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,b="@@iterator";function v(A){if(A===null||typeof A!="object")return null;var J=h&&A[h]||A[b];return typeof J=="function"?J:null}var $=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(A){{for(var J=arguments.length,re=new Array(J>1?J-1:0),fe=1;fe<J;fe++)re[fe-1]=arguments[fe];x("error",A,re)}}function x(A,J,re){{var fe=$.ReactDebugCurrentFrame,we=fe.getStackAddendum();we!==""&&(J+="%s",re=re.concat([we]));var Pe=re.map(function($e){return String($e)});Pe.unshift("Warning: "+J),Function.prototype.apply.call(console[A],console,Pe)}}var S=!1,k=!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===m||S||k||P||typeof A=="object"&&A!==null&&(A.$$typeof===g||A.$$typeof===f||A.$$typeof===i||A.$$typeof===l||A.$$typeof===s||A.$$typeof===C||A.getModuleId!==void 0))}function E(A,J,re){var fe=A.displayName;if(fe)return fe;var we=J.displayName||J.name||"";return we!==""?re+"("+we+")":re}function V(A){return A.displayName||"Context"}function O(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 J=A;return V(J)+".Consumer";case i:var re=A;return V(re._context)+".Provider";case s:return E(A,A.render,"ForwardRef");case f:var fe=A.displayName||null;return fe!==null?fe:O(A.type)||"Memo";case g:{var we=A,Pe=we._payload,$e=we._init;try{return O($e(Pe))}catch{return null}}}return null}var T=Object.assign,U=0,I,X,j,Y,z,W,B;function K(){}K.__reactDisabledLog=!0;function H(){{if(U===0){I=console.log,X=console.info,j=console.warn,Y=console.error,z=console.group,W=console.groupCollapsed,B=console.groupEnd;var A={configurable:!0,enumerable:!0,value:K,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}U++}}function te(){{if(U--,U===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},A,{value:I}),info:T({},A,{value:X}),warn:T({},A,{value:j}),error:T({},A,{value:Y}),group:T({},A,{value:z}),groupCollapsed:T({},A,{value:W}),groupEnd:T({},A,{value:B})})}U<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=$.ReactCurrentDispatcher,ie;function q(A,J,re){{if(ie===void 0)try{throw Error()}catch(we){var fe=we.stack.trim().match(/\n( *(at )?)/);ie=fe&&fe[1]||""}return`
18
+ `+ie+A}}var Z=!1,le;{var ge=typeof WeakMap=="function"?WeakMap:Map;le=new ge}function ce(A,J){if(!A||Z)return"";{var re=le.get(A);if(re!==void 0)return re}var fe;Z=!0;var we=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Pe;Pe=ne.current,ne.current=null,H();try{if(J){var $e=function(){throw Error()};if(Object.defineProperty($e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct($e,[])}catch(bn){fe=bn}Reflect.construct(A,[],$e)}else{try{$e.call()}catch(bn){fe=bn}A.call($e.prototype)}}else{try{throw Error()}catch(bn){fe=bn}A()}}catch(bn){if(bn&&fe&&typeof bn.stack=="string"){for(var ye=bn.stack.split(`
19
+ `),et=fe.stack.split(`
20
+ `),Ne=ye.length-1,Ke=et.length-1;Ne>=1&&Ke>=0&&ye[Ne]!==et[Ke];)Ke--;for(;Ne>=1&&Ke>=0;Ne--,Ke--)if(ye[Ne]!==et[Ke]){if(Ne!==1||Ke!==1)do if(Ne--,Ke--,Ke<0||ye[Ne]!==et[Ke]){var xt=`
21
+ `+ye[Ne].replace(" at new "," at ");return A.displayName&&xt.includes("<anonymous>")&&(xt=xt.replace("<anonymous>",A.displayName)),typeof A=="function"&&le.set(A,xt),xt}while(Ne>=1&&Ke>=0);break}}}finally{Z=!1,ne.current=Pe,te(),Error.prepareStackTrace=we}var go=A?A.displayName||A.name:"",p5=go?q(go):"";return typeof A=="function"&&le.set(A,p5),p5}function be(A,J,re){return ce(A,!1)}function Q(A){var J=A.prototype;return!!(J&&J.isReactComponent)}function se(A,J,re){if(A==null)return"";if(typeof A=="function")return ce(A,Q(A));if(typeof A=="string")return q(A);switch(A){case u:return q("Suspense");case d:return q("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case s:return be(A.render);case f:return se(A.type,J,re);case g:{var fe=A,we=fe._payload,Pe=fe._init;try{return se(Pe(we),J,re)}catch{}}}return""}var he=Object.prototype.hasOwnProperty,Re={},Kn=$.ReactDebugCurrentFrame;function Nt(A){if(A){var J=A._owner,re=se(A.type,A._source,J?J.type:null);Kn.setExtraStackFrame(re)}else Kn.setExtraStackFrame(null)}function ft(A,J,re,fe,we){{var Pe=Function.call.bind(he);for(var $e in A)if(Pe(A,$e)){var ye=void 0;try{if(typeof A[$e]!="function"){var et=Error((fe||"React class")+": "+re+" type `"+$e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[$e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw et.name="Invariant Violation",et}ye=A[$e](J,$e,fe,re,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ne){ye=Ne}ye&&!(ye instanceof Error)&&(Nt(we),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).",fe||"React class",re,$e,typeof ye),Nt(null)),ye instanceof Error&&!(ye.message in Re)&&(Re[ye.message]=!0,Nt(we),y("Failed %s type: %s",re,ye.message),Nt(null))}}}var _t=Array.isArray;function Vn(A){return _t(A)}function os(A){{var J=typeof Symbol=="function"&&Symbol.toStringTag,re=J&&A[Symbol.toStringTag]||A.constructor.name||"Object";return re}}function rp(A){try{return as(A),!1}catch{return!0}}function as(A){return""+A}function pt(A){if(rp(A))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",os(A)),as(A)}var Ia=$.ReactCurrentOwner,wV={key:!0,ref:!0,__self:!0,__source:!0},a5,i5,op;op={};function EV(A){if(he.call(A,"ref")){var J=Object.getOwnPropertyDescriptor(A,"ref").get;if(J&&J.isReactWarning)return!1}return A.ref!==void 0}function SV(A){if(he.call(A,"key")){var J=Object.getOwnPropertyDescriptor(A,"key").get;if(J&&J.isReactWarning)return!1}return A.key!==void 0}function DV(A,J){if(typeof A.ref=="string"&&Ia.current&&J&&Ia.current.stateNode!==J){var re=O(Ia.current.type);op[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',O(Ia.current.type),A.ref),op[re]=!0)}}function PV(A,J){{var re=function(){a5||(a5=!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)",J))};re.isReactWarning=!0,Object.defineProperty(A,"key",{get:re,configurable:!0})}}function TV(A,J){{var re=function(){i5||(i5=!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)",J))};re.isReactWarning=!0,Object.defineProperty(A,"ref",{get:re,configurable:!0})}}var kV=function(A,J,re,fe,we,Pe,$e){var ye={$$typeof:t,type:A,key:J,ref:re,props:$e,_owner:Pe};return ye._store={},Object.defineProperty(ye._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ye,"_self",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.defineProperty(ye,"_source",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.freeze&&(Object.freeze(ye.props),Object.freeze(ye)),ye};function CV(A,J,re,fe,we){{var Pe,$e={},ye=null,et=null;re!==void 0&&(pt(re),ye=""+re),SV(J)&&(pt(J.key),ye=""+J.key),EV(J)&&(et=J.ref,DV(J,we));for(Pe in J)he.call(J,Pe)&&!wV.hasOwnProperty(Pe)&&($e[Pe]=J[Pe]);if(A&&A.defaultProps){var Ne=A.defaultProps;for(Pe in Ne)$e[Pe]===void 0&&($e[Pe]=Ne[Pe])}if(ye||et){var Ke=typeof A=="function"?A.displayName||A.name||"Unknown":A;ye&&PV($e,Ke),et&&TV($e,Ke)}return kV(A,ye,et,we,fe,Ia.current,$e)}}var ap=$.ReactCurrentOwner,l5=$.ReactDebugCurrentFrame;function mo(A){if(A){var J=A._owner,re=se(A.type,A._source,J?J.type:null);l5.setExtraStackFrame(re)}else l5.setExtraStackFrame(null)}var ip;ip=!1;function lp(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function s5(){{if(ap.current){var A=O(ap.current.type);if(A)return`
22
22
 
23
- Check the render method of \``+A+"`."}return""}}function AV(A){{if(A!==void 0){var Q=A.fileName.replace(/^.*[\\\/]/,""),oe=A.lineNumber;return`
23
+ Check the render method of \``+A+"`."}return""}}function AV(A){{if(A!==void 0){var J=A.fileName.replace(/^.*[\\\/]/,""),re=A.lineNumber;return`
24
24
 
25
- Check your code at `+Q+":"+oe+"."}return""}}var c5={};function IV(A){{var Q=s5();if(!Q){var oe=typeof A=="string"?A:A.displayName||A.name;oe&&(Q=`
25
+ Check your code at `+J+":"+re+"."}return""}}var c5={};function IV(A){{var J=s5();if(!J){var re=typeof A=="string"?A:A.displayName||A.name;re&&(J=`
26
26
 
27
- Check the top-level render call using <`+oe+">.")}return Q}}function u5(A,Q){{if(!A._store||A._store.validated||A.key!=null)return;A._store.validated=!0;var oe=IV(Q);if(c5[oe])return;c5[oe]=!0;var fe="";A&&A._owner&&A._owner!==ap.current&&(fe=" It was passed a child from "+O(A._owner.type)+"."),mo(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.',oe,fe),mo(null)}}function d5(A,Q){{if(typeof A!="object")return;if(po(A))for(var oe=0;oe<A.length;oe++){var fe=A[oe];lp(fe)&&u5(fe,Q)}else if(lp(A))A._store&&(A._store.validated=!0);else if(A){var _e=v(A);if(typeof _e=="function"&&_e!==A.entries)for(var Se=_e.call(A),ve;!(ve=Se.next()).done;)lp(ve.value)&&u5(ve.value,Q)}}}function OV(A){{var Q=A.type;if(Q==null||typeof Q=="string")return;var oe;if(typeof Q=="function")oe=Q.propTypes;else if(typeof Q=="object"&&(Q.$$typeof===s||Q.$$typeof===f))oe=Q.propTypes;else return;if(oe){var fe=O(Q);yt(oe,A.props,"prop",fe,A)}else if(Q.PropTypes!==void 0&&!ip){ip=!0;var _e=O(Q);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_e||"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 MV(A){{for(var Q=Object.keys(A.props),oe=0;oe<Q.length;oe++){var fe=Q[oe];if(fe!=="children"&&fe!=="key"){mo(A),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),mo(null);break}}A.ref!==null&&(mo(A),y("Invalid attribute `ref` supplied to `React.Fragment`."),mo(null))}}function f5(A,Q,oe,fe,_e,Se){{var ve=N(A);if(!ve){var be="";(A===void 0||typeof A=="object"&&A!==null&&Object.keys(A).length===0)&&(be+=" 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=AV(_e);Je?be+=Je:be+=s5();var Le;A===null?Le="null":po(A)?Le="array":A!==void 0&&A.$$typeof===t?(Le="<"+(O(A.type)||"Unknown")+" />",be=" Did you accidentally export a JSX literal instead of a component?"):Le=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",Le,be)}var ze=CV(A,Q,oe,_e,Se);if(ze==null)return ze;if(ve){var $t=Q.children;if($t!==void 0)if(fe)if(po($t)){for(var go=0;go<$t.length;go++)d5($t[go],A);Object.freeze&&Object.freeze($t)}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 d5($t,A)}return A===r?MV(ze):OV(ze),ze}}function FV(A,Q,oe){return f5(A,Q,oe,!0)}function LV(A,Q,oe){return f5(A,Q,oe,!1)}var NV=LV,zV=FV;vo.Fragment=r,vo.jsx=NV,vo.jsxs=zV}()),vo}process.env.NODE_ENV==="production"?ss.exports=g5():ss.exports=h5();var cs=ss.exports;const Qe=cs.Fragment,w=cs.jsx,ee=cs.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 b5(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Fa(...e){return t=>e.forEach(n=>b5(n,t))}function xe(...e){return c.useCallback(Fa(...e),e)}const Vn=c.forwardRef((e,t)=>{const{children:n,...r}=e,o=c.Children.toArray(n),a=o.find(v5);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(us,L({},r,{ref:t}),c.isValidElement(i)?c.cloneElement(i,void 0,l):null)}return c.createElement(us,L({},r,{ref:t}),n)});Vn.displayName="Slot";const us=c.forwardRef((e,t)=>{const{children:n,...r}=e;return c.isValidElement(n)?c.cloneElement(n,{...y5(r,n.props),ref:t?Fa(t,n.ref):n.ref}):c.Children.count(n)>1?c.Children.only(null):null});us.displayName="SlotClone";const ds=({children:e})=>c.createElement(c.Fragment,null,e);function v5(e){return c.isValidElement(e)&&e.type===ds}function y5(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 de=["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?Vn: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 fs(e,t){e&&ho.flushSync(()=>e.dispatchEvent(t))}const ps=c.forwardRef((e,t)=>c.createElement(de.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}}))),fp=ps,$5=({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(fp,null,t))};function yo({children:e,label:t}){return w($5,{label:t,children:e})}function _5(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 Ve(e,t=[]){let n=[];function r(a,i){const l=c.createContext(i),s=n.length;n=[...n,i];function u(f){const{scope:g,children:m,...h}=f,b=(g==null?void 0:g[e][s])||l,v=c.useMemo(()=>h,Object.values(h));return c.createElement(b.Provider,{value:v},m)}function d(f,g){const m=(g==null?void 0:g[e][s])||l,h=c.useContext(m);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,x5(o,...t)]}function x5(...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 La(e){const t=e+"CollectionProvider",[n,r]=Ve(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:h,children:b}=m,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((m,h)=>{const{scope:b,children:v}=m,$=a(l,b),y=xe(h,$.collectionRef);return D.default.createElement(Vn,{ref:y},v)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",f=D.default.forwardRef((m,h)=>{const{scope:b,children:v,...$}=m,y=D.default.useRef(null),x=xe(h,y),S=a(u,b);return D.default.useEffect(()=>(S.itemMap.set(y,{ref:y,...$}),()=>void S.itemMap.delete(y))),D.default.createElement(Vn,{[d]:"",ref:x},v)});function g(m){const h=a(e+"CollectionConsumer",m);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,k)=>$.indexOf(S.ref.current)-$.indexOf(k.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:s,ItemSlot:f},g,r]}function ae(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 Ue(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 We({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=w5({defaultProp:t,onChange:n}),a=e!==void 0,i=a?e:r,l=Ue(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 w5({defaultProp:e,onChange:t}){const n=c.useState(e),[r]=n,o=c.useRef(r),a=Ue(t);return c.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}const vn=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{};function E5(e,t){return c.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const He=e=>{const{present:t,children:n}=e,r=S5(t),o=typeof n=="function"?n({present:r.isPresent}):c.Children.only(n),a=xe(r.ref,o.ref);return typeof n=="function"||r.isPresent?c.cloneElement(o,{ref:a}):null};He.displayName="Presence";function S5(e){const[t,n]=c.useState(),r=c.useRef({}),o=c.useRef(e),a=c.useRef("none"),i=e?"mounted":"unmounted",[l,s]=E5(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const u=Na(r.current);a.current=l==="mounted"?u:"none"},[l]),vn(()=>{const u=r.current,d=o.current;if(d!==e){const g=a.current,m=Na(u);e?s("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(d&&g!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),vn(()=>{if(t){const u=f=>{const m=Na(r.current).includes(f.animationName);f.target===t&&m&&ho.flushSync(()=>s("ANIMATION_END"))},d=f=>{f.target===t&&(a.current=Na(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 Na(e){return(e==null?void 0:e.animationName)||"none"}const D5=D["useId".toString()]||(()=>{});let P5=0;function ot(e){const[t,n]=D.useState(D5());return vn(()=>{e||n(r=>r??String(P5++))},[e]),e||(t?`radix-${t}`:"")}const pp="Collapsible",[T5,mp]=Ve(pp),[k5,ms]=T5(pp),C5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:a,onOpenChange:i,...l}=e,[s=!1,u]=We({prop:r,defaultProp:o,onChange:i});return c.createElement(k5,{scope:n,disabled:a,contentId:ot(),open:s,onOpenToggle:c.useCallback(()=>u(d=>!d),[u])},c.createElement(de.div,L({"data-state":gs(s),"data-disabled":a?"":void 0},l,{ref:t})))}),A5="CollapsibleTrigger",I5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=ms(A5,n);return c.createElement(de.button,L({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":gs(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},r,{ref:t,onClick:ae(e.onClick,o.onOpenToggle)}))}),gp="CollapsibleContent",O5=c.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ms(gp,e.__scopeCollapsible);return c.createElement(He,{present:n||o.open},({present:a})=>c.createElement(M5,L({},r,{ref:t,present:a})))}),M5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...a}=e,i=ms(gp,n),[l,s]=c.useState(r),u=c.useRef(null),d=xe(t,u),f=c.useRef(0),g=f.current,m=c.useRef(0),h=m.current,b=i.open||l,v=c.useRef(b),$=c.useRef();return c.useEffect(()=>{const y=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(y)},[]),vn(()=>{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,m.current=x.width,v.current||(y.style.transitionDuration=$.current.transitionDuration,y.style.animationName=$.current.animationName),s(r)}},[i.open,r]),c.createElement(de.div,L({"data-state":gs(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!b},a,{ref:d,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":h?`${h}px`:void 0,...e.style}}),b&&o)});function gs(e){return e?"open":"closed"}const F5=C5,L5=I5,N5=O5,z5=c.createContext(void 0);function pr(e){const t=c.useContext(z5);return e||t||"ltr"}const yn="Accordion",R5=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[hs,K5,V5]=La(yn),[za,VV]=Ve(yn,[V5,mp]),bs=mp(),hp=D.default.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,a=r;return D.default.createElement(hs.Provider,{scope:e.__scopeAccordion},n==="multiple"?D.default.createElement(W5,L({},a,{ref:t})):D.default.createElement(U5,L({},o,{ref:t})))});hp.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[bp,B5]=za(yn),[vp,j5]=za(yn,{collapsible:!1}),U5=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:a=!1,...i}=e,[l,s]=We({prop:n,defaultProp:r,onChange:o});return D.default.createElement(bp,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:D.default.useCallback(()=>a&&s(""),[a,s])},D.default.createElement(vp,{scope:e.__scopeAccordion,collapsible:a},D.default.createElement(yp,L({},i,{ref:t}))))}),W5=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],l]=We({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(g=>g!==d)),[l]);return D.default.createElement(bp,{scope:e.__scopeAccordion,value:i,onItemOpen:s,onItemClose:u},D.default.createElement(vp,{scope:e.__scopeAccordion,collapsible:!0},D.default.createElement(yp,L({},a,{ref:t}))))}),[H5,Ra]=za(yn),yp=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:a="vertical",...i}=e,l=D.default.useRef(null),s=xe(l,t),u=K5(n),f=pr(o)==="ltr",g=ae(e.onKeyDown,m=>{var h;if(!R5.includes(m.key))return;const b=m.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;m.preventDefault();let x=$;const S=0,k=y-1,P=()=>{x=$+1,x>k&&(x=S)},M=()=>{x=$-1,x<S&&(x=k)};switch(m.key){case"Home":x=S;break;case"End":x=k;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(H5,{scope:n,disabled:r,direction:o,orientation:a},D.default.createElement(hs.Slot,{scope:n},D.default.createElement(de.div,L({},i,{"data-orientation":a,ref:s,onKeyDown:r?void 0:g}))))}),vs="AccordionItem",[G5,ys]=za(vs),Y5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,a=Ra(vs,n),i=B5(vs,n),l=bs(n),s=ot(),u=r&&i.value.includes(r)||!1,d=a.disabled||e.disabled;return D.default.createElement(G5,{scope:n,open:u,disabled:d,triggerId:s},D.default.createElement(F5,L({"data-orientation":a.orientation,"data-state":_p(u)},l,o,{ref:t,disabled:d,open:u,onOpenChange:f=>{f?i.onItemOpen(r):i.onItemClose(r)}})))}),q5="AccordionHeader",X5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ra(yn,n),a=ys(q5,n);return D.default.createElement(de.h3,L({"data-orientation":o.orientation,"data-state":_p(a.open),"data-disabled":a.disabled?"":void 0},r,{ref:t}))}),$p="AccordionTrigger",Z5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ra(yn,n),a=ys($p,n),i=j5($p,n),l=bs(n);return D.default.createElement(hs.ItemSlot,{scope:n},D.default.createElement(L5,L({"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId},l,r,{ref:t})))}),J5="AccordionContent",Q5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ra(yn,n),a=ys(J5,n),i=bs(n);return D.default.createElement(N5,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 _p(e){return e?"open":"closed"}const eD=hp,tD=Y5,nD=X5,rD=Z5,oD=Q5,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 aD(e){return!!e}function Ft(e,t){const n={},r=new RegExp(`^(${t.join("|")})$`);for(const o in e)r.test(o)&&(n[o]=e[o]);return n}function iD(e=[],t={}){return{shouldForwardProp:(n,r)=>!e.includes(n)&&r(n),...t}}function Ka(e){return Object.keys(e).reduce((t,n)=>(n.startsWith("aria-")&&(t[n]=e[n]),t),{})}function $o(){}function xp(){return typeof window<"u"}function $s(){return xp()?window:{matchMedia:$o,addEventListener:$o,removeEventListener:$o,setTimeout:$o,clearTimeout:$o}}function lD(){try{return window.self!==window.top}catch{return!0}}const Va={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 sD(e,t){return!!Va[e]&&(t.key===Va[e].key||t.keyCode===Va[e].keyCode)&&t.shiftKey===Va[e].shiftKey}function wp(e,t){return function(r){if(sD(e,r))return t(r)}}/*
27
+ Check the top-level render call using <`+re+">.")}return J}}function u5(A,J){{if(!A._store||A._store.validated||A.key!=null)return;A._store.validated=!0;var re=IV(J);if(c5[re])return;c5[re]=!0;var fe="";A&&A._owner&&A._owner!==ap.current&&(fe=" It was passed a child from "+O(A._owner.type)+"."),mo(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,fe),mo(null)}}function d5(A,J){{if(typeof A!="object")return;if(Vn(A))for(var re=0;re<A.length;re++){var fe=A[re];lp(fe)&&u5(fe,J)}else if(lp(A))A._store&&(A._store.validated=!0);else if(A){var we=v(A);if(typeof we=="function"&&we!==A.entries)for(var Pe=we.call(A),$e;!($e=Pe.next()).done;)lp($e.value)&&u5($e.value,J)}}}function OV(A){{var J=A.type;if(J==null||typeof J=="string")return;var re;if(typeof J=="function")re=J.propTypes;else if(typeof J=="object"&&(J.$$typeof===s||J.$$typeof===f))re=J.propTypes;else return;if(re){var fe=O(J);ft(re,A.props,"prop",fe,A)}else if(J.PropTypes!==void 0&&!ip){ip=!0;var we=O(J);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",we||"Unknown")}typeof J.getDefaultProps=="function"&&!J.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function MV(A){{for(var J=Object.keys(A.props),re=0;re<J.length;re++){var fe=J[re];if(fe!=="children"&&fe!=="key"){mo(A),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),mo(null);break}}A.ref!==null&&(mo(A),y("Invalid attribute `ref` supplied to `React.Fragment`."),mo(null))}}function f5(A,J,re,fe,we,Pe){{var $e=N(A);if(!$e){var ye="";(A===void 0||typeof A=="object"&&A!==null&&Object.keys(A).length===0)&&(ye+=" 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 et=AV(we);et?ye+=et:ye+=s5();var Ne;A===null?Ne="null":Vn(A)?Ne="array":A!==void 0&&A.$$typeof===t?(Ne="<"+(O(A.type)||"Unknown")+" />",ye=" Did you accidentally export a JSX literal instead of a component?"):Ne=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",Ne,ye)}var Ke=CV(A,J,re,we,Pe);if(Ke==null)return Ke;if($e){var xt=J.children;if(xt!==void 0)if(fe)if(Vn(xt)){for(var go=0;go<xt.length;go++)d5(xt[go],A);Object.freeze&&Object.freeze(xt)}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 d5(xt,A)}return A===r?MV(Ke):OV(Ke),Ke}}function FV(A,J,re){return f5(A,J,re,!0)}function LV(A,J,re){return f5(A,J,re,!1)}var NV=LV,zV=FV;vo.Fragment=r,vo.jsx=NV,vo.jsxs=zV}()),vo}process.env.NODE_ENV==="production"?ss.exports=g5():ss.exports=h5();var cs=ss.exports;const tt=cs.Fragment,w=cs.jsx,ee=cs.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 b5(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Fa(...e){return t=>e.forEach(n=>b5(n,t))}function Ee(...e){return c.useCallback(Fa(...e),e)}const Bn=c.forwardRef((e,t)=>{const{children:n,...r}=e,o=c.Children.toArray(n),a=o.find(v5);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(us,L({},r,{ref:t}),c.isValidElement(i)?c.cloneElement(i,void 0,l):null)}return c.createElement(us,L({},r,{ref:t}),n)});Bn.displayName="Slot";const us=c.forwardRef((e,t)=>{const{children:n,...r}=e;return c.isValidElement(n)?c.cloneElement(n,{...y5(r,n.props),ref:t?Fa(t,n.ref):n.ref}):c.Children.count(n)>1?c.Children.only(null):null});us.displayName="SlotClone";const ds=({children:e})=>c.createElement(c.Fragment,null,e);function v5(e){return c.isValidElement(e)&&e.type===ds}function y5(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 de=["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?Bn: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 fs(e,t){e&&ho.flushSync(()=>e.dispatchEvent(t))}const ps=c.forwardRef((e,t)=>c.createElement(de.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}}))),fp=ps,$5=({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(fp,null,t))};function yo({children:e,label:t}){return w($5,{label:t,children:e})}function _5(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 je(e,t=[]){let n=[];function r(a,i){const l=c.createContext(i),s=n.length;n=[...n,i];function u(f){const{scope:g,children:m,...h}=f,b=(g==null?void 0:g[e][s])||l,v=c.useMemo(()=>h,Object.values(h));return c.createElement(b.Provider,{value:v},m)}function d(f,g){const m=(g==null?void 0:g[e][s])||l,h=c.useContext(m);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,x5(o,...t)]}function x5(...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 La(e){const t=e+"CollectionProvider",[n,r]=je(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:h,children:b}=m,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((m,h)=>{const{scope:b,children:v}=m,$=a(l,b),y=Ee(h,$.collectionRef);return D.default.createElement(Bn,{ref:y},v)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",f=D.default.forwardRef((m,h)=>{const{scope:b,children:v,...$}=m,y=D.default.useRef(null),x=Ee(h,y),S=a(u,b);return D.default.useEffect(()=>(S.itemMap.set(y,{ref:y,...$}),()=>void S.itemMap.delete(y))),D.default.createElement(Bn,{[d]:"",ref:x},v)});function g(m){const h=a(e+"CollectionConsumer",m);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,k)=>$.indexOf(S.ref.current)-$.indexOf(k.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:s,ItemSlot:f},g,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 He(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 Ge({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=w5({defaultProp:t,onChange:n}),a=e!==void 0,i=a?e:r,l=He(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 w5({defaultProp:e,onChange:t}){const n=c.useState(e),[r]=n,o=c.useRef(r),a=He(t);return c.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}const vn=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{};function E5(e,t){return c.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const Ye=e=>{const{present:t,children:n}=e,r=S5(t),o=typeof n=="function"?n({present:r.isPresent}):c.Children.only(n),a=Ee(r.ref,o.ref);return typeof n=="function"||r.isPresent?c.cloneElement(o,{ref:a}):null};Ye.displayName="Presence";function S5(e){const[t,n]=c.useState(),r=c.useRef({}),o=c.useRef(e),a=c.useRef("none"),i=e?"mounted":"unmounted",[l,s]=E5(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const u=Na(r.current);a.current=l==="mounted"?u:"none"},[l]),vn(()=>{const u=r.current,d=o.current;if(d!==e){const g=a.current,m=Na(u);e?s("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(d&&g!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),vn(()=>{if(t){const u=f=>{const m=Na(r.current).includes(f.animationName);f.target===t&&m&&ho.flushSync(()=>s("ANIMATION_END"))},d=f=>{f.target===t&&(a.current=Na(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 Na(e){return(e==null?void 0:e.animationName)||"none"}const D5=D["useId".toString()]||(()=>{});let P5=0;function it(e){const[t,n]=D.useState(D5());return vn(()=>{e||n(r=>r??String(P5++))},[e]),e||(t?`radix-${t}`:"")}const pp="Collapsible",[T5,mp]=je(pp),[k5,ms]=T5(pp),C5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:a,onOpenChange:i,...l}=e,[s=!1,u]=Ge({prop:r,defaultProp:o,onChange:i});return c.createElement(k5,{scope:n,disabled:a,contentId:it(),open:s,onOpenToggle:c.useCallback(()=>u(d=>!d),[u])},c.createElement(de.div,L({"data-state":gs(s),"data-disabled":a?"":void 0},l,{ref:t})))}),A5="CollapsibleTrigger",I5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=ms(A5,n);return c.createElement(de.button,L({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":gs(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},r,{ref:t,onClick:oe(e.onClick,o.onOpenToggle)}))}),gp="CollapsibleContent",O5=c.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ms(gp,e.__scopeCollapsible);return c.createElement(Ye,{present:n||o.open},({present:a})=>c.createElement(M5,L({},r,{ref:t,present:a})))}),M5=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...a}=e,i=ms(gp,n),[l,s]=c.useState(r),u=c.useRef(null),d=Ee(t,u),f=c.useRef(0),g=f.current,m=c.useRef(0),h=m.current,b=i.open||l,v=c.useRef(b),$=c.useRef();return c.useEffect(()=>{const y=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(y)},[]),vn(()=>{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,m.current=x.width,v.current||(y.style.transitionDuration=$.current.transitionDuration,y.style.animationName=$.current.animationName),s(r)}},[i.open,r]),c.createElement(de.div,L({"data-state":gs(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!b},a,{ref:d,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":h?`${h}px`:void 0,...e.style}}),b&&o)});function gs(e){return e?"open":"closed"}const F5=C5,L5=I5,N5=O5,z5=c.createContext(void 0);function mr(e){const t=c.useContext(z5);return e||t||"ltr"}const yn="Accordion",R5=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[hs,K5,V5]=La(yn),[za,VV]=je(yn,[V5,mp]),bs=mp(),hp=D.default.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,a=r;return D.default.createElement(hs.Provider,{scope:e.__scopeAccordion},n==="multiple"?D.default.createElement(W5,L({},a,{ref:t})):D.default.createElement(U5,L({},o,{ref:t})))});hp.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[bp,B5]=za(yn),[vp,j5]=za(yn,{collapsible:!1}),U5=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:a=!1,...i}=e,[l,s]=Ge({prop:n,defaultProp:r,onChange:o});return D.default.createElement(bp,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:D.default.useCallback(()=>a&&s(""),[a,s])},D.default.createElement(vp,{scope:e.__scopeAccordion,collapsible:a},D.default.createElement(yp,L({},i,{ref:t}))))}),W5=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],l]=Ge({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(g=>g!==d)),[l]);return D.default.createElement(bp,{scope:e.__scopeAccordion,value:i,onItemOpen:s,onItemClose:u},D.default.createElement(vp,{scope:e.__scopeAccordion,collapsible:!0},D.default.createElement(yp,L({},a,{ref:t}))))}),[H5,Ra]=za(yn),yp=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:a="vertical",...i}=e,l=D.default.useRef(null),s=Ee(l,t),u=K5(n),f=mr(o)==="ltr",g=oe(e.onKeyDown,m=>{var h;if(!R5.includes(m.key))return;const b=m.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;m.preventDefault();let x=$;const S=0,k=y-1,P=()=>{x=$+1,x>k&&(x=S)},M=()=>{x=$-1,x<S&&(x=k)};switch(m.key){case"Home":x=S;break;case"End":x=k;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(H5,{scope:n,disabled:r,direction:o,orientation:a},D.default.createElement(hs.Slot,{scope:n},D.default.createElement(de.div,L({},i,{"data-orientation":a,ref:s,onKeyDown:r?void 0:g}))))}),vs="AccordionItem",[G5,ys]=za(vs),Y5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,a=Ra(vs,n),i=B5(vs,n),l=bs(n),s=it(),u=r&&i.value.includes(r)||!1,d=a.disabled||e.disabled;return D.default.createElement(G5,{scope:n,open:u,disabled:d,triggerId:s},D.default.createElement(F5,L({"data-orientation":a.orientation,"data-state":_p(u)},l,o,{ref:t,disabled:d,open:u,onOpenChange:f=>{f?i.onItemOpen(r):i.onItemClose(r)}})))}),q5="AccordionHeader",X5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ra(yn,n),a=ys(q5,n);return D.default.createElement(de.h3,L({"data-orientation":o.orientation,"data-state":_p(a.open),"data-disabled":a.disabled?"":void 0},r,{ref:t}))}),$p="AccordionTrigger",Z5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ra(yn,n),a=ys($p,n),i=j5($p,n),l=bs(n);return D.default.createElement(hs.ItemSlot,{scope:n},D.default.createElement(L5,L({"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId},l,r,{ref:t})))}),J5="AccordionContent",Q5=D.default.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ra(yn,n),a=ys(J5,n),i=bs(n);return D.default.createElement(N5,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 _p(e){return e?"open":"closed"}const eD=hp,tD=Y5,nD=X5,rD=Z5,oD=Q5,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 aD(e){return!!e}function zt(e,t){const n={},r=new RegExp(`^(${t.join("|")})$`);for(const o in e)r.test(o)&&(n[o]=e[o]);return n}function iD(e=[],t={}){return{shouldForwardProp:(n,r)=>!e.includes(n)&&r(n),...t}}function Ka(e){return Object.keys(e).reduce((t,n)=>(n.startsWith("aria-")&&(t[n]=e[n]),t),{})}function $o(){}function xp(){return typeof window<"u"}function $s(){return xp()?window:{matchMedia:$o,addEventListener:$o,removeEventListener:$o,setTimeout:$o,clearTimeout:$o}}function lD(){try{return window.self!==window.top}catch{return!0}}const Va={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 sD(e,t){return!!Va[e]&&(t.key===Va[e].key||t.keyCode===Va[e].keyCode)&&t.shiftKey===Va[e].shiftKey}function wp(e,t){return function(r){if(sD(e,r))return t(r)}}/*
28
28
  object-assign
29
29
  (c) Sindre Sorhus
30
30
  @license MIT
31
- */var Ep=Object.getOwnPropertySymbols,cD=Object.prototype.hasOwnProperty,uD=Object.prototype.propertyIsEnumerable;function dD(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function fD(){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 Sp=fD()?Object.assign:function(e,t){for(var n,r=dD(e),o,a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var i in n)cD.call(n,i)&&(r[i]=n[i]);if(Ep){o=Ep(n);for(var l=0;l<o.length;l++)uD.call(n,o[l])&&(r[o[l]]=n[o[l]])}}return r};const _t=Ma(Sp);var Dp=function(t,n){var r=_t({},t,n);for(var o in t){var a;!t[o]||typeof n[o]!="object"||_t(r,(a={},a[o]=_t(t[o],n[o]),a))}return r},pD=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},mD={breakpoints:[40,52,64].map(function(e){return e+"em"})},Pp=function(t){return"@media screen and (min-width: "+t+")"},gD=function(t,n){return $n(n,t,t)},$n=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},Ba=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],g=i[d],m=$n(i.theme,f.scale,f.defaults);if(typeof g=="object"){if(n.breakpoints=!u&&n.breakpoints||$n(i.theme,"breakpoints",mD.breakpoints),Array.isArray(g)){n.media=!u&&n.media||[null].concat(n.breakpoints.map(Pp)),l=Dp(l,hD(n.media,f,m,g,i));continue}g!==null&&(l=Dp(l,bD(n.breakpoints,f,m,g,i)),s=!0);continue}_t(l,f(g,m,i))}return s&&(l=pD(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},hD=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)_t(i,d);else{var f;_t(i,(f={},f[u]=_t({},i[u],d),f))}}),i},bD=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)_t(i,d);else{var f,g=Pp(s);_t(i,(f={},f[g]=_t({},i[g],d),f))}}return i},_s=function(t){var n=t.properties,r=t.property,o=t.scale,a=t.transform,i=a===void 0?gD:a,l=t.defaultScale;n=n||[r];var s=function(d,f,g){var m={},h=i(d,f,g);if(h!==null)return n.forEach(function(b){m[b]=h}),m};return s.scale=o,s.defaults=l,s},at=function(t){t===void 0&&(t={});var n={};Object.keys(t).forEach(function(o){var a=t[o];if(a===!0){n[o]=_s({property:o,scale:o});return}if(typeof a=="function"){n[o]=a;return}n[o]=_s(a)});var r=Ba(n);return r},ja=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||_t(t,i.config)});var a=Ba(t);return a},vD=function(t){return typeof t=="number"&&!isNaN(t)},yD=function(t,n){return $n(n,t,!vD(t)||t>1?t:t*100+"%")},$D={width:{property:"width",scale:"sizes",transform:yD},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},qe=at($D),xs={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};xs.bg=xs.backgroundColor;var ws=at(xs),_D={fontSizes:[12,14,16,20,24,32,48,64,72]},xD={fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:_D.fontSizes},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0},Gt=at(xD),wD={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},Xe=at(wD),Es={space:[0,4,8,16,32,64,128,256,512]},ED={gridGap:{property:"gridGap",scale:"space",defaultScale:Es.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:Es.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:Es.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},et=at(ED),Be={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"}};Be.borderTopWidth={property:"borderTopWidth",scale:"borderWidths"},Be.borderTopColor={property:"borderTopColor",scale:"colors"},Be.borderTopStyle={property:"borderTopStyle",scale:"borderStyles"},Be.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},Be.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},Be.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},Be.borderBottomColor={property:"borderBottomColor",scale:"colors"},Be.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},Be.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},Be.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},Be.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},Be.borderLeftColor={property:"borderLeftColor",scale:"colors"},Be.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},Be.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},Be.borderRightColor={property:"borderRightColor",scale:"colors"},Be.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var Lt=at(Be),Yt={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};Yt.bgImage=Yt.backgroundImage,Yt.bgSize=Yt.backgroundSize,Yt.bgPosition=Yt.backgroundPosition,Yt.bgRepeat=Yt.backgroundRepeat;var _o=at(Yt),Ua={space:[0,4,8,16,32,64,128,256,512]},SD={position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:Ua.space},right:{property:"right",scale:"space",defaultScale:Ua.space},bottom:{property:"bottom",scale:"space",defaultScale:Ua.space},left:{property:"left",scale:"space",defaultScale:Ua.space}},Bn=at(SD),tt={space:[0,4,8,16,32,64,128,256,512]},Tp=function(t){return typeof t=="number"&&!isNaN(t)},jn=function(t,n){if(!Tp(t))return $n(n,t,t);var r=t<0,o=Math.abs(t),a=$n(n,o,o);return Tp(a)?a*(r?-1:1):r?"-"+a:a},ye={};ye.margin={margin:{property:"margin",scale:"space",transform:jn,defaultScale:tt.space},marginTop:{property:"marginTop",scale:"space",transform:jn,defaultScale:tt.space},marginRight:{property:"marginRight",scale:"space",transform:jn,defaultScale:tt.space},marginBottom:{property:"marginBottom",scale:"space",transform:jn,defaultScale:tt.space},marginLeft:{property:"marginLeft",scale:"space",transform:jn,defaultScale:tt.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:jn,defaultScale:tt.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:jn,defaultScale:tt.space}},ye.margin.m=ye.margin.margin,ye.margin.mt=ye.margin.marginTop,ye.margin.mr=ye.margin.marginRight,ye.margin.mb=ye.margin.marginBottom,ye.margin.ml=ye.margin.marginLeft,ye.margin.mx=ye.margin.marginX,ye.margin.my=ye.margin.marginY,ye.padding={padding:{property:"padding",scale:"space",defaultScale:tt.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:tt.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:tt.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:tt.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:tt.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:tt.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:tt.space}},ye.padding.p=ye.padding.padding,ye.padding.pt=ye.padding.paddingTop,ye.padding.pr=ye.padding.paddingRight,ye.padding.pb=ye.padding.paddingBottom,ye.padding.pl=ye.padding.paddingLeft,ye.padding.px=ye.padding.paddingX,ye.padding.py=ye.padding.paddingY;var Ss=at(ye.margin),Ds=at(ye.padding),Ps=ja(Ss,Ds),kp=at({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function xo(){return xo=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},xo.apply(this,arguments)}var Nt=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},DD=[40,52,64].map(function(e){return e+"em"}),PD={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},TD={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"},Cp={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},kD={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"},CD=function(t,n){if(typeof n!="number"||n>=0)return Nt(t,n,n);var r=Math.abs(n),o=Nt(t,r,r);return typeof o=="string"?"-"+o:o*-1},AD=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce(function(e,t){var n;return xo({},e,(n={},n[t]=CD,n))},{}),ID=function(t){return function(n){var r={},o=Nt(n,"breakpoints",DD),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}},OD=function e(t){return function(n){n===void 0&&(n={});var r=xo({},PD,{},n.theme||n),o={},a=typeof t=="function"?t(r):t,i=ID(a)(r);for(var l in i){var s=i[l],u=typeof s=="function"?s(r):s;if(l==="variant"){var d=e(Nt(r,u))(r);o=xo({},o,{},d);continue}if(u&&typeof u=="object"){o[l]=e(u)(r);continue}var f=Nt(TD,l,l),g=Nt(kD,f),m=Nt(r,g,Nt(r,f,{})),h=Nt(AD,f,Nt),b=h(m,u,u);if(Cp[f])for(var v=Cp[f],$=0;$<v.length;$++)o[v[$]]=b;else o[f]=b}return o}};const MD=OD;var Ts=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(m,h,b){return MD($n(h,m,null))(b.theme)}:u=function(m,h){return $n(h,m,null)},u.scale=r||s,u.defaults=l;var d=(n={},n[a]=u,n),f=Ba(d);return f},FD=Ts({key:"buttons"}),LD=Ts({key:"textStyles",prop:"textStyle"}),ND=Ts({key:"colorStyles",prop:"colors"}),zD=qe.width,RD=qe.height;qe.minWidth,qe.minHeight,qe.maxWidth,qe.maxHeight;var KD=qe.size;qe.verticalAlign,qe.display,qe.overflow,qe.overflowX,qe.overflowY,ws.opacity,Gt.fontSize,Gt.fontFamily,Gt.fontWeight,Gt.lineHeight,Gt.textAlign,Gt.fontStyle,Gt.letterSpacing,Xe.alignItems,Xe.alignContent,Xe.justifyItems,Xe.justifyContent,Xe.flexWrap,Xe.flexDirection,Xe.flex,Xe.flexGrow,Xe.flexShrink,Xe.flexBasis,Xe.justifySelf,Xe.alignSelf,Xe.order,et.gridGap,et.gridColumnGap,et.gridRowGap,et.gridColumn,et.gridRow,et.gridAutoFlow,et.gridAutoColumns,et.gridAutoRows,et.gridTemplateColumns,et.gridTemplateRows,et.gridTemplateAreas,et.gridArea,Lt.borderWidth,Lt.borderStyle,Lt.borderColor,Lt.borderTop,Lt.borderRight,Lt.borderBottom,Lt.borderLeft,Lt.borderRadius,_o.backgroundImage,_o.backgroundSize,_o.backgroundPosition,_o.backgroundRepeat,Bn.zIndex,Bn.top,Bn.right,Bn.bottom,Bn.left;var Wa=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]=_s({properties:s,property:r||n,scale:a,defaultScale:l,transform:i}),o&&(u[o]=u[n]);var d=Ba(u);return d};const VD=()=>`
31
+ */var Ep=Object.getOwnPropertySymbols,cD=Object.prototype.hasOwnProperty,uD=Object.prototype.propertyIsEnumerable;function dD(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function fD(){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 Sp=fD()?Object.assign:function(e,t){for(var n,r=dD(e),o,a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var i in n)cD.call(n,i)&&(r[i]=n[i]);if(Ep){o=Ep(n);for(var l=0;l<o.length;l++)uD.call(n,o[l])&&(r[o[l]]=n[o[l]])}}return r};const wt=Ma(Sp);var Dp=function(t,n){var r=wt({},t,n);for(var o in t){var a;!t[o]||typeof n[o]!="object"||wt(r,(a={},a[o]=wt(t[o],n[o]),a))}return r},pD=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},mD={breakpoints:[40,52,64].map(function(e){return e+"em"})},Pp=function(t){return"@media screen and (min-width: "+t+")"},gD=function(t,n){return $n(n,t,t)},$n=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},Ba=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],g=i[d],m=$n(i.theme,f.scale,f.defaults);if(typeof g=="object"){if(n.breakpoints=!u&&n.breakpoints||$n(i.theme,"breakpoints",mD.breakpoints),Array.isArray(g)){n.media=!u&&n.media||[null].concat(n.breakpoints.map(Pp)),l=Dp(l,hD(n.media,f,m,g,i));continue}g!==null&&(l=Dp(l,bD(n.breakpoints,f,m,g,i)),s=!0);continue}wt(l,f(g,m,i))}return s&&(l=pD(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},hD=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)wt(i,d);else{var f;wt(i,(f={},f[u]=wt({},i[u],d),f))}}),i},bD=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)wt(i,d);else{var f,g=Pp(s);wt(i,(f={},f[g]=wt({},i[g],d),f))}}return i},_s=function(t){var n=t.properties,r=t.property,o=t.scale,a=t.transform,i=a===void 0?gD:a,l=t.defaultScale;n=n||[r];var s=function(d,f,g){var m={},h=i(d,f,g);if(h!==null)return n.forEach(function(b){m[b]=h}),m};return s.scale=o,s.defaults=l,s},lt=function(t){t===void 0&&(t={});var n={};Object.keys(t).forEach(function(o){var a=t[o];if(a===!0){n[o]=_s({property:o,scale:o});return}if(typeof a=="function"){n[o]=a;return}n[o]=_s(a)});var r=Ba(n);return r},ja=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||wt(t,i.config)});var a=Ba(t);return a},vD=function(t){return typeof t=="number"&&!isNaN(t)},yD=function(t,n){return $n(n,t,!vD(t)||t>1?t:t*100+"%")},$D={width:{property:"width",scale:"sizes",transform:yD},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},Ze=lt($D),xs={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};xs.bg=xs.backgroundColor;var ws=lt(xs),_D={fontSizes:[12,14,16,20,24,32,48,64,72]},xD={fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:_D.fontSizes},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0},qt=lt(xD),wD={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},Je=lt(wD),Es={space:[0,4,8,16,32,64,128,256,512]},ED={gridGap:{property:"gridGap",scale:"space",defaultScale:Es.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:Es.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:Es.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},nt=lt(ED),Ue={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"}};Ue.borderTopWidth={property:"borderTopWidth",scale:"borderWidths"},Ue.borderTopColor={property:"borderTopColor",scale:"colors"},Ue.borderTopStyle={property:"borderTopStyle",scale:"borderStyles"},Ue.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},Ue.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},Ue.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},Ue.borderBottomColor={property:"borderBottomColor",scale:"colors"},Ue.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},Ue.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},Ue.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},Ue.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},Ue.borderLeftColor={property:"borderLeftColor",scale:"colors"},Ue.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},Ue.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},Ue.borderRightColor={property:"borderRightColor",scale:"colors"},Ue.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var Rt=lt(Ue),Xt={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};Xt.bgImage=Xt.backgroundImage,Xt.bgSize=Xt.backgroundSize,Xt.bgPosition=Xt.backgroundPosition,Xt.bgRepeat=Xt.backgroundRepeat;var _o=lt(Xt),Ua={space:[0,4,8,16,32,64,128,256,512]},SD={position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:Ua.space},right:{property:"right",scale:"space",defaultScale:Ua.space},bottom:{property:"bottom",scale:"space",defaultScale:Ua.space},left:{property:"left",scale:"space",defaultScale:Ua.space}},jn=lt(SD),rt={space:[0,4,8,16,32,64,128,256,512]},Tp=function(t){return typeof t=="number"&&!isNaN(t)},Un=function(t,n){if(!Tp(t))return $n(n,t,t);var r=t<0,o=Math.abs(t),a=$n(n,o,o);return Tp(a)?a*(r?-1:1):r?"-"+a:a},_e={};_e.margin={margin:{property:"margin",scale:"space",transform:Un,defaultScale:rt.space},marginTop:{property:"marginTop",scale:"space",transform:Un,defaultScale:rt.space},marginRight:{property:"marginRight",scale:"space",transform:Un,defaultScale:rt.space},marginBottom:{property:"marginBottom",scale:"space",transform:Un,defaultScale:rt.space},marginLeft:{property:"marginLeft",scale:"space",transform:Un,defaultScale:rt.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:Un,defaultScale:rt.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:Un,defaultScale:rt.space}},_e.margin.m=_e.margin.margin,_e.margin.mt=_e.margin.marginTop,_e.margin.mr=_e.margin.marginRight,_e.margin.mb=_e.margin.marginBottom,_e.margin.ml=_e.margin.marginLeft,_e.margin.mx=_e.margin.marginX,_e.margin.my=_e.margin.marginY,_e.padding={padding:{property:"padding",scale:"space",defaultScale:rt.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:rt.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:rt.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:rt.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:rt.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:rt.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:rt.space}},_e.padding.p=_e.padding.padding,_e.padding.pt=_e.padding.paddingTop,_e.padding.pr=_e.padding.paddingRight,_e.padding.pb=_e.padding.paddingBottom,_e.padding.pl=_e.padding.paddingLeft,_e.padding.px=_e.padding.paddingX,_e.padding.py=_e.padding.paddingY;var Ss=lt(_e.margin),Ds=lt(_e.padding),Ps=ja(Ss,Ds),kp=lt({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function xo(){return xo=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},xo.apply(this,arguments)}var Kt=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},DD=[40,52,64].map(function(e){return e+"em"}),PD={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},TD={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"},Cp={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},kD={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"},CD=function(t,n){if(typeof n!="number"||n>=0)return Kt(t,n,n);var r=Math.abs(n),o=Kt(t,r,r);return typeof o=="string"?"-"+o:o*-1},AD=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce(function(e,t){var n;return xo({},e,(n={},n[t]=CD,n))},{}),ID=function(t){return function(n){var r={},o=Kt(n,"breakpoints",DD),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}},OD=function e(t){return function(n){n===void 0&&(n={});var r=xo({},PD,{},n.theme||n),o={},a=typeof t=="function"?t(r):t,i=ID(a)(r);for(var l in i){var s=i[l],u=typeof s=="function"?s(r):s;if(l==="variant"){var d=e(Kt(r,u))(r);o=xo({},o,{},d);continue}if(u&&typeof u=="object"){o[l]=e(u)(r);continue}var f=Kt(TD,l,l),g=Kt(kD,f),m=Kt(r,g,Kt(r,f,{})),h=Kt(AD,f,Kt),b=h(m,u,u);if(Cp[f])for(var v=Cp[f],$=0;$<v.length;$++)o[v[$]]=b;else o[f]=b}return o}};const MD=OD;var Ts=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(m,h,b){return MD($n(h,m,null))(b.theme)}:u=function(m,h){return $n(h,m,null)},u.scale=r||s,u.defaults=l;var d=(n={},n[a]=u,n),f=Ba(d);return f},FD=Ts({key:"buttons"}),LD=Ts({key:"textStyles",prop:"textStyle"}),ND=Ts({key:"colorStyles",prop:"colors"}),zD=Ze.width,RD=Ze.height;Ze.minWidth,Ze.minHeight,Ze.maxWidth,Ze.maxHeight;var KD=Ze.size;Ze.verticalAlign,Ze.display,Ze.overflow,Ze.overflowX,Ze.overflowY,ws.opacity,qt.fontSize,qt.fontFamily,qt.fontWeight,qt.lineHeight,qt.textAlign,qt.fontStyle,qt.letterSpacing,Je.alignItems,Je.alignContent,Je.justifyItems,Je.justifyContent,Je.flexWrap,Je.flexDirection,Je.flex,Je.flexGrow,Je.flexShrink,Je.flexBasis,Je.justifySelf,Je.alignSelf,Je.order,nt.gridGap,nt.gridColumnGap,nt.gridRowGap,nt.gridColumn,nt.gridRow,nt.gridAutoFlow,nt.gridAutoColumns,nt.gridAutoRows,nt.gridTemplateColumns,nt.gridTemplateRows,nt.gridTemplateAreas,nt.gridArea,Rt.borderWidth,Rt.borderStyle,Rt.borderColor,Rt.borderTop,Rt.borderRight,Rt.borderBottom,Rt.borderLeft,Rt.borderRadius,_o.backgroundImage,_o.backgroundSize,_o.backgroundPosition,_o.backgroundRepeat,jn.zIndex,jn.top,jn.right,jn.bottom,jn.left;var Wa=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]=_s({properties:s,property:r||n,scale:a,defaultScale:l,transform:i}),o&&(u[o]=u[n]);var d=Ba(u);return d};const VD=()=>`
32
32
  box-sizing: border-box;
33
- `,BD=Wa({prop:"whiteSpace",cssProperty:"white-space"}),jD=Wa({prop:"userSelect",cssProperty:"user-select"}),UD=Wa({prop:"pointerEvents",cssProperty:"pointer-events"}),WD=Wa({prop:"gap",cssProperty:"gap"}),qt=ja(VD,BD,jD,Lt,ws,Xe,et,qe,Bn,kp,Ps,Gt,UD,WD),wo=()=>`
33
+ `,BD=Wa({prop:"whiteSpace",cssProperty:"white-space"}),jD=Wa({prop:"userSelect",cssProperty:"user-select"}),UD=Wa({prop:"pointerEvents",cssProperty:"pointer-events"}),WD=Wa({prop:"gap",cssProperty:"gap"}),Zt=ja(VD,BD,jD,Rt,ws,Je,nt,Ze,jn,kp,Ps,qt,UD,WD),wo=()=>`
34
34
  overflow: hidden;
35
35
  text-overflow: ellipsis;
36
36
  white-space: nowrap;
37
- `,Ap=((o5=qt.propNames)==null?void 0:o5.filter(e=>typeof e=="string"))??[];if(Ap.length===0)throw new Error("Prop names are required for the Box component. Make sure you have included the necessary styled-system props.");const HD=[...Ap,"truncate"],je=F.default.div.withConfig(iD(HD))`
38
- ${qt}
37
+ `,Ap=((o5=Zt.propNames)==null?void 0:o5.filter(e=>typeof e=="string"))??[];if(Ap.length===0)throw new Error("Prop names are required for the Box component. Make sure you have included the necessary styled-system props.");const HD=[...Ap,"truncate"],We=F.default.div.withConfig(iD(HD))`
38
+ ${Zt}
39
39
  ${({truncate:e})=>e&&wo()}
40
- `;je.displayName="Box";const me=je,GD=F.default(je)`
40
+ `;We.displayName="Box";const me=We,GD=F.default(We)`
41
41
  display: flex;
42
42
  ${({$cursor:e})=>e&&`cursor: ${e};`};
43
- `,xt=c.forwardRef((e,t)=>{const{children:n,tabIndex:r,cursor:o,...a}=e;return w(GD,{...a,ref:t,"data-id":e["data-id"],tabIndex:r,$cursor:o,children:n})});xt.displayName="Flex";const YD=ue.keyframes`
43
+ `,Et=c.forwardRef((e,t)=>{const{children:n,tabIndex:r,cursor:o,...a}=e;return w(GD,{...a,ref:t,"data-id":e["data-id"],tabIndex:r,$cursor:o,children:n})});Et.displayName="Flex";const YD=ue.keyframes`
44
44
  from {
45
45
  height: 0;
46
46
  }
@@ -96,7 +96,7 @@ object-assign
96
96
  }
97
97
  &[data-state='closed'] {
98
98
  }
99
- `,JD=F.default(we.ExpandMore)`
99
+ `,JD=F.default(Se.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 Mp({children:e,icon:t,bold:n=!0,...r}){return w(rD,{asChild:!0,children:ee(ZD,{...r,children:[t?w(QD,{mr:p.spacing_200,children:t}):null,w(Op,{style:{"--font-weight":n?p.font_weight_500:p.font_weight_300},children:e}),w(xt,{flex:"1",alignItems:"center",cursor:"pointer",className:"chev",width:p.spacing_400,children:w(JD,{})})]})})}function Fp({children:e,includeBottomDivider:t=!0,style:n,...r}){return w(XD,{...r,style:{"--border-bottom":t?`1px solid ${p.color_gray_88}`:"none",...n},children:e})}const eP=F.default(oD)`
133
+ `;function Mp({children:e,icon:t,bold:n=!0,...r}){return w(rD,{asChild:!0,children:ee(ZD,{...r,children:[t?w(QD,{mr:p.spacing_200,children:t}):null,w(Op,{style:{"--font-weight":n?p.font_weight_500:p.font_weight_300},children:e}),w(Et,{flex:"1",alignItems:"center",cursor:"pointer",className:"chev",width:p.spacing_400,children:w(JD,{})})]})})}function Fp({children:e,includeBottomDivider:t=!0,style:n,...r}){return w(XD,{...r,style:{"--border-bottom":t?`1px solid ${p.color_gray_88}`:"none",...n},children:e})}const eP=F.default(oD)`
134
134
  overflow: hidden;
135
135
  padding-bottom: ${p.spacing_200};
136
136
 
@@ -142,7 +142,7 @@ object-assign
142
142
  animation: ${qD} 300ms cubic-bezier(0.87, 0, 0.13, 1); // todo: use tokens
143
143
  transform: translateZ(0);
144
144
  }
145
- `,Eo=({children:e,type:t,...n})=>t==="multiple"?w(Ip,{type:"multiple",...n,children:e}):w(Ip,{type:"single",...n,children:e});Eo.displayName="Accordion",Eo.Item=Fp,Eo.Header=Mp,Eo.Content=eP;const tP=Eo;function nP(e,t=globalThis==null?void 0:globalThis.document){const n=Ue(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const ks="dismissableLayer.update",rP="dismissableLayer.pointerDownOutside",oP="dismissableLayer.focusOutside";let Lp;const Np=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),So=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(Np),[f,g]=c.useState(null),m=(n=f==null?void 0:f.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=c.useState({}),b=xe(t,_=>g(_)),v=Array.from(d.layers),[$]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf($),x=f?v.indexOf(f):-1,S=d.layersWithOutsidePointerEventsDisabled.size>0,k=x>=y,P=iP(_=>{const C=_.target,N=[...d.branches].some(E=>E.contains(C));!k||N||(a==null||a(_),l==null||l(_),_.defaultPrevented||s==null||s())},m),M=lP(_=>{const C=_.target;[...d.branches].some(E=>E.contains(C))||(i==null||i(_),l==null||l(_),_.defaultPrevented||s==null||s())},m);return nP(_=>{x===d.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&s&&(_.preventDefault(),s()))},m),c.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Lp=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),zp(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Lp)}},[f,m,r,d]),c.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),zp())},[f,d]),c.useEffect(()=>{const _=()=>h({});return document.addEventListener(ks,_),()=>document.removeEventListener(ks,_)},[]),c.createElement(de.div,L({},u,{ref:b,style:{pointerEvents:S?k?"auto":"none":void 0,...e.style},onFocusCapture:ae(e.onFocusCapture,M.onFocusCapture),onBlurCapture:ae(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:ae(e.onPointerDownCapture,P.onPointerDownCapture)}))}),aP=c.forwardRef((e,t)=>{const n=c.useContext(Np),r=c.useRef(null),o=xe(t,r);return c.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),c.createElement(de.div,L({},e,{ref:o}))});function iP(e,t=globalThis==null?void 0:globalThis.document){const n=Ue(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const a=l=>{if(l.target&&!r.current){let u=function(){Rp(rP,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 lP(e,t=globalThis==null?void 0:globalThis.document){const n=Ue(e),r=c.useRef(!1);return c.useEffect(()=>{const o=a=>{a.target&&!r.current&&Rp(oP,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 zp(){const e=new CustomEvent(ks);document.dispatchEvent(e)}function Rp(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?fs(o,a):o.dispatchEvent(a)}const sP=So,cP=aP,Cs="focusScope.autoFocusOnMount",As="focusScope.autoFocusOnUnmount",Kp={bubbles:!1,cancelable:!0},Is=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[l,s]=c.useState(null),u=Ue(o),d=Ue(a),f=c.useRef(null),g=xe(t,b=>s(b)),m=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let b=function(x){if(m.paused||!l)return;const S=x.target;l.contains(S)?f.current=S:_n(f.current,{select:!0})},v=function(x){if(m.paused||!l)return;const S=x.relatedTarget;S!==null&&(l.contains(S)||_n(f.current,{select:!0}))},$=function(x){const S=document.activeElement;for(const k of x)k.removedNodes.length>0&&(l!=null&&l.contains(S)||_n(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,m.paused]),c.useEffect(()=>{if(l){jp.add(m);const b=document.activeElement;if(!l.contains(b)){const $=new CustomEvent(Cs,Kp);l.addEventListener(Cs,u),l.dispatchEvent($),$.defaultPrevented||(uP(gP(Vp(l)),{select:!0}),document.activeElement===b&&_n(l))}return()=>{l.removeEventListener(Cs,u),setTimeout(()=>{const $=new CustomEvent(As,Kp);l.addEventListener(As,d),l.dispatchEvent($),$.defaultPrevented||_n(b??document.body,{select:!0}),l.removeEventListener(As,d),jp.remove(m)},0)}}},[l,u,d,m]);const h=c.useCallback(b=>{if(!n&&!r||m.paused)return;const v=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,$=document.activeElement;if(v&&$){const y=b.currentTarget,[x,S]=dP(y);x&&S?!b.shiftKey&&$===S?(b.preventDefault(),n&&_n(x,{select:!0})):b.shiftKey&&$===x&&(b.preventDefault(),n&&_n(S,{select:!0})):$===y&&b.preventDefault()}},[n,r,m.paused]);return c.createElement(de.div,L({tabIndex:-1},i,{ref:g,onKeyDown:h}))});function uP(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(_n(r,{select:t}),document.activeElement!==n)return}function dP(e){const t=Vp(e),n=Bp(t,e),r=Bp(t.reverse(),e);return[n,r]}function Vp(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 Bp(e,t){for(const n of e)if(!fP(n,{upTo:t}))return n}function fP(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 pP(e){return e instanceof HTMLInputElement&&"select"in e}function _n(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&pP(e)&&t&&e.select()}}const jp=mP();function mP(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Up(e,t),e.unshift(t)},remove(t){var n;e=Up(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Up(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function gP(e){return e.filter(t=>t.tagName!=="A")}const Do=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?Ht.default.createPortal(c.createElement(de.div,L({},o,{ref:t})),r):null});let Os=0;function Ms(){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:Wp()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Wp()),Os++,()=>{Os===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Os--}},[])}function Wp(){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 zt=function(){return zt=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},zt.apply(this,arguments)};function Hp(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 hP(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 Ha="right-scroll-bar-position",Ga="width-before-scroll-bar",bP="with-scroll-bars-hidden",vP="--removed-body-scroll-bar-size";function yP(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function $P(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 Gp(e,t){return $P(t||null,function(n){return e.forEach(function(r){return yP(r,n)})})}function Yp(e){return e}function qp(e,t){t===void 0&&(t=Yp);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 Fs(e,t){return t===void 0&&(t=Yp),qp(e,t)}function Xp(e){e===void 0&&(e={});var t=qp(null);return t.options=zt({async:!0,ssr:!1},e),t}var Zp=function(e){var t=e.sideCar,n=Hp(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,zt({},n))};Zp.isSideCarExport=!0;function _P(e,t){return e.useMedium(t),Zp}var Jp=Xp(),Ls=function(){},Ya=D.forwardRef(function(e,t){var n=D.useRef(null),r=D.useState({onScrollCapture:Ls,onWheelCapture:Ls,onTouchMoveCapture:Ls}),o=r[0],a=r[1],i=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,g=e.sideCar,m=e.noIsolation,h=e.inert,b=e.allowPinchZoom,v=e.as,$=v===void 0?"div":v,y=Hp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=g,S=Gp([n,t]),k=zt(zt({},y),o);return D.createElement(D.Fragment,null,d&&D.createElement(x,{sideCar:Jp,removeScrollBar:u,shards:f,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!b,lockRef:n}),i?D.cloneElement(D.Children.only(l),zt(zt({},k),{ref:S})):D.createElement($,zt({},k,{className:s,ref:S}),l))});Ya.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ya.classNames={fullWidth:Ga,zeroRight:Ha};var Qp,xP=function(){if(Qp)return Qp;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function wP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=xP();return t&&e.setAttribute("nonce",t),e}function EP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function SP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var DP=function(){var e=0,t=null;return{add:function(n){e==0&&(t=wP())&&(EP(t,n),SP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},PP=function(){var e=DP();return function(t,n){D.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},em=function(){var e=PP(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},TP={left:0,top:0,right:0,gap:0},Ns=function(e){return parseInt(e||"",10)||0},kP=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[Ns(n),Ns(r),Ns(o)]},CP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return TP;var t=kP(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])}},AP=em(),IP=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
+ `,Eo=({children:e,type:t,...n})=>t==="multiple"?w(Ip,{type:"multiple",...n,children:e}):w(Ip,{type:"single",...n,children:e});Eo.displayName="Accordion",Eo.Item=Fp,Eo.Header=Mp,Eo.Content=eP;const tP=Eo;function nP(e,t=globalThis==null?void 0:globalThis.document){const n=He(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const ks="dismissableLayer.update",rP="dismissableLayer.pointerDownOutside",oP="dismissableLayer.focusOutside";let Lp;const Np=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),So=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(Np),[f,g]=c.useState(null),m=(n=f==null?void 0:f.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=c.useState({}),b=Ee(t,_=>g(_)),v=Array.from(d.layers),[$]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf($),x=f?v.indexOf(f):-1,S=d.layersWithOutsidePointerEventsDisabled.size>0,k=x>=y,P=iP(_=>{const C=_.target,N=[...d.branches].some(E=>E.contains(C));!k||N||(a==null||a(_),l==null||l(_),_.defaultPrevented||s==null||s())},m),M=lP(_=>{const C=_.target;[...d.branches].some(E=>E.contains(C))||(i==null||i(_),l==null||l(_),_.defaultPrevented||s==null||s())},m);return nP(_=>{x===d.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&s&&(_.preventDefault(),s()))},m),c.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Lp=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),zp(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Lp)}},[f,m,r,d]),c.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),zp())},[f,d]),c.useEffect(()=>{const _=()=>h({});return document.addEventListener(ks,_),()=>document.removeEventListener(ks,_)},[]),c.createElement(de.div,L({},u,{ref:b,style:{pointerEvents:S?k?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,M.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,P.onPointerDownCapture)}))}),aP=c.forwardRef((e,t)=>{const n=c.useContext(Np),r=c.useRef(null),o=Ee(t,r);return c.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),c.createElement(de.div,L({},e,{ref:o}))});function iP(e,t=globalThis==null?void 0:globalThis.document){const n=He(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const a=l=>{if(l.target&&!r.current){let u=function(){Rp(rP,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 lP(e,t=globalThis==null?void 0:globalThis.document){const n=He(e),r=c.useRef(!1);return c.useEffect(()=>{const o=a=>{a.target&&!r.current&&Rp(oP,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 zp(){const e=new CustomEvent(ks);document.dispatchEvent(e)}function Rp(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?fs(o,a):o.dispatchEvent(a)}const sP=So,cP=aP,Cs="focusScope.autoFocusOnMount",As="focusScope.autoFocusOnUnmount",Kp={bubbles:!1,cancelable:!0},Is=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[l,s]=c.useState(null),u=He(o),d=He(a),f=c.useRef(null),g=Ee(t,b=>s(b)),m=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let b=function(x){if(m.paused||!l)return;const S=x.target;l.contains(S)?f.current=S:_n(f.current,{select:!0})},v=function(x){if(m.paused||!l)return;const S=x.relatedTarget;S!==null&&(l.contains(S)||_n(f.current,{select:!0}))},$=function(x){const S=document.activeElement;for(const k of x)k.removedNodes.length>0&&(l!=null&&l.contains(S)||_n(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,m.paused]),c.useEffect(()=>{if(l){jp.add(m);const b=document.activeElement;if(!l.contains(b)){const $=new CustomEvent(Cs,Kp);l.addEventListener(Cs,u),l.dispatchEvent($),$.defaultPrevented||(uP(gP(Vp(l)),{select:!0}),document.activeElement===b&&_n(l))}return()=>{l.removeEventListener(Cs,u),setTimeout(()=>{const $=new CustomEvent(As,Kp);l.addEventListener(As,d),l.dispatchEvent($),$.defaultPrevented||_n(b??document.body,{select:!0}),l.removeEventListener(As,d),jp.remove(m)},0)}}},[l,u,d,m]);const h=c.useCallback(b=>{if(!n&&!r||m.paused)return;const v=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,$=document.activeElement;if(v&&$){const y=b.currentTarget,[x,S]=dP(y);x&&S?!b.shiftKey&&$===S?(b.preventDefault(),n&&_n(x,{select:!0})):b.shiftKey&&$===x&&(b.preventDefault(),n&&_n(S,{select:!0})):$===y&&b.preventDefault()}},[n,r,m.paused]);return c.createElement(de.div,L({tabIndex:-1},i,{ref:g,onKeyDown:h}))});function uP(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(_n(r,{select:t}),document.activeElement!==n)return}function dP(e){const t=Vp(e),n=Bp(t,e),r=Bp(t.reverse(),e);return[n,r]}function Vp(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 Bp(e,t){for(const n of e)if(!fP(n,{upTo:t}))return n}function fP(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 pP(e){return e instanceof HTMLInputElement&&"select"in e}function _n(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&pP(e)&&t&&e.select()}}const jp=mP();function mP(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Up(e,t),e.unshift(t)},remove(t){var n;e=Up(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Up(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function gP(e){return e.filter(t=>t.tagName!=="A")}const Do=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?Yt.default.createPortal(c.createElement(de.div,L({},o,{ref:t})),r):null});let Os=0;function Ms(){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:Wp()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Wp()),Os++,()=>{Os===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Os--}},[])}function Wp(){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 Vt=function(){return Vt=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},Vt.apply(this,arguments)};function Hp(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 hP(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 Ha="right-scroll-bar-position",Ga="width-before-scroll-bar",bP="with-scroll-bars-hidden",vP="--removed-body-scroll-bar-size";function yP(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function $P(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 Gp(e,t){return $P(t||null,function(n){return e.forEach(function(r){return yP(r,n)})})}function Yp(e){return e}function qp(e,t){t===void 0&&(t=Yp);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 Fs(e,t){return t===void 0&&(t=Yp),qp(e,t)}function Xp(e){e===void 0&&(e={});var t=qp(null);return t.options=Vt({async:!0,ssr:!1},e),t}var Zp=function(e){var t=e.sideCar,n=Hp(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,Vt({},n))};Zp.isSideCarExport=!0;function _P(e,t){return e.useMedium(t),Zp}var Jp=Xp(),Ls=function(){},Ya=D.forwardRef(function(e,t){var n=D.useRef(null),r=D.useState({onScrollCapture:Ls,onWheelCapture:Ls,onTouchMoveCapture:Ls}),o=r[0],a=r[1],i=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,g=e.sideCar,m=e.noIsolation,h=e.inert,b=e.allowPinchZoom,v=e.as,$=v===void 0?"div":v,y=Hp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=g,S=Gp([n,t]),k=Vt(Vt({},y),o);return D.createElement(D.Fragment,null,d&&D.createElement(x,{sideCar:Jp,removeScrollBar:u,shards:f,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!b,lockRef:n}),i?D.cloneElement(D.Children.only(l),Vt(Vt({},k),{ref:S})):D.createElement($,Vt({},k,{className:s,ref:S}),l))});Ya.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ya.classNames={fullWidth:Ga,zeroRight:Ha};var Qp,xP=function(){if(Qp)return Qp;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function wP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=xP();return t&&e.setAttribute("nonce",t),e}function EP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function SP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var DP=function(){var e=0,t=null;return{add:function(n){e==0&&(t=wP())&&(EP(t,n),SP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},PP=function(){var e=DP();return function(t,n){D.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},em=function(){var e=PP(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},TP={left:0,top:0,right:0,gap:0},Ns=function(e){return parseInt(e||"",10)||0},kP=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[Ns(n),Ns(r),Ns(o)]},CP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return TP;var t=kP(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])}},AP=em(),IP=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(bP,` {
147
147
  overflow: hidden `).concat(r,`;
148
148
  padding-right: `).concat(l,"px ").concat(r,`;
@@ -179,21 +179,21 @@ object-assign
179
179
  body {
180
180
  `).concat(vP,": ").concat(l,`px;
181
181
  }
182
- `)},OP=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,a=D.useMemo(function(){return CP(o)},[o]);return D.createElement(AP,{styles:IP(a,!t,o,n?"":"!important")})},zs=!1;if(typeof window<"u")try{var qa=Object.defineProperty({},"passive",{get:function(){return zs=!0,!0}});window.addEventListener("test",qa,qa),window.removeEventListener("test",qa,qa)}catch{zs=!1}var mr=zs?{passive:!1}:!1,MP=function(e){return e.tagName==="TEXTAREA"},tm=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!MP(e)&&n[t]==="visible")},FP=function(e){return tm(e,"overflowY")},LP=function(e){return tm(e,"overflowX")},nm=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=rm(e,n);if(r){var o=om(e,n),a=o[1],i=o[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},NP=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},zP=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},rm=function(e,t){return e==="v"?FP(t):LP(t)},om=function(e,t){return e==="v"?NP(t):zP(t)},RP=function(e,t){return e==="h"&&t==="rtl"?-1:1},KP=function(e,t,n,r,o){var a=RP(e,window.getComputedStyle(t).direction),i=a*r,l=n.target,s=t.contains(l),u=!1,d=i>0,f=0,g=0;do{var m=om(e,l),h=m[0],b=m[1],v=m[2],$=b-v-a*h;(h||$)&&rm(e,l)&&(f+=$,g+=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&&g===0||!o&&-i>g))&&(u=!0),u},Xa=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},am=function(e){return[e.deltaX,e.deltaY]},im=function(e){return e&&"current"in e?e.current:e},VP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},BP=function(e){return`
182
+ `)},OP=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,a=D.useMemo(function(){return CP(o)},[o]);return D.createElement(AP,{styles:IP(a,!t,o,n?"":"!important")})},zs=!1;if(typeof window<"u")try{var qa=Object.defineProperty({},"passive",{get:function(){return zs=!0,!0}});window.addEventListener("test",qa,qa),window.removeEventListener("test",qa,qa)}catch{zs=!1}var gr=zs?{passive:!1}:!1,MP=function(e){return e.tagName==="TEXTAREA"},tm=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!MP(e)&&n[t]==="visible")},FP=function(e){return tm(e,"overflowY")},LP=function(e){return tm(e,"overflowX")},nm=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=rm(e,n);if(r){var o=om(e,n),a=o[1],i=o[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},NP=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},zP=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},rm=function(e,t){return e==="v"?FP(t):LP(t)},om=function(e,t){return e==="v"?NP(t):zP(t)},RP=function(e,t){return e==="h"&&t==="rtl"?-1:1},KP=function(e,t,n,r,o){var a=RP(e,window.getComputedStyle(t).direction),i=a*r,l=n.target,s=t.contains(l),u=!1,d=i>0,f=0,g=0;do{var m=om(e,l),h=m[0],b=m[1],v=m[2],$=b-v-a*h;(h||$)&&rm(e,l)&&(f+=$,g+=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&&g===0||!o&&-i>g))&&(u=!0),u},Xa=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},am=function(e){return[e.deltaX,e.deltaY]},im=function(e){return e&&"current"in e?e.current:e},VP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},BP=function(e){return`
183
183
  .block-interactivity-`.concat(e,` {pointer-events: none;}
184
184
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
185
- `)},jP=0,gr=[];function UP(e){var t=D.useRef([]),n=D.useRef([0,0]),r=D.useRef(),o=D.useState(jP++)[0],a=D.useState(function(){return em()})[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=hP([e.lockRef.current],(e.shards||[]).map(im),!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 $=Xa(b),y=n.current,x="deltaX"in b?b.deltaX:y[0]-$[0],S="deltaY"in b?b.deltaY:y[1]-$[1],k,P=b.target,M=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in b&&M==="h"&&P.type==="range")return!1;var _=nm(M,P);if(!_)return!0;if(_?k=M:(k=M==="v"?"h":"v",_=nm(M,P)),!_)return!1;if(!r.current&&"changedTouches"in b&&(x||S)&&(r.current=k),!k)return!0;var C=r.current||k;return KP(C,v,b,C==="h"?x:S,!0)},[]),s=D.useCallback(function(b){var v=b;if(!(!gr.length||gr[gr.length-1]!==a)){var $="deltaY"in v?am(v):Xa(v),y=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&VP(k.delta,$)})[0];if(y&&y.should){v.cancelable&&v.preventDefault();return}if(!y){var x=(i.current.shards||[]).map(im).filter(Boolean).filter(function(k){return k.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=Xa(b),r.current=void 0},[]),f=D.useCallback(function(b){u(b.type,am(b),b.target,l(b,e.lockRef.current))},[]),g=D.useCallback(function(b){u(b.type,Xa(b),b.target,l(b,e.lockRef.current))},[]);D.useEffect(function(){return gr.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:g}),document.addEventListener("wheel",s,mr),document.addEventListener("touchmove",s,mr),document.addEventListener("touchstart",d,mr),function(){gr=gr.filter(function(b){return b!==a}),document.removeEventListener("wheel",s,mr),document.removeEventListener("touchmove",s,mr),document.removeEventListener("touchstart",d,mr)}},[]);var m=e.removeScrollBar,h=e.inert;return D.createElement(D.Fragment,null,h?D.createElement(a,{styles:BP(o)}):null,m?D.createElement(OP,{gapMode:"margin"}):null)}const WP=_P(Jp,UP);var lm=D.forwardRef(function(e,t){return D.createElement(Ya,zt({},e,{ref:t,sideCar:WP}))});lm.classNames=Ya.classNames;const Rs=lm;var HP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},hr=new WeakMap,Za=new WeakMap,Ja={},Ks=0,sm=function(e){return e&&(e.host||sm(e.parentNode))},GP=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=sm(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})},YP=function(e,t,n,r){var o=GP(t,Array.isArray(e)?e:[e]);Ja[n]||(Ja[n]=new WeakMap);var a=Ja[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(g){if(l.has(g))d(g);else{var m=g.getAttribute(r),h=m!==null&&m!=="false",b=(hr.get(g)||0)+1,v=(a.get(g)||0)+1;hr.set(g,b),a.set(g,v),i.push(g),b===1&&h&&Za.set(g,!0),v===1&&g.setAttribute(n,"true"),h||g.setAttribute(r,"true")}})};return d(t),l.clear(),Ks++,function(){i.forEach(function(f){var g=hr.get(f)-1,m=a.get(f)-1;hr.set(f,g),a.set(f,m),g||(Za.has(f)||f.removeAttribute(r),Za.delete(f)),m||f.removeAttribute(n)}),Ks--,Ks||(hr=new WeakMap,hr=new WeakMap,Za=new WeakMap,Ja={})}},Vs=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||HP(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),YP(r,o,n,"aria-hidden")):function(){return null}};const cm="Dialog",[um,dm]=Ve(cm),[qP,wt]=um(cm),XP=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]=We({prop:r,defaultProp:o,onChange:a});return c.createElement(qP,{scope:t,triggerRef:l,contentRef:s,contentId:ot(),titleId:ot(),descriptionId:ot(),open:u,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(f=>!f),[d]),modal:i},n)},ZP="DialogTrigger",JP=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=wt(ZP,n),a=xe(t,o.triggerRef);return c.createElement(de.button,L({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":js(o.open)},r,{ref:a,onClick:ae(e.onClick,o.onOpenToggle)}))}),fm="DialogPortal",[QP,pm]=um(fm,{forceMount:void 0}),e6=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=wt(fm,t);return c.createElement(QP,{scope:t,forceMount:n},c.Children.map(r,i=>c.createElement(He,{present:n||a.open},c.createElement(Do,{asChild:!0,container:o},i))))},Bs="DialogOverlay",t6=c.forwardRef((e,t)=>{const n=pm(Bs,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=wt(Bs,e.__scopeDialog);return a.modal?c.createElement(He,{present:r||a.open},c.createElement(n6,L({},o,{ref:t}))):null}),n6=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=wt(Bs,n);return c.createElement(Rs,{as:Vn,allowPinchZoom:!0,shards:[o.contentRef]},c.createElement(de.div,L({"data-state":js(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),br="DialogContent",r6=c.forwardRef((e,t)=>{const n=pm(br,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=wt(br,e.__scopeDialog);return c.createElement(He,{present:r||a.open},a.modal?c.createElement(o6,L({},o,{ref:t})):c.createElement(a6,L({},o,{ref:t})))}),o6=c.forwardRef((e,t)=>{const n=wt(br,e.__scopeDialog),r=c.useRef(null),o=xe(t,n.contentRef,r);return c.useEffect(()=>{const a=r.current;if(a)return Vs(a)},[]),c.createElement(mm,L({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ae(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:ae(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0;(i.button===2||l)&&a.preventDefault()}),onFocusOutside:ae(e.onFocusOutside,a=>a.preventDefault())}))}),a6=c.forwardRef((e,t)=>{const n=wt(br,e.__scopeDialog),r=c.useRef(!1),o=c.useRef(!1);return c.createElement(mm,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()}}))}),mm=c.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,l=wt(br,n),s=c.useRef(null),u=xe(t,s);return Ms(),c.createElement(c.Fragment,null,c.createElement(Is,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(So,L({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":js(l.open)},i,{ref:u,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),gm="DialogTitle",i6=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=wt(gm,n);return c.createElement(de.h2,L({id:o.titleId},r,{ref:t}))}),l6="DialogDescription",s6=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=wt(l6,n);return c.createElement(de.p,L({id:o.descriptionId},r,{ref:t}))}),c6="DialogClose",u6=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=wt(c6,n);return c.createElement(de.button,L({type:"button"},r,{ref:t,onClick:ae(e.onClick,()=>o.onOpenChange(!1))}))});function js(e){return e?"open":"closed"}const d6="DialogTitleWarning",[f6,BV]=_5(d6,{contentName:br,titleName:gm,docsSlug:"dialog"}),hm=XP,bm=JP,vm=e6,ym=t6,$m=r6,_m=i6,xm=s6,Qa=u6,p6="AlertDialog",[m6,jV]=Ve(p6,[dm]),Xt=dm(),g6=e=>{const{__scopeAlertDialog:t,...n}=e,r=Xt(t);return c.createElement(hm,L({},r,n,{modal:!0}))},h6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Xt(n);return c.createElement(bm,L({},o,r,{ref:t}))}),b6=e=>{const{__scopeAlertDialog:t,...n}=e,r=Xt(t);return c.createElement(vm,L({},r,n))},v6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Xt(n);return c.createElement(ym,L({},o,r,{ref:t}))}),wm="AlertDialogContent",[y6,$6]=m6(wm),_6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,a=Xt(n),i=c.useRef(null),l=xe(t,i),s=c.useRef(null);return c.createElement(f6,{contentName:wm,titleName:x6,docsSlug:"alert-dialog"},c.createElement(y6,{scope:n,cancelRef:s},c.createElement($m,L({role:"alertdialog"},a,o,{ref:l,onOpenAutoFocus:ae(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(ds,null,r),!1)))}),x6="AlertDialogTitle",w6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Xt(n);return c.createElement(_m,L({},o,r,{ref:t}))}),E6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Xt(n);return c.createElement(xm,L({},o,r,{ref:t}))}),S6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Xt(n);return c.createElement(Qa,L({},o,r,{ref:t}))}),D6="AlertDialogCancel",P6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=$6(D6,n),a=Xt(n),i=xe(t,o);return c.createElement(Qa,L({},a,r,{ref:i}))}),T6=g6,k6=h6,C6=b6,A6=v6,I6=_6,O6=S6,Em=P6,M6=w6,F6=E6;function ei(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 Us={exports:{}},Ws,Sm;function Hs(){if(Sm)return Ws;Sm=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ws=e,Ws}var Gs,Dm;function Pm(){return Dm||(Dm=1,Gs=Function.call.bind(Object.prototype.hasOwnProperty)),Gs}var Ys,Tm;function L6(){if(Tm)return Ys;Tm=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Hs(),n={},r=Pm();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 g=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 g.name="Invariant Violation",g}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 m=u?u():"";e("Failed "+l+" type: "+f.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Ys=o,Ys}var qs,km;function N6(){if(km)return qs;km=1;var e=ls.default,t=Sp,n=Hs(),r=Pm(),o=L6(),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 qs=function(l,s){var u=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(R){var W=R&&(u&&R[u]||R[d]);if(typeof W=="function")return W}var g="<<anonymous>>",m={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:y(),arrayOf:x,element:S(),elementType:k(),instanceOf:P,node:N(),objectOf:_,oneOf:M,oneOfType:C,shape:V,exact:O};function h(R,W){return R===W?R!==0||1/R===1/W:R!==R&&W!==W}function b(R,W){this.message=R,this.data=W&&typeof W=="object"?W:{},this.stack=""}b.prototype=Error.prototype;function v(R){if(process.env.NODE_ENV!=="production")var W={},B=0;function K(ne,re,le,X,J,se,he){if(X=X||g,se=se||le,he!==n){if(s){var Y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Y.name="Invariant Violation",Y}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var te=X+":"+le;!W[te]&&B<3&&(a("You are manually calling a React.PropTypes validation function for the `"+se+"` 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."),W[te]=!0,B++)}}return re[le]==null?ne?re[le]===null?new b("The "+J+" `"+se+"` is marked as required "+("in `"+X+"`, but its value is `null`.")):new b("The "+J+" `"+se+"` is marked as required in "+("`"+X+"`, but its value is `undefined`.")):null:R(re,le,X,J,se)}var H=K.bind(null,!1);return H.isRequired=K.bind(null,!0),H}function $(R){function W(B,K,H,ne,re,le){var X=B[K],J=I(X);if(J!==R){var se=Z(X);return new b("Invalid "+ne+" `"+re+"` of type "+("`"+se+"` supplied to `"+H+"`, expected ")+("`"+R+"`."),{expectedType:R})}return null}return v(W)}function y(){return v(i)}function x(R){function W(B,K,H,ne,re){if(typeof R!="function")return new b("Property `"+re+"` of component `"+H+"` has invalid PropType notation inside arrayOf.");var le=B[K];if(!Array.isArray(le)){var X=I(le);return new b("Invalid "+ne+" `"+re+"` of type "+("`"+X+"` supplied to `"+H+"`, expected an array."))}for(var J=0;J<le.length;J++){var se=R(le,J,H,ne,re+"["+J+"]",n);if(se instanceof Error)return se}return null}return v(W)}function S(){function R(W,B,K,H,ne){var re=W[B];if(!l(re)){var le=I(re);return new b("Invalid "+H+" `"+ne+"` of type "+("`"+le+"` supplied to `"+K+"`, expected a single ReactElement."))}return null}return v(R)}function k(){function R(W,B,K,H,ne){var re=W[B];if(!e.isValidElementType(re)){var le=I(re);return new b("Invalid "+H+" `"+ne+"` of type "+("`"+le+"` supplied to `"+K+"`, expected a single ReactElement type."))}return null}return v(R)}function P(R){function W(B,K,H,ne,re){if(!(B[K]instanceof R)){var le=R.name||g,X=q(B[K]);return new b("Invalid "+ne+" `"+re+"` of type "+("`"+X+"` supplied to `"+H+"`, expected ")+("instance of `"+le+"`."))}return null}return v(W)}function M(R){if(!Array.isArray(R))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 W(B,K,H,ne,re){for(var le=B[K],X=0;X<R.length;X++)if(h(le,R[X]))return null;var J=JSON.stringify(R,function(he,Y){var te=Z(Y);return te==="symbol"?String(Y):Y});return new b("Invalid "+ne+" `"+re+"` of value `"+String(le)+"` "+("supplied to `"+H+"`, expected one of "+J+"."))}return v(W)}function _(R){function W(B,K,H,ne,re){if(typeof R!="function")return new b("Property `"+re+"` of component `"+H+"` has invalid PropType notation inside objectOf.");var le=B[K],X=I(le);if(X!=="object")return new b("Invalid "+ne+" `"+re+"` of type "+("`"+X+"` supplied to `"+H+"`, expected an object."));for(var J in le)if(r(le,J)){var se=R(le,J,H,ne,re+"."+J,n);if(se instanceof Error)return se}return null}return v(W)}function C(R){if(!Array.isArray(R))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var W=0;W<R.length;W++){var B=R[W];if(typeof B!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+j(B)+" at index "+W+"."),i}function K(H,ne,re,le,X){for(var J=[],se=0;se<R.length;se++){var he=R[se],Y=he(H,ne,re,le,X,n);if(Y==null)return null;Y.data&&r(Y.data,"expectedType")&&J.push(Y.data.expectedType)}var te=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new b("Invalid "+le+" `"+X+"` supplied to "+("`"+re+"`"+te+"."))}return v(K)}function N(){function R(W,B,K,H,ne){return T(W[B])?null:new b("Invalid "+H+" `"+ne+"` supplied to "+("`"+K+"`, expected a ReactNode."))}return v(R)}function E(R,W,B,K,H){return new b((R||"React class")+": "+W+" type `"+B+"."+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+H+"`.")}function V(R){function W(B,K,H,ne,re){var le=B[K],X=I(le);if(X!=="object")return new b("Invalid "+ne+" `"+re+"` of type `"+X+"` "+("supplied to `"+H+"`, expected `object`."));for(var J in R){var se=R[J];if(typeof se!="function")return E(H,ne,re,J,Z(se));var he=se(le,J,H,ne,re+"."+J,n);if(he)return he}return null}return v(W)}function O(R){function W(B,K,H,ne,re){var le=B[K],X=I(le);if(X!=="object")return new b("Invalid "+ne+" `"+re+"` of type `"+X+"` "+("supplied to `"+H+"`, expected `object`."));var J=t({},B[K],R);for(var se in J){var he=R[se];if(r(R,se)&&typeof he!="function")return E(H,ne,re,se,Z(he));if(!he)return new b("Invalid "+ne+" `"+re+"` key `"+se+"` supplied to `"+H+"`.\nBad object: "+JSON.stringify(B[K],null," ")+`
186
- Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"."+se,n);if(Y)return Y}return null}return v(W)}function T(R){switch(typeof R){case"number":case"string":case"undefined":return!0;case"boolean":return!R;case"object":if(Array.isArray(R))return R.every(T);if(R===null||l(R))return!0;var W=f(R);if(W){var B=W.call(R),K;if(W!==R.entries){for(;!(K=B.next()).done;)if(!T(K.value))return!1}else for(;!(K=B.next()).done;){var H=K.value;if(H&&!T(H[1]))return!1}}else return!1;return!0;default:return!1}}function U(R,W){return R==="symbol"?!0:W?W["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&W instanceof Symbol:!1}function I(R){var W=typeof R;return Array.isArray(R)?"array":R instanceof RegExp?"object":U(W,R)?"symbol":W}function Z(R){if(typeof R>"u"||R===null)return""+R;var W=I(R);if(W==="object"){if(R instanceof Date)return"date";if(R instanceof RegExp)return"regexp"}return W}function j(R){var W=Z(R);switch(W){case"array":case"object":return"an "+W;case"boolean":case"date":case"regexp":return"a "+W;default:return W}}function q(R){return!R.constructor||!R.constructor.name?g:R.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},qs}var Xs,Cm;function z6(){if(Cm)return Xs;Cm=1;var e=Hs();function t(){}function n(){}return n.resetWarningCache=t,Xs=function(){function r(i,l,s,u,d,f){if(f!==e){var g=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 g.name="Invariant Violation",g}}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},Xs}if(process.env.NODE_ENV!=="production"){var R6=ls.default,K6=!0;Us.exports=N6()(R6.isElement,K6)}else Us.exports=z6()();var Ee=Us.exports;const ie=Ma(Ee);var Zs="data-focus-lock",Am="data-focus-lock-disabled",V6="data-no-focus-lock",B6="data-autofocus-inside",j6="data-no-autofocus",Js={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};process.env.NODE_ENV!=="production"&&ie.node;var Im=Fs({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),Om=Fs(),U6=Fs(),W6=Xp({async:!0}),H6=[],Qs=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,g=t.noFocusGuards,m=t.persistentFocus,h=t.crossFrame,b=t.autoFocus,v=t.allowTextSelection,$=t.group,y=t.className,x=t.whiteList,S=t.hasPositiveIndices,k=t.shards,P=k===void 0?H6:k,M=t.as,_=M===void 0?"div":M,C=t.lockProps,N=C===void 0?{}:C,E=t.sideCar,V=t.returnFocus,O=t.focusOptions,T=t.onActivation,U=t.onDeactivation,I=D.useState({}),Z=I[0],j=D.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&T&&T(l.current),s.current=!0},[T]),q=D.useCallback(function(){s.current=!1,U&&U(l.current)},[U]);c.useEffect(function(){f||(u.current=null)},[]);var R=D.useCallback(function(X){var J=u.current;if(J&&J.focus){var se=typeof V=="function"?V(J):V;if(se){var he=typeof se=="object"?se:void 0;u.current=null,X?Promise.resolve().then(function(){return J.focus(he)}):J.focus(he)}}},[V]),W=D.useCallback(function(X){s.current&&Im.useMedium(X)},[]),B=Om.useMedium,K=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 H=L((r={},r[Am]=f&&"disabled",r[Zs]=$,r),N),ne=g!==!0,re=ne&&g!=="tail",le=Gp([n,K]);return D.createElement(D.Fragment,null,ne&&[D.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:Js}),S?D.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:Js}):null],!f&&D.createElement(E,{id:Z,sideCar:W6,observed:a,disabled:f,persistentFocus:m,crossFrame:h,autoFocus:b,whiteList:x,shards:P,onActivation:j,onDeactivation:q,returnFocus:R,focusOptions:O}),D.createElement(_,L({ref:le},H,{className:y,onBlur:B,onFocus:W}),d),re&&D.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:Js}))});Qs.propTypes=process.env.NODE_ENV!=="production"?{children:Ee.node,disabled:Ee.bool,returnFocus:Ee.oneOfType([Ee.bool,Ee.object,Ee.func]),focusOptions:Ee.object,noFocusGuards:Ee.bool,hasPositiveIndices:Ee.bool,allowTextSelection:Ee.bool,autoFocus:Ee.bool,persistentFocus:Ee.bool,crossFrame:Ee.bool,group:Ee.string,className:Ee.string,whiteList:Ee.func,shards:Ee.arrayOf(Ee.any),as:Ee.oneOfType([Ee.string,Ee.func,Ee.object]),lockProps:Ee.object,onActivation:Ee.func,onDeactivation:Ee.func,sideCar:Ee.any.isRequired}:{},Qs.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 Mm=Qs;function ec(e,t){return ec=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},ec(e,t)}function ti(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ec(e,t)}function xn(e){"@babel/helpers - typeof";return xn=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},xn(e)}function G6(e,t){if(xn(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(xn(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fm(e){var t=G6(e,"string");return xn(t)==="symbol"?t:String(t)}function vr(e,t,n){return t=Fm(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y6(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){ti(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 m=a.indexOf(this);a.splice(m,1),l()},f.render=function(){return D.default.createElement(o,this.props)},d}(c.PureComponent);return vr(s,"displayName","SideEffect("+n(o)+")"),s}}var Rt=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},ni=function(e){return Array.isArray(e)?e:[e]},Lm=function(e){return Array.isArray(e)?e[0]:e},q6=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"},Nm=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},zm=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},X6=function(e,t){return!e||zm(e)||!q6(e)&&t(Nm(e))},Rm=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=X6(t,Rm.bind(void 0,e));return e.set(t,r),r},Z6=function(e,t){return e&&!zm(e)?e3(e)?t(Nm(e)):!1:!0},Km=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=Z6(t,Km.bind(void 0,e));return e.set(t,r),r},Vm=function(e){return e.dataset},J6=function(e){return e.tagName==="BUTTON"},Bm=function(e){return e.tagName==="INPUT"},jm=function(e){return Bm(e)&&e.type==="radio"},Q6=function(e){return!((Bm(e)||J6(e))&&(e.type==="hidden"||e.disabled))},e3=function(e){var t=e.getAttribute(j6);return![!0,"true",""].includes(t)},tc=function(e){var t;return!!(e&&(!((t=Vm(e))===null||t===void 0)&&t.focusGuard))},ri=function(e){return!tc(e)},t3=function(e){return!!e},n3=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},Um=function(e,t,n){return Rt(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(n3)},r3=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],nc=r3.join(","),o3="".concat(nc,", [data-focus-guard]"),Wm=function(e,t){return Rt((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?o3:nc)?[r]:[],Wm(r))},[])},a3=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?oi([e.contentDocument.body],t):[e]},oi=function(e,t){return e.reduce(function(n,r){var o,a=Wm(r,t),i=(o=[]).concat.apply(o,a.map(function(l){return a3(l,t)}));return n.concat(i,r.parentNode?Rt(r.parentNode.querySelectorAll(nc)).filter(function(l){return l===r}):[])},[])},i3=function(e){var t=e.querySelectorAll("[".concat(B6,"]"));return Rt(t).map(function(n){return oi([n])}).reduce(function(n,r){return n.concat(r)},[])},rc=function(e,t){return Rt(e).filter(function(n){return Rm(t,n)}).filter(function(n){return Q6(n)})},Hm=function(e,t){return t===void 0&&(t=new Map),Rt(e).filter(function(n){return Km(t,n)})},oc=function(e,t,n){return Um(rc(oi(e,n),t),!0,n)},Gm=function(e,t){return Um(rc(oi(e),t),!1)},l3=function(e,t){return rc(i3(e),t)},yr=function(e,t){return e.shadowRoot?yr(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:Rt(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?yr(o,t):!1}return yr(n,t)})},s3=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)})},Ym=function(e){return e.parentNode?Ym(e.parentNode):e},ac=function(e){var t=ni(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(Zs);return n.push.apply(n,o?s3(Rt(Ym(r).querySelectorAll("[".concat(Zs,'="').concat(o,'"]:not([').concat(Am,'="disabled"])')))):[r]),n},[])},c3=function(e){try{return e()}catch{return}},Po=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?Po(t.shadowRoot):t instanceof HTMLIFrameElement&&c3(function(){return t.contentWindow.document})?Po(t.contentWindow.document):t}},u3=function(e,t){return e===t},d3=function(e,t){return!!Rt(e.querySelectorAll("iframe")).some(function(n){return u3(n,t)})},qm=function(e,t){return t===void 0&&(t=Po(Lm(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:ac(e).some(function(n){return yr(n,t)||d3(n,t)})},f3=function(e){e===void 0&&(e=document);var t=Po(e);return t?Rt(e.querySelectorAll("[".concat(V6,"]"))).some(function(n){return yr(n,t)}):!1},p3=function(e,t){return t.filter(jm).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},ic=function(e,t){return jm(e)&&e.name?p3(e,t):e},m3=function(e){var t=new Set;return e.forEach(function(n){return t.add(ic(n,e))}),e.filter(function(n){return t.has(n)})},Xm=function(e){return e[0]&&e.length>1?ic(e[0],e):e[0]},Zm=function(e,t){return e.length>1?e.indexOf(ic(e[t],e)):t},Jm="NEW_FOCUS",g3=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],l=tc(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,g=t.indexOf(a),m=t.indexOf(i),h=m3(t),b=n!==void 0?h.indexOf(n):-1,v=b-(r?h.indexOf(r):s),$=Zm(e,0),y=Zm(e,o-1);if(s===-1||d===-1)return Jm;if(!f&&d>=0)return d;if(s<=g&&l&&Math.abs(f)>1)return y;if(s>=m&&l&&Math.abs(f)>1)return $;if(f&&Math.abs(v)>1)return d;if(s<=g)return y;if(s>m)return $;if(f)return Math.abs(f)>1?d:(o+d+f)%o}},h3=function(e){return function(t){var n,r=(n=Vm(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},b3=function(e,t,n){var r=e.map(function(a){var i=a.node;return i}),o=Hm(r.filter(h3(n)));return o&&o.length?Xm(o):Xm(Hm(t))},lc=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&lc(e.parentNode.host||e.parentNode,t),t},sc=function(e,t){for(var n=lc(e),r=lc(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},Qm=function(e,t,n){var r=ni(e),o=ni(t),a=r[0],i=!1;return o.filter(Boolean).forEach(function(l){i=sc(i||l,l)||i,n.filter(Boolean).forEach(function(s){var u=sc(a,s);u&&(!i||yr(u,i)?i=u:i=sc(u,i))})}),i},v3=function(e,t){return e.reduce(function(n,r){return n.concat(l3(r,t))},[])},y3=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(t3)},$3=function(e,t){var n=Po(ni(e).length>0?document:Lm(e).ownerDocument),r=ac(e).filter(ri),o=Qm(n||e,e,r),a=new Map,i=Gm(r,a),l=oc(r,a).filter(function(m){var h=m.node;return ri(h)});if(!(!l[0]&&(l=i,!l[0]))){var s=Gm([o],a).map(function(m){var h=m.node;return h}),u=y3(s,l),d=u.map(function(m){var h=m.node;return h}),f=g3(d,s,n,t);if(f===Jm){var g=b3(i,d,v3(r,a));if(g)return{node:g};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:u[f]}},_3=function(e){var t=ac(e).filter(ri),n=Qm(e,e,t),r=new Map,o=oc([n],r,!0),a=oc(t,r).filter(function(i){var l=i.node;return ri(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:tc(l)}})},x3=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},cc=0,uc=!1,eg=function(e,t,n){n===void 0&&(n={});var r=$3(e,t);if(!uc&&r){if(cc>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),uc=!0,setTimeout(function(){uc=!1},1);return}cc++,x3(r.node,n.focusOptions),cc--}};function dc(e){setTimeout(e,1)}var w3=function(){return document&&document.activeElement===document.body},E3=function(){return w3()||f3()},$r=null,_r=null,xr=null,To=!1,S3=function(){return!0},D3=function(t){return($r.whiteList||S3)(t)},P3=function(t,n){xr={observerNode:t,portaledElement:n}},T3=function(t){return xr&&xr.portaledElement===t};function tg(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 k3=function(t){return t&&"current"in t?t.current:t},C3=function(t){return t?!!To:To==="meanwhile"},A3=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},I3=function(t,n){return n.some(function(r){return A3(t,r,r)})},ai=function(){var t=!1;if($r){var n=$r,r=n.observed,o=n.persistentFocus,a=n.autoFocus,i=n.shards,l=n.crossFrame,s=n.focusOptions,u=r||xr&&xr.portaledElement,d=document&&document.activeElement;if(u){var f=[u].concat(i.map(k3).filter(Boolean));if((!d||D3(d))&&(o||C3(l)||!E3()||!_r&&a)&&(u&&!(qm(f)||d&&I3(d,f)||T3(d))&&(document&&!_r&&d&&!a?(d.blur&&d.blur(),document.body.focus()):(t=eg(f,_r,{focusOptions:s}),xr={})),To=!1,_r=document&&document.activeElement),document){var g=document&&document.activeElement,m=_3(f),h=m.map(function(b){var v=b.node;return v}).indexOf(g);h>-1&&(m.filter(function(b){var v=b.guard,$=b.node;return v&&$.dataset.focusAutoGuard}).forEach(function(b){var v=b.node;return v.removeAttribute("tabIndex")}),tg(h,m.length,1,m),tg(h,-1,-1,m))}}}return t},ng=function(t){ai()&&t&&(t.stopPropagation(),t.preventDefault())},fc=function(){return dc(ai)},O3=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||P3(r,n)},M3=function(){return null};process.env.NODE_ENV!=="production"&&ie.node.isRequired;var rg=function(){To="just",dc(function(){To="meanwhile"})},F3=function(){document.addEventListener("focusin",ng),document.addEventListener("focusout",fc),window.addEventListener("blur",rg)},L3=function(){document.removeEventListener("focusin",ng),document.removeEventListener("focusout",fc),window.removeEventListener("blur",rg)};function N3(e){return e.filter(function(t){var n=t.disabled;return!n})}function z3(e){var t=e.slice(-1)[0];t&&!$r&&F3();var n=$r,r=n&&t&&t.id===n.id;$r=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var a=o.id;return a===n.id}).length||n.returnFocus(!t)),t?(_r=null,(!r||n.observed!==t.observed)&&t.onActivation(),ai(),dc(ai)):(L3(),_r=null)}Im.assignSyncMedium(O3),Om.assignMedium(fc),U6.assignMedium(function(e){return e({moveFocusInside:eg,focusInside:qm})});const R3=Y6(N3,z3)(M3);var og=D.forwardRef(function(t,n){return D.createElement(Mm,L({sideCar:R3,ref:n},t))}),ag=Mm.propTypes||{};ag.sideCar;var K3=ei(ag,["sideCar"]);og.propTypes=process.env.NODE_ENV!=="production"?K3:{};const V3=og;var ii={},pc={},ig={exports:{}};/*!
185
+ `)},jP=0,hr=[];function UP(e){var t=D.useRef([]),n=D.useRef([0,0]),r=D.useRef(),o=D.useState(jP++)[0],a=D.useState(function(){return em()})[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=hP([e.lockRef.current],(e.shards||[]).map(im),!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 $=Xa(b),y=n.current,x="deltaX"in b?b.deltaX:y[0]-$[0],S="deltaY"in b?b.deltaY:y[1]-$[1],k,P=b.target,M=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in b&&M==="h"&&P.type==="range")return!1;var _=nm(M,P);if(!_)return!0;if(_?k=M:(k=M==="v"?"h":"v",_=nm(M,P)),!_)return!1;if(!r.current&&"changedTouches"in b&&(x||S)&&(r.current=k),!k)return!0;var C=r.current||k;return KP(C,v,b,C==="h"?x:S,!0)},[]),s=D.useCallback(function(b){var v=b;if(!(!hr.length||hr[hr.length-1]!==a)){var $="deltaY"in v?am(v):Xa(v),y=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&VP(k.delta,$)})[0];if(y&&y.should){v.cancelable&&v.preventDefault();return}if(!y){var x=(i.current.shards||[]).map(im).filter(Boolean).filter(function(k){return k.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=Xa(b),r.current=void 0},[]),f=D.useCallback(function(b){u(b.type,am(b),b.target,l(b,e.lockRef.current))},[]),g=D.useCallback(function(b){u(b.type,Xa(b),b.target,l(b,e.lockRef.current))},[]);D.useEffect(function(){return hr.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:g}),document.addEventListener("wheel",s,gr),document.addEventListener("touchmove",s,gr),document.addEventListener("touchstart",d,gr),function(){hr=hr.filter(function(b){return b!==a}),document.removeEventListener("wheel",s,gr),document.removeEventListener("touchmove",s,gr),document.removeEventListener("touchstart",d,gr)}},[]);var m=e.removeScrollBar,h=e.inert;return D.createElement(D.Fragment,null,h?D.createElement(a,{styles:BP(o)}):null,m?D.createElement(OP,{gapMode:"margin"}):null)}const WP=_P(Jp,UP);var lm=D.forwardRef(function(e,t){return D.createElement(Ya,Vt({},e,{ref:t,sideCar:WP}))});lm.classNames=Ya.classNames;const Rs=lm;var HP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},br=new WeakMap,Za=new WeakMap,Ja={},Ks=0,sm=function(e){return e&&(e.host||sm(e.parentNode))},GP=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=sm(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})},YP=function(e,t,n,r){var o=GP(t,Array.isArray(e)?e:[e]);Ja[n]||(Ja[n]=new WeakMap);var a=Ja[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(g){if(l.has(g))d(g);else{var m=g.getAttribute(r),h=m!==null&&m!=="false",b=(br.get(g)||0)+1,v=(a.get(g)||0)+1;br.set(g,b),a.set(g,v),i.push(g),b===1&&h&&Za.set(g,!0),v===1&&g.setAttribute(n,"true"),h||g.setAttribute(r,"true")}})};return d(t),l.clear(),Ks++,function(){i.forEach(function(f){var g=br.get(f)-1,m=a.get(f)-1;br.set(f,g),a.set(f,m),g||(Za.has(f)||f.removeAttribute(r),Za.delete(f)),m||f.removeAttribute(n)}),Ks--,Ks||(br=new WeakMap,br=new WeakMap,Za=new WeakMap,Ja={})}},Vs=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||HP(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),YP(r,o,n,"aria-hidden")):function(){return null}};const cm="Dialog",[um,dm]=je(cm),[qP,St]=um(cm),XP=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]=Ge({prop:r,defaultProp:o,onChange:a});return c.createElement(qP,{scope:t,triggerRef:l,contentRef:s,contentId:it(),titleId:it(),descriptionId:it(),open:u,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(f=>!f),[d]),modal:i},n)},ZP="DialogTrigger",JP=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=St(ZP,n),a=Ee(t,o.triggerRef);return c.createElement(de.button,L({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":js(o.open)},r,{ref:a,onClick:oe(e.onClick,o.onOpenToggle)}))}),fm="DialogPortal",[QP,pm]=um(fm,{forceMount:void 0}),e6=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=St(fm,t);return c.createElement(QP,{scope:t,forceMount:n},c.Children.map(r,i=>c.createElement(Ye,{present:n||a.open},c.createElement(Do,{asChild:!0,container:o},i))))},Bs="DialogOverlay",t6=c.forwardRef((e,t)=>{const n=pm(Bs,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=St(Bs,e.__scopeDialog);return a.modal?c.createElement(Ye,{present:r||a.open},c.createElement(n6,L({},o,{ref:t}))):null}),n6=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=St(Bs,n);return c.createElement(Rs,{as:Bn,allowPinchZoom:!0,shards:[o.contentRef]},c.createElement(de.div,L({"data-state":js(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),vr="DialogContent",r6=c.forwardRef((e,t)=>{const n=pm(vr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=St(vr,e.__scopeDialog);return c.createElement(Ye,{present:r||a.open},a.modal?c.createElement(o6,L({},o,{ref:t})):c.createElement(a6,L({},o,{ref:t})))}),o6=c.forwardRef((e,t)=>{const n=St(vr,e.__scopeDialog),r=c.useRef(null),o=Ee(t,n.contentRef,r);return c.useEffect(()=>{const a=r.current;if(a)return Vs(a)},[]),c.createElement(mm,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())}))}),a6=c.forwardRef((e,t)=>{const n=St(vr,e.__scopeDialog),r=c.useRef(!1),o=c.useRef(!1);return c.createElement(mm,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()}}))}),mm=c.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,l=St(vr,n),s=c.useRef(null),u=Ee(t,s);return Ms(),c.createElement(c.Fragment,null,c.createElement(Is,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(So,L({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":js(l.open)},i,{ref:u,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),gm="DialogTitle",i6=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=St(gm,n);return c.createElement(de.h2,L({id:o.titleId},r,{ref:t}))}),l6="DialogDescription",s6=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=St(l6,n);return c.createElement(de.p,L({id:o.descriptionId},r,{ref:t}))}),c6="DialogClose",u6=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=St(c6,n);return c.createElement(de.button,L({type:"button"},r,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))});function js(e){return e?"open":"closed"}const d6="DialogTitleWarning",[f6,BV]=_5(d6,{contentName:vr,titleName:gm,docsSlug:"dialog"}),hm=XP,bm=JP,vm=e6,ym=t6,$m=r6,_m=i6,xm=s6,Qa=u6,p6="AlertDialog",[m6,jV]=je(p6,[dm]),Jt=dm(),g6=e=>{const{__scopeAlertDialog:t,...n}=e,r=Jt(t);return c.createElement(hm,L({},r,n,{modal:!0}))},h6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Jt(n);return c.createElement(bm,L({},o,r,{ref:t}))}),b6=e=>{const{__scopeAlertDialog:t,...n}=e,r=Jt(t);return c.createElement(vm,L({},r,n))},v6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Jt(n);return c.createElement(ym,L({},o,r,{ref:t}))}),wm="AlertDialogContent",[y6,$6]=m6(wm),_6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,a=Jt(n),i=c.useRef(null),l=Ee(t,i),s=c.useRef(null);return c.createElement(f6,{contentName:wm,titleName:x6,docsSlug:"alert-dialog"},c.createElement(y6,{scope:n,cancelRef:s},c.createElement($m,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(ds,null,r),!1)))}),x6="AlertDialogTitle",w6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Jt(n);return c.createElement(_m,L({},o,r,{ref:t}))}),E6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Jt(n);return c.createElement(xm,L({},o,r,{ref:t}))}),S6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Jt(n);return c.createElement(Qa,L({},o,r,{ref:t}))}),D6="AlertDialogCancel",P6=c.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=$6(D6,n),a=Jt(n),i=Ee(t,o);return c.createElement(Qa,L({},a,r,{ref:i}))}),T6=g6,k6=h6,C6=b6,A6=v6,I6=_6,O6=S6,Em=P6,M6=w6,F6=E6;function ei(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 Us={exports:{}},Ws,Sm;function Hs(){if(Sm)return Ws;Sm=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ws=e,Ws}var Gs,Dm;function Pm(){return Dm||(Dm=1,Gs=Function.call.bind(Object.prototype.hasOwnProperty)),Gs}var Ys,Tm;function L6(){if(Tm)return Ys;Tm=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Hs(),n={},r=Pm();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 g=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 g.name="Invariant Violation",g}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 m=u?u():"";e("Failed "+l+" type: "+f.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Ys=o,Ys}var qs,km;function N6(){if(km)return qs;km=1;var e=ls.default,t=Sp,n=Hs(),r=Pm(),o=L6(),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 qs=function(l,s){var u=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(z){var W=z&&(u&&z[u]||z[d]);if(typeof W=="function")return W}var g="<<anonymous>>",m={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:y(),arrayOf:x,element:S(),elementType:k(),instanceOf:P,node:N(),objectOf:_,oneOf:M,oneOfType:C,shape:V,exact:O};function h(z,W){return z===W?z!==0||1/z===1/W:z!==z&&W!==W}function b(z,W){this.message=z,this.data=W&&typeof W=="object"?W:{},this.stack=""}b.prototype=Error.prototype;function v(z){if(process.env.NODE_ENV!=="production")var W={},B=0;function K(te,ne,ie,q,Z,le,ge){if(q=q||g,le=le||ie,ge!==n){if(s){var ce=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 ce.name="Invariant Violation",ce}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var be=q+":"+ie;!W[be]&&B<3&&(a("You are manually calling a React.PropTypes validation function for the `"+le+"` prop on `"+q+"`. 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."),W[be]=!0,B++)}}return ne[ie]==null?te?ne[ie]===null?new b("The "+Z+" `"+le+"` is marked as required "+("in `"+q+"`, but its value is `null`.")):new b("The "+Z+" `"+le+"` is marked as required in "+("`"+q+"`, but its value is `undefined`.")):null:z(ne,ie,q,Z,le)}var H=K.bind(null,!1);return H.isRequired=K.bind(null,!0),H}function $(z){function W(B,K,H,te,ne,ie){var q=B[K],Z=I(q);if(Z!==z){var le=X(q);return new b("Invalid "+te+" `"+ne+"` of type "+("`"+le+"` supplied to `"+H+"`, expected ")+("`"+z+"`."),{expectedType:z})}return null}return v(W)}function y(){return v(i)}function x(z){function W(B,K,H,te,ne){if(typeof z!="function")return new b("Property `"+ne+"` of component `"+H+"` has invalid PropType notation inside arrayOf.");var ie=B[K];if(!Array.isArray(ie)){var q=I(ie);return new b("Invalid "+te+" `"+ne+"` of type "+("`"+q+"` supplied to `"+H+"`, expected an array."))}for(var Z=0;Z<ie.length;Z++){var le=z(ie,Z,H,te,ne+"["+Z+"]",n);if(le instanceof Error)return le}return null}return v(W)}function S(){function z(W,B,K,H,te){var ne=W[B];if(!l(ne)){var ie=I(ne);return new b("Invalid "+H+" `"+te+"` of type "+("`"+ie+"` supplied to `"+K+"`, expected a single ReactElement."))}return null}return v(z)}function k(){function z(W,B,K,H,te){var ne=W[B];if(!e.isValidElementType(ne)){var ie=I(ne);return new b("Invalid "+H+" `"+te+"` of type "+("`"+ie+"` supplied to `"+K+"`, expected a single ReactElement type."))}return null}return v(z)}function P(z){function W(B,K,H,te,ne){if(!(B[K]instanceof z)){var ie=z.name||g,q=Y(B[K]);return new b("Invalid "+te+" `"+ne+"` of type "+("`"+q+"` supplied to `"+H+"`, expected ")+("instance of `"+ie+"`."))}return null}return v(W)}function M(z){if(!Array.isArray(z))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 W(B,K,H,te,ne){for(var ie=B[K],q=0;q<z.length;q++)if(h(ie,z[q]))return null;var Z=JSON.stringify(z,function(ge,ce){var be=X(ce);return be==="symbol"?String(ce):ce});return new b("Invalid "+te+" `"+ne+"` of value `"+String(ie)+"` "+("supplied to `"+H+"`, expected one of "+Z+"."))}return v(W)}function _(z){function W(B,K,H,te,ne){if(typeof z!="function")return new b("Property `"+ne+"` of component `"+H+"` has invalid PropType notation inside objectOf.");var ie=B[K],q=I(ie);if(q!=="object")return new b("Invalid "+te+" `"+ne+"` of type "+("`"+q+"` supplied to `"+H+"`, expected an object."));for(var Z in ie)if(r(ie,Z)){var le=z(ie,Z,H,te,ne+"."+Z,n);if(le instanceof Error)return le}return null}return v(W)}function C(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var W=0;W<z.length;W++){var B=z[W];if(typeof B!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+j(B)+" at index "+W+"."),i}function K(H,te,ne,ie,q){for(var Z=[],le=0;le<z.length;le++){var ge=z[le],ce=ge(H,te,ne,ie,q,n);if(ce==null)return null;ce.data&&r(ce.data,"expectedType")&&Z.push(ce.data.expectedType)}var be=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new b("Invalid "+ie+" `"+q+"` supplied to "+("`"+ne+"`"+be+"."))}return v(K)}function N(){function z(W,B,K,H,te){return T(W[B])?null:new b("Invalid "+H+" `"+te+"` supplied to "+("`"+K+"`, expected a ReactNode."))}return v(z)}function E(z,W,B,K,H){return new b((z||"React class")+": "+W+" type `"+B+"."+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+H+"`.")}function V(z){function W(B,K,H,te,ne){var ie=B[K],q=I(ie);if(q!=="object")return new b("Invalid "+te+" `"+ne+"` of type `"+q+"` "+("supplied to `"+H+"`, expected `object`."));for(var Z in z){var le=z[Z];if(typeof le!="function")return E(H,te,ne,Z,X(le));var ge=le(ie,Z,H,te,ne+"."+Z,n);if(ge)return ge}return null}return v(W)}function O(z){function W(B,K,H,te,ne){var ie=B[K],q=I(ie);if(q!=="object")return new b("Invalid "+te+" `"+ne+"` of type `"+q+"` "+("supplied to `"+H+"`, expected `object`."));var Z=t({},B[K],z);for(var le in Z){var ge=z[le];if(r(z,le)&&typeof ge!="function")return E(H,te,ne,le,X(ge));if(!ge)return new b("Invalid "+te+" `"+ne+"` key `"+le+"` supplied to `"+H+"`.\nBad object: "+JSON.stringify(B[K],null," ")+`
186
+ Valid keys: `+JSON.stringify(Object.keys(z),null," "));var ce=ge(ie,le,H,te,ne+"."+le,n);if(ce)return ce}return null}return v(W)}function T(z){switch(typeof z){case"number":case"string":case"undefined":return!0;case"boolean":return!z;case"object":if(Array.isArray(z))return z.every(T);if(z===null||l(z))return!0;var W=f(z);if(W){var B=W.call(z),K;if(W!==z.entries){for(;!(K=B.next()).done;)if(!T(K.value))return!1}else for(;!(K=B.next()).done;){var H=K.value;if(H&&!T(H[1]))return!1}}else return!1;return!0;default:return!1}}function U(z,W){return z==="symbol"?!0:W?W["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&W instanceof Symbol:!1}function I(z){var W=typeof z;return Array.isArray(z)?"array":z instanceof RegExp?"object":U(W,z)?"symbol":W}function X(z){if(typeof z>"u"||z===null)return""+z;var W=I(z);if(W==="object"){if(z instanceof Date)return"date";if(z instanceof RegExp)return"regexp"}return W}function j(z){var W=X(z);switch(W){case"array":case"object":return"an "+W;case"boolean":case"date":case"regexp":return"a "+W;default:return W}}function Y(z){return!z.constructor||!z.constructor.name?g:z.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},qs}var Xs,Cm;function z6(){if(Cm)return Xs;Cm=1;var e=Hs();function t(){}function n(){}return n.resetWarningCache=t,Xs=function(){function r(i,l,s,u,d,f){if(f!==e){var g=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 g.name="Invariant Violation",g}}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},Xs}if(process.env.NODE_ENV!=="production"){var R6=ls.default,K6=!0;Us.exports=N6()(R6.isElement,K6)}else Us.exports=z6()();var De=Us.exports;const ae=Ma(De);var Zs="data-focus-lock",Am="data-focus-lock-disabled",V6="data-no-focus-lock",B6="data-autofocus-inside",j6="data-no-autofocus",Js={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};process.env.NODE_ENV!=="production"&&ae.node;var Im=Fs({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),Om=Fs(),U6=Fs(),W6=Xp({async:!0}),H6=[],Qs=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,g=t.noFocusGuards,m=t.persistentFocus,h=t.crossFrame,b=t.autoFocus,v=t.allowTextSelection,$=t.group,y=t.className,x=t.whiteList,S=t.hasPositiveIndices,k=t.shards,P=k===void 0?H6:k,M=t.as,_=M===void 0?"div":M,C=t.lockProps,N=C===void 0?{}:C,E=t.sideCar,V=t.returnFocus,O=t.focusOptions,T=t.onActivation,U=t.onDeactivation,I=D.useState({}),X=I[0],j=D.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&T&&T(l.current),s.current=!0},[T]),Y=D.useCallback(function(){s.current=!1,U&&U(l.current)},[U]);c.useEffect(function(){f||(u.current=null)},[]);var z=D.useCallback(function(q){var Z=u.current;if(Z&&Z.focus){var le=typeof V=="function"?V(Z):V;if(le){var ge=typeof le=="object"?le:void 0;u.current=null,q?Promise.resolve().then(function(){return Z.focus(ge)}):Z.focus(ge)}}},[V]),W=D.useCallback(function(q){s.current&&Im.useMedium(q)},[]),B=Om.useMedium,K=D.useCallback(function(q){l.current!==q&&(l.current=q,i(q))},[]);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 H=L((r={},r[Am]=f&&"disabled",r[Zs]=$,r),N),te=g!==!0,ne=te&&g!=="tail",ie=Gp([n,K]);return D.createElement(D.Fragment,null,te&&[D.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:Js}),S?D.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:Js}):null],!f&&D.createElement(E,{id:X,sideCar:W6,observed:a,disabled:f,persistentFocus:m,crossFrame:h,autoFocus:b,whiteList:x,shards:P,onActivation:j,onDeactivation:Y,returnFocus:z,focusOptions:O}),D.createElement(_,L({ref:ie},H,{className:y,onBlur:B,onFocus:W}),d),ne&&D.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:Js}))});Qs.propTypes=process.env.NODE_ENV!=="production"?{children:De.node,disabled:De.bool,returnFocus:De.oneOfType([De.bool,De.object,De.func]),focusOptions:De.object,noFocusGuards:De.bool,hasPositiveIndices:De.bool,allowTextSelection:De.bool,autoFocus:De.bool,persistentFocus:De.bool,crossFrame:De.bool,group:De.string,className:De.string,whiteList:De.func,shards:De.arrayOf(De.any),as:De.oneOfType([De.string,De.func,De.object]),lockProps:De.object,onActivation:De.func,onDeactivation:De.func,sideCar:De.any.isRequired}:{},Qs.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 Mm=Qs;function ec(e,t){return ec=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},ec(e,t)}function ti(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ec(e,t)}function xn(e){"@babel/helpers - typeof";return xn=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},xn(e)}function G6(e,t){if(xn(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(xn(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fm(e){var t=G6(e,"string");return xn(t)==="symbol"?t:String(t)}function yr(e,t,n){return t=Fm(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y6(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){ti(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 m=a.indexOf(this);a.splice(m,1),l()},f.render=function(){return D.default.createElement(o,this.props)},d}(c.PureComponent);return yr(s,"displayName","SideEffect("+n(o)+")"),s}}var Bt=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},ni=function(e){return Array.isArray(e)?e:[e]},Lm=function(e){return Array.isArray(e)?e[0]:e},q6=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"},Nm=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},zm=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},X6=function(e,t){return!e||zm(e)||!q6(e)&&t(Nm(e))},Rm=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=X6(t,Rm.bind(void 0,e));return e.set(t,r),r},Z6=function(e,t){return e&&!zm(e)?e3(e)?t(Nm(e)):!1:!0},Km=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=Z6(t,Km.bind(void 0,e));return e.set(t,r),r},Vm=function(e){return e.dataset},J6=function(e){return e.tagName==="BUTTON"},Bm=function(e){return e.tagName==="INPUT"},jm=function(e){return Bm(e)&&e.type==="radio"},Q6=function(e){return!((Bm(e)||J6(e))&&(e.type==="hidden"||e.disabled))},e3=function(e){var t=e.getAttribute(j6);return![!0,"true",""].includes(t)},tc=function(e){var t;return!!(e&&(!((t=Vm(e))===null||t===void 0)&&t.focusGuard))},ri=function(e){return!tc(e)},t3=function(e){return!!e},n3=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},Um=function(e,t,n){return Bt(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(n3)},r3=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],nc=r3.join(","),o3="".concat(nc,", [data-focus-guard]"),Wm=function(e,t){return Bt((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?o3:nc)?[r]:[],Wm(r))},[])},a3=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?oi([e.contentDocument.body],t):[e]},oi=function(e,t){return e.reduce(function(n,r){var o,a=Wm(r,t),i=(o=[]).concat.apply(o,a.map(function(l){return a3(l,t)}));return n.concat(i,r.parentNode?Bt(r.parentNode.querySelectorAll(nc)).filter(function(l){return l===r}):[])},[])},i3=function(e){var t=e.querySelectorAll("[".concat(B6,"]"));return Bt(t).map(function(n){return oi([n])}).reduce(function(n,r){return n.concat(r)},[])},rc=function(e,t){return Bt(e).filter(function(n){return Rm(t,n)}).filter(function(n){return Q6(n)})},Hm=function(e,t){return t===void 0&&(t=new Map),Bt(e).filter(function(n){return Km(t,n)})},oc=function(e,t,n){return Um(rc(oi(e,n),t),!0,n)},Gm=function(e,t){return Um(rc(oi(e),t),!1)},l3=function(e,t){return rc(i3(e),t)},$r=function(e,t){return e.shadowRoot?$r(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:Bt(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?$r(o,t):!1}return $r(n,t)})},s3=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)})},Ym=function(e){return e.parentNode?Ym(e.parentNode):e},ac=function(e){var t=ni(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(Zs);return n.push.apply(n,o?s3(Bt(Ym(r).querySelectorAll("[".concat(Zs,'="').concat(o,'"]:not([').concat(Am,'="disabled"])')))):[r]),n},[])},c3=function(e){try{return e()}catch{return}},Po=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?Po(t.shadowRoot):t instanceof HTMLIFrameElement&&c3(function(){return t.contentWindow.document})?Po(t.contentWindow.document):t}},u3=function(e,t){return e===t},d3=function(e,t){return!!Bt(e.querySelectorAll("iframe")).some(function(n){return u3(n,t)})},qm=function(e,t){return t===void 0&&(t=Po(Lm(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:ac(e).some(function(n){return $r(n,t)||d3(n,t)})},f3=function(e){e===void 0&&(e=document);var t=Po(e);return t?Bt(e.querySelectorAll("[".concat(V6,"]"))).some(function(n){return $r(n,t)}):!1},p3=function(e,t){return t.filter(jm).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},ic=function(e,t){return jm(e)&&e.name?p3(e,t):e},m3=function(e){var t=new Set;return e.forEach(function(n){return t.add(ic(n,e))}),e.filter(function(n){return t.has(n)})},Xm=function(e){return e[0]&&e.length>1?ic(e[0],e):e[0]},Zm=function(e,t){return e.length>1?e.indexOf(ic(e[t],e)):t},Jm="NEW_FOCUS",g3=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],l=tc(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,g=t.indexOf(a),m=t.indexOf(i),h=m3(t),b=n!==void 0?h.indexOf(n):-1,v=b-(r?h.indexOf(r):s),$=Zm(e,0),y=Zm(e,o-1);if(s===-1||d===-1)return Jm;if(!f&&d>=0)return d;if(s<=g&&l&&Math.abs(f)>1)return y;if(s>=m&&l&&Math.abs(f)>1)return $;if(f&&Math.abs(v)>1)return d;if(s<=g)return y;if(s>m)return $;if(f)return Math.abs(f)>1?d:(o+d+f)%o}},h3=function(e){return function(t){var n,r=(n=Vm(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},b3=function(e,t,n){var r=e.map(function(a){var i=a.node;return i}),o=Hm(r.filter(h3(n)));return o&&o.length?Xm(o):Xm(Hm(t))},lc=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&lc(e.parentNode.host||e.parentNode,t),t},sc=function(e,t){for(var n=lc(e),r=lc(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},Qm=function(e,t,n){var r=ni(e),o=ni(t),a=r[0],i=!1;return o.filter(Boolean).forEach(function(l){i=sc(i||l,l)||i,n.filter(Boolean).forEach(function(s){var u=sc(a,s);u&&(!i||$r(u,i)?i=u:i=sc(u,i))})}),i},v3=function(e,t){return e.reduce(function(n,r){return n.concat(l3(r,t))},[])},y3=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(t3)},$3=function(e,t){var n=Po(ni(e).length>0?document:Lm(e).ownerDocument),r=ac(e).filter(ri),o=Qm(n||e,e,r),a=new Map,i=Gm(r,a),l=oc(r,a).filter(function(m){var h=m.node;return ri(h)});if(!(!l[0]&&(l=i,!l[0]))){var s=Gm([o],a).map(function(m){var h=m.node;return h}),u=y3(s,l),d=u.map(function(m){var h=m.node;return h}),f=g3(d,s,n,t);if(f===Jm){var g=b3(i,d,v3(r,a));if(g)return{node:g};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:u[f]}},_3=function(e){var t=ac(e).filter(ri),n=Qm(e,e,t),r=new Map,o=oc([n],r,!0),a=oc(t,r).filter(function(i){var l=i.node;return ri(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:tc(l)}})},x3=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},cc=0,uc=!1,eg=function(e,t,n){n===void 0&&(n={});var r=$3(e,t);if(!uc&&r){if(cc>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),uc=!0,setTimeout(function(){uc=!1},1);return}cc++,x3(r.node,n.focusOptions),cc--}};function dc(e){setTimeout(e,1)}var w3=function(){return document&&document.activeElement===document.body},E3=function(){return w3()||f3()},_r=null,xr=null,wr=null,To=!1,S3=function(){return!0},D3=function(t){return(_r.whiteList||S3)(t)},P3=function(t,n){wr={observerNode:t,portaledElement:n}},T3=function(t){return wr&&wr.portaledElement===t};function tg(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 k3=function(t){return t&&"current"in t?t.current:t},C3=function(t){return t?!!To:To==="meanwhile"},A3=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},I3=function(t,n){return n.some(function(r){return A3(t,r,r)})},ai=function(){var t=!1;if(_r){var n=_r,r=n.observed,o=n.persistentFocus,a=n.autoFocus,i=n.shards,l=n.crossFrame,s=n.focusOptions,u=r||wr&&wr.portaledElement,d=document&&document.activeElement;if(u){var f=[u].concat(i.map(k3).filter(Boolean));if((!d||D3(d))&&(o||C3(l)||!E3()||!xr&&a)&&(u&&!(qm(f)||d&&I3(d,f)||T3(d))&&(document&&!xr&&d&&!a?(d.blur&&d.blur(),document.body.focus()):(t=eg(f,xr,{focusOptions:s}),wr={})),To=!1,xr=document&&document.activeElement),document){var g=document&&document.activeElement,m=_3(f),h=m.map(function(b){var v=b.node;return v}).indexOf(g);h>-1&&(m.filter(function(b){var v=b.guard,$=b.node;return v&&$.dataset.focusAutoGuard}).forEach(function(b){var v=b.node;return v.removeAttribute("tabIndex")}),tg(h,m.length,1,m),tg(h,-1,-1,m))}}}return t},ng=function(t){ai()&&t&&(t.stopPropagation(),t.preventDefault())},fc=function(){return dc(ai)},O3=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||P3(r,n)},M3=function(){return null};process.env.NODE_ENV!=="production"&&ae.node.isRequired;var rg=function(){To="just",dc(function(){To="meanwhile"})},F3=function(){document.addEventListener("focusin",ng),document.addEventListener("focusout",fc),window.addEventListener("blur",rg)},L3=function(){document.removeEventListener("focusin",ng),document.removeEventListener("focusout",fc),window.removeEventListener("blur",rg)};function N3(e){return e.filter(function(t){var n=t.disabled;return!n})}function z3(e){var t=e.slice(-1)[0];t&&!_r&&F3();var n=_r,r=n&&t&&t.id===n.id;_r=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var a=o.id;return a===n.id}).length||n.returnFocus(!t)),t?(xr=null,(!r||n.observed!==t.observed)&&t.onActivation(),ai(),dc(ai)):(L3(),xr=null)}Im.assignSyncMedium(O3),Om.assignMedium(fc),U6.assignMedium(function(e){return e({moveFocusInside:eg,focusInside:qm})});const R3=Y6(N3,z3)(M3);var og=D.forwardRef(function(t,n){return D.createElement(Mm,L({sideCar:R3,ref:n},t))}),ag=Mm.propTypes||{};ag.sideCar;var K3=ei(ag,["sideCar"]);og.propTypes=process.env.NODE_ENV!=="production"?K3:{};const V3=og;var ii={},pc={},ig={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})()})(ig);var li=ig.exports,ko={},Oe={};Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.pipe=Oe.listenerOptions=void 0,Oe.preventTouchMove=B3,Oe.allowTouchMove=j3,Oe.preventInertiaScroll=U3,Oe.isTouchDevice=W3,Oe.camelToKebab=H3,Oe.parse=G3,Oe.getPadding=q3,Oe.getWindowHeight=X3,Oe.getDocumentHeight=Z3,Oe.makeStyleTag=J3,Oe.injectStyles=Q3,Oe.insertStyleTag=eT;var Un=li;Oe.listenerOptions={capture:!1,passive:!1};function B3(e){return e.preventDefault(),!1}function j3(e){var t=e.currentTarget;return t.scrollHeight>t.clientHeight?(e.stopPropagation(),!0):(e.preventDefault(),!1)}function U3(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function W3(){return Un.canUseDOM?"ontouchstart"in window||navigator.maxTouchPoints:!1}function H3(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function G3(e){return isNaN(e)?e:e+"px"}var Y3=function(t,n){return function(){return n(t.apply(void 0,arguments))}};Oe.pipe=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce(Y3)};function q3(){if(!Un.canUseDOM)return 0;var e=parseInt(window.getComputedStyle(document.body).paddingRight,10),t=window.innerWidth-document.documentElement.clientWidth;return e+t}function X3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;if(Un.canUseDOM)return window.innerHeight*e}function Z3(){if(Un.canUseDOM)return document.body.clientHeight}function J3(){if(Un.canUseDOM){var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-react-scrolllock",""),e}}function Q3(e,t){Un.canUseDOM&&(e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)))}function eT(e){if(Un.canUseDOM){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}}Object.defineProperty(ko,"__esModule",{value:!0}),ko.TouchScrollable=void 0;var tT=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},nT=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}}(),lg=D.default,sg=li,wn=Oe;function rT(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 oT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cg(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 aT(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)}ko.TouchScrollable=function(e){aT(t,e);function t(){var n,r,o,a;oT(this,t);for(var i=arguments.length,l=Array(i),s=0;s<i;s++)l[s]=arguments[s];return a=(r=(o=cg(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(l))),o),o.getScrollableArea=function(u){o.scrollableArea=u},r),cg(o,a)}return nT(t,[{key:"componentDidMount",value:function(){sg.canUseEventListeners&&(this.scrollableArea.addEventListener("touchstart",wn.preventInertiaScroll,wn.listenerOptions),this.scrollableArea.addEventListener("touchmove",wn.allowTouchMove,wn.listenerOptions))}},{key:"componentWillUnmount",value:function(){sg.canUseEventListeners&&(this.scrollableArea.removeEventListener("touchstart",wn.preventInertiaScroll,wn.listenerOptions),this.scrollableArea.removeEventListener("touchmove",wn.allowTouchMove,wn.listenerOptions))}},{key:"render",value:function(){var r=this.props,o=r.children,a=rT(r,["children"]);return typeof o=="function"?o(this.getScrollableArea):(0,lg.cloneElement)(o,tT({ref:this.getScrollableArea},a))}}]),t}(lg.PureComponent);var mc={};Object.defineProperty(mc,"__esModule",{value:!0});var iT=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}}();mc.default=dT;var ug=D.default,lT=sT(ug),Co=Oe;function sT(e){return e&&e.__esModule?e:{default:e}}function cT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(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 uT(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 dT(e){return function(t){uT(n,t);function n(){var r,o,a,i;cT(this,n);for(var l=arguments.length,s=Array(l),u=0;u<l;u++)s[u]=arguments[u];return i=(o=(a=dg(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(s))),a),a.addSheet=function(){var d=a.getStyles(),f=(0,Co.makeStyleTag)();f&&((0,Co.injectStyles)(f,d),(0,Co.insertStyleTag)(f),a.sheet=f)},a.getStyles=function(){var d=a.props.accountForScrollbars,f=(0,Co.getDocumentHeight)(),g=d?(0,Co.getPadding)():null,m=`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})()})(ig);var li=ig.exports,ko={},Me={};Object.defineProperty(Me,"__esModule",{value:!0}),Me.pipe=Me.listenerOptions=void 0,Me.preventTouchMove=B3,Me.allowTouchMove=j3,Me.preventInertiaScroll=U3,Me.isTouchDevice=W3,Me.camelToKebab=H3,Me.parse=G3,Me.getPadding=q3,Me.getWindowHeight=X3,Me.getDocumentHeight=Z3,Me.makeStyleTag=J3,Me.injectStyles=Q3,Me.insertStyleTag=eT;var Wn=li;Me.listenerOptions={capture:!1,passive:!1};function B3(e){return e.preventDefault(),!1}function j3(e){var t=e.currentTarget;return t.scrollHeight>t.clientHeight?(e.stopPropagation(),!0):(e.preventDefault(),!1)}function U3(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function W3(){return Wn.canUseDOM?"ontouchstart"in window||navigator.maxTouchPoints:!1}function H3(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function G3(e){return isNaN(e)?e:e+"px"}var Y3=function(t,n){return function(){return n(t.apply(void 0,arguments))}};Me.pipe=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce(Y3)};function q3(){if(!Wn.canUseDOM)return 0;var e=parseInt(window.getComputedStyle(document.body).paddingRight,10),t=window.innerWidth-document.documentElement.clientWidth;return e+t}function X3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;if(Wn.canUseDOM)return window.innerHeight*e}function Z3(){if(Wn.canUseDOM)return document.body.clientHeight}function J3(){if(Wn.canUseDOM){var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-react-scrolllock",""),e}}function Q3(e,t){Wn.canUseDOM&&(e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)))}function eT(e){if(Wn.canUseDOM){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}}Object.defineProperty(ko,"__esModule",{value:!0}),ko.TouchScrollable=void 0;var tT=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},nT=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}}(),lg=D.default,sg=li,wn=Me;function rT(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 oT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cg(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 aT(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)}ko.TouchScrollable=function(e){aT(t,e);function t(){var n,r,o,a;oT(this,t);for(var i=arguments.length,l=Array(i),s=0;s<i;s++)l[s]=arguments[s];return a=(r=(o=cg(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(l))),o),o.getScrollableArea=function(u){o.scrollableArea=u},r),cg(o,a)}return nT(t,[{key:"componentDidMount",value:function(){sg.canUseEventListeners&&(this.scrollableArea.addEventListener("touchstart",wn.preventInertiaScroll,wn.listenerOptions),this.scrollableArea.addEventListener("touchmove",wn.allowTouchMove,wn.listenerOptions))}},{key:"componentWillUnmount",value:function(){sg.canUseEventListeners&&(this.scrollableArea.removeEventListener("touchstart",wn.preventInertiaScroll,wn.listenerOptions),this.scrollableArea.removeEventListener("touchmove",wn.allowTouchMove,wn.listenerOptions))}},{key:"render",value:function(){var r=this.props,o=r.children,a=rT(r,["children"]);return typeof o=="function"?o(this.getScrollableArea):(0,lg.cloneElement)(o,tT({ref:this.getScrollableArea},a))}}]),t}(lg.PureComponent);var mc={};Object.defineProperty(mc,"__esModule",{value:!0});var iT=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}}();mc.default=dT;var ug=D.default,lT=sT(ug),Co=Me;function sT(e){return e&&e.__esModule?e:{default:e}}function cT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(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 uT(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 dT(e){return function(t){uT(n,t);function n(){var r,o,a,i;cT(this,n);for(var l=arguments.length,s=Array(l),u=0;u<l;u++)s[u]=arguments[u];return i=(o=(a=dg(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(s))),a),a.addSheet=function(){var d=a.getStyles(),f=(0,Co.makeStyleTag)();f&&((0,Co.injectStyles)(f,d),(0,Co.insertStyleTag)(f),a.sheet=f)},a.getStyles=function(){var d=a.props.accountForScrollbars,f=(0,Co.getDocumentHeight)(),g=d?(0,Co.getPadding)():null,m=`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
  `+(g?"padding-right: "+g+"px !important;":"")+`
196
- }`;return m},o),dg(a,i)}return iT(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 lT.default.createElement(e,this.props)}}]),n}(ug.PureComponent)}var gc={};Object.defineProperty(gc,"__esModule",{value:!0});var fT=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}}();gc.default=vT;var fg=D.default,pT=mT(fg),pg=li,wr=Oe;function mT(e){return e&&e.__esModule?e:{default:e}}function gT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hT(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 bT(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 vT(e){return function(t){bT(n,t);function n(){return gT(this,n),hT(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return fT(n,[{key:"componentDidMount",value:function(){!pg.canUseDOM||!(0,wr.isTouchDevice)()||document.addEventListener("touchmove",wr.preventTouchMove,wr.listenerOptions)}},{key:"componentWillUnmount",value:function(){!pg.canUseDOM||!(0,wr.isTouchDevice)()||document.removeEventListener("touchmove",wr.preventTouchMove,wr.listenerOptions)}},{key:"render",value:function(){return pT.default.createElement(e,this.props)}}]),n}(fg.PureComponent)}Object.defineProperty(pc,"__esModule",{value:!0});var yT=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}}(),mg=D.default,gg=hc(mg),$T=li,_T=ko,xT=mc,wT=hc(xT),ET=gc,ST=hc(ET),DT=Oe;function hc(e){return e&&e.__esModule?e:{default:e}}function PT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TT(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 kT(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 CT=function(e){kT(t,e);function t(){return PT(this,t),TT(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return yT(t,[{key:"componentDidMount",value:function(){$T.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?gg.default.createElement(_T.TouchScrollable,null,r):null}}]),t}(mg.PureComponent),AT=(0,DT.pipe)(ST.default,wT.default),IT=AT(CT),hg=function(t){return t.isActive?gg.default.createElement(IT,t):t.children};hg.defaultProps={accountForScrollbars:!0,children:null,isActive:!0},pc.default=hg,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=pc;Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r(t).default}});var n=ko;Object.defineProperty(e,"TouchScrollable",{enumerable:!0,get:function(){return n.TouchScrollable}});function r(o){return o&&o.__esModule?o:{default:o}}}(ii);const bg=Ma(ii),vg={disabled:!1};var OT=process.env.NODE_ENV!=="production"?ie.oneOfType([ie.number,ie.shape({enter:ie.number,exit:ie.number,appear:ie.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&ie.oneOfType([ie.string,ie.shape({enter:ie.string,exit:ie.string,active:ie.string}),ie.shape({enter:ie.string,enterDone:ie.string,enterActive:ie.string,exit:ie.string,exitDone:ie.string,exitActive:ie.string})]);const yg=D.default.createContext(null);var MT=function(t){return t.scrollTop},Ao="unmounted",Wn="exited",Hn="entering",Er="entered",bc="exiting",Zt=function(e){ti(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=Wn,a.appearStatus=Hn):s=Er:r.unmountOnExit||r.mountOnEnter?s=Ao:s=Wn,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===Ao?{status:Wn}: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!==Hn&&i!==Er&&(a=Hn):(i===Hn||i===Er)&&(a=bc)}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===Hn){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Ht.default.findDOMNode(this);i&&MT(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Wn&&this.setState({status:Ao})},n.performEnter=function(o){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:o,s=this.props.nodeRef?[l]:[Ht.default.findDOMNode(this),l],u=s[0],d=s[1],f=this.getTimeouts(),g=l?f.appear:f.enter;if(!o&&!i||vg.disabled){this.safeSetState({status:Er},function(){a.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:Hn},function(){a.props.onEntering(u,d),a.onTransitionEnd(g,function(){a.safeSetState({status:Er},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:Ht.default.findDOMNode(this);if(!a||vg.disabled){this.safeSetState({status:Wn},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:bc},function(){o.props.onExiting(l),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:Wn},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:Ht.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===Ao)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=ei(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return D.default.createElement(yg.Provider,{value:null},typeof i=="function"?i(o,l):D.default.cloneElement(D.default.Children.only(i),l))},t}(D.default.Component);Zt.contextType=yg,Zt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:ie.shape({current:typeof Element>"u"?ie.any:function(e,t,n,r,o,a){var i=e[t];return ie.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,a)}}),children:ie.oneOfType([ie.func.isRequired,ie.element.isRequired]).isRequired,in:ie.bool,mountOnEnter:ie.bool,unmountOnExit:ie.bool,appear:ie.bool,enter:ie.bool,exit:ie.bool,timeout:function(t){var n=OT;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:ie.func,onEnter:ie.func,onEntering:ie.func,onEntered:ie.func,onExit:ie.func,onExiting:ie.func,onExited:ie.func}:{};function Sr(){}Zt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Sr,onEntering:Sr,onEntered:Sr,onExit:Sr,onExiting:Sr,onExited:Sr},Zt.UNMOUNTED=Ao,Zt.EXITED=Wn,Zt.ENTERING=Hn,Zt.ENTERED=Er,Zt.EXITING=bc;const $g=Zt;function _g(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function si(e){return Number(e.replace(/\D/g,""))*100}function Dr(e,t){if(!xp())return;const n=$s();D.default.useEffect(()=>(n.addEventListener(e,t),()=>n.removeEventListener(e,t)),[e,t])}const Io=e=>{c.useEffect(()=>{const t=n=>{n.key==="Escape"&&e()};return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[e])};function vc(e){const t=c.useRef();return c.useEffect(()=>{t.current=e}),t.current}function ci(e){const{containerId:t,children:n}=e;if(typeof document<"u"){const r=t?document.getElementById(t):document.body;if(r)return Ht.default.createPortal(n,r)}return null}ci.displayName="Portal";const FT=e=>{const t=`${p.color_gray_10}70`;return`
196
+ }`;return m},o),dg(a,i)}return iT(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 lT.default.createElement(e,this.props)}}]),n}(ug.PureComponent)}var gc={};Object.defineProperty(gc,"__esModule",{value:!0});var fT=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}}();gc.default=vT;var fg=D.default,pT=mT(fg),pg=li,Er=Me;function mT(e){return e&&e.__esModule?e:{default:e}}function gT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hT(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 bT(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 vT(e){return function(t){bT(n,t);function n(){return gT(this,n),hT(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return fT(n,[{key:"componentDidMount",value:function(){!pg.canUseDOM||!(0,Er.isTouchDevice)()||document.addEventListener("touchmove",Er.preventTouchMove,Er.listenerOptions)}},{key:"componentWillUnmount",value:function(){!pg.canUseDOM||!(0,Er.isTouchDevice)()||document.removeEventListener("touchmove",Er.preventTouchMove,Er.listenerOptions)}},{key:"render",value:function(){return pT.default.createElement(e,this.props)}}]),n}(fg.PureComponent)}Object.defineProperty(pc,"__esModule",{value:!0});var yT=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}}(),mg=D.default,gg=hc(mg),$T=li,_T=ko,xT=mc,wT=hc(xT),ET=gc,ST=hc(ET),DT=Me;function hc(e){return e&&e.__esModule?e:{default:e}}function PT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TT(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 kT(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 CT=function(e){kT(t,e);function t(){return PT(this,t),TT(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return yT(t,[{key:"componentDidMount",value:function(){$T.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?gg.default.createElement(_T.TouchScrollable,null,r):null}}]),t}(mg.PureComponent),AT=(0,DT.pipe)(ST.default,wT.default),IT=AT(CT),hg=function(t){return t.isActive?gg.default.createElement(IT,t):t.children};hg.defaultProps={accountForScrollbars:!0,children:null,isActive:!0},pc.default=hg,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=pc;Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r(t).default}});var n=ko;Object.defineProperty(e,"TouchScrollable",{enumerable:!0,get:function(){return n.TouchScrollable}});function r(o){return o&&o.__esModule?o:{default:o}}}(ii);const bg=Ma(ii),vg={disabled:!1};var OT=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 yg=D.default.createContext(null);var MT=function(t){return t.scrollTop},Ao="unmounted",Hn="exited",Gn="entering",Sr="entered",bc="exiting",Qt=function(e){ti(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=Hn,a.appearStatus=Gn):s=Sr:r.unmountOnExit||r.mountOnEnter?s=Ao:s=Hn,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===Ao?{status:Hn}: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!==Gn&&i!==Sr&&(a=Gn):(i===Gn||i===Sr)&&(a=bc)}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===Gn){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Yt.default.findDOMNode(this);i&&MT(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Hn&&this.setState({status:Ao})},n.performEnter=function(o){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:o,s=this.props.nodeRef?[l]:[Yt.default.findDOMNode(this),l],u=s[0],d=s[1],f=this.getTimeouts(),g=l?f.appear:f.enter;if(!o&&!i||vg.disabled){this.safeSetState({status:Sr},function(){a.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:Gn},function(){a.props.onEntering(u,d),a.onTransitionEnd(g,function(){a.safeSetState({status:Sr},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:Yt.default.findDOMNode(this);if(!a||vg.disabled){this.safeSetState({status:Hn},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:bc},function(){o.props.onExiting(l),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:Hn},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:Yt.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===Ao)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=ei(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return D.default.createElement(yg.Provider,{value:null},typeof i=="function"?i(o,l):D.default.cloneElement(D.default.Children.only(i),l))},t}(D.default.Component);Qt.contextType=yg,Qt.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=OT;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 Dr(){}Qt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Dr,onEntering:Dr,onEntered:Dr,onExit:Dr,onExiting:Dr,onExited:Dr},Qt.UNMOUNTED=Ao,Qt.EXITED=Hn,Qt.ENTERING=Gn,Qt.ENTERED=Sr,Qt.EXITING=bc;const $g=Qt;function _g(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function si(e){return Number(e.replace(/\D/g,""))*100}function Pr(e,t){if(!xp())return;const n=$s();D.default.useEffect(()=>(n.addEventListener(e,t),()=>n.removeEventListener(e,t)),[e,t])}const Io=e=>{c.useEffect(()=>{const t=n=>{n.key==="Escape"&&e()};return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[e])};function vc(e){const t=c.useRef();return c.useEffect(()=>{t.current=e}),t.current}function ci(e){const{containerId:t,children:n}=e;if(typeof document<"u"){const r=t?document.getElementById(t):document.body;if(r)return Yt.default.createPortal(n,r)}return null}ci.displayName="Portal";const FT=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(R),null," "));var Y=he(le,se,H,ne,re+"
239
239
  `;case"exited":return`
240
240
  ${t}
241
241
  pointer-events: none;
242
- `}},xg=D.default.forwardRef(function(t,n){const{children:r,restrictHeight:o=!0,...a}=t,i=Ft(a,Ds.propNames??[]);return w(me,{"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})});xg.displayName="Modal.Content";const KT=xg,wg=D.default.forwardRef(function(t,n){const{children:r}=t;return w(me,{"data-id":"modal-footer",bg:"white",ref:n,display:"flex",flexDirection:"row",justifyContent:"end",gap:p.spacing_200,p:p.spacing_500,children:r})});wg.displayName="Modal.Footer";const VT=wg,En=F.default(me)`
242
+ `}},xg=D.default.forwardRef(function(t,n){const{children:r,restrictHeight:o=!0,...a}=t,i=zt(a,Ds.propNames??[]);return w(me,{"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})});xg.displayName="Modal.Content";const KT=xg,wg=D.default.forwardRef(function(t,n){const{children:r}=t;return w(me,{"data-id":"modal-footer",bg:"white",ref:n,display:"flex",flexDirection:"row",justifyContent:"end",gap:p.spacing_200,p:p.spacing_500,children:r})});wg.displayName="Modal.Footer";const VT=wg,En=F.default(me)`
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};
@@ -269,7 +269,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
269
269
  `,YT=F.default(En)`
270
270
  font-size: ${p.font_size_225};
271
271
  line-height: ${p.font_size_250};
272
- `,qT={h1:BT,h2:jT,h3:UT,h4:WT,h5:HT,h6:GT,body:YT},Gn=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=qT[i],g={...Ft(u,qt.propNames??[])};return r?g.color=p.color_gray_52:o?g.color=o:g.color=p.color_black,w(d,{as:a,...g,ref:t,className:l,$normal:s,children:n})});Gn.displayName="Title";const Eg=D.default.createContext({}),Sg=D.default.forwardRef(function(t,n){const{children:r,pb:o}=t,{setModalTitle:a,size:i}=c.useContext(Eg);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(me,{"data-id":"modal-header",bg:"white",ref:n,pt:p.spacing_500,pr:p.spacing_500,pl:p.spacing_500,pb:l,children:w(me,{display:"flex",alignItems:"center",children:w(me,{flex:"1",children:w(Gn,{as:"h2",looksLike:"h6",children:r})})})})});Sg.displayName="Modal.Header";const XT=Sg,ui={small:"450px",medium:"650px",large:"850px"},ZT=F.default("div")`
272
+ `,qT={h1:BT,h2:jT,h3:UT,h4:WT,h5:HT,h6:GT,body:YT},Yn=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=qT[i],g={...zt(u,Zt.propNames??[])};return r?g.color=p.color_gray_52:o?g.color=o:g.color=p.color_black,w(d,{as:a,...g,ref:t,className:l,$normal:s,children:n})});Yn.displayName="Title";const Eg=D.default.createContext({}),Sg=D.default.forwardRef(function(t,n){const{children:r,pb:o}=t,{setModalTitle:a,size:i}=c.useContext(Eg);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(me,{"data-id":"modal-header",bg:"white",ref:n,pt:p.spacing_500,pr:p.spacing_500,pl:p.spacing_500,pb:l,children:w(me,{display:"flex",alignItems:"center",children:w(me,{flex:"1",children:w(Yn,{as:"h2",looksLike:"h6",children:r})})})})});Sg.displayName="Modal.Header";const XT=Sg,ui={small:"450px",medium:"650px",large:"850px"},ZT=F.default("div")`
273
273
  ${FT}
274
274
  `,JT=F.default("div")`
275
275
  ${LT}
@@ -278,7 +278,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
278
278
  `,e7=F.default(me)`
279
279
  ${zT}
280
280
  ${RT}
281
- `,Oo=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=ui[d]);const[g,m]=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&&wp("escape",l)(x)}return Dr("keydown",y),Dr("click",$),c.useLayoutEffect(()=>{s&&b.current&&b.current.focus()},[s]),ee(Qe,{children:[w(bg,{isActive:s}),w(ci,{containerId:u,children:w(ii.TouchScrollable,{children:w(ZT,{$open:s,className:o,role:"dialog","aria-modal":"true","aria-label":g,"aria-labelledby":g,children:w(me,{size:"100%",ref:h,"data-id":"modal-overlay",children:w(JT,{children:w(QT,{disabled:!s||lD(),returnFocus:!0,children:w($g,{mountOnEnter:!0,unmountOnExit:!0,in:s,timeout:{enter:si(p.motion_duration_fast),exit:si(p.motion_duration_fast)},nodeRef:v,children:x=>w("div",{ref:v,children:w(e7,{$state:x,tabIndex:-1,ref:n,display:"flex",justifyContent:"center","data-id":"modal-content-wrapper",children:w(me,{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(Eg.Provider,{value:{setModalTitle:m,onClose:l,open:s,size:d},children:r})})})})})})})})})})})]})});Oo.displayName="Modal",Oo.Header=XT,Oo.Content=KT,Oo.Footer=VT;const t7=Oo,n7=({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}},r7=ue.keyframes`
281
+ `,Oo=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=ui[d]);const[g,m]=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&&wp("escape",l)(x)}return Pr("keydown",y),Pr("click",$),c.useLayoutEffect(()=>{s&&b.current&&b.current.focus()},[s]),ee(tt,{children:[w(bg,{isActive:s}),w(ci,{containerId:u,children:w(ii.TouchScrollable,{children:w(ZT,{$open:s,className:o,role:"dialog","aria-modal":"true","aria-label":g,"aria-labelledby":g,children:w(me,{size:"100%",ref:h,"data-id":"modal-overlay",children:w(JT,{children:w(QT,{disabled:!s||lD(),returnFocus:!0,children:w($g,{mountOnEnter:!0,unmountOnExit:!0,in:s,timeout:{enter:si(p.motion_duration_fast),exit:si(p.motion_duration_fast)},nodeRef:v,children:x=>w("div",{ref:v,children:w(e7,{$state:x,tabIndex:-1,ref:n,display:"flex",justifyContent:"center","data-id":"modal-content-wrapper",children:w(me,{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(Eg.Provider,{value:{setModalTitle:m,onClose:l,open:s,size:d},children:r})})})})})})})})})})})]})});Oo.displayName="Modal",Oo.Header=XT,Oo.Content=KT,Oo.Footer=VT;const t7=Oo,n7=({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}},r7=ue.keyframes`
282
282
  0% {
283
283
  opacity: 0;
284
284
  }
@@ -428,14 +428,14 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
428
428
  padding: ${p.spacing_100} ${p.spacing_200};
429
429
  font-size: ${p.font_size_175};
430
430
  `}}}
431
- `,T7={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 k7({children:e,size:t="large",variant:n="positive",as:r="div",...o}){const i={...Ft(o,qt.propNames??[])},l=i.fontWeight,s=T7[n];return w(P7,{...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 ke=typeof document<"u"?D.default.useLayoutEffect:()=>{};function Ae(e){const t=c.useRef(null);return ke(()=>{t.current=e},[e]),c.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}function C7(e){let[t,n]=c.useState(e),r=c.useRef(null),o=Ae(()=>{if(!r.current)return;let i=r.current.next();if(i.done){r.current=null;return}t===i.value?o():n(i.value)});ke(()=>{r.current&&o()});let a=Ae(i=>{r.current=i(t),o()});return[t,a]}const di={prefix:String(Math.round(Math.random()*1e10)),current:0},Pg=D.default.createContext(di),A7=D.default.createContext(!1);let I7=!!(typeof window<"u"&&window.document&&window.document.createElement),Ec=new WeakMap;function O7(e=!1){let t=c.useContext(Pg),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=Ec.get(a);i==null?Ec.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ec.delete(a))}n.current=++t.current}return n.current}function M7(e){let t=c.useContext(Pg);t===di&&!I7&&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=O7(!!e),r=t===di&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${n}`}function F7(e){let t=D.default.useId(),[n]=c.useState(fi()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${di.prefix}`;return e||`${r}-${t}`}const L7=typeof D.default.useId=="function"?F7:M7;function N7(){return!1}function z7(){return!0}function R7(e){return()=>{}}function fi(){return typeof D.default.useSyncExternalStore=="function"?D.default.useSyncExternalStore(R7,N7,z7):c.useContext(A7)}let K7=!!(typeof window<"u"&&window.document&&window.document.createElement),pi=new Map;function dt(e){let[t,n]=c.useState(e),r=c.useRef(null),o=L7(t),a=c.useCallback(i=>{r.current=i},[]);return K7&&pi.set(o,a),ke(()=>{let i=o;return()=>{pi.delete(i)}},[o]),c.useEffect(()=>{let i=r.current;i&&(r.current=null,n(i))}),o}function V7(e,t){if(e===t)return e;let n=pi.get(e);if(n)return n(t),t;let r=pi.get(t);return r?(r(e),e):t}function Mo(e=[]){let t=dt(),[n,r]=C7(t),o=c.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return ke(o,[t,o,...e]),n}function Jt(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const Te=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Et=e=>e&&"window"in e&&e.window===e?e:Te(e).defaultView||window;function Tg(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=Tg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function B7(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Tg(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]=Jt(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=B7(a,i):o==="id"&&a&&i?t.id=V7(a,i):t[o]=i!==void 0?i:a}}return t}const j7=new Set(["id"]),U7=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),W7=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),H7=/^(data-.*)$/;function Sn(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(j7.has(i)||n&&U7.has(i)||r&&W7.has(i)||o!=null&&o.has(i)||H7.test(i))&&(a[i]=e[i]);return a}function Kt(e){if(G7())e.focus({preventScroll:!0});else{let t=Y7(e);e.focus(),q7(t)}}let mi=null;function G7(){if(mi==null){mi=!1;try{document.createElement("div").focus({get preventScroll(){return mi=!0,!0}})}catch{}}return mi}function Y7(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 q7(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function gi(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 Sc(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 en=Qt(function(){return Sc(/^Mac/i)}),kg=Qt(function(){return Sc(/^iPhone/i)}),Dc=Qt(function(){return Sc(/^iPad/i)||en()&&navigator.maxTouchPoints>1}),Fo=Qt(function(){return kg()||Dc()}),hi=Qt(function(){return en()||Fo()}),Pc=Qt(function(){return gi(/AppleWebKit/i)&&!X7()}),X7=Qt(function(){return gi(/Chrome/i)}),Tc=Qt(function(){return gi(/Android/i)}),Z7=Qt(function(){return gi(/Firefox/i)});function Lo(e,t,n=!0){var r,o;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;Z7()&&(!((o=window.event)===null||o===void 0||(r=o.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(en()?a=!0:i=!0);let u=Pc()&&en()&&!Dc()?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});Lo.isOpening=n,Kt(e),e.dispatchEvent(u),Lo.isOpening=!1}Lo.isOpening=!1;let Pr=new Map,kc=new Set;function Cg(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{if(!e(r)||!r.target)return;let o=Pr.get(r.target);o||(o=new Set,Pr.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=Pr.get(r.target);if(o&&(o.delete(r.propertyName),o.size===0&&(r.target.removeEventListener("transitioncancel",n),Pr.delete(r.target)),Pr.size===0)){for(let a of kc)a();kc.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?Cg():document.addEventListener("DOMContentLoaded",Cg));function Ag(e){requestAnimationFrame(()=>{Pr.size===0?e():kc.add(e)})}function Cc(){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 Tr(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;return n=dt(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 Dn(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 Ig(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 J7(){return typeof window.ResizeObserver<"u"}function Og(e){const{ref:t,box:n,onResize:r}=e;c.useEffect(()=>{let o=t==null?void 0:t.current;if(o)if(J7()){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 Mg(e,t){ke(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function No(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 Ac(e,t){let n=e;for(No(n,t)&&(n=n.parentElement);n&&!No(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function Q7(e,t){const n=[];for(;e&&e!==document.documentElement;)No(e,t)&&n.push(e),e=e.parentElement;return n}let ek=0;const Ic=new Map;function Oc(e){let[t,n]=c.useState();return ke(()=>{if(!e)return;let r=Ic.get(e);if(r)n(r.element.id);else{let o=`react-aria-description-${ek++}`;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},Ic.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),Ic.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function kr(e,t,n,r){let o=Ae(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 Fg(e,t){let n=Lg(e,t,"left"),r=Lg(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),g=d+e.clientWidth,m=f+e.clientHeight;n<=i?i=n-parseInt(u,10):n+o>g&&(i+=n+o-g),r<=f?l=r-parseInt(s,10):r+a>m&&(l+=r+a-m),e.scrollLeft=i,e.scrollTop=l}function Lg(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 Mc(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=Q7(e);for(let u of s)Fg(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 Fc(e){return e.mozInputSource===0&&e.isTrusted?!0:Tc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function tk(e){return!Tc()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Ng(e,t){let n=c.useRef(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function nk(e,t,n){let r=c.useRef(t),o=Ae(()=>{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 Vt(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=(g,...m)=>{n&&(Object.is(l,g)||n(g,...m)),i||(l=g)};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((m,...h)=>{let b=u(i?l:m,...h);return f(b,...d),i?m:b})):(i||o(u),f(u,...d))},[i,l,n]);return[l,s]}function bi(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function vi(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 Yn(e,t,n,r){t=Number(t),n=Number(n);let o=(e-(isNaN(t)?0:t))%r,a=vi(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(vi(n/r,r))*r):a<t?a=t:!isNaN(n)&&a>n&&(a=t+Math.floor(vi((n-t)/r,r))*r),a=vi(a,r),a}let Cr="default",Lc="",yi=new WeakMap;function zg(e){if(Fo()){if(Cr==="default"){const t=Te(e);Lc=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Cr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(yi.set(e,e.style.userSelect),e.style.userSelect="none")}function $i(e){if(Fo()){if(Cr!=="disabled")return;Cr="restoring",setTimeout(()=>{Ag(()=>{if(Cr==="restoring"){const t=Te(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Lc||""),Lc="",Cr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&yi.has(e)){let t=yi.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),yi.delete(e)}}const Nc=D.default.createContext({register:()=>{}});Nc.displayName="PressResponderContext";function rk(e,t){return t.get?t.get.call(e):t.value}function Rg(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function ok(e,t){var n=Rg(e,t,"get");return rk(e,n)}function ak(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zo(e,t,n){ak(e,t),t.set(e,n)}function ik(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 Kg(e,t,n){var r=Rg(e,t,"set");return ik(e,r,n),n}function lk(e){let t=c.useContext(Nc);if(t){let{register:n,...r}=t;e=ge(r,e),n()}return Mg(t,e.ref),e}var _i=new WeakMap;class xi{continuePropagation(){Kg(this,_i,!1)}get shouldStopPropagation(){return ok(this,_i)}constructor(t,n,r,o){zo(this,_i,{writable:!0,value:void 0}),Kg(this,_i,!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 Vg=Symbol("linkClicked");function Ar(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...g}=lk(e),[m,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:$}=Cc(),y=Ae((_,C)=>{let N=b.current;if(i||N.didFirePressStart)return!1;let E=!0;if(N.isTriggeringEvent=!0,r){let V=new xi("pressstart",C,_);r(V),E=V.shouldStopPropagation}return n&&n(!0),N.isTriggeringEvent=!1,N.didFirePressStart=!0,h(!0),E}),x=Ae((_,C,N=!0)=>{let E=b.current;if(!E.didFirePressStart)return!1;E.ignoreClickAfterPress=!0,E.didFirePressStart=!1,E.isTriggeringEvent=!0;let V=!0;if(o){let O=new xi("pressend",C,_);o(O),V=O.shouldStopPropagation}if(n&&n(!1),h(!1),t&&N&&!i){let O=new xi("press",C,_);t(O),V&&(V=O.shouldStopPropagation)}return E.isTriggeringEvent=!1,V}),S=Ae((_,C)=>{let N=b.current;if(i)return!1;if(a){N.isTriggeringEvent=!0;let E=new xi("pressup",C,_);return a(E),N.isTriggeringEvent=!1,E.shouldStopPropagation}return!0}),k=Ae(_=>{let C=b.current;C.isPressed&&C.target&&(C.isOverTarget&&C.pointerType!=null&&x(tn(C.target,_),C.pointerType,!1),C.isPressed=!1,C.isOverTarget=!1,C.activePointerId=null,C.pointerType=null,$(),d||$i(C.target))}),P=Ae(_=>{u&&k(_)}),M=c.useMemo(()=>{let _=b.current,C={onKeyDown(E){if(Rc(E.nativeEvent,E.currentTarget)&&E.currentTarget.contains(E.target)){var V;jg(E.target,E.key)&&E.preventDefault();let O=!0;if(!_.isPressed&&!E.repeat){_.target=E.currentTarget,_.isPressed=!0,O=y(E,"keyboard");let T=E.currentTarget,U=I=>{Rc(I,T)&&!I.repeat&&T.contains(I.target)&&_.target&&S(tn(_.target,I),"keyboard")};v(Te(E.currentTarget),"keyup",Jt(U,N),!0)}O&&E.stopPropagation(),E.metaKey&&en()&&((V=_.metaKeyEvents)===null||V===void 0||V.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&&!Lo.isOpening){let V=!0;if(i&&E.preventDefault(),!_.ignoreClickAfterPress&&!_.ignoreEmulatedMouseEvents&&!_.isPressed&&(_.pointerType==="virtual"||Fc(E.nativeEvent))){!i&&!s&&Kt(E.currentTarget);let O=y(E,"virtual"),T=S(E,"virtual"),U=x(E,"virtual");V=O&&T&&U}_.ignoreEmulatedMouseEvents=!1,_.ignoreClickAfterPress=!1,V&&E.stopPropagation()}}},N=E=>{var V;if(_.isPressed&&_.target&&Rc(E,_.target)){var O;jg(E.target,E.key)&&E.preventDefault();let U=E.target;x(tn(_.target,E),"keyboard",_.target.contains(U)),$(),E.key!=="Enter"&&zc(_.target)&&_.target.contains(U)&&!E[Vg]&&(E[Vg]=!0,Lo(_.target,E,!1)),_.isPressed=!1,(O=_.metaKeyEvents)===null||O===void 0||O.delete(E.key)}else if(E.key==="Meta"&&(!((V=_.metaKeyEvents)===null||V===void 0)&&V.size)){var T;let U=_.metaKeyEvents;_.metaKeyEvents=void 0;for(let I of U.values())(T=_.target)===null||T===void 0||T.dispatchEvent(new KeyboardEvent("keyup",I))}};if(typeof PointerEvent<"u"){C.onPointerDown=T=>{if(T.button!==0||!T.currentTarget.contains(T.target))return;if(tk(T.nativeEvent)){_.pointerType="virtual";return}Kc(T.currentTarget)&&T.preventDefault(),_.pointerType=T.pointerType;let U=!0;_.isPressed||(_.isPressed=!0,_.isOverTarget=!0,_.activePointerId=T.pointerId,_.target=T.currentTarget,!i&&!s&&Kt(T.currentTarget),d||zg(_.target),U=y(T,_.pointerType),v(Te(T.currentTarget),"pointermove",E,!1),v(Te(T.currentTarget),"pointerup",V,!1),v(Te(T.currentTarget),"pointercancel",O,!1)),U&&T.stopPropagation()},C.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(Kc(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},C.onPointerUp=T=>{!T.currentTarget.contains(T.target)||_.pointerType==="virtual"||T.button===0&&Ir(T,T.currentTarget)&&S(T,_.pointerType||T.pointerType)};let E=T=>{T.pointerId===_.activePointerId&&(_.target&&Ir(T,_.target)?!_.isOverTarget&&_.pointerType!=null&&(_.isOverTarget=!0,y(tn(_.target,T),_.pointerType)):_.target&&_.isOverTarget&&_.pointerType!=null&&(_.isOverTarget=!1,x(tn(_.target,T),_.pointerType,!1),P(T)))},V=T=>{T.pointerId===_.activePointerId&&_.isPressed&&T.button===0&&_.target&&(Ir(T,_.target)&&_.pointerType!=null?x(tn(_.target,T),_.pointerType):_.isOverTarget&&_.pointerType!=null&&x(tn(_.target,T),_.pointerType,!1),_.isPressed=!1,_.isOverTarget=!1,_.activePointerId=null,_.pointerType=null,$(),d||$i(_.target))},O=T=>{k(T)};C.onDragStart=T=>{T.currentTarget.contains(T.target)&&k(T)}}else{C.onMouseDown=O=>{if(O.button!==0||!O.currentTarget.contains(O.target))return;if(Kc(O.currentTarget)&&O.preventDefault(),_.ignoreEmulatedMouseEvents){O.stopPropagation();return}_.isPressed=!0,_.isOverTarget=!0,_.target=O.currentTarget,_.pointerType=Fc(O.nativeEvent)?"virtual":"mouse",!i&&!s&&Kt(O.currentTarget),y(O,_.pointerType)&&O.stopPropagation(),v(Te(O.currentTarget),"mouseup",E,!1)},C.onMouseEnter=O=>{if(!O.currentTarget.contains(O.target))return;let T=!0;_.isPressed&&!_.ignoreEmulatedMouseEvents&&_.pointerType!=null&&(_.isOverTarget=!0,T=y(O,_.pointerType)),T&&O.stopPropagation()},C.onMouseLeave=O=>{if(!O.currentTarget.contains(O.target))return;let T=!0;_.isPressed&&!_.ignoreEmulatedMouseEvents&&_.pointerType!=null&&(_.isOverTarget=!1,T=x(O,_.pointerType,!1),P(O)),T&&O.stopPropagation()},C.onMouseUp=O=>{O.currentTarget.contains(O.target)&&!_.ignoreEmulatedMouseEvents&&O.button===0&&S(O,_.pointerType||"mouse")};let E=O=>{if(O.button===0){if(_.isPressed=!1,$(),_.ignoreEmulatedMouseEvents){_.ignoreEmulatedMouseEvents=!1;return}_.target&&Ir(O,_.target)&&_.pointerType!=null?x(tn(_.target,O),_.pointerType):_.target&&_.isOverTarget&&_.pointerType!=null&&x(tn(_.target,O),_.pointerType,!1),_.isOverTarget=!1}};C.onTouchStart=O=>{if(!O.currentTarget.contains(O.target))return;let T=sk(O.nativeEvent);if(!T)return;_.activePointerId=T.identifier,_.ignoreEmulatedMouseEvents=!0,_.isOverTarget=!0,_.isPressed=!0,_.target=O.currentTarget,_.pointerType="touch",!i&&!s&&Kt(O.currentTarget),d||zg(_.target),y(Pn(_.target,O),_.pointerType)&&O.stopPropagation(),v(Et(O.currentTarget),"scroll",V,!0)},C.onTouchMove=O=>{if(!O.currentTarget.contains(O.target))return;if(!_.isPressed){O.stopPropagation();return}let T=Bg(O.nativeEvent,_.activePointerId),U=!0;T&&Ir(T,O.currentTarget)?!_.isOverTarget&&_.pointerType!=null&&(_.isOverTarget=!0,U=y(Pn(_.target,O),_.pointerType)):_.isOverTarget&&_.pointerType!=null&&(_.isOverTarget=!1,U=x(Pn(_.target,O),_.pointerType,!1),P(Pn(_.target,O))),U&&O.stopPropagation()},C.onTouchEnd=O=>{if(!O.currentTarget.contains(O.target))return;if(!_.isPressed){O.stopPropagation();return}let T=Bg(O.nativeEvent,_.activePointerId),U=!0;T&&Ir(T,O.currentTarget)&&_.pointerType!=null?(S(Pn(_.target,O),_.pointerType),U=x(Pn(_.target,O),_.pointerType)):_.isOverTarget&&_.pointerType!=null&&(U=x(Pn(_.target,O),_.pointerType,!1)),U&&O.stopPropagation(),_.isPressed=!1,_.activePointerId=null,_.isOverTarget=!1,_.ignoreEmulatedMouseEvents=!0,_.target&&!d&&$i(_.target),$()},C.onTouchCancel=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),_.isPressed&&k(Pn(_.target,O)))};let V=O=>{_.isPressed&&O.target.contains(_.target)&&k({currentTarget:_.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};C.onDragStart=O=>{O.currentTarget.contains(O.target)&&k(O)}}return C},[v,i,s,$,d,k,P,x,y,S]);return c.useEffect(()=>()=>{var _;d||$i((_=b.current.target)!==null&&_!==void 0?_:void 0)},[d]),{isPressed:l||m,pressProps:ge(g,M)}}function zc(e){return e.tagName==="A"&&e.hasAttribute("href")}function Rc(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof Et(o).HTMLInputElement&&!Ug(o,n)||o instanceof Et(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&zc(o))&&n!=="Enter")}function sk(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Bg(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 Pn(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 tn(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 ck(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 uk(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Ir(e,t){let n=t.getBoundingClientRect(),r=ck(e);return uk(n,r)}function Kc(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function jg(e,t){return e instanceof HTMLInputElement?!Ug(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!zc(e)}const dk=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ug(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":dk.has(e.type)}function fk({children:e}){let t=c.useMemo(()=>({register:()=>{}}),[]);return D.default.createElement(Nc.Provider,{value:t},e)}class pk{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 Wg(e){let t=c.useRef({isFocused:!1,observer:null});ke(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Ae(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 pk("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 Vc(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=Wg(a),l=c.useCallback(s=>{const u=Te(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 nn=null,Ro=new Set,Ko=new Map,qn=!1,Bc=!1;const mk={Tab:!0,Escape:!0};function wi(e,t){for(let n of Ro)n(e,t)}function gk(e){return!(e.metaKey||!en()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ei(e){qn=!0,gk(e)&&(nn="keyboard",wi("keyboard",e))}function ft(e){nn="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(qn=!0,wi("pointer",e))}function Hg(e){Fc(e)&&(qn=!0,nn="virtual")}function Gg(e){e.target===window||e.target===document||(!qn&&!Bc&&(nn="virtual",wi("virtual",e)),qn=!1,Bc=!1)}function Yg(){qn=!1,Bc=!0}function Si(e){if(typeof window>"u"||Ko.get(Et(e)))return;const t=Et(e),n=Te(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){qn=!0,r.apply(this,arguments)},n.addEventListener("keydown",Ei,!0),n.addEventListener("keyup",Ei,!0),n.addEventListener("click",Hg,!0),t.addEventListener("focus",Gg,!0),t.addEventListener("blur",Yg,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",ft,!0),n.addEventListener("pointermove",ft,!0),n.addEventListener("pointerup",ft,!0)):(n.addEventListener("mousedown",ft,!0),n.addEventListener("mousemove",ft,!0),n.addEventListener("mouseup",ft,!0)),t.addEventListener("beforeunload",()=>{qg(e)},{once:!0}),Ko.set(t,{focus:r})}const qg=(e,t)=>{const n=Et(e),r=Te(e);t&&r.removeEventListener("DOMContentLoaded",t),Ko.has(n)&&(n.HTMLElement.prototype.focus=Ko.get(n).focus,r.removeEventListener("keydown",Ei,!0),r.removeEventListener("keyup",Ei,!0),r.removeEventListener("click",Hg,!0),n.removeEventListener("focus",Gg,!0),n.removeEventListener("blur",Yg,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",ft,!0),r.removeEventListener("pointermove",ft,!0),r.removeEventListener("pointerup",ft,!0)):(r.removeEventListener("mousedown",ft,!0),r.removeEventListener("mousemove",ft,!0),r.removeEventListener("mouseup",ft,!0)),Ko.delete(n))};function hk(e){const t=Te(e);let n;return t.readyState!=="loading"?Si(e):(n=()=>{Si(e)},t.addEventListener("DOMContentLoaded",n)),()=>qg(e,n)}typeof document<"u"&&hk();function Di(){return nn!=="pointer"}function Pi(){return nn}function jc(e){nn=e,wi(e,null)}function Xg(){Si();let[e,t]=c.useState(nn);return c.useEffect(()=>{let n=()=>{t(nn)};return Ro.add(n),()=>{Ro.delete(n)}},[]),fi()?null:e}const bk=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function vk(e,t,n){var r;const o=typeof window<"u"?Et(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Et(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Et(n==null?void 0:n.target).HTMLElement:HTMLElement,l=typeof window<"u"?Et(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||(n==null?void 0:n.target)instanceof o&&!bk.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&&!mk[n.key])}function yk(e,t,n){Si(),c.useEffect(()=>{let r=(o,a)=>{vk(!!(n!=null&&n.isTextInput),o,a)&&e(Di())};return Ro.add(r),()=>{Ro.delete(r)}},t)}function Vo(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=Wg(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 Ti=!1,Uc=0;function Wc(){Ti=!0,setTimeout(()=>{Ti=!1},50)}function Zg(e){e.pointerType==="touch"&&Wc()}function $k(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Zg):document.addEventListener("touchend",Wc),Uc++,()=>{Uc--,!(Uc>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Zg):document.removeEventListener("touchend",Wc))}}function _k(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($k,[]);let{hoverProps:s,triggerHoverEnd:u}=c.useMemo(()=>{let d=(m,h)=>{if(l.pointerType=h,o||h==="touch"||l.isHovered||!m.currentTarget.contains(m.target))return;l.isHovered=!0;let b=m.currentTarget;l.target=b,t&&t({type:"hoverstart",target:b,pointerType:h}),n&&n(!0),i(!0)},f=(m,h)=>{if(l.pointerType="",l.target=null,h==="touch"||!l.isHovered)return;l.isHovered=!1;let b=m.currentTarget;r&&r({type:"hoverend",target:b,pointerType:h}),n&&n(!1),i(!1)},g={};return typeof PointerEvent<"u"?(g.onPointerEnter=m=>{Ti&&m.pointerType==="mouse"||d(m,m.pointerType)},g.onPointerLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(g.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},g.onMouseEnter=m=>{!l.ignoreEmulatedMouseEvents&&!Ti&&d(m,"mouse"),l.ignoreEmulatedMouseEvents=!1},g.onMouseLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:g,triggerHoverEnd:f}},[t,n,r,o,l]);return c.useEffect(()=>{o&&u({currentTarget:l.target},l.pointerType)},[o]),{hoverProps:s,isHovered:a}}function xk(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:o}=e,a=c.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Ae(s=>{n&&ki(s,t)&&(o&&o(s),a.current.isPointerDown=!0)}),l=Ae(s=>{n&&n(s)});c.useEffect(()=>{let s=a.current;if(r)return;const u=t.current,d=Te(u);if(typeof PointerEvent<"u"){let f=g=>{s.isPointerDown&&ki(g,t)&&l(g),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=m=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&ki(m,t)&&l(m),s.isPointerDown=!1},g=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&ki(m,t)&&l(m),s.isPointerDown=!1};return d.addEventListener("mousedown",i,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",i,!0),d.addEventListener("touchend",g,!0),()=>{d.removeEventListener("mousedown",i,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",i,!0),d.removeEventListener("touchend",g,!0)}}},[t,r,i,l])}function ki(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 Jg(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 wk(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Jg(e.onKeyDown),onKeyUp:Jg(e.onKeyUp)}}}function Ek(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]);kr(t,"wheel",r?void 0:o)}const Sk=500;function Qg(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:a=Sk,accessibilityDescription:i}=e;const l=c.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:u}=Cc(),{pressProps:d}=Ar({isDisabled:t,onPressStart(g){if(g.continuePropagation(),(g.pointerType==="mouse"||g.pointerType==="touch")&&(n&&n({...g,type:"longpressstart"}),l.current=setTimeout(()=>{g.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...g,type:"longpress"}),l.current=void 0},a),g.pointerType==="touch")){let m=h=>{h.preventDefault()};s(g.target,"contextmenu",m,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{u(g.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(g){l.current&&clearTimeout(l.current),r&&(g.pointerType==="mouse"||g.pointerType==="touch")&&r({...g,type:"longpressend"})}}),f=Oc(o&&!t?i:void 0);return{longPressProps:ge(d,f)}}const eh={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 th(e={}){let{style:t,isFocusable:n}=e,[r,o]=c.useState(!1),{focusWithinProps:a}=Vo({isDisabled:!n,onFocusWithinChange:l=>o(l)}),i=c.useMemo(()=>r?t:t?{...eh,...t}:eh,[r]);return{visuallyHiddenProps:{...a,style:i}}}function Ci(e){let{children:t,elementType:n="div",isFocusable:r,style:o,...a}=e,{visuallyHiddenProps:i}=th(e);return D.default.createElement(n,ge(a,i),t)}const Dk=F.default(je)`
431
+ `,T7={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 k7({children:e,size:t="large",variant:n="positive",as:r="div",...o}){const i={...zt(o,Zt.propNames??[])},l=i.fontWeight,s=T7[n];return w(P7,{...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 Ae=typeof document<"u"?D.default.useLayoutEffect:()=>{};function Oe(e){const t=c.useRef(null);return Ae(()=>{t.current=e},[e]),c.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}function C7(e){let[t,n]=c.useState(e),r=c.useRef(null),o=Oe(()=>{if(!r.current)return;let i=r.current.next();if(i.done){r.current=null;return}t===i.value?o():n(i.value)});Ae(()=>{r.current&&o()});let a=Oe(i=>{r.current=i(t),o()});return[t,a]}const di={prefix:String(Math.round(Math.random()*1e10)),current:0},Pg=D.default.createContext(di),A7=D.default.createContext(!1);let I7=!!(typeof window<"u"&&window.document&&window.document.createElement),Ec=new WeakMap;function O7(e=!1){let t=c.useContext(Pg),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=Ec.get(a);i==null?Ec.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ec.delete(a))}n.current=++t.current}return n.current}function M7(e){let t=c.useContext(Pg);t===di&&!I7&&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=O7(!!e),r=t===di&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${n}`}function F7(e){let t=D.default.useId(),[n]=c.useState(fi()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${di.prefix}`;return e||`${r}-${t}`}const L7=typeof D.default.useId=="function"?F7:M7;function N7(){return!1}function z7(){return!0}function R7(e){return()=>{}}function fi(){return typeof D.default.useSyncExternalStore=="function"?D.default.useSyncExternalStore(R7,N7,z7):c.useContext(A7)}let K7=!!(typeof window<"u"&&window.document&&window.document.createElement),pi=new Map;function mt(e){let[t,n]=c.useState(e),r=c.useRef(null),o=L7(t),a=c.useCallback(i=>{r.current=i},[]);return K7&&pi.set(o,a),Ae(()=>{let i=o;return()=>{pi.delete(i)}},[o]),c.useEffect(()=>{let i=r.current;i&&(r.current=null,n(i))}),o}function V7(e,t){if(e===t)return e;let n=pi.get(e);if(n)return n(t),t;let r=pi.get(t);return r?(r(e),e):t}function Mo(e=[]){let t=mt(),[n,r]=C7(t),o=c.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Ae(o,[t,o,...e]),n}function en(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const Ce=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Dt=e=>e&&"window"in e&&e.window===e?e:Ce(e).defaultView||window;function Tg(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=Tg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function B7(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Tg(e))&&(r&&(r+=" "),r+=t);return r}function ve(...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]=en(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=B7(a,i):o==="id"&&a&&i?t.id=V7(a,i):t[o]=i!==void 0?i:a}}return t}const j7=new Set(["id"]),U7=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),W7=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),H7=/^(data-.*)$/;function Sn(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(j7.has(i)||n&&U7.has(i)||r&&W7.has(i)||o!=null&&o.has(i)||H7.test(i))&&(a[i]=e[i]);return a}function jt(e){if(G7())e.focus({preventScroll:!0});else{let t=Y7(e);e.focus(),q7(t)}}let mi=null;function G7(){if(mi==null){mi=!1;try{document.createElement("div").focus({get preventScroll(){return mi=!0,!0}})}catch{}}return mi}function Y7(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 q7(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function gi(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 Sc(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 tn(e){let t=null;return()=>(t==null&&(t=e()),t)}const nn=tn(function(){return Sc(/^Mac/i)}),kg=tn(function(){return Sc(/^iPhone/i)}),Dc=tn(function(){return Sc(/^iPad/i)||nn()&&navigator.maxTouchPoints>1}),Fo=tn(function(){return kg()||Dc()}),hi=tn(function(){return nn()||Fo()}),Pc=tn(function(){return gi(/AppleWebKit/i)&&!X7()}),X7=tn(function(){return gi(/Chrome/i)}),Tc=tn(function(){return gi(/Android/i)}),Z7=tn(function(){return gi(/Firefox/i)});function Lo(e,t,n=!0){var r,o;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;Z7()&&(!((o=window.event)===null||o===void 0||(r=o.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(nn()?a=!0:i=!0);let u=Pc()&&nn()&&!Dc()?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});Lo.isOpening=n,jt(e),e.dispatchEvent(u),Lo.isOpening=!1}Lo.isOpening=!1;let Tr=new Map,kc=new Set;function Cg(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{if(!e(r)||!r.target)return;let o=Tr.get(r.target);o||(o=new Set,Tr.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=Tr.get(r.target);if(o&&(o.delete(r.propertyName),o.size===0&&(r.target.removeEventListener("transitioncancel",n),Tr.delete(r.target)),Tr.size===0)){for(let a of kc)a();kc.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?Cg():document.addEventListener("DOMContentLoaded",Cg));function Ag(e){requestAnimationFrame(()=>{Tr.size===0?e():kc.add(e)})}function Cc(){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 kr(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;return n=mt(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 Dn(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 Ig(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 J7(){return typeof window.ResizeObserver<"u"}function Og(e){const{ref:t,box:n,onResize:r}=e;c.useEffect(()=>{let o=t==null?void 0:t.current;if(o)if(J7()){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 Mg(e,t){Ae(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function No(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 Ac(e,t){let n=e;for(No(n,t)&&(n=n.parentElement);n&&!No(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function Q7(e,t){const n=[];for(;e&&e!==document.documentElement;)No(e,t)&&n.push(e),e=e.parentElement;return n}let ek=0;const Ic=new Map;function Oc(e){let[t,n]=c.useState();return Ae(()=>{if(!e)return;let r=Ic.get(e);if(r)n(r.element.id);else{let o=`react-aria-description-${ek++}`;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},Ic.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),Ic.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Cr(e,t,n,r){let o=Oe(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 Fg(e,t){let n=Lg(e,t,"left"),r=Lg(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),g=d+e.clientWidth,m=f+e.clientHeight;n<=i?i=n-parseInt(u,10):n+o>g&&(i+=n+o-g),r<=f?l=r-parseInt(s,10):r+a>m&&(l+=r+a-m),e.scrollLeft=i,e.scrollTop=l}function Lg(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 Mc(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=Q7(e);for(let u of s)Fg(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 Fc(e){return e.mozInputSource===0&&e.isTrusted?!0:Tc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function tk(e){return!Tc()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Ng(e,t){let n=c.useRef(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function nk(e,t,n){let r=c.useRef(t),o=Oe(()=>{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 Ut(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=(g,...m)=>{n&&(Object.is(l,g)||n(g,...m)),i||(l=g)};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((m,...h)=>{let b=u(i?l:m,...h);return f(b,...d),i?m:b})):(i||o(u),f(u,...d))},[i,l,n]);return[l,s]}function bi(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function vi(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 qn(e,t,n,r){t=Number(t),n=Number(n);let o=(e-(isNaN(t)?0:t))%r,a=vi(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(vi(n/r,r))*r):a<t?a=t:!isNaN(n)&&a>n&&(a=t+Math.floor(vi((n-t)/r,r))*r),a=vi(a,r),a}let Ar="default",Lc="",yi=new WeakMap;function zg(e){if(Fo()){if(Ar==="default"){const t=Ce(e);Lc=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Ar="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(yi.set(e,e.style.userSelect),e.style.userSelect="none")}function $i(e){if(Fo()){if(Ar!=="disabled")return;Ar="restoring",setTimeout(()=>{Ag(()=>{if(Ar==="restoring"){const t=Ce(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Lc||""),Lc="",Ar="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&yi.has(e)){let t=yi.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),yi.delete(e)}}const Nc=D.default.createContext({register:()=>{}});Nc.displayName="PressResponderContext";function rk(e,t){return t.get?t.get.call(e):t.value}function Rg(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function ok(e,t){var n=Rg(e,t,"get");return rk(e,n)}function ak(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zo(e,t,n){ak(e,t),t.set(e,n)}function ik(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 Kg(e,t,n){var r=Rg(e,t,"set");return ik(e,r,n),n}function lk(e){let t=c.useContext(Nc);if(t){let{register:n,...r}=t;e=ve(r,e),n()}return Mg(t,e.ref),e}var _i=new WeakMap;class xi{continuePropagation(){Kg(this,_i,!1)}get shouldStopPropagation(){return ok(this,_i)}constructor(t,n,r,o){zo(this,_i,{writable:!0,value:void 0}),Kg(this,_i,!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 Vg=Symbol("linkClicked");function Ir(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...g}=lk(e),[m,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:$}=Cc(),y=Oe((_,C)=>{let N=b.current;if(i||N.didFirePressStart)return!1;let E=!0;if(N.isTriggeringEvent=!0,r){let V=new xi("pressstart",C,_);r(V),E=V.shouldStopPropagation}return n&&n(!0),N.isTriggeringEvent=!1,N.didFirePressStart=!0,h(!0),E}),x=Oe((_,C,N=!0)=>{let E=b.current;if(!E.didFirePressStart)return!1;E.ignoreClickAfterPress=!0,E.didFirePressStart=!1,E.isTriggeringEvent=!0;let V=!0;if(o){let O=new xi("pressend",C,_);o(O),V=O.shouldStopPropagation}if(n&&n(!1),h(!1),t&&N&&!i){let O=new xi("press",C,_);t(O),V&&(V=O.shouldStopPropagation)}return E.isTriggeringEvent=!1,V}),S=Oe((_,C)=>{let N=b.current;if(i)return!1;if(a){N.isTriggeringEvent=!0;let E=new xi("pressup",C,_);return a(E),N.isTriggeringEvent=!1,E.shouldStopPropagation}return!0}),k=Oe(_=>{let C=b.current;C.isPressed&&C.target&&(C.isOverTarget&&C.pointerType!=null&&x(rn(C.target,_),C.pointerType,!1),C.isPressed=!1,C.isOverTarget=!1,C.activePointerId=null,C.pointerType=null,$(),d||$i(C.target))}),P=Oe(_=>{u&&k(_)}),M=c.useMemo(()=>{let _=b.current,C={onKeyDown(E){if(Rc(E.nativeEvent,E.currentTarget)&&E.currentTarget.contains(E.target)){var V;jg(E.target,E.key)&&E.preventDefault();let O=!0;if(!_.isPressed&&!E.repeat){_.target=E.currentTarget,_.isPressed=!0,O=y(E,"keyboard");let T=E.currentTarget,U=I=>{Rc(I,T)&&!I.repeat&&T.contains(I.target)&&_.target&&S(rn(_.target,I),"keyboard")};v(Ce(E.currentTarget),"keyup",en(U,N),!0)}O&&E.stopPropagation(),E.metaKey&&nn()&&((V=_.metaKeyEvents)===null||V===void 0||V.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&&!Lo.isOpening){let V=!0;if(i&&E.preventDefault(),!_.ignoreClickAfterPress&&!_.ignoreEmulatedMouseEvents&&!_.isPressed&&(_.pointerType==="virtual"||Fc(E.nativeEvent))){!i&&!s&&jt(E.currentTarget);let O=y(E,"virtual"),T=S(E,"virtual"),U=x(E,"virtual");V=O&&T&&U}_.ignoreEmulatedMouseEvents=!1,_.ignoreClickAfterPress=!1,V&&E.stopPropagation()}}},N=E=>{var V;if(_.isPressed&&_.target&&Rc(E,_.target)){var O;jg(E.target,E.key)&&E.preventDefault();let U=E.target;x(rn(_.target,E),"keyboard",_.target.contains(U)),$(),E.key!=="Enter"&&zc(_.target)&&_.target.contains(U)&&!E[Vg]&&(E[Vg]=!0,Lo(_.target,E,!1)),_.isPressed=!1,(O=_.metaKeyEvents)===null||O===void 0||O.delete(E.key)}else if(E.key==="Meta"&&(!((V=_.metaKeyEvents)===null||V===void 0)&&V.size)){var T;let U=_.metaKeyEvents;_.metaKeyEvents=void 0;for(let I of U.values())(T=_.target)===null||T===void 0||T.dispatchEvent(new KeyboardEvent("keyup",I))}};if(typeof PointerEvent<"u"){C.onPointerDown=T=>{if(T.button!==0||!T.currentTarget.contains(T.target))return;if(tk(T.nativeEvent)){_.pointerType="virtual";return}Kc(T.currentTarget)&&T.preventDefault(),_.pointerType=T.pointerType;let U=!0;_.isPressed||(_.isPressed=!0,_.isOverTarget=!0,_.activePointerId=T.pointerId,_.target=T.currentTarget,!i&&!s&&jt(T.currentTarget),d||zg(_.target),U=y(T,_.pointerType),v(Ce(T.currentTarget),"pointermove",E,!1),v(Ce(T.currentTarget),"pointerup",V,!1),v(Ce(T.currentTarget),"pointercancel",O,!1)),U&&T.stopPropagation()},C.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(Kc(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},C.onPointerUp=T=>{!T.currentTarget.contains(T.target)||_.pointerType==="virtual"||T.button===0&&Or(T,T.currentTarget)&&S(T,_.pointerType||T.pointerType)};let E=T=>{T.pointerId===_.activePointerId&&(_.target&&Or(T,_.target)?!_.isOverTarget&&_.pointerType!=null&&(_.isOverTarget=!0,y(rn(_.target,T),_.pointerType)):_.target&&_.isOverTarget&&_.pointerType!=null&&(_.isOverTarget=!1,x(rn(_.target,T),_.pointerType,!1),P(T)))},V=T=>{T.pointerId===_.activePointerId&&_.isPressed&&T.button===0&&_.target&&(Or(T,_.target)&&_.pointerType!=null?x(rn(_.target,T),_.pointerType):_.isOverTarget&&_.pointerType!=null&&x(rn(_.target,T),_.pointerType,!1),_.isPressed=!1,_.isOverTarget=!1,_.activePointerId=null,_.pointerType=null,$(),d||$i(_.target))},O=T=>{k(T)};C.onDragStart=T=>{T.currentTarget.contains(T.target)&&k(T)}}else{C.onMouseDown=O=>{if(O.button!==0||!O.currentTarget.contains(O.target))return;if(Kc(O.currentTarget)&&O.preventDefault(),_.ignoreEmulatedMouseEvents){O.stopPropagation();return}_.isPressed=!0,_.isOverTarget=!0,_.target=O.currentTarget,_.pointerType=Fc(O.nativeEvent)?"virtual":"mouse",!i&&!s&&jt(O.currentTarget),y(O,_.pointerType)&&O.stopPropagation(),v(Ce(O.currentTarget),"mouseup",E,!1)},C.onMouseEnter=O=>{if(!O.currentTarget.contains(O.target))return;let T=!0;_.isPressed&&!_.ignoreEmulatedMouseEvents&&_.pointerType!=null&&(_.isOverTarget=!0,T=y(O,_.pointerType)),T&&O.stopPropagation()},C.onMouseLeave=O=>{if(!O.currentTarget.contains(O.target))return;let T=!0;_.isPressed&&!_.ignoreEmulatedMouseEvents&&_.pointerType!=null&&(_.isOverTarget=!1,T=x(O,_.pointerType,!1),P(O)),T&&O.stopPropagation()},C.onMouseUp=O=>{O.currentTarget.contains(O.target)&&!_.ignoreEmulatedMouseEvents&&O.button===0&&S(O,_.pointerType||"mouse")};let E=O=>{if(O.button===0){if(_.isPressed=!1,$(),_.ignoreEmulatedMouseEvents){_.ignoreEmulatedMouseEvents=!1;return}_.target&&Or(O,_.target)&&_.pointerType!=null?x(rn(_.target,O),_.pointerType):_.target&&_.isOverTarget&&_.pointerType!=null&&x(rn(_.target,O),_.pointerType,!1),_.isOverTarget=!1}};C.onTouchStart=O=>{if(!O.currentTarget.contains(O.target))return;let T=sk(O.nativeEvent);if(!T)return;_.activePointerId=T.identifier,_.ignoreEmulatedMouseEvents=!0,_.isOverTarget=!0,_.isPressed=!0,_.target=O.currentTarget,_.pointerType="touch",!i&&!s&&jt(O.currentTarget),d||zg(_.target),y(Pn(_.target,O),_.pointerType)&&O.stopPropagation(),v(Dt(O.currentTarget),"scroll",V,!0)},C.onTouchMove=O=>{if(!O.currentTarget.contains(O.target))return;if(!_.isPressed){O.stopPropagation();return}let T=Bg(O.nativeEvent,_.activePointerId),U=!0;T&&Or(T,O.currentTarget)?!_.isOverTarget&&_.pointerType!=null&&(_.isOverTarget=!0,U=y(Pn(_.target,O),_.pointerType)):_.isOverTarget&&_.pointerType!=null&&(_.isOverTarget=!1,U=x(Pn(_.target,O),_.pointerType,!1),P(Pn(_.target,O))),U&&O.stopPropagation()},C.onTouchEnd=O=>{if(!O.currentTarget.contains(O.target))return;if(!_.isPressed){O.stopPropagation();return}let T=Bg(O.nativeEvent,_.activePointerId),U=!0;T&&Or(T,O.currentTarget)&&_.pointerType!=null?(S(Pn(_.target,O),_.pointerType),U=x(Pn(_.target,O),_.pointerType)):_.isOverTarget&&_.pointerType!=null&&(U=x(Pn(_.target,O),_.pointerType,!1)),U&&O.stopPropagation(),_.isPressed=!1,_.activePointerId=null,_.isOverTarget=!1,_.ignoreEmulatedMouseEvents=!0,_.target&&!d&&$i(_.target),$()},C.onTouchCancel=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),_.isPressed&&k(Pn(_.target,O)))};let V=O=>{_.isPressed&&O.target.contains(_.target)&&k({currentTarget:_.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};C.onDragStart=O=>{O.currentTarget.contains(O.target)&&k(O)}}return C},[v,i,s,$,d,k,P,x,y,S]);return c.useEffect(()=>()=>{var _;d||$i((_=b.current.target)!==null&&_!==void 0?_:void 0)},[d]),{isPressed:l||m,pressProps:ve(g,M)}}function zc(e){return e.tagName==="A"&&e.hasAttribute("href")}function Rc(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof Dt(o).HTMLInputElement&&!Ug(o,n)||o instanceof Dt(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&zc(o))&&n!=="Enter")}function sk(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Bg(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 Pn(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 rn(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 ck(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 uk(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Or(e,t){let n=t.getBoundingClientRect(),r=ck(e);return uk(n,r)}function Kc(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function jg(e,t){return e instanceof HTMLInputElement?!Ug(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!zc(e)}const dk=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ug(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":dk.has(e.type)}function fk({children:e}){let t=c.useMemo(()=>({register:()=>{}}),[]);return D.default.createElement(Nc.Provider,{value:t},e)}class pk{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 Wg(e){let t=c.useRef({isFocused:!1,observer:null});Ae(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Oe(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 pk("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 Vc(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=Wg(a),l=c.useCallback(s=>{const u=Ce(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 on=null,Ro=new Set,Ko=new Map,Xn=!1,Bc=!1;const mk={Tab:!0,Escape:!0};function wi(e,t){for(let n of Ro)n(e,t)}function gk(e){return!(e.metaKey||!nn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ei(e){Xn=!0,gk(e)&&(on="keyboard",wi("keyboard",e))}function gt(e){on="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Xn=!0,wi("pointer",e))}function Hg(e){Fc(e)&&(Xn=!0,on="virtual")}function Gg(e){e.target===window||e.target===document||(!Xn&&!Bc&&(on="virtual",wi("virtual",e)),Xn=!1,Bc=!1)}function Yg(){Xn=!1,Bc=!0}function Si(e){if(typeof window>"u"||Ko.get(Dt(e)))return;const t=Dt(e),n=Ce(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Xn=!0,r.apply(this,arguments)},n.addEventListener("keydown",Ei,!0),n.addEventListener("keyup",Ei,!0),n.addEventListener("click",Hg,!0),t.addEventListener("focus",Gg,!0),t.addEventListener("blur",Yg,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",gt,!0),n.addEventListener("pointermove",gt,!0),n.addEventListener("pointerup",gt,!0)):(n.addEventListener("mousedown",gt,!0),n.addEventListener("mousemove",gt,!0),n.addEventListener("mouseup",gt,!0)),t.addEventListener("beforeunload",()=>{qg(e)},{once:!0}),Ko.set(t,{focus:r})}const qg=(e,t)=>{const n=Dt(e),r=Ce(e);t&&r.removeEventListener("DOMContentLoaded",t),Ko.has(n)&&(n.HTMLElement.prototype.focus=Ko.get(n).focus,r.removeEventListener("keydown",Ei,!0),r.removeEventListener("keyup",Ei,!0),r.removeEventListener("click",Hg,!0),n.removeEventListener("focus",Gg,!0),n.removeEventListener("blur",Yg,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",gt,!0),r.removeEventListener("pointermove",gt,!0),r.removeEventListener("pointerup",gt,!0)):(r.removeEventListener("mousedown",gt,!0),r.removeEventListener("mousemove",gt,!0),r.removeEventListener("mouseup",gt,!0)),Ko.delete(n))};function hk(e){const t=Ce(e);let n;return t.readyState!=="loading"?Si(e):(n=()=>{Si(e)},t.addEventListener("DOMContentLoaded",n)),()=>qg(e,n)}typeof document<"u"&&hk();function Di(){return on!=="pointer"}function Pi(){return on}function jc(e){on=e,wi(e,null)}function Xg(){Si();let[e,t]=c.useState(on);return c.useEffect(()=>{let n=()=>{t(on)};return Ro.add(n),()=>{Ro.delete(n)}},[]),fi()?null:e}const bk=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function vk(e,t,n){var r;const o=typeof window<"u"?Dt(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Dt(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Dt(n==null?void 0:n.target).HTMLElement:HTMLElement,l=typeof window<"u"?Dt(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||(n==null?void 0:n.target)instanceof o&&!bk.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&&!mk[n.key])}function yk(e,t,n){Si(),c.useEffect(()=>{let r=(o,a)=>{vk(!!(n!=null&&n.isTextInput),o,a)&&e(Di())};return Ro.add(r),()=>{Ro.delete(r)}},t)}function Vo(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=Wg(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 Ti=!1,Uc=0;function Wc(){Ti=!0,setTimeout(()=>{Ti=!1},50)}function Zg(e){e.pointerType==="touch"&&Wc()}function $k(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Zg):document.addEventListener("touchend",Wc),Uc++,()=>{Uc--,!(Uc>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Zg):document.removeEventListener("touchend",Wc))}}function _k(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($k,[]);let{hoverProps:s,triggerHoverEnd:u}=c.useMemo(()=>{let d=(m,h)=>{if(l.pointerType=h,o||h==="touch"||l.isHovered||!m.currentTarget.contains(m.target))return;l.isHovered=!0;let b=m.currentTarget;l.target=b,t&&t({type:"hoverstart",target:b,pointerType:h}),n&&n(!0),i(!0)},f=(m,h)=>{if(l.pointerType="",l.target=null,h==="touch"||!l.isHovered)return;l.isHovered=!1;let b=m.currentTarget;r&&r({type:"hoverend",target:b,pointerType:h}),n&&n(!1),i(!1)},g={};return typeof PointerEvent<"u"?(g.onPointerEnter=m=>{Ti&&m.pointerType==="mouse"||d(m,m.pointerType)},g.onPointerLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(g.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},g.onMouseEnter=m=>{!l.ignoreEmulatedMouseEvents&&!Ti&&d(m,"mouse"),l.ignoreEmulatedMouseEvents=!1},g.onMouseLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:g,triggerHoverEnd:f}},[t,n,r,o,l]);return c.useEffect(()=>{o&&u({currentTarget:l.target},l.pointerType)},[o]),{hoverProps:s,isHovered:a}}function xk(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:o}=e,a=c.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Oe(s=>{n&&ki(s,t)&&(o&&o(s),a.current.isPointerDown=!0)}),l=Oe(s=>{n&&n(s)});c.useEffect(()=>{let s=a.current;if(r)return;const u=t.current,d=Ce(u);if(typeof PointerEvent<"u"){let f=g=>{s.isPointerDown&&ki(g,t)&&l(g),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=m=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&ki(m,t)&&l(m),s.isPointerDown=!1},g=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&ki(m,t)&&l(m),s.isPointerDown=!1};return d.addEventListener("mousedown",i,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",i,!0),d.addEventListener("touchend",g,!0),()=>{d.removeEventListener("mousedown",i,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",i,!0),d.removeEventListener("touchend",g,!0)}}},[t,r,i,l])}function ki(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 Jg(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 wk(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Jg(e.onKeyDown),onKeyUp:Jg(e.onKeyUp)}}}function Ek(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]);Cr(t,"wheel",r?void 0:o)}const Sk=500;function Qg(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:a=Sk,accessibilityDescription:i}=e;const l=c.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:u}=Cc(),{pressProps:d}=Ir({isDisabled:t,onPressStart(g){if(g.continuePropagation(),(g.pointerType==="mouse"||g.pointerType==="touch")&&(n&&n({...g,type:"longpressstart"}),l.current=setTimeout(()=>{g.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...g,type:"longpress"}),l.current=void 0},a),g.pointerType==="touch")){let m=h=>{h.preventDefault()};s(g.target,"contextmenu",m,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{u(g.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(g){l.current&&clearTimeout(l.current),r&&(g.pointerType==="mouse"||g.pointerType==="touch")&&r({...g,type:"longpressend"})}}),f=Oc(o&&!t?i:void 0);return{longPressProps:ve(d,f)}}const eh={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 th(e={}){let{style:t,isFocusable:n}=e,[r,o]=c.useState(!1),{focusWithinProps:a}=Vo({isDisabled:!n,onFocusWithinChange:l=>o(l)}),i=c.useMemo(()=>r?t:t?{...eh,...t}:eh,[r]);return{visuallyHiddenProps:{...a,style:i}}}function Ci(e){let{children:t,elementType:n="div",isFocusable:r,style:o,...a}=e,{visuallyHiddenProps:i}=th(e);return D.default.createElement(n,ve(a,i),t)}const Dk=F.default(We)`
432
432
  display: flex;
433
433
  flex-direction: column;
434
434
 
435
- ${()=>at({$gutter:{property:"paddingBottom",scale:"space"}})}
435
+ ${()=>lt({$gutter:{property:"paddingBottom",scale:"space"}})}
436
436
 
437
- ${()=>at({$alignment:{property:"alignItems",defaultScale:{center:"center",left:"flex-start",right:"flex-end"}}})}
438
- `,Or=c.forwardRef((e,t)=>{const{children:n,align:r,space:o=p.spacing_500,...a}=e,i=D.default.Children.toArray(n),l=Ft(a,qt.propNames??[]);if(i.length<=1&&!r)return w(Qe,{children:i});const s={...l};return w(je,{"data-id":e["data-id"],...s,ref:t,children:i.map((u,d)=>w(Dk,{"data-id":"stack-item",$alignment:r,$gutter:d<i.length-1?o:null,children:u},d))})});Or.displayName="Stack";const nh=`
437
+ ${()=>lt({$alignment:{property:"alignItems",defaultScale:{center:"center",left:"flex-start",right:"flex-end"}}})}
438
+ `,Mr=c.forwardRef((e,t)=>{const{children:n,align:r,space:o=p.spacing_500,...a}=e,i=D.default.Children.toArray(n),l=zt(a,Zt.propNames??[]);if(i.length<=1&&!r)return w(tt,{children:i});const s={...l};return w(We,{"data-id":e["data-id"],...s,ref:t,children:i.map((u,d)=>w(Dk,{"data-id":"stack-item",$alignment:r,$gutter:d<i.length-1?o:null,children:u},d))})});Mr.displayName="Stack";const nh=`
439
439
  border: none;
440
440
  margin: 0;
441
441
  padding: 0;
@@ -455,7 +455,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
455
455
  }
456
456
  `,rh=()=>`
457
457
  ${nh}
458
- `,rn="2px",Pk=()=>`
458
+ `,an="2px",Pk=()=>`
459
459
  appearance: none;
460
460
  display: inline-flex;
461
461
  align-items: center;
@@ -489,7 +489,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
489
489
 
490
490
  &[data-state~='focused'] {
491
491
  outline: ${p.color_gray_6} solid 1px;
492
- outline-offset: ${rn};
492
+ outline-offset: ${an};
493
493
  }
494
494
 
495
495
  &:disabled {
@@ -527,7 +527,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
527
527
  &.simulate-focused,
528
528
  &:focus {
529
529
  outline: 2px solid ${p.color_gray_6};
530
- outline-offset: ${rn};
530
+ outline-offset: ${an};
531
531
  }
532
532
 
533
533
  &:disabled {
@@ -552,7 +552,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
552
552
  &.simulate-focused,
553
553
  &:focus {
554
554
  outline: 2px solid ${p.color_gray_94};
555
- outline-offset: ${rn};
555
+ outline-offset: ${an};
556
556
  }
557
557
 
558
558
  &:disabled {
@@ -582,7 +582,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
582
582
  &.simulate-focused,
583
583
  &:focus {
584
584
  outline: 2px solid ${p.color_gray_6};
585
- outline-offset: ${rn};
585
+ outline-offset: ${an};
586
586
  }
587
587
 
588
588
  &:disabled {
@@ -608,7 +608,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
608
608
  &.simulate-focused,
609
609
  &:focus {
610
610
  outline: 2px solid ${p.color_gray_94};
611
- outline-offset: ${rn};
611
+ outline-offset: ${an};
612
612
  }
613
613
 
614
614
  &:disabled {
@@ -636,7 +636,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
636
636
  &.simulate-focused,
637
637
  &:focus {
638
638
  outline: 2px solid ${p.color_gray_6};
639
- outline-offset: ${rn};
639
+ outline-offset: ${an};
640
640
  }
641
641
 
642
642
  &:disabled {
@@ -660,7 +660,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
660
660
  &.simulate-focused,
661
661
  &:focus {
662
662
  outline: 2px solid ${p.color_gray_94};
663
- outline-offset: ${rn};
663
+ outline-offset: ${an};
664
664
  }
665
665
 
666
666
  &:disabled {
@@ -688,7 +688,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
688
688
  &.simulate-focused,
689
689
  &:focus {
690
690
  outline: 2px solid ${p.color_gray_6};
691
- outline-offset: ${rn};
691
+ outline-offset: ${an};
692
692
  }
693
693
 
694
694
  &:disabled {
@@ -711,7 +711,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
711
711
  &.simulate-focused,
712
712
  &:focus {
713
713
  outline: 2px solid ${p.color_gray_94};
714
- outline-offset: ${rn};
714
+ outline-offset: ${an};
715
715
  }
716
716
 
717
717
  &:disabled {
@@ -720,7 +720,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
720
720
  padding: ${p.spacing_200} ${p.spacing_300};
721
721
  `,Rk=ue.css`
722
722
  padding: ${p.spacing_300} ${p.spacing_400};
723
- `,Kk=e=>{switch(e){case"small":return zk;case"large":return Rk}},Ai=ja(Ss,zD,RD,Ds),Hc=F.default(je)`
723
+ `,Kk=e=>{switch(e){case"small":return zk;case"large":return Rk}},Ai=ja(Ss,zD,RD,Ds),Hc=F.default(We)`
724
724
  ${rh} // order here matters! ... sets css precedence
725
725
  ${Pk}
726
726
  ${oh}
@@ -729,7 +729,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
729
729
  ${({size:e})=>Kk(e)}
730
730
  `,Vk=F.default.span`
731
731
  ${e=>Tk(e)}
732
- `;function Bk(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:g,onFocus:m,onBlur:h,className:b="",...v}=e,$=n??"button",y=Ft(v,qt.propNames??[]),x=Ft(v,Ai.propNames??[]),S={variant:s,inverse:u,className:b,disabled:d,onClick:g,onFocus:m,onBlur:h,size:f,form:a,type:i,ref:t,...x,...y,...Ka(v)},k=c.useMemo(()=>w(Vk,{children:l}),[l]);return r&&!n?w(Hc,{as:"a",href:r,target:"_blank",rel:"noopener noreferrer",title:o??"Opens in a new tab",...S,"data-id":v["data-id"],children:k}):w(Hc,{as:$,...S,"data-id":v["data-id"],children:k})}const Tn=c.forwardRef(Bk);Tn.displayName="ButtonV2";const ch=D.default.forwardRef(function(t,n){return w(Tn,{mt:p.spacing_100,mr:p.border_radius_200,...t,ref:n})});ch.displayName="Banner.Action";const jk=ch;function Uk(){return`
732
+ `;function Bk(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:g,onFocus:m,onBlur:h,className:b="",...v}=e,$=n??"button",y=zt(v,Zt.propNames??[]),x=zt(v,Ai.propNames??[]),S={variant:s,inverse:u,className:b,disabled:d,onClick:g,onFocus:m,onBlur:h,size:f,form:a,type:i,ref:t,...x,...y,...Ka(v)},k=c.useMemo(()=>w(Vk,{children:l}),[l]);return r&&!n?w(Hc,{as:"a",href:r,target:"_blank",rel:"noopener noreferrer",title:o??"Opens in a new tab",...S,"data-id":v["data-id"],children:k}):w(Hc,{as:$,...S,"data-id":v["data-id"],children:k})}const Tn=c.forwardRef(Bk);Tn.displayName="ButtonV2";const ch=D.default.forwardRef(function(t,n){return w(Tn,{mt:p.spacing_100,mr:p.border_radius_200,...t,ref:n})});ch.displayName="Banner.Action";const jk=ch;function Uk(){return`
733
733
  transition: background ${p.motion_duration_fast} ${p.motion_ease_in_out};
734
734
  &: hover {
735
735
  cursor: pointer;
@@ -750,7 +750,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
750
750
  &: hover {
751
751
  background: ${p.color_gray_opacity_6};
752
752
  }
753
- `}}const Hk="default",uh="info",Gk="success",Yk="warning",qk="danger",Xk=F.default(je)`
753
+ `}}const Hk="default",uh="info",Gk="success",Yk="warning",qk="danger",Xk=F.default(We)`
754
754
  position: relative;
755
755
  padding: 16px;
756
756
  border-radius: ${p.border_radius_400};
@@ -762,7 +762,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
762
762
  ${({variant:e})=>e===Gk&&`background-color: ${p.color_green_opacity_48};`};
763
763
  ${({variant:e})=>e===Yk&&`background-color: ${p.color_brand_solidago_opacity_48}`};
764
764
  ${({variant:e})=>e===qk&&`background-color: ${p.color_brand_red_opacity_48}`};
765
- `,Zk=F.default(je)`
765
+ `,Zk=F.default(We)`
766
766
  ${nh}
767
767
  ${Uk}
768
768
  ${Wk}
@@ -770,10 +770,10 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
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
- `,Gc=c.forwardRef(function(t,n){const{children:r,onDismiss:o,variant:a="default",layout:i="default",title:l,...s}=t,u=Ft(s,Ss.propNames??[]),d=l?w(je,{mb:p.spacing_200,children:w(Gn,{as:"h2",looksLike:"h6",normal:!0,children:l})}):null,f=o?ee(Zk,{as:"button",onClick:o,variant:a,color:p.color_gray_6,type:"button",children:[w(Ci,{children:"Dismiss"}),w(we.Close,{})]}):null;return ee(Xk,{ref:n,...u,tabIndex:-1,variant:a,overflow:"hidden","data-id":s["data-id"],children:[d,f,w(Or,{space:p.spacing_300,children:r})]})});Gc.displayName="Banner",Gc.Action=jk;function Bo(e){const t=Te(e);if(Pi()==="virtual"){let n=t.activeElement;Ag(()=>{t.activeElement===n&&e.isConnected&&Kt(e)})}else Kt(e)}function Jk(e){const t=Et(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 Qk(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 dh(e,t){return e.nodeName!=="#comment"&&Jk(e)&&Qk(e,t)&&(!e.parentElement||dh(e.parentElement,e))}const fh=D.default.createContext(null),Yc="react-aria-focus-scope-restore";let De=null;function eC(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(fh)||{},u=c.useMemo(()=>new Jc({scopeRef:l}),[l]);ke(()=>{let g=s||Ne.root;if(Ne.getTreeNode(g.scopeRef)&&De&&!Oi(De,g.scopeRef)){let m=Ne.getTreeNode(De);m&&(g=m)}g.addChild(u),Ne.addNode(u)},[u,s]),ke(()=>{let g=Ne.getTreeNode(l);g&&(g.contain=!!n)},[n]),ke(()=>{var g;let m=(g=a.current)===null||g===void 0?void 0:g.nextSibling,h=[],b=v=>v.stopPropagation();for(;m&&m!==i.current;)h.push(m),m.addEventListener(Yc,b),m=m.nextSibling;return l.current=h,()=>{for(let v of h)v.removeEventListener(Yc,b)}},[t]),lC(l,r,n),oC(l,n),cC(l,r,n),iC(l,o),c.useEffect(()=>{const g=Te(l.current?l.current[0]:void 0).activeElement;let m=null;if(Ge(g,l.current)){for(let h of Ne.traverse())h.scopeRef&&Ge(g,h.scopeRef.current)&&(m=h);m===Ne.getTreeNode(l)&&(De=m.scopeRef)}},[l]),ke(()=>()=>{var g,m,h;let b=(h=(m=Ne.getTreeNode(l))===null||m===void 0||(g=m.parent)===null||g===void 0?void 0:g.scopeRef)!==null&&h!==void 0?h:null;(l===De||Oi(l,De))&&(!b||Ne.getTreeNode(b))&&(De=b),Ne.removeTreeNode(l)},[l]);let d=c.useMemo(()=>tC(l),[]),f=c.useMemo(()=>({focusManager:d,parentNode:u}),[u,d]);return D.default.createElement(fh.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 tC(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:o,wrap:a,accept:i}=t,l=r||Te(n[0]).activeElement,s=n[0].previousElementSibling,u=Xn(n),d=an(u,{tabbable:o,accept:i},n);d.currentNode=Ge(l,n)?l:s;let f=d.nextNode();return!f&&a&&(d.currentNode=s,f=d.nextNode()),f&&on(f,!0),f},focusPrevious(t={}){let n=e.current,{from:r,tabbable:o,wrap:a,accept:i}=t,l=r||Te(n[0]).activeElement,s=n[n.length-1].nextElementSibling,u=Xn(n),d=an(u,{tabbable:o,accept:i},n);d.currentNode=Ge(l,n)?l:s;let f=d.previousNode();return!f&&a&&(d.currentNode=s,f=d.previousNode()),f&&on(f,!0),f},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=Xn(n),i=an(a,{tabbable:r,accept:o},n);i.currentNode=n[0].previousElementSibling;let l=i.nextNode();return l&&on(l,!0),l},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=Xn(n),i=an(a,{tabbable:r,accept:o},n);i.currentNode=n[n.length-1].nextElementSibling;let l=i.previousNode();return l&&on(l,!0),l}}}const qc=["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]"],nC=qc.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";qc.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const rC=qc.join(':not([hidden]):not([tabindex="-1"]),');function Xn(e){return e[0].parentElement}function jo(e){let t=Ne.getTreeNode(De);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function oC(e,t){let n=c.useRef(void 0),r=c.useRef(void 0);ke(()=>{let o=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const a=Te(o?o[0]:void 0);let i=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!jo(e)||u.isComposing)return;let d=a.activeElement,f=e.current;if(!f||!Ge(d,f))return;let g=Xn(f),m=an(g,{tabbable:!0},f);if(!d)return;m.currentNode=d;let h=u.shiftKey?m.previousNode():m.nextNode();h||(m.currentNode=u.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,h=u.shiftKey?m.previousNode():m.nextNode()),u.preventDefault(),h&&on(h,!0)},l=u=>{(!De||Oi(De,e))&&Ge(u.target,e.current)?(De=e,n.current=u.target):jo(e)&&!Ii(u.target,e)?n.current?n.current.focus():De&&De.current&&Xc(De.current):jo(e)&&(n.current=u.target)},s=u=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{if(a.activeElement&&jo(e)&&!Ii(a.activeElement,e))if(De=e,a.body.contains(u.target)){var d;n.current=u.target,(d=n.current)===null||d===void 0||d.focus()}else De.current&&Xc(De.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]),ke(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function ph(e){return Ii(e)}function Ge(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function Ii(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of Ne.traverse(Ne.getTreeNode(t)))if(n&&Ge(e,n.current))return!0;return!1}function aC(e){return Ii(e,De)}function Oi(e,t){var n;let r=(n=Ne.getTreeNode(t))===null||n===void 0?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function on(e,t=!1){if(e!=null&&!t)try{Bo(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function mh(e,t=!0){let n=e[0].previousElementSibling,r=Xn(e),o=an(r,{tabbable:t},e);o.currentNode=n;let a=o.nextNode();return t&&!a&&(r=Xn(e),o=an(r,{tabbable:!1},e),o.currentNode=n,a=o.nextNode()),a}function Xc(e,t=!0){on(mh(e,t))}function iC(e,t){const n=D.default.useRef(t);c.useEffect(()=>{if(n.current){De=e;const r=Te(e.current?e.current[0]:void 0);!Ge(r.activeElement,De.current)&&e.current&&Xc(e.current)}n.current=!1},[e])}function lC(e,t,n){ke(()=>{if(t||n)return;let r=e.current;const o=Te(r?r[0]:void 0);let a=i=>{let l=i.target;Ge(l,e.current)?De=e:ph(l)||(De=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 sC(e){let t=Ne.getTreeNode(De);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function cC(e,t,n){const r=c.useRef(typeof document<"u"?Te(e.current?e.current[0]:void 0).activeElement:null);ke(()=>{let o=e.current;const a=Te(o?o[0]:void 0);if(!t||n)return;let i=()=>{(!De||Oi(De,e))&&Ge(a.activeElement,e.current)&&(De=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]),ke(()=>{const o=Te(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!jo(e)||i.isComposing)return;let l=o.activeElement;if(!Ge(l,e.current))return;let s=Ne.getTreeNode(e);if(!s)return;let u=s.nodeToRestore,d=an(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||!Ge(f,e.current))&&u){d.currentNode=u;do f=i.shiftKey?d.previousNode():d.nextNode();while(Ge(f,e.current));i.preventDefault(),i.stopPropagation(),f?on(f,!0):ph(u)?on(u,!0):l.blur()}};return n||o.addEventListener("keydown",a,!0),()=>{n||o.removeEventListener("keydown",a,!0)}},[e,t,n]),ke(()=>{const o=Te(e.current?e.current[0]:void 0);if(!t)return;let a=Ne.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=r.current)!==null&&i!==void 0?i:void 0,()=>{let l=Ne.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(Ge(o.activeElement,e.current)||o.activeElement===o.body&&sC(e))){let u=Ne.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=u.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){gh(d.nodeToRestore);return}d=d.parent}for(d=u.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&Ne.getTreeNode(d.scopeRef)){let f=mh(d.scopeRef.current,!0);gh(f);return}d=d.parent}}})}}}},[e,t])}function gh(e){e.dispatchEvent(new CustomEvent(Yc,{bubbles:!0,cancelable:!0}))&&on(e)}function an(e,t,n){let r=t!=null&&t.tabbable?rC:nC,o=Te(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)&&dh(a)&&(!n||Ge(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 Zc{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 Jc({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&&Ge(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 Zc;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 Jc({scopeRef:null}),this.fastMap.set(null,this.root)}}class Jc{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 Ne=new Zc;function Mi(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=c.useRef({isFocused:!1,isFocusVisible:t||Di()}),[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(m=>{o.current.isFocused=m,i(m),u()},[u]);yk(m=>{o.current.isFocusVisible=m,u()},[],{isTextInput:n});let{focusProps:f}=Vc({isDisabled:r,onFocusChange:d}),{focusWithinProps:g}=Vo({isDisabled:!r,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:l,focusProps:r?g:f}}function hh(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=hh(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function uC(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=hh(e))&&(r&&(r+=" "),r+=t);return r}function dC(e){let{children:t,focusClass:n,focusRingClass:r}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=Mi(e),l=D.default.Children.only(t);return D.default.cloneElement(l,ge(l.props,{...i,className:uC({[n||""]:o,[r||""]:a})}))}let fC=D.default.createContext(null);function pC(e){let t=c.useContext(fC)||{};Mg(t,e);let{ref:n,...r}=t;return r}function Qc(e,t){let{focusProps:n}=Vc(e),{keyboardProps:r}=wk(e),o=ge(n,r),a=pC(t),i=e.isDisabled?{}:a,l=c.useRef(e.autoFocus);return c.useEffect(()=>{l.current&&t.current&&Bo(t.current),l.current=!1},[t]),{focusableProps:ge({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function Zn(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:g,rel:m,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"?g: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"?m:void 0};let{pressProps:v,isPressed:$}=Ar({onPressStart:a,onPressEnd:i,onPressChange:l,onPress:o,isDisabled:r,preventFocusOnPress:s,ref:t}),{focusableProps:y}=Qc(e,t);u&&(y.tabIndex=r?-1:y.tabIndex);let x=ge(y,v,Sn(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 eu=c.createContext(!1);eu.displayName="FieldsetContext";const bh=F.default.fieldset`
773
+ `,Gc=c.forwardRef(function(t,n){const{children:r,onDismiss:o,variant:a="default",layout:i="default",title:l,...s}=t,u=zt(s,Ss.propNames??[]),d=l?w(We,{mb:p.spacing_200,children:w(Yn,{as:"h2",looksLike:"h6",normal:!0,children:l})}):null,f=o?ee(Zk,{as:"button",onClick:o,variant:a,color:p.color_gray_6,type:"button",children:[w(Ci,{children:"Dismiss"}),w(Se.Close,{})]}):null;return ee(Xk,{ref:n,...u,tabIndex:-1,variant:a,overflow:"hidden","data-id":s["data-id"],children:[d,f,w(Mr,{space:p.spacing_300,children:r})]})});Gc.displayName="Banner",Gc.Action=jk;function Bo(e){const t=Ce(e);if(Pi()==="virtual"){let n=t.activeElement;Ag(()=>{t.activeElement===n&&e.isConnected&&jt(e)})}else jt(e)}function Jk(e){const t=Dt(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 Qk(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 dh(e,t){return e.nodeName!=="#comment"&&Jk(e)&&Qk(e,t)&&(!e.parentElement||dh(e.parentElement,e))}const fh=D.default.createContext(null),Yc="react-aria-focus-scope-restore";let Te=null;function eC(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(fh)||{},u=c.useMemo(()=>new Jc({scopeRef:l}),[l]);Ae(()=>{let g=s||ze.root;if(ze.getTreeNode(g.scopeRef)&&Te&&!Oi(Te,g.scopeRef)){let m=ze.getTreeNode(Te);m&&(g=m)}g.addChild(u),ze.addNode(u)},[u,s]),Ae(()=>{let g=ze.getTreeNode(l);g&&(g.contain=!!n)},[n]),Ae(()=>{var g;let m=(g=a.current)===null||g===void 0?void 0:g.nextSibling,h=[],b=v=>v.stopPropagation();for(;m&&m!==i.current;)h.push(m),m.addEventListener(Yc,b),m=m.nextSibling;return l.current=h,()=>{for(let v of h)v.removeEventListener(Yc,b)}},[t]),lC(l,r,n),oC(l,n),cC(l,r,n),iC(l,o),c.useEffect(()=>{const g=Ce(l.current?l.current[0]:void 0).activeElement;let m=null;if(qe(g,l.current)){for(let h of ze.traverse())h.scopeRef&&qe(g,h.scopeRef.current)&&(m=h);m===ze.getTreeNode(l)&&(Te=m.scopeRef)}},[l]),Ae(()=>()=>{var g,m,h;let b=(h=(m=ze.getTreeNode(l))===null||m===void 0||(g=m.parent)===null||g===void 0?void 0:g.scopeRef)!==null&&h!==void 0?h:null;(l===Te||Oi(l,Te))&&(!b||ze.getTreeNode(b))&&(Te=b),ze.removeTreeNode(l)},[l]);let d=c.useMemo(()=>tC(l),[]),f=c.useMemo(()=>({focusManager:d,parentNode:u}),[u,d]);return D.default.createElement(fh.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 tC(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:o,wrap:a,accept:i}=t,l=r||Ce(n[0]).activeElement,s=n[0].previousElementSibling,u=Zn(n),d=sn(u,{tabbable:o,accept:i},n);d.currentNode=qe(l,n)?l:s;let f=d.nextNode();return!f&&a&&(d.currentNode=s,f=d.nextNode()),f&&ln(f,!0),f},focusPrevious(t={}){let n=e.current,{from:r,tabbable:o,wrap:a,accept:i}=t,l=r||Ce(n[0]).activeElement,s=n[n.length-1].nextElementSibling,u=Zn(n),d=sn(u,{tabbable:o,accept:i},n);d.currentNode=qe(l,n)?l:s;let f=d.previousNode();return!f&&a&&(d.currentNode=s,f=d.previousNode()),f&&ln(f,!0),f},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=Zn(n),i=sn(a,{tabbable:r,accept:o},n);i.currentNode=n[0].previousElementSibling;let l=i.nextNode();return l&&ln(l,!0),l},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=Zn(n),i=sn(a,{tabbable:r,accept:o},n);i.currentNode=n[n.length-1].nextElementSibling;let l=i.previousNode();return l&&ln(l,!0),l}}}const qc=["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]"],nC=qc.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";qc.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const rC=qc.join(':not([hidden]):not([tabindex="-1"]),');function Zn(e){return e[0].parentElement}function jo(e){let t=ze.getTreeNode(Te);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function oC(e,t){let n=c.useRef(void 0),r=c.useRef(void 0);Ae(()=>{let o=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const a=Ce(o?o[0]:void 0);let i=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!jo(e)||u.isComposing)return;let d=a.activeElement,f=e.current;if(!f||!qe(d,f))return;let g=Zn(f),m=sn(g,{tabbable:!0},f);if(!d)return;m.currentNode=d;let h=u.shiftKey?m.previousNode():m.nextNode();h||(m.currentNode=u.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,h=u.shiftKey?m.previousNode():m.nextNode()),u.preventDefault(),h&&ln(h,!0)},l=u=>{(!Te||Oi(Te,e))&&qe(u.target,e.current)?(Te=e,n.current=u.target):jo(e)&&!Ii(u.target,e)?n.current?n.current.focus():Te&&Te.current&&Xc(Te.current):jo(e)&&(n.current=u.target)},s=u=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{if(a.activeElement&&jo(e)&&!Ii(a.activeElement,e))if(Te=e,a.body.contains(u.target)){var d;n.current=u.target,(d=n.current)===null||d===void 0||d.focus()}else Te.current&&Xc(Te.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]),Ae(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function ph(e){return Ii(e)}function qe(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function Ii(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of ze.traverse(ze.getTreeNode(t)))if(n&&qe(e,n.current))return!0;return!1}function aC(e){return Ii(e,Te)}function Oi(e,t){var n;let r=(n=ze.getTreeNode(t))===null||n===void 0?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function ln(e,t=!1){if(e!=null&&!t)try{Bo(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function mh(e,t=!0){let n=e[0].previousElementSibling,r=Zn(e),o=sn(r,{tabbable:t},e);o.currentNode=n;let a=o.nextNode();return t&&!a&&(r=Zn(e),o=sn(r,{tabbable:!1},e),o.currentNode=n,a=o.nextNode()),a}function Xc(e,t=!0){ln(mh(e,t))}function iC(e,t){const n=D.default.useRef(t);c.useEffect(()=>{if(n.current){Te=e;const r=Ce(e.current?e.current[0]:void 0);!qe(r.activeElement,Te.current)&&e.current&&Xc(e.current)}n.current=!1},[e])}function lC(e,t,n){Ae(()=>{if(t||n)return;let r=e.current;const o=Ce(r?r[0]:void 0);let a=i=>{let l=i.target;qe(l,e.current)?Te=e:ph(l)||(Te=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 sC(e){let t=ze.getTreeNode(Te);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function cC(e,t,n){const r=c.useRef(typeof document<"u"?Ce(e.current?e.current[0]:void 0).activeElement:null);Ae(()=>{let o=e.current;const a=Ce(o?o[0]:void 0);if(!t||n)return;let i=()=>{(!Te||Oi(Te,e))&&qe(a.activeElement,e.current)&&(Te=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]),Ae(()=>{const o=Ce(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!jo(e)||i.isComposing)return;let l=o.activeElement;if(!qe(l,e.current))return;let s=ze.getTreeNode(e);if(!s)return;let u=s.nodeToRestore,d=sn(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||!qe(f,e.current))&&u){d.currentNode=u;do f=i.shiftKey?d.previousNode():d.nextNode();while(qe(f,e.current));i.preventDefault(),i.stopPropagation(),f?ln(f,!0):ph(u)?ln(u,!0):l.blur()}};return n||o.addEventListener("keydown",a,!0),()=>{n||o.removeEventListener("keydown",a,!0)}},[e,t,n]),Ae(()=>{const o=Ce(e.current?e.current[0]:void 0);if(!t)return;let a=ze.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=r.current)!==null&&i!==void 0?i:void 0,()=>{let l=ze.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(qe(o.activeElement,e.current)||o.activeElement===o.body&&sC(e))){let u=ze.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=u.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){gh(d.nodeToRestore);return}d=d.parent}for(d=u.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&ze.getTreeNode(d.scopeRef)){let f=mh(d.scopeRef.current,!0);gh(f);return}d=d.parent}}})}}}},[e,t])}function gh(e){e.dispatchEvent(new CustomEvent(Yc,{bubbles:!0,cancelable:!0}))&&ln(e)}function sn(e,t,n){let r=t!=null&&t.tabbable?rC:nC,o=Ce(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)&&dh(a)&&(!n||qe(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 Zc{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 Jc({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&&qe(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 Zc;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 Jc({scopeRef:null}),this.fastMap.set(null,this.root)}}class Jc{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 ze=new Zc;function Mi(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=c.useRef({isFocused:!1,isFocusVisible:t||Di()}),[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(m=>{o.current.isFocused=m,i(m),u()},[u]);yk(m=>{o.current.isFocusVisible=m,u()},[],{isTextInput:n});let{focusProps:f}=Vc({isDisabled:r,onFocusChange:d}),{focusWithinProps:g}=Vo({isDisabled:!r,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:l,focusProps:r?g:f}}function hh(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=hh(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function uC(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=hh(e))&&(r&&(r+=" "),r+=t);return r}function dC(e){let{children:t,focusClass:n,focusRingClass:r}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=Mi(e),l=D.default.Children.only(t);return D.default.cloneElement(l,ve(l.props,{...i,className:uC({[n||""]:o,[r||""]:a})}))}let fC=D.default.createContext(null);function pC(e){let t=c.useContext(fC)||{};Mg(t,e);let{ref:n,...r}=t;return r}function Qc(e,t){let{focusProps:n}=Vc(e),{keyboardProps:r}=wk(e),o=ve(n,r),a=pC(t),i=e.isDisabled?{}:a,l=c.useRef(e.autoFocus);return c.useEffect(()=>{l.current&&t.current&&Bo(t.current),l.current=!1},[t]),{focusableProps:ve({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function Jn(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:g,rel:m,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"?g: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"?m:void 0};let{pressProps:v,isPressed:$}=Ir({onPressStart:a,onPressEnd:i,onPressChange:l,onPress:o,isDisabled:r,preventFocusOnPress:s,ref:t}),{focusableProps:y}=Qc(e,t);u&&(y.tabIndex=r?-1:y.tabIndex);let x=ve(y,v,Sn(e,{labelable:!0}));return{isPressed:$,buttonProps:ve(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 eu=c.createContext(!1);eu.displayName="FieldsetContext";const bh=F.default.fieldset`
774
774
  padding: 0;
775
775
  border: none;
776
- `;function mC({children:e,disabled:t,...n}){const o=Bt()||!!t;return w(eu.Provider,{value:o,children:w(bh,{disabled:t,...n,children:e})})}function Bt(){return c.useContext(eu)}function vh({isFocusVisible:e,isPressed:t}){return[e?"focused":void 0,t?"pressed":void 0].filter(Boolean).join(" ")}const tu={small:`${p.spacing_200} ${p.spacing_300}`,large:`${p.spacing_300} ${p.spacing_400}`},St=F.default.button`
776
+ `;function mC({children:e,disabled:t,...n}){const o=Wt()||!!t;return w(eu.Provider,{value:o,children:w(bh,{disabled:t,...n,children:e})})}function Wt(){return c.useContext(eu)}function vh({isFocusVisible:e,isPressed:t}){return[e?"focused":void 0,t?"pressed":void 0].filter(Boolean).join(" ")}const tu={small:`${p.spacing_200} ${p.spacing_300}`,large:`${p.spacing_300} ${p.spacing_400}`},Pt=F.default.button`
777
777
  appearance: none;
778
778
  border-radius: ${p.border_radius_400};
779
779
  border: 1px solid transparent;
@@ -808,7 +808,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
808
808
  & > svg {
809
809
  height: 1em;
810
810
  }
811
- `,gC=F.default(St)`
811
+ `,gC=F.default(Pt)`
812
812
  background: ${p.color_deprecated_fill_primary_enabled};
813
813
  color: ${p.color_white};
814
814
 
@@ -825,7 +825,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
825
825
  background: ${p.color_deprecated_fill_primary_disabled};
826
826
  color: ${p.color_deprecated_fill_inverse_pressed};
827
827
  }
828
- `,hC=F.default(St)`
828
+ `,hC=F.default(Pt)`
829
829
  background: ${p.color_deprecated_fill_secondary_enabled};
830
830
  color: ${p.color_deprecated_fill_primary_enabled};
831
831
 
@@ -842,7 +842,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
842
842
  &:disabled {
843
843
  background: ${p.color_deprecated_fill_secondary_disabled};
844
844
  }
845
- `,bC=F.default(St)`
845
+ `,bC=F.default(Pt)`
846
846
  background: ${p.color_deprecated_fill_danger_enabled};
847
847
  color: ${p.color_white};
848
848
 
@@ -859,7 +859,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
859
859
  &:disabled {
860
860
  background: ${p.color_deprecated_fill_danger_disabled};
861
861
  }
862
- `,vC=F.default(St)`
862
+ `,vC=F.default(Pt)`
863
863
  background: ${p.color_white};
864
864
 
865
865
  &:hover {
@@ -873,7 +873,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
873
873
  &:disabled {
874
874
  background: ${p.color_deprecated_fill_inverse_disabled};
875
875
  }
876
- `,yC={primary:gC,secondary:hC,danger:bC,inverse:vC},$C=F.default(St)`
876
+ `,yC={primary:gC,secondary:hC,danger:bC,inverse:vC},$C=F.default(Pt)`
877
877
  background: hsl(
878
878
  217.35deg 81.6% 51%
879
879
  ); /* Interactive / Overlay / Primary / Enabled */
@@ -893,7 +893,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
893
893
  &:disabled {
894
894
  color: ${p.color_deprecated_fill_primary_disabled};
895
895
  }
896
- `,_C=F.default(St)`
896
+ `,_C=F.default(Pt)`
897
897
  color: ${p.color_deprecated_fill_danger_enabled};
898
898
  background-color: hsl(217.35deg 81.6% 50.98%);
899
899
 
@@ -915,7 +915,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
915
915
  &:disabled {
916
916
  color: ${p.color_deprecated_fill_danger_disabled};
917
917
  }
918
- `,xC=F.default(St)`
918
+ `,xC=F.default(Pt)`
919
919
  background: ${p.color_deprecated_overlay_inverse_enabled};
920
920
  border-color: transparent;
921
921
  color: ${p.color_deprecated_fill_inverse_enabled};
@@ -940,7 +940,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
940
940
  background-color: ${p.color_deprecated_fill_inverse_disabled};
941
941
  color: ${p.color_deprecated_outline_inverse_disabled};
942
942
  }
943
- `,wC={primary:$C,danger:_C,inverse:xC},EC=F.default(St)`
943
+ `,wC={primary:$C,danger:_C,inverse:xC},EC=F.default(Pt)`
944
944
  background: ${p.color_white};
945
945
  color: hsl(0deg 0% 7.84%); /* color missing in tokens */
946
946
  border: 1px solid ${p.color_deprecated_outline_secondary_enabled};
@@ -961,7 +961,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
961
961
  color: ${p.color_deprecated_fill_secondary_disabled};
962
962
  border-color: ${p.color_deprecated_outline_secondary_disabled};
963
963
  }
964
- `,SC=F.default(St)`
964
+ `,SC=F.default(Pt)`
965
965
  background: ${p.color_white};
966
966
  color: ${p.color_deprecated_fill_danger_enabled};
967
967
  border: 1px solid ${p.color_deprecated_outline_danger_enabled};
@@ -979,7 +979,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
979
979
  &:disabled {
980
980
  color: ${p.color_deprecated_fill_danger_disabled};
981
981
  }
982
- `,DC=F.default(St)`
982
+ `,DC=F.default(Pt)`
983
983
  background: ${p.color_deprecated_overlay_inverse_enabled};
984
984
  border-color: ${p.color_deprecated_outline_inverse_enabled};
985
985
  color: ${p.color_deprecated_fill_inverse_enabled};
@@ -1008,7 +1008,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1008
1008
  background-color: transparent;
1009
1009
  color: ${p.color_deprecated_outline_inverse_disabled};
1010
1010
  }
1011
- `,PC={low:wC,medium:{primary:EC,danger:SC,inverse:DC},high:yC},Uo=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=Dn(t),f=Bt(),g=a??f,{buttonProps:m,isPressed:h}=Zn({onPress:i,isDisabled:g,autoFocus:l,...u},d),{isFocusVisible:b,focusProps:v}=Mi({autoFocus:l}),$=vh({isFocusVisible:b,isPressed:h}),x=PC[o][r];return w(x,{ref:d,...ge(m,u,v,{"data-state":$}),"data-state":$,style:{"--button-padding":tu[n]},children:s})});Uo.displayName="Button";const nu="rovingFocusGroup.onEntryFocus",TC={bubbles:!1,cancelable:!0},ru="RovingFocusGroup",[ou,yh,kC]=La(ru),[CC,kn]=Ve(ru,[kC]),[AC,IC]=CC(ru),OC=c.forwardRef((e,t)=>c.createElement(ou.Provider,{scope:e.__scopeRovingFocusGroup},c.createElement(ou.Slot,{scope:e.__scopeRovingFocusGroup},c.createElement(MC,L({},e,{ref:t}))))),MC=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),g=xe(t,f),m=pr(a),[h=null,b]=We({prop:i,defaultProp:l,onChange:s}),[v,$]=c.useState(!1),y=Ue(u),x=yh(n),S=c.useRef(!1),[k,P]=c.useState(0);return c.useEffect(()=>{const M=f.current;if(M)return M.addEventListener(nu,y),()=>M.removeEventListener(nu,y)},[y]),c.createElement(AC,{scope:n,orientation:r,dir:m,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(de.div,L({tabIndex:v||k===0?-1:0,"data-orientation":r},d,{ref:g,style:{outline:"none",...e.style},onMouseDown:ae(e.onMouseDown,()=>{S.current=!0}),onFocus:ae(e.onFocus,M=>{const _=!S.current;if(M.target===M.currentTarget&&_&&!v){const C=new CustomEvent(nu,TC);if(M.currentTarget.dispatchEvent(C),!C.defaultPrevented){const N=x().filter(U=>U.focusable),E=N.find(U=>U.active),V=N.find(U=>U.id===h),T=[E,V,...N].filter(Boolean).map(U=>U.ref.current);$h(T)}}S.current=!1}),onBlur:ae(e.onBlur,()=>$(!1))})))}),FC="RovingFocusGroupItem",LC=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,...i}=e,l=ot(),s=a||l,u=IC(FC,n),d=u.currentTabStopId===s,f=yh(n),{onFocusableItemAdd:g,onFocusableItemRemove:m}=u;return c.useEffect(()=>{if(r)return g(),()=>m()},[r,g,m]),c.createElement(ou.ItemSlot,{scope:n,id:s,focusable:r,active:o},c.createElement(de.span,L({tabIndex:d?0:-1,"data-orientation":u.orientation},i,{ref:t,onMouseDown:ae(e.onMouseDown,h=>{r?u.onItemFocus(s):h.preventDefault()}),onFocus:ae(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:ae(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){u.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const b=RC(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?KC($,y+1):$.slice(y+1)}setTimeout(()=>$h($))}})})))}),NC={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function zC(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function RC(e,t,n){const r=zC(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return NC[r]}function $h(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function KC(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Fi=OC,Li=LC,VC=c.forwardRef((e,t)=>{const{pressed:n,defaultPressed:r=!1,onPressedChange:o,...a}=e,[i=!1,l]=We({prop:n,onChange:o,defaultProp:r});return c.createElement(de.button,L({type:"button","aria-pressed":i,"data-state":i?"on":"off","data-disabled":e.disabled?"":void 0},a,{ref:t,onClick:ae(e.onClick,()=>{e.disabled||l(!i)})}))}),Ni="ToggleGroup",[_h,HV]=Ve(Ni,[kn]),xh=kn(),BC=D.default.forwardRef((e,t)=>{const{type:n,...r}=e;if(n==="single"){const o=r;return D.default.createElement(jC,L({},o,{ref:t}))}if(n==="multiple"){const o=r;return D.default.createElement(UC,L({},o,{ref:t}))}throw new Error(`Missing prop \`type\` expected on \`${Ni}\``)}),[wh,Eh]=_h(Ni),jC=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i,l]=We({prop:n,defaultProp:r,onChange:o});return D.default.createElement(wh,{scope:e.__scopeToggleGroup,type:"single",value:i?[i]:[],onItemActivate:l,onItemDeactivate:D.default.useCallback(()=>l(""),[l])},D.default.createElement(Sh,L({},a,{ref:t})))}),UC=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],l]=We({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(g=>g!==d)),[l]);return D.default.createElement(wh,{scope:e.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:s,onItemDeactivate:u},D.default.createElement(Sh,L({},a,{ref:t})))}),[WC,HC]=_h(Ni),Sh=D.default.forwardRef((e,t)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:a,dir:i,loop:l=!0,...s}=e,u=xh(n),d=pr(i),f={role:"group",dir:d,...s};return D.default.createElement(WC,{scope:n,rovingFocus:o,disabled:r},o?D.default.createElement(Fi,L({asChild:!0},u,{orientation:a,dir:d,loop:l}),D.default.createElement(de.div,L({},f,{ref:t}))):D.default.createElement(de.div,L({},f,{ref:t})))}),au="ToggleGroupItem",GC=D.default.forwardRef((e,t)=>{const n=Eh(au,e.__scopeToggleGroup),r=HC(au,e.__scopeToggleGroup),o=xh(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(Li,L({asChild:!0},o,{focusable:!i,active:a,ref:s}),D.default.createElement(Dh,L({},l,{ref:t}))):D.default.createElement(Dh,L({},l,{ref:t}))}),Dh=D.default.forwardRef((e,t)=>{const{__scopeToggleGroup:n,value:r,...o}=e,a=Eh(au,n),i={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l=a.type==="single"?i:void 0;return D.default.createElement(VC,L({},l,o,{ref:t,onPressedChange:s=>{s?a.onItemActivate(r):a.onItemDeactivate(r)}}))}),YC=BC,qC=GC,Ph=F.default(YC)`
1011
+ `,PC={low:wC,medium:{primary:EC,danger:SC,inverse:DC},high:yC},Uo=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=Dn(t),f=Wt(),g=a??f,{buttonProps:m,isPressed:h}=Jn({onPress:i,isDisabled:g,autoFocus:l,...u},d),{isFocusVisible:b,focusProps:v}=Mi({autoFocus:l}),$=vh({isFocusVisible:b,isPressed:h}),x=PC[o][r];return w(x,{ref:d,...ve(m,u,v,{"data-state":$}),"data-state":$,style:{"--button-padding":tu[n]},children:s})});Uo.displayName="Button";const nu="rovingFocusGroup.onEntryFocus",TC={bubbles:!1,cancelable:!0},ru="RovingFocusGroup",[ou,yh,kC]=La(ru),[CC,kn]=je(ru,[kC]),[AC,IC]=CC(ru),OC=c.forwardRef((e,t)=>c.createElement(ou.Provider,{scope:e.__scopeRovingFocusGroup},c.createElement(ou.Slot,{scope:e.__scopeRovingFocusGroup},c.createElement(MC,L({},e,{ref:t}))))),MC=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),g=Ee(t,f),m=mr(a),[h=null,b]=Ge({prop:i,defaultProp:l,onChange:s}),[v,$]=c.useState(!1),y=He(u),x=yh(n),S=c.useRef(!1),[k,P]=c.useState(0);return c.useEffect(()=>{const M=f.current;if(M)return M.addEventListener(nu,y),()=>M.removeEventListener(nu,y)},[y]),c.createElement(AC,{scope:n,orientation:r,dir:m,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(de.div,L({tabIndex:v||k===0?-1:0,"data-orientation":r},d,{ref:g,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(nu,TC);if(M.currentTarget.dispatchEvent(C),!C.defaultPrevented){const N=x().filter(U=>U.focusable),E=N.find(U=>U.active),V=N.find(U=>U.id===h),T=[E,V,...N].filter(Boolean).map(U=>U.ref.current);$h(T)}}S.current=!1}),onBlur:oe(e.onBlur,()=>$(!1))})))}),FC="RovingFocusGroupItem",LC=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,...i}=e,l=it(),s=a||l,u=IC(FC,n),d=u.currentTabStopId===s,f=yh(n),{onFocusableItemAdd:g,onFocusableItemRemove:m}=u;return c.useEffect(()=>{if(r)return g(),()=>m()},[r,g,m]),c.createElement(ou.ItemSlot,{scope:n,id:s,focusable:r,active:o},c.createElement(de.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=RC(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?KC($,y+1):$.slice(y+1)}setTimeout(()=>$h($))}})})))}),NC={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function zC(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function RC(e,t,n){const r=zC(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return NC[r]}function $h(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function KC(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Fi=OC,Li=LC,VC=c.forwardRef((e,t)=>{const{pressed:n,defaultPressed:r=!1,onPressedChange:o,...a}=e,[i=!1,l]=Ge({prop:n,onChange:o,defaultProp:r});return c.createElement(de.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)})}))}),Ni="ToggleGroup",[_h,HV]=je(Ni,[kn]),xh=kn(),BC=D.default.forwardRef((e,t)=>{const{type:n,...r}=e;if(n==="single"){const o=r;return D.default.createElement(jC,L({},o,{ref:t}))}if(n==="multiple"){const o=r;return D.default.createElement(UC,L({},o,{ref:t}))}throw new Error(`Missing prop \`type\` expected on \`${Ni}\``)}),[wh,Eh]=_h(Ni),jC=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i,l]=Ge({prop:n,defaultProp:r,onChange:o});return D.default.createElement(wh,{scope:e.__scopeToggleGroup,type:"single",value:i?[i]:[],onItemActivate:l,onItemDeactivate:D.default.useCallback(()=>l(""),[l])},D.default.createElement(Sh,L({},a,{ref:t})))}),UC=D.default.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],l]=Ge({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(g=>g!==d)),[l]);return D.default.createElement(wh,{scope:e.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:s,onItemDeactivate:u},D.default.createElement(Sh,L({},a,{ref:t})))}),[WC,HC]=_h(Ni),Sh=D.default.forwardRef((e,t)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:a,dir:i,loop:l=!0,...s}=e,u=xh(n),d=mr(i),f={role:"group",dir:d,...s};return D.default.createElement(WC,{scope:n,rovingFocus:o,disabled:r},o?D.default.createElement(Fi,L({asChild:!0},u,{orientation:a,dir:d,loop:l}),D.default.createElement(de.div,L({},f,{ref:t}))):D.default.createElement(de.div,L({},f,{ref:t})))}),au="ToggleGroupItem",GC=D.default.forwardRef((e,t)=>{const n=Eh(au,e.__scopeToggleGroup),r=HC(au,e.__scopeToggleGroup),o=xh(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(Li,L({asChild:!0},o,{focusable:!i,active:a,ref:s}),D.default.createElement(Dh,L({},l,{ref:t}))):D.default.createElement(Dh,L({},l,{ref:t}))}),Dh=D.default.forwardRef((e,t)=>{const{__scopeToggleGroup:n,value:r,...o}=e,a=Eh(au,n),i={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l=a.type==="single"?i:void 0;return D.default.createElement(VC,L({},l,o,{ref:t,onPressedChange:s=>{s?a.onItemActivate(r):a.onItemDeactivate(r)}}))}),YC=BC,qC=GC,Ph=F.default(YC)`
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(R),null," "));var Y=he(le,se,H,ne,re+"
1031
1031
  border-radius: ${p.border_radius_400};
1032
1032
  box-shadow: ${p.elevation_interactive_medium};
1033
1033
  }
1034
- `;const Mr={top:"top",bottom:"top",left:"left",right:"left"},zi={top:"bottom",bottom:"top",left:"right",right:"left"},ZC={top:"left",left:"top"},iu={top:"height",left:"width"},kh={width:"totalWidth",height:"totalHeight"},Ri={};let nt=typeof document<"u"&&window.visualViewport;function Ch(e){let t=0,n=0,r=0,o=0,a=0,i=0,l={},s=(nt==null?void 0:nt.scale)>1;if(e.tagName==="BODY"){let f=document.documentElement;r=f.clientWidth,o=f.clientHeight;var u;t=(u=nt==null?void 0:nt.width)!==null&&u!==void 0?u:r;var d;n=(d=nt==null?void 0:nt.height)!==null&&d!==void 0?d:o,l.top=f.scrollTop||e.scrollTop,l.left=f.scrollLeft||e.scrollLeft,nt&&(a=nt.offsetTop,i=nt.offsetLeft)}else({width:t,height:n,top:a,left:i}=Fr(e)),l.top=e.scrollTop,l.left=e.scrollLeft,r=t,o=n;return Pc()&&(e.tagName==="BODY"||e.tagName==="HTML")&&s&&(l.top=0,l.left=0,a=nt.pageTop,i=nt.pageLeft),{width:t,height:n,totalWidth:r,totalHeight:o,scroll:l,top:a,left:i}}function JC(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Ah(e,t,n,r,o,a,i){let l=o.scroll[e],s=r[iu[e]],u=r.scroll[Mr[e]]+a,d=s+r.scroll[Mr[e]]-a,f=t-l+i[e]-r[Mr[e]],g=t-l+n+i[e]-r[Mr[e]];return f<u?u-f:g>d?Math.max(d-g,u-f):0}function QC(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 Ih(e){if(Ri[e])return Ri[e];let[t,n]=e.split(" "),r=Mr[t]||"right",o=ZC[r];Mr[n]||(n="center");let a=iu[r],i=iu[o];return Ri[e]={placement:t,crossPlacement:n,axis:r,crossAxis:o,size:a,crossSize:i},Ri[e]}function lu(e,t,n,r,o,a,i,l,s,u){let{placement:d,crossPlacement:f,axis:g,crossAxis:m,size:h,crossSize:b}=r,v={};v[m]=e[m],f==="center"?v[m]+=(e[b]-n[b])/2:f!==m&&(v[m]+=e[b]-n[b]),v[m]+=a;const $=e[m]-n[b]+s+u,y=e[m]+e[b]-s-u;if(v[m]=bi(v[m],$,y),d===g){const x=l?i[h]:t[kh[h]];v[zi[g]]=Math.floor(x-e[g]+o)}else v[g]=Math.floor(e[g]+e[h]+o);return v}function e4(e,t,n,r,o,a,i,l){const s=r?n.height:t[kh.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 Oh(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[zi[l]]-o):Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-n[l]-n[s]-r[l]-r[zi[l]]-o)}function t4(e,t,n,r,o,a,i,l,s,u,d,f,g,m,h,b){let v=Ih(e),{size:$,crossAxis:y,crossSize:x,placement:S,crossPlacement:k}=v,P=lu(t,l,n,v,d,f,u,g,h,b),M=d,_=Oh(l,u,t,o,a+d,v);if(i&&r[$]>_){let q=Ih(`${zi[S]} ${k}`),R=lu(t,l,n,q,d,f,u,g,h,b);Oh(l,u,t,o,a+d,q)>_&&(v=q,P=R,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=Ah(y,P[y],n[x],l,s,a,u);P[y]+=N;let E=e4(P,l,u,g,o,a,n.height,C);m&&m<E&&(E=m),n.height=Math.min(n.height,E),P=lu(t,l,n,v,M,f,u,g,h,b),N=Ah(y,P[y],n[x],l,s,a,u),P[y]+=N;let V={},O=t[y]+.5*t[x]-P[y];const T=h/2+b,U=n[x]-h/2-b,I=t[y]-P[y]+h/2,Z=t[y]+t[x]-P[y]-h/2,j=bi(O,I,Z);return V[y]=bi(j,T,U),{position:P,maxHeight:E,arrowOffsetLeft:V.left,arrowOffsetTop:V.top,placement:v.placement}}function n4(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:g=0}=e,m=r instanceof HTMLElement?r4(r):document.documentElement,h=m===document.documentElement;const b=window.getComputedStyle(m).position;let v=!!b&&b!=="static",$=h?Fr(n):Mh(n,m);if(!h){let{marginTop:_,marginLeft:C}=window.getComputedStyle(n);$.top+=parseInt(_,10)||0,$.left+=parseInt(C,10)||0}let y=Fr(r),x=QC(r);y.width+=x.left+x.right,y.height+=x.top+x.bottom;let S=JC(o),k=Ch(l),P=Ch(m),M=l.tagName==="BODY"?Fr(m):Mh(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(P.scroll.top=0,P.scroll.left=0),t4(t,$,y,S,x,a,i,k,P,M,s,u,v,d,f,g)}function Fr(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 Mh(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=Fr(e);let o=Fr(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 r4(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Fh(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Fh(t);)t=t.parentElement;return t||document.documentElement}function Fh(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 Lh=new WeakMap;function o4(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||Lh.get(t.current);l&&l()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[n,r,t])}const a4=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i4=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function l4(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 a4.has(n.script)}let t=e.split("-")[0];return i4.has(t)}const s4=Symbol.for("react-aria.i18n.locale");function Nh(){let e=typeof window<"u"&&window[s4]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:l4(e)?"rtl":"ltr"}}let su=Nh(),Wo=new Set;function zh(){su=Nh();for(let e of Wo)e(su)}function c4(){let e=fi(),[t,n]=c.useState(su);return c.useEffect(()=>(Wo.size===0&&window.addEventListener("languagechange",zh),Wo.add(n),()=>{Wo.delete(n),Wo.size===0&&window.removeEventListener("languagechange",zh)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const u4=D.default.createContext(null);function it(){let e=c4();return c.useContext(u4)||e}const d4=Symbol.for("react-aria.i18n.locale"),f4=Symbol.for("react-aria.i18n.strings");let Lr;class Ki{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=p4(t,this.strings,this.defaultLocale),this.strings[t]=n),n}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let n=window[d4];if(Lr===void 0){let o=window[f4];if(!o)return null;Lr={};for(let a in o)Lr[a]=new Ki({[n]:o[a]},n)}let r=Lr==null?void 0:Lr[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 p4(e,t,n="en-US"){if(t[e])return t[e];let r=m4(e);if(t[r])return t[r];for(let o in t)if(o.startsWith(r+"-"))return t[o];return t[n]}function m4(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Rh=new Map,Kh=new Map;class g4{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=Rh.get(a);i||(i=new Intl.PluralRules(this.locale,{type:r}),Rh.set(a,i));let l=i.select(t);return o=n[l]||n.other,typeof o=="function"?o():o}number(t){let n=Kh.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),Kh.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 Vh=new WeakMap;function h4(e){let t=Vh.get(e);return t||(t=new Ki(e),Vh.set(e,t)),t}function b4(e,t){return t&&Ki.getGlobalDictionaryForPackage(t)||h4(e)}function Dt(e,t){let{locale:n}=it(),r=b4(e,t);return c.useMemo(()=>new g4(n,r),[n,r])}function Nr(e,t){return e-t*Math.floor(e/t)}const Bh=1721426;function Jn(e,t,n,r){t=Ho(e,t);let o=t-1,a=-2;return n<=2?a=0:Cn(t)&&(a=-1),Bh-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*n-362)/12+a+r)}function Cn(e){return e%4===0&&(e%100!==0||e%400===0)}function Ho(e,t){return e==="BC"?1-t:t}function Vi(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const v4={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 lt{fromJulianDay(t){let n=t,r=n-Bh,o=Math.floor(r/146097),a=Nr(r,146097),i=Math.floor(a/36524),l=Nr(a,36524),s=Math.floor(l/1461),u=Nr(l,1461),d=Math.floor(u/365),f=o*400+i*100+s*4+d+(i!==4&&d!==4?1:0),[g,m]=Vi(f),h=n-Jn(g,m,1,1),b=2;n<Jn(g,m,3,1)?b=0:Cn(m)&&(b=1);let v=Math.floor(((h+b)*12+373)/367),$=n-Jn(g,m,v,1)+1;return new $e(g,m,v,$)}toJulianDay(t){return Jn(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return v4[Cn(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Cn(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 y4={"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 Me(e,t){return t=Re(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function $4(e,t){return t=Re(t,e.calendar),e=Qn(e),t=Qn(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function cu(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 _4(e,t){return Me(e,Go(t))}function Bi(e,t){let n=e.calendar.toJulianDay(e),r=Math.ceil(n+1-D4(t))%7;return r<0&&(r+=7),r}function x4(e){return sn(Date.now(),e)}function Go(e){return Pt(x4(e))}function jh(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Uh(e,t){return Wh(e)-Wh(t)}function Wh(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let uu=null;function Hh(){return uu==null&&(uu=new Intl.DateTimeFormat().resolvedOptions().timeZone),uu}function Qn(e){return e.subtract({days:e.day-1})}function ji(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function w4(e){return Qn(e.subtract({months:e.month-1}))}function Yo(e,t){let n=Bi(e,t);return e.subtract({days:n})}function E4(e,t){return Yo(e,t).add({days:6})}const Gh=new Map;function S4(e){if(Intl.Locale){let n=Gh.get(e);return n||(n=new Intl.Locale(e).maximize().region,n&&Gh.set(e,n)),n}let t=e.split("-")[1];return t==="u"?void 0:t}function D4(e){let t=S4(e);return t&&y4[t]||0}function P4(e,t){let n=e.calendar.getDaysInMonth(e);return Math.ceil((Bi(Qn(e),t)+n)/7)}function du(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function fu(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function zr(e){e=Re(e,new lt);let t=Ho(e.era,e.year);return Yh(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Yh(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 pu(e,t){if(t==="UTC")return 0;if(e>0&&t===Hh())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:o,hour:a,minute:i,second:l}=Xh(e,t);return Yh(n,r,o,a,i,l,0)-Math.floor(e/1e3)*1e3}const qh=new Map;function Xh(e,t){let n=qh.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"}),qh.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 Zh=864e5;function T4(e,t,n,r){return(n===r?[n]:[n,r]).filter(a=>k4(e,t,a))}function k4(e,t,n){let r=Xh(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 ln(e,t,n="compatible"){let r=Rr(e);if(t==="UTC")return zr(r);if(t===Hh()&&n==="compatible"){r=Re(r,new lt);let s=new Date,u=Ho(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=zr(r),a=pu(o-Zh,t),i=pu(o+Zh,t),l=T4(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 Jh(e,t,n="compatible"){return new Date(ln(e,t,n))}function sn(e,t){let n=pu(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 Zo(o,a,i,t,n,l,s,u,d)}function Pt(e){return new $e(e.calendar,e.era,e.year,e.month,e.day)}function Rr(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 Hi(e.calendar,e.era,e.year,e.month,e.day,n,r,o,a)}function Re(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,er(r),r}function C4(e,t,n){if(e instanceof Zo)return e.timeZone===t?e:I4(e,t);let r=ln(e,t,n);return sn(r,t)}function A4(e){let t=zr(e)-e.offset;return new Date(t)}function I4(e,t){let n=zr(e)-e.offset;return Re(sn(n,t),e.calendar)}const qo=36e5;function Ui(e,t){let n=e.copy(),r="hour"in n?nb(n,t):0;mu(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,gu(n),Qh(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,O4(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 mu(e,t){var n,r;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function gu(e){for(;e.month<1;)mu(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,mu(e,1)}function O4(e){for(;e.day<1;)e.month--,gu(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,gu(e)}function Qh(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 er(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Qh(e)}function hu(e){let t={};for(let n in e)typeof e[n]=="number"&&(t[n]=-e[n]);return t}function eb(e,t){return Ui(e,hu(t))}function bu(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),er(n),n}function Xo(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),tb(n),n}function M4(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Wi(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Wi(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Wi(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Wi(e.hour,24),t}function tb(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 Wi(e,t){let n=e%t;return n<0&&(n+=t),n}function nb(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,M4(e)}function rb(e,t){let n=e.copy();return nb(n,t),n}function F4(e,t){return rb(e,hu(t))}function vu(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=cn(s,n,0,l.length-1,r==null?void 0:r.round),o.era=l[s],er(o);break}case"year":var a,i;!((a=(i=o.calendar).isInverseEra)===null||a===void 0)&&a.call(i,o)&&(n=-n),o.year=cn(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=cn(e.month,n,1,e.calendar.getMonthsInYear(e),r==null?void 0:r.round);break;case"day":o.day=cn(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),er(o),o}function yu(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=cn(a,n,i,l,r==null?void 0:r.round);break}case"minute":o.minute=cn(e.minute,n,0,59,r==null?void 0:r.round);break;case"second":o.second=cn(e.second,n,0,59,r==null?void 0:r.round);break;case"millisecond":o.millisecond=cn(e.millisecond,n,0,999,r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return o}function cn(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 ob(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=Ui(Rr(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=ln(o,e.timeZone)}else n=zr(e)-e.offset;n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5;let r=sn(n,e.timeZone);return Re(r,e.calendar)}function L4(e,t){return ob(e,hu(t))}function N4(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=Rr(e),l=Re(Xo(i,{hour:o}),new lt),s=[ln(l,e.timeZone,"earlier"),ln(l,e.timeZone,"later")].filter(h=>sn(h,e.timeZone).day===l.day)[0],u=Re(Xo(i,{hour:a}),new lt),d=[ln(u,e.timeZone,"earlier"),ln(u,e.timeZone,"later")].filter(h=>sn(h,e.timeZone).day===u.day).pop(),f=zr(e)-e.offset,g=Math.floor(f/qo),m=f%qo;return f=cn(g,n,Math.floor(s/qo),Math.floor(d/qo),r==null?void 0:r.round)*qo+m,Re(sn(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return yu(e,t,n,r);case"era":case"year":case"month":case"day":{let o=vu(Rr(e),t,n,r),a=ln(o,e.timeZone);return Re(sn(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function z4(e,t,n){let r=Rr(e),o=Xo(bu(r,t),t);if(o.compare(r)===0)return e;let a=ln(o,e.timeZone,n);return Re(sn(a,e.timeZone),e.calendar)}function ab(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 ib(e){let t=Re(e,new lt);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function lb(e){return`${ib(e)}T${ab(e)}`}function R4(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 K4(e){return`${lb(e)}${R4(e.offset)}[${e.timeZone}]`}function $u(e){let t=typeof e[0]=="object"?e.shift():new lt,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 V4=new WeakMap;class $e{copy(){return this.era?new $e(this.calendar,this.era,this.year,this.month,this.day):new $e(this.calendar,this.year,this.month,this.day)}add(t){return Ui(this,t)}subtract(t){return eb(this,t)}set(t){return bu(this,t)}cycle(t,n,r){return vu(this,t,n,r)}toDate(t){return Jh(this,t)}toString(){return ib(this)}compare(t){return jh(this,t)}constructor(...t){zo(this,V4,{writable:!0,value:void 0});let[n,r,o,a,i]=$u(t);this.calendar=n,this.era=r,this.year=o,this.month=a,this.day=i,er(this)}}var B4=new WeakMap;class Tt{copy(){return new Tt(this.hour,this.minute,this.second,this.millisecond)}add(t){return rb(this,t)}subtract(t){return F4(this,t)}set(t){return Xo(this,t)}cycle(t,n,r){return yu(this,t,n,r)}toString(){return ab(this)}compare(t){return Uh(this,t)}constructor(t=0,n=0,r=0,o=0){zo(this,B4,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=r,this.millisecond=o,tb(this)}}var j4=new WeakMap;class Hi{copy(){return this.era?new Hi(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Hi(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ui(this,t)}subtract(t){return eb(this,t)}set(t){return bu(Xo(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return vu(this,t,n,r);default:return yu(this,t,n,r)}}toDate(t,n){return Jh(this,t,n)}toString(){return lb(this)}compare(t){let n=jh(this,t);return n===0?Uh(this,Rr(t)):n}constructor(...t){zo(this,j4,{writable:!0,value:void 0});let[n,r,o,a,i]=$u(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,er(this)}}var U4=new WeakMap;class Zo{copy(){return this.era?new Zo(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Zo(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return ob(this,t)}subtract(t){return L4(this,t)}set(t,n){return z4(this,t,n)}cycle(t,n,r){return N4(this,t,n,r)}toDate(){return A4(this)}toString(){return K4(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-C4(t,this.timeZone).toDate().getTime()}constructor(...t){zo(this,U4,{writable:!0,value:void 0});let[n,r,o,a,i]=$u(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,er(this)}}const Kr=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],W4=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Gi=[1867,1911,1925,1988,2018],An=["meiji","taisho","showa","heisei","reiwa"];function sb(e){const t=Kr.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?Kr.length-1:t===0?0:t-1}function _u(e){let t=Gi[An.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new $e(e.year+t,e.month,e.day)}class H4 extends lt{fromJulianDay(t){let n=super.fromJulianDay(t),r=sb(n);return new $e(this,An[r],n.year-Gi[r],n.month,n.day)}toJulianDay(t){return super.toJulianDay(_u(t))}balanceDate(t){let n=_u(t),r=sb(n);An[r]!==t.era&&(t.era=An[r],t.year=n.year-Gi[r]),this.constrainDate(t)}constrainDate(t){let n=An.indexOf(t.era),r=W4[n];if(r!=null){let[o,a,i]=r,l=o-Gi[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]=Kr[n];t.month=Math.max(o,t.month),t.month===o&&(t.day=Math.max(a,t.day))}}getEras(){return An}getYearsInEra(t){let n=An.indexOf(t.era),r=Kr[n],o=Kr[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(_u(t))}getMinimumMonthInYear(t){let n=cb(t);return n?n[1]:1}getMinimumDayInMonth(t){let n=cb(t);return n&&t.month===n[1]?n[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function cb(e){if(e.year===1){let t=An.indexOf(e.era);return Kr[t]}}const ub=-543;class G4 extends lt{fromJulianDay(t){let n=super.fromJulianDay(t),r=Ho(n.era,n.year);return new $e(this,r-ub,n.month,n.day)}toJulianDay(t){return super.toJulianDay(db(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(db(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function db(e){let[t,n]=Vi(e.year+ub);return new $e(t,n,e.month,e.day)}const Yi=1911;function fb(e){return e.era==="minguo"?e.year+Yi:1-e.year+Yi}function pb(e){let t=e-Yi;return t>0?["minguo",t]:["before_minguo",1-t]}class Y4 extends lt{fromJulianDay(t){let n=super.fromJulianDay(t),r=Ho(n.era,n.year),[o,a]=pb(r);return new $e(this,o,a,n.month,n.day)}toJulianDay(t){return super.toJulianDay(mb(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[n,r]=pb(fb(t));t.era=n,t.year=r}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(mb(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Yi}constructor(...t){super(...t),this.identifier="roc"}}function mb(e){let[t,n]=Vi(fb(e));return new $e(t,n,e.month,e.day)}const gb=1948320,hb=[0,31,62,93,124,155,186,216,246,276,306,336];class q4{fromJulianDay(t){let n=t-gb,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-hb[i]+1;return new $e(this,r,i+1,l)}toJulianDay(t){let n=gb-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return n+=hb[t.month-1],n+=t.day,n}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Nr(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const xu=78,bb=80;class X4 extends lt{fromJulianDay(t){let n=super.fromJulianDay(t),r=n.year-xu,o=t-Jn(n.era,n.year,1,1),a;o<bb?(r--,a=Cn(n.year-1)?31:30,o+=a+155+90+10):(a=Cn(n.year)?31:30,o-=bb);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 $e(this,r,i,l)}toJulianDay(t){let n=t.year+xu,[r,o]=Vi(n),a,i;return Cn(o)?(a=31,i=Jn(r,o,3,21)):(a=30,i=Jn(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&&Cn(t.year+xu)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const qi=1948440,vb=1948439,pt=1300,Vr=1600,Z4=460322;function Xi(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function yb(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),o=Math.min(12,Math.ceil((n-(29+Xi(t,r,1,1)))/29.5)+1),a=n-Xi(t,r,o,1)+1;return new $e(e,r,o,a)}function $b(e){return(14+11*e)%30<11}class wu{fromJulianDay(t){return yb(this,qi,t)}toJulianDay(t){return Xi(qi,t.year,t.month,t.day)}getDaysInMonth(t){let n=29+t.month%2;return t.month===12&&$b(t.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(t){return $b(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class J4 extends wu{fromJulianDay(t){return yb(this,vb,t)}toJulianDay(t){return Xi(vb,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Q4="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let Eu,Br;function Zi(e){return Z4+Br[e-pt]}function Jo(e,t){let n=e-pt,r=1<<11-(t-1);return Eu[n]&r?30:29}function _b(e,t){let n=Zi(e);for(let r=1;r<t;r++)n+=Jo(e,r);return n}function xb(e){return Br[e+1-pt]-Br[e-pt]}class e8 extends wu{fromJulianDay(t){let n=t-qi,r=Zi(pt),o=Zi(Vr);if(n<r||n>o)return super.fromJulianDay(t);{let a=pt-1,i=1,l=1;for(;l>0;){a++,l=n-Zi(a)+1;let s=xb(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 $e(this,a,i,n-_b(a,i)+1)}}toJulianDay(t){return t.year<pt||t.year>Vr?super.toJulianDay(t):qi+_b(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<pt||t.year>Vr?super.getDaysInMonth(t):Jo(t.year,t.month)}getDaysInYear(t){return t.year<pt||t.year>Vr?super.getDaysInYear(t):xb(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",Eu||(Eu=new Uint16Array(Uint8Array.from(atob(Q4),t=>t.charCodeAt(0)).buffer)),!Br){Br=new Uint32Array(Vr-pt+1);let t=0;for(let n=pt;n<=Vr;n++){Br[n-pt]=t;for(let r=1;r<=12;r++)t+=Jo(n,r)}}}}const wb=347997,Eb=1080,Sb=24*Eb,t8=29,n8=12*Eb+793,r8=t8*Sb+n8;function tr(e){return Nr(e*7+1,19)<7}function Ji(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return Nr(3*(r+1),7)<3&&(r+=1),r}function o8(e){let t=Ji(e-1),n=Ji(e);return Ji(e+1)-n===356?2:n-t===382?1:0}function Qo(e){return Ji(e)+o8(e)}function Db(e){return Qo(e+1)-Qo(e)}function a8(e){let t=Db(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&&!tr(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let n=a8(e);return t===2?n===2?30:29:t===3?n===0?29:30:t===6?tr(e)?30:0:30}class i8{fromJulianDay(t){let n=t-wb,r=n*Sb/r8,o=Math.floor((19*r+234)/235)+1,a=Qo(o),i=Math.floor(n-a);for(;i<1;)o--,a=Qo(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 $e(this,o,l,u)}toJulianDay(t){let n=Qo(t.year);for(let r=1;r<t.month;r++)n+=Qi(t.year,r);return n+t.day+wb}getDaysInMonth(t){return Qi(t.year,t.month)}getMonthsInYear(t){return tr(t.year)?13:12}getDaysInYear(t){return Db(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,n){n.year!==t.year&&(tr(n.year)&&!tr(t.year)&&n.month>6?t.month--:!tr(n.year)&&tr(t.year)&&n.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const Su=1723856,Pb=1824665,Du=5500;function el(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function Pu(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-el(e,n,1,1))/30),o=t+1-el(e,n,r,1);return[n,r,o]}function Tb(e){return Math.floor(e%4/3)}function kb(e,t){return t%13!==0?30:Tb(e)+5}class Tu{fromJulianDay(t){let[n,r,o]=Pu(Su,t),a="AM";return n<=0&&(a="AA",n+=Du),new $e(this,a,n,r,o)}toJulianDay(t){let n=t.year;return t.era==="AA"&&(n-=Du),el(Su,n,t.month,t.day)}getDaysInMonth(t){return kb(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Tb(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class l8 extends Tu{fromJulianDay(t){let[n,r,o]=Pu(Su,t);return n+=Du,new $e(this,"AA",n,r,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class s8 extends Tu{fromJulianDay(t){let[n,r,o]=Pu(Pb,t),a="CE";return n<=0&&(a="BCE",n=1-n),new $e(this,a,n,r,o)}toJulianDay(t){let n=t.year;return t.era==="BCE"&&(n=1-n),el(Pb,n,t.month,t.day)}getDaysInMonth(t){let n=t.year;return t.era==="BCE"&&(n=1-n),kb(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 Cb(e){switch(e){case"buddhist":return new G4;case"ethiopic":return new Tu;case"ethioaa":return new l8;case"coptic":return new s8;case"hebrew":return new i8;case"indian":return new X4;case"islamic-civil":return new wu;case"islamic-tbla":return new J4;case"islamic-umalqura":return new e8;case"japanese":return new H4;case"persian":return new q4;case"roc":return new Y4;case"gregory":default:return new lt}}let ku=new Map;class Ab{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 d8()&&(this.resolvedHourCycle||(this.resolvedHourCycle=f8(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=Ib(t,n),this.options=n}}const c8={true:{ja:"h11"},false:{}};function Ib(e,t={}){if(typeof t.hour12=="boolean"&&u8()){t={...t};let o=c8[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(ku.has(n))return ku.get(n);let r=new Intl.DateTimeFormat(e,t);return ku.set(n,r),r}let Cu=null;function u8(){return Cu==null&&(Cu=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Cu}let Au=null;function d8(){return Au==null&&(Au=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Au}function f8(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=Ib(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 nr(e){e=Ng(e??{},p8);let{locale:t}=it();return c.useMemo(()=>new Ab(t,e),[t,e])}function p8(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 Iu=new Map,Ou=!1;try{Ou=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let tl=!1;try{tl=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Ob={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class nl{format(t){let n="";if(!Ou&&this.options.signDisplay!=null?n=g8(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!tl){var r;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!o)return n;let l=(r=Ob[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!Ou&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!tl&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=m8(t,n),this.options=n}}function m8(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!tl){var r;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=Ob[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(Iu.has(o))return Iu.get(o);let a=new Intl.NumberFormat(e,t);return Iu.set(o,a),a}function g8(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 h8=new RegExp("^.*\\(.*\\).*$"),b8=["latn","arab","hanidec"];class Mb{parse(t){return Mu(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return Mu(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return Mu(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const Fb=new Map;function Mu(e,t,n){let r=Lb(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let o of b8)if(o!==r.options.numberingSystem){let a=Lb(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(n))return a}}return r}function Lb(e,t){let n=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),r=Fb.get(n);return r||(r=new v8(e,t),Fb.set(n,r)),r}class v8{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=rl(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 Mb(this.locale,i).parse(new nl(this.locale,i).format(r))}return this.options.currencySign==="accounting"&&h8.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=rl(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=rl(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=rl(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=$8(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 Nb=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),y8=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function $8(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=y8.map(N=>s.formatToParts(N));var g;let m=(g=(o=u.find(N=>N.type==="minusSign"))===null||o===void 0?void 0:o.value)!==null&&g!==void 0?g:"-",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=>!Nb.has(N.type)).map(N=>zb(N.value)),x=f.flatMap(N=>N.filter(E=>!Nb.has(E.type)).map(E=>zb(E.value))),S=[...new Set([...y,...x])].sort((N,E)=>E.length-N.length),k=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:m,plusSign:h,decimal:v,group:$,literals:k,numeral:_,index:N=>String(M.get(N))}}function rl(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function zb(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Rb(e={}){let{locale:t}=it();return c.useMemo(()=>new nl(t,e),[t,e])}let Fu=new Map;function ol(e){let{locale:t}=it(),n=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Fu.has(n))return Fu.get(n);let r=new Intl.Collator(t,e);return Fu.set(n,r),r}function _8(e){let t=ol({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 Fe=typeof document<"u"&&window.visualViewport;function x8(e){let{direction:t}=it(),{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:g=!0,isOpen:m=!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=[g,i,o.current,r.current,a.current,l,s,u,d,f,m,t,b,v,n],S=c.useRef(Fe==null?void 0:Fe.scale);c.useEffect(()=>{m&&(S.current=Fe==null?void 0:Fe.scale)},[m]);let k=c.useCallback(()=>{if(g===!1||!m||!o.current||!r.current||!u||(Fe==null?void 0:Fe.scale)!==S.current)return;let C=null;if(a.current&&a.current.contains(document.activeElement)){let T=document.activeElement.getBoundingClientRect(),U=a.current.getBoundingClientRect();C={type:"top",offset:T.top-U.top},C.offset>U.height/2&&(C.type="bottom",C.offset=T.bottom-U.bottom)}let N=o.current;if(!b&&o.current){var E;N.style.top="0px",N.style.bottom="";var V;N.style.maxHeight=((V=(E=window.visualViewport)===null||E===void 0?void 0:E.height)!==null&&V!==void 0?V:window.innerHeight)+"px"}let O=n4({placement:E8(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(O.position).forEach(T=>N.style[T]=O.position[T]+"px"),N.style.maxHeight=O.maxHeight!=null?O.maxHeight+"px":void 0,C){let T=document.activeElement.getBoundingClientRect(),U=a.current.getBoundingClientRect(),I=T[C.type]-U[C.type];a.current.scrollTop+=I-C.offset}y(O)},x);ke(k,x),w8(k),Og({ref:o,onResize:k}),Og({ref:r,onResize:k});let P=c.useRef(!1);ke(()=>{let C,N=()=>{P.current=!0,clearTimeout(C),C=setTimeout(()=>{P.current=!1},500),k()},E=()=>{P.current&&N()};return Fe==null||Fe.addEventListener("resize",N),Fe==null||Fe.addEventListener("scroll",E),()=>{Fe==null||Fe.removeEventListener("resize",N),Fe==null||Fe.removeEventListener("scroll",E)}},[k]);let M=c.useCallback(()=>{P.current||h()},[h,P]);o4({triggerRef:r,isOpen:m,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:k}}function w8(e){ke(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function E8(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const un=[];function Kb(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;c.useEffect(()=>(o&&un.push(t),()=>{let h=un.indexOf(t);h>=0&&un.splice(h,1)}),[o,t]);let s=()=>{un[un.length-1]===t&&n&&n()},u=h=>{(!l||l(h.target))&&un[un.length-1]===t&&(h.stopPropagation(),h.preventDefault())},d=h=>{(!l||l(h.target))&&(un[un.length-1]===t&&(h.stopPropagation(),h.preventDefault()),s())},f=h=>{h.key==="Escape"&&!i&&!h.nativeEvent.isComposing&&(h.stopPropagation(),h.preventDefault(),s())};xk({ref:t,onInteractOutside:a&&o?d:null,onInteractOutsideStart:u});let{focusWithinProps:g}=Vo({isDisabled:!r,onBlurWithin:h=>{!h.relatedTarget||aC(h.relatedTarget)||(!l||l(h.relatedTarget))&&n()}}),m=h=>{h.target===h.currentTarget&&h.preventDefault()};return{overlayProps:{onKeyDown:f,...g},underlayProps:{onPointerDown:m}}}function al(e,t,n){let{type:r}=e,{isOpen:o}=t;c.useEffect(()=>{n&&n.current&&Lh.set(n.current,t.close)});let a;r==="menu"?a=!0:r==="listbox"&&(a="listbox");let i=dt();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Lu=typeof document<"u"&&window.visualViewport,S8=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let il=0,Nu;function D8(e={}){let{isDisabled:t}=e;ke(()=>{if(!t)return il++,il===1&&(Fo()?Nu=T8():Nu=P8()),()=>{il--,il===0&&Nu()}},[t])}function P8(){return Jt(jr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),jr(document.documentElement,"overflow","hidden"))}function T8(){let e,t,n=u=>{e=Ac(u.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=jr(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;Bb(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;Bb(d)&&(l(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Lu&&(Lu.height<window.innerHeight?requestAnimationFrame(()=>{Vb(d)}):Lu.addEventListener("resize",()=>Vb(d),{once:!0}))}))},i=null,l=()=>{if(i)return;let u=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;i=Jt(ea(window,"scroll",u),jr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),jr(document.documentElement,"overflow","hidden"),jr(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},s=Jt(ea(document,"touchstart",n,{passive:!1,capture:!0}),ea(document,"touchmove",r,{passive:!1,capture:!0}),ea(document,"touchend",o,{passive:!1,capture:!0}),ea(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function jr(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function ea(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Vb(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=Ac(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 Bb(e){return e instanceof HTMLInputElement&&!S8.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var jb={};jb={dismiss:"تجاهل"};var Ub={};Ub={dismiss:"Отхвърляне"};var Wb={};Wb={dismiss:"Odstranit"};var Hb={};Hb={dismiss:"Luk"};var Gb={};Gb={dismiss:"Schließen"};var Yb={};Yb={dismiss:"Απόρριψη"};var qb={};qb={dismiss:"Dismiss"};var Xb={};Xb={dismiss:"Descartar"};var Zb={};Zb={dismiss:"Lõpeta"};var Jb={};Jb={dismiss:"Hylkää"};var Qb={};Qb={dismiss:"Rejeter"};var e0={};e0={dismiss:"התעלם"};var t0={};t0={dismiss:"Odbaci"};var n0={};n0={dismiss:"Elutasítás"};var r0={};r0={dismiss:"Ignora"};var o0={};o0={dismiss:"閉じる"};var a0={};a0={dismiss:"무시"};var i0={};i0={dismiss:"Atmesti"};var l0={};l0={dismiss:"Nerādīt"};var s0={};s0={dismiss:"Lukk"};var c0={};c0={dismiss:"Negeren"};var u0={};u0={dismiss:"Zignoruj"};var d0={};d0={dismiss:"Descartar"};var f0={};f0={dismiss:"Dispensar"};var p0={};p0={dismiss:"Revocare"};var m0={};m0={dismiss:"Пропустить"};var g0={};g0={dismiss:"Zrušiť"};var h0={};h0={dismiss:"Opusti"};var b0={};b0={dismiss:"Odbaci"};var v0={};v0={dismiss:"Avvisa"};var y0={};y0={dismiss:"Kapat"};var $0={};$0={dismiss:"Скасувати"};var _0={};_0={dismiss:"取消"};var x0={};x0={dismiss:"關閉"};var w0={};w0={"ar-AE":jb,"bg-BG":Ub,"cs-CZ":Wb,"da-DK":Hb,"de-DE":Gb,"el-GR":Yb,"en-US":qb,"es-ES":Xb,"et-EE":Zb,"fi-FI":Jb,"fr-FR":Qb,"he-IL":e0,"hr-HR":t0,"hu-HU":n0,"it-IT":r0,"ja-JP":o0,"ko-KR":a0,"lt-LT":i0,"lv-LV":l0,"nb-NO":s0,"nl-NL":c0,"pl-PL":u0,"pt-BR":d0,"pt-PT":f0,"ro-RO":p0,"ru-RU":m0,"sk-SK":g0,"sl-SI":h0,"sr-SP":b0,"sv-SE":v0,"tr-TR":y0,"uk-UA":$0,"zh-CN":_0,"zh-TW":x0};function k8(e){return e&&e.__esModule?e.default:e}function E0(e){let{onDismiss:t,...n}=e,r=Dt(k8(w0),"@react-aria/overlays"),o=Tr(n,r.format("dismiss")),a=()=>{t&&t()};return D.default.createElement(Ci,null,D.default.createElement("button",{...o,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let ta=new WeakMap,mt=[];function S0(e,t=document.body){let n=new Set(e),r=new Set,o=s=>{for(let g of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(g);let u=g=>{if(n.has(g)||r.has(g.parentElement)&&g.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of n)if(g.contains(m))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 g=d.nextNode();for(;g!=null;)a(g),g=d.nextNode()}},a=s=>{var u;let d=(u=ta.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),ta.set(s,d+1))};mt.length&&mt[mt.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 mt.push(l),()=>{i.disconnect();for(let s of r){let u=ta.get(s);u===1?(s.removeAttribute("aria-hidden"),ta.delete(s)):ta.set(s,u-1)}l===mt[mt.length-1]?(mt.pop(),mt.length&&mt[mt.length-1].observe()):mt.splice(mt.indexOf(l),1)}}function C8(e,t){let{triggerRef:n,popoverRef:r,isNonModal:o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:u}=Kb({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i},r),{overlayProps:d,arrowProps:f,placement:g}=x8({...l,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:o?t.close:null});return D8({isDisabled:o||!t.isOpen}),ke(()=>{if(t.isOpen&&!o&&r.current)return S0([r.current])},[o,t.isOpen,r]),{popoverProps:ge(s,d),arrowProps:f,underlayProps:u,placement:g}}const A8=c.createContext({});function I8(){var e;return(e=c.useContext(A8))!==null&&e!==void 0?e:{}}const O8=D.default.createContext(null);function M8(e){let t=fi(),{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}=I8();if(!e.portalContainer&&l&&(n=l()),!n)return null;let s=e.children;return e.disableFocusManagement||(s=D.default.createElement(eC,{restoreFocus:!0,contain:o&&!r},s)),s=D.default.createElement(O8.Provider,{value:i},D.default.createElement(fk,null,s)),Ht.default.createPortal(s,n)}function Ur(e){let[t,n]=Vt(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 F8=F.default.div`
1034
+ `;const Fr={top:"top",bottom:"top",left:"left",right:"left"},zi={top:"bottom",bottom:"top",left:"right",right:"left"},ZC={top:"left",left:"top"},iu={top:"height",left:"width"},kh={width:"totalWidth",height:"totalHeight"},Ri={};let ot=typeof document<"u"&&window.visualViewport;function Ch(e){let t=0,n=0,r=0,o=0,a=0,i=0,l={},s=(ot==null?void 0:ot.scale)>1;if(e.tagName==="BODY"){let f=document.documentElement;r=f.clientWidth,o=f.clientHeight;var u;t=(u=ot==null?void 0:ot.width)!==null&&u!==void 0?u:r;var d;n=(d=ot==null?void 0:ot.height)!==null&&d!==void 0?d:o,l.top=f.scrollTop||e.scrollTop,l.left=f.scrollLeft||e.scrollLeft,ot&&(a=ot.offsetTop,i=ot.offsetLeft)}else({width:t,height:n,top:a,left:i}=Lr(e)),l.top=e.scrollTop,l.left=e.scrollLeft,r=t,o=n;return Pc()&&(e.tagName==="BODY"||e.tagName==="HTML")&&s&&(l.top=0,l.left=0,a=ot.pageTop,i=ot.pageLeft),{width:t,height:n,totalWidth:r,totalHeight:o,scroll:l,top:a,left:i}}function JC(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Ah(e,t,n,r,o,a,i){let l=o.scroll[e],s=r[iu[e]],u=r.scroll[Fr[e]]+a,d=s+r.scroll[Fr[e]]-a,f=t-l+i[e]-r[Fr[e]],g=t-l+n+i[e]-r[Fr[e]];return f<u?u-f:g>d?Math.max(d-g,u-f):0}function QC(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 Ih(e){if(Ri[e])return Ri[e];let[t,n]=e.split(" "),r=Fr[t]||"right",o=ZC[r];Fr[n]||(n="center");let a=iu[r],i=iu[o];return Ri[e]={placement:t,crossPlacement:n,axis:r,crossAxis:o,size:a,crossSize:i},Ri[e]}function lu(e,t,n,r,o,a,i,l,s,u){let{placement:d,crossPlacement:f,axis:g,crossAxis:m,size:h,crossSize:b}=r,v={};v[m]=e[m],f==="center"?v[m]+=(e[b]-n[b])/2:f!==m&&(v[m]+=e[b]-n[b]),v[m]+=a;const $=e[m]-n[b]+s+u,y=e[m]+e[b]-s-u;if(v[m]=bi(v[m],$,y),d===g){const x=l?i[h]:t[kh[h]];v[zi[g]]=Math.floor(x-e[g]+o)}else v[g]=Math.floor(e[g]+e[h]+o);return v}function e4(e,t,n,r,o,a,i,l){const s=r?n.height:t[kh.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 Oh(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[zi[l]]-o):Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-n[l]-n[s]-r[l]-r[zi[l]]-o)}function t4(e,t,n,r,o,a,i,l,s,u,d,f,g,m,h,b){let v=Ih(e),{size:$,crossAxis:y,crossSize:x,placement:S,crossPlacement:k}=v,P=lu(t,l,n,v,d,f,u,g,h,b),M=d,_=Oh(l,u,t,o,a+d,v);if(i&&r[$]>_){let Y=Ih(`${zi[S]} ${k}`),z=lu(t,l,n,Y,d,f,u,g,h,b);Oh(l,u,t,o,a+d,Y)>_&&(v=Y,P=z,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=Ah(y,P[y],n[x],l,s,a,u);P[y]+=N;let E=e4(P,l,u,g,o,a,n.height,C);m&&m<E&&(E=m),n.height=Math.min(n.height,E),P=lu(t,l,n,v,M,f,u,g,h,b),N=Ah(y,P[y],n[x],l,s,a,u),P[y]+=N;let V={},O=t[y]+.5*t[x]-P[y];const T=h/2+b,U=n[x]-h/2-b,I=t[y]-P[y]+h/2,X=t[y]+t[x]-P[y]-h/2,j=bi(O,I,X);return V[y]=bi(j,T,U),{position:P,maxHeight:E,arrowOffsetLeft:V.left,arrowOffsetTop:V.top,placement:v.placement}}function n4(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:g=0}=e,m=r instanceof HTMLElement?r4(r):document.documentElement,h=m===document.documentElement;const b=window.getComputedStyle(m).position;let v=!!b&&b!=="static",$=h?Lr(n):Mh(n,m);if(!h){let{marginTop:_,marginLeft:C}=window.getComputedStyle(n);$.top+=parseInt(_,10)||0,$.left+=parseInt(C,10)||0}let y=Lr(r),x=QC(r);y.width+=x.left+x.right,y.height+=x.top+x.bottom;let S=JC(o),k=Ch(l),P=Ch(m),M=l.tagName==="BODY"?Lr(m):Mh(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(P.scroll.top=0,P.scroll.left=0),t4(t,$,y,S,x,a,i,k,P,M,s,u,v,d,f,g)}function Lr(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 Mh(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=Lr(e);let o=Lr(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 r4(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Fh(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Fh(t);)t=t.parentElement;return t||document.documentElement}function Fh(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 Lh=new WeakMap;function o4(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||Lh.get(t.current);l&&l()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[n,r,t])}const a4=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i4=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function l4(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 a4.has(n.script)}let t=e.split("-")[0];return i4.has(t)}const s4=Symbol.for("react-aria.i18n.locale");function Nh(){let e=typeof window<"u"&&window[s4]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:l4(e)?"rtl":"ltr"}}let su=Nh(),Wo=new Set;function zh(){su=Nh();for(let e of Wo)e(su)}function c4(){let e=fi(),[t,n]=c.useState(su);return c.useEffect(()=>(Wo.size===0&&window.addEventListener("languagechange",zh),Wo.add(n),()=>{Wo.delete(n),Wo.size===0&&window.removeEventListener("languagechange",zh)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const u4=D.default.createContext(null);function st(){let e=c4();return c.useContext(u4)||e}const d4=Symbol.for("react-aria.i18n.locale"),f4=Symbol.for("react-aria.i18n.strings");let Nr;class Ki{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=p4(t,this.strings,this.defaultLocale),this.strings[t]=n),n}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let n=window[d4];if(Nr===void 0){let o=window[f4];if(!o)return null;Nr={};for(let a in o)Nr[a]=new Ki({[n]:o[a]},n)}let r=Nr==null?void 0:Nr[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 p4(e,t,n="en-US"){if(t[e])return t[e];let r=m4(e);if(t[r])return t[r];for(let o in t)if(o.startsWith(r+"-"))return t[o];return t[n]}function m4(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Rh=new Map,Kh=new Map;class g4{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=Rh.get(a);i||(i=new Intl.PluralRules(this.locale,{type:r}),Rh.set(a,i));let l=i.select(t);return o=n[l]||n.other,typeof o=="function"?o():o}number(t){let n=Kh.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),Kh.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 Vh=new WeakMap;function h4(e){let t=Vh.get(e);return t||(t=new Ki(e),Vh.set(e,t)),t}function b4(e,t){return t&&Ki.getGlobalDictionaryForPackage(t)||h4(e)}function Tt(e,t){let{locale:n}=st(),r=b4(e,t);return c.useMemo(()=>new g4(n,r),[n,r])}function zr(e,t){return e-t*Math.floor(e/t)}const Bh=1721426;function Qn(e,t,n,r){t=Ho(e,t);let o=t-1,a=-2;return n<=2?a=0:Cn(t)&&(a=-1),Bh-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*n-362)/12+a+r)}function Cn(e){return e%4===0&&(e%100!==0||e%400===0)}function Ho(e,t){return e==="BC"?1-t:t}function Vi(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const v4={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 ct{fromJulianDay(t){let n=t,r=n-Bh,o=Math.floor(r/146097),a=zr(r,146097),i=Math.floor(a/36524),l=zr(a,36524),s=Math.floor(l/1461),u=zr(l,1461),d=Math.floor(u/365),f=o*400+i*100+s*4+d+(i!==4&&d!==4?1:0),[g,m]=Vi(f),h=n-Qn(g,m,1,1),b=2;n<Qn(g,m,3,1)?b=0:Cn(m)&&(b=1);let v=Math.floor(((h+b)*12+373)/367),$=n-Qn(g,m,v,1)+1;return new xe(g,m,v,$)}toJulianDay(t){return Qn(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return v4[Cn(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Cn(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 y4={"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 Fe(e,t){return t=Ve(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function $4(e,t){return t=Ve(t,e.calendar),e=er(e),t=er(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function cu(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 _4(e,t){return Fe(e,Go(t))}function Bi(e,t){let n=e.calendar.toJulianDay(e),r=Math.ceil(n+1-D4(t))%7;return r<0&&(r+=7),r}function x4(e){return un(Date.now(),e)}function Go(e){return kt(x4(e))}function jh(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Uh(e,t){return Wh(e)-Wh(t)}function Wh(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let uu=null;function Hh(){return uu==null&&(uu=new Intl.DateTimeFormat().resolvedOptions().timeZone),uu}function er(e){return e.subtract({days:e.day-1})}function ji(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function w4(e){return er(e.subtract({months:e.month-1}))}function Yo(e,t){let n=Bi(e,t);return e.subtract({days:n})}function E4(e,t){return Yo(e,t).add({days:6})}const Gh=new Map;function S4(e){if(Intl.Locale){let n=Gh.get(e);return n||(n=new Intl.Locale(e).maximize().region,n&&Gh.set(e,n)),n}let t=e.split("-")[1];return t==="u"?void 0:t}function D4(e){let t=S4(e);return t&&y4[t]||0}function P4(e,t){let n=e.calendar.getDaysInMonth(e);return Math.ceil((Bi(er(e),t)+n)/7)}function du(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function fu(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Rr(e){e=Ve(e,new ct);let t=Ho(e.era,e.year);return Yh(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Yh(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 pu(e,t){if(t==="UTC")return 0;if(e>0&&t===Hh())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:o,hour:a,minute:i,second:l}=Xh(e,t);return Yh(n,r,o,a,i,l,0)-Math.floor(e/1e3)*1e3}const qh=new Map;function Xh(e,t){let n=qh.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"}),qh.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 Zh=864e5;function T4(e,t,n,r){return(n===r?[n]:[n,r]).filter(a=>k4(e,t,a))}function k4(e,t,n){let r=Xh(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 cn(e,t,n="compatible"){let r=Kr(e);if(t==="UTC")return Rr(r);if(t===Hh()&&n==="compatible"){r=Ve(r,new ct);let s=new Date,u=Ho(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=Rr(r),a=pu(o-Zh,t),i=pu(o+Zh,t),l=T4(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 Jh(e,t,n="compatible"){return new Date(cn(e,t,n))}function un(e,t){let n=pu(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 Zo(o,a,i,t,n,l,s,u,d)}function kt(e){return new xe(e.calendar,e.era,e.year,e.month,e.day)}function Kr(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 Hi(e.calendar,e.era,e.year,e.month,e.day,n,r,o,a)}function Ve(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,tr(r),r}function C4(e,t,n){if(e instanceof Zo)return e.timeZone===t?e:I4(e,t);let r=cn(e,t,n);return un(r,t)}function A4(e){let t=Rr(e)-e.offset;return new Date(t)}function I4(e,t){let n=Rr(e)-e.offset;return Ve(un(n,t),e.calendar)}const qo=36e5;function Ui(e,t){let n=e.copy(),r="hour"in n?nb(n,t):0;mu(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,gu(n),Qh(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,O4(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 mu(e,t){var n,r;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function gu(e){for(;e.month<1;)mu(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,mu(e,1)}function O4(e){for(;e.day<1;)e.month--,gu(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,gu(e)}function Qh(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 tr(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Qh(e)}function hu(e){let t={};for(let n in e)typeof e[n]=="number"&&(t[n]=-e[n]);return t}function eb(e,t){return Ui(e,hu(t))}function bu(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),tr(n),n}function Xo(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),tb(n),n}function M4(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Wi(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Wi(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Wi(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Wi(e.hour,24),t}function tb(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 Wi(e,t){let n=e%t;return n<0&&(n+=t),n}function nb(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,M4(e)}function rb(e,t){let n=e.copy();return nb(n,t),n}function F4(e,t){return rb(e,hu(t))}function vu(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=dn(s,n,0,l.length-1,r==null?void 0:r.round),o.era=l[s],tr(o);break}case"year":var a,i;!((a=(i=o.calendar).isInverseEra)===null||a===void 0)&&a.call(i,o)&&(n=-n),o.year=dn(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=dn(e.month,n,1,e.calendar.getMonthsInYear(e),r==null?void 0:r.round);break;case"day":o.day=dn(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),tr(o),o}function yu(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=dn(a,n,i,l,r==null?void 0:r.round);break}case"minute":o.minute=dn(e.minute,n,0,59,r==null?void 0:r.round);break;case"second":o.second=dn(e.second,n,0,59,r==null?void 0:r.round);break;case"millisecond":o.millisecond=dn(e.millisecond,n,0,999,r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return o}function dn(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 ob(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=Ui(Kr(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=cn(o,e.timeZone)}else n=Rr(e)-e.offset;n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5;let r=un(n,e.timeZone);return Ve(r,e.calendar)}function L4(e,t){return ob(e,hu(t))}function N4(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=Kr(e),l=Ve(Xo(i,{hour:o}),new ct),s=[cn(l,e.timeZone,"earlier"),cn(l,e.timeZone,"later")].filter(h=>un(h,e.timeZone).day===l.day)[0],u=Ve(Xo(i,{hour:a}),new ct),d=[cn(u,e.timeZone,"earlier"),cn(u,e.timeZone,"later")].filter(h=>un(h,e.timeZone).day===u.day).pop(),f=Rr(e)-e.offset,g=Math.floor(f/qo),m=f%qo;return f=dn(g,n,Math.floor(s/qo),Math.floor(d/qo),r==null?void 0:r.round)*qo+m,Ve(un(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return yu(e,t,n,r);case"era":case"year":case"month":case"day":{let o=vu(Kr(e),t,n,r),a=cn(o,e.timeZone);return Ve(un(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function z4(e,t,n){let r=Kr(e),o=Xo(bu(r,t),t);if(o.compare(r)===0)return e;let a=cn(o,e.timeZone,n);return Ve(un(a,e.timeZone),e.calendar)}function ab(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 ib(e){let t=Ve(e,new ct);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function lb(e){return`${ib(e)}T${ab(e)}`}function R4(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 K4(e){return`${lb(e)}${R4(e.offset)}[${e.timeZone}]`}function $u(e){let t=typeof e[0]=="object"?e.shift():new ct,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 V4=new WeakMap;class xe{copy(){return this.era?new xe(this.calendar,this.era,this.year,this.month,this.day):new xe(this.calendar,this.year,this.month,this.day)}add(t){return Ui(this,t)}subtract(t){return eb(this,t)}set(t){return bu(this,t)}cycle(t,n,r){return vu(this,t,n,r)}toDate(t){return Jh(this,t)}toString(){return ib(this)}compare(t){return jh(this,t)}constructor(...t){zo(this,V4,{writable:!0,value:void 0});let[n,r,o,a,i]=$u(t);this.calendar=n,this.era=r,this.year=o,this.month=a,this.day=i,tr(this)}}var B4=new WeakMap;class Ct{copy(){return new Ct(this.hour,this.minute,this.second,this.millisecond)}add(t){return rb(this,t)}subtract(t){return F4(this,t)}set(t){return Xo(this,t)}cycle(t,n,r){return yu(this,t,n,r)}toString(){return ab(this)}compare(t){return Uh(this,t)}constructor(t=0,n=0,r=0,o=0){zo(this,B4,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=r,this.millisecond=o,tb(this)}}var j4=new WeakMap;class Hi{copy(){return this.era?new Hi(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Hi(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ui(this,t)}subtract(t){return eb(this,t)}set(t){return bu(Xo(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return vu(this,t,n,r);default:return yu(this,t,n,r)}}toDate(t,n){return Jh(this,t,n)}toString(){return lb(this)}compare(t){let n=jh(this,t);return n===0?Uh(this,Kr(t)):n}constructor(...t){zo(this,j4,{writable:!0,value:void 0});let[n,r,o,a,i]=$u(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,tr(this)}}var U4=new WeakMap;class Zo{copy(){return this.era?new Zo(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Zo(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return ob(this,t)}subtract(t){return L4(this,t)}set(t,n){return z4(this,t,n)}cycle(t,n,r){return N4(this,t,n,r)}toDate(){return A4(this)}toString(){return K4(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-C4(t,this.timeZone).toDate().getTime()}constructor(...t){zo(this,U4,{writable:!0,value:void 0});let[n,r,o,a,i]=$u(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,tr(this)}}const Vr=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],W4=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Gi=[1867,1911,1925,1988,2018],An=["meiji","taisho","showa","heisei","reiwa"];function sb(e){const t=Vr.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?Vr.length-1:t===0?0:t-1}function _u(e){let t=Gi[An.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new xe(e.year+t,e.month,e.day)}class H4 extends ct{fromJulianDay(t){let n=super.fromJulianDay(t),r=sb(n);return new xe(this,An[r],n.year-Gi[r],n.month,n.day)}toJulianDay(t){return super.toJulianDay(_u(t))}balanceDate(t){let n=_u(t),r=sb(n);An[r]!==t.era&&(t.era=An[r],t.year=n.year-Gi[r]),this.constrainDate(t)}constrainDate(t){let n=An.indexOf(t.era),r=W4[n];if(r!=null){let[o,a,i]=r,l=o-Gi[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]=Vr[n];t.month=Math.max(o,t.month),t.month===o&&(t.day=Math.max(a,t.day))}}getEras(){return An}getYearsInEra(t){let n=An.indexOf(t.era),r=Vr[n],o=Vr[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(_u(t))}getMinimumMonthInYear(t){let n=cb(t);return n?n[1]:1}getMinimumDayInMonth(t){let n=cb(t);return n&&t.month===n[1]?n[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function cb(e){if(e.year===1){let t=An.indexOf(e.era);return Vr[t]}}const ub=-543;class G4 extends ct{fromJulianDay(t){let n=super.fromJulianDay(t),r=Ho(n.era,n.year);return new xe(this,r-ub,n.month,n.day)}toJulianDay(t){return super.toJulianDay(db(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(db(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function db(e){let[t,n]=Vi(e.year+ub);return new xe(t,n,e.month,e.day)}const Yi=1911;function fb(e){return e.era==="minguo"?e.year+Yi:1-e.year+Yi}function pb(e){let t=e-Yi;return t>0?["minguo",t]:["before_minguo",1-t]}class Y4 extends ct{fromJulianDay(t){let n=super.fromJulianDay(t),r=Ho(n.era,n.year),[o,a]=pb(r);return new xe(this,o,a,n.month,n.day)}toJulianDay(t){return super.toJulianDay(mb(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[n,r]=pb(fb(t));t.era=n,t.year=r}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(mb(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Yi}constructor(...t){super(...t),this.identifier="roc"}}function mb(e){let[t,n]=Vi(fb(e));return new xe(t,n,e.month,e.day)}const gb=1948320,hb=[0,31,62,93,124,155,186,216,246,276,306,336];class q4{fromJulianDay(t){let n=t-gb,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-hb[i]+1;return new xe(this,r,i+1,l)}toJulianDay(t){let n=gb-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return n+=hb[t.month-1],n+=t.day,n}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||zr(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const xu=78,bb=80;class X4 extends ct{fromJulianDay(t){let n=super.fromJulianDay(t),r=n.year-xu,o=t-Qn(n.era,n.year,1,1),a;o<bb?(r--,a=Cn(n.year-1)?31:30,o+=a+155+90+10):(a=Cn(n.year)?31:30,o-=bb);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 xe(this,r,i,l)}toJulianDay(t){let n=t.year+xu,[r,o]=Vi(n),a,i;return Cn(o)?(a=31,i=Qn(r,o,3,21)):(a=30,i=Qn(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&&Cn(t.year+xu)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const qi=1948440,vb=1948439,ht=1300,Br=1600,Z4=460322;function Xi(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function yb(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),o=Math.min(12,Math.ceil((n-(29+Xi(t,r,1,1)))/29.5)+1),a=n-Xi(t,r,o,1)+1;return new xe(e,r,o,a)}function $b(e){return(14+11*e)%30<11}class wu{fromJulianDay(t){return yb(this,qi,t)}toJulianDay(t){return Xi(qi,t.year,t.month,t.day)}getDaysInMonth(t){let n=29+t.month%2;return t.month===12&&$b(t.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(t){return $b(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class J4 extends wu{fromJulianDay(t){return yb(this,vb,t)}toJulianDay(t){return Xi(vb,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Q4="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let Eu,jr;function Zi(e){return Z4+jr[e-ht]}function Jo(e,t){let n=e-ht,r=1<<11-(t-1);return Eu[n]&r?30:29}function _b(e,t){let n=Zi(e);for(let r=1;r<t;r++)n+=Jo(e,r);return n}function xb(e){return jr[e+1-ht]-jr[e-ht]}class e8 extends wu{fromJulianDay(t){let n=t-qi,r=Zi(ht),o=Zi(Br);if(n<r||n>o)return super.fromJulianDay(t);{let a=ht-1,i=1,l=1;for(;l>0;){a++,l=n-Zi(a)+1;let s=xb(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 xe(this,a,i,n-_b(a,i)+1)}}toJulianDay(t){return t.year<ht||t.year>Br?super.toJulianDay(t):qi+_b(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<ht||t.year>Br?super.getDaysInMonth(t):Jo(t.year,t.month)}getDaysInYear(t){return t.year<ht||t.year>Br?super.getDaysInYear(t):xb(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",Eu||(Eu=new Uint16Array(Uint8Array.from(atob(Q4),t=>t.charCodeAt(0)).buffer)),!jr){jr=new Uint32Array(Br-ht+1);let t=0;for(let n=ht;n<=Br;n++){jr[n-ht]=t;for(let r=1;r<=12;r++)t+=Jo(n,r)}}}}const wb=347997,Eb=1080,Sb=24*Eb,t8=29,n8=12*Eb+793,r8=t8*Sb+n8;function nr(e){return zr(e*7+1,19)<7}function Ji(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return zr(3*(r+1),7)<3&&(r+=1),r}function o8(e){let t=Ji(e-1),n=Ji(e);return Ji(e+1)-n===356?2:n-t===382?1:0}function Qo(e){return Ji(e)+o8(e)}function Db(e){return Qo(e+1)-Qo(e)}function a8(e){let t=Db(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&&!nr(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let n=a8(e);return t===2?n===2?30:29:t===3?n===0?29:30:t===6?nr(e)?30:0:30}class i8{fromJulianDay(t){let n=t-wb,r=n*Sb/r8,o=Math.floor((19*r+234)/235)+1,a=Qo(o),i=Math.floor(n-a);for(;i<1;)o--,a=Qo(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 xe(this,o,l,u)}toJulianDay(t){let n=Qo(t.year);for(let r=1;r<t.month;r++)n+=Qi(t.year,r);return n+t.day+wb}getDaysInMonth(t){return Qi(t.year,t.month)}getMonthsInYear(t){return nr(t.year)?13:12}getDaysInYear(t){return Db(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,n){n.year!==t.year&&(nr(n.year)&&!nr(t.year)&&n.month>6?t.month--:!nr(n.year)&&nr(t.year)&&n.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const Su=1723856,Pb=1824665,Du=5500;function el(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function Pu(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-el(e,n,1,1))/30),o=t+1-el(e,n,r,1);return[n,r,o]}function Tb(e){return Math.floor(e%4/3)}function kb(e,t){return t%13!==0?30:Tb(e)+5}class Tu{fromJulianDay(t){let[n,r,o]=Pu(Su,t),a="AM";return n<=0&&(a="AA",n+=Du),new xe(this,a,n,r,o)}toJulianDay(t){let n=t.year;return t.era==="AA"&&(n-=Du),el(Su,n,t.month,t.day)}getDaysInMonth(t){return kb(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Tb(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class l8 extends Tu{fromJulianDay(t){let[n,r,o]=Pu(Su,t);return n+=Du,new xe(this,"AA",n,r,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class s8 extends Tu{fromJulianDay(t){let[n,r,o]=Pu(Pb,t),a="CE";return n<=0&&(a="BCE",n=1-n),new xe(this,a,n,r,o)}toJulianDay(t){let n=t.year;return t.era==="BCE"&&(n=1-n),el(Pb,n,t.month,t.day)}getDaysInMonth(t){let n=t.year;return t.era==="BCE"&&(n=1-n),kb(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 Cb(e){switch(e){case"buddhist":return new G4;case"ethiopic":return new Tu;case"ethioaa":return new l8;case"coptic":return new s8;case"hebrew":return new i8;case"indian":return new X4;case"islamic-civil":return new wu;case"islamic-tbla":return new J4;case"islamic-umalqura":return new e8;case"japanese":return new H4;case"persian":return new q4;case"roc":return new Y4;case"gregory":default:return new ct}}let ku=new Map;class Ab{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 d8()&&(this.resolvedHourCycle||(this.resolvedHourCycle=f8(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=Ib(t,n),this.options=n}}const c8={true:{ja:"h11"},false:{}};function Ib(e,t={}){if(typeof t.hour12=="boolean"&&u8()){t={...t};let o=c8[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(ku.has(n))return ku.get(n);let r=new Intl.DateTimeFormat(e,t);return ku.set(n,r),r}let Cu=null;function u8(){return Cu==null&&(Cu=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Cu}let Au=null;function d8(){return Au==null&&(Au=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Au}function f8(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=Ib(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 rr(e){e=Ng(e??{},p8);let{locale:t}=st();return c.useMemo(()=>new Ab(t,e),[t,e])}function p8(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 Iu=new Map,Ou=!1;try{Ou=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let tl=!1;try{tl=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Ob={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class nl{format(t){let n="";if(!Ou&&this.options.signDisplay!=null?n=g8(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!tl){var r;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!o)return n;let l=(r=Ob[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!Ou&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!tl&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=m8(t,n),this.options=n}}function m8(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!tl){var r;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=Ob[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(Iu.has(o))return Iu.get(o);let a=new Intl.NumberFormat(e,t);return Iu.set(o,a),a}function g8(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 h8=new RegExp("^.*\\(.*\\).*$"),b8=["latn","arab","hanidec"];class Mb{parse(t){return Mu(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return Mu(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return Mu(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const Fb=new Map;function Mu(e,t,n){let r=Lb(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let o of b8)if(o!==r.options.numberingSystem){let a=Lb(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(n))return a}}return r}function Lb(e,t){let n=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),r=Fb.get(n);return r||(r=new v8(e,t),Fb.set(n,r)),r}class v8{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=rl(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 Mb(this.locale,i).parse(new nl(this.locale,i).format(r))}return this.options.currencySign==="accounting"&&h8.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=rl(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=rl(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=rl(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=$8(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 Nb=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),y8=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function $8(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=y8.map(N=>s.formatToParts(N));var g;let m=(g=(o=u.find(N=>N.type==="minusSign"))===null||o===void 0?void 0:o.value)!==null&&g!==void 0?g:"-",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=>!Nb.has(N.type)).map(N=>zb(N.value)),x=f.flatMap(N=>N.filter(E=>!Nb.has(E.type)).map(E=>zb(E.value))),S=[...new Set([...y,...x])].sort((N,E)=>E.length-N.length),k=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:m,plusSign:h,decimal:v,group:$,literals:k,numeral:_,index:N=>String(M.get(N))}}function rl(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function zb(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Rb(e={}){let{locale:t}=st();return c.useMemo(()=>new nl(t,e),[t,e])}let Fu=new Map;function ol(e){let{locale:t}=st(),n=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Fu.has(n))return Fu.get(n);let r=new Intl.Collator(t,e);return Fu.set(n,r),r}function _8(e){let t=ol({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 Le=typeof document<"u"&&window.visualViewport;function x8(e){let{direction:t}=st(),{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:g=!0,isOpen:m=!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=[g,i,o.current,r.current,a.current,l,s,u,d,f,m,t,b,v,n],S=c.useRef(Le==null?void 0:Le.scale);c.useEffect(()=>{m&&(S.current=Le==null?void 0:Le.scale)},[m]);let k=c.useCallback(()=>{if(g===!1||!m||!o.current||!r.current||!u||(Le==null?void 0:Le.scale)!==S.current)return;let C=null;if(a.current&&a.current.contains(document.activeElement)){let T=document.activeElement.getBoundingClientRect(),U=a.current.getBoundingClientRect();C={type:"top",offset:T.top-U.top},C.offset>U.height/2&&(C.type="bottom",C.offset=T.bottom-U.bottom)}let N=o.current;if(!b&&o.current){var E;N.style.top="0px",N.style.bottom="";var V;N.style.maxHeight=((V=(E=window.visualViewport)===null||E===void 0?void 0:E.height)!==null&&V!==void 0?V:window.innerHeight)+"px"}let O=n4({placement:E8(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(O.position).forEach(T=>N.style[T]=O.position[T]+"px"),N.style.maxHeight=O.maxHeight!=null?O.maxHeight+"px":void 0,C){let T=document.activeElement.getBoundingClientRect(),U=a.current.getBoundingClientRect(),I=T[C.type]-U[C.type];a.current.scrollTop+=I-C.offset}y(O)},x);Ae(k,x),w8(k),Og({ref:o,onResize:k}),Og({ref:r,onResize:k});let P=c.useRef(!1);Ae(()=>{let C,N=()=>{P.current=!0,clearTimeout(C),C=setTimeout(()=>{P.current=!1},500),k()},E=()=>{P.current&&N()};return Le==null||Le.addEventListener("resize",N),Le==null||Le.addEventListener("scroll",E),()=>{Le==null||Le.removeEventListener("resize",N),Le==null||Le.removeEventListener("scroll",E)}},[k]);let M=c.useCallback(()=>{P.current||h()},[h,P]);o4({triggerRef:r,isOpen:m,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:k}}function w8(e){Ae(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function E8(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const fn=[];function Kb(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;c.useEffect(()=>(o&&fn.push(t),()=>{let h=fn.indexOf(t);h>=0&&fn.splice(h,1)}),[o,t]);let s=()=>{fn[fn.length-1]===t&&n&&n()},u=h=>{(!l||l(h.target))&&fn[fn.length-1]===t&&(h.stopPropagation(),h.preventDefault())},d=h=>{(!l||l(h.target))&&(fn[fn.length-1]===t&&(h.stopPropagation(),h.preventDefault()),s())},f=h=>{h.key==="Escape"&&!i&&!h.nativeEvent.isComposing&&(h.stopPropagation(),h.preventDefault(),s())};xk({ref:t,onInteractOutside:a&&o?d:null,onInteractOutsideStart:u});let{focusWithinProps:g}=Vo({isDisabled:!r,onBlurWithin:h=>{!h.relatedTarget||aC(h.relatedTarget)||(!l||l(h.relatedTarget))&&n()}}),m=h=>{h.target===h.currentTarget&&h.preventDefault()};return{overlayProps:{onKeyDown:f,...g},underlayProps:{onPointerDown:m}}}function al(e,t,n){let{type:r}=e,{isOpen:o}=t;c.useEffect(()=>{n&&n.current&&Lh.set(n.current,t.close)});let a;r==="menu"?a=!0:r==="listbox"&&(a="listbox");let i=mt();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Lu=typeof document<"u"&&window.visualViewport,S8=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let il=0,Nu;function D8(e={}){let{isDisabled:t}=e;Ae(()=>{if(!t)return il++,il===1&&(Fo()?Nu=T8():Nu=P8()),()=>{il--,il===0&&Nu()}},[t])}function P8(){return en(Ur(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Ur(document.documentElement,"overflow","hidden"))}function T8(){let e,t,n=u=>{e=Ac(u.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=Ur(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;Bb(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;Bb(d)&&(l(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Lu&&(Lu.height<window.innerHeight?requestAnimationFrame(()=>{Vb(d)}):Lu.addEventListener("resize",()=>Vb(d),{once:!0}))}))},i=null,l=()=>{if(i)return;let u=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;i=en(ea(window,"scroll",u),Ur(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Ur(document.documentElement,"overflow","hidden"),Ur(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},s=en(ea(document,"touchstart",n,{passive:!1,capture:!0}),ea(document,"touchmove",r,{passive:!1,capture:!0}),ea(document,"touchend",o,{passive:!1,capture:!0}),ea(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function Ur(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function ea(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Vb(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=Ac(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 Bb(e){return e instanceof HTMLInputElement&&!S8.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var jb={};jb={dismiss:"تجاهل"};var Ub={};Ub={dismiss:"Отхвърляне"};var Wb={};Wb={dismiss:"Odstranit"};var Hb={};Hb={dismiss:"Luk"};var Gb={};Gb={dismiss:"Schließen"};var Yb={};Yb={dismiss:"Απόρριψη"};var qb={};qb={dismiss:"Dismiss"};var Xb={};Xb={dismiss:"Descartar"};var Zb={};Zb={dismiss:"Lõpeta"};var Jb={};Jb={dismiss:"Hylkää"};var Qb={};Qb={dismiss:"Rejeter"};var e0={};e0={dismiss:"התעלם"};var t0={};t0={dismiss:"Odbaci"};var n0={};n0={dismiss:"Elutasítás"};var r0={};r0={dismiss:"Ignora"};var o0={};o0={dismiss:"閉じる"};var a0={};a0={dismiss:"무시"};var i0={};i0={dismiss:"Atmesti"};var l0={};l0={dismiss:"Nerādīt"};var s0={};s0={dismiss:"Lukk"};var c0={};c0={dismiss:"Negeren"};var u0={};u0={dismiss:"Zignoruj"};var d0={};d0={dismiss:"Descartar"};var f0={};f0={dismiss:"Dispensar"};var p0={};p0={dismiss:"Revocare"};var m0={};m0={dismiss:"Пропустить"};var g0={};g0={dismiss:"Zrušiť"};var h0={};h0={dismiss:"Opusti"};var b0={};b0={dismiss:"Odbaci"};var v0={};v0={dismiss:"Avvisa"};var y0={};y0={dismiss:"Kapat"};var $0={};$0={dismiss:"Скасувати"};var _0={};_0={dismiss:"取消"};var x0={};x0={dismiss:"關閉"};var w0={};w0={"ar-AE":jb,"bg-BG":Ub,"cs-CZ":Wb,"da-DK":Hb,"de-DE":Gb,"el-GR":Yb,"en-US":qb,"es-ES":Xb,"et-EE":Zb,"fi-FI":Jb,"fr-FR":Qb,"he-IL":e0,"hr-HR":t0,"hu-HU":n0,"it-IT":r0,"ja-JP":o0,"ko-KR":a0,"lt-LT":i0,"lv-LV":l0,"nb-NO":s0,"nl-NL":c0,"pl-PL":u0,"pt-BR":d0,"pt-PT":f0,"ro-RO":p0,"ru-RU":m0,"sk-SK":g0,"sl-SI":h0,"sr-SP":b0,"sv-SE":v0,"tr-TR":y0,"uk-UA":$0,"zh-CN":_0,"zh-TW":x0};function k8(e){return e&&e.__esModule?e.default:e}function E0(e){let{onDismiss:t,...n}=e,r=Tt(k8(w0),"@react-aria/overlays"),o=kr(n,r.format("dismiss")),a=()=>{t&&t()};return D.default.createElement(Ci,null,D.default.createElement("button",{...o,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let ta=new WeakMap,bt=[];function S0(e,t=document.body){let n=new Set(e),r=new Set,o=s=>{for(let g of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(g);let u=g=>{if(n.has(g)||r.has(g.parentElement)&&g.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of n)if(g.contains(m))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 g=d.nextNode();for(;g!=null;)a(g),g=d.nextNode()}},a=s=>{var u;let d=(u=ta.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),ta.set(s,d+1))};bt.length&&bt[bt.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 bt.push(l),()=>{i.disconnect();for(let s of r){let u=ta.get(s);u===1?(s.removeAttribute("aria-hidden"),ta.delete(s)):ta.set(s,u-1)}l===bt[bt.length-1]?(bt.pop(),bt.length&&bt[bt.length-1].observe()):bt.splice(bt.indexOf(l),1)}}function C8(e,t){let{triggerRef:n,popoverRef:r,isNonModal:o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:u}=Kb({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i},r),{overlayProps:d,arrowProps:f,placement:g}=x8({...l,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:o?t.close:null});return D8({isDisabled:o||!t.isOpen}),Ae(()=>{if(t.isOpen&&!o&&r.current)return S0([r.current])},[o,t.isOpen,r]),{popoverProps:ve(s,d),arrowProps:f,underlayProps:u,placement:g}}const A8=c.createContext({});function I8(){var e;return(e=c.useContext(A8))!==null&&e!==void 0?e:{}}const O8=D.default.createContext(null);function M8(e){let t=fi(),{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}=I8();if(!e.portalContainer&&l&&(n=l()),!n)return null;let s=e.children;return e.disableFocusManagement||(s=D.default.createElement(eC,{restoreFocus:!0,contain:o&&!r},s)),s=D.default.createElement(O8.Provider,{value:i},D.default.createElement(fk,null,s)),Yt.default.createPortal(s,n)}function Wr(e){let[t,n]=Ut(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 F8=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 rr(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:g}=C8({...e,triggerRef:o,popoverRef:r,isNonModal:d},a);let m=s??"auto";l&&o.current&&(m=`${o.current.offsetWidth}px`);const h={...g.style,width:m,marginTop:p.spacing_100};return ee(M8,{disableFocusManagement:f,children:[a.isOpen?w(me,{ref:n,role:"none",style:{position:"fixed",inset:"0",zIndex:p.z_index_overlay_high}}):null,ee(F8,{className:u,...g,style:h,ref:r,children:[!d&&w(E0,{onDismiss:()=>a.close()}),i,w(E0,{onDismiss:()=>a.close()})]})]})}const L8=F.default.span`
1041
+ `;function or(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:g}=C8({...e,triggerRef:o,popoverRef:r,isNonModal:d},a);let m=s??"auto";l&&o.current&&(m=`${o.current.offsetWidth}px`);const h={...g.style,width:m,marginTop:p.spacing_100};return ee(M8,{disableFocusManagement:f,children:[a.isOpen?w(me,{ref:n,role:"none",style:{position:"fixed",inset:"0",zIndex:p.z_index_overlay_high}}):null,ee(F8,{className:u,...g,style:h,ref:r,children:[!d&&w(E0,{onDismiss:()=>a.close()}),i,w(E0,{onDismiss:()=>a.close()})]})]})}const L8=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
- `,N8=F.default(we.KeyboardArrowDown)`
1046
+ `,N8=F.default(Se.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(R),null," "));var Y=he(le,se,H,ne,re+"
1071
1071
  width: 1rem;
1072
1072
  height: 1rem;
1073
1073
  }
1074
- `,D0=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=Ur({}),g=c.useRef(null),m=c.useRef(null),{triggerProps:h,overlayProps:b}=al({type:"dialog"},f,g),{buttonProps:v}=Zn({...u,...h,onPress:()=>{f.toggle()}},g);Io(()=>{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(Qe,{children:[w(Tn,{...v,ref:g,type:"button",variant:r,size:"small",onClick:()=>{f.toggle()},children:ee(L8,{children:[e,w(N8,{style:{fontSize:p.sizing_350}})]})}),f.isOpen&&w(rr,{state:f,targetRef:g,popoverRef:m,placement:$(),isNonModal:!i,...b,children:w(z8,{children:t.map(y=>w(R8,{variant:o,size:"small",onClick:()=>{n(y),f.close()},children:ee(K8,{children:[s&&w(s,{}),y]})},y))})})]})});D0.displayName="ButtonMenu";const P0=7e3;let na=null;function Wr(e,t="assertive",n=P0){na||(na=new B8),na.announce(e,t,n)}function V8(e){na&&na.clear(e)}class B8{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=P0){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 ll(e){return e&&e.__esModule?e.default:e}var ra={},T0={};T0={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 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 C0={};C0={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 A0={};A0={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 I0={};I0={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 O0={};O0={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 M0={};M0={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 F0={};F0={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 L0={};L0={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 N0={};N0={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 z0={};z0={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 R0={};R0={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 K0={};K0={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 V0={};V0={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 B0={};B0={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 j0={};j0={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 U0={};U0={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 W0={};W0={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 H0={};H0={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 G0={};G0={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 Y0={};Y0={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 q0={};q0={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 X0={};X0={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 Z0={};Z0={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 J0={};J0={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 Q0={};Q0={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 ev={};ev={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 tv={};tv={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 nv={};nv={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 rv={};rv={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 ov={};ov={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 av={};av={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 iv={};iv={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 lv={};lv={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}`},ra={"ar-AE":T0,"bg-BG":k0,"cs-CZ":C0,"da-DK":A0,"de-DE":I0,"el-GR":O0,"en-US":M0,"es-ES":F0,"et-EE":L0,"fi-FI":N0,"fr-FR":z0,"he-IL":R0,"hr-HR":K0,"hu-HU":V0,"it-IT":B0,"ja-JP":j0,"ko-KR":U0,"lt-LT":W0,"lv-LV":H0,"nb-NO":G0,"nl-NL":Y0,"pl-PL":q0,"pt-BR":X0,"pt-PT":Z0,"ro-RO":J0,"ru-RU":Q0,"sk-SK":ev,"sl-SI":tv,"sr-SP":nv,"sv-SE":rv,"tr-TR":ov,"uk-UA":av,"zh-CN":iv,"zh-TW":lv};const zu=new WeakMap;function oa(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function j8(e){let t=Dt(ll(ra)),n,r;"highlightedRange"in e?{start:n,end:r}=e.highlightedRange||{}:n=r=e.value;let o=nr({weekday:"long",month:"long",year:"numeric",day:"numeric",era:oa(n)||oa(r),timeZone:e.timeZone}),a="anchorDate"in e?e.anchorDate:null;return c.useMemo(()=>{if(!a&&n&&r)if(Me(n,r)){let i=o.format(n.toDate(e.timeZone));return t.format("selectedDateDescription",{date:i})}else{let i=Ku(o,t,n,r,e.timeZone);return t.format("selectedRangeDescription",{dateRange:i})}return""},[n,r,a,e.timeZone,t,o])}function Ru(e,t,n,r){let o=Dt(ll(ra)),a=oa(e)||oa(t),i=nr({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n}),l=nr({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n});return c.useMemo(()=>{if(Me(e,Qn(e))){if(Me(t,ji(e)))return i.format(e.toDate(n));if(Me(t,ji(t)))return r?Ku(i,o,e,t,n):i.formatRange(e.toDate(n),t.toDate(n))}return r?Ku(l,o,e,t,n):l.formatRange(e.toDate(n),t.toDate(n))},[e,t,i,l,o,n,r])}function Ku(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 sv(e,t){let n=Dt(ll(ra)),r=Sn(e),o=Ru(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=Ru(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Ig(()=>{t.isFocused||Wr(a)},[a]);let i=j8(t);Ig(()=>{i&&Wr(i,"polite",4e3)},[i]);let l=Mo([!!e.errorMessage,e.validationState]);zu.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,g]=c.useState(!1),m=e.isDisabled||t.isPreviousVisibleRangeInvalid();m&&f&&(g(!1),t.setFocused(!0));let h=Tr({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:m,onFocusChange:g},errorMessageProps:{id:l},title:o}}function U8(e,t){return sv(e,t)}function W8(e,t,n){let r=sv(e,t),o=c.useRef(!1),a=c.useRef(typeof window<"u"?window:null);kr(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 kr(a,"pointerup",i),kr(a,"pointercancel",i),r.calendarProps.onBlur=l=>{(!l.relatedTarget||!n.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},kr(n,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),r}function H8(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end}=e,{direction:o}=it(),a=m=>{switch(m.key){case"Enter":case" ":m.preventDefault(),t.selectFocusedDate();break;case"PageUp":m.preventDefault(),m.stopPropagation(),t.focusPreviousSection(m.shiftKey);break;case"PageDown":m.preventDefault(),m.stopPropagation(),t.focusNextSection(m.shiftKey);break;case"End":m.preventDefault(),m.stopPropagation(),t.focusSectionEnd();break;case"Home":m.preventDefault(),m.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":m.preventDefault(),m.stopPropagation(),o==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":m.preventDefault(),m.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":m.preventDefault(),m.stopPropagation(),o==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":m.preventDefault(),m.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(m.preventDefault(),t.setAnchorDate(null));break}},i=Ru(n,r,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:s}=zu.get(t),u=Tr({"aria-label":[l,i].filter(Boolean).join(", "),"aria-labelledby":s}),d=nr({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:f}=it(),g=c.useMemo(()=>{let m=Yo(Go(t.timeZone),f);return[...new Array(7).keys()].map(h=>{let v=m.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:g}}function G8(e,t,n){let{date:r,isDisabled:o}=e,{errorMessageId:a,selectedDateDescription:i}=zu.get(t),l=Dt(ll(ra)),s=nr({weekday:"long",day:"numeric",month:"long",year:"numeric",era:oa(r),timeZone:t.timeZone}),u=t.isSelected(r),d=t.isCellFocused(r);o=o||t.isCellDisabled(r);let f=t.isCellUnavailable(r),g=!o&&!f,m=t.validationState==="invalid"&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:t.value&&Me(t.value,r));m&&(u=!0),r=Ng(r,cu);let h=c.useMemo(()=>r.toDate(t.timeZone),[r,t.timeZone]),b=_4(r,t.timeZone),v=c.useMemo(()=>{let E="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Me(r,t.value.start)||Me(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&&Me(r,t.minValue)?E+=", "+l.format("minimumDate"):t.maxValue&&Me(r,t.maxValue)&&(E+=", "+l.format("maximumDate")),E},[s,h,l,u,b,r,t,i]),$="";"anchorDate"in t&&d&&!t.isReadOnly&&g&&(t.anchorDate?$=l.format("finishRangeSelectionPrompt"):$=l.format("startRangeSelectionPrompt"));let y=Oc($),x=c.useRef(!1),S=c.useRef(!1),k=c.useRef(null),{pressProps:P,isPressed:M}=Ar({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!g||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&&!m){if(Me(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setDragging(!0),S.current=!0;return}else if(Me(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setDragging(!0),S.current=!0;return}}let V=()=>{t.setDragging(!0),k.current=null,t.selectDate(r),t.setFocusedDate(r),x.current=!0};E.pointerType==="touch"?k.current=setTimeout(V,200):V()}},onPressEnd(){S.current=!1,x.current=!1,clearTimeout(k.current),k.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(r),t.setFocusedDate(r))},onPressUp(E){if(!t.isReadOnly&&("anchorDate"in t&&k.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 V=r.add({days:1});t.isInvalid(V)&&(V=r.subtract({days:1})),t.isInvalid(V)||t.setFocusedDate(V)}else E.pointerType==="virtual"&&(t.selectDate(r),t.setFocusedDate(r))}}),_=null;o||(_=Me(r,t.focusedDate)?0:-1),c.useEffect(()=>{d&&n.current&&(Kt(n.current),Pi()!=="pointer"&&document.activeElement===n.current&&Mc(n.current,{containingElement:Ac(n.current)}))},[d,n]);let C=nr({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":!g||null,"aria-selected":u||null,"aria-invalid":m||null},buttonProps:ge(P,{onFocus(){o||t.setFocusedDate(r)},tabIndex:_,role:"button","aria-disabled":!g||null,"aria-label":v,"aria-invalid":m||null,"aria-describedby":[m?a:null,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(E){"highlightDate"in t&&(E.pointerType!=="touch"||t.isDragging)&&g&&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:m,formattedDate:N}}const Y8=F.default.td`
1074
+ `,D0=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=Wr({}),g=c.useRef(null),m=c.useRef(null),{triggerProps:h,overlayProps:b}=al({type:"dialog"},f,g),{buttonProps:v}=Jn({...u,...h,onPress:()=>{f.toggle()}},g);Io(()=>{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(tt,{children:[w(Tn,{...v,ref:g,type:"button",variant:r,size:"small",onClick:()=>{f.toggle()},children:ee(L8,{children:[e,w(N8,{style:{fontSize:p.sizing_350}})]})}),f.isOpen&&w(or,{state:f,targetRef:g,popoverRef:m,placement:$(),isNonModal:!i,...b,children:w(z8,{children:t.map(y=>w(R8,{variant:o,size:"small",onClick:()=>{n(y),f.close()},children:ee(K8,{children:[s&&w(s,{}),y]})},y))})})]})});D0.displayName="ButtonMenu";const P0=7e3;let na=null;function Hr(e,t="assertive",n=P0){na||(na=new B8),na.announce(e,t,n)}function V8(e){na&&na.clear(e)}class B8{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=P0){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 ll(e){return e&&e.__esModule?e.default:e}var ra={},T0={};T0={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 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 C0={};C0={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 A0={};A0={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 I0={};I0={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 O0={};O0={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 M0={};M0={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 F0={};F0={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 L0={};L0={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 N0={};N0={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 z0={};z0={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 R0={};R0={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 K0={};K0={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 V0={};V0={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 B0={};B0={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 j0={};j0={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 U0={};U0={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 W0={};W0={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 H0={};H0={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 G0={};G0={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 Y0={};Y0={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 q0={};q0={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 X0={};X0={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 Z0={};Z0={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 J0={};J0={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 Q0={};Q0={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 ev={};ev={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 tv={};tv={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 nv={};nv={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 rv={};rv={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 ov={};ov={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 av={};av={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 iv={};iv={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 lv={};lv={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}`},ra={"ar-AE":T0,"bg-BG":k0,"cs-CZ":C0,"da-DK":A0,"de-DE":I0,"el-GR":O0,"en-US":M0,"es-ES":F0,"et-EE":L0,"fi-FI":N0,"fr-FR":z0,"he-IL":R0,"hr-HR":K0,"hu-HU":V0,"it-IT":B0,"ja-JP":j0,"ko-KR":U0,"lt-LT":W0,"lv-LV":H0,"nb-NO":G0,"nl-NL":Y0,"pl-PL":q0,"pt-BR":X0,"pt-PT":Z0,"ro-RO":J0,"ru-RU":Q0,"sk-SK":ev,"sl-SI":tv,"sr-SP":nv,"sv-SE":rv,"tr-TR":ov,"uk-UA":av,"zh-CN":iv,"zh-TW":lv};const zu=new WeakMap;function oa(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function j8(e){let t=Tt(ll(ra)),n,r;"highlightedRange"in e?{start:n,end:r}=e.highlightedRange||{}:n=r=e.value;let o=rr({weekday:"long",month:"long",year:"numeric",day:"numeric",era:oa(n)||oa(r),timeZone:e.timeZone}),a="anchorDate"in e?e.anchorDate:null;return c.useMemo(()=>{if(!a&&n&&r)if(Fe(n,r)){let i=o.format(n.toDate(e.timeZone));return t.format("selectedDateDescription",{date:i})}else{let i=Ku(o,t,n,r,e.timeZone);return t.format("selectedRangeDescription",{dateRange:i})}return""},[n,r,a,e.timeZone,t,o])}function Ru(e,t,n,r){let o=Tt(ll(ra)),a=oa(e)||oa(t),i=rr({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n}),l=rr({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n});return c.useMemo(()=>{if(Fe(e,er(e))){if(Fe(t,ji(e)))return i.format(e.toDate(n));if(Fe(t,ji(t)))return r?Ku(i,o,e,t,n):i.formatRange(e.toDate(n),t.toDate(n))}return r?Ku(l,o,e,t,n):l.formatRange(e.toDate(n),t.toDate(n))},[e,t,i,l,o,n,r])}function Ku(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 sv(e,t){let n=Tt(ll(ra)),r=Sn(e),o=Ru(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=Ru(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Ig(()=>{t.isFocused||Hr(a)},[a]);let i=j8(t);Ig(()=>{i&&Hr(i,"polite",4e3)},[i]);let l=Mo([!!e.errorMessage,e.validationState]);zu.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,g]=c.useState(!1),m=e.isDisabled||t.isPreviousVisibleRangeInvalid();m&&f&&(g(!1),t.setFocused(!0));let h=kr({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:ve(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:m,onFocusChange:g},errorMessageProps:{id:l},title:o}}function U8(e,t){return sv(e,t)}function W8(e,t,n){let r=sv(e,t),o=c.useRef(!1),a=c.useRef(typeof window<"u"?window:null);Cr(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 Cr(a,"pointerup",i),Cr(a,"pointercancel",i),r.calendarProps.onBlur=l=>{(!l.relatedTarget||!n.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},Cr(n,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),r}function H8(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end}=e,{direction:o}=st(),a=m=>{switch(m.key){case"Enter":case" ":m.preventDefault(),t.selectFocusedDate();break;case"PageUp":m.preventDefault(),m.stopPropagation(),t.focusPreviousSection(m.shiftKey);break;case"PageDown":m.preventDefault(),m.stopPropagation(),t.focusNextSection(m.shiftKey);break;case"End":m.preventDefault(),m.stopPropagation(),t.focusSectionEnd();break;case"Home":m.preventDefault(),m.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":m.preventDefault(),m.stopPropagation(),o==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":m.preventDefault(),m.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":m.preventDefault(),m.stopPropagation(),o==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":m.preventDefault(),m.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(m.preventDefault(),t.setAnchorDate(null));break}},i=Ru(n,r,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:s}=zu.get(t),u=kr({"aria-label":[l,i].filter(Boolean).join(", "),"aria-labelledby":s}),d=rr({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:f}=st(),g=c.useMemo(()=>{let m=Yo(Go(t.timeZone),f);return[...new Array(7).keys()].map(h=>{let v=m.add({days:h}).toDate(t.timeZone);return d.format(v)})},[f,t.timeZone,d]);return{gridProps:ve(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:g}}function G8(e,t,n){let{date:r,isDisabled:o}=e,{errorMessageId:a,selectedDateDescription:i}=zu.get(t),l=Tt(ll(ra)),s=rr({weekday:"long",day:"numeric",month:"long",year:"numeric",era:oa(r),timeZone:t.timeZone}),u=t.isSelected(r),d=t.isCellFocused(r);o=o||t.isCellDisabled(r);let f=t.isCellUnavailable(r),g=!o&&!f,m=t.validationState==="invalid"&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:t.value&&Fe(t.value,r));m&&(u=!0),r=Ng(r,cu);let h=c.useMemo(()=>r.toDate(t.timeZone),[r,t.timeZone]),b=_4(r,t.timeZone),v=c.useMemo(()=>{let E="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Fe(r,t.value.start)||Fe(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&&Fe(r,t.minValue)?E+=", "+l.format("minimumDate"):t.maxValue&&Fe(r,t.maxValue)&&(E+=", "+l.format("maximumDate")),E},[s,h,l,u,b,r,t,i]),$="";"anchorDate"in t&&d&&!t.isReadOnly&&g&&(t.anchorDate?$=l.format("finishRangeSelectionPrompt"):$=l.format("startRangeSelectionPrompt"));let y=Oc($),x=c.useRef(!1),S=c.useRef(!1),k=c.useRef(null),{pressProps:P,isPressed:M}=Ir({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!g||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&&!m){if(Fe(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setDragging(!0),S.current=!0;return}else if(Fe(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setDragging(!0),S.current=!0;return}}let V=()=>{t.setDragging(!0),k.current=null,t.selectDate(r),t.setFocusedDate(r),x.current=!0};E.pointerType==="touch"?k.current=setTimeout(V,200):V()}},onPressEnd(){S.current=!1,x.current=!1,clearTimeout(k.current),k.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(r),t.setFocusedDate(r))},onPressUp(E){if(!t.isReadOnly&&("anchorDate"in t&&k.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 V=r.add({days:1});t.isInvalid(V)&&(V=r.subtract({days:1})),t.isInvalid(V)||t.setFocusedDate(V)}else E.pointerType==="virtual"&&(t.selectDate(r),t.setFocusedDate(r))}}),_=null;o||(_=Fe(r,t.focusedDate)?0:-1),c.useEffect(()=>{d&&n.current&&(jt(n.current),Pi()!=="pointer"&&document.activeElement===n.current&&Mc(n.current,{containingElement:Ac(n.current)}))},[d,n]);let C=rr({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":!g||null,"aria-selected":u||null,"aria-invalid":m||null},buttonProps:ve(P,{onFocus(){o||t.setFocusedDate(r)},tabIndex:_,role:"button","aria-disabled":!g||null,"aria-label":v,"aria-invalid":m||null,"aria-describedby":[m?a:null,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(E){"highlightDate"in t&&(E.pointerType!=="touch"||t.isDragging)&&g&&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:m,formattedDate:N}}const Y8=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(R),null," "));var Y=he(le,se,H,ne,re+"
1171
1171
  width: 31px;
1172
1172
  height: 31px;
1173
1173
  }
1174
- `;function Z8({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 cv({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:g}=G8({date:t,isDisabled:r},e,i),m=!$4(o,t),h=e.highlightedRange?Me(t,e.highlightedRange.start):u,b=e.highlightedRange?Me(t,e.highlightedRange.end):u,{locale:v}=it(),$=Bi(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:k,isFocusVisible:P}=Mi(),M=Me(t,n),_=Z8({isUnavailable:f,isDisabled:d,isSelected:u,isSelectionStart:h,isSelectionEnd:b,isFocusVisible:P,isToday:M});return w(Y8,{...l,children:w(q8,{...ge(s,k),ref:i,hidden:m,"data-rounded":S,"data-state":_,children:w(X8,{"data-state":_,single:a,children:g})})})}const sl=6;function cl({state:e,...t}){const{offset:n={},timeZone:r,single:o}=t,{locale:a}=it(),i=e.visibleRange.start.add(n),l=ji(i),s=Go(r),{gridProps:u,headerProps:d,weekDays:f}=H8({startDate:i,endDate:l},e),g=P4(i,a);return ee("table",{...u,children:[w("thead",{...d,children:w("tr",{children:f.map((m,h)=>w("th",{style:{textAlign:"center"},children:m},h))})}),w("tbody",{children:[...Array.from({length:g}).keys()].map(m=>w("tr",{children:e.getDatesInWeek(m,i).map((h,b)=>{var v;if(h){const $=e.anchorDate!==void 0&&e.anchorDate!==null?J8({date:h,anchorDate:e.anchorDate,min:t.maxDays?-t.maxDays:-sl,max:t.maxDays?t.maxDays:sl})||((v=t.isDateUnavailable)==null?void 0:v.call(t,h)):!1;return w(cv,{state:e,date:h,today:s,disabled:$,currentMonth:i,single:o},b)}else return w("td",{},b)})},m))})]})}function J8({date:e,anchorDate:t,min:n=-sl,max:r=sl}){const o=e.compare(t)<n,a=e.compare(t)>r;return o||a}const Vu={small:"32px",large:"40px"},uv={circle:p.border_radius_circle,square:p.border_radius_400},ul=F.default.button`
1174
+ `;function Z8({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 cv({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:g}=G8({date:t,isDisabled:r},e,i),m=!$4(o,t),h=e.highlightedRange?Fe(t,e.highlightedRange.start):u,b=e.highlightedRange?Fe(t,e.highlightedRange.end):u,{locale:v}=st(),$=Bi(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:k,isFocusVisible:P}=Mi(),M=Fe(t,n),_=Z8({isUnavailable:f,isDisabled:d,isSelected:u,isSelectionStart:h,isSelectionEnd:b,isFocusVisible:P,isToday:M});return w(Y8,{...l,children:w(q8,{...ve(s,k),ref:i,hidden:m,"data-rounded":S,"data-state":_,children:w(X8,{"data-state":_,single:a,children:g})})})}const sl=6;function cl({state:e,...t}){const{offset:n={},timeZone:r,single:o}=t,{locale:a}=st(),i=e.visibleRange.start.add(n),l=ji(i),s=Go(r),{gridProps:u,headerProps:d,weekDays:f}=H8({startDate:i,endDate:l},e),g=P4(i,a);return ee("table",{...u,children:[w("thead",{...d,children:w("tr",{children:f.map((m,h)=>w("th",{style:{textAlign:"center"},children:m},h))})}),w("tbody",{children:[...Array.from({length:g}).keys()].map(m=>w("tr",{children:e.getDatesInWeek(m,i).map((h,b)=>{var v;if(h){const $=e.anchorDate!==void 0&&e.anchorDate!==null?J8({date:h,anchorDate:e.anchorDate,min:t.maxDays?-t.maxDays:-sl,max:t.maxDays?t.maxDays:sl})||((v=t.isDateUnavailable)==null?void 0:v.call(t,h)):!1;return w(cv,{state:e,date:h,today:s,disabled:$,currentMonth:i,single:o},b)}else return w("td",{},b)})},m))})]})}function J8({date:e,anchorDate:t,min:n=-sl,max:r=sl}){const o=e.compare(t)<n,a=e.compare(t)>r;return o||a}const Vu={small:"32px",large:"40px"},uv={circle:p.border_radius_circle,square:p.border_radius_400},ul=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(R),null," "));var Y=he(le,se,H,ne,re+"
1279
1279
  &:disabled {
1280
1280
  background: ${p.color_deprecated_fill_inverse_disabled};
1281
1281
  }
1282
- `,r2={primary:Q8,secondary:e2,danger:t2,inverse:n2},aa=c.forwardRef((e,t)=>{const n=Dn(t),{label:r,size:o="small",variant:a="primary",shape:i="circle",disabled:l,onClick:s,autoFocus:u,children:d,style:f={},...g}=e,m=Bt(),h=l??m,{buttonProps:b,isPressed:v}=Zn({onPress:s,isDisabled:h,autoFocus:u},n),{isFocusVisible:$,focusProps:y}=Mi({autoFocus:u}),x=vh({isFocusVisible:$,isPressed:v}),S=r2[a],k=uv[i],P=Vu[o],M=ge(y,g,b,{"data-state":x});return w(S,{ref:n,...M,style:{"--icon-button-size":P,"--icon-button-border-radius":k,...f},children:w(yo,{label:r,children:d})})});aa.displayName="IconButton";const o2=F.default(xt)`
1282
+ `,r2={primary:Q8,secondary:e2,danger:t2,inverse:n2},aa=c.forwardRef((e,t)=>{const n=Dn(t),{label:r,size:o="small",variant:a="primary",shape:i="circle",disabled:l,onClick:s,autoFocus:u,children:d,style:f={},...g}=e,m=Wt(),h=l??m,{buttonProps:b,isPressed:v}=Jn({onPress:s,isDisabled:h,autoFocus:u},n),{isFocusVisible:$,focusProps:y}=Mi({autoFocus:u}),x=vh({isFocusVisible:$,isPressed:v}),S=r2[a],k=uv[i],P=Vu[o],M=ve(y,g,b,{"data-state":x});return w(S,{ref:n,...M,style:{"--icon-button-size":P,"--icon-button-border-radius":k,...f},children:w(yo,{label:r,children:d})})});aa.displayName="IconButton";const o2=F.default(Et)`
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 dv({state:e,calendarProps:t,prevButtonProps:n,nextButtonProps:r}){const{onPress:o,isDisabled:a}=n,{onPress:i,isDisabled:l}=r,s=nr({month:"long",year:"numeric",timeZone:e.timeZone});return ee(o2,{p:"200",alignItems:"center",justifyContent:"space-between",children:[w(Ci,{children:w("h2",{children:t["aria-label"]})}),w(aa,{label:"Previous month",size:"small",variant:"inverse",onClick:o,disabled:a,children:w(we.ChevronLeft,{})}),w(Gn,{looksLike:"body",as:"h2","aria-hidden":!0,children:s.format(e.visibleRange.start.toDate(e.timeZone))}),w(Gn,{looksLike:"body",as:"h2","aria-hidden":!0,children:s.format(e.visibleRange.start.add({months:1}).toDate(e.timeZone))}),w(aa,{size:"small",variant:"inverse",onClick:i,label:"Next month",disabled:l,children:w(we.ChevronRight,{})})]})}function Hr(e,t,n){return t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0}function Bu(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=or(e,t,n).subtract(a);return ia(e,i,t,n,r,o)}function or(e,t,n,r,o){let a=e;return t.years?a=w4(e):t.months?a=Qn(e):t.weeks&&(a=Yo(e,n)),ia(e,a,t,n,r,o)}function ju(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=or(e,t,n).subtract(a);return ia(e,i,t,n,r,o)}function ia(e,t,n,r,o,a){return o&&e.compare(o)>=0&&(t=fu(t,or(Pt(o),n,r))),a&&e.compare(a)<=0&&(t=du(t,ju(Pt(a),n,r))),t}function In(e,t,n){return t&&(e=fu(e,Pt(t))),n&&(e=du(e,Pt(n))),e}function fv(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 pv(e){let t=c.useMemo(()=>new Ab(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]),[g,m]=Vt(e.value,e.defaultValue,e.onChange),h=c.useMemo(()=>g?Re(Pt(g),f):null,[g,f]),b=c.useMemo(()=>g&&"timeZone"in g?g.timeZone:n.timeZone,[g,n.timeZone]),v=c.useMemo(()=>e.focusedValue?In(Re(Pt(e.focusedValue),f),i,l):void 0,[e.focusedValue,f,i,l]),$=c.useMemo(()=>In(e.defaultFocusedValue?Re(Pt(e.defaultFocusedValue),f):h||Re(Go(b),f),i,l),[e.defaultFocusedValue,h,b,f,i,l]),[y,x]=Vt(v,$,e.onFocusChange),[S,k]=c.useState(()=>{switch(s){case"start":return or(y,a,r,i,l);case"end":return ju(y,a,r,i,l);case"center":default:return Bu(y,a,r,i,l)}}),[P,M]=c.useState(e.autoFocus||!1),_=c.useMemo(()=>{let I={...a};return I.days?I.days--:I.days=-1,S.add(I)},[S,a]),[C,N]=c.useState(f.identifier);if(f.identifier!==C){let I=Re(y,f);k(Bu(I,a,r,i,l)),x(I),N(f.identifier)}Hr(y,i,l)?x(In(y,i,l)):y.compare(S)<0?k(ju(y,a,r,i,l)):y.compare(_)>0&&k(or(y,a,r,i,l));function E(I){I=In(I,i,l),x(I)}function V(I){if(!e.isDisabled&&!e.isReadOnly){if(I=In(I,i,l),I=fv(I,S,u),!I)return;I=Re(I,(g==null?void 0:g.calendar)||new lt),g&&"hour"in g?m(g.set(I)):m(I)}}let O=c.useMemo(()=>h?u&&u(h)?!0:Hr(h,i,l):!1,[h,u,i,l]),T=e.validationState||(O?"invalid":null),U=c.useMemo(()=>d==="visible"?a:Uu(a),[d,a]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:h,setValue:V,visibleRange:{start:S,end:_},minValue:i,maxValue:l,focusedDate:y,timeZone:b,validationState:T,setFocusedDate(I){E(I),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 I=S.add(U);x(In(y.add(U),i,l)),k(or(ia(y,I,U,r,i,l),U,r))},focusPreviousPage(){let I=S.subtract(U);x(In(y.subtract(U),i,l)),k(or(ia(y,I,U,r,i,l),U,r))},focusSectionStart(){a.days?E(S):a.weeks?E(Yo(y,r)):(a.months||a.years)&&E(Qn(y))},focusSectionEnd(){a.days?E(_):a.weeks?E(E4(y,r)):(a.months||a.years)&&E(ji(y))},focusNextSection(I){if(!I&&!a.days){E(y.add(Uu(a)));return}a.days?this.focusNextPage():a.weeks?E(y.add({months:1})):(a.months||a.years)&&E(y.add({years:1}))},focusPreviousSection(I){if(!I&&!a.days){E(y.subtract(Uu(a)));return}a.days?this.focusPreviousPage():a.weeks?E(y.subtract({months:1})):(a.months||a.years)&&E(y.subtract({years:1}))},selectFocusedDate(){V(y)},selectDate(I){V(I)},isFocused:P,setFocused:M,isInvalid(I){return Hr(I,i,l)},isSelected(I){return h!=null&&Me(I,h)&&!this.isCellDisabled(I)&&!this.isCellUnavailable(I)},isCellFocused(I){return P&&y&&Me(I,y)},isCellDisabled(I){return e.isDisabled||I.compare(S)<0||I.compare(_)>0||this.isInvalid(I,i,l)},isCellUnavailable(I){return e.isDateUnavailable&&e.isDateUnavailable(I)},isPreviousVisibleRangeInvalid(){let I=S.subtract({days:1});return Me(I,S)||this.isInvalid(I,i,l)},isNextVisibleRangeInvalid(){let I=_.add({days:1});return Me(I,_)||this.isInvalid(I,i,l)},getDatesInWeek(I,Z=S){let j=Z.add({weeks:I}),q=[];j=Yo(j,r);let R=Bi(j,r);for(let W=0;W<R;W++)q.push(null);for(;q.length<7;){q.push(j);let W=j.add({days:1});if(Me(j,W))break;j=W}for(;q.length<7;)q.push(null);return q}}}function Uu(e){let t={...e};for(let n in e)t[n]=1;return t}function a2(e){let{value:t,defaultValue:n,onChange:r,createCalendar:o,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...u}=e,[d,f]=Vt(t,n||null,r),[g,m]=c.useState(null),h="center";if(d&&d.start&&d.end){let Z=Bu(Pt(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(()=>fu(l,v==null?void 0:v.start),[l,v]),x=c.useMemo(()=>du(s,v==null?void 0:v.end),[s,v]),S=pv({...u,value:d&&d.start,createCalendar:o,locale:a,visibleDuration:i,minValue:y,maxValue:x,selectionAlignment:h}),k=I=>{I&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(b.current={start:gv(I,S,-1),end:gv(I,S,1)},$(b.current)):(b.current=null,$(null))},[P,M]=c.useState(S.visibleRange);(!cu(S.visibleRange.start,P.start)||!cu(S.visibleRange.end,P.end))&&(k(g),M(S.visibleRange));let _=I=>{I?(m(I),k(I)):(m(null),k(null))},C=g?Wu(g,S.focusedDate):d&&Wu(d.start,d.end),N=I=>{if(!e.isReadOnly&&(I=In(I,y,x),I=fv(I,S.visibleRange.start,e.isDateUnavailable),!!I))if(!g)_(I);else{let Z=Wu(g,I);f({start:mv(Z.start,d==null?void 0:d.start),end:mv(Z.end,d==null?void 0:d.end)}),_(null)}},[E,V]=c.useState(!1),{isDateUnavailable:O}=e,T=c.useMemo(()=>!d||g?!1:O&&(O(d.start)||O(d.end))?!0:Hr(d.start,l,s)||Hr(d.end,l,s),[O,d,g,l,s]),U=e.validationState||(T?"invalid":null);return{...S,value:d,setValue:f,anchorDate:g,setAnchorDate:_,highlightedRange:C,validationState:U,selectFocusedDate(){N(S.focusedDate)},selectDate:N,highlightDate(I){g&&S.setFocusedDate(I)},isSelected(I){return C&&I.compare(C.start)>=0&&I.compare(C.end)<=0&&!S.isCellDisabled(I)&&!S.isCellUnavailable(I)},isInvalid(I){var Z,j;return S.isInvalid(I)||Hr(I,(Z=b.current)===null||Z===void 0?void 0:Z.start,(j=b.current)===null||j===void 0?void 0:j.end)},isDragging:E,setDragging:V}}function Wu(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Pt(e),end:Pt(t)})}function mv(e,t){return e=Re(e,(t==null?void 0:t.calendar)||new lt),t&&"hour"in t?t.set(e):e}function gv(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 i2=F.default(je)`
1287
+ `;function dv({state:e,calendarProps:t,prevButtonProps:n,nextButtonProps:r}){const{onPress:o,isDisabled:a}=n,{onPress:i,isDisabled:l}=r,s=rr({month:"long",year:"numeric",timeZone:e.timeZone});return ee(o2,{p:"200",alignItems:"center",justifyContent:"space-between",children:[w(Ci,{children:w("h2",{children:t["aria-label"]})}),w(aa,{label:"Previous month",size:"small",variant:"inverse",onClick:o,disabled:a,children:w(Se.ChevronLeft,{})}),w(Yn,{looksLike:"body",as:"h2","aria-hidden":!0,children:s.format(e.visibleRange.start.toDate(e.timeZone))}),w(Yn,{looksLike:"body",as:"h2","aria-hidden":!0,children:s.format(e.visibleRange.start.add({months:1}).toDate(e.timeZone))}),w(aa,{size:"small",variant:"inverse",onClick:i,label:"Next month",disabled:l,children:w(Se.ChevronRight,{})})]})}function Gr(e,t,n){return t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0}function Bu(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=ar(e,t,n).subtract(a);return ia(e,i,t,n,r,o)}function ar(e,t,n,r,o){let a=e;return t.years?a=w4(e):t.months?a=er(e):t.weeks&&(a=Yo(e,n)),ia(e,a,t,n,r,o)}function ju(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=ar(e,t,n).subtract(a);return ia(e,i,t,n,r,o)}function ia(e,t,n,r,o,a){return o&&e.compare(o)>=0&&(t=fu(t,ar(kt(o),n,r))),a&&e.compare(a)<=0&&(t=du(t,ju(kt(a),n,r))),t}function In(e,t,n){return t&&(e=fu(e,kt(t))),n&&(e=du(e,kt(n))),e}function fv(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 pv(e){let t=c.useMemo(()=>new Ab(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]),[g,m]=Ut(e.value,e.defaultValue,e.onChange),h=c.useMemo(()=>g?Ve(kt(g),f):null,[g,f]),b=c.useMemo(()=>g&&"timeZone"in g?g.timeZone:n.timeZone,[g,n.timeZone]),v=c.useMemo(()=>e.focusedValue?In(Ve(kt(e.focusedValue),f),i,l):void 0,[e.focusedValue,f,i,l]),$=c.useMemo(()=>In(e.defaultFocusedValue?Ve(kt(e.defaultFocusedValue),f):h||Ve(Go(b),f),i,l),[e.defaultFocusedValue,h,b,f,i,l]),[y,x]=Ut(v,$,e.onFocusChange),[S,k]=c.useState(()=>{switch(s){case"start":return ar(y,a,r,i,l);case"end":return ju(y,a,r,i,l);case"center":default:return Bu(y,a,r,i,l)}}),[P,M]=c.useState(e.autoFocus||!1),_=c.useMemo(()=>{let I={...a};return I.days?I.days--:I.days=-1,S.add(I)},[S,a]),[C,N]=c.useState(f.identifier);if(f.identifier!==C){let I=Ve(y,f);k(Bu(I,a,r,i,l)),x(I),N(f.identifier)}Gr(y,i,l)?x(In(y,i,l)):y.compare(S)<0?k(ju(y,a,r,i,l)):y.compare(_)>0&&k(ar(y,a,r,i,l));function E(I){I=In(I,i,l),x(I)}function V(I){if(!e.isDisabled&&!e.isReadOnly){if(I=In(I,i,l),I=fv(I,S,u),!I)return;I=Ve(I,(g==null?void 0:g.calendar)||new ct),g&&"hour"in g?m(g.set(I)):m(I)}}let O=c.useMemo(()=>h?u&&u(h)?!0:Gr(h,i,l):!1,[h,u,i,l]),T=e.validationState||(O?"invalid":null),U=c.useMemo(()=>d==="visible"?a:Uu(a),[d,a]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:h,setValue:V,visibleRange:{start:S,end:_},minValue:i,maxValue:l,focusedDate:y,timeZone:b,validationState:T,setFocusedDate(I){E(I),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 I=S.add(U);x(In(y.add(U),i,l)),k(ar(ia(y,I,U,r,i,l),U,r))},focusPreviousPage(){let I=S.subtract(U);x(In(y.subtract(U),i,l)),k(ar(ia(y,I,U,r,i,l),U,r))},focusSectionStart(){a.days?E(S):a.weeks?E(Yo(y,r)):(a.months||a.years)&&E(er(y))},focusSectionEnd(){a.days?E(_):a.weeks?E(E4(y,r)):(a.months||a.years)&&E(ji(y))},focusNextSection(I){if(!I&&!a.days){E(y.add(Uu(a)));return}a.days?this.focusNextPage():a.weeks?E(y.add({months:1})):(a.months||a.years)&&E(y.add({years:1}))},focusPreviousSection(I){if(!I&&!a.days){E(y.subtract(Uu(a)));return}a.days?this.focusPreviousPage():a.weeks?E(y.subtract({months:1})):(a.months||a.years)&&E(y.subtract({years:1}))},selectFocusedDate(){V(y)},selectDate(I){V(I)},isFocused:P,setFocused:M,isInvalid(I){return Gr(I,i,l)},isSelected(I){return h!=null&&Fe(I,h)&&!this.isCellDisabled(I)&&!this.isCellUnavailable(I)},isCellFocused(I){return P&&y&&Fe(I,y)},isCellDisabled(I){return e.isDisabled||I.compare(S)<0||I.compare(_)>0||this.isInvalid(I,i,l)},isCellUnavailable(I){return e.isDateUnavailable&&e.isDateUnavailable(I)},isPreviousVisibleRangeInvalid(){let I=S.subtract({days:1});return Fe(I,S)||this.isInvalid(I,i,l)},isNextVisibleRangeInvalid(){let I=_.add({days:1});return Fe(I,_)||this.isInvalid(I,i,l)},getDatesInWeek(I,X=S){let j=X.add({weeks:I}),Y=[];j=Yo(j,r);let z=Bi(j,r);for(let W=0;W<z;W++)Y.push(null);for(;Y.length<7;){Y.push(j);let W=j.add({days:1});if(Fe(j,W))break;j=W}for(;Y.length<7;)Y.push(null);return Y}}}function Uu(e){let t={...e};for(let n in e)t[n]=1;return t}function a2(e){let{value:t,defaultValue:n,onChange:r,createCalendar:o,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...u}=e,[d,f]=Ut(t,n||null,r),[g,m]=c.useState(null),h="center";if(d&&d.start&&d.end){let X=Bu(kt(d.start),i,a,l,s).add(i).subtract({days:1});d.end.compare(X)>0&&(h="start")}let b=c.useRef(null),[v,$]=c.useState(null),y=c.useMemo(()=>fu(l,v==null?void 0:v.start),[l,v]),x=c.useMemo(()=>du(s,v==null?void 0:v.end),[s,v]),S=pv({...u,value:d&&d.start,createCalendar:o,locale:a,visibleDuration:i,minValue:y,maxValue:x,selectionAlignment:h}),k=I=>{I&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(b.current={start:gv(I,S,-1),end:gv(I,S,1)},$(b.current)):(b.current=null,$(null))},[P,M]=c.useState(S.visibleRange);(!cu(S.visibleRange.start,P.start)||!cu(S.visibleRange.end,P.end))&&(k(g),M(S.visibleRange));let _=I=>{I?(m(I),k(I)):(m(null),k(null))},C=g?Wu(g,S.focusedDate):d&&Wu(d.start,d.end),N=I=>{if(!e.isReadOnly&&(I=In(I,y,x),I=fv(I,S.visibleRange.start,e.isDateUnavailable),!!I))if(!g)_(I);else{let X=Wu(g,I);f({start:mv(X.start,d==null?void 0:d.start),end:mv(X.end,d==null?void 0:d.end)}),_(null)}},[E,V]=c.useState(!1),{isDateUnavailable:O}=e,T=c.useMemo(()=>!d||g?!1:O&&(O(d.start)||O(d.end))?!0:Gr(d.start,l,s)||Gr(d.end,l,s),[O,d,g,l,s]),U=e.validationState||(T?"invalid":null);return{...S,value:d,setValue:f,anchorDate:g,setAnchorDate:_,highlightedRange:C,validationState:U,selectFocusedDate(){N(S.focusedDate)},selectDate:N,highlightDate(I){g&&S.setFocusedDate(I)},isSelected(I){return C&&I.compare(C.start)>=0&&I.compare(C.end)<=0&&!S.isCellDisabled(I)&&!S.isCellUnavailable(I)},isInvalid(I){var X,j;return S.isInvalid(I)||Gr(I,(X=b.current)===null||X===void 0?void 0:X.start,(j=b.current)===null||j===void 0?void 0:j.end)},isDragging:E,setDragging:V}}function Wu(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:kt(e),end:kt(t)})}function mv(e,t){return e=Ve(e,(t==null?void 0:t.calendar)||new ct),t&&"hour"in t?t.set(e):e}function gv(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 i2=F.default(We)`
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 l2({timeZone:e,...t}){const{locale:n}=it(),r=t.width??"fit-content",o=t.maxDays??6,a=Go(e),i=a2({...t,visibleDuration:{months:2},locale:n,createCalendar:Cb,defaultFocusedValue:a}),l=c.useRef(null),{calendarProps:s,prevButtonProps:u,nextButtonProps:d}=W8(t,i,l);return ee(i2,{width:r,p:p.spacing_100,...s,ref:l,children:[w(dv,{state:i,calendarProps:s,prevButtonProps:u,nextButtonProps:d}),ee(xt,{gap:p.spacing_400,justifyContent:"space-between",children:[w(cl,{state:i,timeZone:e,isDateUnavailable:t.isDateUnavailable,maxDays:o}),w(cl,{state:i,offset:{months:1},timeZone:e,isDateUnavailable:t.isDateUnavailable,maxDays:o})]})]})}const hv=F.default(Uo)`
1292
+ `;function l2({timeZone:e,...t}){const{locale:n}=st(),r=t.width??"fit-content",o=t.maxDays??6,a=Go(e),i=a2({...t,visibleDuration:{months:2},locale:n,createCalendar:Cb,defaultFocusedValue:a}),l=c.useRef(null),{calendarProps:s,prevButtonProps:u,nextButtonProps:d}=W8(t,i,l);return ee(i2,{width:r,p:p.spacing_100,...s,ref:l,children:[w(dv,{state:i,calendarProps:s,prevButtonProps:u,nextButtonProps:d}),ee(Et,{gap:p.spacing_400,justifyContent:"space-between",children:[w(cl,{state:i,timeZone:e,isDateUnavailable:t.isDateUnavailable,maxDays:o}),w(cl,{state:i,offset:{months:1},timeZone:e,isDateUnavailable:t.isDateUnavailable,maxDays:o})]})]})}const hv=F.default(Uo)`
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(R),null," "));var Y=he(le,se,H,ne,re+"
1305
1305
  line-height: 1;
1306
1306
  font-size: ${p.font_size_deprecated_200};
1307
1307
  }
1308
- `,la=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(hv,{variant:"inverse",emphasis:"high",ref:t,...o,children:w(yo,{label:r,children:a})})});la.displayName="PaginatorButton";const s2=F.default(hv)`
1308
+ `,la=c.forwardRef((e,t)=>{const{direction:n,label:r=n==="left"?"Previous":"Next",...o}=e,a=n==="left"?w(Se.NavigateBefore,{}):w(Se.NavigateNext,{});return w(hv,{variant:"inverse",emphasis:"high",ref:t,...o,children:w(yo,{label:r,children:a})})});la.displayName="PaginatorButton";const s2=F.default(hv)`
1309
1309
  &[aria-current='true'] {
1310
1310
  background-color: ${p.color_deprecated_overlay_secondary_selected_enabled};
1311
1311
  }
@@ -1341,7 +1341,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1341
1341
  font-family: ${p.font_family_pingo};
1342
1342
  font-weight: ${p.font_weight_300};
1343
1343
  }
1344
- `,ar=D.default.forwardRef(({timeZone:e,onPrev:t,onNext:n,...r},o)=>{const{locale:a}=it(),i=pv({locale:a,createCalendar:Cb,...r}),{calendarProps:l,prevButtonProps:s,nextButtonProps:u,title:d}=U8(r,i);return ee(d2,{...l,ref:o,children:[ee(f2,{children:[w(bv,{label:"left",direction:"left",disabled:s.isDisabled,"aria-label":s["aria-label"],onClick:()=>{r.focusedValue?t==null||t():i.focusPreviousPage()}}),w(p2,{children:d}),w(bv,{label:"right",direction:"right",disabled:u.isDisabled,"aria-label":u["aria-label"],onClick:()=>{r.focusedValue?n==null||n():i.focusNextPage()}})]}),w(cl,{state:i,timeZone:e,single:!0})]})});ar.displayName="Calendar";const m2=ue.css`
1344
+ `,ir=D.default.forwardRef(({timeZone:e,onPrev:t,onNext:n,...r},o)=>{const{locale:a}=st(),i=pv({locale:a,createCalendar:Cb,...r}),{calendarProps:l,prevButtonProps:s,nextButtonProps:u,title:d}=U8(r,i);return ee(d2,{...l,ref:o,children:[ee(f2,{children:[w(bv,{label:"left",direction:"left",disabled:s.isDisabled,"aria-label":s["aria-label"],onClick:()=>{r.focusedValue?t==null||t():i.focusPreviousPage()}}),w(p2,{children:d}),w(bv,{label:"right",direction:"right",disabled:u.isDisabled,"aria-label":u["aria-label"],onClick:()=>{r.focusedValue?n==null||n():i.focusNextPage()}})]}),w(cl,{state:i,timeZone:e,single:!0})]})});ir.displayName="Calendar";const m2=ue.css`
1345
1345
  position: absolute;
1346
1346
  width: 1px;
1347
1347
  height: 1px;
@@ -1387,7 +1387,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1387
1387
  `,y2=F.default(sa)`
1388
1388
  font-size: ${p.font_size_225};
1389
1389
  line-height: ${p.font_size_250};
1390
- `,$2={xsmall:g2,small:h2,medium:b2,large:v2,xlarge:y2};function Ke({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=$2[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 _2(e,t,n){let{validationBehavior:r,focus:o}=e;ke(()=>{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(w2(n.current))}});let a=Ae(()=>{t.resetValidation()}),i=Ae(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&&E2(d)===n.current){var f;o?o():(f=n.current)===null||f===void 0||f.focus(),jc("keyboard")}s.preventDefault()}),l=Ae(()=>{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 x2(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 w2(e){return{isInvalid:!e.validity.valid,validationDetails:x2(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function E2(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}const vv={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},yv={...vv,customError:!0,valid:!1},ca={isInvalid:!1,validationDetails:vv,validationErrors:[]},S2=c.createContext({}),$v="__formValidationState"+Date.now();function _v(e){if(e[$v]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}=e[$v];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}}return D2(e)}function D2(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:yv}:null,u=c.useMemo(()=>xv(P2(i,o)),[i,o]);a!=null&&a.validationDetails.valid&&(a=null);let d=c.useContext(S2),f=c.useMemo(()=>r?Array.isArray(r)?r.flatMap(N=>Hu(d[N])):Hu(d[r]):[],[d,r]),[g,m]=c.useState(d),[h,b]=c.useState(!1);d!==g&&(m(d),b(!1));let v=c.useMemo(()=>xv(h?[]:f),[h,f]),$=c.useRef(ca),[y,x]=c.useState(ca),S=c.useRef(ca),k=()=>{if(!P)return;M(!1);let N=u||a||$.current;Gu(N,S.current)||(S.current=N,x(N))},[P,M]=c.useState(!1);return c.useEffect(k),{realtimeValidation:s||v||u||a||ca,displayValidation:l==="native"?s||v||y:s||v||u||a||y,updateValidation(N){l==="aria"&&!Gu(y,N)?x(N):$.current=N},resetValidation(){let N=ca;Gu(N,S.current)||(S.current=N,x(N)),l==="native"&&M(!1),b(!0)},commitValidation(){l==="native"&&M(!0),b(!0)}}}function Hu(e){return e?Array.isArray(e)?e:[e]:[]}function P2(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return Hu(n)}return[]}function xv(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:yv}:null}function Gu(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 T2(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,g=P=>{P.stopPropagation(),t.setSelected(P.target.checked)},m=l!=null,h=s!=null||u!=null;!m&&!h&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:b,isPressed:v}=Ar({isDisabled:r}),{pressProps:$,isPressed:y}=Ar({isDisabled:r||o,onPress(){t.toggle()}}),{focusableProps:x}=Qc(e,n),S=ge(b,x),k=Sn(e,{labelable:!0});return nk(n,t.isSelected,t.setSelected),{labelProps:ge($,{onClick:P=>P.preventDefault()}),inputProps:ge(k,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:g,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 wv(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:a="label"}=e;t=dt(t);let i=dt(),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=Tr({id:t,"aria-label":o,"aria-labelledby":r});return{labelProps:l,fieldProps:s}}function fl(e){let{description:t,errorMessage:n,isInvalid:r,validationState:o}=e,{labelProps:a,fieldProps:i}=wv(e),l=Mo([!!t,!!n,r,o]),s=Mo([!!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 k2(e={}){let{isReadOnly:t}=e,[n,r]=Vt(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 C2(e,t,n){let r=_v({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:i}=r.displayValidation,{labelProps:l,inputProps:s,isSelected:u,isPressed:d,isDisabled:f,isReadOnly:g}=T2({...e,isInvalid:o},t,n);_2(e,r,n);let{isIndeterminate:m,isRequired:h,validationBehavior:b="aria"}=e;return c.useEffect(()=>{n.current&&(n.current.indeterminate=!!m)}),{labelProps:l,inputProps:{...s,checked:u,"aria-required":h&&b==="aria"||void 0,required:h&&b==="native"},isSelected:u,isPressed:d,isDisabled:f,isReadOnly:g,isInvalid:o,validationErrors:a,validationDetails:i}}function Gr(e){return e.split("-")[1]}function Yu(e){return e==="y"?"height":"width"}function dn(e){return e.split("-")[0]}function ir(e){return["top","bottom"].includes(dn(e))?"x":"y"}function Ev(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=ir(t),s=Yu(l),u=r[s]/2-o[s]/2,d=l==="x";let f;switch(dn(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(Gr(t)){case"start":f[l]-=u*(n&&d?-1:1);break;case"end":f[l]+=u*(n&&d?-1:1)}return f}const A2=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}=Ev(u,r,s),g=r,m={},h=0;for(let b=0;b<l.length;b++){const{name:v,fn:$}=l[b],{x:y,y:x,data:S,reset:k}=await $({x:d,y:f,initialPlacement:r,placement:g,strategy:o,middlewareData:m,rects:u,platform:i,elements:{reference:e,floating:t}});d=y??d,f=x??f,m={...m,[v]:{...m[v],...S}},k&&h<=50&&(h++,typeof k=="object"&&(k.placement&&(g=k.placement),k.rects&&(u=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:d,y:f}=Ev(u,g,s)),b=-1)}return{x:d,y:f,placement:g,strategy:o,middlewareData:m}};function fn(e,t){return typeof e=="function"?e(t):e}function Sv(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 pl(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function ua(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:g=!1,padding:m=0}=fn(t,e),h=Sv(m),b=l[g?f==="floating"?"reference":"floating":f],v=pl(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=pl(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 da=Math.min,lr=Math.max;function qu(e,t,n){return lr(e,da(t,n))}const Dv=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}=fn(e,t)||{};if(s==null)return{};const d=Sv(u),f={x:n,y:r},g=ir(o),m=Yu(g),h=await i.getDimensions(s),b=g==="y",v=b?"top":"left",$=b?"bottom":"right",y=b?"clientHeight":"clientWidth",x=a.reference[m]+a.reference[g]-f[g]-a.floating[m],S=f[g]-a.reference[g],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s));let P=k?k[y]:0;P&&await(i.isElement==null?void 0:i.isElement(k))||(P=l.floating[y]||a.floating[m]);const M=x/2-S/2,_=P/2-h[m]/2-1,C=da(d[v],_),N=da(d[$],_),E=C,V=P-h[m]-N,O=P/2-h[m]/2+M,T=qu(E,O,V),U=Gr(o)!=null&&O!=T&&a.reference[m]/2-(O<E?C:N)-h[m]/2<0?O<E?E-O:V-O:0;return{[g]:f[g]-U,data:{[g]:T,centerOffset:O-T+U}}}}),Pv=["top","right","bottom","left"];Pv.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const I2={left:"right",right:"left",bottom:"top",top:"bottom"};function ml(e){return e.replace(/left|right|bottom|top/g,t=>I2[t])}function O2(e,t,n){n===void 0&&(n=!1);const r=Gr(e),o=ir(e),a=Yu(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=ml(i)),{main:i,cross:ml(i)}}const M2={start:"end",end:"start"};function Xu(e){return e.replace(/start|end/g,t=>M2[t])}const F2=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:g="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...b}=fn(e,t),v=dn(r),$=dn(i)===i,y=await(l.isRTL==null?void 0:l.isRTL(s.floating)),x=f||($||!h?[ml(i)]:function(E){const V=ml(E);return[Xu(E),V,Xu(V)]}(i));f||m==="none"||x.push(...function(E,V,O,T){const U=Gr(E);let I=function(Z,j,q){const R=["left","right"],W=["right","left"],B=["top","bottom"],K=["bottom","top"];switch(Z){case"top":case"bottom":return q?j?W:R:j?R:W;case"left":case"right":return j?B:K;default:return[]}}(dn(E),O==="start",T);return U&&(I=I.map(Z=>Z+"-"+U),V&&(I=I.concat(I.map(Xu)))),I}(i,h,m,y));const S=[i,...x],k=await ua(t,b),P=[];let M=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&P.push(k[v]),d){const{main:E,cross:V}=O2(r,a,y);P.push(k[E],k[V])}if(M=[...M,{placement:r,overflows:P}],!P.every(E=>E<=0)){var _,C;const E=(((_=o.flip)==null?void 0:_.index)||0)+1,V=S[E];if(V)return{data:{index:E,overflows:M},reset:{placement:V}};let O=(C=M.filter(T=>T.overflows[0]<=0).sort((T,U)=>T.overflows[1]-U.overflows[1])[0])==null?void 0:C.placement;if(!O)switch(g){case"bestFit":{var N;const T=(N=M.map(U=>[U.placement,U.overflows.filter(I=>I>0).reduce((I,Z)=>I+Z,0)]).sort((U,I)=>U[1]-I[1])[0])==null?void 0:N[0];T&&(O=T);break}case"initialPlacement":O=i}if(r!==O)return{reset:{placement:O}}}return{}}}};function Tv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function kv(e){return Pv.some(t=>e[t]>=0)}const L2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=fn(e,t);switch(r){case"referenceHidden":{const a=Tv(await ua(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:kv(a)}}}case"escaped":{const a=Tv(await ua(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:a,escaped:kv(a)}}}default:return{}}}}},N2=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=dn(l),g=Gr(l),m=ir(l)==="x",h=["left","top"].includes(f)?-1:1,b=d&&m?-1:1,v=fn(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 g&&typeof x=="number"&&(y=g==="end"?-1*x:x),m?{x:y*b,y:$*h}:{x:$*h,y:y*b}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function Cv(e){return e==="x"?"y":"x"}const z2=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}=fn(e,t),u={x:n,y:r},d=await ua(t,s),f=ir(dn(o)),g=Cv(f);let m=u[f],h=u[g];if(a){const v=f==="y"?"bottom":"right";m=qu(m+d[f==="y"?"top":"left"],m,m-d[v])}if(i){const v=g==="y"?"bottom":"right";h=qu(h+d[g==="y"?"top":"left"],h,h-d[v])}const b=l.fn({...t,[f]:m,[g]:h});return{...b,data:{x:b.x-n,y:b.y-r}}}}},R2=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}=fn(e,t),d={x:n,y:r},f=ir(o),g=Cv(f);let m=d[f],h=d[g];const b=fn(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,k=a.reference[f]+a.reference[x]-v.mainAxis;m<S?m=S:m>k&&(m=k)}if(u){var $,y;const x=f==="y"?"width":"height",S=["top","left"].includes(dn(o)),k=a.reference[g]-a.floating[x]+(S&&(($=i.offset)==null?void 0:$[g])||0)+(S?0:v.crossAxis),P=a.reference[g]+a.reference[x]+(S?0:((y=i.offset)==null?void 0:y[g])||0)-(S?v.crossAxis:0);h<k?h=k:h>P&&(h=P)}return{[f]:m,[g]:h}}}},K2=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}=fn(e,t),s=await ua(t,l),u=dn(n),d=Gr(n),f=ir(n)==="x",{width:g,height:m}=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=m-s[h],$=g-s[b],y=!t.middlewareData.shift;let x=v,S=$;if(f){const P=g-s.left-s.right;S=d||y?da($,P):P}else{const P=m-s.top-s.bottom;x=d||y?da(v,P):P}if(y&&!d){const P=lr(s.left,0),M=lr(s.right,0),_=lr(s.top,0),C=lr(s.bottom,0);f?S=g-2*(P!==0||M!==0?P+M:lr(s.left,s.right)):x=m-2*(_!==0||C!==0?_+C:lr(s.top,s.bottom))}await i({...t,availableWidth:S,availableHeight:x});const k=await o.getDimensions(a.floating);return g!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function st(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function jt(e){return st(e).getComputedStyle(e)}function Av(e){return e instanceof st(e).Node}function On(e){return Av(e)?(e.nodeName||"").toLowerCase():"#document"}function kt(e){return e instanceof HTMLElement||e instanceof st(e).HTMLElement}function Iv(e){return typeof ShadowRoot<"u"&&(e instanceof st(e).ShadowRoot||e instanceof ShadowRoot)}function fa(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=jt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function V2(e){return["table","td","th"].includes(On(e))}function Zu(e){const t=Ju(),n=jt(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 Ju(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function gl(e){return["html","body","#document"].includes(On(e))}const Qu=Math.min,Yr=Math.max,hl=Math.round,bl=Math.floor,Mn=e=>({x:e,y:e});function Ov(e){const t=jt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=kt(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=hl(n)!==a||hl(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function pn(e){return e instanceof Element||e instanceof st(e).Element}function ed(e){return pn(e)?e:e.contextElement}function qr(e){const t=ed(e);if(!kt(t))return Mn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Ov(t);let i=(a?hl(n.width):n.width)/r,l=(a?hl(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const B2=Mn(0);function Mv(e){const t=st(e);return Ju()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:B2}function sr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=ed(e);let i=Mn(1);t&&(r?pn(r)&&(i=qr(r)):i=qr(e));const l=function(g,m,h){return m===void 0&&(m=!1),!(!h||m&&h!==st(g))&&m}(a,n,r)?Mv(a):Mn(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 g=st(a),m=r&&pn(r)?st(r):r;let h=g.frameElement;for(;h&&r&&m!==g;){const b=qr(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=st(h).frameElement}}return pl({width:d,height:f,x:s,y:u})}function vl(e){return pn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mn(e){var t;return(t=(Av(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fv(e){return sr(mn(e)).left+vl(e).scrollLeft}function Xr(e){if(On(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Iv(e)&&e.host||mn(e);return Iv(t)?t.host:t}function Lv(e){const t=Xr(e);return gl(t)?e.ownerDocument?e.ownerDocument.body:e.body:kt(t)&&fa(t)?t:Lv(t)}function yl(e,t){var n;t===void 0&&(t=[]);const r=Lv(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=st(r);return o?t.concat(a,a.visualViewport||[],fa(r)?r:[]):t.concat(r,yl(r))}function Nv(e,t,n){let r;if(t==="viewport")r=function(o,a){const i=st(o),l=mn(o),s=i.visualViewport;let u=l.clientWidth,d=l.clientHeight,f=0,g=0;if(s){u=s.width,d=s.height;const m=Ju();(!m||m&&a==="fixed")&&(f=s.offsetLeft,g=s.offsetTop)}return{width:u,height:d,x:f,y:g}}(e,n);else if(t==="document")r=function(o){const a=mn(o),i=vl(o),l=o.ownerDocument.body,s=Yr(a.scrollWidth,a.clientWidth,l.scrollWidth,l.clientWidth),u=Yr(a.scrollHeight,a.clientHeight,l.scrollHeight,l.clientHeight);let d=-i.scrollLeft+Fv(o);const f=-i.scrollTop;return jt(l).direction==="rtl"&&(d+=Yr(a.clientWidth,l.clientWidth)-s),{width:s,height:u,x:d,y:f}}(mn(e));else if(pn(t))r=function(o,a){const i=sr(o,!0,a==="fixed"),l=i.top+o.clientTop,s=i.left+o.clientLeft,u=kt(o)?qr(o):Mn(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=Mv(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return pl(r)}function zv(e,t){const n=Xr(e);return!(n===t||!pn(n)||gl(n))&&(jt(n).position==="fixed"||zv(n,t))}function j2(e,t,n){const r=kt(t),o=mn(t),a=n==="fixed",i=sr(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=Mn(0);if(r||!r&&!a)if((On(t)!=="body"||fa(o))&&(l=vl(t)),kt(t)){const u=sr(t,!0,a,t);s.x=u.x+t.clientLeft,s.y=u.y+t.clientTop}else o&&(s.x=Fv(o));return{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Rv(e,t){return kt(e)&&jt(e).position!=="fixed"?t?t(e):e.offsetParent:null}function Kv(e,t){const n=st(e);if(!kt(e))return n;let r=Rv(e,t);for(;r&&V2(r)&&jt(r).position==="static";)r=Rv(r,t);return r&&(On(r)==="html"||On(r)==="body"&&jt(r).position==="static"&&!Zu(r))?n:r||function(o){let a=Xr(o);for(;kt(a)&&!gl(a);){if(Zu(a))return a;a=Xr(a)}return null}(e)||n}const U2={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=kt(n),a=mn(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},l=Mn(1);const s=Mn(0);if((o||!o&&r!=="fixed")&&((On(n)!=="body"||fa(a))&&(i=vl(n)),kt(n))){const u=sr(n);l=qr(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:mn,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=yl(s).filter(b=>pn(b)&&On(b)!=="body"),g=null;const m=jt(s).position==="fixed";let h=m?Xr(s):s;for(;pn(h)&&!gl(h);){const b=jt(h),v=Zu(h);v||b.position!=="fixed"||(g=null),(m?!v&&!g:!v&&b.position==="static"&&g&&["absolute","fixed"].includes(g.position)||fa(h)&&!v&&zv(s,h))?f=f.filter($=>$!==h):g=b,h=Xr(h)}return u.set(s,f),f}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((s,u)=>{const d=Nv(t,u,o);return s.top=Yr(d.top,s.top),s.right=Qu(d.right,s.right),s.bottom=Qu(d.bottom,s.bottom),s.left=Yr(d.left,s.left),s},Nv(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Kv,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Kv,a=this.getDimensions;return{reference:j2(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 Ov(e)},getScale:qr,isElement:pn,isRTL:function(e){return getComputedStyle(e).direction==="rtl"}};function W2(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=ed(e),d=o||a?[...u?yl(u):[],...yl(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=mn(v);function k(){clearTimeout(y),x&&x.disconnect(),x=null}return function P(M,_){M===void 0&&(M=!1),_===void 0&&(_=1),k();const{left:C,top:N,width:E,height:V}=v.getBoundingClientRect();if(M||$(),!E||!V)return;const O={rootMargin:-bl(N)+"px "+-bl(S.clientWidth-(C+E))+"px "+-bl(S.clientHeight-(N+V))+"px "+-bl(C)+"px",threshold:Yr(0,Qu(1,_))||1};let T=!0;function U(I){const Z=I[0].intersectionRatio;if(Z!==_){if(!T)return P();Z?P(!1,Z):y=setTimeout(()=>{P(!1,1e-7)},100)}T=!1}try{x=new IntersectionObserver(U,{...O,root:S.ownerDocument})}catch{x=new IntersectionObserver(U,O)}x.observe(v)}(!0),k}(u,n):null;let g,m=-1,h=null;i&&(h=new ResizeObserver(v=>{let[$]=v;$&&$.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{h&&h.observe(t)})),n()}),u&&!s&&h.observe(u),h.observe(t));let b=s?sr(e):null;return s&&function v(){const $=sr(e);!b||$.x===b.x&&$.y===b.y&&$.width===b.width&&$.height===b.height||n(),b=$,g=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(g)}}const H2=(e,t,n)=>{const r=new Map,o={platform:U2,...n},a={...o.platform,_c:r};return A2(e,t,{...o,platform:a})},G2=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?Dv({element:r.current,padding:o}).fn(n):{}:r?Dv({element:r,padding:o}).fn(n):{}}}};var $l=typeof document<"u"?c.useLayoutEffect:c.useEffect;function _l(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(!_l(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)&&!_l(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Vv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Bv(e,t){const n=Vv(e);return Math.round(t*n)/n}function jv(e){const t=D.useRef(e);return $l(()=>{t.current=e}),t}function Y2(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}),[g,m]=D.useState(r);_l(g,r)||m(r);const[h,b]=D.useState(null),[v,$]=D.useState(null),y=D.useCallback(I=>{I!=P.current&&(P.current=I,b(I))},[b]),x=D.useCallback(I=>{I!==M.current&&(M.current=I,$(I))},[$]),S=a||h,k=i||v,P=D.useRef(null),M=D.useRef(null),_=D.useRef(d),C=jv(s),N=jv(o),E=D.useCallback(()=>{if(!P.current||!M.current)return;const I={placement:t,strategy:n,middleware:g};N.current&&(I.platform=N.current),H2(P.current,M.current,I).then(Z=>{const j={...Z,isPositioned:!0};V.current&&!_l(_.current,j)&&(_.current=j,Ht.flushSync(()=>{f(j)}))})},[g,t,n,N]);$l(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,f(I=>({...I,isPositioned:!1})))},[u]);const V=D.useRef(!1);$l(()=>(V.current=!0,()=>{V.current=!1}),[]),$l(()=>{if(S&&(P.current=S),k&&(M.current=k),S&&k){if(C.current)return C.current(S,k,E);E()}},[S,k,E,C]);const O=D.useMemo(()=>({reference:P,floating:M,setReference:y,setFloating:x}),[y,x]),T=D.useMemo(()=>({reference:S,floating:k}),[S,k]),U=D.useMemo(()=>{const I={position:n,left:0,top:0};if(!T.floating)return I;const Z=Bv(T.floating,d.x),j=Bv(T.floating,d.y);return l?{...I,transform:"translate("+Z+"px, "+j+"px)",...Vv(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Z,top:j}},[n,l,T.floating,d.x,d.y]);return D.useMemo(()=>({...d,update:E,refs:O,elements:T,floatingStyles:U}),[d,E,O,T,U])}const q2=c.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return c.createElement(de.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 td(e){const[t,n]=c.useState(void 0);return vn(()=>{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 Uv="Popper",[Wv,Zr]=Ve(Uv),[X2,Hv]=Wv(Uv),Z2=e=>{const{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return c.createElement(X2,{scope:t,anchor:r,onAnchorChange:o},n)},J2="PopperAnchor",Q2=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=Hv(J2,n),i=c.useRef(null),l=xe(t,i);return c.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:c.createElement(de.div,L({},o,{ref:l}))}),Gv="PopperContent",[e9,t9]=Wv(Gv),n9=c.forwardRef((e,t)=>{var n,r,o,a,i,l,s,u;const{__scopePopper:d,side:f="bottom",sideOffset:g=0,align:m="center",alignOffset:h=0,arrowPadding:b=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:S=!0,onPlaced:k,...P}=e,M=Hv(Gv,d),[_,C]=c.useState(null),N=xe(t,ce=>C(ce)),[E,V]=c.useState(null),O=td(E),T=(n=O==null?void 0:O.width)!==null&&n!==void 0?n:0,U=(r=O==null?void 0:O.height)!==null&&r!==void 0?r:0,I=f+(m!=="center"?"-"+m:""),Z=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},j=Array.isArray(v)?v:[v],q=j.length>0,R={padding:Z,boundary:j.filter(i9),altBoundary:q},{refs:W,floatingStyles:B,placement:K,isPositioned:H,middlewareData:ne}=Y2({strategy:"fixed",placement:I,whileElementsMounted:W2,elements:{reference:M.anchor},middleware:[N2({mainAxis:g+U,alignmentAxis:h}),S&&z2({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?R2():void 0,...R}),S&&F2({...R}),K2({...R,apply:({elements:ce,rects:Ie,availableWidth:Wt,availableHeight:Kn})=>{const{width:gn,height:vt}=Ie.reference,yt=ce.floating.style;yt.setProperty("--radix-popper-available-width",`${Wt}px`),yt.setProperty("--radix-popper-available-height",`${Kn}px`),yt.setProperty("--radix-popper-anchor-width",`${gn}px`),yt.setProperty("--radix-popper-anchor-height",`${vt}px`)}}),E&&G2({element:E,padding:b}),l9({arrowWidth:T,arrowHeight:U}),x&&L2({strategy:"referenceHidden"})]}),[re,le]=Yv(K),X=Ue(k);vn(()=>{H&&(X==null||X())},[H,X]);const J=(o=ne.arrow)===null||o===void 0?void 0:o.x,se=(a=ne.arrow)===null||a===void 0?void 0:a.y,he=((i=ne.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Y,te]=c.useState();return vn(()=>{_&&te(window.getComputedStyle(_).zIndex)},[_]),c.createElement("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:H?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Y,"--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(e9,{scope:d,placedSide:re,onArrowChange:V,arrowX:J,arrowY:se,shouldHideArrow:he},c.createElement(de.div,L({"data-side":re,"data-align":le},P,{ref:N,style:{...P.style,animation:H?void 0:"none",opacity:(u=ne.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),r9="PopperArrow",o9={top:"bottom",right:"left",bottom:"top",left:"right"},a9=c.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=t9(r9,r),i=o9[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(q2,L({},o,{ref:n,style:{...o.style,display:"block"}})))});function i9(e){return e!==null}const l9=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,g=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[h,b]=Yv(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)+g/2,y=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let x="",S="";return h==="bottom"?(x=f?v:`${$}px`,S=`${-m}px`):h==="top"?(x=f?v:`${$}px`,S=`${s.floating.height+m}px`):h==="right"?(x=`${-m}px`,S=f?v:`${y}px`):h==="left"&&(x=`${s.floating.width+m}px`,S=f?v:`${y}px`),{data:{x,y:S}}}});function Yv(e){const[t,n="center"]=e.split("-");return[t,n]}const xl=Z2,nd=Q2,rd=n9,od=a9,[wl,YV]=Ve("Tooltip",[Zr]),El=Zr(),s9="TooltipProvider",c9=700,ad="tooltip.open",[u9,id]=wl(s9),d9=e=>{const{__scopeTooltip:t,delayDuration:n=c9,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(u9,{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)},ld="Tooltip",[f9,pa]=wl(ld),p9=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:l}=e,s=id(ld,e.__scopeTooltip),u=El(t),[d,f]=c.useState(null),g=ot(),m=c.useRef(0),h=i??s.disableHoverableContent,b=l??s.delayDuration,v=c.useRef(!1),[$=!1,y]=We({prop:r,defaultProp:o,onChange:M=>{M?(s.onOpen(),document.dispatchEvent(new CustomEvent(ad))):s.onClose(),a==null||a(M)}}),x=c.useMemo(()=>$?v.current?"delayed-open":"instant-open":"closed",[$]),S=c.useCallback(()=>{window.clearTimeout(m.current),v.current=!1,y(!0)},[y]),k=c.useCallback(()=>{window.clearTimeout(m.current),y(!1)},[y]),P=c.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,y(!0)},b)},[b,y]);return c.useEffect(()=>()=>window.clearTimeout(m.current),[]),c.createElement(xl,u,c.createElement(f9,{scope:t,contentId:g,open:$,stateAttribute:x,trigger:d,onTriggerChange:f,onTriggerEnter:c.useCallback(()=>{s.isOpenDelayed?P():S()},[s.isOpenDelayed,P,S]),onTriggerLeave:c.useCallback(()=>{h?k():window.clearTimeout(m.current)},[k,h]),onOpen:S,onClose:k,disableHoverableContent:h},n))},qv="TooltipTrigger",m9=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=pa(qv,n),a=id(qv,n),i=El(n),l=c.useRef(null),s=xe(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(nd,L({asChild:!0},i),c.createElement(de.button,L({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:s,onPointerMove:ae(e.onPointerMove,g=>{g.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:ae(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:ae(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ae(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ae(e.onBlur,o.onClose),onClick:ae(e.onClick,o.onClose)})))}),Xv="TooltipPortal",[g9,h9]=wl(Xv,{forceMount:void 0}),b9=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=pa(Xv,t);return c.createElement(g9,{scope:t,forceMount:n},c.createElement(He,{present:n||a.open},c.createElement(Do,{asChild:!0,container:o},r)))},ma="TooltipContent",v9=c.forwardRef((e,t)=>{const n=h9(ma,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=pa(ma,e.__scopeTooltip);return c.createElement(He,{present:r||i.open},i.disableHoverableContent?c.createElement(Zv,L({side:o},a,{ref:t})):c.createElement(y9,L({side:o},a,{ref:t})))}),y9=c.forwardRef((e,t)=>{const n=pa(ma,e.__scopeTooltip),r=id(ma,e.__scopeTooltip),o=c.useRef(null),a=xe(t,o),[i,l]=c.useState(null),{trigger:s,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,g=c.useCallback(()=>{l(null),f(!1)},[f]),m=c.useCallback((h,b)=>{const v=h.currentTarget,$={x:h.clientX,y:h.clientY},y=E9($,v.getBoundingClientRect()),x=S9($,y),S=D9(b.getBoundingClientRect()),k=T9([...x,...S]);l(k),f(!0)},[f]);return c.useEffect(()=>()=>g(),[g]),c.useEffect(()=>{if(s&&d){const h=v=>m(v,d),b=v=>m(v,s);return s.addEventListener("pointerleave",h),d.addEventListener("pointerleave",b),()=>{s.removeEventListener("pointerleave",h),d.removeEventListener("pointerleave",b)}}},[s,d,m,g]),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=!P9($,i);y?g():x&&(g(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[s,d,i,u,g]),c.createElement(Zv,L({},e,{ref:a}))}),[$9,_9]=wl(ld,{isInside:!1}),Zv=c.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...l}=e,s=pa(ma,n),u=El(n),{onClose:d}=s;return c.useEffect(()=>(document.addEventListener(ad,d),()=>document.removeEventListener(ad,d)),[d]),c.useEffect(()=>{if(s.trigger){const f=g=>{const m=g.target;m!=null&&m.contains(s.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[s.trigger,d]),c.createElement(So,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d},c.createElement(rd,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(ds,null,r),c.createElement($9,{scope:n,isInside:!0},c.createElement(fp,{id:s.contentId,role:"tooltip"},o||r))))}),x9="TooltipArrow",w9=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=El(n);return _9(x9,n).isInside?null:c.createElement(od,L({},o,r,{ref:t}))});function E9(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 S9(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 D9(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 P9(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 T9(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),k9(t)}function k9(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 C9=d9,A9=p9,I9=m9,O9=b9,M9=v9,F9=w9,L9=ue.keyframes`
1390
+ `,$2={xsmall:g2,small:h2,medium:b2,large:v2,xlarge:y2};function Be({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=$2[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 _2(e,t,n){let{validationBehavior:r,focus:o}=e;Ae(()=>{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(w2(n.current))}});let a=Oe(()=>{t.resetValidation()}),i=Oe(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&&E2(d)===n.current){var f;o?o():(f=n.current)===null||f===void 0||f.focus(),jc("keyboard")}s.preventDefault()}),l=Oe(()=>{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 x2(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 w2(e){return{isInvalid:!e.validity.valid,validationDetails:x2(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function E2(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}const vv={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},yv={...vv,customError:!0,valid:!1},ca={isInvalid:!1,validationDetails:vv,validationErrors:[]},S2=c.createContext({}),$v="__formValidationState"+Date.now();function _v(e){if(e[$v]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}=e[$v];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}}return D2(e)}function D2(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:yv}:null,u=c.useMemo(()=>xv(P2(i,o)),[i,o]);a!=null&&a.validationDetails.valid&&(a=null);let d=c.useContext(S2),f=c.useMemo(()=>r?Array.isArray(r)?r.flatMap(N=>Hu(d[N])):Hu(d[r]):[],[d,r]),[g,m]=c.useState(d),[h,b]=c.useState(!1);d!==g&&(m(d),b(!1));let v=c.useMemo(()=>xv(h?[]:f),[h,f]),$=c.useRef(ca),[y,x]=c.useState(ca),S=c.useRef(ca),k=()=>{if(!P)return;M(!1);let N=u||a||$.current;Gu(N,S.current)||(S.current=N,x(N))},[P,M]=c.useState(!1);return c.useEffect(k),{realtimeValidation:s||v||u||a||ca,displayValidation:l==="native"?s||v||y:s||v||u||a||y,updateValidation(N){l==="aria"&&!Gu(y,N)?x(N):$.current=N},resetValidation(){let N=ca;Gu(N,S.current)||(S.current=N,x(N)),l==="native"&&M(!1),b(!0)},commitValidation(){l==="native"&&M(!0),b(!0)}}}function Hu(e){return e?Array.isArray(e)?e:[e]:[]}function P2(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return Hu(n)}return[]}function xv(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:yv}:null}function Gu(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 T2(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,g=P=>{P.stopPropagation(),t.setSelected(P.target.checked)},m=l!=null,h=s!=null||u!=null;!m&&!h&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:b,isPressed:v}=Ir({isDisabled:r}),{pressProps:$,isPressed:y}=Ir({isDisabled:r||o,onPress(){t.toggle()}}),{focusableProps:x}=Qc(e,n),S=ve(b,x),k=Sn(e,{labelable:!0});return nk(n,t.isSelected,t.setSelected),{labelProps:ve($,{onClick:P=>P.preventDefault()}),inputProps:ve(k,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:g,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 wv(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:a="label"}=e;t=mt(t);let i=mt(),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=kr({id:t,"aria-label":o,"aria-labelledby":r});return{labelProps:l,fieldProps:s}}function fl(e){let{description:t,errorMessage:n,isInvalid:r,validationState:o}=e,{labelProps:a,fieldProps:i}=wv(e),l=Mo([!!t,!!n,r,o]),s=Mo([!!t,!!n,r,o]);return i=ve(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function k2(e={}){let{isReadOnly:t}=e,[n,r]=Ut(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 C2(e,t,n){let r=_v({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:i}=r.displayValidation,{labelProps:l,inputProps:s,isSelected:u,isPressed:d,isDisabled:f,isReadOnly:g}=T2({...e,isInvalid:o},t,n);_2(e,r,n);let{isIndeterminate:m,isRequired:h,validationBehavior:b="aria"}=e;return c.useEffect(()=>{n.current&&(n.current.indeterminate=!!m)}),{labelProps:l,inputProps:{...s,checked:u,"aria-required":h&&b==="aria"||void 0,required:h&&b==="native"},isSelected:u,isPressed:d,isDisabled:f,isReadOnly:g,isInvalid:o,validationErrors:a,validationDetails:i}}function Yr(e){return e.split("-")[1]}function Yu(e){return e==="y"?"height":"width"}function pn(e){return e.split("-")[0]}function lr(e){return["top","bottom"].includes(pn(e))?"x":"y"}function Ev(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=lr(t),s=Yu(l),u=r[s]/2-o[s]/2,d=l==="x";let f;switch(pn(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(Yr(t)){case"start":f[l]-=u*(n&&d?-1:1);break;case"end":f[l]+=u*(n&&d?-1:1)}return f}const A2=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}=Ev(u,r,s),g=r,m={},h=0;for(let b=0;b<l.length;b++){const{name:v,fn:$}=l[b],{x:y,y:x,data:S,reset:k}=await $({x:d,y:f,initialPlacement:r,placement:g,strategy:o,middlewareData:m,rects:u,platform:i,elements:{reference:e,floating:t}});d=y??d,f=x??f,m={...m,[v]:{...m[v],...S}},k&&h<=50&&(h++,typeof k=="object"&&(k.placement&&(g=k.placement),k.rects&&(u=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:d,y:f}=Ev(u,g,s)),b=-1)}return{x:d,y:f,placement:g,strategy:o,middlewareData:m}};function mn(e,t){return typeof e=="function"?e(t):e}function Sv(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 pl(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function ua(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:g=!1,padding:m=0}=mn(t,e),h=Sv(m),b=l[g?f==="floating"?"reference":"floating":f],v=pl(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=pl(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 da=Math.min,sr=Math.max;function qu(e,t,n){return sr(e,da(t,n))}const Dv=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}=mn(e,t)||{};if(s==null)return{};const d=Sv(u),f={x:n,y:r},g=lr(o),m=Yu(g),h=await i.getDimensions(s),b=g==="y",v=b?"top":"left",$=b?"bottom":"right",y=b?"clientHeight":"clientWidth",x=a.reference[m]+a.reference[g]-f[g]-a.floating[m],S=f[g]-a.reference[g],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s));let P=k?k[y]:0;P&&await(i.isElement==null?void 0:i.isElement(k))||(P=l.floating[y]||a.floating[m]);const M=x/2-S/2,_=P/2-h[m]/2-1,C=da(d[v],_),N=da(d[$],_),E=C,V=P-h[m]-N,O=P/2-h[m]/2+M,T=qu(E,O,V),U=Yr(o)!=null&&O!=T&&a.reference[m]/2-(O<E?C:N)-h[m]/2<0?O<E?E-O:V-O:0;return{[g]:f[g]-U,data:{[g]:T,centerOffset:O-T+U}}}}),Pv=["top","right","bottom","left"];Pv.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const I2={left:"right",right:"left",bottom:"top",top:"bottom"};function ml(e){return e.replace(/left|right|bottom|top/g,t=>I2[t])}function O2(e,t,n){n===void 0&&(n=!1);const r=Yr(e),o=lr(e),a=Yu(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=ml(i)),{main:i,cross:ml(i)}}const M2={start:"end",end:"start"};function Xu(e){return e.replace(/start|end/g,t=>M2[t])}const F2=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:g="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...b}=mn(e,t),v=pn(r),$=pn(i)===i,y=await(l.isRTL==null?void 0:l.isRTL(s.floating)),x=f||($||!h?[ml(i)]:function(E){const V=ml(E);return[Xu(E),V,Xu(V)]}(i));f||m==="none"||x.push(...function(E,V,O,T){const U=Yr(E);let I=function(X,j,Y){const z=["left","right"],W=["right","left"],B=["top","bottom"],K=["bottom","top"];switch(X){case"top":case"bottom":return Y?j?W:z:j?z:W;case"left":case"right":return j?B:K;default:return[]}}(pn(E),O==="start",T);return U&&(I=I.map(X=>X+"-"+U),V&&(I=I.concat(I.map(Xu)))),I}(i,h,m,y));const S=[i,...x],k=await ua(t,b),P=[];let M=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&P.push(k[v]),d){const{main:E,cross:V}=O2(r,a,y);P.push(k[E],k[V])}if(M=[...M,{placement:r,overflows:P}],!P.every(E=>E<=0)){var _,C;const E=(((_=o.flip)==null?void 0:_.index)||0)+1,V=S[E];if(V)return{data:{index:E,overflows:M},reset:{placement:V}};let O=(C=M.filter(T=>T.overflows[0]<=0).sort((T,U)=>T.overflows[1]-U.overflows[1])[0])==null?void 0:C.placement;if(!O)switch(g){case"bestFit":{var N;const T=(N=M.map(U=>[U.placement,U.overflows.filter(I=>I>0).reduce((I,X)=>I+X,0)]).sort((U,I)=>U[1]-I[1])[0])==null?void 0:N[0];T&&(O=T);break}case"initialPlacement":O=i}if(r!==O)return{reset:{placement:O}}}return{}}}};function Tv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function kv(e){return Pv.some(t=>e[t]>=0)}const L2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=mn(e,t);switch(r){case"referenceHidden":{const a=Tv(await ua(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:kv(a)}}}case"escaped":{const a=Tv(await ua(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:a,escaped:kv(a)}}}default:return{}}}}},N2=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=pn(l),g=Yr(l),m=lr(l)==="x",h=["left","top"].includes(f)?-1:1,b=d&&m?-1:1,v=mn(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 g&&typeof x=="number"&&(y=g==="end"?-1*x:x),m?{x:y*b,y:$*h}:{x:$*h,y:y*b}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function Cv(e){return e==="x"?"y":"x"}const z2=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}=mn(e,t),u={x:n,y:r},d=await ua(t,s),f=lr(pn(o)),g=Cv(f);let m=u[f],h=u[g];if(a){const v=f==="y"?"bottom":"right";m=qu(m+d[f==="y"?"top":"left"],m,m-d[v])}if(i){const v=g==="y"?"bottom":"right";h=qu(h+d[g==="y"?"top":"left"],h,h-d[v])}const b=l.fn({...t,[f]:m,[g]:h});return{...b,data:{x:b.x-n,y:b.y-r}}}}},R2=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}=mn(e,t),d={x:n,y:r},f=lr(o),g=Cv(f);let m=d[f],h=d[g];const b=mn(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,k=a.reference[f]+a.reference[x]-v.mainAxis;m<S?m=S:m>k&&(m=k)}if(u){var $,y;const x=f==="y"?"width":"height",S=["top","left"].includes(pn(o)),k=a.reference[g]-a.floating[x]+(S&&(($=i.offset)==null?void 0:$[g])||0)+(S?0:v.crossAxis),P=a.reference[g]+a.reference[x]+(S?0:((y=i.offset)==null?void 0:y[g])||0)-(S?v.crossAxis:0);h<k?h=k:h>P&&(h=P)}return{[f]:m,[g]:h}}}},K2=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}=mn(e,t),s=await ua(t,l),u=pn(n),d=Yr(n),f=lr(n)==="x",{width:g,height:m}=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=m-s[h],$=g-s[b],y=!t.middlewareData.shift;let x=v,S=$;if(f){const P=g-s.left-s.right;S=d||y?da($,P):P}else{const P=m-s.top-s.bottom;x=d||y?da(v,P):P}if(y&&!d){const P=sr(s.left,0),M=sr(s.right,0),_=sr(s.top,0),C=sr(s.bottom,0);f?S=g-2*(P!==0||M!==0?P+M:sr(s.left,s.right)):x=m-2*(_!==0||C!==0?_+C:sr(s.top,s.bottom))}await i({...t,availableWidth:S,availableHeight:x});const k=await o.getDimensions(a.floating);return g!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ht(e){return ut(e).getComputedStyle(e)}function Av(e){return e instanceof ut(e).Node}function On(e){return Av(e)?(e.nodeName||"").toLowerCase():"#document"}function At(e){return e instanceof HTMLElement||e instanceof ut(e).HTMLElement}function Iv(e){return typeof ShadowRoot<"u"&&(e instanceof ut(e).ShadowRoot||e instanceof ShadowRoot)}function fa(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ht(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function V2(e){return["table","td","th"].includes(On(e))}function Zu(e){const t=Ju(),n=Ht(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 Ju(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function gl(e){return["html","body","#document"].includes(On(e))}const Qu=Math.min,qr=Math.max,hl=Math.round,bl=Math.floor,Mn=e=>({x:e,y:e});function Ov(e){const t=Ht(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=At(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=hl(n)!==a||hl(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function gn(e){return e instanceof Element||e instanceof ut(e).Element}function ed(e){return gn(e)?e:e.contextElement}function Xr(e){const t=ed(e);if(!At(t))return Mn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Ov(t);let i=(a?hl(n.width):n.width)/r,l=(a?hl(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const B2=Mn(0);function Mv(e){const t=ut(e);return Ju()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:B2}function cr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=ed(e);let i=Mn(1);t&&(r?gn(r)&&(i=Xr(r)):i=Xr(e));const l=function(g,m,h){return m===void 0&&(m=!1),!(!h||m&&h!==ut(g))&&m}(a,n,r)?Mv(a):Mn(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 g=ut(a),m=r&&gn(r)?ut(r):r;let h=g.frameElement;for(;h&&r&&m!==g;){const b=Xr(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=ut(h).frameElement}}return pl({width:d,height:f,x:s,y:u})}function vl(e){return gn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function hn(e){var t;return(t=(Av(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fv(e){return cr(hn(e)).left+vl(e).scrollLeft}function Zr(e){if(On(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Iv(e)&&e.host||hn(e);return Iv(t)?t.host:t}function Lv(e){const t=Zr(e);return gl(t)?e.ownerDocument?e.ownerDocument.body:e.body:At(t)&&fa(t)?t:Lv(t)}function yl(e,t){var n;t===void 0&&(t=[]);const r=Lv(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=ut(r);return o?t.concat(a,a.visualViewport||[],fa(r)?r:[]):t.concat(r,yl(r))}function Nv(e,t,n){let r;if(t==="viewport")r=function(o,a){const i=ut(o),l=hn(o),s=i.visualViewport;let u=l.clientWidth,d=l.clientHeight,f=0,g=0;if(s){u=s.width,d=s.height;const m=Ju();(!m||m&&a==="fixed")&&(f=s.offsetLeft,g=s.offsetTop)}return{width:u,height:d,x:f,y:g}}(e,n);else if(t==="document")r=function(o){const a=hn(o),i=vl(o),l=o.ownerDocument.body,s=qr(a.scrollWidth,a.clientWidth,l.scrollWidth,l.clientWidth),u=qr(a.scrollHeight,a.clientHeight,l.scrollHeight,l.clientHeight);let d=-i.scrollLeft+Fv(o);const f=-i.scrollTop;return Ht(l).direction==="rtl"&&(d+=qr(a.clientWidth,l.clientWidth)-s),{width:s,height:u,x:d,y:f}}(hn(e));else if(gn(t))r=function(o,a){const i=cr(o,!0,a==="fixed"),l=i.top+o.clientTop,s=i.left+o.clientLeft,u=At(o)?Xr(o):Mn(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=Mv(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return pl(r)}function zv(e,t){const n=Zr(e);return!(n===t||!gn(n)||gl(n))&&(Ht(n).position==="fixed"||zv(n,t))}function j2(e,t,n){const r=At(t),o=hn(t),a=n==="fixed",i=cr(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=Mn(0);if(r||!r&&!a)if((On(t)!=="body"||fa(o))&&(l=vl(t)),At(t)){const u=cr(t,!0,a,t);s.x=u.x+t.clientLeft,s.y=u.y+t.clientTop}else o&&(s.x=Fv(o));return{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Rv(e,t){return At(e)&&Ht(e).position!=="fixed"?t?t(e):e.offsetParent:null}function Kv(e,t){const n=ut(e);if(!At(e))return n;let r=Rv(e,t);for(;r&&V2(r)&&Ht(r).position==="static";)r=Rv(r,t);return r&&(On(r)==="html"||On(r)==="body"&&Ht(r).position==="static"&&!Zu(r))?n:r||function(o){let a=Zr(o);for(;At(a)&&!gl(a);){if(Zu(a))return a;a=Zr(a)}return null}(e)||n}const U2={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=At(n),a=hn(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},l=Mn(1);const s=Mn(0);if((o||!o&&r!=="fixed")&&((On(n)!=="body"||fa(a))&&(i=vl(n)),At(n))){const u=cr(n);l=Xr(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:hn,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=yl(s).filter(b=>gn(b)&&On(b)!=="body"),g=null;const m=Ht(s).position==="fixed";let h=m?Zr(s):s;for(;gn(h)&&!gl(h);){const b=Ht(h),v=Zu(h);v||b.position!=="fixed"||(g=null),(m?!v&&!g:!v&&b.position==="static"&&g&&["absolute","fixed"].includes(g.position)||fa(h)&&!v&&zv(s,h))?f=f.filter($=>$!==h):g=b,h=Zr(h)}return u.set(s,f),f}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((s,u)=>{const d=Nv(t,u,o);return s.top=qr(d.top,s.top),s.right=Qu(d.right,s.right),s.bottom=Qu(d.bottom,s.bottom),s.left=qr(d.left,s.left),s},Nv(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Kv,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Kv,a=this.getDimensions;return{reference:j2(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 Ov(e)},getScale:Xr,isElement:gn,isRTL:function(e){return getComputedStyle(e).direction==="rtl"}};function W2(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=ed(e),d=o||a?[...u?yl(u):[],...yl(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=hn(v);function k(){clearTimeout(y),x&&x.disconnect(),x=null}return function P(M,_){M===void 0&&(M=!1),_===void 0&&(_=1),k();const{left:C,top:N,width:E,height:V}=v.getBoundingClientRect();if(M||$(),!E||!V)return;const O={rootMargin:-bl(N)+"px "+-bl(S.clientWidth-(C+E))+"px "+-bl(S.clientHeight-(N+V))+"px "+-bl(C)+"px",threshold:qr(0,Qu(1,_))||1};let T=!0;function U(I){const X=I[0].intersectionRatio;if(X!==_){if(!T)return P();X?P(!1,X):y=setTimeout(()=>{P(!1,1e-7)},100)}T=!1}try{x=new IntersectionObserver(U,{...O,root:S.ownerDocument})}catch{x=new IntersectionObserver(U,O)}x.observe(v)}(!0),k}(u,n):null;let g,m=-1,h=null;i&&(h=new ResizeObserver(v=>{let[$]=v;$&&$.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{h&&h.observe(t)})),n()}),u&&!s&&h.observe(u),h.observe(t));let b=s?cr(e):null;return s&&function v(){const $=cr(e);!b||$.x===b.x&&$.y===b.y&&$.width===b.width&&$.height===b.height||n(),b=$,g=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(g)}}const H2=(e,t,n)=>{const r=new Map,o={platform:U2,...n},a={...o.platform,_c:r};return A2(e,t,{...o,platform:a})},G2=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?Dv({element:r.current,padding:o}).fn(n):{}:r?Dv({element:r,padding:o}).fn(n):{}}}};var $l=typeof document<"u"?c.useLayoutEffect:c.useEffect;function _l(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(!_l(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)&&!_l(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Vv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Bv(e,t){const n=Vv(e);return Math.round(t*n)/n}function jv(e){const t=D.useRef(e);return $l(()=>{t.current=e}),t}function Y2(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}),[g,m]=D.useState(r);_l(g,r)||m(r);const[h,b]=D.useState(null),[v,$]=D.useState(null),y=D.useCallback(I=>{I!=P.current&&(P.current=I,b(I))},[b]),x=D.useCallback(I=>{I!==M.current&&(M.current=I,$(I))},[$]),S=a||h,k=i||v,P=D.useRef(null),M=D.useRef(null),_=D.useRef(d),C=jv(s),N=jv(o),E=D.useCallback(()=>{if(!P.current||!M.current)return;const I={placement:t,strategy:n,middleware:g};N.current&&(I.platform=N.current),H2(P.current,M.current,I).then(X=>{const j={...X,isPositioned:!0};V.current&&!_l(_.current,j)&&(_.current=j,Yt.flushSync(()=>{f(j)}))})},[g,t,n,N]);$l(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,f(I=>({...I,isPositioned:!1})))},[u]);const V=D.useRef(!1);$l(()=>(V.current=!0,()=>{V.current=!1}),[]),$l(()=>{if(S&&(P.current=S),k&&(M.current=k),S&&k){if(C.current)return C.current(S,k,E);E()}},[S,k,E,C]);const O=D.useMemo(()=>({reference:P,floating:M,setReference:y,setFloating:x}),[y,x]),T=D.useMemo(()=>({reference:S,floating:k}),[S,k]),U=D.useMemo(()=>{const I={position:n,left:0,top:0};if(!T.floating)return I;const X=Bv(T.floating,d.x),j=Bv(T.floating,d.y);return l?{...I,transform:"translate("+X+"px, "+j+"px)",...Vv(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:X,top:j}},[n,l,T.floating,d.x,d.y]);return D.useMemo(()=>({...d,update:E,refs:O,elements:T,floatingStyles:U}),[d,E,O,T,U])}const q2=c.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return c.createElement(de.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 td(e){const[t,n]=c.useState(void 0);return vn(()=>{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 Uv="Popper",[Wv,Jr]=je(Uv),[X2,Hv]=Wv(Uv),Z2=e=>{const{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return c.createElement(X2,{scope:t,anchor:r,onAnchorChange:o},n)},J2="PopperAnchor",Q2=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=Hv(J2,n),i=c.useRef(null),l=Ee(t,i);return c.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:c.createElement(de.div,L({},o,{ref:l}))}),Gv="PopperContent",[e9,t9]=Wv(Gv),n9=c.forwardRef((e,t)=>{var n,r,o,a,i,l,s,u;const{__scopePopper:d,side:f="bottom",sideOffset:g=0,align:m="center",alignOffset:h=0,arrowPadding:b=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:S=!0,onPlaced:k,...P}=e,M=Hv(Gv,d),[_,C]=c.useState(null),N=Ee(t,Q=>C(Q)),[E,V]=c.useState(null),O=td(E),T=(n=O==null?void 0:O.width)!==null&&n!==void 0?n:0,U=(r=O==null?void 0:O.height)!==null&&r!==void 0?r:0,I=f+(m!=="center"?"-"+m:""),X=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},j=Array.isArray(v)?v:[v],Y=j.length>0,z={padding:X,boundary:j.filter(i9),altBoundary:Y},{refs:W,floatingStyles:B,placement:K,isPositioned:H,middlewareData:te}=Y2({strategy:"fixed",placement:I,whileElementsMounted:W2,elements:{reference:M.anchor},middleware:[N2({mainAxis:g+U,alignmentAxis:h}),S&&z2({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?R2():void 0,...z}),S&&F2({...z}),K2({...z,apply:({elements:Q,rects:se,availableWidth:he,availableHeight:Re})=>{const{width:Kn,height:Nt}=se.reference,ft=Q.floating.style;ft.setProperty("--radix-popper-available-width",`${he}px`),ft.setProperty("--radix-popper-available-height",`${Re}px`),ft.setProperty("--radix-popper-anchor-width",`${Kn}px`),ft.setProperty("--radix-popper-anchor-height",`${Nt}px`)}}),E&&G2({element:E,padding:b}),l9({arrowWidth:T,arrowHeight:U}),x&&L2({strategy:"referenceHidden"})]}),[ne,ie]=Yv(K),q=He(k);vn(()=>{H&&(q==null||q())},[H,q]);const Z=(o=te.arrow)===null||o===void 0?void 0:o.x,le=(a=te.arrow)===null||a===void 0?void 0:a.y,ge=((i=te.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ce,be]=c.useState();return vn(()=>{_&&be(window.getComputedStyle(_).zIndex)},[_]),c.createElement("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:H?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--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(e9,{scope:d,placedSide:ne,onArrowChange:V,arrowX:Z,arrowY:le,shouldHideArrow:ge},c.createElement(de.div,L({"data-side":ne,"data-align":ie},P,{ref:N,style:{...P.style,animation:H?void 0:"none",opacity:(u=te.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),r9="PopperArrow",o9={top:"bottom",right:"left",bottom:"top",left:"right"},a9=c.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=t9(r9,r),i=o9[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(q2,L({},o,{ref:n,style:{...o.style,display:"block"}})))});function i9(e){return e!==null}const l9=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,g=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[h,b]=Yv(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)+g/2,y=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let x="",S="";return h==="bottom"?(x=f?v:`${$}px`,S=`${-m}px`):h==="top"?(x=f?v:`${$}px`,S=`${s.floating.height+m}px`):h==="right"?(x=`${-m}px`,S=f?v:`${y}px`):h==="left"&&(x=`${s.floating.width+m}px`,S=f?v:`${y}px`),{data:{x,y:S}}}});function Yv(e){const[t,n="center"]=e.split("-");return[t,n]}const xl=Z2,nd=Q2,rd=n9,od=a9,[wl,YV]=je("Tooltip",[Jr]),El=Jr(),s9="TooltipProvider",c9=700,ad="tooltip.open",[u9,id]=wl(s9),d9=e=>{const{__scopeTooltip:t,delayDuration:n=c9,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(u9,{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)},ld="Tooltip",[f9,pa]=wl(ld),p9=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:l}=e,s=id(ld,e.__scopeTooltip),u=El(t),[d,f]=c.useState(null),g=it(),m=c.useRef(0),h=i??s.disableHoverableContent,b=l??s.delayDuration,v=c.useRef(!1),[$=!1,y]=Ge({prop:r,defaultProp:o,onChange:M=>{M?(s.onOpen(),document.dispatchEvent(new CustomEvent(ad))):s.onClose(),a==null||a(M)}}),x=c.useMemo(()=>$?v.current?"delayed-open":"instant-open":"closed",[$]),S=c.useCallback(()=>{window.clearTimeout(m.current),v.current=!1,y(!0)},[y]),k=c.useCallback(()=>{window.clearTimeout(m.current),y(!1)},[y]),P=c.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,y(!0)},b)},[b,y]);return c.useEffect(()=>()=>window.clearTimeout(m.current),[]),c.createElement(xl,u,c.createElement(f9,{scope:t,contentId:g,open:$,stateAttribute:x,trigger:d,onTriggerChange:f,onTriggerEnter:c.useCallback(()=>{s.isOpenDelayed?P():S()},[s.isOpenDelayed,P,S]),onTriggerLeave:c.useCallback(()=>{h?k():window.clearTimeout(m.current)},[k,h]),onOpen:S,onClose:k,disableHoverableContent:h},n))},qv="TooltipTrigger",m9=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=pa(qv,n),a=id(qv,n),i=El(n),l=c.useRef(null),s=Ee(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(nd,L({asChild:!0},i),c.createElement(de.button,L({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:s,onPointerMove:oe(e.onPointerMove,g=>{g.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)})))}),Xv="TooltipPortal",[g9,h9]=wl(Xv,{forceMount:void 0}),b9=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=pa(Xv,t);return c.createElement(g9,{scope:t,forceMount:n},c.createElement(Ye,{present:n||a.open},c.createElement(Do,{asChild:!0,container:o},r)))},ma="TooltipContent",v9=c.forwardRef((e,t)=>{const n=h9(ma,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=pa(ma,e.__scopeTooltip);return c.createElement(Ye,{present:r||i.open},i.disableHoverableContent?c.createElement(Zv,L({side:o},a,{ref:t})):c.createElement(y9,L({side:o},a,{ref:t})))}),y9=c.forwardRef((e,t)=>{const n=pa(ma,e.__scopeTooltip),r=id(ma,e.__scopeTooltip),o=c.useRef(null),a=Ee(t,o),[i,l]=c.useState(null),{trigger:s,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,g=c.useCallback(()=>{l(null),f(!1)},[f]),m=c.useCallback((h,b)=>{const v=h.currentTarget,$={x:h.clientX,y:h.clientY},y=E9($,v.getBoundingClientRect()),x=S9($,y),S=D9(b.getBoundingClientRect()),k=T9([...x,...S]);l(k),f(!0)},[f]);return c.useEffect(()=>()=>g(),[g]),c.useEffect(()=>{if(s&&d){const h=v=>m(v,d),b=v=>m(v,s);return s.addEventListener("pointerleave",h),d.addEventListener("pointerleave",b),()=>{s.removeEventListener("pointerleave",h),d.removeEventListener("pointerleave",b)}}},[s,d,m,g]),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=!P9($,i);y?g():x&&(g(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[s,d,i,u,g]),c.createElement(Zv,L({},e,{ref:a}))}),[$9,_9]=wl(ld,{isInside:!1}),Zv=c.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...l}=e,s=pa(ma,n),u=El(n),{onClose:d}=s;return c.useEffect(()=>(document.addEventListener(ad,d),()=>document.removeEventListener(ad,d)),[d]),c.useEffect(()=>{if(s.trigger){const f=g=>{const m=g.target;m!=null&&m.contains(s.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[s.trigger,d]),c.createElement(So,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d},c.createElement(rd,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(ds,null,r),c.createElement($9,{scope:n,isInside:!0},c.createElement(fp,{id:s.contentId,role:"tooltip"},o||r))))}),x9="TooltipArrow",w9=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=El(n);return _9(x9,n).isInside?null:c.createElement(od,L({},o,r,{ref:t}))});function E9(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 S9(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 D9(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 P9(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 T9(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),k9(t)}function k9(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 C9=d9,A9=p9,I9=m9,O9=b9,M9=v9,F9=w9,L9=ue.keyframes`
1391
1391
  from {
1392
1392
  opacity: 0;
1393
1393
  transform: translateX(-10px);
@@ -1479,7 +1479,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1479
1479
  &:not([data-state~='closed']) > svg {
1480
1480
  color: ${p.color_brand_lilac};
1481
1481
  }
1482
- `;function Ze({children:e,icon:t=w(we.Help,{}),label:n="More info"}){return w(Jv,{delayDuration:100,skipDelayDuration:0,children:ee(Qv,{children:[w(U9,{children:w(yo,{label:n,children:t})}),w(ey,{sideOffset:5,children:e})]})})}const W9=()=>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"})}),ty=F.default(W9)`
1482
+ `;function Qe({children:e,icon:t=w(Se.Help,{}),label:n="More info"}){return w(Jv,{delayDuration:100,skipDelayDuration:0,children:ee(Qv,{children:[w(U9,{children:w(yo,{label:n,children:t})}),w(ey,{sideOffset:5,children:e})]})})}const W9=()=>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"})}),ty=F.default(W9)`
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(R),null," "));var Y=he(le,se,H,ne,re+"
1523
1523
  &:disabled {
1524
1524
  cursor: not-allowed;
1525
1525
  }
1526
- `,cd=e=>{const{children:t,dir:n="ltr",tooltipContent:r}=e,o=k2(e),a=c.useRef(null),{labelProps:i,inputProps:l}=C2(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(me,{flexDirection:s,position:"relative",as:"span",children:[w(ny,{...l,ref:a,$invalid:u}),l.checked?w(ty,{}):null]})}const d=l.disabled?"not-allowed":"pointer";return ee(Ke,{...i,pointer:d,flexDirection:s,children:[ee(me,{flexDirection:s,position:"relative",as:"span",children:[w(ny,{...l,ref:a,$invalid:u}),l.checked?w(ty,{}):null]}),ee(me,{as:"span",children:[t,w(me,{as:"span",ml:p.spacing_100,mr:p.spacing_100,children:r?w(Ze,{children:r}):null})]})]})};function ry(e){return hi()?e.altKey:e.ctrlKey}function Jr(e){return en()?e.metaKey:e.ctrlKey}const H9=1e3;function ud(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=c.useRef({search:"",timeout:null}).current,a=i=>{let l=G9(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=""},H9)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function G9(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function oy(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:g,scrollRef:m=r}=e,{direction:h}=it(),b=_=>{if(_.altKey&&_.key==="Tab"&&_.preventDefault(),!r.current.contains(_.target))return;const C=(j,q)=>{j!=null&&(t.setFocusedKey(j,q),_.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&!ry(_)&&t.replaceSelection(j))};switch(_.key){case"ArrowDown":if(n.getKeyBelow){var N,E;_.preventDefault();let j=t.focusedKey!=null?n.getKeyBelow(t.focusedKey):(N=n.getFirstKey)===null||N===void 0?void 0:N.call(n);j==null&&a&&(j=(E=n.getFirstKey)===null||E===void 0?void 0:E.call(n,t.focusedKey)),C(j)}break;case"ArrowUp":if(n.getKeyAbove){var V,O;_.preventDefault();let j=t.focusedKey!=null?n.getKeyAbove(t.focusedKey):(V=n.getLastKey)===null||V===void 0?void 0:V.call(n);j==null&&a&&(j=(O=n.getLastKey)===null||O===void 0?void 0:O.call(n,t.focusedKey)),C(j)}break;case"ArrowLeft":if(n.getKeyLeftOf){var T,U;_.preventDefault();let j=n.getKeyLeftOf(t.focusedKey);j==null&&a&&(j=h==="rtl"?(T=n.getFirstKey)===null||T===void 0?void 0:T.call(n,t.focusedKey):(U=n.getLastKey)===null||U===void 0?void 0:U.call(n,t.focusedKey)),C(j,h==="rtl"?"first":"last")}break;case"ArrowRight":if(n.getKeyRightOf){var I,Z;_.preventDefault();let j=n.getKeyRightOf(t.focusedKey);j==null&&a&&(j=h==="rtl"?(I=n.getLastKey)===null||I===void 0?void 0:I.call(n,t.focusedKey):(Z=n.getFirstKey)===null||Z===void 0?void 0:Z.call(n,t.focusedKey)),C(j,h==="rtl"?"last":"first")}break;case"Home":if(n.getFirstKey){_.preventDefault();let j=n.getFirstKey(t.focusedKey,Jr(_));t.setFocusedKey(j),Jr(_)&&_.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j)}break;case"End":if(n.getLastKey){_.preventDefault();let j=n.getLastKey(t.focusedKey,Jr(_));t.setFocusedKey(j),Jr(_)&&_.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j)}break;case"PageDown":if(n.getKeyPageBelow){_.preventDefault();let j=n.getKeyPageBelow(t.focusedKey);C(j)}break;case"PageUp":if(n.getKeyPageAbove){_.preventDefault();let j=n.getKeyPageAbove(t.focusedKey);C(j)}break;case"a":Jr(_)&&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 j=an(r.current,{tabbable:!0}),q,R;do R=j.lastChild(),R&&(q=R);while(R);q&&!q.contains(document.activeElement)&&Kt(q)}break}}},v=c.useRef({top:0,left:0});kr(m,"scroll",g?null:()=>{v.current={top:m.current.scrollTop,left:m.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=O=>{O!=null&&(t.setFocusedKey(O),s&&t.replaceSelection(O))},V=_.relatedTarget;var C,N;V&&_.currentTarget.compareDocumentPosition(V)&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 g||(m.current.scrollTop=v.current.top,m.current.scrollLeft=v.current.left);if(!g&&t.focusedKey!=null){let E=m.current.querySelector(`[data-key="${t.focusedKey}"]`);E&&(Kt(E),Pi()==="keyboard"&&Mc(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&&Bo(r.current)}x.current=!1},[]);let S=c.useRef(t.focusedKey);c.useEffect(()=>{let _=Pi();if(t.isFocused&&t.focusedKey!=null&&(m!=null&&m.current)){let C=m.current.querySelector(`[data-key="${t.focusedKey}"]`);C&&_==="keyboard"&&(g||Fg(m.current,C),Mc(C,{containingElement:r.current}))}t.isFocused&&t.focusedKey==null&&S.current!=null&&Bo(r.current),S.current=t.focusedKey},[g,m,t.focusedKey,t.isFocused,r]);let k={onKeyDown:b,onFocus:$,onBlur:y,onMouseDown(_){m.current===_.target&&_.preventDefault()}},{typeSelectProps:P}=ud({keyboardDelegate:n,selectionManager:t});u||(k=ge(P,k));let M;return d||(M=t.focusedKey==null?0:-1),{collectionProps:{...k,tabIndex:M}}}function Y9(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"&&ry(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&&(Jr(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&&Bo(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 g=!l&&t.canSelectItem(n),m=s&&!l,h=m&&(t.selectionBehavior==="replace"?!g:t.isEmpty),b=m&&g&&t.selectionBehavior==="replace",v=h||b,$=c.useRef(null),y=v&&g,x=c.useRef(!1),S=c.useRef(!1),k={};o?(k.onPressStart=E=>{$.current=E.pointerType,x.current=y,E.pointerType==="keyboard"&&(!v||iy())&&d(E)},u?(k.onPressUp=E=>{E.pointerType!=="keyboard"&&d(E)},k.onPress=h?()=>s():null):k.onPress=E=>{if(h||b&&E.pointerType!=="mouse"){if(E.pointerType==="keyboard"&&!ay())return;s()}else E.pointerType!=="keyboard"&&d(E)}):(k.onPressStart=E=>{$.current=E.pointerType,x.current=y,S.current=h,(E.pointerType==="mouse"&&!h||E.pointerType==="keyboard"&&(!s||iy()))&&d(E)},k.onPress=E=>{(E.pointerType==="touch"||E.pointerType==="pen"||E.pointerType==="virtual"||E.pointerType==="keyboard"&&v&&ay()||E.pointerType==="mouse"&&S.current)&&(v?s():d(E))}),f["data-key"]=n,k.preventFocusOnPress=a;let{pressProps:P,isPressed:M}=Ar(k),_=b?E=>{$.current==="mouse"&&(E.stopPropagation(),E.preventDefault(),s())}:void 0,{longPressProps:C}=Qg({isDisabled:!y,onLongPress(E){E.pointerType==="touch"&&(d(E),t.setSelectionBehavior("toggle"))}});return{itemProps:ge(f,g||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:g,hasAction:v}}function ay(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function iy(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class Sl{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(!No(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(!No(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 q9(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:g,allowsTabNavigation:m}=e,h=ol({usage:"search",sensitivity:"base"}),b=t.disabledBehavior,v=c.useMemo(()=>a||new Sl(n,b==="selection"?new Set:r,o,h),[a,n,r,o,h,b]),{collectionProps:$}=oy({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:l,disallowEmptySelection:u,selectOnFocus:d,disallowTypeAhead:f,shouldUseVirtualFocus:g,allowsTabNavigation:m,isVirtualized:s,scrollRef:o});return{listProps:$}}function ly(e){return null}ly.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:X9(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 X9(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&D.default.Children.count(e.children)>0)}let Qr=ly;function sy(e){return null}sy.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 dd=sy;class Z9{build(t,n){return this.context=n,cy(()=>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 g=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${g}> in collection.`)}let u=s.getCollectionNode(a.props,this.context),d=t.index,f=u.next();for(;!f.done&&f.value;){let g=f.value;t.index=d;let m=g.key;m||(m=g.element?null:this.getKey(a,t,n,r));let b=[...this.getFullNode({...g,key:m,index:d,wrapper:J9(t.wrapper,g.wrapper)},this.getChildState(n,g),r?`${r}${a.key}`:a.key,o)];for(let v of b){if(v.value=g.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${fd(v.type)}> in <${fd(o.type)}>. Only <${fd(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:cy(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 cy(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 J9(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function fd(e){return e[0].toUpperCase()+e.slice(1)}function Q9(e,t,n){let r=c.useMemo(()=>new Z9,[]),{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 Dl(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function eA(e){return tA(e,0)}function tA(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function pd(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...uy(e,t),t],o=[...uy(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 uy(e,t){let n=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),n.unshift(t);return n}const dy=new WeakMap;function fy(e){let t=dy.get(e);if(t!=null)return t;t=0;let n=r=>{for(let o of r)o.type==="section"?n(Dl(o,e)):t++};return n(e),dy.set(e,t),t}const Pl=new WeakMap;function nA(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function py(e,t){let n=Pl.get(e);if(!n)throw new Error("Unknown list");return`${n.id}-option-${nA(t)}`}function my(e,t,n){let r=Sn(e,{labelable:!0}),{listProps:o}=q9({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=Vo({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=dt(e.id);Pl.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:l,fieldProps:s}=wv({...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 gy(e,t,n){let{key:r}=e,o=Pl.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 g=(f=e.shouldFocusOnHover)!==null&&f!==void 0?f:o==null?void 0:o.shouldFocusOnHover;var m;let h=(m=e.shouldUseVirtualFocus)!==null&&m!==void 0?m:o==null?void 0:o.shouldUseVirtualFocus;var b;let v=(b=e.isVirtualized)!==null&&b!==void 0?b:o==null?void 0:o.isVirtualized,$=Mo(),y=Mo(),x={role:"option","aria-disabled":i||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?s:void 0};if(en()&&Pc()||(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"]=fy(t.collection)}let{itemProps:k,isPressed:P,isFocused:M,hasAction:_,allowsSelection:C}=Y9({selectionManager:t.selectionManager,key:r,ref:n,shouldSelectOnPressUp:d,allowsDifferentPressOrigin:d&&g,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}=_k({isDisabled:i||!g,onHoverStart(){Di()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r))}});return{optionProps:{...x,...ge(k,N),id:py(t,r)},labelProps:{id:$},descriptionProps:{id:y},isFocused:M,isFocusVisible:M&&Di(),isSelected:s,isDisabled:i,isPressed:P,allowsSelection:C,hasAction:_}}function rA(e){return e&&e.__esModule?e.default:e}var hy={},by={};by={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var vy={};vy={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var yy={};yy={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var $y={};$y={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var _y={};_y={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var xy={};xy={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var wy={};wy={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Ey={};Ey={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Sy={};Sy={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Dy={};Dy={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Py={};Py={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Ty={};Ty={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var ky={};ky={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Cy={};Cy={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Ay={};Ay={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Iy={};Iy={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Oy={};Oy={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var My={};My={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Fy={};Fy={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Ly={};Ly={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Ny={};Ny={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var zy={};zy={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Ry={};Ry={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Ky={};Ky={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Vy={};Vy={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var By={};By={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var jy={};jy={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Uy={};Uy={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var Wy={};Wy={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Hy={};Hy={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Gy={};Gy={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Yy={};Yy={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var qy={};qy={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Xy={};Xy={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},hy={"ar-AE":by,"bg-BG":vy,"cs-CZ":yy,"da-DK":$y,"de-DE":_y,"el-GR":xy,"en-US":wy,"es-ES":Ey,"et-EE":Sy,"fi-FI":Dy,"fr-FR":Py,"he-IL":Ty,"hr-HR":ky,"hu-HU":Cy,"it-IT":Ay,"ja-JP":Iy,"ko-KR":Oy,"lt-LT":My,"lv-LV":Fy,"nb-NO":Ly,"nl-NL":Ny,"pl-PL":zy,"pt-BR":Ry,"pt-PT":Ky,"ro-RO":Vy,"ru-RU":By,"sk-SK":jy,"sl-SI":Uy,"sr-SP":Wy,"sv-SE":Hy,"tr-TR":Gy,"uk-UA":Yy,"zh-CN":qy,"zh-TW":Xy};function md(e,t,n){let{type:r="menu",isDisabled:o,trigger:a="press"}=e,i=dt(),{triggerProps:l,overlayProps:s}=al({type:r},t,n),u=m=>{if(!o&&!(a==="longPress"&&!m.altKey)&&n&&n.current)switch(m.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break}},d=Dt(rA(hy)),{longPressProps:f}=Qg({isDisabled:o||a!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),g={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!o&&t.toggle(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!o&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?g:f,id:i,onKeyDown:u},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function ga(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}=Qc(e,t),{labelProps:d,fieldProps:f,descriptionProps:g,errorMessageProps:m}=fl(e),h=Sn(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:g,errorMessageProps:m}}function Zy(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function oA(e,t,n){let r=Ae(d=>{let f=n.current,g;switch(d.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":g=f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentForward":g=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":g=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":g=f.value.slice(f.selectionStart);break;default:d.data!=null&&(g=f.value.slice(0,f.selectionStart)+d.data+f.value.slice(f.selectionEnd));break}(g==null||!t.validate(g))&&d.preventDefault()});c.useEffect(()=>{if(!Zy())return;let d=n.current;return d.addEventListener("beforeinput",r,!1),()=>{d.removeEventListener("beforeinput",r,!1)}},[n,r]);let o=Zy()?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}=ga(e,n),u=c.useRef(null);return{inputProps:ge(i,{onBeforeInput:o,onCompositionStart(){let{value:d,selectionStart:f,selectionEnd:g}=n.current;u.current={value:d,selectionStart:f,selectionEnd:g}},onCompositionEnd(){if(!t.validate(n.current.value)){let{value:d,selectionStart:f,selectionEnd:g}=u.current;n.current.value=d,n.current.setSelectionRange(f,g),t.setInputValue(d)}}}),labelProps:a,descriptionProps:l,errorMessageProps:s}}function aA(e){return e&&e.__esModule?e.default:e}var Jy={},Qy={};Qy={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 e$={};e$={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:"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 n$={};n$={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 r$={};r$={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 o$={};o$={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 a$={};a$={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 i$={};i$={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 l$={};l$={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 s$={};s$={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 c$={};c$={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 u$={};u$={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 d$={};d$={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 f$={};f$={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 p$={};p$={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 m$={};m$={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 g$={};g$={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 h$={};h$={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 b$={};b$={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 v$={};v$={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 y$={};y$={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 $$={};$$={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 _$={};_$={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 x$={};x$={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 w$={};w$={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 E$={};E$={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:"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 D$={};D$={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 P$={};P$={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 T$={};T$={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 k$={};k$={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 C$={};C$={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 A$={};A$={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 I$={};I$={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}, 已選取`},Jy={"ar-AE":Qy,"bg-BG":e$,"cs-CZ":t$,"da-DK":n$,"de-DE":r$,"el-GR":o$,"en-US":a$,"es-ES":i$,"et-EE":l$,"fi-FI":s$,"fr-FR":c$,"he-IL":u$,"hr-HR":d$,"hu-HU":f$,"it-IT":p$,"ja-JP":m$,"ko-KR":g$,"lt-LT":h$,"lv-LV":b$,"nb-NO":v$,"nl-NL":y$,"pl-PL":$$,"pt-BR":_$,"pt-PT":x$,"ro-RO":w$,"ru-RU":E$,"sk-SK":S$,"sl-SI":D$,"sr-SP":P$,"sv-SE":T$,"tr-TR":k$,"uk-UA":C$,"zh-CN":A$,"zh-TW":I$};function iA(e,t){let{buttonRef:n,popoverRef:r,inputRef:o,listBoxRef:a,keyboardDelegate:i,shouldFocusWrap:l,isReadOnly:s,isDisabled:u}=e,d=Dt(aA(Jy)),{menuTriggerProps:f,menuProps:g}=md({type:"listbox",isDisabled:u||s},t,n);Pl.set(t,{id:g.id});let m=c.useMemo(()=>i||new Sl(t.collection,t.disabledKeys,a),[i,t.collection,t.disabledKeys,a]),{collectionProps:h}=oy({selectionManager:t.selectionManager,keyboardDelegate:m,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:l,ref:o,isVirtualized:!0}),b=K=>{switch(K.key){case"Enter":case"Tab":t.isOpen&&K.key==="Enter"&&K.preventDefault(),t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&K.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=K=>{var H;K.relatedTarget===(n==null?void 0:n.current)||!((H=r.current)===null||H===void 0)&&H.contains(K.relatedTarget)||(e.onBlur&&e.onBlur(K),t.setFocused(!1))},$=K=>{t.isFocused||(e.onFocus&&e.onFocus(K),t.setFocused(!0))},{labelProps:y,inputProps:x,descriptionProps:S,errorMessageProps:k}=ga({...e,onChange:t.setInputValue,onKeyDown:!s&&Jt(t.isOpen&&h.onKeyDown,b,e.onKeyDown),onBlur:v,value:t.inputValue,onFocus:$,autoComplete:"off"},o),P=K=>{K.pointerType==="touch"&&(o.current.focus(),t.toggle(null,"manual"))},M=K=>{K.pointerType!=="touch"&&(o.current.focus(),t.toggle(K.pointerType==="keyboard"||K.pointerType==="virtual"?"first":null,"manual"))},_=Tr({id:f.id,"aria-label":d.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),C=Tr({id:g.id,"aria-label":d.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),N=c.useRef(0),E=K=>{if(u||s)return;if(K.timeStamp-N.current<500){K.preventDefault(),o.current.focus();return}let H=K.target.getBoundingClientRect(),ne=K.changedTouches[0],re=Math.ceil(H.left+.5*H.width),le=Math.ceil(H.top+.5*H.height);ne.clientX===re&&ne.clientY===le&&(K.preventDefault(),o.current.focus(),t.toggle(null,"manual"),N.current=K.timeStamp)},V=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var O;let T=(O=V==null?void 0:V.parentKey)!==null&&O!==void 0?O:null;var U;let I=(U=t.selectionManager.focusedKey)!==null&&U!==void 0?U:null,Z=c.useRef(T),j=c.useRef(I);c.useEffect(()=>{if(hi()&&V!=null&&I!==j.current){let K=t.selectionManager.isSelected(I),H=T!=null?t.collection.getItem(T):null,ne=(H==null?void 0:H["aria-label"])||(typeof(H==null?void 0:H.rendered)=="string"?H.rendered:"")||"",re=d.format("focusAnnouncement",{isGroupChange:H&&T!==Z.current,groupTitle:ne,groupCount:H?[...Dl(H,t.collection)].length:0,optionText:V["aria-label"]||V.textValue||"",isSelected:K});Wr(re)}Z.current=T,j.current=I});let q=fy(t.collection),R=c.useRef(q),W=c.useRef(t.isOpen);c.useEffect(()=>{let K=t.isOpen!==W.current&&(t.selectionManager.focusedKey==null||hi());if(t.isOpen&&(K||q!==R.current)){let H=d.format("countAnnouncement",{optionCount:q});Wr(H)}R.current=q,W.current=t.isOpen});let B=c.useRef(t.selectedKey);return c.useEffect(()=>{if(hi()&&t.isFocused&&t.selectedItem&&t.selectedKey!==B.current){let K=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",H=d.format("selectedAnnouncement",{optionText:K});Wr(H)}B.current=t.selectedKey}),c.useEffect(()=>{if(t.isOpen)return S0([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?g.id:void 0,"aria-autocomplete":"list","aria-activedescendant":V?py(t,V.key):void 0,onTouchEnd:E,autoCorrect:"off",spellCheck:"false"}),listBoxProps:ge(g,C,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0}),descriptionProps:S,errorMessageProps:k}}class gd{*[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 Ct extends Set{constructor(t,n,r){super(t),t instanceof Ct?(this.anchorKey=n||t.anchorKey,this.currentKey=r||t.currentKey):(this.anchorKey=n,this.currentKey=r)}}function lA(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function sA(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(()=>O$(e.selectedKeys),[e.selectedKeys]),g=c.useMemo(()=>O$(e.defaultSelectedKeys,new Ct),[e.defaultSelectedKeys]),[m,h]=Vt(f,g,e.onSelectionChange),b=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,$]=c.useState(o);o==="replace"&&v==="toggle"&&typeof m=="object"&&m.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:m,setSelectedKeys(x){(r||!lA(x,m))&&h(x)},disabledKeys:b,disabledBehavior:a}}function O$(e,t){return e?e==="all"?"all":new Ct(e):t}class cA{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&&pd(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&&pd(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 Ct([t],t,t);else{let r=this.state.selectedKeys,o=r.anchorKey||t;n=new Ct(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?pd(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 Ct(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 Ct([t],t,t):new Ct;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new Ct;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(eA(Dl(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 Ct)}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 M$(e){let{filter:t}=e,n=sA(e),r=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=c.useCallback(u=>t?new gd(t(u)):new gd(u),[t]),a=c.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Q9(e,o,a),l=c.useMemo(()=>new cA(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),g=d.length-f.length;let m=Math.min(g>1?Math.max(u.index-g+1,0):u.index,f.length-1),h;for(;m>=0;){if(!l.isDisabled(f[m].key)){h=f[m];break}m<f.length-1?m++:(m>u.index&&(m=u.index),m--)}n.setFocusedKey(h?h.key:null)}s.current=i},[i,l,n,n.focusedKey]),{collection:i,disabledKeys:r,selectionManager:l}}function F$(e){var t;let[n,r]=Vt(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}=M$({...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 L$(e){let t=Ur(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 uA(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[g,m]=Vt(e.inputValue,(f=e.defaultInputValue)!==null&&f!==void 0?f:"",e.onInputChange),h=Y=>{e.onSelectionChange&&e.onSelectionChange(Y),Y===y&&(j(),I())};var b;let{collection:v,selectionManager:$,selectedKey:y,setSelectedKey:x,selectedItem:S,disabledKeys:k}=F$({...e,onSelectionChange:h,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),P=v,M=c.useMemo(()=>e.items!=null||!n?v:dA(v,g,n),[v,g,n,e.items]),[_,C]=c.useState(M),N=c.useRef("focus"),V=L$({...e,onOpenChange:Y=>{e.onOpenChange&&e.onOpenChange(Y,Y?N.current:void 0),$.setFocused(Y),Y||$.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),O=(Y,te)=>{let ce=te==="manual"||te==="focus"&&r==="focus";(o||M.size>0||ce&&P.size>0||e.items)&&(ce&&!V.isOpen&&e.items===void 0&&s(!0),N.current=te,V.open(Y))},T=(Y,te)=>{let ce=te==="manual"||te==="focus"&&r==="focus";!(o||M.size>0||ce&&P.size>0||e.items)&&!V.isOpen||(ce&&!V.isOpen&&e.items===void 0&&s(!0),V.isOpen||(N.current=te),U(Y))},U=c.useCallback(Y=>{V.isOpen&&C(M),V.toggle(Y)},[V,M]),I=c.useCallback(()=>{V.isOpen&&(C(M),V.close())},[V,M]),Z=c.useRef(g),j=()=>{var Y,te;let ce=(te=(Y=v.getItem(y))===null||Y===void 0?void 0:Y.textValue)!==null&&te!==void 0?te:"";Z.current=ce,m(ce)},q=c.useRef(!0);var R,W;let B=c.useRef((W=(R=e.selectedKey)!==null&&R!==void 0?R:e.defaultSelectedKey)!==null&&W!==void 0?W:null);var K;let H=c.useRef((K=(t=v.getItem(y))===null||t===void 0?void 0:t.textValue)!==null&&K!==void 0?K:"");c.useEffect(()=>{var Y;u&&(M.size>0||o)&&!V.isOpen&&g!==Z.current&&r!=="manual"&&O(null,"input"),!l&&!o&&V.isOpen&&M.size===0&&I(),y!=null&&y!==B.current&&I(),g!==Z.current&&($.setFocusedKey(null),s(!1),g===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&x(null)),q.current&&e.inputValue===void 0&&e.defaultInputValue===void 0&&j(),y!==B.current&&(e.inputValue===void 0||e.selectedKey===void 0)?j():Z.current=g;var te;let ce=(te=(Y=v.getItem(y))===null||Y===void 0?void 0:Y.textValue)!==null&&te!==void 0?te:"";!u&&y!=null&&e.inputValue===void 0&&y===B.current&&H.current!==ce&&(Z.current=ce,m(ce)),q.current=!1,B.current=y,H.current=ce});let ne=()=>{a&&y==null?re():le()},re=()=>{B.current=null,x(null),I()},le=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var Y;e.onSelectionChange(y);var te;let ce=(te=(Y=v.getItem(y))===null||Y===void 0?void 0:Y.textValue)!==null&&te!==void 0?te:"";Z.current=ce,I()}else j(),I()},X=()=>{V.isOpen&&$.focusedKey!=null?y===$.focusedKey?le():x($.focusedKey):a?re():le()},J=()=>{var Y,te;let ce=(te=(Y=v.getItem(y))===null||Y===void 0?void 0:Y.textValue)!==null&&te!==void 0?te:"";a&&g!==ce?re():le(),I()},se=Y=>{Y?r==="focus"&&O(null,"focus"):i&&J(),d(Y)},he=c.useMemo(()=>V.isOpen?l?P:M:_,[V.isOpen,P,M,l,_]);return{...V,toggle:T,open:O,close:J,selectionManager:$,selectedKey:y,setSelectedKey:x,disabledKeys:k,isFocused:u,setFocused:se,selectedItem:S,collection:he,inputValue:g,setInputValue:m,commit:X,revert:ne}}function dA(e,t,n){return new gd(N$(e,e,t,n))}function N$(e,t,n,r){let o=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=N$(e,Dl(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 hd=F.default(me)`
1526
+ `,cd=e=>{const{children:t,dir:n="ltr",tooltipContent:r}=e,o=k2(e),a=c.useRef(null),{labelProps:i,inputProps:l}=C2(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(me,{flexDirection:s,position:"relative",as:"span",children:[w(ny,{...l,ref:a,$invalid:u}),l.checked?w(ty,{}):null]})}const d=l.disabled?"not-allowed":"pointer";return ee(Be,{...i,pointer:d,flexDirection:s,children:[ee(me,{flexDirection:s,position:"relative",as:"span",children:[w(ny,{...l,ref:a,$invalid:u}),l.checked?w(ty,{}):null]}),ee(me,{as:"span",children:[t,w(me,{as:"span",ml:p.spacing_100,mr:p.spacing_100,children:r?w(Qe,{children:r}):null})]})]})};function ry(e){return hi()?e.altKey:e.ctrlKey}function Qr(e){return nn()?e.metaKey:e.ctrlKey}const H9=1e3;function ud(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=c.useRef({search:"",timeout:null}).current,a=i=>{let l=G9(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=""},H9)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function G9(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function oy(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:g,scrollRef:m=r}=e,{direction:h}=st(),b=_=>{if(_.altKey&&_.key==="Tab"&&_.preventDefault(),!r.current.contains(_.target))return;const C=(j,Y)=>{j!=null&&(t.setFocusedKey(j,Y),_.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&!ry(_)&&t.replaceSelection(j))};switch(_.key){case"ArrowDown":if(n.getKeyBelow){var N,E;_.preventDefault();let j=t.focusedKey!=null?n.getKeyBelow(t.focusedKey):(N=n.getFirstKey)===null||N===void 0?void 0:N.call(n);j==null&&a&&(j=(E=n.getFirstKey)===null||E===void 0?void 0:E.call(n,t.focusedKey)),C(j)}break;case"ArrowUp":if(n.getKeyAbove){var V,O;_.preventDefault();let j=t.focusedKey!=null?n.getKeyAbove(t.focusedKey):(V=n.getLastKey)===null||V===void 0?void 0:V.call(n);j==null&&a&&(j=(O=n.getLastKey)===null||O===void 0?void 0:O.call(n,t.focusedKey)),C(j)}break;case"ArrowLeft":if(n.getKeyLeftOf){var T,U;_.preventDefault();let j=n.getKeyLeftOf(t.focusedKey);j==null&&a&&(j=h==="rtl"?(T=n.getFirstKey)===null||T===void 0?void 0:T.call(n,t.focusedKey):(U=n.getLastKey)===null||U===void 0?void 0:U.call(n,t.focusedKey)),C(j,h==="rtl"?"first":"last")}break;case"ArrowRight":if(n.getKeyRightOf){var I,X;_.preventDefault();let j=n.getKeyRightOf(t.focusedKey);j==null&&a&&(j=h==="rtl"?(I=n.getLastKey)===null||I===void 0?void 0:I.call(n,t.focusedKey):(X=n.getFirstKey)===null||X===void 0?void 0:X.call(n,t.focusedKey)),C(j,h==="rtl"?"last":"first")}break;case"Home":if(n.getFirstKey){_.preventDefault();let j=n.getFirstKey(t.focusedKey,Qr(_));t.setFocusedKey(j),Qr(_)&&_.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j)}break;case"End":if(n.getLastKey){_.preventDefault();let j=n.getLastKey(t.focusedKey,Qr(_));t.setFocusedKey(j),Qr(_)&&_.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(j):s&&t.replaceSelection(j)}break;case"PageDown":if(n.getKeyPageBelow){_.preventDefault();let j=n.getKeyPageBelow(t.focusedKey);C(j)}break;case"PageUp":if(n.getKeyPageAbove){_.preventDefault();let j=n.getKeyPageAbove(t.focusedKey);C(j)}break;case"a":Qr(_)&&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 j=sn(r.current,{tabbable:!0}),Y,z;do z=j.lastChild(),z&&(Y=z);while(z);Y&&!Y.contains(document.activeElement)&&jt(Y)}break}}},v=c.useRef({top:0,left:0});Cr(m,"scroll",g?null:()=>{v.current={top:m.current.scrollTop,left:m.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=O=>{O!=null&&(t.setFocusedKey(O),s&&t.replaceSelection(O))},V=_.relatedTarget;var C,N;V&&_.currentTarget.compareDocumentPosition(V)&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 g||(m.current.scrollTop=v.current.top,m.current.scrollLeft=v.current.left);if(!g&&t.focusedKey!=null){let E=m.current.querySelector(`[data-key="${t.focusedKey}"]`);E&&(jt(E),Pi()==="keyboard"&&Mc(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&&Bo(r.current)}x.current=!1},[]);let S=c.useRef(t.focusedKey);c.useEffect(()=>{let _=Pi();if(t.isFocused&&t.focusedKey!=null&&(m!=null&&m.current)){let C=m.current.querySelector(`[data-key="${t.focusedKey}"]`);C&&_==="keyboard"&&(g||Fg(m.current,C),Mc(C,{containingElement:r.current}))}t.isFocused&&t.focusedKey==null&&S.current!=null&&Bo(r.current),S.current=t.focusedKey},[g,m,t.focusedKey,t.isFocused,r]);let k={onKeyDown:b,onFocus:$,onBlur:y,onMouseDown(_){m.current===_.target&&_.preventDefault()}},{typeSelectProps:P}=ud({keyboardDelegate:n,selectionManager:t});u||(k=ve(P,k));let M;return d||(M=t.focusedKey==null?0:-1),{collectionProps:{...k,tabIndex:M}}}function Y9(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"&&ry(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&&(Qr(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&&Bo(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 g=!l&&t.canSelectItem(n),m=s&&!l,h=m&&(t.selectionBehavior==="replace"?!g:t.isEmpty),b=m&&g&&t.selectionBehavior==="replace",v=h||b,$=c.useRef(null),y=v&&g,x=c.useRef(!1),S=c.useRef(!1),k={};o?(k.onPressStart=E=>{$.current=E.pointerType,x.current=y,E.pointerType==="keyboard"&&(!v||iy())&&d(E)},u?(k.onPressUp=E=>{E.pointerType!=="keyboard"&&d(E)},k.onPress=h?()=>s():null):k.onPress=E=>{if(h||b&&E.pointerType!=="mouse"){if(E.pointerType==="keyboard"&&!ay())return;s()}else E.pointerType!=="keyboard"&&d(E)}):(k.onPressStart=E=>{$.current=E.pointerType,x.current=y,S.current=h,(E.pointerType==="mouse"&&!h||E.pointerType==="keyboard"&&(!s||iy()))&&d(E)},k.onPress=E=>{(E.pointerType==="touch"||E.pointerType==="pen"||E.pointerType==="virtual"||E.pointerType==="keyboard"&&v&&ay()||E.pointerType==="mouse"&&S.current)&&(v?s():d(E))}),f["data-key"]=n,k.preventFocusOnPress=a;let{pressProps:P,isPressed:M}=Ir(k),_=b?E=>{$.current==="mouse"&&(E.stopPropagation(),E.preventDefault(),s())}:void 0,{longPressProps:C}=Qg({isDisabled:!y,onLongPress(E){E.pointerType==="touch"&&(d(E),t.setSelectionBehavior("toggle"))}});return{itemProps:ve(f,g||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:g,hasAction:v}}function ay(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function iy(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class Sl{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(!No(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(!No(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 q9(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:g,allowsTabNavigation:m}=e,h=ol({usage:"search",sensitivity:"base"}),b=t.disabledBehavior,v=c.useMemo(()=>a||new Sl(n,b==="selection"?new Set:r,o,h),[a,n,r,o,h,b]),{collectionProps:$}=oy({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:l,disallowEmptySelection:u,selectOnFocus:d,disallowTypeAhead:f,shouldUseVirtualFocus:g,allowsTabNavigation:m,isVirtualized:s,scrollRef:o});return{listProps:$}}function ly(e){return null}ly.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:X9(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 X9(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&D.default.Children.count(e.children)>0)}let eo=ly;function sy(e){return null}sy.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 dd=sy;class Z9{build(t,n){return this.context=n,cy(()=>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 g=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${g}> in collection.`)}let u=s.getCollectionNode(a.props,this.context),d=t.index,f=u.next();for(;!f.done&&f.value;){let g=f.value;t.index=d;let m=g.key;m||(m=g.element?null:this.getKey(a,t,n,r));let b=[...this.getFullNode({...g,key:m,index:d,wrapper:J9(t.wrapper,g.wrapper)},this.getChildState(n,g),r?`${r}${a.key}`:a.key,o)];for(let v of b){if(v.value=g.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${fd(v.type)}> in <${fd(o.type)}>. Only <${fd(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:cy(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 cy(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 J9(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function fd(e){return e[0].toUpperCase()+e.slice(1)}function Q9(e,t,n){let r=c.useMemo(()=>new Z9,[]),{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 Dl(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function eA(e){return tA(e,0)}function tA(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function pd(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...uy(e,t),t],o=[...uy(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 uy(e,t){let n=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),n.unshift(t);return n}const dy=new WeakMap;function fy(e){let t=dy.get(e);if(t!=null)return t;t=0;let n=r=>{for(let o of r)o.type==="section"?n(Dl(o,e)):t++};return n(e),dy.set(e,t),t}const Pl=new WeakMap;function nA(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function py(e,t){let n=Pl.get(e);if(!n)throw new Error("Unknown list");return`${n.id}-option-${nA(t)}`}function my(e,t,n){let r=Sn(e,{labelable:!0}),{listProps:o}=q9({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=Vo({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=mt(e.id);Pl.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:l,fieldProps:s}=wv({...e,id:i,labelElementType:"span"});return{labelProps:l,listBoxProps:ve(r,a,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...ve(s,o)})}}function gy(e,t,n){let{key:r}=e,o=Pl.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 g=(f=e.shouldFocusOnHover)!==null&&f!==void 0?f:o==null?void 0:o.shouldFocusOnHover;var m;let h=(m=e.shouldUseVirtualFocus)!==null&&m!==void 0?m:o==null?void 0:o.shouldUseVirtualFocus;var b;let v=(b=e.isVirtualized)!==null&&b!==void 0?b:o==null?void 0:o.isVirtualized,$=Mo(),y=Mo(),x={role:"option","aria-disabled":i||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?s:void 0};if(nn()&&Pc()||(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"]=fy(t.collection)}let{itemProps:k,isPressed:P,isFocused:M,hasAction:_,allowsSelection:C}=Y9({selectionManager:t.selectionManager,key:r,ref:n,shouldSelectOnPressUp:d,allowsDifferentPressOrigin:d&&g,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}=_k({isDisabled:i||!g,onHoverStart(){Di()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r))}});return{optionProps:{...x,...ve(k,N),id:py(t,r)},labelProps:{id:$},descriptionProps:{id:y},isFocused:M,isFocusVisible:M&&Di(),isSelected:s,isDisabled:i,isPressed:P,allowsSelection:C,hasAction:_}}function rA(e){return e&&e.__esModule?e.default:e}var hy={},by={};by={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var vy={};vy={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var yy={};yy={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var $y={};$y={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var _y={};_y={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var xy={};xy={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var wy={};wy={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Ey={};Ey={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Sy={};Sy={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Dy={};Dy={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Py={};Py={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Ty={};Ty={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var ky={};ky={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Cy={};Cy={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Ay={};Ay={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Iy={};Iy={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Oy={};Oy={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var My={};My={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Fy={};Fy={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Ly={};Ly={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Ny={};Ny={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var zy={};zy={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Ry={};Ry={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Ky={};Ky={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Vy={};Vy={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var By={};By={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var jy={};jy={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Uy={};Uy={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var Wy={};Wy={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Hy={};Hy={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Gy={};Gy={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Yy={};Yy={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var qy={};qy={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Xy={};Xy={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},hy={"ar-AE":by,"bg-BG":vy,"cs-CZ":yy,"da-DK":$y,"de-DE":_y,"el-GR":xy,"en-US":wy,"es-ES":Ey,"et-EE":Sy,"fi-FI":Dy,"fr-FR":Py,"he-IL":Ty,"hr-HR":ky,"hu-HU":Cy,"it-IT":Ay,"ja-JP":Iy,"ko-KR":Oy,"lt-LT":My,"lv-LV":Fy,"nb-NO":Ly,"nl-NL":Ny,"pl-PL":zy,"pt-BR":Ry,"pt-PT":Ky,"ro-RO":Vy,"ru-RU":By,"sk-SK":jy,"sl-SI":Uy,"sr-SP":Wy,"sv-SE":Hy,"tr-TR":Gy,"uk-UA":Yy,"zh-CN":qy,"zh-TW":Xy};function md(e,t,n){let{type:r="menu",isDisabled:o,trigger:a="press"}=e,i=mt(),{triggerProps:l,overlayProps:s}=al({type:r},t,n),u=m=>{if(!o&&!(a==="longPress"&&!m.altKey)&&n&&n.current)switch(m.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break}},d=Tt(rA(hy)),{longPressProps:f}=Qg({isDisabled:o||a!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),g={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!o&&t.toggle(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!o&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?g:f,id:i,onKeyDown:u},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function ga(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}=Qc(e,t),{labelProps:d,fieldProps:f,descriptionProps:g,errorMessageProps:m}=fl(e),h=Sn(e,{labelable:!0});const b={type:l,pattern:e.pattern};return{labelProps:d,inputProps:ve(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:g,errorMessageProps:m}}function Zy(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function oA(e,t,n){let r=Oe(d=>{let f=n.current,g;switch(d.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":g=f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentForward":g=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":g=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":g=f.value.slice(f.selectionStart);break;default:d.data!=null&&(g=f.value.slice(0,f.selectionStart)+d.data+f.value.slice(f.selectionEnd));break}(g==null||!t.validate(g))&&d.preventDefault()});c.useEffect(()=>{if(!Zy())return;let d=n.current;return d.addEventListener("beforeinput",r,!1),()=>{d.removeEventListener("beforeinput",r,!1)}},[n,r]);let o=Zy()?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}=ga(e,n),u=c.useRef(null);return{inputProps:ve(i,{onBeforeInput:o,onCompositionStart(){let{value:d,selectionStart:f,selectionEnd:g}=n.current;u.current={value:d,selectionStart:f,selectionEnd:g}},onCompositionEnd(){if(!t.validate(n.current.value)){let{value:d,selectionStart:f,selectionEnd:g}=u.current;n.current.value=d,n.current.setSelectionRange(f,g),t.setInputValue(d)}}}),labelProps:a,descriptionProps:l,errorMessageProps:s}}function aA(e){return e&&e.__esModule?e.default:e}var Jy={},Qy={};Qy={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 e$={};e$={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:"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 n$={};n$={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 r$={};r$={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 o$={};o$={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 a$={};a$={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 i$={};i$={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 l$={};l$={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 s$={};s$={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 c$={};c$={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 u$={};u$={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 d$={};d$={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 f$={};f$={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 p$={};p$={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 m$={};m$={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 g$={};g$={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 h$={};h$={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 b$={};b$={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 v$={};v$={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 y$={};y$={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 $$={};$$={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 _$={};_$={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 x$={};x$={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 w$={};w$={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 E$={};E$={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:"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 D$={};D$={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 P$={};P$={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 T$={};T$={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 k$={};k$={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 C$={};C$={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 A$={};A$={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 I$={};I$={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}, 已選取`},Jy={"ar-AE":Qy,"bg-BG":e$,"cs-CZ":t$,"da-DK":n$,"de-DE":r$,"el-GR":o$,"en-US":a$,"es-ES":i$,"et-EE":l$,"fi-FI":s$,"fr-FR":c$,"he-IL":u$,"hr-HR":d$,"hu-HU":f$,"it-IT":p$,"ja-JP":m$,"ko-KR":g$,"lt-LT":h$,"lv-LV":b$,"nb-NO":v$,"nl-NL":y$,"pl-PL":$$,"pt-BR":_$,"pt-PT":x$,"ro-RO":w$,"ru-RU":E$,"sk-SK":S$,"sl-SI":D$,"sr-SP":P$,"sv-SE":T$,"tr-TR":k$,"uk-UA":C$,"zh-CN":A$,"zh-TW":I$};function iA(e,t){let{buttonRef:n,popoverRef:r,inputRef:o,listBoxRef:a,keyboardDelegate:i,shouldFocusWrap:l,isReadOnly:s,isDisabled:u}=e,d=Tt(aA(Jy)),{menuTriggerProps:f,menuProps:g}=md({type:"listbox",isDisabled:u||s},t,n);Pl.set(t,{id:g.id});let m=c.useMemo(()=>i||new Sl(t.collection,t.disabledKeys,a),[i,t.collection,t.disabledKeys,a]),{collectionProps:h}=oy({selectionManager:t.selectionManager,keyboardDelegate:m,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:l,ref:o,isVirtualized:!0}),b=K=>{switch(K.key){case"Enter":case"Tab":t.isOpen&&K.key==="Enter"&&K.preventDefault(),t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&K.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=K=>{var H;K.relatedTarget===(n==null?void 0:n.current)||!((H=r.current)===null||H===void 0)&&H.contains(K.relatedTarget)||(e.onBlur&&e.onBlur(K),t.setFocused(!1))},$=K=>{t.isFocused||(e.onFocus&&e.onFocus(K),t.setFocused(!0))},{labelProps:y,inputProps:x,descriptionProps:S,errorMessageProps:k}=ga({...e,onChange:t.setInputValue,onKeyDown:!s&&en(t.isOpen&&h.onKeyDown,b,e.onKeyDown),onBlur:v,value:t.inputValue,onFocus:$,autoComplete:"off"},o),P=K=>{K.pointerType==="touch"&&(o.current.focus(),t.toggle(null,"manual"))},M=K=>{K.pointerType!=="touch"&&(o.current.focus(),t.toggle(K.pointerType==="keyboard"||K.pointerType==="virtual"?"first":null,"manual"))},_=kr({id:f.id,"aria-label":d.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),C=kr({id:g.id,"aria-label":d.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),N=c.useRef(0),E=K=>{if(u||s)return;if(K.timeStamp-N.current<500){K.preventDefault(),o.current.focus();return}let H=K.target.getBoundingClientRect(),te=K.changedTouches[0],ne=Math.ceil(H.left+.5*H.width),ie=Math.ceil(H.top+.5*H.height);te.clientX===ne&&te.clientY===ie&&(K.preventDefault(),o.current.focus(),t.toggle(null,"manual"),N.current=K.timeStamp)},V=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var O;let T=(O=V==null?void 0:V.parentKey)!==null&&O!==void 0?O:null;var U;let I=(U=t.selectionManager.focusedKey)!==null&&U!==void 0?U:null,X=c.useRef(T),j=c.useRef(I);c.useEffect(()=>{if(hi()&&V!=null&&I!==j.current){let K=t.selectionManager.isSelected(I),H=T!=null?t.collection.getItem(T):null,te=(H==null?void 0:H["aria-label"])||(typeof(H==null?void 0:H.rendered)=="string"?H.rendered:"")||"",ne=d.format("focusAnnouncement",{isGroupChange:H&&T!==X.current,groupTitle:te,groupCount:H?[...Dl(H,t.collection)].length:0,optionText:V["aria-label"]||V.textValue||"",isSelected:K});Hr(ne)}X.current=T,j.current=I});let Y=fy(t.collection),z=c.useRef(Y),W=c.useRef(t.isOpen);c.useEffect(()=>{let K=t.isOpen!==W.current&&(t.selectionManager.focusedKey==null||hi());if(t.isOpen&&(K||Y!==z.current)){let H=d.format("countAnnouncement",{optionCount:Y});Hr(H)}z.current=Y,W.current=t.isOpen});let B=c.useRef(t.selectedKey);return c.useEffect(()=>{if(hi()&&t.isFocused&&t.selectedItem&&t.selectedKey!==B.current){let K=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",H=d.format("selectedAnnouncement",{optionText:K});Hr(H)}B.current=t.selectedKey}),c.useEffect(()=>{if(t.isOpen)return S0([o.current,r.current])},[t.isOpen,o,r]),{labelProps:y,buttonProps:{...f,..._,excludeFromTabOrder:!0,onPress:P,onPressStart:M,isDisabled:u||s},inputProps:ve(x,{role:"combobox","aria-expanded":f["aria-expanded"],"aria-controls":t.isOpen?g.id:void 0,"aria-autocomplete":"list","aria-activedescendant":V?py(t,V.key):void 0,onTouchEnd:E,autoCorrect:"off",spellCheck:"false"}),listBoxProps:ve(g,C,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0}),descriptionProps:S,errorMessageProps:k}}class gd{*[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 It extends Set{constructor(t,n,r){super(t),t instanceof It?(this.anchorKey=n||t.anchorKey,this.currentKey=r||t.currentKey):(this.anchorKey=n,this.currentKey=r)}}function lA(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function sA(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(()=>O$(e.selectedKeys),[e.selectedKeys]),g=c.useMemo(()=>O$(e.defaultSelectedKeys,new It),[e.defaultSelectedKeys]),[m,h]=Ut(f,g,e.onSelectionChange),b=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,$]=c.useState(o);o==="replace"&&v==="toggle"&&typeof m=="object"&&m.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:m,setSelectedKeys(x){(r||!lA(x,m))&&h(x)},disabledKeys:b,disabledBehavior:a}}function O$(e,t){return e?e==="all"?"all":new It(e):t}class cA{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&&pd(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&&pd(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 It([t],t,t);else{let r=this.state.selectedKeys,o=r.anchorKey||t;n=new It(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?pd(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 It(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 It([t],t,t):new It;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new It;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(eA(Dl(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 It)}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 M$(e){let{filter:t}=e,n=sA(e),r=c.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=c.useCallback(u=>t?new gd(t(u)):new gd(u),[t]),a=c.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Q9(e,o,a),l=c.useMemo(()=>new cA(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),g=d.length-f.length;let m=Math.min(g>1?Math.max(u.index-g+1,0):u.index,f.length-1),h;for(;m>=0;){if(!l.isDisabled(f[m].key)){h=f[m];break}m<f.length-1?m++:(m>u.index&&(m=u.index),m--)}n.setFocusedKey(h?h.key:null)}s.current=i},[i,l,n,n.focusedKey]),{collection:i,disabledKeys:r,selectionManager:l}}function F$(e){var t;let[n,r]=Ut(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}=M$({...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 L$(e){let t=Wr(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 uA(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[g,m]=Ut(e.inputValue,(f=e.defaultInputValue)!==null&&f!==void 0?f:"",e.onInputChange),h=ce=>{e.onSelectionChange&&e.onSelectionChange(ce),ce===y&&(j(),I())};var b;let{collection:v,selectionManager:$,selectedKey:y,setSelectedKey:x,selectedItem:S,disabledKeys:k}=F$({...e,onSelectionChange:h,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),P=v,M=c.useMemo(()=>e.items!=null||!n?v:dA(v,g,n),[v,g,n,e.items]),[_,C]=c.useState(M),N=c.useRef("focus"),V=L$({...e,onOpenChange:ce=>{e.onOpenChange&&e.onOpenChange(ce,ce?N.current:void 0),$.setFocused(ce),ce||$.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),O=(ce,be)=>{let Q=be==="manual"||be==="focus"&&r==="focus";(o||M.size>0||Q&&P.size>0||e.items)&&(Q&&!V.isOpen&&e.items===void 0&&s(!0),N.current=be,V.open(ce))},T=(ce,be)=>{let Q=be==="manual"||be==="focus"&&r==="focus";!(o||M.size>0||Q&&P.size>0||e.items)&&!V.isOpen||(Q&&!V.isOpen&&e.items===void 0&&s(!0),V.isOpen||(N.current=be),U(ce))},U=c.useCallback(ce=>{V.isOpen&&C(M),V.toggle(ce)},[V,M]),I=c.useCallback(()=>{V.isOpen&&(C(M),V.close())},[V,M]),X=c.useRef(g),j=()=>{var ce,be;let Q=(be=(ce=v.getItem(y))===null||ce===void 0?void 0:ce.textValue)!==null&&be!==void 0?be:"";X.current=Q,m(Q)},Y=c.useRef(!0);var z,W;let B=c.useRef((W=(z=e.selectedKey)!==null&&z!==void 0?z:e.defaultSelectedKey)!==null&&W!==void 0?W:null);var K;let H=c.useRef((K=(t=v.getItem(y))===null||t===void 0?void 0:t.textValue)!==null&&K!==void 0?K:"");c.useEffect(()=>{var ce;u&&(M.size>0||o)&&!V.isOpen&&g!==X.current&&r!=="manual"&&O(null,"input"),!l&&!o&&V.isOpen&&M.size===0&&I(),y!=null&&y!==B.current&&I(),g!==X.current&&($.setFocusedKey(null),s(!1),g===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&x(null)),Y.current&&e.inputValue===void 0&&e.defaultInputValue===void 0&&j(),y!==B.current&&(e.inputValue===void 0||e.selectedKey===void 0)?j():X.current=g;var be;let Q=(be=(ce=v.getItem(y))===null||ce===void 0?void 0:ce.textValue)!==null&&be!==void 0?be:"";!u&&y!=null&&e.inputValue===void 0&&y===B.current&&H.current!==Q&&(X.current=Q,m(Q)),Y.current=!1,B.current=y,H.current=Q});let te=()=>{a&&y==null?ne():ie()},ne=()=>{B.current=null,x(null),I()},ie=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ce;e.onSelectionChange(y);var be;let Q=(be=(ce=v.getItem(y))===null||ce===void 0?void 0:ce.textValue)!==null&&be!==void 0?be:"";X.current=Q,I()}else j(),I()},q=()=>{V.isOpen&&$.focusedKey!=null?y===$.focusedKey?ie():x($.focusedKey):a?ne():ie()},Z=()=>{var ce,be;let Q=(be=(ce=v.getItem(y))===null||ce===void 0?void 0:ce.textValue)!==null&&be!==void 0?be:"";a&&g!==Q?ne():ie(),I()},le=ce=>{ce?r==="focus"&&O(null,"focus"):i&&Z(),d(ce)},ge=c.useMemo(()=>V.isOpen?l?P:M:_,[V.isOpen,P,M,l,_]);return{...V,toggle:T,open:O,close:Z,selectionManager:$,selectedKey:y,setSelectedKey:x,disabledKeys:k,isFocused:u,setFocused:le,selectedItem:S,collection:ge,inputValue:g,setInputValue:m,commit:q,revert:te}}function dA(e,t,n){return new gd(N$(e,e,t,n))}function N$(e,t,n,r){let o=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=N$(e,Dl(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 hd=F.default(me)`
1527
1527
  display: flex;
1528
1528
 
1529
1529
  &:focus-within {
1530
1530
  position: relative;
1531
1531
  }
1532
- `,z$=c.forwardRef(function(t,n){const{tabIndex:r,left:o,right:a,children:i,...l}=t,u={...Ft(l,qt.propNames??[])};return ee(me,{display:"flex",flex:"1",ref:n,tabIndex:r,...u,children:[o?w(hd,{$zIncrement:0,"data-id":"connect-left-focus-handler",children:o}):null,w(hd,{flex:"1",$zIncrement:1,"data-id":"connect-focus-handler",children:i}),a?w(hd,{$zIncrement:0,"data-id":"connect-right-focus-handler",children:a}):null]})});z$.displayName="Connect";const bd=z$,R$={small:".313rem .5rem",large:".5rem .5rem"},Tl={small:p.font_size_400,large:p.font_size_450};function kl({lineHeight:e=p.font_size_200,fontSize:t=p.font_size_175}){return ue.css`
1532
+ `,z$=c.forwardRef(function(t,n){const{tabIndex:r,left:o,right:a,children:i,...l}=t,u={...zt(l,Zt.propNames??[])};return ee(me,{display:"flex",flex:"1",ref:n,tabIndex:r,...u,children:[o?w(hd,{$zIncrement:0,"data-id":"connect-left-focus-handler",children:o}):null,w(hd,{flex:"1",$zIncrement:1,"data-id":"connect-focus-handler",children:i}),a?w(hd,{$zIncrement:0,"data-id":"connect-right-focus-handler",children:a}):null]})});z$.displayName="Connect";const bd=z$,R$={small:".313rem .5rem",large:".5rem .5rem"},Tl={small:p.font_size_400,large:p.font_size_450};function kl({lineHeight:e=p.font_size_200,fontSize:t=p.font_size_175}){return ue.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(R),null," "));var Y=he(le,se,H,ne,re+"
1549
1549
  transition-property: ${p.transition_property_color};
1550
1550
  transition-duration: ${p.motion_duration_fast};
1551
1551
  appearance: none;
1552
- `}const At=F.default.input`
1552
+ `}const Ot=F.default.input`
1553
1553
  ${({paddingSize:e})=>K$({paddingSize:e})}
1554
1554
 
1555
1555
  ${({fontSize:e,lineHeight:t})=>Cl({fontSize:e,lineHeight:t})}
@@ -1599,7 +1599,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1599
1599
  &:disabled::placeholder {
1600
1600
  color: ${p.color_deprecated_fill_primary_disabled};
1601
1601
  }
1602
- `,gt=F.default.div`
1602
+ `,vt=F.default.div`
1603
1603
  --input-border-color: ${p.color_deprecated_outline_secondary_enabled};
1604
1604
  display: flex;
1605
1605
  flex-direction: column;
@@ -1634,7 +1634,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1634
1634
  font-size: ${p.font_size_200};
1635
1635
  line-height: 1;
1636
1636
  }
1637
- `,ht=({children:e})=>ee(j$,{children:[w(we.Error,{}),e]}),fA=(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 ue.css`
1637
+ `,yt=({children:e})=>ee(j$,{children:[w(Se.Error,{}),e]}),fA=(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 ue.css`
1638
1638
  ${t==="number"?"font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;":""}
1639
1639
  font-size: ${n};
1640
1640
  line-height: ${r};
@@ -1660,11 +1660,11 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1660
1660
  hyphens: auto;
1661
1661
  ${Ps}
1662
1662
  ${KD}
1663
- ${qe}
1663
+ ${Ze}
1664
1664
  ${({size:e,variant:t})=>fA(e??"medium",t)}
1665
1665
  `,pA=F.default(U$)``,mA=F.default(U$)`
1666
1666
  font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
1667
- `,gA=(e,t)=>{const{variant:n="body",color:r,weak:o=!1,negative:a=!1,italic:i,bold:l,style:s={hyphens:"none"},as:u="p",...d}=e;let f,g;n==="number"?(f=e.fontWeight??(l?700:300),g=mA):(f=e.fontWeight??(l?500:300),g=pA);let m;r?m=r:a?m=p.color_brand_red:o?m=p.color_gray_52:m=p.color_black;const h={...d,fontStyle:i?"italic":"normal",textColor:m,fontWeight:f,style:s,variant:n,as:u};return w(g,{...h,ref:t})},rt=c.forwardRef(gA);rt.displayName="Text";const vd=F.default.ul`
1667
+ `,gA=(e,t)=>{const{variant:n="body",color:r,weak:o=!1,negative:a=!1,italic:i,bold:l,style:s={hyphens:"none"},as:u="p",...d}=e;let f,g;n==="number"?(f=e.fontWeight??(l?700:300),g=mA):(f=e.fontWeight??(l?500:300),g=pA);let m;r?m=r:a?m=p.color_brand_red:o?m=p.color_gray_52:m=p.color_black;const h={...d,fontStyle:i?"italic":"normal",textColor:m,fontWeight:f,style:s,variant:n,as:u};return w(g,{...h,ref:t})},at=c.forwardRef(gA);at.displayName="Text";const vd=F.default.ul`
1668
1668
  max-height: 300px;
1669
1669
  overflow: auto;
1670
1670
  list-style: none;
@@ -1703,7 +1703,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1703
1703
  width: 18px;
1704
1704
  height: 18px;
1705
1705
  margin-left: 8px;
1706
- `;function W$(e){const t=D.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=my({...e,disallowEmptySelection:!0},r,n);return w(vd,{...o,ref:n,children:[...r.collection].map(a=>w(bA,{item:a,state:r},a.key))})}function hA(e){const t=D.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=my({...e,disallowEmptySelection:!0},r,n);return w(vd,{...o,ref:n,children:[...r.collection].map(a=>w(vA,{item:a,state:r,isSelectableAll:!0},a.key))})}const _d=D.createContext(null);_d.displayName="OptionContext";function bA({item:e,state:t}){const n=D.useRef(null),{optionProps:r,labelProps:o,descriptionProps:a,isSelected:i,isFocused:l,isDisabled:s}=gy({key:e.key},t,n);return w(Al,{...r,ref:n,isFocused:l,isSelected:i,isDisabled:s,children:w(yd,{children:ee(_d.Provider,{value:{labelProps:o,descriptionProps:a},children:[w(rt,{as:"span",overflowY:"hidden",children:e.rendered}),w($d,{children:i?w(we.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})})}function vA({item:e,state:t}){var l;const n=D.useRef(null),r=gy({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(Al,{...r.optionProps,ref:n,isFocused:r.isFocused,isSelected:r.isSelected,"aria-label":i,children:[w(cd,{isDisabled:r.isDisabled,isSelected:r.isSelected,"aria-label":i}),w(yd,{children:ee(_d.Provider,{value:{labelProps:r.labelProps,descriptionProps:r.labelProps},children:[w(rt,{as:"span",children:e.rendered}),w($d,{children:r.isSelected?w(we.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})]})}F.default.div`
1706
+ `;function W$(e){const t=D.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=my({...e,disallowEmptySelection:!0},r,n);return w(vd,{...o,ref:n,children:[...r.collection].map(a=>w(bA,{item:a,state:r},a.key))})}function hA(e){const t=D.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=my({...e,disallowEmptySelection:!0},r,n);return w(vd,{...o,ref:n,children:[...r.collection].map(a=>w(vA,{item:a,state:r,isSelectableAll:!0},a.key))})}const _d=D.createContext(null);_d.displayName="OptionContext";function bA({item:e,state:t}){const n=D.useRef(null),{optionProps:r,labelProps:o,descriptionProps:a,isSelected:i,isFocused:l,isDisabled:s}=gy({key:e.key},t,n);return w(Al,{...r,ref:n,isFocused:l,isSelected:i,isDisabled:s,children:w(yd,{children:ee(_d.Provider,{value:{labelProps:o,descriptionProps:a},children:[w(at,{as:"span",overflowY:"hidden",children:e.rendered}),w($d,{children:i?w(Se.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})})}function vA({item:e,state:t}){var l;const n=D.useRef(null),r=gy({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(Al,{...r.optionProps,ref:n,isFocused:r.isFocused,isSelected:r.isSelected,"aria-label":i,children:[w(cd,{isDisabled:r.isDisabled,isSelected:r.isSelected,"aria-label":i}),w(yd,{children:ee(_d.Provider,{value:{labelProps:r.labelProps,descriptionProps:r.labelProps},children:[w(at,{as:"span",children:e.rendered}),w($d,{children:r.isSelected?w(Se.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 H$=F.default.div`
@@ -1711,7 +1711,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1711
1711
  flex-direction: column;
1712
1712
  position: relative;
1713
1713
  width: 100%;
1714
- `,yA=F.default(At)`
1714
+ `,yA=F.default(Ot)`
1715
1715
  box-sizing: border-box;
1716
1716
  appearance: none;
1717
1717
  border: none;
@@ -1736,14 +1736,14 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
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
- `,Il=F.default(we.ChevronLeft)`
1739
+ `,Il=F.default(Se.ChevronLeft)`
1740
1740
  transform: rotate(-90deg);
1741
1741
  width: ${p.sizing_450};
1742
1742
  height: ${p.sizing_450};
1743
- `;function xd(e){const{tooltipContent:t,boldLabel:n=!0}=e,{contains:r}=_8({sensitivity:"base"}),o=uA({...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:g,errorMessageProps:m}=iA({...e,inputRef:i,buttonRef:a,listBoxRef:l,popoverRef:s},o),{buttonProps:h}=Zn(u,a);return Io(()=>{document.activeElement===i.current&&o.close()}),ee(H$,{children:[e.label?ee(Ke,{...g,mb:p.spacing_150,bold:n,children:[e.label,t?w(Ze,{children:t}):null]}):null,w(bd,{height:p.sizing_600,right:w($A,{...h,ref:a,children:w(Il,{style:{width:"18px",height:"18px"},"aria-hidden":"true"})}),children:w(yA,{...d,ref:i,isFocused:o.isFocused})}),e.errorMessage?ee(ht,{...m,children:[w(we.Error,{}),e.errorMessage]}):null,o.isOpen?w(rr,{className:"combo-box-popover",popoverRef:s,targetRef:i,state:o,isTargetWidth:!0,placement:"bottom start",isNonModal:!0,children:w(W$,{...f,listBoxRef:l,state:o})}):null]})}xd.Item=Qr,xd.Section=dd;const G$=D.default.forwardRef(function(t,n){const{"data-id":r,color:o,children:a,...i}=t;return w(je,{...i,ref:n,"data-id":r,margin:0,width:"100%",height:"1px",backgroundColor:o??p.color_gray_opacity_12,children:a})});var _A=ja(Ps,Gt,ws,qe,Xe,Lt,_o,Bn,et,kp,FD,LD,ND),xA=new RegExp("^("+_A.propNames.join("|")+")$"),wA=function(t){var n={};for(var r in t)xA.test(r)&&(n[r]=t[r]);return n};const EA=ue.keyframes`
1743
+ `;function xd(e){const{tooltipContent:t,boldLabel:n=!0}=e,{contains:r}=_8({sensitivity:"base"}),o=uA({...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:g,errorMessageProps:m}=iA({...e,inputRef:i,buttonRef:a,listBoxRef:l,popoverRef:s},o),{buttonProps:h}=Jn(u,a);return Io(()=>{document.activeElement===i.current&&o.close()}),ee(H$,{children:[e.label?ee(Be,{...g,mb:p.spacing_150,bold:n,children:[e.label,t?w(Qe,{children:t}):null]}):null,w(bd,{height:p.sizing_600,right:w($A,{...h,ref:a,children:w(Il,{style:{width:"18px",height:"18px"},"aria-hidden":"true"})}),children:w(yA,{...d,ref:i,isFocused:o.isFocused})}),e.errorMessage?ee(yt,{...m,children:[w(Se.Error,{}),e.errorMessage]}):null,o.isOpen?w(or,{className:"combo-box-popover",popoverRef:s,targetRef:i,state:o,isTargetWidth:!0,placement:"bottom start",isNonModal:!0,children:w(W$,{...f,listBoxRef:l,state:o})}):null]})}xd.Item=eo,xd.Section=dd;const G$=D.default.forwardRef(function(t,n){const{"data-id":r,color:o,children:a,...i}=t;return w(We,{...i,ref:n,"data-id":r,margin:0,width:"100%",height:"1px",backgroundColor:o??p.color_gray_opacity_12,children:a})});var _A=ja(Ps,qt,ws,Ze,Je,Rt,_o,jn,nt,kp,FD,LD,ND),xA=new RegExp("^("+_A.propNames.join("|")+")$"),wA=function(t){var n={};for(var r in t)xA.test(r)&&(n[r]=t[r]);return n};const EA=ue.keyframes`
1744
1744
  from { opacity: 0.5 }
1745
1745
  to { opacity: 1; }
1746
- `,ha=F.default(je)`
1746
+ `,ha=F.default(We)`
1747
1747
  border-radius: ${p.border_radius_400};
1748
1748
  position: relative;
1749
1749
  overflow: hidden;
@@ -1752,14 +1752,14 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1752
1752
  animation: ${p.motion_duration_slow} infinite alternate ${EA},
1753
1753
  ${p.motion_ease_in_out};
1754
1754
  will-change: opacity;
1755
- `,wd=D.default.forwardRef(function(t,n){const{"data-id":r,looksLike:o="h3",width:a="900"}=t,i=D.default.useMemo(()=>`${Math.random()/2}s`,[]),l=D.default.useMemo(()=>{switch(o){case"h1":return"700";case"h2":return"600";case"h3":return"500";case"h4":return"400";case"h5":return"300";case"h6":return"200"}},[o]);return w(je,{ref:n,tabIndex:-1,"aria-hidden":"true","data-id":r,children:w(ha,{borderRadius:"200",height:p[`line_height_${l}`],maxWidth:a,style:{animationDelay:i}})})});wd.displayName="Skeleton.Header";const Y$=D.default.forwardRef(function(t,n){const{"data-id":r,width:o="100%",looksLike:a}=t,i=D.default.useMemo(()=>`${Math.random()/2}s`,[]),l=D.default.useMemo(()=>{switch(a){case"h1":return"700";case"h2":return"600";case"h3":return"500";case"h4":return"400";case"h5":return"300";case"h6":return"200"}},[a]);return w(je,{ref:n,tabIndex:-1,"aria-hidden":"true","data-id":r,children:w(ha,{borderRadius:"200",height:p[`line_height_${l}`],maxWidth:o,style:{animationDelay:i}})})}),Ed=D.default.forwardRef(function(t,n){const{"data-id":r,height:o=p.spacing_500,lines:a=3}=t,i=D.default.useMemo(()=>{const l=[];for(let s=0;s<a;s++)l.push(w(ha,{borderRadius:p.border_radius_400,style:{animationDelay:`${s*.3}s`},height:o,width:s===a-1?"70%":""},s));return l},[a,o]);return w(je,{ref:n,mt:p.spacing_100,tabIndex:-1,"aria-hidden":"true","data-id":r,children:w(Or,{space:p.spacing_300,children:i})})});Ed.displayName="Skeleton.Body";const Sd=D.default.forwardRef(function(t,n){const{"data-id":r,children:o,...a}=t,i=D.default.useMemo(()=>`${Math.random()/2}s`,[]);return w(je,{ref:n,tabIndex:-1,"aria-hidden":"true","data-id":r,children:w(ha,{...a,style:{animationDelay:i}})})});Sd.displayName="Skeleton.Box";function It(){return null}It.displayName="Skeleton",It.Header=wd,It.Box=Sd,It.Body=Ed,It.Footer=Y$;const ba=D.default.createContext({loading:!1,onClose:()=>{}}),q$=F.default.div`
1755
+ `,wd=D.default.forwardRef(function(t,n){const{"data-id":r,looksLike:o="h3",width:a="900"}=t,i=D.default.useMemo(()=>`${Math.random()/2}s`,[]),l=D.default.useMemo(()=>{switch(o){case"h1":return"700";case"h2":return"600";case"h3":return"500";case"h4":return"400";case"h5":return"300";case"h6":return"200"}},[o]);return w(We,{ref:n,tabIndex:-1,"aria-hidden":"true","data-id":r,children:w(ha,{borderRadius:"200",height:p[`line_height_${l}`],maxWidth:a,style:{animationDelay:i}})})});wd.displayName="Skeleton.Header";const Y$=D.default.forwardRef(function(t,n){const{"data-id":r,width:o="100%",looksLike:a}=t,i=D.default.useMemo(()=>`${Math.random()/2}s`,[]),l=D.default.useMemo(()=>{switch(a){case"h1":return"700";case"h2":return"600";case"h3":return"500";case"h4":return"400";case"h5":return"300";case"h6":return"200"}},[a]);return w(We,{ref:n,tabIndex:-1,"aria-hidden":"true","data-id":r,children:w(ha,{borderRadius:"200",height:p[`line_height_${l}`],maxWidth:o,style:{animationDelay:i}})})}),Ed=D.default.forwardRef(function(t,n){const{"data-id":r,height:o=p.spacing_500,lines:a=3}=t,i=D.default.useMemo(()=>{const l=[];for(let s=0;s<a;s++)l.push(w(ha,{borderRadius:p.border_radius_400,style:{animationDelay:`${s*.3}s`},height:o,width:s===a-1?"70%":""},s));return l},[a,o]);return w(We,{ref:n,mt:p.spacing_100,tabIndex:-1,"aria-hidden":"true","data-id":r,children:w(Mr,{space:p.spacing_300,children:i})})});Ed.displayName="Skeleton.Body";const Sd=D.default.forwardRef(function(t,n){const{"data-id":r,children:o,...a}=t,i=D.default.useMemo(()=>`${Math.random()/2}s`,[]);return w(We,{ref:n,tabIndex:-1,"aria-hidden":"true","data-id":r,children:w(ha,{...a,style:{animationDelay:i}})})});Sd.displayName="Skeleton.Box";function Mt(){return null}Mt.displayName="Skeleton",Mt.Header=wd,Mt.Box=Sd,Mt.Body=Ed,Mt.Footer=Y$;const ba=D.default.createContext({loading:!1,onClose:()=>{}}),q$=F.default.div`
1756
1756
  padding: ${p.spacing_500};
1757
1757
  padding-top: 0 !important;
1758
1758
  display: flex;
1759
1759
  flex-direction: column;
1760
1760
  overflow-y: auto;
1761
1761
  flex: 1;
1762
- `,X$=D.default.forwardRef(function(t,n){const r=wA(t),{loading:o}=c.useContext(ba);return o?w(q$,{"data-id":"drawer-content",...r,ref:n,children:[1,2,3,4,5].map(a=>ee(xt,{mb:p.spacing_600,children:[w(me,{width:"50%",marginRight:p.spacing_200,children:w(It.Body,{lines:2,height:p.spacing_300})}),w(me,{width:"50%",marginLeft:p.spacing_200,children:w(It.Body,{lines:2,height:p.spacing_300})})]},a))}):w(q$,{"data-id":"drawer-content",...r,ref:n,children:t.children})});X$.displayName="Drawer.Content";const SA=X$,Z$=F.default(me)`
1762
+ `,X$=D.default.forwardRef(function(t,n){const r=wA(t),{loading:o}=c.useContext(ba);return o?w(q$,{"data-id":"drawer-content",...r,ref:n,children:[1,2,3,4,5].map(a=>ee(Et,{mb:p.spacing_600,children:[w(me,{width:"50%",marginRight:p.spacing_200,children:w(Mt.Body,{lines:2,height:p.spacing_300})}),w(me,{width:"50%",marginLeft:p.spacing_200,children:w(Mt.Body,{lines:2,height:p.spacing_300})})]},a))}):w(q$,{"data-id":"drawer-content",...r,ref:n,children:t.children})});X$.displayName="Drawer.Content";const SA=X$,Z$=F.default(me)`
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(R),null," "));var Y=he(le,se,H,ne,re+"
1770
1770
  justify-content: space-between;
1771
1771
  align-items: center;
1772
1772
  margin-bottom: ${p.spacing_300};
1773
- `,Dd=c.forwardRef(function(t,n){const{children:r,actions:o=null,title:a,sticky:i,skeleton:l}=t,{loading:s}=c.useContext(ba);return s?w(Z$,{ref:n,sticky:i,children:l||ee(Qe,{children:[w(It.Header,{looksLike:"h2"}),w(It.Body,{lines:1})]})}):ee(Z$,{ref:n,sticky:i,children:[ee(DA,{height:p.spacing_600,children:[w(Gn,{looksLike:"body",as:"h2",height:p.spacing_600,children:a}),ee(xt,{children:[o,w(Q$.Close,{})]})]}),w("div",{children:r})]})}),PA=F.default(me)`
1773
+ `,Dd=c.forwardRef(function(t,n){const{children:r,actions:o=null,title:a,sticky:i,skeleton:l}=t,{loading:s}=c.useContext(ba);return s?w(Z$,{ref:n,sticky:i,children:l||ee(tt,{children:[w(Mt.Header,{looksLike:"h2"}),w(Mt.Body,{lines:1})]})}):ee(Z$,{ref:n,sticky:i,children:[ee(DA,{height:p.spacing_600,children:[w(Yn,{looksLike:"body",as:"h2",height:p.spacing_600,children:a}),ee(Et,{children:[o,w(Q$.Close,{})]})]}),w("div",{children:r})]})}),PA=F.default(me)`
1774
1774
  overflow-x: hidden !important;
1775
1775
 
1776
1776
  ${e=>{const t=`
@@ -1804,7 +1804,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1804
1804
  align-items: center;
1805
1805
  gap: ${p.spacing_150};
1806
1806
  height: fit-content;
1807
- `,kA=c.forwardRef(function(t,n){const{children:r,skeleton:o}=t,{loading:a}=c.useContext(ba);return a?w(J$,{ref:n,children:o||w(It.Footer,{looksLike:"h1"})}):w(J$,{ref:n,children:w(TA,{height:p.spacing_600,children:r})})}),CA=F.default(me)`
1807
+ `,kA=c.forwardRef(function(t,n){const{children:r,skeleton:o}=t,{loading:a}=c.useContext(ba);return a?w(J$,{ref:n,children:o||w(Mt.Footer,{looksLike:"h1"})}):w(J$,{ref:n,children:w(TA,{height:p.spacing_600,children:r})})}),CA=F.default(me)`
1808
1808
  ${rh}
1809
1809
  width: ${p.sizing_600};
1810
1810
  height: ${p.sizing_600};
@@ -1814,7 +1814,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1814
1814
  height: ${p.sizing_450};
1815
1815
  margin-top: -3px;
1816
1816
  }
1817
- `,AA=c.forwardRef(function(t,n){const{onClose:r}=c.useContext(ba);return ee(CA,{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(Ci,{children:"Close"})]})}),eo=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:g,width:m="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===Dd&&typeof _.title=="string"?x(_.title):c.isValidElement(M)&&M.type===Dd&&typeof _.dialogTitle=="string"&&x(_.dialogTitle)})},[r]);function k(M){var C;if(!a)return;!((C=S.current)!=null&&C.contains(M.target))&&u&&s()}function P(M){o&&u&&wp("escape",s)(M)}return Dr("keydown",P),Dr("click",k),c.useEffect(()=>{l(u)},[l,u]),c.useLayoutEffect(()=>{let M;return u&&(M=$s().setTimeout(()=>{var _;(_=S==null?void 0:S.current)==null||_.focus()},si(p.motion_duration_medium))),()=>{$s().clearTimeout(M)}},[u]),Dr("blur",()=>{$(!0)}),Dr("focus",M=>{$(!1)}),ee(Qe,{children:[w(bg,{isActive:u}),w(ci,{containerId:d,children:w($g,{mountOnEnter:!0,unmountOnExit:!0,in:u,timeout:{enter:0,exit:si(p.motion_duration_medium)},children:M=>w(me,{"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(PA,{"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:m,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(ii.TouchScrollable,{children:w(xt,{overflowY:"auto",overflowX:"hidden",position:"relative",height:"100%",flexDirection:"column",children:w(ba.Provider,{value:{onClose:s,loading:g},children:r})})})})})})})]})});eo.displayName="Drawer",eo.Content=SA,eo.Header=Dd,eo.Close=AA,eo.Footer=kA;const Q$=eo;function IA({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 Pd=["Enter"," "],OA=["ArrowDown","PageUp","Home"],e_=["ArrowUp","PageDown","End"],MA=[...OA,...e_],FA={ltr:[...Pd,"ArrowRight"],rtl:[...Pd,"ArrowLeft"]},LA={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ol="Menu",[va,NA,zA]=La(Ol),[cr,t_]=Ve(Ol,[zA,Zr,kn]),ya=Zr(),n_=kn(),[r_,Fn]=cr(Ol),[RA,$a]=cr(Ol),KA=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:a,modal:i=!0}=e,l=ya(t),[s,u]=c.useState(null),d=c.useRef(!1),f=Ue(a),g=pr(o);return c.useEffect(()=>{const m=()=>{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",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),c.createElement(xl,l,c.createElement(r_,{scope:t,open:n,onOpenChange:f,content:s,onContentChange:u},c.createElement(RA,{scope:t,onClose:c.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:g,modal:i},r)))},o_=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ya(n);return c.createElement(nd,L({},o,r,{ref:t}))}),a_="MenuPortal",[VA,i_]=cr(a_,{forceMount:void 0}),BA=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,a=Fn(a_,t);return c.createElement(VA,{scope:t,forceMount:n},c.createElement(He,{present:n||a.open},c.createElement(Do,{asChild:!0,container:o},r)))},Ot="MenuContent",[jA,Td]=cr(Ot),UA=c.forwardRef((e,t)=>{const n=i_(Ot,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=Fn(Ot,e.__scopeMenu),i=$a(Ot,e.__scopeMenu);return c.createElement(va.Provider,{scope:e.__scopeMenu},c.createElement(He,{present:r||a.open},c.createElement(va.Slot,{scope:e.__scopeMenu},i.modal?c.createElement(WA,L({},o,{ref:t})):c.createElement(HA,L({},o,{ref:t})))))}),WA=c.forwardRef((e,t)=>{const n=Fn(Ot,e.__scopeMenu),r=c.useRef(null),o=xe(t,r);return c.useEffect(()=>{const a=r.current;if(a)return Vs(a)},[]),c.createElement(kd,L({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:ae(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),HA=c.forwardRef((e,t)=>{const n=Fn(Ot,e.__scopeMenu);return c.createElement(kd,L({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),kd=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:g,onDismiss:m,disableOutsideScroll:h,...b}=e,v=Fn(Ot,n),$=$a(Ot,n),y=ya(n),x=n_(n),S=NA(n),[k,P]=c.useState(null),M=c.useRef(null),_=xe(t,M,v.onContentChange),C=c.useRef(0),N=c.useRef(""),E=c.useRef(0),V=c.useRef(null),O=c.useRef("right"),T=c.useRef(0),U=h?Rs:c.Fragment,I=h?{as:Vn,allowPinchZoom:!0}:void 0,Z=q=>{var R,W;const B=N.current+q,K=S().filter(J=>!J.disabled),H=document.activeElement,ne=(R=K.find(J=>J.ref.current===H))===null||R===void 0?void 0:R.textValue,re=K.map(J=>J.textValue),le=fI(re,B,ne),X=(W=K.find(J=>J.textValue===le))===null||W===void 0?void 0:W.ref.current;(function J(se){N.current=se,window.clearTimeout(C.current),se!==""&&(C.current=window.setTimeout(()=>J(""),1e3))})(B),X&&setTimeout(()=>X.focus())};c.useEffect(()=>()=>window.clearTimeout(C.current),[]),Ms();const j=c.useCallback(q=>{var R,W;return O.current===((R=V.current)===null||R===void 0?void 0:R.side)&&mI(q,(W=V.current)===null||W===void 0?void 0:W.area)},[]);return c.createElement(jA,{scope:n,searchRef:N,onItemEnter:c.useCallback(q=>{j(q)&&q.preventDefault()},[j]),onItemLeave:c.useCallback(q=>{var R;j(q)||((R=M.current)===null||R===void 0||R.focus(),P(null))},[j]),onTriggerLeave:c.useCallback(q=>{j(q)&&q.preventDefault()},[j]),pointerGraceTimerRef:E,onPointerGraceIntentChange:c.useCallback(q=>{V.current=q},[])},c.createElement(U,I,c.createElement(Is,{asChild:!0,trapped:o,onMountAutoFocus:ae(a,q=>{var R;q.preventDefault(),(R=M.current)===null||R===void 0||R.focus()}),onUnmountAutoFocus:i},c.createElement(So,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:g,onDismiss:m},c.createElement(Fi,L({asChild:!0},x,{dir:$.dir,orientation:"vertical",loop:r,currentTabStopId:k,onCurrentTabStopIdChange:P,onEntryFocus:ae(s,q=>{$.isUsingKeyboardRef.current||q.preventDefault()})}),c.createElement(rd,L({role:"menu","aria-orientation":"vertical","data-state":m_(v.open),"data-radix-menu-content":"",dir:$.dir},y,b,{ref:_,style:{outline:"none",...b.style},onKeyDown:ae(b.onKeyDown,q=>{const W=q.target.closest("[data-radix-menu-content]")===q.currentTarget,B=q.ctrlKey||q.altKey||q.metaKey,K=q.key.length===1;W&&(q.key==="Tab"&&q.preventDefault(),!B&&K&&Z(q.key));const H=M.current;if(q.target!==H||!MA.includes(q.key))return;q.preventDefault();const re=S().filter(le=>!le.disabled).map(le=>le.ref.current);e_.includes(q.key)&&re.reverse(),uI(re)}),onBlur:ae(e.onBlur,q=>{q.currentTarget.contains(q.target)||(window.clearTimeout(C.current),N.current="")}),onPointerMove:ae(e.onPointerMove,_a(q=>{const R=q.target,W=T.current!==q.clientX;if(q.currentTarget.contains(R)&&W){const B=q.clientX>T.current?"right":"left";O.current=B,T.current=q.clientX}}))})))))))}),l_=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(de.div,L({role:"group"},r,{ref:t}))}),GA=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(de.div,L({},r,{ref:t}))}),Cd="MenuItem",s_="menu.itemSelect",Ad=c.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,a=c.useRef(null),i=$a(Cd,e.__scopeMenu),l=Td(Cd,e.__scopeMenu),s=xe(t,a),u=c.useRef(!1),d=()=>{const f=a.current;if(!n&&f){const g=new CustomEvent(s_,{bubbles:!0,cancelable:!0});f.addEventListener(s_,m=>r==null?void 0:r(m),{once:!0}),fs(f,g),g.defaultPrevented?u.current=!1:i.onClose()}};return c.createElement(c_,L({},o,{ref:s,disabled:n,onClick:ae(e.onClick,d),onPointerDown:f=>{var g;(g=e.onPointerDown)===null||g===void 0||g.call(e,f),u.current=!0},onPointerUp:ae(e.onPointerUp,f=>{var g;u.current||(g=f.currentTarget)===null||g===void 0||g.click()}),onKeyDown:ae(e.onKeyDown,f=>{const g=l.searchRef.current!=="";n||g&&f.key===" "||Pd.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})}))}),c_=c.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...a}=e,i=Td(Cd,n),l=n_(n),s=c.useRef(null),u=xe(t,s),[d,f]=c.useState(!1),[g,m]=c.useState("");return c.useEffect(()=>{const h=s.current;if(h){var b;m(((b=h.textContent)!==null&&b!==void 0?b:"").trim())}},[a.children]),c.createElement(va.ItemSlot,{scope:n,disabled:r,textValue:o??g},c.createElement(Li,L({asChild:!0},l,{focusable:!r}),c.createElement(de.div,L({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},a,{ref:u,onPointerMove:ae(e.onPointerMove,_a(h=>{r?i.onItemLeave(h):(i.onItemEnter(h),h.defaultPrevented||h.currentTarget.focus())})),onPointerLeave:ae(e.onPointerLeave,_a(h=>i.onItemLeave(h))),onFocus:ae(e.onFocus,()=>f(!0)),onBlur:ae(e.onBlur,()=>f(!1))}))))}),YA=c.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return c.createElement(d_,{scope:e.__scopeMenu,checked:n},c.createElement(Ad,L({role:"menuitemcheckbox","aria-checked":Fl(n)?"mixed":n},o,{ref:t,"data-state":Id(n),onSelect:ae(o.onSelect,()=>r==null?void 0:r(Fl(n)?!0:!n),{checkForDefaultPrevented:!1})})))}),qA="MenuRadioGroup",[XA,ZA]=cr(qA,{value:void 0,onValueChange:()=>{}}),JA=c.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,a=Ue(r);return c.createElement(XA,{scope:e.__scopeMenu,value:n,onValueChange:a},c.createElement(l_,L({},o,{ref:t})))}),QA="MenuRadioItem",eI=c.forwardRef((e,t)=>{const{value:n,...r}=e,o=ZA(QA,e.__scopeMenu),a=n===o.value;return c.createElement(d_,{scope:e.__scopeMenu,checked:a},c.createElement(Ad,L({role:"menuitemradio","aria-checked":a},r,{ref:t,"data-state":Id(a),onSelect:ae(r.onSelect,()=>{var i;return(i=o.onValueChange)===null||i===void 0?void 0:i.call(o,n)},{checkForDefaultPrevented:!1})})))}),u_="MenuItemIndicator",[d_,tI]=cr(u_,{checked:!1}),nI=c.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,a=tI(u_,n);return c.createElement(He,{present:r||Fl(a.checked)||a.checked===!0},c.createElement(de.span,L({},o,{ref:t,"data-state":Id(a.checked)})))}),rI=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(de.div,L({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),oI=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ya(n);return c.createElement(od,L({},o,r,{ref:t}))}),f_="MenuSub",[aI,p_]=cr(f_),iI=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,a=Fn(f_,t),i=ya(t),[l,s]=c.useState(null),[u,d]=c.useState(null),f=Ue(o);return c.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),c.createElement(xl,i,c.createElement(r_,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:d},c.createElement(aI,{scope:t,contentId:ot(),triggerId:ot(),trigger:l,onTriggerChange:s},n)))},Ml="MenuSubTrigger",lI=c.forwardRef((e,t)=>{const n=Fn(Ml,e.__scopeMenu),r=$a(Ml,e.__scopeMenu),o=p_(Ml,e.__scopeMenu),a=Td(Ml,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(o_,L({asChild:!0},u),c.createElement(c_,L({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":m_(n.open)},e,{ref:Fa(t,o.onTriggerChange),onClick:f=>{var g;(g=e.onClick)===null||g===void 0||g.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:ae(e.onPointerMove,_a(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:ae(e.onPointerLeave,_a(f=>{var g;d();const m=(g=n.content)===null||g===void 0?void 0:g.getBoundingClientRect();if(m){var h;const b=(h=n.content)===null||h===void 0?void 0:h.dataset.side,v=b==="right",$=v?-5:5,y=m[v?"left":"right"],x=m[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+$,y:f.clientY},{x:y,y:m.top},{x,y:m.top},{x,y:m.bottom},{x:y,y:m.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:ae(e.onKeyDown,f=>{const g=a.searchRef.current!=="";if(!(e.disabled||g&&f.key===" ")&&FA[r.dir].includes(f.key)){var m;n.onOpenChange(!0),(m=n.content)===null||m===void 0||m.focus(),f.preventDefault()}})})))}),sI="MenuSubContent",cI=c.forwardRef((e,t)=>{const n=i_(Ot,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=Fn(Ot,e.__scopeMenu),i=$a(Ot,e.__scopeMenu),l=p_(sI,e.__scopeMenu),s=c.useRef(null),u=xe(t,s);return c.createElement(va.Provider,{scope:e.__scopeMenu},c.createElement(He,{present:r||a.open},c.createElement(va.Slot,{scope:e.__scopeMenu},c.createElement(kd,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:ae(e.onFocusOutside,d=>{d.target!==l.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:ae(e.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:ae(e.onKeyDown,d=>{const f=d.currentTarget.contains(d.target),g=LA[i.dir].includes(d.key);if(f&&g){var m;a.onOpenChange(!1),(m=l.trigger)===null||m===void 0||m.focus(),d.preventDefault()}})})))))});function m_(e){return e?"open":"closed"}function Fl(e){return e==="indeterminate"}function Id(e){return Fl(e)?"indeterminate":e?"checked":"unchecked"}function uI(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function dI(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function fI(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=dI(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 pI(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 mI(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return pI(n,t)}function _a(e){return t=>t.pointerType==="mouse"?e(t):void 0}const gI=KA,hI=o_,bI=BA,vI=UA,yI=l_,$I=GA,_I=Ad,xI=YA,wI=JA,EI=eI,SI=nI,DI=rI,PI=oI,TI=iI,kI=lI,CI=cI,g_="DropdownMenu",[AI,ZV]=Ve(g_,[t_]),Ye=t_(),[II,h_]=AI(g_),OI=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:a,onOpenChange:i,modal:l=!0}=e,s=Ye(t),u=c.useRef(null),[d=!1,f]=We({prop:o,defaultProp:a,onChange:i});return c.createElement(II,{scope:t,triggerId:ot(),triggerRef:u,contentId:ot(),open:d,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(g=>!g),[f]),modal:l},c.createElement(gI,L({},s,{open:d,onOpenChange:f,dir:r,modal:l}),n))},MI="DropdownMenuTrigger",FI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,a=h_(MI,n),i=Ye(n);return c.createElement(hI,L({asChild:!0},i),c.createElement(de.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:Fa(t,a.triggerRef),onPointerDown:ae(e.onPointerDown,l=>{!r&&l.button===0&&l.ctrlKey===!1&&(a.onOpenToggle(),a.open||l.preventDefault())}),onKeyDown:ae(e.onKeyDown,l=>{r||(["Enter"," "].includes(l.key)&&a.onOpenToggle(),l.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})))}),LI=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ye(t);return c.createElement(bI,L({},r,n))},NI="DropdownMenuContent",zI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=h_(NI,n),a=Ye(n),i=c.useRef(!1);return c.createElement(vI,L({id:o.contentId,"aria-labelledby":o.triggerId},a,r,{ref:t,onCloseAutoFocus:ae(e.onCloseAutoFocus,l=>{var s;i.current||(s=o.triggerRef.current)===null||s===void 0||s.focus(),i.current=!1,l.preventDefault()}),onInteractOutside:ae(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)"}}))}),RI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(yI,L({},o,r,{ref:t}))}),KI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement($I,L({},o,r,{ref:t}))}),VI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(_I,L({},o,r,{ref:t}))}),BI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(xI,L({},o,r,{ref:t}))}),jI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(wI,L({},o,r,{ref:t}))}),UI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(EI,L({},o,r,{ref:t}))}),WI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(SI,L({},o,r,{ref:t}))}),HI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(DI,L({},o,r,{ref:t}))}),GI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(PI,L({},o,r,{ref:t}))}),YI=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:a}=e,i=Ye(t),[l=!1,s]=We({prop:r,defaultProp:a,onChange:o});return c.createElement(TI,L({},i,{open:l,onOpenChange:s}),n)},qI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(kI,L({},o,r,{ref:t}))}),XI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return c.createElement(CI,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)"}}))}),ZI=OI,JI=FI,b_=LI,QI=zI,eO=RI,tO=KI,nO=VI,rO=BI,oO=jI,aO=UI,iO=WI,lO=HI,sO=GI,cO=YI,uO=qI,dO=XI,fO=ue.keyframes`
1817
+ `,AA=c.forwardRef(function(t,n){const{onClose:r}=c.useContext(ba);return ee(CA,{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(Se.Close,{}),w(Ci,{children:"Close"})]})}),to=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:g,width:m="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===Dd&&typeof _.title=="string"?x(_.title):c.isValidElement(M)&&M.type===Dd&&typeof _.dialogTitle=="string"&&x(_.dialogTitle)})},[r]);function k(M){var C;if(!a)return;!((C=S.current)!=null&&C.contains(M.target))&&u&&s()}function P(M){o&&u&&wp("escape",s)(M)}return Pr("keydown",P),Pr("click",k),c.useEffect(()=>{l(u)},[l,u]),c.useLayoutEffect(()=>{let M;return u&&(M=$s().setTimeout(()=>{var _;(_=S==null?void 0:S.current)==null||_.focus()},si(p.motion_duration_medium))),()=>{$s().clearTimeout(M)}},[u]),Pr("blur",()=>{$(!0)}),Pr("focus",M=>{$(!1)}),ee(tt,{children:[w(bg,{isActive:u}),w(ci,{containerId:d,children:w($g,{mountOnEnter:!0,unmountOnExit:!0,in:u,timeout:{enter:0,exit:si(p.motion_duration_medium)},children:M=>w(me,{"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(PA,{"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:m,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(ii.TouchScrollable,{children:w(Et,{overflowY:"auto",overflowX:"hidden",position:"relative",height:"100%",flexDirection:"column",children:w(ba.Provider,{value:{onClose:s,loading:g},children:r})})})})})})})]})});to.displayName="Drawer",to.Content=SA,to.Header=Dd,to.Close=AA,to.Footer=kA;const Q$=to;function IA({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 Pd=["Enter"," "],OA=["ArrowDown","PageUp","Home"],e_=["ArrowUp","PageDown","End"],MA=[...OA,...e_],FA={ltr:[...Pd,"ArrowRight"],rtl:[...Pd,"ArrowLeft"]},LA={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ol="Menu",[va,NA,zA]=La(Ol),[ur,t_]=je(Ol,[zA,Jr,kn]),ya=Jr(),n_=kn(),[r_,Fn]=ur(Ol),[RA,$a]=ur(Ol),KA=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:a,modal:i=!0}=e,l=ya(t),[s,u]=c.useState(null),d=c.useRef(!1),f=He(a),g=mr(o);return c.useEffect(()=>{const m=()=>{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",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),c.createElement(xl,l,c.createElement(r_,{scope:t,open:n,onOpenChange:f,content:s,onContentChange:u},c.createElement(RA,{scope:t,onClose:c.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:g,modal:i},r)))},o_=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ya(n);return c.createElement(nd,L({},o,r,{ref:t}))}),a_="MenuPortal",[VA,i_]=ur(a_,{forceMount:void 0}),BA=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,a=Fn(a_,t);return c.createElement(VA,{scope:t,forceMount:n},c.createElement(Ye,{present:n||a.open},c.createElement(Do,{asChild:!0,container:o},r)))},Ft="MenuContent",[jA,Td]=ur(Ft),UA=c.forwardRef((e,t)=>{const n=i_(Ft,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=Fn(Ft,e.__scopeMenu),i=$a(Ft,e.__scopeMenu);return c.createElement(va.Provider,{scope:e.__scopeMenu},c.createElement(Ye,{present:r||a.open},c.createElement(va.Slot,{scope:e.__scopeMenu},i.modal?c.createElement(WA,L({},o,{ref:t})):c.createElement(HA,L({},o,{ref:t})))))}),WA=c.forwardRef((e,t)=>{const n=Fn(Ft,e.__scopeMenu),r=c.useRef(null),o=Ee(t,r);return c.useEffect(()=>{const a=r.current;if(a)return Vs(a)},[]),c.createElement(kd,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)}))}),HA=c.forwardRef((e,t)=>{const n=Fn(Ft,e.__scopeMenu);return c.createElement(kd,L({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),kd=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:g,onDismiss:m,disableOutsideScroll:h,...b}=e,v=Fn(Ft,n),$=$a(Ft,n),y=ya(n),x=n_(n),S=NA(n),[k,P]=c.useState(null),M=c.useRef(null),_=Ee(t,M,v.onContentChange),C=c.useRef(0),N=c.useRef(""),E=c.useRef(0),V=c.useRef(null),O=c.useRef("right"),T=c.useRef(0),U=h?Rs:c.Fragment,I=h?{as:Bn,allowPinchZoom:!0}:void 0,X=Y=>{var z,W;const B=N.current+Y,K=S().filter(Z=>!Z.disabled),H=document.activeElement,te=(z=K.find(Z=>Z.ref.current===H))===null||z===void 0?void 0:z.textValue,ne=K.map(Z=>Z.textValue),ie=fI(ne,B,te),q=(W=K.find(Z=>Z.textValue===ie))===null||W===void 0?void 0:W.ref.current;(function Z(le){N.current=le,window.clearTimeout(C.current),le!==""&&(C.current=window.setTimeout(()=>Z(""),1e3))})(B),q&&setTimeout(()=>q.focus())};c.useEffect(()=>()=>window.clearTimeout(C.current),[]),Ms();const j=c.useCallback(Y=>{var z,W;return O.current===((z=V.current)===null||z===void 0?void 0:z.side)&&mI(Y,(W=V.current)===null||W===void 0?void 0:W.area)},[]);return c.createElement(jA,{scope:n,searchRef:N,onItemEnter:c.useCallback(Y=>{j(Y)&&Y.preventDefault()},[j]),onItemLeave:c.useCallback(Y=>{var z;j(Y)||((z=M.current)===null||z===void 0||z.focus(),P(null))},[j]),onTriggerLeave:c.useCallback(Y=>{j(Y)&&Y.preventDefault()},[j]),pointerGraceTimerRef:E,onPointerGraceIntentChange:c.useCallback(Y=>{V.current=Y},[])},c.createElement(U,I,c.createElement(Is,{asChild:!0,trapped:o,onMountAutoFocus:oe(a,Y=>{var z;Y.preventDefault(),(z=M.current)===null||z===void 0||z.focus()}),onUnmountAutoFocus:i},c.createElement(So,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:g,onDismiss:m},c.createElement(Fi,L({asChild:!0},x,{dir:$.dir,orientation:"vertical",loop:r,currentTabStopId:k,onCurrentTabStopIdChange:P,onEntryFocus:oe(s,Y=>{$.isUsingKeyboardRef.current||Y.preventDefault()})}),c.createElement(rd,L({role:"menu","aria-orientation":"vertical","data-state":m_(v.open),"data-radix-menu-content":"",dir:$.dir},y,b,{ref:_,style:{outline:"none",...b.style},onKeyDown:oe(b.onKeyDown,Y=>{const W=Y.target.closest("[data-radix-menu-content]")===Y.currentTarget,B=Y.ctrlKey||Y.altKey||Y.metaKey,K=Y.key.length===1;W&&(Y.key==="Tab"&&Y.preventDefault(),!B&&K&&X(Y.key));const H=M.current;if(Y.target!==H||!MA.includes(Y.key))return;Y.preventDefault();const ne=S().filter(ie=>!ie.disabled).map(ie=>ie.ref.current);e_.includes(Y.key)&&ne.reverse(),uI(ne)}),onBlur:oe(e.onBlur,Y=>{Y.currentTarget.contains(Y.target)||(window.clearTimeout(C.current),N.current="")}),onPointerMove:oe(e.onPointerMove,_a(Y=>{const z=Y.target,W=T.current!==Y.clientX;if(Y.currentTarget.contains(z)&&W){const B=Y.clientX>T.current?"right":"left";O.current=B,T.current=Y.clientX}}))})))))))}),l_=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(de.div,L({role:"group"},r,{ref:t}))}),GA=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(de.div,L({},r,{ref:t}))}),Cd="MenuItem",s_="menu.itemSelect",Ad=c.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,a=c.useRef(null),i=$a(Cd,e.__scopeMenu),l=Td(Cd,e.__scopeMenu),s=Ee(t,a),u=c.useRef(!1),d=()=>{const f=a.current;if(!n&&f){const g=new CustomEvent(s_,{bubbles:!0,cancelable:!0});f.addEventListener(s_,m=>r==null?void 0:r(m),{once:!0}),fs(f,g),g.defaultPrevented?u.current=!1:i.onClose()}};return c.createElement(c_,L({},o,{ref:s,disabled:n,onClick:oe(e.onClick,d),onPointerDown:f=>{var g;(g=e.onPointerDown)===null||g===void 0||g.call(e,f),u.current=!0},onPointerUp:oe(e.onPointerUp,f=>{var g;u.current||(g=f.currentTarget)===null||g===void 0||g.click()}),onKeyDown:oe(e.onKeyDown,f=>{const g=l.searchRef.current!=="";n||g&&f.key===" "||Pd.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})}))}),c_=c.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...a}=e,i=Td(Cd,n),l=n_(n),s=c.useRef(null),u=Ee(t,s),[d,f]=c.useState(!1),[g,m]=c.useState("");return c.useEffect(()=>{const h=s.current;if(h){var b;m(((b=h.textContent)!==null&&b!==void 0?b:"").trim())}},[a.children]),c.createElement(va.ItemSlot,{scope:n,disabled:r,textValue:o??g},c.createElement(Li,L({asChild:!0},l,{focusable:!r}),c.createElement(de.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,_a(h=>{r?i.onItemLeave(h):(i.onItemEnter(h),h.defaultPrevented||h.currentTarget.focus())})),onPointerLeave:oe(e.onPointerLeave,_a(h=>i.onItemLeave(h))),onFocus:oe(e.onFocus,()=>f(!0)),onBlur:oe(e.onBlur,()=>f(!1))}))))}),YA=c.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return c.createElement(d_,{scope:e.__scopeMenu,checked:n},c.createElement(Ad,L({role:"menuitemcheckbox","aria-checked":Fl(n)?"mixed":n},o,{ref:t,"data-state":Id(n),onSelect:oe(o.onSelect,()=>r==null?void 0:r(Fl(n)?!0:!n),{checkForDefaultPrevented:!1})})))}),qA="MenuRadioGroup",[XA,ZA]=ur(qA,{value:void 0,onValueChange:()=>{}}),JA=c.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,a=He(r);return c.createElement(XA,{scope:e.__scopeMenu,value:n,onValueChange:a},c.createElement(l_,L({},o,{ref:t})))}),QA="MenuRadioItem",eI=c.forwardRef((e,t)=>{const{value:n,...r}=e,o=ZA(QA,e.__scopeMenu),a=n===o.value;return c.createElement(d_,{scope:e.__scopeMenu,checked:a},c.createElement(Ad,L({role:"menuitemradio","aria-checked":a},r,{ref:t,"data-state":Id(a),onSelect:oe(r.onSelect,()=>{var i;return(i=o.onValueChange)===null||i===void 0?void 0:i.call(o,n)},{checkForDefaultPrevented:!1})})))}),u_="MenuItemIndicator",[d_,tI]=ur(u_,{checked:!1}),nI=c.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,a=tI(u_,n);return c.createElement(Ye,{present:r||Fl(a.checked)||a.checked===!0},c.createElement(de.span,L({},o,{ref:t,"data-state":Id(a.checked)})))}),rI=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.createElement(de.div,L({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),oI=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ya(n);return c.createElement(od,L({},o,r,{ref:t}))}),f_="MenuSub",[aI,p_]=ur(f_),iI=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,a=Fn(f_,t),i=ya(t),[l,s]=c.useState(null),[u,d]=c.useState(null),f=He(o);return c.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),c.createElement(xl,i,c.createElement(r_,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:d},c.createElement(aI,{scope:t,contentId:it(),triggerId:it(),trigger:l,onTriggerChange:s},n)))},Ml="MenuSubTrigger",lI=c.forwardRef((e,t)=>{const n=Fn(Ml,e.__scopeMenu),r=$a(Ml,e.__scopeMenu),o=p_(Ml,e.__scopeMenu),a=Td(Ml,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(o_,L({asChild:!0},u),c.createElement(c_,L({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":m_(n.open)},e,{ref:Fa(t,o.onTriggerChange),onClick:f=>{var g;(g=e.onClick)===null||g===void 0||g.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:oe(e.onPointerMove,_a(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,_a(f=>{var g;d();const m=(g=n.content)===null||g===void 0?void 0:g.getBoundingClientRect();if(m){var h;const b=(h=n.content)===null||h===void 0?void 0:h.dataset.side,v=b==="right",$=v?-5:5,y=m[v?"left":"right"],x=m[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+$,y:f.clientY},{x:y,y:m.top},{x,y:m.top},{x,y:m.bottom},{x:y,y:m.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 g=a.searchRef.current!=="";if(!(e.disabled||g&&f.key===" ")&&FA[r.dir].includes(f.key)){var m;n.onOpenChange(!0),(m=n.content)===null||m===void 0||m.focus(),f.preventDefault()}})})))}),sI="MenuSubContent",cI=c.forwardRef((e,t)=>{const n=i_(Ft,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=Fn(Ft,e.__scopeMenu),i=$a(Ft,e.__scopeMenu),l=p_(sI,e.__scopeMenu),s=c.useRef(null),u=Ee(t,s);return c.createElement(va.Provider,{scope:e.__scopeMenu},c.createElement(Ye,{present:r||a.open},c.createElement(va.Slot,{scope:e.__scopeMenu},c.createElement(kd,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),g=LA[i.dir].includes(d.key);if(f&&g){var m;a.onOpenChange(!1),(m=l.trigger)===null||m===void 0||m.focus(),d.preventDefault()}})})))))});function m_(e){return e?"open":"closed"}function Fl(e){return e==="indeterminate"}function Id(e){return Fl(e)?"indeterminate":e?"checked":"unchecked"}function uI(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function dI(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function fI(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=dI(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 pI(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 mI(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return pI(n,t)}function _a(e){return t=>t.pointerType==="mouse"?e(t):void 0}const gI=KA,hI=o_,bI=BA,vI=UA,yI=l_,$I=GA,_I=Ad,xI=YA,wI=JA,EI=eI,SI=nI,DI=rI,PI=oI,TI=iI,kI=lI,CI=cI,g_="DropdownMenu",[AI,ZV]=je(g_,[t_]),Xe=t_(),[II,h_]=AI(g_),OI=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:a,onOpenChange:i,modal:l=!0}=e,s=Xe(t),u=c.useRef(null),[d=!1,f]=Ge({prop:o,defaultProp:a,onChange:i});return c.createElement(II,{scope:t,triggerId:it(),triggerRef:u,contentId:it(),open:d,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(g=>!g),[f]),modal:l},c.createElement(gI,L({},s,{open:d,onOpenChange:f,dir:r,modal:l}),n))},MI="DropdownMenuTrigger",FI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,a=h_(MI,n),i=Xe(n);return c.createElement(hI,L({asChild:!0},i),c.createElement(de.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:Fa(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())})})))}),LI=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Xe(t);return c.createElement(bI,L({},r,n))},NI="DropdownMenuContent",zI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=h_(NI,n),a=Xe(n),i=c.useRef(!1);return c.createElement(vI,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)"}}))}),RI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(yI,L({},o,r,{ref:t}))}),KI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement($I,L({},o,r,{ref:t}))}),VI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(_I,L({},o,r,{ref:t}))}),BI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(xI,L({},o,r,{ref:t}))}),jI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(wI,L({},o,r,{ref:t}))}),UI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(EI,L({},o,r,{ref:t}))}),WI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(SI,L({},o,r,{ref:t}))}),HI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(DI,L({},o,r,{ref:t}))}),GI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(PI,L({},o,r,{ref:t}))}),YI=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:a}=e,i=Xe(t),[l=!1,s]=Ge({prop:r,defaultProp:a,onChange:o});return c.createElement(TI,L({},i,{open:l,onOpenChange:s}),n)},qI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(kI,L({},o,r,{ref:t}))}),XI=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Xe(n);return c.createElement(CI,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)"}}))}),ZI=OI,JI=FI,b_=LI,QI=zI,eO=RI,tO=KI,nO=VI,rO=BI,oO=jI,aO=UI,iO=WI,lO=HI,sO=GI,cO=YI,uO=qI,dO=XI,fO=ue.keyframes`
1818
1818
  0% { opacity: 0; transform: translateY(2px); }
1819
1819
  100% { opacity: 1; transform: translateY(0); }
1820
1820
  `,pO=ue.keyframes`
@@ -1930,7 +1930,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
1930
1930
  }
1931
1931
  `,AO=F.default(dO)`
1932
1932
  ${v_}
1933
- `,$_="Popover",[__,JV]=Ve($_,[Zr]),Nl=Zr(),[IO,ur]=__($_),x_=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,l=Nl(t),s=c.useRef(null),[u,d]=c.useState(!1),[f=!1,g]=We({prop:r,defaultProp:o,onChange:a});return c.createElement(xl,l,c.createElement(IO,{scope:t,contentId:ot(),triggerRef:s,open:f,onOpenChange:g,onOpenToggle:c.useCallback(()=>g(m=>!m),[g]),hasCustomAnchor:u,onCustomAnchorAdd:c.useCallback(()=>d(!0),[]),onCustomAnchorRemove:c.useCallback(()=>d(!1),[]),modal:i},n))},OO="PopoverTrigger",w_=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ur(OO,n),a=Nl(n),i=xe(t,o.triggerRef),l=c.createElement(de.button,L({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":D_(o.open)},r,{ref:i,onClick:ae(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?l:c.createElement(nd,L({asChild:!0},a),l)}),E_="PopoverPortal",[MO,FO]=__(E_,{forceMount:void 0}),LO=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=ur(E_,t);return c.createElement(MO,{scope:t,forceMount:n},c.createElement(He,{present:n||a.open},c.createElement(Do,{asChild:!0,container:o},r)))},xa="PopoverContent",NO=c.forwardRef((e,t)=>{const n=FO(xa,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=ur(xa,e.__scopePopover);return c.createElement(He,{present:r||a.open},a.modal?c.createElement(zO,L({},o,{ref:t})):c.createElement(RO,L({},o,{ref:t})))}),zO=c.forwardRef((e,t)=>{const n=ur(xa,e.__scopePopover),r=c.useRef(null),o=xe(t,r),a=c.useRef(!1);return c.useEffect(()=>{const i=r.current;if(i)return Vs(i)},[]),c.createElement(Rs,{as:Vn,allowPinchZoom:!0},c.createElement(S_,L({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ae(e.onCloseAutoFocus,i=>{var l;i.preventDefault(),a.current||(l=n.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:ae(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:ae(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),RO=c.forwardRef((e,t)=>{const n=ur(xa,e.__scopePopover),r=c.useRef(!1),o=c.useRef(!1);return c.createElement(S_,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()}}))}),S_=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,g=ur(xa,n),m=Nl(n);return Ms(),c.createElement(Is,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(So,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onDismiss:()=>g.onOpenChange(!1)},c.createElement(rd,L({"data-state":D_(g.open),role:"dialog",id:g.contentId},m,f,{ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),KO="PopoverClose",VO=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ur(KO,n);return c.createElement(de.button,L({type:"button"},r,{ref:t,onClick:ae(e.onClick,()=>o.onOpenChange(!1))}))}),BO=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Nl(n);return c.createElement(od,L({},o,r,{ref:t}))});function D_(e){return e?"open":"closed"}const jO=x_,UO=w_,WO=LO,HO=NO,P_=VO,GO=BO;function YO(e){return e&&e.__esModule?e.default:e}var Pe;(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"})(Pe||(Pe={}));const T_={...Pe,copyMove:Pe.copy|Pe.move,copyLink:Pe.copy|Pe.link,linkMove:Pe.link|Pe.move,all:Pe.all,uninitialized:Pe.all},qO=Md(T_);qO[Pe.all]="all",Md(Pe);const k_={none:"cancel",link:"link",copy:"copy",move:"move"},Od=Md(k_);function Md(e){let t={};for(let n in e)t[e[n]]=n;return t}const Fd="application/vnd.react-aria.items+json",zl="application/octet-stream",XO=Symbol();function ZO(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function JO(){return ZO(Xg())}class Rl{has(t){return this.includesUnknownTypes||t===XO&&this.types.has(zl)?!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!==Fd&&(r.kind==="file"&&(n=!0),r.type?this.types.add(r.type):this.types.add(zl));this.includesUnknownTypes=!n&&t.types.includes("Files")}}function QO(e){let t=[],n=!1;if(e.types.includes(Fd))try{let r=e.getData(Fd),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||zl,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(Ld(o.getAsFile())):a.isDirectory&&t.push(C_(a))}else t.push(Ld(o.getAsFile()));r.size>0&&t.push({kind:"text",types:new Set(r.keys()),getText:o=>Promise.resolve(r.get(o))})}return t}function eM(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 Ld(e){return{kind:"file",type:e.type||zl,name:e.name,getText:()=>eM(e),getFile:()=>Promise.resolve(e)}}function C_(e){return{kind:"directory",name:e.name,getEntries:()=>tM(e)}}async function*tM(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 nM(r);yield Ld(o)}else r.isDirectory&&(yield C_(r))}while(n.length>0)}function nM(e){return new Promise((t,n)=>e.file(t,n))}let A_={draggingKeys:new Set};function rM(e){A_=e}function QV(e){}let I_=Pe.none,O_=new Map,M_=null,F_=new Set;function oM(e){return O_.set(e.element,e),()=>{O_.delete(e.element)}}function aM(){let[e,t]=c.useState(M_);return c.useEffect(()=>{let n=()=>t(M_);return F_.add(n),()=>{F_.delete(n)}},[]),e}var L_={},N_={};N_={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 z_={};z_={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 R_={};R_={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 K_={};K_={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 V_={};V_={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 B_={};B_={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var j_={};j_={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 U_={};U_={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 W_={};W_={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 H_={};H_={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 G_={};G_={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 Y_={};Y_={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 q_={};q_={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 X_={};X_={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 Z_={};Z_={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 J_={};J_={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 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)=>`${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 e1={};e1={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 t1={};t1={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 n1={};n1={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 r1={};r1={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 o1={};o1={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 a1={};a1={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 i1={};i1={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 l1={};l1={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 s1={};s1={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 c1={};c1={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 u1={};u1={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 d1={};d1={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 f1={};f1={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 p1={};p1={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 m1={};m1={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 g1={};g1={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 h1={};h1={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}」之間`},L_={"ar-AE":N_,"bg-BG":z_,"cs-CZ":R_,"da-DK":K_,"de-DE":V_,"el-GR":B_,"en-US":j_,"es-ES":U_,"et-EE":W_,"fi-FI":H_,"fr-FR":G_,"he-IL":Y_,"hr-HR":q_,"hu-HU":X_,"it-IT":Z_,"ja-JP":J_,"ko-KR":Q_,"lt-LT":e1,"lv-LV":t1,"nb-NO":n1,"nl-NL":r1,"pl-PL":o1,"pt-BR":a1,"pt-PT":i1,"ro-RO":l1,"ru-RU":s1,"sk-SK":c1,"sl-SI":u1,"sr-SP":d1,"sv-SE":f1,"tr-TR":p1,"uk-UA":m1,"zh-CN":g1,"zh-TW":h1};const iM={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function lM(){let e=Dt(YO(L_)),t=JO(),n=aM();return{dropProps:{...Oc(n?e.format(iM[t]):""),onClick:()=>{}}}}const sM=800;function cM(e){let{hasDropButton:t}=e,[n,r]=c.useState(!1),o=c.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Pe.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=b1(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 k=Nd(x),P=k[0];if(typeof e.getDropOperation=="function"){let M=new Rl(y.dataTransfer);P=Kl(x,e.getDropOperation(M,k))}o.dropEffect=Od[P]||"none"}if(typeof e.getDropOperationForPoint=="function"){let k=new Rl(y.dataTransfer),P=y.currentTarget.getBoundingClientRect(),M=Kl(x,e.getDropOperationForPoint(k,Nd(x),o.x-P.x,o.y-P.y));o.dropEffect=Od[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 k=y.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:o.x-k.x,y:o.y-k.y})}if(clearTimeout(o.dropActivateTimer),typeof e.onDropActivate=="function"&&o.dropEffect!=="none"){let k=y.currentTarget.getBoundingClientRect();o.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:o.x-k.x,y:o.y-k.y})},sM)}},s=y=>{if(y.preventDefault(),y.stopPropagation(),o.dragOverElements.add(y.target),o.dragOverElements.size>1)return;let x=b1(y),S=Nd(x),k=S[0];if(typeof e.getDropOperation=="function"){let P=new Rl(y.dataTransfer);k=Kl(x,e.getDropOperation(P,S))}if(typeof e.getDropOperationForPoint=="function"){let P=new Rl(y.dataTransfer),M=y.currentTarget.getBoundingClientRect();k=Kl(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=Od[k]||"none",y.dataTransfer.dropEffect=o.dropEffect,k!=="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=k_[o.dropEffect],k=QO(y.dataTransfer),P=y.currentTarget.getBoundingClientRect(),M={type:"drop",x:y.clientX-P.x,y:y.clientY-P.y,items:k,dropOperation:S};e.onDrop(M)}let x={...A_};o.dragOverElements.clear(),i(y),clearTimeout(o.dropActivateTimer),x.draggingCollectionRef==null||rM(x)},f=Ae(y=>{typeof e.onDropEnter=="function"&&e.onDropEnter(y)}),g=Ae(y=>{typeof e.onDropExit=="function"&&e.onDropExit(y)}),m=Ae(y=>{typeof e.onDropActivate=="function"&&e.onDropActivate(y)}),h=Ae(y=>{typeof e.onDrop=="function"&&e.onDrop(y)}),b=Ae((y,x)=>e.getDropOperation?e.getDropOperation(y,x):x[0]),{ref:v}=e;ke(()=>oM({element:v.current,getDropOperation:b,onDropEnter(y){r(!0),f(y)},onDropExit(y){r(!1),g(y)},onDrop:h,onDropActivate:m}),[v,b,f,g,h,m]);let{dropProps:$}=lM();return{dropProps:{...!t&&$,onDragEnter:s,onDragOver:l,onDragLeave:u,onDrop:d},dropButtonProps:{...t&&$},isDropTarget:n}}function b1(e){let t=T_[e.dataTransfer.effectAllowed];I_&&(t&=I_);let n=Pe.none;return en()?(e.altKey&&(n|=Pe.copy),e.ctrlKey&&!Dc()&&(n|=Pe.link),e.metaKey&&(n|=Pe.move)):(e.altKey&&(n|=Pe.link),e.shiftKey&&(n|=Pe.move),e.ctrlKey&&(n|=Pe.copy)),n?t&n:t}function Nd(e){let t=[];return e&Pe.move&&t.push("move"),e&Pe.copy&&t.push("copy"),e&Pe.link&&t.push("link"),t}function Kl(e,t){let n=Pe[t];return e&n?t:"cancel"}const uM=F.default(HO)`
1933
+ `,$_="Popover",[__,JV]=je($_,[Jr]),Nl=Jr(),[IO,dr]=__($_),x_=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,l=Nl(t),s=c.useRef(null),[u,d]=c.useState(!1),[f=!1,g]=Ge({prop:r,defaultProp:o,onChange:a});return c.createElement(xl,l,c.createElement(IO,{scope:t,contentId:it(),triggerRef:s,open:f,onOpenChange:g,onOpenToggle:c.useCallback(()=>g(m=>!m),[g]),hasCustomAnchor:u,onCustomAnchorAdd:c.useCallback(()=>d(!0),[]),onCustomAnchorRemove:c.useCallback(()=>d(!1),[]),modal:i},n))},OO="PopoverTrigger",w_=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=dr(OO,n),a=Nl(n),i=Ee(t,o.triggerRef),l=c.createElement(de.button,L({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":D_(o.open)},r,{ref:i,onClick:oe(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?l:c.createElement(nd,L({asChild:!0},a),l)}),E_="PopoverPortal",[MO,FO]=__(E_,{forceMount:void 0}),LO=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=dr(E_,t);return c.createElement(MO,{scope:t,forceMount:n},c.createElement(Ye,{present:n||a.open},c.createElement(Do,{asChild:!0,container:o},r)))},xa="PopoverContent",NO=c.forwardRef((e,t)=>{const n=FO(xa,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=dr(xa,e.__scopePopover);return c.createElement(Ye,{present:r||a.open},a.modal?c.createElement(zO,L({},o,{ref:t})):c.createElement(RO,L({},o,{ref:t})))}),zO=c.forwardRef((e,t)=>{const n=dr(xa,e.__scopePopover),r=c.useRef(null),o=Ee(t,r),a=c.useRef(!1);return c.useEffect(()=>{const i=r.current;if(i)return Vs(i)},[]),c.createElement(Rs,{as:Bn,allowPinchZoom:!0},c.createElement(S_,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})})))}),RO=c.forwardRef((e,t)=>{const n=dr(xa,e.__scopePopover),r=c.useRef(!1),o=c.useRef(!1);return c.createElement(S_,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()}}))}),S_=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,g=dr(xa,n),m=Nl(n);return Ms(),c.createElement(Is,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},c.createElement(So,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onDismiss:()=>g.onOpenChange(!1)},c.createElement(rd,L({"data-state":D_(g.open),role:"dialog",id:g.contentId},m,f,{ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),KO="PopoverClose",VO=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=dr(KO,n);return c.createElement(de.button,L({type:"button"},r,{ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))}))}),BO=c.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Nl(n);return c.createElement(od,L({},o,r,{ref:t}))});function D_(e){return e?"open":"closed"}const jO=x_,UO=w_,WO=LO,HO=NO,P_=VO,GO=BO;function YO(e){return e&&e.__esModule?e.default:e}var ke;(function(e){e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all"})(ke||(ke={}));const T_={...ke,copyMove:ke.copy|ke.move,copyLink:ke.copy|ke.link,linkMove:ke.link|ke.move,all:ke.all,uninitialized:ke.all},qO=Md(T_);qO[ke.all]="all",Md(ke);const k_={none:"cancel",link:"link",copy:"copy",move:"move"},Od=Md(k_);function Md(e){let t={};for(let n in e)t[e[n]]=n;return t}const Fd="application/vnd.react-aria.items+json",zl="application/octet-stream",XO=Symbol();function ZO(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function JO(){return ZO(Xg())}class Rl{has(t){return this.includesUnknownTypes||t===XO&&this.types.has(zl)?!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!==Fd&&(r.kind==="file"&&(n=!0),r.type?this.types.add(r.type):this.types.add(zl));this.includesUnknownTypes=!n&&t.types.includes("Files")}}function QO(e){let t=[],n=!1;if(e.types.includes(Fd))try{let r=e.getData(Fd),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||zl,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(Ld(o.getAsFile())):a.isDirectory&&t.push(C_(a))}else t.push(Ld(o.getAsFile()));r.size>0&&t.push({kind:"text",types:new Set(r.keys()),getText:o=>Promise.resolve(r.get(o))})}return t}function eM(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 Ld(e){return{kind:"file",type:e.type||zl,name:e.name,getText:()=>eM(e),getFile:()=>Promise.resolve(e)}}function C_(e){return{kind:"directory",name:e.name,getEntries:()=>tM(e)}}async function*tM(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 nM(r);yield Ld(o)}else r.isDirectory&&(yield C_(r))}while(n.length>0)}function nM(e){return new Promise((t,n)=>e.file(t,n))}let A_={draggingKeys:new Set};function rM(e){A_=e}function QV(e){}let I_=ke.none,O_=new Map,M_=null,F_=new Set;function oM(e){return O_.set(e.element,e),()=>{O_.delete(e.element)}}function aM(){let[e,t]=c.useState(M_);return c.useEffect(()=>{let n=()=>t(M_);return F_.add(n),()=>{F_.delete(n)}},[]),e}var L_={},N_={};N_={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 z_={};z_={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 R_={};R_={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 K_={};K_={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 V_={};V_={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 B_={};B_={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var j_={};j_={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 U_={};U_={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 W_={};W_={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 H_={};H_={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 G_={};G_={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 Y_={};Y_={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 q_={};q_={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 X_={};X_={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 Z_={};Z_={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 J_={};J_={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 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)=>`${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 e1={};e1={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 t1={};t1={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 n1={};n1={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 r1={};r1={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 o1={};o1={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 a1={};a1={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 i1={};i1={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 l1={};l1={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 s1={};s1={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 c1={};c1={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 u1={};u1={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 d1={};d1={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 f1={};f1={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 p1={};p1={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 m1={};m1={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 g1={};g1={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 h1={};h1={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}」之間`},L_={"ar-AE":N_,"bg-BG":z_,"cs-CZ":R_,"da-DK":K_,"de-DE":V_,"el-GR":B_,"en-US":j_,"es-ES":U_,"et-EE":W_,"fi-FI":H_,"fr-FR":G_,"he-IL":Y_,"hr-HR":q_,"hu-HU":X_,"it-IT":Z_,"ja-JP":J_,"ko-KR":Q_,"lt-LT":e1,"lv-LV":t1,"nb-NO":n1,"nl-NL":r1,"pl-PL":o1,"pt-BR":a1,"pt-PT":i1,"ro-RO":l1,"ru-RU":s1,"sk-SK":c1,"sl-SI":u1,"sr-SP":d1,"sv-SE":f1,"tr-TR":p1,"uk-UA":m1,"zh-CN":g1,"zh-TW":h1};const iM={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function lM(){let e=Tt(YO(L_)),t=JO(),n=aM();return{dropProps:{...Oc(n?e.format(iM[t]):""),onClick:()=>{}}}}const sM=800;function cM(e){let{hasDropButton:t}=e,[n,r]=c.useState(!1),o=c.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:ke.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=b1(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 k=Nd(x),P=k[0];if(typeof e.getDropOperation=="function"){let M=new Rl(y.dataTransfer);P=Kl(x,e.getDropOperation(M,k))}o.dropEffect=Od[P]||"none"}if(typeof e.getDropOperationForPoint=="function"){let k=new Rl(y.dataTransfer),P=y.currentTarget.getBoundingClientRect(),M=Kl(x,e.getDropOperationForPoint(k,Nd(x),o.x-P.x,o.y-P.y));o.dropEffect=Od[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 k=y.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:o.x-k.x,y:o.y-k.y})}if(clearTimeout(o.dropActivateTimer),typeof e.onDropActivate=="function"&&o.dropEffect!=="none"){let k=y.currentTarget.getBoundingClientRect();o.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:o.x-k.x,y:o.y-k.y})},sM)}},s=y=>{if(y.preventDefault(),y.stopPropagation(),o.dragOverElements.add(y.target),o.dragOverElements.size>1)return;let x=b1(y),S=Nd(x),k=S[0];if(typeof e.getDropOperation=="function"){let P=new Rl(y.dataTransfer);k=Kl(x,e.getDropOperation(P,S))}if(typeof e.getDropOperationForPoint=="function"){let P=new Rl(y.dataTransfer),M=y.currentTarget.getBoundingClientRect();k=Kl(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=Od[k]||"none",y.dataTransfer.dropEffect=o.dropEffect,k!=="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=k_[o.dropEffect],k=QO(y.dataTransfer),P=y.currentTarget.getBoundingClientRect(),M={type:"drop",x:y.clientX-P.x,y:y.clientY-P.y,items:k,dropOperation:S};e.onDrop(M)}let x={...A_};o.dragOverElements.clear(),i(y),clearTimeout(o.dropActivateTimer),x.draggingCollectionRef==null||rM(x)},f=Oe(y=>{typeof e.onDropEnter=="function"&&e.onDropEnter(y)}),g=Oe(y=>{typeof e.onDropExit=="function"&&e.onDropExit(y)}),m=Oe(y=>{typeof e.onDropActivate=="function"&&e.onDropActivate(y)}),h=Oe(y=>{typeof e.onDrop=="function"&&e.onDrop(y)}),b=Oe((y,x)=>e.getDropOperation?e.getDropOperation(y,x):x[0]),{ref:v}=e;Ae(()=>oM({element:v.current,getDropOperation:b,onDropEnter(y){r(!0),f(y)},onDropExit(y){r(!1),g(y)},onDrop:h,onDropActivate:m}),[v,b,f,g,h,m]);let{dropProps:$}=lM();return{dropProps:{...!t&&$,onDragEnter:s,onDragOver:l,onDragLeave:u,onDrop:d},dropButtonProps:{...t&&$},isDropTarget:n}}function b1(e){let t=T_[e.dataTransfer.effectAllowed];I_&&(t&=I_);let n=ke.none;return nn()?(e.altKey&&(n|=ke.copy),e.ctrlKey&&!Dc()&&(n|=ke.link),e.metaKey&&(n|=ke.move)):(e.altKey&&(n|=ke.link),e.shiftKey&&(n|=ke.move),e.ctrlKey&&(n|=ke.copy)),n?t&n:t}function Nd(e){let t=[];return e&ke.move&&t.push("move"),e&ke.copy&&t.push("copy"),e&ke.link&&t.push("link"),t}function Kl(e,t){let n=ke[t];return e&n?t:"cancel"}const uM=F.default(HO)`
1934
1934
  border-radius: ${p.border_radius_400};
1935
1935
  padding: ${p.sizing_200};
1936
1936
  width: fit-content; /* Pass as prop? */
@@ -2025,12 +2025,12 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var Y=he(le,se,H,ne,re+"
2025
2025
  left: 0;
2026
2026
  right: 0;
2027
2027
  }
2028
- `,xM=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),y1=c.forwardRef((e,t)=>{const{file:n,onAddFile:r,onDeleteFile:o,fileTypes:a=[{name:"CSV",mime:"text/csv"}]}=e,i=Dn(t),l=c.useId(),{dropProps:s,isDropTarget:u}=cM({ref:i,onDrop:async f=>{const g=f.items.find(m=>m.kind==="file");if(g&&g.kind==="file"){const m=await g.getFile();r(m)}}}),d=f=>{var g;(g=f.target.files)!=null&&g[0]&&r(f.target.files[0])};return w(gM,{...s,role:"button",tabIndex:0,ref:i,"data-state":u?"dropping":"",children:n?ee(vM,{children:[w(rt,{size:"large",children:n.name}),ee(x_,{children:[w(w_,{asChild:!0,children:w(aa,{label:"Remove file",size:"small",variant:"danger",children:w(we.Delete,{})})}),ee(v1,{children:[w(rt,{children:"Are you sure you want to remove this file?"}),ee($M,{children:[w(zd,{asChild:!0,children:w(Uo,{variant:"secondary",size:"small",children:"Cancel"})}),w(zd,{asChild:!0,children:w(Uo,{variant:"danger",size:"small",onClick:()=>o==null?void 0:o(),children:"Confirm"})})]})]})]})]}):ee(bM,{children:[w(hM,{children:w(we.CloudUpload,{})}),ee(yM,{children:[ee(rt,{children:["Drag and drop to upload, or"," ",w(_M,{htmlFor:l,children:"browse files"})]}),ee(rt,{weak:!0,size:"small",children:["Supported formats:"," ",xM.format(a.map(f=>f.name))]})]}),w("input",{onChange:d,type:"file",hidden:!0,id:l,accept:a.map(f=>f.mime).join(",")})]})})});y1.displayName="FileUpload";var $1={},wM="Expected a function",_1=0/0,EM="[object Symbol]",SM=/^\s+|\s+$/g,DM=/^[-+]0x[0-9a-f]+$/i,PM=/^0b[01]+$/i,TM=/^0o[0-7]+$/i,kM=parseInt,CM=typeof Oa=="object"&&Oa&&Oa.Object===Object&&Oa,AM=typeof self=="object"&&self&&self.Object===Object&&self,IM=CM||AM||Function("return this")(),OM=Object.prototype,MM=OM.toString,FM=Math.max,LM=Math.min,Rd=function(){return IM.Date.now()};function NM(e,t,n){var r,o,a,i,l,s,u=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(wM);t=x1(t)||0,Kd(n)&&(d=!!n.leading,f="maxWait"in n,a=f?FM(x1(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function m(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?m(P):i}function b(P){var M=P-s,_=P-u,C=t-M;return f?LM(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=Rd();if(v(P))return y(P);l=setTimeout($,b(P))}function y(P){return l=void 0,g&&r?m(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(Rd())}function k(){var P=Rd(),M=v(P);if(r=arguments,o=this,s=P,M){if(l===void 0)return h(s);if(f)return l=setTimeout($,t),m(s)}return l===void 0&&(l=setTimeout($,t)),i}return k.cancel=x,k.flush=S,k}function Kd(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function zM(e){return!!e&&typeof e=="object"}function RM(e){return typeof e=="symbol"||zM(e)&&MM.call(e)==EM}function x1(e){if(typeof e=="number")return e;if(RM(e))return _1;if(Kd(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Kd(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(SM,"");var n=PM.test(e);return n||TM.test(e)?kM(e.slice(2),n?2:8):DM.test(e)?_1:+e}var KM=NM,to={};Object.defineProperty(to,"__esModule",{value:!0}),to.loadGoogleMapScript=to.isBrowser=void 0;var w1=typeof window<"u"&&window.document;to.isBrowser=w1;var VM=function(t,n){if(!w1||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)})};to.loadGoogleMapScript=VM;var Vl={};Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var BM="https://maps.googleapis.com/maps/api/js";Vl.GOOGLE_MAP_SCRIPT_BASE_URL=BM,Object.defineProperty($1,"__esModule",{value:!0});var jM=$1.default=ZM,ct=D.default,E1=WM(KM),S1=to,UM=Vl;function WM(e){return e&&e.__esModule?e:{default:e}}function D1(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 no(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?D1(Object(n),!0).forEach(function(r){HM(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D1(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function HM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ro(e,t){return XM(e)||qM(e,t)||YM(e,t)||GM()}function GM(){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 YM(e,t){if(e){if(typeof e=="string")return P1(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 P1(e,t)}}function P1(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 qM(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 XM(e){if(Array.isArray(e))return e}function ZM(e){var t=e.apiKey,n=e.libraries,r=n===void 0?"places":n,o=e.googleMapsScriptBaseUrl,a=o===void 0?UM.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,g=f?"&language=".concat(f):"",m="".concat(a,"?key=").concat(t,"&libraries=").concat(r).concat(g),h=(0,ct.useState)([]),b=ro(h,2),v=b[0],$=b[1],y=(0,ct.useState)(!1),x=ro(y,2),S=x[0],k=x[1],P=(0,ct.useState)(null),M=ro(P,2),_=M[0],C=M[1],N=(0,ct.useState)(!1),E=ro(N,2),V=E[0],O=E[1],T=(0,ct.useState)(!1),U=ro(T,2),I=U[0],Z=U[1],j=(0,ct.useState)([]),q=ro(j,2),R=q[0],W=q[1],B=(0,ct.useRef)(null),K=(0,ct.useRef)(null),H=(0,ct.useRef)(null),ne=(0,ct.useCallback)(function(){return(0,S1.loadGoogleMapScript)(a,m)},[a,m]),re=(0,ct.useCallback)((0,E1.default)(function(X){B.current&&X.input&&B.current.getPlacePredictions(no(no(no({},d&&H.current?{sessionToken:H.current}:{}),u),X),function(J){k(!1),$(J||[])})},l),[l]),le=(0,ct.useCallback)((0,E1.default)(function(X){B.current&&X.input&&B.current.getQueryPredictions(no(no(no({},d&&H.current?{sessionToken:H.current}:{}),u),X),function(J){O(!1),W(J||[])})},l),[l]);return(0,ct.useEffect)(function(){if(S1.isBrowser){var X=function(){if(!google)return console.error("Google has not been found. Make sure your provide apiKey prop.");B.current=new google.maps.places.AutocompleteService,K.current=new google.maps.places.PlacesService(document.createElement("div")),d&&(H.current=new google.maps.places.AutocompleteSessionToken)};t?ne().then(function(){return X()}):X()}},[]),{placesService:K.current,autocompleteSessionToken:H.current,placesAutocompleteService:B.current,placePredictions:_?v:[],isPlacePredictionsLoading:S,getPlacePredictions:function(J){if(J.input){C(J.input),k(!0),re(J);return}$([]),C(null),re(J),k(!1)},queryPredictions:I?R:[],isQueryPredictionsLoading:V,getQueryPredictions:function(J){if(J.input){Z(J.input),O(!0),le(J);return}W([]),Z(null),le(J),O(!1)},refreshSessionToken:function(){H.current=new google.maps.places.AutocompleteSessionToken}}}const T1=F.default(rt)`
2028
+ `,xM=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),y1=c.forwardRef((e,t)=>{const{file:n,onAddFile:r,onDeleteFile:o,fileTypes:a=[{name:"CSV",mime:"text/csv"}]}=e,i=Dn(t),l=c.useId(),{dropProps:s,isDropTarget:u}=cM({ref:i,onDrop:async f=>{const g=f.items.find(m=>m.kind==="file");if(g&&g.kind==="file"){const m=await g.getFile();r(m)}}}),d=f=>{var g;(g=f.target.files)!=null&&g[0]&&r(f.target.files[0])};return w(gM,{...s,role:"button",tabIndex:0,ref:i,"data-state":u?"dropping":"",children:n?ee(vM,{children:[w(at,{size:"large",children:n.name}),ee(x_,{children:[w(w_,{asChild:!0,children:w(aa,{label:"Remove file",size:"small",variant:"danger",children:w(Se.Delete,{})})}),ee(v1,{children:[w(at,{children:"Are you sure you want to remove this file?"}),ee($M,{children:[w(zd,{asChild:!0,children:w(Uo,{variant:"secondary",size:"small",children:"Cancel"})}),w(zd,{asChild:!0,children:w(Uo,{variant:"danger",size:"small",onClick:()=>o==null?void 0:o(),children:"Confirm"})})]})]})]})]}):ee(bM,{children:[w(hM,{children:w(Se.CloudUpload,{})}),ee(yM,{children:[ee(at,{children:["Drag and drop to upload, or"," ",w(_M,{htmlFor:l,children:"browse files"})]}),ee(at,{weak:!0,size:"small",children:["Supported formats:"," ",xM.format(a.map(f=>f.name))]})]}),w("input",{onChange:d,type:"file",hidden:!0,id:l,accept:a.map(f=>f.mime).join(",")})]})})});y1.displayName="FileUpload";var $1={},wM="Expected a function",_1=0/0,EM="[object Symbol]",SM=/^\s+|\s+$/g,DM=/^[-+]0x[0-9a-f]+$/i,PM=/^0b[01]+$/i,TM=/^0o[0-7]+$/i,kM=parseInt,CM=typeof Oa=="object"&&Oa&&Oa.Object===Object&&Oa,AM=typeof self=="object"&&self&&self.Object===Object&&self,IM=CM||AM||Function("return this")(),OM=Object.prototype,MM=OM.toString,FM=Math.max,LM=Math.min,Rd=function(){return IM.Date.now()};function NM(e,t,n){var r,o,a,i,l,s,u=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(wM);t=x1(t)||0,Kd(n)&&(d=!!n.leading,f="maxWait"in n,a=f?FM(x1(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function m(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?m(P):i}function b(P){var M=P-s,_=P-u,C=t-M;return f?LM(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=Rd();if(v(P))return y(P);l=setTimeout($,b(P))}function y(P){return l=void 0,g&&r?m(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(Rd())}function k(){var P=Rd(),M=v(P);if(r=arguments,o=this,s=P,M){if(l===void 0)return h(s);if(f)return l=setTimeout($,t),m(s)}return l===void 0&&(l=setTimeout($,t)),i}return k.cancel=x,k.flush=S,k}function Kd(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function zM(e){return!!e&&typeof e=="object"}function RM(e){return typeof e=="symbol"||zM(e)&&MM.call(e)==EM}function x1(e){if(typeof e=="number")return e;if(RM(e))return _1;if(Kd(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Kd(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(SM,"");var n=PM.test(e);return n||TM.test(e)?kM(e.slice(2),n?2:8):DM.test(e)?_1:+e}var KM=NM,no={};Object.defineProperty(no,"__esModule",{value:!0}),no.loadGoogleMapScript=no.isBrowser=void 0;var w1=typeof window<"u"&&window.document;no.isBrowser=w1;var VM=function(t,n){if(!w1||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)})};no.loadGoogleMapScript=VM;var Vl={};Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var BM="https://maps.googleapis.com/maps/api/js";Vl.GOOGLE_MAP_SCRIPT_BASE_URL=BM,Object.defineProperty($1,"__esModule",{value:!0});var jM=$1.default=ZM,dt=D.default,E1=WM(KM),S1=no,UM=Vl;function WM(e){return e&&e.__esModule?e:{default:e}}function D1(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 ro(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?D1(Object(n),!0).forEach(function(r){HM(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D1(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function HM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oo(e,t){return XM(e)||qM(e,t)||YM(e,t)||GM()}function GM(){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 YM(e,t){if(e){if(typeof e=="string")return P1(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 P1(e,t)}}function P1(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 qM(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 XM(e){if(Array.isArray(e))return e}function ZM(e){var t=e.apiKey,n=e.libraries,r=n===void 0?"places":n,o=e.googleMapsScriptBaseUrl,a=o===void 0?UM.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,g=f?"&language=".concat(f):"",m="".concat(a,"?key=").concat(t,"&libraries=").concat(r).concat(g),h=(0,dt.useState)([]),b=oo(h,2),v=b[0],$=b[1],y=(0,dt.useState)(!1),x=oo(y,2),S=x[0],k=x[1],P=(0,dt.useState)(null),M=oo(P,2),_=M[0],C=M[1],N=(0,dt.useState)(!1),E=oo(N,2),V=E[0],O=E[1],T=(0,dt.useState)(!1),U=oo(T,2),I=U[0],X=U[1],j=(0,dt.useState)([]),Y=oo(j,2),z=Y[0],W=Y[1],B=(0,dt.useRef)(null),K=(0,dt.useRef)(null),H=(0,dt.useRef)(null),te=(0,dt.useCallback)(function(){return(0,S1.loadGoogleMapScript)(a,m)},[a,m]),ne=(0,dt.useCallback)((0,E1.default)(function(q){B.current&&q.input&&B.current.getPlacePredictions(ro(ro(ro({},d&&H.current?{sessionToken:H.current}:{}),u),q),function(Z){k(!1),$(Z||[])})},l),[l]),ie=(0,dt.useCallback)((0,E1.default)(function(q){B.current&&q.input&&B.current.getQueryPredictions(ro(ro(ro({},d&&H.current?{sessionToken:H.current}:{}),u),q),function(Z){O(!1),W(Z||[])})},l),[l]);return(0,dt.useEffect)(function(){if(S1.isBrowser){var q=function(){if(!google)return console.error("Google has not been found. Make sure your provide apiKey prop.");B.current=new google.maps.places.AutocompleteService,K.current=new google.maps.places.PlacesService(document.createElement("div")),d&&(H.current=new google.maps.places.AutocompleteSessionToken)};t?te().then(function(){return q()}):q()}},[]),{placesService:K.current,autocompleteSessionToken:H.current,placesAutocompleteService:B.current,placePredictions:_?v:[],isPlacePredictionsLoading:S,getPlacePredictions:function(Z){if(Z.input){C(Z.input),k(!0),ne(Z);return}$([]),C(null),ne(Z),k(!1)},queryPredictions:I?z:[],isQueryPredictionsLoading:V,getQueryPredictions:function(Z){if(Z.input){X(Z.input),O(!0),ie(Z);return}W([]),X(null),ie(Z),O(!1)},refreshSessionToken:function(){H.current=new google.maps.places.AutocompleteSessionToken}}}const T1=F.default(at)`
2030
2030
  :hover {
2031
2031
  background-color: ${p.color_gray_opacity_5};
2032
2032
  }
2033
- `,k1=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:""},JM=["name","formatted_address","geometry.location"],QM=({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:g="location-input-label",inputId:m="location-input",hideLabel:h=!1,boldLabel:b=!0,autoFocus:v,extraMenuActions:$=[],showExtraActionsWithResults:y=!1,...x})=>{const[S,k]=c.useState(i??l??""),P=c.createRef(),M=c.useRef(null),_=Ur({}),{overlayProps:C}=Kb({},P),{fields:N=JM}=n;c.useEffect(()=>{l&&k(l)},[l]);const{autocompleteSessionToken:E,refreshSessionToken:V,placesService:O,placePredictions:T,getPlacePredictions:U,isPlacePredictionsLoading:I}=jM({apiKey:e,libraries:r,googleMapsScriptBaseUrl:o,debounce:a,options:{input:S,...n},sessionToken:!0}),[Z,j]=c.useState(-1),q=c.useCallback(X=>{X&&(O==null||O.getDetails({placeId:X.place_id??"",fields:N,sessionToken:E},(J,se)=>{if(J&&se===google.maps.places.PlacesServiceStatus.OK){const he=k1(J);he&&k(he),s==null||s(J),_.close(),j(-1)}else console.error("Error getting place details.",se,J);typeof google=="object"&&V()}))},[O,N,E,V,s,_]);Io(()=>{document.activeElement===P.current&&_.close()});const R=X=>{const J=X.target.value;J.length===0?(k(J),s==null||s(null),j(-1)):(U({input:J,locationRestriction:n.bounds,sessionToken:E}),k(J),j(-1))},W=X=>{X.target.select(),typeof google=="object"&&V(),_.isOpen||_.open()},B=()=>{_.isOpen&&(_.close(),j(-1))},K={extra:$.length&&(y||!I&&T.length===0||S.length===0),predictions:S.length>0&&!I&&T.length>0},H=(X,J)=>{const se=(K.predictions?T.length:0)+(K.extra?$.length:0);if(se===0)return;let he=Z;J==="down"&&(he=(Z+1)%se),J==="up"&&(he=(Z-1+se)%se),j(he)},ne=X=>{var J;X.key==="Tab"?Z!==-1&&(K.predictions&&Z<T.length?q(T[Z]):K.extra&&((J=$[Z-(K.predictions?T.length:0)])==null||J.onClick(),_.close(),j(-1))):X.key==="Enter"?X.preventDefault():X.key==="ArrowDown"?(_.open(),H(X,"down")):X.key==="ArrowUp"?(_.open(),H(X,"up")):(j(-1),_.isOpen||_.open())},re=X=>{var J;X.key==="Enter"&&Z!==-1&&(K.predictions&&Z<T.length?q(T[Z]):K.extra&&((J=$[Z-(K.predictions?T.length:0)])==null||J.onClick(),_.close(),j(-1)))},le=K.extra&&(I||K.predictions&&T.length);return ee(gt,{children:[f?ee(Ke,{id:g,htmlFor:m,srOnly:h,mb:p.spacing_150,bold:b,children:[f,x.tooltipContent?w(Ze,{children:x.tooltipContent}):null]}):null,w(At,{height:p.spacing_600,type:"text",autoComplete:"off",autoFocus:v,"data-id":x["data-id"]??m,id:m,disabled:u,"data-state":d?"invalid":void 0,value:S,placeholder:t,ref:P,onChange:R,onFocus:W,onBlur:B,onKeyDown:ne,onKeyUp:re,onMouseUp:X=>X.preventDefault()}),x.description?w(B$,{children:x.description}):null,x.errorMessage?w(ht,{children:x.errorMessage}):null,_.isOpen&&(K.extra||K.predictions)?w(rr,{className:"google-input-popover",targetRef:P,popoverRef:M,state:_,...C,isTargetWidth:!0,placement:"bottom start",isNonModal:!0,children:ee(me,{onMouseDown:X=>X.preventDefault(),children:[K.predictions?T.map((X,J)=>w(T1,{p:p.spacing_200,truncate:!0,onClick:()=>q(X),style:{cursor:"pointer"},backgroundColor:Z===J?p.color_gray_opacity_5:"transparent",children:X.description},X.place_id)):null,I?w(rt,{as:"span",italic:!0,p:p.spacing_200,style:{cursor:"pointer"},children:"Loading..."}):null,!K.extra&&!K.predictions?w(rt,{as:"span",p:p.spacing_200,style:{cursor:"pointer"},children:"No results found"}):null,le?w("hr",{style:{margin:0,backgroundColor:p.color_gray_88,height:"1px",border:0}}):null,K.extra?$.map((X,J)=>w(T1,{p:p.spacing_200,truncate:!0,onClick:()=>{X.onClick(),_.close()},style:{cursor:"pointer"},backgroundColor:(K.predictions?Z===J+T.length:Z===J)?p.color_gray_opacity_5:"transparent",children:X.label},X.id)):null]})}):null]})};var C1={};C1={Empty:"فارغ"};var A1={};A1={Empty:"Изпразни"};var I1={};I1={Empty:"Prázdné"};var O1={};O1={Empty:"Tom"};var M1={};M1={Empty:"Leer"};var F1={};F1={Empty:"Άδειο"};var L1={};L1={Empty:"Empty"};var N1={};N1={Empty:"Vacío"};var z1={};z1={Empty:"Tühjenda"};var R1={};R1={Empty:"Tyhjä"};var K1={};K1={Empty:"Vide"};var V1={};V1={Empty:"ריק"};var B1={};B1={Empty:"Prazno"};var j1={};j1={Empty:"Üres"};var U1={};U1={Empty:"Vuoto"};var W1={};W1={Empty:"空"};var H1={};H1={Empty:"비어 있음"};var G1={};G1={Empty:"Tuščias"};var Y1={};Y1={Empty:"Tukšs"};var q1={};q1={Empty:"Tom"};var X1={};X1={Empty:"Leeg"};var Z1={};Z1={Empty:"Pusty"};var J1={};J1={Empty:"Vazio"};var Q1={};Q1={Empty:"Vazio"};var ex={};ex={Empty:"Gol"};var tx={};tx={Empty:"Не заполнено"};var nx={};nx={Empty:"Prázdne"};var rx={};rx={Empty:"Prazen"};var ox={};ox={Empty:"Prazno"};var ax={};ax={Empty:"Tomt"};var ix={};ix={Empty:"Boş"};var lx={};lx={Empty:"Пусто"};var sx={};sx={Empty:"空"};var cx={};cx={Empty:"空白"};function eF(e){return e&&e.__esModule?e.default:e}var ux={};ux={"ar-AE":C1,"bg-BG":A1,"cs-CZ":I1,"da-DK":O1,"de-DE":M1,"el-GR":F1,"en-US":L1,"es-ES":N1,"et-EE":z1,"fi-FI":R1,"fr-FR":K1,"he-IL":V1,"hr-HR":B1,"hu-HU":j1,"it-IT":U1,"ja-JP":W1,"ko-KR":H1,"lt-LT":G1,"lv-LV":Y1,"nb-NO":q1,"nl-NL":X1,"pl-PL":Z1,"pt-BR":J1,"pt-PT":Q1,"ro-RO":ex,"ru-RU":tx,"sk-SK":nx,"sl-SI":rx,"sr-SP":ox,"sv-SE":ax,"tr-TR":ix,"uk-UA":lx,"zh-CN":sx,"zh-TW":cx};function tF(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:g,onDecrementToMin:m,onIncrementToMax:h}=e;const b=Dt(eF(ux),"@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(g){E.preventDefault(),g==null||g();break}case"ArrowDown":case"Down":f&&(E.preventDefault(),f==null||f());break;case"Home":m&&(E.preventDefault(),m==null||m());break;case"End":h&&(E.preventDefault(),h==null||h());break}},y=c.useRef(!1),x=()=>{y.current=!0},S=()=>{y.current=!1},k=r===""?b.format("Empty"):(r||`${n}`).replace("-","−");c.useEffect(()=>{y.current&&(V8("assertive"),Wr(k,"assertive"))},[k]);const P=Ae(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=Ae(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}=Cc();return{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":k,"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 nF(e){return e&&e.__esModule?e.default:e}var dx={},fx={};fx={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var px={};px={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var mx={};mx={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var gx={};gx={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var hx={};hx={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var bx={};bx={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var vx={};vx={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var yx={};yx={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var $x={};$x={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var _x={};_x={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var xx={};xx={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var wx={};wx={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Ex={};Ex={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Sx={};Sx={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Dx={};Dx={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Px={};Px={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Tx={};Tx={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var kx={};kx={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Cx={};Cx={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Ax={};Ax={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Ix={};Ix={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Ox={};Ox={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Mx={};Mx={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Fx={};Fx={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Lx={};Lx={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Nx={};Nx={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var zx={};zx={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Rx={};Rx={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Kx={};Kx={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Vx={};Vx={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Bx={};Bx={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var jx={};jx={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Ux={};Ux={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Wx={};Wx={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},dx={"ar-AE":fx,"bg-BG":px,"cs-CZ":mx,"da-DK":gx,"de-DE":hx,"el-GR":bx,"en-US":vx,"es-ES":yx,"et-EE":$x,"fi-FI":_x,"fr-FR":xx,"he-IL":wx,"hr-HR":Ex,"hu-HU":Sx,"it-IT":Dx,"ja-JP":Px,"ko-KR":Tx,"lt-LT":kx,"lv-LV":Cx,"nb-NO":Ax,"nl-NL":Ix,"pl-PL":Ox,"pt-BR":Mx,"pt-PT":Fx,"ro-RO":Lx,"ru-RU":Nx,"sk-SK":zx,"sl-SI":Rx,"sr-SP":Kx,"sv-SE":Vx,"tr-TR":Bx,"uk-UA":jx,"zh-CN":Ux,"zh-TW":Wx};function rF(e,t,n){let{id:r,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:l,isRequired:s,minValue:u,maxValue:d,autoFocus:f,validationState:g,label:m,formatOptions:h,onBlur:b=()=>{},onFocus:v,onFocusChange:$,onKeyDown:y,onKeyUp:x,description:S,errorMessage:k,...P}=e,{increment:M,incrementToMax:_,decrement:C,decrementToMin:N,numberValue:E,inputValue:V,commit:O}=t;const T=Dt(nF(dx));let U=dt(r),{focusProps:I}=Vc({onBlur:()=>{O()}}),Z=Rb(h),j=c.useMemo(()=>Z.resolvedOptions(),[Z]),q=Rb({...h,currencySign:void 0}),R=c.useMemo(()=>isNaN(E)?"":q.format(E),[q,E]),{spinButtonProps:W,incrementButtonProps:B,decrementButtonProps:K}=tF({isDisabled:i,isReadOnly:l,isRequired:s,maxValue:d,minValue:u,onIncrement:M,onIncrementToMax:_,onDecrement:C,onDecrementToMin:N,value:E,textValue:R}),[H,ne]=c.useState(!1),{focusWithinProps:re}=Vo({isDisabled:i,onFocusWithinChange:ne}),le=c.useCallback(ut=>{Math.abs(ut.deltaY)<=Math.abs(ut.deltaX)||(ut.deltaY>0?M():ut.deltaY<0&&C())},[C,M]);Ek({onScroll:le,isDisabled:i||l||!H},n);let J=j.maximumFractionDigits>0,se=isNaN(t.minValue)||t.minValue<0,he="numeric";kg()?se?he="text":J&&(he="decimal"):Tc()&&(se?he="numeric":J&&(he="decimal"));let Y=ut=>{t.validate(ut)&&t.setInputValue(ut)},te=Sn(e),{labelProps:ce,inputProps:Ie,descriptionProps:Wt,errorMessageProps:Kn}=oA({...P,...te,label:m,autoFocus:f,isDisabled:i,isReadOnly:l,isRequired:s,validationState:g,value:V,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:U,type:"text",inputMode:he,onChange:Y,onBlur:b,onFocus:v,onFocusChange:$,onKeyDown:y,onKeyUp:x,description:S,errorMessage:k},t,n),gn=ge(W,I,Ie,{role:null,"aria-roledescription":Fo()?null:T.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),vt=ut=>{document.activeElement!==n.current&&(ut.pointerType==="mouse"?n.current.focus():ut.target.focus())},yt=e["aria-label"]||(typeof e.label=="string"?e.label:""),hn;yt||(hn=e.label!=null?ce.id:e["aria-labelledby"]);let po=dt(),os=dt(),rp=ge(B,{"aria-label":a||T.format("increase",{fieldLabel:yt}).trim(),id:hn&&!a?po:null,"aria-labelledby":hn&&!a?`${po} ${hn}`:null,"aria-controls":U,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:vt}),as=ge(K,{"aria-label":o||T.format("decrease",{fieldLabel:yt}).trim(),id:hn&&!o?os:null,"aria-labelledby":hn&&!o?`${os} ${hn}`:null,"aria-controls":U,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:vt});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":g==="invalid"?"true":void 0,...re},labelProps:ce,inputProps:gn,incrementButtonProps:rp,decrementButtonProps:as,errorMessageProps:Kn,descriptionProps:Wt}}function oF(e){let{minValue:t,maxValue:n,step:r,formatOptions:o,value:a,defaultValue:i,onChange:l,locale:s,isDisabled:u,isReadOnly:d}=e,[f,g]=Vt(a,isNaN(i)?NaN:i,l),[m,h]=c.useState(()=>isNaN(f)?"":new nl(s,o).format(f)),b=c.useMemo(()=>new Mb(s,o),[s,o]),v=c.useMemo(()=>b.getNumberingSystem(m),[b,m]),$=c.useMemo(()=>new nl(s,{...o,numberingSystem:v}),[s,o,v]),y=c.useMemo(()=>$.resolvedOptions(),[$]),x=c.useCallback(W=>isNaN(W)||W===null?"":$.format(W),[$]),S=isNaN(r)?1:r;y.style==="percent"&&isNaN(r)&&(S=.01);let[k,P]=c.useState(f),[M,_]=c.useState(s),[C,N]=c.useState(o);(!Object.is(f,k)||s!==M||o!==C)&&(h(x(f)),P(f),_(s),N(o));let E=c.useMemo(()=>b.parse(m),[b,m]),V=()=>{if(!m.length){g(NaN),h(a===void 0?"":x(f));return}if(isNaN(E)){h(x(f));return}let W;isNaN(r)?W=bi(E,t,n):W=Yn(E,t,n,r),W=b.parse(x(W)),g(W),h(x(a===void 0?W:f))},O=(W,B)=>{let K=E;if(isNaN(K)){let H=isNaN(B)?0:B;return Yn(H,t,n,S)}else{let H=Yn(K,t,n,S);return W==="+"&&H>K||W==="-"&&H<K?H:Yn(Vd(W,K,S),t,n,S)}},T=()=>{let W=O("+",t);W===f&&h(x(W)),g(W)},U=()=>{let W=O("-",n);W===f&&h(x(W)),g(W)},I=()=>{n!=null&&g(Yn(n,t,n,S))},Z=()=>{t!=null&&g(t)},j=c.useMemo(()=>!u&&!d&&(isNaN(E)||isNaN(n)||Yn(E,t,n,S)>E||Vd("+",E,S)<=n),[u,d,t,n,S,E]),q=c.useMemo(()=>!u&&!d&&(isNaN(E)||isNaN(t)||Yn(E,t,n,S)<E||Vd("-",E,S)>=t),[u,d,t,n,S,E]);return{validate:W=>b.isValidPartialNumber(W,t,n),increment:T,incrementToMax:I,decrement:U,decrementToMin:Z,canIncrement:j,canDecrement:q,minValue:t,maxValue:n,numberValue:E,setInputValue:h,inputValue:m,commit:V}}function Vd(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 Hx(e){const t=c.useRef(null),{buttonProps:n,isPressed:r}=Zn(e,t),{children:o,className:a}=e;return w("button",{"data-state":r?"pressed":void 0,ref:t,...n,className:a,children:o})}const aF=F.default.div`
2033
+ `,k1=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:""},JM=["name","formatted_address","geometry.location"],QM=({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:g="location-input-label",inputId:m="location-input",hideLabel:h=!1,boldLabel:b=!0,autoFocus:v,extraMenuActions:$=[],showExtraActionsWithResults:y=!1,...x})=>{const[S,k]=c.useState(i??l??""),P=c.createRef(),M=c.useRef(null),_=Wr({}),{overlayProps:C}=Kb({},P),{fields:N=JM}=n;c.useEffect(()=>{l&&k(l)},[l]);const{autocompleteSessionToken:E,refreshSessionToken:V,placesService:O,placePredictions:T,getPlacePredictions:U,isPlacePredictionsLoading:I}=jM({apiKey:e,libraries:r,googleMapsScriptBaseUrl:o,debounce:a,options:{input:S,...n},sessionToken:!0}),[X,j]=c.useState(-1),Y=c.useCallback(q=>{q&&(O==null||O.getDetails({placeId:q.place_id??"",fields:N,sessionToken:E},(Z,le)=>{if(Z&&le===google.maps.places.PlacesServiceStatus.OK){const ge=k1(Z);ge&&k(ge),s==null||s(Z),_.close(),j(-1)}else console.error("Error getting place details.",le,Z);typeof google=="object"&&V()}))},[O,N,E,V,s,_]);Io(()=>{document.activeElement===P.current&&_.close()});const z=q=>{const Z=q.target.value;Z.length===0?(k(Z),s==null||s(null),j(-1)):(U({input:Z,locationRestriction:n.bounds,sessionToken:E}),k(Z),j(-1))},W=q=>{q.target.select(),typeof google=="object"&&V(),_.isOpen||_.open()},B=()=>{_.isOpen&&(_.close(),j(-1))},K={extra:$.length&&(y||!I&&T.length===0||S.length===0),predictions:S.length>0&&!I&&T.length>0},H=(q,Z)=>{const le=(K.predictions?T.length:0)+(K.extra?$.length:0);if(le===0)return;let ge=X;Z==="down"&&(ge=(X+1)%le),Z==="up"&&(ge=(X-1+le)%le),j(ge)},te=q=>{var Z;q.key==="Tab"?X!==-1&&(K.predictions&&X<T.length?Y(T[X]):K.extra&&((Z=$[X-(K.predictions?T.length:0)])==null||Z.onClick(),_.close(),j(-1))):q.key==="Enter"?q.preventDefault():q.key==="ArrowDown"?(_.open(),H(q,"down")):q.key==="ArrowUp"?(_.open(),H(q,"up")):(j(-1),_.isOpen||_.open())},ne=q=>{var Z;q.key==="Enter"&&X!==-1&&(K.predictions&&X<T.length?Y(T[X]):K.extra&&((Z=$[X-(K.predictions?T.length:0)])==null||Z.onClick(),_.close(),j(-1)))},ie=K.extra&&(I||K.predictions&&T.length);return ee(vt,{children:[f?ee(Be,{id:g,htmlFor:m,srOnly:h,mb:p.spacing_150,bold:b,children:[f,x.tooltipContent?w(Qe,{children:x.tooltipContent}):null]}):null,w(Ot,{height:p.spacing_600,type:"text",autoComplete:"off",autoFocus:v,"data-id":x["data-id"]??m,id:m,disabled:u,"data-state":d?"invalid":void 0,value:S,placeholder:t,ref:P,onChange:z,onFocus:W,onBlur:B,onKeyDown:te,onKeyUp:ne,onMouseUp:q=>q.preventDefault()}),x.description?w(B$,{children:x.description}):null,x.errorMessage?w(yt,{children:x.errorMessage}):null,_.isOpen&&(K.extra||K.predictions)?w(or,{className:"google-input-popover",targetRef:P,popoverRef:M,state:_,...C,isTargetWidth:!0,placement:"bottom start",isNonModal:!0,children:ee(me,{onMouseDown:q=>q.preventDefault(),children:[K.predictions?T.map((q,Z)=>w(T1,{p:p.spacing_200,truncate:!0,onClick:()=>Y(q),style:{cursor:"pointer"},backgroundColor:X===Z?p.color_gray_opacity_5:"transparent",children:q.description},q.place_id)):null,I?w(at,{as:"span",italic:!0,p:p.spacing_200,style:{cursor:"pointer"},children:"Loading..."}):null,!K.extra&&!K.predictions?w(at,{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,K.extra?$.map((q,Z)=>w(T1,{p:p.spacing_200,truncate:!0,onClick:()=>{q.onClick(),_.close()},style:{cursor:"pointer"},backgroundColor:(K.predictions?X===Z+T.length:X===Z)?p.color_gray_opacity_5:"transparent",children:q.label},q.id)):null]})}):null]})};var C1={};C1={Empty:"فارغ"};var A1={};A1={Empty:"Изпразни"};var I1={};I1={Empty:"Prázdné"};var O1={};O1={Empty:"Tom"};var M1={};M1={Empty:"Leer"};var F1={};F1={Empty:"Άδειο"};var L1={};L1={Empty:"Empty"};var N1={};N1={Empty:"Vacío"};var z1={};z1={Empty:"Tühjenda"};var R1={};R1={Empty:"Tyhjä"};var K1={};K1={Empty:"Vide"};var V1={};V1={Empty:"ריק"};var B1={};B1={Empty:"Prazno"};var j1={};j1={Empty:"Üres"};var U1={};U1={Empty:"Vuoto"};var W1={};W1={Empty:"空"};var H1={};H1={Empty:"비어 있음"};var G1={};G1={Empty:"Tuščias"};var Y1={};Y1={Empty:"Tukšs"};var q1={};q1={Empty:"Tom"};var X1={};X1={Empty:"Leeg"};var Z1={};Z1={Empty:"Pusty"};var J1={};J1={Empty:"Vazio"};var Q1={};Q1={Empty:"Vazio"};var ex={};ex={Empty:"Gol"};var tx={};tx={Empty:"Не заполнено"};var nx={};nx={Empty:"Prázdne"};var rx={};rx={Empty:"Prazen"};var ox={};ox={Empty:"Prazno"};var ax={};ax={Empty:"Tomt"};var ix={};ix={Empty:"Boş"};var lx={};lx={Empty:"Пусто"};var sx={};sx={Empty:"空"};var cx={};cx={Empty:"空白"};function eF(e){return e&&e.__esModule?e.default:e}var ux={};ux={"ar-AE":C1,"bg-BG":A1,"cs-CZ":I1,"da-DK":O1,"de-DE":M1,"el-GR":F1,"en-US":L1,"es-ES":N1,"et-EE":z1,"fi-FI":R1,"fr-FR":K1,"he-IL":V1,"hr-HR":B1,"hu-HU":j1,"it-IT":U1,"ja-JP":W1,"ko-KR":H1,"lt-LT":G1,"lv-LV":Y1,"nb-NO":q1,"nl-NL":X1,"pl-PL":Z1,"pt-BR":J1,"pt-PT":Q1,"ro-RO":ex,"ru-RU":tx,"sk-SK":nx,"sl-SI":rx,"sr-SP":ox,"sv-SE":ax,"tr-TR":ix,"uk-UA":lx,"zh-CN":sx,"zh-TW":cx};function tF(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:g,onDecrementToMin:m,onIncrementToMax:h}=e;const b=Tt(eF(ux),"@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(g){E.preventDefault(),g==null||g();break}case"ArrowDown":case"Down":f&&(E.preventDefault(),f==null||f());break;case"Home":m&&(E.preventDefault(),m==null||m());break;case"End":h&&(E.preventDefault(),h==null||h());break}},y=c.useRef(!1),x=()=>{y.current=!0},S=()=>{y.current=!1},k=r===""?b.format("Empty"):(r||`${n}`).replace("-","−");c.useEffect(()=>{y.current&&(V8("assertive"),Hr(k,"assertive"))},[k]);const P=Oe(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=Oe(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}=Cc();return{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":k,"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 nF(e){return e&&e.__esModule?e.default:e}var dx={},fx={};fx={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var px={};px={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var mx={};mx={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var gx={};gx={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var hx={};hx={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var bx={};bx={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var vx={};vx={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var yx={};yx={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var $x={};$x={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var _x={};_x={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var xx={};xx={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var wx={};wx={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Ex={};Ex={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Sx={};Sx={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Dx={};Dx={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Px={};Px={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Tx={};Tx={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var kx={};kx={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Cx={};Cx={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Ax={};Ax={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Ix={};Ix={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Ox={};Ox={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Mx={};Mx={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Fx={};Fx={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Lx={};Lx={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Nx={};Nx={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var zx={};zx={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Rx={};Rx={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Kx={};Kx={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Vx={};Vx={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Bx={};Bx={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var jx={};jx={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Ux={};Ux={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Wx={};Wx={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},dx={"ar-AE":fx,"bg-BG":px,"cs-CZ":mx,"da-DK":gx,"de-DE":hx,"el-GR":bx,"en-US":vx,"es-ES":yx,"et-EE":$x,"fi-FI":_x,"fr-FR":xx,"he-IL":wx,"hr-HR":Ex,"hu-HU":Sx,"it-IT":Dx,"ja-JP":Px,"ko-KR":Tx,"lt-LT":kx,"lv-LV":Cx,"nb-NO":Ax,"nl-NL":Ix,"pl-PL":Ox,"pt-BR":Mx,"pt-PT":Fx,"ro-RO":Lx,"ru-RU":Nx,"sk-SK":zx,"sl-SI":Rx,"sr-SP":Kx,"sv-SE":Vx,"tr-TR":Bx,"uk-UA":jx,"zh-CN":Ux,"zh-TW":Wx};function rF(e,t,n){let{id:r,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:l,isRequired:s,minValue:u,maxValue:d,autoFocus:f,validationState:g,label:m,formatOptions:h,onBlur:b=()=>{},onFocus:v,onFocusChange:$,onKeyDown:y,onKeyUp:x,description:S,errorMessage:k,...P}=e,{increment:M,incrementToMax:_,decrement:C,decrementToMin:N,numberValue:E,inputValue:V,commit:O}=t;const T=Tt(nF(dx));let U=mt(r),{focusProps:I}=Vc({onBlur:()=>{O()}}),X=Rb(h),j=c.useMemo(()=>X.resolvedOptions(),[X]),Y=Rb({...h,currencySign:void 0}),z=c.useMemo(()=>isNaN(E)?"":Y.format(E),[Y,E]),{spinButtonProps:W,incrementButtonProps:B,decrementButtonProps:K}=tF({isDisabled:i,isReadOnly:l,isRequired:s,maxValue:d,minValue:u,onIncrement:M,onIncrementToMax:_,onDecrement:C,onDecrementToMin:N,value:E,textValue:z}),[H,te]=c.useState(!1),{focusWithinProps:ne}=Vo({isDisabled:i,onFocusWithinChange:te}),ie=c.useCallback(pt=>{Math.abs(pt.deltaY)<=Math.abs(pt.deltaX)||(pt.deltaY>0?M():pt.deltaY<0&&C())},[C,M]);Ek({onScroll:ie,isDisabled:i||l||!H},n);let Z=j.maximumFractionDigits>0,le=isNaN(t.minValue)||t.minValue<0,ge="numeric";kg()?le?ge="text":Z&&(ge="decimal"):Tc()&&(le?ge="numeric":Z&&(ge="decimal"));let ce=pt=>{t.validate(pt)&&t.setInputValue(pt)},be=Sn(e),{labelProps:Q,inputProps:se,descriptionProps:he,errorMessageProps:Re}=oA({...P,...be,label:m,autoFocus:f,isDisabled:i,isReadOnly:l,isRequired:s,validationState:g,value:V,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:U,type:"text",inputMode:ge,onChange:ce,onBlur:b,onFocus:v,onFocusChange:$,onKeyDown:y,onKeyUp:x,description:S,errorMessage:k},t,n),Kn=ve(W,I,se,{role:null,"aria-roledescription":Fo()?null:T.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),Nt=pt=>{document.activeElement!==n.current&&(pt.pointerType==="mouse"?n.current.focus():pt.target.focus())},ft=e["aria-label"]||(typeof e.label=="string"?e.label:""),_t;ft||(_t=e.label!=null?Q.id:e["aria-labelledby"]);let Vn=mt(),os=mt(),rp=ve(B,{"aria-label":a||T.format("increase",{fieldLabel:ft}).trim(),id:_t&&!a?Vn:null,"aria-labelledby":_t&&!a?`${Vn} ${_t}`:null,"aria-controls":U,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Nt}),as=ve(K,{"aria-label":o||T.format("decrease",{fieldLabel:ft}).trim(),id:_t&&!o?os:null,"aria-labelledby":_t&&!o?`${os} ${_t}`:null,"aria-controls":U,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Nt});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":g==="invalid"?"true":void 0,...ne},labelProps:Q,inputProps:Kn,incrementButtonProps:rp,decrementButtonProps:as,errorMessageProps:Re,descriptionProps:he}}function oF(e){let{minValue:t,maxValue:n,step:r,formatOptions:o,value:a,defaultValue:i,onChange:l,locale:s,isDisabled:u,isReadOnly:d}=e,[f,g]=Ut(a,isNaN(i)?NaN:i,l),[m,h]=c.useState(()=>isNaN(f)?"":new nl(s,o).format(f)),b=c.useMemo(()=>new Mb(s,o),[s,o]),v=c.useMemo(()=>b.getNumberingSystem(m),[b,m]),$=c.useMemo(()=>new nl(s,{...o,numberingSystem:v}),[s,o,v]),y=c.useMemo(()=>$.resolvedOptions(),[$]),x=c.useCallback(W=>isNaN(W)||W===null?"":$.format(W),[$]),S=isNaN(r)?1:r;y.style==="percent"&&isNaN(r)&&(S=.01);let[k,P]=c.useState(f),[M,_]=c.useState(s),[C,N]=c.useState(o);(!Object.is(f,k)||s!==M||o!==C)&&(h(x(f)),P(f),_(s),N(o));let E=c.useMemo(()=>b.parse(m),[b,m]),V=()=>{if(!m.length){g(NaN),h(a===void 0?"":x(f));return}if(isNaN(E)){h(x(f));return}let W;isNaN(r)?W=bi(E,t,n):W=qn(E,t,n,r),W=b.parse(x(W)),g(W),h(x(a===void 0?W:f))},O=(W,B)=>{let K=E;if(isNaN(K)){let H=isNaN(B)?0:B;return qn(H,t,n,S)}else{let H=qn(K,t,n,S);return W==="+"&&H>K||W==="-"&&H<K?H:qn(Vd(W,K,S),t,n,S)}},T=()=>{let W=O("+",t);W===f&&h(x(W)),g(W)},U=()=>{let W=O("-",n);W===f&&h(x(W)),g(W)},I=()=>{n!=null&&g(qn(n,t,n,S))},X=()=>{t!=null&&g(t)},j=c.useMemo(()=>!u&&!d&&(isNaN(E)||isNaN(n)||qn(E,t,n,S)>E||Vd("+",E,S)<=n),[u,d,t,n,S,E]),Y=c.useMemo(()=>!u&&!d&&(isNaN(E)||isNaN(t)||qn(E,t,n,S)<E||Vd("-",E,S)>=t),[u,d,t,n,S,E]);return{validate:W=>b.isValidPartialNumber(W,t,n),increment:T,incrementToMax:I,decrement:U,decrementToMin:X,canIncrement:j,canDecrement:Y,minValue:t,maxValue:n,numberValue:E,setInputValue:h,inputValue:m,commit:V}}function Vd(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 Hx(e){const t=c.useRef(null),{buttonProps:n,isPressed:r}=Jn(e,t),{children:o,className:a}=e;return w("button",{"data-state":r?"pressed":void 0,ref:t,...n,className:a,children:o})}const aF=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
- `,iF=F.default(At)`
2054
+ `,iF=F.default(Ot)`
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 Yx(e,t){var n;if(e.length&&((n=e[0])!=null&&n.value)){const r=e[0].value;return t.indexOf(r)}}const Bd=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:g=Tl.small,locale:m="en-US",isInvalid:h,boldLabel:b=!0,tooltipContent:v,...$}=e,y=Bt(),x=n??y,S=r,k=Dn(t),P=oF({...$,isDisabled:x,isReadOnly:S,minValue:d,maxValue:f,placeholder:s,locale:m}),{labelProps:M,groupProps:_,inputProps:C,incrementButtonProps:N,decrementButtonProps:E,errorMessageProps:V}=rF({...$,isDisabled:x,isReadOnly:S,minValue:d,maxValue:f,placeholder:s,label:i},P,k);let O=null;typeof i=="string"?O=ee(Ke,{...M,mb:p.spacing_150,bold:b,children:[i,v?w(Ze,{children:v}):null]}):c.isValidElement(i)&&(O=c.cloneElement(i,{...M}));const T=U=>{const{formatOptions:I}=e;if((I==null?void 0:I.style)==="unit"){const j=Intl.NumberFormat(m,I),q=j.formatToParts(1).filter(H=>H.type==="unit"),R=j.formatToParts(3).filter(H=>H.type==="unit"),W=Yx(q,P.inputValue),B=Yx(R,P.inputValue);let K;if(W&&W>-1?K=W:B&&B>-1&&(K=B),K){const H=U.target.selectionStart;if(H&&H>K){const ne=K-1;U.target.setSelectionRange(ne,ne)}}}};return ee(gt,{children:[O,u?ee(aF,{..._,height:typeof g=="string"?g:void 0,children:[w(iF,{height:g,...C,"data-value":isNaN(P.numberValue)?P.inputValue:P.numberValue,paddingSize:a,ref:k,onClick:T,onFocus:T,required:o,"data-state":h?"invalid":void 0}),w(lF,{...N,children:w(we.KeyboardArrowUp,{})}),w(sF,{...E,children:w(we.KeyboardArrowDown,{})})]}):w(At,{height:g,ref:k,...C,"data-value":isNaN(P.numberValue)?P.inputValue:P.numberValue,paddingSize:a,required:o,"data-state":h?"invalid":void 0}),l?w(ht,{...V,children:l}):null]})});Bd.displayName="NumberInput";const cF=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},qx=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,g=Dn(t),m=Bt(),h=r??m,{labelProps:b,inputProps:v,errorMessageProps:$}=ga({...f,isDisabled:h,isReadOnly:o,placeholder:s,label:i,inputElementType:"textarea"},g);let y=null;return typeof i=="string"?y=w(Ke,{...b,mb:p.spacing_150,bold:d,children:i}):c.isValidElement(i)&&(y=c.cloneElement(i,{...b,mb:p.spacing_150})),ee(gt,{children:[y,w(At,{as:"textarea","data-state":l,paddingSize:a,ref:g,placeholder:"Enter...",...v,rows:u}),n?w(ht,{...$,children:n}):null]})});qx.displayName="TextAreaInput";const jd=c.forwardRef((e,t)=>{const{isInvalid:n,...r}=e,{focus:o,height:a=Tl.small,inputBorderRadius:i,connectLeft:l=null,connectRight:s=null,errorMessage:u,disabled:d,readOnly:f,required:g,paddingSize:m,label:h,validationState:b=n===!0?"invalid":"valid",placeholder:v="Enter text...",className:$,fontSize:y,lineHeight:x,boldLabel:S=!0,...k}=r,P=Dn(t),M=Bt(),_=d??M,{labelProps:C,inputProps:N,errorMessageProps:E}=ga({...k,isDisabled:_,isReadOnly:f,placeholder:v,label:h},P);let V=null;return typeof h=="string"?V=ee(Ke,{...C,mb:p.spacing_150,bold:S,children:[h,r.tooltipContent?w(Ze,{children:r.tooltipContent}):null]}):c.isValidElement(h)&&(V=c.cloneElement(h,{...C,mb:p.spacing_100})),c.useEffect(()=>{o&&P.current&&P.current.focus()},[o,P]),ee(gt,{"data-id":"input-wrapper",children:[V,w(bd,{left:l,right:s,children:w(At,{height:a,fontSize:y,lineHeight:x,"data-id":"input-base",borderRadius:i,"data-state":b,paddingSize:m,ref:P,placeholder:"Enter...",type:"text",...N,required:g,className:$})}),u?w(ht,{...E,children:u}):null]})});jd.displayName="TextInput";const Ud=c.createContext({});Ud.displayName="FormControlContext";function Bl(){return c.useContext(Ud)}function uF({children:e,label:t,errorMessage:n,tooltipContent:r,tooltipIcon:o,validationState:a,id:i,...l}){const{errorMessageProps:s,fieldProps:u,labelProps:d}=fl({errorMessage:n,label:t,validationState:a,id:i,...l});return w(Ud.Provider,{value:u,children:ee(gt,{children:[ee(Ke,{...d,display:"flex",mb:p.spacing_150,bold:!0,children:[t,r?w(Ze,{icon:o,children:r}):null]}),e,n?w(ht,{...s,children:n}):null]})})}const Xx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(jd,{paddingSize:"small",ref:t,label:ee(Ke,{mb:p.spacing_150,bold:!0,children:[n,r?w(Ze,{icon:o,children:r}):null]}),...a})});Xx.displayName="TextFormControl";const Zx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(qx,{ref:t,label:ee(Ke,{mb:p.spacing_150,bold:!0,children:[n,r?w(Ze,{icon:o,children:r}):null]}),...a})});Zx.displayName="TextAreaFormControl";const Jx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(Bd,{ref:t,label:ee(Ke,{mb:p.spacing_150,bold:!0,children:[n,r?w(Ze,{icon:o,children:r}):null]}),...a})});Jx.displayName="NumberFormControl";const Qx=(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()},ew=F.default(Tn)`
2120
+ `;function Yx(e,t){var n;if(e.length&&((n=e[0])!=null&&n.value)){const r=e[0].value;return t.indexOf(r)}}const Bd=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:g=Tl.small,locale:m="en-US",isInvalid:h,boldLabel:b=!0,tooltipContent:v,...$}=e,y=Wt(),x=n??y,S=r,k=Dn(t),P=oF({...$,isDisabled:x,isReadOnly:S,minValue:d,maxValue:f,placeholder:s,locale:m}),{labelProps:M,groupProps:_,inputProps:C,incrementButtonProps:N,decrementButtonProps:E,errorMessageProps:V}=rF({...$,isDisabled:x,isReadOnly:S,minValue:d,maxValue:f,placeholder:s,label:i},P,k);let O=null;typeof i=="string"?O=ee(Be,{...M,mb:p.spacing_150,bold:b,children:[i,v?w(Qe,{children:v}):null]}):c.isValidElement(i)&&(O=c.cloneElement(i,{...M}));const T=U=>{const{formatOptions:I}=e;if((I==null?void 0:I.style)==="unit"){const j=Intl.NumberFormat(m,I),Y=j.formatToParts(1).filter(H=>H.type==="unit"),z=j.formatToParts(3).filter(H=>H.type==="unit"),W=Yx(Y,P.inputValue),B=Yx(z,P.inputValue);let K;if(W&&W>-1?K=W:B&&B>-1&&(K=B),K){const H=U.target.selectionStart;if(H&&H>K){const te=K-1;U.target.setSelectionRange(te,te)}}}};return ee(vt,{children:[O,u?ee(aF,{..._,height:typeof g=="string"?g:void 0,children:[w(iF,{height:g,...C,"data-value":isNaN(P.numberValue)?P.inputValue:P.numberValue,paddingSize:a,ref:k,onClick:T,onFocus:T,required:o,"data-state":h?"invalid":void 0}),w(lF,{...N,children:w(Se.KeyboardArrowUp,{})}),w(sF,{...E,children:w(Se.KeyboardArrowDown,{})})]}):w(Ot,{height:g,ref:k,...C,"data-value":isNaN(P.numberValue)?P.inputValue:P.numberValue,paddingSize:a,required:o,"data-state":h?"invalid":void 0}),l?w(yt,{...V,children:l}):null]})});Bd.displayName="NumberInput";const cF=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},qx=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,g=Dn(t),m=Wt(),h=r??m,{labelProps:b,inputProps:v,errorMessageProps:$}=ga({...f,isDisabled:h,isReadOnly:o,placeholder:s,label:i,inputElementType:"textarea"},g);let y=null;return typeof i=="string"?y=w(Be,{...b,mb:p.spacing_150,bold:d,children:i}):c.isValidElement(i)&&(y=c.cloneElement(i,{...b,mb:p.spacing_150})),ee(vt,{children:[y,w(Ot,{as:"textarea","data-state":l,paddingSize:a,ref:g,placeholder:"Enter...",...v,rows:u}),n?w(yt,{...$,children:n}):null]})});qx.displayName="TextAreaInput";const jd=c.forwardRef((e,t)=>{const{isInvalid:n,...r}=e,{focus:o,height:a=Tl.small,inputBorderRadius:i,connectLeft:l=null,connectRight:s=null,errorMessage:u,disabled:d,readOnly:f,required:g,paddingSize:m,label:h,validationState:b=n===!0?"invalid":"valid",placeholder:v="Enter text...",className:$,fontSize:y,lineHeight:x,boldLabel:S=!0,...k}=r,P=Dn(t),M=Wt(),_=d??M,{labelProps:C,inputProps:N,errorMessageProps:E}=ga({...k,isDisabled:_,isReadOnly:f,placeholder:v,label:h},P);let V=null;return typeof h=="string"?V=ee(Be,{...C,mb:p.spacing_150,bold:S,children:[h,r.tooltipContent?w(Qe,{children:r.tooltipContent}):null]}):c.isValidElement(h)&&(V=c.cloneElement(h,{...C,mb:p.spacing_100})),c.useEffect(()=>{o&&P.current&&P.current.focus()},[o,P]),ee(vt,{"data-id":"input-wrapper",children:[V,w(bd,{left:l,right:s,children:w(Ot,{height:a,fontSize:y,lineHeight:x,"data-id":"input-base",borderRadius:i,"data-state":b,paddingSize:m,ref:P,placeholder:"Enter...",type:"text",...N,required:g,className:$})}),u?w(yt,{...E,children:u}):null]})});jd.displayName="TextInput";const Ud=c.createContext({});Ud.displayName="FormControlContext";function Bl(){return c.useContext(Ud)}function uF({children:e,label:t,errorMessage:n,tooltipContent:r,tooltipIcon:o,validationState:a,id:i,...l}){const{errorMessageProps:s,fieldProps:u,labelProps:d}=fl({errorMessage:n,label:t,validationState:a,id:i,...l});return w(Ud.Provider,{value:u,children:ee(vt,{children:[ee(Be,{...d,display:"flex",mb:p.spacing_150,bold:!0,children:[t,r?w(Qe,{icon:o,children:r}):null]}),e,n?w(yt,{...s,children:n}):null]})})}const Xx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(jd,{paddingSize:"small",ref:t,label:ee(Be,{mb:p.spacing_150,bold:!0,children:[n,r?w(Qe,{icon:o,children:r}):null]}),...a})});Xx.displayName="TextFormControl";const Zx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(qx,{ref:t,label:ee(Be,{mb:p.spacing_150,bold:!0,children:[n,r?w(Qe,{icon:o,children:r}):null]}),...a})});Zx.displayName="TextAreaFormControl";const Jx=c.forwardRef((e,t)=>{const{label:n,tooltipContent:r,tooltipIcon:o,...a}=e;return w(Bd,{ref:t,label:ee(Be,{mb:p.spacing_150,bold:!0,children:[n,r?w(Qe,{icon:o,children:r}):null]}),...a})});Jx.displayName="NumberFormControl";const Qx=(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()},ew=F.default(Tn)`
2121
2121
  width: 32px;
2122
2122
  height: 32px;
2123
2123
 
@@ -2168,7 +2168,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2168
2168
  `,mF=F.default.span`
2169
2169
  display: none !important;
2170
2170
  position: absolute;
2171
- `,tw=({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:g,allowedOutsideClickContainers:m,isEditing:h,hideSave:b=!1,hideLabel:v=!1,...$})=>{const y=c.useRef(null),[x,S]=c.useState(!1),[k,P]=c.useState(!!h);c.useEffect(()=>{P(h??!1)},[h]);const M=Ft($,qt.propNames??[]),_=Ft($,Ai.propNames??[]),C=c.useCallback(()=>{S(!1),l(!1),P(!1)},[l]),N=c.useCallback(()=>{l(!0),P(!0)},[l]),E=c.useCallback(U=>{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 U=I=>{k&&I.key==="Escape"&&(I.preventDefault(),I.stopPropagation(),C(),V.current())};return document.addEventListener("keydown",U),()=>{document.removeEventListener("keydown",U)}},[k,C]);const V=c.useRef(s);V.current=s,c.useEffect(()=>{if(h!==void 0)return;const U=()=>{C(),V.current()};return document.addEventListener("mousedown",I=>Qx(I,y,U,m)),()=>{document.removeEventListener("mousedown",I=>Qx(I,y,U,m))}},[m,h,C]),c.useEffect(()=>C,[]);const O=c.useCallback(()=>f&&typeof f=="string"?w(Ke,{bold:!0,size:"medium",htmlFor:f,color:p.color_gray_52,onClick:()=>!u&&N(),mb:p.spacing_100,children:f}):w(Qe,{children:f}),[u,N,f]);if(k)return ee(Qe,{children:[v?null:w(O,{}),w(bd,{tabIndex:0,ref:y,right:b?null:w(xt,{ml:p.spacing_100,children:w(ew,{className:"inline-edit-save-button",onClick:E,disabled:x,"aria-label":"save",children:x?w(we.Loop,{}):w(we.Check,{})})}),children:w(dF,{saving:x,children:e})})]});const T={p:a,...M,..._};return g?T.id=g:f!==void 0&&(T.id=f),ee(Qe,{children:[w(O,{}),ee(pF,{onClick:N,...T,"data-id":$["data-id"],disabled:u,children:[`${n}`||w(fF,{children:t}),!o&&!u&&w(mF,{valid:d,children:w(we.Edit,{})})]})]})};tw.displayName="InlineEdit";const nw=(e,t,n)=>{for(const r of t){const o=iw(r,e);if(n&&o.compare(n)>=0)return r}return t[0]??""},gF=(e,t,n)=>{var i;let r=0;if(e.value){const l=e.value.minute;r=l+t-l%t}const o=Wd(null,new Tt(((i=e.value)==null?void 0:i.hour)??0,r));return n==="24"?Ul(o):jl(o)},hF=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"},Wd=(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},bF=/^\d+$/gi,rw=/^(\d{2}:\d{2})$/gi,ow=/^(\d{2}:\d{2})(AM|PM)$/gi,aw=/^(\d{2}:\d{2})\s?(AM|PM)$/gi,jl=e=>{var r,o;if(!e)return e;if(e=e.toUpperCase(),e.match(ow))return e.replace(/AM|PM/," $&");if(e.match(aw))return e;if(e.match(rw)){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(bF)){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"},Ul=e=>{if(!e||e.length===0||e.match(rw))return e;if(e==="24"||e==="24:00"||e==="2400")return"00:00";if(e.match(aw)||e.match(ow)||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"},iw=(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 Tt(parseInt(r),parseInt(o))},vF=(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:""}`},yF=(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,g=d>=a||d<=i;(a<=i?f:g)&&s.push(vF(d,o))}return s},$F=F.default.div`
2171
+ `,tw=({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:g,allowedOutsideClickContainers:m,isEditing:h,hideSave:b=!1,hideLabel:v=!1,...$})=>{const y=c.useRef(null),[x,S]=c.useState(!1),[k,P]=c.useState(!!h);c.useEffect(()=>{P(h??!1)},[h]);const M=zt($,Zt.propNames??[]),_=zt($,Ai.propNames??[]),C=c.useCallback(()=>{S(!1),l(!1),P(!1)},[l]),N=c.useCallback(()=>{l(!0),P(!0)},[l]),E=c.useCallback(U=>{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 U=I=>{k&&I.key==="Escape"&&(I.preventDefault(),I.stopPropagation(),C(),V.current())};return document.addEventListener("keydown",U),()=>{document.removeEventListener("keydown",U)}},[k,C]);const V=c.useRef(s);V.current=s,c.useEffect(()=>{if(h!==void 0)return;const U=()=>{C(),V.current()};return document.addEventListener("mousedown",I=>Qx(I,y,U,m)),()=>{document.removeEventListener("mousedown",I=>Qx(I,y,U,m))}},[m,h,C]),c.useEffect(()=>C,[]);const O=c.useCallback(()=>f&&typeof f=="string"?w(Be,{bold:!0,size:"medium",htmlFor:f,color:p.color_gray_52,onClick:()=>!u&&N(),mb:p.spacing_100,children:f}):w(tt,{children:f}),[u,N,f]);if(k)return ee(tt,{children:[v?null:w(O,{}),w(bd,{tabIndex:0,ref:y,right:b?null:w(Et,{ml:p.spacing_100,children:w(ew,{className:"inline-edit-save-button",onClick:E,disabled:x,"aria-label":"save",children:x?w(Se.Loop,{}):w(Se.Check,{})})}),children:w(dF,{saving:x,children:e})})]});const T={p:a,...M,..._};return g?T.id=g:f!==void 0&&(T.id=f),ee(tt,{children:[w(O,{}),ee(pF,{onClick:N,...T,"data-id":$["data-id"],disabled:u,children:[`${n}`||w(fF,{children:t}),!o&&!u&&w(mF,{valid:d,children:w(Se.Edit,{})})]})]})};tw.displayName="InlineEdit";const nw=(e,t,n)=>{for(const r of t){const o=iw(r,e);if(n&&o.compare(n)>=0)return r}return t[0]??""},gF=(e,t,n)=>{var i;let r=0;if(e.value){const l=e.value.minute;r=l+t-l%t}const o=Wd(null,new Ct(((i=e.value)==null?void 0:i.hour)??0,r));return n==="24"?Ul(o):jl(o)},hF=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"},Wd=(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},bF=/^\d+$/gi,rw=/^(\d{2}:\d{2})$/gi,ow=/^(\d{2}:\d{2})(AM|PM)$/gi,aw=/^(\d{2}:\d{2})\s?(AM|PM)$/gi,jl=e=>{var r,o;if(!e)return e;if(e=e.toUpperCase(),e.match(ow))return e.replace(/AM|PM/," $&");if(e.match(aw))return e;if(e.match(rw)){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(bF)){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"},Ul=e=>{if(!e||e.length===0||e.match(rw))return e;if(e==="24"||e==="24:00"||e==="2400")return"00:00";if(e.match(aw)||e.match(ow)||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"},iw=(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 Ct(parseInt(r),parseInt(o))},vF=(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:""}`},yF=(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,g=d>=a||d<=i;(a<=i?f:g)&&s.push(vF(d,o))}return s},$F=F.default.div`
2172
2172
  display: flex;
2173
2173
  flex-direction: column;
2174
2174
  align-items: flex-start;
@@ -2181,7 +2181,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2181
2181
  &:focus-within {
2182
2182
  border-color: ${p.color_deprecated_fill_inverse_enabled};
2183
2183
  }
2184
- `;function wa({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:g,required:m,earliestScrollOption:h=new Tt(0,0),latestScrollOption:b=new Tt(23,59),alignScrollOptionIntervalsToMidnight:v=!0,...$}){const{locale:y}=it(),x=l===""?hF(y):l,[S,k]=c.useState($.hideIcon),P=c.useMemo(()=>yF(i,h,b,v,x!=="24"),[v,h,x,i,b]),M=Wd(s,$.value),_=x==="24"?Ul(M):jl(M),[C,N]=c.useState(_),E=c.createRef(),V=c.useRef(null),O=c.createRef(),T=Ur({}),U=vc($.value);c.useEffect(()=>{if($.value&&(U==null?void 0:U.compare($.value))!==0&&!T.isOpen){const B=Wd(null,$.value),K=x==="24"?Ul(B):jl(B);N(K)}},[$.value,U,x,T.isOpen]);const I=c.useCallback(B=>{var ne;const K=O.current,H=(ne=K==null?void 0:K.getElementsByClassName(`${B}`))==null?void 0:ne[0];if(K&&H){const re=K.getBoundingClientRect().top+K.scrollTop,X=H.getBoundingClientRect().top+K.scrollTop-re+K.scrollTop;K.scrollTo({top:X,behavior:"smooth"})}},[O]),Z=c.useCallback(B=>{var ne;const K=O.current,H=(ne=K==null?void 0:K.getElementsByClassName(`${B}`))==null?void 0:ne[0];if(K&&H){const re=K.getBoundingClientRect().top+K.scrollTop,X=H.getBoundingClientRect().top+K.scrollTop-re+K.scrollTop;K.scrollTop=X}},[O]),j=vc(T.isOpen);c.useEffect(()=>{if(!j&&T.isOpen){const B=nw(x,P,$.value);Z(B)}},[C,T.isOpen,j,s,$.value,Z,i,x,$,P]);const{overlayProps:q}=al({type:"dialog"},T,E);c.useEffect(()=>{const B=()=>{E.current&&E.current.offsetWidth<100?S||k(!0):S&&k(!1)};return window.addEventListener("resize",B),B(),()=>window.removeEventListener("resize",B)},[E,S]);const R=c.useCallback(B=>{if(B){const K=x=="24"?Ul(B):jl(B),H=iw(K,x);u==null||u(H),N(K)}T.close()},[u,x,T]),W=c.useCallback(B=>{N(B.target.value),I(B.target.value),T.isOpen||T.open()},[T,I]);return Io(()=>{document.activeElement===E.current&&T.close()}),ee(gt,{children:[e?ee(Ke,{id:n,htmlFor:r,srOnly:o,mb:p.spacing_150,bold:a,children:[e,$.tooltipContent?w(Ze,{icon:$.tooltipIcon,children:$.tooltipContent}):null]}):null,ee(me,{width:"100%",position:"relative",children:[w(At,{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:g,required:m,ref:E,onFocus:B=>{T.isOpen||T.open()},onBlur:B=>{O.current&&B.relatedTarget&&O.current.contains(B.relatedTarget)||R(C)},onKeyDown:B=>{B.key==="Enter"&&T.isOpen&&B.preventDefault();let K=P.findIndex(H=>H===C);K===-1&&(K=P.findIndex(H=>{if(B.key==="ArrowDown"||B.key==="Tab")return H===nw(x,P,$.value);if(B.key==="ArrowUp"||B.key==="Tab"&&B.shiftKey)return H===gF($,i,x)})),(B.key==="ArrowDown"||B.key==="Tab")&&!B.shiftKey&&P[K+1]&&(T.isOpen&&B.key==="ArrowDown"?(B.preventDefault(),T.open(),N(P[K+1]??C),I(P[K+1]??"")):T.isOpen&&B.key==="Tab"&&(B.preventDefault(),N(P[K+1]??C),I(P[K+1]??""))),(B.key==="ArrowUp"||B.key==="Tab"&&B.shiftKey)&&P[K-1]&&(T.isOpen&&B.key==="ArrowUp"?(B.preventDefault(),T.open(),N(P[K-1]??C),I(P[K-1]??"")):T.isOpen&&B.key==="Tab"&&B.shiftKey&&(B.preventDefault(),N(P[K-1]??C),I(P[K-1]??"")))},onKeyUp:B=>{B.key==="Enter"&&R(C)},onMouseUp:B=>{B.preventDefault()},onChange:W,...Ka($)}),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(ht,{children:$.errorMessage}):null,T.isOpen?w(rr,{state:T,targetRef:E,isTargetWidth:!0,popoverRef:V,...q,placement:"bottom start",isNonModal:!0,className:"time-input-popover",children:w(vd,{ref:O,onMouseDown:B=>B.preventDefault(),children:P.map((B,K)=>w(Al,{value:B,isFocused:B===C,className:B||"",onClick:()=>{R(B)},children:w(rt,{as:"span",children:B})},K))})}):null]})}const lw=e=>{if(!e)return;let t=e.year,n=e.month;const r=1;return n===1?(n=12,t-=1):n-=1,new $e(t,n,r)},sw=e=>{if(!e)return;let t=e.year,n=e.month;const r=1;return n===12?(n=1,t+=1):n+=1,new $e(t,n,r)},Hd=["january","february","march","april","may","june","july","august","september","october","november","december"];function Wl(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 xF({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:g,...m}){const[h,b]=c.useState(!!m.hideIcon),v=c.createRef(),$=c.createRef(),y=c.createRef(),x=c.useRef(null),S=Ur({}),k=m.defaultValue?Wl(new Date(m.defaultValue.year,m.defaultValue.month-1,m.defaultValue.day)):void 0,P=m.value?Wl(new Date(m.value.year,m.value.month-1,m.value.day)):"",[M,_]=c.useState(k??P),[C,N]=c.useState(m.value??m.defaultValue),[E,V]=c.useState(C),{overlayProps:O}=al({type:"dialog"},S,v),T=vc(m.value);c.useEffect(()=>{m.value&&(T==null?void 0:T.compare(m.value))!==0&&!S.isOpen&&(N(m.value),V(m.value),_(Wl(new Date(m.value.year,m.value.month-1,m.value.day))))},[m.value,T,S.isOpen]);const U=c.useCallback(j=>{N(j),V(j),_(Wl(new Date(j.year,j.month-1,j.day))),l==null||l(j),S.close()},[l,S]),I=c.useCallback(j=>{const q=Hd.findIndex(R=>R.startsWith(j.toLowerCase()));if(q>=0)return Hd[q]},[]);c.useEffect(()=>{const j=()=>{!m.hideIcon&&v.current&&v.current.offsetWidth<=155?h||b(!0):m.hideIcon||h&&b(!1)};return window.addEventListener("resize",j),j(),()=>window.removeEventListener("resize",j)},[v,h,m.hideIcon]);const Z=c.useCallback(j=>{if(_(j.target.value),S.isOpen||S.open(),j.target.value.length){const R=j.target.value.replace(",","").split(" ");let W,B,K;for(const ne of R){if(ne.match(/[a-zA-Z]+/)){const re=I(ne);re&&(W=re)}if(ne.match(/^[0-9]+$/)){if(ne.length===1||ne.length===2){const re=parseInt(ne,10);re>=1&&re<=31&&(B=re)}if(ne.length===4){const re=parseInt(ne,10);re>=1e3&&re<=9999&&(K=re)}}}const H=new $e(K??new Date().getFullYear(),Hd.findIndex(ne=>ne===W)+1,B??1);N(H),V(H)}},[I,S]);return Io(()=>{document.activeElement===y.current&&S.close()}),ee(gt,{ref:v,children:[e?ee(Ke,{id:n,htmlFor:r,srOnly:a,mb:p.spacing_150,bold:i,children:[e,m.tooltipContent?w(Ze,{icon:m.tooltipIcon,children:m.tooltipContent}):null]}):null,ee(me,{width:"100%",position:"relative",children:[w(At,{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:j=>{j.target.select(),S.isOpen||S.open()},onBlur:j=>{$.current&&j.relatedTarget&&$.current.contains(j.relatedTarget)||(M&&C?U(C):M&&E?U(E):(l==null||l(void 0),S.close()))},onKeyDown:j=>{j.key==="Enter"&&S.isOpen&&j.preventDefault(),S.isOpen||S.open()},onKeyUp:j=>{j.key==="Enter"&&(M&&E?U(E):(l==null||l(void 0),S.close()))},onMouseUp:j=>{j.preventDefault()},onChange:Z,...Ka(m)}),h?null:w(we.CalendarToday,{"aria-hidden":"true",style:{position:"absolute",pointerEvents:"none",width:".875rem",height:".875rem",top:".5rem",right:"10px"}})]}),m.errorMessage?w(ht,{children:m.errorMessage}):null,S.isOpen?w(rr,{state:S,targetRef:v,popoverRef:x,...O,placement:"bottom start",isNonModal:!0,children:w(ar,{ref:$,value:C,focusedValue:E,onChange:j=>{const q=new $e(j.year,j.month,j.day);U(q)},onPrev:()=>{const j=lw(E);j&&V(j)},onNext:()=>{const j=sw(E);j&&V(j)},timeZone:o,isDateUnavailable:g})}):null]})}const wF=["january","february","march","april","may","june","july","august","september","october","november","december"],cw=F.default.div`
2184
+ `;function wa({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:g,required:m,earliestScrollOption:h=new Ct(0,0),latestScrollOption:b=new Ct(23,59),alignScrollOptionIntervalsToMidnight:v=!0,...$}){const{locale:y}=st(),x=l===""?hF(y):l,[S,k]=c.useState($.hideIcon),P=c.useMemo(()=>yF(i,h,b,v,x!=="24"),[v,h,x,i,b]),M=Wd(s,$.value),_=x==="24"?Ul(M):jl(M),[C,N]=c.useState(_),E=c.createRef(),V=c.useRef(null),O=c.createRef(),T=Wr({}),U=vc($.value);c.useEffect(()=>{if($.value&&(U==null?void 0:U.compare($.value))!==0&&!T.isOpen){const B=Wd(null,$.value),K=x==="24"?Ul(B):jl(B);N(K)}},[$.value,U,x,T.isOpen]);const I=c.useCallback(B=>{var te;const K=O.current,H=(te=K==null?void 0:K.getElementsByClassName(`${B}`))==null?void 0:te[0];if(K&&H){const ne=K.getBoundingClientRect().top+K.scrollTop,q=H.getBoundingClientRect().top+K.scrollTop-ne+K.scrollTop;K.scrollTo({top:q,behavior:"smooth"})}},[O]),X=c.useCallback(B=>{var te;const K=O.current,H=(te=K==null?void 0:K.getElementsByClassName(`${B}`))==null?void 0:te[0];if(K&&H){const ne=K.getBoundingClientRect().top+K.scrollTop,q=H.getBoundingClientRect().top+K.scrollTop-ne+K.scrollTop;K.scrollTop=q}},[O]),j=vc(T.isOpen);c.useEffect(()=>{if(!j&&T.isOpen){const B=nw(x,P,$.value);X(B)}},[C,T.isOpen,j,s,$.value,X,i,x,$,P]);const{overlayProps:Y}=al({type:"dialog"},T,E);c.useEffect(()=>{const B=()=>{E.current&&E.current.offsetWidth<100?S||k(!0):S&&k(!1)};return window.addEventListener("resize",B),B(),()=>window.removeEventListener("resize",B)},[E,S]);const z=c.useCallback(B=>{if(B){const K=x=="24"?Ul(B):jl(B),H=iw(K,x);u==null||u(H),N(K)}T.close()},[u,x,T]),W=c.useCallback(B=>{N(B.target.value),I(B.target.value),T.isOpen||T.open()},[T,I]);return Io(()=>{document.activeElement===E.current&&T.close()}),ee(vt,{children:[e?ee(Be,{id:n,htmlFor:r,srOnly:o,mb:p.spacing_150,bold:a,children:[e,$.tooltipContent?w(Qe,{icon:$.tooltipIcon,children:$.tooltipContent}):null]}):null,ee(me,{width:"100%",position:"relative",children:[w(Ot,{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:g,required:m,ref:E,onFocus:B=>{T.isOpen||T.open()},onBlur:B=>{O.current&&B.relatedTarget&&O.current.contains(B.relatedTarget)||z(C)},onKeyDown:B=>{B.key==="Enter"&&T.isOpen&&B.preventDefault();let K=P.findIndex(H=>H===C);K===-1&&(K=P.findIndex(H=>{if(B.key==="ArrowDown"||B.key==="Tab")return H===nw(x,P,$.value);if(B.key==="ArrowUp"||B.key==="Tab"&&B.shiftKey)return H===gF($,i,x)})),(B.key==="ArrowDown"||B.key==="Tab")&&!B.shiftKey&&P[K+1]&&(T.isOpen&&B.key==="ArrowDown"?(B.preventDefault(),T.open(),N(P[K+1]??C),I(P[K+1]??"")):T.isOpen&&B.key==="Tab"&&(B.preventDefault(),N(P[K+1]??C),I(P[K+1]??""))),(B.key==="ArrowUp"||B.key==="Tab"&&B.shiftKey)&&P[K-1]&&(T.isOpen&&B.key==="ArrowUp"?(B.preventDefault(),T.open(),N(P[K-1]??C),I(P[K-1]??"")):T.isOpen&&B.key==="Tab"&&B.shiftKey&&(B.preventDefault(),N(P[K-1]??C),I(P[K-1]??"")))},onKeyUp:B=>{B.key==="Enter"&&z(C)},onMouseUp:B=>{B.preventDefault()},onChange:W,...Ka($)}),S?null:w(Se.AccessTime,{"aria-hidden":"true",style:{position:"absolute",pointerEvents:"none",width:"1.1rem",height:"1.1rem",top:".45rem",right:".5rem"}})]}),$.errorMessage?w(yt,{children:$.errorMessage}):null,T.isOpen?w(or,{state:T,targetRef:E,isTargetWidth:!0,popoverRef:V,...Y,placement:"bottom start",isNonModal:!0,className:"time-input-popover",children:w(vd,{ref:O,onMouseDown:B=>B.preventDefault(),children:P.map((B,K)=>w(Al,{value:B,isFocused:B===C,className:B||"",onClick:()=>{z(B)},children:w(at,{as:"span",children:B})},K))})}):null]})}const lw=e=>{if(!e)return;let t=e.year,n=e.month;const r=1;return n===1?(n=12,t-=1):n-=1,new xe(t,n,r)},sw=e=>{if(!e)return;let t=e.year,n=e.month;const r=1;return n===12?(n=1,t+=1):n+=1,new xe(t,n,r)},Hd=["january","february","march","april","may","june","july","august","september","october","november","december"];function Wl(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 xF({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:g,...m}){const[h,b]=c.useState(!!m.hideIcon),v=c.createRef(),$=c.createRef(),y=c.createRef(),x=c.useRef(null),S=Wr({}),k=m.defaultValue?Wl(new Date(m.defaultValue.year,m.defaultValue.month-1,m.defaultValue.day)):void 0,P=m.value?Wl(new Date(m.value.year,m.value.month-1,m.value.day)):"",[M,_]=c.useState(k??P),[C,N]=c.useState(m.value??m.defaultValue),[E,V]=c.useState(C),{overlayProps:O}=al({type:"dialog"},S,v),T=vc(m.value);c.useEffect(()=>{m.value&&(T==null?void 0:T.compare(m.value))!==0&&!S.isOpen&&(N(m.value),V(m.value),_(Wl(new Date(m.value.year,m.value.month-1,m.value.day))))},[m.value,T,S.isOpen]);const U=c.useCallback(j=>{N(j),V(j),_(Wl(new Date(j.year,j.month-1,j.day))),l==null||l(j),S.close()},[l,S]),I=c.useCallback(j=>{const Y=Hd.findIndex(z=>z.startsWith(j.toLowerCase()));if(Y>=0)return Hd[Y]},[]);c.useEffect(()=>{const j=()=>{!m.hideIcon&&v.current&&v.current.offsetWidth<=155?h||b(!0):m.hideIcon||h&&b(!1)};return window.addEventListener("resize",j),j(),()=>window.removeEventListener("resize",j)},[v,h,m.hideIcon]);const X=c.useCallback(j=>{if(_(j.target.value),S.isOpen||S.open(),j.target.value.length){const z=j.target.value.replace(",","").split(" ");let W,B,K;for(const te of z){if(te.match(/[a-zA-Z]+/)){const ne=I(te);ne&&(W=ne)}if(te.match(/^[0-9]+$/)){if(te.length===1||te.length===2){const ne=parseInt(te,10);ne>=1&&ne<=31&&(B=ne)}if(te.length===4){const ne=parseInt(te,10);ne>=1e3&&ne<=9999&&(K=ne)}}}const H=new xe(K??new Date().getFullYear(),Hd.findIndex(te=>te===W)+1,B??1);N(H),V(H)}},[I,S]);return Io(()=>{document.activeElement===y.current&&S.close()}),ee(vt,{ref:v,children:[e?ee(Be,{id:n,htmlFor:r,srOnly:a,mb:p.spacing_150,bold:i,children:[e,m.tooltipContent?w(Qe,{icon:m.tooltipIcon,children:m.tooltipContent}):null]}):null,ee(me,{width:"100%",position:"relative",children:[w(Ot,{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:j=>{j.target.select(),S.isOpen||S.open()},onBlur:j=>{$.current&&j.relatedTarget&&$.current.contains(j.relatedTarget)||(M&&C?U(C):M&&E?U(E):(l==null||l(void 0),S.close()))},onKeyDown:j=>{j.key==="Enter"&&S.isOpen&&j.preventDefault(),S.isOpen||S.open()},onKeyUp:j=>{j.key==="Enter"&&(M&&E?U(E):(l==null||l(void 0),S.close()))},onMouseUp:j=>{j.preventDefault()},onChange:X,...Ka(m)}),h?null:w(Se.CalendarToday,{"aria-hidden":"true",style:{position:"absolute",pointerEvents:"none",width:".875rem",height:".875rem",top:".5rem",right:"10px"}})]}),m.errorMessage?w(yt,{children:m.errorMessage}):null,S.isOpen?w(or,{state:S,targetRef:v,popoverRef:x,...O,placement:"bottom start",isNonModal:!0,children:w(ir,{ref:$,value:C,focusedValue:E,onChange:j=>{const Y=new xe(j.year,j.month,j.day);U(Y)},onPrev:()=>{const j=lw(E);j&&V(j)},onNext:()=>{const j=sw(E);j&&V(j)},timeZone:o,isDateUnavailable:g})}):null]})}const wF=["january","february","march","april","may","june","july","august","september","october","november","december"],cw=F.default.div`
2185
2185
  display: ${e=>e.isOpen?"block":"none"};
2186
2186
  position: fixed;
2187
2187
  background: ${p.color_white};
@@ -2191,7 +2191,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2191
2191
  z-index: 1000;
2192
2192
  padding: ${p.spacing_300};
2193
2193
  min-width: 200px;
2194
- `,Gd=e=>{if(!e||!e.trim())return null;try{if(e.includes("T")&&(e.includes("-")||e.includes("+")))throw new Error("ISO format - skip to fallback");const t=e.toLowerCase(),n=t.split(/[\s,\/\-]+/);let r,o,a,i,l,s=t.includes("pm"),u=t.includes("am"),d=!1,f=!1,g=!1;for(const h of n){if(!h)continue;const b=h.trim();if(!b)continue;const v=wF.findIndex(y=>y.startsWith(b));if(v>=0&&r===void 0){r=v+1,f=!0;continue}if(b==="am"||b==="pm")continue;if(b.includes(":")){const y=b.split(":");if(y.length===2){const x=parseInt(y[0]??"",10),S=parseInt(y[1]??"",10);if(!isNaN(x)&&!isNaN(S)&&x<=23&&S<=59){i=x,l=S,d=!0,f=!0;continue}}}const $=parseInt(b,10);if(!isNaN($))if(b.length===4&&$>=1e3&&$<=9999&&a===void 0)a=$,d=!0,f=!0;else if(r!==void 0&&o===void 0&&!d)if($>=1&&$<=31)o=$,f=!0;else return null;else if(r===void 0&&o===void 0&&!d&&!g)if(g=!0,$>=1&&$<=12)r=$,f=!0;else return null;else(d||r!==void 0&&o!==void 0)&&(i===void 0&&$<=23?(i=$,f=!0):l===void 0&&$<=59&&(l=$,f=!0))}if(!f)return null;i!==void 0&&s&&i<12?i+=12:i!==void 0&&u&&i===12&&(i=0);const m=new Date;return a===void 0&&(a=m.getFullYear()),r===void 0&&(r=m.getMonth()+1),o===void 0&&(o=m.getDate()),i===void 0&&(i=m.getHours()),l===void 0&&(l=i!==void 0?0:m.getMinutes()),r<1||r>12||o<1||o>31||a<1e3||a>9999||i<0||i>23||l<0||l>59?null:{date:new $e(a,r,o),time:new Tt(i,l)}}catch{if(e.includes("-")||e.includes("T"))try{const t=new Date(e);if(!isNaN(t.getTime())){const r=e.includes("T")?{getFullYear:()=>t.getUTCFullYear(),getMonth:()=>t.getUTCMonth(),getDate:()=>t.getUTCDate(),getHours:()=>t.getUTCHours(),getMinutes:()=>t.getUTCMinutes()}:{getFullYear:()=>t.getFullYear(),getMonth:()=>t.getMonth(),getDate:()=>t.getDate(),getHours:()=>t.getHours(),getMinutes:()=>t.getMinutes()};return{date:new $e(r.getFullYear(),r.getMonth()+1,r.getDate()),time:new Tt(r.getHours(),r.getMinutes())}}}catch{}return null}};function Mt(e,t){if(!e)return"";const n=navigator.language||"en-US";return t?new Intl.DateTimeFormat(n,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit",hour12:!0}).format(new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.hour,t.minute)):new Intl.DateTimeFormat(n,{year:"numeric",month:"short",day:"numeric"}).format(e)}function uw(e){if(!e)return{date:void 0,time:void 0};try{const t=new Date(e);if(Number.isNaN(t.getTime()))return{date:void 0,time:void 0};const n=new $e(t.getFullYear(),t.getMonth()+1,t.getDate()),r=new Tt(t.getHours(),t.getMinutes());return{date:n,time:r}}catch{return{date:void 0,time:void 0}}}function EF({label:e,name:t="datetime-input",labelId:n="datetime-input-label",inputId:r="datetime-input",hideLabel:o,boldLabel:a=!0,onChange:i,isInvalid:l,isDisabled:s,required:u,hideIcon:d,errorMessage:f,placeholder:g="Enter a date and time",tooltipIcon:m,tooltipContent:h,onDateTimeChange:b,defaultDate:v,defaultTime:$,defaultISO:y,usePortal:x=!0,outsideClickIgnoreSelectors:S=[],closeOnOutsideClick:k=!0,timePosition:P="top",...M}){const _=c.useMemo(()=>new $e(new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()),[]),C=c.useMemo(()=>new Tt(12,0),[]),N=uw(y),E=N.date??v??_,V=N.time??$??C,O=Mt(new Date(E.year,E.month-1,E.day),V),[T,U]=c.useState(O),[I,Z]=c.useState(!1),[j,q]=c.useState({top:0,left:0}),[R,W]=c.useState(E),[B,K]=c.useState(V),[H,ne]=c.useState(void 0),re=c.useMemo(()=>S,[S]);c.useEffect(()=>{if(!I&&(v||$||y)){const Y=uw(y),te=Y.date??v??_,ce=Y.time??$??C;W(te),K(ce);const Ie=Mt(new Date(te.year,te.month-1,te.day),ce);U(Ie)}},[v,$,y,I,_,C]);const le=c.useRef(null),X=c.useRef(null),J=c.useRef(null);c.useEffect(()=>{const Y=te=>{var gn,vt;const ce=te.target,Ie=(gn=J.current)==null?void 0:gn.contains(ce),Wt=(vt=X.current)==null?void 0:vt.contains(ce),Kn=re.some(yt=>ce.closest(yt)!==null);Ie||Wt||Kn||Z(!1)};if(I&&k)return document.addEventListener("mousedown",Y),()=>{document.removeEventListener("mousedown",Y)}},[re,I,k]),c.useEffect(()=>{const Y=()=>{if(le.current){const te=le.current.getBoundingClientRect();q({top:te.bottom+4,left:te.left})}};if(I)return Y(),window.addEventListener("resize",Y),window.addEventListener("scroll",Y,!0),()=>{window.removeEventListener("resize",Y),window.removeEventListener("scroll",Y,!0)}},[I]);const se=c.useCallback(Y=>{const te=Y.target.value;U(te),i==null||i(te);const ce=Gd(te);ce&&(W(ce.date),K(ce.time),b==null||b(ce.date,ce.time))},[i,b]),he=c.useCallback(Y=>{if(Y.key==="Escape"&&Z(!1),Y.key==="Enter"){const te=Gd(T);if(te){W(te.date),ne(te.date),K(te.time);const ce=new Date(te.date.year,te.date.month-1,te.date.day),Ie=Mt(ce,te.time);U(Ie),b==null||b(te.date,te.time),Z(!1)}}},[T,b]);return ee(Qe,{children:[ee(gt,{children:[e&&!o?ee(Ke,{htmlFor:r,srOnly:o,mb:p.spacing_150,bold:a,children:[e,h?w(Ze,{icon:m,children:h}):null]}):null,ee(me,{width:"100%",position:"relative",ref:J,children:[w(At,{type:"text",autoComplete:"off",placeholder:g,name:t,id:r,value:T,fontSize:p.font_size_175,lineHeight:p.font_size_200,height:p.font_size_400,"data-state":l?"invalid":void 0,disabled:s,required:u,ref:le,onChange:se,onKeyDown:he,onFocus:()=>{I||Z(!0)},onClick:()=>{I||Z(!0)},...Ka(M)}),d?null:w(we.CalendarToday,{"aria-hidden":"true",style:{position:"absolute",pointerEvents:"none",width:".875rem",height:".875rem",top:".5rem",right:"10px"}}),f?w(ht,{children:f}):null]})]}),I?x?w(ci,{children:w(cw,{isOpen:I,ref:X,style:{top:`${j.top}px`,left:`${j.left}px`},children:w(Or,{space:p.spacing_200,p:p.spacing_300,children:P==="top"?ee(Qe,{children:[w(wa,{label:"Time",value:B??null,onChange:Y=>{if(K(Y??void 0),R&&Y){const te=new Date(R.year,R.month-1,R.day),ce=Mt(te,Y);U(ce)}b==null||b(R,Y??void 0)},hideLabel:!1}),w(ar,{timeZone:"America/Los_Angeles",value:R,focusedValue:H??R,onChange:Y=>{const te=new $e(Y.year,Y.month,Y.day);W(te),ne(te);const ce=new Date(Y.year,Y.month-1,Y.day),Ie=Mt(ce,B);U(Ie),b==null||b(te,B)}})]}):ee(Qe,{children:[w(ar,{timeZone:"America/Los_Angeles",value:R,focusedValue:H??R,onChange:Y=>{const te=new $e(Y.year,Y.month,Y.day);W(te),ne(te);const ce=new Date(Y.year,Y.month-1,Y.day),Ie=Mt(ce,B);U(Ie),b==null||b(te,B)}}),w(wa,{label:"Time",value:B??null,onChange:Y=>{if(K(Y??void 0),R&&Y){const te=new Date(R.year,R.month-1,R.day),ce=Mt(te,Y);U(ce)}b==null||b(R,Y??void 0)},hideLabel:!1})]})})})}):w(cw,{isOpen:I,ref:X,style:{top:`${j.top}px`,left:`${j.left}px`},children:w(Or,{space:p.spacing_200,p:p.spacing_300,children:P==="top"?ee(Qe,{children:[w(wa,{label:"Time",value:B??null,onChange:Y=>{if(K(Y??void 0),R&&Y){const te=new Date(R.year,R.month-1,R.day),ce=Mt(te,Y);U(ce)}b==null||b(R,Y??void 0)},hideLabel:!1}),w(ar,{timeZone:"America/Los_Angeles",value:R,focusedValue:H??R,onChange:Y=>{const te=new $e(Y.year,Y.month,Y.day);W(te),ne(te);const ce=new Date(Y.year,Y.month-1,Y.day),Ie=Mt(ce,B);U(Ie),b==null||b(te,B)}})]}):ee(Qe,{children:[w(ar,{timeZone:"America/Los_Angeles",value:R,focusedValue:H??R,onChange:Y=>{const te=new $e(Y.year,Y.month,Y.day);W(te),ne(te);const ce=new Date(Y.year,Y.month-1,Y.day),Ie=Mt(ce,B);U(Ie),b==null||b(te,B)}}),w(wa,{label:"Time",value:B??null,onChange:Y=>{if(K(Y??void 0),R&&Y){const te=new Date(R.year,R.month-1,R.day),ce=Mt(te,Y);U(ce)}b==null||b(R,Y??void 0)},hideLabel:!1})]})})}):null]})}const SF=F.default(rt)`
2194
+ `,Gd=e=>{if(!e||!e.trim())return null;try{if(e.includes("T")&&(e.includes("-")||e.includes("+")))throw new Error("ISO format - skip to fallback");const t=e.toLowerCase(),n=t.split(/[\s,\/\-]+/);let r,o,a,i,l,s=t.includes("pm"),u=t.includes("am"),d=!1,f=!1,g=!1;for(const h of n){if(!h)continue;const b=h.trim();if(!b)continue;const v=wF.findIndex(y=>y.startsWith(b));if(v>=0&&r===void 0){r=v+1,f=!0;continue}if(b==="am"||b==="pm")continue;if(b.includes(":")){const y=b.split(":");if(y.length===2){const x=parseInt(y[0]??"",10),S=parseInt(y[1]??"",10);if(!isNaN(x)&&!isNaN(S)&&x<=23&&S<=59){i=x,l=S,d=!0,f=!0;continue}}}const $=parseInt(b,10);if(!isNaN($))if(b.length===4&&$>=1e3&&$<=9999&&a===void 0)a=$,d=!0,f=!0;else if(r!==void 0&&o===void 0&&!d)if($>=1&&$<=31)o=$,f=!0;else return null;else if(r===void 0&&o===void 0&&!d&&!g)if(g=!0,$>=1&&$<=12)r=$,f=!0;else return null;else(d||r!==void 0&&o!==void 0)&&(i===void 0&&$<=23?(i=$,f=!0):l===void 0&&$<=59&&(l=$,f=!0))}if(!f)return null;i!==void 0&&s&&i<12?i+=12:i!==void 0&&u&&i===12&&(i=0);const m=new Date;return a===void 0&&(a=m.getFullYear()),r===void 0&&(r=m.getMonth()+1),o===void 0&&(o=m.getDate()),i===void 0&&(i=m.getHours()),l===void 0&&(l=i!==void 0?0:m.getMinutes()),r<1||r>12||o<1||o>31||a<1e3||a>9999||i<0||i>23||l<0||l>59?null:{date:new xe(a,r,o),time:new Ct(i,l)}}catch{if(e.includes("-")||e.includes("T"))try{const t=new Date(e);if(!isNaN(t.getTime())){const r=e.includes("T")?{getFullYear:()=>t.getUTCFullYear(),getMonth:()=>t.getUTCMonth(),getDate:()=>t.getUTCDate(),getHours:()=>t.getUTCHours(),getMinutes:()=>t.getUTCMinutes()}:{getFullYear:()=>t.getFullYear(),getMonth:()=>t.getMonth(),getDate:()=>t.getDate(),getHours:()=>t.getHours(),getMinutes:()=>t.getMinutes()};return{date:new xe(r.getFullYear(),r.getMonth()+1,r.getDate()),time:new Ct(r.getHours(),r.getMinutes())}}}catch{}return null}};function Lt(e,t){if(!e)return"";const n=navigator.language||"en-US";return t?new Intl.DateTimeFormat(n,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit",hour12:!0}).format(new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.hour,t.minute)):new Intl.DateTimeFormat(n,{year:"numeric",month:"short",day:"numeric"}).format(e)}function uw(e){if(!e)return{date:void 0,time:void 0};try{const t=new Date(e);if(Number.isNaN(t.getTime()))return{date:void 0,time:void 0};const n=new xe(t.getFullYear(),t.getMonth()+1,t.getDate()),r=new Ct(t.getHours(),t.getMinutes());return{date:n,time:r}}catch{return{date:void 0,time:void 0}}}function EF({label:e,name:t="datetime-input",labelId:n="datetime-input-label",inputId:r="datetime-input",hideLabel:o,boldLabel:a=!0,onChange:i,isInvalid:l,isDisabled:s,required:u,hideIcon:d,errorMessage:f,placeholder:g="Enter a date and time",tooltipIcon:m,tooltipContent:h,onDateTimeChange:b,defaultDate:v,defaultTime:$,defaultISO:y,usePortal:x=!0,outsideClickIgnoreSelectors:S=[],closeOnOutsideClick:k=!0,timePosition:P="top",...M}){const _=c.useMemo(()=>new xe(new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()),[]),C=c.useMemo(()=>new Ct(12,0),[]),N=uw(y),E=N.date??v??_,V=N.time??$??C,O=Lt(new Date(E.year,E.month-1,E.day),V),[T,U]=c.useState(O),[I,X]=c.useState(!1),[j,Y]=c.useState({top:0,left:0}),[z,W]=c.useState(E),[B,K]=c.useState(V),[H,te]=c.useState(void 0),ne=c.useMemo(()=>S,[S]);c.useEffect(()=>{if(!I&&(v||$||y)){const Q=uw(y),se=Q.date??v??_,he=Q.time??$??C;W(se),K(he);const Re=Lt(new Date(se.year,se.month-1,se.day),he);U(Re)}},[v,$,y,I,_,C]);const ie=c.useRef(null),q=c.useRef(null),Z=c.useRef(null);c.useEffect(()=>{const Q=se=>{var ft,_t;const he=se.target,Re=(ft=Z.current)==null?void 0:ft.contains(he),Kn=(_t=q.current)==null?void 0:_t.contains(he),Nt=ne.some(Vn=>he.closest(Vn)!==null);Re||Kn||Nt||X(!1)};if(I&&k)return document.addEventListener("mousedown",Q),()=>{document.removeEventListener("mousedown",Q)}},[ne,I,k]),c.useEffect(()=>{const Q=()=>{if(ie.current){const se=ie.current.getBoundingClientRect();Y({top:se.bottom+4,left:se.left})}};if(I)return Q(),window.addEventListener("resize",Q),window.addEventListener("scroll",Q,!0),()=>{window.removeEventListener("resize",Q),window.removeEventListener("scroll",Q,!0)}},[I]);const le=c.useCallback(()=>{te(Q=>(Q??z??_).add({months:-1}))},[z,_]),ge=c.useCallback(()=>{te(Q=>(Q??z??_).add({months:1}))},[z,_]),ce=c.useCallback(Q=>{const se=Q.target.value;U(se),i==null||i(se);const he=Gd(se);he&&(W(he.date),K(he.time),b==null||b(he.date,he.time))},[i,b]),be=c.useCallback(Q=>{if(Q.key==="Escape"&&X(!1),Q.key==="Enter"){const se=Gd(T);if(se){W(se.date),te(se.date),K(se.time);const he=new Date(se.date.year,se.date.month-1,se.date.day),Re=Lt(he,se.time);U(Re),b==null||b(se.date,se.time),X(!1)}}},[T,b]);return ee(tt,{children:[ee(vt,{children:[e&&!o?ee(Be,{htmlFor:r,srOnly:o,mb:p.spacing_150,bold:a,children:[e,h?w(Qe,{icon:m,children:h}):null]}):null,ee(me,{width:"100%",position:"relative",ref:Z,children:[w(Ot,{type:"text",autoComplete:"off",placeholder:g,name:t,id:r,value:T,fontSize:p.font_size_175,lineHeight:p.font_size_200,height:p.font_size_400,"data-state":l?"invalid":void 0,disabled:s,required:u,ref:ie,onChange:ce,onKeyDown:be,onFocus:()=>{I||X(!0)},onClick:()=>{I||X(!0)},...Ka(M)}),d?null:w(Se.CalendarToday,{"aria-hidden":"true",style:{position:"absolute",pointerEvents:"none",width:".875rem",height:".875rem",top:".5rem",right:"10px"}}),f?w(yt,{children:f}):null]})]}),I?x?w(ci,{children:w(cw,{isOpen:I,ref:q,style:{top:`${j.top}px`,left:`${j.left}px`},children:w(Mr,{space:p.spacing_200,p:p.spacing_300,children:P==="top"?ee(tt,{children:[w(me,{pb:p.spacing_300,children:w(wa,{label:"Time",value:B??null,onChange:Q=>{if(K(Q??void 0),z&&Q){const se=new Date(z.year,z.month-1,z.day),he=Lt(se,Q);U(he)}b==null||b(z,Q??void 0)},hideLabel:!1})}),w(ir,{timeZone:"America/Los_Angeles",value:z,focusedValue:H??z,onPrev:le,onNext:ge,onChange:Q=>{const se=new xe(Q.year,Q.month,Q.day);W(se),te(se);const he=new Date(Q.year,Q.month-1,Q.day),Re=Lt(he,B);U(Re),b==null||b(se,B)}})]}):ee(tt,{children:[w(ir,{timeZone:"America/Los_Angeles",value:z,focusedValue:H??z,onPrev:le,onNext:ge,onChange:Q=>{const se=new xe(Q.year,Q.month,Q.day);W(se),te(se);const he=new Date(Q.year,Q.month-1,Q.day),Re=Lt(he,B);U(Re),b==null||b(se,B)}}),w(wa,{label:"Time",value:B??null,onChange:Q=>{if(K(Q??void 0),z&&Q){const se=new Date(z.year,z.month-1,z.day),he=Lt(se,Q);U(he)}b==null||b(z,Q??void 0)},hideLabel:!1})]})})})}):w(cw,{isOpen:I,ref:q,style:{top:`${j.top}px`,left:`${j.left}px`},children:w(Mr,{space:p.spacing_200,p:p.spacing_300,children:P==="top"?ee(tt,{children:[w(me,{pb:p.spacing_300,children:w(wa,{label:"Time",value:B??null,onChange:Q=>{if(K(Q??void 0),z&&Q){const se=new Date(z.year,z.month-1,z.day),he=Lt(se,Q);U(he)}b==null||b(z,Q??void 0)},hideLabel:!1})}),w(ir,{timeZone:"America/Los_Angeles",value:z,focusedValue:H??z,onPrev:le,onNext:ge,onChange:Q=>{const se=new xe(Q.year,Q.month,Q.day);W(se),te(se);const he=new Date(Q.year,Q.month-1,Q.day),Re=Lt(he,B);U(Re),b==null||b(se,B)}})]}):ee(tt,{children:[w(ir,{timeZone:"America/Los_Angeles",value:z,focusedValue:H??z,onPrev:le,onNext:ge,onChange:Q=>{const se=new xe(Q.year,Q.month,Q.day);W(se),te(se);const he=new Date(Q.year,Q.month-1,Q.day),Re=Lt(he,B);U(Re),b==null||b(se,B)}}),w(wa,{label:"Time",value:B??null,onChange:Q=>{if(K(Q??void 0),z&&Q){const se=new Date(z.year,z.month-1,z.day),he=Lt(se,Q);U(he)}b==null||b(z,Q??void 0)},hideLabel:!1})]})})}):null]})}const SF=F.default(at)`
2195
2195
  font-family: ${p.font_family_pingo};
2196
2196
  font-size: 0.875rem;
2197
2197
  font-style: normal;
@@ -2200,13 +2200,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2200
2200
  color: ${p.color_black};
2201
2201
 
2202
2202
  margin-top: ${p.spacing_100};
2203
- `,DF=({label:e,value:t,truncate:n=!1})=>ee(me,{role:"group",title:e,children:[w(Ke,{htmlFor:`labeled-text-${e}`,color:p.color_gray_52,size:"medium",bold:!0,title:e,"aria-label":e,children:e}),w(SF,{id:`labeled-text-${e}`,title:typeof t=="string"?t:e,"aria-label":typeof t=="string"?t:e,truncate:n,children:t})]});function dw(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=dw(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function fw(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=dw(e))&&(r&&(r+=" "),r+=t);return r}function PF(e,t,n){let{keyboardDelegate:r,isDisabled:o}=e,a=ol({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>r||new Sl(t.collection,t.disabledKeys,null,a),[r,t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=md({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}=ud({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(y){t.setSelectedKey(y)}}),{labelProps:f,fieldProps:g,descriptionProps:m,errorMessageProps:h}=fl({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;let b=Sn(e,{labelable:!0}),v=ge(d,l,g),$=dt();return{labelProps:{...f,onClick:()=>{e.isDisabled||(n.current.focus(),jc("keyboard"))}},triggerProps:ge(b,{...v,isDisabled:o,onKeyDown:Jt(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":[g["aria-labelledby"],v["aria-label"]&&!g["aria-labelledby"]?v.id:null].filter(Boolean).join(" ")},descriptionProps:m,errorMessageProps:h}}function TF(e,t,n){let{autoComplete:r,name:o,isDisabled:a}=e,i=Xg(),{visuallyHiddenProps:l}=th();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 kF(e){let{state:t,triggerRef:n,label:r,name:o,isDisabled:a}=e,{containerProps:i,inputProps:l,selectProps:s}=TF(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 CF(e){let t=Ur(e),[n,r]=c.useState(null),o=F$({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),a.commitValidation()}}),a=_v({...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 pw=F.default.span`
2203
+ `,DF=({label:e,value:t,truncate:n=!1})=>ee(me,{role:"group",title:e,children:[w(Be,{htmlFor:`labeled-text-${e}`,color:p.color_gray_52,size:"medium",bold:!0,title:e,"aria-label":e,children:e}),w(SF,{id:`labeled-text-${e}`,title:typeof t=="string"?t:e,"aria-label":typeof t=="string"?t:e,truncate:n,children:t})]});function dw(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=dw(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function fw(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=dw(e))&&(r&&(r+=" "),r+=t);return r}function PF(e,t,n){let{keyboardDelegate:r,isDisabled:o}=e,a=ol({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>r||new Sl(t.collection,t.disabledKeys,null,a),[r,t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=md({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}=ud({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(y){t.setSelectedKey(y)}}),{labelProps:f,fieldProps:g,descriptionProps:m,errorMessageProps:h}=fl({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;let b=Sn(e,{labelable:!0}),v=ve(d,l,g),$=mt();return{labelProps:{...f,onClick:()=>{e.isDisabled||(n.current.focus(),jc("keyboard"))}},triggerProps:ve(b,{...v,isDisabled:o,onKeyDown:en(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":[g["aria-labelledby"],v["aria-label"]&&!g["aria-labelledby"]?v.id:null].filter(Boolean).join(" ")},descriptionProps:m,errorMessageProps:h}}function TF(e,t,n){let{autoComplete:r,name:o,isDisabled:a}=e,i=Xg(),{visuallyHiddenProps:l}=th();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 kF(e){let{state:t,triggerRef:n,label:r,name:o,isDisabled:a}=e,{containerProps:i,inputProps:l,selectProps:s}=TF(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 CF(e){let t=Wr(e),[n,r]=c.useState(null),o=F$({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),a.commitValidation()}}),a=_v({...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 pw=F.default.span`
2204
2204
  ${({lineHeight:e=p.font_size_200,fontSize:t=p.font_size_175})=>Cl({lineHeight:e,fontSize:t})}
2205
2205
  ${()=>wo()}
2206
2206
  `,Yd=F.default.span`
2207
2207
  ${({lineHeight:e=p.font_size_200,fontSize:t=p.font_size_175})=>kl({lineHeight:e,fontSize:t})}
2208
2208
  ${()=>wo()}
2209
- `,qd=F.default(xt).attrs({as:"button"})`
2209
+ `,qd=F.default(Et).attrs({as:"button"})`
2210
2210
  display: flex;
2211
2211
  align-items: center;
2212
2212
  justify-content: space-between;
@@ -2249,17 +2249,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2249
2249
  display: inline-flex;
2250
2250
  align-items: center;
2251
2251
  overflow: hidden;
2252
- `,IF=e=>w(Qr,{textValue:e.name,children:e.name},e.key),mw=e=>{const{boldLabel:t=!0,hideLabel:n,placeholder:r="Select...",showCaret:o=!0,isInvalid:a,children:i=IF,displayValue:l="rendered",isPopoverTargetWidth:s=!0}=e,u=CF({...e,children:i}),d=D.useRef(null),{labelProps:f,triggerProps:g,valueProps:m,menuProps:h,errorMessageProps:b}=PF(e,u,d),{buttonProps:v}=Zn(g,d);return ee(gt,{children:[e.label?ee(Ke,{...f,srOnly:n,mb:p.spacing_150,onClick:()=>u.open(),bold:t,children:[e.label,e.tooltipContent?w(Ze,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}):null,w(kF,{state:u,triggerRef:d,label:e.label,name:e.name}),ee(qd,{...v,ref:d,isOpen:u.isOpen,"data-state":a?"invalid":void 0,disabled:e.isDisabled??!1,children:[w(AF,{...m,children:u.selectedItem?l==="textValue"?w(pw,{children:u.selectedItem.textValue}):w(pw,{children:u.selectedItem.rendered}):w(Yd,{children:r})}),o?w(Il,{style:{width:"18px",height:"18px"},"aria-hidden":"true"}):null]}),e.errorMessage?w(ht,{...b,children:e.errorMessage}):null,u.isOpen?w(rr,{state:u,targetRef:d,isTargetWidth:s,children:w(W$,{...h,state:u})}):null]})};mw.displayName="SingleSelect";function OF(e,t,n){const{disallowEmptySelection:r,isDisabled:o}=e,a=ol({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>new Sl(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=md({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}=ud({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKeys([$])}}),{labelProps:f,fieldProps:g,errorMessageProps:m}=fl({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;const h=Sn(e,{labelable:!0}),b=ge(d,l,g),v=dt();return{labelProps:{...f,onClick:()=>{var $;e.isDisabled||(($=n.current)==null||$.focus(),jc("keyboard"))}},triggerProps:ge(h,{...b,onKeyDown:Jt(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":[g["aria-labelledby"],b["aria-label"]&&!g["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")},errorMessageProps:m}}function MF(e){const{collection:t,disabledKeys:n,selectionManager:r,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=M$(e),l=[],s=a.size!==0?Array.from(a).map(u=>{const d=t.getItem(u);return d||l.push(u),d}).filter(aD):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 FF(e){const[t,n]=c.useState(!1),r=L$(e),o=MF({...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 LF=F.default.span`
2252
+ `,IF=e=>w(eo,{textValue:e.name,children:e.name},e.key),mw=e=>{const{boldLabel:t=!0,hideLabel:n,placeholder:r="Select...",showCaret:o=!0,isInvalid:a,children:i=IF,displayValue:l="rendered",isPopoverTargetWidth:s=!0}=e,u=CF({...e,children:i}),d=D.useRef(null),{labelProps:f,triggerProps:g,valueProps:m,menuProps:h,errorMessageProps:b}=PF(e,u,d),{buttonProps:v}=Jn(g,d);return ee(vt,{children:[e.label?ee(Be,{...f,srOnly:n,mb:p.spacing_150,onClick:()=>u.open(),bold:t,children:[e.label,e.tooltipContent?w(Qe,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}):null,w(kF,{state:u,triggerRef:d,label:e.label,name:e.name}),ee(qd,{...v,ref:d,isOpen:u.isOpen,"data-state":a?"invalid":void 0,disabled:e.isDisabled??!1,children:[w(AF,{...m,children:u.selectedItem?l==="textValue"?w(pw,{children:u.selectedItem.textValue}):w(pw,{children:u.selectedItem.rendered}):w(Yd,{children:r})}),o?w(Il,{style:{width:"18px",height:"18px"},"aria-hidden":"true"}):null]}),e.errorMessage?w(yt,{...b,children:e.errorMessage}):null,u.isOpen?w(or,{state:u,targetRef:d,isTargetWidth:s,children:w(W$,{...h,state:u})}):null]})};mw.displayName="SingleSelect";function OF(e,t,n){const{disallowEmptySelection:r,isDisabled:o}=e,a=ol({usage:"search",sensitivity:"base"}),i=c.useMemo(()=>new Sl(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=md({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}=ud({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKeys([$])}}),{labelProps:f,fieldProps:g,errorMessageProps:m}=fl({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;const h=Sn(e,{labelable:!0}),b=ve(d,l,g),v=mt();return{labelProps:{...f,onClick:()=>{var $;e.isDisabled||(($=n.current)==null||$.focus(),jc("keyboard"))}},triggerProps:ve(h,{...b,onKeyDown:en(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":[g["aria-labelledby"],b["aria-label"]&&!g["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")},errorMessageProps:m}}function MF(e){const{collection:t,disabledKeys:n,selectionManager:r,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=M$(e),l=[],s=a.size!==0?Array.from(a).map(u=>{const d=t.getItem(u);return d||l.push(u),d}).filter(aD):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 FF(e){const[t,n]=c.useState(!1),r=L$(e),o=MF({...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 LF=F.default.span`
2253
2253
  width: ${p.sizing_500};
2254
2254
  height: ${p.sizing_600};
2255
2255
  display: flex;
2256
2256
  justify-content: center;
2257
2257
  align-items: center;
2258
2258
  color: ${p.color_deprecated_fill_secondary_enabled};
2259
- `,Xd=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:g,errorMessage:m,isInvalid:h=!1}=e,b=D.default.useRef(null),v=!i,$=FF({...e,disallowEmptySelection:v}),{labelProps:y,triggerProps:x,valueProps:S,menuProps:k,errorMessageProps:P}=OF({...e,disallowEmptySelection:v},$,b),{buttonProps:M}=Zn({...x,autoFocus:r,excludeFromTabOrder:a,isDisabled:l},b),_=$.selectionManager.isSelectAll,[C,N]=D.default.useState(!1),E=()=>$.selectionManager.toggleSelectAll(),V=()=>$.selectionManager.setFocusedKey(null),O=(T,U=!1,I)=>w(xt,{children:U&&I?w("span",{children:I}):w("span",{children:T.map(Z=>Z.textValue).join(", ")})});return ee(gt,{className:fw("select-wrapper",{"select-wrapper--opens":$.isOpen},o),children:[t?ee(Ke,{...y,mb:p.spacing_150,onClick:()=>$.open(),bold:n,children:[t,f?w(Ze,{icon:g,children:f}):null]}):null,w(dC,{focusRingClass:"select--focused",autoFocus:r,children:ee(qd,{...M,ref:b,isOpen:$.isOpen,"data-state":h?"invalid":void 0,disabled:l??!1,children:[w("span",{...S,children:$.selectedItems?O($.selectedItems,_,u):w(Yd,{children:d})}),w(LF,{children:w(Il,{style:{width:"18px",height:"18px"},"aria-hidden":"true"})})]})}),m?w(ht,{...P,children:m}):null,$.isOpen?ee(rr,{state:$,targetRef:b,isTargetWidth:!0,children:[s?ee(Qe,{children:[ee(Al,{onMouseOver:()=>{N(!0),V()},onMouseOut:()=>N(!1),isFocused:C,tabIndex:C?0:-1,onClick:E,"aria-label":"Select All",children:[w(cd,{isDisabled:l??!1,isSelected:_,"aria-label":"Select All",onChange:E}),ee(yd,{children:[w(rt,{as:"span",children:u??"All"}),w($d,{children:_?w(we.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})]}),w(G$,{})]}):null,w(hA,{...k,state:$,isSelectableAll:!0})]}):null]})};Xd.displayName="MultiSelectComponent";const gw=({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(Xd,{...t,items:e,children:n||r})};gw.displayName="MultiSelect";const Zd="nav-menu-portal";var hw=(e=>(e.Up="Up",e.Down="Down",e))(hw||{});const Jd=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.")}}),NF=F.default.div`
2259
+ `,Xd=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:g,errorMessage:m,isInvalid:h=!1}=e,b=D.default.useRef(null),v=!i,$=FF({...e,disallowEmptySelection:v}),{labelProps:y,triggerProps:x,valueProps:S,menuProps:k,errorMessageProps:P}=OF({...e,disallowEmptySelection:v},$,b),{buttonProps:M}=Jn({...x,autoFocus:r,excludeFromTabOrder:a,isDisabled:l},b),_=$.selectionManager.isSelectAll,[C,N]=D.default.useState(!1),E=()=>$.selectionManager.toggleSelectAll(),V=()=>$.selectionManager.setFocusedKey(null),O=(T,U=!1,I)=>w(Et,{children:U&&I?w("span",{children:I}):w("span",{children:T.map(X=>X.textValue).join(", ")})});return ee(vt,{className:fw("select-wrapper",{"select-wrapper--opens":$.isOpen},o),children:[t?ee(Be,{...y,mb:p.spacing_150,onClick:()=>$.open(),bold:n,children:[t,f?w(Qe,{icon:g,children:f}):null]}):null,w(dC,{focusRingClass:"select--focused",autoFocus:r,children:ee(qd,{...M,ref:b,isOpen:$.isOpen,"data-state":h?"invalid":void 0,disabled:l??!1,children:[w("span",{...S,children:$.selectedItems?O($.selectedItems,_,u):w(Yd,{children:d})}),w(LF,{children:w(Il,{style:{width:"18px",height:"18px"},"aria-hidden":"true"})})]})}),m?w(yt,{...P,children:m}):null,$.isOpen?ee(or,{state:$,targetRef:b,isTargetWidth:!0,children:[s?ee(tt,{children:[ee(Al,{onMouseOver:()=>{N(!0),V()},onMouseOut:()=>N(!1),isFocused:C,tabIndex:C?0:-1,onClick:E,"aria-label":"Select All",children:[w(cd,{isDisabled:l??!1,isSelected:_,"aria-label":"Select All",onChange:E}),ee(yd,{children:[w(at,{as:"span",children:u??"All"}),w($d,{children:_?w(Se.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})]}),w(G$,{})]}):null,w(hA,{...k,state:$,isSelectableAll:!0})]}):null]})};Xd.displayName="MultiSelectComponent";const gw=({items:e,...t})=>{const{children:n}=t,r=o=>o.textValue?w(eo,{textValue:o.textValue,children:o.textValue},o.id):w(eo,{children:o.name},o.id);if(!e)throw new Error("MultiSelect requires items");return w(Xd,{...t,items:e,children:n||r})};gw.displayName="MultiSelect";const Zd="nav-menu-portal";var hw=(e=>(e.Up="Up",e.Down="Down",e))(hw||{});const Jd=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.")}}),NF=F.default.div`
2260
2260
  position: relative;
2261
2261
  width: inherit;
2262
- `,oo=c.forwardRef((e,t)=>{const[n,r]=c.useState(!1),[o,a]=c.useState(null),i=Dn(t);return c.useEffect(()=>{const l=document.getElementById(Zd);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(Jd.Provider,{value:{menuRef:i,triggerRef:o,setTriggerRef:a,open:n,setOpen:r,direction:e.direction??"Down"},children:w(NF,{ref:i,role:"menu",children:e.children})})});oo.displayName="NavigationMenu";const zF=F.default.button`
2262
+ `,ao=c.forwardRef((e,t)=>{const[n,r]=c.useState(!1),[o,a]=c.useState(null),i=Dn(t);return c.useEffect(()=>{const l=document.getElementById(Zd);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(Jd.Provider,{value:{menuRef:i,triggerRef:o,setTriggerRef:a,open:n,setOpen:r,direction:e.direction??"Down"},children:w(NF,{ref:i,role:"menu",children:e.children})})});ao.displayName="NavigationMenu";const zF=F.default.button`
2263
2263
  cursor: pointer;
2264
2264
  padding: ${e=>e.padding??"8px"};
2265
2265
  border: 1px solid transparent;
@@ -2274,7 +2274,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2274
2274
  &:focus {
2275
2275
  border: ${e=>e.open?"":"1px solid rgba(0, 0, 0, 0.16);"};
2276
2276
  }
2277
- `,bw=({children:e,width:t="100%",padding:n="8px"})=>{const{open:r,setOpen:o,setTriggerRef:a}=c.useContext(Jd),i=c.useRef(null);return c.useEffect(()=>{a&&a(i)},[a]),w(zF,{ref:i,open:r,onClick:()=>o(!r),tabIndex:0,width:t,padding:n,"aria-haspopup":"true","aria-expanded":r,children:e})};oo.Trigger=bw;const RF=F.default.div`
2277
+ `,bw=({children:e,width:t="100%",padding:n="8px"})=>{const{open:r,setOpen:o,setTriggerRef:a}=c.useContext(Jd),i=c.useRef(null);return c.useEffect(()=>{a&&a(i)},[a]),w(zF,{ref:i,open:r,onClick:()=>o(!r),tabIndex:0,width:t,padding:n,"aria-haspopup":"true","aria-expanded":r,children:e})};ao.Trigger=bw;const RF=F.default.div`
2278
2278
  visibility: ${e=>e.open?"visible":"hidden"};
2279
2279
  position: absolute;
2280
2280
  width: ${e=>e.width??"auto"};
@@ -2290,7 +2290,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2290
2290
  0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03),
2291
2291
  0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03),
2292
2292
  0px 0px 8px rgba(0, 0, 0, 0.03);
2293
- `,vw=({children:e,width:t="100%"})=>{const[n,r]=c.useState(null),{direction:o,open:a,menuRef:i,triggerRef:l,setOpen:s}=c.useContext(Jd),[u,d]=c.useState(0),[f,g]=c.useState(0),m=document.getElementById(Zd),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)),g(v.x)}if(o==="Down"&&i!=null&&i.current){const v=i.current.getBoundingClientRect();d(Math.ceil(v.y+v.height)),g(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 k,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,(k=y[S])==null||k.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]),ho.createPortal(w(RF,{width:t,top:u,left:f,ref:h,open:a,role:"menu",children:e}),m)};oo.List=vw;const KF=F.default.div`
2293
+ `,vw=({children:e,width:t="100%"})=>{const[n,r]=c.useState(null),{direction:o,open:a,menuRef:i,triggerRef:l,setOpen:s}=c.useContext(Jd),[u,d]=c.useState(0),[f,g]=c.useState(0),m=document.getElementById(Zd),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)),g(v.x)}if(o==="Down"&&i!=null&&i.current){const v=i.current.getBoundingClientRect();d(Math.ceil(v.y+v.height)),g(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 k,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,(k=y[S])==null||k.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]),ho.createPortal(w(RF,{width:t,top:u,left:f,ref:h,open:a,role:"menu",children:e}),m)};ao.List=vw;const KF=F.default.div`
2294
2294
  color: hsl(210deg 2.82% 27.84%);
2295
2295
  border-radius: ${p.border_radius_400};
2296
2296
  margin: 4px;
@@ -2318,10 +2318,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2318
2318
  &:focus-within {
2319
2319
  background-color: hsl(0deg 0% 96.08%);
2320
2320
  }
2321
- `;function Qd({as:e,...t}){return w(KF,{children:w(e??"div",{...t,role:"menuitem",tabIndex:-1})})}oo.Item=Qd;const ef=F.default.div`
2321
+ `;function Qd({as:e,...t}){return w(KF,{children:w(e??"div",{...t,role:"menuitem",tabIndex:-1})})}ao.Item=Qd;const ef=F.default.div`
2322
2322
  margin: 0 4px;
2323
2323
  border-top: 1px solid hsl(0deg 0% 0% / 12%);
2324
- `;oo.Separator=ef;const VF=Object.assign(oo,{Trigger:bw,List:vw,Item:Qd,Separator:ef}),BF=()=>w("div",{id:Zd}),jF=F.default(me)`
2324
+ `;ao.Separator=ef;const VF=Object.assign(ao,{Trigger:bw,List:vw,Item:Qd,Separator:ef}),BF=()=>w("div",{id:Zd}),jF=F.default(me)`
2325
2325
  display: grid;
2326
2326
  grid-template-columns: repeat(12, minmax(var(--min-col-width, 0), 150px));
2327
2327
  column-gap: ${p.sizing_600};
@@ -2374,11 +2374,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2374
2374
  `,QF=ue.css`
2375
2375
  border: 1px solid ${p.color_gray_opacity_16};
2376
2376
  background-color: ${p.color_gray_opacity_4};
2377
- `,eL=e=>{switch(e){case"primary":return JF;case"secondary":return QF}},xw=F.default(je)`
2377
+ `,eL=e=>{switch(e){case"primary":return JF;case"secondary":return QF}},xw=F.default(We)`
2378
2378
  border-radius: ${p.border_radius_800};
2379
2379
  ${({size:e})=>ZF(e)}
2380
2380
  ${({variant:e})=>eL(e)}
2381
- `,tL=D.default.forwardRef(function(t,n){const{"data-id":r,size:o="medium",variant:a="primary",children:i,...l}=t;return w(xw,{ref:n,"data-id":r,size:o,variant:a,...l,children:i})});function ww(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 Ew="Radio",[nL,Sw]=Ve(Ew),[rL,oL]=nL(Ew),aL=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),g=xe(t,b=>f(b)),m=c.useRef(!1),h=d?!!d.closest("form"):!0;return c.createElement(rL,{scope:n,checked:o,disabled:i},c.createElement(de.button,L({type:"button",role:"radio","aria-checked":o,"data-state":Dw(o),"data-disabled":i?"":void 0,disabled:i,value:l},u,{ref:g,onClick:ae(e.onClick,b=>{o||s==null||s(),h&&(m.current=b.isPropagationStopped(),m.current||b.stopPropagation())})})),h&&c.createElement(sL,{control:d,bubbles:!m.current,name:r,value:l,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),iL="RadioIndicator",lL=c.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,a=oL(iL,n);return c.createElement(He,{present:r||a.checked},c.createElement(de.span,L({"data-state":Dw(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),sL=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,a=c.useRef(null),i=ww(n),l=td(t);return c.useEffect(()=>{const s=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==n&&f){const g=new Event("click",{bubbles:r});f.call(s,n),s.dispatchEvent(g)}},[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 Dw(e){return e?"checked":"unchecked"}const cL=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Pw="RadioGroup",[uL,tB]=Ve(Pw,[kn,Sw]),Tw=kn(),kw=Sw(),[dL,fL]=uL(Pw),pL=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,...g}=e,m=Tw(n),h=pr(u),[b,v]=We({prop:a,defaultProp:o,onChange:f});return c.createElement(dL,{scope:n,name:r,required:i,disabled:l,value:b,onValueChange:v},c.createElement(Fi,L({asChild:!0},m,{orientation:s,dir:h,loop:d}),c.createElement(de.div,L({role:"radiogroup","aria-required":i,"aria-orientation":s,"data-disabled":l?"":void 0,dir:h},g,{ref:t}))))}),mL="RadioGroupItem",gL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,a=fL(mL,n),i=a.disabled||r,l=Tw(n),s=kw(n),u=c.useRef(null),d=xe(t,u),f=a.value===o.value,g=c.useRef(!1);return c.useEffect(()=>{const m=b=>{cL.includes(b.key)&&(g.current=!0)},h=()=>g.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",h)}},[]),c.createElement(Li,L({asChild:!0},l,{focusable:!i,active:f}),c.createElement(aL,L({disabled:i,required:a.required,checked:f},s,o,{name:a.name,ref:d,onCheck:()=>a.onValueChange(o.value),onKeyDown:ae(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:ae(o.onFocus,()=>{var m;g.current&&((m=u.current)===null||m===void 0||m.click())})})))}),hL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=kw(n);return c.createElement(lL,L({},o,r,{ref:t}))}),bL=pL,vL=gL,yL=hL,Cw=F.default(vL)`
2381
+ `,tL=D.default.forwardRef(function(t,n){const{"data-id":r,size:o="medium",variant:a="primary",children:i,...l}=t;return w(xw,{ref:n,"data-id":r,size:o,variant:a,...l,children:i})});function ww(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 Ew="Radio",[nL,Sw]=je(Ew),[rL,oL]=nL(Ew),aL=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),g=Ee(t,b=>f(b)),m=c.useRef(!1),h=d?!!d.closest("form"):!0;return c.createElement(rL,{scope:n,checked:o,disabled:i},c.createElement(de.button,L({type:"button",role:"radio","aria-checked":o,"data-state":Dw(o),"data-disabled":i?"":void 0,disabled:i,value:l},u,{ref:g,onClick:oe(e.onClick,b=>{o||s==null||s(),h&&(m.current=b.isPropagationStopped(),m.current||b.stopPropagation())})})),h&&c.createElement(sL,{control:d,bubbles:!m.current,name:r,value:l,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),iL="RadioIndicator",lL=c.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,a=oL(iL,n);return c.createElement(Ye,{present:r||a.checked},c.createElement(de.span,L({"data-state":Dw(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),sL=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,a=c.useRef(null),i=ww(n),l=td(t);return c.useEffect(()=>{const s=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==n&&f){const g=new Event("click",{bubbles:r});f.call(s,n),s.dispatchEvent(g)}},[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 Dw(e){return e?"checked":"unchecked"}const cL=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Pw="RadioGroup",[uL,tB]=je(Pw,[kn,Sw]),Tw=kn(),kw=Sw(),[dL,fL]=uL(Pw),pL=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,...g}=e,m=Tw(n),h=mr(u),[b,v]=Ge({prop:a,defaultProp:o,onChange:f});return c.createElement(dL,{scope:n,name:r,required:i,disabled:l,value:b,onValueChange:v},c.createElement(Fi,L({asChild:!0},m,{orientation:s,dir:h,loop:d}),c.createElement(de.div,L({role:"radiogroup","aria-required":i,"aria-orientation":s,"data-disabled":l?"":void 0,dir:h},g,{ref:t}))))}),mL="RadioGroupItem",gL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,a=fL(mL,n),i=a.disabled||r,l=Tw(n),s=kw(n),u=c.useRef(null),d=Ee(t,u),f=a.value===o.value,g=c.useRef(!1);return c.useEffect(()=>{const m=b=>{cL.includes(b.key)&&(g.current=!0)},h=()=>g.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",h)}},[]),c.createElement(Li,L({asChild:!0},l,{focusable:!i,active:f}),c.createElement(aL,L({disabled:i,required:a.required,checked:f},s,o,{name:a.name,ref:d,onCheck:()=>a.onValueChange(o.value),onKeyDown:oe(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:oe(o.onFocus,()=>{var m;g.current&&((m=u.current)===null||m===void 0||m.click())})})))}),hL=c.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=kw(n);return c.createElement(lL,L({},o,r,{ref:t}))}),bL=pL,vL=gL,yL=hL,Cw=F.default(vL)`
2382
2382
  all: unset;
2383
2383
  --radio-width: ${p.sizing_600};
2384
2384
  --inner-circle-color: ${p.color_white};
@@ -2470,9 +2470,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2470
2470
  border-radius: ${p.border_radius_circle};
2471
2471
  background-color: var(--inner-circle-color);
2472
2472
  }
2473
- `;function $L({children:e,disabled:t,loop:n,onValueChange:r,...o}){const a=Bt(),i=t??a,l=Bl();return w(bL,{loop:n,onValueChange:r,...o,disabled:i,...l,children:e})}function _L({disabled:e,...t}){const n=Bt(),r=e??n,o=Bl();return w(Cw,{...t,...o,disabled:r,children:w(Aw,{})})}var tf={},Iw={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})(Iw);var Ow=Iw.exports,Mw={exports:{}},Fw={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})(Fw);var xL=Fw.exports;(function(e){var t=xL.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})(Mw);var Lw=Mw.exports,nf={};function Nw(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function rf(e){return e&&xn(e)==="object"&&e.constructor===Object}function ao(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},r=n.clone?L({},e):e;return rf(e)&&rf(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(rf(t[o])&&o in e?r[o]=ao(e[o],t[o],n):r[o]=t[o])}),r}var wL="exact-prop: ​";function EL(e){return process.env.NODE_ENV==="production"?e:L({},e,vr({},wL,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 Hl(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 SL=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function DL(e){var t="".concat(e).match(SL),n=t&&t[1];return n||""}function zw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||DL(e)||t}function Rw(e,t,n){var r=zw(t);return e.displayName||(r!==""?"".concat(n,"(").concat(r,")"):n)}function Ea(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return zw(e,"Component");if(xn(e)==="object")switch(e.$$typeof){case is.ForwardRef:return Rw(e,e.render,"ForwardRef");case is.Memo:return Rw(e,e.type,"memo");default:return}}}function of(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":Hl(7));return e.charAt(0).toUpperCase()+e.slice(1)}function PL(){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 Ut(e,t){if(e==null)return{};var n=ei(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 TL=typeof Symbol=="function"&&Symbol.for;const kL=TL?Symbol.for("mui.nested"):"__THEME_NESTED__";var CL=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function AL(){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 g=f.options.name;if(g&&g.indexOf("Mui")===0&&!f.options.link&&!n){if(CL.indexOf(d.key)!==-1)return"Mui-".concat(d.key);var m="".concat(l).concat(g,"-").concat(d.key);return!f.options.theme[kL]||i!==""?m:"".concat(m,"-").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 IL(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 OL=process.env.NODE_ENV==="production";function bt(e,t){if(!OL){if(e)return;var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var Kw=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},Sa=(typeof window>"u"?"undefined":Kw(window))==="object"&&(typeof document>"u"?"undefined":Kw(document))==="object"&&document.nodeType===9;function Vw(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,Fm(r.key),r)}}function Bw(e,t,n){return t&&Vw(e.prototype,t),n&&Vw(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var ML={}.constructor;function af(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(af);if(e.constructor!==ML)return e;var t={};for(var n in e)t[n]=af(e[n]);return t}function lf(e,t,n){e===void 0&&(e="unnamed");var r=n.jss,o=af(t),a=r.plugins.onCreateRule(e,o,n);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&bt(!1,"[JSS] Unknown rule "+e),null)}var jw=function(t,n){for(var r="",o=0;o<t.length&&t[o]!=="!important";o++)r&&(r+=n),r+=t[o];return r},dr=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+=jw(t[r]," ");else n=jw(t,", ");return t[t.length-1]==="!important"&&(n+=" !important"),n};function io(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
2474
- `,space:" "}}function Da(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Pa(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=io(n),u=s.linebreak,d=s.space;if(e&&i++,l)if(Array.isArray(l))for(var f=0;f<l.length;f++){var g=l[f];for(var m in g){var h=g[m];h!=null&&(r&&(r+=u),r+=Da(m+":"+d+dr(h)+";",i))}}else for(var b in l){var v=l[b];v!=null&&(r&&(r+=u),r+=Da(b+":"+d+dr(v)+";",i))}for(var $ in t){var y=t[$];y!=null&&$!=="fallbacks"&&(r&&(r+=u),r+=Da($+":"+d+dr(y)+";",i))}return!r&&!n.allowEmpty||!e?r:(i--,r&&(r=""+u+r+u),Da(""+e+d+"{"+r,i)+Da("}",i))}var FL=/([[\].#*$><+~=|^:(),"'`\s])/g,Uw=typeof CSS<"u"&&CSS.escape,sf=function(e){return Uw?Uw(e):e.replace(FL,"\\$1")},Ww=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"&&bt(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),cf=function(e){ti(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(_g(_g(i)),u),i.selectorText="."+sf(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]=dr(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 Pa(this.selectorText,this.style,l)},Bw(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}(Ww),LL={onCreateRule:function(t,n,r){return t[0]==="@"||r.parent&&r.parent.type==="keyframes"?null:new cf(t,n,r)}},uf={indent:1,children:!0},NL=/@([\w-]+)/,zL=function(){function e(n,r,o){this.type="conditional",this.isProcessed=!1,this.key=n;var a=n.match(NL);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new Gl(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=uf);var o=io(r),a=o.linebreak;if(r.indent==null&&(r.indent=uf.indent),r.children==null&&(r.children=uf.children),r.children===!1)return this.query+" {}";var i=this.rules.toString(r);return i?this.query+" {"+a+i+a+"}":""},e}(),RL=/@container|@media|@supports\s+/,KL={onCreateRule:function(t,n,r){return RL.test(t)?new zL(t,n,r):null}},df={indent:1,children:!0},VL=/@keyframes\s+([\w-]+)/,ff=function(){function e(n,r,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=n.match(VL);a&&a[1]?this.name=a[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&bt(!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:sf(s(this,l)),this.rules=new Gl(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=df);var o=io(r),a=o.linebreak;if(r.indent==null&&(r.indent=df.indent),r.children==null&&(r.children=df.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}(),BL=/@keyframes\s+/,jL=/\$([\w-]+)/g,pf=function(t,n){return typeof t=="string"?t.replace(jL,function(r,o){return o in n?n[o]:(process.env.NODE_ENV!=="production"&&bt(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),r)}):t},Hw=function(t,n,r){var o=t[n],a=pf(o,r);a!==o&&(t[n]=a)},UL={onCreateRule:function(t,n,r){return typeof t=="string"&&BL.test(t)?new ff(t,n,r):null},onProcessStyle:function(t,n,r){return n.type!=="style"||!r||("animation-name"in t&&Hw(t,"animation-name",r.keyframes),"animation"in t&&Hw(t,"animation",r.keyframes)),t},onChangeValue:function(t,n,r){var o=r.options.sheet;if(!o)return t;switch(n){case"animation":return pf(t,o.keyframes);case"animation-name":return pf(t,o.keyframes);default:return t}}},WL=function(e){ti(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 Pa(this.key,this.style,l)},t}(Ww),HL={onCreateRule:function(t,n,r){return r.parent&&r.parent.type==="keyframes"?new WL(t,n,r):null}},GL=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=io(r),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",l=0;l<this.style.length;l++)i+=Pa(this.at,this.style[l]),this.style[l+1]&&(i+=a);return i}return Pa(this.at,this.style,r)},e}(),YL=/@font-face/,qL={onCreateRule:function(t,n,r){return YL.test(t)?new GL(t,n,r):null}},XL=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 Pa(this.key,this.style,r)},e}(),ZL={onCreateRule:function(t,n,r){return t==="@viewport"||t==="@-ms-viewport"?new XL(t,n,r):null}},JL=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+=`
2475
- `);return o}return this.key+" "+this.value+";"},e}(),QL={"@charset":!0,"@import":!0,"@namespace":!0},eN={onCreateRule:function(t,n,r){return t in QL?new JL(t,n,r):null}},Gw=[LL,KL,UL,HL,qL,ZL,eN],tN={process:!0},Yw={force:!0,process:!0},Gl=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,g=i.scoped,m=L({classes:this.classes,parent:l,sheet:s,jss:u,Renderer:d,generateId:f,scoped:g,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&&(m.selector="."+sf(this.classes[h]));var b=lf(h,o,m);if(!b)return null;this.register(b);var v=m.index===void 0?this.index.length:m.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 cf?(this.map[r.selector]=r,r.id&&(this.classes[r.key]=r.id)):r instanceof ff&&this.keyframes&&(this.keyframes[r.name]=r.id)},t.unregister=function(r){delete this.map[r.key],r instanceof cf?(delete this.map[r.selector],delete this.classes[r.key]):r instanceof ff&&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=tN);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],g=u[d];f!==g&&r.prop(d,f,Yw)}for(var m in u){var h=r.style[m],b=u[m];h==null&&h!==b&&r.prop(m,null,Yw)}}},t.toString=function(r){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,l=io(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}(),qw=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 Gl(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}(),nN=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"&&bt(!1,'[JSS] Unknown hook "'+s+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),rN=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=ei(o,["attached"]),l=io(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},Bw(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),Ta=new rN,mf=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),gf="2f1acc6c3a606b082e5eef5e54414ffb";mf[gf]==null&&(mf[gf]=0);var Xw=mf[gf]++,oN=1e10,Zw=function(t){t===void 0&&(t={});var n=0,r=function(a,i){n+=1,n>oN&&process.env.NODE_ENV!=="production"&&bt(!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")+Xw+l+n:s+a.key+"-"+Xw+(l?"-"+l:"")+"-"+n};return r},Jw=function(t){var n;return function(){return n||(n=t()),n}},aN=function(t,n){try{return t.attributeStyleMap?t.attributeStyleMap.get(n):t.style.getPropertyValue(n)}catch{return""}},iN=function(t,n,r){try{var o=r;if(Array.isArray(r)&&(o=dr(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},lN=function(t,n){try{t.attributeStyleMap?t.attributeStyleMap.delete(n):t.style.removeProperty(n)}catch(r){process.env.NODE_ENV!=="production"&&bt(!1,'[JSS] DOMException "'+r.message+'" was thrown. Tried to remove property "'+n+'".')}},sN=function(t,n){return t.selectorText=n,t.selectorText===n},Qw=Jw(function(){return document.querySelector("head")});function cN(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 uN(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 dN(e){for(var t=Qw(),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 fN(e){var t=Ta.registry;if(t.length>0){var n=cN(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=uN(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=dN(r);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&bt(!1,'[JSS] Insertion point "'+r+'" not found.')}return!1}function pN(e,t){var n=t.insertionPoint,r=fN(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"&&bt(!1,"[JSS] Insertion point is not in the DOM.");return}Qw().appendChild(e)}var mN=Jw(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),eE=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"&&bt(!1,"[JSS] "+o.message),!1}return t.cssRules[r]},tE=function(t,n){var r=t.cssRules.length;return n===void 0||n>r?r:n},gN=function(){var t=document.createElement("style");return t.textContent=`
2473
+ `;function $L({children:e,disabled:t,loop:n,onValueChange:r,...o}){const a=Wt(),i=t??a,l=Bl();return w(bL,{loop:n,onValueChange:r,...o,disabled:i,...l,children:e})}function _L({disabled:e,...t}){const n=Wt(),r=e??n,o=Bl();return w(Cw,{...t,...o,disabled:r,children:w(Aw,{})})}var tf={},Iw={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})(Iw);var Ow=Iw.exports,Mw={exports:{}},Fw={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})(Fw);var xL=Fw.exports;(function(e){var t=xL.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})(Mw);var Lw=Mw.exports,nf={};function Nw(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function rf(e){return e&&xn(e)==="object"&&e.constructor===Object}function io(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},r=n.clone?L({},e):e;return rf(e)&&rf(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(rf(t[o])&&o in e?r[o]=io(e[o],t[o],n):r[o]=t[o])}),r}var wL="exact-prop: ​";function EL(e){return process.env.NODE_ENV==="production"?e:L({},e,yr({},wL,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 Hl(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 SL=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function DL(e){var t="".concat(e).match(SL),n=t&&t[1];return n||""}function zw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||DL(e)||t}function Rw(e,t,n){var r=zw(t);return e.displayName||(r!==""?"".concat(n,"(").concat(r,")"):n)}function Ea(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return zw(e,"Component");if(xn(e)==="object")switch(e.$$typeof){case is.ForwardRef:return Rw(e,e.render,"ForwardRef");case is.Memo:return Rw(e,e.type,"memo");default:return}}}function of(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":Hl(7));return e.charAt(0).toUpperCase()+e.slice(1)}function PL(){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 Gt(e,t){if(e==null)return{};var n=ei(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 TL=typeof Symbol=="function"&&Symbol.for;const kL=TL?Symbol.for("mui.nested"):"__THEME_NESTED__";var CL=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function AL(){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 g=f.options.name;if(g&&g.indexOf("Mui")===0&&!f.options.link&&!n){if(CL.indexOf(d.key)!==-1)return"Mui-".concat(d.key);var m="".concat(l).concat(g,"-").concat(d.key);return!f.options.theme[kL]||i!==""?m:"".concat(m,"-").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 IL(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 OL=process.env.NODE_ENV==="production";function $t(e,t){if(!OL){if(e)return;var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var Kw=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},Sa=(typeof window>"u"?"undefined":Kw(window))==="object"&&(typeof document>"u"?"undefined":Kw(document))==="object"&&document.nodeType===9;function Vw(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,Fm(r.key),r)}}function Bw(e,t,n){return t&&Vw(e.prototype,t),n&&Vw(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var ML={}.constructor;function af(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(af);if(e.constructor!==ML)return e;var t={};for(var n in e)t[n]=af(e[n]);return t}function lf(e,t,n){e===void 0&&(e="unnamed");var r=n.jss,o=af(t),a=r.plugins.onCreateRule(e,o,n);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&$t(!1,"[JSS] Unknown rule "+e),null)}var jw=function(t,n){for(var r="",o=0;o<t.length&&t[o]!=="!important";o++)r&&(r+=n),r+=t[o];return r},fr=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+=jw(t[r]," ");else n=jw(t,", ");return t[t.length-1]==="!important"&&(n+=" !important"),n};function lo(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
2474
+ `,space:" "}}function Da(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Pa(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=lo(n),u=s.linebreak,d=s.space;if(e&&i++,l)if(Array.isArray(l))for(var f=0;f<l.length;f++){var g=l[f];for(var m in g){var h=g[m];h!=null&&(r&&(r+=u),r+=Da(m+":"+d+fr(h)+";",i))}}else for(var b in l){var v=l[b];v!=null&&(r&&(r+=u),r+=Da(b+":"+d+fr(v)+";",i))}for(var $ in t){var y=t[$];y!=null&&$!=="fallbacks"&&(r&&(r+=u),r+=Da($+":"+d+fr(y)+";",i))}return!r&&!n.allowEmpty||!e?r:(i--,r&&(r=""+u+r+u),Da(""+e+d+"{"+r,i)+Da("}",i))}var FL=/([[\].#*$><+~=|^:(),"'`\s])/g,Uw=typeof CSS<"u"&&CSS.escape,sf=function(e){return Uw?Uw(e):e.replace(FL,"\\$1")},Ww=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"&&$t(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),cf=function(e){ti(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(_g(_g(i)),u),i.selectorText="."+sf(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]=fr(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 Pa(this.selectorText,this.style,l)},Bw(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}(Ww),LL={onCreateRule:function(t,n,r){return t[0]==="@"||r.parent&&r.parent.type==="keyframes"?null:new cf(t,n,r)}},uf={indent:1,children:!0},NL=/@([\w-]+)/,zL=function(){function e(n,r,o){this.type="conditional",this.isProcessed=!1,this.key=n;var a=n.match(NL);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new Gl(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=uf);var o=lo(r),a=o.linebreak;if(r.indent==null&&(r.indent=uf.indent),r.children==null&&(r.children=uf.children),r.children===!1)return this.query+" {}";var i=this.rules.toString(r);return i?this.query+" {"+a+i+a+"}":""},e}(),RL=/@container|@media|@supports\s+/,KL={onCreateRule:function(t,n,r){return RL.test(t)?new zL(t,n,r):null}},df={indent:1,children:!0},VL=/@keyframes\s+([\w-]+)/,ff=function(){function e(n,r,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=n.match(VL);a&&a[1]?this.name=a[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&$t(!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:sf(s(this,l)),this.rules=new Gl(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=df);var o=lo(r),a=o.linebreak;if(r.indent==null&&(r.indent=df.indent),r.children==null&&(r.children=df.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}(),BL=/@keyframes\s+/,jL=/\$([\w-]+)/g,pf=function(t,n){return typeof t=="string"?t.replace(jL,function(r,o){return o in n?n[o]:(process.env.NODE_ENV!=="production"&&$t(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),r)}):t},Hw=function(t,n,r){var o=t[n],a=pf(o,r);a!==o&&(t[n]=a)},UL={onCreateRule:function(t,n,r){return typeof t=="string"&&BL.test(t)?new ff(t,n,r):null},onProcessStyle:function(t,n,r){return n.type!=="style"||!r||("animation-name"in t&&Hw(t,"animation-name",r.keyframes),"animation"in t&&Hw(t,"animation",r.keyframes)),t},onChangeValue:function(t,n,r){var o=r.options.sheet;if(!o)return t;switch(n){case"animation":return pf(t,o.keyframes);case"animation-name":return pf(t,o.keyframes);default:return t}}},WL=function(e){ti(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 Pa(this.key,this.style,l)},t}(Ww),HL={onCreateRule:function(t,n,r){return r.parent&&r.parent.type==="keyframes"?new WL(t,n,r):null}},GL=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=lo(r),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",l=0;l<this.style.length;l++)i+=Pa(this.at,this.style[l]),this.style[l+1]&&(i+=a);return i}return Pa(this.at,this.style,r)},e}(),YL=/@font-face/,qL={onCreateRule:function(t,n,r){return YL.test(t)?new GL(t,n,r):null}},XL=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 Pa(this.key,this.style,r)},e}(),ZL={onCreateRule:function(t,n,r){return t==="@viewport"||t==="@-ms-viewport"?new XL(t,n,r):null}},JL=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+=`
2475
+ `);return o}return this.key+" "+this.value+";"},e}(),QL={"@charset":!0,"@import":!0,"@namespace":!0},eN={onCreateRule:function(t,n,r){return t in QL?new JL(t,n,r):null}},Gw=[LL,KL,UL,HL,qL,ZL,eN],tN={process:!0},Yw={force:!0,process:!0},Gl=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,g=i.scoped,m=L({classes:this.classes,parent:l,sheet:s,jss:u,Renderer:d,generateId:f,scoped:g,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&&(m.selector="."+sf(this.classes[h]));var b=lf(h,o,m);if(!b)return null;this.register(b);var v=m.index===void 0?this.index.length:m.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 cf?(this.map[r.selector]=r,r.id&&(this.classes[r.key]=r.id)):r instanceof ff&&this.keyframes&&(this.keyframes[r.name]=r.id)},t.unregister=function(r){delete this.map[r.key],r instanceof cf?(delete this.map[r.selector],delete this.classes[r.key]):r instanceof ff&&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=tN);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],g=u[d];f!==g&&r.prop(d,f,Yw)}for(var m in u){var h=r.style[m],b=u[m];h==null&&h!==b&&r.prop(m,null,Yw)}}},t.toString=function(r){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,l=lo(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}(),qw=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 Gl(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}(),nN=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"&&$t(!1,'[JSS] Unknown hook "'+s+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),rN=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=ei(o,["attached"]),l=lo(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},Bw(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),Ta=new rN,mf=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),gf="2f1acc6c3a606b082e5eef5e54414ffb";mf[gf]==null&&(mf[gf]=0);var Xw=mf[gf]++,oN=1e10,Zw=function(t){t===void 0&&(t={});var n=0,r=function(a,i){n+=1,n>oN&&process.env.NODE_ENV!=="production"&&$t(!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")+Xw+l+n:s+a.key+"-"+Xw+(l?"-"+l:"")+"-"+n};return r},Jw=function(t){var n;return function(){return n||(n=t()),n}},aN=function(t,n){try{return t.attributeStyleMap?t.attributeStyleMap.get(n):t.style.getPropertyValue(n)}catch{return""}},iN=function(t,n,r){try{var o=r;if(Array.isArray(r)&&(o=fr(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},lN=function(t,n){try{t.attributeStyleMap?t.attributeStyleMap.delete(n):t.style.removeProperty(n)}catch(r){process.env.NODE_ENV!=="production"&&$t(!1,'[JSS] DOMException "'+r.message+'" was thrown. Tried to remove property "'+n+'".')}},sN=function(t,n){return t.selectorText=n,t.selectorText===n},Qw=Jw(function(){return document.querySelector("head")});function cN(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 uN(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 dN(e){for(var t=Qw(),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 fN(e){var t=Ta.registry;if(t.length>0){var n=cN(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=uN(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=dN(r);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&$t(!1,'[JSS] Insertion point "'+r+'" not found.')}return!1}function pN(e,t){var n=t.insertionPoint,r=fN(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"&&$t(!1,"[JSS] Insertion point is not in the DOM.");return}Qw().appendChild(e)}var mN=Jw(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),eE=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"&&$t(!1,"[JSS] "+o.message),!1}return t.cssRules[r]},tE=function(t,n){var r=t.cssRules.length;return n===void 0||n>r?r:n},gN=function(){var t=document.createElement("style");return t.textContent=`
2476
2476
  `,t},hN=function(){function e(n){this.getPropertyValue=aN,this.setProperty=iN,this.removeProperty=lN,this.setSelector=sN,this.hasInsertedRules=!1,this.cssRules=[],n&&Ta.add(n),this.sheet=n;var r=this.sheet?this.sheet.options:{},o=r.media,a=r.meta,i=r.element;this.element=i||gN(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),a&&this.element.setAttribute("data-meta",a);var l=mN();l&&this.element.setAttribute("nonce",l)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){pN(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=`
2477
2477
  `)}},t.deploy=function(){var r=this.sheet;if(r){if(r.options.link){this.insertRules(r.rules);return}this.element.textContent=`
2478
2478
  `+r.toString()+`
@@ -2482,16 +2482,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2482
2482
  * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
2483
2483
  * @website https://github.com/cssinjs/jss
2484
2484
  * @license MIT
2485
- */hf();var rE=Date.now(),vf="fnValues"+rE,yf="fnStyle"+ ++rE,yN=function(){return{onCreateRule:function(n,r,o){if(typeof r!="function")return null;var a=lf(n,{},o);return a[yf]=r,a},onProcessStyle:function(n,r){if(vf in r||yf 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[vf]=o,n},onUpdate:function(n,r,o,a){var i=r,l=i[yf];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"&&bt(!1,"[JSS] Function values inside function rules are not supported.");break}}var u=i[vf];if(u)for(var d in u)i.prop(d,u[d](n),a)}}};const $N=yN;var Ln="@global",$f="@global ",_N=function(){function e(n,r,o){this.type="global",this.at=Ln,this.isProcessed=!1,this.key=n,this.options=o,this.rules=new Gl(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}(),xN=function(){function e(n,r,o){this.type="global",this.at=Ln,this.isProcessed=!1,this.key=n,this.options=o;var a=n.substr($f.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}(),wN=/\s*,\s*/g;function oE(e,t){for(var n=e.split(wN),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function EN(e,t){var n=e.options,r=e.style,o=r?r[Ln]:null;if(o){for(var a in o)t.addRule(a,o[a],L({},n,{selector:oE(a,e.selector)}));delete r[Ln]}}function SN(e,t){var n=e.options,r=e.style;for(var o in r)if(!(o[0]!=="@"||o.substr(0,Ln.length)!==Ln)){var a=oE(o.substr(Ln.length),e.selector);t.addRule(a,r[o],L({},n,{selector:a})),delete r[o]}}function DN(){function e(n,r,o){if(!n)return null;if(n===Ln)return new _N(n,r,o);if(n[0]==="@"&&n.substr(0,$f.length)===$f)return new xN(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||(EN(n,r),SN(n,r))}return{onCreateRule:e,onProcessRule:t}}var aE=/\s*,\s*/g,PN=/&/g,TN=/\$([\w-]+)/g;function kN(){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"&&bt(!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(aE),l=o.split(aE),s="",u=0;u<i.length;u++)for(var d=i[u],f=0;f<l.length;f++){var g=l[f];s&&(s+=", "),s+=g.indexOf("&")!==-1?g.replace(PN,d):d+" "+g}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 g=f.indexOf("&")!==-1,m=f[0]==="@";if(!(!g&&!m)){if(u=n(l,s,u),g){var h=t(f,l.selector);d||(d=e(s,i)),h=h.replace(TN,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 m&&s.addRule(f,{},u).addRule(l.key,o[f],{selector:l.selector});delete o[f]}}return o}return{onProcessStyle:r}}var CN=/[A-Z]/g,AN=/^ms-/,_f={};function IN(e){return"-"+e.toLowerCase()}function iE(e){if(_f.hasOwnProperty(e))return _f[e];var t=e.replace(CN,IN);return _f[e]=AN.test(t)?"-"+t:t}function Yl(e){var t={};for(var n in e){var r=n.indexOf("--")===0?n:iE(n);t[r]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Yl):t.fallbacks=Yl(e.fallbacks)),t}function ON(){function e(n){if(Array.isArray(n)){for(var r=0;r<n.length;r++)n[r]=Yl(n[r]);return n}return Yl(n)}function t(n,r,o){if(r.indexOf("--")===0)return n;var a=iE(r);return r===a?n:(o.prop(a,n),null)}return{onProcessStyle:e,onChangeValue:t}}var G=bf&&CSS?CSS.px:"px",ql=bf&&CSS?CSS.ms:"ms",lo=bf&&CSS?CSS.percent:"%",MN={"animation-delay":ql,"animation-duration":ql,"background-position":G,"background-position-x":G,"background-position-y":G,"background-size":G,border:G,"border-bottom":G,"border-bottom-left-radius":G,"border-bottom-right-radius":G,"border-bottom-width":G,"border-left":G,"border-left-width":G,"border-radius":G,"border-right":G,"border-right-width":G,"border-top":G,"border-top-left-radius":G,"border-top-right-radius":G,"border-top-width":G,"border-width":G,"border-block":G,"border-block-end":G,"border-block-end-width":G,"border-block-start":G,"border-block-start-width":G,"border-block-width":G,"border-inline":G,"border-inline-end":G,"border-inline-end-width":G,"border-inline-start":G,"border-inline-start-width":G,"border-inline-width":G,"border-start-start-radius":G,"border-start-end-radius":G,"border-end-start-radius":G,"border-end-end-radius":G,margin:G,"margin-bottom":G,"margin-left":G,"margin-right":G,"margin-top":G,"margin-block":G,"margin-block-end":G,"margin-block-start":G,"margin-inline":G,"margin-inline-end":G,"margin-inline-start":G,padding:G,"padding-bottom":G,"padding-left":G,"padding-right":G,"padding-top":G,"padding-block":G,"padding-block-end":G,"padding-block-start":G,"padding-inline":G,"padding-inline-end":G,"padding-inline-start":G,"mask-position-x":G,"mask-position-y":G,"mask-size":G,height:G,width:G,"min-height":G,"max-height":G,"min-width":G,"max-width":G,bottom:G,left:G,top:G,right:G,inset:G,"inset-block":G,"inset-block-end":G,"inset-block-start":G,"inset-inline":G,"inset-inline-end":G,"inset-inline-start":G,"box-shadow":G,"text-shadow":G,"column-gap":G,"column-rule":G,"column-rule-width":G,"column-width":G,"font-size":G,"font-size-delta":G,"letter-spacing":G,"text-decoration-thickness":G,"text-indent":G,"text-stroke":G,"text-stroke-width":G,"word-spacing":G,motion:G,"motion-offset":G,outline:G,"outline-offset":G,"outline-width":G,perspective:G,"perspective-origin-x":lo,"perspective-origin-y":lo,"transform-origin":lo,"transform-origin-x":lo,"transform-origin-y":lo,"transform-origin-z":lo,"transition-delay":ql,"transition-duration":ql,"vertical-align":G,"flex-basis":G,"shape-margin":G,size:G,gap:G,grid:G,"grid-gap":G,"row-gap":G,"grid-row-gap":G,"grid-column-gap":G,"grid-template-rows":G,"grid-template-columns":G,"grid-auto-rows":G,"grid-auto-columns":G,"box-shadow-x":G,"box-shadow-y":G,"box-shadow-blur":G,"box-shadow-spread":G,"font-line-height":G,"text-shadow-x":G,"text-shadow-y":G,"text-shadow-blur":G};function lE(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 FN=lE(MN);function ka(e,t,n){if(t==null)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=ka(e,t[r],n);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=ka(o,t[o],n);else for(var a in t)t[a]=ka(e+"-"+a,t[a],n);else if(typeof t=="number"&&isNaN(t)===!1){var i=n[e]||FN[e];return i&&!(t===0&&i===G)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function LN(e){e===void 0&&(e={});var t=lE(e);function n(o,a){if(a.type!=="style")return o;for(var i in o)o[i]=ka(i,o[i],t);return o}function r(o,a){return ka(a,o,t)}return{onProcessStyle:n,onChangeValue:r}}function xf(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 NN(e){if(Array.isArray(e))return xf(e)}function zN(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function RN(e,t){if(e){if(typeof e=="string")return xf(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 xf(e,t)}}function KN(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2486
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function VN(e){return NN(e)||zN(e)||RN(e)||KN()}var Ca="",wf="",sE="",cE="",BN=Sa&&"ontouchstart"in document.documentElement;if(Sa){var Ef={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},jN=document.createElement("p"),Sf=jN.style,UN="Transform";for(var Df in Ef)if(Df+UN in Sf){Ca=Df,wf=Ef[Df];break}Ca==="Webkit"&&"msHyphens"in Sf&&(Ca="ms",wf=Ef.ms,cE="edge"),Ca==="Webkit"&&"-apple-trailing-word"in Sf&&(sE="apple")}var pe={js:Ca,css:wf,vendor:sE,browser:cE,isTouch:BN};function WN(e){return e[1]==="-"||pe.js==="ms"?e:"@"+pe.css+"keyframes"+e.substr(10)}var HN={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:pe.js==="ms"?"-webkit-"+t:pe.css+t}},GN={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:pe.js==="Webkit"?pe.css+"print-"+t:t}},YN=/[-\s]+(.)?/g;function qN(e,t){return t?t.toUpperCase():""}function Pf(e){return e.replace(YN,qN)}function Nn(e){return Pf("-"+e)}var XN={noPrefill:["mask"],supportedProperty:function(t,n){if(!/^mask/.test(t))return!1;if(pe.js==="Webkit"){var r="mask-image";if(Pf(r)in n)return t;if(pe.js+Nn(r)in n)return pe.css+t}return t}},ZN={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:pe.vendor==="apple"&&!pe.isTouch?pe.css+t:t}},JN={noPrefill:["transform"],supportedProperty:function(t,n,r){return t!=="transform"?!1:r.transform?t:pe.css+t}},QN={noPrefill:["transition"],supportedProperty:function(t,n,r){return t!=="transition"?!1:r.transition?t:pe.css+t}},ez={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:pe.js==="Webkit"||pe.js==="ms"&&pe.browser!=="edge"?pe.css+t:t}},tz={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:pe.js==="Moz"||pe.js==="ms"||pe.vendor==="apple"?pe.css+t:t}},nz={supportedProperty:function(t,n){if(!/^break-/.test(t))return!1;if(pe.js==="Webkit"){var r="WebkitColumn"+Nn(t);return r in n?pe.css+"column-"+t:!1}if(pe.js==="Moz"){var o="page"+Nn(t);return o in n?"page-"+t:!1}return!1}},rz={supportedProperty:function(t,n){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(pe.js==="Moz")return t;var r=t.replace("-inline","");return pe.js+Nn(r)in n?pe.css+r:!1}},oz={supportedProperty:function(t,n){return Pf(t)in n?t:!1}},az={supportedProperty:function(t,n){var r=Nn(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:pe.js+r in n?pe.css+t:pe.js!=="Webkit"&&"Webkit"+r in n?"-webkit-"+t:!1}},iz={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:pe.js==="ms"?""+pe.css+t:t}},lz={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:pe.js==="ms"?pe.css+"scroll-chaining":t}},sz={"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"},cz={supportedProperty:function(t,n){var r=sz[t];return r&&pe.js+Nn(r)in n?pe.css+r:!1}},uE={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"},uz=Object.keys(uE),dz=function(t){return pe.css+t},fz={supportedProperty:function(t,n,r){var o=r.multiple;if(uz.indexOf(t)>-1){var a=uE[t];if(!Array.isArray(a))return pe.js+Nn(a)in n?pe.css+a:!1;if(!o)return!1;for(var i=0;i<a.length;i++)if(!(pe.js+Nn(a[0])in n))return!1;return a.map(dz)}return!1}},dE=[HN,GN,XN,ZN,JN,QN,ez,tz,nz,rz,oz,az,iz,lz,cz,fz],fE=dE.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),pz=dE.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,VN(t.noPrefill)),e},[]),Aa,fr={};if(Sa){Aa=document.createElement("p");var Tf=window.getComputedStyle(document.documentElement,"");for(var kf in Tf)isNaN(kf)||(fr[Tf[kf]]=Tf[kf]);pz.forEach(function(e){return delete fr[e]})}function Cf(e,t){if(t===void 0&&(t={}),!Aa)return e;if(process.env.NODE_ENV!=="benchmark"&&fr[e]!=null)return fr[e];(e==="transition"||e==="transform")&&(t[e]=e in Aa.style);for(var n=0;n<fE.length&&(fr[e]=fE[n](e,Aa.style,t),!fr[e]);n++);try{Aa.style[e]=""}catch{return!1}return fr[e]}var so={},mz={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},gz=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,zn;function hz(e,t,n){if(t==="var")return"var";if(t==="all")return"all";if(n==="all")return", all";var r=t?Cf(t):", "+Cf(n);return r||t||n}Sa&&(zn=document.createElement("p"));function pE(e,t){var n=t;if(!zn||e==="content")return t;if(typeof n!="string"||!isNaN(parseInt(n,10)))return n;var r=e+n;if(process.env.NODE_ENV!=="benchmark"&&so[r]!=null)return so[r];try{zn.style[e]=n}catch{return so[r]=!1,!1}if(mz[e])n=n.replace(gz,hz);else if(zn.style[e]===""&&(n=pe.css+n,n==="-ms-flex"&&(zn.style[e]="-ms-flexbox"),zn.style[e]=n,zn.style[e]===""))return so[r]=!1,!1;return zn.style[e]="",so[r]=n,so[r]}function bz(){function e(o){if(o.type==="keyframes"){var a=o;a.at=WN(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=Cf(a);s&&s!==a&&(l=!0);var u=!1,d=pE(s,dr(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 pE(a,dr(o))||o}return{onProcessRule:e,onProcessStyle:n,onChangeValue:r}}function vz(){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 mE(){return{plugins:[$N(),DN(),kN(),ON(),LN(),typeof window>"u"?null:bz(),vz()]}}function gE(){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(Ea(r)," is incorrect."),"You might want to use the className prop instead."].join(`
2485
+ */hf();var rE=Date.now(),vf="fnValues"+rE,yf="fnStyle"+ ++rE,yN=function(){return{onCreateRule:function(n,r,o){if(typeof r!="function")return null;var a=lf(n,{},o);return a[yf]=r,a},onProcessStyle:function(n,r){if(vf in r||yf 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[vf]=o,n},onUpdate:function(n,r,o,a){var i=r,l=i[yf];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"&&$t(!1,"[JSS] Function values inside function rules are not supported.");break}}var u=i[vf];if(u)for(var d in u)i.prop(d,u[d](n),a)}}};const $N=yN;var Ln="@global",$f="@global ",_N=function(){function e(n,r,o){this.type="global",this.at=Ln,this.isProcessed=!1,this.key=n,this.options=o,this.rules=new Gl(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}(),xN=function(){function e(n,r,o){this.type="global",this.at=Ln,this.isProcessed=!1,this.key=n,this.options=o;var a=n.substr($f.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}(),wN=/\s*,\s*/g;function oE(e,t){for(var n=e.split(wN),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function EN(e,t){var n=e.options,r=e.style,o=r?r[Ln]:null;if(o){for(var a in o)t.addRule(a,o[a],L({},n,{selector:oE(a,e.selector)}));delete r[Ln]}}function SN(e,t){var n=e.options,r=e.style;for(var o in r)if(!(o[0]!=="@"||o.substr(0,Ln.length)!==Ln)){var a=oE(o.substr(Ln.length),e.selector);t.addRule(a,r[o],L({},n,{selector:a})),delete r[o]}}function DN(){function e(n,r,o){if(!n)return null;if(n===Ln)return new _N(n,r,o);if(n[0]==="@"&&n.substr(0,$f.length)===$f)return new xN(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||(EN(n,r),SN(n,r))}return{onCreateRule:e,onProcessRule:t}}var aE=/\s*,\s*/g,PN=/&/g,TN=/\$([\w-]+)/g;function kN(){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"&&$t(!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(aE),l=o.split(aE),s="",u=0;u<i.length;u++)for(var d=i[u],f=0;f<l.length;f++){var g=l[f];s&&(s+=", "),s+=g.indexOf("&")!==-1?g.replace(PN,d):d+" "+g}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 g=f.indexOf("&")!==-1,m=f[0]==="@";if(!(!g&&!m)){if(u=n(l,s,u),g){var h=t(f,l.selector);d||(d=e(s,i)),h=h.replace(TN,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 m&&s.addRule(f,{},u).addRule(l.key,o[f],{selector:l.selector});delete o[f]}}return o}return{onProcessStyle:r}}var CN=/[A-Z]/g,AN=/^ms-/,_f={};function IN(e){return"-"+e.toLowerCase()}function iE(e){if(_f.hasOwnProperty(e))return _f[e];var t=e.replace(CN,IN);return _f[e]=AN.test(t)?"-"+t:t}function Yl(e){var t={};for(var n in e){var r=n.indexOf("--")===0?n:iE(n);t[r]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Yl):t.fallbacks=Yl(e.fallbacks)),t}function ON(){function e(n){if(Array.isArray(n)){for(var r=0;r<n.length;r++)n[r]=Yl(n[r]);return n}return Yl(n)}function t(n,r,o){if(r.indexOf("--")===0)return n;var a=iE(r);return r===a?n:(o.prop(a,n),null)}return{onProcessStyle:e,onChangeValue:t}}var G=bf&&CSS?CSS.px:"px",ql=bf&&CSS?CSS.ms:"ms",so=bf&&CSS?CSS.percent:"%",MN={"animation-delay":ql,"animation-duration":ql,"background-position":G,"background-position-x":G,"background-position-y":G,"background-size":G,border:G,"border-bottom":G,"border-bottom-left-radius":G,"border-bottom-right-radius":G,"border-bottom-width":G,"border-left":G,"border-left-width":G,"border-radius":G,"border-right":G,"border-right-width":G,"border-top":G,"border-top-left-radius":G,"border-top-right-radius":G,"border-top-width":G,"border-width":G,"border-block":G,"border-block-end":G,"border-block-end-width":G,"border-block-start":G,"border-block-start-width":G,"border-block-width":G,"border-inline":G,"border-inline-end":G,"border-inline-end-width":G,"border-inline-start":G,"border-inline-start-width":G,"border-inline-width":G,"border-start-start-radius":G,"border-start-end-radius":G,"border-end-start-radius":G,"border-end-end-radius":G,margin:G,"margin-bottom":G,"margin-left":G,"margin-right":G,"margin-top":G,"margin-block":G,"margin-block-end":G,"margin-block-start":G,"margin-inline":G,"margin-inline-end":G,"margin-inline-start":G,padding:G,"padding-bottom":G,"padding-left":G,"padding-right":G,"padding-top":G,"padding-block":G,"padding-block-end":G,"padding-block-start":G,"padding-inline":G,"padding-inline-end":G,"padding-inline-start":G,"mask-position-x":G,"mask-position-y":G,"mask-size":G,height:G,width:G,"min-height":G,"max-height":G,"min-width":G,"max-width":G,bottom:G,left:G,top:G,right:G,inset:G,"inset-block":G,"inset-block-end":G,"inset-block-start":G,"inset-inline":G,"inset-inline-end":G,"inset-inline-start":G,"box-shadow":G,"text-shadow":G,"column-gap":G,"column-rule":G,"column-rule-width":G,"column-width":G,"font-size":G,"font-size-delta":G,"letter-spacing":G,"text-decoration-thickness":G,"text-indent":G,"text-stroke":G,"text-stroke-width":G,"word-spacing":G,motion:G,"motion-offset":G,outline:G,"outline-offset":G,"outline-width":G,perspective:G,"perspective-origin-x":so,"perspective-origin-y":so,"transform-origin":so,"transform-origin-x":so,"transform-origin-y":so,"transform-origin-z":so,"transition-delay":ql,"transition-duration":ql,"vertical-align":G,"flex-basis":G,"shape-margin":G,size:G,gap:G,grid:G,"grid-gap":G,"row-gap":G,"grid-row-gap":G,"grid-column-gap":G,"grid-template-rows":G,"grid-template-columns":G,"grid-auto-rows":G,"grid-auto-columns":G,"box-shadow-x":G,"box-shadow-y":G,"box-shadow-blur":G,"box-shadow-spread":G,"font-line-height":G,"text-shadow-x":G,"text-shadow-y":G,"text-shadow-blur":G};function lE(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 FN=lE(MN);function ka(e,t,n){if(t==null)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=ka(e,t[r],n);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=ka(o,t[o],n);else for(var a in t)t[a]=ka(e+"-"+a,t[a],n);else if(typeof t=="number"&&isNaN(t)===!1){var i=n[e]||FN[e];return i&&!(t===0&&i===G)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function LN(e){e===void 0&&(e={});var t=lE(e);function n(o,a){if(a.type!=="style")return o;for(var i in o)o[i]=ka(i,o[i],t);return o}function r(o,a){return ka(a,o,t)}return{onProcessStyle:n,onChangeValue:r}}function xf(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 NN(e){if(Array.isArray(e))return xf(e)}function zN(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function RN(e,t){if(e){if(typeof e=="string")return xf(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 xf(e,t)}}function KN(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2486
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function VN(e){return NN(e)||zN(e)||RN(e)||KN()}var Ca="",wf="",sE="",cE="",BN=Sa&&"ontouchstart"in document.documentElement;if(Sa){var Ef={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},jN=document.createElement("p"),Sf=jN.style,UN="Transform";for(var Df in Ef)if(Df+UN in Sf){Ca=Df,wf=Ef[Df];break}Ca==="Webkit"&&"msHyphens"in Sf&&(Ca="ms",wf=Ef.ms,cE="edge"),Ca==="Webkit"&&"-apple-trailing-word"in Sf&&(sE="apple")}var pe={js:Ca,css:wf,vendor:sE,browser:cE,isTouch:BN};function WN(e){return e[1]==="-"||pe.js==="ms"?e:"@"+pe.css+"keyframes"+e.substr(10)}var HN={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:pe.js==="ms"?"-webkit-"+t:pe.css+t}},GN={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:pe.js==="Webkit"?pe.css+"print-"+t:t}},YN=/[-\s]+(.)?/g;function qN(e,t){return t?t.toUpperCase():""}function Pf(e){return e.replace(YN,qN)}function Nn(e){return Pf("-"+e)}var XN={noPrefill:["mask"],supportedProperty:function(t,n){if(!/^mask/.test(t))return!1;if(pe.js==="Webkit"){var r="mask-image";if(Pf(r)in n)return t;if(pe.js+Nn(r)in n)return pe.css+t}return t}},ZN={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:pe.vendor==="apple"&&!pe.isTouch?pe.css+t:t}},JN={noPrefill:["transform"],supportedProperty:function(t,n,r){return t!=="transform"?!1:r.transform?t:pe.css+t}},QN={noPrefill:["transition"],supportedProperty:function(t,n,r){return t!=="transition"?!1:r.transition?t:pe.css+t}},ez={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:pe.js==="Webkit"||pe.js==="ms"&&pe.browser!=="edge"?pe.css+t:t}},tz={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:pe.js==="Moz"||pe.js==="ms"||pe.vendor==="apple"?pe.css+t:t}},nz={supportedProperty:function(t,n){if(!/^break-/.test(t))return!1;if(pe.js==="Webkit"){var r="WebkitColumn"+Nn(t);return r in n?pe.css+"column-"+t:!1}if(pe.js==="Moz"){var o="page"+Nn(t);return o in n?"page-"+t:!1}return!1}},rz={supportedProperty:function(t,n){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(pe.js==="Moz")return t;var r=t.replace("-inline","");return pe.js+Nn(r)in n?pe.css+r:!1}},oz={supportedProperty:function(t,n){return Pf(t)in n?t:!1}},az={supportedProperty:function(t,n){var r=Nn(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:pe.js+r in n?pe.css+t:pe.js!=="Webkit"&&"Webkit"+r in n?"-webkit-"+t:!1}},iz={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:pe.js==="ms"?""+pe.css+t:t}},lz={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:pe.js==="ms"?pe.css+"scroll-chaining":t}},sz={"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"},cz={supportedProperty:function(t,n){var r=sz[t];return r&&pe.js+Nn(r)in n?pe.css+r:!1}},uE={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"},uz=Object.keys(uE),dz=function(t){return pe.css+t},fz={supportedProperty:function(t,n,r){var o=r.multiple;if(uz.indexOf(t)>-1){var a=uE[t];if(!Array.isArray(a))return pe.js+Nn(a)in n?pe.css+a:!1;if(!o)return!1;for(var i=0;i<a.length;i++)if(!(pe.js+Nn(a[0])in n))return!1;return a.map(dz)}return!1}},dE=[HN,GN,XN,ZN,JN,QN,ez,tz,nz,rz,oz,az,iz,lz,cz,fz],fE=dE.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),pz=dE.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,VN(t.noPrefill)),e},[]),Aa,pr={};if(Sa){Aa=document.createElement("p");var Tf=window.getComputedStyle(document.documentElement,"");for(var kf in Tf)isNaN(kf)||(pr[Tf[kf]]=Tf[kf]);pz.forEach(function(e){return delete pr[e]})}function Cf(e,t){if(t===void 0&&(t={}),!Aa)return e;if(process.env.NODE_ENV!=="benchmark"&&pr[e]!=null)return pr[e];(e==="transition"||e==="transform")&&(t[e]=e in Aa.style);for(var n=0;n<fE.length&&(pr[e]=fE[n](e,Aa.style,t),!pr[e]);n++);try{Aa.style[e]=""}catch{return!1}return pr[e]}var co={},mz={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},gz=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,zn;function hz(e,t,n){if(t==="var")return"var";if(t==="all")return"all";if(n==="all")return", all";var r=t?Cf(t):", "+Cf(n);return r||t||n}Sa&&(zn=document.createElement("p"));function pE(e,t){var n=t;if(!zn||e==="content")return t;if(typeof n!="string"||!isNaN(parseInt(n,10)))return n;var r=e+n;if(process.env.NODE_ENV!=="benchmark"&&co[r]!=null)return co[r];try{zn.style[e]=n}catch{return co[r]=!1,!1}if(mz[e])n=n.replace(gz,hz);else if(zn.style[e]===""&&(n=pe.css+n,n==="-ms-flex"&&(zn.style[e]="-ms-flexbox"),zn.style[e]=n,zn.style[e]===""))return co[r]=!1,!1;return zn.style[e]="",co[r]=n,co[r]}function bz(){function e(o){if(o.type==="keyframes"){var a=o;a.at=WN(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=Cf(a);s&&s!==a&&(l=!0);var u=!1,d=pE(s,fr(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 pE(a,fr(o))||o}return{onProcessRule:e,onProcessStyle:n,onChangeValue:r}}function vz(){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 mE(){return{plugins:[$N(),DN(),kN(),ON(),LN(),typeof window>"u"?null:bz(),vz()]}}function gE(){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(Ea(r)," is incorrect."),"You might want to use the className prop instead."].join(`
2487
2487
  `)),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(Ea(r),"."),"You can only override one of the following: ".concat(Object.keys(t).join(","),".")].join(`
2488
2488
  `)),n[a]&&typeof n[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(Ea(r),"."),"You need to provide a non empty string instead of: ".concat(n[a],".")].join(`
2489
- `))),n[a]&&(o[a]="".concat(t[a]," ").concat(n[a]))}),o)}var yz={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 co=yz;var hE=D.default.createContext(null);process.env.NODE_ENV!=="production"&&(hE.displayName="ThemeContext");const $z=hE;function bE(){var e=D.default.useContext($z);return process.env.NODE_ENV!=="production"&&D.default.useDebugValue(e),e}var _z=hf(mE()),xz=AL(),wz=new Map,Ez={disableGeneration:!1,generateClassName:xz,jss:_z,sheetsCache:null,sheetsManager:wz,sheetsRegistry:null},Xl=D.default.createContext(Ez);process.env.NODE_ENV!=="production"&&(Xl.displayName="StylesContext");var Zl;function Af(e){var t=e.children,n=e.injectFirst,r=n===void 0?!1:n,o=e.disableGeneration,a=o===void 0?!1:o,i=Ut(e,["children","injectFirst","disableGeneration"]),l=D.default.useContext(Xl),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(!Zl){var u=document.head;Zl=document.createComment("mui-inject-first"),u.insertBefore(Zl,u.firstChild)}s.jss=hf({plugins:mE().plugins,insertionPoint:Zl})}return D.default.createElement(Xl.Provider,{value:s},t)}process.env.NODE_ENV!=="production"&&(Af.propTypes={children:ie.node.isRequired,disableGeneration:ie.bool,generateClassName:ie.func,injectFirst:ie.bool,jss:ie.object,serverGenerateClassName:ie.func,sheetsCache:ie.object,sheetsManager:ie.object,sheetsRegistry:ie.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Af.propTypes=EL(Af.propTypes));var If=-1e9;function Sz(){return If+=1,process.env.NODE_ENV!=="production"&&If>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
2489
+ `))),n[a]&&(o[a]="".concat(t[a]," ").concat(n[a]))}),o)}var yz={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 uo=yz;var hE=D.default.createContext(null);process.env.NODE_ENV!=="production"&&(hE.displayName="ThemeContext");const $z=hE;function bE(){var e=D.default.useContext($z);return process.env.NODE_ENV!=="production"&&D.default.useDebugValue(e),e}var _z=hf(mE()),xz=AL(),wz=new Map,Ez={disableGeneration:!1,generateClassName:xz,jss:_z,sheetsCache:null,sheetsManager:wz,sheetsRegistry:null},Xl=D.default.createContext(Ez);process.env.NODE_ENV!=="production"&&(Xl.displayName="StylesContext");var Zl;function Af(e){var t=e.children,n=e.injectFirst,r=n===void 0?!1:n,o=e.disableGeneration,a=o===void 0?!1:o,i=Gt(e,["children","injectFirst","disableGeneration"]),l=D.default.useContext(Xl),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(!Zl){var u=document.head;Zl=document.createComment("mui-inject-first"),u.insertBefore(Zl,u.firstChild)}s.jss=hf({plugins:mE().plugins,insertionPoint:Zl})}return D.default.createElement(Xl.Provider,{value:s},t)}process.env.NODE_ENV!=="production"&&(Af.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"&&(Af.propTypes=EL(Af.propTypes));var If=-1e9;function Sz(){return If+=1,process.env.NODE_ENV!=="production"&&If>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
2490
2490
  `)),If}var Dz={};const vE=Dz;function Pz(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&xn(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(`
2491
2491
  `)),{create:function(r,o){var a;try{a=t?e(r):e}catch(s){throw process.env.NODE_ENV!=="production"&&t===!0&&r===vE&&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(`
2492
2492
  `)),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(`
2493
- `))),l[s]=ao(l[s],i[s])}),l},options:{}}}function Tz(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=gE({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function kz(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,i=e.name;if(!o.disableGeneration){var l=co.get(o.sheetsManager,a,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},co.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=co.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&&co.set(o.sheetsCache,a,r,d)),u&&u.add(d),l.staticSheet=d,l.dynamicStyles=nE(f)}if(l.dynamicStyles){var g=o.jss.createStyleSheet(l.dynamicStyles,L({link:!0},s));g.update(t),g.attach(),n.dynamicSheet=g,n.classes=gE({baseClasses:l.staticSheet.classes,newClasses:g.classes}),u&&u.add(g)}else n.classes=l.staticSheet.classes;l.refs+=1}}function Cz(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Az(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var a=co.get(r.sheetsManager,o,n);a.refs-=1;var i=r.sheetsRegistry;a.refs===0&&(co.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 Iz(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 Oz(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?vE:a,l=Ut(t,["name","classNamePrefix","Component","defaultTheme"]),s=Pz(e),u=n||r||"makeStyles";s.options={index:Sz(),name:n,meta:u,classNamePrefix:u};var d=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=bE()||i,h=L({},D.default.useContext(Xl),l),b=D.default.useRef(),v=D.default.useRef();Iz(function(){var y={name:n,state:{},stylesCreator:s,stylesOptions:h,theme:m};return kz(y,g),v.current=!1,b.current=y,function(){Az(y)}},[m,s]),D.default.useEffect(function(){v.current&&Cz(b.current,g),v.current=!0});var $=Tz(b.current,g.classes,o);return process.env.NODE_ENV!=="production"&&D.default.useDebugValue($),$};return d}var Of=ls.default,Mz={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Fz={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Lz={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mf={};Mf[Of.ForwardRef]=Lz,Mf[Of.Memo]=yE;function $E(e){return Of.isMemo(e)?yE:Mf[e.$$typeof]||Mz}var Nz=Object.defineProperty,zz=Object.getOwnPropertyNames,_E=Object.getOwnPropertySymbols,Rz=Object.getOwnPropertyDescriptor,Kz=Object.getPrototypeOf,xE=Object.prototype;function wE(e,t,n){if(typeof t!="string"){if(xE){var r=Kz(t);r&&r!==xE&&wE(e,r,n)}var o=zz(t);_E&&(o=o.concat(_E(t)));for(var a=$E(e),i=$E(t),l=0;l<o.length;++l){var s=o[l];if(!Fz[s]&&!(n&&n[s])&&!(i&&i[s])&&!(a&&a[s])){var u=Rz(t,s);try{Nz(e,s,u)}catch{}}}}return e}var Vz=wE;const Bz=Ma(Vz);var jz=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=Ut(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(`
2494
- `));var u=l;if(process.env.NODE_ENV!=="production"&&!l){var d=Ea(r);d!==void 0&&(u=d)}var f=Oz(t,L({defaultTheme:o,Component:r,name:l||r.displayName,classNamePrefix:u},s)),g=D.default.forwardRef(function(h,b){h.classes;var v=h.innerRef,$=Ut(h,["classes","innerRef"]),y=f(L({},r.defaultProps,h)),x,S=$;return(typeof l=="string"||i)&&(x=bE()||o,l&&(S=IL({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"&&(g.propTypes={classes:ie.object,innerRef:Nw(ie.oneOfType([ie.func,ie.object]),function(m){return m.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(g.displayName="WithStyles(".concat(Ea(r),")")),Bz(g,r),process.env.NODE_ENV!=="production"&&(g.Naked=r,g.options=n,g.useStyles=f),g}};const Uz=jz;var Rn=["xs","sm","md","lg","xl"];function Wz(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=Ut(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=Rn.indexOf(h)+1,v=n[Rn[b]];if(b===Rn.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=Rn.indexOf(b);return v===Rn.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[Rn[v+1]]=="number"?n[Rn[v+1]]:b)-i/100).concat(o,")")}function f(h){return d(h,h)}var g=!1;function m(h){return process.env.NODE_ENV!=="production"&&(g||(g=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
2493
+ `))),l[s]=io(l[s],i[s])}),l},options:{}}}function Tz(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=gE({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function kz(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,i=e.name;if(!o.disableGeneration){var l=uo.get(o.sheetsManager,a,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},uo.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=uo.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&&uo.set(o.sheetsCache,a,r,d)),u&&u.add(d),l.staticSheet=d,l.dynamicStyles=nE(f)}if(l.dynamicStyles){var g=o.jss.createStyleSheet(l.dynamicStyles,L({link:!0},s));g.update(t),g.attach(),n.dynamicSheet=g,n.classes=gE({baseClasses:l.staticSheet.classes,newClasses:g.classes}),u&&u.add(g)}else n.classes=l.staticSheet.classes;l.refs+=1}}function Cz(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Az(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var a=uo.get(r.sheetsManager,o,n);a.refs-=1;var i=r.sheetsRegistry;a.refs===0&&(uo.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 Iz(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 Oz(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?vE:a,l=Gt(t,["name","classNamePrefix","Component","defaultTheme"]),s=Pz(e),u=n||r||"makeStyles";s.options={index:Sz(),name:n,meta:u,classNamePrefix:u};var d=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=bE()||i,h=L({},D.default.useContext(Xl),l),b=D.default.useRef(),v=D.default.useRef();Iz(function(){var y={name:n,state:{},stylesCreator:s,stylesOptions:h,theme:m};return kz(y,g),v.current=!1,b.current=y,function(){Az(y)}},[m,s]),D.default.useEffect(function(){v.current&&Cz(b.current,g),v.current=!0});var $=Tz(b.current,g.classes,o);return process.env.NODE_ENV!=="production"&&D.default.useDebugValue($),$};return d}var Of=ls.default,Mz={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Fz={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Lz={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mf={};Mf[Of.ForwardRef]=Lz,Mf[Of.Memo]=yE;function $E(e){return Of.isMemo(e)?yE:Mf[e.$$typeof]||Mz}var Nz=Object.defineProperty,zz=Object.getOwnPropertyNames,_E=Object.getOwnPropertySymbols,Rz=Object.getOwnPropertyDescriptor,Kz=Object.getPrototypeOf,xE=Object.prototype;function wE(e,t,n){if(typeof t!="string"){if(xE){var r=Kz(t);r&&r!==xE&&wE(e,r,n)}var o=zz(t);_E&&(o=o.concat(_E(t)));for(var a=$E(e),i=$E(t),l=0;l<o.length;++l){var s=o[l];if(!Fz[s]&&!(n&&n[s])&&!(i&&i[s])&&!(a&&a[s])){var u=Rz(t,s);try{Nz(e,s,u)}catch{}}}}return e}var Vz=wE;const Bz=Ma(Vz);var jz=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=Gt(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(`
2494
+ `));var u=l;if(process.env.NODE_ENV!=="production"&&!l){var d=Ea(r);d!==void 0&&(u=d)}var f=Oz(t,L({defaultTheme:o,Component:r,name:l||r.displayName,classNamePrefix:u},s)),g=D.default.forwardRef(function(h,b){h.classes;var v=h.innerRef,$=Gt(h,["classes","innerRef"]),y=f(L({},r.defaultProps,h)),x,S=$;return(typeof l=="string"||i)&&(x=bE()||o,l&&(S=IL({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"&&(g.propTypes={classes:ae.object,innerRef:Nw(ae.oneOfType([ae.func,ae.object]),function(m){return m.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(g.displayName="WithStyles(".concat(Ea(r),")")),Bz(g,r),process.env.NODE_ENV!=="production"&&(g.Naked=r,g.options=n,g.useStyles=f),g}};const Uz=jz;var Rn=["xs","sm","md","lg","xl"];function Wz(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=Gt(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=Rn.indexOf(h)+1,v=n[Rn[b]];if(b===Rn.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=Rn.indexOf(b);return v===Rn.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[Rn[v+1]]=="number"?n[Rn[v+1]]:b)-i/100).concat(o,")")}function f(h){return d(h,h)}var g=!1;function m(h){return process.env.NODE_ENV!=="production"&&(g||(g=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
2495
2495
  `)))),n[h]}return L({keys:Rn,values:n,up:s,down:u,between:d,only:f,width:m},l)}function Hz(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:",`
2496
2496
  paddingLeft: theme.spacing(2),
2497
2497
  paddingRight: theme.spacing(2),
@@ -2500,7 +2500,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2500
2500
  paddingRight: theme.spacing(3),
2501
2501
  },
2502
2502
  `].join(`
2503
- `)),L({paddingLeft:t(2),paddingRight:t(2)},a,vr({},e.up("sm"),L({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(r={minHeight:56},vr(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),vr(r,e.up("sm"),{minHeight:64}),r)},n)}var Gz={black:"#000",white:"#fff"};const Jl=Gz;var Yz={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 Ff=Yz;var qz={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 Lf=qz;var Xz={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 Nf=Xz;var Zz={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 zf=Zz;var Jz={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 Rf=Jz;var Qz={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 Kf=Qz;var eR={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 Vf=eR;function EE(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 tR(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 nR(e){e=uo(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 g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(f+r/30)%12;return a-i*Math.max(Math.min(g-3,9-g,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])),Bf({type:s,values:u})}function uo(e){if(e.type)return e;if(e.charAt(0)==="#")return uo(tR(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()."):Hl(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 Bf(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 SE(e,t){var n=DE(e),r=DE(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function DE(e){e=uo(e);var t=e.type==="hsl"?uo(nR(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 rR(e,t){if(e=uo(e),t=EE(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 Bf(e)}function oR(e,t){if(e=uo(e),t=EE(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 Bf(e)}var PE={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:Jl.white,default:Ff[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}},jf={text:{primary:Jl.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:Ff[800],default:"#303030"},action:{active:Jl.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 TE(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=oR(e.main,o):t==="dark"&&(e.dark=rR(e.main,a)))}function aR(e){var t=e.primary,n=t===void 0?{light:Lf[300],main:Lf[500],dark:Lf[700]}:t,r=e.secondary,o=r===void 0?{light:Nf.A200,main:Nf.A400,dark:Nf.A700}:r,a=e.error,i=a===void 0?{light:zf[300],main:zf[500],dark:zf[700]}:a,l=e.warning,s=l===void 0?{light:Rf[300],main:Rf[500],dark:Rf[700]}:l,u=e.info,d=u===void 0?{light:Kf[300],main:Kf[500],dark:Kf[700]}:u,f=e.success,g=f===void 0?{light:Vf[300],main:Vf[500],dark:Vf[700]}:f,m=e.type,h=m===void 0?"light":m,b=e.contrastThreshold,v=b===void 0?3:b,$=e.tonalOffset,y=$===void 0?.2:$,x=Ut(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function S(_){var C=SE(_,jf.text.primary)>=v?jf.text.primary:PE.text.primary;if(process.env.NODE_ENV!=="production"){var N=SE(_,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(`
2503
+ `)),L({paddingLeft:t(2),paddingRight:t(2)},a,yr({},e.up("sm"),L({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(r={minHeight:56},yr(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),yr(r,e.up("sm"),{minHeight:64}),r)},n)}var Gz={black:"#000",white:"#fff"};const Jl=Gz;var Yz={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 Ff=Yz;var qz={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 Lf=qz;var Xz={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 Nf=Xz;var Zz={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 zf=Zz;var Jz={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 Rf=Jz;var Qz={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 Kf=Qz;var eR={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 Vf=eR;function EE(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 tR(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 nR(e){e=fo(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 g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(f+r/30)%12;return a-i*Math.max(Math.min(g-3,9-g,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])),Bf({type:s,values:u})}function fo(e){if(e.type)return e;if(e.charAt(0)==="#")return fo(tR(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()."):Hl(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 Bf(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 SE(e,t){var n=DE(e),r=DE(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function DE(e){e=fo(e);var t=e.type==="hsl"?fo(nR(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 rR(e,t){if(e=fo(e),t=EE(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 Bf(e)}function oR(e,t){if(e=fo(e),t=EE(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 Bf(e)}var PE={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:Jl.white,default:Ff[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}},jf={text:{primary:Jl.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:Ff[800],default:"#303030"},action:{active:Jl.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 TE(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=oR(e.main,o):t==="dark"&&(e.dark=rR(e.main,a)))}function aR(e){var t=e.primary,n=t===void 0?{light:Lf[300],main:Lf[500],dark:Lf[700]}:t,r=e.secondary,o=r===void 0?{light:Nf.A200,main:Nf.A400,dark:Nf.A700}:r,a=e.error,i=a===void 0?{light:zf[300],main:zf[500],dark:zf[700]}:a,l=e.warning,s=l===void 0?{light:Rf[300],main:Rf[500],dark:Rf[700]}:l,u=e.info,d=u===void 0?{light:Kf[300],main:Kf[500],dark:Kf[700]}:u,f=e.success,g=f===void 0?{light:Vf[300],main:Vf[500],dark:Vf[700]}:f,m=e.type,h=m===void 0?"light":m,b=e.contrastThreshold,v=b===void 0?3:b,$=e.tonalOffset,y=$===void 0?.2:$,x=Gt(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function S(_){var C=SE(_,jf.text.primary)>=v?jf.text.primary:PE.text.primary;if(process.env.NODE_ENV!=="production"){var N=SE(_,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(`
2504
2504
  `))}return C}var k=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,V=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."):Hl(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.
2505
2505
 
2506
2506
  Did you intend to use one of the following approaches?
@@ -2513,14 +2513,14 @@ const theme1 = createTheme({ palette: {
2513
2513
 
2514
2514
  const theme2 = createTheme({ palette: {
2515
2515
  primary: { main: green[500] },
2516
- } });`):Hl(5,JSON.stringify(C.main)));return TE(C,"light",E,y),TE(C,"dark",V,y),C.contrastText||(C.contrastText=S(C.main)),C},P={dark:jf,light:PE};process.env.NODE_ENV!=="production"&&(P[h]||console.error("Material-UI: The palette type `".concat(h,"` is not supported.")));var M=ao(L({common:Jl,type:h,primary:k(n),secondary:k(o,"A400","A200","A700"),error:k(i),warning:k(s),info:k(d),success:k(g),grey:Ff,contrastThreshold:v,getContrastText:S,augmentColor:k,tonalOffset:y},P[h]),x);return M}function kE(e){return Math.round(e*1e5)/1e5}var CE=!1;function iR(e){return process.env.NODE_ENV!=="production"&&(CE||(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(`
2517
- `)),CE=!0)),kE(e)}var AE={textTransform:"uppercase"},IE='"Roboto", "Helvetica", "Arial", sans-serif';function lR(e,t){var n=typeof t=="function"?t(e):t,r=n.fontFamily,o=r===void 0?IE: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,g=f===void 0?500:f,m=n.fontWeightBold,h=m===void 0?700:m,b=n.htmlFontSize,v=b===void 0?16:b,$=n.allVariants,y=n.pxToRem,x=Ut(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,k=y||function(_){return"".concat(_/v*S,"rem")},P=function(C,N,E,V,O){return L({fontFamily:o,fontWeight:C,fontSize:k(N),lineHeight:E},o===IE?{letterSpacing:"".concat(kE(V/N),"em")}:{},O,$)},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(g,20,1.6,.15),subtitle1:P(d,16,1.75,.15),subtitle2:P(g,14,1.57,.1),body1:P(d,16,1.5,.15),body2:P(d,14,1.43,.15),button:P(g,14,1.75,.4,AE),caption:P(d,12,1.66,.4),overline:P(d,12,2.66,1,AE)};return ao(L({htmlFontSize:v,pxToRem:k,round:iR,fontFamily:o,fontSize:i,fontWeightLight:s,fontWeightRegular:d,fontWeightMedium:g,fontWeightBold:h},M),x,{clone:!1})}var sR=.2,cR=.14,uR=.12;function Ce(){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(sR,")"),"".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(cR,")"),"".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(uR,")")].join(",")}var dR=["none",Ce(0,2,1,-1,0,1,1,0,0,1,3,0),Ce(0,3,1,-2,0,2,2,0,0,1,5,0),Ce(0,3,3,-2,0,3,4,0,0,1,8,0),Ce(0,2,4,-1,0,4,5,0,0,1,10,0),Ce(0,3,5,-1,0,5,8,0,0,1,14,0),Ce(0,3,5,-1,0,6,10,0,0,1,18,0),Ce(0,4,5,-2,0,7,10,1,0,2,16,1),Ce(0,5,5,-3,0,8,10,1,0,3,14,2),Ce(0,5,6,-3,0,9,12,1,0,3,16,2),Ce(0,6,6,-3,0,10,14,1,0,4,18,3),Ce(0,6,7,-4,0,11,15,1,0,4,20,3),Ce(0,7,8,-4,0,12,17,2,0,5,22,4),Ce(0,7,8,-4,0,13,19,2,0,5,24,4),Ce(0,7,9,-4,0,14,21,2,0,5,26,4),Ce(0,8,9,-5,0,15,22,2,0,6,28,5),Ce(0,8,10,-5,0,16,24,2,0,6,30,5),Ce(0,8,11,-5,0,17,26,2,0,6,32,5),Ce(0,9,11,-5,0,18,28,2,0,7,34,6),Ce(0,9,12,-6,0,19,29,2,0,7,36,6),Ce(0,10,13,-6,0,20,31,3,0,8,38,7),Ce(0,10,13,-6,0,21,33,3,0,8,40,7),Ce(0,10,14,-6,0,22,35,3,0,8,42,7),Ce(0,11,14,-7,0,23,36,3,0,9,44,8),Ce(0,11,15,-7,0,24,38,3,0,9,46,8)];const fR=dR;var pR={borderRadius:4};const mR=pR;var gR=process.env.NODE_ENV!=="production"?ie.oneOfType([ie.number,ie.string,ie.object,ie.array]):{};const hR=gR;var bR=["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 vR(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(`
2516
+ } });`):Hl(5,JSON.stringify(C.main)));return TE(C,"light",E,y),TE(C,"dark",V,y),C.contrastText||(C.contrastText=S(C.main)),C},P={dark:jf,light:PE};process.env.NODE_ENV!=="production"&&(P[h]||console.error("Material-UI: The palette type `".concat(h,"` is not supported.")));var M=io(L({common:Jl,type:h,primary:k(n),secondary:k(o,"A400","A200","A700"),error:k(i),warning:k(s),info:k(d),success:k(g),grey:Ff,contrastThreshold:v,getContrastText:S,augmentColor:k,tonalOffset:y},P[h]),x);return M}function kE(e){return Math.round(e*1e5)/1e5}var CE=!1;function iR(e){return process.env.NODE_ENV!=="production"&&(CE||(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(`
2517
+ `)),CE=!0)),kE(e)}var AE={textTransform:"uppercase"},IE='"Roboto", "Helvetica", "Arial", sans-serif';function lR(e,t){var n=typeof t=="function"?t(e):t,r=n.fontFamily,o=r===void 0?IE: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,g=f===void 0?500:f,m=n.fontWeightBold,h=m===void 0?700:m,b=n.htmlFontSize,v=b===void 0?16:b,$=n.allVariants,y=n.pxToRem,x=Gt(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,k=y||function(_){return"".concat(_/v*S,"rem")},P=function(C,N,E,V,O){return L({fontFamily:o,fontWeight:C,fontSize:k(N),lineHeight:E},o===IE?{letterSpacing:"".concat(kE(V/N),"em")}:{},O,$)},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(g,20,1.6,.15),subtitle1:P(d,16,1.75,.15),subtitle2:P(g,14,1.57,.1),body1:P(d,16,1.5,.15),body2:P(d,14,1.43,.15),button:P(g,14,1.75,.4,AE),caption:P(d,12,1.66,.4),overline:P(d,12,2.66,1,AE)};return io(L({htmlFontSize:v,pxToRem:k,round:iR,fontFamily:o,fontSize:i,fontWeightLight:s,fontWeightRegular:d,fontWeightMedium:g,fontWeightBold:h},M),x,{clone:!1})}var sR=.2,cR=.14,uR=.12;function Ie(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(sR,")"),"".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(cR,")"),"".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(uR,")")].join(",")}var dR=["none",Ie(0,2,1,-1,0,1,1,0,0,1,3,0),Ie(0,3,1,-2,0,2,2,0,0,1,5,0),Ie(0,3,3,-2,0,3,4,0,0,1,8,0),Ie(0,2,4,-1,0,4,5,0,0,1,10,0),Ie(0,3,5,-1,0,5,8,0,0,1,14,0),Ie(0,3,5,-1,0,6,10,0,0,1,18,0),Ie(0,4,5,-2,0,7,10,1,0,2,16,1),Ie(0,5,5,-3,0,8,10,1,0,3,14,2),Ie(0,5,6,-3,0,9,12,1,0,3,16,2),Ie(0,6,6,-3,0,10,14,1,0,4,18,3),Ie(0,6,7,-4,0,11,15,1,0,4,20,3),Ie(0,7,8,-4,0,12,17,2,0,5,22,4),Ie(0,7,8,-4,0,13,19,2,0,5,24,4),Ie(0,7,9,-4,0,14,21,2,0,5,26,4),Ie(0,8,9,-5,0,15,22,2,0,6,28,5),Ie(0,8,10,-5,0,16,24,2,0,6,30,5),Ie(0,8,11,-5,0,17,26,2,0,6,32,5),Ie(0,9,11,-5,0,18,28,2,0,7,34,6),Ie(0,9,12,-6,0,19,29,2,0,7,36,6),Ie(0,10,13,-6,0,20,31,3,0,8,38,7),Ie(0,10,13,-6,0,21,33,3,0,8,40,7),Ie(0,10,14,-6,0,22,35,3,0,8,42,7),Ie(0,11,14,-7,0,23,36,3,0,9,44,8),Ie(0,11,15,-7,0,24,38,3,0,9,46,8)];const fR=dR;var pR={borderRadius:4};const mR=pR;var gR=process.env.NODE_ENV!=="production"?ae.oneOfType([ae.number,ae.string,ae.object,ae.array]):{};const hR=gR;var bR=["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 vR(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(`
2518
2518
  `)),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(`
2519
2519
  `)),function(){})}process.env.NODE_ENV!=="production"&&bR.reduce(function(e,t){return e[t]=hR,e},{});var OE;function yR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=vR({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"&&((!OE||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(`
2520
- `)),OE=!0),e}}),n.mui=!0,n}var ME={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)"},FE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function LE(e){return"".concat(Math.round(e),"ms")}const $R={easing:ME,duration:FE,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?FE.standard:r,a=n.easing,i=a===void 0?ME.easeInOut:a,l=n.delay,s=l===void 0?0:l,u=Ut(n,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var d=function(m){return typeof m=="string"},f=function(m){return!isNaN(parseFloat(m))};!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(g){return"".concat(g," ").concat(typeof o=="string"?o:LE(o)," ").concat(i," ").concat(typeof s=="string"?s:LE(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 _R={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const xR=_R;function wR(){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=Ut(e,["breakpoints","mixins","palette","spacing","typography"]),f=aR(i),g=Wz(n),m=yR(l),h=ao({breakpoints:g,direction:"ltr",mixins:Hz(g,m,o),overrides:{},palette:f,props:{},shadows:fR,typography:lR(f,u),spacing:m,shape:mR,transitions:$R,zIndex:xR},d),b=arguments.length,v=new Array(b>1?b-1:0),$=1;$<b;$++)v[$-1]=arguments[$];if(h=v.reduce(function(S,k){return ao(S,k)},h),process.env.NODE_ENV!=="production"){var y=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],x=function S(k,P){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,_;for(_ in k){var C=k[_];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(k,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:vr({},"&$".concat(_),C)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
2521
- `)),k[_]={})}};x(h.overrides)}return h}var ER=wR();const SR=ER;function DR(e,t){return Uz(e,L({defaultTheme:SR},t))}var PR=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)}}},Uf=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,g=t.htmlColor,m=t.titleAccess,h=t.viewBox,b=h===void 0?"0 0 24 24":h,v=Ut(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return D.createElement(u,L({className:fw(o.root,a,l!=="inherit"&&o["color".concat(of(l))],f!=="default"&&f!=="medium"&&o["fontSize".concat(of(f))]),focusable:"false",viewBox:b,color:g,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n},v),r,m?D.createElement("title",null,m):null)});process.env.NODE_ENV!=="production"&&(Uf.propTypes={children:ie.node,classes:ie.object,className:ie.string,color:ie.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:ie.elementType,fontSize:Nw(ie.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:ie.string,shapeRendering:ie.string,titleAccess:ie.string,viewBox:ie.string}),Uf.muiName="SvgIcon";const NE=DR(PR,{name:"MuiSvgIcon"})(Uf);function TR(e,t){var n=function(o,a){return D.default.createElement(NE,L({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(n.displayName="".concat(t,"Icon")),n.muiName=NE.muiName,D.default.memo(D.default.forwardRef(n))}function kR(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 CR(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 AR(e,t){return D.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function zE(e){return e&&e.ownerDocument||document}function IR(e){var t=zE(e);return t.defaultView||window}function OR(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 Wf(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function MR(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 FR(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(`
2520
+ `)),OE=!0),e}}),n.mui=!0,n}var ME={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)"},FE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function LE(e){return"".concat(Math.round(e),"ms")}const $R={easing:ME,duration:FE,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?FE.standard:r,a=n.easing,i=a===void 0?ME.easeInOut:a,l=n.delay,s=l===void 0?0:l,u=Gt(n,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var d=function(m){return typeof m=="string"},f=function(m){return!isNaN(parseFloat(m))};!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(g){return"".concat(g," ").concat(typeof o=="string"?o:LE(o)," ").concat(i," ").concat(typeof s=="string"?s:LE(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 _R={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const xR=_R;function wR(){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=Gt(e,["breakpoints","mixins","palette","spacing","typography"]),f=aR(i),g=Wz(n),m=yR(l),h=io({breakpoints:g,direction:"ltr",mixins:Hz(g,m,o),overrides:{},palette:f,props:{},shadows:fR,typography:lR(f,u),spacing:m,shape:mR,transitions:$R,zIndex:xR},d),b=arguments.length,v=new Array(b>1?b-1:0),$=1;$<b;$++)v[$-1]=arguments[$];if(h=v.reduce(function(S,k){return io(S,k)},h),process.env.NODE_ENV!=="production"){var y=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],x=function S(k,P){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,_;for(_ in k){var C=k[_];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(k,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:yr({},"&$".concat(_),C)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
2521
+ `)),k[_]={})}};x(h.overrides)}return h}var ER=wR();const SR=ER;function DR(e,t){return Uz(e,L({defaultTheme:SR},t))}var PR=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)}}},Uf=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,g=t.htmlColor,m=t.titleAccess,h=t.viewBox,b=h===void 0?"0 0 24 24":h,v=Gt(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return D.createElement(u,L({className:fw(o.root,a,l!=="inherit"&&o["color".concat(of(l))],f!=="default"&&f!=="medium"&&o["fontSize".concat(of(f))]),focusable:"false",viewBox:b,color:g,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n},v),r,m?D.createElement("title",null,m):null)});process.env.NODE_ENV!=="production"&&(Uf.propTypes={children:ae.node,classes:ae.object,className:ae.string,color:ae.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:ae.elementType,fontSize:Nw(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}),Uf.muiName="SvgIcon";const NE=DR(PR,{name:"MuiSvgIcon"})(Uf);function TR(e,t){var n=function(o,a){return D.default.createElement(NE,L({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(n.displayName="".concat(t,"Icon")),n.muiName=NE.muiName,D.default.memo(D.default.forwardRef(n))}function kR(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 CR(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 AR(e,t){return D.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function zE(e){return e&&e.ownerDocument||document}function IR(e){var t=zE(e);return t.defaultView||window}function OR(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 Wf(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function MR(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 FR(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(`
2522
2522
  `))},[t]);var g=D.useRef(n),m=g.current;D.useEffect(function(){!l&&m!==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(`
2523
- `))},[JSON.stringify(n)])}var h=D.useCallback(function(b){l||d(b)},[]);return[f,h]}var LR=typeof window<"u"?D.useLayoutEffect:D.useEffect;function NR(e){var t=D.useRef(e);return LR(function(){t.current=e}),D.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function zR(e,t){return D.useMemo(function(){return e==null&&t==null?null:function(n){Wf(e,n),Wf(t,n)}},[e,t])}function RR(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,Hf=!1,RE=null,KR={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 VR(e){var t=e.type,n=e.tagName;return!!(n==="INPUT"&&KR[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function BR(e){e.metaKey||e.altKey||e.ctrlKey||(Ql=!0)}function Gf(){Ql=!1}function jR(){this.visibilityState==="hidden"&&Hf&&(Ql=!0)}function UR(e){e.addEventListener("keydown",BR,!0),e.addEventListener("mousedown",Gf,!0),e.addEventListener("pointerdown",Gf,!0),e.addEventListener("touchstart",Gf,!0),e.addEventListener("visibilitychange",jR,!0)}function KE(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return Ql||VR(t)}function WR(){Hf=!0,window.clearTimeout(RE),RE=window.setTimeout(function(){Hf=!1},100)}function HR(){var e=D.useCallback(function(t){var n=Ht.findDOMNode(t);n!=null&&UR(n.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&D.useDebugValue(KE),{isFocusVisible:KE,onBlurVisible:WR,ref:e}}const GR=m5(Object.freeze(Object.defineProperty({__proto__:null,capitalize:of,createChainedFunction:PL,createSvgIcon:TR,debounce:kR,deprecatedPropType:CR,isMuiElement:AR,ownerDocument:zE,ownerWindow:IR,requirePropFactory:OR,setRef:Wf,unstable_useId:RR,unsupportedProp:MR,useControlled:FR,useEventCallback:NR,useForkRef:zR,useIsFocusVisible:HR},Symbol.toStringTag,{value:"Module"})));var VE;function BE(){return VE||(VE=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=GR}(nf)),nf}var YR=Ow,qR=Lw;Object.defineProperty(tf,"__esModule",{value:!0});var jE=tf.default=void 0,XR=qR(D.default),ZR=YR(BE()),JR=(0,ZR.default)(XR.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");jE=tf.default=JR;var Yf={},QR=Ow,eK=Lw;Object.defineProperty(Yf,"__esModule",{value:!0});var UE=Yf.default=void 0,tK=eK(D.default),nK=QR(BE()),rK=(0,nK.default)(tK.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");UE=Yf.default=rK;function oK(e){return e&&e.__esModule?e.default:e}var WE={},HE={};HE={"Clear search":"مسح البحث"};var GE={};GE={"Clear search":"Изчистване на търсене"};var YE={};YE={"Clear search":"Vymazat hledání"};var qE={};qE={"Clear search":"Ryd søgning"};var XE={};XE={"Clear search":"Suche zurücksetzen"};var ZE={};ZE={"Clear search":"Απαλοιφή αναζήτησης"};var JE={};JE={"Clear search":"Clear search"};var QE={};QE={"Clear search":"Borrar búsqueda"};var eS={};eS={"Clear search":"Tühjenda otsing"};var tS={};tS={"Clear search":"Tyhjennä haku"};var nS={};nS={"Clear search":"Effacer la recherche"};var rS={};rS={"Clear search":"נקה חיפוש"};var oS={};oS={"Clear search":"Obriši pretragu"};var aS={};aS={"Clear search":"Keresés törlése"};var iS={};iS={"Clear search":"Cancella ricerca"};var lS={};lS={"Clear search":"検索をクリア"};var sS={};sS={"Clear search":"검색 지우기"};var cS={};cS={"Clear search":"Išvalyti iešką"};var uS={};uS={"Clear search":"Notīrīt meklēšanu"};var dS={};dS={"Clear search":"Tøm søk"};var fS={};fS={"Clear search":"Zoekactie wissen"};var pS={};pS={"Clear search":"Wyczyść zawartość wyszukiwania"};var mS={};mS={"Clear search":"Limpar pesquisa"};var gS={};gS={"Clear search":"Limpar pesquisa"};var hS={};hS={"Clear search":"Ştergeţi căutarea"};var bS={};bS={"Clear search":"Очистить поиск"};var vS={};vS={"Clear search":"Vymazať vyhľadávanie"};var yS={};yS={"Clear search":"Počisti iskanje"};var $S={};$S={"Clear search":"Obriši pretragu"};var _S={};_S={"Clear search":"Rensa sökning"};var xS={};xS={"Clear search":"Aramayı temizle"};var wS={};wS={"Clear search":"Очистити пошук"};var ES={};ES={"Clear search":"清除搜索"};var SS={};SS={"Clear search":"清除搜尋條件"},WE={"ar-AE":HE,"bg-BG":GE,"cs-CZ":YE,"da-DK":qE,"de-DE":XE,"el-GR":ZE,"en-US":JE,"es-ES":QE,"et-EE":eS,"fi-FI":tS,"fr-FR":nS,"he-IL":rS,"hr-HR":oS,"hu-HU":aS,"it-IT":iS,"ja-JP":lS,"ko-KR":sS,"lt-LT":cS,"lv-LV":uS,"nb-NO":dS,"nl-NL":fS,"pl-PL":pS,"pt-BR":mS,"pt-PT":gS,"ro-RO":hS,"ru-RU":bS,"sk-SK":vS,"sl-SI":yS,"sr-SP":$S,"sv-SE":_S,"tr-TR":xS,"uk-UA":wS,"zh-CN":ES,"zh-TW":SS};function aK(e,t,n){let r=Dt(oK(WE)),{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:g,inputProps:m,descriptionProps:h,errorMessageProps:b}=ga({...e,value:t.value,onChange:t.setValue,onKeyDown:Jt(u,e.onKeyDown),type:s},n);return{labelProps:g,inputProps:{...m,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 iK(e){let[t,n]=Vt(DS(e.value),DS(e.defaultValue)||"",e.onChange);return{value:t,setValue:n}}function DS(e){if(e!=null)return e.toString()}const lK=F.default.div`
2523
+ `))},[JSON.stringify(n)])}var h=D.useCallback(function(b){l||d(b)},[]);return[f,h]}var LR=typeof window<"u"?D.useLayoutEffect:D.useEffect;function NR(e){var t=D.useRef(e);return LR(function(){t.current=e}),D.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function zR(e,t){return D.useMemo(function(){return e==null&&t==null?null:function(n){Wf(e,n),Wf(t,n)}},[e,t])}function RR(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,Hf=!1,RE=null,KR={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 VR(e){var t=e.type,n=e.tagName;return!!(n==="INPUT"&&KR[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function BR(e){e.metaKey||e.altKey||e.ctrlKey||(Ql=!0)}function Gf(){Ql=!1}function jR(){this.visibilityState==="hidden"&&Hf&&(Ql=!0)}function UR(e){e.addEventListener("keydown",BR,!0),e.addEventListener("mousedown",Gf,!0),e.addEventListener("pointerdown",Gf,!0),e.addEventListener("touchstart",Gf,!0),e.addEventListener("visibilitychange",jR,!0)}function KE(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return Ql||VR(t)}function WR(){Hf=!0,window.clearTimeout(RE),RE=window.setTimeout(function(){Hf=!1},100)}function HR(){var e=D.useCallback(function(t){var n=Yt.findDOMNode(t);n!=null&&UR(n.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&D.useDebugValue(KE),{isFocusVisible:KE,onBlurVisible:WR,ref:e}}const GR=m5(Object.freeze(Object.defineProperty({__proto__:null,capitalize:of,createChainedFunction:PL,createSvgIcon:TR,debounce:kR,deprecatedPropType:CR,isMuiElement:AR,ownerDocument:zE,ownerWindow:IR,requirePropFactory:OR,setRef:Wf,unstable_useId:RR,unsupportedProp:MR,useControlled:FR,useEventCallback:NR,useForkRef:zR,useIsFocusVisible:HR},Symbol.toStringTag,{value:"Module"})));var VE;function BE(){return VE||(VE=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=GR}(nf)),nf}var YR=Ow,qR=Lw;Object.defineProperty(tf,"__esModule",{value:!0});var jE=tf.default=void 0,XR=qR(D.default),ZR=YR(BE()),JR=(0,ZR.default)(XR.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");jE=tf.default=JR;var Yf={},QR=Ow,eK=Lw;Object.defineProperty(Yf,"__esModule",{value:!0});var UE=Yf.default=void 0,tK=eK(D.default),nK=QR(BE()),rK=(0,nK.default)(tK.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");UE=Yf.default=rK;function oK(e){return e&&e.__esModule?e.default:e}var WE={},HE={};HE={"Clear search":"مسح البحث"};var GE={};GE={"Clear search":"Изчистване на търсене"};var YE={};YE={"Clear search":"Vymazat hledání"};var qE={};qE={"Clear search":"Ryd søgning"};var XE={};XE={"Clear search":"Suche zurücksetzen"};var ZE={};ZE={"Clear search":"Απαλοιφή αναζήτησης"};var JE={};JE={"Clear search":"Clear search"};var QE={};QE={"Clear search":"Borrar búsqueda"};var eS={};eS={"Clear search":"Tühjenda otsing"};var tS={};tS={"Clear search":"Tyhjennä haku"};var nS={};nS={"Clear search":"Effacer la recherche"};var rS={};rS={"Clear search":"נקה חיפוש"};var oS={};oS={"Clear search":"Obriši pretragu"};var aS={};aS={"Clear search":"Keresés törlése"};var iS={};iS={"Clear search":"Cancella ricerca"};var lS={};lS={"Clear search":"検索をクリア"};var sS={};sS={"Clear search":"검색 지우기"};var cS={};cS={"Clear search":"Išvalyti iešką"};var uS={};uS={"Clear search":"Notīrīt meklēšanu"};var dS={};dS={"Clear search":"Tøm søk"};var fS={};fS={"Clear search":"Zoekactie wissen"};var pS={};pS={"Clear search":"Wyczyść zawartość wyszukiwania"};var mS={};mS={"Clear search":"Limpar pesquisa"};var gS={};gS={"Clear search":"Limpar pesquisa"};var hS={};hS={"Clear search":"Ştergeţi căutarea"};var bS={};bS={"Clear search":"Очистить поиск"};var vS={};vS={"Clear search":"Vymazať vyhľadávanie"};var yS={};yS={"Clear search":"Počisti iskanje"};var $S={};$S={"Clear search":"Obriši pretragu"};var _S={};_S={"Clear search":"Rensa sökning"};var xS={};xS={"Clear search":"Aramayı temizle"};var wS={};wS={"Clear search":"Очистити пошук"};var ES={};ES={"Clear search":"清除搜索"};var SS={};SS={"Clear search":"清除搜尋條件"},WE={"ar-AE":HE,"bg-BG":GE,"cs-CZ":YE,"da-DK":qE,"de-DE":XE,"el-GR":ZE,"en-US":JE,"es-ES":QE,"et-EE":eS,"fi-FI":tS,"fr-FR":nS,"he-IL":rS,"hr-HR":oS,"hu-HU":aS,"it-IT":iS,"ja-JP":lS,"ko-KR":sS,"lt-LT":cS,"lv-LV":uS,"nb-NO":dS,"nl-NL":fS,"pl-PL":pS,"pt-BR":mS,"pt-PT":gS,"ro-RO":hS,"ru-RU":bS,"sk-SK":vS,"sl-SI":yS,"sr-SP":$S,"sv-SE":_S,"tr-TR":xS,"uk-UA":wS,"zh-CN":ES,"zh-TW":SS};function aK(e,t,n){let r=Tt(oK(WE)),{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:g,inputProps:m,descriptionProps:h,errorMessageProps:b}=ga({...e,value:t.value,onChange:t.setValue,onKeyDown:en(u,e.onKeyDown),type:s},n);return{labelProps:g,inputProps:{...m,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 iK(e){let[t,n]=Ut(DS(e.value),DS(e.defaultValue)||"",e.onChange);return{value:t,setValue:n}}function DS(e){if(e!=null)return e.toString()}const lK=F.default.div`
2524
2524
  --border-color: ${p.color_deprecated_outline_secondary_enabled};
2525
2525
 
2526
2526
  border-radius: ${p.border_radius_400};
@@ -2567,7 +2567,7 @@ const theme2 = createTheme({ palette: {
2567
2567
  line-height: 1;
2568
2568
  font-size: ${p.font_size_deprecated_50};
2569
2569
  }
2570
- `,cK=F.default(At)`
2570
+ `,cK=F.default(Ot)`
2571
2571
  padding-left: 32px;
2572
2572
  width: 100%;
2573
2573
 
@@ -2583,7 +2583,7 @@ const theme2 = createTheme({ palette: {
2583
2583
  &::-webkit-search-results-decoration {
2584
2584
  -webkit-appearance: none;
2585
2585
  }
2586
- `,PS=c.forwardRef((e,t)=>{const{label:n,boldLabel:r=!0,hideLabel:o,size:a="small",placeholder:i="Search",height:l=Tl.small,disabled:s,readOnly:u,required:d,onChange:f,onClear:g,onSubmit:m,value:h,hideIcon:b,...v}=e,$={label:n,placeholder:i,onClear:g,onSubmit:m,onChange:f,value:h,isDisabled:s,isReadOnly:u,isRequired:d},y=iK($),x=Dn(t),{labelProps:S,inputProps:k,clearButtonProps:P}=aK($,y,x);return ee(gt,{children:[w(Ke,{...S,srOnly:o,mb:o?void 0:p.spacing_100,bold:r,children:n}),ee(lK,{children:[b?null:w(UE,{style:{pointerEvents:"none"}}),w(cK,{height:l,...k,ref:x,placeholder:i,paddingSize:a,...v}),y.value!==""&&w(sK,{...P,children:w(jE,{})})]})]})});PS.displayName="Search";const TS="Switch",[uK,rB]=Ve(TS),[dK,fK]=uK(TS),pK=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,g]=c.useState(null),m=xe(t,y=>g(y)),h=c.useRef(!1),b=f?!!f.closest("form"):!0,[v=!1,$]=We({prop:o,defaultProp:a,onChange:u});return c.createElement(dK,{scope:n,checked:v,disabled:l},c.createElement(de.button,L({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":kS(v),"data-disabled":l?"":void 0,disabled:l,value:s},d,{ref:m,onClick:ae(e.onClick,y=>{$(x=>!x),b&&(h.current=y.isPropagationStopped(),h.current||y.stopPropagation())})})),b&&c.createElement(hK,{control:f,bubbles:!h.current,name:r,value:s,checked:v,required:i,disabled:l,style:{transform:"translateX(-100%)"}}))}),mK="SwitchThumb",gK=c.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=fK(mK,n);return c.createElement(de.span,L({"data-state":kS(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),hK=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,a=c.useRef(null),i=ww(n),l=td(t);return c.useEffect(()=>{const s=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==n&&f){const g=new Event("click",{bubbles:r});f.call(s,n),s.dispatchEvent(g)}},[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 kS(e){return e?"checked":"unchecked"}const bK=pK,vK=gK;function yK(e){const t=Bt(),n=e??t;return{...Bl(),disabled:n}}const $K=F.default(bK)`
2586
+ `,PS=c.forwardRef((e,t)=>{const{label:n,boldLabel:r=!0,hideLabel:o,size:a="small",placeholder:i="Search",height:l=Tl.small,disabled:s,readOnly:u,required:d,onChange:f,onClear:g,onSubmit:m,value:h,hideIcon:b,...v}=e,$={label:n,placeholder:i,onClear:g,onSubmit:m,onChange:f,value:h,isDisabled:s,isReadOnly:u,isRequired:d},y=iK($),x=Dn(t),{labelProps:S,inputProps:k,clearButtonProps:P}=aK($,y,x);return ee(vt,{children:[w(Be,{...S,srOnly:o,mb:o?void 0:p.spacing_100,bold:r,children:n}),ee(lK,{children:[b?null:w(UE,{style:{pointerEvents:"none"}}),w(cK,{height:l,...k,ref:x,placeholder:i,paddingSize:a,...v}),y.value!==""&&w(sK,{...P,children:w(jE,{})})]})]})});PS.displayName="Search";const TS="Switch",[uK,rB]=je(TS),[dK,fK]=uK(TS),pK=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,g]=c.useState(null),m=Ee(t,y=>g(y)),h=c.useRef(!1),b=f?!!f.closest("form"):!0,[v=!1,$]=Ge({prop:o,defaultProp:a,onChange:u});return c.createElement(dK,{scope:n,checked:v,disabled:l},c.createElement(de.button,L({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":kS(v),"data-disabled":l?"":void 0,disabled:l,value:s},d,{ref:m,onClick:oe(e.onClick,y=>{$(x=>!x),b&&(h.current=y.isPropagationStopped(),h.current||y.stopPropagation())})})),b&&c.createElement(hK,{control:f,bubbles:!h.current,name:r,value:s,checked:v,required:i,disabled:l,style:{transform:"translateX(-100%)"}}))}),mK="SwitchThumb",gK=c.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=fK(mK,n);return c.createElement(de.span,L({"data-state":kS(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),hK=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,a=c.useRef(null),i=ww(n),l=td(t);return c.useEffect(()=>{const s=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==n&&f){const g=new Event("click",{bubbles:r});f.call(s,n),s.dispatchEvent(g)}},[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 kS(e){return e?"checked":"unchecked"}const bK=pK,vK=gK;function yK(e){const t=Wt(),n=e??t;return{...Bl(),disabled:n}}const $K=F.default(bK)`
2587
2587
  all: unset;
2588
2588
  width: 40px;
2589
2589
  height: 24px;
@@ -2643,18 +2643,18 @@ const theme2 = createTheme({ palette: {
2643
2643
  &[data-state~='checked'] {
2644
2644
  transform: translateX(19px);
2645
2645
  }
2646
- `,CS=c.forwardRef((e,t)=>{const{disabled:n,...r}=e,o=yK(n);return w($K,{...r,...o,ref:t,children:w(_K,{})})});CS.displayName="Switch";const AS="Tabs",[xK,oB]=Ve(AS,[kn]),IS=kn(),[wK,qf]=xK(AS),EK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:l,activationMode:s="automatic",...u}=e,d=pr(l),[f,g]=We({prop:r,onChange:o,defaultProp:a});return c.createElement(wK,{scope:n,baseId:ot(),value:f,onValueChange:g,orientation:i,dir:d,activationMode:s},c.createElement(de.div,L({dir:d,"data-orientation":i},u,{ref:t})))}),SK="TabsList",DK=c.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,a=qf(SK,n),i=IS(n);return c.createElement(Fi,L({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:r}),c.createElement(de.div,L({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),PK="TabsTrigger",TK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=e,i=qf(PK,n),l=IS(n),s=OS(i.baseId,r),u=MS(i.baseId,r),d=r===i.value;return c.createElement(Li,L({asChild:!0},l,{focusable:!o,active:d}),c.createElement(de.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:ae(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?i.onValueChange(r):f.preventDefault()}),onKeyDown:ae(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&i.onValueChange(r)}),onFocus:ae(e.onFocus,()=>{const f=i.activationMode!=="manual";!d&&!o&&f&&i.onValueChange(r)})})))}),kK="TabsContent",CK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...i}=e,l=qf(kK,n),s=OS(l.baseId,r),u=MS(l.baseId,r),d=r===l.value,f=c.useRef(d);return c.useEffect(()=>{const g=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(g)},[]),c.createElement(He,{present:o||d},({present:g})=>c.createElement(de.div,L({"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":s,hidden:!g,id:u,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),g&&a))});function OS(e,t){return`${e}-trigger-${t}`}function MS(e,t){return`${e}-content-${t}`}const FS=EK,LS=DK,NS=TK,zS=CK,AK=F.default(FS)`
2646
+ `,CS=c.forwardRef((e,t)=>{const{disabled:n,...r}=e,o=yK(n);return w($K,{...r,...o,ref:t,children:w(_K,{})})});CS.displayName="Switch";const AS="Tabs",[xK,oB]=je(AS,[kn]),IS=kn(),[wK,qf]=xK(AS),EK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:l,activationMode:s="automatic",...u}=e,d=mr(l),[f,g]=Ge({prop:r,onChange:o,defaultProp:a});return c.createElement(wK,{scope:n,baseId:it(),value:f,onValueChange:g,orientation:i,dir:d,activationMode:s},c.createElement(de.div,L({dir:d,"data-orientation":i},u,{ref:t})))}),SK="TabsList",DK=c.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,a=qf(SK,n),i=IS(n);return c.createElement(Fi,L({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:r}),c.createElement(de.div,L({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),PK="TabsTrigger",TK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=e,i=qf(PK,n),l=IS(n),s=OS(i.baseId,r),u=MS(i.baseId,r),d=r===i.value;return c.createElement(Li,L({asChild:!0},l,{focusable:!o,active:d}),c.createElement(de.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)})})))}),kK="TabsContent",CK=c.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...i}=e,l=qf(kK,n),s=OS(l.baseId,r),u=MS(l.baseId,r),d=r===l.value,f=c.useRef(d);return c.useEffect(()=>{const g=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(g)},[]),c.createElement(Ye,{present:o||d},({present:g})=>c.createElement(de.div,L({"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":s,hidden:!g,id:u,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),g&&a))});function OS(e,t){return`${e}-trigger-${t}`}function MS(e,t){return`${e}-content-${t}`}const FS=EK,LS=DK,NS=TK,zS=CK,AK=F.default(FS)`
2647
2647
  position: relative;
2648
2648
  display: flex;
2649
2649
  flex-direction: column;
2650
2650
  font-family: ${p.font_family_pingo};
2651
2651
  scrollbar-gutter: none;
2652
- `,RS=(e,t)=>D.default.Children.map(e,n=>{var r;if(D.default.isValidElement(n)){if(n.type.displayName==="Trigger"||n.type.displayName==="TabList.Trigger")return D.default.cloneElement(n,{variant:t});if((r=n.props)!=null&&r.children){const o=RS(n.props.children,t);return D.default.cloneElement(n,{children:o})}}return n}),fo=({children:e,variant:t="primary",...n})=>{const r=RS(e,t);return w(AK,{...n,children:r})};fo.displayName="TabList";const KS=F.default(LS)`
2652
+ `,RS=(e,t)=>D.default.Children.map(e,n=>{var r;if(D.default.isValidElement(n)){if(n.type.displayName==="Trigger"||n.type.displayName==="TabList.Trigger")return D.default.cloneElement(n,{variant:t});if((r=n.props)!=null&&r.children){const o=RS(n.props.children,t);return D.default.cloneElement(n,{children:o})}}return n}),po=({children:e,variant:t="primary",...n})=>{const r=RS(e,t);return w(AK,{...n,children:r})};po.displayName="TabList";const KS=F.default(LS)`
2653
2653
  flex-shrink: 0;
2654
2654
  display: flex;
2655
2655
  overflow-x: auto;
2656
2656
  scrollbar-gutter: none;
2657
- `;KS.displayName="List",fo.List=KS;const VS=ue.css`
2657
+ `;KS.displayName="List",po.List=KS;const VS=ue.css`
2658
2658
  display: flex;
2659
2659
  justify-content: center;
2660
2660
  align-items: center;
@@ -2696,7 +2696,7 @@ const theme2 = createTheme({ palette: {
2696
2696
  color: ${p.color_black};
2697
2697
  }
2698
2698
  `}
2699
- `;BS.displayName="Trigger",fo.Trigger=BS;const jS=F.default(Tn)`
2699
+ `;BS.displayName="Trigger",po.Trigger=BS;const jS=F.default(Tn)`
2700
2700
  display: flex !important;
2701
2701
  justify-content: center !important;
2702
2702
  align-items: center !important;
@@ -2710,7 +2710,7 @@ const theme2 = createTheme({ palette: {
2710
2710
  background-color: ${p.color_white};
2711
2711
  }
2712
2712
  }
2713
- `;jS.displayName="Action",fo.Action=jS;const IK=F.default(zS)`
2713
+ `;jS.displayName="Action",po.Action=jS;const IK=F.default(zS)`
2714
2714
  flex-grow: 1;
2715
2715
  padding: ${p.sizing_450} 0;
2716
2716
  background-color: ${p.color_white};
@@ -2719,7 +2719,7 @@ const theme2 = createTheme({ palette: {
2719
2719
  &:focus-visible {
2720
2720
  box-shadow: ${p.elevation_interactive_low};
2721
2721
  }
2722
- `;fo.Content=IK;const es=F.default(FS)`
2722
+ `;po.Content=IK;const es=F.default(FS)`
2723
2723
  display: flex;
2724
2724
  flex-direction: column;
2725
2725
  font-family: ${p.font_family_pingo};
@@ -2782,7 +2782,7 @@ const theme2 = createTheme({ palette: {
2782
2782
  - horizontal
2783
2783
  - vertical
2784
2784
 
2785
- Defaulting to \`${Xf}\`.`}function WS(e){return LK.includes(e)}const zK=US,HS="ToastProvider",[Zf,RK,KK]=La("Toast"),[GS,aB]=Ve("Toast",[KK]),[VK,ts]=GS(HS),YS=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),g=c.useRef(!1);return c.createElement(Zf.Provider,{scope:t},c.createElement(VK,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:a,toastCount:u,viewport:l,onViewportChange:s,onToastAdd:c.useCallback(()=>d(m=>m+1),[]),onToastRemove:c.useCallback(()=>d(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:g},i))};YS.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${HS}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const BK="ToastViewport",jK=["F8"],Jf="toast.viewportPause",Qf="toast.viewportResume",UK=c.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=jK,label:o="Notifications ({hotkey})",...a}=e,i=ts(BK,n),l=RK(n),s=c.useRef(null),u=c.useRef(null),d=c.useRef(null),f=c.useRef(null),g=xe(t,f,i.onViewportChange),m=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(Jf);$.dispatchEvent(P),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const P=new CustomEvent(Qf);$.dispatchEvent(P),i.isClosePausedRef.current=!1}},S=P=>{!v.contains(P.relatedTarget)&&x()},k=()=>{v.contains(document.activeElement)||x()};return v.addEventListener("focusin",y),v.addEventListener("focusout",S),v.addEventListener("pointermove",y),v.addEventListener("pointerleave",k),window.addEventListener("blur",y),window.addEventListener("focus",x),()=>{v.removeEventListener("focusin",y),v.removeEventListener("focusout",S),v.removeEventListener("pointermove",y),v.removeEventListener("pointerleave",k),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,k=[S,...aV(S)];return v==="forwards"?k:k.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 k;(k=u.current)===null||k===void 0||k.focus();return}const V=b({tabbingDirection:C?"backwards":"forwards"}),O=V.findIndex(T=>T===_);if(ep(V.slice(O+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(cP,{ref:s,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:h?void 0:"none"}},h&&c.createElement(qS,{ref:u,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"forwards"});ep(v)}}),c.createElement(Zf.Slot,{scope:n},c.createElement(de.ol,L({tabIndex:-1},a,{ref:g}))),h&&c.createElement(qS,{ref:d,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"backwards"});ep(v)}}))}),WK="ToastFocusProxy",qS=c.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,a=ts(WK,n);return c.createElement(ps,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()}}))}),ns="Toast",HK="toast.swipeStart",GK="toast.swipeMove",YK="toast.swipeCancel",qK="toast.swipeEnd",XK=c.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:a,...i}=e,[l=!0,s]=We({prop:r,defaultProp:o,onChange:a});return c.createElement(He,{present:n||l},c.createElement(XS,L({open:l},i,{ref:t,onClose:()=>s(!1),onPause:Ue(e.onPause),onResume:Ue(e.onResume),onSwipeStart:ae(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ae(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:ae(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:ae(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)})})))}),[ZK,JK]=GS(ns,{onClose(){}}),XS=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:g,onSwipeEnd:m,...h}=e,b=ts(ns,n),[v,$]=c.useState(null),y=xe(t,T=>$(T)),x=c.useRef(null),S=c.useRef(null),k=o||b.duration,P=c.useRef(0),M=c.useRef(k),_=c.useRef(0),{onToastAdd:C,onToastRemove:N}=b,E=Ue(()=>{var T;(v==null?void 0:v.contains(document.activeElement))&&((T=b.viewport)===null||T===void 0||T.focus()),i()}),V=c.useCallback(T=>{!T||T===1/0||(window.clearTimeout(_.current),P.current=new Date().getTime(),_.current=window.setTimeout(E,T))},[E]);c.useEffect(()=>{const T=b.viewport;if(T){const U=()=>{V(M.current),u==null||u()},I=()=>{const Z=new Date().getTime()-P.current;M.current=M.current-Z,window.clearTimeout(_.current),s==null||s()};return T.addEventListener(Jf,I),T.addEventListener(Qf,U),()=>{T.removeEventListener(Jf,I),T.removeEventListener(Qf,U)}}},[b.viewport,k,s,u,V]),c.useEffect(()=>{a&&!b.isClosePausedRef.current&&V(k)},[a,k,b.isClosePausedRef,V]),c.useEffect(()=>(C(),()=>N()),[C,N]);const O=c.useMemo(()=>v?e5(v):null,[v]);return b.viewport?c.createElement(c.Fragment,null,O&&c.createElement(QK,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0},O),c.createElement(ZK,{scope:n,onClose:E},ho.createPortal(c.createElement(Zf.ItemSlot,{scope:n},c.createElement(sP,{asChild:!0,onEscapeKeyDown:ae(l,()=>{b.isFocusedToastEscapeKeyDownRef.current||E(),b.isFocusedToastEscapeKeyDownRef.current=!1})},c.createElement(de.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:ae(e.onKeyDown,T=>{T.key==="Escape"&&(l==null||l(T.nativeEvent),T.nativeEvent.defaultPrevented||(b.isFocusedToastEscapeKeyDownRef.current=!0,E()))}),onPointerDown:ae(e.onPointerDown,T=>{T.button===0&&(x.current={x:T.clientX,y:T.clientY})}),onPointerMove:ae(e.onPointerMove,T=>{if(!x.current)return;const U=T.clientX-x.current.x,I=T.clientY-x.current.y,Z=!!S.current,j=["left","right"].includes(b.swipeDirection),q=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,R=j?q(0,U):0,W=j?0:q(0,I),B=T.pointerType==="touch"?10:2,K={x:R,y:W},H={originalEvent:T,delta:K};Z?(S.current=K,rs(GK,f,H,{discrete:!1})):t5(K,b.swipeDirection,B)?(S.current=K,rs(HK,d,H,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(U)>B||Math.abs(I)>B)&&(x.current=null)}),onPointerUp:ae(e.onPointerUp,T=>{const U=S.current,I=T.target;if(I.hasPointerCapture(T.pointerId)&&I.releasePointerCapture(T.pointerId),S.current=null,x.current=null,U){const Z=T.currentTarget,j={originalEvent:T,delta:U};t5(U,b.swipeDirection,b.swipeThreshold)?rs(qK,m,j,{discrete:!0}):rs(YK,g,j,{discrete:!0}),Z.addEventListener("click",q=>q.preventDefault(),{once:!0})}})})))),b.viewport))):null});XS.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${ns}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const QK=e=>{const{__scopeToast:t,children:n,...r}=e,o=ts(ns,t),[a,i]=c.useState(!1),[l,s]=c.useState(!1);return rV(()=>i(!0)),c.useEffect(()=>{const u=window.setTimeout(()=>s(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:c.createElement(Do,{asChild:!0},c.createElement(ps,r,a&&c.createElement(c.Fragment,null,o.label," ",n)))},eV=c.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.createElement(de.div,L({},r,{ref:t}))}),tV="ToastAction",ZS=c.forwardRef((e,t)=>{const{altText:n,...r}=e;return n?c.createElement(QS,{altText:n,asChild:!0},c.createElement(JS,L({},r,{ref:t}))):null});ZS.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${tV}\``)}};const nV="ToastClose",JS=c.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=JK(nV,n);return c.createElement(QS,{asChild:!0},c.createElement(de.button,L({type:"button"},r,{ref:t,onClick:ae(e.onClick,o.onClose)})))}),QS=c.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return c.createElement(de.div,L({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0},o,{ref:t}))});function e5(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),oV(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(...e5(r))}}),t}function rs(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?fs(o,a):o.dispatchEvent(a)}const t5=(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 rV(e=()=>{}){const t=Ue(e);vn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function oV(e){return e.nodeType===e.ELEMENT_NODE}function aV(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 ep(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}const iV=YS,lV=UK,sV=XK,cV=eV,uV=ZS,dV=JS,tp=25,fV=ue.keyframes`
2785
+ Defaulting to \`${Xf}\`.`}function WS(e){return LK.includes(e)}const zK=US,HS="ToastProvider",[Zf,RK,KK]=La("Toast"),[GS,aB]=je("Toast",[KK]),[VK,ts]=GS(HS),YS=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),g=c.useRef(!1);return c.createElement(Zf.Provider,{scope:t},c.createElement(VK,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:a,toastCount:u,viewport:l,onViewportChange:s,onToastAdd:c.useCallback(()=>d(m=>m+1),[]),onToastRemove:c.useCallback(()=>d(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:g},i))};YS.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${HS}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const BK="ToastViewport",jK=["F8"],Jf="toast.viewportPause",Qf="toast.viewportResume",UK=c.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=jK,label:o="Notifications ({hotkey})",...a}=e,i=ts(BK,n),l=RK(n),s=c.useRef(null),u=c.useRef(null),d=c.useRef(null),f=c.useRef(null),g=Ee(t,f,i.onViewportChange),m=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(Jf);$.dispatchEvent(P),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const P=new CustomEvent(Qf);$.dispatchEvent(P),i.isClosePausedRef.current=!1}},S=P=>{!v.contains(P.relatedTarget)&&x()},k=()=>{v.contains(document.activeElement)||x()};return v.addEventListener("focusin",y),v.addEventListener("focusout",S),v.addEventListener("pointermove",y),v.addEventListener("pointerleave",k),window.addEventListener("blur",y),window.addEventListener("focus",x),()=>{v.removeEventListener("focusin",y),v.removeEventListener("focusout",S),v.removeEventListener("pointermove",y),v.removeEventListener("pointerleave",k),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,k=[S,...aV(S)];return v==="forwards"?k:k.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 k;(k=u.current)===null||k===void 0||k.focus();return}const V=b({tabbingDirection:C?"backwards":"forwards"}),O=V.findIndex(T=>T===_);if(ep(V.slice(O+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(cP,{ref:s,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:h?void 0:"none"}},h&&c.createElement(qS,{ref:u,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"forwards"});ep(v)}}),c.createElement(Zf.Slot,{scope:n},c.createElement(de.ol,L({tabIndex:-1},a,{ref:g}))),h&&c.createElement(qS,{ref:d,onFocusFromOutsideViewport:()=>{const v=b({tabbingDirection:"backwards"});ep(v)}}))}),WK="ToastFocusProxy",qS=c.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,a=ts(WK,n);return c.createElement(ps,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()}}))}),ns="Toast",HK="toast.swipeStart",GK="toast.swipeMove",YK="toast.swipeCancel",qK="toast.swipeEnd",XK=c.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:a,...i}=e,[l=!0,s]=Ge({prop:r,defaultProp:o,onChange:a});return c.createElement(Ye,{present:n||l},c.createElement(XS,L({open:l},i,{ref:t,onClose:()=>s(!1),onPause:He(e.onPause),onResume:He(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)})})))}),[ZK,JK]=GS(ns,{onClose(){}}),XS=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:g,onSwipeEnd:m,...h}=e,b=ts(ns,n),[v,$]=c.useState(null),y=Ee(t,T=>$(T)),x=c.useRef(null),S=c.useRef(null),k=o||b.duration,P=c.useRef(0),M=c.useRef(k),_=c.useRef(0),{onToastAdd:C,onToastRemove:N}=b,E=He(()=>{var T;(v==null?void 0:v.contains(document.activeElement))&&((T=b.viewport)===null||T===void 0||T.focus()),i()}),V=c.useCallback(T=>{!T||T===1/0||(window.clearTimeout(_.current),P.current=new Date().getTime(),_.current=window.setTimeout(E,T))},[E]);c.useEffect(()=>{const T=b.viewport;if(T){const U=()=>{V(M.current),u==null||u()},I=()=>{const X=new Date().getTime()-P.current;M.current=M.current-X,window.clearTimeout(_.current),s==null||s()};return T.addEventListener(Jf,I),T.addEventListener(Qf,U),()=>{T.removeEventListener(Jf,I),T.removeEventListener(Qf,U)}}},[b.viewport,k,s,u,V]),c.useEffect(()=>{a&&!b.isClosePausedRef.current&&V(k)},[a,k,b.isClosePausedRef,V]),c.useEffect(()=>(C(),()=>N()),[C,N]);const O=c.useMemo(()=>v?e5(v):null,[v]);return b.viewport?c.createElement(c.Fragment,null,O&&c.createElement(QK,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0},O),c.createElement(ZK,{scope:n,onClose:E},ho.createPortal(c.createElement(Zf.ItemSlot,{scope:n},c.createElement(sP,{asChild:!0,onEscapeKeyDown:oe(l,()=>{b.isFocusedToastEscapeKeyDownRef.current||E(),b.isFocusedToastEscapeKeyDownRef.current=!1})},c.createElement(de.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,T=>{T.key==="Escape"&&(l==null||l(T.nativeEvent),T.nativeEvent.defaultPrevented||(b.isFocusedToastEscapeKeyDownRef.current=!0,E()))}),onPointerDown:oe(e.onPointerDown,T=>{T.button===0&&(x.current={x:T.clientX,y:T.clientY})}),onPointerMove:oe(e.onPointerMove,T=>{if(!x.current)return;const U=T.clientX-x.current.x,I=T.clientY-x.current.y,X=!!S.current,j=["left","right"].includes(b.swipeDirection),Y=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,z=j?Y(0,U):0,W=j?0:Y(0,I),B=T.pointerType==="touch"?10:2,K={x:z,y:W},H={originalEvent:T,delta:K};X?(S.current=K,rs(GK,f,H,{discrete:!1})):t5(K,b.swipeDirection,B)?(S.current=K,rs(HK,d,H,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(U)>B||Math.abs(I)>B)&&(x.current=null)}),onPointerUp:oe(e.onPointerUp,T=>{const U=S.current,I=T.target;if(I.hasPointerCapture(T.pointerId)&&I.releasePointerCapture(T.pointerId),S.current=null,x.current=null,U){const X=T.currentTarget,j={originalEvent:T,delta:U};t5(U,b.swipeDirection,b.swipeThreshold)?rs(qK,m,j,{discrete:!0}):rs(YK,g,j,{discrete:!0}),X.addEventListener("click",Y=>Y.preventDefault(),{once:!0})}})})))),b.viewport))):null});XS.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${ns}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const QK=e=>{const{__scopeToast:t,children:n,...r}=e,o=ts(ns,t),[a,i]=c.useState(!1),[l,s]=c.useState(!1);return rV(()=>i(!0)),c.useEffect(()=>{const u=window.setTimeout(()=>s(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:c.createElement(Do,{asChild:!0},c.createElement(ps,r,a&&c.createElement(c.Fragment,null,o.label," ",n)))},eV=c.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.createElement(de.div,L({},r,{ref:t}))}),tV="ToastAction",ZS=c.forwardRef((e,t)=>{const{altText:n,...r}=e;return n?c.createElement(QS,{altText:n,asChild:!0},c.createElement(JS,L({},r,{ref:t}))):null});ZS.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${tV}\``)}};const nV="ToastClose",JS=c.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=JK(nV,n);return c.createElement(QS,{asChild:!0},c.createElement(de.button,L({type:"button"},r,{ref:t,onClick:oe(e.onClick,o.onClose)})))}),QS=c.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return c.createElement(de.div,L({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0},o,{ref:t}))});function e5(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),oV(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(...e5(r))}}),t}function rs(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?fs(o,a):o.dispatchEvent(a)}const t5=(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 rV(e=()=>{}){const t=He(e);vn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function oV(e){return e.nodeType===e.ELEMENT_NODE}function aV(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 ep(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}const iV=YS,lV=UK,sV=XK,cV=eV,uV=ZS,dV=JS,tp=25,fV=ue.keyframes`
2786
2786
  0% {
2787
2787
  opacity: 1
2788
2788
  }
@@ -2899,5 +2899,5 @@ Defaulting to \`${Xf}\`.`}function WS(e){return LK.includes(e)}const zK=US,HS="T
2899
2899
  &[data-swipe='move'] {
2900
2900
  transform: translateX(var(--radix-toast-swipe-move-x));
2901
2901
  }
2902
- `;function xV({children:e,...t}){return w(iV,{...t,children:e})}function np({title:e,children:t,variant:n="primary",onDismiss:r,...o}){const a=bV[n],i=vV[n],l=yV[n];return ee(_V,{style:{"--color-background-notification":a,"--color-notification":i},variant:n,...o,children:[n==="negative"?w(we.Warning,{height:18}):null,w(hV,{children:e}),w(r5,{style:{"--color-separator":l}}),t,w(n5,{onClick:r,children:w(yo,{label:"Dismiss notification",children:w(we.Close,{width:18,height:18})})})]})}np.Action=gV,np.Close=n5,z.AccessibleIcon=yo,z.Accordion=tP,z.AlertDialog=_7,z.AlertDialogAction=w7,z.AlertDialogCancel=E7,z.AlertDialogCancelButton=D7,z.AlertDialogContent=b7,z.AlertDialogDescription=y7,z.AlertDialogFooter=$7,z.AlertDialogTitle=v7,z.AlertDialogTrigger=x7,z.Animator=ha,z.Badge=k7,z.Banner=Gc,z.Box=me,z.Button=Uo,z.ButtonBase=St,z.ButtonGroup=Th,z.ButtonMenu=D0,z.ButtonV2=Tn,z.Calendar=ar,z.CalendarCell=cv,z.CalendarGrid=cl,z.CalendarHeader=dv,z.Checkbox=cd,z.ChevronDown=Il,z.ComboBox=xd,z.DateInput=xF,z.DateTimeInput=EF,z.Dialog=f7,z.DialogClose=m7,z.DialogCloseButton=d7,z.DialogContent=l7,z.DialogDescription=c7,z.DialogFooter=Dg,z.DialogTitle=s7,z.DialogTrigger=p7,z.Direction=hw,z.Divider=G$,z.Drawer=Q$,z.DropdownMenu=bO,z.DropdownMenuArrow=DO,z.DropdownMenuCheckboxItem=EO,z.DropdownMenuContent=y_,z.DropdownMenuGroup=yO,z.DropdownMenuItem=xO,z.DropdownMenuItemIndicator=SO,z.DropdownMenuLabel=PO,z.DropdownMenuPortal=vO,z.DropdownMenuRadioGroup=_O,z.DropdownMenuRadioItem=wO,z.DropdownMenuSeparator=TO,z.DropdownMenuSub=kO,z.DropdownMenuSubContent=AO,z.DropdownMenuSubTrigger=CO,z.DropdownMenuTrigger=$O,z.EditButtonRight=ew,z.Fieldset=mC,z.FileUpload=y1,z.Flex=xt,z.FormControl=uF,z.GoogleInput=QM,z.IconButton=aa,z.IconTooltip=Ze,z.InlineEdit=tw,z.InputBase=At,z.InputDescription=B$,z.InputDescriptionWrapper=V$,z.InputErrorMessage=ht,z.InputErrorMessageWrapper=j$,z.InputWrapper=gt,z.Item=Qd,z.Label=Ke,z.LabeledText=DF,z.Modal=t7,z.MultiSelect=gw,z.MultiSelectComponent=Xd,z.MultiSelectItem=Qr,z.MultiSelectSection=dd,z.NavigationMenu=VF,z.NavigationMenuPortal=BF,z.NumberFormControl=Jx,z.NumberInput=Bd,z.Page=$w,z.PageContent=UF,z.PageGrid=jF,z.PageHeader=_w,z.PageHeaderContent=GF,z.Pagination=u2,z.PaginatorButton=la,z.PaginatorNumber=dl,z.Panel=tL,z.Placeholder=Yd,z.Popover=pM,z.PopoverClose=zd,z.PopoverCloseCross=fM,z.PopoverContent=v1,z.PopoverTrigger=mM,z.Radio=_L,z.RadioGroup=$L,z.RadioGroupIndicator=Aw,z.RadioGroupRadio=Cw,z.RangeCalendar=l2,z.Search=PS,z.SectionHeader=Mp,z.SectionItem=Fp,z.SectionTitle=Op,z.Separator=ef,z.SingleSelect=mw,z.SingleSelectItem=Qr,z.SingleSelectSection=dd,z.Skeleton=It,z.SkeletonBody=Ed,z.SkeletonBox=Sd,z.SkeletonFooter=Y$,z.SkeletonHeader=wd,z.Stack=Or,z.StickyPageHeader=HF,z.StyledButtonBox=Hc,z.StyledButtonGroup=Ph,z.StyledFieldSet=bh,z.StyledPanelBox=xw,z.Switch=CS,z.TabList=fo,z.Tabs=es,z.Text=rt,z.TextAreaFormControl=Zx,z.TextFormControl=Xx,z.TextInput=jd,z.Time=Tt,z.TimeField=_F,z.TimeInput=wa,z.TimeWrapper=$F,z.Title=Gn,z.TitleBase=En,z.Toast=np,z.ToastProvider=xV,z.ToastSeparator=r5,z.ToastViewport=$V,z.Tooltip=Qv,z.TooltipContent=ey,z.TooltipProvider=Jv,z.TooltipTrigger=sd,z.TriggerButton=qd,z.Wrapper=H$,z.boxSystem=qt,z.buttonPadding=tu,z.buttonV2System=Ai,z.defaultFormInput=K$,z.defaultTypography=Cl,z.dialogCloseButtonStyles=wc,z.dialogContentStyles=$c,z.dialogDescriptionStyles=xc,z.dialogTitleStyles=_c,z.dialogWidths=ui,z.getNextMonth=sw,z.getPreviousMonth=lw,z.getSelectedName=k1,z.getTruncate=wo,z.handleFormWithNumbers=cF,z.inputHeight=Tl,z.inputPadding=R$,z.overlayStyles=yc,z.pageMinMaxWidth=yw,z.parseUserInput=Gd,z.placeholderStyles=kl,z.useDrawer=IA,z.useFieldProps=Bl,z.useFieldset=Bt,z.useModal=n7,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
2902
+ `;function xV({children:e,...t}){return w(iV,{...t,children:e})}function np({title:e,children:t,variant:n="primary",onDismiss:r,...o}){const a=bV[n],i=vV[n],l=yV[n];return ee(_V,{style:{"--color-background-notification":a,"--color-notification":i},variant:n,...o,children:[n==="negative"?w(Se.Warning,{height:18}):null,w(hV,{children:e}),w(r5,{style:{"--color-separator":l}}),t,w(n5,{onClick:r,children:w(yo,{label:"Dismiss notification",children:w(Se.Close,{width:18,height:18})})})]})}np.Action=gV,np.Close=n5,R.AccessibleIcon=yo,R.Accordion=tP,R.AlertDialog=_7,R.AlertDialogAction=w7,R.AlertDialogCancel=E7,R.AlertDialogCancelButton=D7,R.AlertDialogContent=b7,R.AlertDialogDescription=y7,R.AlertDialogFooter=$7,R.AlertDialogTitle=v7,R.AlertDialogTrigger=x7,R.Animator=ha,R.Badge=k7,R.Banner=Gc,R.Box=me,R.Button=Uo,R.ButtonBase=Pt,R.ButtonGroup=Th,R.ButtonMenu=D0,R.ButtonV2=Tn,R.Calendar=ir,R.CalendarCell=cv,R.CalendarGrid=cl,R.CalendarHeader=dv,R.Checkbox=cd,R.ChevronDown=Il,R.ComboBox=xd,R.DateInput=xF,R.DateTimeInput=EF,R.Dialog=f7,R.DialogClose=m7,R.DialogCloseButton=d7,R.DialogContent=l7,R.DialogDescription=c7,R.DialogFooter=Dg,R.DialogTitle=s7,R.DialogTrigger=p7,R.Direction=hw,R.Divider=G$,R.Drawer=Q$,R.DropdownMenu=bO,R.DropdownMenuArrow=DO,R.DropdownMenuCheckboxItem=EO,R.DropdownMenuContent=y_,R.DropdownMenuGroup=yO,R.DropdownMenuItem=xO,R.DropdownMenuItemIndicator=SO,R.DropdownMenuLabel=PO,R.DropdownMenuPortal=vO,R.DropdownMenuRadioGroup=_O,R.DropdownMenuRadioItem=wO,R.DropdownMenuSeparator=TO,R.DropdownMenuSub=kO,R.DropdownMenuSubContent=AO,R.DropdownMenuSubTrigger=CO,R.DropdownMenuTrigger=$O,R.EditButtonRight=ew,R.Fieldset=mC,R.FileUpload=y1,R.Flex=Et,R.FormControl=uF,R.GoogleInput=QM,R.IconButton=aa,R.IconTooltip=Qe,R.InlineEdit=tw,R.InputBase=Ot,R.InputDescription=B$,R.InputDescriptionWrapper=V$,R.InputErrorMessage=yt,R.InputErrorMessageWrapper=j$,R.InputWrapper=vt,R.Item=Qd,R.Label=Be,R.LabeledText=DF,R.Modal=t7,R.MultiSelect=gw,R.MultiSelectComponent=Xd,R.MultiSelectItem=eo,R.MultiSelectSection=dd,R.NavigationMenu=VF,R.NavigationMenuPortal=BF,R.NumberFormControl=Jx,R.NumberInput=Bd,R.Page=$w,R.PageContent=UF,R.PageGrid=jF,R.PageHeader=_w,R.PageHeaderContent=GF,R.Pagination=u2,R.PaginatorButton=la,R.PaginatorNumber=dl,R.Panel=tL,R.Placeholder=Yd,R.Popover=pM,R.PopoverClose=zd,R.PopoverCloseCross=fM,R.PopoverContent=v1,R.PopoverTrigger=mM,R.Radio=_L,R.RadioGroup=$L,R.RadioGroupIndicator=Aw,R.RadioGroupRadio=Cw,R.RangeCalendar=l2,R.Search=PS,R.SectionHeader=Mp,R.SectionItem=Fp,R.SectionTitle=Op,R.Separator=ef,R.SingleSelect=mw,R.SingleSelectItem=eo,R.SingleSelectSection=dd,R.Skeleton=Mt,R.SkeletonBody=Ed,R.SkeletonBox=Sd,R.SkeletonFooter=Y$,R.SkeletonHeader=wd,R.Stack=Mr,R.StickyPageHeader=HF,R.StyledButtonBox=Hc,R.StyledButtonGroup=Ph,R.StyledFieldSet=bh,R.StyledPanelBox=xw,R.Switch=CS,R.TabList=po,R.Tabs=es,R.Text=at,R.TextAreaFormControl=Zx,R.TextFormControl=Xx,R.TextInput=jd,R.Time=Ct,R.TimeField=_F,R.TimeInput=wa,R.TimeWrapper=$F,R.Title=Yn,R.TitleBase=En,R.Toast=np,R.ToastProvider=xV,R.ToastSeparator=r5,R.ToastViewport=$V,R.Tooltip=Qv,R.TooltipContent=ey,R.TooltipProvider=Jv,R.TooltipTrigger=sd,R.TriggerButton=qd,R.Wrapper=H$,R.boxSystem=Zt,R.buttonPadding=tu,R.buttonV2System=Ai,R.defaultFormInput=K$,R.defaultTypography=Cl,R.dialogCloseButtonStyles=wc,R.dialogContentStyles=$c,R.dialogDescriptionStyles=xc,R.dialogTitleStyles=_c,R.dialogWidths=ui,R.getNextMonth=sw,R.getPreviousMonth=lw,R.getSelectedName=k1,R.getTruncate=wo,R.handleFormWithNumbers=cF,R.inputHeight=Tl,R.inputPadding=R$,R.overlayStyles=yc,R.pageMinMaxWidth=yw,R.parseUserInput=Gd,R.placeholderStyles=kl,R.useDrawer=IA,R.useFieldProps=Bl,R.useFieldset=Wt,R.useModal=n7,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
2903
2903
  //# sourceMappingURL=trc-components.umd.js.map