@iota/apps-ui-kit 0.0.0-experimental-20250613144451

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 (220) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/LICENSE +201 -0
  3. package/README.md +16 -0
  4. package/dist/index.d.ts +1726 -0
  5. package/dist/index.es.js +6923 -0
  6. package/dist/index.es.js.map +1 -0
  7. package/dist/index.umd.js +118 -0
  8. package/dist/index.umd.js.map +1 -0
  9. package/dist/style.css +1 -0
  10. package/package.json +75 -0
  11. package/src/lib/components/atoms/badge/Badge.tsx +37 -0
  12. package/src/lib/components/atoms/badge/badge.classes.ts +33 -0
  13. package/src/lib/components/atoms/badge/badge.enums.ts +11 -0
  14. package/src/lib/components/atoms/badge/index.ts +6 -0
  15. package/src/lib/components/atoms/button/Button.tsx +99 -0
  16. package/src/lib/components/atoms/button/button-variants/ButtonPill.tsx +23 -0
  17. package/src/lib/components/atoms/button/button-variants/ButtonUnstyled.tsx +27 -0
  18. package/src/lib/components/atoms/button/button-variants/buttonVariants.types.ts +11 -0
  19. package/src/lib/components/atoms/button/button-variants/index.ts +5 -0
  20. package/src/lib/components/atoms/button/button.classes.ts +53 -0
  21. package/src/lib/components/atoms/button/button.enums.ts +21 -0
  22. package/src/lib/components/atoms/button/index.ts +7 -0
  23. package/src/lib/components/atoms/button-segment/ButtonSegment.tsx +98 -0
  24. package/src/lib/components/atoms/button-segment/buttonSegment.classes.ts +45 -0
  25. package/src/lib/components/atoms/button-segment/buttonSegment.enums.ts +7 -0
  26. package/src/lib/components/atoms/button-segment/index.ts +5 -0
  27. package/src/lib/components/atoms/checkbox/Checkbox.tsx +114 -0
  28. package/src/lib/components/atoms/checkbox/index.ts +4 -0
  29. package/src/lib/components/atoms/divider/Divider.tsx +48 -0
  30. package/src/lib/components/atoms/divider/divider.classes.ts +11 -0
  31. package/src/lib/components/atoms/divider/divider.enums.ts +7 -0
  32. package/src/lib/components/atoms/divider/index.ts +6 -0
  33. package/src/lib/components/atoms/header/Header.tsx +73 -0
  34. package/src/lib/components/atoms/header/index.ts +4 -0
  35. package/src/lib/components/atoms/index.ts +23 -0
  36. package/src/lib/components/atoms/info-box/InfoBox.tsx +74 -0
  37. package/src/lib/components/atoms/info-box/index.ts +5 -0
  38. package/src/lib/components/atoms/info-box/infoBox.classes.ts +19 -0
  39. package/src/lib/components/atoms/info-box/infoBox.enums.ts +14 -0
  40. package/src/lib/components/atoms/key-value-info/KeyValueInfo.tsx +157 -0
  41. package/src/lib/components/atoms/key-value-info/index.ts +6 -0
  42. package/src/lib/components/atoms/key-value-info/keyValue.enums.ts +7 -0
  43. package/src/lib/components/atoms/label-text/LabelText.tsx +94 -0
  44. package/src/lib/components/atoms/label-text/index.ts +5 -0
  45. package/src/lib/components/atoms/label-text/labelText.classes.ts +22 -0
  46. package/src/lib/components/atoms/label-text/labelText.enums.ts +8 -0
  47. package/src/lib/components/atoms/list-item/ListItem.tsx +89 -0
  48. package/src/lib/components/atoms/list-item/index.ts +4 -0
  49. package/src/lib/components/atoms/loading-indicator/LoadingIndicator.tsx +38 -0
  50. package/src/lib/components/atoms/loading-indicator/index.ts +4 -0
  51. package/src/lib/components/atoms/panel/Panel.tsx +30 -0
  52. package/src/lib/components/atoms/panel/index.ts +4 -0
  53. package/src/lib/components/atoms/placeholder/Placeholder.tsx +27 -0
  54. package/src/lib/components/atoms/placeholder/index.ts +4 -0
  55. package/src/lib/components/atoms/radio-button/RadioButton.tsx +68 -0
  56. package/src/lib/components/atoms/radio-button/index.ts +4 -0
  57. package/src/lib/components/atoms/secondary-text/SecondaryText.tsx +28 -0
  58. package/src/lib/components/atoms/secondary-text/index.ts +4 -0
  59. package/src/lib/components/atoms/skeleton/Skeleton.tsx +47 -0
  60. package/src/lib/components/atoms/skeleton/index.ts +4 -0
  61. package/src/lib/components/atoms/snackbar/Snackbar.tsx +69 -0
  62. package/src/lib/components/atoms/snackbar/index.ts +5 -0
  63. package/src/lib/components/atoms/snackbar/snackbar.classes.ts +18 -0
  64. package/src/lib/components/atoms/snackbar/snackbar.enums.tsx +9 -0
  65. package/src/lib/components/atoms/toggle/Toggle.tsx +140 -0
  66. package/src/lib/components/atoms/toggle/index.ts +6 -0
  67. package/src/lib/components/atoms/toggle/toggle.classes.ts +41 -0
  68. package/src/lib/components/atoms/toggle/toggle.enums.ts +12 -0
  69. package/src/lib/components/atoms/tooltip/Tooltip.tsx +138 -0
  70. package/src/lib/components/atoms/tooltip/index.ts +5 -0
  71. package/src/lib/components/atoms/tooltip/tooltip.classes.ts +11 -0
  72. package/src/lib/components/atoms/tooltip/tooltip.enums.ts +9 -0
  73. package/src/lib/components/atoms/visual-asset-card/VisualAssetCard.tsx +101 -0
  74. package/src/lib/components/atoms/visual-asset-card/index.ts +5 -0
  75. package/src/lib/components/atoms/visual-asset-card/visualAssetCard.enums.ts +7 -0
  76. package/src/lib/components/index.ts +8 -0
  77. package/src/lib/components/molecules/account/Account.tsx +192 -0
  78. package/src/lib/components/molecules/account/index.ts +4 -0
  79. package/src/lib/components/molecules/address/Address.tsx +101 -0
  80. package/src/lib/components/molecules/address/index.ts +4 -0
  81. package/src/lib/components/molecules/card/Card.tsx +70 -0
  82. package/src/lib/components/molecules/card/CardAction.tsx +80 -0
  83. package/src/lib/components/molecules/card/CardBody.tsx +72 -0
  84. package/src/lib/components/molecules/card/CardImage.tsx +43 -0
  85. package/src/lib/components/molecules/card/CardImagePlaceholder.tsx +146 -0
  86. package/src/lib/components/molecules/card/card.classes.ts +27 -0
  87. package/src/lib/components/molecules/card/card.enums.ts +26 -0
  88. package/src/lib/components/molecules/card/index.ts +8 -0
  89. package/src/lib/components/molecules/chip/Chip.tsx +105 -0
  90. package/src/lib/components/molecules/chip/chip.classes.ts +32 -0
  91. package/src/lib/components/molecules/chip/chip.enums.ts +7 -0
  92. package/src/lib/components/molecules/chip/index.ts +4 -0
  93. package/src/lib/components/molecules/display-stats/DisplayStats.tsx +142 -0
  94. package/src/lib/components/molecules/display-stats/displayStats.classes.ts +36 -0
  95. package/src/lib/components/molecules/display-stats/displayStats.enums.ts +13 -0
  96. package/src/lib/components/molecules/display-stats/index.ts +5 -0
  97. package/src/lib/components/molecules/dropdown/Dropdown.tsx +10 -0
  98. package/src/lib/components/molecules/dropdown/dropdownPosition.enums.ts +7 -0
  99. package/src/lib/components/molecules/dropdown/index.ts +5 -0
  100. package/src/lib/components/molecules/index.ts +17 -0
  101. package/src/lib/components/molecules/input/Input.tsx +246 -0
  102. package/src/lib/components/molecules/input/InputWrapper.tsx +97 -0
  103. package/src/lib/components/molecules/input/TextArea.tsx +150 -0
  104. package/src/lib/components/molecules/input/index.ts +8 -0
  105. package/src/lib/components/molecules/input/input.classes.ts +14 -0
  106. package/src/lib/components/molecules/input/input.enums.ts +14 -0
  107. package/src/lib/components/molecules/input/input.types.ts +29 -0
  108. package/src/lib/components/molecules/navbar-item/NavbarItem.tsx +48 -0
  109. package/src/lib/components/molecules/navbar-item/NavbarItemHorizontal.tsx +65 -0
  110. package/src/lib/components/molecules/navbar-item/NavbarItemVertical.tsx +54 -0
  111. package/src/lib/components/molecules/navbar-item/index.ts +5 -0
  112. package/src/lib/components/molecules/navbar-item/navbarItem.classes.ts +16 -0
  113. package/src/lib/components/molecules/navbar-item/navbarItem.enums.ts +7 -0
  114. package/src/lib/components/molecules/search/Search.tsx +216 -0
  115. package/src/lib/components/molecules/search/index.ts +5 -0
  116. package/src/lib/components/molecules/search/search.classes.ts +20 -0
  117. package/src/lib/components/molecules/search/search.enums.ts +7 -0
  118. package/src/lib/components/molecules/segmented-button/SegmentedButton.tsx +38 -0
  119. package/src/lib/components/molecules/segmented-button/index.ts +6 -0
  120. package/src/lib/components/molecules/segmented-button/segmentedButton.classes.ts +12 -0
  121. package/src/lib/components/molecules/segmented-button/segmentedButton.enums.ts +8 -0
  122. package/src/lib/components/molecules/select/Select.tsx +222 -0
  123. package/src/lib/components/molecules/select/index.ts +5 -0
  124. package/src/lib/components/molecules/select/select.enums.ts +7 -0
  125. package/src/lib/components/molecules/table-cell/TableCell.tsx +62 -0
  126. package/src/lib/components/molecules/table-cell/index.ts +4 -0
  127. package/src/lib/components/molecules/table-header-cell/TableHeaderCell.tsx +140 -0
  128. package/src/lib/components/molecules/table-header-cell/index.ts +5 -0
  129. package/src/lib/components/molecules/table-header-cell/tableHeaderCell.enums.ts +7 -0
  130. package/src/lib/components/molecules/title/Title.tsx +78 -0
  131. package/src/lib/components/molecules/title/index.ts +5 -0
  132. package/src/lib/components/molecules/title/titleClasses.constants.ts +14 -0
  133. package/src/lib/components/molecules/title/titleSize.enums.ts +7 -0
  134. package/src/lib/components/organisms/accordion/Accordion.tsx +109 -0
  135. package/src/lib/components/organisms/accordion/accordion.classes.ts +4 -0
  136. package/src/lib/components/organisms/accordion/index.ts +4 -0
  137. package/src/lib/components/organisms/dialog/Dialog.tsx +142 -0
  138. package/src/lib/components/organisms/dialog/dialog.enums.ts +7 -0
  139. package/src/lib/components/organisms/dialog/index.ts +5 -0
  140. package/src/lib/components/organisms/index.ts +7 -0
  141. package/src/lib/components/organisms/navbar/Navbar.tsx +101 -0
  142. package/src/lib/components/organisms/navbar/NavbarSlideout.tsx +59 -0
  143. package/src/lib/components/organisms/navbar/index.ts +5 -0
  144. package/src/lib/components/organisms/table/Table.tsx +234 -0
  145. package/src/lib/components/organisms/table/TableContext.tsx +56 -0
  146. package/src/lib/components/organisms/table/index.ts +4 -0
  147. package/src/lib/constants/colors.constants.ts +133 -0
  148. package/src/lib/constants/index.ts +4 -0
  149. package/src/lib/enums/index.ts +4 -0
  150. package/src/lib/enums/screenSize.enums.ts +9 -0
  151. package/src/lib/index.ts +8 -0
  152. package/src/lib/styles/fonts.css +5 -0
  153. package/src/lib/styles/index.css +149 -0
  154. package/src/lib/tailwind/base.presets.ts +49 -0
  155. package/src/lib/tailwind/constants/fontSizes.constants.ts +201 -0
  156. package/src/lib/tailwind/constants/index.ts +6 -0
  157. package/src/lib/tailwind/constants/scaling.constants.ts +41 -0
  158. package/src/lib/tailwind/constants/variableSpacing.constants.ts +66 -0
  159. package/src/lib/tailwind/helpers.ts +20 -0
  160. package/src/lib/tailwind/index.ts +5 -0
  161. package/src/lib/tailwind/plugins.ts +8 -0
  162. package/src/lib/tailwind/responsive.presets.ts +36 -0
  163. package/src/lib/tailwind/static.presets.ts +25 -0
  164. package/src/lib/tailwind/types.ts +6 -0
  165. package/src/lib/utils/format.ts +8 -0
  166. package/src/lib/utils/index.ts +4 -0
  167. package/src/storybook/blocks/Showcase.tsx +20 -0
  168. package/src/storybook/blocks/TypeSet.tsx +34 -0
  169. package/src/storybook/blocks/TypeSetItem.tsx +74 -0
  170. package/src/storybook/blocks/index.ts +6 -0
  171. package/src/storybook/constants/index.ts +5 -0
  172. package/src/storybook/constants/typeset.constants.ts +39 -0
  173. package/src/storybook/constants/variableSpacing.constants.ts +6 -0
  174. package/src/storybook/helpers/getFontSizeLabel.ts +15 -0
  175. package/src/storybook/helpers/index.ts +4 -0
  176. package/src/storybook/stories/atoms/Badge.stories.tsx +32 -0
  177. package/src/storybook/stories/atoms/Button.stories.tsx +45 -0
  178. package/src/storybook/stories/atoms/ButtonSegment.stories.tsx +45 -0
  179. package/src/storybook/stories/atoms/Checkbox.stories.tsx +34 -0
  180. package/src/storybook/stories/atoms/CustomScrollbar.stories.tsx +22 -0
  181. package/src/storybook/stories/atoms/Divider.stories.tsx +41 -0
  182. package/src/storybook/stories/atoms/Header.stories.tsx +58 -0
  183. package/src/storybook/stories/atoms/InfoBox.stories.tsx +67 -0
  184. package/src/storybook/stories/atoms/KeyValueInfo.stories.tsx +59 -0
  185. package/src/storybook/stories/atoms/LabelText.stories.tsx +55 -0
  186. package/src/storybook/stories/atoms/ListItem.stories.tsx +41 -0
  187. package/src/storybook/stories/atoms/LoadingIndicator.stories.tsx +32 -0
  188. package/src/storybook/stories/atoms/Panel.stories.tsx +36 -0
  189. package/src/storybook/stories/atoms/Placeholder.stories.tsx +33 -0
  190. package/src/storybook/stories/atoms/RadioButton.stories.tsx +51 -0
  191. package/src/storybook/stories/atoms/Skeleton.stories.tsx +33 -0
  192. package/src/storybook/stories/atoms/Snackbar.stories.tsx +43 -0
  193. package/src/storybook/stories/atoms/Toggle.stories.tsx +59 -0
  194. package/src/storybook/stories/atoms/Tooltip.stories.tsx +57 -0
  195. package/src/storybook/stories/atoms/VisualAssetCard.stories.tsx +56 -0
  196. package/src/storybook/stories/components/VariableSpacingShowcase.tsx +46 -0
  197. package/src/storybook/stories/components/index.ts +4 -0
  198. package/src/storybook/stories/design-tokens/colors.stories.mdx +23 -0
  199. package/src/storybook/stories/design-tokens/icons.stories.mdx +17 -0
  200. package/src/storybook/stories/design-tokens/typeset.stories.mdx +15 -0
  201. package/src/storybook/stories/design-tokens/variable-spacing.stories.mdx +10 -0
  202. package/src/storybook/stories/molecules/Account.stories.tsx +69 -0
  203. package/src/storybook/stories/molecules/Address.stories.tsx +39 -0
  204. package/src/storybook/stories/molecules/Card.stories.tsx +112 -0
  205. package/src/storybook/stories/molecules/Chip.stories.tsx +122 -0
  206. package/src/storybook/stories/molecules/DisplayStats.stories.tsx +63 -0
  207. package/src/storybook/stories/molecules/Dropdown.stories.tsx +38 -0
  208. package/src/storybook/stories/molecules/Input.stories.tsx +162 -0
  209. package/src/storybook/stories/molecules/NavbarItem.stories.tsx +45 -0
  210. package/src/storybook/stories/molecules/Search.stories.tsx +101 -0
  211. package/src/storybook/stories/molecules/SegmentedButton.stories.tsx +108 -0
  212. package/src/storybook/stories/molecules/Select.stories.tsx +103 -0
  213. package/src/storybook/stories/molecules/TableCell.stories.tsx +46 -0
  214. package/src/storybook/stories/molecules/TableHeaderCell.stories.tsx +34 -0
  215. package/src/storybook/stories/molecules/TextArea.stories.tsx +80 -0
  216. package/src/storybook/stories/molecules/Title.stories.tsx +76 -0
  217. package/src/storybook/stories/organisms/Accordion.stories.tsx +70 -0
  218. package/src/storybook/stories/organisms/Dialog.stories.tsx +103 -0
  219. package/src/storybook/stories/organisms/Navbar.stories.tsx +78 -0
  220. package/src/storybook/stories/organisms/Table.stories.tsx +154 -0
@@ -0,0 +1,118 @@
1
+ (function(S,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],A):(S=typeof globalThis<"u"?globalThis:S||self,A(S["@iota/apps-ui-kit"]={},S.React,S.ReactDOM))})(this,function(S,A,Ir){"use strict";function Tn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const x=Tn(A),kn=Tn(Ir);var Ve=(e=>(e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e))(Ve||{});const ue=(e,t=16)=>`${e/t}rem`;function On(e){return Object.entries(e).reduce((r,[n,i])=>(r[n]=`${i}px`,r),{})}const Rn={primary:{0:"#000000",10:"#061244",20:"#182b8a",30:"#3131ff",40:"#2563f5",50:"#3f80f0",60:"#5b9cfe",70:"#85b5fb",80:"#adceff",90:"#d5e8ff",100:"#ffffff"},secondary:{0:"#000000",10:"#051631",20:"#17345f",30:"#2d4c7a",40:"#4b648a",50:"#637ca2",60:"#7e97bd",70:"#96b3d5",80:"#b6cde8",90:"#dde9f7",100:"#ffffff"},tertiary:{0:"#000000",10:"#071f22",20:"#18393b",30:"#185b60",40:"#317479",50:"#498c91",60:"#64a7ac",70:"#7fc2c7",80:"#9adde2",90:"#c2f1f4",100:"#ffffff"},error:{0:"#000000",10:"#330009",20:"#610012",30:"#b51431",40:"#ce2d4a",50:"#e64562",60:"#ff607d",70:"#ff889e",80:"#ffb0be",90:"#ffd9e0",100:"#ffffff"},neutral:{0:"#000000",4:"#0a0f17",6:"#0f141c",10:"#171d26",12:"#1c212b",20:"#253041",30:"#3c4656",40:"#545e6e",50:"#6e7787",60:"#8892a1",70:"#a8b2c0",80:"#cad4e2",90:"#dde4f0",92:"#e3eaf6",96:"#eff4fa",98:"#f8fafc",100:"#ffffff"},warning:{10:"#422C00",20:"#2D1E00",60:"#BE8F32",90:"#FFE3AB"}},An={"shader-primary-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-inverted-dark":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"},"shader-neutral-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-primary-light":{0:"#0067ee00",8:"#0067ee14",12:"#0067ee1e",16:"#0067ee28",48:"#0067ee7a",72:"#0067eeb7"},"shader-inverted-light":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-neutral-light":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"}},Vi={none:ue(0),sm:ue(2),DEFAULT:ue(4),md:ue(6),lg:ue(8),xl:ue(12),"2xl":ue(16),"3xl":ue(24),full:ue(120)},Ui={none:ue(0),xxxs:ue(2),xxs:ue(4),xs:ue(8),sm:ue(12),md:ue(16),lg:ue(24),xl:ue(32),"2xl":ue(48)},Wi={0:"0",8:"0.08",12:"0.12",16:"0.16",40:"0.4",60:"0.6",80:"0.8",100:"1"},Hi={...{"text-label-sm":["11px",{lineHeight:"16px",letterSpacing:"0.2px",fontWeight:500}],"text-label-md":["12px",{lineHeight:"16px",letterSpacing:"-0.1px",fontWeight:500}],"text-label-lg":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:500}]},...{"text-body-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-lg":["16px",{lineHeight:"24px",letterSpacing:"0.1px",fontWeight:400}]},...{"text-body-ds-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-ds-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-ds-lg":["16px",{lineHeight:"24px",letterSpacing:"0.2px",fontWeight:400}]},...{"text-title-sm":["14px",{lineHeight:"120%",letterSpacing:"-0.1px",fontWeight:500}],"text-title-md":["16px",{lineHeight:"120%",letterSpacing:"-0.15px",fontWeight:500}],"text-title-lg":["20px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}]},...{"text-headline-sm":["24px",{lineHeight:"120%",letterSpacing:"-0.2px",fontWeight:500}],"text-headline-md":["28px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}],"text-headline-lg":["32px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}]},...{"text-display-sm":["36px",{lineHeight:"120%",fontWeight:500}],"text-display-md":["48px",{lineHeight:"120%",fontWeight:500}],"text-display-lg":["60px",{lineHeight:"120%",fontWeight:500}]}},$i=Object.entries(Hi).reduce((e,[t,r])=>{const n=t.startsWith("text-")?t.replace("text-",""):t;return{...e,[n]:r}},{}),Dn={"xs--rs":["4px","8px"],"sm--rs":["8px","12px"],"md--rs":["16px","24px"]};function Gi(e,t){const r=[Ve.Sm,Ve.Md,Ve.Lg,Ve.Xl],n=Dn[e];let i=`${n[0]}`;for(let l=1;l<n.length;l++)if(n[l]){const s=t[r[l]];s&&(i=`clamp(${i}, (100vw - ${s}) * 99, ${n[l]})`)}return i}function zi(e){return Object.keys(Dn).reduce((r,n)=>{const i=Gi(n,e);return{...r,[n]:i}},{})}var ir=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Mr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ln={},Pn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n,i){return{handler:n,config:i}}t.withOptions=function(n,i=()=>({})){const l=function(s){return{__options:s,handler:n(s),config:i(s)}};return l.__isOptionsFunction=!0,l.__pluginFunction=n,l.__configFunction=i,l};const r=t})(Pn),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const t=r(Pn);function r(i){return i.__esModule?i:{default:i}}const n=t.default}(Ln);let Br=Ln;var Xi=(Br.__esModule?Br:{default:Br}).default;const Ki=Mr(Xi)(({addVariant:e})=>{e("firefox","@-moz-document url-prefix()")}),In={content:["./src/**/*.{html,js,jsx,ts,tsx}"],darkMode:"class",plugins:[Ki],theme:{extend:{fontSize:{...$i},borderRadius:{...Vi},spacing:e=>{const t=e.theme("screens"),r=zi(t);return{...Ui,...r}},opacity:{...Wi,30:"0.3"},colors:{...Rn,...An},fontFamily:{"alliance-no2":["AllianceNo2","sans-serif"],inter:["Inter","sans-serif"]}}}};var lr={exports:{}};lr.exports,function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,l=16,s=9007199254740991,u="[object Arguments]",f="[object Array]",h="[object AsyncFunction]",v="[object Boolean]",m="[object Date]",p="[object Error]",y="[object Function]",E="[object GeneratorFunction]",b="[object Map]",C="[object Number]",j="[object Null]",k="[object Object]",N="[object Proxy]",I="[object RegExp]",B="[object Set]",M="[object String]",O="[object Undefined]",D="[object WeakMap]",Y="[object ArrayBuffer]",he="[object DataView]",Se="[object Float32Array]",Te="[object Float64Array]",ve="[object Int8Array]",ye="[object Int16Array]",ke="[object Int32Array]",W="[object Uint8Array]",V="[object Uint8ClampedArray]",ee="[object Uint16Array]",ae="[object Uint32Array]",oe=/[\\^$.*+?()[\]{}|]/g,ne=/^\[object .+?Constructor\]$/,de=/^(?:0|[1-9]\d*)$/,X={};X[Se]=X[Te]=X[ve]=X[ye]=X[ke]=X[W]=X[V]=X[ee]=X[ae]=!0,X[u]=X[f]=X[Y]=X[v]=X[he]=X[m]=X[p]=X[y]=X[b]=X[C]=X[k]=X[I]=X[B]=X[M]=X[D]=!1;var ct=typeof ir=="object"&&ir&&ir.Object===Object&&ir,qe=typeof self=="object"&&self&&self.Object===Object&&self,Ee=ct||qe||Function("return this")(),Ge=t&&!t.nodeType&&t,_e=Ge&&!0&&e&&!e.nodeType&&e,dt=_e&&_e.exports===Ge,ze=dt&&ct.process,Lt=function(){try{var o=_e&&_e.require&&_e.require("util").types;return o||ze&&ze.binding&&ze.binding("util")}catch{}}(),jt=Lt&&Lt.isTypedArray;function qt(o,d,g){switch(g.length){case 0:return o.call(d);case 1:return o.call(d,g[0]);case 2:return o.call(d,g[0],g[1]);case 3:return o.call(d,g[0],g[1],g[2])}return o.apply(d,g)}function Jt(o,d){for(var g=-1,P=Array(o);++g<o;)P[g]=d(g);return P}function Je(o){return function(d){return o(d)}}function Qe(o,d){return o==null?void 0:o[d]}function R(o,d){return function(g){return o(d(g))}}var L=Array.prototype,U=Function.prototype,J=Object.prototype,me=Ee["__core-js_shared__"],q=U.toString,H=J.hasOwnProperty,Ce=function(){var o=/[^.]+$/.exec(me&&me.keys&&me.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),je=J.toString,Oe=q.call(Object),ft=RegExp("^"+q.call(H).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pt=dt?Ee.Buffer:void 0,Qt=Ee.Symbol,er=Ee.Uint8Array;Pt&&Pt.allocUnsafe;var Cr=R(Object.getPrototypeOf,Object),jr=Object.create,dn=J.propertyIsEnumerable,fn=L.splice,et=Qt?Qt.toStringTag:void 0,It=function(){try{var o=yn(Object,"defineProperty");return o({},"",{}),o}catch{}}(),hn=Pt?Pt.isBuffer:void 0,Mt=Math.max,Nr=Date.now,tt=yn(Ee,"Map"),rt=yn(Object,"create"),tr=function(){function o(){}return function(d){if(!Nt(d))return{};if(jr)return jr(d);o.prototype=d;var g=new o;return o.prototype=void 0,g}}();function Xe(o){var d=-1,g=o==null?0:o.length;for(this.clear();++d<g;){var P=o[d];this.set(P[0],P[1])}}function mn(){this.__data__=rt?rt(null):{},this.size=0}function Tr(o){var d=this.has(o)&&delete this.__data__[o];return this.size-=d?1:0,d}function vn(o){var d=this.__data__;if(rt){var g=d[o];return g===n?void 0:g}return H.call(d,o)?d[o]:void 0}function kr(o){var d=this.__data__;return rt?d[o]!==void 0:H.call(d,o)}function Or(o,d){var g=this.__data__;return this.size+=this.has(o)?0:1,g[o]=rt&&d===void 0?n:d,this}Xe.prototype.clear=mn,Xe.prototype.delete=Tr,Xe.prototype.get=vn,Xe.prototype.has=kr,Xe.prototype.set=Or;function Be(o){var d=-1,g=o==null?0:o.length;for(this.clear();++d<g;){var P=o[d];this.set(P[0],P[1])}}function gn(){this.__data__=[],this.size=0}function Rr(o){var d=this.__data__,g=De(d,o);if(g<0)return!1;var P=d.length-1;return g==P?d.pop():fn.call(d,g,1),--this.size,!0}function Ar(o){var d=this.__data__,g=De(d,o);return g<0?void 0:d[g][1]}function xn(o){return De(this.__data__,o)>-1}function pn(o,d){var g=this.__data__,P=De(g,o);return P<0?(++this.size,g.push([o,d])):g[P][1]=d,this}Be.prototype.clear=gn,Be.prototype.delete=Rr,Be.prototype.get=Ar,Be.prototype.has=xn,Be.prototype.set=pn;function ht(o){var d=-1,g=o==null?0:o.length;for(this.clear();++d<g;){var P=o[d];this.set(P[0],P[1])}}function bn(){this.size=0,this.__data__={hash:new Xe,map:new(tt||Be),string:new Xe}}function c(o){var d=Lr(this,o).delete(o);return this.size-=d?1:0,d}function _(o){return Lr(this,o).get(o)}function T(o){return Lr(this,o).has(o)}function F(o,d){var g=Lr(this,o),P=g.size;return g.set(o,d),this.size+=g.size==P?0:1,this}ht.prototype.clear=bn,ht.prototype.delete=c,ht.prototype.get=_,ht.prototype.has=T,ht.prototype.set=F;function G(o){var d=this.__data__=new Be(o);this.size=d.size}function te(){this.__data__=new Be,this.size=0}function z(o){var d=this.__data__,g=d.delete(o);return this.size=d.size,g}function $(o){return this.__data__.get(o)}function be(o){return this.__data__.has(o)}function se(o,d){var g=this.__data__;if(g instanceof Be){var P=g.__data__;if(!tt||P.length<r-1)return P.push([o,d]),this.size=++g.size,this;g=this.__data__=new ht(P)}return g.set(o,d),this.size=g.size,this}G.prototype.clear=te,G.prototype.delete=z,G.prototype.get=$,G.prototype.has=be,G.prototype.set=se;function fe(o,d){var g=En(o),P=!g&&Sn(o),Z=!g&&!P&&Li(o),re=!g&&!P&&!Z&&Ii(o),ie=g||P||Z||re,Q=ie?Jt(o.length,String):[],le=Q.length;for(var Fe in o)ie&&(Fe=="length"||Z&&(Fe=="offset"||Fe=="parent")||re&&(Fe=="buffer"||Fe=="byteLength"||Fe=="byteOffset")||Ai(Fe,le))||Q.push(Fe);return Q}function we(o,d,g){(g!==void 0&&!Pr(o[d],g)||g===void 0&&!(d in o))&&xe(o,d,g)}function mt(o,d,g){var P=o[d];(!(H.call(o,d)&&Pr(P,g))||g===void 0&&!(d in o))&&xe(o,d,g)}function De(o,d){for(var g=o.length;g--;)if(Pr(o[g][0],d))return g;return-1}function xe(o,d,g){d=="__proto__"&&It?It(o,d,{configurable:!0,enumerable:!0,value:g,writable:!0}):o[d]=g}var rr=Xc();function Bt(o){return o==null?o===void 0?O:j:et&&et in Object(o)?Kc(o):ed(o)}function Dr(o){return nr(o)&&Bt(o)==u}function Pc(o){if(!Nt(o)||Jc(o))return!1;var d=Cn(o)?ft:ne;return d.test(ad(o))}function Ic(o){return nr(o)&&Pi(o.length)&&!!X[Bt(o)]}function Mc(o){if(!Nt(o))return Qc(o);var d=Di(o),g=[];for(var P in o)P=="constructor"&&(d||!H.call(o,P))||g.push(P);return g}function Ri(o,d,g,P,Z){o!==d&&rr(d,function(re,ie){if(Z||(Z=new G),Nt(re))Bc(o,d,ie,g,Ri,P,Z);else{var Q=P?P(wn(o,ie),re,ie+"",o,d,Z):void 0;Q===void 0&&(Q=re),we(o,ie,Q)}},Mi)}function Bc(o,d,g,P,Z,re,ie){var Q=wn(o,g),le=wn(d,g),Fe=ie.get(le);if(Fe){we(o,g,Fe);return}var Re=re?re(Q,le,g+"",o,d,ie):void 0,ar=Re===void 0;if(ar){var jn=En(le),Nn=!jn&&Li(le),Fi=!jn&&!Nn&&Ii(le);Re=le,jn||Nn||Fi?En(Q)?Re=Q:id(Q)?Re=$c(Q):Nn?(ar=!1,Re=Uc(le)):Fi?(ar=!1,Re=Hc(le)):Re=[]:ld(le)||Sn(le)?(Re=Q,Sn(Q)?Re=od(Q):(!Nt(Q)||Cn(Q))&&(Re=Yc(le))):ar=!1}ar&&(ie.set(le,Re),Z(Re,le,P,re,ie),ie.delete(le)),we(o,g,Re)}function Fc(o,d){return rd(td(o,d,Bi),o+"")}var Vc=It?function(o,d){return It(o,"toString",{configurable:!0,enumerable:!1,value:ud(d),writable:!0})}:Bi;function Uc(o,d){return o.slice()}function Wc(o){var d=new o.constructor(o.byteLength);return new er(d).set(new er(o)),d}function Hc(o,d){var g=Wc(o.buffer);return new o.constructor(g,o.byteOffset,o.length)}function $c(o,d){var g=-1,P=o.length;for(d||(d=Array(P));++g<P;)d[g]=o[g];return d}function Gc(o,d,g,P){var Z=!g;g||(g={});for(var re=-1,ie=d.length;++re<ie;){var Q=d[re],le=void 0;le===void 0&&(le=o[Q]),Z?xe(g,Q,le):mt(g,Q,le)}return g}function zc(o){return Fc(function(d,g){var P=-1,Z=g.length,re=Z>1?g[Z-1]:void 0,ie=Z>2?g[2]:void 0;for(re=o.length>3&&typeof re=="function"?(Z--,re):void 0,ie&&Zc(g[0],g[1],ie)&&(re=Z<3?void 0:re,Z=1),d=Object(d);++P<Z;){var Q=g[P];Q&&o(d,Q,P,re)}return d})}function Xc(o){return function(d,g,P){for(var Z=-1,re=Object(d),ie=P(d),Q=ie.length;Q--;){var le=ie[++Z];if(g(re[le],le,re)===!1)break}return d}}function Lr(o,d){var g=o.__data__;return qc(d)?g[typeof d=="string"?"string":"hash"]:g.map}function yn(o,d){var g=Qe(o,d);return Pc(g)?g:void 0}function Kc(o){var d=H.call(o,et),g=o[et];try{o[et]=void 0;var P=!0}catch{}var Z=je.call(o);return P&&(d?o[et]=g:delete o[et]),Z}function Yc(o){return typeof o.constructor=="function"&&!Di(o)?tr(Cr(o)):{}}function Ai(o,d){var g=typeof o;return d=d??s,!!d&&(g=="number"||g!="symbol"&&de.test(o))&&o>-1&&o%1==0&&o<d}function Zc(o,d,g){if(!Nt(g))return!1;var P=typeof d;return(P=="number"?_n(g)&&Ai(d,g.length):P=="string"&&d in g)?Pr(g[d],o):!1}function qc(o){var d=typeof o;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?o!=="__proto__":o===null}function Jc(o){return!!Ce&&Ce in o}function Di(o){var d=o&&o.constructor,g=typeof d=="function"&&d.prototype||J;return o===g}function Qc(o){var d=[];if(o!=null)for(var g in Object(o))d.push(g);return d}function ed(o){return je.call(o)}function td(o,d,g){return d=Mt(d===void 0?o.length-1:d,0),function(){for(var P=arguments,Z=-1,re=Mt(P.length-d,0),ie=Array(re);++Z<re;)ie[Z]=P[d+Z];Z=-1;for(var Q=Array(d+1);++Z<d;)Q[Z]=P[Z];return Q[d]=g(ie),qt(o,this,Q)}}function wn(o,d){if(!(d==="constructor"&&typeof o[d]=="function")&&d!="__proto__")return o[d]}var rd=nd(Vc);function nd(o){var d=0,g=0;return function(){var P=Nr(),Z=l-(P-g);if(g=P,Z>0){if(++d>=i)return arguments[0]}else d=0;return o.apply(void 0,arguments)}}function ad(o){if(o!=null){try{return q.call(o)}catch{}try{return o+""}catch{}}return""}function Pr(o,d){return o===d||o!==o&&d!==d}var Sn=Dr(function(){return arguments}())?Dr:function(o){return nr(o)&&H.call(o,"callee")&&!dn.call(o,"callee")},En=Array.isArray;function _n(o){return o!=null&&Pi(o.length)&&!Cn(o)}function id(o){return nr(o)&&_n(o)}var Li=hn||cd;function Cn(o){if(!Nt(o))return!1;var d=Bt(o);return d==y||d==E||d==h||d==N}function Pi(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=s}function Nt(o){var d=typeof o;return o!=null&&(d=="object"||d=="function")}function nr(o){return o!=null&&typeof o=="object"}function ld(o){if(!nr(o)||Bt(o)!=k)return!1;var d=Cr(o);if(d===null)return!0;var g=H.call(d,"constructor")&&d.constructor;return typeof g=="function"&&g instanceof g&&q.call(g)==Oe}var Ii=jt?Je(jt):Ic;function od(o){return Gc(o,Mi(o))}function Mi(o){return _n(o)?fe(o):Mc(o)}var sd=zc(function(o,d,g){Ri(o,d,g)});function ud(o){return function(){return o}}function Bi(o){return o}function cd(){return!1}e.exports=sd}(lr,lr.exports);var Yi=lr.exports;const Mn=Mr(Yi),Zi={[Ve.Sm]:768,[Ve.Md]:1024,[Ve.Lg]:1400,[Ve.Xl]:1920},Bn=On(Zi),qi=Mn({},In,{theme:{screens:Bn,container:{center:!0,screens:Bn,padding:{DEFAULT:ue(20),md:ue(48),lg:ue(120),xl:ue(240)}}}}),Ji=On({default:0}),Qi=Mn({},In,{theme:{screens:Ji},corePlugins:{container:!1}});var Fr={exports:{}},Ft={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Fn;function el(){if(Fn)return Ft;Fn=1;var e=A,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function s(u,f,h){var v,m={},p=null,y=null;h!==void 0&&(p=""+h),f.key!==void 0&&(p=""+f.key),f.ref!==void 0&&(y=f.ref);for(v in f)n.call(f,v)&&!l.hasOwnProperty(v)&&(m[v]=f[v]);if(u&&u.defaultProps)for(v in f=u.defaultProps,f)m[v]===void 0&&(m[v]=f[v]);return{$$typeof:t,type:u,key:p,ref:y,props:m,_owner:i.current}}return Ft.Fragment=r,Ft.jsx=s,Ft.jsxs=s,Ft}var Vt={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Vn;function tl(){return Vn||(Vn=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),E=Symbol.iterator,b="@@iterator";function C(c){if(c===null||typeof c!="object")return null;var _=E&&c[E]||c[b];return typeof _=="function"?_:null}var j=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(c){{for(var _=arguments.length,T=new Array(_>1?_-1:0),F=1;F<_;F++)T[F-1]=arguments[F];N("error",c,T)}}function N(c,_,T){{var F=j.ReactDebugCurrentFrame,G=F.getStackAddendum();G!==""&&(_+="%s",T=T.concat([G]));var te=T.map(function(z){return String(z)});te.unshift("Warning: "+_),Function.prototype.apply.call(console[c],console,te)}}var I=!1,B=!1,M=!1,O=!1,D=!1,Y;Y=Symbol.for("react.module.reference");function he(c){return!!(typeof c=="string"||typeof c=="function"||c===n||c===l||D||c===i||c===h||c===v||O||c===y||I||B||M||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===s||c.$$typeof===u||c.$$typeof===f||c.$$typeof===Y||c.getModuleId!==void 0))}function Se(c,_,T){var F=c.displayName;if(F)return F;var G=_.displayName||_.name||"";return G!==""?T+"("+G+")":T}function Te(c){return c.displayName||"Context"}function ve(c){if(c==null)return null;if(typeof c.tag=="number"&&k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case n:return"Fragment";case r:return"Portal";case l:return"Profiler";case i:return"StrictMode";case h:return"Suspense";case v:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case u:var _=c;return Te(_)+".Consumer";case s:var T=c;return Te(T._context)+".Provider";case f:return Se(c,c.render,"ForwardRef");case m:var F=c.displayName||null;return F!==null?F:ve(c.type)||"Memo";case p:{var G=c,te=G._payload,z=G._init;try{return ve(z(te))}catch{return null}}}return null}var ye=Object.assign,ke=0,W,V,ee,ae,oe,ne,de;function X(){}X.__reactDisabledLog=!0;function ct(){{if(ke===0){W=console.log,V=console.info,ee=console.warn,ae=console.error,oe=console.group,ne=console.groupCollapsed,de=console.groupEnd;var c={configurable:!0,enumerable:!0,value:X,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}ke++}}function qe(){{if(ke--,ke===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ye({},c,{value:W}),info:ye({},c,{value:V}),warn:ye({},c,{value:ee}),error:ye({},c,{value:ae}),group:ye({},c,{value:oe}),groupCollapsed:ye({},c,{value:ne}),groupEnd:ye({},c,{value:de})})}ke<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ee=j.ReactCurrentDispatcher,Ge;function _e(c,_,T){{if(Ge===void 0)try{throw Error()}catch(G){var F=G.stack.trim().match(/\n( *(at )?)/);Ge=F&&F[1]||""}return`
18
+ `+Ge+c}}var dt=!1,ze;{var Lt=typeof WeakMap=="function"?WeakMap:Map;ze=new Lt}function jt(c,_){if(!c||dt)return"";{var T=ze.get(c);if(T!==void 0)return T}var F;dt=!0;var G=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var te;te=Ee.current,Ee.current=null,ct();try{if(_){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(xe){F=xe}Reflect.construct(c,[],z)}else{try{z.call()}catch(xe){F=xe}c.call(z.prototype)}}else{try{throw Error()}catch(xe){F=xe}c()}}catch(xe){if(xe&&F&&typeof xe.stack=="string"){for(var $=xe.stack.split(`
19
+ `),be=F.stack.split(`
20
+ `),se=$.length-1,fe=be.length-1;se>=1&&fe>=0&&$[se]!==be[fe];)fe--;for(;se>=1&&fe>=0;se--,fe--)if($[se]!==be[fe]){if(se!==1||fe!==1)do if(se--,fe--,fe<0||$[se]!==be[fe]){var we=`
21
+ `+$[se].replace(" at new "," at ");return c.displayName&&we.includes("<anonymous>")&&(we=we.replace("<anonymous>",c.displayName)),typeof c=="function"&&ze.set(c,we),we}while(se>=1&&fe>=0);break}}}finally{dt=!1,Ee.current=te,qe(),Error.prepareStackTrace=G}var mt=c?c.displayName||c.name:"",De=mt?_e(mt):"";return typeof c=="function"&&ze.set(c,De),De}function qt(c,_,T){return jt(c,!1)}function Jt(c){var _=c.prototype;return!!(_&&_.isReactComponent)}function Je(c,_,T){if(c==null)return"";if(typeof c=="function")return jt(c,Jt(c));if(typeof c=="string")return _e(c);switch(c){case h:return _e("Suspense");case v:return _e("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case f:return qt(c.render);case m:return Je(c.type,_,T);case p:{var F=c,G=F._payload,te=F._init;try{return Je(te(G),_,T)}catch{}}}return""}var Qe=Object.prototype.hasOwnProperty,R={},L=j.ReactDebugCurrentFrame;function U(c){if(c){var _=c._owner,T=Je(c.type,c._source,_?_.type:null);L.setExtraStackFrame(T)}else L.setExtraStackFrame(null)}function J(c,_,T,F,G){{var te=Function.call.bind(Qe);for(var z in c)if(te(c,z)){var $=void 0;try{if(typeof c[z]!="function"){var be=Error((F||"React class")+": "+T+" type `"+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw be.name="Invariant Violation",be}$=c[z](_,z,F,T,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(se){$=se}$&&!($ instanceof Error)&&(U(G),k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",F||"React class",T,z,typeof $),U(null)),$ instanceof Error&&!($.message in R)&&(R[$.message]=!0,U(G),k("Failed %s type: %s",T,$.message),U(null))}}}var me=Array.isArray;function q(c){return me(c)}function H(c){{var _=typeof Symbol=="function"&&Symbol.toStringTag,T=_&&c[Symbol.toStringTag]||c.constructor.name||"Object";return T}}function Ce(c){try{return je(c),!1}catch{return!0}}function je(c){return""+c}function Oe(c){if(Ce(c))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",H(c)),je(c)}var ft=j.ReactCurrentOwner,Pt={key:!0,ref:!0,__self:!0,__source:!0},Qt,er;function Cr(c){if(Qe.call(c,"ref")){var _=Object.getOwnPropertyDescriptor(c,"ref").get;if(_&&_.isReactWarning)return!1}return c.ref!==void 0}function jr(c){if(Qe.call(c,"key")){var _=Object.getOwnPropertyDescriptor(c,"key").get;if(_&&_.isReactWarning)return!1}return c.key!==void 0}function dn(c,_){typeof c.ref=="string"&&ft.current}function fn(c,_){{var T=function(){Qt||(Qt=!0,k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",_))};T.isReactWarning=!0,Object.defineProperty(c,"key",{get:T,configurable:!0})}}function et(c,_){{var T=function(){er||(er=!0,k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",_))};T.isReactWarning=!0,Object.defineProperty(c,"ref",{get:T,configurable:!0})}}var It=function(c,_,T,F,G,te,z){var $={$$typeof:t,type:c,key:_,ref:T,props:z,_owner:te};return $._store={},Object.defineProperty($._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty($,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty($,"_source",{configurable:!1,enumerable:!1,writable:!1,value:G}),Object.freeze&&(Object.freeze($.props),Object.freeze($)),$};function hn(c,_,T,F,G){{var te,z={},$=null,be=null;T!==void 0&&(Oe(T),$=""+T),jr(_)&&(Oe(_.key),$=""+_.key),Cr(_)&&(be=_.ref,dn(_,G));for(te in _)Qe.call(_,te)&&!Pt.hasOwnProperty(te)&&(z[te]=_[te]);if(c&&c.defaultProps){var se=c.defaultProps;for(te in se)z[te]===void 0&&(z[te]=se[te])}if($||be){var fe=typeof c=="function"?c.displayName||c.name||"Unknown":c;$&&fn(z,fe),be&&et(z,fe)}return It(c,$,be,G,F,ft.current,z)}}var Mt=j.ReactCurrentOwner,Nr=j.ReactDebugCurrentFrame;function tt(c){if(c){var _=c._owner,T=Je(c.type,c._source,_?_.type:null);Nr.setExtraStackFrame(T)}else Nr.setExtraStackFrame(null)}var rt;rt=!1;function tr(c){return typeof c=="object"&&c!==null&&c.$$typeof===t}function Xe(){{if(Mt.current){var c=ve(Mt.current.type);if(c)return`
22
+
23
+ Check the render method of \``+c+"`."}return""}}function mn(c){return""}var Tr={};function vn(c){{var _=Xe();if(!_){var T=typeof c=="string"?c:c.displayName||c.name;T&&(_=`
24
+
25
+ Check the top-level render call using <`+T+">.")}return _}}function kr(c,_){{if(!c._store||c._store.validated||c.key!=null)return;c._store.validated=!0;var T=vn(_);if(Tr[T])return;Tr[T]=!0;var F="";c&&c._owner&&c._owner!==Mt.current&&(F=" It was passed a child from "+ve(c._owner.type)+"."),tt(c),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',T,F),tt(null)}}function Or(c,_){{if(typeof c!="object")return;if(q(c))for(var T=0;T<c.length;T++){var F=c[T];tr(F)&&kr(F,_)}else if(tr(c))c._store&&(c._store.validated=!0);else if(c){var G=C(c);if(typeof G=="function"&&G!==c.entries)for(var te=G.call(c),z;!(z=te.next()).done;)tr(z.value)&&kr(z.value,_)}}}function Be(c){{var _=c.type;if(_==null||typeof _=="string")return;var T;if(typeof _=="function")T=_.propTypes;else if(typeof _=="object"&&(_.$$typeof===f||_.$$typeof===m))T=_.propTypes;else return;if(T){var F=ve(_);J(T,c.props,"prop",F,c)}else if(_.PropTypes!==void 0&&!rt){rt=!0;var G=ve(_);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",G||"Unknown")}typeof _.getDefaultProps=="function"&&!_.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function gn(c){{for(var _=Object.keys(c.props),T=0;T<_.length;T++){var F=_[T];if(F!=="children"&&F!=="key"){tt(c),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),tt(null);break}}c.ref!==null&&(tt(c),k("Invalid attribute `ref` supplied to `React.Fragment`."),tt(null))}}var Rr={};function Ar(c,_,T,F,G,te){{var z=he(c);if(!z){var $="";(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&($+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var be=mn();be?$+=be:$+=Xe();var se;c===null?se="null":q(c)?se="array":c!==void 0&&c.$$typeof===t?(se="<"+(ve(c.type)||"Unknown")+" />",$=" Did you accidentally export a JSX literal instead of a component?"):se=typeof c,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",se,$)}var fe=hn(c,_,T,G,te);if(fe==null)return fe;if(z){var we=_.children;if(we!==void 0)if(F)if(q(we)){for(var mt=0;mt<we.length;mt++)Or(we[mt],c);Object.freeze&&Object.freeze(we)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Or(we,c)}if(Qe.call(_,"key")){var De=ve(c),xe=Object.keys(_).filter(function(Dr){return Dr!=="key"}),rr=xe.length>0?"{key: someKey, "+xe.join(": ..., ")+": ...}":"{key: someKey}";if(!Rr[De+rr]){var Bt=xe.length>0?"{"+xe.join(": ..., ")+": ...}":"{}";k(`A props object containing a "key" prop is being spread into JSX:
26
+ let props = %s;
27
+ <%s {...props} />
28
+ React keys must be passed directly to JSX without using spread:
29
+ let props = %s;
30
+ <%s key={someKey} {...props} />`,rr,De,Bt,De),Rr[De+rr]=!0}}return c===n?gn(fe):Be(fe),fe}}function xn(c,_,T){return Ar(c,_,T,!0)}function pn(c,_,T){return Ar(c,_,T,!1)}var ht=pn,bn=xn;Vt.Fragment=n,Vt.jsx=ht,Vt.jsxs=bn}()),Vt}process.env.NODE_ENV==="production"?Fr.exports=el():Fr.exports=tl();var a=Fr.exports,Un={exports:{}};/*!
31
+ Copyright (c) 2018 Jed Watson.
32
+ Licensed under the MIT License (MIT), see
33
+ http://jedwatson.github.io/classnames
34
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var l="",s=0;s<arguments.length;s++){var u=arguments[s];u&&(l=i(l,n(u)))}return l}function n(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return r.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var s="";for(var u in l)t.call(l,u)&&l[u]&&(s=i(s,u));return s}function i(l,s){return s?l?l+" "+s:l+s:l}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Un);var rl=Un.exports;const w=Mr(rl);var ce=(e=>(e.Neutral="neutral",e.PrimarySolid="primary-solid",e.PrimarySoft="primary-fill",e.Success="success",e.Warning="warning",e.Error="error",e))(ce||{});const nl={[ce.PrimarySolid]:"bg-primary-30",[ce.Neutral]:"bg-neutral-92 dark:bg-neutral-12",[ce.PrimarySoft]:"bg-primary-90 dark:bg-primary-10",[ce.Success]:"bg-tertiary-90 dark:bg-tertiary-10",[ce.Warning]:"bg-warning-90 dark:bg-warning-20",[ce.Error]:"bg-error-90 dark:bg-error-10"},al={[ce.PrimarySolid]:"text-primary-100",[ce.Neutral]:"text-neutral-10 dark:text-neutral-92",[ce.PrimarySoft]:"text-primary-20 dark:text-primary-90",[ce.Success]:"text-tertiary-20 dark:text-tertiary-90",[ce.Warning]:"text-warning-10 dark:text-warning-90",[ce.Error]:"text-error-20 dark:text-error-90"},il={[ce.PrimarySolid]:"border-primary-30",[ce.Neutral]:"border-neutral-92 dark:border-neutral-12",[ce.PrimarySoft]:"border-primary-90 dark:border-primary-10",[ce.Success]:"border-tertiary-90 dark:border-tertiary-10",[ce.Warning]:"border-warning-90 dark:border-warning-20",[ce.Error]:"border-error-90 dark:border-error-10"},ll="text-label-md";function Ut({type:e,label:t}){const r=nl[e],n=al[e],i=il[e],l=t?"px-xs py-xxs":"h-1.5 w-1.5";return a.jsx("div",{className:w("inline-flex items-center space-x-2 rounded-full border disabled:opacity-30",r,i,l),children:a.jsx("span",{className:w(ll,n),children:t})})}var ge=(e=>(e.Small="small",e.Medium="medium",e))(ge||{}),K=(e=>(e.Primary="primary",e.Secondary="secondary",e.Ghost="ghost",e.Outlined="outlined",e.Destructive="destructive",e))(K||{}),Wt=(e=>(e.Button="button",e.Submit="submit",e.Reset="reset",e))(Wt||{});const ol={[ge.Small]:"px-md py-xs",[ge.Medium]:"px-md py-sm"},sl={[ge.Small]:"p-xs",[ge.Medium]:"p-sm"},ul={[K.Primary]:"bg-primary-30",[K.Secondary]:"bg-neutral-90 dark:bg-neutral-20",[K.Ghost]:"bg-transparent",[K.Outlined]:"bg-transparent border border-neutral-50",[K.Destructive]:"bg-error-90 dark:bg-error-20"},cl={[K.Primary]:"bg-neutral-80 dark:bg-neutral-30",[K.Secondary]:"bg-neutral-90 dark:bg-neutral-20",[K.Ghost]:"bg-transparent",[K.Outlined]:"bg-transparent border border-neutral-50",[K.Destructive]:"bg-error-90 dark:bg-error-20"},vt="text-neutral-10 dark:text-neutral-92",dl={[K.Primary]:"text-primary-100",[K.Secondary]:vt,[K.Ghost]:vt,[K.Outlined]:vt,[K.Destructive]:"text-error-20 dark:text-error-90"},fl={[ge.Small]:"text-label-md",[ge.Medium]:"text-label-lg"},hl={[K.Primary]:vt,[K.Secondary]:vt,[K.Ghost]:vt,[K.Outlined]:vt,[K.Destructive]:"text-error-20 dark:text-error-90"};function Ae({icon:e,text:t,disabled:r,onClick:n,fullWidth:i,htmlType:l=Wt.Button,size:s=ge.Medium,type:u=K.Primary,iconAfterText:f=!1,tabIndex:h=0,testId:v}){const m=e&&!t?sl[s]:ol[s],p=fl[s],y=r?cl[u]:ul[u],E=r?hl[u]:dl[u];return a.jsxs("button",{onClick:n,type:l,className:w("state-layer relative flex items-center justify-center gap-2 rounded-full transition-all duration-150 ease-in disabled:cursor-not-allowed disabled:opacity-40",m,y,i&&"w-full",f?"flex-row-reverse":"flex-row"),disabled:r,tabIndex:h,"data-testid":v,children:[e&&a.jsx("span",{className:w(E),children:e}),t&&a.jsx("span",{className:w("font-inter",E,p),children:t})]})}function ml({htmlType:e=Wt.Button,children:t,tabIndex:r=0,...n}){return a.jsx("button",{className:"flex items-center justify-center rounded-xl border border-neutral-70 px-sm text-body-md text-neutral-40 disabled:opacity-40 dark:border-neutral-40 dark:text-neutral-60",type:e,tabIndex:r,...n,children:t})}function pe({htmlType:e=Wt.Button,children:t,className:r,tabIndex:n=0,testId:i,...l}){return a.jsx("button",{type:e,...l,className:w("appearance-none",r),tabIndex:n,"data-testid":i,children:t})}function Wn(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M4 12.004a1 1 0 0 0 .293.703l6 6a1 1 0 0 0 1.414-1.414L7.414 13H19a1 1 0 1 0 0-2H7.414l4.293-4.293a1 1 0 0 0-1.414-1.414l-6 6a1 1 0 0 0-.293.705z"})})}function vl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M11.45 15.335a1 1 0 0 0 1.257-.128l5-5a1 1 0 0 0-1.414-1.414L12 13.086 7.707 8.793a1 1 0 0 0-1.414 1.414l5 5a1 1 0 0 0 .157.128"})})}function gl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M8.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L10.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})})}function Vr(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"m10.707 6.293 5 5a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414-1.414L13.586 12 9.293 7.707a1 1 0 0 1 1.414-1.414"})})}function xl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M17.483 6.29a1 1 0 0 0-.705-.29h-8.07a1 1 0 1 0 0 2h5.656l-8.071 8.071a1 1 0 1 0 1.414 1.414l8.071-8.07v5.656a1 1 0 1 0 2 0v-8.07a1 1 0 0 0-.291-.706l-.002-.002z"})})}function pl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m10.26 13.845 5.95-5.95a.994.994 0 0 1 1.405-.008.994.994 0 0 1-.008 1.406L10.95 15.95a.994.994 0 0 1-1.406.008l-2.846-2.845a.994.994 0 0 1 .01-1.406.994.994 0 0 1 1.405-.009z",clipRule:"evenodd"})})}function bl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m4.21-14.104-5.95 5.95-2.147-2.148a.994.994 0 0 0-1.406.009.994.994 0 0 0-.009 1.405l2.846 2.846a.994.994 0 0 0 1.406-.008l6.657-6.657a.994.994 0 0 0 .008-1.406.994.994 0 0 0-1.405.009",clipRule:"evenodd"})})}function Ht(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.707 6.707a1 1 0 0 0-1.414-1.414L12 10.586 6.707 5.293a1 1 0 0 0-1.414 1.415L10.586 12l-5.293 5.293a1 1 0 1 0 1.414 1.414L12 13.414l5.293 5.294a1 1 0 0 0 1.414-1.415L13.414 12z",clipRule:"evenodd"})})}function Ur(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v1h1a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-1H6a3 3 0 0 1-3-3zm6 12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm6-11h-5a3 3 0 0 0-3 3v5H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1z",clipRule:"evenodd"})})}function yl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("rect",{width:10,height:2,x:7,y:11,fill:"currentColor",rx:1})})}function wl(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M11.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L13.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"}),a.jsx("path",{fill:"currentColor",d:"M5.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L7.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})]})}function Sl(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M11.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L9.586 12 5.293 7.707a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"}),a.jsx("path",{fill:"currentColor",d:"M17.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L15.586 12l-4.293-4.293a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"})]})}function or(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18m0-14.4A1.2 1.2 0 1 0 12 9a1.2 1.2 0 0 0 0-2.4m1.2 9a1.2 1.2 0 0 1-2.4 0V12a1.2 1.2 0 0 1 2.4 0z",clipRule:"evenodd"})})}function El(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M18.27 2.259c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.259S16.302 1 17.002 1s1.268.564 1.268 1.259m1.425 17.785c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.26c0-.695.567-1.258 1.267-1.258s1.268.563 1.268 1.259m-2.33-13.379a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.057A1.06 1.06 0 0 0 16.3 5.61a1.06 1.06 0 0 0 1.064 1.056Zm3.891-.651a1.06 1.06 0 0 1-1.063 1.056 1.06 1.06 0 0 1-1.064-1.056 1.06 1.06 0 0 1 1.064-1.057 1.06 1.06 0 0 1 1.063 1.057m-4.253 3.329c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.734-.52c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9m1.357 1.777c.5 0 .906-.402.906-.899s-.405-.9-.906-.9c-.5 0-.905.403-.905.9s.405.9.905.9Zm-2.309.495a.79.79 0 0 1-.792.787.79.79 0 0 1-.791-.787c0-.434.354-.786.791-.786s.792.352.792.786m-3.62.404a.79.79 0 0 0 .792-.787.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .435.354.787.791.787m5.907.471a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.786.79.79 0 0 1 .792-.787.79.79 0 0 1 .791.787Zm-4.21 1.554c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.968.178a.68.68 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675m-5.774-.582c.375 0 .68-.302.68-.675a.68.68 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.127.943c0 .31-.254.561-.566.561a.564.564 0 0 1-.566-.562c0-.31.253-.561.566-.561s.566.251.566.562m.407 2.114a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.791-.09a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m-1.472-.765a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.973-1.64c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.251.566.562m-.588-3.666a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.562.564.564 0 0 0-.565.562c0 .31.253.562.565.562m.745-2.473a.496.496 0 0 1-.497.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494Zm.047-1.123a.406.406 0 0 0 .407-.406.406.406 0 0 0-.407-.405.407.407 0 0 0-.408.405c0 .224.182.406.408.406m-.452-1.26a.496.496 0 0 1-.498.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494m4.776 10.32a.564.564 0 0 0 .566-.561.564.564 0 0 0-.566-.562.564.564 0 0 0-.566.562c0 .31.253.562.566.562ZM12.883 4.439c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.254-.562.566-.562s.566.251.566.562m-.18 2.945a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.561.564.564 0 0 0-.566.561c0 .31.253.562.566.562m.045 1.597a.677.677 0 0 1-.68.676.68.68 0 0 1-.679-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675Zm-2.74.676a.79.79 0 0 0 .791-.786.79.79 0 0 0-.791-.787.79.79 0 0 0-.792.787c0 .434.354.786.792.786m-1.494-.36c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.406-.9.906-.9s.905.403.905.9m-3.529 2.18a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.056A1.06 1.06 0 0 0 3.92 10.42a1.06 1.06 0 0 0 1.064 1.056Zm-1.45.9c0 .696-.568 1.26-1.268 1.26S1 13.073 1 12.377c0-.695.567-1.259 1.267-1.259s1.268.564 1.268 1.26Zm.386-3.531A1.06 1.06 0 0 0 4.985 7.79 1.06 1.06 0 0 0 3.92 6.733 1.06 1.06 0 0 0 2.858 7.79 1.06 1.06 0 0 0 3.92 8.846Zm3.53-2.181c0 .497-.405.9-.906.9a.903.903 0 0 1-.905-.9c0-.496.405-.9.905-.9s.906.404.906.9M6.162 5.182c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.19-1.326a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.787c0-.434.354-.786.792-.786.437 0 .791.352.791.786m1.268.788c.375 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.68.68 0 0 0-.68.675c0 .373.304.676.68.676m1.063 1.708a.68.68 0 0 1-.68.675.677.677 0 0 1-.68-.675c0-.373.305-.675.68-.675s.68.302.68.675m-2.739.695a.79.79 0 0 0 .792-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.791.786m-1.832 5.578a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m1.221.201a.496.496 0 0 0 .497-.494.496.496 0 0 0-.497-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m2.354-1.236c0 .31-.253.562-.565.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.565.252.565.562m-.135 2.361c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.677.677 0 0 0-.68.675c0 .373.304.675.68.675m-1.608-.135c0 .31-.253.562-.566.562a.564.564 0 0 1-.565-.562c0-.31.253-.562.565-.562.313 0 .566.252.566.562m-2.488.538a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m.588.991c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.252.566.562m1.742.855c.376 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.677.677 0 0 0-.68.675c0 .373.305.676.68.676m3.484-1.08a.79.79 0 0 1-.79.786.79.79 0 0 1-.792-.786c0-.435.354-.787.791-.787s.792.352.792.787Zm.794 2.743c.5 0 .906-.402.906-.9 0-.496-.406-.899-.906-.899s-.905.403-.905.9.405.9.905.9Zm-2.536-.518a.79.79 0 0 1-.792.786.79.79 0 0 1-.792-.787.79.79 0 0 1 .792-.786.79.79 0 0 1 .792.787m-2.669 2.316a.79.79 0 0 0 .791-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.792.786m2.466 1.079c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9M13.584 22a1.06 1.06 0 0 0 1.064-1.056 1.06 1.06 0 0 0-1.064-1.057 1.06 1.06 0 0 0-1.063 1.057A1.06 1.06 0 0 0 13.584 22m-1.379-2.788c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.405-.9.905-.9s.906.403.906.9m3.123.54a1.06 1.06 0 0 0 1.063-1.057 1.06 1.06 0 0 0-1.063-1.056 1.06 1.06 0 0 0-1.064 1.056 1.06 1.06 0 0 0 1.064 1.057m-7.741-2.699a.677.677 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.305-.675.68-.675s.68.302.68.675"})})}function Hn(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.533 9.321A7 7 0 1 0 19 12a1 1 0 1 1 2 0 9 9 0 1 1-9-9 1 1 0 1 1 0 2 7 7 0 0 0-6.467 4.321",clipRule:"evenodd"})})}function _l(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.176 9.577 5 11.5 5s3.482 1.176 3.482 3.104L15 11h2.018L17 8.104C17 5.285 14.31 3 11.5 3S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.817-2.15-2-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}function Cl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.5 9.577 5 11.5 5S15 6.5 15 8h2c0-2.82-2.69-5-5.5-5S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.96-2.15-2.143-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}function jl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M21 9a1 1 0 0 1-1 1H4a1 1 0 1 1 0-2h16a1 1 0 0 1 1 1m0 6a1 1 0 0 1-1 1H10a1 1 0 1 1 0-2h10a1 1 0 0 1 1 1"})})}function $n(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M5 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4m9-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})})}function Nl(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M11 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0m4 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 8a6 6 0 0 1 6-6h8a6 6 0 0 1 6 6v8a6 6 0 0 1-6 6H8a6 6 0 0 1-6-6zm2 0a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v3.871a19.13 19.13 0 0 1-16 0zm0 6.051V16a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-1.949a21.13 21.13 0 0 1-16 0",clipRule:"evenodd"})]})}function Gn(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})})}function Tl(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),a.jsx("path",{fill:"currentColor",d:"M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"})]})}function kl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4a7 7 0 1 0 3.594 13.008l3.699 3.7a1 1 0 0 0 1.414-1.415l-3.555-3.555A7 7 0 0 0 11 4m-5 7a5 5 0 1 1 10 0 5 5 0 0 1-10 0",clipRule:"evenodd"})})}function Ol(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M12 6a1 1 0 0 0-1 1v9.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L13 16.586V7a1 1 0 0 0-1-1"})})}function zn(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M11.293 4.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L13 7.414V17a1 1 0 1 1-2 0V7.414L8.707 9.707a1 1 0 0 1-1.414-1.414z"})})}function Rl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M17.35 9c.578 0 .867.681.459 1.08l-4.85 4.735a.66.66 0 0 1-.917 0l-4.85-4.735C6.781 9.68 7.071 9 7.648 9z"})})}function Xn(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.72 6.695a1 1 0 1 0-1.44-1.39l-1.518 1.572C14.601 6.348 13.331 6 12 6 8.739 6 5.843 8.092 4.017 9.805c-1.29 1.212-1.29 3.178 0 4.39a18 18 0 0 0 2.666 2.083l-1.695 1.755a1 1 0 0 0 1.438 1.39zM8.67 14.219l5.431-5.623a4 4 0 0 0-5.43 5.623Z",clipRule:"evenodd"}),a.jsx("path",{fill:"currentColor",d:"M16 12a4 4 0 0 1-3.975 4l-1.749 1.81c.56.122 1.136.19 1.724.19 3.26 0 6.157-2.092 7.983-3.805 1.29-1.212 1.29-3.178 0-4.39a20 20 0 0 0-1.071-.936l-2.914 3.017z"})]})}function Kn(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.983 9.805c1.29 1.212 1.29 3.178 0 4.39C18.157 15.908 15.26 18 12 18c-3.261 0-6.157-2.092-7.983-3.805-1.29-1.212-1.29-3.178 0-4.39C5.843 8.092 8.74 6 12 6s6.157 2.092 7.983 3.805M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0",clipRule:"evenodd"})]})}function Al({label:e,isChecked:t,isDisabled:r,onChange:n}){const i=t?Tl:Gn;return a.jsxs("label",{className:w("group flex flex-row gap-x-1 text-center",{disabled:r,"cursor-pointer":!r}),children:[a.jsxs("div",{className:w("relative flex h-10 w-10 items-center justify-center rounded-full",{"state-layer":!r}),children:[a.jsx("input",{type:"radio",checked:t,onChange:n,disabled:r,className:w("peer appearance-none disabled:opacity-40")}),a.jsx("span",{className:`absolute
35
+ text-neutral-40 peer-checked:text-primary-30 peer-disabled:opacity-40 peer-checked:peer-disabled:text-neutral-40 dark:text-neutral-60 dark:peer-checked:peer-disabled:text-neutral-40 [&_svg]:h-6 [&_svg]:w-6
36
+ `,children:a.jsx(i,{})})]}),a.jsx("span",{className:"inline-flex items-center justify-center text-label-lg text-neutral-40 group-[.disabled]:text-opacity-40 dark:text-neutral-60 group-[.disabled]:dark:text-opacity-40",children:e})]})}const Dl="bg-transparent",Ll="bg-primary-100 dark:bg-neutral-6",Pl="text-neutral-60 dark:text-neutral-40 enabled:hover:text-neutral-40 enabled:dark:hover:text-neutral-60 enabled:focused:text-neutral-40 enabled:dark:focused:text-neutral-60",Il="text-neutral-10 dark:text-neutral-92",Ml=`
37
+ relative
38
+ before:content-['']
39
+ border-b
40
+ border-shader-neutral-light-8
41
+ dark:border-shader-neutral-dark-8
42
+ before:block
43
+ before:w-full
44
+ before:border-b
45
+ before:absolute
46
+ before:bottom-[-0.8px]
47
+ before:left-0
48
+ enabled:before:w-[calc(100%-16px)]
49
+ enabled:before:left-2
50
+ enabled:before:border-primary-30
51
+ enabled:before:dark:border-primary-80`,Bl=`
52
+ relative
53
+ before:content-['']
54
+ before:block
55
+ before:w-full
56
+ before:border-b
57
+ before:border-shader-neutral-light-8
58
+ before:dark:border-shader-neutral-dark-8
59
+ before:absolute
60
+ before:bottom-0
61
+ before:left-0
62
+ hover:before:w-[calc(100%-16px)]
63
+ hover:before:left-2
64
+ hover:before:border-neutral-70
65
+ hover:before:dark:border-neutral-40`;var gt=(e=>(e.Rounded="rounded",e.Underlined="underlined",e))(gt||{});function Fl({icon:e,label:t,selected:r,disabled:n,onClick:i,type:l=gt.Rounded,isNested:s=!1}){const u=l===gt.Underlined,f=r?u?"bg-transparent":Ll:Dl,h=u?r?Ml:Bl:"",v=r?Il:Pl,m=u?s?"px-md py-sm":"px-lg py-md":"px-sm py-[6px]",p=u?"":"rounded-full",y=s?u?"text-title-sm":"text-label-md":u?"text-title-md":"text-label-lg";return a.jsx(pe,{onClick:i,className:w("enabled:state-layer relative flex items-center disabled:opacity-40",f,v,m,p,h,{"pl-xs":!!e&&!u}),disabled:n,children:a.jsxs("div",{className:w("flex flex-row items-center justify-center gap-2",y),children:[e&&a.jsx("span",{children:e}),a.jsx("span",{className:"shrink-0 font-inter",children:t})]})})}const Wr=A.forwardRef(({isChecked:e,isIndeterminate:t,label:r,isLabelFirst:n,isDisabled:i,onCheckedChange:l,name:s},u)=>{const f=A.useRef(null);A.useEffect(()=>{f.current&&(f.current.indeterminate=t??!1)},[t,f]);const h=t?yl:pl;function v(m){u&&(typeof u=="function"?u(m):u.current=m),f.current=m}return a.jsxs("div",{className:w("group inline-flex",n?"flex-row-reverse":"flex-row",{disabled:i,"gap-x-2":r}),children:[a.jsx("input",{id:s,name:s,type:"checkbox",className:"peer hidden appearance-none",checked:e,ref:v,disabled:i,onChange:m=>{l==null||l(m)}}),a.jsx("span",{onClick:()=>{var m;return(m=f.current)==null?void 0:m.click()},className:"peer-enabled:state-layer relative inset-0 flex h-5 w-5 items-center justify-center rounded border border-neutral-80 text-neutral-40 group-[.disabled]:cursor-not-allowed peer-disabled:text-neutral-70 peer-disabled:text-opacity-40 peer-disabled:opacity-40 peer-[&:is(:checked,:indeterminate)]:border-primary-30 peer-[&:is(:checked,:indeterminate)]:bg-primary-30 peer-[&:is(:checked,:indeterminate)]:text-white peer-[&:not(:checked,:indeterminate)]:text-opacity-40 disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-70 dark:border-neutral-20 dark:text-neutral-60 dark:peer-disabled:text-neutral-30 dark:peer-disabled:text-opacity-40 dark:peer-disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-30 dark:peer-disabled:peer-[&:is(:checked,:indeterminate)]:bg-neutral-40 peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-60 peer-disabled:[&:is(:checked,:indeterminate)]:bg-neutral-60 dark:peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-40 [&_svg]:h-4 [&_svg]:w-4 peer-[&:not(:checked,:indeterminate)]:[&_svg]:hidden",children:a.jsx(h,{})}),a.jsx(Vl,{label:r,name:s})]})});function Vl({label:e,name:t}){return a.jsx("label",{htmlFor:t,className:"text-label-lg text-neutral-40 group-[.disabled]:cursor-not-allowed group-[.disabled]:text-opacity-40 dark:text-neutral-60 group-[.disabled]:dark:text-opacity-40",children:e})}var nt=(e=>(e.Vertical="vertical",e.Horizontal="horizontal",e))(nt||{});const Ul="bg-shader-neutral-light-8 dark:bg-shader-neutral-dark-8",Wl={[nt.Horizontal]:"w-full",[nt.Vertical]:"h-full"},Hl="1px";function Yn({type:e=nt.Horizontal,width:t,height:r,lineHeight:n=Hl}){const i={...e===nt.Horizontal?{height:n}:{width:n}};let l=Wl[e];return t&&e===nt.Horizontal?l=t:r&&e===nt.Vertical&&(l=r),a.jsx("div",{className:w(Ul,l),style:i})}var $t=(e=>(e.Small="small",e.Medium="medium",e))($t||{}),at=(e=>(e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e))(at||{});function xt({text:e,position:t=at.Top,maxWidth:r="max-w-[200px]",offset:n=8,openDelay:i=0,closeDelay:l=100,children:s}){const u=A.useRef(null),f=A.useRef(null),[h,v]=A.useState(!1),[m,p]=A.useState({top:0,left:0}),y=A.useRef(),E=A.useRef(),b=()=>{clearTimeout(y.current),clearTimeout(E.current)},C=()=>{b(),y.current=setTimeout(()=>v(!0),i)},j=()=>{b(),E.current=setTimeout(()=>v(!1),l)};return A.useLayoutEffect(()=>{var B;if(!h)return;const N=(B=u.current)==null?void 0:B.getBoundingClientRect();if(!N)return;const I={[at.Top]:{top:N.top-n,left:N.left+N.width/2,transform:"translate(-50%, -100%)"},[at.Bottom]:{top:N.bottom+n,left:N.left+N.width/2,transform:"translate(-50%, 0)"},[at.Left]:{top:N.top+N.height/2,left:N.left-n,transform:"translate(-100%, -50%)"},[at.Right]:{top:N.top+N.height/2,left:N.right+n,transform:"translate(0, -50%)"}}[t];p({top:I.top,left:I.left}),f.current.style.transform=I.transform},[h,t,n]),A.useLayoutEffect(()=>{if(!h)return;const N=()=>{var B;const I=(B=u.current)==null?void 0:B.getBoundingClientRect();I&&p(M=>({...M,left:I.left+I.width/2}))};return window.addEventListener("scroll",N,!0),window.addEventListener("resize",N),()=>{window.removeEventListener("scroll",N,!0),window.removeEventListener("resize",N)}},[h]),a.jsxs(a.Fragment,{children:[a.jsx("div",{ref:u,className:"inline-block cursor-pointer",onMouseEnter:C,onFocus:C,onMouseLeave:j,onBlur:j,children:s}),h&&Ir.createPortal(a.jsx("div",{ref:f,role:"tooltip",style:{position:"fixed",top:m.top,left:m.left,transition:"opacity .15s ease",opacity:1},className:w("z-[999] w-max rounded bg-neutral-80 p-xs text-neutral-10 dark:bg-neutral-30 dark:text-neutral-92",r),onMouseEnter:C,onMouseLeave:j,children:a.jsx("p",{className:"w-full break-words",children:e})}),document.body)]})}function $l({keyText:e,value:t,tooltipPosition:r,tooltipText:n,supportingLabel:i,size:l=$t.Small,isTruncated:s=!1,copyText:u,onCopySuccess:f,onCopyError:h,fullwidth:v,isReverse:m=!1,valueHoverTitle:p}){const y=m?"flex-row-reverse":"flex-row";async function E(b){if(navigator.clipboard&&u)try{await navigator.clipboard.writeText(u),f==null||f(b,u)}catch(C){console.error("Failed to copy:",C),h==null||h(C,u)}}return a.jsxs("div",{className:w("flex w-full items-baseline gap-xs py-xxs font-inter",y,{"justify-between":v}),children:[a.jsxs("div",{className:w("flex shrink-0 flex-row items-center gap-x-0.5",{"w-1/4":!v}),children:[a.jsx("span",{className:"text-body-md text-neutral-40 dark:text-neutral-60",children:e}),n&&a.jsx(xt,{text:n,position:r,children:a.jsx(or,{className:"text-neutral-60 dark:text-neutral-40"})})]}),a.jsxs("div",{className:w("flex flex-row items-baseline gap-1 break-all",{"w-3/4":!v,truncate:s}),children:[a.jsx("span",{title:p,className:w("text-neutral-10 dark:text-neutral-92",l===$t.Medium?"text-body-lg":"text-body-md",{truncate:s}),children:t}),i&&a.jsx("span",{className:w("text-neutral-60 dark:text-neutral-40",l===$t.Medium?"text-body-md":"text-body-sm"),children:i}),a.jsx("div",{className:"self-center",children:u&&a.jsx(pe,{onClick:E,children:a.jsx(Ur,{className:"text-neutral-60 dark:text-neutral-40"})})})]})]})}var Ne=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(Ne||{});const Gl={[Ne.Small]:"text-title-sm",[Ne.Medium]:"text-title-md",[Ne.Large]:"text-title-lg"},zl={[Ne.Small]:"text-label-md",[Ne.Medium]:"text-label-md",[Ne.Large]:"text-label-lg"},Xl={[Ne.Small]:"text-label-md",[Ne.Medium]:"text-label-md",[Ne.Large]:"text-label-lg"};function Kl({size:e=Ne.Medium,isCentered:t,supportingLabel:r,label:n,text:i,tooltipPosition:l,tooltipText:s}){const u=Gl[e],f=zl[e],h=Xl[e],v=t?"items-center":"items-start",m=e===Ne.Small?"gap-0.5":"gap-1";return a.jsxs("div",{className:w("flex flex-col",v,m),children:[a.jsxs("div",{className:"flex flex-row flex-wrap items-center gap-0.5",children:[a.jsx("span",{className:w("font-inter text-neutral-10 dark:text-neutral-92",u),children:i}),r&&a.jsx("span",{className:w("font-inter text-neutral-60 dark:text-neutral-40",f),children:r})]}),a.jsx("div",{className:"flex flex-row items-center gap-x-0.5",children:a.jsxs("span",{className:w("flex items-center font-inter text-neutral-60 dark:text-neutral-40",h),children:[n,s&&a.jsx("div",{className:"ml-xxxs flex items-center",children:a.jsx(xt,{text:s,position:l,children:a.jsx(or,{className:"text-neutral-60 dark:text-neutral-40"})})})]})})]})}function Zn({showRightIcon:e,hideBottomBorder:t,onClick:r,isDisabled:n,children:i,isHighlighted:l}){function s(f){(f.key==="Enter"||f.key===" ")&&!n&&r&&r()}function u(){!n&&r&&r()}return a.jsx("div",{className:w("w-full",{"border-b border-shader-neutral-light-8 pb-xs dark:border-shader-neutral-dark-8":!t},{"opacity-40":n}),children:a.jsxs("div",{onClick:u,role:"button",tabIndex:0,onKeyDown:s,className:w("relative flex flex-row items-center justify-between px-md py-sm text-neutral-10 dark:text-neutral-92",!n&&r?"cursor-pointer":"cursor-default",{"bg-shader-primary-dark-16 dark:bg-shader-inverted-dark-16":l,"state-layer":!n}),children:[i,e&&a.jsx(Ae,{size:ge.Small,type:K.Ghost,disabled:n,icon:a.jsx(Vr,{})})]})})}function Yl({title:e,titleCentered:t,onBack:r,onClose:n,testId:i}){const l=t?"text-center":r?"ml-1":"",s=t&&(!r||!n);return a.jsxs("div",{className:"flex min-h-[56px] w-full items-center bg-neutral-100 px-md--rs pb-xs pt-sm text-neutral-10 dark:bg-neutral-6 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",children:[r?a.jsx(Ae,{size:ge.Small,type:K.Ghost,onClick:r,icon:a.jsx(Wn,{})}):s&&a.jsx("div",{className:"w-9"}),a.jsx("div",{className:w("flex-grow",l),children:a.jsx("span",{className:"font-inter text-title-lg","data-testid":i,children:e})}),n?a.jsx(Ae,{size:ge.Small,type:K.Ghost,onClick:n,icon:a.jsx(Ht,{}),testId:"close-icon"}):s&&a.jsx("div",{className:"w-9"})]})}function Zl({children:e,hasBorder:t,bgColor:r="bg-neutral-100 dark:bg-neutral-6"}){const n=t?"border border-shader-neutral-light-8 dark:border-shader-neutral-dark-8":"border border-transparent";return a.jsx("div",{className:w("flex w-full flex-col rounded-xl",r,n),children:e})}var Ue=(e=>(e.Default="default",e.Error="error",e.Success="success",e.Warning="warning",e))(Ue||{}),Gt=(e=>(e.Default="default",e.Elevated="elevated",e))(Gt||{});const ql={[Ue.Default]:"bg-primary-90 dark:bg-primary-10 text-primary-20 dark:text-primary-90",[Ue.Error]:"bg-error-90 dark:bg-error-10 text-error-20 dark:text-error-90",[Ue.Success]:"bg-tertiary-90 dark:bg-tertiary-10 text-tertiary-20 dark:text-tertiary-90",[Ue.Warning]:"bg-warning-90 dark:bg-warning-20 text-warning-10 dark:text-warning-90"},Jl={[Ue.Default]:"bg-primary-90 dark:bg-primary-10",[Ue.Error]:"bg-error-90 dark:bg-error-10",[Ue.Success]:"bg-tertiary-90 dark:bg-tertiary-10",[Ue.Warning]:"bg-warning-90 dark:bg-warning-20"};function Ql({icon:e,title:t,supportingText:r,type:n,style:i}){const l=ql[n],s=i===Gt.Elevated?Jl[n]:"";return a.jsxs("div",{className:w("flex flex-row items-start gap-4 py-xs pr-lg",s,{"rounded-lg pl-xs":i===Gt.Elevated}),children:[e&&a.jsx("span",{className:w("flex items-center justify-center rounded-lg [&_svg]:h-4 [&_svg]:w-4",l,{"p-xs":i===Gt.Default}),children:e}),a.jsxs("div",{className:"flex flex-col gap-1",children:[t&&a.jsx("span",{className:"text-title-sm text-neutral-10 dark:text-neutral-92",children:t}),r&&a.jsx("span",{className:"text-body-sm text-neutral-40 dark:text-neutral-60",children:r})]})]})}var Le=(e=>(e.Default="default",e.Error="error",e.Warning="warning",e.Success="success",e))(Le||{});const qn={[Le.Default]:"text-neutral-10 dark:text-neutral-92",[Le.Error]:"text-error-20 dark:text-error-90",[Le.Warning]:"text-warning-10 dark:text-warning-90",[Le.Success]:"text-tertiary-20 dark:text-tertiary-90"},eo={[Le.Default]:"bg-primary-90 dark:bg-primary-10",[Le.Error]:"bg-error-90 dark:bg-error-10",[Le.Warning]:"bg-warning-90 dark:bg-warning-20",[Le.Success]:"bg-tertiary-90 dark:bg-tertiary-10"};function to({text:e,duration:t=2e3,onClose:r,showClose:n,type:i=Le.Default}){return A.useEffect(()=>{if(t){const l=setTimeout(r,t);return()=>clearTimeout(l)}},[t,r]),a.jsxs("div",{className:w("transition-all duration-300 ease-out","z-99 bottom-0","flex w-full items-center justify-between gap-xxs rounded-md py-sm pl-md pr-sm",eo[i]),children:[a.jsx("div",{className:w("w-full text-left text-body-md",qn[i]),children:e}),n&&a.jsx(Ht,{className:w("h-5 w-5 cursor-pointer",qn[i]),onClick:r})]})}var sr=(e=>(e.Image="image",e.Video="video",e))(sr||{});function ro({assetType:e=sr.Image,assetSrc:t,altText:r,onIconClick:n,onClick:i,icon:l=a.jsx($n,{}),assetTitle:s,isHoverable:u=!0}){const[f,h]=A.useState(!1),v=m=>{n==null||n(m),m==null||m.stopPropagation()};return a.jsxs("div",{className:w("relative aspect-square w-full overflow-hidden rounded-xl",{"group cursor-pointer":u}),onClick:i,children:[e===sr.Video?a.jsx("video",{src:t,className:"h-full w-full object-cover",autoPlay:!0,loop:!0,muted:!0}):f?a.jsx("div",{className:"flex h-full w-full items-center justify-center bg-neutral-96 dark:bg-neutral-10",children:a.jsx(Nl,{className:"h-4 w-4 text-neutral-40 dark:text-neutral-60"})}):a.jsx("img",{src:t,alt:r,className:"h-full w-full object-cover",onError:()=>h(!0)}),u&&a.jsx("div",{className:"absolute left-0 top-0 h-full w-full bg-cover bg-center bg-no-repeat group-hover:bg-shader-neutral-light-48 group-hover:transition group-hover:duration-300 group-hover:ease-in-out group-hover:dark:bg-shader-primary-dark-48"}),u&&n&&a.jsx(pe,{className:"absolute right-2 top-2 h-9 w-9 cursor-pointer rounded-full p-xs opacity-0 transition-opacity duration-300 group-hover:bg-shader-neutral-light-72 group-hover:opacity-100 [&_svg]:h-5 [&_svg]:w-5 [&_svg]:text-primary-100",onClick:v,children:l}),u&&s&&a.jsx("div",{className:"absolute bottom-0 flex items-center justify-center p-xs opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:a.jsx("span",{className:"text-title-md text-neutral-100",children:s})})]})}function no({color:e="text-primary-30 dark:text-primary-80",size:t="w-5 h-5",text:r,testId:n}){return a.jsxs("div",{className:"flex items-center justify-center gap-xs",children:[a.jsx(Hn,{className:w("animate-spin",e,t),"data-testid":n}),r&&a.jsx("span",{className:w("text-body-sm",e),children:r})]})}function Jn({width:e="w-full",height:t="h-4"}){return a.jsx("div",{className:w("animate-pulse rounded-md bg-gradient-to-r from-shader-primary-light-8 bg-[length:1000px_100%] dark:from-shader-primary-dark-8",e,t)})}function ao({children:e,widthClass:t="w-full",heightClass:r="h-3",hasSecondaryColors:n,isRounded:i=!0}){return a.jsx("div",{className:w("animate-pulse rounded-full",t,r,i&&"rounded-full",n?"bg-neutral-80 dark:bg-neutral-10":"bg-neutral-90 dark:bg-neutral-12"),children:e})}var Ke=(e=>(e.Small="small",e.Default="default",e))(Ke||{}),ur=(e=>(e.Left="left",e.Right="right",e))(ur||{});const io="relative inline-flex items-center p-xxs border rounded-full cursor-pointer",cr={active:"bg-primary-30 border-primary-30",inactive:"bg-primary-100 dark:bg-neutral-6 border-neutral-70 dark:border-neutral-40",disabledActive:"bg-neutral-70 border-neutral-70",disabled:"opacity-40 cursor-not-allowed"},lo={[Ke.Small]:"h-5 w-10",[Ke.Default]:"h-6 w-12"},oo="absolute rounded-full transition-all duration-200 ease-in",Qn={[Ke.Small]:{unchecked:"left-1",checked:"left-8 -translate-x-full"},[Ke.Default]:{unchecked:"left-1",checked:"left-10 -translate-x-full"}},ea={unchecked:"bg-neutral-60",checked:"bg-white"},so={[Ke.Small]:"h-3 w-3",[Ke.Default]:"h-4 w-4"},uo="inline-flex items-center gap-2",co="text-label-lg text-neutral-40 dark:text-neutral-60",fo=A.forwardRef(({label:e,isToggled:t,labelPosition:r=ur.Right,isDisabled:n=!1,onChange:i,name:l,size:s=Ke.Default,testId:u},f)=>{const h=A.useRef(null);function v(C){const j=C.target.checked;i==null||i(j,C)}function m(C){f&&(typeof f=="function"?f(C):f.current=C),h.current=C}const p=w(io,{[cr.active]:t&&!n,[cr.inactive]:!t,[cr.disabledActive]:n&&t,[cr.disabled]:n,[lo[s]]:!0}),y=w(oo,{[Qn[s].unchecked]:!t,[Qn[s].checked]:t,[ea.unchecked]:!t,[ea.checked]:t,[so[s]]:!0}),E=w(uo,{"flex-row-reverse":r===ur.Left,"cursor-not-allowed":n}),b=w(co,{"opacity-40":n&&!t});return a.jsxs("div",{className:E,children:[a.jsx("input",{id:l,name:l,type:"checkbox",className:"sr-only",checked:t,ref:m,disabled:n,onChange:v,"data-testid":u}),a.jsx("span",{role:"switch",onClick:()=>{var C;return(C=h.current)==null?void 0:C.click()},className:p,children:a.jsx("span",{className:y})}),e&&a.jsx("label",{htmlFor:l,className:b,children:e})]})});function ta({text:e,isCopyable:t,isExternal:r,externalLink:n,copyText:i=e,onCopySuccess:l,onCopyError:s,onOpen:u}){async function f(v){if(navigator.clipboard){v==null||v.stopPropagation();try{await navigator.clipboard.writeText(i),l==null||l(v,i)}catch(m){console.error("Failed to copy:",m),s==null||s(m,i)}}}function h(v){if(v==null||v.stopPropagation(),n){const m=window.open(n,"_blank","noopener noreferrer");m&&(m.opener=null)}else u==null||u(v)}return a.jsxs("div",{className:"group flex flex-row items-center gap-1 text-neutral-40 dark:text-neutral-60",children:[a.jsx("span",{className:w("font-inter text-body-sm"),children:e}),t&&a.jsx(pe,{onClick:f,className:"opacity-0 group-hover:opacity-100",children:a.jsx(Ur,{})}),r&&a.jsx(pe,{onClick:h,className:"opacity-0 group-hover:opacity-100",children:a.jsx(xl,{})})]})}var Ye=(e=>(e.Default="default",e.Selected="selected",e))(Ye||{});const ra="rounded-full",ho={[Ye.Default]:"bg-transparent",[Ye.Selected]:"bg-primary-90 dark:bg-primary-10"},mo="outline outline-1 outline-transparent hover:outline-shader-primary-light-8 active:outline-shader-primary-light-12 dark:hover:outline-shader-primary-dark-8 dark:active:outline-shader-primary-dark-12 hover:bg-shader-primary-light-8 active:bg-shader-primary-light-12 dark:hover:bg-shader-primary-dark-8 dark:active:bg-shader-primary-dark-12 focus:bg-shader-primary-light-12 dark:focus:bg-shader-primary-dark-12",vo={[Ye.Default]:"border-neutral-70 dark:border-neutral-40",[Ye.Selected]:"border-transparent"},go={[Ye.Default]:"text-neutral-40 dark:text-neutral-60",[Ye.Selected]:"text-neutral-10 dark:text-neutral-92"},xo="focus-visible:shadow-[0_0_0_2px] focus-visible:shadow-primary-30 focus-visible:outline-none dark:focus-visible:shadow-primary-80";function po({label:e,showClose:t,selected:r,onClose:n,onClick:i,avatar:l,leadingElement:s,trailingElement:u,disabled:f}){const h=r?Ye.Selected:Ye.Default;return a.jsx(pe,{onClick:i,className:w("border transition-all duration-500 ease-in-out disabled:opacity-40",ra,ho[h],vo[h],xo),disabled:f,children:a.jsxs("span",{className:w("flex h-full w-full flex-row items-center gap-x-2",l?"py-xxs":"py-[6px]",l?"pl-xxs":s?"pl-xs":"pl-sm",ra,!f&&mo,t?"pr-xs":"pr-sm",go[h]),children:[l??s,a.jsx("span",{className:"text-body-md",children:e}),u,t&&a.jsx(pe,{onClick:n,className:"cursor-pointer [&_svg]:h-4 [&_svg]:w-4",children:a.jsx(Ht,{})})]})})}var pt=(e=>(e.Outlined="outlined",e.Filled="filled",e.Transparent="transparent",e))(pt||{});const bo={[pt.Outlined]:"bg-transparent",[pt.Filled]:"bg-neutral-96 dark:bg-neutral-10",[pt.Transparent]:"bg-transparent"},yo="border border-neutral-70 dark:border-neutral-40";function wo({type:e=pt.Filled,children:t,shape:r=gt.Rounded}){const n=bo[e],i=e===pt.Outlined?yo:"",l=r===gt.Rounded?"rounded-full gap-1 p-xxs":"",s=r===gt.Rounded?"flex-wrap":"flex-nowrap overflow-x-auto";return a.jsx("div",{className:w("flex flex-row",n,i,l,s),children:t})}var bt=(e=>(e.Small="small",e.Medium="medium",e))(bt||{});const So={[bt.Small]:"px-md py-sm--rs",[bt.Medium]:"px-md--rs py-sm--rs"},Eo={[bt.Small]:"text-title-md",[bt.Medium]:"text-title-lg"};function _o({title:e,subtitle:t,trailingElement:r,tooltipText:n,supportingElement:i,tooltipPosition:l,size:s=bt.Medium,testId:u}){return a.jsxs("div",{className:w("flex flex-row items-center justify-between",So[s]),"data-testid":u,children:[a.jsxs("div",{className:"flex flex-row items-center gap-x-xxxs",children:[a.jsxs("div",{className:"flex flex-col justify-start",children:[a.jsxs("div",{className:"flex flex-row items-center gap-x-0.5 text-neutral-10 dark:text-neutral-92",children:[a.jsx("h4",{className:w(Eo[s]),children:e}),n&&a.jsx(xt,{text:n,position:l,children:a.jsx(or,{})})]}),a.jsx("p",{className:"text-label-md text-neutral-60 dark:text-neutral-40",children:t})]}),i]}),r]})}function dr({children:e,hasErrorStyles:t}){return a.jsx("p",{className:w("text-label-lg text-neutral-40 dark:text-neutral-60 ",{["group-[.errored]:text-error-30 dark:group-[.errored]:text-error-80"]:t}),children:e})}const na="w-full bg-transparent text-body-lg caret-primary-30 dark:caret-primary-80 focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed",aa="text-neutral-10 dark:text-neutral-92",ia="enabled:placeholder:text-neutral-40/40 dark:placeholder:text-neutral-60/40 enabled:dark:placeholder:text-neutral-60/40",la="px-md py-sm rounded-lg border border-neutral-80 group-[.enabled]:cursor-text group-[.errored]:border-error-30 hover:group-[.enabled]:border-neutral-50 dark:border-neutral-20 dark:hover:border-neutral-60 dark:group-[.errored]:border-error-80 [&:has(input:focus)]:!border-primary-30 [&:has(input:focus)]:dark:!border-primary-80",Co="[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none disabled:cursor-not-allowed",jo="flex flex-col gap-y-2 text-label-lg text-neutral-40 dark:text-neutral-60";var oa=(e=>(e.Label="label",e.Div="div",e))(oa||{});function Hr({label:e,caption:t,disabled:r,errorMessage:n,amountCounter:i,required:l,labelHtmlTag:s="label",children:u}){return a.jsxs("div",{className:w("group flex w-full flex-col gap-y-2",{"cursor-not-allowed opacity-40":r,errored:n,enabled:!r,required:l}),children:[e?a.jsxs(No,{labelHtmlTag:s,children:[e,u]}):u,(n||t||i)&&a.jsxs("div",{className:w("flex flex-row items-center",t||n?"justify-between":"justify-end"),children:[(n||t)&&a.jsx(dr,{hasErrorStyles:!0,children:n||t}),i&&a.jsx(dr,{children:i})]})]})}function No({labelHtmlTag:e,children:t}){return A.createElement(e,{className:jo},t)}var Pe=(e=>(e.Text="text",e.Password="password",e.Number="number",e.NumericFormat="numericFormat",e))(Pe||{}),sa=(e=>(e.None="none",e.Vertical="vertical",e))(sa||{});function ua(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var zt;(function(e){e.event="event",e.props="prop"})(zt||(zt={}));function it(){}function To(e){var t,r=void 0;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return t&&n.length===t.length&&n.every(function(l,s){return l===t[s]})||(t=n,r=e.apply(void 0,n)),r}}function Xt(e){return!!(e||"").match(/\d/)}function Tt(e){return e==null}function ko(e){return typeof e=="number"&&isNaN(e)}function ca(e){return Tt(e)||ko(e)||typeof e=="number"&&!isFinite(e)}function da(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function Oo(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function Ro(e,t,r){var n=Oo(r),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(n,"$1"+t)}function Ao(e){var t=A.useRef(e);t.current=e;var r=A.useRef(function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return t.current.apply(t,n)});return r.current}function $r(e,t){t===void 0&&(t=!0);var r=e[0]==="-",n=r&&t;e=e.replace("-","");var i=e.split("."),l=i[0],s=i[1]||"";return{beforeDecimal:l,afterDecimal:s,hasNegation:r,addNegation:n}}function Do(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var r=e.split("."),n=r[0].replace(/^0+/,"")||"0",i=r[1]||"";return(t?"-":"")+n+(i?"."+i:"")}function fa(e,t,r){for(var n="",i=r?"0":"",l=0;l<=t-1;l++)n+=e[l]||i;return n}function ha(e,t){return Array(t+1).join(e)}function ma(e){var t=e+"",r=t[0]==="-"?"-":"";r&&(t=t.substring(1));var n=t.split(/[eE]/g),i=n[0],l=n[1];if(l=Number(l),!l)return r+i;i=i.replace(".","");var s=1+l,u=i.length;return s<0?i="0."+ha("0",Math.abs(s))+i:s>=u?i=i+ha("0",s-u):i=(i.substring(0,s)||"0")+"."+i.substring(s),r+i}function va(e,t,r){if(["","-"].indexOf(e)!==-1)return e;var n=(e.indexOf(".")!==-1||r)&&t,i=$r(e),l=i.beforeDecimal,s=i.afterDecimal,u=i.hasNegation,f=parseFloat("0."+(s||"0")),h=s.length<=t?"0."+s:f.toFixed(t),v=h.split("."),m=l;l&&Number(v[0])&&(m=l.split("").reverse().reduce(function(b,C,j){return b.length>j?(Number(b[0])+Number(C)).toString()+b.substring(1,b.length):C+b},v[0]));var p=fa(v[1]||"",t,r),y=u?"-":"",E=n?".":"";return""+y+m+E+p}function yt(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var r=e.createTextRange();return r.move("character",t),r.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var ga=To(function(e,t){for(var r=0,n=0,i=e.length,l=t.length;e[r]===t[r]&&r<i;)r++;for(;e[i-1-n]===t[l-1-n]&&l-n>r&&i-n>r;)n++;return{from:{start:r,end:i-n},to:{start:r,end:l-n}}}),Lo=function(e,t){var r=Math.min(e.selectionStart,t);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:t}}};function Po(e,t,r){return Math.min(Math.max(e,t),r)}function Gr(e){return Math.max(e.selectionStart,e.selectionEnd)}function Io(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function Mo(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function Bo(e){var t=e.currentValue,r=e.formattedValue,n=e.currentValueIndex,i=e.formattedValueIndex;return t[n]===r[i]}function Fo(e,t,r,n,i,l,s){s===void 0&&(s=Bo);var u=i.findIndex(function(I){return I}),f=e.slice(0,u);!t&&!r.startsWith(f)&&(t=f,r=f+r,n=n+f.length);for(var h=r.length,v=e.length,m={},p=new Array(h),y=0;y<h;y++){p[y]=-1;for(var E=0,b=v;E<b;E++){var C=s({currentValue:r,lastValue:t,formattedValue:e,currentValueIndex:y,formattedValueIndex:E});if(C&&m[E]!==!0){p[y]=E,m[E]=!0;break}}}for(var j=n;j<h&&(p[j]===-1||!l(r[j]));)j++;var k=j===h||p[j]===-1?v:p[j];for(j=n-1;j>0&&p[j]===-1;)j--;var N=j===-1||p[j]===-1?0:p[j]+1;return N>k?k:n-N<k-n?N:k}function xa(e,t,r,n){var i=e.length;if(t=Po(t,0,i),n==="left"){for(;t>=0&&!r[t];)t--;t===-1&&(t=r.indexOf(!0))}else{for(;t<=i&&!r[t];)t++;t>i&&(t=r.lastIndexOf(!0))}return t===-1&&(t=i),t}function Vo(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),r=0,n=t.length;r<n;r++)t[r]=!!(Xt(e[r])||Xt(e[r-1]));return t}function pa(e,t,r,n,i,l){l===void 0&&(l=it);var s=Ao(function(E,b){var C,j;return ca(E)?(j="",C=""):typeof E=="number"||b?(j=typeof E=="number"?ma(E):E,C=n(j)):(j=i(E,void 0),C=n(j)),{formattedValue:C,numAsString:j}}),u=A.useState(function(){return s(Tt(e)?t:e,r)}),f=u[0],h=u[1],v=function(E,b){E.formattedValue!==f.formattedValue&&h({formattedValue:E.formattedValue,numAsString:E.value}),l(E,b)},m=e,p=r;Tt(e)&&(m=f.numAsString,p=!0);var y=s(m,p);return A.useMemo(function(){h(y)},[y.formattedValue]),[f,v]}function Uo(e){return e.replace(/[^0-9]/g,"")}function Wo(e){return e}function Ho(e){var t=e.type;t===void 0&&(t="text");var r=e.displayType;r===void 0&&(r="input");var n=e.customInput,i=e.renderText,l=e.getInputRef,s=e.format;s===void 0&&(s=Wo);var u=e.removeFormatting;u===void 0&&(u=Uo);var f=e.defaultValue,h=e.valueIsNumericString,v=e.onValueChange,m=e.isAllowed,p=e.onChange;p===void 0&&(p=it);var y=e.onKeyDown;y===void 0&&(y=it);var E=e.onMouseUp;E===void 0&&(E=it);var b=e.onFocus;b===void 0&&(b=it);var C=e.onBlur;C===void 0&&(C=it);var j=e.value,k=e.getCaretBoundary;k===void 0&&(k=Vo);var N=e.isValidInputCharacter;N===void 0&&(N=Xt);var I=e.isCharacterSame,B=ua(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),M=pa(j,f,!!h,s,u,v),O=M[0],D=O.formattedValue,Y=O.numAsString,he=M[1],Se=A.useRef(),Te=A.useRef({formattedValue:D,numAsString:Y}),ve=function(R,L){Te.current={formattedValue:R.formattedValue,numAsString:R.value},he(R,L)},ye=A.useState(!1),ke=ye[0],W=ye[1],V=A.useRef(null),ee=A.useRef({setCaretTimeout:null,focusTimeout:null});A.useEffect(function(){return W(!0),function(){clearTimeout(ee.current.setCaretTimeout),clearTimeout(ee.current.focusTimeout)}},[]);var ae=s,oe=function(R,L){var U=parseFloat(L);return{formattedValue:R,value:L,floatValue:isNaN(U)?void 0:U}},ne=function(R,L,U){R.selectionStart===0&&R.selectionEnd===R.value.length||(yt(R,L),ee.current.setCaretTimeout=setTimeout(function(){R.value===U&&R.selectionStart!==L&&yt(R,L)},0))},de=function(R,L,U){return xa(R,L,k(R),U)},X=function(R,L,U){var J=k(L),me=Fo(L,D,R,U,J,N,I);return me=xa(L,me,J),me},ct=function(R){var L=R.formattedValue;L===void 0&&(L="");var U=R.input,J=R.source,me=R.event,q=R.numAsString,H;if(U){var Ce=R.inputValue||U.value,je=Gr(U);U.value=L,H=X(Ce,L,je),H!==void 0&&ne(U,H,L)}L!==D&&ve(oe(L,q),{event:me,source:J})};A.useEffect(function(){var R=Te.current,L=R.formattedValue,U=R.numAsString;(D!==L||Y!==U)&&ve(oe(D,Y),{event:void 0,source:zt.props})},[D,Y]);var qe=V.current?Gr(V.current):void 0,Ee=typeof window<"u"?A.useLayoutEffect:A.useEffect;Ee(function(){var R=V.current;if(D!==Te.current.formattedValue&&R){var L=X(Te.current.formattedValue,D,qe);R.value=D,ne(R,L,D)}},[D]);var Ge=function(R,L,U){var J=L.target,me=Se.current?Lo(Se.current,J.selectionEnd):ga(D,R),q=Object.assign(Object.assign({},me),{lastValue:D}),H=u(R,q),Ce=ae(H);if(H=u(Ce,void 0),m&&!m(oe(Ce,H))){var je=L.target,Oe=Gr(je),ft=X(R,D,Oe);return je.value=D,ne(je,ft,D),!1}return ct({formattedValue:Ce,numAsString:H,inputValue:R,event:L,source:U,input:L.target}),!0},_e=function(R,L){L===void 0&&(L=0);var U=R.selectionStart,J=R.selectionEnd;Se.current={selectionStart:U,selectionEnd:J+L}},dt=function(R){var L=R.target,U=L.value,J=Ge(U,R,zt.event);J&&p(R),Se.current=void 0},ze=function(R){var L=R.target,U=R.key,J=L.selectionStart,me=L.selectionEnd,q=L.value;q===void 0&&(q="");var H;U==="ArrowLeft"||U==="Backspace"?H=Math.max(J-1,0):U==="ArrowRight"?H=Math.min(J+1,q.length):U==="Delete"&&(H=J);var Ce=0;U==="Delete"&&J===me&&(Ce=1);var je=U==="ArrowLeft"||U==="ArrowRight";if(H===void 0||J!==me&&!je){y(R),_e(L,Ce);return}var Oe=H;if(je){var ft=U==="ArrowLeft"?"left":"right";Oe=de(q,H,ft),Oe!==H&&R.preventDefault()}else U==="Delete"&&!N(q[H])?Oe=de(q,H,"right"):U==="Backspace"&&!N(q[H])&&(Oe=de(q,H,"left"));Oe!==H&&ne(L,Oe,q),y(R),_e(L,Ce)},Lt=function(R){var L=R.target,U=function(){var J=L.selectionStart,me=L.selectionEnd,q=L.value;if(q===void 0&&(q=""),J===me){var H=de(q,J);H!==J&&ne(L,H,q)}};U(),requestAnimationFrame(function(){U()}),E(R),_e(L)},jt=function(R){R.persist&&R.persist();var L=R.target,U=R.currentTarget;V.current=L,ee.current.focusTimeout=setTimeout(function(){var J=L.selectionStart,me=L.selectionEnd,q=L.value;q===void 0&&(q="");var H=de(q,J);H!==J&&!(J===0&&me===q.length)&&ne(L,H,q),b(Object.assign(Object.assign({},R),{currentTarget:U}))},0)},qt=function(R){V.current=null,clearTimeout(ee.current.focusTimeout),clearTimeout(ee.current.setCaretTimeout),C(R)},Jt=ke&&Io()?"numeric":void 0,Je=Object.assign({inputMode:Jt},B,{type:t,value:D,onChange:dt,onKeyDown:ze,onMouseUp:Lt,onFocus:jt,onBlur:qt});if(r==="text")return i?A.createElement(A.Fragment,null,i(D,B)||null):A.createElement("span",Object.assign({},B,{ref:l}),D);if(n){var Qe=n;return A.createElement(Qe,Object.assign({},Je,{ref:l}))}return A.createElement("input",Object.assign({},Je,{ref:l}))}function ba(e,t){var r=t.decimalScale,n=t.fixedDecimalScale,i=t.prefix;i===void 0&&(i="");var l=t.suffix;l===void 0&&(l="");var s=t.allowNegative,u=t.thousandsGroupStyle;if(u===void 0&&(u="thousand"),e===""||e==="-")return e;var f=fr(t),h=f.thousandSeparator,v=f.decimalSeparator,m=r!==0&&e.indexOf(".")!==-1||r&&n,p=$r(e,s),y=p.beforeDecimal,E=p.afterDecimal,b=p.addNegation;return r!==void 0&&(E=fa(E,r,!!n)),h&&(y=Ro(y,h,u)),i&&(y=i+y),l&&(E=E+l),b&&(y="-"+y),e=y+(m&&v||"")+E,e}function fr(e){var t=e.decimalSeparator;t===void 0&&(t=".");var r=e.thousandSeparator,n=e.allowedDecimalSeparators;return r===!0&&(r=","),n||(n=[t,"."]),{decimalSeparator:t,thousandSeparator:r,allowedDecimalSeparators:n}}function $o(e,t){e===void 0&&(e="");var r=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),i=r.test(e),l=n.test(e);return e=e.replace(/-/g,""),i&&!l&&t&&(e="-"+e),e}function Go(e,t){return new RegExp("(^-)|[0-9]|"+da(e),"g")}function zo(e,t,r){return e===""?!0:!(t!=null&&t.match(/\d/))&&!(r!=null&&r.match(/\d/))&&typeof e=="string"&&!isNaN(Number(e))}function Xo(e,t,r){var n;t===void 0&&(t=Mo(e));var i=r.allowNegative,l=r.prefix;l===void 0&&(l="");var s=r.suffix;s===void 0&&(s="");var u=r.decimalScale,f=t.from,h=t.to,v=h.start,m=h.end,p=fr(r),y=p.allowedDecimalSeparators,E=p.decimalSeparator,b=e[m]===E;if(Xt(e)&&(e===l||e===s)&&t.lastValue==="")return e;if(m-v===1&&y.indexOf(e[v])!==-1){var C=u===0?"":E;e=e.substring(0,v)+C+e.substring(v+1,e.length)}var j=function(V,ee,ae){var oe=!1,ne=!1;l.startsWith("-")?oe=!1:V.startsWith("--")?(oe=!1,ne=!0):s.startsWith("-")&&V.length===s.length?oe=!1:V[0]==="-"&&(oe=!0);var de=oe?1:0;return ne&&(de=2),de&&(V=V.substring(de),ee-=de,ae-=de),{value:V,start:ee,end:ae,hasNegation:oe}},k=j(e,v,m),N=k.hasNegation;n=k,e=n.value,v=n.start,m=n.end;var I=j(t.lastValue,f.start,f.end),B=I.start,M=I.end,O=I.value,D=e.substring(v,m);e.length&&O.length&&(B>O.length-s.length||M<l.length)&&!(D&&s.startsWith(D))&&(e=O);var Y=0;e.startsWith(l)?Y+=l.length:v<l.length&&(Y=v),e=e.substring(Y),m-=Y;var he=e.length,Se=e.length-s.length;e.endsWith(s)?he=Se:(m>Se||m>e.length-s.length)&&(he=m),e=e.substring(0,he),e=$o(N?"-"+e:e,i),e=(e.match(Go(E))||[]).join("");var Te=e.indexOf(E);e=e.replace(new RegExp(da(E),"g"),function(V,ee){return ee===Te?".":""});var ve=$r(e,i),ye=ve.beforeDecimal,ke=ve.afterDecimal,W=ve.addNegation;return h.end-h.start<f.end-f.start&&ye===""&&b&&!parseFloat(ke)&&(e=W?"-":""),e}function Ko(e,t){var r=t.prefix;r===void 0&&(r="");var n=t.suffix;n===void 0&&(n="");var i=Array.from({length:e.length+1}).map(function(){return!0}),l=e[0]==="-";i.fill(!1,0,r.length+(l?1:0));var s=e.length;return i.fill(!1,s-n.length+1,s+1),i}function Yo(e){var t=fr(e),r=t.thousandSeparator,n=t.decimalSeparator,i=e.prefix;i===void 0&&(i="");var l=e.allowNegative;if(l===void 0&&(l=!0),r===n)throw new Error(`
66
+ Decimal separator can't be same as thousand separator.
67
+ thousandSeparator: `+r+` (thousandSeparator = {true} is same as thousandSeparator = ",")
68
+ decimalSeparator: `+n+` (default value for decimalSeparator is .)
69
+ `);return i.startsWith("-")&&l&&(console.error(`
70
+ Prefix can't start with '-' when allowNegative is true.
71
+ prefix: `+i+`
72
+ allowNegative: `+l+`
73
+ `),l=!1),Object.assign(Object.assign({},e),{allowNegative:l})}function Zo(e){e=Yo(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,r=e.allowNegative,n=e.allowLeadingZeros,i=e.onKeyDown;i===void 0&&(i=it);var l=e.onBlur;l===void 0&&(l=it);var s=e.thousandSeparator,u=e.decimalScale,f=e.fixedDecimalScale,h=e.prefix;h===void 0&&(h="");var v=e.defaultValue,m=e.value,p=e.valueIsNumericString,y=e.onValueChange,E=ua(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),b=fr(e),C=b.decimalSeparator,j=b.allowedDecimalSeparators,k=function(W){return ba(W,e)},N=function(W,V){return Xo(W,V,e)},I=Tt(m)?v:m,B=p??zo(I,h,t);Tt(m)?Tt(v)||(B=B||typeof v=="number"):B=B||typeof m=="number";var M=function(W){return ca(W)?W:(typeof W=="number"&&(W=ma(W)),B&&typeof u=="number"?va(W,u,!!f):W)},O=pa(M(m),M(v),!!B,k,N,y),D=O[0],Y=D.numAsString,he=D.formattedValue,Se=O[1],Te=function(W){var V=W.target,ee=W.key,ae=V.selectionStart,oe=V.selectionEnd,ne=V.value;if(ne===void 0&&(ne=""),(ee==="Backspace"||ee==="Delete")&&oe<h.length){W.preventDefault();return}if(ae!==oe){i(W);return}ee==="Backspace"&&ne[0]==="-"&&ae===h.length+1&&r&&yt(V,1),u&&f&&(ee==="Backspace"&&ne[ae-1]===C?(yt(V,ae-1),W.preventDefault()):ee==="Delete"&&ne[ae]===C&&W.preventDefault()),j!=null&&j.includes(ee)&&ne[ae]===C&&yt(V,ae+1);var de=s===!0?",":s;ee==="Backspace"&&ne[ae-1]===de&&yt(V,ae-1),ee==="Delete"&&ne[ae]===de&&yt(V,ae+1),i(W)},ve=function(W){var V=Y;if(V.match(/\d/g)||(V=""),n||(V=Do(V)),f&&u&&(V=va(V,u,f)),V!==Y){var ee=ba(V,e);Se({formattedValue:ee,value:V,floatValue:parseFloat(V)},{event:W,source:zt.event})}l(W)},ye=function(W){return W===C?!0:Xt(W)},ke=function(W){var V=W.currentValue,ee=W.lastValue,ae=W.formattedValue,oe=W.currentValueIndex,ne=W.formattedValueIndex,de=V[oe],X=ae[ne],ct=ga(ee,V),qe=ct.to,Ee=function(Ge){return N(Ge).indexOf(".")+h.length};return m===0&&f&&u&&V[qe.start]===C&&Ee(V)<oe&&Ee(ae)>ne?!1:oe>=qe.start&&oe<qe.end&&j&&j.includes(de)&&X===C?!0:de===X};return Object.assign(Object.assign({},E),{value:he,valueIsNumericString:!1,isValidInputCharacter:ye,isCharacterSame:ke,onValueChange:Se,format:k,removeFormatting:N,getCaretBoundary:function(W){return Ko(W,e)},onKeyDown:Te,onBlur:ve})}function qo(e){var t=Zo(e);return A.createElement(Ho,Object.assign({},t))}const Jo=A.forwardRef(function({label:t,caption:r,disabled:n,errorMessage:i,leadingIcon:l,supportingText:s,amountCounter:u,trailingElement:f,isContentVisible:h,value:v,defaultValue:m,onClearInput:p,isVisibilityToggleEnabled:y,type:E,...b},C){y??(y=E===Pe.Password);const j=A.useRef(null),[k,N]=A.useState(h??E!==Pe.Password);A.useEffect(()=>{N(h??E!==Pe.Password)},[E,h]);function I(){N(M=>!M)}function B(){var M;j.current&&((M=j.current.querySelector("input"))==null||M.focus())}return a.jsx(Hr,{label:t,caption:r,disabled:n,errorMessage:i,amountCounter:u,required:b.required,children:a.jsxs("div",{className:w("relative flex flex-row items-center gap-x-3",la),onClick:B,ref:j,children:[l&&a.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:l}),a.jsx(Qo,{...b,inputRef:C,value:v,type:E===Pe.Password&&k?Pe.Text:E,disabled:n,className:w(na,aa,ia,Co)}),s&&a.jsx(dr,{children:s}),a.jsx(ts,{value:v,type:E,onClearInput:p,isContentVisible:k,trailingElement:f,isVisibilityToggleEnabled:y,onToggleButtonClick:I})]})})});function Qo({type:e,inputRef:t,...r}){function n(i){if(e===Pe.Number){const l=i.currentTarget;l.blur(),i.stopPropagation(),setTimeout(()=>{l.focus({preventScroll:!0})},0)}}return e===Pe.NumericFormat?a.jsx(es,{inputRef:t,...r,type:e}):a.jsx("input",{ref:t,...r,type:e,onWheel:i=>{var l;n(i),(l=r.onWheel)==null||l.call(r,i)}})}function es({inputRef:e,className:t,type:r,...n}){return a.jsx(qo,{className:t,valueIsNumericString:!0,getInputRef:e,...n})}function ts({value:e,type:t,onClearInput:r,isContentVisible:n,trailingElement:i,onToggleButtonClick:l,isVisibilityToggleEnabled:s}){const u=!!(t===Pe.Text&&e&&r),f=!!(t===Pe.Password&&s),h=!!(i&&!u&&!f);if(u)return a.jsx(pe,{className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",onClick:r,tabIndex:-1,children:a.jsx(Ht,{})});if(f)return a.jsx(pe,{onClick:l,className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:n?a.jsx(Kn,{}):a.jsx(Xn,{})});if(h)return a.jsx(A.Fragment,{children:i})}const rs=A.forwardRef(function({label:t,caption:r,disabled:n,errorMessage:i,value:l,amountCounter:s,isVisibilityToggleEnabled:u,isResizeEnabled:f,required:h,isContentVisible:v,...m},p){const[y,E]=A.useState(v??!0);A.useEffect(()=>{E(v??!0)},[v]);function b(){E(C=>!C)}return a.jsx(Hr,{label:t,caption:r,disabled:n||!y,errorMessage:i,amountCounter:s,required:h,children:a.jsxs("div",{className:"relative",children:[a.jsx("textarea",{disabled:n||!y,required:h,ref:p,className:w("peer block min-h-[50px]",la,na,aa,ia,y&&f?"resize-y":"resize-none",!y&&"not-visible select-none text-transparent dark:text-transparent"),value:y?l:"",...m}),!y&&a.jsx("div",{className:"absolute left-0 top-0 flex h-full w-full flex-col items-stretch gap-y-2 px-md py-sm peer-[.not-visible]:select-none",children:a.jsx(ns,{rows:3,halfWidthRow:3})}),u&&a.jsx("span",{className:"absolute bottom-4 right-4 flex",children:a.jsx(pe,{onClick:b,className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:y?a.jsx(Kn,{}):a.jsx(Xn,{})})})]})})});function ns({rows:e,halfWidthRow:t}){return a.jsx(a.Fragment,{children:Array.from({length:e}).map((r,n)=>{const l=t===n+1?"w-1/2":"w-full";return a.jsx("div",{className:`h-2.5 rounded bg-neutral-92/60 dark:bg-neutral-10/60 ${l}`},n)})})}var hr=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(hr||{});const ya="text-neutral-10 dark:text-neutral-92",wa="text-neutral-40 dark:text-neutral-60",as="py-xxs px-sm",is="p-sm",Sa="bg-shader-primary-light-12 dark:bg-shader-primary-dark-12",ls="-top-3 right-3",os="-top-1 right-3",Ea="text-neutral-10 dark:text-neutral-92",_a="text-neutral-60 dark:text-neutral-40";function ss({icon:e,text:t,isSelected:r,hasBadge:n,onClick:i,isDisabled:l=!1}){const s=r?ya:wa,u=t?as:is,f=r&&Sa,h=t?ls:os,v=r?Ea:_a,m=l?"cursor-not-allowed opacity-60":"state-layer",p=y=>{if(l){y.preventDefault();return}i==null||i(y)};return a.jsxs("div",{onClick:p,className:w("inline-flex cursor-pointer flex-col items-center justify-center space-y-1"),children:[a.jsxs("div",{className:w("relative inline-flex rounded-full",u,f,m),children:[a.jsx("div",{className:w("inline-flex [&_svg]:h-6 [&_svg]:w-6",s),children:e}),n&&a.jsx("div",{className:w("absolute",h),children:a.jsx(Ut,{type:ce.PrimarySolid})})]}),t&&a.jsx("span",{className:w("text-center text-label-md",v),children:t})]})}function us({icon:e,text:t,isSelected:r,hasBadge:n,onClick:i,isDisabled:l=!1}){const s=r?ya:wa,u=r&&Sa,f=r?Ea:_a,h=l?"cursor-not-allowed opacity-60":"state-layer cursor-pointer ",v=m=>{if(l){m.preventDefault();return}i==null||i(m)};return a.jsxs("div",{onClick:v,className:w("relative inline-flex w-full flex-row items-center justify-between rounded-full p-sm",u,h),children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:w("inline-flex [&_svg]:h-6 [&_svg]:w-6",s),children:e}),t&&a.jsx("span",{className:w("text-center text-label-lg",f),children:t})]}),n&&a.jsx(Ut,{type:ce.PrimarySolid})]})}function zr(e){const{type:t,text:r}=e;return t===hr.Vertical&&r?a.jsx(us,{...e}):a.jsx(ss,{...e})}function cs({title:e,subtitle:t,badgeType:r,badgeText:n,isLocked:i,avatarContent:l,onOptionsClick:s,onLockAccountClick:u,onUnlockAccountClick:f,onCopy:h,copyText:v,onOpen:m,isCopyable:p,isExternal:y,isSelected:E,isActive:b,showSelected:C,badgeTooltipText:j,badgeTooltipPosition:k=at.Bottom}){const N=l;return a.jsxs("div",{className:w("state-layer group relative flex w-full items-center justify-between space-x-3 rounded-xl px-sm py-xs hover:cursor-pointer",b&&"state-active",{"opacity-60":i&&C}),children:[a.jsxs("div",{className:"flex items-center space-x-3",children:[a.jsx(N,{isLocked:i}),a.jsxs("div",{className:"flex flex-col items-start py-xs",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("span",{className:"font-inter text-title-md text-neutral-10 dark:text-neutral-92",children:e}),n&&r?j?a.jsx(xt,{text:j,position:k,children:a.jsx(Ut,{type:r,label:n})}):a.jsx(Ut,{type:r,label:n}):null]}),a.jsx(ta,{text:t,onCopySuccess:h,copyText:v,onOpen:m,isCopyable:p,isExternal:y})]})]}),a.jsxs("div",{className:"z-10 ml-auto flex items-center space-x-2 [&_button]:h-5 [&_button]:w-5 [&_svg]:h-5 [&_svg]:w-5",children:[a.jsxs("div",{className:"flex items-center space-x-2 [&_button:not(.locked)]:hidden group-hover:[&_button:not(.locked)]:flex [&_svg]:text-neutral-40 [&_svg]:dark:text-neutral-60",children:[s&&a.jsx(pe,{onClick:s,children:a.jsx($n,{})}),u&&f&&(i?a.jsx("div",{className:"flex items-center",children:a.jsx(pe,{onClick:f,testId:"account-unlock",className:"locked",children:a.jsx(_l,{})})}):a.jsx(pe,{onClick:u,testId:"account-lock",children:a.jsx(Cl,{})}))]}),C&&a.jsx(pe,{children:E?a.jsx(bl,{className:"h-5 w-5 text-primary-30 dark:text-primary-80"}):a.jsx(Gn,{className:"h-5 w-5 text-neutral-40 dark:text-neutral-60"})})]})]})}function Ca({children:e}){return a.jsx("ul",{className:"list-none rounded-lg border border-neutral-80 bg-neutral-100 py-xs dark:border-neutral-20 dark:bg-neutral-6",children:e})}var Kt=(e=>(e.Top="top",e.Bottom="bottom",e))(Kt||{});function ja({children:e,hasLastBorderNoneClass:t,isContentCentered:r}){return a.jsx("td",{className:w("h-14 border-b border-shader-neutral-light-8 px-md dark:border-shader-neutral-dark-8",{"last:border-none":t},{"flex items-center justify-center":r}),children:e})}function ds({children:e,supportingLabel:t}){return a.jsxs("div",{className:"flex flex-row items-baseline gap-1",children:[a.jsx("span",{children:e}),t&&a.jsx("span",{className:"text-body-sm text-neutral-60 dark:text-neutral-40",children:t})]})}function fs(){return a.jsx(Jn,{})}var Yt=(e=>(e.Small="small",e.Default="default",e))(Yt||{});const hs=A.forwardRef(({disabled:e,label:t,leadingIcon:r,supportingText:n,errorMessage:i,caption:l,options:s,placeholder:u,onValueChange:f,onOptionClick:h,value:v,dropdownPosition:m=Kt.Bottom,size:p=Yt.Default},y)=>{const[E,b]=A.useState(!1),C=I(v,s),j=C||u,k=p===Yt.Small?"px-sm":"px-md",N=p===Yt.Small?"text-body-md":"text-body-lg";A.useEffect(()=>{e&&E&&O()},[e,E]);function I(D,Y=[]){return Y.find(he=>typeof he=="string"?he===D:he.id===D)??Y[0]}function B(){b(D=>!D)}function M(D){O();const Y=typeof D=="string"?D:D.id;h==null||h(Y),D!==C&&(f==null||f(Y))}function O(){b(!1)}return a.jsx(Hr,{label:t,caption:l,disabled:e,errorMessage:i,labelHtmlTag:oa.Div,children:a.jsxs("div",{className:"relative flex w-full flex-col",children:[a.jsxs(pe,{ref:y,onClick:B,disabled:e,className:w("flex flex-row items-center gap-x-3 rounded-lg border border-neutral-80 py-sm hover:enabled:border-neutral-50 focus-visible:enabled:border-primary-30 active:enabled:border-primary-30 disabled:cursor-not-allowed group-[.errored]:border-error-30 group-[.opened]:border-primary-30 dark:border-neutral-20 dark:hover:enabled:border-neutral-60 dark:group-[.errored]:border-error-80 dark:group-[.opened]:border-primary-80 [&:is(:focus,_:focus-visible,_:active)]:enabled:border-primary-30 dark:[&:is(:focus,_:focus-visible,_:active)]:enabled:border-primary-80 [&_svg]:h-5 [&_svg]:w-5",k),children:[r&&a.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:r}),a.jsxs("div",{className:"flex w-full flex-row items-baseline gap-x-3",children:[j&&a.jsx("div",{className:w("block w-full text-start text-neutral-10 dark:text-neutral-92",N),children:a.jsx(Na,{option:j})}),n&&a.jsx("div",{className:"ml-auto",children:a.jsx(dr,{children:n})})]}),a.jsx(Rl,{className:w("text-neutral-10 transition-transform dark:text-neutral-92",{" rotate-180":E})})]}),E&&a.jsx("div",{className:"fixed left-0 top-0 z-[49] h-screen w-screen bg-transparent",onClick:O}),a.jsx("div",{className:w("absolute z-50 min-w-full",{hidden:!E,"top-full":!m||m===Kt.Bottom,"bottom-full":m===Kt.Top}),children:a.jsx(Ca,{children:s.map(D=>{const Y=typeof D=="string";return a.jsx(Zn,{onClick:()=>M(D),hideBottomBorder:!0,children:a.jsx(Na,{option:D})},Y?D:D.id)})})})]})})});function Na({option:e}){return typeof e=="string"?e:"renderLabel"in e?e.renderLabel():e.label}var wt=(e=>(e.Asc="asc",e.Desc="desc",e))(wt||{});function Ta({label:e,columnKey:t,hasSort:r,hasCheckbox:n,isChecked:i,isIndeterminate:l,isContentCentered:s,onSortClick:u,onCheckboxChange:f,sortOrder:h}){const v=()=>{const E=h===wt.Asc?wt.Desc:wt.Asc;u&&u(t,E)},m="text-neutral-10 dark:text-neutral-92",p="text-label-lg",y=r?h===wt.Asc?a.jsx(zn,{className:"shrink-0"}):h===wt.Desc?a.jsx(Ol,{className:"shrink-0"}):a.jsx(zn,{className:"invisible shrink-0 group-hover:visible"}):null;return a.jsx("th",{onClick:r?v:void 0,className:w("state-layer group relative h-14 border-b border-shader-neutral-light-8 px-md after:pointer-events-none dark:border-shader-neutral-dark-8",{"cursor-pointer":r}),children:a.jsxs("div",{className:w("flex flex-row items-center gap-1 [&_svg]:h-4 [&_svg]:w-4",m,p,{"justify-center":s}),children:[n?a.jsx(Wr,{isChecked:i,isIndeterminate:l,onCheckedChange:f}):a.jsx("span",{className:w({"text-left":!s}),children:e}),y]})})}var We=(e=>(e.Outlined="outlined",e.Filled="filled",e))(We||{});const ms={[We.Outlined]:"bg-transparent",[We.Filled]:"bg-neutral-92 dark:bg-neutral-12"},vs={[We.Outlined]:"border-l border-r border-t border-neutral-70 dark:border-neutral-40",[We.Filled]:"bg-neutral-92 dark:bg-neutral-12"},gs={[We.Outlined]:"rounded-b-3xl border-b border-l border-r border-neutral-70 dark:border-neutral-40",[We.Filled]:"rounded-b-3xl bg-neutral-92 dark:bg-neutral-12"};function xs({searchValue:e,suggestions:t,onSearchValueChange:r,onSuggestionClick:n,placeholder:i,isLoading:l=!1,type:s=We.Outlined,renderSuggestion:u}){const f=A.useRef(null),h=A.useRef(null),[v,m]=A.useState(!0),[p,y]=A.useState(null);function E(M){const O=M.target.value;r(O)}A.useEffect(()=>{const M=O=>{var D;O.key==="Escape"&&(m(!1),(D=f.current)==null||D.blur())};return document.addEventListener("keydown",M),()=>{document.removeEventListener("keydown",M)}},[]),A.useEffect(()=>{const M=O=>{var Y;const D=f==null?void 0:f.current;!D||D.contains(O==null?void 0:O.target)||(Y=h.current)!=null&&Y.contains(O.target)||m(!1)};return document.addEventListener("click",M,!0),document.addEventListener("touchstart",M,!0),()=>{document.removeEventListener("click",M,!0),document.removeEventListener("touchstart",M,!0)}},[f]);const b=v&&t&&t.length>0,C=b?"rounded-t-3xl border-b border-b-transparent":s===We.Outlined?"rounded-3xl border-b":"rounded-full",j=vs[s],k=ms[s],N=gs[s],I=M=>{var O;n==null||n(M),r(""),m(!1),y(null),(O=f.current)==null||O.blur()},B=M=>{t&&(t==null?void 0:t.length)>0&&(M.key==="ArrowDown"?(M.preventDefault(),y(O=>O===null||O>=t.length-1?0:O+1)):M.key==="ArrowUp"?(M.preventDefault(),y(O=>O===null||O<=0?t.length-1:O-1)):M.key==="Enter"&&(M.preventDefault(),p!==null&&t[p]?I(t[p]):t.length===1&&I(t[0])))};return a.jsxs("div",{className:"relative w-full",children:[a.jsxs("div",{className:w("flex items-center overflow-hidden px-md py-sm text-neutral-10 dark:text-neutral-92 [&_svg]:h-6 [&_svg]:w-6",C,j),children:[a.jsx("input",{ref:f,type:"text",value:e,onChange:E,onKeyDown:B,onFocus:()=>m(!0),placeholder:i,className:w("w-full flex-1 outline-none placeholder:text-neutral-40 placeholder:dark:text-neutral-60",k)}),a.jsx(kl,{})]}),b&&u&&a.jsxs("div",{ref:h,className:w("absolute left-0 top-full flex w-full flex-col items-center overflow-hidden bg-neutral-100 dark:bg-neutral-10",N),children:[a.jsx(Yn,{width:"w-11/12"}),l?a.jsx("div",{className:"px-md py-sm",children:a.jsx(Hn,{className:"animate-spin"})}):t.map((M,O)=>a.jsx("div",{onClick:()=>I(M),onMouseEnter:()=>y(O),className:w("w-full cursor-pointer px-md py-sm",p===O?"bg-shader-primary-dark-16 dark:bg-shader-inverted-dark-16":""),children:u(M,O)},M.id))]})]})}var kt=(e=>(e.Default="default",e.Outlined="outlined",e.Filled="filled",e))(kt||{}),lt=(e=>(e.Placeholder="placeholder",e.BgSolid="bg-solid",e.BgWhite="bg-white",e.BgTransparent="bg-transparent",e))(lt||{}),St=(e=>(e.Rounded="rounded",e.SquareRounded="square-rounded",e))(St||{}),Zt=(e=>(e.Link="link",e.SupportingText="supporting-text",e.Button="button",e))(Zt||{});const ps="cursor-default opacity-40",ka="h-10 w-10",Oa={[St.SquareRounded]:`${ka} rounded-md`,[St.Rounded]:`${ka} rounded-full`},bs={[lt.Placeholder]:"",[lt.BgSolid]:"bg-neutral-96 dark:bg-neutral-10",[lt.BgWhite]:"bg-white dark:bg-neutral-6",[lt.BgTransparent]:""},ys={[kt.Default]:"border border-transparent",[kt.Outlined]:"border border-shader-neutral-light-8 dark:border-shader-primary-dark-8 p-xs",[kt.Filled]:"border border-transparent bg-neutral-96 dark:bg-neutral-10 p-xs"};function ws({isDisabled:e=!1,type:t=kt.Default,isHoverable:r,onClick:n,children:i,testId:l}){function s(){e||n==null||n()}return a.jsx("div",{onClick:s,className:w("relative inline-flex w-full items-center gap-3 rounded-xl px-sm py-xs",ys[t],{"state-layer":r||!e&&n,[ps]:e,"cursor-pointer":n}),"data-testid":l,children:i})}function Ss({type:e,onClick:t,subtitle:r,title:n,icon:i,iconAfterText:l,buttonType:s,buttonDisabled:u}){function f(h){t&&(h.stopPropagation(),t())}return e===Zt.Link?a.jsx("div",{onClick:f,className:"shrink-0 text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",children:i||a.jsx(Vr,{})}):e===Zt.SupportingText?a.jsxs("div",{className:"shrink-0 text-right",children:[n&&a.jsx("div",{className:"font-inter text-label-md text-neutral-10 dark:text-neutral-92",children:n}),r&&a.jsx("div",{className:"font-inter text-label-sm text-neutral-60 dark:text-neutral-40",children:r})]}):e===Zt.Button?a.jsx("div",{className:"shrink-0",children:a.jsx(Ae,{type:s||K.Outlined,size:ge.Small,text:n,onClick:f,icon:i,iconAfterText:l,disabled:u})}):null}function Es({variant:e=St.Rounded}){return e===St.Rounded?a.jsx(_s,{}):a.jsx(Cs,{})}function _s(){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[a.jsxs("g",{"clip-path":"url(#clip0_880_55185)",children:[a.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"#5B9CFE"}),a.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint0_linear_880_55185)","fill-opacity":"0.2"}),a.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint1_linear_880_55185)","fill-opacity":"0.2"}),a.jsx("path",{d:"M0.5 20C0.5 9.23045 9.23045 0.5 20 0.5C30.7696 0.5 39.5 9.23045 39.5 20C39.5 30.7696 30.7696 39.5 20 39.5C9.23045 39.5 0.5 30.7696 0.5 20Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:"paint0_linear_880_55185",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),a.jsx("stop",{offset:"1"})]}),a.jsxs("linearGradient",{id:"paint1_linear_880_55185",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),a.jsx("stop",{offset:"1"})]}),a.jsx("clipPath",{id:"clip0_880_55185",children:a.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"white"})})]})]})}function Cs(){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[a.jsxs("g",{"clip-path":"url(#clip0_880_55190)",children:[a.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#5B9CFE"}),a.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_880_55190)","fill-opacity":"0.2"}),a.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint1_linear_880_55190)","fill-opacity":"0.2"}),a.jsx("path",{d:"M0.5 8C0.5 3.85786 3.85786 0.5 8 0.5H32C36.1421 0.5 39.5 3.85786 39.5 8V32C39.5 36.1421 36.1421 39.5 32 39.5H8C3.85786 39.5 0.5 36.1421 0.5 32V8Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:"paint0_linear_880_55190",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),a.jsx("stop",{offset:"1"})]}),a.jsxs("linearGradient",{id:"paint1_linear_880_55190",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),a.jsx("stop",{offset:"1"})]}),a.jsx("clipPath",{id:"clip0_880_55190",children:a.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"white"})})]})]})}function js({type:e=lt.BgSolid,shape:t=St.Rounded,url:r,children:n}){return a.jsxs("div",{className:w(Oa[t],bs[e],"flex shrink-0 items-center justify-center overflow-hidden"),children:[e===lt.Placeholder&&!n&&a.jsx(Es,{variant:t}),r&&!n&&a.jsx("img",{src:r,className:w(Oa[t],"object-cover"),alt:"Card Image"}),n]})}function Ns({title:e,subtitle:t,clickableAction:r,icon:n,isTextTruncated:i,tooltipText:l,tooltipPosition:s}){const u=f=>{f==null||f.stopPropagation()};return a.jsxs("div",{className:w("flex w-full flex-col",{truncate:i}),children:[a.jsxs("div",{className:w("flex flex-row items-center gap-x-xxs",{"grow-1":i}),children:[a.jsx("div",{className:w("font-inter text-title-md text-neutral-10 dark:text-neutral-92",{truncate:i}),children:e}),l?a.jsx(xt,{text:l,position:s,children:n}):a.jsx("div",{className:"flex items-center",children:n}),r&&a.jsx("div",{onClick:u,className:"flex items-center",children:r})]}),t&&a.jsx("div",{className:w("font-inter text-body-md text-neutral-40 dark:text-neutral-60",{truncate:i}),children:t})]})}var Ze=(e=>(e.Default="default",e.Highlight="highlight",e.Secondary="secondary",e))(Ze||{}),Ie=(e=>(e.Default="default",e.Large="large",e))(Ie||{});const Ts={[Ze.Default]:"bg-neutral-96 dark:bg-neutral-10",[Ze.Highlight]:"bg-primary-30 dark:bg-primary-80",[Ze.Secondary]:"bg-secondary-90 dark:bg-secondary-10"},ks={[Ze.Default]:"text-neutral-10 dark:text-neutral-92",[Ze.Highlight]:"text-neutral-100 dark:text-primary-10",[Ze.Secondary]:"text-neutral-10 dark:text-neutral-92"},Os={[Ie.Default]:"gap-y-sm",[Ie.Large]:"gap-y-md"},Rs={[Ie.Default]:"text-title-md",[Ie.Large]:"text-headline-sm"},As={[Ie.Default]:"text-label-md",[Ie.Large]:"text-label-lg"},Ds={[Ie.Default]:"text-label-sm",[Ie.Large]:"text-label-md"};function Ls({label:e,tooltipPosition:t,tooltipText:r,value:n,supportingLabel:i,type:l=Ze.Default,size:s=Ie.Default,icon:u,copyText:f,onCopySuccess:h,onCopyError:v}){const m=Ts[l],p=Os[s],y=ks[l],E=Rs[s],b=Ds[s],C=As[s];async function j(k){if(navigator.clipboard&&f)try{await navigator.clipboard.writeText(f),h==null||h(k,f)}catch(N){console.error("Failed to copy:",N),v==null||v(N,f)}}return a.jsxs("div",{className:w("flex h-full w-full flex-col justify-between rounded-2xl p-md--rs",m,p,y),children:[a.jsxs("div",{className:w("flex flex-row items-center",{"w-full justify-between":u}),children:[a.jsxs("div",{className:"flex flex-row items-center gap-xxs",children:[a.jsx("span",{className:w(b,"whitespace-pre-line"),children:e}),r&&a.jsx(xt,{text:r,position:t,children:a.jsx(or,{className:"opacity-40"})})]}),u&&a.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:u})]}),a.jsxs("div",{className:"flex w-full flex-row items-baseline gap-xxs",children:[a.jsx("span",{className:w("break-all",E),children:n}),i&&a.jsx("span",{className:w("opacity-40",C),children:i}),f&&a.jsx("div",{className:"self-center",children:a.jsx(pe,{onClick:j,children:a.jsx(Ur,{className:"text-neutral-60 dark:text-neutral-40"})})})]})]})}function ot(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e==null||e(i),r===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Ps(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ra(...e){return t=>e.forEach(r=>Ps(r,t))}function Et(...e){return x.useCallback(Ra(...e),e)}function Is(e,t){const r=x.createContext(t);function n(l){const{children:s,...u}=l,f=x.useMemo(()=>u,Object.values(u));return a.jsx(r.Provider,{value:f,children:s})}function i(l){const s=x.useContext(r);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${l}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,i]}function Ms(e,t=[]){let r=[];function n(l,s){const u=x.createContext(s),f=r.length;r=[...r,s];function h(m){const{scope:p,children:y,...E}=m,b=(p==null?void 0:p[e][f])||u,C=x.useMemo(()=>E,Object.values(E));return a.jsx(b.Provider,{value:C,children:y})}function v(m,p){const y=(p==null?void 0:p[e][f])||u,E=x.useContext(y);if(E)return E;if(s!==void 0)return s;throw new Error(`\`${m}\` must be used within \`${l}\``)}return h.displayName=l+"Provider",[h,v]}const i=()=>{const l=r.map(s=>x.createContext(s));return function(u){const f=(u==null?void 0:u[e])||l;return x.useMemo(()=>({[`__scope${e}`]:{...u,[e]:f}}),[u,f])}};return i.scopeName=e,[n,Bs(i,...t)]}function Bs(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(l){const s=n.reduce((u,{useScope:f,scopeName:h})=>{const m=f(l)[`__scope${h}`];return{...u,...m}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}var mr=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},Fs=x.useId||(()=>{}),Vs=0;function Xr(e){const[t,r]=x.useState(Fs());return mr(()=>{e||r(n=>n??String(Vs++))},[e]),e||(t?`radix-${t}`:"")}function _t(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}function Us({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,i]=Ws({defaultProp:t,onChange:r}),l=e!==void 0,s=l?e:n,u=_t(r),f=x.useCallback(h=>{if(l){const m=typeof h=="function"?h(e):h;m!==e&&u(m)}else i(h)},[l,e,i,u]);return[s,f]}function Ws({defaultProp:e,onChange:t}){const r=x.useState(e),[n]=r,i=x.useRef(n),l=_t(t);return x.useEffect(()=>{i.current!==n&&(l(n),i.current=n)},[n,i,l]),r}var Kr=x.forwardRef((e,t)=>{const{children:r,...n}=e,i=x.Children.toArray(r),l=i.find($s);if(l){const s=l.props.children,u=i.map(f=>f===l?x.Children.count(s)>1?x.Children.only(null):x.isValidElement(s)?s.props.children:null:f);return a.jsx(Yr,{...n,ref:t,children:x.isValidElement(s)?x.cloneElement(s,void 0,u):null})}return a.jsx(Yr,{...n,ref:t,children:r})});Kr.displayName="Slot";var Yr=x.forwardRef((e,t)=>{const{children:r,...n}=e;if(x.isValidElement(r)){const i=zs(r);return x.cloneElement(r,{...Gs(n,r.props),ref:t?Ra(t,i):i})}return x.Children.count(r)>1?x.Children.only(null):null});Yr.displayName="SlotClone";var Hs=({children:e})=>a.jsx(a.Fragment,{children:e});function $s(e){return x.isValidElement(e)&&e.type===Hs}function Gs(e,t){const r={...t};for(const n in t){const i=e[n],l=t[n];/^on[A-Z]/.test(n)?i&&l?r[n]=(...u)=>{l(...u),i(...u)}:i&&(r[n]=i):n==="style"?r[n]={...i,...l}:n==="className"&&(r[n]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}function zs(e){var n,i;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Xs=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],He=Xs.reduce((e,t)=>{const r=x.forwardRef((n,i)=>{const{asChild:l,...s}=n,u=l?Kr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(u,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ks(e,t){e&&kn.flushSync(()=>e.dispatchEvent(t))}function Ys(e,t=globalThis==null?void 0:globalThis.document){const r=_t(e);x.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Zs="DismissableLayer",Zr="dismissableLayer.update",qs="dismissableLayer.pointerDownOutside",Js="dismissableLayer.focusOutside",Aa,Da=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),La=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:s,onDismiss:u,...f}=e,h=x.useContext(Da),[v,m]=x.useState(null),p=(v==null?void 0:v.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=x.useState({}),E=Et(t,O=>m(O)),b=Array.from(h.layers),[C]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),j=b.indexOf(C),k=v?b.indexOf(v):-1,N=h.layersWithOutsidePointerEventsDisabled.size>0,I=k>=j,B=tu(O=>{const D=O.target,Y=[...h.branches].some(he=>he.contains(D));!I||Y||(i==null||i(O),s==null||s(O),O.defaultPrevented||u==null||u())},p),M=ru(O=>{const D=O.target;[...h.branches].some(he=>he.contains(D))||(l==null||l(O),s==null||s(O),O.defaultPrevented||u==null||u())},p);return Ys(O=>{k===h.layers.size-1&&(n==null||n(O),!O.defaultPrevented&&u&&(O.preventDefault(),u()))},p),x.useEffect(()=>{if(v)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Aa=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(v)),h.layers.add(v),Pa(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Aa)}},[v,p,r,h]),x.useEffect(()=>()=>{v&&(h.layers.delete(v),h.layersWithOutsidePointerEventsDisabled.delete(v),Pa())},[v,h]),x.useEffect(()=>{const O=()=>y({});return document.addEventListener(Zr,O),()=>document.removeEventListener(Zr,O)},[]),a.jsx(He.div,{...f,ref:E,style:{pointerEvents:N?I?"auto":"none":void 0,...e.style},onFocusCapture:ot(e.onFocusCapture,M.onFocusCapture),onBlurCapture:ot(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:ot(e.onPointerDownCapture,B.onPointerDownCapture)})});La.displayName=Zs;var Qs="DismissableLayerBranch",eu=x.forwardRef((e,t)=>{const r=x.useContext(Da),n=x.useRef(null),i=Et(t,n);return x.useEffect(()=>{const l=n.current;if(l)return r.branches.add(l),()=>{r.branches.delete(l)}},[r.branches]),a.jsx(He.div,{...e,ref:i})});eu.displayName=Qs;function tu(e,t=globalThis==null?void 0:globalThis.document){const r=_t(e),n=x.useRef(!1),i=x.useRef(()=>{});return x.useEffect(()=>{const l=u=>{if(u.target&&!n.current){let f=function(){Ia(qs,r,h,{discrete:!0})};const h={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=f,t.addEventListener("click",i.current,{once:!0})):f()}else t.removeEventListener("click",i.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",l),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function ru(e,t=globalThis==null?void 0:globalThis.document){const r=_t(e),n=x.useRef(!1);return x.useEffect(()=>{const i=l=>{l.target&&!n.current&&Ia(Js,r,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Pa(){const e=new CustomEvent(Zr);document.dispatchEvent(e)}function Ia(e,t,r,{discrete:n}){const i=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?Ks(i,l):i.dispatchEvent(l)}var qr="focusScope.autoFocusOnMount",Jr="focusScope.autoFocusOnUnmount",Ma={bubbles:!1,cancelable:!0},nu="FocusScope",Ba=x.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...s}=e,[u,f]=x.useState(null),h=_t(i),v=_t(l),m=x.useRef(null),p=Et(t,b=>f(b)),y=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(n){let b=function(N){if(y.paused||!u)return;const I=N.target;u.contains(I)?m.current=I:st(m.current,{select:!0})},C=function(N){if(y.paused||!u)return;const I=N.relatedTarget;I!==null&&(u.contains(I)||st(m.current,{select:!0}))},j=function(N){if(document.activeElement===document.body)for(const B of N)B.removedNodes.length>0&&st(u)};document.addEventListener("focusin",b),document.addEventListener("focusout",C);const k=new MutationObserver(j);return u&&k.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",C),k.disconnect()}}},[n,u,y.paused]),x.useEffect(()=>{if(u){Ua.add(y);const b=document.activeElement;if(!u.contains(b)){const j=new CustomEvent(qr,Ma);u.addEventListener(qr,h),u.dispatchEvent(j),j.defaultPrevented||(au(uu(Fa(u)),{select:!0}),document.activeElement===b&&st(u))}return()=>{u.removeEventListener(qr,h),setTimeout(()=>{const j=new CustomEvent(Jr,Ma);u.addEventListener(Jr,v),u.dispatchEvent(j),j.defaultPrevented||st(b??document.body,{select:!0}),u.removeEventListener(Jr,v),Ua.remove(y)},0)}}},[u,h,v,y]);const E=x.useCallback(b=>{if(!r&&!n||y.paused)return;const C=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,j=document.activeElement;if(C&&j){const k=b.currentTarget,[N,I]=iu(k);N&&I?!b.shiftKey&&j===I?(b.preventDefault(),r&&st(N,{select:!0})):b.shiftKey&&j===N&&(b.preventDefault(),r&&st(I,{select:!0})):j===k&&b.preventDefault()}},[r,n,y.paused]);return a.jsx(He.div,{tabIndex:-1,...s,ref:p,onKeyDown:E})});Ba.displayName=nu;function au(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(st(n,{select:t}),document.activeElement!==r)return}function iu(e){const t=Fa(e),r=Va(t,e),n=Va(t.reverse(),e);return[r,n]}function Fa(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Va(e,t){for(const r of e)if(!lu(r,{upTo:t}))return r}function lu(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function ou(e){return e instanceof HTMLInputElement&&"select"in e}function st(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&ou(e)&&t&&e.select()}}var Ua=su();function su(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Wa(e,t),e.unshift(t)},remove(t){var r;e=Wa(e,t),(r=e[0])==null||r.resume()}}}function Wa(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function uu(e){return e.filter(t=>t.tagName!=="A")}var cu="Portal",Ha=x.forwardRef((e,t)=>{var u;const{container:r,...n}=e,[i,l]=x.useState(!1);mr(()=>l(!0),[]);const s=r||i&&((u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body);return s?Ir.createPortal(a.jsx(He.div,{...n,ref:t}),s):null});Ha.displayName=cu;function du(e,t){return x.useReducer((r,n)=>t[r][n]??r,e)}var vr=e=>{const{present:t,children:r}=e,n=fu(t),i=typeof r=="function"?r({present:n.isPresent}):x.Children.only(r),l=Et(n.ref,hu(i));return typeof r=="function"||n.isPresent?x.cloneElement(i,{ref:l}):null};vr.displayName="Presence";function fu(e){const[t,r]=x.useState(),n=x.useRef({}),i=x.useRef(e),l=x.useRef("none"),s=e?"mounted":"unmounted",[u,f]=du(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const h=gr(n.current);l.current=u==="mounted"?h:"none"},[u]),mr(()=>{const h=n.current,v=i.current;if(v!==e){const p=l.current,y=gr(h);e?f("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?f("UNMOUNT"):f(v&&p!==y?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,f]),mr(()=>{if(t){const h=m=>{const y=gr(n.current).includes(m.animationName);m.target===t&&y&&kn.flushSync(()=>f("ANIMATION_END"))},v=m=>{m.target===t&&(l.current=gr(n.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:x.useCallback(h=>{h&&(n.current=getComputedStyle(h)),r(h)},[])}}function gr(e){return(e==null?void 0:e.animationName)||"none"}function hu(e){var n,i;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Qr=0;function mu(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$a()),document.body.insertAdjacentElement("beforeend",e[1]??$a()),Qr++,()=>{Qr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Qr--}},[])}function $a(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var $e=function(){return $e=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(t[l]=r[l])}return t},$e.apply(this,arguments)};function Ga(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function vu(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,l;n<i;n++)(l||!(n in t))&&(l||(l=Array.prototype.slice.call(t,0,n)),l[n]=t[n]);return e.concat(l||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var xr="right-scroll-bar-position",pr="width-before-scroll-bar",gu="with-scroll-bars-hidden",xu="--removed-body-scroll-bar-size";function en(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function pu(e,t){var r=A.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}var bu=typeof window<"u"?x.useLayoutEffect:x.useEffect,za=new WeakMap;function yu(e,t){var r=pu(null,function(n){return e.forEach(function(i){return en(i,n)})});return bu(function(){var n=za.get(r);if(n){var i=new Set(n),l=new Set(e),s=r.current;i.forEach(function(u){l.has(u)||en(u,null)}),l.forEach(function(u){i.has(u)||en(u,s)})}za.set(r,e)},[e]),r}function wu(e){return e}function Su(e,t){t===void 0&&(t=wu);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(l){var s=t(l,n);return r.push(s),function(){r=r.filter(function(u){return u!==s})}},assignSyncMedium:function(l){for(n=!0;r.length;){var s=r;r=[],s.forEach(l)}r={push:function(u){return l(u)},filter:function(){return r}}},assignMedium:function(l){n=!0;var s=[];if(r.length){var u=r;r=[],u.forEach(l),s=r}var f=function(){var v=s;s=[],v.forEach(l)},h=function(){return Promise.resolve().then(f)};h(),r={push:function(v){s.push(v),h()},filter:function(v){return s=s.filter(v),r}}}};return i}function Eu(e){e===void 0&&(e={});var t=Su(null);return t.options=$e({async:!0,ssr:!1},e),t}var Xa=function(e){var t=e.sideCar,r=Ga(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return x.createElement(n,$e({},r))};Xa.isSideCarExport=!0;function _u(e,t){return e.useMedium(t),Xa}var Ka=Eu(),tn=function(){},br=x.forwardRef(function(e,t){var r=x.useRef(null),n=x.useState({onScrollCapture:tn,onWheelCapture:tn,onTouchMoveCapture:tn}),i=n[0],l=n[1],s=e.forwardProps,u=e.children,f=e.className,h=e.removeScrollBar,v=e.enabled,m=e.shards,p=e.sideCar,y=e.noIsolation,E=e.inert,b=e.allowPinchZoom,C=e.as,j=C===void 0?"div":C,k=e.gapMode,N=Ga(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),I=p,B=yu([r,t]),M=$e($e({},N),i);return x.createElement(x.Fragment,null,v&&x.createElement(I,{sideCar:Ka,removeScrollBar:h,shards:m,noIsolation:y,inert:E,setCallbacks:l,allowPinchZoom:!!b,lockRef:r,gapMode:k}),s?x.cloneElement(x.Children.only(u),$e($e({},M),{ref:B})):x.createElement(j,$e({},M,{className:f,ref:B}),u))});br.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},br.classNames={fullWidth:pr,zeroRight:xr};var Cu=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ju(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Cu();return t&&e.setAttribute("nonce",t),e}function Nu(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Tu(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ku=function(){var e=0,t=null;return{add:function(r){e==0&&(t=ju())&&(Nu(t,r),Tu(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ou=function(){var e=ku();return function(t,r){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Ya=function(){var e=Ou(),t=function(r){var n=r.styles,i=r.dynamic;return e(n,i),null};return t},Ru={left:0,top:0,right:0,gap:0},rn=function(e){return parseInt(e||"",10)||0},Au=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[rn(r),rn(n),rn(i)]},Du=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ru;var t=Au(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Lu=Ya(),Ot="data-scroll-locked",Pu=function(e,t,r,n){var i=e.left,l=e.top,s=e.right,u=e.gap;return r===void 0&&(r="margin"),`
74
+ .`.concat(gu,` {
75
+ overflow: hidden `).concat(n,`;
76
+ padding-right: `).concat(u,"px ").concat(n,`;
77
+ }
78
+ body[`).concat(Ot,`] {
79
+ overflow: hidden `).concat(n,`;
80
+ overscroll-behavior: contain;
81
+ `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
82
+ padding-left: `.concat(i,`px;
83
+ padding-top: `).concat(l,`px;
84
+ padding-right: `).concat(s,`px;
85
+ margin-left:0;
86
+ margin-top:0;
87
+ margin-right: `).concat(u,"px ").concat(n,`;
88
+ `),r==="padding"&&"padding-right: ".concat(u,"px ").concat(n,";")].filter(Boolean).join(""),`
89
+ }
90
+
91
+ .`).concat(xr,` {
92
+ right: `).concat(u,"px ").concat(n,`;
93
+ }
94
+
95
+ .`).concat(pr,` {
96
+ margin-right: `).concat(u,"px ").concat(n,`;
97
+ }
98
+
99
+ .`).concat(xr," .").concat(xr,` {
100
+ right: 0 `).concat(n,`;
101
+ }
102
+
103
+ .`).concat(pr," .").concat(pr,` {
104
+ margin-right: 0 `).concat(n,`;
105
+ }
106
+
107
+ body[`).concat(Ot,`] {
108
+ `).concat(xu,": ").concat(u,`px;
109
+ }
110
+ `)},Za=function(){var e=parseInt(document.body.getAttribute(Ot)||"0",10);return isFinite(e)?e:0},Iu=function(){x.useEffect(function(){return document.body.setAttribute(Ot,(Za()+1).toString()),function(){var e=Za()-1;e<=0?document.body.removeAttribute(Ot):document.body.setAttribute(Ot,e.toString())}},[])},Mu=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n;Iu();var l=x.useMemo(function(){return Du(i)},[i]);return x.createElement(Lu,{styles:Pu(l,!t,i,r?"":"!important")})},nn=!1;if(typeof window<"u")try{var yr=Object.defineProperty({},"passive",{get:function(){return nn=!0,!0}});window.addEventListener("test",yr,yr),window.removeEventListener("test",yr,yr)}catch{nn=!1}var Rt=nn?{passive:!1}:!1,Bu=function(e){return e.tagName==="TEXTAREA"},qa=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Bu(e)&&r[t]==="visible")},Fu=function(e){return qa(e,"overflowY")},Vu=function(e){return qa(e,"overflowX")},Ja=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=Qa(e,n);if(i){var l=ei(e,n),s=l[1],u=l[2];if(s>u)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Uu=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Wu=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Qa=function(e,t){return e==="v"?Fu(t):Vu(t)},ei=function(e,t){return e==="v"?Uu(t):Wu(t)},Hu=function(e,t){return e==="h"&&t==="rtl"?-1:1},$u=function(e,t,r,n,i){var l=Hu(e,window.getComputedStyle(t).direction),s=l*n,u=r.target,f=t.contains(u),h=!1,v=s>0,m=0,p=0;do{var y=ei(e,u),E=y[0],b=y[1],C=y[2],j=b-C-l*E;(E||j)&&Qa(e,u)&&(m+=j,p+=E),u instanceof ShadowRoot?u=u.host:u=u.parentNode}while(!f&&u!==document.body||f&&(t.contains(u)||t===u));return(v&&Math.abs(m)<1||!v&&Math.abs(p)<1)&&(h=!0),h},wr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ti=function(e){return[e.deltaX,e.deltaY]},ri=function(e){return e&&"current"in e?e.current:e},Gu=function(e,t){return e[0]===t[0]&&e[1]===t[1]},zu=function(e){return`
111
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
112
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
113
+ `)},Xu=0,At=[];function Ku(e){var t=x.useRef([]),r=x.useRef([0,0]),n=x.useRef(),i=x.useState(Xu++)[0],l=x.useState(Ya)[0],s=x.useRef(e);x.useEffect(function(){s.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var b=vu([e.lockRef.current],(e.shards||[]).map(ri),!0).filter(Boolean);return b.forEach(function(C){return C.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),b.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var u=x.useCallback(function(b,C){if("touches"in b&&b.touches.length===2)return!s.current.allowPinchZoom;var j=wr(b),k=r.current,N="deltaX"in b?b.deltaX:k[0]-j[0],I="deltaY"in b?b.deltaY:k[1]-j[1],B,M=b.target,O=Math.abs(N)>Math.abs(I)?"h":"v";if("touches"in b&&O==="h"&&M.type==="range")return!1;var D=Ja(O,M);if(!D)return!0;if(D?B=O:(B=O==="v"?"h":"v",D=Ja(O,M)),!D)return!1;if(!n.current&&"changedTouches"in b&&(N||I)&&(n.current=B),!B)return!0;var Y=n.current||B;return $u(Y,C,b,Y==="h"?N:I)},[]),f=x.useCallback(function(b){var C=b;if(!(!At.length||At[At.length-1]!==l)){var j="deltaY"in C?ti(C):wr(C),k=t.current.filter(function(B){return B.name===C.type&&(B.target===C.target||C.target===B.shadowParent)&&Gu(B.delta,j)})[0];if(k&&k.should){C.cancelable&&C.preventDefault();return}if(!k){var N=(s.current.shards||[]).map(ri).filter(Boolean).filter(function(B){return B.contains(C.target)}),I=N.length>0?u(C,N[0]):!s.current.noIsolation;I&&C.cancelable&&C.preventDefault()}}},[]),h=x.useCallback(function(b,C,j,k){var N={name:b,delta:C,target:j,should:k,shadowParent:Yu(j)};t.current.push(N),setTimeout(function(){t.current=t.current.filter(function(I){return I!==N})},1)},[]),v=x.useCallback(function(b){r.current=wr(b),n.current=void 0},[]),m=x.useCallback(function(b){h(b.type,ti(b),b.target,u(b,e.lockRef.current))},[]),p=x.useCallback(function(b){h(b.type,wr(b),b.target,u(b,e.lockRef.current))},[]);x.useEffect(function(){return At.push(l),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",f,Rt),document.addEventListener("touchmove",f,Rt),document.addEventListener("touchstart",v,Rt),function(){At=At.filter(function(b){return b!==l}),document.removeEventListener("wheel",f,Rt),document.removeEventListener("touchmove",f,Rt),document.removeEventListener("touchstart",v,Rt)}},[]);var y=e.removeScrollBar,E=e.inert;return x.createElement(x.Fragment,null,E?x.createElement(l,{styles:zu(i)}):null,y?x.createElement(Mu,{gapMode:e.gapMode}):null)}function Yu(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Zu=_u(Ka,Ku);var ni=x.forwardRef(function(e,t){return x.createElement(br,$e({},e,{ref:t,sideCar:Zu}))});ni.classNames=br.classNames;var qu=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Dt=new WeakMap,Sr=new WeakMap,Er={},an=0,ai=function(e){return e&&(e.host||ai(e.parentNode))},Ju=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=ai(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Qu=function(e,t,r,n){var i=Ju(t,Array.isArray(e)?e:[e]);Er[r]||(Er[r]=new WeakMap);var l=Er[r],s=[],u=new Set,f=new Set(i),h=function(m){!m||u.has(m)||(u.add(m),h(m.parentNode))};i.forEach(h);var v=function(m){!m||f.has(m)||Array.prototype.forEach.call(m.children,function(p){if(u.has(p))v(p);else try{var y=p.getAttribute(n),E=y!==null&&y!=="false",b=(Dt.get(p)||0)+1,C=(l.get(p)||0)+1;Dt.set(p,b),l.set(p,C),s.push(p),b===1&&E&&Sr.set(p,!0),C===1&&p.setAttribute(r,"true"),E||p.setAttribute(n,"true")}catch(j){console.error("aria-hidden: cannot operate on ",p,j)}})};return v(t),u.clear(),an++,function(){s.forEach(function(m){var p=Dt.get(m)-1,y=l.get(m)-1;Dt.set(m,p),l.set(m,y),p||(Sr.has(m)||m.removeAttribute(n),Sr.delete(m)),y||m.removeAttribute(r)}),an--,an||(Dt=new WeakMap,Dt=new WeakMap,Sr=new WeakMap,Er={})}},ec=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=qu(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),Qu(n,i,r,"aria-hidden")):function(){return null}},ln="Dialog",[ii,_d]=Ms(ln),[tc,Me]=ii(ln),li=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:i,onOpenChange:l,modal:s=!0}=e,u=x.useRef(null),f=x.useRef(null),[h=!1,v]=Us({prop:n,defaultProp:i,onChange:l});return a.jsx(tc,{scope:t,triggerRef:u,contentRef:f,contentId:Xr(),titleId:Xr(),descriptionId:Xr(),open:h,onOpenChange:v,onOpenToggle:x.useCallback(()=>v(m=>!m),[v]),modal:s,children:r})};li.displayName=ln;var oi="DialogTrigger",si=x.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=Me(oi,r),l=Et(t,i.triggerRef);return a.jsx(He.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":un(i.open),...n,ref:l,onClick:ot(e.onClick,i.onOpenToggle)})});si.displayName=oi;var on="DialogPortal",[rc,ui]=ii(on,{forceMount:void 0}),ci=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:i}=e,l=Me(on,t);return a.jsx(rc,{scope:t,forceMount:r,children:x.Children.map(n,s=>a.jsx(vr,{present:r||l.open,children:a.jsx(Ha,{asChild:!0,container:i,children:s})}))})};ci.displayName=on;var _r="DialogOverlay",di=x.forwardRef((e,t)=>{const r=ui(_r,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,l=Me(_r,e.__scopeDialog);return l.modal?a.jsx(vr,{present:n||l.open,children:a.jsx(nc,{...i,ref:t})}):null});di.displayName=_r;var nc=x.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=Me(_r,r);return a.jsx(ni,{as:Kr,allowPinchZoom:!0,shards:[i.contentRef],children:a.jsx(He.div,{"data-state":un(i.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),Ct="DialogContent",fi=x.forwardRef((e,t)=>{const r=ui(Ct,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,l=Me(Ct,e.__scopeDialog);return a.jsx(vr,{present:n||l.open,children:l.modal?a.jsx(ac,{...i,ref:t}):a.jsx(ic,{...i,ref:t})})});fi.displayName=Ct;var ac=x.forwardRef((e,t)=>{const r=Me(Ct,e.__scopeDialog),n=x.useRef(null),i=Et(t,r.contentRef,n);return x.useEffect(()=>{const l=n.current;if(l)return ec(l)},[]),a.jsx(hi,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ot(e.onCloseAutoFocus,l=>{var s;l.preventDefault(),(s=r.triggerRef.current)==null||s.focus()}),onPointerDownOutside:ot(e.onPointerDownOutside,l=>{const s=l.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0;(s.button===2||u)&&l.preventDefault()}),onFocusOutside:ot(e.onFocusOutside,l=>l.preventDefault())})}),ic=x.forwardRef((e,t)=>{const r=Me(Ct,e.__scopeDialog),n=x.useRef(!1),i=x.useRef(!1);return a.jsx(hi,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var s,u;(s=e.onCloseAutoFocus)==null||s.call(e,l),l.defaultPrevented||(n.current||(u=r.triggerRef.current)==null||u.focus(),l.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:l=>{var f,h;(f=e.onInteractOutside)==null||f.call(e,l),l.defaultPrevented||(n.current=!0,l.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const s=l.target;((h=r.triggerRef.current)==null?void 0:h.contains(s))&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&i.current&&l.preventDefault()}})}),hi=x.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:l,...s}=e,u=Me(Ct,r),f=x.useRef(null),h=Et(t,f);return mu(),a.jsxs(a.Fragment,{children:[a.jsx(Ba,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:l,children:a.jsx(La,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":un(u.open),...s,ref:h,onDismiss:()=>u.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(lc,{titleId:u.titleId}),a.jsx(sc,{contentRef:f,descriptionId:u.descriptionId})]})]})}),sn="DialogTitle",mi=x.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=Me(sn,r);return a.jsx(He.h2,{id:i.titleId,...n,ref:t})});mi.displayName=sn;var vi="DialogDescription",gi=x.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=Me(vi,r);return a.jsx(He.p,{id:i.descriptionId,...n,ref:t})});gi.displayName=vi;var xi="DialogClose",pi=x.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=Me(xi,r);return a.jsx(He.button,{type:"button",...n,ref:t,onClick:ot(e.onClick,()=>i.onOpenChange(!1))})});pi.displayName=xi;function un(e){return e?"open":"closed"}var bi="DialogTitleWarning",[Cd,yi]=Is(bi,{contentName:Ct,titleName:sn,docsSlug:"dialog"}),lc=({titleId:e})=>{const t=yi(bi),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
114
+
115
+ If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
116
+
117
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},oc="DialogDescriptionWarning",sc=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${yi(oc).contentName}}.`;return x.useEffect(()=>{var l;const i=(l=e.current)==null?void 0:l.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},uc=li,cc=si,dc=ci,wi=di,Si=fi,cn=mi,fc=gi,hc=pi,mc="VisuallyHidden",Ei=x.forwardRef((e,t)=>a.jsx(He.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Ei.displayName=mc;var vc=Ei,ut=(e=>(e.Center="center",e.Right="right",e))(ut||{});const gc=({open:e,onOpenChange:t,children:r,...n})=>{const i=l=>{const s=document.querySelector(".toast-layer:hover");!l&&s||t==null||t(l)};return a.jsx(uc,{open:e,onOpenChange:i,...n,children:r})},xc=cc,_i=hc,Ci=x.forwardRef(({showCloseIcon:e,position:t,...r},n)=>a.jsx(wi,{ref:n,className:w("inset-0 z-[99998] bg-shader-neutral-light-48 backdrop-blur-md",{fixed:t===ut.Right,absolute:t===ut.Center}),...r,children:a.jsx(_i,{className:w("fixed right-3 top-3",{hidden:!e}),children:a.jsx(Ht,{})})}));Ci.displayName=wi.displayName;const ji=x.forwardRef(({className:e,containerId:t,showCloseOnOverlay:r,children:n,position:i=ut.Center,customWidth:l="w-80 max-w-[85vw] md:w-96",...s},u)=>{const[f,h]=A.useState(void 0);A.useEffect(()=>{const y=t?document.getElementById(t):void 0;h(y??void 0)},[t]);const v=i===ut.Right?"overflow-hidden right-0 h-screen top-0 w-full":"overflow-y-auto overflow-x-hidden left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-xl",m=i===ut.Right?"md:w-96 max-w-[500px]":l,p=i===ut.Right?"h-screen":"max-h-[80vh] h-full";return a.jsxs(dc,{container:f,children:[a.jsx(Ci,{showCloseIcon:r,position:i}),a.jsxs(Si,{ref:u,className:w("fixed z-[99999] flex flex-col justify-center bg-primary-100 dark:bg-neutral-6",v,m),...s,children:[a.jsxs(vc,{children:[a.jsx(cn,{}),a.jsx(fc,{})]}),a.jsx("div",{className:w("flex flex-1 flex-col",p),children:n})]})]})});ji.displayName=Si.displayName;const Ni=x.forwardRef((e,t)=>a.jsx(cn,{ref:t,className:"font-inter text-title-lg text-neutral-10 dark:text-neutral-92",...e}));Ni.displayName=cn.displayName;const Ti=x.forwardRef((e,t)=>a.jsx("div",{ref:t,className:"flex-1 overflow-y-auto p-md--rs text-body-sm text-neutral-40 dark:text-neutral-60",...e}));Ti.displayName="DialogBody";const ki=A.createContext({isHeaderChecked:!1,selectedRowIndexes:new Set,isHeaderIndeterminate:!1}),Oi=()=>A.useContext(ki);function pc({children:e,selectedRowIndexes:t,rowIndexes:r,...n}){const i=r.length===t.size,l=!i&&t.size>0;return a.jsx(ki.Provider,{value:{...n,isHeaderChecked:i,selectedRowIndexes:t,isHeaderIndeterminate:l},children:e})}function bc({paginationOptions:e,action:t,supportingLabel:r,selectedRowIndexes:n=new Set,rowIndexes:i,children:l,pageSizeSelector:s,heightFull:u=!1}){return a.jsx(pc,{selectedRowIndexes:n,rowIndexes:i,children:a.jsxs("div",{className:w("w-full",{"h-full":u}),children:[a.jsx("div",{className:w("overflow-auto",{"h-full":u}),children:a.jsx("table",{className:w("w-full table-auto",{"h-full":u}),children:l})}),a.jsxs("div",{className:w("flex w-full items-center gap-sm pt-md",{hidden:!r&&!e&&!t,"flex-col justify-between sm:flex-row":e,"justify-end":!e&&t}),children:[(e||t)&&a.jsxs("div",{className:"flex gap-2",children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(Ae,{type:K.Secondary,size:ge.Small,icon:a.jsx(wl,{}),disabled:!e.hasFirst,onClick:e.onFirst}),a.jsx(Ae,{type:K.Secondary,size:ge.Small,icon:a.jsx(gl,{}),disabled:!e.hasPrev,onClick:e.onPrev}),a.jsx(Ae,{type:K.Secondary,size:ge.Small,icon:a.jsx(Vr,{}),disabled:!e.hasNext,onClick:e.onNext}),a.jsx(Ae,{type:K.Secondary,size:ge.Small,icon:a.jsx(Sl,{}),disabled:!e.hasLast,onClick:e.onLast})]}),t&&t]}),r||s?a.jsxs("div",{className:"flex flex-row items-center gap-x-sm",children:[r&&a.jsx("span",{className:" text-label-md text-neutral-40 dark:text-neutral-60",children:r}),s&&a.jsx("div",{className:"ml-2",children:s})]}):null]})]})})}function yc(e){return a.jsx(Ae,{type:K.Secondary,size:ge.Small,...e})}function wc({children:e}){return a.jsx("thead",{children:e})}function Sc({children:e,leading:t}){return a.jsxs("tr",{children:[t,e]})}const Ec="text-neutral-40 dark:text-neutral-60",_c="text-body-md";function Cc({children:e}){return a.jsx("tbody",{className:w(Ec,_c),children:e})}function jc({rowIndex:e,onCheckboxChange:t}){const{selectedRowIndexes:r}=Oi();return a.jsx(ja,{isContentCentered:!0,children:a.jsx(Wr,{onCheckedChange:n=>{t(n.target.checked)},isChecked:r.has(e)})})}function Nc({onCheckboxChange:e}){const{isHeaderChecked:t,isHeaderIndeterminate:r}=Oi();return a.jsx(Ta,{isContentCentered:!0,hasCheckbox:!0,onCheckboxChange:n=>{e(n.target.checked)},isChecked:t,columnKey:1,isIndeterminate:r})}function Tc({items:e,activeId:t,onClickItem:r,isCollapsible:n=!1,onToggleNavbar:i}){return a.jsxs("div",{className:w("flex h-fit w-full",{"flex-col px-md py-xs sm:h-full sm:w-auto sm:px-none sm:py-xl":n}),children:[n&&a.jsxs("div",{className:"flex w-full items-center justify-between sm:mb-[48px] sm:flex-col",children:[a.jsx("div",{className:"flex justify-center [&_svg]:h-[38px] [&_svg]:w-[38px]",children:a.jsx(El,{className:"text-neutral-10 dark:text-neutral-92"})}),a.jsx("div",{className:"state-layer relative rounded-full p-xs hover:cursor-pointer dark:text-neutral-92 sm:hidden [&_svg]:h-6 [&_svg]:w-6",onClick:i,children:a.jsx(jl,{})})]}),a.jsx("div",{className:w({"flex w-full justify-between px-sm py-xxs":!n,"hidden sm:flex sm:flex-col sm:gap-2":n}),children:e.map(l=>a.jsx("div",{className:w("flex items-center",{"px-xs py-xxs":!n,"py-xxs pl-xs pr-sm":n}),"data-testid":`nav-${l.id}`,children:a.jsx(zr,{...l,isSelected:l.id===t,onClick:s=>{l.onClick&&l.onClick(s),l.isDisabled||r(l.id)}})},l.id))})]})}function kc({items:e,activeId:t,onClickItem:r,isOpen:n,onToggleNavbar:i}){return a.jsxs(a.Fragment,{children:[a.jsx("div",{onClick:i,className:w("duration-800 transition-opacity ease-out",{"opacity-1 fixed left-0 top-0 h-full w-full bg-shader-neutral-light-72":n,"-translate-x-full opacity-0":!n})}),a.jsx("div",{className:w("z-999 rounded-tb-3xl fixed left-0 top-0 h-full w-11/12 rounded-tr-3xl bg-white px-lg py-lg transition-transform duration-300 ease-out dark:bg-neutral-6",{"translate-x-0":n,"-translate-x-full":!n}),children:a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx("div",{className:"[&_svg]:h-5 [&_svg]:w-5",children:a.jsx(Ae,{type:K.Ghost,onClick:i,icon:a.jsx(Wn,{})})}),e.map(l=>a.jsx(zr,{...l,type:hr.Vertical,isSelected:l.id===t,onClick:()=>{r(l.id),i&&i()}},l.id))]})})]})}const Oc="text-neutral-10 dark:text-neutral-92 transition-transform ease-linear";function Rc({onToggle:e,children:t,isExpanded:r,hideArrow:n}){return a.jsxs("div",{onClick:e,className:w("state-layer relative flex cursor-pointer items-center justify-between gap-md overflow-hidden rounded-xl py-sm--rs",{"pr-md--rs":!n}),children:[t,!n&&a.jsx("div",{className:"[&_svg]:h-5 [&_svg]:w-5",children:a.jsx(Ae,{type:K.Ghost,icon:a.jsx(vl,{className:w(Oc,{"rotate-180":r})})})})]})}function Ac({isExpanded:e,children:t}){return a.jsx("div",{className:w({hidden:!e}),children:t})}function Dc({children:e,hideBorder:t}){return a.jsx("div",{className:w("rounded-xl bg-neutral-100 dark:bg-neutral-6",{"border border-shader-neutral-light-8 dark:border-shader-neutral-dark-8":!t}),children:e})}function Lc(e,t=6,r=6){return e.length>t+r?`${e.slice(0,t)}...${e.slice(-r)}`:e}S.Accordion=Dc,S.AccordionContent=Ac,S.AccordionHeader=Rc,S.Account=cs,S.Address=ta,S.Badge=Ut,S.BadgeType=ce,S.Button=Ae,S.ButtonHtmlType=Wt,S.ButtonPill=ml,S.ButtonSegment=Fl,S.ButtonSegmentType=gt,S.ButtonSize=ge,S.ButtonType=K,S.ButtonUnstyled=pe,S.Card=ws,S.CardAction=Ss,S.CardActionType=Zt,S.CardBody=Ns,S.CardImage=js,S.CardType=kt,S.Checkbox=Wr,S.Chip=po,S.Dialog=gc,S.DialogBody=Ti,S.DialogClose=_i,S.DialogContent=ji,S.DialogPosition=ut,S.DialogTitle=Ni,S.DialogTrigger=xc,S.DisplayStats=Ls,S.DisplayStatsSize=Ie,S.DisplayStatsType=Ze,S.Divider=Yn,S.DividerType=nt,S.Dropdown=Ca,S.DropdownPosition=Kt,S.Header=Yl,S.IOTA_PRIMITIVES_COLOR_PALETTE=Rn,S.ImageShape=St,S.ImageType=lt,S.InfoBox=Ql,S.InfoBoxStyle=Gt,S.InfoBoxType=Ue,S.Input=Jo,S.InputType=Pe,S.KeyValueInfo=$l,S.LabelText=Kl,S.LabelTextSize=Ne,S.ListItem=Zn,S.LoadingIndicator=no,S.Navbar=Tc,S.NavbarItem=zr,S.NavbarItemType=hr,S.NavbarSlideout=kc,S.Panel=Zl,S.Placeholder=Jn,S.RadioButton=Al,S.Resize=sa,S.SHADER_COLOR_PALETTE=An,S.ScreenSize=Ve,S.Search=xs,S.SearchBarType=We,S.SegmentedButton=wo,S.SegmentedButtonType=pt,S.Select=hs,S.SelectSize=Yt,S.Skeleton=ao,S.Snackbar=to,S.SnackbarType=Le,S.Table=bc,S.TableActionButton=yc,S.TableBody=Cc,S.TableCellBase=ja,S.TableCellPlaceholder=fs,S.TableCellText=ds,S.TableHeader=wc,S.TableHeaderCell=Ta,S.TableHeaderCellSortOrder=wt,S.TableHeaderCheckbox=Nc,S.TableRow=Sc,S.TableRowCheckbox=jc,S.TextArea=rs,S.Title=_o,S.TitleSize=bt,S.Toggle=fo,S.ToggleLabelPosition=ur,S.ToggleSize=Ke,S.Tooltip=xt,S.TooltipPosition=at,S.ValueSize=$t,S.VisualAssetCard=ro,S.VisualAssetType=sr,S.truncate=Lc,S.uiKitResponsivePreset=qi,S.uiKitStaticPreset=Qi,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})});
118
+ //# sourceMappingURL=index.umd.js.map