@tap-payments/os-micro-frontend-shared 0.3.199 → 0.3.201

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 (201) hide show
  1. package/build/_chunks/{chunk-2UE35TIU.js → chunk-2KZCGQ2J.js} +1 -1
  2. package/build/_chunks/chunk-2OTSLKKQ.js +1 -0
  3. package/build/_chunks/{chunk-PTLEH5QC.js → chunk-2SEM6V2E.js} +1 -1
  4. package/build/_chunks/{chunk-NXHZMUHX.js → chunk-2VUXVEP7.js} +1 -1
  5. package/build/_chunks/{chunk-YYHBNKPF.js → chunk-36PFADPE.js} +1 -1
  6. package/build/_chunks/{chunk-DSS6DKAJ.js → chunk-3JVG47JU.js} +1 -1
  7. package/build/_chunks/{chunk-4UESUTQ3.js → chunk-3MDX5OYC.js} +1 -1
  8. package/build/_chunks/{chunk-ZNFO7RVR.js → chunk-4IYJOL5M.js} +1 -1
  9. package/build/_chunks/{chunk-K7YT6I6Z.js → chunk-4VFYFG3T.js} +1 -1
  10. package/build/_chunks/{chunk-ICIEVSK6.js → chunk-4WRWJH73.js} +1 -1
  11. package/build/_chunks/{chunk-JFD456Y4.js → chunk-64UZTZD2.js} +1 -1
  12. package/build/_chunks/{chunk-VBBBGDJR.js → chunk-6JTFF3VW.js} +1 -1
  13. package/build/_chunks/{chunk-6XECEWPN.js → chunk-6PC37PPT.js} +1 -1
  14. package/build/_chunks/{chunk-XSPSZMRL.js → chunk-7PRJUDGP.js} +1 -1
  15. package/build/_chunks/{chunk-JBCDII7Y.js → chunk-7S3N5ORJ.js} +1 -1
  16. package/build/_chunks/{chunk-YBD5IHPY.js → chunk-ALEWQKNK.js} +1 -1
  17. package/build/_chunks/{chunk-SQ4J2HHV.js → chunk-ATIIYEYN.js} +1 -1
  18. package/build/_chunks/{chunk-74MOID4D.js → chunk-B7FSN6KR.js} +1 -1
  19. package/build/_chunks/{chunk-AIKY3BXO.js → chunk-BOQMO6XZ.js} +1 -1
  20. package/build/_chunks/{chunk-A4Y3L4EM.js → chunk-DWGQIGE4.js} +1 -1
  21. package/build/_chunks/{chunk-L5SXTPQF.js → chunk-EILZ7V32.js} +1 -1
  22. package/build/_chunks/chunk-EKVX2K2J.js +1 -0
  23. package/build/_chunks/{chunk-P2W2PE7V.js → chunk-FCPQ7FTN.js} +1 -1
  24. package/build/_chunks/{chunk-NUTKGLKP.js → chunk-FUHQHDFU.js} +2 -2
  25. package/build/_chunks/{chunk-GFDU6L5X.js → chunk-FWVZQRRW.js} +1 -1
  26. package/build/_chunks/{chunk-QZDGNK3H.js → chunk-GRRYGOCE.js} +1 -1
  27. package/build/_chunks/{chunk-AQI2GP5C.js → chunk-GSWC2HT3.js} +1 -1
  28. package/build/_chunks/{chunk-VTAEL4NV.js → chunk-HFSQR3AV.js} +1 -1
  29. package/build/_chunks/{chunk-HK574PGH.js → chunk-HGQNAGSV.js} +1 -1
  30. package/build/_chunks/{chunk-AI76WNMU.js → chunk-HKH2SAJZ.js} +1 -1
  31. package/build/_chunks/{chunk-CVEKXQG7.js → chunk-HTLKVSJT.js} +2 -2
  32. package/build/_chunks/{chunk-WIA7MI5M.js → chunk-IK4ZSYGL.js} +1 -1
  33. package/build/_chunks/{chunk-6RKOTFJV.js → chunk-IUQKBIXU.js} +1 -1
  34. package/build/_chunks/{chunk-Q2YO46BR.js → chunk-IVDDMAXY.js} +1 -1
  35. package/build/_chunks/{chunk-PV7BHBTQ.js → chunk-IY2CABAN.js} +1 -1
  36. package/build/_chunks/{chunk-5L3U4XWW.js → chunk-J7YLPBTX.js} +1 -1
  37. package/build/_chunks/{chunk-Z5J75KNQ.js → chunk-JGEMCA56.js} +1 -1
  38. package/build/_chunks/{chunk-AFZVO2FX.js → chunk-K5DZ7DWN.js} +1 -1
  39. package/build/_chunks/{chunk-SAUGPBSF.js → chunk-KOPV7LFW.js} +1 -1
  40. package/build/_chunks/{chunk-APMAMMOZ.js → chunk-L4MAU66Y.js} +1 -1
  41. package/build/_chunks/{chunk-SS3YHZOA.js → chunk-L6IHJID2.js} +1 -1
  42. package/build/_chunks/{chunk-ON7MQW7I.js → chunk-LE6FVEAN.js} +1 -1
  43. package/build/_chunks/{chunk-CPXBAREN.js → chunk-LV5UGVUC.js} +1 -1
  44. package/build/_chunks/{chunk-6TENNXVH.js → chunk-LVMXAYG4.js} +1 -1
  45. package/build/_chunks/{chunk-XUYSRIOL.js → chunk-M4VH4PEZ.js} +1 -1
  46. package/build/_chunks/chunk-M5HS3EYQ.js +2 -0
  47. package/build/_chunks/{chunk-LDZ2KGF6.js → chunk-MIWTFNVW.js} +1 -1
  48. package/build/_chunks/{chunk-IK4NIWK3.js → chunk-MMEZVNEQ.js} +1 -1
  49. package/build/_chunks/{chunk-RJ3MWXX7.js → chunk-MOX5HIJO.js} +1 -1
  50. package/build/_chunks/chunk-MUIVC4CL.js +1 -0
  51. package/build/_chunks/chunk-NMEWWAMB.js +2 -0
  52. package/build/_chunks/{chunk-SM5W367U.js → chunk-OLWGUR2Y.js} +1 -1
  53. package/build/_chunks/{chunk-TZCPVIH4.js → chunk-P2H74WSQ.js} +1 -1
  54. package/build/_chunks/{chunk-64YP7EIR.js → chunk-P76XOTCB.js} +1 -1
  55. package/build/_chunks/{chunk-SVCHQL7X.js → chunk-PHFROICE.js} +1 -1
  56. package/build/_chunks/{chunk-5KZPTTXQ.js → chunk-PTLDMQUB.js} +1 -1
  57. package/build/_chunks/{chunk-WDJPGLUC.js → chunk-QIXGNSMS.js} +1 -1
  58. package/build/_chunks/{chunk-WCEIDCEK.js → chunk-R4DKHM5B.js} +2 -2
  59. package/build/_chunks/{chunk-R6ZVSLSQ.js → chunk-RGAQ3SMH.js} +1 -1
  60. package/build/_chunks/{chunk-RTHMIFP4.js → chunk-RWAHMAFU.js} +1 -1
  61. package/build/_chunks/{chunk-Y4LVUCON.js → chunk-RZQR6OKW.js} +1 -1
  62. package/build/_chunks/{chunk-OSRQZQQZ.js → chunk-SCP6HRIN.js} +1 -1
  63. package/build/_chunks/{chunk-AVQUPT7Q.js → chunk-SSNINCVE.js} +1 -1
  64. package/build/_chunks/{chunk-L75MJYKH.js → chunk-T6KF6EB7.js} +1 -1
  65. package/build/_chunks/{chunk-ZNSPCRMR.js → chunk-TFM77CT6.js} +1 -1
  66. package/build/_chunks/{chunk-7K5742TG.js → chunk-TPW4MNF2.js} +1 -1
  67. package/build/_chunks/{chunk-TIBNT63K.js → chunk-UWRIO72X.js} +1 -1
  68. package/build/_chunks/{chunk-OIYAGPBM.js → chunk-V4IMVJZP.js} +1 -1
  69. package/build/_chunks/{chunk-UHFA7Y4Y.js → chunk-WVIZJXME.js} +1 -1
  70. package/build/_chunks/{chunk-JKCOX623.js → chunk-WXGLLZB3.js} +1 -1
  71. package/build/_chunks/{chunk-PDXWQNZW.js → chunk-XFKIRVNC.js} +1 -1
  72. package/build/_chunks/{chunk-JCC5EN6X.js → chunk-XGQCJ7GJ.js} +1 -1
  73. package/build/_chunks/{chunk-MX6II55S.js → chunk-XGZGBCXK.js} +1 -1
  74. package/build/_chunks/{chunk-NGNDLXSN.js → chunk-XRPWK6RS.js} +1 -1
  75. package/build/_chunks/{chunk-OCW4NMSW.js → chunk-Y3D6D36R.js} +1 -1
  76. package/build/_chunks/chunk-YK63ONAG.js +1 -0
  77. package/build/_chunks/{chunk-ACJNCTJ4.js → chunk-YVGH7DI7.js} +1 -1
  78. package/build/_chunks/{chunk-7KVWQHNV.js → chunk-Z3FZSJZZ.js} +1 -1
  79. package/build/_chunks/{chunk-65DHLOE2.js → chunk-ZDBICST5.js} +1 -1
  80. package/build/_chunks/{chunk-GJYXQOBC.js → chunk-ZQ6GJ4H5.js} +1 -1
  81. package/build/components/ActionMenu/index.js +1 -1
  82. package/build/components/ActionsDropdownMenu/index.js +1 -1
  83. package/build/components/ActiveFilterChip/index.js +1 -1
  84. package/build/components/ActivityAreaChart/index.js +1 -1
  85. package/build/components/AmountConversionFilter/index.js +1 -1
  86. package/build/components/AmountInput/index.js +1 -1
  87. package/build/components/AmountSlider/index.js +1 -1
  88. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  89. package/build/components/AppServices/index.js +1 -1
  90. package/build/components/AppServicesBar/index.js +1 -1
  91. package/build/components/AppWindowWrapper/index.js +1 -1
  92. package/build/components/Autocomplete/index.js +1 -1
  93. package/build/components/BrandLogo/index.js +1 -1
  94. package/build/components/Calender/index.js +1 -1
  95. package/build/components/CardEmptyState/index.js +1 -1
  96. package/build/components/ChipStack/index.js +1 -1
  97. package/build/components/ColorPicker/index.js +1 -1
  98. package/build/components/ColumnViews/index.js +1 -1
  99. package/build/components/ConfirmDialog/index.js +1 -1
  100. package/build/components/CountryFilter/index.js +1 -1
  101. package/build/components/CountryFlag/index.js +1 -1
  102. package/build/components/CurrencyAmount/index.js +1 -1
  103. package/build/components/CurrencyFilter/index.js +1 -1
  104. package/build/components/CurrencySymbol/index.js +1 -1
  105. package/build/components/CustomBackdrop/index.js +1 -1
  106. package/build/components/Customer/index.js +1 -1
  107. package/build/components/DateFilter/index.js +1 -1
  108. package/build/components/DeviceIcon/index.js +1 -1
  109. package/build/components/Discount/index.js +1 -1
  110. package/build/components/DisplayAmount/index.js +1 -1
  111. package/build/components/Dropdown2/index.js +1 -1
  112. package/build/components/DropdownMenu/index.js +1 -1
  113. package/build/components/Error/index.js +1 -1
  114. package/build/components/ErrorToast/index.js +1 -1
  115. package/build/components/ExpandableSideBar/index.js +1 -1
  116. package/build/components/FileInputPreview/index.js +1 -1
  117. package/build/components/FilePreview/index.js +1 -1
  118. package/build/components/FileUpload/index.js +1 -1
  119. package/build/components/FileUploader/index.js +1 -1
  120. package/build/components/FilterDropdown/index.js +1 -1
  121. package/build/components/Filters/index.js +1 -1
  122. package/build/components/FlippingCard/index.js +1 -1
  123. package/build/components/HeatMap/index.js +1 -1
  124. package/build/components/IconWithBadge/index.js +1 -1
  125. package/build/components/Input/index.js +1 -1
  126. package/build/components/InputBase/index.js +1 -1
  127. package/build/components/InputNumber/index.js +1 -1
  128. package/build/components/Inputs/index.js +1 -1
  129. package/build/components/JSONViewer/index.js +1 -1
  130. package/build/components/LanguageDropdown/index.js +1 -1
  131. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  132. package/build/components/ListColumnFilter/index.js +1 -1
  133. package/build/components/ListHeader/index.js +1 -1
  134. package/build/components/ListLayout/index.js +1 -1
  135. package/build/components/Loader/index.js +1 -1
  136. package/build/components/MFWidgetLoader/index.js +1 -1
  137. package/build/components/MaskedText/index.js +1 -1
  138. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  139. package/build/components/MerchantLogo/index.js +1 -1
  140. package/build/components/MerchantsDropdown/index.js +1 -1
  141. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  142. package/build/components/NestedDropdown/index.js +1 -1
  143. package/build/components/NestedMultiSelect/index.js +1 -1
  144. package/build/components/NoInternet/index.js +1 -1
  145. package/build/components/OpenFileInNewTab/index.js +1 -1
  146. package/build/components/PartnersFilter/index.js +1 -1
  147. package/build/components/PaymentSourceFilter/index.js +1 -1
  148. package/build/components/PhoneFilter/index.js +1 -1
  149. package/build/components/ProgressRing/index.js +1 -1
  150. package/build/components/RFH/index.js +1 -1
  151. package/build/components/RadioGroup/index.js +1 -1
  152. package/build/components/RangeCalender/index.js +1 -1
  153. package/build/components/RatingCount/index.js +1 -1
  154. package/build/components/ReceiptsViewer/index.js +1 -1
  155. package/build/components/ReferenceTypeFilter/index.js +1 -1
  156. package/build/components/ResizableHeightInput/index.js +1 -1
  157. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  158. package/build/components/SalesChannelFilter/index.js +1 -1
  159. package/build/components/SearchButton/index.js +1 -1
  160. package/build/components/SearchListInput/index.js +1 -1
  161. package/build/components/SelectDropdown/index.js +1 -1
  162. package/build/components/SheetViewChip/index.js +1 -1
  163. package/build/components/StatusBar/index.js +1 -1
  164. package/build/components/StatusButton/index.js +1 -1
  165. package/build/components/StatusFilter/index.js +1 -1
  166. package/build/components/StatusIcons/index.js +1 -1
  167. package/build/components/StatusLabel/index.js +1 -1
  168. package/build/components/TableCells/index.js +1 -1
  169. package/build/components/TableReports/index.js +1 -1
  170. package/build/components/Timepicker/index.js +1 -1
  171. package/build/components/Toaster/index.js +1 -1
  172. package/build/components/ToggleView/index.js +1 -1
  173. package/build/components/Toolbar/index.js +1 -1
  174. package/build/components/ToolbarIcon/index.js +1 -1
  175. package/build/components/TreeDropdown/index.js +1 -1
  176. package/build/components/VAT/index.js +1 -1
  177. package/build/components/VerificationIcon/index.js +1 -1
  178. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  179. package/build/components/VirtualTables/index.js +1 -1
  180. package/build/components/Widget/index.js +1 -1
  181. package/build/components/Window/index.js +1 -1
  182. package/build/components/WindowAppIcon/index.js +1 -1
  183. package/build/components/WindowSideBar/index.js +1 -1
  184. package/build/components/index.js +1 -1
  185. package/build/components/primitives/index.js +1 -1
  186. package/build/constants/apps.d.ts +0 -3
  187. package/build/constants/assets.d.ts +1 -2
  188. package/build/constants/index.js +1 -1
  189. package/build/hooks/index.js +1 -1
  190. package/build/index.js +1 -1
  191. package/build/types/account.d.ts +1 -1
  192. package/build/types/index.js +1 -1
  193. package/build/utils/country.d.ts +1 -0
  194. package/build/utils/index.js +1 -1
  195. package/package.json +1 -1
  196. package/build/_chunks/chunk-3B4WT3AY.js +0 -1
  197. package/build/_chunks/chunk-E7VBBAFI.js +0 -2
  198. package/build/_chunks/chunk-IVYSMKLW.js +0 -1
  199. package/build/_chunks/chunk-JJ5UUOVE.js +0 -1
  200. package/build/_chunks/chunk-QMBLENVJ.js +0 -1
  201. package/build/_chunks/chunk-UVKRET3U.js +0 -2
@@ -1 +0,0 @@
1
- import {yc}from'./chunk-QMBLENVJ.js';import {Pj,j,m as m$1}from'./chunk-UVKRET3U.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {jsx}from'react/jsx-runtime';function g({countryCode:o,currencyCode:t,...n}){let l=yc(useId(),"country-flag");return jsx(d,{...n,id:l,"data-testid":"CountryFlag",component:"img",src:o&&j(o)||t&&m$1(t)||Pj,width:n.width||16,alt:o??t??"flag",loading:"lazy",onError:u=>{u.currentTarget.src=Pj;}})}g.displayName="CountryFlag";var m=memo(g);var h=m;export{h as a};
@@ -1 +0,0 @@
1
- import {f as f$1,b,c as c$2,e as e$1,d,a as a$3}from'./chunk-AIKY3BXO.js';import {a as a$1,b as b$1,c as c$1}from'./chunk-64YP7EIR.js';import {a}from'./chunk-JFD456Y4.js';import {e,f,R,V,j,x}from'./chunk-MX6II55S.js';import {c,s}from'./chunk-TZCPVIH4.js';import {a as a$2}from'./chunk-74MOID4D.js';import {Sa,Rb,mb,gc,hc,ic,Ob,Qb,Pb,rc,Ta,Xa as Xa$1,na,e as e$2,ma}from'./chunk-QMBLENVJ.js';import {ni as ni$1,ti,ck,vi as vi$1,Ra,Da,Ea,Fa,Sh,Pn as Pn$1,ai as ai$1,$h,wi,A as A$1,F}from'./chunk-UVKRET3U.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 Vl from'memoize-one';import Ll from'react-virtualized-auto-sizer';import kl from'react-window-infinite-loader';import Ce from'@mui/material/Box';import Ni from'@mui/material/Popper';import Hi from'lodash/values';import {useTranslation}from'react-i18next';import vi from'@mui/material/Button';import {jsxs,Fragment,jsx}from'react/jsx-runtime';import {TableCell,Button,styled as styled$1,Box}from'@mui/material';import ua from'@mui/material/TableRow';import {motion}from'framer-motion';import {VariableSizeList,areEqual}from'react-window';import Ca from'@mui/material/TableHead';import Aa from'lodash/uniqueId';import va from'@mui/material/Skeleton';import Ma from'@mui/material/TableCell';import {createPortal}from'react-dom';var Or=e=>({backgroundColor:e.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",width:a$3,marginTop:"10px",boxShadow:e.shadows[3]}),Nr=styled(Ce)(({theme:e})=>({color:e.palette.grey[700],fontSize:"11px",fontWeight:500,padding:"8px 16px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`})),$r=styled(a)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,".icon":{width:14}})),Ur=styled(Ce)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}})),Xr=styled(vi)(({theme:e})=>({color:e.palette.info.dark,fontSize:"11px",textTransform:"capitalize",padding:"4px 9px",minWidth:"auto","&:hover":{background:"transparent"}})),jr=styled(Ce)(({theme:e})=>({padding:"0 16px 8px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`}));function zi({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((S,{apiKey:g})=>({...S,[g]:r?.[g]??""}),{}));},[]);let{t:d$1}=useTranslation(),u=()=>{o?.(i);},c=s(u,e),T=S=>{u(),e(S);},m=S=>{e(S);},b=()=>{a?.(),p(t.reduce((S,{apiKey:g})=>({...S,[g]:""}),{}));},f=S=>i[S]!==void 0&&i[S].length>0,x$1=S=>i[S]!==void 0&&i[S].length?i[S]:"",h=S=>{f(S)&&p({...i,[S]:""});},y=useMemo(()=>Hi(i).some(S=>!!S),[i]),w=useCallback(S=>t.find(g=>g.apiKey===S),[t]),I=useCallback((S,g)=>{let R=i?.[S]!==void 0&&i?.[S]!==""&&i?.[S]!==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:S=>({...Or(S),...Object.assign({},...[s$1].flat().filter(g=>g&&typeof g=="object"))}),onKeyDown:c,children:[jsx(Nr,{component:"header","data-testid":"ColumnFilterInputs_title",children:d$1("filterBy")}),jsx(Ur,{"data-testid":"ColumnFilterInputs_inputs",component:"main",sx:l,children:t.map(({placeholder:S,apiKey:g,isDisabled:R,filterGroup:k,render:C})=>jsx(Fragment$1,{children:C?C():jsx($r,{className:"input","data-testid":"ColumnFilterInputs_InputStyled",name:g,placeholder:S,onChange:v=>{p({...i,[g]:v.target.value});},disabled:R||I(g,k),value:x$1(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)?wi:A$1,alt:"search",className:"icon",sx:{cursor:f(g)?"pointer":"default"},onClick:()=>{h(g);}})})},g))}),jsx(x,{in:y,component:"section","data-testid":"ColumnFilterInputs_Collapse",sx:{borderTop:"0"},children:jsx(jr,{"data-testid":"ColumnFilterInputs_ClearWrapper",children:jsx(Xr,{type:"button",onClick:b,"data-testid":"ColumnFilterInputs_ClearButton",children:d$1("clear")})})}),jsxs(c$2,{component:"footer","data-testid":"ColumnFilterInputs_footer",children:[jsx(e$1,{type:"button",onClick:m,"data-testid":"ColumnFilterInputs_CancelButton",children:d$1("cancel")}),jsx(d,{type:"button",onClick:T,"data-testid":"ColumnFilterInputs_OkayButton",children:d$1("okay")})]})]})}var Yr=zi;var ht=Yr;function $i(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(f$1,{onCloseDropdown:l,filter:e});if(e.type==="inputs")return jsx(ht,{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(b,{children:[jsx(Ce,{component:"img","data-testid":"ColumnFilter_whiteFilterIcon",src:vi$1,alt:"filter-icon",sx:{marginInlineEnd:"2px",height:6}}),jsx(Ce,{component:"img","data-testid":"ColumnFilter_closeIcon",src:Ra,alt:"close-icon",onClick:u=>{u.stopPropagation(),o(null),e.onClear(p);}})]}):jsx(Ce,{component:"img","data-testid":"ColumnFilter_columnIcon",src:Da,alt:"column-icon",sx:{marginTop:"2px",userSelect:"none",opacity:a?.5:1}}),i&&jsx(a$2,{onClick:l}),jsx(Ni,{open:i,anchorEl:t,placement:"bottom-start",children:jsx("div",{ref:s,tabIndex:-1,style:{outline:"none"},children:d})})]})}var Qr=memo($i);var Ge=Qr;var Qt=styled("img")(()=>({width:"13.3px",height:"13.3px"})),tn=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer"}));function qi({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(tn,{onClick:s,src:Da,alt:"column-icon","data-id":o,sx:{userSelect:"none",marginTop:"2px"}}),l&&jsx(a$2,{onClick:i}),jsxs(R,{anchorEl:n,open:l,children:[jsxs(V,{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(Qt,{src:Ea,alt:"sort-icon"}),jsx(j,{sx:{fontSize:"0.6875rem"},children:"Sort A-Z"})]}),jsxs(V,{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(Qt,{src:Fa,alt:"sort-icon"}),jsx(j,{sx:{fontSize:"0.6875rem"},children:"Sort Z-A"})]})]})]})}var on=memo(qi);var xt=on;var nn=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})]}));nn.displayName="VirtualScrollInner";var eo=nn;var Ct=createContext(null);var to=({children:e,value:t})=>jsx(Ct.Provider,{value:t,children:e});var an=ze.forwardRef(({onScroll:e,children:t,...o},r)=>{let n=useContext(Ct);return jsx("div",{className:"VirtualScrollOuter",onScroll:n,ref:r,...o,children:t})});an.displayName="VirtualScrollOuter";var oo=an;function aa({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 ln=aa;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}=ln({setBackdropVisibility:o,clearBackdropVisibilityTimeout:l}),c=useRef(0),T=useRef(void 0),m=useRef(false),b=useRef(null),f=i||n||b,x=useCallback(()=>(u(),T.current!==void 0&&f.current?(m.current=false,c.current=T.current,T.current=void 0,p(),f.current?.scrollTo?.(c.current),true):(d(),false)),[d,u,p,f]),h=ze.useCallback(I=>{T.current=I.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 y=ze.useMemo(()=>({...e,renderedScrollTopRef:c}),[e]),w=ze.useCallback(I=>{a?.(I),m.current=x();},[x,a]);return jsx(to,{value:h,children:jsx(VariableSizeList,{ref:f,"data-testid":"VirtualScrollList",itemData:y,outerElementType:oo,innerElementType:eo,...s,onScroll:w,children:t})})}),ro=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$1})),De=styled(Ce)(({theme:e})=>({backgroundColor:e.palette.background.default})),Se=styled(TableCell,{shouldForwardProp:e=>!["isLast","isFirst","isSheetView","isSelected","$hasFilter","$isFilterDisabled"].includes(e)})(({theme:e,isLast:t,isFirst:o,isSheetView:r,$hasFilter:n,$isFilterDisabled:a})=>({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",...n&&{cursor:"pointer"},...a&&{cursor:"not-allowed"},...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"}}})),yt=styled("button",{shouldForwardProp:e=>!["$hasFilter"].includes(e)})(({theme:e,$hasFilter:t,disabled:o})=>({zIndex:1,display:"flex",gap:e.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",...t&&{cursor:"pointer"},...o&&{cursor:"not-allowed"},padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),Fe=styled(ro,{shouldForwardProp:e=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(e)})(({theme:e,areTotalRowsNotFillingHeight:t,isSheetView:o})=>({backgroundColor:t?"transparent":"#F6F8FACC",...o&&{backgroundColor:e.palette.common.white}})),wt=styled(ua,{shouldForwardProp:e=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected","isChecked","adjacentBelow","adjacentAbove"].includes(e)})(({theme:e$1,showShadowHighlight:t,showLoadedStyle:o,isSheetView:r,isChecked:n,adjacentBelow:a,adjacentAbove:l})=>({display:"flex",borderBottom:`1px solid ${e$1?.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$1.palette.divider,zIndex:1}},...l&&{clipPath:"inset(0px -20px -20px -20px)"},...a&&l&&{clipPath:"inset(0px -20px 0px -20px)"},"&:hover":{boxShadow:e$1.shadows[12],zIndex:1,[`.${e.root}`]:{visibility:"visible"},".payment-sources-container":{backgroundColor:e$1?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:e$1.palette.info.dark,width:"3px",position:"absolute",left:0},...n&&{boxShadow:e$1.shadows[12],zIndex:1,"&:after":{opacity:1},[`.${e.root}`]:{visibility:"visible"}},...o&&{backgroundColor:`${e$1.palette.info.dark}08 !important`},...t&&{boxShadow:e$1.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:e$1.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"}})),no=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),Rt=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),dn=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),pn=styled(Ce,{shouldForwardProp:e=>e!=="showNoDataView"})(({showNoDataView:e})=>({position:"relative",height:"100%",overflowX:e?"hidden":"auto",paddingBottom:0,display:"flex",flexDirection:"column"})),Et=styled(f,{shouldForwardProp:e=>!["isRow"].includes(e)})(({isRow:e})=>({position:"absolute",left:"12px",top:"50%",transform:"translateY(-50%)",padding:0,...e&&{visibility:"hidden"}}));var fa=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=fa;function mn({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:T,isFilterEnabled:m}){let[b,f]=useState(null),x=useRef(null),h=!!a,{isFilterApplied:y,filterDisabled:w}=Ke({filter:a,totalCount:T,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":h,isFirst:i,isLast:p,ref:x,$hasFilter:h,$isFilterDisabled:w&&h,sx:P=>({paddingInline:"0.6875rem",paddingLeft:i?"0":"0.6875rem",paddingRight:p?"0":"0.6875rem",display:"flex",gap:P.spacing(.5),alignItems:"center",justifyContent:ic[o??"left"],width:l,textAlign:o,overflow:"unset",fontWeight:600,...r}),isSheetView:d,children:jsxs(yt,{disabled:w,$hasFilter:h,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:y,disabled:w}),n&&jsx(xt,{onColumnSort:u,columnsSorting:c,columnId:t})]})})}var ao=mn;var cn=styled(Ca,{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",cursor:"auto"})),fn=styled(ua,{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 wa({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,T=useCallback(()=>{i&&i.setIds(c?[]:d?.()??[]);},[i,c,d]);return jsx(cn,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsxs(fn,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:a,children:[u&&jsx(Et,{size:"small",checked:c,indeterminate:u&&!c,onChange:T,onClick:m=>m.stopPropagation()}),e.map((m,b)=>jsx(ao,{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 bn=memo(wa);var so=bn;var Va=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"})),po=styled("p")(({theme:e})=>({fontSize:"0.75rem",fontWeight:600,color:alpha(e.palette.common.black,.2)}));function La({height:e,sandboxMode:t,...o}){let{t:r}=useTranslation();return jsx(Va,{component:"section","data-testid":"TableLastItem",...o,height:e,sandboxMode:t,children:jsx(po,{children:r("allRecordsHaveBeenSuccessfullyLoaded")})})}var mo=La;var Ha=styled(va)(({theme:e})=>({backgroundColor:e.palette.grey[100],borderRadius:"64px",minWidth:"20px"}));function Ba({columns:e,style:t,index:o,animationType:r}){return jsx(ua,{sx:{...t,display:"flex",borderBottom:"1px solid #e3e8ee","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((n,a)=>jsx(Ma,{sx:{width:n.width||`${100/e.length}%`||"20%",paddingInline:"0.6875rem"},component:"div",children:jsx(Ha,{variant:"rectangular",animation:r})},`${n.id}-${a}`))},o)}var co=memo(Ba,areEqual);var Oa=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 Na({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n}){let a=n||Sa(t,r);return a=a>0?a:5,jsx(Oa,{isLoaded:t,"data-testid":"TableLoading",children:[...Array(a)].map(()=>jsx(co,{columns:e,animationType:o},`i-${Aa("TableLoadingRow_")}`))})}var fo=memo(Na);var Tn=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"})),yn=styled(Ce,{shouldForwardProp:e=>e!=="shouldMinimizeWidth"})(({shouldMinimizeWidth:e})=>({width:e?"9rem":"15rem",display:"flex",flexDirection:"column",alignItems:"center"})),wn=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1.125rem",color:e.palette.text?.primary,padding:0,margin:0})),Rn=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,opacity:.5,padding:0,marginTop:3,textAlign:"center"})),En=styled("img")(()=>({width:"2rem",height:"2rem"})),In=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"})),Pn=styled("p")(({theme:e})=>({color:e.palette.info.dark,fontSize:"0.8rem",fontWeight:600,textTransform:"none"}));function Xa({triggerDataRefetch:e,heading:t,message:o,shouldMinimizeWidth:r,sandboxMode:n,hideIcon:a,hideTryAgain:l,...s}){let{t:i}=useTranslation();return jsx(Tn,{sandboxMode:n,...s,children:jsxs(yn,{shouldMinimizeWidth:r,children:[!a&&jsx(En,{src:F,alt:"info icon"}),jsx(wn,{children:i(t)}),jsx(Rn,{children:i(o)}),!l&&jsx(In,{variant:"contained",onClick:()=>{e();},children:jsx(Pn,{children:i("tryAgain")})})]})})}var oe=Xa;var It=oe;var Vn=styled$1("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0})),Ln=styled$1("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,marginTop:3,opacity:.5})),kn=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"})),bo=styled$1("img")(()=>({width:"2rem",height:"2rem"}));function vn({sandboxMode:e,heading:t,message:o,...r}){let{t:n}=useTranslation();return jsxs(kn,{component:"section","data-testid":"EmptyList",sandboxMode:e,...r,children:[jsx(bo,{src:Sh,alt:"empty container"}),jsx(Vn,{children:n(t)}),jsx(Ln,{children:n(o)})]})}vn.displayName="EmptyList";var Vt=memo(vn);var Wn=Vt;var Za=e=>{let{isTimeoutError:t,tableError:o,triggerDataRefetch:r,sandboxMode:n,tableEmpty:a,error:l}=e;if(t)return jsx(It,{"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}=Rb({error:s,fallbackMessage:"connectionErrorMsg"}),u=mb()&&d===Pn$1;return jsx(It,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u?p:i,triggerDataRefetch:r,sandboxMode:n,hideIcon:u,hideTryAgain:u})}if(a){let{formatted:i}=Rb({error:s,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(Wn,{sandboxMode:n,heading:"nothingFound",message:i})}return jsx(It,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:r,sandboxMode:n})},go=memo(Za);function Mn({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(fo,{"data-testid":"VirtualTable_TableLoading",columns:a,isLoading:true})}):jsx(go,{isTimeoutError:o,tableEmpty:t,tableError:r,sandboxMode:s?.sandboxMode,error:e,triggerDataRefetch:l})}Mn.displayName="TableNoData";var Je=memo(Mn);function So(){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 il({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:T,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]),y=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:E}=g;if(!g?.id||!e)return null;let V=E?E({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:y(k,g.pinned),rowIndex:R,colIndex:k,selectedId:i}}):jsx(Fragment,{children:L})},[e,o,i,y]),I=a!==null||l!==null||s!==null,P=ze.useCallback((g,R)=>k=>{p?.(o,g,k,R);},[p,o]),S=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 E=`${C.pinned??"default"}-${o}-${v}`,V=`${C.pinned??"default"}-${v}`,L=I&&a===E,M=I&&l===V,F=gc({isSelected:I&&(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&&I?hc({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:ic[B?"center":C.align??"left"],cursor:p?"pointer":"default",...F,...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,I,p,d,i,n,w,P]);return createElement(wt,{"data-testid":"TableRow",onClick:r?.onRowClick,showShadowHighlight:r?.showShadowHighlight,showLoadedStyle:r?.showLoadedStyle,component:"article",...r,key:o,isSheetView:n,isChecked:f,adjacentAbove:T,adjacentBelow:m},c&&jsx(Et,{isRow:true,size:"small",checked:f,onChange:h,disabled:x}),S)}var yo=memo(il,areEqual);var fl=styled(va)(()=>({backgroundColor:"#F4F4F4",borderRadius:"64px",width:"100%",minWidth:"20px"}));function bl({columns:e,style:t,index:o,animationType:r,rowIndex:n=0,useTableBackground:a=false}){let l=useTheme();return jsx(ua,{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(Ma,{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(fl,{variant:"rectangular",animation:r,height:16})},`${s.id}-${i}`)})},o)}var Ze=memo(bl,areEqual);var xl=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(no,{sx:{position:"absolute"},src:ni$1}),jsx(no,{sx:{position:"absolute",padding:"3px"},src:ti,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(po,{"data-testid":"ListItemWrapper_lastRowContent",children:n("allRecordsHaveBeenSuccessfullyLoaded")})}),Cl=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},Sl=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:t})=>({height:t?28:"100%",backgroundColor:e.palette.background.default}));function Tl({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:T=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,E=e<b?r[e+1]?.[R.selector]:void 0;return {hasAdjacentCheckedAbove:v!==void 0&&R.ids.includes(v),hasAdjacentCheckedBelow:E!==void 0&&R.ids.includes(E)}},[m.selection?.ids,m.selection?.selector,r,e,b]),h=r[e],y=l&&e===b+1,w=e<=i,I=ze.useCallback(()=>Cl(h,n?.onRowClick),[h,n?.onRowClick]),P=ze.useMemo(()=>({showShadowHighlight:s===e,showLoadedStyle:w,...n,onClick:I}),[s,e,w,n,I]),S=ze.useCallback(R=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:p?jsx(So,{}):R}),[p]),g=ze.useMemo(()=>{let R=jsx(xl,{isSheetView:u,isLoadingRow:y,columns:a,currentRowCount:r.length}),k=y||d&&e===b+1;return c&&k?u&&y&&a&&a.length>0?S(R):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):k?u&&y&&a&&a.length>0?S(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(So,{}):R})}):jsx(yo,{index:e,row:h,columns:a,rowProps:P,isSheetView:u,isLastRow:e===r.length-1,isFirstRow:e===0,isLoading:l,isLoadMoreLoading:T,hasAdjacentCheckedAbove:f,hasAdjacentCheckedBelow:x,...m},`row-${e}`)},[m,e,h,a,P,u,y,p,d,b,c,r.length,S,T]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...t,top:Number(t.top)-(o?.current??0),willChange:"top"},children:jsx(Sl,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:u,children:g})})}var Wt=Tl;var vl=Vl((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 Wl({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:T,scrollToIndex:m,areAllRowsLoaded:b=false,tableBodyStyles:f,tableMode:x,tableTitle:h,onStartDrag:y,isSheetView:w=false,isMinimized:I,footerComponent:P,customNoDataComponent:S,defaultSkeleton:g=false,selection:R,isFilterEnabled:k}){let C=useTheme(),v=z=>{y?.(z);},E=c({value:c$1,delay:1e3}),[V,L]=useState(false),[M,D]=useState("INITIAL_KEY");useEffect(()=>{let z=`${l?.maximized}-${I}`,J=requestAnimationFrame(()=>D(z));return ()=>cancelAnimationFrame(J)},[l?.maximized,I]);let F=Ob(i),N=s??true,G=!s&&t.length===0&&F&&!Qb(i),W=!s&&t.length===0,_=Pb(i),U=t.length-1,B=useMemo(()=>rc(e,s??false,g),[e,s,g]),H=useMemo(()=>B.filter(z=>!z.hidden),[B]),ne=useMemo(()=>H.sort((z,J)=>(z?.order??1e6)-(J?.order??1e6)),[H]),Ne=useMemo(()=>R?R.isDisabled?t.filter(z=>!R.isDisabled(z)).length:t.length:0,[t,R?.isDisabled]),Ot=useCallback(()=>R?(R.isDisabled?t.filter(J=>!R.isDisabled(J)):t).map(J=>J[R.selector]):[],[t,R?.isDisabled,R?.selector]),K=Ta(t.length)&&!N,ie=E||b&&!K?t.length+1:t.length,$e=vl(ne,E,t,a,m,U,l?.totalCount??0,F,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 Nt=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:$t})=>jsx(Ll,{ref:$t,"data-testid":"VirtualTable_AutoSizer",children:({height:nt,width:it})=>jsx(Fe,{"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:Wt})},M)})},[U,u,o,b,K,ie,ae,w,$e,m,M]),X=N||G||W||_;return jsxs(Fragment,{children:[jsx(Rt,{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":!!F,"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(so,{"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:Ot,isFilterEnabled:k}),X?S||jsx(Je,{error:i,tableEmpty:W,isTimeoutError:_,tableError:G,tableLoading:N,orderedColumns:ne,triggerDataRefetch:T,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:Nt})})]}),!X&&K&&!c$1&&jsx(mo,{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 Ml=memo(Wl);function _l({style:e,index:t,cardLoadingComponent:o}){return jsx(ua,{sx:{...e,display:"flex",padding:0,"&:hover":{backgroundColor:"transparent !important"}},component:"div",children:jsx(Ma,{sx:{padding:0,flex:1},component:"div",children:o})},t)}var Eo=memo(_l,areEqual);var $l=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 Ul({isLoaded:e=false,isLoading:t=false,rowsCount:o,cardLoadingComponent:r}){let n=o||Sa(e,t);return n=n>0?n:5,jsx($l,{isLoaded:e,"data-testid":"TableLoadingWithCard",children:[...Array(n)].map(()=>jsx(Eo,{cardLoadingComponent:r},`i-${Aa("TableLoadingRow_")}`))})}var Io=memo(Ul);function zn({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(Io,{"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}=Rb({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}zn.displayName="TableNoDataWithCard";var Po=memo(zn);function Gl({row:e,index:t,rowProps:o,renderCardComponent:r}){return createElement(wt,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},r&&jsx(r,{...e}))}var Vo=memo(Gl,areEqual);var Zl=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},Ql=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"})(({theme:e})=>({backgroundColor:e.palette.background.default,height:"100%"}));function es({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,T=e<=s,m=ze.useCallback(Zl(u,n?.onRowClick),[u,n?.onRowClick]),b=ze.useMemo(()=>({showShadowHighlight:l===e,showLoadedStyle:T,...n,onClick:m}),[l,e,T,n,m,c,i,d]),f=ze.useMemo(()=>jsx(Vo,{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(Ql,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:f})})}var vo=es;var ds=Vl((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 ps({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:T,tableMode:m,tableTitle:b,renderCardComponent:f,cardLoadingComponent:x,tableHeight:h,tableHeaderHeight:y,noDataComponent:w,onStartDrag:I}){let P=useTheme(),S=_=>{I?.(_);},g=c({value:p,delay:1e3}),[R,k]=useState(false),C=Ob(l),v=a??true,E=!a&&e.length===0&&C&&!Qb(l),V=!a&&e.length===0,L=Pb(l),M=e.length-1,D=Ta(e.length)&&!v,F=g||c$2&&!D?e.length+1:e.length,N=ds(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:F,loadMoreItems:async()=>{c$2||await i?.();},threshold:t,children:({onItemsRendered:B,ref:H})=>jsx(Ce,{sx:{height:`${h-(y??0)}px`},id:"auto-sizer-wrapper",children:jsx(Ll,{ref:H,"data-testid":"VirtualTable_AutoSizer",children:({height:ne,width:Ne})=>jsx(Fe,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:N,height:ne||0,width:Ne||0,itemCount:F,itemSize:()=>n,onItemsRendered:B,setBackdropVisibility:_,areTotalRowsNotFillingHeight:D,scrollToIndex:u,overscanCount:5,children:vo})})})})},[l,a,M,i,n,e,o,E,v,t,g,c$2,D,F]),W=v||E||V||L;return jsxs(Fragment,{children:[jsx(Rt,{children:jsx(pn,{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:{...T},children:[s,W?jsx(Po,{error:l,tableEmpty:V,isTimeoutError:L,tableError:E,tableLoading:v,triggerDataRefetch:d,footerProps:r,cardLoadingComponent:x,noDataComponent:w}):G]})})}),jsx(c$1,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:R,onPointerDown:S,sx:{marginTop:"-37px"},...r})]})}var ms=memo(ps);var Sb=styled("img")(()=>({width:"13.3px",height:"13.3px"})),Tb=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer",marginTop:"2px"})),An=styled("span")(({theme:e})=>({color:e.palette.text.primary,textOverflow:"ellipsis",width:"80%",overflow:"hidden",fontSize:"12px",fontWeight:600})),On=styled("div")(()=>({width:"16px",height:"auto",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px",padding:"2px",transition:"all 0.2s ease"})),Nn=styled(Ca,{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"})),$n=styled(ua)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%",minWidth:"fit-content",height:"28px",backgroundColor:e.palette.primary.light})),Wo=styled("div")({display:"flex",width:"100%",height:"100%",overflow:"hidden",borderRadius:"12px"}),Un=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"})),Xn=styled(Un)({boxShadow:"4px 0px 24px 0px #00000014",borderLeft:"1px solid #F2F2F2",borderRight:"none",borderTopLeftRadius:"12px",borderBottomLeftRadius:"12px"}),jn=styled(Un)({boxShadow:"-4px 0px 24px 0px #00000014",borderRight:"1px solid #F2F2F2",borderLeft:"none",borderTopRightRadius:"12px",borderBottomRightRadius:"12px"}),Mt=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 Mo=(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(y=>y!==m),x=x.filter(y=>y!==m)):b==="start"?(f=[...f.filter(y=>y!==m),m],x=x.filter(y=>y!==m)):b==="end"&&(x=[...x.filter(y=>y!==m),m],f=f.filter(y=>y!==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,I)=>(w?.order??1e6)-(I?.order??1e6)),h=b.sort((w,I)=>(w?.order??1e6)-(I?.order??1e6)),y=f.sort((w,I)=>(w?.order??1e6)-(I?.order??1e6));return {pinnedStartColumnsData:x,pinnedEndColumnsData:h,unpinnedColumnsData:y}},[i,r,a]),c=useMemo(()=>[...p,...u,...d],[p,u,d]),T=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:T}};var Do=()=>{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 Fo=()=>{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 y=`${h??"default"}-${m}-${b}-${x}`,w=`${h??"default"}-${m}-${b}`;if(n===y){a(null),t(null);return}a(y),t(w),s(null);},[n,a,t,s]),u=useCallback((m,b,f,x)=>{if(f.stopPropagation(),x==="start"&&b===0){s(y=>y===m?null:m),t(null),r(null),a(null);return}let h=`${x??"default"}-${m}-${b}`;t(y=>y===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);},[]),T=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:T}};var gs=e=>e!==null&&"isAxiosError"in e&&e.isAxiosError===true,Ho=({rows:e,isLoading:t,error:o,isFetchingNextPage:r,areAllRowsLoaded:n})=>{let a=c({value:r,delay:1e3}),l=useMemo(()=>{let i=Ob(o||null),p=t??true,d=o&&gs(o)?o:null,u=!t&&e.length===0&&i&&!Qb(d),c=!t&&e.length===0,T=Pb(d);return {isError:i,tableLoading:p,tableError:u,tableEmpty:c,hasTimeoutError:T,showNoDataView:p||u||c||T}},[e.length,t,o]),s=useMemo(()=>{let i=e.length-1,p=Ta(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 Cs=Vl((e,t,o,r,n,a,l,s,i,p,d,u,c,T,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:T,onCellClick:m,onChipClick:b,containerHeight:f,rowHeight:x})),Bo=({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:T})=>{let m=useCallback((h,y)=>{if(t&&h===o.length){let I=o.length*e,P=y-I,S=e*2;return Math.max(P,S)}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,T],[i,p,d,u,c,T]),x=useCallback((h,y,w)=>Cs(h,...b,y,...f,w,e),[b,f,e]);return {getItemSize:m,getItemDataForContainer:x}};var Ss=(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 zo=({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 Zn=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"})),Qn=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%"}})),Bt=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(${ck})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",zIndex:1e5,pointerEvents:"none",display:e?"block":"none",transform:"translate(-50%, -50%)"}));function Is({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(Zn,{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(Bt,{isVisible:n&&!o,x:l.x,y:l.y,offsetX:-2}),document.body)]})}var Ao=memo(Is);function vs({isVisible:e,indicatorX:t,indicatorHeight:o,indicatorTop:r,iconX:n,iconY:a}){return e?createPortal(jsxs(Fragment,{children:[jsx(Qn,{isVisible:e,x:t,height:o,top:r,"data-testid":"column-resize-indicator"}),jsx(Bt,{isVisible:e,x:n,y:a,offsetX:8,"data-testid":"floating-resize-icon"})]}),document.body):null}var Oo=memo(vs);var Ds=e=>{if(!e||typeof e!="object")return false;let t=e;return "width"in t&&e$2(t.width)},Fs=e=>!e||typeof e!="object"?false:Object.values(e).every(Ds),Hs=e=>!e||typeof e!="object"?false:Object.values(e).every(Fs),ri=e=>!e||typeof e!="object"?false:Object.values(e).every(Hs),ni=()=>{try{let e=na();if(!e)return {};let t=e;return ri(t)?t:(console.warn("Invalid column settings in localStorage"),{})}catch(e){return console.warn("Failed to get sheetview columns:",e),{}}},Bs=e=>{if(!ri(e))return console.warn("Invalid data structure for sheetview columns"),false;try{return ma(e),!0}catch(t){return console.warn("Failed to save sheetview columns:",t),false}},ii=(e,t,o,r)=>{if(!Xa$1(e)||!Xa$1(t)||!Xa$1(o))return r;try{return ni()[e]?.[t]?.[o]?.width??r}catch(n){return console.warn("Failed to get column width:",n),r}},ai=(e,t,o,r)=>{if(!Xa$1(e)||!Xa$1(t)||!Xa$1(o)||!e$2(r))return console.warn("Invalid parameters for setColumnWidth"),false;try{let n=ni();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},Bs(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 li=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?ye.DEFAULT_WIDTH:t}return e||ye.DEFAULT_WIDTH},No=e=>Math.max(ye.MIN_WIDTH,Math.min(ye.MAX_WIDTH,e)),q=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},$o=(e,t)=>e.map(o=>{let r=q(o);return {...o,width:t[r]||o.width}}),si=(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="";},zs=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=i.current-o,u=No(t+d);l(c=>({...c,columnWidths:{...c.columnWidths,[e]:u},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),r&&n&&(ai(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();}},di=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=p.clientX;if(r?.current){let c=r.current.getBoundingClientRect(),T=c.left,m=c.right;a==="start"&&n===1&&(m=m-38),d=Math.max(T,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);}},pi=(e,t)=>e[t]||ye.DEFAULT_WIDTH,mi=(e,t,o,r,n,a,l)=>(s,i,p)=>d=>{zs(s,i,p,e,t,o,r,n,l)(d),setTimeout(()=>{a.current=false;},0);};var Uo=({columns:e,onColumnResize:t,handleColumnClick:o,windowId:r,serviceCode:n,tableContainerRef:a})=>{let l=useMemo(()=>e.reduce((E,V)=>{let L=q(V),M=li(V.width),D=M;if(r&&n)try{D=ii(r,n,L,M)??M;}catch(F){console.warn(`Failed to load stored width for column ${L}:`,F),D=M;}return E[L]=No(D),E},{}),[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,T]=useState({x:0,y:0}),m=useRef(false),b=useRef(0),f=useRef(0),x=useRef(0),h=useRef(0),y=useRef(),w=useRef();useEffect(()=>{u(E=>{let V=new Set(Object.keys(E.columnWidths)),L=new Set(Object.keys(l));return V.size!==L.size?{...E,columnWidths:l}:Array.from(L).some(D=>!V.has(D)||E.columnWidths[D]!==l[D])?{...E,columnWidths:l}:E});},[]);let I=useCallback(E=>pi(s,E),[s]),P=useCallback(()=>{si(y,w);},[]),S=useCallback((E,V,L)=>mi(r,n,t,u,P,m,f)(E,V,L),[r,n,t,P]),g=useCallback((E,V)=>di(u,T,b,a,E,V,f,x,h),[a]),R=useCallback((E,V)=>{E.preventDefault(),E.stopPropagation();try{let L=I(V),M=E.clientX,D=e.find(H=>q(H)===V),F=D?e.filter(H=>H.pinned===D.pinned).findIndex(H=>q(H)===V):void 0,N=D?.pinned,W=E.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),_=E.clientY;if(W){let H=W.getBoundingClientRect();_=H.top+H.height/2;}u(H=>({...H,isResizing:!0,resizingColumn:V,startX:M,startWidth:L,resizeIndicatorX:M,resizingColumnIndex:F,resizingColumnPinned:N})),b.current=_,f.current=M,x.current=M,h.current=L,T({x:M,y:_}),m.current=!0;let U=g(F,N),B=S(V,L,M);y.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();}},[I,g,S,P,e]),k=useCallback(()=>{try{u(E=>({...E,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),m.current=!1,P();}catch(E){console.error("Error stopping resize:",E),P();}},[P]),C=useCallback(()=>m.current,[]),v=useCallback((E,V,L)=>{C()||o(E,V,L);},[o,C]);return useEffect(()=>P,[P]),{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d,cursorPosition:c,getColumnWidth:I,startResize:R,stopResize:k,isCurrentlyResizing:C,handleColumnClick:v}};var Xo=({pinnedStartColumnsData:e,pinnedEndColumnsData:t,columnWidths:o})=>{let r=useMemo(()=>e.reduce((s,i)=>{let p=q(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[e,o]),n=useMemo(()=>t.reduce((s,i)=>{let p=q(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[t,o]),a=useMemo(()=>e.map(s=>{let i=q(s);return {...s,width:o[i]||s.width}}),[e,o]),l=useMemo(()=>t.map(s=>{let i=q(s);return {...s,width:o[i]||s.width}}),[t,o]);return {pinnedStartColumnsWidth:r,pinnedEndColumnsWidth:n,pinnedStartColumnsDataWithWidths:a,pinnedEndColumnsDataWithWidths:l}};var Xs=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 js({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n=13,isPinned:a=false}){let[l,s]=useState(()=>n||Math.min(Sa(t,r),15));return useEffect(()=>{if(n){s(n);return}let i=()=>{let u=document.querySelector('[data-testid="SheetViewTableLoading"]');if(!u)return Math.min(Sa(t,r),25);let c=u.parentElement?.clientHeight||0,T=28,b=c-40;if(b<=0)return Math.min(Sa(t,r),25);let f=Math.floor(b/T);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(Xs,{isLoaded:t,isPinned:a,"data-testid":"SheetViewTableLoading",children:[...Array(l)].map((i,p)=>jsx(Ze,{columns:e,animationType:o,rowIndex:p,useTableBackground:!a},`i-${Aa("SheetViewTableLoadingRow_")}`))})}var le=memo(js);function bi({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}=Rb({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}=Rb({error:p,fallbackMessage:"tryAdjustingTheDateOrFilters"});i=jsx(Vt,{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}bi.displayName="SheetViewTableNoData";var Gs=memo(bi);function td({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:T,isSelected:m,isDefaultPinned:b,onColumnSort:f,columnsSorting:x,onColumnPin:h,isPinnable:y,lastColumnId:w,onColumnClick:I,pinnedColumns:P,onStartResize:S,isResizing:g=false,resizingColumn:R=null}){let k=q({id:t,tableViewId:o}),[C,v]=useState(null),E=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");},F=()=>{v(E.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:T,isSheetView:true,ref:E,onClick:W=>{W.target===W.currentTarget&&I?.(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(yt,{onClick:W=>{W.stopPropagation(),F();},children:[typeof e=="function"?e():jsx(Ce,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx(An,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:e})}),l&&jsx(Ge,{...l,anchorEl:C,setAnchorEl:v,isFilterApplied:V}),a&&jsx(xt,{columnId:t,onColumnSort:f,columnsSorting:x,onClick:W=>{I?.(u,W,d);}}),y&&s&&!b&&!T&&jsx(On,{onClick:W=>{W.stopPropagation(),D(t);},title:M?"Unpin column":"Pin column",children:jsx("img",{src:M?ai$1:$h,alt:"pin-icon"})})]}),S&&d!=="end"&&jsx(Ao,{columnId:k,onStartResize:S,isResizing:g,isLast:T})]})}var gi=memo(td);function rd({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:T=null}){return jsx(Nn,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsx($n,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:e.map((m,b)=>{let f=`${m.pinned??"default"}-${b}`;return jsx(gi,{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:T},`${m.id}-${b}`)})})})}var se=memo(rd);function ld({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:T,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:y})=>jsx(Ll,{ref:y,children:({height:w,width:I})=>{let P=g=>l(g,w),S=s(e,i,w);return jsx(Fe,{listRef:b,height:w,width:p||I,itemCount:t,itemSize:P,itemData:S,onItemsRendered:h,overscanCount:f,setBackdropVisibility:m,scrollToIndex:d,areTotalRowsNotFillingHeight:u,useIsScrolling:true,onScroll:T,clearBackdropVisibilityTimeout:c,style:{overflowX:i?"hidden":"auto",paddingBottom:i?"25px":"13px",backgroundColor:i?"transparent":"#F6F8FACC"},children:Wt})}})})}var Go=memo(ld);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:T,hasPinnedStart:m,hasPinnedEnd:b,tableTitle:f,areAllRowsLoaded:x,isFetchingNextPage:h,scrollToIndex:y,isLoading:w,isError:I,hasTimeoutError:P,tableMode:S,showNoDataView:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:E}){let V=useTheme();if(t.length===0)return null;let L=e==="start"?Xn:jn,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":y,"data-is-loading":!!w,"data-is-error":!!I,"data-is-error-timeout":!!P,"data-table-mode":S,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:T,tablePosition:e==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:m,hasPinnedEnd:b,onStartResize:C,isResizing:v,resizingColumn:E}),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 fd({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:T,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:y,isError:w,hasTimeoutError:I,tableMode:P,showNoDataView:S,tableBodyStyles:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:E}){let V=useTheme();return jsx(Mt,{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":!!y,"data-is-error":!!w,"data-is-error-timeout":!!I,"data-table-mode":P,height:"100%",dir:V.direction,showNoDataView:S,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:S,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:T,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t,onStartResize:C,isResizing:v,resizingColumn:E})}),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 Ko=memo(fd);function xd({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:T,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:y,isError:w,hasTimeoutError:I,tableMode:P,showNoDataView:S,tableBodyStyles:g}){let R=useTheme();return jsx(Mt,{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":!!y,"data-is-error":!!w,"data-is-error-timeout":!!I,"data-table-mode":P,height:"100%",dir:R.direction,showNoDataView:S,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:S,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:T,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 Yo=memo(xd);function yd({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:T,tableTitle:m,areAllRowsLoaded:b,isFetchingNextPage:f,scrollToIndex:x,isLoading:h,isError:y,tableMode:w,tableBodyStyles:I,error:P,triggerDataRefetch:S,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":!!y,"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:I,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:T})}),R||jsx(Je,{error:P||null,tableEmpty:o,isTimeoutError:r,tableError:t,tableLoading:e,orderedColumns:n,triggerDataRefetch:S||(()=>Promise.resolve()),footerProps:g})]})})}var Jo=memo(yd);function Pd({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:T,triggerDataRefetch:m,scrollToIndex:b,areAllRowsLoaded:f=false,tableBodyStyles:x,tableTitle:h,onStartDrag:y,onColumnPin:w,clearBackdropVisibilityTimeout:I=100,isPinnable:P=false,tableMode:S,overscanCount:g,windowId:R,serviceCode:k,customNoDataComponent:C,defaultSkeleton:v=true}){let E=useMemo(()=>rc(e,i??false,v),[e,i,v]),{selectedCell:V,selectedColumn:L,selectedRow:M,showBackDrop:D,setShowBackdrop:F,handleCellClick:N,handleColumnClick:G,handleChipClick:W,selectedChip:_}=Fo(),U=useRef(null),B=useRef(null),{isError:H,tableLoading:ne,tableError:Ne,tableEmpty:Ot,hasTimeoutError:K,showNoDataView:ie,lastItemIndex:$e,areTotalRowsNotFillingHeight:ae,itemsCount:he,isDelayedFetchingNextPage:Nt}=Ho({rows:t,isLoading:i,error:p,isFetchingNextPage:T,areAllRowsLoaded:f}),{pinnedStartColumns:X,pinnedEndColumns:z,handleColumnPin:J,pinnedStartColumnsData:ge,pinnedEndColumnsData:$t,unpinnedColumnsData:nt,orderedColumns:it,lastColumnId:Ci}=Mo(E,P,w),{pinnedStartVirtualListRef:at,scrollableVirtualListRef:lt,pinnedEndVirtualListRef:st,handleScroll:er}=Do();useEffect(()=>{at.current?.resetAfterIndex(0),lt.current?.resetAfterIndex(0),st.current?.resetAfterIndex(0);},[t.length,at,lt,st]);let{columnWidths:Ue,isResizing:Ut,resizingColumn:Si,resizeIndicatorX:Ti,cursorPosition:tr,startResize:yi,handleColumnClick:wi}=Uo({columns:E,handleColumnClick:G,windowId:R,serviceCode:k,tableContainerRef:B}),or=zo({tableContainerRef:U,showHeader:r??false,isResizing:Ut}),{pinnedStartColumnsWidth:rr,pinnedEndColumnsWidth:nr,pinnedStartColumnsDataWithWidths:Z,pinnedEndColumnsDataWithWidths:Q}=Xo({pinnedStartColumnsData:ge,pinnedEndColumnsData:$t,columnWidths:Ue}),ir=useMemo(()=>$o(nt,Ue),[nt,Ue]),Ri=useMemo(()=>$o(it,Ue),[it,Ue]),{getItemSize:ar,getItemDataForContainer:lr}=Bo({rowHeight:s,areAllRowsLoaded:f,rows:t,isDelayedFetchingNextPage:Nt,rowProps:a,scrollToIndex:b,footerProps:l,isError:H,selectedCell:V,selectedColumn:L,selectedRow:M,selectedChip:_,handleCellClick:N,handleChipClick:W}),Ei=Xt=>{y?.(Xt);},Xe=useCallback((Xt,dt,Ii=false,Pi)=>jsx(Go,{columnsData:Xt,itemCount:he,lastItemIndex:$e,areAllRowsLoaded:f,loadMoreItems:c,threshold:o,getItemSize:ar,getItemData:lr,isPinned:Ii,fixedWidth:Pi,scrollToIndex:b,areTotalRowsNotFillingHeight:ae,clearBackdropVisibilityTimeout:I,onScroll:Vi=>{er(Vi,dt==="pinnedStart"?"start":dt==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:F,listRef:dt==="pinnedStart"?at:dt==="pinnedEnd"?st:lt,overscanCount:g}),[he,$e,f,c,o,ar,lr,b,ae,I,er,F,at,st,lt,g]),sr={showHeader:r,columnsSorting:d,onColumnSort:u,headerProps:n,showBackDrop:D,onColumnPin:J,isPinnable:P,lastColumnId:Ci,selectedColumn:L,onColumnClick:wi,tableTitle:h,areAllRowsLoaded:f,isFetchingNextPage:T,scrollToIndex:b,isLoading:i,isError:H,tableMode:S,showNoDataView:ie,tableBodyStyles:x,onStartResize:yi,isResizing:Ut,resizingColumn:Si},Pe={...sr,hasTimeoutError:K,tableLoading:ne};return jsxs(Fragment,{children:[jsx(dn,{ref:U,children:ie?ne?jsxs(Wo,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:rr,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Yo,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:ir,pinnedStartColumns:X,pinnedEndColumns:z,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:nr,pinnedColumnsList:[...X,...z],hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe})]}):jsx(Jo,{tableLoading:ne,tableError:Ne,tableEmpty:Ot,hasTimeoutError:K,orderedColumns:Ri,error:p,triggerDataRefetch:m,footerProps:l,customNoDataComponent:C,...sr}):jsxs(Wo,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:rr,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Ko,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:ir,pinnedStartColumns:X,pinnedEndColumns:z,createVirtualTableContainer:Xe,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:nr,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:Ei,...l}),jsx(Oo,{isVisible:Ut,indicatorX:Ti,indicatorHeight:or.height,indicatorTop:or.top,iconX:tr.x,iconY:tr.y})]})}var Vd=memo(Pd);export{ms as A,Sb as B,Tb as C,An as D,On as E,Nn as F,$n as G,Wo as H,Xn as I,jn as J,Mt as K,_e as L,Mo as M,Do as N,Fo as O,Ho as P,Bo as Q,Ss as R,zo as S,le as T,Gs as U,se as V,Oe as W,Ko as X,Yo as Y,Jo as Z,Vd as _,Or as a,ht as b,Ge as c,eo as d,oo as e,ro as f,Se as g,Ke as h,so as i,mo as j,co as k,fo as l,bo as m,go as n,Je as o,So as p,yo as q,Ze as r,xl as s,Sl as t,Ml as u,Eo as v,Io as w,Po as x,Vo as y,vo as z};
@@ -1 +0,0 @@
1
- import {Gn,oo as oo$1,mo as mo$1,no as no$1,lo as lo$1,Bn,jo,In,po as po$1,io,ho,go as go$1,fo as fo$1,eo as eo$1,do as _do,Qn as Qn$1,Vn as Vn$1,co,Zn,_n as _n$1,Yn,ao,Xn,Wn as Wn$1,Tn,bo as bo$1,Un as Un$1,Rn as Rn$1,$n as $n$1,Sn,Jn as Jn$1,Kn,bp,Ve as Ve$1,Bo as Bo$1,Ao as Ao$1,Co as Co$1}from'./chunk-UVKRET3U.js';import Xe from'lodash/orderBy';import Oe from'lodash/get';import l from'dayjs';import et from'dayjs/plugin/relativeTime';import tt from'dayjs/plugin/timezone';import rt from'dayjs/plugin/utc';import nt from'dayjs/plugin/calendar';import ot from'dayjs/plugin/isToday';import st from'dayjs/plugin/isYesterday';import dt from'axios';import ut from'lodash/forOwn';import Ue from'color';import Ke from'lodash/capitalize';import We from'lodash/startCase';import {getTimezone,getCountryForTimezone,getCountry}from'countries-and-timezones';import qe from'dompurify';function Kt({list:e,sortBy:t,orders:r}){return t?.length&&r?.length?Xe(e,t,r):e}var jt=(e=[],t)=>e.length?e.sort((r,n)=>Oe(r,t).localeCompare(Oe(n,t))):[];function Jt(e){return (e||[]).filter(t=>!!t)}var qt=(e,t)=>[...new Map(e.map(r=>[r[t],r])).values()];var Zt=e=>typeof e=="number"&&!isNaN(e)&&isFinite(e)&&e>0;function Qt(e){if(!e)return "";let t=e%10,r=e%100;return `${e}${r>9&&r<14?"th":t===1?"st":t===2?"nd":t===3?"rd":"th"}`}var Ze=Intl.NumberFormat("en-US");function er(e){return Ze.format(e)}var Qe=e=>{if(typeof e=="number")return Number.isFinite(e)?e:0;if(e==null)return 0;let t=String(e).trim();if(t==="")return 0;let r=t.includes(",")&&!t.includes(".")?t.replace(/,/g,"."):t.replace(/,/g,""),n=Number(r);return Number.isFinite(n)?n:0},tr=e=>Qe(e),rr=(e,t)=>t?e.toFixed(t):e.toString();function f(e,t=2){return e.toString().padStart(t,"0")}var nr=e=>`0.${"0".repeat(e)}`;l.extend(ot);l.extend(st);l.extend(rt);l.extend(tt);l.extend(et);l.extend(nt);var S=e=>{if(typeof e=="number")return Number.isFinite(e)?e:0;if(!e)return 0;let t=e.trim().match(/^(?:UTC|GMT)?\s*([+-])?(\d{1,2})(?::?(\d{2}))?$/i);if(!t)return 0;let[,r,n,o]=t,s=Number(n)+Number(o??0)/60;return r==="-"?-s:s},gr=(e=0)=>{let t=e<0?"-":"+",r=Math.abs(e),n=Math.floor(r),o=Math.round((r-n)*60);return `UTC${t}${f(n)}:${f(o)}`},fr=(e=6)=>{let t=Number.isFinite(e)&&e>=0?e:0,r=l(),n=r.subtract(t,"day").startOf("day"),o=r.endOf("day");return [n.toDate(),o.toDate()]},xr=e=>{let t=new Date(e),r=t.getTimezoneOffset(),n=t.getTime()-r*6e4,s=new Date(n).toISOString();return l(s).valueOf()},yr=(e,t=jo.KW)=>{if(!e)return;let r=new Date(e),n=r.getTimezoneOffset(),s=S(t)*60-n,i=r.getTime()+s*6e4,u=new Date(i).toISOString();return l(u).valueOf()},Tr=(e,t=0)=>e?l(e).utc(true).subtract(t,"hour").valueOf():void 0,hr=e=>{let t=new Date(e),r=t.getTimezoneOffset(),n=t.getTime()+r*6e4;return new Date(n)},Cr=(e,{currentTimezone:t,targetTimezone:r})=>{if(!e)return "";let n=new Date(e);if(Number.isNaN(n.getTime()))return "";if(t==null||r==null||t==null||r==null)return n;let o=S(t),i=S(r)-o,a=n.getTime()+i*6e4*60;return new Date(a)},br=e=>Array.from({length:e??31},(t,r)=>r+1).map(t=>({id:t,label:t})),Sr=e=>Array.from({length:e??12},(t,r)=>r+1).map(t=>({id:t,label:t})),Ne=({length:e=10,startYear:t,direction:r="future"}={})=>{let n=new Date().getFullYear(),o=t!==void 0?n-t+1:e,s=t!==void 0||r==="past"?-1:1;return Array.from({length:o},(i,a)=>{let u=n+s*a;return {id:u,label:u}})},T=(e,t,r,n,o=true)=>{if(e==null||e==="")return "";let s=new Date(e);if(Number.isNaN(s.getTime()))return "";let i=n??r,a=C=>i==null?C:C.utcOffset(Math.round(S(i)*60)),u=a(l(s)),d=a(l()),m=o?", h:mma":"",p=u.isSame(d,"year")?"MMM DD":"MMM DD, YYYY",E={sameDay:`[Today]${m}`,nextDay:`[Tomorrow]${m}`,lastDay:`[Yesterday]${m}`,sameElse:`${p}${m}`,lastWeek:`${p}${m}`,nextWeek:`${p}${m}`};return u.calendar(d,t??E)},Dr=(e,t="YYYY-MM-DD")=>{let r=new Date(e);return Number.isNaN(r.getTime())?"":l(e).format(t)},Er=e=>l(e).endOf("day").toDate().valueOf();function wr(e){let t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=Math.floor(e%60);return t>0?`${f(t)}:${f(r)}:${f(n)}`:`${f(r)}:${f(n)}`}function Ie(e,t,r="seconds"){let n={seconds:1,minutes:60,hours:3600,days:86400};return (Date.now()-e)/1e3<t*n[r]}var Ar=e=>{let t=Date.now(),r=Math.floor((t-e)/1e3),n=Math.floor(r/60);return Ie(e,60,"seconds")?"just now":Ie(e,60,"minutes")?`${n} min${n===1?"":"s"} ago`:"1 hour ago"},_r=e=>l(e).isToday(),Or=e=>l(e).isYesterday(),it=1970,Ir=()=>Ne({startYear:it}),Nr=(e=10)=>Ne({length:e,direction:"past"});function Lr(e,t){if(!e)return null;let r=l(e);if(!r.isValid())return null;try{return new Date(r.tz(t).format("YYYY-MM-DDTHH:mm:ss.SSS"))}catch{return null}}var b=["sun","mon","tue","wed","thur","fri","sat"];function Pr(e="sun"){let t=b.indexOf(e.toLowerCase());return t===-1?(console.error(`${e} is not a valid day`),b):[...b.slice(t),...b.slice(0,t)]}var Fr=e=>{if(e==null)return;let t=l(e);return t.isValid()?t.valueOf():void 0};var Le=e=>{let r=e.reduce((n,o)=>{let s=o.entities?.find(i=>i.default);return s&&n.push({entityId:s.id,country:o}),n},[])[0]?.country||e[0];return e.find(n=>n.id===r?.id)};var Pe=(e,t,r)=>{let n=e.find(a=>a.id===t)??{},o=r.find(a=>a.id===t)??{},s=o.countries.length===1?n.countries.find(a=>a.id===o.countries?.[0].id):Le(n?.countries),i=s?.entities?.find(a=>a.default);return {...n,defaultCountry:s,defaultEntity:i}},at=({merchantsIds:e,options:t})=>!e||!e?.length?{}:{business:{merchant:e,...t}},ct=e=>["payment_facilitator_14po8231419aIsi1fN7F385"].includes(e),$r=({segmentCode:e,segmentId:t,segmentTypeCode:r,merchantsIds:n=[],options:o={}})=>{let s="PSP"===r?e:r;return ct(t)?at({merchantsIds:n,options:o}):s==="PAYMENT_TECHNOLOGY"?{payment_provider:{technology:{orchestrator:[t],...o}}}:s==="PAYMENT_GATEWAY"||s==="PAYMENT_GATEWAY_PROVIDER"?{payment_provider:{technology:{gateway:[t],...o}}}:s==="PAYMENT_FACILITATOR"?{payment_provider:{institution:{facilitator:[t],...o}}}:s==="PAYMENT_ACQUIRER"?{payment_provider:{institution:{acquirer:[t],...o}}}:s==="PLATFORM"?{platform:[t],...o}:s==="DEVELOPMENT"?{development_agency:[t],...o}:{}};var Fe="Test_Fixed_Secret_Key",_="tap-dashboard-navigation-data",Re="tap-dashboard-user-data",O="tap-dashboard-user-jwt",I="tap-dashboard-report",N="tap-dashboard-calender-timezone",L="tap-dashboard-calender-timezone-history",P="tap-dashboard-global-table-mode",ve="sheetview_columns",F="dock-preview-windows",A="views";function Wr(){localStorage.setItem(Fe,In);}function Me(){return localStorage.getItem(Fe)}function Vr(e){localStorage.setItem(_,JSON.stringify(e));}function Yr(){try{let e=localStorage.getItem(_);if(!e)return null;let t=JSON.parse(e);return ut(t,r=>{r?.forEach(n=>{n.payload&&n.payload.dateRange&&(n.payload.dateRange=n.payload.dateRange.map(o=>new Date(o)));});})}catch{return null}}function Hr(){localStorage.removeItem(_);}var Gr=e=>{localStorage.setItem(O,e);},R=()=>localStorage.getItem(O),Kr=()=>{localStorage.removeItem(O);},jr=e=>{localStorage.setItem(Re,JSON.stringify(e));},v=()=>{let e=localStorage.getItem(Re);if(!e)return null;try{return JSON.parse(e)}catch{return null}},Jr=()=>{let e=v();return e?Pe(e?.segments,e?.active_segment_id,e?.active_segments):null},qr=()=>{let e=v();return e?e?.active_segments.find(t=>t.id===e.active_segment_id):null},lt=()=>{let e=R();if(!e)return true;try{let[,t]=e.split(".");if(!t)return !0;let r=t.replace(/-/g,"+").replace(/_/g,"/"),n=r.padEnd(Math.ceil(r.length/4)*4,"="),{exp:o}=JSON.parse(atob(n));return typeof o!="number"?!0:Date.now()>=o*1e3}catch{return true}},Xr=()=>!lt()&&!!v(),Zr=(e,t)=>{localStorage.setItem(`${I}-${e}`,t);},Qr=e=>localStorage.getItem(`${I}-${e}`),en=e=>{localStorage.removeItem(`${I}-${e}`);},tn=e=>{localStorage.setItem(N,JSON.stringify(e));},rn=e=>{localStorage.setItem(L,JSON.stringify(e));},nn=()=>{try{let e=localStorage.getItem(N);return e?JSON.parse(e):null}catch{return null}},on=()=>{try{let e=localStorage.getItem(L);return e?JSON.parse(e):null}catch{return null}},sn=()=>{localStorage.removeItem(N);},an=()=>{localStorage.removeItem(L);},cn=e=>{localStorage.setItem(P,e);},un=()=>localStorage.getItem(P)||"default",ln=()=>{localStorage.removeItem(P);},dn=e=>localStorage.setItem(ve,JSON.stringify(e)),mn=()=>JSON.parse(localStorage.getItem(ve)||"{}"),pn=e=>{try{localStorage.setItem(F,JSON.stringify(e));}catch(t){console.warn("Failed to save preview cache:",t);}},gn=()=>{try{let e=localStorage.getItem(F);return e?JSON.parse(e):[]}catch{return []}},fn=()=>{try{localStorage.removeItem(F);}catch(e){console.warn("Failed to remove preview storage:",e);}},xn=(e,t,r)=>{try{return JSON.parse(localStorage.getItem(A)??"{}")?.[e]?.[t]?.[r]?.selectedViewId??null}catch{return null}},yn=(e,t,r,n)=>{try{let o=JSON.parse(localStorage.getItem(A)??"{}");localStorage.setItem(A,JSON.stringify({...o,[e]:{...o[e],[t]:{...o[e]?.[t],[r]:{...o[e]?.[t]?.[r],selectedViewId:n}}}}));}catch{return null}},$e=()=>{localStorage.clear();};var mt={headers:{"Content-Type":"application/json",Accept:"application/json"}},M=dt.create({baseURL:Gn,headers:{...mt}}),pt=["users/switch-segment","users/update-segment"];M.interceptors.request.use(e=>new Promise(t=>{let r=false;if(pt.includes(e.url??"")){t(e);return}let n=s=>{let i=s.data;if(i==="network_request_waiting"){r=true;return}i==="resume_network_request"&&(r=false);};window.addEventListener("message",n);let o=setInterval(()=>{r||(t(e),clearInterval(o),window.removeEventListener("message",n));},0);}));M.interceptors.request.use(e=>{e.headers.Authorization=R();let t=Me();return t&&!e.headers["x-test-secret"]&&(e.headers["x-test-secret"]=t),e});M.interceptors.response.use(e=>e,e=>(e.response?.data?.force_logout&&($e(),window.location.href="/login"),Promise.reject(e)));function Dn(e){let{sandboxMode:t,fixedSecretKey:r,applicationId:n,serviceId:o,functionId:s,userFunctionId:i,segmentId:a,...u}=e??{};return {...u,live_mode:t?"false":"true",...!!r&&{"x-test-secret":r},...!!n&&{application_id:n},...!!o&&{service_id:o},...!!s&&{function_id:s},...!!i&&{user_function_id:i}}}function wn(e){let r=(e??(typeof navigator<"u"&&navigator.userAgent?navigator.userAgent:"")).toLowerCase();if(r.includes("edg"))return "edge";if(r.includes("opr")||r.includes("opera"))return "opera";if(r.includes("chrome")&&!r.includes("edg")&&!r.includes("opr"))return "chrome";if(r.includes("safari")&&!r.includes("chrome"))return "safari";if(r.includes("firefox"))return "firefox";if(r.includes("msie")||r.includes("trident"))return "ie";if(r.includes("tor"))return "tor";if(r.includes("uc"))return "uc";if(r.includes("yandex"))return "yandex"}var An=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_n=e=>{let t=e??(typeof navigator<"u"&&navigator.userAgent?navigator.userAgent:"");if(!t)return;let r=t.toLowerCase();if(/ipad|tablet|playbook|silk|(android(?!.*mobile))/.test(r))return "TABLET";if(/mobile|iphone|ipod|android.*mobile|blackberry|iemobile|opera mini|windows phone/.test(r))return "MOBILE";if(/desktop|laptop|macintosh|windows|linux|unix|freebsd|openbsd|netbsd|chromeos|solaris|beos|os/.test(r))return "DESKTOP"};function Ln(){let e=["#D6D6D6","#BFF192","#E4EE92","#FDFCAB","#FFE78E","#FFCE6B","#FFBC8C","#FF947C","#C88FA3","#B988C9","#9A8BBB","#89B6FF","#ACD4E1","#ADBABE","#C0DAAA","#D5DA91","#EAE7A2","#DFCE9C","#C9A997","#858585","#000000"];return e[Math.trunc(Math.random()*e.length)]}function Pn(){let e=["linear-gradient(135deg, #31D5C8 0%, #1186C5 100%)","linear-gradient(135deg, #A2E9BD 0%, #44BB74 100%)","linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(135deg, #6BF6EB 0%, #32D6C9 100%)","linear-gradient(135deg, #61AFC9 0%, #7FBFD4 100%)","linear-gradient(135deg, #9DB7A4 0%, #7FBFD4 100%)","linear-gradient(135deg, #D7B38C 0%, #FFE09F 100%)","linear-gradient(135deg, #ADD6A2 0%, #FFDDB2 100%)"];return e[Math.trunc(Math.random()*e.length)]}var ke={r:0,g:0,b:0,alpha:1},Fn=e=>{try{let t=Ue(e).rgb(),{r,g:n,b:o,alpha:s=1}=t.object();return {value:{r,g:n,b:o,alpha:s},stringified:`rgba(${r},${n},${o},${s})`}}catch(t){console.error(t),console.warn(`Invalid hex color: "${e}". Falling back to black.`);let{r,g:n,b:o,alpha:s}=ke;return {value:ke,stringified:`rgba(${r},${n},${o},${s})`}}},Rn=e=>Ue(e).hexa();var $n={fx:"Foreign Exchange",dcc:"Dynamic Currency Conversion"},ze={BHD:3,KWD:3,JOD:3,OMR:3},$=new Map,kn=(e,t)=>{if(Number.isNaN(e))return "0";try{return $.has(t)||$.set(t,new Intl.NumberFormat("en-US",{currency:t,minimumFractionDigits:ze[t]?3:2})),$.get(t).format(e)}catch(r){return console.error(r),"0"}},gt=e=>e%1===0,ft=e=>e%.1===0,xt=e=>Math.abs(e*10%1)===.1,Un=(e,t)=>{let r=ze[t],n=e.toString();return Number.isInteger(e)&&gt(e)?n=e.toFixed(r?3:2):xt(e)?n=`${n}${r?"00":"0"}`:ft(e)&&(n=`${n}${r?"00":"0"}`),n};function yt(e,t=2){let r=parseFloat(e.toString());if(isNaN(r)){let[a,u]=0 .toFixed(t).split("."),d=`${a}.${u}`;return {integerAmount:a,decimalAmount:u,fullAmount:d}}let n=r.toFixed(t),[o,s]=n.split("."),i=parseInt(o).toLocaleString();return {integerAmount:i,decimalAmount:s,fullAmount:`${i}.${s}`}}function zn(e=0,t=""){return yt(e,po$1[t]?.decimals??2)}function Wn(e){let t=e.request.currency,r=e.select.currency,n=e.merchant.currency,o=r!==n&&r===t&&t&&n&&r,s=r!==t&&t&&n&&r,i=o?"fx":void 0;i=s?"dcc":i;let a=o?e.merchant:void 0;return a=s?e.request:a,{type:i,shownAmount:a}}var Vn=e=>typeof e=="number"?e:Number(e.replace(/,/g,""));var Tt=new Intl.DisplayNames(["en"],{type:"region"});function Be(e){try{return Tt.of(e)}catch(t){console.error(t?.response?.data?.error?.message);}}function Hn(e){return e==="SA"}var h=e=>T(e,{sameDay:"[Today at] h:mm A",nextDay:"[Tomorrow]",lastDay:"[Yesterday]",sameElse:"MMM DD",lastWeek:"MMM DD",nextWeek:"MMM DD"}),Jn=(e,t)=>{if(!e)return "";let r=new Date,n=l(e).isSame(r,"year");return t?T(e,{sameDay:"[Today at] h:mm A",nextDay:"[Tomorrow at] h:mm A",lastDay:"[Yesterday at] h:mm A",sameElse:"[on] MMM DD [at] h:mm A",lastWeek:"[on] MMM DD [at] h:mm A",nextWeek:"[on] MMM DD [at] h:mm A"}):n?T(e,{sameDay:"[Today]",nextDay:"[Tomorrow]",lastDay:"[Yesterday]",sameElse:"[on] MMM DD",lastWeek:"[on] MMM DD",nextWeek:"[on] MMM DD"}):T(e,{sameDay:"[Today]",nextDay:"[Tomorrow]",lastDay:"[Yesterday]",sameElse:"[on] MMM DD, YYYY",lastWeek:"[on] MMM DD, YYYY",nextWeek:"[on] MMM DD, YYYY"})},qn=e=>{let t=e?.payout,r=e?.settlement;if(!e)return {tooltip:[],status:void 0};if(!["PAID_OUT","SETTLED"].includes(e?.status||""))return {tooltip:[...r?.scheduled?[{left:"settlement_scheduled",right:`${h(r?.scheduled)}`}]:[],...t?.scheduled?[{left:"payment_scheduled",right:`${h(t?.scheduled)}`}]:[]],status:"PENDING"};if(e?.status==="PAID_OUT"){let n=t?.activities.find(o=>o.status==="PAID_OUT");return {tooltip:[{left:"paidOut",right:`${h(n?.date)}`}],status:"PAID_OUT"}}if(e?.status==="SETTLED"){let n=r?.activities.find(o=>o.status==="SETTLED");return {tooltip:[{left:"settled",right:`${h(n?.date)}`},...t?.scheduled?[{left:"payment_scheduled",right:`${h(t?.scheduled)}`}]:[]],status:"SETTLED"}}};var Qn=(e,t)=>{let{isFirst:r,isLast:n}=t||{};return `${(e+0)/898*100}%`},eo=({table:e,cellID:t,tableMode:r})=>{switch(e){case "charge":return Sn[t][r];case "refund":return $n$1[t][r];case "authorization":return Rn$1[t][r];case "intents":return Un$1[t][r];case "topups":return bo$1[t][r];case "destinations":return Tn[t][r];case "leads":return Wn$1[t][r];case "orders":return Xn[t][r];case "tokens":return ao[t][r];case "payouts":return Yn[t][r];case "protectCharges":return _n$1[t][r];case "protectAuthorizations":return Zn[t][r];case "wallet":return co[t][r];case "invoices":return Vn$1[t][r];case "authentications":return Qn$1[t][r];case "walletDetails":return _do[t][r];case "walletStatement":return eo$1[t][r];case "merchants":return fo$1[t][r];case "terminals":return go$1[t][r];case "orchestrationTerminals":return ho[t][r];case "orchestrationRouting":return io[t][r];default:return "100px"}},to=(e,t)=>{let r,n=window.innerHeight-24-264;return e?r=window.innerHeight/1.7:t?r=n-100:r=n-20,Math.floor(r/(e||t?52:70))},Ct=()=>{let e=window.innerHeight*.82/1.24-57;return Math.floor(e/70)},ro=e=>{let t=Ct();return e<t+1},no=e=>e==="default",oo=e=>e==="sheet",so=()=>({charge:{prefixes:["chg_","payout_","settlement_","terminal_"],accessor:e=>[e.id,e.capture?.charge?.map(t=>t.id),e.charge?.id,e.transactions?.map(t=>t.id),e.charge_id],label:"Charge",appCode:Bn.acceptance.code,serviceCode:Bn.acceptance.services.charges.code,icon:"capture"},authorize:{prefixes:["auth_"],keys:["id","authorize.id","source.id","charge.source.id"],label:"Authorization",appCode:Bn.acceptance.code,serviceCode:Bn.acceptance.services.authorization.code,icon:"capture"},intents:{prefixes:["intent_"],keys:[],label:"Intents",appCode:Bn.acceptance.code,serviceCode:Bn.acceptance.services.intents.code,icon:"capture"},refunds:{prefixes:["re_","payout_"],accessor:e=>[e?.refunds?.refund?.map(t=>t.id),e?.id,...e?.refunds?.length?[e?.refunds?.map(t=>t.id)]:[]],label:"Refunds",appCode:Bn.acceptance.code,serviceCode:Bn.acceptance.services.refunds.code,icon:"refund"},authentication:{prefixes:["auth_payer_"],keys:["authentication.id"],label:"Authentication",appCode:Bn.authentication.code,serviceCode:Bn.authentication.services.authentication.code,icon:"capture"},order:{prefixes:["order_","ord_"],keys:["order.id"],label:"Order",appCode:Bn.order.code,serviceCode:Bn.order.services.orders.code,icon:"capture"},chargeFlags:{prefixes:["flag_"],accessor:e=>e?.flags?.flag?.map(t=>t.id),label:"Flags",appCode:Bn.protect.code,serviceCode:Bn.protect.services.chargesFlags.code,icon:"flag"},authorizationFlags:{prefixes:["flag_"],accessor:e=>e?.flags?.flag?.map(t=>t.id),label:"Flags",appCode:Bn.protect.code,serviceCode:Bn.protect.services.authorizationsFlags.code,icon:"flag"},token:{prefixes:["tok_"],keys:["source.id"],label:"Token",appCode:Bn.tokens.code,serviceCode:Bn.tokens.services.tokens.code,icon:"capture"},destination:{prefixes:["trf_","payout_"],accessor:e=>[e?.destinations?.destination?.map(t=>t?.transfer?.id),e?.id],label:"Destination",appCode:Bn.acceptance.code,serviceCode:Bn.acceptance.services.destinations.code,icon:"destination"},payout:{prefixes:["payout_"],keys:["balance.payout.id"],label:"Payout",appCode:Bn.payouts.code,serviceCode:Bn.payouts.services.payouts.code,icon:"capture"},settlement:{prefixes:["settlement_"],keys:["settlement.id"],label:"Settlement",appCode:Bn.acceptance.code,serviceCode:Bn.acceptance.services.settlements.code,icon:"capture"},intent:{prefixes:["intent_"],keys:["intent.id"],label:"Intent",appCode:Bn.acceptance.code,serviceCode:Bn.acceptance.services.intents.code,icon:"capture"},topup:{prefixes:["topup_"],keys:["topup.id"],label:"Topup",appCode:Bn.acceptance.code,serviceCode:Bn.acceptance.services.topups.code,icon:"capture"}});var uo=e=>typeof e=="string"&&e.trim().length>0,U=(e,t)=>{if(!t)return e;let r=e.indexOf(t);return e.substring(r+t.length)},k=new Map,z=(e,t)=>(k.has(t)||k.set(t,new RegExp(t,"gi")),e.match(k.get(t))?.length??0),lo=e=>e.reduce((t,r)=>(t.push(r[0]),t),[]),mo=()=>crypto?.randomUUID?.()||Math.random().toString(36).substring(2,15),po=e=>{if(navigator.clipboard)navigator.clipboard.writeText(e);else {let t=document.createElement("textarea");t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove();}},go=e=>typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1),fo=e=>{let[t]=e.split("%");return parseFloat(t)||0},xo=e=>`\u2022\u2022\u2022 ${e.slice(-4)}`,yo=(e,t=/_/g,r=" ")=>{let n=e.replace(t,r);return We(n)},To=e=>Ke(We(e));var Co=(e,t)=>!e?.last_four||!t?"":`${t?.toLowerCase()} - ${e?.last_four}`,bo=(e,t)=>!t||!e?"":`${e?.toLowerCase()||"ID"} \u2022 ${t?.slice(-4)}`;function Do({unCapturedCode:e,unCapturedMessage:t,acquirerCode:r,acquirerMessage:n,gatewayCode:o,gatewayMessage:s}){let i=e&&t&&`${e} - ${t}`,a=r&&n&&`${r} - ${n}`,u=o&&s&&`${o} - ${s}`;return {unCapturedTooltip:i,acquirerTooltip:a,gatewayTooltip:u}}function wo(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}var B=e=>e==null||e==="";function Ao(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>Array.isArray(t)?t.length>0&&t?.some(r=>!B(r)):typeof t=="object"?Object.values(t||{}).some(r=>!B(r)):!B(t)))}var Io=()=>Jn$1===Kn.TAPSTERS_FRONTEND;var Lo=e=>e.replace(/[^0-9]/g,"");function vo({rowData:e,prefixes:t,keys:r=[],accessor:n}){let o=!!n;return (o?n?.(e):r)?.filter(Boolean)?.reduce((a,u)=>{let d=o?u:Oe(e,u);return typeof d=="string"&&t?.some(m=>d.includes(m)&&z(U(d,m),"_")===0)&&a.push(d),Array.isArray(d)&&d.length>0&&d.every(m=>typeof m=="string"&&t?.some(p=>m.includes(p)&&z(U(m,p),"_")===0))&&a.push(...d),a},[])}var $o=450,ko=600;var Uo=3;var zo=20,Dt=(r=>(r.Index="index",r.Date="date",r))(Dt||{}),Bo={name:"index",label:"",selected:true,menuItems:void 0,order:0,pinned:"start",isDefaultPinned:true,pinnable:true},Wo={name:"date",label:"Date",selected:true,menuItems:void 0,order:1,pinned:"start",isDefaultPinned:true,pinnable:true},Vo={date:"Date",index:"Index"},Yo={sheet:["sheet"],default:["advanced","default"],text:["text"]},Ho={sheet:"Advanced",default:"Sheet",text:"text"},Et={id:"default",label:"Default"},Go={id:"custom",label:"Custom view"},Ko=[Et];function Xo(e,t,r){return e.filter(n=>{let o=n?.id?.toString(),s=t.find(p=>{let E=p.code?.toLowerCase()===o?.toLowerCase(),C=p.name?.toLowerCase()===o?.toLowerCase();return (E||C)&&p.selected}),i=!!n.tableViewId&&(s?.menuItems?.length||0)>0,a=s?.menuItems?.find(p=>p.name?.toLowerCase()===n.tableViewId?.toString()?.toLowerCase())?.selected,u=!!s&&(a||!i),m=["actions","action_icon",...r?["index","date"]:[]].includes(o?.toLowerCase()??"");return !!(u||m)})}function Zo(e,t){if(t.toLowerCase()==="index")return 0;let r=e.findIndex(o=>o.code?.toLowerCase()===t?.toLowerCase()),n=e[r];return r>=0?n?.sort_order??r:999}function Qo(e,t,r){return e?.find(n=>{let o=n.code?.toLowerCase()===t.toLowerCase(),s=n.name?.toLowerCase()===t.toLowerCase();return o||s})?.menuItems?.find(n=>n.name?.toLowerCase()===r.toLowerCase()&&n.selected)?.selected||false}function es(e,t){return e?.filter(r=>!!r.name?.[0]?.text)?.map(r=>({code:r.code,label:y(r.name,t),name:y(r.name,t)||"",selected:r?.selected!==false,sort_order:r.sort_order,menuItems:r.fields?.map(n=>n.parameters?.filter(o=>!!o.code)?.map(o=>({code:o.code,label:We(o.code),name:`${o.code}`,selected:o?.selected!==false})))?.flat()?.filter(n=>!!n.name)}))||[]}function ts(e){return e.map(t=>({...t.code?{code:t.code}:{},name:[{text:t.name,lang:"en"}],selected:t.selected,sort_order:1,sorting:"descending",fields:t.menuItems?.map(r=>({code:r.name,type:"single",parameters:[{parameter:r.name,code:r.name,selected:r.selected}]}))||[]}))}var rs=({columnsView:e,columnsIds:t,selected:r})=>{let n=new Set(t.map(s=>s?.toLowerCase())),o=s=>({...s,selected:r,fields:s.fields?.map(i=>({...i,parameters:i.parameters?.map(a=>({...a,selected:r}))??[]}))});return e.map(s=>n.has(s.code?.toLowerCase()??"")||n.has(s.name?.[0]?.text?.toLowerCase()??"")?o(s):s)};function os(e){return {fullPhone:e?.number?`${e?.country_code||""} ${e?.number}`:"",code:e?.country_code||"",number:e?.number||""}}var Ve=(e,t)=>{let r=e.type==="url"?e.url:window.URL.createObjectURL(new Blob([e.content])),n=document.createElement("a");n.href=r,n.setAttribute("download",t),document.body.appendChild(n),n.click(),n.remove(),e.type==="content"&&window.URL.revokeObjectURL(r);},is=(e,t)=>Ve({type:"content",content:e},t),as=(e,t)=>Ve({type:"url",url:e},t);var At=e=>!!(e?.isAxiosError&&!e?.response),us=(e,t="")=>e?.response?.data?.error?.message?.trim()||t,ls=e=>!!e,_t=e=>(e?.code==="ECONNABORTED"||e?.message?.toLowerCase().includes("timeout"))??false,ds=e=>!!(e?.response?.status===404||e?.response?.status===400&&e?.response?.data?.error?.message?.toLowerCase().includes("not found")),D=({code:e,message:t})=>e?`${t} - ${e}`:t,ms=({error:e,fallbackMessage:t})=>{if(At(e)){let n=t??"networkError";return {code:null,message:n,formatted:D({code:null,message:n})}}if(_t(e)){let n=t??"yourRequestOutPleaseTryAgain";return {code:null,message:n,formatted:D({code:null,message:n})}}if(e?.response&&typeof e.response.data=="object"&&"error"in e.response.data){let{code:n,message:o}=e.response.data.error;return {code:n,message:o,formatted:D({code:n,message:o})}}let r=t??"somethingWentWrong";return {code:null,message:r,formatted:D({code:null,message:r})}};var gs=(e,t)=>e.find(r=>r.code===t),fs=(e,t)=>e.find(r=>r.code===t);var Ts=()=>["passport","national_id","iqamah","civil_id"].map(e=>({id:e,label:We(e)}));function Cs(e,t=2){let n=e??0;if(!n)return "0 kb";let o=n/1024;return o>1024?`${(o/1024).toFixed(t)} mb`:`${o.toFixed(t)} kb`}function bs(e){return e?.file?.size!==void 0&&e?.file?.name!==void 0}var Es=e=>{let t=e?.split(".").pop()?.toLowerCase()??"";return bp[t]??Ve$1},ws=(e,t,r)=>`${e}-${t}-${r}`;var _s=e=>e?/[\u0600-\u06FF]/g.test(e):false;function Os(e,t="en"){return (e||[]).find(r=>(r?.lang||r?.locale)===t)||e?.[0]}var y=(e,t="en")=>(e||[]).find(r=>r?.lang===t)?.text,Is=(e,t="en")=>(e||[]).find(r=>r?.lang===t);var Ls=e=>{let t=e?.wallet==="SV Wallet"?"walletStoredValue":"walletPassThru";return e?.type==="Wallet"?t:e?.type},It={AMERICAN_EXPRESS:"AMEX"},Ye=e=>It[e.toUpperCase()]??e.toUpperCase(),Ps=(e,t)=>!!e&&!!t&&Ye(e)===Ye(t);var Rs=e=>({Local:e.success.light,Regional:e.info.light,Global:e.warning.light});var $s=(e,t)=>{if(t==null)return "";let r=Bo$1[e];return e===Ao$1.COUNT?t===1?r:`${r}s`:r};var g={primary:"#1F88D0",background:"white",border:"#F2F2F2",transparent:"transparent"},x={thin:"0.5px",thick:"1px",none:"0px"},He={minHeight:"28px",fullHeight:"100%"},Us=({isSelected:e,isCellSelected:t,isColumnSelected:r,isRowSelected:n,isLastRow:o})=>e?n?Nt():t&&!r?Lt():r?Pt(o):{}:{},Nt=()=>({backgroundColor:g.background,color:g.primary}),Lt=()=>({border:`${x.thin} solid ${g.primary}`,backgroundColor:g.background,color:g.primary,borderRadius:"2px"}),Pt=e=>{let t=Ft(),r=Rt(e);return {borderWidth:t,borderStyle:"solid",borderColor:g.primary,borderBottom:r,height:He.fullHeight,minHeight:He.minHeight,display:"flex",alignItems:"center"}},Ft=()=>{let{none:e,thin:t}=x;return `${e} ${t} ${t} ${t}`},Rt=e=>e?`${x.thick} solid ${g.primary}`:`${x.thin} solid ${g.border}`,zs=({effectiveFirst:e,isPinnedStart:t,isPinnedEnd:r})=>({borderTop:`${x.thin} solid ${g.primary}`,borderBottom:`${x.thin} solid ${g.primary}`,borderRight:`${x.thin} solid ${r?g.primary:"none"}`,borderLeft:`${x.thin} solid ${t&&e?g.primary:"transparent"}`}),Bs={left:"flex-start",center:"center",right:"flex-end"};function Ws(e,t){return t==null?e:[e,...Array.isArray(t)?t:[t]]}function Vs(...e){return e.filter(Boolean).join(" ")||void 0}var W=V(lo$1,no$1,mo$1);function V(e,t,r){let n=getTimezone(r);return n?{countryCode:e,label:`(GMT${n.utcOffsetStr}) ${Be(e)??t}`,timezone:r,offset:n.utcOffset/oo$1}:W}var $t=e=>{let t=getCountry(e),r=t?.timezones[0];if(!(!t||!r))return V(e,t.name,r)},js=e=>$t(e)??W,Js=e=>{let t=getCountryForTimezone(e),r=getTimezone(e);return !t||!r?W:V(t.id,t.name,e)};function ti(e){return {name:"Payment Methods",type:"payment_methods",options:e?.map(t=>({name:Ke(We(y(t?.name))),type:t?.code,icon:Co$1[t.code]??Co$1.CARD,options:t.payment_methods?.map(r=>({name:y(r.name),type:r.code}))}))}}function ri(e=[]){return {name:"Payment Schemes",type:"payment_scheme",options:e.filter(t=>t.code).map(t=>({name:Ke(We(y(t?.name))),type:t?.code}))}}var Je=["120px","180px","100px","150px","200px","140px","160px","110px","190px","130px"],kt={id:"index",header:"",width:"34px",order:0,hidden:false,sortable:false,pinned:"start",isDefaultPinned:true,pinnable:true},Ut={id:"date",header:"",width:"120px",order:1,hidden:false,sortable:false,pinned:"start",isDefaultPinned:true,pinnable:true},zt={id:"action_icon",header:"",width:"36px",order:Je.length+3,hidden:false,sortable:false,pinned:"end",pinnable:true,isDefaultPinned:true},Bt=(e=Je)=>{let t=e.map((r,n)=>({id:`skeleton-col-${n}`,header:"",width:r,order:n+2,hidden:false,sortable:false,pinnable:false}));return [kt,Ut,...t,zt]},oi=(e,t,r)=>r&&t?Bt():[...e];var ii=(e,t)=>e.map(r=>{let n=Object.entries(t);if(!r.default||!r.layout?.length||!n.length)return r;let o=new Map(n.map(([i,a])=>[i.toLowerCase(),a])),s=r.layout.map(i=>({...i,columns:i.columns?.map(a=>{let u=a.code?.toLowerCase();if(!u||!o.has(u))return a;let d=o.get(u)??false;return {...a,default:d,fields:a.fields?.map(m=>({...m,default:d}))}})}));return {...r,layout:s}});var ui=(e,t)=>t.some(r=>!!e[r]),li=(e,t,r)=>t?e:e.map(n=>{if(r.hiddenFilterColumnIds.includes(n.id)){let{filter:s,...i}=n,a=n.id,u=typeof i.header=="function"?We(a):i.header;return {...i,header:u}}let{hiddenFilterOptionKeys:o}=r;if(o&&n.filter&&"options"in n.filter&&n.filter.options){let s=n.filter.options,i=s.filter(a=>!a.apiKey||!o.includes(a.apiKey));if(i.length!==s.length)return {...n,filter:{...n.filter,options:i}}}return n});typeof window<"u"&&qe.addHook("afterSanitizeAttributes",e=>{e.tagName==="A"&&e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener noreferrer");});var Vt={USE_PROFILES:{html:true},ALLOWED_URI_REGEXP:/^(?:(?:https?|mailto|tel|blob):|[^a-z]|[-a-z.+]+(?:[^-a-z.+:]|$))/i,WHOLE_DOCUMENT:true},pi=e=>typeof window>"u"?"":String(qe.sanitize(e||"",Vt));var fi=e=>window?.__TAPOS_NEWRELIC_TRACKING_EVENTS__?.trackFeatureEvent?.(e),xi=e=>e.toISOString();function Ti(e,t){let r=e.replace(/:/g,"");return t?`${t}-${r}`:r}function Yt(e){return e!=null&&e!==""}function Ci(e,t){let r=e!=null,n=t&&"message"in t?t.message:e?.message,o=Yt(n);return {isProvided:r,isVisible:o,type:o?e?.type:void 0}}export{Xr as $,mo as $a,y as $b,wr as A,Pn as Aa,Go as Ab,Ci as Ac,Ie as B,Fn as Ba,Ko as Bb,Ar as C,Rn as Ca,Xo as Cb,_r as D,$n as Da,Zo as Db,Or as E,ze as Ea,Qo as Eb,Ir as F,kn as Fa,es as Fb,Nr as G,Un as Ga,ts as Gb,Lr as H,yt as Ha,rs as Hb,Pr as I,zn as Ia,os as Ib,Fr as J,Wn as Ja,Ve as Jb,Pe as K,Vn as Ka,is as Kb,at as L,Be as La,as as Lb,ct as M,Hn as Ma,At as Mb,$r as N,h as Na,us as Nb,Wr as O,Jn as Oa,ls as Ob,Me as P,qn as Pa,_t as Pb,Vr as Q,Qn as Qa,ds as Qb,Yr as R,eo as Ra,ms as Rb,Hr as S,to as Sa,gs as Sb,Gr as T,ro as Ta,fs as Tb,R as U,no as Ua,Ts as Ub,Kr as V,oo as Va,Cs as Vb,jr as W,so as Wa,bs as Wb,v as X,uo as Xa,Es as Xb,Jr as Y,U as Ya,ws as Yb,qr as Z,z as Za,_s as Zb,lt as _,lo as _a,Os as _b,Kt as a,Zr as aa,po as ab,Is as ac,jt as b,Qr as ba,go as bb,Ls as bc,Jt as c,en as ca,fo as cb,Ps as cc,qt as d,tn as da,xo as db,Rs as dc,Zt as e,rn as ea,yo as eb,$s as ec,Qt as f,nn as fa,To as fb,g as fc,er as g,on as ga,Co as gb,Us as gc,Qe as h,sn as ha,bo as hb,zs as hc,tr as i,an as ia,Do as ib,Bs as ic,rr as j,cn as ja,wo as jb,Ws as jc,f as k,un as ka,B as kb,Vs as kc,nr as l,ln as la,Ao as lb,js as lc,S as m,dn as ma,Io as mb,Js as mc,gr as n,mn as na,Lo as nb,ti as nc,fr as o,pn as oa,vo as ob,ri as oc,xr as p,gn as pa,$o as pb,Je as pc,yr as q,fn as qa,ko as qb,Bt as qc,Tr as r,xn as ra,Uo as rb,oi as rc,hr as s,yn as sa,zo as sb,ii as sc,Cr as t,$e as ta,Dt as tb,ui as tc,br as u,M as ua,Bo as ub,li as uc,Sr as v,Dn as va,Wo as vb,pi as vc,Ne as w,wn as wa,Vo as wb,fi as wc,T as x,An as xa,Yo as xb,xi as xc,Dr as y,_n as ya,Ho as yb,Ti as yc,Er as z,Ln as za,Et as zb,Yt as zc};
@@ -1,2 +0,0 @@
1
- var i="https://cdn.tap.company/tap-assets",e=`${i}/icons/dashboard/light`,t=`${e}/other`,st=`${e}/function`,ze=`${i}/videos`,Ke=`${i}/files`,f=`${Ke}/templates`,ct=c=>`${e}/${c}.svg`,pt=c=>`${e}/payment-method/v2/${c}.svg`,at=c=>`${e}/payment-issuer/${c}.svg`,rt=c=>`${e}/country/v3/${c}.svg`,xt=c=>`${e}/function/${c}.svg`,it=c=>`${e}/statusIcons/${c}.svg`,dt=c=>`${i}/currency/v3/light/${c}.svg`,lt=c=>{let Ve=c.replace(/\s/g,"");return `${i}/icons/dashboard/light/authority/v2/${Ve}.svg`},ut=c=>`${e}/browsers/${c}.svg`,gt=c=>`${e}/payment-initiator/${c}.svg`,It=c=>`${e}/payment-gateways/${c}.svg`,vt=c=>`${e}/aging/${c}.svg`,ht=`${e}/currency/sar.svg`,mt=`${e}/currency/dirham.svg`,At=`${e}/abandoned.svg`,ft=`${e}/abandonedYellow.svg`,Et=`${e}/chevron-down.svg`,$t=`${e}/removeIcon.svg`,Tt=`${e}/reversed.svg`,St=`${e}/destinationSolid.svg`,_t=`${e}/search.svg`,yt=`${e}/unauthorized.svg`,Pt=`${e}/view.svg`,bt=`${e}/reports.svg`,Ct=`${e}/flag.svg`,Rt=`${e}/dispute.svg`,Nt=`${e}/timezone.svg`,wt=`${e}/greyTimezone.svg`,Ot=`${e}/subscription.svg`,Lt=`${e}/savedCard.svg`,kt=`${e}/egypt.svg`,Bt=`${e}/saudiArabia.svg`,Mt=`${e}/jordan.svg`,Ut=`${e}/lebanon.svg`,Dt=`${e}/kuwait.svg`,Ft=`${e}/unitedArabEmirates.svg`,Wt=`${e}/europe.svg`,Gt=`${e}/bahrain.svg`,Ht=`${e}/america.svg`,Yt=`${e}/payment-method/v2/card.svg`,Vt=`${e}/payment-method/v2/UnionPay.svg`,zt=`${e}/payment-method/v2/JAYWAN.svg`,Kt=`${e}/device.svg`,qt=`${e}/expressCheckout.svg`,Zt=`${e}/applePay.svg`,Qt=`${e}/cash.svg`,jt=`${e}/passThruWallet.svg`,Jt=`${e}/storedValueWallet.svg`,Xt=`${e}/buyNowPayLater.svg`,eo=`${e}/openBanking.svg`,to=`${e}/FrictionlessIcon.svg`,oo=`${e}/ChallengeIcon.svg`,no=`${e}/visa.svg`,so=`${e}/redArrowDownIcon.svg`,co=`${e}/completed.svg`,po=`${e}/chargebackRequested.svg`,ao=`${e}/chargeback.svg`,ro=`${t}/captureDropdown.svg`,xo=`${e}/disputeResolved.svg`,io=`${e}/reversePayout.svg`,lo=`${e}/ellipsisHorizontal.svg`,uo=`${e}/3ds.svg`,go=`${e}/invoiceIdIcon3.svg`,Io=`${e}/idIcon3.svg`,vo=`${e}/id.svg`,ho=`${t}/copyIcon.svg`,mo=`${t}/codeIcon.svg`,Ao=`${t}/GreenCheckMark2.svg`,fo=`${e}/closedDispute.svg`,Eo=`${e}/openDispute.svg`,$o=`${e}/desktop.svg`,To=`${e}/mobile.svg`,So=`${e}/tablet.svg`,_o=`${e}/invoice.svg`,yo=`${e}/cancelledInvoiceIcon.svg`,Po=`${e}/expiredInvoiceIcon.svg`,bo=`${e}/invoiceNumberIcon.svg`,Co=`${e}/column.svg`,Ro=`${e}/sortAz.svg`,No=`${e}/sortZa.svg`,E=`${e}/zipFile.svg`,wo=`${e}/successWhiteBg.svg`,Oo=`${e}/failedWhiteBgIcon.svg`,Lo=`${e}/exclamationGreyIcon.svg`,ko=`${e}/exclamationDarkGreyIcon.svg`,Bo=`${e}/percentage0.svg`,Mo=`${e}/percentage50.svg`,Uo=`${e}/percentage75.svg`,Do=`${e}/percentage100.svg`,Fo=`${e}/maximize.svg`,Wo=`${e}/minimize.svg`,Go=`${e}/close.svg`,Ho=`${e}/dashedCheckIcon.svg`,Yo=`${e}/outstandingIcon.svg`,Vo=`${e}/cancelledStatusIcon.svg`,zo=`${e}/expiredStatusIcon.svg`,Ko=`${e}/paidStatusIcon.svg`,qo=`${e}/refundedStatusIcon.svg`,Zo=`${e}/deactivatedIcon.svg`,Qo=`${e}/topup.svg`,jo=`${e}/AIOverviewIcon.svg`,Jo=`${t}/demaximize.svg`,Xo=`${e}/pendingFlag.svg`,en=`${e}/ibanIcon.svg`,tn=`${e}/payoutIcon.svg`,on=`${e}/releasedFlag.svg`,nn=`${e}/acceptedFlag.svg`,sn=`${e}/clearIcon.svg`,cn=`${e}/status/unCaptured.svg`,pn=`${t}/newWindow.svg`,an=`${t}/viewAll.svg`,rn=`${t}/allApps.svg`,xn=`${t}/hide.svg`,dn=`${t}/close.svg`,ln=`${t}/star.svg`,un=`${t}/closeCircle.svg`,gn=`${t}/acquirer.svg`,In=`${e}/GenericIconNew.svg`,vn=`${t}/acquirerRed.svg`,hn=`${t}/gateway.svg`,mn=`${t}/acquirerOrange.svg`,An=`${e}/status/capturedAuthorize.svg`,fn=`${t}/merchantInitiated.svg`,En=`${t}/rightArow.svg`,$n=`${e}/blackRightArrow.svg`,Tn=`${t}/orangeFlag.svg`,Sn=`${t}/openFlag.svg`,_n=`${t}/closedFlag.svg`,yn=`${t}/redFlag.svg`,Pn=`${t}/grayFlag.svg`,bn=`${t}/downArrow.svg`,Cn=`${t}/check.svg`,Rn=`${t}/closeX.svg`,Nn=`${t}/drag.svg`,wn=`${t}/checkboxIcon.svg`,On=`${e}/plusWhite.svg`,Ln=`${t}/checkboxIcon.svg`,kn=`${e}/Uniso.svg`,Bn=`${e}/addidas.svg`,Mn=`${e}/radioButtonChecked.svg`,Un=`${e}/radioButtonUnchecked.svg`,Dn=`${e}/Mac.svg`,Fn=`${e}/blueCheckIconZigzag.svg`,Wn=`${e}/greenCheckIconZigzag.svg`,Gn=`${e}/dimmedCheckIconZigzag.svg`,Hn=`${e}/marketPlaceBlue.svg`,Yn=`${e}/marketplaceBlackIcon.svg`,Vn=`${e}/marketPlaceDimmed.svg`,zn=`${e}/moneyOut.svg`,Kn=`${e}/moneyOutDimmed.svg`,qn=`${e}/moneyIn.svg`,Zn=`${e}/moneyInDimmed.svg`,Qn=`${e}/message.svg`,jn=`${e}/pending.svg`,Jn=`${e}/payStream.svg`,Xn=`${e}/clearCoin.svg`,es=`${t}/walletSmall.svg`,ts=`${t}/bank.svg`,os=`${t}/hijri.svg`,ns=`${t}/darkLeftArrow.svg`,ss=`${t}/darkRightArrow.svg`,cs=`${t}/spinnerLoading.svg`,ps=`${t}/spinnerLoadingAnimated.svg`,as=`${t}/actionFail.svg`,rs=`${t}/actionSuccess.svg`,xs=`${t}/checkMark.svg`,is=`${t}/logout.svg`,ds=`${t}/preferences.svg`,ls=`${t}/transform.svg`,$=`${t}/token.svg`,l=`${t}/billing.svg`,us=`${t}/receiptBill.svg`,gs=`${e}/newReceiptIcon.svg`,u=`${t}/acceptance.svg`,Is=`${e}/acceptanceEnabled.svg`,vs=`${e}/acceptanceBlue.svg`,hs=`${e}/payoutsGreen.svg`,ms=`${t}/acceptanceAppIconDisabled.svg`,As=`${t}/payoutsAppIconDisabled.svg`,fs=`${e}/payoutEnabled.svg`,Es=`${e}/payoutAppGreenIcon.svg`,$s=`${e}/payoutDisabledRounded.svg`,Ts=`${e}/acceptanceDisabledRounded.svg`,g=`${t}/AuthenticationApp.svg`,I=`${t}/walletApp.svg`,v=`${t}/payouts.svg`,T=`${t}/protect.svg`,S=`${t}/customers.svg`,_=`${t}/business.svg`,y=`${t}/account.svg`,Ss=`${t}/disableCheck.svg`,_s=`${t}/wifiOff.svg`,ys=`${t}/SandboxHovered.svg`,Ps=`${t}/Sandbox.svg`,bs=`${t}/ExclamationError.svg`,Cs=`${t}/greyCheck.svg`,Rs=`${t}/greyCross.svg`,Ns=`${t}/blueCheck.svg`,ws=`${t}/disabledCheck.svg`,Os=`${t}/darkCheck.svg`,Ls=`${t}/collapseArrow.svg`,ks=`${t}/world.svg`,Bs=`${t}/grayUpArrow.svg`,Ms=`${t}/blackHeadingDownArrowIcon.svg`,Us=`${t}/blueHeadingDropdownArrow.svg`,Ds=`${t}/dropdownArrow.svg`,Fs=`${t}/greyDropdownIcon.svg`,P=`${t}/business2.svg`,b=`${t}/development.svg`,Ws=`${t}/financial.svg`,C=`${t}/light_master_orchestrator.svg`,R=`${t}/platform.svg`,Gs=`${t}/provider.svg`,N=`${t}/appPlatform.svg`,Hs=`${t}/authenticationGateway.svg`,w=`${t}/billingPlatform.svg`,O=`${t}/commercePlatform.svg`,Ys=`${t}/commercialRegulator.svg`,Vs=`${t}/merchantServiceProvider.svg`,L=`${t}/paymentAcquirer.svg`,k=`${t}/paymentFacilitator.svg`,B=`${t}/paymentGatewayProvider.svg`,M=`${t}/paymentIssuer.svg`,U=`${t}/paymentMethod.svg`,D=`${t}/paymentProcessor.svg`,F=`${t}/paymentScheme.svg`,W=`${t}/paymentTechnologyV2.svg`,G=`${t}/paymentTerminalProvider.svg`,H=`${t}/retailPlatform.svg`,zs=`${t}/retailer.svg`,Y=`${t}/light_business.svg`,V=`${t}/light_development.svg`,Ks=`${t}/financial.svg`,z=`${t}/light_master_orchestrator.svg`,K=`${t}/light_platform.svg`,qs=`${t}/provider.svg`,q=`${t}/light_app_platform.svg`,Zs=`${t}/light_authentication_gateway.svg`,Z=`${t}/light_billing_platform.svg`,Q=`${t}/light_commerce_platform.svg`,Qs=`${t}/light_commercial_regulator.svg`,js=`${t}/light_merchant_service_provider.svg`,j=`${t}/light_payment_acquirer.svg`,J=`${t}/light_payment_facilitator.svg`,X=`${t}/light_payment_gateway_provider.svg`,ee=`${t}/light_payment_issuer.svg`,te=`${t}/light_payment_method.svg`,oe=`${t}/light_payment_processor.svg`,ne=`${t}/light_payment_scheme.svg`,se=`${t}/light_payment_technology_v2.svg`,ce=`${t}/light_payment_terminal_provider.svg`,pe=`${t}/light_retail_platform.svg`,Js=`${t}/light_retailer.svg`,Xs=`${t}/brandGray.svg`,ec=`${e}/grayCircleIcon.svg`,tc=`${t}/json.svg`,oc=`${t}/jsonBlackIcon.svg`,nc=`${t}/sort1.svg`,sc=`${t}/SandboxHoveredLight.svg`,cc=`${t}/emailColoured.svg`,pc=`${e}/OrderIcon.svg`,ac=`${e}/TransactionIcon.svg`,rc=`${e}/GenericIcon.svg`,xc=`${t}/smsColoured.svg`,ic=`${t}/whatsAppColored.svg`,dc=`${t}/dueDateBlue.svg`,lc=`${t}/dueDateOrange.svg`,uc=`${t}/dueDateYellow.svg`,gc=`${t}/dueDateRed.svg`,Ic=`${t}/dueDateBlack.svg`,vc=`${t}/dueDateGray.svg`,hc=`${t}/timerBlue.svg`,mc=`${t}/expiredIcon.svg`,Ac=`${t}/remindedRed.svg`,fc=`${t}/chevronWhite.svg`,Ec=`${t}/chevronGray.svg`,$c=`${t}/notVerified.svg`,Tc=`${t}/verified.svg`,Sc=`${t}/verifyReview.svg`,_c=`${e}/window/attention.svg`,yc=`${e}/window/initalAcceptance.svg`,Pc=`${e}/window/completedAcceptance.svg`,bc=`${e}/window/initalPayouts.svg`,Cc=`${e}/window/completedPayouts.svg`,Rc=`${t}/collapseArrowsIcon.svg`,Nc=`${t}/expandArrowsIcon.svg`,wc=`${t}/greenArrowRight.svg`,Oc=`${t}/greenArrowLeft1.svg`,Lc=`${t}/greenIconWithArrowUp.svg`,kc=`${t}/whiteArrowRight.svg`,Bc=`${t}/whiteArrowLeft.svg`,Mc=`${e}/HSBCBank.svg`,Uc=`${e}/shopifyIcon.svg`,Dc=`${e}/verifiedGreenBadge.svg`,Fc=`${e}/backButtonLeft.svg`,Wc=`${e}/eyeHideIcon.svg`,Gc=`${e}/eyeShowIcon.svg`,Hc=`${t}/uploadIcon.svg`,ae=`${e}/window/uploadGreyIcon.svg`,re=`${e}/uploadAppIcon.svg`,xe=`${e}/window/paylinkGreyIcon.svg`,ie=`${e}/paylinkAppIcon.svg`,Yc=`${e}/inprogressIcon.svg`,Vc=`${e}/redCloseCircleIcon.svg`,zc=`${t}/uploadBlueIcon.svg`,Kc=`${t}/SandboxHovered.svg`,qc=`${t}/sandboxDefaultIcon.svg`,Zc=`${t}/SandboxIcon.svg`,Qc=`${t}/clock.svg`,jc=`${t}/RedClose.svg`,h=`${t}/xls.svg`,de=`${t}/csv.svg`,Jc=`${t}/pdf.svg`,Xc=`${t}/Download.svg`,ep=`${t}/reportsIconOutlined.svg`,tp=`${t}/Done.svg`,op=`${t}/reportApps.svg`,le=`${e}/window/ReportsApp.svg`,ue=`${e}/window/leadApp.svg`,ge=`${e}/window/leadTitleIcon.svg`,Ie=`${t}/OrderApp.svg`,ve=`${t}/OrderTitleIcon.svg`,np=`${e}/dottedLine.svg`,sp=`${e}/passwordDots.svg`,cp=`${e}/dollarSign.svg`,pp=`${e}/reload.svg`,ap=`${t}/deletedStatus1.svg`,rp=`${t}/draftedStatus1.svg`,xp=`${t}/createdStatus1.svg`,ip=`${t}/cancelledStatus1.svg`,dp=`${t}/expiredStatus1.svg`,lp=`${t}/paidStatus1.svg`,up=`${t}/deliveredStatus1.svg`,gp=`${t}/viewedStatus1.svg`,Ip=`${t}/savedStatus1.svg`,vp=`${t}/scheduledStatus1.svg`,hp=`${t}/invoicePendingStatus2.svg`,mp=`${t}/invoiceRefundedStatus2.svg`,Ap=`${e}/activeLeadStatus.svg`,fp=`${e}/completedLeadStatus.svg`,Ep=`${e}/closedLeadStatus.svg`,$p=`${e}/expiredLeadStatus.svg`,Tp=`${e}/readyLeadStatus.svg`,Sp=`${e}/fileIcon.svg`,_p=`${e}/clipboardFileGrayIcon.svg`,yp=`${e}/newFileIcon.svg`,Pp=`${e}/downloadFileIcon.svg`,bp=`${e}/progressFileIcon.svg`,Cp=`${e}/successFileIcon.svg`,Rp=`${e}/whiteArrowDownIcon.svg`,Np=`${e}/teamWindowIcon.svg`,wp=`${e}/blueAppsIcon.svg`,Op=`${e}/disabledCardIcon.svg`,Lp=`${e}/disabledCodeIcon.svg`,kp=`${e}/layersIcon.svg`,Bp=`${e}/status/pendingOnTapIcon.svg`,Mp=`${e}/leadWhiteIcon.svg`,Up=`${t}/chatDisabledIcon.svg`,Dp=`${e}/exclamationDarkIcon.svg`,Fp=`${t}/exclamationWarning.svg`,Wp=`${e}/exclamationError.svg`,Gp=`${e}/exclamationOrangeIcon.svg`,Hp=`${t}/greenCheckV2.svg`,Yp=`${e}/iosIcon1.svg`,Vp=`${e}/androidIcon.svg`,zp=`${e}/websiteIcon.svg`,Kp=`${t}/greyApple.svg`,qp=`${t}/greyLocationIcon.svg`,Zp=`${t}/greyDesktopIcon.svg`,Qp=`${t}/greyTimezone.svg`,jp=`${t}/safariBrowser.svg`,Jp=`${t}/chromeBrowser.svg`,Xp=`${t}/firefoxBrowser.svg`,ea=`${t}/microsoftBrowser.svg`,ta=`${t}/operaBrowser.svg`,oa=`${t}/braveBrowser.svg`,na=`${t}/arcBrowser.svg`,sa=`${t}/chromiumBrowser.svg`,ca=`${t}/userIcon.svg`,he=`${t}/slaProcess.svg`,me=`${e}/window/slaProcess.svg`,Ae=`${e}/orchestrationApp.svg`,fe=`${e}/window/orchestration.svg`,pa=`${e}/window/orchestrationWindowBg.svg`,Ee=`${e}/lendingApp.svg`,m=`${e}/window/lending.svg`,$e=`${e}/lendingProviderApp.svg`,Te=`${e}/deemaApp.svg`,Se=`${e}/window/deema.svg`,aa=`${e}/fast.svg`,ra=`${e}/bankBlue.svg`,xa=`${e}/mosque.svg`,ia=`${e}/mosqueBlack.svg`,da=`${e}/moonStar.svg`,la=`${e}/car.svg`,ua=`${e}/handCoinsWhite.svg`,ga=`${e}/list.svg`,Ia=`${e}/corporateLoan.svg`,va=`${e}/corporateLoanBlack.svg`,_e=`${e}/platformApp.svg`,ye=`${e}/window/platform.svg`,Pe=`${e}/osApp.svg`,be=`${e}/window/osApp.svg`,Ce=`${e}/riskApp.svg`,Re=`${e}/window/riskApp.svg`,ha=`${e}/status/table/abandoned.svg`,ma=`${e}/status/table/cancelled.svg`,Aa=`${e}/status/table/captured.svg`,fa=`${e}/status/table/chargeBack.svg`,Ea=`${e}/status/table/chargeBackRequested.svg`,$a=`${e}/status/table/completed.svg`,Ta=`${e}/status/table/declined.svg`,Sa=`${e}/status/table/destinationReversed.svg`,_a=`${t}/DestinationWithoutBackground.svg`,ya=`${e}/status/table/disputeResolved.svg`,Pa=`${e}/status/table/failed.svg`,ba=`${e}/status/table/failedNoBG.svg`,Ca=`${e}/status/table/declinedNoBg.svg`,Ra=`${t}/destinationSuccess.svg`,Na=`${e}/status/authenticationFailed.svg`,wa=`${e}/status/table/authenticated.svg`,Oa=`${e}/paidOutFilterIcon.svg`,La=`${e}/completedBlackIcon.svg`,ka=`${e}/scheduledFilterIcon.svg`,Ba=`${e}/saveTokenIcon.svg`,Ma=`${e}/status/unauthenticated.svg`,Ua=`${e}/status/authenticationAttempted.svg`,Da=`${e}/status/authenticationNoAuth.svg`,Fa=`${e}/status/authenticationDeclined.svg`,Wa=`${e}/status/authenticationExemptedWithoutTransaction1.svg`,Ga=`${e}/status/authenticationExemptedWithTransaction2.svg`,Ha=`${e}/status/authenticationFailed1.svg`,Ya=`${e}/status/authenticationInitiated.svg`,Va=`${e}/status/authenticationUnavailable.svg`,za=`${e}/status/authenticationUndetermined.svg`,Ka=`${e}/status/AuthenticationWithoutTransaction1.svg`,qa=`${e}/status/authenticationWithTransaction1 2.svg`,Za=`${e}/status/AuthenticationAuthenticated.svg`,Qa=`${e}/status/authenticationPending2.svg`,ja=`${e}/authenticationFailedNoBg.svg`,Ja=`${e}/authenticationPendingNoBg.svg`,Xa=`${e}/authenticationNoAuthNoBg.svg`,er=`${e}/authenticationAttemptedNoBg.svg`,tr=`${e}/authenticationExemptedWithTransactionNoBg.svg`,or=`${e}/authenticationExemptedWithoutTransactionNoBg.svg`,nr=`${e}/authenticationDeclinedNoBg.svg`,sr=`${e}/authenticationUnavailableNoBg.svg`,cr=`${e}/authenticationUndeterminedNoBg.svg`,pr=`${e}/authenticatedSuccessNoBg.svg`,ar=`${e}/authenticationWithTransactionNoBg.svg`,rr=`${e}/authenticationWithoutTransactionNoBg.svg`,xr=`${e}/greyPlusIcon.svg`,ir=`${e}/greyMinusIcon.svg`,dr=`${e}/noPreviewIcon.svg`,lr=`${e}/other/editIcon.svg`,ur=`${t}/viewInvoice.svg`,gr=`${t}/checkoutStatus.svg`,Ir=`${t}/checkStatusOutBlue.svg`,vr=`${t}/checkoutWithMarkStatus.svg`,hr=`${t}/intentExpiredStatus.svg`,mr=`${t}/intentInitiatedStatus.svg`,Ar=`${t}/intentCancelledStatus.svg`,fr=`${t}/intentTransactedStatus.svg`,Er=`${e}/SheetViewUnionIcon.svg`,$r=`${e}/sheetView.svg`,Tr=`${e}/abandonedNoBG.svg`,Sr=`${e}/status/table/paidOut.svg`,_r=`${e}/status/table/reversePayout.svg`,yr=`${e}/status/pendingPayout.svg`,Pr=`${t}/whiteCloseIcon.svg`,br=`${e}/window/empty.svg`,Cr=`${e}/loaderWhiteIcon.svg`,Rr=`${t}/reverseActionIcon.svg`,Nr=`${e}/status/authenticationWallet.svg`,wr=`${e}/status/authenticationApp.svg`,Or=`${e}/status/authenticationBiometric.svg`,Lr=`${e}/status/authenticationDevice.svg`,kr=`${e}/status/authenticationIssuer.svg`,Br=`${e}/status/authenticationScheme.svg`,Mr=`${e}/pin.svg`,Ur=`${e}/unpin.svg`,Dr=`${t}/switcher.svg`,Fr=`${e}/closedStatusIcon.svg`,Wr=`${e}/verticalLine.svg`,Gr=`${e}/previewModeIcon.svg`,Hr=`${e}/status/table/tokensSaved.svg`,Yr=`${e}/status/table/tokensTransacted.svg`,Vr=`${e}/status/table/tokensExpired.svg`,zr=`${e}/status/table/tokensPending.svg`,Kr=`${e}/status/table/tokenCardIcon.svg`,qr=`${t}/TableloadingSpinner.svg`,Zr=`${t}/loadingSpinnerWhite.svg`,Qr=`${e}/spinnerLoadingBlue.svg`,jr=`${e}/backgroundLoader.svg`,Jr=`${t}/arrowUpBlue1.svg`,Xr=`${t}/BlueCheckMarkShadowed1.svg`,ex=`${t}/cardViewButton.svg`,tx=`${t}/listViewButton1.svg`,ox=`${e}/BlueArrowUpIcon.svg`,nx=`${e}/BlueCircleLoaderIcon.svg`,sx=`${e}/appsGridIcon2.svg`,cx=`${e}/whiteFilter.svg`,px=`${e}/grayCloseIcon.svg`,ax=`${e}/status/OrderAgreementIcon.svg`,rx=`${e}/status/InstallmentAgreementIcon.svg`,xx=`${e}/status/CardAgreementIcon.svg`,ix=`${e}/status/SubscriptionAgreementIcon.svg`,dx=`${e}/brandPlaceholder.svg`,lx=`${e}/users-icons.svg`,ux=`${e}/Board-Icons.svg`,gx=`${t}/No Agreement.svg`,Ne=`${e}/window/acceptance.svg`,we=`${e}/window/wallet.svg`,Oe=`${e}/window/billing.svg`,Le=`${e}/window/customers.svg`,ke=`${e}/window/payout.svg`,Be=`${e}/window/protect.svg`,Me=`${e}/window/tokens.svg`,Ue=`${e}/window/account.svg`,De=`${e}/window/businesses.svg`,Fe=`${e}/window/authentication.svg`,We=`${t}/reportsIcon.svg`,Ix=`${e}/window/tokensReports.svg`,vx=`${e}/window/brand.svg`,hx=`${e}/window/entity.svg`,mx=`${e}/window/bank.svg`,Ax=`${e}/window/individual.svg`,fx=`${e}/window/password.svg`,Ex=`${e}/actionsIcon.svg`,$x=`${e}/addItem.svg`,Tx=`${e}/attachIcon.svg`,Sx=`${e}/CollapseArrows.svg`,_x=`${e}/customerIcon.svg`,yx=`${e}/discountIcon.svg`,Px=`${e}/emailIcon.svg`,bx=`${e}/emailBlackIcon.svg`,Cx=`${e}/linkTiltedIcon.svg`,Rx=`${e}/ExpandArrows.svg`,Nx=`${e}/feeIcon.svg`,wx=`${e}/minusIcon.svg`,Ox=`${e}/noteIcon.svg`,Lx=`${e}/pdfGrayIcon.svg`,kx=`${e}/productLabel.svg`,Bx=`${e}/quantityIcon.svg`,Mx=`${e}/removeItem.svg`,Ux=`${t}/removeItem2.svg`,Dx=`${e}/smsIcon.svg`,Fx=`${e}/taxIcon.svg`,Wx=`${e}/totalAmountIcon.svg`,Gx=`${e}/unfocusRemoveItem.svg`,Hx=`${e}/whatsappIcon1.svg`,Yx=`${e}/whiteArrow2.svg`,Vx=`${e}/newInvoice.svg`,zx=`${e}/activeActionIcon.svg`,Kx=`${e}/grayProductLabel.svg`,qx=`${e}/plusQty.svg`,Zx=`${t}/downArrow3.svg`,Qx=`${e}/customer.svg`,jx=`${t}/note.svg`,Jx=`${e}/blueNoteIcon.svg`,Xx=`${t}/attach.svg`,ei=`${e}/lateFee.svg`,ti=`${e}/addItemIcon.svg`,oi=`${e}/blueCheckIcon.svg`,ni=`${t}/trash-bin.svg`,si=`${e}/redTrashBin.svg`,ci=`${e}/blueVerifyIcon.svg`,pi=`${e}/verificationDarkBlue.svg`,ai=`${e}/grayVerifyIcon.svg`,ri=`${e}/greenVerifyIcon.svg`,xi=`${e}/redVerifyIcon.svg`,ii=`${e}/closedVerifyIcon.svg`,di=`${e}/archivedVerifyIcon.svg`,li=`${e}/penIcon.svg`,ui=`${t}/listShadow.svg`,gi=`${e}/defaultCountryIcon.svg`,Ii=`${e}/defaultDeviceIcon.svg`,vi=`${e}/biometric.svg`,hi=`${e}/3dsBlue.svg`,mi=`${t}/createCharge.svg`,Ai=`${t}/successCheck.svg`,fi=`${t}/receipt.svg`,Ei=`${t}/browserTimezone.svg`,$i=`${t}/entityTimezone.svg`,Ti=`${t}/historyTimezone.svg`,Si=`${t}/smallBlueCheck.svg`,_i=`${t}/fileDownloadBlue.svg`,yi=`${t}/fileDownloadGrey.svg`,Pi=`${e}/meta.svg`,bi=`${e}/darkFilterIcon.svg`,Ci=`${e}/resize-icon.svg`,Ri=`${e}/home.svg`,Ni=`${e}/lockIcon.svg`,wi=`${e}/Calendar.svg`,Oi=`${e}/status-v2/autoCapturedNoBG.svg`,Li=`${e}/status-v2/autoVoidNoBG.svg`,ki=`${e}/status-v2/cancelledNoBG.svg`,Bi=`${e}/status-v2/capturedNoBG.svg`,Mi=`${e}/status-v2/declinedNoBG.svg`,Ui=`${e}/status-v2/destinationsNoBG.svg`,Di=`${e}/status-v2/failedNoBG.svg`,Fi=`${e}/status-v2/gatewayOrange.svg`,Wi=`${e}/status-v2/gatewayRedNoBG.svg`,Gi=`${e}/status-v2/paidoutNoBG.svg`,Hi=`${e}/status-v2/refundedIconNoBG2.svg`,Yi=`${e}/status-v2/refundInitiatedNoBG.svg`,Vi=`${e}/status-v2/refundSettledNoBG.svg`,zi=`${e}/status-v2/refundNotSettledNoBG.svg`,Ki=`${e}/status-v2/restrictedNoBG.svg`,qi=`${e}/status-v2/settledNoBG.svg`,Zi=`${e}/status-v2/settlementInitiatedNoBG.svg`,Qi=`${e}/status-v2/timeoutNoBG.svg`,ji=`${e}/status-v2/unavailableNoBG.svg`,Ji=`${e}/status-v2/unknownNoBG.svg`,Xi=`${e}/status-v2/void.svg`,ed=`${e}/status-v2/authorizeNoBG.svg`,td=`${e}/status-v2/initiatedNoBG.svg`,od=`${e}/websiteBlueIcon.svg`,nd=`${e}/androidAppIcon.svg`,sd=`${e}/iOSAppIcon.svg`,cd=`${e}/physicalLocationIcon.svg`,pd=`${e}/socialLinksIcon.svg`,ad=`${e}/smallLeftArrow.svg`,rd=`${e}/searchBlueIcon.svg`,xd=`${t}/rightLightArrow.svg`,id=`${t}/segmentInstitution.svg`,dd=`${t}/segmentTechnology.svg`,ld=`${t}/segmentDevelopmentHouse.svg`,Ge=`${t}/terminal.svg`,He=`${e}/window/terminal.svg`,ud=`${e}/terminalCardPhone.svg`,gd=`${e}/ToastPOS.svg`,Id=`${e}/terminalTypeIcon.svg`,vd=`${e}/terminalBrush.svg`,hd=`${e}/terminalBrushMuted.svg`,md=`${e}/navigationIcon.svg`,Ad=`${e}/babyBlueCheckIcon.svg`,fd=`${e}/digitalReceiptIcon.svg`,Ed=`${e}/bankNoteIcon.svg`,$d=`${e}/terminalDeviceFrame.svg`,Td=`${e}/blackBrushIcon.svg`,Sd=`${e}/mutedOutlinedCheckIcon.svg`,_d=`${e}/outlinedPlatformIcon.svg`,yd=`${e}/navigationPointerBlack.svg`,Pd=`${e}/addIconWhite.svg`,bd=`${e}/greyUpArrow.svg`,Cd=`${e}/greyDownArrow.svg`,Rd=`${e}/services/brandService.svg`,Nd=`${e}/services/authorizationService.svg`,wd=`${e}/services/chargebacksService.svg`,Od=`${e}/services/chargesService.svg`,Ld=`${e}/services/destinationsService.svg`,kd=`${e}/services/entityService.svg`,Bd=`${e}/services/invoiceService.svg`,Md=`${e}/services/payoutService.svg`,Ud=`${e}/services/refundsService.svg`,Dd=`${e}/services/usersService.svg`,Fd=`${e}/services/walletService.svg`,Wd=`${e}/services/intentsService.svg`,Gd=`${e}/services/insightsService.svg`,Hd=`${e}/services/retailersService.svg`,Yd=`${e}/services/terminalService.svg`,Vd=`${e}/services/createLead.svg`,zd=`${e}/services/viewLead.svg`,Kd=`${e}/archievedOutlined.svg`,qd=`${e}/closeOutlinedCircle.svg`,Zd=`${e}/dashedOutlinedCircle.svg`,Qd=`${e}/deactivatedCircle.svg`,jd=`${e}/deactivatedOutlinedCircleV2.svg`,Jd=`${e}/exclamationOutlinedCircle.svg`,Xd=`${e}/questionOutlinedCircle.svg`,el=`${e}/outlinedCircle.svg`,tl=`${e}/greenCheck2ACE00.svg`,ol=`${e}/blueCopyIcon.svg`,nl=`${e}/blackLinkIcon.svg`,sl=`${e}/blackSettingsIcon.svg`,cl=`${e}/blackWallet.svg`,pl=`${e}/blueGradientBrushIcon.svg`,al=`${e}/gadientLink.svg`,rl=`${e}/blackDeviceIcon.svg`,xl=`${e}/gradientDeviceIcon.svg`,il=`${e}/gradientSettings.svg`,dl=`${e}/gradientWallet.svg`,ll=`${e}/codeIcon.svg`,ul=`${e}/manyCurrencyCoin.svg`,gl=`${e}/manyCurrencyCoinGradient.svg`,Il=`${e}/blackMobileBatteryIcon.svg`,vl=`${e}/blackMobileSignalIcon.svg`,hl=`${e}/emptyMobileWifiIcon.svg`,ml=`${e}/deemaWithLabel.svg`,Al=`${e}/chargeBackWhiteIcon.svg`,fl=`${e}/blackUnLinkIcon.svg`,El=`${e}/sortDescArrowIcon.svg`,$l=`${e}/sortAscArrowIcon.svg`,Tl=`${e}/closedOutlinedYellowCircle.svg`,Sl=`${e}/deactivatedOrangeCircle.svg`,_l=`${e}/deactivatedCircleV2.svg`,yl=`${e}/exclamationOutlinedOrangeCircle.svg`,Pl=`${e}/activeGreenIcon.svg`,bl=`${e}/activeBlue.svg`,Cl=`${e}/inActiveGreyIcon.svg`,Rl=`${ze}/terminal_link.mp4`,Nl=`${e}/bluePlusIcon.svg`,wl=`${e}/blackSettingsVariant2Icon.svg`,Ol=`${e}/exclamationWhite.svg`,Ll=`${t}/blueCircleWithWhiteCheck.svg`,kl=`${e}/externalLink.svg`,Bl=`${e}/settingsIcon.svg`,Ml=`${e}/flipIcon.svg`,Ul=`${e}/shoppingCart.svg`,Dl=`${e}/verifyAvatar.svg`,Fl=`${e}/helpCircle.svg`,Wl=`${e}/provider/CYBERSOURCE.svg`,Gl=`${e}/provider/MPGS.svg`,Hl=`${e}/provider/NETCETERA.svg`,Yl=`${e}/provider/APPLEPAY.svg`,Vl=`${e}/provider/TAP3DS.svg`,zl=`${e}/provider/BENEFIT_PAY.svg`,Kl=`${e}/provider/BENEFIT.svg`,ql=`${e}/provider/CAREEM_PAY.svg`,Zl=`${e}/provider/DEEMA.svg`,Ql=`${e}/provider/FAWRY.svg`,jl=`${e}/provider/FSS.svg`,Jl=`${e}/provider/KNET.svg`,Xl=`${e}/provider/MEEZA.svg`,eu=`${e}/provider/NGENIUS.svg`,tu=`${e}/provider/NPG.svg`,ou=`${e}/provider/OMAN_NET.svg`,nu=`${e}/provider/PAYPAL.svg`,su=`${e}/provider/POSTPAY.svg`,cu=`${e}/provider/QPAY.svg`,pu=`${e}/provider/SPG.svg`,au=`${e}/provider/STC_PAY.svg`,ru=`${e}/provider/TABBY.svg`,xu=`${e}/provider/TAMARA.svg`,iu=`${e}/provider/TPAY.svg`,du=`${e}/provider/TPG.svg`,lu=`${e}/downloadBlue.svg`,uu=`${e}/eyeBlue.svg`,gu=`${e}/fastBlack.svg`,Iu=`${e}/repeat.svg`,vu=`${e}/shield.svg`,hu=`${e}/fileMinus.svg`,mu=`${e}/percent.svg`,Au=`${e}/cardUpload.svg`,fu=`${e}/startConnector.svg`,Eu=`${e}/endConnector.svg`,$u=`${e}/filledConnector.svg`,Tu=`${e}/dottedConnector.svg`,Su=`${e}/play.svg`,_u=`${e}/merchantAttributes.svg`,yu=`${e}/issuerAttributes.svg`,Pu=`${e}/refresh.svg`,bu=`${e}/riskAttributes.svg`,Cu=`${e}/exclude.svg`,Ru=`${e}/earlySettlements.svg`,Nu=`${e}/financedBy.svg`,wu=`${e}/financeFeatures.svg`,Ou=`${e}/loanAmount.svg`,Lu=`${e}/murabhaFinance.svg`,ku=`${e}/testimonial.svg`,Bu=`${f}/bulk-refund-template.xlsx`,Mu=`${f}/bulk-invoice-template.xlsx`,Uu=`${e}/emptyCopyIcon.svg`,Du=`${e}/deactiveIcon.svg`,Fu=`${e}/disableIcon.svg`,Wu=`${e}/extendIcon.svg`,Gu=`${e}/payers.svg`,Hu=`${e}/gatewayIcon.svg`;var Vu=3,qe=88,Ze=24;var n={view:{code:"VIEW"},sandbox:{code:"SANDBOX"},jsonApi:{code:"JSON API"},reports:{code:"REPORTS"}},Qe={updateMerchant:{code:"UPDATE_MERCHANT"},activateMarketplace:{code:"ACTIVATE_MARKETPLACE"},updateWallet:{code:"UPDATE_WALLET"},updateRisk:{code:"UPDATE_RISK"}},a={updateEntity:{code:"UPDATE ENTITY"},updateBrand:{code:"UPDATE BRAND"},updateUsers:{code:"UPDATE USERS"},createUsers:{code:"CREATE USERS"},updateShareholder:{code:"UPDATE_SHAREHOLDER"},assign:{code:"ASSIGN"},updatePoc:{code:"UPDATE_POC"},...Qe},r={review:{code:"REVIEW"},verify:{code:"VERIFY"},reject:{code:"REJECT"},statusControl:{code:"STATUS_CONTROL"}},d={viewOperator:{code:"VIEW_OPERATOR"},createOperator:{code:"CREATE_OPERATOR"}},o={tokens:{code:"TOKEN",services:{tokens:{code:"TOKENS",functions:{...n}}}},billing:{code:"BILLING",services:{insights:{code:"INSIGHTS"},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,...r,businessProfile:{code:"BUSINESS_PROFILE"}}},retailer:{code:"RETAILER",functions:{...n,...a,...r}},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:{insights:{code:"INSIGHTS"},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"}}},upload:{code:"UPLOAD",services:{upload:{code:"UPLOAD"}}},paylink:{code:"PAYLINK",services:{links:{code:"LINKS",functions:{...n,create:{code:"CREATE"}}}}},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"}}},shareholders:{code:"SHAREHOLDERS",functions:{view:{code:"VIEW"},create:{code:"CREATE"},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"},lendingProvider:{code:"LENDING_PROVIDER"},deema:{code:"DEEMA"},osApp:{code:"OS_APP"},platform:{code:"PLATFORM",services:{platform:{code:"PLATFORM",functions:{...n,...a,...r,...d}},onlineCommerce:{code:"ONLINE_COMMERCE",functions:{...n,...a,...r,...d}},retailCommerce:{code:"RETAIL_COMMERCE",functions:{...n,...a,...r,...d}},app:{code:"APP",functions:{...n,...a,...r,...d}},billing:{code:"BILLING",functions:{...n,...a,...r,...d}}}},risk:{code:"RISK"}},qu={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.upload.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.billing.code]:{minWidth:856},[o.paylink.code]:{minWidth:856},[o.business.code]:{width:1400,maxWidth:1400}},Zu=[{code:o.tokens.code,iconUrl:$,toolbarIconUrl:Me},{code:o.billing.code,iconUrl:l,toolbarIconUrl:Oe},{code:o.acceptance.code,iconUrl:u,toolbarIconUrl:Ne},{code:o.wallet.code,iconUrl:I,toolbarIconUrl:we},{code:o.payouts.code,iconUrl:v,toolbarIconUrl:ke},{code:o.protect.code,iconUrl:T,toolbarIconUrl:Be},{code:o.authentication.code,iconUrl:g,toolbarIconUrl:Fe},{code:o.customers.code,iconUrl:S,toolbarIconUrl:Le},{code:o.businesses.code,iconUrl:_,toolbarIconUrl:De},{code:o.reports.code,iconUrl:le,toolbarIconUrl:We},{code:o.upload.code,iconUrl:re,toolbarIconUrl:ae},{code:o.paylink.code,iconUrl:ie,toolbarIconUrl:xe},{code:o.account.code,iconUrl:y,toolbarIconUrl:Ue},{code:o.order.code,iconUrl:Ie,toolbarIconUrl:ve},{code:o.leads.code,iconUrl:ue,toolbarIconUrl:ge},{code:o.terminals.code,iconUrl:Ge,toolbarIconUrl:He},{code:o.slaProcess.code,iconUrl:he,toolbarIconUrl:me},{code:o.orchestration.code,iconUrl:Ae,toolbarIconUrl:fe},{code:o.lending.code,iconUrl:Ee,toolbarIconUrl:m},{code:o.lendingProvider.code,iconUrl:$e,toolbarIconUrl:m},{code:o.deema.code,iconUrl:Te,toolbarIconUrl:Se},{code:o.platform.code,iconUrl:_e,toolbarIconUrl:ye},{code:o.osApp.code,iconUrl:Pe,toolbarIconUrl:be},{code:o.risk.code,iconUrl:Ce,toolbarIconUrl:Re}],Qu=["login"];var Ye=window.__GLOBAL_CONFIG__??{},je=Ye.MW_BASE_URL??import.meta.env.VITE_BASE_URL,Ju=`${je}/api`,Xu=import.meta.env.VITE_ENV,eg=import.meta.env.VITE_TEST_FIXED_SK,tg=Ye.HOST_APP_NAME??import.meta.env.VITE_HOST_APP_NAME,og={TAPSTERS_FRONTEND:"tapsters-frontend",OS_FRONTEND:"os-frontend"};var sg=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var pg={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)"},links:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"}};var rg=50,xg={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 dg="TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED";var ug={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 Ig={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 hg={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 Ag={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 Eg={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 Tg={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 _g={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 Pg={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 Cg={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 Ng={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 Og={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 kg={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 Mg={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 Dg={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 Wg={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 Hg={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 Vg={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 Kg={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 Zg={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 jg={id:{default:"111px",text:"111px",sheet:"215px"},acquirer_id:{default:"197px",text:"197px",sheet:"197px"},provider_id:{default:"88px",text:"88px",sheet:"88px"},merchant_id:{default:"160px",text:"160px",sheet:"160px"},acquirer_merchant_id:{default:"180px",text:"180px",sheet:"180px"},acceptance_mode:{default:"132px",text:"132px",sheet:"132px"},transaction_source:{default:"136px",text:"136px",sheet:"132px"},transaction_mode:{default:"132px",text:"132px",sheet:"132px"},charge_currency:{default:"132px",text:"132px",sheet:"132px"},settle_currency:{default:"120px",text:"120px",sheet:"120px"},gateway_type:{default:"132px",text:"132px",sheet:"100px"},gateway:{default:"150px",text:"150px",sheet:"150px"},three_ds:{default:"120px",text:"120px",sheet:"150px"},status:{default:"149px",text:"149px",sheet:"100px"},live_mode:{default:"100px",text:"100px",sheet:"100px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var Xg={id:{default:"112px",text:"112px",sheet:"215px"},name:{default:"225px",text:"225px",sheet:"180px"},terminal_id:{default:"118px",text:"118px",sheet:"160px"},rank:{default:"66px",text:"66px",sheet:"88px"},acceptance_rate:{default:"107px",text:"107px",sheet:"132px"},route_issuer_scheme:{default:"112px",text:"112px",sheet:"140px"},acceptance_mode:{default:"132px",text:"132px",sheet:"140px"},transaction_mode:{default:"128px",text:"128px",sheet:"140px"},active:{default:"87px",text:"87px",sheet:"120px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},live_mode:{default:"100px",text:"100px",sheet:"110px"},status:{default:"112px",text:"112px",sheet:"140px"},route_ref:{default:"140px",text:"140px",sheet:"160px"},filter_usage:{default:"110px",text:"110px",sheet:"120px"},route_issuer_id:{default:"140px",text:"140px",sheet:"160px"},route_issuer_bin:{default:"140px",text:"140px",sheet:"160px"},route_issuer_brand:{default:"140px",text:"140px",sheet:"160px"},route_issuer_category:{default:"150px",text:"150px",sheet:"170px"},route_issuer_country:{default:"150px",text:"150px",sheet:"170px"},route_issuer_type:{default:"140px",text:"140px",sheet:"160px"},route_merchant:{default:"150px",text:"150px",sheet:"170px"},route_merchant_bank:{default:"150px",text:"150px",sheet:"170px"},route_merchant_country:{default:"150px",text:"150px",sheet:"170px"},route_merchant_currency:{default:"150px",text:"150px",sheet:"170px"},route_merchant_mcc:{default:"140px",text:"140px",sheet:"160px"},route_merchant_sector:{default:"150px",text:"150px",sheet:"170px"},route_transaction_currency:{default:"160px",text:"160px",sheet:"180px"},route_keywords:{default:"160px",text:"160px",sheet:"180px"},keyword_usage:{default:"150px",text:"150px",sheet:"170px"},exclude_condition:{default:"140px",text:"140px",sheet:"140px"},exclude_issuer_scheme:{default:"156px",text:"156px",sheet:"160px"},exclude_issuer_bin:{default:"150px",text:"150px",sheet:"160px"},exclude_issuer_country:{default:"160px",text:"160px",sheet:"170px"},exclude_issuer_type:{default:"150px",text:"150px",sheet:"160px"},exclude_route_merchant:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_mcc:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_country:{default:"177px",text:"177px",sheet:"180px"},exclude_merchant_currency:{default:"183px",text:"183px",sheet:"180px"},exclude_merchant_bank:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_sector:{default:"170px",text:"170px",sheet:"180px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var Je={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"},t0=Je.UTC,o0="SA",n0="Asia/Riyadh",s0="Saudi Arabia",c0=60;var a0={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"}},r0=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],x0={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var d0=52,l0=70,u0=57,g0=200,I0=5,v0=40,h0=20,m0=28;var f0={COUNT:"count",AMOUNT:"amount"},E0={count:"transaction",amount:"amount"};var x={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`},S0=[{name:"CARD",label:"Card",icon:x.CARD},{name:"EXPRESS",label:"Express Checkout",icon:x.EXPRESS_CHECKOUT},{name:"DEVICE",label:"Device",icon:x.DEVICE},{name:"PT_WALLET",label:"Pass-Thru Wallet",icon:x.PASS_THRU_WALLET},{name:"SV_WALLET",label:"Stored Value Wallet",icon:x.STORED_VALUE_WALLET},{name:"BNPL",label:"Buy Now Pay Later",icon:x.BUY_NOW_PAY_LATER},{name:"CASH",label:"Cash Wallet",icon:x.CASH_WALLET}],Xe="customer",et="merchant",_0=[{key:Xe,value:"true",label:"Customer"},{key:et,value:"false",label:"Merchant"}],y0=[{key:"Regional",label:"Regional"},{key:"Global",label:"Global"},{key:"Local",label:"Local"}],P0=[{key:"3DS",label:"3DS"},{key:"Device Biometric",label:"Biometric"},{key:"Non-3DS",label:"Non-3DS"},{key:"Attempted",label:"Attempted"},{key:"Undetermined",label:"Undetermined"}];var R0={PAYMENT_GATEWAY_PROVIDER:B,PAYMENT_TECHNOLOGY:W,PAYMENT_TERMINAL_PROVIDER:G,PAYMENT_PROCESSOR:D,PAYMENT_SCHEME:F,PAYMENT_ISSUER:M,PAYMENT_ACQUIRER:L,PAYMENT_METHOD:U,PAYMENT_FACILITATOR:k,APP_PLATFORM:N,RETAIL_PLATFORM:H,COMMERCE_PLATFORM:O,BILLING_PLATFORM:w,BUSINESS:P,DEVELOPMENT_HOUSE:b,MASTER_ORCHESTRATOR:C,PLATFORM:R},N0={PAYMENT_GATEWAY_PROVIDER:X,PAYMENT_TECHNOLOGY:se,PAYMENT_TERMINAL_PROVIDER:ce,PAYMENT_PROCESSOR:oe,PAYMENT_SCHEME:ne,PAYMENT_ISSUER:ee,PAYMENT_ACQUIRER:j,PAYMENT_METHOD:te,PAYMENT_FACILITATOR:J,APP_PLATFORM:q,RETAIL_PLATFORM:pe,COMMERCE_PLATFORM:Q,BILLING_PLATFORM:Z,BUSINESS:Y,DEVELOPMENT_HOUSE:V,MASTER_ORCHESTRATOR:z,PLATFORM:K},p={PLATFORM:"platformId",DEVELOPMENT_HOUSE:"developmentHouseId",PAYMENT_TECHNOLOGY:"paymentTechnology",PAYMENT_ISSUER:"paymentIssuerId",PAYMENT_INSTITUTION:"paymentInstitution"},w0={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},O0=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM"],L0=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],k0=["PAYMENT_TECHNOLOGY"],B0=["PAYMENT_ISSUER"],M0=["DEVELOPMENT_HOUSE"];var D0={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var W0={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"},V0={[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]},z0=[{code:o.billing.code,name:"Billing",icon:l,services:[{name:"Invoices",code:o.billing.services.invoices.code}]},{code:o.acceptance.code,name:"Acceptance",icon:u,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:v,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:g,services:[{name:"Authentication",code:o.authentication.services.authentication.code}]}];var q0={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var tt=["AUTHENTICATED"],ot=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","EXEMPTED","INITIATED"],Q0=[...tt,...ot],nt=(A=>(A.Challenge="C",A.Frictionless="F",A))(nt||{}),j0={C:"Challenge",F:"Frictionless"};var X0=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var oI={csv:de,xls:h,xlsx:h,zip:E};
2
- export{Jt as $,Jo as $a,Xn as $b,Ws as $c,xc as $d,le as $e,Jp as $f,Ma as $g,Mr as $h,yx as $i,yi as $j,Sd as $k,Sl as $l,Su as $m,kg as $n,j0 as $o,_t as A,yo as Aa,yn as Ab,Ts as Ac,q as Ad,Bc as Ae,_p as Af,va as Ag,ir as Ah,ix as Ai,Xx as Aj,Xi as Ak,jd as Al,jl as Am,d as An,f0 as Ao,yt as B,Po as Ba,Pn as Bb,g as Bc,Zs as Bd,Mc as Be,yp as Bf,_e as Bg,dr as Bh,dx as Bi,ei as Bj,ed as Bk,Jd as Bl,Jl as Bm,o as Bn,E0 as Bo,Pt as C,bo as Ca,bn as Cb,I as Cc,Z as Cd,Uc as Ce,Pp as Cf,ye as Cg,lr as Ch,lx as Ci,ti as Cj,td as Ck,Xd as Cl,Xl as Cm,qu as Cn,x as Co,bt as D,Co as Da,Cn as Db,v as Dc,Q as Dd,Dc as De,bp as Df,Pe as Dg,ur as Dh,ux as Di,oi as Dj,od as Dk,el as Dl,eu as Dm,Zu as Dn,S0 as Do,Ct as E,Ro as Ea,Rn as Eb,T as Ec,Qs as Ed,Fc as Ee,Cp as Ef,be as Eg,gr as Eh,gx as Ei,ni as Ej,nd as Ek,tl as El,tu as Em,Qu as En,Xe as Eo,Rt as F,No as Fa,Nn as Fb,S as Fc,js as Fd,Wc as Fe,Rp as Ff,Ce as Fg,Ir as Fh,Ne as Fi,si as Fj,sd as Fk,ol as Fl,ou as Fm,je as Fn,et as Fo,Nt as G,E as Ga,wn as Gb,_ as Gc,j as Gd,Gc as Ge,Np as Gf,Re as Gg,vr as Gh,we as Gi,ci as Gj,cd as Gk,nl as Gl,nu as Gm,Ju as Gn,_0 as Go,wt as H,wo as Ha,On as Hb,y as Hc,J as Hd,Hc as He,wp as Hf,ha as Hg,hr as Hh,Oe as Hi,pi as Hj,pd as Hk,sl as Hl,su as Hm,Xu as Hn,y0 as Ho,Ot as I,Oo as Ia,Ln as Ib,Ss as Ic,X as Id,ae as Ie,Op as If,ma as Ig,mr as Ih,Le as Ii,ai as Ij,ad as Ik,cl as Il,cu as Im,eg as In,P0 as Io,Lt as J,Lo as Ja,kn as Jb,_s as Jc,ee as Jd,re as Je,Lp as Jf,Aa as Jg,Ar as Jh,ke as Ji,ri as Jj,rd as Jk,pl as Jl,pu as Jm,tg as Jn,R0 as Jo,kt as K,ko as Ka,Bn as Kb,ys as Kc,te as Kd,xe as Ke,kp as Kf,fa as Kg,fr as Kh,Be as Ki,xi as Kj,xd as Kk,al as Kl,au as Km,og as Kn,N0 as Ko,Bt as L,Bo as La,Mn as Lb,Ps as Lc,oe as Ld,ie as Le,Bp as Lf,Ea as Lg,Er as Lh,Me as Li,ii as Lj,id as Lk,rl as Ll,ru as Lm,sg as Ln,p as Lo,Mt as M,Mo as Ma,Un as Mb,bs as Mc,ne as Md,Yc as Me,Mp as Mf,$a as Mg,$r as Mh,Ue as Mi,di as Mj,dd as Mk,xl as Ml,xu as Mm,pg as Mn,w0 as Mo,Ut as N,Uo as Na,Dn as Nb,Cs as Nc,se as Nd,Vc as Ne,Up as Nf,Ta as Ng,Tr as Nh,De as Ni,li as Nj,ld as Nk,il as Nl,iu as Nm,rg as Nn,O0 as No,Dt as O,Do as Oa,Fn as Ob,Rs as Oc,ce as Od,zc as Oe,Dp as Of,Sa as Og,Sr as Oh,Fe as Oi,ui as Oj,Ge as Ok,dl as Ol,du as Om,xg as On,L0 as Oo,Ft as P,Fo as Pa,Wn as Pb,Ns as Pc,pe as Pd,Kc as Pe,Fp as Pf,_a as Pg,_r as Ph,We as Pi,gi as Pj,He as Pk,ll as Pl,lu as Pm,dg as Pn,k0 as Po,Wt as Q,Wo as Qa,Gn as Qb,ws as Qc,Js as Qd,qc as Qe,Wp as Qf,ya as Qg,yr as Qh,Ix as Qi,Ii as Qj,ud as Qk,ul as Ql,uu as Qm,ug as Qn,B0 as Qo,Gt as R,Go as Ra,Hn as Rb,Os as Rc,Xs as Rd,Zc as Re,Gp as Rf,Pa as Rg,Pr as Rh,vx as Ri,vi as Rj,gd as Rk,gl as Rl,gu as Rm,Ig as Rn,M0 as Ro,Ht as S,Ho as Sa,Yn as Sb,Ls as Sc,ec as Sd,Qc as Se,Hp as Sf,ba as Sg,br as Sh,hx as Si,hi as Sj,Id as Sk,Il as Sl,Iu as Sm,hg as Sn,D0 as So,Yt as T,Yo as Ta,Vn as Tb,ks as Tc,tc as Td,jc as Te,Yp as Tf,Ca as Tg,Cr as Th,mx as Ti,mi as Tj,vd as Tk,vl as Tl,vu as Tm,Ag as Tn,W0 as To,Vt as U,Vo as Ua,zn as Ub,Bs as Uc,oc as Ud,h as Ue,Vp as Uf,Ra as Ug,Rr as Uh,Ax as Ui,Ai as Uj,hd as Uk,hl as Ul,hu as Um,Eg as Un,s as Uo,zt as V,zo as Va,Kn as Vb,Ms as Vc,nc as Vd,de as Ve,zp as Vf,Na as Vg,Nr as Vh,fx as Vi,fi as Vj,md as Vk,ml as Vl,mu as Vm,Tg as Vn,V0 as Vo,Kt as W,Ko as Wa,qn as Wb,Us as Wc,sc as Wd,Jc as We,Kp as Wf,wa as Wg,wr as Wh,Ex as Wi,Ei as Wj,Ad as Wk,Al as Wl,Au as Wm,_g as Wn,z0 as Wo,qt as X,qo as Xa,Zn as Xb,Ds as Xc,cc as Xd,Xc as Xe,qp as Xf,Oa as Xg,Or as Xh,$x as Xi,$i as Xj,fd as Xk,fl as Xl,fu as Xm,Pg as Xn,q0 as Xo,Zt as Y,Zo as Ya,Qn as Yb,Fs as Yc,pc as Yd,ep as Ye,Zp as Yf,La as Yg,Lr as Yh,Tx as Yi,Ti as Yj,Ed as Yk,El as Yl,Eu as Ym,Cg as Yn,ot as Yo,Qt as Z,Qo as Za,jn as Zb,P as Zc,ac as Zd,tp as Ze,Qp as Zf,ka as Zg,kr as Zh,Sx as Zi,Si as Zj,$d as Zk,$l as Zl,$u as Zm,Ng as Zn,Q0 as Zo,jt as _,jo as _a,Jn as _b,b as _c,rc as _d,op as _e,jp as _f,Ba as _g,Br as _h,_x as _i,_i as _j,Td as _k,Tl as _l,Tu as _m,Og as _n,nt as _o,e as a,Xt as aa,Xo as ab,es as ac,C as ad,ic as ae,ue as af,Xp as ag,Ua as ah,Ur as ai,Px as aj,Pi as ak,_d as al,_l as am,_u as an,Mg as ao,X0 as ap,t as b,eo as ba,en as bb,ts as bc,R as bd,dc as be,ge as bf,ea as bg,Da as bh,Dr as bi,bx as bj,bi as bk,yd as bl,yl as bm,yu as bn,Dg as bo,oI as bp,st as c,to as ca,tn as cb,os as cc,Gs as cd,lc as ce,Ie as cf,ta as cg,Fa as ch,Fr as ci,Cx as cj,Ci as ck,Pd as cl,Pl as cm,Pu as cn,Wg as co,ze as d,oo as da,on as db,ns as dc,N as dd,uc as de,ve as df,oa as dg,Wa as dh,Wr as di,Rx as dj,Ri as dk,bd as dl,bl as dm,bu as dn,Hg as do,Ke as e,no as ea,nn as eb,ss as ec,Hs as ed,gc as ee,np as ef,na as eg,Ga as eh,Gr as ei,Nx as ej,Ni as ek,Cd as el,Cl as em,Cu as en,Vg as eo,f,so as fa,sn as fb,cs as fc,w as fd,Ic as fe,sp as ff,sa as fg,Ha as fh,Hr as fi,wx as fj,wi as fk,Rd as fl,Rl as fm,Ru as fn,Kg as fo,ct as g,co as ga,cn as gb,ps as gc,O as gd,vc as ge,cp as gf,ca as gg,Ya as gh,Yr as gi,Ox as gj,Oi as gk,Nd as gl,Nl as gm,Nu as gn,Zg as go,pt as h,po as ha,pn as hb,as as hc,Ys as hd,hc as he,pp as hf,he as hg,Va as hh,Vr as hi,Lx as hj,Li as hk,wd as hl,wl as hm,wu as hn,jg as ho,at as i,ao as ia,an as ib,rs as ic,Vs as id,mc as ie,ap as if,me as ig,za as ih,zr as ii,kx as ij,ki as ik,Od as il,Ol as im,Ou as in,Xg as io,rt as j,ro as ja,rn as jb,xs as jc,L as jd,Ac as je,rp as jf,Ae as jg,Ka as jh,Kr as ji,Bx as jj,Bi as jk,Ld as jl,Ll as jm,Lu as jn,Je as jo,xt as k,xo as ka,xn as kb,is as kc,k as kd,fc as ke,xp as kf,fe as kg,qa as kh,qr as ki,Mx as kj,Mi as kk,kd as kl,kl as km,ku as kn,t0 as ko,it as l,io as la,dn as lb,ds as lc,B as ld,Ec as le,ip as lf,pa as lg,Za as lh,Zr as li,Ux as lj,Ui as lk,Bd as ll,Bl as lm,Bu as ln,o0 as lo,dt as m,lo as ma,ln as mb,ls as mc,M as md,$c as me,dp as mf,Ee as mg,Qa as mh,Qr as mi,Dx as mj,Di as mk,Md as ml,Ml as mm,Mu as mn,n0 as mo,lt as n,uo as na,un as nb,$ as nc,U as nd,Tc as ne,lp as nf,m as ng,ja as nh,jr as ni,Fx as nj,Fi as nk,Ud as nl,Ul as nm,Uu as nn,s0 as no,ut as o,go as oa,gn as ob,l as oc,D as od,Sc as oe,up as of,$e as og,Ja as oh,Jr as oi,Wx as oj,Wi as ok,Dd as ol,Dl as om,Du as on,c0 as oo,gt as p,Io as pa,In as pb,us as pc,F as pd,_c as pe,gp as pf,Te as pg,Xa as ph,Xr as pi,Gx as pj,Gi as pk,Fd as pl,Fl as pm,Fu as pn,a0 as po,It as q,vo as qa,vn as qb,gs as qc,W as qd,yc as qe,Ip as qf,Se as qg,er as qh,ex as qi,Hx as qj,Hi as qk,Wd as ql,Wl as qm,Wu as qn,r0 as qo,vt as r,ho as ra,hn as rb,u as rc,G as rd,Pc as re,vp as rf,aa as rg,tr as rh,tx as ri,Yx as rj,Yi as rk,Gd as rl,Gl as rm,Gu as rn,x0 as ro,ht as s,mo as sa,mn as sb,Is as sc,H as sd,bc as se,hp as sf,ra as sg,or as sh,ox as si,Vx as sj,Vi as sk,Hd as sl,Hl as sm,Hu as sn,d0 as so,mt as t,Ao as ta,An as tb,vs as tc,zs as td,Cc as te,mp as tf,xa as tg,nr as th,nx as ti,zx as tj,zi as tk,Yd as tl,Yl as tm,Vu as tn,l0 as to,At as u,fo as ua,fn as ub,hs as uc,Y as ud,Rc as ue,Ap as uf,ia as ug,sr as uh,sx as ui,Kx as uj,Ki as uk,Vd as ul,Vl as um,qe as un,u0 as uo,ft as v,Eo as va,En as vb,ms as vc,V as vd,Nc as ve,fp as vf,da as vg,cr as vh,cx as vi,qx as vj,qi as vk,zd as vl,zl as vm,Ze as vn,g0 as vo,Et as w,$o as wa,$n as wb,As as wc,Ks as wd,wc as we,Ep as wf,la as wg,pr as wh,px as wi,Zx as wj,Zi as wk,Kd as wl,Kl as wm,n as wn,I0 as wo,$t as x,To as xa,Tn as xb,fs as xc,z as xd,Oc as xe,$p as xf,ua as xg,ar as xh,ax as xi,Qx as xj,Qi as xk,qd as xl,ql as xm,Qe as xn,v0 as xo,Tt as y,So as ya,Sn as yb,Es as yc,K as yd,Lc as ye,Tp as yf,ga as yg,rr as yh,rx as yi,jx as yj,ji as yk,Zd as yl,Zl as ym,a as yn,h0 as yo,St as z,_o as za,_n as zb,$s as zc,qs as zd,kc as ze,Sp as zf,Ia as zg,xr as zh,xx as zi,Jx as zj,Ji as zk,Qd as zl,Ql as zm,r as zn,m0 as zo};