@cgi-learning-hub/ui 0.0.1-dev.1708964890 → 0.0.1-dev.1708990372

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 (134) hide show
  1. package/dist/Button-Tkz5NkF_.cjs +1 -0
  2. package/dist/Button-X7eWZQfX.js +356 -0
  3. package/dist/ButtonBase-CKfcGhaU.js +892 -0
  4. package/dist/ButtonBase-Cg8cBMzO.cjs +75 -0
  5. package/dist/Input-CAb0EFzc.cjs +1 -0
  6. package/dist/Input-CbYjsRHK.js +322 -0
  7. package/dist/{InputBase-C_yPRkam.js → InputBase-B13Nzzhk.js} +215 -193
  8. package/dist/InputBase-CKlCw9fj.cjs +4 -0
  9. package/dist/assets/index.css +1 -1
  10. package/dist/components/AnotherComponent/AnotherComponent.cjs.js +1 -0
  11. package/dist/components/AnotherComponent/AnotherComponent.d.ts +2 -0
  12. package/dist/components/AnotherComponent/AnotherComponent.es.js +15 -0
  13. package/dist/components/AnotherComponent/AnotherComponent.stories.cjs.js +1 -0
  14. package/dist/components/{Dropzone/Dropzone.stories.d.ts → AnotherComponent/AnotherComponent.stories.d.ts} +2 -1
  15. package/dist/components/AnotherComponent/AnotherComponent.stories.es.js +22 -0
  16. package/dist/components/AnotherComponent/index.cjs.js +1 -0
  17. package/dist/components/AnotherComponent/index.d.ts +2 -0
  18. package/dist/components/AnotherComponent/index.es.js +4 -0
  19. package/dist/components/BasicButtons/BasicButtons.cjs.js +1 -0
  20. package/dist/components/BasicButtons/BasicButtons.d.ts +2 -0
  21. package/dist/components/BasicButtons/BasicButtons.es.js +189 -0
  22. package/dist/components/BasicButtons/BasicButtons.stories.cjs.js +1 -0
  23. package/dist/components/BasicButtons/BasicButtons.stories.d.ts +5 -0
  24. package/dist/components/BasicButtons/BasicButtons.stories.es.js +22 -0
  25. package/dist/components/BasicButtons/index.cjs.js +1 -0
  26. package/dist/components/BasicButtons/index.d.ts +2 -0
  27. package/dist/components/BasicButtons/index.es.js +4 -0
  28. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +28 -1
  29. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +267 -408
  30. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  31. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +5 -5
  32. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  33. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
  34. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  35. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.d.ts +1 -1
  36. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +7 -8
  37. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  38. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
  39. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  40. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.d.ts +1 -1
  41. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +9 -10
  42. package/dist/components/index.cjs.js +1 -1
  43. package/dist/components/index.d.ts +2 -4
  44. package/dist/components/index.es.js +14 -18
  45. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  46. package/dist/components/inputs/SearchInput/SearchInput.es.js +247 -77
  47. package/dist/components/inputs/TextInput/TextInput.cjs.js +13 -11
  48. package/dist/components/inputs/TextInput/TextInput.es.js +1631 -1844
  49. package/dist/{createSvgIcon-B6bZPuto.cjs → createSvgIcon-jvI3LIfI.cjs} +1 -1
  50. package/dist/{createSvgIcon-KaSN8JhZ.js → createSvgIcon-qXNZi4k1.js} +8 -8
  51. package/dist/extendSxProp-BRHiEwyk.js +29 -0
  52. package/dist/extendSxProp-CvhhU9Vb.cjs +1 -0
  53. package/dist/index.cjs.js +1 -1
  54. package/dist/index.es.js +12 -16
  55. package/dist/useForkRef-82uiK71d.cjs +1 -0
  56. package/dist/useForkRef-CLcOhrzI.js +44 -0
  57. package/dist/useTheme-BWRyHzdn.js +65 -0
  58. package/dist/useTheme-BpLcDNG1.cjs +1 -0
  59. package/dist/{useThemeProps-Dg9Uoq7q.js → useThemeProps-B6yTTpAe.js} +1024 -1018
  60. package/dist/useThemeProps-CDriK9TK.cjs +65 -0
  61. package/package.json +1 -2
  62. package/dist/Box-7uR7JZiM.cjs +0 -1
  63. package/dist/Box-CPGTKTgx.js +0 -56
  64. package/dist/ButtonBase-B0tkJ9zf.js +0 -831
  65. package/dist/ButtonBase-DCL6Xlnm.cjs +0 -75
  66. package/dist/CircularProgress-CZX5SfKt.cjs +0 -28
  67. package/dist/CircularProgress-CguDBnxV.js +0 -215
  68. package/dist/IconButton-CJ1Nt-jf.js +0 -182
  69. package/dist/IconButton-De7ZdW2q.cjs +0 -2
  70. package/dist/InputBase-Dvr5GnwD.cjs +0 -4
  71. package/dist/Tab-Bhm9hCrX.cjs +0 -1
  72. package/dist/Tab-C4l6V01S.js +0 -237
  73. package/dist/TransitionGroupContext-C7wWJ6l7.js +0 -14
  74. package/dist/TransitionGroupContext-g4tmk10h.cjs +0 -1
  75. package/dist/Typography-CyFLZjnE.js +0 -202
  76. package/dist/Typography-DwsN2Ttm.cjs +0 -1
  77. package/dist/components/Dropzone/Dropzone.cjs.js +0 -5
  78. package/dist/components/Dropzone/Dropzone.d.ts +0 -9
  79. package/dist/components/Dropzone/Dropzone.es.js +0 -1210
  80. package/dist/components/Dropzone/Dropzone.stories.cjs.js +0 -1
  81. package/dist/components/Dropzone/Dropzone.stories.es.js +0 -17
  82. package/dist/components/Dropzone/index.cjs.js +0 -1
  83. package/dist/components/Dropzone/index.d.ts +0 -2
  84. package/dist/components/Dropzone/index.es.js +0 -4
  85. package/dist/components/buttons/IconButton.stories.cjs.js +0 -1
  86. package/dist/components/buttons/IconButton.stories.d.ts +0 -4
  87. package/dist/components/buttons/IconButton.stories.es.js +0 -27
  88. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +0 -1
  89. package/dist/components/inputs/SearchInput/SearchInput.stories.d.ts +0 -4
  90. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +0 -16
  91. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +0 -1
  92. package/dist/components/inputs/TextInput/TextInput.stories.d.ts +0 -4
  93. package/dist/components/inputs/TextInput/TextInput.stories.es.js +0 -17
  94. package/dist/components/lists/FileList/FileList.cjs.js +0 -1
  95. package/dist/components/lists/FileList/FileList.d.ts +0 -7
  96. package/dist/components/lists/FileList/FileList.es.js +0 -19
  97. package/dist/components/lists/FileList/FileList.stories.cjs.js +0 -1
  98. package/dist/components/lists/FileList/FileList.stories.d.ts +0 -4
  99. package/dist/components/lists/FileList/FileList.stories.es.js +0 -28
  100. package/dist/components/lists/FileList/FileListItem.cjs.js +0 -1
  101. package/dist/components/lists/FileList/FileListItem.d.ts +0 -13
  102. package/dist/components/lists/FileList/FileListItem.es.js +0 -41
  103. package/dist/components/lists/FileList/index.cjs.js +0 -1
  104. package/dist/components/lists/FileList/index.d.ts +0 -4
  105. package/dist/components/lists/FileList/index.es.js +0 -6
  106. package/dist/components/lists/TabList.stories.cjs.js +0 -4
  107. package/dist/components/lists/TabList.stories.d.ts +0 -4
  108. package/dist/components/lists/TabList.stories.es.js +0 -1027
  109. package/dist/components/lists/index.cjs.js +0 -1
  110. package/dist/components/lists/index.d.ts +0 -1
  111. package/dist/components/lists/index.es.js +0 -6
  112. package/dist/createSvgIcon-BX8WQ5r-.cjs +0 -2
  113. package/dist/createSvgIcon-m_wsenOJ.js +0 -84
  114. package/dist/isHostComponent-PydJW4A4.cjs +0 -1
  115. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  116. package/dist/ownerWindow-C7EH1lr6.js +0 -23
  117. package/dist/ownerWindow-Dk_4aaak.cjs +0 -1
  118. package/dist/refType-CHSN6ysS.cjs +0 -1
  119. package/dist/refType-Hh9tfnoF.js +0 -29
  120. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  121. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  122. package/dist/useControlled-BsLcOmhe.js +0 -48
  123. package/dist/useControlled-jN3fqFfv.cjs +0 -3
  124. package/dist/useForkRef-CGd3Nhyb.cjs +0 -1
  125. package/dist/useForkRef-DwN_Iz9R.js +0 -17
  126. package/dist/useIsFocusVisible-BF0lT08B.cjs +0 -1
  127. package/dist/useIsFocusVisible-D8ksiuhS.js +0 -69
  128. package/dist/useSlotProps-MoAYME1z.js +0 -70
  129. package/dist/useSlotProps-R4s13HHI.cjs +0 -1
  130. package/dist/useTheme-BDPYLOoP.cjs +0 -1
  131. package/dist/useTheme-DJEDOopE.js +0 -9
  132. package/dist/useThemeProps-jkB5q9ie.cjs +0 -65
  133. package/dist/useTimeout-KN97abZR.js +0 -47
  134. package/dist/useTimeout-qjxkiZZn.cjs +0 -1
@@ -0,0 +1,65 @@
1
+ "use strict";const Ht=require("@emotion/styled"),Xt=require("@emotion/react"),Jt=require("react");function Zt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Qt=Zt(Jt);function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},R.apply(this,arguments)}function ne(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function er(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tt={exports:{}},Ae={exports:{}},M={};/** @license React v16.13.1
2
+ * react-is.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */var mt;function tr(){if(mt)return M;mt=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,E=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,a=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,q=e?Symbol.for("react.scope"):60119;function D(f){if(typeof f=="object"&&f!==null){var z=f.$$typeof;switch(z){case t:switch(f=f.type,f){case c:case l:case n:case i:case o:case h:return f;default:switch(f=f&&f.$$typeof,f){case u:case y:case T:case E:case s:return f;default:return z}}case r:return z}}}function F(f){return D(f)===l}return M.AsyncMode=c,M.ConcurrentMode=l,M.ContextConsumer=u,M.ContextProvider=s,M.Element=t,M.ForwardRef=y,M.Fragment=n,M.Lazy=T,M.Memo=E,M.Portal=r,M.Profiler=i,M.StrictMode=o,M.Suspense=h,M.isAsyncMode=function(f){return F(f)||D(f)===c},M.isConcurrentMode=F,M.isContextConsumer=function(f){return D(f)===u},M.isContextProvider=function(f){return D(f)===s},M.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===t},M.isForwardRef=function(f){return D(f)===y},M.isFragment=function(f){return D(f)===n},M.isLazy=function(f){return D(f)===T},M.isMemo=function(f){return D(f)===E},M.isPortal=function(f){return D(f)===r},M.isProfiler=function(f){return D(f)===i},M.isStrictMode=function(f){return D(f)===o},M.isSuspense=function(f){return D(f)===h},M.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===l||f===i||f===o||f===h||f===d||typeof f=="object"&&f!==null&&(f.$$typeof===T||f.$$typeof===E||f.$$typeof===s||f.$$typeof===u||f.$$typeof===y||f.$$typeof===a||f.$$typeof===P||f.$$typeof===q||f.$$typeof===m)},M.typeOf=D,M}var j={};/** @license React v16.13.1
9
+ * react-is.development.js
10
+ *
11
+ * Copyright (c) Facebook, Inc. and its affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */var yt;function rr(){return yt||(yt=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,E=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,a=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,q=e?Symbol.for("react.scope"):60119;function D(g){return typeof g=="string"||typeof g=="function"||g===n||g===l||g===i||g===o||g===h||g===d||typeof g=="object"&&g!==null&&(g.$$typeof===T||g.$$typeof===E||g.$$typeof===s||g.$$typeof===u||g.$$typeof===y||g.$$typeof===a||g.$$typeof===P||g.$$typeof===q||g.$$typeof===m)}function F(g){if(typeof g=="object"&&g!==null){var J=g.$$typeof;switch(J){case t:var v=g.type;switch(v){case c:case l:case n:case i:case o:case h:return v;default:var he=v&&v.$$typeof;switch(he){case u:case y:case T:case E:case s:return he;default:return J}}case r:return J}}}var f=c,z=l,ie=u,ee=s,ce=t,se=y,W=n,K=T,te=E,H=r,le=i,G=o,ae=h,de=!1;function ye(g){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),p(g)||F(g)===c}function p(g){return F(g)===l}function b(g){return F(g)===u}function $(g){return F(g)===s}function x(g){return typeof g=="object"&&g!==null&&g.$$typeof===t}function S(g){return F(g)===y}function w(g){return F(g)===n}function O(g){return F(g)===T}function _(g){return F(g)===E}function C(g){return F(g)===r}function I(g){return F(g)===i}function A(g){return F(g)===o}function V(g){return F(g)===h}j.AsyncMode=f,j.ConcurrentMode=z,j.ContextConsumer=ie,j.ContextProvider=ee,j.Element=ce,j.ForwardRef=se,j.Fragment=W,j.Lazy=K,j.Memo=te,j.Portal=H,j.Profiler=le,j.StrictMode=G,j.Suspense=ae,j.isAsyncMode=ye,j.isConcurrentMode=p,j.isContextConsumer=b,j.isContextProvider=$,j.isElement=x,j.isForwardRef=S,j.isFragment=w,j.isLazy=O,j.isMemo=_,j.isPortal=C,j.isProfiler=I,j.isStrictMode=A,j.isSuspense=V,j.isValidElementType=D,j.typeOf=F}()),j}var ht;function Dt(){return ht||(ht=1,process.env.NODE_ENV==="production"?Ae.exports=tr():Ae.exports=rr()),Ae.exports}/*
16
+ object-assign
17
+ (c) Sindre Sorhus
18
+ @license MIT
19
+ */var Ge,gt;function nr(){if(gt)return Ge;gt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},u=0;u<10;u++)s["_"+String.fromCharCode(u)]=u;var c=Object.getOwnPropertyNames(s).map(function(y){return s[y]});if(c.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(y){l[y]=y}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ge=o()?Object.assign:function(i,s){for(var u,c=n(i),l,y=1;y<arguments.length;y++){u=Object(arguments[y]);for(var h in u)t.call(u,h)&&(c[h]=u[h]);if(e){l=e(u);for(var d=0;d<l.length;d++)r.call(u,l[d])&&(c[l[d]]=u[l[d]])}}return c},Ge}var He,bt;function ot(){if(bt)return He;bt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return He=e,He}var Xe,vt;function Ft(){return vt||(vt=1,Xe=Function.call.bind(Object.prototype.hasOwnProperty)),Xe}var Je,Et;function or(){if(Et)return Je;Et=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ot(),r={},n=Ft();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,u,c,l){if(process.env.NODE_ENV!=="production"){for(var y in i)if(n(i,y)){var h;try{if(typeof i[y]!="function"){var d=Error((c||"React class")+": "+u+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}h=i[y](s,y,c,u,null,t)}catch(T){h=T}if(h&&!(h instanceof Error)&&e((c||"React class")+": type specification of "+u+" `"+y+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in r)){r[h.message]=!0;var E=l?l():"";e("Failed "+u+" type: "+h.message+(E??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Je=o,Je}var Ze,Tt;function ir(){if(Tt)return Ze;Tt=1;var e=Dt(),t=nr(),r=ot(),n=Ft(),o=or(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(u){var c="Warning: "+u;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function s(){return null}return Ze=function(u,c){var l=typeof Symbol=="function"&&Symbol.iterator,y="@@iterator";function h(p){var b=p&&(l&&p[l]||p[y]);if(typeof b=="function")return b}var d="<<anonymous>>",E={array:P("array"),bigint:P("bigint"),bool:P("boolean"),func:P("function"),number:P("number"),object:P("object"),string:P("string"),symbol:P("symbol"),any:q(),arrayOf:D,element:F(),elementType:f(),instanceOf:z,node:se(),objectOf:ee,oneOf:ie,oneOfType:ce,shape:K,exact:te};function T(p,b){return p===b?p!==0||1/p===1/b:p!==p&&b!==b}function m(p,b){this.message=p,this.data=b&&typeof b=="object"?b:{},this.stack=""}m.prototype=Error.prototype;function a(p){if(process.env.NODE_ENV!=="production")var b={},$=0;function x(w,O,_,C,I,A,V){if(C=C||d,A=A||_,V!==r){if(c){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var J=C+":"+_;!b[J]&&$<3&&(i("You are manually calling a React.PropTypes validation function for the `"+A+"` prop on `"+C+"`. 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."),b[J]=!0,$++)}}return O[_]==null?w?O[_]===null?new m("The "+I+" `"+A+"` is marked as required "+("in `"+C+"`, but its value is `null`.")):new m("The "+I+" `"+A+"` is marked as required in "+("`"+C+"`, but its value is `undefined`.")):null:p(O,_,C,I,A)}var S=x.bind(null,!1);return S.isRequired=x.bind(null,!0),S}function P(p){function b($,x,S,w,O,_){var C=$[x],I=G(C);if(I!==p){var A=ae(C);return new m("Invalid "+w+" `"+O+"` of type "+("`"+A+"` supplied to `"+S+"`, expected ")+("`"+p+"`."),{expectedType:p})}return null}return a(b)}function q(){return a(s)}function D(p){function b($,x,S,w,O){if(typeof p!="function")return new m("Property `"+O+"` of component `"+S+"` has invalid PropType notation inside arrayOf.");var _=$[x];if(!Array.isArray(_)){var C=G(_);return new m("Invalid "+w+" `"+O+"` of type "+("`"+C+"` supplied to `"+S+"`, expected an array."))}for(var I=0;I<_.length;I++){var A=p(_,I,S,w,O+"["+I+"]",r);if(A instanceof Error)return A}return null}return a(b)}function F(){function p(b,$,x,S,w){var O=b[$];if(!u(O)){var _=G(O);return new m("Invalid "+S+" `"+w+"` of type "+("`"+_+"` supplied to `"+x+"`, expected a single ReactElement."))}return null}return a(p)}function f(){function p(b,$,x,S,w){var O=b[$];if(!e.isValidElementType(O)){var _=G(O);return new m("Invalid "+S+" `"+w+"` of type "+("`"+_+"` supplied to `"+x+"`, expected a single ReactElement type."))}return null}return a(p)}function z(p){function b($,x,S,w,O){if(!($[x]instanceof p)){var _=p.name||d,C=ye($[x]);return new m("Invalid "+w+" `"+O+"` of type "+("`"+C+"` supplied to `"+S+"`, expected ")+("instance of `"+_+"`."))}return null}return a(b)}function ie(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("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])."):i("Invalid argument supplied to oneOf, expected an array.")),s;function b($,x,S,w,O){for(var _=$[x],C=0;C<p.length;C++)if(T(_,p[C]))return null;var I=JSON.stringify(p,function(V,g){var J=ae(g);return J==="symbol"?String(g):g});return new m("Invalid "+w+" `"+O+"` of value `"+String(_)+"` "+("supplied to `"+S+"`, expected one of "+I+"."))}return a(b)}function ee(p){function b($,x,S,w,O){if(typeof p!="function")return new m("Property `"+O+"` of component `"+S+"` has invalid PropType notation inside objectOf.");var _=$[x],C=G(_);if(C!=="object")return new m("Invalid "+w+" `"+O+"` of type "+("`"+C+"` supplied to `"+S+"`, expected an object."));for(var I in _)if(n(_,I)){var A=p(_,I,S,w,O+"."+I,r);if(A instanceof Error)return A}return null}return a(b)}function ce(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var b=0;b<p.length;b++){var $=p[b];if(typeof $!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+de($)+" at index "+b+"."),s}function x(S,w,O,_,C){for(var I=[],A=0;A<p.length;A++){var V=p[A],g=V(S,w,O,_,C,r);if(g==null)return null;g.data&&n(g.data,"expectedType")&&I.push(g.data.expectedType)}var J=I.length>0?", expected one of type ["+I.join(", ")+"]":"";return new m("Invalid "+_+" `"+C+"` supplied to "+("`"+O+"`"+J+"."))}return a(x)}function se(){function p(b,$,x,S,w){return H(b[$])?null:new m("Invalid "+S+" `"+w+"` supplied to "+("`"+x+"`, expected a ReactNode."))}return a(p)}function W(p,b,$,x,S){return new m((p||"React class")+": "+b+" type `"+$+"."+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+S+"`.")}function K(p){function b($,x,S,w,O){var _=$[x],C=G(_);if(C!=="object")return new m("Invalid "+w+" `"+O+"` of type `"+C+"` "+("supplied to `"+S+"`, expected `object`."));for(var I in p){var A=p[I];if(typeof A!="function")return W(S,w,O,I,ae(A));var V=A(_,I,S,w,O+"."+I,r);if(V)return V}return null}return a(b)}function te(p){function b($,x,S,w,O){var _=$[x],C=G(_);if(C!=="object")return new m("Invalid "+w+" `"+O+"` of type `"+C+"` "+("supplied to `"+S+"`, expected `object`."));var I=t({},$[x],p);for(var A in I){var V=p[A];if(n(p,A)&&typeof V!="function")return W(S,w,O,A,ae(V));if(!V)return new m("Invalid "+w+" `"+O+"` key `"+A+"` supplied to `"+S+"`.\nBad object: "+JSON.stringify($[x],null," ")+`
20
+ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var g=V(_,A,S,w,O+"."+A,r);if(g)return g}return null}return a(b)}function H(p){switch(typeof p){case"number":case"string":case"undefined":return!0;case"boolean":return!p;case"object":if(Array.isArray(p))return p.every(H);if(p===null||u(p))return!0;var b=h(p);if(b){var $=b.call(p),x;if(b!==p.entries){for(;!(x=$.next()).done;)if(!H(x.value))return!1}else for(;!(x=$.next()).done;){var S=x.value;if(S&&!H(S[1]))return!1}}else return!1;return!0;default:return!1}}function le(p,b){return p==="symbol"?!0:b?b["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&b instanceof Symbol:!1}function G(p){var b=typeof p;return Array.isArray(p)?"array":p instanceof RegExp?"object":le(b,p)?"symbol":b}function ae(p){if(typeof p>"u"||p===null)return""+p;var b=G(p);if(b==="object"){if(p instanceof Date)return"date";if(p instanceof RegExp)return"regexp"}return b}function de(p){var b=ae(p);switch(b){case"array":case"object":return"an "+b;case"boolean":case"date":case"regexp":return"a "+b;default:return b}}function ye(p){return!p.constructor||!p.constructor.name?d:p.constructor.name}return E.checkPropTypes=o,E.resetWarningCache=o.resetWarningCache,E.PropTypes=E,E},Ze}var Qe,St;function sr(){if(St)return Qe;St=1;var e=ot();function t(){}function r(){}return r.resetWarningCache=t,Qe=function(){function n(s,u,c,l,y,h){if(h!==e){var d=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 d.name="Invariant Violation",d}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Qe}if(process.env.NODE_ENV!=="production"){var ar=Dt(),cr=!0;tt.exports=ir()(ar.isElement,cr)}else tt.exports=sr()();var ur=tt.exports;const Se=er(ur);function Bt(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Bt(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function fr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Bt(e))&&(n&&(n+=" "),n+=t);return n}function ue(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Lt(e){if(!ue(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Lt(e[r])}),t}function re(e,t,r={clone:!0}){const n=r.clone?R({},e):e;return ue(e)&&ue(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(ue(t[o])&&o in e&&ue(e[o])?n[o]=re(e[o],t[o],r):r.clone?n[o]=ue(t[o])?Lt(t[o]):t[o]:n[o]=t[o])}),n}function pe(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var rt={exports:{}},k={};/**
21
+ * @license React
22
+ * react-is.production.min.js
23
+ *
24
+ * Copyright (c) Facebook, Inc. and its affiliates.
25
+ *
26
+ * This source code is licensed under the MIT license found in the
27
+ * LICENSE file in the root directory of this source tree.
28
+ */var Ot;function lr(){if(Ot)return k;Ot=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),T;T=Symbol.for("react.module.reference");function m(a){if(typeof a=="object"&&a!==null){var P=a.$$typeof;switch(P){case e:switch(a=a.type,a){case r:case o:case n:case l:case y:return a;default:switch(a=a&&a.$$typeof,a){case u:case s:case c:case d:case h:case i:return a;default:return P}}case t:return P}}}return k.ContextConsumer=s,k.ContextProvider=i,k.Element=e,k.ForwardRef=c,k.Fragment=r,k.Lazy=d,k.Memo=h,k.Portal=t,k.Profiler=o,k.StrictMode=n,k.Suspense=l,k.SuspenseList=y,k.isAsyncMode=function(){return!1},k.isConcurrentMode=function(){return!1},k.isContextConsumer=function(a){return m(a)===s},k.isContextProvider=function(a){return m(a)===i},k.isElement=function(a){return typeof a=="object"&&a!==null&&a.$$typeof===e},k.isForwardRef=function(a){return m(a)===c},k.isFragment=function(a){return m(a)===r},k.isLazy=function(a){return m(a)===d},k.isMemo=function(a){return m(a)===h},k.isPortal=function(a){return m(a)===t},k.isProfiler=function(a){return m(a)===o},k.isStrictMode=function(a){return m(a)===n},k.isSuspense=function(a){return m(a)===l},k.isSuspenseList=function(a){return m(a)===y},k.isValidElementType=function(a){return typeof a=="string"||typeof a=="function"||a===r||a===o||a===n||a===l||a===y||a===E||typeof a=="object"&&a!==null&&(a.$$typeof===d||a.$$typeof===h||a.$$typeof===i||a.$$typeof===s||a.$$typeof===c||a.$$typeof===T||a.getModuleId!==void 0)},k.typeOf=m,k}var N={};/**
29
+ * @license React
30
+ * react-is.development.js
31
+ *
32
+ * Copyright (c) Facebook, Inc. and its affiliates.
33
+ *
34
+ * This source code is licensed under the MIT license found in the
35
+ * LICENSE file in the root directory of this source tree.
36
+ */var xt;function dr(){return xt||(xt=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),T=!1,m=!1,a=!1,P=!1,q=!1,D;D=Symbol.for("react.module.reference");function F(v){return!!(typeof v=="string"||typeof v=="function"||v===r||v===o||q||v===n||v===l||v===y||P||v===E||T||m||a||typeof v=="object"&&v!==null&&(v.$$typeof===d||v.$$typeof===h||v.$$typeof===i||v.$$typeof===s||v.$$typeof===c||v.$$typeof===D||v.getModuleId!==void 0))}function f(v){if(typeof v=="object"&&v!==null){var he=v.$$typeof;switch(he){case e:var Ce=v.type;switch(Ce){case r:case o:case n:case l:case y:return Ce;default:var pt=Ce&&Ce.$$typeof;switch(pt){case u:case s:case c:case d:case h:case i:return pt;default:return he}}case t:return he}}}var z=s,ie=i,ee=e,ce=c,se=r,W=d,K=h,te=t,H=o,le=n,G=l,ae=y,de=!1,ye=!1;function p(v){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function b(v){return ye||(ye=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function $(v){return f(v)===s}function x(v){return f(v)===i}function S(v){return typeof v=="object"&&v!==null&&v.$$typeof===e}function w(v){return f(v)===c}function O(v){return f(v)===r}function _(v){return f(v)===d}function C(v){return f(v)===h}function I(v){return f(v)===t}function A(v){return f(v)===o}function V(v){return f(v)===n}function g(v){return f(v)===l}function J(v){return f(v)===y}N.ContextConsumer=z,N.ContextProvider=ie,N.Element=ee,N.ForwardRef=ce,N.Fragment=se,N.Lazy=W,N.Memo=K,N.Portal=te,N.Profiler=H,N.StrictMode=le,N.Suspense=G,N.SuspenseList=ae,N.isAsyncMode=p,N.isConcurrentMode=b,N.isContextConsumer=$,N.isContextProvider=x,N.isElement=S,N.isForwardRef=w,N.isFragment=O,N.isLazy=_,N.isMemo=C,N.isPortal=I,N.isProfiler=A,N.isStrictMode=V,N.isSuspense=g,N.isSuspenseList=J,N.isValidElementType=F,N.typeOf=f}()),N}process.env.NODE_ENV==="production"?rt.exports=lr():rt.exports=dr();var nt=rt.exports;const pr=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function mr(e){const t=`${e}`.match(pr);return t&&t[1]||""}function Ut(e,t=""){return e.displayName||e.name||mr(e)||t}function _t(e,t,r){const n=Ut(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function yr(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ut(e,"Component");if(typeof e=="object")switch(e.$$typeof){case nt.ForwardRef:return _t(e,e.render,"ForwardRef");case nt.Memo:return _t(e,e.type,"memo");default:return}}}function ke(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":pe(7));return e.charAt(0).toUpperCase()+e.slice(1)}function it(e,t){const r=R({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=R({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=R({},i),Object.keys(o).forEach(s=>{r[n][s]=it(o[s],i[s])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function hr(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,s)=>{if(s){const u=t(s);u!==""&&i.push(u),r&&r[s]&&i.push(r[s])}return i},[]).join(" ")}),n}const $t=e=>e,gr=()=>{let e=$t;return{configure(t){e=t},generate(t){return e(t)},reset(){e=$t}}},br=gr(),vr={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function st(e,t,r="Mui"){const n=vr[t];return n?`${r}-${n}`:`${br.generate(e)}-${t}`}function Er(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=st(e,o,r)}),n}function Tr(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}/**
37
+ * @mui/styled-engine v5.15.11
38
+ *
39
+ * @license MIT
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */function Sr(e,t){const r=Ht(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
43
+ `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const Or=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},xr=["values","unit","step"],_r=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>R({},r,{[n.key]:n.val}),{})};function $r(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=ne(e,xr),i=_r(t),s=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r})`}function c(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-n/100}${r})`}function l(d,E){const T=s.indexOf(E);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r}) and (max-width:${(T!==-1&&typeof t[s[T]]=="number"?t[s[T]]:E)-n/100}${r})`}function y(d){return s.indexOf(d)+1<s.length?l(d,s[s.indexOf(d)+1]):u(d)}function h(d){const E=s.indexOf(d);return E===0?u(s[1]):E===s.length-1?c(s[E]):l(d,s[s.indexOf(d)+1]).replace("@media","@media not all and")}return R({keys:s,values:i,up:u,down:c,between:l,only:y,not:h,unit:r},o)}const Pr={borderRadius:4},Rr=Pr,wr=process.env.NODE_ENV!=="production"?Se.oneOfType([Se.number,Se.string,Se.object,Se.array]):{},fe=wr;function $e(e,t){return t?re(e,t,{clone:!1}):e}const at={xs:0,sm:600,md:900,lg:1200,xl:1536},Pt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${at[e]}px)`};function oe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Pt;return t.reduce((s,u,c)=>(s[i.up(i.keys[c])]=r(t[c]),s),{})}if(typeof t=="object"){const i=n.breakpoints||Pt;return Object.keys(t).reduce((s,u)=>{if(Object.keys(i.values||at).indexOf(u)!==-1){const c=i.up(u);s[c]=r(t[u],u)}else{const c=u;s[c]=t[c]}return s},{})}return r(t)}function Wt(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Yt(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Cr(e,...t){const r=Wt(e),n=[r,...t].reduce((o,i)=>re(o,i),{});return Yt(Object.keys(r),n)}function Ar(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,i)=>{i<e.length&&(r[o]=!0)}):n.forEach(o=>{e[o]!=null&&(r[o]=!0)}),r}function Ir({values:e,breakpoints:t,base:r}){const n=r||Ar(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((s,u,c)=>(Array.isArray(e)?(s[u]=e[c]!=null?e[c]:e[i],i=c):typeof e=="object"?(s[u]=e[u]!=null?e[u]:e[i],i=u):s[u]=e,s),{})}function Ne(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function je(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Ne(e,r)||n,t&&(o=t(o,n,e)),o}function Y(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const u=s[t],c=s.theme,l=Ne(c,n)||{};return oe(s,u,h=>{let d=je(l,o,h);return h===d&&typeof h=="string"&&(d=je(l,o,`${t}${h==="default"?"":ke(h)}`,h)),r===!1?d:{[r]:d}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:fe}:{},i.filterProps=[t],i}function Mr(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const jr={m:"margin",p:"padding"},kr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Rt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Nr=Mr(e=>{if(e.length>2)if(Rt[e])e=Rt[e];else return[e];const[t,r]=e.split(""),n=jr[t],o=kr[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),De=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Fe=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Dr=[...De,...Fe];function we(e,t,r,n){var o;const i=(o=Ne(e,t,!1))!=null?o:r;return typeof i=="number"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`),i*s):Array.isArray(i)?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>i.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${s} > ${i.length-1}, you need to add the missing values.`].join(`
44
+ `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
45
+ `))),i[s]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
46
+ `)),()=>{})}function ct(e){return we(e,"spacing",8,"spacing")}function xe(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Fr(e,t){return r=>e.reduce((n,o)=>(n[o]=xe(t,r),n),{})}function Br(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Nr(r),i=Fr(o,n),s=e[r];return oe(e,s,i)}function zt(e,t){const r=ct(e.theme);return Object.keys(e).map(n=>Br(e,t,n,r)).reduce($e,{})}function L(e){return zt(e,De)}L.propTypes=process.env.NODE_ENV!=="production"?De.reduce((e,t)=>(e[t]=fe,e),{}):{};L.filterProps=De;function U(e){return zt(e,Fe)}U.propTypes=process.env.NODE_ENV!=="production"?Fe.reduce((e,t)=>(e[t]=fe,e),{}):{};U.filterProps=Fe;process.env.NODE_ENV!=="production"&&Dr.reduce((e,t)=>(e[t]=fe,e),{});function Lr(e=8){if(e.mui)return e;const t=ct({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return r.mui=!0,r}function Be(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?$e(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Z(e){return typeof e!="number"?e:`${e}px solid`}function Q(e,t){return Y({prop:e,themeKey:"borders",transform:t})}const Ur=Q("border",Z),Wr=Q("borderTop",Z),Yr=Q("borderRight",Z),zr=Q("borderBottom",Z),qr=Q("borderLeft",Z),Kr=Q("borderColor"),Vr=Q("borderTopColor"),Gr=Q("borderRightColor"),Hr=Q("borderBottomColor"),Xr=Q("borderLeftColor"),Jr=Q("outline",Z),Zr=Q("outlineColor"),Le=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=we(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:xe(t,n)});return oe(e,e.borderRadius,r)}return null};Le.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:fe}:{};Le.filterProps=["borderRadius"];Be(Ur,Wr,Yr,zr,qr,Kr,Vr,Gr,Hr,Xr,Le,Jr,Zr);const Ue=e=>{if(e.gap!==void 0&&e.gap!==null){const t=we(e.theme,"spacing",8,"gap"),r=n=>({gap:xe(t,n)});return oe(e,e.gap,r)}return null};Ue.propTypes=process.env.NODE_ENV!=="production"?{gap:fe}:{};Ue.filterProps=["gap"];const We=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=we(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:xe(t,n)});return oe(e,e.columnGap,r)}return null};We.propTypes=process.env.NODE_ENV!=="production"?{columnGap:fe}:{};We.filterProps=["columnGap"];const Ye=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=we(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:xe(t,n)});return oe(e,e.rowGap,r)}return null};Ye.propTypes=process.env.NODE_ENV!=="production"?{rowGap:fe}:{};Ye.filterProps=["rowGap"];const Qr=Y({prop:"gridColumn"}),en=Y({prop:"gridRow"}),tn=Y({prop:"gridAutoFlow"}),rn=Y({prop:"gridAutoColumns"}),nn=Y({prop:"gridAutoRows"}),on=Y({prop:"gridTemplateColumns"}),sn=Y({prop:"gridTemplateRows"}),an=Y({prop:"gridTemplateAreas"}),cn=Y({prop:"gridArea"});Be(Ue,We,Ye,Qr,en,tn,rn,nn,on,sn,an,cn);function Oe(e,t){return t==="grey"?t:e}const un=Y({prop:"color",themeKey:"palette",transform:Oe}),fn=Y({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Oe}),ln=Y({prop:"backgroundColor",themeKey:"palette",transform:Oe});Be(un,fn,ln);function X(e){return e<=1&&e!==0?`${e*100}%`:e}const dn=Y({prop:"width",transform:X}),ut=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||at[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:X(r)}};return oe(e,e.maxWidth,t)}return null};ut.filterProps=["maxWidth"];const pn=Y({prop:"minWidth",transform:X}),mn=Y({prop:"height",transform:X}),yn=Y({prop:"maxHeight",transform:X}),hn=Y({prop:"minHeight",transform:X});Y({prop:"size",cssProperty:"width",transform:X});Y({prop:"size",cssProperty:"height",transform:X});const gn=Y({prop:"boxSizing"});Be(dn,ut,pn,mn,yn,hn,gn);const bn={border:{themeKey:"borders",transform:Z},borderTop:{themeKey:"borders",transform:Z},borderRight:{themeKey:"borders",transform:Z},borderBottom:{themeKey:"borders",transform:Z},borderLeft:{themeKey:"borders",transform:Z},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Z},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Le},color:{themeKey:"palette",transform:Oe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Oe},backgroundColor:{themeKey:"palette",transform:Oe},p:{style:U},pt:{style:U},pr:{style:U},pb:{style:U},pl:{style:U},px:{style:U},py:{style:U},padding:{style:U},paddingTop:{style:U},paddingRight:{style:U},paddingBottom:{style:U},paddingLeft:{style:U},paddingX:{style:U},paddingY:{style:U},paddingInline:{style:U},paddingInlineStart:{style:U},paddingInlineEnd:{style:U},paddingBlock:{style:U},paddingBlockStart:{style:U},paddingBlockEnd:{style:U},m:{style:L},mt:{style:L},mr:{style:L},mb:{style:L},ml:{style:L},mx:{style:L},my:{style:L},margin:{style:L},marginTop:{style:L},marginRight:{style:L},marginBottom:{style:L},marginLeft:{style:L},marginX:{style:L},marginY:{style:L},marginInline:{style:L},marginInlineStart:{style:L},marginInlineEnd:{style:L},marginBlock:{style:L},marginBlockStart:{style:L},marginBlockEnd:{style:L},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ue},rowGap:{style:Ye},columnGap:{style:We},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:X},maxWidth:{style:ut},minWidth:{transform:X},height:{transform:X},maxHeight:{transform:X},minHeight:{transform:X},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},ze=bn;function vn(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function En(e,t){return typeof e=="function"?e(t):e}function Tn(){function e(r,n,o,i){const s={[r]:n,theme:o},u=i[r];if(!u)return{[r]:n};const{cssProperty:c=r,themeKey:l,transform:y,style:h}=u;if(n==null)return null;if(l==="typography"&&n==="inherit")return{[r]:n};const d=Ne(o,l)||{};return h?h(s):oe(s,n,T=>{let m=je(d,y,T);return T===m&&typeof T=="string"&&(m=je(d,y,`${r}${T==="default"?"":ke(T)}`,T)),c===!1?m:{[c]:m}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const s=(n=i.unstable_sxConfig)!=null?n:ze;function u(c){let l=c;if(typeof c=="function")l=c(i);else if(typeof c!="object")return c;if(!l)return null;const y=Wt(i.breakpoints),h=Object.keys(y);let d=y;return Object.keys(l).forEach(E=>{const T=En(l[E],i);if(T!=null)if(typeof T=="object")if(s[E])d=$e(d,e(E,T,i,s));else{const m=oe({theme:i},T,a=>({[E]:a}));vn(m,T)?d[E]=t({sx:T,theme:i}):d=$e(d,m)}else d=$e(d,e(E,T,i,s))}),Yt(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const qe=Tn();qe.filterProps=["sx"];function Sn(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const On=["breakpoints","palette","spacing","shape"];function Ke(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,s=ne(e,On),u=$r(r),c=Lr(o);let l=re({breakpoints:u,direction:"ltr",components:{},palette:R({mode:"light"},n),spacing:c,shape:R({},Rr,i)},s);return l.applyStyles=Sn,l=t.reduce((y,h)=>re(y,h),l),l.unstable_sxConfig=R({},ze,s==null?void 0:s.unstable_sxConfig),l.unstable_sx=function(h){return qe({sx:h,theme:this})},l}function xn(e){return Object.keys(e).length===0}function _n(e=null){const t=Qt.useContext(Xt.ThemeContext);return!t||xn(t)?e:t}const $n=Ke();function qt(e=$n){return _n(e)}const Pn=["ownerState"],Rn=["variants"],wn=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Cn(e){return Object.keys(e).length===0}function An(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Pe(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const In=Ke(),wt=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ie({defaultTheme:e,theme:t,themeId:r}){return Cn(t)?e:t[r]||t}function Mn(e){return e?(t,r)=>r[e]:null}function Me(e,t){let{ownerState:r}=t,n=ne(t,Pn);const o=typeof e=="function"?e(R({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>Me(i,R({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=ne(o,Rn);return i.forEach(c=>{let l=!0;typeof c.props=="function"?l=c.props(R({ownerState:r},n,r)):Object.keys(c.props).forEach(y=>{(r==null?void 0:r[y])!==c.props[y]&&n[y]!==c.props[y]&&(l=!1)}),l&&(Array.isArray(u)||(u=[u]),u.push(typeof c.style=="function"?c.style(R({ownerState:r},n,r)):c.style))}),u}return o}function Kt(e={}){const{themeId:t,defaultTheme:r=In,rootShouldForwardProp:n=Pe,slotShouldForwardProp:o=Pe}=e,i=s=>qe(R({},s,{theme:Ie(R({},s,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(s,u={})=>{Or(s,f=>f.filter(z=>!(z!=null&&z.__mui_systemSx)));const{name:c,slot:l,skipVariantsResolver:y,skipSx:h,overridesResolver:d=Mn(wt(l))}=u,E=ne(u,wn),T=y!==void 0?y:l&&l!=="Root"&&l!=="root"||!1,m=h||!1;let a;process.env.NODE_ENV!=="production"&&c&&(a=`${c}-${wt(l||"Root")}`);let P=Pe;l==="Root"||l==="root"?P=n:l?P=o:An(s)&&(P=void 0);const q=Sr(s,R({shouldForwardProp:P,label:a},E)),D=f=>typeof f=="function"&&f.__emotion_real!==f||ue(f)?z=>Me(f,R({},z,{theme:Ie({theme:z.theme,defaultTheme:r,themeId:t})})):f,F=(f,...z)=>{let ie=D(f);const ee=z?z.map(D):[];c&&d&&ee.push(W=>{const K=Ie(R({},W,{defaultTheme:r,themeId:t}));if(!K.components||!K.components[c]||!K.components[c].styleOverrides)return null;const te=K.components[c].styleOverrides,H={};return Object.entries(te).forEach(([le,G])=>{H[le]=Me(G,R({},W,{theme:K}))}),d(W,H)}),c&&!T&&ee.push(W=>{var K;const te=Ie(R({},W,{defaultTheme:r,themeId:t})),H=te==null||(K=te.components)==null||(K=K[c])==null?void 0:K.variants;return Me({variants:H},R({},W,{theme:te}))}),m||ee.push(i);const ce=ee.length-z.length;if(Array.isArray(f)&&ce>0){const W=new Array(ce).fill("");ie=[...f,...W],ie.raw=[...f.raw,...W]}const se=q(ie,...ee);if(process.env.NODE_ENV!=="production"){let W;c&&(W=`${c}${ke(l||"")}`),W===void 0&&(W=`Styled(${yr(s)})`),se.displayName=W}return s.muiName&&(se.muiName=s.muiName),se};return q.withConfig&&(F.withConfig=q.withConfig),F}}function jn(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:it(t.components[r].defaultProps,n)}function Vt({props:e,name:t,defaultTheme:r,themeId:n}){let o=qt(r);return n&&(o=o[n]||o),jn({theme:o,name:t,props:e})}function ft(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Tr(e,t,r)}function kn(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function me(e){if(e.type)return e;if(e.charAt(0)==="#")return me(kn(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
47
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:pe(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
48
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:pe(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function Ve(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Nn(e){e=me(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),s=(l,y=(l+r/30)%12)=>o-i*Math.max(Math.min(y-3,9-y,1),-1);let u="rgb";const c=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(u+="a",c.push(t[3])),Ve({type:u,values:c})}function Ct(e){e=me(e);let t=e.type==="hsl"||e.type==="hsla"?me(Nn(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function At(e,t){const r=Ct(e),n=Ct(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Dn(e,t){return e=me(e),t=ft(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ve(e)}function Fn(e,t){if(e=me(e),t=ft(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ve(e)}function Bn(e,t){if(e=me(e),t=ft(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ve(e)}function Ln(e,t){return R({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Un={black:"#000",white:"#fff"},Re=Un,Wn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Yn=Wn,zn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ge=zn,qn={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"},be=qn,Kn={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"},_e=Kn,Vn={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"},ve=Vn,Gn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Ee=Gn,Hn={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"},Te=Hn,Xn=["mode","contrastThreshold","tonalOffset"],It={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Re.white,default:Re.white},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}},et={text:{primary:Re.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Re.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 Mt(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Bn(e.main,o):t==="dark"&&(e.dark=Fn(e.main,i)))}function Jn(e="light"){return e==="dark"?{main:ve[200],light:ve[50],dark:ve[400]}:{main:ve[700],light:ve[400],dark:ve[800]}}function Zn(e="light"){return e==="dark"?{main:ge[200],light:ge[50],dark:ge[400]}:{main:ge[500],light:ge[300],dark:ge[700]}}function Qn(e="light"){return e==="dark"?{main:be[500],light:be[300],dark:be[700]}:{main:be[700],light:be[400],dark:be[800]}}function eo(e="light"){return e==="dark"?{main:Ee[400],light:Ee[300],dark:Ee[700]}:{main:Ee[700],light:Ee[500],dark:Ee[900]}}function to(e="light"){return e==="dark"?{main:Te[400],light:Te[300],dark:Te[700]}:{main:Te[800],light:Te[500],dark:Te[900]}}function ro(e="light"){return e==="dark"?{main:_e[400],light:_e[300],dark:_e[700]}:{main:"#ed6c02",light:_e[500],dark:_e[900]}}function no(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=ne(e,Xn),i=e.primary||Jn(t),s=e.secondary||Zn(t),u=e.error||Qn(t),c=e.info||eo(t),l=e.success||to(t),y=e.warning||ro(t);function h(m){const a=At(m,et.text.primary)>=r?et.text.primary:It.text.primary;if(process.env.NODE_ENV!=="production"){const P=At(m,a);P<3&&console.error([`MUI: The contrast ratio of ${P}:1 for ${a} on ${m}`,"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(`
49
+ `))}return a}const d=({color:m,name:a,mainShade:P=500,lightShade:q=300,darkShade:D=700})=>{if(m=R({},m),!m.main&&m[P]&&(m.main=m[P]),!m.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${a?` (${a})`:""} provided to augmentColor(color) is invalid.
50
+ The color object needs to have a \`main\` property or a \`${P}\` property.`:pe(11,a?` (${a})`:"",P));if(typeof m.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${a?` (${a})`:""} provided to augmentColor(color) is invalid.
51
+ \`color.main\` should be a string, but \`${JSON.stringify(m.main)}\` was provided instead.
52
+
53
+ Did you intend to use one of the following approaches?
54
+
55
+ import { green } from "@mui/material/colors";
56
+
57
+ const theme1 = createTheme({ palette: {
58
+ primary: green,
59
+ } });
60
+
61
+ const theme2 = createTheme({ palette: {
62
+ primary: { main: green[500] },
63
+ } });`:pe(12,a?` (${a})`:"",JSON.stringify(m.main)));return Mt(m,"light",q,n),Mt(m,"dark",D,n),m.contrastText||(m.contrastText=h(m.main)),m},E={dark:et,light:It};return process.env.NODE_ENV!=="production"&&(E[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),re(R({common:R({},Re),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:y,name:"warning"}),info:d({color:c,name:"info"}),success:d({color:l,name:"success"}),grey:Yn,contrastThreshold:r,getContrastText:h,augmentColor:d,tonalOffset:n},E[t]),o)}const oo=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function io(e){return Math.round(e*1e5)/1e5}const jt={textTransform:"uppercase"},kt='"Roboto", "Helvetica", "Arial", sans-serif';function so(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=kt,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:y,pxToRem:h}=r,d=ne(r,oo);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const E=o/14,T=h||(P=>`${P/l*E}rem`),m=(P,q,D,F,f)=>R({fontFamily:n,fontWeight:P,fontSize:T(q),lineHeight:D},n===kt?{letterSpacing:`${io(F/q)}em`}:{},f,y),a={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(u,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(u,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(u,14,1.75,.4,jt),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,jt),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return re(R({htmlFontSize:l,pxToRem:T,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:u,fontWeightBold:c},a),d,{clone:!1})}const ao=.2,co=.14,uo=.12;function B(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ao})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${co})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${uo})`].join(",")}const fo=["none",B(0,2,1,-1,0,1,1,0,0,1,3,0),B(0,3,1,-2,0,2,2,0,0,1,5,0),B(0,3,3,-2,0,3,4,0,0,1,8,0),B(0,2,4,-1,0,4,5,0,0,1,10,0),B(0,3,5,-1,0,5,8,0,0,1,14,0),B(0,3,5,-1,0,6,10,0,0,1,18,0),B(0,4,5,-2,0,7,10,1,0,2,16,1),B(0,5,5,-3,0,8,10,1,0,3,14,2),B(0,5,6,-3,0,9,12,1,0,3,16,2),B(0,6,6,-3,0,10,14,1,0,4,18,3),B(0,6,7,-4,0,11,15,1,0,4,20,3),B(0,7,8,-4,0,12,17,2,0,5,22,4),B(0,7,8,-4,0,13,19,2,0,5,24,4),B(0,7,9,-4,0,14,21,2,0,5,26,4),B(0,8,9,-5,0,15,22,2,0,6,28,5),B(0,8,10,-5,0,16,24,2,0,6,30,5),B(0,8,11,-5,0,17,26,2,0,6,32,5),B(0,9,11,-5,0,18,28,2,0,7,34,6),B(0,9,12,-6,0,19,29,2,0,7,36,6),B(0,10,13,-6,0,20,31,3,0,8,38,7),B(0,10,13,-6,0,21,33,3,0,8,40,7),B(0,10,14,-6,0,22,35,3,0,8,42,7),B(0,11,14,-7,0,23,36,3,0,9,44,8),B(0,11,15,-7,0,24,38,3,0,9,46,8)],lo=["duration","easing","delay"],po={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)"},mo={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Nt(e){return`${Math.round(e)}ms`}function yo(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function ho(e){const t=R({},po,e.easing),r=R({},mo,e.duration);return R({getAutoHeightDuration:yo,create:(o=["all"],i={})=>{const{duration:s=r.standard,easing:u=t.easeInOut,delay:c=0}=i,l=ne(i,lo);if(process.env.NODE_ENV!=="production"){const y=d=>typeof d=="string",h=d=>!isNaN(parseFloat(d));!y(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(s)&&!y(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),y(u)||console.error('MUI: Argument "easing" must be a string.'),!h(c)&&!y(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
64
+ `)),Object.keys(l).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(y=>`${y} ${typeof s=="string"?s:Nt(s)} ${u} ${typeof c=="string"?c:Nt(c)}`).join(",")}},e,{easing:t,duration:r})}const go={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},bo=go,vo=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Eo(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,s=ne(e,vo);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":pe(18));const u=no(n),c=Ke(e);let l=re(c,{mixins:Ln(c.breakpoints,r),palette:u,shadows:fo.slice(),typography:so(u,i),transitions:ho(o),zIndex:R({},bo)});if(l=re(l,s),l=t.reduce((y,h)=>re(y,h),l),process.env.NODE_ENV!=="production"){const y=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(d,E)=>{let T;for(T in d){const m=d[T];if(y.indexOf(T)!==-1&&Object.keys(m).length>0){if(process.env.NODE_ENV!=="production"){const a=st("",T);console.error([`MUI: The \`${E}\` component increases the CSS specificity of the \`${T}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${a}' syntax:`,JSON.stringify({root:{[`&.${a}`]:m}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
65
+ `))}d[T]={}}}};Object.keys(l.components).forEach(d=>{const E=l.components[d].styleOverrides;E&&d.indexOf("Mui")===0&&h(E,d)})}return l.unstable_sxConfig=R({},ze,s==null?void 0:s.unstable_sxConfig),l.unstable_sx=function(h){return qe({sx:h,theme:this})},l}const To=Eo(),lt=To,dt="$$material",Gt=e=>Pe(e)&&e!=="classes",So=Pe,Oo=Kt({themeId:dt,defaultTheme:lt,rootShouldForwardProp:Gt});function xo({props:e,name:t}){return Vt({props:e,name:t,defaultTheme:lt,themeId:dt})}exports.PropTypes=Se;exports.THEME_ID=dt;exports._extends=R;exports._objectWithoutPropertiesLoose=ne;exports.alpha=Dn;exports.capitalize=ke;exports.clsx=fr;exports.composeClasses=hr;exports.createStyled=Kt;exports.createTheme=Ke;exports.createUnarySpacing=ct;exports.deepmerge=re;exports.defaultSxConfig=ze;exports.defaultTheme=lt;exports.formatMuiErrorMessage=pe;exports.generateUtilityClass=st;exports.generateUtilityClasses=Er;exports.getValue=xe;exports.handleBreakpoints=oe;exports.isPlainObject=ue;exports.mergeBreakpointsInOrder=Cr;exports.reactIsExports=nt;exports.resolveBreakpointValues=Ir;exports.resolveProps=it;exports.rootShouldForwardProp=Gt;exports.slotShouldForwardProp=So;exports.styled=Oo;exports.useTheme=qt;exports.useThemeProps=xo;exports.useThemeProps$1=Vt;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "0.0.1-dev.1708964890",
3
+ "version": "0.0.1-dev.1708990372",
4
4
  "private": false,
5
5
  "author": "CGI Learning-hub Team",
6
6
  "description": "@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features",
@@ -35,7 +35,6 @@
35
35
  "@mui/material": "5.15.7",
36
36
  "autoprefixer": "10.4.17",
37
37
  "postcss": "8.4.33",
38
- "react-dropzone": "14.2.3",
39
38
  "tailwindcss": "3.4.1"
40
39
  },
41
40
  "peerDependencies": {
@@ -1 +0,0 @@
1
- "use strict";const e=require("./useThemeProps-jkB5q9ie.cjs"),y=require("react"),T=require("react/jsx-runtime"),P=require("./Typography-DwsN2Ttm.cjs");function h(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(t,s,r.get?r:{enumerable:!0,get:()=>o[s]})}}return t.default=o,Object.freeze(t)}const b=h(y),N=["className","component"];function g(o={}){const{themeId:t,defaultTheme:s,defaultClassName:r="MuiBox-root",generateClassName:a}=o,l=e.styled$1("div",{shouldForwardProp:n=>n!=="theme"&&n!=="sx"&&n!=="as"})(e.styleFunctionSx);return b.forwardRef(function(i,d){const c=e.useTheme(s),p=P.extendSxProp(i),{className:m,component:f="div"}=p,x=e._objectWithoutPropertiesLoose(p,N);return T.jsx(l,e._extends({as:f,ref:d,className:e.clsx(m,a?a(r):r),theme:t&&c[t]||c},x))})}const B=e.generateUtilityClasses("MuiBox",["root"]),O=B,_=e.createTheme(),u=g({themeId:e.THEME_ID,defaultTheme:_,defaultClassName:O.root,generateClassName:e.ClassNameGenerator.generate});process.env.NODE_ENV!=="production"&&(u.propTypes={children:e.PropTypes.node,component:e.PropTypes.elementType,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});const j=u;exports.Box=j;
@@ -1,56 +0,0 @@
1
- import { j as h, k as T, u as B, e as N, _ as y, f as C, g as _, l as b, T as P, C as g, P as e } from "./useThemeProps-Dg9Uoq7q.js";
2
- import * as j from "react";
3
- import { jsx as v } from "react/jsx-runtime";
4
- import { e as E } from "./Typography-CyFLZjnE.js";
5
- const O = ["className", "component"];
6
- function I(m = {}) {
7
- const {
8
- themeId: t,
9
- defaultTheme: l,
10
- defaultClassName: a = "MuiBox-root",
11
- generateClassName: n
12
- } = m, x = h("div", {
13
- shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
14
- })(T);
15
- return /* @__PURE__ */ j.forwardRef(function(d, f) {
16
- const s = B(l), r = E(d), {
17
- className: u,
18
- component: i = "div"
19
- } = r, p = N(r, O);
20
- return /* @__PURE__ */ v(x, y({
21
- as: i,
22
- ref: f,
23
- className: C(u, n ? n(a) : a),
24
- theme: t && s[t] || s
25
- }, p));
26
- });
27
- }
28
- const M = _("MuiBox", ["root"]), R = M, S = b(), c = I({
29
- themeId: P,
30
- defaultTheme: S,
31
- defaultClassName: R.root,
32
- generateClassName: g.generate
33
- });
34
- process.env.NODE_ENV !== "production" && (c.propTypes = {
35
- // ┌────────────────────────────── Warning ──────────────────────────────┐
36
- // │ These PropTypes are generated from the TypeScript type definitions. │
37
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
38
- // └─────────────────────────────────────────────────────────────────────┘
39
- /**
40
- * @ignore
41
- */
42
- children: e.node,
43
- /**
44
- * The component used for the root node.
45
- * Either a string to use a HTML element or a component.
46
- */
47
- component: e.elementType,
48
- /**
49
- * The system prop that allows defining system overrides as well as additional CSS styles.
50
- */
51
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
52
- });
53
- const k = c;
54
- export {
55
- k as B
56
- };