@dxc-technology/halstack-react 0.0.0-34d2259 → 0.0.0-355b1d4

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 (193) 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 +4371 -0
  5. package/dist/index.mjs +4371 -0
  6. package/package.json +76 -68
  7. package/babel.config.js +0 -8
  8. package/dist/BackgroundColorContext.js +0 -46
  9. package/dist/ThemeContext.js +0 -248
  10. package/dist/accordion/Accordion.js +0 -353
  11. package/dist/accordion-group/AccordionGroup.js +0 -186
  12. package/dist/alert/Alert.js +0 -403
  13. package/dist/alert/index.d.ts +0 -51
  14. package/dist/badge/Badge.js +0 -63
  15. package/dist/box/Box.js +0 -156
  16. package/dist/button/Button.js +0 -238
  17. package/dist/card/Card.js +0 -254
  18. package/dist/checkbox/Checkbox.js +0 -300
  19. package/dist/checkbox/Checkbox.stories.js +0 -144
  20. package/dist/checkbox/readme.md +0 -116
  21. package/dist/chip/Chip.js +0 -265
  22. package/dist/common/OpenSans.css +0 -81
  23. package/dist/common/RequiredComponent.js +0 -40
  24. package/dist/common/fonts/OpenSans-Bold.ttf +0 -0
  25. package/dist/common/fonts/OpenSans-BoldItalic.ttf +0 -0
  26. package/dist/common/fonts/OpenSans-ExtraBold.ttf +0 -0
  27. package/dist/common/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
  28. package/dist/common/fonts/OpenSans-Italic.ttf +0 -0
  29. package/dist/common/fonts/OpenSans-Light.ttf +0 -0
  30. package/dist/common/fonts/OpenSans-LightItalic.ttf +0 -0
  31. package/dist/common/fonts/OpenSans-Regular.ttf +0 -0
  32. package/dist/common/fonts/OpenSans-SemiBold.ttf +0 -0
  33. package/dist/common/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
  34. package/dist/common/utils.js +0 -22
  35. package/dist/common/variables.js +0 -1528
  36. package/dist/date/Date.js +0 -379
  37. package/dist/date/Date.stories.js +0 -205
  38. package/dist/date/readme.md +0 -73
  39. package/dist/dialog/Dialog.js +0 -218
  40. package/dist/dropdown/Dropdown.js +0 -544
  41. package/dist/file-input/FileInput.js +0 -644
  42. package/dist/file-input/FileItem.js +0 -280
  43. package/dist/file-input/index.d.ts +0 -81
  44. package/dist/footer/Footer.js +0 -395
  45. package/dist/footer/Footer.stories.js +0 -94
  46. package/dist/footer/dxc_logo.svg +0 -15
  47. package/dist/footer/readme.md +0 -41
  48. package/dist/header/Header.js +0 -403
  49. package/dist/header/Header.stories.js +0 -176
  50. package/dist/header/close_icon.svg +0 -1
  51. package/dist/header/dxc_logo_black.svg +0 -8
  52. package/dist/header/hamb_menu_black.svg +0 -1
  53. package/dist/header/hamb_menu_white.svg +0 -1
  54. package/dist/header/readme.md +0 -33
  55. package/dist/heading/Heading.js +0 -218
  56. package/dist/input-text/InputText.js +0 -707
  57. package/dist/input-text/InputText.stories.js +0 -209
  58. package/dist/input-text/error.svg +0 -1
  59. package/dist/input-text/readme.md +0 -91
  60. package/dist/layout/ApplicationLayout.js +0 -331
  61. package/dist/layout/facebook.svg +0 -45
  62. package/dist/layout/linkedin.svg +0 -50
  63. package/dist/layout/twitter.svg +0 -53
  64. package/dist/link/Link.js +0 -237
  65. package/dist/link/readme.md +0 -51
  66. package/dist/main.d.ts +0 -8
  67. package/dist/main.js +0 -367
  68. package/dist/new-date/NewDate.js +0 -400
  69. package/dist/new-date/index.d.ts +0 -95
  70. package/dist/new-input-text/NewInputText.js +0 -967
  71. package/dist/new-input-text/index.d.ts +0 -135
  72. package/dist/new-select/NewSelect.js +0 -836
  73. package/dist/new-select/index.d.ts +0 -53
  74. package/dist/new-textarea/NewTextarea.js +0 -365
  75. package/dist/new-textarea/index.d.ts +0 -117
  76. package/dist/number/Number.js +0 -136
  77. package/dist/number/NumberContext.js +0 -16
  78. package/dist/number/index.d.ts +0 -113
  79. package/dist/paginator/Paginator.js +0 -289
  80. package/dist/paginator/images/next.svg +0 -3
  81. package/dist/paginator/images/nextPage.svg +0 -3
  82. package/dist/paginator/images/previous.svg +0 -3
  83. package/dist/paginator/images/previousPage.svg +0 -3
  84. package/dist/paginator/readme.md +0 -50
  85. package/dist/password/Password.js +0 -200
  86. package/dist/password/index.d.ts +0 -94
  87. package/dist/password/styles.css +0 -3
  88. package/dist/progress-bar/ProgressBar.js +0 -242
  89. package/dist/progress-bar/ProgressBar.stories.js +0 -280
  90. package/dist/progress-bar/readme.md +0 -63
  91. package/dist/radio/Radio.js +0 -209
  92. package/dist/radio/Radio.stories.js +0 -166
  93. package/dist/radio/readme.md +0 -70
  94. package/dist/resultsetTable/ResultsetTable.js +0 -358
  95. package/dist/resultsetTable/arrow_downward-24px_wht.svg +0 -1
  96. package/dist/resultsetTable/arrow_upward-24px_wht.svg +0 -1
  97. package/dist/resultsetTable/unfold_more-24px_wht.svg +0 -1
  98. package/dist/select/Select.js +0 -549
  99. package/dist/sidenav/Sidenav.js +0 -179
  100. package/dist/slider/Slider.js +0 -319
  101. package/dist/slider/Slider.stories.js +0 -241
  102. package/dist/slider/readme.md +0 -64
  103. package/dist/spinner/Spinner.js +0 -381
  104. package/dist/spinner/Spinner.stories.js +0 -183
  105. package/dist/spinner/readme.md +0 -65
  106. package/dist/switch/Switch.js +0 -222
  107. package/dist/switch/Switch.stories.js +0 -134
  108. package/dist/switch/readme.md +0 -133
  109. package/dist/table/Table.js +0 -132
  110. package/dist/tabs/Tabs.js +0 -343
  111. package/dist/tabs/Tabs.stories.js +0 -130
  112. package/dist/tabs/readme.md +0 -78
  113. package/dist/tabs-for-sections/TabsForSections.js +0 -92
  114. package/dist/tabs-for-sections/readme.md +0 -78
  115. package/dist/tag/Tag.js +0 -282
  116. package/dist/textarea/Textarea.js +0 -264
  117. package/dist/toggle/Toggle.js +0 -220
  118. package/dist/toggle/Toggle.stories.js +0 -297
  119. package/dist/toggle/readme.md +0 -80
  120. package/dist/toggle-group/ToggleGroup.js +0 -223
  121. package/dist/upload/Upload.js +0 -205
  122. package/dist/upload/Upload.stories.js +0 -72
  123. package/dist/upload/buttons-upload/ButtonsUpload.js +0 -139
  124. package/dist/upload/buttons-upload/drag-drop-icon.svg +0 -4
  125. package/dist/upload/buttons-upload/upload-button.svg +0 -1
  126. package/dist/upload/dragAndDropArea/DragAndDropArea.js +0 -329
  127. package/dist/upload/dragAndDropArea/upload_drop.svg +0 -4
  128. package/dist/upload/dragAndDropArea/upload_file.svg +0 -4
  129. package/dist/upload/file-upload/FileToUpload.js +0 -184
  130. package/dist/upload/file-upload/audio-icon.svg +0 -4
  131. package/dist/upload/file-upload/close.svg +0 -4
  132. package/dist/upload/file-upload/file-icon.svg +0 -4
  133. package/dist/upload/file-upload/video-icon.svg +0 -4
  134. package/dist/upload/files-upload/FilesToUpload.js +0 -123
  135. package/dist/upload/readme.md +0 -37
  136. package/dist/upload/transaction/Transaction.js +0 -175
  137. package/dist/upload/transaction/audio-icon-err.svg +0 -4
  138. package/dist/upload/transaction/audio-icon.svg +0 -4
  139. package/dist/upload/transaction/error-icon.svg +0 -4
  140. package/dist/upload/transaction/file-icon-err.svg +0 -4
  141. package/dist/upload/transaction/file-icon.svg +0 -4
  142. package/dist/upload/transaction/image-icon-err.svg +0 -4
  143. package/dist/upload/transaction/image-icon.svg +0 -4
  144. package/dist/upload/transaction/success-icon.svg +0 -4
  145. package/dist/upload/transaction/video-icon-err.svg +0 -4
  146. package/dist/upload/transaction/video-icon.svg +0 -4
  147. package/dist/upload/transactions/Transactions.js +0 -138
  148. package/dist/useTheme.js +0 -22
  149. package/dist/wizard/Wizard.js +0 -411
  150. package/dist/wizard/invalid_icon.svg +0 -5
  151. package/dist/wizard/valid_icon.svg +0 -5
  152. package/dist/wizard/validation-wrong.svg +0 -6
  153. package/test/Accordion.test.js +0 -33
  154. package/test/AccordionGroup.test.js +0 -125
  155. package/test/Alert.test.js +0 -53
  156. package/test/Box.test.js +0 -10
  157. package/test/Button.test.js +0 -18
  158. package/test/Card.test.js +0 -30
  159. package/test/Checkbox.test.js +0 -45
  160. package/test/Chip.test.js +0 -25
  161. package/test/Date.test.js +0 -393
  162. package/test/Dialog.test.js +0 -23
  163. package/test/Dropdown.test.js +0 -145
  164. package/test/FileInput.test.js +0 -201
  165. package/test/Footer.test.js +0 -99
  166. package/test/Header.test.js +0 -39
  167. package/test/Heading.test.js +0 -35
  168. package/test/InputText.test.js +0 -240
  169. package/test/Link.test.js +0 -43
  170. package/test/NewDate.test.js +0 -232
  171. package/test/NewInputText.test.js +0 -734
  172. package/test/NewTextarea.test.js +0 -195
  173. package/test/Number.test.js +0 -257
  174. package/test/Paginator.test.js +0 -177
  175. package/test/Password.test.js +0 -83
  176. package/test/ProgressBar.test.js +0 -35
  177. package/test/Radio.test.js +0 -37
  178. package/test/ResultsetTable.test.js +0 -329
  179. package/test/Select.test.js +0 -212
  180. package/test/Sidenav.test.js +0 -45
  181. package/test/Slider.test.js +0 -82
  182. package/test/Spinner.test.js +0 -32
  183. package/test/Switch.test.js +0 -45
  184. package/test/Table.test.js +0 -36
  185. package/test/Tabs.test.js +0 -109
  186. package/test/TabsForSections.test.js +0 -34
  187. package/test/Tag.test.js +0 -32
  188. package/test/TextArea.test.js +0 -52
  189. package/test/ToggleGroup.test.js +0 -81
  190. package/test/Upload.test.js +0 -60
  191. package/test/Wizard.test.js +0 -130
  192. package/test/mocks/pngMock.js +0 -1
  193. package/test/mocks/svgMock.js +0 -1
package/dist/index.mjs ADDED
@@ -0,0 +1,4371 @@
1
+ function jr(e,{insertAt:t}={}){if(!e||typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}jr(`@import"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";
2
+ `);import{useId as jc,useState as Xc}from"react";import no,{ThemeProvider as Jc}from"styled-components";var Qn={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"},yt=e=>Qn[e],wc={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"},Sc={...Qn,...wc,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=Sc;var Q={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},re={xsmall:"20",small:"30",medium:"45",large:"66",xlarge:"90"},Ct={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 j=(e,t)=>e&&typeof e=="object"?e[t]&&p[e[t]]||"0px":e&&typeof e=="string"?p[e]:"0px";import{useContext as Lc}from"react";import{createContext as ti,useMemo as ei}from"react";import ri from"color";import{jsx as oi}from"react/jsx-runtime";var Yt=ti(null),Zt=ti(null),ne=(e,t)=>{try{if(t){let n=ri(t).hsl(),i=n.lightness();return n.lightness(i+e).hex()}}catch{return null}},ie=(e,t)=>{try{if(t){let n=ri(t).hsl(),i=n.lightness();return n.lightness(i-e).hex()}}catch{return null}},Ic=e=>{let t=JSON.parse(JSON.stringify(Q));return Object.keys(t).map(r=>{e[r]&&Object.keys(e[r]).map(n=>{e[r][n]&&(t[r][n]=e[r][n])})}),t},Bc=e=>{let t=JSON.parse(JSON.stringify(Q)),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=ne(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=ie(8,e?.button?.baseColor)??i.primaryHoverDefaultBackgroundColor,i.primaryActiveDefaultBackgroundColor=ie(18,e?.button?.baseColor)??i.primaryActiveDefaultBackgroundColor,i.secondaryActiveDefaultBackgroundColor=ie(18,e?.button?.baseColor)??i.secondaryActiveDefaultBackgroundColor,i.tertiaryHoverDefaultBackgroundColor=ne(57,e?.button?.baseColor)??i.tertiaryHoverDefaultBackgroundColor,i.tertiaryActiveDefaultBackgroundColor=ne(52,e?.button?.baseColor)??i.tertiaryActiveDefaultBackgroundColor,i.primaryDisabledDefaultBackgroundColor=ne(42,e?.button?.baseColor)??i.primaryDisabledDefaultBackgroundColor,i.primaryDisabledDefaultFontColor=ne(42,e?.button?.primaryFontColor)??i.primaryDisabledDefaultFontColor,i.secondaryDisabledDefaultBorderColor=ne(42,e?.button?.baseColor)??i.secondaryDisabledDefaultBorderColor,i.secondaryDisabledDefaultFontColor=ne(42,e?.button?.baseColor)??i.secondaryDisabledDefaultFontColor,i.tertiaryDisabledDefaultFontColor=ne(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=ie(15,e?.checkbox?.baseColor)??l.hoverBackgroundColorChecked,l.hoverBorderColor=ie(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=ie(10,e?.chip?.iconColor)??a.hoverIconColor,a.activeIconColor=ie(30,e?.chip?.iconColor)??a.activeIconColor;let c=t.contextualMenu;c.selectedMenuItemBackgroundColor=e?.contextualMenu?.accentColor??c.selectedMenuItemBackgroundColor,c.hoverSelectedMenuItemBackgroundColor=ie(5,e?.contextualMenu?.accentColor)??c.hoverSelectedMenuItemBackgroundColor,c.activeSelectedMenuItemBackgroundColor=ie(5,e?.contextualMenu?.accentColor)??c.activeSelectedMenuItemBackgroundColor,c.backgroundColor=e?.contextualMenu?.baseColor??c.backgroundColor,c.hoverMenuItemBackgroundColor=ie(5,e?.contextualMenu?.baseColor)??c.hoverMenuItemBackgroundColor,c.activeMenuItemBackgroundColor=ie(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=ie(8,e?.dateInput?.baseColor)??s.pickerActiveBackgroundColor,s.pickerActiveFontColor=e?.dateInput?.selectedFontColor??s.pickerActiveFontColor,s.pickerCurrentYearFontColor=e?.dateInput?.baseColor??s.pickerCurrentYearFontColor,s.pickerHeaderActiveBackgroundColor=ie(8,e?.dateInput?.baseColor)??s.pickerHeaderActiveBackgroundColor,s.pickerHeaderActiveFontColor=e?.dateInput?.selectedFontColor??s.pickerHeaderActiveFontColor,s.pickerHoverBackgroundColor=ne(52,e?.dateInput?.baseColor)??s.pickerHoverBackgroundColor,s.pickerCurrentDateBorderColor=ne(42,e?.dateInput?.baseColor)??s.pickerCurrentDateBorderColor,s.pickerHeaderHoverBackgroundColor=ne(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=ie(5,e?.dropdown?.baseColor)??g.hoverButtonBackgroundColor,g.activeButtonBackgroundColor=ie(12,e?.dropdown?.baseColor)??g.activeButtonBackgroundColor,g.hoverOptionBackgroundColor=ie(5,e?.dropdown?.baseColor)??g.hoverOptionBackgroundColor,g.activeOptionBackgroundColor=ie(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=ne(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=ne(55,e?.navTabs?.baseColor)??f.hoverBackgroundColor,f.pressedBackgroundColor=ne(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 L=t.radioGroup;L.radioInputColor=e?.radioGroup?.baseColor??L.radioInputColor,L.labelFontColor=e?.radioGroup?.fontColor??L.labelFontColor,L.helperTextFontColor=e?.radioGroup?.fontColor??L.helperTextFontColor,L.radioInputLabelFontColor=e?.radioGroup?.fontColor??L.radioInputLabelFontColor,L.hoverRadioInputColor=ie(10,e?.radioGroup?.baseColor)??L.radioInputColor,L.activeRadioInputColor=ie(25,e?.radioGroup?.baseColor)??L.radioInputColor;let B=t.select;B.selectedListOptionBackgroundColor=e?.select?.selectedOptionBackgroundColor??B.selectedListOptionBackgroundColor,B.valueFontColor=e?.select?.fontColor??B.valueFontColor,B.labelFontColor=e?.select?.fontColor??B.labelFontColor,B.helperTextFontColor=e?.select?.fontColor??B.helperTextFontColor,B.listOptionFontColor=e?.select?.optionFontColor??B.listOptionFontColor,B.listOptionIconColor=e?.select?.optionFontColor??B.listOptionIconColor,B.placeholderFontColor=ne(30,e?.select?.fontColor)??B.placeholderFontColor,B.collapseIndicatorColor=e?.select?.fontColor??B.collapseIndicatorColor,B.hoverInputBorderColor=e?.select?.hoverBorderColor??B.hoverInputBorderColor,B.selectedHoverListOptionBackgroundColor=ie(5,e?.select?.selectedOptionBackgroundColor)??B.selectedHoverListOptionBackgroundColor,B.selectedActiveListOptionBackgroundColor=ie(15,e?.select?.selectedOptionBackgroundColor)??B.selectedActiveListOptionBackgroundColor;let I=t.sidenav;I.backgroundColor=e?.sidenav?.baseColor??I.backgroundColor;let H=t.slider;H.labelFontColor=e?.slider?.fontColor??H.labelFontColor,H.helperTextFontColor=e?.slider?.fontColor??H.helperTextFontColor,H.limitValuesFontColor=e?.slider?.fontColor??H.limitValuesFontColor,H.thumbBackgroundColor=e?.slider?.baseColor??H.thumbBackgroundColor,H.focusThumbBackgroundColor=e?.slider?.baseColor??H.focusThumbBackgroundColor,H.tickBackgroundColor=e?.slider?.baseColor??H.tickBackgroundColor,H.trackLineColor=e?.slider?.baseColor??H.trackLineColor,H.totalLineColor=e?.slider?.totalLineColor??H.totalLineColor,H.hoverThumbBackgroundColor=ie(15,e?.slider?.baseColor)??H.thumbBackgroundColor,H.activeThumbBackgroundColor=ie(15,e?.slider?.baseColor)??H.thumbBackgroundColor;let R=t.spinner;R.trackCircleColor=e?.spinner?.accentColor??R.trackCircleColor,R.totalCircleColor=e?.spinner?.baseColor??R.totalCircleColor,R.trackCircleColorOverlay=e?.spinner?.overlayColor??R.trackCircleColorOverlay,R.labelFontColor=e?.spinner?.fontColor??R.labelFontColor,R.progressValueFontColor=e?.spinner?.fontColor??R.progressValueFontColor,R.overlayLabelFontColor=e?.spinner?.overlayFontColor??R.overlayLabelFontColor,R.overlayProgressValueFontColor=e?.spinner?.overlayFontColor??R.overlayProgressValueFontColor;let F=t.switch;F.checkedTrackBackgroundColor=e?.switch?.checkedBaseColor??F.checkedTrackBackgroundColor,F.labelFontColor=e?.switch?.fontColor??F.labelFontColor,F.disabledCheckedTrackBackgroundColor=ne(57,e?.switch?.checkedBaseColor)??F.disabledCheckedTrackBackgroundColor;let w=t.table;w.headerBackgroundColor=e?.table?.baseColor??w.headerBackgroundColor,w.headerFontColor=e?.table?.headerFontColor??w.headerFontColor,w.dataFontColor=e?.table?.cellFontColor??w.dataFontColor,w.sortIconColor=e?.table?.headerFontColor??w.sortIconColor,w.actionIconColor=e?.table?.baseColor??w.actionIconColor,w.hoverActionIconColor=e?.table?.baseColor??w.hoverActionIconColor,w.focusActionIconColor=e?.table?.baseColor??w.focusActionIconColor,w.activeActionIconColor=e?.table?.baseColor??w.activeActionIconColor;let D=t.tabs;D.selectedFontColor=e?.tabs?.baseColor??D.selectedFontColor,D.selectedIconColor=e?.tabs?.baseColor??D.selectedIconColor,D.selectedUnderlineColor=e?.tabs?.baseColor??D.selectedUnderlineColor,D.focusOutline=e?.tabs?.baseColor??D.focusOutline,D.hoverBackgroundColor=ne(57,e?.tabs?.baseColor)??D.hoverBackgroundColor,D.pressedBackgroundColor=ne(52,e?.tabs?.baseColor)??D.pressedBackgroundColor;let O=t.tag;O.fontColor=e?.tag?.fontColor??O.fontColor,O.iconColor=e?.tag?.iconColor??O.iconColor;let N=t.textInput;N.labelFontColor=e?.textInput?.fontColor??N.labelFontColor,N.helperTextFontColor=e?.textInput?.fontColor??N.helperTextFontColor,N.valueFontColor=e?.textInput?.fontColor??N.valueFontColor,N.actionIconColor=e?.textInput?.fontColor??N.actionIconColor,N.hoverActionIconColor=e?.textInput?.fontColor??N.hoverActionIconColor,N.focusActionIconColor=e?.textInput?.fontColor??N.focusActionIconColor,N.activeActionIconColor=e?.textInput?.fontColor??N.activeActionIconColor,N.hoverBorderColor=e?.textInput?.hoverBorderColor??N.hoverBorderColor,N.suffixColor=ne(40,e?.textInput?.fontColor)??N.suffixColor,N.prefixColor=ne(40,e?.textInput?.fontColor)??N.prefixColor,N.placeholderFontColor=ne(30,e?.textInput?.fontColor)??N.placeholderFontColor;let Z=t.textarea;Z.labelFontColor=e?.textarea?.fontColor??Z.labelFontColor,Z.helperTextFontColor=e?.textarea?.fontColor??Z.helperTextFontColor,Z.valueFontColor=e?.textarea?.fontColor??Z.valueFontColor,Z.hoverBorderColor=e?.textarea?.hoverBorderColor??Z.hoverBorderColor,Z.placeholderFontColor=ne(30,e?.textarea?.fontColor)??Z.placeholderFontColor;let E=t.toggleGroup;E.selectedBackgroundColor=e?.toggleGroup?.selectedBaseColor??E.selectedBackgroundColor,E.selectedFontColor=e?.toggleGroup?.selectedFontColor??E.selectedFontColor,E.unselectedBackgroundColor=e?.toggleGroup?.unselectedBaseColor??E.unselectedBackgroundColor,E.unselectedActiveBackgroundColor=e?.toggleGroup?.selectedBaseColor??E.unselectedActiveBackgroundColor,E.unselectedFontColor=e?.toggleGroup?.unselectedFontColor??E.unselectedFontColor,E.selectedHoverBackgroundColor=ie(8,e?.toggleGroup?.selectedBaseColor)??E.selectedHoverBackgroundColor,E.selectedActiveBackgroundColor=ie(18,e?.toggleGroup?.selectedBaseColor)??E.selectedActiveBackgroundColor,E.selectedDisabledBackgroundColor=ne(57,e?.toggleGroup?.selectedBaseColor)??E.selectedDisabledBackgroundColor,E.selectedDisabledFontColor=ne(42,e?.toggleGroup?.selectedBaseColor)??E.selectedDisabledFontColor,E.unselectedHoverBackgroundColor=ie(10,e?.toggleGroup?.unselectedBaseColor)??E.unselectedHoverBackgroundColor;let z=t.wizard;return z.selectedStepBackgroundColor=e?.wizard?.baseColor??z.selectedStepBackgroundColor,z.selectedStepFontColor=e?.wizard?.selectedStepFontColor??z.selectedStepFontColor,z.selectedStepBorderColor=e?.wizard?.baseColor??z.selectedStepBorderColor,z.visitedLabelFontColor=e?.wizard?.fontColor??z.visitedLabelFontColor,z.selectedLabelFontColor=e?.wizard?.fontColor??z.selectedLabelFontColor,z.visitedHelperTextFontColor=e?.wizard?.fontColor??z.visitedHelperTextFontColor,z.selectedHelperTextFontColor=e?.wizard?.fontColor??z.selectedHelperTextFontColor,z.unvisitedStepBorderColor=ne(40,e?.wizard?.fontColor)??z.unvisitedStepBorderColor,z.unvisitedStepFontColor=ne(40,e?.wizard?.fontColor)??z.unvisitedStepFontColor,z.unvisitedLabelFontColor=ne(40,e?.wizard?.fontColor)??z.unvisitedLabelFontColor,z.unvisitedHelperTextFontColor=ne(40,e?.wizard?.fontColor)??z.unvisitedHelperTextFontColor,t},Pc=e=>{let t=Ct;return Object.keys(e).map(r=>{t[r]&&Object.keys(t[r]).map(n=>{e[r][n]&&(t[r][n]=e[r][n])})}),t},ro=({theme:e,advancedTheme:t,labels:r,children:n})=>{let i=ei(()=>e?Bc(e):t?Ic(t):Q,[e,t]),l=ei(()=>r?Pc(r):Ct,[r]);return oi(Yt.Provider,{value:i,children:oi(Zt.Provider,{value:l,children:n})})};var Dc=()=>Lc(Yt)||Q,k=Dc;import{createContext as zc,useContext as Ac,useMemo as Rc}from"react";import Hc from"styled-components";import{jsx as li}from"react/jsx-runtime";var ni=zc(null),Mc=["a","blockquote","cite","code","div","em","figcaption","h1","h2","h3","h4","h5","h6","p","pre","small","span","strong"],ii=e=>Mc.includes(e),Ec=({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=Ac(ni),v=Rc(()=>({as:ii(e)?e:ii(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 li(ni.Provider,{value:v,children:li(Wc,{...v,children:h})})},Wc=Hc.span`
3
+ display: ${({display:e})=>e};
4
+ color: ${({color:e})=>e};
5
+ font-family: ${({fontFamily:e})=>e};
6
+ font-size: ${({fontSize:e})=>e};
7
+ font-style: ${({fontStyle:e})=>e};
8
+ font-weight: ${({fontWeight:e})=>e};
9
+ letter-spacing: ${({letterSpacing:e})=>e};
10
+ line-height: ${({lineHeight:e})=>e};
11
+ text-align: ${({textAlign:e})=>e};
12
+ text-decoration: ${({textDecoration:e})=>e};
13
+ text-overflow: ${({textOverflow:e})=>e};
14
+ white-space: ${({whiteSpace:e})=>e};
15
+ overflow: ${({textOverflow:e})=>e!=="unset"?"hidden":"visible"};
16
+ margin: 0;
17
+ `,$e=Ec;import Oc from"styled-components";import{jsx as Vc}from"react/jsx-runtime";var Gc=({icon:e})=>Vc(Nc,{role:"img","aria-label":e,filled:e.startsWith("filled_"),icon:e.startsWith("filled_")?e.replace(/filled_/g,""):e,"aria-hidden":"true"}),Nc=Oc.span`
18
+ @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1");
19
+ font-family: "Material Symbols Outlined";
20
+ font-weight: normal;
21
+ font-style: normal;
22
+ line-height: 1;
23
+ letter-spacing: normal;
24
+ text-transform: none;
25
+ display: inline-block;
26
+ white-space: nowrap;
27
+ word-wrap: normal;
28
+ direction: ltr;
29
+ -webkit-font-feature-settings: "liga";
30
+ -webkit-font-smoothing: antialiased;
31
+ text-rendering: optimizeLegibility;
32
+ -moz-osx-font-smoothing: grayscale;
33
+ font-variation-settings: ${e=>e.filled?"'FILL' 1":"'FILL' 0"};
34
+ ::before {
35
+ content: "${e=>e.icon}";
36
+ }
37
+ `,$=Gc;import{jsx as je,jsxs as qt}from"react/jsx-runtime";var Kc=({label:e="",defaultIsExpanded:t,isExpanded:r,icon:n,assistiveText:i="",disabled:l=!1,onChange:a,children:c,margin:d,tabIndex:s=0})=>{let m=jc(),[g,u]=Xc(t??!1),h=k(),y=()=>{r??u(v=>!v),a?.(r!=null?!r:!g)};return je(Jc,{theme:h.accordion,children:qt(Yc,{isExpanded:r??g,margin:d,children:[je(Zc,{children:qt(qc,{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:[qt(Qc,{children:[qt(ed,{children:[n&&je(od,{disabled:l,children:typeof n=="string"?je($,{icon:n}):n}),je($e,{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&&je(td,{children:je($e,{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})})]}),je(rd,{disabled:l,children:je($,{icon:r??g?"expand_less":"expand_more"})})]})}),(r??g)&&je(nd,{id:`accordion-panel-${m}`,role:"region","aria-labelledby":`accordion-${m}`,children:c})]})})},Uc=e=>`calc(100% - ${j(e,"left")} - ${j(e,"right")})`,Yc=no.div`
38
+ display: flex;
39
+ flex-direction: column;
40
+ background-color: ${e=>e.theme.backgroundColor};
41
+ border-radius: ${e=>e.theme.borderRadius};
42
+ ${e=>e.isExpanded&&"border-bottom-left-radius: 0; border-bottom-right-radius: 0;"}
43
+ box-shadow: ${e=>`${e.theme.boxShadowOffsetX} ${e.theme.boxShadowOffsetY} ${e.theme.boxShadowBlur} ${e.theme.boxShadowColor}`};
44
+ min-width: 280px;
45
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
46
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
47
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
48
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
49
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
50
+ width: ${e=>Uc(e.margin)};
51
+ `,Zc=no.h3`
52
+ display: flex;
53
+ flex-direction: column;
54
+ min-height: 48px;
55
+ margin: 0;
56
+ `,qc=no.button`
57
+ display: flex;
58
+ justify-content: space-between;
59
+ align-items: center;
60
+ gap: 24px;
61
+ width: 100%;
62
+ background-color: transparent;
63
+ border: none;
64
+ border-radius: ${e=>e.theme.borderRadius};
65
+ ${e=>e.isExpanded&&"border-bottom-left-radius: 0; border-bottom-right-radius: 0;"}
66
+ padding: 12px 16px;
67
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
68
+
69
+ :focus {
70
+ outline: ${e=>`${e.theme.focusBorderColor} ${e.theme.focusBorderStyle} ${e.theme.focusBorderThickness}`};
71
+ }
72
+ :hover:enabled {
73
+ background-color: ${e=>`${e.theme.hoverBackgroundColor}`};
74
+ }
75
+ :active:enabled {
76
+ background-color: ${e=>`${e.theme.hoverBackgroundColor}`};
77
+ }
78
+ `,Qc=no.span`
79
+ display: inline-flex;
80
+ justify-content: space-between;
81
+ width: 100%;
82
+ `,ed=no.span`
83
+ display: flex;
84
+ padding-top: ${e=>e.theme.titleLabelPaddingTop};
85
+ padding-bottom: ${e=>e.theme.titleLabelPaddingBottom};
86
+ padding-right: ${e=>e.theme.titleLabelPaddingRight};
87
+ padding-left: ${e=>e.theme.titleLabelPaddingLeft};
88
+ `,od=no.span`
89
+ display: flex;
90
+ margin-left: ${e=>e.theme.iconMarginLeft};
91
+ margin-right: ${e=>e.theme.iconMarginRight};
92
+ color: ${e=>e.disabled?e.theme.disabledIconColor:e.theme.iconColor};
93
+ font-size: ${e=>e.theme.iconSize};
94
+
95
+ svg {
96
+ height: ${e=>e.theme.iconSize};
97
+ width: ${e=>e.theme.iconSize};
98
+ }
99
+ `,td=no.span`
100
+ min-width: ${e=>e.theme.assistiveTextMinWidth};
101
+ padding-left: ${e=>e.theme.assistiveTextPaddingLeft};
102
+ padding-right: ${e=>e.theme.assistiveTextPaddingRight};
103
+ `,rd=no.span`
104
+ display: flex;
105
+ flex-wrap: wrap;
106
+ align-content: center;
107
+ font-size: 24px;
108
+ color: ${e=>e.disabled?e.theme.disabledArrowColor:e.theme.arrowColor};
109
+ `,nd=no.div`
110
+ border-bottom-left-radius: ${e=>e.theme.borderRadius};
111
+ border-bottom-right-radius: ${e=>e.theme.borderRadius};
112
+ `,Xr=Kc;import{Children as dd,useCallback as sd,useMemo as md,useState as gd}from"react";import pd,{ThemeProvider as ud}from"styled-components";import{useContext as ld}from"react";import{createContext as id}from"react";var Qt=id(null);import{jsx as cd}from"react/jsx-runtime";var ad=({...e})=>{let{activeIndex:t,handlerActiveChange:r,disabled:n,index:i}=ld(Qt);return cd(Xr,{isExpanded:t===i,onChange:()=>{r(i)},disabled:n,...e,children:e.children})},ai=ad;import{jsx as Jr}from"react/jsx-runtime";var ci=({defaultIndexActive:e,indexActive:t,disabled:r=!1,onActiveChange:n,margin:i,children:l})=>{let a=k(),[c,d]=gd(e??-1),s=sd(g=>{t??d(u=>g===u?-1:g),!r&&n?.(g)},[r,t,n]),m=md(()=>({activeIndex:t??c,handlerActiveChange:s,disabled:r}),[t,c,s,r]);return Jr(ud,{theme:a.accordion,children:Jr(fd,{margin:i,disabled:r,children:dd.map(l,(g,u)=>Jr(Qt.Provider,{value:{index:u,...m},children:g},`accordion-${u}`))})})};ci.Accordion=ai;var hd=e=>`calc(100% - ${j(e,"left")} - ${j(e,"right")})`,fd=pd.div`
113
+ width: ${e=>hd(e.margin)};
114
+ margin: ${({margin:e})=>e&&typeof e!="object"?p[e]:"0px"};
115
+ margin-top: ${({margin:e})=>e&&typeof e=="object"&&e.top?p[e.top]:""};
116
+ margin-right: ${({margin:e})=>e&&typeof e=="object"&&e.right?p[e.right]:""};
117
+ margin-bottom: ${({margin:e})=>e&&typeof e=="object"&&e.bottom?p[e.bottom]:""};
118
+ margin-left: ${({margin:e})=>e&&typeof e=="object"&&e.left?p[e.left]:""};
119
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
120
+
121
+ > div:not(:last-of-type):not(:only-of-type) {
122
+ border-bottom: ${e=>`${e.theme.accordionGroupSeparatorBorderThickness} ${e.theme.accordionGroupSeparatorBorderStyle}`};
123
+ border-color: ${e=>e.theme.accordionGroupSeparatorBorderColor};
124
+ }
125
+ > div:not(:first-of-type):not(:last-of-type):not(:only-of-type) {
126
+ border-radius: 0;
127
+ & > h3 > button {
128
+ border-radius: 0;
129
+ }
130
+ }
131
+ > div:first-of-type:not(:only-of-type) {
132
+ border-bottom-left-radius: 0;
133
+ border-bottom-right-radius: 0;
134
+ border-top-left-radius: ${e=>e.theme.borderRadius};
135
+ border-top-right-radius: ${e=>e.theme.borderRadius};
136
+
137
+ & > h3 > button {
138
+ border-bottom-left-radius: 0;
139
+ border-bottom-right-radius: 0;
140
+ }
141
+ }
142
+ > div:last-of-type:not(:only-of-type) {
143
+ border-top-left-radius: 0;
144
+ border-top-right-radius: 0;
145
+ border-bottom-left-radius: ${e=>e.theme.borderRadius};
146
+ border-bottom-right-radius: ${e=>e.theme.borderRadius};
147
+
148
+ & > h3 > button {
149
+ border-top-left-radius: 0;
150
+ border-top-right-radius: 0;
151
+ }
152
+ }
153
+ `,bd=ci;import Xe,{ThemeProvider as xd}from"styled-components";import{useContext as yd}from"react";var Cd=()=>yd(Zt)||Ct,X=Cd;import{jsx as Be,jsxs as er}from"react/jsx-runtime";var _d=({type:e="info",mode:t="inline",inlineText:r="",onClose:n,children:i,margin:l,size:a="fitContent",tabIndex:c})=>{let d=k(),s=X(),m=()=>e==="info"?s.alert.infoTitleText:e==="confirm"?s.alert.successTitleText:e==="warning"?s.alert.warningTitleText:s.alert.errorTitleText;return Be(xd,{theme:d.alert,children:er($d,{mode:t,children:[t==="modal"&&Be(vd,{mode:t,onClick:n}),er(Td,{mode:t,type:e,margin:l,size:a,role:e==="error"?"alert":"status","aria-live":e==="error"?"assertive":"off",children:[er(kd,{children:[Be(Sd,{type:e,children:e==="info"&&Be($,{icon:"filled_info"})||e==="confirm"&&Be($,{icon:"filled_check_circle"})||e==="warning"&&Be($,{icon:"filled_warning"})||e==="error"&&Be($,{icon:"filled_cancel"})}),er(Id,{children:[Be(Fd,{children:m()}),r&&r!==""&&"-",Be(wd,{children:r})]}),typeof n=="function"&&Be(Pd,{onClick:n,tabIndex:c,"aria-label":"Close alert",children:Be($,{icon:"close"})})]}),i&&Be(Bd,{children:i})]})]})})},di={small:"280px",medium:"480px",large:"820px",fillParent:"100%",fitContent:"fit-content"},si=(e,t)=>t==="fillParent"?`calc(${di[t]} - ${j(e,"left")} - ${j(e,"right")})`:di[t],$d=Xe.div`
154
+ font-size: ${e=>e.theme.fontSizeBase};
155
+ width: ${e=>e.mode==="modal"?"100%":""};
156
+ height: ${e=>e.mode==="modal"?"100%":""};
157
+ justify-content: ${e=>e.mode==="modal"?"center":""};
158
+ align-items: ${e=>e.mode==="modal"?"center":""};
159
+ top: ${e=>e.mode==="modal"?"0":""};
160
+ left: ${e=>e.mode==="modal"?"0":""};
161
+ position: ${e=>e.mode==="modal"?"fixed":""};
162
+ display: ${e=>e.mode==="modal"?"flex":""};
163
+ z-index: ${e=>e.mode==="modal"?"1200":""};
164
+ `,vd=Xe.div`
165
+ background-color: ${e=>e.mode==="modal"?`${e.theme.overlayColor}`:"transparent"};
166
+ position: ${e=>e.mode==="modal"?"fixed":""};
167
+ top: ${e=>e.mode==="modal"?"0":""};
168
+ bottom: ${e=>e.mode==="modal"?"0":""};
169
+ left: ${e=>e.mode==="modal"?"0":""};
170
+ right: ${e=>e.mode==="modal"?"0":""};
171
+ `,Td=Xe.div`
172
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
173
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
174
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
175
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
176
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
177
+ display: ${e=>e.size==="fitContent"?"inline-block":"block"};
178
+ overflow: hidden;
179
+ box-sizing: border-box;
180
+
181
+ 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};
182
+
183
+ border-radius: ${e=>e.theme.borderRadius};
184
+ border-width: ${e=>e.theme.borderThickness};
185
+ border-style: ${e=>e.theme.borderStyle};
186
+ 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};
187
+
188
+ padding-left: 12px;
189
+ padding-right: 12px;
190
+ justify-content: ${e=>e.mode==="modal"?"center":""};
191
+ align-items: ${e=>e.mode==="modal"?"center":""};
192
+ max-width: ${e=>e.size!=="fillParent"&&si(e.margin,"fillParent")};
193
+ width: ${e=>e.size!=="fillParent"&&si(e.margin,e.size)};
194
+ z-index: ${e=>e.mode==="modal"?"1300":""};
195
+ `,kd=Xe.div`
196
+ display: flex;
197
+ flex-direction: row;
198
+ height: calc(48px - calc(${e=>e.theme.borderThickness} * 2));
199
+ align-items: center;
200
+ width: 100%;
201
+ `,Fd=Xe.div`
202
+ margin-right: 8px;
203
+ padding-right: ${e=>e.theme.titlePaddingRight};
204
+ padding-left: ${e=>e.theme.titlePaddingLeft};
205
+ font-family: ${e=>e.theme.titleFontFamily};
206
+ font-size: ${e=>e.theme.titleFontSize};
207
+ font-style: ${e=>e.theme.titleFontStyle};
208
+ font-weight: ${e=>e.theme.titleFontWeight};
209
+ color: ${e=>e.theme.titleFontColor};
210
+ text-transform: ${e=>e.theme.titleTextTransform};
211
+ `,wd=Xe.div`
212
+ margin-left: 8px;
213
+ padding-right: ${e=>e.theme.inlineTextPaddingRight};
214
+ padding-left: ${e=>e.theme.inlineTextPaddingLeft};
215
+ flex-grow: 1;
216
+ white-space: nowrap;
217
+ overflow: hidden;
218
+ text-overflow: ellipsis;
219
+ font-family: ${e=>e.theme.inlineTextFontFamily};
220
+ font-size: ${e=>e.theme.inlineTextFontSize};
221
+ font-style: ${e=>e.theme.inlineTextFontStyle};
222
+ font-weight: ${e=>e.theme.inlineTextFontWeight};
223
+ color: ${e=>e.theme.inlineTextFontColor};
224
+ `,Sd=Xe.span`
225
+ display: flex;
226
+ flex-wrap: wrap;
227
+ align-content: center;
228
+ margin-right: 12px;
229
+ padding-right: ${e=>e.theme.iconPaddingRight};
230
+ padding-left: ${e=>e.theme.iconPaddingLeft};
231
+
232
+ 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};
233
+
234
+ font-size: ${e=>e.theme.iconSize};
235
+ `,Id=Xe.div`
236
+ display: flex;
237
+ flex-direction: row;
238
+ flex-grow: 1;
239
+ align-items: center;
240
+ overflow: hidden;
241
+ `,Bd=Xe.div`
242
+ flex: 1 1 auto;
243
+ padding: ${e=>`${e.theme.contentPaddingTop} ${e.theme.contentPaddingRight} ${e.theme.contentPaddingBottom} ${e.theme.contentPaddingLeft}`};
244
+ overflow-y: auto;
245
+ `,Pd=Xe.button`
246
+ display: flex;
247
+ flex-wrap: wrap;
248
+ align-content: center;
249
+ justify-content: center;
250
+ height: 24px;
251
+ width: 24px;
252
+ font-size: 20px;
253
+ border: 1px solid transparent;
254
+ border-radius: 2px;
255
+ box-shadow: 0 0 0 2px transparent;
256
+ padding: 3px;
257
+ margin-left: 12px;
258
+ background-color: transparent;
259
+ color: #000000;
260
+ cursor: pointer;
261
+
262
+ &:hover {
263
+ background-color: ${e=>e.theme.hoverActionBackgroundColor};
264
+ }
265
+ &:focus,
266
+ &:focus-visible {
267
+ outline: none;
268
+ box-shadow: 0 0 0 2px ${e=>e.theme.focusActionBorderColor};
269
+ }
270
+ &:active {
271
+ background-color: ${e=>e.theme.activeActionBackgroundColor};
272
+ }
273
+ `,Ld=_d;import{useEffect as vm,useRef as Tm,useState as km}from"react";import Co from"styled-components";import{useMemo as Yd}from"react";import Je,{ThemeProvider as Zd}from"styled-components";import Dd from"styled-components";import{jsx as Rd}from"react/jsx-runtime";var zd=Dd.div`
274
+ display: flex;
275
+ ${e=>`
276
+ ${typeof e.alignContent=="string"?`align-content: ${e.alignContent};`:""}
277
+ ${typeof e.alignItems=="string"?`align-items: ${e.alignItems};`:""}
278
+ ${typeof e.alignSelf=="string"?`align-self: ${e.alignSelf};`:""}
279
+ ${typeof e.$basis=="string"?`flex-basis: ${e.$basis};`:""}
280
+ ${typeof e.$direction=="string"?`flex-direction: ${e.$direction};`:""}
281
+ ${typeof e.$gap=="string"?`gap: ${e.$gap};`:""}
282
+ ${typeof e.$gap=="object"?`column-gap: ${e.$gap.columnGap}; row-gap: ${e.$gap.rowGap};`:""}
283
+ ${typeof e.$grow=="number"?`flex-grow: ${e.$grow};`:""}
284
+ ${typeof e.justifyContent=="string"?`justify-content: ${e.justifyContent};`:""}
285
+ ${typeof e.$order=="number"?`order: ${e.$order};`:""}
286
+ ${typeof e.$shrink=="number"?`flex-shrink: ${e.$shrink};`:""}
287
+ ${typeof e.$wrap=="string"?`flex-wrap: ${e.$wrap};`:""}
288
+ `}
289
+ `,Ad=({basis:e,direction:t,gap:r,grow:n,order:i,shrink:l,wrap:a,...c})=>Rd(zd,{$basis:e,$direction:t,$gap:r,$grow:n,$order:i,$shrink:l,$wrap:a,...c}),te=Ad;import Kr from"styled-components";import{createContext as Hd,useContext as Md}from"react";import{Root as Ed,Trigger as Wd,Portal as Od,Arrow as Gd,Content as Nd}from"@radix-ui/react-tooltip";import{Provider as Vd}from"@radix-ui/react-tooltip";import{Fragment as Ud,jsx as Pe,jsxs as gi}from"react/jsx-runtime";var jd=Kr.div`
290
+ position: relative;
291
+ display: inline-flex;
292
+ `,Xd=Kr(Nd)`
293
+ z-index: 2147483647;
294
+
295
+ animation-duration: 0.2s;
296
+ animation-timing-function: ease-out;
297
+
298
+ /* Additional optimization to prevent blurry text in certain browsers */
299
+ -webkit-font-smoothing: antialiased;
300
+ transform: translateZ(0) scale(1, 1);
301
+
302
+ &[data-side="top"] {
303
+ animation-name: slideUp;
304
+ }
305
+ &[data-side="bottom"] {
306
+ animation-name: slideDown;
307
+ }
308
+ &[data-side="left"] {
309
+ animation-name: slideLeft;
310
+ }
311
+ &[data-side="right"] {
312
+ animation-name: slideRight;
313
+ }
314
+ @keyframes slideDown {
315
+ from {
316
+ opacity: 0;
317
+ transform: translateY(-10px);
318
+ }
319
+ to {
320
+ opacity: 1;
321
+ transform: translateY(0);
322
+ }
323
+ }
324
+ @keyframes slideUp {
325
+ from {
326
+ opacity: 0;
327
+ transform: translateY(10px);
328
+ }
329
+ to {
330
+ opacity: 1;
331
+ transform: translateY(0);
332
+ }
333
+ }
334
+ @keyframes slideLeft {
335
+ from {
336
+ opacity: 0;
337
+ transform: translateX(10px);
338
+ }
339
+ to {
340
+ opacity: 1;
341
+ transform: translateX(0);
342
+ }
343
+ }
344
+ @keyframes slideRight {
345
+ from {
346
+ opacity: 0;
347
+ transform: translateX(-10px);
348
+ }
349
+ to {
350
+ opacity: 1;
351
+ transform: translateX(0);
352
+ }
353
+ }
354
+ `,Jd=Kr.div`
355
+ box-sizing: border-box;
356
+ max-width: 242px;
357
+ border-radius: 4px;
358
+ border-color: ${o.color_grey_800};
359
+ padding: 8px 12px;
360
+ font-size: ${o.type_scale_01};
361
+ font-family: ${o.type_sans};
362
+ color: ${o.color_white};
363
+ background-color: ${o.color_grey_800};
364
+ overflow-wrap: break-word;
365
+ `,Kd=Pe("svg",{width:"12",height:"6",viewBox:"0 0 12 6",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",display:"block",children:Pe("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})}),mi=Hd(!1),le=({label:e,hasAdditionalContainer:t=!1,position:r="bottom",children:n})=>{let i=Md(mi);return Pe(mi.Provider,{value:!0,children:e&&!i?Pe(Vd,{delayDuration:300,children:gi(Ed,{children:[Pe(Wd,{asChild:!0,children:t?Pe(jd,{children:n}):n}),Pe(Od,{children:gi(Xd,{side:r,sideOffset:8,children:[Pe(Jd,{children:e}),Pe(Gd,{asChild:!0,"aria-hidden":!0,children:Kd})]})})]})}):n})},Go=({condition:e,children:t,label:r})=>e?Pe(le,{label:r,children:t}):Pe(Ud,{children:t});function pi(e){return Pe(le,{...e,hasAdditionalContainer:!0})}import{jsx as ae,jsxs as or}from"react/jsx-runtime";var ui=or("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"32",viewBox:"0 0 280.781 32",children:[ae("title",{children:"DXC Logo"}),or("g",{children:[ae("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"}),ae("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"}),ae("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"}),ae("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"}),ae("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"}),ae("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"}),ae("path",{d:"M336.786-41.585V-57.315h3.6v12.584h8.148v3.146H336.786",transform:"translate(-126.654 65.45)",fill:"#fff"}),ae("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"}),ae("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"}),ae("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"}),ae("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"})]})]}),hi=or("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"16",viewBox:"0 0 280.781 32",children:[ae("title",{children:"DXC Logo"}),or("g",{children:[ae("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"}),ae("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"}),ae("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"}),ae("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"}),ae("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"}),ae("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"}),ae("path",{d:"M336.786-41.585V-57.315h3.6v12.584h8.148v3.146H336.786",transform:"translate(-126.654 65.45)",fill:"#fff"}),ae("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"}),ae("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"}),ae("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"}),ae("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"})]})]});import{jsx as ke,jsxs as Ur}from"react/jsx-runtime";var qd=({socialLinks:e,bottomLinks:t,copyright:r,children:n,margin:i,tabIndex:l=0,mode:a="default"})=>{let c=k(),d=X(),s=Yd(()=>c.footer.logo?typeof c.footer.logo=="string"?ke(ns,{mode:a,alt:d.formFields.logoAlternativeText,src:c.footer.logo}):c.footer.logo:a==="default"?ui:hi,[c]);return ke(Zd,{theme:c.footer,children:Ur(Qd,{margin:i,mode:a,children:[Ur(te,{justifyContent:"space-between",alignItems:"center",wrap:"wrap",gap:"1.5rem",children:[ke(rs,{mode:a,children:s}),a==="default"&&ke(te,{gap:c.footer.socialLinksGutter,children:e?.map((m,g)=>ke(le,{label:m.title,children:ke(is,{href:m.href,tabIndex:l,"aria-label":m.title,index:g,children:ke(ls,{children:typeof m.logo=="string"?ke($,{icon:m.logo}):m.logo})},`social${g}${m.href}`)}))})]}),ke(os,{children:n}),a==="default"&&Ur(es,{children:[ke(as,{children:t?.map((m,g)=>ke("span",{children:ke(cs,{href:m.href,tabIndex:l,children:m.text})},`bottom${g}${m.text}`))}),ke(ts,{children:r||d.footer.copyrightText(new Date().getFullYear())})]})]})})},Qd=Je.footer`
366
+ background-color: ${e=>e.theme.backgroundColor};
367
+ box-sizing: border-box;
368
+ display: flex;
369
+ flex-direction: ${e=>e?.mode==="default"?"column":"row"};
370
+ justify-content: space-between;
371
+ margin-top: ${e=>e.margin?p[e.margin]:"0px"};
372
+ min-height: ${e=>e?.mode==="default"?e.theme.height:"40px"};
373
+ width: 100%;
374
+ gap: ${e=>e?.mode==="default"?"0px":"32px"};
375
+ @media (min-width: ${re.small}rem) {
376
+ padding: ${e=>e?.mode==="default"?"24px 32px":"12px 32px"};
377
+ }
378
+ @media (max-width: ${re.small}rem) {
379
+ padding: 20px;
380
+ flex-direction: column;
381
+ }
382
+ `,es=Je.div`
383
+ display: flex;
384
+ justify-content: space-between;
385
+ align-items: flex-end;
386
+
387
+ @media (min-width: ${re.small}rem) {
388
+ flex-direction: row;
389
+ }
390
+ @media (max-width: ${re.small}rem) {
391
+ flex-direction: column;
392
+ align-items: center;
393
+ }
394
+
395
+ border-top: ${e=>`${e.theme.bottomLinksDividerThickness} ${e.theme.bottomLinksDividerStyle} ${e.theme.bottomLinksDividerColor}`};
396
+ margin-top: 16px;
397
+ `,os=Je.div`
398
+ min-height: 16px;
399
+ overflow: hidden;
400
+ `,ts=Je.div`
401
+ padding-top: ${e=>e.theme.bottomLinksDividerSpacing};
402
+ font-family: ${e=>e.theme.copyrightFontFamily};
403
+ font-size: ${e=>e.theme.copyrightFontSize};
404
+ font-style: ${e=>e.theme.copyrightFontStyle};
405
+ font-weight: ${e=>e.theme.copyrightFontWeight};
406
+ color: ${e=>e.theme.copyrightFontColor};
407
+
408
+ @media (min-width: ${re.small}rem) {
409
+ max-width: 40%;
410
+ text-align: right;
411
+ }
412
+
413
+ @media (max-width: ${re.small}rem) {
414
+ max-width: 100%;
415
+ width: 100%;
416
+ text-align: left;
417
+ }
418
+ `,rs=Je.span`
419
+ max-height: ${e=>e?.mode==="default"?e.theme.logoHeight:"16px"};
420
+ width: ${e=>e.theme.logoWidth};
421
+ `,ns=Je.img`
422
+ max-height: ${e=>e?.mode==="default"?e.theme.logoHeight:"16px"};
423
+ width: ${e=>e.theme.logoWidth};
424
+ `,is=Je.a`
425
+ border-radius: 4px;
426
+
427
+ &:focus {
428
+ outline: 2px solid #0095ff;
429
+ outline-offset: 2px;
430
+ }
431
+ `,ls=Je.div`
432
+ display: flex;
433
+ align-items: center;
434
+ color: ${e=>e.theme.socialLinksColor};
435
+ overflow: hidden;
436
+ font-size: ${e=>e.theme.socialLinksSize};
437
+
438
+ svg {
439
+ height: ${e=>e.theme.socialLinksSize};
440
+ width: ${e=>e.theme.socialLinksSize};
441
+ }
442
+ `,as=Je.div`
443
+ display: inline-flex;
444
+ flex-wrap: wrap;
445
+ align-self: center;
446
+ padding-top: ${e=>e.theme.bottomLinksDividerSpacing};
447
+ color: #fff;
448
+
449
+ @media (min-width: ${re.small}rem) {
450
+ max-width: 60%;
451
+ }
452
+ @media (max-width: ${re.small}rem) {
453
+ max-width: 100%;
454
+ width: 100%;
455
+ }
456
+
457
+ & > span:not(:first-child):before {
458
+ content: "·";
459
+ padding: 0 0.5rem;
460
+ }
461
+ `,cs=Je.a`
462
+ text-decoration: ${e=>e.theme.bottomLinksTextDecoration};
463
+ color: ${e=>e.theme.bottomLinksFontColor};
464
+ font-family: ${e=>e.theme.bottomLinksFontFamily};
465
+ font-size: ${e=>e.theme.bottomLinksFontSize};
466
+ font-style: ${e=>e.theme.bottomLinksFontStyle};
467
+ font-weight: ${e=>e.theme.bottomLinksFontWeight};
468
+ border-radius: 2px;
469
+
470
+ &:focus {
471
+ outline: 2px solid #0095ff;
472
+ }
473
+ `,Yr=qd;import{useCallback as Ps,useEffect as Fi,useMemo as wi,useRef as Ls,useState as Si}from"react";import Fe,{ThemeProvider as Ds}from"styled-components";import*as fo from"@radix-ui/react-popover";import{useCallback as xi,useId as $s,useLayoutEffect as vs,useRef as _i,useState as $i}from"react";import Vo,{ThemeProvider as Ts}from"styled-components";import{useLayoutEffect as ds,useState as ss}from"react";var ms=e=>{let[t,r]=ss(0);return ds(()=>{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},No=ms;import{forwardRef as bs,memo as ys}from"react";import Cs from"styled-components";import{memo as gs}from"react";import Zr from"styled-components";import{jsx as tr,jsxs as fs}from"react/jsx-runtime";var ps=({id:e,visuallyFocused:t,iconPosition:r,onClick:n,option:i})=>fs(us,{visuallyFocused:t,onClick:()=>{n(i.value)},id:e,role:"menuitem",tabIndex:-1,children:[r==="after"&&tr(fi,{children:i.label}),i.icon&&tr(hs,{role:typeof i.icon=="string"?void 0:"img","aria-hidden":!0,children:typeof i.icon=="string"?tr($,{icon:i.icon}):i.icon}),r==="before"&&tr(fi,{children:i.label})]}),us=Zr.li`
474
+ box-sizing: border-box;
475
+ display: flex;
476
+ align-items: center;
477
+ gap: ${e=>e.theme.optionIconSpacing};
478
+ min-height: 36px;
479
+ padding-top: ${e=>e.theme.optionPaddingTop};
480
+ padding-bottom: ${e=>e.theme.optionPaddingBottom};
481
+ padding-left: ${e=>e.theme.optionPaddingLeft};
482
+ padding-right: ${e=>e.theme.optionPaddingRight};
483
+ cursor: pointer;
484
+
485
+ ${e=>e.visuallyFocused&&`outline: ${e.theme.focusColor} solid 2px; outline-offset: -2px;`}
486
+ &:hover {
487
+ background-color: ${e=>e.theme.hoverOptionBackgroundColor};
488
+ }
489
+ &:active {
490
+ background-color: ${e=>e.theme.activeOptionBackgroundColor};
491
+ }
492
+ `,fi=Zr.span`
493
+ font-family: ${e=>e.theme.optionFontFamily};
494
+ font-size: ${e=>e.theme.optionFontSize};
495
+ font-style: ${e=>e.theme.optionFontStyle};
496
+ font-weight: ${e=>e.theme.optionFontWeight};
497
+ line-height: 1.5rem;
498
+ color: ${e=>e.theme.optionFontColor};
499
+ white-space: nowrap;
500
+ `,hs=Zr.div`
501
+ display: flex;
502
+ color: ${e=>e.theme.optionIconColor};
503
+ font-size: ${e=>e.theme.optionIconSize};
504
+
505
+ svg {
506
+ width: ${e=>e.theme.optionIconSize};
507
+ height: ${e=>e.theme.optionIconSize};
508
+ }
509
+ `,bi=gs(ps);import{jsx as yi}from"react/jsx-runtime";var xs=bs(({id:e,dropdownTriggerId:t,iconsPosition:r,visualFocusIndex:n,menuItemOnClick:i,onKeyDown:l,options:a,styles:c},d)=>yi(_s,{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)=>yi(bi,{id:`${e}-option-${m}`,visuallyFocused:m===n,iconPosition:r,onClick:i,option:s},`${e}-option-${m}`))})),_s=Cs.ul`
510
+ box-sizing: border-box;
511
+ max-height: 230px;
512
+ min-width: min-content;
513
+ padding: 0;
514
+ margin: 0;
515
+ background-color: ${e=>e.theme.optionBackgroundColor};
516
+ border-width: ${e=>e.theme.borderThickness};
517
+ border-style: ${e=>e.theme.borderStyle};
518
+ border-color: ${e=>e.theme.borderColor};
519
+ border-radius: ${e=>e.theme.borderRadius};
520
+ border-top-right-radius: 0;
521
+ border-top-left-radius: 0;
522
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
523
+ outline: none;
524
+
525
+ overflow-y: auto;
526
+ &::-webkit-scrollbar {
527
+ width: 8px;
528
+ height: 8px;
529
+ }
530
+ &::-webkit-scrollbar-thumb {
531
+ background-color: ${e=>e.theme.scrollBarThumbColor};
532
+ border-radius: 6px;
533
+ }
534
+ &::-webkit-scrollbar-track {
535
+ background-color: ${e=>e.theme.scrollBarTrackColor};
536
+ border-radius: 6px;
537
+ }
538
+ `,Ci=ys(xs);import{jsx as Le,jsxs as rr}from"react/jsx-runtime";var ks=({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=$s(),y=`trigger-${h}`,v=`menu-${h}`,[f,_]=$i(!1),[x,b]=$i(0),L=k(),B=_i(null),I=_i(null),H=No(B.current),R=()=>{_(!0)},F=()=>{_(!1),b(0)},w=xi(C=>{d(C),F(),B.current?.focus()},[d]),D=C=>{!C.currentTarget.contains(C.relatedTarget)&&F()},O=()=>{_(C=>!C)},N=C=>{switch(C.key){case"Up":case"ArrowUp":C.preventDefault(),b(e.length-1),R();break;case" ":case"Down":case"ArrowDown":case"Enter":C.preventDefault(),R();break}},Z=()=>{b(C=>C===0?e.length-1:C-1)},E=()=>{b(C=>C===e.length-1?0:C+1)},z=xi(C=>{switch(C.key){case"Up":case"ArrowUp":C.preventDefault(),Z();break;case"Down":case"ArrowDown":C.preventDefault(),E();break;case" ":case"Enter":C.preventDefault(),w(e[x].value);break;case"Esc":case"Escape":C.preventDefault(),f&&C.stopPropagation(),F(),B.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":F(),B.current?.focus();break}},[d,x,e]);return vs(()=>{I?.current?.querySelectorAll("[role='menuitem']")[x]?.scrollIntoView?.({block:"nearest",inline:"start"})},[x]),Le(Ts,{theme:L.dropdown,children:Le(Fs,{onMouseEnter:!a&&c?R:void 0,onMouseLeave:!a&&c?F:void 0,onBlur:a?void 0:D,margin:s,size:m,children:rr(fo.Root,{open:f,children:[Le(le,{label:u,children:Le(fo.Trigger,{asChild:!0,type:void 0,children:rr(ws,{onClick:O,onKeyDown:N,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:B,children:[rr(Ss,{children:[i&&n==="after"&&Le(Ti,{children:i}),r&&Le(Is,{disabled:a,role:typeof r=="string"?void 0:"img","aria-hidden":!0,children:typeof r=="string"?Le($,{icon:r}):r}),i&&n==="before"&&Le(Ti,{children:i})]}),!l&&rr(Bs,{disabled:a,children:[Le($,{icon:f?"arrow_drop_up":"arrow_drop_down"})," "]})]})})}),Le(fo.Portal,{children:Le(fo.Content,{asChild:!0,sideOffset:1,children:Le(Ci,{id:v,dropdownTriggerId:y,options:e,iconsPosition:t,visualFocusIndex:x,menuItemOnClick:w,onKeyDown:z,styles:{width:H,zIndex:"2147483647"},ref:I})})})]})})})},vi={small:"60px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},ki=(e,t)=>t==="fillParent"?`calc(${vi[t]} - ${j(e,"left")} - ${j(e,"right")})`:vi[t],Fs=Vo.div`
539
+ width: ${e=>ki(e.margin,e.size)};
540
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
541
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
542
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
543
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
544
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
545
+ `,ws=Vo.button`
546
+ display: flex;
547
+ justify-content: space-between;
548
+ align-items: center;
549
+ gap: ${e=>e.theme.caretIconSpacing};
550
+ width: 100%;
551
+ height: ${e=>e.theme.buttonHeight};
552
+ min-width: ${e=>e.label===""?"0px":ki(e.margin,e.size)};
553
+ border-radius: ${e=>e.theme.buttonBorderRadius};
554
+ border-width: ${e=>e.theme.buttonBorderThickness};
555
+ border-style: ${e=>e.theme.buttonBorderStyle};
556
+ border-color: ${e=>e.disabled?e.theme.disabledButtonBorderColor:e.theme.buttonBorderColor};
557
+ padding-top: ${e=>e.theme.buttonPaddingTop};
558
+ padding-bottom: ${e=>e.theme.buttonPaddingBottom};
559
+ padding-left: ${e=>e.theme.buttonPaddingLeft};
560
+ padding-right: ${e=>e.theme.buttonPaddingRight};
561
+ background-color: ${e=>e.disabled?e.theme.disabledButtonBackgroundColor:e.theme.buttonBackgroundColor};
562
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.buttonFontColor};
563
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
564
+
565
+ ${e=>!e.disabled&&`
566
+ &:focus {
567
+ outline: 2px solid ${e.theme.focusColor};
568
+ }
569
+ &:hover {
570
+ background-color: ${e.theme.hoverButtonBackgroundColor};
571
+ }
572
+ &:active {
573
+ background-color: ${e.theme.activeButtonBackgroundColor};
574
+ }
575
+ `};
576
+ `,Ss=Vo.span`
577
+ display: flex;
578
+ align-items: center;
579
+ gap: ${e=>e.theme.buttonIconSpacing};
580
+ margin-left: 0px;
581
+ margin-right: 0px;
582
+ width: 100%;
583
+ overflow: hidden;
584
+ white-space: nowrap;
585
+ `,Ti=Vo.span`
586
+ font-family: ${e=>e.theme.buttonFontFamily};
587
+ font-size: ${e=>e.theme.buttonFontSize};
588
+ font-style: ${e=>e.theme.buttonFontStyle};
589
+ font-weight: ${e=>e.theme.buttonFontWeight};
590
+ text-overflow: ellipsis;
591
+ overflow: hidden;
592
+ `,Is=Vo.span`
593
+ display: flex;
594
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.buttonIconColor};
595
+ font-size: ${e=>e.theme.buttonIconSize};
596
+
597
+ svg {
598
+ width: ${e=>e.theme.buttonIconSize};
599
+ height: ${e=>e.theme.buttonIconSize};
600
+ }
601
+ `,Bs=Vo.span`
602
+ display: flex;
603
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.caretIconColor};
604
+ font-size: ${e=>e.theme.caretIconSize};
605
+
606
+ svg {
607
+ width: ${e=>e.theme.caretIconSize};
608
+ height: ${e=>e.theme.caretIconSize};
609
+ }
610
+ `,Bo=ks;import{jsx as he,jsxs as Po}from"react/jsx-runtime";var zs=e=>he(As,{children:he(Bo,{...e})}),Ii=(e,t)=>e?typeof e=="string"?he(Ms,{alt:t,src:e}):e:Po("svg",{xmlns:"http://www.w3.org/2000/svg",width:"73",height:"40",viewBox:"0 0 73 40",children:[he("title",{children:"DXC Logo"}),he("g",{transform:"translate(0)",children:Po("g",{children:[he("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"}),he("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"})]})})]}),Bi=({isResponsive:e,responsiveContent:t,handleMenu:r,content:n})=>e?he(Xs,{children:t(r)}):he(Os,{children:n}),Pi=({underlined:e=!1,content:t,responsiveContent:r,onClick:n,margin:i,tabIndex:l=0})=>{let a=k(),c=X(),d=Ls(null),[s,m]=Si(!1),[g,u]=Si(!1),h=Ps(()=>{m(window.matchMedia(`(max-width: ${re.medium}rem)`).matches)},[]),y=()=>{u(!g)},v=wi(()=>Ii(a.header.logo,c.formFields.logoAlternativeText),[a.header.logo]),f=wi(()=>Ii(a.header.logoResponsive,c.formFields.logoAlternativeText),[a.header.logoResponsive]);return Fi(()=>(h(),window.addEventListener("resize",h),()=>{window.removeEventListener("resize",h)}),[h]),Fi(()=>{!s&&u(!1)},[s]),he(Ds,{theme:a.header,children:Po(Rs,{underlined:e,margin:i,ref:d,children:[he(Hs,{tabIndex:n?l:-1,interactive:!!n,onClick:n,children:he(Es,{children:v})}),s&&r&&Po(te,{grow:1,children:[he(Ws,{children:Po(Gs,{tabIndex:l,onClick:y,"aria-label":"Show options",children:[he($,{icon:"menu"}),c.header.hamburguerTitle]})}),Po(Ns,{hasVisibility:g,children:[Po(te,{justifyContent:"space-between",alignItems:"center",children:[he(Vs,{children:f}),he(le,{label:c.header.closeIcon,children:he(js,{tabIndex:l,onClick:y,"aria-label":c.header.closeIcon,children:he($,{icon:"close"})})})]}),he(Bi,{isResponsive:s,responsiveContent:r,handleMenu:y,content:t})]}),he(Js,{onClick:y,hasVisibility:g})]}),!s&&he(Bi,{isResponsive:s,responsiveContent:r,handleMenu:y,content:t})]})})};Pi.Dropdown=zs;var As=Fe.div`
611
+ display: flex;
612
+ button {
613
+ background-color: transparent;
614
+ :hover {
615
+ background-color: transparent;
616
+ }
617
+ }
618
+ `,Rs=Fe.header`
619
+ box-sizing: border-box;
620
+ display: flex;
621
+ flex-direction: row;
622
+ align-items: center;
623
+ justify-content: space-between;
624
+ min-height: ${e=>e.theme.minHeight};
625
+ margin-bottom: ${e=>e.margin?p[e.margin]:"0px"};
626
+ padding: ${e=>`${e.theme.paddingTop} ${e.theme.paddingRight} ${e.theme.paddingBottom} ${e.theme.paddingLeft}`};
627
+ background-color: ${e=>e.theme.backgroundColor};
628
+ border-bottom: ${e=>e.underlined&&`${e.theme.underlinedThickness} ${e.theme.underlinedStyle} ${e.theme.underlinedColor}`};
629
+ `,Hs=Fe.a`
630
+ ${e=>e.interactive?"cursor: pointer":"cursor: default; outline:none;"};
631
+ `,Ms=Fe.img`
632
+ max-height: ${e=>e.theme.logoHeight};
633
+ width: ${e=>e.theme.logoWidth};
634
+ `,Es=Fe.div`
635
+ max-height: ${e=>e.theme.logoHeight};
636
+ width: ${e=>e.theme.logoWidth};
637
+ vertical-align: middle;
638
+ `,Ws=Fe.div`
639
+ display: flex;
640
+ align-items: center;
641
+ justify-content: flex-end;
642
+ flex-grow: 1;
643
+ width: calc(100% - 186px);
644
+ `,Os=Fe.div`
645
+ display: flex;
646
+ align-items: center;
647
+ flex-grow: 1;
648
+ justify-content: flex-end;
649
+ width: calc(100% - 186px);
650
+ color: ${e=>e.theme.contentColor};
651
+ `,Gs=Fe.button`
652
+ display: flex;
653
+ flex-direction: column;
654
+ justify-content: center;
655
+ align-items: center;
656
+ width: 54px;
657
+ cursor: pointer;
658
+ border: 1px solid transparent;
659
+ border-radius: 2px;
660
+ background-color: transparent;
661
+ :hover {
662
+ background-color: ${e=>e.theme.hamburguerHoverColor};
663
+ }
664
+ &:focus {
665
+ outline: ${e=>e.theme.hamburguerFocusColor} auto 1px;
666
+ }
667
+ & > svg {
668
+ fill: ${e=>e.theme.hamburguerIconColor};
669
+ }
670
+ & > span {
671
+ font-size: 24px;
672
+ }
673
+ font-family: ${e=>e.theme.hamburguerFontFamily};
674
+ font-style: ${e=>e.theme.hamburguerFontStyle};
675
+ font-size: ${e=>e.theme.hamburguerFontSize};
676
+ text-transform: ${e=>e.theme.hamburguerTextTransform};
677
+ font-weight: ${e=>e.theme.hamburguerFontWeight};
678
+ color: ${e=>e.theme.hamburguerFontColor};
679
+ `,Ns=Fe.div`
680
+ display: flex;
681
+ flex-direction: column;
682
+ background-color: ${e=>e.theme.menuBackgroundColor};
683
+ position: fixed;
684
+ top: 0;
685
+ right: 0;
686
+ z-index: ${e=>e.theme.menuZindex};
687
+
688
+ @media (max-width: ${re.large}rem) and (min-width: ${re.small}rem) {
689
+ width: ${e=>e.theme.menuTabletWidth};
690
+ }
691
+
692
+ @media (not((max-width: ${re.large}rem) and (min-width: ${re.small}rem))) {
693
+ width: ${e=>e.theme.menuMobileWidth};
694
+ }
695
+
696
+ height: 100vh;
697
+ padding: 20px;
698
+ transform: ${e=>e.hasVisibility?"translateX(0)":"translateX(100vw)"};
699
+ opacity: ${e=>e.hasVisibility?"1":"0.96"};
700
+ transition-property: transform, opacity;
701
+ transition-duration: 0.6s;
702
+ transition-timing-function: ease-in-out;
703
+ box-sizing: border-box;
704
+ `,Vs=Fe.div`
705
+ max-height: ${e=>e.theme.logoHeight};
706
+ width: ${e=>e.theme.logoWidth};
707
+ display: flex;
708
+ `,js=Fe.button`
709
+ display: flex;
710
+ justify-content: center;
711
+ align-content: center;
712
+ padding: 6px;
713
+ border: unset;
714
+ border-radius: 2px;
715
+ background-color: transparent;
716
+ cursor: pointer;
717
+
718
+ :focus,
719
+ :focus-visible {
720
+ outline: ${e=>e.theme.hamburguerFocusColor} auto 1px;
721
+ }
722
+ font-size: 24px;
723
+ svg {
724
+ height: 24px;
725
+ width: 24px;
726
+ }
727
+ `,Xs=Fe.div`
728
+ display: flex;
729
+ flex-direction: column;
730
+ align-items: flex-start;
731
+ height: 100%;
732
+ color: ${e=>e.theme.contentColor};
733
+ `,Js=Fe.div`
734
+ position: fixed;
735
+ top: 0;
736
+ left: 0;
737
+ width: 100vw;
738
+ height: 100vh;
739
+ background-color: ${e=>e.theme.overlayColor};
740
+ opacity: ${e=>e.theme.overlayOpacity} !important;
741
+ visibility: ${e=>e.hasVisibility?"visible":"hidden"};
742
+ opacity: ${e=>e.hasVisibility?"1":"0"};
743
+
744
+ @media (max-width: ${re.small}rem) {
745
+ display: none;
746
+ }
747
+
748
+ transition: opacity 0.2s 0.2s ease-in-out;
749
+ z-index: ${e=>e.theme.overlayZindex};
750
+ `,qr=Pi;import{createContext as em,forwardRef as om,useContext as tm,useEffect as rm,useState as zi}from"react";import Lo,{ThemeProvider as nm}from"styled-components";import Ks from"styled-components";import{jsx as Zs}from"react/jsx-runtime";var nr=e=>e||"0rem",Us=Ks.div`
751
+ ${({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a})=>`
752
+ margin: -${nr(n||r||e)} -${nr(i||t||e)} -${nr(l||r||e)} -${nr(a||t||e)};
753
+ `}
754
+ `,Ys=({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c})=>Zs(Us,{space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c}),ir=Ys;import{createContext as qs,useContext as Qs}from"react";var Li=qs(null),Di=Li.Provider,lr=()=>Qs(Li);import{Fragment as fm,jsx as we,jsxs as bo}from"react/jsx-runtime";var xt=({title:e,children:t})=>{let r=k();return we(nm,{theme:r.sidenav,children:bo(dm,{children:[e,we(te,{direction:"column",gap:"1rem",children:t})]})})},im=({children:e})=>we(ir,{horizontal:"1rem",children:we(sm,{children:e})}),lm=({children:e})=>bo(fm,{children:[we(ir,{horizontal:"1rem",children:we(te,{direction:"column",children:e})}),we(mm,{})]}),Ai=em(null),am=({title:e,collapsable:t=!1,icon:r,children:n})=>{let[i,l]=zi(!1),[a,c]=zi(!1);return we(Ai.Provider,{value:c,children:bo(gm,{children:[t&&e?bo(um,{"aria-expanded":!i,onClick:()=>l(!i),selectedGroup:i&&a,children:[bo(te,{alignItems:"center",gap:"0.5rem",children:[typeof r=="string"?we($,{icon:r}):r,e]}),we($,{icon:i?"expand_more":"expand_less"})]}):e&&bo(pm,{children:[typeof r=="string"?we($,{icon:r}):r,e]}),!i&&n]})})},cm=om(({href:e,newWindow:t=!1,selected:r=!1,icon:n,onClick:i,tabIndex:l=0,children:a,...c},d)=>{let s=tm(Ai),m=lr(),g=u=>{i?.(u),m?.(!1)};return rm(()=>{s?.(u=>u||r)},[r,s]),bo(hm,{selected:r,href:e||void 0,target:e?t?"_blank":"_self":void 0,ref:d,tabIndex:l,onClick:g,...c,children:[bo(te,{alignItems:"center",gap:"0.5rem",children:[typeof n=="string"?we($,{icon:n}):n,a]}),t&&we($,{icon:"open_in_new"})]})}),dm=Lo.div`
755
+ box-sizing: border-box;
756
+ display: flex;
757
+ flex-direction: column;
758
+ width: 280px;
759
+ @media (max-width: ${re.large}rem) {
760
+ width: 100vw;
761
+ }
762
+ padding: 2rem 1rem;
763
+ background-color: ${e=>e.theme.backgroundColor};
764
+
765
+ overflow-y: auto;
766
+ overflow-x: hidden;
767
+ ::-webkit-scrollbar {
768
+ width: 2px;
769
+ }
770
+ ::-webkit-scrollbar-track {
771
+ background-color: ${e=>e.theme.scrollBarTrackColor};
772
+ border-radius: 3px;
773
+ }
774
+ ::-webkit-scrollbar-thumb {
775
+ background-color: ${e=>e.theme.scrollBarThumbColor};
776
+ border-radius: 3px;
777
+ }
778
+ `,sm=Lo.div`
779
+ display: flex;
780
+ align-items: center;
781
+ padding: 0.5rem 1.2rem;
782
+ font-family: ${e=>e.theme.titleFontFamily};
783
+ font-style: ${e=>e.theme.titleFontStyle};
784
+ font-weight: ${e=>e.theme.titleFontWeight};
785
+ font-size: ${e=>e.theme.titleFontSize};
786
+ color: ${e=>e.theme.titleFontColor};
787
+ letter-spacing: ${e=>e.theme.titleFontLetterSpacing};
788
+ text-transform: ${e=>e.theme.titleFontTextTransform};
789
+ `,mm=Lo.div`
790
+ width: 100%;
791
+ height: 1px;
792
+ background-color: ${o.color_grey_400};
793
+
794
+ &:last-child {
795
+ display: none;
796
+ }
797
+ `,gm=Lo.div`
798
+ a {
799
+ padding: 0.5rem 1.2rem 0.5rem 2.25rem;
800
+ }
801
+ `,pm=Lo.span`
802
+ box-sizing: border-box;
803
+ display: flex;
804
+ align-items: center;
805
+ gap: 0.5rem;
806
+ padding: 0.5rem 1.2rem;
807
+ font-family: ${e=>e.theme.groupTitleFontFamily};
808
+ font-style: ${e=>e.theme.groupTitleFontStyle};
809
+ font-weight: ${e=>e.theme.groupTitleFontWeight};
810
+ font-size: ${e=>e.theme.groupTitleFontSize};
811
+ span::before {
812
+ font-size: 16px;
813
+ }
814
+ svg {
815
+ height: 16px;
816
+ width: 16px;
817
+ }
818
+ `,um=Lo.button`
819
+ all: unset;
820
+ box-sizing: border-box;
821
+ display: flex;
822
+ align-items: center;
823
+ justify-content: space-between;
824
+ width: 100%;
825
+ padding: 0.5rem 1.2rem;
826
+ font-family: ${e=>e.theme.groupTitleFontFamily};
827
+ font-style: ${e=>e.theme.groupTitleFontStyle};
828
+ font-weight: ${e=>e.theme.groupTitleFontWeight};
829
+ font-size: ${e=>e.theme.groupTitleFontSize};
830
+ cursor: pointer;
831
+
832
+ ${e=>e.selectedGroup?`color: ${e.theme.groupTitleSelectedFontColor}; background-color: ${e.theme.groupTitleSelectedBackgroundColor};`:`color: ${e.theme.groupTitleFontColor}; background-color: transparent;`}
833
+
834
+ &:focus, &:focus-visible {
835
+ outline: 2px solid ${e=>e.theme.linkFocusColor};
836
+ outline-offset: -2px;
837
+ }
838
+ &:hover {
839
+ ${e=>e.selectedGroup?`color: ${e.theme.groupTitleSelectedHoverFontColor}; background-color: ${e.theme.groupTitleSelectedHoverBackgroundColor};`:`color: ${e.theme.groupTitleFontColor}; background-color: ${e.theme.groupTitleHoverBackgroundColor};`}
840
+ }
841
+ &:active {
842
+ color: #fff;
843
+ background-color: ${e=>e.selectedGroup?"#333":e.theme.groupTitleActiveBackgroundColor};
844
+ }
845
+ span::before {
846
+ font-size: 16px;
847
+ }
848
+ svg {
849
+ height: 16px;
850
+ width: 16px;
851
+ }
852
+ `,hm=Lo.a`
853
+ display: flex;
854
+ align-items: center;
855
+ justify-content: space-between;
856
+ gap: 0.5rem;
857
+ padding: 0.5rem 1.2rem;
858
+ box-shadow: 0 0 0 2px transparent;
859
+ font-family: ${e=>e.theme.linkFontFamily};
860
+ font-style: ${e=>e.theme.linkFontStyle};
861
+ font-weight: ${e=>e.theme.linkFontWeight};
862
+ font-size: ${e=>e.theme.linkFontSize};
863
+ letter-spacing: ${e=>e.theme.linkFontLetterSpacing};
864
+ text-transform: ${e=>e.theme.linkFontTextTransform};
865
+ text-decoration: ${e=>e.theme.linkTextDecoration};
866
+ cursor: pointer;
867
+
868
+ ${e=>e.selected?`color: ${e.theme.linkSelectedFontColor}; background-color: ${e.theme.linkSelectedBackgroundColor};`:`color: ${e.theme.linkFontColor}; background-color: transparent;`}
869
+
870
+ &:focus, &:focus-visible {
871
+ outline: 2px solid ${e=>e.theme.linkFocusColor};
872
+ outline-offset: -2px;
873
+ }
874
+ &:hover {
875
+ ${e=>e.selected?`color: ${e.theme.linkSelectedHoverFontColor}; background-color: ${e.theme.linkSelectedHoverBackgroundColor};`:`color: ${e.theme.linkFontColor}; background-color: ${e.theme.linkHoverBackgroundColor};`}
876
+ }
877
+ &:active {
878
+ color: #fff;
879
+ background-color: ${e=>e.selected?"#333":"#4d4d4d"};
880
+ outline: 2px solid #0095ff;
881
+ outline-offset: -2px;
882
+ }
883
+ span::before {
884
+ font-size: 16px;
885
+ }
886
+ svg {
887
+ height: 16px;
888
+ width: 16px;
889
+ }
890
+ `;xt.Section=lm;xt.Group=am;xt.Link=cm;xt.Title=im;var Ri=xt;import{Children as Cm,isValidElement as xm,useState as _m,useEffect as $m}from"react";import{jsx as yo,jsxs as ym}from"react/jsx-runtime";var bm={facebookLogo:yo("svg",{version:"1.1",x:"0px",y:"0px",width:"438.536px",height:"438.536px",viewBox:"0 0 438.536 438.536",fill:"#FFFFFF",children:yo("g",{children:yo("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
891
+ 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
892
+ h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225
893
+ 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
894
+ 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
895
+ 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:ym("svg",{width:"256",height:"256",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[yo("rect",{width:"256",height:"256",rx:"40",fill:"white"}),yo("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:yo("svg",{version:"1.1",x:"0px",y:"0px",width:"438.536px",height:"438.536px",viewBox:"0 0 438.536 438.536",fill:"#FFFFFF",children:yo("g",{children:yo("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
896
+ 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
897
+ h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225
898
+ C438.532,59.576,430.49,40.204,414.41,24.123z M133.618,367.157H67.666V169.016h65.952V367.157z M127.626,132.332
899
+ 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
900
+ 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
901
+ 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
902
+ 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
903
+ 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
904
+ 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
905
+ H370.873z`})})})},ar=bm;var Hi=new Date().getFullYear(),Mi=[{href:"https://www.linkedin.com/company/dxctechnology",text:"Linkedin"},{href:"https://x.com/dxctechnology",text:"X"},{href:"https://www.facebook.com/DXCTechnology/",text:"Facebook"}],Ei=[{href:"https://www.linkedin.com/company/dxctechnology",logo:ar.linkedinLogo,title:"Linkedin"},{href:"https://x.com/dxctechnology",logo:ar.xLogo,title:"X"},{href:"https://www.facebook.com/DXCTechnology/",logo:ar.facebookLogo,title:"Facebook"}],Wi=(e,t)=>Cm.toArray(e).find(r=>xm(r)&&r.type===t),Oi=e=>{let[t,r]=_m(!1);return $m(()=>{let n=()=>{r(window.matchMedia(`(max-width: ${e}rem)`).matches)};return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};import{Fragment as Am,jsx as Ke,jsxs as cr}from"react/jsx-runtime";var Fm=Co.div`
906
+ position: absolute;
907
+ top: 64px;
908
+ bottom: 0;
909
+ left: 0;
910
+ right: 0;
911
+ display: flex;
912
+ flex-direction: column;
913
+
914
+ @media (max-width: ${re.large}rem) {
915
+ ${e=>e.hasSidenav&&"top: 116px"};
916
+ ${e=>e.isSidenavVisible&&"overflow: hidden;"}
917
+ }
918
+ `,wm=Co.div`
919
+ position: fixed;
920
+ top: 0;
921
+ left: 0;
922
+ right: 0;
923
+ z-index: 3;
924
+ `,Sm=Co.div`
925
+ position: fixed;
926
+ top: 64px;
927
+ left: 0;
928
+ right: 0;
929
+ box-sizing: border-box;
930
+ display: flex;
931
+ align-items: center;
932
+ padding: 4px 16px;
933
+ width: 100%;
934
+ background-color: #f2f2f2;
935
+ user-select: none;
936
+ z-index: 2;
937
+ `,Im=Co.button`
938
+ display: flex;
939
+ flex-wrap: wrap;
940
+ gap: 10px;
941
+ border: 0px solid transparent;
942
+ border-radius: 2px;
943
+ padding: 12px 4px;
944
+ background-color: transparent;
945
+ box-shadow: 0 0 0 2px transparent;
946
+ font-family:
947
+ Open Sans,
948
+ sans-serif;
949
+ font-weight: 600;
950
+ font-size: 14px;
951
+ color: #000;
952
+ cursor: pointer;
953
+
954
+ :active {
955
+ background-color: #cccccc;
956
+ }
957
+ :focus,
958
+ :focus-visible {
959
+ outline: none;
960
+ box-shadow: 0 0 0 2px #0095ff;
961
+ }
962
+ span::before {
963
+ font-size: 20px;
964
+ }
965
+ `,Bm=Co.div`
966
+ display: flex;
967
+ flex-direction: row;
968
+ flex: 1;
969
+ `,Pm=Co.div`
970
+ position: sticky;
971
+ top: 64px;
972
+ display: flex;
973
+ height: calc(100vh - 64px);
974
+ z-index: 1;
975
+
976
+ @media (max-width: ${re.large}rem) {
977
+ position: absolute;
978
+ top: 0px;
979
+ height: 100%;
980
+ }
981
+ `,Lm=Co.div`
982
+ display: flex;
983
+ flex-direction: column;
984
+ width: 100%;
985
+ `,Dm=Co.main`
986
+ flex: 1;
987
+ background-color: #fff;
988
+ `,Gi=({children:e})=>Ke(Am,{children:e}),jo=({visibilityToggleLabel:e="",header:t,sidenav:r,footer:n,children:i})=>{let[l,a]=km(!1),c=Oi(re.large),d=Tm(null),s=X(),m=()=>{a(g=>!g)};return vm(()=>{!c&&a(!1)},[c]),cr(Fm,{hasSidenav:!!r,isSidenavVisible:l,ref:d,children:[Ke(wm,{children:t??Ke(qr,{underlined:!0})}),r&&c&&Ke(Sm,{children:Ke(le,{label:s.applicationLayout.visibilityToggleTitle,children:cr(Im,{onClick:m,"aria-label":e?void 0:s.applicationLayout.visibilityToggleTitle,children:[Ke($,{icon:"Menu"}),e]})})}),cr(Bm,{children:[Ke(Di,{value:a,children:r&&(c?l:!0)&&Ke(Pm,{children:r})}),cr(Lm,{children:[Ke(Dm,{children:Wi(i,Gi)}),n??Ke(Yr,{copyright:`\xA9 DXC Technology ${Hi}\u200B\u200B\u200B\u200B. All rights reserved.`,bottomLinks:Mi,socialLinks:Ei})]})]})]})};jo.Footer=Yr;jo.Header=qr;jo.Main=Gi;jo.SideNav=Ri;jo.useResponsiveSidenavVisibility=lr;var zm=jo;import Qr from"styled-components";import{jsx as dr,jsxs as Nm}from"react/jsx-runtime";var Ni={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}},Ue={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}`}}},Rm=({label:e,title:t,mode:r="contextual",color:n="grey",icon:i,notificationLimit:l=99,size:a="medium"})=>dr(le,{label:t,children:Nm(Wm,{label:e,mode:r,color:r==="contextual"&&n||void 0,size:a,"aria-label":t,children:[r==="contextual"&&i&&dr(Om,{size:a,children:typeof i=="string"?dr($,{icon:i}):i}),e&&dr(Gm,{size:a,children:typeof e=="number"&&e>l?"+"+l:e})]})}),Hm=(e,t)=>e==="contextual"?Ni[t].text:o.color_white,Mm=(e,t)=>e==="contextual"?Ni[t].background:o.color_red_700,Em=(e,t)=>e==="contextual"?Ue[t].padding.contextual:Ue[t].padding.notification,Wm=Qr.div`
989
+ box-sizing: border-box;
990
+ border-radius: ${e=>Ue[e.size].borderRadius};
991
+ padding: ${e=>e.label?Em(e.mode,e.size):""};
992
+ width: ${e=>!e.label&&e.mode==="notification"?Ue[e.size].width:"fit-content"};
993
+ min-width: ${e=>e.mode==="notification"&&Ue[e.size].minWidth};
994
+ height: ${e=>Ue[e.size].height};
995
+ display: flex;
996
+ align-items: center;
997
+ gap: ${o.spacing_2};
998
+ justify-content: center;
999
+ background-color: ${e=>Mm(e.mode,e.color)};
1000
+ color: ${e=>Hm(e.mode,e.color)};
1001
+ `,Om=Qr.div`
1002
+ display: flex;
1003
+ font-size: ${e=>Ue[e.size].iconSize};
1004
+
1005
+ svg {
1006
+ height: ${e=>Ue[e.size].iconSize};
1007
+ width: ${e=>Ue[e.size].iconSize};
1008
+ }
1009
+ `,Gm=Qr.span`
1010
+ font-family: ${o.type_sans};
1011
+ font-size: ${e=>Ue[e.size].fontSize};
1012
+ font-weight: ${o.type_semibold};
1013
+ white-space: nowrap;
1014
+ `,Do=Rm;import{useCallback as Ym}from"react";import Zm from"styled-components";var Vi={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}};import mr from"styled-components";import{useRef as Vm}from"react";import{jsx as sr}from"react/jsx-runtime";var jm=({isCurrentPage:e=!1,href:t,label:r,onClick:n})=>{let i=Vm(null);return sr(Xm,{"aria-current":e?"page":void 0,isCurrentPage:e,children:e?sr(Jm,{ref:i,onMouseEnter:c=>{let d=c.currentTarget,s=i?.current;s.title===""&&d.scrollWidth>d.clientWidth&&(s.title=r)},children:r}):sr(Km,{href:t,onClick:c=>{n&&(c.preventDefault(),n(t))},children:sr(Um,{children:r})})})},Xm=mr.li`
1015
+ display: flex;
1016
+ align-items: center;
1017
+ font-family: ${o.type_sans};
1018
+ font-size: ${o.type_scale_02};
1019
+ color: ${o.color_black};
1020
+ ${({isCurrentPage:e})=>e&&"overflow: hidden;"}
1021
+ `,Jm=mr.span`
1022
+ font-weight: ${o.type_semibold};
1023
+ overflow: hidden;
1024
+ text-overflow: ellipsis;
1025
+ white-space: nowrap;
1026
+ cursor: default;
1027
+ `,Km=mr.a`
1028
+ border-radius: ${o.border_radius_small};
1029
+ padding: ${o.spacing_0} ${o.spacing_2};
1030
+ display: inline-flex;
1031
+ align-items: center;
1032
+ height: 24px;
1033
+ color: ${o.color_black};
1034
+ text-decoration: ${o.type_no_line};
1035
+ cursor: pointer;
1036
+
1037
+ &:focus {
1038
+ outline: ${o.border_width_2} solid ${o.color_blue_600};
1039
+ }
1040
+ `,Um=mr.span`
1041
+ border: ${o.border_width_1} solid ${o.color_transparent};
1042
+ &:hover {
1043
+ border-bottom-color: ${o.color_black};
1044
+ }
1045
+ `,gr=jm;import{Fragment as og,jsx as io,jsxs as tg}from"react/jsx-runtime";var qm=({ariaLabel:e="Breadcrumbs",items:t,itemsBeforeCollapse:r=4,onItemClick:n,showRoot:i=!0})=>{let l=Ym(a=>{n?n(a):window.location.href=a},[t]);return io("nav",{"aria-label":e,children:io(Qm,{children:t&&t.length>Math.max(r,2)?tg(og,{children:[i&&io(gr,{href:t[0].href,label:t[0].label},0),io(te,{alignItems:"center",as:"li",children:io(ro,{advancedTheme:Vi,children:io(Bo,{caretHidden:!0,icon:io($,{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),io(gr,{isCurrentPage:!0,label:t[t.length-1].label},2)]}):t.map((a,c,{length:d})=>io(gr,{href:a.href,isCurrentPage:c===d-1,label:a.label,onClick:n},c))})})},Qm=Zm.ol`
1046
+ margin: ${o.spacing_0};
1047
+ padding-left: ${o.spacing_0};
1048
+ display: flex;
1049
+ align-items: center;
1050
+ gap: ${o.spacing_12};
1051
+ list-style-type: none;
1052
+
1053
+ > li:not(:first-child) {
1054
+ > a,
1055
+ > span {
1056
+ margin-left: ${o.spacing_12};
1057
+ }
1058
+ &::before {
1059
+ margin: ${o.spacing_0} ${o.spacing_2};
1060
+ transform: rotate(15deg);
1061
+ border-right: ${o.border_width_1} solid ${o.color_grey_500};
1062
+ height: 1rem;
1063
+ content: "";
1064
+ }
1065
+ }
1066
+ `,eg=qm;import{Children as ig}from"react";import lo,{ThemeProvider as lg}from"styled-components";import{jsx as ng}from"react/jsx-runtime";var rg=({textOverflow:e,whiteSpace:t,children:r,...n})=>ng($e,{textOverflow:e,whiteSpace:t==null&&e!=null&&e!=="unset"?"nowrap":t,...n,children:r}),zo=rg;import{Fragment as bg,jsx as Ce,jsxs as ji}from"react/jsx-runtime";var ag=({children:e})=>Ce(bg,{children:e}),Xi=({children:e,type:t="disc",icon:r=""})=>{let n=k();return Ce(lg,{theme:n.bulletedList,children:Ce(cg,{children:Ce(te,{direction:"column",as:t==="number"?"ol":"ul",gap:"0.125rem",children:ig.map(e,(i,l)=>Ce(hg,{children:ji(dg,{children:[t==="number"?Ce(mg,{children:ji(zo,{color:n.bulletedList.fontColor,children:[l+1,"."]})}):t==="square"?Ce(pr,{children:Ce(gg,{})}):t==="circle"?Ce(pr,{children:Ce(pg,{})}):t==="icon"?Ce(pr,{children:Ce(sg,{children:typeof r=="string"?Ce($,{icon:r}):r})}):Ce(pr,{children:Ce(ug,{})}),Ce(zo,{color:n.bulletedList.fontColor,children:i})]})}))})})})};Xi.Item=ag;var cg=lo.div`
1067
+ ul,
1068
+ ol {
1069
+ padding: 0;
1070
+ margin: 0;
1071
+ }
1072
+ `,pr=lo.div`
1073
+ display: flex;
1074
+ align-self: flex-start;
1075
+ align-items: center;
1076
+ height: 1.5rem;
1077
+ `,dg=lo.div`
1078
+ display: grid;
1079
+ grid-template-columns: auto 1fr;
1080
+ align-items: center;
1081
+ `,sg=lo.div`
1082
+ height: 1.5rem;
1083
+ width: auto;
1084
+ margin-right: ${e=>e.theme.bulletMarginRight};
1085
+ align-content: center;
1086
+ color: ${e=>e.theme.fontColor};
1087
+
1088
+ font-size: ${e=>e.theme.bulletIconHeight};
1089
+ svg {
1090
+ height: ${e=>e.theme.bulletIconHeight};
1091
+ width: ${e=>e.theme.bulletIconWidth};
1092
+ }
1093
+ `,mg=lo.div`
1094
+ user-select: none;
1095
+ margin-right: ${e=>e.theme.bulletMarginRight};
1096
+ display: flex;
1097
+ box-sizing: border-box;
1098
+ align-self: flex-start;
1099
+ min-width: 0;
1100
+ `,gg=lo.div`
1101
+ background-color: ${e=>e.theme.fontColor};
1102
+ height: ${e=>e.theme.bulletHeight};
1103
+ width: ${e=>e.theme.bulletWidth};
1104
+ margin-right: ${e=>e.theme.bulletMarginRight};
1105
+ `,pg=lo.div`
1106
+ height: ${e=>e.theme.bulletHeight};
1107
+ width: ${e=>e.theme.bulletWidth};
1108
+ border-radius: 50%;
1109
+ border: 1px solid;
1110
+ border-color: ${e=>e.theme.fontColor};
1111
+ margin-right: ${e=>e.theme.bulletMarginRight};
1112
+ `,ug=lo.div`
1113
+ background-color: ${e=>e.theme.fontColor};
1114
+ height: ${e=>e.theme.bulletHeight};
1115
+ width: ${e=>e.theme.bulletWidth};
1116
+ border-radius: 50%;
1117
+ margin-right: ${e=>e.theme.bulletMarginRight};
1118
+ `,hg=lo.li`
1119
+ display: flex;
1120
+ margin: 0px;
1121
+ padding: 0px;
1122
+ list-style: none;
1123
+ font-size: 1em;
1124
+ `,fg=Xi;import en,{ThemeProvider as yg}from"styled-components";import{jsx as _t,jsxs as Fg}from"react/jsx-runtime";var Cg=({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 _t(yg,{theme:u.button,children:_t(le,{label:l,children:Fg(vg,{"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&&_t(Tg,{children:e}),c&&_t(kg,{size:m,children:typeof c=="string"?_t($,{icon:c}):c})]})})})},Ji={small:"42px",medium:"120px",large:"240px",fillParent:"100%",fitContent:"fit-content"},xg=(e,t)=>t?.width==="fillParent"?`calc(${Ji[t?.width]} - ${j(e,"left")} - ${j(e,"right")})`:Ji[t?.width],_g=e=>{switch(e){case"small":return 1.5;case"medium":return 2;case"large":return 2.5;default:return 2.5}},$g=(e,t,r,n)=>{let i="",l="",a="",c="",d="",s=`
1125
+ font-weight: ${r.primaryFontWeight};
1126
+ font-size: ${n?.height==="small"?r.primarySmallFontSize:n?.height==="medium"?r.primaryMediumFontSize:r.primaryLargeFontSize};
1127
+ font-family: ${r.primaryFontFamily};
1128
+ border-radius: ${r.primaryBorderRadius};
1129
+ border-width ${r.primaryBorderThickness};
1130
+ border-style: ${r.primaryBorderStyle};`,m=`
1131
+ font-weight: ${r.secondaryFontWeight};
1132
+ font-size: ${n?.height==="small"?r.secondarySmallFontSize:n?.height==="medium"?r.secondaryMediumFontSize:r.secondaryLargeFontSize};
1133
+ font-family: ${r.secondaryFontFamily};
1134
+ border-radius: ${r.secondaryBorderRadius};
1135
+ border-width ${r.secondaryBorderThickness};
1136
+ border-style: ${r.secondaryBorderStyle};`,g=`
1137
+ font-weight: ${r.tertiaryFontWeight};
1138
+ font-size: ${n?.height==="small"?r.tertiarySmallFontSize:n?.height==="medium"?r.tertiaryMediumFontSize:r.tertiaryLargeFontSize};
1139
+ font-family: ${r.tertiaryFontFamily};
1140
+ border-radius: ${r.tertiaryBorderRadius};
1141
+ border-width ${r.tertiaryBorderThickness};
1142
+ border-style: ${r.tertiaryBorderStyle};`;switch(e){case"primary":switch(t){case"default":i=`background-color: ${r.primaryDefaultBackgroundColor};
1143
+ color: ${r.primaryDefaultFontColor};`,l=`background-color: ${r.primaryHoverDefaultBackgroundColor};`,a=`background-color: ${r.primaryActiveDefaultBackgroundColor};
1144
+ border-color: transparent;
1145
+ outline: none;
1146
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1147
+ background-color: ${r.primaryDisabledDefaultBackgroundColor};
1148
+ color: ${r.primaryDisabledDefaultFontColor};`;break;case"error":i=`background-color: ${r.primaryErrorBackgroundColor};
1149
+ color: ${r.primaryErrorFontColor};`,l=`background-color: ${r.primaryHoverErrorBackgroundColor};`,a=`background-color: ${r.primaryActiveErrorBackgroundColor};
1150
+ border-color: transparent;
1151
+ outline: none;
1152
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1153
+ background-color: ${r.primaryDisabledErrorBackgroundColor};
1154
+ color: ${r.primaryDisabledErrorFontColor};`;break;case"warning":i=`background-color: ${r.primaryWarningBackgroundColor};
1155
+ color: ${r.primaryWarningFontColor};`,l=`background-color: ${r.primaryHoverWarningBackgroundColor};`,a=`background-color: ${r.primaryActiveWarningBackgroundColor};
1156
+ border-color: transparent;
1157
+ outline: none;
1158
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1159
+ background-color: ${r.primaryDisabledWarningBackgroundColor};
1160
+ color: ${r.primaryDisabledWarningFontColor};`;break;case"success":i=`background-color: ${r.primarySuccessBackgroundColor};
1161
+ color: ${r.primarySuccessFontColor};`,l=`background-color: ${r.primaryHoverSuccessBackgroundColor};`,a=`background-color: ${r.primaryActiveSuccessBackgroundColor};
1162
+ border-color: transparent;
1163
+ outline: none;
1164
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1165
+ background-color: ${r.primaryDisabledSuccessBackgroundColor};
1166
+ color: ${r.primaryDisabledSuccessFontColor};`;break;case"info":i=`background-color: ${r.primaryInfoBackgroundColor};
1167
+ color: ${r.primaryInfoFontColor};`,l=`background-color: ${r.primaryHoverInfoBackgroundColor};`,a=`background-color: ${r.primaryActiveInfoBackgroundColor};
1168
+ border-color: transparent;
1169
+ outline: none;
1170
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1171
+ background-color: ${r.primaryDisabledInfoBackgroundColor};
1172
+ color: ${r.primaryDisabledInfoFontColor};`;break;default:i=`background-color: ${r.primaryDefaultBackgroundColor};
1173
+ color: ${r.primaryDefaultFontColor};`;break}return`${s}
1174
+ ${i}
1175
+ &:hover {
1176
+ ${l}
1177
+ }
1178
+ &:active {
1179
+ ${a}
1180
+ }
1181
+ &:focus {
1182
+ ${c}
1183
+ }
1184
+ &:disabled {
1185
+ ${d}
1186
+ }`;case"secondary":switch(t){case"default":i=`background-color: ${r.secondaryDefaultBackgroundColor};
1187
+ color: ${r.secondaryDefaultFontColor};
1188
+ border-color ${r.secondaryDefaultBorderColor};`,l=`background-color: ${r.secondaryHoverDefaultBackgroundColor};
1189
+ color: ${r.secondaryHoverDefaultFontColor};`,a=`background-color: ${r.secondaryActiveDefaultBackgroundColor};
1190
+ color: ${r.secondaryHoverDefaultFontColor};
1191
+ border-color: transparent;
1192
+ outline: none;
1193
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1194
+ background-color: ${r.secondaryDisabledDefaultBackgroundColor};
1195
+ color: ${r.secondaryDisabledDefaultFontColor};
1196
+ border-color: ${r.secondaryDisabledDefaultBorderColor};`;break;case"error":i=`background-color: ${r.secondaryErrorBackgroundColor};
1197
+ color: ${r.secondaryErrorFontColor};
1198
+ border-color ${r.secondaryErrorBorderColor};`,l=`background-color: ${r.secondaryHoverErrorBackgroundColor};
1199
+ color: ${r.secondaryHoverErrorFontColor};`,a=`background-color: ${r.secondaryActiveErrorBackgroundColor};
1200
+ color: ${r.secondaryHoverErrorFontColor};
1201
+ border-color: transparent;
1202
+ outline: none;
1203
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1204
+ background-color: ${r.secondaryDisabledErrorBackgroundColor};
1205
+ color: ${r.secondaryDisabledErrorFontColor};
1206
+ border-color: ${r.secondaryDisabledErrorBorderColor};`;break;case"warning":i=`background-color: ${r.secondaryWarningBackgroundColor};
1207
+ color: ${r.secondaryWarningFontColor};
1208
+ border-color ${r.secondaryWarningBorderColor};`,l=`background-color: ${r.secondaryHoverWarningBackgroundColor};
1209
+ color: ${r.secondaryHoverWarningFontColor};`,a=`background-color: ${r.secondaryActiveWarningBackgroundColor};
1210
+ color: ${r.secondaryHoverWarningFontColor};
1211
+ border-color: transparent;
1212
+ outline: none;
1213
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1214
+ background-color: ${r.secondaryDisabledWarningBackgroundColor};
1215
+ color: ${r.secondaryDisabledWarningFontColor};
1216
+ border-color: ${r.secondaryDisabledWarningBorderColor};`;break;case"success":i=`background-color: ${r.secondarySuccessBackgroundColor};
1217
+ color: ${r.secondarySuccessFontColor};
1218
+ border-color ${r.secondarySuccessBorderColor};`,l=`background-color: ${r.secondaryHoverSuccessBackgroundColor};
1219
+ color: ${r.secondaryHoverSuccessFontColor};`,a=`background-color: ${r.secondaryActiveSuccessBackgroundColor};
1220
+ color: ${r.secondaryHoverSuccessFontColor};
1221
+ border-color: transparent;
1222
+ outline: none;
1223
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1224
+ background-color: ${r.secondaryDisabledSuccessBackgroundColor};
1225
+ color: ${r.secondaryDisabledSuccessFontColor};
1226
+ border-color: ${r.secondaryDisabledSuccessBorderColor};`;break;case"info":i=`background-color: ${r.secondaryInfoBackgroundColor};
1227
+ color: ${r.secondaryInfoFontColor};
1228
+ border-color ${r.secondaryInfoBorderColor};`,l=`background-color: ${r.secondaryHoverInfoBackgroundColor};
1229
+ color: ${r.secondaryHoverInfoFontColor};`,a=`background-color: ${r.secondaryActiveInfoBackgroundColor};
1230
+ color: ${r.secondaryHoverInfoFontColor};
1231
+ border-color: transparent;
1232
+ outline: none;
1233
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1234
+ background-color: ${r.secondaryDisabledInfoBackgroundColor};
1235
+ color: ${r.secondaryDisabledInfoFontColor};
1236
+ border-color: ${r.secondaryDisabledInfoBorderColor};`;break;default:i=`background-color: ${r.secondaryDefaultBackgroundColor};
1237
+ color: ${r.secondaryDefaultFontColor};
1238
+ border-color ${r.secondaryDefaultBorderColor};`;break}return`${m}
1239
+ ${i}
1240
+ &:hover {
1241
+ ${l}
1242
+ }
1243
+ &:active {
1244
+ ${a}
1245
+ }
1246
+ &:focus {
1247
+ ${c}
1248
+ }
1249
+ &:disabled {
1250
+ ${d}
1251
+ }`;case"tertiary":switch(t){case"default":i=`background-color: ${r.tertiaryDefaultBackgroundColor};
1252
+ color: ${r.tertiaryDefaultFontColor};`,l=`background-color: ${r.tertiaryHoverDefaultBackgroundColor};`,a=`background-color: ${r.tertiaryActiveDefaultBackgroundColor};
1253
+ border-color: transparent;
1254
+ outline: none;
1255
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1256
+ background-color: ${r.tertiaryDisabledDefaultBackgroundColor};
1257
+ color: ${r.tertiaryDisabledDefaultFontColor};`;break;case"error":i=`background-color: ${r.tertiaryErrorBackgroundColor};
1258
+ color: ${r.tertiaryErrorFontColor};`,l=`background-color: ${r.tertiaryHoverErrorBackgroundColor};`,a=`background-color: ${r.tertiaryActiveErrorBackgroundColor};
1259
+ border-color: transparent;
1260
+ outline: none;
1261
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1262
+ background-color: ${r.tertiaryDisabledErrorBackgroundColor};
1263
+ color: ${r.tertiaryDisabledErrorFontColor};`;break;case"warning":i=`background-color: ${r.tertiaryWarningBackgroundColor};
1264
+ color: ${r.tertiaryWarningFontColor};`,l=`background-color: ${r.tertiaryHoverWarningBackgroundColor};`,a=`background-color: ${r.tertiaryActiveWarningBackgroundColor};
1265
+ border-color: transparent;
1266
+ outline: none;
1267
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1268
+ background-color: ${r.tertiaryDisabledWarningBackgroundColor};
1269
+ color: ${r.tertiaryDisabledWarningFontColor};`;break;case"success":i=`background-color: ${r.tertiarySuccessBackgroundColor};
1270
+ color: ${r.tertiarySuccessFontColor};`,l=`background-color: ${r.tertiaryHoverSuccessBackgroundColor};`,a=`background-color: ${r.tertiaryActiveSuccessBackgroundColor};
1271
+ border-color: transparent;
1272
+ outline: none;
1273
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1274
+ background-color: ${r.tertiaryDisabledSuccessBackgroundColor};
1275
+ color: ${r.tertiaryDisabledSuccessFontColor};`;break;case"info":i=`background-color: ${r.tertiaryInfoBackgroundColor};
1276
+ color: ${r.tertiaryInfoFontColor};`,l=`background-color: ${r.tertiaryHoverInfoBackgroundColor};`,a=`background-color: ${r.tertiaryActiveInfoBackgroundColor};
1277
+ border-color: transparent;
1278
+ outline: none;
1279
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1280
+ background-color: ${r.tertiaryDisabledInfoBackgroundColor};
1281
+ color: ${r.tertiaryDisabledInfoFontColor};`;break;default:i=`background-color: ${r.tertiaryDefaultBackgroundColor};
1282
+ color: ${r.tertiaryDefaultFontColor};`;break}return`${g}
1283
+ ${i}
1284
+ &:hover {
1285
+ ${l}
1286
+ }
1287
+ &:active {
1288
+ ${a}
1289
+ }
1290
+ &:focus {
1291
+ ${c}
1292
+ }
1293
+ &:disabled {
1294
+ ${d}
1295
+ }`}},vg=en.button`
1296
+ display: inline-flex;
1297
+ flex-direction: ${e=>e.iconPosition==="after"?"row":"row-reverse"};
1298
+ gap: 0.5rem;
1299
+ align-items: center;
1300
+ justify-content: center;
1301
+ height: ${e=>_g(e.size?.height&&e.size?.height)+"rem"};
1302
+ width: ${e=>xg(e.margin,e.size)};
1303
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1304
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1305
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1306
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1307
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1308
+ 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};
1309
+ 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};
1310
+ 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};
1311
+ 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};
1312
+
1313
+ box-shadow: 0 0 0 2px transparent;
1314
+ font-family: ${e=>e.theme.fontFamily};
1315
+ font-size: ${e=>e.theme.fontSize};
1316
+ font-weight: ${e=>e.theme.fontWeight};
1317
+ letter-spacing: ${e=>e.theme.labelLetterSpacing};
1318
+ cursor: pointer;
1319
+
1320
+ &:focus {
1321
+ outline: none;
1322
+ box-shadow: 0 0 0 2px ${e=>e.theme.focusBorderColor};
1323
+ }
1324
+
1325
+ ${e=>$g(e.$mode,e.semantic,e.theme,e.size)};
1326
+ `,Tg=en.span`
1327
+ line-height: ${e=>e.theme.labelFontLineHeight};
1328
+ font-size: ${e=>e.theme.fontSize};
1329
+ text-overflow: ellipsis;
1330
+ overflow: hidden;
1331
+ text-transform: none;
1332
+ white-space: nowrap;
1333
+ `,kg=en.div`
1334
+ display: flex;
1335
+ font-size: ${e=>e.size.height==="small"||e.size.height==="medium"?"16":"24"}px;
1336
+ svg {
1337
+ height: ${e=>e.size.height==="small"||e.size.height==="medium"?"16":"24"}px;
1338
+ width: ${e=>e.size.height==="small"||e.size.height==="medium"?"16":"24"}px;
1339
+ }
1340
+ `,Me=Cg;import{useState as wg}from"react";import vt,{ThemeProvider as Sg}from"styled-components";import{jsx as $t,jsxs as Rg}from"react/jsx-runtime";var Ig=({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]=wg(!1);return $t(Sg,{theme:g.card,children:$t(Bg,{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:Rg(Pg,{hasAction:!!(l||i),imagePosition:e?n:"none",children:[e&&$t(Dg,{imageBgColor:t,children:$t(Lg,{imagePadding:r,imageCover:a,src:e,alt:"Card image"})}),$t(zg,{children:m})]})})})},Bg=vt.div`
1341
+ display: inline-flex;
1342
+ cursor: ${({hasAction:e})=>e&&"pointer"||"unset"};
1343
+ outline: ${({hasAction:e})=>!e&&"none"};
1344
+ margin: ${({margin:e})=>e&&typeof e!="object"?p[e]:"0px"};
1345
+ margin-top: ${({margin:e})=>e&&typeof e=="object"&&e.top?p[e.top]:""};
1346
+ margin-right: ${({margin:e})=>e&&typeof e=="object"&&e.right?p[e.right]:""};
1347
+ margin-bottom: ${({margin:e})=>e&&typeof e=="object"&&e.bottom?p[e.bottom]:""};
1348
+ margin-left: ${({margin:e})=>e&&typeof e=="object"&&e.left?p[e.left]:""};
1349
+ text-decoration: none;
1350
+ ${({hasAction:e})=>e&&`:focus {
1351
+ outline: #0095ff auto 1px;
1352
+ }`}
1353
+
1354
+ 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"};
1355
+ `,Pg=vt.div`
1356
+ display: inline-flex;
1357
+ flex-direction: ${e=>e.imagePosition==="after"?"row-reverse":"row"};
1358
+ height: ${e=>e.theme.height};
1359
+ width: ${e=>e.theme.width};
1360
+ &:hover {
1361
+ border-color: ${({hasAction:e})=>e?"":"unset"};
1362
+ }
1363
+ `,Lg=vt.img`
1364
+ height: ${({imagePadding:e})=>e?typeof e!="object"&&`calc(100% - ${p[e]} - ${p[e]})`:"100%"};
1365
+ width: ${({imagePadding:e})=>e?typeof e!="object"&&`calc(100% - ${p[e]} - ${p[e]})`:"100%"};
1366
+ object-fit: ${({imageCover:e})=>e?"cover":"contain"};
1367
+ `,Dg=vt.div`
1368
+ display: inline-flex;
1369
+ justify-content: center;
1370
+ align-items: center;
1371
+ flex-shrink: 0;
1372
+ width: 35%;
1373
+ height: 100%;
1374
+ background-color: ${({imageBgColor:e})=>e};
1375
+ `,zg=vt.div`
1376
+ flex-grow: 1;
1377
+ overflow: hidden;
1378
+ `,Ag=Ig;import{useState as Hg,useRef as Mg,useId as Eg,forwardRef as Wg}from"react";import kt,{ThemeProvider as Og}from"styled-components";import{jsx as Xo,jsxs as Ui}from"react/jsx-runtime";var Gg=Xo("svg",{fill:"currentColor",focusable:"false",viewBox:"0 0 24 24",children:Xo("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"})}),Ng=Wg(({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-${Eg()}`,[v,f]=Hg(t),_=Mg(null),x=k(),b=X(),L=()=>{if(!a&&!d){document.activeElement!==_?.current&&_?.current?.focus();let I=e??v;e??f(H=>!H),s?.(!I)}},B=I=>{switch(I.key){case" ":I.preventDefault(),L()}};return Xo(Og,{theme:x.checkbox,children:Ui(Kg,{disabled:a,readOnly:d,onClick:L,margin:m,size:g,checked:e??v,ref:h,children:[n&&Ui(jg,{id:y,disabled:a,labelPosition:i,"aria-label":n,children:[n,c&&` ${b.formFields.optionalLabel}`]}),Xo(Xg,{type:"checkbox",checked:e??v,name:l,value:r,disabled:a,readOnly:!0}),Xo(Jg,{children:Xo(Yi,{onKeyDown:B,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)&&Gg})})]})})}),Ki={small:"120px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},Vg=(e,t)=>t==="fillParent"?`calc(${Ki[t]} - ${j(e,"left")} - ${j(e,"right")})`:Ki[t],ur=(e,t)=>{switch(t){case"check":return e.disabledCheckColor;case"background":return e.disabledBackgroundColorChecked;case"border":return e.disabledBorderColor;case"label":return e.disabledFontColor}},Tt=(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}},Jo=(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}},jg=kt.span`
1379
+ order: ${e=>e.labelPosition==="before"?0:1};
1380
+ color: ${e=>e.disabled?ur(e.theme,"label"):Jo(e.theme,"label")};
1381
+ font-family: ${e=>e.theme.fontFamily};
1382
+ font-size: ${e=>e.theme.fontSize};
1383
+ font-weight: ${e=>e.theme.fontWeight};
1384
+ `,Xg=kt.input`
1385
+ display: none;
1386
+ `,Jg=kt.span`
1387
+ display: flex;
1388
+ align-items: center;
1389
+ justify-content: center;
1390
+ height: 24px;
1391
+ width: 24px;
1392
+ `,Yi=kt.span`
1393
+ position: relative;
1394
+ box-sizing: border-box;
1395
+ display: flex;
1396
+ align-items: center;
1397
+ justify-content: center;
1398
+ height: 18px;
1399
+ width: 18px;
1400
+ border: 2px solid
1401
+ ${e=>e.disabled?ur(e.theme,"border"):e.readOnly?Tt(e.theme,"border"):Jo(e.theme,"border")};
1402
+ border-radius: 2px;
1403
+ background-color: ${e=>e.checked?e.disabled?ur(e.theme,"check"):e.readOnly?Tt(e.theme,"check"):Jo(e.theme,"check"):"transparent"};
1404
+ color: ${e=>e.disabled?ur(e.theme,"background"):e.readOnly?Tt(e.theme,"background"):Jo(e.theme,"background")};
1405
+
1406
+ &:focus {
1407
+ outline: 2px solid ${e=>e.theme.focusColor};
1408
+ outline-offset: 2px;
1409
+ }
1410
+ svg {
1411
+ position: absolute;
1412
+ width: 22px;
1413
+ height: 22px;
1414
+ }
1415
+ ${e=>e.disabled&&"pointer-events: none;"}
1416
+ `,Kg=kt.div`
1417
+ display: inline-flex;
1418
+ align-items: center;
1419
+ gap: ${e=>e.theme.checkLabelSpacing};
1420
+ width: ${e=>Vg(e.margin,e.size)};
1421
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1422
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1423
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1424
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1425
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1426
+ cursor: ${e=>e.disabled?"not-allowed":e.readOnly?"default":"pointer"};
1427
+
1428
+ &:hover ${Yi} {
1429
+ border: 2px solid
1430
+ ${e=>{if(!e.disabled)return e.readOnly?Tt(e.theme,"hoverBorder"):Jo(e.theme,"hoverBorder")}};
1431
+ color: ${e=>{if(!e.disabled)return e.readOnly?Tt(e.theme,"hoverBackground"):Jo(e.theme,"hoverBackground")}};
1432
+ }
1433
+ `,Ko=Ng;import on,{ThemeProvider as Ug}from"styled-components";import{jsx as Uo,jsxs as op}from"react/jsx-runtime";var Yg=({label:e,suffixIcon:t,prefixIcon:r,onClickSuffix:n,onClickPrefix:i,disabled:l,margin:a,tabIndex:c=0})=>{let d=k();return Uo(Ug,{theme:d.chip,children:op(qg,{disabled:l,margin:a,children:[r&&Uo(Zi,{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"?Uo($,{icon:r}):r}),e&&Uo(Qg,{disabled:l,children:e}),t&&Uo(Zi,{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"?Uo($,{icon:t}):t})]})})},Zg=e=>`calc(100% - ${j(e,"left")} - ${j(e,"right")})`,qg=on.div`
1434
+ box-sizing: border-box;
1435
+ display: inline-flex;
1436
+ align-items: center;
1437
+ gap: ${e=>e.theme.iconSpacing};
1438
+ min-height: 40px;
1439
+ max-width: ${e=>Zg(e.margin)};
1440
+ background-color: ${e=>e.disabled&&e.theme.disabledBackgroundColor||e.theme.backgroundColor};
1441
+ border-radius: ${e=>e.theme.borderRadius};
1442
+ border-width: ${e=>e.theme.borderThickness};
1443
+ border-style: ${e=>e.theme.borderStyle};
1444
+ border-color: ${e=>e.theme.borderColor};
1445
+
1446
+ padding-top: ${e=>e.theme.contentPaddingTop};
1447
+ padding-bottom: ${e=>e.theme.contentPaddingBottom};
1448
+ padding-left: ${e=>e.theme.contentPaddingLeft};
1449
+ padding-right: ${e=>e.theme.contentPaddingRight};
1450
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1451
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1452
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1453
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1454
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1455
+ cursor: ${({disabled:e})=>e&&"not-allowed"};
1456
+ `,Qg=on.span`
1457
+ font-size: ${e=>e.theme.fontSize};
1458
+ font-family: ${e=>e.theme.fontFamily};
1459
+ font-weight: ${e=>e.theme.fontWeight};
1460
+ font-style: ${e=>e.theme.fontStyle};
1461
+ color: ${e=>e.disabled?e.theme.disabledFontColor:e.theme.fontColor};
1462
+ text-overflow: ellipsis;
1463
+ white-space: nowrap;
1464
+ overflow: hidden;
1465
+ `,Zi=on.div`
1466
+ display: flex;
1467
+ border-radius: 0.25rem;
1468
+ color: ${e=>e.disabled?e.theme.disabledIconColor:e.theme.iconColor};
1469
+ ${({interactive:e})=>e&&"cursor: pointer;"}
1470
+
1471
+ ${e=>e.interactive&&`
1472
+ &:hover {
1473
+ color: ${e.theme.hoverIconColor};
1474
+ }
1475
+ &:focus,
1476
+ &:focus-visible {
1477
+ outline: ${e.theme.focusBorderThickness} ${e.theme.focusBorderStyle} ${e.theme.focusColor};
1478
+ }
1479
+ &:active {
1480
+ color: ${e.theme.activeIconColor};
1481
+ }
1482
+ `}
1483
+
1484
+ font-size: ${e=>e.theme.iconSize};
1485
+ svg {
1486
+ width: ${e=>e.theme.iconSize};
1487
+ height: ${e=>e.theme.iconSize};
1488
+ }
1489
+ `,ep=Yg;import tp from"styled-components";import{jsx as lp}from"react/jsx-runtime";var Ye={xxsmall:"4px",xsmall:"8px",small:"12px",medium:"16px",large:"24px",xlarge:"32px",xxlarge:"48px"},rp=({display:e,width:t,height:r,overflow:n,...i})=>lp(np,{$display:e,$width:t,$height:r,$overflow:n,...i}),hr=(e,t)=>`border-${e}: ${t?.width??""} ${t?.style??""} ${yt(t?.color)??""};`,np=tp.div`
1490
+ box-sizing: ${({boxSizing:e})=>e};
1491
+ display: ${({$display:e})=>e};
1492
+ width: ${({$width:e})=>e};
1493
+ height: ${({$height:e})=>e};
1494
+ max-width: ${({maxWidth:e})=>e};
1495
+ max-height: ${({maxHeight:e})=>e};
1496
+ min-width: ${({minWidth:e})=>e};
1497
+ min-height: ${({minHeight:e})=>e};
1498
+ position: ${({position:e})=>e};
1499
+ top: ${({inset:e})=>e?.top};
1500
+ right: ${({inset:e})=>e?.right};
1501
+ bottom: ${({inset:e})=>e?.bottom};
1502
+ left: ${({inset:e})=>e?.left};
1503
+ float: ${({float:e})=>e};
1504
+ z-index: ${({zIndex:e})=>e};
1505
+ box-shadow: ${({boxShadow:e})=>e};
1506
+
1507
+ background-attachment: ${({background:e})=>e?.attachment};
1508
+ background-clip: ${({background:e})=>e?.clip};
1509
+ background-color: ${({background:e})=>yt(e?.color)};
1510
+ background-image: ${({background:e})=>e?.image};
1511
+ background-origin: ${({background:e})=>e?.origin};
1512
+ background-position: ${({background:e})=>e?.position};
1513
+ background-repeat: ${({background:e})=>e?.repeat};
1514
+ background-size: ${({background:e})=>e?.size};
1515
+
1516
+ border-radius: ${({borderRadius:e})=>e};
1517
+ border-width: ${({border:e})=>e&&"width"in e?`${e?.width}`:""};
1518
+ border-style: ${({border:e})=>e&&"style"in e?`${e?.style}`:""};
1519
+ border-color: ${({border:e})=>e&&"color"in e?`${yt(e?.color)}`:""};
1520
+
1521
+ ${({border:e})=>{if(e!=null){let t="";switch(!0){case"top"in e:t+=hr("top",e.top);case"right"in e:t+=hr("right",e.right);case"left"in e:t+=hr("left",e.left);case"bottom"in e:t+=hr("bottom",e.bottom)}return t}}};
1522
+
1523
+ margin: ${({margin:e})=>typeof e=="string"?Ye[e]:""};
1524
+ margin-top: ${({margin:e})=>typeof e=="object"?Ye[e.top]:""};
1525
+ margin-right: ${({margin:e})=>typeof e=="object"?Ye[e.right]:""};
1526
+ margin-bottom: ${({margin:e})=>typeof e=="object"?Ye[e.bottom]:""};
1527
+ margin-left: ${({margin:e})=>typeof e=="object"?Ye[e.left]:""};
1528
+
1529
+ outline: ${({outline:e})=>`${e?.width??""} ${e?.style??""} ${yt(e?.color)??""}`};
1530
+ outline-offset: ${({outline:e})=>e?.offset};
1531
+
1532
+ overflow: ${({$overflow:e})=>typeof e=="string"?e:""};
1533
+ overflow-x: ${({$overflow:e})=>typeof e=="object"?`${e?.x}`:""};
1534
+ overflow-y: ${({$overflow:e})=>typeof e=="object"?`${e?.y}`:""};
1535
+
1536
+ padding: ${({padding:e})=>typeof e=="string"?Ye[e]:""};
1537
+ padding-top: ${({padding:e})=>typeof e=="object"?Ye[e.top]:""};
1538
+ padding-right: ${({padding:e})=>typeof e=="object"?Ye[e.right]:""};
1539
+ padding-bottom: ${({padding:e})=>typeof e=="object"?Ye[e.bottom]:""};
1540
+ padding-left: ${({padding:e})=>typeof e=="object"?Ye[e.left]:""};
1541
+ `,ip=rp;import{createContext as Hp,useLayoutEffect as Mp,useMemo as Ep,useRef as Wp,useState as nl}from"react";import il,{ThemeProvider as Op}from"styled-components";import kp from"styled-components";import{useContext as pp,useMemo as up,useState as hp,memo as fp,useId as bp}from"react";import{cloneElement as ap,useState as cp}from"react";import fr from"styled-components";import{jsx as Ft,jsxs as Qi}from"react/jsx-runtime";var dp=({badge:e,collapseIcon:t,icon:r,label:n,depthLevel:i,...l})=>{let[a,c]=cp(!1),d=e&&ap(e,{size:"small"});return Ft(Go,{condition:a,label:n,children:Qi(sp,{depthLevel:i,...l,children:[Qi(mp,{children:[t&&Ft(qi,{children:t}),r&&i===0&&Ft(qi,{children:typeof r=="string"?Ft($,{icon:r}):r}),Ft(gp,{selected:l.selected,onMouseEnter:s=>{let m=s.currentTarget;c(m.scrollWidth>m.clientWidth)},children:n})]}),d]})})},sp=fr.button`
1542
+ border: none;
1543
+ border-radius: 4px;
1544
+ padding: ${e=>`${o.spacing_4} ${o.spacing_8} ${o.spacing_4} ${`
1545
+ calc(${o.spacing_8} + (${o.spacing_24} * ${e.depthLevel}))
1546
+ `};`};
1547
+ box-shadow: inset 0 0 0 2px transparent;
1548
+ display: flex;
1549
+ align-items: center;
1550
+ justify-content: space-between;
1551
+ gap: ${o.spacing_16};
1552
+ ${({selected:e,theme:t})=>e?`background-color: ${t.selectedMenuItemBackgroundColor};`:`background-color: ${o.color_transparent}`};
1553
+ cursor: pointer;
1554
+ overflow: hidden;
1555
+
1556
+ &:hover {
1557
+ ${({selected:e,theme:t})=>e?`background-color: ${t.hoverSelectedMenuItemBackgroundColor};`:`background-color: ${t.hoverMenuItemBackgroundColor};`};
1558
+ }
1559
+ &:active {
1560
+ ${({selected:e,theme:t})=>e?`background-color: ${t.activeSelectedMenuItemBackgroundColor};`:`background-color: ${t.activeMenuItemBackgroundColor};`};
1561
+ }
1562
+ &:focus {
1563
+ outline: 2px solid ${o.color_blue_600};
1564
+ outline-offset: -1px;
1565
+ }
1566
+ `,qi=fr.span`
1567
+ display: flex;
1568
+ font-size: ${({theme:e})=>e.iconSize};
1569
+ color: ${({theme:e})=>e.iconColor};
1570
+
1571
+ svg {
1572
+ height: ${({theme:e})=>e.iconSize};
1573
+ width: ${({theme:e})=>e.iconSize};
1574
+ }
1575
+ `,mp=fr.span`
1576
+ display: flex;
1577
+ align-items: center;
1578
+ gap: ${o.spacing_8};
1579
+ overflow: hidden;
1580
+ `,gp=fr.span`
1581
+ color: ${({theme:e})=>e.menuItemFontColor};
1582
+ font-family: ${({theme:e})=>e.fontFamily};
1583
+ font-size: ${({theme:e})=>e.menuItemFontSize};
1584
+ font-style: ${({theme:e})=>e.menuItemFontStyle};
1585
+ font-weight: ${({selected:e,theme:t})=>e?t.selectedMenuItemFontWeight:t.menuItemFontWeight};
1586
+ line-height: ${({theme:e})=>e.menuItemLineHeight};
1587
+ text-overflow: ellipsis;
1588
+ white-space: nowrap;
1589
+ overflow: hidden;
1590
+ `,br=dp;import{Fragment as Cp,jsx as wt,jsxs as xp}from"react/jsx-runtime";var el=(e,t)=>e.some(r=>"items"in r?el(r.items,t):t!==-1?r.id===t:r.selectedByDefault),yp=({items:e,...t})=>{let r=`group-menu-${bp()}`,{selectedItemId:n}=pp(It),i=up(()=>el(e,n),[e,n]),[l,a]=hp(!!(i&&n===-1));return xp(Cp,{children:[wt(br,{"aria-controls":l?r:void 0,"aria-expanded":l?!0:void 0,"aria-pressed":i&&!l,collapseIcon:l?wt($,{icon:"filled_expand_less"}):wt($,{icon:"filled_expand_more"}),onClick:()=>{a(c=>!c)},selected:i&&!l,...t}),l&&wt(St,{id:r,children:e.map((c,d)=>wt(Yo,{item:c,depthLevel:t.depthLevel+1},`${c.label}-${d}`))})]})},ol=fp(yp);import{useContext as _p,useEffect as $p}from"react";import{jsx as Tp}from"react/jsx-runtime";var vp=({id:e,onSelect:t,selectedByDefault:r,...n})=>{let{selectedItemId:i,setSelectedItemId:l}=_p(It),a=()=>{l(e),t?.()};return $p(()=>{i===-1&&r&&l(e)},[i,r,e]),Tp(br,{"aria-pressed":i===-1?r:i===e,onClick:a,selected:i===-1?r:i===e,...n})},tl=vp;import{jsx as tn}from"react/jsx-runtime";var Fp=({item:e,depthLevel:t=0})=>tn(wp,{role:"menuitem",children:"items"in e?tn(ol,{...e,depthLevel:t}):tn(tl,{...e,depthLevel:t})}),wp=kp.li`
1591
+ display: grid;
1592
+ gap: ${o.spacing_4};
1593
+ `,Yo=Fp;import Lp from"styled-components";import Sp from"styled-components";import{jsx as Pp}from"react/jsx-runtime";var Ip=({orientation:e="horizontal",weight:t="regular",color:r="mediumGrey",decorative:n=!0})=>Pp(Bp,{orientation:e,weight:t,color:r,"aria-orientation":e,"aria-hidden":n}),Bp=Sp.hr`
1594
+ ${({orientation:e,weight:t,color:r})=>`
1595
+ border-color: ${r==="lightGrey"?o.color_grey_200:r==="mediumGrey"?o.color_grey_400:o.color_grey_700};
1596
+ ${e==="horizontal"?"width":"min-height"}: 100%;
1597
+ ${e==="horizontal"?"height":"width"}: 0px;
1598
+ ${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")};
1599
+ margin: 0px;
1600
+ `}
1601
+ `,rn=Ip;import{useId as Dp}from"react";import{jsx as Bt,jsxs as Rp}from"react/jsx-runtime";var zp=({section:e,index:t,length:r})=>{let n=`section-${Dp()}`;return Rp("section",{"aria-label":e?.title??n,"aria-labelledby":n,children:[e.title&&Bt(Ap,{id:n,children:e.title}),Bt(St,{children:e.items.map((i,l)=>Bt(Yo,{item:i},`${i.label}-${l}`))}),t!==r-1&&Bt(Zo,{top:"0.25rem",bottom:"0.25rem",children:Bt(rn,{color:"lightGrey"})})]})},Ap=Lp.h2`
1602
+ margin: 0 0 ${o.spacing_4} 0;
1603
+ padding: ${o.spacing_4};
1604
+ color: ${({theme:e})=>e.sectionTitleFontColor};
1605
+ font-family: ${({theme:e})=>e.fontFamily};
1606
+ font-size: ${({theme:e})=>e.sectionTitleFontSize};
1607
+ font-style: ${({theme:e})=>e.sectionTitleFontStyle};
1608
+ font-weight: ${({theme:e})=>e.sectionTitleFontWeight};
1609
+ line-height: ${({theme:e})=>e.sectionTitleLineHeight};
1610
+ `,rl=zp;import{jsx as Ao}from"react/jsx-runtime";var Gp=e=>"items"in e,ll=e=>e&&"items"in e&&!("label"in e),Np=e=>{let t=0,r=n=>n.map(i=>ll(i)?{...i,items:r(i.items)}:Gp(i)?{...i,items:r(i.items)}:{...i,id:t++});return r(e)},St=({children:e,id:t})=>Ao(Xp,{id:t,role:"menu",children:e}),It=Hp(null),Vp=({items:e})=>{let[t,r]=nl(-1),n=Wp(null),i=Ep(()=>Np(e),[e]),l=k(),[a,c]=nl(!0);return Mp(()=>{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]),Ao(Op,{theme:l.contextualMenu,children:Ao(jp,{ref:n,children:Ao(It.Provider,{value:{selectedItemId:t,setSelectedItemId:r},children:ll(i[0])?i.map((d,s)=>Ao(rl,{section:d,index:s,length:i.length},`section-${s}`)):Ao(St,{children:i.map((d,s)=>Ao(Yo,{item:d},`${d.label}-${s}`))})})})})},jp=il.div`
1611
+ box-sizing: border-box;
1612
+ margin: 0;
1613
+ border: 1px solid ${({theme:e})=>e.borderColor};
1614
+ border-radius: 0.25rem;
1615
+ padding: ${o.spacing_16} ${o.spacing_8};
1616
+ display: grid;
1617
+ gap: ${o.spacing_4};
1618
+ min-width: 248px;
1619
+ max-height: 100%;
1620
+ background-color: ${({theme:e})=>e.backgroundColor};
1621
+ overflow-y: auto;
1622
+ overflow-x: hidden;
1623
+ &::-webkit-scrollbar {
1624
+ width: 8px;
1625
+ height: 8px;
1626
+ }
1627
+ &::-webkit-scrollbar-thumb {
1628
+ background-color: ${o.color_grey_700};
1629
+ border-radius: 0.25rem;
1630
+ }
1631
+ &::-webkit-scrollbar-track {
1632
+ background-color: ${o.color_grey_300};
1633
+ border-radius: 0.25rem;
1634
+ }
1635
+ `,Xp=il.ul`
1636
+ margin: 0;
1637
+ padding: 0;
1638
+ display: grid;
1639
+ gap: ${o.spacing_4};
1640
+ list-style: none;
1641
+ `,Jp=Vp;import{useEffect as zl,useMemo as tt,useState as kr}from"react";import Qu from"react-data-grid";import"react-data-grid/lib/styles.css";import{forwardRef as Kp}from"react";import Up from"styled-components";import{jsx as nn}from"react/jsx-runtime";var Yp=Kp(({disabled:e=!1,title:t,icon:r,onClick:n,tabIndex:i},l)=>nn(le,{label:t,children:nn(Zp,{"aria-label":t,disabled:e,onClick:n,onMouseDown:a=>{a.stopPropagation()},tabIndex:i,type:"button",ref:l,children:typeof r=="string"?nn($,{icon:r}):r})})),Zp=Up.button`
1642
+ display: flex;
1643
+ align-items: center;
1644
+ justify-content: center;
1645
+ flex-shrink: 0;
1646
+ border: none;
1647
+ border-radius: 2px;
1648
+ width: 24px;
1649
+ height: 24px;
1650
+ font-size: 16px;
1651
+ padding: 0px;
1652
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: pointer;"}
1653
+
1654
+ box-shadow: 0 0 0 2px transparent;
1655
+ background-color: ${e=>e.disabled?e.theme.disabledActionBackgroundColor??o.color_transparent:e.theme.actionBackgroundColor??o.color_transparent};
1656
+ color: ${e=>e.disabled?e.theme.disabledActionIconColor??o.color_grey_500:e.theme.actionIconColor??o.color_black};
1657
+
1658
+ ${e=>!e.disabled&&`
1659
+ &:focus,
1660
+ &:focus-visible {
1661
+ outline: none;
1662
+ box-shadow: 0 0 0 2px ${e.theme.focusActionBorderColor??o.color_blue_600};
1663
+ color: ${e.theme.focusActionIconColor??o.color_black};
1664
+ }
1665
+ &:hover {
1666
+ background-color: ${e.theme.hoverActionBackgroundColor??o.color_grey_100};
1667
+ color: ${e.theme.hoverActionIconColor??o.color_black};
1668
+ }
1669
+ &:active {
1670
+ background-color: ${e.theme.activeActionBackgroundColor??o.color_grey_300};
1671
+ color: ${e.theme.activeActionIconColor??o.color_black};
1672
+ }
1673
+ `}
1674
+
1675
+ svg {
1676
+ width: 16px;
1677
+ height: 16px;
1678
+ }
1679
+ `,Se=Yp;import{textEditor as qp}from"react-data-grid";import{jsx as De,jsxs as tu}from"react/jsx-runtime";var Qp=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}}),al=(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?qp:void 0,renderCell:({row:r})=>De("div",{className:`ellipsis-cell ${e.alignment?"align-"+e.alignment:"align-left"}`,children:r[e.key]}),renderSummaryCell:()=>e.summaryKey?De("div",{className:`ellipsis-cell ${e.alignment?"align-"+e.alignment:"align-left"}`,children:t?.[e.summaryKey]}):void 0}),cl=({sortDirection:e})=>De("div",{className:"sortIconContainer",children:e!==void 0?e==="ASC"?De($,{icon:"Keyboard_Arrow_Up"}):De($,{icon:"Keyboard_Arrow_Down"}):De($,{icon:"Expand_All"})}),dl=(e,t,r,n)=>De(Se,{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 xr(a,i+1,{isExpandedChildContent:e.contentIsExpanded,[r]:ue(e,r)+"_expanded",expandedChildContent:e.expandedContent,triggerRowKey:ue(e,r),expandedContentHeight:e.expandedContentHeight}),a})}else{let i=t.findIndex(l=>e===l);n(l=>{let a=[...l];return ou(a,i+1),a})}}}),sl=(e,t,r,n,i)=>tu("button",{onClick:()=>{let l=[...e];if(t.visibleChildren){let a=[...e.filter(d=>d.parentKey&&d.parentKey===ue(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),ue(s,r))).includes(ue(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=ue(t,r),xr(l,a+1+d,c)})}t.visibleChildren=!t.visibleChildren,i(l)},children:[De($,{icon:t.visibleChildren?"Keyboard_Arrow_Down":"Chevron_Right"}),De("span",{className:"ellipsis-cell",children:t[n]})]}),ml=(e,t,r,n,i)=>De(Ko,{checked:n.has(ue(t,r)),onChange:l=>{let a=new Set(n);l?a.add(ue(t,r)):a.delete(ue(t,r)),t.childRows&&Array.isArray(t.childRows)&&Cr(t.childRows,r,a,l),t.parentKey&&fl(e,t.parentKey,r,a,l),i(a)}}),gl=(e,t,r,n,i)=>De(ro,{advancedTheme:Qp(n),children:De(Ko,{checked:!e.some(l=>!r.has(ue(l,t))),onChange:l=>{let a=new Set(r);l?e.forEach(c=>{a.add(ue(c,t)),c.childRows&&Array.isArray(c.childRows)&&Cr(c.childRows,t,a,l)}):e.forEach(c=>{a.delete(ue(c,t)),c.childRows&&Array.isArray(c.childRows)&&Cr(c.childRows,t,a,l)}),i(a)}})}),ue=(e,t)=>{let r=e[t];return typeof r=="string"||typeof r=="number"?r:null},pl=e=>[...e].filter(r=>r.sortFn).map(r=>({column:r.key,sortFn:r.sortFn})),eu=(e,t,r)=>r?r(e,t):e>t?1:e<t?-1:0,yr=(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=eu(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}),ul=(e,t,r,n)=>{let i=yr(e.filter(l=>!l.parentKey),t,r);if(e.length===i.length)return i;{let l=yr(e.filter(a=>a.parentKey),t,r,!0);for(;l.length;)n&&(l=l.reduce((a,c)=>{let d=i.findIndex(s=>ue(s,n)===c.parentKey);return d>=0?i.splice(d+1,0,c):a.push(c),a},[]));return i}},xr=(e,t,r)=>{e.splice(t,0,r)},ou=(e,t)=>{e.splice(t,1)},hl=(e,t,r)=>{let n;if(e.forEach(i=>{ue(i,t)===r&&(n={...i}),i.childRows&&Array.isArray(i.childRows)&&!n&&(n=hl(i.childRows,t,r))}),n)return n},Cr=(e,t,r,n)=>{e.forEach(i=>{i.childRows&&Cr(i.childRows,t,r,n),n?r.add(ue(i,t)):r.delete(ue(i,t))})},fl=(e,t,r,n,i)=>{let l=hl(e,r,t);if(!l)return;let a=l.childRows?.some(c=>!n.has(ue(c,r)));!i||a?n.has(ue(l,r))&&n.delete(ue(l,r)):l.childRows&&!a&&n.add(ue(l,r)),l.parentKey&&fl(e,l.parentKey,r,n,i)},bl=(e,t,r)=>e===1?0:t*(r-1),yl=(e,t,r,n)=>e+t>r.length?r.length:t*n-1,Cl=(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]))))};import pn,{ThemeProvider as eh}from"styled-components";import _o,{ThemeProvider as Mu}from"styled-components";import*as xo from"@radix-ui/react-popover";import{forwardRef as bu,useCallback as yu,useId as Cu,useMemo as sn,useRef as wl,useState as Pt}from"react";import xe,{ThemeProvider as xu}from"styled-components";import{useLayoutEffect as kl,useRef as mu}from"react";import $r from"styled-components";import qo from"styled-components";import{useState as ru}from"react";import{jsx as ao,jsxs as xl}from"react/jsx-runtime";var nu=({id:e,option:t,onClick:r,multiple:n,visualFocused:i,isGroupedOption:l=!1,isLastOption:a,isSelected:c})=>{let[d,s]=ru(!1),m=g=>{let u=g.currentTarget;s(u.scrollWidth>u.clientWidth)};return ao(Go,{condition:d,label:t.label,children:ao(iu,{id:e,onClick:()=>{r(t)},visualFocused:i,selected:c,role:"option","aria-selected":n?void 0:c,children:xl(lu,{visualFocused:i,selected:c,last:a,grouped:l,multiple:n,children:[n&&ao("div",{style:{display:"flex",pointerEvents:"none"},children:ao(Ko,{checked:c,tabIndex:-1})}),t.icon&&ao(au,{grouped:l,multiple:n,children:typeof t.icon=="string"?ao($,{icon:t.icon}):t.icon}),xl(cu,{grouped:l,hasIcon:!!t.icon,multiple:n,children:[ao(du,{onMouseEnter:m,children:t.label}),!n&&c&&ao(su,{children:ao($,{icon:"done"})})]})]})})})},iu=qo.li`
1680
+ padding: 0 0.5rem;
1681
+ box-shadow: inset 0 0 0 2px transparent;
1682
+ ${e=>e.visualFocused&&`box-shadow: inset 0 0 0 2px ${e.theme.focusListOptionBorderColor};`}
1683
+ ${e=>e.selected&&`background-color: ${e.theme.selectedListOptionBackgroundColor}`};
1684
+ cursor: pointer;
1685
+
1686
+ &:hover {
1687
+ ${e=>e.selected?`background-color: ${e.theme.selectedHoverListOptionBackgroundColor};`:`background-color: ${e.theme.unselectedHoverListOptionBackgroundColor};`};
1688
+ }
1689
+ &:active {
1690
+ ${e=>e.selected?`background-color: ${e.theme.selectedActiveListOptionBackgroundColor};`:`background-color: ${e.theme.unselectedActiveListOptionBackgroundColor};`};
1691
+ }
1692
+ `,lu=qo.span`
1693
+ box-sizing: border-box;
1694
+ display: flex;
1695
+ align-items: center;
1696
+ height: 32px;
1697
+ padding: 4px 8px 4px 0;
1698
+ ${e=>e.grouped&&e.multiple&&"padding-left: 16px;"}
1699
+ ${e=>e.last||e.visualFocused||e.selected?"border-bottom: 1px solid transparent":`border-bottom: 1px solid ${e.theme.listOptionDividerColor}`};
1700
+ `,au=qo.span`
1701
+ margin-left: ${e=>e.grouped&&!e.multiple?"16px":"8px"};
1702
+ display: grid;
1703
+ place-items: center;
1704
+ color: ${e=>e.theme.listOptionIconColor};
1705
+ font-size: 24px;
1706
+ svg {
1707
+ height: 24px;
1708
+ width: 24px;
1709
+ }
1710
+ `,cu=qo.span`
1711
+ margin-left: ${e=>e.grouped&&!e.multiple&&!e.hasIcon?"16px":"8px"};
1712
+ display: flex;
1713
+ justify-content: space-between;
1714
+ gap: 0.25rem;
1715
+ width: 100%;
1716
+ overflow: hidden;
1717
+ `,du=qo.span`
1718
+ overflow: hidden;
1719
+ text-overflow: ellipsis;
1720
+ white-space: nowrap;
1721
+ `,su=qo.span`
1722
+ display: flex;
1723
+ align-items: center;
1724
+ color: ${e=>e.theme.selectedListOptionIconColor};
1725
+ font-size: 16px;
1726
+ `,_r=nu;var an=(e,t,r)=>!r&&(t?e.length===0:e===""),ln=e=>"options"in e&&e.options!=null,Ro=e=>ln(e[0]),Qo=e=>Ro(e)?e.some(t=>t.options?.length>0):!0,_l=(e,t)=>!t&&e?.length>0&&Qo(e),$l=(e,t)=>{if(e?.length>0)return Ro(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()))},vl=(e,t,r,n,i)=>{let l=0,a=(c,d)=>c+d.options?.length;return r&&t?.length>0?Ro(t)?l=t.reduce(a,0)-1:l=t.length-1:e?.length>0&&(Ro(e)?l=e.reduce(a,0)-1:l=e.length-1),n&&!i?l+1:l},Tl=(e,t,r,n,i)=>{let l=r?[]:{},a;if(r)t?.length>0&&t.forEach(c=>{ln(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(ln(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}},cn=(e,t)=>Array.isArray(t)?t.length===0?e:t.map(r=>r.label).join(", "):t?.label??e;import{jsx as Ho,jsxs as dn}from"react/jsx-runtime";var gu=({id:e,currentValue:t,options:r,visualFocusIndex:n,lastOptionIndex:i,multiple:l,optional:a,optionalItem:c,searchable:d,handleOptionOnClick:s,styles:m})=>{let g=X(),u=mu(null),h=a&&!l?0:-1,y=(f,_)=>{let x=`${e}-group-${_}`;return f.options?f.options.length>0&&Ho("li",{children:dn("ul",{role:"listbox","aria-labelledby":x,style:{padding:0},children:[Ho(fu,{role:"presentation",id:x,children:f.label}),f.options.map(b=>(h++,Ho(_r,{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++,Ho(_r,{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}`))};kl(()=>{if(t&&!l){let f=u?.current,_=f?.querySelector("[aria-selected='true']");f?.scrollTo?.({top:_?.offsetTop-f?.clientHeight/2})}},[t,l]),kl(()=>{u?.current?.querySelectorAll("[role='option']")[n]?.scrollIntoView?.({block:"nearest",inline:"start"})},[n]);let v=r.some(f=>f.options?.length>0);return dn(pu,{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||!Qo(r))?dn(uu,{children:[Ho(hu,{children:Ho($,{icon:"search_off"})}),g.select.noMatchesErrorMessage]}):a&&!l&&Ho(_r,{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)]})},pu=$r.ul`
1727
+ box-sizing: border-box;
1728
+ max-height: 304px;
1729
+ overflow-y: auto;
1730
+ margin: 0;
1731
+ padding: 0.25rem 0;
1732
+ background-color: ${e=>e.theme.listDialogBackgroundColor};
1733
+ border: 1px solid ${e=>e.theme.listDialogBorderColor};
1734
+ border-radius: 0.25rem;
1735
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
1736
+ color: ${e=>e.theme.listOptionFontColor};
1737
+ font-family: ${e=>e.theme.fontFamily};
1738
+ font-size: ${e=>e.theme.listOptionFontSize};
1739
+ font-style: ${e=>e.theme.listOptionFontStyle};
1740
+ font-weight: ${e=>e.theme.listOptionFontWeight};
1741
+ line-height: 24px;
1742
+ cursor: default;
1743
+ `,uu=$r.span`
1744
+ display: flex;
1745
+ padding: 4px 16px;
1746
+ color: ${e=>e.theme.systemMessageFontColor};
1747
+ font-size: 0.875rem;
1748
+ line-height: 1.715em;
1749
+ `,hu=$r.span`
1750
+ display: flex;
1751
+ flex-wrap: wrap;
1752
+ align-content: center;
1753
+ height: 16px;
1754
+ width: 16px;
1755
+ padding: 4px;
1756
+ margin-right: 0.25rem;
1757
+ font-size: 16px;
1758
+ `,fu=$r.li`
1759
+ padding: 4px 16px;
1760
+ font-weight: ${e=>e.theme.listGroupLabelFontWeight};
1761
+ line-height: 1.715em;
1762
+ `,Fl=gu;import{jsx as ce,jsxs as et}from"react/jsx-runtime";var _u=bu(({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-${Cu()}`,b=`label-${x}`,L=`error-${x}`,B=`${x}-listbox`,[I,H]=Pt(r??(d?[]:"")),[R,F]=Pt(""),[w,D]=Pt(-1),[O,N]=Pt(!1),[Z,E]=Pt(!1),z=wl(null),C=wl(null),S=No(z.current),T=k(),P=X(),M={label:a,value:""},J=sn(()=>$l(i,R),[i,R]),de=sn(()=>vl(i,J,m,s,d),[i,J,m,s,d]),{selectedOption:G,singleSelectionIndex:q}=sn(()=>Tl(n??I,i,d,s,M),[n,I,i,d,s,M]),A=()=>{!O&&_l(i,c)&&N(!0)},se=()=>{O&&(N(!1),D(-1))},me=ee=>{let oe;d?(n??I).includes(ee.value)?oe=((n&&Array.isArray(n)&&n)??(I&&Array.isArray(I)&&I)).filter(oo=>oo!==ee.value):oe=[...(n&&Array.isArray(n)&&n)??(I&&Array.isArray(I)&&I),ee.value]:oe=ee.value,n??H(oe),an(oe,d,s)?g?.({value:oe,error:P.formFields.requiredValueErrorMessage}):g?.({value:oe})},ge=()=>{m&&C.current.focus(),O?(se(),F("")):A()},W=ee=>{ee.currentTarget.contains(ee.relatedTarget)||m&&C.current.focus()},U=ee=>{if(!ee.currentTarget.contains(ee.relatedTarget)){se(),F("");let oe=n??I;an(oe,d,s)?u?.({value:oe,error:P.formFields.requiredValueErrorMessage}):u?.({value:oe})}},K=ee=>{switch(ee.key){case"Down":case"ArrowDown":ee.preventDefault(),q!==void 0&&(!O||w===-1&&q>-1&&q<=de)?D(q):D(oe=>{if(oe<de)return oe+1;if(oe===de)return 0}),A();break;case"Up":case"ArrowUp":ee.preventDefault(),q!==void 0&&(!O||w===-1&&q>-1&&q<=de)?D(q):D(oe=>oe===0||oe===-1?de:oe-1),A();break;case"Esc":case"Escape":ee.preventDefault(),O&&ee.stopPropagation(),se(),F("");break;case"Enter":if(O&&w>=0){let oe=s&&!d?1:0;m?J.length>0&&(s&&!d&&w===0&&Qo(J)?me(M):Ro(J)?Qo(J)&&J.some(oo=>{let to=oe+oo.options.length;return to>w&&me(oo.options[w-oe]),oe=to,to>w}):me(J[w-oe])):s&&!d&&w===0?me(M):Ro(i)?i.some(oo=>{let to=oe+oo.options.length;return to>w&&me(oo.options[w-oe]),oe=to,to>w}):me(i[w-oe]),!d&&se(),F("")}break}},ye=ee=>{F(ee.target.value),D(-1),A()},pe=ee=>{ee.stopPropagation(),n??H([]),g?.(s?{value:[]}:{value:[],error:P.formFields.requiredValueErrorMessage})},Io=ee=>{ee.stopPropagation(),F("")},bt=yu(ee=>{me(ee),!d&&se(),F("")},[me,se,d]),Vr=ee=>{let oe=ee.currentTarget;E(oe.scrollWidth>oe.clientWidth)};return ce(xu,{theme:T.select,children:et($u,{margin:y,size:v,ref:_,children:[e&&et(vu,{id:b,disabled:c,onClick:()=>{z.current.focus()},helperText:l,children:[e," ",s&&ce(Tu,{children:P.formFields.optionalLabel})]}),l&&ce(ku,{disabled:c,children:l}),et(xo.Root,{open:O,children:[ce(xo.Trigger,{asChild:!0,type:void 0,children:et(Fu,{id:x,disabled:c,error:h,onBlur:U,onClick:ge,onFocus:W,onKeyDown:K,ref:z,tabIndex:c?-1:f,role:"combobox","aria-controls":O?B:void 0,"aria-disabled":c,"aria-expanded":O,"aria-haspopup":"listbox","aria-labelledby":e?b:void 0,"aria-activedescendant":w>=0?`option-${w}`:void 0,"aria-invalid":!!h,"aria-errormessage":h?L:void 0,"aria-required":!c&&!s,children:[d&&Array.isArray(G)&&G.length>0&&et(wu,{children:[ce(Su,{disabled:c,children:G.length}),ce(le,{label:P.select.actionClearSelectionTitle,children:ce(Iu,{disabled:c,onMouseDown:ee=>{ee.preventDefault()},onClick:pe,tabIndex:-1,"aria-label":P.select.actionClearSelectionTitle,children:ce($,{icon:"clear"})})})]}),ce(Go,{condition:Z,label:cn(a,G),children:et(Bu,{children:[ce("input",{style:{display:"none"},name:t,disabled:c,value:d?((n&&Array.isArray(n)&&n)??(I&&Array.isArray(I)&&I)).join(","):n??I,readOnly:!0,"aria-hidden":"true"}),m&&ce(Du,{value:R,disabled:c,onChange:ye,ref:C,autoComplete:"nope",autoCorrect:"nope",size:1,"aria-labelledby":e?b:void 0}),(!m||R==="")&&ce(Pu,{disabled:c,atBackground:(d?(n??I).length===0:!(n??I))||m&&O,children:ce(Lu,{onMouseEnter:Vr,children:cn(a,G)})})]})}),!c&&h&&ce(zu,{children:ce($,{icon:"filled_error"})}),m&&R.length>0&&ce(le,{label:P.select.actionClearSelectionTitle,children:ce(Hu,{onMouseDown:ee=>{ee.preventDefault()},onClick:Io,tabIndex:-1,"aria-label":P.select.actionClearSearchTitle,children:ce($,{icon:"clear"})})}),ce(Ru,{disabled:c,children:ce($,{icon:O?"keyboard_arrow_up":"keyboard_arrow_down"})})]})}),ce(xo.Portal,{children:ce(xo.Content,{sideOffset:4,style:{zIndex:"2147483647"},onOpenAutoFocus:ee=>{ee.preventDefault()},onCloseAutoFocus:ee=>{ee.preventDefault()},children:ce(Fl,{id:B,currentValue:n??I,options:m?J:i,visualFocusIndex:w,lastOptionIndex:de,multiple:d,optional:s,optionalItem:M,searchable:m,handleOptionOnClick:bt,styles:{width:S}})})})]}),!c&&typeof h=="string"&&ce(Au,{id:L,role:"alert","aria-live":h?"assertive":"off",children:h})]})})}),Sl={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},Il=(e,t)=>t==="fillParent"?`calc(${Sl[t]} - ${j(e,"left")} - ${j(e,"right")})`:Sl[t],$u=xe.div`
1763
+ box-sizing: border-box;
1764
+ display: flex;
1765
+ flex-direction: column;
1766
+ width: ${e=>Il(e.margin,e.size)};
1767
+ ${e=>e.size!=="fillParent"&&"min-width:"+Il(e.margin,e.size)};
1768
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1769
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1770
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1771
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1772
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1773
+ font-family: ${e=>e.theme.fontFamily};
1774
+ `,vu=xe.label`
1775
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.labelFontColor};
1776
+ font-size: ${e=>e.theme.labelFontSize};
1777
+ font-style: ${e=>e.theme.labelFontStyle};
1778
+ font-weight: ${e=>e.theme.labelFontWeight};
1779
+ line-height: ${e=>e.theme.labelLineHeight};
1780
+ cursor: default;
1781
+ ${e=>!e.helperText&&"margin-bottom: 0.25rem"}
1782
+ `,Tu=xe.span`
1783
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
1784
+ `,ku=xe.span`
1785
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.helperTextFontColor};
1786
+ font-size: ${e=>e.theme.helperTextFontSize};
1787
+ font-style: ${e=>e.theme.helperTextFontStyle};
1788
+ font-weight: ${e=>e.theme.helperTextFontWeight};
1789
+ line-height: ${e=>e.theme.helperTextLineHeight};
1790
+ margin-bottom: 0.25rem;
1791
+ `,Fu=xe.div`
1792
+ display: flex;
1793
+ position: relative;
1794
+ align-items: center;
1795
+ height: calc(2.5rem - 2px);
1796
+ padding: 0 0.5rem;
1797
+ outline: none;
1798
+ ${e=>e.disabled&&`background-color: ${e.theme.disabledInputBackgroundColor}`};
1799
+ box-shadow: 0 0 0 2px transparent;
1800
+ border-radius: 4px;
1801
+ border: 1px solid
1802
+ ${e=>e.disabled?e.theme.disabledInputBorderColor:e.theme.enabledInputBorderColor};
1803
+ ${e=>e.error&&!e.disabled&&`border-color: transparent;
1804
+ box-shadow: 0 0 0 2px ${e.theme.errorInputBorderColor};
1805
+ `}
1806
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: pointer;"};
1807
+
1808
+ ${e=>!e.disabled&&`
1809
+ &:hover {
1810
+ border-color: ${e.error?"transparent":e.theme.hoverInputBorderColor};
1811
+ ${e.error&&`box-shadow: 0 0 0 2px ${e.theme.hoverInputErrorBorderColor};`}
1812
+ }
1813
+ &:focus-within {
1814
+ border-color: transparent;
1815
+ box-shadow: 0 0 0 2px ${e.theme.focusInputBorderColor};
1816
+ }
1817
+ `};
1818
+ `,wu=xe.div`
1819
+ box-sizing: border-box;
1820
+ display: grid;
1821
+ grid-template-columns: 1fr 1fr;
1822
+ min-width: 48px;
1823
+ min-height: 24px;
1824
+ border-radius: 2px;
1825
+ border: 1px solid ${e=>e.theme.selectionIndicatorBorderColor};
1826
+ `,Su=xe.span`
1827
+ display: grid;
1828
+ place-items: center;
1829
+ border-right: 1px solid ${e=>e.theme.selectionIndicatorBorderColor};
1830
+ user-select: none;
1831
+ ${e=>!e.disabled&&`background-color: ${e.theme.selectionIndicatorBackgroundColor}`};
1832
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.selectionIndicatorFontColor};
1833
+ font-size: ${e=>e.theme.selectionIndicatorFontSize};
1834
+ font-style: ${e=>e.theme.selectionIndicatorFontStyle};
1835
+ font-weight: ${e=>e.theme.selectionIndicatorFontWeight};
1836
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: default;"}
1837
+ `,Iu=xe.button`
1838
+ display: grid;
1839
+ place-items: center;
1840
+ border: none;
1841
+ padding: 0;
1842
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: pointer;"}
1843
+ background-color: ${e=>e.disabled?"transparent":e.theme.enabledSelectionIndicatorActionBackgroundColor};
1844
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.enabledSelectionIndicatorActionIconColor};
1845
+ font-size: 16px;
1846
+ width: 100%;
1847
+
1848
+ :focus-visible {
1849
+ outline: none;
1850
+ }
1851
+ ${e=>!e.disabled&&`
1852
+ &:hover {
1853
+ background-color: ${e.theme.hoverSelectionIndicatorActionBackgroundColor};
1854
+ color: ${e.theme.hoverSelectionIndicatorActionIconColor};
1855
+ }
1856
+ &:active {
1857
+ background-color: ${e.theme.activeSelectionIndicatorActionBackgroundColor};
1858
+ color: ${e.theme.activeSelectionIndicatorActionIconColor};
1859
+ }
1860
+ `}
1861
+ `,Bu=xe.div`
1862
+ display: grid;
1863
+ width: 100%;
1864
+ `,Pu=xe.span`
1865
+ grid-area: 1 / 1 / 1 / 1;
1866
+ display: inline-flex;
1867
+ align-items: center;
1868
+ height: calc(2.5rem - 2px);
1869
+ padding: 0 0.5rem;
1870
+ user-select: none;
1871
+ overflow: hidden;
1872
+
1873
+ color: ${e=>e.disabled?e.theme.disabledColor:e.atBackground?e.theme.placeholderFontColor:e.theme.valueFontColor};
1874
+ font-size: ${e=>e.theme.valueFontSize};
1875
+ font-style: ${e=>e.theme.valueFontStyle};
1876
+ font-weight: ${e=>e.theme.valueFontWeight};
1877
+ `,Lu=xe.span`
1878
+ overflow: hidden;
1879
+ text-overflow: ellipsis;
1880
+ white-space: nowrap;
1881
+ `,Du=xe.input`
1882
+ grid-area: 1 / 1 / 1 / 1;
1883
+ height: calc(2.5rem - 2px);
1884
+ background: none;
1885
+ border: none;
1886
+ outline: none;
1887
+ padding: 0 0.5rem;
1888
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.valueFontColor};
1889
+ font-size: ${e=>e.theme.valueFontSize};
1890
+ font-style: ${e=>e.theme.valueFontStyle};
1891
+ font-weight: ${e=>e.theme.valueFontWeight};
1892
+ line-height: 1.5em;
1893
+ `,zu=xe.span`
1894
+ display: flex;
1895
+ flex-wrap: wrap;
1896
+ align-content: center;
1897
+ padding: 3px;
1898
+ height: 18px;
1899
+ width: 18px;
1900
+ margin-left: 0.25rem;
1901
+ color: ${e=>e.theme.errorIconColor};
1902
+ font-size: 1.25rem;
1903
+ `,Au=xe.span`
1904
+ min-height: 1.5em;
1905
+ color: ${e=>e.theme.errorMessageColor};
1906
+ font-size: 0.75rem;
1907
+ line-height: 1.5em;
1908
+ margin-top: 0.25rem;
1909
+ `,Ru=xe.span`
1910
+ display: grid;
1911
+ place-items: center;
1912
+ padding: 4px;
1913
+ font-size: 16px;
1914
+ margin-left: 0.25rem;
1915
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.collapseIndicatorColor};
1916
+ `,Hu=xe.button`
1917
+ display: grid;
1918
+ place-items: center;
1919
+ min-height: 24px;
1920
+ min-width: 24px;
1921
+ margin-left: 0.25rem;
1922
+ border: none;
1923
+ border-radius: 2px;
1924
+ padding: 0;
1925
+ background-color: ${e=>e.theme.actionBackgroundColor};
1926
+ color: ${e=>e.theme.actionIconColor};
1927
+ font-size: 1rem;
1928
+ cursor: pointer;
1929
+
1930
+ &:hover {
1931
+ background-color: ${e=>e.theme.hoverActionBackgroundColor};
1932
+ color: ${e=>e.theme.hoverActionIconColor};
1933
+ }
1934
+ &:active {
1935
+ background-color: ${e=>e.theme.activeActionBackgroundColor};
1936
+ color: ${e=>e.theme.activeActionIconColor};
1937
+ }
1938
+ `,vr=_u;import{jsx as Ie,jsxs as Tr}from"react/jsx-runtime";var Eu=({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=X();return Ie(Mu,{theme:u.paginator,children:Ie(Wu,{children:Tr(ju,{children:[r&&Tr(Ou,{children:[Ie(Gu,{children:h.paginator.itemsPerPageText}),Ie(Bl,{children:Ie(vr,{options:r.map(y=>({label:y.toString(),value:y.toString()})),onChange:y=>{a(Number(y.value))},value:t.toString(),size:"fillParent",tabIndex:c})})]}),Ie(Vu,{children:h.paginator.minToMaxOfText(m,g,n)}),l&&Ie(Me,{mode:"secondary",disabled:s===1||s===0,icon:"first_page",tabIndex:c,onClick:()=>{l(1)},title:"First results"}),l&&Ie(Me,{mode:"secondary",disabled:s===1||s===0,icon:"navigate_before",tabIndex:c,onClick:()=>{l(e-1)},title:"Previous results"}),i?Tr(Xu,{children:[Tr(Nu,{children:[h.paginator.goToPageText," "]}),Ie(Bl,{children:Ie(vr,{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})})]}):Ie("span",{children:h.paginator.pageOfText(s,d)}),l&&Ie(Me,{mode:"secondary",disabled:s===d,icon:"navigate_next",tabIndex:c,onClick:()=>{l(e+1)},title:"Next results"}),l&&Ie(Me,{mode:"secondary",disabled:s===d,icon:"last_page",tabIndex:c,onClick:()=>{l(d)},title:"Last results"})]})})})},Wu=_o.div`
1939
+ display: flex;
1940
+ font-family: ${e=>e.theme.fontFamily};
1941
+ font-size: ${e=>e.theme.fontSize};
1942
+ font-weight: ${e=>e.theme.fontWeight};
1943
+ font-style: ${e=>e.theme.fontStyle};
1944
+ text-transform: ${e=>e.theme.fontTextTransform};
1945
+ background-color: ${e=>e.theme.backgroundColor};
1946
+ color: ${e=>e.theme.fontColor};
1947
+ padding: ${e=>e.theme.verticalPadding} ${e=>e.theme.horizontalPadding};
1948
+
1949
+ button {
1950
+ &:disabled {
1951
+ background-color: transparent !important;
1952
+ opacity: 0.3 !important;
1953
+ }
1954
+ }
1955
+ `,Bl=_o.div`
1956
+ min-width: 5.25rem;
1957
+ `,Ou=_o.span`
1958
+ display: flex;
1959
+ align-items: center;
1960
+ margin-right: ${e=>e.theme.itemsPerPageSelectorMarginRight};
1961
+ margin-left: ${e=>e.theme.itemsPerPageSelectorMarginLeft};
1962
+ `,Gu=_o.span`
1963
+ margin-right: 0.5rem;
1964
+ `,Nu=_o.span`
1965
+ margin-right: 0.5rem;
1966
+ margin-left: 0.5rem;
1967
+ `,Vu=_o.span`
1968
+ margin-right: ${e=>e.theme.totalItemsContainerMarginRight};
1969
+ margin-left: ${e=>e.theme.totalItemsContainerMarginLeft};
1970
+ `,ju=_o.div`
1971
+ display: flex;
1972
+ gap: 0.5rem;
1973
+ width: 100%;
1974
+ justify-content: flex-end;
1975
+ align-items: center;
1976
+ `,Xu=_o.span`
1977
+ display: flex;
1978
+ align-items: center;
1979
+ margin-right: 0.5rem;
1980
+ `,Lt=Eu;import Ll,{ThemeProvider as Ju}from"styled-components";var Pl={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:Q.table.actionBackgroundColor,hoverButtonBackgroundColor:Q.table.hoverActionBackgroundColor,activeButtonBackgroundColor:Q.table.activeActionBackgroundColor,buttonIconColor:Q.table.actionIconColor,disabledColor:Q.table.disabledActionIconColor,disabledButtonBackgroundColor:Q.table.disabledActionBackgroundColor,focusColor:Q.table.focusActionBorderColor,buttonFontFamily:Q.dropdown.buttonFontFamily,buttonFontSize:Q.dropdown.buttonFontSize,buttonFontStyle:Q.dropdown.buttonFontStyle,buttonFontWeight:Q.dropdown.buttonFontWeight,buttonFontColor:Q.dropdown.buttonFontColor,buttonIconSpacing:Q.dropdown.buttonIconSpacing,disabledButtonBorderColor:Q.dropdown.disabledButtonBorderColor,optionBackgroundColor:Q.dropdown.optionBackgroundColor,hoverOptionBackgroundColor:Q.dropdown.hoverOptionBackgroundColor,activeOptionBackgroundColor:Q.dropdown.activeOptionBackgroundColor,optionFontFamily:Q.dropdown.optionFontFamily,optionFontStyle:Q.dropdown.optionFontStyle,optionFontWeight:Q.dropdown.optionFontWeight,optionFontColor:Q.dropdown.optionFontColor,optionIconSize:Q.dropdown.optionIconSize,optionIconSpacing:Q.dropdown.optionIconSpacing,optionIconColor:Q.dropdown.optionIconColor,caretIconSize:Q.dropdown.caretIconSize,caretIconColor:Q.dropdown.caretIconColor,caretIconSpacing:Q.dropdown.caretIconSpacing,borderRadius:Q.dropdown.borderRadius,borderStyle:Q.dropdown.borderStyle,borderThickness:Q.dropdown.borderThickness,borderColor:Q.dropdown.borderColor,scrollBarThumbColor:Q.dropdown.scrollBarThumbColor,scrollBarTrackColor:Q.dropdown.scrollBarTrackColor}};import{jsx as ot,jsxs as qu}from"react/jsx-runtime";var Ku=e=>{let t=Pl;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},Dt=({actions:e})=>{let t=e.filter(l=>!l.options),r=e.find(l=>l.options),n=r?2:3,i=k();return qu(te,{gap:"0.5rem",alignItems:"center",children:[t.map((l,a)=>a<n&&ot(Se,{icon:l.icon,title:l.title,onClick:l.onClick,disabled:l.disabled??!1,tabIndex:l.tabIndex??0},`action-${a}`)),r&&ot(ro,{advancedTheme:Ku(i),children:ot(Bo,{options:r.options,onSelectOption:r.onClick,disabled:r.disabled,icon:"more_vert",tabIndex:r.tabIndex,caretHidden:!0})},"provider-dropdown")]})},Dl=({children:e,margin:t,mode:r="default"})=>{let n=k();return ot(Ju,{theme:n.table,children:ot(Yu,{margin:t,children:ot(Zu,{mode:r,children:e})})})},Uu=e=>`calc(100% - ${j(e,"left")} - ${j(e,"right")})`,Yu=Ll.div`
1981
+ width: ${e=>Uu(e.margin)};
1982
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1983
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1984
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1985
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1986
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1987
+
1988
+ overflow: auto;
1989
+ &::-webkit-scrollbar {
1990
+ width: 8px;
1991
+ height: 8px;
1992
+ }
1993
+ &::-webkit-scrollbar-thumb {
1994
+ background-color: ${e=>e.theme.scrollBarThumbColor};
1995
+ border-radius: 6px;
1996
+ }
1997
+ &::-webkit-scrollbar-track {
1998
+ background-color: ${e=>e.theme.scrollBarTrackColor};
1999
+ border-radius: 6px;
2000
+ }
2001
+ `,Zu=Ll.table`
2002
+ border-collapse: collapse;
2003
+ width: 100%;
2004
+
2005
+ & tr {
2006
+ border-bottom: ${e=>`${e.theme.rowSeparatorThickness} ${e.theme.rowSeparatorStyle} ${e.theme.rowSeparatorColor}`};
2007
+ height: ${e=>e.mode==="default"?"60px":"36px"};
2008
+ }
2009
+ & td {
2010
+ background-color: ${e=>e.theme.dataBackgroundColor};
2011
+ font-family: ${e=>e.theme.dataFontFamily};
2012
+ font-size: ${e=>e.theme.dataFontSize};
2013
+ font-style: ${e=>e.theme.dataFontStyle};
2014
+ font-weight: ${e=>e.theme.dataFontWeight};
2015
+ color: ${e=>e.theme.dataFontColor};
2016
+ text-transform: ${e=>e.theme.dataFontTextTransform};
2017
+ text-align: ${e=>e.theme.dataTextAlign};
2018
+ line-height: ${e=>e.theme.dataTextLineHeight};
2019
+ 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}`};
2020
+ }
2021
+ & th {
2022
+ background-color: ${e=>e.theme.headerBackgroundColor};
2023
+ font-family: ${e=>e.theme.headerFontFamily};
2024
+ font-size: ${e=>e.theme.headerFontSize};
2025
+ font-style: ${e=>e.theme.headerFontStyle};
2026
+ font-weight: ${e=>e.theme.headerFontWeight};
2027
+ color: ${e=>e.theme.headerFontColor};
2028
+ text-transform: ${e=>e.theme.headerFontTextTransform};
2029
+ text-align: ${e=>e.theme.headerTextAlign};
2030
+ line-height: ${e=>e.theme.headerTextLineHeight};
2031
+ 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}`};
2032
+ }
2033
+ & th:first-child {
2034
+ border-top-left-radius: ${e=>e.theme.headerBorderRadius};
2035
+ padding-left: ${e=>e.mode==="default"?e.theme.firstChildPaddingLeft:e.theme.firstChildPaddingLeftReduced};
2036
+ }
2037
+ & th:last-child {
2038
+ border-top-right-radius: ${e=>e.theme.headerBorderRadius};
2039
+ padding-right: ${e=>e.mode==="default"?e.theme.lastChildPaddingRight:e.theme.lastChildPaddingRightReduced};
2040
+ }
2041
+ & td:first-child {
2042
+ padding-left: ${e=>e.mode==="default"?e.theme.firstChildPaddingLeft:e.theme.firstChildPaddingLeftReduced};
2043
+ }
2044
+ & td:last-child {
2045
+ padding-right: ${e=>e.mode==="default"?e.theme.lastChildPaddingRight:e.theme.lastChildPaddingRightReduced};
2046
+ }
2047
+ `;Dl.ActionsCell=Dt;var mn=Dl;import{Fragment as rh,jsx as co,jsxs as nh}from"react/jsx-runtime";var Rl=({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]=kr(t),b=k(),[L,B]=kr(1),I=P=>{v&&v(P),B(P)},H=P=>{if(y)if(P[0]){let{columnKey:M,direction:J}=P[0];y({columnKey:M,direction:J})}else y();O(P)},R=tt(()=>{let P=e.map(M=>al(M,c));if(n&&(P=[{key:"expanded",name:"",maxWidth:36,width:36,minWidth:36,colSpan(M){return M.type==="ROW"&&M.row.isExpandedChildContent?e.length+1:void 0},renderCell({row:M}){return M.isExpandedChildContent?M.expandedChildContent||co(rh,{}):co(gn,{id:"action",children:M.expandedContent&&dl(M,_,a,x)})}},...P]),!n&&t.some(M=>Array.isArray(M.childRows)&&M.childRows.length>0)&&a){let M=P[0].key;P[0]={...P[0],renderCell({row:J}){return J.childRows?.length?co(Al,{level:typeof J.rowLevel=="number"?J.rowLevel:0,children:sl(_,J,a,M,x)}):co(Al,{level:typeof J.rowLevel=="number"?J.rowLevel:0,className:"ellipsis-cell",children:J[M]})}}}return r&&(P=[{key:"selected",name:"",maxWidth:36,width:36,minWidth:36,renderCell({row:M}){if(!M.isExpandedChildContent)return co(gn,{id:"action",children:ml(t,M,a,l,i)})},renderHeaderCell:()=>co(gn,{id:"action",children:gl(t,a,l,b,i)})},...P]),P},[r,n,e,_,i,t,c,a,l]),[F,w]=kr(()=>R.map((P,M)=>M)),[D,O]=kr([]);zl(()=>{w(Array.from({length:R.length},(P,M)=>M))},[R.length]),zl(()=>{x(t)},[t]);let N=tt(()=>F.map(P=>R[P]),[F,R]),Z=(P,M)=>{w(J=>{let de=J.findIndex(A=>R[A].key===P),G=J.findIndex(A=>R[A].key===M),q=J.slice();return q.splice(de,1),q.splice(G,0,J[de]),q})},E=P=>{typeof d=="function"&&d(P)},z=tt(()=>{let P=pl(e);if(!y){if(n&&D.length>0){let M=yr(_.filter(J=>!J.isExpandedChildContent),D,P);return _.filter(J=>J.isExpandedChildContent).map(J=>xr(M,M.findIndex(de=>ue(de,a)===J.triggerRowKey)+1,J)),M}else if(!n&&D.length>0&&a)return ul(_,D,P,a)}return _},[n,_,D,a]),C=tt(()=>bl(L,g,L),[g,L]),S=tt(()=>yl(C,g,t,L),[g,C,L,t]),T=tt(()=>(y&&D?.length>0&&y?.(D?.[0]),!s||v?z:Cl(z,a,C,S+1)),[z,C,S]);return co(eh,{theme:b.dataGrid,children:nh(oh,{children:[co(Qu,{columns:N,rows:T,onColumnsReorder:Z,onRowsChange:E,renderers:{renderSortStatus:cl},sortColumns:D,onSortColumnsChange:H,rowKeyGetter:P=>a&&ue(P,a),rowHeight:P=>P.isExpandedChildContent&&typeof P.expandedContentHeight=="number"&&P.expandedContentHeight>0?P.expandedContentHeight:b.dataGrid.dataRowHeight,selectedRows:l,bottomSummaryRows:c?[c]:void 0,headerRowHeight:b.dataGrid.headerRowHeight,summaryRowHeight:b.dataGrid.summaryRowHeight,className:"fill-grid"}),s&&co(Lt,{totalItems:f??t.length,itemsPerPage:g,itemsPerPageOptions:u,itemsPerPageFunction:h,currentPage:L,showGoToPage:m,onPageChange:I})]})})},gn=pn.div`
2048
+ display: flex;
2049
+ height: 100%;
2050
+ align-items: center;
2051
+ justify-content: center;
2052
+ font-size: 14px;
2053
+ width: 100%;
2054
+ `,Al=pn.div`
2055
+ padding-left: ${e=>`calc(${e.theme.dataPaddingLeft} * ${e.level})`};
2056
+ button {
2057
+ display: grid;
2058
+ grid-template-columns: auto 1fr;
2059
+ align-items: center;
2060
+ gap: 0.5rem;
2061
+ padding: 0px;
2062
+ border: 0px;
2063
+ width: 100%;
2064
+ height: ${e=>e.theme.dataRowHeight}px;
2065
+ background: transparent;
2066
+ text-align: left;
2067
+ font-size: ${e=>e.theme.dataFontSize};
2068
+ font-family: inherit;
2069
+ color: inherit;
2070
+ cursor: pointer;
2071
+ }
2072
+ `,oh=pn.div`
2073
+ width: 100%;
2074
+ height: 100%;
2075
+ .rdg {
2076
+ border-radius: 4px;
2077
+ height: 100%;
2078
+ border: 0px;
2079
+ &::-webkit-scrollbar {
2080
+ width: 8px;
2081
+ height: 8px;
2082
+ }
2083
+ &::-webkit-scrollbar-thumb {
2084
+ background-color: ${e=>e.theme.scrollBarThumbColor};
2085
+ border-radius: 6px;
2086
+ }
2087
+ &::-webkit-scrollbar-track {
2088
+ background-color: ${e=>e.theme.scrollBarTrackColor};
2089
+ border-radius: 6px;
2090
+ }
2091
+ }
2092
+ .rdg-cell:has(> #action) {
2093
+ padding: 0px;
2094
+ }
2095
+ .rdg-cell {
2096
+ display: grid;
2097
+ align-items: center;
2098
+ width: 100%;
2099
+ padding: 0px ${e=>e.theme.dataPaddingRight} 0 ${e=>e.theme.dataPaddingLeft};
2100
+ font-family: ${e=>e.theme.dataFontFamily};
2101
+ font-size: ${e=>e.theme.dataFontSize};
2102
+ font-style: ${e=>e.theme.dataFontStyle};
2103
+ font-weight: ${e=>e.theme.dataFontWeight};
2104
+ color: ${e=>e.theme.dataFontColor};
2105
+ text-transform: ${e=>e.theme.dataFontTextTransform};
2106
+ line-height: ${e=>e.theme.dataTextLineHeight};
2107
+ border-bottom: ${e=>`${e.theme.rowSeparatorThickness} ${e.theme.rowSeparatorStyle} ${e.theme.rowSeparatorColor}`};
2108
+ border-right: ${e=>`${e.theme.rowSeparatorThickness} ${e.theme.rowSeparatorStyle} ${e.theme.rowSeparatorColor}`};
2109
+ background-color: ${e=>e.theme.dataBackgroundColor};
2110
+ outline-color: ${e=>e.theme.focusColor} !important;
2111
+ .rdg-text-editor:focus {
2112
+ border-color: transparent;
2113
+ }
2114
+ }
2115
+ .rdg-header-row {
2116
+ border-top-left-radius: ${e=>e.theme.headerBorderRadius};
2117
+ border-top-right-radius: ${e=>e.theme.headerBorderRadius};
2118
+ .rdg-cell {
2119
+ font-family: ${e=>e.theme.headerFontFamily};
2120
+ font-size: ${e=>e.theme.headerFontSize};
2121
+ font-style: ${e=>e.theme.headerFontStyle};
2122
+ font-weight: ${e=>e.theme.headerFontWeight};
2123
+ color: ${e=>e.theme.headerFontColor};
2124
+ text-transform: ${e=>e.theme.headerFontTextTransform};
2125
+ padding: 0px ${e=>e.theme.headerPaddingRight} 0 ${e=>e.theme.headerPaddingLeft};
2126
+ line-height: ${e=>e.theme.headerTextLineHeight};
2127
+ background-color: ${e=>e.theme.headerBackgroundColor};
2128
+ .sortIconContainer {
2129
+ margin-left: 0.5rem;
2130
+ display: flex;
2131
+ height: 100%;
2132
+ align-items: center;
2133
+ }
2134
+ }
2135
+ }
2136
+ .rdg-row {
2137
+ .rdg-cell:last-child {
2138
+ border-right: 0px;
2139
+ }
2140
+ }
2141
+ .rdg-summary-row {
2142
+ background-color: #fafafa;
2143
+ .rdg-cell {
2144
+ border: 0px;
2145
+ font-weight: 600;
2146
+ }
2147
+ }
2148
+ .ellipsis-cell {
2149
+ text-overflow: ellipsis;
2150
+ overflow: hidden;
2151
+ white-space: nowrap;
2152
+ width: 100%;
2153
+ height: 100%;
2154
+ display: flex;
2155
+ align-items: center;
2156
+ }
2157
+ .align-left {
2158
+ text-align: left;
2159
+ justify-content: flex-start;
2160
+ }
2161
+ .align-center {
2162
+ text-align: center;
2163
+ justify-content: center;
2164
+ }
2165
+ .align-right {
2166
+ text-align: right;
2167
+ justify-content: flex-end;
2168
+ }
2169
+ .header-align-left {
2170
+ text-align: left;
2171
+ }
2172
+ .header-align-center {
2173
+ text-align: center;
2174
+ }
2175
+ .header-align-right {
2176
+ text-align: right;
2177
+ }
2178
+ `;Rl.ActionsCell=Dt;var th=Rl;import{useState as Ht,useRef as ia,useEffect as yn,useId as ff,useCallback as bf,forwardRef as yf}from"react";import da from"dayjs";import Mt,{ThemeProvider as Cf}from"styled-components";import{memo as Sh}from"react";import Xl from"dayjs";import{useState as Vl}from"react";import At from"styled-components";import{useState as Hl,useMemo as ih,useEffect as Ml,useId as lh,memo as ah}from"react";import rt from"styled-components";import{jsx as zt,jsxs as bh}from"react/jsx-runtime";var ch=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},un=(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),El=(e,t)=>t?.get("month")===e.month&&t?.get("year")===e.year&&t?.get("date")===e.day,dh=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(r,n)=>e.slice(n*t,(n+1)*t)),sh=({selectedDate:e,innerDate:t,onInnerDateChange:r,onDaySelect:n,today:i})=>{let l=lh(),[a,c]=Hl(un(e,t,i)),[d,s]=Hl(!1),m=ih(()=>ch(t),[t]),u=X().calendar.daysShort,h=_=>{let x=t.set("month",_.month).set("date",_.day);n(x),c(x)},y=_=>{_?.currentTarget.contains(_.relatedTarget)||c(un(e,t,i))},v=_=>{(t.get("month")!==_.get("month")||t.get("year")!==_.get("year"))&&r(_),c(_),s(!0)};Ml(()=>{d&&(document.getElementById(`${l}_day_${a.get("date")}_month${a.get("month")}`)?.focus(),s(!1))},[a,d]),Ml(()=>{(a.get("month")!==t.get("month")||a.get("year")!==t.get("year"))&&c(un(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 bh(mh,{role:"grid",children:[zt(gh,{role:"row",children:u.map(_=>zt(ph,{role:"columnheader",children:_},_))}),zt(uh,{onBlur:y,role:"rowgroup",children:dh(m,u.length).map((_,x)=>zt(hh,{role:"row",children:_.map(b=>zt(fh,{id:`${l}_day_${b.day}_month${b.month}`,role:"gridcell","aria-selected":El(b,e),onKeyDown:L=>f(L,b),onClick:()=>h(b),selected:El(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}`))})]})},mh=rt.div`
2179
+ box-sizing: border-box;
2180
+ display: flex;
2181
+ flex-direction: column;
2182
+ justify-content: center;
2183
+ padding: 0px 8px 8px 8px;
2184
+ width: 292px;
2185
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2186
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2187
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2188
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2189
+ `,gh=rt.div`
2190
+ display: flex;
2191
+ flex-direction: row;
2192
+ flex-wrap: nowrap;
2193
+ justify-content: space-between;
2194
+ align-items: center;
2195
+ `,ph=rt.span`
2196
+ display: flex;
2197
+ align-items: center;
2198
+ justify-content: center;
2199
+ width: 36px;
2200
+ height: 36px;
2201
+ `,uh=rt.div`
2202
+ box-sizing: border-box;
2203
+ display: flex;
2204
+ gap: 4px;
2205
+ flex-direction: column;
2206
+ justify-content: space-between;
2207
+ `,hh=rt.div`
2208
+ box-sizing: border-box;
2209
+ display: flex;
2210
+ gap: 4px;
2211
+ justify-content: space-between;
2212
+ `,fh=rt.button`
2213
+ display: inline-flex;
2214
+ justify-content: center;
2215
+ align-items: center;
2216
+ width: 36px;
2217
+ height: 36px;
2218
+ padding: 0;
2219
+ border: none;
2220
+ border-radius: 50%;
2221
+ cursor: pointer;
2222
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2223
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2224
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2225
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2226
+
2227
+ &:focus {
2228
+ outline: ${e=>e.theme.dateInput.pickerFocusColor} solid 2px;
2229
+ }
2230
+ &:hover {
2231
+ background-color: ${e=>e.selected?e.theme.dateInput.pickerSelectedBackgroundColor:e.theme.dateInput.pickerHoverBackgroundColor};
2232
+ color: ${e=>e.selected?e.theme.dateInput.pickerSelectedFontColor:e.theme.dateInput.pickerHoverFontColor};
2233
+ }
2234
+ &:active {
2235
+ background-color: ${e=>e.theme.dateInput.pickerActiveBackgroundColor};
2236
+ color: ${e=>e.theme.dateInput.pickerActiveFontColor};
2237
+ }
2238
+
2239
+ ${e=>e.isCurrentDay&&!e.selected&&`border: ${e.theme.dateInput.pickerCurrentDateBorderWidth} solid ${e.theme.dateInput.pickerCurrentDateBorderColor};`}
2240
+ background-color: ${e=>e.selected?e.theme.dateInput.pickerSelectedBackgroundColor:"transparent"};
2241
+ color: ${e=>e.selected?e.theme.dateInput.pickerSelectedFontColor:e.isCurrentDay?e.theme.dateInput.pickerCurrentDateFontColor:e.actualMonth?e.theme.dateInput.pickerFontColor:e.theme.dateInput.pickerNonCurrentMonthFontColor};
2242
+ `,Wl=ah(sh);import yh from"dayjs";import{useEffect as Ch,useId as xh,useState as _h,memo as $h}from"react";import Gl from"styled-components";import{jsx as Ol}from"react/jsx-runtime";var vh=()=>{let e=[];for(let t=1899;t<=2100;t++)e.push(t);return e},Th=vh(),kh=({onYearSelect:e,selectedDate:t,today:r})=>{let n=xh(),[i,l]=_h(t?t.get("year"):yh().get("year"));Ch(()=>{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 Ol(Fh,{role:"listbox","aria-label":"Year Picker",children:Th.map(c=>Ol(wh,{"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))})},Fh=Gl.div`
2243
+ box-sizing: border-box;
2244
+ display: flex;
2245
+ flex-direction: column;
2246
+ gap: 4px;
2247
+ align-items: center;
2248
+ overflow-y: scroll;
2249
+ width: 292px;
2250
+ height: 312px;
2251
+ padding: 2px 8px 8px 8px;
2252
+ `,wh=Gl.button`
2253
+ display: flex;
2254
+ align-items: center;
2255
+ justify-content: center;
2256
+ width: 80px;
2257
+ min-height: 40px;
2258
+ line-height: 21px;
2259
+ background-color: transparent;
2260
+ border: none;
2261
+ border-radius: 50px;
2262
+ cursor: pointer;
2263
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2264
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2265
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2266
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2267
+
2268
+ ${e=>e.selected?`font-size: ${e.theme.dateInput.pickerInteractedYearFontSize};
2269
+ line-height: 36px;
2270
+ color: ${e.theme.dateInput.pickerSelectedFontColor} !important;
2271
+ background-color: ${e.theme.dateInput.pickerSelectedBackgroundColor} !important;`:e.isCurrentYear?`border: 1px solid ${e.theme.dateInput.pickerCurrentDateBorderColor};
2272
+ color: ${e.theme.dateInput.pickerCurrentYearFontColor};`:""}
2273
+
2274
+ &:hover, &:focus, &:active {
2275
+ font-size: ${e=>e.theme.dateInput.pickerInteractedYearFontSize};
2276
+ line-height: 36px;
2277
+ }
2278
+ &:hover {
2279
+ color: ${e=>e.theme.dateInput.pickerHoverFontColor};
2280
+ background-color: ${e=>e.theme.dateInput.pickerHoverBackgroundColor};
2281
+ }
2282
+ &:focus {
2283
+ color: ${e=>e.theme.dateInput.pickerHoverFontColor};
2284
+ outline: ${e=>`${e.theme.dateInput.pickerFocusColor} solid
2285
+ ${e.theme.dateInput.pickerFocusWidth}`};
2286
+ }
2287
+ &:active {
2288
+ color: ${e=>e.theme.dateInput.pickerActiveFontColor};
2289
+ background-color: ${e=>e.theme.dateInput.pickerActiveBackgroundColor} !important;
2290
+ }
2291
+ `,Nl=$h(kh);import{jsx as so,jsxs as Fr}from"react/jsx-runtime";var jl=Xl(),Ih=({date:e,onDateSelect:t,id:r})=>{let[n,i]=Vl(e?.isValid()?e:Xl()),[l,a]=Vl("calendar"),c=e?.isValid()?e:null,d=X(),s=u=>{i(u),t(u)},m=u=>{i(n.set("year",u)),a("calendar")},g=u=>{i(u)};return Fr(Bh,{id:r,children:[Fr(Ph,{children:[so(le,{label:d.calendar.previousMonthTitle,children:so(hn,{"aria-label":d.calendar.previousMonthTitle,onClick:()=>g(n.set("month",n.get("month")-1)),children:so($,{icon:"keyboard_arrow_left"})})}),Fr(Lh,{"aria-live":"polite",onClick:()=>a(u=>u==="yearPicker"?"calendar":"yearPicker"),children:[Fr(Dh,{children:[d.calendar.months[n.get("month")]," ",n.format("YYYY")]}),so($,{icon:l==="yearPicker"?"arrow_drop_up":"arrow_drop_down"})]}),so(le,{label:d.calendar.nextMonthTitle,children:so(hn,{"aria-label":d.calendar.nextMonthTitle,onClick:()=>g(n.set("month",n.get("month")+1)),children:so($,{icon:"keyboard_arrow_right"})})})]}),l==="calendar"&&so(Wl,{innerDate:n,selectedDate:c,onInnerDateChange:i,onDaySelect:s,today:jl}),l==="yearPicker"&&so(Nl,{selectedDate:c,onYearSelect:m,today:jl})]})},Bh=At.div`
2292
+ padding-top: 16px;
2293
+ background-color: ${e=>e.theme.dateInput.pickerBackgroundColor};
2294
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
2295
+ border: ${e=>`${e.theme.dateInput.pickerBorderWidth} ${e.theme.dateInput.pickerBorderStyle}
2296
+ ${e.theme.dateInput.pickerBorderColor}`};
2297
+ border-radius: 4px;
2298
+ width: fit-content;
2299
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2300
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2301
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2302
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2303
+ `,Ph=At.div`
2304
+ box-sizing: border-box;
2305
+ display: flex;
2306
+ gap: 8px;
2307
+ align-items: center;
2308
+ justify-content: space-between;
2309
+ padding: 0px 16px;
2310
+ `,hn=At.button`
2311
+ display: flex;
2312
+ align-items: center;
2313
+ justify-content: center;
2314
+ width: 24px;
2315
+ height: 24px;
2316
+ padding: 0px;
2317
+ color: ${e=>e.theme.dateInput.pickerHeaderFontColor};
2318
+ background-color: ${e=>e.theme.dateInput.pickerHeaderBackgroundColor};
2319
+ border-radius: 4px;
2320
+ border: none;
2321
+ cursor: pointer;
2322
+
2323
+ &:hover {
2324
+ color: ${e=>e.theme.dateInput.pickerHeaderHoverFontColor};
2325
+ background-color: ${e=>e.theme.dateInput.pickerHeaderHoverBackgroundColor};
2326
+ }
2327
+ &:focus {
2328
+ outline: ${e=>`${e.theme.dateInput.pickerFocusColor} solid
2329
+ ${e.theme.dateInput.pickerFocusWidth}`};
2330
+ }
2331
+ &:active {
2332
+ color: ${e=>e.theme.dateInput.pickerHeaderActiveFontColor};
2333
+ background-color: ${e=>e.theme.dateInput.pickerHeaderActiveBackgroundColor};
2334
+ }
2335
+
2336
+ span::before {
2337
+ font-size: 24px;
2338
+ }
2339
+ `,Lh=At(hn)`
2340
+ gap: 8px;
2341
+ height: 40px;
2342
+ width: 172px;
2343
+ font-size: 24px;
2344
+ span::before {
2345
+ font-size: 24px;
2346
+ }
2347
+ `,Dh=At.span`
2348
+ display: flex;
2349
+ align-items: center;
2350
+ justify-content: center;
2351
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2352
+ font-size: ${e=>e.theme.dateInput.pickerHeaderFontSize};
2353
+ `,Jl=Sh(Ih);import*as To from"@radix-ui/react-popover";import xf from"dayjs/plugin/customParseFormat";import*as $o from"@radix-ui/react-popover";import{forwardRef as Zh,useContext as qh,useEffect as Qh,useId as ef,useRef as bn,useState as nt}from"react";import Ze,{ThemeProvider as of}from"styled-components";import{createContext as zh}from"react";var wr=zh(null);import{memo as Nh,useEffect as Vh,useRef as jh}from"react";import Sr from"styled-components";import{memo as Ah,useMemo as Rh}from"react";import Kl from"styled-components";import{Fragment as Oh,jsx as fn,jsxs as Gh}from"react/jsx-runtime";var Hh=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},Mh=({id:e,value:t,onClick:r,suggestion:n,isLast:i,visuallyFocused:l,highlighted:a})=>{let c=Rh(()=>{let d=new RegExp(Hh(t),"i");return{matchedWords:n.match(d),noMatchedWords:n.replace(d,"")}},[t,n]);return fn(Eh,{id:e,onClick:()=>{r(n)},visuallyFocused:l,role:"option","aria-selected":l?!0:void 0,children:fn(Wh,{isLast:i,visuallyFocused:l,children:a?Gh(Oh,{children:[fn("strong",{children:c.matchedWords}),c.noMatchedWords]}):n})})},Eh=Kl.li`
2354
+ display: flex;
2355
+ padding: 0 0.5rem;
2356
+ line-height: 1.715em;
2357
+ cursor: pointer;
2358
+ box-shadow: inset 0 0 0 2px
2359
+ ${e=>e.visuallyFocused?e.theme.focusListOptionBorderColor:"transparent"};
2360
+
2361
+ &:hover {
2362
+ background-color: ${e=>e.theme.hoverListOptionBackgroundColor};
2363
+ }
2364
+ &:active {
2365
+ background-color: ${e=>e.theme.activeListOptionBackgroundColor};
2366
+ }
2367
+ `,Wh=Kl.span`
2368
+ width: 100%;
2369
+ overflow: hidden;
2370
+ text-overflow: ellipsis;
2371
+ white-space: nowrap;
2372
+ padding: 0.25rem 0.5rem 0.188rem 0.5rem;
2373
+ ${e=>e.isLast||e.visuallyFocused?"border-bottom: 1px solid transparent":`border-bottom: 1px solid ${e.theme.listOptionDividerColor}`};
2374
+ `,Ul=Ah(Mh);import{jsx as Rt,jsxs as Yl}from"react/jsx-runtime";var Xh=({id:e,value:t,suggestions:r,visualFocusIndex:n,highlightedSuggestions:i,searchHasErrors:l,isSearching:a,suggestionOnClick:c,styles:d})=>{let s=X(),m=jh(null);return Vh(()=>{m?.current?.querySelectorAll("[role='option']")[n]?.scrollIntoView?.({block:"nearest",inline:"start"})},[n]),Yl(Jh,{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)=>Rt(Ul,{id:`${e}-suggestion-${u}`,value:t,onClick:c,suggestion:g,isLast:u===r.length-1,visuallyFocused:n===u,highlighted:i},`${e}-suggestion-${u}`)),a&&Rt(Kh,{role:"option",children:s.textInput.searchingMessage}),l&&Rt("span",{role:"option",children:Yl(Yh,{role:"alert","aria-live":"assertive",children:[Rt(Uh,{children:Rt($,{icon:"filled_error"})}),s.textInput.fetchingDataErrorMessage]})})]})},Jh=Sr.ul`
2375
+ box-sizing: border-box;
2376
+ max-height: 304px;
2377
+ overflow-y: auto;
2378
+ margin: 0;
2379
+ padding: 0.25rem 0;
2380
+ background-color: ${e=>e.error?e.theme.errorListDialogBackgroundColor:e.theme.listDialogBackgroundColor};
2381
+ border: 1px solid
2382
+ ${e=>e.error?e.theme.errorListDialogBorderColor:e.theme.listDialogBorderColor};
2383
+
2384
+ border-radius: 0.25rem;
2385
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
2386
+ color: ${e=>e.theme.listOptionFontColor};
2387
+ font-family: ${e=>e.theme.fontFamily};
2388
+ font-size: ${e=>e.theme.listOptionFontSize};
2389
+ font-style: ${e=>e.theme.listOptionFontStyle};
2390
+ font-weight: ${e=>e.theme.listOptionFontWeight};
2391
+ `,Kh=Sr.span`
2392
+ display: flex;
2393
+ padding: 0.25rem 1rem;
2394
+ color: ${e=>e.theme.systemMessageFontColor};
2395
+ line-height: 1.715em;
2396
+ `,Uh=Sr.span`
2397
+ display: flex;
2398
+ flex-wrap: wrap;
2399
+ align-content: center;
2400
+ margin-right: 0.5rem;
2401
+ height: 18px;
2402
+ width: 18px;
2403
+ font-size: 18px;
2404
+ color: ${e=>e.theme.errorIconColor};
2405
+ `,Yh=Sr.span`
2406
+ display: flex;
2407
+ padding: 0.25rem 1rem;
2408
+ align-items: center;
2409
+ line-height: 1.715em;
2410
+ color: ${e=>e.theme.errorListDialogFontColor};
2411
+ `,Zl=Nh(Xh);import{Fragment as na,jsx as fe,jsxs as it}from"react/jsx-runtime";var ql={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},tf=({condition:e,wrapper:t,children:r})=>fe(na,{children:e?t(r):r}),Ql=(e,t)=>t==="fillParent"?`calc(${ql[t]} - ${j(e,"left")} - ${j(e,"right")})`:ql[t],rf=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}}},Ee=e=>typeof e=="function"||e?.length>0,ea=(e,t)=>e===""&&!t,oa=(e,t,r)=>e!=null&&(e.length<t||e.length>r),ta=(e,t,r)=>e<t||e>r,ra=(e,t)=>e!=null&&!new RegExp(e).test(t),nf=Zh(({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:L="off",margin:B,size:I="medium",tabIndex:H=0},R)=>{let F=`input-${ef()}`,w=`suggestions-${F}`,D=`error-${F}`,[O,N]=nt(r),[Z,E]=nt(!1),[z,C]=nt(!1),[S,T]=nt(!1),[P,M]=nt([]),[J,de]=nt(-1),G=bn(null),q=bn(null),A=bn(null),se=No(q.current),me=k(),ge=X(),W=qh(wr),U=V=>{if(V<W?.minNumber)return ge.numberInput.valueGreaterThanOrEqualToErrorMessage(W.minNumber);if(V>W?.maxNumber)return ge.numberInput.valueLessThanOrEqualToErrorMessage(W.maxNumber)},K=()=>{Ee(f)&&E(!0)},ye=()=>{Ee(f)&&(E(!1),de(-1))},pe=V=>{let Y=typeof V=="number"?V.toString():V;n??N(Y),ea(Y,m)?h?.({value:Y,error:ge.formFields.requiredValueErrorMessage}):oa(Y,x,b)?h?.({value:Y,error:ge.formFields.lengthErrorMessage(x,b)}):ra(_,Y)?h?.({value:Y,error:ge.formFields.formatRequestedErrorMessage}):W?.typeNumber==="number"&&ta(Number(V),W?.minNumber,W?.maxNumber)?h?.({value:Y,error:U(Number(V))}):h?.({value:Y})},Io=(V=n??O)=>{if(!d&&!s){let Y=Number(V),ho=Math.round((Y-W?.stepNumber+Number.EPSILON)*100)/100;V!==""?Y<W?.minNumber||ho<W?.minNumber?pe(Y):Y>W?.maxNumber?pe(W?.maxNumber):Y===W?.minNumber?pe(W?.minNumber):pe(ho):W?.minNumber>=0?pe(W?.minNumber):W?.maxNumber<0?pe(W?.maxNumber):pe(-W.stepNumber)}},bt=(V=n??O)=>{if(!d&&!s){let Y=Number(V),ho=Math.round((Y+W?.stepNumber+Number.EPSILON)*100)/100;V!==""?Y>W?.maxNumber||ho>W?.maxNumber?pe(Y):Y<W?.minNumber?pe(W?.minNumber):Y===W?.maxNumber?pe(W?.maxNumber):pe(ho):W?.minNumber>0?pe(W?.minNumber):W?.maxNumber<=0?pe(W?.maxNumber):pe(W.stepNumber)}},Vr=()=>{document.activeElement!==A.current&&G.current.focus()},ee=V=>{document.activeElement===G.current&&V.preventDefault()},oe=V=>{K(),pe(V.target.value)},oo=V=>{ye(),ea(V.target.value,m)?y?.({value:V.target.value,error:ge.formFields.requiredValueErrorMessage}):oa(V.target.value,x,b)?y?.({value:V.target.value,error:ge.formFields.lengthErrorMessage(x,b)}):ra(_,V.target.value)?y?.({value:V.target.value,error:ge.formFields.formatRequestedErrorMessage}):W?.typeNumber==="number"&&ta(Number(V.target.value),W?.minNumber,W?.maxNumber)?y?.({value:V.target.value,error:U(Number(V.target.value))}):y?.({value:V.target.value})},to=V=>{switch(V.key){case"Down":case"ArrowDown":V.preventDefault(),W?.typeNumber==="number"?Io():(K(),!S&&!z&&P.length>0&&de(Y=>{if(Y<P.length-1)return Y+1;if(Y===P.length-1)return 0}));break;case"Up":case"ArrowUp":V.preventDefault(),W?.typeNumber==="number"?bt():(K(),!S&&!z&&P.length>0&&de(Y=>Y===0||Y===-1?P.length>0?P.length-1:f.length-1:Y-1));break;case"Esc":case"Escape":V.preventDefault(),Z&&V.stopPropagation(),Ee(f)&&(pe(""),Z&&ye());break;case"Enter":Ee(f)&&!z&&(P.length>0&&J>=0&&J<P.length&&pe(P[J]),Z&&ye());break}},_c=V=>{document.activeElement===G.current&&(V.deltaY<0?bt(G.current.value):Io(G.current.value))},$c=()=>{pe(""),G.current.focus(),f&&ye()},vc=()=>{Io(),G.current.focus()},Tc=()=>{bt(),G.current.focus()},kc=(V,Y,ho,Fc)=>{Y&&G?.current?.setAttribute("min",Y),ho&&G?.current?.setAttribute("max",ho),G?.current?.setAttribute("step",Fc),G?.current?.setAttribute("type",V)};return Qh(()=>{if(typeof f=="function"){C(!0),T(!1),M([]);let V=rf(f(n??O));return V.promise.then(Y=>{C(!1),T(!1),M(Y)}).catch(Y=>{Y.isCanceled||(C(!1),T(!0))}),()=>{V.cancel()}}else f?.length>0&&(M(f.filter(V=>V.toUpperCase().startsWith((n??O).toUpperCase()))),de(-1));W!=null&&kc(W.typeNumber,W.minNumber,W.maxNumber,W.stepNumber)},[n,O,f,W]),fe(of,{theme:me.textInput,children:it(lf,{margin:B,size:I,ref:R,children:[e&&it(af,{htmlFor:F,disabled:d,hasHelperText:!!i,children:[e," ",m&&fe(cf,{children:ge.formFields.optionalLabel})]}),i&&fe(df,{disabled:d,children:i}),fe(tf,{condition:Ee(f),wrapper:V=>it($o.Root,{open:Z&&(P.length>0||z||S),children:[fe($o.Trigger,{asChild:!0,type:void 0,"aria-controls":void 0,"aria-haspopup":void 0,"aria-expanded":void 0,children:V}),fe($o.Portal,{children:fe($o.Content,{sideOffset:5,style:{zIndex:"2147483647"},onOpenAutoFocus:Y=>{Y.preventDefault()},onCloseAutoFocus:Y=>{Y.preventDefault()},children:fe(Zl,{id:w,value:n??O,suggestions:P,visualFocusIndex:J,highlightedSuggestions:typeof f!="function",searchHasErrors:S,isSearching:z,suggestionOnClick:Y=>{pe(Y),ye()},styles:{width:se}})})})]}),children:it(sf,{error:!!v,disabled:d,readOnly:s,onClick:Vr,onMouseDown:ee,ref:q,children:[g&&fe(gf,{disabled:d,children:g}),it(te,{gap:"0.25rem",alignItems:"center",grow:1,children:[fe(mf,{id:F,name:t,value:n??O,placeholder:l,onBlur:oo,onChange:oe,onFocus:s?void 0:K,onKeyDown:s?void 0:to,onMouseDown:V=>{V.stopPropagation()},onWheel:W?.typeNumber==="number"?_c:void 0,disabled:d,readOnly:s,ref:G,pattern:_,minLength:x,maxLength:b,autoComplete:L==="off"?"nope":L,tabIndex:H,type:"text",role:Ee(f)?"combobox":void 0,"aria-autocomplete":Ee(f)?"list":void 0,"aria-controls":Ee(f)?w:void 0,"aria-expanded":Ee(f)?Z:void 0,"aria-haspopup":Ee(f)?"listbox":void 0,"aria-activedescendant":Ee(f)&&Z&&J!==-1?`suggestion-${J}`:void 0,"aria-invalid":!!v,"aria-errormessage":v?D:void 0,"aria-required":!d&&!m}),!d&&v&&fe(uf,{"aria-hidden":"true",children:fe($,{icon:"filled_error"})}),!d&&!s&&c&&(n??O).length>0&&fe(Se,{onClick:$c,icon:"close",tabIndex:H,title:ge.textInput.clearFieldActionTitle}),W?.typeNumber==="number"&&it(na,{children:[fe(Se,{onClick:s?void 0:vc,icon:"remove",tabIndex:H,ref:A,title:ge.numberInput.decrementValueTitle,disabled:d}),fe(Se,{onClick:s?void 0:Tc,icon:"add",tabIndex:H,ref:A,title:ge.numberInput.incrementValueTitle,disabled:d})]}),a&&fe(Se,{onClick:s?void 0:a.onClick,icon:a.icon,tabIndex:H,ref:A,title:a.title,disabled:d})]}),u&&fe(pf,{disabled:d,children:u})]})}),!d&&typeof v=="string"&&fe(hf,{id:D,role:"alert","aria-live":v?"assertive":"off",children:v})]})})}),lf=Ze.div`
2412
+ box-sizing: border-box;
2413
+ display: flex;
2414
+ flex-direction: column;
2415
+ width: ${e=>Ql(e.margin,e.size)};
2416
+ ${e=>e.size!=="fillParent"&&"min-width:"+Ql(e.margin,e.size)};
2417
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2418
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2419
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2420
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2421
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2422
+ font-family: ${e=>e.theme.fontFamily};
2423
+ `,af=Ze.label`
2424
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
2425
+ font-size: ${e=>e.theme.labelFontSize};
2426
+ font-style: ${e=>e.theme.labelFontStyle};
2427
+ font-weight: ${e=>e.theme.labelFontWeight};
2428
+ line-height: ${e=>e.theme.labelLineHeight};
2429
+ ${e=>!e.hasHelperText&&"margin-bottom: 0.25rem"}
2430
+ `,cf=Ze.span`
2431
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
2432
+ `,df=Ze.span`
2433
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
2434
+ font-size: ${e=>e.theme.helperTextFontSize};
2435
+ font-style: ${e=>e.theme.helperTextFontStyle};
2436
+ font-weight: ${e=>e.theme.helperTextFontWeight};
2437
+ line-height: ${e=>e.theme.helperTextLineHeight};
2438
+ margin-bottom: 0.25rem;
2439
+ `,sf=Ze.div`
2440
+ position: relative;
2441
+ display: flex;
2442
+ align-items: center;
2443
+ height: calc(2.5rem - 2px);
2444
+ padding: 0 0.5rem;
2445
+ ${e=>{if(e.disabled)return`background-color: ${e.theme.disabledContainerFillColor};`}}
2446
+ box-shadow: 0 0 0 2px transparent;
2447
+ border-radius: 4px;
2448
+ border: 1px solid
2449
+ ${e=>e.disabled?e.theme.disabledBorderColor:e.readOnly?e.theme.readOnlyBorderColor:e.theme.enabledBorderColor};
2450
+ ${e=>e.error&&!e.disabled&&`border-color: transparent;
2451
+ box-shadow: 0 0 0 2px ${e.theme.errorBorderColor};
2452
+ `}
2453
+ ${e=>e.disabled?"cursor: not-allowed;":`
2454
+ &:hover {
2455
+ border-color: ${e.error?"transparent":e.readOnly?e.theme.hoverReadOnlyBorderColor:e.theme.hoverBorderColor};
2456
+ ${e.error?`box-shadow: 0 0 0 2px ${e.theme.hoverErrorBorderColor};`:""}
2457
+ }
2458
+ &:focus-within {
2459
+ border-color: transparent;
2460
+ box-shadow: 0 0 0 2px ${e.theme.focusBorderColor};
2461
+ }
2462
+ `};
2463
+ `,mf=Ze.input`
2464
+ height: calc(2.5rem - 2px);
2465
+ width: 100%;
2466
+ background: none;
2467
+ border: none;
2468
+ outline: none;
2469
+ padding: 0 0.5rem;
2470
+ overflow: hidden;
2471
+ text-overflow: ellipsis;
2472
+ white-space: nowrap;
2473
+ color: ${e=>e.disabled?e.theme.disabledValueFontColor:e.theme.valueFontColor};
2474
+ font-family: ${e=>e.theme.fontFamily};
2475
+ font-size: ${e=>e.theme.valueFontSize};
2476
+ font-style: ${e=>e.theme.valueFontStyle};
2477
+ font-weight: ${e=>e.theme.valueFontWeight};
2478
+ line-height: 1.5em;
2479
+ ${e=>e.disabled&&"cursor: not-allowed;"}
2480
+
2481
+ ::placeholder {
2482
+ color: ${e=>e.disabled?e.theme.disabledPlaceholderFontColor:e.theme.placeholderFontColor};
2483
+ }
2484
+ `,gf=Ze.span`
2485
+ height: 1.5rem;
2486
+ margin-left: 0.25rem;
2487
+ padding-right: ${e=>e.theme.prefixDividerPaddingRight};
2488
+ ${e=>{let t=e.disabled?e.theme.disabledPrefixColor:e.theme.prefixColor;return`color: ${t}; border-right: ${e.theme.prefixDividerBorderWidth} ${e.theme.prefixDividerBorderStyle} ${t};`}};
2489
+ font-size: 1rem;
2490
+ line-height: 1.5rem;
2491
+ pointer-events: none;
2492
+ `,pf=Ze.span`
2493
+ height: 1.5rem;
2494
+ margin: 0 0.25rem;
2495
+ padding-left: ${e=>e.theme.suffixDividerPaddingLeft};
2496
+ ${e=>{let t=e.disabled?e.theme.disabledSuffixColor:e.theme.suffixColor;return`color: ${t}; border-left: ${e.theme.suffixDividerBorderWidth} ${e.theme.suffixDividerBorderStyle} ${t};`}};
2497
+ font-size: 1rem;
2498
+ line-height: 1.5rem;
2499
+ pointer-events: none;
2500
+ `,uf=Ze.span`
2501
+ display: flex;
2502
+ flex-wrap: wrap;
2503
+ align-content: center;
2504
+ padding: 3px;
2505
+ height: 18px;
2506
+ width: 18px;
2507
+ font-size: 18px;
2508
+ color: ${e=>e.theme.errorIconColor};
2509
+ `,hf=Ze.span`
2510
+ min-height: 1.5em;
2511
+ color: ${e=>e.theme.errorMessageColor};
2512
+ font-size: 0.75rem;
2513
+ font-weight: 400;
2514
+ line-height: 1.5em;
2515
+ margin-top: 0.25rem;
2516
+ `,mo=nf;import{jsx as vo,jsxs as xn}from"react/jsx-runtime";da.extend(xf);var la=4,Ir=(e,t)=>da(e,t.toUpperCase(),!0),Cn=(e,t,r,n)=>{if((e||e==="")&&t.toUpperCase().includes("YYYY"))return Ir(e,t);{let i=Ir(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}},_f=yf(({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,L]=Ht(r),[B,I]=Ht(!1),H=`date-picker-${ff()}`,[R,F]=Ht(Ir(n??r??"",i)),[w,D]=Ht(b||n?!i.toUpperCase().includes("YYYY")&&+Ir(n??b,i).format("YY")<68?2e3:1900:void 0),[O,N]=Ht(la),Z=k(),E=X(),z=ia(null),C=ia(null),S=A=>{let se=A.format(i.toUpperCase());n||(F(A),L(se)),D(A.get("year")),A?.set("day",A.get("date")).toJSON()?g?.({value:se,date:A.toDate()}):g?.({value:se})},T=({value:A,error:se})=>{n??L(A);let me=Cn(A,i,w,D),ge=A!==""&&!me.isValid()&&E.dateInput.invalidDateErrorMessage,W=se||ge?{value:A,error:se||ge}:{value:A};me.isValid()?(F(me),g?.({...W,date:me.toDate()})):(g?.(W),D(U=>R?.get("year")??U),F(null))},P=({value:A,error:se})=>{let me=Cn(A,i,w,D),ge=A!==""&&!me.isValid()&&E.dateInput.invalidDateErrorMessage,W=se||ge?{value:A,error:se||ge}:{value:A};me.isValid()?u?.({...W,date:me.toDate()}):u?.(W)},M=bf(()=>{h!=null&&setTimeout(()=>{if(C.current&&z.current){let A=C.current.getBoundingClientRect(),se=z.current.querySelector('[id^="input"]')?.getBoundingClientRect(),me=z.current.querySelector('[id^="error-input"]')?.getBoundingClientRect().height;N(A.top>se.bottom?-me:la)}},0)},[h]),J=()=>{I(!B),M()},de=()=>{I(!1)},G=A=>{A.key==="Escape"&&(A.preventDefault(),B&&A.stopPropagation(),de(),z?.current.getElementsByTagName("input")[0].focus())},q=A=>{A?.currentTarget.contains(A.relatedTarget)||de()};return yn(()=>(window.addEventListener("scroll",M),()=>{window.removeEventListener("scroll",M)}),[M]),yn(()=>{(n||n==="")&&F(Cn(n,i,w,D))},[n,i,w]),yn(()=>{if(!d){let A=z?.current.querySelector("[aria-label='Select date']");A?.setAttribute("aria-haspopup",!0),A?.setAttribute("role","combobox"),A?.setAttribute("aria-expanded",B),A?.setAttribute("aria-controls",H),B&&A?.setAttribute("aria-describedby",H)}},[B,d,H]),vo(Cf,{theme:Z,children:xn($f,{margin:v,size:f,ref:x,children:[e&&xn(vf,{htmlFor:z.current?.getElementsByTagName("input")[0].id,disabled:d,hasHelperText:!!l,children:[e," ",m&&vo(Tf,{children:E.formFields.optionalLabel})]}),l&&vo(kf,{disabled:d,children:l}),xn(To.Root,{open:B,children:[vo(To.Trigger,{asChild:!0,"aria-controls":void 0,children:vo(mo,{name:t,defaultValue:r,value:n??b,placeholder:a?i.toUpperCase():null,action:{onClick:J,icon:"filled_calendar_today",title:"Select date"},clearable:c,disabled:d,readOnly:s,optional:m,onChange:T,onBlur:P,error:h,autocomplete:y,size:f,tabIndex:_,ref:z})}),vo(To.Portal,{children:vo(Ff,{sideOffset:O,align:"end","aria-modal":!0,onBlur:q,onKeyDown:G,ref:C,children:vo(Jl,{id:H,onDateSelect:S,date:R})})})]})]})})}),aa={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},ca=(e,t)=>t==="fillParent"?`calc(${aa[t]} - ${j(e,"left")} - ${j(e,"right")})`:aa[t],$f=Mt.div`
2517
+ ${e=>e.size=="fillParent"&&"width: 100%;"}
2518
+ display: flex;
2519
+ flex-direction: column;
2520
+ width: ${e=>ca(e.margin,e.size)};
2521
+ ${e=>e.size!=="fillParent"&&"min-width:"+ca(e.margin,e.size)};
2522
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2523
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2524
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2525
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2526
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2527
+ font-family: ${e=>e.theme.textInput.fontFamily};
2528
+ `,vf=Mt.label`
2529
+ color: ${e=>e.disabled?e.theme.textInput.disabledLabelFontColor:e.theme.textInput.labelFontColor};
2530
+ font-size: ${e=>e.theme.textInput.labelFontSize};
2531
+ font-style: ${e=>e.theme.textInput.labelFontStyle};
2532
+ font-weight: ${e=>e.theme.textInput.labelFontWeight};
2533
+ line-height: ${e=>e.theme.textInput.labelLineHeight};
2534
+ ${e=>!e.hasHelperText&&"margin-bottom: 0.25rem"}
2535
+ `,Tf=Mt.span`
2536
+ font-weight: ${e=>e.theme.textInput.optionalLabelFontWeight};
2537
+ `,kf=Mt.span`
2538
+ color: ${e=>e.disabled?e.theme.textInput.disabledHelperTextFontColor:e.theme.textInput.helperTextFontColor};
2539
+ font-size: ${e=>e.theme.textInput.helperTextFontSize};
2540
+ font-style: ${e=>e.theme.textInput.helperTextFontStyle};
2541
+ font-weight: ${e=>e.theme.textInput.helperTextFontWeight};
2542
+ line-height: ${e=>e.theme.textInput.helperTextLineHeight};
2543
+ margin-bottom: 0.25rem;
2544
+ `,Ff=Mt(To.Content)`
2545
+ z-index: 2147483647;
2546
+ &:focus-visible {
2547
+ outline: none;
2548
+ }
2549
+ `,wf=_f;import{useEffect as Hf}from"react";import{createPortal as Mf}from"react-dom";import Br,{createGlobalStyle as Ef,ThemeProvider as Wf}from"styled-components";import{useCallback as Sf,useEffect as ga,useRef as If,useState as Bf}from"react";import{Fragment as Af,jsx as _n,jsxs as Rf}from"react/jsx-runtime";var be={negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"},Pf=[`a[href]${be.negTabIndex}`,`area[href]${be.negTabIndex}`,`input:not([type="hidden"])${be.negTabIndex}${be.disabled}`,`select${be.negTabIndex}${be.disabled}`,`textarea${be.negTabIndex}${be.disabled}`,`button${be.negTabIndex}${be.disabled}`,`details > summary:first-of-type${be.negTabIndex}`,`iframe${be.negTabIndex}`,`audio[controls]${be.negTabIndex}`,`video[controls]${be.negTabIndex}`,`[contenteditable]${be.negTabIndex}`,`[tabindex]${be.negTabIndex}${be.disabled}`].join(","),sa=e=>Array.prototype.slice.call(e.querySelectorAll(Pf)).filter(t=>t.getAttribute("aria-hidden")!=="true"&&window.getComputedStyle(t).display!=="none"&&window.getComputedStyle(t).visibility!=="hidden"),ma=e=>(e?.focus(),document.activeElement===e),Lf=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))},Df=e=>{let[t,r]=Bf();return ga(()=>{if(e.current!=null){r(sa(e.current));let n=new MutationObserver(()=>{r(sa(e.current))});return n.observe(e.current,{childList:!0,subtree:!0,attributes:!0}),()=>{n.disconnect()}}},[]),t},zf=({children:e})=>{let t=If(),r=Df(t),n=Sf(()=>{r?.length===0?t.current?.focus():r?.length>0&&r.some(a=>ma(a))},[r]),i=()=>{r?.reverse()?.some(a=>ma(a))},l=a=>{a.key==="Tab"&&r.length===0&&a.preventDefault()};return ga(()=>{!t.current?.contains(document.activeElement)&&!Lf(document.activeElement)&&n()},[n]),Rf(Af,{children:[_n("div",{onFocus:i,tabIndex:0}),_n("div",{onKeyDown:l,ref:t,tabIndex:r?.length===0?0:-1,style:{outline:"none"},children:e}),_n("div",{onFocus:n,tabIndex:0})]})},pa=zf;import{jsx as Et,jsxs as $n}from"react/jsx-runtime";var Of=({isCloseVisible:e=!0,onCloseClick:t,children:r,overlay:n=!0,onBackgroundClick:i,tabIndex:l=0})=>{let a=k(),c=X();return Hf(()=>{let d=s=>{s.key==="Escape"&&(s.preventDefault(),t?.())};return document.addEventListener("keydown",d),()=>{document.removeEventListener("keydown",d)}},[t]),$n(Wf,{theme:a.dialog,children:[Et(Gf,{}),Mf($n(Nf,{children:[n&&Et(Vf,{onClick:()=>{i?.()}}),Et(jf,{role:"dialog","aria-modal":n,isCloseVisible:e,"aria-label":"Dialog",children:$n(pa,{children:[r,e&&Et(Xf,{onClick:()=>{t?.()},"aria-label":c.dialog.closeIconAriaLabel,tabIndex:l,children:Et($,{icon:"close"})})]})})]}),document.body)]})},Gf=Ef`
2550
+ body {
2551
+ overflow: hidden;
2552
+ }
2553
+ `,Nf=Br.div`
2554
+ position: fixed;
2555
+ inset: 0;
2556
+ display: flex;
2557
+ align-items: center;
2558
+ justify-content: center;
2559
+ height: 100%;
2560
+ z-index: 2147483647;
2561
+ `,Vf=Br.div`
2562
+ position: fixed;
2563
+ inset: 0;
2564
+ height: 100%;
2565
+ background-color: ${e=>e.theme.overlayColor};
2566
+ `,jf=Br.div`
2567
+ position: relative;
2568
+ box-sizing: border-box;
2569
+ max-width: 80%;
2570
+ min-width: 696px;
2571
+ border-radius: 4px;
2572
+ background-color: ${e=>e.theme.backgroundColor};
2573
+ ${e=>e.isCloseVisible&&"min-height: 72px;"}
2574
+ box-shadow: ${e=>`${e.theme.boxShadowOffsetX} ${e.theme.boxShadowOffsetY} ${e.theme.boxShadowBlur} ${e.theme.boxShadowColor}`};
2575
+ z-index: 2147483647;
2576
+
2577
+ @media (max-width: ${re.medium}rem) {
2578
+ max-width: 92%;
2579
+ min-width: 92%;
2580
+ }
2581
+ `,Xf=Br.button`
2582
+ all: unset;
2583
+ position: absolute;
2584
+ top: 24px;
2585
+ right: 24px;
2586
+ display: flex;
2587
+ align-items: center;
2588
+ justify-content: center;
2589
+ background-color: ${e=>e.theme.closeIconBackgroundColor};
2590
+ box-shadow: 0 0 0 2px transparent;
2591
+ color: ${e=>e.theme.closeIconColor};
2592
+ border-radius: ${e=>e.theme.closeIconBorderRadius};
2593
+ border-width: ${e=>e.theme.closeIconBorderThickness};
2594
+ border-style: ${e=>e.theme.closeIconBorderStyle};
2595
+ border-color: ${e=>e.theme.closeIconBorderColor};
2596
+ cursor: pointer;
2597
+ z-index: 1;
2598
+
2599
+ &:focus {
2600
+ outline: none;
2601
+ box-shadow: 0 0 0 2px #0095ff;
2602
+ }
2603
+ &:hover {
2604
+ background-color: #f2f2f2;
2605
+ }
2606
+ &:active {
2607
+ background-color: #cccccc;
2608
+ }
2609
+ span {
2610
+ font-size: ${e=>e.theme.closeIconSize};
2611
+ }
2612
+ `,Jf=Of;import{useCallback as nb,useEffect as ib,useId as lb,useState as ua,forwardRef as ab}from"react";import We,{ThemeProvider as cb}from"styled-components";import{memo as Kf}from"react";import Mo,{ThemeProvider as Uf}from"styled-components";import{jsx as go,jsxs as vn}from"react/jsx-runtime";var Yf=({fileName:e="",error:t="",singleFileMode:r,showPreview:n,preview:i,type:l,onDelete:a,tabIndex:c})=>{let d=k(),s=X(),m=()=>l?.includes("video")?"video":l?.includes("audio")?"audio":"file";return go(Uf,{theme:d.fileInput,children:vn(Zf,{error:t,singleFileMode:r,showPreview:n,children:[n&&(l?.includes("image")?go(qf,{src:i,alt:e}):go(Qf,{error:t,role:"document","aria-label":m(),children:go($,{icon:i})})),vn(eb,{children:[go(ob,{children:e}),vn(te,{gap:"0.25rem",children:[t&&go(tb,{children:go($,{icon:"filled_error"})}),go(Se,{onClick:()=>a(e),icon:"close",tabIndex:c,title:s.fileInput.deleteFileActionTitle})]}),t&&!r&&go(rb,{role:"alert","aria-live":"assertive",children:t})]})]})})},Zf=Mo.div`
2613
+ box-sizing: border-box;
2614
+ display: flex;
2615
+ justify-content: center;
2616
+ gap: 0.75rem;
2617
+ width: ${e=>e.singleFileMode?"230px":"320px"};
2618
+ 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`};
2619
+ ${e=>e.error?`background-color: ${e.theme.errorFileItemBackgroundColor};`:""};
2620
+ border-color: ${e=>e.error?e.theme.errorFileItemBorderColor:e.theme.fileItemBorderColor};
2621
+ border-width: ${e=>e.theme.fileItemBorderThickness};
2622
+ border-style: ${e=>e.theme.fileItemBorderStyle};
2623
+ border-radius: ${e=>e.theme.fileItemBorderRadius};
2624
+ `,qf=Mo.img`
2625
+ width: 48px;
2626
+ height: 48px;
2627
+ border-radius: 2px;
2628
+ object-fit: contain;
2629
+ `,Qf=Mo.span`
2630
+ box-sizing: border-box;
2631
+ display: flex;
2632
+ align-items: center;
2633
+ justify-content: center;
2634
+ background-color: ${e=>e.error?e.theme.errorFilePreviewBackgroundColor:e.theme.filePreviewBackgroundColor};
2635
+ width: 48px;
2636
+ height: 48px;
2637
+ padding: 15px;
2638
+ border-radius: 2px;
2639
+ color: ${e=>e.error?e.theme.errorFilePreviewIconColor:e.theme.filePreviewIconColor};
2640
+ font-size: 18px;
2641
+ svg {
2642
+ height: 18px;
2643
+ width: 18px;
2644
+ }
2645
+ `,eb=Mo.div`
2646
+ flex-grow: 1;
2647
+ display: grid;
2648
+ grid-template-columns: auto min-content;
2649
+ grid-template-rows: min-content auto;
2650
+ column-gap: 0.25rem;
2651
+ `,ob=Mo.span`
2652
+ align-self: center;
2653
+ color: ${e=>e.theme.fileNameFontColor};
2654
+ font-family: ${e=>e.theme.fileItemFontFamily};
2655
+ font-size: ${e=>e.theme.fileItemFontSize};
2656
+ font-weight: ${e=>e.theme.fileItemFontWeight};
2657
+ line-height: ${e=>e.theme.fileItemLineHeight};
2658
+ white-space: pre;
2659
+ overflow: hidden;
2660
+ text-overflow: ellipsis;
2661
+ `,tb=Mo.span`
2662
+ display: flex;
2663
+ flex-wrap: wrap;
2664
+ align-content: center;
2665
+ padding: 3px;
2666
+ height: 18px;
2667
+ width: 18px;
2668
+ font-size: 18px;
2669
+ color: #d0011b;
2670
+ `,rb=Mo.span`
2671
+ color: ${e=>e.theme.errorMessageFontColor};
2672
+ font-family: ${e=>e.theme.errorMessageFontFamily};
2673
+ font-size: ${e=>e.theme.errorMessageFontSize};
2674
+ font-weight: ${e=>e.theme.errorMessageFontWeight};
2675
+ line-height: ${e=>e.theme.errorMessageLineHeight};
2676
+ `,Tn=Kf(Yf);import{jsx as ve,jsxs as Pr}from"react/jsx-runtime";var ha=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",db=(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),sb=ab(({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,_]=ua(!1),[x,b]=ua([]),L=`file-input-${lb()}`,B=k(),I=X(),H=C=>{if(C.size<a)return I.fileInput.fileSizeGreaterThanErrorMessage;if(C.size>c)return I.fileInput.fileSizeLessThanErrorMessage},R=async C=>(await Promise.all(C.map(T=>ha(T))).then(T=>C.map((P,M)=>({file:P,error:H(P),preview:T[M]})))).filter(T=>!db(T,x)),F=async C=>{let S=await R(s||C.length===1?C:[C[0]]),T=s?[...x,...S]:S;g?.(T)},w=C=>{let S=C.target.files,T=Object.keys(S).map(P=>S[P]);F(T),C.target.value=null},D=nb(C=>{let S=[...x],T=S.find(M=>M.file.name===C),P=S.indexOf(T);S.splice(P,1),g?.(S)},[x,g]),O=()=>{document.getElementById(L).click()},N=C=>{C.preventDefault(),C.stopPropagation()},Z=C=>{C.dataTransfer.items?.length>0&&_(!0)},E=C=>{C.currentTarget.contains(C.relatedTarget)||_(!1)},z=C=>{C.preventDefault(),C.stopPropagation(),_(!1);let S=C.dataTransfer.files;if(S?.length>0){let T=Object.keys(S).map(P=>S[P]);F(T)}};return ib(()=>{(async()=>{if(u){let S=await Promise.all(u.map(async T=>{if(T.preview)return T;{let P=await ha(T.file);return{...T,preview:P}}}));b(S)}})()},[u]),ve(cb,{theme:B.fileInput,children:Pr(mb,{margin:h,ref:v,children:[ve(gb,{htmlFor:L,disabled:m,children:t}),ve(pb,{disabled:m,children:i}),e==="file"?Pr(ub,{singleFileMode:!s&&x.length===1,children:[ve(fa,{id:L,type:"file",accept:l,multiple:s,onChange:w,disabled:m,readOnly:!0}),ve(Me,{mode:"secondary",label:r??(s?I.fileInput.multipleButtonLabelDefault:I.fileInput.singleButtonLabelDefault),onClick:O,disabled:m,size:{width:"fitContent"},tabIndex:y}),x.length>0&&ve(ba,{children:x.map((C,S)=>ve(Tn,{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:D,tabIndex:y},`file-${S}`))})]}):Pr(hb,{children:[ve(fa,{id:L,type:"file",accept:l,multiple:s,onChange:w,disabled:m,readOnly:!0}),Pr(fb,{isDragging:f,disabled:m,mode:e,onDrop:z,onDragEnter:Z,onDragOver:N,onDragLeave:E,children:[ve(Me,{mode:"secondary",label:r??I.fileInput.dropAreaButtonLabelDefault,onClick:O,disabled:m,size:{width:"fitContent"}}),e==="dropzone"?ve(bb,{disabled:m,children:n??(s?I.fileInput.multipleDropAreaLabelDefault:I.fileInput.singleDropAreaLabelDefault)}):ve(yb,{disabled:m,children:n??(s?I.fileInput.multipleDropAreaLabelDefault:I.fileInput.singleDropAreaLabelDefault)})]}),x.length>0&&ve(ba,{children:x.map((C,S)=>ve(Tn,{fileName:C.file.name,error:C.error,singleFileMode:!1,showPreview:d,preview:C.preview,type:C.file.type,onDelete:D,tabIndex:y},`file-${S}`))})]}),e==="file"&&!s&&x.length===1&&x[0].error&&ve(Cb,{children:x[0].error})]})})}),mb=We.div`
2677
+ display: flex;
2678
+ flex-direction: column;
2679
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2680
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2681
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2682
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2683
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2684
+ width: fit-content;
2685
+ `,gb=We.label`
2686
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
2687
+ font-family: ${e=>e.theme.labelFontFamily};
2688
+ font-size: ${e=>e.theme.labelFontSize};
2689
+ font-weight: ${e=>e.theme.labelFontWeight};
2690
+ line-height: ${e=>e.theme.labelLineHeight};
2691
+ `,pb=We.span`
2692
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
2693
+ font-family: ${e=>e.theme.helperTextFontFamily};
2694
+ font-size: ${e=>e.theme.helperTextFontSize};
2695
+ font-weight: ${e=>e.theme.helperTextFontWeight};
2696
+ line-height: ${e=>e.theme.helperTextLineHeight};
2697
+ `,ub=We.div`
2698
+ display: flex;
2699
+ ${e=>e.singleFileMode?"flex-direction: row; column-gap: 0.25rem;":"flex-direction: column; row-gap: 0.25rem;"}
2700
+ margin-top: 0.25rem;
2701
+ `,fa=We.input`
2702
+ display: none;
2703
+ `,ba=We.div`
2704
+ display: flex;
2705
+ flex-direction: column;
2706
+ row-gap: 0.25rem;
2707
+ `,hb=We.div`
2708
+ display: flex;
2709
+ flex-direction: column;
2710
+ row-gap: 0.25rem;
2711
+ margin-top: 0.25rem;
2712
+ `,fb=We.div`
2713
+ box-sizing: border-box;
2714
+ display: flex;
2715
+ ${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;"}
2716
+ align-items: center;
2717
+ width: 320px;
2718
+ padding: ${e=>e.mode==="filedrop"?`calc(4px - ${e.theme.dropBorderThickness}) 1rem calc(4px - ${e.theme.dropBorderThickness}) calc(4px - ${e.theme.dropBorderThickness})`:"1rem"};
2719
+ overflow: hidden;
2720
+ box-shadow: 0 0 0 2px transparent;
2721
+ border-radius: ${e=>e.theme.dropBorderRadius};
2722
+ border-width: ${e=>e.theme.dropBorderThickness};
2723
+ border-style: ${e=>e.theme.dropBorderStyle};
2724
+ border-color: ${e=>e.disabled?e.theme.disabledDropBorderColor:e.theme.dropBorderColor};
2725
+ ${e=>e.isDragging&&`
2726
+ background-color: ${e.theme.dragoverDropBackgroundColor};
2727
+ border-color: transparent;
2728
+ box-shadow: 0 0 0 2px ${e.theme.focusDropBorderColor};
2729
+ `}
2730
+ cursor: ${e=>e.disabled&&"not-allowed"};
2731
+ `,bb=We.div`
2732
+ display: -webkit-box;
2733
+ -webkit-box-orient: vertical;
2734
+ overflow: hidden;
2735
+ text-overflow: ellipsis;
2736
+ -webkit-line-clamp: 3;
2737
+ text-align: center;
2738
+ color: ${e=>e.disabled?e.theme.disabledDropLabelFontColor:e.theme.dropLabelFontColor};
2739
+ font-family: ${e=>e.theme.dropLabelFontFamily};
2740
+ font-size: ${e=>e.theme.dropLabelFontSize};
2741
+ font-weight: ${e=>e.theme.dropLabelFontWeight};
2742
+ `,yb=We.span`
2743
+ overflow: hidden;
2744
+ white-space: nowrap;
2745
+ text-overflow: ellipsis;
2746
+ color: ${e=>e.disabled?e.theme.disabledDropLabelFontColor:e.theme.dropLabelFontColor};
2747
+ font-family: ${e=>e.theme.dropLabelFontFamily};
2748
+ font-size: ${e=>e.theme.dropLabelFontSize};
2749
+ font-weight: ${e=>e.theme.dropLabelFontWeight};
2750
+ `,Cb=We.div`
2751
+ color: ${e=>e.theme.errorMessageFontColor};
2752
+ font-family: ${e=>e.theme.errorMessageFontFamily};
2753
+ font-size: ${e=>e.theme.errorMessageFontSize};
2754
+ font-weight: ${e=>e.theme.errorMessageFontWeight};
2755
+ line-height: ${e=>e.theme.errorMessageLineHeight};
2756
+ margin-top: 0.25rem;
2757
+ `,xb=sb;import ya from"styled-components";import{jsx as Tb}from"react/jsx-runtime";var _b=ya.div`
2758
+ display: grid;
2759
+ ${({templateColumns:e})=>e&&`grid-template-columns: ${e.join(" ")};`}
2760
+ ${({templateRows:e})=>e&&`grid-template-rows: ${e.join(" ")};`}
2761
+ ${({templateAreas:e})=>e&&`grid-template-areas: ${e.map(t=>`"${t}"`).join(" ")};`}
2762
+ ${({autoColumns:e})=>e&&`grid-auto-columns: ${e};`}
2763
+ ${({autoRows:e})=>e&&`grid-auto-rows: ${e};`}
2764
+ ${({autoFlow:e})=>e&&`grid-auto-flow: ${e};`}
2765
+ ${({gap:e})=>e!=null&&(typeof e=="string"?`gap: ${e};`:`row-gap: ${e.rowGap??""}; column-gap: ${e.columnGap??""};`)}
2766
+ ${({placeItems:e})=>e&&(typeof e=="string"?`place-items: ${e}`:`align-items: ${e.alignItems??""}; justify-items: ${e.justifyItems??""};`)}
2767
+ ${({placeContent:e})=>e&&(typeof e=="string"?`place-content: ${e}`:`align-content: ${e.alignContent??""}; justify-content: ${e.justifyContent??""};`)}
2768
+
2769
+ ${({areaName:e})=>e&&`grid-area: ${e};`}
2770
+ ${({column:e})=>e&&`grid-column: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2771
+ ${({row:e})=>e&&`grid-row: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2772
+ ${({placeSelf:e})=>e&&(typeof e=="string"?`place-self: ${e}`:`align-self: ${e.alignSelf??""}; justify-self: ${e.justifySelf??""};`)}
2773
+ `,$b=ya.div`
2774
+ ${({areaName:e})=>e&&`grid-area: ${e};`}
2775
+ ${({column:e})=>e&&`grid-column: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2776
+ ${({row:e})=>e&&`grid-row: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2777
+ ${({placeSelf:e})=>e&&(typeof e=="string"?`place-self: ${e}`:`align-self: ${e.alignSelf??""}; justify-self: ${e.justifySelf??""};`)}
2778
+ `,Ca=e=>Tb(_b,{...e});Ca.Item=$b;var vb=Ca;import lt,{ThemeProvider as kb}from"styled-components";import{jsx as Eo}from"react/jsx-runtime";var Fb=({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 Eo(kb,{theme:l.heading,children:Eo(wb,{margin:i,children:e===1?Eo(Sb,{as:a(),weight:n,children:t}):e===2?Eo(Ib,{as:a(),weight:n,children:t}):e===3?Eo(Bb,{as:a(),weight:n,children:t}):e===4?Eo(Pb,{as:a(),weight:n,children:t}):Eo(Lb,{as:a(),weight:n,children:t})})})},wb=lt.div`
2779
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2780
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2781
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2782
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2783
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2784
+ `,Sb=lt.h1`
2785
+ font-family: ${e=>e.theme.level1FontFamily};
2786
+ font-style: ${e=>e.theme.level1FontStyle};
2787
+ font-size: ${e=>e.theme.level1FontSize};
2788
+ line-height: ${e=>e.theme.level1LineHeight};
2789
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level1FontWeight};
2790
+ letter-spacing: ${e=>e.theme.level1LetterSpacing};
2791
+ color: ${e=>e.theme.level1FontColor};
2792
+ margin: 0;
2793
+ `,Ib=lt.h2`
2794
+ font-family: ${e=>e.theme.level2FontFamily};
2795
+ font-style: ${e=>e.theme.level2FontStyle};
2796
+ font-size: ${e=>e.theme.level2FontSize};
2797
+ line-height: ${e=>e.theme.level2LineHeight};
2798
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level2FontWeight};
2799
+ letter-spacing: ${e=>e.theme.level2LetterSpacing};
2800
+ color: ${e=>e.theme.level2FontColor};
2801
+ margin: 0;
2802
+ `,Bb=lt.h3`
2803
+ font-family: ${e=>e.theme.level3FontFamily};
2804
+ font-style: ${e=>e.theme.level3FontStyle};
2805
+ font-size: ${e=>e.theme.level3FontSize};
2806
+ line-height: ${e=>e.theme.level3LineHeight};
2807
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level3FontWeight};
2808
+ letter-spacing: ${e=>e.theme.level3LetterSpacing};
2809
+ color: ${e=>e.theme.level3FontColor};
2810
+ margin: 0;
2811
+ `,Pb=lt.h4`
2812
+ font-family: ${e=>e.theme.level4FontFamily};
2813
+ font-style: ${e=>e.theme.level4FontStyle};
2814
+ font-size: ${e=>e.theme.level4FontSize};
2815
+ line-height: ${e=>e.theme.level4LineHeight};
2816
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level4FontWeight};
2817
+ letter-spacing: ${e=>e.theme.level4LetterSpacing};
2818
+ color: ${e=>e.theme.level4FontColor};
2819
+ margin: 0;
2820
+ `,Lb=lt.h5`
2821
+ font-family: ${e=>e.theme.level5FontFamily};
2822
+ font-style: ${e=>e.theme.level5FontStyle};
2823
+ font-size: ${e=>e.theme.level5FontSize};
2824
+ line-height: ${e=>e.theme.level5LineHeight};
2825
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level5FontWeight};
2826
+ letter-spacing: ${e=>e.theme.level5LetterSpacing};
2827
+ color: ${e=>e.theme.level5FontColor};
2828
+ margin: 0;
2829
+ `,kn=Fb;import Db,{ThemeProvider as zb}from"styled-components";import{Fragment as Eb,jsx as Wt,jsxs as Wb}from"react/jsx-runtime";var Ab=({condition:e,wrapper:t,children:r})=>Wt(Eb,{children:e?t(r):r}),Rb=({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 Wt(zb,{theme:u.image,children:Wt(Ab,{condition:t!=null,wrapper:h=>Wb(Hb,{children:[h,Wt($e,{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:Wt("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}})})})},Hb=Db.figure`
2830
+ display: flex;
2831
+ flex-direction: column;
2832
+ gap: 1rem;
2833
+ width: fit-content;
2834
+ margin: 0;
2835
+ padding: 0;
2836
+ `,Mb=Rb;import Ob from"styled-components";import{jsx as Vb}from"react/jsx-runtime";var Lr=e=>e||"0rem",Gb=Ob.div`
2837
+ ${({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a})=>`
2838
+ padding: ${Lr(n||r||e)} ${Lr(i||t||e)}
2839
+ ${Lr(l||r||e)} ${Lr(a||t||e)};
2840
+ `}
2841
+ `,Nb=({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c})=>Vb(Gb,{space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c}),Zo=Nb;import{forwardRef as jb}from"react";import Fn,{ThemeProvider as Xb}from"styled-components";import{jsx as Dr,jsxs as qb}from"react/jsx-runtime";var Jb=Fn.a`
2842
+ all: unset;
2843
+ display: inline-flex;
2844
+ align-items: baseline;
2845
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2846
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2847
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2848
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2849
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2850
+ background: none;
2851
+ border: none;
2852
+ border-radius: 4px;
2853
+ width: fit-content;
2854
+ ${e=>`padding-bottom: ${e.theme.underlineSpacing};`}
2855
+ font-family: ${e=>e.theme.fontFamily};
2856
+ font-size: ${e=>e.theme.fontSize};
2857
+ font-style: ${e=>e.theme.fontStyle};
2858
+ font-weight: ${e=>e.theme.fontWeight};
2859
+ line-height: ${o.type_leading_compact_02};
2860
+ text-decoration: none;
2861
+ color: ${e=>e.inheritColor?"inherit":e.disabled?e.theme.disabledFontColor:e.theme.fontColor};
2862
+ ${e=>e.disabled?"cursor: default;":"cursor: pointer;"}
2863
+ ${e=>e.disabled?"pointer-events: none;":""}
2864
+
2865
+ &:visited {
2866
+ color: ${e=>!e.inheritColor&&!e.disabled?e.theme.visitedFontColor:""};
2867
+ & > span:hover {
2868
+ ${e=>`color: ${e.theme.visitedFontColor};
2869
+ border-bottom-color: ${e.theme.visitedUnderlineColor};`}
2870
+ }
2871
+ }
2872
+ &:focus {
2873
+ outline: 2px solid ${e=>e.theme.focusColor};
2874
+ outline-offset: 2px;
2875
+ ${e=>e.disabled&&"outline: none"}
2876
+ }
2877
+ `,Kb=Fn.span`
2878
+ ${e=>`border-bottom: ${e.theme.underlineThickness} ${e.theme.underlineStyle} transparent;`}
2879
+ display: inline-flex;
2880
+ align-items: center;
2881
+ ${e=>e.iconPosition==="before"?"flex-direction: row-reverse;":""}
2882
+ gap: ${e=>e.theme.iconSpacing};
2883
+
2884
+ &:hover {
2885
+ ${e=>`color: ${e.theme.hoverFontColor};
2886
+ cursor: pointer;
2887
+ border-bottom-color: ${e.theme.hoverUnderlineColor};`}
2888
+ }
2889
+ &:active {
2890
+ ${e=>`color: ${e.theme.activeFontColor} !important;
2891
+ border-bottom-color: ${e.theme.activeUnderlineColor} !important;`}
2892
+ }
2893
+ `,Ub=Fn.div`
2894
+ display: flex;
2895
+ font-size: ${e=>e.theme.iconSize};
2896
+ svg {
2897
+ width: ${e=>e.theme.iconSize};
2898
+ height: ${e=>e.theme.iconSize};
2899
+ }
2900
+ `,Yb=jb(({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 Dr(Xb,{theme:u.link,children:Dr(Jb,{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:qb(Kb,{iconPosition:n,inheritColor:e,children:[s,r&&Dr(Ub,{children:typeof r=="string"?Dr($,{icon:r}):r})]})})})}),Zb=Yb;import{Children as c0,useEffect as d0,useMemo as s0,useRef as m0,useState as $a}from"react";import va,{ThemeProvider as g0}from"styled-components";import{createContext as Qb}from"react";var zr=Qb(null);import{forwardRef as e0,useContext as o0,useEffect as t0,useRef as r0}from"react";import wn from"styled-components";import{jsx as Ot,jsxs as xa}from"react/jsx-runtime";var n0=e0(({href:e,active:t=!1,icon:r,disabled:n=!1,notificationNumber:i=!1,children:l,...a},c)=>{let d=r0(),s=k(),{iconPosition:m,tabIndex:g,focusedLabel:u}=o0(zr);t0(()=>{u===l.toString()&&d?.current?.focus()},[u]);let h=y=>{switch(y.key){case" ":case"Enter":y.preventDefault(),d?.current?.click();break}};return Ot(i0,{active:t,children:xa(l0,{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&&Ot(a0,{iconPosition:m,active:t,disabled:n,children:typeof r=="string"?Ot($,{icon:r}):r}),xa(te,{alignItems:"center",gap:"0.5rem",children:[Ot($e,{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&&Ot(Do,{mode:"notification",size:"small",label:typeof i=="number"&&i})]})]})})}),i0=wn.div`
2901
+ align-items: stretch;
2902
+ border-bottom: 2px solid ${e=>e.active?e.theme.selectedUnderlineColor:"transparent"};
2903
+ padding: 0.5rem;
2904
+ `,l0=wn.a`
2905
+ box-sizing: border-box;
2906
+ display: flex;
2907
+ flex-direction: ${e=>e.hasIcon&&e.iconPosition==="top"?"column":"row"};
2908
+ justify-content: center;
2909
+ align-items: center;
2910
+ gap: ${e=>e.hasIcon&&e.iconPosition==="top"?"0.375rem":"0.625rem"};
2911
+ height: ${e=>e.hasIcon&&e.iconPosition==="top"?"78px":"100%"};
2912
+ min-width: 176px;
2913
+ min-height: 44px;
2914
+ padding: 0.375rem;
2915
+ border-radius: 4px;
2916
+ background: ${e=>e.active?e.theme.selectedBackgroundColor:e.theme.unselectedBackgroundColor};
2917
+ text-decoration-color: transparent;
2918
+ text-decoration-line: none;
2919
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
2920
+
2921
+ ${e=>!e.disabled&&`
2922
+ :hover {
2923
+ background: ${e.theme.hoverBackgroundColor};
2924
+ }
2925
+ :focus {
2926
+ outline: 2px solid ${e.theme.focusOutline};
2927
+ }
2928
+ :active {
2929
+ background: ${e.theme.pressedBackgroundColor};
2930
+ outline: 2px solid #33aaff};
2931
+ }
2932
+ `}
2933
+ `,a0=wn.div`
2934
+ display: flex;
2935
+ font-size: 24px;
2936
+ color: ${e=>e.active?e.theme.selectedIconColor:e.disabled?e.theme.disabledIconColor:e.theme.unselectedIconColor};
2937
+ svg {
2938
+ height: 24px;
2939
+ width: 24px;
2940
+ }
2941
+ `,_a=n0;import{jsx as Sn,jsxs as y0}from"react/jsx-runtime";var Ar=(e,t)=>e.props?e.props[t]?e.props[t]:e.props.children?Ar(e.props.children,t):void 0:void 0,In=e=>{if(typeof e=="string")return e.toString();if(e.props.children)return Array.isArray(e.props.children)?In(e.props.children[0]):In(e.props.children)},p0=(e,t)=>{let r=t===0?e.length-1:t-1;for(;Ar(e[r],"disabled");)r=r===0?e.length-1:r-1;return r},u0=(e,t)=>{let r=t===e.length-1?0:t+1;for(;Ar(e[r],"disabled");)r=r===e.length-1?0:r+1;return r},Ta=({iconPosition:e="top",tabIndex:t=0,children:r})=>{let[n,i]=$a(null),[l,a]=$a(null),c=m0(null),d=k();d0(()=>{a(c?.current?.scrollWidth)},[r]);let s=s0(()=>({iconPosition:e,tabIndex:t,focusedLabel:n===null?void 0:In(r[n])}),[e,t,n]),m=g=>{let u=c0.toArray(r).findIndex(h=>Ar(h,"active"));switch(g.key){case"Left":case"ArrowLeft":g.preventDefault(),i(p0(r,n===null?u:n));break;case"Right":case"ArrowRight":g.preventDefault(),i(u0(r,n===null?u:n));break}};return Sn(g0,{theme:d.navTabs,children:y0(f0,{onKeyDown:m,ref:c,role:"tablist","aria-label":"Navigation tabs",children:[Sn(zr.Provider,{value:s,children:r}),Sn(h0,{underlineWidth:l})]})})},h0=va.div`
2942
+ position: absolute;
2943
+ bottom: 0;
2944
+ left: 0;
2945
+ height: 2px;
2946
+ background-color: ${e=>e.theme.dividerColor};
2947
+ z-index: -1;
2948
+ width: ${e=>e.underlineWidth}px;
2949
+ `;Ta.Tab=_a;var f0=va.div`
2950
+ display: flex;
2951
+ position: relative;
2952
+ overflow: auto;
2953
+ z-index: 0;
2954
+ `,b0=Ta;import{forwardRef as C0,useEffect as x0,useRef as _0}from"react";import $0 from"styled-components";import{jsx as Bn}from"react/jsx-runtime";var v0=C0(({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:L},B)=>{let I=_0(null);return x0(()=>{let H=I.current?.getElementsByTagName("input")[0],R=F=>{F.preventDefault()};return H?.addEventListener("wheel",R,{passive:!1}),()=>{H?.removeEventListener("wheel",R)}},[]),Bn(wr.Provider,{value:{typeNumber:"number",minNumber:g,maxNumber:u,stepNumber:h},children:Bn(T0,{ref:I,size:b,children:Bn(mo,{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:L,ref:B})})})}),T0=$0.div`
2955
+ ${e=>e.size=="fillParent"&&"width: 100%;"}
2956
+ // Chrome, Safari, Edge, Opera
2957
+ input::-webkit-outer-spin-button,
2958
+ input::-webkit-inner-spin-button {
2959
+ -webkit-appearance: none;
2960
+ margin: 0;
2961
+ }
2962
+
2963
+ // Firefox
2964
+ input[type="number"] {
2965
+ -moz-appearance: textfield;
2966
+ }
2967
+ `,k0=v0;import{jsx as S0}from"react/jsx-runtime";var F0=({children:e})=>{let t=k();return S0($e,{as:"p",display:t.paragraph.display,fontSize:t.paragraph.fontSize,fontWeight:t.paragraph.fontWeight,color:t.paragraph.fontColor,children:e})},w0=F0;import{forwardRef as I0,useEffect as B0,useRef as P0,useState as L0}from"react";import D0 from"styled-components";import{jsx as wa}from"react/jsx-runtime";var ka=(e,t)=>{t?.getElementsByTagName("input")[0].setAttribute("type",e)},Fa=(e,t,r)=>{let n=r?.getElementsByTagName("button")[0];n?.setAttribute("aria-expanded",e),n?.setAttribute("aria-label",t)},z0=I0(({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,_]=L0(!1),x=P0(null),{passwordInput:b}=X();return B0(()=>{f?(ka("text",x.current),Fa("true",b.inputHidePasswordTitle,x.current)):(ka("password",x.current),Fa("false",b.inputShowPasswordTitle,x.current))},[f,b]),wa(A0,{ref:v,role:"group",size:h,children:wa(mo,{label:e,name:t,value:r,helperText:n,action:{onClick:()=>{_(L=>!L)},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})})}),A0=D0.div`
2968
+ ${e=>e.size=="fillParent"&&"width: 100%;"}
2969
+ & ::-ms-reveal {
2970
+ display: none;
2971
+ }
2972
+ `,R0=z0;import{useEffect as H0,useState as M0}from"react";import ko,{ThemeProvider as E0}from"styled-components";import{jsx as at,jsxs as Pn}from"react/jsx-runtime";var W0=({label:e="",helperText:t="",overlay:r=!1,value:n,showValue:i=!1,margin:l})=>{let a=k(),[c,d]=M0(0);return H0(()=>{d(n==null||n<0?0:n>=0&&n<=100?n:100)},[n]),at(E0,{theme:a.progressBar,children:at(O0,{overlay:r,children:Pn(G0,{overlay:r,margin:l,children:[Pn(N0,{children:[at(V0,{overlay:r,children:e}),Pn(j0,{overlay:r,showValue:i,value:c,children:[c," %"]})]}),at(J0,{role:"progressbar",helperText:t,"aria-valuenow":i?c:void 0,"aria-valuemin":0,"aria-valuemax":100,"aria-label":e||"Progress Bar",children:at(K0,{variant:n==null?"indeterminate":"determinate",container:"first",value:c})}),t&&at(X0,{overlay:r,children:t})]})})})},O0=ko.div`
2973
+ ${({overlay:e,theme:t})=>e?`background-color: ${t.overlayColor};
2974
+ width: 100%;
2975
+ justify-content: center;
2976
+ height: 100vh;
2977
+ align-items: center;
2978
+ max-width: 100%;
2979
+ position: fixed;
2980
+ top: 0;
2981
+ bottom: 0;
2982
+ left: 0;
2983
+ right: 0;
2984
+ z-index: 1300;`:'background-color: "transparent";'}
2985
+ display: flex;
2986
+ flex-wrap: wrap;
2987
+ min-width: 100px;
2988
+ width: 100%;
2989
+ `,G0=ko.div`
2990
+ z-index: ${e=>e.overlay===!0&&"100"||"0"};
2991
+ width: ${e=>e.overlay===!0?"80%":"100%"};
2992
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2993
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2994
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2995
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2996
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2997
+ `,N0=ko.div`
2998
+ display: flex;
2999
+ flex-direction: row;
3000
+ width: 685px;
3001
+ flex-wrap: wrap;
3002
+ width: 100%;
3003
+ margin-bottom: 8px;
3004
+ align-items: baseline;
3005
+ justify-content: space-between;
3006
+ `,V0=ko.div`
3007
+ font-family: ${e=>e.theme.labelFontFamily};
3008
+ font-style: ${e=>e.theme.labelFontStyle};
3009
+ font-size: ${e=>e.theme.labelFontSize};
3010
+ font-weight: ${e=>e.theme.labelFontWeight};
3011
+ text-transform: ${e=>e.theme.labelFontTextTransform};
3012
+ color: ${e=>e.overlay===!0?e.theme.overlayFontColor:e.theme.labelFontColor};
3013
+ overflow: hidden;
3014
+ text-overflow: ellipsis;
3015
+ white-space: nowrap;
3016
+ text-overflow: ellipsis;
3017
+ `,j0=ko.div`
3018
+ font-family: ${e=>e.theme.valueFontFamily};
3019
+ font-style: ${e=>e.theme.valueFontStyle};
3020
+ font-size: ${e=>e.theme.valueFontSize};
3021
+ font-weight: ${e=>e.theme.valueFontWeight};
3022
+ text-transform: ${e=>e.theme.valueFontTextTransform};
3023
+ color: ${e=>e.overlay===!0?e.theme.overlayFontColor:e.theme.valueFontColor};
3024
+ display: ${e=>e.value!==void 0&&e.value!==null&&e.showValue===!0&&"block"||"none"};
3025
+ flex-shrink: 0;
3026
+ `,X0=ko.span`
3027
+ color: ${e=>e.overlay===!0?e.theme.overlayFontColor:e.theme.helperTextFontColor};
3028
+ font-family: ${e=>e.theme.helperTextFontFamily};
3029
+ font-size: ${e=>e.theme.helperTextFontSize};
3030
+ font-style: ${e=>e.theme.helperTextFontStyle};
3031
+ font-weight: ${e=>e.theme.helperTextFontWeight};
3032
+ line-height: 1.5em;
3033
+ `,J0=ko.div`
3034
+ height: ${e=>e.theme.thickness};
3035
+ background-color: ${e=>e.theme.totalLineColor};
3036
+ border-radius: ${e=>e.theme.borderRadius};
3037
+ margin-bottom: ${e=>e.helperText!==""&&"8px"};
3038
+ overflow: hidden;
3039
+ position: relative;
3040
+ `,K0=ko.span`
3041
+ background-color: ${e=>e.theme.trackLineColor};
3042
+ transform: ${e=>`translateX(-${e.variant==="determinate"?100-e.value:0}%)`};
3043
+ top: 0;
3044
+ left: 0;
3045
+ width: 100%;
3046
+ bottom: 0;
3047
+ position: absolute;
3048
+ transition: ${e=>e.variant==="determinate"?"transform .4s linear":"transform 0.2s linear"};
3049
+ transform-origin: left;
3050
+ ${e=>e.variant==="indeterminate"&&"width: auto;"};
3051
+ ${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;":""};
3052
+
3053
+ @keyframes keyframes-indeterminate-first {
3054
+ 0% {
3055
+ left: -35%;
3056
+ right: 100%;
3057
+ }
3058
+ 60% {
3059
+ left: 100%;
3060
+ right: -90%;
3061
+ }
3062
+ 100% {
3063
+ left: 100%;
3064
+ right: -90%;
3065
+ }
3066
+ }
3067
+
3068
+ @keyframes keyframes-indeterminate-second {
3069
+ 0% {
3070
+ left: -200%;
3071
+ right: 100%;
3072
+ }
3073
+ 60% {
3074
+ left: 107%;
3075
+ right: -8%;
3076
+ }
3077
+ 100% {
3078
+ left: 107%;
3079
+ right: -8%;
3080
+ }
3081
+ }
3082
+ `,U0=W0;import Ln from"slugify";import Rr,{ThemeProvider as Y0}from"styled-components";import{jsx as ze,jsxs as Ia}from"react/jsx-runtime";var Z0=({title:e,links:t})=>{let r=X(),n=k();return ze(Y0,{theme:n.quickNav,children:ze(q0,{children:Ia(te,{direction:"column",gap:"0.5rem",children:[ze(kn,{level:4,text:e||r.quickNav.contentTitle}),ze(Q0,{children:t.map(i=>ze("li",{children:ze(Zo,{space:"0.25rem",children:Ia(zo,{children:[ze(Sa,{href:`#${Ln(i?.label,{lower:!0})}`,children:i?.label}),ze(ey,{children:i.links?.map(l=>ze("li",{children:ze(Zo,{horizontal:"0.5rem",children:ze(zo,{children:ze(Sa,{href:`#${Ln(i?.label,{lower:!0})}-${Ln(l?.label,{lower:!0})}`,children:l?.label})})})},l.label))})]})})},i.label))})]})})})},q0=Rr.div`
3083
+ padding-top: ${e=>e.theme.paddingTop};
3084
+ padding-bottom: ${e=>e.theme.paddingBottom};
3085
+ padding-left: ${e=>e.theme.paddingLeft};
3086
+ padding-right: ${e=>e.theme.paddingRight};
3087
+ border-left: 2px solid ${e=>e.theme.dividerBorderColor};
3088
+ `,Q0=Rr.ul`
3089
+ display: flex;
3090
+ flex-direction: column;
3091
+ gap: 0.5rem;
3092
+ margin: 0;
3093
+ padding: 0;
3094
+ list-style-type: none;
3095
+ `,ey=Rr.ul`
3096
+ display: flex;
3097
+ flex-direction: column;
3098
+ margin: 0;
3099
+ padding: 0;
3100
+ list-style-type: none;
3101
+ `,Sa=Rr.a`
3102
+ text-decoration: none;
3103
+ font-size: ${e=>e.theme.fontSize};
3104
+ font-family: ${e=>e.theme.fontFamily};
3105
+ font-style: ${e=>e.theme.fontStyle};
3106
+ font-weight: ${e=>e.theme.fontWeight};
3107
+ color: ${e=>e.theme.fontColor};
3108
+ display: block;
3109
+ text-overflow: ellipsis;
3110
+ white-space: nowrap;
3111
+ overflow: hidden;
3112
+ width: fit-content;
3113
+ max-width: 100%;
3114
+
3115
+ &:hover {
3116
+ color: ${e=>e.theme.hoverFontColor};
3117
+ }
3118
+ &:focus {
3119
+ outline-color: ${e=>e.theme.focusBorderColor};
3120
+ outline-style: ${e=>e.theme.focusBorderStyle};
3121
+ outline-width: ${e=>e.theme.focusBorderThickness};
3122
+ border-radius: ${e=>e.theme.focusBorderRadius};
3123
+ }
3124
+ `,oy=Z0;import{forwardRef as py,useCallback as uy,useId as hy,useMemo as fy,useState as An}from"react";import Wo,{ThemeProvider as by}from"styled-components";import{memo as ty,useEffect as ry,useId as ny,useRef as iy,useState as ly}from"react";import Gt,{ThemeProvider as ay}from"styled-components";import{jsx as ct,jsxs as gy}from"react/jsx-runtime";var cy=({label:e,checked:t,onClick:r,error:n,disabled:i,focused:l,readOnly:a,tabIndex:c})=>{let d=`radio-${ny()}`,s=iy(null),m=k(),g=()=>{r(),document.activeElement!==s?.current&&s?.current?.focus()},[u,h]=ly(!0);return ry(()=>{if(u){h(!1);return}l&&s?.current?.focus()},[l]),ct(ay,{theme:m.radioGroup,children:ct(te,{children:gy(my,{error:n,disabled:i,readOnly:a,onClick:i?void 0:g,children:[ct(dy,{children:ct(Dn,{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&&ct(zn,{disabled:i,readOnly:a,error:n})})}),ct(sy,{id:d,disabled:i,children:e})]})})})},dt=(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}},dy=Gt.span`
3125
+ display: flex;
3126
+ align-items: center;
3127
+ justify-content: center;
3128
+ height: 24px;
3129
+ width: 24px;
3130
+ `,Dn=Gt.span`
3131
+ box-sizing: border-box;
3132
+ display: flex;
3133
+ align-items: center;
3134
+ justify-content: center;
3135
+ width: 18px;
3136
+ height: 18px;
3137
+ border: 2px solid ${e=>dt(e,"enabled")};
3138
+ border-radius: 50%;
3139
+
3140
+ &:focus {
3141
+ outline: 2px solid ${e=>e.theme.focusBorderColor};
3142
+ outline-offset: 1px;
3143
+ }
3144
+ ${e=>e.disabled&&"pointer-events: none;"}
3145
+ `,zn=Gt.span`
3146
+ height: 10px;
3147
+ width: 10px;
3148
+ border-radius: 50%;
3149
+ background-color: ${e=>dt(e,"enabled")};
3150
+ `,sy=Gt.span`
3151
+ margin-left: ${e=>e.theme.radioInputLabelMargin};
3152
+ font-family: ${e=>e.theme.fontFamily};
3153
+ font-size: ${e=>e.theme.radioInputLabelFontSize};
3154
+ font-style: ${e=>e.theme.radioInputLabelFontStyle};
3155
+ font-weight: ${e=>e.theme.radioInputLabelFontWeight};
3156
+ line-height: ${e=>e.theme.radioInputLabelLineHeight};
3157
+ ${e=>e.disabled?`color: ${e.theme.disabledRadioInputLabelFontColor};`:`color: ${e.theme.radioInputLabelFontColor}`}
3158
+ `,my=Gt.span`
3159
+ display: inline-flex;
3160
+ align-items: center;
3161
+ cursor: ${e=>e.disabled?"not-allowed":e.readOnly?"default":"pointer"};
3162
+
3163
+ &:hover {
3164
+ ${Dn} {
3165
+ border-color: ${e=>!e.disabled&&dt(e,"hover")};
3166
+ }
3167
+ ${zn} {
3168
+ background-color: ${e=>!e.disabled&&dt(e,"hover")};
3169
+ }
3170
+ }
3171
+ &:active {
3172
+ ${Dn} {
3173
+ border-color: ${e=>!e.disabled&&dt(e,"active")};
3174
+ }
3175
+ ${zn} {
3176
+ background-color: ${e=>!e.disabled&&dt(e,"active")};
3177
+ }
3178
+ }
3179
+ `,Ba=ty(cy);import{jsx as st,jsxs as Rn}from"react/jsx-runtime";var yy=(e,t)=>{let r=e.findIndex(n=>n.value===t);return r!==-1?r:0},Cy=py(({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-${hy()}`,_=`label-${f}`,x=`error-${f}`,[b,L]=An(s),[B,I]=An(!0),H=k(),R=X(),F=fy(()=>l?[...n,{label:a??R.radioGroup.optionalItemLabelDefault,value:"",disabled:i}]:n,[l,n,a,R]),[w,D]=An(yy(F,m??b)),O=uy(S=>{S!==(m??b)&&!c&&(m??L(S),g?.(S))},[m,b,g]),N=S=>{if(!S.currentTarget.contains(S.relatedTarget)){I(!0);let T=m??b;u?.(!l&&!T?{value:T,error:R.formFields.requiredSelectionErrorMessage}:{value:T})}},Z=()=>{B&&I(!1)},E=()=>{D(S=>{let T=S===0?F.length-1:S-1;for(;F[T].disabled;)T=T===0?F.length-1:T-1;return O(F[T].value),T})},z=()=>{D(S=>{let T=S===F.length-1?0:S+1;for(;F[T].disabled;)T=T===F.length-1?0:T+1;return O(F[T].value),T})},C=S=>{switch(S.key){case"Left":case"ArrowLeft":case"Up":case"ArrowUp":S.preventDefault(),E();break;case"Right":case"ArrowRight":case"Down":case"ArrowDown":S.preventDefault(),z();break;case" ":S.preventDefault(),O(F[w].value);break}};return st(by,{theme:H.radioGroup,children:Rn(xy,{ref:v,children:[e&&Rn(_y,{id:_,helperText:r,disabled:i,children:[e,l&&st($y,{children:` ${R.formFields.optionalLabel}`})]}),r&&st(vy,{disabled:i,children:r}),Rn(Ty,{onBlur:N,onFocus:Z,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:[st(ky,{name:t,disabled:i,value:m??b??"",readOnly:!0}),F.map((S,T)=>st(Ba,{label:S.label,checked:(m??b)===S.value,onClick:()=>{O(S.value),D(T)},error:h,disabled:S.disabled||i,focused:w===T,readOnly:c,tabIndex:y},`radio-${T}`))]}),!i&&typeof h=="string"&&st(Fy,{id:x,role:"alert","aria-live":h?"assertive":"off",children:h})]})})}),xy=Wo.div`
3180
+ box-sizing: border-box;
3181
+ display: inline-flex;
3182
+ flex-direction: column;
3183
+ `,_y=Wo.span`
3184
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
3185
+ font-family: ${e=>e.theme.fontFamily};
3186
+ font-size: ${e=>e.theme.labelFontSize};
3187
+ font-style: ${e=>e.theme.labelFontStyle};
3188
+ font-weight: ${e=>e.theme.labelFontWeight};
3189
+ line-height: ${e=>e.theme.labelLineHeight};
3190
+ ${e=>!e.helperText&&`margin-bottom: ${e.theme.groupLabelMargin}`}
3191
+ `,$y=Wo.span`
3192
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
3193
+ `,vy=Wo.span`
3194
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
3195
+ font-family: ${e=>e.theme.fontFamily};
3196
+ font-size: ${e=>e.theme.helperTextFontSize};
3197
+ font-style: ${e=>e.theme.helperTextFontStyle};
3198
+ font-weight: ${e=>e.theme.helperTextFontWeight};
3199
+ line-height: ${e=>e.theme.helperTextLineHeight};
3200
+ margin-bottom: ${e=>e.theme.groupLabelMargin};
3201
+ `,Ty=Wo.div`
3202
+ display: flex;
3203
+ flex-wrap: wrap;
3204
+ flex-direction: ${e=>e.stacking};
3205
+ row-gap: ${e=>e.theme.groupVerticalGutter};
3206
+ column-gap: ${e=>e.theme.groupHorizontalGutter};
3207
+ `,ky=Wo.input`
3208
+ display: none;
3209
+ `,Fy=Wo.span`
3210
+ min-height: 1.5em;
3211
+ color: ${e=>e.theme.errorMessageColor};
3212
+ font-family: ${e=>e.theme.fontFamily};
3213
+ font-size: 0.75rem;
3214
+ font-weight: 400;
3215
+ line-height: 1.5em;
3216
+ margin-top: 0.5rem;
3217
+ `,wy=Cy;import{useEffect as Iy,useMemo as Nt,useRef as By,useState as Mn}from"react";import Wn,{ThemeProvider as Py}from"styled-components";import{jsx as mt,jsxs as Hn}from"react/jsx-runtime";var Sy={arrowUp:Hn("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",fill:"currentColor",children:[mt("path",{d:"M0 0h24v24H0V0z",fill:"none"}),mt("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"})]}),arrowDown:Hn("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",fill:"currentColor",children:[mt("path",{d:"M0 0h24v24H0V0z",fill:"none"}),mt("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"})]}),bothArrows:Hn("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",fill:"currentColor",children:[mt("path",{d:"M0 0h24v24H0z",fill:"none"}),mt("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"})]})},Hr=Sy;import{jsx as qe,jsxs as En}from"react/jsx-runtime";var Pa=e=>typeof e=="string"?e.toUpperCase():e,La=e=>e instanceof Date,Ly=(e,t,r)=>r.slice().sort((n,i)=>{let l=Pa(n?.cells[e]?.sortValue||n?.cells[e]?.displayValue),a=Pa(i?.cells[e]?.sortValue||i?.cells[e]?.displayValue),c=0;return typeof l=="object"&&!La(l)?c=-1:typeof a=="object"&&!La(a)||l>a?c=1:l<a&&(c=-1),t==="descending"?c*-1:c}),Dy=(e,t,r)=>e===1?0:t*(r-1),zy=(e,t,r,n)=>e+t>r.length?r.length:t*n-1,Ay=e=>e.length>0?e.map((t,r)=>({cells:t,id:`row_${r}`})):[],Da=({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]=Mn(1),[h,y]=Mn(-1),[v,f]=Mn("ascending"),_=By(t.length),x=Nt(()=>Ay(t),[t]),b=Nt(()=>Dy(g,i,g),[i,g]),L=Nt(()=>zy(b,i,t,g),[i,b,g,t]),B=Nt(()=>h!==-1?Ly(h,v,x):x,[h,v,x]),I=Nt(()=>B&&B.slice(b,L+1),[B,b,L]),H=F=>{u(F)},R=F=>{u(1),y(F),f(h===-1||h!==F?"ascending":v==="ascending"?"descending":"ascending")};return Iy(()=>{if(!r){if(t.length===0)u(0);else if(g===0)u(1);else if(t.length<_.current){let F=Math.ceil(t.length/i),w=Math.ceil(_.current/i);F<w&&u(Math.min(F,g))}_.current=t.length}},[t.length]),qe(Py,{theme:m.table,children:En(Hy,{margin:c,children:[En(mn,{mode:s,children:[qe("thead",{children:qe("tr",{children:e.map((F,w)=>qe("th",{"aria-sort":F.isSortable?h===w?v:"none":void 0,children:En(My,{role:F.isSortable?"button":void 0,onClick:()=>{F.isSortable&&R(w)},tabIndex:F.isSortable?d:-1,isSortable:F.isSortable,mode:s,"aria-label":F.isSortable?"Sort column":void 0,children:[qe("span",{children:F.displayValue}),F.isSortable&&qe(Ey,{children:h===w?v==="ascending"?Hr.arrowUp:Hr.arrowDown:Hr.bothArrows})]},`headerContainer_${w}`)},`tableHeader_${w}`))})}),qe("tbody",{children:I.map(F=>qe("tr",{children:F.cells.map((w,D)=>qe("td",{children:w.displayValue},`resultSetTableCellContent_${D}`))},`resultSetTableCell_${F.id}`))})]}),!r&&qe(Lt,{totalItems:t.length,itemsPerPage:i,itemsPerPageOptions:l,itemsPerPageFunction:a,currentPage:g,showGoToPage:n,onPageChange:H,tabIndex:d})]})})},Ry=e=>`calc(100% - ${j(e,"left")} - ${j(e,"right")})`,Hy=Wn.div`
3218
+ width: ${e=>Ry(e.margin)};
3219
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3220
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3221
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3222
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3223
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3224
+ `,My=Wn.span`
3225
+ display: flex;
3226
+ align-items: center;
3227
+ justify-content: ${e=>e.theme.headerTextAlign==="center"?"center":e.theme.headerTextAlign==="right"?"flex-end":"flex-start"};
3228
+ gap: ${o.spacing_8};
3229
+ width: fit-content;
3230
+ border: 1px solid transparent;
3231
+ border-radius: 2px;
3232
+ cursor: ${e=>e.isSortable?"pointer":"default"};
3233
+
3234
+ ${e=>e.isSortable&&`&:focus {
3235
+ outline: #0095ff solid 2px;
3236
+ }`}
3237
+ `,Ey=Wn.span`
3238
+ display: flex;
3239
+ height: 14px;
3240
+ width: 14px;
3241
+ color: ${e=>e.theme.sortIconColor};
3242
+
3243
+ svg {
3244
+ height: 100%;
3245
+ width: 100%;
3246
+ }
3247
+ `;Da.ActionsCell=Dt;var Wy=Da;import{forwardRef as Oy,useId as Gy,useMemo as On,useState as za}from"react";import Ae,{ThemeProvider as Ny}from"styled-components";import{jsx as Qe,jsxs as Gn}from"react/jsx-runtime";var Vy=Oy(({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-${Gy()}`,[b,L]=za(r??0),[B,I]=za(!1),H=k(),R=navigator?.userAgent.indexOf("Firefox")!==-1,F=On(()=>y?y(l):l,[y,l]),w=On(()=>y?y(a):a,[y,a]),D=On(()=>{let z=Math.floor(a/c-l/c),C=a-l,S=[],T=0;if(g){for(;T<=z;)S.push(Qe(rC,{disabled:m,stepPosition:c*T/C,stepValue:(n??b)/a},`tickmark-${T}-${x}`)),T++;return S}else return null},[l,a,c,n,b]),O=z=>{let C=z.target.value;(C!==n||C!==b)&&L(C),u?.(C)},N=()=>{I(!0)},Z=z=>{B&&(I(!1),h?.(z.target.value))},E=z=>{let C=parseInt(z.value,10);n==null&&(Number.isNaN(C)||L(C>a?a:C)),Number.isNaN(C)||u?.(C>a?a:C)};return Qe(Ny,{theme:H.slider,children:Gn(Ky,{margin:v,size:f,ref:_,children:[Qe(Uy,{id:x,disabled:m,children:e}),Qe(Yy,{disabled:m,children:i}),Gn(qy,{children:[d&&Qe(Qy,{disabled:m,children:F}),Gn(oC,{children:[Qe(Zy,{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:O,onMouseUp:Z,onMouseDown:N}),g&&Qe(tC,{isFirefox:R,children:D})]}),d&&Qe(eC,{disabled:m,step:c,children:w}),s&&Qe(nC,{children:Qe(mo,{name:t,value:n!=null&&n>=0?n.toString():b.toString(),disabled:m,onChange:E,size:"fillParent"})})]})]})})}),Aa={medium:"360px",large:"480px",fillParent:"100%"},jy=(e,t)=>t==="fillParent"?`calc(${Aa[t]} - ${j(e,"left")} - ${j(e,"right")})`:Aa[t],Xy=()=>`
3248
+ width: 100%;
3249
+ margin-right: 4px;`,Jy=()=>`
3250
+ width: calc(100% - 16px);
3251
+ margin-right: 3px;`,Ky=Ae.div`
3252
+ display: flex;
3253
+ flex-direction: column;
3254
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3255
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3256
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3257
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3258
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3259
+ width: ${e=>jy(e.margin,e.size)};
3260
+ `,Uy=Ae.label`
3261
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
3262
+ font-family: ${e=>e.theme.fontFamily};
3263
+ font-size: ${e=>e.theme.labelFontSize};
3264
+ font-style: ${e=>e.theme.labelFontStyle};
3265
+ font-weight: ${e=>e.theme.labelFontWeight};
3266
+ line-height: ${e=>e.theme.labelLineHeight};
3267
+ `,Yy=Ae.span`
3268
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
3269
+ font-family: ${e=>e.theme.fontFamily};
3270
+ font-size: ${e=>e.theme.helperTextFontSize};
3271
+ font-style: ${e=>e.theme.helperTextFontStyle};
3272
+ font-weight: ${e=>e.theme.helperTextFontWeight};
3273
+ line-height: ${e=>e.theme.helperTextLineHeight};
3274
+ `,Zy=Ae.input`
3275
+ width: 100%;
3276
+ min-width: 240px;
3277
+ height: ${e=>e.theme.trackLineThickness};
3278
+ display: inline-block;
3279
+ vertical-align: middle;
3280
+ -webkit-appearance: none;
3281
+ background-color: ${e=>e.disabled?e.theme.disabledTotalLineColor+"61":e.theme.totalLineColor};
3282
+ background-image: ${e=>e.disabled?`linear-gradient(${e.theme.disabledTrackLineColor}, ${e.theme.disabledTrackLineColor})`:`linear-gradient(${e.theme.trackLineColor}, ${e.theme.trackLineColor})`};
3283
+ background-repeat: no-repeat;
3284
+ background-size: ${e=>(e.value-e.min)*100/(e.max-e.min)+"% 100%"};
3285
+ border-radius: 5px;
3286
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
3287
+ &::-webkit-slider-runnable-track {
3288
+ -webkit-appearance: none;
3289
+ box-shadow: none;
3290
+ border: none;
3291
+ background: transparent;
3292
+ margin: 0px -8px;
3293
+ }
3294
+
3295
+ &::-webkit-slider-thumb {
3296
+ -webkit-appearance: none;
3297
+ border: none;
3298
+ height: ${e=>e.theme.thumbHeight};
3299
+ width: ${e=>e.theme.thumbWidth};
3300
+ border-radius: 25px;
3301
+ background: ${e=>e.disabled?e.theme.disabledThumbBackgroundColor:e.theme.thumbBackgroundColor};
3302
+ &:active {
3303
+ ${e=>{if(!e.disabled)return`
3304
+ background: ${e.theme.activeThumbBackgroundColor};
3305
+ transform: scale(1.16667);`}}
3306
+ }
3307
+ &:hover {
3308
+ ${e=>{if(!e.disabled)return`height: ${e.theme.hoverThumbHeight};
3309
+ width: ${e.theme.hoverThumbWidth};
3310
+ transform: scale(1.16667);
3311
+ transform-origin: center center;
3312
+ background: ${e.theme.hoverThumbBackgroundColor};`}}
3313
+ }
3314
+ }
3315
+ &::-moz-range-track {
3316
+ -webkit-appearance: none;
3317
+ box-shadow: none;
3318
+ border: none;
3319
+ background: transparent;
3320
+ }
3321
+ &::-moz-range-thumb {
3322
+ -webkit-appearance: none;
3323
+ border: none;
3324
+ height: ${e=>e.theme.thumbHeight};
3325
+ width: ${e=>e.theme.thumbWidth};
3326
+ border-radius: 25px;
3327
+ background: ${e=>e.disabled?e.theme.disabledThumbBackgroundColor:e.theme.thumbBackgroundColor};
3328
+ &:active {
3329
+ background: ${e=>e.theme.activeThumbBackgroundColor};
3330
+ transform: scale(1.16667);
3331
+ }
3332
+ &:hover {
3333
+ ${e=>{if(!e.disabled)return`height: ${e.theme.hoverThumbHeight};
3334
+ width: ${e.theme.hoverThumbWidth};
3335
+ transform: scale(1.16667);
3336
+ transform-origin: center center;
3337
+ background: ${e.theme.hoverThumbBackgroundColor};`}}
3338
+ }
3339
+ }
3340
+ &:focus {
3341
+ outline: none;
3342
+ &::-webkit-slider-thumb {
3343
+ outline: ${e=>e.disabled?e.theme.disabledFocusColor:e.theme.focusColor} auto 1px;
3344
+ outline-offset: 2px;
3345
+ }
3346
+ &::-moz-range-thumb {
3347
+ outline: ${e=>e.disabled?e.theme.disabledFocusColor:e.theme.focusColor} auto 1px;
3348
+ outline-offset: 2px;
3349
+ }
3350
+ }
3351
+ `,qy=Ae.div`
3352
+ display: flex;
3353
+ height: 48px;
3354
+ align-items: center;
3355
+ `,Ra=Ae.span`
3356
+ color: ${e=>e.disabled?e.theme.disabledLimitValuesFontColor:e.theme.limitValuesFontColor};
3357
+
3358
+ font-family: ${e=>e.theme.fontFamily};
3359
+ font-size: ${e=>e.theme.limitValuesFontSize};
3360
+ font-style: ${e=>e.theme.limitValuesFontStyle};
3361
+ font-weight: ${e=>e.theme.limitValuesFontWeight};
3362
+ letter-spacing: ${e=>e.theme.limitValuesFontLetterSpacing};
3363
+ white-space: nowrap;
3364
+ `,Qy=Ae(Ra)`
3365
+ margin-right: ${e=>e.theme.floorLabelMarginRight};
3366
+ `,eC=Ae(Ra)`
3367
+ margin-left: ${e=>e.step===1?e.theme.ceilLabelMarginLeft:"1.25rem"};
3368
+ `,oC=Ae.div`
3369
+ position: relative;
3370
+ width: 100%;
3371
+ height: 24px;
3372
+ display: flex;
3373
+ align-items: center;
3374
+ justify-content: center;
3375
+ margin-right: -2px;
3376
+ padding-top: 1px;
3377
+ z-index: 0;
3378
+ `,tC=Ae.div`
3379
+ ${e=>e.isFirefox?Jy():Xy()}
3380
+ position: absolute;
3381
+ pointer-events: none;
3382
+ height: 100%;
3383
+ display: flex;
3384
+ align-items: center;
3385
+ `,rC=Ae.span`
3386
+ position: absolute;
3387
+ background: ${e=>e.disabled?e.theme.disabledTickBackgroundColor:e.theme.tickBackgroundColor};
3388
+ height: ${e=>e.theme.tickHeight};
3389
+ width: ${e=>e.theme.tickWidth};
3390
+ border-radius: 18px;
3391
+ left: ${e=>`calc(${e.stepPosition} * 100%)`};
3392
+ z-index: ${e=>`${e.stepPosition<=e.stepValue?"-1":"0"}`};
3393
+ `,nC=Ae.div`
3394
+ margin-left: ${e=>e.theme.inputMarginLeft};
3395
+ max-width: 70px;
3396
+ `,iC=Vy;import{useId as lC,useMemo as aC}from"react";import Re,{ThemeProvider as cC}from"styled-components";import{jsx as Te,jsxs as Nn}from"react/jsx-runtime";var dC=({label:e,value:t,showValue:r=!1,mode:n="large",margin:i})=>{let l=lC(),a=k(),c=aC(()=>t>=0&&t<=100,[t]);return Te(cC,{theme:a.spinner,children:Te(sC,{margin:i,mode:n,children:Nn(mC,{mode:n,children:[n==="overlay"&&Te(gC,{}),Te(pC,{children:n==="small"?Te(Ma,{viewBox:"0 0 16 16",children:Te(Ea,{cx:"8",cy:"8",r:"6",mode:n})}):Te(Ma,{viewBox:"0 0 140 140",children:Te(Ea,{cx:"70",cy:"70",r:"65",mode:n})})}),Te(uC,{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"?Te(Wa,{viewBox:"0 0 16 16",determinated:c,children:Te(Oa,{cx:"8",cy:"8",r:"6",mode:n,determinated:c,value:t})}):Te(Wa,{viewBox:"0 0 140 140",determinated:c,children:Te(Oa,{cx:"70",cy:"70",r:"65",mode:n,determinated:c,value:t})})}),n!=="small"&&Nn(hC,{children:[Te(fC,{id:l,mode:n,children:e}),(t||t===0)&&r&&Nn(bC,{value:t,mode:n,showValue:r,children:[t,"%"]})]})]})})})},Ha=(e,t)=>{let r=0;return e>=0&&e<=100&&(r=t*(1-e/100)),r},sC=Re.div`
3397
+ height: ${e=>e.mode==="overlay"?"100vh":""};
3398
+ width: ${e=>e.mode==="overlay"?"100vw":""};
3399
+ display: ${e=>e.mode==="overlay"?"flex":""};
3400
+ position: ${e=>e.mode==="overlay"?"fixed":""};
3401
+ top: ${e=>e.mode==="overlay"?0:""};
3402
+ left: ${e=>e.mode==="overlay"?0:""};
3403
+ justify-content: ${e=>e.mode==="overlay"?"center":""};
3404
+ align-items: ${e=>e.mode==="overlay"?"center":""};
3405
+ z-index: ${e=>e.mode==="overlay"?1300:""};
3406
+
3407
+ margin: ${e=>e.mode!="overlay"?e.margin&&typeof e.margin!="object"?p[e.margin]:"0px":""};
3408
+ margin-top: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3409
+ margin-right: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3410
+ margin-bottom: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3411
+ margin-left: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3412
+ `,mC=Re.div`
3413
+ align-items: center;
3414
+ display: flex;
3415
+ height: ${e=>e.mode==="small"?"16px":"140px"};
3416
+ width: ${e=>e.mode==="small"?"16px":"140px"};
3417
+ justify-content: center;
3418
+ position: relative;
3419
+ background-color: transparent;
3420
+
3421
+ @keyframes spinner-svg {
3422
+ 0% {
3423
+ transform: rotateZ(0deg);
3424
+ }
3425
+ 100% {
3426
+ transform: rotateZ(360deg);
3427
+ }
3428
+ }
3429
+ @keyframes svg-circle-large {
3430
+ 0% {
3431
+ stroke-dashoffset: 400;
3432
+ transform: rotate(0);
3433
+ }
3434
+
3435
+ 50% {
3436
+ stroke-dashoffset: 75;
3437
+ transform: rotate(45deg);
3438
+ }
3439
+
3440
+ 100% {
3441
+ stroke-dashoffset: 400;
3442
+ transform: rotate(360deg);
3443
+ }
3444
+ }
3445
+ @keyframes svg-circle-small {
3446
+ 0% {
3447
+ stroke-dashoffset: 35;
3448
+ transform: rotate(0);
3449
+ }
3450
+
3451
+ 50% {
3452
+ stroke-dashoffset: 8;
3453
+ transform: rotate(45deg);
3454
+ }
3455
+
3456
+ 100% {
3457
+ stroke-dashoffset: 35;
3458
+ transform: rotate(360deg);
3459
+ }
3460
+ }
3461
+ `,gC=Re.div`
3462
+ width: 100vw;
3463
+ height: 100vh;
3464
+ opacity: 1;
3465
+ transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
3466
+ position: fixed;
3467
+ top: 0;
3468
+ left: 0;
3469
+ background-color: ${e=>`${e.theme.overlayBackgroundColor}`};
3470
+ opacity: ${e=>`${e.theme.overlayOpacity}`};
3471
+ `,pC=Re.div`
3472
+ height: inherit;
3473
+ width: inherit;
3474
+ position: absolute;
3475
+ `,Ma=Re.svg`
3476
+ height: inherit;
3477
+ width: inherit;
3478
+ `,Ea=Re.circle`
3479
+ animation: none;
3480
+ fill: transparent;
3481
+ stroke: ${e=>`${e.theme.totalCircleColor}`};
3482
+ stroke-dasharray: ${e=>e.mode!=="small"?"409":"38"};
3483
+ stroke-linecap: initial;
3484
+ stroke-width: ${e=>e.mode!=="small"?"8.5px":"2px"};
3485
+ transform-origin: 50% 50%;
3486
+ vector-effect: non-scaling-stroke;
3487
+ `,uC=Re.div`
3488
+ height: inherit;
3489
+ width: inherit;
3490
+ position: relative;
3491
+ `,Wa=Re.svg`
3492
+ height: inherit;
3493
+ width: inherit;
3494
+ transform: rotate(-90deg);
3495
+ top: 0;
3496
+ left: 0;
3497
+ transform-origin: center;
3498
+ overflow: visible;
3499
+ animation: ${e=>e.determinated?"":"1.4s linear infinite both spinner-svg"};
3500
+ `,Oa=Re.circle`
3501
+ fill: transparent;
3502
+ stroke-linecap: initial;
3503
+ vector-effect: non-scaling-stroke;
3504
+ 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"};
3505
+ stroke: ${e=>e.mode==="overlay"?e.theme.trackCircleColorOverlay:e.theme.trackCircleColor};
3506
+ transform-origin: ${e=>e.determinated?"":"50% 50%"};
3507
+ stroke-dasharray: ${e=>e.mode!=="small"?"409":"38"};
3508
+ stroke-width: ${e=>e.mode!=="small"?"8.5px":"2px"};
3509
+ stroke-dashoffset: ${e=>e.determinated?e.mode!=="small"?Ha(e.value,409):Ha(e.value,38):""};
3510
+ `,hC=Re.div`
3511
+ position: absolute;
3512
+ margin: 0 auto;
3513
+ width: 110px;
3514
+ text-align: center;
3515
+ `,fC=Re.p`
3516
+ margin: 0;
3517
+ width: 100%;
3518
+ white-space: nowrap;
3519
+ overflow: hidden;
3520
+ text-overflow: ellipsis;
3521
+ font-family: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontFamily:e.theme.labelFontFamily};
3522
+ font-weight: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontWeight:e.theme.labelFontWeight};
3523
+ font-size: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontSize:e.theme.labelFontSize};
3524
+ font-style: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontStyle:e.theme.labelFontStyle};
3525
+ color: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontColor:e.theme.labelFontColor};
3526
+ text-align: ${e=>e.mode==="overlay"?e.theme.overlayLabelTextAlign:e.theme.labelTextAlign};
3527
+ letter-spacing: ${e=>e.mode==="overlay"?e.theme.overlayLabelLetterSpacing:e.theme.labelLetterSpacing};
3528
+ `,bC=Re.p`
3529
+ margin: 0;
3530
+ width: 100%;
3531
+ white-space: nowrap;
3532
+ overflow: hidden;
3533
+ text-overflow: ellipsis;
3534
+ display: ${e=>e.value&&e.showValue===!0&&"block"||"none"};
3535
+ font-family: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontFamily:e.theme.progressValueFontFamily};
3536
+ font-weight: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontWeight:e.theme.progressValueFontWeight};
3537
+ font-size: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontSize:e.theme.progressValueFontSize};
3538
+ font-style: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontStyle:e.theme.progressValueFontStyle};
3539
+ color: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontColor:e.theme.progressValueFontColor};
3540
+ text-align: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueTextAlign:e.theme.progressValueTextAlign};
3541
+ letter-spacing: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueLetterSpacing:e.theme.progressValueLetterSpacing};
3542
+ `,Vn=dC;import jn from"styled-components";import{jsx as Ga,jsxs as vC}from"react/jsx-runtime";var yC=({mode:e="default",label:t,size:r="medium"})=>vC(CC,{size:r,"aria-label":`${e}: ${t}`,role:"status",children:[Ga(xC,{mode:e,size:r,"aria-hidden":"true"}),Ga(_C,{mode:e,size:r,children:t})]}),CC=jn.div`
3543
+ display: inline-flex;
3544
+ align-items: center;
3545
+ gap: ${o.spacing_8};
3546
+ `,xC=jn.div`
3547
+ 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};
3548
+ 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};
3549
+ border-radius: 50%;
3550
+ 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};
3551
+ `,_C=jn.span`
3552
+ 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};
3553
+ font-family: ${o.type_sans};
3554
+ font-style: ${o.type_normal};
3555
+ font-weight: ${o.type_semibold};
3556
+ 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};
3557
+ text-align: center;
3558
+ text-overflow: ellipsis;
3559
+ overflow: hidden;
3560
+ white-space: nowrap;
3561
+ `,$C=yC;import{forwardRef as TC,useId as kC,useRef as FC,useState as wC}from"react";import Xt,{ThemeProvider as SC}from"styled-components";import{Fragment as ja,jsx as gt,jsxs as Xn}from"react/jsx-runtime";var IC=TC(({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-${kC()}`}`,[v,f]=wC(e??!1),_=k(),x=X(),b=FC(null),L=I=>{switch(I.key){case"Enter":case" ":I.preventDefault(),b.current.focus(),f(!(t??v)),d?.(!(t??v));break}},B=()=>{t??f(I=>!I),d?.(t?!t:!v)};return gt(SC,{theme:_.switch,children:Xn(PC,{margin:s,size:m,onKeyDown:L,disabled:a,onClick:a?void 0:B,ref:u,children:[i==="before"&&n&&Xn(Va,{id:y,labelPosition:i,disabled:a,label:n,children:[n," ",c&&gt(ja,{children:x.formFields.optionalLabel})]}),gt(DC,{type:"checkbox",name:l,"aria-hidden":!0,value:r,disabled:a,checked:t??v,readOnly:!0}),gt(LC,{children:gt(zC,{role:"switch","aria-checked":t??v,"aria-disabled":a,disabled:a,"aria-labelledby":y,tabIndex:a?-1:g,ref:b})}),i==="after"&&n&&Xn(Va,{id:y,labelPosition:i,disabled:a,label:n,children:[c&&gt(ja,{children:x.formFields.optionalLabel})," ",n]})]})})}),Na={small:"60px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},BC=(e,t)=>t==="fillParent"?`calc(${Na[t]} - ${j(e,"left")} - ${j(e,"right")})`:Na[t],Vt=(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}},jt=(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}},PC=Xt.div`
3562
+ display: inline-flex;
3563
+ align-items: center;
3564
+ width: ${e=>BC(e.margin,e.size)};
3565
+ height: 40px;
3566
+ cursor: ${e=>e.disabled===!0?"not-allowed":"pointer"};
3567
+
3568
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3569
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3570
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3571
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3572
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3573
+ `,Va=Xt.span`
3574
+ overflow: hidden;
3575
+ text-overflow: ellipsis;
3576
+ white-space: nowrap;
3577
+ color: ${e=>e.disabled?Vt(e.theme,"label"):jt(e.theme,"label")};
3578
+ opacity: 1;
3579
+ font-family: ${e=>e.theme.labelFontFamily};
3580
+ font-size: ${e=>e.theme.labelFontSize};
3581
+ font-style: ${e=>e.disabled?e.theme.disabledLabelFontStyle:e.theme.labelFontStyle};
3582
+ font-weight: ${e=>e.theme.labelFontWeight};
3583
+
3584
+ ${e=>e.label?e.labelPosition==="after"?`margin-left: ${e.theme.spaceBetweenLabelSwitch};`:`margin-right: ${e.theme.spaceBetweenLabelSwitch};`:"margin: 0px;"};
3585
+
3586
+ ${e=>e.labelPosition==="before"&&"order: -1"}
3587
+ `,LC=Xt.label`
3588
+ display: flex;
3589
+ align-items: center;
3590
+ justify-content: space-between;
3591
+ cursor: pointer;
3592
+ margin: 0px 12px;
3593
+ `,DC=Xt.input`
3594
+ display: none;
3595
+ `,zC=Xt.span`
3596
+ border-radius: 15px;
3597
+ width: ${e=>e.theme.trackWidth};
3598
+ height: ${e=>e.theme.trackHeight};
3599
+ position: relative;
3600
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
3601
+
3602
+ &:focus-visible {
3603
+ outline: none;
3604
+ ::before {
3605
+ outline: ${e=>`${e.theme.thumbFocusColor} solid 2px`};
3606
+ outline-offset: 6px;
3607
+ }
3608
+ }
3609
+
3610
+ /* Thumb element */
3611
+ ::before {
3612
+ content: "";
3613
+ transform: initial;
3614
+ position: absolute;
3615
+ width: ${e=>e.theme.thumbWidth};
3616
+ height: ${e=>e.theme.thumbHeight};
3617
+ border-radius: 50%;
3618
+ box-shadow:
3619
+ 0px 2px 1px -1px rgb(0 0 0 / 20%),
3620
+ 0px 1px 1px 0px rgb(0 0 0 / 14%),
3621
+ 0px 1px 3px 0px rgb(0 0 0 / 12%);
3622
+ bottom: -6px;
3623
+ left: -4px;
3624
+ transform: translateX(0px);
3625
+ background-color: ${e=>e.disabled?Vt(e.theme,"thumb","uncheck"):jt(e.theme,"thumb","uncheck")};
3626
+ }
3627
+
3628
+ /* Unchecked */
3629
+ background-color: ${e=>e.disabled?Vt(e.theme,"track","uncheck"):jt(e.theme,"track","uncheck")};
3630
+
3631
+ /* Checked */
3632
+ &[aria-checked="true"] {
3633
+ background-color: ${e=>e.disabled?Vt(e.theme,"track","check"):jt(e.theme,"track","check")};
3634
+ ::before {
3635
+ transform: translateX(${e=>e.theme.thumbShift});
3636
+ background-color: ${e=>e.disabled?Vt(e.theme,"thumb","check"):jt(e.theme,"thumb","check")};
3637
+ }
3638
+ }
3639
+ `,AC=IC;import{Children as Qa,isValidElement as po,useCallback as sx,useEffect as oc,useMemo as Gr,useRef as mx,useState as Ge}from"react";import wo,{ThemeProvider as gx}from"styled-components";import{createContext as RC}from"react";var Mr=RC(null);import{forwardRef as HC,useContext as MC,useEffect as Jn,useRef as EC}from"react";import Er from"styled-components";import{jsx as pt,jsxs as Xa}from"react/jsx-runtime";var WC=HC(({icon:e,label:t,title:r,disabled:n=!1,active:i,notificationNumber:l=!1,onClick:a=()=>{},onHover:c=()=>{}},d)=>{let s=EC(),m=k(),{iconPosition:g,tabIndex:u,focusedLabel:h,isControlled:y,activeLabel:v,hasLabelAndIcon:f,setActiveLabel:_,setActiveIndicatorWidth:x,setActiveIndicatorLeft:b}=MC(Mr);return Jn(()=>{h===t&&s?.current?.focus()},[h,t]),Jn(()=>{v===t&&(x(s?.current?.offsetWidth),b(s?.current?.offsetLeft))},[v,t]),Jn(()=>{i&&_(t)},[i,t]),pt(le,{label:r,children:Xa(OC,{role:"tab",type:"button",tabIndex:v===t&&!n?u:-1,disabled:n,"aria-selected":v===t,hasLabelAndIcon:f,iconPosition:g,ref:B=>{s.current=B,d&&(typeof d=="function"?d(B):d.current=B)},onClick:()=>{y||_(t),a()},onMouseEnter:()=>c(),onKeyDown:B=>{switch(B.key){case" ":case"Enter":B.preventDefault(),s?.current?.click();break}},children:[Xa(NC,{notificationNumber:l,hasLabelAndIcon:f,iconPosition:g,disabled:n,children:[e&&pt(VC,{hasLabelAndIcon:f,iconPosition:g,children:typeof e=="string"?pt($,{icon:e}):e}),pt($e,{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&&pt(GC,{hasLabelAndIcon:f,iconPosition:g,children:pt(Do,{mode:"notification",size:"small",label:typeof l=="number"&&l})})]})})}),OC=Er.button`
3640
+ text-transform: ${e=>e.theme.fontTextTransform};
3641
+ overflow: hidden;
3642
+ flex-shrink: 0;
3643
+ border: 0;
3644
+ cursor: pointer;
3645
+ display: inline-flex;
3646
+ align-items: center;
3647
+ user-select: none;
3648
+ vertical-align: middle;
3649
+ justify-content: center;
3650
+ min-width: 90px;
3651
+ max-width: 360px;
3652
+ padding: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"12px 16px"||"8px 16px"};
3653
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3654
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3655
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3656
+
3657
+ &:hover {
3658
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3659
+ }
3660
+ &:active {
3661
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3662
+ }
3663
+ &:focus {
3664
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3665
+ outline-offset: -1px;
3666
+ }
3667
+
3668
+ svg,
3669
+ span:before {
3670
+ color: ${e=>e.theme.unselectedIconColor};
3671
+ }
3672
+
3673
+ &[aria-selected="true"] {
3674
+ background-color: ${e=>e.theme.selectedBackgroundColor};
3675
+ svg,
3676
+ span:before {
3677
+ color: ${e=>e.theme.selectedIconColor};
3678
+ }
3679
+ opacity: 1;
3680
+ }
3681
+
3682
+ &:disabled {
3683
+ background-color: ${e=>e.theme.unselectedBackgroundColor} !important;
3684
+ cursor: not-allowed !important;
3685
+ pointer-events: all;
3686
+ font-style: ${e=>e.theme.disabledFontStyle};
3687
+ outline: none !important;
3688
+
3689
+ svg,
3690
+ span:before {
3691
+ color: ${e=>e.theme.disabledIconColor};
3692
+ }
3693
+ > div {
3694
+ opacity: 0.5;
3695
+ }
3696
+ }
3697
+ `,GC=Er.div`
3698
+ margin-left: 12px;
3699
+ height: 100%;
3700
+ display: flex;
3701
+ align-items: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"?"flex-start":"center"};
3702
+ justify-content: flex-start;
3703
+ flex-direction: column;
3704
+ `,NC=Er.div`
3705
+ display: flex;
3706
+ flex-direction: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"column"||"row"};
3707
+ align-items: center;
3708
+ margin-left: ${e=>e.notificationNumber&&!e.disabled?typeof e.notificationNumber=="number"?"36px":"18px":"unset"};
3709
+ `,VC=Er.div`
3710
+ display: flex;
3711
+ margin-bottom: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"8px"||""};
3712
+ margin-right: ${e=>e.hasLabelAndIcon&&e.iconPosition==="left"&&"12px"||""};
3713
+ font-size: 22px;
3714
+
3715
+ svg {
3716
+ height: 22px;
3717
+ width: 22px;
3718
+ }
3719
+ `,Ja=WC;import{useCallback as qC,useEffect as Or,useMemo as QC,useRef as Ya,useState as He}from"react";import Fo,{ThemeProvider as ex}from"styled-components";import{forwardRef as jC,memo as XC}from"react";import Wr from"styled-components";import{jsx as Jt,jsxs as Ka}from"react/jsx-runtime";var JC=jC(({active:e,tab:t,tabIndex:r,hasLabelAndIcon:n,iconPosition:i,onClick:l,onMouseEnter:a,onMouseLeave:c},d)=>{let s=k();return Ka(KC,{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:[Ka(YC,{notificationNumber:t.notificationNumber,hasLabelAndIcon:n,iconPosition:i,disabled:t.isDisabled,children:[t.icon&&Jt(ZC,{hasLabelAndIcon:n,iconPosition:i,children:typeof t.icon=="string"?Jt($,{icon:t.icon}):t.icon}),Jt($e,{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&&Jt(UC,{hasLabelAndIcon:n,iconPosition:i,children:Jt(Do,{mode:"notification",size:"small",label:typeof t.notificationNumber=="number"&&t.notificationNumber})})]})}),KC=Wr.button`
3720
+ text-transform: ${e=>e.theme.fontTextTransform};
3721
+ overflow: hidden;
3722
+ flex-shrink: 0;
3723
+ border: 0;
3724
+ cursor: pointer;
3725
+ display: inline-flex;
3726
+ align-items: center;
3727
+ user-select: none;
3728
+ vertical-align: middle;
3729
+ justify-content: center;
3730
+ min-width: 90px;
3731
+ max-width: 360px;
3732
+ padding: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"12px 16px"||"8px 16px"};
3733
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3734
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3735
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3736
+
3737
+ &:hover {
3738
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3739
+ }
3740
+ &:active {
3741
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3742
+ }
3743
+ &:focus {
3744
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3745
+ outline-offset: -1px;
3746
+ }
3747
+
3748
+ svg,
3749
+ span:before {
3750
+ color: ${e=>e.theme.unselectedIconColor};
3751
+ }
3752
+
3753
+ &[aria-selected="true"] {
3754
+ background-color: ${e=>e.theme.selectedBackgroundColor};
3755
+ svg,
3756
+ span:before {
3757
+ color: ${e=>e.theme.selectedIconColor};
3758
+ }
3759
+ opacity: 1;
3760
+ }
3761
+
3762
+ &:disabled {
3763
+ background-color: ${e=>e.theme.unselectedBackgroundColor} !important;
3764
+ cursor: not-allowed !important;
3765
+ pointer-events: all;
3766
+ font-style: ${e=>e.theme.disabledFontStyle};
3767
+ outline: none !important;
3768
+
3769
+ svg,
3770
+ span:before {
3771
+ color: ${e=>e.theme.disabledIconColor};
3772
+ }
3773
+ > div {
3774
+ opacity: 0.5;
3775
+ }
3776
+ }
3777
+ `,UC=Wr.div`
3778
+ margin-left: 12px;
3779
+ height: 100%;
3780
+ display: flex;
3781
+ align-items: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"?"flex-start":"center"};
3782
+ `,YC=Wr.div`
3783
+ display: flex;
3784
+ flex-direction: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"column"||"row"};
3785
+ align-items: center;
3786
+ margin-left: ${e=>e.notificationNumber&&!e.disabled?typeof e.notificationNumber=="number"?"36px":"18px":"unset"};
3787
+ `,ZC=Wr.div`
3788
+ display: flex;
3789
+ margin-bottom: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"8px"||""};
3790
+ margin-right: ${e=>e.hasLabelAndIcon&&e.iconPosition==="left"&&"12px"||""};
3791
+ font-size: 22px;
3792
+
3793
+ svg {
3794
+ height: 22px;
3795
+ width: 22px;
3796
+ }
3797
+ `,Ua=XC(JC);import{jsx as eo,jsxs as Kn}from"react/jsx-runtime";var ox=e=>{let[t,r]=He(0),n=qC(()=>{r(e?.current?.offsetWidth??0)},[e]);return Or(()=>(n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}),[n]),t},tx=({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(U=>U.label&&U.icon).length>0,m=r&&r.findIndex(U=>!U.isDisabled),[g,u]=He(r&&e&&!r[e].isDisabled?e:m),[h,y]=He(0),[v,f]=He(0),[_,x]=He(0),[b,L]=He(!0),[B,I]=He(!1),[H,R]=He(0),[F,w]=He(0),[D,O]=He(t??g),[N,Z]=He(t??g),[E,z]=He(0),C=Ya([]),S=Ya(null),T=ox(S),P=X(),M=QC(()=>T<F,[T]);Or(()=>{let U=C?.current?.reduce(function(K,ye){return K+ye.offsetWidth},0);w(U),y(C?.current[t??g]?.offsetWidth),f(C?.current[t??g]?.offsetLeft)},[C]),Or(()=>{z(S?.current?.offsetHeight+1)},[S]),Or(()=>{t>=0&&(y(C?.current[t]?.offsetWidth),f(C?.current[t]?.offsetLeft))},[t]);let J=U=>{t??u(U),n?.(U),t===void 0&&(y(C?.current[U]?.offsetWidth),f(C?.current[U]?.offsetLeft))},de=()=>{let U=S?.current?.offsetWidth*.75,K=0;H<=U?(K=0,I(!1),L(!0)):(K=H-U,L(!0),I(!0)),x(-K),R(K)},G=()=>{let U=S?.current?.offsetWidth*.75,K=0;H+U+S?.current?.offsetWidth>=F?(K=F-S?.current?.offsetWidth,L(!1),I(!0)):(K=H+U,I(!0),L(!0)),x(-K),R(K)},q=()=>{Z(U=>{let K=U===0?r.length-1:U-1;for(;r[K].isDisabled;)K=K===0?r.length-1:K-1;return C?.current[K].focus({preventScroll:!0}),se(K),K})},A=()=>{Z(U=>{let K=U===r.length-1?0:U+1;for(;r[K].isDisabled;)K=K===r.length-1?0:K+1;return C?.current[K].focus({preventScroll:!0}),se(K),K})},se=U=>{let K=0;C?.current?.map((pe,Io)=>{Io<=U&&(K+=pe.offsetWidth)});let ye=0;U===r.length-1?(ye=F-S?.current?.offsetWidth,I(!0),L(!1)):K>S?.current?.offsetWidth?(ye=K-S?.current?.offsetWidth+1,I(!0),L(!0)):(I(!1),L(!0)),x(-ye),R(ye)},me=U=>{switch(U.key){case"Left":case"ArrowLeft":U.preventDefault(),q();break;case"Right":case"ArrowRight":U.preventDefault(),A();break;case"Enter":case" ":U.preventDefault(),O(N),J(N);break;case"Tab":N!==D&&(U.preventDefault(),Z(D),C?.current[D].focus()),J(D);break}},ge=U=>t>=0?t===U:g===U,W=m===-1||r&&t>=0&&r[t].isDisabled;return eo(ex,{theme:d.tabs,children:Kn(nx,{margin:l,children:[eo(rx,{}),Kn(ix,{hasLabelAndIcon:s,iconPosition:a,children:[eo(Za,{onClick:de,enabled:M,disabled:!B,"aria-label":P.tabs.scrollLeft,tabIndex:B?c:-1,minHeightTabs:E,children:eo($,{icon:"keyboard_arrow_left"})}),eo(ax,{children:Kn(dx,{translateScroll:_,ref:S,enabled:M,children:[eo(cx,{role:"tablist",onKeyDown:me,minHeightTabs:E,children:r.map((U,K)=>eo(Ua,{tab:U,active:ge(K),tabIndex:ge(K)&&!U.isDisabled?c:-1,hasLabelAndIcon:s,iconPosition:a,ref:ye=>{C.current[K]=ye},onClick:()=>{O(K),Z(K),J(K)},onMouseEnter:()=>{i?.(K)},onMouseLeave:()=>{i?.(null)}},`tab${K}${U.label}`))}),eo(lx,{tabWidth:h,tabLeft:v,"aria-disabled":W})]})}),eo(Za,{onClick:G,enabled:M,disabled:!b,"aria-label":P.tabs.scrollRight,tabIndex:b?c:-1,minHeightTabs:E,children:eo($,{icon:"keyboard_arrow_right"})})]})]})})},rx=Fo.div`
3798
+ position: absolute;
3799
+ left: 0;
3800
+ bottom: 0;
3801
+ width: 100%;
3802
+ height: ${e=>e.theme.dividerThickness};
3803
+ background-color: ${e=>e.theme.dividerColor};
3804
+ `,nx=Fo.div`
3805
+ position: relative;
3806
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3807
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3808
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3809
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3810
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3811
+ `,ix=Fo.div`
3812
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3813
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3814
+ display: flex;
3815
+ overflow: hidden;
3816
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3817
+ `,Za=Fo.button`
3818
+ box-sizing: border-box;
3819
+ display: ${e=>e.enabled?"flex":"none"};
3820
+ justify-content: center;
3821
+ min-width: ${e=>e.theme.scrollButtonsWidth};
3822
+ height: ${e=>e.minHeightTabs-1}px;
3823
+ padding: 0;
3824
+ border: none;
3825
+ background-color: #ffffff;
3826
+ font-size: 1.25rem;
3827
+ cursor: pointer;
3828
+
3829
+ &:hover {
3830
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3831
+ }
3832
+ &:focus {
3833
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3834
+ outline-offset: -1px;
3835
+ }
3836
+ &:active {
3837
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3838
+ }
3839
+ &:disabled {
3840
+ cursor: default;
3841
+ display: none;
3842
+ svg {
3843
+ visibility: hidden;
3844
+ }
3845
+ &:focus {
3846
+ outline: none;
3847
+ }
3848
+ &:hover,
3849
+ &:active {
3850
+ background-color: transparent !important;
3851
+ }
3852
+ }
3853
+
3854
+ span {
3855
+ align-self: center;
3856
+ height: 20px;
3857
+ width: 20px;
3858
+ }
3859
+
3860
+ span::before {
3861
+ color: ${e=>e.theme.unselectedFontColor};
3862
+ }
3863
+ `,lx=Fo.span`
3864
+ position: absolute;
3865
+ bottom: 0;
3866
+ left: ${e=>`${e.tabLeft}px`};
3867
+ width: ${e=>`${e.tabWidth}px`};
3868
+ height: ${e=>e.theme.selectedUnderlineThickness};
3869
+ background-color: ${e=>e.theme.selectedUnderlineColor};
3870
+ &[aria-disabled="true"] {
3871
+ background-color: ${e=>e.theme.disabledFontColor};
3872
+ display: none;
3873
+ }
3874
+ `,ax=Fo.div`
3875
+ flex: 1 1 auto;
3876
+ display: inline-block;
3877
+ position: relative;
3878
+ white-space: nowrap;
3879
+ overflow-x: scroll;
3880
+ ::-webkit-scrollbar {
3881
+ display: none;
3882
+ }
3883
+ `,cx=Fo.div`
3884
+ display: flex;
3885
+ min-height: ${e=>e.minHeightTabs}px;
3886
+ `,dx=Fo.div`
3887
+ display: flex;
3888
+ ${e=>e.enabled?`transform: translateX(${e.translateScroll}px)`:"transform: translateX(0px)"};
3889
+ transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
3890
+ `,qa=tx;import{Fragment as Tx,jsx as Oe,jsxs as Nr}from"react/jsx-runtime";var px=e=>{let[t,r]=Ge(0),n=sx(()=>{r(e?.current?.offsetWidth??0)},[e]);return oc(()=>(n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}),[n]),t},ux=(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},hx=(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},tc=({defaultActiveTabIndex:e,activeTabIndex:t,tabs:r,onTabClick:n,onTabHover:i,margin:l,iconPosition:a="top",tabIndex:c=0,children:d})=>{let s=Gr(()=>Qa.toArray(d),[d]),m=Gr(()=>s.some(G=>po(G)&&G.props.icon&&G.props.label),[s]),[g,u]=Ge(()=>{let q=s.some(A=>po(A)&&(A.props.active||A.props.defaultActive)&&!A.props.disabled)?s.find(A=>po(A)&&(A.props.active||A.props.defaultActive)&&!A.props.disabled):s.find(A=>po(A)&&!A.props.disabled);return po(q)?q.props.label:""}),[h,y]=Ge(null),[v,f]=Ge(0),[_,x]=Ge(0),[b,L]=Ge(0),[B,I]=Ge(0),[H,R]=Ge(0),[F,w]=Ge(!0),[D,O]=Ge(!1),[N,Z]=Ge(0),E=mx(null),z=k(),C=px(E),S=X(),T=Gr(()=>C<B,[C]);oc(()=>{E.current&&(I(E.current.firstElementChild?.offsetWidth),Z(E?.current?.offsetHeight+1))},[]);let P=Gr(()=>{let G=s[h];return{iconPosition:a,tabIndex:c,focusedLabel:po(G)&&G.props.label,isControlled:s.some(q=>po(q)&&typeof q.props.active<"u"),activeLabel:g,hasLabelAndIcon:m,setActiveLabel:u,setActiveIndicatorWidth:f,setActiveIndicatorLeft:x}},[a,c,h,g,s,m]),M=()=>{let G=E?.current?.offsetWidth*.75,q=0;b<=G?(q=0,O(!1),w(!0)):(q=b-G,w(!0),O(!0)),R(-q),L(q)},J=()=>{let G=E?.current?.offsetWidth*.75,q=0;b+G+E?.current?.offsetWidth>=B?(q=B-E?.current?.offsetWidth,w(!1),O(!0)):(q=b+G,O(!0),w(!0)),R(-q),L(q)},de=G=>{let q=s.findIndex(A=>A.props.label===g);switch(G.key){case"Left":case"ArrowLeft":G.preventDefault(),y(ux(s,h===null?q:h));break;case"Right":case"ArrowRight":G.preventDefault(),y(hx(s,h===null?q:h));break;case"Tab":q!==h&&y(q);break}};return d?Nr(Tx,{children:[Oe(gx,{theme:z.tabs,children:Nr(bx,{margin:l,children:[Oe(fx,{}),Nr(yx,{hasLabelAndIcon:m,iconPosition:a,children:[Oe(ec,{onClick:M,enabled:T,disabled:!D,"aria-label":S.tabs.scrollLeft,tabIndex:D?c:-1,minHeightTabs:N,children:Oe($,{icon:"keyboard_arrow_left"})}),Oe(xx,{children:Nr($x,{translateScroll:H,ref:E,enabled:T,children:[Oe(_x,{role:"tablist",onKeyDown:de,minHeightTabs:N,children:Oe(Mr.Provider,{value:P,children:d})}),Oe(Cx,{tabWidth:v,tabLeft:_,"aria-disabled":s.some(G=>po(G)&&g===G.props.label&&G.props.disabled)})]})}),Oe(ec,{onClick:J,enabled:T,disabled:!F,"aria-label":S.tabs.scrollRight,tabIndex:F?c:-1,minHeightTabs:N,children:Oe($,{icon:"keyboard_arrow_right"})})]})]})}),Qa.map(d,G=>po(G)&&G.props.label===g?G.props.children:null)]}):r&&Oe(qa,{defaultActiveTabIndex:e,activeTabIndex:t,tabs:r,onTabClick:n,onTabHover:i,margin:l,iconPosition:a,tabIndex:c})},fx=wo.div`
3891
+ position: absolute;
3892
+ left: 0;
3893
+ bottom: 0;
3894
+ width: 100%;
3895
+ height: ${e=>e.theme.dividerThickness};
3896
+ background-color: ${e=>e.theme.dividerColor};
3897
+ `;tc.Tab=Ja;var bx=wo.div`
3898
+ position: relative;
3899
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3900
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3901
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3902
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3903
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3904
+ `,yx=wo.div`
3905
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3906
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3907
+ display: flex;
3908
+ overflow: hidden;
3909
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3910
+ `,ec=wo.button`
3911
+ box-sizing: border-box;
3912
+ display: ${e=>e.enabled?"flex":"none"};
3913
+ justify-content: center;
3914
+ min-width: ${e=>e.theme.scrollButtonsWidth};
3915
+ height: ${e=>e.minHeightTabs-1}px;
3916
+ padding: 0;
3917
+ border: none;
3918
+ background-color: #ffffff;
3919
+ font-size: 1.25rem;
3920
+ cursor: pointer;
3921
+
3922
+ &:hover {
3923
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3924
+ }
3925
+ &:focus {
3926
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3927
+ outline-offset: -1px;
3928
+ }
3929
+ &:active {
3930
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3931
+ }
3932
+ &:disabled {
3933
+ cursor: default;
3934
+ display: none;
3935
+ svg {
3936
+ visibility: hidden;
3937
+ }
3938
+ &:focus {
3939
+ outline: none;
3940
+ }
3941
+ &:hover,
3942
+ &:active {
3943
+ background-color: transparent !important;
3944
+ }
3945
+ }
3946
+
3947
+ span {
3948
+ align-self: center;
3949
+ height: 20px;
3950
+ width: 20px;
3951
+ }
3952
+
3953
+ span::before {
3954
+ color: ${e=>e.theme.unselectedFontColor};
3955
+ }
3956
+ `,Cx=wo.span`
3957
+ position: absolute;
3958
+ bottom: 0;
3959
+ left: ${e=>`${e.tabLeft}px`};
3960
+ width: ${e=>`${e.tabWidth}px`};
3961
+ height: ${e=>e.theme.selectedUnderlineThickness};
3962
+ background-color: ${e=>e.theme.selectedUnderlineColor};
3963
+ &[aria-disabled="true"] {
3964
+ background-color: ${e=>e.theme.disabledFontColor};
3965
+ display: none;
3966
+ }
3967
+ `,xx=wo.div`
3968
+ flex: 1 1 auto;
3969
+ display: inline-block;
3970
+ position: relative;
3971
+ white-space: nowrap;
3972
+ overflow-x: scroll;
3973
+ ::-webkit-scrollbar {
3974
+ display: none;
3975
+ }
3976
+ `,_x=wo.div`
3977
+ display: flex;
3978
+ min-height: ${e=>e.minHeightTabs}px;
3979
+ `,$x=wo.div`
3980
+ display: flex;
3981
+ ${e=>e.enabled?`transform: translateX(${e.translateScroll}px)`:"transform: translateX(0px)"};
3982
+ transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
3983
+ `,vx=tc;import{useState as kx}from"react";import ut,{ThemeProvider as Fx}from"styled-components";import{Fragment as ic,jsx as Ne,jsxs as Rx}from"react/jsx-runtime";var wx=({condition:e,wrapper:t,children:r})=>Ne(ic,{children:e?t(r):r}),Sx=({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]=kx(!1);return Ne(Fx,{theme:m.tag,children:Ne(Bx,{margin:c,size:d,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),onClick:()=>{n?.()},hasAction:n||r,shadowDepth:g&&(n||r)?2:1,children:Ne(wx,{condition:!!n||!!r,wrapper:h=>n?Ne(Dx,{tabIndex:s,children:h}):r?Ne(Lx,{tabIndex:s,href:r,target:a?"_blank":"_self",children:h}):Ne(ic,{}),children:Rx(Px,{children:[l==="before"&&d!=="small"&&t&&Ne(nc,{children:t}),e&&Ne(zx,{iconBgColor:i,children:typeof e=="string"?Ne($,{icon:e}):e}),l==="after"&&d!=="small"&&t&&Ne(nc,{children:t})]})})})})},rc={small:"42px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},Ix=(e,t)=>t==="fillParent"?`calc(${rc[t]} - ${j(e,"left")} - ${j(e,"right")})`:rc[t],Bx=ut.div`
3984
+ display: inline-flex;
3985
+ cursor: ${({hasAction:e})=>e&&"pointer"||"unset"};
3986
+ margin: ${({margin:e})=>e&&typeof e!="object"?p[e]:"0px"};
3987
+ margin-top: ${({margin:e})=>e&&typeof e=="object"&&e.top?p[e.top]:""};
3988
+ margin-right: ${({margin:e})=>e&&typeof e=="object"&&e.right?p[e.right]:""};
3989
+ margin-bottom: ${({margin:e})=>e&&typeof e=="object"&&e.bottom?p[e.bottom]:""};
3990
+ margin-left: ${({margin:e})=>e&&typeof e=="object"&&e.left?p[e.left]:""};
3991
+ width: ${e=>Ix(e.margin,e.size)};
3992
+ height: ${e=>e.theme.height};
3993
+ 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"};
3994
+ `,Px=ut.div`
3995
+ display: inline-flex;
3996
+ align-items: center;
3997
+ width: 100%;
3998
+ height: ${e=>e.theme.height};
3999
+ `,Lx=ut.a`
4000
+ text-decoration: none;
4001
+ border-radius: 4px;
4002
+ width: 100%;
4003
+ :focus {
4004
+ outline: 2px solid ${e=>e.theme.focusColor};
4005
+ outline-offset: 0px;
4006
+ }
4007
+ `,Dx=ut.button`
4008
+ background: none;
4009
+ border-radius: 4px;
4010
+ border: none;
4011
+ padding: 0;
4012
+ cursor: pointer;
4013
+ font-family: inherit;
4014
+ width: 100%;
4015
+ :focus {
4016
+ outline: 2px solid ${e=>e.theme.focusColor};
4017
+ }
4018
+ `,zx=ut.div`
4019
+ display: inline-flex;
4020
+ background: ${({iconBgColor:e})=>e};
4021
+ width: ${e=>e.theme.iconSectionWidth};
4022
+ height: 100%;
4023
+ justify-content: center;
4024
+ align-items: center;
4025
+ color: ${e=>e.theme.iconColor};
4026
+ min-width: ${e=>e.theme.iconSectionWidth};
4027
+ overflow: hidden;
4028
+ font-size: 24px;
4029
+
4030
+ svg {
4031
+ width: ${e=>e.theme.iconWidth};
4032
+ height: ${e=>e.theme.iconHeight};
4033
+ }
4034
+ `,nc=ut.div`
4035
+ font-family: ${e=>e.theme.fontFamily};
4036
+ font-size: ${e=>e.theme.fontSize};
4037
+ font-style: ${e=>e.theme.fontStyle};
4038
+ font-weight: ${e=>e.theme.fontWeight};
4039
+ color: ${e=>e.theme.fontColor};
4040
+ padding-top: ${e=>e.theme.labelPaddingTop};
4041
+ padding-bottom: ${e=>e.theme.labelPaddingBottom};
4042
+ padding-left: ${e=>e.theme.labelPaddingLeft};
4043
+ padding-right: ${e=>e.theme.labelPaddingRight};
4044
+ flex-grow: 1;
4045
+ text-align: center;
4046
+ text-overflow: ellipsis;
4047
+ overflow: hidden;
4048
+ white-space: nowrap;
4049
+ `,Ax=Sx;import{forwardRef as Hx,useEffect as Mx,useId as Ex,useRef as lc,useState as Wx}from"react";import ht,{ThemeProvider as Ox}from"styled-components";import{jsx as Kt,jsxs as dc}from"react/jsx-runtime";var ac=(e,t)=>new RegExp(e).test(t),Gx=Hx(({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:L=0},B)=>{let[I,H]=Wx(r),R=`textarea-${Ex()}`,F=k(),w=X(),D=lc(null),O=lc(null),N=`error-${R}`,Z=T=>T===""&&!d,E=T=>T!==""&&v&&f&&(T.length<v||T.length>f),z=T=>{n??H(T),Z(T)?g?.({value:T,error:w.formFields.requiredValueErrorMessage}):E(T)?g?.({value:T,error:w.formFields.lengthErrorMessage(v,f)}):T&&y&&!ac(y,T)?g?.({value:T,error:w.formFields.formatRequestedErrorMessage}):g?.({value:T})},C=T=>{Z(T.target.value)?u?.({value:T.target.value,error:w.formFields.requiredValueErrorMessage}):E(T.target.value)?u?.({value:T.target.value,error:w.formFields.lengthErrorMessage(v,f)}):T.target.value&&y&&!ac(y,T.target.value)?u?.({value:T.target.value,error:w.formFields.formatRequestedErrorMessage}):u?.({value:T.target.value})},S=T=>{z(T.target.value)};return Mx(()=>{if(s==="auto"&&O.current!==(n??I)){let T=parseInt(window.getComputedStyle(D.current)["line-height"]),P=parseInt(window.getComputedStyle(D.current)["padding-top"])*2;D.current.style.height=`${T*m}px`;let M=D.current.scrollHeight-P;D.current.style.height=`${M}px`,O.current=n??I}},[s,n,I,m]),Kt(Ox,{theme:F.textarea,children:dc(Vx,{margin:x,size:b,ref:B,children:[e&&dc(jx,{htmlFor:R,disabled:a,helperText:i,children:[e," ",d&&Kt(Xx,{children:w.formFields.optionalLabel})]}),i&&Kt(Jx,{disabled:a,children:i}),Kt(Kx,{id:R,name:t,value:n??I,placeholder:l,verticalGrow:s,rows:m,onChange:S,onBlur:C,disabled:a,readOnly:c,error:h,minLength:v,maxLength:f,autoComplete:_,ref:D,tabIndex:L,"aria-invalid":!!h,"aria-errormessage":h?N:void 0,"aria-required":!a&&!d}),!a&&typeof h=="string"&&Kt(Ux,{id:N,role:"alert","aria-live":h?"assertive":"off",children:h})]})})}),cc={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},Nx=(e,t)=>t==="fillParent"?`calc(${cc[t]} - ${j(e,"left")} - ${j(e,"right")})`:cc[t],Vx=ht.div`
4050
+ display: flex;
4051
+ flex-direction: column;
4052
+ width: ${e=>Nx(e.margin,e.size)};
4053
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
4054
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
4055
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
4056
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
4057
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
4058
+ `,jx=ht.label`
4059
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
4060
+
4061
+ font-family: ${e=>e.theme.fontFamily};
4062
+ font-size: ${e=>e.theme.labelFontSize};
4063
+ font-style: ${e=>e.theme.labelFontStyle};
4064
+ font-weight: ${e=>e.theme.labelFontWeight};
4065
+ line-height: ${e=>e.theme.labelLineHeight};
4066
+ ${e=>!e.helperText&&"margin-bottom: 0.25rem"}
4067
+ `,Xx=ht.span`
4068
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
4069
+ `,Jx=ht.span`
4070
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
4071
+
4072
+ font-family: ${e=>e.theme.fontFamily};
4073
+ font-size: ${e=>e.theme.helperTextFontSize};
4074
+ font-style: ${e=>e.theme.helperTextFontStyle};
4075
+ font-weight: ${e=>e.theme.helperTextFontWeight};
4076
+ line-height: ${e=>e.theme.helperTextLineHeight};
4077
+ margin-bottom: 0.25rem;
4078
+ `,Kx=ht.textarea`
4079
+ ${({verticalGrow:e})=>e==="none"?"resize: none;":e==="auto"?"resize: none; overflow: hidden;":e==="manual"?"resize: vertical;":"resize: none;"};
4080
+
4081
+ ${e=>e.disabled?`background-color: ${e.theme.disabledContainerFillColor};`:"background-color: transparent;"}
4082
+
4083
+ padding: 0.5rem 1rem;
4084
+ box-shadow: 0 0 0 2px transparent;
4085
+ border-radius: 0.25rem;
4086
+ border: 1px solid
4087
+ ${e=>{if(e.disabled)return e.theme.disabledBorderColor;if(e.error)return"transparent";if(e.readOnly)return e.theme.readOnlyBorderColor;e.theme.enabledBorderColor}};
4088
+
4089
+ ${e=>e.error&&!e.disabled&&`box-shadow: 0 0 0 2px ${e.theme.errorBorderColor};
4090
+ `}
4091
+
4092
+ ${e=>e.disabled?"cursor: not-allowed;":`&:hover {
4093
+ border-color: ${e.error?"transparent":e.readOnly?e.theme.hoverReadOnlyBorderColor:e.theme.hoverBorderColor};
4094
+ ${e.error&&`box-shadow: 0 0 0 2px ${e.theme.hoverErrorBorderColor};`}
4095
+ }
4096
+ &:focus, &:focus-within {
4097
+ outline: none;
4098
+ border-color: transparent;
4099
+ box-shadow: 0 0 0 2px ${e.theme.focusBorderColor};
4100
+ }`};
4101
+
4102
+ color: ${e=>e.disabled?e.theme.disabledValueFontColor:e.theme.valueFontColor};
4103
+ font-family: ${e=>e.theme.fontFamily};
4104
+ font-size: ${e=>e.theme.valueFontSize};
4105
+ font-style: ${e=>e.theme.valueFontStyle};
4106
+ font-weight: ${e=>e.theme.valueFontWeight};
4107
+ line-height: 1.5em;
4108
+
4109
+ ::placeholder {
4110
+ color: ${e=>e.disabled?e.theme.disabledPlaceholderFontColor:e.theme.placeholderFontColor};
4111
+ }
4112
+ `,Ux=ht.span`
4113
+ color: ${e=>e.theme.errorMessageColor};
4114
+ font-family: ${e=>e.theme.fontFamily};
4115
+ font-size: 0.75rem;
4116
+ font-weight: 400;
4117
+ min-height: 1.5em;
4118
+ line-height: 1.5em;
4119
+ margin-top: 0.25rem;
4120
+ `,Yx=Gx;import{createContext as c_,useCallback as hc,useEffect as d_,useMemo as s_,useState as fc}from"react";import{createPortal as m_}from"react-dom";import g_ from"styled-components";import{memo as gc,useState as Qx}from"react";import Zn,{keyframes as pc}from"styled-components";import{useRef as sc,useCallback as Zx,useEffect as mc}from"react";var qx=(e,t)=>{let r=sc(),n=sc(),i=Zx(()=>clearTimeout(n.current),[]);return mc(()=>{r.current=e},[e]),mc(()=>{if(t!=null)return n.current=setTimeout(r.current,t),i},[t,i]),i},Un=qx;import{jsx as So,jsxs as Yn}from"react/jsx-runtime";var Ut=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:""}}},e_=Zn.div`
4121
+ display: flex;
4122
+ align-items: center;
4123
+ gap: ${o.spacing_8};
4124
+ overflow: hidden;
4125
+
4126
+ ${({loading:e})=>!e&&`font-size: ${o.type_scale_05}`};
4127
+ > svg {
4128
+ width: 24px;
4129
+ height: 24px;
4130
+ }
4131
+ `,o_=Zn.span`
4132
+ color: ${o.color_black};
4133
+ font-family: ${o.type_sans};
4134
+ font-size: ${o.type_scale_02};
4135
+ font-weight: ${o.type_semibold};
4136
+ overflow: hidden;
4137
+ text-overflow: ellipsis;
4138
+ white-space: nowrap;
4139
+ `,t_=pc`
4140
+ 0% {
4141
+ transform: translateY(100%);
4142
+ opacity: 0;
4143
+ }
4144
+ 100% {
4145
+ transform: translateY(0);
4146
+ opacity: 1;
4147
+ }
4148
+ `,r_=pc`
4149
+ 0% {
4150
+ transform: translateY(0);
4151
+ opacity: 1;
4152
+ }
4153
+ 100% {
4154
+ transform: translateY(100%);
4155
+ opacity: 0;
4156
+ }
4157
+ `,n_=Zn.output`
4158
+ box-sizing: border-box;
4159
+ min-width: 200px;
4160
+ max-width: 600px;
4161
+ width: fit-content;
4162
+ border-radius: ${o.border_radius_medium};
4163
+ border-left: ${o.border_width_2} solid ${({semantic:e})=>Ut(e).primaryColor};
4164
+ box-shadow: 0px 2px 2px 0px rgba(181, 181, 181, 0.4);
4165
+ display: inline-flex;
4166
+ justify-content: space-between;
4167
+ gap: ${o.spacing_24};
4168
+ padding: ${o.spacing_8} ${o.spacing_12};
4169
+ background-color: ${({semantic:e})=>Ut(e).secondaryColor};
4170
+ color: ${({semantic:e})=>Ut(e).primaryColor};
4171
+ animation: ${({isClosing:e})=>e?r_:t_} 0.3s ease forwards;
4172
+
4173
+ @media (max-width: ${re.medium}rem) {
4174
+ max-width: 100%;
4175
+ }
4176
+ `,i_={spinner:{accentColor:Ut("info").primaryColor}},l_=gc(({icon:e,hideSemanticIcon:t,loading:r,semantic:n})=>n==="default"?typeof e=="string"?So($,{icon:e}):e:n==="info"&&r?So(ro,{theme:i_,children:So(Vn,{mode:"small"})}):!t&&So($,{icon:Ut(n).icon})),a_=({action:e,duration:t,hideSemanticIcon:r,icon:n,loading:i,message:l,onClear:a,semantic:c})=>{let[d,s]=Qx(!1),m=X(),g=Un(()=>{s(!0)},i?null:t-300),u=Un(()=>{a()},i?null:t);return Yn(n_,{semantic:c,isClosing:d,role:"status",children:[Yn(e_,{loading:i,children:[So(l_,{semantic:c,icon:n,loading:i,hideSemanticIcon:r}),So(o_,{children:l})]}),Yn(te,{alignItems:"center",gap:"0.25rem",children:[e&&So(Me,{semantic:c,mode:"tertiary",size:{height:"small"},label:e.label,icon:e.icon,onClick:e.onClick}),So(Se,{icon:"clear",title:m.toast.clearToastActionTitle,onClick:()=>{i||(g(),u()),s(!0),setTimeout(()=>{a()},300)}})]})]})},uc=gc(a_);import{jsx as bc,jsxs as b_}from"react/jsx-runtime";var qn=c_(null),p_=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},u_=g_.section`
4177
+ box-sizing: border-box;
4178
+ position: fixed;
4179
+ bottom: 0;
4180
+ right: 0;
4181
+ z-index: 2147483647;
4182
+ display: flex;
4183
+ flex-direction: column;
4184
+ align-items: flex-end;
4185
+ gap: ${o.spacing_8};
4186
+ padding: ${o.spacing_24};
4187
+
4188
+ @media (max-width: ${re.medium}rem) {
4189
+ align-items: center;
4190
+ width: 100%;
4191
+ }
4192
+ `,h_=({children:e,duration:t=3e3})=>{let[r,n]=fc([]),[i,l]=fc(!1),a=s_(()=>t>5e3?5e3:t<3e3?3e3:t,[t]),c=hc(s=>{n(m=>m.filter(g=>g.id!==s))},[]),d=hc((s,m)=>{let g=p_(r);return n(u=>[...u,{id:g,semantic:m,...s}].slice(-5)),()=>c(g)},[t]);return d_(()=>{l(!0)},[]),b_(qn.Provider,{value:{add:d},children:[i&&m_(bc(u_,{children:r.map(s=>bc(uc,{duration:a,onClear:()=>{c(s.id)},...s},s.id))}),document.body),e]})},f_=h_;import{useId as y_,useState as C_}from"react";import Oo,{ThemeProvider as x_}from"styled-components";import{jsx as uo,jsxs as yc}from"react/jsx-runtime";var __=({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-${y_()}`,[g,u]=C_(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 uo(x_,{theme:h.toggleGroup,children:yc($_,{margin:c,children:[uo(v_,{id:m,disabled:l,children:e}),uo(T_,{disabled:l,children:t}),uo(k_,{"aria-labelledby":m,children:a.map((f,_)=>uo(le,{label:f.title,children:uo(F_,{"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:yc(te,{alignItems:"center",children:[f.icon&&uo(S_,{optionLabel:f.label,children:typeof f.icon=="string"?uo($,{icon:f.icon}):f.icon}),f.label&&uo(w_,{children:f.label})]})},`toggle-${_}-${f.label}`)}))})]})})},$_=Oo.div`
4193
+ display: inline-flex;
4194
+ flex-direction: column;
4195
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
4196
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
4197
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
4198
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
4199
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
4200
+ `,v_=Oo.label`
4201
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
4202
+ font-family: ${e=>e.theme.labelFontFamily};
4203
+ font-size: ${e=>e.theme.labelFontSize};
4204
+ font-style: ${e=>e.theme.labelFontStyle};
4205
+ font-weight: ${e=>e.theme.labelFontWeight};
4206
+ line-height: ${e=>e.theme.labelLineHeight};
4207
+ `,T_=Oo.span`
4208
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
4209
+ font-family: ${e=>e.theme.helperTextFontFamily};
4210
+ font-size: ${e=>e.theme.helperTextFontSize};
4211
+ font-style: ${e=>e.theme.helperTextFontStyle};
4212
+ font-weight: ${e=>e.theme.helperTextFontWeight};
4213
+ line-height: ${e=>e.theme.helperTextLineHeight};
4214
+ `,k_=Oo.div`
4215
+ display: flex;
4216
+ gap: 0.25rem;
4217
+ width: max-content;
4218
+ height: calc(48px - 4px - 4px);
4219
+ padding: 0.25rem;
4220
+ border-width: ${e=>e.theme.containerBorderThickness};
4221
+ border-style: ${e=>e.theme.containerBorderStyle};
4222
+ border-radius: ${e=>e.theme.containerBorderRadius};
4223
+ border-color: ${e=>e.theme.containerBorderColor};
4224
+ margin-top: ${e=>e.theme.containerMarginTop};
4225
+ background-color: ${e=>e.theme.containerBackgroundColor};
4226
+ `,F_=Oo.button`
4227
+ display: flex;
4228
+ flex-direction: column;
4229
+ justify-content: center;
4230
+ padding-left: ${e=>e.optionLabel&&e.hasIcon||e.optionLabel&&!e.hasIcon?e.theme.labelPaddingLeft:e.theme.iconPaddingLeft};
4231
+ padding-right: ${e=>e.optionLabel&&e.hasIcon||e.optionLabel&&!e.hasIcon?e.theme.labelPaddingRight:e.theme.iconPaddingRight};
4232
+ border-width: ${e=>e.theme.optionBorderThickness};
4233
+ border-style: ${e=>e.theme.optionBorderStyle};
4234
+ border-radius: ${e=>e.theme.optionBorderRadius};
4235
+ background-color: ${e=>e.selected?e.theme.selectedBackgroundColor:e.theme.unselectedBackgroundColor};
4236
+ color: ${e=>e.selected?e.theme.selectedFontColor:e.theme.unselectedFontColor};
4237
+ cursor: pointer;
4238
+
4239
+ &:hover {
4240
+ background-color: ${e=>e.selected?e.theme.selectedHoverBackgroundColor:e.theme.unselectedHoverBackgroundColor};
4241
+ }
4242
+ &:active {
4243
+ background-color: ${e=>e.selected?e.theme.selectedActiveBackgroundColor:e.theme.unselectedActiveBackgroundColor};
4244
+ color: #ffffff;
4245
+ }
4246
+ &:focus {
4247
+ outline: none;
4248
+ box-shadow: ${e=>`0 0 0 ${e.theme.optionFocusBorderThickness} ${e.theme.focusColor}`};
4249
+ }
4250
+ &:disabled {
4251
+ background-color: ${e=>e.selected?e.theme.selectedDisabledBackgroundColor:e.theme.unselectedDisabledBackgroundColor};
4252
+ color: ${e=>e.selected?e.theme.selectedDisabledFontColor:e.theme.unselectedDisabledFontColor};
4253
+ cursor: not-allowed;
4254
+ }
4255
+ `,w_=Oo.span`
4256
+ font-family: ${e=>e.theme.optionLabelFontFamily};
4257
+ font-size: ${e=>e.theme.optionLabelFontSize};
4258
+ font-style: ${e=>e.theme.optionLabelFontStyle};
4259
+ font-weight: ${e=>e.theme.optionLabelFontWeight};
4260
+ `,S_=Oo.div`
4261
+ display: flex;
4262
+ margin-right: ${e=>e.optionLabel&&e.theme.iconMarginRight};
4263
+ overflow: hidden;
4264
+ font-size: 24px;
4265
+ svg {
4266
+ height: 24px;
4267
+ width: 24px;
4268
+ }
4269
+ `,I_=__;import{useState as B_}from"react";import Ve,{ThemeProvider as P_}from"styled-components";import{jsx as _e,jsxs as ft}from"react/jsx-runtime";var Cc={validIcon:ft("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",children:[_e("path",{"data-name":"Path 2946",d:"M0,0H18V18H0Z",fill:"none"}),_e("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"}),_e("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:ft("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",children:[_e("path",{"data-name":"Path 2943",d:"M0,0H18V18H0Z",fill:"none"}),_e("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"}),_e("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"})]})},L_=({mode:e="horizontal",defaultCurrentStep:t,currentStep:r,onStepClick:n,steps:i,margin:l,tabIndex:a=0})=>{let[c,d]=B_(r??t??0),s=r??c,m=k(),g=u=>{r==null&&d(u),n&&n(u)};return _e(P_,{theme:m.wizard,children:_e(D_,{mode:e,margin:l,role:"group",children:i?.map((u,h)=>ft(z_,{mode:e,lastStep:h===i?.length-1,children:[ft(A_,{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:[ft(R_,{validityIcon:u.valid!==void 0,children:[_e(H_,{current:h===s,visited:h<s,disabled:u.disabled,children:u.icon?typeof u.icon=="string"?_e($,{icon:u.icon}):u.icon:_e(M_,{children:h+1})}),u.valid!==void 0&&(u.valid?_e(xc,{children:Cc.validIcon}):_e(xc,{children:Cc.invalidIcon}))]}),(u.label||u.description)&&ft(E_,{children:[u.label&&_e(W_,{current:h===s,disabled:u.disabled,visited:h<=c,children:u.label}),u.description&&_e(O_,{current:h===s,disabled:u.disabled,visited:h<=c,children:u.description})]})]}),h===i.length-1?"":_e(G_,{mode:e})]},`step${h}`))})})},D_=Ve.div`
4270
+ display: flex;
4271
+ flex-direction: ${e=>e.mode==="vertical"?"column":"row"};
4272
+ justify-content: center;
4273
+ ${e=>e.mode==="vertical"&&"height: 500px"};
4274
+ font-family: ${e=>e.theme.fontFamily};
4275
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
4276
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
4277
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
4278
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
4279
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
4280
+ `,z_=Ve.div`
4281
+ display: inline-flex;
4282
+ ${e=>e.mode!=="vertical"&&"align-items: center;"}
4283
+ flex-grow: ${e=>e.lastStep?"0":"1"};
4284
+ flex-direction: ${e=>e.mode==="vertical"?"column":"row"};
4285
+ ${e=>e.mode==="vertical"&&"width: fit-content;"}
4286
+ `,A_=Ve.button`
4287
+ display: flex;
4288
+ justify-content: flex-start;
4289
+ align-items: center;
4290
+ border: none;
4291
+ border-radius: 0.25rem;
4292
+ background: inherit;
4293
+ 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"};
4294
+
4295
+ padding: 0px;
4296
+ ${e=>e.disabled?"cursor: not-allowed":""};
4297
+
4298
+ &:hover {
4299
+ ${e=>e.disabled?"":"cursor: pointer"};
4300
+ }
4301
+ &:focus {
4302
+ outline: 2px solid ${e=>e.theme.focusColor};
4303
+ }
4304
+ `,R_=Ve.div`
4305
+ position: relative;
4306
+ display: inline-flex;
4307
+ ${e=>e.validityIcon&&"padding-bottom: 4px;"}
4308
+ `,H_=Ve.div`
4309
+ width: ${e=>e.disabled?e.theme.disabledStepWidth:e.current?e.theme.selectedStepWidth:e.theme.stepWidth};
4310
+ height: ${e=>e.disabled?e.theme.disabledStepHeight:e.current?e.theme.selectedStepHeight:e.theme.stepHeight};
4311
+
4312
+ ${e=>`
4313
+ ${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};`}
4314
+ background: ${e.disabled?`${e.theme.disabledStepBackgroundColor}`:e.current?`${e.theme.selectedStepBackgroundColor}`:e.visited?`${e.theme.visitedStepBackgroundColor}`:`${e.theme.unvisitedStepBackgroundColor}`};
4315
+ `}
4316
+ ${e=>e.disabled?`color: ${e.theme.disabledStepFontColor};`:`color: ${e.current?e.theme.selectedStepFontColor:e.visited?e.theme.visitedStepFontColor:e.theme.unvisitedStepFontColor};`};
4317
+
4318
+ border-radius: ${e=>!e.current&&!e.disabled?e.theme.stepBorderRadius:e.current?e.theme.selectedStepBorderRadius:e.disabled?e.theme.disabledStepBorderRadius:""};
4319
+
4320
+ display: flex;
4321
+ justify-content: center;
4322
+ align-items: center;
4323
+ overflow: hidden;
4324
+ font-size: ${e=>e.theme.stepIconSize};
4325
+ svg {
4326
+ width: ${e=>e.theme.stepIconSize};
4327
+ height: ${e=>e.theme.stepIconSize};
4328
+ }
4329
+ `,M_=Ve.p`
4330
+ font-size: ${e=>e.theme.stepFontSize};
4331
+ font-family: ${e=>e.theme.stepFontFamily};
4332
+ font-style: ${e=>e.theme.stepFontStyle};
4333
+ font-weight: ${e=>e.theme.stepFontWeight};
4334
+ letter-spacing: ${e=>e.theme.stepFontTracking};
4335
+ opacity: 1;
4336
+ margin: 0px 0px 0px 1px;
4337
+ `,xc=Ve.div`
4338
+ width: 18px;
4339
+ height: 18px;
4340
+ position: absolute;
4341
+ top: 22.5px;
4342
+ left: 22.5px;
4343
+ `,E_=Ve.div`
4344
+ margin-left: 12px;
4345
+ `,W_=Ve.p`
4346
+ text-align: ${e=>e.theme.labelTextAlign};
4347
+ font-family: ${e=>e.theme.labelFontFamily};
4348
+ font-size: ${e=>e.theme.labelFontSize};
4349
+ font-style: ${e=>e.theme.labelFontStyle};
4350
+ font-weight: ${e=>e.theme.labelFontWeight};
4351
+ letter-spacing: ${e=>e.theme.labelFontTracking};
4352
+ ${e=>e.disabled?`color: ${e.theme.disabledLabelFontColor};`:`color: ${e.visited?e.current?e.theme.selectedLabelFontColor:e.theme.visitedLabelFontColor:e.theme.unvisitedLabelFontColor};`};
4353
+ text-transform: ${e=>e.theme.labelFontTextTransform};
4354
+ margin: 0;
4355
+ `,O_=Ve.p`
4356
+ text-align: ${e=>e.theme.helperTextTextAlign};
4357
+ font-family: ${e=>e.theme.helperTextFontFamily};
4358
+ font-size: ${e=>e.theme.helperTextFontSize};
4359
+ font-style: ${e=>e.theme.helperTextFontStyle};
4360
+ font-weight: ${e=>e.theme.helperTextFontWeight};
4361
+ letter-spacing: ${e=>e.theme.helperTextFontTracking};
4362
+ text-transform: ${e=>e.theme.helperTextFontTextTransform};
4363
+ ${e=>e.disabled?`color: ${e.theme.disabledHelperTextFontColor};`:`color: ${e.visited?e.current?e.theme.selectedHelperTextFontColor:e.theme.visitedHelperTextFontColor:e.theme.unvisitedHelperTextFontColor};`};
4364
+ margin: 0;
4365
+ `,G_=Ve.div`
4366
+ ${e=>e.mode==="horizontal"?"height: 0;":"width: 0;"};
4367
+ ${e=>e.mode==="vertical"&&"margin: 0 18px;"}
4368
+ border: ${e=>`${e.theme.separatorBorderStyle} ${e.theme.separatorBorderThickness} ${e.theme.separatorColor}`};
4369
+ opacity: 1;
4370
+ flex-grow: 1;
4371
+ `,N_=L_;import{useContext as V_,useMemo as j_}from"react";var X_=()=>{let{add:e}=V_(qn);return j_(()=>({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])},J_=X_;export{Xr as DxcAccordion,bd as DxcAccordionGroup,Ld as DxcAlert,zm as DxcApplicationLayout,Do as DxcBadge,ir as DxcBleed,eg as DxcBreadcrumbs,fg as DxcBulletedList,Me as DxcButton,Ag as DxcCard,Ko as DxcCheckbox,ep as DxcChip,ip as DxcContainer,Jp as DxcContextualMenu,th as DxcDataGrid,wf as DxcDateInput,Jf as DxcDialog,rn as DxcDivider,Bo as DxcDropdown,xb as DxcFileInput,te as DxcFlex,vb as DxcGrid,kn as DxcHeading,Mb as DxcImage,Zo as DxcInset,Zb as DxcLink,b0 as DxcNavTabs,k0 as DxcNumberInput,Lt as DxcPaginator,w0 as DxcParagraph,R0 as DxcPasswordInput,U0 as DxcProgressBar,oy as DxcQuickNav,wy as DxcRadioGroup,Wy as DxcResultsetTable,vr as DxcSelect,iC as DxcSlider,Vn as DxcSpinner,$C as DxcStatusLight,AC as DxcSwitch,mn as DxcTable,vx as DxcTabs,Ax as DxcTag,mo as DxcTextInput,Yx as DxcTextarea,f_ as DxcToastsQueue,I_ as DxcToggleGroup,pi as DxcTooltip,zo as DxcTypography,N_ as DxcWizard,Yt as HalstackContext,Zt as HalstackLanguageContext,ro as HalstackProvider,J_ as useToast};