@groupeactual/ui-kit 0.4.37 → 0.4.38-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/{DesignSystemProvider.d.ts → types/DesignSystemProvider.d.ts} +1 -1
  4. package/dist/cjs/{components → types/components}/Accordion/Accordion.d.ts +5 -2
  5. package/dist/cjs/types/components/BannerNotification/BannerNotification.d.ts +11 -0
  6. package/dist/cjs/types/components/BannerNotification/index.d.ts +1 -0
  7. package/dist/{esm → cjs/types}/components/Button/Button.d.ts +5 -2
  8. package/dist/cjs/{components → types/components}/Chip/Chip.d.ts +4 -1
  9. package/dist/cjs/{components → types/components}/EmbbededNotification/EmbeddedNotification.d.ts +5 -2
  10. package/dist/{esm → cjs/types}/components/Form/Checkbox/Checkbox.d.ts +5 -1
  11. package/dist/cjs/types/components/Form/MultiSelect/MultiSelect.d.ts +19 -0
  12. package/dist/cjs/types/components/Form/Radio/Radio.d.ts +15 -0
  13. package/dist/cjs/types/components/Form/Radio/index.d.ts +1 -0
  14. package/dist/cjs/types/components/Form/Select/Select.d.ts +18 -0
  15. package/dist/cjs/{components → types/components}/Form/TextField/TextField.d.ts +5 -2
  16. package/dist/{esm → cjs/types}/components/Icon/Icon.d.ts +4 -1
  17. package/dist/cjs/{components → types/components}/Link/Link.d.ts +5 -2
  18. package/dist/{esm → cjs/types}/components/Pagination/Pagination.d.ts +5 -2
  19. package/dist/cjs/types/components/Snackbar/Snackbar.d.ts +11 -0
  20. package/dist/cjs/types/components/Snackbar/index.d.ts +1 -0
  21. package/dist/{esm → cjs/types}/components/Text/Text.d.ts +5 -2
  22. package/dist/cjs/{components → types/components}/Tooltip/Tooltip.d.ts +5 -2
  23. package/dist/cjs/{components → types/components}/index.d.ts +3 -0
  24. package/dist/esm/index.d.ts +229 -2
  25. package/dist/esm/index.js +1 -1
  26. package/dist/esm/index.js.map +1 -1
  27. package/dist/esm/{DesignSystemProvider.d.ts → types/DesignSystemProvider.d.ts} +1 -1
  28. package/dist/esm/{components → types/components}/Accordion/Accordion.d.ts +5 -2
  29. package/dist/esm/types/components/BannerNotification/BannerNotification.d.ts +11 -0
  30. package/dist/esm/types/components/BannerNotification/index.d.ts +1 -0
  31. package/dist/{cjs → esm/types}/components/Button/Button.d.ts +5 -2
  32. package/dist/esm/{components → types/components}/Chip/Chip.d.ts +4 -1
  33. package/dist/esm/{components → types/components}/EmbbededNotification/EmbeddedNotification.d.ts +5 -2
  34. package/dist/{cjs → esm/types}/components/Form/Checkbox/Checkbox.d.ts +5 -1
  35. package/dist/esm/types/components/Form/MultiSelect/MultiSelect.d.ts +19 -0
  36. package/dist/esm/types/components/Form/Radio/Radio.d.ts +15 -0
  37. package/dist/esm/types/components/Form/Radio/index.d.ts +1 -0
  38. package/dist/esm/types/components/Form/Select/Select.d.ts +18 -0
  39. package/dist/esm/{components → types/components}/Form/TextField/TextField.d.ts +5 -2
  40. package/dist/{cjs → esm/types}/components/Icon/Icon.d.ts +4 -1
  41. package/dist/esm/{components → types/components}/Link/Link.d.ts +5 -2
  42. package/dist/{cjs → esm/types}/components/Pagination/Pagination.d.ts +5 -2
  43. package/dist/esm/types/components/Snackbar/Snackbar.d.ts +11 -0
  44. package/dist/esm/types/components/Snackbar/index.d.ts +1 -0
  45. package/dist/{cjs → esm/types}/components/Text/Text.d.ts +5 -2
  46. package/dist/esm/{components → types/components}/Tooltip/Tooltip.d.ts +5 -2
  47. package/dist/esm/{components → types/components}/index.d.ts +3 -0
  48. package/dist/esm/types/index.d.ts +2 -0
  49. package/package.json +41 -28
  50. package/src/components/Accordion/Accordion.tsx +12 -3
  51. package/src/components/BannerNotification/BannerNotification.tsx +27 -0
  52. package/src/components/BannerNotification/index.ts +1 -0
  53. package/src/components/Button/Button.tsx +2 -0
  54. package/src/components/Chip/Chip.tsx +7 -2
  55. package/src/components/EmbbededNotification/EmbeddedNotification.tsx +2 -0
  56. package/src/components/Form/Checkbox/Checkbox.tsx +26 -16
  57. package/src/components/Form/MultiSelect/MultiSelect.tsx +27 -19
  58. package/src/components/Form/Radio/Radio.tsx +70 -0
  59. package/src/components/Form/Radio/index.ts +1 -0
  60. package/src/components/Form/Select/Select.tsx +39 -20
  61. package/src/components/Form/TextField/TextField.tsx +35 -3
  62. package/src/components/Icon/Icon.tsx +7 -2
  63. package/src/components/Link/Link.tsx +2 -0
  64. package/src/components/Pagination/Pagination.tsx +3 -0
  65. package/src/components/Snackbar/Snackbar.tsx +41 -0
  66. package/src/components/Snackbar/index.ts +1 -0
  67. package/src/components/Text/Text.tsx +2 -0
  68. package/src/components/Tooltip/Tooltip.tsx +2 -0
  69. package/src/components/index.ts +3 -0
  70. package/dist/cjs/components/Form/MultiSelect/MultiSelect.d.ts +0 -14
  71. package/dist/cjs/components/Form/Select/Select.d.ts +0 -14
  72. package/dist/esm/components/Form/MultiSelect/MultiSelect.d.ts +0 -14
  73. package/dist/esm/components/Form/Select/Select.d.ts +0 -14
  74. package/dist/index.d.ts +0 -154
  75. /package/dist/cjs/{components → types/components}/Accordion/index.d.ts +0 -0
  76. /package/dist/cjs/{components → types/components}/Button/index.d.ts +0 -0
  77. /package/dist/cjs/{components → types/components}/Chip/index.d.ts +0 -0
  78. /package/dist/cjs/{components → types/components}/EmbbededNotification/index.d.ts +0 -0
  79. /package/dist/cjs/{components → types/components}/Form/Checkbox/index.d.ts +0 -0
  80. /package/dist/cjs/{components → types/components}/Form/MultiSelect/index.d.ts +0 -0
  81. /package/dist/cjs/{components → types/components}/Form/Select/index.d.ts +0 -0
  82. /package/dist/cjs/{components → types/components}/Form/TextField/index.d.ts +0 -0
  83. /package/dist/cjs/{components → types/components}/Icon/index.d.ts +0 -0
  84. /package/dist/cjs/{components → types/components}/Link/index.d.ts +0 -0
  85. /package/dist/cjs/{components → types/components}/Pagination/index.d.ts +0 -0
  86. /package/dist/cjs/{components → types/components}/Text/index.d.ts +0 -0
  87. /package/dist/cjs/{components → types/components}/Tooltip/index.d.ts +0 -0
  88. /package/dist/cjs/{index.d.ts → types/index.d.ts} +0 -0
  89. /package/dist/esm/{components → types/components}/Accordion/index.d.ts +0 -0
  90. /package/dist/esm/{components → types/components}/Button/index.d.ts +0 -0
  91. /package/dist/esm/{components → types/components}/Chip/index.d.ts +0 -0
  92. /package/dist/esm/{components → types/components}/EmbbededNotification/index.d.ts +0 -0
  93. /package/dist/esm/{components → types/components}/Form/Checkbox/index.d.ts +0 -0
  94. /package/dist/esm/{components → types/components}/Form/MultiSelect/index.d.ts +0 -0
  95. /package/dist/esm/{components → types/components}/Form/Select/index.d.ts +0 -0
  96. /package/dist/esm/{components → types/components}/Form/TextField/index.d.ts +0 -0
  97. /package/dist/esm/{components → types/components}/Icon/index.d.ts +0 -0
  98. /package/dist/esm/{components → types/components}/Link/index.d.ts +0 -0
  99. /package/dist/esm/{components → types/components}/Pagination/index.d.ts +0 -0
  100. /package/dist/esm/{components → types/components}/Text/index.d.ts +0 -0
  101. /package/dist/esm/{components → types/components}/Tooltip/index.d.ts +0 -0
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("@mui/material"),o=require("@mui/material/TextField"),a=require("@mui/material/Box"),r=require("@mui/material/FormControl"),n=require("@mui/material/Select"),i=require("@fortawesome/pro-solid-svg-icons"),l=require("@mui/material/SvgIcon"),c=require("@mui/system"),p=require("@mui/material/Checkbox"),u=require("@mui/material/FormControlLabel"),d=require("@mui/material/Typography"),s=require("@mui/system/Box"),f=require("@mui/material/Accordion"),g=require("@mui/material/AccordionSummary"),h=require("@mui/material/AccordionDetails");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=x(e),b=x(o),C=x(a),S=x(r),D=x(n),y=x(l),v=x(p),E=x(u),k=x(d),M=x(s),L=x(f),z=x(g),T=x(h),W=function(){return W=Object.assign||function(e){for(var t,o=1,a=arguments.length;o<a;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},W.apply(this,arguments)};function I(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(o[a[r]]=e[a[r]])}return o}var B=function(e){return m.default.createElement(t.Typography,W({color:"greyXDark"},e))},H={xs:8,sm:12,md:16,lg:24,xl:32,xxl:40,xxxl:72},N=e.forwardRef((function(e,t){var o=e.icon,a=e.fontSize,r=o.icon,n=r[0],i=r[1],l=r[4];return m.default.createElement(y.default,{ref:t,viewBox:"0 0 ".concat(n," ").concat(i),sx:{fontSize:null!=a?a:"14px"}},"string"==typeof l?m.default.createElement("path",{d:l}):l.map((function(e,t){return m.default.createElement("path",{style:{opacity:0===t?.4:1},d:e,key:t})})))})),F=function(e){var t,o,a=e.variant,r=void 0===a?"none":a,n=e.icon,i=e.color,l=void 0===i?"#136cac":i,p=e.size,u=void 0===p?16:p,d=I(e,["variant","icon","color","size"]),s="square"===r?16:u in H?H[u]:u>=0?u:16;return m.default.createElement(C.default,W({component:"span",sx:(t=c.useTheme(),o=t.palette[l]?t.palette[l]:l&&0!==(null==l?void 0:l.length)?l:"#136cac","square"===r?{color:o,backgroundColor:"".concat(o,"14"),borderRadius:"4px",borderColor:"1px solid "+o,overflow:"visible",padding:"10px",width:"35px",height:"35px",display:"flex",justifyContent:"center",alignItems:"center"}:{color:o,width:s,height:u,display:"inline-flex",alignItems:"center",justifyContent:"center"})},d),m.default.createElement(N,{icon:n,fontSize:s}))},O=function(o){var a,r,n=o.label,i=o.prefixIcon,l=o.suffixIcon,p=o.suffixTooltip,u=o.suffixAction,d=o.tooltip,s=o.maxWidth,f=void 0===s?300:s,g=o.maxLength,h=void 0===g?17:g,x=I(o,["label","prefixIcon","suffixIcon","suffixTooltip","suffixAction","tooltip","maxWidth","maxLength"]),b=c.useTheme(),C=e.useState(n),S=C[0],D=C[1],y=e.useState(!1),v=y[0],E=y[1],k=e.useState(!1),M=k[0],L=k[1],z=e.useRef(null),T=x.color&&b.palette[x.color]?"object"==typeof b.palette[x.color]?b.palette[x.color].main:b.palette[x.color]:null!==(a=x.color)&&void 0!==a?a:"white";return T="filled"===x.variant?"".concat(T,"14"):"white",e.useEffect((function(){var e,t,o,a;(null===(e=null==z?void 0:z.current)||void 0===e?void 0:e.offsetWidth)&&(null===(t=null==z?void 0:z.current)||void 0===t?void 0:t.offsetWidth)>f&&"".concat(n.substring(0,h),"...")!==S?D("".concat(n.substring(0,h),"...")):(null===(o=null==z?void 0:z.current)||void 0===o?void 0:o.offsetWidth)&&(null===(a=null==z?void 0:z.current)||void 0===a?void 0:a.offsetWidth)<=f&&n==="".concat(n.substring(0,h),"...")&&D(n)}),[null===(r=null==z?void 0:z.current)||void 0===r?void 0:r.offsetWidth]),m.default.createElement(t.Tooltip,{title:d,placement:"right-start",open:v},m.default.createElement(t.Box,{maxWidth:"fit-content",onMouseEnter:function(){return E(!0)},onMouseLeave:function(){return E(!1)}},m.default.createElement(t.Tooltip,{title:p,open:M,placement:"bottom-end",sx:{cursor:u?"pointer !important":"default"}},m.default.createElement(t.Chip,W({className:"DSChip",label:S,ref:z,size:"small",sx:{backgroundColor:T,"&.MuiChip-colorSecondary:hover":l&&u&&{backgroundColor:"#004f88 !important"},"&.MuiChip-deleteIconColorPrimary:hover":l&&u&&{backgroundColor:"#004f88 !important"}},avatar:i?m.default.createElement(F,{icon:i,size:"sm"}):m.default.createElement(m.default.Fragment,null),deleteIcon:l?m.default.createElement(F,{icon:l,onMouseEnter:function(){p&&(L(!0),E(!1))},onMouseLeave:function(){p&&(L(!1),E(!0))},size:"sm"}):m.default.createElement(m.default.Fragment,null),onDelete:null!=u?u:function(){return null}},x)))))},w=function(){return w=Object.assign||function(e){for(var t,o=1,a=arguments.length;o<a;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},w.apply(this,arguments)},P=Object.freeze({__proto__:null,DefaultWebShadowAllContent:{color:"#2727271f",type:"dropShadow",x:"0",y:"2",blur:"10",spread:"0"},DefaultSpacingXxs:"4",DefaultSpacingXs:"8",DefaultSpacingMd:"16",DefaultSpacingLg:"24",DefaultSpacingXl:"32",DefaultSpacingXxl:"40",DefaultSpacingXxxl:"72",DefaultBorderRadius4:"4",DefaultBorderRadius8:"8",DefaultBorderRadius16:"16",DefaultBorderRadius24:"24",DefaultSizingXs:"8",DefaultSizingSm:"12",DefaultSizingMd:"16",DefaultSizingLg:"24",DefaultSizingXl:"32",DefaultSizingXxl:"40",DefaultSizingXxxl:"72",DefaultFontFamiliesRoboto:"Roboto",DefaultLineHeights12:"12",DefaultLineHeights16:"16",DefaultLineHeights18:"18",DefaultLineHeights21:"21",DefaultLineHeights28:"28",DefaultLineHeights34:"34",DefaultLineHeights41:"41",DefaultLineHeights49:"49",DefaultFontWeightsRoboto700:"Bold",DefaultFontWeightsRoboto500:"Medium",DefaultFontWeightsRoboto400:"Regular",DefaultFontSize11:"11",DefaultFontSize13:"13",DefaultFontSize14:"14",DefaultFontSize16:"16",DefaultFontSize18:"18",DefaultFontSize24:"24",DefaultFontSize29:"29",DefaultFontSize35:"35",DefaultFontSize42:"42",DefaultLetterSpacingNone:"none",DefaultParagraphSpacing0:"0",DefaultParagraphSpacing8:"8",DefaultTextCaseNone:"none",DefaultTextDecorationNone:"none",DefaultTextDecorationUnderline:"underline",DefaultDefaultColorsRedActual:"#e40521",DefaultDefaultColorsBlueClickable:"#136cac",DefaultDefaultColorsBlueHoverClickable:"#004f88",DefaultDefaultColorsGreyMediumInactive:"#808080",DefaultDefaultColorsTextColorsGreyXDark:"#272727",DefaultDefaultColorsTextColorsGreyDark:"#545352",DefaultDefaultColorsBackgroundColorsWhite:"#ffffff",DefaultDefaultColorsBackgroundColorsGreyXLight:"#f0f0f0",DefaultDefaultColorsBackgroundColorsGreyXDarkBgModal:"#27272780",DefaultDefaultColorsBackgroundColorsBlueHoverEquivalence:"#e8f1f7",DefaultDefaultColorsBackgroundColorsBlueHoverOpacity12:"#136cac1f",DefaultDefaultColorsBorderColorsGreyLightDefaultBorder:"#cbcbcb",DefaultDefaultColorsNotificationColorsBlueInfo:"#1d91c3",DefaultDefaultColorsNotificationColorsGreenSuccess:"#23956d",DefaultDefaultColorsNotificationColorsOrangeWarning:"#e46221",DefaultDefaultColorsNotificationColorsRedError:"#b80025",DefaultDefaultColorsSecondaryColorsBlueDark:"#0d2c54",DefaultDefaultColorsSecondaryColorsBlueMedium:"#3d5a80",DefaultDefaultColorsSecondaryColorsBlueLight:"#7fdcea",DefaultDefaultColorsSecondaryColorsGreenDark:"#125e42",DefaultDefaultColorsSecondaryColorsGreenMedium:"#1f8461",DefaultDefaultColorsSecondaryColorsGreen:"#5dca8b",DefaultDefaultColorsSecondaryColorsGreenLight:"#bad07a",DefaultDefaultColorsSecondaryColorsBrown:"#6f2902",DefaultDefaultColorsSecondaryColorsBrownLight:"#b65700",DefaultDefaultColorsSecondaryColorsOrangeLight:"#f59b00",DefaultDefaultColorsSecondaryColorsYellow:"#f9d25e",DefaultDefaultColorsSecondaryColorsPurpleDark:"#530d48",DefaultDefaultColorsSecondaryColorsPurple:"#831443",DefaultDefaultColorsSecondaryColorsPink:"#ca1e5c",DefaultDefaultColorsSecondaryColorsPinkLight:"#fd6972",EpAppShadowAllContent:{color:"#dedada66",type:"dropShadow",x:"0",y:"4",blur:"15",spread:"0"},EpAppShadowButtomMenu:{color:"#dedada66",type:"dropShadow",x:"0",y:"-4",blur:"15",spread:"0"},EpBorderRadius4:"4",EpBorderRadius8:"8",EpBorderRadius16:"16",EpBorderRadius24:"24",EpSpacingXxs:"4",EpSpacingXs:"8",EpSpacingMd:"16",EpSpacingLg:"24",EpSpacingXl:"32",EpSpacingXxl:"40",EpSpacingXxxl:"72",EpColorsRed:"#e11c31",EpColorsRedHover:"#b61425",EpColorsGreenBlue:"#159f9f",EpColorsGreenBlueHover:"#128888",EpColorsGreyMediumInactive:"#808080",EpColorsBlack:"#161616",EpColorsGreyDark:"#676767",EpColorsWhite:"#ffffff",EpColorsRedLight:"#fff7f5",EpColorsGreenLight:"#f2f8f8",EpColorsGreyDarkBgModal:"#67676780",EpColorsGreyLightBorder:"#cbcbcb",EpColorsBlueInfo:"#1d91c3",EpColorsGreenSucces:"#23956d",EpColorsOrangeWarning:"#e46221",EpColorsRedError:"#b80025",EpColorsGrey:"#acc1cc",EpColorsRedPastel:"#feefeb",EpColorsGreenPastel:"#e4f1f1",EpColorsGreyPastel:"#eaf2f6",EpSizingXs:"8",EpSizingSm:"12",EpSizingMd:"16",EpSizingLg:"24",EpSizingXl:"32",EpSizingXxl:"40",EpSizingXxxl:"72",EpFontFamiliesManrope:"Manrope",EpFontFamiliesOpenSans:"Open Sans",EpLineHeights14:"14",EpLineHeights16:"16",EpLineHeights20:"20",EpLineHeights24:"24",EpLineHeights26:"26",EpLineHeights34:"34",EpFontWeightsManrope700:"Bold",EpFontWeightsManrope500:"Medium",EpFontWeightsOpenSans400:"Regular",EpFontWeightsOpenSans600:"SemiBold",EpFontWeightsOpenSans700:"Bold",EpFontSize10:"10",EpFontSize12:"12",EpFontSize14:"14",EpFontSize16:"16",EpFontSize18:"18",EpFontSize24:"24",EpLetterSpacingNone:"none",EpParagraphSpacing0:"0",EpParagraphSpacing8:"8",EpTextCaseNone:"none",EpTextDecorationNone:"none",EpTextDecorationUnderline:"underline"}),R=function(e){var t={};Object.keys(P).forEach((function(o){if(o.startsWith(e)&&o.indexOf("Colors")){var a=o.substring(o.lastIndexOf("Colors")+"Colors".length);a=a.charAt(0).toLowerCase()+a.slice(1),t[a]=P[o]}}));var o={primary:{main:t.blueClickable,dark:t.blueHoverClickable},secondary:{main:t.redActual},success:{main:t.greenSuccess},error:{main:t.redError},warning:{main:t.orangeWarning}};return w(w({},t),o)},X=function(e){var t=P,o=[];return Object.keys(P).forEach((function(a){a.startsWith(e+"FontFamilies")&&o.push(t[a])})),o},G=function(e){return{MuiButton:{styleOverrides:{"@font-face":{fontFamily:"Roboto"},root:{borderRadius:"4px",padding:"7.5px 16px",fontWeight:e.typography.fontWeightBold,lineHeight:"18px",textTransform:"unset",fontSize:"14px",height:"44px",border:"1px solid"},primary:{color:e.palette.white+" !important",backgroundColor:e.palette.blueClickable+" !important",border:"1px solid !important",borderColor:e.palette.blueClickable+" !important","&.Mui-disabled":{backgroundColor:e.palette.greyMediumInactive+" !important",borderColor:e.palette.greyMediumInactive+" !important",color:e.palette.white+" !important"},"&:hover":{backgroundColor:e.palette.blueHoverClickable+" !important",borderColor:e.palette.blueHoverClickable+" !important"}},secondary:{color:e.palette.blueClickable,backgroundColor:e.palette.white,border:"1px solid",borderColor:e.palette.greyLightDefaultborder,"&.Mui-disabled":{backgroundColor:e.palette.white,borderColor:e.palette.greyLightDefaultborder+" !important",color:e.palette.greyMediumInactive+" !important"},"&:hover":{borderColor:e.palette.blueHoverClickable+" !important",backgroundColor:e.palette.white+" !important",color:e.palette.blueHoverClickable+" !important"}}}}}},j=function(e){return{MuiPaginationItem:{styleOverrides:{root:{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",fontWeight:"700 !important",outline:"none !important",fontSize:"14px !important",borderColor:e.palette.greyMediumInactive+" !important","&:hover":{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&.Mui-selected":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderRadius:"4px !important",outline:"none !important","&:hover":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&:focus":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"}},"&.Mui-disabled":{color:e.palette.greyMediumInactive+" !important",backgroundColor:"white !important",borderRadius:"4px !important",outline:"none !important"}}}}}},q=function(e){return{MuiFormControl:{styleOverrides:{root:{"&.DsSelect":{".clear":{visibility:"hidden",alignSelf:"center",position:"relative",top:"3px"},"&:hover":{".clear":{visibility:"visible"}},"& .MuiSelect-select .notranslate::after":{fontWeight:400,lineHeight:"18px",fontSize:"14px",color:"#545352 !important"},"&#select-mui":{"&.Mui-filled":{".MuiInputLabel-root":{lineHeight:"16px !important",fontWeight:"500 !important",fontSize:"16px !important",marginTop:"2px !important"},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 31px 12px 14px !important","&.Mui-disabled":{color:e.palette.greyDark}}},".MuiInputLabel-root":{fontSize:"14px",lineHeight:"18px",height:"16px",fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:"0px !important",color:"".concat(e.palette.blueClickable," !important"),transform:"translate(14px, -7px) scale(0.75)"}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 31px 10px 14px !important","&.Mui-disabled":{color:e.palette.greyDark}}},".SelectIcon":{color:e.palette.blueClickable,marginRight:"12px",marginTop:"0px",pointerEvents:"none",position:"absolute",right:"0px"},".SelectIcon.Mui-disabled":{color:e.palette.greyDark+" !important"},".MuiInputBase-root.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultborder,WebkitTextFillColor:e.palette.greyDark},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",marginLeft:"8px",marginRight:"8px",marginTop:"5px",lineHeight:"12px","&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 31px 12px 14px !important","&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},"&#select-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-error":{color:e.palette.redError+" !important"},"&.Mui-disabled":{color:e.palette.greyDark+" !important"},"&.Mui-focused":{lineHeight:"16px",color:e.palette.blueClickable,fontWeight:500,fontSize:"16px",marginTop:0}}},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess+" !important"},".MuiInputBase-root":{".SelectIcon":{color:e.palette.blueClickable+" !important"},"&.Mui-error":{".SelectIcon":{color:e.palette.redError}}},".MuiInputBase-colorSuccess":{".SelectIcon":{color:e.palette.greenSuccess+" !important",marginTop:"2px"},".MuiOutlinedInput-notchedOutline":{border:"1px solid",borderColor:e.palette.greenSuccess}},".MuiChip-root":{height:"24px"}}}}}}},A=function(e){return{MuiChip:{styleOverrides:{root:{"&.DSChip":{color:e.palette.greyXDark,borderRadius:"4px",fontWeight:e.palette.fontWeightRegular,fontSize:"14px",paddingLeft:"8px",paddingRight:"8px","& .MuiChip-deleteIcon":{color:e.palette.blueClickable,cursor:"default",width:"auto",height:"auto"},"&.Mui-disabled":{color:e.palette.greyDark+" !important",backgroundColor:e.palette.greyXLight+" !important",border:"1px solid",fontWeight:e.palette.fontWeightRegular,borderColor:e.palette.greyLightDefaultBorder,opacity:1,".MuiChip-deleteIcon":{color:e.palette.greyMediumInactive+" !important"}},".MuiChip-deleteIcon":{width:"12px",height:"12px",margin:0,marginLeft:"8px",marginRight:"2px"},".MuiChip-label":{padding:0,lineHeight:"18px",paddingTop:"1px"},".MuiChip-avatar":{marginLeft:"-1px",marginRight:"5px",color:"initial"}}},filled:{"&.DSChip":{border:"none",fontWeight:"400 !important",color:e.palette.greyXDark}},outlined:{"&.DSChip":{border:"1px solid"}},sizeSmall:{"&.DSChip":{height:"24px",paddingY:"3px"}},sizeMedium:{"&.DSChip":{height:"33px",paddingY:"8px"}},colorDefault:{"&.DSChip":{backgroundColor:e.palette.greyXLight,border:"none",color:e.palette.greyXDark}},colorPrimary:{"&.DSChip":{borderColor:e.palette.greyLightDefaultBorder+" !important",backgroundColor:e.palette.white,"&:hover":{color:e.palette.blueClickableHover}}},colorSecondary:{"&.DSChip":{backgroundColor:e.palette.blueClickable+" !important",color:e.palette.white+" !important","& .MuiChip-deleteIcon":{color:e.palette.greyXLight+" !important"}}},colorSuccess:{"&.DSChip":{border:"1px solid",borderColor:e.palette.greenSuccess+" !important",color:e.palette.greenSuccess,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.greenSuccess+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}},colorWarning:{"&.DSChip":{border:"1px solid",borderColor:e.palette.orangeWarning+" !important",color:e.palette.orangeWarning,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.orangeWarning+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}},colorInfo:{"&.DSChip":{border:"1px solid",borderColor:e.palette.blueInfo+" !important",color:e.palette.blueInfo,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.blueInfo+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}},colorError:{"&.DSChip":{border:"1px solid",borderColor:e.palette.redError+" !important",color:e.palette.redError,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.redError+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}}}}}},_=e.createContext({isDarkTheme:!1,themeName:"Default",toggleDarkTheme:function(){}}),V=function(o){var a=o.children,r=function(t){var o=700,a=500,r=400,n=P,i={typography:{fontFamily:X(t).join(","),bigNumber:{fontWeight:o,lineHeight:n["".concat(t,"LineHeights49")]+"px",fontSize:n["".concat(t,"FontSize42")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing0")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},header1:{fontWeight:o,lineHeight:n["".concat(t,"LineHeights41")]+"px",fontSize:n["".concat(t,"FontSize35")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing0")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},header2:{fontWeight:a,lineHeight:n["".concat(t,"LineHeights34")]+"px",fontSize:n["".concat(t,"FontSize29")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing0")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},header3:{fontWeight:r,lineHeight:n["".concat(t,"LineHeights28")]+"px",fontSize:n["".concat(t,"FontSize24")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing0")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},header4:{fontWeight:a,lineHeight:n["".concat(t,"LineHeights21")]+"px",fontSize:n["".concat(t,"FontSize18")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing0")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},body1Regular:{fontWeight:r,lineHeight:n["".concat(t,"LineHeights18")]+"px",fontSize:n["".concat(t,"FontSize14")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing8")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},body1Medium:{fontWeight:a,lineHeight:n["".concat(t,"LineHeights18")]+"px",fontSize:n["".concat(t,"FontSize14")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing8")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},body1Bold:{fontWeight:o,lineHeight:n["".concat(t,"LineHeights18")]+"px",fontSize:n["".concat(t,"FontSize14")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing8")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},body2Regular:{fontWeight:r,lineHeight:n["".concat(t,"LineHeights16")]+"px",fontSize:n["".concat(t,"FontSize13")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing8")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},body2Medium:{fontWeight:a,lineHeight:n["".concat(t,"LineHeights16")]+"px",fontSize:n["".concat(t,"FontSize13")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing8")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},body2Bold:{fontWeight:o,lineHeight:n["".concat(t,"LineHeights16")]+"px",fontSize:n["".concat(t,"FontSize13")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing8")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},caption:{fontWeight:r,lineHeight:n["".concat(t,"LineHeights12")]+"px",fontSize:n["".concat(t,"FontSize11")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing0")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},buttonNotif:{fontWeight:o,lineHeight:n["".concat(t,"LineHeights18")]+"px",fontSize:n["".concat(t,"FontSize14")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing0")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationNone")]},link1:{fontWeight:o,lineHeight:n["".concat(t,"LineHeights18")]+"px",fontSize:n["".concat(t,"FontSize14")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing0")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationUnderline")]},link2:{fontWeight:o,lineHeight:n["".concat(t,"LineHeights16")]+"px",fontSize:n["".concat(t,"FontSize13")]+"px",letterSpacing:n["".concat(t,"LetterSpacingNone")],paragraphSpacing:n["".concat(t,"ParagraphSpacing0")]+"px",textCase:n["".concat(t,"TextCaseNone")],textDecoration:n["".concat(t,"TextDecorationUnderline")]},fontWeightRegular:r,fontWeightMedium:a,fontWeightBold:o},breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},palette:R(t)},l=function(t){return{muiCss:e.useMemo((function(){return{components:w(w(w(w(w(w(w(w({},(e=t,{MuiTextField:{styleOverrides:{root:{"&.DsTextField":{".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",marginLeft:"8px",marginRight:"8px",marginTop:"5px",lineHeight:"12px",color:e.palette.greyDark,"&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 14px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultborder,WebkitTextFillColor:e.palette.greyDark},"&#text-field-mui":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 14px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultborder,WebkitTextFillColor:e.palette.greyDark}}},".MuiOutlinedInput-notchedOutline":{fontSize:"16px"},".MuiOutlinedInput-root":{padding:"0px !important","&.Mui-error.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError},"&.Mui-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},"&.Mui-hover.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark},".MuiSvgIcon-root":{marginLeft:"-22px"}},".MuiInputLabel-root":{fontWeight:500,"&#text-field-mui-label":{fontSize:"14px",lineHeight:"18px",height:"16px",color:"".concat(e.palette.greyDark," !important"),fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:0,color:"".concat(e.palette.blueClickable," !important"),transform:"translate(14px, -7px) scale(0.75)"}},"&#text-field-ds-label":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-disabled":{color:e.palette.greyDark}}}}}}}})),G(t)),{MuiAccordionSummary:{styleOverrides:{content:{paddingLeft:"12px",fontWeight:500,fontSize:"18px",lineHeight:"21px"}}}}),j(t)),q(t)),A(t)),{DsTooltip:{styleOverrides:{root:{"& .MuiIconButton-root":{padding:0,"& .MuiBox-root":{width:0}}}}}}),{MuiCssBaseline:{styleOverrides:{body:{backgroundColor:"inherit",color:"inherit",fontWeight:400},"@font-face":{fontFamily:"Roboto"}}},MuiSvgIcon:{styleOverrides:{colorSuccess:{color:t.palette.success.main}}}})};var e}),[t])}}(i).muiCss;return{muiTokens:e.useMemo((function(){return w(w({},i),l)}),[i,l])}}(e.useContext(_).themeName).muiTokens,n=t.createTheme(r);return m.default.createElement(t.ThemeProvider,{theme:n},a)};exports.Accordion=function(t){var o=t.icon,a=t.title,r=t.summaryHeight,n=t.expanded,i=void 0!==n&&n,l=t.onClick,c=t.children,p=I(t,["icon","title","summaryHeight","expanded","onClick","children"]),u=e.useState(i),d=u[0],s=u[1];return e.useEffect((function(){i!==d&&s(i)}),[i]),m.default.createElement(L.default,W({sx:{border:"1px solid",borderColor:"greyLightDefaultBorder"},expanded:d,onClick:function(e){p.disabled||(s(!d),l&&l(e))}},p),m.default.createElement(z.default,{expandIcon:o,sx:{fontWeight:500,fontSize:18,lineHeight:21,height:r||60}},a),m.default.createElement(T.default,{sx:{backgroundColor:"greyXLight",borderTop:"1px solid",borderColor:"greyLightDefaultBorder"}},c))},exports.Button=function(e){var o=e.variant,a=e.children,r=I(e,["variant","children"]);return m.default.createElement(t.Button,W({variant:o},r),a)},exports.Checkbox=function(t){var o=t.name,a=t.value,r=t.error,n=t.label,i=t.onChange,l=I(t,["name","value","error","label","onChange"]),c=e.useState(a),p=c[0],u=c[1];return e.useEffect((function(){a!==p&&u(a)}),[a]),m.default.createElement(S.default,{fullWidth:!0},m.default.createElement(E.default,{control:m.default.createElement(M.default,null,m.default.createElement(v.default,W({name:o,sx:{marginTop:"-2px"},checked:p,color:"primary",onChange:function(e){u(e.target.checked),i&&i(o,e.target.checked,!0)}},l))),label:m.default.createElement(k.default,{component:"span",sx:{fontSize:"14px",marginLeft:"-3px",marginTop:"2px",fontWeight:400,color:r?"#B80025":"#000"}},n)}),r&&m.default.createElement(k.default,{sx:{marginTop:-.5,color:"#B80025",fontWeight:400,fontSize:"10px"}},r))},exports.Chip=O,exports.DesignSystemContext=_,exports.DesignSystemProvider=function(t){var o=t.children,a=t.name,r=void 0===a?"Default":a,n=e.useState(!1),i=n[0],l=n[1];return m.default.createElement(_.Provider,{value:{isDarkTheme:i,themeName:r,toggleDarkTheme:function(){l(!i)}}},m.default.createElement(V,null,o))},exports.EmbeddedNotification=function(e){var o=e.title,a=e.text,r=e.variant,n=void 0===r?"infos":r,l=I(e,["title","text","variant"]),c={warning:{color:"orangeWarning",icon:i.faCircleExclamation},error:{color:"redError",icon:i.faCircleXmark},success:{color:"greenSuccess",icon:i.faCircleCheck},infos:{color:"blueInfo",icon:i.faCircleInfo}};return m.default.createElement(t.Box,W({border:"1px solid",borderColor:c[n].color,mt:"4px",p:"4px",borderRadius:"5px"},l),m.default.createElement(t.Box,{display:"flex",alignItems:"center",pb:"2px"},m.default.createElement(t.Box,{sx:{pl:"12px",pr:"16px",display:"flex"}},m.default.createElement(F,{icon:c[n].icon,color:c[n].color})),m.default.createElement(t.Box,null,m.default.createElement(t.Box,null,m.default.createElement(B,{align:"left",variant:"body1Bold",color:c[n].color,display:"inline-block"},o)),a&&m.default.createElement(t.Box,null,m.default.createElement(B,{align:"left",variant:"body1Regular",color:"greyDark",display:"inline-block"},a)))))},exports.IconProvider=F,exports.Link=function(e){return m.default.createElement(t.Link,W({},e))},exports.MultiSelect=function(o){var a=o.label,r=o.options,n=o.color,l=o.error,c=o.placeholder,p=o.width,u=void 0===p?200:p,d=o.defaultValue,s=void 0===d?[]:d,f=o.getOptionLabel,g=o.helperText,h=o.onChange,x=o.onBlur,b=I(o,["label","options","color","error","placeholder","width","defaultValue","getOptionLabel","helperText","onChange","onBlur"]),y=e.useState(s),v=y[0],E=y[1],k=function(){h([]),E([])},M=function(e){e.stopPropagation()},L=e.useMemo((function(){var e=["DsSelect"];return b.disabled&&e.push("Mui-disabled"),(null==v?void 0:v.length)>0&&e.push("Mui-filled"),e}),[v,b.disabled]),z=e.useMemo((function(){var e=[];return l&&e.push("Mui-error"),b.disabled&&e.push("Mui-disabled"),e}),[l,b.disabled]);return m.default.createElement(C.default,{sx:{width:u}},m.default.createElement(S.default,{id:a===c?"select-mui":"select-ds",fullWidth:!0,color:n,className:L.join(" "),sx:{".MuiOutlinedInput-input":{marginTop:(null==v?void 0:v.length)>0?"0px":"2px"}}},m.default.createElement(t.InputLabel,{className:z.join(" ")},a),m.default.createElement(D.default,W({sx:{color:n+"! important","& .MuiSelect-select .notranslate::after":c?{content:'"'.concat(c,'"'),opacity:a===c?"0 !important":"1 !important"}:{}},multiple:!0,label:a,placeholder:a===c?"":c,notched:a!==c||void 0,value:v,error:!!l,onChange:function(e){var t=e.target.value;h(t),E(t)},onBlur:x,renderValue:function(e){return m.default.createElement(C.default,{sx:{display:"flex"}},m.default.createElement(C.default,{sx:{display:"flex",flexWrap:"wrap",gap:.5}},e.map((function(e,t){return m.default.createElement(O,{key:t,disabled:b.disabled,variant:"filled",color:"default",label:f(e),suffixIcon:i.faTimesCircle,suffixAction:function(){return!b.disabled&&(t=e,o=null==v?void 0:v.filter((function(e){return e!==t})),void E(o));var t,o},onMouseDown:M})}))),m.default.createElement(C.default,{flexGrow:1}),!b.disabled&&m.default.createElement(C.default,{className:"clear",onClick:k,onMouseDown:M},m.default.createElement(F,{icon:i.faTimes})))},IconComponent:function(e){var t=e.className;return m.default.createElement(F,{className:b.disabled?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===n?i.faCheck:i.faChevronDown,size:"success"===n?"md":"sm",sx:{transform:t.toString().includes("iconOpen")&&"success"!==n?"rotate(180deg)":"none"}})},MenuProps:{PaperProps:{style:{width:u}}}},b),null==r?void 0:r.map((function(e,o){return m.default.createElement(t.MenuItem,{key:o,value:e,sx:{fontWeight:-1===v.indexOf(e)?400:500,backgroundColor:-1===v.indexOf(e)?"#ffffff":"#D3E4F0"}},f(e))}))),(l||g)&&m.default.createElement(t.FormHelperText,{component:"span",className:l?"Mui-error":""},l||g)))},exports.Pagination=function(o){var a=o.totalString,r=o.totalPerPageString,n=o.totalPages,i=o.limitsPerPage,l=o.setLimit,c=o.setPage,p=o.page,u=void 0===p?1:p,d=o.limit,s=e.useState(u),f=s[0],g=s[1],h=e.useState(null!=d?d:i[0]),x=h[0],b=h[1];return e.useEffect((function(){u!==f&&g(u)}),[u]),e.useEffect((function(){d&&d!==x&&b(d)}),[d]),m.default.createElement(m.default.Fragment,null,m.default.createElement(t.Box,{display:"flex"},m.default.createElement(B,{color:"greyXDark",variant:"body1Bold",pt:"10px",pr:"16px"},a),n>1&&m.default.createElement(m.default.Fragment,null,m.default.createElement(t.Divider,{orientation:"vertical",sx:{marginRight:"16px",color:"greyXLight"}}),m.default.createElement(t.Select,{sx:{height:"32px",width:"75px",fontSize:"14px",fontWeight:400},labelId:"select-label",id:"dac-select-label",value:x,onChange:function(e){var t,o;b(Number(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)),l&&l(Number(null===(o=null==e?void 0:e.target)||void 0===o?void 0:o.value))}},i.map((function(e,o){return m.default.createElement(t.MenuItem,{key:o,value:e},e)}))),m.default.createElement(B,{color:"greyXDark",variant:"body1Regular",pt:"6px",pl:"6px",pr:"16px"},r),m.default.createElement(t.Divider,{orientation:"vertical",sx:{marginRight:"16px",color:"greyXLight"}}))),n>1&&m.default.createElement(t.Box,{display:"flex",pr:"4px"},m.default.createElement(t.Pagination,{variant:"outlined",shape:"rounded",count:n,page:f,onChange:function(e,t){g(t),c&&c(t)}})))},exports.Select=function(o){var a=o.label,r=void 0===a?"":a,n=o.defaultValue,l=o.options,c=o.color,p=o.error,u=o.placeholder,d=o.onChange,s=o.getOptionLabel,f=o.helperText,g=o.onBlur,h=o.width,x=void 0===h?200:h,b=I(o,["label","defaultValue","options","color","error","placeholder","onChange","getOptionLabel","helperText","onBlur","width"]),y=e.useState(n),v=y[0],E=y[1],k=e.useMemo((function(){var e=["DsSelect"];return b.disabled&&e.push("Mui-disabled"),v&&e.push("Mui-filled"),e}),[v,b.disabled]),M=e.useMemo((function(){var e=[];return p&&e.push("Mui-error"),b.disabled&&e.push("Mui-disabled"),e}),[p,b.disabled]);return m.default.createElement(C.default,{sx:{width:x}},m.default.createElement(S.default,{id:r===u?"select-mui":"select-ds",fullWidth:!0,color:c,className:k.join(" "),sx:{".MuiOutlinedInput-input":{marginTop:v?"0px":"2px"}}},m.default.createElement(t.InputLabel,{className:M.join(" ")},r),m.default.createElement(D.default,W({sx:{color:c+"! important","& .MuiSelect-select .notranslate::after":u?{content:'"'.concat(u,'"'),opacity:r===u?"0 !important":"1 !important"}:{}},label:r,placeholder:r===u?"":u,value:v,error:!!p,notched:r!==u||void 0,onChange:function(e){var t=e.target.value;d(t),E(t)},onBlur:g,IconComponent:function(e){var t=e.className;return m.default.createElement(F,{className:b.disabled?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===c?i.faCheck:i.faChevronDown,size:"success"===c?"md":"sm",sx:{marginTop:"success"===c?"2px":"0px",transform:t.toString().includes("iconOpen")&&"success"!==c?"rotate(180deg)":"none"}})},MenuProps:{PaperProps:{style:{width:x}}}},b),null==l?void 0:l.map((function(e,o){return m.default.createElement(t.MenuItem,{key:o,value:e,onMouseEnter:function(e){return e.target.style.backgroundColor="#D3E4F0"},onMouseLeave:function(e){return e.target.style.backgroundColor="#ffffff"}},s?s(e):e.label)}))),(p||f)&&m.default.createElement(t.FormHelperText,{component:"span",className:p?"Mui-error":""},p||f)))},exports.Text=B,exports.TextField=function(t){var o=t.name,a=t.value,r=t.error,n=t.onBlur,i=t.onChange,l=t.label,c=t.disabled,p=t.endAdornment,u=t.placeholder,d=void 0===u?"":u,s=t.maxLength,f=I(t,["name","value","error","onBlur","onChange","label","disabled","endAdornment","placeholder","maxLength"]),g=e.useState(a),h=g[0],x=g[1];return e.useEffect((function(){a!==h&&x(a)}),[a]),m.default.createElement(b.default,W({id:l===d?"text-field-mui":"text-field-ds",className:"DsTextField",variant:"outlined",name:o,label:l,value:h,placeholder:l===d?"":d,FormHelperTextProps:{component:"div"},InputLabelProps:{shrink:l!==d||void 0},onClick:function(e){return e.stopPropagation()},onChange:function(e){x(e.currentTarget.value),i&&i(e)},onBlur:function(e){n&&n(e)},error:!!r,disabled:c,InputProps:{endAdornment:p},inputProps:{maxLength:s}},f,{helperText:m.default.createElement("div",{style:{display:"table",width:"100%"}},(r||f.helperText)&&m.default.createElement("div",{style:{display:s?"table-cell":"",float:"left"}},r||f.helperText),s&&m.default.createElement("div",{style:{display:"table-cell",float:"right"}},h.length,"/",s," caract."))}))},exports.Tooltip=function(e){var o=e.title,a=e.children,r=I(e,["title","children"]);return m.default.createElement(t.Tooltip,W({title:m.default.createElement(B,{variant:"body2Regular",color:"white"},o)},r,{className:"DsTooltip-root"}),m.default.createElement(t.IconButton,{sx:{padding:0,"& .MuiBox-root":{width:0}}},a))};
1
+ "use strict";var e=require("react"),t=require("@mui/material"),o=require("@fortawesome/pro-solid-svg-icons"),r=require("@mui/material/TextField"),n=require("@mui/material/SvgIcon"),a=require("@mui/material/Box"),i=require("@mui/system"),l=require("@mui/material/FormControl"),c=require("@mui/material/Select"),u=require("@mui/material/Checkbox"),p=require("@mui/material/FormControlLabel"),s=require("@mui/material/Typography"),d=require("@mui/system/Box"),f=require("@mui/material/RadioGroup"),g=require("@mui/material/FormLabel"),h=require("@mui/material/Accordion"),m=require("@mui/material/AccordionSummary"),x=require("@mui/material/AccordionDetails"),b=require("@fortawesome/pro-regular-svg-icons"),y=require("@mui/material/Alert"),v=function(){return v=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},v.apply(this,arguments)};function C(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o}var S=function(o){return e.createElement(t.Typography,v({color:"greyXDark"},o))};S.displayName="Text";var D=function(o){return e.createElement(t.Link,v({},o))};D.displayName="Link";var M=function(o){var r=o.variant,n=o.children,a=C(o,["variant","children"]);return e.createElement(t.Button,v({variant:r},a),n)};M.displayName="Button";var E={xs:8,sm:12,md:16,lg:24,xl:32,xxl:40,xxxl:72},k=e.forwardRef((function(t,o){var r=t.icon,a=t.fontSize,i=r.icon,l=i[0],c=i[1],u=i[4];return e.createElement(n,{ref:o,viewBox:"0 0 ".concat(l," ").concat(c),sx:{fontSize:null!=a?a:"14px"}},"string"==typeof u?e.createElement("path",{d:u}):u.map((function(t,o){return e.createElement("path",{style:{opacity:0===o?.4:1},d:t,key:o})})))})),z=function(t){var o,r,n=t.variant,l=void 0===n?"none":n,c=t.icon,u=t.color,p=void 0===u?"#136cac":u,s=t.size,d=void 0===s?16:s,f=t.sx,g=C(t,["variant","icon","color","size","sx"]),h="square"===l?16:d in E?E[d]:d>=0?d:16;return e.createElement(a,v({component:"span",sx:(o=i.useTheme(),r=o.palette[p]?o.palette[p]:p&&0!==(null==p?void 0:p.length)?p:"#136cac",v(v({},f),"square"===l?{color:r,backgroundColor:"".concat(r,"14"),borderRadius:"4px",borderColor:"1px solid "+r,overflow:"visible",padding:"10px",width:"36px",height:"36px",display:"flex",justifyContent:"center",alignItems:"center"}:{color:r,width:h,height:d,display:"inline-flex",alignItems:"center",justifyContent:"center"}))},g),e.createElement(k,{icon:c,fontSize:h}))};z.displayName="IconProvider";var L=function(t){var n,a=t.name,i=t.value,l=t.error,c=t.onBlur,u=t.onChange,p=t.label,s=t.disabled,d=t.endAdornment,f=t.placeholder,g=void 0===f?"":f,h=t.maxLength,m=C(t,["name","value","error","onBlur","onChange","label","disabled","endAdornment","placeholder","maxLength"]),x=e.useState(i),b=x[0],y=x[1],S=e.useState(!1),D=S[0],M=S[1],E=e.useState(null!==(n=m.type)&&void 0!==n?n:"text"),k=E[0],L=E[1],T=e.useMemo((function(){return e.createElement(z,{className:"DsTextField-passwordIcon",icon:D?o.faEyeSlash:o.faEye,color:"blueClickable",onClick:function(){return M(!D)}})}),[D]);return e.useEffect((function(){i!==b&&y(i)}),[i]),e.useEffect((function(){var e;L(D?"text":null!==(e=m.type)&&void 0!==e?e:"text")}),[D]),e.createElement(r,v({id:p===g?"text-field-mui":"text-field-ds",className:"DsTextField",variant:"outlined",name:a,label:p,value:b,placeholder:p===g?"":g,FormHelperTextProps:{component:"div"},InputLabelProps:{shrink:p!==g||void 0},onClick:function(e){return e.stopPropagation()},onChange:function(e){y(e.currentTarget.value),u&&u(e)},onBlur:function(e){c&&c(e)},error:!!l,disabled:s,InputProps:"password"===m.type?{endAdornment:T}:{endAdornment:d},inputProps:{maxLength:h}},m,{type:k,helperText:e.createElement("div",{style:{display:"table",width:"100%",marginRight:"4px"}},(l||m.helperText)&&e.createElement("div",{style:{display:h?"table-cell":"",float:"left"}},l||m.helperText),h&&e.createElement("div",{style:{display:"table-cell",float:"right"}},b.length,"/",h," caract."))}))};L.displayName="TextField";var T=function(r){var n=r.label,u=void 0===n?"":n,p=r.defaultValue,s=r.options,d=r.color,f=r.error,g=r.placeholder,h=r.onChange,m=r.getRenderValue,x=r.helperText,b=r.onBlur,y=r.width,S=void 0===y?200:y,D=C(r,["label","defaultValue","options","color","error","placeholder","onChange","getRenderValue","helperText","onBlur","width"]),M=i.useTheme(),E=e.useState(p),k=E[0],L=E[1],T=e.useMemo((function(){var e=["DsSelect"];return D.disabled&&e.push("Mui-disabled"),k&&e.push("Mui-filled"),e.join(" ")}),[k,D.disabled]),w=e.useMemo((function(){var e=[];return f&&e.push("Mui-error"),D.disabled&&e.push("Mui-disabled"),e.join(" ")}),[f,D.disabled]);return e.createElement(a,{sx:{width:S}},e.createElement(l,{id:u===g?"select-mui":"select-ds",fullWidth:!0,color:d,className:T,sx:{".MuiOutlinedInput-input":{marginTop:k?"0px":"2px"}}},e.createElement(t.InputLabel,{className:w},u),e.createElement(c,v({sx:{color:d+"! important","& .MuiSelect-select .notranslate::after":g?{content:'"'.concat(g,'"'),opacity:u===g?"0 !important":"1 !important"}:{}},label:u,placeholder:u===g?"":g,value:null!=k?k:"",error:!!f,notched:u!==g||void 0,onChange:function(e){var t=e.target.value;h&&h(t),L(t)},onBlur:b,IconComponent:function(t){var r=t.className;return e.createElement(z,{className:D.disabled?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===d?o.faCheck:o.faChevronDown,size:"success"===d?"md":"sm",sx:{marginTop:"success"===d?"2px":"0px",transform:r.toString().includes("iconOpen")&&"success"!==d?"rotate(180deg)":"none"}})},MenuProps:{disableAutoFocusItem:!0,PaperProps:{style:{width:S}}},renderValue:function(e){return m(e)}},D),null==s?void 0:s.map((function(o,r){return e.createElement(t.MenuItem,{sx:{fontSize:14,fontWeight:k===o?500:400,backgroundColor:k===o?"blueHoverEquivalence":"white"},key:r,value:o,onMouseEnter:function(e){return e.target.style.backgroundColor=M.palette.blueHoverEquivalence},onMouseLeave:function(e){k!==o&&(e.target.style.backgroundColor=M.palette.white)}},m?m(o):o.label)}))),(f||x)&&e.createElement(t.FormHelperText,{component:"span",className:f?"Mui-error":""},f||x)))};T.displayName="Select";var w=function(o){var r,n,a=o.label,l=o.prefixIcon,c=o.suffixIcon,u=o.suffixTooltip,p=o.suffixAction,s=o.tooltip,d=o.maxWidth,f=void 0===d?300:d,g=o.maxLength,h=void 0===g?17:g,m=C(o,["label","prefixIcon","suffixIcon","suffixTooltip","suffixAction","tooltip","maxWidth","maxLength"]),x=i.useTheme(),b=e.useState(a),y=b[0],S=b[1],D=e.useState(!1),M=D[0],E=D[1],k=e.useState(!1),L=k[0],T=k[1],w=e.useRef(null),I=m.color&&x.palette[m.color]?"object"==typeof x.palette[m.color]?x.palette[m.color].main:x.palette[m.color]:null!==(r=m.color)&&void 0!==r?r:"white";return I="filled"===m.variant?"".concat(I,"14"):"white",e.useEffect((function(){var e,t,o,r;(null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.offsetWidth)&&(null===(t=null==w?void 0:w.current)||void 0===t?void 0:t.offsetWidth)>f&&"".concat(a.substring(0,h),"...")!==y?S("".concat(a.substring(0,h),"...")):(null===(o=null==w?void 0:w.current)||void 0===o?void 0:o.offsetWidth)&&(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.offsetWidth)<=f&&a==="".concat(a.substring(0,h),"...")&&S(a)}),[null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.offsetWidth]),e.createElement(t.Tooltip,{title:s,placement:"right-start",open:M},e.createElement(t.Box,{maxWidth:"fit-content",onMouseEnter:function(){return E(!0)},onMouseLeave:function(){return E(!1)}},e.createElement(t.Tooltip,{title:u,open:L,placement:"bottom-end",sx:{cursor:p?"pointer !important":"default"}},e.createElement(t.Chip,v({className:"DSChip",label:y,ref:w,size:"small",sx:{backgroundColor:I,"&.MuiChip-colorSecondary:hover":c&&p&&{backgroundColor:"blueHoverClickable !important"},"&.MuiChip-deleteIconColorPrimary:hover":c&&p&&{backgroundColor:"blueHoverClickable !important"}},avatar:l?e.createElement(z,{icon:l,size:"sm"}):e.createElement(e.Fragment,null),deleteIcon:c?e.createElement(z,{icon:c,onMouseEnter:function(){u&&(T(!0),E(!1))},onMouseLeave:function(){u&&(T(!1),E(!0))},sx:{cursor:p?"pointer !important":"default"},size:"sm"}):e.createElement(e.Fragment,null),onDelete:null!=p?p:function(){return null}},m)))))};w.displayName="Chip";var I=function(r){var n=r.label,i=r.options,u=r.color,p=r.error,s=r.placeholder,d=r.helperText,f=r.width,g=void 0===f?200:f,h=r.defaultValue,m=void 0===h?[]:h,x=r.getRenderValue,b=r.getKeyValue,y=r.onChange,S=r.onBlur,D=C(r,["label","options","color","error","placeholder","helperText","width","defaultValue","getRenderValue","getKeyValue","onChange","onBlur"]),M=e.useState(m),E=M[0],k=M[1],L=function(){y&&y([]),k([])},T=function(e){e.stopPropagation()},I=e.useMemo((function(){var e=["DsSelect"];return D.disabled&&e.push("Mui-disabled"),(null==E?void 0:E.length)>0&&e.push("Mui-filled"),e.join(" ")}),[E,D.disabled]),_=e.useMemo((function(){var e=[];return p&&e.push("Mui-error"),D.disabled&&e.push("Mui-disabled"),e.join(" ")}),[p,D.disabled]);return e.createElement(a,{sx:{width:g}},e.createElement(l,{id:n===s?"select-mui":"select-ds",fullWidth:!0,color:u,className:I,sx:{".MuiOutlinedInput-input":{marginTop:(null==E?void 0:E.length)>0?"0px":"2px"}}},e.createElement(t.InputLabel,{className:_},n),e.createElement(c,v({sx:{color:u+"! important","& .MuiSelect-select .notranslate::after":s?{content:'"'.concat(s,'"'),opacity:n===s?"0 !important":"1 !important"}:{}},multiple:!0,label:n,placeholder:n===s?"":s,notched:n!==s||void 0,value:E,error:!!p,onChange:function(e){var t=e.target.value;y&&y(t),k(t)},onBlur:S,renderValue:function(t){return e.createElement(a,{sx:{display:"flex"}},e.createElement(a,{sx:{display:"flex",flexWrap:"wrap",gap:.5}},t.map((function(t){return e.createElement(w,{key:b(t),disabled:D.disabled,variant:"filled",color:"default",label:x(t),suffixIcon:o.faTimesCircle,suffixAction:function(){return!D.disabled&&(e=t,o=null==E?void 0:E.filter((function(t){return t!==e})),void k(o));var e,o},onMouseDown:T})}))),e.createElement(a,{flexGrow:1}),!D.disabled&&e.createElement(a,{className:"clear",onClick:L,onMouseDown:T},e.createElement(z,{icon:o.faTimes})))},IconComponent:function(t){var r=t.className;return e.createElement(z,{className:D.disabled?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===u?o.faCheck:o.faChevronDown,size:"success"===u?"md":"sm",sx:{transform:r.toString().includes("iconOpen")&&"success"!==u?"rotate(180deg)":"none"}})},MenuProps:{disableAutoFocusItem:!0,PaperProps:{style:{width:g}}}},D),null==i?void 0:i.map((function(o){return e.createElement(t.MenuItem,{key:b(o),value:o,sx:{fontSize:14,fontWeight:-1===E.indexOf(o)?400:500,backgroundColor:-1===E.indexOf(o)?"white":"greyXLight","&:hover":{backgroundColor:"blueHoverEquivalence"}}},x(o))}))),(p||d)&&e.createElement(t.FormHelperText,{component:"span",className:p?"Mui-error":""},p||d)))};I.displayName="MultiSelect";var _=function(t){var o=t.name,r=t.value,n=t.error,a=t.description,i=t.label,c=t.onChange,f=C(t,["name","value","error","description","label","onChange"]),g=e.useState(r),h=g[0],m=g[1],x=e.useMemo((function(){var e=["DsCheckbox"];return f.disabled&&e.push("Mui-disabled"),e.join(" ")}),[f.disabled]),b=e.useMemo((function(){var e=["DsCheckbox-label"];return f.disabled&&e.push("Mui-disabled"),e.join(" ")}),[f.disabled]);return e.useEffect((function(){r!==h&&m(r)}),[r]),e.createElement(l,{fullWidth:!0,className:x},e.createElement(p,{control:e.createElement(d,null,e.createElement(u,v({name:o,sx:{marginTop:"-2px"},checked:h,color:"primary",onChange:function(e){m(e.target.checked),c&&c(o,e.target.checked,!0)}},f))),label:e.createElement(s,{component:"span",className:b},i)}),(n||a)&&e.createElement(s,{className:"DsCheckbox-info",sx:{color:n?"#B80025":"#545352"}},n||a))};_.displayName="Checkbox";var W=function(o){var r=o.options,n=o.defaultValue,a=o.label,i=o.traductionPath,c=o.onChange,u=o.disabled,s=void 0!==u&&u,h=o.error,m=void 0===h?"":h,x=e.useState(n||""),b=x[0],y=x[1],v=e.useMemo((function(){var e=["DsRadio"];return s&&e.push("Mui-disabled"),!b&&m&&e.push("Mui-error"),e.join(" ")}),[r,s,b,m]);return e.createElement(l,{className:v,disabled:s,error:!!m},e.createElement(g,null,a),e.createElement(f,{defaultValue:n,onChange:function(e){var t=e.target.value;y(t),c(t)}},null==r?void 0:r.slice(0,7).map((function(o){return e.createElement(p,{key:o,control:e.createElement(t.Radio,{size:"small"}),value:o,label:"".concat(i?i+".":"").concat(o)})}))),v.includes("Mui-error")&&e.createElement(t.FormHelperText,{component:"span"},m)||e.createElement(d,{height:18}))};W.displayName="Radio";var O=function(t){t.icon;var o=t.title,r=t.summaryHeight,n=t.expanded,a=void 0!==n&&n,i=t.onClick,l=t.children,c=C(t,["icon","title","summaryHeight","expanded","onClick","children"]),u=e.useState(a),p=u[0],s=u[1];return e.useEffect((function(){a!==p&&s(a)}),[a]),e.createElement(h,v({className:"DsAccordion",expanded:p,onClick:function(e){c.disabled||(s(!p),i&&i(e))}},c),e.createElement(m,{expandIcon:e.createElement(z,{icon:b.faChevronDown,size:"md"}),sx:{fontWeight:500,fontSize:18,lineHeight:21,height:r||60}},o),e.createElement(x,{sx:{backgroundColor:"greyXLight",borderTop:"1px solid",borderColor:"greyLightDefaultBorder"}},l))};O.displayName="Accordion";var N=function(o){var r=o.totalString,n=o.totalPerPageString,a=o.totalPages,i=o.limitsPerPage,l=o.setLimit,c=o.setPage,u=o.page,p=void 0===u?1:u,s=o.limit,d=e.useState(p),f=d[0],g=d[1],h=e.useState(null!=s?s:i[0]),m=h[0],x=h[1];return e.useEffect((function(){p!==f&&g(p)}),[p]),e.useEffect((function(){s&&s!==m&&x(s)}),[s]),e.createElement(e.Fragment,null,e.createElement(t.Box,{display:"flex"},e.createElement(S,{color:"greyXDark",variant:"body1Bold",pt:"10px",pr:"16px"},r),a>1&&e.createElement(e.Fragment,null,e.createElement(t.Divider,{orientation:"vertical",sx:{marginRight:"16px",color:"greyXLight"}}),e.createElement(t.Select,{sx:{height:"32px",width:"75px",fontSize:"14px",fontWeight:400},labelId:"select-label",id:"dac-select-label",value:m,onChange:function(e){var t,o;x(Number(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)),l&&l(Number(null===(o=null==e?void 0:e.target)||void 0===o?void 0:o.value))}},i.map((function(o,r){return e.createElement(t.MenuItem,{key:r,value:o},o)}))),e.createElement(S,{color:"greyXDark",variant:"body1Regular",pt:"6px",pl:"6px",pr:"16px"},n),e.createElement(t.Divider,{orientation:"vertical",sx:{marginRight:"16px",color:"greyXLight"}}))),a>1&&e.createElement(t.Box,{display:"flex",pr:"4px"},e.createElement(t.Pagination,{variant:"outlined",shape:"rounded",count:a,page:f,onChange:function(e,t){g(t),c&&c(t)}})))};N.displayName="Pagination";var B=function(r){var n=r.title,a=r.text,i=r.variant,l=void 0===i?"infos":i,c=C(r,["title","text","variant"]),u={warning:{color:"orangeWarning",icon:o.faCircleExclamation},error:{color:"redError",icon:o.faCircleXmark},success:{color:"greenSuccess",icon:o.faCircleCheck},infos:{color:"blueInfo",icon:o.faCircleInfo}};return e.createElement(t.Box,v({border:"1px solid",borderColor:u[l].color,mt:"4px",p:"4px",borderRadius:"5px"},c),e.createElement(t.Box,{display:"flex",alignItems:"center",pb:"2px"},e.createElement(t.Box,{sx:{pl:"12px",pr:"16px",display:"flex"}},e.createElement(z,{icon:u[l].icon,color:u[l].color})),e.createElement(t.Box,null,e.createElement(t.Box,null,e.createElement(S,{align:"left",variant:"body1Bold",color:u[l].color,display:"inline-block"},n)),a&&e.createElement(t.Box,null,e.createElement(S,{align:"left",variant:"body1Regular",color:"greyDark",display:"inline-block"},a)))))};B.displayName="EmbeddedNotification";var F=function(o){var r=o.title,n=o.children,a=C(o,["title","children"]);return e.createElement(t.Tooltip,v({title:e.createElement(S,{variant:"body2Regular",color:"white"},r)},a,{className:"DsTooltip-root"}),e.createElement(t.IconButton,{sx:{padding:0,"& .MuiBox-root":{width:0}}},n))};F.displayName="Tooltip";var H=function(t){var r,n=t.text,a=t.severity;switch(a){case"error":r=o.faTimesCircle;break;case"warning":r=o.faExclamationCircle;break;default:r=o.faCheckCircle}return e.createElement(y,{icon:e.createElement(z,{icon:r}),className:"DsSnackbar",severity:a},n)};H.displayName="Snackbar";var j=function(t){var r=t.text,n=t.severity,a=t.onClose;return e.createElement(y,{className:"DsBannerNotification",onClose:a,severity:n,icon:e.createElement(z,{icon:o.faBell}),action:e.createElement(z,{icon:o.faTimes})},r)};j.displayName="BannerNotification";var P=function(){return P=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},P.apply(this,arguments)},R=Object.freeze({__proto__:null,DefaultBorderRadius16:"16",DefaultBorderRadius24:"24",DefaultBorderRadius4:"4",DefaultBorderRadius8:"8",DefaultDefaultColorsBackgroundColorsBlueHoverEquivalence:"#e8f1f7",DefaultDefaultColorsBackgroundColorsBlueHoverOpacity12:"#136cac1f",DefaultDefaultColorsBackgroundColorsGreyXDarkBgModal:"#27272780",DefaultDefaultColorsBackgroundColorsGreyXLight:"#f0f0f0",DefaultDefaultColorsBackgroundColorsWhite:"#ffffff",DefaultDefaultColorsBlueClickable:"#136cac",DefaultDefaultColorsBlueHoverClickable:"#004f88",DefaultDefaultColorsBorderColorsGreyLightDefaultBorder:"#cbcbcb",DefaultDefaultColorsGreyMediumInactive:"#808080",DefaultDefaultColorsNotificationColorsBlueInfo:"#1d91c3",DefaultDefaultColorsNotificationColorsGreenSuccess:"#23956d",DefaultDefaultColorsNotificationColorsOrangeWarning:"#e46221",DefaultDefaultColorsNotificationColorsRedError:"#b80025",DefaultDefaultColorsRedActual:"#e40521",DefaultDefaultColorsSecondaryColorsBlueDark:"#0d2c54",DefaultDefaultColorsSecondaryColorsBlueLight:"#7fdcea",DefaultDefaultColorsSecondaryColorsBlueMedium:"#3d5a80",DefaultDefaultColorsSecondaryColorsBrown:"#6f2902",DefaultDefaultColorsSecondaryColorsBrownLight:"#b65700",DefaultDefaultColorsSecondaryColorsGreen:"#5dca8b",DefaultDefaultColorsSecondaryColorsGreenDark:"#125e42",DefaultDefaultColorsSecondaryColorsGreenLight:"#bad07a",DefaultDefaultColorsSecondaryColorsGreenMedium:"#1f8461",DefaultDefaultColorsSecondaryColorsOrangeLight:"#f59b00",DefaultDefaultColorsSecondaryColorsPink:"#ca1e5c",DefaultDefaultColorsSecondaryColorsPinkLight:"#fd6972",DefaultDefaultColorsSecondaryColorsPurple:"#831443",DefaultDefaultColorsSecondaryColorsPurpleDark:"#530d48",DefaultDefaultColorsSecondaryColorsYellow:"#f9d25e",DefaultDefaultColorsTextColorsGreyDark:"#545352",DefaultDefaultColorsTextColorsGreyXDark:"#272727",DefaultFontFamiliesRoboto:"Roboto",DefaultFontSize11:"11",DefaultFontSize13:"13",DefaultFontSize14:"14",DefaultFontSize16:"16",DefaultFontSize18:"18",DefaultFontSize24:"24",DefaultFontSize29:"29",DefaultFontSize35:"35",DefaultFontSize42:"42",DefaultFontWeightsRoboto400:"Regular",DefaultFontWeightsRoboto500:"Medium",DefaultFontWeightsRoboto700:"Bold",DefaultLetterSpacingNone:"none",DefaultLineHeights12:"12",DefaultLineHeights16:"16",DefaultLineHeights18:"18",DefaultLineHeights21:"21",DefaultLineHeights28:"28",DefaultLineHeights34:"34",DefaultLineHeights41:"41",DefaultLineHeights49:"49",DefaultParagraphSpacing0:"0",DefaultParagraphSpacing8:"8",DefaultSizingLg:"24",DefaultSizingMd:"16",DefaultSizingSm:"12",DefaultSizingXl:"32",DefaultSizingXs:"8",DefaultSizingXxl:"40",DefaultSizingXxxl:"72",DefaultSpacingLg:"24",DefaultSpacingMd:"16",DefaultSpacingXl:"32",DefaultSpacingXs:"8",DefaultSpacingXxl:"40",DefaultSpacingXxs:"4",DefaultSpacingXxxl:"72",DefaultTextCaseNone:"none",DefaultTextDecorationNone:"none",DefaultTextDecorationUnderline:"underline",DefaultWebShadowAllContent:{color:"#2727271f",type:"dropShadow",x:"0",y:"2",blur:"10",spread:"0"},EpAppShadowAllContent:{color:"#dedada66",type:"dropShadow",x:"0",y:"4",blur:"15",spread:"0"},EpAppShadowButtomMenu:{color:"#dedada66",type:"dropShadow",x:"0",y:"-4",blur:"15",spread:"0"},EpBorderRadius16:"16",EpBorderRadius24:"24",EpBorderRadius4:"4",EpBorderRadius8:"8",EpColorsBlack:"#161616",EpColorsBlueInfo:"#1d91c3",EpColorsGreenBlue:"#159f9f",EpColorsGreenBlueHover:"#128888",EpColorsGreenLight:"#f2f8f8",EpColorsGreenPastel:"#e4f1f1",EpColorsGreenSucces:"#23956d",EpColorsGrey:"#acc1cc",EpColorsGreyDark:"#676767",EpColorsGreyDarkBgModal:"#67676780",EpColorsGreyLightBorder:"#cbcbcb",EpColorsGreyMediumInactive:"#808080",EpColorsGreyPastel:"#eaf2f6",EpColorsOrangeWarning:"#e46221",EpColorsRed:"#e11c31",EpColorsRedError:"#b80025",EpColorsRedHover:"#b61425",EpColorsRedLight:"#fff7f5",EpColorsRedPastel:"#feefeb",EpColorsWhite:"#ffffff",EpFontFamiliesManrope:"Manrope",EpFontFamiliesOpenSans:"Open Sans",EpFontSize10:"10",EpFontSize12:"12",EpFontSize14:"14",EpFontSize16:"16",EpFontSize18:"18",EpFontSize24:"24",EpFontWeightsManrope500:"Medium",EpFontWeightsManrope700:"Bold",EpFontWeightsOpenSans400:"Regular",EpFontWeightsOpenSans600:"SemiBold",EpFontWeightsOpenSans700:"Bold",EpLetterSpacingNone:"none",EpLineHeights14:"14",EpLineHeights16:"16",EpLineHeights20:"20",EpLineHeights24:"24",EpLineHeights26:"26",EpLineHeights34:"34",EpParagraphSpacing0:"0",EpParagraphSpacing8:"8",EpSizingLg:"24",EpSizingMd:"16",EpSizingSm:"12",EpSizingXl:"32",EpSizingXs:"8",EpSizingXxl:"40",EpSizingXxxl:"72",EpSpacingLg:"24",EpSpacingMd:"16",EpSpacingXl:"32",EpSpacingXs:"8",EpSpacingXxl:"40",EpSpacingXxs:"4",EpSpacingXxxl:"72",EpTextCaseNone:"none",EpTextDecorationNone:"none",EpTextDecorationUnderline:"underline"}),A=function(e){var t={};Object.keys(R).forEach((function(o){if(o.startsWith(e)&&o.indexOf("Colors")){var r=o.substring(o.lastIndexOf("Colors")+6);r=r.charAt(0).toLowerCase()+r.slice(1),t[r]=R[o]}}));var o={primary:{main:t.blueClickable,dark:t.blueHoverClickable},secondary:{main:t.redActual},success:{main:t.greenSuccess},error:{main:t.redError},warning:{main:t.orangeWarning}};return P(P({},t),o)},X=function(e){var t=R,o=[];return Object.keys(R).forEach((function(r){r.startsWith(e+"FontFamilies")&&o.push(t[r])})),o},q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var G=function(e,t){return e===t||e!=e&&t!=t},V=G,U=function(e,t){for(var o=e.length;o--;)if(V(e[o][0],t))return o;return-1},$=U,Y=Array.prototype.splice,K=U,J=U,Q=U,Z=function(){this.__data__=[],this.size=0};function ee(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}ee.prototype.clear=Z,ee.prototype.delete=function(e){var t=this.__data__,o=$(t,e);return!(o<0||(o==t.length-1?t.pop():Y.call(t,o,1),--this.size,0))},ee.prototype.get=function(e){var t=this.__data__,o=K(t,e);return o<0?void 0:t[o][1]},ee.prototype.has=function(e){return J(this.__data__,e)>-1},ee.prototype.set=function(e,t){var o=this.__data__,r=Q(o,e);return r<0?(++this.size,o.push([e,t])):o[r][1]=t,this};var te,oe=ee,re=oe,ne="object"==typeof q&&q&&q.Object===Object&&q,ae=ne,ie="object"==typeof self&&self&&self.Object===Object&&self,le=ae||ie||Function("return this")(),ce=le.Symbol,ue=ce,pe=Object.prototype,se=pe.hasOwnProperty,de=pe.toString,fe=ue?ue.toStringTag:void 0,ge=Object.prototype.toString,he=function(e){var t=se.call(e,fe),o=e[fe];try{e[fe]=void 0;var r=!0}catch(e){}var n=de.call(e);return r&&(t?e[fe]=o:delete e[fe]),n},me=ce?ce.toStringTag:void 0,xe=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":me&&me in Object(e)?he(e):function(e){return ge.call(e)}(e)},be=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ye=xe,ve=be,Ce=function(e){if(!ve(e))return!1;var t=ye(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Se=le["__core-js_shared__"],De=(te=/[^.]+$/.exec(Se&&Se.keys&&Se.keys.IE_PROTO||""))?"Symbol(src)_1."+te:"",Me=Function.prototype.toString,Ee=Ce,ke=function(e){return!!De&&De in e},ze=be,Le=/^\[object .+?Constructor\]$/,Te=Function.prototype,we=Object.prototype,Ie=Te.toString,_e=we.hasOwnProperty,We=RegExp("^"+Ie.call(_e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Oe=function(e){return!(!ze(e)||ke(e))&&(Ee(e)?We:Le).test(function(e){if(null!=e){try{return Me.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))},Ne=function(e,t){var o=function(e,t){return null==e?void 0:e[t]}(e,t);return Oe(o)?o:void 0},Be=Ne(le,"Map"),Fe=Ne(Object,"create"),He=Fe,je=Fe,Pe=Object.prototype.hasOwnProperty,Re=Fe,Ae=Object.prototype.hasOwnProperty,Xe=Fe,qe=function(){this.__data__=He?He(null):{},this.size=0},Ge=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ve=function(e){var t=this.__data__;if(je){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return Pe.call(t,e)?t[e]:void 0};function Ue(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}Ue.prototype.clear=qe,Ue.prototype.delete=Ge,Ue.prototype.get=Ve,Ue.prototype.has=function(e){var t=this.__data__;return Re?void 0!==t[e]:Ae.call(t,e)},Ue.prototype.set=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Xe&&void 0===t?"__lodash_hash_undefined__":t,this};var $e=Ue,Ye=oe,Ke=Be,Je=function(e,t){var o=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?o["string"==typeof t?"string":"hash"]:o.map},Qe=Je,Ze=Je,et=Je,tt=Je;function ot(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}ot.prototype.clear=function(){this.size=0,this.__data__={hash:new $e,map:new(Ke||Ye),string:new $e}},ot.prototype.delete=function(e){var t=Qe(this,e).delete(e);return this.size-=t?1:0,t},ot.prototype.get=function(e){return Ze(this,e).get(e)},ot.prototype.has=function(e){return et(this,e).has(e)},ot.prototype.set=function(e,t){var o=tt(this,e),r=o.size;return o.set(e,t),this.size+=o.size==r?0:1,this};var rt=oe,nt=Be,at=ot,it=oe,lt=function(){this.__data__=new re,this.size=0},ct=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o},ut=function(e){return this.__data__.get(e)},pt=function(e){return this.__data__.has(e)};function st(e){var t=this.__data__=new it(e);this.size=t.size}st.prototype.clear=lt,st.prototype.delete=ct,st.prototype.get=ut,st.prototype.has=pt,st.prototype.set=function(e,t){var o=this.__data__;if(o instanceof rt){var r=o.__data__;if(!nt||r.length<199)return r.push([e,t]),this.size=++o.size,this;o=this.__data__=new at(r)}return o.set(e,t),this.size=o.size,this};var dt=st,ft=Ne,gt=function(){try{var e=ft(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),ht=gt,mt=function(e,t,o){"__proto__"==t&&ht?ht(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o},xt=mt,bt=G,yt=function(e,t,o){(void 0!==o&&!bt(e[t],o)||void 0===o&&!(t in e))&&xt(e,t,o)},vt=function(e,t,o){for(var r=-1,n=Object(e),a=o(e),i=a.length;i--;){var l=a[++r];if(!1===t(n[l],l,n))break}return e},Ct={exports:{}};!function(e,t){var o=le,r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,a=n&&n.exports===r?o.Buffer:void 0,i=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var o=e.length,r=i?i(o):new e.constructor(o);return e.copy(r),r}}(Ct,Ct.exports);var St=Ct.exports,Dt=le.Uint8Array,Mt=be,Et=Object.create,kt=function(){function e(){}return function(t){if(!Mt(t))return{};if(Et)return Et(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),zt=function(e,t){return function(o){return e(t(o))}}(Object.getPrototypeOf,Object),Lt=Object.prototype,Tt=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Lt)},wt=kt,It=zt,_t=Tt,Wt=function(e){return null!=e&&"object"==typeof e},Ot=xe,Nt=Wt,Bt=function(e){return Nt(e)&&"[object Arguments]"==Ot(e)},Ft=Wt,Ht=Object.prototype,jt=Ht.hasOwnProperty,Pt=Ht.propertyIsEnumerable,Rt=Bt(function(){return arguments}())?Bt:function(e){return Ft(e)&&jt.call(e,"callee")&&!Pt.call(e,"callee")},At=Array.isArray,Xt=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},qt=Ce,Gt=Xt,Vt=function(e){return null!=e&&Gt(e.length)&&!qt(e)},Ut=Vt,$t=Wt,Yt={exports:{}},Kt=function(){return!1};!function(e,t){var o=le,r=Kt,n=t&&!t.nodeType&&t,a=n&&e&&!e.nodeType&&e,i=a&&a.exports===n?o.Buffer:void 0,l=(i?i.isBuffer:void 0)||r;e.exports=l}(Yt,Yt.exports);var Jt=Yt.exports,Qt=xe,Zt=zt,eo=Wt,to=Function.prototype,oo=Object.prototype,ro=to.toString,no=oo.hasOwnProperty,ao=ro.call(Object),io=xe,lo=Xt,co=Wt,uo={};uo["[object Float32Array]"]=uo["[object Float64Array]"]=uo["[object Int8Array]"]=uo["[object Int16Array]"]=uo["[object Int32Array]"]=uo["[object Uint8Array]"]=uo["[object Uint8ClampedArray]"]=uo["[object Uint16Array]"]=uo["[object Uint32Array]"]=!0,uo["[object Arguments]"]=uo["[object Array]"]=uo["[object ArrayBuffer]"]=uo["[object Boolean]"]=uo["[object DataView]"]=uo["[object Date]"]=uo["[object Error]"]=uo["[object Function]"]=uo["[object Map]"]=uo["[object Number]"]=uo["[object Object]"]=uo["[object RegExp]"]=uo["[object Set]"]=uo["[object String]"]=uo["[object WeakMap]"]=!1;var po={exports:{}};!function(e,t){var o=ne,r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,a=n&&n.exports===r&&o.process,i=function(){try{return n&&n.require&&n.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=i}(po,po.exports);var so,fo=po.exports,go=function(e){return co(e)&&lo(e.length)&&!!uo[io(e)]},ho=function(e){return function(t){return e(t)}},mo=fo&&fo.isTypedArray,xo=mo?ho(mo):go,bo=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},yo=mt,vo=G,Co=Object.prototype.hasOwnProperty,So=function(e,t,o){var r=e[t];Co.call(e,t)&&vo(r,o)&&(void 0!==o||t in e)||yo(e,t,o)},Do=mt,Mo=/^(?:0|[1-9]\d*)$/,Eo=function(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&Mo.test(e))&&e>-1&&e%1==0&&e<t},ko=Rt,zo=At,Lo=Jt,To=Eo,wo=xo,Io=Object.prototype.hasOwnProperty,_o=be,Wo=Tt,Oo=Object.prototype.hasOwnProperty,No=function(e,t){var o=zo(e),r=!o&&ko(e),n=!o&&!r&&Lo(e),a=!o&&!r&&!n&&wo(e),i=o||r||n||a,l=i?function(e,t){for(var o=-1,r=Array(e);++o<e;)r[o]=t(o);return r}(e.length,String):[],c=l.length;for(var u in e)!t&&!Io.call(e,u)||i&&("length"==u||n&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||To(u,c))||l.push(u);return l},Bo=function(e){if(!_o(e))return function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}(e);var t=Wo(e),o=[];for(var r in e)("constructor"!=r||!t&&Oo.call(e,r))&&o.push(r);return o},Fo=Vt,Ho=function(e){return Fo(e)?No(e,!0):Bo(e)},jo=function(e,t,o,r){var n=!o;o||(o={});for(var a=-1,i=t.length;++a<i;){var l=t[a],c=r?r(o[l],e[l],l,o,e):void 0;void 0===c&&(c=e[l]),n?Do(o,l,c):So(o,l,c)}return o},Po=Ho,Ro=yt,Ao=St,Xo=function(e,t){var o=t?function(e){var t=new e.constructor(e.byteLength);return new Dt(t).set(new Dt(e)),t}(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)},qo=function(e,t){var o=-1,r=e.length;for(t||(t=Array(r));++o<r;)t[o]=e[o];return t},Go=function(e){return"function"!=typeof e.constructor||_t(e)?{}:wt(It(e))},Vo=Rt,Uo=At,$o=function(e){return $t(e)&&Ut(e)},Yo=Jt,Ko=Ce,Jo=be,Qo=function(e){if(!eo(e)||"[object Object]"!=Qt(e))return!1;var t=Zt(e);if(null===t)return!0;var o=no.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&ro.call(o)==ao},Zo=xo,er=bo,tr=dt,or=yt,rr=vt,nr=function(e,t,o,r,n,a,i){var l=er(e,o),c=er(t,o),u=i.get(c);if(u)Ro(e,o,u);else{var p=a?a(l,c,o+"",e,t,i):void 0,s=void 0===p;if(s){var d=Uo(c),f=!d&&Yo(c),g=!d&&!f&&Zo(c);p=c,d||f||g?Uo(l)?p=l:$o(l)?p=qo(l):f?(s=!1,p=Ao(c,!0)):g?(s=!1,p=Xo(c,!0)):p=[]:Qo(c)||Vo(c)?(p=l,Vo(l)?p=function(e){return jo(e,Po(e))}(l):Jo(l)&&!Ko(l)||(p=Go(c))):s=!1}s&&(i.set(c,p),n(p,c,r,a,i),i.delete(c)),Ro(e,o,p)}},ar=be,ir=Ho,lr=bo,cr=function(e){return e},ur=Math.max,pr=function(e){return function(){return e}},sr=gt,dr=sr?function(e,t){return sr(e,"toString",{configurable:!0,enumerable:!1,value:pr(t),writable:!0})}:cr,fr=Date.now,gr=function(e){var t=0,o=0;return function(){var r=fr(),n=16-(r-o);if(o=r,n>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(dr),hr=cr,mr=function(e,t,o){return t=ur(void 0===t?e.length-1:t,0),function(){for(var r=arguments,n=-1,a=ur(r.length-t,0),i=Array(a);++n<a;)i[n]=r[t+n];n=-1;for(var l=Array(t+1);++n<t;)l[n]=r[n];return l[t]=o(i),function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}(e,this,l)}},xr=gr,br=G,yr=Vt,vr=Eo,Cr=be,Sr=function e(t,o,r,n,a){t!==o&&rr(o,(function(i,l){if(a||(a=new tr),ar(i))nr(t,o,l,r,e,n,a);else{var c=n?n(lr(t,l),i,l+"",t,o,a):void 0;void 0===c&&(c=i),or(t,l,c)}}),ir)},Dr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}((so=function(e,t,o){Sr(e,t,o)},function(e,t){return xr(mr(e,t,hr),e+"")}((function(e,t){var o=-1,r=t.length,n=r>1?t[r-1]:void 0,a=r>2?t[2]:void 0;for(n=so.length>3&&"function"==typeof n?(r--,n):void 0,a&&function(e,t,o){if(!Cr(o))return!1;var r=typeof t;return!!("number"==r?yr(o)&&vr(t,o.length):"string"==r&&t in o)&&br(o[t],e)}(t[0],t[1],a)&&(n=r<3?void 0:n,r=1),e=Object(e);++o<r;){var i=t[o];i&&so(e,i,o)}return e})))),Mr=function(e){return{MuiTextField:{styleOverrides:{root:{"&.DsTextField":{"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0},".DsTextField-passwordIcon":{cursor:"pointer"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",marginLeft:"8px",marginRight:"8px",marginTop:"5px",lineHeight:"12px",color:e.palette.greyDark,"&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 14px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultborder,WebkitTextFillColor:e.palette.greyDark},"&#text-field-mui":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 14px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultborder,WebkitTextFillColor:e.palette.greyDark}}},".MuiOutlinedInput-notchedOutline":{fontSize:"16px"},".MuiOutlinedInput-root":{padding:"0px !important","& fieldset":{borderWidth:"1px !important"},"&.Mui-error.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError},"&.Mui-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},"&.Mui-hover.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark},".MuiSvgIcon-root":{marginLeft:"-22px"}},".MuiInputLabel-root":{"&.Mui-error":{color:e.palette.redError+" !important"},fontWeight:500,"&#text-field-mui-label":{fontSize:"14px",lineHeight:"18px",height:"16px",color:"".concat(e.palette.greyDark),fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:0,color:e.palette.blueClickable,transform:"translate(14px, -7px) scale(0.75)"},"&.MuiFormLabel-colorSuccess":{"&.Mui-focused":{color:e.palette.greenSuccess+" !important"}}},"&#text-field-ds-label":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{color:e.palette.blueClickable,"&.MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess}}}}}}}}}},Er=function(e){return{MuiButton:{styleOverrides:{"@font-face":{fontFamily:"Roboto"},root:{borderRadius:"4px",padding:"7.5px 16px",fontWeight:e.typography.fontWeightBold,lineHeight:"18px",textTransform:"unset",fontSize:"14px",height:"44px",border:"1px solid"},primary:{color:e.palette.white+" !important",backgroundColor:e.palette.blueClickable+" !important",border:"1px solid !important",borderColor:e.palette.blueClickable+" !important","&.Mui-disabled":{backgroundColor:e.palette.greyMediumInactive+" !important",borderColor:e.palette.greyMediumInactive+" !important",color:e.palette.white+" !important"},"&:hover":{backgroundColor:e.palette.blueHoverClickable+" !important",borderColor:e.palette.blueHoverClickable+" !important"}},secondary:{color:e.palette.blueClickable,backgroundColor:e.palette.white,border:"1px solid",borderColor:e.palette.greyLightDefaultborder,"&.Mui-disabled":{backgroundColor:e.palette.white,borderColor:e.palette.greyLightDefaultborder+" !important",color:e.palette.greyMediumInactive+" !important"},"&:hover":{borderColor:e.palette.blueHoverClickable+" !important",backgroundColor:e.palette.white+" !important",color:e.palette.blueHoverClickable+" !important"}}}}}},kr=function(e){return{MuiAccordion:{styleOverrides:{root:{"&.DsAccordion":{border:"1px solid",borderColor:e.palette.greyLightDefaultBorder,boxShadow:"none",".MuiAccordionSummary-root":{padding:"8px 16px",color:e.palette.greyXDark,fontWeight:e.typography.fontWeightMedium,fontSize:"18px",lineHeight:"21px"},".MuiAccordionDetails-root":{padding:"16px"},".MuiAccordionSummary-expandIconWrapper .MuiBox-root":{width:"auto",padding:"13px"}}}}}}},zr=function(e){return{MuiPaginationItem:{styleOverrides:{root:{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",fontWeight:"700 !important",outline:"none !important",fontSize:"14px !important",borderColor:e.palette.greyMediumInactive+" !important","&:hover":{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&.Mui-selected":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderRadius:"4px !important",outline:"none !important","&:hover":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&:focus":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"}},"&.Mui-disabled":{color:e.palette.greyMediumInactive+" !important",backgroundColor:"white !important",borderRadius:"4px !important",outline:"none !important"}}}}}},Lr=function(e){return{MuiFormControl:{styleOverrides:{root:{"&.DsSelect":{".Mui-focused .MuiOutlinedInput-notchedOutline":{borderWidth:"1px"},".clear":{visibility:"hidden",alignSelf:"center",position:"relative",top:"3px"},"&:hover":{".clear":{visibility:"visible"}},"& .MuiSelect-select .notranslate::after":{fontWeight:400,lineHeight:"18px",fontSize:"14px",color:"#545352 !important"},"&#select-mui":{"&.Mui-filled":{".MuiInputLabel-root":{lineHeight:"16px !important",fontWeight:"500 !important",fontSize:"16px !important",marginTop:"2px !important"},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"13px 31px 11px 14px !important","&.Mui-disabled":{color:e.palette.greyDark}}},".MuiInputLabel-root":{fontSize:"14px",lineHeight:"18px",height:"16px",fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:"0px !important",color:"".concat(e.palette.blueClickable," !important"),transform:"translate(14px, -7px) scale(0.75)"}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 31px 10px 14px !important","&.Mui-disabled":{color:e.palette.greyDark}}},".SelectIcon":{color:e.palette.blueClickable,marginRight:"12px",marginTop:"0px",pointerEvents:"none",position:"absolute",right:"0px"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",marginLeft:"8px",marginRight:"8px",marginTop:"5px",lineHeight:"12px","&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"13px 31px 11px 14px !important","&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},"&#select-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-error":{color:e.palette.redError+" !important"},"&.Mui-disabled":{color:e.palette.greyDark+" !important"},"&.Mui-focused":{lineHeight:"16px",color:e.palette.blueClickable,fontWeight:500,fontSize:"16px",marginTop:0}}},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess+" !important"},".MuiInputBase-root":{backgroundColor:e.palette.white,".SelectIcon":{color:e.palette.blueClickable+" !important"},"&.Mui-error":{".SelectIcon":{color:e.palette.redError}}},".MuiInputBase-root.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultborder,WebkitTextFillColor:e.palette.greyDark},".MuiInputBase-colorSuccess":{".SelectIcon":{color:e.palette.greenSuccess+" !important",marginTop:"2px"},".MuiOutlinedInput-notchedOutline":{border:"1px solid",borderColor:e.palette.greenSuccess}},".MuiChip-root":{height:"24px"},".SelectIcon.Mui-disabled":{color:e.palette.greyMediumInactive+" !important"}}}}}}},Tr=function(e){return{MuiChip:{styleOverrides:{root:{"&.DSChip":{color:e.palette.greyXDark,borderRadius:"4px",fontWeight:e.palette.fontWeightRegular,fontSize:"14px",paddingLeft:"8px",paddingRight:"8px","& .MuiChip-deleteIcon":{color:e.palette.blueClickable,cursor:"default",width:"auto",height:"auto"},"&.Mui-disabled":{color:e.palette.greyDark+" !important",backgroundColor:e.palette.greyXLight+" !important",border:"1px solid",fontWeight:e.palette.fontWeightRegular,borderColor:e.palette.greyLightDefaultBorder,opacity:1,".MuiChip-deleteIcon":{color:e.palette.greyMediumInactive+" !important"}},".MuiChip-deleteIcon":{width:"12px",height:"12px",margin:0,marginLeft:"8px",marginRight:"2px"},".MuiChip-label":{padding:0,lineHeight:"18px",paddingTop:"1px"},".MuiChip-avatar":{marginLeft:"-1px",marginRight:"5px",color:"initial"}}},filled:{"&.DSChip":{border:"none",fontWeight:"400 !important",color:e.palette.greyXDark}},outlined:{"&.DSChip":{border:"1px solid"}},sizeSmall:{"&.DSChip":{height:"24px",paddingY:"3px"}},sizeMedium:{"&.DSChip":{height:"33px",paddingY:"8px"}},colorDefault:{"&.DSChip":{backgroundColor:e.palette.greyXLight,border:"none",color:e.palette.greyXDark}},colorPrimary:{"&.DSChip":{borderColor:e.palette.greyLightDefaultBorder+" !important",backgroundColor:e.palette.white,"&:hover":{color:e.palette.blueClickableHover}}},colorSecondary:{"&.DSChip":{backgroundColor:e.palette.blueClickable+" !important",color:e.palette.white+" !important","& .MuiChip-deleteIcon":{color:e.palette.greyXLight+" !important"}}},colorSuccess:{"&.DSChip":{border:"1px solid",borderColor:e.palette.greenSuccess+" !important",color:e.palette.greenSuccess,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.greenSuccess+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}},colorWarning:{"&.DSChip":{border:"1px solid",borderColor:e.palette.orangeWarning+" !important",color:e.palette.orangeWarning,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.orangeWarning+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}},colorInfo:{"&.DSChip":{border:"1px solid",borderColor:e.palette.blueInfo+" !important",color:e.palette.blueInfo,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.blueInfo+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}},colorError:{"&.DSChip":{border:"1px solid",borderColor:e.palette.redError+" !important",color:e.palette.redError,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.redError+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}}}}}},wr=function(e){return{MuiFormControl:{styleOverrides:{root:{"&.DsCheckbox":{"&.Mui-disabled":{".MuiFormControlLabel-root":{cursor:"auto !important"}},".MuiCheckbox-root":{width:"24px",height:"24px",marginRight:"4px",marginBottom:"2px",borderRadius:"4px","&.Mui-checked":{".MuiSvgIcon-root":{color:e.palette.blueClickable}},"&.Mui-disabled":{".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important",backgroundColor:e.palette.greyXLight,outline:"2px solid "+e.palette.white,outlineOffset:"-2px"}},"&:hover":{backgroundColor:e.palette.blueHoverEquivalence+" !important",".MuiSvgIcon-root":{color:e.palette.blueClickable+" !important"}}},".DsCheckbox-info":{marginTop:"-3px",marginLeft:"-5px",fontWeight:400,fontSize:"11px"},".DsCheckbox-label":{fontSize:"14px",marginLeft:"-2px",color:e.palette.greyXDark,fontWeight:400,"&.Mui-disabled":{color:e.palette.greyMediumInactive,fontWeight:700}},".MuiSvgIcon-root":{width:"18.67px",height:"18.67px",color:e.palette.greyLightDefaultBorder}}}}}}},Ir=function(e){return{MuiPaper:{styleOverrides:{root:{"&.DsSnackbar":{"&.MuiAlert-root":{color:"white",fontWeight:"700",fontSize:"14px",width:"350px"},"&.MuiAlert-standardSuccess":{backgroundColor:e.palette.greenSuccess},"&.MuiAlert-standardWarning":{backgroundColor:e.palette.orangeWarning},"&.MuiAlert-standardError":{backgroundColor:e.palette.redError},".MuiAlert-icon":{alignItems:"center"},".MuiSvgIcon-root":{color:"white"}}}}}}},_r=function(e){return{MuiPaper:{styleOverrides:{root:{"&.DsBannerNotification":{"&.MuiAlert-root":{color:"white",fontWeight:"700",fontSize:"14px",maxWidth:"1600px"},"&.MuiAlert-standardSuccess":{backgroundColor:e.palette.greenSuccess},"&.MuiAlert-standardWarning":{backgroundColor:e.palette.orangeWarning},"&.MuiAlert-standardError":{backgroundColor:e.palette.redError},"&.MuiAlert-standardInfo":{backgroundColor:e.palette.blueInfo},".MuiAlert-icon":{alignItems:"center"},".MuiSvgIcon-root":{color:"white"},".MuiAlert-action":{marginRight:0,padding:0,alignSelf:"center"}}}}}}},Wr=function(e){return{MuiFormControl:{styleOverrides:{root:{"&.DsRadio":{".MuiRadio-root":{height:"16px",width:"16px",marginRight:"8px"},".MuiSvgIcon-root":{flexShrink:0,height:"16px",width:"16px"},".MuiFormControlLabel-root":{margin:"0px",alignItems:"self-start"},".MuiFormControlLabel-label":{fontWeight:"400",fontSize:"14px",position:"relative",top:"-2px"},".MuiButtonBase-root":{color:e.palette.greyLightDefaultBorder,"&.Mui-checked":{color:e.palette.blueClickable}},".MuiFormLabel-root":{color:e.palette.greyXDark,fontWeight:"500",fontSize:"13px",paddingBottom:"4px",paddingLeft:"2px"},".MuiFormHelperText-root":{margin:"0px",paddingTop:"4px",fontSize:"11px"},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark},".MuiFormControlLabel-label":{color:e.palette.greyMediumInactive,fontWeight:"500"},".MuiButtonBase-root":{backgroundColor:e.palette.greyXLight,color:e.palette.greyMediumInactive,transform:"scale(0.889)","& span":{transform:"scale(1.3)"},"&.Mui-checked":{color:e.palette.greyMediumInactive}}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.greyDark},".MuiFormControlLabel-label":{color:e.palette.redError}}}}}}}},Or=e.createContext({isDarkTheme:!1,themeName:"Default",toggleDarkTheme:function(){}}),Nr=function(o){var r=o.children,n=function(t){var o=700,r=500,n=400,a=R,i={typography:{fontFamily:X(t).join(","),bigNumber:{fontWeight:o,lineHeight:a["".concat(t,"LineHeights49")]+"px",fontSize:a["".concat(t,"FontSize42")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing0")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},header1:{fontWeight:o,lineHeight:a["".concat(t,"LineHeights41")]+"px",fontSize:a["".concat(t,"FontSize35")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing0")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},header2:{fontWeight:r,lineHeight:a["".concat(t,"LineHeights34")]+"px",fontSize:a["".concat(t,"FontSize29")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing0")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},header3:{fontWeight:n,lineHeight:a["".concat(t,"LineHeights28")]+"px",fontSize:a["".concat(t,"FontSize24")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing0")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},header4:{fontWeight:r,lineHeight:a["".concat(t,"LineHeights21")]+"px",fontSize:a["".concat(t,"FontSize18")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing0")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},body1Regular:{fontWeight:n,lineHeight:a["".concat(t,"LineHeights18")]+"px",fontSize:a["".concat(t,"FontSize14")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing8")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},body1Medium:{fontWeight:r,lineHeight:a["".concat(t,"LineHeights18")]+"px",fontSize:a["".concat(t,"FontSize14")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing8")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},body1Bold:{fontWeight:o,lineHeight:a["".concat(t,"LineHeights18")]+"px",fontSize:a["".concat(t,"FontSize14")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing8")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},body2Regular:{fontWeight:n,lineHeight:a["".concat(t,"LineHeights16")]+"px",fontSize:a["".concat(t,"FontSize13")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing8")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},body2Medium:{fontWeight:r,lineHeight:a["".concat(t,"LineHeights16")]+"px",fontSize:a["".concat(t,"FontSize13")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing8")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},body2Bold:{fontWeight:o,lineHeight:a["".concat(t,"LineHeights16")]+"px",fontSize:a["".concat(t,"FontSize13")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing8")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},caption:{fontWeight:n,lineHeight:a["".concat(t,"LineHeights12")]+"px",fontSize:a["".concat(t,"FontSize11")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing0")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},buttonNotif:{fontWeight:o,lineHeight:a["".concat(t,"LineHeights18")]+"px",fontSize:a["".concat(t,"FontSize14")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing0")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationNone")]},link1:{fontWeight:o,lineHeight:a["".concat(t,"LineHeights18")]+"px",fontSize:a["".concat(t,"FontSize14")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing0")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationUnderline")]},link2:{fontWeight:o,lineHeight:a["".concat(t,"LineHeights16")]+"px",fontSize:a["".concat(t,"FontSize13")]+"px",letterSpacing:a["".concat(t,"LetterSpacingNone")],paragraphSpacing:a["".concat(t,"ParagraphSpacing0")]+"px",textCase:a["".concat(t,"TextCaseNone")],textDecoration:a["".concat(t,"TextDecorationUnderline")]},fontWeightRegular:n,fontWeightMedium:r,fontWeightBold:o},breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},palette:A(t)},l=function(t){return{muiCss:e.useMemo((function(){return{components:P(P({},Dr(Mr(t),Er(t),kr(t),zr(t),Lr(t),Tr(t),{DsTooltip:{styleOverrides:{root:{"& .MuiIconButton-root":{padding:0,"& .MuiBox-root":{width:0}}}}}},wr(t),Ir(t),_r(t),Wr(t))),{MuiCssBaseline:{styleOverrides:{body:{backgroundColor:"inherit",color:"inherit",fontWeight:400},"@font-face":{fontFamily:"Roboto"}}},MuiSvgIcon:{styleOverrides:{colorSuccess:{color:t.palette.success.main}}}})}}),[t])}}(i).muiCss;return{muiTokens:e.useMemo((function(){return P(P({},i),l)}),[i,l])}}(e.useContext(Or).themeName).muiTokens,a=t.createTheme(n);return e.createElement(t.ThemeProvider,{theme:a},r)};exports.Accordion=O,exports.BannerNotification=j,exports.Button=M,exports.Checkbox=_,exports.Chip=w,exports.DesignSystemContext=Or,exports.DesignSystemProvider=function(t){var o=t.children,r=t.name,n=void 0===r?"Default":r,a=e.useState(!1),i=a[0],l=a[1];return e.createElement(Or.Provider,{value:{isDarkTheme:i,themeName:n,toggleDarkTheme:function(){l(!i)}}},e.createElement(Nr,null,o))},exports.EmbeddedNotification=B,exports.IconProvider=z,exports.Link=D,exports.MultiSelect=I,exports.Pagination=N,exports.Radio=W,exports.Select=T,exports.Snackbar=H,exports.Text=S,exports.TextField=L,exports.Tooltip=F;
2
2
  //# sourceMappingURL=index.js.map