@tap-payments/os-micro-frontend-shared 0.3.155 → 0.3.157

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 (251) hide show
  1. package/build/_chunks/{chunk-Z6KE5DJM.js → chunk-2F37PHNT.js} +1 -1
  2. package/build/_chunks/{chunk-AEF4PJQJ.js → chunk-2HH4LSQE.js} +1 -1
  3. package/build/_chunks/{chunk-C77M2WU6.js → chunk-2KLQQ4GT.js} +1 -1
  4. package/build/_chunks/{chunk-RU63JL54.js → chunk-2L6YN6BY.js} +1 -1
  5. package/build/_chunks/{chunk-2VLV2ICQ.js → chunk-2M46764T.js} +1 -1
  6. package/build/_chunks/{chunk-QIFTJLLT.js → chunk-2NADVU3B.js} +1 -1
  7. package/build/_chunks/{chunk-NXK3HUHN.js → chunk-2SBTZEUM.js} +1 -1
  8. package/build/_chunks/{chunk-M45TXZV2.js → chunk-37HMYKL2.js} +1 -1
  9. package/build/_chunks/{chunk-XJYNJFFT.js → chunk-37MMGHJP.js} +1 -1
  10. package/build/_chunks/{chunk-CVZXRLWL.js → chunk-3YAJNHQC.js} +2 -2
  11. package/build/_chunks/{chunk-Y533BGOC.js → chunk-45YMX5ZX.js} +1 -1
  12. package/build/_chunks/{chunk-WI2RVZGP.js → chunk-4XJAK7Y3.js} +1 -1
  13. package/build/_chunks/{chunk-EZ4CALQ5.js → chunk-55DNPRT6.js} +1 -1
  14. package/build/_chunks/{chunk-EZJKDIPB.js → chunk-56NDTN6N.js} +1 -1
  15. package/build/_chunks/{chunk-327SJKBL.js → chunk-57IWKRJC.js} +1 -1
  16. package/build/_chunks/{chunk-L5CIDCUS.js → chunk-5ETS6LOQ.js} +1 -1
  17. package/build/_chunks/{chunk-XFE4N6XT.js → chunk-5SZU46PP.js} +1 -1
  18. package/build/_chunks/{chunk-5QY5HW2T.js → chunk-624CB4ZD.js} +1 -1
  19. package/build/_chunks/{chunk-WXYVHYYA.js → chunk-6AJGHLIA.js} +1 -1
  20. package/build/_chunks/{chunk-IYDGBZWD.js → chunk-6E3W2EBT.js} +1 -1
  21. package/build/_chunks/chunk-6SFC6GJZ.js +1 -0
  22. package/build/_chunks/{chunk-GIHEDH2G.js → chunk-7QCRY4U3.js} +1 -1
  23. package/build/_chunks/{chunk-B6Z7PNK5.js → chunk-7VD4W2MV.js} +1 -1
  24. package/build/_chunks/{chunk-UEGFJMUG.js → chunk-AJTHCIH5.js} +1 -1
  25. package/build/_chunks/{chunk-K7HW3B6T.js → chunk-ATOOWVEE.js} +1 -1
  26. package/build/_chunks/{chunk-6NR2I3YB.js → chunk-BUZKD5FY.js} +1 -1
  27. package/build/_chunks/{chunk-EXEWJT2G.js → chunk-CC73AV3J.js} +1 -1
  28. package/build/_chunks/chunk-CMM74PXZ.js +1 -0
  29. package/build/_chunks/{chunk-EG35O2OE.js → chunk-DWSY5MWS.js} +1 -1
  30. package/build/_chunks/{chunk-76BIORHN.js → chunk-ECMR7EPI.js} +1 -1
  31. package/build/_chunks/{chunk-EHJQIWQ7.js → chunk-EDRNAIB5.js} +1 -1
  32. package/build/_chunks/{chunk-VKGK6YDX.js → chunk-EG4YTSUA.js} +1 -1
  33. package/build/_chunks/{chunk-NLFA5WQ3.js → chunk-ER5YRXAN.js} +1 -1
  34. package/build/_chunks/{chunk-SBLFXYW2.js → chunk-EVGBCOVF.js} +1 -1
  35. package/build/_chunks/{chunk-EBTEQZPP.js → chunk-FA67CAI7.js} +1 -1
  36. package/build/_chunks/{chunk-H7CUSHXK.js → chunk-FEO3VQWW.js} +1 -1
  37. package/build/_chunks/{chunk-E3J2JTRG.js → chunk-FPEXFSFO.js} +1 -1
  38. package/build/_chunks/{chunk-LPDRKSLZ.js → chunk-FTQKOVBZ.js} +1 -1
  39. package/build/_chunks/{chunk-6TI6QU3W.js → chunk-G3ZCQRFM.js} +1 -1
  40. package/build/_chunks/chunk-GB5N3AEY.js +1 -0
  41. package/build/_chunks/{chunk-HFH5KLRF.js → chunk-GDJCM6HE.js} +1 -1
  42. package/build/_chunks/{chunk-PRLIRIBK.js → chunk-GR22RYCN.js} +1 -1
  43. package/build/_chunks/{chunk-B6Q64FHN.js → chunk-HNUCLGTM.js} +1 -1
  44. package/build/_chunks/{chunk-IHAYBWGF.js → chunk-HVSVEO2H.js} +1 -1
  45. package/build/_chunks/{chunk-6L4BDFD4.js → chunk-I3P7QPUA.js} +1 -1
  46. package/build/_chunks/{chunk-2KLNTA57.js → chunk-IBN2INZA.js} +1 -1
  47. package/build/_chunks/{chunk-CCHFRS2K.js → chunk-IEKEIKGI.js} +1 -1
  48. package/build/_chunks/{chunk-7KGYHTZ7.js → chunk-IU2CIO6M.js} +1 -1
  49. package/build/_chunks/{chunk-MUDTK252.js → chunk-IWVUS45E.js} +1 -1
  50. package/build/_chunks/{chunk-TYWYH2NQ.js → chunk-J4335JLA.js} +1 -1
  51. package/build/_chunks/{chunk-IHGL7TM2.js → chunk-J6HEXAGE.js} +1 -1
  52. package/build/_chunks/{chunk-5L4QN3NA.js → chunk-JDLTTFHQ.js} +1 -1
  53. package/build/_chunks/{chunk-LIBAYIS3.js → chunk-KAZ3B4EF.js} +1 -1
  54. package/build/_chunks/{chunk-CWHNEAO3.js → chunk-KDJ57S73.js} +1 -1
  55. package/build/_chunks/{chunk-VVER4BMW.js → chunk-KHEICEBV.js} +1 -1
  56. package/build/_chunks/{chunk-XA3BHHWV.js → chunk-KIUT6LEM.js} +1 -1
  57. package/build/_chunks/{chunk-PBOFZXWP.js → chunk-KOVN2TXQ.js} +1 -1
  58. package/build/_chunks/{chunk-WKPUU4DK.js → chunk-KVOFAN6O.js} +1 -1
  59. package/build/_chunks/{chunk-5BMEWN5A.js → chunk-L4R4BDJ7.js} +1 -1
  60. package/build/_chunks/{chunk-R3DVQO2D.js → chunk-LRY3WPMR.js} +1 -1
  61. package/build/_chunks/{chunk-XRAFQ2HW.js → chunk-M5HH57QL.js} +1 -1
  62. package/build/_chunks/{chunk-SEB4KWBY.js → chunk-MARRXRP5.js} +1 -1
  63. package/build/_chunks/{chunk-ERJ3UWU3.js → chunk-MC6R7E5F.js} +1 -1
  64. package/build/_chunks/{chunk-CYVOT4K6.js → chunk-MXISJOX2.js} +1 -1
  65. package/build/_chunks/{chunk-GTTRUK6J.js → chunk-N2LPXJYV.js} +1 -1
  66. package/build/_chunks/chunk-N372QRVU.js +1 -0
  67. package/build/_chunks/chunk-NLCRY56K.js +2 -0
  68. package/build/_chunks/{chunk-VQA5NLAP.js → chunk-NTLRKE5H.js} +1 -1
  69. package/build/_chunks/{chunk-P67BXS56.js → chunk-NU3Z4ZPB.js} +1 -1
  70. package/build/_chunks/{chunk-RIISRO3A.js → chunk-OJFT5TWY.js} +1 -1
  71. package/build/_chunks/{chunk-BFHDLJVQ.js → chunk-OXEFLXNE.js} +1 -1
  72. package/build/_chunks/{chunk-IY6LNH7G.js → chunk-QQBR2YOE.js} +1 -1
  73. package/build/_chunks/{chunk-YK442IK5.js → chunk-RAIKBMLV.js} +1 -1
  74. package/build/_chunks/{chunk-7FPCIYPH.js → chunk-RBELN5RP.js} +1 -1
  75. package/build/_chunks/{chunk-5FC5W6E3.js → chunk-RGB7VTZL.js} +1 -1
  76. package/build/_chunks/{chunk-C2CP7BXI.js → chunk-RJ2CHCRC.js} +1 -1
  77. package/build/_chunks/{chunk-G4F7Z6FT.js → chunk-RVZWPX6P.js} +1 -1
  78. package/build/_chunks/{chunk-2KZRYCEP.js → chunk-RXLAHJVL.js} +1 -1
  79. package/build/_chunks/{chunk-SU54SSKX.js → chunk-RYB34WRF.js} +1 -1
  80. package/build/_chunks/{chunk-GZZOB6XR.js → chunk-STBE7FVI.js} +1 -1
  81. package/build/_chunks/{chunk-VWSQS7GB.js → chunk-SWPEIUF7.js} +1 -1
  82. package/build/_chunks/{chunk-FVZFBMDV.js → chunk-SYHJVUK7.js} +1 -1
  83. package/build/_chunks/{chunk-EH2K6CAF.js → chunk-SZ2JIMZR.js} +1 -1
  84. package/build/_chunks/{chunk-7ZQFVNH3.js → chunk-TJ3OW2D3.js} +1 -1
  85. package/build/_chunks/{chunk-CTI76EVY.js → chunk-TSYM2TD4.js} +1 -1
  86. package/build/_chunks/{chunk-VCFVYSI4.js → chunk-U4BS6S22.js} +1 -1
  87. package/build/_chunks/{chunk-3XVVJAG6.js → chunk-UHXIVGBH.js} +1 -1
  88. package/build/_chunks/{chunk-MZNEU5ZW.js → chunk-V2V4UQFR.js} +1 -1
  89. package/build/_chunks/{chunk-LN4SXBIE.js → chunk-V4DJY6PV.js} +1 -1
  90. package/build/_chunks/{chunk-CF3CMRSH.js → chunk-V4ULI3XE.js} +1 -1
  91. package/build/_chunks/{chunk-VXGCPSVX.js → chunk-VGIO2RGM.js} +1 -1
  92. package/build/_chunks/{chunk-GUBPSDVZ.js → chunk-VJK74GR6.js} +1 -1
  93. package/build/_chunks/{chunk-FPTVK6OR.js → chunk-VLEEU2FO.js} +2 -2
  94. package/build/_chunks/{chunk-SL4B2G3X.js → chunk-VRMAWN62.js} +1 -1
  95. package/build/_chunks/{chunk-KNOBSC7B.js → chunk-VYDLL6DY.js} +1 -1
  96. package/build/_chunks/{chunk-NAJMLGMD.js → chunk-WOY5HLWU.js} +1 -1
  97. package/build/_chunks/{chunk-U43TFXOI.js → chunk-WRVGVKKK.js} +1 -1
  98. package/build/_chunks/{chunk-4DWQLNSX.js → chunk-WXOQQKYA.js} +1 -1
  99. package/build/_chunks/{chunk-OMIR3XBX.js → chunk-YAP7GX6M.js} +1 -1
  100. package/build/_chunks/{chunk-DIDPW23U.js → chunk-YE6EIJWK.js} +1 -1
  101. package/build/_chunks/{chunk-HWGLPLY5.js → chunk-YNCRHG2V.js} +1 -1
  102. package/build/_chunks/{chunk-KHPNZPC6.js → chunk-YSJZK2JN.js} +1 -1
  103. package/build/_chunks/{chunk-DDKXI2PF.js → chunk-ZFTEDE2C.js} +1 -1
  104. package/build/_chunks/{chunk-C43P33NR.js → chunk-ZPMREIUX.js} +1 -1
  105. package/build/_chunks/{chunk-R2JOH73A.js → chunk-ZSL2IWZ2.js} +1 -1
  106. package/build/components/AccountDropdown/index.js +1 -1
  107. package/build/components/ActionMenu/index.js +1 -1
  108. package/build/components/ActionsDropdownMenu/index.js +1 -1
  109. package/build/components/ActiveFilterChip/index.js +1 -1
  110. package/build/components/ActivityAreaChart/index.js +1 -1
  111. package/build/components/Amount/index.js +1 -1
  112. package/build/components/AmountConversionFilter/index.js +1 -1
  113. package/build/components/AmountInput/index.js +1 -1
  114. package/build/components/AmountSlider/index.js +1 -1
  115. package/build/components/AmountStatusChip/index.js +1 -1
  116. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  117. package/build/components/AppServices/index.js +1 -1
  118. package/build/components/AppServicesBar/index.js +1 -1
  119. package/build/components/AppWindowWrapper/index.js +1 -1
  120. package/build/components/AuthenticationTypeChip/index.js +1 -1
  121. package/build/components/Autocomplete/index.js +1 -1
  122. package/build/components/BetaBanner/index.js +1 -1
  123. package/build/components/BrandLogo/index.js +1 -1
  124. package/build/components/Button/index.js +1 -1
  125. package/build/components/Calender/index.js +1 -1
  126. package/build/components/CardEmptyState/index.js +1 -1
  127. package/build/components/Chip/index.js +1 -1
  128. package/build/components/ChipStack/index.js +1 -1
  129. package/build/components/CircularProgressWithLabel/index.js +1 -1
  130. package/build/components/Collapse/index.js +1 -1
  131. package/build/components/ColorPicker/index.js +1 -1
  132. package/build/components/ColumnViews/index.js +1 -1
  133. package/build/components/ConfirmDialog/index.js +1 -1
  134. package/build/components/CopyImage/index.js +1 -1
  135. package/build/components/CountryFilter/index.js +1 -1
  136. package/build/components/CountryFlag/index.js +1 -1
  137. package/build/components/CurrencyAmount/index.js +1 -1
  138. package/build/components/CurrencyFilter/index.js +1 -1
  139. package/build/components/CurrencySymbol/index.js +1 -1
  140. package/build/components/CustomBackdrop/index.js +1 -1
  141. package/build/components/Customer/index.js +1 -1
  142. package/build/components/DateFilter/index.js +1 -1
  143. package/build/components/DeviceIcon/index.js +1 -1
  144. package/build/components/Dialog/index.js +1 -1
  145. package/build/components/Discount/index.js +1 -1
  146. package/build/components/DisplayAmount/index.js +1 -1
  147. package/build/components/Dropdown2/index.js +1 -1
  148. package/build/components/DropdownButton/index.js +1 -1
  149. package/build/components/DropdownMenu/index.js +1 -1
  150. package/build/components/Error/index.js +1 -1
  151. package/build/components/ErrorToast/index.js +1 -1
  152. package/build/components/ExpandableSideBar/index.js +1 -1
  153. package/build/components/FieldFeedback/index.js +1 -1
  154. package/build/components/FileInputPreview/index.js +1 -1
  155. package/build/components/FilePreview/index.js +1 -1
  156. package/build/components/FileUpload/index.js +1 -1
  157. package/build/components/FileUploader/index.js +1 -1
  158. package/build/components/FilterDropdown/index.js +1 -1
  159. package/build/components/Filters/index.js +1 -1
  160. package/build/components/FlippingCard/index.js +1 -1
  161. package/build/components/HeatMap/index.js +1 -1
  162. package/build/components/IOSSwitch/index.js +1 -1
  163. package/build/components/Icon/index.js +1 -1
  164. package/build/components/IconWithBadge/index.js +1 -1
  165. package/build/components/Input/index.js +1 -1
  166. package/build/components/InputBase/index.js +1 -1
  167. package/build/components/InputNumber/index.js +1 -1
  168. package/build/components/Inputs/index.js +1 -1
  169. package/build/components/JSONViewer/index.js +1 -1
  170. package/build/components/LanguageDropdown/index.js +1 -1
  171. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  172. package/build/components/ListColumnFilter/index.js +1 -1
  173. package/build/components/ListHeader/index.js +1 -1
  174. package/build/components/ListLayout/index.js +1 -1
  175. package/build/components/Loader/index.js +1 -1
  176. package/build/components/MFWidgetLoader/index.js +1 -1
  177. package/build/components/MaskedText/index.js +1 -1
  178. package/build/components/Menu/index.js +1 -1
  179. package/build/components/MenuItem/index.js +1 -1
  180. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  181. package/build/components/MerchantLogo/index.js +1 -1
  182. package/build/components/MerchantsDropdown/index.js +1 -1
  183. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  184. package/build/components/MultiSelectWithSearch/index.js +1 -1
  185. package/build/components/NestedDropdown/index.js +1 -1
  186. package/build/components/NoInternet/index.js +1 -1
  187. package/build/components/OpenFileInNewTab/index.js +1 -1
  188. package/build/components/PartnersFilter/index.js +1 -1
  189. package/build/components/PaymentSourceFilter/index.js +1 -1
  190. package/build/components/PhoneFilter/index.js +1 -1
  191. package/build/components/ProgressRing/index.js +1 -1
  192. package/build/components/RFH/index.js +1 -1
  193. package/build/components/RadioGroup/index.js +1 -1
  194. package/build/components/RangeCalender/index.js +1 -1
  195. package/build/components/RatingCount/index.js +1 -1
  196. package/build/components/ReceiptsViewer/index.js +1 -1
  197. package/build/components/ReferenceTypeFilter/index.js +1 -1
  198. package/build/components/RemoteFallback/index.js +1 -1
  199. package/build/components/ResizableHeightInput/index.js +1 -1
  200. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  201. package/build/components/SalesChannelFilter/index.js +1 -1
  202. package/build/components/ScrollLoader/index.js +1 -1
  203. package/build/components/SearchButton/index.js +1 -1
  204. package/build/components/SearchListInput/index.js +1 -1
  205. package/build/components/SelectDropdown/index.js +1 -1
  206. package/build/components/SelectWithSearch/index.js +1 -1
  207. package/build/components/Skeleton/index.js +1 -1
  208. package/build/components/Slider/index.js +1 -1
  209. package/build/components/StatusBar/index.js +1 -1
  210. package/build/components/StatusButton/index.js +1 -1
  211. package/build/components/StatusChip/index.js +1 -1
  212. package/build/components/StatusChipWithCopy/index.js +1 -1
  213. package/build/components/StatusFilter/index.js +1 -1
  214. package/build/components/StatusGroupChips/index.js +1 -1
  215. package/build/components/StatusIcons/index.js +1 -1
  216. package/build/components/StatusLabel/index.js +1 -1
  217. package/build/components/TableCells/index.js +1 -1
  218. package/build/components/TableReports/index.js +1 -1
  219. package/build/components/Timepicker/index.js +1 -1
  220. package/build/components/Toaster/index.js +1 -1
  221. package/build/components/ToggleView/index.js +1 -1
  222. package/build/components/Toolbar/index.js +1 -1
  223. package/build/components/ToolbarIcon/index.js +1 -1
  224. package/build/components/TooltipChip/index.js +1 -1
  225. package/build/components/TreeDropdown/index.js +1 -1
  226. package/build/components/VAT/index.js +1 -1
  227. package/build/components/VerificationIcon/index.js +1 -1
  228. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  229. package/build/components/VirtualTables/index.js +1 -1
  230. package/build/components/Widget/index.js +1 -1
  231. package/build/components/Window/index.js +1 -1
  232. package/build/components/WindowAppIcon/index.js +1 -1
  233. package/build/components/WindowSideBar/index.js +1 -1
  234. package/build/components/index.js +1 -1
  235. package/build/components/primitives/index.js +1 -1
  236. package/build/constants/apps.d.ts +110 -35
  237. package/build/constants/assets.d.ts +1 -0
  238. package/build/constants/index.js +1 -1
  239. package/build/hooks/index.js +1 -1
  240. package/build/index.js +1 -1
  241. package/build/types/account.d.ts +6 -0
  242. package/build/types/accountWidget.d.ts +10 -3
  243. package/build/types/index.js +1 -1
  244. package/build/types/merchant.d.ts +26 -0
  245. package/build/utils/index.js +1 -1
  246. package/package.json +1 -1
  247. package/build/_chunks/chunk-6KIZHYEE.js +0 -1
  248. package/build/_chunks/chunk-IEHKMBXC.js +0 -1
  249. package/build/_chunks/chunk-IVS555EF.js +0 -2
  250. package/build/_chunks/chunk-JGKNKRPN.js +0 -1
  251. package/build/_chunks/chunk-N3Q6K4EC.js +0 -1
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-LN4SXBIE.js';import {a as a$1}from'./chunk-B6Q64FHN.js';import {a}from'./chunk-N3Q6K4EC.js';import {yc,Fa,Ga,Ea,h}from'./chunk-CYVOT4K6.js';import {Zc,Yc,Pc,Oc,Nc,Qc,Ue}from'./chunk-CVZXRLWL.js';import {useRef,useId,useState,useEffect}from'react';import {useTranslation}from'react-i18next';import {createPortal}from'react-dom';import {styled,alpha}from'@mui/material';import oe from'@mui/material/Popover';import Je from'react-currency-input-field';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var ne=styled("div")(({showWarning:e})=>({display:"flex",gap:"0.25rem",justifyContent:"flex-start",alignItems:"flex-start",padding:"0.25rem",borderRadius:"0.25rem",width:"14.25rem",minHeight:e?"3.6rem":"2.5rem"})),te=styled("div")(()=>({display:"flex",flexDirection:"column",width:"100%"})),re=styled("div")(()=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",flex:1})),ie=styled("div")(({theme:e,showWarning:o,showDropDown:t})=>({height:"2rem",border:o?`1px solid ${e.palette.common.red}24`:t?`1px solid ${e.palette.info.dark}`:`1px solid ${e.palette.grey[100]}`,borderRadius:o?"0.25rem 0.25rem 0rem 0rem":"0.25rem",display:"flex",alignItems:"center",justifyContent:"space-between",paddingRight:"0.5rem",paddingLeft:"0.5rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",margin:0,zIndex:4e3,...t&&{boxShadow:`0px 0px 4px 0px ${e.palette.info.dark}80`}})),ae=styled("div")(({theme:e})=>({height:"1.1rem",borderRadius:"0rem 0rem 0.25rem 0.25rem",display:"flex",justifyContent:"flex-start",margin:0,alignItems:"center",background:e.palette.background.gradient.error,paddingLeft:"0.5rem"})),se=styled("p")(({theme:e})=>({color:e.palette.common.red,fontSize:"0.62rem",fontWeight:400,fontFamily:"Lato",padding:0,margin:0,paddingLeft:"0.25rem"})),de=styled("img")({height:"auto",width:"auto",verticalAlign:"top"}),le=styled("div")({display:"flex",flexDirection:"column",justifyContent:"center"}),ce=styled("div")({display:"flex",height:"0.8rem",alignItems:"center",width:"8.5rem"}),pe=styled(Je)(({theme:e,showWarning:o,disabled:t})=>({color:o?e.palette.common.red:e.palette.text.primary,fontSize:"0.8125rem",fontWeight:600,width:"4.5rem",height:"0.9rem",border:"none",outline:"none",textAlign:"right",padding:0,"&::-webkit-outer-spin-button":{appearance:"none",margin:0},"&::-webkit-inner-spin-button":{appearance:"none",margin:0},backgroundColor:"transparent",alignSelf:"flex-end","&::placeholder":{color:e.palette.grey.A400},...t&&{opacity:.3}})),me=styled("p")(({theme:e})=>({color:e.palette.text.primary,fontSize:"0.8125rem",fontWeight:600,width:"5.2rem",border:"none",outline:"none",padding:0,margin:0,paddingLeft:16,textAlign:"right","&::-webkit-outer-spin-button":{appearance:"none",margin:0},"&::-webkit-inner-spin-button":{appearance:"none",margin:0},alignSelf:"center"})),I=styled("p")(({theme:e,showWarning:o,showBottomPadding:t,autoMargin:i})=>({color:o?e.palette.common.red:e.palette.grey[700],fontSize:"0.625rem",fontWeight:500,padding:0,margin:0,height:t?"0.43rem":"auto",...t&&{lineHeight:"0.625",leadingTrim:"both",paddingBottom:"0.31rem"},...i&&{paddingBottom:"0.43rem",lineHeight:"0.625"}})),Ne=styled("div")({display:"flex"}),v=styled(Ne)(({limited:e,paddingTop:o,marginRightAuto:t})=>({paddingRight:"0.5rem",alignItems:"center",cursor:"pointer",...t&&{marginRight:"auto"},...e&&{width:"3rem"},...o&&{paddingTop:"0.31rem"}})),A=styled("p")(({theme:e})=>({color:e.palette.text.primary,fontSize:"0.68rem",fontWeight:500,margin:0,padding:0,textTransform:"capitalize",paddingRight:"0.25rem",paddingLeft:"0.2rem",lineHeight:"0.865"})),ue=styled("div")({width:0,height:0}),ge=styled(oe)(({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:e.shadows[21],"& .MuiPaper-root":{borderRadius:"0.25rem"}})),F=styled("div")(({theme:e,disabled:o,isRefundInProcess:t,warning:i,isHighlighted:a})=>({borderRadius:"0.3rem",backgroundColor:e.palette.common.white,border:`1px solid ${t?e.palette.info.dark:e.palette.grey[100]}`,width:"2rem",height:"2rem",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",pointerEvents:o?"none":"auto",transition:"all 0.2s ease-in-out","&:hover":{border:`1px solid ${i?e.palette.common.red:e.palette.info.dark}`},...a&&{border:`1px solid ${e.palette.info.dark}`},...o&&{opacity:.3}})),H=styled("img")(()=>({width:"0.85rem",height:"0.85rem"})),fe=styled(oe)(({theme:e})=>({backgroundColor:"transparent",boxShadow:e.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem"}})),he=styled("div")(({showDaysMenu:e})=>({height:e?"4.5rem":"auto"})),ye=styled("div")(({theme:e})=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",borderBottom:`1px solid ${e.palette.grey[100]}`,maxWidth:"9.25rem",height:"2.75rem",padding:"0.5rem",cursor:"pointer",gap:"0.31rem",flexDirection:"column",transition:"all 0.2s ease-in-out","&:hover":{boxShadow:`0px 0px 16px 0px ${alpha(e.palette.common.black,.13)}`}})),Ce=styled("img")(({spaceFromBottom:e,currencyPadding:o})=>({height:"0.4rem",width:"0.6rem",cursor:"pointer",marginBottom:e||o?"0":"auto",verticalAlign:"middle",...e&&{marginTop:"2px"}}));var Xe=({selectedCurrency:e,option:o,closeDropdown:t,handleSelectOption:i})=>{let{t:a$1}=useTranslation();return jsxs(ye,{onClick:()=>{i&&i(o.value,o?.currency),t();},children:[jsx(I,{showBottomPadding:true,showWarning:false,children:a$1(o.name)}),jsxs(ce,{children:[jsxs(v,{marginRightAuto:true,children:[jsx(a,{currencyCode:o?.currency??e,width:"0.76rem"}),jsx(A,{children:o?.currency??e})]}),jsx(me,{showWarning:false,children:Fa(o.value||0,o?.currency??e)})]})]})};function Ye({menuAnchor:e,showDropDown:o,selectedCurrency:t,options:i,closeDropdown:a,handleSelectOption:g}){return i.length<=1?null:jsx(fe,{open:o,anchorEl:e,anchorOrigin:{vertical:18,horizontal:-76},style:{backgroundColor:"transparent",zIndex:4e3,padding:0,margin:0},onClose:a,children:jsx(he,{children:i.map(f=>jsx(Fragment,{children:Xe({selectedCurrency:t,option:f,closeDropdown:a,handleSelectOption:g})}))})})}var $=Ye;function oo({showWarning:e,selectedCurrency:o,onAmountChange:t,amount:i,currencyConfig:a$3,toggleDropDown:g,showDropDown:f,showDropdownIcon:M,disabled:x,isLoading:h}){let{t:b}=useTranslation(),y=useRef(null),C=()=>{y.current&&y.current.click();};return jsxs(Fragment,{children:[jsxs(le,{children:[jsx(I,{showBottomPadding:true,showWarning:e,children:b("amount")}),jsxs(v,{limited:true,paddingTop:true,onClick:C,children:[jsx(a,{currencyCode:o,width:"0.76rem"}),jsx(A,{children:jsx(a$1,{currency:o})}),!e&&M&&jsx(Ce,{src:f?Zc:Yc,alt:"drop-down icon",currencyPadding:true})]})]}),jsx(ue,{ref:y,onClick:g}),h?jsx(a$2,{variant:"text",width:"100%",height:"100%"}):jsx(pe,{disabled:x,placeholder:a$3[o]?"0.000":"0.00",onValueChange:t,value:i,decimalsLimit:a$3[o]??2,showWarning:e||false,decimalScale:a$3[o]??2,autoFocus:true})]})}var B=oo;function so({anchorEl:e,initialAmount:o,options:t,onConfirm:i,handleClose:a,currency:g,isCheckMarkHighlighted:f}){let M=yc(useId(),"action-menu"),{t:x}=useTranslation(),[h$1,b]=useState(o?.toString()),[y,C]=useState(),[u,k]=useState(""),be=useRef(null),[R,E]=useState(false),[c,Se]=useState(g),j=false,[De,Ie]=useState(false),[ve,G]=useState(Pc),[Ae,K]=useState(Oc),Me=useRef(),ke=()=>{C(void 0),E(false);};useEffect(()=>{Me.current?.focus();},[De]);let Re=()=>{ke(),Ie(r=>!r);},Ee=!!e,We=r=>{E(p=>!p),C(r.currentTarget);},Pe=t?.find(r=>r.currency===c)?.value,Te=Fa(Pe||0,c),Oe=`${x("maxAllowed")} ${Te}`,Fe=`${x("minAllowed")} ${Ga(.1,c||"KWD")}`,He=r=>{let p=h(r);p>o?k(Oe):p<.1&&r!==void 0?k(Fe):k(""),b(r);},Le=(r,p)=>{let Ve=Ga(r||0,p||"KWD");b(Ve),Se(p||c);},U=r=>{C(void 0),E(false),a(r);},$e=()=>{K(Qc);},ze=()=>{K(Oc);},V=r=>{U(r);},Be=()=>{U();},je=()=>{G(Ue);},Ge=()=>{G(Pc);},Ke=()=>{i?.(h(h$1),c),V();},Ue$1=!!u||!h$1;return createPortal(jsx(ge,{id:M,"data-testid":"ActionMenu",open:Ee,anchorEl:e,style:{backgroundColor:"transparent",zIndex:3e3},"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",anchorOrigin:{vertical:"top",horizontal:-234},ref:be,onClose:r=>{V(r);},children:jsxs(ne,{showWarning:!!u,children:[jsxs(te,{children:[jsxs(ie,{showWarning:!!u,showDropDown:R,children:[jsx(B,{showWarning:!!u,selectedCurrency:c,onAmountChange:He,amount:h$1,currencyConfig:Ea,toggleDropDown:We,showDropDown:!R,showDropdownIcon:(t?.length||0)>1}),jsx($,{showDropDown:R,menuAnchor:y,selectedCurrency:c,closeDropdown:Re,options:t??[],handleSelectOption:Le})]}),!!u&&jsxs(ae,{children:[jsx(de,{src:Nc,alt:"info"}),jsx(se,{children:u})]})]}),jsxs(re,{children:[jsx(F,{onMouseLeave:Ge,onMouseEnter:je,warning:true,role:"button",onClick:Be,children:jsx(H,{isRefundInProcess:j,src:ve,alt:"Cross icon"})}),jsx(F,{onMouseLeave:ze,onMouseEnter:$e,isRefundInProcess:j,disabled:Ue$1,role:"button",onClick:Ke,isHighlighted:f,children:jsx(H,{src:Ae,alt:"Check icon"})})]})]})}),document.body)}var xe=so;var jo=xe;export{$ as a,B as b,jo as c};
1
+ import {a as a$2}from'./chunk-V4DJY6PV.js';import {a as a$1}from'./chunk-HNUCLGTM.js';import {a}from'./chunk-CMM74PXZ.js';import {yc,Fa,Ga,Ea,h}from'./chunk-MXISJOX2.js';import {Zc,Yc,Pc,Oc,Nc,Qc,Ue}from'./chunk-3YAJNHQC.js';import {useRef,useId,useState,useEffect}from'react';import {useTranslation}from'react-i18next';import {createPortal}from'react-dom';import {styled,alpha}from'@mui/material';import oe from'@mui/material/Popover';import Je from'react-currency-input-field';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var ne=styled("div")(({showWarning:e})=>({display:"flex",gap:"0.25rem",justifyContent:"flex-start",alignItems:"flex-start",padding:"0.25rem",borderRadius:"0.25rem",width:"14.25rem",minHeight:e?"3.6rem":"2.5rem"})),te=styled("div")(()=>({display:"flex",flexDirection:"column",width:"100%"})),re=styled("div")(()=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",flex:1})),ie=styled("div")(({theme:e,showWarning:o,showDropDown:t})=>({height:"2rem",border:o?`1px solid ${e.palette.common.red}24`:t?`1px solid ${e.palette.info.dark}`:`1px solid ${e.palette.grey[100]}`,borderRadius:o?"0.25rem 0.25rem 0rem 0rem":"0.25rem",display:"flex",alignItems:"center",justifyContent:"space-between",paddingRight:"0.5rem",paddingLeft:"0.5rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",margin:0,zIndex:4e3,...t&&{boxShadow:`0px 0px 4px 0px ${e.palette.info.dark}80`}})),ae=styled("div")(({theme:e})=>({height:"1.1rem",borderRadius:"0rem 0rem 0.25rem 0.25rem",display:"flex",justifyContent:"flex-start",margin:0,alignItems:"center",background:e.palette.background.gradient.error,paddingLeft:"0.5rem"})),se=styled("p")(({theme:e})=>({color:e.palette.common.red,fontSize:"0.62rem",fontWeight:400,fontFamily:"Lato",padding:0,margin:0,paddingLeft:"0.25rem"})),de=styled("img")({height:"auto",width:"auto",verticalAlign:"top"}),le=styled("div")({display:"flex",flexDirection:"column",justifyContent:"center"}),ce=styled("div")({display:"flex",height:"0.8rem",alignItems:"center",width:"8.5rem"}),pe=styled(Je)(({theme:e,showWarning:o,disabled:t})=>({color:o?e.palette.common.red:e.palette.text.primary,fontSize:"0.8125rem",fontWeight:600,width:"4.5rem",height:"0.9rem",border:"none",outline:"none",textAlign:"right",padding:0,"&::-webkit-outer-spin-button":{appearance:"none",margin:0},"&::-webkit-inner-spin-button":{appearance:"none",margin:0},backgroundColor:"transparent",alignSelf:"flex-end","&::placeholder":{color:e.palette.grey.A400},...t&&{opacity:.3}})),me=styled("p")(({theme:e})=>({color:e.palette.text.primary,fontSize:"0.8125rem",fontWeight:600,width:"5.2rem",border:"none",outline:"none",padding:0,margin:0,paddingLeft:16,textAlign:"right","&::-webkit-outer-spin-button":{appearance:"none",margin:0},"&::-webkit-inner-spin-button":{appearance:"none",margin:0},alignSelf:"center"})),I=styled("p")(({theme:e,showWarning:o,showBottomPadding:t,autoMargin:i})=>({color:o?e.palette.common.red:e.palette.grey[700],fontSize:"0.625rem",fontWeight:500,padding:0,margin:0,height:t?"0.43rem":"auto",...t&&{lineHeight:"0.625",leadingTrim:"both",paddingBottom:"0.31rem"},...i&&{paddingBottom:"0.43rem",lineHeight:"0.625"}})),Ne=styled("div")({display:"flex"}),v=styled(Ne)(({limited:e,paddingTop:o,marginRightAuto:t})=>({paddingRight:"0.5rem",alignItems:"center",cursor:"pointer",...t&&{marginRight:"auto"},...e&&{width:"3rem"},...o&&{paddingTop:"0.31rem"}})),A=styled("p")(({theme:e})=>({color:e.palette.text.primary,fontSize:"0.68rem",fontWeight:500,margin:0,padding:0,textTransform:"capitalize",paddingRight:"0.25rem",paddingLeft:"0.2rem",lineHeight:"0.865"})),ue=styled("div")({width:0,height:0}),ge=styled(oe)(({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:e.shadows[21],"& .MuiPaper-root":{borderRadius:"0.25rem"}})),F=styled("div")(({theme:e,disabled:o,isRefundInProcess:t,warning:i,isHighlighted:a})=>({borderRadius:"0.3rem",backgroundColor:e.palette.common.white,border:`1px solid ${t?e.palette.info.dark:e.palette.grey[100]}`,width:"2rem",height:"2rem",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",pointerEvents:o?"none":"auto",transition:"all 0.2s ease-in-out","&:hover":{border:`1px solid ${i?e.palette.common.red:e.palette.info.dark}`},...a&&{border:`1px solid ${e.palette.info.dark}`},...o&&{opacity:.3}})),H=styled("img")(()=>({width:"0.85rem",height:"0.85rem"})),fe=styled(oe)(({theme:e})=>({backgroundColor:"transparent",boxShadow:e.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem"}})),he=styled("div")(({showDaysMenu:e})=>({height:e?"4.5rem":"auto"})),ye=styled("div")(({theme:e})=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",borderBottom:`1px solid ${e.palette.grey[100]}`,maxWidth:"9.25rem",height:"2.75rem",padding:"0.5rem",cursor:"pointer",gap:"0.31rem",flexDirection:"column",transition:"all 0.2s ease-in-out","&:hover":{boxShadow:`0px 0px 16px 0px ${alpha(e.palette.common.black,.13)}`}})),Ce=styled("img")(({spaceFromBottom:e,currencyPadding:o})=>({height:"0.4rem",width:"0.6rem",cursor:"pointer",marginBottom:e||o?"0":"auto",verticalAlign:"middle",...e&&{marginTop:"2px"}}));var Xe=({selectedCurrency:e,option:o,closeDropdown:t,handleSelectOption:i})=>{let{t:a$1}=useTranslation();return jsxs(ye,{onClick:()=>{i&&i(o.value,o?.currency),t();},children:[jsx(I,{showBottomPadding:true,showWarning:false,children:a$1(o.name)}),jsxs(ce,{children:[jsxs(v,{marginRightAuto:true,children:[jsx(a,{currencyCode:o?.currency??e,width:"0.76rem"}),jsx(A,{children:o?.currency??e})]}),jsx(me,{showWarning:false,children:Fa(o.value||0,o?.currency??e)})]})]})};function Ye({menuAnchor:e,showDropDown:o,selectedCurrency:t,options:i,closeDropdown:a,handleSelectOption:g}){return i.length<=1?null:jsx(fe,{open:o,anchorEl:e,anchorOrigin:{vertical:18,horizontal:-76},style:{backgroundColor:"transparent",zIndex:4e3,padding:0,margin:0},onClose:a,children:jsx(he,{children:i.map(f=>jsx(Fragment,{children:Xe({selectedCurrency:t,option:f,closeDropdown:a,handleSelectOption:g})}))})})}var $=Ye;function oo({showWarning:e,selectedCurrency:o,onAmountChange:t,amount:i,currencyConfig:a$3,toggleDropDown:g,showDropDown:f,showDropdownIcon:M,disabled:x,isLoading:h}){let{t:b}=useTranslation(),y=useRef(null),C=()=>{y.current&&y.current.click();};return jsxs(Fragment,{children:[jsxs(le,{children:[jsx(I,{showBottomPadding:true,showWarning:e,children:b("amount")}),jsxs(v,{limited:true,paddingTop:true,onClick:C,children:[jsx(a,{currencyCode:o,width:"0.76rem"}),jsx(A,{children:jsx(a$1,{currency:o})}),!e&&M&&jsx(Ce,{src:f?Zc:Yc,alt:"drop-down icon",currencyPadding:true})]})]}),jsx(ue,{ref:y,onClick:g}),h?jsx(a$2,{variant:"text",width:"100%",height:"100%"}):jsx(pe,{disabled:x,placeholder:a$3[o]?"0.000":"0.00",onValueChange:t,value:i,decimalsLimit:a$3[o]??2,showWarning:e||false,decimalScale:a$3[o]??2,autoFocus:true})]})}var B=oo;function so({anchorEl:e,initialAmount:o,options:t,onConfirm:i,handleClose:a,currency:g,isCheckMarkHighlighted:f}){let M=yc(useId(),"action-menu"),{t:x}=useTranslation(),[h$1,b]=useState(o?.toString()),[y,C]=useState(),[u,k]=useState(""),be=useRef(null),[R,E]=useState(false),[c,Se]=useState(g),j=false,[De,Ie]=useState(false),[ve,G]=useState(Pc),[Ae,K]=useState(Oc),Me=useRef(),ke=()=>{C(void 0),E(false);};useEffect(()=>{Me.current?.focus();},[De]);let Re=()=>{ke(),Ie(r=>!r);},Ee=!!e,We=r=>{E(p=>!p),C(r.currentTarget);},Pe=t?.find(r=>r.currency===c)?.value,Te=Fa(Pe||0,c),Oe=`${x("maxAllowed")} ${Te}`,Fe=`${x("minAllowed")} ${Ga(.1,c||"KWD")}`,He=r=>{let p=h(r);p>o?k(Oe):p<.1&&r!==void 0?k(Fe):k(""),b(r);},Le=(r,p)=>{let Ve=Ga(r||0,p||"KWD");b(Ve),Se(p||c);},U=r=>{C(void 0),E(false),a(r);},$e=()=>{K(Qc);},ze=()=>{K(Oc);},V=r=>{U(r);},Be=()=>{U();},je=()=>{G(Ue);},Ge=()=>{G(Pc);},Ke=()=>{i?.(h(h$1),c),V();},Ue$1=!!u||!h$1;return createPortal(jsx(ge,{id:M,"data-testid":"ActionMenu",open:Ee,anchorEl:e,style:{backgroundColor:"transparent",zIndex:3e3},"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",anchorOrigin:{vertical:"top",horizontal:-234},ref:be,onClose:r=>{V(r);},children:jsxs(ne,{showWarning:!!u,children:[jsxs(te,{children:[jsxs(ie,{showWarning:!!u,showDropDown:R,children:[jsx(B,{showWarning:!!u,selectedCurrency:c,onAmountChange:He,amount:h$1,currencyConfig:Ea,toggleDropDown:We,showDropDown:!R,showDropdownIcon:(t?.length||0)>1}),jsx($,{showDropDown:R,menuAnchor:y,selectedCurrency:c,closeDropdown:Re,options:t??[],handleSelectOption:Le})]}),!!u&&jsxs(ae,{children:[jsx(de,{src:Nc,alt:"info"}),jsx(se,{children:u})]})]}),jsxs(re,{children:[jsx(F,{onMouseLeave:Ge,onMouseEnter:je,warning:true,role:"button",onClick:Be,children:jsx(H,{isRefundInProcess:j,src:ve,alt:"Cross icon"})}),jsx(F,{onMouseLeave:ze,onMouseEnter:$e,isRefundInProcess:j,disabled:Ue$1,role:"button",onClick:Ke,isHighlighted:f,children:jsx(H,{src:Ae,alt:"Check icon"})})]})]})}),document.body)}var xe=so;var jo=xe;export{$ as a,B as b,jo as c};
@@ -1 +1 @@
1
- import {t}from'./chunk-XJYNJFFT.js';import {a}from'./chunk-GNY2VGGW.js';import {yc}from'./chunk-CYVOT4K6.js';import {Oj}from'./chunk-CVZXRLWL.js';import {memo,useId}from'react';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var s=styled(r)(({theme:t})=>({border:`1px solid ${t.palette.divider}`,background:"#FBFBFB",borderRadius:"8px",fontSize:"11px",display:"flex",flexDirection:"column",height:"233px",transform:"scale(1)"})),l=styled(r)(({theme:t})=>({padding:"8px 12px",borderBottom:`1px solid ${t.palette.divider}`,display:"flex",justifyContent:"space-between",alignItems:"center",height:39,flexShrink:0,overflow:"visible"})),c=styled(r)(({theme:t})=>({color:t.palette.text.primary,fontSize:"11px",fontWeight:600,textTransform:"capitalize"})),x=styled(r)(({theme:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",paddingInlineStart:"12px",paddingInlineEnd:"8px",borderBottom:`1px solid ${t.palette.divider}`,height:40})),f=styled(a)(({theme:t})=>({color:t.palette.text.primary,fontSize:"11px",fontWeight:500,lineHeight:"13.2px"})),g=styled(r)(()=>({display:"flex",alignItems:"center",gap:"8px"})),I=styled(r)(()=>({display:"flex",alignItems:"center",gap:"4px"})),y=styled(r)(()=>({borderRadius:"8px",overflow:"auto",flexGrow:1,height:"100%",listStyle:"none",margin:0,padding:0,".list-item:last-of-type":{borderBottom:"none"}}));styled(r)(()=>({margin:"12px "}));function N({children:t,...e}){let i=yc(useId(),"widget");return jsx(s,{id:i,component:"article","data-testid":"Widget",...e,children:t})}var S=memo(N);function P({children:t,action:e,...i}){let d=yc(useId(),"widget-header");return jsxs(l,{id:d,"data-testid":"Widget_WidgetHeader",component:"header",...i,children:[jsx(c,{children:t}),e&&e]})}var T=memo(P);function A({allowShadow:t$1=true,children:e,...i}){let d=yc(useId(),"widget-list"),{onScrollHandler:u,showShadow:L}=t();return jsxs(y,{id:d,component:"ul","data-testid":"Widget_List",onScroll:u,...i,children:[e,L&&t$1&&jsx(r,{component:"img",src:Oj,sx:{width:"100%",position:"fixed",bottom:0,pointerEvents:"none",right:0,left:0}})]})}var E=memo(A);function G({children:t,icon:e,actions:i,...d}){return jsxs(x,{component:"li","data-testid":"Widget_ListItem",className:`list-item ${d.className}`,...d,children:[jsxs(g,{component:"aside",children:[e&&e,jsx(f,{noWrap:true,className:"content",children:t})]}),i&&jsx(I,{component:"aside",children:i})]})}var J=memo(G);var ut=S;export{T as a,E as b,J as c,ut as d};
1
+ import {t}from'./chunk-37MMGHJP.js';import {a}from'./chunk-GNY2VGGW.js';import {yc}from'./chunk-MXISJOX2.js';import {Pj}from'./chunk-3YAJNHQC.js';import {memo,useId}from'react';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var s=styled(r)(({theme:t})=>({border:`1px solid ${t.palette.divider}`,background:"#FBFBFB",borderRadius:"8px",fontSize:"11px",display:"flex",flexDirection:"column",height:"233px",transform:"scale(1)"})),l=styled(r)(({theme:t})=>({padding:"8px 12px",borderBottom:`1px solid ${t.palette.divider}`,display:"flex",justifyContent:"space-between",alignItems:"center",height:39,flexShrink:0,overflow:"visible"})),c=styled(r)(({theme:t})=>({color:t.palette.text.primary,fontSize:"11px",fontWeight:600,textTransform:"capitalize"})),x=styled(r)(({theme:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",paddingInlineStart:"12px",paddingInlineEnd:"8px",borderBottom:`1px solid ${t.palette.divider}`,height:40})),f=styled(a)(({theme:t})=>({color:t.palette.text.primary,fontSize:"11px",fontWeight:500,lineHeight:"13.2px"})),g=styled(r)(()=>({display:"flex",alignItems:"center",gap:"8px"})),I=styled(r)(()=>({display:"flex",alignItems:"center",gap:"4px"})),y=styled(r)(()=>({borderRadius:"8px",overflow:"auto",flexGrow:1,height:"100%",listStyle:"none",margin:0,padding:0,".list-item:last-of-type":{borderBottom:"none"}}));styled(r)(()=>({margin:"12px "}));function N({children:t,...e}){let i=yc(useId(),"widget");return jsx(s,{id:i,component:"article","data-testid":"Widget",...e,children:t})}var S=memo(N);function P({children:t,action:e,...i}){let d=yc(useId(),"widget-header");return jsxs(l,{id:d,"data-testid":"Widget_WidgetHeader",component:"header",...i,children:[jsx(c,{children:t}),e&&e]})}var T=memo(P);function A({allowShadow:t$1=true,children:e,...i}){let d=yc(useId(),"widget-list"),{onScrollHandler:u,showShadow:L}=t();return jsxs(y,{id:d,component:"ul","data-testid":"Widget_List",onScroll:u,...i,children:[e,L&&t$1&&jsx(r,{component:"img",src:Pj,sx:{width:"100%",position:"fixed",bottom:0,pointerEvents:"none",right:0,left:0}})]})}var E=memo(A);function G({children:t,icon:e,actions:i,...d}){return jsxs(x,{component:"li","data-testid":"Widget_ListItem",className:`list-item ${d.className}`,...d,children:[jsxs(g,{component:"aside",children:[e&&e,jsx(f,{noWrap:true,className:"content",children:t})]}),i&&jsx(I,{component:"aside",children:i})]})}var J=memo(G);var ut=S;export{T as a,E as b,J as c,ut as d};
@@ -1 +1 @@
1
- import {b}from'./chunk-ZONDSLTR.js';import {yc}from'./chunk-CYVOT4K6.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-MXISJOX2.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 {a}from'./chunk-NXK3HUHN.js';import {yc,$b}from'./chunk-CYVOT4K6.js';import {Di,Ak,ka,Vd,Vj,F as F$1,nl,D,wb}from'./chunk-CVZXRLWL.js';import {useId,useMemo,useState,useCallback}from'react';import {useTranslation}from'react-i18next';import b from'@mui/material/Box';import V from'@mui/material/Popper';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var L=styled(b)(({theme:n})=>({background:n.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",minWidth:148,width:"max-content",marginTop:"8px"})),l=styled(b,{shouldForwardProp:n=>n!=="open"})(({theme:n,open:s})=>({display:"flex",alignItems:"center",justifyContent:"space-between",height:32,padding:"8px 8px 8px 12px",cursor:"pointer",fontSize:"11px",fontWeight:500,color:n.palette.text.primary,"&:hover":{boxShadow:n.shadows[3]},...s&&{boxShadow:n.shadows[3]}})),u=styled(b)(()=>({display:"flex",alignItems:"center",gap:"8px"})),d=styled("img")(()=>({width:16,height:16,objectFit:"contain"})),$=styled(b)(()=>({height:27,display:"flex",alignItems:"center",padding:"0 12px",fontFamily:"Tap Sans",fontWeight:500,fontSize:"11px",lineHeight:"100%",letterSpacing:"0%",color:"#8D8D94",pointerEvents:"none",userSelect:"none"}));var F={refund:nl,flag:F$1,viewReceipt:Vj,viewApi:Vd,capture:ka,void:Ak,clipboard:Di};var X=({anchorEl:n,onClose:s,actions:h=[],linkedActions:M=[]})=>{let v=yc(useId(),"actions-dropdown-menu"),{t:E}=useTranslation(),I=!!n,f=useMemo(()=>h.filter(e=>e.isShown!==false),[h]),g=useMemo(()=>M.filter(e=>e.isShown!==false),[M]);return I?jsxs(b,{id:v,"data-testid":"ActionsDropdownMenu",children:[jsx(a,{onClick:s}),jsx(V,{open:I,anchorEl:n,placement:"bottom-end",sx:{zIndex:1e3},children:jsxs(L,{children:[f.map((e,r)=>jsx(l,{onClick:p=>{p.stopPropagation(),e.onClick?.(p);},sx:r===f.length-1&&g.length>0?{borderBottom:"1px solid",borderColor:"divider"}:void 0,children:jsxs(u,{children:[jsx(d,{src:F[e.icon]??e.icon??D,alt:"action-icon"}),jsx("span",{children:e.label})]})},`direct-${r}`)),g.length>0&&jsx($,{children:E("linkedActions")}),g.map(({render:e,icon:r,label:p,onClick:T,onRightClick:i},c)=>{let m=e?.();return e&&!m?null:m?jsx(b,{children:m},`linked-${c}`):jsxs(l,{onClick:a=>{a.stopPropagation(),T?.(a),s();},onContextMenu:i?a=>{i(a);}:void 0,children:[jsxs(u,{children:[r&&jsx(d,{src:r,alt:"linked-action-icon"}),jsx("span",{children:p})]}),jsx("img",{src:wb,alt:""})]},`linked-${c}`)})]})})]}):null};var ne=({appCode:n,appIcon:s,appName:h,appInfo:M,menuItems:v})=>{let[E,I]=useState(null),f=!!E,g=useCallback(i=>{let c=i.currentTarget.firstElementChild;I(c);},[]),e=useCallback(()=>{I(null);},[]),r=useMemo(()=>v?.filter(({isShown:i=true})=>i),[v]);if(!r?.length)return null;let p=M?.iconUrl??s,T=$b(M?.name)??h;return jsxs(b,{onMouseEnter:g,onMouseLeave:e,children:[jsxs(l,{open:f,children:[jsxs(u,{children:[p&&jsx(d,{src:p,alt:"app"}),jsx("span",{children:T})]}),jsx("img",{src:wb,alt:""})]}),jsx(V,{open:f,anchorEl:E,placement:"left-start",sx:{zIndex:1301},children:jsx(L,{sx:{marginTop:0},children:r.map(({render:i,label:c,icon:m,onClick:a,onContextMenu:k},J)=>jsx(b,{children:i?.()??jsx(l,{onClick:C=>{C.stopPropagation(),a?.(C);},onContextMenu:k?C=>{k(C);}:void 0,children:jsxs(u,{children:[m&&jsx(d,{src:m,alt:"icon"}),jsx("span",{children:c})]})})},`app-${J}`))})})]})};export{X as a,ne as b};
1
+ import {a}from'./chunk-2SBTZEUM.js';import {yc,$b}from'./chunk-MXISJOX2.js';import {Ei,Bk,ka,Vd,Wj,F as F$1,ol,D,wb}from'./chunk-3YAJNHQC.js';import {useId,useMemo,useState,useCallback}from'react';import {useTranslation}from'react-i18next';import b from'@mui/material/Box';import V from'@mui/material/Popper';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var L=styled(b)(({theme:n})=>({background:n.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",minWidth:148,width:"max-content",marginTop:"8px"})),l=styled(b,{shouldForwardProp:n=>n!=="open"})(({theme:n,open:s})=>({display:"flex",alignItems:"center",justifyContent:"space-between",height:32,padding:"8px 8px 8px 12px",cursor:"pointer",fontSize:"11px",fontWeight:500,color:n.palette.text.primary,"&:hover":{boxShadow:n.shadows[3]},...s&&{boxShadow:n.shadows[3]}})),u=styled(b)(()=>({display:"flex",alignItems:"center",gap:"8px"})),d=styled("img")(()=>({width:16,height:16,objectFit:"contain"})),$=styled(b)(()=>({height:27,display:"flex",alignItems:"center",padding:"0 12px",fontFamily:"Tap Sans",fontWeight:500,fontSize:"11px",lineHeight:"100%",letterSpacing:"0%",color:"#8D8D94",pointerEvents:"none",userSelect:"none"}));var F={refund:ol,flag:F$1,viewReceipt:Wj,viewApi:Vd,capture:ka,void:Bk,clipboard:Ei};var X=({anchorEl:n,onClose:s,actions:h=[],linkedActions:M=[]})=>{let v=yc(useId(),"actions-dropdown-menu"),{t:E}=useTranslation(),I=!!n,f=useMemo(()=>h.filter(e=>e.isShown!==false),[h]),g=useMemo(()=>M.filter(e=>e.isShown!==false),[M]);return I?jsxs(b,{id:v,"data-testid":"ActionsDropdownMenu",children:[jsx(a,{onClick:s}),jsx(V,{open:I,anchorEl:n,placement:"bottom-end",sx:{zIndex:1e3},children:jsxs(L,{children:[f.map((e,r)=>jsx(l,{onClick:p=>{p.stopPropagation(),e.onClick?.(p);},sx:r===f.length-1&&g.length>0?{borderBottom:"1px solid",borderColor:"divider"}:void 0,children:jsxs(u,{children:[jsx(d,{src:F[e.icon]??e.icon??D,alt:"action-icon"}),jsx("span",{children:e.label})]})},`direct-${r}`)),g.length>0&&jsx($,{children:E("linkedActions")}),g.map(({render:e,icon:r,label:p,onClick:T,onRightClick:i},c)=>{let m=e?.();return e&&!m?null:m?jsx(b,{children:m},`linked-${c}`):jsxs(l,{onClick:a=>{a.stopPropagation(),T?.(a),s();},onContextMenu:i?a=>{i(a);}:void 0,children:[jsxs(u,{children:[r&&jsx(d,{src:r,alt:"linked-action-icon"}),jsx("span",{children:p})]}),jsx("img",{src:wb,alt:""})]},`linked-${c}`)})]})})]}):null};var ne=({appCode:n,appIcon:s,appName:h,appInfo:M,menuItems:v})=>{let[E,I]=useState(null),f=!!E,g=useCallback(i=>{let c=i.currentTarget.firstElementChild;I(c);},[]),e=useCallback(()=>{I(null);},[]),r=useMemo(()=>v?.filter(({isShown:i=true})=>i),[v]);if(!r?.length)return null;let p=M?.iconUrl??s,T=$b(M?.name)??h;return jsxs(b,{onMouseEnter:g,onMouseLeave:e,children:[jsxs(l,{open:f,children:[jsxs(u,{children:[p&&jsx(d,{src:p,alt:"app"}),jsx("span",{children:T})]}),jsx("img",{src:wb,alt:""})]}),jsx(V,{open:f,anchorEl:E,placement:"left-start",sx:{zIndex:1301},children:jsx(L,{sx:{marginTop:0},children:r.map(({render:i,label:c,icon:m,onClick:a,onContextMenu:k},J)=>jsx(b,{children:i?.()??jsx(l,{onClick:C=>{C.stopPropagation(),a?.(C);},onContextMenu:k?C=>{k(C);}:void 0,children:jsxs(u,{children:[m&&jsx(d,{src:m,alt:"icon"}),jsx("span",{children:c})]})})},`app-${J}`))})})]})};export{X as a,ne as b};
@@ -1 +1 @@
1
- import {a,d,b,c,j as j$1,e}from'./chunk-WKPUU4DK.js';import {yc}from'./chunk-CYVOT4K6.js';import {ec,fc}from'./chunk-CVZXRLWL.js';import {memo,useId,useState}from'react';import ee from'@mui/material/ClickAwayListener';import te from'@mui/material/Popper';import {useTranslation}from'react-i18next';import {DateObject,Calendar}from'react-multi-date-picker';import i from'@mui/material/Box';import l from'@mui/material/Button';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var O=styled(l)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}})),z=styled(i)(()=>({position:"relative"})),H=styled(i,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({display:t?"flex":"none",flexDirection:"column",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),top:37,color:e.palette.text.primary,fontSize:"11px",margin:"8px 0",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"}})),j=styled(l,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({color:e.palette.text.primary,fontSize:"11px",fontWeight:500,padding:e.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,textTransform:"none",height:32,...t&&{border:"1px solid",borderColor:e.palette.info.dark,boxShadow:e.shadows[7]}})),A=styled(i)(({theme:t})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:8,padding:"16px",borderTop:`1px solid ${t.palette.divider}`})),E=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:t.palette.text.primary,border:"1px solid",borderColor:t.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:t.palette.text.primary}})),Y=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:t.palette.info.dark,"&:hover":{background:t.palette.info.dark}})),F=styled(i)(()=>({display:"flex",gap:"8px"}));var ne=["Su","Mo","Tu","We","Th","Fr","Sa"];function ae({isAr:t=false,value:e$1,setValue:y,enableTimePicker:p,placement:L,sx:R,...N}){let V=yc(useId(),"calender"),[w,k]=useState(null),[C,$]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),[D,g]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),q=e$1?.hour?a(e$1.hour):d(),G=e$1?.hour?b(e$1.hour):b(new Date().getHours()),[a$1,J]=useState({hour:q,minute:e$1?.minute??c(),period:G}),{t:B}=useTranslation(),u=!!w,K=r=>r==="right"?t?ec:fc:t?fc:ec,Q=r=>{k(r.currentTarget);},f=()=>{k(null);},U=()=>{let r=a$1.hour;p&&(r=e(a$1.hour,a$1.period||"AM"));let d=p?D.setHour(r).setMinute(a$1.minute):D;$(d),y&&y(d),f();},X=r=>{J(r);};return jsx(ee,{onClickAway:f,children:jsxs(z,{sx:{...R},id:V,"data-testid":"Calender",children:[jsx(j,{onClick:Q,open:u,className:"date-button",children:C.format("MMM D, YYYY")}),jsx(te,{open:u,anchorEl:w,placement:L,children:jsxs(H,{className:"calender-content",open:u,children:[jsx(Calendar,{numberOfMonths:1,format:"MMM DD YYYY",monthYearSeparator:" ",renderButton:(r,d)=>jsx(O,{onClick:d,children:jsx("img",{src:K(r),alt:"arrow"})}),onMonthChange:r=>{g(r);},onYearChange:r=>{g(r);},onChange:r=>{g(r);},weekDays:t?void 0:ne,minDate:new Date,value:C,...N}),jsxs(A,{sx:{...p&&{justifyContent:"space-between"}},children:[p&&jsx(j$1,{enableRealTimeChange:true,onChange:X,defaultTime:a$1}),jsxs(F,{children:[jsx(E,{variant:"contained",onClick:f,children:B("cancel")}),jsx(Y,{variant:"contained",onClick:U,children:B("okay")})]})]})]})})]})})}var I=memo(ae);var Te=I;export{Te as a};
1
+ import {a,d,b,c,j as j$1,e}from'./chunk-KVOFAN6O.js';import {yc}from'./chunk-MXISJOX2.js';import {ec,fc}from'./chunk-3YAJNHQC.js';import {memo,useId,useState}from'react';import ee from'@mui/material/ClickAwayListener';import te from'@mui/material/Popper';import {useTranslation}from'react-i18next';import {DateObject,Calendar}from'react-multi-date-picker';import i from'@mui/material/Box';import l from'@mui/material/Button';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var O=styled(l)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}})),z=styled(i)(()=>({position:"relative"})),H=styled(i,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({display:t?"flex":"none",flexDirection:"column",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),top:37,color:e.palette.text.primary,fontSize:"11px",margin:"8px 0",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"}})),j=styled(l,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({color:e.palette.text.primary,fontSize:"11px",fontWeight:500,padding:e.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,textTransform:"none",height:32,...t&&{border:"1px solid",borderColor:e.palette.info.dark,boxShadow:e.shadows[7]}})),A=styled(i)(({theme:t})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:8,padding:"16px",borderTop:`1px solid ${t.palette.divider}`})),E=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:t.palette.text.primary,border:"1px solid",borderColor:t.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:t.palette.text.primary}})),Y=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:t.palette.info.dark,"&:hover":{background:t.palette.info.dark}})),F=styled(i)(()=>({display:"flex",gap:"8px"}));var ne=["Su","Mo","Tu","We","Th","Fr","Sa"];function ae({isAr:t=false,value:e$1,setValue:y,enableTimePicker:p,placement:L,sx:R,...N}){let V=yc(useId(),"calender"),[w,k]=useState(null),[C,$]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),[D,g]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),q=e$1?.hour?a(e$1.hour):d(),G=e$1?.hour?b(e$1.hour):b(new Date().getHours()),[a$1,J]=useState({hour:q,minute:e$1?.minute??c(),period:G}),{t:B}=useTranslation(),u=!!w,K=r=>r==="right"?t?ec:fc:t?fc:ec,Q=r=>{k(r.currentTarget);},f=()=>{k(null);},U=()=>{let r=a$1.hour;p&&(r=e(a$1.hour,a$1.period||"AM"));let d=p?D.setHour(r).setMinute(a$1.minute):D;$(d),y&&y(d),f();},X=r=>{J(r);};return jsx(ee,{onClickAway:f,children:jsxs(z,{sx:{...R},id:V,"data-testid":"Calender",children:[jsx(j,{onClick:Q,open:u,className:"date-button",children:C.format("MMM D, YYYY")}),jsx(te,{open:u,anchorEl:w,placement:L,children:jsxs(H,{className:"calender-content",open:u,children:[jsx(Calendar,{numberOfMonths:1,format:"MMM DD YYYY",monthYearSeparator:" ",renderButton:(r,d)=>jsx(O,{onClick:d,children:jsx("img",{src:K(r),alt:"arrow"})}),onMonthChange:r=>{g(r);},onYearChange:r=>{g(r);},onChange:r=>{g(r);},weekDays:t?void 0:ne,minDate:new Date,value:C,...N}),jsxs(A,{sx:{...p&&{justifyContent:"space-between"}},children:[p&&jsx(j$1,{enableRealTimeChange:true,onChange:X,defaultTime:a$1}),jsxs(F,{children:[jsx(E,{variant:"contained",onClick:f,children:B("cancel")}),jsx(Y,{variant:"contained",onClick:U,children:B("okay")})]})]})]})})]})})}var I=memo(ae);var Te=I;export{Te as a};
@@ -1 +1 @@
1
- import {Nc,jc}from'./chunk-CVZXRLWL.js';import a from'@mui/material/Box';import {Toaster,resolveValue}from'react-hot-toast';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(a)(({theme:o})=>({borderRadius:"4px",padding:"8px",backgroundColor:o.palette.common.white,fontWeight:"600",fontSize:"11px",color:o.palette.text.primary,boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)",backdropFilter:"blur(6px)",display:"flex",alignItems:"center",gap:"8px"}));var s={success:jc,error:Nc};function r(){return jsx(Toaster,{children:o=>jsxs(n,{children:[s[o.type]&&jsx(a,{component:"img",src:s[o.type],alt:o.type}),jsx(a,{children:resolveValue(o.message,o)})]})})}var B=r;export{B as a};
1
+ import {Nc,jc}from'./chunk-3YAJNHQC.js';import a from'@mui/material/Box';import {Toaster,resolveValue}from'react-hot-toast';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(a)(({theme:o})=>({borderRadius:"4px",padding:"8px",backgroundColor:o.palette.common.white,fontWeight:"600",fontSize:"11px",color:o.palette.text.primary,boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)",backdropFilter:"blur(6px)",display:"flex",alignItems:"center",gap:"8px"}));var s={success:jc,error:Nc};function r(){return jsx(Toaster,{children:o=>jsxs(n,{children:[s[o.type]&&jsx(a,{component:"img",src:s[o.type],alt:o.type}),jsx(a,{children:resolveValue(o.message,o)})]})})}var B=r;export{B as a};
@@ -1 +1 @@
1
- import {yc}from'./chunk-CYVOT4K6.js';import {memo,useId}from'react';import s from'react-dom';import {styled,Box}from'@mui/material';import {jsx}from'react/jsx-runtime';var t=styled(Box)(()=>({position:"fixed",top:0,bottom:0,right:0,left:0,zIndex:999}));function a(m){let p=yc(useId(),"custom-backdrop");return s.createPortal(jsx(t,{...m,id:p,"data-testid":"CustomBackdrop"}),document.body)}var r=memo(a);var b=r;export{b as a};
1
+ import {yc}from'./chunk-MXISJOX2.js';import {memo,useId}from'react';import s from'react-dom';import {styled,Box}from'@mui/material';import {jsx}from'react/jsx-runtime';var t=styled(Box)(()=>({position:"fixed",top:0,bottom:0,right:0,left:0,zIndex:999}));function a(m){let p=yc(useId(),"custom-backdrop");return s.createPortal(jsx(t,{...m,id:p,"data-testid":"CustomBackdrop"}),document.body)}var r=memo(a);var b=r;export{b as a};
@@ -1 +1 @@
1
- import {yc,Wb}from'./chunk-CYVOT4K6.js';import {Fb}from'./chunk-CVZXRLWL.js';import {useId}from'react';import i from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var x=styled(i,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:n})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:e.palette.grey[400],gap:"8px",...n&&{opacity:.6,cursor:"default"}})),f=styled(i)(()=>({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"})),u=styled(i)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",color:e.palette.text.primary,cursor:"pointer",gap:"8px"})),y=styled("span")(({theme:e})=>({fontWeight:500,color:e.palette.text.primary,cursor:"pointer",fontSize:"9px"})),I=styled(i)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:"4px",color:e.palette.text.primary})),g=styled(i)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",background:e.palette.common.white,borderRadius:"4px",border:`1px solid ${e.palette.divider}`})),F=styled(i)(()=>({display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"}));var T=({files:e,disabled:n,sx:C,onRemoveFile:W,getFilePreview:b,renderBrandLogo:h,renderOpenFileInNewTab:P})=>{let v=yc(useId(),"file-preview");return jsx(Fragment,{children:e?.map((t,d)=>{let l=Wb(t)?b(t.file):null,j=Wb(t)&&t.file.type.includes("application/pdf"),a=Wb(t)?t.file:t;return jsx(x,{id:`${v}-${d}`,"data-testid":"FilePreview",sx:C,disabled:n,children:jsxs(f,{"data-slot":"file-wrapper",children:[jsxs(u,{"data-slot":"file-Content",children:[jsx(g,{"data-slot":"file-icon-wrapper",children:Wb(t)&&l?jsx(i,{component:"img",src:l,width:24,height:24,sx:{borderRadius:"50%",objectFit:j?"none":"cover"},onError:k=>{k.currentTarget.src=a.name;}}):h?.(a.id)}),jsxs(I,{"data-slot":"text-wrapper",children:[jsx(y,{"data-slot":"filename",children:a.name}),!Wb(t)&&!l&&P?.(a.id)]})]}),!n&&jsx(F,{"data-slot":"close-icon-wrapper",onClick:()=>{W?.(t);},children:jsx(i,{component:"img",src:Fb,width:10,height:10})})]})},d)})})},A=T;export{x as a,f as b,u as c,y as d,I as e,g as f,F as g,A as h};
1
+ import {yc,Wb}from'./chunk-MXISJOX2.js';import {Fb}from'./chunk-3YAJNHQC.js';import {useId}from'react';import i from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var x=styled(i,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:n})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:e.palette.grey[400],gap:"8px",...n&&{opacity:.6,cursor:"default"}})),f=styled(i)(()=>({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"})),u=styled(i)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",color:e.palette.text.primary,cursor:"pointer",gap:"8px"})),y=styled("span")(({theme:e})=>({fontWeight:500,color:e.palette.text.primary,cursor:"pointer",fontSize:"9px"})),I=styled(i)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:"4px",color:e.palette.text.primary})),g=styled(i)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",background:e.palette.common.white,borderRadius:"4px",border:`1px solid ${e.palette.divider}`})),F=styled(i)(()=>({display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"}));var T=({files:e,disabled:n,sx:C,onRemoveFile:W,getFilePreview:b,renderBrandLogo:h,renderOpenFileInNewTab:P})=>{let v=yc(useId(),"file-preview");return jsx(Fragment,{children:e?.map((t,d)=>{let l=Wb(t)?b(t.file):null,j=Wb(t)&&t.file.type.includes("application/pdf"),a=Wb(t)?t.file:t;return jsx(x,{id:`${v}-${d}`,"data-testid":"FilePreview",sx:C,disabled:n,children:jsxs(f,{"data-slot":"file-wrapper",children:[jsxs(u,{"data-slot":"file-Content",children:[jsx(g,{"data-slot":"file-icon-wrapper",children:Wb(t)&&l?jsx(i,{component:"img",src:l,width:24,height:24,sx:{borderRadius:"50%",objectFit:j?"none":"cover"},onError:k=>{k.currentTarget.src=a.name;}}):h?.(a.id)}),jsxs(I,{"data-slot":"text-wrapper",children:[jsx(y,{"data-slot":"filename",children:a.name}),!Wb(t)&&!l&&P?.(a.id)]})]}),!n&&jsx(F,{"data-slot":"close-icon-wrapper",onClick:()=>{W?.(t);},children:jsx(i,{component:"img",src:Fb,width:10,height:10})})]})},d)})})},A=T;export{x as a,f as b,u as c,y as d,I as e,g as f,F as g,A as h};
@@ -1 +1 @@
1
- import {$,Eb,A,tc,uc}from'./chunk-CYVOT4K6.js';import {useState,useEffect,useCallback,useLayoutEffect,useRef,useMemo}from'react';import {useLocation}from'react-router';import {useTheme}from'@mui/material/styles';function U(){let{innerWidth:e,innerHeight:n}=window;return {width:e,height:n}}function ve(){let[e,n]=useState(U);return useEffect(()=>{let t;function o(){cancelAnimationFrame(t),t=requestAnimationFrame(()=>{n(U());});}return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o),cancelAnimationFrame(t);}},[]),e}var Ee=()=>{let[e,n]=useState(false),[t,o]=useState(false),r=useCallback(()=>{n(true);},[]),s=useCallback(()=>{n(false);},[]),i=useCallback(()=>{o(true);},[]),c=useCallback(()=>{o(false);},[]);return {onMouseContentEnter:i,onMouseContentLeave:c,isHovered:e,isContentHovered:t,onMouseEnter:r,onMouseLeave:s}};function Ce({value:e,delay:n}){let[t,o]=useState(e);return useEffect(()=>{let r;return e?o(e):r=setTimeout(()=>{o(e);},n),()=>{clearTimeout(r);}},[e]),t}var ke=()=>{let[e,n]=useState(null),[t,o]=useState(void 0),[r,s]=useState(void 0),[i,c]=useState(false),[a,u]=useState(true),l=useCallback(()=>{u(false),setTimeout(()=>{u(true);},100);},[]),d=useCallback(m=>{if(m&&e?.getBoundingClientRect()){let{pageX:p,pageY:g}=m,f=e.getBoundingClientRect(),{left:w,right:v,bottom:T,top:E}=f;if(p>w&&p<v&&g>E&&g<T){c(true),setTimeout(()=>{c(false);},2e3);return}}n(null),o(void 0),s(void 0);},[e]);return {actionMenuAnchor:e,actionMenuOptions:t,selectedActionMenuId:r,isActionMenuCheckMarkHighlighted:i,setActionMenuAnchor:n,setActionMenuOptions:o,setSelectedActionMenuId:s,setIsActionMenuCheckMarkHighlighted:c,handleCloseActionMenu:d,hideDropdown:l,showActionsDropdown:a}};function Oe(e,n){let[t,o]=useState({});return useEffect(()=>{e&&o(s=>({...s,[e]:n||0}));},[n,e]),{getBadgeCount:useCallback(s=>s?t[s]:"",[t])}}var Re=()=>{let{pathname:e}=useLocation();useLayoutEffect(()=>{$()||(window.location.href="/login");},[e]);};function Be(e){return {isParameterSelected:(o,r)=>r?.map(s=>Eb(e,o,s)),getColumnOrder:o=>{let r=e.findIndex(s=>s.name?.toLowerCase()===o?.toLowerCase());return r===-1?100:r}}}var ze=e=>{let[n,t]=useState(false);return useEffect(()=>{let o=e?.current;if(!o)return;let r=new IntersectionObserver(([s])=>{t(!s.isIntersecting);});return r.observe(o),()=>r.disconnect()},[e]),{showShadow:n}};var Ne=()=>{let e=useTheme(),n=e.palette.mode==="dark",t=e.palette.mode==="light";return {isDark:n,isLight:t}};function Ye(){let[e,n]=useState(0),t=useRef(null),o=A(e),r=()=>{t.current&&(clearInterval(t.current),t.current=null);},s=()=>{r(),n(0);},i=c=>{c<=0||(t.current&&r(),n(c),t.current=setInterval(()=>{n(a=>{let u=a-1;return u<=0&&r(),u});},1e3));};return useEffect(()=>()=>{r();},[]),{timer:e,formattedTime:o,startTimer:i,stopTimer:r,resetTimer:s}}var Ze=e=>{let n=useMemo(()=>new Map(e.map(i=>[i.code.toLowerCase(),i])),[e]),t=useCallback(i=>n.get(i.toLowerCase()),[n]),o=useCallback(({appCode:i,serviceCode:c})=>t(i)?.app_services.find(({code:a})=>a.toLowerCase()===c.toLowerCase()),[t]),r=useCallback(({appCode:i,serviceCode:c})=>o({appCode:i,serviceCode:c})?.functions??[],[o]),s=useCallback(({appCode:i,serviceCode:c,functionCode:a})=>r({appCode:i,serviceCode:c}).find(({code:u})=>u?.toLowerCase()===a.toLowerCase()),[r]);return {getAppInfo:t,getServiceInfo:o,getServiceFunctions:r,getFunctionInfo:s}};function R(e){return useCallback((...n)=>{let t=new CustomEvent(e,{detail:n});window.dispatchEvent(t);},[e])}function rt(e,n){let t=useRef(n);t.current=n,useEffect(()=>{let o=r=>{let s=r;t.current(...s.detail||[]);};return window.addEventListener(e,o),()=>{window.removeEventListener(e,o);}},[e]);}var ct=(e,n)=>{let{selectedEntity:t,selectedMerchant:o,displayName:r}=useMemo(()=>{let s=n?.entities.find(a=>a.id===e?.entityId),i=s?.merchants?.find(a=>a.id===e?.merchantId),c=i?.display_name??i?.legacy_id??"Select";return {selectedEntity:s,selectedMerchant:i,displayName:c}},[n,e?.entityId,e?.merchantId]);return {selectedBrand:n,selectedEntity:t,selectedMerchant:o,displayName:r}};var ce=()=>crypto.randomUUID();function mt(){let e=R("on-toast"),n=useCallback(t=>(o,r)=>{let s=r?.id??ce();return e({action:"show",variant:t,message:o,options:{...r,id:s}}),s},[e]);return useMemo(()=>{let t=n("default");return t.success=n("success"),t.error=n("error"),t.loading=n("loading"),t.custom=n("custom"),t.dismiss=o=>{e({action:"dismiss",variant:"dismiss",toastId:o});},t.remove=o=>{e({action:"remove",variant:"remove",toastId:o});},t},[n,e])}var ue=10;function ft({threshold:e=ue,containerRef:n}={}){let[t,o]=useState(true),[r,s]=useState(false),[i,c]=useState(false),a=useCallback(l=>{let{scrollTop:d,scrollHeight:m,clientHeight:p}=l;c(m>p+e),o(d<=e),s(m-(d+p)<=e);},[e]),u=useCallback(l=>{if(l){if("currentTarget"in l){a(l.currentTarget);return}a(l);}},[a]);return useEffect(()=>{if(!n?.current)return;let l=n.current;u(l);let d=new ResizeObserver(()=>{u(l);});return d.observe(l),()=>{d.disconnect();}},[n,u]),{handleScroll:u,scrolledToTop:t,scrolledToBottom:r,scrollable:i}}var vt=(e={})=>{let{checkUrl:n="/status",checkIntervalMs:t=3e4,debounceMs:o=800,timeoutMs:r=5e3}=e,s=typeof window<"u"&&typeof navigator<"u",[i,c]=useState(s?navigator.onLine:true),[a,u]=useState(false),[l,d]=useState(null),m=useRef(null),p=useRef(null),g=useCallback(f=>{m.current!==null&&window.clearTimeout(m.current),m.current=window.setTimeout(()=>{c(f),m.current=null;},o);},[o]);return useEffect(()=>{if(!s)return;let f=null,w=()=>{p.current!==null&&(window.clearInterval(p.current),p.current=null);},v=async()=>{u(true),d(null),f?.abort(),f=new AbortController;try{let C=window.setTimeout(()=>{f?.abort();},r),x=await fetch(n,{method:"GET",cache:"no-store",signal:f.signal});window.clearTimeout(C);let A=x.ok;g(A),A?w():d(`Health check failed with status ${x.status}`);}catch{g(false),d("Unable to reach network");}finally{u(false);}},T=()=>{w(),g(true);},E=()=>{g(false),w(),v(),p.current=window.setInterval(v,t);};return window.addEventListener("online",T),window.addEventListener("offline",E),navigator.onLine||(v(),p.current=window.setInterval(v,t)),()=>{window.removeEventListener("online",T),window.removeEventListener("offline",E),m.current!==null&&window.clearTimeout(m.current),w(),f?.abort();}},[s,n,t,o,r,g]),s?{isOnline:i,isChecking:a,error:l}:{isOnline:false,isChecking:false,error:"Online status is only available in a browser environment."}};var Mt=(e={},n,t)=>{let o=tc(e,t.requiredFilterKeys);return {columns:useMemo(()=>uc(n,o,t),[n,o])}};function xt(e,n){return useCallback(t=>{t.key==="Enter"?(t.preventDefault(),e(),n(t)):t.key==="Escape"&&n(t);},[e,n])}function Lt(){let[e,n]=useState(true);return {onScrollHandler:useCallback(o=>{let{scrollTop:r,scrollHeight:s,clientHeight:i}=o.currentTarget,c=r===0||i<s-r-1;n(a=>a===c?a:c);},[]),showShadow:e}}export{ve as a,Ee as b,Ce as c,ke as d,Oe as e,Re as f,Be as g,ze as h,Ne as i,Ye as j,Ze as k,R as l,rt as m,ct as n,mt as o,ft as p,vt as q,Mt as r,xt as s,Lt as t};
1
+ import {$,Eb,A,tc,uc}from'./chunk-MXISJOX2.js';import {useState,useEffect,useCallback,useLayoutEffect,useRef,useMemo}from'react';import {useLocation}from'react-router';import {useTheme}from'@mui/material/styles';function U(){let{innerWidth:e,innerHeight:n}=window;return {width:e,height:n}}function ve(){let[e,n]=useState(U);return useEffect(()=>{let t;function o(){cancelAnimationFrame(t),t=requestAnimationFrame(()=>{n(U());});}return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o),cancelAnimationFrame(t);}},[]),e}var Ee=()=>{let[e,n]=useState(false),[t,o]=useState(false),r=useCallback(()=>{n(true);},[]),s=useCallback(()=>{n(false);},[]),i=useCallback(()=>{o(true);},[]),c=useCallback(()=>{o(false);},[]);return {onMouseContentEnter:i,onMouseContentLeave:c,isHovered:e,isContentHovered:t,onMouseEnter:r,onMouseLeave:s}};function Ce({value:e,delay:n}){let[t,o]=useState(e);return useEffect(()=>{let r;return e?o(e):r=setTimeout(()=>{o(e);},n),()=>{clearTimeout(r);}},[e]),t}var ke=()=>{let[e,n]=useState(null),[t,o]=useState(void 0),[r,s]=useState(void 0),[i,c]=useState(false),[a,u]=useState(true),l=useCallback(()=>{u(false),setTimeout(()=>{u(true);},100);},[]),d=useCallback(m=>{if(m&&e?.getBoundingClientRect()){let{pageX:p,pageY:g}=m,f=e.getBoundingClientRect(),{left:w,right:v,bottom:T,top:E}=f;if(p>w&&p<v&&g>E&&g<T){c(true),setTimeout(()=>{c(false);},2e3);return}}n(null),o(void 0),s(void 0);},[e]);return {actionMenuAnchor:e,actionMenuOptions:t,selectedActionMenuId:r,isActionMenuCheckMarkHighlighted:i,setActionMenuAnchor:n,setActionMenuOptions:o,setSelectedActionMenuId:s,setIsActionMenuCheckMarkHighlighted:c,handleCloseActionMenu:d,hideDropdown:l,showActionsDropdown:a}};function Oe(e,n){let[t,o]=useState({});return useEffect(()=>{e&&o(s=>({...s,[e]:n||0}));},[n,e]),{getBadgeCount:useCallback(s=>s?t[s]:"",[t])}}var Re=()=>{let{pathname:e}=useLocation();useLayoutEffect(()=>{$()||(window.location.href="/login");},[e]);};function Be(e){return {isParameterSelected:(o,r)=>r?.map(s=>Eb(e,o,s)),getColumnOrder:o=>{let r=e.findIndex(s=>s.name?.toLowerCase()===o?.toLowerCase());return r===-1?100:r}}}var ze=e=>{let[n,t]=useState(false);return useEffect(()=>{let o=e?.current;if(!o)return;let r=new IntersectionObserver(([s])=>{t(!s.isIntersecting);});return r.observe(o),()=>r.disconnect()},[e]),{showShadow:n}};var Ne=()=>{let e=useTheme(),n=e.palette.mode==="dark",t=e.palette.mode==="light";return {isDark:n,isLight:t}};function Ye(){let[e,n]=useState(0),t=useRef(null),o=A(e),r=()=>{t.current&&(clearInterval(t.current),t.current=null);},s=()=>{r(),n(0);},i=c=>{c<=0||(t.current&&r(),n(c),t.current=setInterval(()=>{n(a=>{let u=a-1;return u<=0&&r(),u});},1e3));};return useEffect(()=>()=>{r();},[]),{timer:e,formattedTime:o,startTimer:i,stopTimer:r,resetTimer:s}}var Ze=e=>{let n=useMemo(()=>new Map(e.map(i=>[i.code.toLowerCase(),i])),[e]),t=useCallback(i=>n.get(i.toLowerCase()),[n]),o=useCallback(({appCode:i,serviceCode:c})=>t(i)?.app_services.find(({code:a})=>a.toLowerCase()===c.toLowerCase()),[t]),r=useCallback(({appCode:i,serviceCode:c})=>o({appCode:i,serviceCode:c})?.functions??[],[o]),s=useCallback(({appCode:i,serviceCode:c,functionCode:a})=>r({appCode:i,serviceCode:c}).find(({code:u})=>u?.toLowerCase()===a.toLowerCase()),[r]);return {getAppInfo:t,getServiceInfo:o,getServiceFunctions:r,getFunctionInfo:s}};function R(e){return useCallback((...n)=>{let t=new CustomEvent(e,{detail:n});window.dispatchEvent(t);},[e])}function rt(e,n){let t=useRef(n);t.current=n,useEffect(()=>{let o=r=>{let s=r;t.current(...s.detail||[]);};return window.addEventListener(e,o),()=>{window.removeEventListener(e,o);}},[e]);}var ct=(e,n)=>{let{selectedEntity:t,selectedMerchant:o,displayName:r}=useMemo(()=>{let s=n?.entities.find(a=>a.id===e?.entityId),i=s?.merchants?.find(a=>a.id===e?.merchantId),c=i?.display_name??i?.legacy_id??"Select";return {selectedEntity:s,selectedMerchant:i,displayName:c}},[n,e?.entityId,e?.merchantId]);return {selectedBrand:n,selectedEntity:t,selectedMerchant:o,displayName:r}};var ce=()=>crypto.randomUUID();function mt(){let e=R("on-toast"),n=useCallback(t=>(o,r)=>{let s=r?.id??ce();return e({action:"show",variant:t,message:o,options:{...r,id:s}}),s},[e]);return useMemo(()=>{let t=n("default");return t.success=n("success"),t.error=n("error"),t.loading=n("loading"),t.custom=n("custom"),t.dismiss=o=>{e({action:"dismiss",variant:"dismiss",toastId:o});},t.remove=o=>{e({action:"remove",variant:"remove",toastId:o});},t},[n,e])}var ue=10;function ft({threshold:e=ue,containerRef:n}={}){let[t,o]=useState(true),[r,s]=useState(false),[i,c]=useState(false),a=useCallback(l=>{let{scrollTop:d,scrollHeight:m,clientHeight:p}=l;c(m>p+e),o(d<=e),s(m-(d+p)<=e);},[e]),u=useCallback(l=>{if(l){if("currentTarget"in l){a(l.currentTarget);return}a(l);}},[a]);return useEffect(()=>{if(!n?.current)return;let l=n.current;u(l);let d=new ResizeObserver(()=>{u(l);});return d.observe(l),()=>{d.disconnect();}},[n,u]),{handleScroll:u,scrolledToTop:t,scrolledToBottom:r,scrollable:i}}var vt=(e={})=>{let{checkUrl:n="/status",checkIntervalMs:t=3e4,debounceMs:o=800,timeoutMs:r=5e3}=e,s=typeof window<"u"&&typeof navigator<"u",[i,c]=useState(s?navigator.onLine:true),[a,u]=useState(false),[l,d]=useState(null),m=useRef(null),p=useRef(null),g=useCallback(f=>{m.current!==null&&window.clearTimeout(m.current),m.current=window.setTimeout(()=>{c(f),m.current=null;},o);},[o]);return useEffect(()=>{if(!s)return;let f=null,w=()=>{p.current!==null&&(window.clearInterval(p.current),p.current=null);},v=async()=>{u(true),d(null),f?.abort(),f=new AbortController;try{let C=window.setTimeout(()=>{f?.abort();},r),x=await fetch(n,{method:"GET",cache:"no-store",signal:f.signal});window.clearTimeout(C);let A=x.ok;g(A),A?w():d(`Health check failed with status ${x.status}`);}catch{g(false),d("Unable to reach network");}finally{u(false);}},T=()=>{w(),g(true);},E=()=>{g(false),w(),v(),p.current=window.setInterval(v,t);};return window.addEventListener("online",T),window.addEventListener("offline",E),navigator.onLine||(v(),p.current=window.setInterval(v,t)),()=>{window.removeEventListener("online",T),window.removeEventListener("offline",E),m.current!==null&&window.clearTimeout(m.current),w(),f?.abort();}},[s,n,t,o,r,g]),s?{isOnline:i,isChecking:a,error:l}:{isOnline:false,isChecking:false,error:"Online status is only available in a browser environment."}};var Mt=(e={},n,t)=>{let o=tc(e,t.requiredFilterKeys);return {columns:useMemo(()=>uc(n,o,t),[n,o])}};function xt(e,n){return useCallback(t=>{t.key==="Enter"?(t.preventDefault(),e(),n(t)):t.key==="Escape"&&n(t);},[e,n])}function Lt(){let[e,n]=useState(true);return {onScrollHandler:useCallback(o=>{let{scrollTop:r,scrollHeight:s,clientHeight:i}=o.currentTarget,c=r===0||i<s-r-1;n(a=>a===c?a:c);},[]),showShadow:e}}export{ve as a,Ee as b,Ce as c,ke as d,Oe as e,Re as f,Be as g,ze as h,Ne as i,Ye as j,Ze as k,R as l,rt as m,ct as n,mt as o,ft as p,vt as q,Mt as r,xt as s,Lt as t};
@@ -1,2 +1,2 @@
1
- var n="https://cdn.tap.company/tap-assets",o=`${n}/icons/dashboard/light`,t=`${o}/other`,i=`${o}/function`,s=`${n}/videos`,r=`${n}/files`,a=`${r}/templates`,p=e=>`${o}/${e}.svg`,g=e=>`${o}/payment-method/v2/${e}.svg`,v=e=>`${o}/payment-issuer/${e}.svg`,I=e=>`${o}/country/v3/${e}.svg`,d=e=>`${o}/function/${e}.svg`,l=e=>`${o}/statusIcons/${e}.svg`,x=e=>`${n}/currency/v3/light/${e}.svg`,$=e=>{let c=e.replace(/\s/g,"");return `${n}/icons/dashboard/light/authority/v2/${c}.svg`},u=e=>`${o}/browsers/${e}.svg`,h=e=>`${o}/payment-initiator/${e}.svg`,m=e=>`${o}/payment-gateways/${e}.svg`,w=e=>`${o}/aging/${e}.svg`,b=`${o}/currency/sar.svg`,y=`${o}/currency/dirham.svg`,S=`${o}/abandoned.svg`,k=`${o}/abandonedYellow.svg`,A=`${o}/chevron-down.svg`,B=`${o}/sliderThumb.svg`,C=`${o}/removeIcon.svg`,f=`${o}/reversed.svg`,P=`${o}/destinationSolid.svg`,D=`${o}/search.svg`,W=`${o}/unauthorized.svg`,T=`${o}/view.svg`,N=`${o}/reports.svg`,G=`${o}/flag.svg`,L=`${o}/dispute.svg`,F=`${o}/timezone.svg`,O=`${o}/greyTimezone.svg`,R=`${o}/subscription.svg`,_=`${o}/savedCard.svg`,E=`${o}/egypt.svg`,z=`${o}/saudiArabia.svg`,M=`${o}/jordan.svg`,U=`${o}/lebanon.svg`,V=`${o}/kuwait.svg`,q=`${o}/unitedArabEmirates.svg`,H=`${o}/europe.svg`,Y=`${o}/bahrain.svg`,j=`${o}/america.svg`,Z=`${o}/payment-method/v2/card.svg`,Q=`${o}/payment-method/v2/UnionPay.svg`,X=`${o}/payment-method/v2/JAYWAN.svg`,J=`${o}/device.svg`,K=`${o}/expressCheckout.svg`,oo=`${o}/applePay.svg`,to=`${o}/cash.svg`,eo=`${o}/passThruWallet.svg`,no=`${o}/storedValueWallet.svg`,co=`${o}/buyNowPayLater.svg`,so=`${o}/openBanking.svg`,ro=`${o}/FrictionlessIcon.svg`,ao=`${o}/ChallengeIcon.svg`,io=`${o}/visa.svg`,po=`${o}/redArrowDownIcon.svg`,go=`${o}/completed.svg`,vo=`${o}/chargebackRequested.svg`,Io=`${o}/chargeback.svg`,lo=`${t}/captureDropdown.svg`,xo=`${o}/disputeResolved.svg`,$o=`${o}/reversePayout.svg`,uo=`${o}/ellipsisHorizontal.svg`,ho=`${o}/3ds.svg`,mo=`${o}/invoiceIdIcon3.svg`,wo=`${o}/idIcon3.svg`,bo=`${o}/id.svg`,yo=`${t}/copyIcon.svg`,So=`${t}/codeIcon.svg`,ko=`${t}/GreenCheckMark2.svg`,Ao=`${o}/closedDispute.svg`,Bo=`${o}/openDispute.svg`,Co=`${o}/desktop.svg`,fo=`${o}/mobile.svg`,Po=`${o}/tablet.svg`,Do=`${o}/invoice.svg`,Wo=`${o}/cancelledInvoiceIcon.svg`,To=`${o}/expiredInvoiceIcon.svg`,No=`${o}/invoiceNumberIcon.svg`,Go=`${o}/column.svg`,Lo=`${o}/sortAz.svg`,Fo=`${o}/sortZa.svg`,Oo=`${o}/zipFile.svg`,Ro=`${o}/successWhiteBg.svg`,_o=`${o}/failedWhiteBgIcon.svg`,Eo=`${o}/exclamationGreyIcon.svg`,zo=`${o}/exclamationDarkGreyIcon.svg`,Mo=`${o}/percentage0.svg`,Uo=`${o}/percentage50.svg`,Vo=`${o}/percentage75.svg`,qo=`${o}/percentage100.svg`,Ho=`${o}/maximize.svg`,Yo=`${o}/minimize.svg`,jo=`${o}/close.svg`,Zo=`${o}/dashedCheckIcon.svg`,Qo=`${o}/outstandingIcon.svg`,Xo=`${o}/cancelledStatusIcon.svg`,Jo=`${o}/expiredStatusIcon.svg`,Ko=`${o}/paidStatusIcon.svg`,ot=`${o}/refundedStatusIcon.svg`,tt=`${o}/deactivatedIcon.svg`,et=`${o}/topup.svg`,nt=`${o}/AIOverviewIcon.svg`,ct=`${t}/demaximize.svg`,st=`${o}/pendingFlag.svg`,rt=`${o}/ibanIcon.svg`,at=`${o}/payoutIcon.svg`,it=`${o}/releasedFlag.svg`,pt=`${o}/acceptedFlag.svg`,gt=`${o}/clearIcon.svg`,vt=`${o}/status/unCaptured.svg`,It=`${t}/newWindow.svg`,dt=`${t}/viewAll.svg`,lt=`${t}/allApps.svg`,xt=`${t}/hide.svg`,$t=`${t}/close.svg`,ut=`${t}/star.svg`,ht=`${t}/closeCircle.svg`,mt=`${t}/acquirer.svg`,wt=`${o}/GenericIconNew.svg`,bt=`${t}/acquirerRed.svg`,yt=`${t}/gateway.svg`,St=`${t}/acquirerOrange.svg`,kt=`${o}/status/capturedAuthorize.svg`,At=`${t}/merchantInitiated.svg`,Bt=`${t}/rightArow.svg`,Ct=`${o}/blackRightArrow.svg`,ft=`${t}/orangeFlag.svg`,Pt=`${t}/openFlag.svg`,Dt=`${t}/closedFlag.svg`,Wt=`${t}/redFlag.svg`,Tt=`${t}/grayFlag.svg`,Nt=`${t}/downArrow.svg`,Gt=`${t}/check.svg`,Lt=`${t}/closeX.svg`,Ft=`${t}/drag.svg`,Ot=`${t}/checkboxIcon.svg`,Rt=`${o}/plusWhite.svg`,_t=`${t}/checkboxIcon.svg`,Et=`${o}/Uniso.svg`,zt=`${o}/addidas.svg`,Mt=`${o}/radioButtonChecked.svg`,Ut=`${o}/radioButtonUnchecked.svg`,Vt=`${o}/Mac.svg`,qt=`${o}/blueCheckIconZigzag.svg`,Ht=`${o}/greenCheckIconZigzag.svg`,Yt=`${o}/dimmedCheckIconZigzag.svg`,jt=`${o}/marketPlaceBlue.svg`,Zt=`${o}/marketplaceBlackIcon.svg`,Qt=`${o}/marketPlaceDimmed.svg`,Xt=`${o}/moneyOut.svg`,Jt=`${o}/moneyOutDimmed.svg`,Kt=`${o}/moneyIn.svg`,oe=`${o}/moneyInDimmed.svg`,te=`${o}/message.svg`,ee=`${o}/pending.svg`,ne=`${o}/payStream.svg`,ce=`${o}/clearCoin.svg`,se=`${t}/walletSmall.svg`,re=`${t}/bank.svg`,ae=`${t}/hijri.svg`,ie=`${t}/darkLeftArrow.svg`,pe=`${t}/darkRightArrow.svg`,ge=`${t}/spinnerLoading.svg`,ve=`${t}/spinnerLoadingAnimated.svg`,Ie=`${t}/actionFail.svg`,de=`${t}/actionSuccess.svg`,le=`${t}/checkMark.svg`,xe=`${t}/logout.svg`,$e=`${t}/preferences.svg`,ue=`${t}/transform.svg`,he=`${t}/token.svg`,me=`${t}/billing.svg`,we=`${t}/receiptBill.svg`,be=`${o}/newReceiptIcon.svg`,ye=`${t}/acceptance.svg`,Se=`${o}/acceptanceEnabled.svg`,ke=`${o}/acceptanceBlue.svg`,Ae=`${o}/payoutsGreen.svg`,Be=`${t}/acceptanceAppIconDisabled.svg`,Ce=`${t}/payoutsAppIconDisabled.svg`,fe=`${o}/payoutEnabled.svg`,Pe=`${o}/payoutAppGreenIcon.svg`,De=`${o}/payoutDisabledRounded.svg`,We=`${o}/acceptanceDisabledRounded.svg`,Te=`${t}/AuthenticationApp.svg`,Ne=`${t}/walletApp.svg`,Ge=`${t}/payouts.svg`,Le=`${t}/protect.svg`,Fe=`${t}/customers.svg`,Oe=`${t}/business.svg`,Re=`${t}/account.svg`,_e=`${t}/disableCheck.svg`,Ee=`${t}/wifiOff.svg`,ze=`${t}/SandboxHovered.svg`,Me=`${t}/Sandbox.svg`,Ue=`${t}/ExclamationError.svg`,Ve=`${t}/greyCheck.svg`,qe=`${t}/greyCross.svg`,He=`${t}/blueCheck.svg`,Ye=`${t}/disabledCheck.svg`,je=`${t}/darkCheck.svg`,Ze=`${t}/collapseArrow.svg`,Qe=`${t}/world.svg`,Xe=`${t}/grayUpArrow.svg`,Je=`${t}/blackHeadingDownArrowIcon.svg`,Ke=`${t}/blueHeadingDropdownArrow.svg`,on=`${t}/dropdownArrow.svg`,tn=`${t}/greyDropdownIcon.svg`,en=`${t}/business2.svg`,nn=`${t}/development.svg`,cn=`${t}/financial.svg`,sn=`${t}/light_master_orchestrator.svg`,rn=`${t}/platform.svg`,an=`${t}/provider.svg`,pn=`${t}/appPlatform.svg`,gn=`${t}/authenticationGateway.svg`,vn=`${t}/billingPlatform.svg`,In=`${t}/commercePlatform.svg`,dn=`${t}/commercialRegulator.svg`,ln=`${t}/merchantServiceProvider.svg`,xn=`${t}/paymentAcquirer.svg`,$n=`${t}/paymentFacilitator.svg`,un=`${t}/paymentGatewayProvider.svg`,hn=`${t}/paymentIssuer.svg`,mn=`${t}/paymentMethod.svg`,wn=`${t}/paymentProcessor.svg`,bn=`${t}/paymentScheme.svg`,yn=`${t}/paymentTechnologyV2.svg`,Sn=`${t}/paymentTerminalProvider.svg`,kn=`${t}/retailPlatform.svg`,An=`${t}/retailer.svg`,Bn=`${t}/light_business.svg`,Cn=`${t}/light_development.svg`,fn=`${t}/financial.svg`,Pn=`${t}/light_master_orchestrator.svg`,Dn=`${t}/light_platform.svg`,Wn=`${t}/provider.svg`,Tn=`${t}/light_app_platform.svg`,Nn=`${t}/light_authentication_gateway.svg`,Gn=`${t}/light_billing_platform.svg`,Ln=`${t}/light_commerce_platform.svg`,Fn=`${t}/light_commercial_regulator.svg`,On=`${t}/light_merchant_service_provider.svg`,Rn=`${t}/light_payment_acquirer.svg`,_n=`${t}/light_payment_facilitator.svg`,En=`${t}/light_payment_gateway_provider.svg`,zn=`${t}/light_payment_issuer.svg`,Mn=`${t}/light_payment_method.svg`,Un=`${t}/light_payment_processor.svg`,Vn=`${t}/light_payment_scheme.svg`,qn=`${t}/light_payment_technology_v2.svg`,Hn=`${t}/light_payment_terminal_provider.svg`,Yn=`${t}/light_retail_platform.svg`,jn=`${t}/light_retailer.svg`,Zn=`${t}/brandGray.svg`,Qn=`${o}/grayCircleIcon.svg`,Xn=`${t}/json.svg`,Jn=`${t}/jsonBlackIcon.svg`,Kn=`${t}/sort1.svg`,oc=`${t}/SandboxHoveredLight.svg`,tc=`${t}/emailColoured.svg`,ec=`${o}/OrderIcon.svg`,nc=`${o}/TransactionIcon.svg`,cc=`${o}/GenericIcon.svg`,sc=`${t}/smsColoured.svg`,rc=`${t}/whatsAppColored.svg`,ac=`${t}/dueDateBlue.svg`,ic=`${t}/dueDateOrange.svg`,pc=`${t}/dueDateYellow.svg`,gc=`${t}/dueDateRed.svg`,vc=`${t}/dueDateBlack.svg`,Ic=`${t}/dueDateGray.svg`,dc=`${t}/timerBlue.svg`,lc=`${t}/expiredIcon.svg`,xc=`${t}/remindedRed.svg`,$c=`${t}/chevronWhite.svg`,uc=`${t}/chevronGray.svg`,hc=`${t}/notVerified.svg`,mc=`${t}/verified.svg`,wc=`${t}/verifyReview.svg`,bc=`${o}/window/attention.svg`,yc=`${o}/window/initalAcceptance.svg`,Sc=`${o}/window/completedAcceptance.svg`,kc=`${o}/window/initalPayouts.svg`,Ac=`${o}/window/completedPayouts.svg`,Bc=`${t}/collapseArrowsIcon.svg`,Cc=`${t}/expandArrowsIcon.svg`,fc=`${t}/greenArrowRight.svg`,Pc=`${t}/greenArrowLeft1.svg`,Dc=`${t}/greenIconWithArrowUp.svg`,Wc=`${t}/whiteArrowRight.svg`,Tc=`${t}/whiteArrowLeft.svg`,Nc=`${o}/HSBCBank.svg`,Gc=`${o}/shopifyIcon.svg`,Lc=`${o}/verifiedGreenBadge.svg`,Fc=`${o}/backButtonLeft.svg`,Oc=`${o}/eyeHideIcon.svg`,Rc=`${o}/eyeShowIcon.svg`,_c=`${t}/uploadIcon.svg`,Ec=`${o}/window/uploadGreyIcon.svg`,zc=`${o}/uploadAppIcon.svg`,Mc=`${o}/window/paylinkGreyIcon.svg`,Uc=`${o}/paylinkAppIcon.svg`,Vc=`${o}/inprogressIcon.svg`,qc=`${o}/redCloseCircleIcon.svg`,Hc=`${t}/uploadBlueIcon.svg`,Yc=`${t}/SandboxHovered.svg`,jc=`${t}/sandboxDefaultIcon.svg`,Zc=`${t}/SandboxIcon.svg`,Qc=`${t}/clock.svg`,Xc=`${t}/RedClose.svg`,Jc=`${t}/xls.svg`,Kc=`${t}/csv.svg`,os=`${t}/pdf.svg`,ts=`${t}/Download.svg`,es=`${t}/reportsIconOutlined.svg`,ns=`${t}/Done.svg`,cs=`${t}/reportApps.svg`,ss=`${o}/window/ReportsApp.svg`,rs=`${o}/window/leadApp.svg`,as=`${o}/window/leadTitleIcon.svg`,is=`${t}/OrderApp.svg`,ps=`${t}/OrderTitleIcon.svg`,gs=`${o}/dottedLine.svg`,vs=`${o}/passwordDots.svg`,Is=`${o}/dollarSign.svg`,ds=`${o}/reload.svg`,ls=`${t}/deletedStatus1.svg`,xs=`${t}/draftedStatus1.svg`,$s=`${t}/createdStatus1.svg`,us=`${t}/cancelledStatus1.svg`,hs=`${t}/expiredStatus1.svg`,ms=`${t}/paidStatus1.svg`,ws=`${t}/deliveredStatus1.svg`,bs=`${t}/viewedStatus1.svg`,ys=`${t}/savedStatus1.svg`,Ss=`${t}/scheduledStatus1.svg`,ks=`${t}/invoicePendingStatus2.svg`,As=`${t}/invoiceRefundedStatus2.svg`,Bs=`${o}/activeLeadStatus.svg`,Cs=`${o}/completedLeadStatus.svg`,fs=`${o}/closedLeadStatus.svg`,Ps=`${o}/expiredLeadStatus.svg`,Ds=`${o}/readyLeadStatus.svg`,Ws=`${o}/fileIcon.svg`,Ts=`${o}/clipboardFileGrayIcon.svg`,Ns=`${o}/newFileIcon.svg`,Gs=`${o}/downloadFileIcon.svg`,Ls=`${o}/progressFileIcon.svg`,Fs=`${o}/successFileIcon.svg`,Os=`${o}/whiteArrowDownIcon.svg`,Rs=`${o}/teamWindowIcon.svg`,_s=`${o}/blueAppsIcon.svg`,Es=`${o}/disabledCardIcon.svg`,zs=`${o}/disabledCodeIcon.svg`,Ms=`${o}/layersIcon.svg`,Us=`${o}/status/pendingOnTapIcon.svg`,Vs=`${o}/leadWhiteIcon.svg`,qs=`${t}/chatDisabledIcon.svg`,Hs=`${o}/exclamationDarkIcon.svg`,Ys=`${t}/exclamationWarning.svg`,js=`${o}/exclamationError.svg`,Zs=`${o}/exclamationOrangeIcon.svg`,Qs=`${t}/greenCheckV2.svg`,Xs=`${o}/iosIcon1.svg`,Js=`${o}/androidIcon.svg`,Ks=`${o}/websiteIcon.svg`,or=`${t}/greyApple.svg`,tr=`${t}/greyLocationIcon.svg`,er=`${t}/greyDesktopIcon.svg`,nr=`${t}/greyTimezone.svg`,cr=`${t}/safariBrowser.svg`,sr=`${t}/chromeBrowser.svg`,rr=`${t}/firefoxBrowser.svg`,ar=`${t}/microsoftBrowser.svg`,ir=`${t}/operaBrowser.svg`,pr=`${t}/braveBrowser.svg`,gr=`${t}/arcBrowser.svg`,vr=`${t}/chromiumBrowser.svg`,Ir=`${t}/userIcon.svg`,dr=`${t}/slaProcess.svg`,lr=`${o}/window/slaProcess.svg`,xr=`${o}/orchestrationApp.svg`,$r=`${o}/window/orchestration.svg`,ur=`${o}/window/orchestrationWindowBg.svg`,hr=`${o}/lendingApp.svg`,mr=`${o}/window/lending.svg`,wr=`${o}/lendingProviderApp.svg`,br=`${o}/deemaApp.svg`,yr=`${o}/window/deema.svg`,Sr=`${o}/fast.svg`,kr=`${o}/bankBlue.svg`,Ar=`${o}/mosque.svg`,Br=`${o}/mosqueBlack.svg`,Cr=`${o}/moonStar.svg`,fr=`${o}/car.svg`,Pr=`${o}/handCoinsWhite.svg`,Dr=`${o}/corporateLoan.svg`,Wr=`${o}/corporateLoanBlack.svg`,Tr=`${o}/platformApp.svg`,Nr=`${o}/window/platform.svg`,Gr=`${o}/osApp.svg`,Lr=`${o}/window/osApp.svg`,Fr=`${o}/riskApp.svg`,Or=`${o}/window/riskApp.svg`,Rr=`${o}/status/table/abandoned.svg`,_r=`${o}/status/table/cancelled.svg`,Er=`${o}/status/table/captured.svg`,zr=`${o}/status/table/chargeBack.svg`,Mr=`${o}/status/table/chargeBackRequested.svg`,Ur=`${o}/status/table/completed.svg`,Vr=`${o}/status/table/declined.svg`,qr=`${o}/status/table/destinationReversed.svg`,Hr=`${t}/DestinationWithoutBackground.svg`,Yr=`${o}/status/table/disputeResolved.svg`,jr=`${o}/status/table/failed.svg`,Zr=`${o}/status/table/failedNoBG.svg`,Qr=`${o}/status/table/declinedNoBg.svg`,Xr=`${t}/destinationSuccess.svg`,Jr=`${o}/status/authenticationFailed.svg`,Kr=`${o}/status/table/authenticated.svg`,oa=`${o}/paidOutFilterIcon.svg`,ta=`${o}/completedBlackIcon.svg`,ea=`${o}/scheduledFilterIcon.svg`,na=`${o}/saveTokenIcon.svg`,ca=`${o}/status/unauthenticated.svg`,sa=`${o}/status/authenticationAttempted.svg`,ra=`${o}/status/authenticationNoAuth.svg`,aa=`${o}/status/authenticationDeclined.svg`,ia=`${o}/status/authenticationExemptedWithoutTransaction1.svg`,pa=`${o}/status/authenticationExemptedWithTransaction2.svg`,ga=`${o}/status/authenticationFailed1.svg`,va=`${o}/status/authenticationInitiated.svg`,Ia=`${o}/status/authenticationUnavailable.svg`,da=`${o}/status/authenticationUndetermined.svg`,la=`${o}/status/AuthenticationWithoutTransaction1.svg`,xa=`${o}/status/authenticationWithTransaction1 2.svg`,$a=`${o}/status/AuthenticationAuthenticated.svg`,ua=`${o}/status/authenticationPending2.svg`,ha=`${o}/authenticationFailedNoBg.svg`,ma=`${o}/authenticationPendingNoBg.svg`,wa=`${o}/authenticationNoAuthNoBg.svg`,ba=`${o}/authenticationAttemptedNoBg.svg`,ya=`${o}/authenticationExemptedWithTransactionNoBg.svg`,Sa=`${o}/authenticationExemptedWithoutTransactionNoBg.svg`,ka=`${o}/authenticationDeclinedNoBg.svg`,Aa=`${o}/authenticationUnavailableNoBg.svg`,Ba=`${o}/authenticationUndeterminedNoBg.svg`,Ca=`${o}/authenticatedSuccessNoBg.svg`,fa=`${o}/authenticationWithTransactionNoBg.svg`,Pa=`${o}/authenticationWithoutTransactionNoBg.svg`,Da=`${o}/greyPlusIcon.svg`,Wa=`${o}/greyMinusIcon.svg`,Ta=`${o}/noPreviewIcon.svg`,Na=`${o}/other/editIcon.svg`,Ga=`${t}/viewInvoice.svg`,La=`${t}/checkoutStatus.svg`,Fa=`${t}/checkStatusOutBlue.svg`,Oa=`${t}/checkoutWithMarkStatus.svg`,Ra=`${t}/intentExpiredStatus.svg`,_a=`${t}/intentInitiatedStatus.svg`,Ea=`${t}/intentCancelledStatus.svg`,za=`${t}/intentTransactedStatus.svg`,Ma=`${o}/SheetViewUnionIcon.svg`,Ua=`${o}/sheetView.svg`,Va=`${o}/abandonedNoBG.svg`,qa=`${o}/status/table/paidOut.svg`,Ha=`${o}/status/table/reversePayout.svg`,Ya=`${o}/status/pendingPayout.svg`,ja=`${t}/whiteCloseIcon.svg`,Za=`${o}/window/empty.svg`,Qa=`${o}/loaderWhiteIcon.svg`,Xa=`${t}/reverseActionIcon.svg`,Ja=`${o}/status/authenticationWallet.svg`,Ka=`${o}/status/authenticationApp.svg`,oi=`${o}/status/authenticationBiometric.svg`,ti=`${o}/status/authenticationDevice.svg`,ei=`${o}/status/authenticationIssuer.svg`,ni=`${o}/status/authenticationScheme.svg`,ci=`${o}/pin.svg`,si=`${o}/unpin.svg`,ri=`${t}/switcher.svg`,ai=`${o}/closedStatusIcon.svg`,ii=`${o}/verticalLine.svg`,pi=`${o}/previewModeIcon.svg`,gi=`${o}/status/table/tokensSaved.svg`,vi=`${o}/status/table/tokensTransacted.svg`,Ii=`${o}/status/table/tokensExpired.svg`,di=`${o}/status/table/tokensPending.svg`,li=`${o}/status/table/tokenCardIcon.svg`,xi=`${t}/TableloadingSpinner.svg`,$i=`${t}/loadingSpinnerWhite.svg`,ui=`${o}/spinnerLoadingBlue.svg`,hi=`${o}/backgroundLoader.svg`,mi=`${t}/arrowUpBlue1.svg`,wi=`${t}/BlueCheckMarkShadowed1.svg`,bi=`${t}/cardViewButton.svg`,yi=`${t}/listViewButton1.svg`,Si=`${o}/BlueArrowUpIcon.svg`,ki=`${o}/BlueCircleLoaderIcon.svg`,Ai=`${o}/appsGridIcon2.svg`,Bi=`${o}/whiteFilter.svg`,Ci=`${o}/grayCloseIcon.svg`,fi=`${o}/status/OrderAgreementIcon.svg`,Pi=`${o}/status/InstallmentAgreementIcon.svg`,Di=`${o}/status/CardAgreementIcon.svg`,Wi=`${o}/status/SubscriptionAgreementIcon.svg`,Ti=`${o}/brandPlaceholder.svg`,Ni=`${o}/users-icons.svg`,Gi=`${o}/Board-Icons.svg`,Li=`${t}/No Agreement.svg`,Fi=`${o}/window/acceptance.svg`,Oi=`${o}/window/wallet.svg`,Ri=`${o}/window/billing.svg`,_i=`${o}/window/customers.svg`,Ei=`${o}/window/payout.svg`,zi=`${o}/window/protect.svg`,Mi=`${o}/window/tokens.svg`,Ui=`${o}/window/account.svg`,Vi=`${o}/window/businesses.svg`,qi=`${o}/window/authentication.svg`,Hi=`${t}/reportsIcon.svg`,Yi=`${o}/window/tokensReports.svg`,ji=`${o}/window/brand.svg`,Zi=`${o}/window/entity.svg`,Qi=`${o}/window/bank.svg`,Xi=`${o}/window/individual.svg`,Ji=`${o}/window/password.svg`,Ki=`${o}/actionsIcon.svg`,op=`${o}/addItem.svg`,tp=`${o}/attachIcon.svg`,ep=`${o}/CollapseArrows.svg`,np=`${o}/customerIcon.svg`,cp=`${o}/discountIcon.svg`,sp=`${o}/emailIcon.svg`,rp=`${o}/emailBlackIcon.svg`,ap=`${o}/linkTiltedIcon.svg`,ip=`${o}/ExpandArrows.svg`,pp=`${o}/feeIcon.svg`,gp=`${o}/minusIcon.svg`,vp=`${o}/noteIcon.svg`,Ip=`${o}/pdfGrayIcon.svg`,dp=`${o}/productLabel.svg`,lp=`${o}/quantityIcon.svg`,xp=`${o}/removeItem.svg`,$p=`${t}/removeItem2.svg`,up=`${o}/smsIcon.svg`,hp=`${o}/taxIcon.svg`,mp=`${o}/totalAmountIcon.svg`,wp=`${o}/unfocusRemoveItem.svg`,bp=`${o}/whatsappIcon1.svg`,yp=`${o}/whiteArrow2.svg`,Sp=`${o}/newInvoice.svg`,kp=`${o}/activeActionIcon.svg`,Ap=`${o}/grayProductLabel.svg`,Bp=`${o}/plusQty.svg`,Cp=`${t}/downArrow3.svg`,fp=`${o}/customer.svg`,Pp=`${t}/note.svg`,Dp=`${o}/blueNoteIcon.svg`,Wp=`${t}/attach.svg`,Tp=`${o}/lateFee.svg`,Np=`${o}/addItemIcon.svg`,Gp=`${o}/blueCheckIcon.svg`,Lp=`${t}/trash-bin.svg`,Fp=`${o}/redTrashBin.svg`,Op=`${o}/blueVerifyIcon.svg`,Rp=`${o}/verificationDarkBlue.svg`,_p=`${o}/grayVerifyIcon.svg`,Ep=`${o}/greenVerifyIcon.svg`,zp=`${o}/redVerifyIcon.svg`,Mp=`${o}/closedVerifyIcon.svg`,Up=`${o}/archivedVerifyIcon.svg`,Vp=`${o}/penIcon.svg`,qp=`${t}/listShadow.svg`,Hp=`${o}/defaultCountryIcon.svg`,Yp=`${o}/defaultDeviceIcon.svg`,jp=`${o}/biometric.svg`,Zp=`${o}/3dsBlue.svg`,Qp=`${t}/createCharge.svg`,Xp=`${t}/successCheck.svg`,Jp=`${t}/receipt.svg`,Kp=`${t}/browserTimezone.svg`,og=`${t}/entityTimezone.svg`,tg=`${t}/historyTimezone.svg`,eg=`${t}/smallBlueCheck.svg`,ng=`${t}/fileDownloadBlue.svg`,cg=`${t}/fileDownloadGrey.svg`,sg=`${o}/meta.svg`,rg=`${o}/darkFilterIcon.svg`,ag=`${o}/resize-icon.svg`,ig=`${o}/home.svg`,pg=`${o}/lockIcon.svg`,gg=`${o}/Calendar.svg`,vg=`${o}/status-v2/autoCapturedNoBG.svg`,Ig=`${o}/status-v2/autoVoidNoBG.svg`,dg=`${o}/status-v2/cancelledNoBG.svg`,lg=`${o}/status-v2/capturedNoBG.svg`,xg=`${o}/status-v2/declinedNoBG.svg`,$g=`${o}/status-v2/destinationsNoBG.svg`,ug=`${o}/status-v2/failedNoBG.svg`,hg=`${o}/status-v2/gatewayOrange.svg`,mg=`${o}/status-v2/gatewayRedNoBG.svg`,wg=`${o}/status-v2/paidoutNoBG.svg`,bg=`${o}/status-v2/refundedIconNoBG2.svg`,yg=`${o}/status-v2/refundInitiatedNoBG.svg`,Sg=`${o}/status-v2/refundSettledNoBG.svg`,kg=`${o}/status-v2/refundNotSettledNoBG.svg`,Ag=`${o}/status-v2/restrictedNoBG.svg`,Bg=`${o}/status-v2/settledNoBG.svg`,Cg=`${o}/status-v2/settlementInitiatedNoBG.svg`,fg=`${o}/status-v2/timeoutNoBG.svg`,Pg=`${o}/status-v2/unavailableNoBG.svg`,Dg=`${o}/status-v2/unknownNoBG.svg`,Wg=`${o}/status-v2/void.svg`,Tg=`${o}/status-v2/authorizeNoBG.svg`,Ng=`${o}/status-v2/initiatedNoBG.svg`,Gg=`${o}/websiteBlueIcon.svg`,Lg=`${o}/androidAppIcon.svg`,Fg=`${o}/iOSAppIcon.svg`,Og=`${o}/physicalLocationIcon.svg`,Rg=`${o}/socialLinksIcon.svg`,_g=`${o}/smallLeftArrow.svg`,Eg=`${o}/searchBlueIcon.svg`,zg=`${t}/rightLightArrow.svg`,Mg=`${t}/segmentInstitution.svg`,Ug=`${t}/segmentTechnology.svg`,Vg=`${t}/segmentDevelopmentHouse.svg`,qg=`${t}/terminal.svg`,Hg=`${o}/window/terminal.svg`,Yg=`${o}/terminalCardPhone.svg`,jg=`${o}/ToastPOS.svg`,Zg=`${o}/terminalTypeIcon.svg`,Qg=`${o}/terminalBrush.svg`,Xg=`${o}/terminalBrushMuted.svg`,Jg=`${o}/navigationIcon.svg`,Kg=`${o}/babyBlueCheckIcon.svg`,ov=`${o}/digitalReceiptIcon.svg`,tv=`${o}/bankNoteIcon.svg`,ev=`${o}/terminalDeviceFrame.svg`,nv=`${o}/blackBrushIcon.svg`,cv=`${o}/mutedOutlinedCheckIcon.svg`,sv=`${o}/outlinedPlatformIcon.svg`,rv=`${o}/navigationPointerBlack.svg`,av=`${o}/addIconWhite.svg`,iv=`${o}/greyUpArrow.svg`,pv=`${o}/greyDownArrow.svg`,gv=`${o}/services/brandService.svg`,vv=`${o}/services/authorizationService.svg`,Iv=`${o}/services/chargebacksService.svg`,dv=`${o}/services/chargesService.svg`,lv=`${o}/services/destinationsService.svg`,xv=`${o}/services/entityService.svg`,$v=`${o}/services/invoiceService.svg`,uv=`${o}/services/payoutService.svg`,hv=`${o}/services/refundsService.svg`,mv=`${o}/services/usersService.svg`,wv=`${o}/services/walletService.svg`,bv=`${o}/services/intentsService.svg`,yv=`${o}/services/insightsService.svg`,Sv=`${o}/services/retailersService.svg`,kv=`${o}/services/terminalService.svg`,Av=`${o}/services/createLead.svg`,Bv=`${o}/services/viewLead.svg`,Cv=`${o}/archievedOutlined.svg`,fv=`${o}/closeOutlinedCircle.svg`,Pv=`${o}/dashedOutlinedCircle.svg`,Dv=`${o}/deactivatedCircle.svg`,Wv=`${o}/deactivatedOutlinedCircleV2.svg`,Tv=`${o}/exclamationOutlinedCircle.svg`,Nv=`${o}/questionOutlinedCircle.svg`,Gv=`${o}/outlinedCircle.svg`,Lv=`${o}/greenCheck2ACE00.svg`,Fv=`${o}/blueCopyIcon.svg`,Ov=`${o}/blackLinkIcon.svg`,Rv=`${o}/blackSettingsIcon.svg`,_v=`${o}/blackWallet.svg`,Ev=`${o}/blueGradientBrushIcon.svg`,zv=`${o}/gadientLink.svg`,Mv=`${o}/blackDeviceIcon.svg`,Uv=`${o}/gradientDeviceIcon.svg`,Vv=`${o}/gradientSettings.svg`,qv=`${o}/gradientWallet.svg`,Hv=`${o}/codeIcon.svg`,Yv=`${o}/manyCurrencyCoin.svg`,jv=`${o}/manyCurrencyCoinGradient.svg`,Zv=`${o}/blackMobileBatteryIcon.svg`,Qv=`${o}/blackMobileSignalIcon.svg`,Xv=`${o}/emptyMobileWifiIcon.svg`,Jv=`${o}/deemaWithLabel.svg`,Kv=`${o}/chargeBackWhiteIcon.svg`,oI=`${o}/blackUnLinkIcon.svg`,tI=`${o}/sortDescArrowIcon.svg`,eI=`${o}/sortAscArrowIcon.svg`,nI=`${o}/closedOutlinedYellowCircle.svg`,cI=`${o}/deactivatedOrangeCircle.svg`,sI=`${o}/deactivatedCircleV2.svg`,rI=`${o}/exclamationOutlinedOrangeCircle.svg`,aI=`${o}/activeGreenIcon.svg`,iI=`${o}/activeBlue.svg`,pI=`${o}/inActiveGreyIcon.svg`,gI=`${s}/terminal_link.mp4`,vI=`${o}/bluePlusIcon.svg`,II=`${o}/blackSettingsVariant2Icon.svg`,dI=`${o}/exclamationWhite.svg`,lI=`${t}/blueCircleWithWhiteCheck.svg`,xI=`${o}/externalLink.svg`,$I=`${o}/settingsIcon.svg`,uI=`${o}/flipIcon.svg`,hI=`${o}/shoppingCart.svg`,mI=`${o}/verifyAvatar.svg`,wI=`${o}/helpCircle.svg`,bI=`${o}/provider/CYBERSOURCE.svg`,yI=`${o}/provider/MPGS.svg`,SI=`${o}/provider/NETCETERA.svg`,kI=`${o}/provider/TAP3DS.svg`,AI=`${o}/provider/BENEFIT_PAY.svg`,BI=`${o}/provider/BENEFIT.svg`,CI=`${o}/provider/CAREEM_PAY.svg`,fI=`${o}/provider/DEEMA.svg`,PI=`${o}/provider/FAWRY.svg`,DI=`${o}/provider/FSS.svg`,WI=`${o}/provider/KNET.svg`,TI=`${o}/provider/MEEZA.svg`,NI=`${o}/provider/NGENIUS.svg`,GI=`${o}/provider/NPG.svg`,LI=`${o}/provider/OMAN_NET.svg`,FI=`${o}/provider/PAYPAL.svg`,OI=`${o}/provider/POSTPAY.svg`,RI=`${o}/provider/QPAY.svg`,_I=`${o}/provider/SPG.svg`,EI=`${o}/provider/STC_PAY.svg`,zI=`${o}/provider/TABBY.svg`,MI=`${o}/provider/TAMARA.svg`,UI=`${o}/provider/TPAY.svg`,VI=`${o}/provider/TPG.svg`,qI=`${o}/downloadBlue.svg`,HI=`${o}/eyeBlue.svg`,YI=`${o}/fastBlack.svg`,jI=`${o}/repeat.svg`,ZI=`${o}/shield.svg`,QI=`${o}/fileMinus.svg`,XI=`${o}/percent.svg`,JI=`${o}/cardUpload.svg`,KI=`${o}/startConnector.svg`,od=`${o}/endConnector.svg`,td=`${o}/filledConnector.svg`,ed=`${o}/dottedConnector.svg`,nd=`${o}/play.svg`,cd=`${o}/merchantAttributes.svg`,sd=`${o}/issuerAttributes.svg`,rd=`${o}/refresh.svg`,ad=`${o}/riskAttributes.svg`,id=`${o}/exclude.svg`,pd=`${o}/earlySettlements.svg`,gd=`${o}/financedBy.svg`,vd=`${o}/financeFeatures.svg`,Id=`${o}/loanAmount.svg`,dd=`${o}/murabhaFinance.svg`,ld=`${o}/testimonial.svg`,xd=`${a}/bulk-refund-template.xlsx`,$d=`${o}/emptyCopyIcon.svg`,ud=`${o}/deactiveIcon.svg`,hd=`${o}/disableIcon.svg`,md=`${o}/extendIcon.svg`,wd=`${o}/payers.svg`,bd=`${o}/gatewayIcon.svg`;
2
- export{eo as $,nt as $a,ne as $b,nn as $c,cc as $d,cs as $e,cr as $f,ca as $g,ci as $h,cp as $i,cg as $j,cv as $k,cI as $l,cd as $m,P as A,Do as Aa,Dt as Ab,De as Ac,Wn as Ad,Wc as Ae,Ws as Af,Wr as Ag,Wa as Ah,Wi as Ai,Wp as Aj,Wg as Ak,Wv as Al,WI as Am,D as B,Wo as Ba,Wt as Bb,We as Bc,Tn as Bd,Tc as Be,Ts as Bf,Tr as Bg,Ta as Bh,Ti as Bi,Tp as Bj,Tg as Bk,Tv as Bl,TI as Bm,W as C,To as Ca,Tt as Cb,Te as Cc,Nn as Cd,Nc as Ce,Ns as Cf,Nr as Cg,Na as Ch,Ni as Ci,Np as Cj,Ng as Ck,Nv as Cl,NI as Cm,T as D,No as Da,Nt as Db,Ne as Dc,Gn as Dd,Gc as De,Gs as Df,Gr as Dg,Ga as Dh,Gi as Di,Gp as Dj,Gg as Dk,Gv as Dl,GI as Dm,N as E,Go as Ea,Gt as Eb,Ge as Ec,Ln as Ed,Lc as Ee,Ls as Ef,Lr as Eg,La as Eh,Li as Ei,Lp as Ej,Lg as Ek,Lv as El,LI as Em,G as F,Lo as Fa,Lt as Fb,Le as Fc,Fn as Fd,Fc as Fe,Fs as Ff,Fr as Fg,Fa as Fh,Fi,Fp as Fj,Fg as Fk,Fv as Fl,FI as Fm,L as G,Fo as Ga,Ft as Gb,Fe as Gc,On as Gd,Oc as Ge,Os as Gf,Or as Gg,Oa as Gh,Oi as Gi,Op as Gj,Og as Gk,Ov as Gl,OI as Gm,F as H,Oo as Ha,Ot as Hb,Oe as Hc,Rn as Hd,Rc as He,Rs as Hf,Rr as Hg,Ra as Hh,Ri as Hi,Rp as Hj,Rg as Hk,Rv as Hl,RI as Hm,O as I,Ro as Ia,Rt as Ib,Re as Ic,_n as Id,_c as Ie,_s as If,_r as Ig,_a as Ih,_i as Ii,_p as Ij,_g as Ik,_v as Il,_I as Im,R as J,_o as Ja,_t as Jb,_e as Jc,En as Jd,Ec as Je,Es as Jf,Er as Jg,Ea as Jh,Ei as Ji,Ep as Jj,Eg as Jk,Ev as Jl,EI as Jm,_ as K,Eo as Ka,Et as Kb,Ee as Kc,zn as Kd,zc as Ke,zs as Kf,zr as Kg,za as Kh,zi as Ki,zp as Kj,zg as Kk,zv as Kl,zI as Km,E as L,zo as La,zt as Lb,ze as Lc,Mn as Ld,Mc as Le,Ms as Lf,Mr as Lg,Ma as Lh,Mi as Li,Mp as Lj,Mg as Lk,Mv as Ll,MI as Lm,z as M,Mo as Ma,Mt as Mb,Me as Mc,Un as Md,Uc as Me,Us as Mf,Ur as Mg,Ua as Mh,Ui as Mi,Up as Mj,Ug as Mk,Uv as Ml,UI as Mm,M as N,Uo as Na,Ut as Nb,Ue as Nc,Vn as Nd,Vc as Ne,Vs as Nf,Vr as Ng,Va as Nh,Vi as Ni,Vp as Nj,Vg as Nk,Vv as Nl,VI as Nm,U as O,Vo as Oa,Vt as Ob,Ve as Oc,qn as Od,qc as Oe,qs as Of,qr as Og,qa as Oh,qi as Oi,qp as Oj,qg as Ok,qv as Ol,qI as Om,V as P,qo as Pa,qt as Pb,qe as Pc,Hn as Pd,Hc as Pe,Hs as Pf,Hr as Pg,Ha as Ph,Hi as Pi,Hp as Pj,Hg as Pk,Hv as Pl,HI as Pm,q as Q,Ho as Qa,Ht as Qb,He as Qc,Yn as Qd,Yc as Qe,Ys as Qf,Yr as Qg,Ya as Qh,Yi as Qi,Yp as Qj,Yg as Qk,Yv as Ql,YI as Qm,H as R,Yo as Ra,Yt as Rb,Ye as Rc,jn as Rd,jc as Re,js as Rf,jr as Rg,ja as Rh,ji as Ri,jp as Rj,jg as Rk,jv as Rl,jI as Rm,Y as S,jo as Sa,jt as Sb,je as Sc,Zn as Sd,Zc as Se,Zs as Sf,Zr as Sg,Za as Sh,Zi as Si,Zp as Sj,Zg as Sk,Zv as Sl,ZI as Sm,j as T,Zo as Ta,Zt as Tb,Ze as Tc,Qn as Td,Qc as Te,Qs as Tf,Qr as Tg,Qa as Th,Qi as Ti,Qp as Tj,Qg as Tk,Qv as Tl,QI as Tm,Z as U,Qo as Ua,Qt as Ub,Qe as Uc,Xn as Ud,Xc as Ue,Xs as Uf,Xr as Ug,Xa as Uh,Xi as Ui,Xp as Uj,Xg as Uk,Xv as Ul,XI as Um,Q as V,Xo as Va,Xt as Vb,Xe as Vc,Jn as Vd,Jc as Ve,Js as Vf,Jr as Vg,Ja as Vh,Ji as Vi,Jp as Vj,Jg as Vk,Jv as Vl,JI as Vm,X as W,Jo as Wa,Jt as Wb,Je as Wc,Kn as Wd,Kc as We,Ks as Wf,Kr as Wg,Ka as Wh,Ki as Wi,Kp as Wj,Kg as Wk,Kv as Wl,KI as Wm,J as X,Ko as Xa,Kt as Xb,Ke as Xc,oc as Xd,os as Xe,or as Xf,oa as Xg,oi as Xh,op as Xi,og as Xj,ov as Xk,oI as Xl,od as Xm,K as Y,ot as Ya,oe as Yb,on as Yc,tc as Yd,ts as Ye,tr as Yf,ta as Yg,ti as Yh,tp as Yi,tg as Yj,tv as Yk,tI as Yl,td as Ym,oo as Z,tt as Za,te as Zb,tn as Zc,ec as Zd,es as Ze,er as Zf,ea as Zg,ei as Zh,ep as Zi,eg as Zj,ev as Zk,eI as Zl,ed as Zm,to as _,et as _a,ee as _b,en as _c,nc as _d,ns as _e,nr as _f,na as _g,ni as _h,np as _i,ng as _j,nv as _k,nI as _l,nd as _m,o as a,no as aa,ct as ab,ce as ac,cn as ad,sc as ae,ss as af,sr as ag,sa as ah,si as ai,sp as aj,sg as ak,sv as al,sI as am,sd as an,t as b,co as ba,st as bb,se as bc,sn as bd,rc as be,rs as bf,rr as bg,ra as bh,ri as bi,rp as bj,rg as bk,rv as bl,rI as bm,rd as bn,i as c,so as ca,rt as cb,re as cc,rn as cd,ac as ce,as as cf,ar as cg,aa as ch,ai as ci,ap as cj,ag as ck,av as cl,aI as cm,ad as cn,s as d,ro as da,at as db,ae as dc,an as dd,ic as de,is as df,ir as dg,ia as dh,ii as di,ip as dj,ig as dk,iv as dl,iI as dm,id as dn,r as e,ao as ea,it as eb,ie as ec,pn as ed,pc as ee,ps as ef,pr as eg,pa as eh,pi as ei,pp as ej,pg as ek,pv as el,pI as em,pd as en,a as f,io as fa,pt as fb,pe as fc,gn as fd,gc as fe,gs as ff,gr as fg,ga as fh,gi as fi,gp as fj,gg as fk,gv as fl,gI as fm,gd as fn,p as g,po as ga,gt as gb,ge as gc,vn as gd,vc as ge,vs as gf,vr as gg,va as gh,vi as gi,vp as gj,vg as gk,vv as gl,vI as gm,vd as gn,g as h,go as ha,vt as hb,ve as hc,In as hd,Ic as he,Is as hf,Ir as hg,Ia as hh,Ii as hi,Ip as hj,Ig as hk,Iv as hl,II as hm,Id as hn,v as i,vo as ia,It as ib,Ie as ic,dn as id,dc as ie,ds as if,dr as ig,da as ih,di as ii,dp as ij,dg as ik,dv as il,dI as im,dd as in,I as j,Io as ja,dt as jb,de as jc,ln as jd,lc as je,ls as jf,lr as jg,la as jh,li as ji,lp as jj,lg as jk,lv as jl,lI as jm,ld as jn,d as k,lo as ka,lt as kb,le as kc,xn as kd,xc as ke,xs as kf,xr as kg,xa as kh,xi as ki,xp as kj,xg as kk,xv as kl,xI as km,xd as kn,l,xo as la,xt as lb,xe as lc,$n as ld,$c as le,$s as lf,$r as lg,$a as lh,$i as li,$p as lj,$g as lk,$v as ll,$I as lm,$d as ln,x as m,$o as ma,$t as mb,$e as mc,un as md,uc as me,us as mf,ur as mg,ua as mh,ui as mi,up as mj,ug as mk,uv as ml,uI as mm,ud as mn,$ as n,uo as na,ut as nb,ue as nc,hn as nd,hc as ne,hs as nf,hr as ng,ha as nh,hi as ni,hp as nj,hg as nk,hv as nl,hI as nm,hd as nn,u as o,ho as oa,ht as ob,he as oc,mn as od,mc as oe,ms as of,mr as og,ma as oh,mi as oi,mp as oj,mg as ok,mv as ol,mI as om,md as on,h as p,mo as pa,mt as pb,me as pc,wn as pd,wc as pe,ws as pf,wr as pg,wa as ph,wi as pi,wp as pj,wg as pk,wv as pl,wI as pm,wd as pn,m as q,wo as qa,wt as qb,we as qc,bn as qd,bc as qe,bs as qf,br as qg,ba as qh,bi as qi,bp as qj,bg as qk,bv as ql,bI as qm,bd as qn,w as r,bo as ra,bt as rb,be as rc,yn as rd,yc as re,ys as rf,yr as rg,ya as rh,yi as ri,yp as rj,yg as rk,yv as rl,yI as rm,b as s,yo as sa,yt as sb,ye as sc,Sn as sd,Sc as se,Ss as sf,Sr as sg,Sa as sh,Si as si,Sp as sj,Sg as sk,Sv as sl,SI as sm,y as t,So as ta,St as tb,Se as tc,kn as td,kc as te,ks as tf,kr as tg,ka as th,ki as ti,kp as tj,kg as tk,kv as tl,kI as tm,S as u,ko as ua,kt as ub,ke as uc,An as ud,Ac as ue,As as uf,Ar as ug,Aa as uh,Ai as ui,Ap as uj,Ag as uk,Av as ul,AI as um,k as v,Ao as va,At as vb,Ae as vc,Bn as vd,Bc as ve,Bs as vf,Br as vg,Ba as vh,Bi as vi,Bp as vj,Bg as vk,Bv as vl,BI as vm,A as w,Bo as wa,Bt as wb,Be as wc,Cn as wd,Cc as we,Cs as wf,Cr as wg,Ca as wh,Ci as wi,Cp as wj,Cg as wk,Cv as wl,CI as wm,B as x,Co as xa,Ct as xb,Ce as xc,fn as xd,fc as xe,fs as xf,fr as xg,fa as xh,fi as xi,fp as xj,fg as xk,fv as xl,fI as xm,C as y,fo as ya,ft as yb,fe as yc,Pn as yd,Pc as ye,Ps as yf,Pr as yg,Pa as yh,Pi as yi,Pp as yj,Pg as yk,Pv as yl,PI as ym,f as z,Po as za,Pt as zb,Pe as zc,Dn as zd,Dc as ze,Ds as zf,Dr as zg,Da as zh,Di as zi,Dp as zj,Dg as zk,Dv as zl,DI as zm};
1
+ var n="https://cdn.tap.company/tap-assets",o=`${n}/icons/dashboard/light`,t=`${o}/other`,i=`${o}/function`,s=`${n}/videos`,r=`${n}/files`,a=`${r}/templates`,p=e=>`${o}/${e}.svg`,g=e=>`${o}/payment-method/v2/${e}.svg`,v=e=>`${o}/payment-issuer/${e}.svg`,I=e=>`${o}/country/v3/${e}.svg`,d=e=>`${o}/function/${e}.svg`,l=e=>`${o}/statusIcons/${e}.svg`,x=e=>`${n}/currency/v3/light/${e}.svg`,$=e=>{let c=e.replace(/\s/g,"");return `${n}/icons/dashboard/light/authority/v2/${c}.svg`},u=e=>`${o}/browsers/${e}.svg`,h=e=>`${o}/payment-initiator/${e}.svg`,m=e=>`${o}/payment-gateways/${e}.svg`,w=e=>`${o}/aging/${e}.svg`,b=`${o}/currency/sar.svg`,y=`${o}/currency/dirham.svg`,S=`${o}/abandoned.svg`,k=`${o}/abandonedYellow.svg`,A=`${o}/chevron-down.svg`,B=`${o}/sliderThumb.svg`,C=`${o}/removeIcon.svg`,f=`${o}/reversed.svg`,P=`${o}/destinationSolid.svg`,D=`${o}/search.svg`,W=`${o}/unauthorized.svg`,T=`${o}/view.svg`,N=`${o}/reports.svg`,G=`${o}/flag.svg`,L=`${o}/dispute.svg`,F=`${o}/timezone.svg`,O=`${o}/greyTimezone.svg`,R=`${o}/subscription.svg`,_=`${o}/savedCard.svg`,E=`${o}/egypt.svg`,z=`${o}/saudiArabia.svg`,M=`${o}/jordan.svg`,U=`${o}/lebanon.svg`,V=`${o}/kuwait.svg`,q=`${o}/unitedArabEmirates.svg`,H=`${o}/europe.svg`,Y=`${o}/bahrain.svg`,j=`${o}/america.svg`,Z=`${o}/payment-method/v2/card.svg`,Q=`${o}/payment-method/v2/UnionPay.svg`,X=`${o}/payment-method/v2/JAYWAN.svg`,J=`${o}/device.svg`,K=`${o}/expressCheckout.svg`,oo=`${o}/applePay.svg`,to=`${o}/cash.svg`,eo=`${o}/passThruWallet.svg`,no=`${o}/storedValueWallet.svg`,co=`${o}/buyNowPayLater.svg`,so=`${o}/openBanking.svg`,ro=`${o}/FrictionlessIcon.svg`,ao=`${o}/ChallengeIcon.svg`,io=`${o}/visa.svg`,po=`${o}/redArrowDownIcon.svg`,go=`${o}/completed.svg`,vo=`${o}/chargebackRequested.svg`,Io=`${o}/chargeback.svg`,lo=`${t}/captureDropdown.svg`,xo=`${o}/disputeResolved.svg`,$o=`${o}/reversePayout.svg`,uo=`${o}/ellipsisHorizontal.svg`,ho=`${o}/3ds.svg`,mo=`${o}/invoiceIdIcon3.svg`,wo=`${o}/idIcon3.svg`,bo=`${o}/id.svg`,yo=`${t}/copyIcon.svg`,So=`${t}/codeIcon.svg`,ko=`${t}/GreenCheckMark2.svg`,Ao=`${o}/closedDispute.svg`,Bo=`${o}/openDispute.svg`,Co=`${o}/desktop.svg`,fo=`${o}/mobile.svg`,Po=`${o}/tablet.svg`,Do=`${o}/invoice.svg`,Wo=`${o}/cancelledInvoiceIcon.svg`,To=`${o}/expiredInvoiceIcon.svg`,No=`${o}/invoiceNumberIcon.svg`,Go=`${o}/column.svg`,Lo=`${o}/sortAz.svg`,Fo=`${o}/sortZa.svg`,Oo=`${o}/zipFile.svg`,Ro=`${o}/successWhiteBg.svg`,_o=`${o}/failedWhiteBgIcon.svg`,Eo=`${o}/exclamationGreyIcon.svg`,zo=`${o}/exclamationDarkGreyIcon.svg`,Mo=`${o}/percentage0.svg`,Uo=`${o}/percentage50.svg`,Vo=`${o}/percentage75.svg`,qo=`${o}/percentage100.svg`,Ho=`${o}/maximize.svg`,Yo=`${o}/minimize.svg`,jo=`${o}/close.svg`,Zo=`${o}/dashedCheckIcon.svg`,Qo=`${o}/outstandingIcon.svg`,Xo=`${o}/cancelledStatusIcon.svg`,Jo=`${o}/expiredStatusIcon.svg`,Ko=`${o}/paidStatusIcon.svg`,ot=`${o}/refundedStatusIcon.svg`,tt=`${o}/deactivatedIcon.svg`,et=`${o}/topup.svg`,nt=`${o}/AIOverviewIcon.svg`,ct=`${t}/demaximize.svg`,st=`${o}/pendingFlag.svg`,rt=`${o}/ibanIcon.svg`,at=`${o}/payoutIcon.svg`,it=`${o}/releasedFlag.svg`,pt=`${o}/acceptedFlag.svg`,gt=`${o}/clearIcon.svg`,vt=`${o}/status/unCaptured.svg`,It=`${t}/newWindow.svg`,dt=`${t}/viewAll.svg`,lt=`${t}/allApps.svg`,xt=`${t}/hide.svg`,$t=`${t}/close.svg`,ut=`${t}/star.svg`,ht=`${t}/closeCircle.svg`,mt=`${t}/acquirer.svg`,wt=`${o}/GenericIconNew.svg`,bt=`${t}/acquirerRed.svg`,yt=`${t}/gateway.svg`,St=`${t}/acquirerOrange.svg`,kt=`${o}/status/capturedAuthorize.svg`,At=`${t}/merchantInitiated.svg`,Bt=`${t}/rightArow.svg`,Ct=`${o}/blackRightArrow.svg`,ft=`${t}/orangeFlag.svg`,Pt=`${t}/openFlag.svg`,Dt=`${t}/closedFlag.svg`,Wt=`${t}/redFlag.svg`,Tt=`${t}/grayFlag.svg`,Nt=`${t}/downArrow.svg`,Gt=`${t}/check.svg`,Lt=`${t}/closeX.svg`,Ft=`${t}/drag.svg`,Ot=`${t}/checkboxIcon.svg`,Rt=`${o}/plusWhite.svg`,_t=`${t}/checkboxIcon.svg`,Et=`${o}/Uniso.svg`,zt=`${o}/addidas.svg`,Mt=`${o}/radioButtonChecked.svg`,Ut=`${o}/radioButtonUnchecked.svg`,Vt=`${o}/Mac.svg`,qt=`${o}/blueCheckIconZigzag.svg`,Ht=`${o}/greenCheckIconZigzag.svg`,Yt=`${o}/dimmedCheckIconZigzag.svg`,jt=`${o}/marketPlaceBlue.svg`,Zt=`${o}/marketplaceBlackIcon.svg`,Qt=`${o}/marketPlaceDimmed.svg`,Xt=`${o}/moneyOut.svg`,Jt=`${o}/moneyOutDimmed.svg`,Kt=`${o}/moneyIn.svg`,oe=`${o}/moneyInDimmed.svg`,te=`${o}/message.svg`,ee=`${o}/pending.svg`,ne=`${o}/payStream.svg`,ce=`${o}/clearCoin.svg`,se=`${t}/walletSmall.svg`,re=`${t}/bank.svg`,ae=`${t}/hijri.svg`,ie=`${t}/darkLeftArrow.svg`,pe=`${t}/darkRightArrow.svg`,ge=`${t}/spinnerLoading.svg`,ve=`${t}/spinnerLoadingAnimated.svg`,Ie=`${t}/actionFail.svg`,de=`${t}/actionSuccess.svg`,le=`${t}/checkMark.svg`,xe=`${t}/logout.svg`,$e=`${t}/preferences.svg`,ue=`${t}/transform.svg`,he=`${t}/token.svg`,me=`${t}/billing.svg`,we=`${t}/receiptBill.svg`,be=`${o}/newReceiptIcon.svg`,ye=`${t}/acceptance.svg`,Se=`${o}/acceptanceEnabled.svg`,ke=`${o}/acceptanceBlue.svg`,Ae=`${o}/payoutsGreen.svg`,Be=`${t}/acceptanceAppIconDisabled.svg`,Ce=`${t}/payoutsAppIconDisabled.svg`,fe=`${o}/payoutEnabled.svg`,Pe=`${o}/payoutAppGreenIcon.svg`,De=`${o}/payoutDisabledRounded.svg`,We=`${o}/acceptanceDisabledRounded.svg`,Te=`${t}/AuthenticationApp.svg`,Ne=`${t}/walletApp.svg`,Ge=`${t}/payouts.svg`,Le=`${t}/protect.svg`,Fe=`${t}/customers.svg`,Oe=`${t}/business.svg`,Re=`${t}/account.svg`,_e=`${t}/disableCheck.svg`,Ee=`${t}/wifiOff.svg`,ze=`${t}/SandboxHovered.svg`,Me=`${t}/Sandbox.svg`,Ue=`${t}/ExclamationError.svg`,Ve=`${t}/greyCheck.svg`,qe=`${t}/greyCross.svg`,He=`${t}/blueCheck.svg`,Ye=`${t}/disabledCheck.svg`,je=`${t}/darkCheck.svg`,Ze=`${t}/collapseArrow.svg`,Qe=`${t}/world.svg`,Xe=`${t}/grayUpArrow.svg`,Je=`${t}/blackHeadingDownArrowIcon.svg`,Ke=`${t}/blueHeadingDropdownArrow.svg`,on=`${t}/dropdownArrow.svg`,tn=`${t}/greyDropdownIcon.svg`,en=`${t}/business2.svg`,nn=`${t}/development.svg`,cn=`${t}/financial.svg`,sn=`${t}/light_master_orchestrator.svg`,rn=`${t}/platform.svg`,an=`${t}/provider.svg`,pn=`${t}/appPlatform.svg`,gn=`${t}/authenticationGateway.svg`,vn=`${t}/billingPlatform.svg`,In=`${t}/commercePlatform.svg`,dn=`${t}/commercialRegulator.svg`,ln=`${t}/merchantServiceProvider.svg`,xn=`${t}/paymentAcquirer.svg`,$n=`${t}/paymentFacilitator.svg`,un=`${t}/paymentGatewayProvider.svg`,hn=`${t}/paymentIssuer.svg`,mn=`${t}/paymentMethod.svg`,wn=`${t}/paymentProcessor.svg`,bn=`${t}/paymentScheme.svg`,yn=`${t}/paymentTechnologyV2.svg`,Sn=`${t}/paymentTerminalProvider.svg`,kn=`${t}/retailPlatform.svg`,An=`${t}/retailer.svg`,Bn=`${t}/light_business.svg`,Cn=`${t}/light_development.svg`,fn=`${t}/financial.svg`,Pn=`${t}/light_master_orchestrator.svg`,Dn=`${t}/light_platform.svg`,Wn=`${t}/provider.svg`,Tn=`${t}/light_app_platform.svg`,Nn=`${t}/light_authentication_gateway.svg`,Gn=`${t}/light_billing_platform.svg`,Ln=`${t}/light_commerce_platform.svg`,Fn=`${t}/light_commercial_regulator.svg`,On=`${t}/light_merchant_service_provider.svg`,Rn=`${t}/light_payment_acquirer.svg`,_n=`${t}/light_payment_facilitator.svg`,En=`${t}/light_payment_gateway_provider.svg`,zn=`${t}/light_payment_issuer.svg`,Mn=`${t}/light_payment_method.svg`,Un=`${t}/light_payment_processor.svg`,Vn=`${t}/light_payment_scheme.svg`,qn=`${t}/light_payment_technology_v2.svg`,Hn=`${t}/light_payment_terminal_provider.svg`,Yn=`${t}/light_retail_platform.svg`,jn=`${t}/light_retailer.svg`,Zn=`${t}/brandGray.svg`,Qn=`${o}/grayCircleIcon.svg`,Xn=`${t}/json.svg`,Jn=`${t}/jsonBlackIcon.svg`,Kn=`${t}/sort1.svg`,oc=`${t}/SandboxHoveredLight.svg`,tc=`${t}/emailColoured.svg`,ec=`${o}/OrderIcon.svg`,nc=`${o}/TransactionIcon.svg`,cc=`${o}/GenericIcon.svg`,sc=`${t}/smsColoured.svg`,rc=`${t}/whatsAppColored.svg`,ac=`${t}/dueDateBlue.svg`,ic=`${t}/dueDateOrange.svg`,pc=`${t}/dueDateYellow.svg`,gc=`${t}/dueDateRed.svg`,vc=`${t}/dueDateBlack.svg`,Ic=`${t}/dueDateGray.svg`,dc=`${t}/timerBlue.svg`,lc=`${t}/expiredIcon.svg`,xc=`${t}/remindedRed.svg`,$c=`${t}/chevronWhite.svg`,uc=`${t}/chevronGray.svg`,hc=`${t}/notVerified.svg`,mc=`${t}/verified.svg`,wc=`${t}/verifyReview.svg`,bc=`${o}/window/attention.svg`,yc=`${o}/window/initalAcceptance.svg`,Sc=`${o}/window/completedAcceptance.svg`,kc=`${o}/window/initalPayouts.svg`,Ac=`${o}/window/completedPayouts.svg`,Bc=`${t}/collapseArrowsIcon.svg`,Cc=`${t}/expandArrowsIcon.svg`,fc=`${t}/greenArrowRight.svg`,Pc=`${t}/greenArrowLeft1.svg`,Dc=`${t}/greenIconWithArrowUp.svg`,Wc=`${t}/whiteArrowRight.svg`,Tc=`${t}/whiteArrowLeft.svg`,Nc=`${o}/HSBCBank.svg`,Gc=`${o}/shopifyIcon.svg`,Lc=`${o}/verifiedGreenBadge.svg`,Fc=`${o}/backButtonLeft.svg`,Oc=`${o}/eyeHideIcon.svg`,Rc=`${o}/eyeShowIcon.svg`,_c=`${t}/uploadIcon.svg`,Ec=`${o}/window/uploadGreyIcon.svg`,zc=`${o}/uploadAppIcon.svg`,Mc=`${o}/window/paylinkGreyIcon.svg`,Uc=`${o}/paylinkAppIcon.svg`,Vc=`${o}/inprogressIcon.svg`,qc=`${o}/redCloseCircleIcon.svg`,Hc=`${t}/uploadBlueIcon.svg`,Yc=`${t}/SandboxHovered.svg`,jc=`${t}/sandboxDefaultIcon.svg`,Zc=`${t}/SandboxIcon.svg`,Qc=`${t}/clock.svg`,Xc=`${t}/RedClose.svg`,Jc=`${t}/xls.svg`,Kc=`${t}/csv.svg`,os=`${t}/pdf.svg`,ts=`${t}/Download.svg`,es=`${t}/reportsIconOutlined.svg`,ns=`${t}/Done.svg`,cs=`${t}/reportApps.svg`,ss=`${o}/window/ReportsApp.svg`,rs=`${o}/window/leadApp.svg`,as=`${o}/window/leadTitleIcon.svg`,is=`${t}/OrderApp.svg`,ps=`${t}/OrderTitleIcon.svg`,gs=`${o}/dottedLine.svg`,vs=`${o}/passwordDots.svg`,Is=`${o}/dollarSign.svg`,ds=`${o}/reload.svg`,ls=`${t}/deletedStatus1.svg`,xs=`${t}/draftedStatus1.svg`,$s=`${t}/createdStatus1.svg`,us=`${t}/cancelledStatus1.svg`,hs=`${t}/expiredStatus1.svg`,ms=`${t}/paidStatus1.svg`,ws=`${t}/deliveredStatus1.svg`,bs=`${t}/viewedStatus1.svg`,ys=`${t}/savedStatus1.svg`,Ss=`${t}/scheduledStatus1.svg`,ks=`${t}/invoicePendingStatus2.svg`,As=`${t}/invoiceRefundedStatus2.svg`,Bs=`${o}/activeLeadStatus.svg`,Cs=`${o}/completedLeadStatus.svg`,fs=`${o}/closedLeadStatus.svg`,Ps=`${o}/expiredLeadStatus.svg`,Ds=`${o}/readyLeadStatus.svg`,Ws=`${o}/fileIcon.svg`,Ts=`${o}/clipboardFileGrayIcon.svg`,Ns=`${o}/newFileIcon.svg`,Gs=`${o}/downloadFileIcon.svg`,Ls=`${o}/progressFileIcon.svg`,Fs=`${o}/successFileIcon.svg`,Os=`${o}/whiteArrowDownIcon.svg`,Rs=`${o}/teamWindowIcon.svg`,_s=`${o}/blueAppsIcon.svg`,Es=`${o}/disabledCardIcon.svg`,zs=`${o}/disabledCodeIcon.svg`,Ms=`${o}/layersIcon.svg`,Us=`${o}/status/pendingOnTapIcon.svg`,Vs=`${o}/leadWhiteIcon.svg`,qs=`${t}/chatDisabledIcon.svg`,Hs=`${o}/exclamationDarkIcon.svg`,Ys=`${t}/exclamationWarning.svg`,js=`${o}/exclamationError.svg`,Zs=`${o}/exclamationOrangeIcon.svg`,Qs=`${t}/greenCheckV2.svg`,Xs=`${o}/iosIcon1.svg`,Js=`${o}/androidIcon.svg`,Ks=`${o}/websiteIcon.svg`,or=`${t}/greyApple.svg`,tr=`${t}/greyLocationIcon.svg`,er=`${t}/greyDesktopIcon.svg`,nr=`${t}/greyTimezone.svg`,cr=`${t}/safariBrowser.svg`,sr=`${t}/chromeBrowser.svg`,rr=`${t}/firefoxBrowser.svg`,ar=`${t}/microsoftBrowser.svg`,ir=`${t}/operaBrowser.svg`,pr=`${t}/braveBrowser.svg`,gr=`${t}/arcBrowser.svg`,vr=`${t}/chromiumBrowser.svg`,Ir=`${t}/userIcon.svg`,dr=`${t}/slaProcess.svg`,lr=`${o}/window/slaProcess.svg`,xr=`${o}/orchestrationApp.svg`,$r=`${o}/window/orchestration.svg`,ur=`${o}/window/orchestrationWindowBg.svg`,hr=`${o}/lendingApp.svg`,mr=`${o}/window/lending.svg`,wr=`${o}/lendingProviderApp.svg`,br=`${o}/deemaApp.svg`,yr=`${o}/window/deema.svg`,Sr=`${o}/fast.svg`,kr=`${o}/bankBlue.svg`,Ar=`${o}/mosque.svg`,Br=`${o}/mosqueBlack.svg`,Cr=`${o}/moonStar.svg`,fr=`${o}/car.svg`,Pr=`${o}/handCoinsWhite.svg`,Dr=`${o}/list.svg`,Wr=`${o}/corporateLoan.svg`,Tr=`${o}/corporateLoanBlack.svg`,Nr=`${o}/platformApp.svg`,Gr=`${o}/window/platform.svg`,Lr=`${o}/osApp.svg`,Fr=`${o}/window/osApp.svg`,Or=`${o}/riskApp.svg`,Rr=`${o}/window/riskApp.svg`,_r=`${o}/status/table/abandoned.svg`,Er=`${o}/status/table/cancelled.svg`,zr=`${o}/status/table/captured.svg`,Mr=`${o}/status/table/chargeBack.svg`,Ur=`${o}/status/table/chargeBackRequested.svg`,Vr=`${o}/status/table/completed.svg`,qr=`${o}/status/table/declined.svg`,Hr=`${o}/status/table/destinationReversed.svg`,Yr=`${t}/DestinationWithoutBackground.svg`,jr=`${o}/status/table/disputeResolved.svg`,Zr=`${o}/status/table/failed.svg`,Qr=`${o}/status/table/failedNoBG.svg`,Xr=`${o}/status/table/declinedNoBg.svg`,Jr=`${t}/destinationSuccess.svg`,Kr=`${o}/status/authenticationFailed.svg`,oa=`${o}/status/table/authenticated.svg`,ta=`${o}/paidOutFilterIcon.svg`,ea=`${o}/completedBlackIcon.svg`,na=`${o}/scheduledFilterIcon.svg`,ca=`${o}/saveTokenIcon.svg`,sa=`${o}/status/unauthenticated.svg`,ra=`${o}/status/authenticationAttempted.svg`,aa=`${o}/status/authenticationNoAuth.svg`,ia=`${o}/status/authenticationDeclined.svg`,pa=`${o}/status/authenticationExemptedWithoutTransaction1.svg`,ga=`${o}/status/authenticationExemptedWithTransaction2.svg`,va=`${o}/status/authenticationFailed1.svg`,Ia=`${o}/status/authenticationInitiated.svg`,da=`${o}/status/authenticationUnavailable.svg`,la=`${o}/status/authenticationUndetermined.svg`,xa=`${o}/status/AuthenticationWithoutTransaction1.svg`,$a=`${o}/status/authenticationWithTransaction1 2.svg`,ua=`${o}/status/AuthenticationAuthenticated.svg`,ha=`${o}/status/authenticationPending2.svg`,ma=`${o}/authenticationFailedNoBg.svg`,wa=`${o}/authenticationPendingNoBg.svg`,ba=`${o}/authenticationNoAuthNoBg.svg`,ya=`${o}/authenticationAttemptedNoBg.svg`,Sa=`${o}/authenticationExemptedWithTransactionNoBg.svg`,ka=`${o}/authenticationExemptedWithoutTransactionNoBg.svg`,Aa=`${o}/authenticationDeclinedNoBg.svg`,Ba=`${o}/authenticationUnavailableNoBg.svg`,Ca=`${o}/authenticationUndeterminedNoBg.svg`,fa=`${o}/authenticatedSuccessNoBg.svg`,Pa=`${o}/authenticationWithTransactionNoBg.svg`,Da=`${o}/authenticationWithoutTransactionNoBg.svg`,Wa=`${o}/greyPlusIcon.svg`,Ta=`${o}/greyMinusIcon.svg`,Na=`${o}/noPreviewIcon.svg`,Ga=`${o}/other/editIcon.svg`,La=`${t}/viewInvoice.svg`,Fa=`${t}/checkoutStatus.svg`,Oa=`${t}/checkStatusOutBlue.svg`,Ra=`${t}/checkoutWithMarkStatus.svg`,_a=`${t}/intentExpiredStatus.svg`,Ea=`${t}/intentInitiatedStatus.svg`,za=`${t}/intentCancelledStatus.svg`,Ma=`${t}/intentTransactedStatus.svg`,Ua=`${o}/SheetViewUnionIcon.svg`,Va=`${o}/sheetView.svg`,qa=`${o}/abandonedNoBG.svg`,Ha=`${o}/status/table/paidOut.svg`,Ya=`${o}/status/table/reversePayout.svg`,ja=`${o}/status/pendingPayout.svg`,Za=`${t}/whiteCloseIcon.svg`,Qa=`${o}/window/empty.svg`,Xa=`${o}/loaderWhiteIcon.svg`,Ja=`${t}/reverseActionIcon.svg`,Ka=`${o}/status/authenticationWallet.svg`,oi=`${o}/status/authenticationApp.svg`,ti=`${o}/status/authenticationBiometric.svg`,ei=`${o}/status/authenticationDevice.svg`,ni=`${o}/status/authenticationIssuer.svg`,ci=`${o}/status/authenticationScheme.svg`,si=`${o}/pin.svg`,ri=`${o}/unpin.svg`,ai=`${t}/switcher.svg`,ii=`${o}/closedStatusIcon.svg`,pi=`${o}/verticalLine.svg`,gi=`${o}/previewModeIcon.svg`,vi=`${o}/status/table/tokensSaved.svg`,Ii=`${o}/status/table/tokensTransacted.svg`,di=`${o}/status/table/tokensExpired.svg`,li=`${o}/status/table/tokensPending.svg`,xi=`${o}/status/table/tokenCardIcon.svg`,$i=`${t}/TableloadingSpinner.svg`,ui=`${t}/loadingSpinnerWhite.svg`,hi=`${o}/spinnerLoadingBlue.svg`,mi=`${o}/backgroundLoader.svg`,wi=`${t}/arrowUpBlue1.svg`,bi=`${t}/BlueCheckMarkShadowed1.svg`,yi=`${t}/cardViewButton.svg`,Si=`${t}/listViewButton1.svg`,ki=`${o}/BlueArrowUpIcon.svg`,Ai=`${o}/BlueCircleLoaderIcon.svg`,Bi=`${o}/appsGridIcon2.svg`,Ci=`${o}/whiteFilter.svg`,fi=`${o}/grayCloseIcon.svg`,Pi=`${o}/status/OrderAgreementIcon.svg`,Di=`${o}/status/InstallmentAgreementIcon.svg`,Wi=`${o}/status/CardAgreementIcon.svg`,Ti=`${o}/status/SubscriptionAgreementIcon.svg`,Ni=`${o}/brandPlaceholder.svg`,Gi=`${o}/users-icons.svg`,Li=`${o}/Board-Icons.svg`,Fi=`${t}/No Agreement.svg`,Oi=`${o}/window/acceptance.svg`,Ri=`${o}/window/wallet.svg`,_i=`${o}/window/billing.svg`,Ei=`${o}/window/customers.svg`,zi=`${o}/window/payout.svg`,Mi=`${o}/window/protect.svg`,Ui=`${o}/window/tokens.svg`,Vi=`${o}/window/account.svg`,qi=`${o}/window/businesses.svg`,Hi=`${o}/window/authentication.svg`,Yi=`${t}/reportsIcon.svg`,ji=`${o}/window/tokensReports.svg`,Zi=`${o}/window/brand.svg`,Qi=`${o}/window/entity.svg`,Xi=`${o}/window/bank.svg`,Ji=`${o}/window/individual.svg`,Ki=`${o}/window/password.svg`,op=`${o}/actionsIcon.svg`,tp=`${o}/addItem.svg`,ep=`${o}/attachIcon.svg`,np=`${o}/CollapseArrows.svg`,cp=`${o}/customerIcon.svg`,sp=`${o}/discountIcon.svg`,rp=`${o}/emailIcon.svg`,ap=`${o}/emailBlackIcon.svg`,ip=`${o}/linkTiltedIcon.svg`,pp=`${o}/ExpandArrows.svg`,gp=`${o}/feeIcon.svg`,vp=`${o}/minusIcon.svg`,Ip=`${o}/noteIcon.svg`,dp=`${o}/pdfGrayIcon.svg`,lp=`${o}/productLabel.svg`,xp=`${o}/quantityIcon.svg`,$p=`${o}/removeItem.svg`,up=`${t}/removeItem2.svg`,hp=`${o}/smsIcon.svg`,mp=`${o}/taxIcon.svg`,wp=`${o}/totalAmountIcon.svg`,bp=`${o}/unfocusRemoveItem.svg`,yp=`${o}/whatsappIcon1.svg`,Sp=`${o}/whiteArrow2.svg`,kp=`${o}/newInvoice.svg`,Ap=`${o}/activeActionIcon.svg`,Bp=`${o}/grayProductLabel.svg`,Cp=`${o}/plusQty.svg`,fp=`${t}/downArrow3.svg`,Pp=`${o}/customer.svg`,Dp=`${t}/note.svg`,Wp=`${o}/blueNoteIcon.svg`,Tp=`${t}/attach.svg`,Np=`${o}/lateFee.svg`,Gp=`${o}/addItemIcon.svg`,Lp=`${o}/blueCheckIcon.svg`,Fp=`${t}/trash-bin.svg`,Op=`${o}/redTrashBin.svg`,Rp=`${o}/blueVerifyIcon.svg`,_p=`${o}/verificationDarkBlue.svg`,Ep=`${o}/grayVerifyIcon.svg`,zp=`${o}/greenVerifyIcon.svg`,Mp=`${o}/redVerifyIcon.svg`,Up=`${o}/closedVerifyIcon.svg`,Vp=`${o}/archivedVerifyIcon.svg`,qp=`${o}/penIcon.svg`,Hp=`${t}/listShadow.svg`,Yp=`${o}/defaultCountryIcon.svg`,jp=`${o}/defaultDeviceIcon.svg`,Zp=`${o}/biometric.svg`,Qp=`${o}/3dsBlue.svg`,Xp=`${t}/createCharge.svg`,Jp=`${t}/successCheck.svg`,Kp=`${t}/receipt.svg`,og=`${t}/browserTimezone.svg`,tg=`${t}/entityTimezone.svg`,eg=`${t}/historyTimezone.svg`,ng=`${t}/smallBlueCheck.svg`,cg=`${t}/fileDownloadBlue.svg`,sg=`${t}/fileDownloadGrey.svg`,rg=`${o}/meta.svg`,ag=`${o}/darkFilterIcon.svg`,ig=`${o}/resize-icon.svg`,pg=`${o}/home.svg`,gg=`${o}/lockIcon.svg`,vg=`${o}/Calendar.svg`,Ig=`${o}/status-v2/autoCapturedNoBG.svg`,dg=`${o}/status-v2/autoVoidNoBG.svg`,lg=`${o}/status-v2/cancelledNoBG.svg`,xg=`${o}/status-v2/capturedNoBG.svg`,$g=`${o}/status-v2/declinedNoBG.svg`,ug=`${o}/status-v2/destinationsNoBG.svg`,hg=`${o}/status-v2/failedNoBG.svg`,mg=`${o}/status-v2/gatewayOrange.svg`,wg=`${o}/status-v2/gatewayRedNoBG.svg`,bg=`${o}/status-v2/paidoutNoBG.svg`,yg=`${o}/status-v2/refundedIconNoBG2.svg`,Sg=`${o}/status-v2/refundInitiatedNoBG.svg`,kg=`${o}/status-v2/refundSettledNoBG.svg`,Ag=`${o}/status-v2/refundNotSettledNoBG.svg`,Bg=`${o}/status-v2/restrictedNoBG.svg`,Cg=`${o}/status-v2/settledNoBG.svg`,fg=`${o}/status-v2/settlementInitiatedNoBG.svg`,Pg=`${o}/status-v2/timeoutNoBG.svg`,Dg=`${o}/status-v2/unavailableNoBG.svg`,Wg=`${o}/status-v2/unknownNoBG.svg`,Tg=`${o}/status-v2/void.svg`,Ng=`${o}/status-v2/authorizeNoBG.svg`,Gg=`${o}/status-v2/initiatedNoBG.svg`,Lg=`${o}/websiteBlueIcon.svg`,Fg=`${o}/androidAppIcon.svg`,Og=`${o}/iOSAppIcon.svg`,Rg=`${o}/physicalLocationIcon.svg`,_g=`${o}/socialLinksIcon.svg`,Eg=`${o}/smallLeftArrow.svg`,zg=`${o}/searchBlueIcon.svg`,Mg=`${t}/rightLightArrow.svg`,Ug=`${t}/segmentInstitution.svg`,Vg=`${t}/segmentTechnology.svg`,qg=`${t}/segmentDevelopmentHouse.svg`,Hg=`${t}/terminal.svg`,Yg=`${o}/window/terminal.svg`,jg=`${o}/terminalCardPhone.svg`,Zg=`${o}/ToastPOS.svg`,Qg=`${o}/terminalTypeIcon.svg`,Xg=`${o}/terminalBrush.svg`,Jg=`${o}/terminalBrushMuted.svg`,Kg=`${o}/navigationIcon.svg`,ov=`${o}/babyBlueCheckIcon.svg`,tv=`${o}/digitalReceiptIcon.svg`,ev=`${o}/bankNoteIcon.svg`,nv=`${o}/terminalDeviceFrame.svg`,cv=`${o}/blackBrushIcon.svg`,sv=`${o}/mutedOutlinedCheckIcon.svg`,rv=`${o}/outlinedPlatformIcon.svg`,av=`${o}/navigationPointerBlack.svg`,iv=`${o}/addIconWhite.svg`,pv=`${o}/greyUpArrow.svg`,gv=`${o}/greyDownArrow.svg`,vv=`${o}/services/brandService.svg`,Iv=`${o}/services/authorizationService.svg`,dv=`${o}/services/chargebacksService.svg`,lv=`${o}/services/chargesService.svg`,xv=`${o}/services/destinationsService.svg`,$v=`${o}/services/entityService.svg`,uv=`${o}/services/invoiceService.svg`,hv=`${o}/services/payoutService.svg`,mv=`${o}/services/refundsService.svg`,wv=`${o}/services/usersService.svg`,bv=`${o}/services/walletService.svg`,yv=`${o}/services/intentsService.svg`,Sv=`${o}/services/insightsService.svg`,kv=`${o}/services/retailersService.svg`,Av=`${o}/services/terminalService.svg`,Bv=`${o}/services/createLead.svg`,Cv=`${o}/services/viewLead.svg`,fv=`${o}/archievedOutlined.svg`,Pv=`${o}/closeOutlinedCircle.svg`,Dv=`${o}/dashedOutlinedCircle.svg`,Wv=`${o}/deactivatedCircle.svg`,Tv=`${o}/deactivatedOutlinedCircleV2.svg`,Nv=`${o}/exclamationOutlinedCircle.svg`,Gv=`${o}/questionOutlinedCircle.svg`,Lv=`${o}/outlinedCircle.svg`,Fv=`${o}/greenCheck2ACE00.svg`,Ov=`${o}/blueCopyIcon.svg`,Rv=`${o}/blackLinkIcon.svg`,_v=`${o}/blackSettingsIcon.svg`,Ev=`${o}/blackWallet.svg`,zv=`${o}/blueGradientBrushIcon.svg`,Mv=`${o}/gadientLink.svg`,Uv=`${o}/blackDeviceIcon.svg`,Vv=`${o}/gradientDeviceIcon.svg`,qv=`${o}/gradientSettings.svg`,Hv=`${o}/gradientWallet.svg`,Yv=`${o}/codeIcon.svg`,jv=`${o}/manyCurrencyCoin.svg`,Zv=`${o}/manyCurrencyCoinGradient.svg`,Qv=`${o}/blackMobileBatteryIcon.svg`,Xv=`${o}/blackMobileSignalIcon.svg`,Jv=`${o}/emptyMobileWifiIcon.svg`,Kv=`${o}/deemaWithLabel.svg`,oI=`${o}/chargeBackWhiteIcon.svg`,tI=`${o}/blackUnLinkIcon.svg`,eI=`${o}/sortDescArrowIcon.svg`,nI=`${o}/sortAscArrowIcon.svg`,cI=`${o}/closedOutlinedYellowCircle.svg`,sI=`${o}/deactivatedOrangeCircle.svg`,rI=`${o}/deactivatedCircleV2.svg`,aI=`${o}/exclamationOutlinedOrangeCircle.svg`,iI=`${o}/activeGreenIcon.svg`,pI=`${o}/activeBlue.svg`,gI=`${o}/inActiveGreyIcon.svg`,vI=`${s}/terminal_link.mp4`,II=`${o}/bluePlusIcon.svg`,dI=`${o}/blackSettingsVariant2Icon.svg`,lI=`${o}/exclamationWhite.svg`,xI=`${t}/blueCircleWithWhiteCheck.svg`,$I=`${o}/externalLink.svg`,uI=`${o}/settingsIcon.svg`,hI=`${o}/flipIcon.svg`,mI=`${o}/shoppingCart.svg`,wI=`${o}/verifyAvatar.svg`,bI=`${o}/helpCircle.svg`,yI=`${o}/provider/CYBERSOURCE.svg`,SI=`${o}/provider/MPGS.svg`,kI=`${o}/provider/NETCETERA.svg`,AI=`${o}/provider/TAP3DS.svg`,BI=`${o}/provider/BENEFIT_PAY.svg`,CI=`${o}/provider/BENEFIT.svg`,fI=`${o}/provider/CAREEM_PAY.svg`,PI=`${o}/provider/DEEMA.svg`,DI=`${o}/provider/FAWRY.svg`,WI=`${o}/provider/FSS.svg`,TI=`${o}/provider/KNET.svg`,NI=`${o}/provider/MEEZA.svg`,GI=`${o}/provider/NGENIUS.svg`,LI=`${o}/provider/NPG.svg`,FI=`${o}/provider/OMAN_NET.svg`,OI=`${o}/provider/PAYPAL.svg`,RI=`${o}/provider/POSTPAY.svg`,_I=`${o}/provider/QPAY.svg`,EI=`${o}/provider/SPG.svg`,zI=`${o}/provider/STC_PAY.svg`,MI=`${o}/provider/TABBY.svg`,UI=`${o}/provider/TAMARA.svg`,VI=`${o}/provider/TPAY.svg`,qI=`${o}/provider/TPG.svg`,HI=`${o}/downloadBlue.svg`,YI=`${o}/eyeBlue.svg`,jI=`${o}/fastBlack.svg`,ZI=`${o}/repeat.svg`,QI=`${o}/shield.svg`,XI=`${o}/fileMinus.svg`,JI=`${o}/percent.svg`,KI=`${o}/cardUpload.svg`,od=`${o}/startConnector.svg`,td=`${o}/endConnector.svg`,ed=`${o}/filledConnector.svg`,nd=`${o}/dottedConnector.svg`,cd=`${o}/play.svg`,sd=`${o}/merchantAttributes.svg`,rd=`${o}/issuerAttributes.svg`,ad=`${o}/refresh.svg`,id=`${o}/riskAttributes.svg`,pd=`${o}/exclude.svg`,gd=`${o}/earlySettlements.svg`,vd=`${o}/financedBy.svg`,Id=`${o}/financeFeatures.svg`,dd=`${o}/loanAmount.svg`,ld=`${o}/murabhaFinance.svg`,xd=`${o}/testimonial.svg`,$d=`${a}/bulk-refund-template.xlsx`,ud=`${o}/emptyCopyIcon.svg`,hd=`${o}/deactiveIcon.svg`,md=`${o}/disableIcon.svg`,wd=`${o}/extendIcon.svg`,bd=`${o}/payers.svg`,yd=`${o}/gatewayIcon.svg`;
2
+ export{eo as $,nt as $a,ne as $b,nn as $c,cc as $d,cs as $e,cr as $f,ca as $g,ci as $h,cp as $i,cg as $j,cv as $k,cI as $l,cd as $m,P as A,Do as Aa,Dt as Ab,De as Ac,Wn as Ad,Wc as Ae,Ws as Af,Wr as Ag,Wa as Ah,Wi as Ai,Wp as Aj,Wg as Ak,Wv as Al,WI as Am,D as B,Wo as Ba,Wt as Bb,We as Bc,Tn as Bd,Tc as Be,Ts as Bf,Tr as Bg,Ta as Bh,Ti as Bi,Tp as Bj,Tg as Bk,Tv as Bl,TI as Bm,W as C,To as Ca,Tt as Cb,Te as Cc,Nn as Cd,Nc as Ce,Ns as Cf,Nr as Cg,Na as Ch,Ni as Ci,Np as Cj,Ng as Ck,Nv as Cl,NI as Cm,T as D,No as Da,Nt as Db,Ne as Dc,Gn as Dd,Gc as De,Gs as Df,Gr as Dg,Ga as Dh,Gi as Di,Gp as Dj,Gg as Dk,Gv as Dl,GI as Dm,N as E,Go as Ea,Gt as Eb,Ge as Ec,Ln as Ed,Lc as Ee,Ls as Ef,Lr as Eg,La as Eh,Li as Ei,Lp as Ej,Lg as Ek,Lv as El,LI as Em,G as F,Lo as Fa,Lt as Fb,Le as Fc,Fn as Fd,Fc as Fe,Fs as Ff,Fr as Fg,Fa as Fh,Fi,Fp as Fj,Fg as Fk,Fv as Fl,FI as Fm,L as G,Fo as Ga,Ft as Gb,Fe as Gc,On as Gd,Oc as Ge,Os as Gf,Or as Gg,Oa as Gh,Oi as Gi,Op as Gj,Og as Gk,Ov as Gl,OI as Gm,F as H,Oo as Ha,Ot as Hb,Oe as Hc,Rn as Hd,Rc as He,Rs as Hf,Rr as Hg,Ra as Hh,Ri as Hi,Rp as Hj,Rg as Hk,Rv as Hl,RI as Hm,O as I,Ro as Ia,Rt as Ib,Re as Ic,_n as Id,_c as Ie,_s as If,_r as Ig,_a as Ih,_i as Ii,_p as Ij,_g as Ik,_v as Il,_I as Im,R as J,_o as Ja,_t as Jb,_e as Jc,En as Jd,Ec as Je,Es as Jf,Er as Jg,Ea as Jh,Ei as Ji,Ep as Jj,Eg as Jk,Ev as Jl,EI as Jm,_ as K,Eo as Ka,Et as Kb,Ee as Kc,zn as Kd,zc as Ke,zs as Kf,zr as Kg,za as Kh,zi as Ki,zp as Kj,zg as Kk,zv as Kl,zI as Km,E as L,zo as La,zt as Lb,ze as Lc,Mn as Ld,Mc as Le,Ms as Lf,Mr as Lg,Ma as Lh,Mi as Li,Mp as Lj,Mg as Lk,Mv as Ll,MI as Lm,z as M,Mo as Ma,Mt as Mb,Me as Mc,Un as Md,Uc as Me,Us as Mf,Ur as Mg,Ua as Mh,Ui as Mi,Up as Mj,Ug as Mk,Uv as Ml,UI as Mm,M as N,Uo as Na,Ut as Nb,Ue as Nc,Vn as Nd,Vc as Ne,Vs as Nf,Vr as Ng,Va as Nh,Vi as Ni,Vp as Nj,Vg as Nk,Vv as Nl,VI as Nm,U as O,Vo as Oa,Vt as Ob,Ve as Oc,qn as Od,qc as Oe,qs as Of,qr as Og,qa as Oh,qi as Oi,qp as Oj,qg as Ok,qv as Ol,qI as Om,V as P,qo as Pa,qt as Pb,qe as Pc,Hn as Pd,Hc as Pe,Hs as Pf,Hr as Pg,Ha as Ph,Hi as Pi,Hp as Pj,Hg as Pk,Hv as Pl,HI as Pm,q as Q,Ho as Qa,Ht as Qb,He as Qc,Yn as Qd,Yc as Qe,Ys as Qf,Yr as Qg,Ya as Qh,Yi as Qi,Yp as Qj,Yg as Qk,Yv as Ql,YI as Qm,H as R,Yo as Ra,Yt as Rb,Ye as Rc,jn as Rd,jc as Re,js as Rf,jr as Rg,ja as Rh,ji as Ri,jp as Rj,jg as Rk,jv as Rl,jI as Rm,Y as S,jo as Sa,jt as Sb,je as Sc,Zn as Sd,Zc as Se,Zs as Sf,Zr as Sg,Za as Sh,Zi as Si,Zp as Sj,Zg as Sk,Zv as Sl,ZI as Sm,j as T,Zo as Ta,Zt as Tb,Ze as Tc,Qn as Td,Qc as Te,Qs as Tf,Qr as Tg,Qa as Th,Qi as Ti,Qp as Tj,Qg as Tk,Qv as Tl,QI as Tm,Z as U,Qo as Ua,Qt as Ub,Qe as Uc,Xn as Ud,Xc as Ue,Xs as Uf,Xr as Ug,Xa as Uh,Xi as Ui,Xp as Uj,Xg as Uk,Xv as Ul,XI as Um,Q as V,Xo as Va,Xt as Vb,Xe as Vc,Jn as Vd,Jc as Ve,Js as Vf,Jr as Vg,Ja as Vh,Ji as Vi,Jp as Vj,Jg as Vk,Jv as Vl,JI as Vm,X as W,Jo as Wa,Jt as Wb,Je as Wc,Kn as Wd,Kc as We,Ks as Wf,Kr as Wg,Ka as Wh,Ki as Wi,Kp as Wj,Kg as Wk,Kv as Wl,KI as Wm,J as X,Ko as Xa,Kt as Xb,Ke as Xc,oc as Xd,os as Xe,or as Xf,oa as Xg,oi as Xh,op as Xi,og as Xj,ov as Xk,oI as Xl,od as Xm,K as Y,ot as Ya,oe as Yb,on as Yc,tc as Yd,ts as Ye,tr as Yf,ta as Yg,ti as Yh,tp as Yi,tg as Yj,tv as Yk,tI as Yl,td as Ym,oo as Z,tt as Za,te as Zb,tn as Zc,ec as Zd,es as Ze,er as Zf,ea as Zg,ei as Zh,ep as Zi,eg as Zj,ev as Zk,eI as Zl,ed as Zm,to as _,et as _a,ee as _b,en as _c,nc as _d,ns as _e,nr as _f,na as _g,ni as _h,np as _i,ng as _j,nv as _k,nI as _l,nd as _m,o as a,no as aa,ct as ab,ce as ac,cn as ad,sc as ae,ss as af,sr as ag,sa as ah,si as ai,sp as aj,sg as ak,sv as al,sI as am,sd as an,t as b,co as ba,st as bb,se as bc,sn as bd,rc as be,rs as bf,rr as bg,ra as bh,ri as bi,rp as bj,rg as bk,rv as bl,rI as bm,rd as bn,i as c,so as ca,rt as cb,re as cc,rn as cd,ac as ce,as as cf,ar as cg,aa as ch,ai as ci,ap as cj,ag as ck,av as cl,aI as cm,ad as cn,s as d,ro as da,at as db,ae as dc,an as dd,ic as de,is as df,ir as dg,ia as dh,ii as di,ip as dj,ig as dk,iv as dl,iI as dm,id as dn,r as e,ao as ea,it as eb,ie as ec,pn as ed,pc as ee,ps as ef,pr as eg,pa as eh,pi as ei,pp as ej,pg as ek,pv as el,pI as em,pd as en,a as f,io as fa,pt as fb,pe as fc,gn as fd,gc as fe,gs as ff,gr as fg,ga as fh,gi as fi,gp as fj,gg as fk,gv as fl,gI as fm,gd as fn,p as g,po as ga,gt as gb,ge as gc,vn as gd,vc as ge,vs as gf,vr as gg,va as gh,vi as gi,vp as gj,vg as gk,vv as gl,vI as gm,vd as gn,g as h,go as ha,vt as hb,ve as hc,In as hd,Ic as he,Is as hf,Ir as hg,Ia as hh,Ii as hi,Ip as hj,Ig as hk,Iv as hl,II as hm,Id as hn,v as i,vo as ia,It as ib,Ie as ic,dn as id,dc as ie,ds as if,dr as ig,da as ih,di as ii,dp as ij,dg as ik,dv as il,dI as im,dd as in,I as j,Io as ja,dt as jb,de as jc,ln as jd,lc as je,ls as jf,lr as jg,la as jh,li as ji,lp as jj,lg as jk,lv as jl,lI as jm,ld as jn,d as k,lo as ka,lt as kb,le as kc,xn as kd,xc as ke,xs as kf,xr as kg,xa as kh,xi as ki,xp as kj,xg as kk,xv as kl,xI as km,xd as kn,l,xo as la,xt as lb,xe as lc,$n as ld,$c as le,$s as lf,$r as lg,$a as lh,$i as li,$p as lj,$g as lk,$v as ll,$I as lm,$d as ln,x as m,$o as ma,$t as mb,$e as mc,un as md,uc as me,us as mf,ur as mg,ua as mh,ui as mi,up as mj,ug as mk,uv as ml,uI as mm,ud as mn,$ as n,uo as na,ut as nb,ue as nc,hn as nd,hc as ne,hs as nf,hr as ng,ha as nh,hi as ni,hp as nj,hg as nk,hv as nl,hI as nm,hd as nn,u as o,ho as oa,ht as ob,he as oc,mn as od,mc as oe,ms as of,mr as og,ma as oh,mi as oi,mp as oj,mg as ok,mv as ol,mI as om,md as on,h as p,mo as pa,mt as pb,me as pc,wn as pd,wc as pe,ws as pf,wr as pg,wa as ph,wi as pi,wp as pj,wg as pk,wv as pl,wI as pm,wd as pn,m as q,wo as qa,wt as qb,we as qc,bn as qd,bc as qe,bs as qf,br as qg,ba as qh,bi as qi,bp as qj,bg as qk,bv as ql,bI as qm,bd as qn,w as r,bo as ra,bt as rb,be as rc,yn as rd,yc as re,ys as rf,yr as rg,ya as rh,yi as ri,yp as rj,yg as rk,yv as rl,yI as rm,yd as rn,b as s,yo as sa,yt as sb,ye as sc,Sn as sd,Sc as se,Ss as sf,Sr as sg,Sa as sh,Si as si,Sp as sj,Sg as sk,Sv as sl,SI as sm,y as t,So as ta,St as tb,Se as tc,kn as td,kc as te,ks as tf,kr as tg,ka as th,ki as ti,kp as tj,kg as tk,kv as tl,kI as tm,S as u,ko as ua,kt as ub,ke as uc,An as ud,Ac as ue,As as uf,Ar as ug,Aa as uh,Ai as ui,Ap as uj,Ag as uk,Av as ul,AI as um,k as v,Ao as va,At as vb,Ae as vc,Bn as vd,Bc as ve,Bs as vf,Br as vg,Ba as vh,Bi as vi,Bp as vj,Bg as vk,Bv as vl,BI as vm,A as w,Bo as wa,Bt as wb,Be as wc,Cn as wd,Cc as we,Cs as wf,Cr as wg,Ca as wh,Ci as wi,Cp as wj,Cg as wk,Cv as wl,CI as wm,B as x,Co as xa,Ct as xb,Ce as xc,fn as xd,fc as xe,fs as xf,fr as xg,fa as xh,fi as xi,fp as xj,fg as xk,fv as xl,fI as xm,C as y,fo as ya,ft as yb,fe as yc,Pn as yd,Pc as ye,Ps as yf,Pr as yg,Pa as yh,Pi as yi,Pp as yj,Pg as yk,Pv as yl,PI as ym,f as z,Po as za,Pt as zb,Pe as zc,Dn as zd,Dc as ze,Ds as zf,Dr as zg,Da as zh,Di as zi,Dp as zj,Dg as zk,Dv as zl,DI as zm};
@@ -1 +1 @@
1
- import {i}from'./chunk-GIHEDH2G.js';import {a}from'./chunk-KHM5KW53.js';import {Aa}from'./chunk-CYVOT4K6.js';import ee,{memo,useMemo,Children,useState,useRef,useEffect,useCallback,useLayoutEffect,isValidElement}from'react';import {motion}from'framer-motion';import P from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var h=24;var D=.22;var nt=styled(P)(()=>({display:"flex",gap:"8px",overflow:"visible"})),Ut=["trackWidth","minTrackWidth","slotSize","hoverZIndex"],it=styled("div",{shouldForwardProp:t=>!Ut.includes(t)})(({trackWidth:t,minTrackWidth:e,slotSize:r,hoverZIndex:o})=>({position:"relative",overflow:"visible",width:t,minWidth:e,height:r,transition:`width ${.22}s ease-out`,...o!==void 0?{zIndex:o}:{}})),$=styled(P)(()=>({display:"flex",alignItems:"center",paddingRight:"8px","& .chip-stack-overlap-slot":{marginRight:"-8px",position:"relative",zIndex:1},"& .chip-stack-overlap-slot:hover":{zIndex:2}}));function at(t){return {display:"flex",alignItems:"center",justifyContent:"center",width:`var(--chip-stack-slot-size, ${24}px)`,height:`var(--chip-stack-slot-size, ${24}px)`,borderRadius:"50%",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.common.white,flexShrink:0}}var ct=styled(({title:t,className:e,...r})=>t!=null&&t!==""?jsx(a,{title:t,wrapperProps:{className:"chip-stack-overlap-slot"},children:jsx(P,{className:e,...r})}):jsx(P,{className:["chip-stack-overlap-slot",e].filter(Boolean).join(" "),...r}))(({theme:t})=>({...at(t),overflow:"hidden",lineHeight:0,boxSizing:"border-box",padding:0,"& > *":{width:"100%",height:"100%",minWidth:0,minHeight:0},"& img":{display:"block",width:"100%",height:"100%",objectFit:"contain"}})),K=styled(({title:t,...e})=>jsx(a,{title:t??"",wrapperProps:{className:"chip-stack-overlap-slot"},children:jsx(P,{...e})}))(({theme:t})=>({...at(t),fontSize:`max(${8}px, calc(var(--chip-stack-slot-size, ${24}px) * ${8.5} / ${24}))`,fontWeight:500,color:t.palette.text.disabled}));function st({overflowItems:t,size:e}){let r=`${Math.max(8,8.5*e/24)}px`;return jsxs(P,{sx:{width:e,height:e,borderRadius:"50%",border:o=>`1px solid ${o.palette.divider}`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:r,fontWeight:600,bgcolor:"action.hover",flexShrink:0},children:["+",t.length]})}var Gt=["faceSize","avatarFill"],pt=styled(i,{shouldForwardProp:t=>!Gt.includes(t)})(({theme:t,faceSize:e,avatarFill:r})=>{let o=`${e}px`,i=`${Math.max(7,8.5*e/24)}px`;return {width:o,height:o,fontSize:i,fontWeight:500,lineHeight:"100%",letterSpacing:"0%",textAlign:"center",color:t.palette.common.white,background:r,backgroundSize:"cover","&.MuiAvatar-colorDefault":{background:r,color:t.palette.common.white},"& .MuiAvatar-img":{objectFit:"cover"}}});function lt(t){return t==="fanout-left"?"left":t==="fanout-center"?"center":"right"}function mt(t,e,r){return t==="static"?e?"static-children":r?"static-items":null:e?"animated-children":r?"animated-items":null}function dt({size:t,stackStep:e,gap:r,minTrackWidth:o}){let i=t??24,n=e??Math.round(i/2),s=r??Math.max(1,Math.round(i*3/24)),a=o??Math.max(60,Math.round(i*60/24));return {size:i,stackStep:n,gap:s,minTrackWidth:a}}function ut(t,e){if(t<=0)return 0;switch(e){case "right":return 0;case "left":return t-1;default:return Math.floor((t-1)/2)}}function ht(t,e){return e!==void 0&&t>e}function M(t,e){return e===void 0||e<1||t.length<e?{visibleItems:t,hiddenItems:[]}:{visibleItems:t.slice(0,e-1),hiddenItems:t.slice(e-1)}}function Yt(t,e){return isValidElement(t)&&t.key!=null&&t.key!==""?String(t.key):`chip-stack-child-${e}`}function B({items:t,maxItems:e,getItemKey:r,renderItem:o,renderOverflow:i,slotSize:n}){let s={slotSize:n};if(t.length===0)return [];let{visibleItems:a,hiddenItems:c}=M(t,e),p=a.map((m,l)=>({key:r(m,l),render:()=>o(m,l,s)}));return c.length>0&&p.push({key:`chip-stack-overflow-${c.length}-${a.length}`,render:()=>i({items:t,overflowItems:c,size:n})}),p}function ft({children:t,maxItems:e,slotSize:r,renderOverflow:o}){let i=Children.toArray(t);return B({items:i,maxItems:e,getItemKey:Yt,renderItem:n=>n,renderOverflow:o,slotSize:r})}function St(t,e){return t.length===e.length&&t.every((r,o)=>r===e[o])}function X(t,e,r){return t[e]??r}function kt(t,e,r,o,i,n){if(t===0)return [];let s=e*i,a=new Array(t);a[e]=s;for(let c=e-1;c>=0;c-=1)a[c]=a[c+1]-X(r,c,n)-o;for(let c=e+1;c<t;c+=1)a[c]=a[c-1]+X(r,c-1,n)+o;return a}function Ct(t,e,r){return t<=0?0:(t-1)*e+r}function xt(t,e,r,o){return Array.from({length:t},(i,n)=>t<=1||!e?0:r[n]-n*o)}function At(t,e,r,o,i){if(t<=0)return 0;let n=e.map((c,p)=>c+X(r,p,i)),s=Math.min(...e),a=Math.max(...n);return Math.max(o,a-s)}function gt(t,e,r){return Array.from({length:t},(o,i)=>{let n=e.current[i];return n?n.offsetWidth:r})}function Z(t,e){return t.id??`${t.first}-${t.last}-${e}`}function yt(t){return [t.first,t.last].map(e=>e?.[0]).filter(e=>e!=null&&e!=="").join("")}function Tt(t){if(t.tooltip!==void 0)return t.tooltip===null?null:t.tooltip;let e=`${t.first||""} ${t.last||""}`.trim();return e!==""?e:null}function Rt({slotCount:t,anchorIndex:e,size:r,stackStep:o,gap:i,fanOutEnabled:n,compact:s}){let[a,c]=useState(false),[p,m]=useState(()=>Array.from({length:t},()=>r)),l=useRef(null),f=useRef([]),C=useRef(null),x=useCallback(()=>{let v=gt(t,f,r);m(g=>St(g,v)?g:v);},[t,r]),d=useCallback(()=>{C.current&&cancelAnimationFrame(C.current),C.current=requestAnimationFrame(x);},[x]),A=useMemo(()=>kt(t,e,p,i,o,r),[t,e,p,i,o,r]),y=useMemo(()=>xt(t,n&&a,A,o),[t,n,a,A,o]),S=useMemo(()=>Ct(t,o,r),[t,o,r]),O=useMemo(()=>At(t,A,p,S,r),[t,A,p,S,r]),k=useCallback(()=>{n&&(l.current&&clearTimeout(l.current),c(true));},[n]),u=useCallback(()=>{n&&(l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(false),120));},[n]);useEffect(()=>()=>{l.current&&clearTimeout(l.current);},[]),useEffect(()=>{n||c(false);},[n]),useLayoutEffect(()=>{m(Array.from({length:t},()=>r));},[t,r]),useLayoutEffect(()=>{x();},[t,r,x]),useEffect(()=>(d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d),C.current&&cancelAnimationFrame(C.current);}),[d]);let T=n&&a?O:s?r:S,b=n&&a,F=useMemo(()=>s?Array.from({length:t},(v,g)=>g===e||a?1:0):Array.from({length:t},()=>1),[s,t,e,a]);return {isHovering:a,handleMouseEnter:k,handleMouseLeave:u,slotRefs:f,translateX:y,slotOpacity:F,collapsedStackWidthPx:S,fannedRowWidthPx:O,trackWidth:T,hoverZIndexActive:b}}function H({items:t,children:e,maxItems:r,getItemKey:o,renderItem:i,renderOverflow:n,fanOutDirection:s,compact:a=false,"data-testid":c,sx:p,className:m,slotProps:l}){let f=Children.count(e)>0,{zIndex:C=1e3,size:x,stackStep:d,gap:A,minTrackWidth:y}=l?.layout??{},S=useMemo(()=>f?Children.toArray(e??null).length:t?.length??0,[f,e,t]),k=!(!a&&ht(S,r)),{size:u,stackStep:w,gap:T,minTrackWidth:b}=useMemo(()=>dt({size:x,stackStep:d,gap:A,minTrackWidth:y}),[x,d,A,y]),F=n??st,v=useMemo(()=>f?ft({children:e??null,maxItems:r,slotSize:u,renderOverflow:F}):!t?.length||!o||!i?[]:B({items:t,maxItems:r,getItemKey:o,renderItem:i,slotSize:u,renderOverflow:F}),[f,e,t,r,o,i,F,u]),g=v.length,Nt=useMemo(()=>ut(g,s),[g,s]),{handleMouseEnter:Et,handleMouseLeave:Mt,slotRefs:Wt,translateX:Lt,slotOpacity:tt,collapsedStackWidthPx:Kt,trackWidth:Vt,hoverZIndexActive:zt}=Rt({slotCount:g,anchorIndex:Nt,size:u,stackStep:w,gap:T,fanOutEnabled:k,compact:a});if(g===0)return null;let{sx:L,...Ht}=l?.shell??{},{style:Dt,...$t}=l?.track??{};return jsx(nt,{className:m,...Ht,sx:[{justifyContent:"flex-start",...k||a?{width:"100%"}:{}},...Array.isArray(p)?p:p!=null?[p]:[],...Array.isArray(L)?L:L!=null?[L]:[]],children:jsx(it,{"data-testid":c,...$t,style:Dt,onMouseEnter:k?Et:void 0,onMouseLeave:k?Mt:void 0,trackWidth:Vt,minTrackWidth:a?u:Math.max(b,Kt),slotSize:u,hoverZIndex:zt?C:void 0,children:v.map((et,R)=>jsx(motion.div,{ref:Xt=>{Wt.current[R]=Xt;},initial:false,animate:{x:Lt[R]??0,opacity:tt[R]??1},transition:{duration:.22,ease:"easeOut"},style:{position:"absolute",top:0,left:R*w,zIndex:R,width:u,height:u,pointerEvents:tt[R]===0?"none":"auto"},children:et.render()},et.key))})})}function oe({children:t,maxItems:e,renderOverflow:r,slotSize:o=24,sx:i,...n}){let s=useMemo(()=>ee.Children.toArray(t),[t]),{visibleItems:a,hiddenItems:c}=useMemo(()=>M(s,e),[s,e]),p=c.length>0,m=useMemo(()=>[{"--chip-stack-slot-size":`${o}px`},...Array.isArray(i)?i:i!=null?[i]:[]],[o,i]);if(!p)return jsx($,{"data-testid":"ChipStack",...n,sx:m,children:t});let l=r?.({items:s,overflowItems:c,size:o});return jsxs($,{"data-testid":"ChipStack",...n,sx:m,children:[a,l??jsx(K,{title:`${c.length} more`,children:jsxs("span",{children:["+",c.length]})})]})}var J=memo(oe);function ie(t){return jsx(ct,{"data-testid":"OverlapChip",...t})}var Q=memo(ie);var ce=["static","fanout-right","fanout-left","fanout-center"],Y="static";function pe(t){let{variant:e=Y,maxItems:r,renderOverflow:o,children:i,items:n,getItemKey:s,renderItem:a,compact:c=false,"data-testid":p,slotProps:m,sx:l,className:f}=t,C=Children.count(i??null)>0,x=!C&&(n?.length??0)>0&&s!=null&&a!=null,d=mt(e,C,x);if(d===null)return null;if(d==="static-children"||d==="static-items"){let S=m?.layout?.size??24;if(d==="static-items"&&n&&s&&a){let{visibleItems:O,hiddenItems:k}=M(n,r),u=k.length>0?o?.({items:n,overflowItems:k,size:S})??jsx(K,{title:`${k.length} more`,children:jsxs("span",{children:["+",k.length]})}):null,w=jsxs(Fragment,{children:[O.map((T,b)=>jsx(Q,{children:a(T,b,{slotSize:S})},s(T,b))),u]});return jsx(J,{"data-testid":p,slotSize:S,sx:l,className:f,children:w})}return jsx(J,{"data-testid":p,maxItems:r,renderOverflow:o,slotSize:S,sx:l,className:f,children:i})}let A=lt(e),y={maxItems:r,renderOverflow:o,fanOutDirection:A,compact:c,"data-testid":p??"ChipStack",slotProps:m,sx:l,className:f};return d==="animated-children"?jsx(H,{...y,children:i}):jsx(H,{...y,items:n,getItemKey:s,renderItem:a})}var wt=pe;function he({item:t,sourceIndex:e,slotSize:r}){let[o,i]=useState(false),n=useRef(null);useEffect(()=>{i(false);},[t.logo]);let s=!t.logo||o,a$1=Z(t,e),c="transparent";s&&(n.current?.key!==a$1&&(n.current={key:a$1,fill:Aa()}),c=n.current.fill);let p=jsx(pt,{faceSize:r,avatarFill:c,src:s?void 0:t.logo,slotProps:s?void 0:{img:{onError:()=>i(true)}},children:yt(t)}),m=Tt(t);return m!=null&&m!==""?jsx(a,{title:m,children:p}):p}var fe=he;var dr=wt;export{h as a,D as b,Z as c,Q as d,ce as e,Y as f,wt as g,fe as h,dr as i};
1
+ import {i}from'./chunk-7QCRY4U3.js';import {a}from'./chunk-KHM5KW53.js';import {Aa}from'./chunk-MXISJOX2.js';import ee,{memo,useMemo,Children,useState,useRef,useEffect,useCallback,useLayoutEffect,isValidElement}from'react';import {motion}from'framer-motion';import P from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var h=24;var D=.22;var nt=styled(P)(()=>({display:"flex",gap:"8px",overflow:"visible"})),Ut=["trackWidth","minTrackWidth","slotSize","hoverZIndex"],it=styled("div",{shouldForwardProp:t=>!Ut.includes(t)})(({trackWidth:t,minTrackWidth:e,slotSize:r,hoverZIndex:o})=>({position:"relative",overflow:"visible",width:t,minWidth:e,height:r,transition:`width ${.22}s ease-out`,...o!==void 0?{zIndex:o}:{}})),$=styled(P)(()=>({display:"flex",alignItems:"center",paddingRight:"8px","& .chip-stack-overlap-slot":{marginRight:"-8px",position:"relative",zIndex:1},"& .chip-stack-overlap-slot:hover":{zIndex:2}}));function at(t){return {display:"flex",alignItems:"center",justifyContent:"center",width:`var(--chip-stack-slot-size, ${24}px)`,height:`var(--chip-stack-slot-size, ${24}px)`,borderRadius:"50%",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.common.white,flexShrink:0}}var ct=styled(({title:t,className:e,...r})=>t!=null&&t!==""?jsx(a,{title:t,wrapperProps:{className:"chip-stack-overlap-slot"},children:jsx(P,{className:e,...r})}):jsx(P,{className:["chip-stack-overlap-slot",e].filter(Boolean).join(" "),...r}))(({theme:t})=>({...at(t),overflow:"hidden",lineHeight:0,boxSizing:"border-box",padding:0,"& > *":{width:"100%",height:"100%",minWidth:0,minHeight:0},"& img":{display:"block",width:"100%",height:"100%",objectFit:"contain"}})),K=styled(({title:t,...e})=>jsx(a,{title:t??"",wrapperProps:{className:"chip-stack-overlap-slot"},children:jsx(P,{...e})}))(({theme:t})=>({...at(t),fontSize:`max(${8}px, calc(var(--chip-stack-slot-size, ${24}px) * ${8.5} / ${24}))`,fontWeight:500,color:t.palette.text.disabled}));function st({overflowItems:t,size:e}){let r=`${Math.max(8,8.5*e/24)}px`;return jsxs(P,{sx:{width:e,height:e,borderRadius:"50%",border:o=>`1px solid ${o.palette.divider}`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:r,fontWeight:600,bgcolor:"action.hover",flexShrink:0},children:["+",t.length]})}var Gt=["faceSize","avatarFill"],pt=styled(i,{shouldForwardProp:t=>!Gt.includes(t)})(({theme:t,faceSize:e,avatarFill:r})=>{let o=`${e}px`,i=`${Math.max(7,8.5*e/24)}px`;return {width:o,height:o,fontSize:i,fontWeight:500,lineHeight:"100%",letterSpacing:"0%",textAlign:"center",color:t.palette.common.white,background:r,backgroundSize:"cover","&.MuiAvatar-colorDefault":{background:r,color:t.palette.common.white},"& .MuiAvatar-img":{objectFit:"cover"}}});function lt(t){return t==="fanout-left"?"left":t==="fanout-center"?"center":"right"}function mt(t,e,r){return t==="static"?e?"static-children":r?"static-items":null:e?"animated-children":r?"animated-items":null}function dt({size:t,stackStep:e,gap:r,minTrackWidth:o}){let i=t??24,n=e??Math.round(i/2),s=r??Math.max(1,Math.round(i*3/24)),a=o??Math.max(60,Math.round(i*60/24));return {size:i,stackStep:n,gap:s,minTrackWidth:a}}function ut(t,e){if(t<=0)return 0;switch(e){case "right":return 0;case "left":return t-1;default:return Math.floor((t-1)/2)}}function ht(t,e){return e!==void 0&&t>e}function M(t,e){return e===void 0||e<1||t.length<e?{visibleItems:t,hiddenItems:[]}:{visibleItems:t.slice(0,e-1),hiddenItems:t.slice(e-1)}}function Yt(t,e){return isValidElement(t)&&t.key!=null&&t.key!==""?String(t.key):`chip-stack-child-${e}`}function B({items:t,maxItems:e,getItemKey:r,renderItem:o,renderOverflow:i,slotSize:n}){let s={slotSize:n};if(t.length===0)return [];let{visibleItems:a,hiddenItems:c}=M(t,e),p=a.map((m,l)=>({key:r(m,l),render:()=>o(m,l,s)}));return c.length>0&&p.push({key:`chip-stack-overflow-${c.length}-${a.length}`,render:()=>i({items:t,overflowItems:c,size:n})}),p}function ft({children:t,maxItems:e,slotSize:r,renderOverflow:o}){let i=Children.toArray(t);return B({items:i,maxItems:e,getItemKey:Yt,renderItem:n=>n,renderOverflow:o,slotSize:r})}function St(t,e){return t.length===e.length&&t.every((r,o)=>r===e[o])}function X(t,e,r){return t[e]??r}function kt(t,e,r,o,i,n){if(t===0)return [];let s=e*i,a=new Array(t);a[e]=s;for(let c=e-1;c>=0;c-=1)a[c]=a[c+1]-X(r,c,n)-o;for(let c=e+1;c<t;c+=1)a[c]=a[c-1]+X(r,c-1,n)+o;return a}function Ct(t,e,r){return t<=0?0:(t-1)*e+r}function xt(t,e,r,o){return Array.from({length:t},(i,n)=>t<=1||!e?0:r[n]-n*o)}function At(t,e,r,o,i){if(t<=0)return 0;let n=e.map((c,p)=>c+X(r,p,i)),s=Math.min(...e),a=Math.max(...n);return Math.max(o,a-s)}function gt(t,e,r){return Array.from({length:t},(o,i)=>{let n=e.current[i];return n?n.offsetWidth:r})}function Z(t,e){return t.id??`${t.first}-${t.last}-${e}`}function yt(t){return [t.first,t.last].map(e=>e?.[0]).filter(e=>e!=null&&e!=="").join("")}function Tt(t){if(t.tooltip!==void 0)return t.tooltip===null?null:t.tooltip;let e=`${t.first||""} ${t.last||""}`.trim();return e!==""?e:null}function Rt({slotCount:t,anchorIndex:e,size:r,stackStep:o,gap:i,fanOutEnabled:n,compact:s}){let[a,c]=useState(false),[p,m]=useState(()=>Array.from({length:t},()=>r)),l=useRef(null),f=useRef([]),C=useRef(null),x=useCallback(()=>{let v=gt(t,f,r);m(g=>St(g,v)?g:v);},[t,r]),d=useCallback(()=>{C.current&&cancelAnimationFrame(C.current),C.current=requestAnimationFrame(x);},[x]),A=useMemo(()=>kt(t,e,p,i,o,r),[t,e,p,i,o,r]),y=useMemo(()=>xt(t,n&&a,A,o),[t,n,a,A,o]),S=useMemo(()=>Ct(t,o,r),[t,o,r]),O=useMemo(()=>At(t,A,p,S,r),[t,A,p,S,r]),k=useCallback(()=>{n&&(l.current&&clearTimeout(l.current),c(true));},[n]),u=useCallback(()=>{n&&(l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(false),120));},[n]);useEffect(()=>()=>{l.current&&clearTimeout(l.current);},[]),useEffect(()=>{n||c(false);},[n]),useLayoutEffect(()=>{m(Array.from({length:t},()=>r));},[t,r]),useLayoutEffect(()=>{x();},[t,r,x]),useEffect(()=>(d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d),C.current&&cancelAnimationFrame(C.current);}),[d]);let T=n&&a?O:s?r:S,b=n&&a,F=useMemo(()=>s?Array.from({length:t},(v,g)=>g===e||a?1:0):Array.from({length:t},()=>1),[s,t,e,a]);return {isHovering:a,handleMouseEnter:k,handleMouseLeave:u,slotRefs:f,translateX:y,slotOpacity:F,collapsedStackWidthPx:S,fannedRowWidthPx:O,trackWidth:T,hoverZIndexActive:b}}function H({items:t,children:e,maxItems:r,getItemKey:o,renderItem:i,renderOverflow:n,fanOutDirection:s,compact:a=false,"data-testid":c,sx:p,className:m,slotProps:l}){let f=Children.count(e)>0,{zIndex:C=1e3,size:x,stackStep:d,gap:A,minTrackWidth:y}=l?.layout??{},S=useMemo(()=>f?Children.toArray(e??null).length:t?.length??0,[f,e,t]),k=!(!a&&ht(S,r)),{size:u,stackStep:w,gap:T,minTrackWidth:b}=useMemo(()=>dt({size:x,stackStep:d,gap:A,minTrackWidth:y}),[x,d,A,y]),F=n??st,v=useMemo(()=>f?ft({children:e??null,maxItems:r,slotSize:u,renderOverflow:F}):!t?.length||!o||!i?[]:B({items:t,maxItems:r,getItemKey:o,renderItem:i,slotSize:u,renderOverflow:F}),[f,e,t,r,o,i,F,u]),g=v.length,Nt=useMemo(()=>ut(g,s),[g,s]),{handleMouseEnter:Et,handleMouseLeave:Mt,slotRefs:Wt,translateX:Lt,slotOpacity:tt,collapsedStackWidthPx:Kt,trackWidth:Vt,hoverZIndexActive:zt}=Rt({slotCount:g,anchorIndex:Nt,size:u,stackStep:w,gap:T,fanOutEnabled:k,compact:a});if(g===0)return null;let{sx:L,...Ht}=l?.shell??{},{style:Dt,...$t}=l?.track??{};return jsx(nt,{className:m,...Ht,sx:[{justifyContent:"flex-start",...k||a?{width:"100%"}:{}},...Array.isArray(p)?p:p!=null?[p]:[],...Array.isArray(L)?L:L!=null?[L]:[]],children:jsx(it,{"data-testid":c,...$t,style:Dt,onMouseEnter:k?Et:void 0,onMouseLeave:k?Mt:void 0,trackWidth:Vt,minTrackWidth:a?u:Math.max(b,Kt),slotSize:u,hoverZIndex:zt?C:void 0,children:v.map((et,R)=>jsx(motion.div,{ref:Xt=>{Wt.current[R]=Xt;},initial:false,animate:{x:Lt[R]??0,opacity:tt[R]??1},transition:{duration:.22,ease:"easeOut"},style:{position:"absolute",top:0,left:R*w,zIndex:R,width:u,height:u,pointerEvents:tt[R]===0?"none":"auto"},children:et.render()},et.key))})})}function oe({children:t,maxItems:e,renderOverflow:r,slotSize:o=24,sx:i,...n}){let s=useMemo(()=>ee.Children.toArray(t),[t]),{visibleItems:a,hiddenItems:c}=useMemo(()=>M(s,e),[s,e]),p=c.length>0,m=useMemo(()=>[{"--chip-stack-slot-size":`${o}px`},...Array.isArray(i)?i:i!=null?[i]:[]],[o,i]);if(!p)return jsx($,{"data-testid":"ChipStack",...n,sx:m,children:t});let l=r?.({items:s,overflowItems:c,size:o});return jsxs($,{"data-testid":"ChipStack",...n,sx:m,children:[a,l??jsx(K,{title:`${c.length} more`,children:jsxs("span",{children:["+",c.length]})})]})}var J=memo(oe);function ie(t){return jsx(ct,{"data-testid":"OverlapChip",...t})}var Q=memo(ie);var ce=["static","fanout-right","fanout-left","fanout-center"],Y="static";function pe(t){let{variant:e=Y,maxItems:r,renderOverflow:o,children:i,items:n,getItemKey:s,renderItem:a,compact:c=false,"data-testid":p,slotProps:m,sx:l,className:f}=t,C=Children.count(i??null)>0,x=!C&&(n?.length??0)>0&&s!=null&&a!=null,d=mt(e,C,x);if(d===null)return null;if(d==="static-children"||d==="static-items"){let S=m?.layout?.size??24;if(d==="static-items"&&n&&s&&a){let{visibleItems:O,hiddenItems:k}=M(n,r),u=k.length>0?o?.({items:n,overflowItems:k,size:S})??jsx(K,{title:`${k.length} more`,children:jsxs("span",{children:["+",k.length]})}):null,w=jsxs(Fragment,{children:[O.map((T,b)=>jsx(Q,{children:a(T,b,{slotSize:S})},s(T,b))),u]});return jsx(J,{"data-testid":p,slotSize:S,sx:l,className:f,children:w})}return jsx(J,{"data-testid":p,maxItems:r,renderOverflow:o,slotSize:S,sx:l,className:f,children:i})}let A=lt(e),y={maxItems:r,renderOverflow:o,fanOutDirection:A,compact:c,"data-testid":p??"ChipStack",slotProps:m,sx:l,className:f};return d==="animated-children"?jsx(H,{...y,children:i}):jsx(H,{...y,items:n,getItemKey:s,renderItem:a})}var wt=pe;function he({item:t,sourceIndex:e,slotSize:r}){let[o,i]=useState(false),n=useRef(null);useEffect(()=>{i(false);},[t.logo]);let s=!t.logo||o,a$1=Z(t,e),c="transparent";s&&(n.current?.key!==a$1&&(n.current={key:a$1,fill:Aa()}),c=n.current.fill);let p=jsx(pt,{faceSize:r,avatarFill:c,src:s?void 0:t.logo,slotProps:s?void 0:{img:{onError:()=>i(true)}},children:yt(t)}),m=Tt(t);return m!=null&&m!==""?jsx(a,{title:m,children:p}):p}var fe=he;var dr=wt;export{h as a,D as b,Z as c,Q as d,ce as e,Y as f,wt as g,fe as h,dr as i};
@@ -1 +1 @@
1
- import {yc}from'./chunk-CYVOT4K6.js';import {Nc}from'./chunk-CVZXRLWL.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var e=styled(d)(({theme:r})=>({fontSize:"10px",color:r.palette.error.light,padding:"8px",background:r.palette.background.gradient.error,borderRadius:"4px",display:"flex",gap:"4px",alignItems:"center",height:32}));function l({error:r,...i}){let n=yc(useId(),"error");return jsxs(e,{...i,id:n,"data-testid":"Error",children:[jsx("img",{src:Nc,alt:"w"}),r]})}var p=memo(l);var k=p;export{k as a};
1
+ import {yc}from'./chunk-MXISJOX2.js';import {Nc}from'./chunk-3YAJNHQC.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var e=styled(d)(({theme:r})=>({fontSize:"10px",color:r.palette.error.light,padding:"8px",background:r.palette.background.gradient.error,borderRadius:"4px",display:"flex",gap:"4px",alignItems:"center",height:32}));function l({error:r,...i}){let n=yc(useId(),"error");return jsxs(e,{...i,id:n,"data-testid":"Error",children:[jsx("img",{src:Nc,alt:"w"}),r]})}var p=memo(l);var k=p;export{k as a};
@@ -1 +1 @@
1
- import {yc,ab,Zb}from'./chunk-CYVOT4K6.js';import {wa}from'./chunk-6KIZHYEE.js';import {ua,sa}from'./chunk-CVZXRLWL.js';import {useId,useState,useCallback,useMemo}from'react';import {useTranslation}from'react-i18next';import {motion,AnimatePresence}from'framer-motion';import f from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var m=styled(f,{shouldForwardProp:o=>!["textColor","bgColor","borderColor","disabled","minWidth","padding","maxWidth","isSelected","disableAnimation"].includes(o)})(({theme:o,isSelected:a,textColor:n=o.palette.text.primary,bgColor:e="#EFF1F2",borderColor:c="#EFF1F2",disabled:s=false,padding:i,minWidth:r,maxWidth:d,disableAnimation:l})=>({display:"flex",justifyContent:"center",alignItems:"center",gap:"4px",height:"18px",padding:i||"0px 8px",borderRadius:"30px",border:`1px solid ${c}`,backgroundColor:e,color:n,cursor:s?"not-allowed":"pointer",opacity:s?.5:1,whiteSpace:"nowrap",fontSize:"11px",minWidth:r||"67px",maxWidth:d||"none",width:"fit-content",overflow:"hidden",textOverflow:d?"ellipsis":"unset",boxSizing:"border-box",...a&&{boxShadow:"white 7px 0px 8px 2px"},...l&&{transition:"none !important",animation:"none !important",transform:"none !important","& *":{transition:"none !important",animation:"none !important",transform:"none !important"}}})),y=styled(f)(()=>({gap:"4px",textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:1})),k=styled(f)(()=>({position:"absolute",top:0,height:"100%",width:"12px",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center"}));var q=({children:o,unknownText:a,copyText:n,expandDirection:e="right",chipStyles:c,containerStyles:s,fullWidth:i=false,...r})=>{let d=yc(useId(),"status-chip"),[l,C]=useState(false),{t:g}=useTranslation(),p=r.isSelected,w=p&&n,S=useCallback(x=>{if(x.stopPropagation(),n){C(true),ab(n);let B=setTimeout(()=>{C(false);},2e3);return ()=>{clearTimeout(B);}}},[n]),b=useMemo(()=>jsx(k,{sx:{...e==="right"&&{right:"8px"},...e==="left"&&{left:"8px"}},children:jsx(motion.img,{initial:{opacity:0,x:-5},animate:{opacity:1,x:0},exit:{opacity:0,x:-2},transition:{duration:.1},onClick:S,src:l?ua:sa,style:{height:12,width:12,objectFit:"contain"}})}),[l,S,e]),v=w&&e==="right",P=w&&e==="left";return o?jsxs(motion.div,{id:d,"data-testid":"StatusChip",style:{position:"relative",...s,...i&&{width:"100%",minWidth:0}},animate:{zIndex:p?3:0},children:[jsx(m,{...r,sx:{visibility:"hidden",pointerEvents:"none",width:i?"100%":"auto"},children:jsx(y,{children:o})}),jsx(motion.div,{style:{position:"absolute",top:0,zIndex:p?3:0,width:i?"100%":"auto",left:e==="right"?0:"unset",right:e==="left"?0:"unset"},transition:{delay:p?0:.3,duration:.2},children:jsx(m,{...r,isSelected:p,sx:{width:i?"100%":"auto"},...c,children:jsxs(motion.div,{layout:"size",style:{display:"flex",gap:"4px",...i&&{maxWidth:"100%",width:"100%"}},animate:{...v&&{paddingRight:12},...P&&{paddingLeft:12}},transition:{delay:p?0:.3,duration:.2},children:[jsx(AnimatePresence,{children:P&&b}),jsx(y,{"data-is-arabic":typeof o=="string"&&Zb(o),children:o}),jsx(AnimatePresence,{children:v&&b})]})})})]}):jsx(m,{...wa,...r,isSelected:false,sx:x=>({borderColor:x.palette.divider,width:i?"100%":"auto"}),children:g(a||"unknown")})},j=q;var et=j;export{et as a};
1
+ import {yc,ab,Zb}from'./chunk-MXISJOX2.js';import {wa}from'./chunk-N372QRVU.js';import {ua,sa}from'./chunk-3YAJNHQC.js';import {useId,useState,useCallback,useMemo}from'react';import {useTranslation}from'react-i18next';import {motion,AnimatePresence}from'framer-motion';import f from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var m=styled(f,{shouldForwardProp:o=>!["textColor","bgColor","borderColor","disabled","minWidth","padding","maxWidth","isSelected","disableAnimation"].includes(o)})(({theme:o,isSelected:a,textColor:n=o.palette.text.primary,bgColor:e="#EFF1F2",borderColor:c="#EFF1F2",disabled:s=false,padding:i,minWidth:r,maxWidth:d,disableAnimation:l})=>({display:"flex",justifyContent:"center",alignItems:"center",gap:"4px",height:"18px",padding:i||"0px 8px",borderRadius:"30px",border:`1px solid ${c}`,backgroundColor:e,color:n,cursor:s?"not-allowed":"pointer",opacity:s?.5:1,whiteSpace:"nowrap",fontSize:"11px",minWidth:r||"67px",maxWidth:d||"none",width:"fit-content",overflow:"hidden",textOverflow:d?"ellipsis":"unset",boxSizing:"border-box",...a&&{boxShadow:"white 7px 0px 8px 2px"},...l&&{transition:"none !important",animation:"none !important",transform:"none !important","& *":{transition:"none !important",animation:"none !important",transform:"none !important"}}})),y=styled(f)(()=>({gap:"4px",textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:1})),k=styled(f)(()=>({position:"absolute",top:0,height:"100%",width:"12px",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center"}));var q=({children:o,unknownText:a,copyText:n,expandDirection:e="right",chipStyles:c,containerStyles:s,fullWidth:i=false,...r})=>{let d=yc(useId(),"status-chip"),[l,C]=useState(false),{t:g}=useTranslation(),p=r.isSelected,w=p&&n,S=useCallback(x=>{if(x.stopPropagation(),n){C(true),ab(n);let B=setTimeout(()=>{C(false);},2e3);return ()=>{clearTimeout(B);}}},[n]),b=useMemo(()=>jsx(k,{sx:{...e==="right"&&{right:"8px"},...e==="left"&&{left:"8px"}},children:jsx(motion.img,{initial:{opacity:0,x:-5},animate:{opacity:1,x:0},exit:{opacity:0,x:-2},transition:{duration:.1},onClick:S,src:l?ua:sa,style:{height:12,width:12,objectFit:"contain"}})}),[l,S,e]),v=w&&e==="right",P=w&&e==="left";return o?jsxs(motion.div,{id:d,"data-testid":"StatusChip",style:{position:"relative",...s,...i&&{width:"100%",minWidth:0}},animate:{zIndex:p?3:0},children:[jsx(m,{...r,sx:{visibility:"hidden",pointerEvents:"none",width:i?"100%":"auto"},children:jsx(y,{children:o})}),jsx(motion.div,{style:{position:"absolute",top:0,zIndex:p?3:0,width:i?"100%":"auto",left:e==="right"?0:"unset",right:e==="left"?0:"unset"},transition:{delay:p?0:.3,duration:.2},children:jsx(m,{...r,isSelected:p,sx:{width:i?"100%":"auto"},...c,children:jsxs(motion.div,{layout:"size",style:{display:"flex",gap:"4px",...i&&{maxWidth:"100%",width:"100%"}},animate:{...v&&{paddingRight:12},...P&&{paddingLeft:12}},transition:{delay:p?0:.3,duration:.2},children:[jsx(AnimatePresence,{children:P&&b}),jsx(y,{"data-is-arabic":typeof o=="string"&&Zb(o),children:o}),jsx(AnimatePresence,{children:v&&b})]})})})]}):jsx(m,{...wa,...r,isSelected:false,sx:x=>({borderColor:x.palette.divider,width:i?"100%":"auto"}),children:g(a||"unknown")})},j=q;var et=j;export{et as a};
@@ -1 +1 @@
1
- import {yc}from'./chunk-CYVOT4K6.js';import {Sh}from'./chunk-CVZXRLWL.js';import {useId}from'react';import {useTranslation}from'react-i18next';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var i=styled(Box)(()=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:"#F6F8FACC",gap:"0.5rem",height:"100%"})),n=styled("img")(()=>({width:"2rem",height:"2rem"})),d=styled("h1")(({theme:t})=>({fontWeight:600,fontSize:"1rem",color:t.palette.text?.primary,padding:0,margin:0})),s=styled("p")(({theme:t})=>({fontWeight:400,fontSize:"0.75rem",color:t.palette.text?.primary,padding:0,margin:0,opacity:.5}));function r({heading:t,message:y,...g}){let l=yc(useId(),"card-empty-state"),{t:m}=useTranslation();return jsxs(i,{...g,id:l,"data-testid":"CardEmptyState",children:[jsx(n,{src:Sh,alt:"empty container"}),jsx(d,{children:m(t)}),jsx(s,{children:m(y)})]})}var z=r;export{z as a};
1
+ import {yc}from'./chunk-MXISJOX2.js';import {Th}from'./chunk-3YAJNHQC.js';import {useId}from'react';import {useTranslation}from'react-i18next';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var i=styled(Box)(()=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:"#F6F8FACC",gap:"0.5rem",height:"100%"})),n=styled("img")(()=>({width:"2rem",height:"2rem"})),d=styled("h1")(({theme:t})=>({fontWeight:600,fontSize:"1rem",color:t.palette.text?.primary,padding:0,margin:0})),s=styled("p")(({theme:t})=>({fontWeight:400,fontSize:"0.75rem",color:t.palette.text?.primary,padding:0,margin:0,opacity:.5}));function r({heading:t,message:y,...g}){let l=yc(useId(),"card-empty-state"),{t:m}=useTranslation();return jsxs(i,{...g,id:l,"data-testid":"CardEmptyState",children:[jsx(n,{src:Th,alt:"empty container"}),jsx(d,{children:m(t)}),jsx(s,{children:m(y)})]})}var z=r;export{z as a};
@@ -1 +1 @@
1
- import {G}from'./chunk-CVZXRLWL.js';import {forwardRef,memo}from'react';import {styled,Box,Button,alpha,Typography}from'@mui/material';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';var i=styled(Box)(({theme:e})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:e.palette.grey[300],backdropFilter:"blur(32px)"})),m=styled(Box)({width:"15rem",display:"flex",flexDirection:"column",alignItems:"center"}),c=styled("img")({width:"2rem",height:"2rem"}),p=styled(Button)(({theme:e})=>({padding:"0.625rem 1rem",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:alpha(e.palette.info.dark,.1),borderRadius:"0.25rem",color:e.palette.info.dark,marginTop:"1.5rem",minWidth:"6rem",height:"1.8rem",textTransform:"none",fontWeight:600,fontSize:"0.8rem","&:hover":{backgroundColor:alpha(e.palette.info.dark,.1),color:e.palette.info.dark}}));var g=forwardRef(({onRetry:e},s)=>{let{t:r}=useTranslation();return jsx(i,{ref:s,children:jsxs(m,{children:[jsx(c,{src:G,alt:""}),jsx(Typography,{component:"h1",sx:{fontWeight:600,fontSize:"1.125rem",mt:1,mb:0},children:r("remoteLoadErrorTitle","Something went wrong")}),jsx(Typography,{sx:{fontWeight:400,fontSize:"0.75rem",opacity:.5,mt:.5,textAlign:"center"},children:r("connectionErrorMsg","We\u2019re unable to establish a connection. Please try again later.")}),jsx(p,{variant:"contained",onClick:e,children:r("tryAgain","Try again")})]})})});g.displayName="RemoteFallback";var x=memo(g);export{x as a};
1
+ import {G}from'./chunk-3YAJNHQC.js';import {forwardRef,memo}from'react';import {styled,Box,Button,alpha,Typography}from'@mui/material';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';var i=styled(Box)(({theme:e})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:e.palette.grey[300],backdropFilter:"blur(32px)"})),m=styled(Box)({width:"15rem",display:"flex",flexDirection:"column",alignItems:"center"}),c=styled("img")({width:"2rem",height:"2rem"}),p=styled(Button)(({theme:e})=>({padding:"0.625rem 1rem",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:alpha(e.palette.info.dark,.1),borderRadius:"0.25rem",color:e.palette.info.dark,marginTop:"1.5rem",minWidth:"6rem",height:"1.8rem",textTransform:"none",fontWeight:600,fontSize:"0.8rem","&:hover":{backgroundColor:alpha(e.palette.info.dark,.1),color:e.palette.info.dark}}));var g=forwardRef(({onRetry:e},s)=>{let{t:r}=useTranslation();return jsx(i,{ref:s,children:jsxs(m,{children:[jsx(c,{src:G,alt:""}),jsx(Typography,{component:"h1",sx:{fontWeight:600,fontSize:"1.125rem",mt:1,mb:0},children:r("remoteLoadErrorTitle","Something went wrong")}),jsx(Typography,{sx:{fontWeight:400,fontSize:"0.75rem",opacity:.5,mt:.5,textAlign:"center"},children:r("connectionErrorMsg","We\u2019re unable to establish a connection. Please try again later.")}),jsx(p,{variant:"contained",onClick:e,children:r("tryAgain","Try again")})]})})});g.displayName="RemoteFallback";var x=memo(g);export{x as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-GNY2VGGW.js';import {yc}from'./chunk-CYVOT4K6.js';import {Ud,Ri,Si,Ti,Ui,Vi}from'./chunk-CVZXRLWL.js';import {useId}from'react';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var m=styled(a)(({theme:t})=>({fontSize:"10px",color:"rgba(32, 35, 43, 0.5)",opacity:.7,textAlign:"left",fontWeight:t.typography.fontWeightBold,lineHeight:"14px",userSelect:"none",paddingLeft:"0.175rem",textTransform:"capitalize"})),w=styled("div")(()=>({display:"flex",justifyContent:"center",alignItems:"center",position:"relative",textAlign:"center"})),I=styled("img")(()=>({width:14,height:14,verticalAlign:"center"}));var g=new Map([["json",Ud],["brand",Ri],["entity",Si],["bank",Ti],["individual",Ui],["password",Vi]]);function W({title:t,icon:n}){let x=yc(useId(),"window-app-icon"),e=g.get(n||"")??(g.get(t?.toLowerCase())||n);return jsxs(w,{id:x,className:"action-box","data-testid":"WindowAppIcon",children:[e&&jsx(I,{src:e,alt:"icon"}),jsx(m,{className:"title",children:t})]})}var y=W;var z=y;export{z as a};
1
+ import {a}from'./chunk-GNY2VGGW.js';import {yc}from'./chunk-MXISJOX2.js';import {Ud,Si,Ti,Ui,Vi,Wi}from'./chunk-3YAJNHQC.js';import {useId}from'react';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var m=styled(a)(({theme:t})=>({fontSize:"10px",color:"rgba(32, 35, 43, 0.5)",opacity:.7,textAlign:"left",fontWeight:t.typography.fontWeightBold,lineHeight:"14px",userSelect:"none",paddingLeft:"0.175rem",textTransform:"capitalize"})),w=styled("div")(()=>({display:"flex",justifyContent:"center",alignItems:"center",position:"relative",textAlign:"center"})),I=styled("img")(()=>({width:14,height:14,verticalAlign:"center"}));var g=new Map([["json",Ud],["brand",Si],["entity",Ti],["bank",Ui],["individual",Vi],["password",Wi]]);function W({title:t,icon:n}){let x=yc(useId(),"window-app-icon"),e=g.get(n||"")??(g.get(t?.toLowerCase())||n);return jsxs(w,{id:x,className:"action-box","data-testid":"WindowAppIcon",children:[e&&jsx(I,{src:e,alt:"icon"}),jsx(m,{className:"title",children:t})]})}var y=W;var z=y;export{z as a};
@@ -1 +1 @@
1
- import {yc}from'./chunk-CYVOT4K6.js';import {useId}from'react';import d from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var n=styled(d)(()=>({color:"#1F88D0",backgroundColor:"#1F88D00D",padding:"8px 12px",borderRadius:"4px",fontSize:"11px",display:"flex",alignItems:"center",gap:"2px"})),r=styled("span")(()=>({fontWeight:700})),a=styled("span")(()=>({fontWeight:500}));function t(){let i=yc(useId(),"beta-banner");return jsxs(n,{id:i,"data-testid":"BetaBanner",children:[jsx(r,{children:"Insights is in beta -"}),jsx(a,{children:"improvements are ongoing, thanks for your patience."})]})}var C=t;export{C as a};
1
+ import {yc}from'./chunk-MXISJOX2.js';import {useId}from'react';import d from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var n=styled(d)(()=>({color:"#1F88D0",backgroundColor:"#1F88D00D",padding:"8px 12px",borderRadius:"4px",fontSize:"11px",display:"flex",alignItems:"center",gap:"2px"})),r=styled("span")(()=>({fontWeight:700})),a=styled("span")(()=>({fontWeight:500}));function t(){let i=yc(useId(),"beta-banner");return jsxs(n,{id:i,"data-testid":"BetaBanner",children:[jsx(r,{children:"Insights is in beta -"}),jsx(a,{children:"improvements are ongoing, thanks for your patience."})]})}var C=t;export{C as a};
@@ -1,2 +1,2 @@
1
- import {yc}from'./chunk-CYVOT4K6.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-MXISJOX2.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'./chunk-6KIZHYEE.js';import {memo,useState,useRef,useMemo,useEffect}from'react';import {useTheme}from'@mui/material';import {motion}from'framer-motion';import {Resizable}from're-resizable';import X from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var x={boxShadow:"rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px",display:"flex",flexDirection:"column",overflow:"visible",width:"-webkit-fill-available",height:"100% !important",margin:"auto"},C={position:"fixed",right:0,left:24,top:88,overflow:"visible",borderRadius:"12px"},S={width:"inherit",height:"inherit",gridRowStart:1,gridColumnStart:1,position:"relative",display:"flex",justifyContent:"center"},R=styled(motion.div,{shouldForwardProp:t=>t!=="maximized"&&t!=="minimized"})(({maximized:t,minimized:r})=>({overflow:"hidden",display:"flex",flexDirection:"column",width:"100%",height:"100%",zIndex:1,borderRadius:"12px",...t&&!r&&{transform:"translate(0,0) !important"},...r&&{visibility:"hidden",opacity:0,pointerEvents:"none"}})),v=styled(X)(()=>({flexGrow:1})),w=styled(motion.div)(()=>({width:"inherit",height:"100%",overflow:"hidden",flexGrow:1,position:"relative",display:"grid",gridTemplateColumns:"1fr"}));function V({children:t,id:r,onResize:y,isMaximized:e,isMinimized:s,dragControls:E,onClick:i,options:{width:o,height:H,minHeight:D,minWidth:A,maxHeight:P,maxWidth:z,order:d,openOrder:a=1},sandboxMode:m=false,sx:T}){let f=useTheme(),[I,g]=useState(true),_=useRef(null),N=useRef(null),u=useRef(),G=()=>{g(true);},L=()=>{i?.(),g(false);},k=useMemo(()=>({...x,maxWidth:o,borderRadius:e?"0 !important":12,...!e&&{top:0},background:m?f.palette.common.lightOrange:f.palette.background.transparent[0],backdropFilter:"blur(32px)"}),[o,e,m]);return useEffect(()=>{u.current?.updateSize({width:e?"100vw":o,height:e?"100vh":"100%"});},[e,o]),jsx(v,{id:"app-container-wrapper","data-testid":"AppContainerWrapper",sx:T,children:jsx(w,{"data-testid":"AppContainerContainer",children:jsx(motion.div,{id:"app-content","data-add-id":r,"data-testid":"AppContent",ref:N,initial:S,children:jsx(R,{id:"content-wrapper",drag:!e&&I,dragMomentum:false,dragConstraints:false,onDragStart:i,onDragEnter:i,onClick:i,dragControls:E,dragListener:false,style:{...d&&{zIndex:Number(d)+3},...C,height:H},initial:{marginInline:"auto",scale:0,left:0,...!e&&{left:48*(a-1)}},animate:{width:o,...e&&{width:"100vw"},scale:+!s,top:e?0:88+24*(a-1),left:e?0:48*(a-1)},ref:_,maximized:e,minimized:s,transition:{duration:e?.3:0},children:jsx(Resizable,{"data-id":r,ref:c=>{u.current=c;},style:k,minHeight:D,minWidth:A,maxHeight:P,maxWidth:z,onResizeStart:L,onResizeStop:G,onResize:(c,Y,B)=>{y?.(B);},children:t})})})})})}var W=memo(V);var ge=W;export{ge as a};
1
+ import'./chunk-N372QRVU.js';import {memo,useState,useRef,useMemo,useEffect}from'react';import {useTheme}from'@mui/material';import {motion}from'framer-motion';import {Resizable}from're-resizable';import X from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var x={boxShadow:"rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px",display:"flex",flexDirection:"column",overflow:"visible",width:"-webkit-fill-available",height:"100% !important",margin:"auto"},C={position:"fixed",right:0,left:24,top:88,overflow:"visible",borderRadius:"12px"},S={width:"inherit",height:"inherit",gridRowStart:1,gridColumnStart:1,position:"relative",display:"flex",justifyContent:"center"},R=styled(motion.div,{shouldForwardProp:t=>t!=="maximized"&&t!=="minimized"})(({maximized:t,minimized:r})=>({overflow:"hidden",display:"flex",flexDirection:"column",width:"100%",height:"100%",zIndex:1,borderRadius:"12px",...t&&!r&&{transform:"translate(0,0) !important"},...r&&{visibility:"hidden",opacity:0,pointerEvents:"none"}})),v=styled(X)(()=>({flexGrow:1})),w=styled(motion.div)(()=>({width:"inherit",height:"100%",overflow:"hidden",flexGrow:1,position:"relative",display:"grid",gridTemplateColumns:"1fr"}));function V({children:t,id:r,onResize:y,isMaximized:e,isMinimized:s,dragControls:E,onClick:i,options:{width:o,height:H,minHeight:D,minWidth:A,maxHeight:P,maxWidth:z,order:d,openOrder:a=1},sandboxMode:m=false,sx:T}){let f=useTheme(),[I,g]=useState(true),_=useRef(null),N=useRef(null),u=useRef(),G=()=>{g(true);},L=()=>{i?.(),g(false);},k=useMemo(()=>({...x,maxWidth:o,borderRadius:e?"0 !important":12,...!e&&{top:0},background:m?f.palette.common.lightOrange:f.palette.background.transparent[0],backdropFilter:"blur(32px)"}),[o,e,m]);return useEffect(()=>{u.current?.updateSize({width:e?"100vw":o,height:e?"100vh":"100%"});},[e,o]),jsx(v,{id:"app-container-wrapper","data-testid":"AppContainerWrapper",sx:T,children:jsx(w,{"data-testid":"AppContainerContainer",children:jsx(motion.div,{id:"app-content","data-add-id":r,"data-testid":"AppContent",ref:N,initial:S,children:jsx(R,{id:"content-wrapper",drag:!e&&I,dragMomentum:false,dragConstraints:false,onDragStart:i,onDragEnter:i,onClick:i,dragControls:E,dragListener:false,style:{...d&&{zIndex:Number(d)+3},...C,height:H},initial:{marginInline:"auto",scale:0,left:0,...!e&&{left:48*(a-1)}},animate:{width:o,...e&&{width:"100vw"},scale:+!s,top:e?0:88+24*(a-1),left:e?0:48*(a-1)},ref:_,maximized:e,minimized:s,transition:{duration:e?.3:0},children:jsx(Resizable,{"data-id":r,ref:c=>{u.current=c;},style:k,minHeight:D,minWidth:A,maxHeight:P,maxWidth:z,onResizeStart:L,onResizeStop:G,onResize:(c,Y,B)=>{y?.(B);},children:t})})})})})}var W=memo(V);var ge=W;export{ge as a};
@@ -1 +1 @@
1
- import {yc}from'./chunk-CYVOT4K6.js';import {memo,useId}from'react';import f from'@mui/material/Box';import a from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var p=styled(a,{shouldForwardProp:o=>o!=="isError"})(({theme:o})=>({padding:"8px",border:`1px solid ${o.palette.divider}`,borderRadius:"4px",height:32,color:o.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:o.palette.grey[700],fontWeight:400}}));function i({isError:o,...t}){let l=yc(useId(),"input");return jsx(f,{id:l,"data-testid":"Input",sx:{flexGrow:1},onClick:d=>{d.stopPropagation();},children:jsx(p,{...t,placeholder:t.placeholder,isError:o,disableUnderline:true})})}i.displayName="Input";var n=memo(i);var S=n;export{S as a};
1
+ import {yc}from'./chunk-MXISJOX2.js';import {memo,useId}from'react';import f from'@mui/material/Box';import a from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var p=styled(a,{shouldForwardProp:o=>o!=="isError"})(({theme:o})=>({padding:"8px",border:`1px solid ${o.palette.divider}`,borderRadius:"4px",height:32,color:o.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:o.palette.grey[700],fontWeight:400}}));function i({isError:o,...t}){let l=yc(useId(),"input");return jsx(f,{id:l,"data-testid":"Input",sx:{flexGrow:1},onClick:d=>{d.stopPropagation();},children:jsx(p,{...t,placeholder:t.placeholder,isError:o,disableUnderline:true})})}i.displayName="Input";var n=memo(i);var S=n;export{S as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-L4R4BDJ7.js';var m=a;export{m as a};