@tap-payments/os-micro-frontend-shared 0.3.33 → 0.3.35

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 (273) hide show
  1. package/build/_chunks/{chunk-GIKP4LIN.js → chunk-2ABPZCDN.js} +1 -1
  2. package/build/_chunks/{chunk-OC76NYQO.js → chunk-2SZFUJ56.js} +1 -1
  3. package/build/_chunks/{chunk-XHEVVGGE.js → chunk-2T2WSX3L.js} +1 -1
  4. package/build/_chunks/chunk-337QCU2C.js +1 -0
  5. package/build/_chunks/{chunk-CSZ3BKQ6.js → chunk-353DLXGA.js} +1 -1
  6. package/build/_chunks/{chunk-HZ37ITG2.js → chunk-3BGNYHNP.js} +1 -1
  7. package/build/_chunks/{chunk-XFXM4LRU.js → chunk-3EMN2CUH.js} +2 -2
  8. package/build/_chunks/{chunk-NTF472EL.js → chunk-3ICK7AXK.js} +1 -1
  9. package/build/_chunks/{chunk-N7RC2LPM.js → chunk-3T2QQPZI.js} +1 -1
  10. package/build/_chunks/{chunk-FR7AI525.js → chunk-3UZSM7LZ.js} +1 -1
  11. package/build/_chunks/{chunk-WJ563EIM.js → chunk-4DDXCQ3E.js} +1 -1
  12. package/build/_chunks/{chunk-NOVPYXJS.js → chunk-4K2EJMTW.js} +1 -1
  13. package/build/_chunks/chunk-4KJIALKP.js +1 -0
  14. package/build/_chunks/{chunk-O2I3RFJL.js → chunk-5KOZQJDC.js} +1 -1
  15. package/build/_chunks/{chunk-CHNDTZFE.js → chunk-6MKYAXN2.js} +1 -1
  16. package/build/_chunks/{chunk-GNAKZ2VQ.js → chunk-6OEDWLU2.js} +1 -1
  17. package/build/_chunks/{chunk-OUUPKKXY.js → chunk-6QGE6TM4.js} +1 -1
  18. package/build/_chunks/{chunk-5JB32U76.js → chunk-7MO5RP3U.js} +1 -1
  19. package/build/_chunks/{chunk-TD57M3ZC.js → chunk-7XWBZYDB.js} +1 -1
  20. package/build/_chunks/{chunk-BKQKE7RW.js → chunk-A66S45OE.js} +1 -1
  21. package/build/_chunks/{chunk-6XFGO7ZO.js → chunk-AJ6RW4WW.js} +2 -2
  22. package/build/_chunks/{chunk-6AEYAZ7J.js → chunk-AMZK27J7.js} +1 -1
  23. package/build/_chunks/{chunk-HDMYS6QD.js → chunk-AXLJYWWF.js} +1 -1
  24. package/build/_chunks/{chunk-MHPDSXWW.js → chunk-AZA526EL.js} +1 -1
  25. package/build/_chunks/chunk-B2MN4VXV.js +1 -0
  26. package/build/_chunks/{chunk-Y2TYYOG5.js → chunk-BF2PXVJL.js} +1 -1
  27. package/build/_chunks/{chunk-FA3LRBSM.js → chunk-BF4Q57A7.js} +1 -1
  28. package/build/_chunks/{chunk-YSPWF36D.js → chunk-BHGSJM77.js} +1 -1
  29. package/build/_chunks/{chunk-FRJQXNZF.js → chunk-BI3L7BF6.js} +1 -1
  30. package/build/_chunks/{chunk-6WS2AF7Z.js → chunk-BJVDN4DT.js} +1 -1
  31. package/build/_chunks/{chunk-YZK3GHXU.js → chunk-BOYRAHDP.js} +1 -1
  32. package/build/_chunks/{chunk-EE263HCZ.js → chunk-BRKDTARY.js} +1 -1
  33. package/build/_chunks/{chunk-DZBGGQBF.js → chunk-CB4M2V2R.js} +1 -1
  34. package/build/_chunks/chunk-CCG7X2YN.js +1 -0
  35. package/build/_chunks/{chunk-LE2RDJDQ.js → chunk-CF4GF75C.js} +1 -1
  36. package/build/_chunks/{chunk-GY37OJXL.js → chunk-CHFG6A54.js} +1 -1
  37. package/build/_chunks/{chunk-YKPYXS5F.js → chunk-D4H3RC3N.js} +1 -1
  38. package/build/_chunks/{chunk-JDUQR4LP.js → chunk-D5JAMR4L.js} +1 -1
  39. package/build/_chunks/chunk-D7E4LECJ.js +1 -0
  40. package/build/_chunks/{chunk-D46TFQTH.js → chunk-DIGLTL23.js} +1 -1
  41. package/build/_chunks/{chunk-IBSQ66TO.js → chunk-EIJ4DYVL.js} +1 -1
  42. package/build/_chunks/{chunk-NUCD26IC.js → chunk-EIJZMCEI.js} +1 -1
  43. package/build/_chunks/{chunk-KUVU47NF.js → chunk-EMFNK4JT.js} +1 -1
  44. package/build/_chunks/chunk-FJY2CBLR.js +2 -0
  45. package/build/_chunks/{chunk-BWHXUPA4.js → chunk-FR3PBG6U.js} +1 -1
  46. package/build/_chunks/{chunk-JPNEQBKC.js → chunk-FSZYQLCB.js} +1 -1
  47. package/build/_chunks/{chunk-N7TZLACN.js → chunk-FUP3XLVZ.js} +1 -1
  48. package/build/_chunks/{chunk-QPZJ3EE6.js → chunk-FYQ2YZOV.js} +1 -1
  49. package/build/_chunks/{chunk-LI36HMPN.js → chunk-FZEUWVQW.js} +1 -1
  50. package/build/_chunks/{chunk-UXLTK54A.js → chunk-G4VBXMI3.js} +1 -1
  51. package/build/_chunks/{chunk-TB2YZ7LP.js → chunk-GDPRYTUA.js} +1 -1
  52. package/build/_chunks/{chunk-NML2KBRY.js → chunk-GGVRKIP6.js} +1 -1
  53. package/build/_chunks/{chunk-GCJHBKRY.js → chunk-GTFEI4MZ.js} +1 -1
  54. package/build/_chunks/{chunk-KBAJZUXB.js → chunk-HHAGFXTY.js} +1 -1
  55. package/build/_chunks/{chunk-UUO3QCDI.js → chunk-HKTBUE7Q.js} +1 -1
  56. package/build/_chunks/{chunk-6QI7MBR2.js → chunk-HMHPS46O.js} +1 -1
  57. package/build/_chunks/chunk-HT77DSFD.js +1 -0
  58. package/build/_chunks/{chunk-LMV5CX6B.js → chunk-I3CDWLQH.js} +1 -1
  59. package/build/_chunks/{chunk-KJILJZZL.js → chunk-ICLGPUKH.js} +1 -1
  60. package/build/_chunks/chunk-JC4ONI5J.js +1 -0
  61. package/build/_chunks/chunk-JGTGGFME.js +1 -0
  62. package/build/_chunks/{chunk-WLGP5VR2.js → chunk-JS6OWFLY.js} +1 -1
  63. package/build/_chunks/{chunk-ZJ3Y7NGV.js → chunk-KE4SCS5J.js} +1 -1
  64. package/build/_chunks/{chunk-CVYHM5O4.js → chunk-KO4VXH5K.js} +1 -1
  65. package/build/_chunks/{chunk-ZZGDPPWY.js → chunk-KYAFGRRA.js} +1 -1
  66. package/build/_chunks/{chunk-6X4Q3E4C.js → chunk-LAT7Q5RP.js} +1 -1
  67. package/build/_chunks/{chunk-JZV3ZJBB.js → chunk-LK35KMIK.js} +1 -1
  68. package/build/_chunks/{chunk-XODILRBP.js → chunk-LOEPKLFF.js} +1 -1
  69. package/build/_chunks/{chunk-H5GIJAFY.js → chunk-LT3L4FQ7.js} +1 -1
  70. package/build/_chunks/chunk-LZ4P6N6K.js +1 -0
  71. package/build/_chunks/{chunk-RP4EQUEN.js → chunk-NFFROTV3.js} +1 -1
  72. package/build/_chunks/chunk-NGNBW7LO.js +1 -0
  73. package/build/_chunks/{chunk-V5UDRW53.js → chunk-NIPC7DJP.js} +1 -1
  74. package/build/_chunks/{chunk-CFJKHUF7.js → chunk-NLCCISDY.js} +1 -1
  75. package/build/_chunks/{chunk-XRSE2L75.js → chunk-NMW7BBDL.js} +1 -1
  76. package/build/_chunks/{chunk-X7RH7OAH.js → chunk-NUPBRADF.js} +1 -1
  77. package/build/_chunks/{chunk-C5HVRHFE.js → chunk-NVJ23K4R.js} +1 -1
  78. package/build/_chunks/{chunk-Z7ZZN6BM.js → chunk-O3EBLYFG.js} +1 -1
  79. package/build/_chunks/chunk-ODZSWMUG.js +2 -0
  80. package/build/_chunks/{chunk-UZTGBJST.js → chunk-P6NSUDIK.js} +1 -1
  81. package/build/_chunks/{chunk-HEAHZEQF.js → chunk-PFWMMTVV.js} +1 -1
  82. package/build/_chunks/{chunk-T6ELU7DI.js → chunk-PGPVAPNZ.js} +1 -1
  83. package/build/_chunks/{chunk-N6QA6D2G.js → chunk-PHHNPSAO.js} +1 -1
  84. package/build/_chunks/{chunk-TLIKGGIL.js → chunk-PK2UGPS6.js} +1 -1
  85. package/build/_chunks/{chunk-347S4JS5.js → chunk-POSGVS4Y.js} +1 -1
  86. package/build/_chunks/{chunk-G3KITYB7.js → chunk-QKA3UVU4.js} +2 -2
  87. package/build/_chunks/{chunk-G3UNARKB.js → chunk-QL3W2AC6.js} +1 -1
  88. package/build/_chunks/{chunk-ONOCM5IO.js → chunk-RCHZKKPA.js} +1 -1
  89. package/build/_chunks/{chunk-4VUMJS3Q.js → chunk-RCQTMMU2.js} +1 -1
  90. package/build/_chunks/{chunk-4ZK5WIJY.js → chunk-S45LFXXE.js} +1 -1
  91. package/build/_chunks/{chunk-2QTISYZC.js → chunk-SIKOWBLP.js} +1 -1
  92. package/build/_chunks/{chunk-P63BAZED.js → chunk-SOXQYR3G.js} +1 -1
  93. package/build/_chunks/{chunk-XDCJLWA2.js → chunk-TLMHYITF.js} +1 -1
  94. package/build/_chunks/{chunk-A6JU6IHH.js → chunk-TTVIBZZ7.js} +1 -1
  95. package/build/_chunks/{chunk-GBIWQ52O.js → chunk-UPTG45SU.js} +1 -1
  96. package/build/_chunks/chunk-VZHZR6UT.js +1 -0
  97. package/build/_chunks/{chunk-E6OJ5PER.js → chunk-WLHI5FKW.js} +1 -1
  98. package/build/_chunks/{chunk-3LYDDROA.js → chunk-WWP4ZWHG.js} +1 -1
  99. package/build/_chunks/{chunk-STAU6ZUC.js → chunk-X32B6CZC.js} +1 -1
  100. package/build/_chunks/{chunk-75FA6O7J.js → chunk-X5667DI7.js} +1 -1
  101. package/build/_chunks/{chunk-3FWBPCYF.js → chunk-X5VNFBID.js} +1 -1
  102. package/build/_chunks/{chunk-BUGQY66X.js → chunk-XEBYEWD3.js} +1 -1
  103. package/build/_chunks/{chunk-Y6SN5NQH.js → chunk-YB6SQDX6.js} +1 -1
  104. package/build/_chunks/{chunk-JOMXFKP5.js → chunk-YY2XSFX3.js} +1 -1
  105. package/build/_chunks/{chunk-CKGHTFE6.js → chunk-ZFHAF3WB.js} +1 -1
  106. package/build/_chunks/{chunk-6RUN2A52.js → chunk-ZFOVJTQG.js} +1 -1
  107. package/build/_chunks/{chunk-ZFNXPCDH.js → chunk-ZIJIDXAM.js} +1 -1
  108. package/build/_chunks/{chunk-3MXAUJ6B.js → chunk-ZMCKRDUE.js} +1 -1
  109. package/build/_chunks/{chunk-ZZUHBUBW.js → chunk-ZZXI5FMC.js} +1 -1
  110. package/build/components/Accordion/index.js +1 -1
  111. package/build/components/AccountDropdown/index.js +1 -1
  112. package/build/components/ActionMenu/index.js +1 -1
  113. package/build/components/ActionsDropdownMenu/index.js +1 -1
  114. package/build/components/ActiveFilterChip/index.js +1 -1
  115. package/build/components/ActivityAreaChart/index.js +1 -1
  116. package/build/components/Amount/index.js +1 -1
  117. package/build/components/AmountConversionFilter/index.js +1 -1
  118. package/build/components/AmountInput/index.js +1 -1
  119. package/build/components/AmountSlider/index.js +1 -1
  120. package/build/components/AmountStatusChip/index.js +1 -1
  121. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  122. package/build/components/AppServices/index.js +1 -1
  123. package/build/components/AppServicesBar/index.js +1 -1
  124. package/build/components/AppWindowWrapper/index.js +1 -1
  125. package/build/components/AuthenticationTypeChip/index.js +1 -1
  126. package/build/components/Autocomplete/index.js +1 -1
  127. package/build/components/BetaBanner/index.js +1 -1
  128. package/build/components/BrandLogo/index.js +1 -1
  129. package/build/components/Button/index.js +1 -1
  130. package/build/components/Calender/index.js +1 -1
  131. package/build/components/CardEmptyState/index.js +1 -1
  132. package/build/components/Checkbox/index.js +1 -1
  133. package/build/components/Chip/index.js +1 -1
  134. package/build/components/ChipStack/index.js +1 -1
  135. package/build/components/CircularProgressWithLabel/index.js +1 -1
  136. package/build/components/Collapse/index.js +1 -1
  137. package/build/components/ColorPicker/index.js +1 -1
  138. package/build/components/ColumnViews/index.js +1 -1
  139. package/build/components/ConfirmDialog/index.js +1 -1
  140. package/build/components/CopyImage/index.js +1 -1
  141. package/build/components/CountBadge/index.js +1 -1
  142. package/build/components/CountryFilter/index.js +1 -1
  143. package/build/components/CountryFlag/index.js +1 -1
  144. package/build/components/CurrencyAmount/index.js +1 -1
  145. package/build/components/CurrencyFilter/index.js +1 -1
  146. package/build/components/CurrencySymbol/index.js +1 -1
  147. package/build/components/CustomBackdrop/index.js +1 -1
  148. package/build/components/Customer/index.js +1 -1
  149. package/build/components/DateFilter/index.js +1 -1
  150. package/build/components/DeviceIcon/index.js +1 -1
  151. package/build/components/Dialog/index.js +1 -1
  152. package/build/components/Discount/index.js +1 -1
  153. package/build/components/DisplayAmount/index.js +1 -1
  154. package/build/components/Dropdown2/index.js +1 -1
  155. package/build/components/DropdownButton/index.js +1 -1
  156. package/build/components/DropdownMenu/index.js +1 -1
  157. package/build/components/Error/index.js +1 -1
  158. package/build/components/ErrorToast/index.js +1 -1
  159. package/build/components/ExpandableSideBar/index.js +1 -1
  160. package/build/components/FieldFeedback/index.js +1 -1
  161. package/build/components/FileInputPreview/index.js +1 -1
  162. package/build/components/FilePreview/index.js +1 -1
  163. package/build/components/FileUpload/index.js +1 -1
  164. package/build/components/FileUploader/index.js +1 -1
  165. package/build/components/FilterDropdown/index.js +1 -1
  166. package/build/components/Filters/index.js +1 -1
  167. package/build/components/FlagDetails/index.js +1 -1
  168. package/build/components/FlippingCard/index.js +1 -1
  169. package/build/components/HeatMap/index.js +1 -1
  170. package/build/components/IOSSwitch/index.js +1 -1
  171. package/build/components/Icon/index.js +1 -1
  172. package/build/components/IconWithBadge/index.js +1 -1
  173. package/build/components/Input/index.js +1 -1
  174. package/build/components/InputBase/index.js +1 -1
  175. package/build/components/InputNumber/index.js +1 -1
  176. package/build/components/Inputs/index.js +1 -1
  177. package/build/components/JSONViewer/index.js +1 -1
  178. package/build/components/LanguageDropdown/index.js +1 -1
  179. package/build/components/LazyImage/index.js +1 -1
  180. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  181. package/build/components/ListColumnFilter/index.js +1 -1
  182. package/build/components/ListHeader/index.js +1 -1
  183. package/build/components/ListLayout/index.js +1 -1
  184. package/build/components/Loader/index.js +1 -1
  185. package/build/components/MFWidgetLoader/index.js +1 -1
  186. package/build/components/MaskedText/index.js +1 -1
  187. package/build/components/Menu/index.js +1 -1
  188. package/build/components/MenuItem/index.js +1 -1
  189. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  190. package/build/components/MerchantLogo/index.js +1 -1
  191. package/build/components/MerchantsDropdown/index.js +1 -1
  192. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  193. package/build/components/MultiSelectWithSearch/index.js +1 -1
  194. package/build/components/NestedDropdown/index.js +1 -1
  195. package/build/components/NoInternet/index.js +1 -1
  196. package/build/components/OpenFileInNewTab/index.js +1 -1
  197. package/build/components/PartnersFilter/index.js +1 -1
  198. package/build/components/PaymentSourceFilter/index.js +1 -1
  199. package/build/components/PhoneFilter/index.js +1 -1
  200. package/build/components/ProgressBar/index.js +1 -1
  201. package/build/components/ProgressRing/index.js +1 -1
  202. package/build/components/RFH/index.js +1 -1
  203. package/build/components/RadioButton/index.js +1 -1
  204. package/build/components/RadioGroup/index.js +1 -1
  205. package/build/components/RangeCalender/index.js +1 -1
  206. package/build/components/ReceiptsViewer/index.js +1 -1
  207. package/build/components/ReferenceTypeFilter/index.js +1 -1
  208. package/build/components/ResizableHeightInput/index.js +1 -1
  209. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  210. package/build/components/SalesChannelFilter/index.js +1 -1
  211. package/build/components/ScrollLoader/index.js +1 -1
  212. package/build/components/SearchButton/index.js +1 -1
  213. package/build/components/SearchListInput/index.js +1 -1
  214. package/build/components/SelectDropdown/index.js +1 -1
  215. package/build/components/SelectWithSearch/index.js +1 -1
  216. package/build/components/SimpleDialog/index.js +1 -1
  217. package/build/components/Skeleton/index.js +1 -1
  218. package/build/components/Slider/index.js +1 -1
  219. package/build/components/StatusBar/index.js +1 -1
  220. package/build/components/StatusButton/index.js +1 -1
  221. package/build/components/StatusChip/index.js +1 -1
  222. package/build/components/StatusChipWithCopy/index.js +1 -1
  223. package/build/components/StatusFilter/index.js +1 -1
  224. package/build/components/StatusGroupChips/index.js +1 -1
  225. package/build/components/StatusIcons/index.js +1 -1
  226. package/build/components/StatusLabel/index.js +1 -1
  227. package/build/components/TableCells/index.js +1 -1
  228. package/build/components/TableReports/index.js +1 -1
  229. package/build/components/Timepicker/index.js +1 -1
  230. package/build/components/Toaster/index.js +1 -1
  231. package/build/components/ToggleButtons/index.js +1 -1
  232. package/build/components/ToggleView/index.js +1 -1
  233. package/build/components/Toolbar/index.js +1 -1
  234. package/build/components/ToolbarIcon/index.js +1 -1
  235. package/build/components/TooltipChip/index.js +1 -1
  236. package/build/components/TreeDropdown/index.js +1 -1
  237. package/build/components/VAT/index.js +1 -1
  238. package/build/components/VerificationIcon/index.js +1 -1
  239. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  240. package/build/components/VirtualTables/index.js +1 -1
  241. package/build/components/Widget/index.js +1 -1
  242. package/build/components/Window/index.js +1 -1
  243. package/build/components/WindowAppIcon/index.js +1 -1
  244. package/build/components/WindowBackdrop/index.js +1 -1
  245. package/build/components/WindowSideBar/index.js +1 -1
  246. package/build/components/_v2/index.js +1 -1
  247. package/build/components/index.d.ts +0 -1
  248. package/build/components/index.js +1 -1
  249. package/build/constants/assets.d.ts +1 -0
  250. package/build/constants/index.js +1 -1
  251. package/build/hooks/index.js +1 -1
  252. package/build/index.js +1 -1
  253. package/build/utils/date.d.ts +17 -6
  254. package/build/utils/index.js +1 -1
  255. package/package.json +1 -1
  256. package/build/_chunks/chunk-25P32HJ3.js +0 -1
  257. package/build/_chunks/chunk-2ITQR6AV.js +0 -1
  258. package/build/_chunks/chunk-4RAIPDCL.js +0 -1
  259. package/build/_chunks/chunk-BDONG5DZ.js +0 -1
  260. package/build/_chunks/chunk-DSHV2G5D.js +0 -2
  261. package/build/_chunks/chunk-EBXZYMSR.js +0 -1
  262. package/build/_chunks/chunk-EZPGM3YA.js +0 -1
  263. package/build/_chunks/chunk-GS5HU2W2.js +0 -1
  264. package/build/_chunks/chunk-JWYLOQS7.js +0 -1
  265. package/build/_chunks/chunk-NKRK4PAN.js +0 -1
  266. package/build/_chunks/chunk-QAJQQ6VZ.js +0 -2
  267. package/build/_chunks/chunk-QWAZOXVA.js +0 -1
  268. package/build/_chunks/chunk-URTGHZ5G.js +0 -1
  269. package/build/_chunks/chunk-Z42POOES.js +0 -1
  270. package/build/components/MultiDatakeyDonut/MultiDatakeyDonut.d.ts +0 -12
  271. package/build/components/MultiDatakeyDonut/index.d.ts +0 -1
  272. package/build/components/MultiDatakeyDonut/index.js +0 -1
  273. package/build/components/MultiDatakeyDonut/style.d.ts +0 -10
@@ -1 +0,0 @@
1
- import {e as e$1,a as a$5,b as b$2,d,c as c$2}from'./chunk-WLGP5VR2.js';import {a as a$2}from'./chunk-UXLTK54A.js';import {a as a$3,b as b$1,c as c$1}from'./chunk-GBIWQ52O.js';import {a as a$8}from'./chunk-EZPGM3YA.js';import {a as a$7}from'./chunk-ZZUHBUBW.js';import {a as a$9}from'./chunk-GNY2VGGW.js';import {a as a$6}from'./chunk-6RUN2A52.js';import {a as a$4}from'./chunk-Z42POOES.js';import {c,s}from'./chunk-ZFNXPCDH.js';import {a as a$1,i,e,$a,bc,yb,sc,tc,uc,_b,ac,$b,Cc,ab,hb,wa as wa$1,p,va as va$1}from'./chunk-QWAZOXVA.js';import {bh,hh,Si,jh,Oa,Aa as Aa$1,Ba,Ca,Gg,Mm,Qg,Pg,kh,z,E}from'./chunk-DSHV2G5D.js';import {a,b}from'./chunk-YRT7GXGY.js';import ze,{memo,createContext,useContext,useRef,useCallback,useEffect,useMemo,useState,createElement,Fragment as Fragment$1}from'react';import {styled,alpha,useTheme}from'@mui/material/styles';import jl from'memoize-one';import Gl from'react-virtualized-auto-sizer';import Kl from'react-window-infinite-loader';import Ce from'@mui/material/Box';import ia from'@mui/material/Popper';import Qi from'@mui/material/Collapse';import {useTranslation}from'react-i18next';import Gi from'@mui/material/Button';import {jsxs,Fragment,jsx}from'react/jsx-runtime';import {TableCell,Button,styled as styled$1,Box}from'@mui/material';import La from'@mui/material/TableRow';import {motion}from'framer-motion';import {VariableSizeList,areEqual}from'react-window';import Fa from'@mui/material/TableHead';import Ja from'@mui/material/Skeleton';import Qa from'@mui/material/TableCell';import {createPortal}from'react-dom';var Nr=a((Yd,Or)=>{var $i=a$1();function Ui(e,t){return $i(t,function(o){return e[o]})}Or.exports=Ui;});var Ur=a((Jd,$r)=>{var Xi=Nr(),qi=i();function ji(e){return e==null?[]:Xi(e,qi(e))}$r.exports=ji;});var Pt=a((fu,wn)=>{var ja=e(),Ga=0;function Ka(e){var t=++Ga;return ja(e)+t}wn.exports=Ka;});var en=b(Ur(),1);var Xr=e=>({backgroundColor:e.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",width:"188px",marginTop:"10px",boxShadow:e.shadows[3]}),qr=styled(Ce)(({theme:e})=>({color:e.palette.grey[700],fontSize:"11px",fontWeight:500,padding:"8px 16px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`})),jr=styled(a$2)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,".icon":{width:14}})),Gr=styled(Ce)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}})),Kr=styled(Gi)(({theme:e})=>({color:e.palette.info.dark,fontSize:"11px",textTransform:"capitalize",padding:"4px 9px",minWidth:"auto","&:hover":{background:"transparent"}})),Yr=styled(Ce)(({theme:e})=>({padding:"0 16px 8px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`}));function ta({onCloseDropdown:e,filter:{options:t=[],onConfirm:o,data:r,isOnlyOneFilter:n,onClearFilterFields:a,wrapperSx:l,sx:s$1}}){let[i,p]=useState({});useEffect(()=>{p((t||[]).reduce((T,{apiKey:g})=>({...T,[g]:r?.[g]??""}),{}));},[]);let{t:d$1}=useTranslation(),u=()=>{o?.(i);},c=s(u,e),y=T=>{u(),e(T);},m=T=>{e(T);},b=()=>{a?.(),p(t.reduce((T,{apiKey:g})=>({...T,[g]:""}),{}));},f=T=>i[T]!==void 0&&i[T].length>0,x=T=>i[T]!==void 0&&i[T].length?i[T]:"",h=T=>{f(T)&&p({...i,[T]:""});},S=useMemo(()=>(0, en.default)(i).some(T=>!!T),[i]),w=useCallback(T=>t.find(g=>g.apiKey===T),[t]),E=useCallback((T,g)=>{let R=i?.[T]!==void 0&&i?.[T]!==""&&i?.[T]!==null,k=Object.entries(i).some(([C,v])=>!!v&&(w(C)?.filterGroup!==g||!g));return n&&!R&&k},[t,i,n]);return jsxs(Ce,{component:"article","data-testid":"ColumnFilterInputs",sx:T=>({...Xr(T),...Object.assign({},...[s$1].flat().filter(g=>g&&typeof g=="object"))}),onKeyDown:c,children:[jsx(qr,{component:"header","data-testid":"ColumnFilterInputs_title",children:d$1("filterBy")}),jsx(Gr,{"data-testid":"ColumnFilterInputs_inputs",component:"main",sx:l,children:t.map(({placeholder:T,apiKey:g,isDisabled:R,filterGroup:k,render:C})=>jsx(Fragment$1,{children:C?C():jsx(jr,{className:"input","data-testid":"ColumnFilterInputs_InputStyled",name:g,placeholder:T,onChange:v=>{p({...i,[g]:v.target.value});},disabled:R||E(g,k),value:x(g),inputProps:{autoComplete:"off","data-testid":"ColumnFilterInputs_input"},endAdornment:jsx(Ce,{component:"img","data-testid":"ColumnFilterInputs_icon","data-icon":f(g)?"close":"search",src:f(g)?kh:z,alt:"search",className:"icon",sx:{cursor:f(g)?"pointer":"default"},onClick:()=>{h(g);}})})},g))}),jsx(Qi,{in:S,component:"section","data-testid":"ColumnFilterInputs_Collapse",sx:{borderTop:"0"},children:jsx(Yr,{"data-testid":"ColumnFilterInputs_ClearWrapper",children:jsx(Kr,{type:"button",onClick:b,"data-testid":"ColumnFilterInputs_ClearButton",children:d$1("clear")})})}),jsxs(b$2,{component:"footer","data-testid":"ColumnFilterInputs_footer",children:[jsx(d,{type:"button",onClick:m,"data-testid":"ColumnFilterInputs_CancelButton",children:d$1("cancel")}),jsx(c$2,{type:"button",onClick:y,"data-testid":"ColumnFilterInputs_OkayButton",children:d$1("okay")})]})]})}var tn=ta;var gt=tn;function aa(e){let{anchorEl:t,setAnchorEl:o,onClose:r,isFilterApplied:n,disabled:a}=e,l=u=>{u.stopPropagation(),o(null),r?.(u);},s=useRef(null),i=!!t;useEffect(()=>{i&&requestAnimationFrame(()=>s.current?.focus());},[i]);let p=useMemo(()=>e.type==="list"?[e.apiKey]:(e?.options||[])?.map(({apiKey:u})=>u),[e]),d=useMemo(()=>{if(e.type==="list")return jsx(e$1,{onCloseDropdown:l,filter:e});if(e.type==="inputs")return jsx(gt,{onCloseDropdown:l,filter:e});if(e.type==="custom"){let u={anchorEl:t,setAnchorEl:o,onCloseDropdown:l};return e.render(u)}return null},[i,e,l]);return jsxs(Fragment,{children:[n?jsxs(a$5,{children:[jsx(Ce,{component:"img","data-testid":"ColumnFilter_whiteFilterIcon",src:jh,alt:"filter-icon",sx:{marginInlineEnd:"2px",height:6}}),jsx(Ce,{component:"img","data-testid":"ColumnFilter_closeIcon",src:Oa,alt:"close-icon",onClick:u=>{u.stopPropagation(),o(null),e.onClear(p);}})]}):jsx(Ce,{component:"img","data-testid":"ColumnFilter_columnIcon",src:Aa$1,alt:"column-icon",sx:{marginTop:"2px",userSelect:"none",opacity:a?.5:1}}),i&&jsx(a$6,{onClick:l}),jsx(ia,{open:i,anchorEl:t,placement:"bottom-start",children:jsx("div",{ref:s,tabIndex:-1,style:{outline:"none"},children:d})})]})}var nn=memo(aa);var Ge=nn;var to=styled("img")(()=>({width:"13.3px",height:"13.3px"})),ln=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer"}));function pa({onColumnSort:e,columnsSorting:t,columnId:o,onClick:r}){let[n,a]=useState(null),l=!!n,s=d=>{d.stopPropagation(),a(d.currentTarget),r?.(d);},i=d=>{d.stopPropagation(),a(null),r?.(d);},p=(d,u,c)=>{d&&(e?.({[d]:u}),i(c));};return jsxs(Fragment,{children:[jsx(ln,{onClick:s,src:Aa$1,alt:"column-icon","data-id":o,sx:{userSelect:"none",marginTop:"2px"}}),l&&jsx(a$6,{onClick:i}),jsxs(a$7,{anchorEl:n,open:l,children:[jsxs(a$8,{isSelected:t?.[n?.dataset.id||""]==="asc",onClick:d=>{p(n?.dataset.id,"asc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="asc"&&{boxShadow:d.shadows[10]}}),children:[jsx(to,{src:Ba,alt:"sort-icon"}),jsx(a$9,{sx:{fontSize:"0.6875rem"},children:"Sort A-Z"})]}),jsxs(a$8,{isSelected:t?.[n?.dataset.id||""]==="desc",onClick:d=>{p(n?.dataset.id,"desc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="desc"&&{boxShadow:d.shadows[10]}}),children:[jsx(to,{src:Ca,alt:"sort-icon"}),jsx(a$9,{sx:{fontSize:"0.6875rem"},children:"Sort Z-A"})]})]})]})}var sn=memo(pa);var Ct=sn;var pn=ze.forwardRef(({children:e,...t},o)=>jsxs(Fragment,{children:[jsx(Ce,{"data-testid":"VirtualScrollInner",className:"VirtualScrollInner",style:{position:"sticky",top:0},children:e}),jsx("div",{ref:o,...t})]}));pn.displayName="VirtualScrollInner";var oo=pn;var St=createContext(null);var ro=({children:e,value:t})=>jsx(St.Provider,{value:t,children:e});var mn=ze.forwardRef(({onScroll:e,children:t,...o},r)=>{let n=useContext(St);return jsx("div",{className:"VirtualScrollOuter",onScroll:n,ref:r,...o,children:t})});mn.displayName="VirtualScrollOuter";var no=mn;function wa({setBackdropVisibility:e,clearBackdropVisibilityTimeout:t}){let o=useRef(void 0);return useEffect(()=>()=>{clearTimeout(o.current);},[]),{handleBackDropVisibility:()=>{e(true);},clearBackdropVisibility:()=>{o.current=setTimeout(()=>{e(false);},t||2e3);},clearTimer:()=>{clearTimeout(o.current);}}}var un=wa;var Pa=ze.forwardRef(({itemData:e,children:t,setBackdropVisibility:o,scrollToIndex:r,listRef:n,onScroll:a,clearBackdropVisibilityTimeout:l,...s},i)=>{let{handleBackDropVisibility:p,clearBackdropVisibility:d,clearTimer:u}=un({setBackdropVisibility:o,clearBackdropVisibilityTimeout:l}),c=useRef(0),y=useRef(void 0),m=useRef(false),b=useRef(null),f=i||n||b,x=useCallback(()=>(u(),y.current!==void 0&&f.current?(m.current=false,c.current=y.current,y.current=void 0,p(),f.current?.scrollTo?.(c.current),true):(d(),false)),[d,u,p,f]),h=ze.useCallback(E=>{y.current=E.currentTarget.scrollTop,m.current||(m.current=true,x());},[x]);useEffect(()=>{(r||0)>=0&&!Number.isNaN(r)&&r!==void 0&&f.current?.scrollTo&&f.current?.scrollToItem(r,"center");},[r,f]);let S=ze.useMemo(()=>({...e,renderedScrollTopRef:c}),[e]),w=ze.useCallback(E=>{a?.(E),m.current=x();},[x,a]);return jsx(ro,{value:h,children:jsx(VariableSizeList,{ref:f,"data-testid":"VirtualScrollList",itemData:S,outerElementType:no,innerElementType:oo,...s,onScroll:w,children:t})})}),io=Pa;var A=styled(Ce,{shouldForwardProp:e=>!["showNoDataView","compact","fixedHeight"].includes(e)})(({showNoDataView:e,compact:t,fixedHeight:o})=>({display:"flex",flexDirection:"column",height:o?`${o}px`:t?"auto":"100%",width:"100%",minWidth:e?"unset":"fit-content",overflow:"hidden",overflowX:e?"hidden":"auto",margin:"0px",...t&&{flex:"0 0 auto"}})),ce=styled(Ce,{shouldForwardProp:e=>e!=="hidePadding"})(({theme:e,hidePadding:t})=>({flex:"1 1 auto",backgroundColor:e.palette.grey[300],paddingBottom:t?0:a$3})),De=styled(Ce)(({theme:e})=>({backgroundColor:e.palette.background.default})),Se=styled(TableCell,{shouldForwardProp:e=>!["isLast","isFirst","isSheetView","isSelected"].includes(e)})(({theme:e,isLast:t,isFirst:o,isSheetView:r})=>({paddingBlock:"0",paddingInline:"0.3875rem !important",paddingLeft:o?"0 !important":"0.3875rem !important",paddingRight:t?"0 !important":"0.3875rem !important",color:r?e.palette.text.primary:e.palette.grey[700],fontSize:r?e.typography.subtitle1.fontSize:e.typography.caption.fontSize,height:"100%",fontWeight:r?400:e.typography.fontWeightRegular,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",cursor:"pointer",...r&&{borderRight:t?"1px solid transparent":`1px solid ${e.palette.divider}`,paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",position:"relative",borderTop:"1px solid transparent",borderLeft:"1px solid transparent",overflow:"hidden !important","&:before":{content:'""',borderRight:t?"none":"1px solid transparent",position:"absolute",top:0,right:0,left:0,bottom:0,pointerEvents:"none"}}})),wt=styled("button")(({theme:e})=>({zIndex:1,display:"flex",gap:e.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",cursor:"pointer",padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),He=styled(io,{shouldForwardProp:e=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(e)})(({theme:e,areTotalRowsNotFillingHeight:t,isSheetView:o})=>({backgroundColor:t?"transparent":"#F6F8FACC",...o&&{backgroundColor:e.palette.common.white}})),Rt=styled(La,{shouldForwardProp:e=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected","isChecked","adjacentBelow","adjacentAbove"].includes(e)})(({theme:e,showShadowHighlight:t,showLoadedStyle:o,isSheetView:r,isChecked:n,adjacentBelow:a,adjacentAbove:l})=>({display:"flex",borderBottom:`1px solid ${e?.palette.divider}`,position:"relative",height:"100%",width:"100%",...!r&&{paddingInline:"32px",...a&&{borderBottom:"none",clipPath:"inset(-20px -20px 0px -20px)","&::before":{content:'""',position:"absolute",bottom:0,left:"32px",right:"32px",height:"1px",backgroundColor:e.palette.divider,zIndex:1}},...l&&{clipPath:"inset(0px -20px -20px -20px)"},...a&&l&&{clipPath:"inset(0px -20px 0px -20px)"},"&:hover":{boxShadow:e.shadows[12],zIndex:1,".MuiCheckbox-root":{visibility:"visible"},".payment-sources-container":{backgroundColor:e?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0},...n&&{boxShadow:e.shadows[12],zIndex:1,"&:after":{opacity:1},".MuiCheckbox-root":{visibility:"visible"}},...o&&{backgroundColor:`${e.palette.info.dark}08 !important`},...t&&{boxShadow:e.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0}}}})),te=styled(Ce,{shouldForwardProp:e=>e!=="showNoDataView"&&e!=="scrollable"})(({theme:e,showNoDataView:t,scrollable:o})=>({position:"relative",backgroundColor:e.palette.background.default,height:"100%",overflowX:t?"hidden":"auto",display:"flex",flexDirection:"column","&:hover":{scrollbarWidth:o?"auto":"none"},"&::-webkit-scrollbar":{display:"block",height:"13px"},"&::-webkit-scrollbar-track":{background:"white",border:"1px solid #F2F2F2"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#DADCDF",borderRadius:"32px",border:"3px solid transparent",backgroundClip:"content-box",minHeight:"20px"}})),ao=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),It=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),fn=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),bn=styled(Ce,{shouldForwardProp:e=>e!=="showNoDataView"})(({showNoDataView:e})=>({position:"relative",height:"100%",overflowX:e?"hidden":"auto",paddingBottom:0,display:"flex",flexDirection:"column"})),Et=styled(a$4,{shouldForwardProp:e=>!["isRow"].includes(e)})(({isRow:e})=>({position:"absolute",left:"12px",top:"50%",transform:"translateY(-50%)",padding:0,...e&&{visibility:"hidden"}}));var va=e=>{let{filter:t,totalCount:o,isFilterEnabled:r}=e,n=useMemo(()=>t?.options?.reduce((i,{apiKey:p})=>({...i,[p]:t?.data?.[p]}),{})||{},[t]),a=useMemo(()=>{let i=t,p=i?.data?.[i.apiKey];return Array.isArray(p)?p:[]},[t]),l=useMemo(()=>Object.values(n||{}).some(i=>typeof i=="string"||Array.isArray(i)?i.length>0:i!=null)||a.length>0,[n,a]);return {isFilterApplied:l,filterDisabled:!l&&o===0&&!r}},Ke=va;function hn({column:{header:e,id:t,align:o,headerStyle:r,sortable:n,filter:a,width:l,order:s},isFirst:i,isLast:p,isSheetView:d,onColumnSort:u,columnsSorting:c,totalCount:y,isFilterEnabled:m}){let[b,f]=useState(null),x=useRef(null),{isFilterApplied:h,filterDisabled:S}=Ke({filter:a,totalCount:y,isFilterEnabled:m});return jsx(Se,{"data-id":t,component:"div","data-testid":"VirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":l,"data-column-width-used":l,"data-column-align":o,"data-column-order":s,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!n,"data-column-filterable":!!a,isFirst:i,isLast:p,ref:x,sx:E=>({paddingInline:"0.6875rem",paddingLeft:i?"0":"0.6875rem",paddingRight:p?"0":"0.6875rem",display:"flex",gap:E.spacing(.5),alignItems:"center",justifyContent:uc[o??"left"],width:l,textAlign:o,overflow:"unset",fontWeight:600,...S&&{cursor:"not-allowed"},...r}),isSheetView:d,children:jsxs(wt,{disabled:S,onClick:()=>{f(x.current);},children:[typeof e=="function"?e():jsx(Ce,{"data-testid":"TableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx("span",{style:{textOverflow:"ellipsis",width:"80%",overflow:"hidden"},"data-testid":"VirtualTable_TableHeader_StyledCell_header_text",children:e})}),a&&jsx(Ge,{...a,anchorEl:b,setAnchorEl:f,isFilterApplied:h,disabled:S}),n&&jsx(Ct,{onColumnSort:u,columnsSorting:c,columnId:t})]})})}var so=hn;var xn=styled(Fa,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto"})),Cn=styled(La,{shouldForwardProp:e=>e!=="isSheetView"})(({theme:e,isSheetView:t})=>({display:"flex",justifyContent:"flex-start",width:"100%",minWidth:"fit-content",position:"relative",paddingInline:"32px",paddingBlock:"16px",...t&&{height:"28px",borderBottom:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.primary.light,paddingInline:0,paddingBlock:0}}));function Aa({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s,selection:i,selectableCount:p=0,getSelectableKeys:d}){let u=i&&i.ids.length>0,c=i&&p>0&&i.ids.length===p,y=useCallback(()=>{i&&i.setIds(c?[]:d?.()??[]);},[i,c,d]);return jsx(xn,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsxs(Cn,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:a,children:[u&&jsx(Et,{size:"small",checked:c,indeterminate:u&&!c,onChange:y,onClick:m=>m.stopPropagation()}),e.map((m,b)=>jsx(so,{column:m,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s},`${m.id}-${b}`))]})})}var Sn=memo(Aa);var mo=Sn;var Xa=styled(Ce,{shouldForwardProp:e=>e!=="sandboxMode"&&e!=="height"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,position:"sticky",left:0,background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",margin:0,minHeight:"55px"})),uo=styled("p")(({theme:e})=>({fontSize:"0.75rem",fontWeight:600,color:alpha(e.palette.common.black,.2)}));function qa({height:e,sandboxMode:t,...o}){let{t:r}=useTranslation();return jsx(Xa,{component:"section","data-testid":"TableLastItem",...o,height:e,sandboxMode:t,children:jsx(uo,{children:r("allRecordsHaveBeenSuccessfullyLoaded")})})}var co=qa;var In=b(Pt(),1);var ol=styled(Ja)(({theme:e})=>({backgroundColor:e.palette.grey[100],borderRadius:"64px",minWidth:"20px"}));function rl({columns:e,style:t,index:o,animationType:r}){return jsx(La,{sx:{...t,display:"flex",borderBottom:"1px solid #e3e8ee","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((n,a)=>jsx(Qa,{sx:{width:n.width||`${100/e.length}%`||"20%",paddingInline:"0.6875rem"},component:"div",children:jsx(ol,{variant:"rectangular",animation:r})},`${n.id}-${a}`))},o)}var bo=memo(rl,areEqual);var al=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ll({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n}){let a=n||$a(t,r);return a=a>0?a:5,jsx(al,{isLoaded:t,"data-testid":"TableLoading",children:[...Array(a)].map(()=>jsx(bo,{columns:e,animationType:o},`i-${(0, In.default)("TableLoadingRow_")}`))})}var ho=memo(ll);var Vn=styled(Ce,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),Ln=styled(Ce,{shouldForwardProp:e=>e!=="shouldMinimizeWidth"})(({shouldMinimizeWidth:e})=>({width:e?"9rem":"15rem",display:"flex",flexDirection:"column",alignItems:"center"})),kn=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1.125rem",color:e.palette.text?.primary,padding:0,margin:0})),vn=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,opacity:.5,padding:0,marginTop:3,textAlign:"center"})),Wn=styled("img")(()=>({width:"2rem",height:"2rem"})),Mn=styled(Button)(({theme:e})=>({padding:" 0.625rem 1rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.5rem",backgroundColor:alpha(e.palette.info.dark,.1),borderRadius:"0.25rem",color:e.palette.info.dark,"&:hover":{backgroundColor:alpha(e.palette.info.dark,.1),color:e.palette.info.dark},width:"6rem",height:"1.8rem",marginTop:"1.5rem"})),Dn=styled("p")(({theme:e})=>({color:e.palette.info.dark,fontSize:"0.8rem",fontWeight:600,textTransform:"none"}));function pl({triggerDataRefetch:e,heading:t,message:o,shouldMinimizeWidth:r,sandboxMode:n,hideIcon:a,hideTryAgain:l,...s}){let{t:i}=useTranslation();return jsx(Vn,{sandboxMode:n,...s,children:jsxs(Ln,{shouldMinimizeWidth:r,children:[!a&&jsx(Wn,{src:E,alt:"info icon"}),jsx(kn,{children:i(t)}),jsx(vn,{children:i(o)}),!l&&jsx(Mn,{variant:"contained",onClick:()=>{e();},children:jsx(Dn,{children:i("tryAgain")})})]})})}var oe=pl;var Vt=oe;var Hn=styled$1("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0})),Fn=styled$1("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,marginTop:3,opacity:.5})),Bn=styled$1(Ce,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),go=styled$1("img")(()=>({width:"2rem",height:"2rem"}));function zn({sandboxMode:e,heading:t,message:o,...r}){let{t:n}=useTranslation();return jsxs(Bn,{component:"section","data-testid":"EmptyList",sandboxMode:e,...r,children:[jsx(go,{src:Gg,alt:"empty container"}),jsx(Hn,{children:n(t)}),jsx(Fn,{children:n(o)})]})}zn.displayName="EmptyList";var kt=memo(zn);var _n=kt;var gl=e=>{let{isTimeoutError:t,tableError:o,triggerDataRefetch:r,sandboxMode:n,tableEmpty:a,error:l}=e;if(t)return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:r,sandboxMode:n});let s=l;if(o){let{formatted:i,message:p,code:d}=bc({error:s,fallbackMessage:"connectionErrorMsg"}),u=yb()&&d===Mm;return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u?p:i,triggerDataRefetch:r,sandboxMode:n,hideIcon:u,hideTryAgain:u})}if(a){let{formatted:i}=bc({error:s,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(_n,{sandboxMode:n,heading:"nothingFound",message:i})}return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:r,sandboxMode:n})},Co=memo(gl);function An({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){return n?jsx(De,{"data-testid":"VirtualTable_SolidBackground",children:jsx(ho,{"data-testid":"VirtualTable_TableLoading",columns:a,isLoading:true})}):jsx(Co,{isTimeoutError:o,tableEmpty:t,tableError:r,sandboxMode:s?.sandboxMode,error:e,triggerDataRefetch:l})}An.displayName="TableNoData";var Je=memo(An);function yo(){return jsx(motion.div,{initial:{width:0},animate:{width:"fit-content",transition:{duration:.5}},exit:{width:0},style:{paddingInline:"11px",paddingBlock:"5px",boxShadow:"0px 0px 1px 0px rgba(0, 0, 0, 0.10), 0px 1px 1px 0px rgba(0, 0, 0, 0.09), 0px 2px 1px 0px rgba(0, 0, 0, 0.05), 0px 4px 2px 0px rgba(0, 0, 0, 0.01), 0px 7px 2px 0px rgba(0, 0, 0, 0.00)",borderRadius:"24px",overflow:"hidden",display:"inline-block",whiteSpace:"nowrap"},children:jsxs(motion.span,{style:{color:"#8F9195",fontSize:"12px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",gap:"10px"},children:[jsx(motion.span,{children:"!"}),jsx(motion.span,{children:"Error while loading"})]})})}function Rl({row:e,columns:t,index:o,rowProps:r,isSheetView:n,selectedCell:a=null,selectedColumn:l=null,selectedRow:s=null,selectedChip:i=null,onCellClick:p,isLastRow:d=false,onChipClick:u,selection:c,hasAdjacentCheckedAbove:y,hasAdjacentCheckedBelow:m}){let b=c?e[c.selector]:void 0,f=c&&c.ids.includes(b),x=c?.isDisabled?.(e),h=ze.useCallback(()=>{!c||x||c.setIds(f?c.ids.filter(g=>g!==b):[...c.ids,b]);},[c?.setIds,c?.ids,f,x,b]),S=ze.useCallback((g,R)=>(k,C)=>{u?.(o,g,k,C,R);},[u,o]),w=ze.useCallback((g,R,k)=>{let{render:C,format:v,selector:I}=g;if(!g?.id||!e)return null;let V=I?I({row:e,index:o,value:e[g?.id]}):e[g?.id],L=v?v({value:V,row:e,index:o}):V;return C?C({row:e,column:g,index:o,value:e[g?.id],selectionProps:{onClick:S(k,g.pinned),rowIndex:R,colIndex:k,selectedId:i}}):jsx(Fragment,{children:L})},[e,o,i,S]),E=a!==null||l!==null||s!==null,P=ze.useCallback((g,R)=>k=>{p?.(o,g,k,R);},[p,o]),T=useMemo(()=>{let g=t[0]?.id,R=t[t.length-1]?.id,k=s===o;return jsx(Fragment,{children:t.map((C,v)=>{if(!C?.id)return null;let I=`${C.pinned??"default"}-${o}-${v}`,V=`${C.pinned??"default"}-${v}`,L=E&&a===I,M=E&&l===V,H=sc({isSelected:E&&(L||M||k),isCellSelected:L,isColumnSelected:M,isRowSelected:k,isLastRow:d}),N=C.id===g,G=C.id===R,W=C.pinned?N:N&&C.pinned!=="start",_=C.pinned?G:G&&C.pinned!=="end",U=k&&E?tc({effectiveFirst:W,isPinnedStart:C.pinned==="start",isPinnedEnd:C.pinned==="end"}):{},B=C.pinned==="start"&&W;return jsx(Se,{component:"div","data-testid":"TableRow_TableCell","data-column-id":C.id,"data-column-width":C.width,"data-column-width-used":C.width,"data-column-align":C.align,"data-column-order":C.order,"data-column-header":typeof C.header=="string"?C.header:"component","data-column-sortable":!!C.sortable,"data-column-filterable":!!C.filter,isFirst:W,isLast:_,onClick:P(v,C.pinned),sx:{width:C.width,minWidth:C.width,textAlign:C.align,justifyContent:uc[B?"center":C.align??"left"],cursor:p?"pointer":"default",...H,...U,...C.cellStyle},isSheetView:n,isSelected:L,children:n?jsx(Box,{sx:{position:"relative",zIndex:1,width:"100%"},children:w(C,o,v)}):jsx(Fragment,{children:w(C,o,v)})},`${C.id}-${v}`)})})},[t,e,o,a,l,s,E,p,d,i,n,w,P]);return createElement(Rt,{"data-testid":"TableRow",onClick:r?.onRowClick,showShadowHighlight:r?.showShadowHighlight,showLoadedStyle:r?.showLoadedStyle,component:"article",...r,key:o,isSheetView:n,isChecked:f,adjacentAbove:y,adjacentBelow:m},c&&jsx(Et,{isRow:true,size:"small",checked:f,onChange:h,disabled:x}),T)}var Ro=memo(Rl,areEqual);var Ml=styled(Ja)(()=>({backgroundColor:"#F4F4F4",borderRadius:"64px",width:"100%",minWidth:"20px"}));function Dl({columns:e,style:t,index:o,animationType:r,rowIndex:n=0,useTableBackground:a=false}){let l=useTheme();return jsx(La,{sx:{...t,display:"flex",borderBottom:"1px solid #F2F2F2",minHeight:"28px",height:"28px",alignItems:"center",backgroundColor:a?l.palette.background.default:"transparent","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((s,i)=>{let p=i===e.length-1,d=i===0,u=s.pinned==="start",c=d&&u;return jsx(Qa,{sx:{width:s.width||`${100/e.length}%`||"20%",paddingBlock:"0",paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",borderRight:p?"none":"1px solid #F2F2F2",borderLeft:d?"1px solid #F2F2F2":"none",height:"100%",display:"flex",alignItems:"center",boxSizing:"border-box",whiteSpace:"nowrap",overflow:"hidden"},component:"div",children:c&&s.render?s.render({index:n,row:{},column:s,value:n+1}):jsx(Ml,{variant:"rectangular",animation:r,height:16})},`${s.id}-${i}`)})},o)}var Ze=memo(Dl,areEqual);var Bl=ze.memo(({isLoadingRow:e,isSheetView:t,columns:o,currentRowCount:r})=>{let{t:n}=useTranslation();return e?t&&o?.length?jsx(Fragment,{children:Array.from({length:3},(a,l)=>jsx(Ze,{columns:o,animationType:"wave",rowIndex:(r||0)+l,useTableBackground:true},`loading-row-${l}`))}):jsxs(Box,{"data-testid":"ListItemWrapper_lastRowContent_isLoadingRow",sx:{height:t?"100%":"24px",width:"24px",borderRadius:"50%",background:"transparent",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},children:[jsx(ao,{sx:{position:"absolute"},src:bh}),jsx(ao,{sx:{position:"absolute",padding:"3px"},src:hh,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(uo,{"data-testid":"ListItemWrapper_lastRowContent",children:n("allRecordsHaveBeenSuccessfullyLoaded")})}),zl=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},_l=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:t})=>({height:t?28:"100%",backgroundColor:e.palette.background.default}));function Al({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,columns:a,isLoading:l,scrollToIndex:s,newLoadedRowsEndIndex:i,isError:p,areAllRowsLoaded:d,isSheetView:u,isPinned:c=false,isLoadMoreLoading:y=false,...m}}){let b=r.length-1,{hasAdjacentCheckedAbove:f,hasAdjacentCheckedBelow:x}=ze.useMemo(()=>{let R=m.selection;if(!R)return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let k=r[e]?.[R.selector];if(!R.ids.includes(k))return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let v=e>0?r[e-1]?.[R.selector]:void 0,I=e<b?r[e+1]?.[R.selector]:void 0;return {hasAdjacentCheckedAbove:v!==void 0&&R.ids.includes(v),hasAdjacentCheckedBelow:I!==void 0&&R.ids.includes(I)}},[m.selection?.ids,m.selection?.selector,r,e,b]),h=r[e],S=l&&e===b+1,w=e<=i,E=ze.useCallback(()=>zl(h,n?.onRowClick),[h,n?.onRowClick]),P=ze.useMemo(()=>({showShadowHighlight:s===e,showLoadedStyle:w,...n,onClick:E}),[s,e,w,n,E]),T=ze.useCallback(R=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:p?jsx(yo,{}):R}),[p]),g=ze.useMemo(()=>{let R=jsx(Bl,{isSheetView:u,isLoadingRow:S,columns:a,currentRowCount:r.length}),k=S||d&&e===b+1;return c&&k?u&&S&&a&&a.length>0?T(R):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):k?u&&S&&a&&a.length>0?T(R):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},display:"flex",justifyContent:"center",alignItems:"center"},children:jsx(Box,{sx:{backgroundColor:"#F6F8FACC",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:p?jsx(yo,{}):R})}):jsx(Ro,{index:e,row:h,columns:a,rowProps:P,isSheetView:u,isLastRow:e===r.length-1,isFirstRow:e===0,isLoading:l,isLoadMoreLoading:y,hasAdjacentCheckedAbove:f,hasAdjacentCheckedBelow:x,...m},`row-${e}`)},[m,e,h,a,P,u,S,p,d,b,c,r.length,T,y]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...t,top:Number(t.top)-(o?.current??0),willChange:"top"},children:jsx(_l,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:u,children:g})})}var Dt=Al;var Yl=jl((e,t,o,r,n,a,l,s,i,p,d)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,isSheetView:p,selection:d}));function Jl({columns:e,rows:t,threshold:o=200,showHeader:r,headerProps:n,rowProps:a,footerProps:l,isLoading:s,error:i,columnsSorting:p,onColumnSort:d,loadMoreItems:u,isFetchingNextPage:c$1,triggerDataRefetch:y,scrollToIndex:m,areAllRowsLoaded:b=false,tableBodyStyles:f,tableMode:x,tableTitle:h,onStartDrag:S,isSheetView:w=false,isMinimized:E,footerComponent:P,customNoDataComponent:T,defaultSkeleton:g=false,selection:R,isFilterEnabled:k}){let C=useTheme(),v=z=>{S?.(z);},I=c({value:c$1,delay:1e3}),[V,L]=useState(false),[M,D]=useState("INITIAL_KEY");useEffect(()=>{let z=`${l?.maximized}-${E}`,J=requestAnimationFrame(()=>D(z));return ()=>cancelAnimationFrame(J)},[l?.maximized,E]);let H=_b(i),N=s??true,G=!s&&t.length===0&&H&&!ac(i),W=!s&&t.length===0,_=$b(i),U=t.length-1,B=useMemo(()=>Cc(e,s??false,g),[e,s,g]),F=useMemo(()=>B.filter(z=>!z.hidden),[B]),ne=useMemo(()=>F.sort((z,J)=>(z?.order??1e6)-(J?.order??1e6)),[F]),Ne=useMemo(()=>R?R.isDisabled?t.filter(z=>!R.isDisabled(z)).length:t.length:0,[t,R?.isDisabled]),$t=useCallback(()=>R?(R.isDisabled?t.filter(J=>!R.isDisabled(J)):t).map(J=>J[R.selector]):[],[t,R?.isDisabled,R?.selector]),K=ab(t.length)&&!N,ie=I||b&&!K?t.length+1:t.length,$e=Yl(ne,I,t,a,m,U,l?.totalCount??0,H,b&&!K,w,R),ae=w?28:57,he=useRef(null);useEffect(()=>{he.current&&typeof he.current.resetAfterIndex=="function"&&he.current.resetAfterIndex(0,true);},[w,ae]);let Ut=useMemo(()=>{let z=ge=>{L(ge);};return jsx(Kl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:ge=>ge!==U,itemCount:ie,loadMoreItems:async()=>{b||await u?.();},threshold:o,children:({onItemsRendered:ge,ref:Xt})=>jsx(Gl,{ref:Xt,"data-testid":"VirtualTable_AutoSizer",children:({height:nt,width:it})=>jsx(He,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:$e,height:K?ie*ae:nt||0,width:it||0,itemCount:ie,itemSize:()=>ae,onItemsRendered:ge,setBackdropVisibility:z,areTotalRowsNotFillingHeight:K,scrollToIndex:m,overscanCount:5,isSheetView:w,listRef:he,style:{paddingBottom:"13px"},children:Dt})},M)})},[U,u,o,b,K,ie,ae,w,$e,m,M]),X=N||G||W||_;return jsxs(Fragment,{children:[jsx(It,{children:jsxs(te,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":h,"data-direction":C.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!c$1,"data-scroll-to-index":m,"data-is-loading":!!s,"data-is-error":!!H,"data-is-error-timeout":!!_,"data-table-mode":x,height:"100%",dir:C.direction,showNoDataView:X,scrollable:true,children:[jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:X,compact:!X&&K,sx:{...f},children:[r&&jsx(mo,{"data-testid":"VirtualTable_TableHeader",columnsSorting:p,onColumnSort:d,columns:ne,headerProps:n,showBackDrop:V,isSheetView:w,totalCount:l?.totalCount??0,selection:R,selectableCount:Ne,getSelectableKeys:$t,isFilterEnabled:k}),X?T||jsx(Je,{error:i,tableEmpty:W,isTimeoutError:_,tableError:G,tableLoading:N,orderedColumns:ne,triggerDataRefetch:y,footerProps:l}):jsx(A,{"data-testid":"VirtualTable_TableWrapper",fixedHeight:K?ie*ae:void 0,sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:Ut})})]}),!X&&K&&!c$1&&jsx(co,{height:(ie+1)*ae,sandboxMode:l?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]})}),l&&jsx(b$1,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:V,onPointerDown:v,selectedCount:R?.ids.length,...l}),P]})}var Zl=memo(Jl);var Xn=b(Pt(),1);function ns({style:e,index:t,cardLoadingComponent:o}){return jsx(La,{sx:{...e,display:"flex",padding:0,"&:hover":{backgroundColor:"transparent !important"}},component:"div",children:jsx(Qa,{sx:{padding:0,flex:1},component:"div",children:o})},t)}var Po=memo(ns,areEqual);var ls=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ss({isLoaded:e=false,isLoading:t=false,rowsCount:o,cardLoadingComponent:r}){let n=o||$a(e,t);return n=n>0?n:5,jsx(ls,{isLoaded:e,"data-testid":"TableLoadingWithCard",children:[...Array(n)].map(()=>jsx(Po,{cardLoadingComponent:r},`i-${(0, Xn.default)("TableLoadingRow_")}`))})}var Vo=memo(ss);function qn({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,triggerDataRefetch:a,footerProps:l,cardLoadingComponent:s,noDataComponent:i}){let p;if(n)p=jsx(De,{"data-testid":"VirtualTable_SolidBackground",children:jsx(Vo,{"data-testid":"VirtualTable_TableLoading",isLoading:true,cardLoadingComponent:s})});else if(o)p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});else if(r){let d=e,{formatted:u}=bc({error:d,fallbackMessage:"connectionErrorMsg"});p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u,triggerDataRefetch:a,sandboxMode:l?.sandboxMode});}else t?p=i:p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});return p}qn.displayName="TableNoDataWithCard";var Lo=memo(qn);function us({row:e,index:t,rowProps:o,renderCardComponent:r}){return createElement(Rt,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},r&&jsx(r,{...e}))}var ko=memo(us,areEqual);var hs=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},gs=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"})(({theme:e})=>({backgroundColor:e.palette.background.default,height:"100%"}));function xs({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,isLoading:a,scrollToIndex:l,newLoadedRowsEndIndex:s,areAllRowsLoaded:i,renderCardComponent:p}}){let d=r.length-1,u=r[e],c=a&&e===d+1,y=e<=s,m=ze.useCallback(hs(u,n?.onRowClick),[u,n?.onRowClick]),b=ze.useMemo(()=>({showShadowHighlight:l===e,showLoadedStyle:y,...n,onClick:m}),[l,e,y,n,m,c,i,d]),f=ze.useMemo(()=>jsx(ko,{index:e,row:u,renderCardComponent:p,rowProps:b},`row-${e}`),[e,u,b]);return jsx("div",{"data-testid":"ListCardWrapper",style:{...t,top:Number(t.top)-o.current,willChange:"top"},children:jsx(gs,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:f})})}var Mo=xs;var Ps=jl((e,t,o,r,n,a,l,s,i)=>({isLoading:e,rows:t,rowProps:o,scrollToIndex:r,totalCount:a,lastItemIndex:n,isError:l,areAllRowsLoaded:s,renderCardComponent:i}));function Vs({rows:e,threshold:t=200,rowProps:o,footerProps:r,rowHeight:n=57,isLoading:a,error:l,tableHeader:s,loadMoreItems:i,isFetchingNextPage:p,triggerDataRefetch:d,scrollToIndex:u,areAllRowsLoaded:c$2=false,tableBodyStyles:y,tableMode:m,tableTitle:b,renderCardComponent:f,cardLoadingComponent:x,tableHeight:h,tableHeaderHeight:S,noDataComponent:w,onStartDrag:E}){let P=useTheme(),T=_=>{E?.(_);},g=c({value:p,delay:1e3}),[R,k]=useState(false),C=_b(l),v=a??true,I=!a&&e.length===0&&C&&!ac(l),V=!a&&e.length===0,L=$b(l),M=e.length-1,D=ab(e.length)&&!v,H=g||c$2&&!D?e.length+1:e.length,N=Ps(g,e,o,u,M,r?.totalCount??0,C,c$2&&!D,f),G=useMemo(()=>{let _=B=>{k(B);};return jsx(Kl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:B=>B!==M,itemCount:H,loadMoreItems:async()=>{c$2||await i?.();},threshold:t,children:({onItemsRendered:B,ref:F})=>jsx(Ce,{sx:{height:`${h-(S??0)}px`},id:"auto-sizer-wrapper",children:jsx(Gl,{ref:F,"data-testid":"VirtualTable_AutoSizer",children:({height:ne,width:Ne})=>jsx(He,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:N,height:ne||0,width:Ne||0,itemCount:H,itemSize:()=>n,onItemsRendered:B,setBackdropVisibility:_,areTotalRowsNotFillingHeight:D,scrollToIndex:u,overscanCount:5,children:Mo})})})})},[l,a,M,i,n,e,o,I,v,t,g,c$2,D,H]),W=v||I||V||L;return jsxs(Fragment,{children:[jsx(It,{children:jsx(bn,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":b,"data-direction":P.direction,"data-are-all-rows-loaded":!!c$2,"data-is-fetching-next-page":!!p,"data-scroll-to-index":u,"data-is-loading":!!a,"data-is-error":!!C,"data-is-error-timeout":!!L,"data-table-mode":m,dir:P.direction,showNoDataView:W,sx:{height:`${h}px !important`},children:jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:W,sx:{...y},children:[s,W?jsx(Lo,{error:l,tableEmpty:V,isTimeoutError:L,tableError:I,tableLoading:v,triggerDataRefetch:d,footerProps:r,cardLoadingComponent:x,noDataComponent:w}):G]})})}),jsx(c$1,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:R,onPointerDown:T,sx:{marginTop:"-37px"},...r})]})}var Ls=memo(Vs);var Bb=styled("img")(()=>({width:"13.3px",height:"13.3px"})),zb=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer",marginTop:"2px"})),Gn=styled("span")(({theme:e})=>({color:e.palette.text.primary,textOverflow:"ellipsis",width:"80%",overflow:"hidden",fontSize:"12px",fontWeight:600})),Kn=styled("div")(()=>({width:"16px",height:"auto",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px",padding:"2px",transition:"all 0.2s ease"})),Yn=styled(Fa,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto"})),Jn=styled(La)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%",minWidth:"fit-content",height:"28px",backgroundColor:e.palette.primary.light})),Do=styled("div")({display:"flex",width:"100%",height:"100%",overflow:"hidden",borderRadius:"12px"}),Zn=styled("div")(({theme:e})=>({width:"auto",zIndex:10,flex:"0 0 auto",minWidth:0,display:"flex",flexDirection:"column",position:"relative",backgroundColor:e.palette.primary.light,borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",overflow:"hidden"})),Qn=styled(Zn)({boxShadow:"4px 0px 24px 0px #00000014",borderLeft:"1px solid #F2F2F2",borderRight:"none",borderTopLeftRadius:"12px",borderBottomLeftRadius:"12px"}),ei=styled(Zn)({boxShadow:"-4px 0px 24px 0px #00000014",borderRight:"1px solid #F2F2F2",borderLeft:"none",borderTopRightRadius:"12px",borderBottomRightRadius:"12px"}),Ht=styled("div",{shouldForwardProp:e=>e!=="hasPinnedStart"&&e!=="hasPinnedEnd"})(({hasPinnedStart:e,hasPinnedEnd:t})=>({flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",borderLeft:e?"none":"1px solid #F2F2F2",borderRight:t?"none":"1px solid #F2F2F2",position:"relative",scrollbarWidth:"auto",overflow:"hidden",borderTopLeftRadius:e?"0":"12px",borderBottomLeftRadius:e?"0":"12px",borderTopRightRadius:t?"0":"12px",borderBottomRightRadius:t?"0":"12px"})),_e=styled("div")({flexShrink:0,height:"auto",overflow:"auto"});var Ho=(e,t,o)=>{let[r,n]=useState(()=>{let m=t?e.filter(f=>f.pinned==="start").map(f=>f.id):[],b=e.filter(f=>f.isDefaultPinned&&f.pinned!=="end").map(f=>f.id);return Array.from(new Set([...b,...m]))}),[a,l]=useState(()=>{let m=e.filter(h=>h.isDefaultPinned&&h.pinned==="end").map(h=>h.id);if(!t)return m;let b=e.filter(h=>h.pinned==="end").map(h=>h.id),f=e.filter(h=>!h.hidden),x=f[f.length-1];return b.length===0&&x&&!x.pinned&&!x.isDefaultPinned?[x.id]:b}),s=useCallback((m,b="start")=>{if(!t)return;let f=[...r],x=[...a];b==="unpin"?(f=f.filter(S=>S!==m),x=x.filter(S=>S!==m)):b==="start"?(f=[...f.filter(S=>S!==m),m],x=x.filter(S=>S!==m)):b==="end"&&(x=[...x.filter(S=>S!==m),m],f=f.filter(S=>S!==m)),n(f),l(x);let h=f.includes(m)||x.includes(m);o?.(m,h);},[r,a,o,t]),i=useMemo(()=>e.filter(m=>!m.hidden),[e]),{pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u}=useMemo(()=>{let m=i.filter(w=>r.includes(w.id)),b=i.filter(w=>a.includes(w.id)),f=i.filter(w=>!r.includes(w.id)&&!a.includes(w.id)),x=m.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6)),h=b.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6)),S=f.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6));return {pinnedStartColumnsData:x,pinnedEndColumnsData:h,unpinnedColumnsData:S}},[i,r,a]),c=useMemo(()=>[...p,...u,...d],[p,u,d]),y=useMemo(()=>{let m=c[c.length-1];return m?m.id:null},[c]);return {pinnedStartColumns:r,pinnedEndColumns:a,handleColumnPin:s,pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u,orderedColumns:c,lastColumnId:y}};var Fo=()=>{let e=useRef(null),t=useRef(null),o=useRef(null),r=useRef(false),n=useCallback(({scrollOffset:a},l)=>{r.current||(r.current=true,l!=="start"&&e.current&&e.current.scrollTo(a),l!=="end"&&o.current&&o.current.scrollTo(a),l!=="scrollable"&&t.current&&t.current.scrollTo(a),requestAnimationFrame(()=>{r.current=false;}));},[]);return {pinnedStartVirtualListRef:e,scrollableVirtualListRef:t,pinnedEndVirtualListRef:o,handleScroll:n}};var Bo=()=>{let[e,t]=useState(null),[o,r]=useState(null),[n,a]=useState(null),[l,s]=useState(null),[i,p]=useState(false),d=useCallback((m,b,f,x,h)=>{f.stopPropagation();let S=`${h??"default"}-${m}-${b}-${x}`,w=`${h??"default"}-${m}-${b}`;if(n===S){a(null),t(null);return}a(S),t(w),s(null);},[n,a,t,s]),u=useCallback((m,b,f,x)=>{if(f.stopPropagation(),x==="start"&&b===0){s(S=>S===m?null:m),t(null),r(null),a(null);return}let h=`${x??"default"}-${m}-${b}`;t(S=>S===h?null:h),r(null),a(null),s(null);},[l]),c=useCallback((m,b,f)=>{b.stopPropagation();let x=`${f??"default"}-${m}`;r(h=>h===x?null:x),t(null),a(null),s(null);},[]),y=useCallback(()=>{t(null),r(null),a(null),s(null);},[]);return {selectedCell:e,selectedColumn:o,selectedRow:l,showBackDrop:i,selectedChip:n,setShowBackdrop:p,handleChipClick:d,handleCellClick:u,handleColumnClick:c,resetSelection:y}};var Hs=e=>e!==null&&"isAxiosError"in e&&e.isAxiosError===true,zo=({rows:e,isLoading:t,error:o,isFetchingNextPage:r,areAllRowsLoaded:n})=>{let a=c({value:r,delay:1e3}),l=useMemo(()=>{let i=_b(o||null),p=t??true,d=o&&Hs(o)?o:null,u=!t&&e.length===0&&i&&!ac(d),c=!t&&e.length===0,y=$b(d);return {isError:i,tableLoading:p,tableError:u,tableEmpty:c,hasTimeoutError:y,showNoDataView:p||u||c||y}},[e.length,t,o]),s=useMemo(()=>{let i=e.length-1,p=ab(e.length)&&!l.tableLoading,d=(a??false)||n?e.length+1:e.length;return {lastItemIndex:i,areTotalRowsNotFillingHeight:p,itemsCount:d}},[e.length,l.tableLoading,a,n]);return {...l,...s,isDelayedFetchingNextPage:a??false}};var Bs=jl((e,t,o,r,n,a,l,s,i,p,d,u,c,y,m,b,f,x)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,limit:l,newLoadedRowsEndIndex:a,isSheetView:true,isPinned:p,selectedCell:d,selectedColumn:u,selectedRow:c,selectedChip:y,onCellClick:m,onChipClick:b,containerHeight:f,rowHeight:x})),_o=({rowHeight:e,areAllRowsLoaded:t,rows:o,isDelayedFetchingNextPage:r,rowProps:n,scrollToIndex:a,footerProps:l,isError:s,selectedCell:i,selectedColumn:p,selectedRow:d,selectedChip:u,handleCellClick:c,handleChipClick:y})=>{let m=useCallback((h,S)=>{if(t&&h===o.length){let E=o.length*e,P=S-E,T=e*2;return Math.max(P,T)}return e},[t,o.length,e]),b=useMemo(()=>[r,o,n,a,o.length-1,l?.totalCount??0,s,t],[r,o,n,a,l?.totalCount,s,t]),f=useMemo(()=>[i,p,d,u,c,y],[i,p,d,u,c,y]),x=useCallback((h,S,w)=>Bs(h,...b,S,...f,w,e),[b,f,e]);return {getItemSize:m,getItemDataForContainer:x}};var zs=(e,t)=>{let o=useMemo(()=>e.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[e]),r=useMemo(()=>t.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[t]);return {pinnedStartColumnsWidth:o,pinnedEndColumnsWidth:r}};var Ao=({tableContainerRef:e,showHeader:t,isResizing:o})=>{let[r,n]=useState({top:0,height:0});return useEffect(()=>{let a=()=>{if(e.current){let l=e.current.getBoundingClientRect(),s=t?28:0;n({top:l.top+s,height:l.height-s});}};if(a(),o){let l=()=>a();return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)}},[o,t,e]),r};var ai=styled("div",{shouldForwardProp:e=>e!=="isResizing"&&e!=="isLast"})(({isLast:e})=>({position:"absolute",top:0,right:e?-10:-11,width:20,height:"100%",backgroundColor:"transparent",zIndex:100001,display:"flex",alignItems:"center",justifyContent:"center"})),li=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="height"&&e!=="top"})(({isVisible:e,x:t,height:o,top:r})=>({position:"fixed",left:t,top:r,width:1,height:`calc(${o}px - 14px)`,backgroundColor:"#1F88D0",zIndex:9999,pointerEvents:"none",opacity:e?1:0,transition:"opacity 0.1s ease","&::before":{content:'""',position:"absolute",left:-1,top:0,width:1,height:"100%"}})),_t=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="y"&&e!=="offsetX"})(({isVisible:e,x:t,y:o,offsetX:r=0})=>({position:"fixed",left:t+r-8,top:o,width:20,height:16,backgroundImage:`url(${Si})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",zIndex:1e5,pointerEvents:"none",display:e?"block":"none",transform:"translate(-50%, -50%)"}));function Us({columnId:e,onStartResize:t,isResizing:o,isLast:r=false}){let[n,a]=useState(false),[l,s]=useState({x:0,y:0}),i=useRef(null),p=useCallback(()=>{let m=i.current?.getBoundingClientRect();m&&s({x:m.right,y:m.top+m.height/2});},[]),d=useCallback(()=>{o||(a(true),p());},[o,p]),u=useCallback(()=>{!o&&n&&p();},[o,n,p]),c=useCallback(()=>{a(false);},[]);return jsxs(Fragment,{children:[jsx(ai,{ref:i,isResizing:o,isLast:r,onMouseDown:m=>{m.stopPropagation(),m.preventDefault(),a(false),t(m,e);},onMouseEnter:d,onMouseMove:u,onMouseLeave:c,"data-testid":`column-resize-handle-${e}`}),createPortal(jsx(_t,{isVisible:n&&!o,x:l.x,y:l.y,offsetX:-2}),document.body)]})}var No=memo(Us);function Ks({isVisible:e,indicatorX:t,indicatorHeight:o,indicatorTop:r,iconX:n,iconY:a}){return e?createPortal(jsxs(Fragment,{children:[jsx(li,{isVisible:e,x:t,height:o,top:r,"data-testid":"column-resize-indicator"}),jsx(_t,{isVisible:e,x:n,y:a,offsetX:8,"data-testid":"floating-resize-icon"})]}),document.body):null}var $o=memo(Ks);var Zs=e=>{if(!e||typeof e!="object")return false;let t=e;return "width"in t&&p(t.width)},Qs=e=>!e||typeof e!="object"?false:Object.values(e).every(Zs),ed=e=>!e||typeof e!="object"?false:Object.values(e).every(Qs),mi=e=>!e||typeof e!="object"?false:Object.values(e).every(ed),ui=()=>{try{let e=wa$1();if(!e)return {};let t=e;return mi(t)?t:(console.warn("Invalid column settings in localStorage"),{})}catch(e){return console.warn("Failed to get sheetview columns:",e),{}}},td=e=>{if(!mi(e))return console.warn("Invalid data structure for sheetview columns"),false;try{return va$1(e),!0}catch(t){return console.warn("Failed to save sheetview columns:",t),false}},ci=(e,t,o,r)=>{if(!hb(e)||!hb(t)||!hb(o))return r;try{return ui()[e]?.[t]?.[o]?.width??r}catch(n){return console.warn("Failed to get column width:",n),r}},fi=(e,t,o,r)=>{if(!hb(e)||!hb(t)||!hb(o)||!p(r))return console.warn("Invalid parameters for setColumnWidth"),false;try{let n=ui();return n[e]||(n[e]={}),n[e][t]||(n[e][t]={}),n[e][t][o]?n[e][t][o].width=r:n[e][t][o]={width:r},td(n)}catch(n){return console.warn("Failed to set column width:",n),false}};var ye={MIN_WIDTH:25,MAX_WIDTH:1500,DEFAULT_WIDTH:100};var bi=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?ye.DEFAULT_WIDTH:t}return e||ye.DEFAULT_WIDTH},Uo=e=>Math.max(ye.MIN_WIDTH,Math.min(ye.MAX_WIDTH,e)),j=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},Xo=(e,t)=>e.map(o=>{let r=j(o);return {...o,width:t[r]||o.width}}),hi=(e,t)=>{e.current&&(document.removeEventListener("mousemove",e.current),e.current=void 0),t.current&&(document.removeEventListener("mouseup",t.current),t.current=void 0),document.body.style.cursor="",document.body.style.userSelect="";},od=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=i.current-o,u=Uo(t+d);l(c=>({...c,columnWidths:{...c.columnWidths,[e]:u},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),r&&n&&(fi(r,n,String(e),u)||console.warn(`Failed to persist column width for ${e}`)),a?.(e,u),p.stopPropagation(),p.preventDefault(),s();}catch(d){console.error("Error in mouse up handler:",d),s();}},gi=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=p.clientX;if(r?.current){let c=r.current.getBoundingClientRect(),y=c.left,m=c.right;a==="start"&&n===1&&(m=m-38),d=Math.max(y,Math.min(m,p.clientX));}l&&(l.current=d);let u=d;if(s&&i){let c=s.current-i.current+ye.MIN_WIDTH;d<c&&(u=c);}e(c=>({...c,resizeIndicatorX:u})),t({x:u,y:o.current});}catch(d){console.error("Error in mouse move handler:",d);}},xi=(e,t)=>e[t]||ye.DEFAULT_WIDTH,Ci=(e,t,o,r,n,a,l)=>(s,i,p)=>d=>{od(s,i,p,e,t,o,r,n,l)(d),setTimeout(()=>{a.current=false;},0);};var qo=({columns:e,onColumnResize:t,handleColumnClick:o,windowId:r,serviceCode:n,tableContainerRef:a})=>{let l=useMemo(()=>e.reduce((I,V)=>{let L=j(V),M=bi(V.width),D=M;if(r&&n)try{D=ci(r,n,L,M)??M;}catch(H){console.warn(`Failed to load stored width for column ${L}:`,H),D=M;}return I[L]=Uo(D),I},{}),[r,n]),[{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d},u]=useState(()=>({columnWidths:l,isResizing:false,resizingColumn:null,startX:0,startWidth:0,resizeIndicatorX:0})),[c,y]=useState({x:0,y:0}),m=useRef(false),b=useRef(0),f=useRef(0),x=useRef(0),h=useRef(0),S=useRef(),w=useRef();useEffect(()=>{u(I=>{let V=new Set(Object.keys(I.columnWidths)),L=new Set(Object.keys(l));return V.size!==L.size?{...I,columnWidths:l}:Array.from(L).some(D=>!V.has(D)||I.columnWidths[D]!==l[D])?{...I,columnWidths:l}:I});},[]);let E=useCallback(I=>xi(s,I),[s]),P=useCallback(()=>{hi(S,w);},[]),T=useCallback((I,V,L)=>Ci(r,n,t,u,P,m,f)(I,V,L),[r,n,t,P]),g=useCallback((I,V)=>gi(u,y,b,a,I,V,f,x,h),[a]),R=useCallback((I,V)=>{I.preventDefault(),I.stopPropagation();try{let L=E(V),M=I.clientX,D=e.find(F=>j(F)===V),H=D?e.filter(F=>F.pinned===D.pinned).findIndex(F=>j(F)===V):void 0,N=D?.pinned,W=I.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),_=I.clientY;if(W){let F=W.getBoundingClientRect();_=F.top+F.height/2;}u(F=>({...F,isResizing:!0,resizingColumn:V,startX:M,startWidth:L,resizeIndicatorX:M,resizingColumnIndex:H,resizingColumnPinned:N})),b.current=_,f.current=M,x.current=M,h.current=L,y({x:M,y:_}),m.current=!0;let U=g(H,N),B=T(V,L,M);S.current=U,w.current=B,document.addEventListener("mousemove",U),document.addEventListener("mouseup",B),document.body.style.cursor="none",document.body.style.userSelect="none";}catch(L){console.error("Error starting resize:",L),P();}},[E,g,T,P,e]),k=useCallback(()=>{try{u(I=>({...I,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),m.current=!1,P();}catch(I){console.error("Error stopping resize:",I),P();}},[P]),C=useCallback(()=>m.current,[]),v=useCallback((I,V,L)=>{C()||o(I,V,L);},[o,C]);return useEffect(()=>P,[P]),{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d,cursorPosition:c,getColumnWidth:E,startResize:R,stopResize:k,isCurrentlyResizing:C,handleColumnClick:v}};var jo=({pinnedStartColumnsData:e,pinnedEndColumnsData:t,columnWidths:o})=>{let r=useMemo(()=>e.reduce((s,i)=>{let p=j(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[e,o]),n=useMemo(()=>t.reduce((s,i)=>{let p=j(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[t,o]),a=useMemo(()=>e.map(s=>{let i=j(s);return {...s,width:o[i]||s.width}}),[e,o]),l=useMemo(()=>t.map(s=>{let i=j(s);return {...s,width:o[i]||s.width}}),[t,o]);return {pinnedStartColumnsWidth:r,pinnedEndColumnsWidth:n,pinnedStartColumnsDataWithWidths:a,pinnedEndColumnsDataWithWidths:l}};var wi=b(Pt(),1);var sd=styled("section")(({isLoaded:e=false,isPinned:t=false})=>({overflow:"hidden",paddingInline:e&&!t?"32px":"0px",backgroundColor:e&&!t?"rgba(255, 255, 255, 0.60)":"none",filter:e&&!t?"blur(8px)":"none",marginTop:e&&!t?"1rem":"0",height:"100%",maxHeight:"100%"}));function dd({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n=13,isPinned:a=false}){let[l,s]=useState(()=>n||Math.min($a(t,r),15));return useEffect(()=>{if(n){s(n);return}let i=()=>{let u=document.querySelector('[data-testid="SheetViewTableLoading"]');if(!u)return Math.min($a(t,r),25);let c=u.parentElement?.clientHeight||0,y=28,b=c-40;if(b<=0)return Math.min($a(t,r),25);let f=Math.floor(b/y);return Math.max(3,Math.min(f+2,25))},p=i();s(p);let d=()=>{let u=i();s(u);};return window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[t,r,n]),jsx(sd,{isLoaded:t,isPinned:a,"data-testid":"SheetViewTableLoading",children:[...Array(l)].map((i,p)=>jsx(Ze,{columns:e,animationType:o,rowIndex:p,useTableBackground:!a},`i-${(0, wi.default)("SheetViewTableLoadingRow_")}`))})}var le=memo(dd);function Ri({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){let i;if(n)i=jsx(De,{"data-testid":"SheetViewVirtualTable_SolidBackground",children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:a,isLoading:true,isPinned:false})});else if(o)i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});else if(r){let p=e,{formatted:d}=bc({error:p,fallbackMessage:"connectionErrorMsg"});i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:d,triggerDataRefetch:l,sandboxMode:s?.sandboxMode});}else if(t){let p=e,{formatted:d}=bc({error:p,fallbackMessage:"tryAdjustingTheDateOrFilters"});i=jsx(kt,{sandboxMode:s?.sandboxMode,heading:"nothingFound",message:d});}else i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});return i}Ri.displayName="SheetViewTableNoData";var md=memo(Ri);function xd({column:{header:e,id:t,tableViewId:o,align:r,headerStyle:n,sortable:a,filter:l,pinnable:s,width:i,order:p,pinned:d},colIndex:u,isFirst:c,isLast:y,isSelected:m,isDefaultPinned:b,onColumnSort:f,columnsSorting:x,onColumnPin:h,isPinnable:S,lastColumnId:w,onColumnClick:E,pinnedColumns:P,onStartResize:T,isResizing:g=false,resizingColumn:R=null}){let k=j({id:t,tableViewId:o}),[C,v]=useState(null),I=useRef(null),{isFilterApplied:V}=Ke({filter:l}),L=useCallback(W=>P?.includes(W),[P]),M=useMemo(()=>L(t),[t,L]),D=W=>{L(W)?h?.(W,"unpin"):W===w?h?.(W,"end"):h?.(W,"start");},H=()=>{v(I.current);};return jsxs(Se,{"data-id":t,component:"div","data-testid":"SheetViewVirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":i,"data-column-width-used":i,"data-column-align":r,"data-column-order":p,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!a,"data-column-filterable":!!l,"data-column-pinned":M,isFirst:c,isLast:y,isSheetView:true,ref:I,onClick:W=>{W.target===W.currentTarget&&E?.(u,W,d);},sx:W=>({display:"flex",gap:W.spacing(.5),alignItems:"center",justifyContent:r==="right"?"flex-end":"flex-start",width:i,textAlign:r,overflow:"visible !important",cursor:"pointer",boxSizing:"border-box",border:"0.5px solid transparent",borderColor:m?"#1F88D0":"#F2F2F2",borderBottom:m?"0.5px solid transparent":"0.5px solid #F2F2F2",backgroundColor:m?"#F2F2F2":"#FCFCFC",minHeight:"28px",position:"relative","&:before":{content:'""',borderBottom:"none",position:"absolute",top:0,right:0,left:0,bottom:0},...n}),children:[jsxs(wt,{onClick:W=>{W.stopPropagation(),H();},children:[typeof e=="function"?e():jsx(Ce,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx(Gn,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:e})}),l&&jsx(Ge,{...l,anchorEl:C,setAnchorEl:v,isFilterApplied:V}),a&&jsx(Ct,{columnId:t,onColumnSort:f,columnsSorting:x,onClick:W=>{E?.(u,W,d);}}),S&&s&&!b&&!y&&jsx(Kn,{onClick:W=>{W.stopPropagation(),D(t);},title:M?"Unpin column":"Pin column",children:jsx("img",{src:M?Qg:Pg,alt:"pin-icon"})})]}),T&&d!=="end"&&jsx(No,{columnId:k,onStartResize:T,isResizing:g,isLast:y})]})}var Ei=memo(xd);function Sd({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,pinnedColumns:a=[],onColumnPin:l,isPinnable:s=false,lastColumnId:i,selectedColumn:p=null,onColumnClick:d,onStartResize:u,isResizing:c=false,resizingColumn:y=null}){return jsx(Yn,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsx(Jn,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:e.map((m,b)=>{let f=`${m.pinned??"default"}-${b}`;return jsx(Ei,{column:m,colIndex:b,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,isDefaultPinned:!!m.isDefaultPinned,isSelected:p===f,onColumnSort:r,columnsSorting:n,pinnedColumns:a,onColumnPin:l,isPinnable:s,lastColumnId:i,onColumnClick:d,onStartResize:u,isResizing:c,resizingColumn:y},`${m.id}-${b}`)})})})}var se=memo(Sd);function Rd({columnsData:e,itemCount:t,lastItemIndex:o,areAllRowsLoaded:r,loadMoreItems:n,threshold:a,getItemSize:l,getItemData:s,isPinned:i,fixedWidth:p,scrollToIndex:d,areTotalRowsNotFillingHeight:u,clearBackdropVisibilityTimeout:c,onScroll:y,setBackdropVisibility:m,listRef:b,overscanCount:f=40}){return jsx(Kl,{isItemLoaded:h=>h!==o,itemCount:t,loadMoreItems:async()=>{r||await n?.();},threshold:a,children:({onItemsRendered:h,ref:S})=>jsx(Gl,{ref:S,children:({height:w,width:E})=>{let P=g=>l(g,w),T=s(e,i,w);return jsx(He,{listRef:b,height:w,width:p||E,itemCount:t,itemSize:P,itemData:T,onItemsRendered:h,overscanCount:f,setBackdropVisibility:m,scrollToIndex:d,areTotalRowsNotFillingHeight:u,useIsScrolling:true,onScroll:y,clearBackdropVisibilityTimeout:c,style:{overflowX:i?"hidden":"auto",paddingBottom:i?"25px":"13px",backgroundColor:i?"transparent":"#F6F8FACC"},children:Dt})}})})}var Yo=memo(Rd);function Pd({position:e,columnsData:t,columnsWidth:o,pinnedColumnsList:r,showHeader:n,columnsSorting:a,onColumnSort:l,headerProps:s,showBackDrop:i,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:c,onColumnClick:y,hasPinnedStart:m,hasPinnedEnd:b,tableTitle:f,areAllRowsLoaded:x,isFetchingNextPage:h,scrollToIndex:S,isLoading:w,isError:E,hasTimeoutError:P,tableMode:T,showNoDataView:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:I}){let V=useTheme();if(t.length===0)return null;let L=e==="start"?Qn:ei,M=e==="start"?"pinnedStart":"pinnedEnd";return jsx(L,{children:jsxs(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":f,"data-direction":V.direction,"data-are-all-rows-loaded":!!x,"data-is-fetching-next-page":!!h,"data-scroll-to-index":S,"data-is-loading":!!w,"data-is-error":!!E,"data-is-error-timeout":!!P,"data-table-mode":T,height:"100%",dir:V.direction,showNoDataView:g,children:[n&&jsx(se,{"data-testid":"SheetViewVirtualTable_PinnedTableHeader",columnsSorting:a,onColumnSort:l,columns:t,headerProps:s,showBackDrop:i,pinnedColumns:r,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:c,onColumnClick:y,tablePosition:e==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:m,hasPinnedEnd:b,onStartResize:C,isResizing:v,resizingColumn:I}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content",overflowX:"hidden"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_PinnedStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:R?jsx(le,{"data-testid":`SheetViewVirtualTable_PinnedTableLoading_${e}`,columns:t,isLoading:true,isPinned:true}):k(t,M,true,o)})})]})})}var Oe=memo(Pd);function vd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:S,isError:w,hasTimeoutError:E,tableMode:P,showNoDataView:T,tableBodyStyles:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:I}){let V=useTheme();return jsx(Ht,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":b,"data-direction":V.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!x,"data-scroll-to-index":h,"data-is-loading":!!S,"data-is-error":!!w,"data-is-error-timeout":!!E,"data-table-mode":P,height:"100%",dir:V.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:T,sx:{...g,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_UnpinnedTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t,onStartResize:C,isResizing:v,resizingColumn:I})}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_ScrollableStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:R?jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false}):k(o,"scrollable",false)})})]})})})}var Jo=memo(vd);function Hd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:S,isError:w,hasTimeoutError:E,tableMode:P,showNoDataView:T,tableBodyStyles:g}){let R=useTheme();return jsx(Ht,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":b,"data-direction":R.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!x,"data-scroll-to-index":h,"data-is-loading":!!S,"data-is-error":!!w,"data-is-error-timeout":!!E,"data-table-mode":P,height:"100%",dir:R.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:T,sx:{...g,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t})}),jsx(A,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false})})})]})})})}var Zo=memo(Hd);function _d({tableLoading:e,tableError:t,tableEmpty:o,hasTimeoutError:r,orderedColumns:n,showHeader:a,columnsSorting:l,onColumnSort:s,headerProps:i,showBackDrop:p,onColumnPin:d,lastColumnId:u,selectedColumn:c,onColumnClick:y,tableTitle:m,areAllRowsLoaded:b,isFetchingNextPage:f,scrollToIndex:x,isLoading:h,isError:S,tableMode:w,tableBodyStyles:E,error:P,triggerDataRefetch:T,footerProps:g,customNoDataComponent:R}){let k=useTheme(),C=e||t||o||r;return jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":m,"data-direction":k.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!f,"data-scroll-to-index":x,"data-is-loading":!!h,"data-is-error":!!S,"data-is-error-timeout":!!r,"data-table-mode":w,height:"100%",dir:k.direction,showNoDataView:C,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:C,sx:E,children:[a&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:l,onColumnSort:s,columns:n,headerProps:i,showBackDrop:p,pinnedColumns:[],onColumnPin:d,isPinnable:false,lastColumnId:u,selectedColumn:c,onColumnClick:y})}),R||jsx(Je,{error:P||null,tableEmpty:o,isTimeoutError:r,tableError:t,tableLoading:e,orderedColumns:n,triggerDataRefetch:T||(()=>Promise.resolve()),footerProps:g})]})})}var Qo=memo(_d);function Ud({columns:e,rows:t,threshold:o=20,showHeader:r,headerProps:n,rowProps:a,footerProps:l,rowHeight:s=28,isLoading:i,error:p,columnsSorting:d,onColumnSort:u,loadMoreItems:c,isFetchingNextPage:y,triggerDataRefetch:m,scrollToIndex:b,areAllRowsLoaded:f=false,tableBodyStyles:x,tableTitle:h,onStartDrag:S,onColumnPin:w,clearBackdropVisibilityTimeout:E=100,isPinnable:P=false,tableMode:T,overscanCount:g,windowId:R,serviceCode:k,customNoDataComponent:C,defaultSkeleton:v=true}){let I=useMemo(()=>Cc(e,i??false,v),[e,i,v]),{selectedCell:V,selectedColumn:L,selectedRow:M,showBackDrop:D,setShowBackdrop:H,handleCellClick:N,handleColumnClick:G,handleChipClick:W,selectedChip:_}=Bo(),U=useRef(null),B=useRef(null),{isError:F,tableLoading:ne,tableError:Ne,tableEmpty:$t,hasTimeoutError:K,showNoDataView:ie,lastItemIndex:$e,areTotalRowsNotFillingHeight:ae,itemsCount:he,isDelayedFetchingNextPage:Ut}=zo({rows:t,isLoading:i,error:p,isFetchingNextPage:y,areAllRowsLoaded:f}),{pinnedStartColumns:X,pinnedEndColumns:z,handleColumnPin:J,pinnedStartColumnsData:ge,pinnedEndColumnsData:Xt,unpinnedColumnsData:nt,orderedColumns:it,lastColumnId:Vi}=Ho(I,P,w),{pinnedStartVirtualListRef:at,scrollableVirtualListRef:lt,pinnedEndVirtualListRef:st,handleScroll:or}=Fo();useEffect(()=>{at.current?.resetAfterIndex(0),lt.current?.resetAfterIndex(0),st.current?.resetAfterIndex(0);},[t.length,at,lt,st]);let{columnWidths:Ue,isResizing:qt,resizingColumn:Li,resizeIndicatorX:ki,cursorPosition:rr,startResize:vi,handleColumnClick:Wi}=qo({columns:I,handleColumnClick:G,windowId:R,serviceCode:k,tableContainerRef:B}),nr=Ao({tableContainerRef:U,showHeader:r??false,isResizing:qt}),{pinnedStartColumnsWidth:ir,pinnedEndColumnsWidth:ar,pinnedStartColumnsDataWithWidths:Z,pinnedEndColumnsDataWithWidths:Q}=jo({pinnedStartColumnsData:ge,pinnedEndColumnsData:Xt,columnWidths:Ue}),lr=useMemo(()=>Xo(nt,Ue),[nt,Ue]),Mi=useMemo(()=>Xo(it,Ue),[it,Ue]),{getItemSize:sr,getItemDataForContainer:dr}=_o({rowHeight:s,areAllRowsLoaded:f,rows:t,isDelayedFetchingNextPage:Ut,rowProps:a,scrollToIndex:b,footerProps:l,isError:F,selectedCell:V,selectedColumn:L,selectedRow:M,selectedChip:_,handleCellClick:N,handleChipClick:W}),Di=jt=>{S?.(jt);},Xe=useCallback((jt,dt,Hi=false,Fi)=>jsx(Yo,{columnsData:jt,itemCount:he,lastItemIndex:$e,areAllRowsLoaded:f,loadMoreItems:c,threshold:o,getItemSize:sr,getItemData:dr,isPinned:Hi,fixedWidth:Fi,scrollToIndex:b,areTotalRowsNotFillingHeight:ae,clearBackdropVisibilityTimeout:E,onScroll:Bi=>{or(Bi,dt==="pinnedStart"?"start":dt==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:H,listRef:dt==="pinnedStart"?at:dt==="pinnedEnd"?st:lt,overscanCount:g}),[he,$e,f,c,o,sr,dr,b,ae,E,or,H,at,st,lt,g]),pr={showHeader:r,columnsSorting:d,onColumnSort:u,headerProps:n,showBackDrop:D,onColumnPin:J,isPinnable:P,lastColumnId:Vi,selectedColumn:L,onColumnClick:Wi,tableTitle:h,areAllRowsLoaded:f,isFetchingNextPage:y,scrollToIndex:b,isLoading:i,isError:F,tableMode:T,showNoDataView:ie,tableBodyStyles:x,onStartResize:vi,isResizing:qt,resizingColumn:Li},Pe={...pr,hasTimeoutError:K,tableLoading:ne};return jsxs(Fragment,{children:[jsx(fn,{ref:U,children:ie?ne?jsxs(Do,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:ir,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Zo,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:lr,pinnedStartColumns:X,pinnedEndColumns:z,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:ar,pinnedColumnsList:[...X,...z],hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe})]}):jsx(Qo,{tableLoading:ne,tableError:Ne,tableEmpty:$t,hasTimeoutError:K,orderedColumns:Mi,error:p,triggerDataRefetch:m,footerProps:l,customNoDataComponent:C,...pr}):jsxs(Do,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:ir,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Jo,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:lr,pinnedStartColumns:X,pinnedEndColumns:z,createVirtualTableContainer:Xe,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:ar,pinnedColumnsList:[...X,...z],hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe})]})}),jsx(b$1,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:D,onPointerDown:Di,...l}),jsx($o,{isVisible:qt,indicatorX:ki,indicatorHeight:nr.height,indicatorTop:nr.top,iconX:rr.x,iconY:rr.y})]})}var Xd=memo(Ud);export{Xd as $,Mo as A,Ls as B,Bb as C,zb as D,Gn as E,Kn as F,Yn as G,Jn as H,Do as I,Qn as J,ei as K,Ht as L,_e as M,Ho as N,Fo as O,Bo as P,zo as Q,_o as R,zs as S,Ao as T,le as U,md as V,se as W,Oe as X,Jo as Y,Zo as Z,Qo as _,Ur as a,Xr as b,gt as c,Ge as d,oo as e,no as f,io as g,Se as h,Ke as i,mo as j,co as k,bo as l,ho as m,go as n,Co as o,Je as p,yo as q,Ro as r,Ze as s,Bl as t,_l as u,Zl as v,Po as w,Vo as x,Lo as y,ko as z};
@@ -1 +0,0 @@
1
- import {a as a$2}from'./chunk-75FA6O7J.js';import {a as a$1}from'./chunk-XHEVVGGE.js';import {a}from'./chunk-25P32HJ3.js';import {Jc,Oa,Pa,Na}from'./chunk-QWAZOXVA.js';import {Vc,Uc,Lc,Kc,Jc as Jc$1,Mc,_d}from'./chunk-DSHV2G5D.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 ee from'@mui/material/Popover';import Ve from'react-currency-input-field';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var oe=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"})),ne=styled("div")(()=>({display:"flex",flexDirection:"column",width:"100%"})),te=styled("div")(()=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",flex:1})),re=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`}})),ie=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"})),ae=styled("p")(({theme:e})=>({color:e.palette.common.red,fontSize:"0.62rem",fontWeight:400,fontFamily:"Lato",padding:0,margin:0,paddingLeft:"0.25rem"})),se=styled("img")({height:"auto",width:"auto",verticalAlign:"top"}),de=styled("div")({display:"flex",flexDirection:"column",justifyContent:"center"}),le=styled("div")({display:"flex",height:"0.8rem",alignItems:"center",width:"8.5rem"}),ce=styled(Ve)(({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}})),pe=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"}})),qe=styled("div")({display:"flex"}),v=styled(qe)(({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"})),me=styled("div")({width:0,height:0}),ue=styled(ee)(({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}})),O=styled("img")(()=>({width:"0.85rem",height:"0.85rem"})),ge=styled(ee)(({theme:e})=>({backgroundColor:"transparent",boxShadow:e.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem"}})),fe=styled("div")(({showDaysMenu:e})=>({height:e?"4.5rem":"auto"})),he=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)}`}})),ye=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 Qe=({selectedCurrency:e,option:o,closeDropdown:t,handleSelectOption:i})=>{let{t:a$1}=useTranslation();return jsxs(he,{onClick:()=>{i&&i(o.value,o?.currency),t();},children:[jsx(I,{showBottomPadding:true,showWarning:false,children:a$1(o.name)}),jsxs(le,{children:[jsxs(v,{marginRightAuto:true,children:[jsx(a,{currencyCode:o?.currency??e,width:"0.76rem"}),jsx(A,{children:o?.currency??e})]}),jsx(pe,{showWarning:false,children:Oa(o.value||0,o?.currency??e)})]})]})};function Xe({menuAnchor:e,showDropDown:o,selectedCurrency:t,options:i,closeDropdown:a,handleSelectOption:u}){return i.length<=1?null:jsx(ge,{open:o,anchorEl:e,anchorOrigin:{vertical:18,horizontal:-76},style:{backgroundColor:"transparent",zIndex:4e3,padding:0,margin:0},onClose:a,children:jsx(fe,{children:i.map(g=>jsx(Fragment,{children:Qe({selectedCurrency:t,option:g,closeDropdown:a,handleSelectOption:u})}))})})}var L=Xe;function eo({showWarning:e,selectedCurrency:o,onAmountChange:t,amount:i,currencyConfig:a$3,toggleDropDown:u,showDropDown:g,showDropdownIcon:M,disabled:b,isLoading:f}){let{t:h}=useTranslation(),y=useRef(null),C=()=>{y.current&&y.current.click();};return jsxs(Fragment,{children:[jsxs(de,{children:[jsx(I,{showBottomPadding:true,showWarning:e,children:h("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(ye,{src:g?Vc:Uc,alt:"drop-down icon",currencyPadding:true})]})]}),jsx(me,{ref:y,onClick:u}),f?jsx(a$2,{variant:"text",width:"100%",height:"100%"}):jsx(ce,{disabled:b,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 z=eo;function ao({anchorEl:e,initialAmount:o,options:t,onConfirm:i,handleClose:a,currency:u,isCheckMarkHighlighted:g}){let M=Jc(useId(),"action-menu"),{t:b}=useTranslation(),[f,h]=useState(o?.toString()),[y,C]=useState(),[m,k]=useState(""),be=useRef(null),[R,E]=useState(false),[c,xe]=useState(u),B=false,[Se,De]=useState(false),[Ie,N]=useState(Lc),[ve,j]=useState(Kc),Ae=useRef(),Me=()=>{C(void 0),E(false);};useEffect(()=>{Ae.current?.focus();},[Se]);let ke=()=>{Me(),De(r=>!r);},Re=!!e,Ee=r=>{E(x=>!x),C(r.currentTarget);},We=t?.find(r=>r.currency===c)?.value,Pe=Oa(We||0,c),Te=`${b("maxAllowed")} ${Pe}`,Fe=`${b("minAllowed")} ${Pa(.1,c||"KWD")}`,Oe=r=>{Number.isNaN(Number(r))&&h("0"),parseFloat(r||"0")>o?k(Te):parseFloat(r||"0")<.1&&r!==void 0?k(Fe):k(""),h(r);},He=(r,x)=>{let Ke=Pa(r||0,x||"KWD");h(Ke),xe(x||c);},G=r=>{C(void 0),E(false),a(r);},Le=()=>{j(Mc);},$e=()=>{j(Kc);},K=r=>{G(r);},ze=()=>{G();},Be=()=>{N(_d);},Ne=()=>{N(Lc);},je=()=>{i?.(Number(f),c),K();},Ge=!!m||!f;return createPortal(jsx(ue,{id:M,"data-testid":"ActionMenu",open:Re,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=>{K(r);},children:jsxs(oe,{showWarning:!!m,children:[jsxs(ne,{children:[jsxs(re,{showWarning:!!m,showDropDown:R,children:[jsx(z,{showWarning:!!m,selectedCurrency:c,onAmountChange:Oe,amount:f,currencyConfig:Na,toggleDropDown:Ee,showDropDown:!R,showDropdownIcon:(t?.length||0)>1}),jsx(L,{showDropDown:R,menuAnchor:y,selectedCurrency:c,closeDropdown:ke,options:t??[],handleSelectOption:He})]}),!!m&&jsxs(ie,{children:[jsx(se,{src:Jc$1,alt:"info"}),jsx(ae,{children:m})]})]}),jsxs(te,{children:[jsx(F,{onMouseLeave:Ne,onMouseEnter:Be,warning:true,role:"button",onClick:ze,children:jsx(O,{isRefundInProcess:B,src:Ie,alt:"Cross icon"})}),jsx(F,{onMouseLeave:$e,onMouseEnter:Le,isRefundInProcess:B,disabled:Ge,role:"button",onClick:je,isHighlighted:g,children:jsx(O,{src:ve,alt:"Check icon"})})]})]})}),document.body)}var we=ao;var Bo=we;export{L as a,z as b,Bo as c};
@@ -1,2 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';var x="https://cdn.tap.company/tap-assets",e=`${x}/icons/dashboard/light`,t=`${e}/other`,le=`${e}/function`,ee=`${x}/videos`,te=`${x}/files`,oe=`${te}/templates`,ue=c=>`${e}/${c}.svg`,Ie=c=>`${e}/payment-method/v2/${c}.svg`,ge=c=>`${e}/payment-issuer/${c}.svg`,ve=c=>`${e}/country/v3/${c}.svg`,he=c=>`${e}/function/${c}.svg`,me=c=>`${e}/statusIcons/${c}.svg`,fe=c=>`${x}/currency/v3/light/${c}.svg`,Ae=c=>{let X=c.replace(/\s/g,"");return `${x}/icons/dashboard/light/authority/v2/${X}.svg`},Ee=c=>`${e}/browsers/${c}.svg`,$e=c=>`${e}/payment-initiator/${c}.svg`,Te=c=>`${e}/payment-gateways/${c}.svg`,Se=`${e}/currency/sar.svg`,Ce=`${e}/currency/dirham.svg`,_e=`${e}/abandoned.svg`,ye=`${e}/abandonedYellow.svg`,be=`${e}/chevron-down.svg`,Re=`${e}/sliderThumb.svg`,Ne=`${e}/reversed.svg`,we=`${e}/destinationSolid.svg`,Le=`${e}/search.svg`,Pe=`${e}/unauthorized.svg`,Oe=`${e}/view.svg`,Be=`${e}/reports.svg`,Ue=`${e}/flag.svg`,Me=`${e}/dispute.svg`,De=`${e}/timezone.svg`,ke=`${e}/greyTimezone.svg`,Fe=`${e}/subscription.svg`,Ge=`${e}/savedCard.svg`,We=`${e}/egypt.svg`,He=`${e}/saudiArabia.svg`,Ye=`${e}/jordan.svg`,Ve=`${e}/lebanon.svg`,ze=`${e}/kuwait.svg`,Ke=`${e}/unitedArabEmirates.svg`,qe=`${e}/europe.svg`,Ze=`${e}/bahrain.svg`,Qe=`${e}/america.svg`,Je=`${e}/payment-method/v2/card.svg`,je=`${e}/device.svg`,Xe=`${e}/expressCheckout.svg`,et=`${e}/applePay.svg`,tt=`${e}/cash.svg`,ot=`${e}/passThruWallet.svg`,nt=`${e}/storedValueWallet.svg`,st=`${e}/buyNowPayLater.svg`,ct=`${e}/openBanking.svg`,pt=`${e}/FrictionlessIcon.svg`,at=`${e}/ChallengeIcon.svg`,rt=`${e}/visa.svg`,xt=`${e}/redArrowDownIcon.svg`,it=`${e}/completed.svg`,dt=`${e}/chargebackRequested.svg`,lt=`${e}/chargeback.svg`,ut=`${t}/captureDropdown.svg`,It=`${e}/disputeResolved.svg`,gt=`${e}/reversePayout.svg`,vt=`${e}/ellipsisHorizontal.svg`,ht=`${e}/3ds.svg`,mt=`${e}/invoiceIdIcon3.svg`,ft=`${e}/idIcon3.svg`,At=`${e}/id.svg`,Et=`${t}/copyIcon.svg`,$t=`${t}/codeIcon.svg`,Tt=`${t}/GreenCheckMark2.svg`,St=`${e}/closedDispute.svg`,Ct=`${e}/openDispute.svg`,_t=`${e}/desktop.svg`,yt=`${e}/mobile.svg`,bt=`${e}/tablet.svg`,Rt=`${e}/invoice.svg`,Nt=`${e}/cancelledInvoiceIcon.svg`,wt=`${e}/expiredInvoiceIcon.svg`,Lt=`${e}/invoiceNumberIcon.svg`,Pt=`${e}/column.svg`,Ot=`${e}/sortAz.svg`,Bt=`${e}/sortZa.svg`,m=`${e}/zipFile.svg`,Ut=`${e}/successWhiteBg.svg`,Mt=`${e}/failedWhiteBgIcon.svg`,Dt=`${e}/exclamationGreyIcon.svg`,kt=`${e}/exclamationDarkGreyIcon.svg`,Ft=`${e}/percentage0.svg`,Gt=`${e}/percentage50.svg`,Wt=`${e}/percentage75.svg`,Ht=`${e}/percentage100.svg`,Yt=`${e}/maximize.svg`,Vt=`${e}/minimize.svg`,zt=`${e}/close.svg`,Kt=`${e}/dashedCheckIcon.svg`,qt=`${e}/outstandingIcon.svg`,Zt=`${e}/cancelledStatusIcon.svg`,Qt=`${e}/expiredStatusIcon.svg`,Jt=`${e}/paidStatusIcon.svg`,jt=`${e}/refundedStatusIcon.svg`,Xt=`${e}/deactivatedIcon.svg`,eo=`${e}/topup.svg`,to=`${e}/AIOverviewIcon.svg`,oo=`${t}/demaximize.svg`,no=`${e}/pendingFlag.svg`,so=`${e}/ibanIcon.svg`,co=`${e}/payoutIcon.svg`,po=`${e}/releasedFlag.svg`,ao=`${e}/acceptedFlag.svg`,ro=`${e}/clearIcon.svg`,xo=`${e}/status/unCaptured.svg`,io=`${t}/newWindow.svg`,lo=`${t}/viewAll.svg`,uo=`${t}/allApps.svg`,Io=`${t}/hide.svg`,go=`${t}/close.svg`,vo=`${t}/star.svg`,ho=`${t}/closeCircle.svg`,mo=`${t}/acquirer.svg`,fo=`${e}/GenericIconNew.svg`,Ao=`${t}/acquirerRed.svg`,Eo=`${t}/gateway.svg`,$o=`${t}/acquirerOrange.svg`,To=`${e}/status/capturedAuthorize.svg`,So=`${t}/merchantInitiated.svg`,Co=`${t}/rightArow.svg`,_o=`${e}/blackRightArrow.svg`,yo=`${t}/orangeFlag.svg`,bo=`${t}/openFlag.svg`,Ro=`${t}/closedFlag.svg`,No=`${t}/redFlag.svg`,wo=`${t}/grayFlag.svg`,Lo=`${t}/downArrow.svg`,Po=`${t}/check.svg`,Oo=`${t}/closeX.svg`,Bo=`${t}/drag.svg`,Uo=`${t}/checkboxIcon.svg`,Mo=`${e}/plusWhite.svg`,Do=`${t}/checkboxIcon.svg`,ko=`${e}/Uniso.svg`,Fo=`${e}/addidas.svg`,Go=`${e}/radioButtonChecked.svg`,Wo=`${e}/radioButtonUnchecked.svg`,Ho=`${e}/Mac.svg`,Yo=`${e}/blueCheckIconZigzag.svg`,Vo=`${e}/greenCheckIconZigzag.svg`,zo=`${e}/dimmedCheckIconZigzag.svg`,Ko=`${e}/marketPlaceBlue.svg`,qo=`${e}/marketplaceBlackIcon.svg`,Zo=`${e}/marketPlaceDimmed.svg`,Qo=`${e}/moneyOut.svg`,Jo=`${e}/moneyOutDimmed.svg`,jo=`${e}/moneyIn.svg`,Xo=`${e}/moneyInDimmed.svg`,en=`${e}/message.svg`,tn=`${e}/pending.svg`,on=`${e}/payStream.svg`,nn=`${e}/clearCoin.svg`,sn=`${t}/walletSmall.svg`,cn=`${t}/bank.svg`,pn=`${t}/hijri.svg`,an=`${t}/darkLeftArrow.svg`,rn=`${t}/darkRightArrow.svg`,xn=`${t}/spinnerLoading.svg`,dn=`${t}/spinnerLoadingAnimated.svg`,ln=`${t}/actionFail.svg`,un=`${t}/actionSuccess.svg`,In=`${t}/checkMark.svg`,gn=`${t}/logout.svg`,vn=`${t}/preferences.svg`,hn=`${t}/transform.svg`,f=`${t}/token.svg`,d=`${t}/billing.svg`,mn=`${t}/receiptBill.svg`,fn=`${e}/newReceiptIcon.svg`,l=`${t}/acceptance.svg`,An=`${e}/acceptanceEnabled.svg`,En=`${e}/acceptanceBlue.svg`,$n=`${e}/payoutsGreen.svg`,Tn=`${t}/acceptanceAppIconDisabled.svg`,Sn=`${t}/payoutsAppIconDisabled.svg`,Cn=`${e}/payoutEnabled.svg`,_n=`${e}/payoutAppGreenIcon.svg`,yn=`${e}/payoutDisabledRounded.svg`,bn=`${e}/acceptanceDisabledRounded.svg`,u=`${t}/AuthenticationApp.svg`,I=`${t}/walletApp.svg`,g=`${t}/payouts.svg`,A=`${t}/protect.svg`,E=`${t}/customers.svg`,$=`${t}/business.svg`,T=`${t}/account.svg`,Rn=`${t}/disableCheck.svg`,Nn=`${t}/wifiOff.svg`,wn=`${t}/SandboxHovered.svg`,Ln=`${t}/Sandbox.svg`,Pn=`${t}/ExclamationError.svg`,On=`${t}/greyCheck.svg`,Bn=`${t}/greyCross.svg`,Un=`${t}/blueCheck.svg`,Mn=`${t}/disabledCheck.svg`,Dn=`${t}/darkCheck.svg`,kn=`${t}/collapseArrow.svg`,Fn=`${t}/world.svg`,Gn=`${t}/grayUpArrow.svg`,Wn=`${t}/blackHeadingDownArrowIcon.svg`,Hn=`${t}/blueHeadingDropdownArrow.svg`,Yn=`${t}/dropdownArrow.svg`,Vn=`${t}/greyDropdownIcon.svg`,zn=`${t}/business2.svg`,Kn=`${t}/provider.svg`,qn=`${t}/financial.svg`,Zn=`${t}/development.svg`,Qn=`${t}/masterOrchestratorSegment.svg`,Jn=`${t}/platform.svg`,jn=`${t}/light_platform.svg`,Xn=`${t}/brandGray.svg`,es=`${e}/grayCircleIcon.svg`,ts=`${t}/json.svg`,os=`${t}/jsonBlackIcon.svg`,ns=`${t}/sort1.svg`,ss=`${t}/SandboxHoveredLight.svg`,cs=`${t}/emailColoured.svg`,ps=`${e}/OrderIcon.svg`,as=`${e}/TransactionIcon.svg`,rs=`${e}/GenericIcon.svg`,xs=`${t}/smsColoured.svg`,is=`${t}/whatsAppColored.svg`,ds=`${t}/dueDateBlue.svg`,ls=`${t}/dueDateOrange.svg`,us=`${t}/dueDateYellow.svg`,Is=`${t}/dueDateRed.svg`,gs=`${t}/dueDateBlack.svg`,vs=`${t}/dueDateGray.svg`,hs=`${t}/timerBlue.svg`,ms=`${t}/expiredIcon.svg`,fs=`${t}/remindedRed.svg`,As=`${t}/chevronWhite.svg`,Es=`${t}/chevronGray.svg`,$s=`${t}/notVerified.svg`,Ts=`${t}/verified.svg`,Ss=`${t}/verifyReview.svg`,Cs=`${e}/window/attention.svg`,_s=`${e}/window/initalAcceptance.svg`,ys=`${e}/window/completedAcceptance.svg`,bs=`${e}/window/initalPayouts.svg`,Rs=`${e}/window/completedPayouts.svg`,Ns=`${t}/collapseArrowsIcon.svg`,ws=`${t}/expandArrowsIcon.svg`,Ls=`${t}/greenArrowRight.svg`,Ps=`${t}/greenArrowLeft1.svg`,Os=`${t}/greenIconWithArrowUp.svg`,Bs=`${t}/whiteArrowRight.svg`,Us=`${t}/whiteArrowLeft.svg`,Ms=`${e}/HSBCBank.svg`,Ds=`${e}/shopifyIcon.svg`,ks=`${e}/verifiedGreenBadge.svg`,Fs=`${e}/backButtonLeft.svg`,Gs=`${e}/eyeHideIcon.svg`,Ws=`${e}/eyeShowIcon.svg`,Hs=`${t}/uploadIcon.svg`,Ys=`${e}/inprogressIcon.svg`,Vs=`${t}/uploadBlueIcon.svg`,zs=`${t}/SandboxHovered.svg`,Ks=`${t}/sandboxDefaultIcon.svg`,qs=`${t}/SandboxIcon.svg`,Zs=`${t}/clock.svg`,Qs=`${t}/RedClose.svg`,Js=`${t}/xls.svg`,S=`${t}/csv.svg`,js=`${t}/pdf.svg`,Xs=`${t}/Download.svg`,ec=`${t}/reportsIconOutlined.svg`,tc=`${t}/Done.svg`,oc=`${t}/reportApps.svg`,C=`${e}/window/ReportsApp.svg`,_=`${e}/window/leadApp.svg`,y=`${e}/window/leadTitleIcon.svg`,b=`${t}/OrderApp.svg`,R=`${t}/OrderTitleIcon.svg`,nc=`${e}/dottedLine.svg`,sc=`${e}/passwordDots.svg`,cc=`${e}/dollarSign.svg`,pc=`${e}/reload.svg`,ac=`${t}/deletedStatus1.svg`,rc=`${t}/draftedStatus1.svg`,xc=`${t}/createdStatus1.svg`,ic=`${t}/cancelledStatus1.svg`,dc=`${t}/expiredStatus1.svg`,lc=`${t}/paidStatus1.svg`,uc=`${t}/deliveredStatus1.svg`,Ic=`${t}/viewedStatus1.svg`,gc=`${t}/savedStatus1.svg`,vc=`${t}/scheduledStatus1.svg`,hc=`${t}/invoicePendingStatus2.svg`,mc=`${t}/invoiceRefundedStatus2.svg`,fc=`${e}/activeLeadStatus.svg`,Ac=`${e}/completedLeadStatus.svg`,Ec=`${e}/closedLeadStatus.svg`,$c=`${e}/expiredLeadStatus.svg`,Tc=`${e}/readyLeadStatus.svg`,Sc=`${e}/newFileIcon.svg`,Cc=`${e}/teamWindowIcon.svg`,_c=`${e}/blueAppsIcon.svg`,yc=`${e}/disabledCardIcon.svg`,bc=`${e}/disabledCodeIcon.svg`,Rc=`${e}/layersIcon.svg`,Nc=`${e}/status/pendingOnTapIcon.svg`,wc=`${e}/leadWhiteIcon.svg`,Lc=`${t}/chatDisabledIcon.svg`,Pc=`${e}/exclamationDarkIcon.svg`,Oc=`${t}/exclamationWarning.svg`,Bc=`${e}/exclamationError.svg`,Uc=`${e}/exclamationOrangeIcon.svg`,Mc=`${t}/greenCheckV2.svg`,Dc=`${e}/iosIcon1.svg`,kc=`${e}/androidIcon.svg`,Fc=`${e}/websiteIcon.svg`,Gc=`${t}/greyApple.svg`,Wc=`${t}/greyLocationIcon.svg`,Hc=`${t}/greyDesktopIcon.svg`,Yc=`${t}/greyTimezone.svg`,Vc=`${t}/safariBrowser.svg`,zc=`${t}/chromeBrowser.svg`,Kc=`${t}/firefoxBrowser.svg`,qc=`${t}/microsoftBrowser.svg`,Zc=`${t}/operaBrowser.svg`,Qc=`${t}/braveBrowser.svg`,Jc=`${t}/arcBrowser.svg`,jc=`${t}/chromiumBrowser.svg`,Xc=`${t}/userIcon.svg`,N=`${t}/slaProcess.svg`,w=`${e}/window/slaProcess.svg`,L=`${e}/orchestrationApp.svg`,P=`${e}/window/orchestration.svg`,ep=`${e}/window/orchestrationWindowBg.svg`,O=`${e}/lendingApp.svg`,B=`${e}/window/lending.svg`,tp=`${e}/fast.svg`,op=`${e}/bankBlue.svg`,np=`${e}/mosque.svg`,sp=`${e}/corpotateLoan.svg`,U=`${e}/platformApp.svg`,M=`${e}/window/platform.svg`,cp=`${e}/status/table/abandoned.svg`,pp=`${e}/status/table/cancelled.svg`,ap=`${e}/status/table/captured.svg`,rp=`${e}/status/table/chargeBack.svg`,xp=`${e}/status/table/chargeBackRequested.svg`,ip=`${e}/status/table/completed.svg`,dp=`${e}/status/table/declined.svg`,lp=`${e}/status/table/destinationReversed.svg`,up=`${t}/DestinationWithoutBackground.svg`,Ip=`${e}/status/table/disputeResolved.svg`,gp=`${e}/status/table/failed.svg`,vp=`${e}/status/table/failedNoBG.svg`,hp=`${e}/status/table/declinedNoBg.svg`,mp=`${t}/destinationSuccess.svg`,fp=`${e}/status/authenticationFailed.svg`,Ap=`${e}/status/table/authenticated.svg`,Ep=`${e}/paidOutFilterIcon.svg`,$p=`${e}/completedBlackIcon.svg`,Tp=`${e}/scheduledFilterIcon.svg`,Sp=`${e}/saveTokenIcon.svg`,Cp=`${e}/status/unauthenticated.svg`,_p=`${e}/status/authenticationAttempted.svg`,yp=`${e}/status/authenticationNoAuth.svg`,bp=`${e}/status/authenticationDeclined.svg`,Rp=`${e}/status/authenticationExemptedWithoutTransaction1.svg`,Np=`${e}/status/authenticationExemptedWithTransaction2.svg`,wp=`${e}/status/authenticationFailed1.svg`,Lp=`${e}/status/authenticationInitiated.svg`,Pp=`${e}/status/authenticationUnavailable.svg`,Op=`${e}/status/authenticationUndetermined.svg`,Bp=`${e}/status/AuthenticationWithoutTransaction1.svg`,Up=`${e}/status/authenticationWithTransaction1 2.svg`,Mp=`${e}/status/AuthenticationAuthenticated.svg`,Dp=`${e}/status/authenticationPending2.svg`,kp=`${e}/authenticationFailedNoBg.svg`,Fp=`${e}/authenticationPendingNoBg.svg`,Gp=`${e}/authenticationNoAuthNoBg.svg`,Wp=`${e}/authenticationAttemptedNoBg.svg`,Hp=`${e}/authenticationExemptedWithTransactionNoBg.svg`,Yp=`${e}/authenticationExemptedWithoutTransactionNoBg.svg`,Vp=`${e}/authenticationDeclinedNoBg.svg`,zp=`${e}/authenticationUnavailableNoBg.svg`,Kp=`${e}/authenticationUndeterminedNoBg.svg`,qp=`${e}/authenticatedSuccessNoBg.svg`,Zp=`${e}/authenticationWithTransactionNoBg.svg`,Qp=`${e}/authenticationWithoutTransactionNoBg.svg`,Jp=`${e}/greyPlusIcon.svg`,jp=`${e}/greyMinusIcon.svg`,Xp=`${e}/noPreviewIcon.svg`,ea=`${e}/other/editIcon.svg`,ta=`${t}/viewInvoice.svg`,oa=`${t}/checkoutStatus.svg`,na=`${t}/checkStatusOutBlue.svg`,sa=`${t}/checkoutWithMarkStatus.svg`,ca=`${t}/intentExpiredStatus.svg`,pa=`${t}/intentInitiatedStatus.svg`,aa=`${t}/intentCancelledStatus.svg`,ra=`${t}/intentTransactedStatus.svg`,xa=`${e}/SheetViewUnionIcon.svg`,ia=`${e}/sheetView.svg`,da=`${e}/abandonedNoBG.svg`,la=`${e}/status/table/paidOut.svg`,ua=`${e}/status/table/reversePayout.svg`,Ia=`${e}/status/pendingPayout.svg`,ga=`${t}/whiteCloseIcon.svg`,va=`${e}/window/empty.svg`,ha=`${e}/loaderWhiteIcon.svg`,ma=`${t}/reverseActionIcon.svg`,fa=`${e}/status/authenticationWallet.svg`,Aa=`${e}/status/authenticationApp.svg`,Ea=`${e}/status/authenticationBiometric.svg`,$a=`${e}/status/authenticationDevice.svg`,Ta=`${e}/status/authenticationIssuer.svg`,Sa=`${e}/status/authenticationScheme.svg`,Ca=`${e}/pin.svg`,_a=`${e}/unpin.svg`,ya=`${t}/switcher.svg`,ba=`${e}/closedStatusIcon.svg`,Ra=`${e}/verticalLine.svg`,Na=`${e}/previewModeIcon.svg`,wa=`${e}/status/table/tokensSaved.svg`,La=`${e}/status/table/tokensTransacted.svg`,Pa=`${e}/status/table/tokensExpired.svg`,Oa=`${e}/status/table/tokensPending.svg`,Ba=`${e}/status/table/tokenCardIcon.svg`,Ua=`${t}/TableloadingSpinner.svg`,Ma=`${t}/loadingSpinnerWhite.svg`,Da=`${e}/spinnerLoadingBlue.svg`,ka=`${e}/backgroundLoader.svg`,Fa=`${t}/arrowUpBlue1.svg`,Ga=`${t}/BlueCheckMarkShadowed1.svg`,Wa=`${t}/cardViewButton.svg`,Ha=`${t}/listViewButton1.svg`,Ya=`${e}/BlueArrowUpIcon.svg`,Va=`${e}/BlueCircleLoaderIcon.svg`,za=`${e}/appsGridIcon2.svg`,Ka=`${e}/whiteFilter.svg`,qa=`${e}/grayCloseIcon.svg`,Za=`${e}/status/OrderAgreementIcon.svg`,Qa=`${e}/status/InstallmentAgreementIcon.svg`,Ja=`${e}/status/CardAgreementIcon.svg`,ja=`${e}/status/SubscriptionAgreementIcon.svg`,Xa=`${e}/brandPlaceholder.svg`,er=`${e}/users-icons.svg`,tr=`${e}/Board-Icons.svg`,or=`${t}/No Agreement.svg`,D=`${e}/window/acceptance.svg`,k=`${e}/window/wallet.svg`,F=`${e}/window/billing.svg`,G=`${e}/window/customers.svg`,W=`${e}/window/payout.svg`,H=`${e}/window/protect.svg`,Y=`${e}/window/tokens.svg`,V=`${e}/window/account.svg`,z=`${e}/window/businesses.svg`,K=`${e}/window/authentication.svg`,q=`${t}/reportsIcon.svg`,nr=`${e}/window/tokensReports.svg`,sr=`${e}/window/brand.svg`,cr=`${e}/window/entity.svg`,pr=`${e}/window/bank.svg`,ar=`${e}/window/individual.svg`,rr=`${e}/window/password.svg`,xr=`${e}/actionsIcon.svg`,ir=`${e}/addItem.svg`,dr=`${e}/attachIcon.svg`,lr=`${e}/CollapseArrows.svg`,ur=`${e}/customerIcon.svg`,Ir=`${e}/discountIcon.svg`,gr=`${e}/emailIcon.svg`,vr=`${e}/emailBlackIcon.svg`,hr=`${e}/linkTiltedIcon.svg`,mr=`${e}/ExpandArrows.svg`,fr=`${e}/feeIcon.svg`,Ar=`${e}/minusIcon.svg`,Er=`${e}/noteIcon.svg`,$r=`${e}/pdfGrayIcon.svg`,Tr=`${e}/productLabel.svg`,Sr=`${e}/quantityIcon.svg`,Cr=`${e}/removeItem.svg`,_r=`${t}/removeItem2.svg`,yr=`${e}/smsIcon.svg`,br=`${e}/taxIcon.svg`,Rr=`${e}/totalAmountIcon.svg`,Nr=`${e}/unfocusRemoveItem.svg`,wr=`${e}/whatsappIcon1.svg`,Lr=`${e}/whiteArrow2.svg`,Pr=`${e}/newInvoice.svg`,Or=`${e}/activeActionIcon.svg`,Br=`${e}/grayProductLabel.svg`,Ur=`${e}/plusQty.svg`,Mr=`${t}/downArrow3.svg`,Dr=`${e}/customer.svg`,kr=`${t}/note.svg`,Fr=`${e}/blueNoteIcon.svg`,Gr=`${t}/attach.svg`,Wr=`${e}/lateFee.svg`,Hr=`${e}/addItemIcon.svg`,Yr=`${e}/blueCheckIcon.svg`,Vr=`${t}/trash-bin.svg`,zr=`${e}/redTrashBin.svg`,Kr=`${e}/blueVerifyIcon.svg`,qr=`${e}/verificationDarkBlue.svg`,Zr=`${e}/grayVerifyIcon.svg`,Qr=`${e}/greenVerifyIcon.svg`,Jr=`${e}/redVerifyIcon.svg`,jr=`${e}/closedVerifyIcon.svg`,Xr=`${e}/archivedVerifyIcon.svg`,ex=`${e}/penIcon.svg`,tx=`${t}/listShadow.svg`,ox=`${e}/defaultCountryIcon.svg`,nx=`${e}/defaultDeviceIcon.svg`,sx=`${e}/biometric.svg`,cx=`${e}/3dsBlue.svg`,px=`${t}/createCharge.svg`,ax=`${t}/successCheck.svg`,rx=`${t}/receipt.svg`,xx=`${t}/browserTimezone.svg`,ix=`${t}/entityTimezone.svg`,dx=`${t}/historyTimezone.svg`,lx=`${t}/smallBlueCheck.svg`,ux=`${t}/fileDownloadBlue.svg`,Ix=`${t}/fileDownloadGrey.svg`,gx=`${e}/meta.svg`,vx=`${e}/darkFilterIcon.svg`,hx=`${e}/resize-icon.svg`,mx=`${e}/home.svg`,fx=`${e}/lockIcon.svg`,Ax=`${e}/Calendar.svg`,Ex=`${e}/status-v2/autoCapturedNoBG.svg`,$x=`${e}/status-v2/autoVoidNoBG.svg`,Tx=`${e}/status-v2/cancelledNoBG.svg`,Sx=`${e}/status-v2/capturedNoBG.svg`,Cx=`${e}/status-v2/declinedNoBG.svg`,_x=`${e}/status-v2/destinationsNoBG.svg`,yx=`${e}/status-v2/failedNoBG.svg`,bx=`${e}/status-v2/gatewayOrange.svg`,Rx=`${e}/status-v2/gatewayRedNoBG.svg`,Nx=`${e}/status-v2/paidoutNoBG.svg`,wx=`${e}/status-v2/refundedIconNoBG2.svg`,Lx=`${e}/status-v2/refundInitiatedNoBG.svg`,Px=`${e}/status-v2/refundSettledNoBG.svg`,Ox=`${e}/status-v2/refundNotSettledNoBG.svg`,Bx=`${e}/status-v2/restrictedNoBG.svg`,Ux=`${e}/status-v2/settledNoBG.svg`,Mx=`${e}/status-v2/settlementInitiatedNoBG.svg`,Dx=`${e}/status-v2/timeoutNoBG.svg`,kx=`${e}/status-v2/unavailableNoBG.svg`,Fx=`${e}/status-v2/unknownNoBG.svg`,Gx=`${e}/status-v2/void.svg`,Wx=`${e}/status-v2/authorizeNoBG.svg`,Hx=`${e}/status-v2/initiatedNoBG.svg`,Yx=`${e}/websiteBlueIcon.svg`,Vx=`${e}/androidAppIcon.svg`,zx=`${e}/iOSAppIcon.svg`,Kx=`${e}/physicalLocationIcon.svg`,qx=`${e}/socialLinksIcon.svg`,Zx=`${e}/smallLeftArrow.svg`,Qx=`${e}/searchBlueIcon.svg`,Jx=`${t}/rightLightArrow.svg`,jx=`${t}/segmentInstitution.svg`,Xx=`${t}/segmentTechnology.svg`,ei=`${t}/segmentDevelopmentHouse.svg`,Z=`${t}/terminal.svg`,Q=`${e}/window/terminal.svg`,ti=`${e}/terminalCardPhone.svg`,oi=`${e}/ToastPOS.svg`,ni=`${e}/terminalTypeIcon.svg`,si=`${e}/terminalBrush.svg`,ci=`${e}/terminalBrushMuted.svg`,pi=`${e}/navigationIcon.svg`,ai=`${e}/babyBlueCheckIcon.svg`,ri=`${e}/digitalReceiptIcon.svg`,xi=`${e}/bankNoteIcon.svg`,ii=`${e}/terminalDeviceFrame.svg`,di=`${e}/blackBrushIcon.svg`,li=`${e}/mutedOutlinedCheckIcon.svg`,ui=`${e}/outlinedPlatformIcon.svg`,Ii=`${e}/navigationPointerBlack.svg`,gi=`${e}/addIconWhite.svg`,vi=`${e}/greyUpArrow.svg`,hi=`${e}/greyDownArrow.svg`,mi=`${e}/services/brandService.svg`,fi=`${e}/services/authorizationService.svg`,Ai=`${e}/services/chargebacksService.svg`,Ei=`${e}/services/chargesService.svg`,$i=`${e}/services/destinationsService.svg`,Ti=`${e}/services/entityService.svg`,Si=`${e}/services/invoiceService.svg`,Ci=`${e}/services/payoutService.svg`,_i=`${e}/services/refundsService.svg`,yi=`${e}/services/usersService.svg`,bi=`${e}/services/walletService.svg`,Ri=`${e}/services/intentsService.svg`,Ni=`${e}/services/insightsService.svg`,wi=`${e}/services/retailersService.svg`,Li=`${e}/services/terminalService.svg`,Pi=`${e}/services/createLead.svg`,Oi=`${e}/services/viewLead.svg`,Bi=`${e}/archievedOutlined.svg`,Ui=`${e}/closeOutlinedCircle.svg`,Mi=`${e}/dashedOutlinedCircle.svg`,Di=`${e}/deactivatedCircle.svg`,ki=`${e}/deactivatedOutlinedCircleV2.svg`,Fi=`${e}/exclamationOutlinedCircle.svg`,Gi=`${e}/questionOutlinedCircle.svg`,Wi=`${e}/outlinedCircle.svg`,Hi=`${e}/greenCheck2ACE00.svg`,Yi=`${e}/blueCopyIcon.svg`,Vi=`${e}/blackLinkIcon.svg`,zi=`${e}/blackSettingsIcon.svg`,Ki=`${e}/blackWallet.svg`,qi=`${e}/blueGradientBrushIcon.svg`,Zi=`${e}/gadientLink.svg`,Qi=`${e}/blackDeviceIcon.svg`,Ji=`${e}/gradientDeviceIcon.svg`,ji=`${e}/gradientSettings.svg`,Xi=`${e}/gradientWallet.svg`,ed=`${e}/codeIcon.svg`,td=`${e}/manyCurrencyCoin.svg`,od=`${e}/manyCurrencyCoinGradient.svg`,nd=`${e}/blackMobileBatteryIcon.svg`,sd=`${e}/blackMobileSignalIcon.svg`,cd=`${e}/emptyMobileWifiIcon.svg`,pd=`${e}/deemaWithLabel.svg`,ad=`${e}/chargeBackWhiteIcon.svg`,rd=`${e}/blackUnLinkIcon.svg`,xd=`${e}/sortDescArrowIcon.svg`,id=`${e}/sortAscArrowIcon.svg`,dd=`${e}/closedOutlinedYellowCircle.svg`,ld=`${e}/deactivatedOrangeCircle.svg`,ud=`${e}/deactivatedCircleV2.svg`,Id=`${e}/exclamationOutlinedOrangeCircle.svg`,gd=`${e}/activeGreenIcon.svg`,vd=`${e}/activeBlue.svg`,hd=`${e}/inActiveGreyIcon.svg`,md=`${ee}/terminal_link.mp4`,fd=`${e}/bluePlusIcon.svg`,Ad=`${e}/blackSettingsVariant2Icon.svg`,Ed=`${e}/exclamationWhite.svg`,$d=`${t}/paymentTechnology.svg`,Td=`${t}/paymentGatewayProvider.svg`,Sd=`${t}/paymentTechnologyV2.svg`,Cd=`${t}/paymentTerminalProvider.svg`,_d=`${t}/merchantServiceProvider.svg`,yd=`${t}/paymentProcessor.svg`,bd=`${t}/paymentScheme.svg`,Rd=`${t}/paymentIssuer.svg`,Nd=`${t}/paymentAcquirer.svg`,wd=`${t}/paymentMethod.svg`,Ld=`${t}/paymentFacilitator.svg`,Pd=`${t}/commercialRegulator.svg`,Od=`${t}/appPlatform.svg`,Bd=`${t}/retailPlatform.svg`,Ud=`${t}/commercePlatform.svg`,Md=`${t}/billingPlatform.svg`,Dd=`${t}/authenticationGateway.svg`,kd=`${t}/retailer.svg`,Fd=`${t}/blueCircleWithWhiteCheck.svg`,Gd=`${e}/externalLink.svg`,Wd=`${e}/settingsIcon.svg`,Hd=`${e}/flipIcon.svg`,Yd=`${e}/shoppingCart.svg`,Vd=`${e}/verifyAvatar.svg`,zd=`${e}/helpCircle.svg`,Kd=`${e}/provider/CYBERSOURCE.svg`,qd=`${e}/provider/MPGS.svg`,Zd=`${e}/provider/NETCETERA.svg`,Qd=`${e}/provider/TAP3DS.svg`,Jd=`${e}/provider/BENEFIT_PAY.svg`,jd=`${e}/provider/BENEFIT.svg`,Xd=`${e}/provider/CAREEM_PAY.svg`,el=`${e}/provider/DEEMA.svg`,tl=`${e}/provider/FAWRY.svg`,ol=`${e}/provider/FSS.svg`,nl=`${e}/provider/KNET.svg`,sl=`${e}/provider/MEEZA.svg`,cl=`${e}/provider/NGENIUS.svg`,pl=`${e}/provider/NPG.svg`,al=`${e}/provider/OMAN_NET.svg`,rl=`${e}/provider/PAYPAL.svg`,xl=`${e}/provider/POSTPAY.svg`,il=`${e}/provider/QPAY.svg`,dl=`${e}/provider/SPG.svg`,ll=`${e}/provider/STC_PAY.svg`,ul=`${e}/provider/TABBY.svg`,Il=`${e}/provider/TAMARA.svg`,gl=`${e}/provider/TPAY.svg`,vl=`${e}/provider/TPG.svg`,hl=`${e}/downloadBlue.svg`,ml=`${e}/eyeBlue.svg`,fl=`${e}/fastBlack.svg`,Al=`${e}/repeat.svg`,El=`${e}/shield.svg`,$l=`${e}/fileMinus.svg`,Tl=`${e}/percent.svg`,Sl=`${e}/cardUpload.svg`,Cl=`${e}/startConnector.svg`,_l=`${e}/endConnector.svg`,yl=`${e}/filledConnector.svg`,bl=`${e}/dottedConnector.svg`,Rl=`${e}/play.svg`,Nl=`${e}/merchantAttributes.svg`,wl=`${e}/issuerAttributes.svg`,Ll=`${e}/refresh.svg`,Pl=`${e}/riskAttributes.svg`,Ol=`${e}/exclude.svg`,Bl=`${e}/earlySettlements.svg`,Ul=`${e}/financedBy.svg`,Ml=`${e}/financeFeatures.svg`,Dl=`${e}/loanAmount.svg`,kl=`${e}/murabhaFinance.svg`,Fl=`${e}/testimonial.svg`,Gl=`${oe}/bulk-refund-template.xlsx`,Wl=`${e}/emptyCopyIcon.svg`;var Yl=3,ne=88,se=24;var n={view:{code:"VIEW"},sandbox:{code:"SANDBOX"},jsonApi:{code:"JSON API"},reports:{code:"REPORTS"}},a={updateEntity:{code:"UPDATE ENTITY"},updateBrand:{code:"UPDATE BRAND"},updateUsers:{code:"UPDATE USERS"},createUsers:{code:"CREATE USERS"},updateWallet:{code:"UPDATE_WALLET"},assign:{code:"ASSIGN"},updatePoc:{code:"UPDATE_POC"}},i={review:{code:"REVIEW"},verify:{code:"VERIFY"},reject:{code:"REJECT"},statusControl:{code:"STATUS_CONTROL"},viewOperator:{code:"VIEW_OPERATOR"},createOperator:{code:"CREATE_OPERATOR"}},o={tokens:{code:"TOKEN",services:{tokens:{code:"TOKENS",functions:{...n}}}},billing:{code:"BILLING",services:{invoices:{code:"INVOICES",functions:{...n,create:{code:"CREATE"},cancel:{code:"CANCEL"},reminder:{code:"REMINDER"},finalize:{code:"FINALIZE"},refund:{code:"REFUND"},createBulk:{code:"CREATE_BULK_INVOICES"},usersList:{code:"USER_LIST"}}}}},business:{code:"BUSINESS",services:{merchant:{code:"MERCHANT",functions:{...n,...a}},retailer:{code:"RETAILER",functions:{...n,...a}},businesses:{code:"BUSINESS",functions:{...n,update:{code:"UPDATE"}}}}},acceptance:{code:"ACCEPTANCE",services:{insights:{code:"INSIGHTS",functions:{...n,performanceOverview:{code:"PERFORMANCE_OVERVIEW"},performanceActivity:{code:"PERFORMANCE_ACTIVITY"},performanceHeatmap:{code:"PERFORMANCE_HEATMAP"},chargeStatus:{code:"CHARGE_STATUS"},chargeAcceptanceRate:{code:"CHARGE_ACCEPTANCE_RATE"}}},intents:{code:"INTENTS",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"}}},authorization:{code:"AUTHORIZATIONS",functions:{...n,void:{code:"VOID"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}},charges:{code:"CHARGES",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},refund:{code:"REFUND"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"},viewReceipt:{code:"RECEIPT"}}},destinations:{code:"DESTINATIONS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},topups:{code:"TOPUPS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},refunds:{code:"REFUNDS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},cancel:{code:"CANCEL"},viewReceipt:{code:"RECEIPT"},bulkRefund:{code:"BULK_REFUND"}}},chargeback:{code:"CHARGEBACKS"},settlements:{code:"SETTLEMENTS",functions:{...n}},disputes:{code:"DISPUTES"}}},wallet:{code:"WALLET",services:{businesses:{code:"BUSINESS_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailers:{code:"RETAILER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},customers:{code:"CUSTOMER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},merchants:{code:"MERCHANT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentTechnology:{code:"PAYMENT_TECHNOLOGY_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},financialInstitution:{code:"FINANCIAL_INSTITUTION_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailCommerce:{code:"RETAIL_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},app:{code:"APP_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},billing:{code:"BILLING_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},onlineCommerce:{code:"ONLINE_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentFacilitator:{code:"PAYMENT_FACILITATOR_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},development:{code:"DEVELOPMENT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}}}},payouts:{code:"PAYOUT",services:{payouts:{code:"PAYOUTS",functions:{...n,bulkReports:{code:"BULK_REPORTS"},flag:{code:"FLAG"}}},reversePayout:{code:"REVERSEPAYOUT"},retailerPayout:{code:"RETAILER_PAYOUTS"},merchantPayout:{code:"MERCHANT_PAYOUTS"}}},protect:{code:"PROTECT",services:{authorizationsFlags:{code:"AUTHORIZE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}},chargesFlags:{code:"CHARGE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}}}},authentication:{code:"AUTHENTICATION",services:{authentication:{code:"AUTHENTICATION",functions:{...n}},saveTokens:{code:"SAVE_TOKENS",functions:{...n}},charges:{code:"CHARGES",functions:{...n}},authorizations:{code:"AUTHORISATIONS",functions:{...n}}}},customers:{code:"CUSTOMER"},businesses:{code:"BUSINESS",services:{businesses:{code:"BUSINESSES"}}},reports:{code:"REPORTS",services:{reports:{code:"REPORTS"}}},account:{code:"ACCOUNT",services:{account:{code:"ACCOUNT"},users:{code:"USERS",functions:{list:{code:"LIST"},create:{code:"CREATE"},update:{code:"UPDATE"}}},operators:{code:"OPERATORS",functions:{list:{code:"LIST"},copy:{code:"COPY"}}},entity:{code:"ENTITY",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},brands:{code:"BRAND",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},walletSettings:{code:"WALLET_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},order:{code:"ORDER",services:{orders:{code:"ORDERS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}}}},leads:{code:"LEAD",services:{merchantLead:{code:"MERCHANT_LEAD",functions:{...n,convert:{code:"CONVERT"},close:{code:"CLOSE"},update:{code:"UPDATE"},connect:{code:"CONNECT"},create:{code:"CREATE"}}},retailerLead:{code:"RETAILER_LEAD",functions:{...n,update:{code:"UPDATE"},close:{code:"CLOSE"},convert:{code:"CONVERT"},create:{code:"CREATE"}}}}},terminals:{code:"TERMINALS",services:{create:{code:"CREATE"},view:{code:"VIEW"},update:{code:"UPDATE"},deactivate:{code:"DEACTIVATE"}}},slaProcess:{code:"SLA_PROCESS"},orchestration:{code:"ORCHESTRATION",services:{routing:{code:"ROUTING",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},gatewayTerminals:{code:"GATEWAY_TERMINALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},credentials:{code:"CREDENTIALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},orchestrationSettings:{code:"ORCHESTRATION_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},lending:{code:"LENDING"},platform:{code:"PLATFORM",services:{platform:{code:"PLATFORM",functions:{...n,...a,...i}},onlineCommerce:{code:"ONLINE_COMMERCE",functions:{...n,...a,...i}},retailCommerce:{code:"RETAIL_COMMERCE",functions:{...n,...a,...i}},app:{code:"APP",functions:{...n,...a,...i}},billing:{code:"BILLING",functions:{...n,...a,...i}}}}},Kl={general:{height:`calc(100vh - ${Number(88)+Number(24)}px)`,minWidth:780,maxWidth:1200,minHeight:"50vh",maxHeight:"100vh"},[o.reports.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.billing.code]:{minWidth:856},[o.business.code]:{width:1400,maxWidth:1400}},ql=[{code:o.tokens.code,iconUrl:f,toolbarIconUrl:Y},{code:o.billing.code,iconUrl:d,toolbarIconUrl:F},{code:o.acceptance.code,iconUrl:l,toolbarIconUrl:D},{code:o.wallet.code,iconUrl:I,toolbarIconUrl:k},{code:o.payouts.code,iconUrl:g,toolbarIconUrl:W},{code:o.protect.code,iconUrl:A,toolbarIconUrl:H},{code:o.authentication.code,iconUrl:u,toolbarIconUrl:K},{code:o.customers.code,iconUrl:E,toolbarIconUrl:G},{code:o.businesses.code,iconUrl:$,toolbarIconUrl:z},{code:o.reports.code,iconUrl:C,toolbarIconUrl:q},{code:o.account.code,iconUrl:T,toolbarIconUrl:V},{code:o.order.code,iconUrl:b,toolbarIconUrl:R},{code:o.leads.code,iconUrl:_,toolbarIconUrl:y},{code:o.terminals.code,iconUrl:Z,toolbarIconUrl:Q},{code:o.slaProcess.code,iconUrl:N,toolbarIconUrl:w},{code:o.orchestration.code,iconUrl:L,toolbarIconUrl:P},{code:o.lending.code,iconUrl:O,toolbarIconUrl:B},{code:o.platform.code,iconUrl:U,toolbarIconUrl:M}],Zl=["login"];var J=window.__GLOBAL_CONFIG__??{},ce=J.MW_BASE_URL??import.meta.env.VITE_BASE_URL,Jl=`${ce}/api`,jl=import.meta.env.VITE_ENV,Xl=import.meta.env.VITE_TEST_FIXED_SK,eu=J.HOST_APP_NAME??import.meta.env.VITE_HOST_APP_NAME,tu={TAPSTERS_FRONTEND:"tapsters-frontend",OS_FRONTEND:"os-frontend"};var nu=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var cu={intents:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},authorization:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},charges:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},destinations:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},topups:{color:"#8D8D94",background:"rgba(141, 141, 148, 0.10)"},refunds:{color:"#4E1FD0",background:"rgba(78, 31, 208, 0.10)"},chargebacks:{color:"#F00",background:"rgba(255, 0, 0, 0.10)"},settlements:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},disputes:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},payouts:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},statement:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},invoices:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"}};var au=50,ru={AuthorizationsList:{limit:50},ChargesList:{limit:50},DestinationsList:{limit:50,destinationsLimit:20},IntentsList:{limit:50},RefundsList:{limit:50},SettlementsList:{limit:50},TopupsList:{limit:50},AuthenticationsList:{limit:25},InvoicesList:{limit:50},LeadsList:{limit:50,page_no:1},OrdersList:{limit:50},PayoutsList:{limit:50},TokensList:{limit:50},WalletsList:{limit:50,page:1},brands:{limit:50},MerchantsList:{limit:50},TerminalDevices:{limit:50}};var iu="TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED";var lu={id:{default:"180px",text:"180px",sheet:"180px"},merchant:{default:"115px",text:"150px",sheet:"138px"},brand:{default:"125px",text:"116px",sheet:"116px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"90px",text:"250px",sheet:"250px"},provider:{default:"102px",text:"102px",sheet:"102px"},purpose:{default:"126px",text:"126px",sheet:"126px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"175px",text:"175px",sheet:"175px"},status:{default:"86px",text:"250px",sheet:"250px"},authentication_id:{default:"260px",text:"320px",sheet:"320px"},charge_id:{default:"245px",text:"290px",sheet:"290px"},actions:{default:"100px",text:"100px",sheet:"100px"},date:{default:"150px",text:"170px",sheet:"130px"},channel:{default:"100px",text:"100px",sheet:"100px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"}};var Iu={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},auto:{default:"70px",text:"90px",sheet:"90px"},balance:{default:"60px",text:"60px",sheet:"150px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},reference:{default:"95px",text:"180px",sheet:"180px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"230px"},amount:{default:"130px",text:"195px",sheet:"150px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"100px",sheet:"300px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"150px"},metadata:{default:"185px",text:"185px",sheet:"250px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"80px",text:"100px",sheet:"100px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},transaction_id:{default:"120px",text:"120px",sheet:"315px"},device:{default:"60px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"140px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},card_number:{default:"120px",text:"120px",sheet:"155px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"}};var vu={code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},id:{default:"205px",text:"225px",sheet:"250px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},source:{default:"70px",text:"125px",sheet:"1250px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"170px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"550px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"300px",sheet:"170px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},payout_status:{default:"70px",text:"70px",sheet:"130px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"165px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},device:{default:"70px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"200px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},brand:{default:"125px",text:"116px",sheet:"116px"}};var mu={id:{default:"205px",text:"225px",sheet:"250px"},reference_order:{default:"95px",text:"180px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},created:{default:"150px",text:"170px",sheet:"130px"},receipt:{default:"85px",text:"150px",sheet:"165px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},chargeId:{default:"225px",text:"225px",sheet:"225px"},chargeDate:{default:"150px",text:"150px",sheet:"130px"},device:{default:"70px",text:"250px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"130px",text:"195px",sheet:"150px"},status:{default:"70px",text:"100px",sheet:"170px"},chargeStatus:{default:"150px",text:"250px",sheet:"250px"},merchant:{default:"115px",text:"150px",sheet:"138px"},actions:{default:"100px",text:"100px",sheet:"85px"},destination:{default:"100px",text:"100px",sheet:"100px"},retailer:{default:"100px",text:"100px",sheet:"100px"},payout:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},card_number:{default:"120px",text:"120px",sheet:"155px"},card_no:{default:"120px",text:"120px",sheet:"200px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},product:{default:"85px",text:"85px",sheet:"85px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},payout_status:{default:"70px",text:"120px",sheet:"130px"},reference_transfer:{default:"205px",text:"225px",sheet:"250px"}};var Au={created:{default:"170px",text:"170px",sheet:"170px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"195px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var $u={id:{default:"180px",text:"180px",sheet:"180px"},link:{default:"145px",text:"145px",sheet:"350px"},date:{default:"150px",text:"150px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"260px"},customer:{default:"180px",text:"180px",sheet:"180px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},merchant:{default:"180px",text:"180px",sheet:"92px"},amount:{default:"195px",text:"195px",sheet:"150px"},channel:{default:"90px",text:"90px",sheet:"156px"},due:{default:"92px",text:"340px",sheet:"108px"},status:{default:"90px",text:"170px",sheet:"170px"},actions:{default:"100px",text:"100px",sheet:"100px"},paymentMethod:{default:"110px",text:"130px",sheet:"122px"},cardNo:{default:"130px",text:"130px",sheet:"130px"},chargeId:{default:"225px",text:"225px",sheet:"230px"},receiptId:{default:"180px",text:"180px",sheet:"180px"},reference_no:{default:"225px",text:"225px",sheet:"225px"},invoice_number:{default:"160px",text:"160px",sheet:"160px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},metadata:{default:"180px",text:"180px",sheet:"180px"}};var Su={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var _u={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},authenticate:{default:"150px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var bu={id:{default:"225px",text:"225px",sheet:"225px"},date:{default:"150px",text:"150px",sheet:"150px"},wallet:{default:"150px",text:"250px",sheet:"250px"},bankAccount:{default:"240px",text:"250px",sheet:"250px"},amount:{default:"210px",text:"210px",sheet:"210px"},status:{default:"51px",text:"250px",sheet:"250px"},report:{default:"56px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"100px"},referenceId:{default:"72px",text:"140px",sheet:"100px"},currency:{default:"80px",text:"80px",sheet:"80px"},beneficiary_name:{default:"180px",text:"180px",sheet:"180px"}};var Nu={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},auto:{default:"150px",text:"250px",sheet:"250px"},balance:{default:"50px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Lu={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Ou={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},product:{default:"85px",text:"85px",sheet:"85px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},device:{default:"100px",text:"200px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"200px",sheet:"200px"},payment_agreement:{default:"50px",text:"200px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"150px"},payouts:{default:"195px",text:"195px",sheet:"300px"},reason:{default:"170px",text:"240px",sheet:"160px"},destinations:{default:"70px",text:"240px",sheet:"340px"},balance:{default:"110px",text:"150px",sheet:"150px"},status:{default:"100px",text:"100px",sheet:"170px"},merchant:{default:"115px",text:"150px",sheet:"138px"},reference:{default:"95px",text:"180px",sheet:"250px"},fees:{default:"100px",text:"200px",sheet:"200px"},metadata:{default:"185px",text:"180px",sheet:"180px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},receipt_id:{default:"100px",text:"150px",sheet:"150px"},card_no:{default:"120px",text:"120px",sheet:"200px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},meta:{default:"52px",text:"52px",sheet:"52px"},charge_meta:{default:"100px",text:"100px",sheet:"250px"},brand:{default:"125px",text:"116px",sheet:"116px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"}};var Uu={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"100px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},purpose:{default:"150px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Du={id:{default:"180px",text:"180px",sheet:"180px"},created:{default:"170px",text:"170px",sheet:"170px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Fu={id:{default:"180px",text:"180px",sheet:"180px"},type:{default:"150px",text:"250px",sheet:"250px"},wallet:{default:"150px",text:"250px",sheet:"250px"},source:{default:"92px",text:"125px",sheet:"125px"},amount:{default:"195px",text:"195px",sheet:"195px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Wu={id:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"220px",text:"220px",sheet:"220px"},actions:{default:"70px",text:"70px",sheet:"70px"},date:{default:"130px",text:"130px",sheet:"130px"},description:{default:"210px",text:"210px",sheet:"210px"},transactions:{default:"90px",text:"90px",sheet:"90px"}};var Yu={id:{default:"225px",text:"225px",sheet:"225px"},postdate:{default:"170px",text:"170px",sheet:"170px"},date:{default:"110px",text:"110px",sheet:"110px"},description:{default:"210px",text:"210px",sheet:"210px"},receipt:{default:"80px",text:"150px",sheet:"150px"},authenticate:{default:"70px",text:"100px",sheet:"100px"},debit:{default:"400px",text:"400px",sheet:"400px"},source:{default:"75px",text:"125px",sheet:"125px"},actions:{default:"100px",text:"100px",sheet:"100px"},amount:{default:"195px",text:"195px",sheet:"195px"},reference:{default:"95px",text:"110px",sheet:"110px"},card:{default:"120px",text:"120px",sheet:"120px"}};var zu={id:{default:"225px",text:"225px",sheet:"220px"},lead_id:{default:"180px",text:"180px",sheet:"220px"},merchant_id:{default:"180px",text:"180px",sheet:"220px"},brand_id:{default:"180px",text:"180px",sheet:"220px"},individual_email:{default:"180px",text:"180px",sheet:"250px"},personal_id_type:{default:"180px",text:"180px",sheet:"220px"},wallet_currency:{default:"120px",text:"180px",sheet:"140px"},tax_number:{default:"180px",text:"180px",sheet:"140px"},wallet_id:{default:"180px",text:"180px",sheet:"220px"},business_id:{default:"180px",text:"180px",sheet:"220px"},board_id:{default:"180px",text:"180px",sheet:"220px"},history:{default:"180px",text:"180px",sheet:"130px"},bank_account:{default:"120px",text:"180px",sheet:"110px"},individual_phone_number:{default:"180px",text:"180px",sheet:"190px"},entity_legal_name:{default:"180px",text:"180px",sheet:"250px"},entity_id:{default:"180px",text:"180px",sheet:"220px"},entity:{default:"146px",text:"180px",sheet:"250px"},created:{default:"172px",text:"172px",sheet:"172px"},brands:{default:"140px",text:"140px",sheet:"250px"},marketplace:{default:"110px",text:"110px",sheet:"104px"},individuals:{default:"128px",text:"185px",sheet:"203px"},identification_number:{default:"150px",text:"150px",sheet:"150px"},segments:{default:"70px",text:"180px",sheet:"180px"},psp:{default:"62px",text:"180px",sheet:"180px"},status:{default:"64px",text:"100px",sheet:"172px"},partners:{default:"77px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"70px"},avatar:{default:"40px",text:"40px",sheet:"40px"},user_name:{default:"150px",text:"180px",sheet:"180px"},channels:{default:"80px",text:"120px",sheet:"440px"},merchant:{default:"167px",text:"180px",sheet:"167px"},business_name:{default:"220px",text:"220px",sheet:"220px"},apps:{default:"120px",text:"120px",sheet:"120px"},assignee:{default:"96px",text:"100px",sheet:"172px"},team:{default:"88px",text:"100px",sheet:"172px"}};var qu={device:{default:"120px",text:"120px",sheet:"120px"},terminalId:{default:"100px",text:"100px",sheet:"100px"},merchantId:{default:"120px",text:"120px",sheet:"120px"},type:{default:"80px",text:"80px",sheet:"80px"},platform:{default:"100px",text:"100px",sheet:"100px"},branding:{default:"80px",text:"80px",sheet:"80px"},features:{default:"100px",text:"100px",sheet:"100px"},acceptance:{default:"80px",text:"80px",sheet:"80px"},brand:{default:"80px",text:"80px",sheet:"80px"},address:{default:"160px",text:"160px",sheet:"160px"},status:{default:"80px",text:"80px",sheet:"80px"},actions:{default:"80px",text:"80px",sheet:"80px"},charges:{default:"180px",text:"180px",sheet:"180px"},chargesTransactions:{default:"70px",text:"70px",sheet:"70px"}};var pe={AE:"UTC +04:00",SA:"UTC +03:00",KW:"UTC +03:00",OM:"UTC +04:00",YM:"UTC +03:00",EG:"UTC +03:00",BH:"UTC +03:00",JO:"UTC +03:00",LB:"UTC +03:00",QA:"UTC +03:00",GB:"UTC +01:00",IE:"UTC +01:00",FR:"UTC +02:00",NL:"UTC +02:00",DE:"UTC +02:00",ES:"UTC +02:00",IT:"UTC +02:00",PK:"UTC +05:00",IN:"UTC +05:00",SG:"UTC +08:00",US:"UTC -05:00",UTC:"UTC +00:00"},Qu=pe.UTC,Ju=[{countryCode:"SA",label:"(GMT:+0300) Saudi Arabia",timezone:"Asia/Riyadh",offset:3},{countryCode:"BH",label:"(GMT:+0300) Bahrain",timezone:"Asia/Bahrain",offset:3},{countryCode:"EG",label:"(GMT:+0300) Egypt",timezone:"Africa/Cairo",offset:3},{countryCode:"LB",label:"(GMT:+0200) Lebanon",timezone:"Asia/Beirut",offset:2},{countryCode:"JO",label:"(GMT:+0300) Jordan",timezone:"Asia/Amman",offset:3},{countryCode:"KW",label:"(GMT:+0300) Kuwait",timezone:"Asia/Kuwait",offset:3},{countryCode:"OM",label:"(GMT:+0400) Oman",timezone:"Asia/Muscat",offset:4},{countryCode:"QA",label:"(GMT:+0300) Qatar",timezone:"Asia/Qatar",offset:3},{countryCode:"AE",label:"(GMT:+0400) United Arab Emirates",timezone:"Asia/Dubai",offset:4},{countryCode:"GB",label:"(GMT:+0000) United Kingdom",timezone:"Europe/London",offset:0},{countryCode:"IE",label:"(GMT:+0000) Ireland",timezone:"Europe/Dublin",offset:0},{countryCode:"FR",label:"(GMT:+0100) France",timezone:" Europe/Paris",offset:1},{countryCode:"NL",label:"(GMT:+0100) Netherlands",timezone:"Europe/Amsterdam",offset:1},{countryCode:"DE",label:"(GMT:+0100) Germany",timezone:"Europe/Berlin",offset:1},{countryCode:"IT",label:"(GMT:+0100) Italy",timezone:"Europe/Rome",offset:1},{countryCode:"ES",label:"(GMT:+0100) Spain",timezone:"Europe/Madrid",offset:1},{countryCode:"PK",label:"(GMT:+0500) Pakistan",timezone:"Asia/Karachi",offset:5},{countryCode:"IN",label:"(GMT:-0500) India",timezone:"America/Indiana/Indianapolis",offset:-5},{countryCode:"SG",label:"(GMT:+0800) Singapore",timezone:"Asia/Singapore",offset:8},{countryCode:"US",label:"(GMT:-0500) Eastern Time (US & Canada)",timezone:"America/New_York",offset:-5}];var Xu={SAR:{decimals:2,country:"SA"},BHD:{decimals:3,country:"BH"},EGP:{decimals:2,country:"EG"},JOD:{decimals:3,country:"JO"},KWD:{decimals:3,country:"KW"},LBP:{decimals:2,country:"LB"},OMR:{decimals:3,country:"OM"},AED:{decimals:2,country:"AE"},PKR:{decimals:2,country:"PK"},INR:{decimals:2,country:"IN"},SGD:{decimals:2,country:"SG"},USD:{decimals:2,country:"US"},GBP:{decimals:2,country:"GB"},EUR:{decimals:2,country:"GR"},QAR:{decimals:2,country:"QA"}},e0=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],t0={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var n0=52,s0=70,c0=57,p0=200,a0=5,r0=40,x0=20,i0=28;var l0={COUNT:"count",AMOUNT:"amount"},u0={count:"transaction",amount:"amount"};var r={DEVICE:`${e}/device.svg`,CARD:`${e}/payment-method/card.svg`,PASS_THRU_WALLET:`${e}/passThruWallet.svg`,EXPRESS_CHECKOUT:`${e}/express_checkout.svg`,STORED_VALUE_WALLET:`${e}/storedValueWallet.svg`,CASH_WALLET:`${e}/cash.svg`,BUY_NOW_PAY_LATER:`${e}/buyNowPayLater.svg`},v0=[{name:"CARD",label:"Card",icon:r.CARD},{name:"EXPRESS",label:"Express Checkout",icon:r.EXPRESS_CHECKOUT},{name:"DEVICE",label:"Device",icon:r.DEVICE},{name:"PT_WALLET",label:"Pass-Thru Wallet",icon:r.PASS_THRU_WALLET},{name:"SV_WALLET",label:"Stored Value Wallet",icon:r.STORED_VALUE_WALLET},{name:"BNPL",label:"Buy Now Pay Later",icon:r.BUY_NOW_PAY_LATER},{name:"CASH",label:"Cash Wallet",icon:r.CASH_WALLET}],ae="customer",re="merchant",h0=[{key:ae,value:"true",label:"Customer"},{key:re,value:"false",label:"Merchant"}],m0=[{key:"Regional",label:"Regional"},{key:"Global",label:"Global"},{key:"Local",label:"Local"}],f0=[{key:"3DS",label:"3DS"},{key:"Device Biometric",label:"Biometric"},{key:"Non-3DS",label:"Non-3DS"},{key:"Attempted",label:"Attempted"},{key:"Undetermined",label:"Undetermined"}];var p={PLATFORM:"platformId",DEVELOPMENT_HOUSE:"developmentHouseId",PAYMENT_TECHNOLOGY:"paymentTechnology",PAYMENT_ISSUER:"paymentIssuerId",PAYMENT_INSTITUTION:"paymentInstitution"},E0={PLATFORM:p.PLATFORM,RETAIL_PLATFORM:p.PLATFORM,BILLING_PLATFORM:p.PLATFORM,COMMERCE_PLATFORM:p.PLATFORM,APP_PLATFORM:p.PLATFORM,DEVELOPMENT_HOUSE:p.DEVELOPMENT_HOUSE,PAYMENT_TECHNOLOGY:p.PAYMENT_TECHNOLOGY,PAYMENT_ISSUER:p.PAYMENT_ISSUER,PAYMENT_ACQUIRER:p.PAYMENT_INSTITUTION,PAYMENT_FACILITATOR:p.PAYMENT_INSTITUTION},$0=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM"],T0=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],S0=["PAYMENT_TECHNOLOGY"],C0=["PAYMENT_ISSUER"],_0=["DEVELOPMENT_HOUSE"];var b0={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var N0={ZERO:0,FIVE:5,TEN:10,FIFTEEN:15};var s={CHARGE:"CHARGE",AUTHORIZE:"AUTHORIZE",REFUND:"REFUND",CHARGEBACKS:"CHARGEBACKS",DESTINATIONS:"DESTINATIONS",REVERSED_DESTINATIONS:"REVERSED_DESTINATIONS",STATEMENT:"STATEMENT",STATEMENT_SUMMARY:"STATEMENT_SUMMARY",INVOICE:"INVOICE",PAYOUT:"PAYOUT",MERCHANT_PAYOUT:"MERCHANT_PAYOUT",RETAILER_PAYOUT:"RETAILER_PAYOUT",AUTHENTICATION:"AUTHENTICATION"},O0={[o.acceptance.services.charges.code]:[s.CHARGE],[o.acceptance.services.authorization.code]:[s.AUTHORIZE],[o.acceptance.services.refunds.code]:[s.REFUND],[o.acceptance.services.chargeback.code]:[s.CHARGEBACKS],[o.acceptance.services.destinations.code]:[s.DESTINATIONS,s.REVERSED_DESTINATIONS],[o.acceptance.code]:[s.CHARGE,s.AUTHORIZE,s.REFUND,s.CHARGEBACKS,s.DESTINATIONS,s.REVERSED_DESTINATIONS],[o.wallet.services.merchants.functions.statement.code]:[s.STATEMENT],[o.wallet.services.merchants.functions.summary.code]:[s.STATEMENT_SUMMARY],[o.wallet.code]:[s.STATEMENT,s.STATEMENT_SUMMARY],[o.billing.services.invoices.code]:[s.INVOICE],[o.billing.code]:[s.INVOICE],[o.payouts.services.payouts.code]:[s.PAYOUT],[o.payouts.services.merchantPayout.code]:[s.MERCHANT_PAYOUT],[o.payouts.services.retailerPayout.code]:[s.RETAILER_PAYOUT],[o.payouts.code]:[s.PAYOUT,s.MERCHANT_PAYOUT,s.RETAILER_PAYOUT],[o.authentication.code]:[s.AUTHENTICATION]},B0=[{code:o.billing.code,name:"Billing",icon:d,services:[{name:"Invoices",code:o.billing.services.invoices.code}]},{code:o.acceptance.code,name:"Acceptance",icon:l,services:[{name:"Authorisations",code:o.acceptance.services.authorization.code},{name:"Charges",code:o.acceptance.services.charges.code},{name:"Refunds",code:o.acceptance.services.refunds.code},{name:"Chargebacks",code:o.acceptance.services.chargeback.code},{name:"Destinations",code:o.acceptance.services.destinations.code}]},{code:o.wallet.code,name:"Wallet",icon:I,services:[{name:"Aggregated Statement",code:o.wallet.services.merchants.functions.summary.code},{name:"Detailed Statement",code:o.wallet.services.merchants.functions.statement.code}]},{code:o.payouts.code,name:"Payouts",icon:g,services:[{name:"Payouts",code:o.payouts.services.payouts.code},{name:"Merchant Payouts",code:o.payouts.services.merchantPayout.code},{name:"Retailer Payouts",code:o.payouts.services.retailerPayout.code}]},{code:o.authentication.code,name:"Authentication",icon:u,services:[{name:"Authentication",code:o.authentication.services.authentication.code}]}];var M0={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var xe=["AUTHENTICATED"],ie=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","EXEMPTED","INITIATED"],k0=[...xe,...ie],de=(h=>(h.Challenge="C",h.Frictionless="F",h))(de||{}),F0={C:"Challenge",F:"Frictionless"};var W0=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var Y0=jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"0.600098",y:"0.599998",width:"10.8",height:"10.8",rx:"2.4",fill:"#1F88D0"}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74245C9.04243 3.94469 9.05652 4.2875 8.86537 4.50814L5.64586 8.22426C5.55146 8.33322 5.41909 8.39666 5.27942 8.39987C5.13975 8.40308 5.0049 8.34579 4.90612 8.24127L3.15002 6.38321C2.94999 6.17157 2.94999 5.82843 3.15002 5.61679C3.35004 5.40516 3.67435 5.40516 3.87437 5.61679L5.2522 7.07463L8.11024 3.77574C8.30138 3.55511 8.62538 3.5402 8.83391 3.74245Z",fill:"white"})]}),V0=jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"1.19998",y:"1.19998",width:"9.6",height:"9.6",rx:"1.8",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74242C9.04243 3.94467 9.05652 4.28748 8.86537 4.50811L5.64586 8.22424C5.55146 8.3332 5.41909 8.39664 5.27942 8.39985C5.13975 8.40306 5.0049 8.34577 4.90612 8.24125L3.15002 6.38318C2.94999 6.17154 2.94999 5.82841 3.15002 5.61677C3.35004 5.40513 3.67435 5.40513 3.87437 5.61677L5.2522 7.07461L8.11024 3.77571C8.30138 3.55508 8.62538 3.54018 8.83391 3.74242Z",fill:"#D2D5D8"})]});var Z0={csv:S,zip:m};
2
- export{pt as $,co as $a,pn as $b,Jn as $c,Js as $d,Vc as $e,Mp as $f,Ma as $g,_r as $h,_x as $i,Si as $j,Sd as $k,Sl as $l,Fu as $m,Pe as A,Pt as Aa,Po as Ab,g as Ac,Ss as Ad,mc as Ae,ip as Af,ia as Ag,V as Ah,Xr as Ai,Xx as Aj,Ji as Ak,Jd as Al,ql as Am,f0 as An,Oe as B,Ot as Ba,Oo as Bb,A as Bc,Cs as Bd,fc as Be,dp as Bf,da as Bg,z as Bh,ex as Bi,ei as Bj,ji as Bk,jd as Bl,Zl as Bm,p as Bn,Be as C,Bt as Ca,Bo as Cb,E as Cc,_s as Cd,Ac as Ce,lp as Cf,la as Cg,K as Ch,tx as Ci,Z as Cj,Xi as Ck,Xd as Cl,ce as Cm,E0 as Cn,Ue as D,m as Da,Uo as Db,$ as Dc,ys as Dd,Ec as De,up as Df,ua as Dg,q as Dh,ox as Di,Q as Dj,ed as Dk,el as Dl,Jl as Dm,$0 as Dn,Me as E,Ut as Ea,Mo as Eb,T as Ec,bs as Ed,$c as Ee,Ip as Ef,Ia as Eg,nr as Eh,nx as Ei,ti as Ej,td as Ek,tl as El,jl as Em,T0 as En,De as F,Mt as Fa,Do as Fb,Rn as Fc,Rs as Fd,Tc as Fe,gp as Ff,ga as Fg,sr as Fh,sx as Fi,oi as Fj,od as Fk,ol as Fl,Xl as Fm,S0 as Fn,ke as G,Dt as Ga,ko as Gb,Nn as Gc,Ns as Gd,Sc as Ge,vp as Gf,va as Gg,cr as Gh,cx as Gi,ni as Gj,nd as Gk,nl as Gl,eu as Gm,C0 as Gn,Fe as H,kt as Ha,Fo as Hb,wn as Hc,ws as Hd,Cc as He,hp as Hf,ha as Hg,pr as Hh,px as Hi,si as Hj,sd as Hk,sl as Hl,tu as Hm,_0 as Hn,Ge as I,Ft as Ia,Go as Ib,Ln as Ic,Ls as Id,_c as Ie,mp as If,ma as Ig,ar as Ih,ax as Ii,ci as Ij,cd as Ik,cl as Il,nu as Im,b0 as In,We as J,Gt as Ja,Wo as Jb,Pn as Jc,Ps as Jd,yc as Je,fp as Jf,fa as Jg,rr as Jh,rx as Ji,pi as Jj,pd as Jk,pl as Jl,cu as Jm,N0 as Jn,He as K,Wt as Ka,Ho as Kb,On as Kc,Os as Kd,bc as Ke,Ap as Kf,Aa as Kg,xr as Kh,xx as Ki,ai as Kj,ad as Kk,al as Kl,au as Km,s as Kn,Ye as L,Ht as La,Yo as Lb,Bn as Lc,Bs as Ld,Rc as Le,Ep as Lf,Ea as Lg,ir as Lh,ix as Li,ri as Lj,rd as Lk,rl as Ll,ru as Lm,O0 as Ln,Ve as M,Yt as Ma,Vo as Mb,Un as Mc,Us as Md,Nc as Me,$p as Mf,$a as Mg,dr as Mh,dx as Mi,xi as Mj,xd as Mk,xl as Ml,iu as Mm,B0 as Mn,ze as N,Vt as Na,zo as Nb,Mn as Nc,Ms as Nd,wc as Ne,Tp as Nf,Ta as Ng,lr as Nh,lx as Ni,ii as Nj,id as Nk,il as Nl,lu as Nm,M0 as Nn,Ke as O,zt as Oa,Ko as Ob,Dn as Oc,Ds as Od,Lc as Oe,Sp as Of,Sa as Og,ur as Oh,ux as Oi,di as Oj,dd as Ok,dl as Ol,Iu as Om,ie as On,qe as P,Kt as Pa,qo as Pb,kn as Pc,ks as Pd,Pc as Pe,Cp as Pf,Ca as Pg,Ir as Ph,Ix as Pi,li as Pj,ld as Pk,ll as Pl,vu as Pm,k0 as Pn,Ze as Q,qt as Qa,Zo as Qb,Fn as Qc,Fs as Qd,Oc as Qe,_p as Qf,_a as Qg,gr as Qh,gx as Qi,ui as Qj,ud as Qk,ul as Ql,mu as Qm,de as Qn,Qe as R,Zt as Ra,Qo as Rb,Gn as Rc,Gs as Rd,Bc as Re,yp as Rf,ya as Rg,vr as Rh,vx as Ri,Ii as Rj,Id as Rk,Il as Rl,Au as Rm,F0 as Rn,Je as S,Qt as Sa,Jo as Sb,Wn as Sc,Ws as Sd,Uc as Se,bp as Sf,ba as Sg,hr as Sh,hx as Si,gi as Sj,gd as Sk,gl as Sl,$u as Sm,W0 as Sn,je as T,Jt as Ta,jo as Tb,Hn as Tc,Hs as Td,Mc as Te,Rp as Tf,Ra as Tg,mr as Th,mx as Ti,vi as Tj,vd as Tk,vl as Tl,Su as Tm,Y0 as Tn,Xe as U,jt as Ua,Xo as Ub,Yn as Uc,Ys as Ud,Dc as Ue,Np as Uf,Na as Ug,fr as Uh,fx as Ui,hi as Uj,hd as Uk,hl as Ul,_u as Um,V0 as Un,et as V,Xt as Va,en as Vb,Vn as Vc,Vs as Vd,kc as Ve,wp as Vf,wa as Vg,Ar as Vh,Ax as Vi,mi as Vj,md as Vk,ml as Vl,bu as Vm,Z0 as Vn,tt as W,eo as Wa,tn as Wb,zn as Wc,zs as Wd,Fc as We,Lp as Wf,La as Wg,Er as Wh,Ex as Wi,fi as Wj,fd as Wk,fl as Wl,Nu as Wm,ot as X,to as Xa,on as Xb,Kn as Xc,Ks as Xd,Gc as Xe,Pp as Xf,Pa as Xg,$r as Xh,$x as Xi,Ai as Xj,Ad as Xk,Al as Xl,Lu as Xm,nt as Y,oo as Ya,nn as Yb,qn as Yc,qs as Yd,Wc as Ye,Op as Yf,Oa as Yg,Tr as Yh,Tx as Yi,Ei as Yj,Ed as Yk,El as Yl,Ou as Ym,st as Z,no as Za,sn as Zb,Zn as Zc,Zs as Zd,Hc as Ze,Bp as Zf,Ba as Zg,Sr as Zh,Sx as Zi,$i as Zj,$d as Zk,$l as Zl,Uu as Zm,ct as _,so as _a,cn as _b,Qn as _c,Qs as _d,Yc as _e,Up as _f,Ua as _g,Cr as _h,Cx as _i,Ti as _j,Td as _k,Tl as _l,Du as _m,e as a,at as aa,po as ab,an as ac,jn as ad,S as ae,zc as af,Dp as ag,Da as ah,yr as ai,yx as aj,Ci as ak,Cd as al,Cl as am,Wu as an,t as b,rt as ba,ao as bb,rn as bc,Xn as bd,js as be,Kc as bf,kp as bg,ka as bh,br as bi,bx as bj,_i as bk,_d as bl,_l as bm,Yu as bn,le as c,xt as ca,ro as cb,xn as cc,es as cd,Xs as ce,qc as cf,Fp as cg,Fa as ch,Rr as ci,Rx as cj,yi as ck,yd as cl,yl as cm,zu as cn,ee as d,it as da,xo as db,dn as dc,ts as dd,ec as de,Zc as df,Gp as dg,Ga as dh,Nr as di,Nx as dj,bi as dk,bd as dl,bl as dm,qu as dn,te as e,dt as ea,io as eb,ln as ec,os as ed,tc as ee,Qc as ef,Wp as eg,Wa as eh,wr as ei,wx as ej,Ri as ek,Rd as el,Rl as em,pe as en,oe as f,lt as fa,lo as fb,un as fc,ns as fd,oc as fe,Jc as ff,Hp as fg,Ha as fh,Lr as fi,Lx as fj,Ni as fk,Nd as fl,Nl as fm,Qu as fn,ue as g,ut as ga,uo as gb,In as gc,ss as gd,C as ge,jc as gf,Yp as gg,Ya as gh,Pr as gi,Px as gj,wi as gk,wd as gl,wl as gm,Ju as gn,Ie as h,It as ha,Io as hb,gn as hc,cs as hd,_ as he,Xc as hf,Vp as hg,Va as hh,Or as hi,Ox as hj,Li as hk,Ld as hl,Ll as hm,Xu as hn,ge as i,gt as ia,go as ib,vn as ic,ps as id,y as ie,N as if,zp as ig,za as ih,Br as ii,Bx as ij,Pi as ik,Pd as il,Pl as im,e0 as in,ve as j,vt as ja,vo as jb,hn as jc,as as jd,b as je,w as jf,Kp as jg,Ka as jh,Ur as ji,Ux as jj,Oi as jk,Od as jl,Ol as jm,t0 as jn,he as k,ht as ka,ho as kb,f as kc,rs as kd,R as ke,L as kf,qp as kg,qa as kh,Mr as ki,Mx as kj,Bi as kk,Bd as kl,Bl as km,n0 as kn,me as l,mt as la,mo as lb,d as lc,xs as ld,nc as le,P as lf,Zp as lg,Za as lh,Dr as li,Dx as lj,Ui as lk,Ud as ll,Ul as lm,s0 as ln,fe as m,ft as ma,fo as mb,mn as mc,is as md,sc as me,ep as mf,Qp as mg,Qa as mh,kr as mi,kx as mj,Mi as mk,Md as ml,Ml as mm,c0 as mn,Ae as n,At as na,Ao as nb,fn as nc,ds as nd,cc as ne,O as nf,Jp as ng,Ja as nh,Fr as ni,Fx as nj,Di as nk,Dd as nl,Dl as nm,p0 as nn,Ee as o,Et as oa,Eo as ob,l as oc,ls as od,pc as oe,B as of,jp as og,ja as oh,Gr as oi,Gx as oj,ki as ok,kd as ol,kl as om,a0 as on,$e as p,$t as pa,$o as pb,An as pc,us as pd,ac as pe,tp as pf,Xp as pg,Xa as ph,Wr as pi,Wx as pj,Fi as pk,Fd as pl,Fl as pm,r0 as pn,Te as q,Tt as qa,To as qb,En as qc,Is as qd,rc as qe,op as qf,ea as qg,er as qh,Hr as qi,Hx as qj,Gi as qk,Gd as ql,Gl as qm,x0 as qn,Se as r,St as ra,So as rb,$n as rc,gs as rd,xc as re,np as rf,ta as rg,tr as rh,Yr as ri,Yx as rj,Wi as rk,Wd as rl,Wl as rm,i0 as rn,Ce as s,Ct as sa,Co as sb,Tn as sc,vs as sd,ic as se,sp as sf,oa as sg,or as sh,Vr as si,Vx as sj,Hi as sk,Hd as sl,Yl as sm,l0 as sn,_e as t,_t as ta,_o as tb,Sn as tc,hs as td,dc as te,U as tf,na as tg,D as th,zr as ti,zx as tj,Yi as tk,Yd as tl,ne as tm,u0 as tn,ye as u,yt as ua,yo as ub,Cn as uc,ms as ud,lc as ue,M as uf,sa as ug,k as uh,Kr as ui,Kx as uj,Vi as uk,Vd as ul,se as um,r as un,be as v,bt as va,bo as vb,_n as vc,fs as vd,uc as ve,cp as vf,ca as vg,F as vh,qr as vi,qx as vj,zi as vk,zd as vl,n as vm,v0 as vn,Re as w,Rt as wa,Ro as wb,yn as wc,As as wd,Ic as we,pp as wf,pa as wg,G as wh,Zr as wi,Zx as wj,Ki as wk,Kd as wl,a as wm,ae as wn,Ne as x,Nt as xa,No as xb,bn as xc,Es as xd,gc as xe,ap as xf,aa as xg,W as xh,Qr as xi,Qx as xj,qi as xk,qd as xl,i as xm,re as xn,we as y,wt as ya,wo as yb,u as yc,$s as yd,vc as ye,rp as yf,ra as yg,H as yh,Jr as yi,Jx as yj,Zi as yk,Zd as yl,o as ym,h0 as yn,Le as z,Lt as za,Lo as zb,I as zc,Ts as zd,hc as ze,xp as zf,xa as zg,Y as zh,jr as zi,jx as zj,Qi as zk,Qd as zl,Kl as zm,m0 as zn};
@@ -1 +0,0 @@
1
- import {d as d$1}from'./chunk-BKQKE7RW.js';import {a}from'./chunk-CSZ3BKQ6.js';import {Jc}from'./chunk-QWAZOXVA.js';import {Bb,z}from'./chunk-DSHV2G5D.js';import {useId,useMemo,useState}from'react';import d from'@mui/material/Box';import R from'@mui/material/Skeleton';import {styled}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var b=styled(d)(({theme:e})=>({display:"flex",flexDirection:"column",borderRadius:"8px",border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.common.white,maxHeight:"232px",overflow:"auto"})),k=styled(d)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),v=styled(d,{shouldForwardProp:e=>e!=="$active"})(({$active:e})=>({display:"flex",alignItems:"center",justifyContent:"center",width:"13px",height:"13px",borderRadius:"50%",...e&&{backgroundColor:"#F2F2F2"}})),y=styled("img",{shouldForwardProp:e=>e!=="$isClear"})(({$isClear:e})=>({...e&&{backgroundColor:"#F2F2F2",borderRadius:"4px",width:"8px",height:"8px"}})),W=styled(d$1,{shouldForwardProp:e=>e!=="$hasSearchValue"})(({$hasSearchValue:e})=>({cursor:e?"pointer":"default",width:"100%",fontSize:"11px",border:"1px solid #F2F2F2",backgroundColor:"#fff","&.Mui-disabled":{backgroundColor:"#F8F8F8"}})),w=styled(a)(({theme:e})=>({backgroundColor:"#F8F8F8",fontSize:"11px",fontWeight:600,padding:"4px 8px",color:e.palette.info.dark,gap:"4px"})),A=styled(a)(()=>({fontSize:"11px",padding:"4px 8px",gap:"4px",fontWeight:400})),L=styled(R)(()=>({width:"100%",height:24}));function M({onSalesChannelChange:e,onSearchChange:h,filteredOptions:a,isLoading:P,initialSalesChannels:m,initialSalesChannelsSearch:V}){let B=Jc(useId(),"sales-channel-filter"),o=useMemo(()=>m||[],[m]),[l,u]=useState(V||""),S=t=>o.some(i=>i.id===t),s=useMemo(()=>o?.length===a.length&&a?.length>0,[o,a]),g=useMemo(()=>o?.some(t=>t.id==="blank")&&o?.length===1,[o]),x=useMemo(()=>o?.length===0||g,[g,o?.length]);return jsxs(k,{id:B,"data-testid":"SalesChannelFilter",children:[jsx(W,{$hasSearchValue:!!l,placeholder:"Search",endAdornment:!x&&jsx(v,{$active:!!l,children:jsx(y,{src:l?Bb:z,alt:"search",$isClear:!!l,onClick:()=>{u(""),h("");}})}),disabled:x,onChange:t=>{u(t.target.value),h(t.target.value);},value:l,disableUnderline:true}),jsx(b,{children:P?Array.from({length:9}).map((t,i)=>jsx(L,{variant:"rectangular"},i)):jsxs(Fragment,{children:[jsx(w,{isSelected:s,isIndeterminate:!s&&(o?.length||0)>0,onClick:t=>{t.stopPropagation(),e(s?[]:a);},children:s?"Deselect All":"Select All"}),a.map(t=>jsx(A,{isSelected:S(t.id),onClick:i=>{i.stopPropagation();let O=S(t.id)?o?.filter(D=>D.id!==t.id):[...o??[],t];e(O);},children:t?.name?.en},t.id))]})})]})}export{M as a};
@@ -1 +0,0 @@
1
- import {a}from'./chunk-CSZ3BKQ6.js';var m=a;export{m as a};
@@ -1 +0,0 @@
1
- import {Jc}from'./chunk-QWAZOXVA.js';import {Jc as Jc$1}from'./chunk-DSHV2G5D.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=Jc(useId(),"error");return jsxs(e,{...i,id:n,"data-testid":"Error",children:[jsx("img",{src:Jc$1,alt:"w"}),r]})}var p=memo(l);var k=p;export{k as a};
@@ -1 +0,0 @@
1
- import {c,b,g}from'./chunk-ONOCM5IO.js';import {a}from'./chunk-LI36HMPN.js';import {Jc}from'./chunk-QWAZOXVA.js';import {zb,z as z$1,Re}from'./chunk-DSHV2G5D.js';import {memo,useId,useState,useEffect,useRef}from'react';import {styled,Box,TextField,Button,Typography,FormControl,InputLabel,Select,MenuItem}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import L from'@mui/material/Box';import ve from'@mui/material/ClickAwayListener';import Be from'@mui/material/Popper';import W from'@mui/material/Skeleton';import {styled as styled$1}from'@mui/material/styles';import {useFormContext,Controller}from'react-hook-form';var K=styled(Box)(()=>({display:"flex",flexDirection:"column",gap:"4px",width:"100%",height:40,"& *":{flex:1,margin:"0px !important"}})),y=styled(TextField,{shouldForwardProp:e=>!["hasError","feedbackType","hasFeedback","hideArrows"].includes(e)})(({theme:e,hasError:n,feedbackType:o,hasFeedback:a,hideArrows:t})=>{let{borderColor:i}=c(e,o),l=a?"4px 4px 0 0":"4px",m="#F2F2F2";return o&&(m=i),n&&!o&&(m=e.palette.error.main),{"& .MuiFormLabel-asterisk":{color:"red"},"& .MuiInputBase-root":{maxHeight:"40px !important",alignItems:"flex-end !important"},"& fieldset":{border:"1px solid red"},"&:hover fieldset":{border:"1px solid green"},"&.Mui-focused fieldset":{border:"1px solid blue"},border:`1px solid ${m}`,borderBottom:a?"none":void 0,borderRadius:l,"& .MuiInputBase-input":{margin:"0px !important",padding:"0px !important",color:"#20232B !important",fontSize:"11px !important",fontStyle:"normal !important",fontWeight:"500 !important",lineHeight:"130% !important"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(0, 8px) scale(1)"},".MuiFormLabel-root.MuiFormLabel-filled, .MuiFormLabel-root.MuiInputLabel-shrink":{transform:"translate(0, -1.5px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(0, -1.5px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"},...t&&{"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}}}}),U=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"}));var V=styled("div")(()=>({position:"relative",display:"flex",justifyContent:"flex-end",alignItems:"center"})),O=styled(y)(({theme:e})=>({fontSize:"11px",lineHeight:"11px",color:e.palette.common.black,borderRadius:"5px",boxShadow:"0px 0px 6px 0px rgba(0, 0, 0, 0.11);",padding:"4px 8px",height:"32px",border:"none",outline:"none",width:"100%","&:focus":{border:"1px solid #1F88D0"}})),G=styled(Button)(({theme:e})=>({display:"flex",height:"24px",padding:"8px",justifyContent:"center",alignItems:"center",gap:"8px",backgroundColor:e.palette.divider,color:e.palette.grey[700],fontSize:"9px",fontWeight:500,textTransform:"none",position:"absolute",right:4,opacity:"1 !important",top:4,borderRadius:"4px"}));function P(e){let n=Jc(useId(),"file-input"),o=useRef(null);return jsxs(Fragment,{children:[jsxs(V,{id:n,"data-testid":"InputContainer",children:[jsx(O,{value:o.current?.files?.[0]?.name||"",...e}),jsx(G,{onClick:()=>{o.current?.click();},children:"Browse"})]}),jsx("input",{type:"file",ref:o,style:{display:"none"}})]})}var Ce=P;var Q=styled$1("button")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),X=styled$1(L)(({theme:e})=>({backgroundColor:e.palette.common.white,padding:"4px 8px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,width:100})),Y=styled$1("ul")(()=>({listStyle:"none",padding:0,margin:0,maxHeight:100,overflow:"auto"})),Z=styled$1("li")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),j=styled$1(a)(()=>({height:24,padding:"4px",marginBottom:"4px"})),ee=styled$1(L)(()=>({color:"red !important"}));styled$1("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"}));var te=styled$1(L)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,display:"flex",position:"relative",paddingInline:"8px",alignItems:"center",borderRadius:"4px",height:"40px"})),oe=styled$1(a,{shouldForwardProp:e=>e!=="error"})(({error:e})=>({img:{cursor:"pointer"},...e&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"none"}}));function Pe({defaultCountry:e,value:n,onChangeCountry:o,required:a,countries:t=[],isLoading:i=false}){let l=Jc(useId(),"countries-dropdown"),[m,g]=useState(null),[b,u]=useState([]),[S,D]=useState(),ue=()=>{if(t&&e){let r=t.find(c=>c.iso2===e);r&&o?.(r);}};useEffect(()=>{u(t||[]),ue();},[t]);let A=!!m,ce=r=>{r.stopPropagation(),g(r.currentTarget);},N=()=>{g(null),D(void 0);},xe=r=>{o?.(r),N(),u(t);},fe=r=>{let c=Number(r.target.value);if(D(c),!c){u(t);return}u(t.filter(ge=>ge.idd_prefix.toString().startsWith(c.toString())));};return i?jsx(W,{variant:"rectangular",width:56.5,height:20,sx:{borderRadius:"4px"}}):jsx(ve,{onClickAway:N,children:jsxs(L,{id:l,"data-testid":"CountriesCode",sx:{position:"relative"},children:[jsxs(Q,{type:"button",onClick:ce,sx:{backgroundColor:"transparent",border:"none",height:34},children:[n?.logo?jsx("img",{src:n.logo,alt:"c",className:"logo"}):jsx(W,{variant:"rectangular",className:"logo"}),jsx("span",{children:`+${n?.idd_prefix}`}),a&&jsx(ee,{component:"span",children:"*"}),jsx(L,{component:"img",src:zb,alt:"d",className:"arrow",sx:{...A&&{transform:"rotate(180deg)"}}})]}),jsx(Be,{open:A,anchorEl:m,children:jsxs(X,{component:"article","data-testid":"CountriesWrapper",children:[jsx(j,{endAdornment:jsx("img",{src:z$1,alt:"arrow"}),onChange:fe,value:S,hideArrows:true}),jsx(Y,{children:b.map(r=>jsxs(Z,{onClick:()=>{xe(r);},children:[r.logo?jsx("img",{src:r.logo,alt:"c",className:"logo"}):jsx(W,{variant:"rectangular",className:"logo"}),jsx("span",{children:`+${r.idd_prefix}`})]},`country-code-${r.countryId}`))})]})})]})})}var ne=memo(Pe);var Le=ne;function E(e){let n=Jc(useId(),"inputs-input"),{control:o}=useFormContext();return jsx(Controller,{name:e.name,control:o,render:({field:a,fieldState:{error:t}})=>{let i=e.feedback!==void 0&&e.feedback!==null,l=b(e.feedback),m=e.label??e.placeholder,g$1=e.label&&typeof e.placeholder=="string"?e.placeholder:void 0,b$1=t?.message??e.helperText,u=!i&&b$1?jsx(U,{children:b$1}):null,S=l?jsx(g,{...l}):null;return jsxs(Box,{sx:{display:"flex",alignItems:"stretch",height:"100%",flexDirection:"column",flex:1},children:[jsx(K,{id:n,"data-testid":"InputWrapper",children:jsx(y,{rows:1,hasError:(!!t?.message||!!e.error)&&!i,hasFeedback:!!l,feedbackType:l?.type,...a,variant:"standard",label:m,placeholder:g$1,size:"small",required:e.required,fullWidth:true,InputProps:{disabled:e.disabled,disableUnderline:true,...e.InputProps,sx:{fontSize:"11px",height:"40px",padding:"8px",borderRadius:l?"4px 4px 0 0":"4px",...e.InputProps?.sx},endAdornment:e?.InputProps?.endAdornment},InputLabelProps:{...e.InputLabelProps,sx:{color:"#8D8D94 !important",fontSize:"11px",padding:"8px",...e.InputLabelProps?.sx}},sx:e?.sx,disabled:e?.disabled,focused:e?.focused,type:e?.type,hideArrows:e?.hideArrows,onKeyDown:e?.onKeyDown})}),u,S]})}})}var H=E;var pe=styled("img")(()=>({width:"12px",height:"12px",marginRight:"4px"})),le=styled("div")(({theme:e})=>({display:"flex",alignItems:"center",color:`${e.palette.custom[500]}`,fontSize:"10px",padding:"8px 12px",background:"#FF000026",borderRadius:"0 0 4px 4px",borderTop:"none",height:"32px"}));function T({showSearchIcon:e=true,error:n,errorMessage:o,feedback:a,...t}){let i=Jc(useId(),"search-input"),l=!!(n&&o&&!a);return jsxs(Box,{id:i,"data-testid":"SearchInput",children:[jsx(H,{InputProps:{endAdornment:!t.disabled&&e&&jsx(Box,{component:"img",maxWidth:"16px",maxHeight:"16px",src:z$1,alt:"search"}),sx:{...l&&{border:"1px solid #FF000026",borderBottom:"none",borderRadius:"4px 4px 0 0"}},...t.InputProps},sx:{...l&&{border:"1px solid #FF000026",borderBottom:"none",borderRadius:"4px 4px 0 0"}},feedback:a,error:n,...t}),l&&jsxs(le,{children:[jsx(pe,{src:Re}),jsx(Typography,{color:"red",fontSize:"10px",children:o})]})]})}var Ae=T;function z(e){let n=Jc(useId(),"inputs-select"),{control:o}=useFormContext();return jsx(Controller,{name:e.name,control:o,render:({field:a,fieldState:{error:t}})=>jsxs(Box,{id:n,"data-testid":"InputsSelect",sx:{display:"flex",alignItems:"stretch",height:"100%",flexDirection:"column",flex:1},children:[jsxs(FormControl,{variant:"filled",sx:{minWidth:52,height:"40px !important",maxHeight:"40px !important",width:"100%","& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)"},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}},required:e.required,children:[jsx(InputLabel,{id:"demo-simple-select-filled-label",sx:{fontSize:"11px",color:"#8D8D94 !important"},children:e.label}),jsx(Select,{inputProps:{sx:{backgroundColor:"#F9F9F9 !important",borderRadius:"4px",fontSize:"11px"}},...a,value:a.value??"",error:!!t,disableUnderline:true,required:true,labelId:"demo-simple-select-filled-label",id:"demo-simple-select-filled",sx:{width:"100%",height:"40px !important",maxHeight:"40px !important",borderRadius:"4px",overflow:"hidden",".MuiSelect-select":{padding:"0px 8px !important",height:"40px !important",maxHeight:"40px !important",display:"flex",alignItems:"flex-end !important"},".MuiSelect-filled":{padding:"0px 8px !important"},...t&&{border:"1px solid #FF3D00"}},children:(e.options||[]).map(i=>jsx(MenuItem,{value:i.value??"",sx:{fontSize:"12px"},children:i.label},i.value??""))})]}),t?.message&&jsx(Box,{component:"small",sx:i=>({color:i.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"}),children:t.message})]})})}var Oe=z;export{Ce as a,te as b,oe as c,Le as d,H as e,Ae as f,Oe as g};
@@ -1 +0,0 @@
1
- import {pj,nj,lj,ij,_i,aj,qj,Zi,Yi,oj,Bg,pb,bj,nb,cj,ej,fj,kj,jj,dj}from'./chunk-DSHV2G5D.js';var b={ABANDONED:Bg,IN_PROGRESS:qj,VOID:oj,CANCELLED:Yi,CAPTURED:Zi,INITIATED:qj,FAILED:aj,DECLINED:_i,RESTRICTED:ij,TIMEDOUT:lj,UNKNOWN:nj,AUTHORIZED:pj},C={UNKNOWN:{gatewayIcon:bj,acquirerIcon:pb,color:"#FF7A00",background:"#FF7A001A"},TIMEDOUT:{gatewayIcon:bj,acquirerIcon:pb,color:"#FF7A00",background:"#FFF3E5"},FAILED:{gatewayIcon:bj,acquirerIcon:pb,color:"#FF7A00",background:"#FFF3E5"},DECLINED:{gatewayIcon:cj,acquirerIcon:nb,color:"#FF3D00",background:"#FFEAE5"},RESTRICTED:{gatewayIcon:cj,acquirerIcon:nb,color:"#FF3D00",background:"#FFEAE5"},ABANDONED:{gatewayIcon:bj,acquirerIcon:pb,color:"#FFD600",background:"#FFFBE5"},CANCELLED:{gatewayIcon:bj,acquirerIcon:pb,color:"#FFD600",background:"#FFFBE5"},INITIATED:{color:"#8D8D94",background:"transparent",gatewayIcon:bj,acquirerIcon:pb}},R={PENDING:fj,REFUNDED:ej},S={PENDING:{color:"#FF7A00",backgroundColor:"#FF7A000D"},REFUNDED:{color:"#4E1FD0",backgroundColor:"#4E1FD00D"}},O={PAID_OUT:dj,SETTLED:jj,PENDING:kj},k={AUTHORIZED:pj},w={CAPTURED:{color:"#1F88D0",background:"#1F88D00D"}};export{b as a,C as b,R as c,S as d,O as e,k as f,w as g};