@gyramais/gyra-design 0.2.48 → 0.2.49

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 (87) hide show
  1. package/dist/components/Button/Button.d.ts +7 -0
  2. package/dist/components/Button/index.js.map +1 -1
  3. package/dist/components/Card/Card.d.ts +1 -7
  4. package/dist/components/Card/index.js +6 -6
  5. package/dist/components/Card/index.js.map +1 -1
  6. package/dist/components/ContextMenu/index.js +1 -1
  7. package/dist/components/ContextMenu/index.js.map +1 -1
  8. package/dist/components/DropdownMenu/index.js +1 -1
  9. package/dist/components/DropdownMenu/index.js.map +1 -1
  10. package/dist/components/Empty/Empty.d.ts +1 -18
  11. package/dist/components/Empty/index.js +40 -2
  12. package/dist/components/Empty/index.js.map +1 -1
  13. package/dist/components/Filter/index.js.map +1 -1
  14. package/dist/components/FloatingCard/index.js +7 -7
  15. package/dist/components/FloatingCard/index.js.map +1 -1
  16. package/dist/components/List/index.js +40 -2
  17. package/dist/components/List/index.js.map +1 -1
  18. package/dist/components/Modal/index.js.map +1 -1
  19. package/dist/components/MultiSelectPicker/index.js +1 -1
  20. package/dist/components/MultiSelectPicker/index.js.map +1 -1
  21. package/dist/components/OperatorPicker/index.js +1 -1
  22. package/dist/components/OperatorPicker/index.js.map +1 -1
  23. package/dist/components/PickerPopover/index.js +1 -1
  24. package/dist/components/PickerPopover/index.js.map +1 -1
  25. package/dist/components/Popover/Popover.d.ts +3 -1
  26. package/dist/components/Popover/index.js +1 -1
  27. package/dist/components/Popover/index.js.map +1 -1
  28. package/dist/components/Rail/Rail.d.ts +59 -0
  29. package/dist/components/Rail/RailGate.d.ts +22 -0
  30. package/dist/components/Rail/RailMini.d.ts +25 -0
  31. package/dist/components/Rail/RailStep.d.ts +45 -0
  32. package/dist/components/Rail/index.d.ts +6 -0
  33. package/dist/components/Rail/index.js +45 -0
  34. package/dist/components/Rail/index.js.map +1 -0
  35. package/dist/components/Rail/labels.d.ts +25 -0
  36. package/dist/components/Rail/types.d.ts +75 -0
  37. package/dist/components/RuleSearchPicker/index.js +1 -1
  38. package/dist/components/RuleSearchPicker/index.js.map +1 -1
  39. package/dist/components/SegmentedPicker/SegmentedPicker.d.ts +7 -1
  40. package/dist/components/SegmentedPicker/index.js +2 -2
  41. package/dist/components/SegmentedPicker/index.js.map +1 -1
  42. package/dist/components/Switch/Switch.d.ts +7 -1
  43. package/dist/components/Switch/index.js +1 -1
  44. package/dist/components/Switch/index.js.map +1 -1
  45. package/dist/components/Table/Table.d.ts +1 -14
  46. package/dist/components/Table/index.js +40 -2
  47. package/dist/components/Table/index.js.map +1 -1
  48. package/dist/emails/balance-sheet-finalized/components/Button/Button.d.ts +7 -0
  49. package/dist/emails/balance-sheet-finalized/components/Card/Card.d.ts +1 -7
  50. package/dist/emails/balance-sheet-finalized/components/Empty/Empty.d.ts +1 -18
  51. package/dist/emails/balance-sheet-finalized/components/Popover/Popover.d.ts +3 -1
  52. package/dist/emails/balance-sheet-finalized/components/Rail/Rail.d.ts +59 -0
  53. package/dist/emails/balance-sheet-finalized/components/Rail/RailGate.d.ts +22 -0
  54. package/dist/emails/balance-sheet-finalized/components/Rail/RailMini.d.ts +25 -0
  55. package/dist/emails/balance-sheet-finalized/components/Rail/RailStep.d.ts +45 -0
  56. package/dist/emails/balance-sheet-finalized/components/Rail/index.d.ts +6 -0
  57. package/dist/emails/balance-sheet-finalized/components/Rail/labels.d.ts +25 -0
  58. package/dist/emails/balance-sheet-finalized/components/Rail/types.d.ts +75 -0
  59. package/dist/emails/balance-sheet-finalized/components/SegmentedPicker/SegmentedPicker.d.ts +7 -1
  60. package/dist/emails/balance-sheet-finalized/components/Switch/Switch.d.ts +7 -1
  61. package/dist/emails/balance-sheet-finalized/components/Table/Table.d.ts +1 -14
  62. package/dist/emails/balance-sheet-finalized/index.d.ts +1 -1
  63. package/dist/emails/email/components/Button/Button.d.ts +7 -0
  64. package/dist/emails/email/components/Card/Card.d.ts +1 -7
  65. package/dist/emails/email/components/Empty/Empty.d.ts +1 -18
  66. package/dist/emails/email/components/Popover/Popover.d.ts +3 -1
  67. package/dist/emails/email/components/Rail/Rail.d.ts +59 -0
  68. package/dist/emails/email/components/Rail/RailGate.d.ts +22 -0
  69. package/dist/emails/email/components/Rail/RailMini.d.ts +25 -0
  70. package/dist/emails/email/components/Rail/RailStep.d.ts +45 -0
  71. package/dist/emails/email/components/Rail/index.d.ts +6 -0
  72. package/dist/emails/email/components/Rail/labels.d.ts +25 -0
  73. package/dist/emails/email/components/Rail/types.d.ts +75 -0
  74. package/dist/emails/email/components/SegmentedPicker/SegmentedPicker.d.ts +7 -1
  75. package/dist/emails/email/components/Switch/Switch.d.ts +7 -1
  76. package/dist/emails/email/components/Table/Table.d.ts +1 -14
  77. package/dist/emails/email/index.d.ts +1 -1
  78. package/dist/index.css +859 -372
  79. package/package.json +1 -1
  80. package/dist/components/Skeleton/Skeleton.d.ts +0 -50
  81. package/dist/components/Skeleton/index.d.ts +0 -1
  82. package/dist/components/Skeleton/index.js +0 -7
  83. package/dist/components/Skeleton/index.js.map +0 -1
  84. package/dist/emails/balance-sheet-finalized/components/Skeleton/Skeleton.d.ts +0 -50
  85. package/dist/emails/balance-sheet-finalized/components/Skeleton/index.d.ts +0 -1
  86. package/dist/emails/email/components/Skeleton/Skeleton.d.ts +0 -50
  87. package/dist/emails/email/components/Skeleton/index.d.ts +0 -1
@@ -19,24 +19,11 @@ type TableProps = {
19
19
  text?: string;
20
20
  };
21
21
  headlesss?: boolean;
22
- /**
23
- * Estado de carregamento da tabela. O desenho depende de JA existir dado:
24
- *
25
- * - **sem linhas** (primeira carga): linhas de skeleton na forma das
26
- * `columns`, entao a tabela nao muda de largura quando o dado chega.
27
- * - **com linhas** (refetch por filtro, busca ou acao de linha): as linhas
28
- * ficam, esmaecidas, com uma barra fina de progresso no topo. Apagar o
29
- * que o usuario esta lendo para mostrar um placeholder e' pior do que
30
- * deixar o dado velho a vista por um instante.
31
- */
32
- loading?: boolean;
33
- /** Quantas linhas de skeleton desenhar na primeira carga. Padrao 5. */
34
- loadingRows?: number;
35
22
  onRowClick?: (e: React.MouseEvent<HTMLTableRowElement, MouseEvent>, data: any) => void;
36
23
  /** Optional per-row className. Receives the row's data object and its
37
24
  * zero-based index. Useful for transient state highlights (e.g. a row
38
25
  * that just finished processing in real-time). */
39
26
  rowClassName?: (data: any, index: number) => string | undefined;
40
27
  };
41
- declare const Table: ({ id, className, height, type, columns, data, empty, headlesss, loading, loadingRows, onRowClick, rowClassName, }: TableProps) => React.JSX.Element;
28
+ declare const Table: ({ id, className, height, type, columns, data, empty, headlesss, onRowClick, rowClassName, }: TableProps) => React.JSX.Element;
42
29
  export { Table };
@@ -1,7 +1,45 @@
1
- "use client";import e,{useMemo as t}from"react";function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r,n={exports:{}};
1
+ "use client";import*as e from"react";import t,{forwardRef as r,useContext as n,useMemo as o}from"react";import a,{jsx as i,jsxs as s}from"react/jsx-runtime";function c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var u,f={exports:{}};
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
5
5
  http://jedwatson.github.io/classnames
6
- */r=n,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=n(e,a(r)))}return e}function a(a){if("string"==typeof a||"number"==typeof a)return a;if("object"!=typeof a)return"";if(Array.isArray(a))return t.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var r="";for(var i in a)e.call(a,i)&&a[i]&&(r=n(r,i));return r}function n(e,t){return t?e?e+" "+t:e+t:e}r.exports?(t.default=t,r.exports=t):window.classNames=t}();var i=a(n.exports);const l=({id:t,className:a,icon:r,text:n})=>e.createElement("div",{id:t,className:i("gyramais-empty",a)},r&&e.createElement("div",{className:"gyramais-empty-icon"},r),n&&e.createElement("div",{className:"gyramais-empty-text"},n)),s=({id:t,className:a,variant:r="text",lines:n=3,size:l=40,width:s,height:c,animated:o=!0,decorative:m=!1})=>{const d=o?"":"gyramais-skeleton-static",y=m?{"aria-hidden":!0}:{role:"status","aria-label":"Carregando"};if("text"===r)return e.createElement("div",{id:t,...y,className:i("gyramais-skeleton-lines",a)},Array.from({length:n}).map((t,a)=>e.createElement("span",{key:a,className:i("gyramais-skeleton gyramais-skeleton-line",d),style:{width:s??(n>1&&a===n-1?"60%":"100%"),height:c}})));const g="circle"===r;return e.createElement("span",{id:t,...y,className:i("gyramais-skeleton",`gyramais-skeleton-${r}`,d,a),style:{width:g?l:s??"100%",height:g?l:c??"100%"}})},c=({id:a,className:r,height:n,type:c="list",columns:o=[],data:m=[],empty:d={icon:void 0,text:"Tabela vazia"},headlesss:y=!1,loading:g=!1,loadingRows:u=5,onRowClick:h,rowClassName:p})=>{const f=g&&0===m.length,b=g&&m.length>0,v=t(()=>f?Array.from({length:u}).map((t,a)=>e.createElement("tr",{key:`skeleton-${a}`,className:"gyramais-table-skeleton-row","aria-hidden":"true"},o.map((t,r)=>e.createElement("td",{key:t.key,className:`gyramais-table-content-col gyramais-table-text-${t.align||"center"}`},e.createElement(s,{decorative:!0,variant:"block",height:12,width:`${[68,82,56,74,62][(a+r)%5]}%`}))))):null,[f,u,o]),N=t(()=>{const t=o.reduce((e,t)=>(e[t.key]=t,e),{}),a=Object.keys(t);return m.reduce((r,n,i)=>{const l=[];a.forEach(a=>{const{render:r,align:i}=t[a]||{},s=r?.(n[a],n)||n[a],c=typeof s;l.push(e.createElement("td",{key:`${a}-${JSON.stringify(n)}`,className:`gyramais-table-content-col gyramais-table-text-${i||"center"}`},["string","number","bigint"].includes(c)&&e.createElement("div",{className:"with-clamp"},s),"object"===c&&e.createElement("div",{className:"overflow-hidden"},s)))});const s=p?.(n,i);return r.push(e.createElement("tr",{key:`${i}-${JSON.stringify(n)}`,className:s,onClick:e=>h?.(e,n)},l)),r},[])},[o,m,p]);return e.createElement("div",{id:a,className:i("gyramais-table-container",`gyramais-table-${c}-container`,r),style:{maxHeight:n||"fit-content"}},b&&e.createElement("div",{className:"gyramais-table-refetching-bar","aria-hidden":"true"}),g&&e.createElement("span",{className:"gyramais-table-status",role:"status"},f?"Carregando a tabela":"Atualizando a tabela"),e.createElement("table",{className:b?"gyramais-table-refetching":void 0},e.createElement("tbody",null,v??N),!y&&e.createElement("thead",null,e.createElement("tr",null,o.map(t=>e.createElement("th",{key:t.key,className:`gyramais-table-text-${t.align||"center"}`,style:{minWidth:t.width||"auto",width:t.width||"auto",maxWidth:t.width||"auto"}},t.header))))),0===m.length&&!g&&e.createElement(l,{icon:d.icon,text:d.text}))};export{c as Table};
6
+ */u=f,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=n(e,r(o)))}return e}function r(r){if("string"==typeof r||"number"==typeof r)return r;if("object"!=typeof r)return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var o="";for(var a in r)e.call(r,a)&&r[a]&&(o=n(o,a));return o}function n(e,t){return t?e?e+" "+t:e+t:e}u.exports?(t.default=t,u.exports=t):window.classNames=t}();var p=c(f.exports),d={},m={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(m);var y=m.exports,h={};function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(null,arguments)}function b(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function v(t){if(e.isValidElement(t)||!b(t))return t;const r={};return Object.keys(t).forEach(e=>{r[e]=v(t[e])}),r}function x(t,r,n={clone:!0}){const o=n.clone?g({},t):t;return b(t)&&b(r)&&Object.keys(r).forEach(a=>{e.isValidElement(r[a])?o[a]=r[a]:b(r[a])&&Object.prototype.hasOwnProperty.call(t,a)&&b(t[a])?o[a]=x(t[a],r[a],n):n.clone?o[a]=b(r[a])?v(r[a]):r[a]:o[a]=r[a]}),o}var S,w=Object.freeze({__proto__:null,default:x,isPlainObject:b}),$={exports:{}},O={exports:{}},E={};var _,k,N,C,T,j,P,M,A,I,R,z,V,D,F={};
7
+ /** @license React v16.13.1
8
+ * react-is.development.js
9
+ *
10
+ * Copyright (c) Facebook, Inc. and its affiliates.
11
+ *
12
+ * This source code is licensed under the MIT license found in the
13
+ * LICENSE file in the root directory of this source tree.
14
+ */function L(){return k||(k=1,"production"===process.env.NODE_ENV?O.exports=function(){if(S)return E;S=1;var e="function"==typeof Symbol&&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,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case c:case l:case n:case a:case o:case f:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case d:case i:return e;default:return p}}case r:return p}}}function x(e){return v(e)===l}return E.AsyncMode=c,E.ConcurrentMode=l,E.ContextConsumer=s,E.ContextProvider=i,E.Element=t,E.ForwardRef=u,E.Fragment=n,E.Lazy=m,E.Memo=d,E.Portal=r,E.Profiler=a,E.StrictMode=o,E.Suspense=f,E.isAsyncMode=function(e){return x(e)||v(e)===c},E.isConcurrentMode=x,E.isContextConsumer=function(e){return v(e)===s},E.isContextProvider=function(e){return v(e)===i},E.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},E.isForwardRef=function(e){return v(e)===u},E.isFragment=function(e){return v(e)===n},E.isLazy=function(e){return v(e)===m},E.isMemo=function(e){return v(e)===d},E.isPortal=function(e){return v(e)===r},E.isProfiler=function(e){return v(e)===a},E.isStrictMode=function(e){return v(e)===o},E.isSuspense=function(e){return v(e)===f},E.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===l||e===a||e===o||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===i||e.$$typeof===s||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},E.typeOf=v,E}():O.exports=(_||(_=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&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,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var y=e.type;switch(y){case c:case l:case n:case a:case o:case f:return y;default:var h=y&&y.$$typeof;switch(h){case s:case u:case m:case d:case i:return h;default:return p}}case r:return p}}}var x=c,S=l,w=s,$=i,O=t,E=u,_=n,k=m,N=d,C=r,T=a,j=o,P=f,M=!1;function A(e){return v(e)===l}F.AsyncMode=x,F.ConcurrentMode=S,F.ContextConsumer=w,F.ContextProvider=$,F.Element=O,F.ForwardRef=E,F.Fragment=_,F.Lazy=k,F.Memo=N,F.Portal=C,F.Profiler=T,F.StrictMode=j,F.Suspense=P,F.isAsyncMode=function(e){return M||(M=!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.")),A(e)||v(e)===c},F.isConcurrentMode=A,F.isContextConsumer=function(e){return v(e)===s},F.isContextProvider=function(e){return v(e)===i},F.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},F.isForwardRef=function(e){return v(e)===u},F.isFragment=function(e){return v(e)===n},F.isLazy=function(e){return v(e)===m},F.isMemo=function(e){return v(e)===d},F.isPortal=function(e){return v(e)===r},F.isProfiler=function(e){return v(e)===a},F.isStrictMode=function(e){return v(e)===o},F.isSuspense=function(e){return v(e)===f},F.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===l||e===a||e===o||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===i||e.$$typeof===s||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},F.typeOf=v}()),F)),O.exports}
15
+ /*
16
+ object-assign
17
+ (c) Sindre Sorhus
18
+ @license MIT
19
+ */function W(){if(C)return N;C=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return N=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,o){for(var a,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))t.call(a,l)&&(s[l]=a[l]);if(e){i=e(a);for(var u=0;u<i.length;u++)r.call(a,i[u])&&(s[i[u]]=a[i[u]])}}return s},N}function U(){if(j)return T;j=1;return T="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function B(){return M?P:(M=1,P=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var G=L();$.exports=function(){if(z)return R;z=1;var e=L(),t=W(),r=U(),n=B(),o=function(){if(I)return A;I=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=U(),r={},n=B();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,a,i,s,c){if("production"!==process.env.NODE_ENV)for(var l in o)if(n(o,l)){var u;try{if("function"!=typeof o[l]){var f=Error((s||"React class")+": "+i+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=o[l](a,l,s,i,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+i+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in r)){r[u.message]=!0;var p=c?c():"";e("Failed "+i+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},A=o}(),a=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),R=function(s,c){var l="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",f={array:y("array"),bigint:y("bigint"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:m(i),arrayOf:function(e){return m(function(t,n,o,a,i){if("function"!=typeof e)return new d("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new d("Invalid "+a+" `"+i+"` of type `"+b(s)+"` supplied to `"+o+"`, expected an array.");for(var c=0;c<s.length;c++){var l=e(s,c,o,a,i+"["+c+"]",r);if(l instanceof Error)return l}return null})},element:m(function(e,t,r,n,o){var a=e[t];return s(a)?null:new d("Invalid "+n+" `"+o+"` of type `"+b(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:m(function(t,r,n,o,a){var i=t[r];return e.isValidElementType(i)?null:new d("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return m(function(t,r,n,o,a){if(!(t[r]instanceof e)){var i=e.name||u;return new d("Invalid "+o+" `"+a+"` of type `"+((s=t[r]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+n+"`, expected instance of `"+i+"`.")}var s;return null})},node:m(function(e,t,r,n,o){return g(e[t])?null:new d("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")}),objectOf:function(e){return m(function(t,o,a,i,s){if("function"!=typeof e)return new d("Property `"+s+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var c=t[o],l=b(c);if("object"!==l)return new d("Invalid "+i+" `"+s+"` of type `"+l+"` supplied to `"+a+"`, expected an object.");for(var u in c)if(n(c,u)){var f=e(c,u,a,i,s+"."+u,r);if(f instanceof Error)return f}return null})},oneOf:function(e){return Array.isArray(e)?m(function(t,r,n,o,a){for(var i=t[r],s=0;s<e.length;s++)if(p(i,e[s]))return null;var c=JSON.stringify(e,function(e,t){return"symbol"===v(t)?String(t):t});return new d("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+n+"`, expected one of "+c+".")}):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),i}return m(function(t,o,a,i,s){for(var c=[],l=0;l<e.length;l++){var u=(0,e[l])(t,o,a,i,s,r);if(null==u)return null;u.data&&n(u.data,"expectedType")&&c.push(u.data.expectedType)}return new d("Invalid "+i+" `"+s+"` supplied to `"+a+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")})},shape:function(e){return m(function(t,n,o,a,i){var s=t[n],c=b(s);if("object"!==c)return new d("Invalid "+a+" `"+i+"` of type `"+c+"` supplied to `"+o+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return h(o,a,i,l,v(u));var f=u(s,l,o,a,i+"."+l,r);if(f)return f}return null})},exact:function(e){return m(function(o,a,i,s,c){var l=o[a],u=b(l);if("object"!==u)return new d("Invalid "+s+" `"+c+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var f=t({},o[a],e);for(var p in f){var m=e[p];if(n(e,p)&&"function"!=typeof m)return h(i,s,c,p,v(m));if(!m)return new d("Invalid "+s+" `"+c+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=m(l,p,i,s,c+"."+p,r);if(y)return y}return null})}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function o(o,i,s,l,f,p,m){if(l=l||u,p=p||s,m!==r){if(c){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=l+":"+s;!t[h]&&n<3&&(a("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+l+"`. 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."),t[h]=!0,n++)}}return null==i[s]?o?null===i[s]?new d("The "+f+" `"+p+"` is marked as required in `"+l+"`, but its value is `null`."):new d("The "+f+" `"+p+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(i,s,l,f,p)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function y(e){return m(function(t,r,n,o,a,i){var s=t[r];return b(s)!==e?new d("Invalid "+o+" `"+a+"` of type `"+v(s)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null})}function h(e,t,r,n,o){return new d((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||s(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!g(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,f.checkPropTypes=o,f.resetWarningCache=o.resetWarningCache,f.PropTypes=f,f},R}()(G.isElement,!0)}else $.exports=function(){if(D)return V;D=1;var e=U();function t(){}function r(){}return r.resetWarningCache=t,V=function(){function n(t,r,n,o,a,i){if(i!==e){var s=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 s.name="Invariant Violation",s}}function o(){return n}n.isRequired=n;var a={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 a.PropTypes=a,a}}()();var H=c($.exports);function K(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var q,Y=Object.freeze({__proto__:null,default:K}),X={exports:{}},J={};var Z,Q={};
20
+ /**
21
+ * @license React
22
+ * react-is.development.js
23
+ *
24
+ * Copyright (c) Meta Platforms, Inc. and 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
+ */"production"===process.env.NODE_ENV?X.exports=function(){if(q)return J;q=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),d=Symbol.for("react.client.reference");function m(d){if("object"==typeof d&&null!==d){var m=d.$$typeof;switch(m){case e:switch(d=d.type){case r:case o:case n:case c:case l:case p:return d;default:switch(d=d&&d.$$typeof){case i:case s:case f:case u:case a:return d;default:return m}}case t:return m}}}return J.ContextConsumer=a,J.ContextProvider=i,J.Element=e,J.ForwardRef=s,J.Fragment=r,J.Lazy=f,J.Memo=u,J.Portal=t,J.Profiler=o,J.StrictMode=n,J.Suspense=c,J.SuspenseList=l,J.isContextConsumer=function(e){return m(e)===a},J.isContextProvider=function(e){return m(e)===i},J.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},J.isForwardRef=function(e){return m(e)===s},J.isFragment=function(e){return m(e)===r},J.isLazy=function(e){return m(e)===f},J.isMemo=function(e){return m(e)===u},J.isPortal=function(e){return m(e)===t},J.isProfiler=function(e){return m(e)===o},J.isStrictMode=function(e){return m(e)===n},J.isSuspense=function(e){return m(e)===c},J.isSuspenseList=function(e){return m(e)===l},J.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===n||e===c||e===l||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===u||e.$$typeof===i||e.$$typeof===a||e.$$typeof===s||e.$$typeof===d||void 0!==e.getModuleId)},J.typeOf=m,J}():X.exports=(Z||(Z=1,"production"!==process.env.NODE_ENV&&function(){function e(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case n:case a:case o:case l:case u:case d:return e;default:switch(e=e&&e.$$typeof){case s:case c:case p:case f:case i:return e;default:return m}}case r:return m}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");Q.ContextConsumer=i,Q.ContextProvider=s,Q.Element=t,Q.ForwardRef=c,Q.Fragment=n,Q.Lazy=p,Q.Memo=f,Q.Portal=r,Q.Profiler=a,Q.StrictMode=o,Q.Suspense=l,Q.SuspenseList=u,Q.isContextConsumer=function(t){return e(t)===i},Q.isContextProvider=function(t){return e(t)===s},Q.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Q.isForwardRef=function(t){return e(t)===c},Q.isFragment=function(t){return e(t)===n},Q.isLazy=function(t){return e(t)===p},Q.isMemo=function(t){return e(t)===f},Q.isPortal=function(t){return e(t)===r},Q.isProfiler=function(t){return e(t)===a},Q.isStrictMode=function(t){return e(t)===o},Q.isSuspense=function(t){return e(t)===l},Q.isSuspenseList=function(t){return e(t)===u},Q.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===a||e===o||e===l||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===s||e.$$typeof===i||e.$$typeof===c||e.$$typeof===m||void 0!==e.getModuleId)},Q.typeOf=e}()),Q);var ee=X.exports;const te=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function re(e){const t=`${e}`.match(te);return t&&t[1]||""}function ne(e,t=""){return e.displayName||e.name||re(e)||t}function oe(e,t,r){const n=ne(t);return e.displayName||(""!==n?`${r}(${n})`:r)}var ae=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return ne(e,"Component");if("object"==typeof e)switch(e.$$typeof){case ee.ForwardRef:return oe(e,e.render,"ForwardRef");case ee.Memo:return oe(e,e.type,"memo");default:return}}},getFunctionName:re});function ie(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":K(7));return e.charAt(0).toUpperCase()+e.slice(1)}var se=Object.freeze({__proto__:null,default:ie});function ce(e){return e&&e.ownerDocument||document}function le(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const ue="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;let fe=0;const pe=e["useId".toString()];class de{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new de}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}let me=!0,ye=!1;const he=new de,ge={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function be(e){e.metaKey||e.altKey||e.ctrlKey||(me=!0)}function ve(){me=!1}function xe(){"hidden"===this.visibilityState&&ye&&(me=!0)}function Se(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return me||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!ge[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function we(e,t){const r=g({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=g({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},a&&Object.keys(a)?o&&Object.keys(o)?(r[n]=g({},a),Object.keys(o).forEach(e=>{r[n][e]=we(o[e],a[e])})):r[n]=a:r[n]=o}else void 0===r[n]&&(r[n]=e[n])}),r}const $e=e=>e,Oe=(()=>{let e=$e;return{configure(t){e=t},generate:t=>e(t),reset(){e=$e}}})(),Ee={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 _e(e,t,r="Mui"){const n=Ee[t];return n?`${r}-${n}`:`${Oe.generate(e)}-${t}`}var ke=Object.freeze({__proto__:null,default:function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}});function Ne(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function Ce(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Ce(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Te(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Ce(e))&&(n&&(n+=" "),n+=t);return n}const je=e.createContext(void 0);function Pe({props:t,name:r}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?we(o.defaultProps,n):o.styleOverrides||o.variants?n:we(o,n)}({props:t,name:r,theme:{components:e.useContext(je)}})}"production"!==process.env.NODE_ENV&&(H.node,H.object),"production"!==process.env.NODE_ENV&&(H.node,H.object.isRequired);var Me,Ae={},Ie={exports:{}};var Re,ze={exports:{}};var Ve=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),De="-ms-",Fe="-moz-",Le="-webkit-",We="comm",Ue="rule",Be="decl",Ge="@keyframes",He=Math.abs,Ke=String.fromCharCode,qe=Object.assign;function Ye(e){return e.trim()}function Xe(e,t,r){return e.replace(t,r)}function Je(e,t){return e.indexOf(t)}function Ze(e,t){return 0|e.charCodeAt(t)}function Qe(e,t,r){return e.slice(t,r)}function et(e){return e.length}function tt(e){return e.length}function rt(e,t){return t.push(e),e}var nt=1,ot=1,at=0,it=0,st=0,ct="";function lt(e,t,r,n,o,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:nt,column:ot,length:i,return:""}}function ut(e,t){return qe(lt("",null,null,"",null,null,0),e,{length:-e.length},t)}function ft(){return st=it>0?Ze(ct,--it):0,ot--,10===st&&(ot=1,nt--),st}function pt(){return st=it<at?Ze(ct,it++):0,ot++,10===st&&(ot=1,nt++),st}function dt(){return Ze(ct,it)}function mt(){return it}function yt(e,t){return Qe(ct,e,t)}function ht(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function gt(e){return nt=ot=1,at=et(ct=e),it=0,[]}function bt(e){return ct="",e}function vt(e){return Ye(yt(it-1,wt(91===e?e+2:40===e?e+1:e)))}function xt(e){for(;(st=dt())&&st<33;)pt();return ht(e)>2||ht(st)>3?"":" "}function St(e,t){for(;--t&&pt()&&!(st<48||st>102||st>57&&st<65||st>70&&st<97););return yt(e,mt()+(t<6&&32==dt()&&32==pt()))}function wt(e){for(;pt();)switch(st){case e:return it;case 34:case 39:34!==e&&39!==e&&wt(st);break;case 40:41===e&&wt(e);break;case 92:pt()}return it}function $t(e,t){for(;pt()&&e+st!==57&&(e+st!==84||47!==dt()););return"/*"+yt(t,it-1)+"*"+Ke(47===e?e:pt())}function Ot(e){for(;!ht(dt());)pt();return yt(e,it)}function Et(e){return bt(_t("",null,null,null,[""],e=gt(e),0,[0],e))}function _t(e,t,r,n,o,a,i,s,c){for(var l=0,u=0,f=i,p=0,d=0,m=0,y=1,h=1,g=1,b=0,v="",x=o,S=a,w=n,$=v;h;)switch(m=b,b=pt()){case 40:if(108!=m&&58==Ze($,f-1)){-1!=Je($+=Xe(vt(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:$+=vt(b);break;case 9:case 10:case 13:case 32:$+=xt(m);break;case 92:$+=St(mt()-1,7);continue;case 47:switch(dt()){case 42:case 47:rt(Nt($t(pt(),mt()),t,r),c);break;default:$+="/"}break;case 123*y:s[l++]=et($)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==g&&($=Xe($,/\f/g,"")),d>0&&et($)-f&&rt(d>32?Ct($+";",n,r,f-1):Ct(Xe($," ","")+";",n,r,f-2),c);break;case 59:$+=";";default:if(rt(w=kt($,t,r,l,u,o,s,v,x=[],S=[],f),a),123===b)if(0===u)_t($,t,w,w,x,a,f,s,S);else switch(99===p&&110===Ze($,3)?100:p){case 100:case 108:case 109:case 115:_t(e,w,w,n&&rt(kt(e,w,w,0,0,o,s,v,o,x=[],f),S),o,S,f,s,n?x:S);break;default:_t($,w,w,w,[""],S,0,s,S)}}l=u=d=0,y=g=1,v=$="",f=i;break;case 58:f=1+et($),d=m;default:if(y<1)if(123==b)--y;else if(125==b&&0==y++&&125==ft())continue;switch($+=Ke(b),b*y){case 38:g=u>0?1:($+="\f",-1);break;case 44:s[l++]=(et($)-1)*g,g=1;break;case 64:45===dt()&&($+=vt(pt())),p=dt(),u=f=et(v=$+=Ot(mt())),b++;break;case 45:45===m&&2==et($)&&(y=0)}}return a}function kt(e,t,r,n,o,a,i,s,c,l,u){for(var f=o-1,p=0===o?a:[""],d=tt(p),m=0,y=0,h=0;m<n;++m)for(var g=0,b=Qe(e,f+1,f=He(y=i[m])),v=e;g<d;++g)(v=Ye(y>0?p[g]+" "+b:Xe(b,/&\f/g,p[g])))&&(c[h++]=v);return lt(e,t,r,0===o?Ue:s,c,l,u)}function Nt(e,t,r){return lt(e,t,r,We,Ke(st),Qe(e,2,-2),0)}function Ct(e,t,r,n){return lt(e,t,r,Be,Qe(e,0,n),Qe(e,n+1,-1),n)}function Tt(e,t){for(var r="",n=tt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function jt(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Be:return e.return=e.return||e.value;case We:return"";case Ge:return e.return=e.value+"{"+Tt(e.children,n)+"}";case Ue:e.value=e.props.join(",")}return et(r=Tt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Pt(e){var t=tt(e);return function(r,n,o,a){for(var i="",s=0;s<t;s++)i+=e[s](r,n,o,a)||"";return i}}function Mt(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var At="undefined"!=typeof document,It=function(e,t,r){for(var n=0,o=0;n=o,o=dt(),38===n&&12===o&&(t[r]=1),!ht(o);)pt();return yt(e,it)},Rt=function(e,t){return bt(function(e,t){var r=-1,n=44;do{switch(ht(n)){case 0:38===n&&12===dt()&&(t[r]=1),e[r]+=It(it-1,t,r);break;case 2:e[r]+=vt(n);break;case 4:if(44===n){e[++r]=58===dt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ke(n)}}while(n=pt());return e}(gt(e),t))},zt=new WeakMap,Vt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||zt.get(r))&&!n){zt.set(e,!0);for(var o=[],a=Rt(t,o),i=r.props,s=0,c=0;s<a.length;s++)for(var l=0;l<i.length;l++,c++)e.props[c]=o[s]?a[s].replace(/&\f/g,i[l]):i[l]+" "+a[s]}}},Dt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ft(e,t){switch(function(e,t){return 45^Ze(e,0)?(((t<<2^Ze(e,0))<<2^Ze(e,1))<<2^Ze(e,2))<<2^Ze(e,3):0}(e,t)){case 5103:return Le+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Le+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Le+e+Fe+e+De+e+e;case 6828:case 4268:return Le+e+De+e+e;case 6165:return Le+e+De+"flex-"+e+e;case 5187:return Le+e+Xe(e,/(\w+).+(:[^]+)/,Le+"box-$1$2"+De+"flex-$1$2")+e;case 5443:return Le+e+De+"flex-item-"+Xe(e,/flex-|-self/,"")+e;case 4675:return Le+e+De+"flex-line-pack"+Xe(e,/align-content|flex-|-self/,"")+e;case 5548:return Le+e+De+Xe(e,"shrink","negative")+e;case 5292:return Le+e+De+Xe(e,"basis","preferred-size")+e;case 6060:return Le+"box-"+Xe(e,"-grow","")+Le+e+De+Xe(e,"grow","positive")+e;case 4554:return Le+Xe(e,/([^-])(transform)/g,"$1"+Le+"$2")+e;case 6187:return Xe(Xe(Xe(e,/(zoom-|grab)/,Le+"$1"),/(image-set)/,Le+"$1"),e,"")+e;case 5495:case 3959:return Xe(e,/(image-set\([^]*)/,Le+"$1$`$1");case 4968:return Xe(Xe(e,/(.+:)(flex-)?(.*)/,Le+"box-pack:$3"+De+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Le+e+e;case 4095:case 3583:case 4068:case 2532:return Xe(e,/(.+)-inline(.+)/,Le+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(et(e)-1-t>6)switch(Ze(e,t+1)){case 109:if(45!==Ze(e,t+4))break;case 102:return Xe(e,/(.+:)(.+)-([^]+)/,"$1"+Le+"$2-$3$1"+Fe+(108==Ze(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Je(e,"stretch")?Ft(Xe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ze(e,t+1))break;case 6444:switch(Ze(e,et(e)-3-(~Je(e,"!important")&&10))){case 107:return Xe(e,":",":"+Le)+e;case 101:return Xe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Le+(45===Ze(e,14)?"inline-":"")+"box$3$1"+Le+"$2$3$1"+De+"$2box$3")+e}break;case 5936:switch(Ze(e,t+11)){case 114:return Le+e+De+Xe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Le+e+De+Xe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Le+e+De+Xe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Le+e+De+e+e}return e}var Lt,Wt,Ut,Bt=At?void 0:(Lt=function(){return Mt(function(){return{}})},Wt=new WeakMap,function(e){if(Wt.has(e))return Wt.get(e);var t=Lt(e);return Wt.set(e,t),t}),Gt=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Be:e.return=Ft(e.value,e.length);break;case Ge:return Tt([ut(e,{value:Xe(e.value,"@","@"+Le)})],n);case Ue:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Tt([ut(e,{props:[Xe(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Tt([ut(e,{props:[Xe(t,/:(plac\w+)/,":"+Le+"input-$1")]}),ut(e,{props:[Xe(t,/:(plac\w+)/,":-moz-$1")]}),ut(e,{props:[Xe(t,/:(plac\w+)/,De+"input-$1")]})],n)}return""})}}],Ht=function(e){var t=e.key;if(At&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var n,o,a=e.stylisPlugins||Gt,i={},s=[];At&&(n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)i[t[r]]=!0;s.push(e)}));var c,l=[Vt,Dt];if(Bt){var u=[jt],f=Pt(l.concat(a,u)),p=Bt(a)(t),d=function(e,t){var r=t.name;return void 0===p[r]&&(p[r]=Tt(Et(e?e+"{"+t.styles+"}":t.styles),f)),p[r]};o=function(e,t,r,n){var o=t.name,a=d(e,t);return void 0===g.compat?(n&&(g.inserted[o]=!0),a):n?void(g.inserted[o]=a):a}}else{var m,y=[jt,(c=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],h=Pt(l.concat(a,y));o=function(e,t,r,n){m=r,Tt(Et(e?e+"{"+t.styles+"}":t.styles),h),n&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new Ve({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return g.sheet.hydrate(s),g},Kt={exports:{}},qt={};var Yt,Xt={};
29
+ /** @license React v16.13.1
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
+ */"production"===process.env.NODE_ENV?Kt.exports=function(){if(Ut)return qt;Ut=1;var e="function"==typeof Symbol&&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,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case c:case l:case n:case a:case o:case f:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case d:case i:return e;default:return p}}case r:return p}}}function x(e){return v(e)===l}return qt.AsyncMode=c,qt.ConcurrentMode=l,qt.ContextConsumer=s,qt.ContextProvider=i,qt.Element=t,qt.ForwardRef=u,qt.Fragment=n,qt.Lazy=m,qt.Memo=d,qt.Portal=r,qt.Profiler=a,qt.StrictMode=o,qt.Suspense=f,qt.isAsyncMode=function(e){return x(e)||v(e)===c},qt.isConcurrentMode=x,qt.isContextConsumer=function(e){return v(e)===s},qt.isContextProvider=function(e){return v(e)===i},qt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},qt.isForwardRef=function(e){return v(e)===u},qt.isFragment=function(e){return v(e)===n},qt.isLazy=function(e){return v(e)===m},qt.isMemo=function(e){return v(e)===d},qt.isPortal=function(e){return v(e)===r},qt.isProfiler=function(e){return v(e)===a},qt.isStrictMode=function(e){return v(e)===o},qt.isSuspense=function(e){return v(e)===f},qt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===l||e===a||e===o||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===i||e.$$typeof===s||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},qt.typeOf=v,qt}():Kt.exports=(Yt||(Yt=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&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,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var y=e.type;switch(y){case c:case l:case n:case a:case o:case f:return y;default:var h=y&&y.$$typeof;switch(h){case s:case u:case m:case d:case i:return h;default:return p}}case r:return p}}}var x=c,S=l,w=s,$=i,O=t,E=u,_=n,k=m,N=d,C=r,T=a,j=o,P=f,M=!1;function A(e){return v(e)===l}Xt.AsyncMode=x,Xt.ConcurrentMode=S,Xt.ContextConsumer=w,Xt.ContextProvider=$,Xt.Element=O,Xt.ForwardRef=E,Xt.Fragment=_,Xt.Lazy=k,Xt.Memo=N,Xt.Portal=C,Xt.Profiler=T,Xt.StrictMode=j,Xt.Suspense=P,Xt.isAsyncMode=function(e){return M||(M=!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.")),A(e)||v(e)===c},Xt.isConcurrentMode=A,Xt.isContextConsumer=function(e){return v(e)===s},Xt.isContextProvider=function(e){return v(e)===i},Xt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Xt.isForwardRef=function(e){return v(e)===u},Xt.isFragment=function(e){return v(e)===n},Xt.isLazy=function(e){return v(e)===m},Xt.isMemo=function(e){return v(e)===d},Xt.isPortal=function(e){return v(e)===r},Xt.isProfiler=function(e){return v(e)===a},Xt.isStrictMode=function(e){return v(e)===o},Xt.isSuspense=function(e){return v(e)===f},Xt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===l||e===a||e===o||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===i||e.$$typeof===s||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},Xt.typeOf=v}()),Xt);var Jt=Kt.exports,Zt={};Zt[Jt.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Zt[Jt.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Qt="undefined"!=typeof document;function er(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}var tr=function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===Qt&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},rr=function(e,t,r){tr(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+n:"",a,e.sheet,!0);Qt||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!Qt&&0!==o.length)return o}};var nr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},or=/[A-Z]|^ms/g,ar=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ir=function(e){return 45===e.charCodeAt(1)},sr=function(e){return null!=e&&"boolean"!=typeof e},cr=Mt(function(e){return ir(e)?e:e.replace(or,"-$&").toLowerCase()}),lr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ar,function(e,t,r){return fr={name:t,styles:r,next:fr},t})}return 1===nr[e]||ir(e)||"number"!=typeof t||0===t?t:t+"px"};function ur(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return fr={name:o.name,styles:o.styles,next:fr},o.name;var a=r;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)fr={name:i.name,styles:i.styles,next:fr},i=i.next;return a.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=ur(e,t,r[o])+";";else for(var a in r){var i=r[a];if("object"!=typeof i){var s=i;null!=t&&void 0!==t[s]?n+=a+"{"+t[s]+"}":sr(s)&&(n+=cr(a)+":"+lr(a,s)+";")}else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var c=ur(e,t,i);switch(a){case"animation":case"animationName":n+=cr(a)+":"+c+";";break;default:n+=a+"{"+c+"}"}}else for(var l=0;l<i.length;l++)sr(i[l])&&(n+=cr(a)+":"+lr(a,i[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=fr,c=r(e);return fr=s,ur(e,t,c)}}var l=r;if(null==t)return l;var u=t[l];return void 0!==u?u:l}var fr,pr=/label:\s*([^\s;{]+)\s*(;|$)/g;function dr(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";fr=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=ur(r,t,a)):o+=a[0];for(var i=1;i<e.length;i++){if(o+=ur(r,t,e[i]),n)o+=a[i]}pr.lastIndex=0;for(var s,c="";null!==(s=pr.exec(o));)c+="-"+s[1];var l=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:fr}}var mr="undefined"!=typeof document,yr=function(e){return e()},hr=!!e.useInsertionEffect&&e.useInsertionEffect,gr=mr&&hr||yr,br=hr||e.useLayoutEffect,vr="undefined"!=typeof document,xr=e.createContext("undefined"!=typeof HTMLElement?Ht({key:"css"}):null),Sr=xr.Provider,wr=function(e){return r(function(t,r){var o=n(xr);return e(t,o,r)})};vr||(wr=function(t){return function(r){var o=n(xr);return null===o?(o=Ht({key:"css"}),e.createElement(xr.Provider,{value:o},t(r,o))):t(r,o)}});var $r,Or,Er=e.createContext({}),_r={}.hasOwnProperty,kr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Nr=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;tr(r,n,o);var a=gr(function(){return rr(r,n,o)});if(!vr&&void 0!==a){for(var i,s=n.name,c=n.next;void 0!==c;)s+=" "+c.name,c=c.next;return e.createElement("style",((i={})["data-emotion"]=r.key+" "+s,i.dangerouslySetInnerHTML={__html:a},i.nonce=r.sheet.nonce,i))}return null},Cr=wr(function(t,r,n){var o=t.css;"string"==typeof o&&void 0!==r.registered[o]&&(o=r.registered[o]);var a=t[kr],i=[o],s="";"string"==typeof t.className?s=er(r.registered,i,t.className):null!=t.className&&(s=t.className+" ");var c=dr(i,void 0,e.useContext(Er));s+=r.key+"-"+c.name;var l={};for(var u in t)_r.call(t,u)&&"css"!==u&&u!==kr&&(l[u]=t[u]);return l.className=s,n&&(l.ref=n),e.createElement(e.Fragment,null,e.createElement(Nr,{cache:r,serialized:c,isStringTag:"string"==typeof a}),e.createElement(a,l))}),Tr=Cr,jr=function(t,r){var n=arguments;if(null==r||!_r.call(r,"css"))return e.createElement.apply(void 0,n);var o=n.length,a=new Array(o);a[0]=Tr,a[1]=function(e,t){var r={};for(var n in t)_r.call(t,n)&&(r[n]=t[n]);return r[kr]=e,r}(t,r);for(var i=2;i<o;i++)a[i]=n[i];return e.createElement.apply(null,a)};$r=jr||(jr={}),Or||(Or=$r.JSX||($r.JSX={}));var Pr=wr(function(t,r){var n=dr([t.styles],void 0,e.useContext(Er));if(!vr){for(var o,a=n.name,i=n.styles,s=n.next;void 0!==s;)a+=" "+s.name,i+=s.styles,s=s.next;var c=!0===r.compat,l=r.insert("",{name:a,styles:i},r.sheet,c);return c?null:e.createElement("style",((o={})["data-emotion"]=r.key+"-global "+a,o.dangerouslySetInnerHTML={__html:l},o.nonce=r.sheet.nonce,o))}var u=e.useRef();return br(function(){var e=r.key+"-global",t=new r.sheet.constructor({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return r.sheet.tags.length&&(t.before=r.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),u.current=[t,o],function(){t.flush()}},[r]),br(function(){var e=u.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&rr(r,n.next,!0),t.tags.length){var o=t.tags[t.tags.length-1].nextElementSibling;t.before=o,t.flush()}r.insert("",n,t,!1)}},[r,n.name]),null});function Mr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return dr(t)}var Ar=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ir="undefined"!=typeof document,Rr=Mt(function(e){return Ar.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),zr=function(e){return"theme"!==e},Vr=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Rr:zr},Dr=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Fr=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;tr(r,n,o);var a=gr(function(){return rr(r,n,o)});if(!Ir&&void 0!==a){for(var i,s=n.name,c=n.next;void 0!==c;)s+=" "+c.name,c=c.next;return e.createElement("style",((i={})["data-emotion"]=r.key+" "+s,i.dangerouslySetInnerHTML={__html:a},i.nonce=r.sheet.nonce,i))}return null},Lr=function t(r,n){var o,a,i=r.__emotion_real===r,s=i&&r.__emotion_base||r;void 0!==n&&(o=n.label,a=n.target);var c=Dr(r,n,i),l=c||Vr(s),u=!l("as");return function(){var f=arguments,p=i&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==o&&p.push("label:"+o+";"),null==f[0]||void 0===f[0].raw)p.push.apply(p,f);else{var d=f[0];p.push(d[0]);for(var m=f.length,y=1;y<m;y++)p.push(f[y],d[y])}var h=wr(function(t,r,n){var o=u&&t.as||s,i="",f=[],d=t;if(null==t.theme){for(var m in d={},t)d[m]=t[m];d.theme=e.useContext(Er)}"string"==typeof t.className?i=er(r.registered,f,t.className):null!=t.className&&(i=t.className+" ");var y=dr(p.concat(f),r.registered,d);i+=r.key+"-"+y.name,void 0!==a&&(i+=" "+a);var h=u&&void 0===c?Vr(o):l,g={};for(var b in t)u&&"as"===b||h(b)&&(g[b]=t[b]);return g.className=i,n&&(g.ref=n),e.createElement(e.Fragment,null,e.createElement(Fr,{cache:r,serialized:y,isStringTag:"string"==typeof o}),e.createElement(o,g))});return h.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=r.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=p,h.__emotion_forwardProp=c,Object.defineProperty(h,"toString",{value:function(){return"."+a}}),h.withComponent=function(e,r){return t(e,g({},n,r,{shouldForwardProp:Dr(h,r,!0)})).apply(void 0,p)},h}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){Lr[e]=Lr(e)});const Wr=new Map;function Ur(t){const{injectFirst:r,enableCssLayer:n,children:o}=t,a=e.useMemo(()=>{const e=`${r}-${n}`;if("object"==typeof document&&Wr.has(e))return Wr.get(e);const t=function(e,t){const r=Ht({key:"css",prepend:e});if(t){const e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}(r,n);return Wr.set(e,t),t},[r,n]);return r||n?i(Sr,{value:a,children:o}):o}function Br(e){const{styles:t,defaultTheme:r={}}=e;return i(Pr,{styles:"function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t})}"production"!==process.env.NODE_ENV&&(Ur.propTypes={children:H.node,enableCssLayer:H.bool,injectFirst:H.bool}),"production"!==process.env.NODE_ENV&&(Br.propTypes={defaultTheme:H.object,styles:H.oneOfType([H.array,H.string,H.object,H.func])});const Gr=[];var Hr=Object.freeze({__proto__:null,GlobalStyles:Br,StyledEngineProvider:Ur,ThemeContext:Er,css:Mr,default:
37
+ /**
38
+ * @mui/styled-engine v5.18.0
39
+ *
40
+ * @license MIT
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */
44
+ function(e,t){const r=Lr(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const n="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${n})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some(e=>void 0===e)&&console.error(`MUI: the styled(${n})(...args) API requires all its args to be defined.`),r(...t)}:r},internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},internal_serializeStyles:function(e){return Gr[0]=e,dr(Gr)},keyframes:function(){var e=Mr.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}}),Kr=l(Hr),qr=l(w),Yr=l(se),Xr=l(ae);const Jr=["values","unit","step"];function Zr(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Ne(e,Jr),a=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>g({},e,{[t.key]:t.val}),{})})(t),i=Object.keys(a);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function c(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function l(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-n/100}${r})`}return g({keys:i,values:a,up:s,down:c,between:l,only:function(e){return i.indexOf(e)+1<i.length?l(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?c(i[t]):l(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const Qr={borderRadius:4},en="production"!==process.env.NODE_ENV?H.oneOfType([H.number,H.string,H.object,H.array]):{};function tn(e,t){return t?x(e,t,{clone:!1}):e}const rn={xs:0,sm:600,md:900,lg:1200,xl:1536},nn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${rn[e]}px)`};function on(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||nn;return t.reduce((n,o,a)=>(n[e.up(e.keys[a])]=r(t[a]),n),{})}if("object"==typeof t){const e=n.breakpoints||nn;return Object.keys(t).reduce((n,o)=>{if(-1!==Object.keys(e.values||rn).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n},{})}return r(t)}function an(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}function sn(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function cn(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:sn(e,r)||n,t&&(o=t(o,n,e)),o}function ln(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=sn(e.theme,n)||{};return on(e,a,e=>{let n=cn(i,o,e);return e===n&&"string"==typeof e&&(n=cn(i,o,`${t}${"default"===e?"":ie(e)}`,e)),!1===r?n:{[r]:n}})};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:en}:{},a.filterProps=[t],a}const un={m:"margin",p:"padding"},fn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},pn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},dn=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!pn[e])return[e];e=pn[e]}const[t,r]=e.split(""),n=un[t],o=fn[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),mn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],yn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],hn=[...mn,...yn];function gn(e,t,r,n){var o;const a=null!=(o=sn(e,t,!1))?o:r;return"number"==typeof a?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${e}.`),a*e):Array.isArray(a)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>a.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${e} > ${a.length-1}, you need to add the missing values.`].join("\n")):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("\n"))),a[e]):"function"==typeof a?a:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function bn(e){return gn(e,"spacing",8,"spacing")}function vn(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function xn(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce((e,n)=>(e[n]=vn(t,r),e),{})}(dn(r),n);return on(e,e[r],o)}function Sn(e,t){const r=bn(e.theme);return Object.keys(e).map(n=>xn(e,t,n,r)).reduce(tn,{})}function wn(e){return Sn(e,mn)}function $n(e){return Sn(e,yn)}function On(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?tn(r,t[n](e)):r,{});return r.propTypes="production"!==process.env.NODE_ENV?e.reduce((e,t)=>Object.assign(e,t.propTypes),{}):{},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r}function En(e){return"number"!=typeof e?e:`${e}px solid`}function _n(e,t){return ln({prop:e,themeKey:"borders",transform:t})}wn.propTypes="production"!==process.env.NODE_ENV?mn.reduce((e,t)=>(e[t]=en,e),{}):{},wn.filterProps=mn,$n.propTypes="production"!==process.env.NODE_ENV?yn.reduce((e,t)=>(e[t]=en,e),{}):{},$n.filterProps=yn,"production"===process.env.NODE_ENV||hn.reduce((e,t)=>(e[t]=en,e),{});const kn=_n("border",En),Nn=_n("borderTop",En),Cn=_n("borderRight",En),Tn=_n("borderBottom",En),jn=_n("borderLeft",En),Pn=_n("borderColor"),Mn=_n("borderTopColor"),An=_n("borderRightColor"),In=_n("borderBottomColor"),Rn=_n("borderLeftColor"),zn=_n("outline",En),Vn=_n("outlineColor"),Dn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=gn(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:vn(t,e)});return on(e,e.borderRadius,r)}return null};Dn.propTypes="production"!==process.env.NODE_ENV?{borderRadius:en}:{},Dn.filterProps=["borderRadius"],On(kn,Nn,Cn,Tn,jn,Pn,Mn,An,In,Rn,Dn,zn,Vn);const Fn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=gn(e.theme,"spacing",8,"gap"),r=e=>({gap:vn(t,e)});return on(e,e.gap,r)}return null};Fn.propTypes="production"!==process.env.NODE_ENV?{gap:en}:{},Fn.filterProps=["gap"];const Ln=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=gn(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:vn(t,e)});return on(e,e.columnGap,r)}return null};Ln.propTypes="production"!==process.env.NODE_ENV?{columnGap:en}:{},Ln.filterProps=["columnGap"];const Wn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=gn(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:vn(t,e)});return on(e,e.rowGap,r)}return null};Wn.propTypes="production"!==process.env.NODE_ENV?{rowGap:en}:{},Wn.filterProps=["rowGap"];function Un(e,t){return"grey"===t?t:e}On(Fn,Ln,Wn,ln({prop:"gridColumn"}),ln({prop:"gridRow"}),ln({prop:"gridAutoFlow"}),ln({prop:"gridAutoColumns"}),ln({prop:"gridAutoRows"}),ln({prop:"gridTemplateColumns"}),ln({prop:"gridTemplateRows"}),ln({prop:"gridTemplateAreas"}),ln({prop:"gridArea"}));function Bn(e){return e<=1&&0!==e?100*e+"%":e}On(ln({prop:"color",themeKey:"palette",transform:Un}),ln({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Un}),ln({prop:"backgroundColor",themeKey:"palette",transform:Un}));const Gn=ln({prop:"width",transform:Bn}),Hn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||rn[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Bn(t)}};return on(e,e.maxWidth,t)}return null};Hn.filterProps=["maxWidth"];const Kn=ln({prop:"minWidth",transform:Bn}),qn=ln({prop:"height",transform:Bn}),Yn=ln({prop:"maxHeight",transform:Bn}),Xn=ln({prop:"minHeight",transform:Bn});ln({prop:"size",cssProperty:"width",transform:Bn}),ln({prop:"size",cssProperty:"height",transform:Bn});On(Gn,Hn,Kn,qn,Yn,Xn,ln({prop:"boxSizing"}));const Jn={border:{themeKey:"borders",transform:En},borderTop:{themeKey:"borders",transform:En},borderRight:{themeKey:"borders",transform:En},borderBottom:{themeKey:"borders",transform:En},borderLeft:{themeKey:"borders",transform:En},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:En},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Dn},color:{themeKey:"palette",transform:Un},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Un},backgroundColor:{themeKey:"palette",transform:Un},p:{style:$n},pt:{style:$n},pr:{style:$n},pb:{style:$n},pl:{style:$n},px:{style:$n},py:{style:$n},padding:{style:$n},paddingTop:{style:$n},paddingRight:{style:$n},paddingBottom:{style:$n},paddingLeft:{style:$n},paddingX:{style:$n},paddingY:{style:$n},paddingInline:{style:$n},paddingInlineStart:{style:$n},paddingInlineEnd:{style:$n},paddingBlock:{style:$n},paddingBlockStart:{style:$n},paddingBlockEnd:{style:$n},m:{style:wn},mt:{style:wn},mr:{style:wn},mb:{style:wn},ml:{style:wn},mx:{style:wn},my:{style:wn},margin:{style:wn},marginTop:{style:wn},marginRight:{style:wn},marginBottom:{style:wn},marginLeft:{style:wn},marginX:{style:wn},marginY:{style:wn},marginInline:{style:wn},marginInlineStart:{style:wn},marginInlineEnd:{style:wn},marginBlock:{style:wn},marginBlockStart:{style:wn},marginBlockEnd:{style:wn},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:Fn},rowGap:{style:Wn},columnGap:{style:Ln},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Bn},maxWidth:{style:Hn},minWidth:{transform:Bn},height:{transform:Bn},maxHeight:{transform:Bn},minHeight:{transform:Bn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Zn(){function e(e,t,r,n){const o={[e]:t,theme:r},a=n[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:s,transform:c,style:l}=a;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=sn(r,s)||{};if(l)return l(o);return on(o,t,t=>{let r=cn(u,c,t);return t===r&&"string"==typeof t&&(r=cn(u,c,`${e}${"default"===t?"":ie(t)}`,t)),!1===i?r:{[i]:r}})}return function t(r){var n;const{sx:o,theme:a={},nested:i}=r||{};if(!o)return null;const s=null!=(n=a.unstable_sxConfig)?n:Jn;function c(r){let n=r;if("function"==typeof r)n=r(a);else if("object"!=typeof r)return r;if(!n)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}(a.breakpoints),c=Object.keys(o);let l=o;return Object.keys(n).forEach(r=>{const o=(i=n[r],c=a,"function"==typeof i?i(c):i);var i,c;if(null!=o)if("object"==typeof o)if(s[r])l=tn(l,e(r,o,a,s));else{const e=on({theme:a},o,e=>({[r]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)}(e,o)?l=tn(l,e):l[r]=t({sx:o,theme:a,nested:!0})}else l=tn(l,e(r,o,a,s))}),!i&&a.modularCssLayers?{"@layer sx":an(c,l)}:an(c,l)}return Array.isArray(o)?o.map(c):c(o)}}const Qn=Zn();function eo(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}Qn.filterProps=["sx"];const to=["breakpoints","palette","spacing","shape"];function ro(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={}}=e,i=Ne(e,to),s=Zr(r),c=function(e=8){if(e.mui)return e;const t=bn({spacing:e}),r=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map(e=>{const r=t(e);return"number"==typeof r?`${r}px`:r}).join(" "));return r.mui=!0,r}(o);let l=x({breakpoints:s,direction:"ltr",components:{},palette:g({mode:"light"},n),spacing:c,shape:g({},Qr,a)},i);return l.applyStyles=eo,l=t.reduce((e,t)=>x(e,t),l),l.unstable_sxConfig=g({},Jn,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return Qn({sx:e,theme:this})},l}var no=l(Object.freeze({__proto__:null,default:ro,private_createBreakpoints:Zr,unstable_applyStyles:eo}));const oo=["sx"];var ao=l(Object.freeze({__proto__:null,default:Qn,extendSxProp:function(e){const{sx:t}=e,r=Ne(e,oo),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:Jn;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n})(r);let a;return a=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return b(r)?g({},n,r):n}:g({},n,t),g({},o,{sx:a})},unstable_createStyleFunctionSx:Zn,unstable_defaultSxConfig:Jn})),io=y;Object.defineProperty(Ae,"__esModule",{value:!0});var so=Ae.default=function(e={}){const{themeId:t,defaultTheme:r=$o,rootShouldForwardProp:n=So,slotShouldForwardProp:o=So}=e,a=e=>(0,ho.default)((0,co.default)({},e,{theme:Eo((0,co.default)({},e,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{(0,uo.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:s,slot:c,skipVariantsResolver:l,skipSx:u,overridesResolver:f=_o(Oo(c))}=i,p=(0,lo.default)(i,vo),d=s&&s.startsWith("Mui")||c?"components":"custom",m=void 0!==l?l:c&&"Root"!==c&&"root"!==c||!1,y=u||!1;let h;"production"!==process.env.NODE_ENV&&s&&(h=`${s}-${Oo(c||"Root")}`);let g=So;"Root"===c||"root"===c?g=n:c?g=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const b=(0,uo.default)(e,(0,co.default)({shouldForwardProp:g,label:h},p)),v=e=>"function"==typeof e&&e.__emotion_real!==e||(0,fo.isPlainObject)(e)?n=>{const o=Eo({theme:n.theme,defaultTheme:r,themeId:t});return ko(e,(0,co.default)({},n,{theme:o}),o.modularCssLayers?d:void 0)}:e,x=(n,...o)=>{let i=v(n);const l=o?o.map(v):[];s&&f&&l.push(e=>{const n=Eo((0,co.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,a={};return Object.entries(o).forEach(([t,r])=>{a[t]=ko(r,(0,co.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),f(e,a)}),s&&!m&&l.push(e=>{var n;const o=Eo((0,co.default)({},e,{defaultTheme:r,themeId:t}));return ko({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,co.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),y||l.push(a);const u=l.length-o.length;if(Array.isArray(n)&&u>0){const e=new Array(u).fill("");i=[...n,...e],i.raw=[...n.raw,...e]}const p=b(i,...l);if("production"!==process.env.NODE_ENV){let t;s&&(t=`${s}${(0,po.default)(c||"")}`),void 0===t&&(t=`Styled(${(0,mo.default)(e)})`),p.displayName=t}return e.muiName&&(p.muiName=e.muiName),p};return b.withConfig&&(x.withConfig=b.withConfig),x}};Ae.shouldForwardProp=So,Ae.systemDefaultTheme=void 0;var co=io((Me||(Me=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ie)),Ie.exports)),lo=io((Re||(Re=1,function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}(ze)),ze.exports)),uo=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=xo(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(Kr),fo=qr,po=io(Yr),mo=io(Xr),yo=io(no),ho=io(ao);const go=["ownerState"],bo=["variants"],vo=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function xo(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(xo=function(e){return e?r:t})(e)}function So(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function wo(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const $o=Ae.systemDefaultTheme=(0,yo.default)(),Oo=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Eo({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function _o(e){return e?(t,r)=>r[e]:null}function ko(e,t,r){let{ownerState:n}=t,o=(0,lo.default)(t,go);const a="function"==typeof e?e((0,co.default)({ownerState:n},o)):e;if(Array.isArray(a))return a.flatMap(e=>ko(e,(0,co.default)({ownerState:n},o),r));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,lo.default)(a,bo);return e.forEach(e=>{let a=!0;if("function"==typeof e.props?a=e.props((0,co.default)({ownerState:n},o,n)):Object.keys(e.props).forEach(t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(a=!1)}),a){Array.isArray(t)||(t=[t]);const a="function"==typeof e.style?e.style((0,co.default)({ownerState:n},o,n)):e.style;t.push(r?wo((0,uo.internal_serializeStyles)(a),r):a)}}),t}return r?wo((0,uo.internal_serializeStyles)(a),r):a}var No={},Co=l(Y),To=l(ke),jo=y;Object.defineProperty(No,"__esModule",{value:!0}),No.alpha=Bo,No.blend=function(e,t,r,n=1){const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),a=Do(e),i=Do(t),s=[o(a.values[0],i.values[0]),o(a.values[1],i.values[1]),o(a.values[2],i.values[2])];return Lo({type:"rgb",values:s})},No.colorChannel=void 0;var Po=No.darken=Go;No.decomposeColor=Do,No.emphasize=Ko;var Mo=No.getContrastRatio=function(e,t){const r=Uo(e),n=Uo(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};No.getLuminance=Uo,No.hexToRgb=Vo,No.hslToRgb=Wo;var Ao=No.lighten=Ho;No.private_safeAlpha=function(e,t,r){try{return Bo(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},No.private_safeColorChannel=void 0,No.private_safeDarken=function(e,t,r){try{return Go(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},No.private_safeEmphasize=function(e,t,r){try{return Ko(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},No.private_safeLighten=function(e,t,r){try{return Ho(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},No.recomposeColor=Lo,No.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=Do(e);return`#${t.map((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e)).join("")}`};var Io=jo(Co),Ro=jo(To);function zo(e,t=0,r=1){return"production"!==process.env.NODE_ENV&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,Ro.default)(e,t,r)}function Vo(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}function Do(e){if(e.type)return e;if("#"===e.charAt(0))return Do(Vo(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Io.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Io.default)(10,n))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:r,values:o,colorSpace:n}}const Fo=e=>{const t=Do(e);return t.values.slice(0,3).map((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e).join(" ")};No.colorChannel=Fo;function Lo(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Wo(e){e=Do(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const c=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),Lo({type:s,values:c})}function Uo(e){let t="hsl"===(e=Do(e)).type||"hsla"===e.type?Do(Wo(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Bo(e,t){return e=Do(e),t=zo(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Lo(e)}function Go(e,t){if(e=Do(e),t=zo(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Lo(e)}function Ho(e,t){if(e=Do(e),t=zo(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Lo(e)}function Ko(e,t=.15){return Uo(e)>.5?Go(e,t):Ho(e,t)}No.private_safeColorChannel=(e,t)=>{try{return Fo(e)}catch(r){return t&&"production"!==process.env.NODE_ENV&&console.warn(t),e}};const qo={black:"#000",white:"#fff"},Yo={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"},Xo="#f3e5f5",Jo="#ce93d8",Zo="#ba68c8",Qo="#ab47bc",ea="#9c27b0",ta="#7b1fa2",ra="#e57373",na="#ef5350",oa="#f44336",aa="#d32f2f",ia="#c62828",sa="#ffb74d",ca="#ffa726",la="#ff9800",ua="#f57c00",fa="#e65100",pa="#e3f2fd",da="#90caf9",ma="#42a5f5",ya="#1976d2",ha="#1565c0",ga="#4fc3f7",ba="#29b6f6",va="#03a9f4",xa="#0288d1",Sa="#01579b",wa="#81c784",$a="#66bb6a",Oa="#4caf50",Ea="#388e3c",_a="#2e7d32",ka="#1b5e20",Na=["mode","contrastThreshold","tonalOffset"],Ca={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:qo.white,default:qo.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}},Ta={text:{primary:qo.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:qo.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 ja(e,t,r,n){const o=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=Ao(e.main,o):"dark"===t&&(e.dark=Po(e.main,a)))}function Pa(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Ne(e,Na),a=e.primary||function(e="light"){return"dark"===e?{main:da,light:pa,dark:ma}:{main:ya,light:ma,dark:ha}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:Jo,light:Xo,dark:Qo}:{main:ea,light:Zo,dark:ta}}(t),s=e.error||function(e="light"){return"dark"===e?{main:oa,light:ra,dark:aa}:{main:aa,light:na,dark:ia}}(t),c=e.info||function(e="light"){return"dark"===e?{main:ba,light:ga,dark:xa}:{main:xa,light:va,dark:Sa}}(t),l=e.success||function(e="light"){return"dark"===e?{main:$a,light:wa,dark:Ea}:{main:_a,light:Oa,dark:ka}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:ca,light:sa,dark:ua}:{main:"#ed6c02",light:la,dark:fa}}(t);function f(e){const t=Mo(e,Ta.text.primary)>=r?Ta.text.primary:Ca.text.primary;if("production"!==process.env.NODE_ENV){const r=Mo(e,t);r<3&&console.error([`MUI: The contrast ratio of ${r}:1 for ${t} on ${e}`,"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("\n"))}return t}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=g({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${r}\` property.`:K(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:K(12,t?` (${t})`:"",JSON.stringify(e.main)));return ja(e,"light",o,n),ja(e,"dark",a,n),e.contrastText||(e.contrastText=f(e.main)),e},d={dark:Ta,light:Ca};"production"!==process.env.NODE_ENV&&(d[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return x(g({common:g({},qo),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:c,name:"info"}),success:p({color:l,name:"success"}),grey:Yo,contrastThreshold:r,getContrastText:f,augmentColor:p,tonalOffset:n},d[t]),o)}const Ma=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Aa={textTransform:"uppercase"},Ia='"Roboto", "Helvetica", "Arial", sans-serif';function Ra(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=Ia,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:u,pxToRem:f}=r,p=Ne(r,Ma);"production"!==process.env.NODE_ENV&&("number"!=typeof o&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof l&&console.error("MUI: `htmlFontSize` is required to be a number."));const d=o/14,m=f||(e=>e/l*d+"rem"),y=(e,t,r,o,a)=>{return g({fontFamily:n,fontWeight:e,fontSize:m(t),lineHeight:r},n===Ia?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5)+"em"}:{},a,u);var i},h={h1:y(a,96,1.167,-1.5),h2:y(a,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(s,14,1.75,.4,Aa),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,Aa),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return x(g({htmlFontSize:l,pxToRem:m,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:c},h),p,{clone:!1})}function za(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Va=["none",za(0,2,1,-1,0,1,1,0,0,1,3,0),za(0,3,1,-2,0,2,2,0,0,1,5,0),za(0,3,3,-2,0,3,4,0,0,1,8,0),za(0,2,4,-1,0,4,5,0,0,1,10,0),za(0,3,5,-1,0,5,8,0,0,1,14,0),za(0,3,5,-1,0,6,10,0,0,1,18,0),za(0,4,5,-2,0,7,10,1,0,2,16,1),za(0,5,5,-3,0,8,10,1,0,3,14,2),za(0,5,6,-3,0,9,12,1,0,3,16,2),za(0,6,6,-3,0,10,14,1,0,4,18,3),za(0,6,7,-4,0,11,15,1,0,4,20,3),za(0,7,8,-4,0,12,17,2,0,5,22,4),za(0,7,8,-4,0,13,19,2,0,5,24,4),za(0,7,9,-4,0,14,21,2,0,5,26,4),za(0,8,9,-5,0,15,22,2,0,6,28,5),za(0,8,10,-5,0,16,24,2,0,6,30,5),za(0,8,11,-5,0,17,26,2,0,6,32,5),za(0,9,11,-5,0,18,28,2,0,7,34,6),za(0,9,12,-6,0,19,29,2,0,7,36,6),za(0,10,13,-6,0,20,31,3,0,8,38,7),za(0,10,13,-6,0,21,33,3,0,8,40,7),za(0,10,14,-6,0,22,35,3,0,8,42,7),za(0,11,14,-7,0,23,36,3,0,9,44,8),za(0,11,15,-7,0,24,38,3,0,9,46,8)],Da=["duration","easing","delay"],Fa={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)"},La={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Wa(e){return`${Math.round(e)}ms`}function Ua(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Ba(e){const t=g({},Fa,e.easing),r=g({},La,e.duration);return g({getAutoHeightDuration:Ua,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:a=t.easeInOut,delay:i=0}=n,s=Ne(n,Da);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,r=e=>!isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),r(o)||t(o)||console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(a)||console.error('MUI: Argument "easing" must be a string.'),r(i)||t(i)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof n&&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("\n")),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:Wa(o)} ${a} ${"string"==typeof i?i:Wa(i)}`).join(",")}},e,{easing:t,duration:r})}const Ga={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ha=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Ka=function(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,i=Ne(e,Ha);if(e.vars&&void 0===e.generateCssVars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":K(18));const s=Pa(n),c=ro(e);let l=x(c,{mixins:(u=c.breakpoints,f=r,g({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},f)),palette:s,shadows:Va.slice(),typography:Ra(s,a),transitions:Ba(o),zIndex:g({},Ga)});var u,f;if(l=x(l,i),l=t.reduce((e,t)=>x(e,t),l),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,r)=>{let n;for(n in t){const o=t[n];if(-1!==e.indexOf(n)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=_e("",n);console.error([`MUI: The \`${r}\` component increases the CSS specificity of the \`${n}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[n]={}}}};Object.keys(l.components).forEach(e=>{const r=l.components[e].styleOverrides;r&&0===e.indexOf("Mui")&&t(r,e)})}return l.unstable_sxConfig=g({},Jn,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return Qn({sx:e,theme:this})},l}();const qa=so({themeId:"$$material",defaultTheme:Ka,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e});function Ya(e){return _e("MuiSvgIcon",e)}!function(e,t,r="Mui"){const n={};t.forEach(t=>{n[t]=_e(e,t,r)})}("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Xa=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Ja=e=>{const{color:t,fontSize:r,classes:n}=e;return function(e,t,r){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}({root:["root","inherit"!==t&&`color${ie(t)}`,`fontSize${ie(r)}`]},Ya,n)},Za=qa("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${ie(r.color)}`],t[`fontSize${ie(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,a,i,s,c,l,u,f,p,d,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(i=a.pxToRem)?void 0:i.call(a,20))||"1.25rem",medium:(null==(s=e.typography)||null==(c=s.pxToRem)?void 0:c.call(s,24))||"1.5rem",large:(null==(l=e.typography)||null==(u=l.pxToRem)?void 0:u.call(l,35))||"2.1875rem"}[t.fontSize],color:null!=(f=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?f:{action:null==(d=(e.vars||e).palette)||null==(d=d.action)?void 0:d.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[t.color]}}),Qa=e.forwardRef(function(t,r){const n=Pe({props:t,name:"MuiSvgIcon"});const{children:o,className:a,color:c="inherit",component:l="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:p=!1,titleAccess:d,viewBox:m="0 0 24 24"}=n,y=Ne(n,Xa),h=e.isValidElement(o)&&"svg"===o.type,b=g({},n,{color:c,component:l,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:h}),v={};p||(v.viewBox=m);const x=Ja(b);return s(Za,g({as:l,className:Te(x.root,a),focusable:"false",color:f,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:r},v,y,h&&o.props,{ownerState:b,children:[h?o.props.children:o,d?i("title",{children:d}):null]}))});"production"!==process.env.NODE_ENV&&(Qa.propTypes={children:H.node,classes:H.object,className:H.string,color:H.oneOfType([H.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),H.string]),component:H.elementType,fontSize:H.oneOfType([H.oneOf(["inherit","large","medium","small"]),H.string]),htmlColor:H.string,inheritViewBox:H.bool,shapeRendering:H.string,sx:H.oneOfType([H.arrayOf(H.oneOfType([H.func,H.object,H.bool])),H.func,H.object]),titleAccess:H.string,viewBox:H.string}),Qa.muiName="SvgIcon";const ei={configure:e=>{"production"!==process.env.NODE_ENV&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),Oe.configure(e)}};var ti,ri=Object.freeze({__proto__:null,capitalize:ie,createChainedFunction:function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})},createSvgIcon:function(t,r){function n(e,n){return i(Qa,g({"data-testid":`${r}Icon`,ref:n},e,{children:t}))}return"production"!==process.env.NODE_ENV&&(n.displayName=`${r}Icon`),n.muiName=Qa.muiName,e.memo(e.forwardRef(n))},debounce:function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(r)},n},deprecatedPropType:function(e,t){return"production"===process.env.NODE_ENV?()=>null:(e,r,n,o,a)=>{const i=n||"<<anonymous>>",s=a||r;return void 0!==e[r]?new Error(`The ${o} \`${s}\` of \`${i}\` is deprecated. ${t}`):null}},isMuiElement:function(t,r){var n,o;return e.isValidElement(t)&&-1!==r.indexOf(null!=(n=t.type.muiName)?n:null==(o=t.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)},ownerDocument:ce,ownerWindow:function(e){return ce(e).defaultView||window},requirePropFactory:function(e,t){if("production"===process.env.NODE_ENV)return()=>null;const r=t?g({},t.propTypes):null;return t=>(n,o,a,i,s,...c)=>{const l=s||o,u=null==r?void 0:r[l];if(u){const e=u(n,o,a,i,s,...c);if(e)return e}return void 0===n[o]||n[t]?null:new Error(`The prop \`${l}\` of \`${e}\` can only be used together with the \`${t}\` prop.`)}},setRef:le,unstable_ClassNameGenerator:ei,unstable_useEnhancedEffect:ue,unstable_useId:function(t){if(void 0!==pe){const e=pe();return null!=t?t:e}return function(t){const[r,n]=e.useState(t),o=t||r;return e.useEffect(()=>{null==r&&(fe+=1,n(`mui-${fe}`))},[r]),o}(t)},unsupportedProp:function(e,t,r,n,o){if("production"===process.env.NODE_ENV)return null;const a=o||t;return void 0!==e[t]?new Error(`The prop \`${a}\` is not supported. Please remove it.`):null},useControlled:function({controlled:t,default:r,name:n,state:o="value"}){const{current:a}=e.useRef(void 0!==t),[i,s]=e.useState(r),c=a?t:i;if("production"!==process.env.NODE_ENV){e.useEffect(()=>{a!==(void 0!==t)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${o} state of ${n} to be ${a?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))},[o,n,t]);const{current:i}=e.useRef(r);e.useEffect(()=>{a||Object.is(i,r)||console.error([`MUI: A component is changing the default ${o} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join("\n"))},[JSON.stringify(r)])}return[c,e.useCallback(e=>{a||s(e)},[])]},useEventCallback:function(t){const r=e.useRef(t);return ue(()=>{r.current=t}),e.useRef((...e)=>(0,r.current)(...e)).current},useForkRef:function(...t){return e.useMemo(()=>t.every(e=>null==e)?null:e=>{t.forEach(t=>{le(t,e)})},t)},useIsFocusVisible:function(){const t=e.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",be,!0),t.addEventListener("mousedown",ve,!0),t.addEventListener("pointerdown",ve,!0),t.addEventListener("touchstart",ve,!0),t.addEventListener("visibilitychange",xe,!0))},[]),r=e.useRef(!1);return{isFocusVisibleRef:r,onFocus:function(e){return!!Se(e)&&(r.current=!0,!0)},onBlur:function(){return!!r.current&&(ye=!0,he.start(100,()=>{ye=!1}),r.current=!1,!0)},ref:t}}}),ni=l(ri);var oi=y;Object.defineProperty(d,"__esModule",{value:!0});var ai=d.default=void 0,ii=oi((ti||(ti=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=ni}(h)),h)),si=a;ai=d.default=(0,ii.default)((0,si.jsx)("path",{d:"M17.6 10.81 16.19 9.4l3.56-3.55 1.41 1.41c-.11.03-3.56 3.55-3.56 3.55M13 3h-2v5h2zm-6.6 7.81L7.81 9.4 4.26 5.84 2.84 7.26c.11.03 3.56 3.55 3.56 3.55M20 14h-3.42c-.77 1.76-2.54 3-4.58 3s-3.81-1.24-4.58-3H4v5h16zm0-2c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2v-5c0-1.1.9-2 2-2h5c0 1.66 1.34 3 3 3s3-1.34 3-3z"}),"UpcomingOutlined");const ci=({id:e,className:r,icon:n,text:o})=>t.createElement("div",{id:e,className:p("gyramais-empty",r)},t.createElement("div",{className:"gyramais-empty-icon"},n||t.createElement(ai,null)),o&&t.createElement("div",{className:"gyramais-empty-text"},o)),li=({id:e,className:r,height:n,type:a="list",columns:i=[],data:s=[],empty:c={icon:void 0,text:"Tabela vazia"},headlesss:l=!1,onRowClick:u,rowClassName:f})=>{const d=o(()=>{const e=i.reduce((e,t)=>(e[t.key]=t,e),{}),r=Object.keys(e);return s.reduce((n,o,a)=>{const i=[];r.forEach(r=>{const{render:n,align:a}=e[r]||{},s=n?.(o[r],o)||o[r],c=typeof s;i.push(t.createElement("td",{key:`${r}-${JSON.stringify(o)}`,className:`gyramais-table-content-col gyramais-table-text-${a||"center"}`},["string","number","bigint"].includes(c)&&t.createElement("div",{className:"with-clamp"},s),"object"===c&&t.createElement("div",{className:"overflow-hidden"},s)))});const s=f?.(o,a);return n.push(t.createElement("tr",{key:`${a}-${JSON.stringify(o)}`,className:s,onClick:e=>u?.(e,o)},i)),n},[])},[i,s,f]);return t.createElement("div",{id:e,className:p("gyramais-table-container",`gyramais-table-${a}-container`,r),style:{maxHeight:n||"fit-content"}},t.createElement("table",null,t.createElement("tbody",null,d),!l&&t.createElement("thead",null,t.createElement("tr",null,i.map(e=>t.createElement("th",{key:e.key,className:`gyramais-table-text-${e.align||"center"}`,style:{minWidth:e.width||"auto",width:e.width||"auto",maxWidth:e.width||"auto"}},e.header))))),0===s.length&&t.createElement(ci,{icon:c.icon,text:c.text}))};export{li as Table};
7
45
  //# sourceMappingURL=index.js.map