@fluidattacks/design 2.6.0 → 3.0.0

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.
Files changed (49) hide show
  1. package/dist/button.js +2 -0
  2. package/dist/button.mjs +6 -0
  3. package/dist/index-B8peEiF9.mjs +2056 -0
  4. package/dist/index-DeLYVJmb.js +63 -0
  5. package/dist/index.js +345 -289
  6. package/dist/index.mjs +14077 -11201
  7. package/dist/types/components/@core/types.d.ts +3 -2
  8. package/dist/types/components/card/card-with-input/index.d.ts +3 -0
  9. package/dist/types/components/card/card-with-input/styles.d.ts +8 -0
  10. package/dist/types/components/card/index.d.ts +2 -1
  11. package/dist/types/components/card/types.d.ts +29 -1
  12. package/dist/types/components/divider/types.d.ts +2 -2
  13. package/dist/types/components/icon/styles.d.ts +1 -0
  14. package/dist/types/components/icon/types.d.ts +3 -0
  15. package/dist/types/components/info-sidebar/index.d.ts +4 -0
  16. package/dist/types/components/info-sidebar/types.d.ts +32 -0
  17. package/dist/types/components/inputs/fields/date/calendar/cell/index.d.ts +3 -0
  18. package/dist/types/components/inputs/fields/date/calendar/grid/index.d.ts +3 -0
  19. package/dist/types/components/inputs/fields/date/calendar/header/index.d.ts +3 -0
  20. package/dist/types/components/inputs/fields/date/calendar/index.d.ts +6 -0
  21. package/dist/types/components/inputs/fields/date/calendar/styles.d.ts +13 -0
  22. package/dist/types/components/inputs/fields/date/index.d.ts +3 -0
  23. package/dist/types/components/inputs/fields/date/types.d.ts +34 -0
  24. package/dist/types/components/inputs/fields/date-range/calendar/index.d.ts +6 -0
  25. package/dist/types/components/inputs/fields/date-range/index.d.ts +4 -0
  26. package/dist/types/components/inputs/fields/date-range/styles.d.ts +5 -0
  27. package/dist/types/components/inputs/fields/date-time/calendar/index.d.ts +10 -0
  28. package/dist/types/components/inputs/fields/date-time/calendar/styles.d.ts +3 -0
  29. package/dist/types/components/inputs/fields/date-time/index.d.ts +4 -0
  30. package/dist/types/components/inputs/fields/number-range/index.d.ts +3 -0
  31. package/dist/types/components/inputs/index.d.ts +10 -1
  32. package/dist/types/components/inputs/types.d.ts +26 -4
  33. package/dist/types/components/inputs/utils/date-selector/index.d.ts +3 -0
  34. package/dist/types/components/inputs/utils/date-time-field/index.d.ts +4 -0
  35. package/dist/types/components/inputs/utils/styles.d.ts +5 -1
  36. package/dist/types/components/inputs/utils/types.d.ts +51 -1
  37. package/dist/types/components/priority-score/index.d.ts +3 -0
  38. package/dist/types/components/priority-score/types.d.ts +9 -0
  39. package/dist/types/components/severity-badge/types.d.ts +2 -2
  40. package/dist/types/components/slider/index.d.ts +3 -0
  41. package/dist/types/components/slider/styles.d.ts +7 -0
  42. package/dist/types/components/slider/thumb/index.d.ts +3 -0
  43. package/dist/types/components/slider/types.d.ts +13 -0
  44. package/dist/types/components/slider/utils.d.ts +2 -0
  45. package/dist/types/components/tag/index.d.ts +1 -1
  46. package/dist/types/components/tag/types.d.ts +15 -3
  47. package/dist/types/index.d.ts +3 -0
  48. package/dist/types/utils/date.d.ts +3 -0
  49. package/package.json +11 -3
@@ -0,0 +1,63 @@
1
+ "use strict";const e=require("react"),t=require("styled-components"),n=require("react-dom");function r(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){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 o=r(e),i=r(n),l=e=>({getVariant:(t,n)=>e(t)[n]}),a=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","justifySelf","alignItems","alignSelf","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var u,f,d,p={exports:{}},y={},m={};var g=(d||(d=1,"production"===process.env.NODE_ENV?p.exports=function(){if(u)return y;u=1;var t=e,n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,r){var a,c={},s=null,u=null;for(a in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,a)&&!l.hasOwnProperty(a)&&(c[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===c[a]&&(c[a]=t[a]);return{$$typeof:n,type:e,key:s,ref:u,props:c,_owner:i.current}}return y.Fragment=r,y.jsx=a,y.jsxs=a,y}():p.exports=(f||(f=1,"production"!==process.env.NODE_ENV&&function(){var t,n=e,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h=Symbol.iterator,v=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=v.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,o)}(0,e,n)}function w(e){return e.displayName||"Context"}function x(e){if(null==e)return null;if("number"==typeof e.tag&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case i:return"Fragment";case o:return"Portal";case a:return"Profiler";case l:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return w(e)+".Consumer";case c:return w(e._context)+".Provider";case u:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:x(e.type)||"Memo";case y:var n=e,r=n._payload,m=n._init;try{return x(m(r))}catch(g){return null}}return null}t=Symbol.for("react.module.reference");var $,S,k,_,E,j,O,R=Object.assign,T=0;function A(){}A.__reactDisabledLog=!0;var C,L=v.ReactCurrentDispatcher;function P(e,t,n){if(void 0===C)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);C=r&&r[1]||""}return"\n"+C+e}var z,F=!1,D="function"==typeof WeakMap?WeakMap:Map;function N(e,t){if(!e||F)return"";var n,r=z.get(e);if(void 0!==r)return r;F=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=L.current,L.current=null,function(){if(0===T){$=console.log,S=console.info,k=console.warn,_=console.error,E=console.group,j=console.groupCollapsed,O=console.groupEnd;var e={configurable:!0,enumerable:!0,value:A,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}T++}();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(l,[])}catch(y){n=y}Reflect.construct(e,[],l)}else{try{l.call()}catch(y){n=y}e.call(l.prototype)}}else{try{throw Error()}catch(y){n=y}e()}}catch(m){if(m&&n&&"string"==typeof m.stack){for(var a=m.stack.split("\n"),c=n.stack.split("\n"),s=a.length-1,u=c.length-1;s>=1&&u>=0&&a[s]!==c[u];)u--;for(;s>=1&&u>=0;s--,u--)if(a[s]!==c[u]){if(1!==s||1!==u)do{if(s--,--u<0||a[s]!==c[u]){var f="\n"+a[s].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&z.set(e,f),f}}while(s>=1&&u>=0);break}}}finally{F=!1,L.current=o,function(){if(0==--T){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:$}),info:R({},e,{value:S}),warn:R({},e,{value:k}),error:R({},e,{value:_}),group:R({},e,{value:E}),groupCollapsed:R({},e,{value:j}),groupEnd:R({},e,{value:O})})}T<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var d=e?e.displayName||e.name:"",p=d?P(d):"";return"function"==typeof e&&z.set(e,p),p}function W(e,t,n){if(null==e)return"";if("function"==typeof e)return N(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return P(e);switch(e){case f:return P("Suspense");case d:return P("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return N(e.render,!1);case p:return W(e.type,t,n);case y:var o=e,i=o._payload,l=o._init;try{return W(l(i),t,n)}catch(a){}}return""}z=new D;var M=Object.prototype.hasOwnProperty,B={},I=v.ReactDebugCurrentFrame;function H(e){if(e){var t=e._owner,n=W(e.type,e._source,t?t.type:null);I.setExtraStackFrame(n)}else I.setExtraStackFrame(null)}var q=Array.isArray;function V(e){return q(e)}function U(e){return""+e}function G(e){if(function(e){try{return U(e),!1}catch(t){return!0}}(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",(t=e,"function"==typeof Symbol&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object")),U(e);var t}var Y,K,X,Z=v.ReactCurrentOwner,J={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q,ee=v.ReactCurrentOwner,te=v.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,n=W(e.type,e._source,t?t.type:null);te.setExtraStackFrame(n)}else te.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}function oe(){if(ee.current){var e=x(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Q=!1;var ie={};function le(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=oe();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!ie[n]){ie[n]=!0;var r="";e&&e._owner&&e._owner!==ee.current&&(r=" It was passed a child from "+x(e._owner.type)+"."),ne(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),ne(null)}}}function ae(e,t){if("object"==typeof e)if(V(e))for(var n=0;n<e.length;n++){var r=e[n];re(r)&&le(r,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var i,l=o.call(e);!(i=l.next()).done;)re(i.value)&&le(i.value,t)}}function ce(e,n,o,m,h,v){var w,$="string"==typeof(w=e)||"function"==typeof w||w===i||w===a||w===l||w===f||w===d||w===g||"object"==typeof w&&null!==w&&(w.$$typeof===y||w.$$typeof===p||w.$$typeof===c||w.$$typeof===s||w.$$typeof===u||w.$$typeof===t||void 0!==w.getModuleId);if(!$){var S,k="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(k+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),k+=oe(),null===e?S="null":V(e)?S="array":void 0!==e&&e.$$typeof===r?(S="<"+(x(e.type)||"Unknown")+" />",k=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,k)}var _=function(e,t,n,o,i){var l,a,c,s,u={},f=null,d=null;for(l in void 0!==n&&(G(n),f=""+n),function(e){if(M.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(G(t.key),f=""+t.key),function(e){if(M.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(d=t.ref,function(e,t){if("string"==typeof e.ref&&Z.current&&t&&Z.current.stateNode!==t){var n=x(Z.current.type);X[n]||(b('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',x(Z.current.type),e.ref),X[n]=!0)}}(t,i)),t)M.call(t,l)&&!J.hasOwnProperty(l)&&(u[l]=t[l]);if(e&&e.defaultProps){var p=e.defaultProps;for(l in p)void 0===u[l]&&(u[l]=p[l])}if(f||d){var y="function"==typeof e?e.displayName||e.name||"Unknown":e;f&&(a=u,c=y,(s=function(){Y||(Y=!0,b("%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)",c))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:s,configurable:!0})),d&&function(e,t){var n=function(){K||(K=!0,b("%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(u,y)}return function(e,t,n,o,i,l,a){var c={$$typeof:r,type:e,key:t,ref:n,props:a,_owner:l,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}(e,f,d,i,o,Z.current,u)}(e,n,o,h,v);if(null==_)return _;if($){var E=n.children;if(void 0!==E)if(m)if(V(E)){for(var j=0;j<E.length;j++)ae(E[j],e);Object.freeze&&Object.freeze(E)}else b("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 ae(E,e)}return e===i?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ne(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ne(null);break}}null!==e.ref&&(ne(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(_):function(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==p)return;t=n.propTypes}if(t){var r=x(n);!function(e,t,n,r,o){var i=Function.call.bind(M);for(var l in e)if(i(e,l)){var a=void 0;try{if("function"!=typeof e[l]){var c=Error((r||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}a=e[l](t,l,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}!a||a instanceof Error||(H(o),b("%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).",r||"React class",n,l,typeof a),H(null)),a instanceof Error&&!(a.message in B)&&(B[a.message]=!0,H(o),b("Failed %s type: %s",n,a.message),H(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||Q||(Q=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(_),_}m.Fragment=i,m.jsx=function(e,t,n){return ce(e,t,n,!1)},m.jsxs=function(e,t,n){return ce(e,t,n,!0)}}()),m)),p.exports);const h={typography:{type:{primary:"Roboto, sans-serif",poppins:"'Poppins', sans-serif",mono:"'Space Mono', monospace"},heading:{xxl:"64px",xl:"48px",lg:"32px",md:"24px",sm:"20px",xs:"16px"},text:{xl:"20px",lg:"18px",md:"16px",sm:"14px",xs:"12px"},weight:{bold:"700",semibold:"600",regular:"400"}},shadows:{none:"none",sm:"0px 1px 2px 0px rgba(16, 24, 40, 0.15)",md:"0px 4px 6px 0px rgba(16, 24, 40, 0.15)",lg:"0px 8px 24px 0px rgba(16, 24, 40, 0.15)"},breakpoints:{mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},spacing:{0:"0rem",.125:"0.125rem",.188:"0.188rem",.25:"0.25rem",.5:"0.5rem",.625:"0.625rem",.75:"0.75rem",1:"1rem",1.25:"1.25rem",1.5:"1.5rem",1.75:"1.75rem",2:"2rem",2.25:"2.25rem",2.5:"2.5rem",3:"3rem",3.5:"3.5rem",4:"4rem",4.5:"4.5rem",5:"5rem",6:"6rem"},palette:{primary:{25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},complementary:{25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},error:{25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},info:{25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},warning:{25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},success:{25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},black:"#0c111d",white:"#ffffff",gray:{25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},gradients:{"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"}}},v=(e,t)=>void 0===t?"":`${e}: ${t};`,b=e=>{const t=e.py??e.pt??0,n=e.px??e.pr??0,r=e.py??e.pb??0,o=e.px??e.pl??0;if(e.padding){const[t,n,r,o]=e.padding;return`padding: ${h.spacing[t]} ${h.spacing[n]} ${h.spacing[r]} ${h.spacing[o]};`}return`padding: ${h.spacing[t]} ${h.spacing[n]} ${h.spacing[r]} ${h.spacing[o]};`},w=e=>{const t=e.my??e.mt??0,n=e.mx??e.mr??0,r=e.my??e.mb??0,o=e.mx??e.ml??0;if(e.margin){const[t,n,r,o]=e.margin;return`margin: ${h.spacing[t]} ${h.spacing[n]} ${h.spacing[r]} ${h.spacing[o]};`}return`margin: ${h.spacing[t]} ${h.spacing[n]} ${h.spacing[r]} ${h.spacing[o]};`},x=e=>`\n ${v("position",e.position)}\n ${v("top",e.top)}\n ${v("right",e.right)}\n ${v("bottom",e.bottom)}\n ${v("left",e.left)}\n ${v("z-index",e.zIndex)}\n `,$=e=>`\n ${v("border",e.border)}\n ${v("border-top",e.borderTop)}\n ${v("border-right",e.borderRight)}\n ${v("border-bottom",e.borderBottom)}\n ${v("border-left",e.borderLeft)}\n ${v("border-color",e.borderColor)}\n ${v("border-radius",e.borderRadius)}\n `,S=e=>{const t=e.scroll?`\n ${d=e.scroll,d.includes("x")?"overflow-x: auto;":""}\n ${(e=>e.includes("y")?"overflow-y: auto;":"")(e.scroll)}\n `:"",n=v("visibility",e.visibility),r=v("display",e.display),o=v("height",e.height),i=v("width",e.width),l=v("max-height",e.maxHeight),a=v("max-width",e.maxWidth),c=v("min-height",e.minHeight),s=v("min-width",e.minWidth),u=v("box-shadow",e.shadow?h.shadows[e.shadow]:void 0),f=v("gap",void 0===e.gap?void 0:h.spacing[e.gap]);var d;return`\n ${t}\n ${n}\n ${r}\n ${o}\n ${i}\n ${l}\n ${a}\n ${c}\n ${s}\n ${u}\n ${v("background-color",e.bgColor)}\n ${v("background",e.bgGradient)}\n ${f}\n ${v("flex-direction",e.flexDirection)}\n ${v("flex-grow",e.flexGrow)}\n ${v("justify-content",e.justify)}\n ${v("justify-self",e.justifySelf)}\n ${v("align-items",e.alignItems)}\n ${v("align-self",e.alignSelf)}\n ${v("flex-wrap",e.wrap)}\n `},k=e=>`\n ${v("color",e.color)}\n ${v("font-family",e.fontFamily)}\n ${v("font-size",e.fontSize)}\n ${v("font-weight",e.fontWeight)}\n ${v("line-spacing",e.letterSpacing)}\n ${v("line-height",e.lineSpacing)}\n ${v("text-align",e.textAlign)}\n ${v("text-decoration",e.textDecoration)}\n ${v("text-overflow",e.textOverflow)}\n ${v("white-space",e.whiteSpace)}\n ${v("word-break",e.wordBreak)}\n ${v("word-wrap",e.wordWrap)}\n `,_=e=>{const t=v("cursor",e.cursor),n=v("border-color",e.borderColorHover),r=v("background-color",e.bgColorHover),o=v("box-shadow",void 0===e.shadowHover?void 0:h.shadows[e.shadowHover]);return`\n ${t}\n\n &:hover {\n ${v("transition",e.transition)||"transition: all 0.2s;"}\n ${n}\n ${r}\n ${o}\n }\n `},E=()=>({shouldForwardProp:e=>!a.includes(e)}),j=t.styled.div.withConfig(E())`
2
+ ${b}
3
+ ${w}
4
+ ${x}
5
+ ${S}
6
+ ${k}
7
+ ${$}
8
+ ${_}
9
+ `,O=t.styled.button.withConfig(E())`
10
+ ${b}
11
+ ${w}
12
+ ${x}
13
+ ${S}
14
+ ${k}
15
+ ${$}
16
+ ${_}
17
+ `,R=t.styled.p.withConfig(E())`
18
+ ${b}
19
+ ${w}
20
+ ${x}
21
+ ${S}
22
+ ${k}
23
+ ${$}
24
+ ${_}
25
+ `,T=t.styled.span.withConfig(E())`
26
+ ${b}
27
+ ${w}
28
+ ${x}
29
+ ${S}
30
+ ${k}
31
+ ${$}
32
+ ${_}
33
+ `,A=t.styled(R)`
34
+ ${({theme:e,$bgGradient:t="unset",$color:n=e.palette.gray[800],$display:r="block",$fontFamily:o=e.typography.type.primary,$fontWeight:i="bold",$letterSpacing:l=0,$lineSpacing:a=1.5,$lineSpacingSm:c,$size:s,$sizeMd:u,$sizeSm:f,$textFill:d="unset",$wordBreak:p="normal"})=>`\n background: ${t};\n color: ${n};\n display: ${r};\n font-family: ${o};\n font-size: ${e.typography.heading[s]};\n font-weight: ${e.typography.weight[i]};\n letter-spacing: ${l};\n line-height: ${e.spacing[a]};\n width: ${"block"===r?"100%":"auto"};\n word-break: ${p};\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: ${d};\n\n @media screen\n and (min-width: ${e.breakpoints.mobile})\n and (max-width: ${e.breakpoints.tablet})\n {\n font-size: ${e.typography.heading[u??s]};\n }\n\n @media screen and (max-width: ${e.breakpoints.mobile}) {\n font-size: ${e.typography.heading[f??s]};\n line-height: ${e.spacing[c??a]};\n }\n `}
35
+ `,C=t.styled(R)`
36
+ ${({theme:e,$bgGradient:t="unset",$color:n=e.palette.gray[600],$display:r="block",$fontFamily:o=e.typography.type.primary,$fontWeight:i="regular",$letterSpacing:l=0,$lineSpacing:a=1.25,$lineSpacingSm:c,$size:s,$sizeMd:u,$sizeSm:f,$textFill:d="unset",$wordBreak:p="normal"})=>`\n background: ${t};\n color: ${n};\n display: ${r};\n font-family: ${o};\n font-size: ${e.typography.text[s]};\n font-weight: ${e.typography.weight[i]};\n letter-spacing: ${l};\n line-height: ${e.spacing[a]};\n width: ${"block"===r?"100%":"auto"};\n word-break: ${p};\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: ${d};\n\n @media screen\n and (min-width: ${e.breakpoints.mobile})\n and (max-width: ${e.breakpoints.tablet})\n {\n font-size: ${e.typography.text[u??s]};\n }\n\n @media screen and (max-width: ${e.breakpoints.mobile}) {\n font-size: ${e.typography.text[f??s]};\n line-height: ${e.spacing[c??a]};\n }\n `}
37
+ `,L=t.styled.span`
38
+ ${({theme:e,$color:t=e.palette.gray[600],$content:n,$display:r="inline",$fontWeight:o="regular",$size:i,$lineSpacing:l=1.25})=>`\n color: ${t};\n display: ${r};\n font-family: ${e.typography.type.primary};\n font-size: ${e.typography.text[i]};\n font-weight: ${e.typography.weight[o]};\n line-height: ${e.spacing[l]};\n width: ${"block"===r?"100%":"auto"};\n\n ${void 0===n?"":`&::after { content: "${n}"; }`}\n `}
39
+ `,P=e.forwardRef((function({bgGradient:e,children:t,className:n,color:r,display:o,fontFamily:i,fontWeight:l,letterSpacing:a,lineSpacing:c,lineSpacingSm:s,size:u,sizeMd:f,sizeSm:d,textFill:p,wordBreak:y,...m},h){return g.jsx(A,{$bgGradient:e,$color:r,$display:o,$fontFamily:i,$fontWeight:l,$letterSpacing:a,$lineSpacing:c,$lineSpacingSm:s,$size:u,$sizeMd:f,$sizeSm:d,$textFill:p,$wordBreak:y,className:n,ref:h,...m,children:t})})),z=e.forwardRef((function({children:e,color:t,content:n,display:r,fontFamily:o,fontWeight:i,letterSpacing:l,lineSpacing:a,lineSpacingSm:c,size:s,sizeMd:u,sizeSm:f,...d},p){return g.jsx(L,{$color:t,$content:n,$display:r,$fontFamily:o,$fontWeight:i,$letterSpacing:l,$lineSpacing:a,$lineSpacingSm:c,$size:s,$sizeMd:u,$sizeSm:f,ref:p,...d,children:e})})),F=e.forwardRef((function({bgGradient:e,children:t,className:n,color:r,display:o,fontFamily:i,fontWeight:l,letterSpacing:a,lineSpacing:c,lineSpacingSm:s,size:u,sizeMd:f,sizeSm:d,textFill:p,wordBreak:y,...m},h){return g.jsx(C,{$bgGradient:e,$color:r,$display:o,$fontFamily:i,$fontWeight:l,$letterSpacing:a,$lineSpacing:c,$lineSpacingSm:s,$size:u,$sizeMd:f,$sizeSm:d,$textFill:p,$wordBreak:y,className:n,ref:h,...m,children:t})})),D={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px",xxss:"10px"},N=t.styled(T)`
40
+ ${({$clickable:e,$color:t="inherit",$disabled:n=!1,$hoverColor:r,$rotation:o,$size:i,$secondaryColor:l})=>`\n color: ${t};\n cursor: ${e?"pointer":"inherit"};\n font-size: ${D[i]};\n line-height: 0;\n vertical-align: middle;\n pointer-events: inherit;\n opacity: ${n?"0.5":"1"};\n\n > svg {\n --fa-secondary-color: ${l};\n transform: ${void 0===o?"":`rotate(${o}deg)`};\n }\n\n .fill-gradient-01 path {\n fill: url(/gradients.svg#gradient-01);\n fill: url(#gradient-01);\n }\n .fill-gradient-02 path {\n fill: url(/gradients.svg#gradient-02);\n fill: url(#gradient-02);\n }\n\n ${e?`&:hover {\n filter: ${r?"":"brightness(50%)"};\n color: ${r??""};\n }`:""}\n `}
41
+ `;t.styled.div`
42
+ cursor: pointer;
43
+ transition: all 0.2s ease-in-out;
44
+
45
+ &:hover:not([disabled]) {
46
+ transform: scale(1.2);
47
+ }
48
+ `;const W=e.forwardRef((function({clickable:e,disabled:t,hoverColor:n,icon:r,iconClass:o="",iconColor:i,iconMask:l,iconSize:a,iconTransform:c,iconType:s="fa-solid",onClick:u,rotation:f,spanClass:d,secondaryColor:p,...y},m){return g.jsx(N,{$clickable:e,$color:i,$disabled:t,$hoverColor:n,$rotation:f,$secondaryColor:p,$size:a,className:d,"data-testid":`${r}-icon`,onClick:u,ref:m,...y,children:g.jsx("i",{className:`${s} fa-${r} ${o}`,...void 0!==l?{"data-fa-mask":l}:{},...void 0!==c?{"data-fa-transform":c}:{}})},`${s}-${r}`)})),{getVariant:M}=l((e=>({ghost:`\n background: transparent;\n border: none;\n color: ${e.palette.gray[800]};\n --btn-padding-x: ${e.spacing[.5]};\n --btn-padding-y: ${e.spacing[.625]};\n --btn-spacing: ${e.spacing[.25]};\n\n &:disabled {\n color: ${e.palette.gray[400]};\n cursor: not-allowed;\n }\n\n &:hover:not([disabled]) {\n background-color: ${e.palette.gray[100]};\n color: ${e.palette.gray[800]};\n }\n `,link:`\n --btn-padding-x: 0;\n --btn-padding-y: 0;\n color: ${e.palette.gray[800]};\n\n &:hover {\n color: ${e.palette.gray[500]};\n }\n `,primary:`\n background: ${e.palette.primary[500]};\n border: none;\n color: ${e.palette.white};\n --btn-spacing: ${e.spacing[.25]};\n\n &:disabled {\n background: ${e.palette.gray[200]};\n color: ${e.palette.gray[400]};\n cursor: not-allowed;\n }\n\n &:hover:not([disabled]) {\n background-color: ${e.palette.primary[700]};\n color: ${e.palette.white};\n }\n `,secondary:`\n background: ${e.palette.gray[800]};\n border: none;\n color: ${e.palette.white};\n --btn-spacing: ${e.spacing[.25]};\n\n &:disabled {\n background: ${e.palette.gray[200]};\n color: ${e.palette.gray[400]};\n cursor: not-allowed;\n }\n\n &:hover:not([disabled]) {\n background-color: ${e.palette.gray[600]};\n color: ${e.palette.white};\n }\n `,tertiary:`\n background: transparent;\n border: 1px solid ${e.palette.primary[500]};\n color: ${e.palette.primary[500]};\n --btn-spacing: ${e.spacing[.25]};\n\n &:disabled {\n background: transparent;\n border: 1px solid ${e.palette.gray[200]};\n color: ${e.palette.gray[300]};\n cursor: not-allowed;\n }\n\n &:hover:not([disabled]) {\n background-color: ${e.palette.primary[500]};\n color: ${e.palette.white};\n }\n `}))),B=t.styled(O)`
49
+ ${({theme:e,$variant:t})=>`\n align-items: center;\n border-radius: var(--btn-spacing);\n cursor: pointer;\n display: inline-flex;\n font-family: ${e.typography.type.primary};\n font-size: ${e.typography.text.sm};\n font-weight: ${e.typography.weight.regular};\n gap: var(--btn-spacing);\n justify-content: center;\n line-height: ${e.spacing[1.25]};\n padding: var(--btn-padding-y) var(--btn-padding-x);\n position: relative;\n text-align: start;\n transition: all 0.5s ease;\n white-space: nowrap;\n\n @media screen and (max-width: ${e.breakpoints.mobile}) {\n ${"link"!==t?`--btn-padding-y: ${e.spacing[1]}`:""};\n }\n\n ${M(e,t??"primary")}\n `}
50
+ `,I=Math.min,H=Math.max,q=Math.round,V=Math.floor,U=e=>({x:e,y:e}),G={left:"right",right:"left",bottom:"top",top:"bottom"},Y={start:"end",end:"start"};function K(e,t,n){return H(e,I(t,n))}function X(e,t){return"function"==typeof e?e(t):e}function Z(e){return e.split("-")[0]}function J(e){return e.split("-")[1]}function Q(e){return"x"===e?"y":"x"}function ee(e){return"y"===e?"height":"width"}function te(e){return["top","bottom"].includes(Z(e))?"y":"x"}function ne(e){return Q(te(e))}function re(e){return e.replace(/start|end/g,(e=>Y[e]))}function oe(e){return e.replace(/left|right|bottom|top/g,(e=>G[e]))}function ie(e){return"number"!=typeof e?(t=e,{top:0,right:0,bottom:0,left:0,...t}):{top:e,right:e,bottom:e,left:e};var t}function le(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ae(e,t,n){let{reference:r,floating:o}=e;const i=te(t),l=ne(t),a=ee(l),c=Z(t),s="y"===i,u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let p;switch(c){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(J(t)){case"start":p[l]-=d*(n&&s?-1:1);break;case"end":p[l]+=d*(n&&s?-1:1)}return p}async function ce(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:l,elements:a,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=X(t,e),y=ie(p),m=a[d?"floating"===f?"reference":"floating":f],g=le(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:u,strategy:c})),h="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=le(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:h,offsetParent:v,strategy:c}):h);return{top:(g.top-w.top+y.top)/b.y,bottom:(w.bottom-g.bottom+y.bottom)/b.y,left:(g.left-w.left+y.left)/b.x,right:(w.right-g.right+y.right)/b.x}}function se(){return"undefined"!=typeof window}function ue(e){return pe(e)?(e.nodeName||"").toLowerCase():"#document"}function fe(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function de(e){var t;return null==(t=(pe(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function pe(e){return!!se()&&(e instanceof Node||e instanceof fe(e).Node)}function ye(e){return!!se()&&(e instanceof Element||e instanceof fe(e).Element)}function me(e){return!!se()&&(e instanceof HTMLElement||e instanceof fe(e).HTMLElement)}function ge(e){return!(!se()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof fe(e).ShadowRoot)}function he(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ve(e){return["table","td","th"].includes(ue(e))}function be(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function we(e){const t=xe(),n=ye(e)?Se(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function xe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function $e(e){return["html","body","#document"].includes(ue(e))}function Se(e){return fe(e).getComputedStyle(e)}function ke(e){return ye(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function _e(e){if("html"===ue(e))return e;const t=e.assignedSlot||e.parentNode||ge(e)&&e.host||de(e);return ge(t)?t.host:t}function Ee(e){const t=_e(e);return $e(t)?e.ownerDocument?e.ownerDocument.body:e.body:me(t)&&he(t)?t:Ee(t)}function je(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Ee(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=fe(o);if(i){const e=Oe(l);return t.concat(l,l.visualViewport||[],he(o)?o:[],e&&n?je(e):[])}return t.concat(o,je(o,[],n))}function Oe(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Re(e){const t=Se(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=me(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=q(n)!==i||q(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function Te(e){return ye(e)?e:e.contextElement}function Ae(e){const t=Te(e);if(!me(t))return U(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Re(t);let l=(i?q(n.width):n.width)/r,a=(i?q(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const Ce=U(0);function Le(e){const t=fe(e);return xe()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ce}function Pe(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Te(e);let l=U(1);t&&(r?ye(r)&&(l=Ae(r)):l=Ae(e));const a=(c=i,void 0===(s=n)&&(s=!1),!(u=r)||s&&u!==fe(c)||!s?U(0):Le(i));var c,s,u;let f=(o.left+a.x)/l.x,d=(o.top+a.y)/l.y,p=o.width/l.x,y=o.height/l.y;if(i){const e=fe(i),t=r&&ye(r)?fe(r):r;let n=e,o=Oe(n);for(;o&&r&&t!==n;){const e=Ae(o),t=o.getBoundingClientRect(),r=Se(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;f*=e.x,d*=e.y,p*=e.x,y*=e.y,f+=i,d+=l,n=fe(o),o=Oe(n)}}return le({width:p,height:y,x:f,y:d})}function ze(e,t){const n=ke(e).scrollLeft;return t?t.left+n:Pe(de(e)).left+n}function Fe(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ze(e,r)),y:r.top+t.scrollTop}}function De(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=fe(e),r=de(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,a=0,c=0;if(o){i=o.width,l=o.height;const e=xe();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:i,height:l,x:a,y:c}}(e,n);else if("document"===t)r=function(e){const t=de(e),n=ke(e),r=e.ownerDocument.body,o=H(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=H(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+ze(e);const a=-n.scrollTop;return"rtl"===Se(r).direction&&(l+=H(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(de(e));else if(ye(t))r=function(e,t){const n=Pe(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=me(e)?Ae(e):U(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Le(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return le(r)}function Ne(e,t){const n=_e(e);return!(n===t||!ye(n)||$e(n))&&("fixed"===Se(n).position||Ne(n,t))}function We(e,t,n){const r=me(t),o=de(t),i="fixed"===n,l=Pe(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const c=U(0);if(r||!r&&!i)if(("body"!==ue(t)||he(o))&&(a=ke(t)),r){const e=Pe(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=ze(o));const s=!o||r||i?U(0):Fe(o,a);return{x:l.left+a.scrollLeft-c.x-s.x,y:l.top+a.scrollTop-c.y-s.y,width:l.width,height:l.height}}function Me(e){return"static"===Se(e).position}function Be(e,t){if(!me(e)||"fixed"===Se(e).position)return null;if(t)return t(e);let n=e.offsetParent;return de(e)===n&&(n=n.ownerDocument.body),n}function Ie(e,t){const n=fe(e);if(be(e))return n;if(!me(e)){let t=_e(e);for(;t&&!$e(t);){if(ye(t)&&!Me(t))return t;t=_e(t)}return n}let r=Be(e,t);for(;r&&ve(r)&&Me(r);)r=Be(r,t);return r&&$e(r)&&Me(r)&&!we(r)?n:r||function(e){let t=_e(e);for(;me(t)&&!$e(t);){if(we(t))return t;if(be(t))return null;t=_e(t)}return null}(e)||n}const He={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,l=de(r),a=!!t&&be(t.floating);if(r===l||a&&i)return n;let c={scrollLeft:0,scrollTop:0},s=U(1);const u=U(0),f=me(r);if((f||!f&&!i)&&(("body"!==ue(r)||he(l))&&(c=ke(r)),me(r))){const e=Pe(r);s=Ae(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const d=!l||f||i?U(0):Fe(l,c,!0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+u.x+d.x,y:n.y*s.y-c.scrollTop*s.y+u.y+d.y}},getDocumentElement:de,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?be(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=je(e,[],!1).filter((e=>ye(e)&&"body"!==ue(e))),o=null;const i="fixed"===Se(e).position;let l=i?_e(e):e;for(;ye(l)&&!$e(l);){const t=Se(l),n=we(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||he(l)&&!n&&Ne(e,l))?r=r.filter((e=>e!==l)):o=t,l=_e(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce(((e,n)=>{const r=De(t,n,o);return e.top=H(r.top,e.top),e.right=I(r.right,e.right),e.bottom=I(r.bottom,e.bottom),e.left=H(r.left,e.left),e}),De(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Ie,getElementRects:async function(e){const t=this.getOffsetParent||Ie,n=this.getDimensions,r=await n(e.floating);return{reference:We(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Re(e);return{width:t,height:n}},getScale:Ae,isElement:ye,isRTL:function(e){return"rtl"===Se(e).direction}};function qe(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,s=Te(e),u=o||i?[...s?je(s):[],...je(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const f=s&&a?function(e,t){let n,r=null;const o=de(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function l(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),i();const{left:s,top:u,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const p={rootMargin:-V(u)+"px "+-V(o.clientWidth-(s+f))+"px "+-V(o.clientHeight-(u+d))+"px "+-V(s)+"px",threshold:H(0,I(1,c))||1};let y=!0;function m(e){const t=e[0].intersectionRatio;if(t!==c){if(!y)return l();t?l(!1,t):n=setTimeout((()=>{l(!1,1e-7)}),1e3)}y=!1}try{r=new IntersectionObserver(m,{...p,root:o.ownerDocument})}catch(g){r=new IntersectionObserver(m,p)}r.observe(e)}(!0),i}(s,n):null;let d,p=-1,y=null;l&&(y=new ResizeObserver((e=>{let[r]=e;r&&r.target===s&&y&&(y.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=y)||e.observe(t)}))),n()})),s&&!c&&y.observe(s),y.observe(t));let m=c?Pe(e):null;return c&&function t(){const r=Pe(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n(),m=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=y)||e.disconnect(),y=null,c&&cancelAnimationFrame(d)}}const Ve=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:a}=t,c=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),l=Z(n),a=J(n),c="y"===te(n),s=["left","top"].includes(l)?-1:1,u=i&&c?-1:1,f=X(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:y}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof y&&(p="end"===a?-1*y:y),c?{x:p*u,y:d*s}:{x:d*s,y:p*u}}(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:l}}}}},Ue=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=X(e,t),s={x:n,y:r},u=await ce(t,c),f=te(Z(o)),d=Q(f);let p=s[d],y=s[f];if(i){const e="y"===d?"bottom":"right";p=K(p+u["y"===d?"top":"left"],p,p-u[e])}if(l){const e="y"===f?"bottom":"right";y=K(y+u["y"===f?"top":"left"],y,y-u[e])}const m=a.fn({...t,[d]:p,[f]:y});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[d]:i,[f]:l}}}}}},Ge=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:l,initialPlacement:a,platform:c,elements:s}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:m=!0,...g}=X(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const h=Z(o),v=te(a),b=Z(a)===a,w=await(null==c.isRTL?void 0:c.isRTL(s.floating)),x=d||(b||!m?[oe(a)]:function(e){const t=oe(e);return[re(e),t,re(t)]}(a)),$="none"!==y;!d&&$&&x.push(...function(e,t,n,r){const o=J(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}(Z(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(re)))),i}(a,m,y,w));const S=[a,...x],k=await ce(t,g),_=[];let E=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&_.push(k[h]),f){const e=function(e,t,n){void 0===n&&(n=!1);const r=J(e),o=ne(e),i=ee(o);let l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=oe(l)),[l,oe(l)]}(o,l,w);_.push(k[e[0]],k[e[1]])}if(E=[...E,{placement:o,overflows:_}],!_.every((e=>e<=0))){var j,O;const e=((null==(j=i.flip)?void 0:j.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n=null==(O=E.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:O.placement;if(!n)switch(p){case"bestFit":{var R;const e=null==(R=E.filter((e=>{if($){const t=te(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:R[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Ye=(e,t,n)=>{const r=new Map,o={platform:He,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(t));let s=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=ae(s,r,c),d=r,p={},y=0;for(let m=0;m<a.length;m++){const{name:n,fn:i}=a[m],{x:g,y:h,data:v,reset:b}=await i({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:l,elements:{reference:e,floating:t}});u=null!=g?g:u,f=null!=h?h:f,p={...p,[n]:{...p[n],...v}},b&&y<=50&&(y++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:f}=ae(s,d,c))),m=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})};var Ke="undefined"!=typeof document?e.useLayoutEffect:e.useEffect;function Xe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!Xe(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;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||Xe(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Ze(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Je(e,t){const n=Ze(e);return Math.round(t*n)/n}function Qe(e){const t=o.useRef(e);return Ke((()=>{t.current=e})),t}var et,tt,nt,rt,ot,it,lt,at,ct,st,ut,ft,dt,pt,yt,mt,gt,ht,vt,bt,wt,xt,$t,St,kt,_t,Et,jt,Ot,Rt,Tt,At,Ct,Lt,Pt,zt,Ft,Dt,Nt,Wt,Mt,Bt,It,Ht,qt,Vt,Ut,Gt,Yt,Kt,Xt,Zt,Jt,Qt,en,tn,nn,rn,on,ln;function an(){if(tt)return et;tt=1;var e=Object.prototype;return et=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function cn(){if(st)return ct;st=1;var e="object"==typeof c&&c&&c.Object===Object&&c;return ct=e}function sn(){if(ft)return ut;ft=1;var e=cn(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return ut=n}function un(){if(pt)return dt;pt=1;var e=sn().Symbol;return dt=e}function fn(){if(bt)return vt;bt=1;var e=un(),t=function(){if(mt)return yt;mt=1;var e=un(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,o=e?e.toStringTag:void 0;return yt=function(e){var t=n.call(e,o),i=e[o];try{e[o]=void 0;var l=!0}catch(c){}var a=r.call(e);return l&&(t?e[o]=i:delete e[o]),a}}(),n=function(){if(ht)return gt;ht=1;var e=Object.prototype.toString;return gt=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return vt=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function dn(){return xt?wt:(xt=1,wt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)})}function pn(){if(St)return $t;St=1;var e=fn(),t=dn();return $t=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function yn(){if(Rt)return Ot;Rt=1;var e=Function.prototype.toString;return Ot=function(t){if(null!=t){try{return e.call(t)}catch(n){}try{return t+""}catch(n){}}return""}}function mn(){if(zt)return Pt;zt=1;var e=function(){if(At)return Tt;At=1;var e=pn(),t=function(){if(jt)return Et;jt=1;var e,t=function(){if(_t)return kt;_t=1;var e=sn()["__core-js_shared__"];return kt=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return Et=function(e){return!!n&&n in e}}(),n=dn(),r=yn(),o=/^\[object .+?Constructor\]$/,i=Function.prototype,l=Object.prototype,a=i.toString,c=l.hasOwnProperty,s=RegExp("^"+a.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Tt=function(i){return!(!n(i)||t(i))&&(e(i)?s:o).test(r(i))}}(),t=Lt?Ct:(Lt=1,Ct=function(e,t){return null==e?void 0:e[t]});return Pt=function(n,r){var o=t(n,r);return e(o)?o:void 0}}function gn(){return Kt?Yt:(Kt=1,Yt=function(e){return null!=e&&"object"==typeof e})}function hn(){if(tn)return en;tn=1;var e=Array.isArray;return en=e}function vn(){return rn?nn:(rn=1,nn=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991})}var bn,wn,xn,$n,Sn,kn,_n,En={exports:{}};var jn,On,Rn,Tn,An,Cn={exports:{}};const Ln=s(function(){if(An)return Tn;An=1;var e=function(){if(at)return lt;at=1;var e=an(),t=function(){if(it)return ot;it=1;var e=(rt?nt:(rt=1,nt=function(e,t){return function(n){return e(t(n))}}))(Object.keys,Object);return ot=e}(),n=Object.prototype.hasOwnProperty;return lt=function(r){if(!e(r))return t(r);var o=[];for(var i in Object(r))n.call(r,i)&&"constructor"!=i&&o.push(i);return o}}(),t=function(){if(Gt)return Ut;Gt=1;var e=function(){if(Dt)return Ft;Dt=1;var e=mn()(sn(),"DataView");return Ft=e}(),t=function(){if(Wt)return Nt;Wt=1;var e=mn()(sn(),"Map");return Nt=e}(),n=function(){if(Bt)return Mt;Bt=1;var e=mn()(sn(),"Promise");return Mt=e}(),r=function(){if(Ht)return It;Ht=1;var e=mn()(sn(),"Set");return It=e}(),o=function(){if(Vt)return qt;Vt=1;var e=mn()(sn(),"WeakMap");return qt=e}(),i=fn(),l=yn(),a="[object Map]",c="[object Promise]",s="[object Set]",u="[object WeakMap]",f="[object DataView]",d=l(e),p=l(t),y=l(n),m=l(r),g=l(o),h=i;return(e&&h(new e(new ArrayBuffer(1)))!=f||t&&h(new t)!=a||n&&h(n.resolve())!=c||r&&h(new r)!=s||o&&h(new o)!=u)&&(h=function(e){var t=i(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case d:return f;case p:return a;case y:return c;case m:return s;case g:return u}return t}),Ut=h}(),n=function(){if(Qt)return Jt;Qt=1;var e=function(){if(Zt)return Xt;Zt=1;var e=fn(),t=gn();return Xt=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=gn(),n=Object.prototype,r=n.hasOwnProperty,o=n.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!o.call(e,"callee")};return Jt=i}(),r=hn(),o=function(){if(ln)return on;ln=1;var e=pn(),t=vn();return on=function(n){return null!=n&&t(n.length)&&!e(n)}}(),i=function(){return xn||(xn=1,e=En,t=En.exports,n=sn(),r=wn?bn:(wn=1,bn=function(){return!1}),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,l=i&&i.exports===o?n.Buffer:void 0,a=(l?l.isBuffer:void 0)||r,e.exports=a),En.exports;var e,t,n,r,o,i,l,a}(),l=an(),a=function(){if(Rn)return On;Rn=1;var e,t,n,r,o,i,l,a=function(){if(Sn)return $n;Sn=1;var e=fn(),t=vn(),n=gn(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,$n=function(o){return n(o)&&t(o.length)&&!!r[e(o)]}}(),c=_n?kn:(_n=1,kn=function(e){return function(t){return e(t)}}),s=(jn||(jn=1,e=Cn,t=Cn.exports,n=cn(),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,l=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}(),e.exports=l),Cn.exports),u=s&&s.isTypedArray,f=u?c(u):a;return On=f}(),c=Object.prototype.hasOwnProperty;return Tn=function(s){if(null==s)return!0;if(o(s)&&(r(s)||"string"==typeof s||"function"==typeof s.splice||i(s)||a(s)||n(s)))return!s.length;var u=t(s);if("[object Map]"==u||"[object Set]"==u)return!s.size;if(l(s))return!e(s).length;for(var f in s)if(c.call(s,f))return!1;return!0}}());var Pn,zn,Fn={exports:{}};
51
+ /*!
52
+ Copyright (c) 2018 Jed Watson.
53
+ Licensed under the MIT License (MIT), see
54
+ http://jedwatson.github.io/classnames
55
+ */const Dn=s((Pn||(Pn=1,zn=Fn,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}zn.exports?(t.default=t,zn.exports=t):window.classNames=t}()),Fn.exports)),Nn={core:!1,base:!1};
56
+ /*
57
+ * React Tooltip
58
+ * {@link https://github.com/ReactTooltip/react-tooltip}
59
+ * @copyright ReactTooltip Team
60
+ * @license MIT
61
+ */function Wn({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:r}){var o,i;if(!e||"undefined"==typeof document||Nn[n])return;if("core"===n&&"undefined"!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==n&&"undefined"!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(t="react-tooltip-core-styles"),r||(r={});const{insertAt:l}=r;if(document.getElementById(t))return;const a=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.id=t,c.type="text/css","top"===l&&a.firstChild?a.insertBefore(c,a.firstChild):a.appendChild(c),c.styleSheet?c.styleSheet.cssText=e:c.appendChild(document.createTextNode(e)),Nn[n]=!0}const Mn=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:o=10,strategy:i="absolute",middlewares:l=[Ve(Number(o)),Ge({fallbackAxisSideDirection:"start"}),Ue({padding:5})],border:a})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const c=l;return n?(c.push((e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:c}=t,{element:s,padding:u=0}=X(e,t)||{};if(null==s)return{};const f=ie(u),d={x:n,y:r},p=ne(o),y=ee(p),m=await l.getDimensions(s),g="y"===p,h=g?"top":"left",v=g?"bottom":"right",b=g?"clientHeight":"clientWidth",w=i.reference[y]+i.reference[p]-d[p]-i.floating[y],x=d[p]-i.reference[p],$=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let S=$?$[b]:0;S&&await(null==l.isElement?void 0:l.isElement($))||(S=a.floating[b]||i.floating[y]);const k=w/2-x/2,_=S/2-m[y]/2-1,E=I(f[h],_),j=I(f[v],_),O=E,R=S-m[y]-j,T=S/2-m[y]/2+k,A=K(O,T,R),C=!c.arrow&&null!=J(o)&&T!==A&&i.reference[y]/2-(T<O?E:j)-m[y]/2<0,L=C?T<O?T-O:T-R:0;return{[p]:d[p]+L,data:{[p]:A,centerOffset:T-A-L,...C&&{alignmentOffset:L}},reset:C}}}))({element:n,padding:5})),Ye(e,t,{placement:r,strategy:i,middleware:c}).then((({x:e,y:t,placement:n,middlewareData:r})=>{var o,i;const l={left:`${e}px`,top:`${t}px`,border:a},{x:c,y:s}=null!==(o=r.arrow)&&void 0!==o?o:{x:0,y:0},u=null!==(i={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==i?i:"bottom",f=a&&{borderBottom:a,borderRight:a};let d=0;if(a){const e=`${a}`.match(/(\d+)px/);d=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:l,tooltipArrowStyles:{left:null!=c?`${c}px`:"",top:null!=s?`${s}px`:"",right:"",bottom:"",...f,[u]:`-${4+d}px`},place:n}}))):Ye(e,t,{placement:"bottom",strategy:i,middleware:c}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})))},Bn=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),In=(e,t,n)=>{let r=null;const o=function(...n){!r&&(e.apply(this,n),r=setTimeout((()=>{r=null}),t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},Hn=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,qn=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>qn(e,t[n])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Hn(e)||!Hn(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>qn(e[n],t[n])))},Vn=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},Un=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Vn(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Gn="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,Yn=e=>{e.current&&(clearTimeout(e.current),e.current=null)},Kn={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Xn=e.createContext({getTooltipData:()=>Kn});function Zn(t="DEFAULT_TOOLTIP_ID"){return e.useContext(Xn).getTooltipData(t)}var Jn={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Qn={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const er=({forwardRef:t,id:n,className:r,classNameArrow:o,variant:i="dark",anchorId:l,anchorSelect:a,place:c="top",offset:s=10,events:u=["hover"],openOnClick:f=!1,positionStrategy:d="absolute",middlewares:p,wrapper:y,delayShow:m=0,delayHide:g=0,float:h=!1,hidden:v=!1,noArrow:b=!1,clickable:w=!1,closeOnEsc:x=!1,closeOnScroll:$=!1,closeOnResize:S=!1,openEvents:k,closeEvents:_,globalCloseEvents:E,imperativeModeOnly:j,style:O,position:R,afterShow:T,afterHide:A,disableTooltip:C,content:L,contentWrapperRef:P,isOpen:z,defaultIsOpen:F=!1,setIsOpen:D,activeAnchor:N,setActiveAnchor:W,border:M,opacity:B,arrowColor:I,role:H="tooltip"})=>{var q;const V=e.useRef(null),U=e.useRef(null),G=e.useRef(null),Y=e.useRef(null),K=e.useRef(null),[X,Z]=e.useState({tooltipStyles:{},tooltipArrowStyles:{},place:c}),[J,Q]=e.useState(!1),[ee,te]=e.useState(!1),[ne,re]=e.useState(null),oe=e.useRef(!1),ie=e.useRef(null),{anchorRefs:le,setActiveAnchor:ae}=Zn(n),ce=e.useRef(!1),[se,ue]=e.useState([]),fe=e.useRef(!1),de=f||u.includes("click"),pe=de||(null==k?void 0:k.click)||(null==k?void 0:k.dblclick)||(null==k?void 0:k.mousedown),ye=k?{...k}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!k&&de&&Object.assign(ye,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const me=_?{..._}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!_&&de&&Object.assign(me,{mouseleave:!1,blur:!1,mouseout:!1});const ge=E?{...E}:{escape:x||!1,scroll:$||!1,resize:S||!1,clickOutsideAnchor:pe||!1};j&&(Object.assign(ye,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(me,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(ge,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Gn((()=>(fe.current=!0,()=>{fe.current=!1})),[]);const he=e=>{fe.current&&(e&&te(!0),setTimeout((()=>{fe.current&&(null==D||D(e),void 0===z&&Q(e))}),10))};e.useEffect((()=>{if(void 0===z)return()=>null;z&&te(!0);const e=setTimeout((()=>{Q(z)}),10);return()=>{clearTimeout(e)}}),[z]),e.useEffect((()=>{if(J!==oe.current)if(Yn(K),oe.current=J,J)null==T||T();else{const e=(()=>{const e=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!e)return 0;const[,t,n]=e;return Number(t)*("ms"===n?1:1e3)})();K.current=setTimeout((()=>{te(!1),re(null),null==A||A()}),e+25)}}),[J]);const ve=e=>{Z((t=>qn(t,e)?t:e))},be=(e=m)=>{Yn(G),ee?he(!0):G.current=setTimeout((()=>{he(!0)}),e)},we=(e=g)=>{Yn(Y),Y.current=setTimeout((()=>{ce.current||he(!1)}),e)},xe=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return W(null),void ae({current:null});m?be():he(!0),W(n),ae({current:n}),Yn(Y)},$e=()=>{w?we(g||100):g?we():he(!1),Yn(G)},Se=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};Mn({place:null!==(n=null==ne?void 0:ne.place)&&void 0!==n?n:c,offset:s,elementReference:r,tooltipReference:V.current,tooltipArrowReference:U.current,strategy:d,middlewares:p,border:M}).then((e=>{ve(e)}))},ke=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};Se(n),ie.current=n},_e=e=>{var t;if(!J)return;const n=e.target;n.isConnected&&((null===(t=V.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${l}']`),...se].some((e=>null==e?void 0:e.contains(n)))||(he(!1),Yn(G)))},Ee=In(xe,50),je=In($e,50),Oe=e=>{je.cancel(),Ee(e)},Re=()=>{Ee.cancel(),je()},Te=e.useCallback((()=>{var e,t;const n=null!==(e=null==ne?void 0:ne.position)&&void 0!==e?e:R;n?Se(n):h?ie.current&&Se(ie.current):(null==N?void 0:N.isConnected)&&Mn({place:null!==(t=null==ne?void 0:ne.place)&&void 0!==t?t:c,offset:s,elementReference:N,tooltipReference:V.current,tooltipArrowReference:U.current,strategy:d,middlewares:p,border:M}).then((e=>{fe.current&&ve(e)}))}),[J,N,L,O,c,null==ne?void 0:ne.place,s,d,R,null==ne?void 0:ne.position,h]);e.useEffect((()=>{var e,t;const n=new Set(le);se.forEach((e=>{(null==C?void 0:C(e))||n.add({current:e})}));const r=document.querySelector(`[id='${l}']`);r&&!(null==C?void 0:C(r))&&n.add({current:r});const o=()=>{he(!1)},i=Un(N),a=Un(V.current);ge.scroll&&(window.addEventListener("scroll",o),null==i||i.addEventListener("scroll",o),null==a||a.addEventListener("scroll",o));let c=null;ge.resize?window.addEventListener("resize",o):N&&V.current&&(c=qe(N,V.current,Te,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const s=e=>{"Escape"===e.key&&he(!1)};ge.escape&&window.addEventListener("keydown",s),ge.clickOutsideAnchor&&window.addEventListener("click",_e);const u=[],f=e=>{J&&(null==e?void 0:e.target)===N||xe(e)},d=e=>{J&&(null==e?void 0:e.target)===N&&$e()},p=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],y=["click","dblclick","mousedown","mouseup"];Object.entries(ye).forEach((([e,t])=>{t&&(p.includes(e)?u.push({event:e,listener:Oe}):y.includes(e)&&u.push({event:e,listener:f}))})),Object.entries(me).forEach((([e,t])=>{t&&(p.includes(e)?u.push({event:e,listener:Re}):y.includes(e)&&u.push({event:e,listener:d}))})),h&&u.push({event:"pointermove",listener:ke});const m=()=>{ce.current=!0},g=()=>{ce.current=!1,$e()};return w&&!pe&&(null===(e=V.current)||void 0===e||e.addEventListener("mouseenter",m),null===(t=V.current)||void 0===t||t.addEventListener("mouseleave",g)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)}))})),()=>{var e,t;ge.scroll&&(window.removeEventListener("scroll",o),null==i||i.removeEventListener("scroll",o),null==a||a.removeEventListener("scroll",o)),ge.resize?window.removeEventListener("resize",o):null==c||c(),ge.clickOutsideAnchor&&window.removeEventListener("click",_e),ge.escape&&window.removeEventListener("keydown",s),w&&!pe&&(null===(e=V.current)||void 0===e||e.removeEventListener("mouseenter",m),null===(t=V.current)||void 0===t||t.removeEventListener("mouseleave",g)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)}))}))}}),[N,Te,ee,le,se,k,_,E,de,m,g]),e.useEffect((()=>{var e,t;let r=null!==(t=null!==(e=null==ne?void 0:ne.anchorSelect)&&void 0!==e?e:a)&&void 0!==t?t:"";!r&&n&&(r=`[data-tooltip-id='${n.replace(/'/g,"\\'")}']`);const o=new MutationObserver((e=>{const t=[],o=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===n?t.push(e.target):e.oldValue===n&&o.push(e.target)),"childList"===e.type){if(N){const t=[...e.removedNodes].filter((e=>1===e.nodeType));if(r)try{o.push(...t.filter((e=>e.matches(r)))),o.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(i){}t.some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,N))&&(te(!1),he(!1),W(null),Yn(G),Yn(Y),!0)}))}if(r)try{const n=[...e.addedNodes].filter((e=>1===e.nodeType));t.push(...n.filter((e=>e.matches(r)))),t.push(...n.flatMap((e=>[...e.querySelectorAll(r)])))}catch(i){}}})),(t.length||o.length)&&ue((e=>[...e.filter((e=>!o.includes(e))),...t]))}));return o.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{o.disconnect()}}),[n,a,null==ne?void 0:ne.anchorSelect,N]),e.useEffect((()=>{Te()}),[Te]),e.useEffect((()=>{if(!(null==P?void 0:P.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>Te()))}));return e.observe(P.current),()=>{e.disconnect()}}),[L,null==P?void 0:P.current]),e.useEffect((()=>{var e;const t=document.querySelector(`[id='${l}']`),n=[...se,t];N&&n.includes(N)||W(null!==(e=se[0])&&void 0!==e?e:t)}),[l,se,N]),e.useEffect((()=>(F&&he(!0),()=>{Yn(G),Yn(Y)})),[]),e.useEffect((()=>{var e;let t=null!==(e=null==ne?void 0:ne.anchorSelect)&&void 0!==e?e:a;if(!t&&n&&(t=`[data-tooltip-id='${n.replace(/'/g,"\\'")}']`),t)try{const e=Array.from(document.querySelectorAll(t));ue(e)}catch(r){ue([])}}),[n,a,null==ne?void 0:ne.anchorSelect]),e.useEffect((()=>{G.current&&(Yn(G),be(m))}),[m]);const Ae=null!==(q=null==ne?void 0:ne.content)&&void 0!==q?q:L,Ce=J&&Object.keys(X.tooltipStyles).length>0;return e.useImperativeHandle(t,(()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return}re(null!=e?e:null),(null==e?void 0:e.delay)?be(e.delay):he(!0)},close:e=>{(null==e?void 0:e.delay)?we(e.delay):he(!1)},activeAnchor:N,place:X.place,isOpen:Boolean(ee&&!v&&Ae&&Ce)}))),ee&&!v&&Ae?e.createElement(y,{id:n,role:H,className:Dn("react-tooltip",Jn.tooltip,Qn.tooltip,Qn[i],r,`react-tooltip__place-${X.place}`,Jn[Ce?"show":"closing"],Ce?"react-tooltip__show":"react-tooltip__closing","fixed"===d&&Jn.fixed,w&&Jn.clickable),onTransitionEnd:e=>{Yn(K),J||"opacity"!==e.propertyName||(te(!1),re(null),null==A||A())},style:{...O,...X.tooltipStyles,opacity:void 0!==B&&Ce?B:void 0},ref:V},Ae,e.createElement(y,{className:Dn("react-tooltip-arrow",Jn.arrow,Qn.arrow,o,b&&Jn.noArrow),style:{...X.tooltipArrowStyles,background:I?`linear-gradient(to right bottom, transparent 50%, ${I} 50%)`:void 0},ref:U})):null},tr=({content:t})=>e.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),nr=e.forwardRef((({id:t,anchorId:n,anchorSelect:r,content:o,html:i,render:l,className:a,classNameArrow:c,variant:s="dark",place:u="top",offset:f=10,wrapper:d="div",children:p=null,events:y=["hover"],openOnClick:m=!1,positionStrategy:g="absolute",middlewares:h,delayShow:v=0,delayHide:b=0,float:w=!1,hidden:x=!1,noArrow:$=!1,clickable:S=!1,closeOnEsc:k=!1,closeOnScroll:_=!1,closeOnResize:E=!1,openEvents:j,closeEvents:O,globalCloseEvents:R,imperativeModeOnly:T=!1,style:A,position:C,isOpen:L,defaultIsOpen:P=!1,disableStyleInjection:z=!1,border:F,opacity:D,arrowColor:N,setIsOpen:W,afterShow:M,afterHide:B,disableTooltip:I,role:H="tooltip"},q)=>{const[V,U]=e.useState(o),[G,Y]=e.useState(i),[K,X]=e.useState(u),[Z,J]=e.useState(s),[Q,ee]=e.useState(f),[te,ne]=e.useState(v),[re,oe]=e.useState(b),[ie,le]=e.useState(w),[ae,ce]=e.useState(x),[se,ue]=e.useState(d),[fe,de]=e.useState(y),[pe,ye]=e.useState(g),[me,ge]=e.useState(null),[he,ve]=e.useState(null),be=e.useRef(z),{anchorRefs:we,activeAnchor:xe}=Zn(t),$e=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t}),{}),Se=e=>{const t={place:e=>{var t;X(null!==(t=e)&&void 0!==t?t:u)},content:e=>{U(null!=e?e:o)},html:e=>{Y(null!=e?e:i)},variant:e=>{var t;J(null!==(t=e)&&void 0!==t?t:s)},offset:e=>{ee(null===e?f:Number(e))},wrapper:e=>{var t;ue(null!==(t=e)&&void 0!==t?t:d)},events:e=>{const t=null==e?void 0:e.split(" ");de(null!=t?t:y)},"position-strategy":e=>{var t;ye(null!==(t=e)&&void 0!==t?t:g)},"delay-show":e=>{ne(null===e?v:Number(e))},"delay-hide":e=>{oe(null===e?b:Number(e))},float:e=>{le(null===e?w:"true"===e)},hidden:e=>{ce(null===e?x:"true"===e)},"class-name":e=>{ge(e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)}))};e.useEffect((()=>{U(o)}),[o]),e.useEffect((()=>{Y(i)}),[i]),e.useEffect((()=>{X(u)}),[u]),e.useEffect((()=>{J(s)}),[s]),e.useEffect((()=>{ee(f)}),[f]),e.useEffect((()=>{ne(v)}),[v]),e.useEffect((()=>{oe(b)}),[b]),e.useEffect((()=>{le(w)}),[w]),e.useEffect((()=>{ce(x)}),[x]),e.useEffect((()=>{ye(g)}),[g]),e.useEffect((()=>{be.current}),[z]),e.useEffect((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===z,disableBase:z}}))}),[]),e.useEffect((()=>{var e;const o=new Set(we);let i=r;if(!i&&t&&(i=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach((e=>{o.add({current:e})}))}catch(u){}const l=document.querySelector(`[id='${n}']`);if(l&&o.add({current:l}),!o.size)return()=>null;const a=null!==(e=null!=he?he:l)&&void 0!==e?e:xe.current,c=new MutationObserver((e=>{e.forEach((e=>{var t;if(!a||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=$e(a);Se(n)}))})),s={attributes:!0,childList:!1,subtree:!1};if(a){const e=$e(a);Se(e),c.observe(a,s)}return()=>{c.disconnect()}}),[we,xe,he,n,r]),e.useEffect((()=>{null==A||A.border,F&&Bn("border",`${F}`),null==A||A.opacity,D&&Bn("opacity",`${D}`)}),[]);let ke=p;const _e=e.useRef(null);if(l){const t=l({content:(null==he?void 0:he.getAttribute("data-tooltip-content"))||V||null,activeAnchor:he});ke=t?e.createElement("div",{ref:_e,className:"react-tooltip-content-wrapper"},t):null}else V&&(ke=V);G&&(ke=e.createElement(tr,{content:G}));const Ee={forwardRef:q,id:t,anchorId:n,anchorSelect:r,className:Dn(a,me),classNameArrow:c,content:ke,contentWrapperRef:_e,place:K,variant:Z,offset:Q,wrapper:se,events:fe,openOnClick:m,positionStrategy:pe,middlewares:h,delayShow:te,delayHide:re,float:ie,hidden:ae,noArrow:$,clickable:S,closeOnEsc:k,closeOnScroll:_,closeOnResize:E,openEvents:j,closeEvents:O,globalCloseEvents:R,imperativeModeOnly:T,style:A,position:C,isOpen:L,defaultIsOpen:P,border:F,opacity:D,arrowColor:N,setIsOpen:W,afterShow:M,afterHide:B,disableTooltip:I,activeAnchor:he,setActiveAnchor:e=>ve(e),role:H};return e.createElement(er,{...Ee})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||Wn({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Wn({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})}));const rr=t.styled(j)``,or=t.styled.div`
62
+ ${({theme:e,$maxWidth:t="320px"})=>`\n > :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {\n background-color: ${e.palette.gray[700]};\n border-radius: 8px;\n color: ${e.palette.white};\n font-size: ${e.typography.text.xs};\n max-width: ${t};\n padding: ${e.spacing[.75]};\n z-index: 999999;\n --rt-opacity: 1;\n }\n `}
63
+ `,ir=e.forwardRef((function({children:r,disabled:o=!1,display:i="inline-block",effect:l="solid",icon:a,iconColor:c,iconSize:s,id:u,maxWidth:f,nodeTip:d,place:p="bottom",tip:y="",title:m="",hide:h=""===y&&""===m&&void 0===d,...v},b){const w=t.useTheme(),[x,$]=e.useState(!1),S=e.useRef(null),k=e.useCallback((()=>{null!==S.current&&clearTimeout(S.current),S.current=setTimeout((()=>{$(!0)}),100)}),[]),_=e.useCallback((()=>{null!==S.current&&clearTimeout(S.current),S.current=setTimeout((()=>{$(!1)}),100)}),[]);return o?g.jsx(e.StrictMode,{children:r}):g.jsxs(rr,{"data-tooltip-id":u,display:i,onMouseLeave:_,onMouseMove:k,ref:b,...v,children:[a?g.jsx(W,{clickable:!0,disabled:o,icon:a,iconColor:c,iconSize:s??"xxs",iconType:x?"fa-solid":"fa-light"}):r,n.createPortal(g.jsx(or,{$maxWidth:f,children:g.jsxs(nr,{delayShow:500,float:"float"===l||void 0,globalCloseEvents:{resize:!0},hidden:h||!x,id:u,middlewares:[(O={fallbackAxisSideDirection:"start"},{...Ge(O),options:[O,undefined]}),(E={mainAxis:10},{...Ve(E),options:[E,j]})],noArrow:"float"===l,place:p,children:[Ln(m)?void 0:g.jsx(F,{color:w.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:m}),Ln(y)?void 0:g.jsx(F,{color:w.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:y}),Ln(d)?void 0:d]})}),document.getElementById("root")??document.body)]});var E,j,O})),lr=s(dn()),ar=e.forwardRef((function({children:t,disabled:n=!1,external:r=!1,href:o,id:i,icon:l,name:a,onClick:c,showArrow:s=!1,type:u="button",tooltip:f,tooltipPlace:d="bottom",underline:p=!1,value:y,variant:m="primary",...h},v){const b=void 0!==f,w=`${i}-tooltip`,x=e.useCallback((()=>{o&&((e,t=!0)=>{const n=window.open(e,t?void 0:"_self","noopener,noreferrer,");lr(n)&&(n.opener=null)})(o,r)}),[r,o]);return g.jsx(ir,{disabled:!b,id:w,place:d,tip:f,children:g.jsxs(B,{$variant:m,className:p?"underline":void 0,disabled:n,id:i,name:a,onClick:"link"===m?x:c,ref:v,type:u,value:y,...b?{"data-tooltip-id":w}:{},...h,children:[void 0!==l&&g.jsx(W,{icon:l,iconSize:"xs",iconType:"fa-light"}),t,(s||"link"===m)&&g.jsx(W,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})}));exports.BaseButtonComponent=O,exports.BaseComponent=j,exports.BaseSpanComponent=T,exports.BaseTextComponent=R,exports.Button=ar,exports.CustomThemeProvider=({children:e})=>g.jsx(t.ThemeProvider,{theme:h,children:e}),exports.Heading=P,exports.Icon=W,exports.Span=z,exports.StyledButton=B,exports.StyledText=C,exports.Text=F,exports.Tooltip=ir,exports.autoUpdate=qe,exports.commonjsGlobal=c,exports.getDefaultExportFromCjs=s,exports.getStyledConfig=E,exports.hiddenProps=a,exports.icons=["lock-keyhole","bars-sort","bolt","books","brain-circuit","briefcase","bug","buildings","bullseye-pointer","calendar-clock","calendar-xmark","chart-network","clipboard-check","comment","envelope","eye","file","flag","globe","hand-holding-dollar","hands-clapping","headset","hexagon-exclamation","light-emergency-on","magnifying-glass","pen-line","plane-departure","screwdriver-wrench","sensor-triangle-exclamation","shield-check","sidebar","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],exports.isEmpty=Ln,exports.isObject=lr,exports.jsxRuntimeExports=g,exports.requireIsArray=hn,exports.requireIsObjectLike=gn,exports.require_Symbol=un,exports.require_baseGetTag=fn,exports.setBorder=$,exports.setDisplay=S,exports.setInteraction=_,exports.setMargin=w,exports.setPadding=b,exports.setPosition=x,exports.setText=k,exports.theme=h,exports.uniqueIcons=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],exports.useFloating=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:l,elements:{reference:a,floating:c}={},transform:s=!0,whileElementsMounted:u,open:f}=e,[d,p]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,m]=o.useState(r);Xe(y,r)||m(r);const[g,h]=o.useState(null),[v,b]=o.useState(null),w=o.useCallback((e=>{e!==k.current&&(k.current=e,h(e))}),[]),x=o.useCallback((e=>{e!==_.current&&(_.current=e,b(e))}),[]),$=a||g,S=c||v,k=o.useRef(null),_=o.useRef(null),E=o.useRef(d),j=null!=u,O=Qe(u),R=Qe(l),T=Qe(f),A=o.useCallback((()=>{if(!k.current||!_.current)return;const e={placement:t,strategy:n,middleware:y};R.current&&(e.platform=R.current),Ye(k.current,_.current,e).then((e=>{const t={...e,isPositioned:!1!==T.current};C.current&&!Xe(E.current,t)&&(E.current=t,i.flushSync((()=>{p(t)})))}))}),[y,t,n,R,T]);Ke((()=>{!1===f&&E.current.isPositioned&&(E.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[f]);const C=o.useRef(!1);Ke((()=>(C.current=!0,()=>{C.current=!1})),[]),Ke((()=>{if($&&(k.current=$),S&&(_.current=S),$&&S){if(O.current)return O.current($,S,A);A()}}),[$,S,A,O,j]);const L=o.useMemo((()=>({reference:k,floating:_,setReference:w,setFloating:x})),[w,x]),P=o.useMemo((()=>({reference:$,floating:S})),[$,S]),z=o.useMemo((()=>{const e={position:n,left:0,top:0};if(!P.floating)return e;const t=Je(P.floating,d.x),r=Je(P.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...Ze(P.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,s,P.floating,d.x,d.y]);return o.useMemo((()=>({...d,update:A,refs:L,elements:P,floatingStyles:z})),[d,A,L,P,z])},exports.variantBuilder=l;