@tap-payments/os-micro-frontend-shared 0.3.150 → 0.3.151-test.1

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 (269) hide show
  1. package/build/_chunks/{chunk-JHIPGNC2.js → chunk-26M2HXR5.js} +1 -1
  2. package/build/_chunks/{chunk-RBCDAZB4.js → chunk-2CIV4TII.js} +1 -1
  3. package/build/_chunks/{chunk-UFH7CDWV.js → chunk-2RXUTFJ2.js} +1 -1
  4. package/build/_chunks/{chunk-JQ6FKHTQ.js → chunk-2U6YCW6N.js} +1 -1
  5. package/build/_chunks/{chunk-4PJI6O5J.js → chunk-2YUYBTYF.js} +1 -1
  6. package/build/_chunks/{chunk-3LNOZKKV.js → chunk-3L2BA4XQ.js} +1 -1
  7. package/build/_chunks/{chunk-RS5TVJ7R.js → chunk-3VOBVZFJ.js} +1 -1
  8. package/build/_chunks/chunk-4DSO4G5S.js +1 -0
  9. package/build/_chunks/{chunk-N3IRDIUC.js → chunk-4XDOS6NM.js} +1 -1
  10. package/build/_chunks/{chunk-XOVRZTNZ.js → chunk-5TFYIXSJ.js} +1 -1
  11. package/build/_chunks/{chunk-TLZLKR7U.js → chunk-6ZDUY6EO.js} +1 -1
  12. package/build/_chunks/{chunk-DOT5ZDI2.js → chunk-767TZTOZ.js} +1 -1
  13. package/build/_chunks/{chunk-2IK5GP7X.js → chunk-76FVJR6P.js} +1 -1
  14. package/build/_chunks/{chunk-EF4ASBGX.js → chunk-7U4TEMF7.js} +1 -1
  15. package/build/_chunks/chunk-7UD2S336.js +1 -0
  16. package/build/_chunks/{chunk-ODWWMBLG.js → chunk-AB4NTM3F.js} +1 -1
  17. package/build/_chunks/{chunk-ZAYD5F7Y.js → chunk-AKJ3I2OH.js} +1 -1
  18. package/build/_chunks/{chunk-TMKPQNTQ.js → chunk-ATGZW7EW.js} +1 -1
  19. package/build/_chunks/{chunk-WXZAKC23.js → chunk-AVIDTGY5.js} +1 -1
  20. package/build/_chunks/{chunk-QCMIRJFM.js → chunk-BXKWTLZF.js} +1 -1
  21. package/build/_chunks/chunk-BXMBE224.js +1 -0
  22. package/build/_chunks/{chunk-YO3V43XF.js → chunk-C6BVJVE6.js} +1 -1
  23. package/build/_chunks/{chunk-G7NWZUZ3.js → chunk-CAV4XNQI.js} +1 -1
  24. package/build/_chunks/{chunk-4YIPQAS5.js → chunk-CTZJNSRY.js} +1 -1
  25. package/build/_chunks/{chunk-YPGVUZUZ.js → chunk-CWBSYHQB.js} +1 -1
  26. package/build/_chunks/{chunk-EKMLYUWT.js → chunk-DLHTKK6K.js} +1 -1
  27. package/build/_chunks/{chunk-4FNSHIAS.js → chunk-DXJJ34JD.js} +1 -1
  28. package/build/_chunks/{chunk-3UHLQWRW.js → chunk-DYLJN3W4.js} +1 -1
  29. package/build/_chunks/{chunk-TGKCKZOV.js → chunk-DYNS62II.js} +1 -1
  30. package/build/_chunks/{chunk-Y6KG2IWI.js → chunk-EH6DS7Z7.js} +1 -1
  31. package/build/_chunks/{chunk-XH5AY5UF.js → chunk-F44NMQ5K.js} +1 -1
  32. package/build/_chunks/{chunk-WZM4DBSN.js → chunk-F6UETIKM.js} +1 -1
  33. package/build/_chunks/{chunk-25H25Q54.js → chunk-FKYLAEBS.js} +1 -1
  34. package/build/_chunks/{chunk-ZZHAYV5P.js → chunk-FYOVM5SL.js} +1 -1
  35. package/build/_chunks/{chunk-UAHUS5PL.js → chunk-FZJGVE3N.js} +1 -1
  36. package/build/_chunks/{chunk-S3OR26U4.js → chunk-G3EN2K4T.js} +1 -1
  37. package/build/_chunks/{chunk-M5MYK5ZE.js → chunk-GIJKKRNG.js} +1 -1
  38. package/build/_chunks/{chunk-2Z4YOMWE.js → chunk-GIWRSAQ2.js} +1 -1
  39. package/build/_chunks/{chunk-EDJGLQW3.js → chunk-GWT72RF2.js} +1 -1
  40. package/build/_chunks/{chunk-OLRRHASW.js → chunk-GYI5NSQ5.js} +1 -1
  41. package/build/_chunks/{chunk-5ZAUKWVJ.js → chunk-H6HHXYRL.js} +1 -1
  42. package/build/_chunks/{chunk-IGIVQ5NH.js → chunk-HBTIZDBD.js} +1 -1
  43. package/build/_chunks/{chunk-B4AATE4F.js → chunk-HEVN6IWL.js} +1 -1
  44. package/build/_chunks/{chunk-JQRIG5FB.js → chunk-HIILTBHV.js} +2 -2
  45. package/build/_chunks/chunk-IXQVC3DI.js +1 -0
  46. package/build/_chunks/{chunk-LXK6RPQQ.js → chunk-JO4YXZMW.js} +1 -1
  47. package/build/_chunks/{chunk-6UOULENE.js → chunk-JYTLSEW2.js} +1 -1
  48. package/build/_chunks/chunk-K5MU74T4.js +1 -0
  49. package/build/_chunks/chunk-KCEYICHJ.js +2 -0
  50. package/build/_chunks/{chunk-INEO72VG.js → chunk-KISTGSQQ.js} +1 -1
  51. package/build/_chunks/{chunk-CCQTVHAD.js → chunk-KPR7PEDZ.js} +1 -1
  52. package/build/_chunks/{chunk-HMGDQO2F.js → chunk-KTWHVMUD.js} +2 -2
  53. package/build/_chunks/{chunk-HJ4J56OP.js → chunk-KZZ4GNLK.js} +1 -1
  54. package/build/_chunks/{chunk-7H5XBVPX.js → chunk-L2RZBHC7.js} +1 -1
  55. package/build/_chunks/{chunk-QRGXADXK.js → chunk-LA3XKVYQ.js} +1 -1
  56. package/build/_chunks/chunk-LDLGBNMM.js +1 -0
  57. package/build/_chunks/{chunk-KWBCIIK4.js → chunk-LT75SSOB.js} +1 -1
  58. package/build/_chunks/{chunk-VSXBLD2E.js → chunk-M5XBR2HX.js} +1 -1
  59. package/build/_chunks/{chunk-MYPSQEJ5.js → chunk-MINGPVVR.js} +1 -1
  60. package/build/_chunks/{chunk-IKUDFCXC.js → chunk-MVTU6CC5.js} +1 -1
  61. package/build/_chunks/{chunk-S4RT3VB6.js → chunk-N2Q6HRNZ.js} +1 -1
  62. package/build/_chunks/{chunk-LIIULUSD.js → chunk-N3FCB33M.js} +1 -1
  63. package/build/_chunks/{chunk-2AWDKWKY.js → chunk-NA72WEHU.js} +1 -1
  64. package/build/_chunks/{chunk-NP25LI2M.js → chunk-NBGDT62B.js} +1 -1
  65. package/build/_chunks/chunk-NICNBDZ3.js +1 -0
  66. package/build/_chunks/{chunk-TEGPKTJ6.js → chunk-NJFK5TAC.js} +1 -1
  67. package/build/_chunks/chunk-NTJZ733T.js +1 -0
  68. package/build/_chunks/{chunk-WQXW2YTH.js → chunk-O2SPQA5J.js} +1 -1
  69. package/build/_chunks/{chunk-2VW4TETV.js → chunk-O5KFJKRT.js} +1 -1
  70. package/build/_chunks/{chunk-54QYUSHQ.js → chunk-OMFYODPG.js} +1 -1
  71. package/build/_chunks/{chunk-QBAIMI2A.js → chunk-P2DG6H76.js} +1 -1
  72. package/build/_chunks/{chunk-25TBIK37.js → chunk-P4A7BQVX.js} +1 -1
  73. package/build/_chunks/{chunk-ZI2427WJ.js → chunk-PB4RPRX3.js} +1 -1
  74. package/build/_chunks/{chunk-CHBYSMFC.js → chunk-PPC5EHKW.js} +1 -1
  75. package/build/_chunks/{chunk-RZDTMTLU.js → chunk-PUIZRXVZ.js} +1 -1
  76. package/build/_chunks/{chunk-HA4UOJIP.js → chunk-PVUEYH5J.js} +1 -1
  77. package/build/_chunks/{chunk-AWXRPX7U.js → chunk-QRU7WDPB.js} +2 -2
  78. package/build/_chunks/{chunk-65ROHES3.js → chunk-R4GFBLY3.js} +1 -1
  79. package/build/_chunks/{chunk-XONJTPVT.js → chunk-R7TZPC2K.js} +1 -1
  80. package/build/_chunks/{chunk-MBQCD5AC.js → chunk-RHUTFOWS.js} +1 -1
  81. package/build/_chunks/{chunk-BFHCHIY3.js → chunk-RMTT4FOG.js} +1 -1
  82. package/build/_chunks/{chunk-7W7ZXZDB.js → chunk-RSZUTATX.js} +1 -1
  83. package/build/_chunks/{chunk-VSVL2PNY.js → chunk-RW3NBL6C.js} +1 -1
  84. package/build/_chunks/{chunk-M2OAS36B.js → chunk-RWIFX3JL.js} +1 -1
  85. package/build/_chunks/{chunk-BU7IMNX6.js → chunk-SE2Y4QWD.js} +1 -1
  86. package/build/_chunks/{chunk-XZQENYCJ.js → chunk-SQEG4AXU.js} +1 -1
  87. package/build/_chunks/{chunk-DLGM747U.js → chunk-TKEWLZ3T.js} +1 -1
  88. package/build/_chunks/{chunk-2GUSQI3N.js → chunk-TNJNIJJH.js} +1 -1
  89. package/build/_chunks/chunk-TXHU2XBQ.js +1 -0
  90. package/build/_chunks/chunk-UAFJU55L.js +1 -0
  91. package/build/_chunks/{chunk-VH2A4PRP.js → chunk-UAK4RV3F.js} +1 -1
  92. package/build/_chunks/{chunk-WAQHJCE2.js → chunk-UC7E3QT2.js} +1 -1
  93. package/build/_chunks/{chunk-T3XQWHTK.js → chunk-UJ4IYIJH.js} +1 -1
  94. package/build/_chunks/{chunk-H7HCLGNO.js → chunk-UJ5BJK35.js} +1 -1
  95. package/build/_chunks/chunk-UOP57G76.js +2 -0
  96. package/build/_chunks/{chunk-KC4HCR3X.js → chunk-VMQ6KMQH.js} +1 -1
  97. package/build/_chunks/{chunk-3VUNIEDW.js → chunk-VSJHH432.js} +1 -1
  98. package/build/_chunks/{chunk-4YOQZXWJ.js → chunk-W3IFKYAW.js} +1 -1
  99. package/build/_chunks/{chunk-JZCM7T3M.js → chunk-WLBPY6QG.js} +1 -1
  100. package/build/_chunks/{chunk-5DQPJCQP.js → chunk-XEEGI3DA.js} +1 -1
  101. package/build/_chunks/{chunk-AMHTC5C2.js → chunk-YLDK4XKQ.js} +1 -1
  102. package/build/_chunks/{chunk-UPUPMXR3.js → chunk-YYWTZ25R.js} +1 -1
  103. package/build/_chunks/{chunk-OFCF6G2S.js → chunk-Z5LQN64S.js} +1 -1
  104. package/build/_chunks/{chunk-2VCDJEGW.js → chunk-Z66FPFEW.js} +1 -1
  105. package/build/_chunks/chunk-ZM3U42HE.js +2 -0
  106. package/build/_chunks/{chunk-EGQ7DSVR.js → chunk-ZVUEJBL7.js} +1 -1
  107. package/build/components/AccountDropdown/index.js +1 -1
  108. package/build/components/ActionMenu/index.js +1 -1
  109. package/build/components/ActionsDropdownMenu/index.js +1 -1
  110. package/build/components/ActiveFilterChip/index.js +1 -1
  111. package/build/components/ActivityAreaChart/index.js +1 -1
  112. package/build/components/Amount/index.js +1 -1
  113. package/build/components/AmountConversionFilter/index.js +1 -1
  114. package/build/components/AmountInput/index.js +1 -1
  115. package/build/components/AmountSlider/index.js +1 -1
  116. package/build/components/AmountStatusChip/index.js +1 -1
  117. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  118. package/build/components/AppServices/index.js +1 -1
  119. package/build/components/AppServicesBar/index.js +1 -1
  120. package/build/components/AppWindowWrapper/index.js +1 -1
  121. package/build/components/AuthenticationTypeChip/index.js +1 -1
  122. package/build/components/Autocomplete/index.js +1 -1
  123. package/build/components/BetaBanner/index.js +1 -1
  124. package/build/components/BrandLogo/index.js +1 -1
  125. package/build/components/Button/index.js +1 -1
  126. package/build/components/Calender/index.js +1 -1
  127. package/build/components/CardEmptyState/index.js +1 -1
  128. package/build/components/Chip/index.js +1 -1
  129. package/build/components/ChipStack/index.js +1 -1
  130. package/build/components/CircularProgressWithLabel/index.js +1 -1
  131. package/build/components/Collapse/index.js +1 -1
  132. package/build/components/ColorPicker/index.js +1 -1
  133. package/build/components/ColumnViews/index.js +1 -1
  134. package/build/components/ConfirmDialog/index.js +1 -1
  135. package/build/components/CopyImage/index.js +1 -1
  136. package/build/components/CountryFilter/index.js +1 -1
  137. package/build/components/CountryFlag/index.js +1 -1
  138. package/build/components/CurrencyAmount/index.js +1 -1
  139. package/build/components/CurrencyFilter/index.js +1 -1
  140. package/build/components/CurrencySymbol/index.js +1 -1
  141. package/build/components/CustomBackdrop/index.js +1 -1
  142. package/build/components/Customer/index.js +1 -1
  143. package/build/components/DateFilter/index.js +1 -1
  144. package/build/components/DeviceIcon/index.js +1 -1
  145. package/build/components/Dialog/index.js +1 -1
  146. package/build/components/Discount/index.js +1 -1
  147. package/build/components/DisplayAmount/index.js +1 -1
  148. package/build/components/Dropdown2/index.js +1 -1
  149. package/build/components/DropdownButton/index.js +1 -1
  150. package/build/components/DropdownMenu/index.js +1 -1
  151. package/build/components/Error/index.js +1 -1
  152. package/build/components/ErrorToast/index.js +1 -1
  153. package/build/components/ExpandableSideBar/index.js +1 -1
  154. package/build/components/FieldFeedback/index.js +1 -1
  155. package/build/components/FileInputPreview/index.js +1 -1
  156. package/build/components/FilePreview/index.js +1 -1
  157. package/build/components/FileUpload/index.js +1 -1
  158. package/build/components/FileUploader/index.js +1 -1
  159. package/build/components/FilterDropdown/index.js +1 -1
  160. package/build/components/Filters/index.js +1 -1
  161. package/build/components/FlippingCard/index.js +1 -1
  162. package/build/components/HeatMap/index.js +1 -1
  163. package/build/components/IOSSwitch/index.js +1 -1
  164. package/build/components/Icon/index.js +1 -1
  165. package/build/components/IconWithBadge/index.js +1 -1
  166. package/build/components/Input/index.js +1 -1
  167. package/build/components/InputBase/index.js +1 -1
  168. package/build/components/InputNumber/index.js +1 -1
  169. package/build/components/Inputs/index.js +1 -1
  170. package/build/components/JSONViewer/index.js +1 -1
  171. package/build/components/LanguageDropdown/index.js +1 -1
  172. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  173. package/build/components/ListColumnFilter/index.js +1 -1
  174. package/build/components/ListHeader/index.js +1 -1
  175. package/build/components/ListLayout/index.js +1 -1
  176. package/build/components/Loader/index.js +1 -1
  177. package/build/components/MFWidgetLoader/index.js +1 -1
  178. package/build/components/MaskedText/index.js +1 -1
  179. package/build/components/Menu/index.js +1 -1
  180. package/build/components/MenuItem/index.js +1 -1
  181. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  182. package/build/components/MerchantLogo/index.js +1 -1
  183. package/build/components/MerchantsDropdown/index.js +1 -1
  184. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  185. package/build/components/MultiSelectWithSearch/index.js +1 -1
  186. package/build/components/NestedDropdown/index.js +1 -1
  187. package/build/components/NoInternet/index.js +1 -1
  188. package/build/components/OpenFileInNewTab/index.js +1 -1
  189. package/build/components/PartnersFilter/index.js +1 -1
  190. package/build/components/PaymentSourceFilter/index.js +1 -1
  191. package/build/components/PhoneFilter/index.js +1 -1
  192. package/build/components/ProgressRing/index.js +1 -1
  193. package/build/components/RFH/index.js +1 -1
  194. package/build/components/RadioGroup/index.js +1 -1
  195. package/build/components/RangeCalender/index.js +1 -1
  196. package/build/components/RatingCount/index.js +1 -1
  197. package/build/components/ReceiptsViewer/index.js +1 -1
  198. package/build/components/ReferenceTypeFilter/index.js +1 -1
  199. package/build/components/RemoteFallback/index.js +1 -1
  200. package/build/components/ResizableHeightInput/index.js +1 -1
  201. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  202. package/build/components/SalesChannelFilter/index.js +1 -1
  203. package/build/components/ScrollLoader/index.js +1 -1
  204. package/build/components/SearchButton/index.js +1 -1
  205. package/build/components/SearchListInput/index.js +1 -1
  206. package/build/components/SelectDropdown/index.js +1 -1
  207. package/build/components/SelectWithSearch/index.js +1 -1
  208. package/build/components/Skeleton/index.js +1 -1
  209. package/build/components/Slider/index.js +1 -1
  210. package/build/components/StatusBar/index.js +1 -1
  211. package/build/components/StatusButton/index.js +1 -1
  212. package/build/components/StatusChip/index.js +1 -1
  213. package/build/components/StatusChipWithCopy/index.js +1 -1
  214. package/build/components/StatusFilter/index.js +1 -1
  215. package/build/components/StatusGroupChips/index.js +1 -1
  216. package/build/components/StatusIcons/index.js +1 -1
  217. package/build/components/StatusLabel/index.js +1 -1
  218. package/build/components/TableCells/index.js +1 -1
  219. package/build/components/TableReports/index.js +1 -1
  220. package/build/components/Timepicker/index.js +1 -1
  221. package/build/components/Toaster/index.js +1 -1
  222. package/build/components/ToggleView/index.js +1 -1
  223. package/build/components/Toolbar/index.js +1 -1
  224. package/build/components/ToolbarIcon/index.js +1 -1
  225. package/build/components/TooltipChip/index.js +1 -1
  226. package/build/components/TreeDropdown/index.js +1 -1
  227. package/build/components/VAT/index.js +1 -1
  228. package/build/components/VerificationIcon/index.js +1 -1
  229. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  230. package/build/components/VirtualTables/index.js +1 -1
  231. package/build/components/Widget/index.js +1 -1
  232. package/build/components/Window/index.js +1 -1
  233. package/build/components/WindowAppIcon/index.js +1 -1
  234. package/build/components/WindowBackdrop/index.js +1 -1
  235. package/build/components/WindowSideBar/index.js +1 -1
  236. package/build/components/index.js +1 -1
  237. package/build/components/primitives/Button/constants.d.ts +31 -5
  238. package/build/components/primitives/Button/style.d.ts +3 -0
  239. package/build/components/primitives/Button/type.d.ts +5 -0
  240. package/build/components/primitives/index.js +1 -1
  241. package/build/constants/assets.d.ts +1 -0
  242. package/build/constants/index.js +1 -1
  243. package/build/hooks/index.js +1 -1
  244. package/build/index.js +1 -1
  245. package/build/theme/_v2/blur.d.ts +3 -0
  246. package/build/theme/_v2/elevation.d.ts +2 -0
  247. package/build/theme/_v2/gradients.d.ts +10 -0
  248. package/build/theme/_v2/index.d.ts +6 -0
  249. package/build/theme/_v2/palette.d.ts +3 -0
  250. package/build/theme/_v2/theme.d.ts +3 -0
  251. package/build/theme/_v2/type.d.ts +120 -0
  252. package/build/theme/_v2/utils.d.ts +3 -0
  253. package/build/theme/index.js +1 -1
  254. package/build/theme/theme.d.ts +2 -1
  255. package/build/utils/index.js +1 -1
  256. package/package.json +2 -2
  257. package/build/_chunks/chunk-2B3IVXKZ.js +0 -1
  258. package/build/_chunks/chunk-2SGS6G77.js +0 -2
  259. package/build/_chunks/chunk-6T5KBRSU.js +0 -1
  260. package/build/_chunks/chunk-6ZEXMPHP.js +0 -1
  261. package/build/_chunks/chunk-DYTDDHJN.js +0 -1
  262. package/build/_chunks/chunk-GOYUV7YE.js +0 -1
  263. package/build/_chunks/chunk-P2ESF6CK.js +0 -1
  264. package/build/_chunks/chunk-PAEWONDM.js +0 -2
  265. package/build/_chunks/chunk-PWJAM3H7.js +0 -1
  266. package/build/_chunks/chunk-R3NBSKNX.js +0 -2
  267. package/build/_chunks/chunk-TVAZADLI.js +0 -1
  268. package/build/_chunks/chunk-UKAQCKZ5.js +0 -1
  269. package/build/_chunks/chunk-UKJ66LPD.js +0 -1
@@ -0,0 +1,2 @@
1
+ import {kc,yc,Zb,xa as xa$1,jc,ab}from'./chunk-2CIV4TII.js';import {forwardRef,memo,useId,createElement,useState,useCallback,useMemo,Children,useEffect,useRef}from'react';import Ho from'@mui/material/Box';import Da,{circularProgressClasses}from'@mui/material/CircularProgress';import La from'@mui/material/ButtonBase';import {styled,alpha,useTheme}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import $e from'@mui/material/SvgIcon';import ja from'@mui/material/Checkbox';import Ka from'@mui/material/FormControlLabel';import _a from'@mui/material/Switch';import ts from'@mui/material/Typography';import ls from'@mui/material/Radio';import Ss,{tooltipClasses}from'@mui/material/Tooltip';import Bs from'@mui/material/Skeleton';import Ls from'@mui/material/Avatar';import Es from'@mui/material/Divider';import js from'@mui/material/Collapse';import {createPortal}from'react-dom';import Mn,{SliderThumb}from'@mui/material/Slider';import En from'@mui/material/FormControl';import Wn from'@mui/material/InputLabel';import Hn from'@mui/material/Input';import Un from'@mui/material/InputBase';import qn from'@mui/material/Accordion';import Jn from'@mui/material/AccordionDetails';import Qn from'@mui/material/AccordionSummary';import si from'@mui/material/Popper';import gi from'@mui/material/DialogActions';import Ci from'@mui/material/DialogTitle';import ci from'@mui/material/Dialog';import fi from'@mui/material/DialogContent';import {LazyLoadImage}from'react-lazy-load-image-component';import Gi from'@mui/material/Stack';var $="os-shared-Button",b={root:`${$}-root`,content:`${$}-content`,startIcon:`${$}-startIcon`,endIcon:`${$}-endIcon`,icon:`${$}-icon`,loading:`${$}-loading`,loadingSpinner:`${$}-loadingSpinner`},io={sm:{height:24,paddingY:8,paddingX:16,fontSize:"10px"},md:{height:32,minWidth:79,paddingY:8,paddingX:24,fontSize:"13px",lineHeight:"16px"},lg:{height:40,paddingY:8,paddingX:32,fontSize:"12px"}},po={sm:{width:24,minWidth:24,height:24,padding:0},md:{width:30,minWidth:30,height:30,padding:0},lg:{width:38,minWidth:38,height:38,padding:0}},lo={sm:12,md:12,lg:14},mo=16;var fo=styled(La,{shouldForwardProp:e=>e!=="$variant"&&e!=="$size"&&e!=="$fullWidth"&&e!=="$isLoading"&&e!=="$hasIcon"&&e!=="$isIconOnly"})(({theme:e,$variant:o="primary",$size:t="md",$fullWidth:r,$isLoading:a,$hasIcon:n,$isIconOnly:p})=>{let s=e.v2.palette,{paddingX:l,paddingY:m,...d}=io[t],f=po[t];return {display:"inline-flex",alignItems:"center",justifyContent:"center",gap:e.v2.spacing(6),borderRadius:e.v2.radius(4),lineHeight:"100%",whiteSpace:"nowrap",position:"relative",cursor:a?"not-allowed":"pointer",transition:"background-color 0.15s ease, opacity 0.15s ease",...d,padding:`${e.v2.spacing(m)} ${e.v2.spacing(l)}`,fontWeight:e.typography.fontWeightMedium,...r&&!p&&{width:"100%"},...n&&!r&&!p&&{width:"auto",minWidth:0},...o==="primary"&&{background:s.brand[500],color:s.base.white,"&.Mui-disabled":{opacity:1,background:s.interactive.primary.disabled,color:s.base.white}},...o==="secondary"&&{backgroundColor:s.base.white,color:s.grey[900],border:`1px solid ${s.grey[100]}`,"&.Mui-disabled":{opacity:1,color:s.foreground.disabled}},...o==="ghost"&&{padding:0,minWidth:0,backgroundColor:"transparent",color:s.foreground.brand,"&.Mui-disabled":{opacity:.5}},...o==="danger"&&{backgroundColor:s.status.danger.default,color:s.base.white,"&.Mui-disabled":{opacity:1,backgroundColor:alpha(s.status.danger.default,.14),color:s.base.white}},...p&&{boxSizing:"border-box",...f}}}),G=styled("span")(({theme:e})=>{let o=e.v2.spacing(mo);return {display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,width:o,height:o}});var uo=forwardRef(({children:e,variant:o="primary",size:t="md",isLoading:r=false,startIcon:a,endIcon:n,icon:p,fullWidth:s=false,disabled:l,className:m,sx:d,...f},y)=>{let c=p!=null;return jsxs(fo,{ref:y,className:kc(b.root,m),$variant:o,$size:t,$fullWidth:s,$isLoading:r,$hasIcon:c||!!a||!!n||r,$isIconOnly:c,disabled:l||r,"data-testid":"Button",sx:d,...f,children:[jsx(Ho,{component:"span",className:b.content,sx:{display:"inline-flex",alignItems:"center",gap:"inherit",visibility:r?"hidden":"visible"},children:c?jsx(G,{className:b.icon,children:p}):jsxs(Fragment,{children:[a&&jsx(G,{className:b.startIcon,children:a}),e,n&&jsx(G,{className:b.endIcon,children:n})]})}),r&&jsx(G,{className:b.loading,sx:{position:"absolute"},children:jsx(Da,{className:b.loadingSpinner,size:lo[t],color:"inherit"})})]})});uo.displayName="Button";var xo=memo(uo);var Wa="os-shared-Icon",oe={root:`${Wa}-root`};var go=styled("img")(({theme:e})=>({width:e.spacing(2),height:e.spacing(2),verticalAlign:"middle",flexShrink:0}));var Co=forwardRef(({className:e,sx:o,...t},r)=>jsx(go,{className:kc(oe.root,e),sx:o,"data-testid":"Icon",...t,ref:r}));Co.displayName="Icon";var ho=memo(Co);var Me="os-shared-Checkbox",L={root:`${Me}-root`,control:`${Me}-control`,label:`${Me}-label`};var bo=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsxs($e,{viewBox:"0 0 12 12",sx:{width:11,height:11},...o,children:[e?jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"2.4",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"}):jsx("rect",{width:"12",height:"12",rx:"2.4",fill:t.info.dark}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74206C9.04243 3.9443 9.05652 4.28711 8.86537 4.50775L5.64586 8.22387C5.55146 8.33284 5.41909 8.39627 5.27942 8.39948C5.13975 8.40269 5.0049 8.3454 4.90612 8.24088L3.15002 6.38282C2.94999 6.17118 2.94999 5.82804 3.15002 5.61641C3.35004 5.40477 3.67435 5.40477 3.87437 5.61641L5.2522 7.07424L8.11024 3.77535C8.30138 3.55472 8.62538 3.53981 8.83391 3.74206Z",fill:e?"#D2D5D8":t.common.white})]})},So=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsx($e,{viewBox:"0 0 11 11",sx:{width:11,height:11},...o,children:jsx("rect",{x:"0.6",y:"0.6",width:"9.6",height:"9.6",rx:"1.8",fill:e?"#FAFBFB":t.common.white,stroke:e?"#D2D5D8":t.grey[500],strokeWidth:"1.2"})})},No=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsxs($e,{viewBox:"0 0 12 12",sx:{width:11,height:11},...o,children:[e?jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"2.4",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"}):jsx("rect",{width:"12",height:"12",rx:"2.4",fill:t.info.dark}),jsx("rect",{x:"3",y:"5.4",width:"6",height:"1.2",rx:"0.5",fill:e?"#D2D5D8":"#FAFBFB"})]})};var wo=styled(ja)(({theme:e})=>({padding:e.spacing(.5),"&:hover":{backgroundColor:"transparent"}})),Bo=styled(Ka)(({theme:e})=>({marginLeft:0,gap:e.spacing(.5),"& .MuiFormControlLabel-label":{fontSize:"11px",color:e.palette.text.primary},"& .MuiFormControlLabel-label.Mui-disabled":{color:e.palette.grey[700]}}));var vo=forwardRef(({label:e,labelPlacement:o="end",disabled:t,sx:r,className:a,...n},p)=>{let s=yc(useId(),"checkbox"),l=jsx(wo,{id:s,ref:p,disableRipple:true,disabled:t,checkedIcon:jsx(bo,{disabled:t}),icon:jsx(So,{disabled:t}),indeterminateIcon:jsx(No,{disabled:t}),"data-testid":"Checkbox",className:kc(e?L.control:L.root,e?void 0:a),sx:e?void 0:r,...n});return e?jsx(Bo,{className:kc(L.root,a),sx:r,control:l,label:e,labelPlacement:o,disabled:t,componentsProps:{typography:{className:L.label}}}):l});vo.displayName="Checkbox";var Po=memo(vo);var Ya="os-shared-Switch",te={root:`${Ya}-root`};var To=styled(_a)(({theme:e})=>({width:32.903,height:20,borderRadius:"13px",padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(13px)",color:e.palette.common.white,"& + .MuiSwitch-track":{backgroundColor:e.palette.mode==="dark"?"#2ECA45":"#34C759",opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid",borderColor:e.palette.common.white},"&.Mui-disabled .MuiSwitch-thumb":{color:e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:e.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:16,height:16,filter:"drop-shadow(0px 1.9354851245880127px 0.6451616883277893px rgba(0, 0, 0, 0.06)) drop-shadow(0px 1.9354851245880127px 5.1612935066223145px rgba(0, 0, 0, 0.15))"},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:e.palette.mode==="light"?"#E9E9EA":"#39393D",opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}}));var Mo=forwardRef(({className:e,sx:o,...t},r)=>jsx(To,{ref:r,className:kc(te.root,e),sx:o,"data-testid":"Switch",focusVisibleClassName:".Mui-focusVisible",disableRipple:true,...t}));Mo.displayName="Switch";var $o=memo(Mo);var os="os-shared-Typography",re={root:`${os}-root`};var Lo=styled(ts)(({theme:e})=>({color:e.palette.text.primary}));var Fo=forwardRef(({variant:e="body1",weight:o,isTruncated:t=false,isUppercase:r=false,className:a,sx:n,...p},s)=>{let l=useTheme(),m={regular:l.typography.fontWeightRegular,medium:l.typography.fontWeightMedium,semibold:l.typography.fontWeightBold,bold:l.typography.fontWeightBolder??700},d=o!==void 0?typeof o=="number"?o:m[o]:void 0,f=Array.isArray(n)?n:[n];return jsx(Lo,{ref:s,className:kc(re.root,a),variant:e,sx:[d!==void 0&&{fontWeight:d},t&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r&&{textTransform:"uppercase"},...f],"data-testid":"Typography",...p})});Fo.displayName="Typography";var zo=memo(Fo);var ps="os-shared-RadioButton",ae={root:`${ps}-root`},Ro={sm:{iconSize:15,maxWidth:"24px",muiSize:"small"},md:{iconSize:18,maxWidth:"28px",muiSize:"medium"},lg:{iconSize:20,maxWidth:"32px",muiSize:"medium"}};var ze=styled("span")({display:"flex",alignItems:"center",justifyContent:"center"}),Re=styled("span",{shouldForwardProp:e=>e!=="$checked"&&e!=="$disabled"})(({theme:e,$checked:o=false,$disabled:t=false})=>({borderRadius:"50%","--icon-size":"11px",width:"var(--icon-size)",height:"var(--icon-size)",display:"block",boxSizing:"border-box",...o?{backgroundColor:t?"#BDC1CC":e.palette.info.dark,...!t&&{boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)"},"&::before":{display:"block",width:"var(--icon-size)",height:"var(--icon-size)",backgroundColor:t?"#BDC1CC":e.palette.info.dark,borderRadius:"50%",backgroundImage:`radial-gradient(${e.palette.common.white},${e.palette.common.white} 28%,transparent 32%)`,content:'""'}}:{border:`1px solid ${t?e.palette.grey[800]:e.palette.grey[700]}`,...t&&{backgroundColor:e.palette.grey[400]}}})),Ao=styled(ls,{shouldForwardProp:e=>e!=="$iconSize"&&e!=="$checkedColor"&&e!=="$disabledColor"&&e!=="$hoverColor"&&e!=="$maxWidth"})(({theme:e,$iconSize:o,$checkedColor:t,$disabledColor:r,$hoverColor:a,$maxWidth:n})=>({"& .MuiSvgIcon-root":{fontSize:o},maxWidth:n,cursor:"pointer",color:e.palette.grey[500],"&.Mui-checked":{color:t??e.palette.info.dark},...a&&{"&:hover":{backgroundColor:"transparent",color:a}},"&.Mui-disabled":{color:r??"#C7C7CC"}}));function Do(e="sm"){return Ro[e]}var Eo=forwardRef(({size:e="sm",checkedIcon:o,checkedColor:t,disabledColor:r,hoverColor:a,iconSize:n,className:p,sx:s,disableRipple:l=true,icon:m,disabled:d,...f},y)=>{let c=Do(e);return jsx(Ao,{ref:y,className:kc(ae.root,p),"data-testid":"RadioButton",size:c.muiSize,disableRipple:l,disabled:d,icon:m??jsx(ze,{children:jsx(Re,{$checked:false,$disabled:d})}),checkedIcon:o??jsx(ze,{children:jsx(Re,{$checked:true,$disabled:d})}),$iconSize:n??c.iconSize,$checkedColor:t,$disabledColor:r,$hoverColor:a,$maxWidth:c.maxWidth,sx:s,...f})});Eo.displayName="RadioButton";var Wo=memo(Eo);var se="os-shared-CircularProgress",F={root:`${se}-root`,progress:`${se}-progress`,labelOverlay:`${se}-labelOverlay`,labelText:`${se}-labelText`};var Vo=styled(Da)(({theme:e})=>({color:e.palette.common.blue??"#147DC5",background:alpha(e.palette.info.dark,.05),borderRadius:"50%",[`& .${circularProgressClasses.circle}`]:{strokeLinecap:"round"}})),Oo=styled(Ho)(()=>({position:"relative",display:"inline-flex"})),Zo=styled(Ho)(()=>({top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"})),jo=styled(ts)(({theme:e})=>({fontSize:e.typography.fontSize,fontWeight:e.typography.fontWeightBolder??700,color:"#3B4152"}));var Ko=forwardRef(({variant:e="indeterminate",hasLabel:o=true,value:t,className:r,sx:a,...n},p)=>{let s=e==="determinate"&&o;return jsxs(Oo,{className:kc(F.root,r),sx:a,"data-testid":"CircularProgress",children:[jsx(Vo,{ref:p,variant:e,value:t,className:F.progress,...n}),s&&jsx(Zo,{className:F.labelOverlay,children:jsx(jo,{className:F.labelText,variant:"caption",color:"text.secondary",children:`${Math.round(t??0)}%`})})]})});Ko.displayName="CircularProgress";var Uo=memo(Ko);var hs="os-shared-Tooltip",ie={wrapper:`${hs}-wrapper`};var Yo=styled(({className:e,...o})=>createElement(Ss,{...o,classes:{popper:e}}))(({theme:e})=>({zIndex:999999,[`& .${tooltipClasses.arrow}`]:{"&:before":{border:`0.97px solid ${alpha(e.palette.text.primary,.13)}`},color:e.palette.common.white},[`& .${tooltipClasses.tooltip}`]:{backgroundColor:e.palette.common.white,color:e.palette.text.secondary,boxShadow:e.shadows[1],fontSize:12,border:`0.97px solid ${alpha(e.palette.text.primary,.13)}`,marginBottom:"7px !important"}}));function qo({className:e,title:o,placement:t="top",children:r,wrapperProps:a,sx:n,...p}){return jsx(Yo,{className:e,title:o,placement:t,arrow:true,sx:n,...p,children:jsx(Ho,{display:"flex",alignItems:"center",className:ie.wrapper,...a,children:r})})}qo.displayName="Tooltip";var Jo=memo(qo);var ws="os-shared-Skeleton",pe={root:`${ws}-root`},Qo="rounded",et=16;var ot=styled(Bs)(()=>({}));var tt=forwardRef(({className:e,sx:o,variant:t=Qo,height:r=et,...a},n)=>jsx(ot,{ref:n,className:kc(pe.root,e),sx:o,"data-testid":"Skeleton",variant:t,height:r,...a}));tt.displayName="Skeleton";var rt=memo(tt);var $s="os-shared-Avatar",le={root:`${$s}-root`},at={xs:{dimension:20,fontSize:"9px"},sm:{dimension:28,fontSize:"11px"},md:{dimension:36,fontSize:"14px"},lg:{dimension:48,fontSize:"18px"},xl:{dimension:64,fontSize:"24px"}};var st=styled(Ls,{shouldForwardProp:e=>e!=="$size"})(({theme:e,$size:o="md"})=>{let{dimension:t,fontSize:r}=at[o];return {width:t,height:t,fontSize:r,fontWeight:e.typography.fontWeightBold,backgroundColor:e.palette.info.dark,color:e.palette.common.white}});var nt=forwardRef(({className:e,sx:o,size:t="md",shape:r="circular",...a},n)=>jsx(st,{ref:n,className:kc(le.root,e),sx:o,"data-testid":"Avatar",$size:t,variant:r,...a}));nt.displayName="Avatar";var it=memo(nt);var Ds="os-shared-Divider",de={root:`${Ds}-root`};var pt=styled(Es)(()=>({}));var lt=forwardRef(({className:e,sx:o,orientation:t="horizontal",...r},a)=>jsx(pt,{ref:a,className:kc(de.root,e),sx:o,"data-testid":"Divider",orientation:t,...r}));lt.displayName="Divider";var dt=memo(lt);var Zs="os-shared-Collapse",me={root:`${Zs}-root`},mt=true,ct=300;var ft=styled(js)(()=>({}));var yt=forwardRef(({className:e,sx:o,children:t,unmountOnExit:r=mt,timeout:a=ct,...n},p)=>jsx(ft,{ref:p,className:kc(me.root,e),sx:o,"data-testid":"Collapse",unmountOnExit:r,timeout:a,...n,children:t}));yt.displayName="Collapse";var ut=memo(yt);var Ys="os-shared-Badge",ce={root:`${Ys}-root`},xt={primary:"#1976d2",secondary:"#f50057",neutral:"#656565",gray:"#CFCFCF",orange:"#FFD503"},gt=["primary","secondary","neutral","dark"];var Js={default:e=>e.palette.info.main,inactive:e=>e.palette.grey[100],active:e=>alpha(e.palette.text.primary,.1),dark:e=>e.palette.info.dark,red:e=>e.palette.error.light},Qs={default:e=>e.palette.common.white,inactive:e=>e.palette.text.primary,active:e=>e.palette.common.white,dark:e=>e.palette.common.white};function en(e,o){let t=xt[e];return t||(Js[e]?.(o)??o.palette.common.white)}function on(e,o){return gt.includes(e)?o.palette.common.white:Qs[e]?.(o)??o.palette.common.white}var Ct=styled("span",{shouldForwardProp:e=>!["$color","$compact","$round","$pointer"].includes(e)})(({theme:e,$color:o="default",$compact:t,$round:r,$pointer:a})=>({paddingLeft:t?"0.16056rem":r?"0.275rem":"8px",paddingRight:t?"0.16056rem":r?"0.275rem":"8px",borderRadius:t?e.spacing(.5):e.spacing(2),backgroundColor:en(o,e),color:on(o,e),fontSize:"0.6rem",fontWeight:e.typography.fontWeightBold,overflow:"hidden",height:t?"12px":"16px",display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:a?"pointer":"auto"}));var ht=forwardRef(({className:e,sx:o,color:t="default",compact:r,round:a,pointer:n,children:p,...s},l)=>jsx(Ct,{ref:l,className:kc(ce.root,e),sx:o,"data-testid":"Badge",$color:t,$compact:r,$round:a,$pointer:n,...s,children:p}));ht.displayName="Badge";var bt=memo(ht);var sn="os-shared-Backdrop",fe={root:`${sn}-root`};var St=styled(Ho)(({theme:e})=>({position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:999,backgroundColor:alpha(e.palette.common.black,.3)}));var Nt=forwardRef(({className:e,sx:o,open:t=true,onClose:r,onClick:a,...n},p)=>{if(!t)return null;let s=l=>{r?.(),a?.(l);};return createPortal(jsx(St,{ref:p,className:kc(fe.root,e),sx:o,"data-testid":"Backdrop",onClick:s,...n}),document.body)});Nt.displayName="Backdrop";var kt=memo(Nt);var ye="os-shared-CopyButton",B={root:`${ye}-root`,icon:`${ye}-icon`,copyIcon:`${ye}-copyIcon`,copiedIcon:`${ye}-copiedIcon`},It=2e3,wt=200;var Pt=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{height:12.6,width:13},...e,children:jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"13",viewBox:"2.67 1.67 10.66 12.66",fill:"none",children:jsx("path",{d:"M11.3333 13.6978L11.3332 13.6979C11.1002 14.0479 10.7072 14.2582 10.2863 14.2582H5.83317C4.12559 14.2582 2.7415 12.8741 2.7415 11.1665V4.71338C2.7415 4.29279 2.95172 3.89983 3.30186 3.66641L3.5915 3.47331V11.1665C3.5915 12.4046 4.59508 13.4082 5.83317 13.4082H11.5264L11.3333 13.6978ZM4.40817 3.49984C4.40817 2.53467 5.20133 1.7415 6.1665 1.7415H11.4998C12.465 1.7415 13.2582 2.53467 13.2582 3.49984V10.8332C13.2582 11.7983 12.465 12.5915 11.4998 12.5915H6.1665C5.20133 12.5915 4.40817 11.7983 4.40817 10.8332V3.49984ZM11.4998 2.5915H6.1665C5.65901 2.5915 5.25817 2.99234 5.25817 3.49984V10.8332C5.25817 11.3407 5.65901 11.7415 6.1665 11.7415H11.4998C12.0073 11.7415 12.4082 11.3407 12.4082 10.8332V3.49984C12.4082 2.99234 12.0073 2.5915 11.4998 2.5915Z",fill:o.text.primary,stroke:o.common.white,strokeWidth:"0.15"})})})},Tt=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{height:12.6,width:13},...e,children:jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"2 2 12.33 12.33",fill:"none",children:[jsx("path",{d:"M8.16646 2.00146C11.5718 2.00146 14.3315 4.76114 14.3315 8.16646C14.3315 11.5718 11.5718 14.3315 8.16646 14.3315C4.76114 14.3315 2.00146 11.5718 2.00146 8.16646C2.00146 4.76114 4.76114 2.00146 8.16646 2.00146Z",fill:o.success.main}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.984 5.89153C11.2107 6.10097 11.2247 6.45454 11.0152 6.68124L7.57351 10.4067C7.46772 10.5212 7.31891 10.5863 7.16302 10.5863C7.00713 10.5863 6.85832 10.5212 6.75253 10.4067L5.03167 8.54397C4.82222 8.31726 4.83622 7.9637 5.06293 7.75425C5.28963 7.54481 5.6432 7.55881 5.85264 7.78552L7.16302 9.20392L10.1943 5.92279C10.4037 5.69608 10.7573 5.68209 10.984 5.89153Z",fill:o.common.white})]})})};var $t=styled("span")({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,flexShrink:0,cursor:"pointer",verticalAlign:"middle"}),De=styled("span",{shouldForwardProp:e=>e!=="$visible"})(({$visible:e})=>({position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",opacity:e?1:0,transition:`opacity ${wt}ms ease`}));var Lt=forwardRef(({className:e,sx:o,text:t,feedbackMs:r=It,onClick:a,...n},p)=>{let[s,l]=useState(false),m=d=>{d.stopPropagation(),ab(t),l(true),setTimeout(()=>l(false),r),a?.(d);};return jsxs($t,{ref:p,className:kc(B.root,e),sx:o,role:"button",tabIndex:0,"data-testid":"CopyButton",onClick:m,...n,children:[jsx(De,{className:kc(B.icon,B.copyIcon),$visible:!s,children:jsx(Pt,{})}),jsx(De,{className:kc(B.icon,B.copiedIcon),$visible:s,children:jsx(Tt,{})})]})});Lt.displayName="CopyButton";var Ft=memo(Lt);var Ee="os-shared-ProgressBar",V={root:`${Ee}-root`,fill:`${Ee}-fill`,text:`${Ee}-text`};var Rt=styled(Ho,{shouldForwardProp:e=>!["$value","$isDecimal"].includes(e)})(({theme:e,$value:o,$isDecimal:t})=>({width:`${o}%`,minWidth:o>=10?"28px":"24px",height:"18px",borderRadius:"50px",background:e.palette.background.gradient?.darkShadedBlue??"linear-gradient(256deg, #147DC5 0%, #3DA6E1 100%)",display:"flex",alignItems:"center",justifyContent:o>10?"flex-end":"center",paddingInlineEnd:o>10?"2px":"0px",...o===0&&{background:alpha(e.palette.text.primary,26/255)},...t&&{minWidth:o>=10?"40px":"36px"}})),At=styled(Ho,{shouldForwardProp:e=>e!=="$value"})(({theme:e,$value:o})=>({height:"14px",maxWidth:"36px",minWidth:"20px",background:alpha(e.palette.text.primary,26/255),borderRadius:"50px",display:"flex",alignItems:"center",justifyContent:"center",padding:0,...o===0&&{background:alpha(e.palette.text.primary,0)}})),Dt=styled(ts,{shouldForwardProp:e=>e!=="$value"})(({theme:e,$value:o})=>({fontSize:"8px",fontWeight:e.typography.fontWeightBolder??700,color:e.palette.common.white,padding:"2px 4px",...o===0&&{color:alpha(e.palette.grey.A100,.5)}}));var Wt=forwardRef(({className:e,sx:o,value:t},r)=>{let a=!Number.isInteger(t);return jsx(Rt,{ref:r,className:kc(V.root,e),sx:o,"data-testid":"ProgressBar",$value:t,$isDecimal:a,children:jsx(At,{className:V.fill,$value:t,children:jsxs(Dt,{className:V.text,$value:t,variant:"caption",children:[Number(t.toFixed(2)),"%"]})})})});Wt.displayName="ProgressBar";var Ht=memo(Wt);var ge="os-shared-Chip",v={root:`${ge}-root`,text:`${ge}-text`,copyButton:`${ge}-copyButton`,icon:`${ge}-icon`},Vt=2e3,He=150;var jt=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{height:"10px"},...e,children:jsx("svg",{width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M0.924805 9.5C0.924805 10.7381 1.9289 11.7412 3.16699 11.7412H8.86035L8.66699 12.0312C8.43398 12.3812 8.04094 12.5917 7.62012 12.5918H3.16699C1.45941 12.5918 0.0751953 11.2076 0.0751953 9.5V3.04688C0.0751953 2.62628 0.28561 2.23342 0.635742 2L0.924805 1.80664V9.5ZM3.5 0.0751953H8.83301C9.79807 0.0751953 10.5916 0.867985 10.5918 1.83301V9.16699C10.5916 10.132 9.79807 10.9248 8.83301 10.9248H3.5C2.53494 10.9248 1.74139 10.132 1.74121 9.16699V1.83301C1.74139 0.867985 2.53494 0.0751953 3.5 0.0751953ZM3.5 0.924805C2.99261 0.924805 2.59197 1.32567 2.5918 1.83301V9.16699C2.59197 9.67433 2.99261 10.0752 3.5 10.0752H8.83301C9.3404 10.0752 9.74104 9.67433 9.74121 9.16699V1.83301C9.74104 1.32567 9.3404 0.924805 8.83301 0.924805H3.5Z",fill:o.text.primary,stroke:o.common.white,strokeWidth:"0.15"})})})},Kt=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{height:"10px"},...e,children:jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"2 2 12.33 12.33",fill:"none",children:[jsx("path",{d:"M8.16646 2.00146C11.5718 2.00146 14.3315 4.76114 14.3315 8.16646C14.3315 11.5718 11.5718 14.3315 8.16646 14.3315C4.76114 14.3315 2.00146 11.5718 2.00146 8.16646C2.00146 4.76114 4.76114 2.00146 8.16646 2.00146Z",fill:o.success.main}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.984 5.89153C11.2107 6.10097 11.2247 6.45454 11.0152 6.68124L7.57351 10.4067C7.46772 10.5212 7.31891 10.5863 7.16302 10.5863C7.00713 10.5863 6.85832 10.5212 6.75253 10.4067L5.03167 8.54397C4.82222 8.31726 4.83622 7.9637 5.06293 7.75425C5.28963 7.54481 5.6432 7.55881 5.85264 7.78552L7.16302 9.20392L10.1943 5.92279C10.4037 5.69608 10.7573 5.68209 10.984 5.89153Z",fill:o.common.white})]})})};var he=styled(Ho,{shouldForwardProp:e=>!["$variant","$hasIcon","$isSelected","$disableAnimation"].includes(e)})(({theme:e,$variant:o="text",$hasIcon:t,$isSelected:r,$disableAnimation:a})=>({display:"inline-flex",alignItems:"center",justifyContent:t?"flex-start":"center",gap:t?e.spacing(1):void 0,lineHeight:"normal",borderRadius:"30px",whiteSpace:"nowrap",boxSizing:"border-box",border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.background.paper,...o==="text"&&{padding:`${e.spacing(.75)} ${e.spacing(1)}`,minHeight:"30px"},...o==="circular"&&{minHeight:24,minWidth:24,padding:e.spacing(.5),aspectRatio:"1 / 1"},...o==="pill-icon"&&{minHeight:24,minWidth:36,padding:`${e.spacing(.25)} ${e.spacing(.75)}`},...r&&{boxShadow:`${e.palette.common.white} 7px 0px 8px 2px`},...a&&{transition:"none !important",animation:"none !important",transform:"none !important","& *":{transition:"none !important",animation:"none !important",transform:"none !important"}}})),Ve=styled(Ho)({textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:"1 1 auto"}),Gt=styled("span",{shouldForwardProp:e=>e!=="$copied"})(({$copied:e})=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:12,height:12,flexShrink:0,cursor:"pointer",opacity:e?1:.6,transition:`opacity ${He}ms ease`,"&:hover":{opacity:1}})),Oe=styled("span",{shouldForwardProp:e=>e!=="$visible"})(({$visible:e})=>({position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",opacity:e?1:0,transition:`opacity ${He}ms ease`}));var Xt=forwardRef(({className:e,sx:o,children:t,icon:r,variant:a="text",disabled:n=false,isSelected:p=false,copyText:s,unknownText:l="Unknown",disableAnimation:m=false,...d},f)=>{let[y,c]=useState(false),g=x=>{x.stopPropagation(),s&&(ab(s),c(true),setTimeout(()=>c(false),Vt));},C={$variant:a,$hasIcon:r!=null,$isSelected:p,$disableAnimation:m},u=kc(v.root,e,`CustomVariant_${a}`),k=[n?{cursor:"not-allowed",opacity:.5}:{},...Array.isArray(o)?o:o?[o]:[]];return t?s?jsxs(he,{ref:f,className:u,sx:[{gap:"4px"},...k],"data-testid":"Chip",...C,...d,children:[jsx(Ve,{className:v.text,"data-is-arabic":typeof t=="string"&&Zb(t),children:t}),jsxs(Gt,{className:v.copyButton,role:"button",tabIndex:0,"aria-label":y?"copied":"copy","data-testid":"ChipCopyButton",$copied:y,onClick:g,children:[jsx(Oe,{$visible:!y,children:jsx(jt,{})}),jsx(Oe,{$visible:y,children:jsx(Kt,{})})]})]}):jsxs(he,{ref:f,className:u,sx:k,"data-testid":"Chip",...C,...d,children:[r!=null&&jsx("span",{className:v.icon,children:r}),jsx(Ve,{className:v.text,children:t})]}):jsx(he,{className:u,sx:k,"data-testid":"Chip",...C,...d,children:l})});Xt.displayName="Chip";var Yt=memo(Xt);var je="os-shared-Slider",T={root:`${je}-root`,thumb:`${je}-thumb`,thumbIcon:`${je}-thumbIcon`},Ke=["0px 0px 1.25px 0px rgba(0, 0, 0, 0.1)","0px 1.25px 1.25px 0px rgba(0, 0, 0, 0.09)","0px 3.75px 2.5px 0px rgba(0, 0, 0, 0.05)","0px 7.5px 2.5px 0px rgba(0, 0, 0, 0.01)","0px 11.25px 3.75px 0px rgba(0, 0, 0, 0)"].join(", ");var _t=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{width:"5px",height:"8px",pointerEvents:"none"},...e,children:jsxs("svg",{width:"5",height:"8",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("path",{d:"M0.459961 0.460449L0.459961 6.59897",stroke:o.grey[700],strokeWidth:"0.920779",strokeLinecap:"round"}),jsx("path",{d:"M2.44531 0.460388L2.44531 6.59891",stroke:o.grey[700],strokeWidth:"0.920779",strokeLinecap:"round"}),jsx("path",{d:"M4.4375 0.460388L4.4375 6.59891",stroke:o.grey[700],strokeWidth:"0.920779",strokeLinecap:"round"})]})})};var qt=styled(Mn)(({theme:e})=>({color:e.palette.info.dark,height:8,padding:0,"& .MuiSlider-rail":{backgroundColor:"#CFCFCF",opacity:1,left:0},"& .MuiSlider-thumb":{height:20,width:20,backgroundColor:e.palette.common.white,border:"none",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:Ke,"&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:Ke}},[`& .${T.thumbIcon}`]:{width:"5px",height:"8px",pointerEvents:"none"}}));function An({children:e,className:o,...t}){return jsxs(SliderThumb,{className:kc(T.thumb,o),...t,children:[e,jsx(_t,{className:T.thumbIcon})]})}var Jt=forwardRef(({className:e,sx:o,value:t,min:r,max:a,step:n,disabled:p,onChange:s,slots:l,...m},d)=>{let f=useCallback((y,c)=>{s(c);},[s]);return jsx(qt,{ref:d,className:kc(T.root,e),sx:o,"data-testid":"Slider",value:t,min:r,max:a,step:n,disabled:p,onChange:f,...m,slots:{thumb:An,...l}})});Jt.displayName="Slider";var Qt=memo(Jt);var Ue="os-shared-Input",Z={root:`${Ue}-root`,label:`${Ue}-label`,input:`${Ue}-input`},or={sm:28,md:32,labelled:40},tr=["e","E","+","-"],rr=/^[0-9.]$/,ar=xa$1();var sr=(e,o)=>or[e?"labelled":o],nr=styled(Hn,{shouldForwardProp:e=>!["$hasLabel","$hideArrows","$size"].includes(e)})(({theme:e,$hasLabel:o=false,$hideArrows:t=false,$size:r="md"})=>({height:sr(o,r),padding:o?"8px":"0 8px",border:"none",borderRadius:"inherit",fontSize:"11px",fontWeight:e.typography.fontWeightMedium,color:e.palette.text.primary,backgroundColor:"transparent",display:"flex",alignItems:o?"stretch":"center","&.Mui-disabled":{color:e.palette.grey[700]},"& input":{paddingTop:"4px",paddingBottom:"4px"},"& input::placeholder":{color:e.palette.grey[700],fontWeight:e.typography.fontWeightRegular,opacity:o?0:1,...o&&{transition:"opacity 0.2s ease"}},"& input:-webkit-autofill, & input:-webkit-autofill:hover, & input:-webkit-autofill:focus":{WebkitTextFillColor:e.palette.text.primary,caretColor:e.palette.text.primary,transition:"background-color 5000s ease-in-out 0s"},"&::before, &::after":{display:"none"},...o&&{marginTop:0,"& input":{margin:"0px !important",padding:"0px !important",paddingTop:"10px !important",lineHeight:"130%"},"& input:focus::placeholder":{opacity:"1 !important"}},...t&&{"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}}})),ir=styled(Wn)(({theme:e})=>({fontSize:"11px",color:`${e.palette.grey[700]} !important`})),pr=styled(En,{shouldForwardProp:e=>!["$hasLabel","$size"].includes(e)})(({theme:e,disabled:o,error:t,fullWidth:r,$hasLabel:a=false,$size:n="md"})=>({position:"relative",display:"flex",flexDirection:"column",width:r?"100%":"auto",height:sr(a,n),margin:0,border:`1px solid ${t?e.palette.error.main:e.palette.divider}`,borderRadius:"4px",backgroundColor:o?e.palette.grey[100]:e.palette.common.white,transition:"border-color 0.15s ease","&:focus-within":{borderColor:t?e.palette.error.main:e.palette.grey[400]},"& .MuiFormLabel-asterisk":{color:e.palette.error.light},"& .MuiInputLabel-root":{position:"absolute",left:0,top:0,zIndex:1,pointerEvents:"none",padding:"8px",fontSize:"10px",fontWeight:e.typography.fontWeightMedium,lineHeight:"100%",transform:"translate(0, 6px) scale(1) !important",transformOrigin:"top left"},"& .MuiInputLabel-root.MuiInputLabel-shrink, & .MuiInputLabel-root.MuiFormLabel-filled, & .MuiInputLabel-root.Mui-focused":{transform:"translate(0, -1.5px) scale(0.75) !important",color:`${e.palette.grey[700]} !important`},"& .MuiInput-root":{flex:1,marginTop:"0 !important"}}));var dr=forwardRef(({label:e,size:o="md",error:t=false,disabled:r=false,fullWidth:a=false,placeholder:n,hideArrows:p=false,type:s,id:l,className:m,sx:d,onKeyDown:f,onWheel:y,...c},g)=>{let C=!!e,u=s==="number",N=x=>{let E=x.metaKey||x.ctrlKey||x.altKey,Te=x.key.length===1;(tr.includes(x.key)||ar&&Te&&!E&&!rr.test(x.key))&&x.preventDefault(),f?.(x);},k=x=>{x.target instanceof HTMLElement&&x.target.blur(),y?.(x);};return jsxs(pr,{className:kc(Z.root,m),sx:d,error:t,disabled:r,fullWidth:a,"data-testid":"Input",$hasLabel:C,$size:o,children:[C&&jsx(ir,{className:Z.label,htmlFor:l,children:e}),jsx(nr,{id:l,inputRef:g,className:Z.input,type:s,error:t,disabled:r,placeholder:n??void 0,"aria-invalid":t||void 0,disableUnderline:true,fullWidth:true,$hasLabel:C,$hideArrows:p,$size:o,onKeyDown:u?N:f,onWheel:u?k:y,...c})]})});dr.displayName="Input";var mr=memo(dr);var Xe="os-shared-Textarea",j={root:`${Xe}-root`,label:`${Xe}-label`,textarea:`${Xe}-textarea`},Ye=20;var cr=styled(Un,{shouldForwardProp:e=>!["$error","$hasLabel","$minRows"].includes(e)})(({theme:e,$hasLabel:o=false,$minRows:t=3})=>({border:"none",borderRadius:"inherit",padding:o?"8px":"8px 12px",fontSize:"11px",fontWeight:e.typography.fontWeightMedium,lineHeight:1.5,color:e.palette.text.primary,backgroundColor:"transparent",alignItems:"flex-start",width:"100%","&.Mui-disabled":{color:e.palette.grey[700]},"& textarea":{resize:"vertical",minHeight:`${Math.max(t*Ye,60)}px`,padding:0},"& textarea::placeholder":{color:e.palette.grey[700],fontWeight:e.typography.fontWeightRegular,opacity:o?0:1,...o&&{transition:"opacity 0.2s ease"}},"& textarea:-webkit-autofill, & textarea:-webkit-autofill:hover, & textarea:-webkit-autofill:focus":{WebkitTextFillColor:e.palette.text.primary,caretColor:e.palette.text.primary,transition:"background-color 5000s ease-in-out 0s"},"&::before, &::after":{display:"none"},...o&&{marginTop:0,"& textarea":{margin:"0px !important",padding:"0px !important",paddingTop:"10px !important",lineHeight:"130%"},"& textarea:focus::placeholder":{opacity:"1 !important"}}})),fr=styled(Wn)(({theme:e})=>({fontSize:"11px",color:`${e.palette.grey[700]} !important`})),yr=styled(En,{shouldForwardProp:e=>!["$hasLabel","$minRows"].includes(e)})(({theme:e,disabled:o,error:t,fullWidth:r,$hasLabel:a=false,$minRows:n=3})=>({position:"relative",display:"flex",flexDirection:"column",width:r?"100%":"auto",minHeight:a?40+n*Ye:void 0,margin:0,border:`1px solid ${t?e.palette.error.main:e.palette.divider}`,borderRadius:"4px",backgroundColor:o?e.palette.grey[100]:e.palette.common.white,transition:"border-color 0.15s ease","&:focus-within":{borderColor:t?e.palette.error.main:e.palette.grey[400]},"& .MuiFormLabel-asterisk":{color:e.palette.error.light},"& .MuiInputLabel-root":{position:"absolute",left:0,top:0,zIndex:1,pointerEvents:"none",padding:"8px",fontSize:"10px",fontWeight:e.typography.fontWeightMedium,lineHeight:"100%",transform:"translate(0, 6px) scale(1) !important",transformOrigin:"top left"},"& .MuiInputLabel-root.MuiInputLabel-shrink, & .MuiInputLabel-root.MuiFormLabel-filled, & .MuiInputLabel-root.Mui-focused":{transform:"translate(0, -1.5px) scale(0.75) !important",color:`${e.palette.grey[700]} !important`},"& .MuiInputBase-root":{flex:1,marginTop:"0 !important"}}));var xr=forwardRef(({label:e,error:o=false,disabled:t=false,fullWidth:r=false,placeholder:a,minRows:n=3,maxRows:p,id:s,className:l,sx:m,...d},f)=>{let y=!!e;return jsxs(yr,{className:kc(j.root,l),sx:m,error:o,disabled:t,fullWidth:r,"data-testid":"Textarea",$hasLabel:y,$minRows:n,children:[y&&jsx(fr,{className:j.label,htmlFor:s,children:e}),jsx(cr,{id:s,inputRef:f,className:j.textarea,multiline:true,minRows:n,maxRows:p,disabled:t,placeholder:a??void 0,"aria-invalid":o||void 0,fullWidth:true,$error:o,$hasLabel:y,$minRows:n,...d})]})});xr.displayName="Textarea";var gr=memo(xr);var z="os-shared-Accordion",S={root:`${z}-root`,summary:`${z}-summary`,content:`${z}-content`,labelStartAdornment:`${z}-labelStartAdornment`,labelContent:`${z}-labelContent`,labelEndAdornment:`${z}-labelEndAdornment`,expandIcon:`${z}-expandIcon`};var hr=()=>{let{palette:e}=useTheme();return jsx("svg",{width:"9",height:"5",viewBox:"0 0 9 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M0.0501709 0.427246C0.0493864 0.478467 0.0592757 0.529176 0.0784912 0.57666C0.0976579 0.623937 0.125505 0.667471 0.161499 0.703613L3.82556 4.47803C3.86116 4.51465 3.90353 4.54403 3.95056 4.56396C3.99773 4.58391 4.04876 4.59422 4.09998 4.59424C4.15123 4.59424 4.20218 4.58392 4.24939 4.56396C4.29655 4.54401 4.33969 4.51476 4.37537 4.47803L8.03845 0.703613C8.07407 0.667816 8.10232 0.625348 8.12146 0.578613C8.14069 0.531638 8.15017 0.480932 8.14978 0.430176C8.14935 0.379519 8.13942 0.329298 8.11951 0.282715C8.09956 0.236042 8.06999 0.19405 8.03357 0.158691C7.99716 0.123349 7.95384 0.0952198 7.90662 0.0766602C7.8595 0.0582058 7.80878 0.0491929 7.75818 0.050293C7.70763 0.0514427 7.65792 0.0629948 7.61169 0.0834961C7.56537 0.104067 7.52346 0.13358 7.48865 0.17041L4.09998 3.65967L0.711304 0.17041C0.65912 0.115154 0.592066 0.0759001 0.517944 0.059082C0.443585 0.0422622 0.365385 0.0481013 0.294312 0.0756836C0.22324 0.103266 0.162075 0.15178 0.11853 0.214355C0.0750125 0.276905 0.05135 0.351058 0.0501709 0.427246Z",fill:e.text.primary,stroke:e.text.primary,strokeWidth:"0.1"})})};var Sr=styled(qn)(({theme:e,square:o})=>({overflow:"hidden",border:`1px solid ${e.palette.divider}`,...!o&&{borderRadius:e.shape.borderRadius},margin:0,background:e.palette.background.paper,"&:before":{content:"unset"},"&.Mui-expanded":{margin:0},"&.Mui-disabled":{opacity:.5,pointerEvents:"none"}})),Nr=styled(Qn)(({theme:e})=>({background:e.palette.grey.A50??"#fbfbfb",minHeight:"40px",height:"40px",padding:"10px","&.Mui-expanded":{minHeight:"40px",height:"40px"},"& .MuiAccordionSummary-content":{margin:0,display:"flex",flexDirection:"row",alignItems:"center",flexGrow:1,minWidth:0,gap:10},"& .MuiAccordionSummary-expandIconWrapper":{marginLeft:8}})),kr=styled(Jn)(({theme:e})=>({padding:0,borderTop:`1px solid ${e.palette.divider}`})),Ir=styled(Ho)({display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"transform 0.2s ease",transform:"rotate(0deg)"}),wr=styled(Ho)({minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"});var Pr=forwardRef(({expanded:e,defaultExpanded:o=false,onChange:t,label:r,content:a,labelStartAdornment:n,labelEndAdornment:p,slotProps:s={},disabled:l=false,expandIcon:m,className:d,sx:f,...y},c)=>{let g=e!==void 0,[C,u]=useState(o),N=g?e:C,k=(Qi,ro)=>{g||u(ro),t?.(ro);},{showArrow:x=true,...E}=s.label??{},{className:Te,sx:Pa,...Ta}=s.root??{},Ma=m??(x?jsx(Ir,{component:"span",className:S.expandIcon,children:jsx(hr,{})}):null),$a=jsxs(Fragment,{children:[n!=null&&jsx(Ho,{component:"span",className:S.labelStartAdornment,...s.labelStartAdornment,sx:jc({flexShrink:0},s.labelStartAdornment?.sx),children:n}),jsx(wr,{component:"span",className:S.labelContent,...s.labelContent,sx:s.labelContent?.sx,children:r}),p!=null&&jsx(Ho,{component:"span",className:S.labelEndAdornment,...s.labelEndAdornment,sx:jc({flexShrink:0,marginLeft:"auto"},s.labelEndAdornment?.sx),children:p})]});return jsxs(Sr,{ref:c,"data-testid":"Accordion",disabled:l,expanded:N,onChange:k,className:kc(S.root,d,Te),sx:jc(f??{},Pa),...Ta,...y,children:[jsx(Nr,{className:S.summary,expandIcon:Ma,"aria-expanded":N,...E,children:$a}),jsx(kr,{className:S.content,...s.content,children:a})]})});Pr.displayName="Accordion";var Tr=memo(Pr);var Mr="os-shared-Menu",q={popper:`${Mr}-popper`,panel:`${Mr}-panel`},$r=12;var Fr=styled(si)({}),zr=styled(Ho,{shouldForwardProp:e=>e!=="$showShadow"})(({theme:e,$showShadow:o})=>({borderRadius:e.spacing(.5),background:e.palette.background.default,width:"max-content",cursor:"pointer",boxShadow:e.shadows[11],display:"flex",flexDirection:"column",overflowY:"auto",maxHeight:"432px","&:focus":{outline:"none"},".menu-item + .menu-item":{borderTop:`1px solid ${e.palette.divider}`},"&::after":{content:o?'""':"none",width:"100%",height:"34px",position:"sticky",bottom:0,pointerEvents:"none",background:`linear-gradient(180deg, rgba(255,255,255,0) 0%, ${e.palette.common.white} 100%)`}}));var Ar=forwardRef(({open:e,anchorEl:o,children:t,placement:r,popperSx:a,panelProps:n,className:p,sx:s,...l},m)=>{let[d,f]=useState(false),c=useMemo(()=>Children.count(t),[t])>$r&&d,{onScroll:g,className:C,sx:u,...N}=n??{},k=useCallback(E=>{f((E.currentTarget.scrollTop??0)>0),g?.(E);},[g]),x=kc(q.panel,C,"MuiPopper-dropdown");return jsx(Fr,{ref:m,className:kc(q.popper,p),"data-testid":"Menu",open:e,anchorEl:o,placement:r??"bottom-start",sx:a,...l,children:jsx(zr,{$showShadow:c,onScroll:k,className:x,sx:jc(s??{},u),...N,children:t})})});Ar.displayName="Menu";var Dr=memo(Ar);var Se="os-shared-Dialog",A={root:`${Se}-root`,title:`${Se}-title`,content:`${Se}-content`,actions:`${Se}-actions`};var Wr=styled(ci)(({theme:e})=>({"& .MuiDialog-paper":{boxShadow:e.shadows[13],borderRadius:e.spacing(1)},"& .MuiModal-backdrop":{background:alpha(e.palette.common.black,.2)}})),Hr=styled(fi)(({theme:e})=>({padding:e.spacing(2)}));var Vr=forwardRef(({heading:e,actions:o,children:t,onClose:r,open:a,className:n,sx:p,...s},l)=>jsxs(Wr,{ref:l,"data-testid":"Dialog",open:a,onClose:r,className:kc(A.root,n),sx:p,...s,children:[e&&jsx(Ci,{className:A.title,children:e}),jsx(Hr,{className:A.content,children:t}),o&&jsx(gi,{className:A.actions,children:o})]}));Vr.displayName="Dialog";var Or=memo(Vr);var Ne="os-shared-MenuItem",M={root:`${Ne}-root`,indicator:`${Ne}-indicator`,content:`${Ne}-content`,disabled:`${Ne}-disabled`},D={unchecked:"unchecked",checked:"checked",indeterminate:"indeterminate"};var jr=()=>{let{palette:e}=useTheme();return jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"2.4",fill:e.info.dark}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74245C9.04243 3.94469 9.05652 4.2875 8.86537 4.50814L5.64586 8.22426C5.55146 8.33322 5.41909 8.39666 5.27942 8.39987C5.13975 8.40308 5.0049 8.34579 4.90612 8.24127L3.15002 6.38321C2.94999 6.17157 2.94999 5.82843 3.15002 5.61679C3.35004 5.40516 3.67435 5.40516 3.87437 5.61679L5.2522 7.07463L8.11024 3.77574C8.30138 3.55511 8.62538 3.5402 8.83391 3.74245Z",fill:e.common.white})]})},Kr=()=>jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("rect",{x:"1.19998",y:"1.19998",width:"9.6",height:"9.6",rx:"1.8",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"})}),Ur=()=>{let{palette:e}=useTheme();return jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"1.2",y:"1.2",width:"9.6",height:"9.6",rx:"2.4",fill:e.info.dark,stroke:e.info.dark,strokeWidth:"1.2"}),jsx("rect",{x:"3",y:"5.4",width:"6",height:"1.2",rx:"0.5",fill:"#FAFBFB"})]})};var Yr=styled(Ho,{shouldForwardProp:e=>e!=="$isDisabled"})(({theme:e,$isDisabled:o=false})=>({padding:e.spacing(1),position:"relative",display:"flex",alignItems:"center",gap:"8px",textTransform:"capitalize",cursor:o?"not-allowed":"pointer",flex:1,fontSize:e.typography.subtitle1.fontSize,opacity:o?.5:1,color:e.palette.text.primary})),Je=styled("span")({width:14,height:14,flexShrink:0,pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center","& svg":{display:"block"}});function ki(e,o){return o?D.indeterminate:e?D.checked:D.unchecked}var Ii={[D.unchecked]:Kr,[D.checked]:jr,[D.indeterminate]:Ur};function wi(e,o,t){if(e===null)return null;if(e!==void 0)return jsx(Je,{className:M.indicator,"aria-hidden":true,children:e});let r=ki(o,t),a=Ii[r];return jsx(Je,{className:M.indicator,"aria-hidden":true,children:jsx(a,{})})}var _r=forwardRef(({isSelected:e=false,isDisabled:o=false,isIndeterminate:t=false,startAdornment:r,onClick:a,children:n,className:p,sx:s,...l},m)=>{let d=kc(M.root,"menu-item",o&&M.disabled,p);return jsxs(Yr,{ref:m,"data-testid":"MenuItem",className:d,sx:s,onClick:o?void 0:a,$isDisabled:o,...l,children:[wi(r,e,t),jsx("span",{className:M.content,children:n})]})});_r.displayName="MenuItem";var qr=memo(_r);var Jr="os-shared-ToggleButtons",J={root:`${Jr}-root`,button:`${Jr}-button`};var oa=styled(Ho)(({theme:e})=>({backgroundColor:e.palette.action.hover,display:"flex",alignItems:"center",gap:"0.5px",padding:"1.5px",borderRadius:"3px"})),Pi=e=>({backgroundColor:e.palette.common.white,boxShadow:`0px 0px 3px 0px ${alpha(e.palette.common.black,.2)}`}),ta=styled(Ho,{shouldForwardProp:e=>e!=="$isActive"})(({theme:e,$isActive:o=false})=>({fontSize:8,fontWeight:e.typography.fontWeightMedium,width:21,height:21,borderRadius:"1.5px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background-color 0.2s ease, box-shadow 0.2s ease",...o?Pi(e):{backgroundColor:"transparent",boxShadow:"none"}}));function aa({options:e,activeKey:o,onChange:t,containerProps:r,buttonProps:a,id:n,className:p,sx:s},l){let{className:m,sx:d,...f}=r??{},y=kc(J.root,p,m);return jsx(oa,{ref:l,id:n,"data-testid":"ToggleButtons",className:y,sx:jc(s??{},d),...f,children:e.map(c=>jsx(ta,{className:J.button,$isActive:o===c.key,onClick:()=>t(c.key),...a,children:c.content},c.key))})}var $i=forwardRef(aa);aa.displayName="ToggleButtons";var sa=memo($i);var Li="os-shared-LazyImage",Ie={root:`${Li}-root`},na={display:"flex",justifyContent:"center",alignItems:"center"},we={opacity:()=>import('react-lazy-load-image-component/src/effects/opacity.css'),blur:()=>import('react-lazy-load-image-component/src/effects/blur.css'),"black-and-white":()=>import('react-lazy-load-image-component/src/effects/black-and-white.css')};var ia=styled(Ho)({display:"inline-flex",justifyContent:"center",alignItems:"center"});function Be(e){return e!=null&&e in we}var Hi=LazyLoadImage,la=forwardRef(({effect:e,wrapperProps:o,id:t,className:r,sx:a,placeholderSrc:n,...p},s)=>{let[l,m]=useState(Be(e));if(useEffect(()=>{if(!Be(e)){m(false);return}m(true),we[e]().finally(()=>{m(false);});},[e]),l)return null;let{className:d,sx:f,style:y,...c}=o??{},g=Be(e)||!!n||y!=null;return jsx(ia,{component:"span",...c,className:kc(Ie.root,d??r),sx:f!=null?jc(a??{},f):a,children:jsx(Hi,{...p,ref:s,effect:e,placeholderSrc:n,id:t,"data-testid":"LazyImage",wrapperProps:g?{style:{...na,...y}}:void 0})})});la.displayName="LazyImage";var da=memo(la);var Qe="os-shared-FieldFeedback",U={root:`${Qe}-root`,icon:`${Qe}-icon`,message:`${Qe}-message`};var ca=({severity:e="error",...o})=>{let{palette:t}=useTheme(),r=e==="warning"?t.custom?.[500]??"#FF7A00":t.error.light;return jsx($e,{sx:{width:12,height:12},...o,children:jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M6 12C9.30838 12 12 9.30838 12 6C12 2.69162 9.30838 -2.35309e-07 6 -5.24537e-07C2.69162 -8.13764e-07 8.13764e-07 2.69162 5.24537e-07 6C2.35309e-07 9.30838 2.69162 12 6 12ZM6 11.1C3.17801 11.1 0.9 8.82198 0.9 6C0.9 3.17802 3.17802 0.899999 6 0.899999C8.82199 0.899999 11.1 3.17802 11.1 6C11.1 8.82198 8.82198 11.1 6 11.1ZM6 9C6.15913 9 6.31174 8.93679 6.42426 8.82426C6.53679 8.71174 6.6 8.55913 6.6 8.4C6.6 8.24087 6.53679 8.08826 6.42426 7.97574C6.31174 7.86321 6.15913 7.8 6 7.8C5.84087 7.8 5.68826 7.86321 5.57574 7.97574C5.46321 8.08826 5.4 8.24087 5.4 8.4C5.4 8.55913 5.46321 8.71174 5.57574 8.82426C5.68826 8.93679 5.84087 9 6 9ZM6.00703 6.90644C6.12628 6.90458 6.23991 6.85546 6.32296 6.76988C6.40602 6.6843 6.45171 6.56925 6.45 6.45L6.45 3.15C6.45084 3.09037 6.43983 3.03116 6.41759 2.97583C6.39535 2.92049 6.36234 2.87013 6.32047 2.82766C6.2786 2.7852 6.22871 2.75148 6.17369 2.72846C6.11868 2.70544 6.05964 2.69359 6 2.69359C5.94036 2.69359 5.88132 2.70544 5.82631 2.72846C5.77129 2.75148 5.7214 2.7852 5.67953 2.82766C5.63766 2.87013 5.60465 2.92049 5.58241 2.97583C5.56017 3.03116 5.54916 3.09037 5.55 3.15L5.55 6.45C5.54914 6.51023 5.56037 6.57002 5.58304 6.62583C5.60571 6.68163 5.63935 6.73232 5.68197 6.77489C5.72459 6.81745 5.77533 6.85103 5.83116 6.87363C5.887 6.89623 5.9468 6.90739 6.00703 6.90644Z",fill:r})})})},fa=e=>jsx($e,{sx:{width:12,height:12},...e,children:jsx("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M9.63285 0.429835C9.54018 0.432536 9.45219 0.471196 9.38752 0.537631L3.21672 6.70844L0.614302 4.10602C0.581421 4.07177 0.542037 4.04443 0.498457 4.0256C0.454877 4.00676 0.407977 3.99681 0.360503 3.99633C0.313029 3.99585 0.265937 4.00484 0.221983 4.02279C0.178029 4.04073 0.138097 4.06727 0.104526 4.10084C0.0709555 4.13441 0.0444206 4.17434 0.0264755 4.21829C0.00853037 4.26225 -0.000464234 4.30934 1.8446e-05 4.35681C0.000501126 4.40429 0.0104514 4.45119 0.0292865 4.49477C0.0481216 4.53835 0.0754629 4.57773 0.109709 4.61061L2.96442 7.46533C3.03134 7.53222 3.12209 7.5698 3.21672 7.5698C3.31134 7.5698 3.40209 7.53222 3.46901 7.46533L9.89212 1.04222C9.9436 0.992086 9.97874 0.927576 9.99295 0.857134C10.0072 0.786693 9.99978 0.713603 9.97176 0.647428C9.94374 0.581254 9.8964 0.525079 9.83593 0.486255C9.77546 0.447431 9.70468 0.427767 9.63285 0.429835Z",fill:"#39953E"})})}),ya=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{width:12,height:12},...e,children:jsx("svg",{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M6 7.5V5.5M6 3.5H6.005M11 5.5C11 8.26142 8.76142 10.5 6 10.5C3.23858 10.5 1 8.26142 1 5.5C1 2.73858 3.23858 0.5 6 0.5C8.76142 0.5 11 2.73858 11 5.5Z",stroke:o.text.primary,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})})})};function ua(e,o){let t=e.palette.custom?.[500]??"#FF7A00";return {warning:{backgroundColor:alpha(t,.15),textColor:t},success:{backgroundColor:alpha(e.palette.success.dark,.15),textColor:e.palette.success.dark},info:{backgroundColor:alpha(e.palette.info.dark,.12),textColor:e.palette.info.dark},error:{backgroundColor:alpha(e.palette.error.main,.15),textColor:e.palette.error.main}}[o]}var xa=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:o})=>{let{backgroundColor:t}=ua(e,o);return {display:"flex",alignItems:"flex-start",gap:"4px",minHeight:"32px",padding:"8px 12px",background:t,borderRadius:"0 0 4px 4px"}}),ga=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:o})=>{let{textColor:t}=ua(e,o);return {fontSize:"10px",lineHeight:"16px",display:"block",color:t,wordBreak:"break-word"}}),Ca=styled("span")({width:12,height:12,flexShrink:0,marginTop:"2px",display:"inline-flex",alignItems:"center",justifyContent:"center","& svg":{width:12,height:12,display:"block"}});function Zi(e){return e!=null&&e!==""}function ji(e){switch(e){case "success":return jsx(fa,{});case "info":return jsx(ya,{});case "error":case "warning":return jsx(ca,{severity:e})}}var ha=forwardRef(({type:e="error",message:o,icon:t,className:r,sx:a},n)=>{if(!Zi(o))return null;let p=e;return jsxs(xa,{ref:n,"data-testid":"FieldFeedback",className:kc(U.root,r),sx:a,$feedbackType:p,children:[t??jsx(Ca,{className:U.icon,children:ji(p)}),jsx(ga,{className:U.message,$feedbackType:p,children:o})]})});ha.displayName="FieldFeedback";var ba=memo(ha);var Ui="os-shared-ScrollLoader",Pe={root:`${Ui}-root`},Sa=50;var Na=styled(Gi)({overflow:"auto",height:"100%",maxHeight:"100%"});function to(e,o=Sa){return e.scrollHeight-(e.scrollTop+e.clientHeight)<=o}var Ba=forwardRef(({loadMoreItems:e,hasMore:o,isLoading:t=false,isFetchingNextPage:r,children:a,className:n,sx:p,id:s,...l},m)=>{let[d,f]=useState(false),y=useRef(e),c=useRef(null);y.current=e;let g=useCallback(()=>{o&&!r&&y.current();},[o,r]),C=useCallback(()=>{let u=c.current;u&&to(u)&&g();},[g]);return useEffect(()=>{let u=c.current;if(u)return u.addEventListener("scroll",C),()=>u.removeEventListener("scroll",C)},[C]),useEffect(()=>{let u=c.current;if(!u||t||d)return;let N=window.setTimeout(()=>{f(true),to(u)&&g();},1e3);return ()=>window.clearTimeout(N)},[t,g,d]),jsx(Na,{ref:u=>{c.current=u,typeof m=="function"?m(u):m&&(m.current=u);},id:s,"data-testid":"ScrollLoader",className:kc(Pe.root,n),sx:p,...l,children:a})});Ba.displayName="ScrollLoader";var va=memo(Ba);
2
+ export{ba as $,fe as A,kt as B,B as C,Ft as D,V as E,Ht as F,v as G,Yt as H,T as I,Qt as J,Z as K,mr as L,j as M,gr as N,S as O,Tr as P,q as Q,Dr as R,A as S,Or as T,M as U,qr as V,J as W,sa as X,Ie as Y,da as Z,U as _,b as a,Pe as aa,xo as b,va as ba,oe as c,ho as d,L as e,Po as f,te as g,$o as h,re as i,zo as j,ae as k,Wo as l,F as m,Uo as n,ie as o,Jo as p,pe as q,rt as r,le as s,it as t,de as u,dt as v,me as w,ut as x,ce as y,bt as z};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-DYTDDHJN.js';import {a}from'./chunk-WQXW2YTH.js';import {a as a$2}from'./chunk-TEGPKTJ6.js';import {yc}from'./chunk-RBCDAZB4.js';import {Cb}from'./chunk-R3NBSKNX.js';import {Box}from'@mui/material';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {useId,useState}from'react';import {jsxs,jsx}from'react/jsx-runtime';var h=styled(r,{shouldForwardProp:o=>o!=="open"})(({theme:o,open:a})=>({minWidth:105,height:32,cursor:"pointer",display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1px",border:`1px solid ${o.palette.divider}`,borderRadius:"4px",padding:"7px 8px",paddingRight:"4px",...a&&{boxShadow:o.shadows[7],borderColor:o.palette.info.dark}})),w=styled(r)(()=>({display:"flex",flexDirection:"column",gap:"1px"})),b=styled(r)(()=>({fontWeight:600,fontSize:"8px",color:"#8D8D94"})),v=styled(r)(({theme:o})=>({fontWeight:500,fontSize:"11px",lineHeight:1.1,color:o.palette.text.primary}));function i({defaultValue:o,label:a$3,onChange:D,options:l}){let M=yc(useId(),"dropdown2"),[d,s]=useState(null),[y,E]=useState(o),t=!!d,W=e=>{t||s(e.currentTarget);},m=()=>{t&&s(null);},k=e=>{E(e),D?.(e),m();};return jsxs(h,{onClick:W,open:t,id:M,"data-testid":"Dropdown2",children:[jsxs(w,{children:[jsx(b,{children:a$3}),jsx(v,{children:y})]}),jsx(Box,{component:"img",src:Cb,alt:"down arrow",sx:{width:15,...t&&{transform:"rotate(180deg)"}}}),jsx(a,{open:t,anchorEl:d,sx:{minWidth:105,marginTop:"8px",marginBottom:"8px"},placement:"top",children:l.map((e,B)=>jsx(a$1,{onClick:()=>{k(e.value);},sx:T=>({...B!==l.length-1&&{borderBottom:`1px solid ${T.palette.divider}`}}),children:e.label},e.value))}),t&&jsx(a$2,{onClick:m})]})}var Q=i;export{Q as a};
1
+ import {a as a$1}from'./chunk-IXQVC3DI.js';import {a}from'./chunk-O2SPQA5J.js';import {a as a$2}from'./chunk-NJFK5TAC.js';import {yc}from'./chunk-2CIV4TII.js';import {Db}from'./chunk-KCEYICHJ.js';import {Box}from'@mui/material';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {useId,useState}from'react';import {jsxs,jsx}from'react/jsx-runtime';var h=styled(r,{shouldForwardProp:o=>o!=="open"})(({theme:o,open:a})=>({minWidth:105,height:32,cursor:"pointer",display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1px",border:`1px solid ${o.palette.divider}`,borderRadius:"4px",padding:"7px 8px",paddingRight:"4px",...a&&{boxShadow:o.shadows[7],borderColor:o.palette.info.dark}})),w=styled(r)(()=>({display:"flex",flexDirection:"column",gap:"1px"})),b=styled(r)(()=>({fontWeight:600,fontSize:"8px",color:"#8D8D94"})),v=styled(r)(({theme:o})=>({fontWeight:500,fontSize:"11px",lineHeight:1.1,color:o.palette.text.primary}));function i({defaultValue:o,label:a$3,onChange:D,options:l}){let M=yc(useId(),"dropdown2"),[d,s]=useState(null),[y,E]=useState(o),t=!!d,W=e=>{t||s(e.currentTarget);},m=()=>{t&&s(null);},k=e=>{E(e),D?.(e),m();};return jsxs(h,{onClick:W,open:t,id:M,"data-testid":"Dropdown2",children:[jsxs(w,{children:[jsx(b,{children:a$3}),jsx(v,{children:y})]}),jsx(Box,{component:"img",src:Db,alt:"down arrow",sx:{width:15,...t&&{transform:"rotate(180deg)"}}}),jsx(a,{open:t,anchorEl:d,sx:{minWidth:105,marginTop:"8px",marginBottom:"8px"},placement:"top",children:l.map((e,B)=>jsx(a$1,{onClick:()=>{k(e.value);},sx:T=>({...B!==l.length-1&&{borderBottom:`1px solid ${T.palette.divider}`}}),children:e.label},e.value))}),t&&jsx(a$2,{onClick:m})]})}var Q=i;export{Q as a};
@@ -1 +1 @@
1
- import {yc}from'./chunk-RBCDAZB4.js';import {useId,useState,useRef,useCallback,useEffect}from'react';import v from'@mui/material/Stack';import {jsx}from'react/jsx-runtime';var E=50,g=(t,s=E)=>{let e=t.scrollTop+t.clientHeight;return t.scrollHeight-e<=s},H=t=>{let{component:s=v,loadMoreItems:e,hasMore:l,loading:i,isFetchingNextPage:a,children:S,...R}=t,C=yc(useId(),"scroll-loader"),[m,L]=useState(false),p=useRef(e),r=useRef(null);p.current=e;let k=s,n=useCallback(()=>{l&&!a&&p.current();},[l,a]),c=useCallback(()=>{let o=r.current;if(!o)return;g(o)&&n();},[n]);return useEffect(()=>{let o=r.current;if(o)return o.addEventListener("scroll",c),()=>o.removeEventListener("scroll",c)},[c]),useEffect(()=>{let o=r.current;if(!o||i||m)return;let d=setTimeout(()=>{L(true),g(o)&&n();},1e3);return ()=>{clearTimeout(d);}},[i,n,m]),jsx(k,{id:C,"data-testid":"ScrollLoader",overflow:"auto",ref:r,style:{overflow:"auto",height:"100%",maxHeight:"100%"},...R,children:S})},I=H;var q=I;export{q as a};
1
+ import {yc}from'./chunk-2CIV4TII.js';import {useId,useState,useRef,useCallback,useEffect}from'react';import v from'@mui/material/Stack';import {jsx}from'react/jsx-runtime';var E=50,g=(t,s=E)=>{let e=t.scrollTop+t.clientHeight;return t.scrollHeight-e<=s},H=t=>{let{component:s=v,loadMoreItems:e,hasMore:l,loading:i,isFetchingNextPage:a,children:S,...R}=t,C=yc(useId(),"scroll-loader"),[m,L]=useState(false),p=useRef(e),r=useRef(null);p.current=e;let k=s,n=useCallback(()=>{l&&!a&&p.current();},[l,a]),c=useCallback(()=>{let o=r.current;if(!o)return;g(o)&&n();},[n]);return useEffect(()=>{let o=r.current;if(o)return o.addEventListener("scroll",c),()=>o.removeEventListener("scroll",c)},[c]),useEffect(()=>{let o=r.current;if(!o||i||m)return;let d=setTimeout(()=>{L(true),g(o)&&n();},1e3);return ()=>{clearTimeout(d);}},[i,n,m]),jsx(k,{id:C,"data-testid":"ScrollLoader",overflow:"auto",ref:r,style:{overflow:"auto",height:"100%",maxHeight:"100%"},...R,children:S})},I=H;var q=I;export{q as a};
@@ -1 +1 @@
1
- import {b}from'./chunk-OFCF6G2S.js';import {z}from'./chunk-2SGS6G77.js';import {yc}from'./chunk-RBCDAZB4.js';import {Mh}from'./chunk-R3NBSKNX.js';import {memo,useId}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var a=styled(Box,{shouldForwardProp:t=>t!=="isLongLabel"})(({theme:t,isLongLabel:e})=>({display:"flex",justifyContent:"center",alignItems:"center",padding:"6px 16px",height:"32px",background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,borderRadius:"50px",fontSize:"11px",gap:t.spacing(1),minWidth:e?"12rem":"8.4rem",marginRight:"auto",position:"relative"}));function u({ids:t,visible:e,label:o,onDismiss:c,dismissible:m=true}){let d=yc(useId(),"active-filter-chip");return e?jsxs(a,{id:d,"data-testid":"ActiveFilterChip",isLongLabel:(o?.length??0)>11,children:[o?jsx(b,{children:o}):jsx("span",{children:t?.join(",")}),m&&jsx(z,{pointer:true,round:true,onClick:c,color:"active",sx:{position:"absolute",right:"8px"},children:jsx("img",{src:Mh,alt:"close",style:{width:"8px",height:"7px"}})})]}):null}var s=memo(u);var S=s;export{S as a};
1
+ import {b}from'./chunk-Z5LQN64S.js';import {z}from'./chunk-UOP57G76.js';import {yc}from'./chunk-2CIV4TII.js';import {Nh}from'./chunk-KCEYICHJ.js';import {memo,useId}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var a=styled(Box,{shouldForwardProp:t=>t!=="isLongLabel"})(({theme:t,isLongLabel:e})=>({display:"flex",justifyContent:"center",alignItems:"center",padding:"6px 16px",height:"32px",background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,borderRadius:"50px",fontSize:"11px",gap:t.spacing(1),minWidth:e?"12rem":"8.4rem",marginRight:"auto",position:"relative"}));function u({ids:t,visible:e,label:o,onDismiss:c,dismissible:m=true}){let d=yc(useId(),"active-filter-chip");return e?jsxs(a,{id:d,"data-testid":"ActiveFilterChip",isLongLabel:(o?.length??0)>11,children:[o?jsx(b,{children:o}):jsx("span",{children:t?.join(",")}),m&&jsx(z,{pointer:true,round:true,onClick:c,color:"active",sx:{position:"absolute",right:"8px"},children:jsx("img",{src:Nh,alt:"close",style:{width:"8px",height:"7px"}})})]}):null}var s=memo(u);var S=s;export{S as a};
@@ -1 +1 @@
1
- import {yc}from'./chunk-RBCDAZB4.js';import {useId}from'react';import a from'@mui/material/Box';import {motion}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var e=styled(motion.div)(()=>({width:"100%",height:"100%",cursor:"pointer",".card-front > div, .card-back > div, .card-container":{width:"inherit",height:"inherit"},".card-container":{perspective:"1000px"},".card":{width:"100%",height:"100%",position:"relative",transformStyle:"preserve-3d"},".card-front, .card-back":{position:"absolute",backfaceVisibility:"hidden",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},".card-back":{transform:"rotateY(180deg)"}}));function t({frontCard:d,backCard:n,isFlipped:p,isHovered:c}){let m=yc(useId(),"flipping-card");return jsx(e,{id:m,"data-testid":"FlippingCard",children:jsx(motion.div,{className:"card-container",children:jsxs(motion.div,{className:"card",animate:{rotateY:p?180:c?20:0},transition:{duration:.3},children:[jsx(motion.div,{className:"card-front",children:jsx(a,{children:d})}),jsx(motion.div,{className:"card-back",children:jsx(a,{children:n})})]})})})}var N=t;export{N as a};
1
+ import {yc}from'./chunk-2CIV4TII.js';import {useId}from'react';import a from'@mui/material/Box';import {motion}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var e=styled(motion.div)(()=>({width:"100%",height:"100%",cursor:"pointer",".card-front > div, .card-back > div, .card-container":{width:"inherit",height:"inherit"},".card-container":{perspective:"1000px"},".card":{width:"100%",height:"100%",position:"relative",transformStyle:"preserve-3d"},".card-front, .card-back":{position:"absolute",backfaceVisibility:"hidden",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},".card-back":{transform:"rotateY(180deg)"}}));function t({frontCard:d,backCard:n,isFlipped:p,isHovered:c}){let m=yc(useId(),"flipping-card");return jsx(e,{id:m,"data-testid":"FlippingCard",children:jsx(motion.div,{className:"card-container",children:jsxs(motion.div,{className:"card",animate:{rotateY:p?180:c?20:0},transition:{duration:.3},children:[jsx(motion.div,{className:"card-front",children:jsx(a,{children:d})}),jsx(motion.div,{className:"card-back",children:jsx(a,{children:n})})]})})})}var N=t;export{N as a};
@@ -1,2 +1,2 @@
1
- import {yc}from'./chunk-RBCDAZB4.js';import {useId}from'react';import e from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(e)(({theme:t})=>({fontSize:"10px",padding:"4px 8px 4px 4px",color:t.palette.common.white,borderRadius:"45px",fontWeight:500,background:"var(--Garident---Checkout, linear-gradient(254deg, #101010 0.51%, #343740 49.67%, #101010 100%))",boxShadow:"0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)",display:"flex",gap:"6px",alignItems:"center",height:30})),i=styled(e)(()=>({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",top:"15px"})),a=styled(e)(({theme:t})=>({borderRadius:"13px",background:t.palette.common.white,boxShadow:"0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)",width:22,height:22,display:"flex",alignItems:"center",justifyContent:"center"}));function o({title:t}){let g=yc(useId(),"no-internet");return jsx(i,{id:g,"data-testid":"NoInternet",children:jsxs(n,{children:[jsx(a,{children:jsxs("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("g",{"clip-path":"url(#clip0_4838_500791)",children:jsx("path",{d:"M12.6359 1.34444L12.6359 1.34444L1.84425 12.1361L1.84324 12.1371L1.84323 12.1371C1.80796 12.171 1.7798 12.2115 1.76041 12.2564C1.74101 12.3013 1.73076 12.3496 1.73026 12.3985C1.72977 12.4474 1.73903 12.4959 1.75751 12.5411C1.77599 12.5864 1.80332 12.6275 1.8379 12.6621C1.87247 12.6967 1.9136 12.724 1.95886 12.7425C2.00413 12.761 2.05263 12.7702 2.10153 12.7697C2.15042 12.7693 2.19872 12.759 2.2436 12.7396C2.28849 12.7202 2.32905 12.692 2.36291 12.6568L2.3639 12.6558L2.36391 12.6558L6.87107 8.1486L6.88649 8.13318L6.90794 8.12925C7.83177 7.95978 8.82148 8.22837 9.53582 8.94271C9.60683 9.01372 9.70218 9.05038 9.79508 9.05038C9.88808 9.05038 9.98396 9.01366 10.0549 8.94271L10.0553 8.94229C10.1993 8.80078 10.1999 8.5686 10.0549 8.42362C9.42924 7.79795 8.63373 7.44893 7.81425 7.36712L7.66723 7.35244L7.7717 7.24797L9.21295 5.80672L9.24408 5.77559L9.28562 5.79017C10.0624 6.06276 10.7767 6.50589 11.3758 7.10498C11.4471 7.17626 11.5402 7.21322 11.6357 7.21322C11.7275 7.21322 11.8209 7.17675 11.8957 7.10478C12.0374 6.95995 12.0372 6.72746 11.8952 6.58281C11.3154 6.00304 10.6422 5.55399 9.91133 5.24449L9.81569 5.20398L9.88914 5.13053L11.1806 3.83911L11.217 3.80262L11.2627 3.82668C11.9646 4.19662 12.6233 4.67474 13.2136 5.26497C13.2845 5.33592 13.3804 5.37265 13.4734 5.37265C13.569 5.37265 13.6615 5.33616 13.7326 5.26497C13.8776 5.11999 13.877 4.88724 13.7331 4.74574L13.7325 4.74522C13.1559 4.16612 12.5156 3.69094 11.8371 3.30814L11.7568 3.26285L11.822 3.19767L13.1556 1.8641L13.1562 1.86344C13.2093 1.81181 13.2454 1.74537 13.2601 1.67282C13.2747 1.60028 13.2671 1.525 13.2383 1.45685C13.2094 1.3887 13.1606 1.33084 13.0984 1.29086C13.0361 1.25088 12.9632 1.23062 12.8892 1.23275L12.6359 1.34444ZM12.6359 1.34444L12.6366 1.34377M12.6359 1.34444L12.6366 1.34377M12.6366 1.34377C12.7032 1.27535 12.7938 1.23554 12.8892 1.23275L12.6366 1.34377ZM1.15567 4.74574L1.1561 4.74532C2.82333 3.07809 4.99232 2.21114 7.18124 2.14706C8.13805 2.11905 9.09854 2.24422 10.0224 2.52326L9.42386 3.12232C6.7366 2.45348 3.77167 3.16849 1.67518 5.26497L1.67477 5.2654C1.53326 5.40934 1.30108 5.40996 1.1561 5.26497C1.01112 5.11999 1.01173 4.88724 1.15567 4.74574ZM2.99668 6.58304C4.18518 5.39454 5.76276 4.74246 7.44465 4.74246C7.56138 4.74246 7.67793 4.74531 7.7943 4.7519L7.05489 5.49131C5.71805 5.58262 4.47253 6.1454 3.51594 7.10481C3.37084 7.24718 3.13819 7.2465 2.99668 7.10498C2.85193 6.96023 2.85193 6.72779 2.99668 6.58304ZM6.72445 10.308C6.93012 10.1023 7.20906 9.98677 7.49991 9.98677C7.79077 9.98677 8.06971 10.1023 8.27537 10.308C8.48104 10.5136 8.59658 10.7926 8.59658 11.0834C8.59658 11.3743 8.48104 11.6532 8.27537 11.8589C8.06971 12.0646 7.79077 12.1801 7.49991 12.1801C7.20906 12.1801 6.93012 12.0646 6.72445 11.8589C6.51879 11.6532 6.40325 11.3743 6.40325 11.0834C6.40325 10.7926 6.51879 10.5136 6.72445 10.308Z",fill:"#20232B",stroke:"#20232B",strokeWidth:"0.14"})}),jsx("defs",{children:jsx("clipPath",{id:"clip0_4838_500791",children:jsx("rect",{width:"14",height:"14",fill:"white",transform:"translate(0.5)"})})})]})}),jsx(e,{children:t})]})})}var W=o;
1
+ import {yc}from'./chunk-2CIV4TII.js';import {useId}from'react';import e from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(e)(({theme:t})=>({fontSize:"10px",padding:"4px 8px 4px 4px",color:t.palette.common.white,borderRadius:"45px",fontWeight:500,background:"var(--Garident---Checkout, linear-gradient(254deg, #101010 0.51%, #343740 49.67%, #101010 100%))",boxShadow:"0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)",display:"flex",gap:"6px",alignItems:"center",height:30})),i=styled(e)(()=>({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",top:"15px"})),a=styled(e)(({theme:t})=>({borderRadius:"13px",background:t.palette.common.white,boxShadow:"0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)",width:22,height:22,display:"flex",alignItems:"center",justifyContent:"center"}));function o({title:t}){let g=yc(useId(),"no-internet");return jsx(i,{id:g,"data-testid":"NoInternet",children:jsxs(n,{children:[jsx(a,{children:jsxs("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("g",{"clip-path":"url(#clip0_4838_500791)",children:jsx("path",{d:"M12.6359 1.34444L12.6359 1.34444L1.84425 12.1361L1.84324 12.1371L1.84323 12.1371C1.80796 12.171 1.7798 12.2115 1.76041 12.2564C1.74101 12.3013 1.73076 12.3496 1.73026 12.3985C1.72977 12.4474 1.73903 12.4959 1.75751 12.5411C1.77599 12.5864 1.80332 12.6275 1.8379 12.6621C1.87247 12.6967 1.9136 12.724 1.95886 12.7425C2.00413 12.761 2.05263 12.7702 2.10153 12.7697C2.15042 12.7693 2.19872 12.759 2.2436 12.7396C2.28849 12.7202 2.32905 12.692 2.36291 12.6568L2.3639 12.6558L2.36391 12.6558L6.87107 8.1486L6.88649 8.13318L6.90794 8.12925C7.83177 7.95978 8.82148 8.22837 9.53582 8.94271C9.60683 9.01372 9.70218 9.05038 9.79508 9.05038C9.88808 9.05038 9.98396 9.01366 10.0549 8.94271L10.0553 8.94229C10.1993 8.80078 10.1999 8.5686 10.0549 8.42362C9.42924 7.79795 8.63373 7.44893 7.81425 7.36712L7.66723 7.35244L7.7717 7.24797L9.21295 5.80672L9.24408 5.77559L9.28562 5.79017C10.0624 6.06276 10.7767 6.50589 11.3758 7.10498C11.4471 7.17626 11.5402 7.21322 11.6357 7.21322C11.7275 7.21322 11.8209 7.17675 11.8957 7.10478C12.0374 6.95995 12.0372 6.72746 11.8952 6.58281C11.3154 6.00304 10.6422 5.55399 9.91133 5.24449L9.81569 5.20398L9.88914 5.13053L11.1806 3.83911L11.217 3.80262L11.2627 3.82668C11.9646 4.19662 12.6233 4.67474 13.2136 5.26497C13.2845 5.33592 13.3804 5.37265 13.4734 5.37265C13.569 5.37265 13.6615 5.33616 13.7326 5.26497C13.8776 5.11999 13.877 4.88724 13.7331 4.74574L13.7325 4.74522C13.1559 4.16612 12.5156 3.69094 11.8371 3.30814L11.7568 3.26285L11.822 3.19767L13.1556 1.8641L13.1562 1.86344C13.2093 1.81181 13.2454 1.74537 13.2601 1.67282C13.2747 1.60028 13.2671 1.525 13.2383 1.45685C13.2094 1.3887 13.1606 1.33084 13.0984 1.29086C13.0361 1.25088 12.9632 1.23062 12.8892 1.23275L12.6359 1.34444ZM12.6359 1.34444L12.6366 1.34377M12.6359 1.34444L12.6366 1.34377M12.6366 1.34377C12.7032 1.27535 12.7938 1.23554 12.8892 1.23275L12.6366 1.34377ZM1.15567 4.74574L1.1561 4.74532C2.82333 3.07809 4.99232 2.21114 7.18124 2.14706C8.13805 2.11905 9.09854 2.24422 10.0224 2.52326L9.42386 3.12232C6.7366 2.45348 3.77167 3.16849 1.67518 5.26497L1.67477 5.2654C1.53326 5.40934 1.30108 5.40996 1.1561 5.26497C1.01112 5.11999 1.01173 4.88724 1.15567 4.74574ZM2.99668 6.58304C4.18518 5.39454 5.76276 4.74246 7.44465 4.74246C7.56138 4.74246 7.67793 4.74531 7.7943 4.7519L7.05489 5.49131C5.71805 5.58262 4.47253 6.1454 3.51594 7.10481C3.37084 7.24718 3.13819 7.2465 2.99668 7.10498C2.85193 6.96023 2.85193 6.72779 2.99668 6.58304ZM6.72445 10.308C6.93012 10.1023 7.20906 9.98677 7.49991 9.98677C7.79077 9.98677 8.06971 10.1023 8.27537 10.308C8.48104 10.5136 8.59658 10.7926 8.59658 11.0834C8.59658 11.3743 8.48104 11.6532 8.27537 11.8589C8.06971 12.0646 7.79077 12.1801 7.49991 12.1801C7.20906 12.1801 6.93012 12.0646 6.72445 11.8589C6.51879 11.6532 6.40325 11.3743 6.40325 11.0834C6.40325 10.7926 6.51879 10.5136 6.72445 10.308Z",fill:"#20232B",stroke:"#20232B",strokeWidth:"0.14"})}),jsx("defs",{children:jsx("clipPath",{id:"clip0_4838_500791",children:jsx("rect",{width:"14",height:"14",fill:"white",transform:"translate(0.5)"})})})]})}),jsx(e,{children:t})]})})}var W=o;
2
2
  export{W as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-65ROHES3.js';import {yc}from'./chunk-RBCDAZB4.js';import {ri,A}from'./chunk-R3NBSKNX.js';import {useId}from'react';import g from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var s=styled(a)(({theme:o})=>({border:`1px solid ${o.palette.divider}`,".icon":{width:14}})),d=styled(g)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}}));var v=({value:o,name:c,placeholder:l,onSearchChange:u,onSearchReset:f,...h})=>{let I=yc(useId(),"search-list-input");return jsx(d,{id:I,"data-testid":"SearchListInput",...h,children:jsx(s,{className:"input",name:c,placeholder:l,onChange:t=>u(t.target.value),onKeyDown:t=>t.stopPropagation(),value:o,inputProps:{autoComplete:"off"},endAdornment:jsx(g,{component:"img","data-icon":o?"close":"search",src:o?ri:A,alt:"search",className:"icon",sx:{cursor:o?"pointer":"default"},onClick:f})})})},m=v;var R=m;export{R as a};
1
+ import {a}from'./chunk-R4GFBLY3.js';import {yc}from'./chunk-2CIV4TII.js';import {si,B}from'./chunk-KCEYICHJ.js';import {useId}from'react';import g from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var s=styled(a)(({theme:o})=>({border:`1px solid ${o.palette.divider}`,".icon":{width:14}})),d=styled(g)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}}));var v=({value:o,name:c,placeholder:l,onSearchChange:u,onSearchReset:f,...h})=>{let I=yc(useId(),"search-list-input");return jsx(d,{id:I,"data-testid":"SearchListInput",...h,children:jsx(s,{className:"input",name:c,placeholder:l,onChange:t=>u(t.target.value),onKeyDown:t=>t.stopPropagation(),value:o,inputProps:{autoComplete:"off"},endAdornment:jsx(g,{component:"img","data-icon":o?"close":"search",src:o?si:B,alt:"search",className:"icon",sx:{cursor:o?"pointer":"default"},onClick:f})})})},m=v;var R=m;export{R as a};
@@ -1 +1 @@
1
- import {b}from'./chunk-ZONDSLTR.js';import {yc}from'./chunk-RBCDAZB4.js';import c,{forwardRef,useId,useMemo,useState,useRef,useEffect}from'react';import {styled,Box,useTheme}from'@mui/material';import {motion}from'framer-motion';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var f=styled(forwardRef((t,o)=>{let{className:r,variant:n="text",...e}=t,i=`${r||""} CustomVariant_${n}`;return jsx(Box,{ref:o,...e,className:i})}),{shouldForwardProp:t=>t!=="icon"})(({theme:t,variant:o="text",icon:r})=>({border:`1px solid ${t.palette.divider}`,borderRadius:"30px",backgroundColor:t.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",...r&&{justifyContent:"flex-start",gap:t.spacing(1)},...o==="text"&&{padding:`${t.spacing(.75)} ${t.spacing(1)}`,height:"30px",maxWidth:"150px"},...o==="circular"&&{height:24,width:24},...o==="pill-icon"&&{height:24,width:36}})),C=styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)})),h=styled(motion.span,{shouldForwardProp:t=>t!=="sourcesCount"})(({sourcesCount:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minWidth:`${t*6+36}px `,minHeight:"24px",cursor:"pointer",backgroundColor:"transparent",borderRadius:"16px"})),x=t=>{let{index:o,xDelta:r=39,shadow:n,itemsCount:e=0,expandDirection:i="RIGHT"}=t,a=(e-1)*6;return {start:{x:o*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:i==="RIGHT"?o*r:a+-1*((e-1-o)*r),transition:{duration:.3,type:"tween",ease:"easeOut"},boxShadow:n}}};var $=forwardRef(({children:t,...o},r)=>{let n=yc(useId(),"chip"),{icon:e}=o;return jsxs(f,{ref:r,id:n,"data-testid":"Chip",...o,children:[jsx(Fragment,{children:e}),t]})}),H=$;var F=({order:t,children:o,getSourceAnimation:r,sourceCount:n,expandDirection:e})=>{let i=r||x,a=useTheme(),p=useMemo(()=>i({index:t,shadow:a.shadows[4],itemsCount:n,expandDirection:e}),[t,a.shadows,i,n,e]);return jsx(b,{order:t,variants:p,children:o})},u=F;var g=({children:t,className:o,getSourceAnimation:r,expandDirection:n})=>{let e=c.Children.count(t),[i,a]=useState({width:0,height:0}),p=useRef(null);useEffect(()=>{if(!p.current)return;let s=p.current;a({width:s.clientWidth,height:s.clientHeight});},[]);let y=useMemo(()=>c.Children.map(t,s=>!c.isValidElement(s)||s.type!==u?(console.error(`\u26A0\uFE0F WARNING: "${g.name}" must contains only children of type "${u.name}"`),s):c.cloneElement(s,{...s.props,sourceCount:e,getSourceAnimation:r,expandDirection:n})),[t,r,e,n]);return jsx(C,{"data-testid":"styled-source-cell",sx:{...i},children:jsx(h,{ref:p,layout:true,className:o,whileHover:"animate",animate:"start",sourcesCount:e,variants:{animate:{width:e*38,zIndex:50}},style:{zIndex:29},children:y})})},L=g;export{H as a,u as b,L as c};
1
+ import {b}from'./chunk-ZONDSLTR.js';import {yc}from'./chunk-2CIV4TII.js';import c,{forwardRef,useId,useMemo,useState,useRef,useEffect}from'react';import {styled,Box,useTheme}from'@mui/material';import {motion}from'framer-motion';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var f=styled(forwardRef((t,o)=>{let{className:r,variant:n="text",...e}=t,i=`${r||""} CustomVariant_${n}`;return jsx(Box,{ref:o,...e,className:i})}),{shouldForwardProp:t=>t!=="icon"})(({theme:t,variant:o="text",icon:r})=>({border:`1px solid ${t.palette.divider}`,borderRadius:"30px",backgroundColor:t.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",...r&&{justifyContent:"flex-start",gap:t.spacing(1)},...o==="text"&&{padding:`${t.spacing(.75)} ${t.spacing(1)}`,height:"30px",maxWidth:"150px"},...o==="circular"&&{height:24,width:24},...o==="pill-icon"&&{height:24,width:36}})),C=styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)})),h=styled(motion.span,{shouldForwardProp:t=>t!=="sourcesCount"})(({sourcesCount:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minWidth:`${t*6+36}px `,minHeight:"24px",cursor:"pointer",backgroundColor:"transparent",borderRadius:"16px"})),x=t=>{let{index:o,xDelta:r=39,shadow:n,itemsCount:e=0,expandDirection:i="RIGHT"}=t,a=(e-1)*6;return {start:{x:o*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:i==="RIGHT"?o*r:a+-1*((e-1-o)*r),transition:{duration:.3,type:"tween",ease:"easeOut"},boxShadow:n}}};var $=forwardRef(({children:t,...o},r)=>{let n=yc(useId(),"chip"),{icon:e}=o;return jsxs(f,{ref:r,id:n,"data-testid":"Chip",...o,children:[jsx(Fragment,{children:e}),t]})}),H=$;var F=({order:t,children:o,getSourceAnimation:r,sourceCount:n,expandDirection:e})=>{let i=r||x,a=useTheme(),p=useMemo(()=>i({index:t,shadow:a.shadows[4],itemsCount:n,expandDirection:e}),[t,a.shadows,i,n,e]);return jsx(b,{order:t,variants:p,children:o})},u=F;var g=({children:t,className:o,getSourceAnimation:r,expandDirection:n})=>{let e=c.Children.count(t),[i,a]=useState({width:0,height:0}),p=useRef(null);useEffect(()=>{if(!p.current)return;let s=p.current;a({width:s.clientWidth,height:s.clientHeight});},[]);let y=useMemo(()=>c.Children.map(t,s=>!c.isValidElement(s)||s.type!==u?(console.error(`\u26A0\uFE0F WARNING: "${g.name}" must contains only children of type "${u.name}"`),s):c.cloneElement(s,{...s.props,sourceCount:e,getSourceAnimation:r,expandDirection:n})),[t,r,e,n]);return jsx(C,{"data-testid":"styled-source-cell",sx:{...i},children:jsx(h,{ref:p,layout:true,className:o,whileHover:"animate",animate:"start",sourcesCount:e,variants:{animate:{width:e*38,zIndex:50}},style:{zIndex:29},children:y})})},L=g;export{H as a,u as b,L as c};
@@ -1 +1 @@
1
- import {f as f$1}from'./chunk-KWBCIIK4.js';import {styled,Button,Box,alpha}from'@mui/material';var l=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),n=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...l(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),u={active:n,inActive:n};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));var m=styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"})),h=styled(f$1)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),y=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),b=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),f=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),S=styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),v=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));export{u as a,m as b,h as c,y as d,b as e,f,S as g,v as h};
1
+ import {f as f$1}from'./chunk-LT75SSOB.js';import {styled,Button,Box,alpha}from'@mui/material';var l=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),n=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...l(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),u={active:n,inActive:n};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));var m=styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"})),h=styled(f$1)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),y=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),b=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),f=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),S=styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),v=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));export{u as a,m as b,h as c,y as d,b as e,f,S as g,v as h};
@@ -1 +1 @@
1
- import {a}from'./chunk-P2ESF6CK.js';import {ec,yc,x,Ia}from'./chunk-RBCDAZB4.js';import {ea}from'./chunk-UKJ66LPD.js';import {useId,useState,useMemo}from'react';import {ResponsiveContainer,AreaChart,Area,Tooltip}from'recharts';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import L from'dayjs';import V from'@mui/material/Box';import {styled,Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var M=styled(Box)(()=>({width:"auto",display:"inline-block",whiteSpace:"nowrap",backgroundColor:"white",padding:"6px",border:"1.5px solid #E6E6E6",borderRadius:"7.5px",backdropFilter:"blur(23.280000686645508px)",boxShadow:"0px 0px 15.52px 0px #4B484729"})),w=styled(Typography)({width:"auto",marginBottom:"4px",fontWeight:500,color:"#4B4847ED",fontSize:"9px",whiteSpace:"nowrap",overflow:"visible"}),K=styled(Typography)({display:"flex",alignItems:"center",gap:"5px",fontWeight:600,color:"#4B4847",fontSize:11,whiteSpace:"nowrap",overflow:"visible",width:"auto"}),B=styled(Box)({display:"flex",alignItems:"center",height:"100%",gap:"2.6px",maxHeight:"19px"}),S=styled(Typography)({fontWeight:500,fontSize:11,lineHeight:"130%",color:"#4B4847",letterSpacing:"-0.14px"});var W=(t,i,r)=>t?.value===void 0||t?.value===null?"":t?.dataKey===ea.AMOUNT?`${Ia(t.value,r).fullAmount}`.trim():`${t.value.toLocaleString()} ${i}`.trim(),$=(t,i,r=0)=>{let a=L(t).add(r,"hour").format(),n=new Date,e=L(a).isSame(n,"year");return x(a,i?void 0:{sameDay:`[Today] ${e?"":"YYYY"}`,nextDay:`[Tomorrow] ${e?"":"YYYY"}`,lastDay:`[Yesterday] ${e?"":"YYYY"}`,sameElse:`MMM DD ${e?"":", YYYY"}`,lastWeek:`MMM DD ${e?"":", YYYY"}`,nextWeek:`MMM DD ${e?"":", YYYY"}`},void 0,void 0,r!==void 0)};var G=({active:t,payload:i,dateRange:r,selectedCurrency:a$1})=>{let{t:n}=useTranslation(),e=L(r?.[0]),l=L(r?.[1]),y=e?.isSame(l,"day");if(t&&i?.length){let o=i[0],m=ec(o?.dataKey,o?.value),f=o?.payload?.date&&$(o?.payload?.date,y,o?.payload?.hour);return jsxs(M,{className:"chart-tooltip",children:[jsx(w,{children:f??o?.payload?.date}),jsxs(K,{children:[o?.dataKey===ea.AMOUNT&&jsxs(B,{children:[jsx(a,{currencyCode:a$1,width:12}),jsx(S,{children:a$1})]}),jsx(V,{children:`${W(o,n(m),a$1)}`})]})]})}return null},C=G;var _=[{dataKey:30},{dataKey:32.9941},{dataKey:39.0471},{dataKey:56.3412},{dataKey:69.3118},{dataKey:87.4706},{dataKey:94.3882},{dataKey:110.406}],q=()=>jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:40},data:_,children:[jsx("defs",{children:jsxs("linearGradient",{id:"loadingGradient",x1:"0",y1:"0",x2:"0",y2:"1",gradientUnits:"objectBoundingBox",children:[jsx("stop",{offset:"0.54",stopColor:"rgba(67, 67, 67, 0.035)"}),jsx("stop",{offset:"1",stopColor:"rgba(255, 255, 255, 0)"})]})}),jsx(Area,{dataKey:"dataKey",type:"linear",fill:"url(#loadingGradient)",fillOpacity:1,stroke:"#C2C2C2",strokeWidth:1,strokeLinecap:"round",strokeDasharray:"4 4",activeDot:false})]})}),T=q;var rt=({data:t,dataKey:i,isLoading:r,dateRange:a,selectedCurrency:n})=>{let e=yc(useId(),"activity-area-chart"),l=useTheme(),[y,o]=useState(false),[m,f]=useState({x:0,y:0}),I=t?.length===0,O=h=>{h.activeCoordinate&&h.isTooltipActive&&f(h.activeCoordinate);},R=useMemo(()=>jsx(C,{position:m,dateRange:a,selectedCurrency:n}),[m,a,n]);return r||I?jsx(T,{}):jsx(ResponsiveContainer,{id:e,"data-testid":"ActivityAreaChart",children:jsxs(AreaChart,{margin:{top:20},data:t,onMouseMove:O,children:[t.length>0&&jsx(Tooltip,{content:R,cursor:{fill:"#A5A8A3",stroke:"#A5A8A3",strokeWidth:1,strokeOpacity:1,stopOpacity:.3,strokeDasharray:"5 5",strokeLinecap:"round",strokeLinejoin:"round"}}),jsx(Area,{dataKey:i,type:"monotone",fill:"#76BB4012",stroke:l.palette.success.dark,activeDot:{r:5,fill:l.palette.success.dark,strokeWidth:2,stroke:"white",cursor:y?"pointer":"default",onMouseOver:()=>o(true),onMouseLeave:()=>o(false)}})]})})},F=rt;var zt=F;export{C as a,T as b,zt as c};
1
+ import {a}from'./chunk-4DSO4G5S.js';import {ec,yc,x,Ia}from'./chunk-2CIV4TII.js';import {ea}from'./chunk-BXMBE224.js';import {useId,useState,useMemo}from'react';import {ResponsiveContainer,AreaChart,Area,Tooltip}from'recharts';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import L from'dayjs';import V from'@mui/material/Box';import {styled,Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var M=styled(Box)(()=>({width:"auto",display:"inline-block",whiteSpace:"nowrap",backgroundColor:"white",padding:"6px",border:"1.5px solid #E6E6E6",borderRadius:"7.5px",backdropFilter:"blur(23.280000686645508px)",boxShadow:"0px 0px 15.52px 0px #4B484729"})),w=styled(Typography)({width:"auto",marginBottom:"4px",fontWeight:500,color:"#4B4847ED",fontSize:"9px",whiteSpace:"nowrap",overflow:"visible"}),K=styled(Typography)({display:"flex",alignItems:"center",gap:"5px",fontWeight:600,color:"#4B4847",fontSize:11,whiteSpace:"nowrap",overflow:"visible",width:"auto"}),B=styled(Box)({display:"flex",alignItems:"center",height:"100%",gap:"2.6px",maxHeight:"19px"}),S=styled(Typography)({fontWeight:500,fontSize:11,lineHeight:"130%",color:"#4B4847",letterSpacing:"-0.14px"});var W=(t,i,r)=>t?.value===void 0||t?.value===null?"":t?.dataKey===ea.AMOUNT?`${Ia(t.value,r).fullAmount}`.trim():`${t.value.toLocaleString()} ${i}`.trim(),$=(t,i,r=0)=>{let a=L(t).add(r,"hour").format(),n=new Date,e=L(a).isSame(n,"year");return x(a,i?void 0:{sameDay:`[Today] ${e?"":"YYYY"}`,nextDay:`[Tomorrow] ${e?"":"YYYY"}`,lastDay:`[Yesterday] ${e?"":"YYYY"}`,sameElse:`MMM DD ${e?"":", YYYY"}`,lastWeek:`MMM DD ${e?"":", YYYY"}`,nextWeek:`MMM DD ${e?"":", YYYY"}`},void 0,void 0,r!==void 0)};var G=({active:t,payload:i,dateRange:r,selectedCurrency:a$1})=>{let{t:n}=useTranslation(),e=L(r?.[0]),l=L(r?.[1]),y=e?.isSame(l,"day");if(t&&i?.length){let o=i[0],m=ec(o?.dataKey,o?.value),f=o?.payload?.date&&$(o?.payload?.date,y,o?.payload?.hour);return jsxs(M,{className:"chart-tooltip",children:[jsx(w,{children:f??o?.payload?.date}),jsxs(K,{children:[o?.dataKey===ea.AMOUNT&&jsxs(B,{children:[jsx(a,{currencyCode:a$1,width:12}),jsx(S,{children:a$1})]}),jsx(V,{children:`${W(o,n(m),a$1)}`})]})]})}return null},C=G;var _=[{dataKey:30},{dataKey:32.9941},{dataKey:39.0471},{dataKey:56.3412},{dataKey:69.3118},{dataKey:87.4706},{dataKey:94.3882},{dataKey:110.406}],q=()=>jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:40},data:_,children:[jsx("defs",{children:jsxs("linearGradient",{id:"loadingGradient",x1:"0",y1:"0",x2:"0",y2:"1",gradientUnits:"objectBoundingBox",children:[jsx("stop",{offset:"0.54",stopColor:"rgba(67, 67, 67, 0.035)"}),jsx("stop",{offset:"1",stopColor:"rgba(255, 255, 255, 0)"})]})}),jsx(Area,{dataKey:"dataKey",type:"linear",fill:"url(#loadingGradient)",fillOpacity:1,stroke:"#C2C2C2",strokeWidth:1,strokeLinecap:"round",strokeDasharray:"4 4",activeDot:false})]})}),T=q;var rt=({data:t,dataKey:i,isLoading:r,dateRange:a,selectedCurrency:n})=>{let e=yc(useId(),"activity-area-chart"),l=useTheme(),[y,o]=useState(false),[m,f]=useState({x:0,y:0}),I=t?.length===0,O=h=>{h.activeCoordinate&&h.isTooltipActive&&f(h.activeCoordinate);},R=useMemo(()=>jsx(C,{position:m,dateRange:a,selectedCurrency:n}),[m,a,n]);return r||I?jsx(T,{}):jsx(ResponsiveContainer,{id:e,"data-testid":"ActivityAreaChart",children:jsxs(AreaChart,{margin:{top:20},data:t,onMouseMove:O,children:[t.length>0&&jsx(Tooltip,{content:R,cursor:{fill:"#A5A8A3",stroke:"#A5A8A3",strokeWidth:1,strokeOpacity:1,stopOpacity:.3,strokeDasharray:"5 5",strokeLinecap:"round",strokeLinejoin:"round"}}),jsx(Area,{dataKey:i,type:"monotone",fill:"#76BB4012",stroke:l.palette.success.dark,activeDot:{r:5,fill:l.palette.success.dark,strokeWidth:2,stroke:"white",cursor:y?"pointer":"default",onMouseOver:()=>o(true),onMouseLeave:()=>o(false)}})]})})},F=rt;var zt=F;export{C as a,T as b,zt as c};