@tap-payments/os-micro-frontend-shared 0.3.280 → 0.3.281-test.1794357980

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.
@@ -1 +1 @@
1
- import {a}from'../../_chunks/chunk-RK2XUIOU.js';import'../../_chunks/chunk-4UMT2J46.js';import'../../_chunks/chunk-RXDZGI4N.js';import'../../_chunks/chunk-BPHG6RDC.js';import'../../_chunks/chunk-37SWWF3G.js';import'../../_chunks/chunk-7L6NBFKR.js';import'../../_chunks/chunk-YQEBQZXF.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-JK5C4QAJ.js';import'../../_chunks/chunk-KPY3W62P.js';import'../../_chunks/chunk-JDNJX7KL.js';import'../../_chunks/chunk-WEDCKMUU.js';import'../../_chunks/chunk-ISC5KT5E.js';import'../../_chunks/chunk-RSIJKVO6.js';import'../../_chunks/chunk-QFKF5I2T.js';import'../../_chunks/chunk-JGCMUAHD.js';import'../../_chunks/chunk-WAQJPDMU.js';import'../../_chunks/chunk-KVZJDQV2.js';import'../../_chunks/chunk-46V3JVHX.js';import'../../_chunks/chunk-UQ7XDCXB.js';import'../../_chunks/chunk-UZVOPL5U.js';import'../../_chunks/chunk-FJNHU3S4.js';import'../../_chunks/chunk-265MSIZH.js';import'../../_chunks/chunk-W2HSCMPT.js';import'../../_chunks/chunk-ZFVCIKJ5.js';import'../../_chunks/chunk-BVAZARPH.js';import'../../_chunks/chunk-VEPRRBYW.js';import'../../_chunks/chunk-ZYP2H2JO.js';import'../../_chunks/chunk-DZYFAAXL.js';import'../../_chunks/chunk-UY75PFQ7.js';import'../../_chunks/chunk-IPIA27QM.js';import'../../_chunks/chunk-I7OG7E3Z.js';import'../../_chunks/chunk-JDEIU7E5.js';import'../../_chunks/chunk-XMGXCCSD.js';import'../../_chunks/chunk-7K7NRYXI.js';import'../../_chunks/chunk-JGVAEGDX.js';import'../../_chunks/chunk-VRPTMDSJ.js';import'../../_chunks/chunk-B3QNGYUI.js';import'../../_chunks/chunk-SN2KTD4P.js';import'../../_chunks/chunk-ROTVD5UM.js';import'../../_chunks/chunk-JL3QN5TK.js';import'../../_chunks/chunk-QZJCQWTE.js';import'../../_chunks/chunk-QVH3AVGY.js';import'../../_chunks/chunk-7XEIN7KW.js';import'../../_chunks/chunk-O44C6KUS.js';import'../../_chunks/chunk-2FFQR4XJ.js';import'../../_chunks/chunk-BCIBP56P.js';import'../../_chunks/chunk-YQYHL4AG.js';import'../../_chunks/chunk-YDOKNGL2.js';import {b}from'../../_chunks/chunk-ADEEIE7D.js';import'../../_chunks/chunk-42T6C72N.js';import'../../_chunks/chunk-SKASDIJH.js';import'../../_chunks/chunk-5SPLSDGC.js';import'../../_chunks/chunk-KOBQX2C2.js';import {b as b$1}from'../../_chunks/chunk-JM6GMHUT.js';import'../../_chunks/chunk-2DZTKOWC.js';import'../../_chunks/chunk-363HMCRF.js';import'../../_chunks/chunk-52PPSCXG.js';import'../../_chunks/chunk-ZO7IPGTD.js';import'../../_chunks/chunk-A6YF5T27.js';import'../../_chunks/chunk-IERB2R3J.js';import'../../_chunks/chunk-FIFXF3JZ.js';import'../../_chunks/chunk-EKOUE2IZ.js';import {j,L,B as B$1,x as x$1,p,R as R$1,h}from'../../_chunks/chunk-CAVYK7HF.js';import'../../_chunks/chunk-ZERM22LM.js';import {z,x,B,C,A,m,b as b$2,o,e,p as p$1,n}from'../../_chunks/chunk-BE2RKFQJ.js';import'../../_chunks/chunk-HZCNE5Q2.js';import {Bc,Ya,Ma}from'../../_chunks/chunk-Z2DUFVI5.js';import {Vj,Wj,Xj,Yj,H,Xc,ec,gc,fc,dl,el}from'../../_chunks/chunk-3M2GZVQW.js';import'../../_chunks/chunk-LS57WE6K.js';import {memo,createContext,useState,useMemo,useId,useRef,useEffect,useContext}from'react';import y from'@mui/material/Box';import ut from'@mui/material/Popper';import {useTranslation}from'react-i18next';import yt from'@mui/material/ClickAwayListener';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import q from'@mui/material/Button';import {Calendar,DateObject}from'react-multi-date-picker';import Ee from'react-date-object';import ht from'react-date-object/calendars/arabic';import Tt from'react-date-object/calendars/gregorian';import kt from'react-date-object/locales/arabic_en';import wt from'react-date-object/locales/gregorian_en';var co=styled(y)(()=>({'[class$="-IndicatorsContainer2"]':{display:"none"},"#react-select-2-listbox":{width:300}})),fe=styled(y)(({theme:e})=>({borderRadius:e.spacing(.5),border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,boxShadow:e.shadows[10],minWidth:200,width:"max-content",overflow:"auto"})),mo=styled(y,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({width:156,fontSize:"11px",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,minHeight:32,borderRadius:"4px",padding:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer",display:"flex",alignItems:"center",gap:e.spacing(1),fontWeight:500,...o&&{borderRadius:"4px",boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark,background:e.palette.common.white},span:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}})),$=styled(y)(({theme:e})=>({padding:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",gap:e.spacing(1),height:33,cursor:"pointer","&:hover":{boxShadow:"0px 0px 16px 0px #00000021"},"&+&":{borderTop:"1px solid",borderColor:e.palette.divider},"&.active span":{fontWeight:500},span:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),_=styled(y)(()=>({width:12,height:12})),K=styled(y)(({theme:e})=>({fontSize:"11px",color:e.palette.text.secondary,lineHeight:"15.03px","&.selected":{color:e.palette.info.dark}}));function Re({zone:e,onChange:o,defaultCountryZone:t,countryCodes:n}){let[i,p]=useState(null),a=m=>{i||p(m.currentTarget);},l=()=>{i&&p(null);},r=(m,T)=>{m.stopPropagation(),o(T);},g=useMemo(()=>n.map(A).filter(m=>!!m),[n]),c=g.some(m=>B(m,e)),x=c?e:t;return jsxs($,{onMouseEnter:a,onMouseLeave:l,onClick:()=>{o(x);},children:[c?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx("img",{src:Wj,alt:"entity-timezone"}),jsx(b,{countryCode:x.countryCode}),jsx(K,{className:c?"selected":"",children:C(x)}),jsx(ut,{open:!!i,anchorEl:i,placement:"right-start",sx:{zIndex:3},disablePortal:true,children:jsx(fe,{sx:{maxHeight:300},children:g.map(m=>{let T=B(m,e);return jsxs($,{onClick:G=>{r(G,m);},sx:{gap:"4px"},children:[T?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx(b,{countryCode:m.countryCode}),jsx(K,{className:T?"selected":"",children:C(m)})]},m.countryCode)})})})]})}function ve({zone:e,onChange:o}){let t=z(x());if(!t)return null;let n=B(t,e);return jsxs($,{onClick:()=>o(t),children:[n?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx("img",{src:Vj,alt:"user-timezone"}),jsx(b,{countryCode:t.countryCode}),jsx(K,{className:n?"selected":"",children:C(t)})]})}function Ct({zone:e,onChange:o,defaultCountryZone:t,countryCodes:n}){let[i,p]=useState(null),a=!!i,l=z(x()),r=()=>{p(null);},g=m=>{o(m),r();},c=m=>{p(m.currentTarget);},x$1=B(e,l)?Vj:B(e,t)?Wj:Xj;return jsx(yt,{onClickAway:r,children:jsxs(co,{"data-testid":"ZonePicker",children:[jsxs(mo,{open:a,onClick:c,children:[jsx("img",{src:x$1,alt:"zone-icon"}),jsx(b,{countryCode:e.countryCode}),jsx("span",{children:C(e)})]}),jsx(ut,{open:a,anchorEl:i,placement:"top-start",sx:{zIndex:1400},children:jsxs(fe,{"data-testid":"ZonePicker_dropdown",children:[jsx(Re,{zone:e,onChange:g,defaultCountryZone:t,countryCodes:n}),jsx(ve,{zone:e,onChange:g})]})})]})})}var Se=memo(Ct);var fo=styled(y)(({theme:e})=>({display:"flex",marginTop:"8px",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"},".rmdp-day.rmdp-disabled":{color:"#ccc",cursor:"not-allowed"}})),go=styled(q)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:e.palette.text.primary}})),xo=styled(q)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:e.palette.info.dark,"&:hover":{background:e.palette.info.dark}})),yo=styled(y)(()=>({display:"flex",gap:8,marginLeft:"auto",flexShrink:0})),bo=styled(q,{shouldForwardProp:e=>e!=="open"})(({open:e,theme:o})=>({color:o.palette.text.primary,fontSize:"11px",fontWeight:500,padding:o.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:o.palette.divider,background:o.palette.common.white,textTransform:"none",height:32,...e&&{border:"1px solid",borderColor:o.palette.info.dark,boxShadow:o.shadows[7]}})),Co=styled(y)(({theme:e})=>({background:e.palette.common.white,display:"flex",justifyContent:"space-between",alignItems:"center",gap:10,padding:"16px",borderTop:"1px solid",borderColor:e.palette.divider,borderBottomRightRadius:"8px"})),Do=styled(y)(({theme:e})=>({padding:16,paddingInlineEnd:"23px",borderRight:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,width:"max-content",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",display:"flex",flexDirection:"column",gap:10,justifyContent:"space-between"})),ho=styled(y)(()=>({display:"flex",alignItems:"center",gap:"10px"})),To=styled(y)(()=>({position:"relative"})),ko=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"24px"})),wo=styled(y)(({theme:e})=>({color:e.palette.grey[700],fontSize:"9px",fontWeight:500,marginBottom:"6px"})),Mo=styled(y,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,height:32,padding:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",...o&&{border:`1px solid ${e.palette.info.dark}`,background:e.palette.common.white,boxShadow:e.shadows[7]}})),Po=styled(y)(({theme:e})=>({borderRadius:"8px",background:e.palette.common.white,boxShadow:"0px 8px 36px 0px rgba(0, 0, 0, 0.15)",textAlign:"center",color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px",padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",flexDirection:"column"})),Ro=styled(y)(({theme:e})=>({width:71,padding:"4px 0",cursor:"pointer","&:hover, &.active":{borderRadius:"100px",background:e.palette.info.light}})),vo=styled(y)(({theme:e})=>({border:"1px solid",borderColor:e.palette.divider,borderRadius:"50px",paddingInline:"6px 12px",color:e.palette.text.primary,fontSize:"11px",display:"flex",gap:"8px",alignItems:"center",justifyContent:"space-between",height:32,marginTop:"8px",img:{width:16,height:16},"& > div":{display:"flex",alignItems:"center",gap:"2px"}})),Bo=styled(q)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}})),So=styled(q)(({theme:e})=>({cursor:"pointer",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,color:e.palette.text.primary,fontSize:"11px",fontWeight:e.typography.fontWeightRegular,paddingInline:"12px",height:32,width:"max-content",textTransform:"unset","&:hover":{boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark}})),Oo=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),Eo=styled(y,{shouldForwardProp:e=>e!=="isAllDay"})(({theme:e,isAllDay:o})=>({display:"flex",alignItems:"center",gap:e.spacing(1),position:"relative",paddingInline:"5px",".label":{width:"max-content"},...!o&&{paddingRight:e.spacing(1),"&:after":{content:'""',position:"absolute",width:"1px",background:e.palette.divider,right:0,height:17}}})),Zo=styled(y)(()=>({width:235})),Io=styled(y)(()=>({display:"flex",gap:"4px"})),Ao=styled(y)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,paddingInline:"5px",width:"fit-content",height:32}));function Oe({calendarMode:e,onCalendarModeChange:o}){let{t}=useTranslation();return jsx(y,{children:jsxs(vo,{children:[jsxs(y,{children:[jsx("img",{src:ec,alt:"hijri"}),jsx("span",{children:t("hijri")})]}),jsx(h,{checked:e==="hijri",onChange:()=>o?.(e==="hijri"?"gregorian":"hijri")})]})})}var P=e=>e==="hijri"?kt:wt,R=e=>e==="hijri"?ht:Tt,jo=(e,o)=>!e||Number.isNaN(e.getTime())?void 0:new Ee({date:e,calendar:R(o),locale:P(o)}),Ze=(e$1,o,t)=>{let n=jo(e(e$1?.[0],t),o),i=jo(e(e$1?.[1],t),o);if(n&&i)return [n,i];let p=R(o),a=P(o),l=e(Date.now(),t)??new Date;return [new Ee({date:new Date(l.getFullYear(),l.getMonth(),l.getDate()-6),calendar:p,locale:a}),new Ee({date:l,calendar:p,locale:a})]},Ho=(e,o)=>Math.round((Date.UTC(o.getFullYear(),o.getMonth(),o.getDate())-Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))/864e5),xe=e=>e.setHour(0).setMinute(0).setSecond(0).setMillisecond(0),ye=e=>e.setHour(23).setMinute(59).setSecond(59).setMillisecond(999),Ie=e=>!!e[1]&&e[0].format("YYYYMMDD")===e[1].format("YYYYMMDD");var Bt=31,ze=createContext(null);function v(){let e=useContext(ze);if(!e)throw new Error("useDateRangeCalendar must be used inside a DateRangeCalendar");return e}function Wo({zone:e$1,range:o$1,onApply:t,calendarMode:n$1="gregorian",maxRangeDays:i,groupBy:p,onGroupByChange:a}){let[l,r]=useState(()=>Ze(o$1,n$1,e$1.zone)),[g,c]=useState(l),[x,m]=useState(e$1),[T,G]=useState(p??"day"),[te,D]=useState(()=>o(o$1,e$1.zone)),[re,V]=useState(null),[ne,ae]=useState(false),S=useRef(null),L=!!re,s=i===void 0?Bt:i;useEffect(()=>{if(L)return;let d=Ze(o$1,n$1,e$1.zone);r(d),c(d),D(o(o$1,e$1.zone)),S.current&&S.current.set("date",d[0]);},[o$1,e$1.zone,e$1.countryCode,n$1,L]),useEffect(()=>{let d=u=>new DateObject({date:u.toDate(),calendar:R(n$1),locale:P(n$1)});r(u=>[d(u[0]),d(u[1])]),c(u=>[d(u[0]),d(u[1])]);},[n$1]),useEffect(()=>{m(d=>d.zone===e$1.zone&&d.countryCode===e$1.countryCode?d:e$1);},[e$1.zone,e$1.countryCode,L]);let k=d=>{let u=d;if(d.length<2||s===0)return u;let j=Ho(xe(d[0]).toDate(),ye(d[1]).toDate());return j<=s?u:(ae(true),setTimeout(()=>{ae(false);},3e3),[d[0],d[1].subtract(j-s,"d")])},rt=d=>{let u=k(d);r(u),D(!Ie(u));},nt=d=>{let u=k(d);r([xe(u[0]),ye(u[1])]),D(true),S.current&&S.current.set("date",u[0]);},at=d=>r(d),it=d=>{D(d),d&&l[1]&&r([xe(l[0]),ye(l[1])]);},_e=()=>V(null),pt=d=>V(d.currentTarget),lt=()=>{let d=[l[0].toDate(),l[1].toDate()];return {range:(te?p$1(d,x.zone):n(d,x.zone))??d,zone:x}},dt=()=>{t(lt())!==false&&(c(l),a?.(T),_e());},st=d=>{let u=d[0]?.format("MMM D"),j=d[1]?.format("MMM D")??u;return u?u===j?u:`${u} - ${j}`:j};return {draft:l,isAllDay:te,isSameDay:Ie(l),isError:ne,maxRangeDays:s,open:L,anchorEl:re,pickedZone:x,selectedGroupBy:T,calendarRef:S,maxDate:e(Date.now(),x.zone),rangeLabel:st(g),pickRange:rt,pickPreset:nt,setTimes:at,setAllDay:it,pickZone:m,setGroupBy:G,openPicker:pt,closePicker:_e,apply:dt}}var Go={day:"Day",month:"Month",quarter:"Quarter",year:"Year"};function Zt(){let{selectedGroupBy:e,setGroupBy:o,open:t}=v(),[n,i]=useState(null),p=!!n&&t,{t:a}=useTranslation();return jsx(yt,{onClickAway:()=>i(null),children:jsxs(y,{children:[jsx(wo,{children:a("groupedBy")}),jsxs(Mo,{onClick:l=>i(l.currentTarget),open:p,children:[jsx("span",{children:Go[e]}),jsx(y,{component:"img",src:Xc,alt:"arrow",sx:{...p&&{transform:"rotate(180deg)"}}})]}),jsx(R$1,{open:p,anchorEl:n,children:jsx(Po,{sx:{width:n?.clientWidth},children:Object.entries(Go).map(([l,r])=>jsx(Ro,{onClick:()=>{o(l),i(null);},className:e===l?"active":"",children:r},l))})})]})})}var Yo=Zt;var At=["Su","Mo","Tu","We","Th","Fr","Sa"];function zt({calendarMode:e}){let{draft:o,maxDate:t,calendarRef:n,pickRange:i}=v();return jsx(Calendar,{ref:n,numberOfMonths:2,value:o,onChange:i,calendar:R(e),locale:P(e),range:true,format:"MMM DD",monthYearSeparator:" ",renderButton:(p,a)=>jsx(Bo,{onClick:a,children:jsx("img",{src:p==="right"?gc:fc,alt:"arrow"})}),weekDays:At,maxDate:t})}var No=zt;function He({calendarMode:e$1}){let{t:o}=useTranslation(),{pickedZone:t,pickPreset:n}=v(),i=useMemo(()=>{let p=e(Date.now(),t.zone)??new Date,a=()=>new DateObject({date:p,calendar:R(e$1),locale:P(e$1)}),l=r=>a().subtract(r,"month");return [{id:"today",value:[a(),a()]},{id:"lastWeek",value:[a().subtract(6,"day"),a()]},{id:"lastMonth",value:[a().subtract(30,"day"),a()]},...[1,2,3].map(r=>({id:l(r).toFirstOfMonth().format("MMMM YYYY"),value:[l(r).toFirstOfMonth(),l(r).toLastOfMonth()]}))]},[e$1,t.zone]);return jsx(y,{"data-testid":"RangePresets",children:jsx(Oo,{children:i.map(p=>jsx(So,{onClick:a=>{a.preventDefault(),n(p.value);},children:o(p.id)},p.id))})})}var Q=e=>e===0?12:e<=12?e:e-12,be=e=>e>=12?"PM":"AM",Ce=(e,o)=>o==="AM"&&e===12?0:o==="PM"&&e!==12?e+12:e,$o=()=>new Date().getMinutes(),_o=()=>Q(new Date().getHours());var Ko=styled(y)(()=>({width:157,padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"})),Uo=styled(j,{shouldForwardProp:e=>e!=="open"&&e!=="size"})(({theme:e,open:o,size:t})=>{let{base:n,grey:i,brand:p}=e.v2.palette;return {fontSize:"11px",fontWeight:500,background:n.white,border:`1px solid ${i[100]}`,borderRadius:"19px",height:t==="large"?32:24,width:t==="large"?74:58,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{boxShadow:"0px 0px 4px 0px #1F88D080",borderColor:p[500]}}}),J=styled(y)(()=>({textAlign:"center",cursor:"pointer",userSelect:"none"})),qo=styled(j,{shouldForwardProp:e=>e!=="selected"})(({theme:e,selected:o})=>{let{base:t,grey:n,brand:i}=e.v2.palette;return {fontSize:"11px",fontWeight:500,background:t.white,border:`1px solid ${n[100]}`,borderRadius:"4px",height:24,width:33,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{borderColor:"transparent",color:i[500],backgroundColor:alpha(i[500],.1)}}}),Qo=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"4px"})),Xo=styled(y)(()=>({display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"})),We=styled(y)(()=>({display:"flex",flexDirection:"column",justifyContent:"center",gap:"6px"})),Fe=styled(L)(()=>({flexGrow:1,maxWidth:"100%",".MuiInput-input":{fontWeight:"500",fontSize:"11px",textAlign:"center"},".MuiInput-root":{paddingInline:"8px"},height:32,width:32}));var $t=["AM","PM"],he=12,Ge=59;function Te({onChange:e,defaultTime:o,enableRealTimeChange:t,size:n="large"}){let i=Bc(useId(),"time-picker"),[p,a]=useState(null),[l,r]=useState(o?.period??(new Date().getHours()>=he?"PM":"AM")),[g,c]=useState(o?.hour??_o()),[x,m]=useState(o?.minute??$o()),T=!!p;useEffect(()=>{t&&e?.({hour:g,minute:x,period:l});},[g,x,l,t]);let G=s=>{a(s.currentTarget);},te=()=>{a(null),e?.({hour:g,minute:x,period:l});},D=s=>s<10?`0${s}`:s.toString(),re=s=>{let k=Ma(D(Number(s.target.value)));if(k>he){s.preventDefault();return}c(k);},V=()=>{c(s=>s===he?1:s+1);},ne=()=>{c(s=>s===1?he:s-1);},ae=s=>{let k=Ma(D(Number(s.target.value)));if(k>Ge){s.preventDefault();return}m(k);},S=()=>{m(s=>s===Ge?(V(),0):s+1);},L=()=>{m(s=>s===0?(ne(),Ge):s-1);};return jsx(yt,{onClickAway:te,children:jsxs(y,{id:i,"data-testid":"TimePicker",children:[jsx(Uo,{size:n,open:T,onClick:G,children:`${D(g)}:${D(x)}${l.toLowerCase()}`}),jsx(R$1,{open:T,anchorEl:p,placement:"top-start",sx:{marginTop:"8px",marginBottom:"8px"},children:jsxs(Ko,{children:[jsxs(Xo,{children:[jsxs(We,{children:[jsx(J,{onClick:V,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(Fe,{type:"number",hideArrows:true,disableFocusRing:true,value:D(g),onChange:re}),jsx(J,{onClick:ne,children:jsx("img",{src:el,alt:"arrow"})})]}),jsx(j,{children:":"}),jsxs(We,{children:[jsx(J,{onClick:S,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(Fe,{type:"number",hideArrows:true,disableFocusRing:true,value:D(x),onChange:ae}),jsx(J,{onClick:L,children:jsx("img",{src:el,alt:"arrow"})})]})]}),jsx(Qo,{children:$t.map(s=>jsx(qo,{onClick:()=>r(s),selected:l===s,children:s},s))})]})})]})})}function Kt(){let{t:e}=useTranslation(),{draft:o,isAllDay:t,setTimes:n,setAllDay:i}=v(),p=new DateObject(o[0]),a=new DateObject(o[1]),l=({hour:g,minute:c,period:x})=>{n([p.setHour(Ce(g,x??"AM")).setMinute(c).setSecond(0),a]);},r=({hour:g,minute:c,period:x})=>{n([p,a.setHour(Ce(g,x??"AM")).setMinute(c).setSecond(59)]);};return jsx(Zo,{children:jsxs(Ao,{children:[jsxs(Eo,{isAllDay:t,children:[jsx("span",{className:"label",children:e("allDay")}),jsx(h,{checked:t,onChange:g=>i(g.target.checked)})]}),!t&&jsxs(Io,{children:[jsx(Te,{defaultTime:{hour:Q(p.hour),minute:p.minute,period:be(p.hour)},size:"small",onChange:l,enableRealTimeChange:true},`${o[0]?.toString()}-start`),jsx(Te,{defaultTime:{hour:Q(a.hour),minute:a.minute,period:be(a.hour)},size:"small",onChange:r,enableRealTimeChange:true},`${o[1]?.toString()}-end`)]})]})})}var et=Kt;function Jt(e){let{calendarMode:o="gregorian",onCalendarModeChange:t,defaultCountryZone:n,countryCodes:i,groupBy:p}=e,{t:a}=useTranslation(),l=Bc(useId(),"date-range-calendar"),r=Wo(e),g=c=>{c.key==="Enter"&&r.draft[1]&&!r.isError?(c.stopPropagation(),r.apply()):c.key==="Escape"&&(c.stopPropagation(),r.closePicker());};return jsx(ze.Provider,{value:r,children:jsxs(To,{id:l,"data-testid":"DateRangeCalendar",children:[jsx(bo,{onClick:r.openPicker,open:r.open,children:r.rangeLabel}),r.open&&jsx(B$1,{onClick:c=>{c.stopPropagation(),r.closePicker();}}),jsx(ut,{open:r.open,anchorEl:r.anchorEl,placement:"bottom-end",children:jsxs(fo,{onKeyDown:g,children:[jsxs(Do,{children:[jsx(He,{calendarMode:o}),jsxs(ko,{children:[p&&jsx(Yo,{}),jsx(Oe,{calendarMode:o,onCalendarModeChange:t})]})]}),jsxs(y,{sx:{display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[jsx(No,{calendarMode:o}),jsx(x$1,{in:r.isError&&r.maxRangeDays>0,children:jsx(b$1,{severity:"error",message:a("dateRangeError",{number:r.maxRangeDays}),sx:{marginInline:"16px",marginBottom:"16px"}})}),jsxs(Co,{sx:{borderBottomLeftRadius:"8px"},children:[n&&i&&jsx(ho,{children:jsx(Se,{zone:r.pickedZone,onChange:r.pickZone,defaultCountryZone:n,countryCodes:i},String(r.open))}),r.isSameDay&&jsx(et,{}),jsxs(yo,{children:[jsx(go,{variant:"contained",onClick:r.closePicker,children:a("cancel")}),jsx(xo,{variant:"contained",onClick:r.apply,disabled:!r.draft[1],children:a("okay")})]})]})]})]})})]})})}var ot=Jt;function or({value:e,zone:o,format:t,...n}){let i=useMemo(()=>m(e,o,t),[e,o,t]);return jsx(a,{...n,children:i})}var tr=or;var tt=styled(y)({display:"flex",alignItems:"center",gap:"12px"});function lr({value:e,zone:o,format:t,rendered:n,tableMode:i,...p}){let a$1=useMemo(()=>n??m(e,o,t),[n,e,o,t]);return jsx(a,{...p,children:jsx(tt,{children:jsx(y,{sx:{...Ya(i)&&{fontSize:"11px"}},children:a$1})})})}var Ne=lr;function cr({value:e,zone:o,hintZone:t,format:n,tableMode:i,...p$1}){let a=useMemo(()=>{if(!(!t||e==null||e===""))return b$2(o,t,e)?m(e,t):void 0},[e,o,t]);return jsxs(y,{sx:{display:"flex",gap:"8px"},children:[jsx(Ne,{value:e,zone:o,format:n,tableMode:i,...p$1}),a!==void 0&&jsx(p,{title:a,children:jsx("img",{src:H,width:14,alt:"timezone"})})]})}var mr=cr;export{ot as DateRangeCalendar,Se as ZonePicker,tr as ZonedDateCell,mr as ZonedDateHintViewer,Ne as ZonedDateViewer};
1
+ import {a}from'../../_chunks/chunk-7RNGZ5RA.js';import'../../_chunks/chunk-JX2GYBL7.js';import'../../_chunks/chunk-RXDZGI4N.js';import'../../_chunks/chunk-RXB54R2H.js';import'../../_chunks/chunk-QUYS25CX.js';import'../../_chunks/chunk-7K7NRYXI.js';import'../../_chunks/chunk-JK5C4QAJ.js';import'../../_chunks/chunk-KPY3W62P.js';import'../../_chunks/chunk-WEDCKMUU.js';import'../../_chunks/chunk-JDNJX7KL.js';import'../../_chunks/chunk-JGVAEGDX.js';import'../../_chunks/chunk-37SWWF3G.js';import'../../_chunks/chunk-ISC5KT5E.js';import'../../_chunks/chunk-QFKF5I2T.js';import'../../_chunks/chunk-JGCMUAHD.js';import'../../_chunks/chunk-WAQJPDMU.js';import'../../_chunks/chunk-YQEBQZXF.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-UZVOPL5U.js';import'../../_chunks/chunk-265MSIZH.js';import'../../_chunks/chunk-W2HSCMPT.js';import'../../_chunks/chunk-ZFVCIKJ5.js';import'../../_chunks/chunk-BVAZARPH.js';import'../../_chunks/chunk-RSIJKVO6.js';import'../../_chunks/chunk-JDEIU7E5.js';import'../../_chunks/chunk-VEPRRBYW.js';import'../../_chunks/chunk-EVLGRGMN.js';import'../../_chunks/chunk-UY75PFQ7.js';import'../../_chunks/chunk-IPIA27QM.js';import'../../_chunks/chunk-KVZJDQV2.js';import'../../_chunks/chunk-46V3JVHX.js';import'../../_chunks/chunk-UQ7XDCXB.js';import'../../_chunks/chunk-FJNHU3S4.js';import'../../_chunks/chunk-ZERM22LM.js';import'../../_chunks/chunk-XMGXCCSD.js';import'../../_chunks/chunk-B3QNGYUI.js';import'../../_chunks/chunk-VRPTMDSJ.js';import'../../_chunks/chunk-ZYP2H2JO.js';import'../../_chunks/chunk-SN2KTD4P.js';import'../../_chunks/chunk-QZJCQWTE.js';import'../../_chunks/chunk-ROTVD5UM.js';import'../../_chunks/chunk-JL3QN5TK.js';import'../../_chunks/chunk-QVH3AVGY.js';import'../../_chunks/chunk-7XEIN7KW.js';import'../../_chunks/chunk-2FFQR4XJ.js';import'../../_chunks/chunk-O44C6KUS.js';import'../../_chunks/chunk-I7OG7E3Z.js';import'../../_chunks/chunk-YQYHL4AG.js';import'../../_chunks/chunk-YDOKNGL2.js';import {b}from'../../_chunks/chunk-ADEEIE7D.js';import'../../_chunks/chunk-42T6C72N.js';import'../../_chunks/chunk-SKASDIJH.js';import'../../_chunks/chunk-5SPLSDGC.js';import'../../_chunks/chunk-KOBQX2C2.js';import {b as b$1}from'../../_chunks/chunk-JM6GMHUT.js';import'../../_chunks/chunk-2DZTKOWC.js';import'../../_chunks/chunk-363HMCRF.js';import'../../_chunks/chunk-52PPSCXG.js';import'../../_chunks/chunk-ZO7IPGTD.js';import'../../_chunks/chunk-A6YF5T27.js';import'../../_chunks/chunk-EKOUE2IZ.js';import'../../_chunks/chunk-IERB2R3J.js';import'../../_chunks/chunk-FIFXF3JZ.js';import'../../_chunks/chunk-BCIBP56P.js';import {j,L,B as B$1,x as x$1,p,R as R$1,h}from'../../_chunks/chunk-CAVYK7HF.js';import {z,x,B,C,A,m,b as b$2,o,e,p as p$1,n}from'../../_chunks/chunk-BE2RKFQJ.js';import'../../_chunks/chunk-HZCNE5Q2.js';import {Bc,Ya,Ma}from'../../_chunks/chunk-Z2DUFVI5.js';import {Vj,Wj,Xj,Yj,H,Xc,ec,gc,fc,dl,el}from'../../_chunks/chunk-3M2GZVQW.js';import'../../_chunks/chunk-LS57WE6K.js';import {memo,createContext,useState,useMemo,useId,useRef,useEffect,useContext}from'react';import y from'@mui/material/Box';import ut from'@mui/material/Popper';import {useTranslation}from'react-i18next';import yt from'@mui/material/ClickAwayListener';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import q from'@mui/material/Button';import {Calendar,DateObject}from'react-multi-date-picker';import Ee from'react-date-object';import ht from'react-date-object/calendars/arabic';import Tt from'react-date-object/calendars/gregorian';import kt from'react-date-object/locales/arabic_en';import wt from'react-date-object/locales/gregorian_en';var co=styled(y)(()=>({'[class$="-IndicatorsContainer2"]':{display:"none"},"#react-select-2-listbox":{width:300}})),fe=styled(y)(({theme:e})=>({borderRadius:e.spacing(.5),border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,boxShadow:e.shadows[10],minWidth:200,width:"max-content",overflow:"auto"})),mo=styled(y,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({width:156,fontSize:"11px",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,minHeight:32,borderRadius:"4px",padding:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer",display:"flex",alignItems:"center",gap:e.spacing(1),fontWeight:500,...o&&{borderRadius:"4px",boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark,background:e.palette.common.white},span:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}})),$=styled(y)(({theme:e})=>({padding:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",gap:e.spacing(1),height:33,cursor:"pointer","&:hover":{boxShadow:"0px 0px 16px 0px #00000021"},"&+&":{borderTop:"1px solid",borderColor:e.palette.divider},"&.active span":{fontWeight:500},span:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),_=styled(y)(()=>({width:12,height:12})),K=styled(y)(({theme:e})=>({fontSize:"11px",color:e.palette.text.secondary,lineHeight:"15.03px","&.selected":{color:e.palette.info.dark}}));function Re({zone:e,onChange:o,defaultCountryZone:t,countryCodes:n}){let[i,p]=useState(null),a=m=>{i||p(m.currentTarget);},l=()=>{i&&p(null);},r=(m,T)=>{m.stopPropagation(),o(T);},g=useMemo(()=>n.map(A).filter(m=>!!m),[n]),c=g.some(m=>B(m,e)),x=c?e:t;return jsxs($,{onMouseEnter:a,onMouseLeave:l,onClick:()=>{o(x);},children:[c?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx("img",{src:Wj,alt:"entity-timezone"}),jsx(b,{countryCode:x.countryCode}),jsx(K,{className:c?"selected":"",children:C(x)}),jsx(ut,{open:!!i,anchorEl:i,placement:"right-start",sx:{zIndex:3},disablePortal:true,children:jsx(fe,{sx:{maxHeight:300},children:g.map(m=>{let T=B(m,e);return jsxs($,{onClick:G=>{r(G,m);},sx:{gap:"4px"},children:[T?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx(b,{countryCode:m.countryCode}),jsx(K,{className:T?"selected":"",children:C(m)})]},m.countryCode)})})})]})}function ve({zone:e,onChange:o}){let t=z(x());if(!t)return null;let n=B(t,e);return jsxs($,{onClick:()=>o(t),children:[n?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx("img",{src:Vj,alt:"user-timezone"}),jsx(b,{countryCode:t.countryCode}),jsx(K,{className:n?"selected":"",children:C(t)})]})}function Ct({zone:e,onChange:o,defaultCountryZone:t,countryCodes:n}){let[i,p]=useState(null),a=!!i,l=z(x()),r=()=>{p(null);},g=m=>{o(m),r();},c=m=>{p(m.currentTarget);},x$1=B(e,l)?Vj:B(e,t)?Wj:Xj;return jsx(yt,{onClickAway:r,children:jsxs(co,{"data-testid":"ZonePicker",children:[jsxs(mo,{open:a,onClick:c,children:[jsx("img",{src:x$1,alt:"zone-icon"}),jsx(b,{countryCode:e.countryCode}),jsx("span",{children:C(e)})]}),jsx(ut,{open:a,anchorEl:i,placement:"top-start",sx:{zIndex:1400},children:jsxs(fe,{"data-testid":"ZonePicker_dropdown",children:[jsx(Re,{zone:e,onChange:g,defaultCountryZone:t,countryCodes:n}),jsx(ve,{zone:e,onChange:g})]})})]})})}var Se=memo(Ct);var fo=styled(y)(({theme:e})=>({display:"flex",marginTop:"8px",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"},".rmdp-day.rmdp-disabled":{color:"#ccc",cursor:"not-allowed"}})),go=styled(q)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:e.palette.text.primary}})),xo=styled(q)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:e.palette.info.dark,"&:hover":{background:e.palette.info.dark}})),yo=styled(y)(()=>({display:"flex",gap:8,marginLeft:"auto",flexShrink:0})),bo=styled(q,{shouldForwardProp:e=>e!=="open"})(({open:e,theme:o})=>({color:o.palette.text.primary,fontSize:"11px",fontWeight:500,padding:o.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:o.palette.divider,background:o.palette.common.white,textTransform:"none",height:32,...e&&{border:"1px solid",borderColor:o.palette.info.dark,boxShadow:o.shadows[7]}})),Co=styled(y)(({theme:e})=>({background:e.palette.common.white,display:"flex",justifyContent:"space-between",alignItems:"center",gap:10,padding:"16px",borderTop:"1px solid",borderColor:e.palette.divider,borderBottomRightRadius:"8px"})),Do=styled(y)(({theme:e})=>({padding:16,paddingInlineEnd:"23px",borderRight:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,width:"max-content",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",display:"flex",flexDirection:"column",gap:10,justifyContent:"space-between"})),ho=styled(y)(()=>({display:"flex",alignItems:"center",gap:"10px"})),To=styled(y)(()=>({position:"relative"})),ko=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"24px"})),wo=styled(y)(({theme:e})=>({color:e.palette.grey[700],fontSize:"9px",fontWeight:500,marginBottom:"6px"})),Mo=styled(y,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,height:32,padding:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",...o&&{border:`1px solid ${e.palette.info.dark}`,background:e.palette.common.white,boxShadow:e.shadows[7]}})),Po=styled(y)(({theme:e})=>({borderRadius:"8px",background:e.palette.common.white,boxShadow:"0px 8px 36px 0px rgba(0, 0, 0, 0.15)",textAlign:"center",color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px",padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",flexDirection:"column"})),Ro=styled(y)(({theme:e})=>({width:71,padding:"4px 0",cursor:"pointer","&:hover, &.active":{borderRadius:"100px",background:e.palette.info.light}})),vo=styled(y)(({theme:e})=>({border:"1px solid",borderColor:e.palette.divider,borderRadius:"50px",paddingInline:"6px 12px",color:e.palette.text.primary,fontSize:"11px",display:"flex",gap:"8px",alignItems:"center",justifyContent:"space-between",height:32,marginTop:"8px",img:{width:16,height:16},"& > div":{display:"flex",alignItems:"center",gap:"2px"}})),Bo=styled(q)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}})),So=styled(q)(({theme:e})=>({cursor:"pointer",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,color:e.palette.text.primary,fontSize:"11px",fontWeight:e.typography.fontWeightRegular,paddingInline:"12px",height:32,width:"max-content",textTransform:"unset","&:hover":{boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark}})),Oo=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),Eo=styled(y,{shouldForwardProp:e=>e!=="isAllDay"})(({theme:e,isAllDay:o})=>({display:"flex",alignItems:"center",gap:e.spacing(1),position:"relative",paddingInline:"5px",".label":{width:"max-content"},...!o&&{paddingRight:e.spacing(1),"&:after":{content:'""',position:"absolute",width:"1px",background:e.palette.divider,right:0,height:17}}})),Zo=styled(y)(()=>({width:235})),Io=styled(y)(()=>({display:"flex",gap:"4px"})),Ao=styled(y)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,paddingInline:"5px",width:"fit-content",height:32}));function Oe({calendarMode:e,onCalendarModeChange:o}){let{t}=useTranslation();return jsx(y,{children:jsxs(vo,{children:[jsxs(y,{children:[jsx("img",{src:ec,alt:"hijri"}),jsx("span",{children:t("hijri")})]}),jsx(h,{checked:e==="hijri",onChange:()=>o?.(e==="hijri"?"gregorian":"hijri")})]})})}var P=e=>e==="hijri"?kt:wt,R=e=>e==="hijri"?ht:Tt,jo=(e,o)=>!e||Number.isNaN(e.getTime())?void 0:new Ee({date:e,calendar:R(o),locale:P(o)}),Ze=(e$1,o,t)=>{let n=jo(e(e$1?.[0],t),o),i=jo(e(e$1?.[1],t),o);if(n&&i)return [n,i];let p=R(o),a=P(o),l=e(Date.now(),t)??new Date;return [new Ee({date:new Date(l.getFullYear(),l.getMonth(),l.getDate()-6),calendar:p,locale:a}),new Ee({date:l,calendar:p,locale:a})]},Ho=(e,o)=>Math.round((Date.UTC(o.getFullYear(),o.getMonth(),o.getDate())-Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))/864e5),xe=e=>e.setHour(0).setMinute(0).setSecond(0).setMillisecond(0),ye=e=>e.setHour(23).setMinute(59).setSecond(59).setMillisecond(999),Ie=e=>!!e[1]&&e[0].format("YYYYMMDD")===e[1].format("YYYYMMDD");var Bt=31,ze=createContext(null);function v(){let e=useContext(ze);if(!e)throw new Error("useDateRangeCalendar must be used inside a DateRangeCalendar");return e}function Wo({zone:e$1,range:o$1,onApply:t,calendarMode:n$1="gregorian",maxRangeDays:i,groupBy:p,onGroupByChange:a}){let[l,r]=useState(()=>Ze(o$1,n$1,e$1.zone)),[g,c]=useState(l),[x,m]=useState(e$1),[T,G]=useState(p??"day"),[te,D]=useState(()=>o(o$1,e$1.zone)),[re,V]=useState(null),[ne,ae]=useState(false),S=useRef(null),L=!!re,s=i===void 0?Bt:i;useEffect(()=>{if(L)return;let d=Ze(o$1,n$1,e$1.zone);r(d),c(d),D(o(o$1,e$1.zone)),S.current&&S.current.set("date",d[0]);},[o$1,e$1.zone,e$1.countryCode,n$1,L]),useEffect(()=>{let d=u=>new DateObject({date:u.toDate(),calendar:R(n$1),locale:P(n$1)});r(u=>[d(u[0]),d(u[1])]),c(u=>[d(u[0]),d(u[1])]);},[n$1]),useEffect(()=>{m(d=>d.zone===e$1.zone&&d.countryCode===e$1.countryCode?d:e$1);},[e$1.zone,e$1.countryCode,L]);let k=d=>{let u=d;if(d.length<2||s===0)return u;let j=Ho(xe(d[0]).toDate(),ye(d[1]).toDate());return j<=s?u:(ae(true),setTimeout(()=>{ae(false);},3e3),[d[0],d[1].subtract(j-s,"d")])},rt=d=>{let u=k(d);r(u),D(!Ie(u));},nt=d=>{let u=k(d);r([xe(u[0]),ye(u[1])]),D(true),S.current&&S.current.set("date",u[0]);},at=d=>r(d),it=d=>{D(d),d&&l[1]&&r([xe(l[0]),ye(l[1])]);},_e=()=>V(null),pt=d=>V(d.currentTarget),lt=()=>{let d=[l[0].toDate(),l[1].toDate()];return {range:(te?p$1(d,x.zone):n(d,x.zone))??d,zone:x}},dt=()=>{t(lt())!==false&&(c(l),a?.(T),_e());},st=d=>{let u=d[0]?.format("MMM D"),j=d[1]?.format("MMM D")??u;return u?u===j?u:`${u} - ${j}`:j};return {draft:l,isAllDay:te,isSameDay:Ie(l),isError:ne,maxRangeDays:s,open:L,anchorEl:re,pickedZone:x,selectedGroupBy:T,calendarRef:S,maxDate:e(Date.now(),x.zone),rangeLabel:st(g),pickRange:rt,pickPreset:nt,setTimes:at,setAllDay:it,pickZone:m,setGroupBy:G,openPicker:pt,closePicker:_e,apply:dt}}var Go={day:"Day",month:"Month",quarter:"Quarter",year:"Year"};function Zt(){let{selectedGroupBy:e,setGroupBy:o,open:t}=v(),[n,i]=useState(null),p=!!n&&t,{t:a}=useTranslation();return jsx(yt,{onClickAway:()=>i(null),children:jsxs(y,{children:[jsx(wo,{children:a("groupedBy")}),jsxs(Mo,{onClick:l=>i(l.currentTarget),open:p,children:[jsx("span",{children:Go[e]}),jsx(y,{component:"img",src:Xc,alt:"arrow",sx:{...p&&{transform:"rotate(180deg)"}}})]}),jsx(R$1,{open:p,anchorEl:n,children:jsx(Po,{sx:{width:n?.clientWidth},children:Object.entries(Go).map(([l,r])=>jsx(Ro,{onClick:()=>{o(l),i(null);},className:e===l?"active":"",children:r},l))})})]})})}var Yo=Zt;var At=["Su","Mo","Tu","We","Th","Fr","Sa"];function zt({calendarMode:e}){let{draft:o,maxDate:t,calendarRef:n,pickRange:i}=v();return jsx(Calendar,{ref:n,numberOfMonths:2,value:o,onChange:i,calendar:R(e),locale:P(e),range:true,format:"MMM DD",monthYearSeparator:" ",renderButton:(p,a)=>jsx(Bo,{onClick:a,children:jsx("img",{src:p==="right"?gc:fc,alt:"arrow"})}),weekDays:At,maxDate:t})}var No=zt;function He({calendarMode:e$1}){let{t:o}=useTranslation(),{pickedZone:t,pickPreset:n}=v(),i=useMemo(()=>{let p=e(Date.now(),t.zone)??new Date,a=()=>new DateObject({date:p,calendar:R(e$1),locale:P(e$1)}),l=r=>a().subtract(r,"month");return [{id:"today",value:[a(),a()]},{id:"lastWeek",value:[a().subtract(6,"day"),a()]},{id:"lastMonth",value:[a().subtract(30,"day"),a()]},...[1,2,3].map(r=>({id:l(r).toFirstOfMonth().format("MMMM YYYY"),value:[l(r).toFirstOfMonth(),l(r).toLastOfMonth()]}))]},[e$1,t.zone]);return jsx(y,{"data-testid":"RangePresets",children:jsx(Oo,{children:i.map(p=>jsx(So,{onClick:a=>{a.preventDefault(),n(p.value);},children:o(p.id)},p.id))})})}var Q=e=>e===0?12:e<=12?e:e-12,be=e=>e>=12?"PM":"AM",Ce=(e,o)=>o==="AM"&&e===12?0:o==="PM"&&e!==12?e+12:e,$o=()=>new Date().getMinutes(),_o=()=>Q(new Date().getHours());var Ko=styled(y)(()=>({width:157,padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"})),Uo=styled(j,{shouldForwardProp:e=>e!=="open"&&e!=="size"})(({theme:e,open:o,size:t})=>{let{base:n,grey:i,brand:p}=e.v2.palette;return {fontSize:"11px",fontWeight:500,background:n.white,border:`1px solid ${i[100]}`,borderRadius:"19px",height:t==="large"?32:24,width:t==="large"?74:58,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{boxShadow:"0px 0px 4px 0px #1F88D080",borderColor:p[500]}}}),J=styled(y)(()=>({textAlign:"center",cursor:"pointer",userSelect:"none"})),qo=styled(j,{shouldForwardProp:e=>e!=="selected"})(({theme:e,selected:o})=>{let{base:t,grey:n,brand:i}=e.v2.palette;return {fontSize:"11px",fontWeight:500,background:t.white,border:`1px solid ${n[100]}`,borderRadius:"4px",height:24,width:33,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{borderColor:"transparent",color:i[500],backgroundColor:alpha(i[500],.1)}}}),Qo=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"4px"})),Xo=styled(y)(()=>({display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"})),We=styled(y)(()=>({display:"flex",flexDirection:"column",justifyContent:"center",gap:"6px"})),Fe=styled(L)(()=>({flexGrow:1,maxWidth:"100%",".MuiInput-input":{fontWeight:"500",fontSize:"11px",textAlign:"center"},".MuiInput-root":{paddingInline:"8px"},height:32,width:32}));var $t=["AM","PM"],he=12,Ge=59;function Te({onChange:e,defaultTime:o,enableRealTimeChange:t,size:n="large"}){let i=Bc(useId(),"time-picker"),[p,a]=useState(null),[l,r]=useState(o?.period??(new Date().getHours()>=he?"PM":"AM")),[g,c]=useState(o?.hour??_o()),[x,m]=useState(o?.minute??$o()),T=!!p;useEffect(()=>{t&&e?.({hour:g,minute:x,period:l});},[g,x,l,t]);let G=s=>{a(s.currentTarget);},te=()=>{a(null),e?.({hour:g,minute:x,period:l});},D=s=>s<10?`0${s}`:s.toString(),re=s=>{let k=Ma(D(Number(s.target.value)));if(k>he){s.preventDefault();return}c(k);},V=()=>{c(s=>s===he?1:s+1);},ne=()=>{c(s=>s===1?he:s-1);},ae=s=>{let k=Ma(D(Number(s.target.value)));if(k>Ge){s.preventDefault();return}m(k);},S=()=>{m(s=>s===Ge?(V(),0):s+1);},L=()=>{m(s=>s===0?(ne(),Ge):s-1);};return jsx(yt,{onClickAway:te,children:jsxs(y,{id:i,"data-testid":"TimePicker",children:[jsx(Uo,{size:n,open:T,onClick:G,children:`${D(g)}:${D(x)}${l.toLowerCase()}`}),jsx(R$1,{open:T,anchorEl:p,placement:"top-start",sx:{marginTop:"8px",marginBottom:"8px"},children:jsxs(Ko,{children:[jsxs(Xo,{children:[jsxs(We,{children:[jsx(J,{onClick:V,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(Fe,{type:"number",hideArrows:true,disableFocusRing:true,value:D(g),onChange:re}),jsx(J,{onClick:ne,children:jsx("img",{src:el,alt:"arrow"})})]}),jsx(j,{children:":"}),jsxs(We,{children:[jsx(J,{onClick:S,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(Fe,{type:"number",hideArrows:true,disableFocusRing:true,value:D(x),onChange:ae}),jsx(J,{onClick:L,children:jsx("img",{src:el,alt:"arrow"})})]})]}),jsx(Qo,{children:$t.map(s=>jsx(qo,{onClick:()=>r(s),selected:l===s,children:s},s))})]})})]})})}function Kt(){let{t:e}=useTranslation(),{draft:o,isAllDay:t,setTimes:n,setAllDay:i}=v(),p=new DateObject(o[0]),a=new DateObject(o[1]),l=({hour:g,minute:c,period:x})=>{n([p.setHour(Ce(g,x??"AM")).setMinute(c).setSecond(0),a]);},r=({hour:g,minute:c,period:x})=>{n([p,a.setHour(Ce(g,x??"AM")).setMinute(c).setSecond(59)]);};return jsx(Zo,{children:jsxs(Ao,{children:[jsxs(Eo,{isAllDay:t,children:[jsx("span",{className:"label",children:e("allDay")}),jsx(h,{checked:t,onChange:g=>i(g.target.checked)})]}),!t&&jsxs(Io,{children:[jsx(Te,{defaultTime:{hour:Q(p.hour),minute:p.minute,period:be(p.hour)},size:"small",onChange:l,enableRealTimeChange:true},`${o[0]?.toString()}-start`),jsx(Te,{defaultTime:{hour:Q(a.hour),minute:a.minute,period:be(a.hour)},size:"small",onChange:r,enableRealTimeChange:true},`${o[1]?.toString()}-end`)]})]})})}var et=Kt;function Jt(e){let{calendarMode:o="gregorian",onCalendarModeChange:t,defaultCountryZone:n,countryCodes:i,groupBy:p}=e,{t:a}=useTranslation(),l=Bc(useId(),"date-range-calendar"),r=Wo(e),g=c=>{c.key==="Enter"&&r.draft[1]&&!r.isError?(c.stopPropagation(),r.apply()):c.key==="Escape"&&(c.stopPropagation(),r.closePicker());};return jsx(ze.Provider,{value:r,children:jsxs(To,{id:l,"data-testid":"DateRangeCalendar",children:[jsx(bo,{onClick:r.openPicker,open:r.open,children:r.rangeLabel}),r.open&&jsx(B$1,{onClick:c=>{c.stopPropagation(),r.closePicker();}}),jsx(ut,{open:r.open,anchorEl:r.anchorEl,placement:"bottom-end",children:jsxs(fo,{onKeyDown:g,children:[jsxs(Do,{children:[jsx(He,{calendarMode:o}),jsxs(ko,{children:[p&&jsx(Yo,{}),jsx(Oe,{calendarMode:o,onCalendarModeChange:t})]})]}),jsxs(y,{sx:{display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[jsx(No,{calendarMode:o}),jsx(x$1,{in:r.isError&&r.maxRangeDays>0,children:jsx(b$1,{severity:"error",message:a("dateRangeError",{number:r.maxRangeDays}),sx:{marginInline:"16px",marginBottom:"16px"}})}),jsxs(Co,{sx:{borderBottomLeftRadius:"8px"},children:[n&&i&&jsx(ho,{children:jsx(Se,{zone:r.pickedZone,onChange:r.pickZone,defaultCountryZone:n,countryCodes:i},String(r.open))}),r.isSameDay&&jsx(et,{}),jsxs(yo,{children:[jsx(go,{variant:"contained",onClick:r.closePicker,children:a("cancel")}),jsx(xo,{variant:"contained",onClick:r.apply,disabled:!r.draft[1],children:a("okay")})]})]})]})]})})]})})}var ot=Jt;function or({value:e,zone:o,format:t,...n}){let i=useMemo(()=>m(e,o,t),[e,o,t]);return jsx(a,{...n,children:i})}var tr=or;var tt=styled(y)({display:"flex",alignItems:"center",gap:"12px"});function lr({value:e,zone:o,format:t,rendered:n,tableMode:i,...p}){let a$1=useMemo(()=>n??m(e,o,t),[n,e,o,t]);return jsx(a,{...p,children:jsx(tt,{children:jsx(y,{sx:{...Ya(i)&&{fontSize:"11px"}},children:a$1})})})}var Ne=lr;function cr({value:e,zone:o,hintZone:t,format:n,tableMode:i,...p$1}){let a=useMemo(()=>{if(!(!t||e==null||e===""))return b$2(o,t,e)?m(e,t):void 0},[e,o,t]);return jsxs(y,{sx:{display:"flex",gap:"8px"},children:[jsx(Ne,{value:e,zone:o,format:n,tableMode:i,...p$1}),a!==void 0&&jsx(p,{title:a,children:jsx("img",{src:H,width:14,alt:"timezone"})})]})}var mr=cr;export{ot as DateRangeCalendar,Se as ZonePicker,tr as ZonedDateCell,mr as ZonedDateHintViewer,Ne as ZonedDateViewer};
package/build/index.js CHANGED
@@ -1 +1 @@
1
- export{O as ActionCell,Q as ActionIconColumn,M as ActionIconsVariants,P as ActionsColumn,ua as AgreementCell,R as AgreementIcon,G as AmountCell,y as AmountCellContainer,I as AmountCellSheet,H as AmountCellText,D as AmountConversionTooltipLabel,va as AuthCell,T as AuthIcons,S as AuthSourceAnimation,Pa as AuthenticationCell,ta as AuthenticationModeBadge,Fa as AuthenticationStatusCell,Ga as AuthenticationTypeCell,V as AuthorizationAutoIcons,W as AuthorizedIcon,i as AvatarStyled,d as BadgeWrapper,ma as BalanceCell,na as BalanceCellSheet,Aa as BankCell,Na as BankReferenceCell,Xa as BrandCell,eb as BrandsCell,wc as CancelButton,k as CaptureTextLabel,Ha as ChannelsCell,Va as ChargeStatus,X as ChargeStatusIcon,Qa as CheckoutStatusCell,z as ConversionBadge,B as ConversionTooltip,C as ConversionTooltipRow,E as ConversionTypeLabel,g as CountBadge,Bc as CountriesItem,Cc as CurrenciesItem,La as CurrencyCell,F as CurrencyInfo,A as CurrencySpan,w as CustomerCell,x as CustomerCellSheet,Y as CustomerInitiatedIcon,t as DateCell,Lc as DateFilter,s as DateViewer,ia as DestinationCell,ja as DestinationCellSheet,ka as DestinationCellText,ga as DestinationIcon,Da as DestinationStatusCell,ha as DeviceCell,_ as DeviceIconChip,$ as DisputeIcon,Ia as DueDateCell,bb as EntityCell,yc as FilterDropdown,uc as Footer,b as GeographyBox,Z as GeographyIcon,N as IDButton,Ec as ID_SEPERATOR,h as IdButtonContainer,r as ImageWrapper,db as IndividualsCell,Ra as IntentsStatusCell,Ta as InvoiceStatusCell,aa as IssuerIcon,kb as LinkCell,Mc as ListColumnFilter,tc as ListHeader,sc as ListHeaderToolbarAside,cb as MarketPlaceCell,zc as MerchantItem,Ic as MerchantsFilterItem,Ya as MetadataCell,vc as OkayButton,u as OrderCell,v as OrderCellSheet,lb as OrdersCellSheet,hb as PaymentAgreementCellSheet,pa as PaymentCardNumberSource,qa as PaymentMethodSource,sa as PaymentSchemeSource,ra as PaymentTypeSource,Ma as PayoutDateCell,ba as PayoutIcon,Za as PayoutReportCell,Ba as PayoutStatusCell,Jc as PhoneFilter,q as PiePercentage,Ja as ProductsCell,ib as ProviderCell,jb as PurposeCell,_a as ReceiptCell,$a as ReceiptCellSheet,ab as ReceiptCellText,Oa as ReferenceCell,Sa as RefundChargeCell,ca as RefundIcon,xa as RefundStateIcon,ya as RefundStatusCell,wa as RefundStatusIcon,Ca as RefundTooltipView,Ac as RetailersItem,Fc as SEARCH_THRESHOLD,fb as SalesChannelCell,gb as SalesChannelCellSheet,oa as SourceCell,ea as SourceIcon,fa as SourceIcons,f as StarBadgeWrapper,J as StatusCell,n as StatusCellContainer,K as StatusCellSheet,L as StatusCellText,Kc as StatusFilter,p as StatusIcon,o as StatusIconWrapper,m as StyledTextTableCell,a as TableCell,j as TextLabel,Ka as TextTableCell,Ua as TextWithBadgeCell,e as TimeZone,Wa as TokenStatusCell,c as TransparentButton,Dc as TreeLevel,U as VoidAutoIcon,l as VoidTextLabel,za as WalletCell,Ea as authenticationStatusIcons,Hc as createTreeDefinitions,la as generateDestinationTooltip,Gc as generateIdFromParts,da as getPaymentMethodKey,mc as useCustomTableViews,xc as useFilterDropdown}from'./_chunks/chunk-RK2XUIOU.js';export{b as WindowShell,a as windowShellClassNames}from'./_chunks/chunk-4UMT2J46.js';export{c as WindowServices,d as WindowSkeleton,a as windowServicesClassNames,b as windowSkeletonClassNames}from'./_chunks/chunk-RXDZGI4N.js';export{u as JSONViewWindow,q as JSONViewWindowContext,s as JSONViewWindowProvider,a as jsonViewWindowClassNames,t as useJSONViewWindow}from'./_chunks/chunk-BPHG6RDC.js';export{f as Window,g as WindowContent,a as WindowContext,h as WindowFooter,i as WindowFooterActions,e as WindowProvider,d as resolveWindowBounds,c as resolveWindowDimension,b as useWindow}from'./_chunks/chunk-37SWWF3G.js';export{c as CloseIcon,d as DirectionIcon,e as MaximizeIcon,f as MinimizeIcon,g as SandboxIcon,b as WindowToolbar,i as WindowToolbarEndAdornment,h as WindowToolbarStartAdornment,j as WindowToolbarTitle,a as windowToolbarClassNames}from'./_chunks/chunk-7L6NBFKR.js';export{c as DownloadButton,b as DownloadIconButton,d as TableReports,a as useDownloadReport}from'./_chunks/chunk-YQEBQZXF.js';export{a as ThemeProvider}from'./_chunks/chunk-G3QDXDRW.js';export{e as Timeline,d as timelineClassNames}from'./_chunks/chunk-JK5C4QAJ.js';export{a as SelectedState,c as TreeDropdown,b as TreeManager}from'./_chunks/chunk-KPY3W62P.js';export{e as VerificationIcon,b as VerificationIconStatus,a as verificationIconClassNames}from'./_chunks/chunk-JDNJX7KL.js';export{d as ColumnFilter,b as Inputs,t as LastRowContent,c as List,B as ListItemWrapperWithCard,q as RowErrorState,aa as SheetViewVirtualTable,h as StyledCell,u as StyledItemWrapper,o as TableError,w as TableFooter,k as TableLastItem,m as TableLoading,y as TableLoadingWithCard,p as TableNoData,z as TableNoDataWithCard,r as TableRow,l as TableRowLoading,x as TableRowLoadingWithCard,A as TableRowWithCard,e as VirtualScrollInner,g as VirtualScrollList,f as VirtualScrollOuter,v as VirtualTable,j as VirtualTableHeader,C as VirtualTableWithCard}from'./_chunks/chunk-WEDCKMUU.js';export{a as windowClassNames,g as windowDragHandleClass,f as windowDragHandleId}from'./_chunks/chunk-ISC5KT5E.js';export{b as SheetViewChip,a as sheetViewChipClassNames}from'./_chunks/chunk-RSIJKVO6.js';export{b as Sidebar,a as sidebarClassNames}from'./_chunks/chunk-QFKF5I2T.js';export{a as StatusBar}from'./_chunks/chunk-JGCMUAHD.js';export{a as ChevronIcon,b as StatusButton}from'./_chunks/chunk-WAQJPDMU.js';export{a as CountriesList,b as PhoneInput}from'./_chunks/chunk-KVZJDQV2.js';export{b as TextInput,a as textInputClassNames}from'./_chunks/chunk-46V3JVHX.js';export{a as ProgressRing}from'./_chunks/chunk-UQ7XDCXB.js';export{a as RangeCalender}from'./_chunks/chunk-UZVOPL5U.js';export{e as RADIO_GROUP_DEFAULT_LAYOUT,d as RADIO_GROUP_DEFAULT_SIZE,f as RADIO_GROUP_DEFAULT_SPACING,c as RADIO_GROUP_LAYOUTS,b as RADIO_GROUP_SIZES,g as RadioGroup,a as radioGroupClassNames}from'./_chunks/chunk-FJNHU3S4.js';import'./_chunks/chunk-265MSIZH.js';export{a as RightLeftExpandingCenterChip}from'./_chunks/chunk-W2HSCMPT.js';export{b as SearchButton,a as searchButtonClassNames}from'./_chunks/chunk-ZFVCIKJ5.js';export{b as SearchInput,a as searchInputClassNames}from'./_chunks/chunk-BVAZARPH.js';export{b as Loader,a as loaderClassNames}from'./_chunks/chunk-VEPRRBYW.js';export{b as ListLayout,a as listLayoutClassNames}from'./_chunks/chunk-ZYP2H2JO.js';export{b as Logo,a as logoClassNames}from'./_chunks/chunk-DZYFAAXL.js';export{b as MaskedText,a as maskedTextClassNames}from'./_chunks/chunk-UY75PFQ7.js';export{b as MultiLevelSelect,a as multiLevelSelectClassNames}from'./_chunks/chunk-IPIA27QM.js';export{b as FileUploader,a as fileUploaderClassNames}from'./_chunks/chunk-I7OG7E3Z.js';export{d as FilterChip,a as filterChipClassNames}from'./_chunks/chunk-JDEIU7E5.js';export{d as FilterCancelButton,b as FilterFooter,c as FilterOkayButton,a as FilterTitle}from'./_chunks/chunk-XMGXCCSD.js';export{c as DEFAULT_FLIP_DURATION,d as FlipCard,a as flipCardClassNamePrefix,b as flipCardClassNames}from'./_chunks/chunk-7K7NRYXI.js';export{b as GroupedSelect,a as groupedSelectClassNames}from'./_chunks/chunk-JGVAEGDX.js';export{a as LeftPeekRightExpandingChip}from'./_chunks/chunk-VRPTMDSJ.js';export{b as HeatMap}from'./_chunks/chunk-B3QNGYUI.js';export{b as CurrencySymbol,a as currencySymbolClassNames}from'./_chunks/chunk-SN2KTD4P.js';export{c as DateInput,a as dateInputCalendarMode,b as dateInputClassNames}from'./_chunks/chunk-ROTVD5UM.js';export{a as Select}from'./_chunks/chunk-JL3QN5TK.js';export{a as DEVICE_ICON,c as DeviceIcon,b as isDeviceIconShown}from'./_chunks/chunk-QZJCQWTE.js';export{b as EmptyState,a as emptyStateClassNames}from'./_chunks/chunk-QVH3AVGY.js';export{b as ErrorToast,a as errorToastClassNames}from'./_chunks/chunk-7XEIN7KW.js';export{b as FileDropbox,a as fileDropboxClassNames}from'./_chunks/chunk-O44C6KUS.js';export{b as FilePreview,a as filePreviewClassNames}from'./_chunks/chunk-2FFQR4XJ.js';export{f as ColorPicker,b as colorPickerClassNames}from'./_chunks/chunk-BCIBP56P.js';export{b as ConfirmDialogProvider,a as useConfirm}from'./_chunks/chunk-YQYHL4AG.js';export{a as CountryFilter}from'./_chunks/chunk-YDOKNGL2.js';export{b as CountryFlag,a as countryFlagClassNames}from'./_chunks/chunk-ADEEIE7D.js';export{b as CurrenciesMenu,a as currenciesMenuClassNames}from'./_chunks/chunk-42T6C72N.js';export{b as CurrencyAmount,a as currencyAmountClassNames}from'./_chunks/chunk-SKASDIJH.js';export{b as CurrencyAmountInput,a as currencyAmountInputClassNames}from'./_chunks/chunk-5SPLSDGC.js';export{a as ActionsDropdownMenu,b as AppMenuItem}from'./_chunks/chunk-KOBQX2C2.js';export{b as Alert,a as alertClassNames}from'./_chunks/chunk-JM6GMHUT.js';export{b as AreaChart,a as areaChartClassNames}from'./_chunks/chunk-2DZTKOWC.js';export{d as Autocomplete,a as autocompleteClassNames,c as autocompleteDefaultOpenOnFocus,b as autocompleteMenuDirection}from'./_chunks/chunk-363HMCRF.js';import'./_chunks/chunk-52PPSCXG.js';export{aa as SelectChevronIcon,a as selectClassNames,j as selectMenuDirection,l as selectValueAlignment}from'./_chunks/chunk-ZO7IPGTD.js';export{b as AVATAR_STACK_VARIANTS,e as AvatarStack,d as AvatarStackItem,c as DEFAULT_AVATAR_STACK_VARIANT,a as avatarStackClassNames}from'./_chunks/chunk-A6YF5T27.js';export{a as Calender}from'./_chunks/chunk-IERB2R3J.js';export{j as Timepicker}from'./_chunks/chunk-FIFXF3JZ.js';export{b as Card,c as CardHeader,a as cardClassNames}from'./_chunks/chunk-EKOUE2IZ.js';export{P as Accordion,t as Avatar,B as Backdrop,z as Badge,b as Button,f as Checkbox,H as Chip,n as CircularProgress,x as Collapse,D as CopyButton,T as Dialog,v as Divider,ba as FieldFeedback,d as Icon,L as Input,_ as LazyImage,R as Menu,V as MenuItem,F as ProgressBar,l as RadioButton,da as ScrollLoader,r as Skeleton,J as Slider,h as Switch,N as Textarea,Y as ToggleButtons,p as Tooltip,j as Typography,O as accordionClassNames,s as avatarClassNames,A as backdropClassNames,y as badgeClassNames,a as buttonClassNames,e as checkboxClassNames,G as chipClassNames,m as circularProgressClassNames,w as collapseClassNames,C as copyButtonClassNames,S as dialogClassNames,u as dividerClassNames,$ as fieldFeedbackClassNames,aa as getFieldFeedbackColors,c as iconClassNames,K as inputClassNames,Z as lazyImageClassNames,Q as menuClassNames,U as menuItemClassNames,E as progressBarClassNames,k as radioButtonClassNames,ca as scrollLoaderClassNames,q as skeletonClassNames,I as sliderClassNames,g as switchClassNames,M as textareaClassNames,W as toggleButtonsClassNames,X as toggleButtonsSize,o as tooltipClassNames,i as typographyClassNames}from'./_chunks/chunk-CAVYK7HF.js';export{b as CardList,c as CardListItem,a as cardListClassNames}from'./_chunks/chunk-ZERM22LM.js';export{j as useAppEventListener,i as useAppEventPublisher,h as useAppsInfo,c as useBadgesCount,o as useColumnFiltersGate,g as useCountdown,b as useDelayToSetValue,r as useElementSizeObserver,p as useFilterKeyDown,n as useNetworkState,q as useScrollWithShadow,m as useScrolledTo,k as useSelectedMerchantDetails,e as useStickyHeaderShadow,d as useTableViews,f as useThemeMode,l as useToast,a as useWindowDimensions}from'./_chunks/chunk-HZCNE5Q2.js';export{f as appTheme,a as components,c as darkPalette,b as lightPalette,d as shadows,e as typography}from'./_chunks/chunk-YPOZVOUV.js';export{sc as DEFAULT_SKELETON_WIDTHS,ic as SELECTION_COLORS,lc as alignToJustifyContent,wa as api,xc as applyColumnFiltersGate,Yb as areFilesEqual,Ub as backendErrorHandler,Va as calculateMaxAllowedRows,eb as capitalizeFirstLetter,ib as capitalizeString,n as caretIndexAfterThousandFormat,v as changeDateTimezone,va as clearTapOsLocalStorage,Fa as conversionTypesLabels,t as convertCalendarDateToUTC,Ma as convertToNumber,u as convertUTCtoLocalDate,db as copyText,Ga as currencyConfig,Mb as downloadFile,rb as extractIdsFromRowData,Fb as filterShownColumns,Ja as formatAmount,Ka as formatAmountWithCurrency,z as formatCellDate,Ia as formatCurrencyWithInput,A as formatDate,Ra as formatFlagDate,J as formatInTimezone,Ac as formatLogDate,g as formatNumber,f as formatOrdinal,Qa as formatPayoutDate,E as formatRelativeTimeWithinHour,C as formatSecondsAsTime,m as formatThousandSeparatedInput,p as formatUTCOffset,H as generateBirthYearList,lb as generateChargeErrors,w as generateDayList,x as generateMonthList,I as generatePastYearList,$b as generateReportLocalStorageKey,tc as generateSkeletonColumns,cb as generateUniqueUUID,y as generateYearList,l as getAmountPlaceholder,Qb as getApiErrorMessage,ya as getBrowserName,N as getBusinessSegmentConfig,ha as getCalenderTimezone,ia as getCalenderTimezoneHistory,jb as getCardNumber,Ua as getCellWidth,Gb as getColumnOrderFromViews,Ta as getColumnWidthPercentage,Bc as getComponentId,La as getConversion,Na as getCountryNameByISO,q as getDefaultDateRange,Dc as getFieldFeedbackState,_b as getFileIconFromExtension,bb as getFirstChar,gc as getGeographyBoxColor,ma as getGlobalTableModeStorage,xa as getHeaders,Vb as getIdentificationTypeList,hc as getLocalizedUnitLabel,$ as getLoggedInUserActiveSegment,Z as getLoggedInUserData,W as getLoggedInUserJwtToken,_ as getLoggedInUserSegment,cc as getNameText,T as getNavigationData,P as getNonBusinessSegmentConfig,K as getOrderedWeekDays,kb as getPaymentMethodWithId,ec as getPaymentTypeKey,Sa as getPayoutDetails,Lb as getPhoneDetails,Za as getPossibleActionNavigationView,ra as getPreviewStorage,uc as getProcessedColumns,Ba as getRandomColor,Ca as getRandomGradientColor,da as getReportRecord,kc as getRowSelectionBorderStyles,R as getSecretKey,M as getSegmentData,jc as getSelectionStyles,pa as getSheetViewColumnsStorage,bc as getTextByLang,L as getTimestamp,s as getTimestampByTimezone,oc as getTimezoneByCountryCode,pc as getTimezoneByTimezone,o as getUTCOffset,r as getUTCTimestamp,d as getUniqueListBy,Aa as getUserAgentDeviceType,dc as getUsername,B as getValueOfEndOfDay,ta as getViewsSelectionStorage,Nb as handleFileDownload,Ob as handleURLDownload,wc as hasActiveColumnFilters,Rb as hasError,Cc as hasFieldFeedbackMessage,Da as hexa2Rgba,Ha as intlCurrency,ac as isArabic,Zb as isDuplicateFile,nb as isEmptyValue,Xb as isFile,Wa as isHeightNotFullyFilledByRows,aa as isJwtTokenExpired,Pb as isNetworkError,Tb as isNotFoundError,Pa as isOman,Hb as isParameterSelected,za as isSafariBrowser,fc as isSamePaymentSource,Oa as isSaudiArabia,O as isSegmentActLikeBusinessSegment,Xa as isTableDefaultMode,Ya as isTableSheetMode,pb as isTapstersFrontend,Sb as isTimeoutError,F as isTodayDate,ba as isUserLoggedInAndJwtTokenActive,e as isValidNumber,_a as isValidString,D as isWithinTimeAgo,G as isYesterdayDate,nc as joinClassNames,Ib as mapDataToViews,Jb as mapViewsToData,gb as maskValue,ab as matchOccurrence,mc as mergeSx,j as numberToString,k as pad,h as parseAmount,fb as percentageToNumber,Wb as readableFileSize,qb as removeAllCharsFromNumber,ja as removeCalenderTimezone,ka as removeCalenderTimezoneHistory,na as removeGlobalTableModeStorage,X as removeLoggedInUserJwtToken,U as removeNavigationData,$a as removePrefixFromString,sa as removePreviewStorage,ea as removeReportRecord,c as removeUndefinedArrayElements,ob as removeUndefinedArrayValues,mb as removeUndefinedValues,Ea as rgba2Hexa,yc as sanitizeHtml,fa as setCalenderTimezone,ga as setCalenderTimezoneHistory,la as setGlobalTableModeStorage,Y as setLoggedInUserData,V as setLoggedInUserJwtToken,S as setNavigationData,qa as setPreviewStorage,ca as setReportRecord,Q as setSecretKey,oa as setSheetViewColumnsStorage,ua as setViewsSelectionStorage,b as sortByString,a as sortList,i as stringToNumber,zc as trackFeatureEvent,qc as transformPaymentMethodsData,rc as transformPaymentSchemesData,hb as transformStringToProperCase,Kb as updateColumnSelection,vc as updateViewsSelection}from'./_chunks/chunk-Z2DUFVI5.js';export{ko as ACCEPTANCE_TIMEZONE,ab as AIOverviewIcon,Nn as API_BASE_LIMIT,On as API_LIST_CONSTANTS,Gn as API_URL,Bn as APP_CODES,Cn as APP_DIMENSIONS,Dn as APP_ICONS,xn as APP_SETTINGS_FUNCTIONS,_o as AUTHENTICATION_LABEL,Io as AUTHENTICATION_TYPE_OPTIONS,Zo as AuthenticationModeType,Fn as BASE_URL,$o as BUSINESS_COUNTRIES,Wo as BUSINESS_DOCUMENT_TYPE_MAP,yn as BUSINESS_FUNCTIONS,ro as CATEGORIZED_CURRENCY_CODES,da as ChallengeIcon,Jo as DARK_SEGMENT_LOGOS,Ao as DATA_KEY,Bo as DATA_KEY_LABEL,lo as DEFAULT_TIMEZONE_COUNTRY_CODE,no as DEFAULT_TIMEZONE_COUNTRY_NAME,mo as DEFAULT_TIMEZONE_IANA_NAME,Ro as DEVELOPMENT_HOUSE_SEGMENT_CODES,t as DirhamIconImage,Hn as ENV,ap as FILE_ICON_MAP,ca as FrictionlessIcon,Jn as HOST_APP_NAME,Kn as HOST_APP_NAMES,De as HSBCBankIcon,Ko as LIGHT_SEGMENT_LOGOS,oo as MINUTES_PER_HOUR,tm as MPGSProviderIcon,um as NETCETERAProviderIcon,An as OPERATOR_FUNCTIONS,Eo as PAYMENT_INITIATED_CUSTOMER_KEY,Fo as PAYMENT_INITIATED_MERCHANT_KEY,Go as PAYMENT_INITIATED_OPTIONS,Oo as PAYMENT_INSTITUTION_SEGMENT_CODES,Qo as PAYMENT_ISSUER_SEGMENT_CODES,Ho as PAYMENT_LOCATION_OPTIONS,Po as PAYMENT_TECHNOLOGY_SEGMENT_CODES,Do as PAYMENT_TYPES,Co as PAYMENT_TYPES_ICONS,No as PLATFORM_SUB_SEGMENT_CODES,Vo as REPORTS_APPS,To as REPORT_FILTER_TYPES,zn as REVIEW_FUNCTIONS,Nb as RadioButtonCheckedIcon,Ob as RadioButtonUncheckedIcon,s as SARIconImage,Lo as SEGMENT_FILTER_KEY,Mo as SEGMENT_TYPE_FILTERS_MAP,wn as SERVICE_COMMON_FUNCTIONS,xo as SHEET_VIEW_TABLE_LIST_OVER_SCAN,zo as SHEET_VIEW_TABLE_ROW_HEIGHT,yo as SHEET_VIEW_TABLE_THRESHOLD,qo as SUPPORTED_CURRENCY_CODES,po as SUPPORTED_CURRENCY_DETAILS,Nc as SandboxDefault,Mc as SandboxHovered,Yd as SandboxHoveredLightIcon,to as TABLE_CONTENT_ROW_HEIGHT,wo as TABLE_LIST_OVER_SCAN,so as TABLE_LOADING_ROW_HEIGHT,uo as TABLE_ROW_HEIGHT,vo as TABLE_THRESHOLD,wm as TAP3DSPROVIDERIcon,Pn as TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED,In as TEST_SECRET_KEY,jo as TIMEZONES,bp as WINDOW_Z_INDEX_BASE,u as abandonedIcon,Nh as abandonedNoBGIcon,Hg as abandonedTableIcon,v as abandonedYellowIcon,xc as acceptanceAppDisabledIcon,tc as acceptanceAppIcon,vc as acceptanceBlueIcon,Cc as acceptanceDisabledRoundedIcon,uc as acceptanceEnabledIcon,Fi as acceptanceWindowIcon,gb as acceptedFlag,Jc as accountAppIcon,Mi as accountWindowIcon,qb as acquirerIcon,ub as acquirerOrangeIcon,sb as acquirerRedIcon,jc as actionFailIcon,kc as actionSuccessIcon,Wi as actionsIcon,tj as activeActionIcon,dm as activeBlueIcon,cm as activeGreenIcon,wf as activeLeadStatusIcon,cl as addIconWhite,Xi as addItem,Cj as addItemIcon,Mb as addidasIcon,yi as agreementInstallmentIcon,xi as agreementOrderIcon,zi as agreementSavedCardIcon,Ai as agreementSubscriptionIcon,lb as allAppsIcon,Yo as allAuthenticationStatuses,Dk as androidAppIcon,Wf as androidIcon,b as appBaseUrl,Y as applePayIcon,vm as applePayProviderIcon,ui as appsGridIcon,gg as arcIcon,wl as archievedOutlined,Mj as archivedVerifyIcon,Yi as attachIcon,Aj as attachIcon2,re as attentionIcon,Wg as authenticatedIcon,lh as authenticatedSuccessIcon,wh as authenticatedSuccessNoBgIcon,Dc as authenticationAppIcon,Wh as authenticationAppTypeIcon,ah as authenticationAttemptedIcon,qh as authenticationAttemptedNoBgIcon,Xh as authenticationBiometricIcon,ch as authenticationDeclinedIcon,th as authenticationDeclinedNoBgIcon,Yh as authenticationDeviceIcon,eh as authenticationExemptedWithTransactionIcon,rh as authenticationExemptedWithTransactionNoBgIcon,dh as authenticationExemptedWithoutTransactionIcon,sh as authenticationExemptedWithoutTransactionNoBgIcon,fh as authenticationFailedIcon,nh as authenticationFailedNoBgIcon,Vg as authenticationFailedTableIcon,gh as authenticationInitiatedIcon,Zh as authenticationIssuerIcon,bh as authenticationNoAuthIcon,ph as authenticationNoAuthNoBgIcon,mh as authenticationPendingIcon,oh as authenticationPendingNoBgIcon,_h as authenticationSchemeIcon,hh as authenticationUnavailableIcon,uh as authenticationUnavailableNoBgIcon,ih as authenticationUndeterminedIcon,vh as authenticationUndeterminedNoBgIcon,Vh as authenticationWalletIcon,Oi as authenticationWindowIcon,kh as authenticationWithTransactionIcon,xh as authenticationWithTransactionNoBgIcon,jh as authenticationWithoutTransactionIcon,yh as authenticationWithoutTransactionNoBgIcon,Qn as authenticationsTableCellWidth,gl as authorizationServiceIcon,Rn as authorizationTableCellWidth,Ak as authorizedIcon,fk as autoCapturedIcon,gk as autoVoidIcon,Wk as babyBlueCheckIcon,Ge as backButtonLeftIcon,R as bahrainIcon,ug as bankBlueIcon,dc as bankIcon,Yk as bankNoteIcon,xm as benefitPayProviderIcon,ym as benefitProviderIcon,qc as billingAppIcon,Hi as billingWindowIcon,Qj as biometricIcon,_k as blackBrushIcon,Ll as blackDeviceIcon,Xc as blackHeadingDownArrow,Gl as blackLinkIcon,Sl as blackMobileBatteryIcon,Tl as blackMobileSignalIcon,yb as blackRightArrowIcon,Hl as blackSettingsIcon,im as blackSettingsVariant2Icon,Xl as blackUnLinkIcon,Il as blackWallet,Jf as blueAppsIcon,si as blueArrowUpIcon,Rc as blueCheckIcon,Dj as blueCircleCheckIcon,ti as blueCircleLoaderIcon,km as blueCircleWithWhiteCheckIcon,Fl as blueCopyIcon,Zc as blueDropdownArrowIcon,Jl as blueGradientBrushIcon,Yc as blueHeadingDropdownArrow,zj as blueNoteIcon,hm as bluePlusIcon,Gj as blueVerifyIcon,Qb as blueZigzagCheckIcon,Bi as brandPlaceholderIcon,fl as brandServiceIcon,fg as braveIcon,pn as bulkInvoiceTemplate,on as bulkRefundTemplate,Ic as businessesAppIcon,Ni as businessesWindowIcon,aa as buyNowPayLaterIcon,ek as calenderIcon,hk as cancelledIcon,Aa as cancelledInvoiceIcon,Wa as cancelledNoBgIcon,nf as cancelledStatusIcon,Ig as cancelledTableIcon,vb as capturedAuthorizeIcon,ja as capturedDropdownIcon,ik as capturedIcon,Jg as capturedTableIcon,yg as carIcon,T as cardIcon,Ym as cardUploadIcon,qi as cardViewButtonIcon,zm as careemPayProviderIcon,Z as cashIcon,ia as chargeBackIcon,ha as chargeBackRequestedIcon,Lg as chargeBackRequestedTableIcon,Kg as chargeBackTableIcon,Wl as chargeBackWhiteIcon,Sn as chargeTableCellWidth,hl as chargebacksServiceIcon,il as chargesServiceIcon,Pf as chatDisabledIcon,Fb as checkIcon,lc as checkMarkIcon,Ib as checkboxIcon,Fh as checkoutStatusBlueIcon,Eh as checkoutStatusIcon,Gh as checkoutWithMarkStatusIcon,w as chevronDownIcon,ne as chevronGrayIcon,me as chevronWhiteIcon,bg as chromeIcon,hg as chromiumIcon,bc as clearCoinIcon,hb as clearIcon,Cf as clipboardFileGrayIcon,Di as clipboardIcon,Ue as clockIcon,pb as closeCircle,Ta as closeIcon,xl as closeOutlinedCircle,Gb as closeXIcon,ua as closedDisputeIcon,Bb as closedFlagIcon,yf as closedLeadStatusIcon,_l as closedOutlinedYellowCircle,ci as closedStatusIcon,Lj as closedVerifyIcon,Pl as codeBlackIcon,sa as codeIcon,Uc as collapseArrowIcon,Zi as collapseArrows,we as collapseArrowsIcon,Da as columnIcon,bk as columnResizeIndicatorIcon,te as completedAcceptanceIcon,Yg as completedBlackIcon,ga as completedIcon,xf as completedLeadStatusIcon,ve as completedPayoutsIcon,Mg as completedTableIcon,ra as copyIcon,Cg as corporateLoanBlackIcon,Bg as corporateLoanIcon,Sj as createChargeIcon,ul as createLeadIcon,mf as createdStatusIcon,Xe as csvIcon,_i as customerIcon,xj as customerIcon2,Hc as customersAppIcon,Ii as customersWindowIcon,sm as cyberSourceProviderIcon,fd as darkAppPlatformSubSegmentIcon,gd as darkAuthenticationGatewaySubSegmentIcon,hd as darkBillingPlatformSubSegmentIcon,Hj as darkBlueVerifyIcon,$c as darkBusinessSegmentIcon,Tc as darkCheckIcon,id as darkCommercePlatformSubSegmentIcon,jd as darkCommercialRegulatorSubSegmentIcon,ad as darkDevelopmentSegmentIcon,ak as darkFilterIcon,bd as darkFinancialSegmentIcon,$f as darkGreyTimezoneIcon,fc as darkLeftArrowIcon,cd as darkMasterOrchestratorSegmentIcon,kd as darkMerchantServiceProviderSubSegmentIcon,ld as darkPaymentAcquirerSubSegmentIcon,md as darkPaymentFacilitatorSubSegmentIcon,nd as darkPaymentGatewayProviderSubSegmentIcon,od as darkPaymentIssuerSubSegmentIcon,pd as darkPaymentMethodSubSegmentIcon,qd as darkPaymentProcessorSubSegmentIcon,rd as darkPaymentSchemeSubSegmentIcon,sd as darkPaymentTechnologySubSegmentIcon,td as darkPaymentTerminalProviderSubSegmentIcon,dd as darkPlatformSegmentIcon,ed as darkProviderSegmentIcon,ud as darkRetailPlatformSubSegmentIcon,vd as darkRetailerSubSegmentIcon,gc as darkRightArrowIcon,Ua as dashedCheckIcon,yl as dashedOutlinedCircle,bb as deMaximizeIcon,zl as deactivatedCircle,Al as deactivatedCircleV2,_a as deactivatedIcon,$l as deactivatedOrangeCircle,am as deactivatedOrangeCircleV2,rn as deactiveIcon,jk as declinedIcon,Tg as declinedNoBgTableIcon,Ng as declinedTableIcon,rg as deemaAppIcon,Am as deemaProviderIcon,sg as deemaWindowIcon,Vl as deemaWithLabel,Oj as defaultCountryIcon,Pj as defaultDeviceIcon,kf as deletedStatusIcon,qf as deliveredStatusIcon,wa as desktopIcon,Og as destinationReversedTableIcon,z as destinationSolidIcon,Ug as destinationSuccessTableIcon,Pg as destinationWithoutBackgroundIcon,kk as destinationsIcon,jl as destinationsServiceIcon,Tn as destinationsTableCellWidth,W as deviceIcon,Xk as digitalReceiptIcon,Sb as dimmedZigzagCheckIcon,sn as disableIcon,Kf as disabledCardIcon,Sc as disabledCheckIcon,Lf as disabledCodeIcon,$i as discountIcon,F as disputeIcon,ka as disputeResolvedIcon,Qg as disputeResolvedTableIcon,if as dollarSignIcon,$e as doneIcon,bn as dottedConnectorIcon,gf as dottedLine,Eb as downArrowIcon,wj as downArrowIcon3,Rm as downloadBlueIcon,Ef as downloadFileIcon,lf as draftStatusIcon,Hb as dragIcon,he as dueDateBlackIcon,de as dueDateBlueIcon,ie as dueDateGrayIcon,ee as dueDateOrangeIcon,ge as dueDateRedIcon,fe as dueDateYellowIcon,in as earlySettlementsIcon,dg as edgeIcon,Ch as editIcon,K as egyptFlagIcon,ma as ellipsisHorizontalIcon,bj as emailBlackIcon,Zd as emailChannelIcon,aj as emailIcon,qn as emptyCopyIcon,Sh as emptyIcon,Ul as emptyMobileWifiIcon,So as emptyStatusChipColors,_m as endConnectorIcon,kl as entityServiceIcon,Wj as entityTimezoneIcon,Q as europeFlagIcon,Ka as exclamationDarkGreyIcon,Qf as exclamationDarkIcon,Sf as exclamationErrorIcon,Ja as exclamationGreyIcon,Tf as exclamationOrangeIcon,Bl as exclamationOutlinedCircle,bm as exclamationOutlinedOrangeCircle,Rf as exclamationWarningIcon,jm as exclamationWhiteIcon,hn as excludeIcon,En as excludedApps,dj as expandArrows,xe as expandArrowsIcon,ke as expiredIcon,Ba as expiredInvoiceIcon,zf as expiredLeadStatusIcon,Xa as expiredNoBgIcon,of as expiredStatusIcon,X as expressCheckoutIcon,tn as extendIcon,mm as externalLinkIcon,Sm as eyeBlueIcon,He as eyeHideIcon,Ie as eyeShowIcon,lk as failedIcon,Sg as failedNoBgTableIcon,Rg as failedTableIcon,Ia as failedWhiteBgIcon,Tm as fastBlackIcon,tg as fastIcon,Bm as fawryProviderIcon,ej as feeIcon,Zj as fileDownloadBlueIcon,_j as fileDownloadGreyIcon,Bf as fileIcon,Wm as fileMinusIcon,e as filesUrl,an as filledConnectorIcon,kn as financeFeaturesIcon,jn as financedByIcon,cg as firefoxIcon,E as flagIcon,om as flipIcon,Cm as fssProviderIcon,c as functionBaseUrl,Kl as gadientLink,tb as gatewayIcon,mk as gatewayOrangeIcon,nk as gatewayRedIcon,vn as gatewaySolidIcon,ae as genericIcon,rb as genericIconNew,r as getAgingIcon,n as getAuthorityIcon,o as getBrowserIcon,j as getCountriesIcon,m as getCurrenciesIcon,g as getLightUrlIcon,q as getPaymentGatewaysIcon,p as getPaymentInitiatorIcon,i as getPaymentIssuersIcon,h as getPaymentMethodsIcon,k as getServiceFunctionIcon,l as getStatusIcon,Ml as gradientDeviceIcon,Nl as gradientSettings,Ol as gradientWallet,Td as grayBrandIcon,Ud as grayCircleIcon,wi as grayCloseIcon,Db as grayFlagIcon,uj as grayProductLabel,Wc as grayUpArrowIcon,Ij as grayVerifyIcon,ze as greenArrowLeftIcon,ye as greenArrowRightIcon,Ae as greenArrowUpIcon,El as greenCheck2ACE00,ta as greenCheckIcon,Uf as greenCheckV2Icon,Jj as greenVerifyIcon,Rb as greenZigzagCheckIcon,Yf as greyAppleIcon,Pc as greyCheckIcon,Qc as greyCrossIcon,_f as greyDesktopIcon,el as greyDownArrowIcon,_c as greyDropdownIcon,Zf as greyLocationIcon,Ah as greyMinusIcon,zh as greyPlusIcon,H as greyTimezoneIcon,dl as greyUpArrowIcon,Pa as halfCircleIcon,Qa as halfCircleTransparentIcon,zg as handCoinsWhiteIcon,rm as helpCircleIcon,mb as hideIcon,ec as hijriIcon,ck as homeIcon,Ek as iOSAppIcon,db as ibanIcon,qa as idIcon,em as inActiveGreyIcon,fm as inActiveWhiteIcon,se as initialAcceptanceIcon,ue as initialPayoutsIcon,Bk as initiatedIcon,Oe as inprogressIcon,rl as insightsServiceIcon,Jh as intentCancelledStatusIcon,Hh as intentExpiredStatusIcon,Ih as intentInitiatedStatusIcon,Kh as intentTransactedStatusIcon,ql as intentsServiceIcon,Un as intentsTableCellWidth,za as invoiceIcon,oa as invoiceIdIcon,Ca as invoiceNumberIcon,ll as invoiceServiceIcon,Vn as invoicesTableCellWidth,Vf as iosIcon,en as issuerAttributesIcon,V as jaywanIcon,M as jordanFlagIcon,Wd as jsonBlackIcon,Vd as jsonIcon,Dm as knetProviderIcon,O as kuwaitFlagIcon,Bj as lateFeeIcon2,Mf as layersIcon,cf as leadAppIcon,df as leadTitleIcon,Of as leadWhiteIcon,Wn as leadsTableCellWidth,N as lebanonFlagIcon,og as lendingAppIcon,qg as lendingProviderAppIcon,pg as lendingWindowIcon,Cd as lightAppPlatformSubSegmentIcon,Dd as lightAuthenticationGatewaySubSegmentIcon,Ed as lightBillingPlatformSubSegmentIcon,wd as lightBusinessSegmentIcon,Fd as lightCommercePlatformSubSegmentIcon,Gd as lightCommercialRegulatorSubSegmentIcon,xd as lightDevelopmentSegmentIcon,yd as lightFinancialSegmentIcon,zd as lightMasterOrchestratorSegmentIcon,Hd as lightMerchantServiceProviderSubSegmentIcon,Id as lightPaymentAcquirerSubSegmentIcon,Jd as lightPaymentFacilitatorSubSegmentIcon,Kd as lightPaymentGatewayProviderSubSegmentIcon,Ld as lightPaymentIssuerSubSegmentIcon,Md as lightPaymentMethodSubSegmentIcon,Nd as lightPaymentProcessorSubSegmentIcon,Od as lightPaymentSchemeSubSegmentIcon,Pd as lightPaymentTechnologySubSegmentIcon,Qd as lightPaymentTerminalProviderSubSegmentIcon,Ad as lightPlatformSegmentIcon,Bd as lightProviderSegmentIcon,Rd as lightRetailPlatformSubSegmentIcon,Sd as lightRetailerSubSegmentIcon,a as lightUrl,cj as linkTiltedIcon,Ag as listIcon,ri as listViewButtonIcon,Th as loaderWhiteIcon,ln as loanAmountIcon,Nk as locationIcon,dk as lockIcon,mc as logOutIcon,Lh as longWordsIcon,Pb as macIcon,Ql as manyCurrencyCoin,Rl as manyCurrencyCoinGradient,Ub as marketPlaceBlackIcon,Tb as marketPlaceBlueIcon,Vb as marketPlaceDimmedIcon,Ra as maximizeIcon,Em as meezaProviderIcon,dn as merchantAttributesIcon,wb as merchantInitiatedIcon,fo as merchantsTableCellWidth,_b as messageIcon,$j as metaIcon,Sa as minimizeIcon,fj as minusIcon,xa as mobileIcon,Zb as moneyInDimmedIcon,Yb as moneyInIcon,Xb as moneyOutDimmedIcon,Wb as moneyOutIcon,xg as moonStarIcon,wg as mosqueBlackIcon,vg as mosqueIcon,mn as murabhaFinanceIcon,$k as mutedOutlinedCheckIcon,Fm as nGenIusProviderIcon,Vk as navigationIcon,bl as navigationPointerBlack,Df as newFileIcon,sj as newInvoiceIcon,sc as newReceiptIcon,jb as newWindowIcon,Ei as noAgreementIcon,Bh as noPreviewIcon,oe as notVerifiedIcon,gj as noteIcon,yj as noteIcon2,Gm as npgProviderIcon,Hm as omanNetProviderIcon,ba as openBankingIcon,va as openDisputeIcon,Ab as openFlagIcon,eg as operaIcon,zb as orangeFlagIcon,lg as orchestrationAppIcon,io as orchestrationRoutingTableCellWidth,ho as orchestrationTerminalsTableCellWidth,ng as orchestrationWindowBg,mg as orchestrationWindowIcon,ef as orderAppIcon,_d as orderIcon,ff as orderWindowIcon,Xn as ordersTableCellWidth,Fg as osAppIcon,Gg as osAppWindowIcon,Dl as outlinedCircle,al as outlinedPlatformIcon,Va as outstandingIcon,Ya as paidNoBgIcon,Zg as paidOutFilterIcon,ok as paidOutIcon,Oh as paidOutTableIcon,pf as paidStatusIcon,_ as passThruWalletIcon,hf as passwordDotsIcon,ac as payStreamIcon,un as payersIcon,Ne as paylinkAppIcon,Me as paylinkWindowIcon,yc as payoutAppDisabledIcon,Bc as payoutDisabledRoundedIcon,zc as payoutEnabledIcon,Ac as payoutGreenIcon,eb as payoutIcon,ml as payoutServiceIcon,Ji as payoutWindowIcon,Fc as payoutsAppIcon,wc as payoutsGreenIcon,Yn as payoutsTableCellWidth,Im as paypalProviderIcon,hj as pdfGrayIcon,Ye as pdfIcon,Nj as penIcon,cb as pendingFlag,$b as pendingIcon,Nf as pendingOnTapIcon,Qh as pendingPayoutIcon,uf as pendingStatusIcon,Xm as percentIcon,La as percentage0Icon,Oa as percentage100Icon,Ma as percentage50Icon,Na as percentage75Icon,Fk as physicalLocationIcon,$h as pinIcon,Dg as platformAppIcon,Eg as platformWindowIcon,cn as playIcon,vj as plusQty,Jm as postpayProviderIcon,nc as preferencesIcon,ei as previewModeIcon,ij as productLabel,Ff as progressFileIcon,Gc as protectAppIcon,Zn as protectAuthorizationsTableCellWidth,_n as protectChargesTableCellWidth,Kb as protectIcon,Ki as protectWindowIcon,Km as qPayProviderIcon,jj as quantityIcon,Cl as questionOutlinedCircle,nb as quitIcon,Af as readyLeadStatusIcon,rc as receiptBillIcon,Uj as receiptIcon,fa as redArrowDownIcon,Pe as redCloseCircleIcon,Ve as redCloseIcon,Cb as redFlagIcon,Fj as redTrashBinIcon,Kj as redVerifyIcon,fn as refreshIcon,qk as refundInitiatedIcon,rk as refundSettledIcon,$n as refundTableCellWidth,pk as refundedIcon,sk as refundedNotSettledIcon,vf as refundedStatusIcon,nl as refundsServiceIcon,Za as refunededNoBgIcon,fb as releasedFlag,jf as reloadIcon,le as remindedRedIcon,kj as removeAllItem,x as removeIcon,lj as removeItem,Um as repeatIcon,bf as reportAppIcon,af as reportAppsIcon,Uo as reportFilterTypesMap,Ze as reportIcon,D as reportsIcon,_e as reportsIconOutlined,Pi as reportsWindowIcon,tk as restrictedIcon,sl as retailersServiceIcon,Uh as reverseActionIcon,la as reversePayoutIcon,Ph as reversePayoutTableIcon,y as reversedIcon,xb as rightArrow,Jk as rightLightArrowIcon,gn as riskAttributesIcon,pa as rowIdIcon,ag as safariIcon,Se as sandboxDefaultIcon,Re as sandboxHoveredIcon,Te as sandboxOrangeIcon,L as saudiArabiaFlagIcon,_g as saveTokenIcon,J as savedCardIcon,sf as savedStatusIcon,Xj as savedTimezoneIcon,Xg as scheduledFilterIcon,tf as scheduledStatusIcon,Ik as searchBlueIcon,A as searchIcon,Mk as segmentDevelopmentHouseIcon,Kk as segmentInstitutionIcon,Lk as segmentTechnologyIcon,Mn as servicesTags,nm as settingsIcon,uk as settledIcon,vk as settlementInitiatedIcon,Mh as sheetViewIcon,Vm as shieldIcon,Ee as shopifyBadgeIcon,pm as shoppingCartIcon,jg as slaProcessAppIcon,kg as slaProcessWindowIcon,Yj as smallBlueCheckIcon,Hk as smallLeftArrowIcon,be as smsChannelIcon,mj as smsIcon,Gk as socialLinksIcon,Zl as sortAscArrowIcon,Ea as sortAzIcon,Yl as sortDescArrowIcon,Xd as sortIcon,Fa as sortZaIcon,$m as sparkIcon,Lm as spgProviderIcon,ic as spinnerLoadingAnimatedIcon,mi as spinnerLoadingBlueIcon,hc as spinnerLoadingIcon,ob as starIcon,Zm as startConnectorIcon,Mm as stcPayProviderIcon,$ as storedValueWalletIcon,I as subscriptionIcon,Tj as successCheckIcon,Gf as successFileIcon,Ha as successWhiteBgIcon,bi as switcherIcon,Nm as tabbyProviderIcon,ni as tableBackgroundLoader,oi as tableBlueArrowUpIcon,pi as tableBlueCheckMarkShadowedIcon,ki as tableLoadingSpinnerIcon,li as tableLoadingSpinnerWhiteIcon,ya as tabletIcon,Om as tamaraProviderIcon,nj as taxIcon,If as teamWindowIcon,f as templatesUrl,Ok as terminalAppIcon,Tk as terminalBrushIcon,Uk as terminalBrushMuted,Qk as terminalCardPhone,Zk as terminalDeviceFrame,gm as terminalLinkVideo,tl as terminalServiceIcon,Sk as terminalTypeIcon,Pk as terminalWindowIcon,go as terminalsTableCellWidth,nn as testimonialIcon,Rj as threeDSIcon,na as threeDsIcon,wk as timedOutIcon,je as timerBlueIcon,G as timezoneIcon,Rk as toastPOSIcon,pc as tokenAppIcon,ji as tokenCardIcon,hi as tokenExpiredStatusIcon,ii as tokenPendingStatusIcon,fi as tokenSavedStatusIcon,gi as tokenTransactedStatusIcon,Qi as tokensReportsIcon,ao as tokensTableCellWidth,Li as tokensWindowIcon,$a as topUpIcon,bo as topupsTableCellWidth,oj as totalAmountIcon,Pm as tpayProviderIcon,Qm as tpgProviderIcon,$d as transactionIcon,oc as transformIcon,Ej as trashBinIcon,Xo as unAuthenticatedStatuses,B as unAuthorizedIcon,xk as unAvailableIcon,ib as unCapturedIcon,Ln as unCapturedStatuses,Kc as unCheckedIcon,$g as unauthenticatedIcon,pj as unfocusRemoveItem,U as unionPayIcon,Lb as unisoIcon,P as unitedArabEmiratesFlagIcon,S as unitedStatesFlagIcon,yk as unknownIcon,ai as unpinIcon,Le as uploadAppIcon,Qe as uploadBlueIcon,Je as uploadIcon,Ke as uploadWindowIcon,ig as userIcon,Vj as userTimezoneIcon,Ci as usersIcon,ol as usersServiceIcon,Fe as verifiedGreenBadgeIcon,pe as verifiedIcon,qm as verifyAvatarIcon,qe as verifyReviewIcon,di as verticalLineIcon,d as videosUrl,kb as viewAllIcon,C as viewIcon,Dh as viewInvoiceIcon,vl as viewLeadIcon,rf as viewedStatusIcon,ea as visaIcon,zk as voidedIcon,Ec as walletAppIcon,do as walletDetailsTableCellWidth,cc as walletIcon,pl as walletServiceIcon,eo as walletStatementTableCellWidth,co as walletTableCellWidth,Gi as walletWindowIcon,Oc as warningInfoIcon,Ck as websiteBlueIcon,Xf as websiteIcon,ce as whatsappChannelIcon,qj as whatsappIcon,rj as whiteArrow2,Hf as whiteArrowDownIcon,Ce as whiteArrowLeftIcon,Be as whiteArrowRightIcon,lm as whiteCircleWithBlueCheckIcon,Rh as whiteCloseIcon,vi as whiteFilterIcon,Jb as whitePlusIcon,Lc as wifiOffIcon,Ti as windowBankIcon,Ri as windowBrandIcon,Si as windowEntityIcon,Ui as windowIndividualIcon,Vi as windowPasswordIcon,Vc as worldIcon,We as xlsIcon,Ga as zipFileIcon}from'./_chunks/chunk-3M2GZVQW.js';export{m as ACCOUNT_APP_SETTINGS,l as ACCOUNT_SECTION,n as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,o as DISCOUNT_TYPE,b as LanguageMode,i as NewRelicEventType,k as NewRelicFeatureName,j as NewRelicFeatureType,c as RECURRENCE_TYPE,q as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,p as StatusValue,a as ThemeMode}from'./_chunks/chunk-LS57WE6K.js';
1
+ export{O as ActionCell,Q as ActionIconColumn,M as ActionIconsVariants,P as ActionsColumn,ua as AgreementCell,R as AgreementIcon,G as AmountCell,y as AmountCellContainer,I as AmountCellSheet,H as AmountCellText,D as AmountConversionTooltipLabel,va as AuthCell,T as AuthIcons,S as AuthSourceAnimation,Pa as AuthenticationCell,ta as AuthenticationModeBadge,Fa as AuthenticationStatusCell,Ga as AuthenticationTypeCell,V as AuthorizationAutoIcons,W as AuthorizedIcon,i as AvatarStyled,d as BadgeWrapper,ma as BalanceCell,na as BalanceCellSheet,Aa as BankCell,Na as BankReferenceCell,Xa as BrandCell,eb as BrandsCell,wc as CancelButton,k as CaptureTextLabel,Ha as ChannelsCell,Va as ChargeStatus,X as ChargeStatusIcon,Qa as CheckoutStatusCell,z as ConversionBadge,B as ConversionTooltip,C as ConversionTooltipRow,E as ConversionTypeLabel,g as CountBadge,Bc as CountriesItem,Cc as CurrenciesItem,La as CurrencyCell,F as CurrencyInfo,A as CurrencySpan,w as CustomerCell,x as CustomerCellSheet,Y as CustomerInitiatedIcon,t as DateCell,Lc as DateFilter,s as DateViewer,ia as DestinationCell,ja as DestinationCellSheet,ka as DestinationCellText,ga as DestinationIcon,Da as DestinationStatusCell,ha as DeviceCell,_ as DeviceIconChip,$ as DisputeIcon,Ia as DueDateCell,bb as EntityCell,yc as FilterDropdown,uc as Footer,b as GeographyBox,Z as GeographyIcon,N as IDButton,Ec as ID_SEPERATOR,h as IdButtonContainer,r as ImageWrapper,db as IndividualsCell,Ra as IntentsStatusCell,Ta as InvoiceStatusCell,aa as IssuerIcon,kb as LinkCell,Mc as ListColumnFilter,tc as ListHeader,sc as ListHeaderToolbarAside,cb as MarketPlaceCell,zc as MerchantItem,Ic as MerchantsFilterItem,Ya as MetadataCell,vc as OkayButton,u as OrderCell,v as OrderCellSheet,lb as OrdersCellSheet,hb as PaymentAgreementCellSheet,pa as PaymentCardNumberSource,qa as PaymentMethodSource,sa as PaymentSchemeSource,ra as PaymentTypeSource,Ma as PayoutDateCell,ba as PayoutIcon,Za as PayoutReportCell,Ba as PayoutStatusCell,Jc as PhoneFilter,q as PiePercentage,Ja as ProductsCell,ib as ProviderCell,jb as PurposeCell,_a as ReceiptCell,$a as ReceiptCellSheet,ab as ReceiptCellText,Oa as ReferenceCell,Sa as RefundChargeCell,ca as RefundIcon,xa as RefundStateIcon,ya as RefundStatusCell,wa as RefundStatusIcon,Ca as RefundTooltipView,Ac as RetailersItem,Fc as SEARCH_THRESHOLD,fb as SalesChannelCell,gb as SalesChannelCellSheet,oa as SourceCell,ea as SourceIcon,fa as SourceIcons,f as StarBadgeWrapper,J as StatusCell,n as StatusCellContainer,K as StatusCellSheet,L as StatusCellText,Kc as StatusFilter,p as StatusIcon,o as StatusIconWrapper,m as StyledTextTableCell,a as TableCell,j as TextLabel,Ka as TextTableCell,Ua as TextWithBadgeCell,e as TimeZone,Wa as TokenStatusCell,c as TransparentButton,Dc as TreeLevel,U as VoidAutoIcon,l as VoidTextLabel,za as WalletCell,Ea as authenticationStatusIcons,Hc as createTreeDefinitions,la as generateDestinationTooltip,Gc as generateIdFromParts,da as getPaymentMethodKey,mc as useCustomTableViews,xc as useFilterDropdown}from'./_chunks/chunk-7RNGZ5RA.js';export{b as WindowShell,a as windowShellClassNames}from'./_chunks/chunk-JX2GYBL7.js';export{c as WindowServices,d as WindowSkeleton,a as windowServicesClassNames,b as windowSkeletonClassNames}from'./_chunks/chunk-RXDZGI4N.js';export{u as JSONViewWindow,q as JSONViewWindowContext,s as JSONViewWindowProvider,a as jsonViewWindowClassNames,t as useJSONViewWindow}from'./_chunks/chunk-RXB54R2H.js';export{c as CloseIcon,d as DirectionIcon,e as MaximizeIcon,f as MinimizeIcon,g as SandboxIcon,b as WindowToolbar,i as WindowToolbarEndAdornment,h as WindowToolbarStartAdornment,j as WindowToolbarTitle,a as windowToolbarClassNames}from'./_chunks/chunk-QUYS25CX.js';export{c as DEFAULT_FLIP_DURATION,d as FlipCard,a as flipCardClassNamePrefix,b as flipCardClassNames}from'./_chunks/chunk-7K7NRYXI.js';export{e as Timeline,d as timelineClassNames}from'./_chunks/chunk-JK5C4QAJ.js';export{a as SelectedState,c as TreeDropdown,b as TreeManager}from'./_chunks/chunk-KPY3W62P.js';export{d as ColumnFilter,b as Inputs,t as LastRowContent,c as List,B as ListItemWrapperWithCard,q as RowErrorState,aa as SheetViewVirtualTable,h as StyledCell,u as StyledItemWrapper,o as TableError,w as TableFooter,k as TableLastItem,m as TableLoading,y as TableLoadingWithCard,p as TableNoData,z as TableNoDataWithCard,r as TableRow,l as TableRowLoading,x as TableRowLoadingWithCard,A as TableRowWithCard,e as VirtualScrollInner,g as VirtualScrollList,f as VirtualScrollOuter,v as VirtualTable,j as VirtualTableHeader,C as VirtualTableWithCard}from'./_chunks/chunk-WEDCKMUU.js';export{e as VerificationIcon,b as VerificationIconStatus,a as verificationIconClassNames}from'./_chunks/chunk-JDNJX7KL.js';export{b as GroupedSelect,a as groupedSelectClassNames}from'./_chunks/chunk-JGVAEGDX.js';export{f as Window,g as WindowContent,a as WindowContext,h as WindowFooter,i as WindowFooterActions,e as WindowProvider,d as resolveWindowBounds,c as resolveWindowDimension,b as useWindow}from'./_chunks/chunk-37SWWF3G.js';export{a as windowClassNames,g as windowDragHandleClass,f as windowDragHandleId}from'./_chunks/chunk-ISC5KT5E.js';export{b as Sidebar,a as sidebarClassNames}from'./_chunks/chunk-QFKF5I2T.js';export{a as StatusBar}from'./_chunks/chunk-JGCMUAHD.js';export{a as ChevronIcon,b as StatusButton}from'./_chunks/chunk-WAQJPDMU.js';export{c as DownloadButton,b as DownloadIconButton,d as TableReports,a as useDownloadReport}from'./_chunks/chunk-YQEBQZXF.js';export{a as ThemeProvider}from'./_chunks/chunk-G3QDXDRW.js';export{a as RangeCalender}from'./_chunks/chunk-UZVOPL5U.js';import'./_chunks/chunk-265MSIZH.js';export{a as RightLeftExpandingCenterChip}from'./_chunks/chunk-W2HSCMPT.js';export{b as SearchButton,a as searchButtonClassNames}from'./_chunks/chunk-ZFVCIKJ5.js';export{b as SearchInput,a as searchInputClassNames}from'./_chunks/chunk-BVAZARPH.js';export{b as SheetViewChip,a as sheetViewChipClassNames}from'./_chunks/chunk-RSIJKVO6.js';export{d as FilterChip,a as filterChipClassNames}from'./_chunks/chunk-JDEIU7E5.js';export{b as Loader,a as loaderClassNames}from'./_chunks/chunk-VEPRRBYW.js';export{b as Logo,a as logoClassNames}from'./_chunks/chunk-EVLGRGMN.js';export{b as MaskedText,a as maskedTextClassNames}from'./_chunks/chunk-UY75PFQ7.js';export{b as MultiLevelSelect,a as multiLevelSelectClassNames}from'./_chunks/chunk-IPIA27QM.js';export{a as CountriesList,b as PhoneInput}from'./_chunks/chunk-KVZJDQV2.js';export{b as TextInput,a as textInputClassNames}from'./_chunks/chunk-46V3JVHX.js';export{a as ProgressRing}from'./_chunks/chunk-UQ7XDCXB.js';export{e as RADIO_GROUP_DEFAULT_LAYOUT,d as RADIO_GROUP_DEFAULT_SIZE,f as RADIO_GROUP_DEFAULT_SPACING,c as RADIO_GROUP_LAYOUTS,b as RADIO_GROUP_SIZES,g as RadioGroup,a as radioGroupClassNames}from'./_chunks/chunk-FJNHU3S4.js';export{b as CardList,c as CardListItem,a as cardListClassNames}from'./_chunks/chunk-ZERM22LM.js';export{d as FilterCancelButton,b as FilterFooter,c as FilterOkayButton,a as FilterTitle}from'./_chunks/chunk-XMGXCCSD.js';export{b as HeatMap}from'./_chunks/chunk-B3QNGYUI.js';export{a as LeftPeekRightExpandingChip}from'./_chunks/chunk-VRPTMDSJ.js';export{b as ListLayout,a as listLayoutClassNames}from'./_chunks/chunk-ZYP2H2JO.js';export{b as CurrencySymbol,a as currencySymbolClassNames}from'./_chunks/chunk-SN2KTD4P.js';export{a as DEVICE_ICON,c as DeviceIcon,b as isDeviceIconShown}from'./_chunks/chunk-QZJCQWTE.js';export{c as DateInput,a as dateInputCalendarMode,b as dateInputClassNames}from'./_chunks/chunk-ROTVD5UM.js';export{a as Select}from'./_chunks/chunk-JL3QN5TK.js';export{b as EmptyState,a as emptyStateClassNames}from'./_chunks/chunk-QVH3AVGY.js';export{b as ErrorToast,a as errorToastClassNames}from'./_chunks/chunk-7XEIN7KW.js';export{b as FilePreview,a as filePreviewClassNames}from'./_chunks/chunk-2FFQR4XJ.js';export{b as FileDropbox,a as fileDropboxClassNames}from'./_chunks/chunk-O44C6KUS.js';export{b as FileUploader,a as fileUploaderClassNames}from'./_chunks/chunk-I7OG7E3Z.js';export{b as ConfirmDialogProvider,a as useConfirm}from'./_chunks/chunk-YQYHL4AG.js';export{a as CountryFilter}from'./_chunks/chunk-YDOKNGL2.js';export{b as CountryFlag,a as countryFlagClassNames}from'./_chunks/chunk-ADEEIE7D.js';export{b as CurrenciesMenu,a as currenciesMenuClassNames}from'./_chunks/chunk-42T6C72N.js';export{b as CurrencyAmount,a as currencyAmountClassNames}from'./_chunks/chunk-SKASDIJH.js';export{b as CurrencyAmountInput,a as currencyAmountInputClassNames}from'./_chunks/chunk-5SPLSDGC.js';export{a as ActionsDropdownMenu,b as AppMenuItem}from'./_chunks/chunk-KOBQX2C2.js';export{b as Alert,a as alertClassNames}from'./_chunks/chunk-JM6GMHUT.js';export{b as AreaChart,a as areaChartClassNames}from'./_chunks/chunk-2DZTKOWC.js';export{d as Autocomplete,a as autocompleteClassNames,c as autocompleteDefaultOpenOnFocus,b as autocompleteMenuDirection}from'./_chunks/chunk-363HMCRF.js';import'./_chunks/chunk-52PPSCXG.js';export{aa as SelectChevronIcon,a as selectClassNames,j as selectMenuDirection,l as selectValueAlignment}from'./_chunks/chunk-ZO7IPGTD.js';export{b as AVATAR_STACK_VARIANTS,e as AvatarStack,d as AvatarStackItem,c as DEFAULT_AVATAR_STACK_VARIANT,a as avatarStackClassNames}from'./_chunks/chunk-A6YF5T27.js';export{b as Card,c as CardHeader,a as cardClassNames}from'./_chunks/chunk-EKOUE2IZ.js';export{a as Calender}from'./_chunks/chunk-IERB2R3J.js';export{j as Timepicker}from'./_chunks/chunk-FIFXF3JZ.js';export{f as ColorPicker,b as colorPickerClassNames}from'./_chunks/chunk-BCIBP56P.js';export{P as Accordion,t as Avatar,B as Backdrop,z as Badge,b as Button,f as Checkbox,H as Chip,n as CircularProgress,x as Collapse,D as CopyButton,T as Dialog,v as Divider,ba as FieldFeedback,d as Icon,L as Input,_ as LazyImage,R as Menu,V as MenuItem,F as ProgressBar,l as RadioButton,da as ScrollLoader,r as Skeleton,J as Slider,h as Switch,N as Textarea,Y as ToggleButtons,p as Tooltip,j as Typography,O as accordionClassNames,s as avatarClassNames,A as backdropClassNames,y as badgeClassNames,a as buttonClassNames,e as checkboxClassNames,G as chipClassNames,m as circularProgressClassNames,w as collapseClassNames,C as copyButtonClassNames,S as dialogClassNames,u as dividerClassNames,$ as fieldFeedbackClassNames,aa as getFieldFeedbackColors,c as iconClassNames,K as inputClassNames,Z as lazyImageClassNames,Q as menuClassNames,U as menuItemClassNames,E as progressBarClassNames,k as radioButtonClassNames,ca as scrollLoaderClassNames,q as skeletonClassNames,I as sliderClassNames,g as switchClassNames,M as textareaClassNames,W as toggleButtonsClassNames,X as toggleButtonsSize,o as tooltipClassNames,i as typographyClassNames}from'./_chunks/chunk-CAVYK7HF.js';export{f as appTheme,a as components,c as darkPalette,b as lightPalette,d as shadows,e as typography}from'./_chunks/chunk-YPOZVOUV.js';export{j as useAppEventListener,i as useAppEventPublisher,h as useAppsInfo,c as useBadgesCount,o as useColumnFiltersGate,g as useCountdown,b as useDelayToSetValue,r as useElementSizeObserver,p as useFilterKeyDown,n as useNetworkState,q as useScrollWithShadow,m as useScrolledTo,k as useSelectedMerchantDetails,e as useStickyHeaderShadow,d as useTableViews,f as useThemeMode,l as useToast,a as useWindowDimensions}from'./_chunks/chunk-HZCNE5Q2.js';export{sc as DEFAULT_SKELETON_WIDTHS,ic as SELECTION_COLORS,lc as alignToJustifyContent,wa as api,xc as applyColumnFiltersGate,Yb as areFilesEqual,Ub as backendErrorHandler,Va as calculateMaxAllowedRows,eb as capitalizeFirstLetter,ib as capitalizeString,n as caretIndexAfterThousandFormat,v as changeDateTimezone,va as clearTapOsLocalStorage,Fa as conversionTypesLabels,t as convertCalendarDateToUTC,Ma as convertToNumber,u as convertUTCtoLocalDate,db as copyText,Ga as currencyConfig,Mb as downloadFile,rb as extractIdsFromRowData,Fb as filterShownColumns,Ja as formatAmount,Ka as formatAmountWithCurrency,z as formatCellDate,Ia as formatCurrencyWithInput,A as formatDate,Ra as formatFlagDate,J as formatInTimezone,Ac as formatLogDate,g as formatNumber,f as formatOrdinal,Qa as formatPayoutDate,E as formatRelativeTimeWithinHour,C as formatSecondsAsTime,m as formatThousandSeparatedInput,p as formatUTCOffset,H as generateBirthYearList,lb as generateChargeErrors,w as generateDayList,x as generateMonthList,I as generatePastYearList,$b as generateReportLocalStorageKey,tc as generateSkeletonColumns,cb as generateUniqueUUID,y as generateYearList,l as getAmountPlaceholder,Qb as getApiErrorMessage,ya as getBrowserName,N as getBusinessSegmentConfig,ha as getCalenderTimezone,ia as getCalenderTimezoneHistory,jb as getCardNumber,Ua as getCellWidth,Gb as getColumnOrderFromViews,Ta as getColumnWidthPercentage,Bc as getComponentId,La as getConversion,Na as getCountryNameByISO,q as getDefaultDateRange,Dc as getFieldFeedbackState,_b as getFileIconFromExtension,bb as getFirstChar,gc as getGeographyBoxColor,ma as getGlobalTableModeStorage,xa as getHeaders,Vb as getIdentificationTypeList,hc as getLocalizedUnitLabel,$ as getLoggedInUserActiveSegment,Z as getLoggedInUserData,W as getLoggedInUserJwtToken,_ as getLoggedInUserSegment,cc as getNameText,T as getNavigationData,P as getNonBusinessSegmentConfig,K as getOrderedWeekDays,kb as getPaymentMethodWithId,ec as getPaymentTypeKey,Sa as getPayoutDetails,Lb as getPhoneDetails,Za as getPossibleActionNavigationView,ra as getPreviewStorage,uc as getProcessedColumns,Ba as getRandomColor,Ca as getRandomGradientColor,da as getReportRecord,kc as getRowSelectionBorderStyles,R as getSecretKey,M as getSegmentData,jc as getSelectionStyles,pa as getSheetViewColumnsStorage,bc as getTextByLang,L as getTimestamp,s as getTimestampByTimezone,oc as getTimezoneByCountryCode,pc as getTimezoneByTimezone,o as getUTCOffset,r as getUTCTimestamp,d as getUniqueListBy,Aa as getUserAgentDeviceType,dc as getUsername,B as getValueOfEndOfDay,ta as getViewsSelectionStorage,Nb as handleFileDownload,Ob as handleURLDownload,wc as hasActiveColumnFilters,Rb as hasError,Cc as hasFieldFeedbackMessage,Da as hexa2Rgba,Ha as intlCurrency,ac as isArabic,Zb as isDuplicateFile,nb as isEmptyValue,Xb as isFile,Wa as isHeightNotFullyFilledByRows,aa as isJwtTokenExpired,Pb as isNetworkError,Tb as isNotFoundError,Pa as isOman,Hb as isParameterSelected,za as isSafariBrowser,fc as isSamePaymentSource,Oa as isSaudiArabia,O as isSegmentActLikeBusinessSegment,Xa as isTableDefaultMode,Ya as isTableSheetMode,pb as isTapstersFrontend,Sb as isTimeoutError,F as isTodayDate,ba as isUserLoggedInAndJwtTokenActive,e as isValidNumber,_a as isValidString,D as isWithinTimeAgo,G as isYesterdayDate,nc as joinClassNames,Ib as mapDataToViews,Jb as mapViewsToData,gb as maskValue,ab as matchOccurrence,mc as mergeSx,j as numberToString,k as pad,h as parseAmount,fb as percentageToNumber,Wb as readableFileSize,qb as removeAllCharsFromNumber,ja as removeCalenderTimezone,ka as removeCalenderTimezoneHistory,na as removeGlobalTableModeStorage,X as removeLoggedInUserJwtToken,U as removeNavigationData,$a as removePrefixFromString,sa as removePreviewStorage,ea as removeReportRecord,c as removeUndefinedArrayElements,ob as removeUndefinedArrayValues,mb as removeUndefinedValues,Ea as rgba2Hexa,yc as sanitizeHtml,fa as setCalenderTimezone,ga as setCalenderTimezoneHistory,la as setGlobalTableModeStorage,Y as setLoggedInUserData,V as setLoggedInUserJwtToken,S as setNavigationData,qa as setPreviewStorage,ca as setReportRecord,Q as setSecretKey,oa as setSheetViewColumnsStorage,ua as setViewsSelectionStorage,b as sortByString,a as sortList,i as stringToNumber,zc as trackFeatureEvent,qc as transformPaymentMethodsData,rc as transformPaymentSchemesData,hb as transformStringToProperCase,Kb as updateColumnSelection,vc as updateViewsSelection}from'./_chunks/chunk-Z2DUFVI5.js';export{ko as ACCEPTANCE_TIMEZONE,ab as AIOverviewIcon,Nn as API_BASE_LIMIT,On as API_LIST_CONSTANTS,Gn as API_URL,Bn as APP_CODES,Cn as APP_DIMENSIONS,Dn as APP_ICONS,xn as APP_SETTINGS_FUNCTIONS,_o as AUTHENTICATION_LABEL,Io as AUTHENTICATION_TYPE_OPTIONS,Zo as AuthenticationModeType,Fn as BASE_URL,$o as BUSINESS_COUNTRIES,Wo as BUSINESS_DOCUMENT_TYPE_MAP,yn as BUSINESS_FUNCTIONS,ro as CATEGORIZED_CURRENCY_CODES,da as ChallengeIcon,Jo as DARK_SEGMENT_LOGOS,Ao as DATA_KEY,Bo as DATA_KEY_LABEL,lo as DEFAULT_TIMEZONE_COUNTRY_CODE,no as DEFAULT_TIMEZONE_COUNTRY_NAME,mo as DEFAULT_TIMEZONE_IANA_NAME,Ro as DEVELOPMENT_HOUSE_SEGMENT_CODES,t as DirhamIconImage,Hn as ENV,ap as FILE_ICON_MAP,ca as FrictionlessIcon,Jn as HOST_APP_NAME,Kn as HOST_APP_NAMES,De as HSBCBankIcon,Ko as LIGHT_SEGMENT_LOGOS,oo as MINUTES_PER_HOUR,tm as MPGSProviderIcon,um as NETCETERAProviderIcon,An as OPERATOR_FUNCTIONS,Eo as PAYMENT_INITIATED_CUSTOMER_KEY,Fo as PAYMENT_INITIATED_MERCHANT_KEY,Go as PAYMENT_INITIATED_OPTIONS,Oo as PAYMENT_INSTITUTION_SEGMENT_CODES,Qo as PAYMENT_ISSUER_SEGMENT_CODES,Ho as PAYMENT_LOCATION_OPTIONS,Po as PAYMENT_TECHNOLOGY_SEGMENT_CODES,Do as PAYMENT_TYPES,Co as PAYMENT_TYPES_ICONS,No as PLATFORM_SUB_SEGMENT_CODES,Vo as REPORTS_APPS,To as REPORT_FILTER_TYPES,zn as REVIEW_FUNCTIONS,Nb as RadioButtonCheckedIcon,Ob as RadioButtonUncheckedIcon,s as SARIconImage,Lo as SEGMENT_FILTER_KEY,Mo as SEGMENT_TYPE_FILTERS_MAP,wn as SERVICE_COMMON_FUNCTIONS,xo as SHEET_VIEW_TABLE_LIST_OVER_SCAN,zo as SHEET_VIEW_TABLE_ROW_HEIGHT,yo as SHEET_VIEW_TABLE_THRESHOLD,qo as SUPPORTED_CURRENCY_CODES,po as SUPPORTED_CURRENCY_DETAILS,Nc as SandboxDefault,Mc as SandboxHovered,Yd as SandboxHoveredLightIcon,to as TABLE_CONTENT_ROW_HEIGHT,wo as TABLE_LIST_OVER_SCAN,so as TABLE_LOADING_ROW_HEIGHT,uo as TABLE_ROW_HEIGHT,vo as TABLE_THRESHOLD,wm as TAP3DSPROVIDERIcon,Pn as TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED,In as TEST_SECRET_KEY,jo as TIMEZONES,bp as WINDOW_Z_INDEX_BASE,u as abandonedIcon,Nh as abandonedNoBGIcon,Hg as abandonedTableIcon,v as abandonedYellowIcon,xc as acceptanceAppDisabledIcon,tc as acceptanceAppIcon,vc as acceptanceBlueIcon,Cc as acceptanceDisabledRoundedIcon,uc as acceptanceEnabledIcon,Fi as acceptanceWindowIcon,gb as acceptedFlag,Jc as accountAppIcon,Mi as accountWindowIcon,qb as acquirerIcon,ub as acquirerOrangeIcon,sb as acquirerRedIcon,jc as actionFailIcon,kc as actionSuccessIcon,Wi as actionsIcon,tj as activeActionIcon,dm as activeBlueIcon,cm as activeGreenIcon,wf as activeLeadStatusIcon,cl as addIconWhite,Xi as addItem,Cj as addItemIcon,Mb as addidasIcon,yi as agreementInstallmentIcon,xi as agreementOrderIcon,zi as agreementSavedCardIcon,Ai as agreementSubscriptionIcon,lb as allAppsIcon,Yo as allAuthenticationStatuses,Dk as androidAppIcon,Wf as androidIcon,b as appBaseUrl,Y as applePayIcon,vm as applePayProviderIcon,ui as appsGridIcon,gg as arcIcon,wl as archievedOutlined,Mj as archivedVerifyIcon,Yi as attachIcon,Aj as attachIcon2,re as attentionIcon,Wg as authenticatedIcon,lh as authenticatedSuccessIcon,wh as authenticatedSuccessNoBgIcon,Dc as authenticationAppIcon,Wh as authenticationAppTypeIcon,ah as authenticationAttemptedIcon,qh as authenticationAttemptedNoBgIcon,Xh as authenticationBiometricIcon,ch as authenticationDeclinedIcon,th as authenticationDeclinedNoBgIcon,Yh as authenticationDeviceIcon,eh as authenticationExemptedWithTransactionIcon,rh as authenticationExemptedWithTransactionNoBgIcon,dh as authenticationExemptedWithoutTransactionIcon,sh as authenticationExemptedWithoutTransactionNoBgIcon,fh as authenticationFailedIcon,nh as authenticationFailedNoBgIcon,Vg as authenticationFailedTableIcon,gh as authenticationInitiatedIcon,Zh as authenticationIssuerIcon,bh as authenticationNoAuthIcon,ph as authenticationNoAuthNoBgIcon,mh as authenticationPendingIcon,oh as authenticationPendingNoBgIcon,_h as authenticationSchemeIcon,hh as authenticationUnavailableIcon,uh as authenticationUnavailableNoBgIcon,ih as authenticationUndeterminedIcon,vh as authenticationUndeterminedNoBgIcon,Vh as authenticationWalletIcon,Oi as authenticationWindowIcon,kh as authenticationWithTransactionIcon,xh as authenticationWithTransactionNoBgIcon,jh as authenticationWithoutTransactionIcon,yh as authenticationWithoutTransactionNoBgIcon,Qn as authenticationsTableCellWidth,gl as authorizationServiceIcon,Rn as authorizationTableCellWidth,Ak as authorizedIcon,fk as autoCapturedIcon,gk as autoVoidIcon,Wk as babyBlueCheckIcon,Ge as backButtonLeftIcon,R as bahrainIcon,ug as bankBlueIcon,dc as bankIcon,Yk as bankNoteIcon,xm as benefitPayProviderIcon,ym as benefitProviderIcon,qc as billingAppIcon,Hi as billingWindowIcon,Qj as biometricIcon,_k as blackBrushIcon,Ll as blackDeviceIcon,Xc as blackHeadingDownArrow,Gl as blackLinkIcon,Sl as blackMobileBatteryIcon,Tl as blackMobileSignalIcon,yb as blackRightArrowIcon,Hl as blackSettingsIcon,im as blackSettingsVariant2Icon,Xl as blackUnLinkIcon,Il as blackWallet,Jf as blueAppsIcon,si as blueArrowUpIcon,Rc as blueCheckIcon,Dj as blueCircleCheckIcon,ti as blueCircleLoaderIcon,km as blueCircleWithWhiteCheckIcon,Fl as blueCopyIcon,Zc as blueDropdownArrowIcon,Jl as blueGradientBrushIcon,Yc as blueHeadingDropdownArrow,zj as blueNoteIcon,hm as bluePlusIcon,Gj as blueVerifyIcon,Qb as blueZigzagCheckIcon,Bi as brandPlaceholderIcon,fl as brandServiceIcon,fg as braveIcon,pn as bulkInvoiceTemplate,on as bulkRefundTemplate,Ic as businessesAppIcon,Ni as businessesWindowIcon,aa as buyNowPayLaterIcon,ek as calenderIcon,hk as cancelledIcon,Aa as cancelledInvoiceIcon,Wa as cancelledNoBgIcon,nf as cancelledStatusIcon,Ig as cancelledTableIcon,vb as capturedAuthorizeIcon,ja as capturedDropdownIcon,ik as capturedIcon,Jg as capturedTableIcon,yg as carIcon,T as cardIcon,Ym as cardUploadIcon,qi as cardViewButtonIcon,zm as careemPayProviderIcon,Z as cashIcon,ia as chargeBackIcon,ha as chargeBackRequestedIcon,Lg as chargeBackRequestedTableIcon,Kg as chargeBackTableIcon,Wl as chargeBackWhiteIcon,Sn as chargeTableCellWidth,hl as chargebacksServiceIcon,il as chargesServiceIcon,Pf as chatDisabledIcon,Fb as checkIcon,lc as checkMarkIcon,Ib as checkboxIcon,Fh as checkoutStatusBlueIcon,Eh as checkoutStatusIcon,Gh as checkoutWithMarkStatusIcon,w as chevronDownIcon,ne as chevronGrayIcon,me as chevronWhiteIcon,bg as chromeIcon,hg as chromiumIcon,bc as clearCoinIcon,hb as clearIcon,Cf as clipboardFileGrayIcon,Di as clipboardIcon,Ue as clockIcon,pb as closeCircle,Ta as closeIcon,xl as closeOutlinedCircle,Gb as closeXIcon,ua as closedDisputeIcon,Bb as closedFlagIcon,yf as closedLeadStatusIcon,_l as closedOutlinedYellowCircle,ci as closedStatusIcon,Lj as closedVerifyIcon,Pl as codeBlackIcon,sa as codeIcon,Uc as collapseArrowIcon,Zi as collapseArrows,we as collapseArrowsIcon,Da as columnIcon,bk as columnResizeIndicatorIcon,te as completedAcceptanceIcon,Yg as completedBlackIcon,ga as completedIcon,xf as completedLeadStatusIcon,ve as completedPayoutsIcon,Mg as completedTableIcon,ra as copyIcon,Cg as corporateLoanBlackIcon,Bg as corporateLoanIcon,Sj as createChargeIcon,ul as createLeadIcon,mf as createdStatusIcon,Xe as csvIcon,_i as customerIcon,xj as customerIcon2,Hc as customersAppIcon,Ii as customersWindowIcon,sm as cyberSourceProviderIcon,fd as darkAppPlatformSubSegmentIcon,gd as darkAuthenticationGatewaySubSegmentIcon,hd as darkBillingPlatformSubSegmentIcon,Hj as darkBlueVerifyIcon,$c as darkBusinessSegmentIcon,Tc as darkCheckIcon,id as darkCommercePlatformSubSegmentIcon,jd as darkCommercialRegulatorSubSegmentIcon,ad as darkDevelopmentSegmentIcon,ak as darkFilterIcon,bd as darkFinancialSegmentIcon,$f as darkGreyTimezoneIcon,fc as darkLeftArrowIcon,cd as darkMasterOrchestratorSegmentIcon,kd as darkMerchantServiceProviderSubSegmentIcon,ld as darkPaymentAcquirerSubSegmentIcon,md as darkPaymentFacilitatorSubSegmentIcon,nd as darkPaymentGatewayProviderSubSegmentIcon,od as darkPaymentIssuerSubSegmentIcon,pd as darkPaymentMethodSubSegmentIcon,qd as darkPaymentProcessorSubSegmentIcon,rd as darkPaymentSchemeSubSegmentIcon,sd as darkPaymentTechnologySubSegmentIcon,td as darkPaymentTerminalProviderSubSegmentIcon,dd as darkPlatformSegmentIcon,ed as darkProviderSegmentIcon,ud as darkRetailPlatformSubSegmentIcon,vd as darkRetailerSubSegmentIcon,gc as darkRightArrowIcon,Ua as dashedCheckIcon,yl as dashedOutlinedCircle,bb as deMaximizeIcon,zl as deactivatedCircle,Al as deactivatedCircleV2,_a as deactivatedIcon,$l as deactivatedOrangeCircle,am as deactivatedOrangeCircleV2,rn as deactiveIcon,jk as declinedIcon,Tg as declinedNoBgTableIcon,Ng as declinedTableIcon,rg as deemaAppIcon,Am as deemaProviderIcon,sg as deemaWindowIcon,Vl as deemaWithLabel,Oj as defaultCountryIcon,Pj as defaultDeviceIcon,kf as deletedStatusIcon,qf as deliveredStatusIcon,wa as desktopIcon,Og as destinationReversedTableIcon,z as destinationSolidIcon,Ug as destinationSuccessTableIcon,Pg as destinationWithoutBackgroundIcon,kk as destinationsIcon,jl as destinationsServiceIcon,Tn as destinationsTableCellWidth,W as deviceIcon,Xk as digitalReceiptIcon,Sb as dimmedZigzagCheckIcon,sn as disableIcon,Kf as disabledCardIcon,Sc as disabledCheckIcon,Lf as disabledCodeIcon,$i as discountIcon,F as disputeIcon,ka as disputeResolvedIcon,Qg as disputeResolvedTableIcon,if as dollarSignIcon,$e as doneIcon,bn as dottedConnectorIcon,gf as dottedLine,Eb as downArrowIcon,wj as downArrowIcon3,Rm as downloadBlueIcon,Ef as downloadFileIcon,lf as draftStatusIcon,Hb as dragIcon,he as dueDateBlackIcon,de as dueDateBlueIcon,ie as dueDateGrayIcon,ee as dueDateOrangeIcon,ge as dueDateRedIcon,fe as dueDateYellowIcon,in as earlySettlementsIcon,dg as edgeIcon,Ch as editIcon,K as egyptFlagIcon,ma as ellipsisHorizontalIcon,bj as emailBlackIcon,Zd as emailChannelIcon,aj as emailIcon,qn as emptyCopyIcon,Sh as emptyIcon,Ul as emptyMobileWifiIcon,So as emptyStatusChipColors,_m as endConnectorIcon,kl as entityServiceIcon,Wj as entityTimezoneIcon,Q as europeFlagIcon,Ka as exclamationDarkGreyIcon,Qf as exclamationDarkIcon,Sf as exclamationErrorIcon,Ja as exclamationGreyIcon,Tf as exclamationOrangeIcon,Bl as exclamationOutlinedCircle,bm as exclamationOutlinedOrangeCircle,Rf as exclamationWarningIcon,jm as exclamationWhiteIcon,hn as excludeIcon,En as excludedApps,dj as expandArrows,xe as expandArrowsIcon,ke as expiredIcon,Ba as expiredInvoiceIcon,zf as expiredLeadStatusIcon,Xa as expiredNoBgIcon,of as expiredStatusIcon,X as expressCheckoutIcon,tn as extendIcon,mm as externalLinkIcon,Sm as eyeBlueIcon,He as eyeHideIcon,Ie as eyeShowIcon,lk as failedIcon,Sg as failedNoBgTableIcon,Rg as failedTableIcon,Ia as failedWhiteBgIcon,Tm as fastBlackIcon,tg as fastIcon,Bm as fawryProviderIcon,ej as feeIcon,Zj as fileDownloadBlueIcon,_j as fileDownloadGreyIcon,Bf as fileIcon,Wm as fileMinusIcon,e as filesUrl,an as filledConnectorIcon,kn as financeFeaturesIcon,jn as financedByIcon,cg as firefoxIcon,E as flagIcon,om as flipIcon,Cm as fssProviderIcon,c as functionBaseUrl,Kl as gadientLink,tb as gatewayIcon,mk as gatewayOrangeIcon,nk as gatewayRedIcon,vn as gatewaySolidIcon,ae as genericIcon,rb as genericIconNew,r as getAgingIcon,n as getAuthorityIcon,o as getBrowserIcon,j as getCountriesIcon,m as getCurrenciesIcon,g as getLightUrlIcon,q as getPaymentGatewaysIcon,p as getPaymentInitiatorIcon,i as getPaymentIssuersIcon,h as getPaymentMethodsIcon,k as getServiceFunctionIcon,l as getStatusIcon,Ml as gradientDeviceIcon,Nl as gradientSettings,Ol as gradientWallet,Td as grayBrandIcon,Ud as grayCircleIcon,wi as grayCloseIcon,Db as grayFlagIcon,uj as grayProductLabel,Wc as grayUpArrowIcon,Ij as grayVerifyIcon,ze as greenArrowLeftIcon,ye as greenArrowRightIcon,Ae as greenArrowUpIcon,El as greenCheck2ACE00,ta as greenCheckIcon,Uf as greenCheckV2Icon,Jj as greenVerifyIcon,Rb as greenZigzagCheckIcon,Yf as greyAppleIcon,Pc as greyCheckIcon,Qc as greyCrossIcon,_f as greyDesktopIcon,el as greyDownArrowIcon,_c as greyDropdownIcon,Zf as greyLocationIcon,Ah as greyMinusIcon,zh as greyPlusIcon,H as greyTimezoneIcon,dl as greyUpArrowIcon,Pa as halfCircleIcon,Qa as halfCircleTransparentIcon,zg as handCoinsWhiteIcon,rm as helpCircleIcon,mb as hideIcon,ec as hijriIcon,ck as homeIcon,Ek as iOSAppIcon,db as ibanIcon,qa as idIcon,em as inActiveGreyIcon,fm as inActiveWhiteIcon,se as initialAcceptanceIcon,ue as initialPayoutsIcon,Bk as initiatedIcon,Oe as inprogressIcon,rl as insightsServiceIcon,Jh as intentCancelledStatusIcon,Hh as intentExpiredStatusIcon,Ih as intentInitiatedStatusIcon,Kh as intentTransactedStatusIcon,ql as intentsServiceIcon,Un as intentsTableCellWidth,za as invoiceIcon,oa as invoiceIdIcon,Ca as invoiceNumberIcon,ll as invoiceServiceIcon,Vn as invoicesTableCellWidth,Vf as iosIcon,en as issuerAttributesIcon,V as jaywanIcon,M as jordanFlagIcon,Wd as jsonBlackIcon,Vd as jsonIcon,Dm as knetProviderIcon,O as kuwaitFlagIcon,Bj as lateFeeIcon2,Mf as layersIcon,cf as leadAppIcon,df as leadTitleIcon,Of as leadWhiteIcon,Wn as leadsTableCellWidth,N as lebanonFlagIcon,og as lendingAppIcon,qg as lendingProviderAppIcon,pg as lendingWindowIcon,Cd as lightAppPlatformSubSegmentIcon,Dd as lightAuthenticationGatewaySubSegmentIcon,Ed as lightBillingPlatformSubSegmentIcon,wd as lightBusinessSegmentIcon,Fd as lightCommercePlatformSubSegmentIcon,Gd as lightCommercialRegulatorSubSegmentIcon,xd as lightDevelopmentSegmentIcon,yd as lightFinancialSegmentIcon,zd as lightMasterOrchestratorSegmentIcon,Hd as lightMerchantServiceProviderSubSegmentIcon,Id as lightPaymentAcquirerSubSegmentIcon,Jd as lightPaymentFacilitatorSubSegmentIcon,Kd as lightPaymentGatewayProviderSubSegmentIcon,Ld as lightPaymentIssuerSubSegmentIcon,Md as lightPaymentMethodSubSegmentIcon,Nd as lightPaymentProcessorSubSegmentIcon,Od as lightPaymentSchemeSubSegmentIcon,Pd as lightPaymentTechnologySubSegmentIcon,Qd as lightPaymentTerminalProviderSubSegmentIcon,Ad as lightPlatformSegmentIcon,Bd as lightProviderSegmentIcon,Rd as lightRetailPlatformSubSegmentIcon,Sd as lightRetailerSubSegmentIcon,a as lightUrl,cj as linkTiltedIcon,Ag as listIcon,ri as listViewButtonIcon,Th as loaderWhiteIcon,ln as loanAmountIcon,Nk as locationIcon,dk as lockIcon,mc as logOutIcon,Lh as longWordsIcon,Pb as macIcon,Ql as manyCurrencyCoin,Rl as manyCurrencyCoinGradient,Ub as marketPlaceBlackIcon,Tb as marketPlaceBlueIcon,Vb as marketPlaceDimmedIcon,Ra as maximizeIcon,Em as meezaProviderIcon,dn as merchantAttributesIcon,wb as merchantInitiatedIcon,fo as merchantsTableCellWidth,_b as messageIcon,$j as metaIcon,Sa as minimizeIcon,fj as minusIcon,xa as mobileIcon,Zb as moneyInDimmedIcon,Yb as moneyInIcon,Xb as moneyOutDimmedIcon,Wb as moneyOutIcon,xg as moonStarIcon,wg as mosqueBlackIcon,vg as mosqueIcon,mn as murabhaFinanceIcon,$k as mutedOutlinedCheckIcon,Fm as nGenIusProviderIcon,Vk as navigationIcon,bl as navigationPointerBlack,Df as newFileIcon,sj as newInvoiceIcon,sc as newReceiptIcon,jb as newWindowIcon,Ei as noAgreementIcon,Bh as noPreviewIcon,oe as notVerifiedIcon,gj as noteIcon,yj as noteIcon2,Gm as npgProviderIcon,Hm as omanNetProviderIcon,ba as openBankingIcon,va as openDisputeIcon,Ab as openFlagIcon,eg as operaIcon,zb as orangeFlagIcon,lg as orchestrationAppIcon,io as orchestrationRoutingTableCellWidth,ho as orchestrationTerminalsTableCellWidth,ng as orchestrationWindowBg,mg as orchestrationWindowIcon,ef as orderAppIcon,_d as orderIcon,ff as orderWindowIcon,Xn as ordersTableCellWidth,Fg as osAppIcon,Gg as osAppWindowIcon,Dl as outlinedCircle,al as outlinedPlatformIcon,Va as outstandingIcon,Ya as paidNoBgIcon,Zg as paidOutFilterIcon,ok as paidOutIcon,Oh as paidOutTableIcon,pf as paidStatusIcon,_ as passThruWalletIcon,hf as passwordDotsIcon,ac as payStreamIcon,un as payersIcon,Ne as paylinkAppIcon,Me as paylinkWindowIcon,yc as payoutAppDisabledIcon,Bc as payoutDisabledRoundedIcon,zc as payoutEnabledIcon,Ac as payoutGreenIcon,eb as payoutIcon,ml as payoutServiceIcon,Ji as payoutWindowIcon,Fc as payoutsAppIcon,wc as payoutsGreenIcon,Yn as payoutsTableCellWidth,Im as paypalProviderIcon,hj as pdfGrayIcon,Ye as pdfIcon,Nj as penIcon,cb as pendingFlag,$b as pendingIcon,Nf as pendingOnTapIcon,Qh as pendingPayoutIcon,uf as pendingStatusIcon,Xm as percentIcon,La as percentage0Icon,Oa as percentage100Icon,Ma as percentage50Icon,Na as percentage75Icon,Fk as physicalLocationIcon,$h as pinIcon,Dg as platformAppIcon,Eg as platformWindowIcon,cn as playIcon,vj as plusQty,Jm as postpayProviderIcon,nc as preferencesIcon,ei as previewModeIcon,ij as productLabel,Ff as progressFileIcon,Gc as protectAppIcon,Zn as protectAuthorizationsTableCellWidth,_n as protectChargesTableCellWidth,Kb as protectIcon,Ki as protectWindowIcon,Km as qPayProviderIcon,jj as quantityIcon,Cl as questionOutlinedCircle,nb as quitIcon,Af as readyLeadStatusIcon,rc as receiptBillIcon,Uj as receiptIcon,fa as redArrowDownIcon,Pe as redCloseCircleIcon,Ve as redCloseIcon,Cb as redFlagIcon,Fj as redTrashBinIcon,Kj as redVerifyIcon,fn as refreshIcon,qk as refundInitiatedIcon,rk as refundSettledIcon,$n as refundTableCellWidth,pk as refundedIcon,sk as refundedNotSettledIcon,vf as refundedStatusIcon,nl as refundsServiceIcon,Za as refunededNoBgIcon,fb as releasedFlag,jf as reloadIcon,le as remindedRedIcon,kj as removeAllItem,x as removeIcon,lj as removeItem,Um as repeatIcon,bf as reportAppIcon,af as reportAppsIcon,Uo as reportFilterTypesMap,Ze as reportIcon,D as reportsIcon,_e as reportsIconOutlined,Pi as reportsWindowIcon,tk as restrictedIcon,sl as retailersServiceIcon,Uh as reverseActionIcon,la as reversePayoutIcon,Ph as reversePayoutTableIcon,y as reversedIcon,xb as rightArrow,Jk as rightLightArrowIcon,gn as riskAttributesIcon,pa as rowIdIcon,ag as safariIcon,Se as sandboxDefaultIcon,Re as sandboxHoveredIcon,Te as sandboxOrangeIcon,L as saudiArabiaFlagIcon,_g as saveTokenIcon,J as savedCardIcon,sf as savedStatusIcon,Xj as savedTimezoneIcon,Xg as scheduledFilterIcon,tf as scheduledStatusIcon,Ik as searchBlueIcon,A as searchIcon,Mk as segmentDevelopmentHouseIcon,Kk as segmentInstitutionIcon,Lk as segmentTechnologyIcon,Mn as servicesTags,nm as settingsIcon,uk as settledIcon,vk as settlementInitiatedIcon,Mh as sheetViewIcon,Vm as shieldIcon,Ee as shopifyBadgeIcon,pm as shoppingCartIcon,jg as slaProcessAppIcon,kg as slaProcessWindowIcon,Yj as smallBlueCheckIcon,Hk as smallLeftArrowIcon,be as smsChannelIcon,mj as smsIcon,Gk as socialLinksIcon,Zl as sortAscArrowIcon,Ea as sortAzIcon,Yl as sortDescArrowIcon,Xd as sortIcon,Fa as sortZaIcon,$m as sparkIcon,Lm as spgProviderIcon,ic as spinnerLoadingAnimatedIcon,mi as spinnerLoadingBlueIcon,hc as spinnerLoadingIcon,ob as starIcon,Zm as startConnectorIcon,Mm as stcPayProviderIcon,$ as storedValueWalletIcon,I as subscriptionIcon,Tj as successCheckIcon,Gf as successFileIcon,Ha as successWhiteBgIcon,bi as switcherIcon,Nm as tabbyProviderIcon,ni as tableBackgroundLoader,oi as tableBlueArrowUpIcon,pi as tableBlueCheckMarkShadowedIcon,ki as tableLoadingSpinnerIcon,li as tableLoadingSpinnerWhiteIcon,ya as tabletIcon,Om as tamaraProviderIcon,nj as taxIcon,If as teamWindowIcon,f as templatesUrl,Ok as terminalAppIcon,Tk as terminalBrushIcon,Uk as terminalBrushMuted,Qk as terminalCardPhone,Zk as terminalDeviceFrame,gm as terminalLinkVideo,tl as terminalServiceIcon,Sk as terminalTypeIcon,Pk as terminalWindowIcon,go as terminalsTableCellWidth,nn as testimonialIcon,Rj as threeDSIcon,na as threeDsIcon,wk as timedOutIcon,je as timerBlueIcon,G as timezoneIcon,Rk as toastPOSIcon,pc as tokenAppIcon,ji as tokenCardIcon,hi as tokenExpiredStatusIcon,ii as tokenPendingStatusIcon,fi as tokenSavedStatusIcon,gi as tokenTransactedStatusIcon,Qi as tokensReportsIcon,ao as tokensTableCellWidth,Li as tokensWindowIcon,$a as topUpIcon,bo as topupsTableCellWidth,oj as totalAmountIcon,Pm as tpayProviderIcon,Qm as tpgProviderIcon,$d as transactionIcon,oc as transformIcon,Ej as trashBinIcon,Xo as unAuthenticatedStatuses,B as unAuthorizedIcon,xk as unAvailableIcon,ib as unCapturedIcon,Ln as unCapturedStatuses,Kc as unCheckedIcon,$g as unauthenticatedIcon,pj as unfocusRemoveItem,U as unionPayIcon,Lb as unisoIcon,P as unitedArabEmiratesFlagIcon,S as unitedStatesFlagIcon,yk as unknownIcon,ai as unpinIcon,Le as uploadAppIcon,Qe as uploadBlueIcon,Je as uploadIcon,Ke as uploadWindowIcon,ig as userIcon,Vj as userTimezoneIcon,Ci as usersIcon,ol as usersServiceIcon,Fe as verifiedGreenBadgeIcon,pe as verifiedIcon,qm as verifyAvatarIcon,qe as verifyReviewIcon,di as verticalLineIcon,d as videosUrl,kb as viewAllIcon,C as viewIcon,Dh as viewInvoiceIcon,vl as viewLeadIcon,rf as viewedStatusIcon,ea as visaIcon,zk as voidedIcon,Ec as walletAppIcon,do as walletDetailsTableCellWidth,cc as walletIcon,pl as walletServiceIcon,eo as walletStatementTableCellWidth,co as walletTableCellWidth,Gi as walletWindowIcon,Oc as warningInfoIcon,Ck as websiteBlueIcon,Xf as websiteIcon,ce as whatsappChannelIcon,qj as whatsappIcon,rj as whiteArrow2,Hf as whiteArrowDownIcon,Ce as whiteArrowLeftIcon,Be as whiteArrowRightIcon,lm as whiteCircleWithBlueCheckIcon,Rh as whiteCloseIcon,vi as whiteFilterIcon,Jb as whitePlusIcon,Lc as wifiOffIcon,Ti as windowBankIcon,Ri as windowBrandIcon,Si as windowEntityIcon,Ui as windowIndividualIcon,Vi as windowPasswordIcon,Vc as worldIcon,We as xlsIcon,Ga as zipFileIcon}from'./_chunks/chunk-3M2GZVQW.js';export{m as ACCOUNT_APP_SETTINGS,l as ACCOUNT_SECTION,n as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,o as DISCOUNT_TYPE,b as LanguageMode,i as NewRelicEventType,k as NewRelicFeatureName,j as NewRelicFeatureType,c as RECURRENCE_TYPE,q as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,p as StatusValue,a as ThemeMode}from'./_chunks/chunk-LS57WE6K.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.3.280",
4
+ "version": "0.3.281-test.1794357980",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "main": "build/index.js",
@@ -1 +0,0 @@
1
- import {d,c as c$1}from'./chunk-RXDZGI4N.js';import {f,g,h as h$2,i as i$1,b}from'./chunk-37SWWF3G.js';import {h as h$1,i,b as b$1,c as c$2,f as f$2,e,d as d$1,j as j$1}from'./chunk-7L6NBFKR.js';import {h,c,f as f$1}from'./chunk-ISC5KT5E.js';import {mc,nc}from'./chunk-Z2DUFVI5.js';import'./chunk-3M2GZVQW.js';import {memo,forwardRef,useState,useEffect,useRef}from'react';import {createPortal}from'react-dom';import oo from'@mui/material/Backdrop';import {styled,alpha}from'@mui/material/styles';import v from'@mui/material/Box';import {motion,animate}from'framer-motion';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var H="os-shared-WindowShell",x={root:`${H}-root`,sidebar:`${H}-sidebar`,body:`${H}-body`,panel:`${H}-panel`};var we=styled(v)(()=>({display:"flex",flexDirection:"row",flex:1,minHeight:0,height:"100%",backgroundColor:"transparent"})),xe=styled(v)(()=>({flexShrink:0,overflow:"hidden auto",backgroundColor:"transparent",transition:"none"})),be=styled(v)(({theme:e})=>({flexShrink:0,overflow:"hidden auto",borderLeft:`1px solid ${e.palette.divider}`,backgroundColor:"transparent",transition:"none"})),ye=styled(v)(()=>({display:"flex",flexDirection:"column",flex:1,minWidth:0,minHeight:0})),ze=styled(v,{shouldForwardProp:e=>e!=="$width"})(({$width:e})=>({flexShrink:0,overflow:"hidden",display:"flex",alignItems:"stretch",position:"relative",width:e})),Ne=styled(motion.div)(()=>({flexShrink:0,overflow:"hidden",display:"flex",alignItems:"stretch",position:"relative"})),Ce=styled(motion.div,{shouldForwardProp:e=>e!=="$slotWidth"})(({$slotWidth:e})=>({width:e,minWidth:e,minHeight:"100%",height:"100%",overflow:"hidden"})),Ie=styled(v,{shouldForwardProp:e=>e!=="$visible"&&e!=="$duration"})(({$visible:e=true,$duration:o=h})=>({display:"flex",alignItems:"center",overflow:"hidden",whiteSpace:"nowrap",flexShrink:0,maxWidth:e?160:0,opacity:e?1:0,pointerEvents:e?"auto":"none",transition:o>0?`max-width ${.3*o}s ease-in-out, opacity ${.24*o}s ease-in-out`:"none"})),Te=styled(h$1,{shouldForwardProp:e=>e!=="$width"})(({$width:e})=>({...e!=null?{flex:`0 0 ${e}px`,maxWidth:e}:null})),Pe=styled(i,{shouldForwardProp:e=>e!=="$width"&&e!=="$justifyContent"})(({$width:e,$justifyContent:o="flex-start"})=>({...e!=null?{flex:`0 0 ${e}px`,maxWidth:e,justifyContent:o}:null}));var Ue=220;function ge(e,o,a){return Math.min(Math.max(e,o??0),a??1/0)}function Ae(e,o,a,n){if(Math.abs(e-o)<=1)return;let r=animate(0,1,{duration:a,onUpdate:t=>{n(s=>({...s,width:e+(o-e)*t}));}});return ()=>r.stop()}function G(e,o){if(e===false)return {duration:0,resize:o};let a=typeof e=="object"?e:void 0,n=a?.duration;return {duration:typeof n=="number"&&Number.isFinite(n)?Math.max(0,n):h,resize:a?.resize??o}}function j(e){return e?.children==null||e.expand?.isExpanded===false?false:e.expand?.isExpanded===true}function F(e,o=Ue){let a=Array.isArray(e)?e.flat():[e];for(let n=a.length-1;n>=0;n--){let r=a[n];if(r!=null&&typeof r=="object"&&!Array.isArray(r)&&typeof r.width=="number")return r.width}return o}function Ee(e){let o=e["data-id"]??e.id;return o!=null?{"data-id":o}:{}}function Me({kind:e,slot:o,isOpen:a,fullWidth:n,wrapperWidth:r,animateWrapperWidth:t,animation:s}){let p=e==="sidebar"?xe:be,d=e==="sidebar"?x.sidebar:x.panel,m=o["data-testid"]?`${o["data-testid"]}Wrapper`:e==="sidebar"?"WindowShellSidebarWrapper":"WindowShellPanelWrapper",i=o["data-testid"]??o.id??(e==="sidebar"?"WindowShellSidebar":"WindowShellPanel"),l=Ee(o),u=jsx(p,{id:o.id,className:nc(d,o.className),"data-testid":i,...l,sx:mc({width:n,minWidth:0},o.sx),children:jsx(Ce,{$slotWidth:n,animate:{x:a?0:-n},transition:{duration:s.duration},children:o.children})});return t?jsx(Ne,{"data-testid":m,...l,animate:{width:r},transition:{duration:s.duration},children:u}):jsx(ze,{"data-testid":m,...l,$width:r,children:u})}Me.displayName="WindowShellSlotColumn";var J=memo(Me);function De({baseWindowWidth:e,sidebar:o,panel:a,content:n,bodyContent:r,sidebarOpen:t,showPanel:s,sidebarFullWidth:p,panelFullWidth:d,sidebarAnimation:m,panelAnimation:i}){let{size:l}=b(),u=i.resize==="window",W=typeof e=="number"?Math.max(0,e-(u?d:0)-(m.resize==="window"&&!t?p:0)):l.width,b$1=u?s?Math.min(d,Math.max(0,l.width-W)):0:s?d:0,y=t?p:0;return jsxs(we,{className:nc(x.root),children:[o?.children?jsx(J,{kind:"sidebar",slot:o,isOpen:t,fullWidth:p,wrapperWidth:y,animateWrapperWidth:true,animation:m}):null,jsx(ye,{id:n?.id?`${n.id}Body`:void 0,className:nc(x.body,n?.className),"data-testid":n?.["data-testid"]?`${n["data-testid"]}Body`:n?.id?`${n.id}Body`:"WindowShellBody",...(n?.["data-id"]??n?.id)!=null?{"data-id":n?.["data-id"]?`${n["data-id"]}Body`:`${n?.id}Body`}:null,sx:n?.sx,children:r}),a?.children?jsx(J,{kind:"panel",slot:a,isOpen:s,fullWidth:d,wrapperWidth:b$1,animateWrapperWidth:!u,animation:i}):null]})}De.displayName="WindowShellSlotsLayout";var Re=memo(De);function $e({sidebarOpen:e,showPanel:o,sidebarResize:a,panelResize:n,sidebarDuration:r,panelDuration:t}){let{size:s,setSize:p,defaultSize:d,minSize:m,maxSize:i}=b(),l=useRef(s);l.current=s;let u=useRef(d.width),W=useRef(e),b$1=useRef(o),y=useRef(d.width);return useEffect(()=>{let C=b$1.current!==o,w=W.current!==e,E=y.current!==d.width;b$1.current=o,W.current=e,y.current=d.width;let S;if(w&&a==="window"?S=r:(C&&n==="window"||E&&!C&&!w)&&(S=t),S==null)return;let h=ge(d.width,m?.width,i?.width);return u.current=h,Ae(l.current.width,h,S,p)},[d.width,o,e,a,n,r,t,m?.width,i?.width,p]),null}$e.displayName="WindowShellAnimator";var Oe=memo($e);function ve({toolbar:e$1,sidebar:o,panel:a,animationDuration:n=h}){let{title:r,titleIcon:t,onClose:s,onMinimize:p,onMaximize:d,startAdornment:m,endAdornment:i,id:l,className:u,"data-testid":W,"data-id":b$2,sx:y}=e$1??{},{isMaximized:C}=b(),w=typeof s=="function"?s:void 0,E=typeof p=="function"?p:void 0,S=typeof d=="function"?d:void 0,h=o?.expand,c=a?.expand,z=j(a),L=h?.isExpanded??true,M=h!=null&&o?.children!=null,D=c!=null&&a?.children!=null&&z,k=M&&D,V=F(a?.sx),_=o!=null?F(o.sx):0,I=Math.max(_,V),T=k&&L?I:void 0,Z=D?I:void 0,X=D;return jsxs(b$1,{id:l??f$1,className:u,"data-testid":W??l??"WindowToolbar","data-id":b$2??l,sx:y,children:[jsxs(Te,{$width:T,children:[w?jsx(c$2,{onClick:w}):null,E?jsx(f$2,{onClick:E}):null,S?jsx(e,{isMaximized:C,onClick:S}):null,M&&h?jsx(d$1,{direction:h.isExpanded??true?"left":"right",active:h.isExpanded??true,onClick:h.onExpand,children:h.label}):null,m]}),jsx(j$1,{title:r,icon:t}),jsxs(Pe,{$width:Z,$justifyContent:i?"space-between":"flex-start",children:[D?jsx(Ie,{$visible:X,$duration:n,children:jsx(d$1,{sx:{flexShrink:0},direction:c?.isExpanded??true?"left":"right",active:z,onClick:c?.onExpand,children:c?.label})}):null,i]})]})}ve.displayName="WindowShellToolbar";var Fe=memo(ve);var Be=forwardRef(function({isOpen:o,className:a,sx:n,toolbar:r,services:t,sidebar:s,panel:p,footer:d$1,content:m,window:i,backdrop:l},u){let W=t?.list??[],b=(t?.isLoading??false)||W.length>0,y=d$1!=null&&(d$1.isVisible??true),C=s?.children,w=F(s?.sx),E=p?.children,S=p!=null?F(p.sx):0,h=m?.children,c$2=s?.expand?.isExpanded??C!=null,z=j(p),L=!!(C||E),[M,D]=useState(w),[k,V]=useState(S);useEffect(()=>{c$2&&D(w),z&&V(S);},[c$2,w,z,S]);let _=r?.onClose??r?.onMinimize??(()=>{}),I=G(s?.animation,"in-place"),T=G(p?.animation,"in-place"),Z=(()=>{let P=i?.defaultSize;if(typeof P?.width!="number")return P;let oe=(I.resize==="window"&&!c$2?M:0)+(T.resize==="window"&&!z?k:0);return oe>0?{...P,width:Math.max(0,P.width-oe)}:P})(),X={height:i?.minSize?.height??i?.defaultSize?.height??c,...i?.minSize?.width!=null?{width:i.minSize.width}:null},Le=l!=null&&(l.isVisible??true)&&o&&!i?.isMinimized,_e=(i?.order??0)+10-1,ee=jsx(oo,{open:true,onClick:_,id:l?.id,className:l?.className,"data-testid":l?.["data-testid"]??l?.id??"WindowShellBackdrop",...(l?.["data-id"]??l?.id)!=null?{"data-id":l?.["data-id"]??l?.id}:null,sx:mc({zIndex:_e,backgroundColor:P=>alpha(P.palette.common.black,.3)},l?.sx)});return jsxs(Fragment,{children:[Le&&(i?.disablePortal?ee:createPortal(ee,document.body)),jsxs(f,{ref:u,isOpen:o,onClose:_,defaultSize:Z,minSize:X,maxSize:i?.maxSize,defaultPosition:i?.defaultPosition,containerRef:i?.containerRef,order:i?.order,isMinimized:i?.isMinimized,isMaximized:i?.isMaximized,id:i?.id,className:nc(x.root,i?.className,a),sx:n,onResize:i?.onResize,onDragStart:i?.onDragStart,onMouseDown:i?.onMouseDown,onClick:i?.onClick,disablePortal:i?.disablePortal,"data-testid":i?.["data-testid"]??i?.id,"data-id":i?.["data-id"]??i?.id,children:[jsx(Oe,{sidebarOpen:c$2,showPanel:z,sidebarWidth:M,panelWidth:k,sidebarResize:I.resize,panelResize:T.resize,sidebarDuration:I.duration,panelDuration:T.duration}),jsx(Fe,{toolbar:r,sidebar:s,panel:p,animationDuration:T.duration}),b?t?.isLoading?jsx(d,{appCode:t?.appCode,id:t?.id,className:t?.className,"data-testid":t?.["data-testid"]??t?.id,"data-id":t?.["data-id"]??t?.id,sx:mc({height:"auto",flexShrink:0},t?.sx)}):jsx(c$1,{services:W,serviceCode:t?.activeCode??"",onOpenService:t?.onOpen,onOpenServiceInNewWindow:t?.onOpenInNewWindow,language:t?.language??"en",openInNewWindowLabel:t?.openInNewWindowLabel??"Open in new window",id:t?.id,className:t?.className,"data-testid":t?.["data-testid"]??t?.id,"data-id":t?.["data-id"]??t?.id,sx:t?.sx}):null,jsx(g,{id:m?.id,className:m?.className,"data-testid":m?.["data-testid"]??m?.id,"data-id":m?.["data-id"]??m?.id,sx:L?void 0:m?.sx,children:L?jsx(Re,{baseWindowWidth:typeof i?.defaultSize?.width=="number"?i.defaultSize.width:void 0,sidebar:s,panel:p,content:m,bodyContent:h,sidebarOpen:c$2,showPanel:z,sidebarFullWidth:M,panelFullWidth:k,sidebarAnimation:I,panelAnimation:T}):h}),y?jsxs(h$2,{id:d$1?.id,className:d$1?.className,"data-testid":d$1?.["data-testid"]??d$1?.id,"data-id":d$1?.["data-id"]??d$1?.id,sx:d$1?.isVisible===true?mc(d$1?.sx??{},{"&:empty, &:has(> :only-child:empty)":{display:"flex"}}):d$1?.sx,children:[d$1?.children,d$1?.actions?jsx(i$1,{children:d$1.actions}):null]}):null]})]})});Be.displayName="WindowShell";var to=memo(Be);export{x as a,to as b};
@@ -1 +0,0 @@
1
- import {k as k$1,j as j$1,g}from'./chunk-ISC5KT5E.js';import {j as j$2}from'./chunk-CAVYK7HF.js';import {nc}from'./chunk-Z2DUFVI5.js';import {Ta,Be,bb,Ra,Sa,Se}from'./chunk-3M2GZVQW.js';import {forwardRef,useState,useCallback,memo}from'react';import m from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var d="os-shared-WindowToolbar",e={root:`${d}-root`,start:`${d}-start`,end:`${d}-end`,title:`${d}-title`,titleIcon:`${d}-titleIcon`,icon:`${d}-icon`,expand:`${d}-expand`,expandIcon:`${d}-expandIcon`,expandText:`${d}-expandText`};var P=styled(m,{shouldForwardProp:o=>o!=="$isDragging"})(({theme:o,$isDragging:t=false})=>({margin:0,position:"sticky",top:0,left:0,right:0,zIndex:1e3,cursor:t?"move":"default",flexShrink:0,height:32,display:"flex",width:"100%",justifyContent:"safe center",backgroundColor:j$1,backdropFilter:k$1,transition:"background-color 0.5s ease-in-out",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",paddingLeft:o.spacing(1.25),paddingRight:o.spacing(1.25),'[data-window-maximized="true"] & .action-box':{visibility:"hidden"},'[data-window-maximized="true"] &:hover .action-box':{visibility:"visible"},":hover":{".header-icon":{backgroundColor:`${o.palette.grey[200]}40`},".header-icon img":{opacity:1},[`.${e.expandText}`]:{opacity:1},[`.${e.expandIcon}`]:{backgroundColor:`${o.palette.success.main} !important`}},"&:focus-within":{[`.${e.expandText}`]:{opacity:1}}})),D=styled(m)(({theme:o})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",flex:"1 1 0px",minWidth:0,gap:o.spacing(1),zIndex:1})),$=styled(m)(({theme:o})=>({display:"flex",alignItems:"center",justifyContent:"flex-end",flex:"1 1 0px",minWidth:0,gap:o.spacing(1)})),v=styled("div")(()=>({display:"flex",justifyContent:"center",alignItems:"center",position:"relative",textAlign:"center",flex:"1 1 0px",minWidth:0,maxWidth:"100%",overflow:"hidden"})),z=styled("img")(()=>({width:14,height:14,verticalAlign:"center"})),A=styled(j$2)(({theme:o})=>({fontSize:"10px",color:"rgba(32, 35, 43, 0.5)",opacity:.7,textAlign:"left",fontWeight:o.v2.typography.fontWeightBold,lineHeight:"14px",userSelect:"none",paddingLeft:"0.175rem",textTransform:"capitalize",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"})),p=styled(m)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}})),k=styled(p)(({theme:o})=>({"&&.header-icon:hover":{backgroundColor:o.palette.error.main}})),M=styled(p)(({theme:o})=>({"&&.header-icon:hover":{backgroundColor:o.palette.warning.main}})),E=styled(p)(({theme:o})=>({"&&.header-icon:hover":{backgroundColor:o.palette.info.dark}})),R=styled(p,{shouldForwardProp:o=>o!=="$active"})(({theme:o,$active:t})=>({...t&&{backgroundColor:`${o.palette.common.orange} !important`,"& img":{filter:"brightness(0) invert(1)",opacity:1}},"&&.header-icon:hover":{backgroundColor:o.palette.common.orange,"& img":{filter:"brightness(0) invert(1)"}}})),F=styled(m)(()=>({alignItems:"center",justifyContent:"center",display:"flex",height:12,gap:"5px",cursor:"pointer","&:hover":{"& .sandbox-text":{display:"block"}}})),L=styled(j$2,{shouldForwardProp:o=>o!=="$active"})(({theme:o,$active:t})=>({fontSize:"10px",fontWeight:600,color:o.palette.common.orange,whiteSpace:"nowrap",display:t?"block":"none"})),j=styled(p,{shouldForwardProp:o=>o!=="$direction"})(({theme:o,$direction:t="right"})=>({"&.header-icon:hover":{backgroundColor:o.palette.success.main},"& img":{transform:t==="left"?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s ease-in-out, opacity 0.2s ease-in-out"}})),B=styled(m,{shouldForwardProp:o=>o!=="$active"})(({theme:o,$active:t=false})=>({alignItems:"center",justifyContent:"center",display:"flex",height:12,gap:"5px",marginInlineStart:"10px",...t&&{"& .header-icon":{backgroundColor:`${o.palette.success.main} !important`},"& .header-icon img":{opacity:1},[`.${e.expandText}`]:{opacity:1}},"&:hover":{"& .request-text":{opacity:1},"& .header-icon":{backgroundColor:`${o.palette.success.main} !important`}},cursor:"pointer"})),O=styled(j$2)(()=>({fontFamily:"Tap Sans, sans-serif",fontWeight:600,fontSize:"10px",lineHeight:"100%",letterSpacing:"0%",textBoxTrim:"trim-start",textBoxEdge:"cap alphabetic",color:"rgba(42, 206, 0, 1)",opacity:0,transition:"opacity 0.2s ease-in-out"}));var _=forwardRef(function({children:t,id:r,className:a,sx:l,"data-testid":s,"data-id":x},X){let[Y,w]=useState(false),Z=useCallback(()=>{w(true);},[]),T=useCallback(()=>{w(false);},[]);return jsx(P,{ref:X,id:r,"data-testid":s??r??"WindowToolbar",...(x??r)!=null?{"data-id":x??r}:null,className:nc(e.root,g,a),sx:l,$isDragging:Y,onPointerDown:Z,onPointerUp:T,onPointerCancel:T,children:t})});_.displayName="WindowToolbar";var ro=memo(_);function ao({className:o,id:t,...r}){return jsx(k,{...r,id:t,"data-testid":t??"CloseIcon",className:nc(e.icon,"header-icon",o),children:jsx("img",{src:Ta,alt:"close"})})}var lo=memo(ao);function po({direction:o,active:t=false,children:r,className:a,id:l,...s}){return jsxs(B,{...s,id:l,"data-testid":l??"DirectionIcon",className:nc(e.expand,a),$active:t,children:[jsx(j,{className:nc(e.expandIcon,"header-icon"),$direction:o,children:jsx(m,{component:"img",src:Be,alt:"arrow"})}),jsx(O,{className:nc(e.expandText,"request-text"),children:r})]})}var co=memo(po);function xo({isMaximized:o=false,className:t,id:r,...a}){return jsx(E,{...a,id:r,"data-testid":r??"MaximizeIcon",className:nc(e.icon,"header-icon",t),children:jsx("img",{src:o?bb:Ra,alt:"maximize"})})}var wo=memo(xo);function yo({className:o,id:t,...r}){return jsx(M,{...r,id:t,"data-testid":t??"MinimizeIcon",className:nc(e.icon,"header-icon",o),children:jsx("img",{src:Sa,alt:"minimize"})})}var go=memo(yo);function uo({active:o=false,label:t="Sandbox mode",className:r,id:a,...l}){return jsxs(F,{...l,id:a,"data-testid":a??"SandboxIcon",className:r,children:[jsx(L,{$active:o,className:"sandbox-text",children:t}),jsx(R,{$active:o,className:nc(e.icon,"header-icon"),children:jsx("img",{src:Se,alt:"sandbox"})})]})}var So=memo(uo);var G=forwardRef(function({children:t,id:r,className:a,sx:l},s){return jsx(D,{ref:s,id:r,"data-testid":r??"WindowToolbarStartAdornment",className:nc(e.start,"action-box",a),sx:l,children:t})});G.displayName="WindowToolbarStartAdornment";var No=memo(G);var J=forwardRef(function({children:t,id:r,className:a,sx:l},s){return jsx($,{ref:s,id:r,"data-testid":r??"WindowToolbarEndAdornment",className:nc(e.end,a),sx:l,children:t})});J.displayName="WindowToolbarEndAdornment";var vo=memo(J);function V({title:o,icon:t,className:r}){return jsxs(v,{className:nc("action-box",r),children:[t?jsx(z,{src:t,alt:"icon",className:nc(e.titleIcon)}):null,o?jsx(A,{className:nc(e.title),children:o}):null]})}V.displayName="WindowToolbarTitle";var ko=memo(V);export{e as a,ro as b,lo as c,co as d,wo as e,go as f,So as g,No as h,vo as i,ko as j};
@@ -1 +0,0 @@
1
- import {d,r as r$1}from'./chunk-CAVYK7HF.js';import {mc,nc}from'./chunk-Z2DUFVI5.js';import {Td,Ye}from'./chunk-3M2GZVQW.js';import {forwardRef,useMemo,memo}from'react';import {styled}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var N="os-shared-Logo",r={root:`${N}-root`,skeleton:`${N}-skeleton`},C="logo";var I=styled(d)(({theme:n})=>({borderRadius:"50%",backgroundColor:n.palette.common.white}));var R=forwardRef(({className:n,sx:f,id:s,src:o,width:g=24,height:l=24,isError:e,isLoading:S,fallback:t,alt:P=C},U)=>{let m=useMemo(()=>typeof o!="string"&&!!o?.type?.includes("application/pdf"),[o]),d=useMemo(()=>o?typeof o=="string"?o:(window.URL?URL:webkitURL).createObjectURL(o):"",[o]),w=useMemo(()=>e||!o?typeof t=="string"&&t?t:Td:m?Ye:d,[o,t,e,m,d]);return S?jsx(r$1,{variant:"circular",className:r.skeleton,sx:mc({width:g,height:l,flexShrink:0},f),"data-testid":s??"Logo"}):(e||!o)&&t!==void 0&&typeof t!="string"?jsx(Fragment,{children:t}):jsx(I,{ref:U,id:s,"data-testid":s??"Logo",alt:P,src:w,className:nc(r.root,n),sx:mc({width:g,height:l,objectFit:m&&o&&!e?"none":"contain"},f)})});R.displayName="Logo";var D=memo(R);export{r as a,D as b};