@cgi-learning-hub/ui 0.0.1-dev.1708974808 → 0.0.1-dev.1709023966

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/Box-7uR7JZiM.cjs +1 -0
  2. package/dist/Box-CPGTKTgx.js +56 -0
  3. package/dist/ButtonBase-B0tkJ9zf.js +831 -0
  4. package/dist/ButtonBase-DCL6Xlnm.cjs +75 -0
  5. package/dist/CircularProgress-CZX5SfKt.cjs +28 -0
  6. package/dist/CircularProgress-CguDBnxV.js +215 -0
  7. package/dist/IconButton-CJ1Nt-jf.js +182 -0
  8. package/dist/IconButton-De7ZdW2q.cjs +2 -0
  9. package/dist/{InputBase-B13Nzzhk.js → InputBase-C_yPRkam.js} +193 -215
  10. package/dist/InputBase-Dvr5GnwD.cjs +4 -0
  11. package/dist/Tab-Bhm9hCrX.cjs +1 -0
  12. package/dist/Tab-C4l6V01S.js +237 -0
  13. package/dist/TransitionGroupContext-C7wWJ6l7.js +14 -0
  14. package/dist/TransitionGroupContext-g4tmk10h.cjs +1 -0
  15. package/dist/Typography-CyFLZjnE.js +202 -0
  16. package/dist/Typography-DwsN2Ttm.cjs +1 -0
  17. package/dist/assets/index.css +1 -1
  18. package/dist/components/Dropzone/Dropzone.cjs.js +5 -0
  19. package/dist/components/Dropzone/Dropzone.d.ts +9 -0
  20. package/dist/components/Dropzone/Dropzone.es.js +1210 -0
  21. package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -0
  22. package/dist/components/{AnotherComponent/AnotherComponent.stories.d.ts → Dropzone/Dropzone.stories.d.ts} +1 -2
  23. package/dist/components/Dropzone/Dropzone.stories.es.js +17 -0
  24. package/dist/components/Dropzone/index.cjs.js +1 -0
  25. package/dist/components/Dropzone/index.d.ts +2 -0
  26. package/dist/components/Dropzone/index.es.js +4 -0
  27. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -28
  28. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +408 -267
  29. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  30. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +5 -5
  31. package/dist/components/buttons/IconButton.stories.cjs.js +1 -0
  32. package/dist/components/buttons/IconButton.stories.d.ts +4 -0
  33. package/dist/components/buttons/IconButton.stories.es.js +27 -0
  34. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  35. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
  36. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  37. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.d.ts +1 -1
  38. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +8 -7
  39. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  40. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
  41. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  42. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.d.ts +1 -1
  43. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +10 -9
  44. package/dist/components/index.cjs.js +1 -1
  45. package/dist/components/index.d.ts +4 -2
  46. package/dist/components/index.es.js +18 -14
  47. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  48. package/dist/components/inputs/SearchInput/SearchInput.es.js +77 -247
  49. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -0
  50. package/dist/components/inputs/SearchInput/SearchInput.stories.d.ts +4 -0
  51. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +16 -0
  52. package/dist/components/inputs/TextInput/TextInput.cjs.js +11 -13
  53. package/dist/components/inputs/TextInput/TextInput.es.js +1844 -1631
  54. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -0
  55. package/dist/components/inputs/TextInput/TextInput.stories.d.ts +4 -0
  56. package/dist/components/inputs/TextInput/TextInput.stories.es.js +17 -0
  57. package/dist/components/lists/FileList/FileList.cjs.js +1 -0
  58. package/dist/components/lists/FileList/FileList.d.ts +7 -0
  59. package/dist/components/lists/FileList/FileList.es.js +19 -0
  60. package/dist/components/lists/FileList/FileList.stories.cjs.js +1 -0
  61. package/dist/components/lists/FileList/FileList.stories.d.ts +4 -0
  62. package/dist/components/lists/FileList/FileList.stories.es.js +28 -0
  63. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -0
  64. package/dist/components/lists/FileList/FileListItem.d.ts +13 -0
  65. package/dist/components/lists/FileList/FileListItem.es.js +41 -0
  66. package/dist/components/lists/FileList/index.cjs.js +1 -0
  67. package/dist/components/lists/FileList/index.d.ts +4 -0
  68. package/dist/components/lists/FileList/index.es.js +6 -0
  69. package/dist/components/lists/TabList.stories.cjs.js +4 -0
  70. package/dist/components/lists/TabList.stories.d.ts +4 -0
  71. package/dist/components/lists/TabList.stories.es.js +1027 -0
  72. package/dist/components/lists/index.cjs.js +1 -0
  73. package/dist/components/lists/index.d.ts +1 -0
  74. package/dist/components/lists/index.es.js +6 -0
  75. package/dist/{createSvgIcon-jvI3LIfI.cjs → createSvgIcon-B6bZPuto.cjs} +1 -1
  76. package/dist/createSvgIcon-BX8WQ5r-.cjs +2 -0
  77. package/dist/{createSvgIcon-qXNZi4k1.js → createSvgIcon-KaSN8JhZ.js} +8 -8
  78. package/dist/createSvgIcon-m_wsenOJ.js +84 -0
  79. package/dist/index.cjs.js +1 -1
  80. package/dist/index.es.js +16 -12
  81. package/dist/isHostComponent-PydJW4A4.cjs +1 -0
  82. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  83. package/dist/ownerWindow-C7EH1lr6.js +23 -0
  84. package/dist/ownerWindow-Dk_4aaak.cjs +1 -0
  85. package/dist/refType-CHSN6ysS.cjs +1 -0
  86. package/dist/refType-Hh9tfnoF.js +29 -0
  87. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  88. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  89. package/dist/useControlled-BsLcOmhe.js +48 -0
  90. package/dist/useControlled-jN3fqFfv.cjs +3 -0
  91. package/dist/useForkRef-CGd3Nhyb.cjs +1 -0
  92. package/dist/useForkRef-DwN_Iz9R.js +17 -0
  93. package/dist/useIsFocusVisible-BF0lT08B.cjs +1 -0
  94. package/dist/useIsFocusVisible-D8ksiuhS.js +69 -0
  95. package/dist/useSlotProps-MoAYME1z.js +70 -0
  96. package/dist/useSlotProps-R4s13HHI.cjs +1 -0
  97. package/dist/useTheme-BDPYLOoP.cjs +1 -0
  98. package/dist/useTheme-DJEDOopE.js +9 -0
  99. package/dist/{useThemeProps-B6yTTpAe.js → useThemeProps-Dg9Uoq7q.js} +1018 -1024
  100. package/dist/useThemeProps-jkB5q9ie.cjs +65 -0
  101. package/dist/useTimeout-KN97abZR.js +47 -0
  102. package/dist/useTimeout-qjxkiZZn.cjs +1 -0
  103. package/package.json +2 -1
  104. package/dist/Button-Tkz5NkF_.cjs +0 -1
  105. package/dist/Button-X7eWZQfX.js +0 -356
  106. package/dist/ButtonBase-CKfcGhaU.js +0 -892
  107. package/dist/ButtonBase-Cg8cBMzO.cjs +0 -75
  108. package/dist/Input-CAb0EFzc.cjs +0 -1
  109. package/dist/Input-CbYjsRHK.js +0 -322
  110. package/dist/InputBase-CKlCw9fj.cjs +0 -4
  111. package/dist/components/AnotherComponent/AnotherComponent.cjs.js +0 -1
  112. package/dist/components/AnotherComponent/AnotherComponent.d.ts +0 -2
  113. package/dist/components/AnotherComponent/AnotherComponent.es.js +0 -15
  114. package/dist/components/AnotherComponent/AnotherComponent.stories.cjs.js +0 -1
  115. package/dist/components/AnotherComponent/AnotherComponent.stories.es.js +0 -22
  116. package/dist/components/AnotherComponent/index.cjs.js +0 -1
  117. package/dist/components/AnotherComponent/index.d.ts +0 -2
  118. package/dist/components/AnotherComponent/index.es.js +0 -4
  119. package/dist/components/BasicButtons/BasicButtons.cjs.js +0 -1
  120. package/dist/components/BasicButtons/BasicButtons.d.ts +0 -2
  121. package/dist/components/BasicButtons/BasicButtons.es.js +0 -189
  122. package/dist/components/BasicButtons/BasicButtons.stories.cjs.js +0 -1
  123. package/dist/components/BasicButtons/BasicButtons.stories.d.ts +0 -5
  124. package/dist/components/BasicButtons/BasicButtons.stories.es.js +0 -22
  125. package/dist/components/BasicButtons/index.cjs.js +0 -1
  126. package/dist/components/BasicButtons/index.d.ts +0 -2
  127. package/dist/components/BasicButtons/index.es.js +0 -4
  128. package/dist/extendSxProp-BRHiEwyk.js +0 -29
  129. package/dist/extendSxProp-CvhhU9Vb.cjs +0 -1
  130. package/dist/useForkRef-82uiK71d.cjs +0 -1
  131. package/dist/useForkRef-CLcOhrzI.js +0 -44
  132. package/dist/useTheme-BWRyHzdn.js +0 -65
  133. package/dist/useTheme-BpLcDNG1.cjs +0 -1
  134. package/dist/useThemeProps-CDriK9TK.cjs +0 -65
@@ -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 n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Qt=Zt(Jt);function ne(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}function er(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function tr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var et={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 pt;function rr(){if(pt)return M;pt=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=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,p=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,l=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,V=e?Symbol.for("react.scope"):60119;function D(c){if(typeof c=="object"&&c!==null){var z=c.$$typeof;switch(z){case t:switch(c=c.type,c){case u:case f:case r:case i:case o:case h:return c;default:switch(c=c&&c.$$typeof,c){case p:case y:case T:case E:case s:return c;default:return z}}case n:return z}}}function F(c){return D(c)===f}return M.AsyncMode=u,M.ConcurrentMode=f,M.ContextConsumer=p,M.ContextProvider=s,M.Element=t,M.ForwardRef=y,M.Fragment=r,M.Lazy=T,M.Memo=E,M.Portal=n,M.Profiler=i,M.StrictMode=o,M.Suspense=h,M.isAsyncMode=function(c){return F(c)||D(c)===u},M.isConcurrentMode=F,M.isContextConsumer=function(c){return D(c)===p},M.isContextProvider=function(c){return D(c)===s},M.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},M.isForwardRef=function(c){return D(c)===y},M.isFragment=function(c){return D(c)===r},M.isLazy=function(c){return D(c)===T},M.isMemo=function(c){return D(c)===E},M.isPortal=function(c){return D(c)===n},M.isProfiler=function(c){return D(c)===i},M.isStrictMode=function(c){return D(c)===o},M.isSuspense=function(c){return D(c)===h},M.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===f||c===i||c===o||c===h||c===l||typeof c=="object"&&c!==null&&(c.$$typeof===T||c.$$typeof===E||c.$$typeof===s||c.$$typeof===p||c.$$typeof===y||c.$$typeof===a||c.$$typeof===P||c.$$typeof===V||c.$$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 mt;function nr(){return mt||(mt=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=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,p=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,l=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,V=e?Symbol.for("react.scope"):60119;function D(g){return typeof g=="string"||typeof g=="function"||g===r||g===f||g===i||g===o||g===h||g===l||typeof g=="object"&&g!==null&&(g.$$typeof===T||g.$$typeof===E||g.$$typeof===s||g.$$typeof===p||g.$$typeof===y||g.$$typeof===a||g.$$typeof===P||g.$$typeof===V||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 u:case f:case r:case i:case o:case h:return v;default:var he=v&&v.$$typeof;switch(he){case p:case y:case T:case E:case s:return he;default:return J}}case n:return J}}}var c=u,z=f,oe=p,ee=s,ce=t,ie=y,Y=r,q=T,te=E,H=n,le=i,G=o,se=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.")),d(g)||F(g)===u}function d(g){return F(g)===f}function b(g){return F(g)===p}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)===r}function O(g){return F(g)===T}function _(g){return F(g)===E}function C(g){return F(g)===n}function I(g){return F(g)===i}function A(g){return F(g)===o}function K(g){return F(g)===h}j.AsyncMode=c,j.ConcurrentMode=z,j.ContextConsumer=oe,j.ContextProvider=ee,j.Element=ce,j.ForwardRef=ie,j.Fragment=Y,j.Lazy=q,j.Memo=te,j.Portal=H,j.Profiler=le,j.StrictMode=G,j.Suspense=se,j.isAsyncMode=ye,j.isConcurrentMode=d,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=K,j.isValidElementType=D,j.typeOf=F}()),j}var yt;function Nt(){return yt||(yt=1,process.env.NODE_ENV==="production"?Ae.exports=rr():Ae.exports=nr()),Ae.exports}/*
16
+ object-assign
17
+ (c) Sindre Sorhus
18
+ @license MIT
19
+ */var Ke,ht;function or(){if(ht)return Ke;ht=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(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={},p=0;p<10;p++)s["_"+String.fromCharCode(p)]=p;var u=Object.getOwnPropertyNames(s).map(function(y){return s[y]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(y){f[y]=y}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ke=o()?Object.assign:function(i,s){for(var p,u=r(i),f,y=1;y<arguments.length;y++){p=Object(arguments[y]);for(var h in p)t.call(p,h)&&(u[h]=p[h]);if(e){f=e(p);for(var l=0;l<f.length;l++)n.call(p,f[l])&&(u[f[l]]=p[f[l]])}}return u},Ke}var Ge,gt;function nt(){if(gt)return Ge;gt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ge=e,Ge}var He,bt;function Dt(){return bt||(bt=1,He=Function.call.bind(Object.prototype.hasOwnProperty)),He}var Xe,vt;function ir(){if(vt)return Xe;vt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=nt(),n={},r=Dt();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,p,u,f){if(process.env.NODE_ENV!=="production"){for(var y in i)if(r(i,y)){var h;try{if(typeof i[y]!="function"){var l=Error((u||"React class")+": "+p+" 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 l.name="Invariant Violation",l}h=i[y](s,y,u,p,null,t)}catch(T){h=T}if(h&&!(h instanceof Error)&&e((u||"React class")+": type specification of "+p+" `"+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 n)){n[h.message]=!0;var E=f?f():"";e("Failed "+p+" type: "+h.message+(E??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Xe=o,Xe}var Je,Et;function sr(){if(Et)return Je;Et=1;var e=Nt(),t=or(),n=nt(),r=Dt(),o=ir(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(p){var u="Warning: "+p;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function s(){return null}return Je=function(p,u){var f=typeof Symbol=="function"&&Symbol.iterator,y="@@iterator";function h(d){var b=d&&(f&&d[f]||d[y]);if(typeof b=="function")return b}var l="<<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:V(),arrayOf:D,element:F(),elementType:c(),instanceOf:z,node:ie(),objectOf:ee,oneOf:oe,oneOfType:ce,shape:q,exact:te};function T(d,b){return d===b?d!==0||1/d===1/b:d!==d&&b!==b}function m(d,b){this.message=d,this.data=b&&typeof b=="object"?b:{},this.stack=""}m.prototype=Error.prototype;function a(d){if(process.env.NODE_ENV!=="production")var b={},$=0;function x(w,O,_,C,I,A,K){if(C=C||l,A=A||_,K!==n){if(u){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:d(O,_,C,I,A)}var S=x.bind(null,!1);return S.isRequired=x.bind(null,!0),S}function P(d){function b($,x,S,w,O,_){var C=$[x],I=G(C);if(I!==d){var A=se(C);return new m("Invalid "+w+" `"+O+"` of type "+("`"+A+"` supplied to `"+S+"`, expected ")+("`"+d+"`."),{expectedType:d})}return null}return a(b)}function V(){return a(s)}function D(d){function b($,x,S,w,O){if(typeof d!="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=d(_,I,S,w,O+"["+I+"]",n);if(A instanceof Error)return A}return null}return a(b)}function F(){function d(b,$,x,S,w){var O=b[$];if(!p(O)){var _=G(O);return new m("Invalid "+S+" `"+w+"` of type "+("`"+_+"` supplied to `"+x+"`, expected a single ReactElement."))}return null}return a(d)}function c(){function d(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(d)}function z(d){function b($,x,S,w,O){if(!($[x]instanceof d)){var _=d.name||l,C=ye($[x]);return new m("Invalid "+w+" `"+O+"` of type "+("`"+C+"` supplied to `"+S+"`, expected ")+("instance of `"+_+"`."))}return null}return a(b)}function oe(d){if(!Array.isArray(d))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<d.length;C++)if(T(_,d[C]))return null;var I=JSON.stringify(d,function(K,g){var J=se(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(d){function b($,x,S,w,O){if(typeof d!="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(r(_,I)){var A=d(_,I,S,w,O+"."+I,n);if(A instanceof Error)return A}return null}return a(b)}function ce(d){if(!Array.isArray(d))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var b=0;b<d.length;b++){var $=d[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<d.length;A++){var K=d[A],g=K(S,w,O,_,C,n);if(g==null)return null;g.data&&r(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 ie(){function d(b,$,x,S,w){return H(b[$])?null:new m("Invalid "+S+" `"+w+"` supplied to "+("`"+x+"`, expected a ReactNode."))}return a(d)}function Y(d,b,$,x,S){return new m((d||"React class")+": "+b+" type `"+$+"."+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+S+"`.")}function q(d){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 d){var A=d[I];if(typeof A!="function")return Y(S,w,O,I,se(A));var K=A(_,I,S,w,O+"."+I,n);if(K)return K}return null}return a(b)}function te(d){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],d);for(var A in I){var K=d[A];if(r(d,A)&&typeof K!="function")return Y(S,w,O,A,se(K));if(!K)return new m("Invalid "+w+" `"+O+"` key `"+A+"` supplied to `"+S+"`.\nBad object: "+JSON.stringify($[x],null," ")+`
20
+ Valid keys: `+JSON.stringify(Object.keys(d),null," "));var g=K(_,A,S,w,O+"."+A,n);if(g)return g}return null}return a(b)}function H(d){switch(typeof d){case"number":case"string":case"undefined":return!0;case"boolean":return!d;case"object":if(Array.isArray(d))return d.every(H);if(d===null||p(d))return!0;var b=h(d);if(b){var $=b.call(d),x;if(b!==d.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(d,b){return d==="symbol"?!0:b?b["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&b instanceof Symbol:!1}function G(d){var b=typeof d;return Array.isArray(d)?"array":d instanceof RegExp?"object":le(b,d)?"symbol":b}function se(d){if(typeof d>"u"||d===null)return""+d;var b=G(d);if(b==="object"){if(d instanceof Date)return"date";if(d instanceof RegExp)return"regexp"}return b}function de(d){var b=se(d);switch(b){case"array":case"object":return"an "+b;case"boolean":case"date":case"regexp":return"a "+b;default:return b}}function ye(d){return!d.constructor||!d.constructor.name?l:d.constructor.name}return E.checkPropTypes=o,E.resetWarningCache=o.resetWarningCache,E.PropTypes=E,E},Je}var Ze,Tt;function ar(){if(Tt)return Ze;Tt=1;var e=nt();function t(){}function n(){}return n.resetWarningCache=t,Ze=function(){function r(s,p,u,f,y,h){if(h!==e){var l=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 l.name="Invariant Violation",l}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},Ze}if(process.env.NODE_ENV!=="production"){var cr=Nt(),ur=!0;et.exports=sr()(cr.isElement,ur)}else et.exports=ar()();var fr=et.exports;const Se=er(fr);function Ft(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ft(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function lr(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ft(e))&&(r&&(r+=" "),r+=t);return r}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(n=>{t[n]=Lt(e[n])}),t}function re(e,t,n={clone:!0}){const r=n.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])?r[o]=re(e[o],t[o],n):n.clone?r[o]=ue(t[o])?Lt(t[o]):t[o]:r[o]=t[o])}),r}function pe(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var tt={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 St;function dr(){if(St)return k;St=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),p=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),l=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 n:case o:case r:case f:case y:return a;default:switch(a=a&&a.$$typeof,a){case p:case s:case u:case l: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=u,k.Fragment=n,k.Lazy=l,k.Memo=h,k.Portal=t,k.Profiler=o,k.StrictMode=r,k.Suspense=f,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)===u},k.isFragment=function(a){return m(a)===n},k.isLazy=function(a){return m(a)===l},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)===r},k.isSuspense=function(a){return m(a)===f},k.isSuspenseList=function(a){return m(a)===y},k.isValidElementType=function(a){return typeof a=="string"||typeof a=="function"||a===n||a===o||a===r||a===f||a===y||a===E||typeof a=="object"&&a!==null&&(a.$$typeof===l||a.$$typeof===h||a.$$typeof===i||a.$$typeof===s||a.$$typeof===u||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 Ot;function pr(){return Ot||(Ot=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),p=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),T=!1,m=!1,a=!1,P=!1,V=!1,D;D=Symbol.for("react.module.reference");function F(v){return!!(typeof v=="string"||typeof v=="function"||v===n||v===o||V||v===r||v===f||v===y||P||v===E||T||m||a||typeof v=="object"&&v!==null&&(v.$$typeof===l||v.$$typeof===h||v.$$typeof===i||v.$$typeof===s||v.$$typeof===u||v.$$typeof===D||v.getModuleId!==void 0))}function c(v){if(typeof v=="object"&&v!==null){var he=v.$$typeof;switch(he){case e:var Ce=v.type;switch(Ce){case n:case o:case r:case f:case y:return Ce;default:var dt=Ce&&Ce.$$typeof;switch(dt){case p:case s:case u:case l:case h:case i:return dt;default:return he}}case t:return he}}}var z=s,oe=i,ee=e,ce=u,ie=n,Y=l,q=h,te=t,H=o,le=r,G=f,se=y,de=!1,ye=!1;function d(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 c(v)===s}function x(v){return c(v)===i}function S(v){return typeof v=="object"&&v!==null&&v.$$typeof===e}function w(v){return c(v)===u}function O(v){return c(v)===n}function _(v){return c(v)===l}function C(v){return c(v)===h}function I(v){return c(v)===t}function A(v){return c(v)===o}function K(v){return c(v)===r}function g(v){return c(v)===f}function J(v){return c(v)===y}N.ContextConsumer=z,N.ContextProvider=oe,N.Element=ee,N.ForwardRef=ce,N.Fragment=ie,N.Lazy=Y,N.Memo=q,N.Portal=te,N.Profiler=H,N.StrictMode=le,N.Suspense=G,N.SuspenseList=se,N.isAsyncMode=d,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=K,N.isSuspense=g,N.isSuspenseList=J,N.isValidElementType=F,N.typeOf=c}()),N}process.env.NODE_ENV==="production"?tt.exports=dr():tt.exports=pr();var rt=tt.exports;const mr=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function yr(e){const t=`${e}`.match(mr);return t&&t[1]||""}function Ut(e,t=""){return e.displayName||e.name||yr(e)||t}function xt(e,t,n){const r=Ut(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function hr(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 rt.ForwardRef:return xt(e,e.render,"ForwardRef");case rt.Memo:return xt(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 ot(e,t){const n=R({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=R({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=R({},i),Object.keys(o).forEach(s=>{n[r][s]=ot(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function gr(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const p=t(s);p!==""&&i.push(p),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}const _t=e=>e,br=()=>{let e=_t;return{configure(t){e=t},generate(t){return e(t)},reset(){e=_t}}},vr=br(),Wt=vr,Er={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 it(e,t,n="Mui"){const r=Er[t];return r?`${n}-${r}`:`${Wt.generate(e)}-${t}`}function Tr(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=it(e,o,n)}),r}function Sr(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}/**
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 Yt(e,t){const n=Ht(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.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
+ `)):r.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}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(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>R({},n,{[r.key]:r.val}),{})};function $r(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ne(e,xr),i=_r(t),s=Object.keys(i);function p(l){return`@media (min-width:${typeof t[l]=="number"?t[l]:l}${n})`}function u(l){return`@media (max-width:${(typeof t[l]=="number"?t[l]:l)-r/100}${n})`}function f(l,E){const T=s.indexOf(E);return`@media (min-width:${typeof t[l]=="number"?t[l]:l}${n}) and (max-width:${(T!==-1&&typeof t[s[T]]=="number"?t[s[T]]:E)-r/100}${n})`}function y(l){return s.indexOf(l)+1<s.length?f(l,s[s.indexOf(l)+1]):p(l)}function h(l){const E=s.indexOf(l);return E===0?p(s[1]):E===s.length-1?u(s[E]):f(l,s[s.indexOf(l)+1]).replace("@media","@media not all and")}return R({keys:s,values:i,up:p,down:u,between:f,only:y,not:h,unit:n},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 st={xs:0,sm:600,md:900,lg:1200,xl:1536},$t={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${st[e]}px)`};function ae(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||$t;return t.reduce((s,p,u)=>(s[i.up(i.keys[u])]=n(t[u]),s),{})}if(typeof t=="object"){const i=r.breakpoints||$t;return Object.keys(t).reduce((s,p)=>{if(Object.keys(i.values||st).indexOf(p)!==-1){const u=i.up(p);s[u]=n(t[p],p)}else{const u=p;s[u]=t[u]}return s},{})}return n(t)}function Cr(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Ar(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ne(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function je(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Ne(e,n)||r,t&&(o=t(o,r,e)),o}function B(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const p=s[t],u=s.theme,f=Ne(u,r)||{};return ae(s,p,h=>{let l=je(f,o,h);return h===l&&typeof h=="string"&&(l=je(f,o,`${t}${h==="default"?"":ke(h)}`,h)),n===!1?l:{[n]:l}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:fe}:{},i.filterProps=[t],i}function Ir(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Mr={m:"margin",p:"padding"},jr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Pt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},kr=Ir(e=>{if(e.length>2)if(Pt[e])e=Pt[e];else return[e];const[t,n]=e.split(""),r=Mr[t],o=jr[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+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"],Nr=[...De,...Fe];function Re(e,t,n,r){var o;const i=(o=Ne(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${r} 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 Bt(e){return Re(e,"spacing",8,"spacing")}function we(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function Dr(e,t){return n=>e.reduce((r,o)=>(r[o]=we(t,n),r),{})}function Fr(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=kr(n),i=Dr(o,r),s=e[n];return ae(e,s,i)}function zt(e,t){const n=Bt(e.theme);return Object.keys(e).map(r=>Fr(e,t,r,n)).reduce(_e,{})}function U(e){return zt(e,De)}U.propTypes=process.env.NODE_ENV!=="production"?De.reduce((e,t)=>(e[t]=fe,e),{}):{};U.filterProps=De;function W(e){return zt(e,Fe)}W.propTypes=process.env.NODE_ENV!=="production"?Fe.reduce((e,t)=>(e[t]=fe,e),{}):{};W.filterProps=Fe;process.env.NODE_ENV!=="production"&&Nr.reduce((e,t)=>(e[t]=fe,e),{});function Lr(e=8){if(e.mui)return e;const t=Bt({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return n.mui=!0,n}function Le(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?_e(o,t[i](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Z(e){return typeof e!="number"?e:`${e}px solid`}function Q(e,t){return B({prop:e,themeKey:"borders",transform:t})}const Ur=Q("border",Z),Wr=Q("borderTop",Z),Yr=Q("borderRight",Z),Br=Q("borderBottom",Z),zr=Q("borderLeft",Z),Vr=Q("borderColor"),qr=Q("borderTopColor"),Kr=Q("borderRightColor"),Gr=Q("borderBottomColor"),Hr=Q("borderLeftColor"),Xr=Q("outline",Z),Jr=Q("outlineColor"),Ue=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Re(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:we(t,r)});return ae(e,e.borderRadius,n)}return null};Ue.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:fe}:{};Ue.filterProps=["borderRadius"];Le(Ur,Wr,Yr,Br,zr,Vr,qr,Kr,Gr,Hr,Ue,Xr,Jr);const We=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Re(e.theme,"spacing",8,"gap"),n=r=>({gap:we(t,r)});return ae(e,e.gap,n)}return null};We.propTypes=process.env.NODE_ENV!=="production"?{gap:fe}:{};We.filterProps=["gap"];const Ye=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Re(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:we(t,r)});return ae(e,e.columnGap,n)}return null};Ye.propTypes=process.env.NODE_ENV!=="production"?{columnGap:fe}:{};Ye.filterProps=["columnGap"];const Be=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Re(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:we(t,r)});return ae(e,e.rowGap,n)}return null};Be.propTypes=process.env.NODE_ENV!=="production"?{rowGap:fe}:{};Be.filterProps=["rowGap"];const Zr=B({prop:"gridColumn"}),Qr=B({prop:"gridRow"}),en=B({prop:"gridAutoFlow"}),tn=B({prop:"gridAutoColumns"}),rn=B({prop:"gridAutoRows"}),nn=B({prop:"gridTemplateColumns"}),on=B({prop:"gridTemplateRows"}),sn=B({prop:"gridTemplateAreas"}),an=B({prop:"gridArea"});Le(We,Ye,Be,Zr,Qr,en,tn,rn,nn,on,sn,an);function Oe(e,t){return t==="grey"?t:e}const cn=B({prop:"color",themeKey:"palette",transform:Oe}),un=B({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Oe}),fn=B({prop:"backgroundColor",themeKey:"palette",transform:Oe});Le(cn,un,fn);function X(e){return e<=1&&e!==0?`${e*100}%`:e}const ln=B({prop:"width",transform:X}),at=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||st[n];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(n)}};return ae(e,e.maxWidth,t)}return null};at.filterProps=["maxWidth"];const dn=B({prop:"minWidth",transform:X}),pn=B({prop:"height",transform:X}),mn=B({prop:"maxHeight",transform:X}),yn=B({prop:"minHeight",transform:X});B({prop:"size",cssProperty:"width",transform:X});B({prop:"size",cssProperty:"height",transform:X});const hn=B({prop:"boxSizing"});Le(ln,at,dn,pn,mn,yn,hn);const gn={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:Ue},color:{themeKey:"palette",transform:Oe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Oe},backgroundColor:{themeKey:"palette",transform:Oe},p:{style:W},pt:{style:W},pr:{style:W},pb:{style:W},pl:{style:W},px:{style:W},py:{style:W},padding:{style:W},paddingTop:{style:W},paddingRight:{style:W},paddingBottom:{style:W},paddingLeft:{style:W},paddingX:{style:W},paddingY:{style:W},paddingInline:{style:W},paddingInlineStart:{style:W},paddingInlineEnd:{style:W},paddingBlock:{style:W},paddingBlockStart:{style:W},paddingBlockEnd:{style:W},m:{style:U},mt:{style:U},mr:{style:U},mb:{style:U},ml:{style:U},mx:{style:U},my:{style:U},margin:{style:U},marginTop:{style:U},marginRight:{style:U},marginBottom:{style:U},marginLeft:{style:U},marginX:{style:U},marginY:{style:U},marginInline:{style:U},marginInlineStart:{style:U},marginInlineEnd:{style:U},marginBlock:{style:U},marginBlockStart:{style:U},marginBlockEnd:{style:U},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:We},rowGap:{style:Be},columnGap:{style:Ye},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:at},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=gn;function bn(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function vn(e,t){return typeof e=="function"?e(t):e}function En(){function e(n,r,o,i){const s={[n]:r,theme:o},p=i[n];if(!p)return{[n]:r};const{cssProperty:u=n,themeKey:f,transform:y,style:h}=p;if(r==null)return null;if(f==="typography"&&r==="inherit")return{[n]:r};const l=Ne(o,f)||{};return h?h(s):ae(s,r,T=>{let m=je(l,y,T);return T===m&&typeof T=="string"&&(m=je(l,y,`${n}${T==="default"?"":ke(T)}`,T)),u===!1?m:{[u]:m}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:ze;function p(u){let f=u;if(typeof u=="function")f=u(i);else if(typeof u!="object")return u;if(!f)return null;const y=Cr(i.breakpoints),h=Object.keys(y);let l=y;return Object.keys(f).forEach(E=>{const T=vn(f[E],i);if(T!=null)if(typeof T=="object")if(s[E])l=_e(l,e(E,T,i,s));else{const m=ae({theme:i},T,a=>({[E]:a}));bn(m,T)?l[E]=t({sx:T,theme:i}):l=_e(l,m)}else l=_e(l,e(E,T,i,s))}),Ar(h,l)}return Array.isArray(o)?o.map(p):p(o)}return t}const Vt=En();Vt.filterProps=["sx"];const Ve=Vt;function Tn(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const Sn=["breakpoints","palette","spacing","shape"];function ct(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=ne(e,Sn),p=$r(n),u=Lr(o);let f=re({breakpoints:p,direction:"ltr",components:{},palette:R({mode:"light"},r),spacing:u,shape:R({},Rr,i)},s);return f.applyStyles=Tn,f=t.reduce((y,h)=>re(y,h),f),f.unstable_sxConfig=R({},ze,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(h){return Ve({sx:h,theme:this})},f}function On(e){return Object.keys(e).length===0}function xn(e=null){const t=Qt.useContext(Xt.ThemeContext);return!t||On(t)?e:t}const _n=ct();function qt(e=_n){return xn(e)}const $n=["ownerState"],Pn=["variants"],Rn=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function wn(e){return Object.keys(e).length===0}function Cn(e){return typeof e=="string"&&e.charCodeAt(0)>96}function $e(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const An=ct(),Rt=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ie({defaultTheme:e,theme:t,themeId:n}){return wn(t)?e:t[n]||t}function In(e){return e?(t,n)=>n[e]:null}function Me(e,t){let{ownerState:n}=t,r=ne(t,$n);const o=typeof e=="function"?e(R({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Me(i,R({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let p=ne(o,Pn);return i.forEach(u=>{let f=!0;typeof u.props=="function"?f=u.props(R({ownerState:n},r,n)):Object.keys(u.props).forEach(y=>{(n==null?void 0:n[y])!==u.props[y]&&r[y]!==u.props[y]&&(f=!1)}),f&&(Array.isArray(p)||(p=[p]),p.push(typeof u.style=="function"?u.style(R({ownerState:n},r,n)):u.style))}),p}return o}function Mn(e={}){const{themeId:t,defaultTheme:n=An,rootShouldForwardProp:r=$e,slotShouldForwardProp:o=$e}=e,i=s=>Ve(R({},s,{theme:Ie(R({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,p={})=>{Or(s,c=>c.filter(z=>!(z!=null&&z.__mui_systemSx)));const{name:u,slot:f,skipVariantsResolver:y,skipSx:h,overridesResolver:l=In(Rt(f))}=p,E=ne(p,Rn),T=y!==void 0?y:f&&f!=="Root"&&f!=="root"||!1,m=h||!1;let a;process.env.NODE_ENV!=="production"&&u&&(a=`${u}-${Rt(f||"Root")}`);let P=$e;f==="Root"||f==="root"?P=r:f?P=o:Cn(s)&&(P=void 0);const V=Yt(s,R({shouldForwardProp:P,label:a},E)),D=c=>typeof c=="function"&&c.__emotion_real!==c||ue(c)?z=>Me(c,R({},z,{theme:Ie({theme:z.theme,defaultTheme:n,themeId:t})})):c,F=(c,...z)=>{let oe=D(c);const ee=z?z.map(D):[];u&&l&&ee.push(Y=>{const q=Ie(R({},Y,{defaultTheme:n,themeId:t}));if(!q.components||!q.components[u]||!q.components[u].styleOverrides)return null;const te=q.components[u].styleOverrides,H={};return Object.entries(te).forEach(([le,G])=>{H[le]=Me(G,R({},Y,{theme:q}))}),l(Y,H)}),u&&!T&&ee.push(Y=>{var q;const te=Ie(R({},Y,{defaultTheme:n,themeId:t})),H=te==null||(q=te.components)==null||(q=q[u])==null?void 0:q.variants;return Me({variants:H},R({},Y,{theme:te}))}),m||ee.push(i);const ce=ee.length-z.length;if(Array.isArray(c)&&ce>0){const Y=new Array(ce).fill("");oe=[...c,...Y],oe.raw=[...c.raw,...Y]}const ie=V(oe,...ee);if(process.env.NODE_ENV!=="production"){let Y;u&&(Y=`${u}${ke(f||"")}`),Y===void 0&&(Y=`Styled(${hr(s)})`),ie.displayName=Y}return s.muiName&&(ie.muiName=s.muiName),ie};return V.withConfig&&(F.withConfig=V.withConfig),F}}function jn(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:ot(t.components[n].defaultProps,r)}function kn({props:e,name:t,defaultTheme:n,themeId:r}){let o=qt(n);return r&&(o=o[r]||o),jn({theme:o,name:t,props:e})}function ut(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Sr(e,t,n)}function Nn(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function me(e){if(e.type)return e;if(e.charAt(0)==="#")return me(Nn(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-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 r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[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 r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function qe(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Dn(e){e=me(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(f,y=(f+n/30)%12)=>o-i*Math.max(Math.min(y-3,9-y,1),-1);let p="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(p+="a",u.push(t[3])),qe({type:p,values:u})}function wt(e){e=me(e);let t=e.type==="hsl"||e.type==="hsla"?me(Dn(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ct(e,t){const n=wt(e),r=wt(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Fn(e,t){return e=me(e),t=ut(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,qe(e)}function Ln(e,t){if(e=me(e),t=ut(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 n=0;n<3;n+=1)e.values[n]*=1-t;return qe(e)}function Un(e,t){if(e=me(e),t=ut(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return qe(e)}function Wn(e,t){return R({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Yn={black:"#000",white:"#fff"},Pe=Yn,Bn={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"},zn=Bn,Vn={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=Vn,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"},xe=Kn,Gn={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=Gn,Hn={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=Hn,Xn={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=Xn,Jn=["mode","contrastThreshold","tonalOffset"],At={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:Pe.white,default:Pe.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}},Qe={text:{primary:Pe.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:Pe.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 It(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Un(e.main,o):t==="dark"&&(e.dark=Ln(e.main,i)))}function Zn(e="light"){return e==="dark"?{main:ve[200],light:ve[50],dark:ve[400]}:{main:ve[700],light:ve[400],dark:ve[800]}}function Qn(e="light"){return e==="dark"?{main:ge[200],light:ge[50],dark:ge[400]}:{main:ge[500],light:ge[300],dark:ge[700]}}function eo(e="light"){return e==="dark"?{main:be[500],light:be[300],dark:be[700]}:{main:be[700],light:be[400],dark:be[800]}}function to(e="light"){return e==="dark"?{main:Ee[400],light:Ee[300],dark:Ee[700]}:{main:Ee[700],light:Ee[500],dark:Ee[900]}}function ro(e="light"){return e==="dark"?{main:Te[400],light:Te[300],dark:Te[700]}:{main:Te[800],light:Te[500],dark:Te[900]}}function no(e="light"){return e==="dark"?{main:xe[400],light:xe[300],dark:xe[700]}:{main:"#ed6c02",light:xe[500],dark:xe[900]}}function oo(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ne(e,Jn),i=e.primary||Zn(t),s=e.secondary||Qn(t),p=e.error||eo(t),u=e.info||to(t),f=e.success||ro(t),y=e.warning||no(t);function h(m){const a=Ct(m,Qe.text.primary)>=n?Qe.text.primary:At.text.primary;if(process.env.NODE_ENV!=="production"){const P=Ct(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 l=({color:m,name:a,mainShade:P=500,lightShade:V=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 It(m,"light",V,r),It(m,"dark",D,r),m.contrastText||(m.contrastText=h(m.main)),m},E={dark:Qe,light:At};return process.env.NODE_ENV!=="production"&&(E[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),re(R({common:R({},Pe),mode:t,primary:l({color:i,name:"primary"}),secondary:l({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:l({color:p,name:"error"}),warning:l({color:y,name:"warning"}),info:l({color:u,name:"info"}),success:l({color:f,name:"success"}),grey:zn,contrastThreshold:n,getContrastText:h,augmentColor:l,tonalOffset:r},E[t]),o)}const io=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function so(e){return Math.round(e*1e5)/1e5}const Mt={textTransform:"uppercase"},jt='"Roboto", "Helvetica", "Arial", sans-serif';function ao(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=jt,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:p=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:y,pxToRem:h}=n,l=ne(n,io);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const E=o/14,T=h||(P=>`${P/f*E}rem`),m=(P,V,D,F,c)=>R({fontFamily:r,fontWeight:P,fontSize:T(V),lineHeight:D},r===jt?{letterSpacing:`${so(F/V)}em`}:{},c,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(p,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(p,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(p,14,1.75,.4,Mt),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Mt),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return re(R({htmlFontSize:f,pxToRem:T,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:p,fontWeightBold:u},a),l,{clone:!1})}const co=.2,uo=.14,fo=.12;function L(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${co})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${uo})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${fo})`].join(",")}const lo=["none",L(0,2,1,-1,0,1,1,0,0,1,3,0),L(0,3,1,-2,0,2,2,0,0,1,5,0),L(0,3,3,-2,0,3,4,0,0,1,8,0),L(0,2,4,-1,0,4,5,0,0,1,10,0),L(0,3,5,-1,0,5,8,0,0,1,14,0),L(0,3,5,-1,0,6,10,0,0,1,18,0),L(0,4,5,-2,0,7,10,1,0,2,16,1),L(0,5,5,-3,0,8,10,1,0,3,14,2),L(0,5,6,-3,0,9,12,1,0,3,16,2),L(0,6,6,-3,0,10,14,1,0,4,18,3),L(0,6,7,-4,0,11,15,1,0,4,20,3),L(0,7,8,-4,0,12,17,2,0,5,22,4),L(0,7,8,-4,0,13,19,2,0,5,24,4),L(0,7,9,-4,0,14,21,2,0,5,26,4),L(0,8,9,-5,0,15,22,2,0,6,28,5),L(0,8,10,-5,0,16,24,2,0,6,30,5),L(0,8,11,-5,0,17,26,2,0,6,32,5),L(0,9,11,-5,0,18,28,2,0,7,34,6),L(0,9,12,-6,0,19,29,2,0,7,36,6),L(0,10,13,-6,0,20,31,3,0,8,38,7),L(0,10,13,-6,0,21,33,3,0,8,40,7),L(0,10,14,-6,0,22,35,3,0,8,42,7),L(0,11,14,-7,0,23,36,3,0,9,44,8),L(0,11,15,-7,0,24,38,3,0,9,46,8)],po=["duration","easing","delay"],mo={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)"},yo={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function kt(e){return`${Math.round(e)}ms`}function ho(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function go(e){const t=R({},mo,e.easing),n=R({},yo,e.duration);return R({getAutoHeightDuration:ho,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:p=t.easeInOut,delay:u=0}=i,f=ne(i,po);if(process.env.NODE_ENV!=="production"){const y=l=>typeof l=="string",h=l=>!isNaN(parseFloat(l));!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(p)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!y(u)&&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(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(y=>`${y} ${typeof s=="string"?s:kt(s)} ${p} ${typeof u=="string"?u:kt(u)}`).join(",")}},e,{easing:t,duration:n})}const bo={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},vo=bo,Eo=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Kt(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=ne(e,Eo);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 p=oo(r),u=ct(e);let f=re(u,{mixins:Wn(u.breakpoints,n),palette:p,shadows:lo.slice(),typography:ao(p,i),transitions:go(o),zIndex:R({},vo)});if(f=re(f,s),f=t.reduce((y,h)=>re(y,h),f),process.env.NODE_ENV!=="production"){const y=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(l,E)=>{let T;for(T in l){const m=l[T];if(y.indexOf(T)!==-1&&Object.keys(m).length>0){if(process.env.NODE_ENV!=="production"){const a=it("",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(l,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
+ `))}l[T]={}}}};Object.keys(f.components).forEach(l=>{const E=f.components[l].styleOverrides;E&&l.indexOf("Mui")===0&&h(E,l)})}return f.unstable_sxConfig=R({},ze,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(h){return Ve({sx:h,theme:this})},f}const To=Kt(),ft=To,lt="$$material",Gt=e=>$e(e)&&e!=="classes",So=$e,Oo=Mn({themeId:lt,defaultTheme:ft,rootShouldForwardProp:Gt});function xo({props:e,name:t}){return kn({props:e,name:t,defaultTheme:ft,themeId:lt})}exports.ClassNameGenerator=Wt;exports.PropTypes=Se;exports.THEME_ID=lt;exports._extends=R;exports._objectWithoutPropertiesLoose=ne;exports.alpha=Fn;exports.capitalize=ke;exports.clsx=lr;exports.composeClasses=gr;exports.createTheme=Kt;exports.deepmerge=re;exports.defaultSxConfig=ze;exports.defaultTheme=ft;exports.formatMuiErrorMessage=pe;exports.generateUtilityClass=it;exports.generateUtilityClasses=Tr;exports.getAugmentedNamespace=tr;exports.isPlainObject=ue;exports.reactIsExports=rt;exports.resolveProps=ot;exports.rootShouldForwardProp=Gt;exports.slotShouldForwardProp=So;exports.styleFunctionSx=Ve;exports.styled=Oo;exports.styled$1=Yt;exports.useTheme=qt;exports.useThemeProps=xo;
@@ -0,0 +1,47 @@
1
+ import * as s from "react";
2
+ import { u as n } from "./useForkRef-DwN_Iz9R.js";
3
+ function h(t) {
4
+ const r = s.useRef(t);
5
+ return n(() => {
6
+ r.current = t;
7
+ }), s.useRef((...e) => (
8
+ // @ts-expect-error hide `this`
9
+ (0, r.current)(...e)
10
+ )).current;
11
+ }
12
+ const u = {};
13
+ function i(t, r) {
14
+ const e = s.useRef(u);
15
+ return e.current === u && (e.current = t(r)), e;
16
+ }
17
+ const o = [];
18
+ function f(t) {
19
+ s.useEffect(t, o);
20
+ }
21
+ class c {
22
+ constructor() {
23
+ this.currentId = 0, this.clear = () => {
24
+ this.currentId !== 0 && (clearTimeout(this.currentId), this.currentId = 0);
25
+ }, this.disposeEffect = () => this.clear;
26
+ }
27
+ static create() {
28
+ return new c();
29
+ }
30
+ /**
31
+ * Executes `fn` after `delay`, clearing any previously scheduled call.
32
+ */
33
+ start(r, e) {
34
+ this.clear(), this.currentId = setTimeout(() => {
35
+ this.currentId = 0, e();
36
+ }, r);
37
+ }
38
+ }
39
+ function I() {
40
+ const t = i(c.create).current;
41
+ return f(t.disposeEffect), t;
42
+ }
43
+ export {
44
+ c as T,
45
+ h as a,
46
+ I as u
47
+ };
@@ -0,0 +1 @@
1
+ "use strict";const i=require("react"),o=require("./useForkRef-CGd3Nhyb.cjs");function f(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const u=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,u.get?u:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=f(i);function a(e){const r=c.useRef(e);return o.useEnhancedEffect(()=>{r.current=e}),c.useRef((...t)=>(0,r.current)(...t)).current}const s={};function l(e,r){const t=c.useRef(s);return t.current===s&&(t.current=e(r)),t}const d=[];function h(e){c.useEffect(e,d)}class n{constructor(){this.currentId=0,this.clear=()=>{this.currentId!==0&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new n}start(r,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},r)}}function m(){const e=l(n.create).current;return h(e.disposeEffect),e}exports.Timeout=n;exports.useEventCallback=a;exports.useTimeout=m;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "0.0.1-dev.1708974808",
3
+ "version": "0.0.1-dev.1709023966",
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,6 +35,7 @@
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",
38
39
  "tailwindcss": "3.4.1"
39
40
  },
40
41
  "peerDependencies": {
@@ -1 +0,0 @@
1
- "use strict";const a=require("./useThemeProps-CDriK9TK.cjs"),M=require("react"),x=require("react/jsx-runtime"),S=require("./ButtonBase-Cg8cBMzO.cjs");function V(o){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:()=>o[t]})}}return n.default=o,Object.freeze(n)}const c=V(M);function L(o){return a.generateUtilityClass("MuiButton",o)}const G=a.generateUtilityClasses("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),d=G,T=c.createContext({});process.env.NODE_ENV!=="production"&&(T.displayName="ButtonGroupContext");const P=T,B=c.createContext(void 0);process.env.NODE_ENV!=="production"&&(B.displayName="ButtonGroupButtonContext");const D=B,F=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],q=o=>{const{color:n,disableElevation:t,fullWidth:i,size:e,variant:r,classes:s}=o,u={root:["root",r,`${r}${a.capitalize(n)}`,`size${a.capitalize(e)}`,`${r}Size${a.capitalize(e)}`,n==="inherit"&&"colorInherit",t&&"disableElevation",i&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${a.capitalize(e)}`],endIcon:["endIcon",`iconSize${a.capitalize(e)}`]},v=a.composeClasses(u,L,s);return a._extends({},s,v)},$=o=>a._extends({},o.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},o.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},o.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),U=a.styled(S.ButtonBase,{shouldForwardProp:o=>a.rootShouldForwardProp(o)||o==="classes",name:"MuiButton",slot:"Root",overridesResolver:(o,n)=>{const{ownerState:t}=o;return[n.root,n[t.variant],n[`${t.variant}${a.capitalize(t.color)}`],n[`size${a.capitalize(t.size)}`],n[`${t.variant}Size${a.capitalize(t.size)}`],t.color==="inherit"&&n.colorInherit,t.disableElevation&&n.disableElevation,t.fullWidth&&n.fullWidth]}})(({theme:o,ownerState:n})=>{var t,i;const e=o.palette.mode==="light"?o.palette.grey[300]:o.palette.grey[800],r=o.palette.mode==="light"?o.palette.grey.A100:o.palette.grey[700];return a._extends({},o.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":a._extends({textDecoration:"none",backgroundColor:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})`:a.alpha(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="text"&&n.color!=="inherit"&&{backgroundColor:o.vars?`rgba(${o.vars.palette[n.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:a.alpha(o.palette[n.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="outlined"&&n.color!=="inherit"&&{border:`1px solid ${(o.vars||o).palette[n.color].main}`,backgroundColor:o.vars?`rgba(${o.vars.palette[n.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:a.alpha(o.palette[n.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="contained"&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:r,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},n.variant==="contained"&&n.color!=="inherit"&&{backgroundColor:(o.vars||o).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[n.color].main}}),"&:active":a._extends({},n.variant==="contained"&&{boxShadow:(o.vars||o).shadows[8]}),[`&.${d.focusVisible}`]:a._extends({},n.variant==="contained"&&{boxShadow:(o.vars||o).shadows[6]}),[`&.${d.disabled}`]:a._extends({color:(o.vars||o).palette.action.disabled},n.variant==="outlined"&&{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`},n.variant==="contained"&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})},n.variant==="text"&&{padding:"6px 8px"},n.variant==="text"&&n.color!=="inherit"&&{color:(o.vars||o).palette[n.color].main},n.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},n.variant==="outlined"&&n.color!=="inherit"&&{color:(o.vars||o).palette[n.color].main,border:o.vars?`1px solid rgba(${o.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${a.alpha(o.palette[n.color].main,.5)}`},n.variant==="contained"&&{color:o.vars?o.vars.palette.text.primary:(t=(i=o.palette).getContrastText)==null?void 0:t.call(i,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:e,boxShadow:(o.vars||o).shadows[2]},n.variant==="contained"&&n.color!=="inherit"&&{color:(o.vars||o).palette[n.color].contrastText,backgroundColor:(o.vars||o).palette[n.color].main},n.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},n.size==="small"&&n.variant==="text"&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},n.size==="large"&&n.variant==="text"&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},n.size==="small"&&n.variant==="outlined"&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},n.size==="large"&&n.variant==="outlined"&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},n.size==="small"&&n.variant==="contained"&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},n.size==="large"&&n.variant==="contained"&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})},({ownerState:o})=>o.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${d.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${d.disabled}`]:{boxShadow:"none"}}),H=a.styled("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(o,n)=>{const{ownerState:t}=o;return[n.startIcon,n[`iconSize${a.capitalize(t.size)}`]]}})(({ownerState:o})=>a._extends({display:"inherit",marginRight:8,marginLeft:-4},o.size==="small"&&{marginLeft:-2},$(o))),A=a.styled("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(o,n)=>{const{ownerState:t}=o;return[n.endIcon,n[`iconSize${a.capitalize(t.size)}`]]}})(({ownerState:o})=>a._extends({display:"inherit",marginRight:-4,marginLeft:8},o.size==="small"&&{marginRight:-2},$(o))),I=c.forwardRef(function(n,t){const i=c.useContext(P),e=c.useContext(D),r=a.resolveProps(i,n),s=a.useThemeProps({props:r,name:"MuiButton"}),{children:u,color:v="primary",component:b="button",className:h,disabled:y=!1,disableElevation:O=!1,disableFocusRipple:g=!1,endIcon:f,focusVisibleClassName:R,fullWidth:m=!1,size:N="medium",startIcon:z,type:C,variant:_="text"}=s,k=a._objectWithoutPropertiesLoose(s,F),p=a._extends({},s,{color:v,component:b,disabled:y,disableElevation:O,disableFocusRipple:g,fullWidth:m,size:N,type:C,variant:_}),l=q(p),E=z&&x.jsx(H,{className:l.startIcon,ownerState:p,children:z}),W=f&&x.jsx(A,{className:l.endIcon,ownerState:p,children:f}),j=e||"";return x.jsxs(U,a._extends({ownerState:p,className:a.clsx(i.className,l.root,h,j),component:b,disabled:y,focusRipple:!g,focusVisibleClassName:a.clsx(l.focusVisible,R),ref:t,type:C},k,{classes:l,children:[E,u,W]}))});process.env.NODE_ENV!=="production"&&(I.propTypes={children:a.PropTypes.node,classes:a.PropTypes.object,className:a.PropTypes.string,color:a.PropTypes.oneOfType([a.PropTypes.oneOf(["inherit","primary","secondary","success","error","info","warning"]),a.PropTypes.string]),component:a.PropTypes.elementType,disabled:a.PropTypes.bool,disableElevation:a.PropTypes.bool,disableFocusRipple:a.PropTypes.bool,disableRipple:a.PropTypes.bool,endIcon:a.PropTypes.node,focusVisibleClassName:a.PropTypes.string,fullWidth:a.PropTypes.bool,href:a.PropTypes.string,size:a.PropTypes.oneOfType([a.PropTypes.oneOf(["small","medium","large"]),a.PropTypes.string]),startIcon:a.PropTypes.node,sx:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.oneOfType([a.PropTypes.func,a.PropTypes.object,a.PropTypes.bool])),a.PropTypes.func,a.PropTypes.object]),type:a.PropTypes.oneOfType([a.PropTypes.oneOf(["button","reset","submit"]),a.PropTypes.string]),variant:a.PropTypes.oneOfType([a.PropTypes.oneOf(["contained","outlined","text"]),a.PropTypes.string])});const J=I;exports.Button=J;exports.ButtonGroupContext=P;