@tap-payments/os-micro-frontend-shared 0.3.223 → 0.3.224-test.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_chunks/{chunk-ZVC3PXJB.js → chunk-32CPM4J3.js} +1 -1
- package/build/_chunks/{chunk-LORKYJPD.js → chunk-33C463YL.js} +1 -1
- package/build/_chunks/{chunk-FUHQHDFU.js → chunk-44UNMXKS.js} +1 -1
- package/build/_chunks/{chunk-Y4MBLN4R.js → chunk-4AFJCOBN.js} +1 -1
- package/build/_chunks/chunk-4HUXFXAF.js +2 -0
- package/build/_chunks/{chunk-SDNCK73U.js → chunk-4SWNFKMX.js} +1 -1
- package/build/_chunks/{chunk-2OTSLKKQ.js → chunk-4XXNGLS6.js} +1 -1
- package/build/_chunks/{chunk-PCOJKH4L.js → chunk-545BCGVE.js} +1 -1
- package/build/_chunks/{chunk-FWVZQRRW.js → chunk-5DLQTR4L.js} +1 -1
- package/build/_chunks/{chunk-4DDBUSCP.js → chunk-5EP3LEOE.js} +1 -1
- package/build/_chunks/{chunk-PH42ORBN.js → chunk-64ILCI3S.js} +1 -1
- package/build/_chunks/{chunk-ZKXJ2YUK.js → chunk-6VQVT7U4.js} +1 -1
- package/build/_chunks/{chunk-A422CNWA.js → chunk-7GVPGH6A.js} +1 -1
- package/build/_chunks/{chunk-FW6NJ64Y.js → chunk-ACYZKBPV.js} +1 -1
- package/build/_chunks/{chunk-6JTFF3VW.js → chunk-AFDB2YM6.js} +1 -1
- package/build/_chunks/{chunk-QOBRDOX3.js → chunk-AIT2A7YM.js} +1 -1
- package/build/_chunks/{chunk-LVMXAYG4.js → chunk-BIJMWICZ.js} +1 -1
- package/build/_chunks/{chunk-IY2CABAN.js → chunk-BL45EG5I.js} +1 -1
- package/build/_chunks/{chunk-T6FBC4KN.js → chunk-CAKSLKXG.js} +1 -1
- package/build/_chunks/{chunk-7HAWTKHS.js → chunk-DEQ2OTPX.js} +1 -1
- package/build/_chunks/{chunk-ALEWQKNK.js → chunk-DKMFQFZU.js} +1 -1
- package/build/_chunks/{chunk-MIWTFNVW.js → chunk-DPOBKAVX.js} +1 -1
- package/build/_chunks/{chunk-XJRUEHRU.js → chunk-EI4VQCCM.js} +1 -1
- package/build/_chunks/{chunk-IUQKBIXU.js → chunk-F2LUAXXO.js} +1 -1
- package/build/_chunks/{chunk-5R6QHRGT.js → chunk-FAKPBQH3.js} +1 -1
- package/build/_chunks/{chunk-2M56LBVZ.js → chunk-FNWPZLRV.js} +1 -1
- package/build/_chunks/{chunk-6F3F5KWC.js → chunk-FTG5LY7I.js} +1 -1
- package/build/_chunks/{chunk-K5A55DZO.js → chunk-GAL3X7PR.js} +1 -1
- package/build/_chunks/{chunk-UR23DZC6.js → chunk-GIUONT72.js} +1 -1
- package/build/_chunks/{chunk-QKHBIWGZ.js → chunk-GNNMQUBT.js} +1 -1
- package/build/_chunks/{chunk-PTLDMQUB.js → chunk-HKQY74IJ.js} +1 -1
- package/build/_chunks/chunk-IFTEZN3F.js +1 -0
- package/build/_chunks/{chunk-RPSV65AM.js → chunk-J4V7VRJY.js} +1 -1
- package/build/_chunks/{chunk-FCPQ7FTN.js → chunk-JEYLI22W.js} +1 -1
- package/build/_chunks/{chunk-4QYIGMQJ.js → chunk-JORNMG4I.js} +1 -1
- package/build/_chunks/{chunk-V4IMVJZP.js → chunk-JQTHWXQR.js} +1 -1
- package/build/_chunks/{chunk-CBV3CLCA.js → chunk-KD4RSWN6.js} +1 -1
- package/build/_chunks/{chunk-UWRIO72X.js → chunk-KS7YB4UX.js} +1 -1
- package/build/_chunks/{chunk-BFGGTWCJ.js → chunk-KSTOW7O3.js} +1 -1
- package/build/_chunks/{chunk-PMZQWHUD.js → chunk-KV7KQ6MZ.js} +1 -1
- package/build/_chunks/{chunk-B7FSN6KR.js → chunk-LIHS4ZYZ.js} +1 -1
- package/build/_chunks/{chunk-OLWGUR2Y.js → chunk-LOGPCQ24.js} +1 -1
- package/build/_chunks/{chunk-ARRLK626.js → chunk-MBTSXCJW.js} +1 -1
- package/build/_chunks/{chunk-IVDDMAXY.js → chunk-MHZSYMQP.js} +1 -1
- package/build/_chunks/{chunk-RZQR6OKW.js → chunk-MMFW3YZV.js} +1 -1
- package/build/_chunks/{chunk-POIIR36Y.js → chunk-MQOX7MKN.js} +1 -1
- package/build/_chunks/{chunk-4VFYFG3T.js → chunk-ND2SYD7Y.js} +1 -1
- package/build/_chunks/{chunk-HKH2SAJZ.js → chunk-O4UZRDVR.js} +1 -1
- package/build/_chunks/{chunk-MQ5E5PIS.js → chunk-OAEOQ7AZ.js} +1 -1
- package/build/_chunks/{chunk-JGAKV56G.js → chunk-OBHJVUFA.js} +1 -1
- package/build/_chunks/{chunk-TFM77CT6.js → chunk-OYJYQKLK.js} +1 -1
- package/build/_chunks/{chunk-MOX5HIJO.js → chunk-P57UJVYY.js} +1 -1
- package/build/_chunks/{chunk-RH5G5WEQ.js → chunk-PHVELRMX.js} +1 -1
- package/build/_chunks/{chunk-DYMRORFM.js → chunk-QGQRTANO.js} +1 -1
- package/build/_chunks/{chunk-5SZCA7UT.js → chunk-QZAVOGKZ.js} +1 -1
- package/build/_chunks/{chunk-MAI6ZMUP.js → chunk-R5PUIGMB.js} +1 -1
- package/build/_chunks/{chunk-QQIX3XWR.js → chunk-SWXXEAIZ.js} +1 -1
- package/build/_chunks/{chunk-EKVX2K2J.js → chunk-T5WRDF6Z.js} +1 -1
- package/build/_chunks/{chunk-NE4LXCYK.js → chunk-TETJCQSC.js} +1 -1
- package/build/_chunks/{chunk-R2LHC6Z5.js → chunk-TH5E43JD.js} +1 -1
- package/build/_chunks/{chunk-DAYM6H2G.js → chunk-TIO3V7XA.js} +1 -1
- package/build/_chunks/{chunk-LK227QND.js → chunk-TKU4GMEV.js} +1 -1
- package/build/_chunks/{chunk-3W63LHMY.js → chunk-TY3LDUTP.js} +1 -1
- package/build/_chunks/{chunk-TYMNUXPL.js → chunk-U62XSJM5.js} +1 -1
- package/build/_chunks/{chunk-OKG77XSE.js → chunk-UD33MPJX.js} +1 -1
- package/build/_chunks/{chunk-OEI2M73L.js → chunk-UO33K26R.js} +1 -1
- package/build/_chunks/{chunk-M5HS3EYQ.js → chunk-V2RLDP5A.js} +2 -2
- package/build/_chunks/{chunk-RWAHMAFU.js → chunk-VQ4INPUZ.js} +1 -1
- package/build/_chunks/{chunk-YEBWHL2C.js → chunk-VTJJFPK5.js} +1 -1
- package/build/_chunks/{chunk-C746JR2U.js → chunk-W3D5YN4V.js} +1 -1
- package/build/_chunks/{chunk-7KODOGMP.js → chunk-W4PURLBP.js} +1 -1
- package/build/_chunks/{chunk-5DVGPGJM.js → chunk-WAY7BWQL.js} +1 -1
- package/build/_chunks/{chunk-V62DA4NC.js → chunk-WE7NB24K.js} +1 -1
- package/build/_chunks/{chunk-PWQC7GH2.js → chunk-XBUO2UHM.js} +1 -1
- package/build/_chunks/{chunk-3QLFEKLL.js → chunk-XSRIBZ5H.js} +1 -1
- package/build/_chunks/{chunk-O3YBDJOY.js → chunk-YPVFVBG3.js} +1 -1
- package/build/_chunks/{chunk-5NOCNTU2.js → chunk-ZGZK4AZ3.js} +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AnimatedSpinnerIcon/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/AppWindowWrapper/index.js +1 -1
- package/build/components/AreaChart/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/ChipStack/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrenciesMenu/CurrenciesMenu.d.ts +4 -0
- package/build/components/CurrenciesMenu/OptionContent.d.ts +5 -0
- package/build/components/CurrenciesMenu/OptionRow.d.ts +5 -0
- package/build/components/CurrenciesMenu/constants.d.ts +15 -0
- package/build/components/CurrenciesMenu/icons.d.ts +3 -0
- package/build/components/CurrenciesMenu/index.d.ts +4 -0
- package/build/components/CurrenciesMenu/index.js +1 -0
- package/build/components/CurrenciesMenu/style.d.ts +34 -0
- package/build/components/CurrenciesMenu/type.d.ts +79 -0
- package/build/components/CurrenciesMenu/utils.d.ts +13 -0
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/CustomBackdrop/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/DisplayAmount/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/EmptyState/index.js +1 -1
- package/build/components/Error/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/ExpandableSideBar/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUpload/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/FormSelect/index.js +1 -1
- package/build/components/GroupedSelect/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/IconWithBadge/index.js +1 -1
- package/build/components/InputBase/index.js +1 -1
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/MultiSelect/index.js +1 -1
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/NestedMultiSelect/index.js +1 -1
- package/build/components/OpenFileInNewTab/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/PhoneInput/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RHFGroupedSelect/index.js +1 -1
- package/build/components/RHFInput/index.js +1 -1
- package/build/components/RHFPhoneInput/index.js +1 -1
- package/build/components/RHFSwitch/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchInput/index.js +1 -1
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusFilter/StatusFilter.d.ts +1 -2
- package/build/components/StatusFilter/index.d.ts +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TextInput/index.js +1 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/ToolbarIcon/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Widget/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.d.ts +1 -3
- package/build/components/index.js +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/index.d.ts +0 -1
- package/build/constants/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/index.js +1 -1
- package/package.json +2 -2
- package/build/_chunks/chunk-QIRHZ3GG.js +0 -2
- package/build/components/Discount/DiscountDropdown/DiscountDropdown.d.ts +0 -13
- package/build/components/Discount/DiscountDropdown/index.d.ts +0 -2
- package/build/components/Discount/DiscountDropdown/style.d.ts +0 -12
- package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.d.ts +0 -12
- package/build/components/Discount/DiscountRateDropdown/index.d.ts +0 -2
- package/build/components/Discount/DiscountRateDropdown/style.d.ts +0 -7
- package/build/components/Discount/TotalDiscount/TotalDiscount.d.ts +0 -12
- package/build/components/Discount/TotalDiscount/index.d.ts +0 -1
- package/build/components/Discount/TotalDiscount/style.d.ts +0 -12
- package/build/components/Discount/index.d.ts +0 -4
- package/build/components/Discount/index.js +0 -1
- package/build/components/Discount/utils.d.ts +0 -8
- package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.d.ts +0 -12
- package/build/components/MerchantCurrencyDropdown/SelectedCurrency.d.ts +0 -6
- package/build/components/MerchantCurrencyDropdown/index.d.ts +0 -1
- package/build/components/MerchantCurrencyDropdown/index.js +0 -1
- package/build/components/MerchantCurrencyDropdown/style.d.ts +0 -13
- package/build/components/VAT/TotalVAT/TotalVAT.d.ts +0 -12
- package/build/components/VAT/TotalVAT/index.d.ts +0 -1
- package/build/components/VAT/TotalVAT/style.d.ts +0 -12
- package/build/components/VAT/VATDropdown/VATDropdown.d.ts +0 -11
- package/build/components/VAT/VATDropdown/index.d.ts +0 -1
- package/build/components/VAT/VATDropdown/style.d.ts +0 -7
- package/build/components/VAT/VATRateDropdown/VATRateDropdown.d.ts +0 -10
- package/build/components/VAT/VATRateDropdown/index.d.ts +0 -1
- package/build/components/VAT/VATRateDropdown/style.d.ts +0 -7
- package/build/components/VAT/index.d.ts +0 -4
- package/build/components/VAT/index.js +0 -1
- package/build/components/VAT/utils.d.ts +0 -7
- package/build/constants/rate.d.ts +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j,f,p}from'./chunk-
|
|
1
|
+
import {j,f,p}from'./chunk-TIO3V7XA.js';import {zc}from'./chunk-4XXNGLS6.js';import {vb}from'./chunk-V2RLDP5A.js';import {memo,useRef,useState,useEffect,useMemo,useId}from'react';import se from'@mui/material/Popper';import {styled,Box}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';var k=styled(j)(({theme:e})=>({fontWeight:e.v2.typography.fontWeightMedium,fontSize:"0.6875rem",color:e.v2.palette.grey[500],paddingInlineStart:e.v2.spacing(16),paddingTop:e.v2.spacing(8),paddingBottom:e.v2.spacing(8),paddingInlineEnd:e.v2.spacing(8)})),R=styled(Box,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:n})=>({fontWeight:e.typography.fontWeightMedium,padding:e.spacing(1),position:"relative",display:"flex",alignItems:"center",textTransform:"capitalize",cursor:n?"not-allowed":"pointer",flex:1,zIndex:99999,".MuiButtonBase-root":{width:"16px",marginInlineEnd:"4px"}})),z=styled(Box)(({theme:e})=>({borderRadius:e.spacing(.5),background:e.palette.background.default,width:"max-content",cursor:"pointer",zIndex:99999,boxShadow:e.shadows[11],display:"flex",flexDirection:"column",".nested-menu-item + .nested-menu-item":{borderTop:`1px solid ${e.palette.divider}`,zIndex:99999},".nested-menu-item:hover":{transition:e.transitions.create(["boxShadow","border"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex}),boxShadow:e.shadows[6],border:"none",position:"relative"}})),B=styled(Box)(({theme:e})=>({...e.typography.subtitle1,color:e.palette.text.primary})),H=styled(f)(()=>({padding:0,paddingRight:"4px",".MuiSvgIcon-root":{width:12,height:12}})),$=styled(Box)(()=>({display:"flex",gap:"4px",alignItems:"center",flexGrow:1,minWidth:0,overflow:"hidden"})),A=styled(Box)(()=>({display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",minWidth:0,overflow:"hidden"})),O=styled(Box)(({theme:e})=>({borderRadius:"50%",background:e.palette.divider,width:13,height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px"})),G=styled(Box)(()=>({display:"flex",alignItems:"center",gap:"8px",flexShrink:0,position:"relative",left:4})),F=styled(Box)(()=>({flex:"1 0 auto"})),_=styled(Box)(()=>({position:"relative",zIndex:999999}));function q(e){return e.scrollWidth-e.clientWidth>1}function oe({children:e}){let n=useRef(null),[r,t]=useState(false);return jsx(p,{arrow:true,placement:"top",title:e,open:r,onOpen:()=>{let u=n.current;u&&q(u)&&t(true);},onClose:()=>t(false),componentsProps:{tooltip:{sx:{maxWidth:280,whiteSpace:"normal",wordBreak:"break-word"}}},wrapperProps:{sx:{flex:1,minWidth:0,display:"block",overflow:"hidden"}},children:jsx(B,{ref:n,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e})})}var K=memo(oe);function ie({label:e,icon:n,name:r,menuItems:t,setSelected:u,onSelect:C,selected:s,displayChildrenCount:I,disabled:i,placement:h="right",sx:g,menuSx:P}){let[f,S]=useState(null),l=useRef(null),[a,p]=useState(false),w=o=>{!i&&s!==void 0&&(u({name:o,selected:!s}),s||p(false));};return useEffect(()=>{p(!!(t?.some(o=>o.selected)&&!t?.every(o=>o.selected)));},[]),jsxs(R,{"data-testid":"NestedDropdown_MenuItem",ref:l,className:`nested-menu-item ${f?"active":""} ${i?"disabled":""}`,onMouseEnter:o=>{!f&&t?.length&&S(o.currentTarget);},onMouseLeave:()=>{f&&S(null);},onClick:o=>{i||(o.stopPropagation(),w(r));},sx:{...t?.length&&{cursor:i?"not-allowed":"pointer"},zIndex:99999,...g},disabled:i,children:[s!==void 0&&jsx(H,{size:"small",indeterminate:a,checked:s,disabled:i}),jsxs($,{children:[n&&n,jsxs(A,{children:[e&&jsx(K,{children:e}),!!t?.length&&jsxs(G,{children:[I&&jsx(O,{children:t.length}),jsx("img",{src:vb,className:"arrow-icon",alt:"arrow",style:{height:12}})]})]})]}),t?.length&&jsx(se,{open:!!(f&&t?.length),anchorEl:f,placement:h==="left"?"left-start":"right-start",sx:{zIndex:99999,...P},children:jsx(b,{className:"child-dropdown",menuItems:t,placement:h,sx:P,onChildrenChange:o=>{let y=o.every(d=>d.selected);s!==void 0&&!i&&(y&&u({name:r,selected:true}),o.every(d=>!d.selected)&&u({name:r,selected:false}),p(o?.some(d=>d.selected)&&!o.every(d=>!d.selected)&&!y));},onSelect:o=>{C(o,r);}})})]})}var M=memo(ie);function ae({title:e,menuItems:n,onChildrenChange:r,onSelect:t,className:u,updatedList:C,footer:s,header:I,placement:i="right",...h}){let[g,P]=useState({name:"",selected:false}),[f,S]=useState();return useEffect(()=>{S(n);},[n]),useEffect(()=>{if(g.name){let{name:l,selected:a}=g,p=[],w=d=>d?.map(m=>(p.push({name:m.name,selected:a}),{...m,selected:a,...m.menuItems?.length&&{menuItems:w(m.menuItems)}})),y=(d=>d.map(m=>m.name===l?(p.push({name:m.name,selected:a}),{...m,selected:a,...m.menuItems?.length&&{menuItems:w(m.menuItems)}}):m))(f);S(y),C&&C(y),r&&r(y),t&&t(p);}},[g]),jsxs(z,{component:"article",className:`tap-dropdown ${u||""}`,...h,children:[jsx(_,{children:e&&jsx(k,{component:"p",children:e})}),I,jsx(F,{children:f?.map((l,a)=>jsx(M,{setSelected:({name:p,selected:w})=>{P({name:p,selected:w});},onSelect:p=>{t&&t(p);},placement:i,...l},`${l.name}-${a}`))}),s&&s]})}var b=memo(ae);var Y=(e,{menuItemSx:n,menuSx:r})=>(e.forEach(t=>{t.sx={...n,...t.sx},t.menuSx={...r,...t.menuSx},t.menuItems?.length&&Y(t.menuItems,{menuItemSx:n,menuSx:r});}),e);function he({title:e,menuItems:n,onSelect:r,updatedList:t,header:u,placement:C="right",menuItemSx:s={},menuSx:I={},...i}){let h=useMemo(()=>Y(n,{menuItemSx:s,menuSx:I}),[n,s,I]),[g,P]=useState(h),f=zc(useId(),"nested-dropdown");useEffect(()=>{P(h);},[h]);let S=l=>{let a=w=>w.map(o=>({...o,selected:l.find(y=>o.name===y.name)?.selected??o.selected,...o.menuItems?.length&&{menuItems:a(o.menuItems)}})),p=a(g);P(p),t&&t(p);};return jsx(b,{id:f,"data-testid":"NestedDropdown",placement:C,menuItems:g,title:e,header:u,onSelect:l=>{r&&r(l),S(l);},...i})}var Z=memo(he);var Qe=Z;export{M as a,b,Qe as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {$,Fb,A,uc,vc}from'./chunk-
|
|
1
|
+
import {$,Fb,A,uc,vc}from'./chunk-4XXNGLS6.js';import {useState,useEffect,useCallback,useLayoutEffect,useRef,useMemo}from'react';import {useLocation}from'react-router';import {useTheme}from'@mui/material/styles';function H(){let{innerWidth:e,innerHeight:n}=window;return {width:e,height:n}}function ge(){let[e,n]=useState(H);return useEffect(()=>{let t;function o(){cancelAnimationFrame(t),t=requestAnimationFrame(()=>{n(H());});}return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o),cancelAnimationFrame(t);}},[]),e}var Te=()=>{let[e,n]=useState(false),[t,o]=useState(false),r=useCallback(()=>{n(true);},[]),s=useCallback(()=>{n(false);},[]),i=useCallback(()=>{o(true);},[]),a=useCallback(()=>{o(false);},[]);return {onMouseContentEnter:i,onMouseContentLeave:a,isHovered:e,isContentHovered:t,onMouseEnter:r,onMouseLeave:s}};function be({value:e,delay:n}){let[t,o]=useState(e);return useEffect(()=>{let r;return e?o(e):r=setTimeout(()=>{o(e);},n),()=>{clearTimeout(r);}},[e]),t}function Me(e,n){let[t,o]=useState({});return useEffect(()=>{e&&o(s=>({...s,[e]:n||0}));},[n,e]),{getBadgeCount:useCallback(s=>s?t[s]:"",[t])}}var ke=()=>{let{pathname:e}=useLocation();useLayoutEffect(()=>{$()||(window.location.href="/login");},[e]);};function He(e){return {isParameterSelected:(o,r)=>r?.map(s=>Fb(e,o,s)),getColumnOrder:o=>{let r=e.findIndex(s=>s.name?.toLowerCase()===o?.toLowerCase());return r===-1?100:r}}}var De=e=>{let[n,t]=useState(false);return useEffect(()=>{let o=e?.current;if(!o)return;let r=new IntersectionObserver(([s])=>{t(!s.isIntersecting);});return r.observe(o),()=>r.disconnect()},[e]),{showShadow:n}};var Pe=()=>{let e=useTheme(),n=e.palette.mode==="dark",t=e.palette.mode==="light";return {isDark:n,isLight:t}};function ze(){let[e,n]=useState(0),t=useRef(null),o=A(e),r=()=>{t.current&&(clearInterval(t.current),t.current=null);},s=()=>{r(),n(0);},i=a=>{a<=0||(t.current&&r(),n(a),t.current=setInterval(()=>{n(c=>{let u=c-1;return u<=0&&r(),u});},1e3));};return useEffect(()=>()=>{r();},[]),{timer:e,formattedTime:o,startTimer:i,stopTimer:r,resetTimer:s}}var Ne=e=>{let n=useMemo(()=>new Map(e.map(i=>[i.code.toLowerCase(),i])),[e]),t=useCallback(i=>n.get(i.toLowerCase()),[n]),o=useCallback(({appCode:i,serviceCode:a})=>t(i)?.app_services.find(({code:c})=>c.toLowerCase()===a.toLowerCase()),[t]),r=useCallback(({appCode:i,serviceCode:a})=>o({appCode:i,serviceCode:a})?.functions??[],[o]),s=useCallback(({appCode:i,serviceCode:a,functionCode:c})=>r({appCode:i,serviceCode:a}).find(({code:u})=>u?.toLowerCase()===c.toLowerCase()),[r]);return {getAppInfo:t,getServiceInfo:o,getServiceFunctions:r,getFunctionInfo:s}};function F(e){return useCallback((...n)=>{let t=new CustomEvent(e,{detail:n});window.dispatchEvent(t);},[e])}function Xe(e,n){let t=useRef(n);t.current=n,useEffect(()=>{let o=r=>{let s=r;t.current(...s.detail||[]);};return window.addEventListener(e,o),()=>{window.removeEventListener(e,o);}},[e]);}var et=(e,n)=>{let{selectedEntity:t,selectedMerchant:o,displayName:r}=useMemo(()=>{let s=n?.entities.find(c=>c.id===e?.entityId),i=s?.merchants?.find(c=>c.id===e?.merchantId),a=i?.display_name??i?.legacy_id??"Select";return {selectedEntity:s,selectedMerchant:i,displayName:a}},[n,e?.entityId,e?.merchantId]);return {selectedBrand:n,selectedEntity:t,selectedMerchant:o,displayName:r}};var se=()=>crypto.randomUUID();function rt(){let e=F("on-toast"),n=useCallback(t=>(o,r)=>{let s=r?.id??se();return e({action:"show",variant:t,message:o,options:{...r,id:s}}),s},[e]);return useMemo(()=>{let t=n("default");return t.success=n("success"),t.error=n("error"),t.loading=n("loading"),t.custom=n("custom"),t.dismiss=o=>{e({action:"dismiss",variant:"dismiss",toastId:o});},t.remove=o=>{e({action:"remove",variant:"remove",toastId:o});},t},[n,e])}var ae=10;function at({threshold:e=ae,containerRef:n}={}){let[t,o]=useState(true),[r,s]=useState(false),[i,a]=useState(false),c=useCallback(l=>{let{scrollTop:m,scrollHeight:p,clientHeight:f}=l;a(p>f+e),o(m<=e),s(p-(m+f)<=e);},[e]),u=useCallback(l=>{if(l){if("currentTarget"in l){c(l.currentTarget);return}c(l);}},[c]);return useEffect(()=>{if(!n?.current)return;let l=n.current;u(l);let m=new ResizeObserver(()=>{u(l);});return m.observe(l),()=>{m.disconnect();}},[n,u]),{handleScroll:u,scrolledToTop:t,scrolledToBottom:r,scrollable:i}}var lt=(e={})=>{let{checkUrl:n="/status",checkIntervalMs:t=3e4,debounceMs:o=800,timeoutMs:r=5e3}=e,s=typeof window<"u"&&typeof navigator<"u",[i,a]=useState(s?navigator.onLine:true),[c,u]=useState(false),[l,m]=useState(null),p=useRef(null),f=useRef(null),g=useCallback(d=>{p.current!==null&&window.clearTimeout(p.current),p.current=window.setTimeout(()=>{a(d),p.current=null;},o);},[o]);return useEffect(()=>{if(!s)return;let d=null,w=()=>{f.current!==null&&(window.clearInterval(f.current),f.current=null);},v=async()=>{u(true),m(null),d?.abort(),d=new AbortController;try{let M=window.setTimeout(()=>{d?.abort();},r),y=await fetch(n,{method:"GET",cache:"no-store",signal:d.signal});window.clearTimeout(M);let x=y.ok;g(x),x?w():m(`Health check failed with status ${y.status}`);}catch{g(false),m("Unable to reach network");}finally{u(false);}},S=()=>{w(),g(true);},C=()=>{g(false),w(),v(),f.current=window.setInterval(v,t);};return window.addEventListener("online",S),window.addEventListener("offline",C),navigator.onLine||(v(),f.current=window.setInterval(v,t)),()=>{window.removeEventListener("online",S),window.removeEventListener("offline",C),p.current!==null&&window.clearTimeout(p.current),w(),d?.abort();}},[s,n,t,o,r,g]),s?{isOnline:i,isChecking:c,error:l}:{isOnline:false,isChecking:false,error:"Online status is only available in a browser environment."}};var dt=(e={},n,t)=>{let o=uc(e,t.requiredFilterKeys);return {columns:useMemo(()=>vc(n,o,t),[n,o])}};function ht(e,n){return useCallback(t=>{t.key==="Enter"?(t.preventDefault(),e(),n(t)):t.key==="Escape"&&n(t);},[e,n])}function Ct(){let[e,n]=useState(true);return {onScrollHandler:useCallback(o=>{let{scrollTop:r,scrollHeight:s,clientHeight:i}=o.currentTarget,a=r===0||i<s-r-1;n(c=>c===a?c:a);},[]),showShadow:e}}export{ge as a,Te as b,be as c,Me as d,ke as e,He as f,De as g,Pe as h,ze as i,Ne as j,F as k,Xe as l,et as m,rt as n,at as o,lt as p,dt as q,ht as r,Ct as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {zc,Xb}from'./chunk-
|
|
1
|
+
import {zc,Xb}from'./chunk-4XXNGLS6.js';import {Eb}from'./chunk-V2RLDP5A.js';import {useId}from'react';import p from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var x=styled(p,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:n})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:e.palette.grey[400],gap:"8px",...n&&{opacity:.6,cursor:"default"}})),f=styled(p)(()=>({width:"100%",minWidth:0,display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"})),u=styled(p)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",flex:1,minWidth:0,overflow:"hidden",color:e.palette.text.primary,cursor:"pointer",gap:"8px"})),w=styled("span")(({theme:e})=>({display:"block",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:500,color:e.palette.text.primary,cursor:"pointer",fontSize:"9px"})),g=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",flex:1,minWidth:0,overflow:"hidden",gap:"4px",color:e.palette.text.primary})),h=styled(p)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:32,height:32,flexShrink:0,overflow:"hidden",background:e.palette.common.white,borderRadius:"4px",border:`1px solid ${e.palette.divider}`})),y=styled(p)(()=>({display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:"auto",cursor:"pointer"}));var R=({files:e,disabled:n,sx:F,onRemoveFile:W,getFilePreview:b,renderBrandLogo:C,renderOpenFileInNewTab:v})=>{let P=zc(useId(),"file-preview");return jsx(Fragment,{children:e?.map((t,d)=>{let a=Xb(t)?b(t.file):null,k=Xb(t)&&t.file.type.includes("application/pdf"),l=Xb(t)?t.file:t;return jsx(x,{id:`${P}-${d}`,"data-testid":"FilePreview",sx:F,disabled:n,children:jsxs(f,{"data-slot":"file-wrapper",children:[jsxs(u,{"data-slot":"file-Content",children:[jsx(h,{"data-slot":"file-icon-wrapper",children:Xb(t)&&a?jsx(p,{component:"img",src:a,width:32,height:32,sx:{borderRadius:"50%",objectFit:k?"none":"cover"},onError:j=>{j.currentTarget.src=l.name;}}):C?.(l.id)}),jsxs(g,{"data-slot":"text-wrapper",children:[jsx(w,{"data-slot":"filename",children:l.name}),!Xb(t)&&!a&&v?.(l.id)]})]}),!n&&jsx(y,{"data-slot":"close-icon-wrapper",onClick:()=>{W?.(t);},children:jsx(p,{component:"img",src:Eb,width:10,height:10})})]})},d)})})},T=R;export{x as a,f as b,u as c,w as d,g as e,h as f,y as g,T as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {zc}from'./chunk-
|
|
1
|
+
import {zc}from'./chunk-4XXNGLS6.js';import {useId,useMemo,useEffect}from'react';import {styled}from'@mui/material';import {jsx}from'react/jsx-runtime';var t=styled("span")(({theme:e})=>({fontWeight:500,color:e.palette.info.dark,cursor:"pointer",fontSize:"9px",textDecoration:"underline"}));var i=window.URL||window.webkitURL,b=({data:e,isLoading:r,isError:l})=>{let p=zc(useId(),"open-file-in-new-tab"),o=useMemo(()=>e?i.createObjectURL(e):"",[e]);useEffect(()=>()=>{o&&i.revokeObjectURL(o);},[o]);let a=()=>{o&&window.open(o,"_blank");};return r||l?null:jsx(t,{id:p,"data-testid":"OpenFileInNewTab",onClick:a,children:"View"})},c=b;export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {r}from'./chunk-
|
|
1
|
+
import {r}from'./chunk-TIO3V7XA.js';import {zc,db}from'./chunk-4XXNGLS6.js';import {useId}from'react';import {motion}from'framer-motion';import {Box,Typography}from'@mui/material';import {styled}from'@mui/material/styles';import I from'@mui/material/Box';import {jsxs,jsx}from'react/jsx-runtime';var u=styled(Box)(({size:t})=>({display:"flex",flexDirection:"column",alignItems:"center",width:t,height:t,position:"relative"})),y=styled(Box)({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",textAlign:"center"}),b=styled(Typography,{shouldForwardProp:t=>t!=="isEmpty"})(({isEmpty:t})=>({fontSize:"17px",fontWeight:700,color:t?"#CFD0D2":"#000"})),D=styled(Typography,{shouldForwardProp:t=>t!=="isEmpty"})(({isEmpty:t})=>({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:t?"#CFD0D2":"#8D8D94",fontSize:"11px",fontWeight:500,letterSpacing:"0%",textAlign:"right",verticalAlign:"middle"}));var C=()=>jsxs(I,{component:"span",sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:"6px"},children:[jsx(r,{width:51,height:16}),jsx(r,{width:84,height:8})]});var v=({value:t,label:k,size:o=172,strokeWidth:p=22,isLoading:l=false})=>{let E=zc(useId(),"progress-ring"),m=t==null||t==="",F=db(t||"0"),s=Math.min(Math.max(F??0,0),100),c=(o-p)/2,n=2*Math.PI*c,r=o/2;return jsxs(u,{id:E,"data-testid":"ProgressRing",size:o,children:[jsxs("svg",{width:o,height:o,viewBox:`0 0 ${o} ${o}`,style:{position:"absolute",top:0,left:0},children:[jsx("defs",{children:jsxs("linearGradient",{id:"progressGradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[jsx("stop",{offset:"0.67%",stopColor:"#3DA6E1"}),jsx("stop",{offset:"98.91%",stopColor:"#147DC5"})]})}),jsx("circle",{cx:r,cy:r,r:c,stroke:"#F3F3F3",strokeWidth:p,fill:"transparent"}),jsx(motion.circle,{cx:r,cy:r,r:c,stroke:"url(#progressGradient)",strokeWidth:p,fill:"transparent",strokeLinecap:"round",strokeDasharray:n,strokeDashoffset:n,transform:`rotate(-90 ${r} ${r})`,animate:{strokeDashoffset:l?n:n-n*s/100},transition:{duration:1,ease:"easeOut"}})]}),jsxs(y,{children:[jsx(b,{isEmpty:m,children:l?jsx(C,{}):m?"----":jsxs(motion.span,{initial:{opacity:0},animate:{opacity:1},transition:{ease:"easeOut",duration:.5},children:[Number.isInteger(s)?s:s.toFixed(1),"%"]})}),!l&&jsx(D,{isEmpty:m,children:k})]})]})},T=v;var U=T;export{U as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-XBUO2UHM.js';import {memo,useCallback,Fragment as Fragment$1,createElement}from'react';import {useTranslation}from'react-i18next';import {jsx,Fragment}from'react/jsx-runtime';function B({isActiveFilterVisible:f,availableStatuses:v,status:e,onStatusChange:l,buttonSx:S}){let{t:I}=useTranslation(),d=f??false,b$1=useCallback(s=>s===e&&!d?"active":"inActive",[e,d]),u=useCallback(s=>{l?.(s);},[l]);return jsx(Fragment,{children:v?.map(({render:s,...a},o)=>{if(s)return jsx(Fragment$1,{children:s({status:e,onChange:u},{...a,index:o})},`custom-status-slot-${o}`);if(!Array.isArray(a.status))return createElement(b,{...a,key:`status-button-array-${a.status}`,variant:b$1(a.status),onClick:()=>{Array.isArray(a.status)||u(a.status);},buttonSx:S});if(!a.status)return null;let n=a.status.filter(Boolean).map(t=>typeof t=="string"?{value:t}:t)||[],c=!!e&&n.some(t=>t?.value===e);return jsx("div",{children:jsx(b,{...a,selectedStatus:c?e:void 0,variant:c?"active":"inActive",onButtonBodyClick:t=>u(t),dropdownOptions:n.map(t=>({label:t?.label||I(t?.value||""),status:t?.value,icon:t.icon,onClick:()=>u(t.value)})),buttonSx:S})},n[0]?.value??`status-group-${o}`)})})}var p=memo(B);var M=p;export{M as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {f as f$1}from'./chunk-
|
|
1
|
+
import {f as f$1}from'./chunk-UD33MPJX.js';import {styled,Button,Box,alpha}from'@mui/material';var l=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),n=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...l(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),u={active:n,inActive:n};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));var m=styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"})),h=styled(f$1)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),y=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),b=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),f=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),S=styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),v=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));export{u as a,m as b,h as c,y as d,b as e,f,S as g,v as h};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {p}from'./chunk-
|
|
1
|
+
import {p}from'./chunk-TIO3V7XA.js';import {zc}from'./chunk-4XXNGLS6.js';import {zi}from'./chunk-V2RLDP5A.js';import {useState,useId}from'react';import T from'@mui/material/Skeleton';import i from'@mui/material/Box';import {styled,Box}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var h=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",borderRadius:12,border:"1.03px solid"})),c=styled(Box)`
|
|
2
2
|
position: absolute;
|
|
3
3
|
`;function d({mainIcon:B,overlayIcon:p$1,mainIconAlt:u="main icon",mainIconSize:t=20,containerSize:a=24,overlayPosition:b={top:10,left:17},borderColor:w="#F2F2F2",label:y="",sx:I,onError:W,containerSx:C}){let[e,s]=useState(true),F=zc(useId(),"icon-with-badge");return jsx(p,{title:y,children:jsx(i,{id:F,"data-testid":"IconWithBadge",display:"flex",alignItems:"center",gap:1,sx:{position:"relative",...C},children:jsxs(h,{style:{borderColor:w,width:a,height:a},children:[t&&e&&jsx(i,{width:t,height:t,children:e&&jsx(T,{variant:"circular",width:`${t}px`,height:`${t}px`})}),jsxs(Fragment,{children:[p$1&&jsx(c,{sx:b,children:p$1}),jsx(i,{width:t,height:t,component:"img",src:B||zi,alt:u,sx:{borderRadius:"50%",objectFit:"scale-down",opacity:e?0:1,...I},onError:n=>{s(false),n.currentTarget.src=zi,W?.(n);},onLoad:()=>{s(false);}})]})]})})})}var M=d;export{M as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {f}from'./chunk-
|
|
1
|
+
import {f}from'./chunk-TIO3V7XA.js';import e from'@mui/material/Box';import l from'@mui/material/Button';import d from'@mui/material/Input';import n from'@mui/material/ListSubheader';import r from'@mui/material/MenuItem';import {keyframes,styled}from'@mui/material/styles';var c=keyframes`
|
|
2
2
|
0% {
|
|
3
3
|
transform: rotate(-90deg);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {zc}from'./chunk-
|
|
1
|
+
import {zc}from'./chunk-4XXNGLS6.js';import {Nj,j,m as m$1}from'./chunk-V2RLDP5A.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {jsx}from'react/jsx-runtime';function g({countryCode:o,currencyCode:t,...n}){let l=zc(useId(),"country-flag");return jsx(d,{...n,id:l,"data-testid":"CountryFlag",component:"img",src:o&&j(o)||t&&m$1(t)||Nj,width:n.width||16,alt:o??t??"flag",loading:"lazy",onError:u=>{u.currentTarget.src=Nj;}})}g.displayName="CountryFlag";var m=memo(g);var h=m;export{h as a};
|