@dxc-technology/halstack-react 0.0.0-ed1185a → 0.0.0-ed41d64

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 (196) hide show
  1. package/README.md +27 -47
  2. package/dist/index.d.mts +6802 -0
  3. package/dist/index.d.ts +6802 -0
  4. package/dist/index.js +4372 -0
  5. package/dist/index.mjs +4372 -0
  6. package/package.json +76 -66
  7. package/babel.config.js +0 -8
  8. package/dist/BackgroundColorContext.js +0 -46
  9. package/dist/ThemeContext.js +0 -216
  10. package/dist/accordion/Accordion.js +0 -356
  11. package/dist/accordion/Accordion.stories.js +0 -207
  12. package/dist/accordion/readme.md +0 -96
  13. package/dist/accordion-group/AccordionGroup.js +0 -188
  14. package/dist/accordion-group/AccordionGroup.stories.js +0 -207
  15. package/dist/accordion-group/readme.md +0 -70
  16. package/dist/alert/Alert.js +0 -388
  17. package/dist/alert/Alert.stories.js +0 -158
  18. package/dist/alert/close.svg +0 -4
  19. package/dist/alert/error.svg +0 -4
  20. package/dist/alert/info.svg +0 -4
  21. package/dist/alert/readme.md +0 -43
  22. package/dist/alert/success.svg +0 -4
  23. package/dist/alert/warning.svg +0 -4
  24. package/dist/badge/Badge.js +0 -61
  25. package/dist/box/Box.js +0 -164
  26. package/dist/button/Button.js +0 -228
  27. package/dist/button/Button.stories.js +0 -224
  28. package/dist/button/readme.md +0 -93
  29. package/dist/card/Card.js +0 -247
  30. package/dist/checkbox/Checkbox.js +0 -291
  31. package/dist/checkbox/Checkbox.stories.js +0 -144
  32. package/dist/checkbox/readme.md +0 -116
  33. package/dist/chip/Chip.js +0 -277
  34. package/dist/common/OpenSans.css +0 -81
  35. package/dist/common/RequiredComponent.js +0 -40
  36. package/dist/common/fonts/OpenSans-Bold.ttf +0 -0
  37. package/dist/common/fonts/OpenSans-BoldItalic.ttf +0 -0
  38. package/dist/common/fonts/OpenSans-ExtraBold.ttf +0 -0
  39. package/dist/common/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
  40. package/dist/common/fonts/OpenSans-Italic.ttf +0 -0
  41. package/dist/common/fonts/OpenSans-Light.ttf +0 -0
  42. package/dist/common/fonts/OpenSans-LightItalic.ttf +0 -0
  43. package/dist/common/fonts/OpenSans-Regular.ttf +0 -0
  44. package/dist/common/fonts/OpenSans-SemiBold.ttf +0 -0
  45. package/dist/common/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
  46. package/dist/common/utils.js +0 -22
  47. package/dist/common/variables.js +0 -1049
  48. package/dist/date/Date.js +0 -359
  49. package/dist/date/Date.stories.js +0 -205
  50. package/dist/date/calendar.svg +0 -1
  51. package/dist/date/calendar_dark.svg +0 -1
  52. package/dist/date/readme.md +0 -73
  53. package/dist/dialog/Dialog.js +0 -236
  54. package/dist/dialog/Dialog.stories.js +0 -217
  55. package/dist/dialog/readme.md +0 -32
  56. package/dist/dropdown/Dropdown.js +0 -498
  57. package/dist/dropdown/Dropdown.stories.js +0 -249
  58. package/dist/dropdown/baseline-arrow_drop_down.svg +0 -1
  59. package/dist/dropdown/baseline-arrow_drop_down_wh.svg +0 -4
  60. package/dist/dropdown/baseline-arrow_drop_up.svg +0 -1
  61. package/dist/dropdown/baseline-arrow_drop_up_wh.svg +0 -4
  62. package/dist/dropdown/readme.md +0 -69
  63. package/dist/footer/Footer.js +0 -405
  64. package/dist/footer/Footer.stories.js +0 -94
  65. package/dist/footer/dxc_logo_wht.png +0 -0
  66. package/dist/footer/readme.md +0 -41
  67. package/dist/header/Header.js +0 -431
  68. package/dist/header/Header.stories.js +0 -176
  69. package/dist/header/close_icon.svg +0 -1
  70. package/dist/header/dxc_logo_black.png +0 -0
  71. package/dist/header/dxc_logo_blk_rgb.svg +0 -6
  72. package/dist/header/dxc_logo_white.png +0 -0
  73. package/dist/header/hamb_menu_black.svg +0 -1
  74. package/dist/header/hamb_menu_white.svg +0 -1
  75. package/dist/header/readme.md +0 -33
  76. package/dist/heading/Heading.js +0 -222
  77. package/dist/input-text/InputText.js +0 -631
  78. package/dist/input-text/InputText.stories.js +0 -209
  79. package/dist/input-text/error.svg +0 -1
  80. package/dist/input-text/readme.md +0 -91
  81. package/dist/layout/ApplicationLayout.js +0 -331
  82. package/dist/layout/facebook.svg +0 -45
  83. package/dist/layout/linkedin.svg +0 -50
  84. package/dist/layout/twitter.svg +0 -53
  85. package/dist/link/Link.js +0 -212
  86. package/dist/link/readme.md +0 -51
  87. package/dist/main.js +0 -311
  88. package/dist/paginator/Paginator.js +0 -283
  89. package/dist/paginator/images/next.svg +0 -3
  90. package/dist/paginator/images/nextPage.svg +0 -3
  91. package/dist/paginator/images/previous.svg +0 -3
  92. package/dist/paginator/images/previousPage.svg +0 -3
  93. package/dist/paginator/readme.md +0 -50
  94. package/dist/progress-bar/ProgressBar.js +0 -206
  95. package/dist/progress-bar/ProgressBar.stories.js +0 -280
  96. package/dist/progress-bar/readme.md +0 -63
  97. package/dist/radio/Radio.js +0 -209
  98. package/dist/radio/Radio.stories.js +0 -166
  99. package/dist/radio/readme.md +0 -70
  100. package/dist/resultsetTable/ResultsetTable.js +0 -332
  101. package/dist/resultsetTable/arrow_downward-24px_wht.svg +0 -1
  102. package/dist/resultsetTable/arrow_upward-24px_wht.svg +0 -1
  103. package/dist/resultsetTable/unfold_more-24px_wht.svg +0 -1
  104. package/dist/select/Select.js +0 -525
  105. package/dist/select/Select.stories.js +0 -235
  106. package/dist/select/readme.md +0 -72
  107. package/dist/sidenav/Sidenav.js +0 -183
  108. package/dist/slider/Slider.js +0 -267
  109. package/dist/slider/Slider.stories.js +0 -241
  110. package/dist/slider/readme.md +0 -64
  111. package/dist/spinner/Spinner.js +0 -214
  112. package/dist/spinner/Spinner.stories.js +0 -183
  113. package/dist/spinner/readme.md +0 -65
  114. package/dist/switch/Switch.js +0 -222
  115. package/dist/switch/Switch.stories.js +0 -134
  116. package/dist/switch/readme.md +0 -133
  117. package/dist/table/Table.js +0 -118
  118. package/dist/tabs/Tabs.js +0 -347
  119. package/dist/tabs/Tabs.stories.js +0 -130
  120. package/dist/tabs/readme.md +0 -78
  121. package/dist/tabs-for-sections/TabsForSections.js +0 -92
  122. package/dist/tabs-for-sections/readme.md +0 -78
  123. package/dist/tag/Tag.js +0 -268
  124. package/dist/textarea/Textarea.js +0 -260
  125. package/dist/toggle/Toggle.js +0 -220
  126. package/dist/toggle/Toggle.stories.js +0 -297
  127. package/dist/toggle/readme.md +0 -80
  128. package/dist/toggle-group/ToggleGroup.js +0 -241
  129. package/dist/toggle-group/readme.md +0 -82
  130. package/dist/upload/Upload.js +0 -209
  131. package/dist/upload/Upload.stories.js +0 -72
  132. package/dist/upload/buttons-upload/ButtonsUpload.js +0 -123
  133. package/dist/upload/buttons-upload/drag-drop-icon.svg +0 -4
  134. package/dist/upload/buttons-upload/upload-button.svg +0 -1
  135. package/dist/upload/dragAndDropArea/DragAndDropArea.js +0 -293
  136. package/dist/upload/dragAndDropArea/upload_drop.svg +0 -4
  137. package/dist/upload/dragAndDropArea/upload_file.svg +0 -4
  138. package/dist/upload/file-upload/FileToUpload.js +0 -162
  139. package/dist/upload/file-upload/audio-icon.svg +0 -4
  140. package/dist/upload/file-upload/close.svg +0 -4
  141. package/dist/upload/file-upload/file-icon.svg +0 -4
  142. package/dist/upload/file-upload/video-icon.svg +0 -4
  143. package/dist/upload/files-upload/FilesToUpload.js +0 -123
  144. package/dist/upload/readme.md +0 -37
  145. package/dist/upload/transaction/Transaction.js +0 -152
  146. package/dist/upload/transaction/audio-icon-err.svg +0 -4
  147. package/dist/upload/transaction/audio-icon.svg +0 -4
  148. package/dist/upload/transaction/error-icon.svg +0 -4
  149. package/dist/upload/transaction/file-icon-err.svg +0 -4
  150. package/dist/upload/transaction/file-icon.svg +0 -4
  151. package/dist/upload/transaction/image-icon-err.svg +0 -4
  152. package/dist/upload/transaction/image-icon.svg +0 -4
  153. package/dist/upload/transaction/success-icon.svg +0 -4
  154. package/dist/upload/transaction/video-icon-err.svg +0 -4
  155. package/dist/upload/transaction/video-icon.svg +0 -4
  156. package/dist/upload/transactions/Transactions.js +0 -122
  157. package/dist/useTheme.js +0 -22
  158. package/dist/wizard/Wizard.js +0 -383
  159. package/dist/wizard/invalid_icon.svg +0 -6
  160. package/dist/wizard/valid_icon.svg +0 -6
  161. package/dist/wizard/validation-wrong.svg +0 -6
  162. package/test/Accordion.test.js +0 -33
  163. package/test/AccordionGroup.test.js +0 -125
  164. package/test/Alert.test.js +0 -53
  165. package/test/Box.test.js +0 -10
  166. package/test/Button.test.js +0 -18
  167. package/test/Card.test.js +0 -30
  168. package/test/Checkbox.test.js +0 -45
  169. package/test/Chip.test.js +0 -25
  170. package/test/Date.test.js +0 -393
  171. package/test/Dialog.test.js +0 -23
  172. package/test/Dropdown.test.js +0 -130
  173. package/test/Footer.test.js +0 -99
  174. package/test/Header.test.js +0 -39
  175. package/test/Heading.test.js +0 -35
  176. package/test/InputText.test.js +0 -240
  177. package/test/Link.test.js +0 -42
  178. package/test/Paginator.test.js +0 -177
  179. package/test/ProgressBar.test.js +0 -35
  180. package/test/Radio.test.js +0 -37
  181. package/test/ResultsetTable.test.js +0 -330
  182. package/test/Select.test.js +0 -192
  183. package/test/Sidenav.test.js +0 -45
  184. package/test/Slider.test.js +0 -82
  185. package/test/Spinner.test.js +0 -27
  186. package/test/Switch.test.js +0 -45
  187. package/test/Table.test.js +0 -36
  188. package/test/Tabs.test.js +0 -109
  189. package/test/TabsForSections.test.js +0 -34
  190. package/test/Tag.test.js +0 -32
  191. package/test/TextArea.test.js +0 -52
  192. package/test/ToggleGroup.test.js +0 -81
  193. package/test/Upload.test.js +0 -60
  194. package/test/Wizard.test.js +0 -130
  195. package/test/mocks/pngMock.js +0 -1
  196. package/test/mocks/svgMock.js +0 -1
package/dist/index.js ADDED
@@ -0,0 +1,4372 @@
1
+ var Sd=Object.create;var Zr=Object.defineProperty;var Id=Object.getOwnPropertyDescriptor;var Bd=Object.getOwnPropertyNames;var Pd=Object.getPrototypeOf,Ld=Object.prototype.hasOwnProperty;var Dd=(e,t)=>{for(var r in t)Zr(e,r,{get:t[r],enumerable:!0})},ki=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bd(t))!Ld.call(e,i)&&i!==r&&Zr(e,i,{get:()=>t[i],enumerable:!(n=Id(t,i))||n.enumerable});return e};var F=(e,t,r)=>(r=e!=null?Sd(Pd(e)):{},ki(t||!e||!e.__esModule?Zr(r,"default",{value:e,enumerable:!0}):r,e)),zd=e=>ki(Zr({},"__esModule",{value:!0}),e);var x0={};Dd(x0,{DxcAccordion:()=>on,DxcAccordionGroup:()=>Wi,DxcAlert:()=>Vi,DxcApplicationLayout:()=>_l,DxcBadge:()=>$t,DxcBleed:()=>wr,DxcBreadcrumbs:()=>wl,DxcBulletedList:()=>Pl,DxcButton:()=>bo,DxcCard:()=>zl,DxcCheckbox:()=>Ut,DxcChip:()=>Ml,DxcContainer:()=>Wl,DxcContextualMenu:()=>ea,DxcDataGrid:()=>Pa,DxcDateInput:()=>qa,DxcDialog:()=>nc,DxcDivider:()=>Tn,DxcDropdown:()=>xt,DxcFileInput:()=>dc,DxcFlex:()=>ne,DxcGrid:()=>mc,DxcHeading:()=>zn,DxcImage:()=>pc,DxcInset:()=>Yt,DxcLink:()=>bc,DxcNavTabs:()=>_c,DxcNumberInput:()=>vc,DxcPaginator:()=>ur,DxcParagraph:()=>Tc,DxcPasswordInput:()=>Ic,DxcProgressBar:()=>Bc,DxcQuickNav:()=>Lc,DxcRadioGroup:()=>zc,DxcResultsetTable:()=>Mc,DxcSelect:()=>Mr,DxcSlider:()=>Oc,DxcSpinner:()=>jn,DxcStatusLight:()=>Jc,DxcSwitch:()=>Yc,DxcTable:()=>Bn,DxcTabs:()=>nd,DxcTag:()=>cd,DxcTextInput:()=>jo,DxcTextarea:()=>md,DxcToastsQueue:()=>hd,DxcToggleGroup:()=>fd,DxcTooltip:()=>ei,DxcTypography:()=>vt,DxcWizard:()=>xd,HalstackContext:()=>Qr,HalstackLanguageContext:()=>Fr,HalstackProvider:()=>Ho,useToast:()=>_d});module.exports=zd(x0);var en=require("react"),ho=F(require("styled-components"));var Fi={color_black:"#000000",color_white:"#ffffff",color_transparent:"transparent",color_grey_50:"#fafafa",color_grey_100:"#f2f2f2",color_grey_200:"#e6e6e6",color_grey_300:"#cccccc",color_grey_400:"#bfbfbf",color_grey_500:"#999999",color_grey_600:"#808080",color_grey_700:"#666666",color_grey_800:"#4d4d4d",color_grey_900:"#333333",color_grey_50_a:"#00000005",color_grey_100_a:"#0000000d",color_grey_200_a:"#0000001a",color_grey_300_a:"#00000033",color_grey_400_a:"#0000004d",color_grey_500_a:"#00000066",color_grey_600_a:"#00000080",color_grey_700_a:"#00000099",color_grey_800_a:"#000000b3",color_grey_900_a:"#000000cc",color_purple_50:"#faf7fd",color_purple_100:"#f2eafa",color_purple_200:"#e5d5f6",color_purple_300:"#cbacec",color_purple_400:"#b182e3",color_purple_500:"#a46ede",color_purple_600:"#7d2fd0",color_purple_700:"#5f249f",color_purple_800:"#4b1c7d",color_purple_900:"#321353",color_blue_50:"#f5fbff",color_blue_100:"#e6f4ff",color_blue_200:"#cceaff",color_blue_300:"#99d5ff",color_blue_400:"#66bfff",color_blue_500:"#33aaff",color_blue_600:"#0095ff",color_blue_700:"#0086e6",color_blue_800:"#0067b3",color_blue_900:"#003c66",color_red_50:"#fff5f6",color_red_100:"#ffe6e9",color_red_200:"#ffccd3",color_red_300:"#fe9aa7",color_red_400:"#fe677b",color_red_500:"#fe344f",color_red_600:"#fe0123",color_red_700:"#d0011b",color_red_800:"#980115",color_red_900:"#65010e",color_green_50:"#f7fdf9",color_green_100:"#eafaef",color_green_200:"#d5f6df",color_green_300:"#acecbe",color_green_400:"#82e39e",color_green_500:"#59d97d",color_green_600:"#2fd05d",color_green_700:"#24a148",color_green_800:"#1c7d38",color_green_900:"#135325",color_yellow_50:"#fffdf5",color_yellow_100:"#fef9e6",color_yellow_200:"#fdf4ce",color_yellow_300:"#fbe89d",color_yellow_400:"#fadd6b",color_yellow_500:"#f7cf2b",color_yellow_600:"#f6c709",color_yellow_700:"#c59f07",color_yellow_800:"#947705",color_yellow_900:"#624f04",color_orange_50:"#fefaf5",color_orange_100:"#fef3e7",color_orange_200:"#fce7cf",color_orange_300:"#facf9e",color_orange_400:"#f7b76e",color_orange_500:"#f59f3d",color_orange_600:"#f38f20",color_orange_700:"#c26c0a",color_orange_800:"#915108",color_orange_900:"#613605"},Tr=e=>Fi[e],Ad={spacing_0:"0rem",spacing_2:"0.125rem",spacing_4:"0.25rem",spacing_8:"0.5rem",spacing_12:"0.75rem",spacing_16:"1rem",spacing_24:"1.5rem",spacing_32:"2rem",spacing_40:"2.5rem",spacing_48:"3rem",spacing_56:"3.5rem",spacing_64:"4rem",spacing_80:"5rem",spacing_96:"6rem",spacing_112:"7rem"},Rd={...Fi,...Ad,inherit:"inherit",type_sans:"Open Sans, sans-serif",type_scale_08:"3.75rem",type_scale_07:"2.5rem",type_scale_06:"2rem",type_scale_05:"1.5rem",type_scale_04:"1.25rem",type_scale_03:"1rem",type_scale_02:"0.875rem",type_scale_01:"0.75rem",type_light:"300",type_regular:"400",type_semibold:"600",type_bold:"bold",type_italic:"italic",type_normal:"normal",type_spacing_tight_02:"-0.05em",type_spacing_tight_01:"-0.025em",type_spacing_normal:"0em",type_spacing_wide_01:"0.025em",type_spacing_wide_02:"0.05em",type_spacing_wide_03:"0.1em",type_initial:"initial",type_uppercase:"uppercase",type_no_line:"none",type_underline:"underline",type_line_through:"line-through",type_leading_compact_03:"1em",type_leading_compact_02:"1.25em",type_leading_compact_01:"1.365em",type_leading_normal:"1.5em",type_leading_loose_01:"1.715em",type_leading_loose_02:"2em",border_width_0:"0px",border_width_1:"1px",border_width_2:"2px",border_width_4:"4px",border_radius_none:"0rem",border_radius_small:"0.125rem",border_radius_medium:"0.25rem",border_radius_large:"0.375rem",border_solid:"solid",border_dashed:"dashed",border_none:"none"},o=Rd;var ee={accordion:{backgroundColor:o.color_white,hoverBackgroundColor:o.color_purple_100,arrowColor:o.color_purple_700,disabledArrowColor:o.color_grey_500,assistiveTextFontFamily:o.type_sans,assistiveTextFontSize:o.type_scale_03,assistiveTextFontWeight:o.type_light,assistiveTextFontStyle:o.type_italic,assistiveTextLetterSpacing:o.type_spacing_wide_01,assistiveTextFontColor:o.color_grey_700,disabledAssistiveTextFontColor:o.color_grey_500,assistiveTextMinWidth:"100px",assistiveTextPaddingRight:o.spacing_24,assistiveTextPaddingLeft:o.spacing_0,titleLabelFontFamily:o.type_sans,titleLabelFontSize:o.type_scale_03,titleLabelFontWeight:o.type_regular,titleLabelFontStyle:o.type_normal,titleLabelFontColor:o.color_black,disabledTitleLabelFontColor:o.color_grey_500,titleLabelPaddingTop:o.spacing_0,titleLabelPaddingBottom:o.spacing_0,titleLabelPaddingLeft:o.spacing_0,titleLabelPaddingRight:o.spacing_16,focusBorderColor:o.color_blue_600,focusBorderStyle:o.border_solid,focusBorderThickness:"2px",borderRadius:"4px",boxShadowOffsetX:"0px",boxShadowOffsetY:"6px",boxShadowBlur:"10px",boxShadowColor:o.color_grey_200_a,iconColor:o.color_purple_700,disabledIconColor:o.color_grey_500,iconSize:"24px",iconMarginLeft:o.spacing_0,iconMarginRight:o.spacing_12,accordionGroupSeparatorBorderColor:o.color_grey_200_a,accordionGroupSeparatorBorderThickness:"1px",accordionGroupSeparatorBorderRadius:"0px",accordionGroupSeparatorBorderStyle:o.border_solid},alert:{titleFontFamily:o.type_sans,titleFontColor:o.color_black,titleFontSize:o.type_scale_01,titleFontStyle:o.type_normal,titleFontWeight:o.type_bold,titleTextTransform:o.type_uppercase,titlePaddingRight:o.spacing_0,titlePaddingLeft:o.spacing_0,inlineTextFontFamily:o.type_sans,inlineTextFontColor:o.color_black,inlineTextFontSize:o.type_scale_01,inlineTextFontStyle:o.type_normal,inlineTextFontWeight:o.type_regular,inlineTextPaddingLeft:o.spacing_0,inlineTextPaddingRight:o.spacing_0,contentPaddingLeft:o.spacing_0,contentPaddingRight:o.spacing_0,contentPaddingTop:"20px",contentPaddingBottom:"30px",borderRadius:"4px",borderStyle:o.border_solid,borderThickness:"1px",infoBorderColor:o.color_blue_800,successBorderColor:o.color_green_700,warningBorderColor:o.color_yellow_700,errorBorderColor:o.color_red_700,iconSize:"24px",iconPaddingLeft:o.spacing_0,iconPaddingRight:o.spacing_0,infoIconColor:o.color_blue_800,successIconColor:o.color_green_700,warningIconColor:o.color_yellow_700,errorIconColor:o.color_red_700,infoBackgroundColor:o.color_blue_100,successBackgroundColor:o.color_green_100,warningBackgroundColor:o.color_yellow_100,errorBackgroundColor:o.color_red_100,hoverActionBackgroundColor:o.color_grey_100_a,activeActionBackgroundColor:o.color_grey_200_a,focusActionBorderColor:o.color_blue_600,overlayColor:o.color_grey_800_a},bulletedList:{fontColor:o.color_black,bulletIconHeight:"1.5rem",bulletIconWidth:"1.5rem",bulletHeight:"5px",bulletWidth:"5px",bulletMarginRight:o.spacing_8},button:{labelFontLineHeight:o.type_leading_normal,labelLetterSpacing:o.type_spacing_wide_01,paddingSmallTop:o.spacing_0,paddingSmallLeft:o.spacing_8,paddingSmallBottom:o.spacing_0,paddingSmallRight:o.spacing_8,paddingSmallOnlyIconTop:o.spacing_0,paddingSmallOnlyIconLeft:o.spacing_4,paddingSmallOnlyIconBottom:o.spacing_0,paddingSmallOnlyIconRight:o.spacing_4,paddingMediumTop:o.spacing_0,paddingMediumLeft:o.spacing_8,paddingMediumBottom:o.spacing_0,paddingMediumRight:o.spacing_8,paddingMediumOnlyIconTop:o.spacing_0,paddingMediumOnlyIconLeft:o.spacing_8,paddingMediumOnlyIconBottom:o.spacing_0,paddingMediumOnlyIconRight:o.spacing_8,paddingLargeTop:o.spacing_0,paddingLargeLeft:o.spacing_16,paddingLargeBottom:o.spacing_0,paddingLargeRight:o.spacing_16,paddingLargeOnlyIconTop:o.spacing_0,paddingLargeOnlyIconLeft:o.spacing_8,paddingLargeOnlyIconBottom:o.spacing_0,paddingLargeOnlyIconRight:o.spacing_8,focusBorderColor:o.color_blue_500,primaryDefaultBackgroundColor:o.color_purple_700,primaryErrorBackgroundColor:o.color_red_700,primaryWarningBackgroundColor:o.color_orange_700,primarySuccessBackgroundColor:o.color_green_700,primaryInfoBackgroundColor:o.color_blue_700,primaryDefaultFontColor:o.color_white,primaryErrorFontColor:o.color_white,primaryWarningFontColor:o.color_white,primarySuccessFontColor:o.color_white,primaryInfoFontColor:o.color_white,primaryHoverDefaultBackgroundColor:o.color_purple_800,primaryHoverErrorBackgroundColor:o.color_red_800,primaryHoverWarningBackgroundColor:o.color_orange_800,primaryHoverSuccessBackgroundColor:o.color_green_800,primaryHoverInfoBackgroundColor:o.color_blue_800,primaryActiveDefaultBackgroundColor:o.color_purple_900,primaryActiveErrorBackgroundColor:o.color_red_900,primaryActiveWarningBackgroundColor:o.color_orange_900,primaryActiveSuccessBackgroundColor:o.color_green_900,primaryActiveInfoBackgroundColor:o.color_blue_900,primaryDisabledDefaultBackgroundColor:o.color_purple_100,primaryDisabledErrorBackgroundColor:o.color_red_100,primaryDisabledWarningBackgroundColor:o.color_orange_100,primaryDisabledSuccessBackgroundColor:o.color_green_100,primaryDisabledInfoBackgroundColor:o.color_blue_100,primaryDisabledDefaultFontColor:o.color_purple_300,primaryDisabledErrorFontColor:o.color_red_300,primaryDisabledWarningFontColor:o.color_orange_300,primaryDisabledSuccessFontColor:o.color_green_300,primaryDisabledInfoFontColor:o.color_blue_300,primaryBorderThickness:o.border_width_0,primaryBorderStyle:o.border_none,primaryBorderRadius:o.border_radius_medium,primaryFontFamily:o.type_sans,primarySmallFontSize:o.type_scale_02,primaryMediumFontSize:o.type_scale_02,primaryLargeFontSize:o.type_scale_03,primaryFontWeight:o.type_semibold,secondaryDefaultBackgroundColor:o.color_transparent,secondaryErrorBackgroundColor:o.color_transparent,secondaryWarningBackgroundColor:o.color_transparent,secondarySuccessBackgroundColor:o.color_transparent,secondaryInfoBackgroundColor:o.color_transparent,secondaryDefaultFontColor:o.color_purple_700,secondaryErrorFontColor:o.color_red_700,secondaryWarningFontColor:o.color_orange_700,secondarySuccessFontColor:o.color_green_700,secondaryInfoFontColor:o.color_blue_700,secondaryDefaultBorderColor:o.color_purple_700,secondaryErrorBorderColor:o.color_red_700,secondaryWarningBorderColor:o.color_orange_700,secondarySuccessBorderColor:o.color_green_700,secondaryInfoBorderColor:o.color_blue_700,secondaryHoverDefaultBackgroundColor:o.color_purple_700,secondaryHoverErrorBackgroundColor:o.color_red_700,secondaryHoverWarningBackgroundColor:o.color_orange_700,secondaryHoverSuccessBackgroundColor:o.color_green_700,secondaryHoverInfoBackgroundColor:o.color_blue_700,secondaryHoverDefaultFontColor:o.color_white,secondaryHoverErrorFontColor:o.color_white,secondaryHoverWarningFontColor:o.color_white,secondaryHoverSuccessFontColor:o.color_white,secondaryHoverInfoFontColor:o.color_white,secondaryActiveDefaultBackgroundColor:o.color_purple_800,secondaryActiveErrorBackgroundColor:o.color_red_800,secondaryActiveWarningBackgroundColor:o.color_orange_800,secondaryActiveSuccessBackgroundColor:o.color_green_800,secondaryActiveInfoBackgroundColor:o.color_blue_800,secondaryDisabledDefaultBackgroundColor:o.color_transparent,secondaryDisabledErrorBackgroundColor:o.color_transparent,secondaryDisabledWarningBackgroundColor:o.color_transparent,secondaryDisabledSuccessBackgroundColor:o.color_transparent,secondaryDisabledInfoBackgroundColor:o.color_transparent,secondaryDisabledDefaultFontColor:o.color_purple_300,secondaryDisabledErrorFontColor:o.color_red_300,secondaryDisabledWarningFontColor:o.color_orange_300,secondaryDisabledSuccessFontColor:o.color_green_300,secondaryDisabledInfoFontColor:o.color_blue_300,secondaryDisabledDefaultBorderColor:o.color_purple_300,secondaryDisabledErrorBorderColor:o.color_red_300,secondaryDisabledWarningBorderColor:o.color_orange_300,secondaryDisabledSuccessBorderColor:o.color_green_300,secondaryDisabledInfoBorderColor:o.color_blue_300,secondaryBorderThickness:o.border_width_1,secondaryBorderStyle:o.border_solid,secondaryBorderRadius:o.border_radius_medium,secondaryFontFamily:o.type_sans,secondarySmallFontSize:o.type_scale_02,secondaryMediumFontSize:o.type_scale_02,secondaryLargeFontSize:o.type_scale_03,secondaryFontWeight:o.type_semibold,tertiaryDefaultBackgroundColor:o.color_transparent,tertiaryErrorBackgroundColor:o.color_transparent,tertiaryWarningBackgroundColor:o.color_transparent,tertiarySuccessBackgroundColor:o.color_transparent,tertiaryInfoBackgroundColor:o.color_transparent,tertiaryDefaultFontColor:o.color_purple_700,tertiaryErrorFontColor:o.color_red_700,tertiaryWarningFontColor:o.color_orange_700,tertiarySuccessFontColor:o.color_green_700,tertiaryInfoFontColor:o.color_blue_700,tertiaryHoverDefaultBackgroundColor:o.color_purple_100,tertiaryHoverErrorBackgroundColor:o.color_red_100,tertiaryHoverWarningBackgroundColor:o.color_orange_100,tertiaryHoverSuccessBackgroundColor:o.color_green_100,tertiaryHoverInfoBackgroundColor:o.color_blue_100,tertiaryActiveDefaultBackgroundColor:o.color_purple_200,tertiaryActiveErrorBackgroundColor:o.color_red_200,tertiaryActiveWarningBackgroundColor:o.color_orange_200,tertiaryActiveSuccessBackgroundColor:o.color_green_200,tertiaryActiveInfoBackgroundColor:o.color_blue_200,tertiaryDisabledDefaultBackgroundColor:o.color_transparent,tertiaryDisabledErrorBackgroundColor:o.color_transparent,tertiaryDisabledWarningBackgroundColor:o.color_transparent,tertiaryDisabledSuccessBackgroundColor:o.color_transparent,tertiaryDisabledInfoBackgroundColor:o.color_transparent,tertiaryDisabledDefaultFontColor:o.color_purple_300,tertiaryDisabledErrorFontColor:o.color_red_300,tertiaryDisabledWarningFontColor:o.color_orange_300,tertiaryDisabledSuccessFontColor:o.color_green_300,tertiaryDisabledInfoFontColor:o.color_blue_300,tertiaryBorderThickness:o.border_width_0,tertiaryBorderStyle:o.border_none,tertiaryBorderRadius:o.border_radius_medium,tertiaryFontFamily:o.type_sans,tertiarySmallFontSize:o.type_scale_02,tertiaryMediumFontSize:o.type_scale_02,tertiaryLargeFontSize:o.type_scale_03,tertiaryFontWeight:o.type_semibold},card:{height:"220px",width:"400px"},checkbox:{backgroundColorChecked:o.color_blue_800,hoverBackgroundColorChecked:o.color_blue_900,disabledBackgroundColorChecked:o.color_grey_500,readOnlyBackgroundColorChecked:o.color_grey_500,hoverReadOnlyBackgroundColorChecked:o.color_grey_600,borderColor:o.color_blue_800,hoverBorderColor:o.color_blue_900,disabledBorderColor:o.color_grey_500,readOnlyBorderColor:o.color_grey_500,hoverReadOnlyBorderColor:o.color_grey_600,checkColor:o.color_white,disabledCheckColor:o.color_white,readOnlyCheckColor:o.color_white,fontFamily:o.type_sans,fontSize:o.type_scale_02,fontWeight:o.type_regular,fontColor:o.color_black,disabledFontColor:o.color_grey_500,focusColor:o.color_blue_600,checkLabelSpacing:o.spacing_8},chip:{backgroundColor:o.color_grey_200,disabledBackgroundColor:o.color_grey_100,fontFamily:o.type_sans,fontSize:o.type_scale_03,fontStyle:o.type_normal,fontWeight:o.type_regular,fontColor:o.color_black,disabledFontColor:o.color_grey_500,borderColor:o.color_transparent,borderRadius:"80px",borderThickness:o.border_width_0,borderStyle:o.border_solid,contentPaddingLeft:o.spacing_16,contentPaddingRight:o.spacing_16,contentPaddingTop:o.spacing_0,contentPaddingBottom:o.spacing_0,iconSize:"24px",iconSpacing:o.spacing_8,iconColor:o.color_grey_800,hoverIconColor:o.color_grey_900,activeIconColor:o.color_black,disabledIconColor:o.color_grey_500,focusColor:o.color_blue_600,focusBorderStyle:o.border_solid,focusBorderThickness:o.border_width_2,focusBorderRadius:o.border_radius_medium},contextualMenu:{fontFamily:o.type_sans,backgroundColor:o.color_white,borderColor:o.color_grey_200,menuItemFontColor:o.color_grey_900,menuItemFontSize:o.type_scale_02,menuItemFontStyle:o.type_normal,menuItemFontWeight:o.type_regular,menuItemLineHeight:"24px",hoverMenuItemBackgroundColor:o.color_grey_100,activeMenuItemBackgroundColor:o.color_grey_100,selectedMenuItemBackgroundColor:o.color_purple_100,hoverSelectedMenuItemBackgroundColor:o.color_purple_200,activeSelectedMenuItemBackgroundColor:o.color_purple_200,selectedMenuItemFontWeight:o.type_semibold,sectionTitleFontColor:o.color_grey_900,sectionTitleFontSize:o.type_scale_03,sectionTitleFontStyle:o.type_normal,sectionTitleFontWeight:o.type_semibold,sectionTitleLineHeight:"24px",iconColor:o.color_grey_900,iconSize:"16px"},dataGrid:{rowSeparatorThickness:"1px",rowSeparatorStyle:o.border_solid,rowSeparatorColor:o.color_grey_300,dataBackgroundColor:o.color_white,dataFontFamily:o.type_sans,dataFontSize:o.type_scale_02,dataFontStyle:o.type_normal,dataFontWeight:o.type_regular,dataFontColor:o.color_black,dataFontTextTransform:"none",dataPaddingRight:o.spacing_8,dataPaddingLeft:o.spacing_8,dataRowHeight:36,dataTextLineHeight:"normal",headerBackgroundColor:o.color_purple_700,headerBorderRadius:"4px",headerFontFamily:o.type_sans,headerFontSize:o.type_scale_02,headerFontStyle:o.type_normal,headerFontWeight:o.type_bold,headerFontColor:o.color_white,headerFontTextTransform:"none",headerPaddingRight:o.spacing_8,headerPaddingLeft:o.spacing_8,headerRowHeight:36,headerTextLineHeight:"normal",headerCheckboxBackgroundColorChecked:o.color_white,headerCheckboxHoverBackgroundColorChecked:o.color_grey_200,headerCheckboxBorderColor:o.color_white,headerCheckboxHoverBorderColor:o.color_white,headerCheckboxCheckColor:o.color_purple_700,summaryRowHeight:36,focusColor:o.color_blue_600,scrollBarThumbColor:o.color_grey_700,scrollBarTrackColor:o.color_grey_300,actionIconColor:o.color_purple_700,disabledActionIconColor:o.color_grey_500,hoverActionIconColor:o.color_purple_700,focusActionIconColor:o.color_purple_700,activeActionIconColor:o.color_purple_700,actionBackgroundColor:o.color_transparent,disabledActionBackgroundColor:o.color_transparent,hoverActionBackgroundColor:o.color_grey_100,focusActionBorderColor:o.color_blue_600,activeActionBackgroundColor:o.color_grey_300},dateInput:{pickerBackgroundColor:o.color_white,pickerFontColor:o.color_black,pickerBorderColor:o.color_grey_400,pickerSelectedBackgroundColor:o.color_purple_700,pickerSelectedFontColor:o.color_white,pickerHoverBackgroundColor:o.color_purple_200,pickerHoverFontColor:o.color_black,pickerActiveBackgroundColor:o.color_purple_800,pickerActiveFontColor:o.color_white,pickerNonCurrentMonthFontColor:o.color_grey_500,pickerCurrentDateBorderColor:o.color_purple_300,pickerCurrentDateFontColor:o.color_black,pickerCurrentYearFontColor:o.color_purple_700,pickerHeaderBackgroundColor:o.color_transparent,pickerHeaderFontColor:o.color_black,pickerHeaderHoverBackgroundColor:o.color_purple_200,pickerHeaderHoverFontColor:o.color_black,pickerHeaderActiveBackgroundColor:o.color_purple_800,pickerHeaderActiveFontColor:o.color_white,pickerFocusColor:o.color_blue_600,pickerBorderWidth:o.border_width_1,pickerBorderStyle:o.border_solid,pickerFocusWidth:o.border_width_2,pickerCurrentDateBorderWidth:o.border_width_1,pickerFontFamily:o.type_sans,pickerFontSize:o.type_scale_02,pickerFontWeight:o.type_regular,pickerInteractedYearFontSize:o.type_scale_05,pickerHeaderFontSize:o.type_scale_02},dialog:{overlayColor:o.color_grey_800_a,backgroundColor:o.color_white,closeIconSize:"24px",closeIconTopPosition:"20px",closeIconRightPosition:"20px",closeIconBackgroundColor:o.color_transparent,closeIconBorderColor:o.border_none,closeIconColor:o.color_black,closeIconBorderThickness:o.border_width_0,closeIconBorderStyle:o.border_solid,closeIconBorderRadius:"2px",boxShadowOffsetX:"0px",boxShadowOffsetY:"1px",boxShadowBlur:"3px",boxShadowColor:o.color_grey_300_a},dropdown:{buttonBackgroundColor:o.color_white,hoverButtonBackgroundColor:o.color_grey_100,activeButtonBackgroundColor:o.color_grey_300,buttonFontFamily:o.type_sans,buttonFontSize:o.type_scale_03,buttonFontStyle:o.type_normal,buttonFontWeight:o.type_regular,buttonFontColor:o.color_black,buttonIconSize:"20px",buttonIconSpacing:"10px",buttonIconColor:o.color_black,buttonPaddingTop:o.spacing_0,buttonPaddingBottom:o.spacing_0,buttonPaddingLeft:o.spacing_16,buttonPaddingRight:o.spacing_16,buttonHeight:"40px",buttonBorderRadius:"4px",buttonBorderStyle:o.border_none,buttonBorderThickness:o.border_width_0,buttonBorderColor:o.color_transparent,disabledColor:o.color_grey_500,disabledButtonBackgroundColor:o.color_transparent,disabledButtonBorderColor:o.color_transparent,optionBackgroundColor:o.color_white,hoverOptionBackgroundColor:o.color_grey_100,activeOptionBackgroundColor:o.color_grey_300,optionFontFamily:o.type_sans,optionFontSize:o.type_scale_03,optionFontStyle:o.type_normal,optionFontWeight:o.type_regular,optionFontColor:o.color_black,optionIconSize:"20px",optionIconSpacing:"10px",optionIconColor:o.color_black,optionPaddingTop:"6px",optionPaddingBottom:"6px",optionPaddingLeft:o.spacing_16,optionPaddingRight:o.spacing_16,caretIconSize:"24px",caretIconColor:o.color_black,caretIconSpacing:o.spacing_12,borderRadius:"4px",borderStyle:o.border_none,borderThickness:o.border_width_0,borderColor:o.color_transparent,scrollBarThumbColor:o.color_grey_700,scrollBarTrackColor:o.color_grey_300,focusColor:o.color_blue_600},fileInput:{dropBorderColor:o.color_black,fileItemBorderColor:o.color_grey_300,fileNameFontColor:o.color_black,labelFontColor:o.color_black,helperTextFontColor:o.color_black,dropLabelFontColor:o.color_black,disabledLabelFontColor:o.color_grey_500,disabledHelperTextFontColor:o.color_grey_500,disabledDropLabelFontColor:o.color_grey_500,focusDropBorderColor:o.color_blue_600,disabledDropBorderColor:o.color_grey_500,dragoverDropBackgroundColor:o.color_blue_50,errorFileItemBorderColor:o.color_red_700,errorFileItemBackgroundColor:o.color_red_50,errorFilePreviewBackgroundColor:o.color_red_200,errorFileItemIconColor:o.color_red_700,fileItemIconBackgroundColor:o.color_grey_100,deleteFileItemColor:o.color_black,errorMessageFontColor:o.color_red_700,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_02,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,fileItemFontFamily:o.type_sans,fileItemFontSize:o.type_scale_02,fileItemFontWeight:o.type_regular,fileItemLineHeight:o.type_leading_normal,helperTextFontFamily:o.type_sans,helperTextFontSize:o.type_scale_01,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,dropLabelFontFamily:o.type_sans,dropLabelFontSize:o.type_scale_03,dropLabelFontWeight:o.type_regular,errorMessageFontFamily:o.type_sans,errorMessageFontSize:o.type_scale_01,errorMessageFontWeight:o.type_regular,errorMessageLineHeight:o.type_leading_normal,dropBorderThickness:o.border_width_1,dropBorderStyle:o.border_dashed,dropBorderRadius:o.border_radius_large,fileItemBorderThickness:o.border_width_1,fileItemBorderStyle:o.border_solid,fileItemBorderRadius:o.border_radius_medium,hoverDeleteFileItemBackgroundColor:o.color_grey_100_a,activeDeleteFileItemBackgroundColor:o.color_grey_300_a,focusDeleteFileItemBorderColor:o.color_blue_600,filePreviewBackgroundColor:o.color_grey_100,filePreviewIconColor:o.color_grey_600,errorFilePreviewIconColor:o.color_red_700},footer:{height:"124px",backgroundColor:o.color_black,bottomLinksDividerColor:o.color_blue_600,bottomLinksDividerThickness:"1px",bottomLinksDividerStyle:o.border_solid,bottomLinksDividerSpacing:o.spacing_8,bottomLinksFontFamily:o.type_sans,bottomLinksFontSize:o.type_scale_01,bottomLinksFontStyle:o.type_normal,bottomLinksFontWeight:o.type_regular,bottomLinksFontColor:o.color_white,bottomLinksTextDecoration:o.type_no_line,copyrightFontFamily:o.type_sans,copyrightFontSize:o.type_scale_01,copyrightFontStyle:o.type_normal,copyrightFontWeight:o.type_regular,copyrightFontColor:o.color_white,logo:"",logoHeight:"32px",logoWidth:"auto",socialLinksSize:"24px",socialLinksGutter:o.spacing_16,socialLinksColor:o.color_white},header:{backgroundColor:o.color_white,hamburguerFocusColor:o.color_blue_600,hamburguerFontFamily:o.type_sans,hamburguerFontStyle:o.type_normal,hamburguerFontColor:o.color_black,hamburguerFontSize:"10px",hamburguerFontWeight:o.type_semibold,hamburguerTextTransform:o.type_uppercase,hamburguerIconColor:o.color_black,hamburguerHoverColor:o.color_grey_200,logo:"",logoResponsive:"",logoHeight:"40px",logoWidth:"auto",menuBackgroundColor:o.color_white,menuZindex:"2000",menuTabletWidth:"60vw",menuMobileWidth:"100vw",minHeight:"64px",overlayColor:o.color_grey_800_a,overlayOpacity:"0.7",overlayZindex:"1600",paddingTop:o.spacing_0,paddingBottom:o.spacing_0,paddingRight:o.spacing_24,paddingLeft:o.spacing_24,underlinedColor:o.color_black,underlinedThickness:"2px",underlinedStyle:o.border_solid,contentColor:o.color_black},heading:{level1FontColor:o.inherit,level1FontFamily:o.type_sans,level1FontSize:o.type_scale_07,level1FontStyle:o.type_normal,level1FontWeight:o.type_semibold,level1LineHeight:o.type_leading_compact_01,level1LetterSpacing:o.type_spacing_tight_01,level2FontColor:o.inherit,level2FontFamily:o.type_sans,level2FontSize:o.type_scale_05,level2FontStyle:o.type_normal,level2FontWeight:o.type_semibold,level2LineHeight:o.type_leading_normal,level2LetterSpacing:o.type_spacing_normal,level3FontColor:o.inherit,level3FontFamily:o.type_sans,level3FontSize:o.type_scale_04,level3FontStyle:o.type_normal,level3FontWeight:o.type_semibold,level3LineHeight:o.type_leading_compact_01,level3LetterSpacing:o.type_spacing_wide_01,level4FontColor:o.inherit,level4FontFamily:o.type_sans,level4FontSize:o.type_scale_03,level4FontStyle:o.type_normal,level4FontWeight:o.type_semibold,level4LineHeight:o.type_leading_normal,level4LetterSpacing:o.type_spacing_normal,level5FontColor:o.inherit,level5FontFamily:o.type_sans,level5FontSize:o.type_scale_02,level5FontStyle:o.type_normal,level5FontWeight:o.type_semibold,level5LineHeight:o.type_leading_normal,level5LetterSpacing:o.type_spacing_wide_01},image:{captionFontColor:o.color_grey_900,captionFontFamily:o.type_sans,captionFontSize:o.type_scale_02,captionFontStyle:o.type_normal,captionFontWeight:o.type_regular,captionLineHeight:o.type_leading_normal},link:{fontColor:o.color_blue_800,fontFamily:o.inherit,fontSize:o.inherit,fontStyle:o.type_normal,fontWeight:o.type_regular,iconSize:"16px",iconSpacing:o.spacing_4,underlineSpacing:o.spacing_0,underlineStyle:o.border_solid,underlineThickness:"1px",disabledFontColor:o.color_grey_500,hoverFontColor:o.color_blue_800,hoverUnderlineColor:o.color_blue_800,visitedFontColor:o.color_purple_700,visitedUnderlineColor:o.color_purple_700,activeFontColor:o.color_black,activeUnderlineColor:o.color_black,focusColor:o.color_blue_600},navTabs:{selectedBackgroundColor:o.color_white,unselectedBackgroundColor:o.color_white,hoverBackgroundColor:o.color_grey_100,pressedBackgroundColor:o.color_grey_200,selectedFontColor:o.color_grey_700,unselectedFontColor:o.color_grey_700,disabledFontColor:o.color_grey_500,focusOutline:o.color_blue_600,selectedUnderlineColor:o.color_purple_700,dividerColor:o.color_grey_400,fontFamily:o.type_sans,fontSize:o.type_scale_03,fontStyle:o.type_normal,fontWeight:o.type_regular,selectedIconColor:o.color_grey_700,unselectedIconColor:o.color_grey_700,disabledIconColor:o.color_grey_500},paginator:{backgroundColor:o.color_grey_100,fontColor:o.color_black,fontFamily:o.type_sans,fontSize:o.type_scale_02,fontStyle:o.type_normal,fontWeight:o.type_regular,fontTextTransform:"none",verticalPadding:o.spacing_12,horizontalPadding:o.spacing_32,marginRight:o.spacing_40,marginLeft:"20px",itemsPerPageSelectorMarginLeft:o.spacing_0,itemsPerPageSelectorMarginRight:o.spacing_8,pageSelectorMarginRight:"30px",pageSelectorMarginLeft:o.spacing_0,totalItemsContainerMarginRight:o.spacing_40,totalItemsContainerMarginLeft:o.spacing_0},paragraph:{display:"block",fontColor:o.color_black,fontSize:o.type_scale_03,fontWeight:o.type_regular},progressBar:{trackLineColor:o.color_purple_700,totalLineColor:o.color_grey_200,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_01,labelFontStyle:o.type_normal,labelFontWeight:o.type_regular,labelFontColor:o.color_black,labelFontTextTransform:o.type_uppercase,valueFontFamily:o.type_sans,valueFontSize:o.type_scale_01,valueFontStyle:o.type_normal,valueFontWeight:o.type_regular,valueFontColor:o.color_black,valueFontTextTransform:o.type_uppercase,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextFontFamily:o.type_sans,thickness:"9px",borderRadius:"5px",overlayColor:o.color_grey_800_a,overlayFontColor:o.color_white},quickNav:{fontColor:o.color_grey_700,hoverFontColor:o.color_purple_600,dividerBorderColor:o.color_grey_400,focusBorderColor:o.color_blue_600,focusBorderStyle:o.border_solid,focusBorderThickness:o.border_width_2,focusBorderRadius:o.border_width_2,paddingTop:o.spacing_8,paddingBottom:o.spacing_8,paddingLeft:o.spacing_16,paddingRight:o.spacing_16,fontFamily:o.type_sans,fontSize:o.type_scale_02,fontStyle:o.type_normal,fontWeight:o.type_regular},radioGroup:{fontFamily:o.type_sans,radioInputColor:o.color_blue_700,hoverRadioInputColor:o.color_blue_800,focusBorderColor:o.color_blue_600,activeRadioInputColor:o.color_blue_900,errorRadioInputColor:o.color_red_700,hoverErrorRadioInputColor:o.color_red_800,activeErrorRadioInputColor:o.color_red_900,readOnlyRadioInputColor:o.color_grey_500,hoverReadOnlyRadioInputColor:o.color_grey_600,activeReadOnlyRadioInputColor:o.color_grey_700,disabledRadioInputColor:o.color_grey_500,disabledLabelFontColor:o.color_grey_500,disabledHelperTextFontColor:o.color_grey_500,disabledRadioInputLabelFontColor:o.color_grey_500,errorMessageColor:o.color_red_700,labelFontColor:o.color_black,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,optionalLabelFontWeight:o.type_regular,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,radioInputLabelFontColor:o.color_black,radioInputLabelFontSize:o.type_scale_02,radioInputLabelFontStyle:o.type_normal,radioInputLabelFontWeight:o.type_regular,radioInputLabelLineHeight:o.type_leading_loose_01,groupLabelMargin:o.spacing_8,radioInputLabelMargin:o.spacing_8,groupVerticalGutter:o.spacing_4,groupHorizontalGutter:o.spacing_32},select:{fontFamily:o.type_sans,disabledColor:o.color_grey_500,enabledInputBorderColor:o.color_black,hoverInputBorderColor:o.color_purple_500,focusInputBorderColor:o.color_blue_600,errorInputBorderColor:o.color_red_700,hoverInputErrorBorderColor:o.color_red_600,disabledInputBorderColor:o.color_grey_500,disabledInputBackgroundColor:o.color_grey_100,inputMarginTop:o.spacing_4,inputMarginBottom:o.spacing_4,errorMessageColor:o.color_red_700,errorIconColor:o.color_red_700,labelFontColor:o.color_black,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,optionalLabelFontWeight:o.type_regular,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,placeholderFontColor:o.color_grey_800_a,valueFontColor:o.color_black,valueFontSize:o.type_scale_03,valueFontStyle:o.type_normal,valueFontWeight:o.type_regular,actionIconColor:o.color_black,hoverActionIconColor:o.color_black,activeActionIconColor:o.color_black,actionBackgroundColor:o.color_transparent,hoverActionBackgroundColor:o.color_grey_100,activeActionBackgroundColor:o.color_grey_300,listOptionFontColor:o.color_black,listOptionFontSize:o.type_scale_02,listOptionFontStyle:o.type_normal,listOptionFontWeight:o.type_regular,listOptionIconColor:o.color_black,listOptionDividerColor:o.color_grey_200,listGroupLabelFontWeight:o.type_semibold,focusListOptionBorderColor:o.color_blue_600,systemMessageFontColor:o.color_grey_700,collapseIndicatorColor:o.color_black,listDialogBackgroundColor:o.color_white,listDialogBorderColor:o.color_grey_400,selectedListOptionBackgroundColor:o.color_blue_100,selectedHoverListOptionBackgroundColor:o.color_blue_200,selectedActiveListOptionBackgroundColor:o.color_blue_300,selectedListOptionIconColor:o.color_blue_900,unselectedHoverListOptionBackgroundColor:o.color_grey_100,unselectedActiveListOptionBackgroundColor:o.color_grey_200,selectionIndicatorFontColor:o.color_black,selectionIndicatorFontSize:o.type_scale_01,selectionIndicatorFontStyle:o.type_regular,selectionIndicatorFontWeight:o.type_normal,selectionIndicatorBorderColor:o.color_grey_400,selectionIndicatorBackgroundColor:o.color_grey_50,enabledSelectionIndicatorActionBackgroundColor:o.color_transparent,enabledSelectionIndicatorActionIconColor:o.color_black,hoverSelectionIndicatorActionBackgroundColor:o.color_grey_100,hoverSelectionIndicatorActionIconColor:o.color_black,activeSelectionIndicatorActionBackgroundColor:o.color_grey_300,activeSelectionIndicatorActionIconColor:o.color_black},sidenav:{backgroundColor:o.color_grey_100,titleFontFamily:o.type_sans,titleFontSize:o.type_scale_04,titleFontStyle:o.type_normal,titleFontWeight:o.type_semibold,titleFontColor:o.color_grey_800,titleFontTextTransform:"none",titleFontLetterSpacing:o.type_spacing_normal,groupTitleFontFamily:o.type_sans,groupTitleFontSize:o.type_scale_02,groupTitleFontStyle:o.type_normal,groupTitleFontWeight:o.type_semibold,groupTitleFontColor:o.color_black,groupTitleHoverBackgroundColor:o.color_grey_200,groupTitleActiveBackgroundColor:o.color_grey_800,groupTitleSelectedFontColor:o.color_white,groupTitleSelectedBackgroundColor:o.color_grey_800,groupTitleSelectedHoverFontColor:o.color_white,groupTitleSelectedHoverBackgroundColor:o.color_grey_900,groupTitleFontTextTransform:o.type_uppercase,groupTitleFontLetterSpacing:o.type_spacing_wide_02,linkFontFamily:o.type_sans,linkFontSize:o.type_scale_02,linkFontStyle:o.type_normal,linkFontWeight:o.type_regular,linkFontColor:o.color_grey_800,linkHoverBackgroundColor:o.color_grey_200,linkSelectedFontColor:o.color_white,linkSelectedBackgroundColor:o.color_grey_800,linkSelectedHoverFontColor:o.color_white,linkSelectedHoverBackgroundColor:o.color_grey_900,linkFontTextTransform:"none",linkFontLetterSpacing:o.type_spacing_wide_01,linkTextDecoration:o.type_no_line,linkMarginTop:o.spacing_4,linkMarginBottom:o.spacing_4,linkMarginRight:o.spacing_16,linkMarginLeft:o.spacing_16,linkFocusColor:o.color_blue_600,scrollBarThumbColor:o.color_grey_200_a,scrollBarTrackColor:o.color_transparent},slider:{fontFamily:o.type_sans,limitValuesFontColor:o.color_black,limitValuesFontSize:o.type_scale_03,limitValuesFontStyle:o.type_normal,limitValuesFontWeight:o.type_regular,limitValuesFontLetterSpacing:o.type_spacing_normal,disabledLimitValuesFontColor:o.color_grey_500,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,helperTextFontFamily:o.type_sans,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,fontColor:o.color_black,labelFontColor:o.color_black,helperTextFontColor:o.color_black,disabledLabelFontColor:o.color_grey_500,disabledHelperTextFontColor:o.color_grey_500,thumbHeight:"12px",thumbWidth:"12px",hoverThumbHeight:"14px",hoverThumbWidth:"14px",thumbVerticalPosition:"12px",hoverThumbVerticalPosition:"11px",thumbBackgroundColor:o.color_blue_800,hoverThumbScale:"1.166666",hoverThumbBackgroundColor:o.color_blue_900,activeThumbScale:"1.166666",activeThumbBackgroundColor:o.color_blue_900,focusThumbBackgroundColor:o.color_blue_800,tickHeight:"4px",tickWidth:"4px",tickVerticalPosition:"11px",tickBackgroundColor:o.color_blue_800,trackLineThickness:"2px",trackLineVerticalPosition:"50%",trackLineColor:o.color_blue_800,totalLineThickness:"2px",totalLineVerticalPosition:"50%",totalLineColor:o.color_grey_200_a,disabledThumbVerticalPosition:"10px",disabledThumbBackgroundColor:o.color_grey_500,disabledTickVerticalPosition:"11px",disabledTickBackgroundColor:o.color_grey_500,disabledTrackLineColor:o.color_grey_500,disabledTotalLineColor:o.color_grey_100,focusColor:o.color_blue_600,floorLabelMarginRight:o.type_scale_03,ceilLabelMarginLeft:o.type_scale_03,inputMarginLeft:o.type_scale_06},spinner:{trackCircleColor:o.color_purple_700,trackCircleColorOverlay:o.color_purple_500,totalCircleColor:o.color_white,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_regular,labelFontColor:o.color_black,labelTextAlign:"center",progressValueFontFamily:o.type_sans,progressValueFontSize:o.type_scale_02,progressValueFontStyle:o.type_normal,progressValueFontWeight:o.type_bold,progressValueFontColor:o.inherit,progressValueTextAlign:"center",overlayBackgroundColor:o.color_black,overlayOpacity:"0.8",overlayLabelFontFamily:o.type_sans,overlayLabelFontSize:o.type_scale_02,overlayLabelFontStyle:o.type_normal,overlayLabelFontWeight:o.type_regular,overlayLabelFontColor:o.color_white,overlayLabelTextAlign:"center",overlayProgressValueFontFamily:o.type_sans,overlayProgressValueFontSize:o.type_scale_02,overlayProgressValueFontStyle:o.type_normal,overlayProgressValueFontWeight:o.type_bold,overlayProgressValueFontColor:o.color_white,overlayProgressValueTextAlign:"center"},switch:{checkedTrackBackgroundColor:o.color_purple_700,checkedThumbBackgroundColor:o.color_white,uncheckedTrackBackgroundColor:o.color_grey_400,uncheckedThumbBackgroundColor:o.color_white,disabledCheckedTrackBackgroundColor:o.color_purple_100,disabledCheckedThumbBackgroundColor:o.color_white,disabledUncheckedTrackBackgroundColor:o.color_grey_100,disabledUncheckedThumbBackgroundColor:o.color_white,disabledLabelFontColor:o.color_grey_500,disabledLabelFontStyle:o.type_normal,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_03,labelFontStyle:o.type_normal,labelFontWeight:o.type_regular,labelFontColor:o.color_black,thumbFocusColor:o.color_blue_600,thumbHeight:"24px",thumbWidth:"24px",thumbShift:"1.25rem",trackHeight:"12px",trackWidth:"36px",spaceBetweenLabelSwitch:o.spacing_8},table:{rowSeparatorThickness:"1px",rowSeparatorStyle:o.border_solid,rowSeparatorColor:o.color_grey_300,dataBackgroundColor:o.color_white,dataFontFamily:o.type_sans,dataFontSize:o.type_scale_02,dataFontStyle:o.type_normal,dataFontWeight:o.type_regular,dataFontColor:o.color_black,dataFontTextTransform:"none",dataPaddingTop:o.spacing_16,dataPaddingBottom:o.spacing_16,dataPaddingRight:"20px",dataPaddingLeft:"20px",dataPaddingTopReduced:o.spacing_8,dataPaddingBottomReduced:o.spacing_8,dataPaddingRightReduced:o.spacing_16,dataPaddingLeftReduced:o.spacing_16,dataTextAlign:"left",dataTextLineHeight:"normal",firstChildPaddingLeft:o.spacing_24,lastChildPaddingRight:o.spacing_24,firstChildPaddingLeftReduced:"20px",lastChildPaddingRightReduced:"20px",headerBackgroundColor:o.color_purple_700,headerBorderRadius:"4px",headerFontFamily:o.type_sans,headerFontSize:o.type_scale_02,headerFontStyle:o.type_normal,headerFontWeight:o.type_regular,headerFontColor:o.color_white,headerFontTextTransform:"none",headerPaddingTop:o.spacing_16,headerPaddingBottom:o.spacing_16,headerPaddingRight:"20px",headerPaddingLeft:"20px",headerPaddingTopReduced:o.spacing_8,headerPaddingBottomReduced:o.spacing_8,headerPaddingRightReduced:o.spacing_16,headerPaddingLeftReduced:o.spacing_16,headerTextAlign:"left",headerTextLineHeight:"normal",scrollBarThumbColor:o.color_grey_700,scrollBarTrackColor:o.color_grey_300,sortIconColor:o.color_white,actionIconColor:o.color_purple_700,disabledActionIconColor:o.color_grey_500,hoverActionIconColor:o.color_purple_700,focusActionIconColor:o.color_purple_700,activeActionIconColor:o.color_purple_700,actionBackgroundColor:o.color_transparent,disabledActionBackgroundColor:o.color_transparent,hoverActionBackgroundColor:o.color_grey_100,focusActionBorderColor:o.color_blue_600,activeActionBackgroundColor:o.color_grey_300},tabs:{fontFamily:o.type_sans,fontSize:o.type_scale_03,fontStyle:o.type_normal,fontWeight:o.type_semibold,fontTextTransform:"none",selectedBackgroundColor:o.color_white,selectedFontColor:o.color_purple_700,selectedIconColor:o.color_purple_700,selectedUnderlineColor:o.color_purple_700,selectedUnderlineThickness:"2px",unselectedBackgroundColor:o.color_white,unselectedFontColor:o.color_grey_700,unselectedIconColor:o.color_grey_700,disabledFontColor:o.color_grey_500,disabledIconColor:o.color_grey_500,disabledFontStyle:o.type_normal,hoverBackgroundColor:o.color_purple_100,pressedBackgroundColor:o.color_purple_200,pressedFontWeight:o.type_semibold,dividerColor:o.color_grey_400,dividerThickness:"1px",focusOutline:o.color_purple_700,scrollButtonsWidth:"48px"},tag:{fontFamily:o.type_sans,fontColor:o.color_black,fontSize:o.type_scale_02,fontStyle:o.type_normal,fontWeight:o.type_regular,labelPaddingTop:o.spacing_0,labelPaddingBottom:o.spacing_0,labelPaddingLeft:o.spacing_16,labelPaddingRight:o.spacing_16,height:"40px",iconColor:o.color_white,iconSectionWidth:"40px",iconHeight:"24px",iconWidth:"auto",focusColor:o.color_blue_600},textarea:{fontFamily:o.type_sans,enabledBorderColor:o.color_black,hoverBorderColor:o.color_purple_500,focusBorderColor:o.color_blue_600,disabledBorderColor:o.color_grey_500,disabledContainerFillColor:o.color_grey_100,readOnlyBorderColor:o.color_grey_500,hoverReadOnlyBorderColor:o.color_grey_600,errorBorderColor:o.color_red_700,hoverErrorBorderColor:o.color_red_600,inputMarginTop:o.spacing_4,inputMarginBottom:o.spacing_4,errorMessageColor:o.color_red_700,labelFontColor:o.color_black,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,disabledLabelFontColor:o.color_grey_500,optionalLabelFontWeight:o.type_regular,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,disabledHelperTextFontColor:o.color_grey_500,placeholderFontColor:o.color_grey_800_a,disabledPlaceholderFontColor:o.color_grey_500,valueFontColor:o.color_black,valueFontSize:o.type_scale_03,valueFontStyle:o.type_normal,valueFontWeight:o.type_regular,disabledValueFontColor:o.color_grey_500},textInput:{fontFamily:o.type_sans,enabledBorderColor:o.color_black,hoverBorderColor:o.color_purple_500,focusBorderColor:o.color_blue_600,disabledBorderColor:o.color_grey_500,disabledContainerFillColor:o.color_grey_100,readOnlyBorderColor:o.color_grey_500,hoverReadOnlyBorderColor:o.color_grey_600,errorBorderColor:o.color_red_700,hoverErrorBorderColor:o.color_red_600,inputMarginTop:o.spacing_4,inputMarginBottom:o.spacing_4,errorMessageColor:o.color_red_700,errorIconColor:o.color_red_700,labelFontColor:o.color_black,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,disabledLabelFontColor:o.color_grey_500,optionalLabelFontWeight:o.type_regular,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,disabledHelperTextFontColor:o.color_grey_500,prefixColor:o.color_grey_700,prefixDividerBorderWidth:"1px",prefixDividerBorderStyle:o.border_solid,prefixDividerPaddingRight:o.spacing_8,suffixColor:o.color_grey_700,suffixDividerBorderStyle:o.border_solid,suffixDividerBorderWidth:"1px",suffixDividerPaddingLeft:o.spacing_8,disabledPrefixColor:o.color_grey_400,disabledSuffixColor:o.color_grey_400,placeholderFontColor:o.color_grey_800_a,disabledPlaceholderFontColor:o.color_grey_500,valueFontColor:o.color_black,valueFontSize:o.type_scale_03,valueFontStyle:o.type_normal,valueFontWeight:o.type_regular,disabledValueFontColor:o.color_grey_500,actionIconColor:o.color_black,disabledActionIconColor:o.color_grey_500,hoverActionIconColor:o.color_black,focusActionIconColor:o.color_black,activeActionIconColor:o.color_black,actionBackgroundColor:o.color_transparent,disabledActionBackgroundColor:o.color_transparent,hoverActionBackgroundColor:o.color_grey_100,focusActionBorderColor:o.color_blue_600,activeActionBackgroundColor:o.color_grey_300,listDialogBackgroundColor:o.color_white,listDialogBorderColor:o.color_grey_400,listOptionDividerColor:o.color_grey_200,listOptionFontColor:o.color_black,listOptionFontSize:o.type_scale_02,listOptionFontStyle:o.type_normal,listOptionFontWeight:o.type_regular,systemMessageFontColor:o.color_grey_700,errorListDialogFontColor:o.color_black,errorListDialogBackgroundColor:o.color_red_50,errorListDialogBorderColor:o.color_red_700,hoverListOptionBackgroundColor:o.color_grey_100,activeListOptionBackgroundColor:o.color_grey_200,focusListOptionBorderColor:o.color_blue_600},toggleGroup:{containerBackgroundColor:o.color_grey_50,containerBorderColor:o.color_grey_500,labelFontColor:o.color_black,disabledLabelFontColor:o.color_grey_500,helperTextFontColor:o.color_black,disabledHelperTextFontColor:o.color_grey_500,unselectedBackgroundColor:o.color_grey_200,unselectedHoverBackgroundColor:o.color_grey_300,unselectedActiveBackgroundColor:o.color_purple_700,unselectedDisabledBackgroundColor:o.color_grey_100,unselectedFontColor:o.color_black,unselectedDisabledFontColor:o.color_grey_500,selectedBackgroundColor:o.color_purple_700,selectedHoverBackgroundColor:o.color_purple_800,selectedActiveBackgroundColor:o.color_purple_900,selectedDisabledBackgroundColor:o.color_purple_100,selectedFontColor:o.color_white,selectedDisabledFontColor:o.color_purple_300,focusColor:o.color_blue_600,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,helperTextFontFamily:o.type_sans,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,optionLabelFontFamily:o.type_sans,optionLabelFontSize:o.type_scale_03,optionLabelFontStyle:o.type_normal,optionLabelFontWeight:o.type_regular,iconPaddingRight:o.spacing_8,iconPaddingLeft:o.spacing_8,labelPaddingLeft:o.spacing_24,labelPaddingRight:o.spacing_24,iconMarginRight:o.spacing_8,containerMarginTop:o.spacing_4,optionBorderThickness:o.border_width_0,optionBorderStyle:o.border_none,optionBorderRadius:o.border_radius_medium,containerBorderThickness:o.border_width_1,containerBorderStyle:o.border_solid,containerBorderRadius:o.border_radius_large,optionFocusBorderThickness:o.border_width_2},wizard:{visitedStepFontColor:o.color_black,visitedStepBackgroundColor:o.color_white,visitedStepBorderColor:o.color_black,unvisitedStepFontColor:o.color_grey_700,unvisitedLabelFontColor:o.color_grey_700,unvisitedHelperTextFontColor:o.color_grey_700,unvisitedStepBackgroundColor:o.color_transparent,unvisitedStepBorderColor:o.color_grey_700,selectedStepFontColor:o.color_white,selectedStepBackgroundColor:o.color_purple_700,selectedStepBorderColor:o.color_purple_700,selectedLabelFontColor:o.color_black,selectedHelperTextFontColor:o.color_black,selectedStepWidth:"32px",selectedStepHeight:"32px",selectedStepBorderThickness:"2px",selectedStepBorderStyle:o.border_solid,selectedStepBorderRadius:"45px",stepFontSize:o.type_scale_03,stepFontFamily:o.type_sans,stepFontStyle:o.type_normal,stepFontWeight:o.type_regular,stepFontTracking:o.type_spacing_wide_02,stepIconSize:"20px",stepWidth:"32px",stepHeight:"32px",stepBorderThickness:"2px",stepBorderStyle:o.border_solid,stepBorderRadius:"45px",visitedLabelFontColor:o.color_black,labelFontSize:o.type_scale_03,labelFontFamily:o.type_sans,labelFontStyle:o.type_normal,labelFontWeight:o.type_regular,labelFontTracking:o.type_spacing_normal,labelFontTextTransform:"none",labelTextAlign:"left",helperTextFontSize:o.type_scale_02,helperTextFontFamily:o.type_sans,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextFontTracking:o.type_spacing_normal,helperTextFontTextTransform:"none",visitedHelperTextFontColor:o.color_black,helperTextTextAlign:"left",disabledStepBackgroundColor:o.color_grey_100,disabledStepFontColor:o.color_grey_500,disabledLabelFontColor:o.color_grey_500,disabledHelperTextFontColor:o.color_grey_500,disabledStepBorderColor:o.color_grey_100,disabledStepWidth:"32px",disabledStepHeight:"32px",disabledStepBorderThickness:"2px",disabledStepBorderStyle:o.border_solid,disabledStepBorderRadius:"45px",separatorBorderThickness:"1px",separatorBorderStyle:o.border_solid,separatorColor:o.color_grey_700,focusColor:o.color_blue_600}},p={xxsmall:o.spacing_4,xsmall:o.spacing_8,small:o.spacing_12,medium:o.spacing_16,large:o.spacing_24,xlarge:o.spacing_32,xxlarge:o.spacing_48},de={xsmall:"20",small:"30",medium:"45",large:"66",xlarge:"90"},kr={applicationLayout:{visibilityToggleTitle:"Toggle sidenav visibility"},alert:{infoTitleText:"information",successTitleText:"success",warningTitleText:"warning",errorTitleText:"error"},calendar:{daysShort:["Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],previousMonthTitle:"Previous month",nextMonthTitle:"Next month"},dateInput:{invalidDateErrorMessage:"Invalid date."},dialog:{closeIconAriaLabel:"Close dialog"},fileInput:{fileSizeGreaterThanErrorMessage:"File size must be greater than min size.",fileSizeLessThanErrorMessage:"File size must be less than max size.",multipleButtonLabelDefault:"Select files",singleButtonLabelDefault:"Select file",dropAreaButtonLabelDefault:"Select",multipleDropAreaLabelDefault:"or drop files",singleDropAreaLabelDefault:"or drop a file",deleteFileActionTitle:"Remove file"},footer:{copyrightText:e=>`\xA9 DXC Technology ${e}. All rights reserved.`},formFields:{optionalLabel:"(Optional)",requiredSelectionErrorMessage:"This field is required. Please, choose an option.",requiredValueErrorMessage:"This field is required. Please, enter a value.",formatRequestedErrorMessage:"Please match the format requested.",lengthErrorMessage:(e,t)=>`Min length ${e}, max length ${t}.`,logoAlternativeText:"Logo"},header:{closeIcon:"Close menu",hamburguerTitle:"Menu"},numberInput:{valueGreaterThanOrEqualToErrorMessage:e=>`Value must be greater than or equal to ${e}.`,valueLessThanOrEqualToErrorMessage:e=>`Value must be less than or equal to ${e}.`,decrementValueTitle:"Decrement value",incrementValueTitle:"Increment value"},paginator:{itemsPerPageText:"Items per page: ",minToMaxOfText:(e,t,r)=>`${e} to ${t} of ${r}`,goToPageText:"Go to page:",pageOfText:(e,t)=>`Page: ${e} of ${t}`},passwordInput:{inputShowPasswordTitle:"Show password",inputHidePasswordTitle:"Hide password"},quickNav:{contentTitle:"Contents"},radioGroup:{optionalItemLabelDefault:"N/A"},select:{noMatchesErrorMessage:"No matches found",actionClearSelectionTitle:"Clear selection",actionClearSearchTitle:"Clear search"},tabs:{scrollLeft:"Scroll left",scrollRight:"Scroll right"},textInput:{clearFieldActionTitle:"Clear field",searchingMessage:"Searching...",fetchingDataErrorMessage:"Error fetching data"},toast:{clearToastActionTitle:"Clear toast"}};var X=(e,t)=>e&&typeof e=="object"?e[t]&&p[e[t]]||"0px":e&&typeof e=="string"?p[e]:"0px";var Ii=require("react");var rr=require("react"),qn=F(require("color")),wi=F(require("styled-components"));var qr=require("react/jsx-runtime"),Si=(0,rr.createContext)(null),Fr=(0,rr.createContext)(null),se=(e,t)=>{try{if(t){let n=(0,qn.default)(t).hsl(),i=n.lightness();return n.lightness(i+e).hex()}}catch{return null}},me=(e,t)=>{try{if(t){let n=(0,qn.default)(t).hsl(),i=n.lightness();return n.lightness(i-e).hex()}}catch{return null}},Hd=e=>{let t=JSON.parse(JSON.stringify(ee));return Object.keys(t).map(r=>{e[r]&&Object.keys(e[r]).map(n=>{e[r][n]&&(t[r][n]=e[r][n])})}),t},Md=e=>{let t=JSON.parse(JSON.stringify(ee)),r=t.accordion;r.assistiveTextFontColor=e?.accordion?.assistiveTextFontColor??r.assistiveTextFontColor,r.titleLabelFontColor=e?.accordion?.titleFontColor??r.titleLabelFontColor,r.arrowColor=e?.accordion?.accentColor??r.arrowColor,r.iconColor=e?.accordion?.accentColor??r.iconColor,r.hoverBackgroundColor=se(57,e?.accordion?.accentColor)??r.hoverBackgroundColor;let n=t.alert;n.infoBackgroundColor=e?.alert?.baseColor??n.infoBackgroundColor,n.infoIconColor=e?.alert?.accentColor??n.infoIconColor,n.infoBorderColor=e?.alert?.accentColor??n.infoBorderColor,n.overlayColor=e?.alert?.overlayColor??n.overlayColor;let i=t.button;i.primaryDefaultFontColor=e?.button?.primaryFontColor??i.primaryDefaultFontColor,i.primaryDefaultBackgroundColor=e?.button?.baseColor??i.primaryDefaultBackgroundColor,i.secondaryDefaultFontColor=e?.button?.baseColor??i.secondaryDefaultFontColor,i.secondaryHoverDefaultFontColor=e?.button?.secondaryHoverFontColor??i.secondaryHoverDefaultFontColor,i.secondaryDefaultBorderColor=e?.button?.baseColor??i.secondaryDefaultBorderColor,i.secondaryHoverDefaultBackgroundColor=e?.button?.baseColor??i.secondaryHoverDefaultBackgroundColor,i.tertiaryDefaultFontColor=e?.button?.baseColor??i.tertiaryDefaultFontColor,i.primaryHoverDefaultBackgroundColor=me(8,e?.button?.baseColor)??i.primaryHoverDefaultBackgroundColor,i.primaryActiveDefaultBackgroundColor=me(18,e?.button?.baseColor)??i.primaryActiveDefaultBackgroundColor,i.secondaryActiveDefaultBackgroundColor=me(18,e?.button?.baseColor)??i.secondaryActiveDefaultBackgroundColor,i.tertiaryHoverDefaultBackgroundColor=se(57,e?.button?.baseColor)??i.tertiaryHoverDefaultBackgroundColor,i.tertiaryActiveDefaultBackgroundColor=se(52,e?.button?.baseColor)??i.tertiaryActiveDefaultBackgroundColor,i.primaryDisabledDefaultBackgroundColor=se(42,e?.button?.baseColor)??i.primaryDisabledDefaultBackgroundColor,i.primaryDisabledDefaultFontColor=se(42,e?.button?.primaryFontColor)??i.primaryDisabledDefaultFontColor,i.secondaryDisabledDefaultBorderColor=se(42,e?.button?.baseColor)??i.secondaryDisabledDefaultBorderColor,i.secondaryDisabledDefaultFontColor=se(42,e?.button?.baseColor)??i.secondaryDisabledDefaultFontColor,i.tertiaryDisabledDefaultFontColor=se(42,e?.button?.baseColor)??i.tertiaryDisabledDefaultFontColor;let l=t.checkbox;l.backgroundColorChecked=e?.checkbox?.baseColor??l.backgroundColorChecked,l.borderColor=e?.checkbox?.baseColor??l.borderColor,l.checkColor=e?.checkbox?.checkColor??l.checkColor,l.fontColor=e?.checkbox?.fontColor??l.fontColor,l.hoverBackgroundColorChecked=me(15,e?.checkbox?.baseColor)??l.hoverBackgroundColorChecked,l.hoverBorderColor=me(15,e?.checkbox?.baseColor)??l.hoverBorderColor;let a=t.chip;a.backgroundColor=e?.chip?.baseColor??a.backgroundColor,a.fontColor=e?.chip?.fontColor??a.fontColor,a.iconColor=e?.chip?.iconColor??a.iconColor,a.hoverIconColor=me(10,e?.chip?.iconColor)??a.hoverIconColor,a.activeIconColor=me(30,e?.chip?.iconColor)??a.activeIconColor;let c=t.contextualMenu;c.selectedMenuItemBackgroundColor=e?.contextualMenu?.accentColor??c.selectedMenuItemBackgroundColor,c.hoverSelectedMenuItemBackgroundColor=me(5,e?.contextualMenu?.accentColor)??c.hoverSelectedMenuItemBackgroundColor,c.activeSelectedMenuItemBackgroundColor=me(5,e?.contextualMenu?.accentColor)??c.activeSelectedMenuItemBackgroundColor,c.backgroundColor=e?.contextualMenu?.baseColor??c.backgroundColor,c.hoverMenuItemBackgroundColor=me(5,e?.contextualMenu?.baseColor)??c.hoverMenuItemBackgroundColor,c.activeMenuItemBackgroundColor=me(5,e?.contextualMenu?.baseColor)??c.activeMenuItemBackgroundColor,c.menuItemFontColor=e?.contextualMenu?.fontColor??c.menuItemFontColor,c.sectionTitleFontColor=e?.contextualMenu?.fontColor??c.sectionTitleFontColor,c.iconColor=e?.contextualMenu?.iconColor??c.iconColor;let d=t.dataGrid;d.headerBackgroundColor=e?.dataGrid?.baseColor??d.headerBackgroundColor,d.headerFontColor=e?.dataGrid?.headerFontColor??d.headerFontColor,d.dataFontColor=e?.dataGrid?.cellFontColor??d.dataFontColor,d.headerCheckboxCheckColor=e?.dataGrid?.baseColor??d.headerCheckboxCheckColor,d.actionIconColor=e?.dataGrid?.baseColor??d.actionIconColor,d.hoverActionIconColor=e?.dataGrid?.baseColor??d.hoverActionIconColor,d.focusActionIconColor=e?.dataGrid?.baseColor??d.focusActionIconColor,d.activeActionIconColor=e?.dataGrid?.baseColor??d.activeActionIconColor;let s=t.dateInput;s.pickerSelectedBackgroundColor=e?.dateInput?.baseColor??s.pickerSelectedBackgroundColor,s.pickerSelectedFontColor=e?.dateInput?.selectedFontColor??s.pickerSelectedFontColor,s.pickerActiveBackgroundColor=me(8,e?.dateInput?.baseColor)??s.pickerActiveBackgroundColor,s.pickerActiveFontColor=e?.dateInput?.selectedFontColor??s.pickerActiveFontColor,s.pickerCurrentYearFontColor=e?.dateInput?.baseColor??s.pickerCurrentYearFontColor,s.pickerHeaderActiveBackgroundColor=me(8,e?.dateInput?.baseColor)??s.pickerHeaderActiveBackgroundColor,s.pickerHeaderActiveFontColor=e?.dateInput?.selectedFontColor??s.pickerHeaderActiveFontColor,s.pickerHoverBackgroundColor=se(52,e?.dateInput?.baseColor)??s.pickerHoverBackgroundColor,s.pickerCurrentDateBorderColor=se(42,e?.dateInput?.baseColor)??s.pickerCurrentDateBorderColor,s.pickerHeaderHoverBackgroundColor=se(52,e?.dateInput?.baseColor)??s.pickerHeaderHoverBackgroundColor;let m=t.dialog;m.backgroundColor=e?.dialog?.baseColor??m.backgroundColor,m.closeIconColor=e?.dialog?.closeIconColor??m.closeIconColor,m.overlayColor=e?.dialog?.overlayColor??m.overlayColor;let g=t.dropdown;g.buttonBackgroundColor=e?.dropdown?.baseColor??g.buttonBackgroundColor,g.buttonFontColor=e?.dropdown?.fontColor??g.buttonFontColor,g.buttonIconColor=e?.dropdown?.fontColor??g.caretIconColor,g.caretIconColor=e?.dropdown?.fontColor??g.caretIconColor,g.optionFontColor=e?.dropdown?.optionFontColor??g.optionFontColor,g.optionIconColor=e?.dropdown?.optionFontColor??g.optionIconColor,g.hoverButtonBackgroundColor=me(5,e?.dropdown?.baseColor)??g.hoverButtonBackgroundColor,g.activeButtonBackgroundColor=me(12,e?.dropdown?.baseColor)??g.activeButtonBackgroundColor,g.hoverOptionBackgroundColor=me(5,e?.dropdown?.baseColor)??g.hoverOptionBackgroundColor,g.activeOptionBackgroundColor=me(20,e?.dropdown?.baseColor)??g.activeOptionBackgroundColor;let u=t.fileInput;u.labelFontColor=e?.fileInput?.fontColor??u.labelFontColor,u.helperTextFontColor=e?.fileInput?.fontColor??u.helperTextFontColor,u.dropLabelFontColor=e?.fileInput?.fontColor??u.dropLabelFontColor,u.fileNameFontColor=e?.fileInput?.fontColor??u.fileNameFontColor;let h=t.footer;h.backgroundColor=e?.footer?.baseColor??h.backgroundColor,h.bottomLinksFontColor=e?.footer?.fontColor??h.bottomLinksFontColor,h.copyrightFontColor=e?.footer?.fontColor??h.copyrightFontColor,h.socialLinksColor=e?.footer?.fontColor??h.socialLinksColor,h.bottomLinksDividerColor=e?.footer?.accentColor??h.bottomLinksDividerColor,h.logo=e?.footer?.logo??h.logo;let y=t.header;y.backgroundColor=e?.header?.baseColor??y.backgroundColor,y.underlinedColor=e?.header?.accentColor??y.underlinedColor,y.menuBackgroundColor=e?.header?.menuBaseColor??y.menuBackgroundColor,y.hamburguerFontColor=e?.header?.fontColor??y.hamburguerFontColor,y.hamburguerIconColor=e?.header?.hamburguerColor??y.hamburguerIconColor,y.hamburguerHoverColor=se(90,e?.header?.hamburguerColor)??y.hamburguerHoverColor,y.logo=e?.header?.logo??y.logo,y.logoResponsive=e?.header?.logoResponsive??y.logoResponsive,y.contentColor=e?.header?.contentColor??y.contentColor,y.overlayColor=e?.header?.overlayColor??y.overlayColor;let v=t.link;v.visitedFontColor=e?.link?.baseColor??v.visitedFontColor,v.visitedUnderlineColor=e?.link?.baseColor??v.visitedUnderlineColor;let f=t.navTabs;f.selectedFontColor=e?.navTabs?.baseColor??f.selectedFontColor,f.unselectedFontColor=e?.navTabs?.baseColor??f.selectedFontColor,f.selectedIconColor=e?.navTabs?.baseColor??f.selectedIconColor,f.unselectedIconColor=e?.navTabs?.baseColor??f.selectedIconColor,f.selectedUnderlineColor=e?.navTabs?.accentColor??f.selectedUnderlineColor,f.hoverBackgroundColor=se(55,e?.navTabs?.baseColor)??f.hoverBackgroundColor,f.pressedBackgroundColor=se(50,e?.navTabs?.baseColor)??f.pressedBackgroundColor;let _=t.paginator;_.backgroundColor=e?.paginator?.baseColor??_.backgroundColor,_.fontColor=e?.paginator?.fontColor??_.fontColor;let x=t.progressBar;x.trackLineColor=e?.progressBar?.accentColor??x.trackLineColor,x.totalLineColor=e?.progressBar?.baseColor??x.totalLineColor,x.labelFontColor=e?.progressBar?.fontColor??x.labelFontColor,x.valueFontColor=e?.progressBar?.fontColor??x.valueFontColor,x.helperTextFontColor=e?.progressBar?.fontColor??x.helperTextFontColor,x.overlayColor=e?.progressBar?.overlayColor??x.overlayColor,x.overlayFontColor=e?.progressBar?.overlayFontColor??x.overlayFontColor;let b=t.quickNav;b.fontColor=e?.quickNav?.fontColor??b.fontColor,b.hoverFontColor=e?.quickNav?.accentColor??b.hoverFontColor;let D=t.radioGroup;D.radioInputColor=e?.radioGroup?.baseColor??D.radioInputColor,D.labelFontColor=e?.radioGroup?.fontColor??D.labelFontColor,D.helperTextFontColor=e?.radioGroup?.fontColor??D.helperTextFontColor,D.radioInputLabelFontColor=e?.radioGroup?.fontColor??D.radioInputLabelFontColor,D.hoverRadioInputColor=me(10,e?.radioGroup?.baseColor)??D.radioInputColor,D.activeRadioInputColor=me(25,e?.radioGroup?.baseColor)??D.radioInputColor;let P=t.select;P.selectedListOptionBackgroundColor=e?.select?.selectedOptionBackgroundColor??P.selectedListOptionBackgroundColor,P.valueFontColor=e?.select?.fontColor??P.valueFontColor,P.labelFontColor=e?.select?.fontColor??P.labelFontColor,P.helperTextFontColor=e?.select?.fontColor??P.helperTextFontColor,P.listOptionFontColor=e?.select?.optionFontColor??P.listOptionFontColor,P.listOptionIconColor=e?.select?.optionFontColor??P.listOptionIconColor,P.placeholderFontColor=se(30,e?.select?.fontColor)??P.placeholderFontColor,P.collapseIndicatorColor=e?.select?.fontColor??P.collapseIndicatorColor,P.hoverInputBorderColor=e?.select?.hoverBorderColor??P.hoverInputBorderColor,P.selectedHoverListOptionBackgroundColor=me(5,e?.select?.selectedOptionBackgroundColor)??P.selectedHoverListOptionBackgroundColor,P.selectedActiveListOptionBackgroundColor=me(15,e?.select?.selectedOptionBackgroundColor)??P.selectedActiveListOptionBackgroundColor;let B=t.sidenav;B.backgroundColor=e?.sidenav?.baseColor??B.backgroundColor;let M=t.slider;M.labelFontColor=e?.slider?.fontColor??M.labelFontColor,M.helperTextFontColor=e?.slider?.fontColor??M.helperTextFontColor,M.limitValuesFontColor=e?.slider?.fontColor??M.limitValuesFontColor,M.thumbBackgroundColor=e?.slider?.baseColor??M.thumbBackgroundColor,M.focusThumbBackgroundColor=e?.slider?.baseColor??M.focusThumbBackgroundColor,M.tickBackgroundColor=e?.slider?.baseColor??M.tickBackgroundColor,M.trackLineColor=e?.slider?.baseColor??M.trackLineColor,M.totalLineColor=e?.slider?.totalLineColor??M.totalLineColor,M.hoverThumbBackgroundColor=me(15,e?.slider?.baseColor)??M.thumbBackgroundColor,M.activeThumbBackgroundColor=me(15,e?.slider?.baseColor)??M.thumbBackgroundColor;let H=t.spinner;H.trackCircleColor=e?.spinner?.accentColor??H.trackCircleColor,H.totalCircleColor=e?.spinner?.baseColor??H.totalCircleColor,H.trackCircleColorOverlay=e?.spinner?.overlayColor??H.trackCircleColorOverlay,H.labelFontColor=e?.spinner?.fontColor??H.labelFontColor,H.progressValueFontColor=e?.spinner?.fontColor??H.progressValueFontColor,H.overlayLabelFontColor=e?.spinner?.overlayFontColor??H.overlayLabelFontColor,H.overlayProgressValueFontColor=e?.spinner?.overlayFontColor??H.overlayProgressValueFontColor;let w=t.switch;w.checkedTrackBackgroundColor=e?.switch?.checkedBaseColor??w.checkedTrackBackgroundColor,w.labelFontColor=e?.switch?.fontColor??w.labelFontColor,w.disabledCheckedTrackBackgroundColor=se(57,e?.switch?.checkedBaseColor)??w.disabledCheckedTrackBackgroundColor;let S=t.table;S.headerBackgroundColor=e?.table?.baseColor??S.headerBackgroundColor,S.headerFontColor=e?.table?.headerFontColor??S.headerFontColor,S.dataFontColor=e?.table?.cellFontColor??S.dataFontColor,S.sortIconColor=e?.table?.headerFontColor??S.sortIconColor,S.actionIconColor=e?.table?.baseColor??S.actionIconColor,S.hoverActionIconColor=e?.table?.baseColor??S.hoverActionIconColor,S.focusActionIconColor=e?.table?.baseColor??S.focusActionIconColor,S.activeActionIconColor=e?.table?.baseColor??S.activeActionIconColor;let z=t.tabs;z.selectedFontColor=e?.tabs?.baseColor??z.selectedFontColor,z.selectedIconColor=e?.tabs?.baseColor??z.selectedIconColor,z.selectedUnderlineColor=e?.tabs?.baseColor??z.selectedUnderlineColor,z.focusOutline=e?.tabs?.baseColor??z.focusOutline,z.hoverBackgroundColor=se(57,e?.tabs?.baseColor)??z.hoverBackgroundColor,z.pressedBackgroundColor=se(52,e?.tabs?.baseColor)??z.pressedBackgroundColor;let G=t.tag;G.fontColor=e?.tag?.fontColor??G.fontColor,G.iconColor=e?.tag?.iconColor??G.iconColor;let V=t.textInput;V.labelFontColor=e?.textInput?.fontColor??V.labelFontColor,V.helperTextFontColor=e?.textInput?.fontColor??V.helperTextFontColor,V.valueFontColor=e?.textInput?.fontColor??V.valueFontColor,V.actionIconColor=e?.textInput?.fontColor??V.actionIconColor,V.hoverActionIconColor=e?.textInput?.fontColor??V.hoverActionIconColor,V.focusActionIconColor=e?.textInput?.fontColor??V.focusActionIconColor,V.activeActionIconColor=e?.textInput?.fontColor??V.activeActionIconColor,V.hoverBorderColor=e?.textInput?.hoverBorderColor??V.hoverBorderColor,V.suffixColor=se(40,e?.textInput?.fontColor)??V.suffixColor,V.prefixColor=se(40,e?.textInput?.fontColor)??V.prefixColor,V.placeholderFontColor=se(30,e?.textInput?.fontColor)??V.placeholderFontColor;let q=t.textarea;q.labelFontColor=e?.textarea?.fontColor??q.labelFontColor,q.helperTextFontColor=e?.textarea?.fontColor??q.helperTextFontColor,q.valueFontColor=e?.textarea?.fontColor??q.valueFontColor,q.hoverBorderColor=e?.textarea?.hoverBorderColor??q.hoverBorderColor,q.placeholderFontColor=se(30,e?.textarea?.fontColor)??q.placeholderFontColor;let W=t.toggleGroup;W.selectedBackgroundColor=e?.toggleGroup?.selectedBaseColor??W.selectedBackgroundColor,W.selectedFontColor=e?.toggleGroup?.selectedFontColor??W.selectedFontColor,W.unselectedBackgroundColor=e?.toggleGroup?.unselectedBaseColor??W.unselectedBackgroundColor,W.unselectedActiveBackgroundColor=e?.toggleGroup?.selectedBaseColor??W.unselectedActiveBackgroundColor,W.unselectedFontColor=e?.toggleGroup?.unselectedFontColor??W.unselectedFontColor,W.selectedHoverBackgroundColor=me(8,e?.toggleGroup?.selectedBaseColor)??W.selectedHoverBackgroundColor,W.selectedActiveBackgroundColor=me(18,e?.toggleGroup?.selectedBaseColor)??W.selectedActiveBackgroundColor,W.selectedDisabledBackgroundColor=se(57,e?.toggleGroup?.selectedBaseColor)??W.selectedDisabledBackgroundColor,W.selectedDisabledFontColor=se(42,e?.toggleGroup?.selectedBaseColor)??W.selectedDisabledFontColor,W.unselectedHoverBackgroundColor=me(10,e?.toggleGroup?.unselectedBaseColor)??W.unselectedHoverBackgroundColor;let A=t.wizard;return A.selectedStepBackgroundColor=e?.wizard?.baseColor??A.selectedStepBackgroundColor,A.selectedStepFontColor=e?.wizard?.selectedStepFontColor??A.selectedStepFontColor,A.selectedStepBorderColor=e?.wizard?.baseColor??A.selectedStepBorderColor,A.visitedLabelFontColor=e?.wizard?.fontColor??A.visitedLabelFontColor,A.selectedLabelFontColor=e?.wizard?.fontColor??A.selectedLabelFontColor,A.visitedHelperTextFontColor=e?.wizard?.fontColor??A.visitedHelperTextFontColor,A.selectedHelperTextFontColor=e?.wizard?.fontColor??A.selectedHelperTextFontColor,A.unvisitedStepBorderColor=se(40,e?.wizard?.fontColor)??A.unvisitedStepBorderColor,A.unvisitedStepFontColor=se(40,e?.wizard?.fontColor)??A.unvisitedStepFontColor,A.unvisitedLabelFontColor=se(40,e?.wizard?.fontColor)??A.unvisitedLabelFontColor,A.unvisitedHelperTextFontColor=se(40,e?.wizard?.fontColor)??A.unvisitedHelperTextFontColor,t},Ed=e=>{let t=kr;return Object.keys(e).map(r=>{t[r]&&Object.keys(t[r]).map(n=>{e[r][n]&&(t[r][n]=e[r][n])})}),t},Ho=({theme:e,advancedTheme:t,labels:r,children:n})=>{let i=(0,rr.useMemo)(()=>e?Md(e):t?Hd(t):ee,[e,t]),l=(0,rr.useMemo)(()=>r?Ed(r):kr,[r]);return(0,qr.jsx)(Wd,{children:(0,qr.jsx)(Si.Provider,{value:i,children:(0,qr.jsx)(Fr.Provider,{value:l,children:n})})})},Wd=wi.default.div`
2
+ @import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap&family=Material+Symbols+Outlined:FILL@0..1");
3
+ `,Qr=Si;var Od=()=>(0,Ii.useContext)(Qr)||ee,k=Od;var nr=require("react"),Li=F(require("styled-components")),Qn=require("react/jsx-runtime"),Bi=(0,nr.createContext)(null),Gd=["a","blockquote","cite","code","div","em","figcaption","h1","h2","h3","h4","h5","h6","p","pre","small","span","strong"],Pi=e=>Gd.includes(e),Nd=({as:e,display:t,fontFamily:r,fontSize:n,fontStyle:i,fontWeight:l,letterSpacing:a,lineHeight:c,textAlign:d,color:s,textDecoration:m,textOverflow:g,whiteSpace:u,children:h})=>{let y=(0,nr.useContext)(Bi),v=(0,nr.useMemo)(()=>({as:Pi(e)?e:Pi(y?.as)?y?.as:"span",display:t??y?.display??"inline",fontFamily:r??y?.fontFamily??"Open Sans, sans-serif",fontSize:n??y?.fontSize??"1rem",fontStyle:i??y?.fontStyle??"normal",fontWeight:l??y?.fontWeight??"400",letterSpacing:a??y?.letterSpacing??"0em",lineHeight:c??y?.lineHeight??"1.5em",textAlign:d??y?.textAlign??"left",color:s??y?.color??"#000000",textDecoration:m??y?.textDecoration??"none",textOverflow:g??y?.textOverflow??"unset",whiteSpace:u??y?.whiteSpace??"normal"}),[e,t,r,n,i,l,a,c,d,s,m,g,u]);return(0,Qn.jsx)(Bi.Provider,{value:v,children:(0,Qn.jsx)(Vd,{...v,children:h})})},Vd=Li.default.span`
4
+ display: ${({display:e})=>e};
5
+ color: ${({color:e})=>e};
6
+ font-family: ${({fontFamily:e})=>e};
7
+ font-size: ${({fontSize:e})=>e};
8
+ font-style: ${({fontStyle:e})=>e};
9
+ font-weight: ${({fontWeight:e})=>e};
10
+ letter-spacing: ${({letterSpacing:e})=>e};
11
+ line-height: ${({lineHeight:e})=>e};
12
+ text-align: ${({textAlign:e})=>e};
13
+ text-decoration: ${({textDecoration:e})=>e};
14
+ text-overflow: ${({textOverflow:e})=>e};
15
+ white-space: ${({whiteSpace:e})=>e};
16
+ overflow: ${({textOverflow:e})=>e!=="unset"?"hidden":"visible"};
17
+ margin: 0;
18
+ `,Ge=Nd;var Di=F(require("styled-components")),zi=require("react/jsx-runtime"),jd=({icon:e})=>{let t=!1,r=e;return e.startsWith("filled_")&&(t=!0,r=e.replace(/filled_/g,"")),(0,zi.jsx)(Xd,{role:"img","aria-label":e,filled:t,icon:r,"aria-hidden":"true"})},Xd=Di.default.span`
19
+ @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1");
20
+ font-family: "Material Symbols Outlined";
21
+ font-weight: normal;
22
+ font-style: normal;
23
+ line-height: 1;
24
+ letter-spacing: normal;
25
+ text-transform: none;
26
+ display: inline-block;
27
+ white-space: nowrap;
28
+ word-wrap: normal;
29
+ direction: ltr;
30
+ -webkit-font-feature-settings: "liga";
31
+ -webkit-font-smoothing: antialiased;
32
+ text-rendering: optimizeLegibility;
33
+ -moz-osx-font-smoothing: grayscale;
34
+ font-variation-settings: ${e=>e.filled?"'FILL' 1":"'FILL' 0"};
35
+ ::before {
36
+ content: "${e=>e.icon}";
37
+ }
38
+ `,$=jd;var Ee=require("react/jsx-runtime"),Jd=({label:e="",defaultIsExpanded:t,isExpanded:r,icon:n,assistiveText:i="",disabled:l=!1,onChange:a,children:c,margin:d,tabIndex:s=0})=>{let m=(0,en.useId)(),[g,u]=(0,en.useState)(t??!1),h=k(),y=()=>{r??u(v=>!v),a?.(r!=null?!r:!g)};return(0,Ee.jsx)(ho.ThemeProvider,{theme:h.accordion,children:(0,Ee.jsxs)(Ud,{isExpanded:r??g,margin:d,children:[(0,Ee.jsx)(Yd,{children:(0,Ee.jsxs)(Zd,{id:`accordion-${m}`,onClick:l?void 0:y,disabled:l,tabIndex:l?-1:s,"aria-expanded":r??g,"aria-controls":`accordion-panel-${m}`,isExpanded:r??g,children:[(0,Ee.jsxs)(qd,{children:[(0,Ee.jsxs)(Qd,{children:[n&&(0,Ee.jsx)(es,{disabled:l,children:typeof n=="string"?(0,Ee.jsx)($,{icon:n}):n}),(0,Ee.jsx)(Ge,{color:l?h.accordion.disabledTitleLabelFontColor:h.accordion.titleLabelFontColor,fontFamily:h.accordion.titleLabelFontFamily,fontSize:h.accordion.titleLabelFontSize,fontStyle:h.accordion.titleLabelFontStyle,fontWeight:h.accordion.titleLabelFontWeight,lineHeight:"1.5em",children:e})]}),i&&(0,Ee.jsx)(os,{children:(0,Ee.jsx)(Ge,{color:l?h.accordion.disabledAssistiveTextFontColor:h.accordion.assistiveTextFontColor,fontFamily:h.accordion.assistiveTextFontFamily,fontSize:h.accordion.assistiveTextFontSize,fontStyle:h.accordion.assistiveTextFontStyle,fontWeight:h.accordion.assistiveTextFontWeight,letterSpacing:h.accordion.assistiveTextLetterSpacing,lineHeight:"1.5em",children:i})})]}),(0,Ee.jsx)(ts,{disabled:l,children:(0,Ee.jsx)($,{icon:r??g?"expand_less":"expand_more"})})]})}),(r??g)&&(0,Ee.jsx)(rs,{id:`accordion-panel-${m}`,role:"region","aria-labelledby":`accordion-${m}`,children:c})]})})},Kd=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,Ud=ho.default.div`
39
+ display: flex;
40
+ flex-direction: column;
41
+ background-color: ${e=>e.theme.backgroundColor};
42
+ border-radius: ${e=>e.theme.borderRadius};
43
+ ${e=>e.isExpanded&&"border-bottom-left-radius: 0; border-bottom-right-radius: 0;"}
44
+ box-shadow: ${e=>`${e.theme.boxShadowOffsetX} ${e.theme.boxShadowOffsetY} ${e.theme.boxShadowBlur} ${e.theme.boxShadowColor}`};
45
+ min-width: 280px;
46
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
47
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
48
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
49
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
50
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
51
+ width: ${e=>Kd(e.margin)};
52
+ `,Yd=ho.default.h3`
53
+ display: flex;
54
+ flex-direction: column;
55
+ min-height: 48px;
56
+ margin: 0;
57
+ `,Zd=ho.default.button`
58
+ display: flex;
59
+ justify-content: space-between;
60
+ align-items: center;
61
+ gap: 24px;
62
+ width: 100%;
63
+ background-color: transparent;
64
+ border: none;
65
+ border-radius: ${e=>e.theme.borderRadius};
66
+ ${e=>e.isExpanded&&"border-bottom-left-radius: 0; border-bottom-right-radius: 0;"}
67
+ padding: 12px 16px;
68
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
69
+
70
+ :focus {
71
+ outline: ${e=>`${e.theme.focusBorderColor} ${e.theme.focusBorderStyle} ${e.theme.focusBorderThickness}`};
72
+ }
73
+ :hover:enabled {
74
+ background-color: ${e=>`${e.theme.hoverBackgroundColor}`};
75
+ }
76
+ :active:enabled {
77
+ background-color: ${e=>`${e.theme.hoverBackgroundColor}`};
78
+ }
79
+ `,qd=ho.default.span`
80
+ display: inline-flex;
81
+ justify-content: space-between;
82
+ width: 100%;
83
+ `,Qd=ho.default.span`
84
+ display: flex;
85
+ padding-top: ${e=>e.theme.titleLabelPaddingTop};
86
+ padding-bottom: ${e=>e.theme.titleLabelPaddingBottom};
87
+ padding-right: ${e=>e.theme.titleLabelPaddingRight};
88
+ padding-left: ${e=>e.theme.titleLabelPaddingLeft};
89
+ `,es=ho.default.span`
90
+ display: flex;
91
+ margin-left: ${e=>e.theme.iconMarginLeft};
92
+ margin-right: ${e=>e.theme.iconMarginRight};
93
+ color: ${e=>e.disabled?e.theme.disabledIconColor:e.theme.iconColor};
94
+ font-size: ${e=>e.theme.iconSize};
95
+
96
+ svg {
97
+ height: ${e=>e.theme.iconSize};
98
+ width: ${e=>e.theme.iconSize};
99
+ }
100
+ `,os=ho.default.span`
101
+ min-width: ${e=>e.theme.assistiveTextMinWidth};
102
+ padding-left: ${e=>e.theme.assistiveTextPaddingLeft};
103
+ padding-right: ${e=>e.theme.assistiveTextPaddingRight};
104
+ `,ts=ho.default.span`
105
+ display: flex;
106
+ flex-wrap: wrap;
107
+ align-content: center;
108
+ font-size: 24px;
109
+ color: ${e=>e.disabled?e.theme.disabledArrowColor:e.theme.arrowColor};
110
+ `,rs=ho.default.div`
111
+ border-bottom-left-radius: ${e=>e.theme.borderRadius};
112
+ border-bottom-right-radius: ${e=>e.theme.borderRadius};
113
+ `,on=Jd;var yt=require("react"),nn=F(require("styled-components"));var Ri=require("react");var Ai=require("react"),tn=(0,Ai.createContext)(null);var Mi=require("react/jsx-runtime"),ns=({...e})=>{let{activeIndex:t,handlerActiveChange:r,disabled:n,index:i}=(0,Ri.useContext)(tn);return(0,Mi.jsx)(on,{isExpanded:t===i,onChange:()=>{r(i)},disabled:n,...e,children:e.children})},Hi=ns;var rn=require("react/jsx-runtime"),Ei=({defaultIndexActive:e,indexActive:t,disabled:r=!1,onActiveChange:n,margin:i,children:l})=>{let a=k(),[c,d]=(0,yt.useState)(e??-1),s=(0,yt.useCallback)(g=>{t??d(u=>g===u?-1:g),!r&&n?.(g)},[r,t,n]),m=(0,yt.useMemo)(()=>({activeIndex:t??c,handlerActiveChange:s,disabled:r}),[t,c,s,r]);return(0,rn.jsx)(nn.ThemeProvider,{theme:a.accordion,children:(0,rn.jsx)(ls,{margin:i,disabled:r,children:yt.Children.map(l,(g,u)=>(0,rn.jsx)(tn.Provider,{value:{index:u,...m},children:g},`accordion-${u}`))})})};Ei.Accordion=Hi;var is=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,ls=nn.default.div`
114
+ width: ${e=>is(e.margin)};
115
+ margin: ${({margin:e})=>e&&typeof e!="object"?p[e]:"0px"};
116
+ margin-top: ${({margin:e})=>e&&typeof e=="object"&&e.top?p[e.top]:""};
117
+ margin-right: ${({margin:e})=>e&&typeof e=="object"&&e.right?p[e.right]:""};
118
+ margin-bottom: ${({margin:e})=>e&&typeof e=="object"&&e.bottom?p[e.bottom]:""};
119
+ margin-left: ${({margin:e})=>e&&typeof e=="object"&&e.left?p[e.left]:""};
120
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
121
+
122
+ > div:not(:last-of-type):not(:only-of-type) {
123
+ border-bottom: ${e=>`${e.theme.accordionGroupSeparatorBorderThickness} ${e.theme.accordionGroupSeparatorBorderStyle}`};
124
+ border-color: ${e=>e.theme.accordionGroupSeparatorBorderColor};
125
+ }
126
+ > div:not(:first-of-type):not(:last-of-type):not(:only-of-type) {
127
+ border-radius: 0;
128
+ & > h3 > button {
129
+ border-radius: 0;
130
+ }
131
+ }
132
+ > div:first-of-type:not(:only-of-type) {
133
+ border-bottom-left-radius: 0;
134
+ border-bottom-right-radius: 0;
135
+ border-top-left-radius: ${e=>e.theme.borderRadius};
136
+ border-top-right-radius: ${e=>e.theme.borderRadius};
137
+
138
+ & > h3 > button {
139
+ border-bottom-left-radius: 0;
140
+ border-bottom-right-radius: 0;
141
+ }
142
+ }
143
+ > div:last-of-type:not(:only-of-type) {
144
+ border-top-left-radius: 0;
145
+ border-top-right-radius: 0;
146
+ border-bottom-left-radius: ${e=>e.theme.borderRadius};
147
+ border-bottom-right-radius: ${e=>e.theme.borderRadius};
148
+
149
+ & > h3 > button {
150
+ border-top-left-radius: 0;
151
+ border-top-right-radius: 0;
152
+ }
153
+ }
154
+ `,Wi=Ei;var no=F(require("styled-components"));var Oi=require("react");var as=()=>(0,Oi.useContext)(Fr)||kr,J=as;var Pe=require("react/jsx-runtime"),cs=({type:e="info",mode:t="inline",inlineText:r="",onClose:n,children:i,margin:l,size:a="fitContent",tabIndex:c})=>{let d=k(),s=J(),m=()=>e==="info"?s.alert.infoTitleText:e==="confirm"?s.alert.successTitleText:e==="warning"?s.alert.warningTitleText:s.alert.errorTitleText;return(0,Pe.jsx)(no.ThemeProvider,{theme:d.alert,children:(0,Pe.jsxs)(ds,{mode:t,children:[t==="modal"&&(0,Pe.jsx)(ss,{mode:t,onClick:n}),(0,Pe.jsxs)(ms,{mode:t,type:e,margin:l,size:a,role:e==="error"?"alert":"status","aria-live":e==="error"?"assertive":"off",children:[(0,Pe.jsxs)(gs,{children:[(0,Pe.jsx)(hs,{type:e,children:e==="info"&&(0,Pe.jsx)($,{icon:"filled_info"})||e==="confirm"&&(0,Pe.jsx)($,{icon:"filled_check_circle"})||e==="warning"&&(0,Pe.jsx)($,{icon:"filled_warning"})||e==="error"&&(0,Pe.jsx)($,{icon:"filled_cancel"})}),(0,Pe.jsxs)(fs,{children:[(0,Pe.jsx)(ps,{children:m()}),r&&r!==""&&"-",(0,Pe.jsx)(us,{children:r})]}),typeof n=="function"&&(0,Pe.jsx)(ys,{onClick:n,tabIndex:c,"aria-label":"Close alert",children:(0,Pe.jsx)($,{icon:"close"})})]}),i&&(0,Pe.jsx)(bs,{children:i})]})]})})},Gi={small:"280px",medium:"480px",large:"820px",fillParent:"100%",fitContent:"fit-content"},Ni=(e,t)=>t==="fillParent"?`calc(${Gi[t]} - ${X(e,"left")} - ${X(e,"right")})`:Gi[t],ds=no.default.div`
155
+ font-size: ${e=>e.theme.fontSizeBase};
156
+ width: ${e=>e.mode==="modal"?"100%":""};
157
+ height: ${e=>e.mode==="modal"?"100%":""};
158
+ justify-content: ${e=>e.mode==="modal"?"center":""};
159
+ align-items: ${e=>e.mode==="modal"?"center":""};
160
+ top: ${e=>e.mode==="modal"?"0":""};
161
+ left: ${e=>e.mode==="modal"?"0":""};
162
+ position: ${e=>e.mode==="modal"?"fixed":""};
163
+ display: ${e=>e.mode==="modal"?"flex":""};
164
+ z-index: ${e=>e.mode==="modal"?"1200":""};
165
+ `,ss=no.default.div`
166
+ background-color: ${e=>e.mode==="modal"?`${e.theme.overlayColor}`:"transparent"};
167
+ position: ${e=>e.mode==="modal"?"fixed":""};
168
+ top: ${e=>e.mode==="modal"?"0":""};
169
+ bottom: ${e=>e.mode==="modal"?"0":""};
170
+ left: ${e=>e.mode==="modal"?"0":""};
171
+ right: ${e=>e.mode==="modal"?"0":""};
172
+ `,ms=no.default.div`
173
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
174
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
175
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
176
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
177
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
178
+ display: ${e=>e.size==="fitContent"?"inline-block":"block"};
179
+ overflow: hidden;
180
+ box-sizing: border-box;
181
+
182
+ background-color: ${e=>e.type==="info"&&e.theme.infoBackgroundColor||e.type==="confirm"&&e.theme.successBackgroundColor||e.type==="warning"&&e.theme.warningBackgroundColor||e.type==="error"&&e.theme.errorBackgroundColor};
183
+
184
+ border-radius: ${e=>e.theme.borderRadius};
185
+ border-width: ${e=>e.theme.borderThickness};
186
+ border-style: ${e=>e.theme.borderStyle};
187
+ border-color: ${e=>e.type==="info"&&e.theme.infoBorderColor||e.type==="confirm"&&e.theme.successBorderColor||e.type==="warning"&&e.theme.warningBorderColor||e.type==="error"&&e.theme.errorBorderColor};
188
+
189
+ padding-left: 12px;
190
+ padding-right: 12px;
191
+ justify-content: ${e=>e.mode==="modal"?"center":""};
192
+ align-items: ${e=>e.mode==="modal"?"center":""};
193
+ max-width: ${e=>e.size!=="fillParent"&&Ni(e.margin,"fillParent")};
194
+ width: ${e=>e.size!=="fillParent"&&Ni(e.margin,e.size)};
195
+ z-index: ${e=>e.mode==="modal"?"1300":""};
196
+ `,gs=no.default.div`
197
+ display: flex;
198
+ flex-direction: row;
199
+ height: calc(48px - calc(${e=>e.theme.borderThickness} * 2));
200
+ align-items: center;
201
+ width: 100%;
202
+ `,ps=no.default.div`
203
+ margin-right: 8px;
204
+ padding-right: ${e=>e.theme.titlePaddingRight};
205
+ padding-left: ${e=>e.theme.titlePaddingLeft};
206
+ font-family: ${e=>e.theme.titleFontFamily};
207
+ font-size: ${e=>e.theme.titleFontSize};
208
+ font-style: ${e=>e.theme.titleFontStyle};
209
+ font-weight: ${e=>e.theme.titleFontWeight};
210
+ color: ${e=>e.theme.titleFontColor};
211
+ text-transform: ${e=>e.theme.titleTextTransform};
212
+ `,us=no.default.div`
213
+ margin-left: 8px;
214
+ padding-right: ${e=>e.theme.inlineTextPaddingRight};
215
+ padding-left: ${e=>e.theme.inlineTextPaddingLeft};
216
+ flex-grow: 1;
217
+ white-space: nowrap;
218
+ overflow: hidden;
219
+ text-overflow: ellipsis;
220
+ font-family: ${e=>e.theme.inlineTextFontFamily};
221
+ font-size: ${e=>e.theme.inlineTextFontSize};
222
+ font-style: ${e=>e.theme.inlineTextFontStyle};
223
+ font-weight: ${e=>e.theme.inlineTextFontWeight};
224
+ color: ${e=>e.theme.inlineTextFontColor};
225
+ `,hs=no.default.span`
226
+ display: flex;
227
+ flex-wrap: wrap;
228
+ align-content: center;
229
+ margin-right: 12px;
230
+ padding-right: ${e=>e.theme.iconPaddingRight};
231
+ padding-left: ${e=>e.theme.iconPaddingLeft};
232
+
233
+ color: ${e=>e.type==="info"&&e.theme.infoIconColor||e.type==="confirm"&&e.theme.successIconColor||e.type==="warning"&&e.theme.warningIconColor||e.type==="error"&&e.theme.errorIconColor};
234
+
235
+ font-size: ${e=>e.theme.iconSize};
236
+ `,fs=no.default.div`
237
+ display: flex;
238
+ flex-direction: row;
239
+ flex-grow: 1;
240
+ align-items: center;
241
+ overflow: hidden;
242
+ `,bs=no.default.div`
243
+ flex: 1 1 auto;
244
+ padding: ${e=>`${e.theme.contentPaddingTop} ${e.theme.contentPaddingRight} ${e.theme.contentPaddingBottom} ${e.theme.contentPaddingLeft}`};
245
+ overflow-y: auto;
246
+ `,ys=no.default.button`
247
+ display: flex;
248
+ flex-wrap: wrap;
249
+ align-content: center;
250
+ justify-content: center;
251
+ height: 24px;
252
+ width: 24px;
253
+ font-size: 20px;
254
+ border: 1px solid transparent;
255
+ border-radius: 2px;
256
+ box-shadow: 0 0 0 2px transparent;
257
+ padding: 3px;
258
+ margin-left: 12px;
259
+ background-color: transparent;
260
+ color: #000000;
261
+ cursor: pointer;
262
+
263
+ &:hover {
264
+ background-color: ${e=>e.theme.hoverActionBackgroundColor};
265
+ }
266
+ &:focus,
267
+ &:focus-visible {
268
+ outline: none;
269
+ box-shadow: 0 0 0 2px ${e=>e.theme.focusActionBorderColor};
270
+ }
271
+ &:active {
272
+ background-color: ${e=>e.theme.activeActionBackgroundColor};
273
+ }
274
+ `,Vi=cs;var ar=require("react"),rt=F(require("styled-components"));var Zi=require("react"),io=F(require("styled-components"));var ji=F(require("styled-components")),Xi=require("react/jsx-runtime"),Cs=ji.default.div`
275
+ display: flex;
276
+ ${e=>`
277
+ ${typeof e.alignContent=="string"?`align-content: ${e.alignContent};`:""}
278
+ ${typeof e.alignItems=="string"?`align-items: ${e.alignItems};`:""}
279
+ ${typeof e.alignSelf=="string"?`align-self: ${e.alignSelf};`:""}
280
+ ${typeof e.$basis=="string"?`flex-basis: ${e.$basis};`:""}
281
+ ${typeof e.$direction=="string"?`flex-direction: ${e.$direction};`:""}
282
+ ${typeof e.$gap=="string"?`gap: ${e.$gap};`:""}
283
+ ${typeof e.$gap=="object"?`column-gap: ${e.$gap.columnGap}; row-gap: ${e.$gap.rowGap};`:""}
284
+ ${typeof e.$grow=="number"?`flex-grow: ${e.$grow};`:""}
285
+ ${typeof e.justifyContent=="string"?`justify-content: ${e.justifyContent};`:""}
286
+ ${typeof e.$order=="number"?`order: ${e.$order};`:""}
287
+ ${typeof e.$shrink=="number"?`flex-shrink: ${e.$shrink};`:""}
288
+ ${typeof e.$wrap=="string"?`flex-wrap: ${e.$wrap};`:""}
289
+ `}
290
+ `,xs=({basis:e,direction:t,gap:r,grow:n,order:i,shrink:l,wrap:a,...c})=>(0,Xi.jsx)(Cs,{$basis:e,$direction:t,$gap:r,$grow:n,$order:i,$shrink:l,$wrap:a,...c}),ne=xs;var ln=F(require("styled-components"));var an=require("react"),Mo=require("@radix-ui/react-tooltip"),Ki=require("@radix-ui/react-tooltip"),Le=require("react/jsx-runtime"),_s=ln.default.div`
291
+ position: relative;
292
+ display: inline-flex;
293
+ `,$s=(0,ln.default)(Mo.Content)`
294
+ z-index: 2147483647;
295
+
296
+ animation-duration: 0.2s;
297
+ animation-timing-function: ease-out;
298
+
299
+ /* Additional optimization to prevent blurry text in certain browsers */
300
+ -webkit-font-smoothing: antialiased;
301
+ transform: translateZ(0) scale(1, 1);
302
+
303
+ &[data-side="top"] {
304
+ animation-name: slideUp;
305
+ }
306
+ &[data-side="bottom"] {
307
+ animation-name: slideDown;
308
+ }
309
+ &[data-side="left"] {
310
+ animation-name: slideLeft;
311
+ }
312
+ &[data-side="right"] {
313
+ animation-name: slideRight;
314
+ }
315
+ @keyframes slideDown {
316
+ from {
317
+ opacity: 0;
318
+ transform: translateY(-10px);
319
+ }
320
+ to {
321
+ opacity: 1;
322
+ transform: translateY(0);
323
+ }
324
+ }
325
+ @keyframes slideUp {
326
+ from {
327
+ opacity: 0;
328
+ transform: translateY(10px);
329
+ }
330
+ to {
331
+ opacity: 1;
332
+ transform: translateY(0);
333
+ }
334
+ }
335
+ @keyframes slideLeft {
336
+ from {
337
+ opacity: 0;
338
+ transform: translateX(10px);
339
+ }
340
+ to {
341
+ opacity: 1;
342
+ transform: translateX(0);
343
+ }
344
+ }
345
+ @keyframes slideRight {
346
+ from {
347
+ opacity: 0;
348
+ transform: translateX(-10px);
349
+ }
350
+ to {
351
+ opacity: 1;
352
+ transform: translateX(0);
353
+ }
354
+ }
355
+ `,vs=ln.default.div`
356
+ box-sizing: border-box;
357
+ max-width: 242px;
358
+ border-radius: 4px;
359
+ border-color: ${o.color_grey_800};
360
+ padding: 8px 12px;
361
+ font-size: ${o.type_scale_01};
362
+ font-family: ${o.type_sans};
363
+ color: ${o.color_white};
364
+ background-color: ${o.color_grey_800};
365
+ overflow-wrap: break-word;
366
+ `,Ts=(0,Le.jsx)("svg",{width:"12",height:"6",viewBox:"0 0 12 6",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",display:"block",children:(0,Le.jsx)("path",{d:"M0.351562 0L5.30131 4.94975C5.69184 5.34027 6.325 5.34027 6.71552 4.94975L11.6653 0H6.00842H0.351562Z",fill:o.color_grey_800})}),Ji=(0,an.createContext)(!1),ge=({label:e,hasAdditionalContainer:t=!1,position:r="bottom",children:n})=>{let i=(0,an.useContext)(Ji);return(0,Le.jsx)(Ji.Provider,{value:!0,children:e&&!i?(0,Le.jsx)(Ki.Provider,{delayDuration:300,children:(0,Le.jsxs)(Mo.Root,{children:[(0,Le.jsx)(Mo.Trigger,{asChild:!0,children:t?(0,Le.jsx)(_s,{children:n}):n}),(0,Le.jsx)(Mo.Portal,{children:(0,Le.jsxs)($s,{side:r,sideOffset:8,children:[(0,Le.jsx)(vs,{children:e}),(0,Le.jsx)(Mo.Arrow,{asChild:!0,"aria-hidden":!0,children:Ts})]})})]})}):n})},ir=({condition:e,children:t,label:r})=>e?(0,Le.jsx)(ge,{label:r,children:t}):(0,Le.jsx)(Le.Fragment,{children:t});function ei(e){return(0,Le.jsx)(ge,{...e,hasAdditionalContainer:!0})}var le=require("react/jsx-runtime"),Ui=(0,le.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"32",viewBox:"0 0 280.781 32",children:[(0,le.jsx)("title",{children:"DXC Logo"}),(0,le.jsxs)("g",{children:[(0,le.jsx)("path",{d:"M171.5-54.124v12.539h-3.6V-54.124h-4.973v-3.191h13.54v3.191H171.5",transform:"translate(-68.528 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M189.96-41.585V-57.315h12.326v3.079h-8.753v3.191h7.7v3.078h-7.7v3.3h8.87v3.078H189.96",transform:"translate(-77.56 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M223.558-41.438a8.1,8.1,0,0,1-8.382-8.1v-.045a8.161,8.161,0,0,1,8.522-8.146,8.6,8.6,0,0,1,6.444,2.431l-2.289,2.543a6.133,6.133,0,0,0-4.178-1.778,4.743,4.743,0,0,0-4.738,4.905v.045a4.752,4.752,0,0,0,4.738,4.95,6,6,0,0,0,4.295-1.845l2.288,2.228a8.491,8.491,0,0,1-6.7,2.813",transform:"translate(-86.019 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M254.988-41.585V-47.9h-6.63v6.315h-3.6V-57.315h3.6v6.225h6.63v-6.225h3.594v15.731h-3.594",transform:"translate(-95.903 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M285.991-41.585l-7.914-10v10h-3.549V-57.315h3.316l7.657,9.685v-9.685h3.549v15.731h-3.058",transform:"translate(-105.869 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M317.2-49.583a4.869,4.869,0,0,0-4.949-4.95,4.793,4.793,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.793,4.793,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.661-3.623-8.661-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.66,3.623,8.66,8.1v.045c0,4.477-3.664,8.145-8.708,8.145",transform:"translate(-115.631 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M336.786-41.585V-57.315h3.6v12.584h8.148v3.146H336.786",transform:"translate(-126.654 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M372.78-49.583a4.87,4.87,0,0,0-4.949-4.95,4.794,4.794,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.794,4.794,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.662-3.623-8.662-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.661,3.623,8.661,8.1v.045c0,4.477-3.666,8.145-8.708,8.145",transform:"translate(-135.016 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M399.735-41.438c-5.09,0-8.592-3.443-8.592-8.1v-.045a8.243,8.243,0,0,1,8.568-8.146,9.18,9.18,0,0,1,6.42,2.16l-2.265,2.634a6.141,6.141,0,0,0-4.272-1.6,4.807,4.807,0,0,0-4.692,4.905v.045a4.8,4.8,0,0,0,4.949,4.995,5.89,5.89,0,0,0,3.384-.945v-2.25h-3.618v-2.992h7.1v6.841a10.837,10.837,0,0,1-6.98,2.5",transform:"translate(-145.284 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M428.664-47.855v6.27h-3.6v-6.2l-6.28-9.528h4.2L426.89-51l3.968-6.315h4.085l-6.28,9.46",transform:"translate(-154.162 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M84.218-55.737a10.063,10.063,0,0,1,2.589-4.4,9.792,9.792,0,0,1,6.985-2.77h11.328V-69.3H93.792a17.041,17.041,0,0,0-11.8,4.759,16.344,16.344,0,0,0-3.547,5.115,13.247,13.247,0,0,0-1.122,3.688Zm0,4.877a10.065,10.065,0,0,0,2.589,4.4,9.793,9.793,0,0,0,6.985,2.77h11.328V-37.3H93.792a17.042,17.042,0,0,1-11.8-4.759,16.339,16.339,0,0,1-3.547-5.114,13.251,13.251,0,0,1-1.122-3.688ZM63.1-47.98,54.45-37.3H45.873l12.957-16-12.957-16H54.45L63.1-58.619l8.65-10.68h8.578l-12.957,16,12.957,16H71.749ZM48.875-55.737a13.212,13.212,0,0,0-1.122-3.688,16.359,16.359,0,0,0-3.546-5.115,17.043,17.043,0,0,0-11.8-4.759H21.08v6.393H32.408a9.79,9.79,0,0,1,6.985,2.77,10.072,10.072,0,0,1,2.59,4.4Zm0,4.877a13.215,13.215,0,0,1-1.122,3.688,16.353,16.353,0,0,1-3.546,5.114,17.044,17.044,0,0,1-11.8,4.759H21.08v-6.393H32.408a9.791,9.791,0,0,0,6.985-2.77,10.074,10.074,0,0,0,2.59-4.4h6.892",transform:"translate(-21.08 69.298)",fill:"#fff"})]})]}),Yi=(0,le.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"16",viewBox:"0 0 280.781 32",children:[(0,le.jsx)("title",{children:"DXC Logo"}),(0,le.jsxs)("g",{children:[(0,le.jsx)("path",{d:"M171.5-54.124v12.539h-3.6V-54.124h-4.973v-3.191h13.54v3.191H171.5",transform:"translate(-68.528 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M189.96-41.585V-57.315h12.326v3.079h-8.753v3.191h7.7v3.078h-7.7v3.3h8.87v3.078H189.96",transform:"translate(-77.56 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M223.558-41.438a8.1,8.1,0,0,1-8.382-8.1v-.045a8.161,8.161,0,0,1,8.522-8.146,8.6,8.6,0,0,1,6.444,2.431l-2.289,2.543a6.133,6.133,0,0,0-4.178-1.778,4.743,4.743,0,0,0-4.738,4.905v.045a4.752,4.752,0,0,0,4.738,4.95,6,6,0,0,0,4.295-1.845l2.288,2.228a8.491,8.491,0,0,1-6.7,2.813",transform:"translate(-86.019 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M254.988-41.585V-47.9h-6.63v6.315h-3.6V-57.315h3.6v6.225h6.63v-6.225h3.594v15.731h-3.594",transform:"translate(-95.903 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M285.991-41.585l-7.914-10v10h-3.549V-57.315h3.316l7.657,9.685v-9.685h3.549v15.731h-3.058",transform:"translate(-105.869 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M317.2-49.583a4.869,4.869,0,0,0-4.949-4.95,4.793,4.793,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.793,4.793,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.661-3.623-8.661-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.66,3.623,8.66,8.1v.045c0,4.477-3.664,8.145-8.708,8.145",transform:"translate(-115.631 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M336.786-41.585V-57.315h3.6v12.584h8.148v3.146H336.786",transform:"translate(-126.654 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M372.78-49.583a4.87,4.87,0,0,0-4.949-4.95,4.794,4.794,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.794,4.794,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.662-3.623-8.662-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.661,3.623,8.661,8.1v.045c0,4.477-3.666,8.145-8.708,8.145",transform:"translate(-135.016 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M399.735-41.438c-5.09,0-8.592-3.443-8.592-8.1v-.045a8.243,8.243,0,0,1,8.568-8.146,9.18,9.18,0,0,1,6.42,2.16l-2.265,2.634a6.141,6.141,0,0,0-4.272-1.6,4.807,4.807,0,0,0-4.692,4.905v.045a4.8,4.8,0,0,0,4.949,4.995,5.89,5.89,0,0,0,3.384-.945v-2.25h-3.618v-2.992h7.1v6.841a10.837,10.837,0,0,1-6.98,2.5",transform:"translate(-145.284 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M428.664-47.855v6.27h-3.6v-6.2l-6.28-9.528h4.2L426.89-51l3.968-6.315h4.085l-6.28,9.46",transform:"translate(-154.162 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M84.218-55.737a10.063,10.063,0,0,1,2.589-4.4,9.792,9.792,0,0,1,6.985-2.77h11.328V-69.3H93.792a17.041,17.041,0,0,0-11.8,4.759,16.344,16.344,0,0,0-3.547,5.115,13.247,13.247,0,0,0-1.122,3.688Zm0,4.877a10.065,10.065,0,0,0,2.589,4.4,9.793,9.793,0,0,0,6.985,2.77h11.328V-37.3H93.792a17.042,17.042,0,0,1-11.8-4.759,16.339,16.339,0,0,1-3.547-5.114,13.251,13.251,0,0,1-1.122-3.688ZM63.1-47.98,54.45-37.3H45.873l12.957-16-12.957-16H54.45L63.1-58.619l8.65-10.68h8.578l-12.957,16,12.957,16H71.749ZM48.875-55.737a13.212,13.212,0,0,0-1.122-3.688,16.359,16.359,0,0,0-3.546-5.115,17.043,17.043,0,0,0-11.8-4.759H21.08v6.393H32.408a9.79,9.79,0,0,1,6.985,2.77,10.072,10.072,0,0,1,2.59,4.4Zm0,4.877a13.215,13.215,0,0,1-1.122,3.688,16.353,16.353,0,0,1-3.546,5.114,17.044,17.044,0,0,1-11.8,4.759H21.08v-6.393H32.408a9.791,9.791,0,0,0,6.985-2.77,10.074,10.074,0,0,0,2.59-4.4h6.892",transform:"translate(-21.08 69.298)",fill:"#fff"})]})]});var De=require("react/jsx-runtime"),ks=({socialLinks:e,bottomLinks:t,copyright:r,children:n,margin:i,tabIndex:l=0,mode:a="default"})=>{let c=k(),d=J(),s=(0,Zi.useMemo)(()=>c.footer.logo?typeof c.footer.logo=="string"?(0,De.jsx)(Ps,{mode:a,alt:d.formFields.logoAlternativeText,src:c.footer.logo}):c.footer.logo:a==="default"?Ui:Yi,[c]);return(0,De.jsx)(io.ThemeProvider,{theme:c.footer,children:(0,De.jsxs)(Fs,{margin:i,mode:a,children:[(0,De.jsxs)(ne,{justifyContent:"space-between",alignItems:"center",wrap:"wrap",gap:"1.5rem",children:[(0,De.jsx)(Bs,{mode:a,children:s}),a==="default"&&(0,De.jsx)(ne,{gap:c.footer.socialLinksGutter,children:e?.map((m,g)=>(0,De.jsx)(ge,{label:m.title,children:(0,De.jsx)(Ls,{href:m.href,tabIndex:l,"aria-label":m.title,index:g,children:(0,De.jsx)(Ds,{children:typeof m.logo=="string"?(0,De.jsx)($,{icon:m.logo}):m.logo})},`social${g}${m.href}`)}))})]}),(0,De.jsx)(Ss,{children:n}),a==="default"&&(0,De.jsxs)(ws,{children:[(0,De.jsx)(zs,{children:t?.map((m,g)=>(0,De.jsx)("span",{children:(0,De.jsx)(As,{href:m.href,tabIndex:l,children:m.text})},`bottom${g}${m.text}`))}),(0,De.jsx)(Is,{children:r||d.footer.copyrightText(new Date().getFullYear())})]})]})})},Fs=io.default.footer`
367
+ background-color: ${e=>e.theme.backgroundColor};
368
+ box-sizing: border-box;
369
+ display: flex;
370
+ flex-direction: ${e=>e?.mode==="default"?"column":"row"};
371
+ justify-content: space-between;
372
+ margin-top: ${e=>e.margin?p[e.margin]:"0px"};
373
+ min-height: ${e=>e?.mode==="default"?e.theme.height:"40px"};
374
+ width: 100%;
375
+ gap: ${e=>e?.mode==="default"?"0px":"32px"};
376
+ @media (min-width: ${de.small}rem) {
377
+ padding: ${e=>e?.mode==="default"?"24px 32px":"12px 32px"};
378
+ }
379
+ @media (max-width: ${de.small}rem) {
380
+ padding: 20px;
381
+ flex-direction: column;
382
+ }
383
+ `,ws=io.default.div`
384
+ display: flex;
385
+ justify-content: space-between;
386
+ align-items: flex-end;
387
+
388
+ @media (min-width: ${de.small}rem) {
389
+ flex-direction: row;
390
+ }
391
+ @media (max-width: ${de.small}rem) {
392
+ flex-direction: column;
393
+ align-items: center;
394
+ }
395
+
396
+ border-top: ${e=>`${e.theme.bottomLinksDividerThickness} ${e.theme.bottomLinksDividerStyle} ${e.theme.bottomLinksDividerColor}`};
397
+ margin-top: 16px;
398
+ `,Ss=io.default.div`
399
+ min-height: 16px;
400
+ overflow: hidden;
401
+ `,Is=io.default.div`
402
+ padding-top: ${e=>e.theme.bottomLinksDividerSpacing};
403
+ font-family: ${e=>e.theme.copyrightFontFamily};
404
+ font-size: ${e=>e.theme.copyrightFontSize};
405
+ font-style: ${e=>e.theme.copyrightFontStyle};
406
+ font-weight: ${e=>e.theme.copyrightFontWeight};
407
+ color: ${e=>e.theme.copyrightFontColor};
408
+
409
+ @media (min-width: ${de.small}rem) {
410
+ max-width: 40%;
411
+ text-align: right;
412
+ }
413
+
414
+ @media (max-width: ${de.small}rem) {
415
+ max-width: 100%;
416
+ width: 100%;
417
+ text-align: left;
418
+ }
419
+ `,Bs=io.default.span`
420
+ max-height: ${e=>e?.mode==="default"?e.theme.logoHeight:"16px"};
421
+ width: ${e=>e.theme.logoWidth};
422
+ `,Ps=io.default.img`
423
+ max-height: ${e=>e?.mode==="default"?e.theme.logoHeight:"16px"};
424
+ width: ${e=>e.theme.logoWidth};
425
+ `,Ls=io.default.a`
426
+ border-radius: 4px;
427
+
428
+ &:focus {
429
+ outline: 2px solid #0095ff;
430
+ outline-offset: 2px;
431
+ }
432
+ `,Ds=io.default.div`
433
+ display: flex;
434
+ align-items: center;
435
+ color: ${e=>e.theme.socialLinksColor};
436
+ overflow: hidden;
437
+ font-size: ${e=>e.theme.socialLinksSize};
438
+
439
+ svg {
440
+ height: ${e=>e.theme.socialLinksSize};
441
+ width: ${e=>e.theme.socialLinksSize};
442
+ }
443
+ `,zs=io.default.div`
444
+ display: inline-flex;
445
+ flex-wrap: wrap;
446
+ align-self: center;
447
+ padding-top: ${e=>e.theme.bottomLinksDividerSpacing};
448
+ color: #fff;
449
+
450
+ @media (min-width: ${de.small}rem) {
451
+ max-width: 60%;
452
+ }
453
+ @media (max-width: ${de.small}rem) {
454
+ max-width: 100%;
455
+ width: 100%;
456
+ }
457
+
458
+ & > span:not(:first-child):before {
459
+ content: "·";
460
+ padding: 0 0.5rem;
461
+ }
462
+ `,As=io.default.a`
463
+ text-decoration: ${e=>e.theme.bottomLinksTextDecoration};
464
+ color: ${e=>e.theme.bottomLinksFontColor};
465
+ font-family: ${e=>e.theme.bottomLinksFontFamily};
466
+ font-size: ${e=>e.theme.bottomLinksFontSize};
467
+ font-style: ${e=>e.theme.bottomLinksFontStyle};
468
+ font-weight: ${e=>e.theme.bottomLinksFontWeight};
469
+ border-radius: 2px;
470
+
471
+ &:focus {
472
+ outline: 2px solid #0095ff;
473
+ }
474
+ `,oi=ks;var ao=require("react"),We=F(require("styled-components"));var Ct=F(require("@radix-ui/react-popover")),lo=require("react"),tt=F(require("styled-components"));var cn=require("react"),Rs=e=>{let[t,r]=(0,cn.useState)(0);return(0,cn.useLayoutEffect)(()=>{if(e!=null){r(e.getBoundingClientRect().width);let n=new ResizeObserver(i=>{let l=i[0].target.getBoundingClientRect();r(l?.width)});return n.observe(e),()=>{n.unobserve(e)}}},[e]),t},lr=Rs;var sn=require("react"),ol=F(require("styled-components"));var Qi=require("react"),dn=F(require("styled-components"));var Jt=require("react/jsx-runtime"),Hs=({id:e,visuallyFocused:t,iconPosition:r,onClick:n,option:i})=>(0,Jt.jsxs)(Ms,{visuallyFocused:t,onClick:()=>{n(i.value)},id:e,role:"menuitem",tabIndex:-1,children:[r==="after"&&(0,Jt.jsx)(qi,{children:i.label}),i.icon&&(0,Jt.jsx)(Es,{role:typeof i.icon=="string"?void 0:"img","aria-hidden":!0,children:typeof i.icon=="string"?(0,Jt.jsx)($,{icon:i.icon}):i.icon}),r==="before"&&(0,Jt.jsx)(qi,{children:i.label})]}),Ms=dn.default.li`
475
+ box-sizing: border-box;
476
+ display: flex;
477
+ align-items: center;
478
+ gap: ${e=>e.theme.optionIconSpacing};
479
+ min-height: 36px;
480
+ padding-top: ${e=>e.theme.optionPaddingTop};
481
+ padding-bottom: ${e=>e.theme.optionPaddingBottom};
482
+ padding-left: ${e=>e.theme.optionPaddingLeft};
483
+ padding-right: ${e=>e.theme.optionPaddingRight};
484
+ cursor: pointer;
485
+
486
+ ${e=>e.visuallyFocused&&`outline: ${e.theme.focusColor} solid 2px; outline-offset: -2px;`}
487
+ &:hover {
488
+ background-color: ${e=>e.theme.hoverOptionBackgroundColor};
489
+ }
490
+ &:active {
491
+ background-color: ${e=>e.theme.activeOptionBackgroundColor};
492
+ }
493
+ `,qi=dn.default.span`
494
+ font-family: ${e=>e.theme.optionFontFamily};
495
+ font-size: ${e=>e.theme.optionFontSize};
496
+ font-style: ${e=>e.theme.optionFontStyle};
497
+ font-weight: ${e=>e.theme.optionFontWeight};
498
+ line-height: 1.5rem;
499
+ color: ${e=>e.theme.optionFontColor};
500
+ white-space: nowrap;
501
+ `,Es=dn.default.div`
502
+ display: flex;
503
+ color: ${e=>e.theme.optionIconColor};
504
+ font-size: ${e=>e.theme.optionIconSize};
505
+
506
+ svg {
507
+ width: ${e=>e.theme.optionIconSize};
508
+ height: ${e=>e.theme.optionIconSize};
509
+ }
510
+ `,el=(0,Qi.memo)(Hs);var ti=require("react/jsx-runtime"),Ws=(0,sn.forwardRef)(({id:e,dropdownTriggerId:t,iconsPosition:r,visualFocusIndex:n,menuItemOnClick:i,onKeyDown:l,options:a,styles:c},d)=>(0,ti.jsx)(Os,{onMouseDown:s=>{s.preventDefault()},onKeyDown:l,id:e,role:"menu","aria-labelledby":t,"aria-orientation":"vertical","aria-activedescendant":n!==-1?`${e}-option-${n}`:void 0,tabIndex:-1,ref:d,style:c,children:a.map((s,m)=>(0,ti.jsx)(el,{id:`${e}-option-${m}`,visuallyFocused:m===n,iconPosition:r,onClick:i,option:s},`${e}-option-${m}`))})),Os=ol.default.ul`
511
+ box-sizing: border-box;
512
+ max-height: 230px;
513
+ min-width: min-content;
514
+ padding: 0;
515
+ margin: 0;
516
+ background-color: ${e=>e.theme.optionBackgroundColor};
517
+ border-width: ${e=>e.theme.borderThickness};
518
+ border-style: ${e=>e.theme.borderStyle};
519
+ border-color: ${e=>e.theme.borderColor};
520
+ border-radius: ${e=>e.theme.borderRadius};
521
+ border-top-right-radius: 0;
522
+ border-top-left-radius: 0;
523
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
524
+ outline: none;
525
+
526
+ overflow-y: auto;
527
+ &::-webkit-scrollbar {
528
+ width: 8px;
529
+ height: 8px;
530
+ }
531
+ &::-webkit-scrollbar-thumb {
532
+ background-color: ${e=>e.theme.scrollBarThumbColor};
533
+ border-radius: 6px;
534
+ }
535
+ &::-webkit-scrollbar-track {
536
+ background-color: ${e=>e.theme.scrollBarTrackColor};
537
+ border-radius: 6px;
538
+ }
539
+ `,tl=(0,sn.memo)(Ws);var ze=require("react/jsx-runtime"),Gs=({options:e,optionsIconPosition:t="before",icon:r,iconPosition:n="before",label:i="",caretHidden:l=!1,disabled:a=!1,expandOnHover:c=!1,onSelectOption:d,margin:s,size:m="fitContent",tabIndex:g=0,title:u})=>{let h=(0,lo.useId)(),y=`trigger-${h}`,v=`menu-${h}`,[f,_]=(0,lo.useState)(!1),[x,b]=(0,lo.useState)(0),D=k(),P=(0,lo.useRef)(null),B=(0,lo.useRef)(null),M=lr(P.current),H=()=>{_(!0)},w=()=>{_(!1),b(0)},S=(0,lo.useCallback)(C=>{d(C),w(),P.current?.focus()},[d]),z=C=>{!C.currentTarget.contains(C.relatedTarget)&&w()},G=()=>{_(C=>!C)},V=C=>{switch(C.key){case"Up":case"ArrowUp":C.preventDefault(),b(e.length-1),H();break;case" ":case"Down":case"ArrowDown":case"Enter":C.preventDefault(),H();break}},q=()=>{b(C=>C===0?e.length-1:C-1)},W=()=>{b(C=>C===e.length-1?0:C+1)},A=(0,lo.useCallback)(C=>{switch(C.key){case"Up":case"ArrowUp":C.preventDefault(),q();break;case"Down":case"ArrowDown":C.preventDefault(),W();break;case" ":case"Enter":C.preventDefault(),S(e[x].value);break;case"Esc":case"Escape":C.preventDefault(),f&&C.stopPropagation(),w(),P.current?.focus();break;case"Home":case"PageUp":C.preventDefault(),b(0);break;case"End":case"PageDown":C.preventDefault(),b(e.length-1);break;case"Tab":w(),P.current?.focus();break}},[d,x,e]);return(0,lo.useLayoutEffect)(()=>{B?.current?.querySelectorAll("[role='menuitem']")[x]?.scrollIntoView?.({block:"nearest",inline:"start"})},[x]),(0,ze.jsx)(tt.ThemeProvider,{theme:D.dropdown,children:(0,ze.jsx)(Ns,{onMouseEnter:!a&&c?H:void 0,onMouseLeave:!a&&c?w:void 0,onBlur:a?void 0:z,margin:s,size:m,children:(0,ze.jsxs)(Ct.Root,{open:f,children:[(0,ze.jsx)(ge,{label:u,children:(0,ze.jsx)(Ct.Trigger,{asChild:!0,type:void 0,children:(0,ze.jsxs)(Vs,{onClick:G,onKeyDown:V,onBlur:C=>{C.stopPropagation()},disabled:a,label:i,margin:s,size:m,id:y,"aria-haspopup":"true","aria-controls":f?v:void 0,"aria-expanded":f?!0:void 0,"aria-label":"Show options",tabIndex:g,ref:P,children:[(0,ze.jsxs)(js,{children:[i&&n==="after"&&(0,ze.jsx)(nl,{children:i}),r&&(0,ze.jsx)(Xs,{disabled:a,role:typeof r=="string"?void 0:"img","aria-hidden":!0,children:typeof r=="string"?(0,ze.jsx)($,{icon:r}):r}),i&&n==="before"&&(0,ze.jsx)(nl,{children:i})]}),!l&&(0,ze.jsxs)(Js,{disabled:a,children:[(0,ze.jsx)($,{icon:f?"arrow_drop_up":"arrow_drop_down"})," "]})]})})}),(0,ze.jsx)(Ct.Portal,{children:(0,ze.jsx)(Ct.Content,{asChild:!0,sideOffset:1,children:(0,ze.jsx)(tl,{id:v,dropdownTriggerId:y,options:e,iconsPosition:t,visualFocusIndex:x,menuItemOnClick:S,onKeyDown:A,styles:{width:M,zIndex:"2147483647"},ref:B})})})]})})})},rl={small:"60px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},il=(e,t)=>t==="fillParent"?`calc(${rl[t]} - ${X(e,"left")} - ${X(e,"right")})`:rl[t],Ns=tt.default.div`
540
+ width: ${e=>il(e.margin,e.size)};
541
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
542
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
543
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
544
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
545
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
546
+ `,Vs=tt.default.button`
547
+ display: flex;
548
+ justify-content: space-between;
549
+ align-items: center;
550
+ gap: ${e=>e.theme.caretIconSpacing};
551
+ width: 100%;
552
+ height: ${e=>e.theme.buttonHeight};
553
+ min-width: ${e=>e.label===""?"0px":il(e.margin,e.size)};
554
+ border-radius: ${e=>e.theme.buttonBorderRadius};
555
+ border-width: ${e=>e.theme.buttonBorderThickness};
556
+ border-style: ${e=>e.theme.buttonBorderStyle};
557
+ border-color: ${e=>e.disabled?e.theme.disabledButtonBorderColor:e.theme.buttonBorderColor};
558
+ padding-top: ${e=>e.theme.buttonPaddingTop};
559
+ padding-bottom: ${e=>e.theme.buttonPaddingBottom};
560
+ padding-left: ${e=>e.theme.buttonPaddingLeft};
561
+ padding-right: ${e=>e.theme.buttonPaddingRight};
562
+ background-color: ${e=>e.disabled?e.theme.disabledButtonBackgroundColor:e.theme.buttonBackgroundColor};
563
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.buttonFontColor};
564
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
565
+
566
+ ${e=>!e.disabled&&`
567
+ &:focus {
568
+ outline: 2px solid ${e.theme.focusColor};
569
+ }
570
+ &:hover {
571
+ background-color: ${e.theme.hoverButtonBackgroundColor};
572
+ }
573
+ &:active {
574
+ background-color: ${e.theme.activeButtonBackgroundColor};
575
+ }
576
+ `};
577
+ `,js=tt.default.span`
578
+ display: flex;
579
+ align-items: center;
580
+ gap: ${e=>e.theme.buttonIconSpacing};
581
+ margin-left: 0px;
582
+ margin-right: 0px;
583
+ width: 100%;
584
+ overflow: hidden;
585
+ white-space: nowrap;
586
+ `,nl=tt.default.span`
587
+ font-family: ${e=>e.theme.buttonFontFamily};
588
+ font-size: ${e=>e.theme.buttonFontSize};
589
+ font-style: ${e=>e.theme.buttonFontStyle};
590
+ font-weight: ${e=>e.theme.buttonFontWeight};
591
+ text-overflow: ellipsis;
592
+ overflow: hidden;
593
+ `,Xs=tt.default.span`
594
+ display: flex;
595
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.buttonIconColor};
596
+ font-size: ${e=>e.theme.buttonIconSize};
597
+
598
+ svg {
599
+ width: ${e=>e.theme.buttonIconSize};
600
+ height: ${e=>e.theme.buttonIconSize};
601
+ }
602
+ `,Js=tt.default.span`
603
+ display: flex;
604
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.caretIconColor};
605
+ font-size: ${e=>e.theme.caretIconSize};
606
+
607
+ svg {
608
+ width: ${e=>e.theme.caretIconSize};
609
+ height: ${e=>e.theme.caretIconSize};
610
+ }
611
+ `,xt=Gs;var ae=require("react/jsx-runtime"),Ks=e=>(0,ae.jsx)(Us,{children:(0,ae.jsx)(xt,{...e})}),ll=(e,t)=>e?typeof e=="string"?(0,ae.jsx)(qs,{alt:t,src:e}):e:(0,ae.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"73",height:"40",viewBox:"0 0 73 40",children:[(0,ae.jsx)("title",{children:"DXC Logo"}),(0,ae.jsx)("g",{transform:"translate(0)",children:(0,ae.jsxs)("g",{children:[(0,ae.jsx)("path",{d:"M91.613-28.177v2.514H90.231V-28.15l-2.415-3.82h1.616l1.5,2.532,1.526-2.532h1.571ZM83.9-25.555A3.15,3.15,0,0,1,80.6-28.8v-.018a3.231,3.231,0,0,1,3.294-3.262,3.442,3.442,0,0,1,2.469.865l-.87,1.054a2.311,2.311,0,0,0-1.643-.64,1.891,1.891,0,0,0-1.8,1.964v.018a1.886,1.886,0,0,0,1.9,2,2.2,2.2,0,0,0,1.3-.378v-.9H83.858v-1.2h2.729v2.738A4.071,4.071,0,0,1,83.9-25.555Zm-6.416-3.261a1.913,1.913,0,0,0-1.9-1.982A1.883,1.883,0,0,0,73.7-28.835v.018a1.913,1.913,0,0,0,1.9,1.982A1.883,1.883,0,0,0,77.486-28.8Zm-1.9,3.261a3.225,3.225,0,0,1-3.33-3.243v-.018A3.255,3.255,0,0,1,75.6-32.078a3.225,3.225,0,0,1,3.331,3.243v.018A3.255,3.255,0,0,1,75.583-25.555Zm-9.173-.108V-31.97h1.382v5.045h3.133v1.261Zm-3.433-3.153a1.913,1.913,0,0,0-1.9-1.982,1.883,1.883,0,0,0-1.886,1.964v.018a1.913,1.913,0,0,0,1.9,1.982A1.883,1.883,0,0,0,62.978-28.8Zm-1.9,3.261a3.225,3.225,0,0,1-3.33-3.243v-.018a3.255,3.255,0,0,1,3.348-3.262,3.225,3.225,0,0,1,3.331,3.243v.018A3.255,3.255,0,0,1,61.075-25.555Zm-6.508-.108-3.043-4.009v4.009H50.159V-31.97h1.275l2.944,3.883V-31.97h1.364v6.306Zm-8.246,0v-2.531h-2.55v2.531H42.389V-31.97h1.382v2.5h2.55v-2.5H47.7v6.306Zm-8.432.108A3.178,3.178,0,0,1,34.666-28.8v-.018a3.2,3.2,0,0,1,3.276-3.262,3.237,3.237,0,0,1,2.478.973l-.88,1.018a2.315,2.315,0,0,0-1.606-.712,1.866,1.866,0,0,0-1.822,1.964v.018a1.87,1.87,0,0,0,1.822,1.982,2.265,2.265,0,0,0,1.651-.739l.88.891A3.206,3.206,0,0,1,37.889-25.555Zm-9.805-.108V-31.97h4.739v1.235H29.458v1.279h2.962v1.234H29.458V-26.9h3.411v1.234ZM24.322-30.69v5.027H22.939V-30.69H21.028v-1.28h5.206v1.28H24.322",transform:"translate(-21.028 65.555)",fill:"#010101"}),(0,ae.jsx)("path",{d:"M75.836-76.712a8.975,8.975,0,0,1,2.246-3.9,8.393,8.393,0,0,1,6.058-2.457h9.824v-5.67H84.139a14.611,14.611,0,0,0-10.232,4.221,14.509,14.509,0,0,0-3.076,4.536,11.913,11.913,0,0,0-.973,3.271Zm0,4.325a8.978,8.978,0,0,0,2.246,3.9,8.394,8.394,0,0,0,6.058,2.457h9.824v5.67H84.139A14.611,14.611,0,0,1,73.907-64.58a14.506,14.506,0,0,1-3.076-4.536,11.91,11.91,0,0,1-.973-3.271ZM57.522-69.832l-7.5,9.473H42.581L53.818-74.55,42.581-88.739H50.02l7.5,9.472,7.5-9.472h7.439L61.225-74.55l11.237,14.19H65.023Zm-12.336-6.88a11.935,11.935,0,0,0-.973-3.271,14.515,14.515,0,0,0-3.076-4.536A14.612,14.612,0,0,0,30.9-88.739H21.081v5.67H30.9a8.394,8.394,0,0,1,6.058,2.457,8.978,8.978,0,0,1,2.246,3.9Zm0,4.325a11.932,11.932,0,0,1-.973,3.271,14.511,14.511,0,0,1-3.076,4.536A14.611,14.611,0,0,1,30.9-60.359H21.081v-5.67H30.9a8.4,8.4,0,0,0,6.058-2.457,8.981,8.981,0,0,0,2.246-3.9h5.978",transform:"translate(-21.049 88.739)",fill:"#603494"})]})})]}),al=({isResponsive:e,responsiveContent:t,handleMenu:r,content:n})=>e?(0,ae.jsx)(lm,{children:t(r)}):(0,ae.jsx)(om,{children:n}),cl=({underlined:e=!1,content:t,responsiveContent:r,onClick:n,margin:i,tabIndex:l=0})=>{let a=k(),c=J(),d=(0,ao.useRef)(null),[s,m]=(0,ao.useState)(!1),[g,u]=(0,ao.useState)(!1),h=(0,ao.useCallback)(()=>{m(window.matchMedia(`(max-width: ${de.medium}rem)`).matches)},[]),y=()=>{u(!g)},v=(0,ao.useMemo)(()=>ll(a.header.logo,c.formFields.logoAlternativeText),[a.header.logo]),f=(0,ao.useMemo)(()=>ll(a.header.logoResponsive,c.formFields.logoAlternativeText),[a.header.logoResponsive]);return(0,ao.useEffect)(()=>(h(),window.addEventListener("resize",h),()=>{window.removeEventListener("resize",h)}),[h]),(0,ao.useEffect)(()=>{!s&&u(!1)},[s]),(0,ae.jsx)(We.ThemeProvider,{theme:a.header,children:(0,ae.jsxs)(Ys,{underlined:e,margin:i,ref:d,children:[(0,ae.jsx)(Zs,{tabIndex:n?l:-1,interactive:!!n,onClick:n,children:(0,ae.jsx)(Qs,{children:v})}),s&&r&&(0,ae.jsxs)(ne,{grow:1,children:[(0,ae.jsx)(em,{children:(0,ae.jsxs)(tm,{tabIndex:l,onClick:y,"aria-label":"Show options",children:[(0,ae.jsx)($,{icon:"menu"}),c.header.hamburguerTitle]})}),(0,ae.jsxs)(rm,{hasVisibility:g,children:[(0,ae.jsxs)(ne,{justifyContent:"space-between",alignItems:"center",children:[(0,ae.jsx)(nm,{children:f}),(0,ae.jsx)(ge,{label:c.header.closeIcon,children:(0,ae.jsx)(im,{tabIndex:l,onClick:y,"aria-label":c.header.closeIcon,children:(0,ae.jsx)($,{icon:"close"})})})]}),(0,ae.jsx)(al,{isResponsive:s,responsiveContent:r,handleMenu:y,content:t})]}),(0,ae.jsx)(am,{onClick:y,hasVisibility:g})]}),!s&&(0,ae.jsx)(al,{isResponsive:s,responsiveContent:r,handleMenu:y,content:t})]})})};cl.Dropdown=Ks;var Us=We.default.div`
612
+ display: flex;
613
+ button {
614
+ background-color: transparent;
615
+ :hover {
616
+ background-color: transparent;
617
+ }
618
+ }
619
+ `,Ys=We.default.header`
620
+ box-sizing: border-box;
621
+ display: flex;
622
+ flex-direction: row;
623
+ align-items: center;
624
+ justify-content: space-between;
625
+ min-height: ${e=>e.theme.minHeight};
626
+ margin-bottom: ${e=>e.margin?p[e.margin]:"0px"};
627
+ padding: ${e=>`${e.theme.paddingTop} ${e.theme.paddingRight} ${e.theme.paddingBottom} ${e.theme.paddingLeft}`};
628
+ background-color: ${e=>e.theme.backgroundColor};
629
+ border-bottom: ${e=>e.underlined&&`${e.theme.underlinedThickness} ${e.theme.underlinedStyle} ${e.theme.underlinedColor}`};
630
+ `,Zs=We.default.a`
631
+ ${e=>e.interactive?"cursor: pointer":"cursor: default; outline:none;"};
632
+ `,qs=We.default.img`
633
+ max-height: ${e=>e.theme.logoHeight};
634
+ width: ${e=>e.theme.logoWidth};
635
+ `,Qs=We.default.div`
636
+ max-height: ${e=>e.theme.logoHeight};
637
+ width: ${e=>e.theme.logoWidth};
638
+ vertical-align: middle;
639
+ `,em=We.default.div`
640
+ display: flex;
641
+ align-items: center;
642
+ justify-content: flex-end;
643
+ flex-grow: 1;
644
+ width: calc(100% - 186px);
645
+ `,om=We.default.div`
646
+ display: flex;
647
+ align-items: center;
648
+ flex-grow: 1;
649
+ justify-content: flex-end;
650
+ width: calc(100% - 186px);
651
+ color: ${e=>e.theme.contentColor};
652
+ `,tm=We.default.button`
653
+ display: flex;
654
+ flex-direction: column;
655
+ justify-content: center;
656
+ align-items: center;
657
+ width: 54px;
658
+ cursor: pointer;
659
+ border: 1px solid transparent;
660
+ border-radius: 2px;
661
+ background-color: transparent;
662
+ :hover {
663
+ background-color: ${e=>e.theme.hamburguerHoverColor};
664
+ }
665
+ &:focus {
666
+ outline: ${e=>e.theme.hamburguerFocusColor} auto 1px;
667
+ }
668
+ & > svg {
669
+ fill: ${e=>e.theme.hamburguerIconColor};
670
+ }
671
+ & > span {
672
+ font-size: 24px;
673
+ }
674
+ font-family: ${e=>e.theme.hamburguerFontFamily};
675
+ font-style: ${e=>e.theme.hamburguerFontStyle};
676
+ font-size: ${e=>e.theme.hamburguerFontSize};
677
+ text-transform: ${e=>e.theme.hamburguerTextTransform};
678
+ font-weight: ${e=>e.theme.hamburguerFontWeight};
679
+ color: ${e=>e.theme.hamburguerFontColor};
680
+ `,rm=We.default.div`
681
+ display: flex;
682
+ flex-direction: column;
683
+ background-color: ${e=>e.theme.menuBackgroundColor};
684
+ position: fixed;
685
+ top: 0;
686
+ right: 0;
687
+ z-index: ${e=>e.theme.menuZindex};
688
+
689
+ @media (max-width: ${de.large}rem) and (min-width: ${de.small}rem) {
690
+ width: ${e=>e.theme.menuTabletWidth};
691
+ }
692
+
693
+ @media (not((max-width: ${de.large}rem) and (min-width: ${de.small}rem))) {
694
+ width: ${e=>e.theme.menuMobileWidth};
695
+ }
696
+
697
+ height: 100vh;
698
+ padding: 20px;
699
+ transform: ${e=>e.hasVisibility?"translateX(0)":"translateX(100vw)"};
700
+ opacity: ${e=>e.hasVisibility?"1":"0.96"};
701
+ transition-property: transform, opacity;
702
+ transition-duration: 0.6s;
703
+ transition-timing-function: ease-in-out;
704
+ box-sizing: border-box;
705
+ `,nm=We.default.div`
706
+ max-height: ${e=>e.theme.logoHeight};
707
+ width: ${e=>e.theme.logoWidth};
708
+ display: flex;
709
+ `,im=We.default.button`
710
+ display: flex;
711
+ justify-content: center;
712
+ align-content: center;
713
+ padding: 6px;
714
+ border: unset;
715
+ border-radius: 2px;
716
+ background-color: transparent;
717
+ cursor: pointer;
718
+
719
+ :focus,
720
+ :focus-visible {
721
+ outline: ${e=>e.theme.hamburguerFocusColor} auto 1px;
722
+ }
723
+ font-size: 24px;
724
+ svg {
725
+ height: 24px;
726
+ width: 24px;
727
+ }
728
+ `,lm=We.default.div`
729
+ display: flex;
730
+ flex-direction: column;
731
+ align-items: flex-start;
732
+ height: 100%;
733
+ color: ${e=>e.theme.contentColor};
734
+ `,am=We.default.div`
735
+ position: fixed;
736
+ top: 0;
737
+ left: 0;
738
+ width: 100vw;
739
+ height: 100vh;
740
+ background-color: ${e=>e.theme.overlayColor};
741
+ opacity: ${e=>e.theme.overlayOpacity} !important;
742
+ visibility: ${e=>e.hasVisibility?"visible":"hidden"};
743
+ opacity: ${e=>e.hasVisibility?"1":"0"};
744
+
745
+ @media (max-width: ${de.small}rem) {
746
+ display: none;
747
+ }
748
+
749
+ transition: opacity 0.2s 0.2s ease-in-out;
750
+ z-index: ${e=>e.theme.overlayZindex};
751
+ `,ri=cl;var $o=require("react"),Eo=F(require("styled-components"));var dl=F(require("styled-components")),sl=require("react/jsx-runtime"),mn=e=>e||"0rem",cm=dl.default.div`
752
+ ${({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a})=>`
753
+ margin: -${mn(n||r||e)} -${mn(i||t||e)} -${mn(l||r||e)} -${mn(a||t||e)};
754
+ `}
755
+ `,dm=({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c})=>(0,sl.jsx)(cm,{space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c}),wr=dm;var gn=require("react"),ml=(0,gn.createContext)(null),gl=ml.Provider,pn=()=>(0,gn.useContext)(ml);var pe=require("react/jsx-runtime"),Sr=({title:e,children:t})=>{let r=k();return(0,pe.jsx)(Eo.ThemeProvider,{theme:r.sidenav,children:(0,pe.jsxs)(um,{children:[e,(0,pe.jsx)(ne,{direction:"column",gap:"1rem",children:t})]})})},sm=({children:e})=>(0,pe.jsx)(wr,{horizontal:"1rem",children:(0,pe.jsx)(hm,{children:e})}),mm=({children:e})=>(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(wr,{horizontal:"1rem",children:(0,pe.jsx)(ne,{direction:"column",children:e})}),(0,pe.jsx)(fm,{})]}),pl=(0,$o.createContext)(null),gm=({title:e,collapsable:t=!1,icon:r,children:n})=>{let[i,l]=(0,$o.useState)(!1),[a,c]=(0,$o.useState)(!1);return(0,pe.jsx)(pl.Provider,{value:c,children:(0,pe.jsxs)(bm,{children:[t&&e?(0,pe.jsxs)(Cm,{"aria-expanded":!i,onClick:()=>l(!i),selectedGroup:i&&a,children:[(0,pe.jsxs)(ne,{alignItems:"center",gap:"0.5rem",children:[typeof r=="string"?(0,pe.jsx)($,{icon:r}):r,e]}),(0,pe.jsx)($,{icon:i?"expand_more":"expand_less"})]}):e&&(0,pe.jsxs)(ym,{children:[typeof r=="string"?(0,pe.jsx)($,{icon:r}):r,e]}),!i&&n]})})},pm=(0,$o.forwardRef)(({href:e,newWindow:t=!1,selected:r=!1,icon:n,onClick:i,tabIndex:l=0,children:a,...c},d)=>{let s=(0,$o.useContext)(pl),m=pn(),g=u=>{i?.(u),m?.(!1)};return(0,$o.useEffect)(()=>{s?.(u=>u||r)},[r,s]),(0,pe.jsxs)(xm,{selected:r,href:e||void 0,target:e?t?"_blank":"_self":void 0,ref:d,tabIndex:l,onClick:g,...c,children:[(0,pe.jsxs)(ne,{alignItems:"center",gap:"0.5rem",children:[typeof n=="string"?(0,pe.jsx)($,{icon:n}):n,a]}),t&&(0,pe.jsx)($,{icon:"open_in_new"})]})}),um=Eo.default.div`
756
+ box-sizing: border-box;
757
+ display: flex;
758
+ flex-direction: column;
759
+ width: 280px;
760
+ @media (max-width: ${de.large}rem) {
761
+ width: 100vw;
762
+ }
763
+ padding: 2rem 1rem;
764
+ background-color: ${e=>e.theme.backgroundColor};
765
+
766
+ overflow-y: auto;
767
+ overflow-x: hidden;
768
+ ::-webkit-scrollbar {
769
+ width: 2px;
770
+ }
771
+ ::-webkit-scrollbar-track {
772
+ background-color: ${e=>e.theme.scrollBarTrackColor};
773
+ border-radius: 3px;
774
+ }
775
+ ::-webkit-scrollbar-thumb {
776
+ background-color: ${e=>e.theme.scrollBarThumbColor};
777
+ border-radius: 3px;
778
+ }
779
+ `,hm=Eo.default.div`
780
+ display: flex;
781
+ align-items: center;
782
+ padding: 0.5rem 1.2rem;
783
+ font-family: ${e=>e.theme.titleFontFamily};
784
+ font-style: ${e=>e.theme.titleFontStyle};
785
+ font-weight: ${e=>e.theme.titleFontWeight};
786
+ font-size: ${e=>e.theme.titleFontSize};
787
+ color: ${e=>e.theme.titleFontColor};
788
+ letter-spacing: ${e=>e.theme.titleFontLetterSpacing};
789
+ text-transform: ${e=>e.theme.titleFontTextTransform};
790
+ `,fm=Eo.default.div`
791
+ width: 100%;
792
+ height: 1px;
793
+ background-color: ${o.color_grey_400};
794
+
795
+ &:last-child {
796
+ display: none;
797
+ }
798
+ `,bm=Eo.default.div`
799
+ a {
800
+ padding: 0.5rem 1.2rem 0.5rem 2.25rem;
801
+ }
802
+ `,ym=Eo.default.span`
803
+ box-sizing: border-box;
804
+ display: flex;
805
+ align-items: center;
806
+ gap: 0.5rem;
807
+ padding: 0.5rem 1.2rem;
808
+ font-family: ${e=>e.theme.groupTitleFontFamily};
809
+ font-style: ${e=>e.theme.groupTitleFontStyle};
810
+ font-weight: ${e=>e.theme.groupTitleFontWeight};
811
+ font-size: ${e=>e.theme.groupTitleFontSize};
812
+ span::before {
813
+ font-size: 16px;
814
+ }
815
+ svg {
816
+ height: 16px;
817
+ width: 16px;
818
+ }
819
+ `,Cm=Eo.default.button`
820
+ all: unset;
821
+ box-sizing: border-box;
822
+ display: flex;
823
+ align-items: center;
824
+ justify-content: space-between;
825
+ width: 100%;
826
+ padding: 0.5rem 1.2rem;
827
+ font-family: ${e=>e.theme.groupTitleFontFamily};
828
+ font-style: ${e=>e.theme.groupTitleFontStyle};
829
+ font-weight: ${e=>e.theme.groupTitleFontWeight};
830
+ font-size: ${e=>e.theme.groupTitleFontSize};
831
+ cursor: pointer;
832
+
833
+ ${e=>e.selectedGroup?`color: ${e.theme.groupTitleSelectedFontColor}; background-color: ${e.theme.groupTitleSelectedBackgroundColor};`:`color: ${e.theme.groupTitleFontColor}; background-color: transparent;`}
834
+
835
+ &:focus, &:focus-visible {
836
+ outline: 2px solid ${e=>e.theme.linkFocusColor};
837
+ outline-offset: -2px;
838
+ }
839
+ &:hover {
840
+ ${e=>e.selectedGroup?`color: ${e.theme.groupTitleSelectedHoverFontColor}; background-color: ${e.theme.groupTitleSelectedHoverBackgroundColor};`:`color: ${e.theme.groupTitleFontColor}; background-color: ${e.theme.groupTitleHoverBackgroundColor};`}
841
+ }
842
+ &:active {
843
+ color: #fff;
844
+ background-color: ${e=>e.selectedGroup?"#333":e.theme.groupTitleActiveBackgroundColor};
845
+ }
846
+ span::before {
847
+ font-size: 16px;
848
+ }
849
+ svg {
850
+ height: 16px;
851
+ width: 16px;
852
+ }
853
+ `,xm=Eo.default.a`
854
+ display: flex;
855
+ align-items: center;
856
+ justify-content: space-between;
857
+ gap: 0.5rem;
858
+ padding: 0.5rem 1.2rem;
859
+ box-shadow: 0 0 0 2px transparent;
860
+ font-family: ${e=>e.theme.linkFontFamily};
861
+ font-style: ${e=>e.theme.linkFontStyle};
862
+ font-weight: ${e=>e.theme.linkFontWeight};
863
+ font-size: ${e=>e.theme.linkFontSize};
864
+ letter-spacing: ${e=>e.theme.linkFontLetterSpacing};
865
+ text-transform: ${e=>e.theme.linkFontTextTransform};
866
+ text-decoration: ${e=>e.theme.linkTextDecoration};
867
+ cursor: pointer;
868
+
869
+ ${e=>e.selected?`color: ${e.theme.linkSelectedFontColor}; background-color: ${e.theme.linkSelectedBackgroundColor};`:`color: ${e.theme.linkFontColor}; background-color: transparent;`}
870
+
871
+ &:focus, &:focus-visible {
872
+ outline: 2px solid ${e=>e.theme.linkFocusColor};
873
+ outline-offset: -2px;
874
+ }
875
+ &:hover {
876
+ ${e=>e.selected?`color: ${e.theme.linkSelectedHoverFontColor}; background-color: ${e.theme.linkSelectedHoverBackgroundColor};`:`color: ${e.theme.linkFontColor}; background-color: ${e.theme.linkHoverBackgroundColor};`}
877
+ }
878
+ &:active {
879
+ color: #fff;
880
+ background-color: ${e=>e.selected?"#333":"#4d4d4d"};
881
+ outline: 2px solid #0095ff;
882
+ outline-offset: -2px;
883
+ }
884
+ span::before {
885
+ font-size: 16px;
886
+ }
887
+ svg {
888
+ height: 16px;
889
+ width: 16px;
890
+ }
891
+ `;Sr.Section=mm;Sr.Group=gm;Sr.Link=pm;Sr.Title=sm;var ul=Sr;var _t=require("react");var vo=require("react/jsx-runtime"),_m={facebookLogo:(0,vo.jsx)("svg",{version:"1.1",x:"0px",y:"0px",width:"438.536px",height:"438.536px",viewBox:"0 0 438.536 438.536",fill:"#FFFFFF",children:(0,vo.jsx)("g",{children:(0,vo.jsx)("path",{d:`M414.41,24.123C398.333,8.042,378.963,0,356.315,0H82.228C59.58,0,40.21,8.042,24.126,24.123
892
+ C8.045,40.207,0.003,59.576,0.003,82.225v274.084c0,22.647,8.042,42.018,24.123,58.102c16.084,16.084,35.454,24.126,58.102,24.126
893
+ h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225
894
+ C438.532,59.576,430.49,40.204,414.41,24.123z M373.155,225.548h-49.963V406.84h-74.802V225.548H210.99V163.02h37.401v-37.402
895
+ c0-26.838,6.283-47.107,18.843-60.813c12.559-13.706,33.304-20.555,62.242-20.555h49.963v62.526h-31.401
896
+ c-10.663,0-17.467,1.853-20.417,5.568c-2.949,3.711-4.428,10.23-4.428,19.558v31.119h56.534L373.155,225.548z`})})}),xLogo:(0,vo.jsxs)("svg",{width:"256",height:"256",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,vo.jsx)("rect",{width:"256",height:"256",rx:"40",fill:"white"}),(0,vo.jsx)("path",{d:"M140.192 118.205L187.848 64H176.556L135.158 111.056L102.117 64H64L113.975 135.163L64 192H75.2914L118.982 142.296L153.883 192H192L140.192 118.205ZM124.722 135.787L119.65 128.697L79.3634 72.3294H96.7094L129.232 117.837L134.282 124.927L176.551 184.076H159.205L124.722 135.787Z",fill:"#0F1419"})]}),linkedinLogo:(0,vo.jsx)("svg",{version:"1.1",x:"0px",y:"0px",width:"438.536px",height:"438.536px",viewBox:"0 0 438.536 438.536",fill:"#FFFFFF",children:(0,vo.jsx)("g",{children:(0,vo.jsx)("path",{d:`M414.41,24.123C398.333,8.042,378.963,0,356.315,0H82.228C59.58,0,40.21,8.042,24.126,24.123
897
+ C8.045,40.207,0.003,59.576,0.003,82.225v274.084c0,22.647,8.042,42.018,24.123,58.102c16.084,16.084,35.454,24.126,58.102,24.126
898
+ h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225
899
+ C438.532,59.576,430.49,40.204,414.41,24.123z M133.618,367.157H67.666V169.016h65.952V367.157z M127.626,132.332
900
+ c-6.851,6.567-15.893,9.851-27.124,9.851h-0.288c-10.848,0-19.648-3.284-26.407-9.851c-6.76-6.567-10.138-14.703-10.138-24.41
901
+ c0-9.897,3.476-18.083,10.421-24.556c6.95-6.471,15.942-9.708,26.98-9.708c11.039,0,19.89,3.237,26.553,9.708
902
+ c6.661,6.473,10.088,14.659,10.277,24.556C137.899,117.625,134.477,125.761,127.626,132.332z M370.873,367.157h-65.952v-105.92
903
+ c0-29.879-11.036-44.823-33.116-44.823c-8.374,0-15.42,2.331-21.128,6.995c-5.715,4.661-9.996,10.324-12.847,16.991
904
+ c-1.335,3.422-1.999,8.75-1.999,15.981v110.775h-65.952c0.571-119.529,0.571-185.579,0-198.142h65.952v27.974
905
+ c13.867-21.681,33.558-32.544,59.101-32.544c22.84,0,41.21,7.52,55.104,22.554c13.895,15.037,20.841,37.214,20.841,66.519v113.64
906
+ H370.873z`})})})},un=_m;var hl=new Date().getFullYear(),fl=[{href:"https://www.linkedin.com/company/dxctechnology",text:"Linkedin"},{href:"https://x.com/dxctechnology",text:"X"},{href:"https://www.facebook.com/DXCTechnology/",text:"Facebook"}],bl=[{href:"https://www.linkedin.com/company/dxctechnology",logo:un.linkedinLogo,title:"Linkedin"},{href:"https://x.com/dxctechnology",logo:un.xLogo,title:"X"},{href:"https://www.facebook.com/DXCTechnology/",logo:un.facebookLogo,title:"Facebook"}],yl=(e,t)=>_t.Children.toArray(e).find(r=>(0,_t.isValidElement)(r)&&r.type===t),Cl=e=>{let[t,r]=(0,_t.useState)(!1);return(0,_t.useEffect)(()=>{let n=()=>{r(window.matchMedia(`(max-width: ${e}rem)`).matches)};return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var Ae=require("react/jsx-runtime"),$m=rt.default.div`
907
+ position: absolute;
908
+ top: 64px;
909
+ bottom: 0;
910
+ left: 0;
911
+ right: 0;
912
+ display: flex;
913
+ flex-direction: column;
914
+
915
+ @media (max-width: ${de.large}rem) {
916
+ ${e=>e.hasSidenav&&"top: 116px"};
917
+ ${e=>e.isSidenavVisible&&"overflow: hidden;"}
918
+ }
919
+ `,vm=rt.default.div`
920
+ position: fixed;
921
+ top: 0;
922
+ left: 0;
923
+ right: 0;
924
+ z-index: 3;
925
+ `,Tm=rt.default.div`
926
+ position: fixed;
927
+ top: 64px;
928
+ left: 0;
929
+ right: 0;
930
+ box-sizing: border-box;
931
+ display: flex;
932
+ align-items: center;
933
+ padding: 4px 16px;
934
+ width: 100%;
935
+ background-color: #f2f2f2;
936
+ user-select: none;
937
+ z-index: 2;
938
+ `,km=rt.default.button`
939
+ display: flex;
940
+ flex-wrap: wrap;
941
+ gap: 10px;
942
+ border: 0px solid transparent;
943
+ border-radius: 2px;
944
+ padding: 12px 4px;
945
+ background-color: transparent;
946
+ box-shadow: 0 0 0 2px transparent;
947
+ font-family:
948
+ Open Sans,
949
+ sans-serif;
950
+ font-weight: 600;
951
+ font-size: 14px;
952
+ color: #000;
953
+ cursor: pointer;
954
+
955
+ :active {
956
+ background-color: #cccccc;
957
+ }
958
+ :focus,
959
+ :focus-visible {
960
+ outline: none;
961
+ box-shadow: 0 0 0 2px #0095ff;
962
+ }
963
+ span::before {
964
+ font-size: 20px;
965
+ }
966
+ `,Fm=rt.default.div`
967
+ display: flex;
968
+ flex-direction: row;
969
+ flex: 1;
970
+ `,wm=rt.default.div`
971
+ position: sticky;
972
+ top: 64px;
973
+ display: flex;
974
+ height: calc(100vh - 64px);
975
+ z-index: 1;
976
+
977
+ @media (max-width: ${de.large}rem) {
978
+ position: absolute;
979
+ top: 0px;
980
+ height: 100%;
981
+ }
982
+ `,Sm=rt.default.div`
983
+ display: flex;
984
+ flex-direction: column;
985
+ width: 100%;
986
+ `,Im=rt.default.main`
987
+ flex: 1;
988
+ background-color: #fff;
989
+ `,xl=({children:e})=>(0,Ae.jsx)(Ae.Fragment,{children:e}),cr=({visibilityToggleLabel:e="",header:t,sidenav:r,footer:n,children:i})=>{let[l,a]=(0,ar.useState)(!1),c=Cl(de.large),d=(0,ar.useRef)(null),s=J(),m=()=>{a(g=>!g)};return(0,ar.useEffect)(()=>{!c&&a(!1)},[c]),(0,Ae.jsxs)($m,{hasSidenav:!!r,isSidenavVisible:l,ref:d,children:[(0,Ae.jsx)(vm,{children:t??(0,Ae.jsx)(ri,{underlined:!0})}),r&&c&&(0,Ae.jsx)(Tm,{children:(0,Ae.jsx)(ge,{label:s.applicationLayout.visibilityToggleTitle,children:(0,Ae.jsxs)(km,{onClick:m,"aria-label":e?void 0:s.applicationLayout.visibilityToggleTitle,children:[(0,Ae.jsx)($,{icon:"Menu"}),e]})})}),(0,Ae.jsxs)(Fm,{children:[(0,Ae.jsx)(gl,{value:a,children:r&&(c?l:!0)&&(0,Ae.jsx)(wm,{children:r})}),(0,Ae.jsxs)(Sm,{children:[(0,Ae.jsx)(Im,{children:yl(i,xl)}),n??(0,Ae.jsx)(oi,{copyright:`\xA9 DXC Technology ${hl}\u200B\u200B\u200B\u200B. All rights reserved.`,bottomLinks:fl,socialLinks:bl})]})]})]})};cr.Footer=oi;cr.Header=ri;cr.Main=xl;cr.SideNav=ul;cr.useResponsiveSidenavVisibility=pn;var _l=cr;var hn=F(require("styled-components"));var Kt=require("react/jsx-runtime"),$l={grey:{background:o.color_grey_200,text:o.color_grey_900},blue:{background:o.color_blue_200,text:o.color_blue_900},green:{background:o.color_green_200,text:o.color_green_900},orange:{background:o.color_orange_200,text:o.color_orange_900},red:{background:o.color_red_200,text:o.color_red_900},yellow:{background:o.color_yellow_200,text:o.color_yellow_900},purple:{background:o.color_purple_200,text:o.color_purple_900}},Wo={small:{height:"20px",width:"20px",minWidth:"20px",fontSize:o.type_scale_01,borderRadius:o.spacing_12,iconSize:"14px",padding:{contextual:`${o.spacing_4}`,notification:`${o.spacing_0} ${o.spacing_4}`}},medium:{height:"24px",width:"24px",minWidth:"24px",fontSize:o.type_scale_02,borderRadius:o.spacing_12,iconSize:"16px",padding:{contextual:`${o.spacing_4} ${o.spacing_8}`,notification:`${o.spacing_0} ${o.spacing_4}`}},large:{height:"32px",width:"32px",minWidth:"32px",fontSize:o.type_scale_04,borderRadius:o.spacing_24,iconSize:"24px",padding:{contextual:`${o.spacing_4} ${o.spacing_8}`,notification:`${o.spacing_0} ${o.spacing_8}`}}},Bm=({label:e,title:t,mode:r="contextual",color:n="grey",icon:i,notificationLimit:l=99,size:a="medium"})=>(0,Kt.jsx)(ge,{label:t,children:(0,Kt.jsxs)(zm,{label:e,mode:r,color:r==="contextual"&&n||void 0,size:a,"aria-label":t,children:[r==="contextual"&&i&&(0,Kt.jsx)(Am,{size:a,children:typeof i=="string"?(0,Kt.jsx)($,{icon:i}):i}),e&&(0,Kt.jsx)(Rm,{size:a,children:typeof e=="number"&&e>l?"+"+l:e})]})}),Pm=(e,t)=>e==="contextual"?$l[t].text:o.color_white,Lm=(e,t)=>e==="contextual"?$l[t].background:o.color_red_700,Dm=(e,t)=>e==="contextual"?Wo[t].padding.contextual:Wo[t].padding.notification,zm=hn.default.div`
990
+ box-sizing: border-box;
991
+ border-radius: ${e=>Wo[e.size].borderRadius};
992
+ padding: ${e=>e.label?Dm(e.mode,e.size):""};
993
+ width: ${e=>!e.label&&e.mode==="notification"?Wo[e.size].width:"fit-content"};
994
+ min-width: ${e=>e.mode==="notification"&&Wo[e.size].minWidth};
995
+ height: ${e=>Wo[e.size].height};
996
+ display: flex;
997
+ align-items: center;
998
+ gap: ${o.spacing_2};
999
+ justify-content: center;
1000
+ background-color: ${e=>Lm(e.mode,e.color)};
1001
+ color: ${e=>Pm(e.mode,e.color)};
1002
+ `,Am=hn.default.div`
1003
+ display: flex;
1004
+ font-size: ${e=>Wo[e.size].iconSize};
1005
+
1006
+ svg {
1007
+ height: ${e=>Wo[e.size].iconSize};
1008
+ width: ${e=>Wo[e.size].iconSize};
1009
+ }
1010
+ `,Rm=hn.default.span`
1011
+ font-family: ${o.type_sans};
1012
+ font-size: ${e=>Wo[e.size].fontSize};
1013
+ font-weight: ${o.type_semibold};
1014
+ white-space: nowrap;
1015
+ `,$t=Bm;var kl=require("react"),Fl=F(require("styled-components"));var vl={dropdown:{buttonIconSize:o.spacing_16,buttonPaddingTop:o.spacing_4,buttonPaddingBottom:o.spacing_4,buttonPaddingLeft:o.spacing_4,buttonPaddingRight:o.spacing_4,buttonHeight:"24px",buttonBorderRadius:"2px",buttonBorderColor:o.color_transparent,optionFontSize:"14px",optionPaddingTop:o.spacing_0,optionPaddingBottom:o.spacing_0,optionPaddingLeft:o.spacing_16,optionPaddingRight:o.spacing_16,buttonBackgroundColor:o.color_white,hoverButtonBackgroundColor:o.color_grey_100,activeButtonBackgroundColor:o.color_grey_300,buttonFontFamily:o.type_sans,buttonFontSize:o.type_scale_03,buttonFontStyle:o.type_normal,buttonFontWeight:o.type_regular,buttonFontColor:o.color_black,buttonIconSpacing:"10px",buttonIconColor:o.color_black,buttonBorderStyle:o.border_none,buttonBorderThickness:o.border_width_0,disabledColor:o.color_grey_500,disabledButtonBackgroundColor:o.color_transparent,disabledButtonBorderColor:o.color_transparent,optionBackgroundColor:o.color_white,hoverOptionBackgroundColor:o.color_grey_100,activeOptionBackgroundColor:o.color_grey_300,optionFontFamily:o.type_sans,optionFontStyle:o.type_normal,optionFontWeight:o.type_regular,optionFontColor:o.color_black,optionIconSize:"20px",optionIconSpacing:"10px",optionIconColor:o.color_black,caretIconSize:"24px",caretIconColor:o.color_black,caretIconSpacing:"12px",borderRadius:"4px",borderStyle:o.border_none,borderThickness:o.border_width_0,borderColor:o.color_transparent,scrollBarThumbColor:o.color_grey_700,scrollBarTrackColor:o.color_grey_300,focusColor:o.color_blue_600}};var Br=F(require("styled-components"));var Tl=require("react"),Ir=require("react/jsx-runtime"),Hm=({isCurrentPage:e=!1,href:t,label:r,onClick:n})=>{let i=(0,Tl.useRef)(null);return(0,Ir.jsx)(Mm,{"aria-current":e?"page":void 0,isCurrentPage:e,children:e?(0,Ir.jsx)(Em,{ref:i,onMouseEnter:c=>{let d=c.currentTarget,s=i?.current;s.title===""&&d.scrollWidth>d.clientWidth&&(s.title=r)},children:r}):(0,Ir.jsx)(Wm,{href:t,onClick:c=>{n&&(c.preventDefault(),n(t))},children:(0,Ir.jsx)(Om,{children:r})})})},Mm=Br.default.li`
1016
+ display: flex;
1017
+ align-items: center;
1018
+ font-family: ${o.type_sans};
1019
+ font-size: ${o.type_scale_02};
1020
+ color: ${o.color_black};
1021
+ ${({isCurrentPage:e})=>e&&"overflow: hidden;"}
1022
+ `,Em=Br.default.span`
1023
+ font-weight: ${o.type_semibold};
1024
+ overflow: hidden;
1025
+ text-overflow: ellipsis;
1026
+ white-space: nowrap;
1027
+ cursor: default;
1028
+ `,Wm=Br.default.a`
1029
+ border-radius: ${o.border_radius_small};
1030
+ padding: ${o.spacing_0} ${o.spacing_2};
1031
+ display: inline-flex;
1032
+ align-items: center;
1033
+ height: 24px;
1034
+ color: ${o.color_black};
1035
+ text-decoration: ${o.type_no_line};
1036
+ cursor: pointer;
1037
+
1038
+ &:focus {
1039
+ outline: ${o.border_width_2} solid ${o.color_blue_600};
1040
+ }
1041
+ `,Om=Br.default.span`
1042
+ border: ${o.border_width_1} solid ${o.color_transparent};
1043
+ &:hover {
1044
+ border-bottom-color: ${o.color_black};
1045
+ }
1046
+ `,fn=Hm;var Ze=require("react/jsx-runtime"),Gm=({ariaLabel:e="Breadcrumbs",items:t,itemsBeforeCollapse:r=4,onItemClick:n,showRoot:i=!0})=>{let l=(0,kl.useCallback)(a=>{n?n(a):window.location.href=a},[t]);return(0,Ze.jsx)("nav",{"aria-label":e,children:(0,Ze.jsx)(Nm,{children:t&&t.length>Math.max(r,2)?(0,Ze.jsxs)(Ze.Fragment,{children:[i&&(0,Ze.jsx)(fn,{href:t[0].href,label:t[0].label},0),(0,Ze.jsx)(ne,{alignItems:"center",as:"li",children:(0,Ze.jsx)(Ho,{advancedTheme:vl,children:(0,Ze.jsx)(xt,{caretHidden:!0,icon:(0,Ze.jsx)($,{icon:"more_horiz"}),margin:i&&{left:"small"},onSelectOption:l,options:t.slice(i?1:0,-1).map(({label:a,href:c})=>({label:a,value:c}))})})},1),(0,Ze.jsx)(fn,{isCurrentPage:!0,label:t[t.length-1].label},2)]}):t.map((a,c,{length:d})=>(0,Ze.jsx)(fn,{href:a.href,isCurrentPage:c===d-1,label:a.label,onClick:n},c))})})},Nm=Fl.default.ol`
1047
+ margin: ${o.spacing_0};
1048
+ padding-left: ${o.spacing_0};
1049
+ display: flex;
1050
+ align-items: center;
1051
+ gap: ${o.spacing_12};
1052
+ list-style-type: none;
1053
+
1054
+ > li:not(:first-child) {
1055
+ > a,
1056
+ > span {
1057
+ margin-left: ${o.spacing_12};
1058
+ }
1059
+ &::before {
1060
+ margin: ${o.spacing_0} ${o.spacing_2};
1061
+ transform: rotate(15deg);
1062
+ border-right: ${o.border_width_1} solid ${o.color_grey_500};
1063
+ height: 1rem;
1064
+ content: "";
1065
+ }
1066
+ }
1067
+ `,wl=Gm;var Il=require("react"),fo=F(require("styled-components"));var Sl=require("react/jsx-runtime"),Vm=({textOverflow:e,whiteSpace:t,children:r,...n})=>(0,Sl.jsx)(Ge,{textOverflow:e,whiteSpace:t==null&&e!=null&&e!=="unset"?"nowrap":t,...n,children:r}),vt=Vm;var $e=require("react/jsx-runtime"),jm=({children:e})=>(0,$e.jsx)($e.Fragment,{children:e}),Bl=({children:e,type:t="disc",icon:r=""})=>{let n=k();return(0,$e.jsx)(fo.ThemeProvider,{theme:n.bulletedList,children:(0,$e.jsx)(Xm,{children:(0,$e.jsx)(ne,{direction:"column",as:t==="number"?"ol":"ul",gap:"0.125rem",children:Il.Children.map(e,(i,l)=>(0,$e.jsx)(Qm,{children:(0,$e.jsxs)(Jm,{children:[t==="number"?(0,$e.jsx)(Um,{children:(0,$e.jsxs)(vt,{color:n.bulletedList.fontColor,children:[l+1,"."]})}):t==="square"?(0,$e.jsx)(bn,{children:(0,$e.jsx)(Ym,{})}):t==="circle"?(0,$e.jsx)(bn,{children:(0,$e.jsx)(Zm,{})}):t==="icon"?(0,$e.jsx)(bn,{children:(0,$e.jsx)(Km,{children:typeof r=="string"?(0,$e.jsx)($,{icon:r}):r})}):(0,$e.jsx)(bn,{children:(0,$e.jsx)(qm,{})}),(0,$e.jsx)(vt,{color:n.bulletedList.fontColor,children:i})]})}))})})})};Bl.Item=jm;var Xm=fo.default.div`
1068
+ ul,
1069
+ ol {
1070
+ padding: 0;
1071
+ margin: 0;
1072
+ }
1073
+ `,bn=fo.default.div`
1074
+ display: flex;
1075
+ align-self: flex-start;
1076
+ align-items: center;
1077
+ height: 1.5rem;
1078
+ `,Jm=fo.default.div`
1079
+ display: grid;
1080
+ grid-template-columns: auto 1fr;
1081
+ align-items: center;
1082
+ `,Km=fo.default.div`
1083
+ height: 1.5rem;
1084
+ width: auto;
1085
+ margin-right: ${e=>e.theme.bulletMarginRight};
1086
+ align-content: center;
1087
+ color: ${e=>e.theme.fontColor};
1088
+
1089
+ font-size: ${e=>e.theme.bulletIconHeight};
1090
+ svg {
1091
+ height: ${e=>e.theme.bulletIconHeight};
1092
+ width: ${e=>e.theme.bulletIconWidth};
1093
+ }
1094
+ `,Um=fo.default.div`
1095
+ user-select: none;
1096
+ margin-right: ${e=>e.theme.bulletMarginRight};
1097
+ display: flex;
1098
+ box-sizing: border-box;
1099
+ align-self: flex-start;
1100
+ min-width: 0;
1101
+ `,Ym=fo.default.div`
1102
+ background-color: ${e=>e.theme.fontColor};
1103
+ height: ${e=>e.theme.bulletHeight};
1104
+ width: ${e=>e.theme.bulletWidth};
1105
+ margin-right: ${e=>e.theme.bulletMarginRight};
1106
+ `,Zm=fo.default.div`
1107
+ height: ${e=>e.theme.bulletHeight};
1108
+ width: ${e=>e.theme.bulletWidth};
1109
+ border-radius: 50%;
1110
+ border: 1px solid;
1111
+ border-color: ${e=>e.theme.fontColor};
1112
+ margin-right: ${e=>e.theme.bulletMarginRight};
1113
+ `,qm=fo.default.div`
1114
+ background-color: ${e=>e.theme.fontColor};
1115
+ height: ${e=>e.theme.bulletHeight};
1116
+ width: ${e=>e.theme.bulletWidth};
1117
+ border-radius: 50%;
1118
+ margin-right: ${e=>e.theme.bulletMarginRight};
1119
+ `,Qm=fo.default.li`
1120
+ display: flex;
1121
+ margin: 0px;
1122
+ padding: 0px;
1123
+ list-style: none;
1124
+ font-size: 1em;
1125
+ `,Pl=Bl;var dr=F(require("styled-components"));var Tt=require("react/jsx-runtime"),eg=({label:e="",mode:t="primary",semantic:r="default",disabled:n=!1,iconPosition:i="before",title:l,type:a="button",icon:c,onClick:d=()=>{},margin:s,size:m={height:"large",width:"fitContent"},tabIndex:g=0})=>{let u=k();return(0,Tt.jsx)(dr.ThemeProvider,{theme:u.button,children:(0,Tt.jsx)(ge,{label:l,children:(0,Tt.jsxs)(ng,{"aria-label":l,disabled:n,onClick:()=>{d()},tabIndex:n?-1:g,type:a,$mode:t==="primary"||t==="secondary"||t==="tertiary"?t:"primary",hasLabel:!!e,hasIcon:!!c,iconPosition:i,size:m,margin:s,semantic:r,children:[e&&(0,Tt.jsx)(ig,{children:e}),c&&(0,Tt.jsx)(lg,{size:m,children:typeof c=="string"?(0,Tt.jsx)($,{icon:c}):c})]})})})},Ll={small:"42px",medium:"120px",large:"240px",fillParent:"100%",fitContent:"fit-content"},og=(e,t)=>t?.width==="fillParent"?`calc(${Ll[t?.width]} - ${X(e,"left")} - ${X(e,"right")})`:Ll[t?.width],tg=e=>{switch(e){case"small":return 1.5;case"medium":return 2;case"large":return 2.5;default:return 2.5}},rg=(e,t,r,n)=>{let i="",l="",a="",c="",d="",s=`
1126
+ font-weight: ${r.primaryFontWeight};
1127
+ font-size: ${n?.height==="small"?r.primarySmallFontSize:n?.height==="medium"?r.primaryMediumFontSize:r.primaryLargeFontSize};
1128
+ font-family: ${r.primaryFontFamily};
1129
+ border-radius: ${r.primaryBorderRadius};
1130
+ border-width ${r.primaryBorderThickness};
1131
+ border-style: ${r.primaryBorderStyle};`,m=`
1132
+ font-weight: ${r.secondaryFontWeight};
1133
+ font-size: ${n?.height==="small"?r.secondarySmallFontSize:n?.height==="medium"?r.secondaryMediumFontSize:r.secondaryLargeFontSize};
1134
+ font-family: ${r.secondaryFontFamily};
1135
+ border-radius: ${r.secondaryBorderRadius};
1136
+ border-width ${r.secondaryBorderThickness};
1137
+ border-style: ${r.secondaryBorderStyle};`,g=`
1138
+ font-weight: ${r.tertiaryFontWeight};
1139
+ font-size: ${n?.height==="small"?r.tertiarySmallFontSize:n?.height==="medium"?r.tertiaryMediumFontSize:r.tertiaryLargeFontSize};
1140
+ font-family: ${r.tertiaryFontFamily};
1141
+ border-radius: ${r.tertiaryBorderRadius};
1142
+ border-width ${r.tertiaryBorderThickness};
1143
+ border-style: ${r.tertiaryBorderStyle};`;switch(e){case"primary":switch(t){case"default":i=`background-color: ${r.primaryDefaultBackgroundColor};
1144
+ color: ${r.primaryDefaultFontColor};`,l=`background-color: ${r.primaryHoverDefaultBackgroundColor};`,a=`background-color: ${r.primaryActiveDefaultBackgroundColor};
1145
+ border-color: transparent;
1146
+ outline: none;
1147
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1148
+ background-color: ${r.primaryDisabledDefaultBackgroundColor};
1149
+ color: ${r.primaryDisabledDefaultFontColor};`;break;case"error":i=`background-color: ${r.primaryErrorBackgroundColor};
1150
+ color: ${r.primaryErrorFontColor};`,l=`background-color: ${r.primaryHoverErrorBackgroundColor};`,a=`background-color: ${r.primaryActiveErrorBackgroundColor};
1151
+ border-color: transparent;
1152
+ outline: none;
1153
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1154
+ background-color: ${r.primaryDisabledErrorBackgroundColor};
1155
+ color: ${r.primaryDisabledErrorFontColor};`;break;case"warning":i=`background-color: ${r.primaryWarningBackgroundColor};
1156
+ color: ${r.primaryWarningFontColor};`,l=`background-color: ${r.primaryHoverWarningBackgroundColor};`,a=`background-color: ${r.primaryActiveWarningBackgroundColor};
1157
+ border-color: transparent;
1158
+ outline: none;
1159
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1160
+ background-color: ${r.primaryDisabledWarningBackgroundColor};
1161
+ color: ${r.primaryDisabledWarningFontColor};`;break;case"success":i=`background-color: ${r.primarySuccessBackgroundColor};
1162
+ color: ${r.primarySuccessFontColor};`,l=`background-color: ${r.primaryHoverSuccessBackgroundColor};`,a=`background-color: ${r.primaryActiveSuccessBackgroundColor};
1163
+ border-color: transparent;
1164
+ outline: none;
1165
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1166
+ background-color: ${r.primaryDisabledSuccessBackgroundColor};
1167
+ color: ${r.primaryDisabledSuccessFontColor};`;break;case"info":i=`background-color: ${r.primaryInfoBackgroundColor};
1168
+ color: ${r.primaryInfoFontColor};`,l=`background-color: ${r.primaryHoverInfoBackgroundColor};`,a=`background-color: ${r.primaryActiveInfoBackgroundColor};
1169
+ border-color: transparent;
1170
+ outline: none;
1171
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1172
+ background-color: ${r.primaryDisabledInfoBackgroundColor};
1173
+ color: ${r.primaryDisabledInfoFontColor};`;break;default:i=`background-color: ${r.primaryDefaultBackgroundColor};
1174
+ color: ${r.primaryDefaultFontColor};`;break}return`${s}
1175
+ ${i}
1176
+ &:hover {
1177
+ ${l}
1178
+ }
1179
+ &:active {
1180
+ ${a}
1181
+ }
1182
+ &:focus {
1183
+ ${c}
1184
+ }
1185
+ &:disabled {
1186
+ ${d}
1187
+ }`;case"secondary":switch(t){case"default":i=`background-color: ${r.secondaryDefaultBackgroundColor};
1188
+ color: ${r.secondaryDefaultFontColor};
1189
+ border-color ${r.secondaryDefaultBorderColor};`,l=`background-color: ${r.secondaryHoverDefaultBackgroundColor};
1190
+ color: ${r.secondaryHoverDefaultFontColor};`,a=`background-color: ${r.secondaryActiveDefaultBackgroundColor};
1191
+ color: ${r.secondaryHoverDefaultFontColor};
1192
+ border-color: transparent;
1193
+ outline: none;
1194
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1195
+ background-color: ${r.secondaryDisabledDefaultBackgroundColor};
1196
+ color: ${r.secondaryDisabledDefaultFontColor};
1197
+ border-color: ${r.secondaryDisabledDefaultBorderColor};`;break;case"error":i=`background-color: ${r.secondaryErrorBackgroundColor};
1198
+ color: ${r.secondaryErrorFontColor};
1199
+ border-color ${r.secondaryErrorBorderColor};`,l=`background-color: ${r.secondaryHoverErrorBackgroundColor};
1200
+ color: ${r.secondaryHoverErrorFontColor};`,a=`background-color: ${r.secondaryActiveErrorBackgroundColor};
1201
+ color: ${r.secondaryHoverErrorFontColor};
1202
+ border-color: transparent;
1203
+ outline: none;
1204
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1205
+ background-color: ${r.secondaryDisabledErrorBackgroundColor};
1206
+ color: ${r.secondaryDisabledErrorFontColor};
1207
+ border-color: ${r.secondaryDisabledErrorBorderColor};`;break;case"warning":i=`background-color: ${r.secondaryWarningBackgroundColor};
1208
+ color: ${r.secondaryWarningFontColor};
1209
+ border-color ${r.secondaryWarningBorderColor};`,l=`background-color: ${r.secondaryHoverWarningBackgroundColor};
1210
+ color: ${r.secondaryHoverWarningFontColor};`,a=`background-color: ${r.secondaryActiveWarningBackgroundColor};
1211
+ color: ${r.secondaryHoverWarningFontColor};
1212
+ border-color: transparent;
1213
+ outline: none;
1214
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1215
+ background-color: ${r.secondaryDisabledWarningBackgroundColor};
1216
+ color: ${r.secondaryDisabledWarningFontColor};
1217
+ border-color: ${r.secondaryDisabledWarningBorderColor};`;break;case"success":i=`background-color: ${r.secondarySuccessBackgroundColor};
1218
+ color: ${r.secondarySuccessFontColor};
1219
+ border-color ${r.secondarySuccessBorderColor};`,l=`background-color: ${r.secondaryHoverSuccessBackgroundColor};
1220
+ color: ${r.secondaryHoverSuccessFontColor};`,a=`background-color: ${r.secondaryActiveSuccessBackgroundColor};
1221
+ color: ${r.secondaryHoverSuccessFontColor};
1222
+ border-color: transparent;
1223
+ outline: none;
1224
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1225
+ background-color: ${r.secondaryDisabledSuccessBackgroundColor};
1226
+ color: ${r.secondaryDisabledSuccessFontColor};
1227
+ border-color: ${r.secondaryDisabledSuccessBorderColor};`;break;case"info":i=`background-color: ${r.secondaryInfoBackgroundColor};
1228
+ color: ${r.secondaryInfoFontColor};
1229
+ border-color ${r.secondaryInfoBorderColor};`,l=`background-color: ${r.secondaryHoverInfoBackgroundColor};
1230
+ color: ${r.secondaryHoverInfoFontColor};`,a=`background-color: ${r.secondaryActiveInfoBackgroundColor};
1231
+ color: ${r.secondaryHoverInfoFontColor};
1232
+ border-color: transparent;
1233
+ outline: none;
1234
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1235
+ background-color: ${r.secondaryDisabledInfoBackgroundColor};
1236
+ color: ${r.secondaryDisabledInfoFontColor};
1237
+ border-color: ${r.secondaryDisabledInfoBorderColor};`;break;default:i=`background-color: ${r.secondaryDefaultBackgroundColor};
1238
+ color: ${r.secondaryDefaultFontColor};
1239
+ border-color ${r.secondaryDefaultBorderColor};`;break}return`${m}
1240
+ ${i}
1241
+ &:hover {
1242
+ ${l}
1243
+ }
1244
+ &:active {
1245
+ ${a}
1246
+ }
1247
+ &:focus {
1248
+ ${c}
1249
+ }
1250
+ &:disabled {
1251
+ ${d}
1252
+ }`;case"tertiary":switch(t){case"default":i=`background-color: ${r.tertiaryDefaultBackgroundColor};
1253
+ color: ${r.tertiaryDefaultFontColor};`,l=`background-color: ${r.tertiaryHoverDefaultBackgroundColor};`,a=`background-color: ${r.tertiaryActiveDefaultBackgroundColor};
1254
+ border-color: transparent;
1255
+ outline: none;
1256
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1257
+ background-color: ${r.tertiaryDisabledDefaultBackgroundColor};
1258
+ color: ${r.tertiaryDisabledDefaultFontColor};`;break;case"error":i=`background-color: ${r.tertiaryErrorBackgroundColor};
1259
+ color: ${r.tertiaryErrorFontColor};`,l=`background-color: ${r.tertiaryHoverErrorBackgroundColor};`,a=`background-color: ${r.tertiaryActiveErrorBackgroundColor};
1260
+ border-color: transparent;
1261
+ outline: none;
1262
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1263
+ background-color: ${r.tertiaryDisabledErrorBackgroundColor};
1264
+ color: ${r.tertiaryDisabledErrorFontColor};`;break;case"warning":i=`background-color: ${r.tertiaryWarningBackgroundColor};
1265
+ color: ${r.tertiaryWarningFontColor};`,l=`background-color: ${r.tertiaryHoverWarningBackgroundColor};`,a=`background-color: ${r.tertiaryActiveWarningBackgroundColor};
1266
+ border-color: transparent;
1267
+ outline: none;
1268
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1269
+ background-color: ${r.tertiaryDisabledWarningBackgroundColor};
1270
+ color: ${r.tertiaryDisabledWarningFontColor};`;break;case"success":i=`background-color: ${r.tertiarySuccessBackgroundColor};
1271
+ color: ${r.tertiarySuccessFontColor};`,l=`background-color: ${r.tertiaryHoverSuccessBackgroundColor};`,a=`background-color: ${r.tertiaryActiveSuccessBackgroundColor};
1272
+ border-color: transparent;
1273
+ outline: none;
1274
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1275
+ background-color: ${r.tertiaryDisabledSuccessBackgroundColor};
1276
+ color: ${r.tertiaryDisabledSuccessFontColor};`;break;case"info":i=`background-color: ${r.tertiaryInfoBackgroundColor};
1277
+ color: ${r.tertiaryInfoFontColor};`,l=`background-color: ${r.tertiaryHoverInfoBackgroundColor};`,a=`background-color: ${r.tertiaryActiveInfoBackgroundColor};
1278
+ border-color: transparent;
1279
+ outline: none;
1280
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1281
+ background-color: ${r.tertiaryDisabledInfoBackgroundColor};
1282
+ color: ${r.tertiaryDisabledInfoFontColor};`;break;default:i=`background-color: ${r.tertiaryDefaultBackgroundColor};
1283
+ color: ${r.tertiaryDefaultFontColor};`;break}return`${g}
1284
+ ${i}
1285
+ &:hover {
1286
+ ${l}
1287
+ }
1288
+ &:active {
1289
+ ${a}
1290
+ }
1291
+ &:focus {
1292
+ ${c}
1293
+ }
1294
+ &:disabled {
1295
+ ${d}
1296
+ }`}},ng=dr.default.button`
1297
+ display: inline-flex;
1298
+ flex-direction: ${e=>e.iconPosition==="after"?"row":"row-reverse"};
1299
+ gap: 0.5rem;
1300
+ align-items: center;
1301
+ justify-content: center;
1302
+ height: ${e=>tg(e.size?.height&&e.size?.height)+"rem"};
1303
+ width: ${e=>og(e.margin,e.size)};
1304
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1305
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1306
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1307
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1308
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1309
+ padding-top: ${e=>e.hasIcon&&!e.hasLabel?e.size.height==="small"?e.theme.paddingSmallOnlyIconTop:e.size.height==="medium"?e.theme.paddingMediumOnlyIconTop:e.theme.paddingLargeOnlyIconTop:e.size.height==="small"?e.theme.paddingSmallTop:e.size.height==="medium"?e.theme.paddingMediumTop:e.theme.paddingLargeTop};
1310
+ padding-bottom: ${e=>e.hasIcon&&!e.hasLabel?e.size.height==="small"?e.theme.paddingSmallOnlyIconBottom:e.size.height==="medium"?e.theme.paddingMediumOnlyIconBottom:e.theme.paddingLargeOnlyIconBottom:e.size.height==="small"?e.theme.paddingSmallBottom:e.size.height==="medium"?e.theme.paddingMediumBottom:e.theme.paddingLargeBottom};
1311
+ padding-left: ${e=>e.hasIcon&&!e.hasLabel?e.size.height==="small"?e.theme.paddingSmallOnlyIconLeft:e.size.height==="medium"?e.theme.paddingMediumOnlyIconLeft:e.theme.paddingLargeOnlyIconLeft:e.size.height==="small"?e.theme.paddingSmallLeft:e.size.height==="medium"?e.theme.paddingMediumLeft:e.theme.paddingLargeLeft};
1312
+ padding-right: ${e=>e.hasIcon&&!e.hasLabel?e.size.height==="small"?e.theme.paddingSmallOnlyIconRight:e.size.height==="medium"?e.theme.paddingMediumOnlyIconRight:e.theme.paddingLargeOnlyIconRight:e.size.height==="small"?e.theme.paddingSmallRight:e.size.height==="medium"?e.theme.paddingMediumRight:e.theme.paddingLargeRight};
1313
+
1314
+ box-shadow: 0 0 0 2px transparent;
1315
+ font-family: ${e=>e.theme.fontFamily};
1316
+ font-size: ${e=>e.theme.fontSize};
1317
+ font-weight: ${e=>e.theme.fontWeight};
1318
+ letter-spacing: ${e=>e.theme.labelLetterSpacing};
1319
+ cursor: pointer;
1320
+
1321
+ &:focus {
1322
+ outline: none;
1323
+ box-shadow: 0 0 0 2px ${e=>e.theme.focusBorderColor};
1324
+ }
1325
+
1326
+ ${e=>rg(e.$mode,e.semantic,e.theme,e.size)};
1327
+ `,ig=dr.default.span`
1328
+ line-height: ${e=>e.theme.labelFontLineHeight};
1329
+ font-size: ${e=>e.theme.fontSize};
1330
+ text-overflow: ellipsis;
1331
+ overflow: hidden;
1332
+ text-transform: none;
1333
+ white-space: nowrap;
1334
+ `,lg=dr.default.div`
1335
+ display: flex;
1336
+ font-size: ${e=>e.size.height==="small"||e.size.height==="medium"?"16":"24"}px;
1337
+ svg {
1338
+ height: ${e=>e.size.height==="small"||e.size.height==="medium"?"16":"24"}px;
1339
+ width: ${e=>e.size.height==="small"||e.size.height==="medium"?"16":"24"}px;
1340
+ }
1341
+ `,bo=eg;var Dl=require("react"),Ft=F(require("styled-components"));var kt=require("react/jsx-runtime"),ag=({imageSrc:e,imageBgColor:t="black",imagePadding:r,imagePosition:n="before",linkHref:i,onClick:l,imageCover:a=!1,margin:c,tabIndex:d=0,outlined:s=!0,children:m})=>{let g=k(),[u,h]=(0,Dl.useState)(!1);return(0,kt.jsx)(Ft.ThemeProvider,{theme:g.card,children:(0,kt.jsx)(cg,{hasAction:!!(l||i),margin:c,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),onClick:l,tabIndex:l||i?d:-1,as:i&&"a",href:i,shadowDepth:s?u&&(l||i)?2:1:0,children:(0,kt.jsxs)(dg,{hasAction:!!(l||i),imagePosition:e?n:"none",children:[e&&(0,kt.jsx)(mg,{imageBgColor:t,children:(0,kt.jsx)(sg,{imagePadding:r,imageCover:a,src:e,alt:"Card image"})}),(0,kt.jsx)(gg,{children:m})]})})})},cg=Ft.default.div`
1342
+ display: inline-flex;
1343
+ cursor: ${({hasAction:e})=>e&&"pointer"||"unset"};
1344
+ outline: ${({hasAction:e})=>!e&&"none"};
1345
+ margin: ${({margin:e})=>e&&typeof e!="object"?p[e]:"0px"};
1346
+ margin-top: ${({margin:e})=>e&&typeof e=="object"&&e.top?p[e.top]:""};
1347
+ margin-right: ${({margin:e})=>e&&typeof e=="object"&&e.right?p[e.right]:""};
1348
+ margin-bottom: ${({margin:e})=>e&&typeof e=="object"&&e.bottom?p[e.bottom]:""};
1349
+ margin-left: ${({margin:e})=>e&&typeof e=="object"&&e.left?p[e.left]:""};
1350
+ text-decoration: none;
1351
+ ${({hasAction:e})=>e&&`:focus {
1352
+ outline: #0095ff auto 1px;
1353
+ }`}
1354
+
1355
+ box-shadow: ${({shadowDepth:e})=>e===1?`0px 3px 6px ${o.color_grey_300_a}`:e===2?`0px 3px 10px ${o.color_grey_300_a}`:"none"};
1356
+ `,dg=Ft.default.div`
1357
+ display: inline-flex;
1358
+ flex-direction: ${e=>e.imagePosition==="after"?"row-reverse":"row"};
1359
+ height: ${e=>e.theme.height};
1360
+ width: ${e=>e.theme.width};
1361
+ &:hover {
1362
+ border-color: ${({hasAction:e})=>e?"":"unset"};
1363
+ }
1364
+ `,sg=Ft.default.img`
1365
+ height: ${({imagePadding:e})=>e?typeof e!="object"&&`calc(100% - ${p[e]} - ${p[e]})`:"100%"};
1366
+ width: ${({imagePadding:e})=>e?typeof e!="object"&&`calc(100% - ${p[e]} - ${p[e]})`:"100%"};
1367
+ object-fit: ${({imageCover:e})=>e?"cover":"contain"};
1368
+ `,mg=Ft.default.div`
1369
+ display: inline-flex;
1370
+ justify-content: center;
1371
+ align-items: center;
1372
+ flex-shrink: 0;
1373
+ width: 35%;
1374
+ height: 100%;
1375
+ background-color: ${({imageBgColor:e})=>e};
1376
+ `,gg=Ft.default.div`
1377
+ flex-grow: 1;
1378
+ overflow: hidden;
1379
+ `,zl=ag;var wt=require("react"),St=F(require("styled-components"));var Oo=require("react/jsx-runtime"),pg=(0,Oo.jsx)("svg",{fill:"currentColor",focusable:"false",viewBox:"0 0 24 24",children:(0,Oo.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})}),ug=(0,wt.forwardRef)(({checked:e,defaultChecked:t=!1,value:r,label:n="",labelPosition:i="before",name:l="",disabled:a=!1,optional:c=!1,readOnly:d=!1,onChange:s,margin:m,size:g="fitContent",tabIndex:u=0},h)=>{let y=`label-checkbox-${(0,wt.useId)()}`,[v,f]=(0,wt.useState)(t),_=(0,wt.useRef)(null),x=k(),b=J(),D=()=>{if(!a&&!d){document.activeElement!==_?.current&&_?.current?.focus();let B=e??v;e??f(M=>!M),s?.(!B)}},P=B=>{switch(B.key){case" ":B.preventDefault(),D()}};return(0,Oo.jsx)(St.ThemeProvider,{theme:x.checkbox,children:(0,Oo.jsxs)(Cg,{disabled:a,readOnly:d,onClick:D,margin:m,size:g,checked:e??v,ref:h,children:[n&&(0,Oo.jsxs)(fg,{id:y,disabled:a,labelPosition:i,"aria-label":n,children:[n,c&&` ${b.formFields.optionalLabel}`]}),(0,Oo.jsx)(bg,{type:"checkbox",checked:e??v,name:l,value:r,disabled:a,readOnly:!0}),(0,Oo.jsx)(yg,{children:(0,Oo.jsx)(Rl,{onKeyDown:P,role:"checkbox",tabIndex:a?-1:u,"aria-checked":e??v,"aria-disabled":a,"aria-readonly":d,"aria-required":!a&&!c,"aria-labelledby":n?y:void 0,"aria-label":n?void 0:"Checkbox",checked:e??v,disabled:a,readOnly:d,ref:_,children:(e??v)&&pg})})]})})}),Al={small:"120px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},hg=(e,t)=>t==="fillParent"?`calc(${Al[t]} - ${X(e,"left")} - ${X(e,"right")})`:Al[t],yn=(e,t)=>{switch(t){case"check":return e.disabledCheckColor;case"background":return e.disabledBackgroundColorChecked;case"border":return e.disabledBorderColor;case"label":return e.disabledFontColor}},Pr=(e,t)=>{switch(t){case"check":return e.readOnlyCheckColor;case"background":return e.readOnlyBackgroundColorChecked;case"hoverBackground":return e.hoverReadOnlyBackgroundColorChecked;case"border":return e.readOnlyBorderColor;case"hoverBorder":return e.hoverReadOnlyBorderColor}},sr=(e,t)=>{switch(t){case"check":return e.checkColor;case"background":return e.backgroundColorChecked;case"hoverBackground":return e.hoverBackgroundColorChecked;case"border":return e.borderColor;case"hoverBorder":return e.hoverBorderColor;case"label":return e.fontColor}},fg=St.default.span`
1380
+ order: ${e=>e.labelPosition==="before"?0:1};
1381
+ color: ${e=>e.disabled?yn(e.theme,"label"):sr(e.theme,"label")};
1382
+ font-family: ${e=>e.theme.fontFamily};
1383
+ font-size: ${e=>e.theme.fontSize};
1384
+ font-weight: ${e=>e.theme.fontWeight};
1385
+ `,bg=St.default.input`
1386
+ display: none;
1387
+ `,yg=St.default.span`
1388
+ display: flex;
1389
+ align-items: center;
1390
+ justify-content: center;
1391
+ height: 24px;
1392
+ width: 24px;
1393
+ `,Rl=St.default.span`
1394
+ position: relative;
1395
+ box-sizing: border-box;
1396
+ display: flex;
1397
+ align-items: center;
1398
+ justify-content: center;
1399
+ height: 18px;
1400
+ width: 18px;
1401
+ border: 2px solid
1402
+ ${e=>e.disabled?yn(e.theme,"border"):e.readOnly?Pr(e.theme,"border"):sr(e.theme,"border")};
1403
+ border-radius: 2px;
1404
+ background-color: ${e=>e.checked?e.disabled?yn(e.theme,"check"):e.readOnly?Pr(e.theme,"check"):sr(e.theme,"check"):"transparent"};
1405
+ color: ${e=>e.disabled?yn(e.theme,"background"):e.readOnly?Pr(e.theme,"background"):sr(e.theme,"background")};
1406
+
1407
+ &:focus {
1408
+ outline: 2px solid ${e=>e.theme.focusColor};
1409
+ outline-offset: 2px;
1410
+ }
1411
+ svg {
1412
+ position: absolute;
1413
+ width: 22px;
1414
+ height: 22px;
1415
+ }
1416
+ ${e=>e.disabled&&"pointer-events: none;"}
1417
+ `,Cg=St.default.div`
1418
+ display: inline-flex;
1419
+ align-items: center;
1420
+ gap: ${e=>e.theme.checkLabelSpacing};
1421
+ width: ${e=>hg(e.margin,e.size)};
1422
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1423
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1424
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1425
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1426
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1427
+ cursor: ${e=>e.disabled?"not-allowed":e.readOnly?"default":"pointer"};
1428
+
1429
+ &:hover ${Rl} {
1430
+ border: 2px solid
1431
+ ${e=>{if(!e.disabled)return e.readOnly?Pr(e.theme,"hoverBorder"):sr(e.theme,"hoverBorder")}};
1432
+ color: ${e=>{if(!e.disabled)return e.readOnly?Pr(e.theme,"hoverBackground"):sr(e.theme,"hoverBackground")}};
1433
+ }
1434
+ `,Ut=ug;var mr=F(require("styled-components"));var nt=require("react/jsx-runtime"),xg=({label:e,suffixIcon:t,prefixIcon:r,onClickSuffix:n,onClickPrefix:i,disabled:l,margin:a,tabIndex:c=0})=>{let d=k();return(0,nt.jsx)(mr.ThemeProvider,{theme:d.chip,children:(0,nt.jsxs)($g,{disabled:l,margin:a,children:[r&&(0,nt.jsx)(Hl,{role:typeof i=="function"?"button":void 0,"aria-label":typeof i=="function"?"Prefix Action":void 0,disabled:l,interactive:typeof i=="function"&&!l,tabIndex:typeof i=="function"&&!l?c:-1,onClick:()=>i&&!l&&i(),children:typeof r=="string"?(0,nt.jsx)($,{icon:r}):r}),e&&(0,nt.jsx)(vg,{disabled:l,children:e}),t&&(0,nt.jsx)(Hl,{role:typeof n=="function"?"button":void 0,"aria-label":typeof n=="function"?"Suffix Action":void 0,disabled:l,interactive:typeof n=="function"&&!l,tabIndex:typeof n=="function"&&!l?c:-1,onClick:()=>!l&&n?.(),children:typeof t=="string"?(0,nt.jsx)($,{icon:t}):t})]})})},_g=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,$g=mr.default.div`
1435
+ box-sizing: border-box;
1436
+ display: inline-flex;
1437
+ align-items: center;
1438
+ gap: ${e=>e.theme.iconSpacing};
1439
+ min-height: 40px;
1440
+ max-width: ${e=>_g(e.margin)};
1441
+ background-color: ${e=>e.disabled&&e.theme.disabledBackgroundColor||e.theme.backgroundColor};
1442
+ border-radius: ${e=>e.theme.borderRadius};
1443
+ border-width: ${e=>e.theme.borderThickness};
1444
+ border-style: ${e=>e.theme.borderStyle};
1445
+ border-color: ${e=>e.theme.borderColor};
1446
+
1447
+ padding-top: ${e=>e.theme.contentPaddingTop};
1448
+ padding-bottom: ${e=>e.theme.contentPaddingBottom};
1449
+ padding-left: ${e=>e.theme.contentPaddingLeft};
1450
+ padding-right: ${e=>e.theme.contentPaddingRight};
1451
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1452
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1453
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1454
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1455
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1456
+ cursor: ${({disabled:e})=>e&&"not-allowed"};
1457
+ `,vg=mr.default.span`
1458
+ font-size: ${e=>e.theme.fontSize};
1459
+ font-family: ${e=>e.theme.fontFamily};
1460
+ font-weight: ${e=>e.theme.fontWeight};
1461
+ font-style: ${e=>e.theme.fontStyle};
1462
+ color: ${e=>e.disabled?e.theme.disabledFontColor:e.theme.fontColor};
1463
+ text-overflow: ellipsis;
1464
+ white-space: nowrap;
1465
+ overflow: hidden;
1466
+ `,Hl=mr.default.div`
1467
+ display: flex;
1468
+ border-radius: 0.25rem;
1469
+ color: ${e=>e.disabled?e.theme.disabledIconColor:e.theme.iconColor};
1470
+ ${({interactive:e})=>e&&"cursor: pointer;"}
1471
+
1472
+ ${e=>e.interactive&&`
1473
+ &:hover {
1474
+ color: ${e.theme.hoverIconColor};
1475
+ }
1476
+ &:focus,
1477
+ &:focus-visible {
1478
+ outline: ${e.theme.focusBorderThickness} ${e.theme.focusBorderStyle} ${e.theme.focusColor};
1479
+ }
1480
+ &:active {
1481
+ color: ${e.theme.activeIconColor};
1482
+ }
1483
+ `}
1484
+
1485
+ font-size: ${e=>e.theme.iconSize};
1486
+ svg {
1487
+ width: ${e=>e.theme.iconSize};
1488
+ height: ${e=>e.theme.iconSize};
1489
+ }
1490
+ `,Ml=xg;var El=F(require("styled-components"));var Ol=require("react/jsx-runtime"),Go={xxsmall:"4px",xsmall:"8px",small:"12px",medium:"16px",large:"24px",xlarge:"32px",xxlarge:"48px"},Tg=({display:e,width:t,height:r,overflow:n,...i})=>(0,Ol.jsx)(kg,{$display:e,$width:t,$height:r,$overflow:n,...i}),Cn=(e,t)=>`border-${e}: ${t?.width??""} ${t?.style??""} ${Tr(t?.color)??""};`,kg=El.default.div`
1491
+ box-sizing: ${({boxSizing:e})=>e};
1492
+ display: ${({$display:e})=>e};
1493
+ width: ${({$width:e})=>e};
1494
+ height: ${({$height:e})=>e};
1495
+ max-width: ${({maxWidth:e})=>e};
1496
+ max-height: ${({maxHeight:e})=>e};
1497
+ min-width: ${({minWidth:e})=>e};
1498
+ min-height: ${({minHeight:e})=>e};
1499
+ position: ${({position:e})=>e};
1500
+ top: ${({inset:e})=>e?.top};
1501
+ right: ${({inset:e})=>e?.right};
1502
+ bottom: ${({inset:e})=>e?.bottom};
1503
+ left: ${({inset:e})=>e?.left};
1504
+ float: ${({float:e})=>e};
1505
+ z-index: ${({zIndex:e})=>e};
1506
+ box-shadow: ${({boxShadow:e})=>e};
1507
+
1508
+ background-attachment: ${({background:e})=>e?.attachment};
1509
+ background-clip: ${({background:e})=>e?.clip};
1510
+ background-color: ${({background:e})=>Tr(e?.color)};
1511
+ background-image: ${({background:e})=>e?.image};
1512
+ background-origin: ${({background:e})=>e?.origin};
1513
+ background-position: ${({background:e})=>e?.position};
1514
+ background-repeat: ${({background:e})=>e?.repeat};
1515
+ background-size: ${({background:e})=>e?.size};
1516
+
1517
+ border-radius: ${({borderRadius:e})=>e};
1518
+ border-width: ${({border:e})=>e&&"width"in e?`${e?.width}`:""};
1519
+ border-style: ${({border:e})=>e&&"style"in e?`${e?.style}`:""};
1520
+ border-color: ${({border:e})=>e&&"color"in e?`${Tr(e?.color)}`:""};
1521
+
1522
+ ${({border:e})=>{if(e!=null){let t="";switch(!0){case"top"in e:t+=Cn("top",e.top);case"right"in e:t+=Cn("right",e.right);case"left"in e:t+=Cn("left",e.left);case"bottom"in e:t+=Cn("bottom",e.bottom)}return t}}};
1523
+
1524
+ margin: ${({margin:e})=>typeof e=="string"?Go[e]:""};
1525
+ margin-top: ${({margin:e})=>typeof e=="object"?Go[e.top]:""};
1526
+ margin-right: ${({margin:e})=>typeof e=="object"?Go[e.right]:""};
1527
+ margin-bottom: ${({margin:e})=>typeof e=="object"?Go[e.bottom]:""};
1528
+ margin-left: ${({margin:e})=>typeof e=="object"?Go[e.left]:""};
1529
+
1530
+ outline: ${({outline:e})=>`${e?.width??""} ${e?.style??""} ${Tr(e?.color)??""}`};
1531
+ outline-offset: ${({outline:e})=>e?.offset};
1532
+
1533
+ overflow: ${({$overflow:e})=>typeof e=="string"?e:""};
1534
+ overflow-x: ${({$overflow:e})=>typeof e=="object"?`${e?.x}`:""};
1535
+ overflow-y: ${({$overflow:e})=>typeof e=="object"?`${e?.y}`:""};
1536
+
1537
+ padding: ${({padding:e})=>typeof e=="string"?Go[e]:""};
1538
+ padding-top: ${({padding:e})=>typeof e=="object"?Go[e.top]:""};
1539
+ padding-right: ${({padding:e})=>typeof e=="object"?Go[e.right]:""};
1540
+ padding-bottom: ${({padding:e})=>typeof e=="object"?Go[e.bottom]:""};
1541
+ padding-left: ${({padding:e})=>typeof e=="object"?Go[e.left]:""};
1542
+ `,Wl=Tg;var To=require("react"),Ar=F(require("styled-components"));var Jl=F(require("styled-components"));var Vo=require("react");var xn=require("react"),Lr=F(require("styled-components"));var it=require("react/jsx-runtime"),Fg=({badge:e,collapseIcon:t,icon:r,label:n,depthLevel:i,...l})=>{let[a,c]=(0,xn.useState)(!1),d=e&&(0,xn.cloneElement)(e,{size:"small"});return(0,it.jsx)(ir,{condition:a,label:n,children:(0,it.jsxs)(wg,{depthLevel:i,...l,children:[(0,it.jsxs)(Sg,{children:[t&&(0,it.jsx)(Gl,{children:t}),r&&i===0&&(0,it.jsx)(Gl,{children:typeof r=="string"?(0,it.jsx)($,{icon:r}):r}),(0,it.jsx)(Ig,{selected:l.selected,onMouseEnter:s=>{let m=s.currentTarget;c(m.scrollWidth>m.clientWidth)},children:n})]}),d]})})},wg=Lr.default.button`
1543
+ border: none;
1544
+ border-radius: 4px;
1545
+ padding: ${e=>`${o.spacing_4} ${o.spacing_8} ${o.spacing_4} ${`
1546
+ calc(${o.spacing_8} + (${o.spacing_24} * ${e.depthLevel}))
1547
+ `};`};
1548
+ box-shadow: inset 0 0 0 2px transparent;
1549
+ display: flex;
1550
+ align-items: center;
1551
+ justify-content: space-between;
1552
+ gap: ${o.spacing_16};
1553
+ ${({selected:e,theme:t})=>e?`background-color: ${t.selectedMenuItemBackgroundColor};`:`background-color: ${o.color_transparent}`};
1554
+ cursor: pointer;
1555
+ overflow: hidden;
1556
+
1557
+ &:hover {
1558
+ ${({selected:e,theme:t})=>e?`background-color: ${t.hoverSelectedMenuItemBackgroundColor};`:`background-color: ${t.hoverMenuItemBackgroundColor};`};
1559
+ }
1560
+ &:active {
1561
+ ${({selected:e,theme:t})=>e?`background-color: ${t.activeSelectedMenuItemBackgroundColor};`:`background-color: ${t.activeMenuItemBackgroundColor};`};
1562
+ }
1563
+ &:focus {
1564
+ outline: 2px solid ${o.color_blue_600};
1565
+ outline-offset: -1px;
1566
+ }
1567
+ `,Gl=Lr.default.span`
1568
+ display: flex;
1569
+ font-size: ${({theme:e})=>e.iconSize};
1570
+ color: ${({theme:e})=>e.iconColor};
1571
+
1572
+ svg {
1573
+ height: ${({theme:e})=>e.iconSize};
1574
+ width: ${({theme:e})=>e.iconSize};
1575
+ }
1576
+ `,Sg=Lr.default.span`
1577
+ display: flex;
1578
+ align-items: center;
1579
+ gap: ${o.spacing_8};
1580
+ overflow: hidden;
1581
+ `,Ig=Lr.default.span`
1582
+ color: ${({theme:e})=>e.menuItemFontColor};
1583
+ font-family: ${({theme:e})=>e.fontFamily};
1584
+ font-size: ${({theme:e})=>e.menuItemFontSize};
1585
+ font-style: ${({theme:e})=>e.menuItemFontStyle};
1586
+ font-weight: ${({selected:e,theme:t})=>e?t.selectedMenuItemFontWeight:t.menuItemFontWeight};
1587
+ line-height: ${({theme:e})=>e.menuItemLineHeight};
1588
+ text-overflow: ellipsis;
1589
+ white-space: nowrap;
1590
+ overflow: hidden;
1591
+ `,_n=Fg;var No=require("react/jsx-runtime"),Nl=(e,t)=>e.some(r=>"items"in r?Nl(r.items,t):t!==-1?r.id===t:r.selectedByDefault),Bg=({items:e,...t})=>{let r=`group-menu-${(0,Vo.useId)()}`,{selectedItemId:n}=(0,Vo.useContext)(zr),i=(0,Vo.useMemo)(()=>Nl(e,n),[e,n]),[l,a]=(0,Vo.useState)(!!(i&&n===-1));return(0,No.jsxs)(No.Fragment,{children:[(0,No.jsx)(_n,{"aria-controls":l?r:void 0,"aria-expanded":l?!0:void 0,"aria-pressed":i&&!l,collapseIcon:l?(0,No.jsx)($,{icon:"filled_expand_less"}):(0,No.jsx)($,{icon:"filled_expand_more"}),onClick:()=>{a(c=>!c)},selected:i&&!l,...t}),l&&(0,No.jsx)(Dr,{id:r,children:e.map((c,d)=>(0,No.jsx)(gr,{item:c,depthLevel:t.depthLevel+1},`${c.label}-${d}`))})]})},Vl=(0,Vo.memo)(Bg);var $n=require("react");var Xl=require("react/jsx-runtime"),Pg=({id:e,onSelect:t,selectedByDefault:r,...n})=>{let{selectedItemId:i,setSelectedItemId:l}=(0,$n.useContext)(zr),a=()=>{l(e),t?.()};return(0,$n.useEffect)(()=>{i===-1&&r&&l(e)},[i,r,e]),(0,Xl.jsx)(_n,{"aria-pressed":i===-1?r:i===e,onClick:a,selected:i===-1?r:i===e,...n})},jl=Pg;var vn=require("react/jsx-runtime"),Lg=({item:e,depthLevel:t=0})=>(0,vn.jsx)(Dg,{role:"menuitem",children:"items"in e?(0,vn.jsx)(Vl,{...e,depthLevel:t}):(0,vn.jsx)(jl,{...e,depthLevel:t})}),Dg=Jl.default.li`
1592
+ display: grid;
1593
+ gap: ${o.spacing_4};
1594
+ `,gr=Lg;var Yl=F(require("styled-components"));var Kl=F(require("styled-components"));var Ul=require("react/jsx-runtime"),zg=({orientation:e="horizontal",weight:t="regular",color:r="mediumGrey",decorative:n=!0})=>(0,Ul.jsx)(Ag,{orientation:e,weight:t,color:r,"aria-orientation":e,"aria-hidden":n}),Ag=Kl.default.hr`
1595
+ ${({orientation:e,weight:t,color:r})=>`
1596
+ border-color: ${r==="lightGrey"?o.color_grey_200:r==="mediumGrey"?o.color_grey_400:o.color_grey_700};
1597
+ ${e==="horizontal"?"width":"min-height"}: 100%;
1598
+ ${e==="horizontal"?"height":"width"}: 0px;
1599
+ ${e==="horizontal"?"border-width: "+(t==="regular"?"1px 0 0 0":"2px 0 0 0"):"border-width: "+(t==="regular"?"0 0 0 1px":"0 0 0 2px")};
1600
+ margin: 0px;
1601
+ `}
1602
+ `,Tn=zg;var Zl=require("react"),It=require("react/jsx-runtime"),Rg=({section:e,index:t,length:r})=>{let n=`section-${(0,Zl.useId)()}`;return(0,It.jsxs)("section",{"aria-label":e?.title??n,"aria-labelledby":n,children:[e.title&&(0,It.jsx)(Hg,{id:n,children:e.title}),(0,It.jsx)(Dr,{children:e.items.map((i,l)=>(0,It.jsx)(gr,{item:i},`${i.label}-${l}`))}),t!==r-1&&(0,It.jsx)(Yt,{top:"0.25rem",bottom:"0.25rem",children:(0,It.jsx)(Tn,{color:"lightGrey"})})]})},Hg=Yl.default.h2`
1603
+ margin: 0 0 ${o.spacing_4} 0;
1604
+ padding: ${o.spacing_4};
1605
+ color: ${({theme:e})=>e.sectionTitleFontColor};
1606
+ font-family: ${({theme:e})=>e.fontFamily};
1607
+ font-size: ${({theme:e})=>e.sectionTitleFontSize};
1608
+ font-style: ${({theme:e})=>e.sectionTitleFontStyle};
1609
+ font-weight: ${({theme:e})=>e.sectionTitleFontWeight};
1610
+ line-height: ${({theme:e})=>e.sectionTitleLineHeight};
1611
+ `,ql=Rg;var Bt=require("react/jsx-runtime"),Mg=e=>"items"in e,Ql=e=>e&&"items"in e&&!("label"in e),Eg=e=>{let t=0,r=n=>n.map(i=>Ql(i)?{...i,items:r(i.items)}:Mg(i)?{...i,items:r(i.items)}:{...i,id:t++});return r(e)},Dr=({children:e,id:t})=>(0,Bt.jsx)(Gg,{id:t,role:"menu",children:e}),zr=(0,To.createContext)(null),Wg=({items:e})=>{let[t,r]=(0,To.useState)(-1),n=(0,To.useRef)(null),i=(0,To.useMemo)(()=>Eg(e),[e]),l=k(),[a,c]=(0,To.useState)(!0);return(0,To.useLayoutEffect)(()=>{if(t!==-1&&a){let d=n?.current,s=d?.querySelector("[aria-pressed='true']");d?.scrollTo?.({top:s?.offsetTop-d?.clientHeight/2}),c(!1)}},[a,t]),(0,Bt.jsx)(Ar.ThemeProvider,{theme:l.contextualMenu,children:(0,Bt.jsx)(Og,{ref:n,children:(0,Bt.jsx)(zr.Provider,{value:{selectedItemId:t,setSelectedItemId:r},children:Ql(i[0])?i.map((d,s)=>(0,Bt.jsx)(ql,{section:d,index:s,length:i.length},`section-${s}`)):(0,Bt.jsx)(Dr,{children:i.map((d,s)=>(0,Bt.jsx)(gr,{item:d},`${d.label}-${s}`))})})})})},Og=Ar.default.div`
1612
+ box-sizing: border-box;
1613
+ margin: 0;
1614
+ border: 1px solid ${({theme:e})=>e.borderColor};
1615
+ border-radius: 0.25rem;
1616
+ padding: ${o.spacing_16} ${o.spacing_8};
1617
+ display: grid;
1618
+ gap: ${o.spacing_4};
1619
+ min-width: 248px;
1620
+ max-height: 100%;
1621
+ background-color: ${({theme:e})=>e.backgroundColor};
1622
+ overflow-y: auto;
1623
+ overflow-x: hidden;
1624
+ &::-webkit-scrollbar {
1625
+ width: 8px;
1626
+ height: 8px;
1627
+ }
1628
+ &::-webkit-scrollbar-thumb {
1629
+ background-color: ${o.color_grey_700};
1630
+ border-radius: 0.25rem;
1631
+ }
1632
+ &::-webkit-scrollbar-track {
1633
+ background-color: ${o.color_grey_300};
1634
+ border-radius: 0.25rem;
1635
+ }
1636
+ `,Gg=Ar.default.ul`
1637
+ margin: 0;
1638
+ padding: 0;
1639
+ display: grid;
1640
+ gap: ${o.spacing_4};
1641
+ list-style: none;
1642
+ `,ea=Wg;var Ve=require("react"),Ia=F(require("react-data-grid")),P_=require("react-data-grid/lib/styles.css");var oa=require("react"),ta=F(require("styled-components"));var kn=require("react/jsx-runtime"),Ng=(0,oa.forwardRef)(({disabled:e=!1,title:t,icon:r,onClick:n,tabIndex:i},l)=>(0,kn.jsx)(ge,{label:t,children:(0,kn.jsx)(Vg,{"aria-label":t,disabled:e,onClick:n,onMouseDown:a=>{a.stopPropagation()},tabIndex:i,type:"button",ref:l,children:typeof r=="string"?(0,kn.jsx)($,{icon:r}):r})})),Vg=ta.default.button`
1643
+ display: flex;
1644
+ align-items: center;
1645
+ justify-content: center;
1646
+ flex-shrink: 0;
1647
+ border: none;
1648
+ border-radius: 2px;
1649
+ width: 24px;
1650
+ height: 24px;
1651
+ font-size: 16px;
1652
+ padding: 0px;
1653
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: pointer;"}
1654
+
1655
+ box-shadow: 0 0 0 2px transparent;
1656
+ background-color: ${e=>e.disabled?e.theme.disabledActionBackgroundColor??o.color_transparent:e.theme.actionBackgroundColor??o.color_transparent};
1657
+ color: ${e=>e.disabled?e.theme.disabledActionIconColor??o.color_grey_500:e.theme.actionIconColor??o.color_black};
1658
+
1659
+ ${e=>!e.disabled&&`
1660
+ &:focus,
1661
+ &:focus-visible {
1662
+ outline: none;
1663
+ box-shadow: 0 0 0 2px ${e.theme.focusActionBorderColor??o.color_blue_600};
1664
+ color: ${e.theme.focusActionIconColor??o.color_black};
1665
+ }
1666
+ &:hover {
1667
+ background-color: ${e.theme.hoverActionBackgroundColor??o.color_grey_100};
1668
+ color: ${e.theme.hoverActionIconColor??o.color_black};
1669
+ }
1670
+ &:active {
1671
+ background-color: ${e.theme.activeActionBackgroundColor??o.color_grey_300};
1672
+ color: ${e.theme.activeActionIconColor??o.color_black};
1673
+ }
1674
+ `}
1675
+
1676
+ svg {
1677
+ width: 16px;
1678
+ height: 16px;
1679
+ }
1680
+ `,co=Ng;var ra=require("react-data-grid"),Ne=require("react/jsx-runtime"),jg=e=>({checkbox:{backgroundColorChecked:e.dataGrid.headerCheckboxBackgroundColorChecked,hoverBackgroundColorChecked:e.dataGrid.headerCheckboxHoverBackgroundColorChecked,borderColor:e.dataGrid.headerCheckboxBorderColor,hoverBorderColor:e.dataGrid.headerCheckboxHoverBorderColor,checkColor:e.dataGrid.headerCheckboxCheckColor,focusColor:e.dataGrid.focusColor}}),na=(e,t)=>({key:e.key,name:e.label,resizable:e.resizable,sortable:e.sortable,draggable:e.draggable,editable:e.textEditable,headerCellClass:e.alignment?`header-align-${e.alignment}`:"header-align-left",renderEditCell:e.textEditable?ra.textEditor:void 0,renderCell:({row:r})=>(0,Ne.jsx)("div",{className:`ellipsis-cell ${e.alignment?"align-"+e.alignment:"align-left"}`,children:r[e.key]}),renderSummaryCell:()=>e.summaryKey?(0,Ne.jsx)("div",{className:`ellipsis-cell ${e.alignment?"align-"+e.alignment:"align-left"}`,children:t?.[e.summaryKey]}):void 0}),ia=({sortDirection:e})=>(0,Ne.jsx)("div",{className:"sortIconContainer",children:e!==void 0?e==="ASC"?(0,Ne.jsx)($,{icon:"Keyboard_Arrow_Up"}):(0,Ne.jsx)($,{icon:"Keyboard_Arrow_Down"}):(0,Ne.jsx)($,{icon:"Expand_All"})}),la=(e,t,r,n)=>(0,Ne.jsx)(co,{icon:e.contentIsExpanded?"arrow_drop_down":"arrow_right",title:"Expand content","aria-expanded":e.contentIsExpanded,onClick:()=>{if(e.contentIsExpanded=!e.contentIsExpanded,e.contentIsExpanded){let i=t.findIndex(l=>e===l);n(l=>{let a=[...l];return Sn(a,i+1,{isExpandedChildContent:e.contentIsExpanded,[r]:_e(e,r)+"_expanded",expandedChildContent:e.expandedContent,triggerRowKey:_e(e,r),expandedContentHeight:e.expandedContentHeight}),a})}else{let i=t.findIndex(l=>e===l);n(l=>{let a=[...l];return Jg(a,i+1),a})}}}),aa=(e,t,r,n,i)=>(0,Ne.jsxs)("button",{onClick:()=>{let l=[...e];if(t.visibleChildren){let a=[...e.filter(d=>d.parentKey&&d.parentKey===_e(t,r))],c=[...a];for(;c.length>0;){let d=c.pop(),s=d?.visibleChildren&&d?.childRows?d.childRows:[];a.push(...s),c.push(...s)}l=e.filter(d=>!a.map(s=>(s.visibleChildren&&(s.visibleChildren=!1),_e(s,r))).includes(_e(d,r)))}else{let a=e.findIndex(c=>t===c);t.childRows?.map((c,d)=>{c.rowLevel=t.rowLevel&&typeof t.rowLevel=="number"?t.rowLevel+1:1,c.parentKey=_e(t,r),Sn(l,a+1+d,c)})}t.visibleChildren=!t.visibleChildren,i(l)},children:[(0,Ne.jsx)($,{icon:t.visibleChildren?"Keyboard_Arrow_Down":"Chevron_Right"}),(0,Ne.jsx)("span",{className:"ellipsis-cell",children:t[n]})]}),ca=(e,t,r,n,i)=>(0,Ne.jsx)(Ut,{checked:n.has(_e(t,r)),onChange:l=>{let a=new Set(n);l?a.add(_e(t,r)):a.delete(_e(t,r)),t.childRows&&Array.isArray(t.childRows)&&wn(t.childRows,r,a,l),t.parentKey&&pa(e,t.parentKey,r,a,l),i(a)}}),da=(e,t,r,n,i)=>(0,Ne.jsx)(Ho,{advancedTheme:jg(n),children:(0,Ne.jsx)(Ut,{checked:!e.some(l=>!r.has(_e(l,t))),onChange:l=>{let a=new Set(r);l?e.forEach(c=>{a.add(_e(c,t)),c.childRows&&Array.isArray(c.childRows)&&wn(c.childRows,t,a,l)}):e.forEach(c=>{a.delete(_e(c,t)),c.childRows&&Array.isArray(c.childRows)&&wn(c.childRows,t,a,l)}),i(a)}})}),_e=(e,t)=>{let r=e[t];return typeof r=="string"||typeof r=="number"?r:null},sa=e=>[...e].filter(r=>r.sortFn).map(r=>({column:r.key,sortFn:r.sortFn})),Xg=(e,t,r)=>r?r(e,t):e>t?1:e<t?-1:0,Fn=(e,t,r,n)=>[...e].sort((i,l)=>{for(let a of t){let c=i[a.columnKey],d=l[a.columnKey],s=0;if(c&&d&&(s=Xg(c,d,r?.find(({column:m})=>m===a.columnKey)?.sortFn)),s!==0)return n?a.direction==="ASC"?-s:s:a.direction==="ASC"?s:-s}return 0}),ma=(e,t,r,n)=>{let i=Fn(e.filter(l=>!l.parentKey),t,r);if(e.length===i.length)return i;{let l=Fn(e.filter(a=>a.parentKey),t,r,!0);for(;l.length;)n&&(l=l.reduce((a,c)=>{let d=i.findIndex(s=>_e(s,n)===c.parentKey);return d>=0?i.splice(d+1,0,c):a.push(c),a},[]));return i}},Sn=(e,t,r)=>{e.splice(t,0,r)},Jg=(e,t)=>{e.splice(t,1)},ga=(e,t,r)=>{let n;if(e.forEach(i=>{_e(i,t)===r&&(n={...i}),i.childRows&&Array.isArray(i.childRows)&&!n&&(n=ga(i.childRows,t,r))}),n)return n},wn=(e,t,r,n)=>{e.forEach(i=>{i.childRows&&wn(i.childRows,t,r,n),n?r.add(_e(i,t)):r.delete(_e(i,t))})},pa=(e,t,r,n,i)=>{let l=ga(e,r,t);if(!l)return;let a=l.childRows?.some(c=>!n.has(_e(c,r)));!i||a?n.has(_e(l,r))&&n.delete(_e(l,r)):l.childRows&&!a&&n.add(_e(l,r)),l.parentKey&&pa(e,l.parentKey,r,n,i)},ua=(e,t,r)=>e===1?0:t*(r-1),ha=(e,t,r,n)=>e+t>r.length?r.length:t*n-1,fa=(e,t,r,n)=>{let i=r!=null&&n!=null?e.filter(({parentKey:a,isExpandedChildContent:c})=>a==null&&c==null).slice(r,n):[...e],l=(a,c)=>a[t]===c?!0:a.childRows?.some(d=>l(d,c));return e.filter(a=>i.some(c=>c[t]===a[t]||c.contentIsExpanded&&a?.triggerRowKey===c[t]&&a?.isExpandedChildContent||c?.childRows?.some(d=>l(d,a[t]))))};var hr=F(require("styled-components"));var ko=F(require("styled-components"));var Pt=F(require("@radix-ui/react-popover")),Te=require("react"),ke=F(require("styled-components"));var Rr=require("react"),Hr=F(require("styled-components"));var Zt=F(require("styled-components"));var ba=require("react");var so=require("react/jsx-runtime"),Kg=({id:e,option:t,onClick:r,multiple:n,visualFocused:i,isGroupedOption:l=!1,isLastOption:a,isSelected:c})=>{let[d,s]=(0,ba.useState)(!1),m=g=>{let u=g.currentTarget;s(u.scrollWidth>u.clientWidth)};return(0,so.jsx)(ir,{condition:d,label:t.label,children:(0,so.jsx)(Ug,{id:e,onClick:()=>{r(t)},visualFocused:i,selected:c,role:"option","aria-selected":n?void 0:c,children:(0,so.jsxs)(Yg,{visualFocused:i,selected:c,last:a,grouped:l,multiple:n,children:[n&&(0,so.jsx)("div",{style:{display:"flex",pointerEvents:"none"},children:(0,so.jsx)(Ut,{checked:c,tabIndex:-1})}),t.icon&&(0,so.jsx)(Zg,{grouped:l,multiple:n,children:typeof t.icon=="string"?(0,so.jsx)($,{icon:t.icon}):t.icon}),(0,so.jsxs)(qg,{grouped:l,hasIcon:!!t.icon,multiple:n,children:[(0,so.jsx)(Qg,{onMouseEnter:m,children:t.label}),!n&&c&&(0,so.jsx)(ep,{children:(0,so.jsx)($,{icon:"done"})})]})]})})})},Ug=Zt.default.li`
1681
+ padding: 0 0.5rem;
1682
+ box-shadow: inset 0 0 0 2px transparent;
1683
+ ${e=>e.visualFocused&&`box-shadow: inset 0 0 0 2px ${e.theme.focusListOptionBorderColor};`}
1684
+ ${e=>e.selected&&`background-color: ${e.theme.selectedListOptionBackgroundColor}`};
1685
+ cursor: pointer;
1686
+
1687
+ &:hover {
1688
+ ${e=>e.selected?`background-color: ${e.theme.selectedHoverListOptionBackgroundColor};`:`background-color: ${e.theme.unselectedHoverListOptionBackgroundColor};`};
1689
+ }
1690
+ &:active {
1691
+ ${e=>e.selected?`background-color: ${e.theme.selectedActiveListOptionBackgroundColor};`:`background-color: ${e.theme.unselectedActiveListOptionBackgroundColor};`};
1692
+ }
1693
+ `,Yg=Zt.default.span`
1694
+ box-sizing: border-box;
1695
+ display: flex;
1696
+ align-items: center;
1697
+ height: 32px;
1698
+ padding: 4px 8px 4px 0;
1699
+ ${e=>e.grouped&&e.multiple&&"padding-left: 16px;"}
1700
+ ${e=>e.last||e.visualFocused||e.selected?"border-bottom: 1px solid transparent":`border-bottom: 1px solid ${e.theme.listOptionDividerColor}`};
1701
+ `,Zg=Zt.default.span`
1702
+ margin-left: ${e=>e.grouped&&!e.multiple?"16px":"8px"};
1703
+ display: grid;
1704
+ place-items: center;
1705
+ color: ${e=>e.theme.listOptionIconColor};
1706
+ font-size: 24px;
1707
+ svg {
1708
+ height: 24px;
1709
+ width: 24px;
1710
+ }
1711
+ `,qg=Zt.default.span`
1712
+ margin-left: ${e=>e.grouped&&!e.multiple&&!e.hasIcon?"16px":"8px"};
1713
+ display: flex;
1714
+ justify-content: space-between;
1715
+ gap: 0.25rem;
1716
+ width: 100%;
1717
+ overflow: hidden;
1718
+ `,Qg=Zt.default.span`
1719
+ overflow: hidden;
1720
+ text-overflow: ellipsis;
1721
+ white-space: nowrap;
1722
+ `,ep=Zt.default.span`
1723
+ display: flex;
1724
+ align-items: center;
1725
+ color: ${e=>e.theme.selectedListOptionIconColor};
1726
+ font-size: 16px;
1727
+ `,In=Kg;var ii=(e,t,r)=>!r&&(t?e.length===0:e===""),ni=e=>"options"in e&&e.options!=null,qt=e=>ni(e[0]),pr=e=>qt(e)?e.some(t=>t.options?.length>0):!0,ya=(e,t)=>!t&&e?.length>0&&pr(e),Ca=(e,t)=>{if(e?.length>0)return qt(e)?e.map(r=>({label:r.label,options:r.options.filter(i=>i.label.toUpperCase().includes(t.toUpperCase()))})):e.filter(r=>r.label.toUpperCase().includes(t.toUpperCase()))},xa=(e,t,r,n,i)=>{let l=0,a=(c,d)=>c+d.options?.length;return r&&t?.length>0?qt(t)?l=t.reduce(a,0)-1:l=t.length-1:e?.length>0&&(qt(e)?l=e.reduce(a,0)-1:l=e.length-1),n&&!i?l+1:l},_a=(e,t,r,n,i)=>{let l=r?[]:{},a;if(r)t?.length>0&&t.forEach(c=>{ni(c)?c.options.forEach(d=>{e.includes(d.value)&&Array.isArray(l)&&l.push(d)}):e.includes(c.value)&&Array.isArray(l)&&l.push(c)});else if(n&&e==="")l=i,a=0;else if(t?.length>0){let c=0;t.some((d,s)=>{if(ni(d))d.options.some(m=>{if(m.value===e)return l=m,a=n?c+1:c,!0;c++});else if(d.value===e)return l=d,a=n?s+1:s,!0})}return{selectedOption:l,singleSelectionIndex:a}},li=(e,t)=>Array.isArray(t)?t.length===0?e:t.map(r=>r.label).join(", "):t?.label??e;var yo=require("react/jsx-runtime"),op=({id:e,currentValue:t,options:r,visualFocusIndex:n,lastOptionIndex:i,multiple:l,optional:a,optionalItem:c,searchable:d,handleOptionOnClick:s,styles:m})=>{let g=J(),u=(0,Rr.useRef)(null),h=a&&!l?0:-1,y=(f,_)=>{let x=`${e}-group-${_}`;return f.options?f.options.length>0&&(0,yo.jsx)("li",{children:(0,yo.jsxs)("ul",{role:"listbox","aria-labelledby":x,style:{padding:0},children:[(0,yo.jsx)(ip,{role:"presentation",id:x,children:f.label}),f.options.map(b=>(h++,(0,yo.jsx)(In,{id:`${e}-option-${h}`,option:b,onClick:s,multiple:l,visualFocused:n===h,isGroupedOption:!0,isLastOption:i===h,isSelected:l?t.includes(b.value):t===b.value},`${e}-option-${b.value}`)))]})},x):(h++,(0,yo.jsx)(In,{id:`${e}-option-${h}`,option:f,onClick:s,multiple:l,visualFocused:n===h,isLastOption:i===h,isSelected:l?t.includes(f.value):t===f.value},`${e}-option-${f.value}`))};(0,Rr.useLayoutEffect)(()=>{if(t&&!l){let f=u?.current,_=f?.querySelector("[aria-selected='true']");f?.scrollTo?.({top:_?.offsetTop-f?.clientHeight/2})}},[t,l]),(0,Rr.useLayoutEffect)(()=>{u?.current?.querySelectorAll("[role='option']")[n]?.scrollIntoView?.({block:"nearest",inline:"start"})},[n]);let v=r.some(f=>f.options?.length>0);return(0,yo.jsxs)(tp,{id:e,onClick:f=>{f.stopPropagation()},onMouseDown:f=>{f.preventDefault()},ref:u,"aria-multiselectable":v?void 0:l,style:m,role:v?"list":"listbox","aria-label":"List of options",children:[d&&(r.length===0||!pr(r))?(0,yo.jsxs)(rp,{children:[(0,yo.jsx)(np,{children:(0,yo.jsx)($,{icon:"search_off"})}),g.select.noMatchesErrorMessage]}):a&&!l&&(0,yo.jsx)(In,{id:`${e}-option-0`,option:c,onClick:s,multiple:l,visualFocused:n===0,isGroupedOption:!1,isLastOption:i===0,isSelected:l?t.includes(c.value):t===c.value},`${e}-option-${c.value}`),r.map(y)]})},tp=Hr.default.ul`
1728
+ box-sizing: border-box;
1729
+ max-height: 304px;
1730
+ overflow-y: auto;
1731
+ margin: 0;
1732
+ padding: 0.25rem 0;
1733
+ background-color: ${e=>e.theme.listDialogBackgroundColor};
1734
+ border: 1px solid ${e=>e.theme.listDialogBorderColor};
1735
+ border-radius: 0.25rem;
1736
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
1737
+ color: ${e=>e.theme.listOptionFontColor};
1738
+ font-family: ${e=>e.theme.fontFamily};
1739
+ font-size: ${e=>e.theme.listOptionFontSize};
1740
+ font-style: ${e=>e.theme.listOptionFontStyle};
1741
+ font-weight: ${e=>e.theme.listOptionFontWeight};
1742
+ line-height: 24px;
1743
+ cursor: default;
1744
+ `,rp=Hr.default.span`
1745
+ display: flex;
1746
+ padding: 4px 16px;
1747
+ color: ${e=>e.theme.systemMessageFontColor};
1748
+ font-size: 0.875rem;
1749
+ line-height: 1.715em;
1750
+ `,np=Hr.default.span`
1751
+ display: flex;
1752
+ flex-wrap: wrap;
1753
+ align-content: center;
1754
+ height: 16px;
1755
+ width: 16px;
1756
+ padding: 4px;
1757
+ margin-right: 0.25rem;
1758
+ font-size: 16px;
1759
+ `,ip=Hr.default.li`
1760
+ padding: 4px 16px;
1761
+ font-weight: ${e=>e.theme.listGroupLabelFontWeight};
1762
+ line-height: 1.715em;
1763
+ `,$a=op;var ie=require("react/jsx-runtime"),lp=(0,Te.forwardRef)(({label:e,name:t="",defaultValue:r,value:n,options:i,helperText:l,placeholder:a="",disabled:c=!1,multiple:d=!1,optional:s=!1,searchable:m=!1,onChange:g,onBlur:u,error:h,margin:y,size:v="medium",tabIndex:f=0},_)=>{let x=`select-${(0,Te.useId)()}`,b=`label-${x}`,D=`error-${x}`,P=`${x}-listbox`,[B,M]=(0,Te.useState)(r??(d?[]:"")),[H,w]=(0,Te.useState)(""),[S,z]=(0,Te.useState)(-1),[G,V]=(0,Te.useState)(!1),[q,W]=(0,Te.useState)(!1),A=(0,Te.useRef)(null),C=(0,Te.useRef)(null),I=lr(A.current),T=k(),L=J(),E={label:a,value:""},K=(0,Te.useMemo)(()=>Ca(i,H),[i,H]),fe=(0,Te.useMemo)(()=>xa(i,K,m,s,d),[i,K,m,s,d]),{selectedOption:N,singleSelectionIndex:Q}=(0,Te.useMemo)(()=>_a(n??B,i,d,s,E),[n,B,i,d,s,E]),R=()=>{!G&&ya(i,c)&&V(!0)},be=()=>{G&&(V(!1),z(-1))},ye=te=>{let re;d?(n??B).includes(te.value)?re=((n&&Array.isArray(n)&&n)??(B&&Array.isArray(B)&&B)).filter(et=>et!==te.value):re=[...(n&&Array.isArray(n)&&n)??(B&&Array.isArray(B)&&B),te.value]:re=te.value,n??M(re),ii(re,d,s)?g?.({value:re,error:L.formFields.requiredValueErrorMessage}):g?.({value:re})},Ce=()=>{m&&C.current.focus(),G?(be(),w("")):R()},O=te=>{te.currentTarget.contains(te.relatedTarget)||m&&C.current.focus()},Y=te=>{if(!te.currentTarget.contains(te.relatedTarget)){be(),w("");let re=n??B;ii(re,d,s)?u?.({value:re,error:L.formFields.requiredValueErrorMessage}):u?.({value:re})}},U=te=>{switch(te.key){case"Down":case"ArrowDown":te.preventDefault(),Q!==void 0&&(!G||S===-1&&Q>-1&&Q<=fe)?z(Q):z(re=>{if(re<fe)return re+1;if(re===fe)return 0}),R();break;case"Up":case"ArrowUp":te.preventDefault(),Q!==void 0&&(!G||S===-1&&Q>-1&&Q<=fe)?z(Q):z(re=>re===0||re===-1?fe:re-1),R();break;case"Esc":case"Escape":te.preventDefault(),G&&te.stopPropagation(),be(),w("");break;case"Enter":if(G&&S>=0){let re=s&&!d?1:0;m?K.length>0&&(s&&!d&&S===0&&pr(K)?ye(E):qt(K)?pr(K)&&K.some(et=>{let ot=re+et.options.length;return ot>S&&ye(et.options[S-re]),re=ot,ot>S}):ye(K[S-re])):s&&!d&&S===0?ye(E):qt(i)?i.some(et=>{let ot=re+et.options.length;return ot>S&&ye(et.options[S-re]),re=ot,ot>S}):ye(i[S-re]),!d&&be(),w("")}break}},Me=te=>{w(te.target.value),z(-1),R()},xe=te=>{te.stopPropagation(),n??M([]),g?.(s?{value:[]}:{value:[],error:L.formFields.requiredValueErrorMessage})},Xt=te=>{te.stopPropagation(),w("")},vr=(0,Te.useCallback)(te=>{ye(te),!d&&be(),w("")},[ye,be,d]),Zn=te=>{let re=te.currentTarget;W(re.scrollWidth>re.clientWidth)};return(0,ie.jsx)(ke.ThemeProvider,{theme:T.select,children:(0,ie.jsxs)(ap,{margin:y,size:v,ref:_,children:[e&&(0,ie.jsxs)(cp,{id:b,disabled:c,onClick:()=>{A.current.focus()},helperText:l,children:[e," ",s&&(0,ie.jsx)(dp,{children:L.formFields.optionalLabel})]}),l&&(0,ie.jsx)(sp,{disabled:c,children:l}),(0,ie.jsxs)(Pt.Root,{open:G,children:[(0,ie.jsx)(Pt.Trigger,{asChild:!0,type:void 0,children:(0,ie.jsxs)(mp,{id:x,disabled:c,error:h,onBlur:Y,onClick:Ce,onFocus:O,onKeyDown:U,ref:A,tabIndex:c?-1:f,role:"combobox","aria-controls":G?P:void 0,"aria-disabled":c,"aria-expanded":G,"aria-haspopup":"listbox","aria-labelledby":e?b:void 0,"aria-activedescendant":S>=0?`option-${S}`:void 0,"aria-invalid":!!h,"aria-errormessage":h?D:void 0,"aria-required":!c&&!s,children:[d&&Array.isArray(N)&&N.length>0&&(0,ie.jsxs)(gp,{children:[(0,ie.jsx)(pp,{disabled:c,children:N.length}),(0,ie.jsx)(ge,{label:L.select.actionClearSelectionTitle,children:(0,ie.jsx)(up,{disabled:c,onMouseDown:te=>{te.preventDefault()},onClick:xe,tabIndex:-1,"aria-label":L.select.actionClearSelectionTitle,children:(0,ie.jsx)($,{icon:"clear"})})})]}),(0,ie.jsx)(ir,{condition:q,label:li(a,N),children:(0,ie.jsxs)(hp,{children:[(0,ie.jsx)("input",{style:{display:"none"},name:t,disabled:c,value:d?((n&&Array.isArray(n)&&n)??(B&&Array.isArray(B)&&B)).join(","):n??B,readOnly:!0,"aria-hidden":"true"}),m&&(0,ie.jsx)(yp,{value:H,disabled:c,onChange:Me,ref:C,autoComplete:"nope",autoCorrect:"nope",size:1,"aria-labelledby":e?b:void 0}),(!m||H==="")&&(0,ie.jsx)(fp,{disabled:c,atBackground:(d?(n??B).length===0:!(n??B))||m&&G,children:(0,ie.jsx)(bp,{onMouseEnter:Zn,children:li(a,N)})})]})}),!c&&h&&(0,ie.jsx)(Cp,{children:(0,ie.jsx)($,{icon:"filled_error"})}),m&&H.length>0&&(0,ie.jsx)(ge,{label:L.select.actionClearSelectionTitle,children:(0,ie.jsx)($p,{onMouseDown:te=>{te.preventDefault()},onClick:Xt,tabIndex:-1,"aria-label":L.select.actionClearSearchTitle,children:(0,ie.jsx)($,{icon:"clear"})})}),(0,ie.jsx)(_p,{disabled:c,children:(0,ie.jsx)($,{icon:G?"keyboard_arrow_up":"keyboard_arrow_down"})})]})}),(0,ie.jsx)(Pt.Portal,{children:(0,ie.jsx)(Pt.Content,{sideOffset:4,style:{zIndex:"2147483647"},onOpenAutoFocus:te=>{te.preventDefault()},onCloseAutoFocus:te=>{te.preventDefault()},children:(0,ie.jsx)($a,{id:P,currentValue:n??B,options:m?K:i,visualFocusIndex:S,lastOptionIndex:fe,multiple:d,optional:s,optionalItem:E,searchable:m,handleOptionOnClick:vr,styles:{width:I}})})})]}),!c&&typeof h=="string"&&(0,ie.jsx)(xp,{id:D,role:"alert","aria-live":h?"assertive":"off",children:h})]})})}),va={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},Ta=(e,t)=>t==="fillParent"?`calc(${va[t]} - ${X(e,"left")} - ${X(e,"right")})`:va[t],ap=ke.default.div`
1764
+ box-sizing: border-box;
1765
+ display: flex;
1766
+ flex-direction: column;
1767
+ width: ${e=>Ta(e.margin,e.size)};
1768
+ ${e=>e.size!=="fillParent"&&"min-width:"+Ta(e.margin,e.size)};
1769
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1770
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1771
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1772
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1773
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1774
+ font-family: ${e=>e.theme.fontFamily};
1775
+ `,cp=ke.default.label`
1776
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.labelFontColor};
1777
+ font-size: ${e=>e.theme.labelFontSize};
1778
+ font-style: ${e=>e.theme.labelFontStyle};
1779
+ font-weight: ${e=>e.theme.labelFontWeight};
1780
+ line-height: ${e=>e.theme.labelLineHeight};
1781
+ cursor: default;
1782
+ ${e=>!e.helperText&&"margin-bottom: 0.25rem"}
1783
+ `,dp=ke.default.span`
1784
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
1785
+ `,sp=ke.default.span`
1786
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.helperTextFontColor};
1787
+ font-size: ${e=>e.theme.helperTextFontSize};
1788
+ font-style: ${e=>e.theme.helperTextFontStyle};
1789
+ font-weight: ${e=>e.theme.helperTextFontWeight};
1790
+ line-height: ${e=>e.theme.helperTextLineHeight};
1791
+ margin-bottom: 0.25rem;
1792
+ `,mp=ke.default.div`
1793
+ display: flex;
1794
+ position: relative;
1795
+ align-items: center;
1796
+ height: calc(2.5rem - 2px);
1797
+ padding: 0 0.5rem;
1798
+ outline: none;
1799
+ ${e=>e.disabled&&`background-color: ${e.theme.disabledInputBackgroundColor}`};
1800
+ box-shadow: 0 0 0 2px transparent;
1801
+ border-radius: 4px;
1802
+ border: 1px solid
1803
+ ${e=>e.disabled?e.theme.disabledInputBorderColor:e.theme.enabledInputBorderColor};
1804
+ ${e=>e.error&&!e.disabled&&`border-color: transparent;
1805
+ box-shadow: 0 0 0 2px ${e.theme.errorInputBorderColor};
1806
+ `}
1807
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: pointer;"};
1808
+
1809
+ ${e=>!e.disabled&&`
1810
+ &:hover {
1811
+ border-color: ${e.error?"transparent":e.theme.hoverInputBorderColor};
1812
+ ${e.error&&`box-shadow: 0 0 0 2px ${e.theme.hoverInputErrorBorderColor};`}
1813
+ }
1814
+ &:focus-within {
1815
+ border-color: transparent;
1816
+ box-shadow: 0 0 0 2px ${e.theme.focusInputBorderColor};
1817
+ }
1818
+ `};
1819
+ `,gp=ke.default.div`
1820
+ box-sizing: border-box;
1821
+ display: grid;
1822
+ grid-template-columns: 1fr 1fr;
1823
+ min-width: 48px;
1824
+ min-height: 24px;
1825
+ border-radius: 2px;
1826
+ border: 1px solid ${e=>e.theme.selectionIndicatorBorderColor};
1827
+ `,pp=ke.default.span`
1828
+ display: grid;
1829
+ place-items: center;
1830
+ border-right: 1px solid ${e=>e.theme.selectionIndicatorBorderColor};
1831
+ user-select: none;
1832
+ ${e=>!e.disabled&&`background-color: ${e.theme.selectionIndicatorBackgroundColor}`};
1833
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.selectionIndicatorFontColor};
1834
+ font-size: ${e=>e.theme.selectionIndicatorFontSize};
1835
+ font-style: ${e=>e.theme.selectionIndicatorFontStyle};
1836
+ font-weight: ${e=>e.theme.selectionIndicatorFontWeight};
1837
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: default;"}
1838
+ `,up=ke.default.button`
1839
+ display: grid;
1840
+ place-items: center;
1841
+ border: none;
1842
+ padding: 0;
1843
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: pointer;"}
1844
+ background-color: ${e=>e.disabled?"transparent":e.theme.enabledSelectionIndicatorActionBackgroundColor};
1845
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.enabledSelectionIndicatorActionIconColor};
1846
+ font-size: 16px;
1847
+ width: 100%;
1848
+
1849
+ :focus-visible {
1850
+ outline: none;
1851
+ }
1852
+ ${e=>!e.disabled&&`
1853
+ &:hover {
1854
+ background-color: ${e.theme.hoverSelectionIndicatorActionBackgroundColor};
1855
+ color: ${e.theme.hoverSelectionIndicatorActionIconColor};
1856
+ }
1857
+ &:active {
1858
+ background-color: ${e.theme.activeSelectionIndicatorActionBackgroundColor};
1859
+ color: ${e.theme.activeSelectionIndicatorActionIconColor};
1860
+ }
1861
+ `}
1862
+ `,hp=ke.default.div`
1863
+ display: grid;
1864
+ width: 100%;
1865
+ `,fp=ke.default.span`
1866
+ grid-area: 1 / 1 / 1 / 1;
1867
+ display: inline-flex;
1868
+ align-items: center;
1869
+ height: calc(2.5rem - 2px);
1870
+ padding: 0 0.5rem;
1871
+ user-select: none;
1872
+ overflow: hidden;
1873
+
1874
+ color: ${e=>e.disabled?e.theme.disabledColor:e.atBackground?e.theme.placeholderFontColor:e.theme.valueFontColor};
1875
+ font-size: ${e=>e.theme.valueFontSize};
1876
+ font-style: ${e=>e.theme.valueFontStyle};
1877
+ font-weight: ${e=>e.theme.valueFontWeight};
1878
+ `,bp=ke.default.span`
1879
+ overflow: hidden;
1880
+ text-overflow: ellipsis;
1881
+ white-space: nowrap;
1882
+ `,yp=ke.default.input`
1883
+ grid-area: 1 / 1 / 1 / 1;
1884
+ height: calc(2.5rem - 2px);
1885
+ background: none;
1886
+ border: none;
1887
+ outline: none;
1888
+ padding: 0 0.5rem;
1889
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.valueFontColor};
1890
+ font-size: ${e=>e.theme.valueFontSize};
1891
+ font-style: ${e=>e.theme.valueFontStyle};
1892
+ font-weight: ${e=>e.theme.valueFontWeight};
1893
+ line-height: 1.5em;
1894
+ `,Cp=ke.default.span`
1895
+ display: flex;
1896
+ flex-wrap: wrap;
1897
+ align-content: center;
1898
+ padding: 3px;
1899
+ height: 18px;
1900
+ width: 18px;
1901
+ margin-left: 0.25rem;
1902
+ color: ${e=>e.theme.errorIconColor};
1903
+ font-size: 1.25rem;
1904
+ `,xp=ke.default.span`
1905
+ min-height: 1.5em;
1906
+ color: ${e=>e.theme.errorMessageColor};
1907
+ font-size: 0.75rem;
1908
+ line-height: 1.5em;
1909
+ margin-top: 0.25rem;
1910
+ `,_p=ke.default.span`
1911
+ display: grid;
1912
+ place-items: center;
1913
+ padding: 4px;
1914
+ font-size: 16px;
1915
+ margin-left: 0.25rem;
1916
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.collapseIndicatorColor};
1917
+ `,$p=ke.default.button`
1918
+ display: grid;
1919
+ place-items: center;
1920
+ min-height: 24px;
1921
+ min-width: 24px;
1922
+ margin-left: 0.25rem;
1923
+ border: none;
1924
+ border-radius: 2px;
1925
+ padding: 0;
1926
+ background-color: ${e=>e.theme.actionBackgroundColor};
1927
+ color: ${e=>e.theme.actionIconColor};
1928
+ font-size: 1rem;
1929
+ cursor: pointer;
1930
+
1931
+ &:hover {
1932
+ background-color: ${e=>e.theme.hoverActionBackgroundColor};
1933
+ color: ${e=>e.theme.hoverActionIconColor};
1934
+ }
1935
+ &:active {
1936
+ background-color: ${e=>e.theme.activeActionBackgroundColor};
1937
+ color: ${e=>e.theme.activeActionIconColor};
1938
+ }
1939
+ `,Mr=lp;var Fe=require("react/jsx-runtime"),vp=({currentPage:e=1,itemsPerPage:t=5,itemsPerPageOptions:r,totalItems:n=1,showGoToPage:i,onPageChange:l,itemsPerPageFunction:a,tabIndex:c=0})=>{let d=t>0&&Math.ceil(n/t),s=e===-1?d:e,m=s===1||s===0?s:(s-1)*t+1,g=m-1+t>n?n:m-1+t,u=k(),h=J();return(0,Fe.jsx)(ko.ThemeProvider,{theme:u.paginator,children:(0,Fe.jsx)(Tp,{children:(0,Fe.jsxs)(Ip,{children:[r&&(0,Fe.jsxs)(kp,{children:[(0,Fe.jsx)(Fp,{children:h.paginator.itemsPerPageText}),(0,Fe.jsx)(ka,{children:(0,Fe.jsx)(Mr,{options:r.map(y=>({label:y.toString(),value:y.toString()})),onChange:y=>{a(Number(y.value))},value:t.toString(),size:"fillParent",tabIndex:c})})]}),(0,Fe.jsx)(Sp,{children:h.paginator.minToMaxOfText(m,g,n)}),l&&(0,Fe.jsx)(bo,{mode:"secondary",disabled:s===1||s===0,icon:"first_page",tabIndex:c,onClick:()=>{l(1)},title:"First results"}),l&&(0,Fe.jsx)(bo,{mode:"secondary",disabled:s===1||s===0,icon:"navigate_before",tabIndex:c,onClick:()=>{l(e-1)},title:"Previous results"}),i?(0,Fe.jsxs)(Bp,{children:[(0,Fe.jsxs)(wp,{children:[h.paginator.goToPageText," "]}),(0,Fe.jsx)(ka,{children:(0,Fe.jsx)(Mr,{options:Array.from(Array(d),(y,v)=>({label:(v+1).toString(),value:(v+1).toString()})),onChange:y=>{l(Number(y.value))},value:e.toString(),size:"fillParent",tabIndex:c})})]}):(0,Fe.jsx)("span",{children:h.paginator.pageOfText(s,d)}),l&&(0,Fe.jsx)(bo,{mode:"secondary",disabled:s===d,icon:"navigate_next",tabIndex:c,onClick:()=>{l(e+1)},title:"Next results"}),l&&(0,Fe.jsx)(bo,{mode:"secondary",disabled:s===d,icon:"last_page",tabIndex:c,onClick:()=>{l(d)},title:"Last results"})]})})})},Tp=ko.default.div`
1940
+ display: flex;
1941
+ font-family: ${e=>e.theme.fontFamily};
1942
+ font-size: ${e=>e.theme.fontSize};
1943
+ font-weight: ${e=>e.theme.fontWeight};
1944
+ font-style: ${e=>e.theme.fontStyle};
1945
+ text-transform: ${e=>e.theme.fontTextTransform};
1946
+ background-color: ${e=>e.theme.backgroundColor};
1947
+ color: ${e=>e.theme.fontColor};
1948
+ padding: ${e=>e.theme.verticalPadding} ${e=>e.theme.horizontalPadding};
1949
+
1950
+ button {
1951
+ &:disabled {
1952
+ background-color: transparent !important;
1953
+ opacity: 0.3 !important;
1954
+ }
1955
+ }
1956
+ `,ka=ko.default.div`
1957
+ min-width: 5.25rem;
1958
+ `,kp=ko.default.span`
1959
+ display: flex;
1960
+ align-items: center;
1961
+ margin-right: ${e=>e.theme.itemsPerPageSelectorMarginRight};
1962
+ margin-left: ${e=>e.theme.itemsPerPageSelectorMarginLeft};
1963
+ `,Fp=ko.default.span`
1964
+ margin-right: 0.5rem;
1965
+ `,wp=ko.default.span`
1966
+ margin-right: 0.5rem;
1967
+ margin-left: 0.5rem;
1968
+ `,Sp=ko.default.span`
1969
+ margin-right: ${e=>e.theme.totalItemsContainerMarginRight};
1970
+ margin-left: ${e=>e.theme.totalItemsContainerMarginLeft};
1971
+ `,Ip=ko.default.div`
1972
+ display: flex;
1973
+ gap: 0.5rem;
1974
+ width: 100%;
1975
+ justify-content: flex-end;
1976
+ align-items: center;
1977
+ `,Bp=ko.default.span`
1978
+ display: flex;
1979
+ align-items: center;
1980
+ margin-right: 0.5rem;
1981
+ `,ur=vp;var Er=F(require("styled-components"));var Fa={dropdown:{buttonIconSize:"16px",buttonPaddingTop:"4px",buttonPaddingBottom:"4px",buttonPaddingLeft:"4px",buttonPaddingRight:"4px",buttonHeight:"24px",buttonBorderRadius:"2px",buttonBorderStyle:"none",buttonBorderThickness:"0px",buttonBorderColor:"transparent",optionFontSize:"14px",optionPaddingTop:"0px",optionPaddingBottom:"0px",optionPaddingLeft:"16px",optionPaddingRight:"16px",buttonBackgroundColor:ee.table.actionBackgroundColor,hoverButtonBackgroundColor:ee.table.hoverActionBackgroundColor,activeButtonBackgroundColor:ee.table.activeActionBackgroundColor,buttonIconColor:ee.table.actionIconColor,disabledColor:ee.table.disabledActionIconColor,disabledButtonBackgroundColor:ee.table.disabledActionBackgroundColor,focusColor:ee.table.focusActionBorderColor,buttonFontFamily:ee.dropdown.buttonFontFamily,buttonFontSize:ee.dropdown.buttonFontSize,buttonFontStyle:ee.dropdown.buttonFontStyle,buttonFontWeight:ee.dropdown.buttonFontWeight,buttonFontColor:ee.dropdown.buttonFontColor,buttonIconSpacing:ee.dropdown.buttonIconSpacing,disabledButtonBorderColor:ee.dropdown.disabledButtonBorderColor,optionBackgroundColor:ee.dropdown.optionBackgroundColor,hoverOptionBackgroundColor:ee.dropdown.hoverOptionBackgroundColor,activeOptionBackgroundColor:ee.dropdown.activeOptionBackgroundColor,optionFontFamily:ee.dropdown.optionFontFamily,optionFontStyle:ee.dropdown.optionFontStyle,optionFontWeight:ee.dropdown.optionFontWeight,optionFontColor:ee.dropdown.optionFontColor,optionIconSize:ee.dropdown.optionIconSize,optionIconSpacing:ee.dropdown.optionIconSpacing,optionIconColor:ee.dropdown.optionIconColor,caretIconSize:ee.dropdown.caretIconSize,caretIconColor:ee.dropdown.caretIconColor,caretIconSpacing:ee.dropdown.caretIconSpacing,borderRadius:ee.dropdown.borderRadius,borderStyle:ee.dropdown.borderStyle,borderThickness:ee.dropdown.borderThickness,borderColor:ee.dropdown.borderColor,scrollBarThumbColor:ee.dropdown.scrollBarThumbColor,scrollBarTrackColor:ee.dropdown.scrollBarTrackColor}};var lt=require("react/jsx-runtime"),Pp=e=>{let t=Fa;return t.dropdown.buttonBackgroundColor=e.table.actionBackgroundColor,t.dropdown.hoverButtonBackgroundColor=e.table.hoverActionBackgroundColor,t.dropdown.activeButtonBackgroundColor=e.table.activeActionBackgroundColor,t.dropdown.buttonIconColor=e.table.actionIconColor,t.dropdown.disabledColor=e.table.disabledActionIconColor,t.dropdown.disabledButtonBackgroundColor=e.table.disabledActionBackgroundColor,t},Wr=({actions:e})=>{let t=e.filter(l=>!l.options),r=e.find(l=>l.options),n=r?2:3,i=k();return(0,lt.jsxs)(ne,{gap:"0.5rem",alignItems:"center",children:[t.map((l,a)=>a<n&&(0,lt.jsx)(co,{icon:l.icon,title:l.title,onClick:l.onClick,disabled:l.disabled??!1,tabIndex:l.tabIndex??0},`action-${a}`)),r&&(0,lt.jsx)(Ho,{advancedTheme:Pp(i),children:(0,lt.jsx)(xt,{options:r.options,onSelectOption:r.onClick,disabled:r.disabled,icon:"more_vert",tabIndex:r.tabIndex,caretHidden:!0})},"provider-dropdown")]})},wa=({children:e,margin:t,mode:r="default"})=>{let n=k();return(0,lt.jsx)(Er.ThemeProvider,{theme:n.table,children:(0,lt.jsx)(Dp,{margin:t,children:(0,lt.jsx)(zp,{mode:r,children:e})})})},Lp=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,Dp=Er.default.div`
1982
+ width: ${e=>Lp(e.margin)};
1983
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1984
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1985
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1986
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1987
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1988
+
1989
+ overflow: auto;
1990
+ &::-webkit-scrollbar {
1991
+ width: 8px;
1992
+ height: 8px;
1993
+ }
1994
+ &::-webkit-scrollbar-thumb {
1995
+ background-color: ${e=>e.theme.scrollBarThumbColor};
1996
+ border-radius: 6px;
1997
+ }
1998
+ &::-webkit-scrollbar-track {
1999
+ background-color: ${e=>e.theme.scrollBarTrackColor};
2000
+ border-radius: 6px;
2001
+ }
2002
+ `,zp=Er.default.table`
2003
+ border-collapse: collapse;
2004
+ width: 100%;
2005
+
2006
+ & tr {
2007
+ border-bottom: ${e=>`${e.theme.rowSeparatorThickness} ${e.theme.rowSeparatorStyle} ${e.theme.rowSeparatorColor}`};
2008
+ height: ${e=>e.mode==="default"?"60px":"36px"};
2009
+ }
2010
+ & td {
2011
+ background-color: ${e=>e.theme.dataBackgroundColor};
2012
+ font-family: ${e=>e.theme.dataFontFamily};
2013
+ font-size: ${e=>e.theme.dataFontSize};
2014
+ font-style: ${e=>e.theme.dataFontStyle};
2015
+ font-weight: ${e=>e.theme.dataFontWeight};
2016
+ color: ${e=>e.theme.dataFontColor};
2017
+ text-transform: ${e=>e.theme.dataFontTextTransform};
2018
+ text-align: ${e=>e.theme.dataTextAlign};
2019
+ line-height: ${e=>e.theme.dataTextLineHeight};
2020
+ padding: ${e=>e.mode==="default"?`${e.theme.dataPaddingTop} ${e.theme.dataPaddingRight} ${e.theme.dataPaddingBottom} ${e.theme.dataPaddingLeft}`:`${e.theme.dataPaddingTopReduced} ${e.theme.dataPaddingRightReduced} ${e.theme.dataPaddingBottomReduced} ${e.theme.dataPaddingLeftReduced}`};
2021
+ }
2022
+ & th {
2023
+ background-color: ${e=>e.theme.headerBackgroundColor};
2024
+ font-family: ${e=>e.theme.headerFontFamily};
2025
+ font-size: ${e=>e.theme.headerFontSize};
2026
+ font-style: ${e=>e.theme.headerFontStyle};
2027
+ font-weight: ${e=>e.theme.headerFontWeight};
2028
+ color: ${e=>e.theme.headerFontColor};
2029
+ text-transform: ${e=>e.theme.headerFontTextTransform};
2030
+ text-align: ${e=>e.theme.headerTextAlign};
2031
+ line-height: ${e=>e.theme.headerTextLineHeight};
2032
+ padding: ${e=>e.mode==="default"?`${e.theme.headerPaddingTop} ${e.theme.headerPaddingRight} ${e.theme.headerPaddingBottom} ${e.theme.headerPaddingLeft}`:`${e.theme.headerPaddingTopReduced} ${e.theme.headerPaddingRightReduced} ${e.theme.headerPaddingBottomReduced} ${e.theme.headerPaddingLeftReduced}`};
2033
+ }
2034
+ & th:first-child {
2035
+ border-top-left-radius: ${e=>e.theme.headerBorderRadius};
2036
+ padding-left: ${e=>e.mode==="default"?e.theme.firstChildPaddingLeft:e.theme.firstChildPaddingLeftReduced};
2037
+ }
2038
+ & th:last-child {
2039
+ border-top-right-radius: ${e=>e.theme.headerBorderRadius};
2040
+ padding-right: ${e=>e.mode==="default"?e.theme.lastChildPaddingRight:e.theme.lastChildPaddingRightReduced};
2041
+ }
2042
+ & td:first-child {
2043
+ padding-left: ${e=>e.mode==="default"?e.theme.firstChildPaddingLeft:e.theme.firstChildPaddingLeftReduced};
2044
+ }
2045
+ & td:last-child {
2046
+ padding-right: ${e=>e.mode==="default"?e.theme.lastChildPaddingRight:e.theme.lastChildPaddingRightReduced};
2047
+ }
2048
+ `;wa.ActionsCell=Wr;var Bn=wa;var qe=require("react/jsx-runtime"),Ba=({columns:e,rows:t,selectable:r,expandable:n,onSelectRows:i,selectedRows:l,uniqueRowId:a,summaryRow:c,onGridRowsChange:d,showPaginator:s=!1,showGoToPage:m=!0,itemsPerPage:g=5,itemsPerPageOptions:u,itemsPerPageFunction:h,onSort:y,onPageChange:v,totalItems:f})=>{let[_,x]=(0,Ve.useState)(t),b=k(),[D,P]=(0,Ve.useState)(1),B=L=>{v&&v(L),P(L)},M=L=>{if(y)if(L[0]){let{columnKey:E,direction:K}=L[0];y({columnKey:E,direction:K})}else y();G(L)},H=(0,Ve.useMemo)(()=>{let L=e.map(E=>na(E,c));if(n&&(L=[{key:"expanded",name:"",maxWidth:36,width:36,minWidth:36,colSpan(E){return E.type==="ROW"&&E.row.isExpandedChildContent?e.length+1:void 0},renderCell({row:E}){return E.isExpandedChildContent?E.expandedChildContent||(0,qe.jsx)(qe.Fragment,{}):(0,qe.jsx)(ai,{id:"action",children:E.expandedContent&&la(E,_,a,x)})}},...L]),!n&&t.some(E=>Array.isArray(E.childRows)&&E.childRows.length>0)&&a){let E=L[0].key;L[0]={...L[0],renderCell({row:K}){return K.childRows?.length?(0,qe.jsx)(Sa,{level:typeof K.rowLevel=="number"?K.rowLevel:0,children:aa(_,K,a,E,x)}):(0,qe.jsx)(Sa,{level:typeof K.rowLevel=="number"?K.rowLevel:0,className:"ellipsis-cell",children:K[E]})}}}return r&&(L=[{key:"selected",name:"",maxWidth:36,width:36,minWidth:36,renderCell({row:E}){if(!E.isExpandedChildContent)return(0,qe.jsx)(ai,{id:"action",children:ca(t,E,a,l,i)})},renderHeaderCell:()=>(0,qe.jsx)(ai,{id:"action",children:da(t,a,l,b,i)})},...L]),L},[r,n,e,_,i,t,c,a,l]),[w,S]=(0,Ve.useState)(()=>H.map((L,E)=>E)),[z,G]=(0,Ve.useState)([]);(0,Ve.useEffect)(()=>{S(Array.from({length:H.length},(L,E)=>E))},[H.length]),(0,Ve.useEffect)(()=>{x(t)},[t]);let V=(0,Ve.useMemo)(()=>w.map(L=>H[L]),[w,H]),q=(L,E)=>{S(K=>{let fe=K.findIndex(R=>H[R].key===L),N=K.findIndex(R=>H[R].key===E),Q=K.slice();return Q.splice(fe,1),Q.splice(N,0,K[fe]),Q})},W=L=>{typeof d=="function"&&d(L)},A=(0,Ve.useMemo)(()=>{let L=sa(e);if(!y){if(n&&z.length>0){let E=Fn(_.filter(K=>!K.isExpandedChildContent),z,L);return _.filter(K=>K.isExpandedChildContent).map(K=>Sn(E,E.findIndex(fe=>_e(fe,a)===K.triggerRowKey)+1,K)),E}else if(!n&&z.length>0&&a)return ma(_,z,L,a)}return _},[n,_,z,a]),C=(0,Ve.useMemo)(()=>ua(D,g,D),[g,D]),I=(0,Ve.useMemo)(()=>ha(C,g,t,D),[g,C,D,t]),T=(0,Ve.useMemo)(()=>(y&&z?.length>0&&y?.(z?.[0]),!s||v?A:fa(A,a,C,I+1)),[A,C,I]);return(0,qe.jsx)(hr.ThemeProvider,{theme:b.dataGrid,children:(0,qe.jsxs)(Ap,{children:[(0,qe.jsx)(Ia.default,{columns:V,rows:T,onColumnsReorder:q,onRowsChange:W,renderers:{renderSortStatus:ia},sortColumns:z,onSortColumnsChange:M,rowKeyGetter:L=>a&&_e(L,a),rowHeight:L=>L.isExpandedChildContent&&typeof L.expandedContentHeight=="number"&&L.expandedContentHeight>0?L.expandedContentHeight:b.dataGrid.dataRowHeight,selectedRows:l,bottomSummaryRows:c?[c]:void 0,headerRowHeight:b.dataGrid.headerRowHeight,summaryRowHeight:b.dataGrid.summaryRowHeight,className:"fill-grid"}),s&&(0,qe.jsx)(ur,{totalItems:f??t.length,itemsPerPage:g,itemsPerPageOptions:u,itemsPerPageFunction:h,currentPage:D,showGoToPage:m,onPageChange:B})]})})},ai=hr.default.div`
2049
+ display: flex;
2050
+ height: 100%;
2051
+ align-items: center;
2052
+ justify-content: center;
2053
+ font-size: 14px;
2054
+ width: 100%;
2055
+ `,Sa=hr.default.div`
2056
+ padding-left: ${e=>`calc(${e.theme.dataPaddingLeft} * ${e.level})`};
2057
+ button {
2058
+ display: grid;
2059
+ grid-template-columns: auto 1fr;
2060
+ align-items: center;
2061
+ gap: 0.5rem;
2062
+ padding: 0px;
2063
+ border: 0px;
2064
+ width: 100%;
2065
+ height: ${e=>e.theme.dataRowHeight}px;
2066
+ background: transparent;
2067
+ text-align: left;
2068
+ font-size: ${e=>e.theme.dataFontSize};
2069
+ font-family: inherit;
2070
+ color: inherit;
2071
+ cursor: pointer;
2072
+ }
2073
+ `,Ap=hr.default.div`
2074
+ width: 100%;
2075
+ height: 100%;
2076
+ .rdg {
2077
+ border-radius: 4px;
2078
+ height: 100%;
2079
+ border: 0px;
2080
+ &::-webkit-scrollbar {
2081
+ width: 8px;
2082
+ height: 8px;
2083
+ }
2084
+ &::-webkit-scrollbar-thumb {
2085
+ background-color: ${e=>e.theme.scrollBarThumbColor};
2086
+ border-radius: 6px;
2087
+ }
2088
+ &::-webkit-scrollbar-track {
2089
+ background-color: ${e=>e.theme.scrollBarTrackColor};
2090
+ border-radius: 6px;
2091
+ }
2092
+ }
2093
+ .rdg-cell:has(> #action) {
2094
+ padding: 0px;
2095
+ }
2096
+ .rdg-cell {
2097
+ display: grid;
2098
+ align-items: center;
2099
+ width: 100%;
2100
+ padding: 0px ${e=>e.theme.dataPaddingRight} 0 ${e=>e.theme.dataPaddingLeft};
2101
+ font-family: ${e=>e.theme.dataFontFamily};
2102
+ font-size: ${e=>e.theme.dataFontSize};
2103
+ font-style: ${e=>e.theme.dataFontStyle};
2104
+ font-weight: ${e=>e.theme.dataFontWeight};
2105
+ color: ${e=>e.theme.dataFontColor};
2106
+ text-transform: ${e=>e.theme.dataFontTextTransform};
2107
+ line-height: ${e=>e.theme.dataTextLineHeight};
2108
+ border-bottom: ${e=>`${e.theme.rowSeparatorThickness} ${e.theme.rowSeparatorStyle} ${e.theme.rowSeparatorColor}`};
2109
+ border-right: ${e=>`${e.theme.rowSeparatorThickness} ${e.theme.rowSeparatorStyle} ${e.theme.rowSeparatorColor}`};
2110
+ background-color: ${e=>e.theme.dataBackgroundColor};
2111
+ outline-color: ${e=>e.theme.focusColor} !important;
2112
+ .rdg-text-editor:focus {
2113
+ border-color: transparent;
2114
+ }
2115
+ }
2116
+ .rdg-header-row {
2117
+ border-top-left-radius: ${e=>e.theme.headerBorderRadius};
2118
+ border-top-right-radius: ${e=>e.theme.headerBorderRadius};
2119
+ .rdg-cell {
2120
+ font-family: ${e=>e.theme.headerFontFamily};
2121
+ font-size: ${e=>e.theme.headerFontSize};
2122
+ font-style: ${e=>e.theme.headerFontStyle};
2123
+ font-weight: ${e=>e.theme.headerFontWeight};
2124
+ color: ${e=>e.theme.headerFontColor};
2125
+ text-transform: ${e=>e.theme.headerFontTextTransform};
2126
+ padding: 0px ${e=>e.theme.headerPaddingRight} 0 ${e=>e.theme.headerPaddingLeft};
2127
+ line-height: ${e=>e.theme.headerTextLineHeight};
2128
+ background-color: ${e=>e.theme.headerBackgroundColor};
2129
+ .sortIconContainer {
2130
+ margin-left: 0.5rem;
2131
+ display: flex;
2132
+ height: 100%;
2133
+ align-items: center;
2134
+ }
2135
+ }
2136
+ }
2137
+ .rdg-row {
2138
+ .rdg-cell:last-child {
2139
+ border-right: 0px;
2140
+ }
2141
+ }
2142
+ .rdg-summary-row {
2143
+ background-color: #fafafa;
2144
+ .rdg-cell {
2145
+ border: 0px;
2146
+ font-weight: 600;
2147
+ }
2148
+ }
2149
+ .ellipsis-cell {
2150
+ text-overflow: ellipsis;
2151
+ overflow: hidden;
2152
+ white-space: nowrap;
2153
+ width: 100%;
2154
+ height: 100%;
2155
+ display: flex;
2156
+ align-items: center;
2157
+ }
2158
+ .align-left {
2159
+ text-align: left;
2160
+ justify-content: flex-start;
2161
+ }
2162
+ .align-center {
2163
+ text-align: center;
2164
+ justify-content: center;
2165
+ }
2166
+ .align-right {
2167
+ text-align: right;
2168
+ justify-content: flex-end;
2169
+ }
2170
+ .header-align-left {
2171
+ text-align: left;
2172
+ }
2173
+ .header-align-center {
2174
+ text-align: center;
2175
+ }
2176
+ .header-align-right {
2177
+ text-align: right;
2178
+ }
2179
+ `;Ba.ActionsCell=Wr;var Pa=Ba;var Se=require("react"),fi=F(require("dayjs")),Rt=F(require("styled-components"));var Ha=require("react"),pi=F(require("dayjs")),mi=require("react"),fr=F(require("styled-components"));var Co=require("react"),Qt=F(require("styled-components"));var Lt=require("react/jsx-runtime"),Rp=e=>{let t=[],r=e.set("month",e.get("month")-1).endOf("month"),n=e.startOf("month").day()===0?6:e.startOf("month").day()-1,i=n+e.daysInMonth();for(let l=0;l<42;l++)l<n?t.push({day:r.get("date")-n+l+1,month:e.get("month")?e.get("month")-1:11,year:e.set("month",e.get("month")-1).get("year")}):l<i?t.push({day:l-n+1,month:e.get("month"),year:e.get("year")}):t.push({day:l-i+1,month:e.get("month")===11?0:e.get("month")+1,year:e.set("month",e.get("month")+1).get("year")});return t},ci=(e,t,r)=>e?.get("month")===t.get("month")&&e?.get("year")===t.get("year")?e:r.get("month")===t.get("month")&&r.get("year")===t.get("year")?r:t.set("date",1),La=(e,t)=>t?.get("month")===e.month&&t?.get("year")===e.year&&t?.get("date")===e.day,Hp=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(r,n)=>e.slice(n*t,(n+1)*t)),Mp=({selectedDate:e,innerDate:t,onInnerDateChange:r,onDaySelect:n,today:i})=>{let l=(0,Co.useId)(),[a,c]=(0,Co.useState)(ci(e,t,i)),[d,s]=(0,Co.useState)(!1),m=(0,Co.useMemo)(()=>Rp(t),[t]),u=J().calendar.daysShort,h=_=>{let x=t.set("month",_.month).set("date",_.day);n(x),c(x)},y=_=>{_?.currentTarget.contains(_.relatedTarget)||c(ci(e,t,i))},v=_=>{(t.get("month")!==_.get("month")||t.get("year")!==_.get("year"))&&r(_),c(_),s(!0)};(0,Co.useEffect)(()=>{d&&(document.getElementById(`${l}_day_${a.get("date")}_month${a.get("month")}`)?.focus(),s(!1))},[a,d]),(0,Co.useEffect)(()=>{(a.get("month")!==t.get("month")||a.get("year")!==t.get("year"))&&c(ci(e,t,i))},[t,a,e,i]);let f=(_,x)=>{let b=x.month===t.get("month")?t.set("date",x.day):t.set("date",x.day).set("month",x.month);switch(_.key){case"PageUp":_.preventDefault(),_.shiftKey?b=b.set("year",b.get("year")-1):b=b.set("month",b.get("month")-1),v(b);break;case"PageDown":_.preventDefault(),_.shiftKey?b=b.set("year",b.get("year")+1):b=b.set("month",b.get("month")+1),v(b);break;case"ArrowLeft":_.preventDefault(),b=b.set("date",b.get("date")-1),v(b);break;case"ArrowRight":_.preventDefault(),b=b.set("date",b.get("date")+1),v(b);break;case"ArrowUp":_.preventDefault(),b=b.set("date",b.get("date")-7),v(b);break;case"ArrowDown":_.preventDefault(),b=b.set("date",b.get("date")+7),v(b);break;case"Home":_.preventDefault(),a.get("day")!==0?b=b.day(1):b=t.date(x.day-1).day(1),v(b);break;case"End":_.preventDefault(),b.get("day")!==0&&(b=b.day(7)),v(b);break;case" ":_.preventDefault(),n(b);break}};return(0,Lt.jsxs)(Ep,{role:"grid",children:[(0,Lt.jsx)(Wp,{role:"row",children:u.map(_=>(0,Lt.jsx)(Op,{role:"columnheader",children:_},_))}),(0,Lt.jsx)(Gp,{onBlur:y,role:"rowgroup",children:Hp(m,u.length).map((_,x)=>(0,Lt.jsx)(Np,{role:"row",children:_.map(b=>(0,Lt.jsx)(Vp,{id:`${l}_day_${b.day}_month${b.month}`,role:"gridcell","aria-selected":La(b,e),onKeyDown:D=>f(D,b),onClick:()=>h(b),selected:La(b,e),actualMonth:b.month===t.get("month"),autoFocus:b.day===a.get("date")&&b.month===a.get("month"),tabIndex:b.day===a.get("date")&&b.month===a.get("month")?0:-1,isCurrentDay:i.get("date")===b.day&&i.get("month")===t.get("month")&&i.get("month")===b.month&&i.get("year")===t.get("year"),children:b.day}))},`${l}_week_${x}`))})]})},Ep=Qt.default.div`
2180
+ box-sizing: border-box;
2181
+ display: flex;
2182
+ flex-direction: column;
2183
+ justify-content: center;
2184
+ padding: 0px 8px 8px 8px;
2185
+ width: 292px;
2186
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2187
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2188
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2189
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2190
+ `,Wp=Qt.default.div`
2191
+ display: flex;
2192
+ flex-direction: row;
2193
+ flex-wrap: nowrap;
2194
+ justify-content: space-between;
2195
+ align-items: center;
2196
+ `,Op=Qt.default.span`
2197
+ display: flex;
2198
+ align-items: center;
2199
+ justify-content: center;
2200
+ width: 36px;
2201
+ height: 36px;
2202
+ `,Gp=Qt.default.div`
2203
+ box-sizing: border-box;
2204
+ display: flex;
2205
+ gap: 4px;
2206
+ flex-direction: column;
2207
+ justify-content: space-between;
2208
+ `,Np=Qt.default.div`
2209
+ box-sizing: border-box;
2210
+ display: flex;
2211
+ gap: 4px;
2212
+ justify-content: space-between;
2213
+ `,Vp=Qt.default.button`
2214
+ display: inline-flex;
2215
+ justify-content: center;
2216
+ align-items: center;
2217
+ width: 36px;
2218
+ height: 36px;
2219
+ padding: 0;
2220
+ border: none;
2221
+ border-radius: 50%;
2222
+ cursor: pointer;
2223
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2224
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2225
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2226
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2227
+
2228
+ &:focus {
2229
+ outline: ${e=>e.theme.dateInput.pickerFocusColor} solid 2px;
2230
+ }
2231
+ &:hover {
2232
+ background-color: ${e=>e.selected?e.theme.dateInput.pickerSelectedBackgroundColor:e.theme.dateInput.pickerHoverBackgroundColor};
2233
+ color: ${e=>e.selected?e.theme.dateInput.pickerSelectedFontColor:e.theme.dateInput.pickerHoverFontColor};
2234
+ }
2235
+ &:active {
2236
+ background-color: ${e=>e.theme.dateInput.pickerActiveBackgroundColor};
2237
+ color: ${e=>e.theme.dateInput.pickerActiveFontColor};
2238
+ }
2239
+
2240
+ ${e=>e.isCurrentDay&&!e.selected&&`border: ${e.theme.dateInput.pickerCurrentDateBorderWidth} solid ${e.theme.dateInput.pickerCurrentDateBorderColor};`}
2241
+ background-color: ${e=>e.selected?e.theme.dateInput.pickerSelectedBackgroundColor:"transparent"};
2242
+ color: ${e=>e.selected?e.theme.dateInput.pickerSelectedFontColor:e.isCurrentDay?e.theme.dateInput.pickerCurrentDateFontColor:e.actualMonth?e.theme.dateInput.pickerFontColor:e.theme.dateInput.pickerNonCurrentMonthFontColor};
2243
+ `,Da=(0,Co.memo)(Mp);var za=F(require("dayjs")),Dt=require("react"),si=F(require("styled-components")),di=require("react/jsx-runtime"),jp=()=>{let e=[];for(let t=1899;t<=2100;t++)e.push(t);return e},Xp=jp(),Jp=({onYearSelect:e,selectedDate:t,today:r})=>{let n=(0,Dt.useId)(),[i,l]=(0,Dt.useState)(t?t.get("year"):(0,za.default)().get("year"));(0,Dt.useEffect)(()=>{let c=document.getElementById(`${n}_year_${i}`);c?.scrollIntoView?.({block:"nearest",inline:"start"}),c?.focus()},[i]);let a=c=>{switch(c.key){case"ArrowUp":l(d=>d>1899?d-1:d);break;case"ArrowDown":l(d=>d<2100?d+1:d);break}};return(0,di.jsx)(Kp,{role:"listbox","aria-label":"Year Picker",children:Xp.map(c=>(0,di.jsx)(Up,{"aria-label":c,selected:t?.get("year")===c,"aria-selected":t?.get("year")===c,tabIndex:i===c?0:-1,isCurrentYear:r.get("year")===c,onKeyDown:d=>a(d),id:`${n}_year_${c}`,onClick:()=>{e(c)},role:"option",children:c},c))})},Kp=si.default.div`
2244
+ box-sizing: border-box;
2245
+ display: flex;
2246
+ flex-direction: column;
2247
+ gap: 4px;
2248
+ align-items: center;
2249
+ overflow-y: scroll;
2250
+ width: 292px;
2251
+ height: 312px;
2252
+ padding: 2px 8px 8px 8px;
2253
+ `,Up=si.default.button`
2254
+ display: flex;
2255
+ align-items: center;
2256
+ justify-content: center;
2257
+ width: 80px;
2258
+ min-height: 40px;
2259
+ line-height: 21px;
2260
+ background-color: transparent;
2261
+ border: none;
2262
+ border-radius: 50px;
2263
+ cursor: pointer;
2264
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2265
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2266
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2267
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2268
+
2269
+ ${e=>e.selected?`font-size: ${e.theme.dateInput.pickerInteractedYearFontSize};
2270
+ line-height: 36px;
2271
+ color: ${e.theme.dateInput.pickerSelectedFontColor} !important;
2272
+ background-color: ${e.theme.dateInput.pickerSelectedBackgroundColor} !important;`:e.isCurrentYear?`border: 1px solid ${e.theme.dateInput.pickerCurrentDateBorderColor};
2273
+ color: ${e.theme.dateInput.pickerCurrentYearFontColor};`:""}
2274
+
2275
+ &:hover, &:focus, &:active {
2276
+ font-size: ${e=>e.theme.dateInput.pickerInteractedYearFontSize};
2277
+ line-height: 36px;
2278
+ }
2279
+ &:hover {
2280
+ color: ${e=>e.theme.dateInput.pickerHoverFontColor};
2281
+ background-color: ${e=>e.theme.dateInput.pickerHoverBackgroundColor};
2282
+ }
2283
+ &:focus {
2284
+ color: ${e=>e.theme.dateInput.pickerHoverFontColor};
2285
+ outline: ${e=>`${e.theme.dateInput.pickerFocusColor} solid
2286
+ ${e.theme.dateInput.pickerFocusWidth}`};
2287
+ }
2288
+ &:active {
2289
+ color: ${e=>e.theme.dateInput.pickerActiveFontColor};
2290
+ background-color: ${e=>e.theme.dateInput.pickerActiveBackgroundColor} !important;
2291
+ }
2292
+ `,Aa=(0,Dt.memo)(Jp);var je=require("react/jsx-runtime"),Ra=(0,pi.default)(),Yp=({date:e,onDateSelect:t,id:r})=>{let[n,i]=(0,mi.useState)(e?.isValid()?e:(0,pi.default)()),[l,a]=(0,mi.useState)("calendar"),c=e?.isValid()?e:null,d=J(),s=u=>{i(u),t(u)},m=u=>{i(n.set("year",u)),a("calendar")},g=u=>{i(u)};return(0,je.jsxs)(Zp,{id:r,children:[(0,je.jsxs)(qp,{children:[(0,je.jsx)(ge,{label:d.calendar.previousMonthTitle,children:(0,je.jsx)(gi,{"aria-label":d.calendar.previousMonthTitle,onClick:()=>g(n.set("month",n.get("month")-1)),children:(0,je.jsx)($,{icon:"keyboard_arrow_left"})})}),(0,je.jsxs)(Qp,{"aria-live":"polite",onClick:()=>a(u=>u==="yearPicker"?"calendar":"yearPicker"),children:[(0,je.jsxs)(eu,{children:[d.calendar.months[n.get("month")]," ",n.format("YYYY")]}),(0,je.jsx)($,{icon:l==="yearPicker"?"arrow_drop_up":"arrow_drop_down"})]}),(0,je.jsx)(ge,{label:d.calendar.nextMonthTitle,children:(0,je.jsx)(gi,{"aria-label":d.calendar.nextMonthTitle,onClick:()=>g(n.set("month",n.get("month")+1)),children:(0,je.jsx)($,{icon:"keyboard_arrow_right"})})})]}),l==="calendar"&&(0,je.jsx)(Da,{innerDate:n,selectedDate:c,onInnerDateChange:i,onDaySelect:s,today:Ra}),l==="yearPicker"&&(0,je.jsx)(Aa,{selectedDate:c,onYearSelect:m,today:Ra})]})},Zp=fr.default.div`
2293
+ padding-top: 16px;
2294
+ background-color: ${e=>e.theme.dateInput.pickerBackgroundColor};
2295
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
2296
+ border: ${e=>`${e.theme.dateInput.pickerBorderWidth} ${e.theme.dateInput.pickerBorderStyle}
2297
+ ${e.theme.dateInput.pickerBorderColor}`};
2298
+ border-radius: 4px;
2299
+ width: fit-content;
2300
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2301
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2302
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2303
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2304
+ `,qp=fr.default.div`
2305
+ box-sizing: border-box;
2306
+ display: flex;
2307
+ gap: 8px;
2308
+ align-items: center;
2309
+ justify-content: space-between;
2310
+ padding: 0px 16px;
2311
+ `,gi=fr.default.button`
2312
+ display: flex;
2313
+ align-items: center;
2314
+ justify-content: center;
2315
+ width: 24px;
2316
+ height: 24px;
2317
+ padding: 0px;
2318
+ color: ${e=>e.theme.dateInput.pickerHeaderFontColor};
2319
+ background-color: ${e=>e.theme.dateInput.pickerHeaderBackgroundColor};
2320
+ border-radius: 4px;
2321
+ border: none;
2322
+ cursor: pointer;
2323
+
2324
+ &:hover {
2325
+ color: ${e=>e.theme.dateInput.pickerHeaderHoverFontColor};
2326
+ background-color: ${e=>e.theme.dateInput.pickerHeaderHoverBackgroundColor};
2327
+ }
2328
+ &:focus {
2329
+ outline: ${e=>`${e.theme.dateInput.pickerFocusColor} solid
2330
+ ${e.theme.dateInput.pickerFocusWidth}`};
2331
+ }
2332
+ &:active {
2333
+ color: ${e=>e.theme.dateInput.pickerHeaderActiveFontColor};
2334
+ background-color: ${e=>e.theme.dateInput.pickerHeaderActiveBackgroundColor};
2335
+ }
2336
+
2337
+ span::before {
2338
+ font-size: 24px;
2339
+ }
2340
+ `,Qp=(0,fr.default)(gi)`
2341
+ gap: 8px;
2342
+ height: 40px;
2343
+ width: 172px;
2344
+ font-size: 24px;
2345
+ span::before {
2346
+ font-size: 24px;
2347
+ }
2348
+ `,eu=fr.default.span`
2349
+ display: flex;
2350
+ align-items: center;
2351
+ justify-content: center;
2352
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2353
+ font-size: ${e=>e.theme.dateInput.pickerHeaderFontSize};
2354
+ `,Ma=(0,Ha.memo)(Yp);var Ht=F(require("@radix-ui/react-popover")),Za=F(require("dayjs/plugin/customParseFormat"));var At=F(require("@radix-ui/react-popover")),we=require("react"),mo=F(require("styled-components"));var Ea=require("react"),Pn=(0,Ea.createContext)(null);var br=require("react"),Or=F(require("styled-components"));var Ln=require("react"),ui=F(require("styled-components")),zt=require("react/jsx-runtime"),ou=e=>{let t=/[\\*()[\]{}+?/]/,r=e;if(t.test(r)){let n=t.toString().split("");n.filter((l,a)=>n.indexOf(l)===a).forEach(l=>{e.includes(l)&&(r=r.replace(l,"\\"+l))})}return r},tu=({id:e,value:t,onClick:r,suggestion:n,isLast:i,visuallyFocused:l,highlighted:a})=>{let c=(0,Ln.useMemo)(()=>{let d=new RegExp(ou(t),"i");return{matchedWords:n.match(d),noMatchedWords:n.replace(d,"")}},[t,n]);return(0,zt.jsx)(ru,{id:e,onClick:()=>{r(n)},visuallyFocused:l,role:"option","aria-selected":l?!0:void 0,children:(0,zt.jsx)(nu,{isLast:i,visuallyFocused:l,children:a?(0,zt.jsxs)(zt.Fragment,{children:[(0,zt.jsx)("strong",{children:c.matchedWords}),c.noMatchedWords]}):n})})},ru=ui.default.li`
2355
+ display: flex;
2356
+ padding: 0 0.5rem;
2357
+ line-height: 1.715em;
2358
+ cursor: pointer;
2359
+ box-shadow: inset 0 0 0 2px
2360
+ ${e=>e.visuallyFocused?e.theme.focusListOptionBorderColor:"transparent"};
2361
+
2362
+ &:hover {
2363
+ background-color: ${e=>e.theme.hoverListOptionBackgroundColor};
2364
+ }
2365
+ &:active {
2366
+ background-color: ${e=>e.theme.activeListOptionBackgroundColor};
2367
+ }
2368
+ `,nu=ui.default.span`
2369
+ width: 100%;
2370
+ overflow: hidden;
2371
+ text-overflow: ellipsis;
2372
+ white-space: nowrap;
2373
+ padding: 0.25rem 0.5rem 0.188rem 0.5rem;
2374
+ ${e=>e.isLast||e.visuallyFocused?"border-bottom: 1px solid transparent":`border-bottom: 1px solid ${e.theme.listOptionDividerColor}`};
2375
+ `,Wa=(0,Ln.memo)(tu);var at=require("react/jsx-runtime"),iu=({id:e,value:t,suggestions:r,visualFocusIndex:n,highlightedSuggestions:i,searchHasErrors:l,isSearching:a,suggestionOnClick:c,styles:d})=>{let s=J(),m=(0,br.useRef)(null);return(0,br.useEffect)(()=>{m?.current?.querySelectorAll("[role='option']")[n]?.scrollIntoView?.({block:"nearest",inline:"start"})},[n]),(0,at.jsxs)(lu,{id:e,error:!!l,onMouseDown:g=>{g.preventDefault()},ref:m,role:"listbox",style:d,"aria-label":"Suggestions",children:[!a&&!l&&r.length>0&&r.map((g,u)=>(0,at.jsx)(Wa,{id:`${e}-suggestion-${u}`,value:t,onClick:c,suggestion:g,isLast:u===r.length-1,visuallyFocused:n===u,highlighted:i},`${e}-suggestion-${u}`)),a&&(0,at.jsx)(au,{role:"option",children:s.textInput.searchingMessage}),l&&(0,at.jsx)("span",{role:"option",children:(0,at.jsxs)(du,{role:"alert","aria-live":"assertive",children:[(0,at.jsx)(cu,{children:(0,at.jsx)($,{icon:"filled_error"})}),s.textInput.fetchingDataErrorMessage]})})]})},lu=Or.default.ul`
2376
+ box-sizing: border-box;
2377
+ max-height: 304px;
2378
+ overflow-y: auto;
2379
+ margin: 0;
2380
+ padding: 0.25rem 0;
2381
+ background-color: ${e=>e.error?e.theme.errorListDialogBackgroundColor:e.theme.listDialogBackgroundColor};
2382
+ border: 1px solid
2383
+ ${e=>e.error?e.theme.errorListDialogBorderColor:e.theme.listDialogBorderColor};
2384
+
2385
+ border-radius: 0.25rem;
2386
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
2387
+ color: ${e=>e.theme.listOptionFontColor};
2388
+ font-family: ${e=>e.theme.fontFamily};
2389
+ font-size: ${e=>e.theme.listOptionFontSize};
2390
+ font-style: ${e=>e.theme.listOptionFontStyle};
2391
+ font-weight: ${e=>e.theme.listOptionFontWeight};
2392
+ `,au=Or.default.span`
2393
+ display: flex;
2394
+ padding: 0.25rem 1rem;
2395
+ color: ${e=>e.theme.systemMessageFontColor};
2396
+ line-height: 1.715em;
2397
+ `,cu=Or.default.span`
2398
+ display: flex;
2399
+ flex-wrap: wrap;
2400
+ align-content: center;
2401
+ margin-right: 0.5rem;
2402
+ height: 18px;
2403
+ width: 18px;
2404
+ font-size: 18px;
2405
+ color: ${e=>e.theme.errorIconColor};
2406
+ `,du=Or.default.span`
2407
+ display: flex;
2408
+ padding: 0.25rem 1rem;
2409
+ align-items: center;
2410
+ line-height: 1.715em;
2411
+ color: ${e=>e.theme.errorListDialogFontColor};
2412
+ `,Oa=(0,br.memo)(iu);var ce=require("react/jsx-runtime"),Ga={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},su=({condition:e,wrapper:t,children:r})=>(0,ce.jsx)(ce.Fragment,{children:e?t(r):r}),Na=(e,t)=>t==="fillParent"?`calc(${Ga[t]} - ${X(e,"left")} - ${X(e,"right")})`:Ga[t],mu=e=>{let t=!1;return{promise:new Promise((n,i)=>{e.then(l=>t?i({isCanceled:!0}):n(l),l=>i(t?{isCanceled:!0}:l))}),cancel(){t=!0}}},Fo=e=>typeof e=="function"||e?.length>0,Va=(e,t)=>e===""&&!t,ja=(e,t,r)=>e!=null&&(e.length<t||e.length>r),Xa=(e,t,r)=>e<t||e>r,Ja=(e,t)=>e!=null&&!new RegExp(e).test(t),gu=(0,we.forwardRef)(({label:e,name:t="",defaultValue:r="",value:n,helperText:i,placeholder:l="",action:a,clearable:c=!1,disabled:d=!1,readOnly:s=!1,optional:m=!1,prefix:g="",suffix:u="",onChange:h,onBlur:y,error:v,suggestions:f,pattern:_,minLength:x,maxLength:b,autocomplete:D="off",margin:P,size:B="medium",tabIndex:M=0},H)=>{let w=`input-${(0,we.useId)()}`,S=`suggestions-${w}`,z=`error-${w}`,[G,V]=(0,we.useState)(r),[q,W]=(0,we.useState)(!1),[A,C]=(0,we.useState)(!1),[I,T]=(0,we.useState)(!1),[L,E]=(0,we.useState)([]),[K,fe]=(0,we.useState)(-1),N=(0,we.useRef)(null),Q=(0,we.useRef)(null),R=(0,we.useRef)(null),be=lr(Q.current),ye=k(),Ce=J(),O=(0,we.useContext)(Pn),Y=j=>{if(j<O?.minNumber)return Ce.numberInput.valueGreaterThanOrEqualToErrorMessage(O.minNumber);if(j>O?.maxNumber)return Ce.numberInput.valueLessThanOrEqualToErrorMessage(O.maxNumber)},U=()=>{Fo(f)&&W(!0)},Me=()=>{Fo(f)&&(W(!1),fe(-1))},xe=j=>{let Z=typeof j=="number"?j.toString():j;n??V(Z),Va(Z,m)?h?.({value:Z,error:Ce.formFields.requiredValueErrorMessage}):ja(Z,x,b)?h?.({value:Z,error:Ce.formFields.lengthErrorMessage(x,b)}):Ja(_,Z)?h?.({value:Z,error:Ce.formFields.formatRequestedErrorMessage}):O?.typeNumber==="number"&&Xa(Number(j),O?.minNumber,O?.maxNumber)?h?.({value:Z,error:Y(Number(j))}):h?.({value:Z})},Xt=(j=n??G)=>{if(!d&&!s){let Z=Number(j),bt=Math.round((Z-O?.stepNumber+Number.EPSILON)*100)/100;j!==""?Z<O?.minNumber||bt<O?.minNumber?xe(Z):Z>O?.maxNumber?xe(O?.maxNumber):Z===O?.minNumber?xe(O?.minNumber):xe(bt):O?.minNumber>=0?xe(O?.minNumber):O?.maxNumber<0?xe(O?.maxNumber):xe(-O.stepNumber)}},vr=(j=n??G)=>{if(!d&&!s){let Z=Number(j),bt=Math.round((Z+O?.stepNumber+Number.EPSILON)*100)/100;j!==""?Z>O?.maxNumber||bt>O?.maxNumber?xe(Z):Z<O?.minNumber?xe(O?.minNumber):Z===O?.maxNumber?xe(O?.maxNumber):xe(bt):O?.minNumber>0?xe(O?.minNumber):O?.maxNumber<=0?xe(O?.maxNumber):xe(O.stepNumber)}},Zn=()=>{document.activeElement!==R.current&&N.current.focus()},te=j=>{document.activeElement===N.current&&j.preventDefault()},re=j=>{U(),xe(j.target.value)},et=j=>{Me(),Va(j.target.value,m)?y?.({value:j.target.value,error:Ce.formFields.requiredValueErrorMessage}):ja(j.target.value,x,b)?y?.({value:j.target.value,error:Ce.formFields.lengthErrorMessage(x,b)}):Ja(_,j.target.value)?y?.({value:j.target.value,error:Ce.formFields.formatRequestedErrorMessage}):O?.typeNumber==="number"&&Xa(Number(j.target.value),O?.minNumber,O?.maxNumber)?y?.({value:j.target.value,error:Y(Number(j.target.value))}):y?.({value:j.target.value})},ot=j=>{switch(j.key){case"Down":case"ArrowDown":j.preventDefault(),O?.typeNumber==="number"?Xt():(U(),!I&&!A&&L.length>0&&fe(Z=>{if(Z<L.length-1)return Z+1;if(Z===L.length-1)return 0}));break;case"Up":case"ArrowUp":j.preventDefault(),O?.typeNumber==="number"?vr():(U(),!I&&!A&&L.length>0&&fe(Z=>Z===0||Z===-1?L.length>0?L.length-1:f.length-1:Z-1));break;case"Esc":case"Escape":j.preventDefault(),q&&j.stopPropagation(),Fo(f)&&(xe(""),q&&Me());break;case"Enter":Fo(f)&&!A&&(L.length>0&&K>=0&&K<L.length&&xe(L[K]),q&&Me());break}},$d=j=>{document.activeElement===N.current&&(j.deltaY<0?vr(N.current.value):Xt(N.current.value))},vd=()=>{xe(""),N.current.focus(),f&&Me()},Td=()=>{Xt(),N.current.focus()},kd=()=>{vr(),N.current.focus()},Fd=(j,Z,bt,wd)=>{Z&&N?.current?.setAttribute("min",Z),bt&&N?.current?.setAttribute("max",bt),N?.current?.setAttribute("step",wd),N?.current?.setAttribute("type",j)};return(0,we.useEffect)(()=>{if(typeof f=="function"){C(!0),T(!1),E([]);let j=mu(f(n??G));return j.promise.then(Z=>{C(!1),T(!1),E(Z)}).catch(Z=>{Z.isCanceled||(C(!1),T(!0))}),()=>{j.cancel()}}else f?.length>0&&(E(f.filter(j=>j.toUpperCase().startsWith((n??G).toUpperCase()))),fe(-1));O!=null&&Fd(O.typeNumber,O.minNumber,O.maxNumber,O.stepNumber)},[n,G,f,O]),(0,ce.jsx)(mo.ThemeProvider,{theme:ye.textInput,children:(0,ce.jsxs)(pu,{margin:P,size:B,ref:H,children:[e&&(0,ce.jsxs)(uu,{htmlFor:w,disabled:d,hasHelperText:!!i,children:[e," ",m&&(0,ce.jsx)(hu,{children:Ce.formFields.optionalLabel})]}),i&&(0,ce.jsx)(fu,{disabled:d,children:i}),(0,ce.jsx)(su,{condition:Fo(f),wrapper:j=>(0,ce.jsxs)(At.Root,{open:q&&(L.length>0||A||I),children:[(0,ce.jsx)(At.Trigger,{asChild:!0,type:void 0,"aria-controls":void 0,"aria-haspopup":void 0,"aria-expanded":void 0,children:j}),(0,ce.jsx)(At.Portal,{children:(0,ce.jsx)(At.Content,{sideOffset:5,style:{zIndex:"2147483647"},onOpenAutoFocus:Z=>{Z.preventDefault()},onCloseAutoFocus:Z=>{Z.preventDefault()},children:(0,ce.jsx)(Oa,{id:S,value:n??G,suggestions:L,visualFocusIndex:K,highlightedSuggestions:typeof f!="function",searchHasErrors:I,isSearching:A,suggestionOnClick:Z=>{xe(Z),Me()},styles:{width:be}})})})]}),children:(0,ce.jsxs)(bu,{error:!!v,disabled:d,readOnly:s,onClick:Zn,onMouseDown:te,ref:Q,children:[g&&(0,ce.jsx)(Cu,{disabled:d,children:g}),(0,ce.jsxs)(ne,{gap:"0.25rem",alignItems:"center",grow:1,children:[(0,ce.jsx)(yu,{id:w,name:t,value:n??G,placeholder:l,onBlur:et,onChange:re,onFocus:s?void 0:U,onKeyDown:s?void 0:ot,onMouseDown:j=>{j.stopPropagation()},onWheel:O?.typeNumber==="number"?$d:void 0,disabled:d,readOnly:s,ref:N,pattern:_,minLength:x,maxLength:b,autoComplete:D==="off"?"nope":D,tabIndex:M,type:"text",role:Fo(f)?"combobox":void 0,"aria-autocomplete":Fo(f)?"list":void 0,"aria-controls":Fo(f)?S:void 0,"aria-expanded":Fo(f)?q:void 0,"aria-haspopup":Fo(f)?"listbox":void 0,"aria-activedescendant":Fo(f)&&q&&K!==-1?`suggestion-${K}`:void 0,"aria-invalid":!!v,"aria-errormessage":v?z:void 0,"aria-required":!d&&!m}),!d&&v&&(0,ce.jsx)(_u,{"aria-hidden":"true",children:(0,ce.jsx)($,{icon:"filled_error"})}),!d&&!s&&c&&(n??G).length>0&&(0,ce.jsx)(co,{onClick:vd,icon:"close",tabIndex:M,title:Ce.textInput.clearFieldActionTitle}),O?.typeNumber==="number"&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(co,{onClick:s?void 0:Td,icon:"remove",tabIndex:M,ref:R,title:Ce.numberInput.decrementValueTitle,disabled:d}),(0,ce.jsx)(co,{onClick:s?void 0:kd,icon:"add",tabIndex:M,ref:R,title:Ce.numberInput.incrementValueTitle,disabled:d})]}),a&&(0,ce.jsx)(co,{onClick:s?void 0:a.onClick,icon:a.icon,tabIndex:M,ref:R,title:a.title,disabled:d})]}),u&&(0,ce.jsx)(xu,{disabled:d,children:u})]})}),!d&&typeof v=="string"&&(0,ce.jsx)($u,{id:z,role:"alert","aria-live":v?"assertive":"off",children:v})]})})}),pu=mo.default.div`
2413
+ box-sizing: border-box;
2414
+ display: flex;
2415
+ flex-direction: column;
2416
+ width: ${e=>Na(e.margin,e.size)};
2417
+ ${e=>e.size!=="fillParent"&&"min-width:"+Na(e.margin,e.size)};
2418
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2419
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2420
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2421
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2422
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2423
+ font-family: ${e=>e.theme.fontFamily};
2424
+ `,uu=mo.default.label`
2425
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
2426
+ font-size: ${e=>e.theme.labelFontSize};
2427
+ font-style: ${e=>e.theme.labelFontStyle};
2428
+ font-weight: ${e=>e.theme.labelFontWeight};
2429
+ line-height: ${e=>e.theme.labelLineHeight};
2430
+ ${e=>!e.hasHelperText&&"margin-bottom: 0.25rem"}
2431
+ `,hu=mo.default.span`
2432
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
2433
+ `,fu=mo.default.span`
2434
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
2435
+ font-size: ${e=>e.theme.helperTextFontSize};
2436
+ font-style: ${e=>e.theme.helperTextFontStyle};
2437
+ font-weight: ${e=>e.theme.helperTextFontWeight};
2438
+ line-height: ${e=>e.theme.helperTextLineHeight};
2439
+ margin-bottom: 0.25rem;
2440
+ `,bu=mo.default.div`
2441
+ position: relative;
2442
+ display: flex;
2443
+ align-items: center;
2444
+ height: calc(2.5rem - 2px);
2445
+ padding: 0 0.5rem;
2446
+ ${e=>{if(e.disabled)return`background-color: ${e.theme.disabledContainerFillColor};`}}
2447
+ box-shadow: 0 0 0 2px transparent;
2448
+ border-radius: 4px;
2449
+ border: 1px solid
2450
+ ${e=>e.disabled?e.theme.disabledBorderColor:e.readOnly?e.theme.readOnlyBorderColor:e.theme.enabledBorderColor};
2451
+ ${e=>e.error&&!e.disabled&&`border-color: transparent;
2452
+ box-shadow: 0 0 0 2px ${e.theme.errorBorderColor};
2453
+ `}
2454
+ ${e=>e.disabled?"cursor: not-allowed;":`
2455
+ &:hover {
2456
+ border-color: ${e.error?"transparent":e.readOnly?e.theme.hoverReadOnlyBorderColor:e.theme.hoverBorderColor};
2457
+ ${e.error?`box-shadow: 0 0 0 2px ${e.theme.hoverErrorBorderColor};`:""}
2458
+ }
2459
+ &:focus-within {
2460
+ border-color: transparent;
2461
+ box-shadow: 0 0 0 2px ${e.theme.focusBorderColor};
2462
+ }
2463
+ `};
2464
+ `,yu=mo.default.input`
2465
+ height: calc(2.5rem - 2px);
2466
+ width: 100%;
2467
+ background: none;
2468
+ border: none;
2469
+ outline: none;
2470
+ padding: 0 0.5rem;
2471
+ overflow: hidden;
2472
+ text-overflow: ellipsis;
2473
+ white-space: nowrap;
2474
+ color: ${e=>e.disabled?e.theme.disabledValueFontColor:e.theme.valueFontColor};
2475
+ font-family: ${e=>e.theme.fontFamily};
2476
+ font-size: ${e=>e.theme.valueFontSize};
2477
+ font-style: ${e=>e.theme.valueFontStyle};
2478
+ font-weight: ${e=>e.theme.valueFontWeight};
2479
+ line-height: 1.5em;
2480
+ ${e=>e.disabled&&"cursor: not-allowed;"}
2481
+
2482
+ ::placeholder {
2483
+ color: ${e=>e.disabled?e.theme.disabledPlaceholderFontColor:e.theme.placeholderFontColor};
2484
+ }
2485
+ `,Cu=mo.default.span`
2486
+ height: 1.5rem;
2487
+ margin-left: 0.25rem;
2488
+ padding-right: ${e=>e.theme.prefixDividerPaddingRight};
2489
+ ${e=>{let t=e.disabled?e.theme.disabledPrefixColor:e.theme.prefixColor;return`color: ${t}; border-right: ${e.theme.prefixDividerBorderWidth} ${e.theme.prefixDividerBorderStyle} ${t};`}};
2490
+ font-size: 1rem;
2491
+ line-height: 1.5rem;
2492
+ pointer-events: none;
2493
+ `,xu=mo.default.span`
2494
+ height: 1.5rem;
2495
+ margin: 0 0.25rem;
2496
+ padding-left: ${e=>e.theme.suffixDividerPaddingLeft};
2497
+ ${e=>{let t=e.disabled?e.theme.disabledSuffixColor:e.theme.suffixColor;return`color: ${t}; border-left: ${e.theme.suffixDividerBorderWidth} ${e.theme.suffixDividerBorderStyle} ${t};`}};
2498
+ font-size: 1rem;
2499
+ line-height: 1.5rem;
2500
+ pointer-events: none;
2501
+ `,_u=mo.default.span`
2502
+ display: flex;
2503
+ flex-wrap: wrap;
2504
+ align-content: center;
2505
+ padding: 3px;
2506
+ height: 18px;
2507
+ width: 18px;
2508
+ font-size: 18px;
2509
+ color: ${e=>e.theme.errorIconColor};
2510
+ `,$u=mo.default.span`
2511
+ min-height: 1.5em;
2512
+ color: ${e=>e.theme.errorMessageColor};
2513
+ font-size: 0.75rem;
2514
+ font-weight: 400;
2515
+ line-height: 1.5em;
2516
+ margin-top: 0.25rem;
2517
+ `,jo=gu;var go=require("react/jsx-runtime");fi.default.extend(Za.default);var Ka=4,Dn=(e,t)=>(0,fi.default)(e,t.toUpperCase(),!0),hi=(e,t,r,n)=>{if((e||e==="")&&t.toUpperCase().includes("YYYY"))return Dn(e,t);{let i=Dn(e,t);return r?i=i.set("year",(r<=1999?1900:2e3)+ +i.format("YY")):+i.format("YY")<68?(n(2e3+ +i.format("YY")),i=i.set("year",2e3+ +i.format("YY"))):(n(1900+ +i.format("YY")),i=i.set("year",1900+ +i.format("YY"))),i}},vu=(0,Se.forwardRef)(({label:e,name:t,defaultValue:r="",value:n,format:i="dd-MM-yyyy",helperText:l,placeholder:a=!1,clearable:c,disabled:d,readOnly:s,optional:m,onChange:g,onBlur:u,error:h,autocomplete:y,margin:v,size:f,tabIndex:_},x)=>{let[b,D]=(0,Se.useState)(r),[P,B]=(0,Se.useState)(!1),M=`date-picker-${(0,Se.useId)()}`,[H,w]=(0,Se.useState)(Dn(n??r??"",i)),[S,z]=(0,Se.useState)(b||n?!i.toUpperCase().includes("YYYY")&&+Dn(n??b,i).format("YY")<68?2e3:1900:void 0),[G,V]=(0,Se.useState)(Ka),q=k(),W=J(),A=(0,Se.useRef)(null),C=(0,Se.useRef)(null),I=R=>{let be=R.format(i.toUpperCase());n||(w(R),D(be)),z(R.get("year")),R?.set("day",R.get("date")).toJSON()?g?.({value:be,date:R.toDate()}):g?.({value:be})},T=({value:R,error:be})=>{n??D(R);let ye=hi(R,i,S,z),Ce=R!==""&&!ye.isValid()&&W.dateInput.invalidDateErrorMessage,O=be||Ce?{value:R,error:be||Ce}:{value:R};ye.isValid()?(w(ye),g?.({...O,date:ye.toDate()})):(g?.(O),z(Y=>H?.get("year")??Y),w(null))},L=({value:R,error:be})=>{let ye=hi(R,i,S,z),Ce=R!==""&&!ye.isValid()&&W.dateInput.invalidDateErrorMessage,O=be||Ce?{value:R,error:be||Ce}:{value:R};ye.isValid()?u?.({...O,date:ye.toDate()}):u?.(O)},E=(0,Se.useCallback)(()=>{h!=null&&setTimeout(()=>{if(C.current&&A.current){let R=C.current.getBoundingClientRect(),be=A.current.querySelector('[id^="input"]')?.getBoundingClientRect(),ye=A.current.querySelector('[id^="error-input"]')?.getBoundingClientRect().height;V(R.top>be.bottom?-ye:Ka)}},0)},[h]),K=()=>{B(!P),E()},fe=()=>{B(!1)},N=R=>{R.key==="Escape"&&(R.preventDefault(),P&&R.stopPropagation(),fe(),A?.current.getElementsByTagName("input")[0].focus())},Q=R=>{R?.currentTarget.contains(R.relatedTarget)||fe()};return(0,Se.useEffect)(()=>(window.addEventListener("scroll",E),()=>{window.removeEventListener("scroll",E)}),[E]),(0,Se.useEffect)(()=>{(n||n==="")&&w(hi(n,i,S,z))},[n,i,S]),(0,Se.useEffect)(()=>{if(!d){let R=A?.current.querySelector("[aria-label='Select date']");R?.setAttribute("aria-haspopup",!0),R?.setAttribute("role","combobox"),R?.setAttribute("aria-expanded",P),R?.setAttribute("aria-controls",M),P&&R?.setAttribute("aria-describedby",M)}},[P,d,M]),(0,go.jsx)(Rt.ThemeProvider,{theme:q,children:(0,go.jsxs)(Tu,{margin:v,size:f,ref:x,children:[e&&(0,go.jsxs)(ku,{htmlFor:A.current?.getElementsByTagName("input")[0].id,disabled:d,hasHelperText:!!l,children:[e," ",m&&(0,go.jsx)(Fu,{children:W.formFields.optionalLabel})]}),l&&(0,go.jsx)(wu,{disabled:d,children:l}),(0,go.jsxs)(Ht.Root,{open:P,children:[(0,go.jsx)(Ht.Trigger,{asChild:!0,"aria-controls":void 0,children:(0,go.jsx)(jo,{name:t,defaultValue:r,value:n??b,placeholder:a?i.toUpperCase():null,action:{onClick:K,icon:"filled_calendar_today",title:"Select date"},clearable:c,disabled:d,readOnly:s,optional:m,onChange:T,onBlur:L,error:h,autocomplete:y,size:f,tabIndex:_,ref:A})}),(0,go.jsx)(Ht.Portal,{children:(0,go.jsx)(Su,{sideOffset:G,align:"end","aria-modal":!0,onBlur:Q,onKeyDown:N,ref:C,children:(0,go.jsx)(Ma,{id:M,onDateSelect:I,date:H})})})]})]})})}),Ua={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},Ya=(e,t)=>t==="fillParent"?`calc(${Ua[t]} - ${X(e,"left")} - ${X(e,"right")})`:Ua[t],Tu=Rt.default.div`
2518
+ ${e=>e.size=="fillParent"&&"width: 100%;"}
2519
+ display: flex;
2520
+ flex-direction: column;
2521
+ width: ${e=>Ya(e.margin,e.size)};
2522
+ ${e=>e.size!=="fillParent"&&"min-width:"+Ya(e.margin,e.size)};
2523
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2524
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2525
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2526
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2527
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2528
+ font-family: ${e=>e.theme.textInput.fontFamily};
2529
+ `,ku=Rt.default.label`
2530
+ color: ${e=>e.disabled?e.theme.textInput.disabledLabelFontColor:e.theme.textInput.labelFontColor};
2531
+ font-size: ${e=>e.theme.textInput.labelFontSize};
2532
+ font-style: ${e=>e.theme.textInput.labelFontStyle};
2533
+ font-weight: ${e=>e.theme.textInput.labelFontWeight};
2534
+ line-height: ${e=>e.theme.textInput.labelLineHeight};
2535
+ ${e=>!e.hasHelperText&&"margin-bottom: 0.25rem"}
2536
+ `,Fu=Rt.default.span`
2537
+ font-weight: ${e=>e.theme.textInput.optionalLabelFontWeight};
2538
+ `,wu=Rt.default.span`
2539
+ color: ${e=>e.disabled?e.theme.textInput.disabledHelperTextFontColor:e.theme.textInput.helperTextFontColor};
2540
+ font-size: ${e=>e.theme.textInput.helperTextFontSize};
2541
+ font-style: ${e=>e.theme.textInput.helperTextFontStyle};
2542
+ font-weight: ${e=>e.theme.textInput.helperTextFontWeight};
2543
+ line-height: ${e=>e.theme.textInput.helperTextLineHeight};
2544
+ margin-bottom: 0.25rem;
2545
+ `,Su=(0,Rt.default)(Ht.Content)`
2546
+ z-index: 2147483647;
2547
+ &:focus-visible {
2548
+ outline: none;
2549
+ }
2550
+ `,qa=vu;var tc=require("react"),rc=require("react-dom"),dt=F(require("styled-components"));var ct=require("react"),Mt=require("react/jsx-runtime"),Re={negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"},Iu=[`a[href]${Re.negTabIndex}`,`area[href]${Re.negTabIndex}`,`input:not([type="hidden"])${Re.negTabIndex}${Re.disabled}`,`select${Re.negTabIndex}${Re.disabled}`,`textarea${Re.negTabIndex}${Re.disabled}`,`button${Re.negTabIndex}${Re.disabled}`,`details > summary:first-of-type${Re.negTabIndex}`,`iframe${Re.negTabIndex}`,`audio[controls]${Re.negTabIndex}`,`video[controls]${Re.negTabIndex}`,`[contenteditable]${Re.negTabIndex}`,`[tabindex]${Re.negTabIndex}${Re.disabled}`].join(","),Qa=e=>Array.prototype.slice.call(e.querySelectorAll(Iu)).filter(t=>t.getAttribute("aria-hidden")!=="true"&&window.getComputedStyle(t).display!=="none"&&window.getComputedStyle(t).visibility!=="hidden"),ec=e=>(e?.focus(),document.activeElement===e),Bu=e=>{let t=document.querySelectorAll("[data-radix-portal]"),r=document.querySelectorAll("[data-radix-popper-content-wrapper]");return Array.prototype.slice.call(t).some(n=>n.contains(e))||Array.prototype.slice.call(r).some(n=>n.contains(e))},Pu=e=>{let[t,r]=(0,ct.useState)();return(0,ct.useEffect)(()=>{if(e.current!=null){r(Qa(e.current));let n=new MutationObserver(()=>{r(Qa(e.current))});return n.observe(e.current,{childList:!0,subtree:!0,attributes:!0}),()=>{n.disconnect()}}},[]),t},Lu=({children:e})=>{let t=(0,ct.useRef)(),r=Pu(t),n=(0,ct.useCallback)(()=>{r?.length===0?t.current?.focus():r?.length>0&&r.some(a=>ec(a))},[r]),i=()=>{r?.reverse()?.some(a=>ec(a))},l=a=>{a.key==="Tab"&&r.length===0&&a.preventDefault()};return(0,ct.useEffect)(()=>{!t.current?.contains(document.activeElement)&&!Bu(document.activeElement)&&n()},[n]),(0,Mt.jsxs)(Mt.Fragment,{children:[(0,Mt.jsx)("div",{onFocus:i,tabIndex:0}),(0,Mt.jsx)("div",{onKeyDown:l,ref:t,tabIndex:r?.length===0?0:-1,style:{outline:"none"},children:e}),(0,Mt.jsx)("div",{onFocus:n,tabIndex:0})]})},oc=Lu;var Xo=require("react/jsx-runtime"),Du=({isCloseVisible:e=!0,onCloseClick:t,children:r,overlay:n=!0,onBackgroundClick:i,tabIndex:l=0})=>{let a=k(),c=J();return(0,tc.useEffect)(()=>{let d=s=>{s.key==="Escape"&&(s.preventDefault(),t?.())};return document.addEventListener("keydown",d),()=>{document.removeEventListener("keydown",d)}},[t]),(0,Xo.jsxs)(dt.ThemeProvider,{theme:a.dialog,children:[(0,Xo.jsx)(zu,{}),(0,rc.createPortal)((0,Xo.jsxs)(Au,{children:[n&&(0,Xo.jsx)(Ru,{onClick:()=>{i?.()}}),(0,Xo.jsx)(Hu,{role:"dialog","aria-modal":n,isCloseVisible:e,"aria-label":"Dialog",children:(0,Xo.jsxs)(oc,{children:[r,e&&(0,Xo.jsx)(Mu,{onClick:()=>{t?.()},"aria-label":c.dialog.closeIconAriaLabel,tabIndex:l,children:(0,Xo.jsx)($,{icon:"close"})})]})})]}),document.body)]})},zu=dt.createGlobalStyle`
2551
+ body {
2552
+ overflow: hidden;
2553
+ }
2554
+ `,Au=dt.default.div`
2555
+ position: fixed;
2556
+ inset: 0;
2557
+ display: flex;
2558
+ align-items: center;
2559
+ justify-content: center;
2560
+ height: 100%;
2561
+ z-index: 2147483647;
2562
+ `,Ru=dt.default.div`
2563
+ position: fixed;
2564
+ inset: 0;
2565
+ height: 100%;
2566
+ background-color: ${e=>e.theme.overlayColor};
2567
+ `,Hu=dt.default.div`
2568
+ position: relative;
2569
+ box-sizing: border-box;
2570
+ max-width: 80%;
2571
+ min-width: 696px;
2572
+ border-radius: 4px;
2573
+ background-color: ${e=>e.theme.backgroundColor};
2574
+ ${e=>e.isCloseVisible&&"min-height: 72px;"}
2575
+ box-shadow: ${e=>`${e.theme.boxShadowOffsetX} ${e.theme.boxShadowOffsetY} ${e.theme.boxShadowBlur} ${e.theme.boxShadowColor}`};
2576
+ z-index: 2147483647;
2577
+
2578
+ @media (max-width: ${de.medium}rem) {
2579
+ max-width: 92%;
2580
+ min-width: 92%;
2581
+ }
2582
+ `,Mu=dt.default.button`
2583
+ all: unset;
2584
+ position: absolute;
2585
+ top: 24px;
2586
+ right: 24px;
2587
+ display: flex;
2588
+ align-items: center;
2589
+ justify-content: center;
2590
+ background-color: ${e=>e.theme.closeIconBackgroundColor};
2591
+ box-shadow: 0 0 0 2px transparent;
2592
+ color: ${e=>e.theme.closeIconColor};
2593
+ border-radius: ${e=>e.theme.closeIconBorderRadius};
2594
+ border-width: ${e=>e.theme.closeIconBorderThickness};
2595
+ border-style: ${e=>e.theme.closeIconBorderStyle};
2596
+ border-color: ${e=>e.theme.closeIconBorderColor};
2597
+ cursor: pointer;
2598
+ z-index: 1;
2599
+
2600
+ &:focus {
2601
+ outline: none;
2602
+ box-shadow: 0 0 0 2px #0095ff;
2603
+ }
2604
+ &:hover {
2605
+ background-color: #f2f2f2;
2606
+ }
2607
+ &:active {
2608
+ background-color: #cccccc;
2609
+ }
2610
+ span {
2611
+ font-size: ${e=>e.theme.closeIconSize};
2612
+ }
2613
+ `,nc=Du;var wo=require("react"),eo=F(require("styled-components"));var ic=require("react"),Jo=F(require("styled-components"));var Qe=require("react/jsx-runtime"),Eu=({fileName:e="",error:t="",singleFileMode:r,showPreview:n,preview:i,type:l,onDelete:a,tabIndex:c})=>{let d=k(),s=J(),m=()=>l.includes("video")?"video":l.includes("audio")?"audio":"file";return(0,Qe.jsx)(Jo.ThemeProvider,{theme:d.fileInput,children:(0,Qe.jsxs)(Wu,{error:t,singleFileMode:r,showPreview:n,children:[n&&(l.includes("image")?(0,Qe.jsx)(Ou,{src:i,alt:e}):(0,Qe.jsx)(Gu,{error:t,role:"document","aria-label":m(),children:(0,Qe.jsx)($,{icon:i})})),(0,Qe.jsxs)(Nu,{children:[(0,Qe.jsx)(Vu,{children:e}),(0,Qe.jsxs)(ne,{gap:"0.25rem",children:[t&&(0,Qe.jsx)(ju,{children:(0,Qe.jsx)($,{icon:"filled_error"})}),(0,Qe.jsx)(co,{onClick:()=>a(e),icon:"close",tabIndex:c,title:s.fileInput.deleteFileActionTitle})]}),t&&!r&&(0,Qe.jsx)(Xu,{role:"alert","aria-live":"assertive",children:t})]})]})})},Wu=Jo.default.div`
2614
+ box-sizing: border-box;
2615
+ display: flex;
2616
+ justify-content: center;
2617
+ gap: 0.75rem;
2618
+ width: ${e=>e.singleFileMode?"230px":"320px"};
2619
+ padding: ${e=>e.showPreview?`calc(8px - ${e.theme.fileItemBorderThickness})`:`calc(8px - ${e.theme.fileItemBorderThickness}) calc(8px - ${e.theme.fileItemBorderThickness}) calc(8px - ${e.theme.fileItemBorderThickness}) 16px`};
2620
+ ${e=>e.error?`background-color: ${e.theme.errorFileItemBackgroundColor};`:""};
2621
+ border-color: ${e=>e.error?e.theme.errorFileItemBorderColor:e.theme.fileItemBorderColor};
2622
+ border-width: ${e=>e.theme.fileItemBorderThickness};
2623
+ border-style: ${e=>e.theme.fileItemBorderStyle};
2624
+ border-radius: ${e=>e.theme.fileItemBorderRadius};
2625
+ `,Ou=Jo.default.img`
2626
+ width: 48px;
2627
+ height: 48px;
2628
+ border-radius: 2px;
2629
+ object-fit: contain;
2630
+ `,Gu=Jo.default.span`
2631
+ box-sizing: border-box;
2632
+ display: flex;
2633
+ align-items: center;
2634
+ justify-content: center;
2635
+ background-color: ${e=>e.error?e.theme.errorFilePreviewBackgroundColor:e.theme.filePreviewBackgroundColor};
2636
+ width: 48px;
2637
+ height: 48px;
2638
+ padding: 15px;
2639
+ border-radius: 2px;
2640
+ color: ${e=>e.error?e.theme.errorFilePreviewIconColor:e.theme.filePreviewIconColor};
2641
+ font-size: 18px;
2642
+ svg {
2643
+ height: 18px;
2644
+ width: 18px;
2645
+ }
2646
+ `,Nu=Jo.default.div`
2647
+ flex-grow: 1;
2648
+ display: grid;
2649
+ grid-template-columns: auto min-content;
2650
+ grid-template-rows: min-content auto;
2651
+ column-gap: 0.25rem;
2652
+ `,Vu=Jo.default.span`
2653
+ align-self: center;
2654
+ color: ${e=>e.theme.fileNameFontColor};
2655
+ font-family: ${e=>e.theme.fileItemFontFamily};
2656
+ font-size: ${e=>e.theme.fileItemFontSize};
2657
+ font-weight: ${e=>e.theme.fileItemFontWeight};
2658
+ line-height: ${e=>e.theme.fileItemLineHeight};
2659
+ white-space: pre;
2660
+ overflow: hidden;
2661
+ text-overflow: ellipsis;
2662
+ `,ju=Jo.default.span`
2663
+ display: flex;
2664
+ flex-wrap: wrap;
2665
+ align-content: center;
2666
+ padding: 3px;
2667
+ height: 18px;
2668
+ width: 18px;
2669
+ font-size: 18px;
2670
+ color: #d0011b;
2671
+ `,Xu=Jo.default.span`
2672
+ color: ${e=>e.theme.errorMessageFontColor};
2673
+ font-family: ${e=>e.theme.errorMessageFontFamily};
2674
+ font-size: ${e=>e.theme.errorMessageFontSize};
2675
+ font-weight: ${e=>e.theme.errorMessageFontWeight};
2676
+ line-height: ${e=>e.theme.errorMessageLineHeight};
2677
+ `,bi=(0,ic.memo)(Eu);var ve=require("react/jsx-runtime"),lc=async e=>e.type.includes("video")?"filled_movie":e.type.includes("audio")?"music_video":e.type.includes("image")?new Promise(t=>{let r=new FileReader;r.readAsDataURL(e),r.onload=n=>{t(n.target.result)}}):"draft",Ju=(e,t)=>t.map(n=>n.file).some(({name:n,size:i,type:l,lastModified:a,webkitRelativePath:c})=>n===e.file.name&&i===e.file.size&&l===e.file.type&&a===e.file.lastModified&&c===e.file.webkitRelativePath),Ku=(0,wo.forwardRef)(({mode:e="file",label:t="",buttonLabel:r,dropAreaLabel:n,helperText:i="",accept:l,minSize:a,maxSize:c,showPreview:d=!1,multiple:s=!0,disabled:m=!1,callbackFile:g,value:u,margin:h,tabIndex:y=0},v)=>{let[f,_]=(0,wo.useState)(!1),[x,b]=(0,wo.useState)([]),D=`file-input-${(0,wo.useId)()}`,P=k(),B=J(),M=C=>{if(C.size<a)return B.fileInput.fileSizeGreaterThanErrorMessage;if(C.size>c)return B.fileInput.fileSizeLessThanErrorMessage},H=async C=>(await Promise.all(C.map(T=>lc(T))).then(T=>C.map((L,E)=>({file:L,error:M(L),preview:T[E]})))).filter(T=>!Ju(T,x)),w=async C=>{let I=await H(s||C.length===1?C:[C[0]]),T=s?[...x,...I]:I;g?.(T)},S=C=>{let I=C.target.files,T=Object.keys(I).map(L=>I[L]);w(T),C.target.value=null},z=(0,wo.useCallback)(C=>{let I=[...x],T=I.find(E=>E.file.name===C),L=I.indexOf(T);I.splice(L,1),g?.(I)},[x,g]),G=()=>{document.getElementById(D).click()},V=C=>{C.preventDefault(),C.stopPropagation()},q=C=>{C.dataTransfer.items?.length>0&&_(!0)},W=C=>{C.currentTarget.contains(C.relatedTarget)||_(!1)},A=C=>{C.preventDefault(),C.stopPropagation(),_(!1);let I=C.dataTransfer.files;if(I?.length>0){let T=Object.keys(I).map(L=>I[L]);w(T)}};return(0,wo.useEffect)(()=>{(async()=>{if(u){let I=await Promise.all(u.map(async T=>{if(T.preview)return T;{let L=await lc(T.file);return{...T,preview:L}}}));b(I)}})()},[u]),(0,ve.jsx)(eo.ThemeProvider,{theme:P.fileInput,children:(0,ve.jsxs)(Uu,{margin:h,ref:v,children:[(0,ve.jsx)(Yu,{htmlFor:D,disabled:m,children:t}),(0,ve.jsx)(Zu,{disabled:m,children:i}),e==="file"?(0,ve.jsxs)(qu,{singleFileMode:!s&&x.length===1,children:[(0,ve.jsx)(ac,{id:D,type:"file",accept:l,multiple:s,onChange:S,disabled:m,readOnly:!0}),(0,ve.jsx)(bo,{mode:"secondary",label:r??(s?B.fileInput.multipleButtonLabelDefault:B.fileInput.singleButtonLabelDefault),onClick:G,disabled:m,size:{width:"fitContent"},tabIndex:y}),x.length>0&&(0,ve.jsx)(cc,{children:x.map((C,I)=>(0,ve.jsx)(bi,{fileName:C.file.name,error:C.error,singleFileMode:!s&&x.length===1,showPreview:e==="file"&&!s?!1:d,preview:C.preview,type:C.file.type,onDelete:z,tabIndex:y},`file-${I}`))})]}):(0,ve.jsxs)(Qu,{children:[(0,ve.jsx)(ac,{id:D,type:"file",accept:l,multiple:s,onChange:S,disabled:m,readOnly:!0}),(0,ve.jsxs)(eh,{isDragging:f,disabled:m,mode:e,onDrop:A,onDragEnter:q,onDragOver:V,onDragLeave:W,children:[(0,ve.jsx)(bo,{mode:"secondary",label:r??B.fileInput.dropAreaButtonLabelDefault,onClick:G,disabled:m,size:{width:"fitContent"}}),e==="dropzone"?(0,ve.jsx)(oh,{disabled:m,children:n??(s?B.fileInput.multipleDropAreaLabelDefault:B.fileInput.singleDropAreaLabelDefault)}):(0,ve.jsx)(th,{disabled:m,children:n??(s?B.fileInput.multipleDropAreaLabelDefault:B.fileInput.singleDropAreaLabelDefault)})]}),x.length>0&&(0,ve.jsx)(cc,{children:x.map((C,I)=>(0,ve.jsx)(bi,{fileName:C.file.name,error:C.error,singleFileMode:!1,showPreview:d,preview:C.preview,type:C.file.type,onDelete:z,tabIndex:y},`file-${I}`))})]}),e==="file"&&!s&&x.length===1&&x[0].error&&(0,ve.jsx)(rh,{children:x[0].error})]})})}),Uu=eo.default.div`
2678
+ display: flex;
2679
+ flex-direction: column;
2680
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2681
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2682
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2683
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2684
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2685
+ width: fit-content;
2686
+ `,Yu=eo.default.label`
2687
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
2688
+ font-family: ${e=>e.theme.labelFontFamily};
2689
+ font-size: ${e=>e.theme.labelFontSize};
2690
+ font-weight: ${e=>e.theme.labelFontWeight};
2691
+ line-height: ${e=>e.theme.labelLineHeight};
2692
+ `,Zu=eo.default.span`
2693
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
2694
+ font-family: ${e=>e.theme.helperTextFontFamily};
2695
+ font-size: ${e=>e.theme.helperTextFontSize};
2696
+ font-weight: ${e=>e.theme.helperTextFontWeight};
2697
+ line-height: ${e=>e.theme.helperTextLineHeight};
2698
+ `,qu=eo.default.div`
2699
+ display: flex;
2700
+ ${e=>e.singleFileMode?"flex-direction: row; column-gap: 0.25rem;":"flex-direction: column; row-gap: 0.25rem;"}
2701
+ margin-top: 0.25rem;
2702
+ `,ac=eo.default.input`
2703
+ display: none;
2704
+ `,cc=eo.default.div`
2705
+ display: flex;
2706
+ flex-direction: column;
2707
+ row-gap: 0.25rem;
2708
+ `,Qu=eo.default.div`
2709
+ display: flex;
2710
+ flex-direction: column;
2711
+ row-gap: 0.25rem;
2712
+ margin-top: 0.25rem;
2713
+ `,eh=eo.default.div`
2714
+ box-sizing: border-box;
2715
+ display: flex;
2716
+ ${e=>e.mode==="filedrop"?"flex-direction: row; column-gap: 0.75rem; height: 48px;":"justify-content: center; flex-direction: column; row-gap: 0.5rem; height: 160px;"}
2717
+ align-items: center;
2718
+ width: 320px;
2719
+ padding: ${e=>e.mode==="filedrop"?`calc(4px - ${e.theme.dropBorderThickness}) 1rem calc(4px - ${e.theme.dropBorderThickness}) calc(4px - ${e.theme.dropBorderThickness})`:"1rem"};
2720
+ overflow: hidden;
2721
+ box-shadow: 0 0 0 2px transparent;
2722
+ border-radius: ${e=>e.theme.dropBorderRadius};
2723
+ border-width: ${e=>e.theme.dropBorderThickness};
2724
+ border-style: ${e=>e.theme.dropBorderStyle};
2725
+ border-color: ${e=>e.disabled?e.theme.disabledDropBorderColor:e.theme.dropBorderColor};
2726
+ ${e=>e.isDragging&&`
2727
+ background-color: ${e.theme.dragoverDropBackgroundColor};
2728
+ border-color: transparent;
2729
+ box-shadow: 0 0 0 2px ${e.theme.focusDropBorderColor};
2730
+ `}
2731
+ cursor: ${e=>e.disabled&&"not-allowed"};
2732
+ `,oh=eo.default.div`
2733
+ display: -webkit-box;
2734
+ -webkit-box-orient: vertical;
2735
+ overflow: hidden;
2736
+ text-overflow: ellipsis;
2737
+ -webkit-line-clamp: 3;
2738
+ text-align: center;
2739
+ color: ${e=>e.disabled?e.theme.disabledDropLabelFontColor:e.theme.dropLabelFontColor};
2740
+ font-family: ${e=>e.theme.dropLabelFontFamily};
2741
+ font-size: ${e=>e.theme.dropLabelFontSize};
2742
+ font-weight: ${e=>e.theme.dropLabelFontWeight};
2743
+ `,th=eo.default.span`
2744
+ overflow: hidden;
2745
+ white-space: nowrap;
2746
+ text-overflow: ellipsis;
2747
+ color: ${e=>e.disabled?e.theme.disabledDropLabelFontColor:e.theme.dropLabelFontColor};
2748
+ font-family: ${e=>e.theme.dropLabelFontFamily};
2749
+ font-size: ${e=>e.theme.dropLabelFontSize};
2750
+ font-weight: ${e=>e.theme.dropLabelFontWeight};
2751
+ `,rh=eo.default.div`
2752
+ color: ${e=>e.theme.errorMessageFontColor};
2753
+ font-family: ${e=>e.theme.errorMessageFontFamily};
2754
+ font-size: ${e=>e.theme.errorMessageFontSize};
2755
+ font-weight: ${e=>e.theme.errorMessageFontWeight};
2756
+ line-height: ${e=>e.theme.errorMessageLineHeight};
2757
+ margin-top: 0.25rem;
2758
+ `,dc=Ku;var yi=F(require("styled-components")),gc=require("react/jsx-runtime"),nh=yi.default.div`
2759
+ display: grid;
2760
+ ${({templateColumns:e})=>e&&`grid-template-columns: ${e.join(" ")};`}
2761
+ ${({templateRows:e})=>e&&`grid-template-rows: ${e.join(" ")};`}
2762
+ ${({templateAreas:e})=>e&&`grid-template-areas: ${e.map(t=>`"${t}"`).join(" ")};`}
2763
+ ${({autoColumns:e})=>e&&`grid-auto-columns: ${e};`}
2764
+ ${({autoRows:e})=>e&&`grid-auto-rows: ${e};`}
2765
+ ${({autoFlow:e})=>e&&`grid-auto-flow: ${e};`}
2766
+ ${({gap:e})=>e!=null&&(typeof e=="string"?`gap: ${e};`:`row-gap: ${e.rowGap??""}; column-gap: ${e.columnGap??""};`)}
2767
+ ${({placeItems:e})=>e&&(typeof e=="string"?`place-items: ${e}`:`align-items: ${e.alignItems??""}; justify-items: ${e.justifyItems??""};`)}
2768
+ ${({placeContent:e})=>e&&(typeof e=="string"?`place-content: ${e}`:`align-content: ${e.alignContent??""}; justify-content: ${e.justifyContent??""};`)}
2769
+
2770
+ ${({areaName:e})=>e&&`grid-area: ${e};`}
2771
+ ${({column:e})=>e&&`grid-column: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2772
+ ${({row:e})=>e&&`grid-row: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2773
+ ${({placeSelf:e})=>e&&(typeof e=="string"?`place-self: ${e}`:`align-self: ${e.alignSelf??""}; justify-self: ${e.justifySelf??""};`)}
2774
+ `,ih=yi.default.div`
2775
+ ${({areaName:e})=>e&&`grid-area: ${e};`}
2776
+ ${({column:e})=>e&&`grid-column: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2777
+ ${({row:e})=>e&&`grid-row: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2778
+ ${({placeSelf:e})=>e&&(typeof e=="string"?`place-self: ${e}`:`align-self: ${e.alignSelf??""}; justify-self: ${e.justifySelf??""};`)}
2779
+ `,sc=e=>(0,gc.jsx)(nh,{...e});sc.Item=ih;var mc=sc;var st=F(require("styled-components"));var Et=require("react/jsx-runtime"),lh=({level:e=1,text:t="",as:r,weight:n,margin:i})=>{let l=k(),a=()=>{if(r==="h1"||r==="h2"||r==="h3"||r==="h4"||r==="h5")return r};return(0,Et.jsx)(st.ThemeProvider,{theme:l.heading,children:(0,Et.jsx)(ah,{margin:i,children:e===1?(0,Et.jsx)(ch,{as:a(),weight:n,children:t}):e===2?(0,Et.jsx)(dh,{as:a(),weight:n,children:t}):e===3?(0,Et.jsx)(sh,{as:a(),weight:n,children:t}):e===4?(0,Et.jsx)(mh,{as:a(),weight:n,children:t}):(0,Et.jsx)(gh,{as:a(),weight:n,children:t})})})},ah=st.default.div`
2780
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2781
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2782
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2783
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2784
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2785
+ `,ch=st.default.h1`
2786
+ font-family: ${e=>e.theme.level1FontFamily};
2787
+ font-style: ${e=>e.theme.level1FontStyle};
2788
+ font-size: ${e=>e.theme.level1FontSize};
2789
+ line-height: ${e=>e.theme.level1LineHeight};
2790
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level1FontWeight};
2791
+ letter-spacing: ${e=>e.theme.level1LetterSpacing};
2792
+ color: ${e=>e.theme.level1FontColor};
2793
+ margin: 0;
2794
+ `,dh=st.default.h2`
2795
+ font-family: ${e=>e.theme.level2FontFamily};
2796
+ font-style: ${e=>e.theme.level2FontStyle};
2797
+ font-size: ${e=>e.theme.level2FontSize};
2798
+ line-height: ${e=>e.theme.level2LineHeight};
2799
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level2FontWeight};
2800
+ letter-spacing: ${e=>e.theme.level2LetterSpacing};
2801
+ color: ${e=>e.theme.level2FontColor};
2802
+ margin: 0;
2803
+ `,sh=st.default.h3`
2804
+ font-family: ${e=>e.theme.level3FontFamily};
2805
+ font-style: ${e=>e.theme.level3FontStyle};
2806
+ font-size: ${e=>e.theme.level3FontSize};
2807
+ line-height: ${e=>e.theme.level3LineHeight};
2808
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level3FontWeight};
2809
+ letter-spacing: ${e=>e.theme.level3LetterSpacing};
2810
+ color: ${e=>e.theme.level3FontColor};
2811
+ margin: 0;
2812
+ `,mh=st.default.h4`
2813
+ font-family: ${e=>e.theme.level4FontFamily};
2814
+ font-style: ${e=>e.theme.level4FontStyle};
2815
+ font-size: ${e=>e.theme.level4FontSize};
2816
+ line-height: ${e=>e.theme.level4LineHeight};
2817
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level4FontWeight};
2818
+ letter-spacing: ${e=>e.theme.level4LetterSpacing};
2819
+ color: ${e=>e.theme.level4FontColor};
2820
+ margin: 0;
2821
+ `,gh=st.default.h5`
2822
+ font-family: ${e=>e.theme.level5FontFamily};
2823
+ font-style: ${e=>e.theme.level5FontStyle};
2824
+ font-size: ${e=>e.theme.level5FontSize};
2825
+ line-height: ${e=>e.theme.level5LineHeight};
2826
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level5FontWeight};
2827
+ letter-spacing: ${e=>e.theme.level5LetterSpacing};
2828
+ color: ${e=>e.theme.level5FontColor};
2829
+ margin: 0;
2830
+ `,zn=lh;var An=F(require("styled-components"));var Ko=require("react/jsx-runtime"),ph=({condition:e,wrapper:t,children:r})=>(0,Ko.jsx)(Ko.Fragment,{children:e?t(r):r}),uh=({alt:e,caption:t,lazyLoading:r=!1,src:n,srcSet:i,sizes:l,width:a,height:c,objectFit:d,objectPosition:s,onLoad:m,onError:g})=>{let u=k();return(0,Ko.jsx)(An.ThemeProvider,{theme:u.image,children:(0,Ko.jsx)(ph,{condition:t!=null,wrapper:h=>(0,Ko.jsxs)(hh,{children:[h,(0,Ko.jsx)(Ge,{as:"figcaption",color:u.image.captionFontColor,fontFamily:u.image.captionFontFamily,fontSize:u.image.captionFontSize,fontStyle:u.image.captionFontStyle,fontWeight:u.image.captionFontWeight,lineHeight:u.image.captionLineHeight,children:t})]}),children:(0,Ko.jsx)("img",{alt:e,loading:r?"lazy":void 0,onLoad:m,onError:g,src:n,srcSet:i,sizes:l,style:{objectFit:d,objectPosition:s,width:a,height:c}})})})},hh=An.default.figure`
2831
+ display: flex;
2832
+ flex-direction: column;
2833
+ gap: 1rem;
2834
+ width: fit-content;
2835
+ margin: 0;
2836
+ padding: 0;
2837
+ `,pc=uh;var uc=F(require("styled-components")),hc=require("react/jsx-runtime"),Rn=e=>e||"0rem",fh=uc.default.div`
2838
+ ${({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a})=>`
2839
+ padding: ${Rn(n||r||e)} ${Rn(i||t||e)}
2840
+ ${Rn(l||r||e)} ${Rn(a||t||e)};
2841
+ `}
2842
+ `,bh=({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c})=>(0,hc.jsx)(fh,{space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c}),Yt=bh;var fc=require("react"),yr=F(require("styled-components"));var er=require("react/jsx-runtime"),yh=yr.default.a`
2843
+ all: unset;
2844
+ display: inline-flex;
2845
+ align-items: baseline;
2846
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2847
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2848
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2849
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2850
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2851
+ background: none;
2852
+ border: none;
2853
+ border-radius: 4px;
2854
+ width: fit-content;
2855
+ ${e=>`padding-bottom: ${e.theme.underlineSpacing};`}
2856
+ font-family: ${e=>e.theme.fontFamily};
2857
+ font-size: ${e=>e.theme.fontSize};
2858
+ font-style: ${e=>e.theme.fontStyle};
2859
+ font-weight: ${e=>e.theme.fontWeight};
2860
+ line-height: ${o.type_leading_compact_02};
2861
+ text-decoration: none;
2862
+ color: ${e=>e.inheritColor?"inherit":e.disabled?e.theme.disabledFontColor:e.theme.fontColor};
2863
+ ${e=>e.disabled?"cursor: default;":"cursor: pointer;"}
2864
+ ${e=>e.disabled?"pointer-events: none;":""}
2865
+
2866
+ &:visited {
2867
+ color: ${e=>!e.inheritColor&&!e.disabled?e.theme.visitedFontColor:""};
2868
+ & > span:hover {
2869
+ ${e=>`color: ${e.theme.visitedFontColor};
2870
+ border-bottom-color: ${e.theme.visitedUnderlineColor};`}
2871
+ }
2872
+ }
2873
+ &:focus {
2874
+ outline: 2px solid ${e=>e.theme.focusColor};
2875
+ outline-offset: 2px;
2876
+ ${e=>e.disabled&&"outline: none"}
2877
+ }
2878
+ `,Ch=yr.default.span`
2879
+ ${e=>`border-bottom: ${e.theme.underlineThickness} ${e.theme.underlineStyle} transparent;`}
2880
+ display: inline-flex;
2881
+ align-items: center;
2882
+ ${e=>e.iconPosition==="before"?"flex-direction: row-reverse;":""}
2883
+ gap: ${e=>e.theme.iconSpacing};
2884
+
2885
+ &:hover {
2886
+ ${e=>`color: ${e.theme.hoverFontColor};
2887
+ cursor: pointer;
2888
+ border-bottom-color: ${e.theme.hoverUnderlineColor};`}
2889
+ }
2890
+ &:active {
2891
+ ${e=>`color: ${e.theme.activeFontColor} !important;
2892
+ border-bottom-color: ${e.theme.activeUnderlineColor} !important;`}
2893
+ }
2894
+ `,xh=yr.default.div`
2895
+ display: flex;
2896
+ font-size: ${e=>e.theme.iconSize};
2897
+ svg {
2898
+ width: ${e=>e.theme.iconSize};
2899
+ height: ${e=>e.theme.iconSize};
2900
+ }
2901
+ `,_h=(0,fc.forwardRef)(({inheritColor:e=!1,disabled:t=!1,icon:r,iconPosition:n="before",href:i="",newWindow:l=!1,onClick:a,margin:c,tabIndex:d=0,children:s,...m},g)=>{let u=k();return(0,er.jsx)(yr.ThemeProvider,{theme:u.link,children:(0,er.jsx)(yh,{as:a&&!i?"button":"a",tabIndex:d,onClick:t?void 0:a,href:!t&&i?i:void 0,target:i?l?"_blank":"_self":void 0,disabled:t,inheritColor:e,margin:c,ref:g,...m,children:(0,er.jsxs)(Ch,{iconPosition:n,inheritColor:e,children:[s,r&&(0,er.jsx)(xh,{children:typeof r=="string"?(0,er.jsx)($,{icon:r}):r})]})})})}),bc=_h;var So=require("react"),Gr=F(require("styled-components"));var yc=require("react"),Hn=(0,yc.createContext)(null);var Wt=require("react"),Mn=F(require("styled-components"));var mt=require("react/jsx-runtime"),$h=(0,Wt.forwardRef)(({href:e,active:t=!1,icon:r,disabled:n=!1,notificationNumber:i=!1,children:l,...a},c)=>{let d=(0,Wt.useRef)(),s=k(),{iconPosition:m,tabIndex:g,focusedLabel:u}=(0,Wt.useContext)(Hn);(0,Wt.useEffect)(()=>{u===l.toString()&&d?.current?.focus()},[u]);let h=y=>{switch(y.key){case" ":case"Enter":y.preventDefault(),d?.current?.click();break}};return(0,mt.jsx)(vh,{active:t,children:(0,mt.jsxs)(Th,{href:n?void 0:e,disabled:n,active:t,iconPosition:m,hasIcon:r!=null,ref:y=>{d.current=y,c&&(typeof c=="function"?c(y):c.current=y)},onKeyDown:h,tabIndex:t?g:-1,role:"tab","aria-selected":t,"aria-disabled":n,...a,children:[r&&(0,mt.jsx)(kh,{iconPosition:m,active:t,disabled:n,children:typeof r=="string"?(0,mt.jsx)($,{icon:r}):r}),(0,mt.jsxs)(ne,{alignItems:"center",gap:"0.5rem",children:[(0,mt.jsx)(Ge,{color:n?s.navTabs.disabledFontColor:t?s.navTabs.selectedFontColor:s.navTabs.unselectedFontColor,fontFamily:s.navTabs.fontFamily,fontSize:s.navTabs.fontSize,fontStyle:s.navTabs.fontStyle,fontWeight:s.navTabs.fontWeight,textAlign:"center",letterSpacing:"0.025em",lineHeight:"1.715em",children:l}),i&&!n&&(0,mt.jsx)($t,{mode:"notification",size:"small",label:typeof i=="number"&&i})]})]})})}),vh=Mn.default.div`
2902
+ align-items: stretch;
2903
+ border-bottom: 2px solid ${e=>e.active?e.theme.selectedUnderlineColor:"transparent"};
2904
+ padding: 0.5rem;
2905
+ `,Th=Mn.default.a`
2906
+ box-sizing: border-box;
2907
+ display: flex;
2908
+ flex-direction: ${e=>e.hasIcon&&e.iconPosition==="top"?"column":"row"};
2909
+ justify-content: center;
2910
+ align-items: center;
2911
+ gap: ${e=>e.hasIcon&&e.iconPosition==="top"?"0.375rem":"0.625rem"};
2912
+ height: ${e=>e.hasIcon&&e.iconPosition==="top"?"78px":"100%"};
2913
+ min-width: 176px;
2914
+ min-height: 44px;
2915
+ padding: 0.375rem;
2916
+ border-radius: 4px;
2917
+ background: ${e=>e.active?e.theme.selectedBackgroundColor:e.theme.unselectedBackgroundColor};
2918
+ text-decoration-color: transparent;
2919
+ text-decoration-line: none;
2920
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
2921
+
2922
+ ${e=>!e.disabled&&`
2923
+ :hover {
2924
+ background: ${e.theme.hoverBackgroundColor};
2925
+ }
2926
+ :focus {
2927
+ outline: 2px solid ${e.theme.focusOutline};
2928
+ }
2929
+ :active {
2930
+ background: ${e.theme.pressedBackgroundColor};
2931
+ outline: 2px solid #33aaff};
2932
+ }
2933
+ `}
2934
+ `,kh=Mn.default.div`
2935
+ display: flex;
2936
+ font-size: 24px;
2937
+ color: ${e=>e.active?e.theme.selectedIconColor:e.disabled?e.theme.disabledIconColor:e.theme.unselectedIconColor};
2938
+ svg {
2939
+ height: 24px;
2940
+ width: 24px;
2941
+ }
2942
+ `,Cc=$h;var Cr=require("react/jsx-runtime"),En=(e,t)=>e.props?e.props[t]?e.props[t]:e.props.children?En(e.props.children,t):void 0:void 0,Ci=e=>{if(typeof e=="string")return e.toString();if(e.props.children)return Array.isArray(e.props.children)?Ci(e.props.children[0]):Ci(e.props.children)},Fh=(e,t)=>{let r=t===0?e.length-1:t-1;for(;En(e[r],"disabled");)r=r===0?e.length-1:r-1;return r},wh=(e,t)=>{let r=t===e.length-1?0:t+1;for(;En(e[r],"disabled");)r=r===e.length-1?0:r+1;return r},xc=({iconPosition:e="top",tabIndex:t=0,children:r})=>{let[n,i]=(0,So.useState)(null),[l,a]=(0,So.useState)(null),c=(0,So.useRef)(null),d=k();(0,So.useEffect)(()=>{a(c?.current?.scrollWidth)},[r]);let s=(0,So.useMemo)(()=>({iconPosition:e,tabIndex:t,focusedLabel:n===null?void 0:Ci(r[n])}),[e,t,n]),m=g=>{let u=So.Children.toArray(r).findIndex(h=>En(h,"active"));switch(g.key){case"Left":case"ArrowLeft":g.preventDefault(),i(Fh(r,n===null?u:n));break;case"Right":case"ArrowRight":g.preventDefault(),i(wh(r,n===null?u:n));break}};return(0,Cr.jsx)(Gr.ThemeProvider,{theme:d.navTabs,children:(0,Cr.jsxs)(Ih,{onKeyDown:m,ref:c,role:"tablist","aria-label":"Navigation tabs",children:[(0,Cr.jsx)(Hn.Provider,{value:s,children:r}),(0,Cr.jsx)(Sh,{underlineWidth:l})]})})},Sh=Gr.default.div`
2943
+ position: absolute;
2944
+ bottom: 0;
2945
+ left: 0;
2946
+ height: 2px;
2947
+ background-color: ${e=>e.theme.dividerColor};
2948
+ z-index: -1;
2949
+ width: ${e=>e.underlineWidth}px;
2950
+ `;xc.Tab=Cc;var Ih=Gr.default.div`
2951
+ display: flex;
2952
+ position: relative;
2953
+ overflow: auto;
2954
+ z-index: 0;
2955
+ `,_c=xc;var xr=require("react"),$c=F(require("styled-components"));var Wn=require("react/jsx-runtime"),Bh=(0,xr.forwardRef)(({label:e,name:t,defaultValue:r,value:n,helperText:i,placeholder:l,disabled:a,optional:c,readOnly:d,prefix:s,suffix:m,min:g,max:u,step:h=1,onChange:y,onBlur:v,error:f,autocomplete:_,margin:x,size:b,tabIndex:D},P)=>{let B=(0,xr.useRef)(null);return(0,xr.useEffect)(()=>{let M=B.current?.getElementsByTagName("input")[0],H=w=>{w.preventDefault()};return M?.addEventListener("wheel",H,{passive:!1}),()=>{M?.removeEventListener("wheel",H)}},[]),(0,Wn.jsx)(Pn.Provider,{value:{typeNumber:"number",minNumber:g,maxNumber:u,stepNumber:h},children:(0,Wn.jsx)(Ph,{ref:B,size:b,children:(0,Wn.jsx)(jo,{label:e,name:t,defaultValue:r,value:n,helperText:i,placeholder:l,disabled:a,optional:c,readOnly:d,prefix:s,suffix:m,error:f,onChange:y,onBlur:v,autocomplete:_,margin:x,size:b,tabIndex:D,ref:P})})})}),Ph=$c.default.div`
2956
+ ${e=>e.size=="fillParent"&&"width: 100%;"}
2957
+ // Chrome, Safari, Edge, Opera
2958
+ input::-webkit-outer-spin-button,
2959
+ input::-webkit-inner-spin-button {
2960
+ -webkit-appearance: none;
2961
+ margin: 0;
2962
+ }
2963
+
2964
+ // Firefox
2965
+ input[type="number"] {
2966
+ -moz-appearance: textfield;
2967
+ }
2968
+ `,vc=Bh;var kc=require("react/jsx-runtime"),Lh=({children:e})=>{let t=k();return(0,kc.jsx)(Ge,{as:"p",display:t.paragraph.display,fontSize:t.paragraph.fontSize,fontWeight:t.paragraph.fontWeight,color:t.paragraph.fontColor,children:e})},Tc=Lh;var Ot=require("react"),Sc=F(require("styled-components"));var xi=require("react/jsx-runtime"),Fc=(e,t)=>{t?.getElementsByTagName("input")[0].setAttribute("type",e)},wc=(e,t,r)=>{let n=r?.getElementsByTagName("button")[0];n?.setAttribute("aria-expanded",e),n?.setAttribute("aria-label",t)},Dh=(0,Ot.forwardRef)(({label:e,name:t="",value:r,helperText:n,clearable:i=!1,onChange:l,onBlur:a,error:c,pattern:d,minLength:s,maxLength:m,autocomplete:g="off",margin:u,size:h="medium",tabIndex:y=0},v)=>{let[f,_]=(0,Ot.useState)(!1),x=(0,Ot.useRef)(null),{passwordInput:b}=J();return(0,Ot.useEffect)(()=>{f?(Fc("text",x.current),wc("true",b.inputHidePasswordTitle,x.current)):(Fc("password",x.current),wc("false",b.inputShowPasswordTitle,x.current))},[f,b]),(0,xi.jsx)(zh,{ref:v,role:"group",size:h,children:(0,xi.jsx)(jo,{label:e,name:t,value:r,helperText:n,action:{onClick:()=>{_(D=>!D)},icon:f?"Visibility_Off":"Visibility",title:f?b.inputHidePasswordTitle:b.inputShowPasswordTitle},error:c,clearable:i,onChange:l,onBlur:a,margin:u,size:h,pattern:d,minLength:s,maxLength:m,autocomplete:g,ref:x,tabIndex:y})})}),zh=Sc.default.div`
2969
+ ${e=>e.size=="fillParent"&&"width: 100%;"}
2970
+ & ::-ms-reveal {
2971
+ display: none;
2972
+ }
2973
+ `,Ic=Dh;var On=require("react"),Bo=F(require("styled-components"));var Io=require("react/jsx-runtime"),Ah=({label:e="",helperText:t="",overlay:r=!1,value:n,showValue:i=!1,margin:l})=>{let a=k(),[c,d]=(0,On.useState)(0);return(0,On.useEffect)(()=>{d(n==null||n<0?0:n>=0&&n<=100?n:100)},[n]),(0,Io.jsx)(Bo.ThemeProvider,{theme:a.progressBar,children:(0,Io.jsx)(Rh,{overlay:r,children:(0,Io.jsxs)(Hh,{overlay:r,margin:l,children:[(0,Io.jsxs)(Mh,{children:[(0,Io.jsx)(Eh,{overlay:r,children:e}),(0,Io.jsxs)(Wh,{overlay:r,showValue:i,value:c,children:[c," %"]})]}),(0,Io.jsx)(Gh,{role:"progressbar",helperText:t,"aria-valuenow":i?c:void 0,"aria-valuemin":0,"aria-valuemax":100,"aria-label":e||"Progress Bar",children:(0,Io.jsx)(Nh,{variant:n==null?"indeterminate":"determinate",container:"first",value:c})}),t&&(0,Io.jsx)(Oh,{overlay:r,children:t})]})})})},Rh=Bo.default.div`
2974
+ ${({overlay:e,theme:t})=>e?`background-color: ${t.overlayColor};
2975
+ width: 100%;
2976
+ justify-content: center;
2977
+ height: 100vh;
2978
+ align-items: center;
2979
+ max-width: 100%;
2980
+ position: fixed;
2981
+ top: 0;
2982
+ bottom: 0;
2983
+ left: 0;
2984
+ right: 0;
2985
+ z-index: 1300;`:'background-color: "transparent";'}
2986
+ display: flex;
2987
+ flex-wrap: wrap;
2988
+ min-width: 100px;
2989
+ width: 100%;
2990
+ `,Hh=Bo.default.div`
2991
+ z-index: ${e=>e.overlay===!0&&"100"||"0"};
2992
+ width: ${e=>e.overlay===!0?"80%":"100%"};
2993
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2994
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2995
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2996
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2997
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2998
+ `,Mh=Bo.default.div`
2999
+ display: flex;
3000
+ flex-direction: row;
3001
+ width: 685px;
3002
+ flex-wrap: wrap;
3003
+ width: 100%;
3004
+ margin-bottom: 8px;
3005
+ align-items: baseline;
3006
+ justify-content: space-between;
3007
+ `,Eh=Bo.default.div`
3008
+ font-family: ${e=>e.theme.labelFontFamily};
3009
+ font-style: ${e=>e.theme.labelFontStyle};
3010
+ font-size: ${e=>e.theme.labelFontSize};
3011
+ font-weight: ${e=>e.theme.labelFontWeight};
3012
+ text-transform: ${e=>e.theme.labelFontTextTransform};
3013
+ color: ${e=>e.overlay===!0?e.theme.overlayFontColor:e.theme.labelFontColor};
3014
+ overflow: hidden;
3015
+ text-overflow: ellipsis;
3016
+ white-space: nowrap;
3017
+ text-overflow: ellipsis;
3018
+ `,Wh=Bo.default.div`
3019
+ font-family: ${e=>e.theme.valueFontFamily};
3020
+ font-style: ${e=>e.theme.valueFontStyle};
3021
+ font-size: ${e=>e.theme.valueFontSize};
3022
+ font-weight: ${e=>e.theme.valueFontWeight};
3023
+ text-transform: ${e=>e.theme.valueFontTextTransform};
3024
+ color: ${e=>e.overlay===!0?e.theme.overlayFontColor:e.theme.valueFontColor};
3025
+ display: ${e=>e.value!==void 0&&e.value!==null&&e.showValue===!0&&"block"||"none"};
3026
+ flex-shrink: 0;
3027
+ `,Oh=Bo.default.span`
3028
+ color: ${e=>e.overlay===!0?e.theme.overlayFontColor:e.theme.helperTextFontColor};
3029
+ font-family: ${e=>e.theme.helperTextFontFamily};
3030
+ font-size: ${e=>e.theme.helperTextFontSize};
3031
+ font-style: ${e=>e.theme.helperTextFontStyle};
3032
+ font-weight: ${e=>e.theme.helperTextFontWeight};
3033
+ line-height: 1.5em;
3034
+ `,Gh=Bo.default.div`
3035
+ height: ${e=>e.theme.thickness};
3036
+ background-color: ${e=>e.theme.totalLineColor};
3037
+ border-radius: ${e=>e.theme.borderRadius};
3038
+ margin-bottom: ${e=>e.helperText!==""&&"8px"};
3039
+ overflow: hidden;
3040
+ position: relative;
3041
+ `,Nh=Bo.default.span`
3042
+ background-color: ${e=>e.theme.trackLineColor};
3043
+ transform: ${e=>`translateX(-${e.variant==="determinate"?100-e.value:0}%)`};
3044
+ top: 0;
3045
+ left: 0;
3046
+ width: 100%;
3047
+ bottom: 0;
3048
+ position: absolute;
3049
+ transition: ${e=>e.variant==="determinate"?"transform .4s linear":"transform 0.2s linear"};
3050
+ transform-origin: left;
3051
+ ${e=>e.variant==="indeterminate"&&"width: auto;"};
3052
+ ${e=>e.variant==="indeterminate"?e.container==="first"?"animation: keyframes-indeterminate-first 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;":"animation: keyframes-indeterminate-second 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;":""};
3053
+
3054
+ @keyframes keyframes-indeterminate-first {
3055
+ 0% {
3056
+ left: -35%;
3057
+ right: 100%;
3058
+ }
3059
+ 60% {
3060
+ left: 100%;
3061
+ right: -90%;
3062
+ }
3063
+ 100% {
3064
+ left: 100%;
3065
+ right: -90%;
3066
+ }
3067
+ }
3068
+
3069
+ @keyframes keyframes-indeterminate-second {
3070
+ 0% {
3071
+ left: -200%;
3072
+ right: 100%;
3073
+ }
3074
+ 60% {
3075
+ left: 107%;
3076
+ right: -8%;
3077
+ }
3078
+ 100% {
3079
+ left: 107%;
3080
+ right: -8%;
3081
+ }
3082
+ }
3083
+ `,Bc=Ah;var Gn=F(require("slugify")),or=F(require("styled-components"));var Oe=require("react/jsx-runtime"),Vh=({title:e,links:t})=>{let r=J(),n=k();return(0,Oe.jsx)(or.ThemeProvider,{theme:n.quickNav,children:(0,Oe.jsx)(jh,{children:(0,Oe.jsxs)(ne,{direction:"column",gap:"0.5rem",children:[(0,Oe.jsx)(zn,{level:4,text:e||r.quickNav.contentTitle}),(0,Oe.jsx)(Xh,{children:t.map(i=>(0,Oe.jsx)("li",{children:(0,Oe.jsx)(Yt,{space:"0.25rem",children:(0,Oe.jsxs)(vt,{children:[(0,Oe.jsx)(Pc,{href:`#${(0,Gn.default)(i?.label,{lower:!0})}`,children:i?.label}),(0,Oe.jsx)(Jh,{children:i.links?.map(l=>(0,Oe.jsx)("li",{children:(0,Oe.jsx)(Yt,{horizontal:"0.5rem",children:(0,Oe.jsx)(vt,{children:(0,Oe.jsx)(Pc,{href:`#${(0,Gn.default)(i?.label,{lower:!0})}-${(0,Gn.default)(l?.label,{lower:!0})}`,children:l?.label})})})},l.label))})]})})},i.label))})]})})})},jh=or.default.div`
3084
+ padding-top: ${e=>e.theme.paddingTop};
3085
+ padding-bottom: ${e=>e.theme.paddingBottom};
3086
+ padding-left: ${e=>e.theme.paddingLeft};
3087
+ padding-right: ${e=>e.theme.paddingRight};
3088
+ border-left: 2px solid ${e=>e.theme.dividerBorderColor};
3089
+ `,Xh=or.default.ul`
3090
+ display: flex;
3091
+ flex-direction: column;
3092
+ gap: 0.5rem;
3093
+ margin: 0;
3094
+ padding: 0;
3095
+ list-style-type: none;
3096
+ `,Jh=or.default.ul`
3097
+ display: flex;
3098
+ flex-direction: column;
3099
+ margin: 0;
3100
+ padding: 0;
3101
+ list-style-type: none;
3102
+ `,Pc=or.default.a`
3103
+ text-decoration: none;
3104
+ font-size: ${e=>e.theme.fontSize};
3105
+ font-family: ${e=>e.theme.fontFamily};
3106
+ font-style: ${e=>e.theme.fontStyle};
3107
+ font-weight: ${e=>e.theme.fontWeight};
3108
+ color: ${e=>e.theme.fontColor};
3109
+ display: block;
3110
+ text-overflow: ellipsis;
3111
+ white-space: nowrap;
3112
+ overflow: hidden;
3113
+ width: fit-content;
3114
+ max-width: 100%;
3115
+
3116
+ &:hover {
3117
+ color: ${e=>e.theme.hoverFontColor};
3118
+ }
3119
+ &:focus {
3120
+ outline-color: ${e=>e.theme.focusBorderColor};
3121
+ outline-style: ${e=>e.theme.focusBorderStyle};
3122
+ outline-width: ${e=>e.theme.focusBorderThickness};
3123
+ border-radius: ${e=>e.theme.focusBorderRadius};
3124
+ }
3125
+ `,Lc=Vh;var xo=require("react"),Yo=F(require("styled-components"));var Uo=require("react"),Gt=F(require("styled-components"));var gt=require("react/jsx-runtime"),Kh=({label:e,checked:t,onClick:r,error:n,disabled:i,focused:l,readOnly:a,tabIndex:c})=>{let d=`radio-${(0,Uo.useId)()}`,s=(0,Uo.useRef)(null),m=k(),g=()=>{r(),document.activeElement!==s?.current&&s?.current?.focus()},[u,h]=(0,Uo.useState)(!0);return(0,Uo.useEffect)(()=>{if(u){h(!1);return}l&&s?.current?.focus()},[l]),(0,gt.jsx)(Gt.ThemeProvider,{theme:m.radioGroup,children:(0,gt.jsx)(ne,{children:(0,gt.jsxs)(Zh,{error:n,disabled:i,readOnly:a,onClick:i?void 0:g,children:[(0,gt.jsx)(Uh,{children:(0,gt.jsx)(_i,{error:n,disabled:i,readOnly:a,role:"radio","aria-checked":t,"aria-disabled":i,"aria-labelledby":d,tabIndex:i?-1:l?c:-1,ref:s,children:t&&(0,gt.jsx)($i,{disabled:i,readOnly:a,error:n})})}),(0,gt.jsx)(Yh,{id:d,disabled:i,children:e})]})})})},_r=(e,t)=>{switch(t){case"enabled":return e.disabled?e.theme.disabledRadioInputColor:e.error?e.theme.errorRadioInputColor:e.readOnly?e.theme.readOnlyRadioInputColor:e.theme.radioInputColor;case"hover":return e.error?e.theme.hoverErrorRadioInputColor:e.readOnly?e.theme.hoverReadOnlyRadioInputColor:e.theme.hoverRadioInputColor;case"active":return e.error?e.theme.activeErrorRadioInputColor:e.readOnly?e.theme.activeReadOnlyRadioInputColor:e.theme.activeRadioInputColor}},Uh=Gt.default.span`
3126
+ display: flex;
3127
+ align-items: center;
3128
+ justify-content: center;
3129
+ height: 24px;
3130
+ width: 24px;
3131
+ `,_i=Gt.default.span`
3132
+ box-sizing: border-box;
3133
+ display: flex;
3134
+ align-items: center;
3135
+ justify-content: center;
3136
+ width: 18px;
3137
+ height: 18px;
3138
+ border: 2px solid ${e=>_r(e,"enabled")};
3139
+ border-radius: 50%;
3140
+
3141
+ &:focus {
3142
+ outline: 2px solid ${e=>e.theme.focusBorderColor};
3143
+ outline-offset: 1px;
3144
+ }
3145
+ ${e=>e.disabled&&"pointer-events: none;"}
3146
+ `,$i=Gt.default.span`
3147
+ height: 10px;
3148
+ width: 10px;
3149
+ border-radius: 50%;
3150
+ background-color: ${e=>_r(e,"enabled")};
3151
+ `,Yh=Gt.default.span`
3152
+ margin-left: ${e=>e.theme.radioInputLabelMargin};
3153
+ font-family: ${e=>e.theme.fontFamily};
3154
+ font-size: ${e=>e.theme.radioInputLabelFontSize};
3155
+ font-style: ${e=>e.theme.radioInputLabelFontStyle};
3156
+ font-weight: ${e=>e.theme.radioInputLabelFontWeight};
3157
+ line-height: ${e=>e.theme.radioInputLabelLineHeight};
3158
+ ${e=>e.disabled?`color: ${e.theme.disabledRadioInputLabelFontColor};`:`color: ${e.theme.radioInputLabelFontColor}`}
3159
+ `,Zh=Gt.default.span`
3160
+ display: inline-flex;
3161
+ align-items: center;
3162
+ cursor: ${e=>e.disabled?"not-allowed":e.readOnly?"default":"pointer"};
3163
+
3164
+ &:hover {
3165
+ ${_i} {
3166
+ border-color: ${e=>!e.disabled&&_r(e,"hover")};
3167
+ }
3168
+ ${$i} {
3169
+ background-color: ${e=>!e.disabled&&_r(e,"hover")};
3170
+ }
3171
+ }
3172
+ &:active {
3173
+ ${_i} {
3174
+ border-color: ${e=>!e.disabled&&_r(e,"active")};
3175
+ }
3176
+ ${$i} {
3177
+ background-color: ${e=>!e.disabled&&_r(e,"active")};
3178
+ }
3179
+ }
3180
+ `,Dc=(0,Uo.memo)(Kh);var Po=require("react/jsx-runtime"),qh=(e,t)=>{let r=e.findIndex(n=>n.value===t);return r!==-1?r:0},Qh=(0,xo.forwardRef)(({label:e,name:t,helperText:r,options:n,disabled:i=!1,optional:l=!1,optionalItemLabel:a,readOnly:c=!1,stacking:d="column",defaultValue:s,value:m,onChange:g,onBlur:u,error:h,tabIndex:y=0},v)=>{let f=`radio-group-${(0,xo.useId)()}`,_=`label-${f}`,x=`error-${f}`,[b,D]=(0,xo.useState)(s),[P,B]=(0,xo.useState)(!0),M=k(),H=J(),w=(0,xo.useMemo)(()=>l?[...n,{label:a??H.radioGroup.optionalItemLabelDefault,value:"",disabled:i}]:n,[l,n,a,H]),[S,z]=(0,xo.useState)(qh(w,m??b)),G=(0,xo.useCallback)(I=>{I!==(m??b)&&!c&&(m??D(I),g?.(I))},[m,b,g]),V=I=>{if(!I.currentTarget.contains(I.relatedTarget)){B(!0);let T=m??b;u?.(!l&&!T?{value:T,error:H.formFields.requiredSelectionErrorMessage}:{value:T})}},q=()=>{P&&B(!1)},W=()=>{z(I=>{let T=I===0?w.length-1:I-1;for(;w[T].disabled;)T=T===0?w.length-1:T-1;return G(w[T].value),T})},A=()=>{z(I=>{let T=I===w.length-1?0:I+1;for(;w[T].disabled;)T=T===w.length-1?0:T+1;return G(w[T].value),T})},C=I=>{switch(I.key){case"Left":case"ArrowLeft":case"Up":case"ArrowUp":I.preventDefault(),W();break;case"Right":case"ArrowRight":case"Down":case"ArrowDown":I.preventDefault(),A();break;case" ":I.preventDefault(),G(w[S].value);break}};return(0,Po.jsx)(Yo.ThemeProvider,{theme:M.radioGroup,children:(0,Po.jsxs)(ef,{ref:v,children:[e&&(0,Po.jsxs)(of,{id:_,helperText:r,disabled:i,children:[e,l&&(0,Po.jsx)(tf,{children:` ${H.formFields.optionalLabel}`})]}),r&&(0,Po.jsx)(rf,{disabled:i,children:r}),(0,Po.jsxs)(nf,{onBlur:V,onFocus:q,onKeyDown:C,stacking:d,role:"radiogroup","aria-disabled":i,"aria-labelledby":_,"aria-invalid":!!h,"aria-errormessage":h?x:void 0,"aria-required":!i&&!c&&!l,"aria-readonly":c,"aria-orientation":d==="column"?"vertical":"horizontal",children:[(0,Po.jsx)(lf,{name:t,disabled:i,value:m??b??"",readOnly:!0}),w.map((I,T)=>(0,Po.jsx)(Dc,{label:I.label,checked:(m??b)===I.value,onClick:()=>{G(I.value),z(T)},error:h,disabled:I.disabled||i,focused:S===T,readOnly:c,tabIndex:y},`radio-${T}`))]}),!i&&typeof h=="string"&&(0,Po.jsx)(af,{id:x,role:"alert","aria-live":h?"assertive":"off",children:h})]})})}),ef=Yo.default.div`
3181
+ box-sizing: border-box;
3182
+ display: inline-flex;
3183
+ flex-direction: column;
3184
+ `,of=Yo.default.span`
3185
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
3186
+ font-family: ${e=>e.theme.fontFamily};
3187
+ font-size: ${e=>e.theme.labelFontSize};
3188
+ font-style: ${e=>e.theme.labelFontStyle};
3189
+ font-weight: ${e=>e.theme.labelFontWeight};
3190
+ line-height: ${e=>e.theme.labelLineHeight};
3191
+ ${e=>!e.helperText&&`margin-bottom: ${e.theme.groupLabelMargin}`}
3192
+ `,tf=Yo.default.span`
3193
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
3194
+ `,rf=Yo.default.span`
3195
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
3196
+ font-family: ${e=>e.theme.fontFamily};
3197
+ font-size: ${e=>e.theme.helperTextFontSize};
3198
+ font-style: ${e=>e.theme.helperTextFontStyle};
3199
+ font-weight: ${e=>e.theme.helperTextFontWeight};
3200
+ line-height: ${e=>e.theme.helperTextLineHeight};
3201
+ margin-bottom: ${e=>e.theme.groupLabelMargin};
3202
+ `,nf=Yo.default.div`
3203
+ display: flex;
3204
+ flex-wrap: wrap;
3205
+ flex-direction: ${e=>e.stacking};
3206
+ row-gap: ${e=>e.theme.groupVerticalGutter};
3207
+ column-gap: ${e=>e.theme.groupHorizontalGutter};
3208
+ `,lf=Yo.default.input`
3209
+ display: none;
3210
+ `,af=Yo.default.span`
3211
+ min-height: 1.5em;
3212
+ color: ${e=>e.theme.errorMessageColor};
3213
+ font-family: ${e=>e.theme.fontFamily};
3214
+ font-size: 0.75rem;
3215
+ font-weight: 400;
3216
+ line-height: 1.5em;
3217
+ margin-top: 0.5rem;
3218
+ `,zc=Qh;var oo=require("react"),$r=F(require("styled-components"));var Lo=require("react/jsx-runtime"),cf={arrowUp:(0,Lo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",fill:"currentColor",children:[(0,Lo.jsx)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,Lo.jsx)("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"})]}),arrowDown:(0,Lo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",fill:"currentColor",children:[(0,Lo.jsx)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,Lo.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"})]}),bothArrows:(0,Lo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",fill:"currentColor",children:[(0,Lo.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,Lo.jsx)("path",{d:"M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z"})]})},Nn=cf;var Xe=require("react/jsx-runtime"),Ac=e=>typeof e=="string"?e.toUpperCase():e,Rc=e=>e instanceof Date,df=(e,t,r)=>r.slice().sort((n,i)=>{let l=Ac(n?.cells[e]?.sortValue||n?.cells[e]?.displayValue),a=Ac(i?.cells[e]?.sortValue||i?.cells[e]?.displayValue),c=0;return typeof l=="object"&&!Rc(l)?c=-1:typeof a=="object"&&!Rc(a)||l>a?c=1:l<a&&(c=-1),t==="descending"?c*-1:c}),sf=(e,t,r)=>e===1?0:t*(r-1),mf=(e,t,r,n)=>e+t>r.length?r.length:t*n-1,gf=e=>e.length>0?e.map((t,r)=>({cells:t,id:`row_${r}`})):[],Hc=({columns:e,rows:t,hidePaginator:r=!1,showGoToPage:n=!0,itemsPerPage:i=5,itemsPerPageOptions:l,itemsPerPageFunction:a,margin:c,tabIndex:d=0,mode:s="default"})=>{let m=k(),[g,u]=(0,oo.useState)(1),[h,y]=(0,oo.useState)(-1),[v,f]=(0,oo.useState)("ascending"),_=(0,oo.useRef)(t.length),x=(0,oo.useMemo)(()=>gf(t),[t]),b=(0,oo.useMemo)(()=>sf(g,i,g),[i,g]),D=(0,oo.useMemo)(()=>mf(b,i,t,g),[i,b,g,t]),P=(0,oo.useMemo)(()=>h!==-1?df(h,v,x):x,[h,v,x]),B=(0,oo.useMemo)(()=>P&&P.slice(b,D+1),[P,b,D]),M=w=>{u(w)},H=w=>{u(1),y(w),f(h===-1||h!==w?"ascending":v==="ascending"?"descending":"ascending")};return(0,oo.useEffect)(()=>{if(!r){if(t.length===0)u(0);else if(g===0)u(1);else if(t.length<_.current){let w=Math.ceil(t.length/i),S=Math.ceil(_.current/i);w<S&&u(Math.min(w,g))}_.current=t.length}},[t.length]),(0,Xe.jsx)($r.ThemeProvider,{theme:m.table,children:(0,Xe.jsxs)(uf,{margin:c,children:[(0,Xe.jsxs)(Bn,{mode:s,children:[(0,Xe.jsx)("thead",{children:(0,Xe.jsx)("tr",{children:e.map((w,S)=>(0,Xe.jsx)("th",{"aria-sort":w.isSortable?h===S?v:"none":void 0,children:(0,Xe.jsxs)(hf,{role:w.isSortable?"button":void 0,onClick:()=>{w.isSortable&&H(S)},tabIndex:w.isSortable?d:-1,isSortable:w.isSortable,mode:s,"aria-label":w.isSortable?"Sort column":void 0,children:[(0,Xe.jsx)("span",{children:w.displayValue}),w.isSortable&&(0,Xe.jsx)(ff,{children:h===S?v==="ascending"?Nn.arrowUp:Nn.arrowDown:Nn.bothArrows})]},`headerContainer_${S}`)},`tableHeader_${S}`))})}),(0,Xe.jsx)("tbody",{children:B.map(w=>(0,Xe.jsx)("tr",{children:w.cells.map((S,z)=>(0,Xe.jsx)("td",{children:S.displayValue},`resultSetTableCellContent_${z}`))},`resultSetTableCell_${w.id}`))})]}),!r&&(0,Xe.jsx)(ur,{totalItems:t.length,itemsPerPage:i,itemsPerPageOptions:l,itemsPerPageFunction:a,currentPage:g,showGoToPage:n,onPageChange:M,tabIndex:d})]})})},pf=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,uf=$r.default.div`
3219
+ width: ${e=>pf(e.margin)};
3220
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3221
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3222
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3223
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3224
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3225
+ `,hf=$r.default.span`
3226
+ display: flex;
3227
+ align-items: center;
3228
+ justify-content: ${e=>e.theme.headerTextAlign==="center"?"center":e.theme.headerTextAlign==="right"?"flex-end":"flex-start"};
3229
+ gap: ${o.spacing_8};
3230
+ width: fit-content;
3231
+ border: 1px solid transparent;
3232
+ border-radius: 2px;
3233
+ cursor: ${e=>e.isSortable?"pointer":"default"};
3234
+
3235
+ ${e=>e.isSortable&&`&:focus {
3236
+ outline: #0095ff solid 2px;
3237
+ }`}
3238
+ `,ff=$r.default.span`
3239
+ display: flex;
3240
+ height: 14px;
3241
+ width: 14px;
3242
+ color: ${e=>e.theme.sortIconColor};
3243
+
3244
+ svg {
3245
+ height: 100%;
3246
+ width: 100%;
3247
+ }
3248
+ `;Hc.ActionsCell=Wr;var Mc=Hc;var Do=require("react"),Ke=F(require("styled-components"));var Je=require("react/jsx-runtime"),bf=(0,Do.forwardRef)(({label:e="",name:t="",defaultValue:r,value:n,helperText:i="",minValue:l=0,maxValue:a=100,step:c=1,showLimitsValues:d=!1,showInput:s=!1,disabled:m=!1,marks:g=!1,onChange:u,onDragEnd:h,labelFormatCallback:y,margin:v,size:f="fillParent"},_)=>{let x=`label-${(0,Do.useId)()}`,[b,D]=(0,Do.useState)(r??0),[P,B]=(0,Do.useState)(!1),M=k(),H=navigator?.userAgent.indexOf("Firefox")!==-1,w=(0,Do.useMemo)(()=>y?y(l):l,[y,l]),S=(0,Do.useMemo)(()=>y?y(a):a,[y,a]),z=(0,Do.useMemo)(()=>{let A=Math.floor(a/c-l/c),C=a-l,I=[],T=0;if(g){for(;T<=A;)I.push((0,Je.jsx)(Bf,{disabled:m,stepPosition:c*T/C,stepValue:(n??b)/a},`tickmark-${T}-${x}`)),T++;return I}else return null},[l,a,c,n,b]),G=A=>{let C=A.target.value;(C!==n||C!==b)&&D(C),u?.(C)},V=()=>{B(!0)},q=A=>{P&&(B(!1),h?.(A.target.value))},W=A=>{let C=parseInt(A.value,10);n==null&&(Number.isNaN(C)||D(C>a?a:C)),Number.isNaN(C)||u?.(C>a?a:C)};return(0,Je.jsx)(Ke.ThemeProvider,{theme:M.slider,children:(0,Je.jsxs)(_f,{margin:v,size:f,ref:_,children:[(0,Je.jsx)($f,{id:x,disabled:m,children:e}),(0,Je.jsx)(vf,{disabled:m,children:i}),(0,Je.jsxs)(kf,{children:[d&&(0,Je.jsx)(Ff,{disabled:m,children:w}),(0,Je.jsxs)(Sf,{children:[(0,Je.jsx)(Tf,{role:"slider",type:"range",value:n!=null&&n>=0?n:b,min:l,max:a,step:c,disabled:m,"aria-labelledby":x,"aria-orientation":"horizontal","aria-valuemax":a,"aria-valuemin":l,"aria-valuenow":n!=null&&n>=0?n:b,onChange:G,onMouseUp:q,onMouseDown:V}),g&&(0,Je.jsx)(If,{isFirefox:H,children:z})]}),d&&(0,Je.jsx)(wf,{disabled:m,step:c,children:S}),s&&(0,Je.jsx)(Pf,{children:(0,Je.jsx)(jo,{name:t,value:n!=null&&n>=0?n.toString():b.toString(),disabled:m,onChange:W,size:"fillParent"})})]})]})})}),Ec={medium:"360px",large:"480px",fillParent:"100%"},yf=(e,t)=>t==="fillParent"?`calc(${Ec[t]} - ${X(e,"left")} - ${X(e,"right")})`:Ec[t],Cf=()=>`
3249
+ width: 100%;
3250
+ margin-right: 4px;`,xf=()=>`
3251
+ width: calc(100% - 16px);
3252
+ margin-right: 3px;`,_f=Ke.default.div`
3253
+ display: flex;
3254
+ flex-direction: column;
3255
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3256
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3257
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3258
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3259
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3260
+ width: ${e=>yf(e.margin,e.size)};
3261
+ `,$f=Ke.default.label`
3262
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
3263
+ font-family: ${e=>e.theme.fontFamily};
3264
+ font-size: ${e=>e.theme.labelFontSize};
3265
+ font-style: ${e=>e.theme.labelFontStyle};
3266
+ font-weight: ${e=>e.theme.labelFontWeight};
3267
+ line-height: ${e=>e.theme.labelLineHeight};
3268
+ `,vf=Ke.default.span`
3269
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
3270
+ font-family: ${e=>e.theme.fontFamily};
3271
+ font-size: ${e=>e.theme.helperTextFontSize};
3272
+ font-style: ${e=>e.theme.helperTextFontStyle};
3273
+ font-weight: ${e=>e.theme.helperTextFontWeight};
3274
+ line-height: ${e=>e.theme.helperTextLineHeight};
3275
+ `,Tf=Ke.default.input`
3276
+ width: 100%;
3277
+ min-width: 240px;
3278
+ height: ${e=>e.theme.trackLineThickness};
3279
+ display: inline-block;
3280
+ vertical-align: middle;
3281
+ -webkit-appearance: none;
3282
+ background-color: ${e=>e.disabled?e.theme.disabledTotalLineColor+"61":e.theme.totalLineColor};
3283
+ background-image: ${e=>e.disabled?`linear-gradient(${e.theme.disabledTrackLineColor}, ${e.theme.disabledTrackLineColor})`:`linear-gradient(${e.theme.trackLineColor}, ${e.theme.trackLineColor})`};
3284
+ background-repeat: no-repeat;
3285
+ background-size: ${e=>(e.value-e.min)*100/(e.max-e.min)+"% 100%"};
3286
+ border-radius: 5px;
3287
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
3288
+ &::-webkit-slider-runnable-track {
3289
+ -webkit-appearance: none;
3290
+ box-shadow: none;
3291
+ border: none;
3292
+ background: transparent;
3293
+ margin: 0px -8px;
3294
+ }
3295
+
3296
+ &::-webkit-slider-thumb {
3297
+ -webkit-appearance: none;
3298
+ border: none;
3299
+ height: ${e=>e.theme.thumbHeight};
3300
+ width: ${e=>e.theme.thumbWidth};
3301
+ border-radius: 25px;
3302
+ background: ${e=>e.disabled?e.theme.disabledThumbBackgroundColor:e.theme.thumbBackgroundColor};
3303
+ &:active {
3304
+ ${e=>{if(!e.disabled)return`
3305
+ background: ${e.theme.activeThumbBackgroundColor};
3306
+ transform: scale(1.16667);`}}
3307
+ }
3308
+ &:hover {
3309
+ ${e=>{if(!e.disabled)return`height: ${e.theme.hoverThumbHeight};
3310
+ width: ${e.theme.hoverThumbWidth};
3311
+ transform: scale(1.16667);
3312
+ transform-origin: center center;
3313
+ background: ${e.theme.hoverThumbBackgroundColor};`}}
3314
+ }
3315
+ }
3316
+ &::-moz-range-track {
3317
+ -webkit-appearance: none;
3318
+ box-shadow: none;
3319
+ border: none;
3320
+ background: transparent;
3321
+ }
3322
+ &::-moz-range-thumb {
3323
+ -webkit-appearance: none;
3324
+ border: none;
3325
+ height: ${e=>e.theme.thumbHeight};
3326
+ width: ${e=>e.theme.thumbWidth};
3327
+ border-radius: 25px;
3328
+ background: ${e=>e.disabled?e.theme.disabledThumbBackgroundColor:e.theme.thumbBackgroundColor};
3329
+ &:active {
3330
+ background: ${e=>e.theme.activeThumbBackgroundColor};
3331
+ transform: scale(1.16667);
3332
+ }
3333
+ &:hover {
3334
+ ${e=>{if(!e.disabled)return`height: ${e.theme.hoverThumbHeight};
3335
+ width: ${e.theme.hoverThumbWidth};
3336
+ transform: scale(1.16667);
3337
+ transform-origin: center center;
3338
+ background: ${e.theme.hoverThumbBackgroundColor};`}}
3339
+ }
3340
+ }
3341
+ &:focus {
3342
+ outline: none;
3343
+ &::-webkit-slider-thumb {
3344
+ outline: ${e=>e.disabled?e.theme.disabledFocusColor:e.theme.focusColor} auto 1px;
3345
+ outline-offset: 2px;
3346
+ }
3347
+ &::-moz-range-thumb {
3348
+ outline: ${e=>e.disabled?e.theme.disabledFocusColor:e.theme.focusColor} auto 1px;
3349
+ outline-offset: 2px;
3350
+ }
3351
+ }
3352
+ `,kf=Ke.default.div`
3353
+ display: flex;
3354
+ height: 48px;
3355
+ align-items: center;
3356
+ `,Wc=Ke.default.span`
3357
+ color: ${e=>e.disabled?e.theme.disabledLimitValuesFontColor:e.theme.limitValuesFontColor};
3358
+
3359
+ font-family: ${e=>e.theme.fontFamily};
3360
+ font-size: ${e=>e.theme.limitValuesFontSize};
3361
+ font-style: ${e=>e.theme.limitValuesFontStyle};
3362
+ font-weight: ${e=>e.theme.limitValuesFontWeight};
3363
+ letter-spacing: ${e=>e.theme.limitValuesFontLetterSpacing};
3364
+ white-space: nowrap;
3365
+ `,Ff=(0,Ke.default)(Wc)`
3366
+ margin-right: ${e=>e.theme.floorLabelMarginRight};
3367
+ `,wf=(0,Ke.default)(Wc)`
3368
+ margin-left: ${e=>e.step===1?e.theme.ceilLabelMarginLeft:"1.25rem"};
3369
+ `,Sf=Ke.default.div`
3370
+ position: relative;
3371
+ width: 100%;
3372
+ height: 24px;
3373
+ display: flex;
3374
+ align-items: center;
3375
+ justify-content: center;
3376
+ margin-right: -2px;
3377
+ padding-top: 1px;
3378
+ z-index: 0;
3379
+ `,If=Ke.default.div`
3380
+ ${e=>e.isFirefox?xf():Cf()}
3381
+ position: absolute;
3382
+ pointer-events: none;
3383
+ height: 100%;
3384
+ display: flex;
3385
+ align-items: center;
3386
+ `,Bf=Ke.default.span`
3387
+ position: absolute;
3388
+ background: ${e=>e.disabled?e.theme.disabledTickBackgroundColor:e.theme.tickBackgroundColor};
3389
+ height: ${e=>e.theme.tickHeight};
3390
+ width: ${e=>e.theme.tickWidth};
3391
+ border-radius: 18px;
3392
+ left: ${e=>`calc(${e.stepPosition} * 100%)`};
3393
+ z-index: ${e=>`${e.stepPosition<=e.stepValue?"-1":"0"}`};
3394
+ `,Pf=Ke.default.div`
3395
+ margin-left: ${e=>e.theme.inputMarginLeft};
3396
+ max-width: 70px;
3397
+ `,Oc=bf;var Vn=require("react"),Ue=F(require("styled-components"));var Ie=require("react/jsx-runtime"),Lf=({label:e,value:t,showValue:r=!1,mode:n="large",margin:i})=>{let l=(0,Vn.useId)(),a=k(),c=(0,Vn.useMemo)(()=>t>=0&&t<=100,[t]);return(0,Ie.jsx)(Ue.ThemeProvider,{theme:a.spinner,children:(0,Ie.jsx)(Df,{margin:i,mode:n,children:(0,Ie.jsxs)(zf,{mode:n,children:[n==="overlay"&&(0,Ie.jsx)(Af,{}),(0,Ie.jsx)(Rf,{children:n==="small"?(0,Ie.jsx)(Nc,{viewBox:"0 0 16 16",children:(0,Ie.jsx)(Vc,{cx:"8",cy:"8",r:"6",mode:n})}):(0,Ie.jsx)(Nc,{viewBox:"0 0 140 140",children:(0,Ie.jsx)(Vc,{cx:"70",cy:"70",r:"65",mode:n})})}),(0,Ie.jsx)(Hf,{role:"progressbar","aria-valuenow":c&&r?t:void 0,"aria-valuemin":c?0:void 0,"aria-valuemax":c?100:void 0,"aria-labelledby":e&&n!=="small"?l:void 0,"aria-label":e?n==="small"?e:void 0:"Loading indicator",children:n==="small"?(0,Ie.jsx)(jc,{viewBox:"0 0 16 16",determinated:c,children:(0,Ie.jsx)(Xc,{cx:"8",cy:"8",r:"6",mode:n,determinated:c,value:t})}):(0,Ie.jsx)(jc,{viewBox:"0 0 140 140",determinated:c,children:(0,Ie.jsx)(Xc,{cx:"70",cy:"70",r:"65",mode:n,determinated:c,value:t})})}),n!=="small"&&(0,Ie.jsxs)(Mf,{children:[(0,Ie.jsx)(Ef,{id:l,mode:n,children:e}),(t||t===0)&&r&&(0,Ie.jsxs)(Wf,{value:t,mode:n,showValue:r,children:[t,"%"]})]})]})})})},Gc=(e,t)=>{let r=0;return e>=0&&e<=100&&(r=t*(1-e/100)),r},Df=Ue.default.div`
3398
+ height: ${e=>e.mode==="overlay"?"100vh":""};
3399
+ width: ${e=>e.mode==="overlay"?"100vw":""};
3400
+ display: ${e=>e.mode==="overlay"?"flex":""};
3401
+ position: ${e=>e.mode==="overlay"?"fixed":""};
3402
+ top: ${e=>e.mode==="overlay"?0:""};
3403
+ left: ${e=>e.mode==="overlay"?0:""};
3404
+ justify-content: ${e=>e.mode==="overlay"?"center":""};
3405
+ align-items: ${e=>e.mode==="overlay"?"center":""};
3406
+ z-index: ${e=>e.mode==="overlay"?1300:""};
3407
+
3408
+ margin: ${e=>e.mode!="overlay"?e.margin&&typeof e.margin!="object"?p[e.margin]:"0px":""};
3409
+ margin-top: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3410
+ margin-right: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3411
+ margin-bottom: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3412
+ margin-left: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3413
+ `,zf=Ue.default.div`
3414
+ align-items: center;
3415
+ display: flex;
3416
+ height: ${e=>e.mode==="small"?"16px":"140px"};
3417
+ width: ${e=>e.mode==="small"?"16px":"140px"};
3418
+ justify-content: center;
3419
+ position: relative;
3420
+ background-color: transparent;
3421
+
3422
+ @keyframes spinner-svg {
3423
+ 0% {
3424
+ transform: rotateZ(0deg);
3425
+ }
3426
+ 100% {
3427
+ transform: rotateZ(360deg);
3428
+ }
3429
+ }
3430
+ @keyframes svg-circle-large {
3431
+ 0% {
3432
+ stroke-dashoffset: 400;
3433
+ transform: rotate(0);
3434
+ }
3435
+
3436
+ 50% {
3437
+ stroke-dashoffset: 75;
3438
+ transform: rotate(45deg);
3439
+ }
3440
+
3441
+ 100% {
3442
+ stroke-dashoffset: 400;
3443
+ transform: rotate(360deg);
3444
+ }
3445
+ }
3446
+ @keyframes svg-circle-small {
3447
+ 0% {
3448
+ stroke-dashoffset: 35;
3449
+ transform: rotate(0);
3450
+ }
3451
+
3452
+ 50% {
3453
+ stroke-dashoffset: 8;
3454
+ transform: rotate(45deg);
3455
+ }
3456
+
3457
+ 100% {
3458
+ stroke-dashoffset: 35;
3459
+ transform: rotate(360deg);
3460
+ }
3461
+ }
3462
+ `,Af=Ue.default.div`
3463
+ width: 100vw;
3464
+ height: 100vh;
3465
+ opacity: 1;
3466
+ transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
3467
+ position: fixed;
3468
+ top: 0;
3469
+ left: 0;
3470
+ background-color: ${e=>`${e.theme.overlayBackgroundColor}`};
3471
+ opacity: ${e=>`${e.theme.overlayOpacity}`};
3472
+ `,Rf=Ue.default.div`
3473
+ height: inherit;
3474
+ width: inherit;
3475
+ position: absolute;
3476
+ `,Nc=Ue.default.svg`
3477
+ height: inherit;
3478
+ width: inherit;
3479
+ `,Vc=Ue.default.circle`
3480
+ animation: none;
3481
+ fill: transparent;
3482
+ stroke: ${e=>`${e.theme.totalCircleColor}`};
3483
+ stroke-dasharray: ${e=>e.mode!=="small"?"409":"38"};
3484
+ stroke-linecap: initial;
3485
+ stroke-width: ${e=>e.mode!=="small"?"8.5px":"2px"};
3486
+ transform-origin: 50% 50%;
3487
+ vector-effect: non-scaling-stroke;
3488
+ `,Hf=Ue.default.div`
3489
+ height: inherit;
3490
+ width: inherit;
3491
+ position: relative;
3492
+ `,jc=Ue.default.svg`
3493
+ height: inherit;
3494
+ width: inherit;
3495
+ transform: rotate(-90deg);
3496
+ top: 0;
3497
+ left: 0;
3498
+ transform-origin: center;
3499
+ overflow: visible;
3500
+ animation: ${e=>e.determinated?"":"1.4s linear infinite both spinner-svg"};
3501
+ `,Xc=Ue.default.circle`
3502
+ fill: transparent;
3503
+ stroke-linecap: initial;
3504
+ vector-effect: non-scaling-stroke;
3505
+ animation: ${e=>e.determinated?"none":e.mode!=="small"?"1.4s ease-in-out infinite both svg-circle-large":"1.4s ease-in-out infinite both svg-circle-small"};
3506
+ stroke: ${e=>e.mode==="overlay"?e.theme.trackCircleColorOverlay:e.theme.trackCircleColor};
3507
+ transform-origin: ${e=>e.determinated?"":"50% 50%"};
3508
+ stroke-dasharray: ${e=>e.mode!=="small"?"409":"38"};
3509
+ stroke-width: ${e=>e.mode!=="small"?"8.5px":"2px"};
3510
+ stroke-dashoffset: ${e=>e.determinated?e.mode!=="small"?Gc(e.value,409):Gc(e.value,38):""};
3511
+ `,Mf=Ue.default.div`
3512
+ position: absolute;
3513
+ margin: 0 auto;
3514
+ width: 110px;
3515
+ text-align: center;
3516
+ `,Ef=Ue.default.p`
3517
+ margin: 0;
3518
+ width: 100%;
3519
+ white-space: nowrap;
3520
+ overflow: hidden;
3521
+ text-overflow: ellipsis;
3522
+ font-family: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontFamily:e.theme.labelFontFamily};
3523
+ font-weight: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontWeight:e.theme.labelFontWeight};
3524
+ font-size: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontSize:e.theme.labelFontSize};
3525
+ font-style: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontStyle:e.theme.labelFontStyle};
3526
+ color: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontColor:e.theme.labelFontColor};
3527
+ text-align: ${e=>e.mode==="overlay"?e.theme.overlayLabelTextAlign:e.theme.labelTextAlign};
3528
+ letter-spacing: ${e=>e.mode==="overlay"?e.theme.overlayLabelLetterSpacing:e.theme.labelLetterSpacing};
3529
+ `,Wf=Ue.default.p`
3530
+ margin: 0;
3531
+ width: 100%;
3532
+ white-space: nowrap;
3533
+ overflow: hidden;
3534
+ text-overflow: ellipsis;
3535
+ display: ${e=>e.value&&e.showValue===!0&&"block"||"none"};
3536
+ font-family: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontFamily:e.theme.progressValueFontFamily};
3537
+ font-weight: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontWeight:e.theme.progressValueFontWeight};
3538
+ font-size: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontSize:e.theme.progressValueFontSize};
3539
+ font-style: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontStyle:e.theme.progressValueFontStyle};
3540
+ color: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontColor:e.theme.progressValueFontColor};
3541
+ text-align: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueTextAlign:e.theme.progressValueTextAlign};
3542
+ letter-spacing: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueLetterSpacing:e.theme.progressValueLetterSpacing};
3543
+ `,jn=Lf;var Xn=F(require("styled-components"));var Nr=require("react/jsx-runtime"),Of=({mode:e="default",label:t,size:r="medium"})=>(0,Nr.jsxs)(Gf,{size:r,"aria-label":`${e}: ${t}`,role:"status",children:[(0,Nr.jsx)(Nf,{mode:e,size:r,"aria-hidden":"true"}),(0,Nr.jsx)(Vf,{mode:e,size:r,children:t})]}),Gf=Xn.default.div`
3544
+ display: inline-flex;
3545
+ align-items: center;
3546
+ gap: ${o.spacing_8};
3547
+ `,Nf=Xn.default.div`
3548
+ width: ${({size:e})=>e==="small"&&o.type_scale_01||e==="medium"&&o.type_scale_02||e==="large"&&o.type_scale_03||o.type_scale_02};
3549
+ height: ${({size:e})=>e==="small"&&o.type_scale_01||e==="medium"&&o.type_scale_02||e==="large"&&o.type_scale_03||o.type_scale_02};
3550
+ border-radius: 50%;
3551
+ background-color: ${({mode:e})=>e==="default"&&o.color_grey_700||e==="error"&&o.color_red_700||e==="info"&&o.color_blue_700||e==="success"&&o.color_green_700||e==="warning"&&o.color_orange_700||o.color_grey_700};
3552
+ `,Vf=Xn.default.span`
3553
+ font-size: ${({size:e})=>e==="small"&&o.type_scale_01||e==="medium"&&o.type_scale_02||e==="large"&&o.type_scale_03||o.type_scale_02};
3554
+ font-family: ${o.type_sans};
3555
+ font-style: ${o.type_normal};
3556
+ font-weight: ${o.type_semibold};
3557
+ color: ${({mode:e})=>e==="default"&&o.color_grey_700||e==="error"&&o.color_red_700||e==="info"&&o.color_blue_700||e==="success"&&o.color_green_700||e==="warning"&&o.color_orange_700||o.color_grey_700};
3558
+ text-align: center;
3559
+ text-overflow: ellipsis;
3560
+ overflow: hidden;
3561
+ white-space: nowrap;
3562
+ `,Jc=Of;var Nt=require("react"),Vt=F(require("styled-components"));var to=require("react/jsx-runtime"),jf=(0,Nt.forwardRef)(({defaultChecked:e,checked:t,value:r,label:n="",labelPosition:i="before",name:l="",disabled:a=!1,optional:c=!1,onChange:d,margin:s,size:m="fitContent",tabIndex:g=0},u)=>{let y=`label-${`switch-${(0,Nt.useId)()}`}`,[v,f]=(0,Nt.useState)(e??!1),_=k(),x=J(),b=(0,Nt.useRef)(null),D=B=>{switch(B.key){case"Enter":case" ":B.preventDefault(),b.current.focus(),f(!(t??v)),d?.(!(t??v));break}},P=()=>{t??f(B=>!B),d?.(t?!t:!v)};return(0,to.jsx)(Vt.ThemeProvider,{theme:_.switch,children:(0,to.jsxs)(Jf,{margin:s,size:m,onKeyDown:D,disabled:a,onClick:a?void 0:P,ref:u,children:[i==="before"&&n&&(0,to.jsxs)(Uc,{id:y,labelPosition:i,disabled:a,label:n,children:[n," ",c&&(0,to.jsx)(to.Fragment,{children:x.formFields.optionalLabel})]}),(0,to.jsx)(Uf,{type:"checkbox",name:l,"aria-hidden":!0,value:r,disabled:a,checked:t??v,readOnly:!0}),(0,to.jsx)(Kf,{children:(0,to.jsx)(Yf,{role:"switch","aria-checked":t??v,"aria-disabled":a,disabled:a,"aria-labelledby":y,tabIndex:a?-1:g,ref:b})}),i==="after"&&n&&(0,to.jsxs)(Uc,{id:y,labelPosition:i,disabled:a,label:n,children:[c&&(0,to.jsx)(to.Fragment,{children:x.formFields.optionalLabel})," ",n]})]})})}),Kc={small:"60px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},Xf=(e,t)=>t==="fillParent"?`calc(${Kc[t]} - ${X(e,"left")} - ${X(e,"right")})`:Kc[t],Vr=(e,t,r)=>{switch(t){case"track":switch(r){case"check":return e.disabledCheckedTrackBackgroundColor;case"uncheck":return e.disabledUncheckedTrackBackgroundColor}case"thumb":switch(r){case"check":return e.disabledCheckedThumbBackgroundColor;case"uncheck":return e.disabledUncheckedThumbBackgroundColor}case"label":return e.disabledLabelFontColor}},jr=(e,t,r)=>{switch(t){case"track":switch(r){case"check":return e.checkedTrackBackgroundColor;case"uncheck":return e.uncheckedTrackBackgroundColor}case"thumb":switch(r){case"check":return e.checkedThumbBackgroundColor;case"uncheck":return e.uncheckedThumbBackgroundColor}case"label":return e.labelFontColor}},Jf=Vt.default.div`
3563
+ display: inline-flex;
3564
+ align-items: center;
3565
+ width: ${e=>Xf(e.margin,e.size)};
3566
+ height: 40px;
3567
+ cursor: ${e=>e.disabled===!0?"not-allowed":"pointer"};
3568
+
3569
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3570
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3571
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3572
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3573
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3574
+ `,Uc=Vt.default.span`
3575
+ overflow: hidden;
3576
+ text-overflow: ellipsis;
3577
+ white-space: nowrap;
3578
+ color: ${e=>e.disabled?Vr(e.theme,"label"):jr(e.theme,"label")};
3579
+ opacity: 1;
3580
+ font-family: ${e=>e.theme.labelFontFamily};
3581
+ font-size: ${e=>e.theme.labelFontSize};
3582
+ font-style: ${e=>e.disabled?e.theme.disabledLabelFontStyle:e.theme.labelFontStyle};
3583
+ font-weight: ${e=>e.theme.labelFontWeight};
3584
+
3585
+ ${e=>e.label?e.labelPosition==="after"?`margin-left: ${e.theme.spaceBetweenLabelSwitch};`:`margin-right: ${e.theme.spaceBetweenLabelSwitch};`:"margin: 0px;"};
3586
+
3587
+ ${e=>e.labelPosition==="before"&&"order: -1"}
3588
+ `,Kf=Vt.default.label`
3589
+ display: flex;
3590
+ align-items: center;
3591
+ justify-content: space-between;
3592
+ cursor: pointer;
3593
+ margin: 0px 12px;
3594
+ `,Uf=Vt.default.input`
3595
+ display: none;
3596
+ `,Yf=Vt.default.span`
3597
+ border-radius: 15px;
3598
+ width: ${e=>e.theme.trackWidth};
3599
+ height: ${e=>e.theme.trackHeight};
3600
+ position: relative;
3601
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
3602
+
3603
+ &:focus-visible {
3604
+ outline: none;
3605
+ ::before {
3606
+ outline: ${e=>`${e.theme.thumbFocusColor} solid 2px`};
3607
+ outline-offset: 6px;
3608
+ }
3609
+ }
3610
+
3611
+ /* Thumb element */
3612
+ ::before {
3613
+ content: "";
3614
+ transform: initial;
3615
+ position: absolute;
3616
+ width: ${e=>e.theme.thumbWidth};
3617
+ height: ${e=>e.theme.thumbHeight};
3618
+ border-radius: 50%;
3619
+ box-shadow:
3620
+ 0px 2px 1px -1px rgb(0 0 0 / 20%),
3621
+ 0px 1px 1px 0px rgb(0 0 0 / 14%),
3622
+ 0px 1px 3px 0px rgb(0 0 0 / 12%);
3623
+ bottom: -6px;
3624
+ left: -4px;
3625
+ transform: translateX(0px);
3626
+ background-color: ${e=>e.disabled?Vr(e.theme,"thumb","uncheck"):jr(e.theme,"thumb","uncheck")};
3627
+ }
3628
+
3629
+ /* Unchecked */
3630
+ background-color: ${e=>e.disabled?Vr(e.theme,"track","uncheck"):jr(e.theme,"track","uncheck")};
3631
+
3632
+ /* Checked */
3633
+ &[aria-checked="true"] {
3634
+ background-color: ${e=>e.disabled?Vr(e.theme,"track","check"):jr(e.theme,"track","check")};
3635
+ ::before {
3636
+ transform: translateX(${e=>e.theme.thumbShift});
3637
+ background-color: ${e=>e.disabled?Vr(e.theme,"thumb","check"):jr(e.theme,"thumb","check")};
3638
+ }
3639
+ }
3640
+ `,Yc=jf;var oe=require("react"),Ao=F(require("styled-components"));var Zc=require("react"),Jn=(0,Zc.createContext)(null);var qo=require("react"),Xr=F(require("styled-components"));var Zo=require("react/jsx-runtime"),Zf=(0,qo.forwardRef)(({icon:e,label:t,title:r,disabled:n=!1,active:i,notificationNumber:l=!1,onClick:a=()=>{},onHover:c=()=>{}},d)=>{let s=(0,qo.useRef)(),m=k(),{iconPosition:g,tabIndex:u,focusedLabel:h,isControlled:y,activeLabel:v,hasLabelAndIcon:f,setActiveLabel:_,setActiveIndicatorWidth:x,setActiveIndicatorLeft:b}=(0,qo.useContext)(Jn);return(0,qo.useEffect)(()=>{h===t&&s?.current?.focus()},[h,t]),(0,qo.useEffect)(()=>{v===t&&(x(s?.current?.offsetWidth),b(s?.current?.offsetLeft))},[v,t]),(0,qo.useEffect)(()=>{i&&_(t)},[i,t]),(0,Zo.jsx)(ge,{label:r,children:(0,Zo.jsxs)(qf,{role:"tab",type:"button",tabIndex:v===t&&!n?u:-1,disabled:n,"aria-selected":v===t,hasLabelAndIcon:f,iconPosition:g,ref:P=>{s.current=P,d&&(typeof d=="function"?d(P):d.current=P)},onClick:()=>{y||_(t),a()},onMouseEnter:()=>c(),onKeyDown:P=>{switch(P.key){case" ":case"Enter":P.preventDefault(),s?.current?.click();break}},children:[(0,Zo.jsxs)(eb,{notificationNumber:l,hasLabelAndIcon:f,iconPosition:g,disabled:n,children:[e&&(0,Zo.jsx)(ob,{hasLabelAndIcon:f,iconPosition:g,children:typeof e=="string"?(0,Zo.jsx)($,{icon:e}):e}),(0,Zo.jsx)(Ge,{color:n?m.tabs.disabledFontColor:v===t?m.tabs.selectedFontColor:m.tabs.unselectedFontColor,fontFamily:m.tabs.fontFamily,fontSize:m.tabs.fontSize,fontStyle:n?m.tabs.disabledFontStyle:m.tabs.fontStyle,fontWeight:v===t?m.tabs.pressedFontWeight:m.tabs.fontWeight,textAlign:"center",letterSpacing:"0.025em",lineHeight:"1.715em",children:t})]}),l&&!n&&(0,Zo.jsx)(Qf,{hasLabelAndIcon:f,iconPosition:g,children:(0,Zo.jsx)($t,{mode:"notification",size:"small",label:typeof l=="number"&&l})})]})})}),qf=Xr.default.button`
3641
+ text-transform: ${e=>e.theme.fontTextTransform};
3642
+ overflow: hidden;
3643
+ flex-shrink: 0;
3644
+ border: 0;
3645
+ cursor: pointer;
3646
+ display: inline-flex;
3647
+ align-items: center;
3648
+ user-select: none;
3649
+ vertical-align: middle;
3650
+ justify-content: center;
3651
+ min-width: 90px;
3652
+ max-width: 360px;
3653
+ padding: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"12px 16px"||"8px 16px"};
3654
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3655
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3656
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3657
+
3658
+ &:hover {
3659
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3660
+ }
3661
+ &:active {
3662
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3663
+ }
3664
+ &:focus {
3665
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3666
+ outline-offset: -1px;
3667
+ }
3668
+
3669
+ svg,
3670
+ span:before {
3671
+ color: ${e=>e.theme.unselectedIconColor};
3672
+ }
3673
+
3674
+ &[aria-selected="true"] {
3675
+ background-color: ${e=>e.theme.selectedBackgroundColor};
3676
+ svg,
3677
+ span:before {
3678
+ color: ${e=>e.theme.selectedIconColor};
3679
+ }
3680
+ opacity: 1;
3681
+ }
3682
+
3683
+ &:disabled {
3684
+ background-color: ${e=>e.theme.unselectedBackgroundColor} !important;
3685
+ cursor: not-allowed !important;
3686
+ pointer-events: all;
3687
+ font-style: ${e=>e.theme.disabledFontStyle};
3688
+ outline: none !important;
3689
+
3690
+ svg,
3691
+ span:before {
3692
+ color: ${e=>e.theme.disabledIconColor};
3693
+ }
3694
+ > div {
3695
+ opacity: 0.5;
3696
+ }
3697
+ }
3698
+ `,Qf=Xr.default.div`
3699
+ margin-left: 12px;
3700
+ height: 100%;
3701
+ display: flex;
3702
+ align-items: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"?"flex-start":"center"};
3703
+ justify-content: flex-start;
3704
+ flex-direction: column;
3705
+ `,eb=Xr.default.div`
3706
+ display: flex;
3707
+ flex-direction: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"column"||"row"};
3708
+ align-items: center;
3709
+ margin-left: ${e=>e.notificationNumber&&!e.disabled?typeof e.notificationNumber=="number"?"36px":"18px":"unset"};
3710
+ `,ob=Xr.default.div`
3711
+ display: flex;
3712
+ margin-bottom: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"8px"||""};
3713
+ margin-right: ${e=>e.hasLabelAndIcon&&e.iconPosition==="left"&&"12px"||""};
3714
+ font-size: 22px;
3715
+
3716
+ svg {
3717
+ height: 22px;
3718
+ width: 22px;
3719
+ }
3720
+ `,qc=Zf;var ue=require("react"),zo=F(require("styled-components"));var Kn=require("react"),Jr=F(require("styled-components"));var pt=require("react/jsx-runtime"),tb=(0,Kn.forwardRef)(({active:e,tab:t,tabIndex:r,hasLabelAndIcon:n,iconPosition:i,onClick:l,onMouseEnter:a,onMouseLeave:c},d)=>{let s=k();return(0,pt.jsxs)(rb,{role:"tab",type:"button",tabIndex:r,disabled:t.isDisabled,"aria-selected":e,hasLabelAndIcon:n,iconPosition:i,ref:d,onClick:()=>{l()},onMouseEnter:()=>{a()},onMouseLeave:()=>{c()},children:[(0,pt.jsxs)(ib,{notificationNumber:t.notificationNumber,hasLabelAndIcon:n,iconPosition:i,disabled:t.isDisabled,children:[t.icon&&(0,pt.jsx)(lb,{hasLabelAndIcon:n,iconPosition:i,children:typeof t.icon=="string"?(0,pt.jsx)($,{icon:t.icon}):t.icon}),(0,pt.jsx)(Ge,{color:t.isDisabled?s.tabs.disabledFontColor:e?s.tabs.selectedFontColor:s.tabs.unselectedFontColor,fontFamily:s.tabs.fontFamily,fontSize:s.tabs.fontSize,fontStyle:t.isDisabled?s.tabs.disabledFontStyle:s.tabs.fontStyle,fontWeight:e?s.tabs.pressedFontWeight:s.tabs.fontWeight,textAlign:"center",letterSpacing:"0.025em",lineHeight:"1.715em",children:t.label})]}),t.notificationNumber&&!t.isDisabled&&(0,pt.jsx)(nb,{hasLabelAndIcon:n,iconPosition:i,children:(0,pt.jsx)($t,{mode:"notification",size:"small",label:typeof t.notificationNumber=="number"&&t.notificationNumber})})]})}),rb=Jr.default.button`
3721
+ text-transform: ${e=>e.theme.fontTextTransform};
3722
+ overflow: hidden;
3723
+ flex-shrink: 0;
3724
+ border: 0;
3725
+ cursor: pointer;
3726
+ display: inline-flex;
3727
+ align-items: center;
3728
+ user-select: none;
3729
+ vertical-align: middle;
3730
+ justify-content: center;
3731
+ min-width: 90px;
3732
+ max-width: 360px;
3733
+ padding: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"12px 16px"||"8px 16px"};
3734
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3735
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3736
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3737
+
3738
+ &:hover {
3739
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3740
+ }
3741
+ &:active {
3742
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3743
+ }
3744
+ &:focus {
3745
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3746
+ outline-offset: -1px;
3747
+ }
3748
+
3749
+ svg,
3750
+ span:before {
3751
+ color: ${e=>e.theme.unselectedIconColor};
3752
+ }
3753
+
3754
+ &[aria-selected="true"] {
3755
+ background-color: ${e=>e.theme.selectedBackgroundColor};
3756
+ svg,
3757
+ span:before {
3758
+ color: ${e=>e.theme.selectedIconColor};
3759
+ }
3760
+ opacity: 1;
3761
+ }
3762
+
3763
+ &:disabled {
3764
+ background-color: ${e=>e.theme.unselectedBackgroundColor} !important;
3765
+ cursor: not-allowed !important;
3766
+ pointer-events: all;
3767
+ font-style: ${e=>e.theme.disabledFontStyle};
3768
+ outline: none !important;
3769
+
3770
+ svg,
3771
+ span:before {
3772
+ color: ${e=>e.theme.disabledIconColor};
3773
+ }
3774
+ > div {
3775
+ opacity: 0.5;
3776
+ }
3777
+ }
3778
+ `,nb=Jr.default.div`
3779
+ margin-left: 12px;
3780
+ height: 100%;
3781
+ display: flex;
3782
+ align-items: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"?"flex-start":"center"};
3783
+ `,ib=Jr.default.div`
3784
+ display: flex;
3785
+ flex-direction: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"column"||"row"};
3786
+ align-items: center;
3787
+ margin-left: ${e=>e.notificationNumber&&!e.disabled?typeof e.notificationNumber=="number"?"36px":"18px":"unset"};
3788
+ `,lb=Jr.default.div`
3789
+ display: flex;
3790
+ margin-bottom: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"8px"||""};
3791
+ margin-right: ${e=>e.hasLabelAndIcon&&e.iconPosition==="left"&&"12px"||""};
3792
+ font-size: 22px;
3793
+
3794
+ svg {
3795
+ height: 22px;
3796
+ width: 22px;
3797
+ }
3798
+ `,Qc=(0,Kn.memo)(tb);var Ye=require("react/jsx-runtime"),ab=e=>{let[t,r]=(0,ue.useState)(0),n=(0,ue.useCallback)(()=>{r(e?.current?.offsetWidth??0)},[e]);return(0,ue.useEffect)(()=>(n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}),[n]),t},cb=({defaultActiveTabIndex:e,activeTabIndex:t,tabs:r,onTabClick:n,onTabHover:i,margin:l,iconPosition:a="top",tabIndex:c=0})=>{let d=k(),s=r&&r.filter(Y=>Y.label&&Y.icon).length>0,m=r&&r.findIndex(Y=>!Y.isDisabled),[g,u]=(0,ue.useState)(r&&e&&!r[e].isDisabled?e:m),[h,y]=(0,ue.useState)(0),[v,f]=(0,ue.useState)(0),[_,x]=(0,ue.useState)(0),[b,D]=(0,ue.useState)(!0),[P,B]=(0,ue.useState)(!1),[M,H]=(0,ue.useState)(0),[w,S]=(0,ue.useState)(0),[z,G]=(0,ue.useState)(t??g),[V,q]=(0,ue.useState)(t??g),[W,A]=(0,ue.useState)(0),C=(0,ue.useRef)([]),I=(0,ue.useRef)(null),T=ab(I),L=J(),E=(0,ue.useMemo)(()=>T<w,[T]);(0,ue.useEffect)(()=>{let Y=C?.current?.reduce(function(U,Me){return U+Me.offsetWidth},0);S(Y),y(C?.current[t??g]?.offsetWidth),f(C?.current[t??g]?.offsetLeft)},[C]),(0,ue.useEffect)(()=>{A(I?.current?.offsetHeight+1)},[I]),(0,ue.useEffect)(()=>{t>=0&&(y(C?.current[t]?.offsetWidth),f(C?.current[t]?.offsetLeft))},[t]);let K=Y=>{t??u(Y),n?.(Y),t===void 0&&(y(C?.current[Y]?.offsetWidth),f(C?.current[Y]?.offsetLeft))},fe=()=>{let Y=I?.current?.offsetWidth*.75,U=0;M<=Y?(U=0,B(!1),D(!0)):(U=M-Y,D(!0),B(!0)),x(-U),H(U)},N=()=>{let Y=I?.current?.offsetWidth*.75,U=0;M+Y+I?.current?.offsetWidth>=w?(U=w-I?.current?.offsetWidth,D(!1),B(!0)):(U=M+Y,B(!0),D(!0)),x(-U),H(U)},Q=()=>{q(Y=>{let U=Y===0?r.length-1:Y-1;for(;r[U].isDisabled;)U=U===0?r.length-1:U-1;return C?.current[U].focus({preventScroll:!0}),be(U),U})},R=()=>{q(Y=>{let U=Y===r.length-1?0:Y+1;for(;r[U].isDisabled;)U=U===r.length-1?0:U+1;return C?.current[U].focus({preventScroll:!0}),be(U),U})},be=Y=>{let U=0;C?.current?.map((xe,Xt)=>{Xt<=Y&&(U+=xe.offsetWidth)});let Me=0;Y===r.length-1?(Me=w-I?.current?.offsetWidth,B(!0),D(!1)):U>I?.current?.offsetWidth?(Me=U-I?.current?.offsetWidth+1,B(!0),D(!0)):(B(!1),D(!0)),x(-Me),H(Me)},ye=Y=>{switch(Y.key){case"Left":case"ArrowLeft":Y.preventDefault(),Q();break;case"Right":case"ArrowRight":Y.preventDefault(),R();break;case"Enter":case" ":Y.preventDefault(),G(V),K(V);break;case"Tab":V!==z&&(Y.preventDefault(),q(z),C?.current[z].focus()),K(z);break}},Ce=Y=>t>=0?t===Y:g===Y,O=m===-1||r&&t>=0&&r[t].isDisabled;return(0,Ye.jsx)(zo.ThemeProvider,{theme:d.tabs,children:(0,Ye.jsxs)(sb,{margin:l,children:[(0,Ye.jsx)(db,{}),(0,Ye.jsxs)(mb,{hasLabelAndIcon:s,iconPosition:a,children:[(0,Ye.jsx)(ed,{onClick:fe,enabled:E,disabled:!P,"aria-label":L.tabs.scrollLeft,tabIndex:P?c:-1,minHeightTabs:W,children:(0,Ye.jsx)($,{icon:"keyboard_arrow_left"})}),(0,Ye.jsx)(pb,{children:(0,Ye.jsxs)(hb,{translateScroll:_,ref:I,enabled:E,children:[(0,Ye.jsx)(ub,{role:"tablist",onKeyDown:ye,minHeightTabs:W,children:r.map((Y,U)=>(0,Ye.jsx)(Qc,{tab:Y,active:Ce(U),tabIndex:Ce(U)&&!Y.isDisabled?c:-1,hasLabelAndIcon:s,iconPosition:a,ref:Me=>{C.current[U]=Me},onClick:()=>{G(U),q(U),K(U)},onMouseEnter:()=>{i?.(U)},onMouseLeave:()=>{i?.(null)}},`tab${U}${Y.label}`))}),(0,Ye.jsx)(gb,{tabWidth:h,tabLeft:v,"aria-disabled":O})]})}),(0,Ye.jsx)(ed,{onClick:N,enabled:E,disabled:!b,"aria-label":L.tabs.scrollRight,tabIndex:b?c:-1,minHeightTabs:W,children:(0,Ye.jsx)($,{icon:"keyboard_arrow_right"})})]})]})})},db=zo.default.div`
3799
+ position: absolute;
3800
+ left: 0;
3801
+ bottom: 0;
3802
+ width: 100%;
3803
+ height: ${e=>e.theme.dividerThickness};
3804
+ background-color: ${e=>e.theme.dividerColor};
3805
+ `,sb=zo.default.div`
3806
+ position: relative;
3807
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3808
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3809
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3810
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3811
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3812
+ `,mb=zo.default.div`
3813
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3814
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3815
+ display: flex;
3816
+ overflow: hidden;
3817
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3818
+ `,ed=zo.default.button`
3819
+ box-sizing: border-box;
3820
+ display: ${e=>e.enabled?"flex":"none"};
3821
+ justify-content: center;
3822
+ min-width: ${e=>e.theme.scrollButtonsWidth};
3823
+ height: ${e=>e.minHeightTabs-1}px;
3824
+ padding: 0;
3825
+ border: none;
3826
+ background-color: #ffffff;
3827
+ font-size: 1.25rem;
3828
+ cursor: pointer;
3829
+
3830
+ &:hover {
3831
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3832
+ }
3833
+ &:focus {
3834
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3835
+ outline-offset: -1px;
3836
+ }
3837
+ &:active {
3838
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3839
+ }
3840
+ &:disabled {
3841
+ cursor: default;
3842
+ display: none;
3843
+ svg {
3844
+ visibility: hidden;
3845
+ }
3846
+ &:focus {
3847
+ outline: none;
3848
+ }
3849
+ &:hover,
3850
+ &:active {
3851
+ background-color: transparent !important;
3852
+ }
3853
+ }
3854
+
3855
+ span {
3856
+ align-self: center;
3857
+ height: 20px;
3858
+ width: 20px;
3859
+ }
3860
+
3861
+ span::before {
3862
+ color: ${e=>e.theme.unselectedFontColor};
3863
+ }
3864
+ `,gb=zo.default.span`
3865
+ position: absolute;
3866
+ bottom: 0;
3867
+ left: ${e=>`${e.tabLeft}px`};
3868
+ width: ${e=>`${e.tabWidth}px`};
3869
+ height: ${e=>e.theme.selectedUnderlineThickness};
3870
+ background-color: ${e=>e.theme.selectedUnderlineColor};
3871
+ &[aria-disabled="true"] {
3872
+ background-color: ${e=>e.theme.disabledFontColor};
3873
+ display: none;
3874
+ }
3875
+ `,pb=zo.default.div`
3876
+ flex: 1 1 auto;
3877
+ display: inline-block;
3878
+ position: relative;
3879
+ white-space: nowrap;
3880
+ overflow-x: scroll;
3881
+ ::-webkit-scrollbar {
3882
+ display: none;
3883
+ }
3884
+ `,ub=zo.default.div`
3885
+ display: flex;
3886
+ min-height: ${e=>e.minHeightTabs}px;
3887
+ `,hb=zo.default.div`
3888
+ display: flex;
3889
+ ${e=>e.enabled?`transform: translateX(${e.translateScroll}px)`:"transform: translateX(0px)"};
3890
+ transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
3891
+ `,od=cb;var Be=require("react/jsx-runtime"),fb=e=>{let[t,r]=(0,oe.useState)(0),n=(0,oe.useCallback)(()=>{r(e?.current?.offsetWidth??0)},[e]);return(0,oe.useEffect)(()=>(n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}),[n]),t},bb=(e,t)=>{let r=t===0?e.length-1:t-1;for(;e[r].props.disabled;)r=r===0?e.length-1:r-1;return r},yb=(e,t)=>{let r=t===e.length-1?0:t+1;for(;e[r].props.disabled;)r=r===e.length-1?0:r+1;return r},rd=({defaultActiveTabIndex:e,activeTabIndex:t,tabs:r,onTabClick:n,onTabHover:i,margin:l,iconPosition:a="top",tabIndex:c=0,children:d})=>{let s=(0,oe.useMemo)(()=>oe.Children.toArray(d),[d]),m=(0,oe.useMemo)(()=>s.some(N=>(0,oe.isValidElement)(N)&&N.props.icon&&N.props.label),[s]),[g,u]=(0,oe.useState)(()=>{let Q=s.some(R=>(0,oe.isValidElement)(R)&&(R.props.active||R.props.defaultActive)&&!R.props.disabled)?s.find(R=>(0,oe.isValidElement)(R)&&(R.props.active||R.props.defaultActive)&&!R.props.disabled):s.find(R=>(0,oe.isValidElement)(R)&&!R.props.disabled);return(0,oe.isValidElement)(Q)?Q.props.label:""}),[h,y]=(0,oe.useState)(null),[v,f]=(0,oe.useState)(0),[_,x]=(0,oe.useState)(0),[b,D]=(0,oe.useState)(0),[P,B]=(0,oe.useState)(0),[M,H]=(0,oe.useState)(0),[w,S]=(0,oe.useState)(!0),[z,G]=(0,oe.useState)(!1),[V,q]=(0,oe.useState)(0),W=(0,oe.useRef)(null),A=k(),C=fb(W),I=J(),T=(0,oe.useMemo)(()=>C<P,[C]);(0,oe.useEffect)(()=>{W.current&&(B(W.current.firstElementChild?.offsetWidth),q(W?.current?.offsetHeight+1))},[s]);let L=(0,oe.useMemo)(()=>{let N=s[h];return{iconPosition:a,tabIndex:c,focusedLabel:(0,oe.isValidElement)(N)&&N.props.label,isControlled:s.some(Q=>(0,oe.isValidElement)(Q)&&typeof Q.props.active<"u"),activeLabel:g,hasLabelAndIcon:m,setActiveLabel:u,setActiveIndicatorWidth:f,setActiveIndicatorLeft:x}},[a,c,h,g,s,m]),E=()=>{let N=W?.current?.offsetWidth*.75,Q=0;b<=N?(Q=0,G(!1),S(!0)):(Q=b-N,S(!0),G(!0)),H(-Q),D(Q)},K=()=>{let N=W?.current?.offsetWidth*.75,Q=0;b+N+W?.current?.offsetWidth>=P?(Q=P-W?.current?.offsetWidth,S(!1),G(!0)):(Q=b+N,G(!0),S(!0)),H(-Q),D(Q)},fe=N=>{let Q=s.findIndex(R=>R.props.label===g);switch(N.key){case"Left":case"ArrowLeft":N.preventDefault(),y(bb(s,h===null?Q:h));break;case"Right":case"ArrowRight":N.preventDefault(),y(yb(s,h===null?Q:h));break;case"Tab":Q!==h&&y(Q);break}};return d?(0,Be.jsxs)(Be.Fragment,{children:[(0,Be.jsx)(Ao.ThemeProvider,{theme:A.tabs,children:(0,Be.jsxs)(xb,{margin:l,children:[(0,Be.jsx)(Cb,{}),(0,Be.jsxs)(_b,{hasLabelAndIcon:m,iconPosition:a,children:[(0,Be.jsx)(td,{onClick:E,enabled:T,disabled:!z,"aria-label":I.tabs.scrollLeft,tabIndex:z?c:-1,minHeightTabs:V,children:(0,Be.jsx)($,{icon:"keyboard_arrow_left"})}),(0,Be.jsx)(vb,{children:(0,Be.jsxs)(kb,{translateScroll:M,ref:W,enabled:T,children:[(0,Be.jsx)(Tb,{role:"tablist",onKeyDown:fe,minHeightTabs:V,children:(0,Be.jsx)(Jn.Provider,{value:L,children:d})}),(0,Be.jsx)($b,{tabWidth:v,tabLeft:_,"aria-disabled":s.some(N=>(0,oe.isValidElement)(N)&&g===N.props.label&&N.props.disabled)})]})}),(0,Be.jsx)(td,{onClick:K,enabled:T,disabled:!w,"aria-label":I.tabs.scrollRight,tabIndex:w?c:-1,minHeightTabs:V,children:(0,Be.jsx)($,{icon:"keyboard_arrow_right"})})]})]})}),oe.Children.map(d,N=>(0,oe.isValidElement)(N)&&N.props.label===g?N.props.children:null)]}):r&&(0,Be.jsx)(od,{defaultActiveTabIndex:e,activeTabIndex:t,tabs:r,onTabClick:n,onTabHover:i,margin:l,iconPosition:a,tabIndex:c})},Cb=Ao.default.div`
3892
+ position: absolute;
3893
+ left: 0;
3894
+ bottom: 0;
3895
+ width: 100%;
3896
+ height: ${e=>e.theme.dividerThickness};
3897
+ background-color: ${e=>e.theme.dividerColor};
3898
+ `;rd.Tab=qc;var xb=Ao.default.div`
3899
+ position: relative;
3900
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3901
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3902
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3903
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3904
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3905
+ `,_b=Ao.default.div`
3906
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3907
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3908
+ display: flex;
3909
+ overflow: hidden;
3910
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3911
+ `,td=Ao.default.button`
3912
+ box-sizing: border-box;
3913
+ display: ${e=>e.enabled?"flex":"none"};
3914
+ justify-content: center;
3915
+ min-width: ${e=>e.theme.scrollButtonsWidth};
3916
+ height: ${e=>e.minHeightTabs-1}px;
3917
+ padding: 0;
3918
+ border: none;
3919
+ background-color: #ffffff;
3920
+ font-size: 1.25rem;
3921
+ cursor: pointer;
3922
+
3923
+ &:hover {
3924
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3925
+ }
3926
+ &:focus {
3927
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3928
+ outline-offset: -1px;
3929
+ }
3930
+ &:active {
3931
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3932
+ }
3933
+ &:disabled {
3934
+ cursor: default;
3935
+ display: none;
3936
+ svg {
3937
+ visibility: hidden;
3938
+ }
3939
+ &:focus {
3940
+ outline: none;
3941
+ }
3942
+ &:hover,
3943
+ &:active {
3944
+ background-color: transparent !important;
3945
+ }
3946
+ }
3947
+
3948
+ span {
3949
+ align-self: center;
3950
+ height: 20px;
3951
+ width: 20px;
3952
+ }
3953
+
3954
+ span::before {
3955
+ color: ${e=>e.theme.unselectedFontColor};
3956
+ }
3957
+ `,$b=Ao.default.span`
3958
+ position: absolute;
3959
+ bottom: 0;
3960
+ left: ${e=>`${e.tabLeft}px`};
3961
+ width: ${e=>`${e.tabWidth}px`};
3962
+ height: ${e=>e.theme.selectedUnderlineThickness};
3963
+ background-color: ${e=>e.theme.selectedUnderlineColor};
3964
+ &[aria-disabled="true"] {
3965
+ background-color: ${e=>e.theme.disabledFontColor};
3966
+ display: none;
3967
+ }
3968
+ `,vb=Ao.default.div`
3969
+ flex: 1 1 auto;
3970
+ display: inline-block;
3971
+ position: relative;
3972
+ white-space: nowrap;
3973
+ overflow-x: scroll;
3974
+ ::-webkit-scrollbar {
3975
+ display: none;
3976
+ }
3977
+ `,Tb=Ao.default.div`
3978
+ display: flex;
3979
+ min-height: ${e=>e.minHeightTabs}px;
3980
+ `,kb=Ao.default.div`
3981
+ display: flex;
3982
+ ${e=>e.enabled?`transform: translateX(${e.translateScroll}px)`:"transform: translateX(0px)"};
3983
+ transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
3984
+ `,nd=rd;var ad=require("react"),ut=F(require("styled-components"));var He=require("react/jsx-runtime"),Fb=({condition:e,wrapper:t,children:r})=>(0,He.jsx)(He.Fragment,{children:e?t(r):r}),wb=({icon:e,label:t="",linkHref:r,onClick:n,iconBgColor:i="#5f249f",labelPosition:l="after",newWindow:a=!1,margin:c,size:d="fitContent",tabIndex:s=0})=>{let m=k(),[g,u]=(0,ad.useState)(!1);return(0,He.jsx)(ut.ThemeProvider,{theme:m.tag,children:(0,He.jsx)(Ib,{margin:c,size:d,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),onClick:()=>{n?.()},hasAction:n||r,shadowDepth:g&&(n||r)?2:1,children:(0,He.jsx)(Fb,{condition:!!n||!!r,wrapper:h=>n?(0,He.jsx)(Lb,{tabIndex:s,children:h}):r?(0,He.jsx)(Pb,{tabIndex:s,href:r,target:a?"_blank":"_self",children:h}):(0,He.jsx)(He.Fragment,{}),children:(0,He.jsxs)(Bb,{children:[l==="before"&&d!=="small"&&t&&(0,He.jsx)(ld,{children:t}),e&&(0,He.jsx)(Db,{iconBgColor:i,children:typeof e=="string"?(0,He.jsx)($,{icon:e}):e}),l==="after"&&d!=="small"&&t&&(0,He.jsx)(ld,{children:t})]})})})})},id={small:"42px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},Sb=(e,t)=>t==="fillParent"?`calc(${id[t]} - ${X(e,"left")} - ${X(e,"right")})`:id[t],Ib=ut.default.div`
3985
+ display: inline-flex;
3986
+ cursor: ${({hasAction:e})=>e&&"pointer"||"unset"};
3987
+ margin: ${({margin:e})=>e&&typeof e!="object"?p[e]:"0px"};
3988
+ margin-top: ${({margin:e})=>e&&typeof e=="object"&&e.top?p[e.top]:""};
3989
+ margin-right: ${({margin:e})=>e&&typeof e=="object"&&e.right?p[e.right]:""};
3990
+ margin-bottom: ${({margin:e})=>e&&typeof e=="object"&&e.bottom?p[e.bottom]:""};
3991
+ margin-left: ${({margin:e})=>e&&typeof e=="object"&&e.left?p[e.left]:""};
3992
+ width: ${e=>Sb(e.margin,e.size)};
3993
+ height: ${e=>e.theme.height};
3994
+ box-shadow: ${({shadowDepth:e})=>e===1?`0px 3px 6px ${o.color_grey_300_a}`:e===2?`0px 3px 10px ${o.color_grey_300_a}`:"none"};
3995
+ `,Bb=ut.default.div`
3996
+ display: inline-flex;
3997
+ align-items: center;
3998
+ width: 100%;
3999
+ height: ${e=>e.theme.height};
4000
+ `,Pb=ut.default.a`
4001
+ text-decoration: none;
4002
+ border-radius: 4px;
4003
+ width: 100%;
4004
+ :focus {
4005
+ outline: 2px solid ${e=>e.theme.focusColor};
4006
+ outline-offset: 0px;
4007
+ }
4008
+ `,Lb=ut.default.button`
4009
+ background: none;
4010
+ border-radius: 4px;
4011
+ border: none;
4012
+ padding: 0;
4013
+ cursor: pointer;
4014
+ font-family: inherit;
4015
+ width: 100%;
4016
+ :focus {
4017
+ outline: 2px solid ${e=>e.theme.focusColor};
4018
+ }
4019
+ `,Db=ut.default.div`
4020
+ display: inline-flex;
4021
+ background: ${({iconBgColor:e})=>e};
4022
+ width: ${e=>e.theme.iconSectionWidth};
4023
+ height: 100%;
4024
+ justify-content: center;
4025
+ align-items: center;
4026
+ color: ${e=>e.theme.iconColor};
4027
+ min-width: ${e=>e.theme.iconSectionWidth};
4028
+ overflow: hidden;
4029
+ font-size: 24px;
4030
+
4031
+ svg {
4032
+ width: ${e=>e.theme.iconWidth};
4033
+ height: ${e=>e.theme.iconHeight};
4034
+ }
4035
+ `,ld=ut.default.div`
4036
+ font-family: ${e=>e.theme.fontFamily};
4037
+ font-size: ${e=>e.theme.fontSize};
4038
+ font-style: ${e=>e.theme.fontStyle};
4039
+ font-weight: ${e=>e.theme.fontWeight};
4040
+ color: ${e=>e.theme.fontColor};
4041
+ padding-top: ${e=>e.theme.labelPaddingTop};
4042
+ padding-bottom: ${e=>e.theme.labelPaddingBottom};
4043
+ padding-left: ${e=>e.theme.labelPaddingLeft};
4044
+ padding-right: ${e=>e.theme.labelPaddingRight};
4045
+ flex-grow: 1;
4046
+ text-align: center;
4047
+ text-overflow: ellipsis;
4048
+ overflow: hidden;
4049
+ white-space: nowrap;
4050
+ `,cd=wb;var Ro=require("react"),ft=F(require("styled-components"));var ht=require("react/jsx-runtime"),dd=(e,t)=>new RegExp(e).test(t),zb=(0,Ro.forwardRef)(({label:e,name:t="",defaultValue:r="",value:n,helperText:i,placeholder:l="",disabled:a=!1,readOnly:c=!1,optional:d=!1,verticalGrow:s="auto",rows:m=4,onChange:g,onBlur:u,error:h,pattern:y,minLength:v,maxLength:f,autocomplete:_="off",margin:x,size:b="medium",tabIndex:D=0},P)=>{let[B,M]=(0,Ro.useState)(r),H=`textarea-${(0,Ro.useId)()}`,w=k(),S=J(),z=(0,Ro.useRef)(null),G=(0,Ro.useRef)(null),V=`error-${H}`,q=T=>T===""&&!d,W=T=>T!==""&&v&&f&&(T.length<v||T.length>f),A=T=>{n??M(T),q(T)?g?.({value:T,error:S.formFields.requiredValueErrorMessage}):W(T)?g?.({value:T,error:S.formFields.lengthErrorMessage(v,f)}):T&&y&&!dd(y,T)?g?.({value:T,error:S.formFields.formatRequestedErrorMessage}):g?.({value:T})},C=T=>{q(T.target.value)?u?.({value:T.target.value,error:S.formFields.requiredValueErrorMessage}):W(T.target.value)?u?.({value:T.target.value,error:S.formFields.lengthErrorMessage(v,f)}):T.target.value&&y&&!dd(y,T.target.value)?u?.({value:T.target.value,error:S.formFields.formatRequestedErrorMessage}):u?.({value:T.target.value})},I=T=>{A(T.target.value)};return(0,Ro.useEffect)(()=>{if(s==="auto"&&G.current!==(n??B)){let T=parseInt(window.getComputedStyle(z.current)["line-height"]),L=parseInt(window.getComputedStyle(z.current)["padding-top"])*2;z.current.style.height=`${T*m}px`;let E=z.current.scrollHeight-L;z.current.style.height=`${E}px`,G.current=n??B}},[s,n,B,m]),(0,ht.jsx)(ft.ThemeProvider,{theme:w.textarea,children:(0,ht.jsxs)(Rb,{margin:x,size:b,ref:P,children:[e&&(0,ht.jsxs)(Hb,{htmlFor:H,disabled:a,helperText:i,children:[e," ",d&&(0,ht.jsx)(Mb,{children:S.formFields.optionalLabel})]}),i&&(0,ht.jsx)(Eb,{disabled:a,children:i}),(0,ht.jsx)(Wb,{id:H,name:t,value:n??B,placeholder:l,verticalGrow:s,rows:m,onChange:I,onBlur:C,disabled:a,readOnly:c,error:h,minLength:v,maxLength:f,autoComplete:_,ref:z,tabIndex:D,"aria-invalid":!!h,"aria-errormessage":h?V:void 0,"aria-required":!a&&!d}),!a&&typeof h=="string"&&(0,ht.jsx)(Ob,{id:V,role:"alert","aria-live":h?"assertive":"off",children:h})]})})}),sd={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},Ab=(e,t)=>t==="fillParent"?`calc(${sd[t]} - ${X(e,"left")} - ${X(e,"right")})`:sd[t],Rb=ft.default.div`
4051
+ display: flex;
4052
+ flex-direction: column;
4053
+ width: ${e=>Ab(e.margin,e.size)};
4054
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
4055
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
4056
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
4057
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
4058
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
4059
+ `,Hb=ft.default.label`
4060
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
4061
+
4062
+ font-family: ${e=>e.theme.fontFamily};
4063
+ font-size: ${e=>e.theme.labelFontSize};
4064
+ font-style: ${e=>e.theme.labelFontStyle};
4065
+ font-weight: ${e=>e.theme.labelFontWeight};
4066
+ line-height: ${e=>e.theme.labelLineHeight};
4067
+ ${e=>!e.helperText&&"margin-bottom: 0.25rem"}
4068
+ `,Mb=ft.default.span`
4069
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
4070
+ `,Eb=ft.default.span`
4071
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
4072
+
4073
+ font-family: ${e=>e.theme.fontFamily};
4074
+ font-size: ${e=>e.theme.helperTextFontSize};
4075
+ font-style: ${e=>e.theme.helperTextFontStyle};
4076
+ font-weight: ${e=>e.theme.helperTextFontWeight};
4077
+ line-height: ${e=>e.theme.helperTextLineHeight};
4078
+ margin-bottom: 0.25rem;
4079
+ `,Wb=ft.default.textarea`
4080
+ ${({verticalGrow:e})=>e==="none"?"resize: none;":e==="auto"?"resize: none; overflow: hidden;":e==="manual"?"resize: vertical;":"resize: none;"};
4081
+
4082
+ ${e=>e.disabled?`background-color: ${e.theme.disabledContainerFillColor};`:"background-color: transparent;"}
4083
+
4084
+ padding: 0.5rem 1rem;
4085
+ box-shadow: 0 0 0 2px transparent;
4086
+ border-radius: 0.25rem;
4087
+ border: 1px solid
4088
+ ${e=>{if(e.disabled)return e.theme.disabledBorderColor;if(e.error)return"transparent";if(e.readOnly)return e.theme.readOnlyBorderColor;e.theme.enabledBorderColor}};
4089
+
4090
+ ${e=>e.error&&!e.disabled&&`box-shadow: 0 0 0 2px ${e.theme.errorBorderColor};
4091
+ `}
4092
+
4093
+ ${e=>e.disabled?"cursor: not-allowed;":`&:hover {
4094
+ border-color: ${e.error?"transparent":e.readOnly?e.theme.hoverReadOnlyBorderColor:e.theme.hoverBorderColor};
4095
+ ${e.error&&`box-shadow: 0 0 0 2px ${e.theme.hoverErrorBorderColor};`}
4096
+ }
4097
+ &:focus, &:focus-within {
4098
+ outline: none;
4099
+ border-color: transparent;
4100
+ box-shadow: 0 0 0 2px ${e.theme.focusBorderColor};
4101
+ }`};
4102
+
4103
+ color: ${e=>e.disabled?e.theme.disabledValueFontColor:e.theme.valueFontColor};
4104
+ font-family: ${e=>e.theme.fontFamily};
4105
+ font-size: ${e=>e.theme.valueFontSize};
4106
+ font-style: ${e=>e.theme.valueFontStyle};
4107
+ font-weight: ${e=>e.theme.valueFontWeight};
4108
+ line-height: 1.5em;
4109
+
4110
+ ::placeholder {
4111
+ color: ${e=>e.disabled?e.theme.disabledPlaceholderFontColor:e.theme.placeholderFontColor};
4112
+ }
4113
+ `,Ob=ft.default.span`
4114
+ color: ${e=>e.theme.errorMessageColor};
4115
+ font-family: ${e=>e.theme.fontFamily};
4116
+ font-size: 0.75rem;
4117
+ font-weight: 400;
4118
+ min-height: 1.5em;
4119
+ line-height: 1.5em;
4120
+ margin-top: 0.25rem;
4121
+ `,md=zb;var _o=require("react"),pd=require("react-dom"),ud=F(require("styled-components"));var Ur=require("react"),tr=F(require("styled-components"));var jt=require("react"),Gb=(e,t)=>{let r=(0,jt.useRef)(),n=(0,jt.useRef)(),i=(0,jt.useCallback)(()=>clearTimeout(n.current),[]);return(0,jt.useEffect)(()=>{r.current=e},[e]),(0,jt.useEffect)(()=>{if(t!=null)return n.current=setTimeout(r.current,t),i},[t,i]),i},vi=Gb;var po=require("react/jsx-runtime"),Kr=e=>{switch(e){case"info":return{primaryColor:o.color_blue_700,secondaryColor:o.color_blue_100,icon:"filled_info"};case"success":return{primaryColor:o.color_green_700,secondaryColor:o.color_green_100,icon:"filled_check_circle"};case"warning":return{primaryColor:o.color_orange_700,secondaryColor:o.color_orange_100,icon:"filled_warning"};default:return{primaryColor:o.color_purple_700,secondaryColor:o.color_purple_100,icon:""}}},Nb=tr.default.div`
4122
+ display: flex;
4123
+ align-items: center;
4124
+ gap: ${o.spacing_8};
4125
+ overflow: hidden;
4126
+
4127
+ ${({loading:e})=>!e&&`font-size: ${o.type_scale_05}`};
4128
+ > svg {
4129
+ width: 24px;
4130
+ height: 24px;
4131
+ }
4132
+ `,Vb=tr.default.span`
4133
+ color: ${o.color_black};
4134
+ font-family: ${o.type_sans};
4135
+ font-size: ${o.type_scale_02};
4136
+ font-weight: ${o.type_semibold};
4137
+ overflow: hidden;
4138
+ text-overflow: ellipsis;
4139
+ white-space: nowrap;
4140
+ `,jb=tr.keyframes`
4141
+ 0% {
4142
+ transform: translateY(100%);
4143
+ opacity: 0;
4144
+ }
4145
+ 100% {
4146
+ transform: translateY(0);
4147
+ opacity: 1;
4148
+ }
4149
+ `,Xb=tr.keyframes`
4150
+ 0% {
4151
+ transform: translateY(0);
4152
+ opacity: 1;
4153
+ }
4154
+ 100% {
4155
+ transform: translateY(100%);
4156
+ opacity: 0;
4157
+ }
4158
+ `,Jb=tr.default.output`
4159
+ box-sizing: border-box;
4160
+ min-width: 200px;
4161
+ max-width: 600px;
4162
+ width: fit-content;
4163
+ border-radius: ${o.border_radius_medium};
4164
+ border-left: ${o.border_width_2} solid ${({semantic:e})=>Kr(e).primaryColor};
4165
+ box-shadow: 0px 2px 2px 0px rgba(181, 181, 181, 0.4);
4166
+ display: inline-flex;
4167
+ justify-content: space-between;
4168
+ gap: ${o.spacing_24};
4169
+ padding: ${o.spacing_8} ${o.spacing_12};
4170
+ background-color: ${({semantic:e})=>Kr(e).secondaryColor};
4171
+ color: ${({semantic:e})=>Kr(e).primaryColor};
4172
+ animation: ${({isClosing:e})=>e?Xb:jb} 0.3s ease forwards;
4173
+
4174
+ @media (max-width: ${de.medium}rem) {
4175
+ max-width: 100%;
4176
+ }
4177
+ `,Kb={spinner:{accentColor:Kr("info").primaryColor}},Ub=(0,Ur.memo)(({icon:e,hideSemanticIcon:t,loading:r,semantic:n})=>n==="default"?typeof e=="string"?(0,po.jsx)($,{icon:e}):e:n==="info"&&r?(0,po.jsx)(Ho,{theme:Kb,children:(0,po.jsx)(jn,{mode:"small"})}):!t&&(0,po.jsx)($,{icon:Kr(n).icon})),Yb=({action:e,duration:t,hideSemanticIcon:r,icon:n,loading:i,message:l,onClear:a,semantic:c})=>{let[d,s]=(0,Ur.useState)(!1),m=J(),g=vi(()=>{s(!0)},i?null:t-300),u=vi(()=>{a()},i?null:t);return(0,po.jsxs)(Jb,{semantic:c,isClosing:d,role:"status",children:[(0,po.jsxs)(Nb,{loading:i,children:[(0,po.jsx)(Ub,{semantic:c,icon:n,loading:i,hideSemanticIcon:r}),(0,po.jsx)(Vb,{children:l})]}),(0,po.jsxs)(ne,{alignItems:"center",gap:"0.25rem",children:[e&&(0,po.jsx)(bo,{semantic:c,mode:"tertiary",size:{height:"small"},label:e.label,icon:e.icon,onClick:e.onClick}),(0,po.jsx)(co,{icon:"clear",title:m.toast.clearToastActionTitle,onClick:()=>{i||(g(),u()),s(!0),setTimeout(()=>{a()},300)}})]})]})},gd=(0,Ur.memo)(Yb);var Yr=require("react/jsx-runtime"),Ti=(0,_o.createContext)(null),Zb=e=>{let t="",r=!0;for(;r;)t=`${performance.now()}-${Math.random().toString(36).slice(2,9)}`,r=e.some(n=>n.id===t);return t},qb=ud.default.section`
4178
+ box-sizing: border-box;
4179
+ position: fixed;
4180
+ bottom: 0;
4181
+ right: 0;
4182
+ z-index: 2147483647;
4183
+ display: flex;
4184
+ flex-direction: column;
4185
+ align-items: flex-end;
4186
+ gap: ${o.spacing_8};
4187
+ padding: ${o.spacing_24};
4188
+
4189
+ @media (max-width: ${de.medium}rem) {
4190
+ align-items: center;
4191
+ width: 100%;
4192
+ }
4193
+ `,Qb=({children:e,duration:t=3e3})=>{let[r,n]=(0,_o.useState)([]),[i,l]=(0,_o.useState)(!1),a=(0,_o.useMemo)(()=>t>5e3?5e3:t<3e3?3e3:t,[t]),c=(0,_o.useCallback)(s=>{n(m=>m.filter(g=>g.id!==s))},[]),d=(0,_o.useCallback)((s,m)=>{let g=Zb(r);return n(u=>[...u,{id:g,semantic:m,...s}].slice(-5)),()=>c(g)},[t]);return(0,_o.useEffect)(()=>{l(!0)},[]),(0,Yr.jsxs)(Ti.Provider,{value:{add:d},children:[i&&(0,pd.createPortal)((0,Yr.jsx)(qb,{children:r.map(s=>(0,Yr.jsx)(gd,{duration:a,onClear:()=>{c(s.id)},...s},s.id))}),document.body),e]})},hd=Qb;var Un=require("react"),Qo=F(require("styled-components"));var uo=require("react/jsx-runtime"),e0=({label:e,helperText:t,defaultValue:r,value:n,onChange:i,disabled:l=!1,options:a,margin:c,multiple:d=!1,tabIndex:s=0})=>{let m=`label-toggle-group-${(0,Un.useId)()}`,[g,u]=(0,Un.useState)(r??(d?[]:-1)),h=k(),y=f=>{let _;if(n==null)if(d&&Array.isArray(g)){if(_=g.map(x=>x),_.includes(f)){let x=_.indexOf(f);_.splice(x,1)}else _.push(f);u(_)}else u(f===g?null:f);else if(d)if(_=Array.isArray(n)?n.map(x=>x):n,_.includes(f)){let x=_.indexOf(f);_.splice(x,1)}else _.push(f);i?.(d?_:f)},v=(f,_)=>{switch(f.key){case"Enter":case" ":f.preventDefault(),y(_)}};return(0,uo.jsx)(Qo.ThemeProvider,{theme:h.toggleGroup,children:(0,uo.jsxs)(o0,{margin:c,children:[(0,uo.jsx)(t0,{id:m,disabled:l,children:e}),(0,uo.jsx)(r0,{disabled:l,children:t}),(0,uo.jsx)(n0,{"aria-labelledby":m,children:a.map((f,_)=>(0,uo.jsx)(ge,{label:f.title,children:(0,uo.jsx)(i0,{"aria-label":f.title,"aria-pressed":d?n?Array.isArray(n)&&n.includes(f.value):Array.isArray(g)&&g.includes(f.value):n?f.value===n:f.value===g,disabled:l,onClick:()=>{y(f.value)},onKeyDown:x=>{v(x,f.value)},tabIndex:l?-1:s,hasIcon:f.icon,optionLabel:f.label,selected:d?n?Array.isArray(n)&&n.includes(f.value):Array.isArray(g)&&g.includes(f.value):n?f.value===n:f.value===g,children:(0,uo.jsxs)(ne,{alignItems:"center",children:[f.icon&&(0,uo.jsx)(a0,{optionLabel:f.label,children:typeof f.icon=="string"?(0,uo.jsx)($,{icon:f.icon}):f.icon}),f.label&&(0,uo.jsx)(l0,{children:f.label})]})},`toggle-${_}-${f.label}`)}))})]})})},o0=Qo.default.div`
4194
+ display: inline-flex;
4195
+ flex-direction: column;
4196
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
4197
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
4198
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
4199
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
4200
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
4201
+ `,t0=Qo.default.label`
4202
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
4203
+ font-family: ${e=>e.theme.labelFontFamily};
4204
+ font-size: ${e=>e.theme.labelFontSize};
4205
+ font-style: ${e=>e.theme.labelFontStyle};
4206
+ font-weight: ${e=>e.theme.labelFontWeight};
4207
+ line-height: ${e=>e.theme.labelLineHeight};
4208
+ `,r0=Qo.default.span`
4209
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
4210
+ font-family: ${e=>e.theme.helperTextFontFamily};
4211
+ font-size: ${e=>e.theme.helperTextFontSize};
4212
+ font-style: ${e=>e.theme.helperTextFontStyle};
4213
+ font-weight: ${e=>e.theme.helperTextFontWeight};
4214
+ line-height: ${e=>e.theme.helperTextLineHeight};
4215
+ `,n0=Qo.default.div`
4216
+ display: flex;
4217
+ gap: 0.25rem;
4218
+ width: max-content;
4219
+ height: calc(48px - 4px - 4px);
4220
+ padding: 0.25rem;
4221
+ border-width: ${e=>e.theme.containerBorderThickness};
4222
+ border-style: ${e=>e.theme.containerBorderStyle};
4223
+ border-radius: ${e=>e.theme.containerBorderRadius};
4224
+ border-color: ${e=>e.theme.containerBorderColor};
4225
+ margin-top: ${e=>e.theme.containerMarginTop};
4226
+ background-color: ${e=>e.theme.containerBackgroundColor};
4227
+ `,i0=Qo.default.button`
4228
+ display: flex;
4229
+ flex-direction: column;
4230
+ justify-content: center;
4231
+ padding-left: ${e=>e.optionLabel&&e.hasIcon||e.optionLabel&&!e.hasIcon?e.theme.labelPaddingLeft:e.theme.iconPaddingLeft};
4232
+ padding-right: ${e=>e.optionLabel&&e.hasIcon||e.optionLabel&&!e.hasIcon?e.theme.labelPaddingRight:e.theme.iconPaddingRight};
4233
+ border-width: ${e=>e.theme.optionBorderThickness};
4234
+ border-style: ${e=>e.theme.optionBorderStyle};
4235
+ border-radius: ${e=>e.theme.optionBorderRadius};
4236
+ background-color: ${e=>e.selected?e.theme.selectedBackgroundColor:e.theme.unselectedBackgroundColor};
4237
+ color: ${e=>e.selected?e.theme.selectedFontColor:e.theme.unselectedFontColor};
4238
+ cursor: pointer;
4239
+
4240
+ &:hover {
4241
+ background-color: ${e=>e.selected?e.theme.selectedHoverBackgroundColor:e.theme.unselectedHoverBackgroundColor};
4242
+ }
4243
+ &:active {
4244
+ background-color: ${e=>e.selected?e.theme.selectedActiveBackgroundColor:e.theme.unselectedActiveBackgroundColor};
4245
+ color: #ffffff;
4246
+ }
4247
+ &:focus {
4248
+ outline: none;
4249
+ box-shadow: ${e=>`0 0 0 ${e.theme.optionFocusBorderThickness} ${e.theme.focusColor}`};
4250
+ }
4251
+ &:disabled {
4252
+ background-color: ${e=>e.selected?e.theme.selectedDisabledBackgroundColor:e.theme.unselectedDisabledBackgroundColor};
4253
+ color: ${e=>e.selected?e.theme.selectedDisabledFontColor:e.theme.unselectedDisabledFontColor};
4254
+ cursor: not-allowed;
4255
+ }
4256
+ `,l0=Qo.default.span`
4257
+ font-family: ${e=>e.theme.optionLabelFontFamily};
4258
+ font-size: ${e=>e.theme.optionLabelFontSize};
4259
+ font-style: ${e=>e.theme.optionLabelFontStyle};
4260
+ font-weight: ${e=>e.theme.optionLabelFontWeight};
4261
+ `,a0=Qo.default.div`
4262
+ display: flex;
4263
+ margin-right: ${e=>e.optionLabel&&e.theme.iconMarginRight};
4264
+ overflow: hidden;
4265
+ font-size: 24px;
4266
+ svg {
4267
+ height: 24px;
4268
+ width: 24px;
4269
+ }
4270
+ `,fd=e0;var Cd=require("react"),ro=F(require("styled-components"));var he=require("react/jsx-runtime"),bd={validIcon:(0,he.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",children:[(0,he.jsx)("path",{"data-name":"Path 2946",d:"M0,0H18V18H0Z",fill:"none"}),(0,he.jsx)("path",{"data-name":"Path 2947",d:"M9.986,4a5.986,5.986,0,1,0,5.986,5.986A5.994,5.994,0,0,0,9.986,4Zm-1.5,9.727L5.5,10.734,6.551,9.679l1.938,1.93L13.42,6.679l1.055,1.063Z",transform:"translate(-0.986 -0.986)",fill:"#eafaef",opacity:"0.999"}),(0,he.jsx)("path",{"data-name":"Path 2948",d:"M9.493,2a7.493,7.493,0,1,0,7.493,7.493A7.5,7.5,0,0,0,9.493,2Zm0,13.487a5.994,5.994,0,1,1,5.994-5.994A6,6,0,0,1,9.493,15.487Zm3.439-9.306L7.994,11.119,6.054,9.186,5,10.242l3,3,5.994-5.994Z",transform:"translate(-0.493 -0.493)",fill:"#24a148"})]}),invalidIcon:(0,he.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",children:[(0,he.jsx)("path",{"data-name":"Path 2943",d:"M0,0H18V18H0Z",fill:"none"}),(0,he.jsx)("path",{"data-name":"Path 2944",d:"M10,4a6,6,0,1,0,6,6A6.01,6.01,0,0,0,10,4Zm3,7.945L11.945,13,10,11.06,8.059,13,7,11.945,8.944,10,7,8.059,8.059,7,10,8.944,11.945,7,13,8.059,11.06,10Z",transform:"translate(-1.002 -1.002)",fill:"#ffe6e9"}),(0,he.jsx)("path",{"data-name":"Path 2945",d:"M11.444,6.5,9.5,8.443,7.558,6.5,6.5,7.558,8.443,9.5,6.5,11.444,7.558,12.5,9.5,10.558,11.444,12.5,12.5,11.444,10.558,9.5,12.5,7.558ZM9.5,2A7.5,7.5,0,1,0,17,9.5,7.494,7.494,0,0,0,9.5,2Zm0,13.5a6,6,0,1,1,6-6A6.009,6.009,0,0,1,9.5,15.5Z",transform:"translate(-0.501 -0.501)",fill:"#d0011b"})]})},c0=({mode:e="horizontal",defaultCurrentStep:t,currentStep:r,onStepClick:n,steps:i,margin:l,tabIndex:a=0})=>{let[c,d]=(0,Cd.useState)(r??t??0),s=r??c,m=k(),g=u=>{r==null&&d(u),n&&n(u)};return(0,he.jsx)(ro.ThemeProvider,{theme:m.wizard,children:(0,he.jsx)(d0,{mode:e,margin:l,role:"group",children:i?.map((u,h)=>(0,he.jsxs)(s0,{mode:e,lastStep:h===i?.length-1,children:[(0,he.jsxs)(m0,{onClick:()=>{g(h)},disabled:u.disabled,mode:e,first:h===0,last:h===i?.length-1,"aria-current":s===h?"step":"false",tabIndex:a,children:[(0,he.jsxs)(g0,{validityIcon:u.valid!==void 0,children:[(0,he.jsx)(p0,{current:h===s,visited:h<s,disabled:u.disabled,children:u.icon?typeof u.icon=="string"?(0,he.jsx)($,{icon:u.icon}):u.icon:(0,he.jsx)(u0,{children:h+1})}),u.valid!==void 0&&(u.valid?(0,he.jsx)(yd,{children:bd.validIcon}):(0,he.jsx)(yd,{children:bd.invalidIcon}))]}),(u.label||u.description)&&(0,he.jsxs)(h0,{children:[u.label&&(0,he.jsx)(f0,{current:h===s,disabled:u.disabled,visited:h<=c,children:u.label}),u.description&&(0,he.jsx)(b0,{current:h===s,disabled:u.disabled,visited:h<=c,children:u.description})]})]}),h===i.length-1?"":(0,he.jsx)(y0,{mode:e})]},`step${h}`))})})},d0=ro.default.div`
4271
+ display: flex;
4272
+ flex-direction: ${e=>e.mode==="vertical"?"column":"row"};
4273
+ justify-content: center;
4274
+ ${e=>e.mode==="vertical"&&"height: 500px"};
4275
+ font-family: ${e=>e.theme.fontFamily};
4276
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
4277
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
4278
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
4279
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
4280
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
4281
+ `,s0=ro.default.div`
4282
+ display: inline-flex;
4283
+ ${e=>e.mode!=="vertical"&&"align-items: center;"}
4284
+ flex-grow: ${e=>e.lastStep?"0":"1"};
4285
+ flex-direction: ${e=>e.mode==="vertical"?"column":"row"};
4286
+ ${e=>e.mode==="vertical"&&"width: fit-content;"}
4287
+ `,m0=ro.default.button`
4288
+ display: flex;
4289
+ justify-content: flex-start;
4290
+ align-items: center;
4291
+ border: none;
4292
+ border-radius: 0.25rem;
4293
+ background: inherit;
4294
+ margin: ${e=>e.first?e.mode==="vertical"?"0 0 24px 0":"0 24px 0 0":e.last?e.mode==="vertical"?"24px 0 0 0":"0 0 0 24px":e.mode==="vertical"?"24px 0":"0 24px"};
4295
+
4296
+ padding: 0px;
4297
+ ${e=>e.disabled?"cursor: not-allowed":""};
4298
+
4299
+ &:hover {
4300
+ ${e=>e.disabled?"":"cursor: pointer"};
4301
+ }
4302
+ &:focus {
4303
+ outline: 2px solid ${e=>e.theme.focusColor};
4304
+ }
4305
+ `,g0=ro.default.div`
4306
+ position: relative;
4307
+ display: inline-flex;
4308
+ ${e=>e.validityIcon&&"padding-bottom: 4px;"}
4309
+ `,p0=ro.default.div`
4310
+ width: ${e=>e.disabled?e.theme.disabledStepWidth:e.current?e.theme.selectedStepWidth:e.theme.stepWidth};
4311
+ height: ${e=>e.disabled?e.theme.disabledStepHeight:e.current?e.theme.selectedStepHeight:e.theme.stepHeight};
4312
+
4313
+ ${e=>`
4314
+ ${e.disabled?`border: ${e.theme.disabledStepBorderThickness} ${e.theme.disabledStepBorderStyle} ${e.theme.disabledStepBorderColor};`:e.current?`border: ${e.theme.selectedStepBorderThickness} ${e.theme.selectedStepBorderStyle} ${e.theme.selectedStepBorderColor};`:e.visited?`border: ${e.theme.stepBorderThickness} ${e.theme.stepBorderStyle} ${e.theme.visitedStepBorderColor};`:`border: ${e.theme.stepBorderThickness} ${e.theme.stepBorderStyle} ${e.theme.unvisitedStepBorderColor};`}
4315
+ background: ${e.disabled?`${e.theme.disabledStepBackgroundColor}`:e.current?`${e.theme.selectedStepBackgroundColor}`:e.visited?`${e.theme.visitedStepBackgroundColor}`:`${e.theme.unvisitedStepBackgroundColor}`};
4316
+ `}
4317
+ ${e=>e.disabled?`color: ${e.theme.disabledStepFontColor};`:`color: ${e.current?e.theme.selectedStepFontColor:e.visited?e.theme.visitedStepFontColor:e.theme.unvisitedStepFontColor};`};
4318
+
4319
+ border-radius: ${e=>!e.current&&!e.disabled?e.theme.stepBorderRadius:e.current?e.theme.selectedStepBorderRadius:e.disabled?e.theme.disabledStepBorderRadius:""};
4320
+
4321
+ display: flex;
4322
+ justify-content: center;
4323
+ align-items: center;
4324
+ overflow: hidden;
4325
+ font-size: ${e=>e.theme.stepIconSize};
4326
+ svg {
4327
+ width: ${e=>e.theme.stepIconSize};
4328
+ height: ${e=>e.theme.stepIconSize};
4329
+ }
4330
+ `,u0=ro.default.p`
4331
+ font-size: ${e=>e.theme.stepFontSize};
4332
+ font-family: ${e=>e.theme.stepFontFamily};
4333
+ font-style: ${e=>e.theme.stepFontStyle};
4334
+ font-weight: ${e=>e.theme.stepFontWeight};
4335
+ letter-spacing: ${e=>e.theme.stepFontTracking};
4336
+ opacity: 1;
4337
+ margin: 0px 0px 0px 1px;
4338
+ `,yd=ro.default.div`
4339
+ width: 18px;
4340
+ height: 18px;
4341
+ position: absolute;
4342
+ top: 22.5px;
4343
+ left: 22.5px;
4344
+ `,h0=ro.default.div`
4345
+ margin-left: 12px;
4346
+ `,f0=ro.default.p`
4347
+ text-align: ${e=>e.theme.labelTextAlign};
4348
+ font-family: ${e=>e.theme.labelFontFamily};
4349
+ font-size: ${e=>e.theme.labelFontSize};
4350
+ font-style: ${e=>e.theme.labelFontStyle};
4351
+ font-weight: ${e=>e.theme.labelFontWeight};
4352
+ letter-spacing: ${e=>e.theme.labelFontTracking};
4353
+ ${e=>e.disabled?`color: ${e.theme.disabledLabelFontColor};`:`color: ${e.visited?e.current?e.theme.selectedLabelFontColor:e.theme.visitedLabelFontColor:e.theme.unvisitedLabelFontColor};`};
4354
+ text-transform: ${e=>e.theme.labelFontTextTransform};
4355
+ margin: 0;
4356
+ `,b0=ro.default.p`
4357
+ text-align: ${e=>e.theme.helperTextTextAlign};
4358
+ font-family: ${e=>e.theme.helperTextFontFamily};
4359
+ font-size: ${e=>e.theme.helperTextFontSize};
4360
+ font-style: ${e=>e.theme.helperTextFontStyle};
4361
+ font-weight: ${e=>e.theme.helperTextFontWeight};
4362
+ letter-spacing: ${e=>e.theme.helperTextFontTracking};
4363
+ text-transform: ${e=>e.theme.helperTextFontTextTransform};
4364
+ ${e=>e.disabled?`color: ${e.theme.disabledHelperTextFontColor};`:`color: ${e.visited?e.current?e.theme.selectedHelperTextFontColor:e.theme.visitedHelperTextFontColor:e.theme.unvisitedHelperTextFontColor};`};
4365
+ margin: 0;
4366
+ `,y0=ro.default.div`
4367
+ ${e=>e.mode==="horizontal"?"height: 0;":"width: 0;"};
4368
+ ${e=>e.mode==="vertical"&&"margin: 0 18px;"}
4369
+ border: ${e=>`${e.theme.separatorBorderStyle} ${e.theme.separatorBorderThickness} ${e.theme.separatorColor}`};
4370
+ opacity: 1;
4371
+ flex-grow: 1;
4372
+ `,xd=c0;var Yn=require("react");var C0=()=>{let{add:e}=(0,Yn.useContext)(Ti);return(0,Yn.useMemo)(()=>({default:r=>e(r,"default"),success:r=>e(r,"success"),warning:r=>e(r,"warning"),info:r=>e(r,"info"),loading:r=>e({...r,loading:!0},"info")}),[e])},_d=C0;0&&(module.exports={DxcAccordion,DxcAccordionGroup,DxcAlert,DxcApplicationLayout,DxcBadge,DxcBleed,DxcBreadcrumbs,DxcBulletedList,DxcButton,DxcCard,DxcCheckbox,DxcChip,DxcContainer,DxcContextualMenu,DxcDataGrid,DxcDateInput,DxcDialog,DxcDivider,DxcDropdown,DxcFileInput,DxcFlex,DxcGrid,DxcHeading,DxcImage,DxcInset,DxcLink,DxcNavTabs,DxcNumberInput,DxcPaginator,DxcParagraph,DxcPasswordInput,DxcProgressBar,DxcQuickNav,DxcRadioGroup,DxcResultsetTable,DxcSelect,DxcSlider,DxcSpinner,DxcStatusLight,DxcSwitch,DxcTable,DxcTabs,DxcTag,DxcTextInput,DxcTextarea,DxcToastsQueue,DxcToggleGroup,DxcTooltip,DxcTypography,DxcWizard,HalstackContext,HalstackLanguageContext,HalstackProvider,useToast});